summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/apt/apt/0001-Disable-documentation-directory-altogether.patch8
-rw-r--r--meta/recipes-devtools/apt/apt/0001-Do-not-configure-packages-on-installation.patch48
-rw-r--r--meta/recipes-devtools/apt/apt/0001-Do-not-init-tables-from-dpkg-configuration.patch4
-rw-r--r--meta/recipes-devtools/apt/apt/0001-Fix-musl-build.patch35
-rw-r--r--meta/recipes-devtools/apt/apt/0001-Hide-fstatat64-and-prlimit64-defines-on-musl.patch48
-rw-r--r--meta/recipes-devtools/apt/apt/0001-Remove-using-std-binary_function.patch87
-rw-r--r--meta/recipes-devtools/apt/apt/0001-Revert-always-run-dpkg-configure-a-at-the-end-of-our.patch10
-rw-r--r--meta/recipes-devtools/apt/apt/0001-aptwebserver.cc-Include-array.patch30
-rw-r--r--meta/recipes-devtools/apt/apt/0001-cmake-Do-not-build-po-files.patch36
-rw-r--r--meta/recipes-devtools/apt/apt/0001-test-libapt-do-not-use-gtest-from-the-host.patch40
-rw-r--r--meta/recipes-devtools/apt/apt_1.8.2.1.bb107
-rw-r--r--meta/recipes-devtools/apt/apt_2.6.1.bb142
-rw-r--r--meta/recipes-devtools/autoconf-archive/autoconf-archive_2023.02.20.bb (renamed from meta/recipes-devtools/autoconf-archive/autoconf-archive_2019.01.06.bb)5
-rw-r--r--meta/recipes-devtools/autoconf/autoconf.inc82
-rw-r--r--meta/recipes-devtools/autoconf/autoconf/AC_HEADER_MAJOR-port-to-glibc-2.25.patch101
-rw-r--r--meta/recipes-devtools/autoconf/autoconf/add_musl_config.patch26
-rw-r--r--meta/recipes-devtools/autoconf/autoconf/autoconf-replace-w-option-in-shebangs-with-modern-use-warnings.patch120
-rw-r--r--meta/recipes-devtools/autoconf/autoconf/autoreconf-exclude.patch116
-rw-r--r--meta/recipes-devtools/autoconf/autoconf/autoreconf-gnuconfigize.patch38
-rw-r--r--meta/recipes-devtools/autoconf/autoconf/autotest-automake-result-format.patch35
-rw-r--r--meta/recipes-devtools/autoconf/autoconf/check-automake-cross-warning.patch34
-rw-r--r--meta/recipes-devtools/autoconf/autoconf/config_site.patch40
-rw-r--r--meta/recipes-devtools/autoconf/autoconf/fix_path_xtra.patch120
-rw-r--r--meta/recipes-devtools/autoconf/autoconf/man-host-perl.patch31
-rw-r--r--meta/recipes-devtools/autoconf/autoconf/no-man.patch36
-rw-r--r--meta/recipes-devtools/autoconf/autoconf/performance.patch60
-rw-r--r--meta/recipes-devtools/autoconf/autoconf/preferbash.patch37
-rw-r--r--meta/recipes-devtools/autoconf/autoconf/program_prefix.patch35
-rw-r--r--meta/recipes-devtools/autoconf/autoconf/remove-usr-local-lib-from-m4.patch27
-rw-r--r--meta/recipes-devtools/autoconf/autoconf_2.69.bb31
-rw-r--r--meta/recipes-devtools/autoconf/autoconf_2.72e.bb83
-rw-r--r--meta/recipes-devtools/automake/automake.inc4
-rw-r--r--meta/recipes-devtools/automake/automake/0001-Drop-ar-u-argument.patch35
-rw-r--r--meta/recipes-devtools/automake/automake/0001-automake-Update-for-python.m4-to-respect-libdir.patch83
-rw-r--r--meta/recipes-devtools/automake/automake/automake-replace-w-option-in-shebangs-with-modern-use-warnings.patch60
-rw-r--r--meta/recipes-devtools/automake/automake/buildtest.patch2
-rw-r--r--meta/recipes-devtools/automake/automake/python-libdir.patch88
-rw-r--r--meta/recipes-devtools/automake/automake_1.16.2.bb44
-rw-r--r--meta/recipes-devtools/automake/automake_1.16.5.bb43
-rw-r--r--meta/recipes-devtools/binutils/binutils-2.35.inc47
-rw-r--r--meta/recipes-devtools/binutils/binutils-2.42.inc41
-rw-r--r--meta/recipes-devtools/binutils/binutils-cross-canadian.inc8
-rw-r--r--meta/recipes-devtools/binutils/binutils-cross-canadian_2.42.bb (renamed from meta/recipes-devtools/binutils/binutils-cross-canadian_2.35.bb)0
-rw-r--r--meta/recipes-devtools/binutils/binutils-cross-testsuite_2.42.bb (renamed from meta/recipes-devtools/binutils/binutils-cross-testsuite_2.35.bb)10
-rw-r--r--meta/recipes-devtools/binutils/binutils-cross.inc1
-rw-r--r--meta/recipes-devtools/binutils/binutils-cross_2.42.bb (renamed from meta/recipes-devtools/binutils/binutils-cross_2.35.bb)0
-rw-r--r--meta/recipes-devtools/binutils/binutils-crosssdk_2.42.bb (renamed from meta/recipes-devtools/binutils/binutils-crosssdk_2.35.bb)4
-rw-r--r--meta/recipes-devtools/binutils/binutils.inc60
-rw-r--r--meta/recipes-devtools/binutils/binutils/0001-aarch64-Return-an-error-on-conditional-branch-to-an-.patch135
-rw-r--r--meta/recipes-devtools/binutils/binutils/0001-binutils-crosssdk-Generate-relocatable-SDKs.patch21
-rw-r--r--meta/recipes-devtools/binutils/binutils/0002-binutils-cross-Do-not-generate-linker-script-directo.patch12
-rw-r--r--meta/recipes-devtools/binutils/binutils/0003-binutils-nativesdk-Search-for-alternative-ld.so.conf.patch35
-rw-r--r--meta/recipes-devtools/binutils/binutils/0004-Point-scripts-location-to-libdir.patch (renamed from meta/recipes-devtools/binutils/binutils/0005-Point-scripts-location-to-libdir.patch)15
-rw-r--r--meta/recipes-devtools/binutils/binutils/0004-configure-widen-the-regexp-for-SH-architectures.patch44
-rw-r--r--meta/recipes-devtools/binutils/binutils/0005-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch (renamed from meta/recipes-devtools/binutils/binutils/0007-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch)13
-rw-r--r--meta/recipes-devtools/binutils/binutils/0006-warn-for-uses-of-system-directories-when-cross-linki.patch (renamed from meta/recipes-devtools/binutils/binutils/0008-warn-for-uses-of-system-directories-when-cross-linki.patch)134
-rw-r--r--meta/recipes-devtools/binutils/binutils/0007-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch (renamed from meta/recipes-devtools/binutils/binutils/0011-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch)26
-rw-r--r--meta/recipes-devtools/binutils/binutils/0008-Use-libtool-2.4.patch (renamed from meta/recipes-devtools/binutils/binutils/0013-Use-libtool-2.4.patch)13657
-rw-r--r--meta/recipes-devtools/binutils/binutils/0009-Change-default-emulation-for-mips64-linux.patch60
-rw-r--r--meta/recipes-devtools/binutils/binutils/0009-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch (renamed from meta/recipes-devtools/binutils/binutils/0014-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch)9
-rw-r--r--meta/recipes-devtools/binutils/binutils/0010-Add-support-for-Netlogic-XLP.patch409
-rw-r--r--meta/recipes-devtools/binutils/binutils/0010-sync-with-OE-libtool-changes.patch (renamed from meta/recipes-devtools/binutils/binutils/0015-sync-with-OE-libtool-changes.patch)9
-rw-r--r--meta/recipes-devtools/binutils/binutils/0011-Check-for-clang-before-checking-gcc-version.patch (renamed from meta/recipes-devtools/binutils/binutils/0016-Check-for-clang-before-checking-gcc-version.patch)15
-rw-r--r--meta/recipes-devtools/binutils/binutils/0012-Detect-64-bit-MIPS-targets.patch50
-rw-r--r--meta/recipes-devtools/binutils/binutils/0012-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch (renamed from meta/recipes-devtools/binutils/binutils/0006-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch)23
-rw-r--r--meta/recipes-devtools/binutils/binutils/0013-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch48
-rw-r--r--meta/recipes-devtools/binutils/binutils/0014-Remove-duplicate-pe-dll.o-entry-deom-targ_extra_ofil.patch32
-rw-r--r--meta/recipes-devtools/binutils/binutils/0015-gprofng-change-use-of-bignum-to-bigint.patch17
-rw-r--r--meta/recipes-devtools/binutils/binutils/0016-aarch64-Remove-asserts-from-operand-qualifier-decode.patch382
-rw-r--r--meta/recipes-devtools/binutils/binutils/0017-gas-improve-reproducibility-for-stabs-debugging-data.patch35
-rw-r--r--meta/recipes-devtools/binutils/binutils_2.42.bb (renamed from meta/recipes-devtools/binutils/binutils_2.35.bb)41
-rw-r--r--meta/recipes-devtools/bison/bison/autoconf-2.73.patch24
-rw-r--r--meta/recipes-devtools/bison/bison_3.7.3.bb37
-rw-r--r--meta/recipes-devtools/bison/bison_3.8.2.bb55
-rw-r--r--meta/recipes-devtools/bootchart2/bootchart2/0001-Do-not-include-linux-fs.h.patch31
-rw-r--r--meta/recipes-devtools/bootchart2/bootchart2/0001-bootchart2-support-usrmerge.patch37
-rw-r--r--meta/recipes-devtools/bootchart2/bootchart2/0001-bootchartd.in-make-sure-only-one-bootchartd-process.patch68
-rw-r--r--meta/recipes-devtools/bootchart2/bootchart2_0.14.9.bb56
-rw-r--r--meta/recipes-devtools/btrfs-tools/btrfs-tools/0001-Add-a-possibility-to-specify-where-python-modules-ar.patch6
-rw-r--r--meta/recipes-devtools/btrfs-tools/btrfs-tools_6.8.1.bb (renamed from meta/recipes-devtools/btrfs-tools/btrfs-tools_5.9.bb)50
-rw-r--r--meta/recipes-devtools/ccache/ccache_3.7.11.bb32
-rw-r--r--meta/recipes-devtools/ccache/ccache_4.9.1.bb26
-rw-r--r--meta/recipes-devtools/ccache/files/0001-xxhash.h-Fix-build-with-gcc-12.patch37
-rw-r--r--meta/recipes-devtools/cdrtools/cdrtools-native_3.01.bb22
-rw-r--r--meta/recipes-devtools/cdrtools/cdrtools/gcc14-fix.patch13
-rw-r--r--meta/recipes-devtools/cdrtools/cdrtools/riscv64-linux-gcc.rul65
-rw-r--r--meta/recipes-devtools/chrpath/chrpath_0.16.bb6
-rw-r--r--meta/recipes-devtools/cmake/cmake-native_3.29.3.bb (renamed from meta/recipes-devtools/cmake/cmake-native_3.18.4.bb)24
-rw-r--r--meta/recipes-devtools/cmake/cmake.inc13
-rw-r--r--meta/recipes-devtools/cmake/cmake/0001-CMakeDetermineSystem-use-oe-environment-vars-to-load.patch44
-rw-r--r--meta/recipes-devtools/cmake/cmake/0001-CMakeLists.txt-disable-USE_NGHTTP2.patch32
-rw-r--r--meta/recipes-devtools/cmake/cmake/0002-cmake-Prevent-the-detection-of-Qt5.patch122
-rw-r--r--meta/recipes-devtools/cmake/cmake/0003-cmake-support-OpenEmbedded-Qt4-tool-binary-names.patch56
-rw-r--r--meta/recipes-devtools/cmake/cmake/0004-Fail-silently-if-system-Qt-installation-is-broken.patch79
-rw-r--r--meta/recipes-devtools/cmake/cmake/0005-Disable-use-of-ext2fs-ext2_fs.h-by-cmake-s-internal-.patch9
-rw-r--r--meta/recipes-devtools/cmake/cmake/OEToolchainConfig.cmake10
-rw-r--r--meta/recipes-devtools/cmake/cmake/SDKToolchainConfig.cmake.template31
-rwxr-xr-xmeta/recipes-devtools/cmake/cmake/cmake-setup.py33
-rw-r--r--meta/recipes-devtools/cmake/cmake/environment.d-cmake.sh2
-rw-r--r--meta/recipes-devtools/cmake/cmake_3.18.4.bb53
-rw-r--r--meta/recipes-devtools/cmake/cmake_3.29.3.bb68
-rw-r--r--meta/recipes-devtools/createrepo-c/createrepo-c/0001-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch17
-rw-r--r--meta/recipes-devtools/createrepo-c/createrepo-c/0001-include-rpm-rpmstring.h.patch30
-rw-r--r--meta/recipes-devtools/createrepo-c/createrepo-c_1.1.1.bb (renamed from meta/recipes-devtools/createrepo-c/createrepo-c_0.16.1.bb)27
-rw-r--r--meta/recipes-devtools/debugedit/debugedit_5.0.bb28
-rw-r--r--meta/recipes-devtools/debugedit/files/0002-sepdebugcrcfix.c-do-not-use-64bit-variants.patch56
-rw-r--r--meta/recipes-devtools/debugedit/files/0003-Makefile.am-do-not-update-manual.patch65
-rw-r--r--meta/recipes-devtools/dejagnu/dejagnu_1.6.3.bb (renamed from meta/recipes-devtools/dejagnu/dejagnu_1.6.2.bb)7
-rw-r--r--meta/recipes-devtools/desktop-file-utils/desktop-file-utils_0.27.bb (renamed from meta/recipes-devtools/desktop-file-utils/desktop-file-utils_0.26.bb)15
-rw-r--r--meta/recipes-devtools/devel-config/distcc-config.bb6
-rw-r--r--meta/recipes-devtools/devel-config/nfs-export-root.bb7
-rw-r--r--meta/recipes-devtools/diffstat/diffstat/0001-aclocal.m4-add-missing-header-defines.patch24
-rw-r--r--meta/recipes-devtools/diffstat/diffstat/avoid-check-user-break-cc.patch6
-rw-r--r--meta/recipes-devtools/diffstat/diffstat_1.66.bb (renamed from meta/recipes-devtools/diffstat/diffstat_1.63.bb)8
-rw-r--r--meta/recipes-devtools/distcc/distcc_3.4.bb (renamed from meta/recipes-devtools/distcc/distcc_3.3.3.bb)34
-rw-r--r--meta/recipes-devtools/distcc/files/0001-Fix-build-with-gcc-10-which-defaults-to-fno-common-c.patch34
-rw-r--r--meta/recipes-devtools/distcc/files/fix-gnome.patch122
-rw-r--r--meta/recipes-devtools/distcc/files/separatebuilddir.patch33
-rw-r--r--meta/recipes-devtools/dmidecode/dmidecode/0001-Committing-changes-from-do_unpack_extra.patch25
-rw-r--r--meta/recipes-devtools/dmidecode/dmidecode_3.3.bb23
-rw-r--r--meta/recipes-devtools/dmidecode/dmidecode_3.6.bb21
-rw-r--r--meta/recipes-devtools/dnf/dnf/0001-Corretly-install-tmpfiles.d-configuration.patch8
-rw-r--r--meta/recipes-devtools/dnf/dnf/0001-Do-not-hardcode-etc-and-systemd-unit-directories.patch5
-rw-r--r--meta/recipes-devtools/dnf/dnf/0001-dnf-write-the-log-lock-to-root.patch6
-rw-r--r--meta/recipes-devtools/dnf/dnf/0001-lock.py-fix-Exception-handling.patch62
-rw-r--r--meta/recipes-devtools/dnf/dnf/0001-set-python-path-for-completion_helper.patch7
-rw-r--r--meta/recipes-devtools/dnf/dnf/0005-Do-not-prepend-installroot-to-logdir.patch11
-rw-r--r--meta/recipes-devtools/dnf/dnf/0029-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch9
-rw-r--r--meta/recipes-devtools/dnf/dnf/0030-Run-python-scripts-using-env.patch12
-rw-r--r--meta/recipes-devtools/dnf/dnf_4.20.0.bb (renamed from meta/recipes-devtools/dnf/dnf_4.4.0.bb)41
-rw-r--r--meta/recipes-devtools/docbook-xml/docbook-xml-dtd4/docbook-xml-update-catalog.xml.patch91
-rw-r--r--meta/recipes-devtools/docbook-xml/docbook-xml-dtd4_4.5.bb65
-rw-r--r--meta/recipes-devtools/docbook-xml/docbook-xsl-stylesheets_1.79.1.bb6
-rw-r--r--meta/recipes-devtools/dosfstools/dosfstools_4.2.bb (renamed from meta/recipes-devtools/dosfstools/dosfstools_4.1.bb)18
-rw-r--r--meta/recipes-devtools/dpkg/dpkg.inc55
-rw-r--r--meta/recipes-devtools/dpkg/dpkg/0001-Add-support-for-riscv32-CPU.patch13
-rw-r--r--meta/recipes-devtools/dpkg/dpkg/0001-build.c-ignore-return-of-1-from-tar-cf.patch19
-rw-r--r--meta/recipes-devtools/dpkg/dpkg/0001-dpkg-Support-muslx32-build.patch17
-rw-r--r--meta/recipes-devtools/dpkg/dpkg/0002-Adapt-to-linux-wrs-kernel-version-which-has-characte.patch15
-rw-r--r--meta/recipes-devtools/dpkg/dpkg/0003-Our-pre-postinsts-expect-D-to-be-set-when-running-in.patch31
-rw-r--r--meta/recipes-devtools/dpkg/dpkg/0004-The-lutimes-function-doesn-t-work-properly-for-all-s.patch20
-rw-r--r--meta/recipes-devtools/dpkg/dpkg/0006-add-musleabi-to-known-target-tripets.patch18
-rw-r--r--meta/recipes-devtools/dpkg/dpkg/0007-dpkg-deb-build.c-Remove-usage-of-clamp-mtime-in-tar.patch16
-rw-r--r--meta/recipes-devtools/dpkg/dpkg/add_armeb_triplet_entry.patch21
-rw-r--r--meta/recipes-devtools/dpkg/dpkg/arch_pm.patch12
-rw-r--r--meta/recipes-devtools/dpkg/dpkg/noman.patch24
-rw-r--r--meta/recipes-devtools/dpkg/dpkg/pager.patch21
-rw-r--r--meta/recipes-devtools/dpkg/dpkg/remove-tar-no-timestamp.patch20
-rw-r--r--meta/recipes-devtools/dpkg/dpkg_1.22.6.bb (renamed from meta/recipes-devtools/dpkg/dpkg_1.20.5.bb)7
-rw-r--r--meta/recipes-devtools/dwarfsrcfiles/dwarfsrcfiles.bb16
-rw-r--r--meta/recipes-devtools/dwarfsrcfiles/files/dwarfsrcfiles.c13
-rw-r--r--meta/recipes-devtools/e2fsprogs/e2fsprogs.inc16
-rw-r--r--meta/recipes-devtools/e2fsprogs/e2fsprogs/0001-configure.ac-correct-AM_GNU_GETTEXT.patch26
-rw-r--r--meta/recipes-devtools/e2fsprogs/e2fsprogs/0001-fix-up-check-for-hardlinks-always-false-if-inode-0xF.patch55
-rw-r--r--meta/recipes-devtools/e2fsprogs/e2fsprogs/0001-intl-do-not-try-to-use-gettext-defines-that-no-longe.patch27
-rw-r--r--meta/recipes-devtools/e2fsprogs/e2fsprogs/e2fsprogs-fix-missing-check-for-permission-denied.patch4
-rw-r--r--meta/recipes-devtools/e2fsprogs/e2fsprogs/mkdir_p.patch17
-rw-r--r--meta/recipes-devtools/e2fsprogs/e2fsprogs/ptest.patch4
-rw-r--r--meta/recipes-devtools/e2fsprogs/e2fsprogs/quiet-debugfs.patch6
-rw-r--r--meta/recipes-devtools/e2fsprogs/e2fsprogs/run-ptest1
-rw-r--r--meta/recipes-devtools/e2fsprogs/e2fsprogs_1.47.0.bb (renamed from meta/recipes-devtools/e2fsprogs/e2fsprogs_1.45.6.bb)77
-rw-r--r--meta/recipes-devtools/elfutils/elfutils_0.191.bb (renamed from meta/recipes-devtools/elfutils/elfutils_0.181.bb)110
-rw-r--r--meta/recipes-devtools/elfutils/files/0001-debuginfod-Remove-unused-variable.patch34
-rw-r--r--meta/recipes-devtools/elfutils/files/0001-dso-link-change.patch19
-rw-r--r--meta/recipes-devtools/elfutils/files/0001-libasm-may-link-with-libbz2-if-found.patch15
-rw-r--r--meta/recipes-devtools/elfutils/files/0001-libelf-elf_end.c-check-data_list.data.d.d_buf-before.patch7
-rw-r--r--meta/recipes-devtools/elfutils/files/0001-musl-obstack-fts.patch124
-rw-r--r--meta/recipes-devtools/elfutils/files/0001-ppc_initreg.c-Incliude-asm-ptrace.h-for-pt_regs-defi.patch32
-rw-r--r--meta/recipes-devtools/elfutils/files/0001-skip-the-test-when-gcc-not-deployed.patch25
-rw-r--r--meta/recipes-devtools/elfutils/files/0001-srcfiles-fix-unused-variable-BUFFER_SIZE.patch36
-rw-r--r--meta/recipes-devtools/elfutils/files/0001-tests-Makefile.am-compile-test_nlist-with-standard-C.patch9
-rw-r--r--meta/recipes-devtools/elfutils/files/0002-Fix-elf_cvt_gunhash-if-dest-and-src-are-same.patch9
-rw-r--r--meta/recipes-devtools/elfutils/files/0002-musl-libs.patch142
-rw-r--r--meta/recipes-devtools/elfutils/files/0003-fixheadercheck.patch7
-rw-r--r--meta/recipes-devtools/elfutils/files/0003-musl-utils.patch96
-rw-r--r--meta/recipes-devtools/elfutils/files/0004-Disable-the-test-to-convert-euc-jp.patch42
-rw-r--r--meta/recipes-devtools/elfutils/files/0004-Fix-error-on-musl.patch36
-rw-r--r--meta/recipes-devtools/elfutils/files/0006-Fix-build-on-aarch64-musl.patch59
-rw-r--r--meta/recipes-devtools/elfutils/files/0015-config-eu.am-do-not-use-Werror.patch37
-rw-r--r--meta/recipes-devtools/elfutils/files/ptest.patch60
-rw-r--r--meta/recipes-devtools/elfutils/files/run-ptest2
-rw-r--r--meta/recipes-devtools/erofs-utils/erofs-utils_1.7.1.bb27
-rw-r--r--meta/recipes-devtools/expect/expect/0001-Add-prototype-to-function-definitions.patch113
-rw-r--r--meta/recipes-devtools/expect/expect/0001-Resolve-string-formatting-issues.patch2
-rw-r--r--meta/recipes-devtools/expect/expect/0001-configure.in.patch2
-rw-r--r--meta/recipes-devtools/expect/expect/0001-exp_main_sub.c-Use-PATH_MAX-for-path.patch2
-rw-r--r--meta/recipes-devtools/expect/expect/0001-expect-Fix-segfaults-if-Tcl-is-built-with-stubs-and-.patch2
-rw-r--r--meta/recipes-devtools/expect/expect/0001-fixline1-fix-line-1.patch31
-rw-r--r--meta/recipes-devtools/expect/expect/0002-tcl.m4.patch2
-rw-r--r--meta/recipes-devtools/expect/expect/01-example-shebang.patch144
-rwxr-xr-xmeta/recipes-devtools/expect/expect/run-ptest6
-rw-r--r--meta/recipes-devtools/expect/expect_5.45.4.bb30
-rw-r--r--meta/recipes-devtools/fdisk/gptfdisk/0001-gptcurses-correctly-include-curses.h.patch6
-rw-r--r--meta/recipes-devtools/fdisk/gptfdisk_1.0.10.bb (renamed from meta/recipes-devtools/fdisk/gptfdisk_1.0.5.bb)6
-rw-r--r--meta/recipes-devtools/file/file_5.39.bb55
-rw-r--r--meta/recipes-devtools/file/file_5.45.bb61
-rw-r--r--meta/recipes-devtools/file/files/0001-src-compress.c-correct-header-define-for-xz-lzma.patch27
-rw-r--r--meta/recipes-devtools/file/files/print_c.patch27
-rw-r--r--meta/recipes-devtools/flex/flex/0001-Emit-no-line-directives-if-gen_line_dirs-is-false.patch32
-rw-r--r--meta/recipes-devtools/flex/flex_2.6.4.bb34
-rw-r--r--meta/recipes-devtools/gcc/gcc-10.2.inc119
-rw-r--r--meta/recipes-devtools/gcc/gcc-14.1.inc117
-rw-r--r--meta/recipes-devtools/gcc/gcc-common.inc24
-rw-r--r--meta/recipes-devtools/gcc/gcc-configure-common.inc24
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross-canadian.inc34
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross-canadian_14.1.bb (renamed from meta/recipes-devtools/gcc/gcc-cross-canadian_10.2.bb)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross.inc21
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross_14.1.bb (renamed from meta/recipes-devtools/gcc/gcc-cross_10.2.bb)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-crosssdk.inc6
-rw-r--r--meta/recipes-devtools/gcc/gcc-crosssdk_14.1.bb (renamed from meta/recipes-devtools/gcc/gcc-crosssdk_10.2.bb)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-multilib-config.inc34
-rw-r--r--meta/recipes-devtools/gcc/gcc-runtime.inc170
-rw-r--r--meta/recipes-devtools/gcc/gcc-runtime_14.1.bb (renamed from meta/recipes-devtools/gcc/gcc-runtime_10.2.bb)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-sanitizers.inc71
-rw-r--r--meta/recipes-devtools/gcc/gcc-sanitizers_14.1.bb (renamed from meta/recipes-devtools/gcc/gcc-sanitizers_10.2.bb)4
-rw-r--r--meta/recipes-devtools/gcc/gcc-shared-source.inc10
-rw-r--r--meta/recipes-devtools/gcc/gcc-source.inc10
-rw-r--r--meta/recipes-devtools/gcc/gcc-source_14.1.bb (renamed from meta/recipes-devtools/gcc/gcc-source_10.2.bb)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-target.inc68
-rw-r--r--meta/recipes-devtools/gcc/gcc-testsuite.inc9
-rw-r--r--meta/recipes-devtools/gcc/gcc/0001-aarch64-Fix-up-__aarch64_cas16_acq_rel-fallback.patch66
-rw-r--r--meta/recipes-devtools/gcc/gcc/0001-aarch64-New-Straight-Line-Speculation-SLS-mitigation.patch202
-rw-r--r--meta/recipes-devtools/gcc/gcc/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch10
-rw-r--r--meta/recipes-devtools/gcc/gcc/0002-aarch64-Introduce-SLS-mitigation-for-RET-and-BR-inst.patch607
-rw-r--r--meta/recipes-devtools/gcc/gcc/0002-gcc-poison-system-directories.patch146
-rw-r--r--meta/recipes-devtools/gcc/gcc/0003-64-bit-multilib-hack.patch (renamed from meta/recipes-devtools/gcc/gcc/0004-64-bit-multilib-hack.patch)74
-rw-r--r--meta/recipes-devtools/gcc/gcc/0003-aarch64-Mitigate-SLS-for-BLR-instruction.patch658
-rw-r--r--meta/recipes-devtools/gcc/gcc/0003-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch70
-rw-r--r--meta/recipes-devtools/gcc/gcc/0004-Pass-CXXFLAGS_FOR_BUILD-in-a-couple-of-places-to-avo.patch64
-rw-r--r--meta/recipes-devtools/gcc/gcc/0005-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch (renamed from meta/recipes-devtools/gcc/gcc/0007-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch)24
-rw-r--r--meta/recipes-devtools/gcc/gcc/0005-optional-libstdc.patch122
-rw-r--r--meta/recipes-devtools/gcc/gcc/0006-COLLECT_GCC_OPTIONS.patch35
-rw-r--r--meta/recipes-devtools/gcc/gcc/0006-cpp-honor-sysroot.patch (renamed from meta/recipes-devtools/gcc/gcc/0009-cpp-honor-sysroot.patch)28
-rw-r--r--meta/recipes-devtools/gcc/gcc/0007-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch (renamed from meta/recipes-devtools/gcc/gcc/0011-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch)242
-rw-r--r--meta/recipes-devtools/gcc/gcc/0008-fortran-cross-compile-hack.patch43
-rw-r--r--meta/recipes-devtools/gcc/gcc/0008-libtool.patch (renamed from meta/recipes-devtools/gcc/gcc/0014-libtool.patch)5
-rw-r--r--meta/recipes-devtools/gcc/gcc/0009-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch (renamed from meta/recipes-devtools/gcc/gcc/0015-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch)11
-rw-r--r--meta/recipes-devtools/gcc/gcc/0010-MIPS64-Default-to-N64-ABI.patch54
-rw-r--r--meta/recipes-devtools/gcc/gcc/0010-Use-the-multilib-config-files-from-B-instead-of-usin.patch (renamed from meta/recipes-devtools/gcc/gcc/0016-Use-the-multilib-config-files-from-B-instead-of-usin.patch)14
-rw-r--r--meta/recipes-devtools/gcc/gcc/0011-aarch64-Fix-include-paths-when-S-B.patch67
-rw-r--r--meta/recipes-devtools/gcc/gcc/0012-Avoid-using-libdir-from-.la-which-usually-points-to-.patch (renamed from meta/recipes-devtools/gcc/gcc/0017-Avoid-using-libdir-from-.la-which-usually-points-to-.patch)2
-rw-r--r--meta/recipes-devtools/gcc/gcc/0012-gcc-Fix-argument-list-too-long-error.patch41
-rw-r--r--meta/recipes-devtools/gcc/gcc/0013-Disable-sdt.patch110
-rw-r--r--meta/recipes-devtools/gcc/gcc/0013-Ensure-target-gcc-headers-can-be-included.patch113
-rw-r--r--meta/recipes-devtools/gcc/gcc/0014-Don-t-search-host-directory-during-relink-if-inst_pr.patch (renamed from meta/recipes-devtools/gcc/gcc/0020-Don-t-search-host-directory-during-relink-if-inst_pr.patch)2
-rw-r--r--meta/recipes-devtools/gcc/gcc/0015-libcc1-fix-libcc1-s-install-path-and-rpath.patch (renamed from meta/recipes-devtools/gcc/gcc/0023-libcc1-fix-libcc1-s-install-path-and-rpath.patch)10
-rw-r--r--meta/recipes-devtools/gcc/gcc/0016-handle-sysroot-support-for-nativesdk-gcc.patch (renamed from meta/recipes-devtools/gcc/gcc/0024-handle-sysroot-support-for-nativesdk-gcc.patch)263
-rw-r--r--meta/recipes-devtools/gcc/gcc/0017-Search-target-sysroot-gcc-version-specific-dirs-with.patch (renamed from meta/recipes-devtools/gcc/gcc/0025-Search-target-sysroot-gcc-version-specific-dirs-with.patch)19
-rw-r--r--meta/recipes-devtools/gcc/gcc/0018-Add-ssp_nonshared-to-link-commandline-for-musl-targe.patch (renamed from meta/recipes-devtools/gcc/gcc/0028-Add-ssp_nonshared-to-link-commandline-for-musl-targe.patch)16
-rw-r--r--meta/recipes-devtools/gcc/gcc/0018-export-CPP.patch50
-rw-r--r--meta/recipes-devtools/gcc/gcc/0019-Ensure-target-gcc-headers-can-be-included.patch57
-rw-r--r--meta/recipes-devtools/gcc/gcc/0019-Re-introduce-spe-commandline-options.patch (renamed from meta/recipes-devtools/gcc/gcc/0033-Re-introduce-spe-commandline-options.patch)13
-rw-r--r--meta/recipes-devtools/gcc/gcc/0020-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch (renamed from meta/recipes-devtools/gcc/gcc/0034-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch)34
-rw-r--r--meta/recipes-devtools/gcc/gcc/0021-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch26
-rw-r--r--meta/recipes-devtools/gcc/gcc/0021-gentypes-genmodes-Do-not-use-__LINE__-for-maintainin.patch (renamed from meta/recipes-devtools/gcc/gcc/0035-gentypes-genmodes-Do-not-use-__LINE__-for-maintainin.patch)72
-rw-r--r--meta/recipes-devtools/gcc/gcc/0022-aarch64-Add-support-for-musl-ldso.patch25
-rw-r--r--meta/recipes-devtools/gcc/gcc/0022-libatomic-Do-not-enforce-march-on-aarch64.patch (renamed from meta/recipes-devtools/gcc/gcc/0037-libatomic-Do-not-enforce-march-on-aarch64.patch)14
-rw-r--r--meta/recipes-devtools/gcc/gcc/0023-Fix-install-path-of-linux64.h.patch31
-rw-r--r--meta/recipes-devtools/gcc/gcc/0024-Avoid-hardcoded-build-paths-into-ppc-libgcc.patch28
-rw-r--r--meta/recipes-devtools/gcc/gcc/0025-gcc-testsuite-tweaks-for-mips-OE.patch235
-rw-r--r--meta/recipes-devtools/gcc/gcc/0026-Fix-various-_FOR_BUILD-and-related-variables.patch134
-rw-r--r--meta/recipes-devtools/gcc/gcc/0027-nios2-Define-MUSL_DYNAMIC_LINKER.patch25
-rw-r--r--meta/recipes-devtools/gcc/gcc/0029-Link-libgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch26
-rw-r--r--meta/recipes-devtools/gcc/gcc/0030-sync-gcc-stddef.h-with-musl.patch88
-rw-r--r--meta/recipes-devtools/gcc/gcc/0031-fix-segmentation-fault-in-precompiled-header-generat.patch57
-rw-r--r--meta/recipes-devtools/gcc/gcc/0032-Fix-for-testsuite-failure.patch255
-rw-r--r--meta/recipes-devtools/gcc/gcc/0036-mingw32-Enable-operation_not_supported.patch26
-rw-r--r--meta/recipes-devtools/gcc/gcc_14.1.bb (renamed from meta/recipes-devtools/gcc/gcc_10.2.bb)10
-rw-r--r--meta/recipes-devtools/gcc/libgcc-common.inc23
-rw-r--r--meta/recipes-devtools/gcc/libgcc-initial.inc6
-rw-r--r--meta/recipes-devtools/gcc/libgcc-initial_14.1.bb (renamed from meta/recipes-devtools/gcc/libgcc-initial_10.2.bb)2
-rw-r--r--meta/recipes-devtools/gcc/libgcc.inc12
-rw-r--r--meta/recipes-devtools/gcc/libgcc_14.1.bb (renamed from meta/recipes-devtools/gcc/libgcc_10.2.bb)4
-rw-r--r--meta/recipes-devtools/gcc/libgfortran.inc19
-rw-r--r--meta/recipes-devtools/gcc/libgfortran_14.1.bb (renamed from meta/recipes-devtools/gcc/libgfortran_10.2.bb)0
-rw-r--r--meta/recipes-devtools/gdb/gdb-10.1.inc20
-rw-r--r--meta/recipes-devtools/gdb/gdb-common.inc35
-rw-r--r--meta/recipes-devtools/gdb/gdb-cross-canadian.inc14
-rw-r--r--meta/recipes-devtools/gdb/gdb-cross-canadian_14.2.bb (renamed from meta/recipes-devtools/gdb/gdb-cross-canadian_10.1.bb)2
-rw-r--r--meta/recipes-devtools/gdb/gdb-cross.inc9
-rw-r--r--meta/recipes-devtools/gdb/gdb-cross_14.2.bb (renamed from meta/recipes-devtools/gdb/gdb-cross_10.1.bb)2
-rw-r--r--meta/recipes-devtools/gdb/gdb.inc28
-rw-r--r--meta/recipes-devtools/gdb/gdb/0001-make-man-install-relative-to-DESTDIR.patch28
-rw-r--r--meta/recipes-devtools/gdb/gdb/0001-mips-linux-nat-Define-_ABIO32-if-not-defined.patch (renamed from meta/recipes-devtools/gdb/gdb/0002-mips-linux-nat-Define-_ABIO32-if-not-defined.patch)9
-rw-r--r--meta/recipes-devtools/gdb/gdb/0002-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch (renamed from meta/recipes-devtools/gdb/gdb/0003-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch)12
-rw-r--r--meta/recipes-devtools/gdb/gdb/0003-Dont-disable-libreadline.a-when-using-disable-static.patch (renamed from meta/recipes-devtools/gdb/gdb/0005-Dont-disable-libreadline.a-when-using-disable-static.patch)15
-rw-r--r--meta/recipes-devtools/gdb/gdb/0004-Add-support-for-Renesas-SH-sh4-architecture.patch913
-rw-r--r--meta/recipes-devtools/gdb/gdb/0004-use-asm-sgidefs.h.patch (renamed from meta/recipes-devtools/gdb/gdb/0006-use-asm-sgidefs.h.patch)9
-rw-r--r--meta/recipes-devtools/gdb/gdb/0005-Change-order-of-CFLAGS.patch (renamed from meta/recipes-devtools/gdb/gdb/0008-Change-order-of-CFLAGS.patch)13
-rw-r--r--meta/recipes-devtools/gdb/gdb/0007-Fix-invalid-sigprocmask-call.patch (renamed from meta/recipes-devtools/gdb/gdb/0010-Fix-invalid-sigprocmask-call.patch)9
-rw-r--r--meta/recipes-devtools/gdb/gdb/0007-Use-exorted-definitions-of-SIGRTMIN.patch50
-rw-r--r--meta/recipes-devtools/gdb/gdb/0008-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch48
-rw-r--r--meta/recipes-devtools/gdb/gdb/0009-resolve-restrict-keyword-conflict.patch48
-rw-r--r--meta/recipes-devtools/gdb/gdb/0011-gdbserver-ctrl-c-handling.patch40
-rw-r--r--meta/recipes-devtools/gdb/gdb_14.2.bb (renamed from meta/recipes-devtools/gdb/gdb_10.1.bb)17
-rw-r--r--meta/recipes-devtools/git/git/0001-config.mak.uname-do-not-force-RHEL-7-specific-build-.patch34
-rw-r--r--meta/recipes-devtools/git/git/fixsort.patch31
-rw-r--r--meta/recipes-devtools/git/git_2.29.2.bb9
-rw-r--r--meta/recipes-devtools/git/git_2.45.1.bb (renamed from meta/recipes-devtools/git/git.inc)82
-rw-r--r--meta/recipes-devtools/glide/glide_0.13.3.bb42
-rw-r--r--meta/recipes-devtools/gnu-config/gnu-config_git.bb15
-rw-r--r--meta/recipes-devtools/go/go-1.15.inc20
-rw-r--r--meta/recipes-devtools/go/go-1.15/0001-allow-CC-and-CXX-to-have-multiple-words.patch33
-rw-r--r--meta/recipes-devtools/go/go-1.15/0002-cmd-go-make-content-based-hash-generation-less-pedan.patch219
-rw-r--r--meta/recipes-devtools/go/go-1.15/0003-allow-GOTOOLDIR-to-be-overridden-in-the-environment.patch47
-rw-r--r--meta/recipes-devtools/go/go-1.15/0006-cmd-dist-separate-host-and-target-builds.patch274
-rw-r--r--meta/recipes-devtools/go/go-1.15/0008-use-GOBUILDMODE-to-set-buildmode.patch42
-rw-r--r--meta/recipes-devtools/go/go-1.15/0009-cmd-go-permit-CGO_LDFLAGS-to-appear-in-go-ldflag.patch100
-rw-r--r--meta/recipes-devtools/go/go-1.22.3.inc18
-rw-r--r--meta/recipes-devtools/go/go-binary-native_1.22.3.bb (renamed from meta/recipes-devtools/go/go-binary-native_1.15.5.bb)8
-rw-r--r--meta/recipes-devtools/go/go-common.inc11
-rw-r--r--meta/recipes-devtools/go/go-cross-canadian.inc15
-rw-r--r--meta/recipes-devtools/go/go-cross-canadian_1.22.3.bb (renamed from meta/recipes-devtools/go/go-cross-canadian_1.15.bb)0
-rw-r--r--meta/recipes-devtools/go/go-cross.inc1
-rw-r--r--meta/recipes-devtools/go/go-cross_1.22.3.bb (renamed from meta/recipes-devtools/go/go-cross_1.15.bb)0
-rw-r--r--meta/recipes-devtools/go/go-crosssdk.inc7
-rw-r--r--meta/recipes-devtools/go/go-crosssdk_1.22.3.bb (renamed from meta/recipes-devtools/go/go-crosssdk_1.15.bb)0
-rw-r--r--meta/recipes-devtools/go/go-dep/0001-Add-support-for-mips-mips64.patch54
-rw-r--r--meta/recipes-devtools/go/go-dep/0001-Update-sys-module-to-latest.patch145574
-rw-r--r--meta/recipes-devtools/go/go-dep/0001-bolt_riscv64-Add-support-for-riscv64.patch33
-rw-r--r--meta/recipes-devtools/go/go-dep_0.5.4.bb30
-rw-r--r--meta/recipes-devtools/go/go-native_1.22.3.bb (renamed from meta/recipes-devtools/go/go-native_1.15.bb)3
-rw-r--r--meta/recipes-devtools/go/go-runtime.inc27
-rw-r--r--meta/recipes-devtools/go/go-runtime_1.22.3.bb (renamed from meta/recipes-devtools/go/go-runtime_1.15.bb)1
-rw-r--r--meta/recipes-devtools/go/go-target.inc28
-rw-r--r--meta/recipes-devtools/go/go/0001-cmd-go-make-content-based-hash-generation-less-pedan.patch168
-rw-r--r--meta/recipes-devtools/go/go/0002-cmd-go-Allow-GOTOOLDIR-to-be-overridden-in-the-envir.patch56
-rw-r--r--meta/recipes-devtools/go/go/0003-ld-add-soname-to-shareable-objects.patch (renamed from meta/recipes-devtools/go/go-1.15/0004-ld-add-soname-to-shareable-objects.patch)22
-rw-r--r--meta/recipes-devtools/go/go/0004-make.bash-override-CC-when-building-dist-and-go_boot.patch (renamed from meta/recipes-devtools/go/go-1.15/0005-make.bash-override-CC-when-building-dist-and-go_boot.patch)24
-rw-r--r--meta/recipes-devtools/go/go/0005-cmd-dist-separate-host-and-target-builds.patch221
-rw-r--r--meta/recipes-devtools/go/go/0006-cmd-go-make-GOROOT-precious-by-default.patch (renamed from meta/recipes-devtools/go/go-1.15/0007-cmd-go-make-GOROOT-precious-by-default.patch)40
-rw-r--r--meta/recipes-devtools/go/go/0007-exec.go-filter-out-build-specific-paths-from-linker-.patch61
-rw-r--r--meta/recipes-devtools/go/go/0008-src-cmd-dist-buildgo.go-do-not-hardcode-host-compile.patch46
-rw-r--r--meta/recipes-devtools/go/go/0009-go-Filter-build-paths-on-staticly-linked-arches.patch61
-rw-r--r--meta/recipes-devtools/go/go_1.22.3.bb (renamed from meta/recipes-devtools/go/go_1.15.bb)10
-rw-r--r--meta/recipes-devtools/help2man/help2man_1.49.3.bb (renamed from meta/recipes-devtools/help2man/help2man_1.47.16.bb)8
-rw-r--r--meta/recipes-devtools/i2c-tools/i2c-tools_4.3.bb (renamed from meta/recipes-devtools/i2c-tools/i2c-tools_4.2.bb)11
-rw-r--r--meta/recipes-devtools/icecc-create-env/icecc-create-env_0.1.bb13
-rw-r--r--meta/recipes-devtools/icecc-toolchain/nativesdk-icecc-toolchain_0.1.bb11
-rw-r--r--meta/recipes-devtools/intltool/intltool_0.51.0.bb24
-rw-r--r--meta/recipes-devtools/jquery/jquery_3.7.1.bb (renamed from meta/recipes-devtools/jquery/jquery_3.5.1.bb)15
-rw-r--r--meta/recipes-devtools/json-c/json-c/run-ptest20
-rw-r--r--meta/recipes-devtools/json-c/json-c_0.15.bb18
-rw-r--r--meta/recipes-devtools/json-c/json-c_0.17.bb34
-rw-r--r--meta/recipes-devtools/libcomps/libcomps/0001-Add-crc32.c-to-sources-list.patch50
-rw-r--r--meta/recipes-devtools/libcomps/libcomps/0002-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch10
-rw-r--r--meta/recipes-devtools/libcomps/libcomps_0.1.15.bb22
-rw-r--r--meta/recipes-devtools/libcomps/libcomps_0.1.21.bb25
-rw-r--r--meta/recipes-devtools/libdnf/libdnf/0001-Add-WITH_TESTS-option.patch49
-rw-r--r--meta/recipes-devtools/libdnf/libdnf/0001-FindGtkDoc.cmake-drop-the-requirement-for-GTKDOC_SCA.patch9
-rw-r--r--meta/recipes-devtools/libdnf/libdnf/0001-Get-parameters-for-both-libsolv-and-libsolvext-libdn.patch11
-rw-r--r--meta/recipes-devtools/libdnf/libdnf/0001-Look-fo-sphinx-only-if-documentation-is-actually-ena.patch42
-rw-r--r--meta/recipes-devtools/libdnf/libdnf/0001-drop-FindPythonInstDir.cmake.patch39
-rw-r--r--meta/recipes-devtools/libdnf/libdnf/0004-Set-libsolv-variables-with-pkg-config-cmake-s-own-mo.patch13
-rw-r--r--meta/recipes-devtools/libdnf/libdnf/armarch.patch50
-rw-r--r--meta/recipes-devtools/libdnf/libdnf/enable_test_data_dir_set.patch15
-rw-r--r--meta/recipes-devtools/libdnf/libdnf_0.73.1.bb (renamed from meta/recipes-devtools/libdnf/libdnf_0.55.0.bb)24
-rw-r--r--meta/recipes-devtools/libedit/libedit_20240517-3.1.bb (renamed from meta/recipes-devtools/libedit/libedit_20191231-3.1.bb)5
-rw-r--r--meta/recipes-devtools/libmodulemd/libmodulemd/0001-modulemd-generate-the-manpage-only-if-the-feature-is.patch28
-rw-r--r--meta/recipes-devtools/libmodulemd/libmodulemd_git.bb18
-rw-r--r--meta/recipes-devtools/librepo/librepo/0001-gpg_gpgme.c-fix-build-errors-with-older-gcc.patch36
-rw-r--r--meta/recipes-devtools/librepo/librepo/0002-Do-not-try-to-obtain-PYTHON_INSTALL_DIR-by-running-p.patch48
-rw-r--r--meta/recipes-devtools/librepo/librepo/0004-Set-gpgme-variables-with-pkg-config-not-with-cmake-m.patch23
-rw-r--r--meta/recipes-devtools/librepo/librepo_1.17.0.bb (renamed from meta/recipes-devtools/librepo/librepo_1.12.1.bb)12
-rw-r--r--meta/recipes-devtools/libtool/libtool-2.4.6.inc49
-rw-r--r--meta/recipes-devtools/libtool/libtool-2.5.0.inc40
-rw-r--r--meta/recipes-devtools/libtool/libtool-cross_2.5.0.bb (renamed from meta/recipes-devtools/libtool/libtool-cross_2.4.6.bb)17
-rw-r--r--meta/recipes-devtools/libtool/libtool-native_2.4.6.bb22
-rw-r--r--meta/recipes-devtools/libtool/libtool-native_2.5.0.bb11
-rw-r--r--meta/recipes-devtools/libtool/libtool/0001-libtool-Check-for-static-libs-for-internal-compiler-.patch37
-rw-r--r--meta/recipes-devtools/libtool/libtool/0001-libtool-Fix-support-for-NIOS2-processor.patch68
-rw-r--r--meta/recipes-devtools/libtool/libtool/0001-ltmain.in-Handle-trailing-slashes-on-install-command.patch36
-rw-r--r--meta/recipes-devtools/libtool/libtool/0003-ltmain.in-Add-missing-sysroot-to-library-path.patch26
-rw-r--r--meta/recipes-devtools/libtool/libtool/0004-ltmain.sh-Fix-sysroot-paths-being-encoded-into-RPATH.patch (renamed from meta/recipes-devtools/libtool/libtool/fix-final-rpath.patch)37
-rw-r--r--meta/recipes-devtools/libtool/libtool/0005-ltmain.in-Don-t-encode-RATHS-which-match-default-lin.patch (renamed from meta/recipes-devtools/libtool/libtool/fix-rpath.patch)36
-rw-r--r--meta/recipes-devtools/libtool/libtool/0006-libtool.m4-Handle-as-a-sysroot-correctly.patch38
-rw-r--r--meta/recipes-devtools/libtool/libtool/0008-libtool-Check-for-static-libs-for-internal-compiler-.patch30
-rwxr-xr-xmeta/recipes-devtools/libtool/libtool/debian-no_hostname.patch21
-rw-r--r--meta/recipes-devtools/libtool/libtool/dont-depend-on-help2man.patch3
-rw-r--r--meta/recipes-devtools/libtool/libtool/filefix.patch30
-rw-r--r--meta/recipes-devtools/libtool/libtool/fix-resolve-lt-sysroot.patch42
-rw-r--r--meta/recipes-devtools/libtool/libtool/fixinstall.patch6
-rw-r--r--meta/recipes-devtools/libtool/libtool/norm-rpath.patch38
-rw-r--r--meta/recipes-devtools/libtool/libtool/prefix.patch98
-rw-r--r--meta/recipes-devtools/libtool/libtool/rename-with-sysroot.patch166
-rw-r--r--meta/recipes-devtools/libtool/libtool/trailingslash.patch35
-rw-r--r--meta/recipes-devtools/libtool/libtool/unwind-opt-parsing.patch179
-rw-r--r--meta/recipes-devtools/libtool/libtool/use-sysroot-in-libpath.patch22
-rw-r--r--meta/recipes-devtools/libtool/libtool_2.5.0.bb (renamed from meta/recipes-devtools/libtool/libtool_2.4.6.bb)10
-rw-r--r--meta/recipes-devtools/libtool/nativesdk-libtool_2.4.6.bb31
-rw-r--r--meta/recipes-devtools/libtool/nativesdk-libtool_2.5.0.bb23
-rw-r--r--meta/recipes-devtools/llvm/llvm/0001-AsmMatcherEmitter-sort-ClassInfo-lists-by-name-as-we.patch31
-rw-r--r--meta/recipes-devtools/llvm/llvm/0006-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch90
-rw-r--r--meta/recipes-devtools/llvm/llvm/0007-llvm-allow-env-override-of-exe-path.patch18
-rw-r--r--meta/recipes-devtools/llvm/llvm/llvm-config51
-rw-r--r--meta/recipes-devtools/llvm/llvm_18.1.6.bb177
-rw-r--r--meta/recipes-devtools/llvm/llvm_git.bb184
-rw-r--r--meta/recipes-devtools/log4cplus/log4cplus_2.1.1.bb (renamed from meta/recipes-devtools/log4cplus/log4cplus_2.0.5.bb)4
-rw-r--r--meta/recipes-devtools/lua/lua/lua.pc.in9
-rw-r--r--meta/recipes-devtools/lua/lua/run-ptest19
-rw-r--r--meta/recipes-devtools/lua/lua_5.4.6.bb66
-rw-r--r--meta/recipes-devtools/m4/m4-1.4.19.inc (renamed from meta/recipes-devtools/m4/m4-1.4.18.inc)35
-rw-r--r--meta/recipes-devtools/m4/m4-native_1.4.19.bb (renamed from meta/recipes-devtools/m4/m4-native_1.4.18.bb)0
-rw-r--r--meta/recipes-devtools/m4/m4/0001-Define-alignof_slot-using-_Alignof-when-using-C11-or.patch49
-rw-r--r--meta/recipes-devtools/m4/m4/0001-Unset-need_charset_alias-when-building-for-musl.patch33
-rw-r--r--meta/recipes-devtools/m4/m4/0001-sigsegv-Fix-build-on-ppc-musl.patch37
-rw-r--r--meta/recipes-devtools/m4/m4/0001-test-getopt-posix-fix.patch41
-rw-r--r--meta/recipes-devtools/m4/m4/ac_config_links.patch24
-rw-r--r--meta/recipes-devtools/m4/m4/m4-1.4.18-glibc-change-work-around.patch130
-rw-r--r--meta/recipes-devtools/m4/m4_1.4.19.bb (renamed from meta/recipes-devtools/m4/m4_1.4.18.bb)0
-rw-r--r--meta/recipes-devtools/make/make.inc5
-rw-r--r--meta/recipes-devtools/make/make/0001-makeinst-Do-not-undef-POSIX-on-clang-arm.patch38
-rw-r--r--meta/recipes-devtools/make/make/0001-src-dir.c-fix-buffer-overflow-warning.patch41
-rw-r--r--meta/recipes-devtools/make/make/0002-modules-fcntl-allow-being-detected-by-importing-proj.patch33
-rw-r--r--meta/recipes-devtools/make/make/0002-w32-compat-dirent.c-follow-header.patch36
-rw-r--r--meta/recipes-devtools/make/make/0003-posixfcn-fcntl-gnulib-make-emulated.patch79
-rw-r--r--meta/recipes-devtools/make/make_4.3.bb18
-rw-r--r--meta/recipes-devtools/make/make_4.4.1.bb13
-rw-r--r--meta/recipes-devtools/makedevs/makedevs/COPYING.patch346
-rw-r--r--meta/recipes-devtools/makedevs/makedevs/makedevs.c4
-rw-r--r--meta/recipes-devtools/makedevs/makedevs_1.0.1.bb15
-rw-r--r--meta/recipes-devtools/meson/meson.inc33
-rw-r--r--meta/recipes-devtools/meson/meson/0001-Make-CPU-family-warnings-fatal.patch33
-rw-r--r--meta/recipes-devtools/meson/meson/0001-gnome.py-prefix-g-i-paths-with-PKG_CONFIG_SYSROOT_DI.patch37
-rw-r--r--meta/recipes-devtools/meson/meson/0001-gtkdoc-fix-issues-that-arise-when-cross-compiling.patch36
-rw-r--r--meta/recipes-devtools/meson/meson/0001-modules-python.py-do-not-substitute-python-s-install.patch45
-rw-r--r--meta/recipes-devtools/meson/meson/0001-python-module-do-not-manipulate-the-environment-when.patch55
-rw-r--r--meta/recipes-devtools/meson/meson/0002-Support-building-allarch-recipes-again.patch7
-rw-r--r--meta/recipes-devtools/meson/meson/0003-native_bindir.patch125
-rw-r--r--meta/recipes-devtools/meson/meson/cross-prop-default.patch23
-rw-r--r--meta/recipes-devtools/meson/meson/disable-rpath-handling.patch35
-rwxr-xr-xmeta/recipes-devtools/meson/meson/meson-setup.py18
-rwxr-xr-xmeta/recipes-devtools/meson/meson/meson-wrapper23
-rw-r--r--meta/recipes-devtools/meson/meson_0.55.1.bb4
-rw-r--r--meta/recipes-devtools/meson/meson_1.4.0.bb158
-rw-r--r--meta/recipes-devtools/meson/nativesdk-meson_0.55.1.bb65
-rw-r--r--meta/recipes-devtools/mklibs/files/ac_init_fix.patch19
-rw-r--r--meta/recipes-devtools/mklibs/files/avoid-failure-on-symbol-provided-by-application.patch103
-rw-r--r--meta/recipes-devtools/mklibs/files/fix_STT_GNU_IFUNC.patch26
-rw-r--r--meta/recipes-devtools/mklibs/files/fix_cross_compile.patch81
-rw-r--r--meta/recipes-devtools/mklibs/files/show-GNU-unique-symbols-as-provided-symbols.patch34
-rw-r--r--meta/recipes-devtools/mklibs/files/sysrooted-ldso.patch18
-rw-r--r--meta/recipes-devtools/mklibs/mklibs-native_0.1.44.bb22
-rw-r--r--meta/recipes-devtools/mmc/mmc-utils/0001-mmc_cmd.c-Use-extra-braces-when-initializing-subobje.patch32
-rw-r--r--meta/recipes-devtools/mmc/mmc-utils_git.bb19
-rw-r--r--meta/recipes-devtools/mtd/mtd-utils/add-exclusion-to-mkfs-jffs2-git-2.patch105
-rw-r--r--meta/recipes-devtools/mtd/mtd-utils_git.bb39
-rw-r--r--meta/recipes-devtools/mtools/mtools/disable-hardcoded-configs.patch6
-rw-r--r--meta/recipes-devtools/mtools/mtools/mtools-makeinfo.patch78
-rw-r--r--meta/recipes-devtools/mtools/mtools/no-x11.gplv3.patch18
-rw-r--r--meta/recipes-devtools/mtools/mtools_4.0.43.bb (renamed from meta/recipes-devtools/mtools/mtools_4.0.25.bb)13
-rw-r--r--meta/recipes-devtools/nasm/nasm/0001-stdlib-Add-strlcat.patch18
-rw-r--r--meta/recipes-devtools/nasm/nasm/0002-Add-debug-prefix-map-option.patch74
-rw-r--r--meta/recipes-devtools/nasm/nasm_2.16.03.bb (renamed from meta/recipes-devtools/nasm/nasm_2.15.05.bb)6
-rw-r--r--meta/recipes-devtools/ninja/ninja_1.12.1.bb (renamed from meta/recipes-devtools/ninja/ninja_1.10.1.bb)9
-rw-r--r--meta/recipes-devtools/opkg-utils/opkg-utils/0001-opkg-build-remove-numeric-owner-parameter-overzealou.patch34
-rw-r--r--meta/recipes-devtools/opkg-utils/opkg-utils_0.6.3.bb (renamed from meta/recipes-devtools/opkg-utils/opkg-utils_0.4.3.bb)30
-rw-r--r--meta/recipes-devtools/opkg/opkg-arch-config_1.0.bb16
-rw-r--r--meta/recipes-devtools/opkg/opkg-keyrings_1.0.bb8
-rw-r--r--meta/recipes-devtools/opkg/opkg/0001-libopkg-Use-libgen.h-to-provide-basename-API.patch62
-rw-r--r--meta/recipes-devtools/opkg/opkg_0.4.3.bb74
-rw-r--r--meta/recipes-devtools/opkg/opkg_0.6.3.bb85
-rw-r--r--meta/recipes-devtools/orc/orc_0.4.38.bb (renamed from meta/recipes-devtools/orc/orc_0.4.32.bb)11
-rw-r--r--meta/recipes-devtools/patch/patch.inc2
-rw-r--r--meta/recipes-devtools/patch/patch/CVE-2019-13636.patch2
-rw-r--r--meta/recipes-devtools/patch/patch/CVE-2019-20633.patch31
-rw-r--r--meta/recipes-devtools/patch/patch_2.7.6.bb5
-rw-r--r--meta/recipes-devtools/patchelf/patchelf/0001-Set-interpreter-only-when-necessary.patch31
-rw-r--r--meta/recipes-devtools/patchelf/patchelf/0002-align-startOffset-with-p_align-instead-of-pagesize-f.patch42
-rw-r--r--meta/recipes-devtools/patchelf/patchelf/0003-make-LOAD-segment-extensions-based-on-p_align-instea.patch32
-rw-r--r--meta/recipes-devtools/patchelf/patchelf/handle-read-only-files.patch52
-rw-r--r--meta/recipes-devtools/patchelf/patchelf_0.12.bb16
-rw-r--r--meta/recipes-devtools/patchelf/patchelf_0.18.0.bb23
-rw-r--r--meta/recipes-devtools/perl-cross/files/0001-Makefile-check-the-file-if-patched-or-not.patch29
-rw-r--r--meta/recipes-devtools/perl-cross/files/0001-perl-cross-add-LDFLAGS-when-linking-libperl.patch (renamed from meta/recipes-devtools/perl/files/0001-perl-cross-add-LDFLAGS-when-linking-libperl.patch)2
-rw-r--r--meta/recipes-devtools/perl-cross/files/README.md29
-rw-r--r--meta/recipes-devtools/perl-cross/files/determinism.patch46
-rw-r--r--meta/recipes-devtools/perl-cross/perlcross_1.5.2.bb38
-rw-r--r--meta/recipes-devtools/perl/files/0001-CheckLib.pm-do-not-attempt-to-run-a-cross-executable.patch24
-rw-r--r--meta/recipes-devtools/perl/files/0001-ExtUtils-MakeMaker-add-LDFLAGS-when-linking-binary-m.patch26
-rw-r--r--meta/recipes-devtools/perl/files/0001-Fix-intermittent-failure-of-test-t-op-sigsystem.t.patch77
-rw-r--r--meta/recipes-devtools/perl/files/0001-configure_path.sh-do-not-hardcode-prefix-lib-as-libr.patch69
-rw-r--r--meta/recipes-devtools/perl/files/0001-configure_tool.sh-do-not-quote-the-argument-to-comma.patch29
-rw-r--r--meta/recipes-devtools/perl/files/0001-cpan-Sys-Syslog-Makefile.PL-Fix-_PATH_LOG-for-determ.patch36
-rw-r--r--meta/recipes-devtools/perl/files/determinism.patch29
-rw-r--r--meta/recipes-devtools/perl/files/native-perlinc.patch2
-rw-r--r--meta/recipes-devtools/perl/files/perl-configpm-switch.patch66
-rw-r--r--meta/recipes-devtools/perl/files/perl-cross-makefile.patch29
-rw-r--r--meta/recipes-devtools/perl/files/perl-dynloader.patch4
-rw-r--r--meta/recipes-devtools/perl/files/perl-rdepends.txt4355
-rw-r--r--meta/recipes-devtools/perl/files/run-ptest2
-rw-r--r--meta/recipes-devtools/perl/liberror-perl_0.17029.bb47
-rw-r--r--meta/recipes-devtools/perl/libmodule-build-perl_0.4234.bb (renamed from meta/recipes-devtools/perl/libmodule-build-perl_0.4231.bb)33
-rw-r--r--meta/recipes-devtools/perl/libtest-fatal-perl_0.017.bb36
-rw-r--r--meta/recipes-devtools/perl/libtest-needs-perl_0.002010.bb (renamed from meta/recipes-devtools/perl/libtest-needs-perl_0.002006.bb)7
-rw-r--r--meta/recipes-devtools/perl/libtest-warnings-perl_0.033.bb36
-rw-r--r--meta/recipes-devtools/perl/libtry-tiny-perl_0.31.bb36
-rw-r--r--meta/recipes-devtools/perl/liburi-perl/0001-Skip-TODO-test-cases-that-fail.patch110
-rw-r--r--meta/recipes-devtools/perl/liburi-perl_5.28.bb (renamed from meta/recipes-devtools/perl/liburi-perl_1.74.bb)40
-rw-r--r--meta/recipes-devtools/perl/libxml-parser-perl/0001-Makefile.PL-make-check_lib-cross-friendly.patch28
-rw-r--r--meta/recipes-devtools/perl/libxml-parser-perl_2.46.bb58
-rw-r--r--meta/recipes-devtools/perl/libxml-parser-perl_2.47.bb42
-rw-r--r--meta/recipes-devtools/perl/libxml-perl_0.08.bb7
-rw-r--r--meta/recipes-devtools/perl/libxml-simple-perl_2.25.bb6
-rw-r--r--meta/recipes-devtools/perl/perl-ptest.inc10
-rw-r--r--meta/recipes-devtools/perl/perl_5.38.2.bb (renamed from meta/recipes-devtools/perl/perl_5.32.0.bb)185
-rw-r--r--meta/recipes-devtools/pkgconf/pkgconf_2.2.0.bb (renamed from meta/recipes-devtools/pkgconf/pkgconf_1.7.3.bb)26
-rw-r--r--meta/recipes-devtools/pkgconfig/pkgconfig/fix-glib-configure-libtool-usage.patch45
-rw-r--r--meta/recipes-devtools/pkgconfig/pkgconfig_git.bb28
-rw-r--r--meta/recipes-devtools/prelink/prelink/0001-Add-MIPS-gnu-hash-support.patch110
-rw-r--r--meta/recipes-devtools/prelink/prelink/macros.prelink5
-rw-r--r--meta/recipes-devtools/prelink/prelink/prelink.conf18
-rw-r--r--meta/recipes-devtools/prelink/prelink/prelink.cron.daily40
-rw-r--r--meta/recipes-devtools/prelink/prelink/prelink.default22
-rw-r--r--meta/recipes-devtools/prelink/prelink_git.bb183
-rwxr-xr-xmeta/recipes-devtools/pseudo/files/build-oldlibc20
-rw-r--r--meta/recipes-devtools/pseudo/files/glibc238.patch59
-rw-r--r--meta/recipes-devtools/pseudo/files/older-glibc-symbols.patch57
-rw-r--r--meta/recipes-devtools/pseudo/pseudo.inc38
-rw-r--r--meta/recipes-devtools/pseudo/pseudo_git.bb23
-rw-r--r--meta/recipes-devtools/python-numpy/python-numpy.inc50
-rw-r--r--meta/recipes-devtools/python-numpy/python3-numpy_1.19.3.bb3
-rw-r--r--meta/recipes-devtools/python/python-async.inc14
-rw-r--r--meta/recipes-devtools/python/python-cython.inc40
-rw-r--r--meta/recipes-devtools/python/python-gitdb.inc23
-rw-r--r--meta/recipes-devtools/python/python-nose.inc18
-rw-r--r--meta/recipes-devtools/python/python-pbr.inc2
-rw-r--r--meta/recipes-devtools/python/python-pyasn1.inc31
-rw-r--r--meta/recipes-devtools/python/python-pycryptodome.inc16
-rw-r--r--meta/recipes-devtools/python/python-pyparsing.inc22
-rw-r--r--meta/recipes-devtools/python/python-rfc3986-validator/0001-setup.py-move-pytest-runner-to-test_requirements.patch32
-rw-r--r--meta/recipes-devtools/python/python-six.inc2
-rw-r--r--meta/recipes-devtools/python/python-subunit.inc14
-rw-r--r--meta/recipes-devtools/python/python-testtools.inc28
-rw-r--r--meta/recipes-devtools/python/python3-alabaster_0.7.16.bb12
-rw-r--r--meta/recipes-devtools/python/python3-asn1crypto_1.5.1.bb24
-rw-r--r--meta/recipes-devtools/python/python3-async_0.6.2.bb2
-rw-r--r--meta/recipes-devtools/python/python3-atomicwrites/run-ptest3
-rw-r--r--meta/recipes-devtools/python/python3-atomicwrites_1.4.1.bb27
-rw-r--r--meta/recipes-devtools/python/python3-attrs/0001-conftest.py-disable-deadline.patch45
-rw-r--r--meta/recipes-devtools/python/python3-attrs/0001-test_funcs-skip-test_unknown-for-pytest-8.patch30
-rw-r--r--meta/recipes-devtools/python/python3-attrs/run-ptest3
-rw-r--r--meta/recipes-devtools/python/python3-attrs_23.2.0.bb39
-rw-r--r--meta/recipes-devtools/python/python3-babel_2.14.0.bb26
-rw-r--r--meta/recipes-devtools/python/python3-bcrypt-crates.inc116
-rw-r--r--meta/recipes-devtools/python/python3-bcrypt/run-ptest3
-rw-r--r--meta/recipes-devtools/python/python3-bcrypt_4.1.3.bb35
-rw-r--r--meta/recipes-devtools/python/python3-beartype_0.18.5.bb11
-rw-r--r--meta/recipes-devtools/python/python3-booleanpy_4.0.bb13
-rw-r--r--meta/recipes-devtools/python/python3-build_1.2.1.bb32
-rw-r--r--meta/recipes-devtools/python/python3-calver/0001-setup.py-hard-code-version.patch32
-rw-r--r--meta/recipes-devtools/python/python3-calver/run-ptest3
-rw-r--r--meta/recipes-devtools/python/python3-calver_2022.6.26.bb28
-rw-r--r--meta/recipes-devtools/python/python3-certifi_2024.2.2.bb16
-rw-r--r--meta/recipes-devtools/python/python3-cffi_1.16.0.bb18
-rw-r--r--meta/recipes-devtools/python/python3-chardet_5.2.0.bb24
-rw-r--r--meta/recipes-devtools/python/python3-click/run-ptest3
-rw-r--r--meta/recipes-devtools/python/python3-click_8.1.7.bb39
-rw-r--r--meta/recipes-devtools/python/python3-cryptography-crates.inc102
-rw-r--r--meta/recipes-devtools/python/python3-cryptography-vectors_42.0.7.bb31
-rw-r--r--meta/recipes-devtools/python/python3-cryptography/0001-pyproject.toml-remove-benchmark-disable-option.patch40
-rwxr-xr-xmeta/recipes-devtools/python/python3-cryptography/check-memfree.py10
-rw-r--r--meta/recipes-devtools/python/python3-cryptography/run-ptest9
-rw-r--r--meta/recipes-devtools/python/python3-cryptography_42.0.7.bb67
-rw-r--r--meta/recipes-devtools/python/python3-cython_0.29.21.bb18
-rw-r--r--meta/recipes-devtools/python/python3-cython_3.0.10.bb74
-rw-r--r--meta/recipes-devtools/python/python3-dbus_1.2.16.bb26
-rw-r--r--meta/recipes-devtools/python/python3-dbus_1.3.2.bb23
-rw-r--r--meta/recipes-devtools/python/python3-dbusmock_0.19.bb17
-rw-r--r--meta/recipes-devtools/python/python3-dbusmock_0.31.1.bb22
-rw-r--r--meta/recipes-devtools/python/python3-docutils_0.16.bb17
-rw-r--r--meta/recipes-devtools/python/python3-docutils_0.21.2.bb14
-rw-r--r--meta/recipes-devtools/python/python3-dtc/0001-Revert-libfdt-overlay-make-overlay_get_target-public.patch132
-rw-r--r--meta/recipes-devtools/python/python3-dtc_1.7.0.bb25
-rw-r--r--meta/recipes-devtools/python/python3-dtschema_2024.4.bb20
-rw-r--r--meta/recipes-devtools/python/python3-editables_0.5.bb15
-rw-r--r--meta/recipes-devtools/python/python3-flit-core_3.9.0.bb37
-rw-r--r--meta/recipes-devtools/python/python3-git_3.1.11.bb32
-rw-r--r--meta/recipes-devtools/python/python3-git_3.1.43.bb32
-rw-r--r--meta/recipes-devtools/python/python3-gitdb_4.0.11.bb22
-rw-r--r--meta/recipes-devtools/python/python3-gitdb_4.0.5.bb4
-rw-r--r--meta/recipes-devtools/python/python3-hatch-fancy-pypi-readme_24.1.0.bb14
-rw-r--r--meta/recipes-devtools/python/python3-hatch-vcs_0.4.0.bb14
-rw-r--r--meta/recipes-devtools/python/python3-hatchling_1.24.2.bb17
-rw-r--r--meta/recipes-devtools/python/python3-hypothesis/run-ptest10
-rw-r--r--meta/recipes-devtools/python/python3-hypothesis/test_binary_search.py135
-rw-r--r--meta/recipes-devtools/python/python3-hypothesis/test_rle.py101
-rw-r--r--meta/recipes-devtools/python/python3-hypothesis_6.103.0.bb39
-rw-r--r--meta/recipes-devtools/python/python3-idna_3.7.bb14
-rw-r--r--meta/recipes-devtools/python/python3-imagesize_1.4.1.bb13
-rw-r--r--meta/recipes-devtools/python/python3-importlib-metadata_7.1.0.bb20
-rw-r--r--meta/recipes-devtools/python/python3-iniconfig_2.0.0.bb13
-rw-r--r--meta/recipes-devtools/python/python3-iniparse/0001-Add-python-3-compatibility.patch552
-rw-r--r--meta/recipes-devtools/python/python3-iniparse_0.5.bb (renamed from meta/recipes-devtools/python/python3-iniparse_0.4.bb)11
-rw-r--r--meta/recipes-devtools/python/python3-installer/interpreter.patch71
-rw-r--r--meta/recipes-devtools/python/python3-installer_0.7.0.bb34
-rw-r--r--meta/recipes-devtools/python/python3-iso8601_2.1.0.bb15
-rw-r--r--meta/recipes-devtools/python/python3-isodate_0.6.1.bb16
-rw-r--r--meta/recipes-devtools/python/python3-jinja2/run-ptest2
-rw-r--r--meta/recipes-devtools/python/python3-jinja2_2.11.2.bb45
-rw-r--r--meta/recipes-devtools/python/python3-jinja2_3.1.4.bb48
-rw-r--r--meta/recipes-devtools/python/python3-jsonpointer/run-ptest3
-rw-r--r--meta/recipes-devtools/python/python3-jsonpointer_2.4.bb28
-rw-r--r--meta/recipes-devtools/python/python3-jsonschema-specifications_2023.12.1.bb16
-rw-r--r--meta/recipes-devtools/python/python3-jsonschema_4.22.0.bb50
-rw-r--r--meta/recipes-devtools/python/python3-libarchive-c_5.1.bb (renamed from meta/recipes-devtools/python/python3-libarchive-c_2.9.bb)10
-rw-r--r--meta/recipes-devtools/python/python3-license-expression/run-ptest3
-rw-r--r--meta/recipes-devtools/python/python3-license-expression_30.3.0.bb38
-rw-r--r--meta/recipes-devtools/python/python3-lxml_5.2.2.bb42
-rw-r--r--meta/recipes-devtools/python/python3-magic_0.4.27.bb (renamed from meta/recipes-devtools/python/python3-magic_0.4.18.bb)14
-rw-r--r--meta/recipes-devtools/python/python3-mako_1.1.3.bb20
-rw-r--r--meta/recipes-devtools/python/python3-mako_1.3.5.bb20
-rw-r--r--meta/recipes-devtools/python/python3-markdown_3.6.bb13
-rw-r--r--meta/recipes-devtools/python/python3-markupsafe/run-ptest2
-rw-r--r--meta/recipes-devtools/python/python3-markupsafe_1.1.1.bb28
-rw-r--r--meta/recipes-devtools/python/python3-markupsafe_2.1.5.bb27
-rw-r--r--meta/recipes-devtools/python/python3-maturin-crates.inc630
-rw-r--r--meta/recipes-devtools/python/python3-maturin_1.6.0.bb42
-rw-r--r--meta/recipes-devtools/python/python3-meson-python_0.15.0.bb27
-rw-r--r--meta/recipes-devtools/python/python3-more-itertools/run-ptest3
-rw-r--r--meta/recipes-devtools/python/python3-more-itertools_10.2.0.bb29
-rw-r--r--meta/recipes-devtools/python/python3-ndg-httpsclient_0.5.1.bb31
-rw-r--r--meta/recipes-devtools/python/python3-nose_1.3.7.bb2
-rw-r--r--meta/recipes-devtools/python/python3-numpy/0001-Don-t-search-usr-and-so-on-for-libraries-by-default-.patch (renamed from meta/recipes-devtools/python-numpy/files/0001-Don-t-search-usr-and-so-on-for-libraries-by-default-.patch)21
-rw-r--r--meta/recipes-devtools/python/python3-numpy/0001-numpy-core-Define-RISCV-32-support.patch (renamed from meta/recipes-devtools/python-numpy/files/0001-numpy-core-Define-RISCV-32-support.patch)40
-rw-r--r--meta/recipes-devtools/python/python3-numpy/fix_reproducibility.patch33
-rw-r--r--meta/recipes-devtools/python/python3-numpy/run-ptest5
-rw-r--r--meta/recipes-devtools/python/python3-numpy_1.26.4.bb64
-rw-r--r--meta/recipes-devtools/python/python3-packaging_24.0.bb18
-rw-r--r--meta/recipes-devtools/python/python3-pathlib2_2.3.7.bb12
-rw-r--r--meta/recipes-devtools/python/python3-pathspec_0.12.1.bb13
-rw-r--r--meta/recipes-devtools/python/python3-pbr_5.4.4.bb5
-rw-r--r--meta/recipes-devtools/python/python3-pbr_6.0.0.bb4
-rw-r--r--meta/recipes-devtools/python/python3-pip/0001-change-shebang-to-python3.patch60
-rw-r--r--meta/recipes-devtools/python/python3-pip/no_shebang_mangling.patch36
-rw-r--r--meta/recipes-devtools/python/python3-pip_20.0.2.bb33
-rw-r--r--meta/recipes-devtools/python/python3-pip_24.0.bb60
-rw-r--r--meta/recipes-devtools/python/python3-pluggy/run-ptest3
-rw-r--r--meta/recipes-devtools/python/python3-pluggy_1.5.0.bb29
-rw-r--r--meta/recipes-devtools/python/python3-ply_3.11.bb18
-rw-r--r--meta/recipes-devtools/python/python3-poetry-core_1.9.0.bb42
-rw-r--r--meta/recipes-devtools/python/python3-pretend_1.0.9.bb11
-rw-r--r--meta/recipes-devtools/python/python3-psutil_5.9.8.bb41
-rw-r--r--meta/recipes-devtools/python/python3-py_1.11.0.bb14
-rw-r--r--meta/recipes-devtools/python/python3-pyasn1/run-ptest3
-rw-r--r--meta/recipes-devtools/python/python3-pyasn1_0.6.0.bb3
-rw-r--r--meta/recipes-devtools/python/python3-pycairo_1.26.0.bb (renamed from meta/recipes-devtools/python/python3-pycairo_1.20.0.bb)13
-rw-r--r--meta/recipes-devtools/python/python3-pycparser_2.22.bb19
-rw-r--r--meta/recipes-devtools/python/python3-pycryptodome_3.20.0.bb5
-rw-r--r--meta/recipes-devtools/python/python3-pycryptodome_3.9.9.bb5
-rw-r--r--meta/recipes-devtools/python/python3-pycryptodomex_3.20.0.bb (renamed from meta/recipes-devtools/python/python3-pycryptodomex_3.9.9.bb)4
-rw-r--r--meta/recipes-devtools/python/python3-pyelftools_0.27.bb13
-rw-r--r--meta/recipes-devtools/python/python3-pyelftools_0.31.bb15
-rw-r--r--meta/recipes-devtools/python/python3-pygments_2.18.0.bb14
-rw-r--r--meta/recipes-devtools/python/python3-pygments_2.7.2.bb19
-rw-r--r--meta/recipes-devtools/python/python3-pygobject/0001-Do-not-build-tests.patch30
-rw-r--r--meta/recipes-devtools/python/python3-pygobject_3.38.0.bb32
-rw-r--r--meta/recipes-devtools/python/python3-pygobject_3.48.2.bb39
-rw-r--r--meta/recipes-devtools/python/python3-pyopenssl_24.1.0.bb22
-rw-r--r--meta/recipes-devtools/python/python3-pyparsing_2.4.7.bb3
-rw-r--r--meta/recipes-devtools/python/python3-pyparsing_3.1.2.bb30
-rw-r--r--meta/recipes-devtools/python/python3-pyproject-hooks_1.0.0.bb24
-rw-r--r--meta/recipes-devtools/python/python3-pyproject-metadata_0.8.0.bb27
-rw-r--r--meta/recipes-devtools/python/python3-pyrsistent_0.20.0.bb14
-rw-r--r--meta/recipes-devtools/python/python3-pysocks_1.7.1.bb20
-rw-r--r--meta/recipes-devtools/python/python3-pytest-runner_6.0.1.bb16
-rw-r--r--meta/recipes-devtools/python/python3-pytest-subtests_0.12.1.bb20
-rw-r--r--meta/recipes-devtools/python/python3-pytest_8.2.1.bb41
-rw-r--r--meta/recipes-devtools/python/python3-pytz/run-ptest3
-rw-r--r--meta/recipes-devtools/python/python3-pytz_2024.1.bb36
-rw-r--r--meta/recipes-devtools/python/python3-pyyaml/0001-Fix-builds-with-Cython-3.patch54
-rw-r--r--meta/recipes-devtools/python/python3-pyyaml/run-ptest3
-rw-r--r--meta/recipes-devtools/python/python3-pyyaml_6.0.1.bb40
-rw-r--r--meta/recipes-devtools/python/python3-rdflib_7.0.0.bb21
-rw-r--r--meta/recipes-devtools/python/python3-referencing_0.35.1.bb14
-rw-r--r--meta/recipes-devtools/python/python3-requests_2.32.1.bb24
-rw-r--r--meta/recipes-devtools/python/python3-rfc3339-validator_0.1.4.bb21
-rw-r--r--meta/recipes-devtools/python/python3-rfc3986-validator_0.1.1.bb24
-rw-r--r--meta/recipes-devtools/python/python3-rfc3987_1.3.8.bb11
-rw-r--r--meta/recipes-devtools/python/python3-rpds-py-crates.inc82
-rw-r--r--meta/recipes-devtools/python/python3-rpds-py/run-ptest3
-rw-r--r--meta/recipes-devtools/python/python3-rpds-py_0.18.1.bb30
-rw-r--r--meta/recipes-devtools/python/python3-ruamel-yaml_0.18.6.bb23
-rw-r--r--meta/recipes-devtools/python/python3-scons-native_3.1.2.bb7
-rw-r--r--meta/recipes-devtools/python/python3-scons/0001-Fix-man-page-installation.patch29
-rw-r--r--meta/recipes-devtools/python/python3-scons_3.1.2.bb33
-rw-r--r--meta/recipes-devtools/python/python3-scons_4.7.0.bb36
-rw-r--r--meta/recipes-devtools/python/python3-semantic-version_2.10.0.bb18
-rw-r--r--meta/recipes-devtools/python/python3-setuptools-rust_1.9.0.bb35
-rw-r--r--meta/recipes-devtools/python/python3-setuptools-scm_8.1.0.bb33
-rw-r--r--meta/recipes-devtools/python/python3-setuptools/0001-_distutils-sysconfig.py-make-it-possible-to-substite.patch58
-rw-r--r--meta/recipes-devtools/python/python3-setuptools/0001-change-shebang-to-python3.patch25
-rw-r--r--meta/recipes-devtools/python/python3-setuptools/0001-conditionally-do-not-fetch-code-by-easy_install.patch (renamed from meta/recipes-devtools/python/files/0001-conditionally-do-not-fetch-code-by-easy_install.patch)9
-rw-r--r--meta/recipes-devtools/python/python3-setuptools_50.3.2.bb65
-rw-r--r--meta/recipes-devtools/python/python3-setuptools_69.5.1.bb55
-rw-r--r--meta/recipes-devtools/python/python3-six_1.15.0.bb5
-rw-r--r--meta/recipes-devtools/python/python3-six_1.16.0.bb4
-rw-r--r--meta/recipes-devtools/python/python3-smartypants/0001-Change-hash-bang-to-python3.patch47
-rw-r--r--meta/recipes-devtools/python/python3-smartypants_2.0.0.bb14
-rw-r--r--meta/recipes-devtools/python/python3-smmap_3.0.4.bb3
-rw-r--r--meta/recipes-devtools/python/python3-smmap_6.0.0.bb (renamed from meta/recipes-devtools/python/python-smmap.inc)8
-rw-r--r--meta/recipes-devtools/python/python3-snowballstemmer_2.2.0.bb13
-rw-r--r--meta/recipes-devtools/python/python3-sortedcontainers_2.4.0.bb9
-rw-r--r--meta/recipes-devtools/python/python3-spdx-tools_0.8.2.bb28
-rw-r--r--meta/recipes-devtools/python/python3-sphinx-rtd-theme_2.0.0.bb26
-rw-r--r--meta/recipes-devtools/python/python3-sphinx_7.3.7.bb35
-rw-r--r--meta/recipes-devtools/python/python3-sphinxcontrib-applehelp_1.0.8.bb12
-rw-r--r--meta/recipes-devtools/python/python3-sphinxcontrib-devhelp_1.0.6.bb12
-rw-r--r--meta/recipes-devtools/python/python3-sphinxcontrib-htmlhelp_2.0.5.bb12
-rw-r--r--meta/recipes-devtools/python/python3-sphinxcontrib-jquery_4.1.bb12
-rw-r--r--meta/recipes-devtools/python/python3-sphinxcontrib-jsmath_1.0.1.bb12
-rw-r--r--meta/recipes-devtools/python/python3-sphinxcontrib-qthelp_1.0.7.bb12
-rw-r--r--meta/recipes-devtools/python/python3-sphinxcontrib-serializinghtml_1.1.10.bb12
-rw-r--r--meta/recipes-devtools/python/python3-subunit_1.4.0.bb4
-rw-r--r--meta/recipes-devtools/python/python3-subunit_1.4.4.bb15
-rw-r--r--meta/recipes-devtools/python/python3-testtools/no_traceback2.patch23
-rw-r--r--meta/recipes-devtools/python/python3-testtools_2.4.0.bb4
-rw-r--r--meta/recipes-devtools/python/python3-testtools_2.7.1.bb20
-rw-r--r--meta/recipes-devtools/python/python3-toml_0.10.2.bb15
-rw-r--r--meta/recipes-devtools/python/python3-tomli_2.0.1.bb18
-rw-r--r--meta/recipes-devtools/python/python3-trove-classifiers/run-ptest3
-rw-r--r--meta/recipes-devtools/python/python3-trove-classifiers_2024.5.22.bb28
-rw-r--r--meta/recipes-devtools/python/python3-typing-extensions_4.11.0.bb24
-rw-r--r--meta/recipes-devtools/python/python3-typogrify_2.0.7.bb14
-rw-r--r--meta/recipes-devtools/python/python3-unittest-automake-output_0.2.bb13
-rw-r--r--meta/recipes-devtools/python/python3-uritools_4.0.2.bb11
-rw-r--r--meta/recipes-devtools/python/python3-urllib3_2.2.1.bb24
-rw-r--r--meta/recipes-devtools/python/python3-vcversioner_2.16.0.0.bb12
-rw-r--r--meta/recipes-devtools/python/python3-wcwidth/run-ptest3
-rw-r--r--meta/recipes-devtools/python/python3-wcwidth_0.2.13.bb27
-rw-r--r--meta/recipes-devtools/python/python3-webcolors/run-ptest3
-rw-r--r--meta/recipes-devtools/python/python3-webcolors_1.13.bb28
-rw-r--r--meta/recipes-devtools/python/python3-websockets_12.0.bb16
-rw-r--r--meta/recipes-devtools/python/python3-wheel_0.43.0.bb15
-rw-r--r--meta/recipes-devtools/python/python3-xmltodict/run-ptest3
-rw-r--r--meta/recipes-devtools/python/python3-xmltodict_0.13.0.bb31
-rw-r--r--meta/recipes-devtools/python/python3-yamllint_1.35.1.bb15
-rw-r--r--meta/recipes-devtools/python/python3-zipp_3.18.2.bb18
-rw-r--r--meta/recipes-devtools/python/python3/0001-Avoid-shebang-overflow-on-python-config.py.patch30
-rw-r--r--meta/recipes-devtools/python/python3/0001-Do-not-add-usr-lib-termcap-to-linker-flags-to-avoid-.patch25
-rw-r--r--meta/recipes-devtools/python/python3/0001-Do-not-use-the-shell-version-of-python-config-that-w.patch35
-rw-r--r--meta/recipes-devtools/python/python3/0001-Don-t-search-system-for-headers-libraries.patch27
-rw-r--r--meta/recipes-devtools/python/python3/0001-Lib-pty.py-handle-stdin-I-O-errors-same-way-as-maste.patch47
-rw-r--r--meta/recipes-devtools/python/python3/0001-Lib-sysconfig.py-use-libdir-values-from-configuratio.patch35
-rw-r--r--meta/recipes-devtools/python/python3/0001-Lib-sysconfig.py-use-prefix-value-from-build-configu.patch32
-rw-r--r--meta/recipes-devtools/python/python3/0001-Makefile-do-not-compile-.pyc-in-parallel.patch58
-rw-r--r--meta/recipes-devtools/python/python3/0001-Makefile-fix-Issue36464-parallel-build-race-problem.patch34
-rw-r--r--meta/recipes-devtools/python/python3/0001-Makefile.pre-use-qemu-wrapper-when-gathering-profile.patch16
-rw-r--r--meta/recipes-devtools/python/python3/0001-Skip-failing-tests-due-to-load-variability-on-YP-AB.patch72
-rw-r--r--meta/recipes-devtools/python/python3/0001-Update-test_sysconfig-for-posix_user-purelib.patch37
-rw-r--r--meta/recipes-devtools/python/python3/0001-Use-FLAG_REF-always-for-interned-strings.patch33
-rw-r--r--meta/recipes-devtools/python/python3/0001-bpo-36852-proper-detection-of-mips-architecture-for-.patch209
-rw-r--r--meta/recipes-devtools/python/python3/0001-distutils-sysconfig-append-STAGING_LIBDIR-python-sys.patch42
-rw-r--r--meta/recipes-devtools/python/python3/0001-gh-107811-tarfile-treat-overflow-in-UID-GID-as-failu.patch40
-rw-r--r--meta/recipes-devtools/python/python3/0001-python3-use-cc_basename-to-replace-CC-for-checking-c.patch67
-rw-r--r--meta/recipes-devtools/python/python3/0001-setup.py-pass-missing-libraries-to-Extension-for-mul.patch69
-rw-r--r--meta/recipes-devtools/python/python3/0001-skip-no_stdout_fileno-test-due-to-load-variability.patch29
-rw-r--r--meta/recipes-devtools/python/python3/0001-sysconfig.py-use-platlibdir-also-for-purelib.patch28
-rw-r--r--meta/recipes-devtools/python/python3/0001-test_ctypes.test_find-skip-without-tools-sdk.patch34
-rw-r--r--meta/recipes-devtools/python/python3/0001-test_locale.py-correct-the-test-output-format.patch18
-rw-r--r--meta/recipes-devtools/python/python3/0001-test_shutdown-skip-problematic-test.patch46
-rw-r--r--meta/recipes-devtools/python/python3/0001-test_storlines-skip-due-to-load-variability.patch30
-rw-r--r--meta/recipes-devtools/python/python3/0017-setup.py-do-not-report-missing-dependencies-for-disa.patch32
-rw-r--r--meta/recipes-devtools/python/python3/0020-configure.ac-setup.py-do-not-add-a-curses-include-pa.patch37
-rw-r--r--meta/recipes-devtools/python/python3/12-distutils-prefix-is-inside-staging-area.patch60
-rw-r--r--meta/recipes-devtools/python/python3/CVE-2020-27619.patch69
-rw-r--r--meta/recipes-devtools/python/python3/avoid_warning_about_tkinter.patch31
-rw-r--r--meta/recipes-devtools/python/python3/cgi_py.patch4
-rw-r--r--meta/recipes-devtools/python/python3/create_manifest3.py47
-rw-r--r--meta/recipes-devtools/python/python3/crosspythonpath.patch31
-rw-r--r--meta/recipes-devtools/python/python3/deterministic_imports.patch40
-rw-r--r--meta/recipes-devtools/python/python3/get_module_deps3.py76
-rw-r--r--meta/recipes-devtools/python/python3/makerace.patch31
-rw-r--r--meta/recipes-devtools/python/python3/python-config.patch54
-rw-r--r--meta/recipes-devtools/python/python3/python3-manifest.json194
-rw-r--r--meta/recipes-devtools/python/python3/reformat_sysconfig.py2
-rw-r--r--meta/recipes-devtools/python/python3/run-ptest4
-rw-r--r--meta/recipes-devtools/python/python3_3.12.3.bb472
-rw-r--r--meta/recipes-devtools/python/python3_3.9.0.bb376
-rw-r--r--meta/recipes-devtools/qemu/nativesdk-qemu-helper_1.0.bb19
-rw-r--r--meta/recipes-devtools/qemu/qemu-helper-native_1.0.bb23
-rwxr-xr-xmeta/recipes-devtools/qemu/qemu-helper/qemu-oe-bridge-helper25
-rw-r--r--meta/recipes-devtools/qemu/qemu-helper/qemu-oe-bridge-helper.c40
-rw-r--r--meta/recipes-devtools/qemu/qemu-helper/tunctl.c158
-rw-r--r--meta/recipes-devtools/qemu/qemu-native.inc10
-rw-r--r--meta/recipes-devtools/qemu/qemu-native_5.1.0.bb9
-rw-r--r--meta/recipes-devtools/qemu/qemu-native_9.0.0.bb9
-rw-r--r--meta/recipes-devtools/qemu/qemu-system-native_5.1.0.bb26
-rw-r--r--meta/recipes-devtools/qemu/qemu-system-native_9.0.0.bb31
-rw-r--r--meta/recipes-devtools/qemu/qemu.inc215
-rw-r--r--meta/recipes-devtools/qemu/qemu/0001-Add-enable-disable-udev.patch29
-rw-r--r--meta/recipes-devtools/qemu/qemu/0001-qemu-Add-addition-environment-space-to-boot-loader-q.patch (renamed from meta/recipes-devtools/qemu/qemu/0003-qemu-Add-addition-environment-space-to-boot-loader-q.patch)22
-rw-r--r--meta/recipes-devtools/qemu/qemu/0001-qemu-Add-missing-wacom-HID-descriptor.patch141
-rw-r--r--meta/recipes-devtools/qemu/qemu/0001-target-mips-Increase-number-of-TLB-entries-on-the-34.patch59
-rw-r--r--meta/recipes-devtools/qemu/qemu/0002-Add-subpackage-ptest-which-runs-all-unit-test-cases-.patch35
-rw-r--r--meta/recipes-devtools/qemu/qemu/0002-apic-fixup-fallthrough-to-PIC.patch (renamed from meta/recipes-devtools/qemu/qemu/0007-apic-fixup-fallthrough-to-PIC.patch)18
-rw-r--r--meta/recipes-devtools/qemu/qemu/0003-configure-Add-pkg-config-handling-for-libgcrypt.patch31
-rw-r--r--meta/recipes-devtools/qemu/qemu/0004-qemu-Do-not-include-file-if-not-exists.patch (renamed from meta/recipes-devtools/qemu/qemu/0001-qemu-Do-not-include-file-if-not-exists.patch)19
-rw-r--r--meta/recipes-devtools/qemu/qemu/0004-qemu-disable-Valgrind.patch34
-rw-r--r--meta/recipes-devtools/qemu/qemu/0005-qemu-Add-some-user-space-mmap-tweaks-to-address-musl.patch51
-rw-r--r--meta/recipes-devtools/qemu/qemu/0005-qemu-native-set-ld.bfd-fix-cflags-and-set-some-envir.patch28
-rw-r--r--meta/recipes-devtools/qemu/qemu/0006-chardev-connect-socket-to-a-spawned-command.patch241
-rw-r--r--meta/recipes-devtools/qemu/qemu/0006-qemu-Determinism-fixes.patch33
-rw-r--r--meta/recipes-devtools/qemu/qemu/0007-tests-meson.build-use-relative-path-to-refer-to-file.patch43
-rw-r--r--meta/recipes-devtools/qemu/qemu/0008-Define-MAP_SYNC-and-MAP_SHARED_VALIDATE-on-needed-li.patch48
-rw-r--r--meta/recipes-devtools/qemu/qemu/0008-linux-user-Fix-webkitgtk-hangs-on-32-bit-x86-target.patch33
-rw-r--r--meta/recipes-devtools/qemu/qemu/0009-Fix-webkitgtk-builds.patch137
-rw-r--r--meta/recipes-devtools/qemu/qemu/0009-linux-user-Replace-use-of-lfs64-related-functions-an.patch358
-rw-r--r--meta/recipes-devtools/qemu/qemu/0010-configure-Add-pkg-config-handling-for-libgcrypt.patch91
-rw-r--r--meta/recipes-devtools/qemu/qemu/0010-configure-lookup-meson-exutable-from-PATH.patch31
-rw-r--r--meta/recipes-devtools/qemu/qemu/0011-qemu-Ensure-pip-and-the-python-venv-aren-t-used-for-.patch55
-rw-r--r--meta/recipes-devtools/qemu/qemu/CVE-2020-24352.patch52
-rw-r--r--meta/recipes-devtools/qemu/qemu/find_datadir.patch39
-rw-r--r--meta/recipes-devtools/qemu/qemu/qemu-guest-agent.init75
-rw-r--r--meta/recipes-devtools/qemu/qemu/qemu-guest-agent.udev2
-rw-r--r--meta/recipes-devtools/qemu/qemu/run-ptest5
-rw-r--r--meta/recipes-devtools/qemu/qemu/usb-fix-setup_len-init.patch89
-rw-r--r--meta/recipes-devtools/qemu/qemu_5.1.0.bb28
-rw-r--r--meta/recipes-devtools/qemu/qemu_9.0.0.bb27
-rw-r--r--meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb4
-rw-r--r--meta/recipes-devtools/quilt/quilt-native_0.67.bb (renamed from meta/recipes-devtools/quilt/quilt-native_0.66.bb)0
-rw-r--r--meta/recipes-devtools/quilt/quilt.inc83
-rw-r--r--meta/recipes-devtools/quilt/quilt/0001-test-Fix-a-race-condition-in-merge.test.patch48
-rw-r--r--meta/recipes-devtools/quilt/quilt/Makefile14
-rw-r--r--meta/recipes-devtools/quilt/quilt/faildiff-order.patch41
-rw-r--r--meta/recipes-devtools/quilt/quilt/fix-grep-3.8.patch144
-rwxr-xr-xmeta/recipes-devtools/quilt/quilt/run-ptest7
-rwxr-xr-xmeta/recipes-devtools/quilt/quilt/test.sh25
-rw-r--r--meta/recipes-devtools/quilt/quilt_0.67.bb (renamed from meta/recipes-devtools/quilt/quilt_0.66.bb)1
-rw-r--r--meta/recipes-devtools/repo/repo_2.45.bb30
-rw-r--r--meta/recipes-devtools/rpm/files/0001-Add-a-color-setting-for-mips64_n32-binaries.patch17
-rw-r--r--meta/recipes-devtools/rpm/files/0001-CMakeLists.txt-look-for-lua-with-pkg-config-rather-t.patch27
-rw-r--r--meta/recipes-devtools/rpm/files/0001-Do-not-add-an-unsatisfiable-dependency-when-building.patch7
-rw-r--r--meta/recipes-devtools/rpm/files/0001-Do-not-hardcode-lib-rpm-as-the-installation-path-for.patch53
-rw-r--r--meta/recipes-devtools/rpm/files/0001-Do-not-read-config-files-from-HOME.patch19
-rw-r--r--meta/recipes-devtools/rpm/files/0001-Do-not-reset-the-PATH-environment-variable-before-ru.patch7
-rw-r--r--meta/recipes-devtools/rpm/files/0001-Fix-build-with-musl-C-library.patch22
-rw-r--r--meta/recipes-devtools/rpm/files/0001-Rip-out-partial-support-for-unused-MD2-and-RIPEMD160.patch81
-rw-r--r--meta/recipes-devtools/rpm/files/0001-When-cross-installing-execute-package-scriptlets-wit.patch19
-rw-r--r--meta/recipes-devtools/rpm/files/0001-build-pack.c-do-not-insert-payloadflags-into-.rpm-me.patch28
-rw-r--r--meta/recipes-devtools/rpm/files/0001-lib-transaction.c-fix-file-conflicts-for-MIPS64-N32.patch9
-rw-r--r--meta/recipes-devtools/rpm/files/0001-perl-disable-auto-reqs.patch25
-rw-r--r--meta/recipes-devtools/rpm/files/0001-rpm-rpmio.c-restrict-virtual-memory-usage-if-limit-s.patch65
-rw-r--r--meta/recipes-devtools/rpm/files/0001-rpmdb.c-add-a-missing-include.patch25
-rw-r--r--meta/recipes-devtools/rpm/files/0001-tools-Add-error.h-for-non-glibc-case.patch118
-rw-r--r--meta/recipes-devtools/rpm/files/0002-Add-support-for-prefixing-etc-from-RPM_ETCCONFIGDIR-.patch29
-rw-r--r--meta/recipes-devtools/rpm/files/0002-rpmio-rpmglob.c-avoid-using-GLOB_BRACE-if-undefined-.patch34
-rw-r--r--meta/recipes-devtools/rpm/files/0011-Do-not-require-that-ELF-binaries-are-executable-to-b.patch33
-rw-r--r--meta/recipes-devtools/rpm/files/0016-rpmscript.c-change-logging-level-around-scriptlets-t.patch12
-rw-r--r--meta/recipes-devtools/rpm/files/environment.d-rpm.sh1
-rw-r--r--meta/recipes-devtools/rpm/rpm_4.16.0.bb165
-rw-r--r--meta/recipes-devtools/rpm/rpm_4.19.1.1.bb197
-rw-r--r--meta/recipes-devtools/rsync/files/0001-Add-missing-prototypes-to-function-declarations.patch170
-rw-r--r--meta/recipes-devtools/rsync/files/determism.patch34
-rw-r--r--meta/recipes-devtools/rsync/files/makefile-no-rebuild.patch13
-rw-r--r--meta/recipes-devtools/rsync/rsync_3.3.0.bb (renamed from meta/recipes-devtools/rsync/rsync_3.2.3.bb)35
-rw-r--r--meta/recipes-devtools/ruby/ruby.inc40
-rw-r--r--meta/recipes-devtools/ruby/ruby/0001-Modify-shebang-of-libexec-y2racc-and-libexec-racc2y.patch38
-rw-r--r--meta/recipes-devtools/ruby/ruby/0001-extmk-fix-cross-compilation-of-external-gems.patch11
-rw-r--r--meta/recipes-devtools/ruby/ruby/0001-vm_dump.c-Define-REG_S1-and-REG_S2-for-musl-riscv.patch31
-rw-r--r--meta/recipes-devtools/ruby/ruby/0002-Obey-LDFLAGS-for-the-link-of-libruby.patch13
-rw-r--r--meta/recipes-devtools/ruby/ruby/0003-rdoc-build-reproducible-documentation.patch37
-rw-r--r--meta/recipes-devtools/ruby/ruby/0004-lib-mkmf.rb-sort-list-of-object-files-in-generated-M.patch31
-rw-r--r--meta/recipes-devtools/ruby/ruby/0005-Mark-Gemspec-reproducible-change-fixing-784225-too.patch31
-rw-r--r--meta/recipes-devtools/ruby/ruby/0006-Make-gemspecs-reproducible.patch77
-rw-r--r--meta/recipes-devtools/ruby/ruby/remove_has_include_macros.patch26
-rw-r--r--meta/recipes-devtools/ruby/ruby_2.7.2.bb92
-rw-r--r--meta/recipes-devtools/ruby/ruby_3.3.0.bb140
-rwxr-xr-xmeta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts21
-rw-r--r--meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts.service4
-rw-r--r--meta/recipes-devtools/run-postinsts/run-postinsts_1.0.bb19
-rw-r--r--meta/recipes-devtools/rust/README-rust.md38
-rw-r--r--meta/recipes-devtools/rust/cargo-c-crates.inc654
-rw-r--r--meta/recipes-devtools/rust/cargo-c-native_0.9.30+cargo-0.77.0.bb17
-rw-r--r--meta/recipes-devtools/rust/cargo_1.75.0.bb73
-rw-r--r--meta/recipes-devtools/rust/files/0001-Handle-vendored-sources-when-remapping-paths.patch46
-rw-r--r--meta/recipes-devtools/rust/files/0001-Revert-Map-source-absolute-paths-to-OUT_DIR-as-relat.patch67
-rw-r--r--meta/recipes-devtools/rust/files/0001-cargo-do-not-write-host-information-into-compilation.patch51
-rw-r--r--meta/recipes-devtools/rust/files/custom-target-cfg.patch90
-rw-r--r--meta/recipes-devtools/rust/files/hardcodepaths.patch59
-rw-r--r--meta/recipes-devtools/rust/files/repro-issue-fix-with-v175.patch36
-rw-r--r--meta/recipes-devtools/rust/files/rustc-bootstrap.patch21
-rw-r--r--meta/recipes-devtools/rust/files/rv32-cargo-rustix-0.38.19-fix.patch70
-rw-r--r--meta/recipes-devtools/rust/files/rv32-missing-syscalls.patch1503
-rw-r--r--meta/recipes-devtools/rust/files/rv32-rustix-libc-backend.patch32
-rw-r--r--meta/recipes-devtools/rust/files/target-build-value.patch26
-rw-r--r--meta/recipes-devtools/rust/files/target-rust-ccld.c19
-rw-r--r--meta/recipes-devtools/rust/files/zlib-off64_t.patch36
-rw-r--r--meta/recipes-devtools/rust/libstd-rs_1.75.0.bb53
-rw-r--r--meta/recipes-devtools/rust/rust-cross-canadian.inc92
-rw-r--r--meta/recipes-devtools/rust/rust-cross-canadian_1.75.0.bb2
-rw-r--r--meta/recipes-devtools/rust/rust-llvm/0001-AsmMatcherEmitter-sort-ClassInfo-lists-by-name-as-we.patch31
-rw-r--r--meta/recipes-devtools/rust/rust-llvm/0002-llvm-allow-env-override-of-exe-path.patch33
-rw-r--r--meta/recipes-devtools/rust/rust-llvm/0003-llvm-fix-include-benchmarks.patch25
-rw-r--r--meta/recipes-devtools/rust/rust-llvm_1.75.0.bb94
-rw-r--r--meta/recipes-devtools/rust/rust-snapshot.inc58
-rw-r--r--meta/recipes-devtools/rust/rust-source.inc24
-rw-r--r--meta/recipes-devtools/rust/rust_1.75.0.bb368
-rw-r--r--meta/recipes-devtools/squashfs-tools/files/0001-squashfs-tools-fix-build-failure-against-gcc-10.patch45
-rw-r--r--meta/recipes-devtools/squashfs-tools/squashfs-tools_git.bb31
-rw-r--r--meta/recipes-devtools/strace/strace/0001-caps-abbrev.awk-fix-gawk-s-path.patch47
-rw-r--r--meta/recipes-devtools/strace/strace/0001-configure-Use-autoconf-macro-to-detect-largefile-sup.patch27
-rw-r--r--meta/recipes-devtools/strace/strace/0001-strace-fix-reproducibilty-issues.patch9
-rw-r--r--meta/recipes-devtools/strace/strace/0001-xlat-Mark-IPPROTO_MAX-last-in-IPPROTO_-constants.patch70
-rw-r--r--meta/recipes-devtools/strace/strace/0002-tests-Replace-off64_t-with-off_t.patch59
-rw-r--r--meta/recipes-devtools/strace/strace/Makefile-ptest.patch24
-rw-r--r--meta/recipes-devtools/strace/strace/disable-git-version-gen.patch37
-rw-r--r--meta/recipes-devtools/strace/strace/mips-SIGEMT.patch33
-rw-r--r--meta/recipes-devtools/strace/strace/ptest-spacesave.patch9
-rwxr-xr-xmeta/recipes-devtools/strace/strace/run-ptest15
-rw-r--r--meta/recipes-devtools/strace/strace/skip-load.patch50
-rw-r--r--meta/recipes-devtools/strace/strace/uintptr_t.patch27
-rw-r--r--meta/recipes-devtools/strace/strace/update-gawk-paths.patch80
-rw-r--r--meta/recipes-devtools/strace/strace_5.9.bb56
-rw-r--r--meta/recipes-devtools/strace/strace_6.9.bb52
-rw-r--r--meta/recipes-devtools/subversion/subversion/0001-Fix-libtool-name-in-configure.ac.patch29
-rw-r--r--meta/recipes-devtools/subversion/subversion/disable_macos.patch71
-rw-r--r--meta/recipes-devtools/subversion/subversion_1.14.3.bb (renamed from meta/recipes-devtools/subversion/subversion_1.14.0.bb)13
-rw-r--r--meta/recipes-devtools/swig/swig.inc65
-rw-r--r--meta/recipes-devtools/swig/swig/0001-Add-Node-7.x-aka-V8-5.2-support.patch330
-rw-r--r--meta/recipes-devtools/swig/swig/0001-Fix-generated-code-for-constant-expressions-containi.patch179
-rw-r--r--meta/recipes-devtools/swig/swig/0001-Use-proc-self-exe-for-swig-swiglib-on-non-Win32-plat.patch69
-rw-r--r--meta/recipes-devtools/swig/swig/0001-configure-use-pkg-config-for-pcre-detection.patch64
-rw-r--r--meta/recipes-devtools/swig/swig/Python-Fix-new-GCC8-warnings-in-generated-code.patch191
-rw-r--r--meta/recipes-devtools/swig/swig/determinism.patch26
-rw-r--r--meta/recipes-devtools/swig/swig/swig-3.0.12-Coverity-fix-issue-reported-for-SWIG_Python_FixMetho.patch36
-rw-r--r--meta/recipes-devtools/swig/swig_3.0.12.bb12
-rw-r--r--meta/recipes-devtools/swig/swig_4.2.1.bb45
-rw-r--r--meta/recipes-devtools/syslinux/syslinux/0001-linux-syslinux-support-ext2-3-4-device.patch15
-rw-r--r--meta/recipes-devtools/syslinux/syslinux/0002-linux-syslinux-implement-open_ext2_fs.patch21
-rw-r--r--meta/recipes-devtools/syslinux/syslinux/0003-linux-syslinux-implement-install_to_ext2.patch13
-rw-r--r--meta/recipes-devtools/syslinux/syslinux/0004-linux-syslinux-add-ext_file_read-and-ext_file_write.patch13
-rw-r--r--meta/recipes-devtools/syslinux/syslinux/0005-linux-syslinux-implement-handle_adv_on_ext.patch13
-rw-r--r--meta/recipes-devtools/syslinux/syslinux/0006-linux-syslinux-implement-write_to_ext-and-add-syslin.patch21
-rw-r--r--meta/recipes-devtools/syslinux/syslinux/0007-linux-syslinux-implement-ext_construct_sectmap_fs.patch13
-rw-r--r--meta/recipes-devtools/syslinux/syslinux/0008-libinstaller-syslinuxext-implement-syslinux_patch_bo.patch11
-rw-r--r--meta/recipes-devtools/syslinux/syslinux/0009-linux-syslinux-implement-install_bootblock.patch11
-rw-r--r--meta/recipes-devtools/syslinux/syslinux/0010-Workaround-multiple-definition-of-symbol-errors.patch19
-rw-r--r--meta/recipes-devtools/syslinux/syslinux/0011-install-don-t-install-obsolete-file-com32.ld.patch (renamed from meta/recipes-devtools/syslinux/syslinux/0001-install-don-t-install-obsolete-file-com32.ld.patch)7
-rw-r--r--meta/recipes-devtools/syslinux/syslinux/0012-libinstaller-Fix-build-with-glibc-2.36.patch56
-rw-r--r--meta/recipes-devtools/syslinux/syslinux/0013-remove-clean-script.patch27
-rw-r--r--meta/recipes-devtools/syslinux/syslinux/0014-Fix-reproducibility-issues.patch32
-rw-r--r--meta/recipes-devtools/syslinux/syslinux/syslinux-remove-clean-script.patch17
-rw-r--r--meta/recipes-devtools/syslinux/syslinux_6.04-pre2.bb142
-rw-r--r--meta/recipes-devtools/systemd-bootchart/systemd-bootchart/0001-Define-portable-basename-function.patch59
-rw-r--r--meta/recipes-devtools/systemd-bootchart/systemd-bootchart/0001-architecture-Recognise-RISCV-32-RISCV-64.patch45
-rw-r--r--meta/recipes-devtools/systemd-bootchart/systemd-bootchart/0001-comparison_fn_t-is-glibc-specific-use-raw-signature-.patch2
-rw-r--r--meta/recipes-devtools/systemd-bootchart/systemd-bootchart/0002-musl-does-not-provide-printf-h.patch2
-rw-r--r--meta/recipes-devtools/systemd-bootchart/systemd-bootchart/0003-musl-does-not-provide-canonicalize_file_name.patch2
-rw-r--r--meta/recipes-devtools/systemd-bootchart/systemd-bootchart/no_lto.patch19
-rw-r--r--meta/recipes-devtools/systemd-bootchart/systemd-bootchart_235.bb (renamed from meta/recipes-devtools/systemd-bootchart/systemd-bootchart_233.bb)25
-rw-r--r--meta/recipes-devtools/tcf-agent/tcf-agent/fix_ranlib.patch17
-rw-r--r--meta/recipes-devtools/tcf-agent/tcf-agent/ldflags.patch33
-rw-r--r--meta/recipes-devtools/tcf-agent/tcf-agent_git.bb36
-rw-r--r--meta/recipes-devtools/tcltk/tcl/0001-Fix-abd4abedd2-Failed-to-build-tk-8.6.10-with-cross-.patch44
-rw-r--r--meta/recipes-devtools/tcltk/tcl/alter-includedir.patch80
-rw-r--r--meta/recipes-devtools/tcltk/tcl/fix_issue_with_old_distro_glibc.patch39
-rw-r--r--meta/recipes-devtools/tcltk/tcl/fix_non_native_build_issue.patch39
-rw-r--r--meta/recipes-devtools/tcltk/tcl/interp.patch40
-rw-r--r--meta/recipes-devtools/tcltk/tcl/no_packages.patch53
-rw-r--r--meta/recipes-devtools/tcltk/tcl/run-ptest30
-rw-r--r--meta/recipes-devtools/tcltk/tcl/tcl-add-soname.patch63
-rw-r--r--meta/recipes-devtools/tcltk/tcl/tcl-remove-hardcoded-install-path.patch35
-rw-r--r--meta/recipes-devtools/tcltk/tcl_8.6.10.bb106
-rw-r--r--meta/recipes-devtools/tcltk/tcl_8.6.14.bb110
-rw-r--r--meta/recipes-devtools/unfs3/unfs3/0001-Add-listen-action-for-a-tcp-socket.patch54
-rw-r--r--meta/recipes-devtools/unfs3/unfs3/0001-Alias-off64_t-to-off_t-on-linux-if-not-defined.patch28
-rw-r--r--meta/recipes-devtools/unfs3/unfs3/0001-attr-fix-utime-for-symlink.patch41
-rw-r--r--meta/recipes-devtools/unfs3/unfs3/0001-daemon.c-Fix-race-window-for-writing-of-the-pid-file.patch (renamed from meta/recipes-devtools/unfs3/unfs3/fix_pid_race_parent_writes_child_pid.patch)25
-rw-r--r--meta/recipes-devtools/unfs3/unfs3/0001-daemon.c-Libtirpc-porting-fixes.patch37
-rw-r--r--meta/recipes-devtools/unfs3/unfs3/0001-fix-building-on-macOS.patch27
-rw-r--r--meta/recipes-devtools/unfs3/unfs3/0001-locate.c-Include-attr.h.patch28
-rw-r--r--meta/recipes-devtools/unfs3/unfs3/alternate_rpc_ports.patch158
-rw-r--r--meta/recipes-devtools/unfs3/unfs3/fix_compile_warning.patch25
-rw-r--r--meta/recipes-devtools/unfs3/unfs3/relative_max_socket_path_len.patch74
-rw-r--r--meta/recipes-devtools/unfs3/unfs3/rename_fh_cache.patch64
-rw-r--r--meta/recipes-devtools/unfs3/unfs3/tcp_no_delay.patch56
-rw-r--r--meta/recipes-devtools/unfs3/unfs3/unfs3_parallel_build.patch37
-rw-r--r--meta/recipes-devtools/unfs3/unfs3_git.bb39
-rw-r--r--meta/recipes-devtools/unifdef/unifdef_2.12.bb3
-rw-r--r--meta/recipes-devtools/vala/vala/0001-vapigen.m4-use-PKG_CONFIG_SYSROOT_DIR.patch38
-rw-r--r--meta/recipes-devtools/vala/vala_0.50.1.bb5
-rw-r--r--meta/recipes-devtools/vala/vala_0.56.17.bb (renamed from meta/recipes-devtools/vala/vala.inc)39
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/0001-Guard-against-__GLIBC_PREREQ-for-musl-libc.patch36
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/0001-Make-local-functions-static-to-avoid-assembler-error.patch182
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/0001-Remove-tests-that-fail-to-build-on-some-PPC32-config.patch51
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/0001-Return-a-valid-exit_code-from-vg_regtest.patch7
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/0001-configure-Drop-setting-mcpu-cortex-a8-on-arm.patch40
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/0001-docs-Disable-manual-validation.patch31
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/0001-drd-Port-to-Fedora-33.patch48
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/0001-drd-musl-fix.patch31
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/0001-fix-opcode-not-supported-on-mips32-linux.patch82
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/0001-helgrind-Intercept-libc-functions.patch54
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/0001-makefiles-Drop-setting-mcpu-to-cortex-a8-on-arm-arch.patch42
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/0001-memcheck-arm64-Define-__THROW-if-not-already-defined.patch32
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/0001-memcheck-tests-Fix-timerfd-syscall-test.patch16
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/0001-none-tests-fdleak_cmsg.stderr.exp-adjust-tmp-paths.patch2
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/0001-str_tester.c-Limit-rawmemchr-test-to-glibc.patch39
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/0001-tests-arm-Use-O-instead-of-O0.patch34
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/0002-context-APIs-are-not-available-on-musl.patch52
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/0002-memcheck-x86-Define-__THROW-if-not-defined.patch32
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/0003-tests-seg_override-Replace-__modify_ldt-with-syscall.patch68
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/0004-Fix-out-of-tree-builds.patch185
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/0005-Modify-vg_test-wrapper-to-support-PTEST-formats.patch63
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/0005-tc20_verifywrap.c-Fake-__GLIBC_PREREQ-with-musl.patch30
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/Added-support-for-PPC-instructions-mfatbu-mfatbl.patch22
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/avoid-neon-for-targets-which-don-t-support-it.patch2
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/fixed-perl-path.patch40
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/remove-for-aarch64247
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/remove-for-all29
-rwxr-xr-xmeta/recipes-devtools/valgrind/valgrind/run-ptest44
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/s390x_vec_op_t.patch19
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/taskset_nondeterministic_tests2
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/use-appropriate-march-mcpu-mfpu-for-ARM-test-apps.patch9
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/valgrind-make-ld-XXX.so-strlen-intercept-optional.patch7
-rw-r--r--meta/recipes-devtools/valgrind/valgrind_3.23.0.bb (renamed from meta/recipes-devtools/valgrind/valgrind_3.16.1.bb)161
-rw-r--r--meta/recipes-devtools/xmlto/xmlto-0.0.28/configure.in-drop-the-test-of-xmllint-and-xsltproc.patch30
-rw-r--r--meta/recipes-devtools/xmlto/xmlto_0.0.28.bb32
1018 files changed, 37510 insertions, 172635 deletions
diff --git a/meta/recipes-devtools/apt/apt/0001-Disable-documentation-directory-altogether.patch b/meta/recipes-devtools/apt/apt/0001-Disable-documentation-directory-altogether.patch
index cc422b74dc..5443ff6caa 100644
--- a/meta/recipes-devtools/apt/apt/0001-Disable-documentation-directory-altogether.patch
+++ b/meta/recipes-devtools/apt/apt/0001-Disable-documentation-directory-altogether.patch
@@ -1,4 +1,4 @@
-From cd164b353ba7958d51b2f33f4079fb9787c983e2 Mon Sep 17 00:00:00 2001
+From f629d1c3fcfb560ed24efc3e73d4e4999b1eab33 Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex.kanavin@gmail.com>
Date: Fri, 10 May 2019 14:16:47 +0200
Subject: [PATCH] Disable documentation directory altogether
@@ -13,11 +13,11 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 83334ba..2cd4f8e 100644
+index 668e2d762..62f441bfa 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
-@@ -232,7 +232,7 @@ add_subdirectory(apt-private)
- add_subdirectory(apt-inst)
+@@ -246,7 +246,7 @@ add_subdirectory(apt-private)
+ endif()
add_subdirectory(cmdline)
add_subdirectory(completions)
-add_subdirectory(doc)
diff --git a/meta/recipes-devtools/apt/apt/0001-Do-not-configure-packages-on-installation.patch b/meta/recipes-devtools/apt/apt/0001-Do-not-configure-packages-on-installation.patch
deleted file mode 100644
index 81b328a2ee..0000000000
--- a/meta/recipes-devtools/apt/apt/0001-Do-not-configure-packages-on-installation.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-From 96d23fc57d1ff9c851d563d6d6a6c4752dc4f1b6 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin <alex.kanavin@gmail.com>
-Date: Thu, 21 May 2020 20:28:12 +0000
-Subject: [PATCH] Do not configure packages on installation
-
-This is done separately in do_rootfs().
-
-Upstream-Status: Inappropriate [oe-core specific]
-Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
-
----
- apt-pkg/packagemanager.cc | 5 ++++-
- 1 file changed, 4 insertions(+), 1 deletion(-)
-
-diff --git a/apt-pkg/packagemanager.cc b/apt-pkg/packagemanager.cc
-index 156f7ad..0f6a87c 100644
---- a/apt-pkg/packagemanager.cc
-+++ b/apt-pkg/packagemanager.cc
-@@ -1013,10 +1013,12 @@ bool pkgPackageManager::SmartUnPack(PkgIterator Pkg, bool const Immediate, int c
- return false;
-
- if (Immediate == true) {
-+#if 0
- // Perform immediate configuration of the package.
- if (SmartConfigure(Pkg, Depth + 1) == false)
- _error->Error(_("Could not perform immediate configuration on '%s'. "
- "Please see man 5 apt.conf under APT::Immediate-Configure for details. (%d)"),Pkg.FullName().c_str(),2);
-+#endif
- }
-
- return true;
-@@ -1111,6 +1113,7 @@ pkgPackageManager::OrderResult pkgPackageManager::OrderInstall()
- }
- }
-
-+#if 0
- // Final run through the configure phase
- if (ConfigureAll() == false)
- return Failed;
-@@ -1125,7 +1128,7 @@ pkgPackageManager::OrderResult pkgPackageManager::OrderInstall()
- return Failed;
- }
- }
--
-+#endif
- return Completed;
- }
- // PM::DoInstallPostFork - compat /*{{{*/
diff --git a/meta/recipes-devtools/apt/apt/0001-Do-not-init-tables-from-dpkg-configuration.patch b/meta/recipes-devtools/apt/apt/0001-Do-not-init-tables-from-dpkg-configuration.patch
index 1417153e81..37a3133010 100644
--- a/meta/recipes-devtools/apt/apt/0001-Do-not-init-tables-from-dpkg-configuration.patch
+++ b/meta/recipes-devtools/apt/apt/0001-Do-not-init-tables-from-dpkg-configuration.patch
@@ -1,4 +1,4 @@
-From bf45c314867e5fb12141803fba06f3e45679d628 Mon Sep 17 00:00:00 2001
+From b84280fec4e1d0d33eca78e76556023f8f8fe5b7 Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex.kanavin@gmail.com>
Date: Fri, 10 May 2019 16:47:38 +0200
Subject: [PATCH] Do not init tables from dpkg configuration
@@ -13,7 +13,7 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/apt-pkg/init.cc b/apt-pkg/init.cc
-index a619368..6e5a6cf 100644
+index b9d9b15d2..1725c5966 100644
--- a/apt-pkg/init.cc
+++ b/apt-pkg/init.cc
@@ -281,8 +281,8 @@ bool pkgInitSystem(Configuration &Cnf,pkgSystem *&Sys)
diff --git a/meta/recipes-devtools/apt/apt/0001-Fix-musl-build.patch b/meta/recipes-devtools/apt/apt/0001-Fix-musl-build.patch
index a6e8ef1e51..0cefbedd6d 100644
--- a/meta/recipes-devtools/apt/apt/0001-Fix-musl-build.patch
+++ b/meta/recipes-devtools/apt/apt/0001-Fix-musl-build.patch
@@ -1,22 +1,18 @@
-From 081c6be2f2f1cd77f399ea414f8d89c107826624 Mon Sep 17 00:00:00 2001
+From 6b8547161b902b01b639d05a4cdf849d7694556f Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex.kanavin@gmail.com>
Date: Fri, 22 May 2020 15:29:23 +0000
-Subject: [PATCH] Fix musl build
+Subject: [PATCH] apt-pkg/contrib/srvrec.h: Explicitly include sys/types.h
-methods/connect.cc: Musl doesn't support AI_IDN flag in netdb.h
-header so define it manually.
-apt-pkg/contrib/srvrec.h: Add explicity include of sys/types.h
-to avoid errors in types u_int_SIZE.
+This avoids type errors with musl C library.
-Upstream-Status: Pending
+Upstream-Status: Submitted [https://salsa.debian.org/apt-team/apt/-/merge_requests/200]
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
apt-pkg/contrib/srvrec.h | 1 +
- methods/connect.cc | 5 +++++
- 2 files changed, 6 insertions(+)
+ 1 file changed, 1 insertion(+)
diff --git a/apt-pkg/contrib/srvrec.h b/apt-pkg/contrib/srvrec.h
-index e22b7a1..b1115f5 100644
+index e5d0f43..2010184 100644
--- a/apt-pkg/contrib/srvrec.h
+++ b/apt-pkg/contrib/srvrec.h
@@ -9,6 +9,7 @@
@@ -27,19 +23,6 @@ index e22b7a1..b1115f5 100644
#include <string>
#include <vector>
#include <arpa/nameser.h>
-diff --git a/methods/connect.cc b/methods/connect.cc
-index 1d6f891..122df35 100644
---- a/methods/connect.cc
-+++ b/methods/connect.cc
-@@ -42,6 +42,11 @@
- #include "connect.h"
- #include "rfc2553emu.h"
- #include <apti18n.h>
-+
-+#ifndef AI_IDN
-+#define AI_IDN 0x0040
-+#endif
-+
- /*}}}*/
-
- static std::string LastHost;
+--
+2.20.1
+
diff --git a/meta/recipes-devtools/apt/apt/0001-Hide-fstatat64-and-prlimit64-defines-on-musl.patch b/meta/recipes-devtools/apt/apt/0001-Hide-fstatat64-and-prlimit64-defines-on-musl.patch
new file mode 100644
index 0000000000..f1816836b5
--- /dev/null
+++ b/meta/recipes-devtools/apt/apt/0001-Hide-fstatat64-and-prlimit64-defines-on-musl.patch
@@ -0,0 +1,48 @@
+From e849b161ce1d87ab369b921438abcf5b3a03e186 Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Sun, 25 Apr 2021 08:57:03 -0700
+Subject: [PATCH] Hide fstatat64 and prlimit64 defines on musl
+
+musl defines fstatat64 and prlimit64 as macros which confuses the
+seccomp sysall rewiring since there are syscalls with same names
+
+Upstream-Status: Pending
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ methods/aptmethod.h | 12 ++++++++++--
+ 1 file changed, 10 insertions(+), 2 deletions(-)
+
+diff --git a/methods/aptmethod.h b/methods/aptmethod.h
+index bd50e80..3085aed 100644
+--- a/methods/aptmethod.h
++++ b/methods/aptmethod.h
+@@ -121,6 +121,12 @@ protected:
+ if (ctx == NULL)
+ return _error->FatalE("HttpMethod::Configuration", "Cannot init seccomp");
+
++#ifndef __GLIBC__
++#pragma push_macro("fstatat64")
++#pragma push_macro("prlimit64")
++#undef fstatat64
++#undef prlimit64
++#endif
+ #define ALLOW(what) \
+ if ((rc = seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(what), 0))) \
+ return _error->FatalE("HttpMethod::Configuration", "Cannot allow %s: %s", #what, strerror(-rc));
+@@ -320,9 +326,11 @@ protected:
+ if ((rc = seccomp_rule_add(ctx, SCMP_ACT_ALLOW, seccomp_syscall_resolve_name(custom.c_str()), 0)))
+ return _error->FatalE("aptMethod::Configuration", "Cannot allow %s: %s", custom.c_str(), strerror(-rc));
+ }
+-
+ #undef ALLOW
+-
++#ifndef __GLIBC__
++#pragma pop_macro("fstatat64")
++#pragma pop_macro("prlimit64")
++#endif
+ rc = seccomp_load(ctx);
+ if (rc == -EINVAL)
+ {
+--
+2.31.1
+
diff --git a/meta/recipes-devtools/apt/apt/0001-Remove-using-std-binary_function.patch b/meta/recipes-devtools/apt/apt/0001-Remove-using-std-binary_function.patch
new file mode 100644
index 0000000000..15b036b90d
--- /dev/null
+++ b/meta/recipes-devtools/apt/apt/0001-Remove-using-std-binary_function.patch
@@ -0,0 +1,87 @@
+From e91fb0618ce0a5d42f239d0fca602544858f0819 Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Tue, 16 Aug 2022 08:44:18 -0700
+Subject: [PATCH] Remove using std::binary_function
+
+std::binary_function and std::unary_function are deprecated since c++11
+and removed in c++17, therefore remove it and use lambda functions to get same
+functionality implemented.
+
+Upstream-Status: Submitted [https://salsa.debian.org/apt-team/apt/-/merge_requests/253]
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ ftparchive/apt-ftparchive.cc | 33 ++++++++++-----------------------
+ 1 file changed, 10 insertions(+), 23 deletions(-)
+
+diff --git a/ftparchive/apt-ftparchive.cc b/ftparchive/apt-ftparchive.cc
+index 0f6587281..0a253b12b 100644
+--- a/ftparchive/apt-ftparchive.cc
++++ b/ftparchive/apt-ftparchive.cc
+@@ -48,6 +48,11 @@
+ using namespace std;
+ unsigned Quiet = 0;
+
++auto ContentsCompare = [](const auto &a, const auto &b) { return a.ContentsMTime < b.ContentsMTime; };
++auto DBCompare = [](const auto &a, const auto &b) { return a.BinCacheDB < b.BinCacheDB; };
++auto SrcDBCompare = [](const auto &a, const auto &b) { return a.SrcCacheDB < b.SrcCacheDB; };
++
++
+ static struct timeval GetTimevalFromSteadyClock() /*{{{*/
+ {
+ auto const Time = std::chrono::steady_clock::now().time_since_epoch();
+@@ -116,24 +121,6 @@ struct PackageMap
+ bool SrcDone;
+ time_t ContentsMTime;
+
+- struct ContentsCompare
+- {
+- inline bool operator() (const PackageMap &x,const PackageMap &y)
+- {return x.ContentsMTime < y.ContentsMTime;};
+- };
+-
+- struct DBCompare
+- {
+- inline bool operator() (const PackageMap &x,const PackageMap &y)
+- {return x.BinCacheDB < y.BinCacheDB;};
+- };
+-
+- struct SrcDBCompare
+- {
+- inline bool operator() (const PackageMap &x,const PackageMap &y)
+- {return x.SrcCacheDB < y.SrcCacheDB;};
+- };
+-
+ void GetGeneral(Configuration &Setup,Configuration &Block);
+ bool GenPackages(Configuration &Setup,struct CacheDB::Stats &Stats);
+ bool GenSources(Configuration &Setup,struct CacheDB::Stats &Stats);
+@@ -869,7 +856,7 @@ static bool DoGenerateContents(Configuration &Setup,
+ else
+ I->ContentsMTime = A.st_mtime;
+ }
+- stable_sort(PkgList.begin(),PkgList.end(),PackageMap::ContentsCompare());
++ stable_sort(PkgList.begin(),PkgList.end(),ContentsCompare);
+
+ /* Now for Contents.. The process here is to do a make-like dependency
+ check. Each contents file is verified to be newer than the package files
+@@ -941,8 +928,8 @@ static bool Generate(CommandLine &CmdL)
+ LoadBinDir(PkgList,Setup);
+
+ // Sort by cache DB to improve IO locality.
+- stable_sort(PkgList.begin(),PkgList.end(),PackageMap::DBCompare());
+- stable_sort(PkgList.begin(),PkgList.end(),PackageMap::SrcDBCompare());
++ stable_sort(PkgList.begin(),PkgList.end(),DBCompare);
++ stable_sort(PkgList.begin(),PkgList.end(),SrcDBCompare);
+
+ // Generate packages
+ if (_config->FindB("APT::FTPArchive::ContentsOnly", false) == false)
+@@ -993,8 +980,8 @@ static bool Clean(CommandLine &CmdL)
+ LoadBinDir(PkgList,Setup);
+
+ // Sort by cache DB to improve IO locality.
+- stable_sort(PkgList.begin(),PkgList.end(),PackageMap::DBCompare());
+- stable_sort(PkgList.begin(),PkgList.end(),PackageMap::SrcDBCompare());
++ stable_sort(PkgList.begin(),PkgList.end(),DBCompare);
++ stable_sort(PkgList.begin(),PkgList.end(),SrcDBCompare);
+
+ string CacheDir = Setup.FindDir("Dir::CacheDir");
+
diff --git a/meta/recipes-devtools/apt/apt/0001-Revert-always-run-dpkg-configure-a-at-the-end-of-our.patch b/meta/recipes-devtools/apt/apt/0001-Revert-always-run-dpkg-configure-a-at-the-end-of-our.patch
index 37f969690c..6f4d5b6e72 100644
--- a/meta/recipes-devtools/apt/apt/0001-Revert-always-run-dpkg-configure-a-at-the-end-of-our.patch
+++ b/meta/recipes-devtools/apt/apt/0001-Revert-always-run-dpkg-configure-a-at-the-end-of-our.patch
@@ -1,4 +1,4 @@
-From 34700bebc52659e7e3eecd252f65bd36e669eee8 Mon Sep 17 00:00:00 2001
+From a2dd661484536492b47d4c88998f2bf516749bc8 Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex.kanavin@gmail.com>
Date: Thu, 21 May 2020 20:13:25 +0000
Subject: [PATCH] Revert "always run 'dpkg --configure -a' at the end of our
@@ -20,10 +20,10 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/apt-pkg/deb/dpkgpm.cc b/apt-pkg/deb/dpkgpm.cc
-index ffa880d..5875e86 100644
+index 93effa959..4375781d1 100644
--- a/apt-pkg/deb/dpkgpm.cc
+++ b/apt-pkg/deb/dpkgpm.cc
-@@ -1215,12 +1215,6 @@ void pkgDPkgPM::BuildPackagesProgressMap()
+@@ -1199,12 +1199,6 @@ void pkgDPkgPM::BuildPackagesProgressMap()
}
}
}
@@ -35,8 +35,8 @@ index ffa880d..5875e86 100644
- ++PackagesTotal;
}
/*}}}*/
- bool pkgDPkgPM::Go(int StatusFd) /*{{{*/
-@@ -1716,7 +1710,8 @@ bool pkgDPkgPM::Go(APT::Progress::PackageManager *progress)
+ void pkgDPkgPM::StartPtyMagic() /*{{{*/
+@@ -1741,7 +1735,8 @@ bool pkgDPkgPM::Go(APT::Progress::PackageManager *progress)
// support subpressing of triggers processing for special
// cases like d-i that runs the triggers handling manually
diff --git a/meta/recipes-devtools/apt/apt/0001-aptwebserver.cc-Include-array.patch b/meta/recipes-devtools/apt/apt/0001-aptwebserver.cc-Include-array.patch
new file mode 100644
index 0000000000..2c1e617e55
--- /dev/null
+++ b/meta/recipes-devtools/apt/apt/0001-aptwebserver.cc-Include-array.patch
@@ -0,0 +1,30 @@
+From 5985f366750a73c81c7d86893a2b959b4af062a5 Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Wed, 26 May 2021 22:12:46 -0700
+Subject: [PATCH] aptwebserver.cc: Include <array>
+
+This helps getting std::array definition
+
+Fixes
+test/interactive-helper/aptwebserver.cc:36:55: error: constexpr variable cannot have non-literal type 'const std::array<std::array<const char *, 2>, 6>'
+ constexpr std::array<std::array<char const *,2>,6> htmlencode = {{
+
+Upstream-Status: Submitted [https://github.com/Debian/apt/pull/133]
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+
+---
+ test/interactive-helper/aptwebserver.cc | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/test/interactive-helper/aptwebserver.cc b/test/interactive-helper/aptwebserver.cc
+index f4f8d95..361c7a9 100644
+--- a/test/interactive-helper/aptwebserver.cc
++++ b/test/interactive-helper/aptwebserver.cc
+@@ -23,6 +23,7 @@
+
+ #include <array>
+ #include <algorithm>
++#include <array>
+ #include <fstream>
+ #include <iostream>
+ #include <list>
diff --git a/meta/recipes-devtools/apt/apt/0001-cmake-Do-not-build-po-files.patch b/meta/recipes-devtools/apt/apt/0001-cmake-Do-not-build-po-files.patch
new file mode 100644
index 0000000000..036ce35963
--- /dev/null
+++ b/meta/recipes-devtools/apt/apt/0001-cmake-Do-not-build-po-files.patch
@@ -0,0 +1,36 @@
+From 33347f9f8301633b01af4e208b7be5fdfcb0df0c Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Sat, 20 Mar 2021 14:45:18 -0700
+Subject: [PATCH] cmake: Do not build po files
+
+Fixes
+| CMake Error at CMakeLists.txt:252 (add_dependencies):
+| The dependency target "update-po4a" of target "update-po" does not exist.
+|
+
+Upstream-Status: Inappropriate [Cross-compile specific]
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ CMakeLists.txt | 7 -------
+ 1 file changed, 7 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index be157a55f..54163ae6c 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -252,15 +252,6 @@ add_subdirectory(ftparchive)
+ add_subdirectory(methods)
+ add_subdirectory(test)
+
+-if (USE_NLS)
+-add_subdirectory(po)
+-endif()
+-
+-if(TARGET update-po AND TARGET update-po4a)
+-# Link update-po4a into the update-po target
+-add_dependencies(update-po update-po4a)
+-endif()
+-
+ # Create our directories.
+ install_empty_directories(
+ ${CONF_DIR}/apt.conf.d
diff --git a/meta/recipes-devtools/apt/apt/0001-test-libapt-do-not-use-gtest-from-the-host.patch b/meta/recipes-devtools/apt/apt/0001-test-libapt-do-not-use-gtest-from-the-host.patch
deleted file mode 100644
index 503b5a5c0b..0000000000
--- a/meta/recipes-devtools/apt/apt/0001-test-libapt-do-not-use-gtest-from-the-host.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From 28e389a0d1275e7693df84a7d4a58b28364be1a9 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin <alex.kanavin@gmail.com>
-Date: Thu, 22 Oct 2020 17:33:38 +0200
-Subject: [PATCH] test/libapt: do not use gtest from the host
-
-This really does not work when cross-compiling.
-
-Upstream-Status: Inappropriate [oe-core specific]
-Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
----
- test/libapt/CMakeLists.txt | 16 ----------------
- 1 file changed, 16 deletions(-)
-
-diff --git a/test/libapt/CMakeLists.txt b/test/libapt/CMakeLists.txt
-index 035ff07..280b83c 100644
---- a/test/libapt/CMakeLists.txt
-+++ b/test/libapt/CMakeLists.txt
-@@ -6,22 +6,6 @@ find_path(GTEST_ROOT src/gtest.cc
- find_package(GTest)
- set(GTEST_DEPENDENCIES)
-
--if(NOT GTEST_FOUND AND EXISTS ${GTEST_ROOT})
-- include(ExternalProject)
-- ExternalProject_Add(gtest PREFIX ./gtest
-- SOURCE_DIR ${GTEST_ROOT}
-- INSTALL_COMMAND true)
--
-- link_directories(${CMAKE_CURRENT_BINARY_DIR}/gtest/src/gtest-build)
--
-- set(GTEST_LIBRARIES "-lgtest")
-- set(GTEST_DEPENDENCIES "gtest")
-- set(GTEST_FOUND TRUE)
-- find_path(GTEST_INCLUDE_DIRS NAMES gtest/gtest.h PATHS ${GTEST_ROOT}/include)
--
-- message(STATUS "Found GTest at ${GTEST_ROOT}, headers at ${GTEST_INCLUDE_DIRS}")
--endif()
--
- if(GTEST_FOUND)
- # gtest produces some warnings with the set of warnings we activate,
- # so disable the offending warnings while compiling tests for now
diff --git a/meta/recipes-devtools/apt/apt_1.8.2.1.bb b/meta/recipes-devtools/apt/apt_1.8.2.1.bb
deleted file mode 100644
index de0e150a2e..0000000000
--- a/meta/recipes-devtools/apt/apt_1.8.2.1.bb
+++ /dev/null
@@ -1,107 +0,0 @@
-SUMMARY = "Advanced front-end for dpkg"
-LICENSE = "GPLv2.0+"
-SECTION = "base"
-
-# Triehash script taken from https://github.com/julian-klode/triehash
-SRC_URI = "${DEBIAN_MIRROR}/main/a/apt/${BPN}_${PV}.tar.xz \
- file://triehash \
- file://0001-Disable-documentation-directory-altogether.patch \
- file://0001-Fix-musl-build.patch \
- file://0001-CMakeLists.txt-avoid-changing-install-paths-based-on.patch \
- file://0001-test-libapt-do-not-use-gtest-from-the-host.patch \
- "
-
-SRC_URI_append_class-native = " \
- file://0001-Do-not-init-tables-from-dpkg-configuration.patch \
- file://0001-Revert-always-run-dpkg-configure-a-at-the-end-of-our.patch \
- file://0001-Do-not-configure-packages-on-installation.patch \
- "
-
-SRC_URI[sha256sum] = "6d447f2e9437ec24e78350b63bb0592bee1f050811d51990b0c783183b0983f8"
-LIC_FILES_CHKSUM = "file://COPYING.GPL;md5=b234ee4d69f5fce4486a80fdaf4a4263"
-
-# the package is taken from snapshots.debian.org; that source is static and goes stale
-# so we check the latest upstream from a directory that does get updated
-UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/a/apt/"
-
-inherit cmake perlnative bash-completion upstream-version-is-even
-
-BBCLASSEXTEND = "native"
-
-DEPENDS += "virtual/libiconv virtual/libintl db gnutls lz4 zlib bzip2 xz"
-
-EXTRA_OECMAKE_append = " -DCURRENT_VENDOR=debian -DWITH_DOC=False -DUSE_NLS=False -DDPKG_DATADIR=${datadir}/dpkg -DTRIEHASH_EXECUTABLE=${WORKDIR}/triehash"
-
-do_configure_prepend () {
- echo "set( CMAKE_FIND_ROOT_PATH_MODE_INCLUDE BOTH )" >> ${WORKDIR}/toolchain.cmake
-
-}
-
-# Unfortunately apt hardcodes this all over the place
-FILES_${PN} += "${prefix}/lib/dpkg ${prefix}/lib/apt"
-RDEPENDS_${PN} += "bash perl dpkg"
-
-do_install_append_class-native() {
- cat > ${D}${sysconfdir}/apt/apt.conf.sample << EOF
-Dir "${STAGING_DIR_NATIVE}/"
-{
- State "var/lib/apt/"
- {
- Lists "#APTCONF#/lists/";
- status "#ROOTFS#/var/lib/dpkg/status";
- };
- Cache "var/cache/apt/"
- {
- Archives "archives/";
- pkgcache "";
- srcpkgcache "";
- };
- Bin "${STAGING_BINDIR_NATIVE}/"
- {
- methods "${STAGING_LIBDIR}/apt/methods/";
- gzip "/bin/gzip";
- dpkg "dpkg";
- dpkg-source "dpkg-source";
- dpkg-buildpackage "dpkg-buildpackage";
- apt-get "apt-get";
- apt-cache "apt-cache";
- };
- Etc "#APTCONF#"
- {
- Preferences "preferences";
- };
- Log "var/log/apt";
-};
-
-APT
-{
- Install-Recommends "true";
- Immediate-Configure "false";
- Architecture "i586";
- Get
- {
- Assume-Yes "true";
- };
-};
-
-Acquire
-{
- AllowInsecureRepositories "true";
-};
-
-DPkg::Options {"--root=#ROOTFS#";"--admindir=#ROOTFS#/var/lib/dpkg";"--force-all";"--no-debsig"};
-DPkg::Path "";
-EOF
-}
-
-do_install_append_class-target() {
- #Write the correct apt-architecture to apt.conf
- APT_CONF=${D}/etc/apt/apt.conf
- echo 'APT::Architecture "${DPKG_ARCH}";' > ${APT_CONF}
-}
-
-# Avoid non-reproducible -src package
-do_install_append () {
- sed -i -e "s,${B},,g" \
- ${B}/apt-pkg/tagfile-keys.cc
-}
diff --git a/meta/recipes-devtools/apt/apt_2.6.1.bb b/meta/recipes-devtools/apt/apt_2.6.1.bb
new file mode 100644
index 0000000000..68bd7c5407
--- /dev/null
+++ b/meta/recipes-devtools/apt/apt_2.6.1.bb
@@ -0,0 +1,142 @@
+SUMMARY = "Advanced front-end for dpkg"
+DESCRIPTION = "APT is the Advanced Package Tool, an advanced interface to the Debian packaging system which provides the apt-get program."
+HOMEPAGE = "https://packages.debian.org/sid/apt"
+LICENSE = "GPL-2.0-or-later"
+SECTION = "base"
+
+# Triehash script taken from https://github.com/julian-klode/triehash
+SRC_URI = "${DEBIAN_MIRROR}/main/a/apt/${BPN}_${PV}.tar.xz \
+ file://triehash \
+ file://0001-Disable-documentation-directory-altogether.patch \
+ file://0001-Fix-musl-build.patch \
+ file://0001-CMakeLists.txt-avoid-changing-install-paths-based-on.patch \
+ file://0001-cmake-Do-not-build-po-files.patch \
+ file://0001-Hide-fstatat64-and-prlimit64-defines-on-musl.patch \
+ file://0001-aptwebserver.cc-Include-array.patch \
+ file://0001-Remove-using-std-binary_function.patch \
+ "
+
+SRC_URI:append:class-native = " \
+ file://0001-Do-not-init-tables-from-dpkg-configuration.patch \
+ file://0001-Revert-always-run-dpkg-configure-a-at-the-end-of-our.patch \
+ "
+
+SRC_URI:append:class-nativesdk = " \
+ file://0001-Do-not-init-tables-from-dpkg-configuration.patch \
+ file://0001-Revert-always-run-dpkg-configure-a-at-the-end-of-our.patch \
+ "
+
+SRC_URI[sha256sum] = "86b888c901fa2e78f1bf52a2aaa2f400ff82a472b94ff0ac6631939ee68fa6fd"
+LIC_FILES_CHKSUM = "file://COPYING.GPL;md5=b234ee4d69f5fce4486a80fdaf4a4263"
+
+# the package is taken from snapshots.debian.org; that source is static and goes stale
+# so we check the latest upstream from a directory that does get updated
+UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/a/apt/"
+# apt seems to follow a peculiar version policy, where every *other* even version
+# is considered stable, e.g. 1.0, 1.4, 1.8, 2.2, 2.6, etc. As there is no way
+# to express 'divisible by 4 plus 2' in regex (that I know of), let's hardcode a few.
+UPSTREAM_CHECK_REGEX = "[^\d\.](?P<pver>((2\.2)|(2\.6)|(3\.0)|(3\.4)|(3\.8)|(4\.2))(\.\d+)+)\.tar"
+
+inherit cmake perlnative bash-completion useradd
+
+# User is added to allow apt to drop privs, will runtime warn without
+USERADD_PACKAGES = "${PN}"
+USERADD_PARAM:${PN} = "--system --home /nonexistent --no-create-home _apt"
+
+BBCLASSEXTEND = "native nativesdk"
+
+DEPENDS += "db gnutls lz4 zlib bzip2 xz libgcrypt xxhash"
+
+EXTRA_OECMAKE:append = " -DCURRENT_VENDOR=debian -DWITH_DOC=False \
+ -DDPKG_DATADIR=${datadir}/dpkg \
+ -DTRIEHASH_EXECUTABLE=${UNPACKDIR}/triehash \
+ -DCMAKE_DISABLE_FIND_PACKAGE_ZSTD=True \
+ -DCMAKE_DISABLE_FIND_PACKAGE_SECCOMP=True \
+ -DWITH_TESTS=False \
+"
+
+do_configure:prepend() {
+ echo "set( CMAKE_FIND_ROOT_PATH_MODE_INCLUDE BOTH )" >> ${WORKDIR}/toolchain.cmake
+}
+
+# Unfortunately apt hardcodes this all over the place
+FILES:${PN} += "${prefix}/lib/dpkg ${prefix}/lib/apt"
+RDEPENDS:${PN} += "bash perl dpkg"
+
+customize_apt_conf_sample() {
+ cat > ${D}${sysconfdir}/apt/apt.conf.sample << EOF
+Dir "${STAGING_DIR_NATIVE}/"
+{
+ State "var/lib/apt/"
+ {
+ Lists "#APTCONF#/lists/";
+ status "#ROOTFS#/var/lib/dpkg/status";
+ };
+ Cache "var/cache/apt/"
+ {
+ Archives "archives/";
+ pkgcache "";
+ srcpkgcache "";
+ };
+ Bin "${STAGING_BINDIR_NATIVE}/"
+ {
+ methods "${STAGING_LIBDIR}/apt/methods/";
+ gzip "/bin/gzip";
+ dpkg "dpkg";
+ dpkg-source "dpkg-source";
+ dpkg-buildpackage "dpkg-buildpackage";
+ apt-get "apt-get";
+ apt-cache "apt-cache";
+ };
+ Etc "#APTCONF#"
+ {
+ Preferences "preferences";
+ };
+ Log "var/log/apt";
+};
+
+APT
+{
+ Install-Recommends "true";
+ Immediate-Configure "false";
+ Architecture "i586";
+ Get
+ {
+ Assume-Yes "true";
+ };
+};
+
+Acquire
+{
+ AllowInsecureRepositories "true";
+};
+
+DPkg::Options {"--root=#ROOTFS#";"--admindir=#ROOTFS#/var/lib/dpkg";"--force-all";"--no-debsig"};
+DPkg::Path "";
+EOF
+}
+
+do_install:append:class-native() {
+ customize_apt_conf_sample
+}
+
+do_install:append:class-nativesdk() {
+ customize_apt_conf_sample
+ rm -rf ${D}${localstatedir}/log
+}
+
+do_install:append:class-target() {
+ # Write the correct apt-architecture to apt.conf
+ APT_CONF=${D}${sysconfdir}/apt/apt.conf
+ echo 'APT::Architecture "${DPKG_ARCH}";' > ${APT_CONF}
+
+ # Remove /var/log/apt. /var/log is normally a link to /var/volatile/log
+ # and /var/volatile is a tmpfs mount. So anything created in /var/log
+ # will not be available when the tmpfs is mounted.
+ rm -rf ${D}${localstatedir}/log
+}
+
+do_install:append() {
+ # Avoid non-reproducible -src package
+ sed -i -e "s,${B}/include/,,g" ${B}/apt-pkg/tagfile-keys.cc
+}
diff --git a/meta/recipes-devtools/autoconf-archive/autoconf-archive_2019.01.06.bb b/meta/recipes-devtools/autoconf-archive/autoconf-archive_2023.02.20.bb
index 13593d7bb3..6ba7cdf3fe 100644
--- a/meta/recipes-devtools/autoconf-archive/autoconf-archive_2019.01.06.bb
+++ b/meta/recipes-devtools/autoconf-archive/autoconf-archive_2023.02.20.bb
@@ -6,13 +6,12 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=11cc2d3ee574f9d6b7ee797bdce4d423 \
file://COPYING.EXCEPTION;md5=fdef168ebff3bc2f13664c365a5fb515"
SRC_URI = "${GNU_MIRROR}/${BPN}/${BPN}-${PV}.tar.xz"
-SRC_URI[md5sum] = "d46413c8b00a125b1529bae385bbec55"
-SRC_URI[sha256sum] = "17195c833098da79de5778ee90948f4c5d90ed1a0cf8391b4ab348e2ec511e3f"
+SRC_URI[sha256sum] = "71d4048479ae28f1f5794619c3d72df9c01df49b1c628ef85fde37596dc31a33"
inherit autotools allarch texinfo
PACKAGES = "${PN} ${PN}-doc"
-FILES_${PN} += "${datadir}/aclocal"
+FILES:${PN} += "${datadir}/aclocal"
BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/autoconf/autoconf.inc b/meta/recipes-devtools/autoconf/autoconf.inc
deleted file mode 100644
index 787f30a097..0000000000
--- a/meta/recipes-devtools/autoconf/autoconf.inc
+++ /dev/null
@@ -1,82 +0,0 @@
-SUMMARY = "A GNU tool that produce shell scripts to automatically configure software"
-DESCRIPTION = "Autoconf is an extensible package of M4 macros that produce shell scripts to automatically \
-configure software source code packages. Autoconf creates a configuration script for a package from a template \
-file that lists the operating system features that the package can use, in the form of M4 macro calls."
-LICENSE = "GPLv3"
-HOMEPAGE = "http://www.gnu.org/software/autoconf/"
-SECTION = "devel"
-DEPENDS = "m4-native gnu-config-native"
-
-RDEPENDS_${PN} = "m4 gnu-config \
- perl \
- perl-module-bytes \
- perl-module-carp \
- perl-module-constant \
- perl-module-data-dumper \
- perl-module-errno \
- perl-module-exporter \
- perl-module-file-basename \
- perl-module-file-compare \
- perl-module-file-copy \
- perl-module-file-find \
- perl-module-file-glob \
- perl-module-file-path \
- perl-module-file-spec \
- perl-module-file-spec-unix \
- perl-module-file-stat \
- perl-module-getopt-long \
- perl-module-io-file \
- perl-module-overloading \
- perl-module-posix \
- perl-module-symbol \
- perl-module-thread-queue \
- perl-module-threads \
- "
-RDEPENDS_${PN}_class-native = "m4-native gnu-config-native"
-RDEPENDS_${PN}_class-nativesdk = "\
- nativesdk-gnu-config \
- nativesdk-m4 \
- nativesdk-perl \
- nativesdk-perl-module-bytes \
- nativesdk-perl-module-carp \
- nativesdk-perl-module-constant \
- nativesdk-perl-module-data-dumper \
- nativesdk-perl-module-errno \
- nativesdk-perl-module-exporter \
- nativesdk-perl-module-file-basename \
- nativesdk-perl-module-file-compare \
- nativesdk-perl-module-file-copy \
- nativesdk-perl-module-file-find \
- nativesdk-perl-module-file-glob \
- nativesdk-perl-module-file-path \
- nativesdk-perl-module-file-spec \
- nativesdk-perl-module-file-spec-unix \
- nativesdk-perl-module-file-stat \
- nativesdk-perl-module-getopt-long \
- nativesdk-perl-module-io-file \
- nativesdk-perl-module-overloading \
- nativesdk-perl-module-posix \
- nativesdk-perl-module-symbol \
- nativesdk-perl-module-thread-queue \
- nativesdk-perl-module-threads \
- "
-
-inherit autotools texinfo
-
-PERL = "${USRBINPATH}/perl"
-PERL_class-native = "/usr/bin/env perl"
-PERL_class-nativesdk = "/usr/bin/env perl"
-
-CACHED_CONFIGUREVARS += "ac_cv_path_PERL='${PERL}'"
-
-do_configure() {
- # manually install a newer config.guess/.sub
- install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S}/build-aux
- install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S}/build-aux
-
- oe_runconf
-}
-
-do_install_append() {
- rm -rf ${D}${datadir}/emacs
-}
diff --git a/meta/recipes-devtools/autoconf/autoconf/AC_HEADER_MAJOR-port-to-glibc-2.25.patch b/meta/recipes-devtools/autoconf/autoconf/AC_HEADER_MAJOR-port-to-glibc-2.25.patch
deleted file mode 100644
index b2d7dc0e24..0000000000
--- a/meta/recipes-devtools/autoconf/autoconf/AC_HEADER_MAJOR-port-to-glibc-2.25.patch
+++ /dev/null
@@ -1,101 +0,0 @@
-From b859ab1b211d348b46eca9158b7742f050c8115e Mon Sep 17 00:00:00 2001
-From: Eric Blake <eblake@redhat.com>
-Date: Wed, 14 Sep 2016 08:17:06 -0500
-Subject: [PATCH] AC_HEADER_MAJOR: port to glibc 2.25
-
-glibc 2.25 is deprecating the namespace pollution of <sys/types.h>
-injecting major(), minor(), and makedev() into the compilation
-environment, with a warning that insists that users include
-<sys/sysmacros.h> instead. However, because the expansion of
-AC_HEADER_MAJOR didn't bother checking sys/sysmacros.h until
-after probing whether sys/types.h pollutes the namespace, it was
-not defining MAJOR_IN_SYSMACROS, with the result that code
-compiled with -Werror chokes on the deprecation warnings because
-it was not including sysmacros.h.
-
-In addition to fixing autoconf (which only benefits projects
-that rebuild configure after this fix is released), we can also
-give a hint to distros on how they can populate config.site with
-a cache variable to force pre-existing configure scripts without
-the updated macro to behave sanely in the presence of glibc 2.25
-(the documentation is especially useful since that cache variable
-is no longer present in autoconf after this patch).
-
-Note that mingw lacks major/minor/makedev in any of its standard
-headers; for that platform, the behavior of this macro is unchanged
-(code using the recommended include formula will get a compile error
-when trying to use major(), whether before or after this patch); but
-for now, it is assumed that programs actually concerned with
-creating devices are not worried about portability to mingw. If
-desired, a later patch could tighten AC_HEADER_MAJOR to fail at
-configure time if the macros are unavailable in any of the three
-system headers, but that semantic change is not worth mixing into
-this patch.
-
-* lib/autoconf/headers.m4 (AC_HEADER_MAJOR): Drop check for
-major within sys/types.h; it interferes with the need to check
-sysmacros.h first.
-
-Signed-off-by: Eric Blake <eblake@redhat.com>
-
-Remove the documentation change from the patch
-Upstream-Status: Backport
-
-Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
----
- lib/autoconf/headers.m4 | 30 ++++++++++++++----------------
- 1 file changed, 14 insertions(+), 16 deletions(-)
-
-diff --git a/lib/autoconf/headers.m4 b/lib/autoconf/headers.m4
-index 81a7fa2..a57d0d3 100644
---- a/lib/autoconf/headers.m4
-+++ b/lib/autoconf/headers.m4
-@@ -502,31 +502,29 @@ fi
-
- # AC_HEADER_MAJOR
- # ---------------
-+# Thanks to glibc 2.25 deprecating macros in sys/types.h, coupled with
-+# back-compat to autoconf 2.69, we need the following logic:
-+# Check whether <sys/types.h> compiles.
-+# If <sys/mkdev.h> compiles, assume it provides major/minor/makedev.
-+# Otherwise, if <sys/sysmacros.h> compiles, assume it provides the macros.
-+# Otherwise, either the macros were provided by <sys/types.h>, or do
-+# not exist on the platform. Code trying to use these three macros is
-+# assumed to not care about platforms that lack the macros.
- AN_FUNCTION([major], [AC_HEADER_MAJOR])
- AN_FUNCTION([makedev], [AC_HEADER_MAJOR])
- AN_FUNCTION([minor], [AC_HEADER_MAJOR])
- AN_HEADER([sys/mkdev.h], [AC_HEADER_MAJOR])
- AC_DEFUN([AC_HEADER_MAJOR],
--[AC_CACHE_CHECK(whether sys/types.h defines makedev,
-- ac_cv_header_sys_types_h_makedev,
--[AC_LINK_IFELSE([AC_LANG_PROGRAM([[@%:@include <sys/types.h>]],
-- [[return makedev(0, 0);]])],
-- [ac_cv_header_sys_types_h_makedev=yes],
-- [ac_cv_header_sys_types_h_makedev=no])
--])
--
--if test $ac_cv_header_sys_types_h_makedev = no; then
-+[AC_CHECK_HEADERS_ONCE([sys/types.h])
- AC_CHECK_HEADER(sys/mkdev.h,
- [AC_DEFINE(MAJOR_IN_MKDEV, 1,
- [Define to 1 if `major', `minor', and `makedev' are
- declared in <mkdev.h>.])])
--
-- if test $ac_cv_header_sys_mkdev_h = no; then
-- AC_CHECK_HEADER(sys/sysmacros.h,
-- [AC_DEFINE(MAJOR_IN_SYSMACROS, 1,
-- [Define to 1 if `major', `minor', and `makedev'
-- are declared in <sysmacros.h>.])])
-- fi
-+if test $ac_cv_header_sys_mkdev_h = no; then
-+ AC_CHECK_HEADER(sys/sysmacros.h,
-+ [AC_DEFINE(MAJOR_IN_SYSMACROS, 1,
-+ [Define to 1 if `major', `minor', and `makedev'
-+ are declared in <sysmacros.h>.])])
- fi
- ])# AC_HEADER_MAJOR
-
---
-2.7.4
-
diff --git a/meta/recipes-devtools/autoconf/autoconf/add_musl_config.patch b/meta/recipes-devtools/autoconf/autoconf/add_musl_config.patch
deleted file mode 100644
index a9094d2128..0000000000
--- a/meta/recipes-devtools/autoconf/autoconf/add_musl_config.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-backport http://git.savannah.gnu.org/cgit/config.git/commit/config.sub?id=062587eaa891396c936555ae51f7e77eeb71a5fe
-
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
-Upstream-Status: Backport
-Index: autoconf-2.69/build-aux/config.sub
-===================================================================
---- autoconf-2.69.orig/build-aux/config.sub
-+++ autoconf-2.69/build-aux/config.sub
-@@ -123,7 +123,7 @@ esac
- maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
- case $maybe_os in
- nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
-- linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
-+ linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
- knetbsd*-gnu* | netbsd*-gnu* | \
- kopensolaris*-gnu* | \
- storm-chaos* | os2-emx* | rtmk-nova*)
-@@ -1360,7 +1360,7 @@ case $os in
- | -chorusos* | -chorusrdb* | -cegcc* \
- | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
- | -mingw32* | -linux-gnu* | -linux-android* \
-- | -linux-newlib* | -linux-uclibc* \
-+ | -linux-newlib* | -linux-musl* | -linux-uclibc* \
- | -uxpv* | -beos* | -mpeix* | -udk* \
- | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
- | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
diff --git a/meta/recipes-devtools/autoconf/autoconf/autoconf-replace-w-option-in-shebangs-with-modern-use-warnings.patch b/meta/recipes-devtools/autoconf/autoconf/autoconf-replace-w-option-in-shebangs-with-modern-use-warnings.patch
deleted file mode 100644
index ae0e3825f6..0000000000
--- a/meta/recipes-devtools/autoconf/autoconf/autoconf-replace-w-option-in-shebangs-with-modern-use-warnings.patch
+++ /dev/null
@@ -1,120 +0,0 @@
-From 236552ff5b9f1ebf666d8d0e9850007dcce03d26 Mon Sep 17 00:00:00 2001
-From: Serhii Popovych <spopovyc@cisco.com>
-Date: Wed, 10 Feb 2016 16:32:44 +0000
-Subject: [PATCH] perl: Replace -w option in shebangs with modern "use
- warnings"
-
-In some builds we might provide ac_cv_path_PERL as /usr/bin/env perl
-to use newer version of the perl from users PATH rather than
-older from standard system path.
-
-However using /usr/bin/env perl -w from shebang line isn't
-possible because it translates to something like
-/usr/bin/env -w perl and env complains about illegal option.
-
-To address this we can remove -w option from perl shebang
-line and add "use warnings" statement.
-
-Upstream-Status: Pending
-Signed-off-by: Serhii Popovych <spopovyc@cisco.com>
----
- bin/autom4te.in | 3 ++-
- bin/autoreconf.in | 3 ++-
- bin/autoscan.in | 3 ++-
- bin/autoupdate.in | 3 ++-
- bin/ifnames.in | 3 ++-
- 5 files changed, 10 insertions(+), 5 deletions(-)
-
-diff --git a/bin/autom4te.in b/bin/autom4te.in
-index 11773c9..a8f5e41 100644
---- a/bin/autom4te.in
-+++ b/bin/autom4te.in
-@@ -1,4 +1,4 @@
--#! @PERL@ -w
-+#! @PERL@
- # -*- perl -*-
- # @configure_input@
-
-@@ -42,6 +42,7 @@ use Autom4te::General;
- use Autom4te::XFile;
- use File::Basename;
- use strict;
-+use warnings;
-
- # Data directory.
- my $pkgdatadir = $ENV{'AC_MACRODIR'} || '@pkgdatadir@';
-diff --git a/bin/autoreconf.in b/bin/autoreconf.in
-index e245db4..1a318cb 100644
---- a/bin/autoreconf.in
-+++ b/bin/autoreconf.in
-@@ -1,4 +1,4 @@
--#! @PERL@ -w
-+#! @PERL@
- # -*- perl -*-
- # @configure_input@
-
-@@ -45,6 +45,7 @@ use Autom4te::XFile;
- # Do not use Cwd::chdir, since it might hang.
- use Cwd 'cwd';
- use strict;
-+use warnings;
-
- ## ----------- ##
- ## Variables. ##
-diff --git a/bin/autoscan.in b/bin/autoscan.in
-index a67c48d..b931249 100644
---- a/bin/autoscan.in
-+++ b/bin/autoscan.in
-@@ -1,4 +1,4 @@
--#! @PERL@ -w
-+#! @PERL@
- # -*- perl -*-
- # @configure_input@
-
-@@ -43,6 +43,7 @@ use Autom4te::XFile;
- use File::Basename;
- use File::Find;
- use strict;
-+use warnings;
-
- use vars qw(@cfiles @makefiles @shfiles @subdirs %printed);
-
-diff --git a/bin/autoupdate.in b/bin/autoupdate.in
-index 9737d49..92cb147 100644
---- a/bin/autoupdate.in
-+++ b/bin/autoupdate.in
-@@ -1,4 +1,4 @@
--#! @PERL@ -w
-+#! @PERL@
- # -*- perl -*-
- # @configure_input@
-
-@@ -44,6 +44,7 @@ use Autom4te::General;
- use Autom4te::XFile;
- use File::Basename;
- use strict;
-+use warnings;
-
- # Lib files.
- my $autom4te = $ENV{'AUTOM4TE'} || '@bindir@/@autom4te-name@';
-diff --git a/bin/ifnames.in b/bin/ifnames.in
-index ba2cd05..74b0278 100644
---- a/bin/ifnames.in
-+++ b/bin/ifnames.in
-@@ -1,4 +1,4 @@
--#! @PERL@ -w
-+#! @PERL@
- # -*- perl -*-
- # @configure_input@
-
-@@ -44,6 +44,7 @@ BEGIN
- use Autom4te::General;
- use Autom4te::XFile;
- use Autom4te::FileUtils;
-+use warnings;
-
- # $HELP
- # -----
---
-2.3.0
-
diff --git a/meta/recipes-devtools/autoconf/autoconf/autoreconf-exclude.patch b/meta/recipes-devtools/autoconf/autoconf/autoreconf-exclude.patch
index d1bd3a2a31..2814196200 100644
--- a/meta/recipes-devtools/autoconf/autoconf/autoreconf-exclude.patch
+++ b/meta/recipes-devtools/autoconf/autoconf/autoreconf-exclude.patch
@@ -1,18 +1,27 @@
-Upstream-Status: Pending
+From 1a50157aa11da48921200a0d8d4308863716eab0 Mon Sep 17 00:00:00 2001
+From: Ross Burton <ross.burton@intel.com>
+Date: Thu, 12 Mar 2020 17:25:23 +0000
+Subject: [PATCH] autoreconf-exclude.patch
-Index: autoconf-2.63/bin/autoreconf.in
-===================================================================
---- autoconf-2.63.orig/bin/autoreconf.in 2008-12-31 17:39:01.000000000 +0000
-+++ autoconf-2.63/bin/autoreconf.in 2008-12-31 17:43:38.000000000 +0000
-@@ -76,6 +76,7 @@
- -i, --install copy missing auxiliary files
+Upstream-Status: Inappropriate [oe specific]
+
+---
+ bin/autoreconf.in | 26 ++++++++++++++++++++++++++
+ 1 file changed, 26 insertions(+)
+
+diff --git a/bin/autoreconf.in b/bin/autoreconf.in
+index 98ebab6..937f758 100644
+--- a/bin/autoreconf.in
++++ b/bin/autoreconf.in
+@@ -83,6 +83,7 @@ Operation modes:
+ -i, --install copy missing standard auxiliary files
--no-recursive don't rebuild sub-packages
-s, --symlink with -i, install symbolic links instead of copies
+ -x, --exclude=STEPS steps we should not run
-m, --make when applicable, re-run ./configure && make
- -W, --warnings=CATEGORY report the warnings falling in CATEGORY [syntax]
-
-@@ -136,6 +137,13 @@
+ -W, --warnings=CATEGORY report the warnings falling in CATEGORY
+ (comma-separated list accepted)
+@@ -141,6 +142,10 @@ my $run_make = 0;
# Recurse into subpackages
my $recursive = 1;
@@ -20,13 +29,10 @@ Index: autoconf-2.63/bin/autoreconf.in
+my @exclude;
+my @ex;
+
-+my $uses_gettext;
-+my $configure_ac;
-+
## ---------- ##
## Routines. ##
## ---------- ##
-@@ -153,6 +161,7 @@
+@@ -161,6 +166,7 @@ sub parse_args ()
'B|prepend-include=s' => \@prepend_include,
'i|install' => \$install,
's|symlink' => \$symlink,
@@ -34,106 +40,82 @@ Index: autoconf-2.63/bin/autoreconf.in
'm|make' => \$run_make,
'recursive!' => \$recursive);
-@@ -162,6 +171,8 @@
+@@ -170,6 +176,8 @@ sub parse_args ()
parse_WARNINGS;
- parse_warnings '--warnings', @warning;
+ parse_warnings @warning;
+ @exclude = map { split /,/ } @exclude;
+
# Even if the user specified a configure.ac, trim to get the
# directory, and look for configure.ac again. Because (i) the code
# is simpler, and (ii) we are still able to diagnose simultaneous
-@@ -255,6 +266,11 @@
- {
- my ($aclocal, $flags) = @_;
-
-+ @ex = grep (/^aclocal$/, @exclude);
-+ if ($#ex != -1) {
-+ return;
-+ }
-+
- # aclocal 1.8+ does all this for free. It can be recognized by its
- # --force support.
- if ($aclocal_supports_force)
-@@ -368,7 +384,10 @@
+@@ -493,8 +501,11 @@ sub autoreconf_current_directory ($)
}
else
{
-- xsystem_hint ("autopoint is needed because this package uses Gettext", "$autopoint");
+ @ex = grep (/^autopoint$/, @exclude);
+ if ($#ex == -1) {
-+ xsystem_hint ("autopoint is needed because this package uses Gettext", "$autopoint");
+ xsystem_hint ("autopoint is needed because this package uses Gettext",
+ $autopoint);
+ }
}
-@@ -532,16 +551,17 @@
+@@ -691,9 +702,12 @@ sub autoreconf_current_directory ($)
{
$libtoolize .= " --ltdl";
}
-- xsystem_hint ("libtoolize is needed because this package uses Libtool", $libtoolize);
-- $rerun_aclocal = 1;
+ @ex = grep (/^libtoolize$/, @exclude);
+ if ($#ex == -1) {
-+ xsystem_hint ("libtoolize is needed because this package uses Libtool", $libtoolize);
-+ $rerun_aclocal = 1;
+ xsystem_hint ("libtoolize is needed because this package uses Libtool",
+ $libtoolize);
+ $rerun_aclocal = 1;
+ }
}
else
{
- verb "$configure_ac: not running libtoolize: --install not given";
+@@ -730,8 +744,11 @@ sub autoreconf_current_directory ($)
}
-
--
--
- # ------------------- #
- # Rerunning aclocal. #
- # ------------------- #
-@@ -572,7 +592,10 @@
+ elsif ($install)
+ {
++ @ex = grep (/^gtkdocize$/, @exclude);
++ if ($#ex == -1) {
+ xsystem_hint ("gtkdocize is needed because this package uses Gtkdoc",
+ $gtkdocize);
++ }
+ }
+ else
+ {
+@@ -769,7 +786,10 @@ sub autoreconf_current_directory ($)
# latter runs the former, and (ii) autoconf is stricter than
# autoheader. So all in all, autoconf should give better error
# messages.
-- xsystem ($autoconf);
+ @ex = grep (/^autoconf$/, @exclude);
+ if ($#ex == -1) {
-+ xsystem ("$autoconf");
+ xsystem ($autoconf);
+ }
# -------------------- #
-@@ -593,7 +616,10 @@
+@@ -790,7 +810,10 @@ sub autoreconf_current_directory ($)
}
else
{
-- xsystem ($autoheader);
+ @ex = grep (/^autoheader$/, @exclude);
+ if ($#ex == -1) {
-+ xsystem ("$autoheader");
+ xsystem ($autoheader);
+ }
}
-@@ -610,7 +636,10 @@
+@@ -807,7 +830,10 @@ sub autoreconf_current_directory ($)
# We should always run automake, and let it decide whether it shall
- # update the file or not. In fact, the effect of `$force' is already
- # included in `$automake' via `--no-force'.
-- xsystem ($automake);
+ # update the file or not. In fact, the effect of '$force' is already
+ # included in '$automake' via '--no-force'.
+ @ex = grep (/^automake$/, @exclude);
+ if ($#ex == -1) {
-+ xsystem ("$automake");
+ xsystem ($automake);
+ }
}
-
-@@ -634,7 +663,10 @@
- }
- else
- {
-- xsystem ("$make");
-+ @ex = grep (/^make$/, @exclude);
-+ if ($#ex == -1) {
-+ xsystem ("$make");
-+ }
- }
- }
- }
+ # ---------------------------------------------------- #
diff --git a/meta/recipes-devtools/autoconf/autoconf/autoreconf-gnuconfigize.patch b/meta/recipes-devtools/autoconf/autoconf/autoreconf-gnuconfigize.patch
deleted file mode 100644
index 5ff18c2350..0000000000
--- a/meta/recipes-devtools/autoconf/autoconf/autoreconf-gnuconfigize.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-Upstream-Status: Pending
-
-#
-# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
-#
-
-Index: autoconf-2.63/bin/autoreconf.in
-===================================================================
---- autoconf-2.63.orig/bin/autoreconf.in 2008-12-31 17:43:55.000000000 +0000
-+++ autoconf-2.63/bin/autoreconf.in 2008-12-31 17:46:16.000000000 +0000
-@@ -58,7 +58,7 @@
- $help = "Usage: $0 [OPTION]... [DIRECTORY]...
-
- Run `autoconf' (and `autoheader', `aclocal', `automake', `autopoint'
--(formerly `gettextize'), and `libtoolize' where appropriate)
-+(formerly `gettextize'), `libtoolize', and `gnu-configize' where appropriate)
- repeatedly to remake the GNU Build System files in specified
- DIRECTORIES and their subdirectories (defaulting to `.').
-
-@@ -115,6 +115,7 @@
- my $libtoolize = $ENV{'LIBTOOLIZE'} || 'libtoolize';
- my $autopoint = $ENV{'AUTOPOINT'} || 'autopoint';
- my $make = $ENV{'MAKE'} || 'make';
-+my $gnuconfigize = $ENV{'GNUCONFIGIZE'} || 'gnu-configize';
-
- # --install -- as --add-missing in other tools.
- my $install = 0;
-@@ -644,6 +645,10 @@
- }
- }
-
-+ @ex = grep (/^gnu-configize$/, @exclude);
-+ if ($#ex == -1) {
-+ xsystem ("$gnuconfigize");
-+ }
-
- # -------------- #
- # Running make. #
diff --git a/meta/recipes-devtools/autoconf/autoconf/autotest-automake-result-format.patch b/meta/recipes-devtools/autoconf/autoconf/autotest-automake-result-format.patch
index b5e8174efd..38725574ba 100644
--- a/meta/recipes-devtools/autoconf/autoconf/autotest-automake-result-format.patch
+++ b/meta/recipes-devtools/autoconf/autoconf/autotest-automake-result-format.patch
@@ -1,25 +1,19 @@
-From a7e722f974e2529d3e564d8d94c86cc8bdbc40e7 Mon Sep 17 00:00:00 2001
-From: Radu Patriu <radu.patriu@enea.com>
-Date: Mon, 24 Mar 2014 16:33:19 +0200
-Subject: [PATCH] autotest: new testsuite option to enable automake test
- result format
+From b28bd61e4716e744617bd681a5b0d5472f62bd67 Mon Sep 17 00:00:00 2001
+From: Ross Burton <ross.burton@intel.com>
+Date: Thu, 12 Mar 2020 17:25:45 +0000
+Subject: [PATCH] autotest-automake-result-format.patch
-* lib/autotest/general.m4: added "--am-fmt | -A" command line
-parameter for testsuite script to enable "RESULT: testname" output;
-will be used by yocto ptest packages.
+Upstream-Status: Inappropriate [oe specific]
-Upstream-Status: Pending
-
-Signed-off-by: Radu Patriu <radu.patriu@enea.com>
---
- lib/autotest/general.m4 | 39 +++++++++++++++++++++++++++++----------
+ lib/autotest/general.m4 | 39 +++++++++++++++++++++++++++++----------
1 file changed, 29 insertions(+), 10 deletions(-)
diff --git a/lib/autotest/general.m4 b/lib/autotest/general.m4
-index 60c0352..c1f5a9b 100644
+index bf18866..8097523 100644
--- a/lib/autotest/general.m4
+++ b/lib/autotest/general.m4
-@@ -412,6 +412,9 @@ at_recheck=
+@@ -427,6 +427,9 @@ at_recheck=
# Whether a write failure occurred
at_write_fail=0
@@ -29,7 +23,7 @@ index 60c0352..c1f5a9b 100644
# The directory we run the suite in. Default to . if no -C option.
at_dir=`pwd`
# An absolute reference to this testsuite script.
-@@ -530,6 +533,10 @@ do
+@@ -540,6 +543,10 @@ do
at_check_filter_trace=at_fn_filter_trace
;;
@@ -40,7 +34,7 @@ index 60c0352..c1f5a9b 100644
[[0-9] | [0-9][0-9] | [0-9][0-9][0-9] | [0-9][0-9][0-9][0-9]])
at_fn_validate_ranges at_option
AS_VAR_APPEND([at_groups], ["$at_option$as_nl"])
-@@ -718,10 +725,10 @@ m4_divert_push([HELP_MODES])dnl
+@@ -728,10 +735,10 @@ m4_divert_push([HELP_MODES])dnl
cat <<_ATEOF || at_write_fail=1
Operation modes:
@@ -55,7 +49,7 @@ index 60c0352..c1f5a9b 100644
_ATEOF
m4_divert_pop([HELP_MODES])dnl
m4_wrap([m4_divert_push([HELP_TUNING_BEGIN])dnl
-@@ -747,6 +754,7 @@ Execution tuning:
+@@ -757,6 +764,7 @@ Execution tuning:
-d, --debug inhibit clean up and top-level logging
[ default for debugging scripts]
-x, --trace enable tests shell tracing
@@ -63,7 +57,7 @@ index 60c0352..c1f5a9b 100644
_ATEOF
m4_divert_pop([HELP_TUNING_BEGIN])])dnl
m4_divert_push([HELP_END])dnl
-@@ -1162,7 +1170,9 @@ at_fn_group_banner ()
+@@ -1139,7 +1147,9 @@ at_fn_group_banner ()
[*]) at_desc_line="$[1]: " ;;
esac
AS_VAR_APPEND([at_desc_line], ["$[3]$[4]"])
@@ -74,7 +68,7 @@ index 60c0352..c1f5a9b 100644
echo "# -*- compilation -*-" >> "$at_group_log"
}
-@@ -1188,42 +1198,51 @@ _ATEOF
+@@ -1165,42 +1175,51 @@ _ATEOF
case $at_xfail:$at_status in
yes:0)
at_msg="UNEXPECTED PASS"
@@ -131,6 +125,3 @@ index 60c0352..c1f5a9b 100644
fi
at_log_msg="$at_group. $at_desc ($at_setup_line): $at_msg"
case $at_status in
---
-1.7.9.5
-
diff --git a/meta/recipes-devtools/autoconf/autoconf/check-automake-cross-warning.patch b/meta/recipes-devtools/autoconf/autoconf/check-automake-cross-warning.patch
deleted file mode 100644
index 73394d7d52..0000000000
--- a/meta/recipes-devtools/autoconf/autoconf/check-automake-cross-warning.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-Use --warning=cross only if supported by automake
-
-Upstream-Status: Inappropriate [configuration]
-
-Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
-
---- a/bin/autoreconf.in
-+++ b/bin/autoreconf.in
-@@ -127,6 +127,8 @@ my $aclocal_supports_warnings = 0;
- my $automake_supports_force_missing = 0;
- # Does automake support -Wfoo?
- my $automake_supports_warnings = 0;
-+# Does automake support --warning=cross
-+my $automake_supports_cross_warning = 0;
-
- my @prepend_include;
- my @include;
-@@ -191,6 +193,7 @@ sub parse_args ()
- $aclocal_supports_warnings = $aclocal_help =~ /--warnings/;
- $automake_supports_force_missing = $automake_help =~ /--force-missing/;
- $automake_supports_warnings = $automake_help =~ /--warnings/;
-+ $automake_supports_cross_warning = $automake_help =~ /cross/;
-
- # Dispatch autoreconf's option to the tools.
- # --include;
-@@ -244,6 +247,8 @@ sub parse_args ()
- $libtoolize .= ' --debug';
- }
- # --warnings;
-+ @warning = grep { $_ ne "cross" } @warning
-+ if ! $automake_supports_cross_warning;
- if (@warning)
- {
- my $warn = ' --warnings=' . join (',', @warning);
diff --git a/meta/recipes-devtools/autoconf/autoconf/config_site.patch b/meta/recipes-devtools/autoconf/autoconf/config_site.patch
deleted file mode 100644
index 9f044404dd..0000000000
--- a/meta/recipes-devtools/autoconf/autoconf/config_site.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-Upstream-Status: Pending
-
-Poky provides a list of site files in CONFIG_SITE whereas autoconf
-only expects one file. This patch changes autoconf to accept a list of
-them.
-
-RP 1/2/10
-
-Updated for 2.68 version: the CONFIG_SITE var was not getting used at all
-fixed the 2.68 code
-Nitin A Kamble <nitin.a.kamble@intel.com> 2011/05/27
-
-Index: autoconf-2.68/lib/autoconf/general.m4
-===================================================================
---- autoconf-2.68.orig/lib/autoconf/general.m4
-+++ autoconf-2.68/lib/autoconf/general.m4
-@@ -1878,7 +1878,6 @@ AU_DEFUN([AC_VALIDATE_CACHED_SYSTEM_TUPL
- m4_define([AC_SITE_LOAD],
- [# Prefer an explicitly selected file to automatically selected ones.
- ac_site_file1=NONE
--ac_site_file2=NONE
- if test -n "$CONFIG_SITE"; then
- # We do not want a PATH search for config.site.
- case $CONFIG_SITE in @%:@((
-@@ -1886,14 +1885,8 @@ if test -n "$CONFIG_SITE"; then
- */*) ac_site_file1=$CONFIG_SITE;;
- *) ac_site_file1=./$CONFIG_SITE;;
- esac
--elif test "x$prefix" != xNONE; then
-- ac_site_file1=$prefix/share/config.site
-- ac_site_file2=$prefix/etc/config.site
--else
-- ac_site_file1=$ac_default_prefix/share/config.site
-- ac_site_file2=$ac_default_prefix/etc/config.site
- fi
--for ac_site_file in "$ac_site_file1" "$ac_site_file2"
-+for ac_site_file in $ac_site_file1
- do
- test "x$ac_site_file" = xNONE && continue
- if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
diff --git a/meta/recipes-devtools/autoconf/autoconf/fix_path_xtra.patch b/meta/recipes-devtools/autoconf/autoconf/fix_path_xtra.patch
deleted file mode 100644
index 65df88f8f9..0000000000
--- a/meta/recipes-devtools/autoconf/autoconf/fix_path_xtra.patch
+++ /dev/null
@@ -1,120 +0,0 @@
-Upstream-Status: Pending
-
-We don't build xmkmf so any values returned from it are going to be wrong.
-Using any paths in /usr/ for x headers/libs is a bad idea when cross compiling.
-This patch removes them to stop any confusion.
-
-RP - 20071115
-
-Index: autoconf-2.68/lib/autoconf/libs.m4
-===================================================================
---- autoconf-2.68.orig/lib/autoconf/libs.m4
-+++ autoconf-2.68/lib/autoconf/libs.m4
-@@ -159,53 +159,6 @@ m4_popdef([AC_Lib_Name])dnl
- # --------------------- #
-
-
--# _AC_PATH_X_XMKMF
--# ----------------
--# Internal subroutine of _AC_PATH_X.
--# Set ac_x_includes and/or ac_x_libraries.
--m4_define([_AC_PATH_X_XMKMF],
--[AC_ARG_VAR(XMKMF, [Path to xmkmf, Makefile generator for X Window System])dnl
--rm -f -r conftest.dir
--if mkdir conftest.dir; then
-- cd conftest.dir
-- cat >Imakefile <<'_ACEOF'
--incroot:
-- @echo incroot='${INCROOT}'
--usrlibdir:
-- @echo usrlibdir='${USRLIBDIR}'
--libdir:
-- @echo libdir='${LIBDIR}'
--_ACEOF
-- if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
-- # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
-- for ac_var in incroot usrlibdir libdir; do
-- eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
-- done
-- # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
-- for ac_extension in a so sl dylib la dll; do
-- if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
-- test -f "$ac_im_libdir/libX11.$ac_extension"; then
-- ac_im_usrlibdir=$ac_im_libdir; break
-- fi
-- done
-- # Screen out bogus values from the imake configuration. They are
-- # bogus both because they are the default anyway, and because
-- # using them would break gcc on systems where it needs fixed includes.
-- case $ac_im_incroot in
-- /usr/include) ac_x_includes= ;;
-- *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
-- esac
-- case $ac_im_usrlibdir in
-- /usr/lib | /usr/lib64 | /lib | /lib64) ;;
-- *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
-- esac
-- fi
-- cd ..
-- rm -f -r conftest.dir
--fi
--])# _AC_PATH_X_XMKMF
--
--
- # _AC_PATH_X_DIRECT
- # -----------------
- # Internal subroutine of _AC_PATH_X.
-@@ -213,44 +166,7 @@ fi
- m4_define([_AC_PATH_X_DIRECT],
- [# Standard set of common directories for X headers.
- # Check X11 before X11Rn because it is often a symlink to the current release.
--ac_x_header_dirs='
--/usr/X11/include
--/usr/X11R7/include
--/usr/X11R6/include
--/usr/X11R5/include
--/usr/X11R4/include
--
--/usr/include/X11
--/usr/include/X11R7
--/usr/include/X11R6
--/usr/include/X11R5
--/usr/include/X11R4
--
--/usr/local/X11/include
--/usr/local/X11R7/include
--/usr/local/X11R6/include
--/usr/local/X11R5/include
--/usr/local/X11R4/include
--
--/usr/local/include/X11
--/usr/local/include/X11R7
--/usr/local/include/X11R6
--/usr/local/include/X11R5
--/usr/local/include/X11R4
--
--/usr/X386/include
--/usr/x386/include
--/usr/XFree86/include/X11
--
--/usr/include
--/usr/local/include
--/usr/unsupported/include
--/usr/athena/include
--/usr/local/x11r5/include
--/usr/lpp/Xamples/include
--
--/usr/openwin/include
--/usr/openwin/share/include'
-+ac_x_header_dirs=''
-
- if test "$ac_x_includes" = no; then
- # Guess where to find include files, by looking for Xlib.h.
-@@ -299,7 +215,6 @@ AC_DEFUN([_AC_PATH_X],
- [AC_CACHE_VAL(ac_cv_have_x,
- [# One or both of the vars are not set, and there is no cached value.
- ac_x_includes=no ac_x_libraries=no
--_AC_PATH_X_XMKMF
- _AC_PATH_X_DIRECT
- case $ac_x_includes,$ac_x_libraries in #(
- no,* | *,no | *\'*)
diff --git a/meta/recipes-devtools/autoconf/autoconf/man-host-perl.patch b/meta/recipes-devtools/autoconf/autoconf/man-host-perl.patch
new file mode 100644
index 0000000000..0f49583a64
--- /dev/null
+++ b/meta/recipes-devtools/autoconf/autoconf/man-host-perl.patch
@@ -0,0 +1,31 @@
+From 1c033f2a23941c46d88b9ac279f87bf2c6e99499 Mon Sep 17 00:00:00 2001
+From: Ross Burton <ross.burton@arm.com>
+Date: Wed, 15 Jul 2020 16:03:21 +0100
+Subject: [PATCH] Don't use the target perl when regenerating the man pages.
+
+Upstream-Status: Inappropriate
+Signed-off-by: Ross Burton <ross.burton@arm.com>
+
+---
+ man/local.mk | 3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+
+diff --git a/man/local.mk b/man/local.mk
+index 775c131..ba94753 100644
+--- a/man/local.mk
++++ b/man/local.mk
+@@ -77,13 +77,12 @@ SUFFIXES += .w .1
+ @echo "Updating man page $@"
+ $(MKDIR_P) $(@D)
+ PATH="$(top_srcdir)/man$(PATH_SEPARATOR)$$PATH"; \
+- PERL="$(PERL)"; \
+ PACKAGE_NAME="$(PACKAGE_NAME)"; \
+ VERSION="$(VERSION)"; \
+ RELEASE_YEAR="$(RELEASE_YEAR)"; \
+ top_srcdir="$(top_srcdir)"; \
+ channeldefs_pm="$(channeldefs_pm)"; \
+- export PATH PERL PACKAGE_NAME VERSION RELEASE_YEAR; \
++ export PATH PACKAGE_NAME VERSION RELEASE_YEAR; \
+ export top_srcdir channeldefs_pm; \
+ $(HELP2MAN) \
+ --include=$(srcdir)/$*.x \
diff --git a/meta/recipes-devtools/autoconf/autoconf/no-man.patch b/meta/recipes-devtools/autoconf/autoconf/no-man.patch
new file mode 100644
index 0000000000..3e741edfb2
--- /dev/null
+++ b/meta/recipes-devtools/autoconf/autoconf/no-man.patch
@@ -0,0 +1,36 @@
+From 8bcaf677e41f1f5d3fa0a746e35958e7b303ac71 Mon Sep 17 00:00:00 2001
+From: Ross Burton <ross.burton@arm.com>
+Date: Wed, 15 Jul 2020 16:03:21 +0100
+Subject: [PATCH] autoconf: upgrade to 2.71
+
+For native builds we don't care about the documentation, and this would
+otherwise pull in a dependency on help2man.
+
+Upstream-Status: Inappropriate
+Signed-off-by: Ross Burton <ross.burton@arm.com>
+
+---
+ Makefile.in | 10 ----------
+ 1 file changed, 10 deletions(-)
+
+diff --git a/Makefile.in b/Makefile.in
+index c8d6425..72d6d05 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -771,16 +771,6 @@ buildauxdir = $(pkgdatadir)/build-aux
+ dist_buildaux_DATA = \
+ $(AUXSCRIPTS)
+
+-dist_man_MANS = \
+- man/autoconf.1 \
+- man/autoheader.1 \
+- man/autom4te.1 \
+- man/autoreconf.1 \
+- man/autoscan.1 \
+- man/autoupdate.1 \
+- man/ifnames.1
+-
+-
+ # Each manpage depends on:
+ # - its .w and .x files and its source script in bin/
+ # - common.x for the SEE ALSO list
diff --git a/meta/recipes-devtools/autoconf/autoconf/performance.patch b/meta/recipes-devtools/autoconf/autoconf/performance.patch
deleted file mode 100644
index 1842fe92b7..0000000000
--- a/meta/recipes-devtools/autoconf/autoconf/performance.patch
+++ /dev/null
@@ -1,60 +0,0 @@
-The check for solaris 'print' causes significant problems on a linux machine
-with dash as /bin/sh since it triggers the execution of "print" which on some
-linux systems is a perl script which is part of mailcap. Worse, this perl
-script calls "which file" and if successful ignores the path file was found
-in and just runs "file" without a path. Each exection causes PATH to be searched.
-
-Simply assuming the shell's printf function works cuts out all the fork overhead
-and when parallel tasks are running, this overhead appears to be significant.
-
-RP
-2015/11/28
-Upstream-Status: Inappropriate
-
-Index: autoconf-2.69/lib/m4sugar/m4sh.m4
-===================================================================
---- autoconf-2.69.orig/lib/m4sugar/m4sh.m4
-+++ autoconf-2.69/lib/m4sugar/m4sh.m4
-@@ -1045,40 +1045,8 @@ m4_defun([_AS_ECHO_PREPARE],
- [[as_nl='
- '
- export as_nl
--# Printing a long string crashes Solaris 7 /usr/bin/printf.
--as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
--as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
--as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
--# Prefer a ksh shell builtin over an external printf program on Solaris,
--# but without wasting forks for bash or zsh.
--if test -z "$BASH_VERSION$ZSH_VERSION" \
-- && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
-- as_echo='print -r --'
-- as_echo_n='print -rn --'
--elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
-- as_echo='printf %s\n'
-- as_echo_n='printf %s'
--else
-- if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
-- as_echo_body='eval /usr/ucb/echo -n "$][1$as_nl"'
-- as_echo_n='/usr/ucb/echo -n'
-- else
-- as_echo_body='eval expr "X$][1" : "X\\(.*\\)"'
-- as_echo_n_body='eval
-- arg=$][1;
-- case $arg in @%:@(
-- *"$as_nl"*)
-- expr "X$arg" : "X\\(.*\\)$as_nl";
-- arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
-- esac;
-- expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
-- '
-- export as_echo_n_body
-- as_echo_n='sh -c $as_echo_n_body as_echo'
-- fi
-- export as_echo_body
-- as_echo='sh -c $as_echo_body as_echo'
--fi
-+as_echo='printf %s\n'
-+as_echo_n='printf %s'
- ]])# _AS_ECHO_PREPARE
-
-
diff --git a/meta/recipes-devtools/autoconf/autoconf/preferbash.patch b/meta/recipes-devtools/autoconf/autoconf/preferbash.patch
index fa76ee9bdd..64fed1fd82 100644
--- a/meta/recipes-devtools/autoconf/autoconf/preferbash.patch
+++ b/meta/recipes-devtools/autoconf/autoconf/preferbash.patch
@@ -1,25 +1,36 @@
-This value is used to determine CONFIG_SHELL and SHELL which may get exported into
-scripts shared via sstate onto other systems.
+From a877ff979349d3bf6f5f0d92fe4e741be0ad98b4 Mon Sep 17 00:00:00 2001
+From: Ross Burton <ross.burton@intel.com>
+Date: Thu, 12 Mar 2020 17:25:41 +0000
+Subject: [PATCH] m4sh: prefer bash over sh
-Some systems have /bin/sh -> dash and others /bin/sh -> bash. Bash is preferred
-but sometimes we can sometimes end up exporting /bin/sh yet use bashisms.
+_AS_DETECT_BETTER_SHELL looks for a good shell to use, and tries to look for
+'sh' before 'bash'. Whilst for many systems sh is a symlink to bash,
+there are many where sh is a symlink to a more minimal sh implementation.
-This patch puts bash first in the search results which avoids the bash/dash confusion.
+For example, Debian by default has /bin/sh -> /bin/dash: dash is a faster
+shell to start (which makes a notable difference to boot speed) but is not
+as fast as bash at executing long scripts (and configure scripts are not
+known for their conciseness).
-RP 2012/9/23
+Change the search order to bash then sh, so that a known-good shell (bash)
+is used if available over something which is merely POSIX compliant.
-Upstream-Status: Inappropriate [OE specific configuration]
+Upstream-Status: Inappropriate [oe specific]
-Index: autoconf-2.69/lib/m4sugar/m4sh.m4
-===================================================================
---- autoconf-2.69.orig/lib/m4sugar/m4sh.m4 2012-03-07 17:35:26.000000000 +0000
-+++ autoconf-2.69/lib/m4sugar/m4sh.m4 2013-09-23 16:12:38.853597515 +0000
-@@ -229,7 +229,7 @@
+---
+ lib/m4sugar/m4sh.m4 | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/lib/m4sugar/m4sh.m4 b/lib/m4sugar/m4sh.m4
+index 368487f..cc70f51 100644
+--- a/lib/m4sugar/m4sh.m4
++++ b/lib/m4sugar/m4sh.m4
+@@ -233,7 +233,7 @@ dnl Remove any tests from suggested that are also required
[_AS_PATH_WALK([/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH],
[case $as_dir in @%:@(
/*)
- for as_base in sh bash ksh sh5; do
+ for as_base in bash sh ksh sh5; do
# Try only shells that exist, to save several forks.
- as_shell=$as_dir/$as_base
+ as_shell=$as_dir$as_base
AS_IF([{ test -f "$as_shell" || test -f "$as_shell.exe"; } &&
diff --git a/meta/recipes-devtools/autoconf/autoconf/program_prefix.patch b/meta/recipes-devtools/autoconf/autoconf/program_prefix.patch
index 978a401f0a..f647f2a8c0 100644
--- a/meta/recipes-devtools/autoconf/autoconf/program_prefix.patch
+++ b/meta/recipes-devtools/autoconf/autoconf/program_prefix.patch
@@ -1,20 +1,25 @@
-Upstream-Status: Pending
+From 7949496ff3834dcd98407cc3f3ea022ee2471d52 Mon Sep 17 00:00:00 2001
+From: Ross Burton <ross.burton@intel.com>
+Date: Thu, 12 Mar 2020 17:28:38 +0000
+Subject: [PATCH] program_prefix.patch
-#
-# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
-#
+Upstream-Status: Inappropriate [oe specific]
+Signed-off-by: Ross Burton <ross.burton@intel.com>
---- autoconf-2.57/lib/autoconf/general.m4~program_prefix
-+++ autoconf-2.57/lib/autoconf/general.m4
-@@ -1676,8 +1676,9 @@
+---
+ lib/autoconf/general.m4 | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/lib/autoconf/general.m4 b/lib/autoconf/general.m4
+index 47d896d..3deaa46 100644
+--- a/lib/autoconf/general.m4
++++ b/lib/autoconf/general.m4
+@@ -2071,7 +2071,7 @@ _AC_CANONICAL_SPLIT([target])
+
# The aliases save the names the user supplied, while $host etc.
# will get canonicalized.
- test -n "$target_alias" &&
-- test "$program_prefix$program_suffix$program_transform_name" = \
-- NONENONEs,x,x, &&
-+ test "$target_alias" != "$host_alias" &&
-+ test "$program_prefix$program_suffix$program_transform_name" = \
-+ NONENONEs,x,x, &&
+-test -n "$target_alias" &&
++test -n "$target_alias" && test "$target_alias" != "$host_alias" &&
+ test "$program_prefix$program_suffix$program_transform_name" = \
+ NONENONEs,x,x, &&
program_prefix=${target_alias}-[]dnl
- ])# AC_CANONICAL_TARGET
-
diff --git a/meta/recipes-devtools/autoconf/autoconf/remove-usr-local-lib-from-m4.patch b/meta/recipes-devtools/autoconf/autoconf/remove-usr-local-lib-from-m4.patch
index 55d2e2fe7e..ca1534b8f0 100644
--- a/meta/recipes-devtools/autoconf/autoconf/remove-usr-local-lib-from-m4.patch
+++ b/meta/recipes-devtools/autoconf/autoconf/remove-usr-local-lib-from-m4.patch
@@ -1,17 +1,20 @@
-We have problem using hardcoded directories like /usr/local here
-which will be checked for cross builds. This is a special case which
-is valid for AIX only. We do not have AIX as one of our supported
-build host or target. Therefore we get rid of the hardcoded paths
-and make life easier for cross compilation process.
+From 294a8d47a70db077691624615c5cb6d331a3299b Mon Sep 17 00:00:00 2001
+From: Ross Burton <ross.burton@intel.com>
+Date: Thu, 12 Mar 2020 17:25:37 +0000
+Subject: [PATCH] remove-usr-local-lib-from-m4.patch
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
+Upstream-Status: Inappropriate [oe specific]
+Signed-off-by: Ross Burton <ross.burton@intel.com>
-Upstream-Status: Inappropriate [Upstream does care for AIX while we may not]
-Index: autoconf-2.68/lib/autoconf/functions.m4
-===================================================================
---- autoconf-2.68.orig/lib/autoconf/functions.m4 2010-09-22 14:52:19.000000000 -0700
-+++ autoconf-2.68/lib/autoconf/functions.m4 2011-08-03 11:57:05.822199513 -0700
-@@ -749,15 +749,6 @@ if test $ac_have_func = no; then
+---
+ lib/autoconf/functions.m4 | 9 ---------
+ 1 file changed, 9 deletions(-)
+
+diff --git a/lib/autoconf/functions.m4 b/lib/autoconf/functions.m4
+index 9b3f3c0..1faa99b 100644
+--- a/lib/autoconf/functions.m4
++++ b/lib/autoconf/functions.m4
+@@ -825,15 +825,6 @@ if test $ac_have_func = no; then
[LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes])
fi
diff --git a/meta/recipes-devtools/autoconf/autoconf_2.69.bb b/meta/recipes-devtools/autoconf/autoconf_2.69.bb
deleted file mode 100644
index 2e1b9bdc90..0000000000
--- a/meta/recipes-devtools/autoconf/autoconf_2.69.bb
+++ /dev/null
@@ -1,31 +0,0 @@
-require autoconf.inc
-
-PR = "r11"
-
-LICENSE = "GPLv2 & GPLv3"
-LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
- file://COPYINGv3;md5=d32239bcb673463ab874e80d47fae504"
-
-SRC_URI = "${GNU_MIRROR}/autoconf/autoconf-${PV}.tar.gz \
- file://program_prefix.patch \
- file://check-automake-cross-warning.patch \
- file://autoreconf-exclude.patch \
- file://autoreconf-gnuconfigize.patch \
- file://config_site.patch \
- file://remove-usr-local-lib-from-m4.patch \
- file://preferbash.patch \
- file://autotest-automake-result-format.patch \
- file://add_musl_config.patch \
- file://performance.patch \
- file://AC_HEADER_MAJOR-port-to-glibc-2.25.patch \
- file://autoconf-replace-w-option-in-shebangs-with-modern-use-warnings.patch \
- "
-
-SRC_URI[md5sum] = "82d05e03b93e45f5a39b828dc9c6c29b"
-SRC_URI[sha256sum] = "954bd69b391edc12d6a4a51a2dd1476543da5c6bbf05a95b59dc0dd6fd4c2969"
-
-SRC_URI_append_class-native = " file://fix_path_xtra.patch"
-
-EXTRA_OECONF += "ac_cv_path_M4=m4 ac_cv_prog_TEST_EMACS=no"
-
-BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/autoconf/autoconf_2.72e.bb b/meta/recipes-devtools/autoconf/autoconf_2.72e.bb
new file mode 100644
index 0000000000..db374373cf
--- /dev/null
+++ b/meta/recipes-devtools/autoconf/autoconf_2.72e.bb
@@ -0,0 +1,83 @@
+SUMMARY = "A GNU tool that produce shell scripts to automatically configure software"
+DESCRIPTION = "Autoconf is an extensible package of M4 macros that produce shell scripts to automatically \
+configure software source code packages. Autoconf creates a configuration script for a package from a template \
+file that lists the operating system features that the package can use, in the form of M4 macro calls."
+LICENSE = "GPL-3.0-or-later"
+HOMEPAGE = "http://www.gnu.org/software/autoconf/"
+SECTION = "devel"
+DEPENDS = "m4-native autoconf-native automake-native gnu-config-native help2man-native"
+DEPENDS:remove:class-native = "autoconf-native automake-native help2man-native"
+
+LIC_FILES_CHKSUM = "file://COPYING;md5=cc3f3a7596cb558bbd9eb7fbaa3ef16c \
+ file://COPYINGv3;md5=1ebbd3e34237af26da5dc08a4e440464"
+
+SRC_URI = " \
+ https://alpha.gnu.org/gnu/autoconf/${BP}.tar.gz \
+ file://program_prefix.patch \
+ file://autoreconf-exclude.patch \
+ file://remove-usr-local-lib-from-m4.patch \
+ file://preferbash.patch \
+ file://autotest-automake-result-format.patch \
+ file://man-host-perl.patch \
+"
+SRC_URI:append:class-native = " file://no-man.patch"
+
+SRC_URI[sha256sum] = "f3478d3b597d51f5d61596fb2f6f6aba49cdd974b4b05ff0bac57f56b5cfdb39"
+
+RDEPENDS:${PN} = "m4 gnu-config \
+ perl \
+ perl-module-bytes \
+ perl-module-carp \
+ perl-module-constant \
+ perl-module-data-dumper \
+ perl-module-errno \
+ perl-module-exporter \
+ perl-module-file-basename \
+ perl-module-file-compare \
+ perl-module-file-copy \
+ perl-module-file-find \
+ perl-module-file-glob \
+ perl-module-file-path \
+ perl-module-file-spec \
+ perl-module-file-spec-unix \
+ perl-module-file-stat \
+ perl-module-file-temp \
+ perl-module-getopt-long \
+ perl-module-io-file \
+ perl-module-list-util \
+ perl-module-overloading \
+ perl-module-posix \
+ perl-module-scalar-util \
+ perl-module-symbol \
+ perl-module-thread-queue \
+ perl-module-threads \
+ perl-module-feature \
+ "
+RDEPENDS:${PN}:class-native = "m4-native gnu-config-native hostperl-runtime-native"
+
+inherit autotools texinfo
+
+PERL = "${USRBINPATH}/perl"
+PERL:class-native = "/usr/bin/env perl"
+PERL:class-nativesdk = "/usr/bin/env perl"
+
+CACHED_CONFIGUREVARS += "ac_cv_path_PERL='${PERL}'"
+
+EXTRA_OECONF += "ac_cv_path_M4=m4 ac_cv_prog_TEST_EMACS=no"
+
+# As autoconf installs its own config.* files, ensure that they're always up to date.
+update_gnu_config() {
+ install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S}/build-aux
+ install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S}/build-aux
+}
+do_configure[prefuncs] += "update_gnu_config"
+
+do_configure:class-native() {
+ oe_runconf
+}
+
+do_install:append() {
+ rm -rf ${D}${datadir}/emacs
+}
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/automake/automake.inc b/meta/recipes-devtools/automake/automake.inc
index 87cedc9838..9946c73c71 100644
--- a/meta/recipes-devtools/automake/automake.inc
+++ b/meta/recipes-devtools/automake/automake.inc
@@ -1,7 +1,7 @@
SUMMARY = "A GNU tool for automatically generating Makefiles"
DESCRIPTION = "Automake is a tool for automatically generating `Makefile.in' files compliant with the GNU Coding \
Standards. Automake requires the use of Autoconf."
-LICENSE = "GPLv2"
+LICENSE = "GPL-2.0-only"
HOMEPAGE = "http://www.gnu.org/software/automake/"
SECTION = "devel"
@@ -18,4 +18,4 @@ do_configure() {
export AUTOMAKE = "${@bb.utils.which('automake', d.getVar('PATH'))}"
-FILES_${PN} += "${datadir}/automake* ${datadir}/aclocal*"
+FILES:${PN} += "${datadir}/automake* ${datadir}/aclocal*"
diff --git a/meta/recipes-devtools/automake/automake/0001-Drop-ar-u-argument.patch b/meta/recipes-devtools/automake/automake/0001-Drop-ar-u-argument.patch
new file mode 100644
index 0000000000..f72788c3a6
--- /dev/null
+++ b/meta/recipes-devtools/automake/automake/0001-Drop-ar-u-argument.patch
@@ -0,0 +1,35 @@
+From bed646918bc67e9e2151ccbda03aae34717821fe Mon Sep 17 00:00:00 2001
+From: Andrei Gherzan <andrei.gherzan@huawei.com>
+Date: Wed, 20 Apr 2022 14:57:14 +0200
+Subject: [PATCH] Drop ar 'u' argument
+
+binutils/ar is configured in deterministic mode by default making the
+'u' argument irrelevant while leading to warning massages similar to:
+
+| ar: `u' modifier ignored since `D' is the default (see `U')
+
+We also add 'D' flag explicitely to not rely in the default configuration
+for reproducible archives.
+
+Upstream-Status: Inappropriate [OE specific]
+Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
+---
+ bin/automake.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/bin/automake.in b/bin/automake.in
+index 92bcebe..0f2b84b 100644
+--- a/bin/automake.in
++++ b/bin/automake.in
+@@ -2678,7 +2678,7 @@ sub handle_libraries ()
+ }
+
+ define_variable ('AR', 'ar', INTERNAL);
+- define_variable ('ARFLAGS', 'cru', INTERNAL);
++ define_variable ('ARFLAGS', 'crD', INTERNAL);
+ define_verbose_tagvar ('AR');
+
+ foreach my $pair (@liblist)
+--
+2.25.1
+
diff --git a/meta/recipes-devtools/automake/automake/0001-automake-Update-for-python.m4-to-respect-libdir.patch b/meta/recipes-devtools/automake/automake/0001-automake-Update-for-python.m4-to-respect-libdir.patch
new file mode 100644
index 0000000000..d28045618e
--- /dev/null
+++ b/meta/recipes-devtools/automake/automake/0001-automake-Update-for-python.m4-to-respect-libdir.patch
@@ -0,0 +1,83 @@
+From dff74c5b19935cc11b30116a7ae9c8affdff246b Mon Sep 17 00:00:00 2001
+From: Kumar Gala <galak@kernel.crashing.org>
+Date: Thu, 11 Aug 2011 01:26:33 -0500
+Subject: [PATCH] automake: Update for python.m4 to respect libdir
+
+Upstream-Status: Inappropriate [embedded specific]
+
+Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
+
+Updated for automake-1.12.6
+
+Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
+Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
+---
+ m4/python.m4 | 24 ++++++------------------
+ 1 file changed, 6 insertions(+), 18 deletions(-)
+
+diff --git a/m4/python.m4 b/m4/python.m4
+index 4e7de9427..40fc5b396 100644
+--- a/m4/python.m4
++++ b/m4/python.m4
+@@ -96,6 +96,8 @@ AC_DEFUN([AM_PATH_PYTHON],
+ [am_cv_python_version=`$PYTHON -c "import sys; print ('%u.%u' % sys.version_info[[:2]])"`])
+ AC_SUBST([PYTHON_VERSION], [$am_cv_python_version])
+
++ AC_SUBST([PYTHON_LIB_PREFIX], ['${libdir}'])
++
+ dnl At times, e.g., when building shared libraries, you may want
+ dnl to know which OS platform Python thinks this is.
+ dnl
+@@ -251,14 +253,7 @@ except ImportError:
+ else
+ am_py_prefix=$am_cv_python_prefix
+ fi
+- am_cv_python_pythondir=`$PYTHON -c "
+-$am_python_setup_sysconfig
+-if can_use_sysconfig:
+- sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
+-else:
+- from distutils import sysconfig
+- sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
+-sys.stdout.write(sitedir)"`
++ am_cv_python_pythondir=`echo "$PYTHON_LIB_PREFIX/python$PYTHON_VERSION/site-packages"`
+ #
+ case $am_cv_python_pythondir in
+ $am_py_prefix*)
+@@ -268,7 +263,7 @@ sys.stdout.write(sitedir)"`
+ *)
+ case $am_py_prefix in
+ /usr|/System*) ;;
+- *) am_cv_python_pythondir="\${PYTHON_PREFIX}/lib/python$PYTHON_VERSION/site-packages"
++ *) am_cv_python_pythondir=$PYTHON_LIB_PREFIX/python$PYTHON_VERSION/site-packages
+ ;;
+ esac
+ ;;
+@@ -293,14 +288,7 @@ sys.stdout.write(sitedir)"`
+ else
+ am_py_exec_prefix=$am_cv_python_exec_prefix
+ fi
+- am_cv_python_pyexecdir=`$PYTHON -c "
+-$am_python_setup_sysconfig
+-if can_use_sysconfig:
+- sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_exec_prefix'})
+-else:
+- from distutils import sysconfig
+- sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_exec_prefix')
+-sys.stdout.write(sitedir)"`
++ am_cv_python_pyexecdir=`echo "$PYTHON_LIB_PREFIX/python$PYTHON_VERSION/site-packages"`
+ #
+ case $am_cv_python_pyexecdir in
+ $am_py_exec_prefix*)
+@@ -310,7 +298,7 @@ sys.stdout.write(sitedir)"`
+ *)
+ case $am_py_exec_prefix in
+ /usr|/System*) ;;
+- *) am_cv_python_pyexecdir="\${PYTHON_EXEC_PREFIX}/lib/python$PYTHON_VERSION/site-packages"
++ *) am_cv_python_pyexecdir=$PYTHON_LIB_PREFIX/python$PYTHON_VERSION/site-packages
+ ;;
+ esac
+ ;;
+--
+2.20.1
+
diff --git a/meta/recipes-devtools/automake/automake/automake-replace-w-option-in-shebangs-with-modern-use-warnings.patch b/meta/recipes-devtools/automake/automake/automake-replace-w-option-in-shebangs-with-modern-use-warnings.patch
deleted file mode 100644
index 0e84c4bf86..0000000000
--- a/meta/recipes-devtools/automake/automake/automake-replace-w-option-in-shebangs-with-modern-use-warnings.patch
+++ /dev/null
@@ -1,60 +0,0 @@
-From 857c843d4bcf576467b505eb05a47f3e7d32caaa Mon Sep 17 00:00:00 2001
-From: Serhii Popovych <spopovyc@cisco.com>
-Date: Wed, 10 Feb 2016 17:07:32 +0000
-Subject: [PATCH] perl: Replace -w option in shebangs with modern "use
- warnings" In some builds we might provide ac_cv_path_PERL as /usr/bin/env
- perl to use newer version of the perl from users PATH rather than older from
- standard system path.
-
-However using /usr/bin/env perl -w from shebang line isn't
-possible because it translates to something like
-/usr/bin/env -w perl and env complains about illegal option.
-
-To address this we can remove -w option from perl shebang
-line and add "use warnings" statement.
-
-Upstream-Status: Pending
-Signed-off-by: Serhii Popovych <spopovyc@cisco.com>
-Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
-
----
- bin/aclocal.in | 3 ++-
- bin/automake.in | 3 ++-
- 2 files changed, 4 insertions(+), 2 deletions(-)
-
-diff --git a/bin/aclocal.in b/bin/aclocal.in
-index 9a20325..bd185d4 100644
---- a/bin/aclocal.in
-+++ b/bin/aclocal.in
-@@ -1,4 +1,4 @@
--#!@PERL@ -w
-+#!@PERL@
- # aclocal - create aclocal.m4 by scanning configure.ac -*- perl -*-
- # @configure_input@
- # Copyright (C) 1996-2020 Free Software Foundation, Inc.
-@@ -26,6 +26,7 @@ BEGIN
- }
-
- use strict;
-+use warnings;
-
- use Automake::Config;
- use Automake::General;
-diff --git a/bin/automake.in b/bin/automake.in
-index 5ed404a..d387b8e 100644
---- a/bin/automake.in
-+++ b/bin/automake.in
-@@ -1,4 +1,4 @@
--#!@PERL@ -w
-+#!@PERL@
- # automake - create Makefile.in from Makefile.am -*- perl -*-
- # @configure_input@
- # Copyright (C) 1994-2020 Free Software Foundation, Inc.
-@@ -23,6 +23,7 @@
- package Automake;
-
- use strict;
-+use warnings;
-
- BEGIN
- {
diff --git a/meta/recipes-devtools/automake/automake/buildtest.patch b/meta/recipes-devtools/automake/automake/buildtest.patch
index b88b9e8693..c43a4ac8f3 100644
--- a/meta/recipes-devtools/automake/automake/buildtest.patch
+++ b/meta/recipes-devtools/automake/automake/buildtest.patch
@@ -36,7 +36,7 @@ index e0db651..de137fa 100644
-check-TESTS: $(TESTS)
+AM_RECURSIVE_TARGETS += buildtest runtest
+
-+buildtest-TESTS: $(TESTS)
++buildtest-TESTS: $(TESTS) $(check_PROGRAMS)
+
+check-TESTS: buildtest-TESTS
+ $(MAKE) $(AM_MAKEFLAGS) runtest-TESTS
diff --git a/meta/recipes-devtools/automake/automake/python-libdir.patch b/meta/recipes-devtools/automake/automake/python-libdir.patch
deleted file mode 100644
index ee1f725f76..0000000000
--- a/meta/recipes-devtools/automake/automake/python-libdir.patch
+++ /dev/null
@@ -1,88 +0,0 @@
-From a80dacd5124d0713cf2c986b28d736e78dc6b0ca Mon Sep 17 00:00:00 2001
-From: Kumar Gala <galak@kernel.crashing.org>
-Date: Thu, 11 Aug 2011 01:26:33 -0500
-Subject: [PATCH] automake: Update for python.m4 to respect libdir
-
-Upstream-Status: Inappropriate [embedded specific]
-
-Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
-
-Updated for automake-1.12.6
-
-Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
-Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
-
----
- m4/python.m4 | 27 +++++++--------------------
- 1 file changed, 7 insertions(+), 20 deletions(-)
-
-diff --git a/m4/python.m4 b/m4/python.m4
-index 63c0a0e..7bbd2d2 100644
---- a/m4/python.m4
-+++ b/m4/python.m4
-@@ -94,12 +94,13 @@ AC_DEFUN([AM_PATH_PYTHON],
- [am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[[:3]])"`])
- AC_SUBST([PYTHON_VERSION], [$am_cv_python_version])
-
-- dnl Use the values of $prefix and $exec_prefix for the corresponding
-- dnl values of PYTHON_PREFIX and PYTHON_EXEC_PREFIX. These are made
-+ dnl Use the values of $prefix, $libdir and $exec_prefix for the corresponding
-+ dnl values of PYTHON_PREFIX PYTHON_LIB_PREFIX, and PYTHON_EXEC_PREFIX. These are made
- dnl distinct variables so they can be overridden if need be. However,
- dnl general consensus is that you shouldn't need this ability.
-
- AC_SUBST([PYTHON_PREFIX], ['${prefix}'])
-+ AC_SUBST([PYTHON_LIB_PREFIX], ['${libdir}'])
- AC_SUBST([PYTHON_EXEC_PREFIX], ['${exec_prefix}'])
-
- dnl At times (like when building shared libraries) you may want
-@@ -144,14 +145,7 @@ except ImportError:
- else
- am_py_prefix=$prefix
- fi
-- am_cv_python_pythondir=`$PYTHON -c "
--$am_python_setup_sysconfig
--if can_use_sysconfig:
-- sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
--else:
-- from distutils import sysconfig
-- sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
--sys.stdout.write(sitedir)"`
-+ am_cv_python_pythondir=`echo "$PYTHON_LIB_PREFIX/python$PYTHON_VERSION/site-packages"`
- case $am_cv_python_pythondir in
- $am_py_prefix*)
- am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
-@@ -161,7 +155,7 @@ sys.stdout.write(sitedir)"`
- case $am_py_prefix in
- /usr|/System*) ;;
- *)
-- am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
-+ am_cv_python_pythondir=$PYTHON_LIB_PREFIX/python$PYTHON_VERSION/site-packages
- ;;
- esac
- ;;
-@@ -186,14 +180,7 @@ sys.stdout.write(sitedir)"`
- else
- am_py_exec_prefix=$exec_prefix
- fi
-- am_cv_python_pyexecdir=`$PYTHON -c "
--$am_python_setup_sysconfig
--if can_use_sysconfig:
-- sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
--else:
-- from distutils import sysconfig
-- sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
--sys.stdout.write(sitedir)"`
-+ am_cv_python_pyexecdir=`echo "$PYTHON_LIB_PREFIX/python$PYTHON_VERSION/site-packages"`
- case $am_cv_python_pyexecdir in
- $am_py_exec_prefix*)
- am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
-@@ -203,7 +190,7 @@ sys.stdout.write(sitedir)"`
- case $am_py_exec_prefix in
- /usr|/System*) ;;
- *)
-- am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
-+ am_cv_python_pyexecdir=$PYTHON_LIB_PREFIX/python$PYTHON_VERSION/site-packages
- ;;
- esac
- ;;
diff --git a/meta/recipes-devtools/automake/automake_1.16.2.bb b/meta/recipes-devtools/automake/automake_1.16.2.bb
deleted file mode 100644
index fd8ed0ed3b..0000000000
--- a/meta/recipes-devtools/automake/automake_1.16.2.bb
+++ /dev/null
@@ -1,44 +0,0 @@
-require automake.inc
-LICENSE = "GPLv2"
-LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
-DEPENDS_class-native = "autoconf-native"
-
-NAMEVER = "${@oe.utils.trim_version("${PV}", 2)}"
-
-RDEPENDS_${PN} += "\
- autoconf \
- perl \
- perl-module-bytes \
- perl-module-data-dumper \
- perl-module-strict \
- perl-module-text-parsewords \
- perl-module-thread-queue \
- perl-module-threads \
- perl-module-vars "
-
-RDEPENDS_${PN}_class-native = "autoconf-native hostperl-runtime-native"
-RDEPENDS_${PN}_class-nativesdk = "nativesdk-autoconf"
-
-SRC_URI += "file://python-libdir.patch \
- file://buildtest.patch \
- file://performance.patch \
- file://new_rt_path_for_test-driver.patch \
- file://automake-replace-w-option-in-shebangs-with-modern-use-warnings.patch \
- file://0001-automake-Add-default-libtool_tag-to-cppasm.patch \
- file://0001-build-fix-race-in-parallel-builds.patch \
- "
-
-SRC_URI[md5sum] = "f1a14f2ab2b0fb861a011e1d94e589e0"
-SRC_URI[sha256sum] = "b2f361094b410b4acbf4efba7337bdb786335ca09eb2518635a09fb7319ca5c1"
-
-PERL = "${USRBINPATH}/perl"
-PERL_class-native = "${USRBINPATH}/env perl"
-PERL_class-nativesdk = "${USRBINPATH}/env perl"
-
-CACHED_CONFIGUREVARS += "ac_cv_path_PERL='${PERL}'"
-
-do_install_append () {
- install -d ${D}${datadir}
-}
-
-BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/automake/automake_1.16.5.bb b/meta/recipes-devtools/automake/automake_1.16.5.bb
new file mode 100644
index 0000000000..469fcd69f7
--- /dev/null
+++ b/meta/recipes-devtools/automake/automake_1.16.5.bb
@@ -0,0 +1,43 @@
+require automake.inc
+LICENSE = "GPL-2.0-only"
+LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
+DEPENDS:class-native = "autoconf-native"
+
+NAMEVER = "${@oe.utils.trim_version("${PV}", 2)}"
+
+RDEPENDS:${PN} += "\
+ autoconf \
+ perl \
+ perl-module-bytes \
+ perl-module-data-dumper \
+ perl-module-strict \
+ perl-module-text-parsewords \
+ perl-module-thread-queue \
+ perl-module-threads \
+ perl-module-vars "
+
+RDEPENDS:${PN}:class-native = "autoconf-native hostperl-runtime-native"
+
+SRC_URI += "\
+ file://0001-automake-Update-for-python.m4-to-respect-libdir.patch \
+ file://buildtest.patch \
+ file://performance.patch \
+ file://new_rt_path_for_test-driver.patch \
+ file://0001-automake-Add-default-libtool_tag-to-cppasm.patch \
+ file://0001-build-fix-race-in-parallel-builds.patch \
+ file://0001-Drop-ar-u-argument.patch \
+ "
+
+SRC_URI[sha256sum] = "07bd24ad08a64bc17250ce09ec56e921d6343903943e99ccf63bbf0705e34605"
+
+PERL = "${USRBINPATH}/perl"
+PERL:class-native = "${USRBINPATH}/env perl"
+PERL:class-nativesdk = "${USRBINPATH}/env perl"
+
+CACHED_CONFIGUREVARS += "ac_cv_path_PERL='${PERL}'"
+
+do_install:append () {
+ install -d ${D}${datadir}
+}
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/binutils/binutils-2.35.inc b/meta/recipes-devtools/binutils/binutils-2.35.inc
deleted file mode 100644
index aa02063b19..0000000000
--- a/meta/recipes-devtools/binutils/binutils-2.35.inc
+++ /dev/null
@@ -1,47 +0,0 @@
-LIC_FILES_CHKSUM="\
- file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552\
- file://COPYING.LIB;md5=9f604d8a4f8e74f4f5140845a21b6674\
- file://COPYING3;md5=d32239bcb673463ab874e80d47fae504\
- file://COPYING3.LIB;md5=6a6a8e020838b23406c81b19c1d46df6\
- file://gas/COPYING;md5=d32239bcb673463ab874e80d47fae504\
- file://include/COPYING;md5=59530bdf33659b29e73d4adb9f9f6552\
- file://include/COPYING3;md5=d32239bcb673463ab874e80d47fae504\
- file://libiberty/COPYING.LIB;md5=a916467b91076e631dd8edb7424769c7\
- file://bfd/COPYING;md5=d32239bcb673463ab874e80d47fae504\
- "
-
-def binutils_branch_version(d):
- pvsplit = d.getVar('PV').split('.')
- return pvsplit[0] + "_" + pvsplit[1]
-
-# When upgrading to 2.35, please make sure there is no trailing .0, so
-# that upstream version check can work correctly.
-PV = "2.35"
-CVE_VERSION = "2.35"
-BINUPV = "${@binutils_branch_version(d)}"
-#BRANCH = "binutils-${BINUPV}-branch"
-BRANCH ?= "binutils-2_35-branch"
-
-UPSTREAM_CHECK_GITTAGREGEX = "binutils-(?P<pver>\d+_(\d_?)*)"
-
-SRCREV ?= "89a9065674a14a8bd94bb326b27d19a2f3583efb"
-BINUTILS_GIT_URI ?= "git://sourceware.org/git/binutils-gdb.git;branch=${BRANCH};protocol=git"
-SRC_URI = "\
- ${BINUTILS_GIT_URI} \
- file://0004-configure-widen-the-regexp-for-SH-architectures.patch \
- file://0005-Point-scripts-location-to-libdir.patch \
- file://0006-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch \
- file://0007-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch \
- file://0008-warn-for-uses-of-system-directories-when-cross-linki.patch \
- file://0009-Change-default-emulation-for-mips64-linux.patch \
- file://0010-Add-support-for-Netlogic-XLP.patch \
- file://0011-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch \
- file://0012-Detect-64-bit-MIPS-targets.patch \
- file://0013-Use-libtool-2.4.patch \
- file://0014-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch \
- file://0015-sync-with-OE-libtool-changes.patch \
- file://0016-Check-for-clang-before-checking-gcc-version.patch \
- file://0017-gas-improve-reproducibility-for-stabs-debugging-data.patch \
- file://0001-aarch64-Return-an-error-on-conditional-branch-to-an-.patch \
-"
-S = "${WORKDIR}/git"
diff --git a/meta/recipes-devtools/binutils/binutils-2.42.inc b/meta/recipes-devtools/binutils/binutils-2.42.inc
new file mode 100644
index 0000000000..d4e94d0162
--- /dev/null
+++ b/meta/recipes-devtools/binutils/binutils-2.42.inc
@@ -0,0 +1,41 @@
+LIC_FILES_CHKSUM="\
+ file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552\
+ file://COPYING.LIB;md5=9f604d8a4f8e74f4f5140845a21b6674\
+ file://COPYING3;md5=d32239bcb673463ab874e80d47fae504\
+ file://COPYING3.LIB;md5=6a6a8e020838b23406c81b19c1d46df6\
+ file://gas/COPYING;md5=d32239bcb673463ab874e80d47fae504\
+ file://include/COPYING;md5=59530bdf33659b29e73d4adb9f9f6552\
+ file://include/COPYING3;md5=d32239bcb673463ab874e80d47fae504\
+ file://libiberty/COPYING.LIB;md5=a916467b91076e631dd8edb7424769c7\
+ file://bfd/COPYING;md5=d32239bcb673463ab874e80d47fae504\
+ "
+
+# When upgrading to 2.42, please make sure there is no trailing .0, so
+# that upstream version check can work correctly.
+PV = "2.42"
+CVE_VERSION = "2.42"
+SRCBRANCH ?= "binutils-2_42-branch"
+
+UPSTREAM_CHECK_GITTAGREGEX = "binutils-(?P<pver>\d+_(\d_?)*)"
+
+CVE_STATUS[CVE-2023-25584] = "cpe-incorrect: Applies only for version 2.40 and earlier"
+
+SRCREV ?= "73b22b4481e85635eb978585f405c4433bcc0174"
+BINUTILS_GIT_URI ?= "git://sourceware.org/git/binutils-gdb.git;branch=${SRCBRANCH};protocol=https"
+SRC_URI = "\
+ ${BINUTILS_GIT_URI} \
+ file://0004-Point-scripts-location-to-libdir.patch \
+ file://0005-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch \
+ file://0006-warn-for-uses-of-system-directories-when-cross-linki.patch \
+ file://0007-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch \
+ file://0008-Use-libtool-2.4.patch \
+ file://0009-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch \
+ file://0010-sync-with-OE-libtool-changes.patch \
+ file://0011-Check-for-clang-before-checking-gcc-version.patch \
+ file://0012-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch \
+ file://0013-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch \
+ file://0014-Remove-duplicate-pe-dll.o-entry-deom-targ_extra_ofil.patch \
+ file://0015-gprofng-change-use-of-bignum-to-bigint.patch \
+ file://0016-aarch64-Remove-asserts-from-operand-qualifier-decode.patch \
+"
+S = "${WORKDIR}/git"
diff --git a/meta/recipes-devtools/binutils/binutils-cross-canadian.inc b/meta/recipes-devtools/binutils/binutils-cross-canadian.inc
index e98f31f9c3..62ebb3f5bc 100644
--- a/meta/recipes-devtools/binutils/binutils-cross-canadian.inc
+++ b/meta/recipes-devtools/binutils/binutils-cross-canadian.inc
@@ -4,7 +4,7 @@ SUMMARY = "GNU binary utilities (cross-canadian for ${TARGET_ARCH} target)"
PN = "binutils-cross-canadian-${TRANSLATED_TARGET_ARCH}"
BPN = "binutils"
-DEPENDS = "flex-native bison-native virtual/${HOST_PREFIX}gcc-crosssdk virtual/nativesdk-libc nativesdk-zlib nativesdk-gettext nativesdk-flex"
+DEPENDS = "flex-native bison-native virtual/${HOST_PREFIX}gcc virtual/nativesdk-libc nativesdk-zlib nativesdk-gettext nativesdk-flex"
EXTRA_OECONF += "--with-sysroot=${SDKPATH}/sysroots/${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS} \
--enable-poison-system-directories \
"
@@ -13,8 +13,6 @@ EXTRA_OECONF += "--with-sysroot=${SDKPATH}/sysroots/${TUNE_PKGARCH}${TARGET_VEND
# e.g. we switch between different machines with different tunes.
EXTRA_OECONF[vardepsexclude] = "TUNE_PKGARCH"
-LDGOLD_sdkmingw32 = ""
-
do_install () {
autotools_do_install
@@ -25,7 +23,9 @@ do_install () {
rm -f ${D}${libdir}/libiberty*
rm -f ${D}${libdir}/libopcodes*
rm -f ${D}${includedir}/*.h
-
+ rm -f ${D}${sysconfdir}/gprofng.rc
+ rmdir ${D}${sysconfdir} || :
+
cross_canadian_bindirlinks
}
diff --git a/meta/recipes-devtools/binutils/binutils-cross-canadian_2.35.bb b/meta/recipes-devtools/binutils/binutils-cross-canadian_2.42.bb
index 5dbaa03017..5dbaa03017 100644
--- a/meta/recipes-devtools/binutils/binutils-cross-canadian_2.35.bb
+++ b/meta/recipes-devtools/binutils/binutils-cross-canadian_2.42.bb
diff --git a/meta/recipes-devtools/binutils/binutils-cross-testsuite_2.35.bb b/meta/recipes-devtools/binutils/binutils-cross-testsuite_2.42.bb
index 07a8e7c417..630815c7a3 100644
--- a/meta/recipes-devtools/binutils/binutils-cross-testsuite_2.35.bb
+++ b/meta/recipes-devtools/binutils/binutils-cross-testsuite_2.42.bb
@@ -15,14 +15,11 @@ do_configure[dirs] += "${B}/ld ${B}/bfd"
do_configure() {
# create config.h, oe enables initfini-array by default
echo "#define HAVE_INITFINI_ARRAY" > ${B}/ld/config.h
- # use the bfd_stdint.h from binutils-native, this is the same of the one
- # generated by binutils-cross
- cp ${RECIPE_SYSROOT_NATIVE}/usr/include/bfd_stdint.h ${B}/bfd/
}
# target depends
-DEPENDS += "virtual/${MLPREFIX}${TARGET_PREFIX}binutils"
-DEPENDS += "virtual/${MLPREFIX}${TARGET_PREFIX}gcc"
+DEPENDS += "virtual/${TARGET_PREFIX}binutils"
+DEPENDS += "virtual/${TARGET_PREFIX}gcc"
DEPENDS += "virtual/${MLPREFIX}${TARGET_PREFIX}compilerlibs"
DEPENDS += "virtual/${MLPREFIX}libc"
@@ -50,6 +47,8 @@ python check_prepare() {
content.append(d.expand('set CC "${TARGET_PREFIX}gcc --sysroot=${STAGING_DIR_TARGET} ${TUNE_CCARGS}"'))
content.append(d.expand('set CXX "${TARGET_PREFIX}g++ --sysroot=${STAGING_DIR_TARGET} ${TUNE_CCARGS}"'))
content.append(d.expand('set CFLAGS_FOR_TARGET "--sysroot=${STAGING_DIR_TARGET} ${TUNE_CCARGS}"'))
+ content.append(d.expand('set LD "${TARGET_PREFIX}ld ${TUNE_LDARGS}"'))
+ content.append(d.expand('set LDFLAGS_FOR_TARGET "${TUNE_LDARGS}"'))
if suite == "ld" and d.getVar("TUNE_ARCH") == "mips64":
# oe patches binutils to have the default mips64 abi as 64bit, but
@@ -82,4 +81,3 @@ do_check() {
done
}
addtask check after do_configure
-
diff --git a/meta/recipes-devtools/binutils/binutils-cross.inc b/meta/recipes-devtools/binutils/binutils-cross.inc
index 02ec891606..835d4fa69b 100644
--- a/meta/recipes-devtools/binutils/binutils-cross.inc
+++ b/meta/recipes-devtools/binutils/binutils-cross.inc
@@ -16,6 +16,7 @@ SRC_URI += "file://0002-binutils-cross-Do-not-generate-linker-script-directo.pat
# and mean the linker scripts have to be relocated.
EXTRA_OECONF += "--with-sysroot=${STAGING_DIR_TARGET} \
--disable-install-libbfd \
+ --disable-gprofng \
--enable-poison-system-directories \
--with-lib-path==${target_base_libdir}:=${target_libdir} \
"
diff --git a/meta/recipes-devtools/binutils/binutils-cross_2.35.bb b/meta/recipes-devtools/binutils/binutils-cross_2.42.bb
index fbd1f7d25a..fbd1f7d25a 100644
--- a/meta/recipes-devtools/binutils/binutils-cross_2.35.bb
+++ b/meta/recipes-devtools/binutils/binutils-cross_2.42.bb
diff --git a/meta/recipes-devtools/binutils/binutils-crosssdk_2.35.bb b/meta/recipes-devtools/binutils/binutils-crosssdk_2.42.bb
index 37f4d6d2e9..6752659304 100644
--- a/meta/recipes-devtools/binutils/binutils-crosssdk_2.35.bb
+++ b/meta/recipes-devtools/binutils/binutils-crosssdk_2.42.bb
@@ -4,10 +4,8 @@ inherit crosssdk
PN = "binutils-crosssdk-${SDK_SYS}"
-PROVIDES = "virtual/${TARGET_PREFIX}binutils-crosssdk"
-
SRC_URI += "file://0001-binutils-crosssdk-Generate-relocatable-SDKs.patch"
-do_configure_prepend () {
+do_configure:prepend () {
sed -i 's#/usr/local/lib /lib /usr/lib#${SDKPATHNATIVE}/lib ${SDKPATHNATIVE}/usr/lib /usr/local/lib /lib /usr/lib#' ${S}/ld/configure.tgt
}
diff --git a/meta/recipes-devtools/binutils/binutils.inc b/meta/recipes-devtools/binutils/binutils.inc
index e93cd50b20..e176b5cff1 100644
--- a/meta/recipes-devtools/binutils/binutils.inc
+++ b/meta/recipes-devtools/binutils/binutils.inc
@@ -9,22 +9,23 @@ object information), and other tools and related libraries."
HOMEPAGE = "http://www.gnu.org/software/binutils/"
BUGTRACKER = "http://sourceware.org/bugzilla/"
SECTION = "devel"
-LICENSE = "GPLv3"
+LICENSE = "GPL-3.0-only"
DEPENDS = "flex-native bison-native zlib-native gnu-config-native autoconf-native"
-inherit autotools gettext multilib_header texinfo
+inherit autotools gettext multilib_header pkgconfig texinfo
-FILES_${PN} = " \
+FILES:${PN} = " \
${bindir}/${TARGET_PREFIX}* \
${libdir}/lib*.so.* \
+ ${libdir}/bfd-plugins/lib*.so \
${libdir}/lib*-${PV}*.so \
${prefix}/${TARGET_SYS}/bin/* \
${bindir}/embedspu"
-RPROVIDES_${PN} += "${PN}-symlinks"
+RPROVIDES:${PN} += "${PN}-symlinks"
-FILES_${PN}-dev = " \
+FILES:${PN}-dev = " \
${includedir} \
${libdir}/*.la \
${libdir}/libbfd.so \
@@ -32,13 +33,34 @@ FILES_${PN}-dev = " \
${libdir}/libctf-nobfd.so \
${libdir}/libopcodes.so"
+FILES:${PN}-staticdev += "${libdir}/gprofng/*.a"
+
# Rather than duplicating multiple entries for these, make one
# list and reuse it.
+GPROFNGS = " \
+ gp-archive \
+ gp-collect-app \
+ gp-display-html \
+ gp-display-src \
+ gp-display-text \
+ gprofng \
+"
+
+# it disables gprofng for clang and musl in the bb file
+GPROFNGS:toolchain-clang = ""
+GPROFNGS:libc-musl = ""
+
+GPROFNG_ALTS ?= ""
+GPROFNG_ALTS:x86 = "${GPROFNGS}"
+GPROFNG_ALTS:x86-64 = "${GPROFNGS}"
+GPROFNG_ALTS:aarch64 = "${GPROFNGS}"
+
LDGOLD_ALTS ?= "ld.gold dwp"
-LDGOLD_ALTS_riscv64 = ""
-LDGOLD_ALTS_riscv32 = ""
-LDGOLD_ALTS_libc-glibc_mipsarch = ""
+LDGOLD_ALTS:riscv64 = ""
+LDGOLD_ALTS:riscv32 = ""
+LDGOLD_ALTS:loongarch64 = ""
+LDGOLD_ALTS:libc-glibc:mipsarch = ""
USE_ALTERNATIVES_FOR = " \
addr2line \
@@ -47,6 +69,7 @@ USE_ALTERNATIVES_FOR = " \
c++filt \
elfedit \
gprof \
+ ${GPROFNG_ALTS} \
ld \
ld.bfd \
${LDGOLD_ALTS} \
@@ -60,7 +83,7 @@ USE_ALTERNATIVES_FOR = " \
strip \
"
-python do_package_prepend() {
+python do_package:prepend() {
make_alts = d.getVar("USE_ALTERNATIVES_FOR") or ""
prefix = d.getVar("TARGET_PREFIX")
bindir = d.getVar("bindir")
@@ -75,6 +98,7 @@ EXTRA_OECONF = "--program-prefix=${TARGET_PREFIX} \
--disable-werror \
--enable-deterministic-archives \
--enable-plugins \
+ --enable-new-dtags \
--disable-gdb \
--disable-gdbserver \
--disable-libdecnumber \
@@ -85,12 +109,12 @@ EXTRA_OECONF = "--program-prefix=${TARGET_PREFIX} \
${@bb.utils.contains('DISTRO_FEATURES', 'multiarch', '--enable-64-bit-bfd', '', d)}"
EXTRA_TARGETS = ""
-EXTRA_TARGETS_x86-64 = " --enable-targets=x86_64-pe,x86_64-pep "
-EXTRA_TARGETS_class-native = ""
+EXTRA_TARGETS:x86-64 = " --enable-targets=x86_64-pe,x86_64-pep "
+EXTRA_TARGETS:class-native = ""
-LDGOLD_class-native = ""
-LDGOLD_class-crosssdk = ""
-LDGOLD_libc-glibc_mipsarch = ""
+LDGOLD:class-native = ""
+LDGOLD:class-crosssdk = ""
+LDGOLD:libc-glibc:mipsarch = ""
LDGOLD ?= "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', '--enable-gold=default --enable-threads', '--enable-gold --enable-ld=default --enable-threads', d)}"
@@ -169,17 +193,15 @@ do_install () {
done
oe_multilib_header bfd.h
- # bfd_stdint.h encodes the compiler name in the header
- sed -i ${D}${includedir}/bfd_stdint.h -e "s,${TARGET_PREFIX},,"
}
inherit update-alternatives
ALTERNATIVE_PRIORITY = "100"
-ALTERNATIVE_${PN}_class-target = "${USE_ALTERNATIVES_FOR}"
+ALTERNATIVE:${PN}:class-target = "${USE_ALTERNATIVES_FOR}"
python () {
- if bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', True, False, d) and bb.utils.contains_any('TARGET_ARCH', 'riscv32 riscv64', True, False, d):
- bb.fatal("Gold linker does not _yet_ support RISC-V architecture please remove ld-is-gold from DISTRO_FEATURES")
+ if bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', True, False, d) and bb.utils.contains_any('TARGET_ARCH', 'riscv32 riscv64 loongarch64', True, False, d):
+ bb.fatal("Gold linker does not _yet_ support RISC-V and LoongArch architecture please remove ld-is-gold from DISTRO_FEATURES")
}
diff --git a/meta/recipes-devtools/binutils/binutils/0001-aarch64-Return-an-error-on-conditional-branch-to-an-.patch b/meta/recipes-devtools/binutils/binutils/0001-aarch64-Return-an-error-on-conditional-branch-to-an-.patch
deleted file mode 100644
index f46ddab415..0000000000
--- a/meta/recipes-devtools/binutils/binutils/0001-aarch64-Return-an-error-on-conditional-branch-to-an-.patch
+++ /dev/null
@@ -1,135 +0,0 @@
-From c7cd291722779c9d4703ed0010388fe394c644c8 Mon Sep 17 00:00:00 2001
-From: Siddhesh Poyarekar <siddesh.poyarekar@arm.com>
-Date: Tue, 1 Sep 2020 14:25:52 +0530
-Subject: [PATCH] aarch64: Return an error on conditional branch to an undefined symbol
-
-The fix in 7e05773767820b441b23a16628b55c98cb1aef46 introduced a PLT
-for conditional jumps when the target symbol is undefined. This is
-incorrect because conditional branch relocations are not allowed to
-clobber IP0/IP1 and hence, should not result in a dynamic relocation.
-
-Revert that change and in its place, issue an error when the target
-symbol is undefined.
-
-bfd/
-
- 2020-09-10 Siddhesh Poyarekar <siddesh.poyarekar@arm.com>
-
- * elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Revert
- changes in 7e05773767820b441b23a16628b55c98cb1aef46. Set
- error for undefined symbol in BFD_RELOC_AARCH64_BRANCH19 and
- BFD_RELOC_AARCH64_TSTBR14 relocations.
-
-ld/
-
- 2020-09-10 Siddhesh Poyarekar <siddesh.poyarekar@arm.com>
-
- * testsuite/ld-aarch64/emit-relocs-560.d: Expect error instead
- of valid output.
----
-Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=c7cd291722779c9d4703ed0010388fe394c644c8]
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
-
- bfd/ChangeLog | 7 +++++
- bfd/elfnn-aarch64.c | 37 ++++++++++++-----------
- ld/ChangeLog | 5 +++
- ld/testsuite/ld-aarch64/emit-relocs-560.d | 7 +----
- 4 files changed, 32 insertions(+), 24 deletions(-)
-
-diff --git a/bfd/elfnn-aarch64.c b/bfd/elfnn-aarch64.c
-index 5b4c189b593..a9924e7ec56 100644
---- a/bfd/elfnn-aarch64.c
-+++ b/bfd/elfnn-aarch64.c
-@@ -5447,7 +5447,6 @@ elfNN_aarch64_final_link_relocate (reloc_howto_type *howto,
- bfd_vma orig_value = value;
- bfd_boolean resolved_to_zero;
- bfd_boolean abs_symbol_p;
-- bfd_boolean via_plt_p;
-
- globals = elf_aarch64_hash_table (info);
-
-@@ -5469,8 +5468,6 @@ elfNN_aarch64_final_link_relocate (reloc_howto_type *howto,
- : bfd_is_und_section (sym_sec));
- abs_symbol_p = h != NULL && bfd_is_abs_symbol (&h->root);
-
-- via_plt_p = (globals->root.splt != NULL && h != NULL
-- && h->plt.offset != (bfd_vma) - 1);
-
- /* Since STT_GNU_IFUNC symbol must go through PLT, we handle
- it here if it is defined in a non-shared object. */
-@@ -5806,23 +5803,12 @@ elfNN_aarch64_final_link_relocate (reloc_howto_type *howto,
- value += signed_addend;
- break;
-
-- case BFD_RELOC_AARCH64_BRANCH19:
-- case BFD_RELOC_AARCH64_TSTBR14:
-- /* A conditional branch to an undefined weak symbol is converted to a
-- branch to itself. */
-- if (weak_undef_p && !via_plt_p)
-- {
-- value = _bfd_aarch64_elf_resolve_relocation (input_bfd, bfd_r_type,
-- place, value,
-- signed_addend,
-- weak_undef_p);
-- break;
-- }
-- /* Fall through. */
- case BFD_RELOC_AARCH64_CALL26:
- case BFD_RELOC_AARCH64_JUMP26:
- {
- asection *splt = globals->root.splt;
-+ bfd_boolean via_plt_p =
-+ splt != NULL && h != NULL && h->plt.offset != (bfd_vma) - 1;
-
- /* A call to an undefined weak symbol is converted to a jump to
- the next instruction unless a PLT entry will be created.
-@@ -5903,6 +5889,23 @@ elfNN_aarch64_final_link_relocate (reloc_howto_type *howto,
- bfd_set_error (bfd_error_bad_value);
- return bfd_reloc_notsupported;
- }
-+ value = _bfd_aarch64_elf_resolve_relocation (input_bfd, bfd_r_type,
-+ place, value,
-+ signed_addend,
-+ weak_undef_p);
-+ break;
-+
-+ case BFD_RELOC_AARCH64_BRANCH19:
-+ case BFD_RELOC_AARCH64_TSTBR14:
-+ if (h && h->root.type == bfd_link_hash_undefined)
-+ {
-+ _bfd_error_handler
-+ /* xgettext:c-format */
-+ (_("%pB: conditional branch to undefined symbol `%s' "
-+ "not allowed"), input_bfd, h->root.root.string);
-+ bfd_set_error (bfd_error_bad_value);
-+ return bfd_reloc_notsupported;
-+ }
- /* Fall through. */
-
- case BFD_RELOC_AARCH64_16:
-@@ -7968,8 +7971,6 @@ elfNN_aarch64_check_relocs (bfd *abfd, struct bfd_link_info *info,
- break;
- }
-
-- case BFD_RELOC_AARCH64_BRANCH19:
-- case BFD_RELOC_AARCH64_TSTBR14:
- case BFD_RELOC_AARCH64_CALL26:
- case BFD_RELOC_AARCH64_JUMP26:
- /* If this is a local symbol then we resolve it
-diff --git a/ld/testsuite/ld-aarch64/emit-relocs-560.d b/ld/testsuite/ld-aarch64/emit-relocs-560.d
-index 153532457b4..8751b743bd4 100644
---- a/ld/testsuite/ld-aarch64/emit-relocs-560.d
-+++ b/ld/testsuite/ld-aarch64/emit-relocs-560.d
-@@ -1,8 +1,3 @@
- #source: emit-relocs-560.s
- #ld: -shared
--#readelf: -r
--
--Relocation section '.rela.plt' at offset 0x[0-9a-f]+ contains 2 entries:
-- Offset Info Type Sym. Value Sym. Name \+ Addend
--[0-9a-f]+ 000100000402 R_AARCH64_JUMP_SL 0000000000000000 baz \+ 0
--[0-9a-f]+ 000200000402 R_AARCH64_JUMP_SL 0000000000000000 bar \+ 0
-+#error: .*: conditional branch to undefined symbol `bar' not allowed
---
-2.29.2
-
diff --git a/meta/recipes-devtools/binutils/binutils/0001-binutils-crosssdk-Generate-relocatable-SDKs.patch b/meta/recipes-devtools/binutils/binutils/0001-binutils-crosssdk-Generate-relocatable-SDKs.patch
index 4c1d11291b..4ef11c56e7 100644
--- a/meta/recipes-devtools/binutils/binutils/0001-binutils-crosssdk-Generate-relocatable-SDKs.patch
+++ b/meta/recipes-devtools/binutils/binutils/0001-binutils-crosssdk-Generate-relocatable-SDKs.patch
@@ -1,7 +1,7 @@
-From a0b23b160d6cfa7be4437c6e623633d76395f2ad Mon Sep 17 00:00:00 2001
+From 089ee95b342e79af09258b45c888a13b35fadf26 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Mon, 2 Mar 2015 01:58:54 +0000
-Subject: [PATCH 01/16] binutils-crosssdk: Generate relocatable SDKs
+Subject: [PATCH] binutils-crosssdk: Generate relocatable SDKs
This patch will modify the ELF linker scripts so that the crosssdk
linker will generate binaries with a 4096 bytes PT_INTERP section. When the binaries
@@ -21,10 +21,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
3 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/gold/layout.cc b/gold/layout.cc
-index 13e533aaf21..b0afff16e2e 100644
+index b43ae841a6c..6101a95195b 100644
--- a/gold/layout.cc
+++ b/gold/layout.cc
-@@ -5019,7 +5019,7 @@ Layout::create_interp(const Target* target)
+@@ -5102,7 +5102,7 @@ Layout::create_interp(const Target* target)
gold_assert(interp != NULL);
}
@@ -34,10 +34,10 @@ index 13e533aaf21..b0afff16e2e 100644
Output_section_data* odata = new Output_data_const(interp, len, 1);
diff --git a/ld/genscripts.sh b/ld/genscripts.sh
-index 03392d265c7..435689ea144 100755
+index d6ceb3fe4f5..365c0e778cc 100755
--- a/ld/genscripts.sh
+++ b/ld/genscripts.sh
-@@ -304,6 +304,7 @@ DATA_ALIGNMENT_u="${DATA_ALIGNMENT_u-${DATA_ALIGNMENT_r}}"
+@@ -298,6 +298,7 @@ DATA_ALIGNMENT_u="${DATA_ALIGNMENT_u-${DATA_ALIGNMENT_r}}"
LD_FLAG=r
DATA_ALIGNMENT=${DATA_ALIGNMENT_r}
DEFAULT_DATA_ALIGNMENT="ALIGN(${SEGMENT_SIZE})"
@@ -45,7 +45,7 @@ index 03392d265c7..435689ea144 100755
( echo "/* Script for -r */"
source_sh ${CUSTOMIZER_SCRIPT}
source_sh ${srcdir}/scripttempl/${SCRIPT_NAME}.sc
-@@ -312,10 +313,12 @@ DEFAULT_DATA_ALIGNMENT="ALIGN(${SEGMENT_SIZE})"
+@@ -306,10 +307,12 @@ DEFAULT_DATA_ALIGNMENT="ALIGN(${SEGMENT_SIZE})"
LD_FLAG=u
DATA_ALIGNMENT=${DATA_ALIGNMENT_u}
CONSTRUCTING=" "
@@ -59,10 +59,10 @@ index 03392d265c7..435689ea144 100755
DATA_ALIGNMENT=${DATA_ALIGNMENT_}
RELOCATING=" "
diff --git a/ld/scripttempl/elf.sc b/ld/scripttempl/elf.sc
-index eb74743e5c3..c9a8a47615f 100644
+index fae7c2ad71c..7fe37eb1874 100644
--- a/ld/scripttempl/elf.sc
+++ b/ld/scripttempl/elf.sc
-@@ -143,8 +143,8 @@ if test -z "$DATA_SEGMENT_ALIGN"; then
+@@ -150,8 +150,8 @@ if test -z "$DATA_SEGMENT_ALIGN"; then
DATA_SEGMENT_RELRO_END=". = DATA_SEGMENT_RELRO_END (${SEPARATE_GOTPLT-0}, .);"
fi
fi
@@ -73,6 +73,3 @@ index eb74743e5c3..c9a8a47615f 100644
fi
if test -z "$PLT"; then
IPLT=".iplt ${RELOCATING-0} : { *(.iplt) }"
---
-2.28.0
-
diff --git a/meta/recipes-devtools/binutils/binutils/0002-binutils-cross-Do-not-generate-linker-script-directo.patch b/meta/recipes-devtools/binutils/binutils/0002-binutils-cross-Do-not-generate-linker-script-directo.patch
index 41dff05b25..1652473bcb 100644
--- a/meta/recipes-devtools/binutils/binutils/0002-binutils-cross-Do-not-generate-linker-script-directo.patch
+++ b/meta/recipes-devtools/binutils/binutils/0002-binutils-cross-Do-not-generate-linker-script-directo.patch
@@ -1,8 +1,7 @@
-From 0d14f8f333a9b519202246ce779f3e380491826c Mon Sep 17 00:00:00 2001
+From 6fae7afeb713a60755e17443964e46190bb97ede Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Mon, 6 Mar 2017 23:37:05 -0800
-Subject: [PATCH 02/17] binutils-cross: Do not generate linker script
- directories
+Subject: [PATCH] binutils-cross: Do not generate linker script directories
We don't place target libraries within ${exec_prefix}, we'd always place these
within the target sysroot within the standard library directories. Worse, the
@@ -23,10 +22,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
1 file changed, 25 deletions(-)
diff --git a/ld/genscripts.sh b/ld/genscripts.sh
-index 435689ea144..cff8a1467f9 100755
+index 365c0e778cc..b0893fda3c5 100755
--- a/ld/genscripts.sh
+++ b/ld/genscripts.sh
-@@ -235,31 +235,6 @@ append_to_lib_path()
+@@ -229,31 +229,6 @@ append_to_lib_path()
fi
}
@@ -58,6 +57,3 @@ index 435689ea144..cff8a1467f9 100755
if [ "x${LIB_PATH}" = "x" ] && [ "x${USE_LIBPATH}" = xyes ] ; then
libs=${NATIVE_LIB_DIRS}
if [ "x${NATIVE}" = "xyes" ] ; then
---
-2.28.0
-
diff --git a/meta/recipes-devtools/binutils/binutils/0003-binutils-nativesdk-Search-for-alternative-ld.so.conf.patch b/meta/recipes-devtools/binutils/binutils/0003-binutils-nativesdk-Search-for-alternative-ld.so.conf.patch
index 28daf58f74..f45690ed68 100644
--- a/meta/recipes-devtools/binutils/binutils/0003-binutils-nativesdk-Search-for-alternative-ld.so.conf.patch
+++ b/meta/recipes-devtools/binutils/binutils/0003-binutils-nativesdk-Search-for-alternative-ld.so.conf.patch
@@ -1,8 +1,8 @@
-From 3bbec749ec9fe681ade6812c48c541a752fcffd5 Mon Sep 17 00:00:00 2001
+From 1fe9aa3f25e09281cb018b29081db4cc44bdc01f Mon Sep 17 00:00:00 2001
From: Richard Purdie <richard.purdie@linuxfoundation.org>
Date: Wed, 19 Feb 2020 09:51:16 -0800
-Subject: [PATCH 03/17] binutils-nativesdk: Search for alternative ld.so.conf
- in SDK installation
+Subject: [PATCH] binutils-nativesdk: Search for alternative ld.so.conf in SDK
+ installation
We need binutils to look at our ld.so.conf file within the SDK to ensure
we search the SDK's libdirs as well as those from the host system.
@@ -29,51 +29,51 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
5 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/ld/Makefile.am b/ld/Makefile.am
-index 02c4fc16395..a5762227f0a 100644
+index f9ee05b1400..07801c2c3ac 100644
--- a/ld/Makefile.am
+++ b/ld/Makefile.am
@@ -42,7 +42,8 @@ ZLIBINC = @zlibinc@
- ELF_CLFAGS=-DELF_LIST_OPTIONS=@elf_list_options@ \
+ ELF_CFLAGS=-DELF_LIST_OPTIONS=@elf_list_options@ \
-DELF_SHLIB_LIST_OPTIONS=@elf_shlib_list_options@ \
- -DELF_PLT_UNWIND_LIST_OPTIONS=@elf_plt_unwind_list_options@
+ -DELF_PLT_UNWIND_LIST_OPTIONS=@elf_plt_unwind_list_options@ \
+ -DSYSCONFDIR="\"$(sysconfdir)\""
WARN_CFLAGS = @WARN_CFLAGS@
NO_WERROR = @NO_WERROR@
- AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS)
+ AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CFLAGS) $(JANSSON_CFLAGS) $(ZSTD_CFLAGS)
diff --git a/ld/Makefile.in b/ld/Makefile.in
-index 2fe12e14f63..8f0c83ac8d2 100644
+index abb0565718f..6329a12a0d6 100644
--- a/ld/Makefile.in
+++ b/ld/Makefile.in
-@@ -548,7 +548,8 @@ ZLIB = @zlibdir@ -lz
+@@ -576,7 +576,8 @@ ZLIB = @zlibdir@ -lz
ZLIBINC = @zlibinc@
- ELF_CLFAGS = -DELF_LIST_OPTIONS=@elf_list_options@ \
+ ELF_CFLAGS = -DELF_LIST_OPTIONS=@elf_list_options@ \
-DELF_SHLIB_LIST_OPTIONS=@elf_shlib_list_options@ \
- -DELF_PLT_UNWIND_LIST_OPTIONS=@elf_plt_unwind_list_options@
+ -DELF_PLT_UNWIND_LIST_OPTIONS=@elf_plt_unwind_list_options@ \
+ -DSYSCONFDIR="\"$(sysconfdir)\""
- AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS)
+ AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CFLAGS) $(JANSSON_CFLAGS) $(ZSTD_CFLAGS)
diff --git a/ld/ldelf.c b/ld/ldelf.c
-index bada3ade2d7..b4784009d7a 100644
+index 2852851dcd5..187b359af86 100644
--- a/ld/ldelf.c
+++ b/ld/ldelf.c
-@@ -911,7 +911,7 @@ ldelf_check_ld_so_conf (const struct bfd_link_needed_list *l, int force,
+@@ -939,7 +939,7 @@ ldelf_check_ld_so_conf (const struct bfd_link_needed_list *l, int force,
info.path = NULL;
info.len = info.alloc = 0;
- tmppath = concat (ld_sysroot, prefix, "/etc/ld.so.conf",
-+ tmppath = concat (ld_sysconfdir, "/etc/ld.so.conf",
++ tmppath = concat (ld_sysconfdir, "/ld.so.conf",
(const char *) NULL);
if (!ldelf_parse_ld_so_conf (&info, tmppath))
{
diff --git a/ld/ldmain.c b/ld/ldmain.c
-index 08be9030cb5..f5c5a336320 100644
+index e90c2021b33..01b306e58a1 100644
--- a/ld/ldmain.c
+++ b/ld/ldmain.c
-@@ -70,6 +70,7 @@ char *program_name;
+@@ -69,6 +69,7 @@ char *program_name;
/* The prefix for system library directories. */
const char *ld_sysroot;
@@ -82,7 +82,7 @@ index 08be9030cb5..f5c5a336320 100644
/* The canonical representation of ld_sysroot. */
char *ld_canon_sysroot;
diff --git a/ld/ldmain.h b/ld/ldmain.h
-index ac7db5720d5..1cbe1771912 100644
+index 0238aed0ebd..2dd00db13b3 100644
--- a/ld/ldmain.h
+++ b/ld/ldmain.h
@@ -23,6 +23,7 @@
@@ -93,6 +93,3 @@ index ac7db5720d5..1cbe1771912 100644
extern char *ld_canon_sysroot;
extern int ld_canon_sysroot_len;
extern FILE *saved_script_handle;
---
-2.28.0
-
diff --git a/meta/recipes-devtools/binutils/binutils/0005-Point-scripts-location-to-libdir.patch b/meta/recipes-devtools/binutils/binutils/0004-Point-scripts-location-to-libdir.patch
index c31a0bc9a6..ab12c145ea 100644
--- a/meta/recipes-devtools/binutils/binutils/0005-Point-scripts-location-to-libdir.patch
+++ b/meta/recipes-devtools/binutils/binutils/0004-Point-scripts-location-to-libdir.patch
@@ -1,7 +1,7 @@
-From 39b478b7e52fb1b892a392f3c3750b9023cfabc8 Mon Sep 17 00:00:00 2001
+From 780109902b00652dfdc080607c614f210e96ae9b Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Mon, 2 Mar 2015 01:09:58 +0000
-Subject: [PATCH 05/17] Point scripts location to libdir
+Subject: [PATCH] Point scripts location to libdir
Upstream-Status: Inappropriate [debian patch]
@@ -12,10 +12,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ld/Makefile.am b/ld/Makefile.am
-index a5762227f0a..e1c665898f3 100644
+index 07801c2c3ac..a2bcffecf73 100644
--- a/ld/Makefile.am
+++ b/ld/Makefile.am
-@@ -51,7 +51,7 @@ AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS)
+@@ -51,7 +51,7 @@ AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CFLAGS) $(JANSSON_CFLAGS) $(ZSTD_CFLAGS)
# We put the scripts in the directory $(scriptdir)/ldscripts.
# We can't put the scripts in $(datadir) because the SEARCH_DIR
# directives need to be different for native and cross linkers.
@@ -25,10 +25,10 @@ index a5762227f0a..e1c665898f3 100644
EMUL = @EMUL@
EMULATION_OFILES = @EMULATION_OFILES@
diff --git a/ld/Makefile.in b/ld/Makefile.in
-index 8f0c83ac8d2..acc24ec4130 100644
+index 6329a12a0d6..15311048855 100644
--- a/ld/Makefile.in
+++ b/ld/Makefile.in
-@@ -556,7 +556,7 @@ AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS)
+@@ -584,7 +584,7 @@ AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CFLAGS) $(JANSSON_CFLAGS) $(ZSTD_CFLAGS)
# We put the scripts in the directory $(scriptdir)/ldscripts.
# We can't put the scripts in $(datadir) because the SEARCH_DIR
# directives need to be different for native and cross linkers.
@@ -37,6 +37,3 @@ index 8f0c83ac8d2..acc24ec4130 100644
BASEDIR = $(srcdir)/..
BFDDIR = $(BASEDIR)/bfd
INCDIR = $(BASEDIR)/include
---
-2.28.0
-
diff --git a/meta/recipes-devtools/binutils/binutils/0004-configure-widen-the-regexp-for-SH-architectures.patch b/meta/recipes-devtools/binutils/binutils/0004-configure-widen-the-regexp-for-SH-architectures.patch
deleted file mode 100644
index 2381c7b85e..0000000000
--- a/meta/recipes-devtools/binutils/binutils/0004-configure-widen-the-regexp-for-SH-architectures.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-From 361c2c313196c095d12d17cecf0a069107dd629b Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Mon, 2 Mar 2015 01:07:33 +0000
-Subject: [PATCH 04/17] configure: widen the regexp for SH architectures
-
-gprof needs to know about uclibc
-
-Upstream-Status: Pending
-
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
- configure | 2 +-
- configure.ac | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/configure b/configure
-index 54d0339ab9e..6782f8b6ab8 100755
---- a/configure
-+++ b/configure
-@@ -3937,7 +3937,7 @@ case "${target}" in
- nvptx*-*-*)
- noconfigdirs="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc"
- ;;
-- sh-*-*)
-+ sh*-*-* | sh64-*-*)
- case "${target}" in
- sh*-*-elf)
- ;;
-diff --git a/configure.ac b/configure.ac
-index a910c4fd6ba..55beb1dea46 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -1178,7 +1178,7 @@ case "${target}" in
- nvptx*-*-*)
- noconfigdirs="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc"
- ;;
-- sh-*-*)
-+ sh*-*-* | sh64-*-*)
- case "${target}" in
- sh*-*-elf)
- ;;
---
-2.28.0
-
diff --git a/meta/recipes-devtools/binutils/binutils/0007-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch b/meta/recipes-devtools/binutils/binutils/0005-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch
index 7f8fc9a5c0..f7c3987542 100644
--- a/meta/recipes-devtools/binutils/binutils/0007-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch
+++ b/meta/recipes-devtools/binutils/binutils/0005-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch
@@ -1,8 +1,8 @@
-From 2b81508b9af76db292cd756432b03035cb8157e0 Mon Sep 17 00:00:00 2001
+From c8cca8d2364c9f233d6e771136a4d4ff7f405c21 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Mon, 2 Mar 2015 01:39:01 +0000
-Subject: [PATCH 07/17] don't let the distro compiler point to the wrong
- installation location
+Subject: [PATCH] don't let the distro compiler point to the wrong installation
+ location
Thanks to RP for helping find the source code causing the issue.
@@ -17,10 +17,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/libiberty/Makefile.in b/libiberty/Makefile.in
-index 895f701bcd0..97a53f15bb6 100644
+index 85c4b6b6ef8..cb6e91c8f9b 100644
--- a/libiberty/Makefile.in
+++ b/libiberty/Makefile.in
-@@ -367,7 +367,8 @@ install-strip: install
+@@ -385,7 +385,8 @@ install-strip: install
# multilib-specific flags, it's overridden by FLAGS_TO_PASS from the
# default multilib, so we have to take CFLAGS into account as well,
# since it will be passed the multilib flags.
@@ -30,6 +30,3 @@ index 895f701bcd0..97a53f15bb6 100644
install_to_libdir: all
if test -n "${target_header_dir}"; then \
${mkinstalldirs} $(DESTDIR)$(libdir)/$(MULTIOSDIR); \
---
-2.28.0
-
diff --git a/meta/recipes-devtools/binutils/binutils/0008-warn-for-uses-of-system-directories-when-cross-linki.patch b/meta/recipes-devtools/binutils/binutils/0006-warn-for-uses-of-system-directories-when-cross-linki.patch
index 2356c6a60f..bf6a1a3961 100644
--- a/meta/recipes-devtools/binutils/binutils/0008-warn-for-uses-of-system-directories-when-cross-linki.patch
+++ b/meta/recipes-devtools/binutils/binutils/0006-warn-for-uses-of-system-directories-when-cross-linki.patch
@@ -1,7 +1,7 @@
-From 413075afbdb16e7cc05511682ca9e3c880acb5a7 Mon Sep 17 00:00:00 2001
+From a92c46e3703d038d7d810bdc91e8540ad9d9150a Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Fri, 15 Jan 2016 06:31:09 +0000
-Subject: [PATCH 08/17] warn for uses of system directories when cross linking
+Subject: [PATCH] warn for uses of system directories when cross linking
2008-07-02 Joseph Myers <joseph@codesourcery.com>
@@ -57,16 +57,16 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
ld/ld.h | 8 ++++++++
ld/ld.texi | 12 ++++++++++++
ld/ldfile.c | 17 +++++++++++++++++
- ld/ldlex.h | 5 +++++
- ld/ldmain.c | 2 ++
- ld/lexsup.c | 27 +++++++++++++++++++++++++++
- 9 files changed, 100 insertions(+)
+ ld/ldlex.h | 2 ++
+ ld/ldmain.c | 6 ++++--
+ ld/lexsup.c | 15 +++++++++++++++
+ 9 files changed, 87 insertions(+), 2 deletions(-)
diff --git a/ld/config.in b/ld/config.in
-index f1712107367..308e0173c16 100644
+index 52d62f06ff0..b5944e7ba55 100644
--- a/ld/config.in
+++ b/ld/config.in
-@@ -40,6 +40,9 @@
+@@ -70,6 +70,9 @@
language is requested. */
#undef ENABLE_NLS
@@ -77,10 +77,10 @@ index f1712107367..308e0173c16 100644
#undef EXTRA_SHLIB_EXTENSION
diff --git a/ld/configure b/ld/configure
-index f08ce9969ea..1c872c0db5f 100755
+index 6f8a05c3b6c..98a76d6da7f 100755
--- a/ld/configure
+++ b/ld/configure
-@@ -826,6 +826,7 @@ with_lib_path
+@@ -844,6 +844,7 @@ with_lib_path
enable_targets
enable_64_bit_bfd
with_sysroot
@@ -88,8 +88,8 @@ index f08ce9969ea..1c872c0db5f 100755
enable_gold
enable_got
enable_compressed_debug_sections
-@@ -1493,6 +1494,8 @@ Optional Features:
- --disable-largefile omit support for large files
+@@ -1534,6 +1535,8 @@ Optional Features:
+ --enable-checking enable run-time checks
--enable-targets alternative target configurations
--enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes)
+ --enable-poison-system-directories
@@ -97,7 +97,7 @@ index f08ce9969ea..1c872c0db5f 100755
--enable-gold[=ARG] build gold [ARG={default,yes,no}]
--enable-got=<type> GOT handling scheme (target, single, negative,
multigot)
-@@ -15793,6 +15796,19 @@ fi
+@@ -15566,6 +15569,19 @@ fi
@@ -118,10 +118,10 @@ index f08ce9969ea..1c872c0db5f 100755
if test "${enable_gold+set}" = set; then :
enableval=$enable_gold; case "${enableval}" in
diff --git a/ld/configure.ac b/ld/configure.ac
-index 5a4938afdb0..dbbbde74b04 100644
+index 4a11787ae71..104a531fb0f 100644
--- a/ld/configure.ac
+++ b/ld/configure.ac
-@@ -94,6 +94,16 @@ AC_SUBST(use_sysroot)
+@@ -103,6 +103,16 @@ AC_SUBST(use_sysroot)
AC_SUBST(TARGET_SYSTEM_ROOT)
AC_SUBST(TARGET_SYSTEM_ROOT_DEFINE)
@@ -139,32 +139,32 @@ index 5a4938afdb0..dbbbde74b04 100644
dnl "install_as_default" is set to false if gold is the default linker.
dnl "installed_linker" is the installed BFD linker name.
diff --git a/ld/ld.h b/ld/ld.h
-index 1790dc81a66..73f832eb169 100644
+index 54d9079678c..9f0163b2911 100644
--- a/ld/ld.h
+++ b/ld/ld.h
@@ -166,6 +166,14 @@ typedef struct
in the linker script. */
- bfd_boolean force_group_allocation;
+ bool force_group_allocation;
+ /* If TRUE (the default) warn for uses of system directories when
+ cross linking. */
-+ bfd_boolean poison_system_directories;
++ bool poison_system_directories;
+
+ /* If TRUE (default FALSE) give an error for uses of system
+ directories when cross linking instead of a warning. */
-+ bfd_boolean error_poison_system_directories;
++ bool error_poison_system_directories;
+
/* Big or little endian as set on command line. */
enum endian_enum endian;
diff --git a/ld/ld.texi b/ld/ld.texi
-index 2a93e9456ac..3eeb70607fd 100644
+index 4fda259a552..22685f5f1dd 100644
--- a/ld/ld.texi
+++ b/ld/ld.texi
-@@ -2655,6 +2655,18 @@ string identifying the original linked file does not change.
-
- Passing @code{none} for @var{style} disables the setting from any
- @code{--build-id} options earlier on the command line.
+@@ -3119,6 +3119,18 @@ creation of the metadata note, if one had been enabled by an earlier
+ occurrence of the --package-metadata option.
+ If the linker has been built with libjansson, then the JSON string
+ will be validated.
+
+@kindex --no-poison-system-directories
+@item --no-poison-system-directories
@@ -181,10 +181,10 @@ index 2a93e9456ac..3eeb70607fd 100644
@c man end
diff --git a/ld/ldfile.c b/ld/ldfile.c
-index e39170b5d94..fadc248a140 100644
+index dc9875d8813..49d899ee49d 100644
--- a/ld/ldfile.c
+++ b/ld/ldfile.c
-@@ -117,6 +117,23 @@ ldfile_add_library_path (const char *name, bfd_boolean cmdline)
+@@ -327,6 +327,23 @@ ldfile_add_library_path (const char *name, bool cmdline)
new_dirs->name = concat (ld_sysroot, name + strlen ("$SYSROOT"), (const char *) NULL);
else
new_dirs->name = xstrdup (name);
@@ -209,54 +209,57 @@ index e39170b5d94..fadc248a140 100644
/* Try to open a BFD for a lang_input_statement. */
diff --git a/ld/ldlex.h b/ld/ldlex.h
-index 5ea083ebeb3..941dc5f3dc8 100644
+index 161a9d4d8dc..757fe2f7650 100644
--- a/ld/ldlex.h
+++ b/ld/ldlex.h
-@@ -155,6 +155,11 @@ enum option_values
- OPTION_NON_CONTIGUOUS_REGIONS,
- OPTION_NON_CONTIGUOUS_REGIONS_WARNINGS,
- OPTION_DEPENDENCY_FILE,
-+ OPTION_CTF_VARIABLES,
-+ OPTION_NO_CTF_VARIABLES,
-+ OPTION_CTF_SHARE_TYPES,
+@@ -147,6 +147,8 @@ enum option_values
+ OPTION_PLUGIN,
+ OPTION_PLUGIN_OPT,
+ #endif /* BFD_SUPPORTS_PLUGINS */
+ OPTION_NO_POISON_SYSTEM_DIRECTORIES,
+ OPTION_ERROR_POISON_SYSTEM_DIRECTORIES,
- };
-
- /* The initial parser states. */
+ OPTION_DEFAULT_SCRIPT,
+ OPTION_PRINT_OUTPUT_FORMAT,
+ OPTION_PRINT_SYSROOT,
diff --git a/ld/ldmain.c b/ld/ldmain.c
-index f5c5a336320..516ba0360e2 100644
+index 01b306e58a1..eddefc24332 100644
--- a/ld/ldmain.c
+++ b/ld/ldmain.c
-@@ -322,6 +322,8 @@ main (int argc, char **argv)
- command_line.warn_mismatch = TRUE;
- command_line.warn_search_mismatch = TRUE;
+@@ -326,6 +326,8 @@ main (int argc, char **argv)
+ command_line.warn_mismatch = true;
+ command_line.warn_search_mismatch = true;
command_line.check_section_addresses = -1;
-+ command_line.poison_system_directories = TRUE;
-+ command_line.error_poison_system_directories = FALSE;
++ command_line.poison_system_directories = true;
++ command_line.error_poison_system_directories = false;
/* We initialize DEMANGLING based on the environment variable
COLLECT_NO_DEMANGLE. The gcc collect2 program will demangle the
+@@ -1458,7 +1460,7 @@ undefined_symbol (struct bfd_link_info *info,
+ argv[1] = "undefined-symbol";
+ argv[2] = (char *) name;
+ argv[3] = NULL;
+-
++
+ if (verbose)
+ einfo (_("%P: About to run error handling script '%s' with arguments: '%s' '%s'\n"),
+ argv[0], argv[1], argv[2]);
+@@ -1479,7 +1481,7 @@ undefined_symbol (struct bfd_link_info *info,
+ carry on to issue the normal error message. */
+ }
+ #endif /* SUPPORT_ERROR_HANDLING_SCRIPT */
+-
++
+ if (section != NULL)
+ {
+ if (error_count < MAX_ERRORS_IN_A_ROW)
diff --git a/ld/lexsup.c b/ld/lexsup.c
-index 58c6c078325..879e7bb7658 100644
+index 099dff8ecde..e9939000b2e 100644
--- a/ld/lexsup.c
+++ b/ld/lexsup.c
-@@ -572,6 +572,26 @@ static const struct ld_option ld_options[] =
- { {"no-print-map-discarded", no_argument, NULL, OPTION_NO_PRINT_MAP_DISCARDED},
- '\0', NULL, N_("Do not show discarded sections in map file output"),
+@@ -642,6 +642,14 @@ static const struct ld_option ld_options[] =
+ " <method> is: share-unconflicted (default),\n"
+ " share-duplicated"),
TWO_DASHES },
-+ { {"ctf-variables", no_argument, NULL, OPTION_CTF_VARIABLES},
-+ '\0', NULL, N_("Emit names and types of static variables in CTF"),
-+ TWO_DASHES },
-+ { {"no-ctf-variables", no_argument, NULL, OPTION_NO_CTF_VARIABLES},
-+ '\0', NULL, N_("Do not emit names and types of static variables in CTF"),
-+ TWO_DASHES },
-+ { {"ctf-share-types=<method>", required_argument, NULL,
-+ OPTION_CTF_SHARE_TYPES},
-+ '\0', NULL, N_("How to share CTF types between translation units.\n"
-+ " <method> is: share-unconflicted (default),\n"
-+ " share-duplicated"),
-+ TWO_DASHES },
+ { {"no-poison-system-directories", no_argument, NULL,
+ OPTION_NO_POISON_SYSTEM_DIRECTORIES},
+ '\0', NULL, N_("Do not warn for -L options using system directories"),
@@ -268,20 +271,17 @@ index 58c6c078325..879e7bb7658 100644
};
#define OPTION_COUNT ARRAY_SIZE (ld_options)
-@@ -1632,6 +1652,13 @@ parse_args (unsigned argc, char **argv)
+@@ -1818,6 +1826,13 @@ parse_args (unsigned argc, char **argv)
- case OPTION_PRINT_MAP_DISCARDED:
- config.print_map_discarded = TRUE;
+ case OPTION_PRINT_MAP_LOCALS:
+ config.print_map_locals = true;
+
+ case OPTION_NO_POISON_SYSTEM_DIRECTORIES:
-+ command_line.poison_system_directories = FALSE;
++ command_line.poison_system_directories = false;
+ break;
+
+ case OPTION_ERROR_POISON_SYSTEM_DIRECTORIES:
-+ command_line.error_poison_system_directories = TRUE;
++ command_line.error_poison_system_directories = true;
break;
case OPTION_DEPENDENCY_FILE:
---
-2.28.0
-
diff --git a/meta/recipes-devtools/binutils/binutils/0011-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch b/meta/recipes-devtools/binutils/binutils/0007-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch
index 10c3d80865..f9fa0d4f78 100644
--- a/meta/recipes-devtools/binutils/binutils/0011-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch
+++ b/meta/recipes-devtools/binutils/binutils/0007-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch
@@ -1,37 +1,37 @@
-From 7836f8aa56ef0f18c8658dc7e4952a9d097ba7e8 Mon Sep 17 00:00:00 2001
+From d35fd95eee9930ab41d9ad637eacb35aa9fe6f44 Mon Sep 17 00:00:00 2001
From: Zhenhua Luo <zhenhua.luo@nxp.com>
Date: Sat, 11 Jun 2016 22:08:29 -0500
-Subject: [PATCH 11/17] fix the incorrect assembling for ppc wait mnemonic
+Subject: [PATCH] fix the incorrect assembling for ppc wait mnemonic
-Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
+The wait mnemonic for ppc targets is incorrectly assembled into 0x7c00003c due
+to duplicated address definition with waitasec instruction. The issue causes
+kernel boot calltrace for ppc targets when wait instruction is executed.
Upstream-Status: Pending
+Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
---
opcodes/ppc-opc.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/opcodes/ppc-opc.c b/opcodes/ppc-opc.c
-index 5e20d617664..4c9656ecf08 100644
+index e55bfe846cd..66b37e36e6f 100644
--- a/opcodes/ppc-opc.c
+++ b/opcodes/ppc-opc.c
-@@ -6265,8 +6265,6 @@ const struct powerpc_opcode powerpc_opcodes[] = {
+@@ -7138,8 +7138,6 @@ const struct powerpc_opcode powerpc_opcodes[] = {
{"waitasec", X(31,30), XRTRARB_MASK, POWER8, POWER9, {0}},
- {"waitrsv", XWCPL(31,30,1,0),0xffffffff, POWER10, 0, {0}},
- {"pause_short", XWCPL(31,30,2,0),0xffffffff, POWER10, 0, {0}},
+ {"waitrsv", XWCPL(31,30,1,0),0xffffffff, POWER10, EXT, {0}},
+ {"pause_short", XWCPL(31,30,2,0),0xffffffff, POWER10, EXT, {0}},
-{"wait", X(31,30), XWCPL_MASK, POWER10, 0, {WC, PL}},
-{"wait", X(31,30), XWC_MASK, POWER9, POWER10, {WC}},
{"lwepx", X(31,31), X_MASK, E500MC|PPCA2, 0, {RT, RA0, RB}},
-@@ -6326,7 +6324,7 @@ const struct powerpc_opcode powerpc_opcodes[] = {
+@@ -7193,7 +7191,7 @@ const struct powerpc_opcode powerpc_opcodes[] = {
- {"waitrsv", X(31,62)|(1<<21), 0xffffffff, E500MC|PPCA2, 0, {0}},
- {"waitimpl", X(31,62)|(2<<21), 0xffffffff, E500MC|PPCA2, 0, {0}},
+ {"waitrsv", X(31,62)|(1<<21), 0xffffffff, E500MC|PPCA2, EXT, {0}},
+ {"waitimpl", X(31,62)|(2<<21), 0xffffffff, E500MC|PPCA2, EXT, {0}},
-{"wait", X(31,62), XWC_MASK, E500MC|PPCA2, 0, {WC}},
+{"wait", X(31,62), XWC_MASK, E500MC|PPCA2|POWER9|POWER10, 0, {WC}},
{"dcbstep", XRT(31,63,0), XRT_MASK, E500MC|PPCA2, 0, {RA0, RB}},
---
-2.28.0
-
diff --git a/meta/recipes-devtools/binutils/binutils/0013-Use-libtool-2.4.patch b/meta/recipes-devtools/binutils/binutils/0008-Use-libtool-2.4.patch
index 987a96f4b7..05f1ed0dc5 100644
--- a/meta/recipes-devtools/binutils/binutils/0013-Use-libtool-2.4.patch
+++ b/meta/recipes-devtools/binutils/binutils/0008-Use-libtool-2.4.patch
@@ -1,7 +1,7 @@
-From 7e2ddee8704c9c3b73760dd9464b18fade563d85 Mon Sep 17 00:00:00 2001
+From da089ddacb6506f406acd8939389183a4356ebf0 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Sun, 14 Feb 2016 17:04:07 +0000
-Subject: [PATCH 13/17] Use libtool 2.4
+Subject: [PATCH] Use libtool 2.4
get libtool sysroot support
@@ -9,27 +9,76 @@ Upstream-Status: Pending
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
- bfd/configure | 1322 +++++++++++++++-----
- bfd/configure.ac | 2 +-
- binutils/configure | 1320 +++++++++++++++-----
- gas/configure | 1320 +++++++++++++++-----
- gprof/configure | 1320 +++++++++++++++-----
- ld/configure | 1695 ++++++++++++++++++-------
- libctf/configure | 1319 +++++++++++++++-----
- libtool.m4 | 1080 +++++++++++-----
- ltmain.sh | 2925 +++++++++++++++++++++++++++++---------------
- ltoptions.m4 | 2 +-
- ltversion.m4 | 12 +-
- lt~obsolete.m4 | 2 +-
- opcodes/configure | 1320 +++++++++++++++-----
- zlib/configure | 1320 +++++++++++++++-----
- 14 files changed, 10931 insertions(+), 4028 deletions(-)
+ bfd/Makefile.in | 3 +
+ bfd/configure | 1333 +++++++++---
+ bfd/configure.ac | 2 +-
+ binutils/Makefile.in | 3 +
+ binutils/configure | 1331 +++++++++---
+ gas/Makefile.in | 3 +
+ gas/configure | 1331 +++++++++---
+ gprof/Makefile.in | 3 +
+ gprof/configure | 1331 +++++++++---
+ gprofng/Makefile.in | 2 +
+ gprofng/configure | 1693 ++++++++++++----
+ gprofng/doc/Makefile.in | 2 +
+ gprofng/gp-display-html/Makefile.in | 2 +
+ gprofng/libcollector/Makefile.in | 2 +
+ gprofng/libcollector/configure | 1693 ++++++++++++----
+ gprofng/src/Makefile.in | 2 +
+ ld/Makefile.in | 3 +
+ ld/configure | 1694 ++++++++++++----
+ libbacktrace/Makefile.in | 108 +-
+ libbacktrace/aclocal.m4 | 73 +-
+ libbacktrace/configure | 1441 +++++++++----
+ libctf/Makefile.in | 2 +
+ libctf/configure | 1334 +++++++++---
+ libsframe/Makefile.in | 344 ++--
+ libsframe/aclocal.m4 | 220 +-
+ libsframe/configure | 1553 ++++++++++----
+ libtool.m4 | 1085 ++++++----
+ ltmain.sh | 2921 ++++++++++++++++++---------
+ ltoptions.m4 | 2 +-
+ ltversion.m4 | 12 +-
+ lt~obsolete.m4 | 2 +-
+ opcodes/Makefile.in | 3 +
+ opcodes/configure | 1331 +++++++++---
+ zlib/Makefile.in | 3 +
+ zlib/configure | 1331 +++++++++---
+ 35 files changed, 16094 insertions(+), 6104 deletions(-)
+diff --git a/bfd/Makefile.in b/bfd/Makefile.in
+index faaa0c424b8..5371e093163 100644
+--- a/bfd/Makefile.in
++++ b/bfd/Makefile.in
+@@ -340,6 +340,7 @@ DATADIRNAME = @DATADIRNAME@
+ DEBUGDIR = @DEBUGDIR@
+ DEFS = @DEFS@
+ DEPDIR = @DEPDIR@
++DLLTOOL = @DLLTOOL@
+ DSYMUTIL = @DSYMUTIL@
+ DUMPBIN = @DUMPBIN@
+ ECHO_C = @ECHO_C@
+@@ -379,6 +380,7 @@ LTLIBINTL = @LTLIBINTL@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAINT = @MAINT@
+ MAKEINFO = @MAKEINFO@
++MANIFEST_TOOL = @MANIFEST_TOOL@
+ MKDIR_P = @MKDIR_P@
+ MKINSTALLDIRS = @MKINSTALLDIRS@
+ MSGFMT = @MSGFMT@
+@@ -425,6 +427,7 @@ abs_builddir = @abs_builddir@
+ abs_srcdir = @abs_srcdir@
+ abs_top_builddir = @abs_top_builddir@
+ abs_top_srcdir = @abs_top_srcdir@
++ac_ct_AR = @ac_ct_AR@
+ ac_ct_CC = @ac_ct_CC@
+ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
+ all_backends = @all_backends@
diff --git a/bfd/configure b/bfd/configure
-index 0340ed541b5..2012656b3b7 100755
+index acbac2f364a..a53a9d52719 100755
--- a/bfd/configure
+++ b/bfd/configure
-@@ -704,6 +704,9 @@ OTOOL
+@@ -712,6 +712,9 @@ OTOOL
LIPO
NMEDIT
DSYMUTIL
@@ -39,7 +88,7 @@ index 0340ed541b5..2012656b3b7 100755
OBJDUMP
LN_S
NM
-@@ -822,6 +825,7 @@ enable_static
+@@ -830,6 +833,7 @@ enable_static
with_pic
enable_fast_install
with_gnu_ld
@@ -47,7 +96,7 @@ index 0340ed541b5..2012656b3b7 100755
enable_libtool_lock
enable_plugins
enable_largefile
-@@ -1504,6 +1508,8 @@ Optional Packages:
+@@ -1526,6 +1530,8 @@ Optional Packages:
--with-pic try to use only PIC/non-PIC objects [default=use
both]
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
@@ -56,7 +105,7 @@ index 0340ed541b5..2012656b3b7 100755
--with-mmap try using mmap for BFD input files if available
--with-separate-debug-dir=DIR
Look for global separate debug info in DIR
-@@ -5693,8 +5699,8 @@ esac
+@@ -5063,8 +5069,8 @@ esac
@@ -67,7 +116,7 @@ index 0340ed541b5..2012656b3b7 100755
-@@ -5734,7 +5740,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
+@@ -5104,7 +5110,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
$as_echo_n "checking how to print strings... " >&6; }
# Test print first, because it will be a builtin if present.
@@ -76,7 +125,7 @@ index 0340ed541b5..2012656b3b7 100755
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
ECHO='print -r --'
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
-@@ -6420,8 +6426,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6;
+@@ -5797,8 +5803,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6;
# Try some XSI features
xsi_shell=no
( _lt_dummy="a/b/c"
@@ -87,7 +136,7 @@ index 0340ed541b5..2012656b3b7 100755
&& eval 'test $(( 1 + 1 )) -eq 2 \
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
&& xsi_shell=yes
-@@ -6470,6 +6476,80 @@ esac
+@@ -5847,6 +5853,80 @@ esac
@@ -168,7 +217,7 @@ index 0340ed541b5..2012656b3b7 100755
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
$as_echo_n "checking for $LD option to reload object files... " >&6; }
if ${lt_cv_ld_reload_flag+:} false; then :
-@@ -6486,6 +6566,11 @@ case $reload_flag in
+@@ -5863,6 +5943,11 @@ case $reload_flag in
esac
reload_cmds='$LD$reload_flag -o $output$reload_objs'
case $host_os in
@@ -180,7 +229,7 @@ index 0340ed541b5..2012656b3b7 100755
darwin*)
if test "$GCC" = yes; then
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
-@@ -6654,7 +6739,8 @@ mingw* | pw32*)
+@@ -6031,7 +6116,8 @@ mingw* | pw32*)
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
lt_cv_file_magic_cmd='func_win32_libid'
else
@@ -190,7 +239,7 @@ index 0340ed541b5..2012656b3b7 100755
lt_cv_file_magic_cmd='$OBJDUMP -f'
fi
;;
-@@ -6808,6 +6894,21 @@ esac
+@@ -6190,6 +6276,21 @@ esac
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
$as_echo "$lt_cv_deplibs_check_method" >&6; }
@@ -212,7 +261,7 @@ index 0340ed541b5..2012656b3b7 100755
file_magic_cmd=$lt_cv_file_magic_cmd
deplibs_check_method=$lt_cv_deplibs_check_method
test -z "$deplibs_check_method" && deplibs_check_method=unknown
-@@ -6821,11 +6922,164 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown
+@@ -6205,6 +6306,157 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown
@@ -226,11 +275,7 @@ index 0340ed541b5..2012656b3b7 100755
+
+
+
-
-
- if test -n "$ac_tool_prefix"; then
-- # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
--set dummy ${ac_tool_prefix}ar; ac_word=$2
++if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
+set dummy ${ac_tool_prefix}dlltool; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
@@ -371,7 +416,15 @@ index 0340ed541b5..2012656b3b7 100755
+
+
+
-+if test -n "$ac_tool_prefix"; then
+ plugin_option=
+ plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
+ for plugin in $plugin_names; do
+@@ -6219,8 +6471,10 @@ for plugin in $plugin_names; do
+ done
+
+ if test -n "$ac_tool_prefix"; then
+- # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
+-set dummy ${ac_tool_prefix}ar; ac_word=$2
+ for ac_prog in ar
+ do
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
@@ -379,7 +432,7 @@ index 0340ed541b5..2012656b3b7 100755
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_prog_AR+:} false; then :
-@@ -6841,7 +7095,7 @@ do
+@@ -6236,7 +6490,7 @@ do
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
@@ -388,7 +441,7 @@ index 0340ed541b5..2012656b3b7 100755
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
-@@ -6861,11 +7115,15 @@ $as_echo "no" >&6; }
+@@ -6256,11 +6510,15 @@ $as_echo "no" >&6; }
fi
@@ -407,7 +460,7 @@ index 0340ed541b5..2012656b3b7 100755
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_prog_ac_ct_AR+:} false; then :
-@@ -6881,7 +7139,7 @@ do
+@@ -6276,7 +6534,7 @@ do
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
@@ -416,7 +469,7 @@ index 0340ed541b5..2012656b3b7 100755
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
-@@ -6900,6 +7158,10 @@ else
+@@ -6295,6 +6553,10 @@ else
$as_echo "no" >&6; }
fi
@@ -427,7 +480,7 @@ index 0340ed541b5..2012656b3b7 100755
if test "x$ac_ct_AR" = x; then
AR="false"
else
-@@ -6911,16 +7173,72 @@ ac_tool_warned=yes ;;
+@@ -6306,25 +6568,20 @@ ac_tool_warned=yes ;;
esac
AR=$ac_ct_AR
fi
@@ -436,20 +489,37 @@ index 0340ed541b5..2012656b3b7 100755
fi
-test -z "$AR" && AR=ar
+-if test -n "$plugin_option"; then
+- if $AR --help 2>&1 | grep -q "\--plugin"; then
+- touch conftest.c
+- $AR $plugin_option rc conftest.a conftest.c
+- if test "$?" != 0; then
+- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
++ touch conftest.c
++ $AR $plugin_option rc conftest.a conftest.c
++ if test "$?" != 0; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
+ $as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
+- else
+- AR="$AR $plugin_option"
+- fi
+- rm -f conftest.*
++ else
++ AR="$AR $plugin_option"
+ fi
+-fi
-test -z "$AR_FLAGS" && AR_FLAGS=cru
++ rm -f conftest.*
+: ${AR=ar}
+: ${AR_FLAGS=cru}
+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
+
+
+
+@@ -6335,6 +6592,63 @@ test -z "$AR_FLAGS" && AR_FLAGS=cru
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
+$as_echo_n "checking for archiver @FILE support... " >&6; }
+if ${lt_cv_ar_at_file+:} false; then :
@@ -462,7 +532,7 @@ index 0340ed541b5..2012656b3b7 100755
+int
+main ()
+{
-
++
+ ;
+ return 0;
+}
@@ -488,23 +558,29 @@ index 0340ed541b5..2012656b3b7 100755
+ fi
+ fi
+ rm -f conftest.* libconftest.a
-
++
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-
++
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
+$as_echo "$lt_cv_ar_at_file" >&6; }
-
++
+if test "x$lt_cv_ar_at_file" = xno; then
+ archiver_list_spec=
+else
+ archiver_list_spec=$lt_cv_ar_at_file
+fi
++
++
++
++
++
++
-
-
-@@ -7262,8 +7580,8 @@ esac
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
+@@ -6675,8 +6989,8 @@ esac
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
# Transform an extracted symbol line into symbol name and symbol address
@@ -515,7 +591,7 @@ index 0340ed541b5..2012656b3b7 100755
# Handle CRLF in mingw tool chain
opt_cr=
-@@ -7299,6 +7617,7 @@ for ac_symprfx in "" "_"; do
+@@ -6712,6 +7026,7 @@ for ac_symprfx in "" "_"; do
else
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
fi
@@ -523,7 +599,7 @@ index 0340ed541b5..2012656b3b7 100755
# Check to see that the pipe works correctly.
pipe_works=no
-@@ -7340,6 +7659,18 @@ _LT_EOF
+@@ -6753,6 +7068,18 @@ _LT_EOF
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
cat <<_LT_EOF > conftest.$ac_ext
@@ -542,7 +618,7 @@ index 0340ed541b5..2012656b3b7 100755
#ifdef __cplusplus
extern "C" {
#endif
-@@ -7351,7 +7682,7 @@ _LT_EOF
+@@ -6764,7 +7091,7 @@ _LT_EOF
cat <<_LT_EOF >> conftest.$ac_ext
/* The mapping between symbol names and symbols. */
@@ -551,7 +627,7 @@ index 0340ed541b5..2012656b3b7 100755
const char *name;
void *address;
}
-@@ -7377,8 +7708,8 @@ static const void *lt_preloaded_setup() {
+@@ -6790,8 +7117,8 @@ static const void *lt_preloaded_setup() {
_LT_EOF
# Now try linking the two files.
mv conftest.$ac_objext conftstm.$ac_objext
@@ -562,7 +638,7 @@ index 0340ed541b5..2012656b3b7 100755
LIBS="conftstm.$ac_objext"
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
-@@ -7388,8 +7719,8 @@ _LT_EOF
+@@ -6801,8 +7128,8 @@ _LT_EOF
test $ac_status = 0; } && test -s conftest${ac_exeext}; then
pipe_works=yes
fi
@@ -573,7 +649,7 @@ index 0340ed541b5..2012656b3b7 100755
else
echo "cannot find nm_test_func in $nlist" >&5
fi
-@@ -7426,6 +7757,16 @@ else
+@@ -6839,6 +7166,14 @@ else
$as_echo "ok" >&6; }
fi
@@ -585,12 +661,10 @@ index 0340ed541b5..2012656b3b7 100755
+fi
+
+
-+
-+
-@@ -7442,6 +7783,45 @@ fi
+@@ -6857,6 +7192,47 @@ fi
@@ -633,10 +707,12 @@ index 0340ed541b5..2012656b3b7 100755
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
+$as_echo "${lt_sysroot:-no}" >&6; }
++
++
-@@ -7653,6 +8033,123 @@ esac
+@@ -7066,6 +7442,123 @@ esac
need_locks="$enable_libtool_lock"
@@ -760,7 +836,7 @@ index 0340ed541b5..2012656b3b7 100755
case $host_os in
rhapsody* | darwin*)
-@@ -8216,6 +8713,8 @@ _LT_EOF
+@@ -7629,6 +8122,8 @@ _LT_EOF
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
echo "$AR cru libconftest.a conftest.o" >&5
$AR cru libconftest.a conftest.o 2>&5
@@ -769,26 +845,7 @@ index 0340ed541b5..2012656b3b7 100755
cat > conftest.c << _LT_EOF
int main() { return 0;}
_LT_EOF
-@@ -8380,7 +8879,8 @@ fi
- LIBTOOL_DEPS="$ltmain"
-
- # Always use our own libtool.
--LIBTOOL='$(SHELL) $(top_builddir)/libtool'
-+LIBTOOL='$(SHELL) $(top_builddir)'
-+LIBTOOL="$LIBTOOL/${host_alias}-libtool"
-
-
-
-@@ -8469,7 +8969,7 @@ aix3*)
- esac
-
- # Global variables:
--ofile=libtool
-+ofile=${host_alias}-libtool
- can_build_shared=yes
-
- # All known linkers require a `.a' archive for static linking (except MSVC,
-@@ -8767,8 +9267,6 @@ fi
+@@ -8182,8 +8677,6 @@ fi
lt_prog_compiler_pic=
lt_prog_compiler_static=
@@ -797,7 +854,7 @@ index 0340ed541b5..2012656b3b7 100755
if test "$GCC" = yes; then
lt_prog_compiler_wl='-Wl,'
-@@ -8934,6 +9432,12 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
+@@ -8349,6 +8842,12 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
lt_prog_compiler_pic='--shared'
lt_prog_compiler_static='--static'
;;
@@ -810,7 +867,7 @@ index 0340ed541b5..2012656b3b7 100755
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
# Portland Group compilers (*not* the Pentium gcc compiler,
# which looks to be a dead project)
-@@ -8996,7 +9500,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
+@@ -8411,7 +8910,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
lt_prog_compiler_pic='-KPIC'
lt_prog_compiler_static='-Bstatic'
case $cc_basename in
@@ -819,7 +876,7 @@ index 0340ed541b5..2012656b3b7 100755
lt_prog_compiler_wl='-Qoption ld ';;
*)
lt_prog_compiler_wl='-Wl,';;
-@@ -9053,13 +9557,17 @@ case $host_os in
+@@ -8468,13 +8967,17 @@ case $host_os in
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
;;
esac
@@ -843,7 +900,7 @@ index 0340ed541b5..2012656b3b7 100755
#
# Check to make sure the PIC flag actually works.
-@@ -9120,6 +9628,11 @@ fi
+@@ -8535,6 +9038,11 @@ fi
@@ -855,7 +912,7 @@ index 0340ed541b5..2012656b3b7 100755
#
# Check to make sure the static flag actually works.
#
-@@ -9470,7 +9983,8 @@ _LT_EOF
+@@ -8885,7 +9393,8 @@ _LT_EOF
allow_undefined_flag=unsupported
always_export_symbols=no
enable_shared_with_static_runtimes=yes
@@ -865,7 +922,7 @@ index 0340ed541b5..2012656b3b7 100755
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
-@@ -9569,12 +10083,12 @@ _LT_EOF
+@@ -8984,12 +9493,12 @@ _LT_EOF
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
hardcode_libdir_flag_spec=
hardcode_libdir_flag_spec_ld='-rpath $libdir'
@@ -880,7 +937,7 @@ index 0340ed541b5..2012656b3b7 100755
fi
;;
esac
-@@ -9588,8 +10102,8 @@ _LT_EOF
+@@ -9003,8 +9512,8 @@ _LT_EOF
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
wlarc=
else
@@ -891,7 +948,7 @@ index 0340ed541b5..2012656b3b7 100755
fi
;;
-@@ -9607,8 +10121,8 @@ _LT_EOF
+@@ -9022,8 +9531,8 @@ _LT_EOF
_LT_EOF
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -902,7 +959,7 @@ index 0340ed541b5..2012656b3b7 100755
else
ld_shlibs=no
fi
-@@ -9654,8 +10168,8 @@ _LT_EOF
+@@ -9069,8 +9578,8 @@ _LT_EOF
*)
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -913,7 +970,7 @@ index 0340ed541b5..2012656b3b7 100755
else
ld_shlibs=no
fi
-@@ -9785,7 +10299,13 @@ _LT_EOF
+@@ -9200,7 +9709,13 @@ _LT_EOF
allow_undefined_flag='-berok'
# Determine the default libpath from the value encoded in an
# empty executable.
@@ -928,7 +985,7 @@ index 0340ed541b5..2012656b3b7 100755
/* end confdefs.h. */
int
-@@ -9798,22 +10318,29 @@ main ()
+@@ -9213,22 +9728,29 @@ main ()
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
@@ -971,7 +1028,7 @@ index 0340ed541b5..2012656b3b7 100755
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
-@@ -9825,7 +10352,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+@@ -9240,7 +9762,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
else
# Determine the default libpath from the value encoded in an
# empty executable.
@@ -986,7 +1043,7 @@ index 0340ed541b5..2012656b3b7 100755
/* end confdefs.h. */
int
-@@ -9838,22 +10371,29 @@ main ()
+@@ -9253,22 +9781,29 @@ main ()
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
@@ -1029,7 +1086,7 @@ index 0340ed541b5..2012656b3b7 100755
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
# Warning - without using the other run time loading flags,
-@@ -9898,20 +10438,63 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+@@ -9313,20 +9848,63 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
# Microsoft Visual C++.
# hardcode_libdir_flag_spec is actually meaningless, as there is
# no search path for DLLs.
@@ -1107,7 +1164,7 @@ index 0340ed541b5..2012656b3b7 100755
;;
darwin* | rhapsody*)
-@@ -9972,7 +10555,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+@@ -9387,7 +9965,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
freebsd* | dragonfly*)
@@ -1116,7 +1173,7 @@ index 0340ed541b5..2012656b3b7 100755
hardcode_libdir_flag_spec='-R$libdir'
hardcode_direct=yes
hardcode_shlibpath_var=no
-@@ -9980,7 +10563,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+@@ -9395,7 +9973,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
hpux9*)
if test "$GCC" = yes; then
@@ -1125,7 +1182,7 @@ index 0340ed541b5..2012656b3b7 100755
else
archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
fi
-@@ -9996,7 +10579,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+@@ -9411,7 +9989,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
hpux10*)
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
@@ -1134,8 +1191,8 @@ index 0340ed541b5..2012656b3b7 100755
else
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
fi
-@@ -10020,10 +10603,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
- archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
+@@ -9435,10 +10013,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+ archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
;;
ia64*)
- archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
@@ -1147,7 +1204,7 @@ index 0340ed541b5..2012656b3b7 100755
;;
esac
else
-@@ -10102,23 +10685,36 @@ fi
+@@ -9517,23 +10095,36 @@ fi
irix5* | irix6* | nonstopux*)
if test "$GCC" = yes; then
@@ -1192,7 +1249,7 @@ index 0340ed541b5..2012656b3b7 100755
else
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
-@@ -10203,7 +10799,7 @@ rm -f core conftest.err conftest.$ac_objext \
+@@ -9618,7 +10209,7 @@ rm -f core conftest.err conftest.$ac_objext \
osf4* | osf5*) # as osf3* with the addition of -msym flag
if test "$GCC" = yes; then
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
@@ -1201,7 +1258,7 @@ index 0340ed541b5..2012656b3b7 100755
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
else
allow_undefined_flag=' -expect_unresolved \*'
-@@ -10222,9 +10818,9 @@ rm -f core conftest.err conftest.$ac_objext \
+@@ -9637,9 +10228,9 @@ rm -f core conftest.err conftest.$ac_objext \
no_undefined_flag=' -z defs'
if test "$GCC" = yes; then
wlarc='${wl}'
@@ -1213,7 +1270,7 @@ index 0340ed541b5..2012656b3b7 100755
else
case `$CC -V 2>&1` in
*"Compilers 5.0"*)
-@@ -10800,8 +11396,9 @@ cygwin* | mingw* | pw32* | cegcc*)
+@@ -10215,8 +10806,9 @@ cygwin* | mingw* | pw32* | cegcc*)
need_version=no
need_lib_prefix=no
@@ -1225,7 +1282,7 @@ index 0340ed541b5..2012656b3b7 100755
library_names_spec='$libname.dll.a'
# DLL is installed to $(libdir)/../bin by postinstall_cmds
postinstall_cmds='base_file=`basename \${file}`~
-@@ -10834,13 +11431,71 @@ cygwin* | mingw* | pw32* | cegcc*)
+@@ -10249,13 +10841,71 @@ cygwin* | mingw* | pw32* | cegcc*)
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
;;
esac
@@ -1298,25 +1355,16 @@ index 0340ed541b5..2012656b3b7 100755
# FIXME: first we should search . and the directory the executable is in
shlibpath_var=PATH
;;
-@@ -10932,7 +11587,7 @@ haiku*)
- soname_spec='${libname}${release}${shared_ext}$major'
- shlibpath_var=LIBRARY_PATH
- shlibpath_overrides_runpath=yes
-- sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
-+ sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
- hardcode_into_libs=yes
- ;;
-
-@@ -11728,7 +12383,7 @@ else
+@@ -11157,7 +11807,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
--#line 11731 "configure"
+-#line 11160 "configure"
+#line $LINENO "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
-@@ -11772,10 +12427,10 @@ else
+@@ -11201,10 +11851,10 @@ else
/* When -fvisbility=hidden is used, assume the code has been annotated
correspondingly for the symbols needed. */
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -1329,16 +1377,16 @@ index 0340ed541b5..2012656b3b7 100755
int main ()
{
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
-@@ -11834,7 +12489,7 @@ else
+@@ -11263,7 +11913,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
--#line 11837 "configure"
+-#line 11266 "configure"
+#line $LINENO "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
-@@ -11878,10 +12533,10 @@ else
+@@ -11307,10 +11957,10 @@ else
/* When -fvisbility=hidden is used, assume the code has been annotated
correspondingly for the symbols needed. */
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -1351,16 +1399,16 @@ index 0340ed541b5..2012656b3b7 100755
int main ()
{
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
-@@ -14578,7 +15233,7 @@ SHARED_LDFLAGS=
+@@ -15691,7 +16341,7 @@ SHARED_LDFLAGS=
if test "$enable_shared" = "yes"; then
x=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'`
if test -n "$x"; then
- SHARED_LIBADD="-L`pwd`/../libiberty/pic -liberty"
+ SHARED_LIBADD="`pwd`/../libiberty/pic/libiberty.a"
fi
+ fi
- case "${host}" in
-@@ -17197,13 +17852,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
+@@ -18313,13 +18963,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
@@ -1381,7 +1429,7 @@ index 0340ed541b5..2012656b3b7 100755
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
-@@ -17218,14 +17880,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de
+@@ -18334,14 +18991,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
@@ -1400,7 +1448,7 @@ index 0340ed541b5..2012656b3b7 100755
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
-@@ -17258,12 +17923,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q
+@@ -18374,12 +19034,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
@@ -1414,7 +1462,7 @@ index 0340ed541b5..2012656b3b7 100755
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
-@@ -17318,8 +17983,13 @@ reload_flag \
+@@ -18434,8 +19094,13 @@ reload_flag \
OBJDUMP \
deplibs_check_method \
file_magic_cmd \
@@ -1428,7 +1476,7 @@ index 0340ed541b5..2012656b3b7 100755
STRIP \
RANLIB \
CC \
-@@ -17329,12 +17999,14 @@ lt_cv_sys_global_symbol_pipe \
+@@ -18445,12 +19110,14 @@ lt_cv_sys_global_symbol_pipe \
lt_cv_sys_global_symbol_to_cdecl \
lt_cv_sys_global_symbol_to_c_name_address \
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
@@ -1444,7 +1492,7 @@ index 0340ed541b5..2012656b3b7 100755
DSYMUTIL \
NMEDIT \
LIPO \
-@@ -17350,7 +18022,6 @@ no_undefined_flag \
+@@ -18466,7 +19133,6 @@ no_undefined_flag \
hardcode_libdir_flag_spec \
hardcode_libdir_flag_spec_ld \
hardcode_libdir_separator \
@@ -1452,7 +1500,7 @@ index 0340ed541b5..2012656b3b7 100755
exclude_expsyms \
include_expsyms \
file_list_spec \
-@@ -17386,6 +18057,7 @@ module_cmds \
+@@ -18502,6 +19168,7 @@ module_cmds \
module_expsym_cmds \
export_symbols_cmds \
prelink_cmds \
@@ -1460,7 +1508,7 @@ index 0340ed541b5..2012656b3b7 100755
postinstall_cmds \
postuninstall_cmds \
finish_cmds \
-@@ -18174,7 +18846,8 @@ $as_echo X"$file" |
+@@ -19278,7 +19945,8 @@ $as_echo X"$file" |
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
#
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
@@ -1470,7 +1518,7 @@ index 0340ed541b5..2012656b3b7 100755
# Written by Gordon Matzigkeit, 1996
#
# This file is part of GNU Libtool.
-@@ -18277,19 +18950,42 @@ SP2NL=$lt_lt_SP2NL
+@@ -19381,19 +20049,42 @@ SP2NL=$lt_lt_SP2NL
# turn newlines into spaces.
NL2SP=$lt_lt_NL2SP
@@ -1514,7 +1562,7 @@ index 0340ed541b5..2012656b3b7 100755
# A symbol stripping program.
STRIP=$lt_STRIP
-@@ -18319,6 +19015,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
+@@ -19423,6 +20114,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
# Transform the output of nm in a C name address pair when lib prefix is needed.
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
@@ -1527,7 +1575,7 @@ index 0340ed541b5..2012656b3b7 100755
# The name of the directory that contains temporary libtool files.
objdir=$objdir
-@@ -18328,6 +19030,9 @@ MAGIC_CMD=$MAGIC_CMD
+@@ -19432,6 +20129,9 @@ MAGIC_CMD=$MAGIC_CMD
# Must we lock files when doing compilation?
need_locks=$lt_need_locks
@@ -1537,7 +1585,7 @@ index 0340ed541b5..2012656b3b7 100755
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
DSYMUTIL=$lt_DSYMUTIL
-@@ -18442,12 +19147,12 @@ with_gcc=$GCC
+@@ -19546,12 +20246,12 @@ with_gcc=$GCC
# Compiler flag to turn off builtin functions.
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
@@ -1553,7 +1601,7 @@ index 0340ed541b5..2012656b3b7 100755
# Compiler flag to prevent dynamic linking.
link_static_flag=$lt_lt_prog_compiler_static
-@@ -18534,9 +19239,6 @@ inherit_rpath=$inherit_rpath
+@@ -19638,9 +20338,6 @@ inherit_rpath=$inherit_rpath
# Whether libtool must link a program against all its dependency libraries.
link_all_deplibs=$link_all_deplibs
@@ -1563,7 +1611,7 @@ index 0340ed541b5..2012656b3b7 100755
# Set to "yes" if exported symbols are required.
always_export_symbols=$always_export_symbols
-@@ -18552,6 +19254,9 @@ include_expsyms=$lt_include_expsyms
+@@ -19656,6 +20353,9 @@ include_expsyms=$lt_include_expsyms
# Commands necessary for linking programs (against libraries) with templates.
prelink_cmds=$lt_prelink_cmds
@@ -1573,7 +1621,7 @@ index 0340ed541b5..2012656b3b7 100755
# Specify filename containing input files.
file_list_spec=$lt_file_list_spec
-@@ -18584,210 +19289,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
+@@ -19688,210 +20388,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
# if finds mixed CR/LF and LF-only lines. Since sed operates in
# text mode, it properly converts lines to CR/LF. This bash problem
# is reportedly fixed, but why not run on old versions too?
@@ -1948,23 +1996,51 @@ index 0340ed541b5..2012656b3b7 100755
chmod +x "$ofile"
diff --git a/bfd/configure.ac b/bfd/configure.ac
-index 8e86f8399ce..e8700c9d4d2 100644
+index 7fcc5d4a947..f7191d3f30f 100644
--- a/bfd/configure.ac
+++ b/bfd/configure.ac
-@@ -314,7 +314,7 @@ changequote(,)dnl
+@@ -276,7 +276,7 @@ changequote(,)dnl
x=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'`
changequote([,])dnl
if test -n "$x"; then
- SHARED_LIBADD="-L`pwd`/../libiberty/pic -liberty"
+ SHARED_LIBADD="`pwd`/../libiberty/pic/libiberty.a"
fi
+ fi
- case "${host}" in
+diff --git a/binutils/Makefile.in b/binutils/Makefile.in
+index 842a6d99b54..037cccde038 100644
+--- a/binutils/Makefile.in
++++ b/binutils/Makefile.in
+@@ -495,6 +495,7 @@ DEBUGINFOD_LIBS = @DEBUGINFOD_LIBS@
+ DEFS = @DEFS@
+ DEMANGLER_NAME = @DEMANGLER_NAME@
+ DEPDIR = @DEPDIR@
++DLLTOOL = @DLLTOOL@
+ DLLTOOL_DEFS = @DLLTOOL_DEFS@
+ DSYMUTIL = @DSYMUTIL@
+ DUMPBIN = @DUMPBIN@
+@@ -539,6 +540,7 @@ LTLIBINTL = @LTLIBINTL@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAINT = @MAINT@
+ MAKEINFO = @MAKEINFO@
++MANIFEST_TOOL = @MANIFEST_TOOL@
+ MKDIR_P = @MKDIR_P@
+ MKINSTALLDIRS = @MKINSTALLDIRS@
+ MSGFMT = @MSGFMT@
+@@ -587,6 +589,7 @@ abs_builddir = @abs_builddir@
+ abs_srcdir = @abs_srcdir@
+ abs_top_builddir = @abs_top_builddir@
+ abs_top_srcdir = @abs_top_srcdir@
++ac_ct_AR = @ac_ct_AR@
+ ac_ct_CC = @ac_ct_CC@
+ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
+ am__include = @am__include@
diff --git a/binutils/configure b/binutils/configure
-index 89c99abfeba..d3289a5efcd 100755
+index a1092735311..f3bdee98f3f 100755
--- a/binutils/configure
+++ b/binutils/configure
-@@ -692,8 +692,11 @@ OTOOL
+@@ -704,8 +704,11 @@ OTOOL
LIPO
NMEDIT
DSYMUTIL
@@ -1976,7 +2052,7 @@ index 89c99abfeba..d3289a5efcd 100755
OBJDUMP
LN_S
NM
-@@ -810,6 +813,7 @@ enable_static
+@@ -822,6 +825,7 @@ enable_static
with_pic
enable_fast_install
with_gnu_ld
@@ -1984,7 +2060,7 @@ index 89c99abfeba..d3289a5efcd 100755
enable_libtool_lock
enable_plugins
enable_largefile
-@@ -1490,6 +1494,8 @@ Optional Packages:
+@@ -1529,6 +1533,8 @@ Optional Packages:
--with-pic try to use only PIC/non-PIC objects [default=use
both]
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
@@ -1992,8 +2068,8 @@ index 89c99abfeba..d3289a5efcd 100755
+ (or the compiler's sysroot if not specified).
--with-debuginfod Enable debuginfo lookups with debuginfod
(auto/yes/no)
- --with-system-zlib use installed libz
-@@ -5467,8 +5473,8 @@ esac
+ --with-gnu-ld assume the C compiler uses GNU ld default=no
+@@ -4958,8 +4964,8 @@ esac
@@ -2004,7 +2080,7 @@ index 89c99abfeba..d3289a5efcd 100755
-@@ -5508,7 +5514,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
+@@ -4999,7 +5005,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
$as_echo_n "checking how to print strings... " >&6; }
# Test print first, because it will be a builtin if present.
@@ -2013,7 +2089,7 @@ index 89c99abfeba..d3289a5efcd 100755
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
ECHO='print -r --'
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
-@@ -6194,8 +6200,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6;
+@@ -5692,8 +5698,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6;
# Try some XSI features
xsi_shell=no
( _lt_dummy="a/b/c"
@@ -2024,7 +2100,7 @@ index 89c99abfeba..d3289a5efcd 100755
&& eval 'test $(( 1 + 1 )) -eq 2 \
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
&& xsi_shell=yes
-@@ -6244,6 +6250,80 @@ esac
+@@ -5742,6 +5748,80 @@ esac
@@ -2105,7 +2181,7 @@ index 89c99abfeba..d3289a5efcd 100755
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
$as_echo_n "checking for $LD option to reload object files... " >&6; }
if ${lt_cv_ld_reload_flag+:} false; then :
-@@ -6260,6 +6340,11 @@ case $reload_flag in
+@@ -5758,6 +5838,11 @@ case $reload_flag in
esac
reload_cmds='$LD$reload_flag -o $output$reload_objs'
case $host_os in
@@ -2117,7 +2193,7 @@ index 89c99abfeba..d3289a5efcd 100755
darwin*)
if test "$GCC" = yes; then
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
-@@ -6428,7 +6513,8 @@ mingw* | pw32*)
+@@ -5926,7 +6011,8 @@ mingw* | pw32*)
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
lt_cv_file_magic_cmd='func_win32_libid'
else
@@ -2127,7 +2203,7 @@ index 89c99abfeba..d3289a5efcd 100755
lt_cv_file_magic_cmd='$OBJDUMP -f'
fi
;;
-@@ -6582,6 +6668,21 @@ esac
+@@ -6085,6 +6171,21 @@ esac
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
$as_echo "$lt_cv_deplibs_check_method" >&6; }
@@ -2149,7 +2225,7 @@ index 89c99abfeba..d3289a5efcd 100755
file_magic_cmd=$lt_cv_file_magic_cmd
deplibs_check_method=$lt_cv_deplibs_check_method
test -z "$deplibs_check_method" && deplibs_check_method=unknown
-@@ -6597,9 +6698,162 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown
+@@ -6100,6 +6201,157 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown
@@ -2304,6 +2380,12 @@ index 89c99abfeba..d3289a5efcd 100755
+
+
+
+ plugin_option=
+ plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
+ for plugin in $plugin_names; do
+@@ -6114,8 +6366,10 @@ for plugin in $plugin_names; do
+ done
+
if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
-set dummy ${ac_tool_prefix}ar; ac_word=$2
@@ -2314,7 +2396,7 @@ index 89c99abfeba..d3289a5efcd 100755
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_prog_AR+:} false; then :
-@@ -6615,7 +6869,7 @@ do
+@@ -6131,7 +6385,7 @@ do
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
@@ -2323,7 +2405,7 @@ index 89c99abfeba..d3289a5efcd 100755
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
-@@ -6635,11 +6889,15 @@ $as_echo "no" >&6; }
+@@ -6151,11 +6405,15 @@ $as_echo "no" >&6; }
fi
@@ -2342,7 +2424,7 @@ index 89c99abfeba..d3289a5efcd 100755
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_prog_ac_ct_AR+:} false; then :
-@@ -6655,7 +6913,7 @@ do
+@@ -6171,7 +6429,7 @@ do
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
@@ -2351,7 +2433,7 @@ index 89c99abfeba..d3289a5efcd 100755
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
-@@ -6674,6 +6932,10 @@ else
+@@ -6190,6 +6448,10 @@ else
$as_echo "no" >&6; }
fi
@@ -2362,7 +2444,7 @@ index 89c99abfeba..d3289a5efcd 100755
if test "x$ac_ct_AR" = x; then
AR="false"
else
-@@ -6685,12 +6947,10 @@ ac_tool_warned=yes ;;
+@@ -6201,25 +6463,19 @@ ac_tool_warned=yes ;;
esac
AR=$ac_ct_AR
fi
@@ -2371,13 +2453,33 @@ index 89c99abfeba..d3289a5efcd 100755
fi
-test -z "$AR" && AR=ar
+-if test -n "$plugin_option"; then
+- if $AR --help 2>&1 | grep -q "\--plugin"; then
+- touch conftest.c
+- $AR $plugin_option rc conftest.a conftest.c
+- if test "$?" != 0; then
+- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
++ touch conftest.c
++ $AR $plugin_option rc conftest.a conftest.c
++ if test "$?" != 0; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
+ $as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
+- else
+- AR="$AR $plugin_option"
+- fi
+- rm -f conftest.*
++ else
++ AR="$AR $plugin_option"
+ fi
+-fi
-test -z "$AR_FLAGS" && AR_FLAGS=cru
++ rm -f conftest.*
+: ${AR=ar}
+: ${AR_FLAGS=cru}
-@@ -6702,6 +6962,64 @@ test -z "$AR_FLAGS" && AR_FLAGS=cru
+@@ -6231,6 +6487,64 @@ test -z "$AR_FLAGS" && AR_FLAGS=cru
@@ -2442,7 +2544,7 @@ index 89c99abfeba..d3289a5efcd 100755
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
set dummy ${ac_tool_prefix}strip; ac_word=$2
-@@ -7036,8 +7354,8 @@ esac
+@@ -6570,8 +6884,8 @@ esac
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
# Transform an extracted symbol line into symbol name and symbol address
@@ -2453,7 +2555,7 @@ index 89c99abfeba..d3289a5efcd 100755
# Handle CRLF in mingw tool chain
opt_cr=
-@@ -7073,6 +7391,7 @@ for ac_symprfx in "" "_"; do
+@@ -6607,6 +6921,7 @@ for ac_symprfx in "" "_"; do
else
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
fi
@@ -2461,7 +2563,7 @@ index 89c99abfeba..d3289a5efcd 100755
# Check to see that the pipe works correctly.
pipe_works=no
-@@ -7114,6 +7433,18 @@ _LT_EOF
+@@ -6648,6 +6963,18 @@ _LT_EOF
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
cat <<_LT_EOF > conftest.$ac_ext
@@ -2480,7 +2582,7 @@ index 89c99abfeba..d3289a5efcd 100755
#ifdef __cplusplus
extern "C" {
#endif
-@@ -7125,7 +7456,7 @@ _LT_EOF
+@@ -6659,7 +6986,7 @@ _LT_EOF
cat <<_LT_EOF >> conftest.$ac_ext
/* The mapping between symbol names and symbols. */
@@ -2489,7 +2591,7 @@ index 89c99abfeba..d3289a5efcd 100755
const char *name;
void *address;
}
-@@ -7151,8 +7482,8 @@ static const void *lt_preloaded_setup() {
+@@ -6685,8 +7012,8 @@ static const void *lt_preloaded_setup() {
_LT_EOF
# Now try linking the two files.
mv conftest.$ac_objext conftstm.$ac_objext
@@ -2500,7 +2602,7 @@ index 89c99abfeba..d3289a5efcd 100755
LIBS="conftstm.$ac_objext"
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
-@@ -7162,8 +7493,8 @@ _LT_EOF
+@@ -6696,8 +7023,8 @@ _LT_EOF
test $ac_status = 0; } && test -s conftest${ac_exeext}; then
pipe_works=yes
fi
@@ -2511,7 +2613,7 @@ index 89c99abfeba..d3289a5efcd 100755
else
echo "cannot find nm_test_func in $nlist" >&5
fi
-@@ -7200,6 +7531,21 @@ else
+@@ -6734,6 +7061,18 @@ else
$as_echo "ok" >&6; }
fi
@@ -2527,18 +2629,18 @@ index 89c99abfeba..d3289a5efcd 100755
+
+
+
-+
-+
-+
-@@ -7216,6 +7562,40 @@ fi
+@@ -6750,6 +7089,43 @@ fi
+
+
++
++
++
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
+$as_echo_n "checking for sysroot... " >&6; }
+
@@ -2574,7 +2676,7 @@ index 89c99abfeba..d3289a5efcd 100755
-@@ -7427,6 +7807,123 @@ esac
+@@ -6961,6 +7337,123 @@ esac
need_locks="$enable_libtool_lock"
@@ -2698,7 +2800,7 @@ index 89c99abfeba..d3289a5efcd 100755
case $host_os in
rhapsody* | darwin*)
-@@ -7990,6 +8487,8 @@ _LT_EOF
+@@ -7524,6 +8017,8 @@ _LT_EOF
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
echo "$AR cru libconftest.a conftest.o" >&5
$AR cru libconftest.a conftest.o 2>&5
@@ -2707,26 +2809,7 @@ index 89c99abfeba..d3289a5efcd 100755
cat > conftest.c << _LT_EOF
int main() { return 0;}
_LT_EOF
-@@ -8185,7 +8684,8 @@ fi
- LIBTOOL_DEPS="$ltmain"
-
- # Always use our own libtool.
--LIBTOOL='$(SHELL) $(top_builddir)/libtool'
-+LIBTOOL='$(SHELL) $(top_builddir)'
-+LIBTOOL="$LIBTOOL/${host_alias}-libtool"
-
-
-
-@@ -8274,7 +8774,7 @@ aix3*)
- esac
-
- # Global variables:
--ofile=libtool
-+ofile=${host_alias}-libtool
- can_build_shared=yes
-
- # All known linkers require a `.a' archive for static linking (except MSVC,
-@@ -8572,8 +9072,6 @@ fi
+@@ -8108,8 +8603,6 @@ fi
lt_prog_compiler_pic=
lt_prog_compiler_static=
@@ -2735,7 +2818,7 @@ index 89c99abfeba..d3289a5efcd 100755
if test "$GCC" = yes; then
lt_prog_compiler_wl='-Wl,'
-@@ -8739,6 +9237,12 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
+@@ -8275,6 +8768,12 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
lt_prog_compiler_pic='--shared'
lt_prog_compiler_static='--static'
;;
@@ -2748,7 +2831,7 @@ index 89c99abfeba..d3289a5efcd 100755
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
# Portland Group compilers (*not* the Pentium gcc compiler,
# which looks to be a dead project)
-@@ -8801,7 +9305,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
+@@ -8337,7 +8836,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
lt_prog_compiler_pic='-KPIC'
lt_prog_compiler_static='-Bstatic'
case $cc_basename in
@@ -2757,7 +2840,7 @@ index 89c99abfeba..d3289a5efcd 100755
lt_prog_compiler_wl='-Qoption ld ';;
*)
lt_prog_compiler_wl='-Wl,';;
-@@ -8858,13 +9362,17 @@ case $host_os in
+@@ -8394,13 +8893,17 @@ case $host_os in
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
;;
esac
@@ -2781,7 +2864,7 @@ index 89c99abfeba..d3289a5efcd 100755
#
# Check to make sure the PIC flag actually works.
-@@ -8925,6 +9433,11 @@ fi
+@@ -8461,6 +8964,11 @@ fi
@@ -2793,7 +2876,7 @@ index 89c99abfeba..d3289a5efcd 100755
#
# Check to make sure the static flag actually works.
#
-@@ -9275,7 +9788,8 @@ _LT_EOF
+@@ -8811,7 +9319,8 @@ _LT_EOF
allow_undefined_flag=unsupported
always_export_symbols=no
enable_shared_with_static_runtimes=yes
@@ -2803,7 +2886,7 @@ index 89c99abfeba..d3289a5efcd 100755
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
-@@ -9374,12 +9888,12 @@ _LT_EOF
+@@ -8910,12 +9419,12 @@ _LT_EOF
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
hardcode_libdir_flag_spec=
hardcode_libdir_flag_spec_ld='-rpath $libdir'
@@ -2818,7 +2901,7 @@ index 89c99abfeba..d3289a5efcd 100755
fi
;;
esac
-@@ -9393,8 +9907,8 @@ _LT_EOF
+@@ -8929,8 +9438,8 @@ _LT_EOF
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
wlarc=
else
@@ -2829,7 +2912,7 @@ index 89c99abfeba..d3289a5efcd 100755
fi
;;
-@@ -9412,8 +9926,8 @@ _LT_EOF
+@@ -8948,8 +9457,8 @@ _LT_EOF
_LT_EOF
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -2840,7 +2923,7 @@ index 89c99abfeba..d3289a5efcd 100755
else
ld_shlibs=no
fi
-@@ -9459,8 +9973,8 @@ _LT_EOF
+@@ -8995,8 +9504,8 @@ _LT_EOF
*)
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -2851,7 +2934,7 @@ index 89c99abfeba..d3289a5efcd 100755
else
ld_shlibs=no
fi
-@@ -9590,7 +10104,13 @@ _LT_EOF
+@@ -9126,7 +9635,13 @@ _LT_EOF
allow_undefined_flag='-berok'
# Determine the default libpath from the value encoded in an
# empty executable.
@@ -2866,7 +2949,7 @@ index 89c99abfeba..d3289a5efcd 100755
/* end confdefs.h. */
int
-@@ -9603,22 +10123,29 @@ main ()
+@@ -9139,22 +9654,29 @@ main ()
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
@@ -2909,7 +2992,7 @@ index 89c99abfeba..d3289a5efcd 100755
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
-@@ -9630,7 +10157,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+@@ -9166,7 +9688,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
else
# Determine the default libpath from the value encoded in an
# empty executable.
@@ -2924,7 +3007,7 @@ index 89c99abfeba..d3289a5efcd 100755
/* end confdefs.h. */
int
-@@ -9643,22 +10176,29 @@ main ()
+@@ -9179,22 +9707,29 @@ main ()
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
@@ -2967,7 +3050,7 @@ index 89c99abfeba..d3289a5efcd 100755
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
# Warning - without using the other run time loading flags,
-@@ -9703,20 +10243,63 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+@@ -9239,20 +9774,63 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
# Microsoft Visual C++.
# hardcode_libdir_flag_spec is actually meaningless, as there is
# no search path for DLLs.
@@ -3045,7 +3128,7 @@ index 89c99abfeba..d3289a5efcd 100755
;;
darwin* | rhapsody*)
-@@ -9777,7 +10360,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+@@ -9313,7 +9891,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
freebsd* | dragonfly*)
@@ -3054,7 +3137,7 @@ index 89c99abfeba..d3289a5efcd 100755
hardcode_libdir_flag_spec='-R$libdir'
hardcode_direct=yes
hardcode_shlibpath_var=no
-@@ -9785,7 +10368,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+@@ -9321,7 +9899,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
hpux9*)
if test "$GCC" = yes; then
@@ -3063,7 +3146,7 @@ index 89c99abfeba..d3289a5efcd 100755
else
archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
fi
-@@ -9801,7 +10384,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+@@ -9337,7 +9915,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
hpux10*)
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
@@ -3072,8 +3155,8 @@ index 89c99abfeba..d3289a5efcd 100755
else
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
fi
-@@ -9825,10 +10408,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
- archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
+@@ -9361,10 +9939,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+ archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
;;
ia64*)
- archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
@@ -3085,7 +3168,7 @@ index 89c99abfeba..d3289a5efcd 100755
;;
esac
else
-@@ -9907,23 +10490,36 @@ fi
+@@ -9443,23 +10021,36 @@ fi
irix5* | irix6* | nonstopux*)
if test "$GCC" = yes; then
@@ -3130,7 +3213,7 @@ index 89c99abfeba..d3289a5efcd 100755
else
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
-@@ -10008,7 +10604,7 @@ rm -f core conftest.err conftest.$ac_objext \
+@@ -9544,7 +10135,7 @@ rm -f core conftest.err conftest.$ac_objext \
osf4* | osf5*) # as osf3* with the addition of -msym flag
if test "$GCC" = yes; then
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
@@ -3139,7 +3222,7 @@ index 89c99abfeba..d3289a5efcd 100755
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
else
allow_undefined_flag=' -expect_unresolved \*'
-@@ -10027,9 +10623,9 @@ rm -f core conftest.err conftest.$ac_objext \
+@@ -9563,9 +10154,9 @@ rm -f core conftest.err conftest.$ac_objext \
no_undefined_flag=' -z defs'
if test "$GCC" = yes; then
wlarc='${wl}'
@@ -3151,7 +3234,7 @@ index 89c99abfeba..d3289a5efcd 100755
else
case `$CC -V 2>&1` in
*"Compilers 5.0"*)
-@@ -10605,8 +11201,9 @@ cygwin* | mingw* | pw32* | cegcc*)
+@@ -10141,8 +10732,9 @@ cygwin* | mingw* | pw32* | cegcc*)
need_version=no
need_lib_prefix=no
@@ -3163,7 +3246,7 @@ index 89c99abfeba..d3289a5efcd 100755
library_names_spec='$libname.dll.a'
# DLL is installed to $(libdir)/../bin by postinstall_cmds
postinstall_cmds='base_file=`basename \${file}`~
-@@ -10639,13 +11236,71 @@ cygwin* | mingw* | pw32* | cegcc*)
+@@ -10175,13 +10767,71 @@ cygwin* | mingw* | pw32* | cegcc*)
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
;;
esac
@@ -3236,25 +3319,16 @@ index 89c99abfeba..d3289a5efcd 100755
# FIXME: first we should search . and the directory the executable is in
shlibpath_var=PATH
;;
-@@ -10737,7 +11392,7 @@ haiku*)
- soname_spec='${libname}${release}${shared_ext}$major'
- shlibpath_var=LIBRARY_PATH
- shlibpath_overrides_runpath=yes
-- sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
-+ sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
- hardcode_into_libs=yes
- ;;
-
-@@ -11533,7 +12188,7 @@ else
+@@ -11083,7 +11733,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
--#line 11536 "configure"
+-#line 11086 "configure"
+#line $LINENO "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
-@@ -11577,10 +12232,10 @@ else
+@@ -11127,10 +11777,10 @@ else
/* When -fvisbility=hidden is used, assume the code has been annotated
correspondingly for the symbols needed. */
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -3267,16 +3341,16 @@ index 89c99abfeba..d3289a5efcd 100755
int main ()
{
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
-@@ -11639,7 +12294,7 @@ else
+@@ -11189,7 +11839,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
--#line 11642 "configure"
+-#line 11192 "configure"
+#line $LINENO "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
-@@ -11683,10 +12338,10 @@ else
+@@ -11233,10 +11883,10 @@ else
/* When -fvisbility=hidden is used, assume the code has been annotated
correspondingly for the symbols needed. */
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -3289,7 +3363,7 @@ index 89c99abfeba..d3289a5efcd 100755
int main ()
{
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
-@@ -16076,13 +16731,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
+@@ -17390,13 +18040,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
@@ -3310,7 +3384,7 @@ index 89c99abfeba..d3289a5efcd 100755
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
-@@ -16097,14 +16759,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de
+@@ -17411,14 +18068,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
@@ -3329,7 +3403,7 @@ index 89c99abfeba..d3289a5efcd 100755
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
-@@ -16137,12 +16802,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q
+@@ -17451,12 +18111,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
@@ -3343,7 +3417,7 @@ index 89c99abfeba..d3289a5efcd 100755
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
-@@ -16197,8 +16862,13 @@ reload_flag \
+@@ -17511,8 +18171,13 @@ reload_flag \
OBJDUMP \
deplibs_check_method \
file_magic_cmd \
@@ -3357,7 +3431,7 @@ index 89c99abfeba..d3289a5efcd 100755
STRIP \
RANLIB \
CC \
-@@ -16208,12 +16878,14 @@ lt_cv_sys_global_symbol_pipe \
+@@ -17522,12 +18187,14 @@ lt_cv_sys_global_symbol_pipe \
lt_cv_sys_global_symbol_to_cdecl \
lt_cv_sys_global_symbol_to_c_name_address \
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
@@ -3373,7 +3447,7 @@ index 89c99abfeba..d3289a5efcd 100755
DSYMUTIL \
NMEDIT \
LIPO \
-@@ -16229,7 +16901,6 @@ no_undefined_flag \
+@@ -17543,7 +18210,6 @@ no_undefined_flag \
hardcode_libdir_flag_spec \
hardcode_libdir_flag_spec_ld \
hardcode_libdir_separator \
@@ -3381,7 +3455,7 @@ index 89c99abfeba..d3289a5efcd 100755
exclude_expsyms \
include_expsyms \
file_list_spec \
-@@ -16265,6 +16936,7 @@ module_cmds \
+@@ -17579,6 +18245,7 @@ module_cmds \
module_expsym_cmds \
export_symbols_cmds \
prelink_cmds \
@@ -3389,7 +3463,7 @@ index 89c99abfeba..d3289a5efcd 100755
postinstall_cmds \
postuninstall_cmds \
finish_cmds \
-@@ -17031,7 +17703,8 @@ $as_echo X"$file" |
+@@ -18352,7 +19019,8 @@ $as_echo X"$file" |
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
#
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
@@ -3399,7 +3473,7 @@ index 89c99abfeba..d3289a5efcd 100755
# Written by Gordon Matzigkeit, 1996
#
# This file is part of GNU Libtool.
-@@ -17134,19 +17807,42 @@ SP2NL=$lt_lt_SP2NL
+@@ -18455,19 +19123,42 @@ SP2NL=$lt_lt_SP2NL
# turn newlines into spaces.
NL2SP=$lt_lt_NL2SP
@@ -3443,7 +3517,7 @@ index 89c99abfeba..d3289a5efcd 100755
# A symbol stripping program.
STRIP=$lt_STRIP
-@@ -17176,6 +17872,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
+@@ -18497,6 +19188,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
# Transform the output of nm in a C name address pair when lib prefix is needed.
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
@@ -3456,7 +3530,7 @@ index 89c99abfeba..d3289a5efcd 100755
# The name of the directory that contains temporary libtool files.
objdir=$objdir
-@@ -17185,6 +17887,9 @@ MAGIC_CMD=$MAGIC_CMD
+@@ -18506,6 +19203,9 @@ MAGIC_CMD=$MAGIC_CMD
# Must we lock files when doing compilation?
need_locks=$lt_need_locks
@@ -3466,7 +3540,7 @@ index 89c99abfeba..d3289a5efcd 100755
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
DSYMUTIL=$lt_DSYMUTIL
-@@ -17299,12 +18004,12 @@ with_gcc=$GCC
+@@ -18620,12 +19320,12 @@ with_gcc=$GCC
# Compiler flag to turn off builtin functions.
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
@@ -3482,7 +3556,7 @@ index 89c99abfeba..d3289a5efcd 100755
# Compiler flag to prevent dynamic linking.
link_static_flag=$lt_lt_prog_compiler_static
-@@ -17391,9 +18096,6 @@ inherit_rpath=$inherit_rpath
+@@ -18712,9 +19412,6 @@ inherit_rpath=$inherit_rpath
# Whether libtool must link a program against all its dependency libraries.
link_all_deplibs=$link_all_deplibs
@@ -3492,7 +3566,7 @@ index 89c99abfeba..d3289a5efcd 100755
# Set to "yes" if exported symbols are required.
always_export_symbols=$always_export_symbols
-@@ -17409,6 +18111,9 @@ include_expsyms=$lt_include_expsyms
+@@ -18730,6 +19427,9 @@ include_expsyms=$lt_include_expsyms
# Commands necessary for linking programs (against libraries) with templates.
prelink_cmds=$lt_prelink_cmds
@@ -3502,7 +3576,7 @@ index 89c99abfeba..d3289a5efcd 100755
# Specify filename containing input files.
file_list_spec=$lt_file_list_spec
-@@ -17441,210 +18146,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
+@@ -18762,210 +19462,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
# if finds mixed CR/LF and LF-only lines. Since sed operates in
# text mode, it properly converts lines to CR/LF. This bash problem
# is reportedly fixed, but why not run on old versions too?
@@ -3876,11 +3950,39 @@ index 89c99abfeba..d3289a5efcd 100755
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
chmod +x "$ofile"
+diff --git a/gas/Makefile.in b/gas/Makefile.in
+index bc25765cb5b..c481d96a05a 100644
+--- a/gas/Makefile.in
++++ b/gas/Makefile.in
+@@ -384,6 +384,7 @@ CYGPATH_W = @CYGPATH_W@
+ DATADIRNAME = @DATADIRNAME@
+ DEFS = @DEFS@
+ DEPDIR = @DEPDIR@
++DLLTOOL = @DLLTOOL@
+ DSYMUTIL = @DSYMUTIL@
+ DUMPBIN = @DUMPBIN@
+ ECHO_C = @ECHO_C@
+@@ -425,6 +426,7 @@ LTLIBINTL = @LTLIBINTL@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAINT = @MAINT@
+ MAKEINFO = @MAKEINFO@
++MANIFEST_TOOL = @MANIFEST_TOOL@
+ MKDIR_P = @MKDIR_P@
+ MKINSTALLDIRS = @MKINSTALLDIRS@
+ MSGFMT = @MSGFMT@
+@@ -468,6 +470,7 @@ abs_builddir = @abs_builddir@
+ abs_srcdir = @abs_srcdir@
+ abs_top_builddir = @abs_top_builddir@
+ abs_top_srcdir = @abs_top_srcdir@
++ac_ct_AR = @ac_ct_AR@
+ ac_ct_CC = @ac_ct_CC@
+ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
+ am__include = @am__include@
diff --git a/gas/configure b/gas/configure
-index d4b13e6fc8b..dd5224c5c81 100755
+index 5f8c8493589..998727b6108 100755
--- a/gas/configure
+++ b/gas/configure
-@@ -681,8 +681,11 @@ OTOOL
+@@ -692,8 +692,11 @@ OTOOL
LIPO
NMEDIT
DSYMUTIL
@@ -3892,7 +3994,7 @@ index d4b13e6fc8b..dd5224c5c81 100755
OBJDUMP
LN_S
NM
-@@ -799,6 +802,7 @@ enable_static
+@@ -810,6 +813,7 @@ enable_static
with_pic
enable_fast_install
with_gnu_ld
@@ -3900,7 +4002,7 @@ index d4b13e6fc8b..dd5224c5c81 100755
enable_libtool_lock
enable_plugins
enable_largefile
-@@ -1490,6 +1494,8 @@ Optional Packages:
+@@ -1517,6 +1521,8 @@ Optional Packages:
--with-pic try to use only PIC/non-PIC objects [default=use
both]
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
@@ -3908,8 +4010,8 @@ index d4b13e6fc8b..dd5224c5c81 100755
+ (or the compiler's sysroot if not specified).
--with-cpu=CPU default cpu variant is CPU (currently only supported
on ARC)
- --with-system-zlib use installed libz
-@@ -5277,8 +5283,8 @@ esac
+ --with-gnu-ld assume the C compiler uses GNU ld default=no
+@@ -4652,8 +4658,8 @@ esac
@@ -3920,7 +4022,7 @@ index d4b13e6fc8b..dd5224c5c81 100755
-@@ -5318,7 +5324,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
+@@ -4693,7 +4699,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
$as_echo_n "checking how to print strings... " >&6; }
# Test print first, because it will be a builtin if present.
@@ -3929,7 +4031,7 @@ index d4b13e6fc8b..dd5224c5c81 100755
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
ECHO='print -r --'
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
-@@ -6004,8 +6010,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6;
+@@ -5386,8 +5392,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6;
# Try some XSI features
xsi_shell=no
( _lt_dummy="a/b/c"
@@ -3940,7 +4042,7 @@ index d4b13e6fc8b..dd5224c5c81 100755
&& eval 'test $(( 1 + 1 )) -eq 2 \
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
&& xsi_shell=yes
-@@ -6054,6 +6060,80 @@ esac
+@@ -5436,6 +5442,80 @@ esac
@@ -4021,7 +4123,7 @@ index d4b13e6fc8b..dd5224c5c81 100755
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
$as_echo_n "checking for $LD option to reload object files... " >&6; }
if ${lt_cv_ld_reload_flag+:} false; then :
-@@ -6070,6 +6150,11 @@ case $reload_flag in
+@@ -5452,6 +5532,11 @@ case $reload_flag in
esac
reload_cmds='$LD$reload_flag -o $output$reload_objs'
case $host_os in
@@ -4033,7 +4135,7 @@ index d4b13e6fc8b..dd5224c5c81 100755
darwin*)
if test "$GCC" = yes; then
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
-@@ -6238,7 +6323,8 @@ mingw* | pw32*)
+@@ -5620,7 +5705,8 @@ mingw* | pw32*)
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
lt_cv_file_magic_cmd='func_win32_libid'
else
@@ -4043,7 +4145,7 @@ index d4b13e6fc8b..dd5224c5c81 100755
lt_cv_file_magic_cmd='$OBJDUMP -f'
fi
;;
-@@ -6392,6 +6478,21 @@ esac
+@@ -5779,6 +5865,21 @@ esac
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
$as_echo "$lt_cv_deplibs_check_method" >&6; }
@@ -4065,7 +4167,7 @@ index d4b13e6fc8b..dd5224c5c81 100755
file_magic_cmd=$lt_cv_file_magic_cmd
deplibs_check_method=$lt_cv_deplibs_check_method
test -z "$deplibs_check_method" && deplibs_check_method=unknown
-@@ -6407,9 +6508,162 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown
+@@ -5794,6 +5895,157 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown
@@ -4220,6 +4322,12 @@ index d4b13e6fc8b..dd5224c5c81 100755
+
+
+
+ plugin_option=
+ plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
+ for plugin in $plugin_names; do
+@@ -5808,8 +6060,10 @@ for plugin in $plugin_names; do
+ done
+
if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
-set dummy ${ac_tool_prefix}ar; ac_word=$2
@@ -4230,7 +4338,7 @@ index d4b13e6fc8b..dd5224c5c81 100755
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_prog_AR+:} false; then :
-@@ -6425,7 +6679,7 @@ do
+@@ -5825,7 +6079,7 @@ do
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
@@ -4239,7 +4347,7 @@ index d4b13e6fc8b..dd5224c5c81 100755
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
-@@ -6445,11 +6699,15 @@ $as_echo "no" >&6; }
+@@ -5845,11 +6099,15 @@ $as_echo "no" >&6; }
fi
@@ -4258,7 +4366,7 @@ index d4b13e6fc8b..dd5224c5c81 100755
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_prog_ac_ct_AR+:} false; then :
-@@ -6465,7 +6723,7 @@ do
+@@ -5865,7 +6123,7 @@ do
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
@@ -4267,7 +4375,7 @@ index d4b13e6fc8b..dd5224c5c81 100755
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
-@@ -6484,6 +6742,10 @@ else
+@@ -5884,6 +6142,10 @@ else
$as_echo "no" >&6; }
fi
@@ -4278,7 +4386,7 @@ index d4b13e6fc8b..dd5224c5c81 100755
if test "x$ac_ct_AR" = x; then
AR="false"
else
-@@ -6495,12 +6757,10 @@ ac_tool_warned=yes ;;
+@@ -5895,29 +6157,81 @@ ac_tool_warned=yes ;;
esac
AR=$ac_ct_AR
fi
@@ -4287,13 +4395,1972 @@ index d4b13e6fc8b..dd5224c5c81 100755
fi
-test -z "$AR" && AR=ar
+-if test -n "$plugin_option"; then
+- if $AR --help 2>&1 | grep -q "\--plugin"; then
+- touch conftest.c
+- $AR $plugin_option rc conftest.a conftest.c
+- if test "$?" != 0; then
+- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
++ touch conftest.c
++ $AR $plugin_option rc conftest.a conftest.c
++ if test "$?" != 0; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
+ $as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
+- else
+- AR="$AR $plugin_option"
+- fi
+- rm -f conftest.*
++ else
++ AR="$AR $plugin_option"
+ fi
+-fi
-test -z "$AR_FLAGS" && AR_FLAGS=cru
++ rm -f conftest.*
+: ${AR=ar}
+: ${AR_FLAGS=cru}
++
++
++
++
++
++
++
++
++
++
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
++$as_echo_n "checking for archiver @FILE support... " >&6; }
++if ${lt_cv_ar_at_file+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ lt_cv_ar_at_file=no
++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
++/* end confdefs.h. */
++
++int
++main ()
++{
+
++ ;
++ return 0;
++}
++_ACEOF
++if ac_fn_c_try_compile "$LINENO"; then :
++ echo conftest.$ac_objext > conftest.lst
++ lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
++ { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
++ (eval $lt_ar_try) 2>&5
++ ac_status=$?
++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
++ test $ac_status = 0; }
++ if test "$ac_status" -eq 0; then
++ # Ensure the archiver fails upon bogus file names.
++ rm -f conftest.$ac_objext libconftest.a
++ { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
++ (eval $lt_ar_try) 2>&5
++ ac_status=$?
++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
++ test $ac_status = 0; }
++ if test "$ac_status" -ne 0; then
++ lt_cv_ar_at_file=@
++ fi
++ fi
++ rm -f conftest.* libconftest.a
+
++fi
++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
++$as_echo "$lt_cv_ar_at_file" >&6; }
+
++if test "x$lt_cv_ar_at_file" = xno; then
++ archiver_list_spec=
++else
++ archiver_list_spec=$lt_cv_ar_at_file
++fi
+
+
+
+@@ -6264,8 +6578,8 @@ esac
+ lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
+
+ # Transform an extracted symbol line into symbol name and symbol address
+-lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
+-lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
++lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
++lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
+
+ # Handle CRLF in mingw tool chain
+ opt_cr=
+@@ -6301,6 +6615,7 @@ for ac_symprfx in "" "_"; do
+ else
+ lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
+ fi
++ lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
+
+ # Check to see that the pipe works correctly.
+ pipe_works=no
+@@ -6342,6 +6657,18 @@ _LT_EOF
+ if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
+ if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
+ cat <<_LT_EOF > conftest.$ac_ext
++/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
++#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
++/* DATA imports from DLLs on WIN32 con't be const, because runtime
++ relocations are performed -- see ld's documentation on pseudo-relocs. */
++# define LT_DLSYM_CONST
++#elif defined(__osf__)
++/* This system does not cope well with relocations in const data. */
++# define LT_DLSYM_CONST
++#else
++# define LT_DLSYM_CONST const
++#endif
++
+ #ifdef __cplusplus
+ extern "C" {
+ #endif
+@@ -6353,7 +6680,7 @@ _LT_EOF
+ cat <<_LT_EOF >> conftest.$ac_ext
+
+ /* The mapping between symbol names and symbols. */
+-const struct {
++LT_DLSYM_CONST struct {
+ const char *name;
+ void *address;
+ }
+@@ -6379,8 +6706,8 @@ static const void *lt_preloaded_setup() {
+ _LT_EOF
+ # Now try linking the two files.
+ mv conftest.$ac_objext conftstm.$ac_objext
+- lt_save_LIBS="$LIBS"
+- lt_save_CFLAGS="$CFLAGS"
++ lt_globsym_save_LIBS=$LIBS
++ lt_globsym_save_CFLAGS=$CFLAGS
+ LIBS="conftstm.$ac_objext"
+ CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
+@@ -6390,8 +6717,8 @@ _LT_EOF
+ test $ac_status = 0; } && test -s conftest${ac_exeext}; then
+ pipe_works=yes
+ fi
+- LIBS="$lt_save_LIBS"
+- CFLAGS="$lt_save_CFLAGS"
++ LIBS=$lt_globsym_save_LIBS
++ CFLAGS=$lt_globsym_save_CFLAGS
+ else
+ echo "cannot find nm_test_func in $nlist" >&5
+ fi
+@@ -6428,6 +6755,19 @@ else
+ $as_echo "ok" >&6; }
+ fi
+
++# Response file support.
++if test "$lt_cv_nm_interface" = "MS dumpbin"; then
++ nm_file_list_spec='@'
++elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
++ nm_file_list_spec='@'
++fi
++
++
++
++
++
++
++
+
+
+
+@@ -6444,6 +6784,42 @@ fi
+
+
+
++
++
++
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
++$as_echo_n "checking for sysroot... " >&6; }
++
++# Check whether --with-libtool-sysroot was given.
++if test "${with_libtool_sysroot+set}" = set; then :
++ withval=$with_libtool_sysroot;
++else
++ with_libtool_sysroot=no
++fi
++
++
++lt_sysroot=
++case ${with_libtool_sysroot} in #(
++ yes)
++ if test "$GCC" = yes; then
++ lt_sysroot=`$CC --print-sysroot 2>/dev/null`
++ fi
++ ;; #(
++ /*)
++ lt_sysroot=`echo "$with_libtool_sysroot" | sed -e "$sed_quote_subst"`
++ ;; #(
++ no|'')
++ ;; #(
++ *)
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_libtool_sysroot}" >&5
++$as_echo "${with_libtool_sysroot}" >&6; }
++ as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
++ ;;
++esac
++
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
++$as_echo "${lt_sysroot:-no}" >&6; }
+
+
+
+@@ -6655,6 +7031,123 @@ esac
+
+ need_locks="$enable_libtool_lock"
+
++if test -n "$ac_tool_prefix"; then
++ # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
++set dummy ${ac_tool_prefix}mt; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$MANIFEST_TOOL"; then
++ ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++ ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
++if test -n "$MANIFEST_TOOL"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
++$as_echo "$MANIFEST_TOOL" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++
++fi
++if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
++ ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
++ # Extract the first word of "mt", so it can be a program name with args.
++set dummy mt; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$ac_ct_MANIFEST_TOOL"; then
++ ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++ ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
++if test -n "$ac_ct_MANIFEST_TOOL"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
++$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++ if test "x$ac_ct_MANIFEST_TOOL" = x; then
++ MANIFEST_TOOL=":"
++ else
++ case $cross_compiling:$ac_tool_warned in
++yes:)
++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
++ac_tool_warned=yes ;;
++esac
++ MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
++ fi
++else
++ MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
++fi
++
++test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
++$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
++if ${lt_cv_path_mainfest_tool+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ lt_cv_path_mainfest_tool=no
++ echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
++ $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
++ cat conftest.err >&5
++ if $GREP 'Manifest Tool' conftest.out > /dev/null; then
++ lt_cv_path_mainfest_tool=yes
++ fi
++ rm -f conftest*
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
++$as_echo "$lt_cv_path_mainfest_tool" >&6; }
++if test "x$lt_cv_path_mainfest_tool" != xyes; then
++ MANIFEST_TOOL=:
++fi
++
++
++
++
++
+
+ case $host_os in
+ rhapsody* | darwin*)
+@@ -7218,6 +7711,8 @@ _LT_EOF
+ $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
+ echo "$AR cru libconftest.a conftest.o" >&5
+ $AR cru libconftest.a conftest.o 2>&5
++ echo "$RANLIB libconftest.a" >&5
++ $RANLIB libconftest.a 2>&5
+ cat > conftest.c << _LT_EOF
+ int main() { return 0;}
+ _LT_EOF
+@@ -7802,8 +8297,6 @@ fi
+ lt_prog_compiler_pic=
+ lt_prog_compiler_static=
+
+-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
+-$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
+
+ if test "$GCC" = yes; then
+ lt_prog_compiler_wl='-Wl,'
+@@ -7969,6 +8462,12 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
+ lt_prog_compiler_pic='--shared'
+ lt_prog_compiler_static='--static'
+ ;;
++ nagfor*)
++ # NAG Fortran compiler
++ lt_prog_compiler_wl='-Wl,-Wl,,'
++ lt_prog_compiler_pic='-PIC'
++ lt_prog_compiler_static='-Bstatic'
++ ;;
+ pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
+ # Portland Group compilers (*not* the Pentium gcc compiler,
+ # which looks to be a dead project)
+@@ -8031,7 +8530,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
+ lt_prog_compiler_pic='-KPIC'
+ lt_prog_compiler_static='-Bstatic'
+ case $cc_basename in
+- f77* | f90* | f95*)
++ f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
+ lt_prog_compiler_wl='-Qoption ld ';;
+ *)
+ lt_prog_compiler_wl='-Wl,';;
+@@ -8088,13 +8587,17 @@ case $host_os in
+ lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
+ ;;
+ esac
+-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
+-$as_echo "$lt_prog_compiler_pic" >&6; }
+-
+-
+-
+-
+
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
++$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
++if ${lt_cv_prog_compiler_pic+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
++$as_echo "$lt_cv_prog_compiler_pic" >&6; }
++lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
+
+ #
+ # Check to make sure the PIC flag actually works.
+@@ -8155,6 +8658,11 @@ fi
+
+
+
++
++
++
++
++
+ #
+ # Check to make sure the static flag actually works.
+ #
+@@ -8505,7 +9013,8 @@ _LT_EOF
+ allow_undefined_flag=unsupported
+ always_export_symbols=no
+ enable_shared_with_static_runtimes=yes
+- export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
++ export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
++ exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
+
+ if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
+@@ -8604,12 +9113,12 @@ _LT_EOF
+ whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
+ hardcode_libdir_flag_spec=
+ hardcode_libdir_flag_spec_ld='-rpath $libdir'
+- archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
++ archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
+ if test "x$supports_anon_versioning" = xyes; then
+ archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
+ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
+ echo "local: *; };" >> $output_objdir/$libname.ver~
+- $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
++ $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
+ fi
+ ;;
+ esac
+@@ -8623,8 +9132,8 @@ _LT_EOF
+ archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
+ wlarc=
+ else
+- archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+- archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+ fi
+ ;;
+
+@@ -8642,8 +9151,8 @@ _LT_EOF
+
+ _LT_EOF
+ elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
+- archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+- archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+ else
+ ld_shlibs=no
+ fi
+@@ -8689,8 +9198,8 @@ _LT_EOF
+
+ *)
+ if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
+- archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+- archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+ else
+ ld_shlibs=no
+ fi
+@@ -8820,7 +9329,13 @@ _LT_EOF
+ allow_undefined_flag='-berok'
+ # Determine the default libpath from the value encoded in an
+ # empty executable.
+- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
++ if test "${lt_cv_aix_libpath+set}" = set; then
++ aix_libpath=$lt_cv_aix_libpath
++else
++ if ${lt_cv_aix_libpath_+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h. */
+
+ int
+@@ -8833,22 +9348,29 @@ main ()
+ _ACEOF
+ if ac_fn_c_try_link "$LINENO"; then :
+
+-lt_aix_libpath_sed='
+- /Import File Strings/,/^$/ {
+- /^0/ {
+- s/^0 *\(.*\)$/\1/
+- p
+- }
+- }'
+-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+-# Check for a 64-bit object if we didn't find anything.
+-if test -z "$aix_libpath"; then
+- aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+-fi
++ lt_aix_libpath_sed='
++ /Import File Strings/,/^$/ {
++ /^0/ {
++ s/^0 *\([^ ]*\) *$/\1/
++ p
++ }
++ }'
++ lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
++ # Check for a 64-bit object if we didn't find anything.
++ if test -z "$lt_cv_aix_libpath_"; then
++ lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
++ fi
+ fi
+ rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
++ if test -z "$lt_cv_aix_libpath_"; then
++ lt_cv_aix_libpath_="/usr/lib:/lib"
++ fi
++
++fi
++
++ aix_libpath=$lt_cv_aix_libpath_
++fi
+
+ hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
+ archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
+@@ -8860,7 +9382,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+ else
+ # Determine the default libpath from the value encoded in an
+ # empty executable.
+- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
++ if test "${lt_cv_aix_libpath+set}" = set; then
++ aix_libpath=$lt_cv_aix_libpath
++else
++ if ${lt_cv_aix_libpath_+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h. */
+
+ int
+@@ -8873,22 +9401,29 @@ main ()
+ _ACEOF
+ if ac_fn_c_try_link "$LINENO"; then :
+
+-lt_aix_libpath_sed='
+- /Import File Strings/,/^$/ {
+- /^0/ {
+- s/^0 *\(.*\)$/\1/
+- p
+- }
+- }'
+-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+-# Check for a 64-bit object if we didn't find anything.
+-if test -z "$aix_libpath"; then
+- aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+-fi
++ lt_aix_libpath_sed='
++ /Import File Strings/,/^$/ {
++ /^0/ {
++ s/^0 *\([^ ]*\) *$/\1/
++ p
++ }
++ }'
++ lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
++ # Check for a 64-bit object if we didn't find anything.
++ if test -z "$lt_cv_aix_libpath_"; then
++ lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
++ fi
+ fi
+ rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
++ if test -z "$lt_cv_aix_libpath_"; then
++ lt_cv_aix_libpath_="/usr/lib:/lib"
++ fi
++
++fi
++
++ aix_libpath=$lt_cv_aix_libpath_
++fi
+
+ hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
+ # Warning - without using the other run time loading flags,
+@@ -8933,20 +9468,63 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+ # Microsoft Visual C++.
+ # hardcode_libdir_flag_spec is actually meaningless, as there is
+ # no search path for DLLs.
+- hardcode_libdir_flag_spec=' '
+- allow_undefined_flag=unsupported
+- # Tell ltmain to make .lib files, not .a files.
+- libext=lib
+- # Tell ltmain to make .dll files, not .so files.
+- shrext_cmds=".dll"
+- # FIXME: Setting linknames here is a bad hack.
+- archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
+- # The linker will automatically build a .lib file if we build a DLL.
+- old_archive_from_new_cmds='true'
+- # FIXME: Should let the user specify the lib program.
+- old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
+- fix_srcfile_path='`cygpath -w "$srcfile"`'
+- enable_shared_with_static_runtimes=yes
++ case $cc_basename in
++ cl*)
++ # Native MSVC
++ hardcode_libdir_flag_spec=' '
++ allow_undefined_flag=unsupported
++ always_export_symbols=yes
++ file_list_spec='@'
++ # Tell ltmain to make .lib files, not .a files.
++ libext=lib
++ # Tell ltmain to make .dll files, not .so files.
++ shrext_cmds=".dll"
++ # FIXME: Setting linknames here is a bad hack.
++ archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
++ archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
++ sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
++ else
++ sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
++ fi~
++ $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
++ linknames='
++ # The linker will not automatically build a static lib if we build a DLL.
++ # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
++ enable_shared_with_static_runtimes=yes
++ export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
++ # Don't use ranlib
++ old_postinstall_cmds='chmod 644 $oldlib'
++ postlink_cmds='lt_outputfile="@OUTPUT@"~
++ lt_tool_outputfile="@TOOL_OUTPUT@"~
++ case $lt_outputfile in
++ *.exe|*.EXE) ;;
++ *)
++ lt_outputfile="$lt_outputfile.exe"
++ lt_tool_outputfile="$lt_tool_outputfile.exe"
++ ;;
++ esac~
++ if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
++ $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
++ $RM "$lt_outputfile.manifest";
++ fi'
++ ;;
++ *)
++ # Assume MSVC wrapper
++ hardcode_libdir_flag_spec=' '
++ allow_undefined_flag=unsupported
++ # Tell ltmain to make .lib files, not .a files.
++ libext=lib
++ # Tell ltmain to make .dll files, not .so files.
++ shrext_cmds=".dll"
++ # FIXME: Setting linknames here is a bad hack.
++ archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
++ # The linker will automatically build a .lib file if we build a DLL.
++ old_archive_from_new_cmds='true'
++ # FIXME: Should let the user specify the lib program.
++ old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
++ enable_shared_with_static_runtimes=yes
++ ;;
++ esac
+ ;;
+ darwin* | rhapsody*)
+@@ -9007,7 +9585,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+ # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
+ freebsd* | dragonfly*)
+- archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
++ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
+ hardcode_libdir_flag_spec='-R$libdir'
+ hardcode_direct=yes
+ hardcode_shlibpath_var=no
+@@ -9015,7 +9593,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
-@@ -6512,6 +6772,64 @@ test -z "$AR_FLAGS" && AR_FLAGS=cru
+ hpux9*)
+ if test "$GCC" = yes; then
+- archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
++ archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
+ else
+ archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
+ fi
+@@ -9031,7 +9609,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+
+ hpux10*)
+ if test "$GCC" = yes && test "$with_gnu_ld" = no; then
+- archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
++ archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
+ else
+ archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
+ fi
+@@ -9055,10 +9633,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+ archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ ia64*)
+- archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
++ archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ *)
+- archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
++ archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ esac
+ else
+@@ -9137,23 +9715,36 @@ fi
+
+ irix5* | irix6* | nonstopux*)
+ if test "$GCC" = yes; then
+- archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+ # Try to use the -exported_symbol ld option, if it does not
+ # work, assume that -exports_file does not work either and
+ # implicitly export all symbols.
+- save_LDFLAGS="$LDFLAGS"
+- LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
+- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
++ # This should be the same for all languages, so no per-tag cache variable.
++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
++$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
++if ${lt_cv_irix_exported_symbol+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ save_LDFLAGS="$LDFLAGS"
++ LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h. */
+-int foo(void) {}
++int foo (void) { return 0; }
+ _ACEOF
+ if ac_fn_c_try_link "$LINENO"; then :
+- archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
+-
++ lt_cv_irix_exported_symbol=yes
++else
++ lt_cv_irix_exported_symbol=no
+ fi
+ rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+- LDFLAGS="$save_LDFLAGS"
++ LDFLAGS="$save_LDFLAGS"
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
++$as_echo "$lt_cv_irix_exported_symbol" >&6; }
++ if test "$lt_cv_irix_exported_symbol" = yes; then
++ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
++ fi
+ else
+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
+ archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
+@@ -9238,7 +9829,7 @@ rm -f core conftest.err conftest.$ac_objext \
+ osf4* | osf5*) # as osf3* with the addition of -msym flag
+ if test "$GCC" = yes; then
+ allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
+- archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++ archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
+ else
+ allow_undefined_flag=' -expect_unresolved \*'
+@@ -9257,9 +9848,9 @@ rm -f core conftest.err conftest.$ac_objext \
+ no_undefined_flag=' -z defs'
+ if test "$GCC" = yes; then
+ wlarc='${wl}'
+- archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++ archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
+ archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
+- $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
++ $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
+ else
+ case `$CC -V 2>&1` in
+ *"Compilers 5.0"*)
+@@ -9835,8 +10426,9 @@ cygwin* | mingw* | pw32* | cegcc*)
+ need_version=no
+ need_lib_prefix=no
+
+- case $GCC,$host_os in
+- yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
++ case $GCC,$cc_basename in
++ yes,*)
++ # gcc
+ library_names_spec='$libname.dll.a'
+ # DLL is installed to $(libdir)/../bin by postinstall_cmds
+ postinstall_cmds='base_file=`basename \${file}`~
+@@ -9869,13 +10461,71 @@ cygwin* | mingw* | pw32* | cegcc*)
+ library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
+ ;;
+ esac
++ dynamic_linker='Win32 ld.exe'
++ ;;
++
++ *,cl*)
++ # Native MSVC
++ libname_spec='$name'
++ soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
++ library_names_spec='${libname}.dll.lib'
++
++ case $build_os in
++ mingw*)
++ sys_lib_search_path_spec=
++ lt_save_ifs=$IFS
++ IFS=';'
++ for lt_path in $LIB
++ do
++ IFS=$lt_save_ifs
++ # Let DOS variable expansion print the short 8.3 style file name.
++ lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
++ sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
++ done
++ IFS=$lt_save_ifs
++ # Convert to MSYS style.
++ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
++ ;;
++ cygwin*)
++ # Convert to unix form, then to dos form, then back to unix form
++ # but this time dos style (no spaces!) so that the unix form looks
++ # like /cygdrive/c/PROGRA~1:/cygdr...
++ sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
++ sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
++ sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
++ ;;
++ *)
++ sys_lib_search_path_spec="$LIB"
++ if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
++ # It is most probably a Windows format PATH.
++ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
++ else
++ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
++ fi
++ # FIXME: find the short name or the path components, as spaces are
++ # common. (e.g. "Program Files" -> "PROGRA~1")
++ ;;
++ esac
++
++ # DLL is installed to $(libdir)/../bin by postinstall_cmds
++ postinstall_cmds='base_file=`basename \${file}`~
++ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
++ dldir=$destdir/`dirname \$dlpath`~
++ test -d \$dldir || mkdir -p \$dldir~
++ $install_prog $dir/$dlname \$dldir/$dlname'
++ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
++ dlpath=$dir/\$dldll~
++ $RM \$dlpath'
++ shlibpath_overrides_runpath=yes
++ dynamic_linker='Win32 link.exe'
+ ;;
+
+ *)
++ # Assume MSVC wrapper
+ library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
++ dynamic_linker='Win32 ld.exe'
+ ;;
+ esac
+- dynamic_linker='Win32 ld.exe'
+ # FIXME: first we should search . and the directory the executable is in
+ shlibpath_var=PATH
+ ;;
+@@ -10777,7 +11427,7 @@ else
+ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+ lt_status=$lt_dlunknown
+ cat > conftest.$ac_ext <<_LT_EOF
+-#line 10780 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+
+ #if HAVE_DLFCN_H
+@@ -10821,10 +11471,10 @@ else
+ /* When -fvisbility=hidden is used, assume the code has been annotated
+ correspondingly for the symbols needed. */
+ #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
+-void fnord () __attribute__((visibility("default")));
++int fnord () __attribute__((visibility("default")));
+ #endif
+
+-void fnord () { int i=42; }
++int fnord () { return 42; }
+ int main ()
+ {
+ void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
+@@ -10883,7 +11533,7 @@ else
+ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+ lt_status=$lt_dlunknown
+ cat > conftest.$ac_ext <<_LT_EOF
+-#line 10886 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+
+ #if HAVE_DLFCN_H
+@@ -10927,10 +11577,10 @@ else
+ /* When -fvisbility=hidden is used, assume the code has been annotated
+ correspondingly for the symbols needed. */
+ #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
+-void fnord () __attribute__((visibility("default")));
++int fnord () __attribute__((visibility("default")));
+ #endif
+
+-void fnord () { int i=42; }
++int fnord () { return 42; }
+ int main ()
+ {
+ void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
+@@ -17080,13 +17730,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
+ lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
+ lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
+ lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
++lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
++lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
+ reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
+ reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
+ OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
+ deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
+ file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
++file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
++want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
++DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
++sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
+ AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
+ AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
++archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
+ STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
+ RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
+ old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
+@@ -17101,14 +17758,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de
+ lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
+ lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
+ lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
++nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
++lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
+ objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
+ MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
+ lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
+-lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
+ lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
++lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
+ lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
+ lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
+ need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
++MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
+ DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
+ NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
+ LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
+@@ -17141,12 +17801,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q
+ hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
+ inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
+ link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
+-fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
+ always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
+ export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
+ exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
+ include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
+ prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
++postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
+ file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
+ variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
+ need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
+@@ -17201,8 +17861,13 @@ reload_flag \
+ OBJDUMP \
+ deplibs_check_method \
+ file_magic_cmd \
++file_magic_glob \
++want_nocaseglob \
++DLLTOOL \
++sharedlib_from_linklib_cmd \
+ AR \
+ AR_FLAGS \
++archiver_list_spec \
+ STRIP \
+ RANLIB \
+ CC \
+@@ -17212,12 +17877,14 @@ lt_cv_sys_global_symbol_pipe \
+ lt_cv_sys_global_symbol_to_cdecl \
+ lt_cv_sys_global_symbol_to_c_name_address \
+ lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
++nm_file_list_spec \
+ lt_prog_compiler_no_builtin_flag \
+-lt_prog_compiler_wl \
+ lt_prog_compiler_pic \
++lt_prog_compiler_wl \
+ lt_prog_compiler_static \
+ lt_cv_prog_compiler_c_o \
+ need_locks \
++MANIFEST_TOOL \
+ DSYMUTIL \
+ NMEDIT \
+ LIPO \
+@@ -17233,7 +17900,6 @@ no_undefined_flag \
+ hardcode_libdir_flag_spec \
+ hardcode_libdir_flag_spec_ld \
+ hardcode_libdir_separator \
+-fix_srcfile_path \
+ exclude_expsyms \
+ include_expsyms \
+ file_list_spec \
+@@ -17269,6 +17935,7 @@ module_cmds \
+ module_expsym_cmds \
+ export_symbols_cmds \
+ prelink_cmds \
++postlink_cmds \
+ postinstall_cmds \
+ postuninstall_cmds \
+ finish_cmds \
+@@ -18049,7 +18716,8 @@ $as_echo X"$file" |
+ # NOTE: Changes made to this file will be lost: look at ltmain.sh.
+ #
+ # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
+-# 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
++# 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
++# Inc.
+ # Written by Gordon Matzigkeit, 1996
+ #
+ # This file is part of GNU Libtool.
+@@ -18152,19 +18820,42 @@ SP2NL=$lt_lt_SP2NL
+ # turn newlines into spaces.
+ NL2SP=$lt_lt_NL2SP
+
++# convert \$build file names to \$host format.
++to_host_file_cmd=$lt_cv_to_host_file_cmd
++
++# convert \$build files to toolchain format.
++to_tool_file_cmd=$lt_cv_to_tool_file_cmd
++
+ # An object symbol dumper.
+ OBJDUMP=$lt_OBJDUMP
+
+ # Method to check whether dependent libraries are shared objects.
+ deplibs_check_method=$lt_deplibs_check_method
+
+-# Command to use when deplibs_check_method == "file_magic".
++# Command to use when deplibs_check_method = "file_magic".
+ file_magic_cmd=$lt_file_magic_cmd
+
++# How to find potential files when deplibs_check_method = "file_magic".
++file_magic_glob=$lt_file_magic_glob
++
++# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
++want_nocaseglob=$lt_want_nocaseglob
++
++# DLL creation program.
++DLLTOOL=$lt_DLLTOOL
++
++# Command to associate shared and link libraries.
++sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
++
+ # The archiver.
+ AR=$lt_AR
++
++# Flags to create an archive.
+ AR_FLAGS=$lt_AR_FLAGS
+
++# How to feed a file listing to the archiver.
++archiver_list_spec=$lt_archiver_list_spec
++
+ # A symbol stripping program.
+ STRIP=$lt_STRIP
+
+@@ -18194,6 +18885,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
+ # Transform the output of nm in a C name address pair when lib prefix is needed.
+ global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
+
++# Specify filename containing input files for \$NM.
++nm_file_list_spec=$lt_nm_file_list_spec
++
++# The root where to search for dependent libraries,and in which our libraries should be installed.
++lt_sysroot=$lt_sysroot
++
+ # The name of the directory that contains temporary libtool files.
+ objdir=$objdir
+
+@@ -18203,6 +18900,9 @@ MAGIC_CMD=$MAGIC_CMD
+ # Must we lock files when doing compilation?
+ need_locks=$lt_need_locks
+
++# Manifest tool.
++MANIFEST_TOOL=$lt_MANIFEST_TOOL
++
+ # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
+ DSYMUTIL=$lt_DSYMUTIL
+
+@@ -18317,12 +19017,12 @@ with_gcc=$GCC
+ # Compiler flag to turn off builtin functions.
+ no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
+
+-# How to pass a linker flag through the compiler.
+-wl=$lt_lt_prog_compiler_wl
+-
+ # Additional compiler flags for building library objects.
+ pic_flag=$lt_lt_prog_compiler_pic
+
++# How to pass a linker flag through the compiler.
++wl=$lt_lt_prog_compiler_wl
++
+ # Compiler flag to prevent dynamic linking.
+ link_static_flag=$lt_lt_prog_compiler_static
+
+@@ -18409,9 +19109,6 @@ inherit_rpath=$inherit_rpath
+ # Whether libtool must link a program against all its dependency libraries.
+ link_all_deplibs=$link_all_deplibs
+
+-# Fix the shell variable \$srcfile for the compiler.
+-fix_srcfile_path=$lt_fix_srcfile_path
+-
+ # Set to "yes" if exported symbols are required.
+ always_export_symbols=$always_export_symbols
+
+@@ -18427,6 +19124,9 @@ include_expsyms=$lt_include_expsyms
+ # Commands necessary for linking programs (against libraries) with templates.
+ prelink_cmds=$lt_prelink_cmds
+
++# Commands necessary for finishing linking programs.
++postlink_cmds=$lt_postlink_cmds
++
+ # Specify filename containing input files.
+ file_list_spec=$lt_file_list_spec
+
+@@ -18459,210 +19159,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
+ # if finds mixed CR/LF and LF-only lines. Since sed operates in
+ # text mode, it properly converts lines to CR/LF. This bash problem
+ # is reportedly fixed, but why not run on old versions too?
+- sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
+- || (rm -f "$cfgfile"; exit 1)
+-
+- case $xsi_shell in
+- yes)
+- cat << \_LT_EOF >> "$cfgfile"
+-
+-# func_dirname file append nondir_replacement
+-# Compute the dirname of FILE. If nonempty, add APPEND to the result,
+-# otherwise set result to NONDIR_REPLACEMENT.
+-func_dirname ()
+-{
+- case ${1} in
+- */*) func_dirname_result="${1%/*}${2}" ;;
+- * ) func_dirname_result="${3}" ;;
+- esac
+-}
+-
+-# func_basename file
+-func_basename ()
+-{
+- func_basename_result="${1##*/}"
+-}
+-
+-# func_dirname_and_basename file append nondir_replacement
+-# perform func_basename and func_dirname in a single function
+-# call:
+-# dirname: Compute the dirname of FILE. If nonempty,
+-# add APPEND to the result, otherwise set result
+-# to NONDIR_REPLACEMENT.
+-# value returned in "$func_dirname_result"
+-# basename: Compute filename of FILE.
+-# value retuned in "$func_basename_result"
+-# Implementation must be kept synchronized with func_dirname
+-# and func_basename. For efficiency, we do not delegate to
+-# those functions but instead duplicate the functionality here.
+-func_dirname_and_basename ()
+-{
+- case ${1} in
+- */*) func_dirname_result="${1%/*}${2}" ;;
+- * ) func_dirname_result="${3}" ;;
+- esac
+- func_basename_result="${1##*/}"
+-}
+-
+-# func_stripname prefix suffix name
+-# strip PREFIX and SUFFIX off of NAME.
+-# PREFIX and SUFFIX must not contain globbing or regex special
+-# characters, hashes, percent signs, but SUFFIX may contain a leading
+-# dot (in which case that matches only a dot).
+-func_stripname ()
+-{
+- # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
+- # positional parameters, so assign one to ordinary parameter first.
+- func_stripname_result=${3}
+- func_stripname_result=${func_stripname_result#"${1}"}
+- func_stripname_result=${func_stripname_result%"${2}"}
+-}
+-
+-# func_opt_split
+-func_opt_split ()
+-{
+- func_opt_split_opt=${1%%=*}
+- func_opt_split_arg=${1#*=}
+-}
+-
+-# func_lo2o object
+-func_lo2o ()
+-{
+- case ${1} in
+- *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
+- *) func_lo2o_result=${1} ;;
+- esac
+-}
+-
+-# func_xform libobj-or-source
+-func_xform ()
+-{
+- func_xform_result=${1%.*}.lo
+-}
+-
+-# func_arith arithmetic-term...
+-func_arith ()
+-{
+- func_arith_result=$(( $* ))
+-}
+-
+-# func_len string
+-# STRING may not start with a hyphen.
+-func_len ()
+-{
+- func_len_result=${#1}
+-}
+-
+-_LT_EOF
+- ;;
+- *) # Bourne compatible functions.
+- cat << \_LT_EOF >> "$cfgfile"
+-
+-# func_dirname file append nondir_replacement
+-# Compute the dirname of FILE. If nonempty, add APPEND to the result,
+-# otherwise set result to NONDIR_REPLACEMENT.
+-func_dirname ()
+-{
+- # Extract subdirectory from the argument.
+- func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
+- if test "X$func_dirname_result" = "X${1}"; then
+- func_dirname_result="${3}"
+- else
+- func_dirname_result="$func_dirname_result${2}"
+- fi
+-}
+-
+-# func_basename file
+-func_basename ()
+-{
+- func_basename_result=`$ECHO "${1}" | $SED "$basename"`
+-}
+-
+-
+-# func_stripname prefix suffix name
+-# strip PREFIX and SUFFIX off of NAME.
+-# PREFIX and SUFFIX must not contain globbing or regex special
+-# characters, hashes, percent signs, but SUFFIX may contain a leading
+-# dot (in which case that matches only a dot).
+-# func_strip_suffix prefix name
+-func_stripname ()
+-{
+- case ${2} in
+- .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
+- *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
+- esac
+-}
+-
+-# sed scripts:
+-my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
+-my_sed_long_arg='1s/^-[^=]*=//'
+-
+-# func_opt_split
+-func_opt_split ()
+-{
+- func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
+- func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
+-}
+-
+-# func_lo2o object
+-func_lo2o ()
+-{
+- func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
+-}
+-
+-# func_xform libobj-or-source
+-func_xform ()
+-{
+- func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
+-}
+-
+-# func_arith arithmetic-term...
+-func_arith ()
+-{
+- func_arith_result=`expr "$@"`
+-}
+-
+-# func_len string
+-# STRING may not start with a hyphen.
+-func_len ()
+-{
+- func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
+-}
+-
+-_LT_EOF
+-esac
+-
+-case $lt_shell_append in
+- yes)
+- cat << \_LT_EOF >> "$cfgfile"
+-
+-# func_append var value
+-# Append VALUE to the end of shell variable VAR.
+-func_append ()
+-{
+- eval "$1+=\$2"
+-}
+-_LT_EOF
+- ;;
+- *)
+- cat << \_LT_EOF >> "$cfgfile"
+-
+-# func_append var value
+-# Append VALUE to the end of shell variable VAR.
+-func_append ()
+-{
+- eval "$1=\$$1\$2"
+-}
+-
+-_LT_EOF
+- ;;
+- esac
+-
+-
+- sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
+- || (rm -f "$cfgfile"; exit 1)
+-
+- mv -f "$cfgfile" "$ofile" ||
++ sed '$q' "$ltmain" >> "$cfgfile" \
++ || (rm -f "$cfgfile"; exit 1)
++
++ if test x"$xsi_shell" = xyes; then
++ sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
++func_dirname ()\
++{\
++\ case ${1} in\
++\ */*) func_dirname_result="${1%/*}${2}" ;;\
++\ * ) func_dirname_result="${3}" ;;\
++\ esac\
++} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
++ && mv -f "$cfgfile.tmp" "$cfgfile" \
++ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++test 0 -eq $? || _lt_function_replace_fail=:
++
++
++ sed -e '/^func_basename ()$/,/^} # func_basename /c\
++func_basename ()\
++{\
++\ func_basename_result="${1##*/}"\
++} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
++ && mv -f "$cfgfile.tmp" "$cfgfile" \
++ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++test 0 -eq $? || _lt_function_replace_fail=:
++
++
++ sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
++func_dirname_and_basename ()\
++{\
++\ case ${1} in\
++\ */*) func_dirname_result="${1%/*}${2}" ;;\
++\ * ) func_dirname_result="${3}" ;;\
++\ esac\
++\ func_basename_result="${1##*/}"\
++} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
++ && mv -f "$cfgfile.tmp" "$cfgfile" \
++ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++test 0 -eq $? || _lt_function_replace_fail=:
++
++
++ sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
++func_stripname ()\
++{\
++\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
++\ # positional parameters, so assign one to ordinary parameter first.\
++\ func_stripname_result=${3}\
++\ func_stripname_result=${func_stripname_result#"${1}"}\
++\ func_stripname_result=${func_stripname_result%"${2}"}\
++} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
++ && mv -f "$cfgfile.tmp" "$cfgfile" \
++ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++test 0 -eq $? || _lt_function_replace_fail=:
++
++
++ sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
++func_split_long_opt ()\
++{\
++\ func_split_long_opt_name=${1%%=*}\
++\ func_split_long_opt_arg=${1#*=}\
++} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
++ && mv -f "$cfgfile.tmp" "$cfgfile" \
++ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++test 0 -eq $? || _lt_function_replace_fail=:
++
++
++ sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
++func_split_short_opt ()\
++{\
++\ func_split_short_opt_arg=${1#??}\
++\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
++} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
++ && mv -f "$cfgfile.tmp" "$cfgfile" \
++ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++test 0 -eq $? || _lt_function_replace_fail=:
++
++
++ sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
++func_lo2o ()\
++{\
++\ case ${1} in\
++\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
++\ *) func_lo2o_result=${1} ;;\
++\ esac\
++} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
++ && mv -f "$cfgfile.tmp" "$cfgfile" \
++ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++test 0 -eq $? || _lt_function_replace_fail=:
++
++
++ sed -e '/^func_xform ()$/,/^} # func_xform /c\
++func_xform ()\
++{\
++ func_xform_result=${1%.*}.lo\
++} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
++ && mv -f "$cfgfile.tmp" "$cfgfile" \
++ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++test 0 -eq $? || _lt_function_replace_fail=:
++
++
++ sed -e '/^func_arith ()$/,/^} # func_arith /c\
++func_arith ()\
++{\
++ func_arith_result=$(( $* ))\
++} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
++ && mv -f "$cfgfile.tmp" "$cfgfile" \
++ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++test 0 -eq $? || _lt_function_replace_fail=:
++
++
++ sed -e '/^func_len ()$/,/^} # func_len /c\
++func_len ()\
++{\
++ func_len_result=${#1}\
++} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
++ && mv -f "$cfgfile.tmp" "$cfgfile" \
++ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++test 0 -eq $? || _lt_function_replace_fail=:
++
++fi
++
++if test x"$lt_shell_append" = xyes; then
++ sed -e '/^func_append ()$/,/^} # func_append /c\
++func_append ()\
++{\
++ eval "${1}+=\\${2}"\
++} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
++ && mv -f "$cfgfile.tmp" "$cfgfile" \
++ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++test 0 -eq $? || _lt_function_replace_fail=:
++
++
++ sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
++func_append_quoted ()\
++{\
++\ func_quote_for_eval "${2}"\
++\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
++} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
++ && mv -f "$cfgfile.tmp" "$cfgfile" \
++ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++test 0 -eq $? || _lt_function_replace_fail=:
++
++
++ # Save a `func_append' function call where possible by direct use of '+='
++ sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
++ && mv -f "$cfgfile.tmp" "$cfgfile" \
++ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++ test 0 -eq $? || _lt_function_replace_fail=:
++else
++ # Save a `func_append' function call even when '+=' is not available
++ sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
++ && mv -f "$cfgfile.tmp" "$cfgfile" \
++ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++ test 0 -eq $? || _lt_function_replace_fail=:
++fi
++
++if test x"$_lt_function_replace_fail" = x":"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
++$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
++fi
++
++
++ mv -f "$cfgfile" "$ofile" ||
+ (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
+ chmod +x "$ofile"
+
+diff --git a/gprof/Makefile.in b/gprof/Makefile.in
+index a7398231030..fc7a3d78db0 100644
+--- a/gprof/Makefile.in
++++ b/gprof/Makefile.in
+@@ -327,6 +327,7 @@ CYGPATH_W = @CYGPATH_W@
+ DATADIRNAME = @DATADIRNAME@
+ DEFS = @DEFS@
+ DEPDIR = @DEPDIR@
++DLLTOOL = @DLLTOOL@
+ DSYMUTIL = @DSYMUTIL@
+ DUMPBIN = @DUMPBIN@
+ ECHO_C = @ECHO_C@
+@@ -363,6 +364,7 @@ LTLIBINTL = @LTLIBINTL@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAINT = @MAINT@
+ MAKEINFO = @MAKEINFO@
++MANIFEST_TOOL = @MANIFEST_TOOL@
+ MKDIR_P = @MKDIR_P@
+ MKINSTALLDIRS = @MKINSTALLDIRS@
+ MSGFMT = @MSGFMT@
+@@ -398,6 +400,7 @@ abs_builddir = @abs_builddir@
+ abs_srcdir = @abs_srcdir@
+ abs_top_builddir = @abs_top_builddir@
+ abs_top_srcdir = @abs_top_srcdir@
++ac_ct_AR = @ac_ct_AR@
+ ac_ct_CC = @ac_ct_CC@
+ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
+ am__include = @am__include@
+diff --git a/gprof/configure b/gprof/configure
+index 2d62b6fbb07..0cafee249eb 100755
+--- a/gprof/configure
++++ b/gprof/configure
+@@ -669,8 +669,11 @@ OTOOL
+ LIPO
+ NMEDIT
+ DSYMUTIL
++MANIFEST_TOOL
+ RANLIB
++ac_ct_AR
+ AR
++DLLTOOL
+ OBJDUMP
+ LN_S
+ NM
+@@ -787,6 +790,7 @@ enable_static
+ with_pic
+ enable_fast_install
+ with_gnu_ld
++with_libtool_sysroot
+ enable_libtool_lock
+ enable_plugins
+ enable_largefile
+@@ -1462,6 +1466,8 @@ Optional Packages:
+ --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
+ --without-libintl-prefix don't search for libintl in includedir and libdir
+ --with-libintl-type=TYPE type of library to search for (auto/static/shared)
++ --with-libtool-sysroot=DIR Search for dependent libraries within DIR
++ (or the compiler's sysroot if not specified).
+
+ Some influential environment variables:
+ CC C compiler command
+@@ -4530,8 +4536,8 @@ esac
+
+
+
+-macro_version='2.2.7a'
+-macro_revision='1.3134'
++macro_version='2.4'
++macro_revision='1.3293'
+
+
+
+@@ -4571,7 +4577,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
+ $as_echo_n "checking how to print strings... " >&6; }
+ # Test print first, because it will be a builtin if present.
+-if test "X`print -r -- -n 2>/dev/null`" = X-n && \
++if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
+ test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
+ ECHO='print -r --'
+ elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
+@@ -5264,8 +5270,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6;
+ # Try some XSI features
+ xsi_shell=no
+ ( _lt_dummy="a/b/c"
+- test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
+- = c,a/b,, \
++ test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
++ = c,a/b,b/c, \
+ && eval 'test $(( 1 + 1 )) -eq 2 \
+ && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
+ && xsi_shell=yes
+@@ -5314,6 +5320,80 @@ esac
+
+
+
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
++$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
++if ${lt_cv_to_host_file_cmd+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ case $host in
++ *-*-mingw* )
++ case $build in
++ *-*-mingw* ) # actually msys
++ lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
++ ;;
++ *-*-cygwin* )
++ lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
++ ;;
++ * ) # otherwise, assume *nix
++ lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
++ ;;
++ esac
++ ;;
++ *-*-cygwin* )
++ case $build in
++ *-*-mingw* ) # actually msys
++ lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
++ ;;
++ *-*-cygwin* )
++ lt_cv_to_host_file_cmd=func_convert_file_noop
++ ;;
++ * ) # otherwise, assume *nix
++ lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
++ ;;
++ esac
++ ;;
++ * ) # unhandled hosts (and "normal" native builds)
++ lt_cv_to_host_file_cmd=func_convert_file_noop
++ ;;
++esac
++
++fi
++
++to_host_file_cmd=$lt_cv_to_host_file_cmd
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
++$as_echo "$lt_cv_to_host_file_cmd" >&6; }
++
++
++
++
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
++$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
++if ${lt_cv_to_tool_file_cmd+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ #assume ordinary cross tools, or native build.
++lt_cv_to_tool_file_cmd=func_convert_file_noop
++case $host in
++ *-*-mingw* )
++ case $build in
++ *-*-mingw* ) # actually msys
++ lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
++ ;;
++ esac
++ ;;
++esac
++
++fi
++
++to_tool_file_cmd=$lt_cv_to_tool_file_cmd
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
++$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
++
++
++
++
++
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
+ $as_echo_n "checking for $LD option to reload object files... " >&6; }
+ if ${lt_cv_ld_reload_flag+:} false; then :
+@@ -5330,6 +5410,11 @@ case $reload_flag in
+ esac
+ reload_cmds='$LD$reload_flag -o $output$reload_objs'
+ case $host_os in
++ cygwin* | mingw* | pw32* | cegcc*)
++ if test "$GCC" != yes; then
++ reload_cmds=false
++ fi
++ ;;
+ darwin*)
+ if test "$GCC" = yes; then
+ reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
+@@ -5498,7 +5583,8 @@ mingw* | pw32*)
+ lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
+ lt_cv_file_magic_cmd='func_win32_libid'
+ else
+- lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
++ # Keep this pattern in sync with the one in func_win32_libid.
++ lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
+ lt_cv_file_magic_cmd='$OBJDUMP -f'
+ fi
+ ;;
+@@ -5657,6 +5743,21 @@ esac
+ fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
+ $as_echo "$lt_cv_deplibs_check_method" >&6; }
++
++file_magic_glob=
++want_nocaseglob=no
++if test "$build" = "$host"; then
++ case $host_os in
++ mingw* | pw32*)
++ if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
++ want_nocaseglob=yes
++ else
++ file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
++ fi
++ ;;
++ esac
++fi
++
+ file_magic_cmd=$lt_cv_file_magic_cmd
+ deplibs_check_method=$lt_cv_deplibs_check_method
+ test -z "$deplibs_check_method" && deplibs_check_method=unknown
+@@ -5672,6 +5773,157 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown
+
+
+
++
++
++
++
++
++
++
++
++
++
++if test -n "$ac_tool_prefix"; then
++ # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
++set dummy ${ac_tool_prefix}dlltool; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_DLLTOOL+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$DLLTOOL"; then
++ ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++ ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++DLLTOOL=$ac_cv_prog_DLLTOOL
++if test -n "$DLLTOOL"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
++$as_echo "$DLLTOOL" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++
++fi
++if test -z "$ac_cv_prog_DLLTOOL"; then
++ ac_ct_DLLTOOL=$DLLTOOL
++ # Extract the first word of "dlltool", so it can be a program name with args.
++set dummy dlltool; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$ac_ct_DLLTOOL"; then
++ ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++ ac_cv_prog_ac_ct_DLLTOOL="dlltool"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
++if test -n "$ac_ct_DLLTOOL"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
++$as_echo "$ac_ct_DLLTOOL" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++ if test "x$ac_ct_DLLTOOL" = x; then
++ DLLTOOL="false"
++ else
++ case $cross_compiling:$ac_tool_warned in
++yes:)
++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
++ac_tool_warned=yes ;;
++esac
++ DLLTOOL=$ac_ct_DLLTOOL
++ fi
++else
++ DLLTOOL="$ac_cv_prog_DLLTOOL"
++fi
++
++test -z "$DLLTOOL" && DLLTOOL=dlltool
++
++
++
++
++
++
++
++
++
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
++$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
++if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ lt_cv_sharedlib_from_linklib_cmd='unknown'
++
++case $host_os in
++cygwin* | mingw* | pw32* | cegcc*)
++ # two different shell functions defined in ltmain.sh
++ # decide which to use based on capabilities of $DLLTOOL
++ case `$DLLTOOL --help 2>&1` in
++ *--identify-strict*)
++ lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
++ ;;
++ *)
++ lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
++ ;;
++ esac
++ ;;
++*)
++ # fallback: assume linklib IS sharedlib
++ lt_cv_sharedlib_from_linklib_cmd="$ECHO"
++ ;;
++esac
++
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
++$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
++sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
++test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
++
++
++
++
++
++
++
+ plugin_option=
+ plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
+ for plugin in $plugin_names; do
+@@ -5686,8 +5938,10 @@ for plugin in $plugin_names; do
+ done
+
+ if test -n "$ac_tool_prefix"; then
+- # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
+-set dummy ${ac_tool_prefix}ar; ac_word=$2
++ for ac_prog in ar
++ do
++ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
++set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+ $as_echo_n "checking for $ac_word... " >&6; }
+ if ${ac_cv_prog_AR+:} false; then :
+@@ -5703,7 +5957,7 @@ do
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+- ac_cv_prog_AR="${ac_tool_prefix}ar"
++ ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+@@ -5723,11 +5977,15 @@ $as_echo "no" >&6; }
+ fi
+
+
++ test -n "$AR" && break
++ done
+ fi
+-if test -z "$ac_cv_prog_AR"; then
++if test -z "$AR"; then
+ ac_ct_AR=$AR
+- # Extract the first word of "ar", so it can be a program name with args.
+-set dummy ar; ac_word=$2
++ for ac_prog in ar
++do
++ # Extract the first word of "$ac_prog", so it can be a program name with args.
++set dummy $ac_prog; ac_word=$2
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+ $as_echo_n "checking for $ac_word... " >&6; }
+ if ${ac_cv_prog_ac_ct_AR+:} false; then :
+@@ -5743,7 +6001,7 @@ do
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+- ac_cv_prog_ac_ct_AR="ar"
++ ac_cv_prog_ac_ct_AR="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+@@ -5762,6 +6020,10 @@ else
+ $as_echo "no" >&6; }
+ fi
+
++
++ test -n "$ac_ct_AR" && break
++done
++
+ if test "x$ac_ct_AR" = x; then
+ AR="false"
+ else
+@@ -5773,25 +6035,19 @@ ac_tool_warned=yes ;;
+ esac
+ AR=$ac_ct_AR
+ fi
+-else
+- AR="$ac_cv_prog_AR"
+ fi
+
+-test -z "$AR" && AR=ar
+-if test -n "$plugin_option"; then
+- if $AR --help 2>&1 | grep -q "\--plugin"; then
+- touch conftest.c
+- $AR $plugin_option rc conftest.a conftest.c
+- if test "$?" != 0; then
+- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
++ touch conftest.c
++ $AR $plugin_option rc conftest.a conftest.c
++ if test "$?" != 0; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
+ $as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
+- else
+- AR="$AR $plugin_option"
+- fi
+- rm -f conftest.*
++ else
++ AR="$AR $plugin_option"
+ fi
+-fi
+-test -z "$AR_FLAGS" && AR_FLAGS=cru
++ rm -f conftest.*
++: ${AR=ar}
++: ${AR_FLAGS=cru}
+
+
+
+@@ -5803,6 +6059,64 @@ test -z "$AR_FLAGS" && AR_FLAGS=cru
@@ -4358,7 +6425,7 @@ index d4b13e6fc8b..dd5224c5c81 100755
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
set dummy ${ac_tool_prefix}strip; ac_word=$2
-@@ -6846,8 +7164,8 @@ esac
+@@ -6142,8 +6456,8 @@ esac
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
# Transform an extracted symbol line into symbol name and symbol address
@@ -4369,7 +6436,7 @@ index d4b13e6fc8b..dd5224c5c81 100755
# Handle CRLF in mingw tool chain
opt_cr=
-@@ -6883,6 +7201,7 @@ for ac_symprfx in "" "_"; do
+@@ -6179,6 +6493,7 @@ for ac_symprfx in "" "_"; do
else
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
fi
@@ -4377,7 +6444,7 @@ index d4b13e6fc8b..dd5224c5c81 100755
# Check to see that the pipe works correctly.
pipe_works=no
-@@ -6924,6 +7243,18 @@ _LT_EOF
+@@ -6220,6 +6535,18 @@ _LT_EOF
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
cat <<_LT_EOF > conftest.$ac_ext
@@ -4396,7 +6463,7 @@ index d4b13e6fc8b..dd5224c5c81 100755
#ifdef __cplusplus
extern "C" {
#endif
-@@ -6935,7 +7266,7 @@ _LT_EOF
+@@ -6231,7 +6558,7 @@ _LT_EOF
cat <<_LT_EOF >> conftest.$ac_ext
/* The mapping between symbol names and symbols. */
@@ -4405,7 +6472,7 @@ index d4b13e6fc8b..dd5224c5c81 100755
const char *name;
void *address;
}
-@@ -6961,8 +7292,8 @@ static const void *lt_preloaded_setup() {
+@@ -6257,8 +6584,8 @@ static const void *lt_preloaded_setup() {
_LT_EOF
# Now try linking the two files.
mv conftest.$ac_objext conftstm.$ac_objext
@@ -4416,7 +6483,7 @@ index d4b13e6fc8b..dd5224c5c81 100755
LIBS="conftstm.$ac_objext"
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
-@@ -6972,8 +7303,8 @@ _LT_EOF
+@@ -6268,8 +6595,8 @@ _LT_EOF
test $ac_status = 0; } && test -s conftest${ac_exeext}; then
pipe_works=yes
fi
@@ -4427,7 +6494,7 @@ index d4b13e6fc8b..dd5224c5c81 100755
else
echo "cannot find nm_test_func in $nlist" >&5
fi
-@@ -7010,6 +7341,21 @@ else
+@@ -6306,6 +6633,18 @@ else
$as_echo "ok" >&6; }
fi
@@ -4443,18 +6510,18 @@ index d4b13e6fc8b..dd5224c5c81 100755
+
+
+
-+
-+
-+
-@@ -7026,6 +7372,40 @@ fi
+@@ -6322,6 +6661,43 @@ fi
+
+
++
++
++
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
+$as_echo_n "checking for sysroot... " >&6; }
+
@@ -4490,7 +6557,7 @@ index d4b13e6fc8b..dd5224c5c81 100755
-@@ -7237,6 +7617,123 @@ esac
+@@ -6533,6 +6909,123 @@ esac
need_locks="$enable_libtool_lock"
@@ -4614,7 +6681,7 @@ index d4b13e6fc8b..dd5224c5c81 100755
case $host_os in
rhapsody* | darwin*)
-@@ -7800,6 +8297,8 @@ _LT_EOF
+@@ -7096,6 +7589,8 @@ _LT_EOF
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
echo "$AR cru libconftest.a conftest.o" >&5
$AR cru libconftest.a conftest.o 2>&5
@@ -4623,26 +6690,7 @@ index d4b13e6fc8b..dd5224c5c81 100755
cat > conftest.c << _LT_EOF
int main() { return 0;}
_LT_EOF
-@@ -7995,7 +8494,8 @@ fi
- LIBTOOL_DEPS="$ltmain"
-
- # Always use our own libtool.
--LIBTOOL='$(SHELL) $(top_builddir)/libtool'
-+LIBTOOL='$(SHELL) $(top_builddir)'
-+LIBTOOL="$LIBTOOL/${host_alias}-libtool"
-
-
-
-@@ -8084,7 +8584,7 @@ aix3*)
- esac
-
- # Global variables:
--ofile=libtool
-+ofile=${host_alias}-libtool
- can_build_shared=yes
-
- # All known linkers require a `.a' archive for static linking (except MSVC,
-@@ -8382,8 +8882,6 @@ fi
+@@ -7680,8 +8175,6 @@ fi
lt_prog_compiler_pic=
lt_prog_compiler_static=
@@ -4651,7 +6699,7 @@ index d4b13e6fc8b..dd5224c5c81 100755
if test "$GCC" = yes; then
lt_prog_compiler_wl='-Wl,'
-@@ -8549,6 +9047,12 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
+@@ -7847,6 +8340,12 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
lt_prog_compiler_pic='--shared'
lt_prog_compiler_static='--static'
;;
@@ -4664,7 +6712,7 @@ index d4b13e6fc8b..dd5224c5c81 100755
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
# Portland Group compilers (*not* the Pentium gcc compiler,
# which looks to be a dead project)
-@@ -8611,7 +9115,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
+@@ -7909,7 +8408,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
lt_prog_compiler_pic='-KPIC'
lt_prog_compiler_static='-Bstatic'
case $cc_basename in
@@ -4673,7 +6721,7 @@ index d4b13e6fc8b..dd5224c5c81 100755
lt_prog_compiler_wl='-Qoption ld ';;
*)
lt_prog_compiler_wl='-Wl,';;
-@@ -8668,13 +9172,17 @@ case $host_os in
+@@ -7966,13 +8465,17 @@ case $host_os in
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
;;
esac
@@ -4697,7 +6745,7 @@ index d4b13e6fc8b..dd5224c5c81 100755
#
# Check to make sure the PIC flag actually works.
-@@ -8735,6 +9243,11 @@ fi
+@@ -8033,6 +8536,11 @@ fi
@@ -4709,7 +6757,7 @@ index d4b13e6fc8b..dd5224c5c81 100755
#
# Check to make sure the static flag actually works.
#
-@@ -9085,7 +9598,8 @@ _LT_EOF
+@@ -8383,7 +8891,8 @@ _LT_EOF
allow_undefined_flag=unsupported
always_export_symbols=no
enable_shared_with_static_runtimes=yes
@@ -4719,7 +6767,7 @@ index d4b13e6fc8b..dd5224c5c81 100755
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
-@@ -9184,12 +9698,12 @@ _LT_EOF
+@@ -8482,12 +8991,12 @@ _LT_EOF
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
hardcode_libdir_flag_spec=
hardcode_libdir_flag_spec_ld='-rpath $libdir'
@@ -4734,7 +6782,7 @@ index d4b13e6fc8b..dd5224c5c81 100755
fi
;;
esac
-@@ -9203,8 +9717,8 @@ _LT_EOF
+@@ -8501,8 +9010,8 @@ _LT_EOF
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
wlarc=
else
@@ -4745,7 +6793,7 @@ index d4b13e6fc8b..dd5224c5c81 100755
fi
;;
-@@ -9222,8 +9736,8 @@ _LT_EOF
+@@ -8520,8 +9029,8 @@ _LT_EOF
_LT_EOF
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -4756,7 +6804,7 @@ index d4b13e6fc8b..dd5224c5c81 100755
else
ld_shlibs=no
fi
-@@ -9269,8 +9783,8 @@ _LT_EOF
+@@ -8567,8 +9076,8 @@ _LT_EOF
*)
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -4767,7 +6815,7 @@ index d4b13e6fc8b..dd5224c5c81 100755
else
ld_shlibs=no
fi
-@@ -9400,7 +9914,13 @@ _LT_EOF
+@@ -8698,7 +9207,13 @@ _LT_EOF
allow_undefined_flag='-berok'
# Determine the default libpath from the value encoded in an
# empty executable.
@@ -4782,7 +6830,7 @@ index d4b13e6fc8b..dd5224c5c81 100755
/* end confdefs.h. */
int
-@@ -9413,22 +9933,29 @@ main ()
+@@ -8711,22 +9226,29 @@ main ()
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
@@ -4825,7 +6873,7 @@ index d4b13e6fc8b..dd5224c5c81 100755
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
-@@ -9440,7 +9967,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+@@ -8738,7 +9260,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
else
# Determine the default libpath from the value encoded in an
# empty executable.
@@ -4840,7 +6888,7 @@ index d4b13e6fc8b..dd5224c5c81 100755
/* end confdefs.h. */
int
-@@ -9453,22 +9986,29 @@ main ()
+@@ -8751,22 +9279,29 @@ main ()
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
@@ -4883,7 +6931,7 @@ index d4b13e6fc8b..dd5224c5c81 100755
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
# Warning - without using the other run time loading flags,
-@@ -9513,20 +10053,63 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+@@ -8811,20 +9346,63 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
# Microsoft Visual C++.
# hardcode_libdir_flag_spec is actually meaningless, as there is
# no search path for DLLs.
@@ -4961,7 +7009,7 @@ index d4b13e6fc8b..dd5224c5c81 100755
;;
darwin* | rhapsody*)
-@@ -9587,7 +10170,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+@@ -8885,7 +9463,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
freebsd* | dragonfly*)
@@ -4970,7 +7018,7 @@ index d4b13e6fc8b..dd5224c5c81 100755
hardcode_libdir_flag_spec='-R$libdir'
hardcode_direct=yes
hardcode_shlibpath_var=no
-@@ -9595,7 +10178,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+@@ -8893,7 +9471,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
hpux9*)
if test "$GCC" = yes; then
@@ -4979,7 +7027,7 @@ index d4b13e6fc8b..dd5224c5c81 100755
else
archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
fi
-@@ -9611,7 +10194,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+@@ -8909,7 +9487,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
hpux10*)
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
@@ -4988,8 +7036,8 @@ index d4b13e6fc8b..dd5224c5c81 100755
else
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
fi
-@@ -9635,10 +10218,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
- archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
+@@ -8933,10 +9511,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+ archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
;;
ia64*)
- archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
@@ -5001,7 +7049,7 @@ index d4b13e6fc8b..dd5224c5c81 100755
;;
esac
else
-@@ -9717,23 +10300,36 @@ fi
+@@ -9015,23 +9593,36 @@ fi
irix5* | irix6* | nonstopux*)
if test "$GCC" = yes; then
@@ -5046,7 +7094,7 @@ index d4b13e6fc8b..dd5224c5c81 100755
else
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
-@@ -9818,7 +10414,7 @@ rm -f core conftest.err conftest.$ac_objext \
+@@ -9116,7 +9707,7 @@ rm -f core conftest.err conftest.$ac_objext \
osf4* | osf5*) # as osf3* with the addition of -msym flag
if test "$GCC" = yes; then
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
@@ -5055,7 +7103,7 @@ index d4b13e6fc8b..dd5224c5c81 100755
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
else
allow_undefined_flag=' -expect_unresolved \*'
-@@ -9837,9 +10433,9 @@ rm -f core conftest.err conftest.$ac_objext \
+@@ -9135,9 +9726,9 @@ rm -f core conftest.err conftest.$ac_objext \
no_undefined_flag=' -z defs'
if test "$GCC" = yes; then
wlarc='${wl}'
@@ -5067,7 +7115,7 @@ index d4b13e6fc8b..dd5224c5c81 100755
else
case `$CC -V 2>&1` in
*"Compilers 5.0"*)
-@@ -10415,8 +11011,9 @@ cygwin* | mingw* | pw32* | cegcc*)
+@@ -9713,8 +10304,9 @@ cygwin* | mingw* | pw32* | cegcc*)
need_version=no
need_lib_prefix=no
@@ -5079,7 +7127,7 @@ index d4b13e6fc8b..dd5224c5c81 100755
library_names_spec='$libname.dll.a'
# DLL is installed to $(libdir)/../bin by postinstall_cmds
postinstall_cmds='base_file=`basename \${file}`~
-@@ -10449,13 +11046,71 @@ cygwin* | mingw* | pw32* | cegcc*)
+@@ -9747,13 +10339,71 @@ cygwin* | mingw* | pw32* | cegcc*)
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
;;
esac
@@ -5152,25 +7200,16 @@ index d4b13e6fc8b..dd5224c5c81 100755
# FIXME: first we should search . and the directory the executable is in
shlibpath_var=PATH
;;
-@@ -10547,7 +11202,7 @@ haiku*)
- soname_spec='${libname}${release}${shared_ext}$major'
- shlibpath_var=LIBRARY_PATH
- shlibpath_overrides_runpath=yes
-- sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
-+ sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
- hardcode_into_libs=yes
- ;;
-
-@@ -11343,7 +11998,7 @@ else
+@@ -10655,7 +11305,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
--#line 11346 "configure"
+-#line 10658 "configure"
+#line $LINENO "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
-@@ -11387,10 +12042,10 @@ else
+@@ -10699,10 +11349,10 @@ else
/* When -fvisbility=hidden is used, assume the code has been annotated
correspondingly for the symbols needed. */
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -5183,16 +7222,16 @@ index d4b13e6fc8b..dd5224c5c81 100755
int main ()
{
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
-@@ -11449,7 +12104,7 @@ else
+@@ -10761,7 +11411,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
--#line 11452 "configure"
+-#line 10764 "configure"
+#line $LINENO "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
-@@ -11493,10 +12148,10 @@ else
+@@ -10805,10 +11455,10 @@ else
/* When -fvisbility=hidden is used, assume the code has been annotated
correspondingly for the symbols needed. */
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -5205,7 +7244,7 @@ index d4b13e6fc8b..dd5224c5c81 100755
int main ()
{
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
-@@ -15981,13 +16636,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
+@@ -14728,13 +15378,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
@@ -5226,7 +7265,7 @@ index d4b13e6fc8b..dd5224c5c81 100755
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
-@@ -16002,14 +16664,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de
+@@ -14749,14 +15406,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
@@ -5245,7 +7284,7 @@ index d4b13e6fc8b..dd5224c5c81 100755
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
-@@ -16042,12 +16707,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q
+@@ -14789,12 +15449,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
@@ -5259,7 +7298,7 @@ index d4b13e6fc8b..dd5224c5c81 100755
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
-@@ -16102,8 +16767,13 @@ reload_flag \
+@@ -14849,8 +15509,13 @@ reload_flag \
OBJDUMP \
deplibs_check_method \
file_magic_cmd \
@@ -5273,7 +7312,7 @@ index d4b13e6fc8b..dd5224c5c81 100755
STRIP \
RANLIB \
CC \
-@@ -16113,12 +16783,14 @@ lt_cv_sys_global_symbol_pipe \
+@@ -14860,12 +15525,14 @@ lt_cv_sys_global_symbol_pipe \
lt_cv_sys_global_symbol_to_cdecl \
lt_cv_sys_global_symbol_to_c_name_address \
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
@@ -5289,7 +7328,7 @@ index d4b13e6fc8b..dd5224c5c81 100755
DSYMUTIL \
NMEDIT \
LIPO \
-@@ -16134,7 +16806,6 @@ no_undefined_flag \
+@@ -14881,7 +15548,6 @@ no_undefined_flag \
hardcode_libdir_flag_spec \
hardcode_libdir_flag_spec_ld \
hardcode_libdir_separator \
@@ -5297,7 +7336,7 @@ index d4b13e6fc8b..dd5224c5c81 100755
exclude_expsyms \
include_expsyms \
file_list_spec \
-@@ -16170,6 +16841,7 @@ module_cmds \
+@@ -14917,6 +15583,7 @@ module_cmds \
module_expsym_cmds \
export_symbols_cmds \
prelink_cmds \
@@ -5305,7 +7344,7 @@ index d4b13e6fc8b..dd5224c5c81 100755
postinstall_cmds \
postuninstall_cmds \
finish_cmds \
-@@ -16943,7 +17615,8 @@ $as_echo X"$file" |
+@@ -15690,7 +16357,8 @@ $as_echo X"$file" |
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
#
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
@@ -5315,7 +7354,7 @@ index d4b13e6fc8b..dd5224c5c81 100755
# Written by Gordon Matzigkeit, 1996
#
# This file is part of GNU Libtool.
-@@ -17046,19 +17719,42 @@ SP2NL=$lt_lt_SP2NL
+@@ -15793,19 +16461,42 @@ SP2NL=$lt_lt_SP2NL
# turn newlines into spaces.
NL2SP=$lt_lt_NL2SP
@@ -5359,7 +7398,7 @@ index d4b13e6fc8b..dd5224c5c81 100755
# A symbol stripping program.
STRIP=$lt_STRIP
-@@ -17088,6 +17784,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
+@@ -15835,6 +16526,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
# Transform the output of nm in a C name address pair when lib prefix is needed.
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
@@ -5372,7 +7411,7 @@ index d4b13e6fc8b..dd5224c5c81 100755
# The name of the directory that contains temporary libtool files.
objdir=$objdir
-@@ -17097,6 +17799,9 @@ MAGIC_CMD=$MAGIC_CMD
+@@ -15844,6 +16541,9 @@ MAGIC_CMD=$MAGIC_CMD
# Must we lock files when doing compilation?
need_locks=$lt_need_locks
@@ -5382,7 +7421,7 @@ index d4b13e6fc8b..dd5224c5c81 100755
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
DSYMUTIL=$lt_DSYMUTIL
-@@ -17211,12 +17916,12 @@ with_gcc=$GCC
+@@ -15958,12 +16658,12 @@ with_gcc=$GCC
# Compiler flag to turn off builtin functions.
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
@@ -5398,7 +7437,7 @@ index d4b13e6fc8b..dd5224c5c81 100755
# Compiler flag to prevent dynamic linking.
link_static_flag=$lt_lt_prog_compiler_static
-@@ -17303,9 +18008,6 @@ inherit_rpath=$inherit_rpath
+@@ -16050,9 +16750,6 @@ inherit_rpath=$inherit_rpath
# Whether libtool must link a program against all its dependency libraries.
link_all_deplibs=$link_all_deplibs
@@ -5408,7 +7447,7 @@ index d4b13e6fc8b..dd5224c5c81 100755
# Set to "yes" if exported symbols are required.
always_export_symbols=$always_export_symbols
-@@ -17321,6 +18023,9 @@ include_expsyms=$lt_include_expsyms
+@@ -16068,6 +16765,9 @@ include_expsyms=$lt_include_expsyms
# Commands necessary for linking programs (against libraries) with templates.
prelink_cmds=$lt_prelink_cmds
@@ -5418,7 +7457,7 @@ index d4b13e6fc8b..dd5224c5c81 100755
# Specify filename containing input files.
file_list_spec=$lt_file_list_spec
-@@ -17353,210 +18058,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
+@@ -16100,210 +16800,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
# if finds mixed CR/LF and LF-only lines. Since sed operates in
# text mode, it properly converts lines to CR/LF. This bash problem
# is reportedly fixed, but why not run on old versions too?
@@ -5792,40 +7831,57 @@ index d4b13e6fc8b..dd5224c5c81 100755
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
chmod +x "$ofile"
-diff --git a/gprof/configure b/gprof/configure
-index 3cf41b79116..e5d57f52912 100755
---- a/gprof/configure
-+++ b/gprof/configure
-@@ -662,8 +662,11 @@ OTOOL
+diff --git a/gprofng/Makefile.in b/gprofng/Makefile.in
+index dbc868191b7..1ca6dd01f58 100644
+--- a/gprofng/Makefile.in
++++ b/gprofng/Makefile.in
+@@ -253,6 +253,7 @@ CXXFLAGS = @CXXFLAGS@
+ CYGPATH_W = @CYGPATH_W@
+ DEFS = @DEFS@
+ DEPDIR = @DEPDIR@
++DLLTOOL = @DLLTOOL@
+ DSYMUTIL = @DSYMUTIL@
+ DUMPBIN = @DUMPBIN@
+ ECHO_C = @ECHO_C@
+@@ -289,6 +290,7 @@ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAINT = @MAINT@
+ MAKEINFO = @MAKEINFO@
++MANIFEST_TOOL = @MANIFEST_TOOL@
+ MKDIR_P = @MKDIR_P@
+ NM = @NM@
+ NMEDIT = @NMEDIT@
+diff --git a/gprofng/configure b/gprofng/configure
+index bdfa2281f2c..b6376eb3f77 100755
+--- a/gprofng/configure
++++ b/gprofng/configure
+@@ -671,6 +671,8 @@ OTOOL
LIPO
NMEDIT
DSYMUTIL
+MANIFEST_TOOL
- RANLIB
-+ac_ct_AR
- AR
+DLLTOOL
OBJDUMP
LN_S
NM
-@@ -780,6 +783,7 @@ enable_static
+@@ -801,6 +803,7 @@ enable_static
with_pic
enable_fast_install
with_gnu_ld
+with_libtool_sysroot
enable_libtool_lock
- enable_plugins
- enable_largefile
-@@ -1442,6 +1446,8 @@ Optional Packages:
+ enable_werror_always
+ enable_gprofng_tools
+@@ -1464,6 +1467,8 @@ Optional Packages:
--with-pic try to use only PIC/non-PIC objects [default=use
both]
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
+ --with-libtool-sysroot=DIR Search for dependent libraries within DIR
+ (or the compiler's sysroot if not specified).
+ --with-jdk=PATH specify prefix directory for installed JDK.
+ --with-system-zlib use installed libz
- Some influential environment variables:
- CC C compiler command
-@@ -5124,8 +5130,8 @@ esac
+@@ -6152,8 +6157,8 @@ esac
@@ -5836,7 +7892,7 @@ index 3cf41b79116..e5d57f52912 100755
-@@ -5165,7 +5171,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
+@@ -6193,7 +6198,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
$as_echo_n "checking how to print strings... " >&6; }
# Test print first, because it will be a builtin if present.
@@ -5845,7 +7901,7 @@ index 3cf41b79116..e5d57f52912 100755
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
ECHO='print -r --'
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
-@@ -5851,8 +5857,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6;
+@@ -6886,8 +6891,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6;
# Try some XSI features
xsi_shell=no
( _lt_dummy="a/b/c"
@@ -5856,7 +7912,7 @@ index 3cf41b79116..e5d57f52912 100755
&& eval 'test $(( 1 + 1 )) -eq 2 \
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
&& xsi_shell=yes
-@@ -5901,6 +5907,80 @@ esac
+@@ -6936,6 +6941,80 @@ esac
@@ -5937,7 +7993,7 @@ index 3cf41b79116..e5d57f52912 100755
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
$as_echo_n "checking for $LD option to reload object files... " >&6; }
if ${lt_cv_ld_reload_flag+:} false; then :
-@@ -5917,6 +5997,11 @@ case $reload_flag in
+@@ -6952,6 +7031,11 @@ case $reload_flag in
esac
reload_cmds='$LD$reload_flag -o $output$reload_objs'
case $host_os in
@@ -5949,7 +8005,7 @@ index 3cf41b79116..e5d57f52912 100755
darwin*)
if test "$GCC" = yes; then
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
-@@ -6085,7 +6170,8 @@ mingw* | pw32*)
+@@ -7120,7 +7204,8 @@ mingw* | pw32*)
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
lt_cv_file_magic_cmd='func_win32_libid'
else
@@ -5959,7 +8015,7 @@ index 3cf41b79116..e5d57f52912 100755
lt_cv_file_magic_cmd='$OBJDUMP -f'
fi
;;
-@@ -6239,6 +6325,21 @@ esac
+@@ -7279,6 +7364,21 @@ esac
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
$as_echo "$lt_cv_deplibs_check_method" >&6; }
@@ -5981,7 +8037,7 @@ index 3cf41b79116..e5d57f52912 100755
file_magic_cmd=$lt_cv_file_magic_cmd
deplibs_check_method=$lt_cv_deplibs_check_method
test -z "$deplibs_check_method" && deplibs_check_method=unknown
-@@ -6252,11 +6353,164 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown
+@@ -7294,6 +7394,157 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown
@@ -5995,11 +8051,7 @@ index 3cf41b79116..e5d57f52912 100755
+
+
+
-
-
- if test -n "$ac_tool_prefix"; then
-- # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
--set dummy ${ac_tool_prefix}ar; ac_word=$2
++if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
+set dummy ${ac_tool_prefix}dlltool; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
@@ -6140,7 +8192,15 @@ index 3cf41b79116..e5d57f52912 100755
+
+
+
-+if test -n "$ac_tool_prefix"; then
+ plugin_option=
+ plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
+ for plugin in $plugin_names; do
+@@ -7308,8 +7559,10 @@ for plugin in $plugin_names; do
+ done
+
+ if test -n "$ac_tool_prefix"; then
+- # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
+-set dummy ${ac_tool_prefix}ar; ac_word=$2
+ for ac_prog in ar
+ do
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
@@ -6148,7 +8208,7 @@ index 3cf41b79116..e5d57f52912 100755
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_prog_AR+:} false; then :
-@@ -6272,7 +6526,7 @@ do
+@@ -7325,7 +7578,7 @@ do
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
@@ -6157,7 +8217,7 @@ index 3cf41b79116..e5d57f52912 100755
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
-@@ -6292,11 +6546,15 @@ $as_echo "no" >&6; }
+@@ -7345,11 +7598,15 @@ $as_echo "no" >&6; }
fi
@@ -6176,7 +8236,7 @@ index 3cf41b79116..e5d57f52912 100755
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_prog_ac_ct_AR+:} false; then :
-@@ -6312,7 +6570,7 @@ do
+@@ -7365,7 +7622,7 @@ do
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
@@ -6185,7 +8245,7 @@ index 3cf41b79116..e5d57f52912 100755
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
-@@ -6331,6 +6589,10 @@ else
+@@ -7384,6 +7641,10 @@ else
$as_echo "no" >&6; }
fi
@@ -6196,7 +8256,7 @@ index 3cf41b79116..e5d57f52912 100755
if test "x$ac_ct_AR" = x; then
AR="false"
else
-@@ -6342,16 +6604,72 @@ ac_tool_warned=yes ;;
+@@ -7395,25 +7656,19 @@ ac_tool_warned=yes ;;
esac
AR=$ac_ct_AR
fi
@@ -6205,10 +8265,87 @@ index 3cf41b79116..e5d57f52912 100755
fi
-test -z "$AR" && AR=ar
+-if test -n "$plugin_option"; then
+- if $AR --help 2>&1 | grep -q "\--plugin"; then
+- touch conftest.c
+- $AR $plugin_option rc conftest.a conftest.c
+- if test "$?" != 0; then
+- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
++ touch conftest.c
++ $AR $plugin_option rc conftest.a conftest.c
++ if test "$?" != 0; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
+ $as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
+- else
+- AR="$AR $plugin_option"
+- fi
+- rm -f conftest.*
++ else
++ AR="$AR $plugin_option"
+ fi
+-fi
-test -z "$AR_FLAGS" && AR_FLAGS=cru
++ rm -f conftest.*
+: ${AR=ar}
+: ${AR_FLAGS=cru}
+
+
+
+@@ -7425,6 +7680,64 @@ test -z "$AR_FLAGS" && AR_FLAGS=cru
+
+
+
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
++$as_echo_n "checking for archiver @FILE support... " >&6; }
++if ${lt_cv_ar_at_file+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ lt_cv_ar_at_file=no
++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
++/* end confdefs.h. */
++
++int
++main ()
++{
++
++ ;
++ return 0;
++}
++_ACEOF
++if ac_fn_c_try_compile "$LINENO"; then :
++ echo conftest.$ac_objext > conftest.lst
++ lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
++ { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
++ (eval $lt_ar_try) 2>&5
++ ac_status=$?
++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
++ test $ac_status = 0; }
++ if test "$ac_status" -eq 0; then
++ # Ensure the archiver fails upon bogus file names.
++ rm -f conftest.$ac_objext libconftest.a
++ { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
++ (eval $lt_ar_try) 2>&5
++ ac_status=$?
++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
++ test $ac_status = 0; }
++ if test "$ac_status" -ne 0; then
++ lt_cv_ar_at_file=@
++ fi
++ fi
++ rm -f conftest.* libconftest.a
+
++fi
++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
++
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
++$as_echo "$lt_cv_ar_at_file" >&6; }
++
++if test "x$lt_cv_ar_at_file" = xno; then
++ archiver_list_spec=
++else
++ archiver_list_spec=$lt_cv_ar_at_file
++fi
+
+
+
@@ -6216,9 +8353,2584 @@ index 3cf41b79116..e5d57f52912 100755
+
+
+
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
+ set dummy ${ac_tool_prefix}strip; ac_word=$2
+@@ -7764,8 +8077,8 @@ esac
+ lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
+
+ # Transform an extracted symbol line into symbol name and symbol address
+-lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
+-lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
++lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
++lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
+
+ # Handle CRLF in mingw tool chain
+ opt_cr=
+@@ -7801,6 +8114,7 @@ for ac_symprfx in "" "_"; do
+ else
+ lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
+ fi
++ lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
+
+ # Check to see that the pipe works correctly.
+ pipe_works=no
+@@ -7842,6 +8156,18 @@ _LT_EOF
+ if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
+ if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
+ cat <<_LT_EOF > conftest.$ac_ext
++/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
++#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
++/* DATA imports from DLLs on WIN32 con't be const, because runtime
++ relocations are performed -- see ld's documentation on pseudo-relocs. */
++# define LT_DLSYM_CONST
++#elif defined(__osf__)
++/* This system does not cope well with relocations in const data. */
++# define LT_DLSYM_CONST
++#else
++# define LT_DLSYM_CONST const
++#endif
+
+ #ifdef __cplusplus
+ extern "C" {
+ #endif
+@@ -7853,7 +8179,7 @@ _LT_EOF
+ cat <<_LT_EOF >> conftest.$ac_ext
+
+ /* The mapping between symbol names and symbols. */
+-const struct {
++LT_DLSYM_CONST struct {
+ const char *name;
+ void *address;
+ }
+@@ -7879,8 +8205,8 @@ static const void *lt_preloaded_setup() {
+ _LT_EOF
+ # Now try linking the two files.
+ mv conftest.$ac_objext conftstm.$ac_objext
+- lt_save_LIBS="$LIBS"
+- lt_save_CFLAGS="$CFLAGS"
++ lt_globsym_save_LIBS=$LIBS
++ lt_globsym_save_CFLAGS=$CFLAGS
+ LIBS="conftstm.$ac_objext"
+ CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
+@@ -7890,8 +8216,8 @@ _LT_EOF
+ test $ac_status = 0; } && test -s conftest${ac_exeext}; then
+ pipe_works=yes
+ fi
+- LIBS="$lt_save_LIBS"
+- CFLAGS="$lt_save_CFLAGS"
++ LIBS=$lt_globsym_save_LIBS
++ CFLAGS=$lt_globsym_save_CFLAGS
+ else
+ echo "cannot find nm_test_func in $nlist" >&5
+ fi
+@@ -7928,6 +8254,14 @@ else
+ $as_echo "ok" >&6; }
+ fi
+
++# Response file support.
++if test "$lt_cv_nm_interface" = "MS dumpbin"; then
++ nm_file_list_spec='@'
++elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
++ nm_file_list_spec='@'
++fi
++
++
+
+
+
+@@ -7946,6 +8280,47 @@ fi
+
+
+
++
++
++
++
++
++
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
++$as_echo_n "checking for sysroot... " >&6; }
++
++# Check whether --with-libtool-sysroot was given.
++if test "${with_libtool_sysroot+set}" = set; then :
++ withval=$with_libtool_sysroot;
++else
++ with_libtool_sysroot=no
++fi
++
++
++lt_sysroot=
++case ${with_libtool_sysroot} in #(
++ yes)
++ if test "$GCC" = yes; then
++ lt_sysroot=`$CC --print-sysroot 2>/dev/null`
++ fi
++ ;; #(
++ /*)
++ lt_sysroot=`echo "$with_libtool_sysroot" | sed -e "$sed_quote_subst"`
++ ;; #(
++ no|'')
++ ;; #(
++ *)
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_libtool_sysroot}" >&5
++$as_echo "${with_libtool_sysroot}" >&6; }
++ as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
++ ;;
++esac
++
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
++$as_echo "${lt_sysroot:-no}" >&6; }
+
+
+
+
+
+@@ -8155,6 +8530,123 @@ esac
+
+ need_locks="$enable_libtool_lock"
+
++if test -n "$ac_tool_prefix"; then
++ # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
++set dummy ${ac_tool_prefix}mt; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$MANIFEST_TOOL"; then
++ ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++ ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
++if test -n "$MANIFEST_TOOL"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
++$as_echo "$MANIFEST_TOOL" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++
++fi
++if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
++ ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
++ # Extract the first word of "mt", so it can be a program name with args.
++set dummy mt; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$ac_ct_MANIFEST_TOOL"; then
++ ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++ ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
++if test -n "$ac_ct_MANIFEST_TOOL"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
++$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++ if test "x$ac_ct_MANIFEST_TOOL" = x; then
++ MANIFEST_TOOL=":"
++ else
++ case $cross_compiling:$ac_tool_warned in
++yes:)
++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
++ac_tool_warned=yes ;;
++esac
++ MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
++ fi
++else
++ MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
++fi
++
++test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
++$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
++if ${lt_cv_path_mainfest_tool+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ lt_cv_path_mainfest_tool=no
++ echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
++ $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
++ cat conftest.err >&5
++ if $GREP 'Manifest Tool' conftest.out > /dev/null; then
++ lt_cv_path_mainfest_tool=yes
++ fi
++ rm -f conftest*
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
++$as_echo "$lt_cv_path_mainfest_tool" >&6; }
++if test "x$lt_cv_path_mainfest_tool" != xyes; then
++ MANIFEST_TOOL=:
++fi
++
++
++
++
++
+
+ case $host_os in
+ rhapsody* | darwin*)
+@@ -8718,6 +9210,8 @@ _LT_EOF
+ $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
+ echo "$AR cru libconftest.a conftest.o" >&5
+ $AR cru libconftest.a conftest.o 2>&5
++ echo "$RANLIB libconftest.a" >&5
++ $RANLIB libconftest.a 2>&5
+ cat > conftest.c << _LT_EOF
+ int main() { return 0;}
+ _LT_EOF
+@@ -8788,6 +9282,16 @@ done
+
+
+
++func_stripname_cnf ()
++{
++ case ${2} in
++ .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
++ *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
++ esac
++} # func_stripname_cnf
++
++
++
+
+
+ # Set options
+@@ -9273,8 +9777,6 @@ fi
+ lt_prog_compiler_pic=
+ lt_prog_compiler_static=
+
+-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
+-$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
+
+ if test "$GCC" = yes; then
+ lt_prog_compiler_wl='-Wl,'
+@@ -9440,6 +9942,12 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
+ lt_prog_compiler_pic='--shared'
+ lt_prog_compiler_static='--static'
+ ;;
++ nagfor*)
++ # NAG Fortran compiler
++ lt_prog_compiler_wl='-Wl,-Wl,,'
++ lt_prog_compiler_pic='-PIC'
++ lt_prog_compiler_static='-Bstatic'
++ ;;
+ pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
+ # Portland Group compilers (*not* the Pentium gcc compiler,
+ # which looks to be a dead project)
+@@ -9502,7 +10010,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
+ lt_prog_compiler_pic='-KPIC'
+ lt_prog_compiler_static='-Bstatic'
+ case $cc_basename in
+- f77* | f90* | f95*)
++ f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
+ lt_prog_compiler_wl='-Qoption ld ';;
+ *)
+ lt_prog_compiler_wl='-Wl,';;
+@@ -9559,13 +10067,17 @@ case $host_os in
+ lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
+ ;;
+ esac
+-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
+-$as_echo "$lt_prog_compiler_pic" >&6; }
+-
+-
+-
+-
+
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
++$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
++if ${lt_cv_prog_compiler_pic+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
++$as_echo "$lt_cv_prog_compiler_pic" >&6; }
++lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
+
+ #
+ # Check to make sure the PIC flag actually works.
+@@ -9626,6 +10138,11 @@ fi
+
+
+
++
++
++
++
++
+ #
+ # Check to make sure the static flag actually works.
+ #
+@@ -9976,7 +10493,8 @@ _LT_EOF
+ allow_undefined_flag=unsupported
+ always_export_symbols=no
+ enable_shared_with_static_runtimes=yes
+- export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
++ export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
++ exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
+
+ if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
+@@ -10075,12 +10593,12 @@ _LT_EOF
+ whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
+ hardcode_libdir_flag_spec=
+ hardcode_libdir_flag_spec_ld='-rpath $libdir'
+- archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
++ archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
+ if test "x$supports_anon_versioning" = xyes; then
+ archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
+ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
+ echo "local: *; };" >> $output_objdir/$libname.ver~
+- $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
++ $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
+ fi
+ ;;
+ esac
+@@ -10094,8 +10612,8 @@ _LT_EOF
+ archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
+ wlarc=
+ else
+- archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+- archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+ fi
+ ;;
+
+@@ -10113,8 +10631,8 @@ _LT_EOF
+
+ _LT_EOF
+ elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
+- archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+- archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+ else
+ ld_shlibs=no
+ fi
+@@ -10160,8 +10678,8 @@ _LT_EOF
+
+ *)
+ if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
+- archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+- archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+ else
+ ld_shlibs=no
+ fi
+@@ -10291,7 +10809,13 @@ _LT_EOF
+ allow_undefined_flag='-berok'
+ # Determine the default libpath from the value encoded in an
+ # empty executable.
+- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
++ if test "${lt_cv_aix_libpath+set}" = set; then
++ aix_libpath=$lt_cv_aix_libpath
++else
++ if ${lt_cv_aix_libpath_+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h. */
+
+ int
+@@ -10304,22 +10828,29 @@ main ()
+ _ACEOF
+ if ac_fn_c_try_link "$LINENO"; then :
+
+-lt_aix_libpath_sed='
+- /Import File Strings/,/^$/ {
+- /^0/ {
+- s/^0 *\(.*\)$/\1/
+- p
+- }
+- }'
+-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+-# Check for a 64-bit object if we didn't find anything.
+-if test -z "$aix_libpath"; then
+- aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+-fi
++ lt_aix_libpath_sed='
++ /Import File Strings/,/^$/ {
++ /^0/ {
++ s/^0 *\([^ ]*\) *$/\1/
++ p
++ }
++ }'
++ lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
++ # Check for a 64-bit object if we didn't find anything.
++ if test -z "$lt_cv_aix_libpath_"; then
++ lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
++ fi
+ fi
+ rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
++ if test -z "$lt_cv_aix_libpath_"; then
++ lt_cv_aix_libpath_="/usr/lib:/lib"
++ fi
++
++fi
++
++ aix_libpath=$lt_cv_aix_libpath_
++fi
+
+ hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
+ archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
+@@ -10331,7 +10862,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+ else
+ # Determine the default libpath from the value encoded in an
+ # empty executable.
+- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
++ if test "${lt_cv_aix_libpath+set}" = set; then
++ aix_libpath=$lt_cv_aix_libpath
++else
++ if ${lt_cv_aix_libpath_+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h. */
+
+ int
+@@ -10344,22 +10881,29 @@ main ()
+ _ACEOF
+ if ac_fn_c_try_link "$LINENO"; then :
+
+-lt_aix_libpath_sed='
+- /Import File Strings/,/^$/ {
+- /^0/ {
+- s/^0 *\(.*\)$/\1/
+- p
+- }
+- }'
+-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+-# Check for a 64-bit object if we didn't find anything.
+-if test -z "$aix_libpath"; then
+- aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+-fi
++ lt_aix_libpath_sed='
++ /Import File Strings/,/^$/ {
++ /^0/ {
++ s/^0 *\([^ ]*\) *$/\1/
++ p
++ }
++ }'
++ lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
++ # Check for a 64-bit object if we didn't find anything.
++ if test -z "$lt_cv_aix_libpath_"; then
++ lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
++ fi
+ fi
+ rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
++ if test -z "$lt_cv_aix_libpath_"; then
++ lt_cv_aix_libpath_="/usr/lib:/lib"
++ fi
++
++fi
++
++ aix_libpath=$lt_cv_aix_libpath_
++fi
+
+ hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
+ # Warning - without using the other run time loading flags,
+@@ -10404,20 +10948,63 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+ # Microsoft Visual C++.
+ # hardcode_libdir_flag_spec is actually meaningless, as there is
+ # no search path for DLLs.
+- hardcode_libdir_flag_spec=' '
+- allow_undefined_flag=unsupported
+- # Tell ltmain to make .lib files, not .a files.
+- libext=lib
+- # Tell ltmain to make .dll files, not .so files.
+- shrext_cmds=".dll"
+- # FIXME: Setting linknames here is a bad hack.
+- archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
+- # The linker will automatically build a .lib file if we build a DLL.
+- old_archive_from_new_cmds='true'
+- # FIXME: Should let the user specify the lib program.
+- old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
+- fix_srcfile_path='`cygpath -w "$srcfile"`'
+- enable_shared_with_static_runtimes=yes
++ case $cc_basename in
++ cl*)
++ # Native MSVC
++ hardcode_libdir_flag_spec=' '
++ allow_undefined_flag=unsupported
++ always_export_symbols=yes
++ file_list_spec='@'
++ # Tell ltmain to make .lib files, not .a files.
++ libext=lib
++ # Tell ltmain to make .dll files, not .so files.
++ shrext_cmds=".dll"
++ # FIXME: Setting linknames here is a bad hack.
++ archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
++ archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
++ sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
++ else
++ sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
++ fi~
++ $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
++ linknames='
++ # The linker will not automatically build a static lib if we build a DLL.
++ # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
++ enable_shared_with_static_runtimes=yes
++ export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
++ # Don't use ranlib
++ old_postinstall_cmds='chmod 644 $oldlib'
++ postlink_cmds='lt_outputfile="@OUTPUT@"~
++ lt_tool_outputfile="@TOOL_OUTPUT@"~
++ case $lt_outputfile in
++ *.exe|*.EXE) ;;
++ *)
++ lt_outputfile="$lt_outputfile.exe"
++ lt_tool_outputfile="$lt_tool_outputfile.exe"
++ ;;
++ esac~
++ if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
++ $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
++ $RM "$lt_outputfile.manifest";
++ fi'
++ ;;
++ *)
++ # Assume MSVC wrapper
++ hardcode_libdir_flag_spec=' '
++ allow_undefined_flag=unsupported
++ # Tell ltmain to make .lib files, not .a files.
++ libext=lib
++ # Tell ltmain to make .dll files, not .so files.
++ shrext_cmds=".dll"
++ # FIXME: Setting linknames here is a bad hack.
++ archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
++ # The linker will automatically build a .lib file if we build a DLL.
++ old_archive_from_new_cmds='true'
++ # FIXME: Should let the user specify the lib program.
++ old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
++ enable_shared_with_static_runtimes=yes
++ ;;
++ esac
+ ;;
+
+ darwin* | rhapsody*)
+@@ -10478,7 +11065,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+
+ # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
+ freebsd* | dragonfly*)
+- archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
++ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
+ hardcode_libdir_flag_spec='-R$libdir'
+ hardcode_direct=yes
+ hardcode_shlibpath_var=no
+@@ -10486,7 +11073,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+
+ hpux9*)
+ if test "$GCC" = yes; then
+- archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
++ archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
+ else
+ archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
+ fi
+@@ -10502,7 +11089,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+
+ hpux10*)
+ if test "$GCC" = yes && test "$with_gnu_ld" = no; then
+- archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
++ archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
+ else
+ archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
+ fi
+@@ -10526,10 +11113,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+ archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ ia64*)
+- archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
++ archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ *)
+- archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
++ archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ esac
+ else
+@@ -10608,23 +11195,36 @@ fi
+
+ irix5* | irix6* | nonstopux*)
+ if test "$GCC" = yes; then
+- archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+ # Try to use the -exported_symbol ld option, if it does not
+ # work, assume that -exports_file does not work either and
+ # implicitly export all symbols.
+- save_LDFLAGS="$LDFLAGS"
+- LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
+- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
++ # This should be the same for all languages, so no per-tag cache variable.
++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
++$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
++if ${lt_cv_irix_exported_symbol+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ save_LDFLAGS="$LDFLAGS"
++ LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h. */
+-int foo(void) {}
++int foo (void) { return 0; }
+ _ACEOF
+ if ac_fn_c_try_link "$LINENO"; then :
+- archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
+-
++ lt_cv_irix_exported_symbol=yes
++else
++ lt_cv_irix_exported_symbol=no
+ fi
+ rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+- LDFLAGS="$save_LDFLAGS"
++ LDFLAGS="$save_LDFLAGS"
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
++$as_echo "$lt_cv_irix_exported_symbol" >&6; }
++ if test "$lt_cv_irix_exported_symbol" = yes; then
++ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
++ fi
+ else
+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
+ archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
+@@ -10709,7 +11309,7 @@ rm -f core conftest.err conftest.$ac_objext \
+ osf4* | osf5*) # as osf3* with the addition of -msym flag
+ if test "$GCC" = yes; then
+ allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
+- archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++ archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
+ else
+ allow_undefined_flag=' -expect_unresolved \*'
+@@ -10728,9 +11328,9 @@ rm -f core conftest.err conftest.$ac_objext \
+ no_undefined_flag=' -z defs'
+ if test "$GCC" = yes; then
+ wlarc='${wl}'
+- archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++ archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
+ archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
+- $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
++ $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
+ else
+ case `$CC -V 2>&1` in
+ *"Compilers 5.0"*)
+@@ -11306,8 +11906,9 @@ cygwin* | mingw* | pw32* | cegcc*)
+ need_version=no
+ need_lib_prefix=no
+
+- case $GCC,$host_os in
+- yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
++ case $GCC,$cc_basename in
++ yes,*)
++ # gcc
+ library_names_spec='$libname.dll.a'
+ # DLL is installed to $(libdir)/../bin by postinstall_cmds
+ postinstall_cmds='base_file=`basename \${file}`~
+@@ -11340,13 +11941,71 @@ cygwin* | mingw* | pw32* | cegcc*)
+ library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
+ ;;
+ esac
++ dynamic_linker='Win32 ld.exe'
++ ;;
++
++ *,cl*)
++ # Native MSVC
++ libname_spec='$name'
++ soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
++ library_names_spec='${libname}.dll.lib'
++
++ case $build_os in
++ mingw*)
++ sys_lib_search_path_spec=
++ lt_save_ifs=$IFS
++ IFS=';'
++ for lt_path in $LIB
++ do
++ IFS=$lt_save_ifs
++ # Let DOS variable expansion print the short 8.3 style file name.
++ lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
++ sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
++ done
++ IFS=$lt_save_ifs
++ # Convert to MSYS style.
++ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
++ ;;
++ cygwin*)
++ # Convert to unix form, then to dos form, then back to unix form
++ # but this time dos style (no spaces!) so that the unix form looks
++ # like /cygdrive/c/PROGRA~1:/cygdr...
++ sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
++ sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
++ sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
++ ;;
++ *)
++ sys_lib_search_path_spec="$LIB"
++ if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
++ # It is most probably a Windows format PATH.
++ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
++ else
++ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
++ fi
++ # FIXME: find the short name or the path components, as spaces are
++ # common. (e.g. "Program Files" -> "PROGRA~1")
++ ;;
++ esac
++
++ # DLL is installed to $(libdir)/../bin by postinstall_cmds
++ postinstall_cmds='base_file=`basename \${file}`~
++ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
++ dldir=$destdir/`dirname \$dlpath`~
++ test -d \$dldir || mkdir -p \$dldir~
++ $install_prog $dir/$dlname \$dldir/$dlname'
++ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
++ dlpath=$dir/\$dldll~
++ $RM \$dlpath'
++ shlibpath_overrides_runpath=yes
++ dynamic_linker='Win32 link.exe'
+ ;;
+
+ *)
++ # Assume MSVC wrapper
+ library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
++ dynamic_linker='Win32 ld.exe'
+ ;;
+ esac
+- dynamic_linker='Win32 ld.exe'
+ # FIXME: first we should search . and the directory the executable is in
+ shlibpath_var=PATH
+ ;;
+@@ -12248,7 +12907,7 @@ else
+ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+ lt_status=$lt_dlunknown
+ cat > conftest.$ac_ext <<_LT_EOF
+-#line 12251 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+
+ #if HAVE_DLFCN_H
+@@ -12292,10 +12951,10 @@ else
+ /* When -fvisbility=hidden is used, assume the code has been annotated
+ correspondingly for the symbols needed. */
+ #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
+-void fnord () __attribute__((visibility("default")));
++int fnord () __attribute__((visibility("default")));
+ #endif
+
+-void fnord () { int i=42; }
++int fnord () { return 42; }
+ int main ()
+ {
+ void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
+@@ -12354,7 +13013,7 @@ else
+ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+ lt_status=$lt_dlunknown
+ cat > conftest.$ac_ext <<_LT_EOF
+-#line 12357 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+
+ #if HAVE_DLFCN_H
+@@ -12398,10 +13057,10 @@ else
+ /* When -fvisbility=hidden is used, assume the code has been annotated
+ correspondingly for the symbols needed. */
+ #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
+-void fnord () __attribute__((visibility("default")));
++int fnord () __attribute__((visibility("default")));
+ #endif
+
+-void fnord () { int i=42; }
++int fnord () { return 42; }
+ int main ()
+ {
+ void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
+@@ -12793,6 +13452,7 @@ $RM -r conftest*
+
+ # Allow CC to be a program name with arguments.
+ lt_save_CC=$CC
++ lt_save_CFLAGS=$CFLAGS
+ lt_save_LD=$LD
+ lt_save_GCC=$GCC
+ GCC=$GXX
+@@ -12810,6 +13470,7 @@ $RM -r conftest*
+ fi
+ test -z "${LDCXX+set}" || LD=$LDCXX
+ CC=${CXX-"c++"}
++ CFLAGS=$CXXFLAGS
+ compiler=$CC
+ compiler_CXX=$CC
+ for cc_temp in $compiler""; do
+@@ -13092,7 +13753,13 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
+ allow_undefined_flag_CXX='-berok'
+ # Determine the default libpath from the value encoded in an empty
+ # executable.
+- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
++ if test "${lt_cv_aix_libpath+set}" = set; then
++ aix_libpath=$lt_cv_aix_libpath
++else
++ if ${lt_cv_aix_libpath__CXX+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h. */
+
+ int
+@@ -13105,22 +13772,29 @@ main ()
+ _ACEOF
+ if ac_fn_cxx_try_link "$LINENO"; then :
+
+-lt_aix_libpath_sed='
+- /Import File Strings/,/^$/ {
+- /^0/ {
+- s/^0 *\(.*\)$/\1/
+- p
+- }
+- }'
+-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+-# Check for a 64-bit object if we didn't find anything.
+-if test -z "$aix_libpath"; then
+- aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+-fi
++ lt_aix_libpath_sed='
++ /Import File Strings/,/^$/ {
++ /^0/ {
++ s/^0 *\([^ ]*\) *$/\1/
++ p
++ }
++ }'
++ lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
++ # Check for a 64-bit object if we didn't find anything.
++ if test -z "$lt_cv_aix_libpath__CXX"; then
++ lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
++ fi
+ fi
+ rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
++ if test -z "$lt_cv_aix_libpath__CXX"; then
++ lt_cv_aix_libpath__CXX="/usr/lib:/lib"
++ fi
++
++fi
++
++ aix_libpath=$lt_cv_aix_libpath__CXX
++fi
+
+ hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
+
+@@ -13133,7 +13807,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+ else
+ # Determine the default libpath from the value encoded in an
+ # empty executable.
+- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
++ if test "${lt_cv_aix_libpath+set}" = set; then
++ aix_libpath=$lt_cv_aix_libpath
++else
++ if ${lt_cv_aix_libpath__CXX+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h. */
+
+ int
+@@ -13146,22 +13826,29 @@ main ()
+ _ACEOF
+ if ac_fn_cxx_try_link "$LINENO"; then :
+
+-lt_aix_libpath_sed='
+- /Import File Strings/,/^$/ {
+- /^0/ {
+- s/^0 *\(.*\)$/\1/
+- p
+- }
+- }'
+-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+-# Check for a 64-bit object if we didn't find anything.
+-if test -z "$aix_libpath"; then
+- aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+-fi
++ lt_aix_libpath_sed='
++ /Import File Strings/,/^$/ {
++ /^0/ {
++ s/^0 *\([^ ]*\) *$/\1/
++ p
++ }
++ }'
++ lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
++ # Check for a 64-bit object if we didn't find anything.
++ if test -z "$lt_cv_aix_libpath__CXX"; then
++ lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
++ fi
+ fi
+ rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
++ if test -z "$lt_cv_aix_libpath__CXX"; then
++ lt_cv_aix_libpath__CXX="/usr/lib:/lib"
++ fi
++
++fi
++
++ aix_libpath=$lt_cv_aix_libpath__CXX
++fi
+
+ hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
+ # Warning - without using the other run time loading flags,
+@@ -13204,29 +13891,75 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+ ;;
+
+ cygwin* | mingw* | pw32* | cegcc*)
+- # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
+- # as there is no search path for DLLs.
+- hardcode_libdir_flag_spec_CXX='-L$libdir'
+- export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
+- allow_undefined_flag_CXX=unsupported
+- always_export_symbols_CXX=no
+- enable_shared_with_static_runtimes_CXX=yes
+-
+- if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
+- archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
+- # If the export-symbols file already is a .def file (1st line
+- # is EXPORTS), use it as is; otherwise, prepend...
+- archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
+- cp $export_symbols $output_objdir/$soname.def;
+- else
+- echo EXPORTS > $output_objdir/$soname.def;
+- cat $export_symbols >> $output_objdir/$soname.def;
+- fi~
+- $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
+- else
+- ld_shlibs_CXX=no
+- fi
+- ;;
++ case $GXX,$cc_basename in
++ ,cl* | no,cl*)
++ # Native MSVC
++ # hardcode_libdir_flag_spec is actually meaningless, as there is
++ # no search path for DLLs.
++ hardcode_libdir_flag_spec_CXX=' '
++ allow_undefined_flag_CXX=unsupported
++ always_export_symbols_CXX=yes
++ file_list_spec_CXX='@'
++ # Tell ltmain to make .lib files, not .a files.
++ libext=lib
++ # Tell ltmain to make .dll files, not .so files.
++ shrext_cmds=".dll"
++ # FIXME: Setting linknames here is a bad hack.
++ archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
++ archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
++ $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
++ else
++ $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
++ fi~
++ $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
++ linknames='
++ # The linker will not automatically build a static lib if we build a DLL.
++ # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
++ enable_shared_with_static_runtimes_CXX=yes
++ # Don't use ranlib
++ old_postinstall_cmds_CXX='chmod 644 $oldlib'
++ postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
++ lt_tool_outputfile="@TOOL_OUTPUT@"~
++ case $lt_outputfile in
++ *.exe|*.EXE) ;;
++ *)
++ lt_outputfile="$lt_outputfile.exe"
++ lt_tool_outputfile="$lt_tool_outputfile.exe"
++ ;;
++ esac~
++ func_to_tool_file "$lt_outputfile"~
++ if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
++ $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
++ $RM "$lt_outputfile.manifest";
++ fi'
++ ;;
++ *)
++ # g++
++ # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
++ # as there is no search path for DLLs.
++ hardcode_libdir_flag_spec_CXX='-L$libdir'
++ export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
++ allow_undefined_flag_CXX=unsupported
++ always_export_symbols_CXX=no
++ enable_shared_with_static_runtimes_CXX=yes
++
++ if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
++ archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
++ # If the export-symbols file already is a .def file (1st line
++ # is EXPORTS), use it as is; otherwise, prepend...
++ archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
++ cp $export_symbols $output_objdir/$soname.def;
++ else
++ echo EXPORTS > $output_objdir/$soname.def;
++ cat $export_symbols >> $output_objdir/$soname.def;
++ fi~
++ $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
++ else
++ ld_shlibs_CXX=no
++ fi
++ ;;
++ esac
++ ;;
+ darwin* | rhapsody*)
+
+
+@@ -13332,7 +14065,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+ ;;
+ *)
+ if test "$GXX" = yes; then
+- archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
++ archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
+ else
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+@@ -13403,10 +14136,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+ archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ ;;
+ ia64*)
+- archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
++ archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ ;;
+ *)
+- archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
++ archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ ;;
+ esac
+ fi
+@@ -13447,9 +14180,9 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+ *)
+ if test "$GXX" = yes; then
+ if test "$with_gnu_ld" = no; then
+- archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++ archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+ else
+- archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
++ archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
+ fi
+ fi
+ link_all_deplibs_CXX=yes
+@@ -13727,7 +14460,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+ archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+ ;;
+ *)
+- archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++ archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+ ;;
+ esac
+
+@@ -13773,7 +14506,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+
+ solaris*)
+ case $cc_basename in
+- CC*)
++ CC* | sunCC*)
+ # Sun C++ 4.2, 5.x and Centerline C++
+ archive_cmds_need_lc_CXX=yes
+ no_undefined_flag_CXX=' -zdefs'
+@@ -13814,9 +14547,9 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+ if test "$GXX" = yes && test "$with_gnu_ld" = no; then
+ no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
+ if $CC --version | $GREP -v '^2\.7' > /dev/null; then
+- archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
++ archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
+ archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
+- $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
++ $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+@@ -13952,6 +14685,13 @@ private:
+ };
+ _LT_EOF
+
++
++_lt_libdeps_save_CFLAGS=$CFLAGS
++case "$CC $CFLAGS " in #(
++*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
++*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
++esac
++
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+@@ -13965,7 +14705,7 @@ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+ pre_test_object_deps_done=no
+
+ for p in `eval "$output_verbose_link_cmd"`; do
+- case $p in
++ case ${prev}${p} in
+
+ -L* | -R* | -l*)
+ # Some compilers place space between "-{L,R}" and the path.
+@@ -13974,13 +14714,22 @@ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+ test $p = "-R"; then
+ prev=$p
+ continue
+- else
+- prev=
+ fi
+
++ # Expand the sysroot to ease extracting the directories later.
++ if test -z "$prev"; then
++ case $p in
++ -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
++ -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
++ -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
++ esac
++ fi
++ case $p in
++ =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
++ esac
+ if test "$pre_test_object_deps_done" = no; then
+- case $p in
+- -L* | -R*)
++ case ${prev} in
++ -L | -R)
+ # Internal compiler library paths should come after those
+ # provided the user. The postdeps already come after the
+ # user supplied libs so there is no need to process them.
+@@ -14000,8 +14749,10 @@ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+ postdeps_CXX="${postdeps_CXX} ${prev}${p}"
+ fi
+ fi
++ prev=
+ ;;
+
++ *.lto.$objext) ;; # Ignore GCC LTO objects
+ *.$objext)
+ # This assumes that the test object file only shows up
+ # once in the compiler output.
+@@ -14037,6 +14788,7 @@ else
+ fi
+
+ $RM -f confest.$objext
++CFLAGS=$_lt_libdeps_save_CFLAGS
+
+ # PORTME: override above test on systems where it is broken
+ case $host_os in
+@@ -14072,7 +14824,7 @@ linux*)
+
+ solaris*)
+ case $cc_basename in
+- CC*)
++ CC* | sunCC*)
+ # The more standards-conforming stlport4 library is
+ # incompatible with the Cstd library. Avoid specifying
+ # it if it's in CXXFLAGS. Ignore libCrun as
+@@ -14137,8 +14889,6 @@ fi
+ lt_prog_compiler_pic_CXX=
+ lt_prog_compiler_static_CXX=
+
+-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
+-$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
+
+ # C++ specific cases for pic, static, wl, etc.
+ if test "$GXX" = yes; then
+@@ -14243,6 +14993,11 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
+ ;;
+ esac
+ ;;
++ mingw* | cygwin* | os2* | pw32* | cegcc*)
++ # This hack is so that the source file can tell whether it is being
++ # built for inclusion in a dll (and should export symbols for example).
++ lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
++ ;;
+ dgux*)
+ case $cc_basename in
+ ec++*)
+@@ -14395,7 +15150,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
+ ;;
+ solaris*)
+ case $cc_basename in
+- CC*)
++ CC* | sunCC*)
+ # Sun C++ 4.2, 5.x and Centerline C++
+ lt_prog_compiler_pic_CXX='-KPIC'
+ lt_prog_compiler_static_CXX='-Bstatic'
+@@ -14460,10 +15215,17 @@ case $host_os in
+ lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
+ ;;
+ esac
+-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
+-$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
+-
+
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
++$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
++if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
++$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
++lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
+
+ #
+ # Check to make sure the PIC flag actually works.
+@@ -14521,6 +15283,8 @@ fi
+
+
+
++
++
+ #
+ # Check to make sure the static flag actually works.
+ #
+@@ -14698,6 +15462,7 @@ fi
+ $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
+
+ export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
++ exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
+ case $host_os in
+ aix[4-9]*)
+ # If we're using GNU nm, then we don't want the "-C" option.
+@@ -14712,15 +15477,20 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
+ ;;
+ pw32*)
+ export_symbols_cmds_CXX="$ltdll_cmds"
+- ;;
++ ;;
+ cygwin* | mingw* | cegcc*)
+- export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
+- ;;
++ case $cc_basename in
++ cl*) ;;
++ *)
++ export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
++ exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
++ ;;
++ esac
++ ;;
+ *)
+ export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
+- ;;
++ ;;
+ esac
+- exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
+ $as_echo "$ld_shlibs_CXX" >&6; }
+@@ -14983,8 +15753,9 @@ cygwin* | mingw* | pw32* | cegcc*)
+ need_version=no
+ need_lib_prefix=no
+
+- case $GCC,$host_os in
+- yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
++ case $GCC,$cc_basename in
++ yes,*)
++ # gcc
+ library_names_spec='$libname.dll.a'
+ # DLL is installed to $(libdir)/../bin by postinstall_cmds
+ postinstall_cmds='base_file=`basename \${file}`~
+@@ -15016,13 +15787,71 @@ cygwin* | mingw* | pw32* | cegcc*)
+ library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
+ ;;
+ esac
++ dynamic_linker='Win32 ld.exe'
++ ;;
++
++ *,cl*)
++ # Native MSVC
++ libname_spec='$name'
++ soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
++ library_names_spec='${libname}.dll.lib'
++
++ case $build_os in
++ mingw*)
++ sys_lib_search_path_spec=
++ lt_save_ifs=$IFS
++ IFS=';'
++ for lt_path in $LIB
++ do
++ IFS=$lt_save_ifs
++ # Let DOS variable expansion print the short 8.3 style file name.
++ lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
++ sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
++ done
++ IFS=$lt_save_ifs
++ # Convert to MSYS style.
++ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
++ ;;
++ cygwin*)
++ # Convert to unix form, then to dos form, then back to unix form
++ # but this time dos style (no spaces!) so that the unix form looks
++ # like /cygdrive/c/PROGRA~1:/cygdr...
++ sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
++ sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
++ sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
++ ;;
++ *)
++ sys_lib_search_path_spec="$LIB"
++ if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
++ # It is most probably a Windows format PATH.
++ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
++ else
++ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
++ fi
++ # FIXME: find the short name or the path components, as spaces are
++ # common. (e.g. "Program Files" -> "PROGRA~1")
++ ;;
++ esac
++
++ # DLL is installed to $(libdir)/../bin by postinstall_cmds
++ postinstall_cmds='base_file=`basename \${file}`~
++ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
++ dldir=$destdir/`dirname \$dlpath`~
++ test -d \$dldir || mkdir -p \$dldir~
++ $install_prog $dir/$dlname \$dldir/$dlname'
++ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
++ dlpath=$dir/\$dldll~
++ $RM \$dlpath'
++ shlibpath_overrides_runpath=yes
++ dynamic_linker='Win32 link.exe'
+ ;;
+
+ *)
++ # Assume MSVC wrapper
+ library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
++ dynamic_linker='Win32 ld.exe'
+ ;;
+ esac
+- dynamic_linker='Win32 ld.exe'
+ # FIXME: first we should search . and the directory the executable is in
+ shlibpath_var=PATH
+ ;;
+@@ -15586,6 +16415,7 @@ fi
+ fi # test -n "$compiler"
+
+ CC=$lt_save_CC
++ CFLAGS=$lt_save_CFLAGS
+ LDCXX=$LD
+ LD=$lt_save_LD
+ GCC=$lt_save_GCC
+@@ -17738,13 +18568,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
+ lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
+ lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
+ lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
++lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
++lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
+ reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
+ reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
+ OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
+ deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
+ file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
++file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
++want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
++DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
++sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
+ AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
+ AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
++archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
+ STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
+ RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
+ old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
+@@ -17759,14 +18596,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de
+ lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
+ lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
+ lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
++nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
++lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
+ objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
+ MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
+ lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
+-lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
+ lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
++lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
+ lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
+ lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
+ need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
++MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
+ DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
+ NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
+ LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
+@@ -17799,12 +18639,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q
+ hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
+ inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
+ link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
+-fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
+ always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
+ export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
+ exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
+ include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
+ prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
++postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
+ file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
+ variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
+ need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
+@@ -17843,8 +18683,8 @@ old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote
+ compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
+ GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
+ lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
+-lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
+ lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
++lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
+ lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
+ lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
+ archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
+@@ -17871,12 +18711,12 @@ hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_
+ hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
+ inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
+ link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
+-fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
+ always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
+ export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+ exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
+ include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
+ prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
++postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+ file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
+ hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
+ compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
+@@ -17914,8 +18754,13 @@ reload_flag \
+ OBJDUMP \
+ deplibs_check_method \
+ file_magic_cmd \
++file_magic_glob \
++want_nocaseglob \
++DLLTOOL \
++sharedlib_from_linklib_cmd \
+ AR \
+ AR_FLAGS \
++archiver_list_spec \
+ STRIP \
+ RANLIB \
+ CC \
+@@ -17925,12 +18770,14 @@ lt_cv_sys_global_symbol_pipe \
+ lt_cv_sys_global_symbol_to_cdecl \
+ lt_cv_sys_global_symbol_to_c_name_address \
+ lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
++nm_file_list_spec \
+ lt_prog_compiler_no_builtin_flag \
+-lt_prog_compiler_wl \
+ lt_prog_compiler_pic \
++lt_prog_compiler_wl \
+ lt_prog_compiler_static \
+ lt_cv_prog_compiler_c_o \
+ need_locks \
++MANIFEST_TOOL \
+ DSYMUTIL \
+ NMEDIT \
+ LIPO \
+@@ -17946,7 +18793,6 @@ no_undefined_flag \
+ hardcode_libdir_flag_spec \
+ hardcode_libdir_flag_spec_ld \
+ hardcode_libdir_separator \
+-fix_srcfile_path \
+ exclude_expsyms \
+ include_expsyms \
+ file_list_spec \
+@@ -17968,8 +18814,8 @@ LD_CXX \
+ reload_flag_CXX \
+ compiler_CXX \
+ lt_prog_compiler_no_builtin_flag_CXX \
+-lt_prog_compiler_wl_CXX \
+ lt_prog_compiler_pic_CXX \
++lt_prog_compiler_wl_CXX \
+ lt_prog_compiler_static_CXX \
+ lt_cv_prog_compiler_c_o_CXX \
+ export_dynamic_flag_spec_CXX \
+@@ -17981,7 +18827,6 @@ no_undefined_flag_CXX \
+ hardcode_libdir_flag_spec_CXX \
+ hardcode_libdir_flag_spec_ld_CXX \
+ hardcode_libdir_separator_CXX \
+-fix_srcfile_path_CXX \
+ exclude_expsyms_CXX \
+ include_expsyms_CXX \
+ file_list_spec_CXX \
+@@ -18015,6 +18860,7 @@ module_cmds \
+ module_expsym_cmds \
+ export_symbols_cmds \
+ prelink_cmds \
++postlink_cmds \
+ postinstall_cmds \
+ postuninstall_cmds \
+ finish_cmds \
+@@ -18029,7 +18875,8 @@ archive_expsym_cmds_CXX \
+ module_cmds_CXX \
+ module_expsym_cmds_CXX \
+ export_symbols_cmds_CXX \
+-prelink_cmds_CXX; do
++prelink_cmds_CXX \
++postlink_cmds_CXX; do
+ case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
+ *[\\\\\\\`\\"\\\$]*)
+ eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
+@@ -18786,7 +19633,8 @@ $as_echo X"$file" |
+ # NOTE: Changes made to this file will be lost: look at ltmain.sh.
+ #
+ # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
+-# 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
++# 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
++# Inc.
+ # Written by Gordon Matzigkeit, 1996
+ #
+ # This file is part of GNU Libtool.
+@@ -18889,19 +19737,42 @@ SP2NL=$lt_lt_SP2NL
+ # turn newlines into spaces.
+ NL2SP=$lt_lt_NL2SP
+
++# convert \$build file names to \$host format.
++to_host_file_cmd=$lt_cv_to_host_file_cmd
++
++# convert \$build files to toolchain format.
++to_tool_file_cmd=$lt_cv_to_tool_file_cmd
++
+ # An object symbol dumper.
+ OBJDUMP=$lt_OBJDUMP
+
+ # Method to check whether dependent libraries are shared objects.
+ deplibs_check_method=$lt_deplibs_check_method
+
+-# Command to use when deplibs_check_method == "file_magic".
++# Command to use when deplibs_check_method = "file_magic".
+ file_magic_cmd=$lt_file_magic_cmd
+
++# How to find potential files when deplibs_check_method = "file_magic".
++file_magic_glob=$lt_file_magic_glob
++
++# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
++want_nocaseglob=$lt_want_nocaseglob
++
++# DLL creation program.
++DLLTOOL=$lt_DLLTOOL
++
++# Command to associate shared and link libraries.
++sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
++
+ # The archiver.
+ AR=$lt_AR
++
++# Flags to create an archive.
+ AR_FLAGS=$lt_AR_FLAGS
+
++# How to feed a file listing to the archiver.
++archiver_list_spec=$lt_archiver_list_spec
++
+ # A symbol stripping program.
+ STRIP=$lt_STRIP
+
+@@ -18931,6 +19802,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
+ # Transform the output of nm in a C name address pair when lib prefix is needed.
+ global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
+
++# Specify filename containing input files for \$NM.
++nm_file_list_spec=$lt_nm_file_list_spec
++
++# The root where to search for dependent libraries,and in which our libraries should be installed.
++lt_sysroot=$lt_sysroot
++
+ # The name of the directory that contains temporary libtool files.
+ objdir=$objdir
+
+@@ -18940,6 +19817,9 @@ MAGIC_CMD=$MAGIC_CMD
+ # Must we lock files when doing compilation?
+ need_locks=$lt_need_locks
+
++# Manifest tool.
++MANIFEST_TOOL=$lt_MANIFEST_TOOL
++
+ # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
+ DSYMUTIL=$lt_DSYMUTIL
+
+@@ -19054,12 +19934,12 @@ with_gcc=$GCC
+ # Compiler flag to turn off builtin functions.
+ no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
+
+-# How to pass a linker flag through the compiler.
+-wl=$lt_lt_prog_compiler_wl
+-
+ # Additional compiler flags for building library objects.
+ pic_flag=$lt_lt_prog_compiler_pic
+
++# How to pass a linker flag through the compiler.
++wl=$lt_lt_prog_compiler_wl
++
+ # Compiler flag to prevent dynamic linking.
+ link_static_flag=$lt_lt_prog_compiler_static
+
+@@ -19146,9 +20026,6 @@ inherit_rpath=$inherit_rpath
+ # Whether libtool must link a program against all its dependency libraries.
+ link_all_deplibs=$link_all_deplibs
+
+-# Fix the shell variable \$srcfile for the compiler.
+-fix_srcfile_path=$lt_fix_srcfile_path
+-
+ # Set to "yes" if exported symbols are required.
+ always_export_symbols=$always_export_symbols
+
+@@ -19164,6 +20041,9 @@ include_expsyms=$lt_include_expsyms
+ # Commands necessary for linking programs (against libraries) with templates.
+ prelink_cmds=$lt_prelink_cmds
+
++# Commands necessary for finishing linking programs.
++postlink_cmds=$lt_postlink_cmds
++
+ # Specify filename containing input files.
+ file_list_spec=$lt_file_list_spec
+
+@@ -19210,210 +20090,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
+ # if finds mixed CR/LF and LF-only lines. Since sed operates in
+ # text mode, it properly converts lines to CR/LF. This bash problem
+ # is reportedly fixed, but why not run on old versions too?
+- sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
+- || (rm -f "$cfgfile"; exit 1)
+-
+- case $xsi_shell in
+- yes)
+- cat << \_LT_EOF >> "$cfgfile"
+-
+-# func_dirname file append nondir_replacement
+-# Compute the dirname of FILE. If nonempty, add APPEND to the result,
+-# otherwise set result to NONDIR_REPLACEMENT.
+-func_dirname ()
+-{
+- case ${1} in
+- */*) func_dirname_result="${1%/*}${2}" ;;
+- * ) func_dirname_result="${3}" ;;
+- esac
+-}
+-
+-# func_basename file
+-func_basename ()
+-{
+- func_basename_result="${1##*/}"
+-}
+-
+-# func_dirname_and_basename file append nondir_replacement
+-# perform func_basename and func_dirname in a single function
+-# call:
+-# dirname: Compute the dirname of FILE. If nonempty,
+-# add APPEND to the result, otherwise set result
+-# to NONDIR_REPLACEMENT.
+-# value returned in "$func_dirname_result"
+-# basename: Compute filename of FILE.
+-# value retuned in "$func_basename_result"
+-# Implementation must be kept synchronized with func_dirname
+-# and func_basename. For efficiency, we do not delegate to
+-# those functions but instead duplicate the functionality here.
+-func_dirname_and_basename ()
+-{
+- case ${1} in
+- */*) func_dirname_result="${1%/*}${2}" ;;
+- * ) func_dirname_result="${3}" ;;
+- esac
+- func_basename_result="${1##*/}"
+-}
+-
+-# func_stripname prefix suffix name
+-# strip PREFIX and SUFFIX off of NAME.
+-# PREFIX and SUFFIX must not contain globbing or regex special
+-# characters, hashes, percent signs, but SUFFIX may contain a leading
+-# dot (in which case that matches only a dot).
+-func_stripname ()
+-{
+- # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
+- # positional parameters, so assign one to ordinary parameter first.
+- func_stripname_result=${3}
+- func_stripname_result=${func_stripname_result#"${1}"}
+- func_stripname_result=${func_stripname_result%"${2}"}
+-}
+-
+-# func_opt_split
+-func_opt_split ()
+-{
+- func_opt_split_opt=${1%%=*}
+- func_opt_split_arg=${1#*=}
+-}
+-
+-# func_lo2o object
+-func_lo2o ()
+-{
+- case ${1} in
+- *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
+- *) func_lo2o_result=${1} ;;
+- esac
+-}
+-
+-# func_xform libobj-or-source
+-func_xform ()
+-{
+- func_xform_result=${1%.*}.lo
+-}
+-
+-# func_arith arithmetic-term...
+-func_arith ()
+-{
+- func_arith_result=$(( $* ))
+-}
+-
+-# func_len string
+-# STRING may not start with a hyphen.
+-func_len ()
+-{
+- func_len_result=${#1}
+-}
+-
+-_LT_EOF
+- ;;
+- *) # Bourne compatible functions.
+- cat << \_LT_EOF >> "$cfgfile"
+-
+-# func_dirname file append nondir_replacement
+-# Compute the dirname of FILE. If nonempty, add APPEND to the result,
+-# otherwise set result to NONDIR_REPLACEMENT.
+-func_dirname ()
+-{
+- # Extract subdirectory from the argument.
+- func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
+- if test "X$func_dirname_result" = "X${1}"; then
+- func_dirname_result="${3}"
+- else
+- func_dirname_result="$func_dirname_result${2}"
+- fi
+-}
+-
+-# func_basename file
+-func_basename ()
+-{
+- func_basename_result=`$ECHO "${1}" | $SED "$basename"`
+-}
+-
+-
+-# func_stripname prefix suffix name
+-# strip PREFIX and SUFFIX off of NAME.
+-# PREFIX and SUFFIX must not contain globbing or regex special
+-# characters, hashes, percent signs, but SUFFIX may contain a leading
+-# dot (in which case that matches only a dot).
+-# func_strip_suffix prefix name
+-func_stripname ()
+-{
+- case ${2} in
+- .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
+- *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
+- esac
+-}
+-
+-# sed scripts:
+-my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
+-my_sed_long_arg='1s/^-[^=]*=//'
+-
+-# func_opt_split
+-func_opt_split ()
+-{
+- func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
+- func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
+-}
+-
+-# func_lo2o object
+-func_lo2o ()
+-{
+- func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
+-}
+-
+-# func_xform libobj-or-source
+-func_xform ()
+-{
+- func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
+-}
+-
+-# func_arith arithmetic-term...
+-func_arith ()
+-{
+- func_arith_result=`expr "$@"`
+-}
+-
+-# func_len string
+-# STRING may not start with a hyphen.
+-func_len ()
+-{
+- func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
+-}
+-
+-_LT_EOF
+-esac
+-
+-case $lt_shell_append in
+- yes)
+- cat << \_LT_EOF >> "$cfgfile"
+-
+-# func_append var value
+-# Append VALUE to the end of shell variable VAR.
+-func_append ()
+-{
+- eval "$1+=\$2"
+-}
+-_LT_EOF
+- ;;
+- *)
+- cat << \_LT_EOF >> "$cfgfile"
+-
+-# func_append var value
+-# Append VALUE to the end of shell variable VAR.
+-func_append ()
+-{
+- eval "$1=\$$1\$2"
+-}
+-
+-_LT_EOF
+- ;;
+- esac
+-
+-
+- sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
+- || (rm -f "$cfgfile"; exit 1)
+-
+- mv -f "$cfgfile" "$ofile" ||
++ sed '$q' "$ltmain" >> "$cfgfile" \
++ || (rm -f "$cfgfile"; exit 1)
++
++ if test x"$xsi_shell" = xyes; then
++ sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
++func_dirname ()\
++{\
++\ case ${1} in\
++\ */*) func_dirname_result="${1%/*}${2}" ;;\
++\ * ) func_dirname_result="${3}" ;;\
++\ esac\
++} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
++ && mv -f "$cfgfile.tmp" "$cfgfile" \
++ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++test 0 -eq $? || _lt_function_replace_fail=:
++
++
++ sed -e '/^func_basename ()$/,/^} # func_basename /c\
++func_basename ()\
++{\
++\ func_basename_result="${1##*/}"\
++} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
++ && mv -f "$cfgfile.tmp" "$cfgfile" \
++ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++test 0 -eq $? || _lt_function_replace_fail=:
++
++
++ sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
++func_dirname_and_basename ()\
++{\
++\ case ${1} in\
++\ */*) func_dirname_result="${1%/*}${2}" ;;\
++\ * ) func_dirname_result="${3}" ;;\
++\ esac\
++\ func_basename_result="${1##*/}"\
++} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
++ && mv -f "$cfgfile.tmp" "$cfgfile" \
++ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++test 0 -eq $? || _lt_function_replace_fail=:
++
++
++ sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
++func_stripname ()\
++{\
++\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
++\ # positional parameters, so assign one to ordinary parameter first.\
++\ func_stripname_result=${3}\
++\ func_stripname_result=${func_stripname_result#"${1}"}\
++\ func_stripname_result=${func_stripname_result%"${2}"}\
++} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
++ && mv -f "$cfgfile.tmp" "$cfgfile" \
++ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++test 0 -eq $? || _lt_function_replace_fail=:
++
++
++ sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
++func_split_long_opt ()\
++{\
++\ func_split_long_opt_name=${1%%=*}\
++\ func_split_long_opt_arg=${1#*=}\
++} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
++ && mv -f "$cfgfile.tmp" "$cfgfile" \
++ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++test 0 -eq $? || _lt_function_replace_fail=:
++
++
++ sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
++func_split_short_opt ()\
++{\
++\ func_split_short_opt_arg=${1#??}\
++\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
++} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
++ && mv -f "$cfgfile.tmp" "$cfgfile" \
++ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++test 0 -eq $? || _lt_function_replace_fail=:
++
++
++ sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
++func_lo2o ()\
++{\
++\ case ${1} in\
++\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
++\ *) func_lo2o_result=${1} ;;\
++\ esac\
++} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
++ && mv -f "$cfgfile.tmp" "$cfgfile" \
++ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++test 0 -eq $? || _lt_function_replace_fail=:
++
++
++ sed -e '/^func_xform ()$/,/^} # func_xform /c\
++func_xform ()\
++{\
++ func_xform_result=${1%.*}.lo\
++} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
++ && mv -f "$cfgfile.tmp" "$cfgfile" \
++ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++test 0 -eq $? || _lt_function_replace_fail=:
++
++
++ sed -e '/^func_arith ()$/,/^} # func_arith /c\
++func_arith ()\
++{\
++ func_arith_result=$(( $* ))\
++} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
++ && mv -f "$cfgfile.tmp" "$cfgfile" \
++ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++test 0 -eq $? || _lt_function_replace_fail=:
++
++
++ sed -e '/^func_len ()$/,/^} # func_len /c\
++func_len ()\
++{\
++ func_len_result=${#1}\
++} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
++ && mv -f "$cfgfile.tmp" "$cfgfile" \
++ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++test 0 -eq $? || _lt_function_replace_fail=:
++
++fi
++
++if test x"$lt_shell_append" = xyes; then
++ sed -e '/^func_append ()$/,/^} # func_append /c\
++func_append ()\
++{\
++ eval "${1}+=\\${2}"\
++} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
++ && mv -f "$cfgfile.tmp" "$cfgfile" \
++ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++test 0 -eq $? || _lt_function_replace_fail=:
++
++
++ sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
++func_append_quoted ()\
++{\
++\ func_quote_for_eval "${2}"\
++\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
++} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
++ && mv -f "$cfgfile.tmp" "$cfgfile" \
++ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++test 0 -eq $? || _lt_function_replace_fail=:
++
++
++ # Save a `func_append' function call where possible by direct use of '+='
++ sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
++ && mv -f "$cfgfile.tmp" "$cfgfile" \
++ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++ test 0 -eq $? || _lt_function_replace_fail=:
++else
++ # Save a `func_append' function call even when '+=' is not available
++ sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
++ && mv -f "$cfgfile.tmp" "$cfgfile" \
++ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++ test 0 -eq $? || _lt_function_replace_fail=:
++fi
++
++if test x"$_lt_function_replace_fail" = x":"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
++$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
++fi
++
++
++ mv -f "$cfgfile" "$ofile" ||
+ (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
+ chmod +x "$ofile"
+
+@@ -19441,12 +20280,12 @@ with_gcc=$GCC_CXX
+ # Compiler flag to turn off builtin functions.
+ no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
+
+-# How to pass a linker flag through the compiler.
+-wl=$lt_lt_prog_compiler_wl_CXX
+-
+ # Additional compiler flags for building library objects.
+ pic_flag=$lt_lt_prog_compiler_pic_CXX
+
++# How to pass a linker flag through the compiler.
++wl=$lt_lt_prog_compiler_wl_CXX
++
+ # Compiler flag to prevent dynamic linking.
+ link_static_flag=$lt_lt_prog_compiler_static_CXX
+
+@@ -19533,9 +20372,6 @@ inherit_rpath=$inherit_rpath_CXX
+ # Whether libtool must link a program against all its dependency libraries.
+ link_all_deplibs=$link_all_deplibs_CXX
+
+-# Fix the shell variable \$srcfile for the compiler.
+-fix_srcfile_path=$lt_fix_srcfile_path_CXX
+-
+ # Set to "yes" if exported symbols are required.
+ always_export_symbols=$always_export_symbols_CXX
+
+@@ -19551,6 +20387,9 @@ include_expsyms=$lt_include_expsyms_CXX
+ # Commands necessary for linking programs (against libraries) with templates.
+ prelink_cmds=$lt_prelink_cmds_CXX
+
++# Commands necessary for finishing linking programs.
++postlink_cmds=$lt_postlink_cmds_CXX
++
+ # Specify filename containing input files.
+ file_list_spec=$lt_file_list_spec_CXX
+
+diff --git a/gprofng/doc/Makefile.in b/gprofng/doc/Makefile.in
+index 3306c51b31c..6ab3d9636c8 100644
+--- a/gprofng/doc/Makefile.in
++++ b/gprofng/doc/Makefile.in
+@@ -238,6 +238,7 @@ CXXFLAGS = @CXXFLAGS@
+ CYGPATH_W = @CYGPATH_W@
+ DEFS = @DEFS@
+ DEPDIR = @DEPDIR@
++DLLTOOL = @DLLTOOL@
+ DSYMUTIL = @DSYMUTIL@
+ DUMPBIN = @DUMPBIN@
+ ECHO_C = @ECHO_C@
+@@ -272,6 +273,7 @@ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAINT = @MAINT@
+ MAKEINFO = @MAKEINFO@
++MANIFEST_TOOL = @MANIFEST_TOOL@
+ MKDIR_P = @MKDIR_P@
+ NM = @NM@
+ NMEDIT = @NMEDIT@
+diff --git a/gprofng/gp-display-html/Makefile.in b/gprofng/gp-display-html/Makefile.in
+index 61c00cd6e46..edce3cb94c5 100644
+--- a/gprofng/gp-display-html/Makefile.in
++++ b/gprofng/gp-display-html/Makefile.in
+@@ -197,6 +197,7 @@ CXXFLAGS = @CXXFLAGS@
+ CYGPATH_W = @CYGPATH_W@
+ DEFS = @DEFS@
+ DEPDIR = @DEPDIR@
++DLLTOOL = @DLLTOOL@
+ DSYMUTIL = @DSYMUTIL@
+ DUMPBIN = @DUMPBIN@
+ ECHO_C = @ECHO_C@
+@@ -231,6 +232,7 @@ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAINT = @MAINT@
+ MAKEINFO = @MAKEINFO@
++MANIFEST_TOOL = @MANIFEST_TOOL@
+ MKDIR_P = @MKDIR_P@
+ NM = @NM@
+ NMEDIT = @NMEDIT@
+diff --git a/gprofng/libcollector/Makefile.in b/gprofng/libcollector/Makefile.in
+index ce8755c80c9..91e29c29ab8 100644
+--- a/gprofng/libcollector/Makefile.in
++++ b/gprofng/libcollector/Makefile.in
+@@ -316,6 +316,7 @@ CXXFLAGS = @CXXFLAGS@
+ CYGPATH_W = @CYGPATH_W@
+ DEFS = @DEFS@
+ DEPDIR = @DEPDIR@
++DLLTOOL = @DLLTOOL@
+ DSYMUTIL = @DSYMUTIL@
+ DUMPBIN = @DUMPBIN@
+ ECHO_C = @ECHO_C@
+@@ -341,6 +342,7 @@ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAINT = @MAINT@
+ MAKEINFO = @MAKEINFO@
++MANIFEST_TOOL = @MANIFEST_TOOL@
+ MKDIR_P = @MKDIR_P@
+ NM = @NM@
+ NMEDIT = @NMEDIT@
+diff --git a/gprofng/libcollector/configure b/gprofng/libcollector/configure
+index 8b0092433fe..a363ab1047c 100755
+--- a/gprofng/libcollector/configure
++++ b/gprofng/libcollector/configure
+@@ -640,6 +640,8 @@ OTOOL
+ LIPO
+ NMEDIT
+ DSYMUTIL
++MANIFEST_TOOL
++DLLTOOL
+ OBJDUMP
+ LN_S
+ NM
+@@ -769,6 +771,7 @@ enable_static
+ with_pic
+ enable_fast_install
+ with_gnu_ld
++with_libtool_sysroot
+ enable_libtool_lock
+ '
+ ac_precious_vars='build_alias
+@@ -1424,6 +1427,8 @@ Optional Packages:
+ --with-pic try to use only PIC/non-PIC objects [default=use
+ both]
+ --with-gnu-ld assume the C compiler uses GNU ld [default=no]
++ --with-libtool-sysroot=DIR Search for dependent libraries within DIR
++ (or the compiler's sysroot if not specified).
+
+ Some influential environment variables:
+ CC C compiler command
+@@ -5968,8 +5973,8 @@ esac
+
+
+
+-macro_version='2.2.7a'
+-macro_revision='1.3134'
++macro_version='2.4'
++macro_revision='1.3293'
+
+
+
+@@ -6009,7 +6014,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
+ $as_echo_n "checking how to print strings... " >&6; }
+ # Test print first, because it will be a builtin if present.
+-if test "X`print -r -- -n 2>/dev/null`" = X-n && \
++if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
+ test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
+ ECHO='print -r --'
+ elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
+@@ -6702,8 +6707,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6;
+ # Try some XSI features
+ xsi_shell=no
+ ( _lt_dummy="a/b/c"
+- test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
+- = c,a/b,, \
++ test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
++ = c,a/b,b/c, \
+ && eval 'test $(( 1 + 1 )) -eq 2 \
+ && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
+ && xsi_shell=yes
+@@ -6752,6 +6757,80 @@ esac
+
+
+
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
++$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
++if ${lt_cv_to_host_file_cmd+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ case $host in
++ *-*-mingw* )
++ case $build in
++ *-*-mingw* ) # actually msys
++ lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
++ ;;
++ *-*-cygwin* )
++ lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
++ ;;
++ * ) # otherwise, assume *nix
++ lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
++ ;;
++ esac
++ ;;
++ *-*-cygwin* )
++ case $build in
++ *-*-mingw* ) # actually msys
++ lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
++ ;;
++ *-*-cygwin* )
++ lt_cv_to_host_file_cmd=func_convert_file_noop
++ ;;
++ * ) # otherwise, assume *nix
++ lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
++ ;;
++ esac
++ ;;
++ * ) # unhandled hosts (and "normal" native builds)
++ lt_cv_to_host_file_cmd=func_convert_file_noop
++ ;;
++esac
++
++fi
++
++to_host_file_cmd=$lt_cv_to_host_file_cmd
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
++$as_echo "$lt_cv_to_host_file_cmd" >&6; }
++
++
++
++
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
++$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
++if ${lt_cv_to_tool_file_cmd+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ #assume ordinary cross tools, or native build.
++lt_cv_to_tool_file_cmd=func_convert_file_noop
++case $host in
++ *-*-mingw* )
++ case $build in
++ *-*-mingw* ) # actually msys
++ lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
++ ;;
++ esac
++ ;;
++esac
++
++fi
++
++to_tool_file_cmd=$lt_cv_to_tool_file_cmd
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
++$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
++
++
++
++
++
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
+ $as_echo_n "checking for $LD option to reload object files... " >&6; }
+ if ${lt_cv_ld_reload_flag+:} false; then :
+@@ -6768,6 +6847,11 @@ case $reload_flag in
+ esac
+ reload_cmds='$LD$reload_flag -o $output$reload_objs'
+ case $host_os in
++ cygwin* | mingw* | pw32* | cegcc*)
++ if test "$GCC" != yes; then
++ reload_cmds=false
++ fi
++ ;;
+ darwin*)
+ if test "$GCC" = yes; then
+ reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
+@@ -6936,7 +7020,8 @@ mingw* | pw32*)
+ lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
+ lt_cv_file_magic_cmd='func_win32_libid'
+ else
+- lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
++ # Keep this pattern in sync with the one in func_win32_libid.
++ lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
+ lt_cv_file_magic_cmd='$OBJDUMP -f'
+ fi
+ ;;
+@@ -7095,6 +7180,21 @@ esac
+ fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
+ $as_echo "$lt_cv_deplibs_check_method" >&6; }
++
++file_magic_glob=
++want_nocaseglob=no
++if test "$build" = "$host"; then
++ case $host_os in
++ mingw* | pw32*)
++ if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
++ want_nocaseglob=yes
++ else
++ file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
++ fi
++ ;;
++ esac
++fi
++
+ file_magic_cmd=$lt_cv_file_magic_cmd
+ deplibs_check_method=$lt_cv_deplibs_check_method
+ test -z "$deplibs_check_method" && deplibs_check_method=unknown
+@@ -7110,6 +7210,157 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown
+
+
+
++
++
++
++
++
++
++
++
++
++
++if test -n "$ac_tool_prefix"; then
++ # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
++set dummy ${ac_tool_prefix}dlltool; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_DLLTOOL+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$DLLTOOL"; then
++ ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++ ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++DLLTOOL=$ac_cv_prog_DLLTOOL
++if test -n "$DLLTOOL"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
++$as_echo "$DLLTOOL" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++
++fi
++if test -z "$ac_cv_prog_DLLTOOL"; then
++ ac_ct_DLLTOOL=$DLLTOOL
++ # Extract the first word of "dlltool", so it can be a program name with args.
++set dummy dlltool; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$ac_ct_DLLTOOL"; then
++ ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++ ac_cv_prog_ac_ct_DLLTOOL="dlltool"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
++if test -n "$ac_ct_DLLTOOL"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
++$as_echo "$ac_ct_DLLTOOL" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++ if test "x$ac_ct_DLLTOOL" = x; then
++ DLLTOOL="false"
++ else
++ case $cross_compiling:$ac_tool_warned in
++yes:)
++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
++ac_tool_warned=yes ;;
++esac
++ DLLTOOL=$ac_ct_DLLTOOL
++ fi
++else
++ DLLTOOL="$ac_cv_prog_DLLTOOL"
++fi
++
++test -z "$DLLTOOL" && DLLTOOL=dlltool
++
++
++
++
++
++
++
++
++
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
++$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
++if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ lt_cv_sharedlib_from_linklib_cmd='unknown'
++
++case $host_os in
++cygwin* | mingw* | pw32* | cegcc*)
++ # two different shell functions defined in ltmain.sh
++ # decide which to use based on capabilities of $DLLTOOL
++ case `$DLLTOOL --help 2>&1` in
++ *--identify-strict*)
++ lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
++ ;;
++ *)
++ lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
++ ;;
++ esac
++ ;;
++*)
++ # fallback: assume linklib IS sharedlib
++ lt_cv_sharedlib_from_linklib_cmd="$ECHO"
++ ;;
++esac
++
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
++$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
++sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
++test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
++
++
++
++
++
++
++
+ plugin_option=
+ plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
+ for plugin in $plugin_names; do
+@@ -7124,8 +7375,10 @@ for plugin in $plugin_names; do
+ done
+
+ if test -n "$ac_tool_prefix"; then
+- # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
+-set dummy ${ac_tool_prefix}ar; ac_word=$2
++ for ac_prog in ar
++ do
++ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
++set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+ $as_echo_n "checking for $ac_word... " >&6; }
+ if ${ac_cv_prog_AR+:} false; then :
+@@ -7141,7 +7394,7 @@ do
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+- ac_cv_prog_AR="${ac_tool_prefix}ar"
++ ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+@@ -7161,11 +7414,15 @@ $as_echo "no" >&6; }
+ fi
+
+
++ test -n "$AR" && break
++ done
+ fi
+-if test -z "$ac_cv_prog_AR"; then
++if test -z "$AR"; then
+ ac_ct_AR=$AR
+- # Extract the first word of "ar", so it can be a program name with args.
+-set dummy ar; ac_word=$2
++ for ac_prog in ar
++do
++ # Extract the first word of "$ac_prog", so it can be a program name with args.
++set dummy $ac_prog; ac_word=$2
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+ $as_echo_n "checking for $ac_word... " >&6; }
+ if ${ac_cv_prog_ac_ct_AR+:} false; then :
+@@ -7181,7 +7438,7 @@ do
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+- ac_cv_prog_ac_ct_AR="ar"
++ ac_cv_prog_ac_ct_AR="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+@@ -7200,6 +7457,10 @@ else
+ $as_echo "no" >&6; }
+ fi
+
++
++ test -n "$ac_ct_AR" && break
++done
++
+ if test "x$ac_ct_AR" = x; then
+ AR="false"
+ else
+@@ -7211,25 +7472,19 @@ ac_tool_warned=yes ;;
+ esac
+ AR=$ac_ct_AR
+ fi
+-else
+- AR="$ac_cv_prog_AR"
+ fi
+
+-test -z "$AR" && AR=ar
+-if test -n "$plugin_option"; then
+- if $AR --help 2>&1 | grep -q "\--plugin"; then
+- touch conftest.c
+- $AR $plugin_option rc conftest.a conftest.c
+- if test "$?" != 0; then
+- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
++ touch conftest.c
++ $AR $plugin_option rc conftest.a conftest.c
++ if test "$?" != 0; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
+ $as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
+- else
+- AR="$AR $plugin_option"
+- fi
+- rm -f conftest.*
++ else
++ AR="$AR $plugin_option"
+ fi
+-fi
+-test -z "$AR_FLAGS" && AR_FLAGS=cru
++ rm -f conftest.*
++: ${AR=ar}
++: ${AR_FLAGS=cru}
+
+
+
+@@ -7241,6 +7496,64 @@ test -z "$AR_FLAGS" && AR_FLAGS=cru
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
+$as_echo_n "checking for archiver @FILE support... " >&6; }
+if ${lt_cv_ar_at_file+:} false; then :
@@ -6231,7 +10943,7 @@ index 3cf41b79116..e5d57f52912 100755
+int
+main ()
+{
-
++
+ ;
+ return 0;
+}
@@ -6257,23 +10969,30 @@ index 3cf41b79116..e5d57f52912 100755
+ fi
+ fi
+ rm -f conftest.* libconftest.a
-
++
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-
++
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
+$as_echo "$lt_cv_ar_at_file" >&6; }
-
++
+if test "x$lt_cv_ar_at_file" = xno; then
+ archiver_list_spec=
+else
+ archiver_list_spec=$lt_cv_ar_at_file
+fi
-
-
-
-@@ -6693,8 +7011,8 @@ esac
++
++
++
++
++
++
++
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
+ set dummy ${ac_tool_prefix}strip; ac_word=$2
+@@ -7580,8 +7893,8 @@ esac
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
# Transform an extracted symbol line into symbol name and symbol address
@@ -6284,7 +11003,7 @@ index 3cf41b79116..e5d57f52912 100755
# Handle CRLF in mingw tool chain
opt_cr=
-@@ -6730,6 +7048,7 @@ for ac_symprfx in "" "_"; do
+@@ -7617,6 +7930,7 @@ for ac_symprfx in "" "_"; do
else
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
fi
@@ -6292,7 +11011,7 @@ index 3cf41b79116..e5d57f52912 100755
# Check to see that the pipe works correctly.
pipe_works=no
-@@ -6771,6 +7090,18 @@ _LT_EOF
+@@ -7658,6 +7972,18 @@ _LT_EOF
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
cat <<_LT_EOF > conftest.$ac_ext
@@ -6311,7 +11030,7 @@ index 3cf41b79116..e5d57f52912 100755
#ifdef __cplusplus
extern "C" {
#endif
-@@ -6782,7 +7113,7 @@ _LT_EOF
+@@ -7669,7 +7995,7 @@ _LT_EOF
cat <<_LT_EOF >> conftest.$ac_ext
/* The mapping between symbol names and symbols. */
@@ -6320,7 +11039,7 @@ index 3cf41b79116..e5d57f52912 100755
const char *name;
void *address;
}
-@@ -6808,8 +7139,8 @@ static const void *lt_preloaded_setup() {
+@@ -7695,8 +8021,8 @@ static const void *lt_preloaded_setup() {
_LT_EOF
# Now try linking the two files.
mv conftest.$ac_objext conftstm.$ac_objext
@@ -6331,7 +11050,7 @@ index 3cf41b79116..e5d57f52912 100755
LIBS="conftstm.$ac_objext"
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
-@@ -6819,8 +7150,8 @@ _LT_EOF
+@@ -7706,8 +8032,8 @@ _LT_EOF
test $ac_status = 0; } && test -s conftest${ac_exeext}; then
pipe_works=yes
fi
@@ -6342,7 +11061,7 @@ index 3cf41b79116..e5d57f52912 100755
else
echo "cannot find nm_test_func in $nlist" >&5
fi
-@@ -6857,6 +7188,20 @@ else
+@@ -7744,6 +8070,13 @@ else
$as_echo "ok" >&6; }
fi
@@ -6353,23 +11072,20 @@ index 3cf41b79116..e5d57f52912 100755
+ nm_file_list_spec='@'
+fi
+
-+
-+
-+
-+
-+
-+
-+
-@@ -6873,6 +7218,41 @@ fi
+@@ -7763,6 +8096,48 @@ fi
+
+
+
++
++
++
++
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
+$as_echo_n "checking for sysroot... " >&6; }
+
@@ -6402,10 +11118,13 @@ index 3cf41b79116..e5d57f52912 100755
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
+$as_echo "${lt_sysroot:-no}" >&6; }
++
++
++
-
-@@ -7084,6 +7464,123 @@ esac
+ # Check whether --enable-libtool-lock was given.
+@@ -7971,6 +8346,123 @@ esac
need_locks="$enable_libtool_lock"
@@ -6529,7 +11248,7 @@ index 3cf41b79116..e5d57f52912 100755
case $host_os in
rhapsody* | darwin*)
-@@ -7647,6 +8144,8 @@ _LT_EOF
+@@ -8534,6 +9026,8 @@ _LT_EOF
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
echo "$AR cru libconftest.a conftest.o" >&5
$AR cru libconftest.a conftest.o 2>&5
@@ -6538,26 +11257,24 @@ index 3cf41b79116..e5d57f52912 100755
cat > conftest.c << _LT_EOF
int main() { return 0;}
_LT_EOF
-@@ -7842,7 +8341,8 @@ fi
- LIBTOOL_DEPS="$ltmain"
+@@ -8604,6 +9098,16 @@ done
- # Always use our own libtool.
--LIBTOOL='$(SHELL) $(top_builddir)/libtool'
-+LIBTOOL='$(SHELL) $(top_builddir)'
-+LIBTOOL="$LIBTOOL/${host_alias}-libtool"
++func_stripname_cnf ()
++{
++ case ${2} in
++ .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
++ *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
++ esac
++} # func_stripname_cnf
++
++
++
-@@ -7931,7 +8431,7 @@ aix3*)
- esac
-
- # Global variables:
--ofile=libtool
-+ofile=${host_alias}-libtool
- can_build_shared=yes
- # All known linkers require a `.a' archive for static linking (except MSVC,
-@@ -8229,8 +8729,6 @@ fi
+ # Set options
+@@ -9119,8 +9623,6 @@ fi
lt_prog_compiler_pic=
lt_prog_compiler_static=
@@ -6566,7 +11283,7 @@ index 3cf41b79116..e5d57f52912 100755
if test "$GCC" = yes; then
lt_prog_compiler_wl='-Wl,'
-@@ -8396,6 +8894,12 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
+@@ -9286,6 +9788,12 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
lt_prog_compiler_pic='--shared'
lt_prog_compiler_static='--static'
;;
@@ -6579,7 +11296,7 @@ index 3cf41b79116..e5d57f52912 100755
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
# Portland Group compilers (*not* the Pentium gcc compiler,
# which looks to be a dead project)
-@@ -8458,7 +8962,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
+@@ -9348,7 +9856,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
lt_prog_compiler_pic='-KPIC'
lt_prog_compiler_static='-Bstatic'
case $cc_basename in
@@ -6588,7 +11305,7 @@ index 3cf41b79116..e5d57f52912 100755
lt_prog_compiler_wl='-Qoption ld ';;
*)
lt_prog_compiler_wl='-Wl,';;
-@@ -8515,13 +9019,17 @@ case $host_os in
+@@ -9405,13 +9913,17 @@ case $host_os in
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
;;
esac
@@ -6612,7 +11329,7 @@ index 3cf41b79116..e5d57f52912 100755
#
# Check to make sure the PIC flag actually works.
-@@ -8582,6 +9090,11 @@ fi
+@@ -9472,6 +9984,11 @@ fi
@@ -6624,7 +11341,7 @@ index 3cf41b79116..e5d57f52912 100755
#
# Check to make sure the static flag actually works.
#
-@@ -8932,7 +9445,8 @@ _LT_EOF
+@@ -9822,7 +10339,8 @@ _LT_EOF
allow_undefined_flag=unsupported
always_export_symbols=no
enable_shared_with_static_runtimes=yes
@@ -6634,7 +11351,7 @@ index 3cf41b79116..e5d57f52912 100755
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
-@@ -9031,12 +9545,12 @@ _LT_EOF
+@@ -9921,12 +10439,12 @@ _LT_EOF
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
hardcode_libdir_flag_spec=
hardcode_libdir_flag_spec_ld='-rpath $libdir'
@@ -6649,7 +11366,7 @@ index 3cf41b79116..e5d57f52912 100755
fi
;;
esac
-@@ -9050,8 +9564,8 @@ _LT_EOF
+@@ -9940,8 +10458,8 @@ _LT_EOF
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
wlarc=
else
@@ -6660,7 +11377,7 @@ index 3cf41b79116..e5d57f52912 100755
fi
;;
-@@ -9069,8 +9583,8 @@ _LT_EOF
+@@ -9959,8 +10477,8 @@ _LT_EOF
_LT_EOF
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -6671,7 +11388,7 @@ index 3cf41b79116..e5d57f52912 100755
else
ld_shlibs=no
fi
-@@ -9116,8 +9630,8 @@ _LT_EOF
+@@ -10006,8 +10524,8 @@ _LT_EOF
*)
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -6682,7 +11399,7 @@ index 3cf41b79116..e5d57f52912 100755
else
ld_shlibs=no
fi
-@@ -9247,7 +9761,13 @@ _LT_EOF
+@@ -10137,7 +10655,13 @@ _LT_EOF
allow_undefined_flag='-berok'
# Determine the default libpath from the value encoded in an
# empty executable.
@@ -6697,7 +11414,7 @@ index 3cf41b79116..e5d57f52912 100755
/* end confdefs.h. */
int
-@@ -9260,22 +9780,29 @@ main ()
+@@ -10150,22 +10674,29 @@ main ()
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
@@ -6740,7 +11457,7 @@ index 3cf41b79116..e5d57f52912 100755
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
-@@ -9287,7 +9814,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+@@ -10177,7 +10708,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
else
# Determine the default libpath from the value encoded in an
# empty executable.
@@ -6755,7 +11472,7 @@ index 3cf41b79116..e5d57f52912 100755
/* end confdefs.h. */
int
-@@ -9300,22 +9833,29 @@ main ()
+@@ -10190,22 +10727,29 @@ main ()
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
@@ -6798,7 +11515,7 @@ index 3cf41b79116..e5d57f52912 100755
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
# Warning - without using the other run time loading flags,
-@@ -9360,20 +9900,63 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+@@ -10250,20 +10794,63 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
# Microsoft Visual C++.
# hardcode_libdir_flag_spec is actually meaningless, as there is
# no search path for DLLs.
@@ -6876,7 +11593,7 @@ index 3cf41b79116..e5d57f52912 100755
;;
darwin* | rhapsody*)
-@@ -9434,7 +10017,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+@@ -10324,7 +10911,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
freebsd* | dragonfly*)
@@ -6885,7 +11602,7 @@ index 3cf41b79116..e5d57f52912 100755
hardcode_libdir_flag_spec='-R$libdir'
hardcode_direct=yes
hardcode_shlibpath_var=no
-@@ -9442,7 +10025,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+@@ -10332,7 +10919,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
hpux9*)
if test "$GCC" = yes; then
@@ -6894,7 +11611,7 @@ index 3cf41b79116..e5d57f52912 100755
else
archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
fi
-@@ -9458,7 +10041,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+@@ -10348,7 +10935,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
hpux10*)
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
@@ -6903,8 +11620,8 @@ index 3cf41b79116..e5d57f52912 100755
else
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
fi
-@@ -9482,10 +10065,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
- archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
+@@ -10372,10 +10959,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+ archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
;;
ia64*)
- archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
@@ -6916,7 +11633,7 @@ index 3cf41b79116..e5d57f52912 100755
;;
esac
else
-@@ -9564,23 +10147,36 @@ fi
+@@ -10454,23 +11041,36 @@ fi
irix5* | irix6* | nonstopux*)
if test "$GCC" = yes; then
@@ -6961,7 +11678,7 @@ index 3cf41b79116..e5d57f52912 100755
else
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
-@@ -9665,7 +10261,7 @@ rm -f core conftest.err conftest.$ac_objext \
+@@ -10555,7 +11155,7 @@ rm -f core conftest.err conftest.$ac_objext \
osf4* | osf5*) # as osf3* with the addition of -msym flag
if test "$GCC" = yes; then
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
@@ -6970,7 +11687,7 @@ index 3cf41b79116..e5d57f52912 100755
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
else
allow_undefined_flag=' -expect_unresolved \*'
-@@ -9684,9 +10280,9 @@ rm -f core conftest.err conftest.$ac_objext \
+@@ -10574,9 +11174,9 @@ rm -f core conftest.err conftest.$ac_objext \
no_undefined_flag=' -z defs'
if test "$GCC" = yes; then
wlarc='${wl}'
@@ -6982,7 +11699,7 @@ index 3cf41b79116..e5d57f52912 100755
else
case `$CC -V 2>&1` in
*"Compilers 5.0"*)
-@@ -10262,8 +10858,9 @@ cygwin* | mingw* | pw32* | cegcc*)
+@@ -11152,8 +11752,9 @@ cygwin* | mingw* | pw32* | cegcc*)
need_version=no
need_lib_prefix=no
@@ -6994,7 +11711,7 @@ index 3cf41b79116..e5d57f52912 100755
library_names_spec='$libname.dll.a'
# DLL is installed to $(libdir)/../bin by postinstall_cmds
postinstall_cmds='base_file=`basename \${file}`~
-@@ -10296,13 +10893,71 @@ cygwin* | mingw* | pw32* | cegcc*)
+@@ -11186,13 +11787,71 @@ cygwin* | mingw* | pw32* | cegcc*)
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
;;
esac
@@ -7067,25 +11784,16 @@ index 3cf41b79116..e5d57f52912 100755
# FIXME: first we should search . and the directory the executable is in
shlibpath_var=PATH
;;
-@@ -10394,7 +11049,7 @@ haiku*)
- soname_spec='${libname}${release}${shared_ext}$major'
- shlibpath_var=LIBRARY_PATH
- shlibpath_overrides_runpath=yes
-- sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
-+ sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
- hardcode_into_libs=yes
- ;;
-
-@@ -11190,7 +11845,7 @@ else
+@@ -12094,7 +12753,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
--#line 11193 "configure"
+-#line 12097 "configure"
+#line $LINENO "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
-@@ -11234,10 +11889,10 @@ else
+@@ -12138,10 +12797,10 @@ else
/* When -fvisbility=hidden is used, assume the code has been annotated
correspondingly for the symbols needed. */
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -7098,16 +11806,16 @@ index 3cf41b79116..e5d57f52912 100755
int main ()
{
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
-@@ -11296,7 +11951,7 @@ else
+@@ -12200,7 +12859,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
--#line 11299 "configure"
+-#line 12203 "configure"
+#line $LINENO "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
-@@ -11340,10 +11995,10 @@ else
+@@ -12244,10 +12903,10 @@ else
/* When -fvisbility=hidden is used, assume the code has been annotated
correspondingly for the symbols needed. */
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -7120,7 +11828,567 @@ index 3cf41b79116..e5d57f52912 100755
int main ()
{
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
-@@ -13309,13 +13964,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
+@@ -12639,6 +13298,7 @@ $RM -r conftest*
+
+ # Allow CC to be a program name with arguments.
+ lt_save_CC=$CC
++ lt_save_CFLAGS=$CFLAGS
+ lt_save_LD=$LD
+ lt_save_GCC=$GCC
+ GCC=$GXX
+@@ -12656,6 +13316,7 @@ $RM -r conftest*
+ fi
+ test -z "${LDCXX+set}" || LD=$LDCXX
+ CC=${CXX-"c++"}
++ CFLAGS=$CXXFLAGS
+ compiler=$CC
+ compiler_CXX=$CC
+ for cc_temp in $compiler""; do
+@@ -12938,7 +13599,13 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
+ allow_undefined_flag_CXX='-berok'
+ # Determine the default libpath from the value encoded in an empty
+ # executable.
+- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
++ if test "${lt_cv_aix_libpath+set}" = set; then
++ aix_libpath=$lt_cv_aix_libpath
++else
++ if ${lt_cv_aix_libpath__CXX+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h. */
+
+ int
+@@ -12951,22 +13618,29 @@ main ()
+ _ACEOF
+ if ac_fn_cxx_try_link "$LINENO"; then :
+
+-lt_aix_libpath_sed='
+- /Import File Strings/,/^$/ {
+- /^0/ {
+- s/^0 *\(.*\)$/\1/
+- p
+- }
+- }'
+-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+-# Check for a 64-bit object if we didn't find anything.
+-if test -z "$aix_libpath"; then
+- aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+-fi
++ lt_aix_libpath_sed='
++ /Import File Strings/,/^$/ {
++ /^0/ {
++ s/^0 *\([^ ]*\) *$/\1/
++ p
++ }
++ }'
++ lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
++ # Check for a 64-bit object if we didn't find anything.
++ if test -z "$lt_cv_aix_libpath__CXX"; then
++ lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
++ fi
+ fi
+ rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
++ if test -z "$lt_cv_aix_libpath__CXX"; then
++ lt_cv_aix_libpath__CXX="/usr/lib:/lib"
++ fi
++
++fi
++
++ aix_libpath=$lt_cv_aix_libpath__CXX
++fi
+
+ hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
+
+@@ -12979,7 +13653,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+ else
+ # Determine the default libpath from the value encoded in an
+ # empty executable.
+- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
++ if test "${lt_cv_aix_libpath+set}" = set; then
++ aix_libpath=$lt_cv_aix_libpath
++else
++ if ${lt_cv_aix_libpath__CXX+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h. */
+
+ int
+@@ -12992,22 +13672,29 @@ main ()
+ _ACEOF
+ if ac_fn_cxx_try_link "$LINENO"; then :
+
+-lt_aix_libpath_sed='
+- /Import File Strings/,/^$/ {
+- /^0/ {
+- s/^0 *\(.*\)$/\1/
+- p
+- }
+- }'
+-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+-# Check for a 64-bit object if we didn't find anything.
+-if test -z "$aix_libpath"; then
+- aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+-fi
++ lt_aix_libpath_sed='
++ /Import File Strings/,/^$/ {
++ /^0/ {
++ s/^0 *\([^ ]*\) *$/\1/
++ p
++ }
++ }'
++ lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
++ # Check for a 64-bit object if we didn't find anything.
++ if test -z "$lt_cv_aix_libpath__CXX"; then
++ lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
++ fi
+ fi
+ rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
++ if test -z "$lt_cv_aix_libpath__CXX"; then
++ lt_cv_aix_libpath__CXX="/usr/lib:/lib"
++ fi
++
++fi
++
++ aix_libpath=$lt_cv_aix_libpath__CXX
++fi
+
+ hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
+ # Warning - without using the other run time loading flags,
+@@ -13050,29 +13737,75 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+ ;;
+
+ cygwin* | mingw* | pw32* | cegcc*)
+- # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
+- # as there is no search path for DLLs.
+- hardcode_libdir_flag_spec_CXX='-L$libdir'
+- export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
+- allow_undefined_flag_CXX=unsupported
+- always_export_symbols_CXX=no
+- enable_shared_with_static_runtimes_CXX=yes
+-
+- if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
+- archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
+- # If the export-symbols file already is a .def file (1st line
+- # is EXPORTS), use it as is; otherwise, prepend...
+- archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
+- cp $export_symbols $output_objdir/$soname.def;
+- else
+- echo EXPORTS > $output_objdir/$soname.def;
+- cat $export_symbols >> $output_objdir/$soname.def;
+- fi~
+- $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
+- else
+- ld_shlibs_CXX=no
+- fi
+- ;;
++ case $GXX,$cc_basename in
++ ,cl* | no,cl*)
++ # Native MSVC
++ # hardcode_libdir_flag_spec is actually meaningless, as there is
++ # no search path for DLLs.
++ hardcode_libdir_flag_spec_CXX=' '
++ allow_undefined_flag_CXX=unsupported
++ always_export_symbols_CXX=yes
++ file_list_spec_CXX='@'
++ # Tell ltmain to make .lib files, not .a files.
++ libext=lib
++ # Tell ltmain to make .dll files, not .so files.
++ shrext_cmds=".dll"
++ # FIXME: Setting linknames here is a bad hack.
++ archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
++ archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
++ $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
++ else
++ $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
++ fi~
++ $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
++ linknames='
++ # The linker will not automatically build a static lib if we build a DLL.
++ # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
++ enable_shared_with_static_runtimes_CXX=yes
++ # Don't use ranlib
++ old_postinstall_cmds_CXX='chmod 644 $oldlib'
++ postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
++ lt_tool_outputfile="@TOOL_OUTPUT@"~
++ case $lt_outputfile in
++ *.exe|*.EXE) ;;
++ *)
++ lt_outputfile="$lt_outputfile.exe"
++ lt_tool_outputfile="$lt_tool_outputfile.exe"
++ ;;
++ esac~
++ func_to_tool_file "$lt_outputfile"~
++ if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
++ $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
++ $RM "$lt_outputfile.manifest";
++ fi'
++ ;;
++ *)
++ # g++
++ # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
++ # as there is no search path for DLLs.
++ hardcode_libdir_flag_spec_CXX='-L$libdir'
++ export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
++ allow_undefined_flag_CXX=unsupported
++ always_export_symbols_CXX=no
++ enable_shared_with_static_runtimes_CXX=yes
++
++ if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
++ archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
++ # If the export-symbols file already is a .def file (1st line
++ # is EXPORTS), use it as is; otherwise, prepend...
++ archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
++ cp $export_symbols $output_objdir/$soname.def;
++ else
++ echo EXPORTS > $output_objdir/$soname.def;
++ cat $export_symbols >> $output_objdir/$soname.def;
++ fi~
++ $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
++ else
++ ld_shlibs_CXX=no
++ fi
++ ;;
++ esac
++ ;;
+ darwin* | rhapsody*)
+
+
+@@ -13178,7 +13911,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+ ;;
+ *)
+ if test "$GXX" = yes; then
+- archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
++ archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
+ else
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+@@ -13249,10 +13982,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+ archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ ;;
+ ia64*)
+- archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
++ archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ ;;
+ *)
+- archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
++ archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ ;;
+ esac
+ fi
+@@ -13293,9 +14026,9 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+ *)
+ if test "$GXX" = yes; then
+ if test "$with_gnu_ld" = no; then
+- archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++ archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+ else
+- archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
++ archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
+ fi
+ fi
+ link_all_deplibs_CXX=yes
+@@ -13573,7 +14306,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+ archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+ ;;
+ *)
+- archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++ archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+ ;;
+ esac
+
+@@ -13619,7 +14352,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+
+ solaris*)
+ case $cc_basename in
+- CC*)
++ CC* | sunCC*)
+ # Sun C++ 4.2, 5.x and Centerline C++
+ archive_cmds_need_lc_CXX=yes
+ no_undefined_flag_CXX=' -zdefs'
+@@ -13660,9 +14393,9 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+ if test "$GXX" = yes && test "$with_gnu_ld" = no; then
+ no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
+ if $CC --version | $GREP -v '^2\.7' > /dev/null; then
+- archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
++ archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
+ archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
+- $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
++ $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+@@ -13798,6 +14531,13 @@ private:
+ };
+ _LT_EOF
+
++
++_lt_libdeps_save_CFLAGS=$CFLAGS
++case "$CC $CFLAGS " in #(
++*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
++*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
++esac
++
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+@@ -13811,7 +14551,7 @@ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+ pre_test_object_deps_done=no
+
+ for p in `eval "$output_verbose_link_cmd"`; do
+- case $p in
++ case ${prev}${p} in
+
+ -L* | -R* | -l*)
+ # Some compilers place space between "-{L,R}" and the path.
+@@ -13820,13 +14560,22 @@ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+ test $p = "-R"; then
+ prev=$p
+ continue
+- else
+- prev=
+ fi
+
++ # Expand the sysroot to ease extracting the directories later.
++ if test -z "$prev"; then
++ case $p in
++ -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
++ -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
++ -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
++ esac
++ fi
++ case $p in
++ =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
++ esac
+ if test "$pre_test_object_deps_done" = no; then
+- case $p in
+- -L* | -R*)
++ case ${prev} in
++ -L | -R)
+ # Internal compiler library paths should come after those
+ # provided the user. The postdeps already come after the
+ # user supplied libs so there is no need to process them.
+@@ -13846,8 +14595,10 @@ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+ postdeps_CXX="${postdeps_CXX} ${prev}${p}"
+ fi
+ fi
++ prev=
+ ;;
+
++ *.lto.$objext) ;; # Ignore GCC LTO objects
+ *.$objext)
+ # This assumes that the test object file only shows up
+ # once in the compiler output.
+@@ -13883,6 +14634,7 @@ else
+ fi
+
+ $RM -f confest.$objext
++CFLAGS=$_lt_libdeps_save_CFLAGS
+
+ # PORTME: override above test on systems where it is broken
+ case $host_os in
+@@ -13918,7 +14670,7 @@ linux*)
+
+ solaris*)
+ case $cc_basename in
+- CC*)
++ CC* | sunCC*)
+ # The more standards-conforming stlport4 library is
+ # incompatible with the Cstd library. Avoid specifying
+ # it if it's in CXXFLAGS. Ignore libCrun as
+@@ -13983,8 +14735,6 @@ fi
+ lt_prog_compiler_pic_CXX=
+ lt_prog_compiler_static_CXX=
+
+-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
+-$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
+
+ # C++ specific cases for pic, static, wl, etc.
+ if test "$GXX" = yes; then
+@@ -14089,6 +14839,11 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
+ ;;
+ esac
+ ;;
++ mingw* | cygwin* | os2* | pw32* | cegcc*)
++ # This hack is so that the source file can tell whether it is being
++ # built for inclusion in a dll (and should export symbols for example).
++ lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
++ ;;
+ dgux*)
+ case $cc_basename in
+ ec++*)
+@@ -14241,7 +14996,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
+ ;;
+ solaris*)
+ case $cc_basename in
+- CC*)
++ CC* | sunCC*)
+ # Sun C++ 4.2, 5.x and Centerline C++
+ lt_prog_compiler_pic_CXX='-KPIC'
+ lt_prog_compiler_static_CXX='-Bstatic'
+@@ -14306,10 +15061,17 @@ case $host_os in
+ lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
+ ;;
+ esac
+-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
+-$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
+-
+
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
++$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
++if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
++$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
++lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
+
+ #
+ # Check to make sure the PIC flag actually works.
+@@ -14367,6 +15129,8 @@ fi
+
+
+
++
++
+ #
+ # Check to make sure the static flag actually works.
+ #
+@@ -14544,6 +15308,7 @@ fi
+ $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
+
+ export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
++ exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
+ case $host_os in
+ aix[4-9]*)
+ # If we're using GNU nm, then we don't want the "-C" option.
+@@ -14558,15 +15323,20 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
+ ;;
+ pw32*)
+ export_symbols_cmds_CXX="$ltdll_cmds"
+- ;;
++ ;;
+ cygwin* | mingw* | cegcc*)
+- export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
+- ;;
++ case $cc_basename in
++ cl*) ;;
++ *)
++ export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
++ exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
++ ;;
++ esac
++ ;;
+ *)
+ export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
+- ;;
++ ;;
+ esac
+- exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
+ $as_echo "$ld_shlibs_CXX" >&6; }
+@@ -14829,8 +15599,9 @@ cygwin* | mingw* | pw32* | cegcc*)
+ need_version=no
+ need_lib_prefix=no
+
+- case $GCC,$host_os in
+- yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
++ case $GCC,$cc_basename in
++ yes,*)
++ # gcc
+ library_names_spec='$libname.dll.a'
+ # DLL is installed to $(libdir)/../bin by postinstall_cmds
+ postinstall_cmds='base_file=`basename \${file}`~
+@@ -14862,13 +15633,71 @@ cygwin* | mingw* | pw32* | cegcc*)
+ library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
+ ;;
+ esac
++ dynamic_linker='Win32 ld.exe'
++ ;;
++
++ *,cl*)
++ # Native MSVC
++ libname_spec='$name'
++ soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
++ library_names_spec='${libname}.dll.lib'
++
++ case $build_os in
++ mingw*)
++ sys_lib_search_path_spec=
++ lt_save_ifs=$IFS
++ IFS=';'
++ for lt_path in $LIB
++ do
++ IFS=$lt_save_ifs
++ # Let DOS variable expansion print the short 8.3 style file name.
++ lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
++ sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
++ done
++ IFS=$lt_save_ifs
++ # Convert to MSYS style.
++ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
++ ;;
++ cygwin*)
++ # Convert to unix form, then to dos form, then back to unix form
++ # but this time dos style (no spaces!) so that the unix form looks
++ # like /cygdrive/c/PROGRA~1:/cygdr...
++ sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
++ sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
++ sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
++ ;;
++ *)
++ sys_lib_search_path_spec="$LIB"
++ if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
++ # It is most probably a Windows format PATH.
++ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
++ else
++ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
++ fi
++ # FIXME: find the short name or the path components, as spaces are
++ # common. (e.g. "Program Files" -> "PROGRA~1")
++ ;;
++ esac
++
++ # DLL is installed to $(libdir)/../bin by postinstall_cmds
++ postinstall_cmds='base_file=`basename \${file}`~
++ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
++ dldir=$destdir/`dirname \$dlpath`~
++ test -d \$dldir || mkdir -p \$dldir~
++ $install_prog $dir/$dlname \$dldir/$dlname'
++ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
++ dlpath=$dir/\$dldll~
++ $RM \$dlpath'
++ shlibpath_overrides_runpath=yes
++ dynamic_linker='Win32 link.exe'
+ ;;
+
+ *)
++ # Assume MSVC wrapper
+ library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
++ dynamic_linker='Win32 ld.exe'
+ ;;
+ esac
+- dynamic_linker='Win32 ld.exe'
+ # FIXME: first we should search . and the directory the executable is in
+ shlibpath_var=PATH
+ ;;
+@@ -15432,6 +16261,7 @@ fi
+ fi # test -n "$compiler"
+
+ CC=$lt_save_CC
++ CFLAGS=$lt_save_CFLAGS
+ LDCXX=$LD
+ LD=$lt_save_LD
+ GCC=$lt_save_GCC
+@@ -16359,13 +17189,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
@@ -7141,7 +12409,7 @@ index 3cf41b79116..e5d57f52912 100755
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
-@@ -13330,14 +13992,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de
+@@ -16380,14 +17217,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
@@ -7160,7 +12428,7 @@ index 3cf41b79116..e5d57f52912 100755
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
-@@ -13370,12 +14035,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q
+@@ -16420,12 +17260,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
@@ -7174,7 +12442,31 @@ index 3cf41b79116..e5d57f52912 100755
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
-@@ -13430,8 +14095,13 @@ reload_flag \
+@@ -16464,8 +17304,8 @@ old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote
+ compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
+ GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
+ lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
+-lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
+ lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
++lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
+ lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
+ lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
+ archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
+@@ -16492,12 +17332,12 @@ hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_
+ hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
+ inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
+ link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
+-fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
+ always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
+ export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+ exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
+ include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
+ prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
++postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
+ file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
+ hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
+ compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
+@@ -16535,8 +17375,13 @@ reload_flag \
OBJDUMP \
deplibs_check_method \
file_magic_cmd \
@@ -7188,7 +12480,7 @@ index 3cf41b79116..e5d57f52912 100755
STRIP \
RANLIB \
CC \
-@@ -13441,12 +14111,14 @@ lt_cv_sys_global_symbol_pipe \
+@@ -16546,12 +17391,14 @@ lt_cv_sys_global_symbol_pipe \
lt_cv_sys_global_symbol_to_cdecl \
lt_cv_sys_global_symbol_to_c_name_address \
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
@@ -7204,7 +12496,7 @@ index 3cf41b79116..e5d57f52912 100755
DSYMUTIL \
NMEDIT \
LIPO \
-@@ -13462,7 +14134,6 @@ no_undefined_flag \
+@@ -16567,7 +17414,6 @@ no_undefined_flag \
hardcode_libdir_flag_spec \
hardcode_libdir_flag_spec_ld \
hardcode_libdir_separator \
@@ -7212,7 +12504,25 @@ index 3cf41b79116..e5d57f52912 100755
exclude_expsyms \
include_expsyms \
file_list_spec \
-@@ -13498,6 +14169,7 @@ module_cmds \
+@@ -16589,8 +17435,8 @@ LD_CXX \
+ reload_flag_CXX \
+ compiler_CXX \
+ lt_prog_compiler_no_builtin_flag_CXX \
+-lt_prog_compiler_wl_CXX \
+ lt_prog_compiler_pic_CXX \
++lt_prog_compiler_wl_CXX \
+ lt_prog_compiler_static_CXX \
+ lt_cv_prog_compiler_c_o_CXX \
+ export_dynamic_flag_spec_CXX \
+@@ -16602,7 +17448,6 @@ no_undefined_flag_CXX \
+ hardcode_libdir_flag_spec_CXX \
+ hardcode_libdir_flag_spec_ld_CXX \
+ hardcode_libdir_separator_CXX \
+-fix_srcfile_path_CXX \
+ exclude_expsyms_CXX \
+ include_expsyms_CXX \
+ file_list_spec_CXX \
+@@ -16636,6 +17481,7 @@ module_cmds \
module_expsym_cmds \
export_symbols_cmds \
prelink_cmds \
@@ -7220,7 +12530,17 @@ index 3cf41b79116..e5d57f52912 100755
postinstall_cmds \
postuninstall_cmds \
finish_cmds \
-@@ -14263,7 +14935,8 @@ $as_echo X"$file" |
+@@ -16650,7 +17496,8 @@ archive_expsym_cmds_CXX \
+ module_cmds_CXX \
+ module_expsym_cmds_CXX \
+ export_symbols_cmds_CXX \
+-prelink_cmds_CXX; do
++prelink_cmds_CXX \
++postlink_cmds_CXX; do
+ case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
+ *[\\\\\\\`\\"\\\$]*)
+ eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
+@@ -17404,7 +18251,8 @@ $as_echo X"$file" |
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
#
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
@@ -7230,7 +12550,7 @@ index 3cf41b79116..e5d57f52912 100755
# Written by Gordon Matzigkeit, 1996
#
# This file is part of GNU Libtool.
-@@ -14366,19 +15039,42 @@ SP2NL=$lt_lt_SP2NL
+@@ -17507,19 +18355,42 @@ SP2NL=$lt_lt_SP2NL
# turn newlines into spaces.
NL2SP=$lt_lt_NL2SP
@@ -7274,7 +12594,7 @@ index 3cf41b79116..e5d57f52912 100755
# A symbol stripping program.
STRIP=$lt_STRIP
-@@ -14408,6 +15104,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
+@@ -17549,6 +18420,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
# Transform the output of nm in a C name address pair when lib prefix is needed.
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
@@ -7287,7 +12607,7 @@ index 3cf41b79116..e5d57f52912 100755
# The name of the directory that contains temporary libtool files.
objdir=$objdir
-@@ -14417,6 +15119,9 @@ MAGIC_CMD=$MAGIC_CMD
+@@ -17558,6 +18435,9 @@ MAGIC_CMD=$MAGIC_CMD
# Must we lock files when doing compilation?
need_locks=$lt_need_locks
@@ -7297,7 +12617,7 @@ index 3cf41b79116..e5d57f52912 100755
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
DSYMUTIL=$lt_DSYMUTIL
-@@ -14531,12 +15236,12 @@ with_gcc=$GCC
+@@ -17672,12 +18552,12 @@ with_gcc=$GCC
# Compiler flag to turn off builtin functions.
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
@@ -7313,7 +12633,7 @@ index 3cf41b79116..e5d57f52912 100755
# Compiler flag to prevent dynamic linking.
link_static_flag=$lt_lt_prog_compiler_static
-@@ -14623,9 +15328,6 @@ inherit_rpath=$inherit_rpath
+@@ -17764,9 +18644,6 @@ inherit_rpath=$inherit_rpath
# Whether libtool must link a program against all its dependency libraries.
link_all_deplibs=$link_all_deplibs
@@ -7323,7 +12643,7 @@ index 3cf41b79116..e5d57f52912 100755
# Set to "yes" if exported symbols are required.
always_export_symbols=$always_export_symbols
-@@ -14641,6 +15343,9 @@ include_expsyms=$lt_include_expsyms
+@@ -17782,6 +18659,9 @@ include_expsyms=$lt_include_expsyms
# Commands necessary for linking programs (against libraries) with templates.
prelink_cmds=$lt_prelink_cmds
@@ -7333,7 +12653,7 @@ index 3cf41b79116..e5d57f52912 100755
# Specify filename containing input files.
file_list_spec=$lt_file_list_spec
-@@ -14673,210 +15378,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
+@@ -17828,210 +18708,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
# if finds mixed CR/LF and LF-only lines. Since sed operates in
# text mode, it properly converts lines to CR/LF. This bash problem
# is reportedly fixed, but why not run on old versions too?
@@ -7707,11 +13027,95 @@ index 3cf41b79116..e5d57f52912 100755
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
chmod +x "$ofile"
+@@ -18059,12 +18898,12 @@ with_gcc=$GCC_CXX
+ # Compiler flag to turn off builtin functions.
+ no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
+
+-# How to pass a linker flag through the compiler.
+-wl=$lt_lt_prog_compiler_wl_CXX
+-
+ # Additional compiler flags for building library objects.
+ pic_flag=$lt_lt_prog_compiler_pic_CXX
+
++# How to pass a linker flag through the compiler.
++wl=$lt_lt_prog_compiler_wl_CXX
++
+ # Compiler flag to prevent dynamic linking.
+ link_static_flag=$lt_lt_prog_compiler_static_CXX
+
+@@ -18151,9 +18990,6 @@ inherit_rpath=$inherit_rpath_CXX
+ # Whether libtool must link a program against all its dependency libraries.
+ link_all_deplibs=$link_all_deplibs_CXX
+
+-# Fix the shell variable \$srcfile for the compiler.
+-fix_srcfile_path=$lt_fix_srcfile_path_CXX
+-
+ # Set to "yes" if exported symbols are required.
+ always_export_symbols=$always_export_symbols_CXX
+
+@@ -18169,6 +19005,9 @@ include_expsyms=$lt_include_expsyms_CXX
+ # Commands necessary for linking programs (against libraries) with templates.
+ prelink_cmds=$lt_prelink_cmds_CXX
+
++# Commands necessary for finishing linking programs.
++postlink_cmds=$lt_postlink_cmds_CXX
++
+ # Specify filename containing input files.
+ file_list_spec=$lt_file_list_spec_CXX
+
+diff --git a/gprofng/src/Makefile.in b/gprofng/src/Makefile.in
+index db763ef71b2..726dc69bf85 100644
+--- a/gprofng/src/Makefile.in
++++ b/gprofng/src/Makefile.in
+@@ -321,6 +321,7 @@ CXXFLAGS = @CXXFLAGS@
+ CYGPATH_W = @CYGPATH_W@
+ DEFS = @DEFS@
+ DEPDIR = @DEPDIR@
++DLLTOOL = @DLLTOOL@
+ DSYMUTIL = @DSYMUTIL@
+ DUMPBIN = @DUMPBIN@
+ ECHO_C = @ECHO_C@
+@@ -355,6 +356,7 @@ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAINT = @MAINT@
+ MAKEINFO = @MAKEINFO@
++MANIFEST_TOOL = @MANIFEST_TOOL@
+ MKDIR_P = @MKDIR_P@
+ NM = @NM@
+ NMEDIT = @NMEDIT@
+diff --git a/ld/Makefile.in b/ld/Makefile.in
+index 15311048855..71b39ee9311 100644
+--- a/ld/Makefile.in
++++ b/ld/Makefile.in
+@@ -390,6 +390,7 @@ CYGPATH_W = @CYGPATH_W@
+ DATADIRNAME = @DATADIRNAME@
+ DEFS = @DEFS@
+ DEPDIR = @DEPDIR@
++DLLTOOL = @DLLTOOL@
+ DSYMUTIL = @DSYMUTIL@
+ DUMPBIN = @DUMPBIN@
+ ECHO_C = @ECHO_C@
+@@ -445,6 +446,7 @@ LTLIBINTL = @LTLIBINTL@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAINT = @MAINT@
+ MAKEINFO = @MAKEINFO@
++MANIFEST_TOOL = @MANIFEST_TOOL@
+ MKDIR_P = @MKDIR_P@
+ MKINSTALLDIRS = @MKINSTALLDIRS@
+ MSGFMT = @MSGFMT@
+@@ -495,6 +497,7 @@ abs_builddir = @abs_builddir@
+ abs_srcdir = @abs_srcdir@
+ abs_top_builddir = @abs_top_builddir@
+ abs_top_srcdir = @abs_top_srcdir@
++ac_ct_AR = @ac_ct_AR@
+ ac_ct_CC = @ac_ct_CC@
+ ac_ct_CXX = @ac_ct_CXX@
+ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
diff --git a/ld/configure b/ld/configure
-index 1c872c0db5f..fe938e6c99f 100755
+index 98a76d6da7f..a4266996c44 100755
--- a/ld/configure
+++ b/ld/configure
-@@ -691,8 +691,11 @@ OTOOL
+@@ -705,8 +705,11 @@ OTOOL
LIPO
NMEDIT
DSYMUTIL
@@ -7723,7 +13127,7 @@ index 1c872c0db5f..fe938e6c99f 100755
OBJDUMP
LN_S
NM
-@@ -819,6 +822,7 @@ enable_static
+@@ -836,6 +839,7 @@ enable_static
with_pic
enable_fast_install
with_gnu_ld
@@ -7731,7 +13135,7 @@ index 1c872c0db5f..fe938e6c99f 100755
enable_libtool_lock
enable_plugins
enable_largefile
-@@ -1520,6 +1524,8 @@ Optional Packages:
+@@ -1581,6 +1585,8 @@ Optional Packages:
--with-pic try to use only PIC/non-PIC objects [default=use
both]
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
@@ -7739,8 +13143,8 @@ index 1c872c0db5f..fe938e6c99f 100755
+ (or the compiler's sysroot if not specified).
--with-lib-path=dir1:dir2... set default LIB_PATH
--with-sysroot=DIR Search for usr/lib et al within DIR.
- --with-system-zlib use installed libz
-@@ -5973,8 +5979,8 @@ esac
+ --with-gnu-ld assume the C compiler uses GNU ld default=no
+@@ -5560,8 +5566,8 @@ esac
@@ -7751,7 +13155,7 @@ index 1c872c0db5f..fe938e6c99f 100755
-@@ -6014,7 +6020,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
+@@ -5601,7 +5607,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
$as_echo_n "checking how to print strings... " >&6; }
# Test print first, because it will be a builtin if present.
@@ -7760,7 +13164,7 @@ index 1c872c0db5f..fe938e6c99f 100755
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
ECHO='print -r --'
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
-@@ -6700,8 +6706,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6;
+@@ -6294,8 +6300,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6;
# Try some XSI features
xsi_shell=no
( _lt_dummy="a/b/c"
@@ -7771,7 +13175,7 @@ index 1c872c0db5f..fe938e6c99f 100755
&& eval 'test $(( 1 + 1 )) -eq 2 \
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
&& xsi_shell=yes
-@@ -6750,6 +6756,80 @@ esac
+@@ -6344,6 +6350,80 @@ esac
@@ -7852,7 +13256,7 @@ index 1c872c0db5f..fe938e6c99f 100755
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
$as_echo_n "checking for $LD option to reload object files... " >&6; }
if ${lt_cv_ld_reload_flag+:} false; then :
-@@ -6766,6 +6846,11 @@ case $reload_flag in
+@@ -6360,6 +6440,11 @@ case $reload_flag in
esac
reload_cmds='$LD$reload_flag -o $output$reload_objs'
case $host_os in
@@ -7864,7 +13268,7 @@ index 1c872c0db5f..fe938e6c99f 100755
darwin*)
if test "$GCC" = yes; then
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
-@@ -6934,7 +7019,8 @@ mingw* | pw32*)
+@@ -6528,7 +6613,8 @@ mingw* | pw32*)
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
lt_cv_file_magic_cmd='func_win32_libid'
else
@@ -7874,7 +13278,7 @@ index 1c872c0db5f..fe938e6c99f 100755
lt_cv_file_magic_cmd='$OBJDUMP -f'
fi
;;
-@@ -7088,6 +7174,21 @@ esac
+@@ -6687,6 +6773,21 @@ esac
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
$as_echo "$lt_cv_deplibs_check_method" >&6; }
@@ -7896,7 +13300,7 @@ index 1c872c0db5f..fe938e6c99f 100755
file_magic_cmd=$lt_cv_file_magic_cmd
deplibs_check_method=$lt_cv_deplibs_check_method
test -z "$deplibs_check_method" && deplibs_check_method=unknown
-@@ -7103,9 +7204,162 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown
+@@ -6702,6 +6803,157 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown
@@ -8051,6 +13455,12 @@ index 1c872c0db5f..fe938e6c99f 100755
+
+
+
+ plugin_option=
+ plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
+ for plugin in $plugin_names; do
+@@ -6716,8 +6968,10 @@ for plugin in $plugin_names; do
+ done
+
if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
-set dummy ${ac_tool_prefix}ar; ac_word=$2
@@ -8061,7 +13471,7 @@ index 1c872c0db5f..fe938e6c99f 100755
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_prog_AR+:} false; then :
-@@ -7121,7 +7375,7 @@ do
+@@ -6733,7 +6987,7 @@ do
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
@@ -8070,7 +13480,7 @@ index 1c872c0db5f..fe938e6c99f 100755
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
-@@ -7141,11 +7395,15 @@ $as_echo "no" >&6; }
+@@ -6753,11 +7007,15 @@ $as_echo "no" >&6; }
fi
@@ -8089,7 +13499,7 @@ index 1c872c0db5f..fe938e6c99f 100755
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_prog_ac_ct_AR+:} false; then :
-@@ -7161,7 +7419,7 @@ do
+@@ -6773,7 +7031,7 @@ do
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
@@ -8098,7 +13508,7 @@ index 1c872c0db5f..fe938e6c99f 100755
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
-@@ -7180,6 +7438,10 @@ else
+@@ -6792,6 +7050,10 @@ else
$as_echo "no" >&6; }
fi
@@ -8109,7 +13519,7 @@ index 1c872c0db5f..fe938e6c99f 100755
if test "x$ac_ct_AR" = x; then
AR="false"
else
-@@ -7191,12 +7453,12 @@ ac_tool_warned=yes ;;
+@@ -6803,29 +7065,81 @@ ac_tool_warned=yes ;;
esac
AR=$ac_ct_AR
fi
@@ -8118,17 +13528,39 @@ index 1c872c0db5f..fe938e6c99f 100755
fi
-test -z "$AR" && AR=ar
+-if test -n "$plugin_option"; then
+- if $AR --help 2>&1 | grep -q "\--plugin"; then
+- touch conftest.c
+- $AR $plugin_option rc conftest.a conftest.c
+- if test "$?" != 0; then
+- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
++ touch conftest.c
++ $AR $plugin_option rc conftest.a conftest.c
++ if test "$?" != 0; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
+ $as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
+- else
+- AR="$AR $plugin_option"
+- fi
+- rm -f conftest.*
++ else
++ AR="$AR $plugin_option"
+ fi
+-fi
-test -z "$AR_FLAGS" && AR_FLAGS=cru
++ rm -f conftest.*
+: ${AR=ar}
+: ${AR_FLAGS=cru}
+
+
-
-
-
-@@ -7206,6 +7468,62 @@ test -z "$AR_FLAGS" && AR_FLAGS=cru
-
-
++
++
++
++
++
++
++
++
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
+$as_echo_n "checking for archiver @FILE support... " >&6; }
@@ -8142,7 +13574,7 @@ index 1c872c0db5f..fe938e6c99f 100755
+int
+main ()
+{
-+
+
+ ;
+ return 0;
+}
@@ -8171,25 +13603,20 @@ index 1c872c0db5f..fe938e6c99f 100755
+
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-+
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
+$as_echo "$lt_cv_ar_at_file" >&6; }
-+
+
+if test "x$lt_cv_ar_at_file" = xno; then
+ archiver_list_spec=
+else
+ archiver_list_spec=$lt_cv_ar_at_file
+fi
-+
-+
-+
-+
-+
- if test -n "$ac_tool_prefix"; then
-@@ -7542,8 +7860,8 @@ esac
+
+@@ -7172,8 +7486,8 @@ esac
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
# Transform an extracted symbol line into symbol name and symbol address
@@ -8200,7 +13627,7 @@ index 1c872c0db5f..fe938e6c99f 100755
# Handle CRLF in mingw tool chain
opt_cr=
-@@ -7579,6 +7897,7 @@ for ac_symprfx in "" "_"; do
+@@ -7209,6 +7523,7 @@ for ac_symprfx in "" "_"; do
else
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
fi
@@ -8208,7 +13635,7 @@ index 1c872c0db5f..fe938e6c99f 100755
# Check to see that the pipe works correctly.
pipe_works=no
-@@ -7620,6 +7939,18 @@ _LT_EOF
+@@ -7250,6 +7565,18 @@ _LT_EOF
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
cat <<_LT_EOF > conftest.$ac_ext
@@ -8227,7 +13654,7 @@ index 1c872c0db5f..fe938e6c99f 100755
#ifdef __cplusplus
extern "C" {
#endif
-@@ -7631,7 +7962,7 @@ _LT_EOF
+@@ -7261,7 +7588,7 @@ _LT_EOF
cat <<_LT_EOF >> conftest.$ac_ext
/* The mapping between symbol names and symbols. */
@@ -8236,7 +13663,7 @@ index 1c872c0db5f..fe938e6c99f 100755
const char *name;
void *address;
}
-@@ -7657,8 +7988,8 @@ static const void *lt_preloaded_setup() {
+@@ -7287,8 +7614,8 @@ static const void *lt_preloaded_setup() {
_LT_EOF
# Now try linking the two files.
mv conftest.$ac_objext conftstm.$ac_objext
@@ -8247,7 +13674,7 @@ index 1c872c0db5f..fe938e6c99f 100755
LIBS="conftstm.$ac_objext"
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
-@@ -7668,8 +7999,8 @@ _LT_EOF
+@@ -7298,8 +7625,8 @@ _LT_EOF
test $ac_status = 0; } && test -s conftest${ac_exeext}; then
pipe_works=yes
fi
@@ -8258,7 +13685,7 @@ index 1c872c0db5f..fe938e6c99f 100755
else
echo "cannot find nm_test_func in $nlist" >&5
fi
-@@ -7706,6 +8037,19 @@ else
+@@ -7336,6 +7663,27 @@ else
$as_echo "ok" >&6; }
fi
@@ -8275,28 +13702,32 @@ index 1c872c0db5f..fe938e6c99f 100755
+
+
+
++
++
++
++
++
++
++
++
-@@ -7722,6 +8066,42 @@ fi
+@@ -7348,10 +7696,38 @@ fi
-+
-+
-+
-+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
+$as_echo_n "checking for sysroot... " >&6; }
-+
+
+# Check whether --with-libtool-sysroot was given.
+if test "${with_libtool_sysroot+set}" = set; then :
+ withval=$with_libtool_sysroot;
+else
+ with_libtool_sysroot=no
+fi
-+
-+
+
+
+lt_sysroot=
+case ${with_libtool_sysroot} in #(
+ yes)
@@ -8315,13 +13746,13 @@ index 1c872c0db5f..fe938e6c99f 100755
+ as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
+ ;;
+esac
-+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
+$as_echo "${lt_sysroot:-no}" >&6; }
-@@ -7933,6 +8313,123 @@ esac
+@@ -7563,6 +7939,123 @@ esac
need_locks="$enable_libtool_lock"
@@ -8445,7 +13876,7 @@ index 1c872c0db5f..fe938e6c99f 100755
case $host_os in
rhapsody* | darwin*)
-@@ -8496,6 +8993,8 @@ _LT_EOF
+@@ -8126,6 +8619,8 @@ _LT_EOF
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
echo "$AR cru libconftest.a conftest.o" >&5
$AR cru libconftest.a conftest.o 2>&5
@@ -8454,7 +13885,7 @@ index 1c872c0db5f..fe938e6c99f 100755
cat > conftest.c << _LT_EOF
int main() { return 0;}
_LT_EOF
-@@ -8564,6 +9063,16 @@ done
+@@ -8196,6 +8691,16 @@ done
@@ -8471,26 +13902,7 @@ index 1c872c0db5f..fe938e6c99f 100755
# Set options
-@@ -8692,7 +9201,8 @@ fi
- LIBTOOL_DEPS="$ltmain"
-
- # Always use our own libtool.
--LIBTOOL='$(SHELL) $(top_builddir)/libtool'
-+LIBTOOL='$(SHELL) $(top_builddir)'
-+LIBTOOL="$LIBTOOL/${host_alias}-libtool"
-
-
-
-@@ -8781,7 +9291,7 @@ aix3*)
- esac
-
- # Global variables:
--ofile=libtool
-+ofile=${host_alias}-libtool
- can_build_shared=yes
-
- # All known linkers require a `.a' archive for static linking (except MSVC,
-@@ -9079,8 +9589,6 @@ fi
+@@ -8711,8 +9216,6 @@ fi
lt_prog_compiler_pic=
lt_prog_compiler_static=
@@ -8499,7 +13911,7 @@ index 1c872c0db5f..fe938e6c99f 100755
if test "$GCC" = yes; then
lt_prog_compiler_wl='-Wl,'
-@@ -9246,6 +9754,12 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
+@@ -8878,6 +9381,12 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
lt_prog_compiler_pic='--shared'
lt_prog_compiler_static='--static'
;;
@@ -8512,7 +13924,7 @@ index 1c872c0db5f..fe938e6c99f 100755
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
# Portland Group compilers (*not* the Pentium gcc compiler,
# which looks to be a dead project)
-@@ -9308,7 +9822,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
+@@ -8940,7 +9449,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
lt_prog_compiler_pic='-KPIC'
lt_prog_compiler_static='-Bstatic'
case $cc_basename in
@@ -8521,7 +13933,7 @@ index 1c872c0db5f..fe938e6c99f 100755
lt_prog_compiler_wl='-Qoption ld ';;
*)
lt_prog_compiler_wl='-Wl,';;
-@@ -9365,13 +9879,17 @@ case $host_os in
+@@ -8997,13 +9506,17 @@ case $host_os in
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
;;
esac
@@ -8545,7 +13957,7 @@ index 1c872c0db5f..fe938e6c99f 100755
#
# Check to make sure the PIC flag actually works.
-@@ -9432,6 +9950,11 @@ fi
+@@ -9064,6 +9577,11 @@ fi
@@ -8557,7 +13969,7 @@ index 1c872c0db5f..fe938e6c99f 100755
#
# Check to make sure the static flag actually works.
#
-@@ -9782,7 +10305,8 @@ _LT_EOF
+@@ -9414,7 +9932,8 @@ _LT_EOF
allow_undefined_flag=unsupported
always_export_symbols=no
enable_shared_with_static_runtimes=yes
@@ -8567,7 +13979,7 @@ index 1c872c0db5f..fe938e6c99f 100755
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
-@@ -9881,12 +10405,12 @@ _LT_EOF
+@@ -9513,12 +10032,12 @@ _LT_EOF
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
hardcode_libdir_flag_spec=
hardcode_libdir_flag_spec_ld='-rpath $libdir'
@@ -8582,7 +13994,7 @@ index 1c872c0db5f..fe938e6c99f 100755
fi
;;
esac
-@@ -9900,8 +10424,8 @@ _LT_EOF
+@@ -9532,8 +10051,8 @@ _LT_EOF
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
wlarc=
else
@@ -8593,7 +14005,7 @@ index 1c872c0db5f..fe938e6c99f 100755
fi
;;
-@@ -9919,8 +10443,8 @@ _LT_EOF
+@@ -9551,8 +10070,8 @@ _LT_EOF
_LT_EOF
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -8604,7 +14016,7 @@ index 1c872c0db5f..fe938e6c99f 100755
else
ld_shlibs=no
fi
-@@ -9966,8 +10490,8 @@ _LT_EOF
+@@ -9598,8 +10117,8 @@ _LT_EOF
*)
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -8615,7 +14027,7 @@ index 1c872c0db5f..fe938e6c99f 100755
else
ld_shlibs=no
fi
-@@ -10097,7 +10621,13 @@ _LT_EOF
+@@ -9729,7 +10248,13 @@ _LT_EOF
allow_undefined_flag='-berok'
# Determine the default libpath from the value encoded in an
# empty executable.
@@ -8630,7 +14042,7 @@ index 1c872c0db5f..fe938e6c99f 100755
/* end confdefs.h. */
int
-@@ -10110,22 +10640,29 @@ main ()
+@@ -9742,22 +10267,29 @@ main ()
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
@@ -8673,7 +14085,7 @@ index 1c872c0db5f..fe938e6c99f 100755
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
-@@ -10137,7 +10674,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+@@ -9769,7 +10301,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
else
# Determine the default libpath from the value encoded in an
# empty executable.
@@ -8688,7 +14100,7 @@ index 1c872c0db5f..fe938e6c99f 100755
/* end confdefs.h. */
int
-@@ -10150,22 +10693,29 @@ main ()
+@@ -9782,22 +10320,29 @@ main ()
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
@@ -8731,11 +14143,10 @@ index 1c872c0db5f..fe938e6c99f 100755
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
# Warning - without using the other run time loading flags,
-@@ -10209,21 +10759,64 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
- # When not using gcc, we currently assume that we are using
+@@ -9842,20 +10387,63 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
# Microsoft Visual C++.
# hardcode_libdir_flag_spec is actually meaningless, as there is
-- # no search path for DLLs.
+ # no search path for DLLs.
- hardcode_libdir_flag_spec=' '
- allow_undefined_flag=unsupported
- # Tell ltmain to make .lib files, not .a files.
@@ -8750,7 +14161,6 @@ index 1c872c0db5f..fe938e6c99f 100755
- old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
- fix_srcfile_path='`cygpath -w "$srcfile"`'
- enable_shared_with_static_runtimes=yes
-+ # no search path for DLLs.
+ case $cc_basename in
+ cl*)
+ # Native MSVC
@@ -8811,7 +14221,7 @@ index 1c872c0db5f..fe938e6c99f 100755
;;
darwin* | rhapsody*)
-@@ -10284,7 +10877,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+@@ -9916,7 +10504,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
freebsd* | dragonfly*)
@@ -8820,7 +14230,7 @@ index 1c872c0db5f..fe938e6c99f 100755
hardcode_libdir_flag_spec='-R$libdir'
hardcode_direct=yes
hardcode_shlibpath_var=no
-@@ -10292,7 +10885,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+@@ -9924,7 +10512,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
hpux9*)
if test "$GCC" = yes; then
@@ -8829,7 +14239,7 @@ index 1c872c0db5f..fe938e6c99f 100755
else
archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
fi
-@@ -10308,7 +10901,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+@@ -9940,7 +10528,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
hpux10*)
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
@@ -8838,8 +14248,8 @@ index 1c872c0db5f..fe938e6c99f 100755
else
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
fi
-@@ -10332,10 +10925,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
- archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
+@@ -9964,10 +10552,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+ archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
;;
ia64*)
- archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
@@ -8851,7 +14261,7 @@ index 1c872c0db5f..fe938e6c99f 100755
;;
esac
else
-@@ -10414,23 +11007,36 @@ fi
+@@ -10046,23 +10634,36 @@ fi
irix5* | irix6* | nonstopux*)
if test "$GCC" = yes; then
@@ -8896,7 +14306,7 @@ index 1c872c0db5f..fe938e6c99f 100755
else
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
-@@ -10515,7 +11121,7 @@ rm -f core conftest.err conftest.$ac_objext \
+@@ -10147,7 +10748,7 @@ rm -f core conftest.err conftest.$ac_objext \
osf4* | osf5*) # as osf3* with the addition of -msym flag
if test "$GCC" = yes; then
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
@@ -8905,7 +14315,7 @@ index 1c872c0db5f..fe938e6c99f 100755
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
else
allow_undefined_flag=' -expect_unresolved \*'
-@@ -10534,9 +11140,9 @@ rm -f core conftest.err conftest.$ac_objext \
+@@ -10166,9 +10767,9 @@ rm -f core conftest.err conftest.$ac_objext \
no_undefined_flag=' -z defs'
if test "$GCC" = yes; then
wlarc='${wl}'
@@ -8917,7 +14327,7 @@ index 1c872c0db5f..fe938e6c99f 100755
else
case `$CC -V 2>&1` in
*"Compilers 5.0"*)
-@@ -11112,8 +11718,9 @@ cygwin* | mingw* | pw32* | cegcc*)
+@@ -10744,8 +11345,9 @@ cygwin* | mingw* | pw32* | cegcc*)
need_version=no
need_lib_prefix=no
@@ -8929,7 +14339,7 @@ index 1c872c0db5f..fe938e6c99f 100755
library_names_spec='$libname.dll.a'
# DLL is installed to $(libdir)/../bin by postinstall_cmds
postinstall_cmds='base_file=`basename \${file}`~
-@@ -11146,13 +11753,71 @@ cygwin* | mingw* | pw32* | cegcc*)
+@@ -10778,13 +11380,71 @@ cygwin* | mingw* | pw32* | cegcc*)
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
;;
esac
@@ -9002,25 +14412,16 @@ index 1c872c0db5f..fe938e6c99f 100755
# FIXME: first we should search . and the directory the executable is in
shlibpath_var=PATH
;;
-@@ -11244,7 +11909,7 @@ haiku*)
- soname_spec='${libname}${release}${shared_ext}$major'
- shlibpath_var=LIBRARY_PATH
- shlibpath_overrides_runpath=yes
-- sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
-+ sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
- hardcode_into_libs=yes
- ;;
-
-@@ -12040,7 +12705,7 @@ else
+@@ -11686,7 +12346,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
--#line 12040 "configure"
+-#line 11686 "configure"
+#line $LINENO "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
-@@ -12084,10 +12749,10 @@ else
+@@ -11730,10 +12390,10 @@ else
/* When -fvisbility=hidden is used, assume the code has been annotated
correspondingly for the symbols needed. */
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -9033,16 +14434,16 @@ index 1c872c0db5f..fe938e6c99f 100755
int main ()
{
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
-@@ -12146,7 +12811,7 @@ else
+@@ -11792,7 +12452,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
--#line 12146 "configure"
+-#line 11792 "configure"
+#line $LINENO "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
-@@ -12190,10 +12855,10 @@ else
+@@ -11836,10 +12496,10 @@ else
/* When -fvisbility=hidden is used, assume the code has been annotated
correspondingly for the symbols needed. */
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -9055,7 +14456,7 @@ index 1c872c0db5f..fe938e6c99f 100755
int main ()
{
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
-@@ -12585,6 +13250,7 @@ $RM -r conftest*
+@@ -12231,6 +12891,7 @@ $RM -r conftest*
# Allow CC to be a program name with arguments.
lt_save_CC=$CC
@@ -9063,7 +14464,7 @@ index 1c872c0db5f..fe938e6c99f 100755
lt_save_LD=$LD
lt_save_GCC=$GCC
GCC=$GXX
-@@ -12602,6 +13268,7 @@ $RM -r conftest*
+@@ -12248,6 +12909,7 @@ $RM -r conftest*
fi
test -z "${LDCXX+set}" || LD=$LDCXX
CC=${CXX-"c++"}
@@ -9071,7 +14472,7 @@ index 1c872c0db5f..fe938e6c99f 100755
compiler=$CC
compiler_CXX=$CC
for cc_temp in $compiler""; do
-@@ -12884,7 +13551,13 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
+@@ -12530,7 +13192,13 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
allow_undefined_flag_CXX='-berok'
# Determine the default libpath from the value encoded in an empty
# executable.
@@ -9086,7 +14487,7 @@ index 1c872c0db5f..fe938e6c99f 100755
/* end confdefs.h. */
int
-@@ -12897,22 +13570,29 @@ main ()
+@@ -12543,22 +13211,29 @@ main ()
_ACEOF
if ac_fn_cxx_try_link "$LINENO"; then :
@@ -9129,7 +14530,7 @@ index 1c872c0db5f..fe938e6c99f 100755
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
-@@ -12925,7 +13605,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+@@ -12571,7 +13246,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
else
# Determine the default libpath from the value encoded in an
# empty executable.
@@ -9144,7 +14545,7 @@ index 1c872c0db5f..fe938e6c99f 100755
/* end confdefs.h. */
int
-@@ -12938,22 +13624,29 @@ main ()
+@@ -12584,22 +13265,29 @@ main ()
_ACEOF
if ac_fn_cxx_try_link "$LINENO"; then :
@@ -9187,7 +14588,7 @@ index 1c872c0db5f..fe938e6c99f 100755
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
# Warning - without using the other run time loading flags,
-@@ -12996,29 +13689,75 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+@@ -12642,29 +13330,75 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
;;
cygwin* | mingw* | pw32* | cegcc*)
@@ -9286,7 +14687,7 @@ index 1c872c0db5f..fe938e6c99f 100755
darwin* | rhapsody*)
-@@ -13124,7 +13863,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+@@ -12770,7 +13504,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
;;
*)
if test "$GXX" = yes; then
@@ -9295,8 +14696,8 @@ index 1c872c0db5f..fe938e6c99f 100755
else
# FIXME: insert proper C++ library support
ld_shlibs_CXX=no
-@@ -13195,10 +13934,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
- archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+@@ -12841,10 +13575,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+ archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
;;
ia64*)
- archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
@@ -9308,7 +14709,7 @@ index 1c872c0db5f..fe938e6c99f 100755
;;
esac
fi
-@@ -13239,9 +13978,9 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+@@ -12885,9 +13619,9 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
*)
if test "$GXX" = yes; then
if test "$with_gnu_ld" = no; then
@@ -9320,32 +14721,7 @@ index 1c872c0db5f..fe938e6c99f 100755
fi
fi
link_all_deplibs_CXX=yes
-@@ -13311,20 +14050,20 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
- prelink_cmds_CXX='tpldir=Template.dir~
- rm -rf $tpldir~
- $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
-- compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
-+ compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
- old_archive_cmds_CXX='tpldir=Template.dir~
- rm -rf $tpldir~
- $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
-- $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
-+ $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
- $RANLIB $oldlib'
- archive_cmds_CXX='tpldir=Template.dir~
- rm -rf $tpldir~
- $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
-- $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
-+ $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
- archive_expsym_cmds_CXX='tpldir=Template.dir~
- rm -rf $tpldir~
- $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
-- $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
-+ $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
- ;;
- *) # Version 6 and above use weak symbols
- archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
-@@ -13519,7 +14258,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+@@ -13165,7 +13899,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
;;
*)
@@ -9354,7 +14730,7 @@ index 1c872c0db5f..fe938e6c99f 100755
;;
esac
-@@ -13565,7 +14304,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+@@ -13211,7 +13945,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
solaris*)
case $cc_basename in
@@ -9363,7 +14739,7 @@ index 1c872c0db5f..fe938e6c99f 100755
# Sun C++ 4.2, 5.x and Centerline C++
archive_cmds_need_lc_CXX=yes
no_undefined_flag_CXX=' -zdefs'
-@@ -13606,9 +14345,9 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+@@ -13252,9 +13986,9 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
if $CC --version | $GREP -v '^2\.7' > /dev/null; then
@@ -9375,7 +14751,7 @@ index 1c872c0db5f..fe938e6c99f 100755
# Commands to make compiler produce verbose output that lists
# what "hidden" libraries, object files and flags are used when
-@@ -13743,6 +14482,13 @@ private:
+@@ -13390,6 +14124,13 @@ private:
};
_LT_EOF
@@ -9389,7 +14765,7 @@ index 1c872c0db5f..fe938e6c99f 100755
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
(eval $ac_compile) 2>&5
ac_status=$?
-@@ -13756,7 +14502,7 @@ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+@@ -13403,7 +14144,7 @@ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
pre_test_object_deps_done=no
for p in `eval "$output_verbose_link_cmd"`; do
@@ -9398,7 +14774,7 @@ index 1c872c0db5f..fe938e6c99f 100755
-L* | -R* | -l*)
# Some compilers place space between "-{L,R}" and the path.
-@@ -13765,13 +14511,22 @@ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+@@ -13412,13 +14153,22 @@ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
test $p = "-R"; then
prev=$p
continue
@@ -9425,7 +14801,7 @@ index 1c872c0db5f..fe938e6c99f 100755
# Internal compiler library paths should come after those
# provided the user. The postdeps already come after the
# user supplied libs so there is no need to process them.
-@@ -13791,8 +14546,10 @@ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+@@ -13438,8 +14188,10 @@ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
postdeps_CXX="${postdeps_CXX} ${prev}${p}"
fi
fi
@@ -9436,7 +14812,7 @@ index 1c872c0db5f..fe938e6c99f 100755
*.$objext)
# This assumes that the test object file only shows up
# once in the compiler output.
-@@ -13828,6 +14585,7 @@ else
+@@ -13475,6 +14227,7 @@ else
fi
$RM -f confest.$objext
@@ -9444,7 +14820,7 @@ index 1c872c0db5f..fe938e6c99f 100755
# PORTME: override above test on systems where it is broken
case $host_os in
-@@ -13863,7 +14621,7 @@ linux*)
+@@ -13510,7 +14263,7 @@ linux*)
solaris*)
case $cc_basename in
@@ -9453,7 +14829,7 @@ index 1c872c0db5f..fe938e6c99f 100755
# The more standards-conforming stlport4 library is
# incompatible with the Cstd library. Avoid specifying
# it if it's in CXXFLAGS. Ignore libCrun as
-@@ -13928,8 +14686,6 @@ fi
+@@ -13575,8 +14328,6 @@ fi
lt_prog_compiler_pic_CXX=
lt_prog_compiler_static_CXX=
@@ -9462,7 +14838,7 @@ index 1c872c0db5f..fe938e6c99f 100755
# C++ specific cases for pic, static, wl, etc.
if test "$GXX" = yes; then
-@@ -14034,6 +14790,11 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
+@@ -13681,6 +14432,11 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
;;
esac
;;
@@ -9474,7 +14850,7 @@ index 1c872c0db5f..fe938e6c99f 100755
dgux*)
case $cc_basename in
ec++*)
-@@ -14186,7 +14947,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
+@@ -13833,7 +14589,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
;;
solaris*)
case $cc_basename in
@@ -9483,7 +14859,7 @@ index 1c872c0db5f..fe938e6c99f 100755
# Sun C++ 4.2, 5.x and Centerline C++
lt_prog_compiler_pic_CXX='-KPIC'
lt_prog_compiler_static_CXX='-Bstatic'
-@@ -14251,10 +15012,17 @@ case $host_os in
+@@ -13898,10 +14654,17 @@ case $host_os in
lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
;;
esac
@@ -9504,7 +14880,7 @@ index 1c872c0db5f..fe938e6c99f 100755
#
# Check to make sure the PIC flag actually works.
-@@ -14312,6 +15080,8 @@ fi
+@@ -13959,6 +14722,8 @@ fi
@@ -9513,7 +14889,7 @@ index 1c872c0db5f..fe938e6c99f 100755
#
# Check to make sure the static flag actually works.
#
-@@ -14489,6 +15259,7 @@ fi
+@@ -14136,6 +14901,7 @@ fi
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
@@ -9521,7 +14897,7 @@ index 1c872c0db5f..fe938e6c99f 100755
case $host_os in
aix[4-9]*)
# If we're using GNU nm, then we don't want the "-C" option.
-@@ -14503,15 +15274,20 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
+@@ -14150,15 +14916,20 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
;;
pw32*)
export_symbols_cmds_CXX="$ltdll_cmds"
@@ -9547,7 +14923,7 @@ index 1c872c0db5f..fe938e6c99f 100755
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
$as_echo "$ld_shlibs_CXX" >&6; }
-@@ -14774,8 +15550,9 @@ cygwin* | mingw* | pw32* | cegcc*)
+@@ -14421,8 +15192,9 @@ cygwin* | mingw* | pw32* | cegcc*)
need_version=no
need_lib_prefix=no
@@ -9559,7 +14935,7 @@ index 1c872c0db5f..fe938e6c99f 100755
library_names_spec='$libname.dll.a'
# DLL is installed to $(libdir)/../bin by postinstall_cmds
postinstall_cmds='base_file=`basename \${file}`~
-@@ -14807,13 +15584,71 @@ cygwin* | mingw* | pw32* | cegcc*)
+@@ -14454,13 +15226,71 @@ cygwin* | mingw* | pw32* | cegcc*)
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
;;
esac
@@ -9632,16 +15008,7 @@ index 1c872c0db5f..fe938e6c99f 100755
# FIXME: first we should search . and the directory the executable is in
shlibpath_var=PATH
;;
-@@ -14904,7 +15739,7 @@ haiku*)
- soname_spec='${libname}${release}${shared_ext}$major'
- shlibpath_var=LIBRARY_PATH
- shlibpath_overrides_runpath=yes
-- sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
-+ sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
- hardcode_into_libs=yes
- ;;
-
-@@ -15363,6 +16198,7 @@ fi
+@@ -15024,6 +15854,7 @@ fi
fi # test -n "$compiler"
CC=$lt_save_CC
@@ -9649,7 +15016,7 @@ index 1c872c0db5f..fe938e6c99f 100755
LDCXX=$LD
LD=$lt_save_LD
GCC=$lt_save_GCC
-@@ -18554,13 +19390,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
+@@ -20310,13 +21141,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
@@ -9670,7 +15037,7 @@ index 1c872c0db5f..fe938e6c99f 100755
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
-@@ -18575,14 +19418,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de
+@@ -20331,14 +21169,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
@@ -9689,7 +15056,7 @@ index 1c872c0db5f..fe938e6c99f 100755
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
-@@ -18615,12 +19461,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q
+@@ -20371,12 +21212,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
@@ -9703,7 +15070,7 @@ index 1c872c0db5f..fe938e6c99f 100755
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
-@@ -18659,8 +19505,8 @@ old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote
+@@ -20415,8 +21256,8 @@ old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote
compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
@@ -9713,7 +15080,7 @@ index 1c872c0db5f..fe938e6c99f 100755
lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
-@@ -18687,12 +19533,12 @@ hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_
+@@ -20443,12 +21284,12 @@ hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_
hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
@@ -9727,7 +15094,7 @@ index 1c872c0db5f..fe938e6c99f 100755
file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
-@@ -18730,8 +19576,13 @@ reload_flag \
+@@ -20486,8 +21327,13 @@ reload_flag \
OBJDUMP \
deplibs_check_method \
file_magic_cmd \
@@ -9741,7 +15108,7 @@ index 1c872c0db5f..fe938e6c99f 100755
STRIP \
RANLIB \
CC \
-@@ -18741,12 +19592,14 @@ lt_cv_sys_global_symbol_pipe \
+@@ -20497,12 +21343,14 @@ lt_cv_sys_global_symbol_pipe \
lt_cv_sys_global_symbol_to_cdecl \
lt_cv_sys_global_symbol_to_c_name_address \
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
@@ -9757,7 +15124,7 @@ index 1c872c0db5f..fe938e6c99f 100755
DSYMUTIL \
NMEDIT \
LIPO \
-@@ -18762,7 +19615,6 @@ no_undefined_flag \
+@@ -20518,7 +21366,6 @@ no_undefined_flag \
hardcode_libdir_flag_spec \
hardcode_libdir_flag_spec_ld \
hardcode_libdir_separator \
@@ -9765,7 +15132,7 @@ index 1c872c0db5f..fe938e6c99f 100755
exclude_expsyms \
include_expsyms \
file_list_spec \
-@@ -18784,8 +19636,8 @@ LD_CXX \
+@@ -20540,8 +21387,8 @@ LD_CXX \
reload_flag_CXX \
compiler_CXX \
lt_prog_compiler_no_builtin_flag_CXX \
@@ -9775,7 +15142,7 @@ index 1c872c0db5f..fe938e6c99f 100755
lt_prog_compiler_static_CXX \
lt_cv_prog_compiler_c_o_CXX \
export_dynamic_flag_spec_CXX \
-@@ -18797,7 +19649,6 @@ no_undefined_flag_CXX \
+@@ -20553,7 +21400,6 @@ no_undefined_flag_CXX \
hardcode_libdir_flag_spec_CXX \
hardcode_libdir_flag_spec_ld_CXX \
hardcode_libdir_separator_CXX \
@@ -9783,7 +15150,7 @@ index 1c872c0db5f..fe938e6c99f 100755
exclude_expsyms_CXX \
include_expsyms_CXX \
file_list_spec_CXX \
-@@ -18831,6 +19682,7 @@ module_cmds \
+@@ -20587,6 +21433,7 @@ module_cmds \
module_expsym_cmds \
export_symbols_cmds \
prelink_cmds \
@@ -9791,7 +15158,7 @@ index 1c872c0db5f..fe938e6c99f 100755
postinstall_cmds \
postuninstall_cmds \
finish_cmds \
-@@ -18845,7 +19697,8 @@ archive_expsym_cmds_CXX \
+@@ -20601,7 +21448,8 @@ archive_expsym_cmds_CXX \
module_cmds_CXX \
module_expsym_cmds_CXX \
export_symbols_cmds_CXX \
@@ -9801,7 +15168,7 @@ index 1c872c0db5f..fe938e6c99f 100755
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
*[\\\\\\\`\\"\\\$]*)
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
-@@ -19610,7 +20463,8 @@ $as_echo X"$file" |
+@@ -21374,7 +22222,8 @@ $as_echo X"$file" |
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
#
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
@@ -9811,7 +15178,7 @@ index 1c872c0db5f..fe938e6c99f 100755
# Written by Gordon Matzigkeit, 1996
#
# This file is part of GNU Libtool.
-@@ -19713,19 +20567,42 @@ SP2NL=$lt_lt_SP2NL
+@@ -21477,19 +22326,42 @@ SP2NL=$lt_lt_SP2NL
# turn newlines into spaces.
NL2SP=$lt_lt_NL2SP
@@ -9855,7 +15222,7 @@ index 1c872c0db5f..fe938e6c99f 100755
# A symbol stripping program.
STRIP=$lt_STRIP
-@@ -19755,6 +20632,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
+@@ -21519,6 +22391,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
# Transform the output of nm in a C name address pair when lib prefix is needed.
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
@@ -9868,7 +15235,7 @@ index 1c872c0db5f..fe938e6c99f 100755
# The name of the directory that contains temporary libtool files.
objdir=$objdir
-@@ -19764,6 +20647,9 @@ MAGIC_CMD=$MAGIC_CMD
+@@ -21528,6 +22406,9 @@ MAGIC_CMD=$MAGIC_CMD
# Must we lock files when doing compilation?
need_locks=$lt_need_locks
@@ -9878,7 +15245,7 @@ index 1c872c0db5f..fe938e6c99f 100755
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
DSYMUTIL=$lt_DSYMUTIL
-@@ -19878,12 +20764,12 @@ with_gcc=$GCC
+@@ -21642,12 +22523,12 @@ with_gcc=$GCC
# Compiler flag to turn off builtin functions.
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
@@ -9894,7 +15261,7 @@ index 1c872c0db5f..fe938e6c99f 100755
# Compiler flag to prevent dynamic linking.
link_static_flag=$lt_lt_prog_compiler_static
-@@ -19970,9 +20856,6 @@ inherit_rpath=$inherit_rpath
+@@ -21734,9 +22615,6 @@ inherit_rpath=$inherit_rpath
# Whether libtool must link a program against all its dependency libraries.
link_all_deplibs=$link_all_deplibs
@@ -9904,7 +15271,7 @@ index 1c872c0db5f..fe938e6c99f 100755
# Set to "yes" if exported symbols are required.
always_export_symbols=$always_export_symbols
-@@ -19988,6 +20871,9 @@ include_expsyms=$lt_include_expsyms
+@@ -21752,6 +22630,9 @@ include_expsyms=$lt_include_expsyms
# Commands necessary for linking programs (against libraries) with templates.
prelink_cmds=$lt_prelink_cmds
@@ -9914,7 +15281,7 @@ index 1c872c0db5f..fe938e6c99f 100755
# Specify filename containing input files.
file_list_spec=$lt_file_list_spec
-@@ -20034,210 +20920,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
+@@ -21798,210 +22679,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
# if finds mixed CR/LF and LF-only lines. Since sed operates in
# text mode, it properly converts lines to CR/LF. This bash problem
# is reportedly fixed, but why not run on old versions too?
@@ -10288,7 +15655,7 @@ index 1c872c0db5f..fe938e6c99f 100755
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
chmod +x "$ofile"
-@@ -20265,12 +21110,12 @@ with_gcc=$GCC_CXX
+@@ -22029,12 +22869,12 @@ with_gcc=$GCC_CXX
# Compiler flag to turn off builtin functions.
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
@@ -10304,7 +15671,7 @@ index 1c872c0db5f..fe938e6c99f 100755
# Compiler flag to prevent dynamic linking.
link_static_flag=$lt_lt_prog_compiler_static_CXX
-@@ -20357,9 +21202,6 @@ inherit_rpath=$inherit_rpath_CXX
+@@ -22121,9 +22961,6 @@ inherit_rpath=$inherit_rpath_CXX
# Whether libtool must link a program against all its dependency libraries.
link_all_deplibs=$link_all_deplibs_CXX
@@ -10314,7 +15681,7 @@ index 1c872c0db5f..fe938e6c99f 100755
# Set to "yes" if exported symbols are required.
always_export_symbols=$always_export_symbols_CXX
-@@ -20375,6 +21217,9 @@ include_expsyms=$lt_include_expsyms_CXX
+@@ -22139,6 +22976,9 @@ include_expsyms=$lt_include_expsyms_CXX
# Commands necessary for linking programs (against libraries) with templates.
prelink_cmds=$lt_prelink_cmds_CXX
@@ -10324,37 +15691,596 @@ index 1c872c0db5f..fe938e6c99f 100755
# Specify filename containing input files.
file_list_spec=$lt_file_list_spec_CXX
-diff --git a/libctf/configure b/libctf/configure
-index 1dc1b65fac3..c5c2f36bbc0 100755
---- a/libctf/configure
-+++ b/libctf/configure
-@@ -663,6 +663,8 @@ OTOOL
+diff --git a/libbacktrace/Makefile.in b/libbacktrace/Makefile.in
+index 0a61880ba67..500756cd023 100644
+--- a/libbacktrace/Makefile.in
++++ b/libbacktrace/Makefile.in
+@@ -1,7 +1,7 @@
+-# Makefile.in generated by automake 1.15.1 from Makefile.am.
++# Makefile.in generated by automake 1.16.5 from Makefile.am.
+ # @configure_input@
+
+-# Copyright (C) 1994-2017 Free Software Foundation, Inc.
++# Copyright (C) 1994-2021 Free Software Foundation, Inc.
+
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -189,6 +189,35 @@ CONFIG_HEADER = config.h
+ CONFIG_CLEAN_FILES = backtrace-supported.h \
+ install-debuginfo-for-buildid.sh
+ CONFIG_CLEAN_VPATH_FILES =
++@NATIVE_TRUE@am__EXEEXT_1 = allocfail$(EXEEXT)
++@HAVE_ELF_TRUE@@HAVE_OBJCOPY_DEBUGLINK_TRUE@@NATIVE_TRUE@am__EXEEXT_2 = b2test$(EXEEXT)
++@HAVE_DWZ_TRUE@@HAVE_ELF_TRUE@@HAVE_OBJCOPY_DEBUGLINK_TRUE@@NATIVE_TRUE@am__EXEEXT_3 = b3test$(EXEEXT)
++@NATIVE_TRUE@am__EXEEXT_4 = test_elf_32$(EXEEXT) test_elf_64$(EXEEXT) \
++@NATIVE_TRUE@ test_macho$(EXEEXT) test_xcoff_32$(EXEEXT) \
++@NATIVE_TRUE@ test_xcoff_64$(EXEEXT) test_pecoff$(EXEEXT) \
++@NATIVE_TRUE@ test_unknown$(EXEEXT) unittest$(EXEEXT) \
++@NATIVE_TRUE@ unittest_alloc$(EXEEXT) btest$(EXEEXT)
++@HAVE_ELF_TRUE@@NATIVE_TRUE@am__EXEEXT_5 = btest_lto$(EXEEXT)
++@NATIVE_TRUE@am__EXEEXT_6 = btest_alloc$(EXEEXT) stest$(EXEEXT) \
++@NATIVE_TRUE@ stest_alloc$(EXEEXT)
++@HAVE_ELF_TRUE@@NATIVE_TRUE@am__EXEEXT_7 = ztest$(EXEEXT) \
++@HAVE_ELF_TRUE@@NATIVE_TRUE@ ztest_alloc$(EXEEXT)
++@NATIVE_TRUE@am__EXEEXT_8 = edtest$(EXEEXT) edtest_alloc$(EXEEXT)
++@HAVE_PTHREAD_TRUE@@NATIVE_TRUE@am__EXEEXT_9 = ttest$(EXEEXT) \
++@HAVE_PTHREAD_TRUE@@NATIVE_TRUE@ ttest_alloc$(EXEEXT)
++@HAVE_COMPRESSED_DEBUG_TRUE@@NATIVE_TRUE@am__EXEEXT_10 = \
++@HAVE_COMPRESSED_DEBUG_TRUE@@NATIVE_TRUE@ ctestg$(EXEEXT) \
++@HAVE_COMPRESSED_DEBUG_TRUE@@NATIVE_TRUE@ ctesta$(EXEEXT) \
++@HAVE_COMPRESSED_DEBUG_TRUE@@NATIVE_TRUE@ ctestg_alloc$(EXEEXT) \
++@HAVE_COMPRESSED_DEBUG_TRUE@@NATIVE_TRUE@ ctesta_alloc$(EXEEXT)
++@HAVE_DWARF5_TRUE@@NATIVE_TRUE@am__EXEEXT_11 = dwarf5$(EXEEXT) \
++@HAVE_DWARF5_TRUE@@NATIVE_TRUE@ dwarf5_alloc$(EXEEXT)
++@NATIVE_TRUE@am__EXEEXT_12 = mtest$(EXEEXT)
++@HAVE_ELF_TRUE@am__EXEEXT_13 = xztest$(EXEEXT) xztest_alloc$(EXEEXT)
++am__EXEEXT_14 = $(am__EXEEXT_4) $(am__EXEEXT_5) $(am__EXEEXT_6) \
++ $(am__EXEEXT_7) $(am__EXEEXT_8) $(am__EXEEXT_9) \
++ $(am__EXEEXT_10) $(am__EXEEXT_11) $(am__EXEEXT_12) \
++ $(am__EXEEXT_13)
+ LTLIBRARIES = $(noinst_LTLIBRARIES)
+ am__DEPENDENCIES_1 =
+ am_libbacktrace_la_OBJECTS = atomic.lo dwarf.lo fileline.lo posix.lo \
+@@ -220,35 +249,6 @@ libbacktrace_instrumented_alloc_la_OBJECTS = \
+ libbacktrace_noformat_la_OBJECTS = \
+ $(am_libbacktrace_noformat_la_OBJECTS)
+ @NATIVE_TRUE@am_libbacktrace_noformat_la_rpath =
+-@NATIVE_TRUE@am__EXEEXT_1 = allocfail$(EXEEXT)
+-@HAVE_ELF_TRUE@@HAVE_OBJCOPY_DEBUGLINK_TRUE@@NATIVE_TRUE@am__EXEEXT_2 = b2test$(EXEEXT)
+-@HAVE_DWZ_TRUE@@HAVE_ELF_TRUE@@HAVE_OBJCOPY_DEBUGLINK_TRUE@@NATIVE_TRUE@am__EXEEXT_3 = b3test$(EXEEXT)
+-@NATIVE_TRUE@am__EXEEXT_4 = test_elf_32$(EXEEXT) test_elf_64$(EXEEXT) \
+-@NATIVE_TRUE@ test_macho$(EXEEXT) test_xcoff_32$(EXEEXT) \
+-@NATIVE_TRUE@ test_xcoff_64$(EXEEXT) test_pecoff$(EXEEXT) \
+-@NATIVE_TRUE@ test_unknown$(EXEEXT) unittest$(EXEEXT) \
+-@NATIVE_TRUE@ unittest_alloc$(EXEEXT) btest$(EXEEXT)
+-@HAVE_ELF_TRUE@@NATIVE_TRUE@am__EXEEXT_5 = btest_lto$(EXEEXT)
+-@NATIVE_TRUE@am__EXEEXT_6 = btest_alloc$(EXEEXT) stest$(EXEEXT) \
+-@NATIVE_TRUE@ stest_alloc$(EXEEXT)
+-@HAVE_ELF_TRUE@@NATIVE_TRUE@am__EXEEXT_7 = ztest$(EXEEXT) \
+-@HAVE_ELF_TRUE@@NATIVE_TRUE@ ztest_alloc$(EXEEXT)
+-@NATIVE_TRUE@am__EXEEXT_8 = edtest$(EXEEXT) edtest_alloc$(EXEEXT)
+-@HAVE_PTHREAD_TRUE@@NATIVE_TRUE@am__EXEEXT_9 = ttest$(EXEEXT) \
+-@HAVE_PTHREAD_TRUE@@NATIVE_TRUE@ ttest_alloc$(EXEEXT)
+-@HAVE_COMPRESSED_DEBUG_TRUE@@NATIVE_TRUE@am__EXEEXT_10 = \
+-@HAVE_COMPRESSED_DEBUG_TRUE@@NATIVE_TRUE@ ctestg$(EXEEXT) \
+-@HAVE_COMPRESSED_DEBUG_TRUE@@NATIVE_TRUE@ ctesta$(EXEEXT) \
+-@HAVE_COMPRESSED_DEBUG_TRUE@@NATIVE_TRUE@ ctestg_alloc$(EXEEXT) \
+-@HAVE_COMPRESSED_DEBUG_TRUE@@NATIVE_TRUE@ ctesta_alloc$(EXEEXT)
+-@HAVE_DWARF5_TRUE@@NATIVE_TRUE@am__EXEEXT_11 = dwarf5$(EXEEXT) \
+-@HAVE_DWARF5_TRUE@@NATIVE_TRUE@ dwarf5_alloc$(EXEEXT)
+-@NATIVE_TRUE@am__EXEEXT_12 = mtest$(EXEEXT)
+-@HAVE_ELF_TRUE@am__EXEEXT_13 = xztest$(EXEEXT) xztest_alloc$(EXEEXT)
+-am__EXEEXT_14 = $(am__EXEEXT_4) $(am__EXEEXT_5) $(am__EXEEXT_6) \
+- $(am__EXEEXT_7) $(am__EXEEXT_8) $(am__EXEEXT_9) \
+- $(am__EXEEXT_10) $(am__EXEEXT_11) $(am__EXEEXT_12) \
+- $(am__EXEEXT_13)
+ @NATIVE_TRUE@am_allocfail_OBJECTS = allocfail-allocfail.$(OBJEXT) \
+ @NATIVE_TRUE@ allocfail-testlib.$(OBJEXT)
+ allocfail_OBJECTS = $(am_allocfail_OBJECTS)
+@@ -536,7 +536,7 @@ am__v_at_0 = @
+ am__v_at_1 =
+ DEFAULT_INCLUDES = -I.@am__isrc@
+ depcomp =
+-am__depfiles_maybe =
++am__maybe_remake_depfiles =
+ COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
+@@ -579,8 +579,8 @@ am__can_run_installinfo = \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+-am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
+- $(LISP)config.h.in
++am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) \
++ config.h.in
+ # Read a list of newline-separated strings from the standard input,
+ # and print each of them once, without duplicates. Input order is
+ # *not* preserved.
+@@ -597,9 +597,6 @@ am__define_uniq_tagged_files = \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | $(am__uniquify_input)`
+-ETAGS = etags
+-CTAGS = ctags
+-CSCOPE = cscope
+ AM_RECURSIVE_TARGETS = cscope check recheck
+ am__tty_colors_dummy = \
+ mgn= red= grn= lgn= blu= brg= std=; \
+@@ -783,6 +780,7 @@ am__set_TESTS_bases = \
+ bases='$(TEST_LOGS)'; \
+ bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
+ bases=`echo $$bases`
++AM_TESTSUITE_SUMMARY_HEADER = ' for $(PACKAGE_STRING)'
+ RECHECK_LOGS = $(TEST_LOGS)
+ TEST_SUITE_LOG = test-suite.log
+ TEST_EXTENSIONS = @EXEEXT@ .test
+@@ -825,8 +823,11 @@ CLOCK_GETTIME_LINK = @CLOCK_GETTIME_LINK@
+ COMM = @COMM@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CSCOPE = @CSCOPE@
++CTAGS = @CTAGS@
+ CYGPATH_W = @CYGPATH_W@
+ DEFS = @DEFS@
++DLLTOOL = @DLLTOOL@
+ DSYMUTIL = @DSYMUTIL@
+ DUMPBIN = @DUMPBIN@
+ DWZ = @DWZ@
+@@ -834,6 +835,7 @@ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+ ECHO_T = @ECHO_T@
+ EGREP = @EGREP@
++ETAGS = @ETAGS@
+ EXEEXT = @EXEEXT@
+ EXTRA_FLAGS = @EXTRA_FLAGS@
+ FGREP = @FGREP@
+@@ -854,6 +856,7 @@ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAINT = @MAINT@
+ MAKEINFO = @MAKEINFO@
++MANIFEST_TOOL = @MANIFEST_TOOL@
+ MKDIR_P = @MKDIR_P@
+ NM = @NM@
+ NMEDIT = @NMEDIT@
+@@ -886,6 +889,7 @@ abs_builddir = @abs_builddir@
+ abs_srcdir = @abs_srcdir@
+ abs_top_builddir = @abs_top_builddir@
+ abs_top_srcdir = @abs_top_srcdir@
++ac_ct_AR = @ac_ct_AR@
+ ac_ct_CC = @ac_ct_CC@
+ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
+ am__leading_dot = @am__leading_dot@
+@@ -1178,8 +1182,8 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ echo ' $(SHELL) ./config.status'; \
+ $(SHELL) ./config.status;; \
+ *) \
+- echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
+- cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
++ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \
++ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \
+ esac;
+ $(top_srcdir)/../multilib.am $(am__empty):
+
+@@ -1211,6 +1215,15 @@ backtrace-supported.h: $(top_builddir)/config.status $(srcdir)/backtrace-support
+ install-debuginfo-for-buildid.sh: $(top_builddir)/config.status $(srcdir)/install-debuginfo-for-buildid.sh.in
+ cd $(top_builddir) && $(SHELL) ./config.status $@
+
++clean-checkPROGRAMS:
++ @list='$(check_PROGRAMS)'; test -n "$$list" || exit 0; \
++ echo " rm -f" $$list; \
++ rm -f $$list || exit $$?; \
++ test -n "$(EXEEXT)" || exit 0; \
++ list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
++ echo " rm -f" $$list; \
++ rm -f $$list
++
+ clean-checkLTLIBRARIES:
+ -test -z "$(check_LTLIBRARIES)" || rm -f $(check_LTLIBRARIES)
+ @list='$(check_LTLIBRARIES)'; \
+@@ -1248,15 +1261,6 @@ libbacktrace_instrumented_alloc.la: $(libbacktrace_instrumented_alloc_la_OBJECTS
+ libbacktrace_noformat.la: $(libbacktrace_noformat_la_OBJECTS) $(libbacktrace_noformat_la_DEPENDENCIES) $(EXTRA_libbacktrace_noformat_la_DEPENDENCIES)
+ $(AM_V_CCLD)$(LINK) $(am_libbacktrace_noformat_la_rpath) $(libbacktrace_noformat_la_OBJECTS) $(libbacktrace_noformat_la_LIBADD) $(LIBS)
+
+-clean-checkPROGRAMS:
+- @list='$(check_PROGRAMS)'; test -n "$$list" || exit 0; \
+- echo " rm -f" $$list; \
+- rm -f $$list || exit $$?; \
+- test -n "$(EXEEXT)" || exit 0; \
+- list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
+- echo " rm -f" $$list; \
+- rm -f $$list
+-
+ allocfail$(EXEEXT): $(allocfail_OBJECTS) $(allocfail_DEPENDENCIES) $(EXTRA_allocfail_DEPENDENCIES)
+ @rm -f allocfail$(EXEEXT)
+ $(AM_V_CCLD)$(allocfail_LINK) $(allocfail_OBJECTS) $(allocfail_LDADD) $(LIBS)
+@@ -1959,7 +1963,7 @@ $(TEST_SUITE_LOG): $(TEST_LOGS)
+ test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \
+ fi; \
+ echo "$${col}$$br$${std}"; \
+- echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \
++ echo "$${col}Testsuite summary"$(AM_TESTSUITE_SUMMARY_HEADER)"$${std}"; \
+ echo "$${col}$$br$${std}"; \
+ create_testsuite_report --maybe-color; \
+ echo "$$col$$br$$std"; \
+@@ -1972,7 +1976,7 @@ $(TEST_SUITE_LOG): $(TEST_LOGS)
+ fi; \
+ $$success || exit 1
+
+-check-TESTS:
++check-TESTS: $(check_PROGRAMS) $(check_LTLIBRARIES) $(check_DATA)
+ @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list
+ @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
+ @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
+@@ -1982,7 +1986,7 @@ check-TESTS:
+ log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \
+ $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
+ exit $$?;
+-recheck: all $(check_LTLIBRARIES) $(check_PROGRAMS) $(check_DATA)
++recheck: all $(check_PROGRAMS) $(check_LTLIBRARIES) $(check_DATA)
+ @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
+ @set +e; $(am__set_TESTS_bases); \
+ bases=`for i in $$bases; do echo $$i; done \
+@@ -2260,7 +2264,7 @@ xztest_alloc.log: xztest_alloc$(EXEEXT)
+ @am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
+ @am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT)
+ check-am: all-am
+- $(MAKE) $(AM_MAKEFLAGS) $(check_LTLIBRARIES) $(check_PROGRAMS) \
++ $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) $(check_LTLIBRARIES) \
+ $(check_DATA)
+ $(MAKE) $(AM_MAKEFLAGS) check-TESTS
+ check: check-am
+diff --git a/libbacktrace/aclocal.m4 b/libbacktrace/aclocal.m4
+index 528e6173930..d88a5ec84f2 100644
+--- a/libbacktrace/aclocal.m4
++++ b/libbacktrace/aclocal.m4
+@@ -1,6 +1,6 @@
+-# generated automatically by aclocal 1.15.1 -*- Autoconf -*-
++# generated automatically by aclocal 1.16.5 -*- Autoconf -*-
+
+-# Copyright (C) 1996-2017 Free Software Foundation, Inc.
++# Copyright (C) 1996-2021 Free Software Foundation, Inc.
+
+ # This file is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -20,7 +20,7 @@ You have another version of autoconf. It may work, but is not guaranteed to.
+ If you have problems, you may need to regenerate the build system entirely.
+ To do so, use the procedure documented by the package, typically 'autoreconf'.])])
+
+-# Copyright (C) 2002-2017 Free Software Foundation, Inc.
++# Copyright (C) 2002-2021 Free Software Foundation, Inc.
+ #
+ # This file is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -32,10 +32,10 @@ To do so, use the procedure documented by the package, typically 'autoreconf'.])
+ # generated from the m4 files accompanying Automake X.Y.
+ # (This private macro should not be called outside this file.)
+ AC_DEFUN([AM_AUTOMAKE_VERSION],
+-[am__api_version='1.15'
++[am__api_version='1.16'
+ dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
+ dnl require some minimum version. Point them to the right macro.
+-m4_if([$1], [1.15.1], [],
++m4_if([$1], [1.16.5], [],
+ [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
+ ])
+
+@@ -51,14 +51,14 @@ m4_define([_AM_AUTOCONF_VERSION], [])
+ # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
+ # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
+ AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
+-[AM_AUTOMAKE_VERSION([1.15.1])dnl
++[AM_AUTOMAKE_VERSION([1.16.5])dnl
+ m4_ifndef([AC_AUTOCONF_VERSION],
+ [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
+ _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
+
+ # AM_AUX_DIR_EXPAND -*- Autoconf -*-
+
+-# Copyright (C) 2001-2017 Free Software Foundation, Inc.
++# Copyright (C) 2001-2021 Free Software Foundation, Inc.
+ #
+ # This file is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -110,7 +110,7 @@ am_aux_dir=`cd "$ac_aux_dir" && pwd`
+
+ # AM_CONDITIONAL -*- Autoconf -*-
+
+-# Copyright (C) 1997-2017 Free Software Foundation, Inc.
++# Copyright (C) 1997-2021 Free Software Foundation, Inc.
+ #
+ # This file is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -143,7 +143,7 @@ fi])])
+
+ # Do all the work for Automake. -*- Autoconf -*-
+
+-# Copyright (C) 1996-2017 Free Software Foundation, Inc.
++# Copyright (C) 1996-2021 Free Software Foundation, Inc.
+ #
+ # This file is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -171,6 +171,10 @@ m4_defn([AC_PROG_CC])
+ # release and drop the old call support.
+ AC_DEFUN([AM_INIT_AUTOMAKE],
+ [AC_PREREQ([2.65])dnl
++m4_ifdef([_$0_ALREADY_INIT],
++ [m4_fatal([$0 expanded multiple times
++]m4_defn([_$0_ALREADY_INIT]))],
++ [m4_define([_$0_ALREADY_INIT], m4_expansion_stack)])dnl
+ dnl Autoconf wants to disallow AM_ names. We explicitly allow
+ dnl the ones we care about.
+ m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
+@@ -207,7 +211,7 @@ m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
+ [_AM_SET_OPTIONS([$1])dnl
+ dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
+ m4_if(
+- m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
++ m4_ifset([AC_PACKAGE_NAME], [ok]):m4_ifset([AC_PACKAGE_VERSION], [ok]),
+ [ok:ok],,
+ [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
+ AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
+@@ -230,8 +234,8 @@ AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
+ AC_REQUIRE([AC_PROG_MKDIR_P])dnl
+ # For better backward compatibility. To be removed once Automake 1.9.x
+ # dies out for good. For more background, see:
+-# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
+-# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
++# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
++# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
+ AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
+ # We need awk for the "check" target (and possibly the TAP driver). The
+ # system "awk" is bad on some platforms.
+@@ -259,6 +263,20 @@ AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
+ [m4_define([AC_PROG_OBJCXX],
+ m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
+ ])
++# Variables for tags utilities; see am/tags.am
++if test -z "$CTAGS"; then
++ CTAGS=ctags
++fi
++AC_SUBST([CTAGS])
++if test -z "$ETAGS"; then
++ ETAGS=etags
++fi
++AC_SUBST([ETAGS])
++if test -z "$CSCOPE"; then
++ CSCOPE=cscope
++fi
++AC_SUBST([CSCOPE])
++
+ AC_REQUIRE([AM_SILENT_RULES])dnl
+ dnl The testsuite driver may need to know about EXEEXT, so add the
+ dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
+@@ -298,7 +316,7 @@ END
+ Aborting the configuration process, to ensure you take notice of the issue.
+
+ You can download and install GNU coreutils to get an 'rm' implementation
+-that behaves properly: <http://www.gnu.org/software/coreutils/>.
++that behaves properly: <https://www.gnu.org/software/coreutils/>.
+
+ If you want to complete the configuration process using your problematic
+ 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
+@@ -340,7 +358,7 @@ for _am_header in $config_headers :; do
+ done
+ echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
+
+-# Copyright (C) 2001-2017 Free Software Foundation, Inc.
++# Copyright (C) 2001-2021 Free Software Foundation, Inc.
+ #
+ # This file is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -364,7 +382,7 @@ AC_SUBST([install_sh])])
+ # Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
+ # From Jim Meyering
+
+-# Copyright (C) 1996-2017 Free Software Foundation, Inc.
++# Copyright (C) 1996-2021 Free Software Foundation, Inc.
+ #
+ # This file is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -399,7 +417,7 @@ AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
+
+ # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
+
+-# Copyright (C) 1997-2017 Free Software Foundation, Inc.
++# Copyright (C) 1997-2021 Free Software Foundation, Inc.
+ #
+ # This file is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -420,12 +438,7 @@ AC_DEFUN([AM_MISSING_HAS_RUN],
+ [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
+ AC_REQUIRE_AUX_FILE([missing])dnl
+ if test x"${MISSING+set}" != xset; then
+- case $am_aux_dir in
+- *\ * | *\ *)
+- MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
+- *)
+- MISSING="\${SHELL} $am_aux_dir/missing" ;;
+- esac
++ MISSING="\${SHELL} '$am_aux_dir/missing'"
+ fi
+ # Use eval to expand $SHELL
+ if eval "$MISSING --is-lightweight"; then
+@@ -438,7 +451,7 @@ fi
+
+ # Helper functions for option handling. -*- Autoconf -*-
+
+-# Copyright (C) 2001-2017 Free Software Foundation, Inc.
++# Copyright (C) 2001-2021 Free Software Foundation, Inc.
+ #
+ # This file is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -467,7 +480,7 @@ AC_DEFUN([_AM_SET_OPTIONS],
+ AC_DEFUN([_AM_IF_OPTION],
+ [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
+
+-# Copyright (C) 1999-2017 Free Software Foundation, Inc.
++# Copyright (C) 1999-2021 Free Software Foundation, Inc.
+ #
+ # This file is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -514,7 +527,7 @@ AC_LANG_POP([C])])
+ # For backward compatibility.
+ AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
+
+-# Copyright (C) 2001-2017 Free Software Foundation, Inc.
++# Copyright (C) 2001-2021 Free Software Foundation, Inc.
+ #
+ # This file is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -533,7 +546,7 @@ AC_DEFUN([AM_RUN_LOG],
+
+ # Check to make sure that the build environment is sane. -*- Autoconf -*-
+
+-# Copyright (C) 1996-2017 Free Software Foundation, Inc.
++# Copyright (C) 1996-2021 Free Software Foundation, Inc.
+ #
+ # This file is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -614,7 +627,7 @@ AC_CONFIG_COMMANDS_PRE(
+ rm -f conftest.file
+ ])
+
+-# Copyright (C) 2009-2017 Free Software Foundation, Inc.
++# Copyright (C) 2009-2021 Free Software Foundation, Inc.
+ #
+ # This file is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -674,7 +687,7 @@ AC_SUBST([AM_BACKSLASH])dnl
+ _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
+ ])
+
+-# Copyright (C) 2001-2017 Free Software Foundation, Inc.
++# Copyright (C) 2001-2021 Free Software Foundation, Inc.
+ #
+ # This file is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -702,7 +715,7 @@ fi
+ INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
+ AC_SUBST([INSTALL_STRIP_PROGRAM])])
+
+-# Copyright (C) 2006-2017 Free Software Foundation, Inc.
++# Copyright (C) 2006-2021 Free Software Foundation, Inc.
+ #
+ # This file is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -721,7 +734,7 @@ AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
+
+ # Check how to create a tarball. -*- Autoconf -*-
+
+-# Copyright (C) 2004-2017 Free Software Foundation, Inc.
++# Copyright (C) 2004-2021 Free Software Foundation, Inc.
+ #
+ # This file is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+diff --git a/libbacktrace/configure b/libbacktrace/configure
+index e5ca8ad9379..b7c4c4be78d 100755
+--- a/libbacktrace/configure
++++ b/libbacktrace/configure
+@@ -680,7 +680,10 @@ OTOOL
LIPO
NMEDIT
DSYMUTIL
+MANIFEST_TOOL
++ac_ct_AR
+ AR
+DLLTOOL
OBJDUMP
LN_S
NM
-@@ -790,6 +792,7 @@ enable_static
+@@ -701,6 +704,9 @@ AM_BACKSLASH
+ AM_DEFAULT_VERBOSITY
+ AM_DEFAULT_V
+ AM_V
++CSCOPE
++ETAGS
++CTAGS
+ am__untar
+ am__tar
+ AMTAR
+@@ -798,6 +804,7 @@ enable_static
with_pic
enable_fast_install
with_gnu_ld
+with_libtool_sysroot
enable_libtool_lock
enable_largefile
- enable_werror_always
-@@ -1448,6 +1451,8 @@ Optional Packages:
+ enable_cet
+@@ -1458,6 +1465,8 @@ Optional Packages:
--with-pic try to use only PIC/non-PIC objects [default=use
both]
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
+ --with-libtool-sysroot=DIR Search for dependent libraries within DIR
+ (or the compiler's sysroot if not specified).
- --with-system-zlib use installed libz
+ --with-system-libunwind use installed libunwind
Some influential environment variables:
-@@ -5406,8 +5411,8 @@ esac
+@@ -4047,7 +4056,7 @@ libtool_VERSION=1:0:0
+ # -Wall: Issue all automake warnings.
+ # -Wno-portability: Don't warn about constructs supported by GNU make.
+ # (because GCC requires GNU make anyhow).
+-am__api_version='1.15'
++am__api_version='1.16'
+
+ # Find a good install program. We prefer a C program (faster),
+ # so one script is as good as another. But avoid the broken or
+@@ -4220,12 +4229,7 @@ ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
+ program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
+
+ if test x"${MISSING+set}" != xset; then
+- case $am_aux_dir in
+- *\ * | *\ *)
+- MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
+- *)
+- MISSING="\${SHELL} $am_aux_dir/missing" ;;
+- esac
++ MISSING="\${SHELL} '$am_aux_dir/missing'"
+ fi
+ # Use eval to expand $SHELL
+ if eval "$MISSING --is-lightweight"; then
+@@ -4551,8 +4555,8 @@ MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
+
+ # For better backward compatibility. To be removed once Automake 1.9.x
+ # dies out for good. For more background, see:
+-# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
+-# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
++# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
++# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
+ mkdir_p='$(MKDIR_P)'
+
+ # We need awk for the "check" target (and possibly the TAP driver). The
+@@ -4571,6 +4575,20 @@ am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
+
+
+
++# Variables for tags utilities; see am/tags.am
++if test -z "$CTAGS"; then
++ CTAGS=ctags
++fi
++
++if test -z "$ETAGS"; then
++ ETAGS=etags
++fi
++
++if test -z "$CSCOPE"; then
++ CSCOPE=cscope
++fi
++
++
+
+ # POSIX will say in a future version that running "rm -f" with no argument
+ # is OK; and we want to be able to make that assumption in our Makefile
+@@ -4603,7 +4621,7 @@ END
+ Aborting the configuration process, to ensure you take notice of the issue.
+
+ You can download and install GNU coreutils to get an 'rm' implementation
+-that behaves properly: <http://www.gnu.org/software/coreutils/>.
++that behaves properly: <https://www.gnu.org/software/coreutils/>.
+
+ If you want to complete the configuration process using your problematic
+ 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
+@@ -5446,8 +5464,8 @@ esac
@@ -10365,7 +16291,7 @@ index 1dc1b65fac3..c5c2f36bbc0 100755
-@@ -5518,7 +5523,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
+@@ -5487,7 +5505,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
$as_echo_n "checking how to print strings... " >&6; }
# Test print first, because it will be a builtin if present.
@@ -10374,7 +16300,7 @@ index 1dc1b65fac3..c5c2f36bbc0 100755
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
ECHO='print -r --'
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
-@@ -6204,8 +6209,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6;
+@@ -6180,8 +6198,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6;
# Try some XSI features
xsi_shell=no
( _lt_dummy="a/b/c"
@@ -10385,7 +16311,7 @@ index 1dc1b65fac3..c5c2f36bbc0 100755
&& eval 'test $(( 1 + 1 )) -eq 2 \
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
&& xsi_shell=yes
-@@ -6254,6 +6259,80 @@ esac
+@@ -6230,6 +6248,80 @@ esac
@@ -10466,7 +16392,7 @@ index 1dc1b65fac3..c5c2f36bbc0 100755
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
$as_echo_n "checking for $LD option to reload object files... " >&6; }
if ${lt_cv_ld_reload_flag+:} false; then :
-@@ -6270,6 +6349,11 @@ case $reload_flag in
+@@ -6246,6 +6338,11 @@ case $reload_flag in
esac
reload_cmds='$LD$reload_flag -o $output$reload_objs'
case $host_os in
@@ -10478,7 +16404,7 @@ index 1dc1b65fac3..c5c2f36bbc0 100755
darwin*)
if test "$GCC" = yes; then
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
-@@ -6438,7 +6522,8 @@ mingw* | pw32*)
+@@ -6414,7 +6511,8 @@ mingw* | pw32*)
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
lt_cv_file_magic_cmd='func_win32_libid'
else
@@ -10488,7 +16414,7 @@ index 1dc1b65fac3..c5c2f36bbc0 100755
lt_cv_file_magic_cmd='$OBJDUMP -f'
fi
;;
-@@ -6592,6 +6677,21 @@ esac
+@@ -6573,6 +6671,21 @@ esac
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
$as_echo "$lt_cv_deplibs_check_method" >&6; }
@@ -10510,7 +16436,7 @@ index 1dc1b65fac3..c5c2f36bbc0 100755
file_magic_cmd=$lt_cv_file_magic_cmd
deplibs_check_method=$lt_cv_deplibs_check_method
test -z "$deplibs_check_method" && deplibs_check_method=unknown
-@@ -6607,9 +6707,162 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown
+@@ -6588,6 +6701,157 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown
@@ -10665,6 +16591,12 @@ index 1dc1b65fac3..c5c2f36bbc0 100755
+
+
+
+ plugin_option=
+ plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
+ for plugin in $plugin_names; do
+@@ -6602,8 +6866,10 @@ for plugin in $plugin_names; do
+ done
+
if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
-set dummy ${ac_tool_prefix}ar; ac_word=$2
@@ -10675,7 +16607,7 @@ index 1dc1b65fac3..c5c2f36bbc0 100755
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_prog_AR+:} false; then :
-@@ -6625,7 +6878,7 @@ do
+@@ -6619,7 +6885,7 @@ do
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
@@ -10684,7 +16616,7 @@ index 1dc1b65fac3..c5c2f36bbc0 100755
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
-@@ -6645,11 +6898,15 @@ $as_echo "no" >&6; }
+@@ -6639,11 +6905,15 @@ $as_echo "no" >&6; }
fi
@@ -10703,7 +16635,7 @@ index 1dc1b65fac3..c5c2f36bbc0 100755
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_prog_ac_ct_AR+:} false; then :
-@@ -6665,7 +6922,7 @@ do
+@@ -6659,7 +6929,7 @@ do
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
@@ -10712,7 +16644,7 @@ index 1dc1b65fac3..c5c2f36bbc0 100755
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
-@@ -6684,6 +6941,10 @@ else
+@@ -6678,6 +6948,10 @@ else
$as_echo "no" >&6; }
fi
@@ -10723,7 +16655,7 @@ index 1dc1b65fac3..c5c2f36bbc0 100755
if test "x$ac_ct_AR" = x; then
AR="false"
else
-@@ -6695,16 +6956,72 @@ ac_tool_warned=yes ;;
+@@ -6689,31 +6963,83 @@ ac_tool_warned=yes ;;
esac
AR=$ac_ct_AR
fi
@@ -10732,7 +16664,27 @@ index 1dc1b65fac3..c5c2f36bbc0 100755
fi
-test -z "$AR" && AR=ar
+-if test -n "$plugin_option"; then
+- if $AR --help 2>&1 | grep -q "\--plugin"; then
+- touch conftest.c
+- $AR $plugin_option rc conftest.a conftest.c
+- if test "$?" != 0; then
+- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
++ touch conftest.c
++ $AR $plugin_option rc conftest.a conftest.c
++ if test "$?" != 0; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
+ $as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
+- else
+- AR="$AR $plugin_option"
+- fi
+- rm -f conftest.*
++ else
++ AR="$AR $plugin_option"
+ fi
+-fi
-test -z "$AR_FLAGS" && AR_FLAGS=cru
++ rm -f conftest.*
+: ${AR=ar}
+: ${AR_FLAGS=cru}
+
@@ -10740,12 +16692,2021 @@ index 1dc1b65fac3..c5c2f36bbc0 100755
+
+
+
+
+
+
+
+
+
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
++$as_echo_n "checking for archiver @FILE support... " >&6; }
++if ${lt_cv_ar_at_file+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ lt_cv_ar_at_file=no
++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
++/* end confdefs.h. */
++
++int
++main ()
++{
++
++ ;
++ return 0;
++}
++_ACEOF
++if ac_fn_c_try_compile "$LINENO"; then :
++ echo conftest.$ac_objext > conftest.lst
++ lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
++ { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
++ (eval $lt_ar_try) 2>&5
++ ac_status=$?
++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
++ test $ac_status = 0; }
++ if test "$ac_status" -eq 0; then
++ # Ensure the archiver fails upon bogus file names.
++ rm -f conftest.$ac_objext libconftest.a
++ { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
++ (eval $lt_ar_try) 2>&5
++ ac_status=$?
++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
++ test $ac_status = 0; }
++ if test "$ac_status" -ne 0; then
++ lt_cv_ar_at_file=@
++ fi
++ fi
++ rm -f conftest.* libconftest.a
++
++fi
++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
++
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
++$as_echo "$lt_cv_ar_at_file" >&6; }
++
++if test "x$lt_cv_ar_at_file" = xno; then
++ archiver_list_spec=
++else
++ archiver_list_spec=$lt_cv_ar_at_file
++fi
++
++
+
+
+
+@@ -7058,8 +7384,8 @@ esac
+ lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
+
+ # Transform an extracted symbol line into symbol name and symbol address
+-lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
+-lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
++lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
++lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
+
+ # Handle CRLF in mingw tool chain
+ opt_cr=
+@@ -7095,6 +7421,7 @@ for ac_symprfx in "" "_"; do
+ else
+ lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
+ fi
++ lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
+
+ # Check to see that the pipe works correctly.
+ pipe_works=no
+@@ -7136,6 +7463,18 @@ _LT_EOF
+ if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
+ if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
+ cat <<_LT_EOF > conftest.$ac_ext
++/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
++#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
++/* DATA imports from DLLs on WIN32 con't be const, because runtime
++ relocations are performed -- see ld's documentation on pseudo-relocs. */
++# define LT_DLSYM_CONST
++#elif defined(__osf__)
++/* This system does not cope well with relocations in const data. */
++# define LT_DLSYM_CONST
++#else
++# define LT_DLSYM_CONST const
++#endif
++
+ #ifdef __cplusplus
+ extern "C" {
+ #endif
+@@ -7147,7 +7486,7 @@ _LT_EOF
+ cat <<_LT_EOF >> conftest.$ac_ext
+
+ /* The mapping between symbol names and symbols. */
+-const struct {
++LT_DLSYM_CONST struct {
+ const char *name;
+ void *address;
+ }
+@@ -7173,8 +7512,8 @@ static const void *lt_preloaded_setup() {
+ _LT_EOF
+ # Now try linking the two files.
+ mv conftest.$ac_objext conftstm.$ac_objext
+- lt_save_LIBS="$LIBS"
+- lt_save_CFLAGS="$CFLAGS"
++ lt_globsym_save_LIBS=$LIBS
++ lt_globsym_save_CFLAGS=$CFLAGS
+ LIBS="conftstm.$ac_objext"
+ CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
+@@ -7184,8 +7523,8 @@ _LT_EOF
+ test $ac_status = 0; } && test -s conftest${ac_exeext}; then
+ pipe_works=yes
+ fi
+- LIBS="$lt_save_LIBS"
+- CFLAGS="$lt_save_CFLAGS"
++ LIBS=$lt_globsym_save_LIBS
++ CFLAGS=$lt_globsym_save_CFLAGS
+ else
+ echo "cannot find nm_test_func in $nlist" >&5
+ fi
+@@ -7222,6 +7561,18 @@ else
+ $as_echo "ok" >&6; }
+ fi
+
++# Response file support.
++if test "$lt_cv_nm_interface" = "MS dumpbin"; then
++ nm_file_list_spec='@'
++elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
++ nm_file_list_spec='@'
++fi
++
++
++
++
+
+
+
+
+
+@@ -7238,6 +7589,43 @@ fi
+
+
+
+
+
+
+
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
++$as_echo_n "checking for sysroot... " >&6; }
++
++# Check whether --with-libtool-sysroot was given.
++if test "${with_libtool_sysroot+set}" = set; then :
++ withval=$with_libtool_sysroot;
++else
++ with_libtool_sysroot=no
++fi
++
++
++lt_sysroot=
++case ${with_libtool_sysroot} in #(
++ yes)
++ if test "$GCC" = yes; then
++ lt_sysroot=`$CC --print-sysroot 2>/dev/null`
++ fi
++ ;; #(
++ /*)
++ lt_sysroot=`echo "$with_libtool_sysroot" | sed -e "$sed_quote_subst"`
++ ;; #(
++ no|'')
++ ;; #(
++ *)
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_libtool_sysroot}" >&5
++$as_echo "${with_libtool_sysroot}" >&6; }
++ as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
++ ;;
++esac
++
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
++$as_echo "${lt_sysroot:-no}" >&6; }
+
+
+
+@@ -7404,50 +7792,167 @@ _ACEOF
+ if ac_fn_c_try_link "$LINENO"; then :
+ lt_cv_cc_needs_belf=yes
+ else
+- lt_cv_cc_needs_belf=no
++ lt_cv_cc_needs_belf=no
++fi
++rm -f core conftest.err conftest.$ac_objext \
++ conftest$ac_exeext conftest.$ac_ext
++ ac_ext=c
++ac_cpp='$CPP $CPPFLAGS'
++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compiler_gnu=$ac_cv_c_compiler_gnu
++
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
++$as_echo "$lt_cv_cc_needs_belf" >&6; }
++ if test x"$lt_cv_cc_needs_belf" != x"yes"; then
++ # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
++ CFLAGS="$SAVE_CFLAGS"
++ fi
++ ;;
++sparc*-*solaris*)
++ # Find out which ABI we are using.
++ echo 'int i;' > conftest.$ac_ext
++ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
++ (eval $ac_compile) 2>&5
++ ac_status=$?
++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
++ test $ac_status = 0; }; then
++ case `/usr/bin/file conftest.o` in
++ *64-bit*)
++ case $lt_cv_prog_gnu_ld in
++ yes*) LD="${LD-ld} -m elf64_sparc" ;;
++ *)
++ if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
++ LD="${LD-ld} -64"
++ fi
++ ;;
++ esac
++ ;;
++ esac
++ fi
++ rm -rf conftest*
++ ;;
++esac
++
++need_locks="$enable_libtool_lock"
++
++if test -n "$ac_tool_prefix"; then
++ # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
++set dummy ${ac_tool_prefix}mt; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$MANIFEST_TOOL"; then
++ ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++ ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
++if test -n "$MANIFEST_TOOL"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
++$as_echo "$MANIFEST_TOOL" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++
++fi
++if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
++ ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
++ # Extract the first word of "mt", so it can be a program name with args.
++set dummy mt; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$ac_ct_MANIFEST_TOOL"; then
++ ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++ ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
++if test -n "$ac_ct_MANIFEST_TOOL"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
++$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
+ fi
+-rm -f core conftest.err conftest.$ac_objext \
+- conftest$ac_exeext conftest.$ac_ext
+- ac_ext=c
+-ac_cpp='$CPP $CPPFLAGS'
+-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+-ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+-fi
+-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
+-$as_echo "$lt_cv_cc_needs_belf" >&6; }
+- if test x"$lt_cv_cc_needs_belf" != x"yes"; then
+- # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
+- CFLAGS="$SAVE_CFLAGS"
++ if test "x$ac_ct_MANIFEST_TOOL" = x; then
++ MANIFEST_TOOL=":"
++ else
++ case $cross_compiling:$ac_tool_warned in
++yes:)
++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
++ac_tool_warned=yes ;;
++esac
++ MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
+ fi
+- ;;
+-sparc*-*solaris*)
+- # Find out which ABI we are using.
+- echo 'int i;' > conftest.$ac_ext
+- if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+- (eval $ac_compile) 2>&5
+- ac_status=$?
+- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+- test $ac_status = 0; }; then
+- case `/usr/bin/file conftest.o` in
+- *64-bit*)
+- case $lt_cv_prog_gnu_ld in
+- yes*) LD="${LD-ld} -m elf64_sparc" ;;
+- *)
+- if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
+- LD="${LD-ld} -64"
+- fi
+- ;;
+- esac
+- ;;
+- esac
++else
++ MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
++fi
++
++test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
++$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
++if ${lt_cv_path_mainfest_tool+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ lt_cv_path_mainfest_tool=no
++ echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
++ $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
++ cat conftest.err >&5
++ if $GREP 'Manifest Tool' conftest.out > /dev/null; then
++ lt_cv_path_mainfest_tool=yes
+ fi
+- rm -rf conftest*
+- ;;
+-esac
++ rm -f conftest*
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
++$as_echo "$lt_cv_path_mainfest_tool" >&6; }
++if test "x$lt_cv_path_mainfest_tool" != xyes; then
++ MANIFEST_TOOL=:
++fi
++
++
++
+
+-need_locks="$enable_libtool_lock"
+
+
+ case $host_os in
+@@ -8012,6 +8517,8 @@ _LT_EOF
+ $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
+ echo "$AR cru libconftest.a conftest.o" >&5
+ $AR cru libconftest.a conftest.o 2>&5
++ echo "$RANLIB libconftest.a" >&5
++ $RANLIB libconftest.a 2>&5
+ cat > conftest.c << _LT_EOF
+ int main() { return 0;}
+ _LT_EOF
+@@ -8596,8 +9103,6 @@ fi
+ lt_prog_compiler_pic=
+ lt_prog_compiler_static=
+
+-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
+-$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
+
+ if test "$GCC" = yes; then
+ lt_prog_compiler_wl='-Wl,'
+@@ -8763,6 +9268,12 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
+ lt_prog_compiler_pic='--shared'
+ lt_prog_compiler_static='--static'
+ ;;
++ nagfor*)
++ # NAG Fortran compiler
++ lt_prog_compiler_wl='-Wl,-Wl,,'
++ lt_prog_compiler_pic='-PIC'
++ lt_prog_compiler_static='-Bstatic'
++ ;;
+ pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
+ # Portland Group compilers (*not* the Pentium gcc compiler,
+ # which looks to be a dead project)
+@@ -8825,7 +9336,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
+ lt_prog_compiler_pic='-KPIC'
+ lt_prog_compiler_static='-Bstatic'
+ case $cc_basename in
+- f77* | f90* | f95*)
++ f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
+ lt_prog_compiler_wl='-Qoption ld ';;
+ *)
+ lt_prog_compiler_wl='-Wl,';;
+@@ -8882,13 +9393,17 @@ case $host_os in
+ lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
+ ;;
+ esac
+-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
+-$as_echo "$lt_prog_compiler_pic" >&6; }
+-
+-
+-
+-
+
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
++$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
++if ${lt_cv_prog_compiler_pic+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
++$as_echo "$lt_cv_prog_compiler_pic" >&6; }
++lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
+
+ #
+ # Check to make sure the PIC flag actually works.
+@@ -8949,6 +9464,11 @@ fi
+
+
+
++
++
++
++
++
+ #
+ # Check to make sure the static flag actually works.
+ #
+@@ -9299,7 +9819,8 @@ _LT_EOF
+ allow_undefined_flag=unsupported
+ always_export_symbols=no
+ enable_shared_with_static_runtimes=yes
+- export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
++ export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
++ exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
+
+ if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
+@@ -9398,12 +9919,12 @@ _LT_EOF
+ whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
+ hardcode_libdir_flag_spec=
+ hardcode_libdir_flag_spec_ld='-rpath $libdir'
+- archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
++ archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
+ if test "x$supports_anon_versioning" = xyes; then
+ archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
+ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
+ echo "local: *; };" >> $output_objdir/$libname.ver~
+- $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
++ $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
+ fi
+ ;;
+ esac
+@@ -9417,8 +9938,8 @@ _LT_EOF
+ archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
+ wlarc=
+ else
+- archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+- archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+ fi
+ ;;
+
+@@ -9436,8 +9957,8 @@ _LT_EOF
+
+ _LT_EOF
+ elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
+- archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+- archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+ else
+ ld_shlibs=no
+ fi
+@@ -9483,8 +10004,8 @@ _LT_EOF
+
+ *)
+ if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
+- archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+- archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+ else
+ ld_shlibs=no
+ fi
+@@ -9614,7 +10135,13 @@ _LT_EOF
+ allow_undefined_flag='-berok'
+ # Determine the default libpath from the value encoded in an
+ # empty executable.
+- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
++ if test "${lt_cv_aix_libpath+set}" = set; then
++ aix_libpath=$lt_cv_aix_libpath
++else
++ if ${lt_cv_aix_libpath_+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h. */
+
+ int
+@@ -9627,22 +10154,29 @@ main ()
+ _ACEOF
+ if ac_fn_c_try_link "$LINENO"; then :
+
+-lt_aix_libpath_sed='
+- /Import File Strings/,/^$/ {
+- /^0/ {
+- s/^0 *\(.*\)$/\1/
+- p
+- }
+- }'
+-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+-# Check for a 64-bit object if we didn't find anything.
+-if test -z "$aix_libpath"; then
+- aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+-fi
++ lt_aix_libpath_sed='
++ /Import File Strings/,/^$/ {
++ /^0/ {
++ s/^0 *\([^ ]*\) *$/\1/
++ p
++ }
++ }'
++ lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
++ # Check for a 64-bit object if we didn't find anything.
++ if test -z "$lt_cv_aix_libpath_"; then
++ lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
++ fi
+ fi
+ rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
++ if test -z "$lt_cv_aix_libpath_"; then
++ lt_cv_aix_libpath_="/usr/lib:/lib"
++ fi
++
++fi
++
++ aix_libpath=$lt_cv_aix_libpath_
++fi
+
+ hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
+ archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
+@@ -9654,7 +10188,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+ else
+ # Determine the default libpath from the value encoded in an
+ # empty executable.
+- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
++ if test "${lt_cv_aix_libpath+set}" = set; then
++ aix_libpath=$lt_cv_aix_libpath
++else
++ if ${lt_cv_aix_libpath_+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h. */
+
+ int
+@@ -9667,22 +10207,29 @@ main ()
+ _ACEOF
+ if ac_fn_c_try_link "$LINENO"; then :
+
+-lt_aix_libpath_sed='
+- /Import File Strings/,/^$/ {
+- /^0/ {
+- s/^0 *\(.*\)$/\1/
+- p
+- }
+- }'
+-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+-# Check for a 64-bit object if we didn't find anything.
+-if test -z "$aix_libpath"; then
+- aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+-fi
++ lt_aix_libpath_sed='
++ /Import File Strings/,/^$/ {
++ /^0/ {
++ s/^0 *\([^ ]*\) *$/\1/
++ p
++ }
++ }'
++ lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
++ # Check for a 64-bit object if we didn't find anything.
++ if test -z "$lt_cv_aix_libpath_"; then
++ lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
++ fi
+ fi
+ rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
++ if test -z "$lt_cv_aix_libpath_"; then
++ lt_cv_aix_libpath_="/usr/lib:/lib"
++ fi
++
++fi
++
++ aix_libpath=$lt_cv_aix_libpath_
++fi
+
+ hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
+ # Warning - without using the other run time loading flags,
+@@ -9727,20 +10274,63 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+ # Microsoft Visual C++.
+ # hardcode_libdir_flag_spec is actually meaningless, as there is
+ # no search path for DLLs.
+- hardcode_libdir_flag_spec=' '
+- allow_undefined_flag=unsupported
+- # Tell ltmain to make .lib files, not .a files.
+- libext=lib
+- # Tell ltmain to make .dll files, not .so files.
+- shrext_cmds=".dll"
+- # FIXME: Setting linknames here is a bad hack.
+- archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
+- # The linker will automatically build a .lib file if we build a DLL.
+- old_archive_from_new_cmds='true'
+- # FIXME: Should let the user specify the lib program.
+- old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
+- fix_srcfile_path='`cygpath -w "$srcfile"`'
+- enable_shared_with_static_runtimes=yes
++ case $cc_basename in
++ cl*)
++ # Native MSVC
++ hardcode_libdir_flag_spec=' '
++ allow_undefined_flag=unsupported
++ always_export_symbols=yes
++ file_list_spec='@'
++ # Tell ltmain to make .lib files, not .a files.
++ libext=lib
++ # Tell ltmain to make .dll files, not .so files.
++ shrext_cmds=".dll"
++ # FIXME: Setting linknames here is a bad hack.
++ archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
++ archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
++ sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
++ else
++ sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
++ fi~
++ $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
++ linknames='
++ # The linker will not automatically build a static lib if we build a DLL.
++ # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
++ enable_shared_with_static_runtimes=yes
++ export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
++ # Don't use ranlib
++ old_postinstall_cmds='chmod 644 $oldlib'
++ postlink_cmds='lt_outputfile="@OUTPUT@"~
++ lt_tool_outputfile="@TOOL_OUTPUT@"~
++ case $lt_outputfile in
++ *.exe|*.EXE) ;;
++ *)
++ lt_outputfile="$lt_outputfile.exe"
++ lt_tool_outputfile="$lt_tool_outputfile.exe"
++ ;;
++ esac~
++ if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
++ $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
++ $RM "$lt_outputfile.manifest";
++ fi'
++ ;;
++ *)
++ # Assume MSVC wrapper
++ hardcode_libdir_flag_spec=' '
++ allow_undefined_flag=unsupported
++ # Tell ltmain to make .lib files, not .a files.
++ libext=lib
++ # Tell ltmain to make .dll files, not .so files.
++ shrext_cmds=".dll"
++ # FIXME: Setting linknames here is a bad hack.
++ archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
++ # The linker will automatically build a .lib file if we build a DLL.
++ old_archive_from_new_cmds='true'
++ # FIXME: Should let the user specify the lib program.
++ old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
++ enable_shared_with_static_runtimes=yes
++ ;;
++ esac
+ ;;
+
+ darwin* | rhapsody*)
+@@ -9801,7 +10391,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+
+ # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
+ freebsd* | dragonfly*)
+- archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
++ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
+ hardcode_libdir_flag_spec='-R$libdir'
+ hardcode_direct=yes
+ hardcode_shlibpath_var=no
+@@ -9809,7 +10399,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+
+ hpux9*)
+ if test "$GCC" = yes; then
+- archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
++ archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
+ else
+ archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
+ fi
+@@ -9825,7 +10415,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+
+ hpux10*)
+ if test "$GCC" = yes && test "$with_gnu_ld" = no; then
+- archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
++ archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
+ else
+ archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
+ fi
+@@ -9849,10 +10439,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+ archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ ia64*)
+- archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
++ archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ *)
+- archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
++ archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ esac
+ else
+@@ -9931,23 +10521,36 @@ fi
+
+ irix5* | irix6* | nonstopux*)
+ if test "$GCC" = yes; then
+- archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+ # Try to use the -exported_symbol ld option, if it does not
+ # work, assume that -exports_file does not work either and
+ # implicitly export all symbols.
+- save_LDFLAGS="$LDFLAGS"
+- LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
+- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
++ # This should be the same for all languages, so no per-tag cache variable.
++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
++$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
++if ${lt_cv_irix_exported_symbol+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ save_LDFLAGS="$LDFLAGS"
++ LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h. */
+-int foo(void) {}
++int foo (void) { return 0; }
+ _ACEOF
+ if ac_fn_c_try_link "$LINENO"; then :
+- archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
+-
++ lt_cv_irix_exported_symbol=yes
++else
++ lt_cv_irix_exported_symbol=no
+ fi
+ rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+- LDFLAGS="$save_LDFLAGS"
++ LDFLAGS="$save_LDFLAGS"
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
++$as_echo "$lt_cv_irix_exported_symbol" >&6; }
++ if test "$lt_cv_irix_exported_symbol" = yes; then
++ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
++ fi
+ else
+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
+ archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
+@@ -10032,7 +10635,7 @@ rm -f core conftest.err conftest.$ac_objext \
+ osf4* | osf5*) # as osf3* with the addition of -msym flag
+ if test "$GCC" = yes; then
+ allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
+- archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++ archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
+ else
+ allow_undefined_flag=' -expect_unresolved \*'
+@@ -10051,9 +10654,9 @@ rm -f core conftest.err conftest.$ac_objext \
+ no_undefined_flag=' -z defs'
+ if test "$GCC" = yes; then
+ wlarc='${wl}'
+- archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++ archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
+ archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
+- $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
++ $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
+ else
+ case `$CC -V 2>&1` in
+ *"Compilers 5.0"*)
+@@ -10629,8 +11232,9 @@ cygwin* | mingw* | pw32* | cegcc*)
+ need_version=no
+ need_lib_prefix=no
+
+- case $GCC,$host_os in
+- yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
++ case $GCC,$cc_basename in
++ yes,*)
++ # gcc
+ library_names_spec='$libname.dll.a'
+ # DLL is installed to $(libdir)/../bin by postinstall_cmds
+ postinstall_cmds='base_file=`basename \${file}`~
+@@ -10663,13 +11267,71 @@ cygwin* | mingw* | pw32* | cegcc*)
+ library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
+ ;;
+ esac
++ dynamic_linker='Win32 ld.exe'
++ ;;
++
++ *,cl*)
++ # Native MSVC
++ libname_spec='$name'
++ soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
++ library_names_spec='${libname}.dll.lib'
++
++ case $build_os in
++ mingw*)
++ sys_lib_search_path_spec=
++ lt_save_ifs=$IFS
++ IFS=';'
++ for lt_path in $LIB
++ do
++ IFS=$lt_save_ifs
++ # Let DOS variable expansion print the short 8.3 style file name.
++ lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
++ sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
++ done
++ IFS=$lt_save_ifs
++ # Convert to MSYS style.
++ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
++ ;;
++ cygwin*)
++ # Convert to unix form, then to dos form, then back to unix form
++ # but this time dos style (no spaces!) so that the unix form looks
++ # like /cygdrive/c/PROGRA~1:/cygdr...
++ sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
++ sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
++ sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
++ ;;
++ *)
++ sys_lib_search_path_spec="$LIB"
++ if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
++ # It is most probably a Windows format PATH.
++ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
++ else
++ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
++ fi
++ # FIXME: find the short name or the path components, as spaces are
++ # common. (e.g. "Program Files" -> "PROGRA~1")
++ ;;
++ esac
++
++ # DLL is installed to $(libdir)/../bin by postinstall_cmds
++ postinstall_cmds='base_file=`basename \${file}`~
++ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
++ dldir=$destdir/`dirname \$dlpath`~
++ test -d \$dldir || mkdir -p \$dldir~
++ $install_prog $dir/$dlname \$dldir/$dlname'
++ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
++ dlpath=$dir/\$dldll~
++ $RM \$dlpath'
++ shlibpath_overrides_runpath=yes
++ dynamic_linker='Win32 link.exe'
+ ;;
+
+ *)
++ # Assume MSVC wrapper
+ library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
++ dynamic_linker='Win32 ld.exe'
+ ;;
+ esac
+- dynamic_linker='Win32 ld.exe'
+ # FIXME: first we should search . and the directory the executable is in
+ shlibpath_var=PATH
+ ;;
+@@ -11571,7 +12233,7 @@ else
+ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+ lt_status=$lt_dlunknown
+ cat > conftest.$ac_ext <<_LT_EOF
+-#line 11574 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+
+ #if HAVE_DLFCN_H
+@@ -11615,10 +12277,10 @@ else
+ /* When -fvisbility=hidden is used, assume the code has been annotated
+ correspondingly for the symbols needed. */
+ #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
+-void fnord () __attribute__((visibility("default")));
++int fnord () __attribute__((visibility("default")));
+ #endif
+
+-void fnord () { int i=42; }
++int fnord () { return 42; }
+ int main ()
+ {
+ void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
+@@ -11677,7 +12339,7 @@ else
+ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+ lt_status=$lt_dlunknown
+ cat > conftest.$ac_ext <<_LT_EOF
+-#line 11680 "configure"
++#line $LINENO "configure"
+ #include "confdefs.h"
+
+ #if HAVE_DLFCN_H
+@@ -11721,10 +12383,10 @@ else
+ /* When -fvisbility=hidden is used, assume the code has been annotated
+ correspondingly for the symbols needed. */
+ #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
+-void fnord () __attribute__((visibility("default")));
++int fnord () __attribute__((visibility("default")));
+ #endif
+
+-void fnord () { int i=42; }
++int fnord () { return 42; }
+ int main ()
+ {
+ void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
+@@ -15010,13 +15672,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
+ lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
+ lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
+ lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
++lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
++lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
+ reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
+ reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
+ OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
+ deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
+ file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
++file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
++want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
++DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
++sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
+ AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
+ AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
++archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
+ STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
+ RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
+ old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
+@@ -15031,14 +15700,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de
+ lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
+ lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
+ lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
++nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
++lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
+ objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
+ MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
+ lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
+-lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
+ lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
++lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
+ lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
+ lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
+ need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
++MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
+ DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
+ NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
+ LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
+@@ -15071,12 +15743,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q
+ hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
+ inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
+ link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
+-fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
+ always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
+ export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
+ exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
+ include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
+ prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
++postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
+ file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
+ variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
+ need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
+@@ -15131,8 +15803,13 @@ reload_flag \
+ OBJDUMP \
+ deplibs_check_method \
+ file_magic_cmd \
++file_magic_glob \
++want_nocaseglob \
++DLLTOOL \
++sharedlib_from_linklib_cmd \
+ AR \
+ AR_FLAGS \
++archiver_list_spec \
+ STRIP \
+ RANLIB \
+ CC \
+@@ -15142,12 +15819,14 @@ lt_cv_sys_global_symbol_pipe \
+ lt_cv_sys_global_symbol_to_cdecl \
+ lt_cv_sys_global_symbol_to_c_name_address \
+ lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
++nm_file_list_spec \
+ lt_prog_compiler_no_builtin_flag \
+-lt_prog_compiler_wl \
+ lt_prog_compiler_pic \
++lt_prog_compiler_wl \
+ lt_prog_compiler_static \
+ lt_cv_prog_compiler_c_o \
+ need_locks \
++MANIFEST_TOOL \
+ DSYMUTIL \
+ NMEDIT \
+ LIPO \
+@@ -15163,7 +15842,6 @@ no_undefined_flag \
+ hardcode_libdir_flag_spec \
+ hardcode_libdir_flag_spec_ld \
+ hardcode_libdir_separator \
+-fix_srcfile_path \
+ exclude_expsyms \
+ include_expsyms \
+ file_list_spec \
+@@ -15199,6 +15877,7 @@ module_cmds \
+ module_expsym_cmds \
+ export_symbols_cmds \
+ prelink_cmds \
++postlink_cmds \
+ postinstall_cmds \
+ postuninstall_cmds \
+ finish_cmds \
+@@ -15897,7 +16576,8 @@ esac ;;
+ # NOTE: Changes made to this file will be lost: look at ltmain.sh.
+ #
+ # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
+-# 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
++# 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
++# Inc.
+ # Written by Gordon Matzigkeit, 1996
+ #
+ # This file is part of GNU Libtool.
+@@ -16000,19 +16680,42 @@ SP2NL=$lt_lt_SP2NL
+ # turn newlines into spaces.
+ NL2SP=$lt_lt_NL2SP
+
++# convert \$build file names to \$host format.
++to_host_file_cmd=$lt_cv_to_host_file_cmd
++
++# convert \$build files to toolchain format.
++to_tool_file_cmd=$lt_cv_to_tool_file_cmd
++
+ # An object symbol dumper.
+ OBJDUMP=$lt_OBJDUMP
+
+ # Method to check whether dependent libraries are shared objects.
+ deplibs_check_method=$lt_deplibs_check_method
+
+-# Command to use when deplibs_check_method == "file_magic".
++# Command to use when deplibs_check_method = "file_magic".
+ file_magic_cmd=$lt_file_magic_cmd
+
++# How to find potential files when deplibs_check_method = "file_magic".
++file_magic_glob=$lt_file_magic_glob
++
++# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
++want_nocaseglob=$lt_want_nocaseglob
++
++# DLL creation program.
++DLLTOOL=$lt_DLLTOOL
++
++# Command to associate shared and link libraries.
++sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
++
+ # The archiver.
+ AR=$lt_AR
++
++# Flags to create an archive.
+ AR_FLAGS=$lt_AR_FLAGS
+
++# How to feed a file listing to the archiver.
++archiver_list_spec=$lt_archiver_list_spec
++
+ # A symbol stripping program.
+ STRIP=$lt_STRIP
+
+@@ -16042,6 +16745,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
+ # Transform the output of nm in a C name address pair when lib prefix is needed.
+ global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
+
++# Specify filename containing input files for \$NM.
++nm_file_list_spec=$lt_nm_file_list_spec
++
++# The root where to search for dependent libraries,and in which our libraries should be installed.
++lt_sysroot=$lt_sysroot
++
+ # The name of the directory that contains temporary libtool files.
+ objdir=$objdir
+
+@@ -16051,6 +16760,9 @@ MAGIC_CMD=$MAGIC_CMD
+ # Must we lock files when doing compilation?
+ need_locks=$lt_need_locks
+
++# Manifest tool.
++MANIFEST_TOOL=$lt_MANIFEST_TOOL
++
+ # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
+ DSYMUTIL=$lt_DSYMUTIL
+
+@@ -16165,12 +16877,12 @@ with_gcc=$GCC
+ # Compiler flag to turn off builtin functions.
+ no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
+
+-# How to pass a linker flag through the compiler.
+-wl=$lt_lt_prog_compiler_wl
+-
+ # Additional compiler flags for building library objects.
+ pic_flag=$lt_lt_prog_compiler_pic
+
++# How to pass a linker flag through the compiler.
++wl=$lt_lt_prog_compiler_wl
++
+ # Compiler flag to prevent dynamic linking.
+ link_static_flag=$lt_lt_prog_compiler_static
+
+@@ -16257,9 +16969,6 @@ inherit_rpath=$inherit_rpath
+ # Whether libtool must link a program against all its dependency libraries.
+ link_all_deplibs=$link_all_deplibs
+
+-# Fix the shell variable \$srcfile for the compiler.
+-fix_srcfile_path=$lt_fix_srcfile_path
+-
+ # Set to "yes" if exported symbols are required.
+ always_export_symbols=$always_export_symbols
+
+@@ -16275,6 +16984,9 @@ include_expsyms=$lt_include_expsyms
+ # Commands necessary for linking programs (against libraries) with templates.
+ prelink_cmds=$lt_prelink_cmds
+
++# Commands necessary for finishing linking programs.
++postlink_cmds=$lt_postlink_cmds
++
+ # Specify filename containing input files.
+ file_list_spec=$lt_file_list_spec
+
+@@ -16307,210 +17019,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
+ # if finds mixed CR/LF and LF-only lines. Since sed operates in
+ # text mode, it properly converts lines to CR/LF. This bash problem
+ # is reportedly fixed, but why not run on old versions too?
+- sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
+- || (rm -f "$cfgfile"; exit 1)
+-
+- case $xsi_shell in
+- yes)
+- cat << \_LT_EOF >> "$cfgfile"
+-
+-# func_dirname file append nondir_replacement
+-# Compute the dirname of FILE. If nonempty, add APPEND to the result,
+-# otherwise set result to NONDIR_REPLACEMENT.
+-func_dirname ()
+-{
+- case ${1} in
+- */*) func_dirname_result="${1%/*}${2}" ;;
+- * ) func_dirname_result="${3}" ;;
+- esac
+-}
+-
+-# func_basename file
+-func_basename ()
+-{
+- func_basename_result="${1##*/}"
+-}
+-
+-# func_dirname_and_basename file append nondir_replacement
+-# perform func_basename and func_dirname in a single function
+-# call:
+-# dirname: Compute the dirname of FILE. If nonempty,
+-# add APPEND to the result, otherwise set result
+-# to NONDIR_REPLACEMENT.
+-# value returned in "$func_dirname_result"
+-# basename: Compute filename of FILE.
+-# value retuned in "$func_basename_result"
+-# Implementation must be kept synchronized with func_dirname
+-# and func_basename. For efficiency, we do not delegate to
+-# those functions but instead duplicate the functionality here.
+-func_dirname_and_basename ()
+-{
+- case ${1} in
+- */*) func_dirname_result="${1%/*}${2}" ;;
+- * ) func_dirname_result="${3}" ;;
+- esac
+- func_basename_result="${1##*/}"
+-}
+-
+-# func_stripname prefix suffix name
+-# strip PREFIX and SUFFIX off of NAME.
+-# PREFIX and SUFFIX must not contain globbing or regex special
+-# characters, hashes, percent signs, but SUFFIX may contain a leading
+-# dot (in which case that matches only a dot).
+-func_stripname ()
+-{
+- # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
+- # positional parameters, so assign one to ordinary parameter first.
+- func_stripname_result=${3}
+- func_stripname_result=${func_stripname_result#"${1}"}
+- func_stripname_result=${func_stripname_result%"${2}"}
+-}
+-
+-# func_opt_split
+-func_opt_split ()
+-{
+- func_opt_split_opt=${1%%=*}
+- func_opt_split_arg=${1#*=}
+-}
+-
+-# func_lo2o object
+-func_lo2o ()
+-{
+- case ${1} in
+- *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
+- *) func_lo2o_result=${1} ;;
+- esac
+-}
+-
+-# func_xform libobj-or-source
+-func_xform ()
+-{
+- func_xform_result=${1%.*}.lo
+-}
+-
+-# func_arith arithmetic-term...
+-func_arith ()
+-{
+- func_arith_result=$(( $* ))
+-}
+-
+-# func_len string
+-# STRING may not start with a hyphen.
+-func_len ()
+-{
+- func_len_result=${#1}
+-}
+-
+-_LT_EOF
+- ;;
+- *) # Bourne compatible functions.
+- cat << \_LT_EOF >> "$cfgfile"
+-
+-# func_dirname file append nondir_replacement
+-# Compute the dirname of FILE. If nonempty, add APPEND to the result,
+-# otherwise set result to NONDIR_REPLACEMENT.
+-func_dirname ()
+-{
+- # Extract subdirectory from the argument.
+- func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
+- if test "X$func_dirname_result" = "X${1}"; then
+- func_dirname_result="${3}"
+- else
+- func_dirname_result="$func_dirname_result${2}"
+- fi
+-}
+-
+-# func_basename file
+-func_basename ()
+-{
+- func_basename_result=`$ECHO "${1}" | $SED "$basename"`
+-}
+-
+-
+-# func_stripname prefix suffix name
+-# strip PREFIX and SUFFIX off of NAME.
+-# PREFIX and SUFFIX must not contain globbing or regex special
+-# characters, hashes, percent signs, but SUFFIX may contain a leading
+-# dot (in which case that matches only a dot).
+-# func_strip_suffix prefix name
+-func_stripname ()
+-{
+- case ${2} in
+- .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
+- *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
+- esac
+-}
+-
+-# sed scripts:
+-my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
+-my_sed_long_arg='1s/^-[^=]*=//'
+-
+-# func_opt_split
+-func_opt_split ()
+-{
+- func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
+- func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
+-}
+-
+-# func_lo2o object
+-func_lo2o ()
+-{
+- func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
+-}
+-
+-# func_xform libobj-or-source
+-func_xform ()
+-{
+- func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
+-}
+-
+-# func_arith arithmetic-term...
+-func_arith ()
+-{
+- func_arith_result=`expr "$@"`
+-}
+-
+-# func_len string
+-# STRING may not start with a hyphen.
+-func_len ()
+-{
+- func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
+-}
+-
+-_LT_EOF
+-esac
+-
+-case $lt_shell_append in
+- yes)
+- cat << \_LT_EOF >> "$cfgfile"
+-
+-# func_append var value
+-# Append VALUE to the end of shell variable VAR.
+-func_append ()
+-{
+- eval "$1+=\$2"
+-}
+-_LT_EOF
+- ;;
+- *)
+- cat << \_LT_EOF >> "$cfgfile"
+-
+-# func_append var value
+-# Append VALUE to the end of shell variable VAR.
+-func_append ()
+-{
+- eval "$1=\$$1\$2"
+-}
+-
+-_LT_EOF
+- ;;
+- esac
+-
+-
+- sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
+- || (rm -f "$cfgfile"; exit 1)
+-
+- mv -f "$cfgfile" "$ofile" ||
++ sed '$q' "$ltmain" >> "$cfgfile" \
++ || (rm -f "$cfgfile"; exit 1)
++
++ if test x"$xsi_shell" = xyes; then
++ sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
++func_dirname ()\
++{\
++\ case ${1} in\
++\ */*) func_dirname_result="${1%/*}${2}" ;;\
++\ * ) func_dirname_result="${3}" ;;\
++\ esac\
++} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
++ && mv -f "$cfgfile.tmp" "$cfgfile" \
++ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++test 0 -eq $? || _lt_function_replace_fail=:
++
++
++ sed -e '/^func_basename ()$/,/^} # func_basename /c\
++func_basename ()\
++{\
++\ func_basename_result="${1##*/}"\
++} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
++ && mv -f "$cfgfile.tmp" "$cfgfile" \
++ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++test 0 -eq $? || _lt_function_replace_fail=:
++
++
++ sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
++func_dirname_and_basename ()\
++{\
++\ case ${1} in\
++\ */*) func_dirname_result="${1%/*}${2}" ;;\
++\ * ) func_dirname_result="${3}" ;;\
++\ esac\
++\ func_basename_result="${1##*/}"\
++} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
++ && mv -f "$cfgfile.tmp" "$cfgfile" \
++ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++test 0 -eq $? || _lt_function_replace_fail=:
++
++
++ sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
++func_stripname ()\
++{\
++\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
++\ # positional parameters, so assign one to ordinary parameter first.\
++\ func_stripname_result=${3}\
++\ func_stripname_result=${func_stripname_result#"${1}"}\
++\ func_stripname_result=${func_stripname_result%"${2}"}\
++} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
++ && mv -f "$cfgfile.tmp" "$cfgfile" \
++ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++test 0 -eq $? || _lt_function_replace_fail=:
++
++
++ sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
++func_split_long_opt ()\
++{\
++\ func_split_long_opt_name=${1%%=*}\
++\ func_split_long_opt_arg=${1#*=}\
++} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
++ && mv -f "$cfgfile.tmp" "$cfgfile" \
++ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++test 0 -eq $? || _lt_function_replace_fail=:
++
++
++ sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
++func_split_short_opt ()\
++{\
++\ func_split_short_opt_arg=${1#??}\
++\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
++} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
++ && mv -f "$cfgfile.tmp" "$cfgfile" \
++ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++test 0 -eq $? || _lt_function_replace_fail=:
++
++
++ sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
++func_lo2o ()\
++{\
++\ case ${1} in\
++\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
++\ *) func_lo2o_result=${1} ;;\
++\ esac\
++} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
++ && mv -f "$cfgfile.tmp" "$cfgfile" \
++ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++test 0 -eq $? || _lt_function_replace_fail=:
++
++
++ sed -e '/^func_xform ()$/,/^} # func_xform /c\
++func_xform ()\
++{\
++ func_xform_result=${1%.*}.lo\
++} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
++ && mv -f "$cfgfile.tmp" "$cfgfile" \
++ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++test 0 -eq $? || _lt_function_replace_fail=:
++
++
++ sed -e '/^func_arith ()$/,/^} # func_arith /c\
++func_arith ()\
++{\
++ func_arith_result=$(( $* ))\
++} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
++ && mv -f "$cfgfile.tmp" "$cfgfile" \
++ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++test 0 -eq $? || _lt_function_replace_fail=:
++
++
++ sed -e '/^func_len ()$/,/^} # func_len /c\
++func_len ()\
++{\
++ func_len_result=${#1}\
++} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
++ && mv -f "$cfgfile.tmp" "$cfgfile" \
++ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++test 0 -eq $? || _lt_function_replace_fail=:
++
++fi
++
++if test x"$lt_shell_append" = xyes; then
++ sed -e '/^func_append ()$/,/^} # func_append /c\
++func_append ()\
++{\
++ eval "${1}+=\\${2}"\
++} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
++ && mv -f "$cfgfile.tmp" "$cfgfile" \
++ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++test 0 -eq $? || _lt_function_replace_fail=:
++
++
++ sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
++func_append_quoted ()\
++{\
++\ func_quote_for_eval "${2}"\
++\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
++} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
++ && mv -f "$cfgfile.tmp" "$cfgfile" \
++ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++test 0 -eq $? || _lt_function_replace_fail=:
++
++
++ # Save a `func_append' function call where possible by direct use of '+='
++ sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
++ && mv -f "$cfgfile.tmp" "$cfgfile" \
++ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++ test 0 -eq $? || _lt_function_replace_fail=:
++else
++ # Save a `func_append' function call even when '+=' is not available
++ sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
++ && mv -f "$cfgfile.tmp" "$cfgfile" \
++ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++ test 0 -eq $? || _lt_function_replace_fail=:
++fi
++
++if test x"$_lt_function_replace_fail" = x":"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
++$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
++fi
++
++
++ mv -f "$cfgfile" "$ofile" ||
+ (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
+ chmod +x "$ofile"
+
+diff --git a/libctf/Makefile.in b/libctf/Makefile.in
+index 1cdf105a323..b69d6472e86 100644
+--- a/libctf/Makefile.in
++++ b/libctf/Makefile.in
+@@ -442,6 +442,7 @@ CYGPATH_W = @CYGPATH_W@
+ DATADIRNAME = @DATADIRNAME@
+ DEFS = @DEFS@
+ DEPDIR = @DEPDIR@
++DLLTOOL = @DLLTOOL@
+ DSYMUTIL = @DSYMUTIL@
+ DUMPBIN = @DUMPBIN@
+ ECHO_C = @ECHO_C@
+@@ -481,6 +482,7 @@ LTLIBINTL = @LTLIBINTL@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAINT = @MAINT@
+ MAKEINFO = @MAKEINFO@
++MANIFEST_TOOL = @MANIFEST_TOOL@
+ MKDIR_P = @MKDIR_P@
+ MKINSTALLDIRS = @MKINSTALLDIRS@
+ MSGFMT = @MSGFMT@
+diff --git a/libctf/configure b/libctf/configure
+index 3701bd8e796..9e36ae7c51c 100755
+--- a/libctf/configure
++++ b/libctf/configure
+@@ -669,6 +669,8 @@ OTOOL
+ LIPO
+ NMEDIT
+ DSYMUTIL
++MANIFEST_TOOL
++DLLTOOL
+ OBJDUMP
+ LN_S
+ NM
+@@ -814,6 +816,7 @@ enable_shared
+ enable_static
+ with_pic
+ enable_fast_install
++with_libtool_sysroot
+ enable_libtool_lock
+ enable_largefile
+ enable_werror_always
+@@ -1486,6 +1489,8 @@ Optional Packages:
+ --with-pic try to use only PIC/non-PIC objects [default=use
+ both]
+ --with-gnu-ld assume the C compiler uses GNU ld [default=no]
++ --with-libtool-sysroot=DIR Search for dependent libraries within DIR
++ (or the compiler's sysroot if not specified).
+ --with-system-zlib use installed libz
+
+ Some influential environment variables:
+@@ -7501,8 +7506,8 @@ esac
+
+
+
+-macro_version='2.2.7a'
+-macro_revision='1.3134'
++macro_version='2.4'
++macro_revision='1.3293'
+
+
+
+@@ -7542,7 +7547,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
+ $as_echo_n "checking how to print strings... " >&6; }
+ # Test print first, because it will be a builtin if present.
+-if test "X`print -r -- -n 2>/dev/null`" = X-n && \
++if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
+ test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
+ ECHO='print -r --'
+ elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
+@@ -8235,8 +8240,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6;
+ # Try some XSI features
+ xsi_shell=no
+ ( _lt_dummy="a/b/c"
+- test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
+- = c,a/b,, \
++ test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
++ = c,a/b,b/c, \
+ && eval 'test $(( 1 + 1 )) -eq 2 \
+ && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
+ && xsi_shell=yes
+@@ -8285,6 +8290,80 @@ esac
+
+
+
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
++$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
++if ${lt_cv_to_host_file_cmd+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ case $host in
++ *-*-mingw* )
++ case $build in
++ *-*-mingw* ) # actually msys
++ lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
++ ;;
++ *-*-cygwin* )
++ lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
++ ;;
++ * ) # otherwise, assume *nix
++ lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
++ ;;
++ esac
++ ;;
++ *-*-cygwin* )
++ case $build in
++ *-*-mingw* ) # actually msys
++ lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
++ ;;
++ *-*-cygwin* )
++ lt_cv_to_host_file_cmd=func_convert_file_noop
++ ;;
++ * ) # otherwise, assume *nix
++ lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
++ ;;
++ esac
++ ;;
++ * ) # unhandled hosts (and "normal" native builds)
++ lt_cv_to_host_file_cmd=func_convert_file_noop
++ ;;
++esac
++
++fi
++
++to_host_file_cmd=$lt_cv_to_host_file_cmd
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
++$as_echo "$lt_cv_to_host_file_cmd" >&6; }
++
++
++
++
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
++$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
++if ${lt_cv_to_tool_file_cmd+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ #assume ordinary cross tools, or native build.
++lt_cv_to_tool_file_cmd=func_convert_file_noop
++case $host in
++ *-*-mingw* )
++ case $build in
++ *-*-mingw* ) # actually msys
++ lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
++ ;;
++ esac
++ ;;
++esac
++
++fi
++
++to_tool_file_cmd=$lt_cv_to_tool_file_cmd
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
++$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
++
++
++
++
++
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
+ $as_echo_n "checking for $LD option to reload object files... " >&6; }
+ if ${lt_cv_ld_reload_flag+:} false; then :
+@@ -8301,6 +8380,11 @@ case $reload_flag in
+ esac
+ reload_cmds='$LD$reload_flag -o $output$reload_objs'
+ case $host_os in
++ cygwin* | mingw* | pw32* | cegcc*)
++ if test "$GCC" != yes; then
++ reload_cmds=false
++ fi
++ ;;
+ darwin*)
+ if test "$GCC" = yes; then
+ reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
+@@ -8469,7 +8553,8 @@ mingw* | pw32*)
+ lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
+ lt_cv_file_magic_cmd='func_win32_libid'
+ else
+- lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
++ # Keep this pattern in sync with the one in func_win32_libid.
++ lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
+ lt_cv_file_magic_cmd='$OBJDUMP -f'
+ fi
+ ;;
+@@ -8628,6 +8713,21 @@ esac
+ fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
+ $as_echo "$lt_cv_deplibs_check_method" >&6; }
++
++file_magic_glob=
++want_nocaseglob=no
++if test "$build" = "$host"; then
++ case $host_os in
++ mingw* | pw32*)
++ if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
++ want_nocaseglob=yes
++ else
++ file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
++ fi
++ ;;
++ esac
++fi
++
+ file_magic_cmd=$lt_cv_file_magic_cmd
+ deplibs_check_method=$lt_cv_deplibs_check_method
+ test -z "$deplibs_check_method" && deplibs_check_method=unknown
+@@ -8643,6 +8743,157 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown
+
+
+
++
++
++
++
++
++
++
++
++
++
++if test -n "$ac_tool_prefix"; then
++ # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
++set dummy ${ac_tool_prefix}dlltool; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_DLLTOOL+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$DLLTOOL"; then
++ ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++ ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++DLLTOOL=$ac_cv_prog_DLLTOOL
++if test -n "$DLLTOOL"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
++$as_echo "$DLLTOOL" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++
++fi
++if test -z "$ac_cv_prog_DLLTOOL"; then
++ ac_ct_DLLTOOL=$DLLTOOL
++ # Extract the first word of "dlltool", so it can be a program name with args.
++set dummy dlltool; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$ac_ct_DLLTOOL"; then
++ ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++ ac_cv_prog_ac_ct_DLLTOOL="dlltool"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
++if test -n "$ac_ct_DLLTOOL"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
++$as_echo "$ac_ct_DLLTOOL" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++ if test "x$ac_ct_DLLTOOL" = x; then
++ DLLTOOL="false"
++ else
++ case $cross_compiling:$ac_tool_warned in
++yes:)
++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
++ac_tool_warned=yes ;;
++esac
++ DLLTOOL=$ac_ct_DLLTOOL
++ fi
++else
++ DLLTOOL="$ac_cv_prog_DLLTOOL"
++fi
++
++test -z "$DLLTOOL" && DLLTOOL=dlltool
++
++
++
++
++
++
++
++
++
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
++$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
++if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ lt_cv_sharedlib_from_linklib_cmd='unknown'
++
++case $host_os in
++cygwin* | mingw* | pw32* | cegcc*)
++ # two different shell functions defined in ltmain.sh
++ # decide which to use based on capabilities of $DLLTOOL
++ case `$DLLTOOL --help 2>&1` in
++ *--identify-strict*)
++ lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
++ ;;
++ *)
++ lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
++ ;;
++ esac
++ ;;
++*)
++ # fallback: assume linklib IS sharedlib
++ lt_cv_sharedlib_from_linklib_cmd="$ECHO"
++ ;;
++esac
++
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
++$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
++sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
++test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
++
++
++
++
++
++
++
+ plugin_option=
+ plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
+ for plugin in $plugin_names; do
+@@ -8657,8 +8908,10 @@ for plugin in $plugin_names; do
+ done
+
+ if test -n "$ac_tool_prefix"; then
+- # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
+-set dummy ${ac_tool_prefix}ar; ac_word=$2
++ for ac_prog in ar
++ do
++ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
++set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+ $as_echo_n "checking for $ac_word... " >&6; }
+ if ${ac_cv_prog_AR+:} false; then :
+@@ -8674,7 +8927,7 @@ do
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+- ac_cv_prog_AR="${ac_tool_prefix}ar"
++ ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+@@ -8694,11 +8947,15 @@ $as_echo "no" >&6; }
+ fi
+
+
++ test -n "$AR" && break
++ done
+ fi
+-if test -z "$ac_cv_prog_AR"; then
++if test -z "$AR"; then
+ ac_ct_AR=$AR
+- # Extract the first word of "ar", so it can be a program name with args.
+-set dummy ar; ac_word=$2
++ for ac_prog in ar
++do
++ # Extract the first word of "$ac_prog", so it can be a program name with args.
++set dummy $ac_prog; ac_word=$2
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+ $as_echo_n "checking for $ac_word... " >&6; }
+ if ${ac_cv_prog_ac_ct_AR+:} false; then :
+@@ -8714,7 +8971,7 @@ do
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+- ac_cv_prog_ac_ct_AR="ar"
++ ac_cv_prog_ac_ct_AR="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+@@ -8733,6 +8990,10 @@ else
+ $as_echo "no" >&6; }
+ fi
+
++
++ test -n "$ac_ct_AR" && break
++done
++
+ if test "x$ac_ct_AR" = x; then
+ AR="false"
+ else
+@@ -8744,25 +9005,19 @@ ac_tool_warned=yes ;;
+ esac
+ AR=$ac_ct_AR
+ fi
+-else
+- AR="$ac_cv_prog_AR"
+ fi
+
+-test -z "$AR" && AR=ar
+-if test -n "$plugin_option"; then
+- if $AR --help 2>&1 | grep -q "\--plugin"; then
+- touch conftest.c
+- $AR $plugin_option rc conftest.a conftest.c
+- if test "$?" != 0; then
+- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
++ touch conftest.c
++ $AR $plugin_option rc conftest.a conftest.c
++ if test "$?" != 0; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
+ $as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
+- else
+- AR="$AR $plugin_option"
+- fi
+- rm -f conftest.*
++ else
++ AR="$AR $plugin_option"
+ fi
+-fi
+-test -z "$AR_FLAGS" && AR_FLAGS=cru
++ rm -f conftest.*
++: ${AR=ar}
++: ${AR_FLAGS=cru}
+
+
+
+@@ -8774,6 +9029,64 @@ test -z "$AR_FLAGS" && AR_FLAGS=cru
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
+$as_echo_n "checking for archiver @FILE support... " >&6; }
+if ${lt_cv_ar_at_file+:} false; then :
@@ -10758,7 +18719,7 @@ index 1dc1b65fac3..c5c2f36bbc0 100755
+int
+main ()
+{
-
++
+ ;
+ return 0;
+}
@@ -10784,23 +18745,30 @@ index 1dc1b65fac3..c5c2f36bbc0 100755
+ fi
+ fi
+ rm -f conftest.* libconftest.a
-
++
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-
++
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
+$as_echo "$lt_cv_ar_at_file" >&6; }
-
++
+if test "x$lt_cv_ar_at_file" = xno; then
+ archiver_list_spec=
+else
+ archiver_list_spec=$lt_cv_ar_at_file
+fi
-
-
-
-@@ -7046,8 +7363,8 @@ esac
++
++
++
++
++
++
++
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
+ set dummy ${ac_tool_prefix}strip; ac_word=$2
+@@ -9113,8 +9426,8 @@ esac
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
# Transform an extracted symbol line into symbol name and symbol address
@@ -10811,7 +18779,7 @@ index 1dc1b65fac3..c5c2f36bbc0 100755
# Handle CRLF in mingw tool chain
opt_cr=
-@@ -7083,6 +7400,7 @@ for ac_symprfx in "" "_"; do
+@@ -9150,6 +9463,7 @@ for ac_symprfx in "" "_"; do
else
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
fi
@@ -10819,7 +18787,7 @@ index 1dc1b65fac3..c5c2f36bbc0 100755
# Check to see that the pipe works correctly.
pipe_works=no
-@@ -7124,6 +7442,18 @@ _LT_EOF
+@@ -9191,6 +9505,18 @@ _LT_EOF
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
cat <<_LT_EOF > conftest.$ac_ext
@@ -10838,7 +18806,7 @@ index 1dc1b65fac3..c5c2f36bbc0 100755
#ifdef __cplusplus
extern "C" {
#endif
-@@ -7135,7 +7465,7 @@ _LT_EOF
+@@ -9202,7 +9528,7 @@ _LT_EOF
cat <<_LT_EOF >> conftest.$ac_ext
/* The mapping between symbol names and symbols. */
@@ -10847,7 +18815,7 @@ index 1dc1b65fac3..c5c2f36bbc0 100755
const char *name;
void *address;
}
-@@ -7161,8 +7491,8 @@ static const void *lt_preloaded_setup() {
+@@ -9228,8 +9554,8 @@ static const void *lt_preloaded_setup() {
_LT_EOF
# Now try linking the two files.
mv conftest.$ac_objext conftstm.$ac_objext
@@ -10858,7 +18826,7 @@ index 1dc1b65fac3..c5c2f36bbc0 100755
LIBS="conftstm.$ac_objext"
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
-@@ -7172,8 +7502,8 @@ _LT_EOF
+@@ -9239,8 +9565,8 @@ _LT_EOF
test $ac_status = 0; } && test -s conftest${ac_exeext}; then
pipe_works=yes
fi
@@ -10869,7 +18837,7 @@ index 1dc1b65fac3..c5c2f36bbc0 100755
else
echo "cannot find nm_test_func in $nlist" >&5
fi
-@@ -7210,6 +7540,16 @@ else
+@@ -9277,6 +9603,17 @@ else
$as_echo "ok" >&6; }
fi
@@ -10883,10 +18851,11 @@ index 1dc1b65fac3..c5c2f36bbc0 100755
+
+
+
++
-@@ -7226,6 +7566,45 @@ fi
+@@ -9293,6 +9630,44 @@ fi
@@ -10896,7 +18865,6 @@ index 1dc1b65fac3..c5c2f36bbc0 100755
+
+
+
-+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
+$as_echo_n "checking for sysroot... " >&6; }
+
@@ -10932,7 +18900,7 @@ index 1dc1b65fac3..c5c2f36bbc0 100755
-@@ -7437,6 +7816,123 @@ esac
+@@ -9504,6 +9879,123 @@ esac
need_locks="$enable_libtool_lock"
@@ -11056,7 +19024,7 @@ index 1dc1b65fac3..c5c2f36bbc0 100755
case $host_os in
rhapsody* | darwin*)
-@@ -8000,6 +8496,8 @@ _LT_EOF
+@@ -10067,6 +10559,8 @@ _LT_EOF
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
echo "$AR cru libconftest.a conftest.o" >&5
$AR cru libconftest.a conftest.o 2>&5
@@ -11065,26 +19033,3141 @@ index 1dc1b65fac3..c5c2f36bbc0 100755
cat > conftest.c << _LT_EOF
int main() { return 0;}
_LT_EOF
-@@ -8165,7 +8663,8 @@ fi
- LIBTOOL_DEPS="$ltmain"
+@@ -10621,8 +11115,6 @@ fi
+ lt_prog_compiler_pic=
+ lt_prog_compiler_static=
+
+-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
+-$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
+
+ if test "$GCC" = yes; then
+ lt_prog_compiler_wl='-Wl,'
+@@ -10788,6 +11280,12 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
+ lt_prog_compiler_pic='--shared'
+ lt_prog_compiler_static='--static'
+ ;;
++ nagfor*)
++ # NAG Fortran compiler
++ lt_prog_compiler_wl='-Wl,-Wl,,'
++ lt_prog_compiler_pic='-PIC'
++ lt_prog_compiler_static='-Bstatic'
++ ;;
+ pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
+ # Portland Group compilers (*not* the Pentium gcc compiler,
+ # which looks to be a dead project)
+@@ -10850,7 +11348,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
+ lt_prog_compiler_pic='-KPIC'
+ lt_prog_compiler_static='-Bstatic'
+ case $cc_basename in
+- f77* | f90* | f95*)
++ f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
+ lt_prog_compiler_wl='-Qoption ld ';;
+ *)
+ lt_prog_compiler_wl='-Wl,';;
+@@ -10907,13 +11405,17 @@ case $host_os in
+ lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
+ ;;
+ esac
+-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
+-$as_echo "$lt_prog_compiler_pic" >&6; }
+-
+-
+-
+-
+
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
++$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
++if ${lt_cv_prog_compiler_pic+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
++$as_echo "$lt_cv_prog_compiler_pic" >&6; }
++lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
+
+ #
+ # Check to make sure the PIC flag actually works.
+@@ -10974,6 +11476,11 @@ fi
+
+
+
++
++
++
++
++
+ #
+ # Check to make sure the static flag actually works.
+ #
+@@ -11324,7 +11831,8 @@ _LT_EOF
+ allow_undefined_flag=unsupported
+ always_export_symbols=no
+ enable_shared_with_static_runtimes=yes
+- export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
++ export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
++ exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
+
+ if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
+@@ -11423,12 +11931,12 @@ _LT_EOF
+ whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
+ hardcode_libdir_flag_spec=
+ hardcode_libdir_flag_spec_ld='-rpath $libdir'
+- archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
++ archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
+ if test "x$supports_anon_versioning" = xyes; then
+ archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
+ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
+ echo "local: *; };" >> $output_objdir/$libname.ver~
+- $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
++ $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
+ fi
+ ;;
+ esac
+@@ -11442,8 +11950,8 @@ _LT_EOF
+ archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
+ wlarc=
+ else
+- archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+- archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+ fi
+ ;;
+
+@@ -11461,8 +11969,8 @@ _LT_EOF
+
+ _LT_EOF
+ elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
+- archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+- archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+ else
+ ld_shlibs=no
+ fi
+@@ -11508,8 +12016,8 @@ _LT_EOF
+
+ *)
+ if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
+- archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+- archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
++ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
++ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+ else
+ ld_shlibs=no
+ fi
+@@ -11639,7 +12147,13 @@ _LT_EOF
+ allow_undefined_flag='-berok'
+ # Determine the default libpath from the value encoded in an
+ # empty executable.
+- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
++ if test "${lt_cv_aix_libpath+set}" = set; then
++ aix_libpath=$lt_cv_aix_libpath
++else
++ if ${lt_cv_aix_libpath_+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h. */
+
+ int
+@@ -11652,22 +12166,29 @@ main ()
+ _ACEOF
+ if ac_fn_c_try_link "$LINENO"; then :
+
+-lt_aix_libpath_sed='
+- /Import File Strings/,/^$/ {
+- /^0/ {
+- s/^0 *\(.*\)$/\1/
+- p
+- }
+- }'
+-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+-# Check for a 64-bit object if we didn't find anything.
+-if test -z "$aix_libpath"; then
+- aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+-fi
++ lt_aix_libpath_sed='
++ /Import File Strings/,/^$/ {
++ /^0/ {
++ s/^0 *\([^ ]*\) *$/\1/
++ p
++ }
++ }'
++ lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
++ # Check for a 64-bit object if we didn't find anything.
++ if test -z "$lt_cv_aix_libpath_"; then
++ lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
++ fi
+ fi
+ rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
++ if test -z "$lt_cv_aix_libpath_"; then
++ lt_cv_aix_libpath_="/usr/lib:/lib"
++ fi
++
++fi
++
++ aix_libpath=$lt_cv_aix_libpath_
++fi
+
+ hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
+ archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
+@@ -11679,7 +12200,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+ else
+ # Determine the default libpath from the value encoded in an
+ # empty executable.
+- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
++ if test "${lt_cv_aix_libpath+set}" = set; then
++ aix_libpath=$lt_cv_aix_libpath
++else
++ if ${lt_cv_aix_libpath_+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h. */
+
+ int
+@@ -11692,22 +12219,29 @@ main ()
+ _ACEOF
+ if ac_fn_c_try_link "$LINENO"; then :
+
+-lt_aix_libpath_sed='
+- /Import File Strings/,/^$/ {
+- /^0/ {
+- s/^0 *\(.*\)$/\1/
+- p
+- }
+- }'
+-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+-# Check for a 64-bit object if we didn't find anything.
+-if test -z "$aix_libpath"; then
+- aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
+-fi
++ lt_aix_libpath_sed='
++ /Import File Strings/,/^$/ {
++ /^0/ {
++ s/^0 *\([^ ]*\) *$/\1/
++ p
++ }
++ }'
++ lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
++ # Check for a 64-bit object if we didn't find anything.
++ if test -z "$lt_cv_aix_libpath_"; then
++ lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
++ fi
+ fi
+ rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
++ if test -z "$lt_cv_aix_libpath_"; then
++ lt_cv_aix_libpath_="/usr/lib:/lib"
++ fi
++
++fi
++
++ aix_libpath=$lt_cv_aix_libpath_
++fi
+
+ hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
+ # Warning - without using the other run time loading flags,
+@@ -11752,20 +12286,63 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+ # Microsoft Visual C++.
+ # hardcode_libdir_flag_spec is actually meaningless, as there is
+ # no search path for DLLs.
+- hardcode_libdir_flag_spec=' '
+- allow_undefined_flag=unsupported
+- # Tell ltmain to make .lib files, not .a files.
+- libext=lib
+- # Tell ltmain to make .dll files, not .so files.
+- shrext_cmds=".dll"
+- # FIXME: Setting linknames here is a bad hack.
+- archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
+- # The linker will automatically build a .lib file if we build a DLL.
+- old_archive_from_new_cmds='true'
+- # FIXME: Should let the user specify the lib program.
+- old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
+- fix_srcfile_path='`cygpath -w "$srcfile"`'
+- enable_shared_with_static_runtimes=yes
++ case $cc_basename in
++ cl*)
++ # Native MSVC
++ hardcode_libdir_flag_spec=' '
++ allow_undefined_flag=unsupported
++ always_export_symbols=yes
++ file_list_spec='@'
++ # Tell ltmain to make .lib files, not .a files.
++ libext=lib
++ # Tell ltmain to make .dll files, not .so files.
++ shrext_cmds=".dll"
++ # FIXME: Setting linknames here is a bad hack.
++ archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
++ archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
++ sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
++ else
++ sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
++ fi~
++ $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
++ linknames='
++ # The linker will not automatically build a static lib if we build a DLL.
++ # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
++ enable_shared_with_static_runtimes=yes
++ export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
++ # Don't use ranlib
++ old_postinstall_cmds='chmod 644 $oldlib'
++ postlink_cmds='lt_outputfile="@OUTPUT@"~
++ lt_tool_outputfile="@TOOL_OUTPUT@"~
++ case $lt_outputfile in
++ *.exe|*.EXE) ;;
++ *)
++ lt_outputfile="$lt_outputfile.exe"
++ lt_tool_outputfile="$lt_tool_outputfile.exe"
++ ;;
++ esac~
++ if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
++ $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
++ $RM "$lt_outputfile.manifest";
++ fi'
++ ;;
++ *)
++ # Assume MSVC wrapper
++ hardcode_libdir_flag_spec=' '
++ allow_undefined_flag=unsupported
++ # Tell ltmain to make .lib files, not .a files.
++ libext=lib
++ # Tell ltmain to make .dll files, not .so files.
++ shrext_cmds=".dll"
++ # FIXME: Setting linknames here is a bad hack.
++ archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
++ # The linker will automatically build a .lib file if we build a DLL.
++ old_archive_from_new_cmds='true'
++ # FIXME: Should let the user specify the lib program.
++ old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
++ enable_shared_with_static_runtimes=yes
++ ;;
++ esac
+ ;;
+
+ darwin* | rhapsody*)
+@@ -11826,7 +12403,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+
+ # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
+ freebsd* | dragonfly*)
+- archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
++ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
+ hardcode_libdir_flag_spec='-R$libdir'
+ hardcode_direct=yes
+ hardcode_shlibpath_var=no
+@@ -11834,7 +12411,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+
+ hpux9*)
+ if test "$GCC" = yes; then
+- archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
++ archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
+ else
+ archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
+ fi
+@@ -11850,7 +12427,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+
+ hpux10*)
+ if test "$GCC" = yes && test "$with_gnu_ld" = no; then
+- archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
++ archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
+ else
+ archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
+ fi
+@@ -11874,10 +12451,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+ archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ ia64*)
+- archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
++ archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ *)
+- archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
++ archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
+ ;;
+ esac
+ else
+@@ -11956,23 +12533,36 @@ fi
+
+ irix5* | irix6* | nonstopux*)
+ if test "$GCC" = yes; then
+- archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+ # Try to use the -exported_symbol ld option, if it does not
+ # work, assume that -exports_file does not work either and
+ # implicitly export all symbols.
+- save_LDFLAGS="$LDFLAGS"
+- LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
+- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
++ # This should be the same for all languages, so no per-tag cache variable.
++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
++$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
++if ${lt_cv_irix_exported_symbol+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ save_LDFLAGS="$LDFLAGS"
++ LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h. */
+-int foo(void) {}
++int foo (void) { return 0; }
+ _ACEOF
+ if ac_fn_c_try_link "$LINENO"; then :
+- archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
+-
++ lt_cv_irix_exported_symbol=yes
++else
++ lt_cv_irix_exported_symbol=no
+ fi
+ rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+- LDFLAGS="$save_LDFLAGS"
++ LDFLAGS="$save_LDFLAGS"
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
++$as_echo "$lt_cv_irix_exported_symbol" >&6; }
++ if test "$lt_cv_irix_exported_symbol" = yes; then
++ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
++ fi
+ else
+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
+ archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
+@@ -12057,7 +12647,7 @@ rm -f core conftest.err conftest.$ac_objext \
+ osf4* | osf5*) # as osf3* with the addition of -msym flag
+ if test "$GCC" = yes; then
+ allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
+- archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
++ archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
+ else
+ allow_undefined_flag=' -expect_unresolved \*'
+@@ -12076,9 +12666,9 @@ rm -f core conftest.err conftest.$ac_objext \
+ no_undefined_flag=' -z defs'
+ if test "$GCC" = yes; then
+ wlarc='${wl}'
+- archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
++ archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
+ archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
+- $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
++ $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
+ else
+ case `$CC -V 2>&1` in
+ *"Compilers 5.0"*)
+@@ -12654,8 +13244,9 @@ cygwin* | mingw* | pw32* | cegcc*)
+ need_version=no
+ need_lib_prefix=no
+
+- case $GCC,$host_os in
+- yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
++ case $GCC,$cc_basename in
++ yes,*)
++ # gcc
+ library_names_spec='$libname.dll.a'
+ # DLL is installed to $(libdir)/../bin by postinstall_cmds
+ postinstall_cmds='base_file=`basename \${file}`~
+@@ -12688,13 +13279,71 @@ cygwin* | mingw* | pw32* | cegcc*)
+ library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
+ ;;
+ esac
++ dynamic_linker='Win32 ld.exe'
++ ;;
++
++ *,cl*)
++ # Native MSVC
++ libname_spec='$name'
++ soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
++ library_names_spec='${libname}.dll.lib'
++
++ case $build_os in
++ mingw*)
++ sys_lib_search_path_spec=
++ lt_save_ifs=$IFS
++ IFS=';'
++ for lt_path in $LIB
++ do
++ IFS=$lt_save_ifs
++ # Let DOS variable expansion print the short 8.3 style file name.
++ lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
++ sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
++ done
++ IFS=$lt_save_ifs
++ # Convert to MSYS style.
++ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
++ ;;
++ cygwin*)
++ # Convert to unix form, then to dos form, then back to unix form
++ # but this time dos style (no spaces!) so that the unix form looks
++ # like /cygdrive/c/PROGRA~1:/cygdr...
++ sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
++ sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
++ sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
++ ;;
++ *)
++ sys_lib_search_path_spec="$LIB"
++ if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
++ # It is most probably a Windows format PATH.
++ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
++ else
++ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
++ fi
++ # FIXME: find the short name or the path components, as spaces are
++ # common. (e.g. "Program Files" -> "PROGRA~1")
++ ;;
++ esac
++
++ # DLL is installed to $(libdir)/../bin by postinstall_cmds
++ postinstall_cmds='base_file=`basename \${file}`~
++ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
++ dldir=$destdir/`dirname \$dlpath`~
++ test -d \$dldir || mkdir -p \$dldir~
++ $install_prog $dir/$dlname \$dldir/$dlname'
++ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
++ dlpath=$dir/\$dldll~
++ $RM \$dlpath'
++ shlibpath_overrides_runpath=yes
++ dynamic_linker='Win32 link.exe'
+ ;;
+
+ *)
++ # Assume MSVC wrapper
+ library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
++ dynamic_linker='Win32 ld.exe'
+ ;;
+ esac
+- dynamic_linker='Win32 ld.exe'
+ # FIXME: first we should search . and the directory the executable is in
+ shlibpath_var=PATH
+ ;;
+@@ -13640,10 +14293,10 @@ else
+ /* When -fvisbility=hidden is used, assume the code has been annotated
+ correspondingly for the symbols needed. */
+ #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
+-void fnord () __attribute__((visibility("default")));
++int fnord () __attribute__((visibility("default")));
+ #endif
+
+-void fnord () { int i=42; }
++int fnord () { return 42; }
+ int main ()
+ {
+ void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
+@@ -13746,10 +14403,10 @@ else
+ /* When -fvisbility=hidden is used, assume the code has been annotated
+ correspondingly for the symbols needed. */
+ #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
+-void fnord () __attribute__((visibility("default")));
++int fnord () __attribute__((visibility("default")));
+ #endif
+
+-void fnord () { int i=42; }
++int fnord () { return 42; }
+ int main ()
+ {
+ void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
+@@ -17797,13 +18454,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
+ lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
+ lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
+ lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
++lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
++lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
+ reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
+ reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
+ OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
+ deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
+ file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
++file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
++want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
++DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
++sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
+ AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
+ AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
++archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
+ STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
+ RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
+ old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
+@@ -17818,14 +18482,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de
+ lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
+ lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
+ lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
++nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
++lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
+ objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
+ MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
+ lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
+-lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
+ lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
++lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
+ lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
+ lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
+ need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
++MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
+ DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
+ NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
+ LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
+@@ -17858,12 +18525,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q
+ hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
+ inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
+ link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
+-fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
+ always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
+ export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
+ exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
+ include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
+ prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
++postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
+ file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
+ variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
+ need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
+@@ -17918,8 +18585,13 @@ reload_flag \
+ OBJDUMP \
+ deplibs_check_method \
+ file_magic_cmd \
++file_magic_glob \
++want_nocaseglob \
++DLLTOOL \
++sharedlib_from_linklib_cmd \
+ AR \
+ AR_FLAGS \
++archiver_list_spec \
+ STRIP \
+ RANLIB \
+ CC \
+@@ -17929,12 +18601,14 @@ lt_cv_sys_global_symbol_pipe \
+ lt_cv_sys_global_symbol_to_cdecl \
+ lt_cv_sys_global_symbol_to_c_name_address \
+ lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
++nm_file_list_spec \
+ lt_prog_compiler_no_builtin_flag \
+-lt_prog_compiler_wl \
+ lt_prog_compiler_pic \
++lt_prog_compiler_wl \
+ lt_prog_compiler_static \
+ lt_cv_prog_compiler_c_o \
+ need_locks \
++MANIFEST_TOOL \
+ DSYMUTIL \
+ NMEDIT \
+ LIPO \
+@@ -17950,7 +18624,6 @@ no_undefined_flag \
+ hardcode_libdir_flag_spec \
+ hardcode_libdir_flag_spec_ld \
+ hardcode_libdir_separator \
+-fix_srcfile_path \
+ exclude_expsyms \
+ include_expsyms \
+ file_list_spec \
+@@ -17986,6 +18659,7 @@ module_cmds \
+ module_expsym_cmds \
+ export_symbols_cmds \
+ prelink_cmds \
++postlink_cmds \
+ postinstall_cmds \
+ postuninstall_cmds \
+ finish_cmds \
+@@ -18845,7 +19519,8 @@ $as_echo X"$file" |
+ # NOTE: Changes made to this file will be lost: look at ltmain.sh.
+ #
+ # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
+-# 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
++# 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
++# Inc.
+ # Written by Gordon Matzigkeit, 1996
+ #
+ # This file is part of GNU Libtool.
+@@ -18948,19 +19623,42 @@ SP2NL=$lt_lt_SP2NL
+ # turn newlines into spaces.
+ NL2SP=$lt_lt_NL2SP
+
++# convert \$build file names to \$host format.
++to_host_file_cmd=$lt_cv_to_host_file_cmd
++
++# convert \$build files to toolchain format.
++to_tool_file_cmd=$lt_cv_to_tool_file_cmd
++
+ # An object symbol dumper.
+ OBJDUMP=$lt_OBJDUMP
+
+ # Method to check whether dependent libraries are shared objects.
+ deplibs_check_method=$lt_deplibs_check_method
+
+-# Command to use when deplibs_check_method == "file_magic".
++# Command to use when deplibs_check_method = "file_magic".
+ file_magic_cmd=$lt_file_magic_cmd
+
++# How to find potential files when deplibs_check_method = "file_magic".
++file_magic_glob=$lt_file_magic_glob
++
++# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
++want_nocaseglob=$lt_want_nocaseglob
++
++# DLL creation program.
++DLLTOOL=$lt_DLLTOOL
++
++# Command to associate shared and link libraries.
++sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
++
+ # The archiver.
+ AR=$lt_AR
++
++# Flags to create an archive.
+ AR_FLAGS=$lt_AR_FLAGS
+
++# How to feed a file listing to the archiver.
++archiver_list_spec=$lt_archiver_list_spec
++
+ # A symbol stripping program.
+ STRIP=$lt_STRIP
+
+@@ -18990,6 +19688,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
+ # Transform the output of nm in a C name address pair when lib prefix is needed.
+ global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
+
++# Specify filename containing input files for \$NM.
++nm_file_list_spec=$lt_nm_file_list_spec
++
++# The root where to search for dependent libraries,and in which our libraries should be installed.
++lt_sysroot=$lt_sysroot
++
+ # The name of the directory that contains temporary libtool files.
+ objdir=$objdir
+
+@@ -18999,6 +19703,9 @@ MAGIC_CMD=$MAGIC_CMD
+ # Must we lock files when doing compilation?
+ need_locks=$lt_need_locks
+
++# Manifest tool.
++MANIFEST_TOOL=$lt_MANIFEST_TOOL
++
+ # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
+ DSYMUTIL=$lt_DSYMUTIL
+
+@@ -19113,12 +19820,12 @@ with_gcc=$GCC
+ # Compiler flag to turn off builtin functions.
+ no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
+
+-# How to pass a linker flag through the compiler.
+-wl=$lt_lt_prog_compiler_wl
+-
+ # Additional compiler flags for building library objects.
+ pic_flag=$lt_lt_prog_compiler_pic
+
++# How to pass a linker flag through the compiler.
++wl=$lt_lt_prog_compiler_wl
++
+ # Compiler flag to prevent dynamic linking.
+ link_static_flag=$lt_lt_prog_compiler_static
+
+@@ -19205,9 +19912,6 @@ inherit_rpath=$inherit_rpath
+ # Whether libtool must link a program against all its dependency libraries.
+ link_all_deplibs=$link_all_deplibs
+
+-# Fix the shell variable \$srcfile for the compiler.
+-fix_srcfile_path=$lt_fix_srcfile_path
+-
+ # Set to "yes" if exported symbols are required.
+ always_export_symbols=$always_export_symbols
+
+@@ -19223,6 +19927,9 @@ include_expsyms=$lt_include_expsyms
+ # Commands necessary for linking programs (against libraries) with templates.
+ prelink_cmds=$lt_prelink_cmds
+
++# Commands necessary for finishing linking programs.
++postlink_cmds=$lt_postlink_cmds
++
+ # Specify filename containing input files.
+ file_list_spec=$lt_file_list_spec
+
+@@ -19255,210 +19962,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
+ # if finds mixed CR/LF and LF-only lines. Since sed operates in
+ # text mode, it properly converts lines to CR/LF. This bash problem
+ # is reportedly fixed, but why not run on old versions too?
+- sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
+- || (rm -f "$cfgfile"; exit 1)
+-
+- case $xsi_shell in
+- yes)
+- cat << \_LT_EOF >> "$cfgfile"
+-
+-# func_dirname file append nondir_replacement
+-# Compute the dirname of FILE. If nonempty, add APPEND to the result,
+-# otherwise set result to NONDIR_REPLACEMENT.
+-func_dirname ()
+-{
+- case ${1} in
+- */*) func_dirname_result="${1%/*}${2}" ;;
+- * ) func_dirname_result="${3}" ;;
+- esac
+-}
+-
+-# func_basename file
+-func_basename ()
+-{
+- func_basename_result="${1##*/}"
+-}
+-
+-# func_dirname_and_basename file append nondir_replacement
+-# perform func_basename and func_dirname in a single function
+-# call:
+-# dirname: Compute the dirname of FILE. If nonempty,
+-# add APPEND to the result, otherwise set result
+-# to NONDIR_REPLACEMENT.
+-# value returned in "$func_dirname_result"
+-# basename: Compute filename of FILE.
+-# value retuned in "$func_basename_result"
+-# Implementation must be kept synchronized with func_dirname
+-# and func_basename. For efficiency, we do not delegate to
+-# those functions but instead duplicate the functionality here.
+-func_dirname_and_basename ()
+-{
+- case ${1} in
+- */*) func_dirname_result="${1%/*}${2}" ;;
+- * ) func_dirname_result="${3}" ;;
+- esac
+- func_basename_result="${1##*/}"
+-}
+-
+-# func_stripname prefix suffix name
+-# strip PREFIX and SUFFIX off of NAME.
+-# PREFIX and SUFFIX must not contain globbing or regex special
+-# characters, hashes, percent signs, but SUFFIX may contain a leading
+-# dot (in which case that matches only a dot).
+-func_stripname ()
+-{
+- # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
+- # positional parameters, so assign one to ordinary parameter first.
+- func_stripname_result=${3}
+- func_stripname_result=${func_stripname_result#"${1}"}
+- func_stripname_result=${func_stripname_result%"${2}"}
+-}
+-
+-# func_opt_split
+-func_opt_split ()
+-{
+- func_opt_split_opt=${1%%=*}
+- func_opt_split_arg=${1#*=}
+-}
+-
+-# func_lo2o object
+-func_lo2o ()
+-{
+- case ${1} in
+- *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
+- *) func_lo2o_result=${1} ;;
+- esac
+-}
+-
+-# func_xform libobj-or-source
+-func_xform ()
+-{
+- func_xform_result=${1%.*}.lo
+-}
+-
+-# func_arith arithmetic-term...
+-func_arith ()
+-{
+- func_arith_result=$(( $* ))
+-}
+-
+-# func_len string
+-# STRING may not start with a hyphen.
+-func_len ()
+-{
+- func_len_result=${#1}
+-}
+-
+-_LT_EOF
+- ;;
+- *) # Bourne compatible functions.
+- cat << \_LT_EOF >> "$cfgfile"
+-
+-# func_dirname file append nondir_replacement
+-# Compute the dirname of FILE. If nonempty, add APPEND to the result,
+-# otherwise set result to NONDIR_REPLACEMENT.
+-func_dirname ()
+-{
+- # Extract subdirectory from the argument.
+- func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
+- if test "X$func_dirname_result" = "X${1}"; then
+- func_dirname_result="${3}"
+- else
+- func_dirname_result="$func_dirname_result${2}"
+- fi
+-}
+-
+-# func_basename file
+-func_basename ()
+-{
+- func_basename_result=`$ECHO "${1}" | $SED "$basename"`
+-}
+-
+-
+-# func_stripname prefix suffix name
+-# strip PREFIX and SUFFIX off of NAME.
+-# PREFIX and SUFFIX must not contain globbing or regex special
+-# characters, hashes, percent signs, but SUFFIX may contain a leading
+-# dot (in which case that matches only a dot).
+-# func_strip_suffix prefix name
+-func_stripname ()
+-{
+- case ${2} in
+- .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
+- *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
+- esac
+-}
+-
+-# sed scripts:
+-my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
+-my_sed_long_arg='1s/^-[^=]*=//'
+-
+-# func_opt_split
+-func_opt_split ()
+-{
+- func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
+- func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
+-}
+-
+-# func_lo2o object
+-func_lo2o ()
+-{
+- func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
+-}
+-
+-# func_xform libobj-or-source
+-func_xform ()
+-{
+- func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
+-}
+-
+-# func_arith arithmetic-term...
+-func_arith ()
+-{
+- func_arith_result=`expr "$@"`
+-}
+-
+-# func_len string
+-# STRING may not start with a hyphen.
+-func_len ()
+-{
+- func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
+-}
+-
+-_LT_EOF
+-esac
+-
+-case $lt_shell_append in
+- yes)
+- cat << \_LT_EOF >> "$cfgfile"
+-
+-# func_append var value
+-# Append VALUE to the end of shell variable VAR.
+-func_append ()
+-{
+- eval "$1+=\$2"
+-}
+-_LT_EOF
+- ;;
+- *)
+- cat << \_LT_EOF >> "$cfgfile"
+-
+-# func_append var value
+-# Append VALUE to the end of shell variable VAR.
+-func_append ()
+-{
+- eval "$1=\$$1\$2"
+-}
+-
+-_LT_EOF
+- ;;
+- esac
+-
+-
+- sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
+- || (rm -f "$cfgfile"; exit 1)
+-
+- mv -f "$cfgfile" "$ofile" ||
++ sed '$q' "$ltmain" >> "$cfgfile" \
++ || (rm -f "$cfgfile"; exit 1)
++
++ if test x"$xsi_shell" = xyes; then
++ sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
++func_dirname ()\
++{\
++\ case ${1} in\
++\ */*) func_dirname_result="${1%/*}${2}" ;;\
++\ * ) func_dirname_result="${3}" ;;\
++\ esac\
++} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
++ && mv -f "$cfgfile.tmp" "$cfgfile" \
++ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++test 0 -eq $? || _lt_function_replace_fail=:
++
++
++ sed -e '/^func_basename ()$/,/^} # func_basename /c\
++func_basename ()\
++{\
++\ func_basename_result="${1##*/}"\
++} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
++ && mv -f "$cfgfile.tmp" "$cfgfile" \
++ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++test 0 -eq $? || _lt_function_replace_fail=:
++
++
++ sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
++func_dirname_and_basename ()\
++{\
++\ case ${1} in\
++\ */*) func_dirname_result="${1%/*}${2}" ;;\
++\ * ) func_dirname_result="${3}" ;;\
++\ esac\
++\ func_basename_result="${1##*/}"\
++} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
++ && mv -f "$cfgfile.tmp" "$cfgfile" \
++ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++test 0 -eq $? || _lt_function_replace_fail=:
++
++
++ sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
++func_stripname ()\
++{\
++\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
++\ # positional parameters, so assign one to ordinary parameter first.\
++\ func_stripname_result=${3}\
++\ func_stripname_result=${func_stripname_result#"${1}"}\
++\ func_stripname_result=${func_stripname_result%"${2}"}\
++} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
++ && mv -f "$cfgfile.tmp" "$cfgfile" \
++ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++test 0 -eq $? || _lt_function_replace_fail=:
++
++
++ sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
++func_split_long_opt ()\
++{\
++\ func_split_long_opt_name=${1%%=*}\
++\ func_split_long_opt_arg=${1#*=}\
++} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
++ && mv -f "$cfgfile.tmp" "$cfgfile" \
++ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++test 0 -eq $? || _lt_function_replace_fail=:
++
++
++ sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
++func_split_short_opt ()\
++{\
++\ func_split_short_opt_arg=${1#??}\
++\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
++} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
++ && mv -f "$cfgfile.tmp" "$cfgfile" \
++ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++test 0 -eq $? || _lt_function_replace_fail=:
++
++
++ sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
++func_lo2o ()\
++{\
++\ case ${1} in\
++\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
++\ *) func_lo2o_result=${1} ;;\
++\ esac\
++} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
++ && mv -f "$cfgfile.tmp" "$cfgfile" \
++ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++test 0 -eq $? || _lt_function_replace_fail=:
++
++
++ sed -e '/^func_xform ()$/,/^} # func_xform /c\
++func_xform ()\
++{\
++ func_xform_result=${1%.*}.lo\
++} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
++ && mv -f "$cfgfile.tmp" "$cfgfile" \
++ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++test 0 -eq $? || _lt_function_replace_fail=:
++
++
++ sed -e '/^func_arith ()$/,/^} # func_arith /c\
++func_arith ()\
++{\
++ func_arith_result=$(( $* ))\
++} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
++ && mv -f "$cfgfile.tmp" "$cfgfile" \
++ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++test 0 -eq $? || _lt_function_replace_fail=:
++
++
++ sed -e '/^func_len ()$/,/^} # func_len /c\
++func_len ()\
++{\
++ func_len_result=${#1}\
++} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
++ && mv -f "$cfgfile.tmp" "$cfgfile" \
++ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++test 0 -eq $? || _lt_function_replace_fail=:
++
++fi
++
++if test x"$lt_shell_append" = xyes; then
++ sed -e '/^func_append ()$/,/^} # func_append /c\
++func_append ()\
++{\
++ eval "${1}+=\\${2}"\
++} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
++ && mv -f "$cfgfile.tmp" "$cfgfile" \
++ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++test 0 -eq $? || _lt_function_replace_fail=:
++
++
++ sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
++func_append_quoted ()\
++{\
++\ func_quote_for_eval "${2}"\
++\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
++} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
++ && mv -f "$cfgfile.tmp" "$cfgfile" \
++ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++test 0 -eq $? || _lt_function_replace_fail=:
++
++
++ # Save a `func_append' function call where possible by direct use of '+='
++ sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
++ && mv -f "$cfgfile.tmp" "$cfgfile" \
++ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++ test 0 -eq $? || _lt_function_replace_fail=:
++else
++ # Save a `func_append' function call even when '+=' is not available
++ sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
++ && mv -f "$cfgfile.tmp" "$cfgfile" \
++ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
++ test 0 -eq $? || _lt_function_replace_fail=:
++fi
++
++if test x"$_lt_function_replace_fail" = x":"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
++$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
++fi
++
++
++ mv -f "$cfgfile" "$ofile" ||
+ (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
+ chmod +x "$ofile"
+
+diff --git a/libsframe/Makefile.in b/libsframe/Makefile.in
+index 9e3d268902b..c22ed33460a 100644
+--- a/libsframe/Makefile.in
++++ b/libsframe/Makefile.in
+@@ -1,7 +1,7 @@
+-# Makefile.in generated by automake 1.15.1 from Makefile.am.
++# Makefile.in generated by automake 1.16.5 from Makefile.am.
+ # @configure_input@
+
+-# Copyright (C) 1994-2017 Free Software Foundation, Inc.
++# Copyright (C) 1994-2021 Free Software Foundation, Inc.
+
+ # This Makefile.in is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -142,6 +142,13 @@ mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
+ CONFIG_HEADER = config.h
+ CONFIG_CLEAN_FILES =
+ CONFIG_CLEAN_VPATH_FILES =
++@HAVE_COMPAT_DEJAGNU_TRUE@am__EXEEXT_1 = testsuite/libsframe.decode/be-flipping$(EXEEXT) \
++@HAVE_COMPAT_DEJAGNU_TRUE@ testsuite/libsframe.decode/frecnt-1$(EXEEXT) \
++@HAVE_COMPAT_DEJAGNU_TRUE@ testsuite/libsframe.decode/frecnt-2$(EXEEXT) \
++@HAVE_COMPAT_DEJAGNU_TRUE@ testsuite/libsframe.encode/encode-1$(EXEEXT) \
++@HAVE_COMPAT_DEJAGNU_TRUE@ testsuite/libsframe.find/findfre-1$(EXEEXT) \
++@HAVE_COMPAT_DEJAGNU_TRUE@ testsuite/libsframe.find/findfunc-1$(EXEEXT) \
++@HAVE_COMPAT_DEJAGNU_TRUE@ testsuite/libsframe.find/plt-findfre-1$(EXEEXT)
+ am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+ am__vpath_adj = case $$p in \
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+@@ -185,45 +192,44 @@ libsframe_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
+ $(libsframe_la_LDFLAGS) $(LDFLAGS) -o $@
+ @INSTALL_LIBBFD_FALSE@am_libsframe_la_rpath =
+ @INSTALL_LIBBFD_TRUE@am_libsframe_la_rpath = -rpath $(libdir)
+-@HAVE_COMPAT_DEJAGNU_TRUE@am__EXEEXT_1 = testsuite/libsframe.decode/be-flipping$(EXEEXT) \
+-@HAVE_COMPAT_DEJAGNU_TRUE@ testsuite/libsframe.decode/frecnt-1$(EXEEXT) \
+-@HAVE_COMPAT_DEJAGNU_TRUE@ testsuite/libsframe.decode/frecnt-2$(EXEEXT) \
+-@HAVE_COMPAT_DEJAGNU_TRUE@ testsuite/libsframe.encode/encode-1$(EXEEXT) \
+-@HAVE_COMPAT_DEJAGNU_TRUE@ testsuite/libsframe.find/findfre-1$(EXEEXT) \
+-@HAVE_COMPAT_DEJAGNU_TRUE@ testsuite/libsframe.find/findfunc-1$(EXEEXT) \
+-@HAVE_COMPAT_DEJAGNU_TRUE@ testsuite/libsframe.find/plt-findfre-1$(EXEEXT)
+ am__dirstamp = $(am__leading_dot)dirstamp
+-am_testsuite_libsframe_decode_be_flipping_OBJECTS = testsuite/libsframe.decode/testsuite_libsframe_decode_be_flipping-be-flipping.$(OBJEXT)
++am_testsuite_libsframe_decode_be_flipping_OBJECTS = \
++ testsuite/libsframe.decode/be_flipping-be-flipping.$(OBJEXT)
+ testsuite_libsframe_decode_be_flipping_OBJECTS = \
+ $(am_testsuite_libsframe_decode_be_flipping_OBJECTS)
+ testsuite_libsframe_decode_be_flipping_DEPENDENCIES = \
+ ${top_builddir}/libsframe.la
+-am_testsuite_libsframe_decode_frecnt_1_OBJECTS = testsuite/libsframe.decode/testsuite_libsframe_decode_frecnt_1-frecnt-1.$(OBJEXT)
++am_testsuite_libsframe_decode_frecnt_1_OBJECTS = \
++ testsuite/libsframe.decode/frecnt_1-frecnt-1.$(OBJEXT)
+ testsuite_libsframe_decode_frecnt_1_OBJECTS = \
+ $(am_testsuite_libsframe_decode_frecnt_1_OBJECTS)
+ testsuite_libsframe_decode_frecnt_1_DEPENDENCIES = \
+ ${top_builddir}/libsframe.la
+-am_testsuite_libsframe_decode_frecnt_2_OBJECTS = testsuite/libsframe.decode/testsuite_libsframe_decode_frecnt_2-frecnt-2.$(OBJEXT)
++am_testsuite_libsframe_decode_frecnt_2_OBJECTS = \
++ testsuite/libsframe.decode/frecnt_2-frecnt-2.$(OBJEXT)
+ testsuite_libsframe_decode_frecnt_2_OBJECTS = \
+ $(am_testsuite_libsframe_decode_frecnt_2_OBJECTS)
+ testsuite_libsframe_decode_frecnt_2_DEPENDENCIES = \
+ ${top_builddir}/libsframe.la
+-am_testsuite_libsframe_encode_encode_1_OBJECTS = testsuite/libsframe.encode/testsuite_libsframe_encode_encode_1-encode-1.$(OBJEXT)
++am_testsuite_libsframe_encode_encode_1_OBJECTS = \
++ testsuite/libsframe.encode/encode_1-encode-1.$(OBJEXT)
+ testsuite_libsframe_encode_encode_1_OBJECTS = \
+ $(am_testsuite_libsframe_encode_encode_1_OBJECTS)
+ testsuite_libsframe_encode_encode_1_DEPENDENCIES = \
+ ${top_builddir}/libsframe.la
+-am_testsuite_libsframe_find_findfre_1_OBJECTS = testsuite/libsframe.find/testsuite_libsframe_find_findfre_1-findfre-1.$(OBJEXT)
++am_testsuite_libsframe_find_findfre_1_OBJECTS = \
++ testsuite/libsframe.find/findfre_1-findfre-1.$(OBJEXT)
+ testsuite_libsframe_find_findfre_1_OBJECTS = \
+ $(am_testsuite_libsframe_find_findfre_1_OBJECTS)
+ testsuite_libsframe_find_findfre_1_DEPENDENCIES = \
+ ${top_builddir}/libsframe.la
+-am_testsuite_libsframe_find_findfunc_1_OBJECTS = testsuite/libsframe.find/testsuite_libsframe_find_findfunc_1-findfunc-1.$(OBJEXT)
++am_testsuite_libsframe_find_findfunc_1_OBJECTS = \
++ testsuite/libsframe.find/findfunc_1-findfunc-1.$(OBJEXT)
+ testsuite_libsframe_find_findfunc_1_OBJECTS = \
+ $(am_testsuite_libsframe_find_findfunc_1_OBJECTS)
+ testsuite_libsframe_find_findfunc_1_DEPENDENCIES = \
+ ${top_builddir}/libsframe.la
+-am_testsuite_libsframe_find_plt_findfre_1_OBJECTS = testsuite/libsframe.find/testsuite_libsframe_find_plt_findfre_1-plt-findfre-1.$(OBJEXT)
++am_testsuite_libsframe_find_plt_findfre_1_OBJECTS = testsuite/libsframe.find/plt_findfre_1-plt-findfre-1.$(OBJEXT)
+ testsuite_libsframe_find_plt_findfre_1_OBJECTS = \
+ $(am_testsuite_libsframe_find_plt_findfre_1_OBJECTS)
+ testsuite_libsframe_find_plt_findfre_1_DEPENDENCIES = \
+@@ -242,7 +248,17 @@ am__v_at_0 = @
+ am__v_at_1 =
+ DEFAULT_INCLUDES = -I.@am__isrc@
+ depcomp = $(SHELL) $(top_srcdir)/../depcomp
+-am__depfiles_maybe = depfiles
++am__maybe_remake_depfiles = depfiles
++am__depfiles_remade = ./$(DEPDIR)/libsframe_la-sframe-dump.Plo \
++ ./$(DEPDIR)/libsframe_la-sframe-error.Plo \
++ ./$(DEPDIR)/libsframe_la-sframe.Plo \
++ testsuite/libsframe.decode/$(DEPDIR)/be_flipping-be-flipping.Po \
++ testsuite/libsframe.decode/$(DEPDIR)/frecnt_1-frecnt-1.Po \
++ testsuite/libsframe.decode/$(DEPDIR)/frecnt_2-frecnt-2.Po \
++ testsuite/libsframe.encode/$(DEPDIR)/encode_1-encode-1.Po \
++ testsuite/libsframe.find/$(DEPDIR)/findfre_1-findfre-1.Po \
++ testsuite/libsframe.find/$(DEPDIR)/findfunc_1-findfunc-1.Po \
++ testsuite/libsframe.find/$(DEPDIR)/plt_findfre_1-plt-findfre-1.Po
+ am__mv = mv -f
+ COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+@@ -325,8 +341,8 @@ am__can_run_installinfo = \
+ esac
+ am__include_HEADERS_DIST = $(INCDIR)/sframe.h $(INCDIR)/sframe-api.h
+ HEADERS = $(include_HEADERS)
+-am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
+- $(LISP)config.h.in
++am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) \
++ config.h.in
+ # Read a list of newline-separated strings from the standard input,
+ # and print each of them once, without duplicates. Input order is
+ # *not* preserved.
+@@ -343,9 +359,6 @@ am__define_uniq_tagged_files = \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | $(am__uniquify_input)`
+-ETAGS = etags
+-CTAGS = ctags
+-CSCOPE = cscope
+ AM_RECURSIVE_TARGETS = cscope
+ DEJATOOL = $(PACKAGE)
+ RUNTESTDEFAULTFLAGS = --tool $$tool --srcdir $$srcdir
+@@ -372,6 +385,8 @@ am__post_remove_distdir = $(am__remove_distdir)
+ DIST_ARCHIVES = $(distdir).tar.gz
+ GZIP_ENV = --best
+ DIST_TARGETS = dist-gzip
++# Exists only to be overridden by the user if desired.
++AM_DISTCHECK_DVI_TARGET = dvi
+ distuninstallcheck_listfiles = find . -type f -print
+ am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
+ | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
+@@ -390,15 +405,19 @@ CFLAGS = @CFLAGS@
+ COMPAT_DEJAGNU = @COMPAT_DEJAGNU@
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
++CSCOPE = @CSCOPE@
++CTAGS = @CTAGS@
+ CYGPATH_W = @CYGPATH_W@
+ DEFS = @DEFS@
+ DEPDIR = @DEPDIR@
++DLLTOOL = @DLLTOOL@
+ DSYMUTIL = @DSYMUTIL@
+ DUMPBIN = @DUMPBIN@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+ ECHO_T = @ECHO_T@
+ EGREP = @EGREP@
++ETAGS = @ETAGS@
+ EXEEXT = @EXEEXT@
+ FGREP = @FGREP@
+ GREP = @GREP@
+@@ -417,6 +436,7 @@ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAINT = @MAINT@
+ MAKEINFO = @MAKEINFO@
++MANIFEST_TOOL = @MANIFEST_TOOL@
+ MKDIR_P = @MKDIR_P@
+ NM = @NM@
+ NMEDIT = @NMEDIT@
+@@ -589,8 +609,8 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ echo ' $(SHELL) ./config.status'; \
+ $(SHELL) ./config.status;; \
+ *) \
+- echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
+- cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
++ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \
++ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \
+ esac;
+ $(srcdir)/doc/local.mk $(srcdir)/testsuite/local.mk $(srcdir)/testsuite/libsframe.decode/local.mk $(srcdir)/testsuite/libsframe.encode/local.mk $(srcdir)/testsuite/libsframe.find/local.mk $(am__empty):
+
+@@ -618,6 +638,15 @@ $(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+ distclean-hdr:
+ -rm -f config.h stamp-h1
+
++clean-checkPROGRAMS:
++ @list='$(check_PROGRAMS)'; test -n "$$list" || exit 0; \
++ echo " rm -f" $$list; \
++ rm -f $$list || exit $$?; \
++ test -n "$(EXEEXT)" || exit 0; \
++ list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
++ echo " rm -f" $$list; \
++ rm -f $$list
++
+ install-libLTLIBRARIES: $(lib_LTLIBRARIES)
+ @$(NORMAL_INSTALL)
+ @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
+@@ -666,36 +695,27 @@ clean-noinstLTLIBRARIES:
+
+ libsframe.la: $(libsframe_la_OBJECTS) $(libsframe_la_DEPENDENCIES) $(EXTRA_libsframe_la_DEPENDENCIES)
+ $(AM_V_CCLD)$(libsframe_la_LINK) $(am_libsframe_la_rpath) $(libsframe_la_OBJECTS) $(libsframe_la_LIBADD) $(LIBS)
+-
+-clean-checkPROGRAMS:
+- @list='$(check_PROGRAMS)'; test -n "$$list" || exit 0; \
+- echo " rm -f" $$list; \
+- rm -f $$list || exit $$?; \
+- test -n "$(EXEEXT)" || exit 0; \
+- list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
+- echo " rm -f" $$list; \
+- rm -f $$list
+ testsuite/libsframe.decode/$(am__dirstamp):
+ @$(MKDIR_P) testsuite/libsframe.decode
+ @: > testsuite/libsframe.decode/$(am__dirstamp)
+ testsuite/libsframe.decode/$(DEPDIR)/$(am__dirstamp):
+ @$(MKDIR_P) testsuite/libsframe.decode/$(DEPDIR)
+ @: > testsuite/libsframe.decode/$(DEPDIR)/$(am__dirstamp)
+-testsuite/libsframe.decode/testsuite_libsframe_decode_be_flipping-be-flipping.$(OBJEXT): \
++testsuite/libsframe.decode/be_flipping-be-flipping.$(OBJEXT): \
+ testsuite/libsframe.decode/$(am__dirstamp) \
+ testsuite/libsframe.decode/$(DEPDIR)/$(am__dirstamp)
+
+ testsuite/libsframe.decode/be-flipping$(EXEEXT): $(testsuite_libsframe_decode_be_flipping_OBJECTS) $(testsuite_libsframe_decode_be_flipping_DEPENDENCIES) $(EXTRA_testsuite_libsframe_decode_be_flipping_DEPENDENCIES) testsuite/libsframe.decode/$(am__dirstamp)
+ @rm -f testsuite/libsframe.decode/be-flipping$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(testsuite_libsframe_decode_be_flipping_OBJECTS) $(testsuite_libsframe_decode_be_flipping_LDADD) $(LIBS)
+-testsuite/libsframe.decode/testsuite_libsframe_decode_frecnt_1-frecnt-1.$(OBJEXT): \
++testsuite/libsframe.decode/frecnt_1-frecnt-1.$(OBJEXT): \
+ testsuite/libsframe.decode/$(am__dirstamp) \
+ testsuite/libsframe.decode/$(DEPDIR)/$(am__dirstamp)
+
+ testsuite/libsframe.decode/frecnt-1$(EXEEXT): $(testsuite_libsframe_decode_frecnt_1_OBJECTS) $(testsuite_libsframe_decode_frecnt_1_DEPENDENCIES) $(EXTRA_testsuite_libsframe_decode_frecnt_1_DEPENDENCIES) testsuite/libsframe.decode/$(am__dirstamp)
+ @rm -f testsuite/libsframe.decode/frecnt-1$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(testsuite_libsframe_decode_frecnt_1_OBJECTS) $(testsuite_libsframe_decode_frecnt_1_LDADD) $(LIBS)
+-testsuite/libsframe.decode/testsuite_libsframe_decode_frecnt_2-frecnt-2.$(OBJEXT): \
++testsuite/libsframe.decode/frecnt_2-frecnt-2.$(OBJEXT): \
+ testsuite/libsframe.decode/$(am__dirstamp) \
+ testsuite/libsframe.decode/$(DEPDIR)/$(am__dirstamp)
+
+@@ -708,7 +728,7 @@ testsuite/libsframe.encode/$(am__dirstamp):
+ testsuite/libsframe.encode/$(DEPDIR)/$(am__dirstamp):
+ @$(MKDIR_P) testsuite/libsframe.encode/$(DEPDIR)
+ @: > testsuite/libsframe.encode/$(DEPDIR)/$(am__dirstamp)
+-testsuite/libsframe.encode/testsuite_libsframe_encode_encode_1-encode-1.$(OBJEXT): \
++testsuite/libsframe.encode/encode_1-encode-1.$(OBJEXT): \
+ testsuite/libsframe.encode/$(am__dirstamp) \
+ testsuite/libsframe.encode/$(DEPDIR)/$(am__dirstamp)
+
+@@ -721,21 +741,21 @@ testsuite/libsframe.find/$(am__dirstamp):
+ testsuite/libsframe.find/$(DEPDIR)/$(am__dirstamp):
+ @$(MKDIR_P) testsuite/libsframe.find/$(DEPDIR)
+ @: > testsuite/libsframe.find/$(DEPDIR)/$(am__dirstamp)
+-testsuite/libsframe.find/testsuite_libsframe_find_findfre_1-findfre-1.$(OBJEXT): \
++testsuite/libsframe.find/findfre_1-findfre-1.$(OBJEXT): \
+ testsuite/libsframe.find/$(am__dirstamp) \
+ testsuite/libsframe.find/$(DEPDIR)/$(am__dirstamp)
+
+ testsuite/libsframe.find/findfre-1$(EXEEXT): $(testsuite_libsframe_find_findfre_1_OBJECTS) $(testsuite_libsframe_find_findfre_1_DEPENDENCIES) $(EXTRA_testsuite_libsframe_find_findfre_1_DEPENDENCIES) testsuite/libsframe.find/$(am__dirstamp)
+ @rm -f testsuite/libsframe.find/findfre-1$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(testsuite_libsframe_find_findfre_1_OBJECTS) $(testsuite_libsframe_find_findfre_1_LDADD) $(LIBS)
+-testsuite/libsframe.find/testsuite_libsframe_find_findfunc_1-findfunc-1.$(OBJEXT): \
++testsuite/libsframe.find/findfunc_1-findfunc-1.$(OBJEXT): \
+ testsuite/libsframe.find/$(am__dirstamp) \
+ testsuite/libsframe.find/$(DEPDIR)/$(am__dirstamp)
+
+ testsuite/libsframe.find/findfunc-1$(EXEEXT): $(testsuite_libsframe_find_findfunc_1_OBJECTS) $(testsuite_libsframe_find_findfunc_1_DEPENDENCIES) $(EXTRA_testsuite_libsframe_find_findfunc_1_DEPENDENCIES) testsuite/libsframe.find/$(am__dirstamp)
+ @rm -f testsuite/libsframe.find/findfunc-1$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(testsuite_libsframe_find_findfunc_1_OBJECTS) $(testsuite_libsframe_find_findfunc_1_LDADD) $(LIBS)
+-testsuite/libsframe.find/testsuite_libsframe_find_plt_findfre_1-plt-findfre-1.$(OBJEXT): \
++testsuite/libsframe.find/plt_findfre_1-plt-findfre-1.$(OBJEXT): \
+ testsuite/libsframe.find/$(am__dirstamp) \
+ testsuite/libsframe.find/$(DEPDIR)/$(am__dirstamp)
+
+@@ -752,16 +772,22 @@ mostlyclean-compile:
+ distclean-compile:
+ -rm -f *.tab.c
+
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsframe_la-sframe-dump.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsframe_la-sframe-error.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsframe_la-sframe.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@testsuite/libsframe.decode/$(DEPDIR)/testsuite_libsframe_decode_be_flipping-be-flipping.Po@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@testsuite/libsframe.decode/$(DEPDIR)/testsuite_libsframe_decode_frecnt_1-frecnt-1.Po@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@testsuite/libsframe.decode/$(DEPDIR)/testsuite_libsframe_decode_frecnt_2-frecnt-2.Po@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@testsuite/libsframe.encode/$(DEPDIR)/testsuite_libsframe_encode_encode_1-encode-1.Po@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@testsuite/libsframe.find/$(DEPDIR)/testsuite_libsframe_find_findfre_1-findfre-1.Po@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@testsuite/libsframe.find/$(DEPDIR)/testsuite_libsframe_find_findfunc_1-findfunc-1.Po@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@testsuite/libsframe.find/$(DEPDIR)/testsuite_libsframe_find_plt_findfre_1-plt-findfre-1.Po@am__quote@
++@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsframe_la-sframe-dump.Plo@am__quote@ # am--include-marker
++@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsframe_la-sframe-error.Plo@am__quote@ # am--include-marker
++@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsframe_la-sframe.Plo@am__quote@ # am--include-marker
++@AMDEP_TRUE@@am__include@ @am__quote@testsuite/libsframe.decode/$(DEPDIR)/be_flipping-be-flipping.Po@am__quote@ # am--include-marker
++@AMDEP_TRUE@@am__include@ @am__quote@testsuite/libsframe.decode/$(DEPDIR)/frecnt_1-frecnt-1.Po@am__quote@ # am--include-marker
++@AMDEP_TRUE@@am__include@ @am__quote@testsuite/libsframe.decode/$(DEPDIR)/frecnt_2-frecnt-2.Po@am__quote@ # am--include-marker
++@AMDEP_TRUE@@am__include@ @am__quote@testsuite/libsframe.encode/$(DEPDIR)/encode_1-encode-1.Po@am__quote@ # am--include-marker
++@AMDEP_TRUE@@am__include@ @am__quote@testsuite/libsframe.find/$(DEPDIR)/findfre_1-findfre-1.Po@am__quote@ # am--include-marker
++@AMDEP_TRUE@@am__include@ @am__quote@testsuite/libsframe.find/$(DEPDIR)/findfunc_1-findfunc-1.Po@am__quote@ # am--include-marker
++@AMDEP_TRUE@@am__include@ @am__quote@testsuite/libsframe.find/$(DEPDIR)/plt_findfre_1-plt-findfre-1.Po@am__quote@ # am--include-marker
++
++$(am__depfiles_remade):
++ @$(MKDIR_P) $(@D)
++ @echo '# dummy' >$@-t && $(am__mv) $@-t $@
++
++am--depfiles: $(am__depfiles_remade)
+
+ .c.o:
+ @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
+@@ -808,103 +834,103 @@ libsframe_la-sframe-error.lo: sframe-error.c
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsframe_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libsframe_la-sframe-error.lo `test -f 'sframe-error.c' || echo '$(srcdir)/'`sframe-error.c
+
+-testsuite/libsframe.decode/testsuite_libsframe_decode_be_flipping-be-flipping.o: testsuite/libsframe.decode/be-flipping.c
+-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testsuite_libsframe_decode_be_flipping_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT testsuite/libsframe.decode/testsuite_libsframe_decode_be_flipping-be-flipping.o -MD -MP -MF testsuite/libsframe.decode/$(DEPDIR)/testsuite_libsframe_decode_be_flipping-be-flipping.Tpo -c -o testsuite/libsframe.decode/testsuite_libsframe_decode_be_flipping-be-flipping.o `test -f 'testsuite/libsframe.decode/be-flipping.c' || echo '$(srcdir)/'`testsuite/libsframe.decode/be-flipping.c
+-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) testsuite/libsframe.decode/$(DEPDIR)/testsuite_libsframe_decode_be_flipping-be-flipping.Tpo testsuite/libsframe.decode/$(DEPDIR)/testsuite_libsframe_decode_be_flipping-be-flipping.Po
+-@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='testsuite/libsframe.decode/be-flipping.c' object='testsuite/libsframe.decode/testsuite_libsframe_decode_be_flipping-be-flipping.o' libtool=no @AMDEPBACKSLASH@
++testsuite/libsframe.decode/be_flipping-be-flipping.o: testsuite/libsframe.decode/be-flipping.c
++@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testsuite_libsframe_decode_be_flipping_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT testsuite/libsframe.decode/be_flipping-be-flipping.o -MD -MP -MF testsuite/libsframe.decode/$(DEPDIR)/be_flipping-be-flipping.Tpo -c -o testsuite/libsframe.decode/be_flipping-be-flipping.o `test -f 'testsuite/libsframe.decode/be-flipping.c' || echo '$(srcdir)/'`testsuite/libsframe.decode/be-flipping.c
++@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) testsuite/libsframe.decode/$(DEPDIR)/be_flipping-be-flipping.Tpo testsuite/libsframe.decode/$(DEPDIR)/be_flipping-be-flipping.Po
++@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='testsuite/libsframe.decode/be-flipping.c' object='testsuite/libsframe.decode/be_flipping-be-flipping.o' libtool=no @AMDEPBACKSLASH@
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+-@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testsuite_libsframe_decode_be_flipping_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o testsuite/libsframe.decode/testsuite_libsframe_decode_be_flipping-be-flipping.o `test -f 'testsuite/libsframe.decode/be-flipping.c' || echo '$(srcdir)/'`testsuite/libsframe.decode/be-flipping.c
++@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testsuite_libsframe_decode_be_flipping_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o testsuite/libsframe.decode/be_flipping-be-flipping.o `test -f 'testsuite/libsframe.decode/be-flipping.c' || echo '$(srcdir)/'`testsuite/libsframe.decode/be-flipping.c
+
+-testsuite/libsframe.decode/testsuite_libsframe_decode_be_flipping-be-flipping.obj: testsuite/libsframe.decode/be-flipping.c
+-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testsuite_libsframe_decode_be_flipping_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT testsuite/libsframe.decode/testsuite_libsframe_decode_be_flipping-be-flipping.obj -MD -MP -MF testsuite/libsframe.decode/$(DEPDIR)/testsuite_libsframe_decode_be_flipping-be-flipping.Tpo -c -o testsuite/libsframe.decode/testsuite_libsframe_decode_be_flipping-be-flipping.obj `if test -f 'testsuite/libsframe.decode/be-flipping.c'; then $(CYGPATH_W) 'testsuite/libsframe.decode/be-flipping.c'; else $(CYGPATH_W) '$(srcdir)/testsuite/libsframe.decode/be-flipping.c'; fi`
+-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) testsuite/libsframe.decode/$(DEPDIR)/testsuite_libsframe_decode_be_flipping-be-flipping.Tpo testsuite/libsframe.decode/$(DEPDIR)/testsuite_libsframe_decode_be_flipping-be-flipping.Po
+-@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='testsuite/libsframe.decode/be-flipping.c' object='testsuite/libsframe.decode/testsuite_libsframe_decode_be_flipping-be-flipping.obj' libtool=no @AMDEPBACKSLASH@
++testsuite/libsframe.decode/be_flipping-be-flipping.obj: testsuite/libsframe.decode/be-flipping.c
++@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testsuite_libsframe_decode_be_flipping_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT testsuite/libsframe.decode/be_flipping-be-flipping.obj -MD -MP -MF testsuite/libsframe.decode/$(DEPDIR)/be_flipping-be-flipping.Tpo -c -o testsuite/libsframe.decode/be_flipping-be-flipping.obj `if test -f 'testsuite/libsframe.decode/be-flipping.c'; then $(CYGPATH_W) 'testsuite/libsframe.decode/be-flipping.c'; else $(CYGPATH_W) '$(srcdir)/testsuite/libsframe.decode/be-flipping.c'; fi`
++@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) testsuite/libsframe.decode/$(DEPDIR)/be_flipping-be-flipping.Tpo testsuite/libsframe.decode/$(DEPDIR)/be_flipping-be-flipping.Po
++@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='testsuite/libsframe.decode/be-flipping.c' object='testsuite/libsframe.decode/be_flipping-be-flipping.obj' libtool=no @AMDEPBACKSLASH@
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+-@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testsuite_libsframe_decode_be_flipping_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o testsuite/libsframe.decode/testsuite_libsframe_decode_be_flipping-be-flipping.obj `if test -f 'testsuite/libsframe.decode/be-flipping.c'; then $(CYGPATH_W) 'testsuite/libsframe.decode/be-flipping.c'; else $(CYGPATH_W) '$(srcdir)/testsuite/libsframe.decode/be-flipping.c'; fi`
++@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testsuite_libsframe_decode_be_flipping_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o testsuite/libsframe.decode/be_flipping-be-flipping.obj `if test -f 'testsuite/libsframe.decode/be-flipping.c'; then $(CYGPATH_W) 'testsuite/libsframe.decode/be-flipping.c'; else $(CYGPATH_W) '$(srcdir)/testsuite/libsframe.decode/be-flipping.c'; fi`
+
+-testsuite/libsframe.decode/testsuite_libsframe_decode_frecnt_1-frecnt-1.o: testsuite/libsframe.decode/frecnt-1.c
+-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testsuite_libsframe_decode_frecnt_1_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT testsuite/libsframe.decode/testsuite_libsframe_decode_frecnt_1-frecnt-1.o -MD -MP -MF testsuite/libsframe.decode/$(DEPDIR)/testsuite_libsframe_decode_frecnt_1-frecnt-1.Tpo -c -o testsuite/libsframe.decode/testsuite_libsframe_decode_frecnt_1-frecnt-1.o `test -f 'testsuite/libsframe.decode/frecnt-1.c' || echo '$(srcdir)/'`testsuite/libsframe.decode/frecnt-1.c
+-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) testsuite/libsframe.decode/$(DEPDIR)/testsuite_libsframe_decode_frecnt_1-frecnt-1.Tpo testsuite/libsframe.decode/$(DEPDIR)/testsuite_libsframe_decode_frecnt_1-frecnt-1.Po
+-@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='testsuite/libsframe.decode/frecnt-1.c' object='testsuite/libsframe.decode/testsuite_libsframe_decode_frecnt_1-frecnt-1.o' libtool=no @AMDEPBACKSLASH@
++testsuite/libsframe.decode/frecnt_1-frecnt-1.o: testsuite/libsframe.decode/frecnt-1.c
++@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testsuite_libsframe_decode_frecnt_1_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT testsuite/libsframe.decode/frecnt_1-frecnt-1.o -MD -MP -MF testsuite/libsframe.decode/$(DEPDIR)/frecnt_1-frecnt-1.Tpo -c -o testsuite/libsframe.decode/frecnt_1-frecnt-1.o `test -f 'testsuite/libsframe.decode/frecnt-1.c' || echo '$(srcdir)/'`testsuite/libsframe.decode/frecnt-1.c
++@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) testsuite/libsframe.decode/$(DEPDIR)/frecnt_1-frecnt-1.Tpo testsuite/libsframe.decode/$(DEPDIR)/frecnt_1-frecnt-1.Po
++@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='testsuite/libsframe.decode/frecnt-1.c' object='testsuite/libsframe.decode/frecnt_1-frecnt-1.o' libtool=no @AMDEPBACKSLASH@
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+-@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testsuite_libsframe_decode_frecnt_1_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o testsuite/libsframe.decode/testsuite_libsframe_decode_frecnt_1-frecnt-1.o `test -f 'testsuite/libsframe.decode/frecnt-1.c' || echo '$(srcdir)/'`testsuite/libsframe.decode/frecnt-1.c
++@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testsuite_libsframe_decode_frecnt_1_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o testsuite/libsframe.decode/frecnt_1-frecnt-1.o `test -f 'testsuite/libsframe.decode/frecnt-1.c' || echo '$(srcdir)/'`testsuite/libsframe.decode/frecnt-1.c
+
+-testsuite/libsframe.decode/testsuite_libsframe_decode_frecnt_1-frecnt-1.obj: testsuite/libsframe.decode/frecnt-1.c
+-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testsuite_libsframe_decode_frecnt_1_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT testsuite/libsframe.decode/testsuite_libsframe_decode_frecnt_1-frecnt-1.obj -MD -MP -MF testsuite/libsframe.decode/$(DEPDIR)/testsuite_libsframe_decode_frecnt_1-frecnt-1.Tpo -c -o testsuite/libsframe.decode/testsuite_libsframe_decode_frecnt_1-frecnt-1.obj `if test -f 'testsuite/libsframe.decode/frecnt-1.c'; then $(CYGPATH_W) 'testsuite/libsframe.decode/frecnt-1.c'; else $(CYGPATH_W) '$(srcdir)/testsuite/libsframe.decode/frecnt-1.c'; fi`
+-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) testsuite/libsframe.decode/$(DEPDIR)/testsuite_libsframe_decode_frecnt_1-frecnt-1.Tpo testsuite/libsframe.decode/$(DEPDIR)/testsuite_libsframe_decode_frecnt_1-frecnt-1.Po
+-@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='testsuite/libsframe.decode/frecnt-1.c' object='testsuite/libsframe.decode/testsuite_libsframe_decode_frecnt_1-frecnt-1.obj' libtool=no @AMDEPBACKSLASH@
++testsuite/libsframe.decode/frecnt_1-frecnt-1.obj: testsuite/libsframe.decode/frecnt-1.c
++@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testsuite_libsframe_decode_frecnt_1_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT testsuite/libsframe.decode/frecnt_1-frecnt-1.obj -MD -MP -MF testsuite/libsframe.decode/$(DEPDIR)/frecnt_1-frecnt-1.Tpo -c -o testsuite/libsframe.decode/frecnt_1-frecnt-1.obj `if test -f 'testsuite/libsframe.decode/frecnt-1.c'; then $(CYGPATH_W) 'testsuite/libsframe.decode/frecnt-1.c'; else $(CYGPATH_W) '$(srcdir)/testsuite/libsframe.decode/frecnt-1.c'; fi`
++@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) testsuite/libsframe.decode/$(DEPDIR)/frecnt_1-frecnt-1.Tpo testsuite/libsframe.decode/$(DEPDIR)/frecnt_1-frecnt-1.Po
++@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='testsuite/libsframe.decode/frecnt-1.c' object='testsuite/libsframe.decode/frecnt_1-frecnt-1.obj' libtool=no @AMDEPBACKSLASH@
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+-@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testsuite_libsframe_decode_frecnt_1_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o testsuite/libsframe.decode/testsuite_libsframe_decode_frecnt_1-frecnt-1.obj `if test -f 'testsuite/libsframe.decode/frecnt-1.c'; then $(CYGPATH_W) 'testsuite/libsframe.decode/frecnt-1.c'; else $(CYGPATH_W) '$(srcdir)/testsuite/libsframe.decode/frecnt-1.c'; fi`
++@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testsuite_libsframe_decode_frecnt_1_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o testsuite/libsframe.decode/frecnt_1-frecnt-1.obj `if test -f 'testsuite/libsframe.decode/frecnt-1.c'; then $(CYGPATH_W) 'testsuite/libsframe.decode/frecnt-1.c'; else $(CYGPATH_W) '$(srcdir)/testsuite/libsframe.decode/frecnt-1.c'; fi`
+
+-testsuite/libsframe.decode/testsuite_libsframe_decode_frecnt_2-frecnt-2.o: testsuite/libsframe.decode/frecnt-2.c
+-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testsuite_libsframe_decode_frecnt_2_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT testsuite/libsframe.decode/testsuite_libsframe_decode_frecnt_2-frecnt-2.o -MD -MP -MF testsuite/libsframe.decode/$(DEPDIR)/testsuite_libsframe_decode_frecnt_2-frecnt-2.Tpo -c -o testsuite/libsframe.decode/testsuite_libsframe_decode_frecnt_2-frecnt-2.o `test -f 'testsuite/libsframe.decode/frecnt-2.c' || echo '$(srcdir)/'`testsuite/libsframe.decode/frecnt-2.c
+-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) testsuite/libsframe.decode/$(DEPDIR)/testsuite_libsframe_decode_frecnt_2-frecnt-2.Tpo testsuite/libsframe.decode/$(DEPDIR)/testsuite_libsframe_decode_frecnt_2-frecnt-2.Po
+-@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='testsuite/libsframe.decode/frecnt-2.c' object='testsuite/libsframe.decode/testsuite_libsframe_decode_frecnt_2-frecnt-2.o' libtool=no @AMDEPBACKSLASH@
++testsuite/libsframe.decode/frecnt_2-frecnt-2.o: testsuite/libsframe.decode/frecnt-2.c
++@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testsuite_libsframe_decode_frecnt_2_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT testsuite/libsframe.decode/frecnt_2-frecnt-2.o -MD -MP -MF testsuite/libsframe.decode/$(DEPDIR)/frecnt_2-frecnt-2.Tpo -c -o testsuite/libsframe.decode/frecnt_2-frecnt-2.o `test -f 'testsuite/libsframe.decode/frecnt-2.c' || echo '$(srcdir)/'`testsuite/libsframe.decode/frecnt-2.c
++@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) testsuite/libsframe.decode/$(DEPDIR)/frecnt_2-frecnt-2.Tpo testsuite/libsframe.decode/$(DEPDIR)/frecnt_2-frecnt-2.Po
++@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='testsuite/libsframe.decode/frecnt-2.c' object='testsuite/libsframe.decode/frecnt_2-frecnt-2.o' libtool=no @AMDEPBACKSLASH@
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+-@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testsuite_libsframe_decode_frecnt_2_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o testsuite/libsframe.decode/testsuite_libsframe_decode_frecnt_2-frecnt-2.o `test -f 'testsuite/libsframe.decode/frecnt-2.c' || echo '$(srcdir)/'`testsuite/libsframe.decode/frecnt-2.c
++@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testsuite_libsframe_decode_frecnt_2_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o testsuite/libsframe.decode/frecnt_2-frecnt-2.o `test -f 'testsuite/libsframe.decode/frecnt-2.c' || echo '$(srcdir)/'`testsuite/libsframe.decode/frecnt-2.c
+
+-testsuite/libsframe.decode/testsuite_libsframe_decode_frecnt_2-frecnt-2.obj: testsuite/libsframe.decode/frecnt-2.c
+-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testsuite_libsframe_decode_frecnt_2_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT testsuite/libsframe.decode/testsuite_libsframe_decode_frecnt_2-frecnt-2.obj -MD -MP -MF testsuite/libsframe.decode/$(DEPDIR)/testsuite_libsframe_decode_frecnt_2-frecnt-2.Tpo -c -o testsuite/libsframe.decode/testsuite_libsframe_decode_frecnt_2-frecnt-2.obj `if test -f 'testsuite/libsframe.decode/frecnt-2.c'; then $(CYGPATH_W) 'testsuite/libsframe.decode/frecnt-2.c'; else $(CYGPATH_W) '$(srcdir)/testsuite/libsframe.decode/frecnt-2.c'; fi`
+-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) testsuite/libsframe.decode/$(DEPDIR)/testsuite_libsframe_decode_frecnt_2-frecnt-2.Tpo testsuite/libsframe.decode/$(DEPDIR)/testsuite_libsframe_decode_frecnt_2-frecnt-2.Po
+-@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='testsuite/libsframe.decode/frecnt-2.c' object='testsuite/libsframe.decode/testsuite_libsframe_decode_frecnt_2-frecnt-2.obj' libtool=no @AMDEPBACKSLASH@
++testsuite/libsframe.decode/frecnt_2-frecnt-2.obj: testsuite/libsframe.decode/frecnt-2.c
++@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testsuite_libsframe_decode_frecnt_2_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT testsuite/libsframe.decode/frecnt_2-frecnt-2.obj -MD -MP -MF testsuite/libsframe.decode/$(DEPDIR)/frecnt_2-frecnt-2.Tpo -c -o testsuite/libsframe.decode/frecnt_2-frecnt-2.obj `if test -f 'testsuite/libsframe.decode/frecnt-2.c'; then $(CYGPATH_W) 'testsuite/libsframe.decode/frecnt-2.c'; else $(CYGPATH_W) '$(srcdir)/testsuite/libsframe.decode/frecnt-2.c'; fi`
++@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) testsuite/libsframe.decode/$(DEPDIR)/frecnt_2-frecnt-2.Tpo testsuite/libsframe.decode/$(DEPDIR)/frecnt_2-frecnt-2.Po
++@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='testsuite/libsframe.decode/frecnt-2.c' object='testsuite/libsframe.decode/frecnt_2-frecnt-2.obj' libtool=no @AMDEPBACKSLASH@
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+-@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testsuite_libsframe_decode_frecnt_2_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o testsuite/libsframe.decode/testsuite_libsframe_decode_frecnt_2-frecnt-2.obj `if test -f 'testsuite/libsframe.decode/frecnt-2.c'; then $(CYGPATH_W) 'testsuite/libsframe.decode/frecnt-2.c'; else $(CYGPATH_W) '$(srcdir)/testsuite/libsframe.decode/frecnt-2.c'; fi`
++@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testsuite_libsframe_decode_frecnt_2_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o testsuite/libsframe.decode/frecnt_2-frecnt-2.obj `if test -f 'testsuite/libsframe.decode/frecnt-2.c'; then $(CYGPATH_W) 'testsuite/libsframe.decode/frecnt-2.c'; else $(CYGPATH_W) '$(srcdir)/testsuite/libsframe.decode/frecnt-2.c'; fi`
+
+-testsuite/libsframe.encode/testsuite_libsframe_encode_encode_1-encode-1.o: testsuite/libsframe.encode/encode-1.c
+-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testsuite_libsframe_encode_encode_1_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT testsuite/libsframe.encode/testsuite_libsframe_encode_encode_1-encode-1.o -MD -MP -MF testsuite/libsframe.encode/$(DEPDIR)/testsuite_libsframe_encode_encode_1-encode-1.Tpo -c -o testsuite/libsframe.encode/testsuite_libsframe_encode_encode_1-encode-1.o `test -f 'testsuite/libsframe.encode/encode-1.c' || echo '$(srcdir)/'`testsuite/libsframe.encode/encode-1.c
+-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) testsuite/libsframe.encode/$(DEPDIR)/testsuite_libsframe_encode_encode_1-encode-1.Tpo testsuite/libsframe.encode/$(DEPDIR)/testsuite_libsframe_encode_encode_1-encode-1.Po
+-@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='testsuite/libsframe.encode/encode-1.c' object='testsuite/libsframe.encode/testsuite_libsframe_encode_encode_1-encode-1.o' libtool=no @AMDEPBACKSLASH@
++testsuite/libsframe.encode/encode_1-encode-1.o: testsuite/libsframe.encode/encode-1.c
++@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testsuite_libsframe_encode_encode_1_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT testsuite/libsframe.encode/encode_1-encode-1.o -MD -MP -MF testsuite/libsframe.encode/$(DEPDIR)/encode_1-encode-1.Tpo -c -o testsuite/libsframe.encode/encode_1-encode-1.o `test -f 'testsuite/libsframe.encode/encode-1.c' || echo '$(srcdir)/'`testsuite/libsframe.encode/encode-1.c
++@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) testsuite/libsframe.encode/$(DEPDIR)/encode_1-encode-1.Tpo testsuite/libsframe.encode/$(DEPDIR)/encode_1-encode-1.Po
++@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='testsuite/libsframe.encode/encode-1.c' object='testsuite/libsframe.encode/encode_1-encode-1.o' libtool=no @AMDEPBACKSLASH@
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+-@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testsuite_libsframe_encode_encode_1_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o testsuite/libsframe.encode/testsuite_libsframe_encode_encode_1-encode-1.o `test -f 'testsuite/libsframe.encode/encode-1.c' || echo '$(srcdir)/'`testsuite/libsframe.encode/encode-1.c
++@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testsuite_libsframe_encode_encode_1_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o testsuite/libsframe.encode/encode_1-encode-1.o `test -f 'testsuite/libsframe.encode/encode-1.c' || echo '$(srcdir)/'`testsuite/libsframe.encode/encode-1.c
+
+-testsuite/libsframe.encode/testsuite_libsframe_encode_encode_1-encode-1.obj: testsuite/libsframe.encode/encode-1.c
+-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testsuite_libsframe_encode_encode_1_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT testsuite/libsframe.encode/testsuite_libsframe_encode_encode_1-encode-1.obj -MD -MP -MF testsuite/libsframe.encode/$(DEPDIR)/testsuite_libsframe_encode_encode_1-encode-1.Tpo -c -o testsuite/libsframe.encode/testsuite_libsframe_encode_encode_1-encode-1.obj `if test -f 'testsuite/libsframe.encode/encode-1.c'; then $(CYGPATH_W) 'testsuite/libsframe.encode/encode-1.c'; else $(CYGPATH_W) '$(srcdir)/testsuite/libsframe.encode/encode-1.c'; fi`
+-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) testsuite/libsframe.encode/$(DEPDIR)/testsuite_libsframe_encode_encode_1-encode-1.Tpo testsuite/libsframe.encode/$(DEPDIR)/testsuite_libsframe_encode_encode_1-encode-1.Po
+-@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='testsuite/libsframe.encode/encode-1.c' object='testsuite/libsframe.encode/testsuite_libsframe_encode_encode_1-encode-1.obj' libtool=no @AMDEPBACKSLASH@
++testsuite/libsframe.encode/encode_1-encode-1.obj: testsuite/libsframe.encode/encode-1.c
++@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testsuite_libsframe_encode_encode_1_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT testsuite/libsframe.encode/encode_1-encode-1.obj -MD -MP -MF testsuite/libsframe.encode/$(DEPDIR)/encode_1-encode-1.Tpo -c -o testsuite/libsframe.encode/encode_1-encode-1.obj `if test -f 'testsuite/libsframe.encode/encode-1.c'; then $(CYGPATH_W) 'testsuite/libsframe.encode/encode-1.c'; else $(CYGPATH_W) '$(srcdir)/testsuite/libsframe.encode/encode-1.c'; fi`
++@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) testsuite/libsframe.encode/$(DEPDIR)/encode_1-encode-1.Tpo testsuite/libsframe.encode/$(DEPDIR)/encode_1-encode-1.Po
++@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='testsuite/libsframe.encode/encode-1.c' object='testsuite/libsframe.encode/encode_1-encode-1.obj' libtool=no @AMDEPBACKSLASH@
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+-@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testsuite_libsframe_encode_encode_1_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o testsuite/libsframe.encode/testsuite_libsframe_encode_encode_1-encode-1.obj `if test -f 'testsuite/libsframe.encode/encode-1.c'; then $(CYGPATH_W) 'testsuite/libsframe.encode/encode-1.c'; else $(CYGPATH_W) '$(srcdir)/testsuite/libsframe.encode/encode-1.c'; fi`
++@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testsuite_libsframe_encode_encode_1_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o testsuite/libsframe.encode/encode_1-encode-1.obj `if test -f 'testsuite/libsframe.encode/encode-1.c'; then $(CYGPATH_W) 'testsuite/libsframe.encode/encode-1.c'; else $(CYGPATH_W) '$(srcdir)/testsuite/libsframe.encode/encode-1.c'; fi`
+
+-testsuite/libsframe.find/testsuite_libsframe_find_findfre_1-findfre-1.o: testsuite/libsframe.find/findfre-1.c
+-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testsuite_libsframe_find_findfre_1_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT testsuite/libsframe.find/testsuite_libsframe_find_findfre_1-findfre-1.o -MD -MP -MF testsuite/libsframe.find/$(DEPDIR)/testsuite_libsframe_find_findfre_1-findfre-1.Tpo -c -o testsuite/libsframe.find/testsuite_libsframe_find_findfre_1-findfre-1.o `test -f 'testsuite/libsframe.find/findfre-1.c' || echo '$(srcdir)/'`testsuite/libsframe.find/findfre-1.c
+-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) testsuite/libsframe.find/$(DEPDIR)/testsuite_libsframe_find_findfre_1-findfre-1.Tpo testsuite/libsframe.find/$(DEPDIR)/testsuite_libsframe_find_findfre_1-findfre-1.Po
+-@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='testsuite/libsframe.find/findfre-1.c' object='testsuite/libsframe.find/testsuite_libsframe_find_findfre_1-findfre-1.o' libtool=no @AMDEPBACKSLASH@
++testsuite/libsframe.find/findfre_1-findfre-1.o: testsuite/libsframe.find/findfre-1.c
++@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testsuite_libsframe_find_findfre_1_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT testsuite/libsframe.find/findfre_1-findfre-1.o -MD -MP -MF testsuite/libsframe.find/$(DEPDIR)/findfre_1-findfre-1.Tpo -c -o testsuite/libsframe.find/findfre_1-findfre-1.o `test -f 'testsuite/libsframe.find/findfre-1.c' || echo '$(srcdir)/'`testsuite/libsframe.find/findfre-1.c
++@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) testsuite/libsframe.find/$(DEPDIR)/findfre_1-findfre-1.Tpo testsuite/libsframe.find/$(DEPDIR)/findfre_1-findfre-1.Po
++@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='testsuite/libsframe.find/findfre-1.c' object='testsuite/libsframe.find/findfre_1-findfre-1.o' libtool=no @AMDEPBACKSLASH@
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+-@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testsuite_libsframe_find_findfre_1_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o testsuite/libsframe.find/testsuite_libsframe_find_findfre_1-findfre-1.o `test -f 'testsuite/libsframe.find/findfre-1.c' || echo '$(srcdir)/'`testsuite/libsframe.find/findfre-1.c
++@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testsuite_libsframe_find_findfre_1_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o testsuite/libsframe.find/findfre_1-findfre-1.o `test -f 'testsuite/libsframe.find/findfre-1.c' || echo '$(srcdir)/'`testsuite/libsframe.find/findfre-1.c
+
+-testsuite/libsframe.find/testsuite_libsframe_find_findfre_1-findfre-1.obj: testsuite/libsframe.find/findfre-1.c
+-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testsuite_libsframe_find_findfre_1_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT testsuite/libsframe.find/testsuite_libsframe_find_findfre_1-findfre-1.obj -MD -MP -MF testsuite/libsframe.find/$(DEPDIR)/testsuite_libsframe_find_findfre_1-findfre-1.Tpo -c -o testsuite/libsframe.find/testsuite_libsframe_find_findfre_1-findfre-1.obj `if test -f 'testsuite/libsframe.find/findfre-1.c'; then $(CYGPATH_W) 'testsuite/libsframe.find/findfre-1.c'; else $(CYGPATH_W) '$(srcdir)/testsuite/libsframe.find/findfre-1.c'; fi`
+-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) testsuite/libsframe.find/$(DEPDIR)/testsuite_libsframe_find_findfre_1-findfre-1.Tpo testsuite/libsframe.find/$(DEPDIR)/testsuite_libsframe_find_findfre_1-findfre-1.Po
+-@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='testsuite/libsframe.find/findfre-1.c' object='testsuite/libsframe.find/testsuite_libsframe_find_findfre_1-findfre-1.obj' libtool=no @AMDEPBACKSLASH@
++testsuite/libsframe.find/findfre_1-findfre-1.obj: testsuite/libsframe.find/findfre-1.c
++@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testsuite_libsframe_find_findfre_1_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT testsuite/libsframe.find/findfre_1-findfre-1.obj -MD -MP -MF testsuite/libsframe.find/$(DEPDIR)/findfre_1-findfre-1.Tpo -c -o testsuite/libsframe.find/findfre_1-findfre-1.obj `if test -f 'testsuite/libsframe.find/findfre-1.c'; then $(CYGPATH_W) 'testsuite/libsframe.find/findfre-1.c'; else $(CYGPATH_W) '$(srcdir)/testsuite/libsframe.find/findfre-1.c'; fi`
++@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) testsuite/libsframe.find/$(DEPDIR)/findfre_1-findfre-1.Tpo testsuite/libsframe.find/$(DEPDIR)/findfre_1-findfre-1.Po
++@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='testsuite/libsframe.find/findfre-1.c' object='testsuite/libsframe.find/findfre_1-findfre-1.obj' libtool=no @AMDEPBACKSLASH@
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+-@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testsuite_libsframe_find_findfre_1_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o testsuite/libsframe.find/testsuite_libsframe_find_findfre_1-findfre-1.obj `if test -f 'testsuite/libsframe.find/findfre-1.c'; then $(CYGPATH_W) 'testsuite/libsframe.find/findfre-1.c'; else $(CYGPATH_W) '$(srcdir)/testsuite/libsframe.find/findfre-1.c'; fi`
++@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testsuite_libsframe_find_findfre_1_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o testsuite/libsframe.find/findfre_1-findfre-1.obj `if test -f 'testsuite/libsframe.find/findfre-1.c'; then $(CYGPATH_W) 'testsuite/libsframe.find/findfre-1.c'; else $(CYGPATH_W) '$(srcdir)/testsuite/libsframe.find/findfre-1.c'; fi`
+
+-testsuite/libsframe.find/testsuite_libsframe_find_findfunc_1-findfunc-1.o: testsuite/libsframe.find/findfunc-1.c
+-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testsuite_libsframe_find_findfunc_1_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT testsuite/libsframe.find/testsuite_libsframe_find_findfunc_1-findfunc-1.o -MD -MP -MF testsuite/libsframe.find/$(DEPDIR)/testsuite_libsframe_find_findfunc_1-findfunc-1.Tpo -c -o testsuite/libsframe.find/testsuite_libsframe_find_findfunc_1-findfunc-1.o `test -f 'testsuite/libsframe.find/findfunc-1.c' || echo '$(srcdir)/'`testsuite/libsframe.find/findfunc-1.c
+-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) testsuite/libsframe.find/$(DEPDIR)/testsuite_libsframe_find_findfunc_1-findfunc-1.Tpo testsuite/libsframe.find/$(DEPDIR)/testsuite_libsframe_find_findfunc_1-findfunc-1.Po
+-@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='testsuite/libsframe.find/findfunc-1.c' object='testsuite/libsframe.find/testsuite_libsframe_find_findfunc_1-findfunc-1.o' libtool=no @AMDEPBACKSLASH@
++testsuite/libsframe.find/findfunc_1-findfunc-1.o: testsuite/libsframe.find/findfunc-1.c
++@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testsuite_libsframe_find_findfunc_1_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT testsuite/libsframe.find/findfunc_1-findfunc-1.o -MD -MP -MF testsuite/libsframe.find/$(DEPDIR)/findfunc_1-findfunc-1.Tpo -c -o testsuite/libsframe.find/findfunc_1-findfunc-1.o `test -f 'testsuite/libsframe.find/findfunc-1.c' || echo '$(srcdir)/'`testsuite/libsframe.find/findfunc-1.c
++@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) testsuite/libsframe.find/$(DEPDIR)/findfunc_1-findfunc-1.Tpo testsuite/libsframe.find/$(DEPDIR)/findfunc_1-findfunc-1.Po
++@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='testsuite/libsframe.find/findfunc-1.c' object='testsuite/libsframe.find/findfunc_1-findfunc-1.o' libtool=no @AMDEPBACKSLASH@
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+-@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testsuite_libsframe_find_findfunc_1_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o testsuite/libsframe.find/testsuite_libsframe_find_findfunc_1-findfunc-1.o `test -f 'testsuite/libsframe.find/findfunc-1.c' || echo '$(srcdir)/'`testsuite/libsframe.find/findfunc-1.c
++@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testsuite_libsframe_find_findfunc_1_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o testsuite/libsframe.find/findfunc_1-findfunc-1.o `test -f 'testsuite/libsframe.find/findfunc-1.c' || echo '$(srcdir)/'`testsuite/libsframe.find/findfunc-1.c
+
+-testsuite/libsframe.find/testsuite_libsframe_find_findfunc_1-findfunc-1.obj: testsuite/libsframe.find/findfunc-1.c
+-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testsuite_libsframe_find_findfunc_1_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT testsuite/libsframe.find/testsuite_libsframe_find_findfunc_1-findfunc-1.obj -MD -MP -MF testsuite/libsframe.find/$(DEPDIR)/testsuite_libsframe_find_findfunc_1-findfunc-1.Tpo -c -o testsuite/libsframe.find/testsuite_libsframe_find_findfunc_1-findfunc-1.obj `if test -f 'testsuite/libsframe.find/findfunc-1.c'; then $(CYGPATH_W) 'testsuite/libsframe.find/findfunc-1.c'; else $(CYGPATH_W) '$(srcdir)/testsuite/libsframe.find/findfunc-1.c'; fi`
+-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) testsuite/libsframe.find/$(DEPDIR)/testsuite_libsframe_find_findfunc_1-findfunc-1.Tpo testsuite/libsframe.find/$(DEPDIR)/testsuite_libsframe_find_findfunc_1-findfunc-1.Po
+-@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='testsuite/libsframe.find/findfunc-1.c' object='testsuite/libsframe.find/testsuite_libsframe_find_findfunc_1-findfunc-1.obj' libtool=no @AMDEPBACKSLASH@
++testsuite/libsframe.find/findfunc_1-findfunc-1.obj: testsuite/libsframe.find/findfunc-1.c
++@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testsuite_libsframe_find_findfunc_1_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT testsuite/libsframe.find/findfunc_1-findfunc-1.obj -MD -MP -MF testsuite/libsframe.find/$(DEPDIR)/findfunc_1-findfunc-1.Tpo -c -o testsuite/libsframe.find/findfunc_1-findfunc-1.obj `if test -f 'testsuite/libsframe.find/findfunc-1.c'; then $(CYGPATH_W) 'testsuite/libsframe.find/findfunc-1.c'; else $(CYGPATH_W) '$(srcdir)/testsuite/libsframe.find/findfunc-1.c'; fi`
++@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) testsuite/libsframe.find/$(DEPDIR)/findfunc_1-findfunc-1.Tpo testsuite/libsframe.find/$(DEPDIR)/findfunc_1-findfunc-1.Po
++@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='testsuite/libsframe.find/findfunc-1.c' object='testsuite/libsframe.find/findfunc_1-findfunc-1.obj' libtool=no @AMDEPBACKSLASH@
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+-@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testsuite_libsframe_find_findfunc_1_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o testsuite/libsframe.find/testsuite_libsframe_find_findfunc_1-findfunc-1.obj `if test -f 'testsuite/libsframe.find/findfunc-1.c'; then $(CYGPATH_W) 'testsuite/libsframe.find/findfunc-1.c'; else $(CYGPATH_W) '$(srcdir)/testsuite/libsframe.find/findfunc-1.c'; fi`
++@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testsuite_libsframe_find_findfunc_1_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o testsuite/libsframe.find/findfunc_1-findfunc-1.obj `if test -f 'testsuite/libsframe.find/findfunc-1.c'; then $(CYGPATH_W) 'testsuite/libsframe.find/findfunc-1.c'; else $(CYGPATH_W) '$(srcdir)/testsuite/libsframe.find/findfunc-1.c'; fi`
+
+-testsuite/libsframe.find/testsuite_libsframe_find_plt_findfre_1-plt-findfre-1.o: testsuite/libsframe.find/plt-findfre-1.c
+-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testsuite_libsframe_find_plt_findfre_1_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT testsuite/libsframe.find/testsuite_libsframe_find_plt_findfre_1-plt-findfre-1.o -MD -MP -MF testsuite/libsframe.find/$(DEPDIR)/testsuite_libsframe_find_plt_findfre_1-plt-findfre-1.Tpo -c -o testsuite/libsframe.find/testsuite_libsframe_find_plt_findfre_1-plt-findfre-1.o `test -f 'testsuite/libsframe.find/plt-findfre-1.c' || echo '$(srcdir)/'`testsuite/libsframe.find/plt-findfre-1.c
+-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) testsuite/libsframe.find/$(DEPDIR)/testsuite_libsframe_find_plt_findfre_1-plt-findfre-1.Tpo testsuite/libsframe.find/$(DEPDIR)/testsuite_libsframe_find_plt_findfre_1-plt-findfre-1.Po
+-@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='testsuite/libsframe.find/plt-findfre-1.c' object='testsuite/libsframe.find/testsuite_libsframe_find_plt_findfre_1-plt-findfre-1.o' libtool=no @AMDEPBACKSLASH@
++testsuite/libsframe.find/plt_findfre_1-plt-findfre-1.o: testsuite/libsframe.find/plt-findfre-1.c
++@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testsuite_libsframe_find_plt_findfre_1_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT testsuite/libsframe.find/plt_findfre_1-plt-findfre-1.o -MD -MP -MF testsuite/libsframe.find/$(DEPDIR)/plt_findfre_1-plt-findfre-1.Tpo -c -o testsuite/libsframe.find/plt_findfre_1-plt-findfre-1.o `test -f 'testsuite/libsframe.find/plt-findfre-1.c' || echo '$(srcdir)/'`testsuite/libsframe.find/plt-findfre-1.c
++@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) testsuite/libsframe.find/$(DEPDIR)/plt_findfre_1-plt-findfre-1.Tpo testsuite/libsframe.find/$(DEPDIR)/plt_findfre_1-plt-findfre-1.Po
++@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='testsuite/libsframe.find/plt-findfre-1.c' object='testsuite/libsframe.find/plt_findfre_1-plt-findfre-1.o' libtool=no @AMDEPBACKSLASH@
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+-@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testsuite_libsframe_find_plt_findfre_1_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o testsuite/libsframe.find/testsuite_libsframe_find_plt_findfre_1-plt-findfre-1.o `test -f 'testsuite/libsframe.find/plt-findfre-1.c' || echo '$(srcdir)/'`testsuite/libsframe.find/plt-findfre-1.c
++@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testsuite_libsframe_find_plt_findfre_1_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o testsuite/libsframe.find/plt_findfre_1-plt-findfre-1.o `test -f 'testsuite/libsframe.find/plt-findfre-1.c' || echo '$(srcdir)/'`testsuite/libsframe.find/plt-findfre-1.c
+
+-testsuite/libsframe.find/testsuite_libsframe_find_plt_findfre_1-plt-findfre-1.obj: testsuite/libsframe.find/plt-findfre-1.c
+-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testsuite_libsframe_find_plt_findfre_1_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT testsuite/libsframe.find/testsuite_libsframe_find_plt_findfre_1-plt-findfre-1.obj -MD -MP -MF testsuite/libsframe.find/$(DEPDIR)/testsuite_libsframe_find_plt_findfre_1-plt-findfre-1.Tpo -c -o testsuite/libsframe.find/testsuite_libsframe_find_plt_findfre_1-plt-findfre-1.obj `if test -f 'testsuite/libsframe.find/plt-findfre-1.c'; then $(CYGPATH_W) 'testsuite/libsframe.find/plt-findfre-1.c'; else $(CYGPATH_W) '$(srcdir)/testsuite/libsframe.find/plt-findfre-1.c'; fi`
+-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) testsuite/libsframe.find/$(DEPDIR)/testsuite_libsframe_find_plt_findfre_1-plt-findfre-1.Tpo testsuite/libsframe.find/$(DEPDIR)/testsuite_libsframe_find_plt_findfre_1-plt-findfre-1.Po
+-@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='testsuite/libsframe.find/plt-findfre-1.c' object='testsuite/libsframe.find/testsuite_libsframe_find_plt_findfre_1-plt-findfre-1.obj' libtool=no @AMDEPBACKSLASH@
++testsuite/libsframe.find/plt_findfre_1-plt-findfre-1.obj: testsuite/libsframe.find/plt-findfre-1.c
++@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testsuite_libsframe_find_plt_findfre_1_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT testsuite/libsframe.find/plt_findfre_1-plt-findfre-1.obj -MD -MP -MF testsuite/libsframe.find/$(DEPDIR)/plt_findfre_1-plt-findfre-1.Tpo -c -o testsuite/libsframe.find/plt_findfre_1-plt-findfre-1.obj `if test -f 'testsuite/libsframe.find/plt-findfre-1.c'; then $(CYGPATH_W) 'testsuite/libsframe.find/plt-findfre-1.c'; else $(CYGPATH_W) '$(srcdir)/testsuite/libsframe.find/plt-findfre-1.c'; fi`
++@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) testsuite/libsframe.find/$(DEPDIR)/plt_findfre_1-plt-findfre-1.Tpo testsuite/libsframe.find/$(DEPDIR)/plt_findfre_1-plt-findfre-1.Po
++@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='testsuite/libsframe.find/plt-findfre-1.c' object='testsuite/libsframe.find/plt_findfre_1-plt-findfre-1.obj' libtool=no @AMDEPBACKSLASH@
+ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+-@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testsuite_libsframe_find_plt_findfre_1_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o testsuite/libsframe.find/testsuite_libsframe_find_plt_findfre_1-plt-findfre-1.obj `if test -f 'testsuite/libsframe.find/plt-findfre-1.c'; then $(CYGPATH_W) 'testsuite/libsframe.find/plt-findfre-1.c'; else $(CYGPATH_W) '$(srcdir)/testsuite/libsframe.find/plt-findfre-1.c'; fi`
++@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testsuite_libsframe_find_plt_findfre_1_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o testsuite/libsframe.find/plt_findfre_1-plt-findfre-1.obj `if test -f 'testsuite/libsframe.find/plt-findfre-1.c'; then $(CYGPATH_W) 'testsuite/libsframe.find/plt-findfre-1.c'; else $(CYGPATH_W) '$(srcdir)/testsuite/libsframe.find/plt-findfre-1.c'; fi`
+
+ mostlyclean-libtool:
+ -rm -f *.lo
+@@ -1142,7 +1168,7 @@ site.exp: Makefile $(EXTRA_DEJAGNU_SITE_CONFIG)
+ @echo '# Do not edit here. If you wish to override these values' >>site.tmp
+ @echo '# edit the last section' >>site.tmp
+ @echo 'set srcdir "$(srcdir)"' >>site.tmp
+- @echo "set objdir `pwd`" >>site.tmp
++ @echo "set objdir \"`pwd`\"" >>site.tmp
+ @echo 'set build_alias "$(build_alias)"' >>site.tmp
+ @echo 'set build_triplet $(build_triplet)' >>site.tmp
+ @echo 'set host_alias "$(host_alias)"' >>site.tmp
+@@ -1166,8 +1192,10 @@ distclean-DEJAGNU:
+ -l='$(DEJATOOL)'; for tool in $$l; do \
+ rm -f $$tool.sum $$tool.log; \
+ done
++distdir: $(BUILT_SOURCES)
++ $(MAKE) $(AM_MAKEFLAGS) distdir-am
+
+-distdir: $(DISTFILES)
++distdir-am: $(DISTFILES)
+ $(am__remove_distdir)
+ test -d "$(distdir)" || mkdir "$(distdir)"
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+@@ -1225,6 +1253,10 @@ dist-xz: distdir
+ tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
+ $(am__post_remove_distdir)
+
++dist-zstd: distdir
++ tardir=$(distdir) && $(am__tar) | zstd -c $${ZSTD_CLEVEL-$${ZSTD_OPT--19}} >$(distdir).tar.zst
++ $(am__post_remove_distdir)
++
+ dist-tarZ: distdir
+ @echo WARNING: "Support for distribution archives compressed with" \
+ "legacy program 'compress' is deprecated." >&2
+@@ -1267,6 +1299,8 @@ distcheck: dist
+ eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
+ *.zip*) \
+ unzip $(distdir).zip ;;\
++ *.tar.zst*) \
++ zstd -dc $(distdir).tar.zst | $(am__untar) ;;\
+ esac
+ chmod -R a-w $(distdir)
+ chmod u+w $(distdir)
+@@ -1282,7 +1316,7 @@ distcheck: dist
+ $(DISTCHECK_CONFIGURE_FLAGS) \
+ --srcdir=../.. --prefix="$$dc_install_base" \
+ && $(MAKE) $(AM_MAKEFLAGS) \
+- && $(MAKE) $(AM_MAKEFLAGS) dvi \
++ && $(MAKE) $(AM_MAKEFLAGS) $(AM_DISTCHECK_DVI_TARGET) \
+ && $(MAKE) $(AM_MAKEFLAGS) check \
+ && $(MAKE) $(AM_MAKEFLAGS) install \
+ && $(MAKE) $(AM_MAKEFLAGS) installcheck \
+@@ -1338,6 +1372,8 @@ check-am: all-am
+ $(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU
+ check: check-am
+ all-am: Makefile $(INFO_DEPS) $(LTLIBRARIES) $(HEADERS) config.h
++install-checkPROGRAMS: install-libLTLIBRARIES
++
+ installdirs:
+ for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(infodir)" "$(DESTDIR)$(includedir)"; do \
+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
+@@ -1390,7 +1426,16 @@ clean-am: clean-aminfo clean-checkPROGRAMS clean-generic \
+
+ distclean: distclean-am
+ -rm -f $(am__CONFIG_DISTCLEAN_FILES)
+- -rm -rf ./$(DEPDIR) testsuite/libsframe.decode/$(DEPDIR) testsuite/libsframe.encode/$(DEPDIR) testsuite/libsframe.find/$(DEPDIR)
++ -rm -f ./$(DEPDIR)/libsframe_la-sframe-dump.Plo
++ -rm -f ./$(DEPDIR)/libsframe_la-sframe-error.Plo
++ -rm -f ./$(DEPDIR)/libsframe_la-sframe.Plo
++ -rm -f testsuite/libsframe.decode/$(DEPDIR)/be_flipping-be-flipping.Po
++ -rm -f testsuite/libsframe.decode/$(DEPDIR)/frecnt_1-frecnt-1.Po
++ -rm -f testsuite/libsframe.decode/$(DEPDIR)/frecnt_2-frecnt-2.Po
++ -rm -f testsuite/libsframe.encode/$(DEPDIR)/encode_1-encode-1.Po
++ -rm -f testsuite/libsframe.find/$(DEPDIR)/findfre_1-findfre-1.Po
++ -rm -f testsuite/libsframe.find/$(DEPDIR)/findfunc_1-findfunc-1.Po
++ -rm -f testsuite/libsframe.find/$(DEPDIR)/plt_findfre_1-plt-findfre-1.Po
+ -rm -f Makefile
+ distclean-am: clean-am distclean-DEJAGNU distclean-compile \
+ distclean-generic distclean-hdr distclean-libtool \
+@@ -1530,7 +1575,16 @@ installcheck-am:
+ maintainer-clean: maintainer-clean-am
+ -rm -f $(am__CONFIG_DISTCLEAN_FILES)
+ -rm -rf $(top_srcdir)/autom4te.cache
+- -rm -rf ./$(DEPDIR) testsuite/libsframe.decode/$(DEPDIR) testsuite/libsframe.encode/$(DEPDIR) testsuite/libsframe.find/$(DEPDIR)
++ -rm -f ./$(DEPDIR)/libsframe_la-sframe-dump.Plo
++ -rm -f ./$(DEPDIR)/libsframe_la-sframe-error.Plo
++ -rm -f ./$(DEPDIR)/libsframe_la-sframe.Plo
++ -rm -f testsuite/libsframe.decode/$(DEPDIR)/be_flipping-be-flipping.Po
++ -rm -f testsuite/libsframe.decode/$(DEPDIR)/frecnt_1-frecnt-1.Po
++ -rm -f testsuite/libsframe.decode/$(DEPDIR)/frecnt_2-frecnt-2.Po
++ -rm -f testsuite/libsframe.encode/$(DEPDIR)/encode_1-encode-1.Po
++ -rm -f testsuite/libsframe.find/$(DEPDIR)/findfre_1-findfre-1.Po
++ -rm -f testsuite/libsframe.find/$(DEPDIR)/findfunc_1-findfunc-1.Po
++ -rm -f testsuite/libsframe.find/$(DEPDIR)/plt_findfre_1-plt-findfre-1.Po
+ -rm -f Makefile
+ maintainer-clean-am: distclean-am maintainer-clean-aminfo \
+ maintainer-clean-generic
+@@ -1554,28 +1608,28 @@ uninstall-am: uninstall-dvi-am uninstall-html-am \
+
+ .MAKE: all check-am install-am install-strip
+
+-.PHONY: CTAGS GTAGS TAGS all all-am am--refresh check check-DEJAGNU \
+- check-am clean clean-aminfo clean-checkPROGRAMS clean-cscope \
+- clean-generic clean-libLTLIBRARIES clean-libtool \
++.PHONY: CTAGS GTAGS TAGS all all-am am--depfiles am--refresh check \
++ check-DEJAGNU check-am clean clean-aminfo clean-checkPROGRAMS \
++ clean-cscope clean-generic clean-libLTLIBRARIES clean-libtool \
+ clean-noinstLTLIBRARIES cscope cscopelist-am ctags ctags-am \
+ dist dist-all dist-bzip2 dist-gzip dist-info dist-lzip \
+- dist-shar dist-tarZ dist-xz dist-zip distcheck distclean \
+- distclean-DEJAGNU distclean-compile distclean-generic \
+- distclean-hdr distclean-libtool distclean-tags distcleancheck \
+- distdir distuninstallcheck dvi dvi-am html html-am html-local \
+- info info-am install install-am install-data install-data-am \
+- install-dvi install-dvi-am install-exec install-exec-am \
+- install-html install-html-am install-includeHEADERS \
+- install-info install-info-am install-libLTLIBRARIES \
+- install-man install-pdf install-pdf-am install-ps \
+- install-ps-am install-strip installcheck installcheck-am \
+- installdirs maintainer-clean maintainer-clean-aminfo \
+- maintainer-clean-generic mostlyclean mostlyclean-aminfo \
+- mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
+- pdf pdf-am ps ps-am tags tags-am uninstall uninstall-am \
+- uninstall-dvi-am uninstall-html-am uninstall-includeHEADERS \
+- uninstall-info-am uninstall-libLTLIBRARIES uninstall-pdf-am \
+- uninstall-ps-am
++ dist-shar dist-tarZ dist-xz dist-zip dist-zstd distcheck \
++ distclean distclean-DEJAGNU distclean-compile \
++ distclean-generic distclean-hdr distclean-libtool \
++ distclean-tags distcleancheck distdir distuninstallcheck dvi \
++ dvi-am html html-am html-local info info-am install install-am \
++ install-data install-data-am install-dvi install-dvi-am \
++ install-exec install-exec-am install-html install-html-am \
++ install-includeHEADERS install-info install-info-am \
++ install-libLTLIBRARIES install-man install-pdf install-pdf-am \
++ install-ps install-ps-am install-strip installcheck \
++ installcheck-am installdirs maintainer-clean \
++ maintainer-clean-aminfo maintainer-clean-generic mostlyclean \
++ mostlyclean-aminfo mostlyclean-compile mostlyclean-generic \
++ mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
++ uninstall-am uninstall-dvi-am uninstall-html-am \
++ uninstall-includeHEADERS uninstall-info-am \
++ uninstall-libLTLIBRARIES uninstall-pdf-am uninstall-ps-am
+
+ .PRECIOUS: Makefile
+
+diff --git a/libsframe/aclocal.m4 b/libsframe/aclocal.m4
+index b0cdd6b184d..c83d4f62ece 100644
+--- a/libsframe/aclocal.m4
++++ b/libsframe/aclocal.m4
+@@ -1,6 +1,6 @@
+-# generated automatically by aclocal 1.15.1 -*- Autoconf -*-
++# generated automatically by aclocal 1.16.5 -*- Autoconf -*-
+
+-# Copyright (C) 1996-2017 Free Software Foundation, Inc.
++# Copyright (C) 1996-2021 Free Software Foundation, Inc.
+
+ # This file is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -20,7 +20,7 @@ You have another version of autoconf. It may work, but is not guaranteed to.
+ If you have problems, you may need to regenerate the build system entirely.
+ To do so, use the procedure documented by the package, typically 'autoreconf'.])])
+
+-# Copyright (C) 2002-2017 Free Software Foundation, Inc.
++# Copyright (C) 2002-2021 Free Software Foundation, Inc.
+ #
+ # This file is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -32,10 +32,10 @@ To do so, use the procedure documented by the package, typically 'autoreconf'.])
+ # generated from the m4 files accompanying Automake X.Y.
+ # (This private macro should not be called outside this file.)
+ AC_DEFUN([AM_AUTOMAKE_VERSION],
+-[am__api_version='1.15'
++[am__api_version='1.16'
+ dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
+ dnl require some minimum version. Point them to the right macro.
+-m4_if([$1], [1.15.1], [],
++m4_if([$1], [1.16.5], [],
+ [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
+ ])
+
+@@ -51,12 +51,12 @@ m4_define([_AM_AUTOCONF_VERSION], [])
+ # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
+ # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
+ AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
+-[AM_AUTOMAKE_VERSION([1.15.1])dnl
++[AM_AUTOMAKE_VERSION([1.16.5])dnl
+ m4_ifndef([AC_AUTOCONF_VERSION],
+ [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
+ _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
+
+-# Copyright (C) 2011-2017 Free Software Foundation, Inc.
++# Copyright (C) 2011-2021 Free Software Foundation, Inc.
+ #
+ # This file is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -118,7 +118,7 @@ AC_SUBST([AR])dnl
+
+ # AM_AUX_DIR_EXPAND -*- Autoconf -*-
+
+-# Copyright (C) 2001-2017 Free Software Foundation, Inc.
++# Copyright (C) 2001-2021 Free Software Foundation, Inc.
+ #
+ # This file is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -170,7 +170,7 @@ am_aux_dir=`cd "$ac_aux_dir" && pwd`
+
+ # AM_CONDITIONAL -*- Autoconf -*-
+
+-# Copyright (C) 1997-2017 Free Software Foundation, Inc.
++# Copyright (C) 1997-2021 Free Software Foundation, Inc.
+ #
+ # This file is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -201,7 +201,7 @@ AC_CONFIG_COMMANDS_PRE(
+ Usually this means the macro was only invoked conditionally.]])
+ fi])])
+
+-# Copyright (C) 1999-2017 Free Software Foundation, Inc.
++# Copyright (C) 1999-2021 Free Software Foundation, Inc.
+ #
+ # This file is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -392,13 +392,12 @@ _AM_SUBST_NOTMAKE([am__nodep])dnl
+
+ # Generate code to set up dependency tracking. -*- Autoconf -*-
+
+-# Copyright (C) 1999-2017 Free Software Foundation, Inc.
++# Copyright (C) 1999-2021 Free Software Foundation, Inc.
+ #
+ # This file is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+ # with or without modifications, as long as this notice is preserved.
+
+-
+ # _AM_OUTPUT_DEPENDENCY_COMMANDS
+ # ------------------------------
+ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
+@@ -406,49 +405,43 @@ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
+ # Older Autoconf quotes --file arguments for eval, but not when files
+ # are listed without --file. Let's play safe and only enable the eval
+ # if we detect the quoting.
+- case $CONFIG_FILES in
+- *\'*) eval set x "$CONFIG_FILES" ;;
+- *) set x $CONFIG_FILES ;;
+- esac
++ # TODO: see whether this extra hack can be removed once we start
++ # requiring Autoconf 2.70 or later.
++ AS_CASE([$CONFIG_FILES],
++ [*\'*], [eval set x "$CONFIG_FILES"],
++ [*], [set x $CONFIG_FILES])
+ shift
+- for mf
++ # Used to flag and report bootstrapping failures.
++ am_rc=0
++ for am_mf
+ do
+ # Strip MF so we end up with the name of the file.
+- mf=`echo "$mf" | sed -e 's/:.*$//'`
+- # Check whether this is an Automake generated Makefile or not.
+- # We used to match only the files named 'Makefile.in', but
+- # some people rename them; so instead we look at the file content.
+- # Grep'ing the first line is not enough: some people post-process
+- # each Makefile.in and add a new line on top of each file to say so.
+- # Grep'ing the whole file is not good either: AIX grep has a line
++ am_mf=`AS_ECHO(["$am_mf"]) | sed -e 's/:.*$//'`
++ # Check whether this is an Automake generated Makefile which includes
++ # dependency-tracking related rules and includes.
++ # Grep'ing the whole file directly is not great: AIX grep has a line
+ # limit of 2048, but all sed's we know have understand at least 4000.
+- if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
+- dirpart=`AS_DIRNAME("$mf")`
+- else
+- continue
+- fi
+- # Extract the definition of DEPDIR, am__include, and am__quote
+- # from the Makefile without running 'make'.
+- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
+- test -z "$DEPDIR" && continue
+- am__include=`sed -n 's/^am__include = //p' < "$mf"`
+- test -z "$am__include" && continue
+- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
+- # Find all dependency output files, they are included files with
+- # $(DEPDIR) in their names. We invoke sed twice because it is the
+- # simplest approach to changing $(DEPDIR) to its actual value in the
+- # expansion.
+- for file in `sed -n "
+- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
+- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
+- # Make sure the directory exists.
+- test -f "$dirpart/$file" && continue
+- fdir=`AS_DIRNAME(["$file"])`
+- AS_MKDIR_P([$dirpart/$fdir])
+- # echo "creating $dirpart/$file"
+- echo '# dummy' > "$dirpart/$file"
+- done
++ sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
++ || continue
++ am_dirpart=`AS_DIRNAME(["$am_mf"])`
++ am_filepart=`AS_BASENAME(["$am_mf"])`
++ AM_RUN_LOG([cd "$am_dirpart" \
++ && sed -e '/# am--include-marker/d' "$am_filepart" \
++ | $MAKE -f - am--depfiles]) || am_rc=$?
+ done
++ if test $am_rc -ne 0; then
++ AC_MSG_FAILURE([Something went wrong bootstrapping makefile fragments
++ for automatic dependency tracking. If GNU make was not used, consider
++ re-running the configure script with MAKE="gmake" (or whatever is
++ necessary). You can also try re-running configure with the
++ '--disable-dependency-tracking' option to at least be able to build
++ the package (albeit without support for automatic dependency tracking).])
++ fi
++ AS_UNSET([am_dirpart])
++ AS_UNSET([am_filepart])
++ AS_UNSET([am_mf])
++ AS_UNSET([am_rc])
++ rm -f conftest-deps.mk
+ }
+ ])# _AM_OUTPUT_DEPENDENCY_COMMANDS
+
+@@ -457,18 +450,17 @@ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
+ # -----------------------------
+ # This macro should only be invoked once -- use via AC_REQUIRE.
+ #
+-# This code is only required when automatic dependency tracking
+-# is enabled. FIXME. This creates each '.P' file that we will
+-# need in order to bootstrap the dependency handling code.
++# This code is only required when automatic dependency tracking is enabled.
++# This creates each '.Po' and '.Plo' makefile fragment that we'll need in
++# order to bootstrap the dependency handling code.
+ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
+ [AC_CONFIG_COMMANDS([depfiles],
+ [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
+- [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
+-])
++ [AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"])])
+
+ # Do all the work for Automake. -*- Autoconf -*-
+
+-# Copyright (C) 1996-2017 Free Software Foundation, Inc.
++# Copyright (C) 1996-2021 Free Software Foundation, Inc.
+ #
+ # This file is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -496,6 +488,10 @@ m4_defn([AC_PROG_CC])
+ # release and drop the old call support.
+ AC_DEFUN([AM_INIT_AUTOMAKE],
+ [AC_PREREQ([2.65])dnl
++m4_ifdef([_$0_ALREADY_INIT],
++ [m4_fatal([$0 expanded multiple times
++]m4_defn([_$0_ALREADY_INIT]))],
++ [m4_define([_$0_ALREADY_INIT], m4_expansion_stack)])dnl
+ dnl Autoconf wants to disallow AM_ names. We explicitly allow
+ dnl the ones we care about.
+ m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
+@@ -532,7 +528,7 @@ m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
+ [_AM_SET_OPTIONS([$1])dnl
+ dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
+ m4_if(
+- m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
++ m4_ifset([AC_PACKAGE_NAME], [ok]):m4_ifset([AC_PACKAGE_VERSION], [ok]),
+ [ok:ok],,
+ [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
+ AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
+@@ -555,8 +551,8 @@ AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
+ AC_REQUIRE([AC_PROG_MKDIR_P])dnl
+ # For better backward compatibility. To be removed once Automake 1.9.x
+ # dies out for good. For more background, see:
+-# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
+-# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
++# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
++# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
+ AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
+ # We need awk for the "check" target (and possibly the TAP driver). The
+ # system "awk" is bad on some platforms.
+@@ -584,6 +580,20 @@ AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
+ [m4_define([AC_PROG_OBJCXX],
+ m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
+ ])
++# Variables for tags utilities; see am/tags.am
++if test -z "$CTAGS"; then
++ CTAGS=ctags
++fi
++AC_SUBST([CTAGS])
++if test -z "$ETAGS"; then
++ ETAGS=etags
++fi
++AC_SUBST([ETAGS])
++if test -z "$CSCOPE"; then
++ CSCOPE=cscope
++fi
++AC_SUBST([CSCOPE])
++
+ AC_REQUIRE([AM_SILENT_RULES])dnl
+ dnl The testsuite driver may need to know about EXEEXT, so add the
+ dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
+@@ -623,7 +633,7 @@ END
+ Aborting the configuration process, to ensure you take notice of the issue.
+
+ You can download and install GNU coreutils to get an 'rm' implementation
+-that behaves properly: <http://www.gnu.org/software/coreutils/>.
++that behaves properly: <https://www.gnu.org/software/coreutils/>.
+
+ If you want to complete the configuration process using your problematic
+ 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
+@@ -665,7 +675,7 @@ for _am_header in $config_headers :; do
+ done
+ echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
+
+-# Copyright (C) 2001-2017 Free Software Foundation, Inc.
++# Copyright (C) 2001-2021 Free Software Foundation, Inc.
+ #
+ # This file is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -689,7 +699,7 @@ AC_SUBST([install_sh])])
+ # Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
+ # From Jim Meyering
+
+-# Copyright (C) 1996-2017 Free Software Foundation, Inc.
++# Copyright (C) 1996-2021 Free Software Foundation, Inc.
+ #
+ # This file is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -724,7 +734,7 @@ AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
+
+ # Check to see how 'make' treats includes. -*- Autoconf -*-
+
+-# Copyright (C) 2001-2017 Free Software Foundation, Inc.
++# Copyright (C) 2001-2021 Free Software Foundation, Inc.
+ #
+ # This file is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -732,49 +742,42 @@ AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
+
+ # AM_MAKE_INCLUDE()
+ # -----------------
+-# Check to see how make treats includes.
++# Check whether make has an 'include' directive that can support all
++# the idioms we need for our automatic dependency tracking code.
+ AC_DEFUN([AM_MAKE_INCLUDE],
+-[am_make=${MAKE-make}
+-cat > confinc << 'END'
++[AC_MSG_CHECKING([whether ${MAKE-make} supports the include directive])
++cat > confinc.mk << 'END'
+ am__doit:
+- @echo this is the am__doit target
++ @echo this is the am__doit target >confinc.out
+ .PHONY: am__doit
+ END
+-# If we don't find an include directive, just comment out the code.
+-AC_MSG_CHECKING([for style of include used by $am_make])
+ am__include="#"
+ am__quote=
+-_am_result=none
+-# First try GNU make style include.
+-echo "include confinc" > confmf
+-# Ignore all kinds of additional output from 'make'.
+-case `$am_make -s -f confmf 2> /dev/null` in #(
+-*the\ am__doit\ target*)
+- am__include=include
+- am__quote=
+- _am_result=GNU
+- ;;
+-esac
+-# Now try BSD make style include.
+-if test "$am__include" = "#"; then
+- echo '.include "confinc"' > confmf
+- case `$am_make -s -f confmf 2> /dev/null` in #(
+- *the\ am__doit\ target*)
+- am__include=.include
+- am__quote="\""
+- _am_result=BSD
+- ;;
+- esac
+-fi
+-AC_SUBST([am__include])
+-AC_SUBST([am__quote])
+-AC_MSG_RESULT([$_am_result])
+-rm -f confinc confmf
+-])
++# BSD make does it like this.
++echo '.include "confinc.mk" # ignored' > confmf.BSD
++# Other make implementations (GNU, Solaris 10, AIX) do it like this.
++echo 'include confinc.mk # ignored' > confmf.GNU
++_am_result=no
++for s in GNU BSD; do
++ AM_RUN_LOG([${MAKE-make} -f confmf.$s && cat confinc.out])
++ AS_CASE([$?:`cat confinc.out 2>/dev/null`],
++ ['0:this is the am__doit target'],
++ [AS_CASE([$s],
++ [BSD], [am__include='.include' am__quote='"'],
++ [am__include='include' am__quote=''])])
++ if test "$am__include" != "#"; then
++ _am_result="yes ($s style)"
++ break
++ fi
++done
++rm -f confinc.* confmf.*
++AC_MSG_RESULT([${_am_result}])
++AC_SUBST([am__include])])
++AC_SUBST([am__quote])])
+
+ # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
+
+-# Copyright (C) 1997-2017 Free Software Foundation, Inc.
++# Copyright (C) 1997-2021 Free Software Foundation, Inc.
+ #
+ # This file is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -795,12 +798,7 @@ AC_DEFUN([AM_MISSING_HAS_RUN],
+ [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
+ AC_REQUIRE_AUX_FILE([missing])dnl
+ if test x"${MISSING+set}" != xset; then
+- case $am_aux_dir in
+- *\ * | *\ *)
+- MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
+- *)
+- MISSING="\${SHELL} $am_aux_dir/missing" ;;
+- esac
++ MISSING="\${SHELL} '$am_aux_dir/missing'"
+ fi
+ # Use eval to expand $SHELL
+ if eval "$MISSING --is-lightweight"; then
+@@ -813,7 +811,7 @@ fi
+
+ # Helper functions for option handling. -*- Autoconf -*-
+
+-# Copyright (C) 2001-2017 Free Software Foundation, Inc.
++# Copyright (C) 2001-2021 Free Software Foundation, Inc.
+ #
+ # This file is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -842,7 +840,7 @@ AC_DEFUN([_AM_SET_OPTIONS],
+ AC_DEFUN([_AM_IF_OPTION],
+ [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
+
+-# Copyright (C) 1999-2017 Free Software Foundation, Inc.
++# Copyright (C) 1999-2021 Free Software Foundation, Inc.
+ #
+ # This file is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -889,7 +887,7 @@ AC_LANG_POP([C])])
+ # For backward compatibility.
+ AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
+
+-# Copyright (C) 2001-2017 Free Software Foundation, Inc.
++# Copyright (C) 2001-2021 Free Software Foundation, Inc.
+ #
+ # This file is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -908,7 +906,7 @@ AC_DEFUN([AM_RUN_LOG],
+
+ # Check to make sure that the build environment is sane. -*- Autoconf -*-
+
+-# Copyright (C) 1996-2017 Free Software Foundation, Inc.
++# Copyright (C) 1996-2021 Free Software Foundation, Inc.
+ #
+ # This file is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -989,7 +987,7 @@ AC_CONFIG_COMMANDS_PRE(
+ rm -f conftest.file
+ ])
+
+-# Copyright (C) 2009-2017 Free Software Foundation, Inc.
++# Copyright (C) 2009-2021 Free Software Foundation, Inc.
+ #
+ # This file is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -1049,7 +1047,7 @@ AC_SUBST([AM_BACKSLASH])dnl
+ _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
+ ])
+
+-# Copyright (C) 2001-2017 Free Software Foundation, Inc.
++# Copyright (C) 2001-2021 Free Software Foundation, Inc.
+ #
+ # This file is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -1077,7 +1075,7 @@ fi
+ INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
+ AC_SUBST([INSTALL_STRIP_PROGRAM])])
+
+-# Copyright (C) 2006-2017 Free Software Foundation, Inc.
++# Copyright (C) 2006-2021 Free Software Foundation, Inc.
+ #
+ # This file is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+@@ -1096,7 +1094,7 @@ AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
+
+ # Check how to create a tarball. -*- Autoconf -*-
+
+-# Copyright (C) 2004-2017 Free Software Foundation, Inc.
++# Copyright (C) 2004-2021 Free Software Foundation, Inc.
+ #
+ # This file is free software; the Free Software Foundation
+ # gives unlimited permission to copy and/or distribute it,
+diff --git a/libsframe/configure b/libsframe/configure
+index 1d9e5e10695..a234c4815b1 100755
+--- a/libsframe/configure
++++ b/libsframe/configure
+@@ -658,6 +658,8 @@ OTOOL
+ LIPO
+ NMEDIT
+ DSYMUTIL
++MANIFEST_TOOL
++DLLTOOL
+ OBJDUMP
+ LN_S
+ NM
+@@ -682,6 +684,9 @@ AM_BACKSLASH
+ AM_DEFAULT_VERBOSITY
+ AM_DEFAULT_V
+ AM_V
++CSCOPE
++ETAGS
++CTAGS
+ am__fastdepCC_FALSE
+ am__fastdepCC_TRUE
+ CCDEPMODE
+@@ -689,7 +694,6 @@ am__nodep
+ AMDEPBACKSLASH
+ AMDEP_FALSE
+ AMDEP_TRUE
+-am__quote
+ am__include
+ DEPDIR
+ am__untar
+@@ -762,7 +766,8 @@ PACKAGE_VERSION
+ PACKAGE_TARNAME
+ PACKAGE_NAME
+ PATH_SEPARATOR
+-SHELL'
++SHELL
++am__quote'
+ ac_subst_files=''
+ ac_user_opts='
+ enable_option_checking
+@@ -773,6 +778,7 @@ enable_static
+ with_pic
+ enable_fast_install
+ with_gnu_ld
++with_libtool_sysroot
+ enable_libtool_lock
+ enable_largefile
+ enable_maintainer_mode
+@@ -1428,6 +1434,8 @@ Optional Packages:
+ --with-pic try to use only PIC/non-PIC objects [default=use
+ both]
+ --with-gnu-ld assume the C compiler uses GNU ld [default=no]
++ --with-libtool-sysroot=DIR Search for dependent libraries within DIR
++ (or the compiler's sysroot if not specified).
+
+ Some influential environment variables:
+ CC C compiler command
+@@ -3610,7 +3618,7 @@ $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
+ $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
+
+
+-am__api_version='1.15'
++am__api_version='1.16'
+
+ # Find a good install program. We prefer a C program (faster),
+ # so one script is as good as another. But avoid the broken or
+@@ -3783,12 +3791,7 @@ ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
+ program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
+
+ if test x"${MISSING+set}" != xset; then
+- case $am_aux_dir in
+- *\ * | *\ *)
+- MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
+- *)
+- MISSING="\${SHELL} $am_aux_dir/missing" ;;
+- esac
++ MISSING="\${SHELL} '$am_aux_dir/missing'"
+ fi
+ # Use eval to expand $SHELL
+ if eval "$MISSING --is-lightweight"; then
+@@ -4036,45 +4039,45 @@ DEPDIR="${am__leading_dot}deps"
+
+ ac_config_commands="$ac_config_commands depfiles"
+
+-
+-am_make=${MAKE-make}
+-cat > confinc << 'END'
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
++$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
++cat > confinc.mk << 'END'
+ am__doit:
+- @echo this is the am__doit target
++ @echo this is the am__doit target >confinc.out
+ .PHONY: am__doit
+ END
+-# If we don't find an include directive, just comment out the code.
+-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
+-$as_echo_n "checking for style of include used by $am_make... " >&6; }
+ am__include="#"
+ am__quote=
+-_am_result=none
+-# First try GNU make style include.
+-echo "include confinc" > confmf
+-# Ignore all kinds of additional output from 'make'.
+-case `$am_make -s -f confmf 2> /dev/null` in #(
+-*the\ am__doit\ target*)
+- am__include=include
+- am__quote=
+- _am_result=GNU
+- ;;
+-esac
+-# Now try BSD make style include.
+-if test "$am__include" = "#"; then
+- echo '.include "confinc"' > confmf
+- case `$am_make -s -f confmf 2> /dev/null` in #(
+- *the\ am__doit\ target*)
+- am__include=.include
+- am__quote="\""
+- _am_result=BSD
++# BSD make does it like this.
++echo '.include "confinc.mk" # ignored' > confmf.BSD
++# Other make implementations (GNU, Solaris 10, AIX) do it like this.
++echo 'include confinc.mk # ignored' > confmf.GNU
++_am_result=no
++for s in GNU BSD; do
++ { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
++ (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
++ ac_status=$?
++ echo "$as_me:$LINENO: \$? = $ac_status" >&5
++ (exit $ac_status); }
++ case $?:`cat confinc.out 2>/dev/null` in #(
++ '0:this is the am__doit target') :
++ case $s in #(
++ BSD) :
++ am__include='.include' am__quote='"' ;; #(
++ *) :
++ am__include='include' am__quote='' ;;
++esac ;; #(
++ *) :
+ ;;
+- esac
+-fi
+-
+-
+-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
+-$as_echo "$_am_result" >&6; }
+-rm -f confinc confmf
++esac
++ if test "$am__include" != "#"; then
++ _am_result="yes ($s style)"
++ break
++ fi
++done
++rm -f confinc.* confmf.*
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
++$as_echo "${_am_result}" >&6; }
+
+ # Check whether --enable-dependency-tracking was given.
+ if test "${enable_dependency_tracking+set}" = set; then :
+@@ -4186,8 +4189,8 @@ MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
+
+ # For better backward compatibility. To be removed once Automake 1.9.x
+ # dies out for good. For more background, see:
+-# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
+-# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
++# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
++# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
+ mkdir_p='$(MKDIR_P)'
+
+ # We need awk for the "check" target (and possibly the TAP driver). The
+@@ -4334,6 +4337,20 @@ else
+ fi
+
+
++# Variables for tags utilities; see am/tags.am
++if test -z "$CTAGS"; then
++ CTAGS=ctags
++fi
++
++if test -z "$ETAGS"; then
++ ETAGS=etags
++fi
++
++if test -z "$CSCOPE"; then
++ CSCOPE=cscope
++fi
++
++
+
+ # POSIX will say in a future version that running "rm -f" with no argument
+ # is OK; and we want to be able to make that assumption in our Makefile
+@@ -4366,7 +4383,7 @@ END
+ Aborting the configuration process, to ensure you take notice of the issue.
+
+ You can download and install GNU coreutils to get an 'rm' implementation
+-that behaves properly: <http://www.gnu.org/software/coreutils/>.
++that behaves properly: <https://www.gnu.org/software/coreutils/>.
+
+ If you want to complete the configuration process using your problematic
+ 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
+@@ -5351,8 +5368,8 @@ esac
+
+
+
+-macro_version='2.2.7a'
+-macro_revision='1.3134'
++macro_version='2.4'
++macro_revision='1.3293'
+
+
+
+@@ -5463,7 +5480,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
+ $as_echo_n "checking how to print strings... " >&6; }
+ # Test print first, because it will be a builtin if present.
+-if test "X`print -r -- -n 2>/dev/null`" = X-n && \
++if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
+ test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
+ ECHO='print -r --'
+ elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
+@@ -6156,8 +6173,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6;
+ # Try some XSI features
+ xsi_shell=no
+ ( _lt_dummy="a/b/c"
+- test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
+- = c,a/b,, \
++ test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
++ = c,a/b,b/c, \
+ && eval 'test $(( 1 + 1 )) -eq 2 \
+ && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
+ && xsi_shell=yes
+@@ -6206,6 +6223,80 @@ esac
+
+
+
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
++$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
++if ${lt_cv_to_host_file_cmd+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ case $host in
++ *-*-mingw* )
++ case $build in
++ *-*-mingw* ) # actually msys
++ lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
++ ;;
++ *-*-cygwin* )
++ lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
++ ;;
++ * ) # otherwise, assume *nix
++ lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
++ ;;
++ esac
++ ;;
++ *-*-cygwin* )
++ case $build in
++ *-*-mingw* ) # actually msys
++ lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
++ ;;
++ *-*-cygwin* )
++ lt_cv_to_host_file_cmd=func_convert_file_noop
++ ;;
++ * ) # otherwise, assume *nix
++ lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
++ ;;
++ esac
++ ;;
++ * ) # unhandled hosts (and "normal" native builds)
++ lt_cv_to_host_file_cmd=func_convert_file_noop
++ ;;
++esac
++
++fi
++
++to_host_file_cmd=$lt_cv_to_host_file_cmd
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
++$as_echo "$lt_cv_to_host_file_cmd" >&6; }
++
++
++
++
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
++$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
++if ${lt_cv_to_tool_file_cmd+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ #assume ordinary cross tools, or native build.
++lt_cv_to_tool_file_cmd=func_convert_file_noop
++case $host in
++ *-*-mingw* )
++ case $build in
++ *-*-mingw* ) # actually msys
++ lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
++ ;;
++ esac
++ ;;
++esac
++
++fi
++
++to_tool_file_cmd=$lt_cv_to_tool_file_cmd
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
++$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
++
++
++
++
++
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
+ $as_echo_n "checking for $LD option to reload object files... " >&6; }
+ if ${lt_cv_ld_reload_flag+:} false; then :
+@@ -6222,6 +6313,11 @@ case $reload_flag in
+ esac
+ reload_cmds='$LD$reload_flag -o $output$reload_objs'
+ case $host_os in
++ cygwin* | mingw* | pw32* | cegcc*)
++ if test "$GCC" != yes; then
++ reload_cmds=false
++ fi
++ ;;
+ darwin*)
+ if test "$GCC" = yes; then
+ reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
+@@ -6390,7 +6486,8 @@ mingw* | pw32*)
+ lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
+ lt_cv_file_magic_cmd='func_win32_libid'
+ else
+- lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
++ # Keep this pattern in sync with the one in func_win32_libid.
++ lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
+ lt_cv_file_magic_cmd='$OBJDUMP -f'
+ fi
+ ;;
+@@ -6549,6 +6646,21 @@ esac
+ fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
+ $as_echo "$lt_cv_deplibs_check_method" >&6; }
++
++file_magic_glob=
++want_nocaseglob=no
++if test "$build" = "$host"; then
++ case $host_os in
++ mingw* | pw32*)
++ if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
++ want_nocaseglob=yes
++ else
++ file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
++ fi
++ ;;
++ esac
++fi
++
+ file_magic_cmd=$lt_cv_file_magic_cmd
+ deplibs_check_method=$lt_cv_deplibs_check_method
+ test -z "$deplibs_check_method" && deplibs_check_method=unknown
+@@ -6564,6 +6676,157 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown
+
+
+
++
++
++
++
++
++
++
++
++
++
++if test -n "$ac_tool_prefix"; then
++ # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
++set dummy ${ac_tool_prefix}dlltool; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_DLLTOOL+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$DLLTOOL"; then
++ ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++ ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++DLLTOOL=$ac_cv_prog_DLLTOOL
++if test -n "$DLLTOOL"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
++$as_echo "$DLLTOOL" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++
++fi
++if test -z "$ac_cv_prog_DLLTOOL"; then
++ ac_ct_DLLTOOL=$DLLTOOL
++ # Extract the first word of "dlltool", so it can be a program name with args.
++set dummy dlltool; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$ac_ct_DLLTOOL"; then
++ ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++ ac_cv_prog_ac_ct_DLLTOOL="dlltool"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
++if test -n "$ac_ct_DLLTOOL"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
++$as_echo "$ac_ct_DLLTOOL" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++ if test "x$ac_ct_DLLTOOL" = x; then
++ DLLTOOL="false"
++ else
++ case $cross_compiling:$ac_tool_warned in
++yes:)
++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
++ac_tool_warned=yes ;;
++esac
++ DLLTOOL=$ac_ct_DLLTOOL
++ fi
++else
++ DLLTOOL="$ac_cv_prog_DLLTOOL"
++fi
++
++test -z "$DLLTOOL" && DLLTOOL=dlltool
++
++
++
++
++
++
++
++
++
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
++$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
++if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ lt_cv_sharedlib_from_linklib_cmd='unknown'
++
++case $host_os in
++cygwin* | mingw* | pw32* | cegcc*)
++ # two different shell functions defined in ltmain.sh
++ # decide which to use based on capabilities of $DLLTOOL
++ case `$DLLTOOL --help 2>&1` in
++ *--identify-strict*)
++ lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
++ ;;
++ *)
++ lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
++ ;;
++ esac
++ ;;
++*)
++ # fallback: assume linklib IS sharedlib
++ lt_cv_sharedlib_from_linklib_cmd="$ECHO"
++ ;;
++esac
++
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
++$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
++sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
++test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
++
++
++
++
++
++
++
+ plugin_option=
+ plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
+ for plugin in $plugin_names; do
+@@ -6578,8 +6841,10 @@ for plugin in $plugin_names; do
+ done
+
+ if test -n "$ac_tool_prefix"; then
+- # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
+-set dummy ${ac_tool_prefix}ar; ac_word=$2
++ for ac_prog in ar
++ do
++ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
++set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+ $as_echo_n "checking for $ac_word... " >&6; }
+ if ${ac_cv_prog_AR+:} false; then :
+@@ -6595,7 +6860,7 @@ do
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+- ac_cv_prog_AR="${ac_tool_prefix}ar"
++ ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+@@ -6615,11 +6880,15 @@ $as_echo "no" >&6; }
+ fi
+
+
++ test -n "$AR" && break
++ done
+ fi
+-if test -z "$ac_cv_prog_AR"; then
++if test -z "$AR"; then
+ ac_ct_AR=$AR
+- # Extract the first word of "ar", so it can be a program name with args.
+-set dummy ar; ac_word=$2
++ for ac_prog in ar
++do
++ # Extract the first word of "$ac_prog", so it can be a program name with args.
++set dummy $ac_prog; ac_word=$2
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+ $as_echo_n "checking for $ac_word... " >&6; }
+ if ${ac_cv_prog_ac_ct_AR+:} false; then :
+@@ -6635,7 +6904,7 @@ do
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+- ac_cv_prog_ac_ct_AR="ar"
++ ac_cv_prog_ac_ct_AR="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+@@ -6654,6 +6923,10 @@ else
+ $as_echo "no" >&6; }
+ fi
+
++
++ test -n "$ac_ct_AR" && break
++done
++
+ if test "x$ac_ct_AR" = x; then
+ AR="false"
+ else
+@@ -6665,29 +6938,81 @@ ac_tool_warned=yes ;;
+ esac
+ AR=$ac_ct_AR
+ fi
+-else
+- AR="$ac_cv_prog_AR"
+ fi
+
+-test -z "$AR" && AR=ar
+-if test -n "$plugin_option"; then
+- if $AR --help 2>&1 | grep -q "\--plugin"; then
+- touch conftest.c
+- $AR $plugin_option rc conftest.a conftest.c
+- if test "$?" != 0; then
+- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
++ touch conftest.c
++ $AR $plugin_option rc conftest.a conftest.c
++ if test "$?" != 0; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
+ $as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
+- else
+- AR="$AR $plugin_option"
+- fi
+- rm -f conftest.*
++ else
++ AR="$AR $plugin_option"
+ fi
+-fi
+-test -z "$AR_FLAGS" && AR_FLAGS=cru
++ rm -f conftest.*
++: ${AR=ar}
++: ${AR_FLAGS=cru}
++
++
++
++
++
++
++
+
+
+
+
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
++$as_echo_n "checking for archiver @FILE support... " >&6; }
++if ${lt_cv_ar_at_file+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ lt_cv_ar_at_file=no
++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
++/* end confdefs.h. */
++
++int
++main ()
++{
++
++ ;
++ return 0;
++}
++_ACEOF
++if ac_fn_c_try_compile "$LINENO"; then :
++ echo conftest.$ac_objext > conftest.lst
++ lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
++ { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
++ (eval $lt_ar_try) 2>&5
++ ac_status=$?
++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
++ test $ac_status = 0; }
++ if test "$ac_status" -eq 0; then
++ # Ensure the archiver fails upon bogus file names.
++ rm -f conftest.$ac_objext libconftest.a
++ { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
++ (eval $lt_ar_try) 2>&5
++ ac_status=$?
++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
++ test $ac_status = 0; }
++ if test "$ac_status" -ne 0; then
++ lt_cv_ar_at_file=@
++ fi
++ fi
++ rm -f conftest.* libconftest.a
++
++fi
++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
++
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
++$as_echo "$lt_cv_ar_at_file" >&6; }
++
++if test "x$lt_cv_ar_at_file" = xno; then
++ archiver_list_spec=
++else
++ archiver_list_spec=$lt_cv_ar_at_file
++fi
+
+
+
+@@ -7034,8 +7359,8 @@ esac
+ lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
+
+ # Transform an extracted symbol line into symbol name and symbol address
+-lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
+-lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
++lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
++lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
+
+ # Handle CRLF in mingw tool chain
+ opt_cr=
+@@ -7071,6 +7396,7 @@ for ac_symprfx in "" "_"; do
+ else
+ lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
+ fi
++ lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
+
+ # Check to see that the pipe works correctly.
+ pipe_works=no
+@@ -7112,6 +7438,18 @@ _LT_EOF
+ if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
+ if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
+ cat <<_LT_EOF > conftest.$ac_ext
++/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
++#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
++/* DATA imports from DLLs on WIN32 con't be const, because runtime
++ relocations are performed -- see ld's documentation on pseudo-relocs. */
++# define LT_DLSYM_CONST
++#elif defined(__osf__)
++/* This system does not cope well with relocations in const data. */
++# define LT_DLSYM_CONST
++#else
++# define LT_DLSYM_CONST const
++#endif
++
+ #ifdef __cplusplus
+ extern "C" {
+ #endif
+@@ -7123,7 +7461,7 @@ _LT_EOF
+ cat <<_LT_EOF >> conftest.$ac_ext
+
+ /* The mapping between symbol names and symbols. */
+-const struct {
++LT_DLSYM_CONST struct {
+ const char *name;
+ void *address;
+ }
+@@ -7149,8 +7487,8 @@ static const void *lt_preloaded_setup() {
+ _LT_EOF
+ # Now try linking the two files.
+ mv conftest.$ac_objext conftstm.$ac_objext
+- lt_save_LIBS="$LIBS"
+- lt_save_CFLAGS="$CFLAGS"
++ lt_globsym_save_LIBS=$LIBS
++ lt_globsym_save_CFLAGS=$CFLAGS
+ LIBS="conftstm.$ac_objext"
+ CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
+@@ -7160,8 +7498,8 @@ _LT_EOF
+ test $ac_status = 0; } && test -s conftest${ac_exeext}; then
+ pipe_works=yes
+ fi
+- LIBS="$lt_save_LIBS"
+- CFLAGS="$lt_save_CFLAGS"
++ LIBS=$lt_globsym_save_LIBS
++ CFLAGS=$lt_globsym_save_CFLAGS
+ else
+ echo "cannot find nm_test_func in $nlist" >&5
+ fi
+@@ -7198,6 +7536,16 @@ else
+ $as_echo "ok" >&6; }
+ fi
+
++# Response file support.
++if test "$lt_cv_nm_interface" = "MS dumpbin"; then
++ nm_file_list_spec='@'
++elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
++ nm_file_list_spec='@'
++fi
++
++
++
++
- # Always use our own libtool.
--LIBTOOL='$(SHELL) $(top_builddir)/libtool'
-+LIBTOOL='$(SHELL) $(top_builddir)'
-+LIBTOOL="$LIBTOOL/${host_alias}-libtool"
+@@ -7214,6 +7562,45 @@ fi
-@@ -8254,7 +8753,7 @@ aix3*)
+
+
++
++
++
++
++
++
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
++$as_echo_n "checking for sysroot... " >&6; }
++
++# Check whether --with-libtool-sysroot was given.
++if test "${with_libtool_sysroot+set}" = set; then :
++ withval=$with_libtool_sysroot;
++else
++ with_libtool_sysroot=no
++fi
++
++
++lt_sysroot=
++case ${with_libtool_sysroot} in #(
++ yes)
++ if test "$GCC" = yes; then
++ lt_sysroot=`$CC --print-sysroot 2>/dev/null`
++ fi
++ ;; #(
++ /*)
++ lt_sysroot=`echo "$with_libtool_sysroot" | sed -e "$sed_quote_subst"`
++ ;; #(
++ no|'')
++ ;; #(
++ *)
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_libtool_sysroot}" >&5
++$as_echo "${with_libtool_sysroot}" >&6; }
++ as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
++ ;;
++esac
++
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
++$as_echo "${lt_sysroot:-no}" >&6; }
+
+
+
+@@ -7419,11 +7806,128 @@ sparc*-*solaris*)
+ ;;
+ esac
+ fi
+- rm -rf conftest*
+- ;;
++ rm -rf conftest*
++ ;;
++esac
++
++need_locks="$enable_libtool_lock"
++
++if test -n "$ac_tool_prefix"; then
++ # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
++set dummy ${ac_tool_prefix}mt; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$MANIFEST_TOOL"; then
++ ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++ ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
++if test -n "$MANIFEST_TOOL"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
++$as_echo "$MANIFEST_TOOL" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++
++fi
++if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
++ ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
++ # Extract the first word of "mt", so it can be a program name with args.
++set dummy mt; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$ac_ct_MANIFEST_TOOL"; then
++ ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++ ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
++if test -n "$ac_ct_MANIFEST_TOOL"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
++$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++ if test "x$ac_ct_MANIFEST_TOOL" = x; then
++ MANIFEST_TOOL=":"
++ else
++ case $cross_compiling:$ac_tool_warned in
++yes:)
++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
++ac_tool_warned=yes ;;
esac
++ MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
++ fi
++else
++ MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
++fi
++
++test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
++$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
++if ${lt_cv_path_mainfest_tool+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ lt_cv_path_mainfest_tool=no
++ echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
++ $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
++ cat conftest.err >&5
++ if $GREP 'Manifest Tool' conftest.out > /dev/null; then
++ lt_cv_path_mainfest_tool=yes
++ fi
++ rm -f conftest*
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
++$as_echo "$lt_cv_path_mainfest_tool" >&6; }
++if test "x$lt_cv_path_mainfest_tool" != xyes; then
++ MANIFEST_TOOL=:
++fi
++
++
++
+
+-need_locks="$enable_libtool_lock"
- # Global variables:
--ofile=libtool
-+ofile=${host_alias}-libtool
- can_build_shared=yes
- # All known linkers require a `.a' archive for static linking (except MSVC,
-@@ -8552,8 +9051,6 @@ fi
+ case $host_os in
+@@ -7988,6 +8492,8 @@ _LT_EOF
+ $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
+ echo "$AR cru libconftest.a conftest.o" >&5
+ $AR cru libconftest.a conftest.o 2>&5
++ echo "$RANLIB libconftest.a" >&5
++ $RANLIB libconftest.a 2>&5
+ cat > conftest.c << _LT_EOF
+ int main() { return 0;}
+ _LT_EOF
+@@ -8542,8 +9048,6 @@ fi
lt_prog_compiler_pic=
lt_prog_compiler_static=
@@ -11093,7 +22176,7 @@ index 1dc1b65fac3..c5c2f36bbc0 100755
if test "$GCC" = yes; then
lt_prog_compiler_wl='-Wl,'
-@@ -8719,6 +9216,12 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
+@@ -8709,6 +9213,12 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
lt_prog_compiler_pic='--shared'
lt_prog_compiler_static='--static'
;;
@@ -11106,7 +22189,7 @@ index 1dc1b65fac3..c5c2f36bbc0 100755
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
# Portland Group compilers (*not* the Pentium gcc compiler,
# which looks to be a dead project)
-@@ -8781,7 +9284,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
+@@ -8771,7 +9281,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
lt_prog_compiler_pic='-KPIC'
lt_prog_compiler_static='-Bstatic'
case $cc_basename in
@@ -11115,7 +22198,7 @@ index 1dc1b65fac3..c5c2f36bbc0 100755
lt_prog_compiler_wl='-Qoption ld ';;
*)
lt_prog_compiler_wl='-Wl,';;
-@@ -8838,13 +9341,17 @@ case $host_os in
+@@ -8828,13 +9338,17 @@ case $host_os in
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
;;
esac
@@ -11139,7 +22222,7 @@ index 1dc1b65fac3..c5c2f36bbc0 100755
#
# Check to make sure the PIC flag actually works.
-@@ -8905,6 +9412,11 @@ fi
+@@ -8895,6 +9409,11 @@ fi
@@ -11151,7 +22234,7 @@ index 1dc1b65fac3..c5c2f36bbc0 100755
#
# Check to make sure the static flag actually works.
#
-@@ -9255,7 +9767,8 @@ _LT_EOF
+@@ -9245,7 +9764,8 @@ _LT_EOF
allow_undefined_flag=unsupported
always_export_symbols=no
enable_shared_with_static_runtimes=yes
@@ -11161,7 +22244,7 @@ index 1dc1b65fac3..c5c2f36bbc0 100755
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
-@@ -9354,12 +9867,12 @@ _LT_EOF
+@@ -9344,12 +9864,12 @@ _LT_EOF
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
hardcode_libdir_flag_spec=
hardcode_libdir_flag_spec_ld='-rpath $libdir'
@@ -11176,7 +22259,7 @@ index 1dc1b65fac3..c5c2f36bbc0 100755
fi
;;
esac
-@@ -9373,8 +9886,8 @@ _LT_EOF
+@@ -9363,8 +9883,8 @@ _LT_EOF
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
wlarc=
else
@@ -11187,7 +22270,7 @@ index 1dc1b65fac3..c5c2f36bbc0 100755
fi
;;
-@@ -9392,8 +9905,8 @@ _LT_EOF
+@@ -9382,8 +9902,8 @@ _LT_EOF
_LT_EOF
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -11198,7 +22281,7 @@ index 1dc1b65fac3..c5c2f36bbc0 100755
else
ld_shlibs=no
fi
-@@ -9439,8 +9952,8 @@ _LT_EOF
+@@ -9429,8 +9949,8 @@ _LT_EOF
*)
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -11209,7 +22292,7 @@ index 1dc1b65fac3..c5c2f36bbc0 100755
else
ld_shlibs=no
fi
-@@ -9570,7 +10083,13 @@ _LT_EOF
+@@ -9560,7 +10080,13 @@ _LT_EOF
allow_undefined_flag='-berok'
# Determine the default libpath from the value encoded in an
# empty executable.
@@ -11224,7 +22307,7 @@ index 1dc1b65fac3..c5c2f36bbc0 100755
/* end confdefs.h. */
int
-@@ -9583,22 +10102,29 @@ main ()
+@@ -9573,22 +10099,29 @@ main ()
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
@@ -11267,7 +22350,7 @@ index 1dc1b65fac3..c5c2f36bbc0 100755
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
-@@ -9610,7 +10136,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+@@ -9600,7 +10133,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
else
# Determine the default libpath from the value encoded in an
# empty executable.
@@ -11282,7 +22365,7 @@ index 1dc1b65fac3..c5c2f36bbc0 100755
/* end confdefs.h. */
int
-@@ -9623,22 +10155,29 @@ main ()
+@@ -9613,22 +10152,29 @@ main ()
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
@@ -11325,7 +22408,7 @@ index 1dc1b65fac3..c5c2f36bbc0 100755
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
# Warning - without using the other run time loading flags,
-@@ -9683,20 +10222,63 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+@@ -9673,20 +10219,63 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
# Microsoft Visual C++.
# hardcode_libdir_flag_spec is actually meaningless, as there is
# no search path for DLLs.
@@ -11403,7 +22486,7 @@ index 1dc1b65fac3..c5c2f36bbc0 100755
;;
darwin* | rhapsody*)
-@@ -9757,7 +10339,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+@@ -9747,7 +10336,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
freebsd* | dragonfly*)
@@ -11412,7 +22495,7 @@ index 1dc1b65fac3..c5c2f36bbc0 100755
hardcode_libdir_flag_spec='-R$libdir'
hardcode_direct=yes
hardcode_shlibpath_var=no
-@@ -9765,7 +10347,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+@@ -9755,7 +10344,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
hpux9*)
if test "$GCC" = yes; then
@@ -11421,7 +22504,7 @@ index 1dc1b65fac3..c5c2f36bbc0 100755
else
archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
fi
-@@ -9781,7 +10363,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+@@ -9771,7 +10360,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
hpux10*)
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
@@ -11430,8 +22513,8 @@ index 1dc1b65fac3..c5c2f36bbc0 100755
else
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
fi
-@@ -9805,10 +10387,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
- archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
+@@ -9795,10 +10384,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+ archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
;;
ia64*)
- archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
@@ -11443,7 +22526,7 @@ index 1dc1b65fac3..c5c2f36bbc0 100755
;;
esac
else
-@@ -9887,23 +10469,36 @@ fi
+@@ -9877,23 +10466,36 @@ fi
irix5* | irix6* | nonstopux*)
if test "$GCC" = yes; then
@@ -11488,7 +22571,7 @@ index 1dc1b65fac3..c5c2f36bbc0 100755
else
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
-@@ -9988,7 +10583,7 @@ rm -f core conftest.err conftest.$ac_objext \
+@@ -9978,7 +10580,7 @@ rm -f core conftest.err conftest.$ac_objext \
osf4* | osf5*) # as osf3* with the addition of -msym flag
if test "$GCC" = yes; then
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
@@ -11497,7 +22580,7 @@ index 1dc1b65fac3..c5c2f36bbc0 100755
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
else
allow_undefined_flag=' -expect_unresolved \*'
-@@ -10007,9 +10602,9 @@ rm -f core conftest.err conftest.$ac_objext \
+@@ -9997,9 +10599,9 @@ rm -f core conftest.err conftest.$ac_objext \
no_undefined_flag=' -z defs'
if test "$GCC" = yes; then
wlarc='${wl}'
@@ -11509,7 +22592,7 @@ index 1dc1b65fac3..c5c2f36bbc0 100755
else
case `$CC -V 2>&1` in
*"Compilers 5.0"*)
-@@ -10585,8 +11180,9 @@ cygwin* | mingw* | pw32* | cegcc*)
+@@ -10575,8 +11177,9 @@ cygwin* | mingw* | pw32* | cegcc*)
need_version=no
need_lib_prefix=no
@@ -11521,7 +22604,7 @@ index 1dc1b65fac3..c5c2f36bbc0 100755
library_names_spec='$libname.dll.a'
# DLL is installed to $(libdir)/../bin by postinstall_cmds
postinstall_cmds='base_file=`basename \${file}`~
-@@ -10619,13 +11215,71 @@ cygwin* | mingw* | pw32* | cegcc*)
+@@ -10609,13 +11212,71 @@ cygwin* | mingw* | pw32* | cegcc*)
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
;;
esac
@@ -11594,25 +22677,16 @@ index 1dc1b65fac3..c5c2f36bbc0 100755
# FIXME: first we should search . and the directory the executable is in
shlibpath_var=PATH
;;
-@@ -10717,7 +11371,7 @@ haiku*)
- soname_spec='${libname}${release}${shared_ext}$major'
- shlibpath_var=LIBRARY_PATH
- shlibpath_overrides_runpath=yes
-- sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
-+ sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
- hardcode_into_libs=yes
- ;;
-
-@@ -11513,7 +12167,7 @@ else
+@@ -11517,7 +12178,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
--#line 11516 "configure"
+-#line 11520 "configure"
+#line $LINENO "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
-@@ -11557,10 +12211,10 @@ else
+@@ -11561,10 +12222,10 @@ else
/* When -fvisbility=hidden is used, assume the code has been annotated
correspondingly for the symbols needed. */
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -11625,16 +22699,16 @@ index 1dc1b65fac3..c5c2f36bbc0 100755
int main ()
{
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
-@@ -11619,7 +12273,7 @@ else
+@@ -11623,7 +12284,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
--#line 11622 "configure"
+-#line 11626 "configure"
+#line $LINENO "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
-@@ -11663,10 +12317,10 @@ else
+@@ -11667,10 +12328,10 @@ else
/* When -fvisbility=hidden is used, assume the code has been annotated
correspondingly for the symbols needed. */
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -11647,7 +22721,16 @@ index 1dc1b65fac3..c5c2f36bbc0 100755
int main ()
{
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
-@@ -14110,13 +14764,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
+@@ -13490,7 +14151,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+ #
+ # INIT-COMMANDS
+ #
+-AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
++AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
+
+
+ # The HP-UX ksh and POSIX shell print the target directory to stdout
+@@ -13528,13 +14189,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
@@ -11668,7 +22751,7 @@ index 1dc1b65fac3..c5c2f36bbc0 100755
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
-@@ -14131,14 +14792,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de
+@@ -13549,14 +14217,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
@@ -11687,7 +22770,7 @@ index 1dc1b65fac3..c5c2f36bbc0 100755
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
-@@ -14171,12 +14835,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q
+@@ -13589,12 +14260,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
@@ -11701,7 +22784,7 @@ index 1dc1b65fac3..c5c2f36bbc0 100755
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
-@@ -14231,8 +14895,13 @@ reload_flag \
+@@ -13649,8 +14320,13 @@ reload_flag \
OBJDUMP \
deplibs_check_method \
file_magic_cmd \
@@ -11715,7 +22798,7 @@ index 1dc1b65fac3..c5c2f36bbc0 100755
STRIP \
RANLIB \
CC \
-@@ -14242,12 +14911,14 @@ lt_cv_sys_global_symbol_pipe \
+@@ -13660,12 +14336,14 @@ lt_cv_sys_global_symbol_pipe \
lt_cv_sys_global_symbol_to_cdecl \
lt_cv_sys_global_symbol_to_c_name_address \
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
@@ -11731,7 +22814,7 @@ index 1dc1b65fac3..c5c2f36bbc0 100755
DSYMUTIL \
NMEDIT \
LIPO \
-@@ -14263,7 +14934,6 @@ no_undefined_flag \
+@@ -13681,7 +14359,6 @@ no_undefined_flag \
hardcode_libdir_flag_spec \
hardcode_libdir_flag_spec_ld \
hardcode_libdir_separator \
@@ -11739,7 +22822,7 @@ index 1dc1b65fac3..c5c2f36bbc0 100755
exclude_expsyms \
include_expsyms \
file_list_spec \
-@@ -14299,6 +14969,7 @@ module_cmds \
+@@ -13717,6 +14394,7 @@ module_cmds \
module_expsym_cmds \
export_symbols_cmds \
prelink_cmds \
@@ -11747,7 +22830,149 @@ index 1dc1b65fac3..c5c2f36bbc0 100755
postinstall_cmds \
postuninstall_cmds \
finish_cmds \
-@@ -15055,7 +15726,8 @@ $as_echo X"$file" |
+@@ -14363,29 +15041,35 @@ $as_echo "$as_me: executing $ac_file commands" >&6;}
+ # Older Autoconf quotes --file arguments for eval, but not when files
+ # are listed without --file. Let's play safe and only enable the eval
+ # if we detect the quoting.
+- case $CONFIG_FILES in
+- *\'*) eval set x "$CONFIG_FILES" ;;
+- *) set x $CONFIG_FILES ;;
+- esac
++ # TODO: see whether this extra hack can be removed once we start
++ # requiring Autoconf 2.70 or later.
++ case $CONFIG_FILES in #(
++ *\'*) :
++ eval set x "$CONFIG_FILES" ;; #(
++ *) :
++ set x $CONFIG_FILES ;; #(
++ *) :
++ ;;
++esac
+ shift
+- for mf
++ # Used to flag and report bootstrapping failures.
++ am_rc=0
++ for am_mf
+ do
+ # Strip MF so we end up with the name of the file.
+- mf=`echo "$mf" | sed -e 's/:.*$//'`
+- # Check whether this is an Automake generated Makefile or not.
+- # We used to match only the files named 'Makefile.in', but
+- # some people rename them; so instead we look at the file content.
+- # Grep'ing the first line is not enough: some people post-process
+- # each Makefile.in and add a new line on top of each file to say so.
+- # Grep'ing the whole file is not good either: AIX grep has a line
++ am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
++ # Check whether this is an Automake generated Makefile which includes
++ # dependency-tracking related rules and includes.
++ # Grep'ing the whole file directly is not great: AIX grep has a line
+ # limit of 2048, but all sed's we know have understand at least 4000.
+- if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
+- dirpart=`$as_dirname -- "$mf" ||
+-$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+- X"$mf" : 'X\(//\)[^/]' \| \
+- X"$mf" : 'X\(//\)$' \| \
+- X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
+-$as_echo X"$mf" |
++ sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
++ || continue
++ am_dirpart=`$as_dirname -- "$am_mf" ||
++$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
++ X"$am_mf" : 'X\(//\)[^/]' \| \
++ X"$am_mf" : 'X\(//\)$' \| \
++ X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
++$as_echo X"$am_mf" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+@@ -14403,53 +15087,50 @@ $as_echo X"$mf" |
+ q
+ }
+ s/.*/./; q'`
+- else
+- continue
+- fi
+- # Extract the definition of DEPDIR, am__include, and am__quote
+- # from the Makefile without running 'make'.
+- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
+- test -z "$DEPDIR" && continue
+- am__include=`sed -n 's/^am__include = //p' < "$mf"`
+- test -z "$am__include" && continue
+- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
+- # Find all dependency output files, they are included files with
+- # $(DEPDIR) in their names. We invoke sed twice because it is the
+- # simplest approach to changing $(DEPDIR) to its actual value in the
+- # expansion.
+- for file in `sed -n "
+- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
+- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
+- # Make sure the directory exists.
+- test -f "$dirpart/$file" && continue
+- fdir=`$as_dirname -- "$file" ||
+-$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+- X"$file" : 'X\(//\)[^/]' \| \
+- X"$file" : 'X\(//\)$' \| \
+- X"$file" : 'X\(/\)' \| . 2>/dev/null ||
+-$as_echo X"$file" |
+- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+- s//\1/
+- q
+- }
+- /^X\(\/\/\)[^/].*/{
++ am_filepart=`$as_basename -- "$am_mf" ||
++$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
++ X"$am_mf" : 'X\(//\)$' \| \
++ X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
++$as_echo X/"$am_mf" |
++ sed '/^.*\/\([^/][^/]*\)\/*$/{
+ s//\1/
+ q
+ }
+- /^X\(\/\/\)$/{
++ /^X\/\(\/\/\)$/{
+ s//\1/
+ q
+ }
+- /^X\(\/\).*/{
++ /^X\/\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+- as_dir=$dirpart/$fdir; as_fn_mkdir_p
+- # echo "creating $dirpart/$file"
+- echo '# dummy' > "$dirpart/$file"
+- done
++ { echo "$as_me:$LINENO: cd "$am_dirpart" \
++ && sed -e '/# am--include-marker/d' "$am_filepart" \
++ | $MAKE -f - am--depfiles" >&5
++ (cd "$am_dirpart" \
++ && sed -e '/# am--include-marker/d' "$am_filepart" \
++ | $MAKE -f - am--depfiles) >&5 2>&5
++ ac_status=$?
++ echo "$as_me:$LINENO: \$? = $ac_status" >&5
++ (exit $ac_status); } || am_rc=$?
+ done
++ if test $am_rc -ne 0; then
++ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
++as_fn_error $? "Something went wrong bootstrapping makefile fragments
++ for automatic dependency tracking. If GNU make was not used, consider
++ re-running the configure script with MAKE=\"gmake\" (or whatever is
++ necessary). You can also try re-running configure with the
++ '--disable-dependency-tracking' option to at least be able to build
++ the package (albeit without support for automatic dependency tracking).
++See \`config.log' for more details" "$LINENO" 5; }
++ fi
++ { am_dirpart=; unset am_dirpart;}
++ { am_filepart=; unset am_filepart;}
++ { am_mf=; unset am_mf;}
++ { am_rc=; unset am_rc;}
++ rm -f conftest-deps.mk
+ }
+ ;;
+ "libtool":C)
+@@ -14473,7 +15154,8 @@ $as_echo X"$file" |
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
#
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
@@ -11757,7 +22982,7 @@ index 1dc1b65fac3..c5c2f36bbc0 100755
# Written by Gordon Matzigkeit, 1996
#
# This file is part of GNU Libtool.
-@@ -15158,19 +15830,42 @@ SP2NL=$lt_lt_SP2NL
+@@ -14576,19 +15258,42 @@ SP2NL=$lt_lt_SP2NL
# turn newlines into spaces.
NL2SP=$lt_lt_NL2SP
@@ -11801,7 +23026,7 @@ index 1dc1b65fac3..c5c2f36bbc0 100755
# A symbol stripping program.
STRIP=$lt_STRIP
-@@ -15200,6 +15895,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
+@@ -14618,6 +15323,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
# Transform the output of nm in a C name address pair when lib prefix is needed.
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
@@ -11814,7 +23039,7 @@ index 1dc1b65fac3..c5c2f36bbc0 100755
# The name of the directory that contains temporary libtool files.
objdir=$objdir
-@@ -15209,6 +15910,9 @@ MAGIC_CMD=$MAGIC_CMD
+@@ -14627,6 +15338,9 @@ MAGIC_CMD=$MAGIC_CMD
# Must we lock files when doing compilation?
need_locks=$lt_need_locks
@@ -11824,7 +23049,7 @@ index 1dc1b65fac3..c5c2f36bbc0 100755
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
DSYMUTIL=$lt_DSYMUTIL
-@@ -15323,12 +16027,12 @@ with_gcc=$GCC
+@@ -14741,12 +15455,12 @@ with_gcc=$GCC
# Compiler flag to turn off builtin functions.
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
@@ -11840,7 +23065,7 @@ index 1dc1b65fac3..c5c2f36bbc0 100755
# Compiler flag to prevent dynamic linking.
link_static_flag=$lt_lt_prog_compiler_static
-@@ -15415,9 +16119,6 @@ inherit_rpath=$inherit_rpath
+@@ -14833,9 +15547,6 @@ inherit_rpath=$inherit_rpath
# Whether libtool must link a program against all its dependency libraries.
link_all_deplibs=$link_all_deplibs
@@ -11850,7 +23075,7 @@ index 1dc1b65fac3..c5c2f36bbc0 100755
# Set to "yes" if exported symbols are required.
always_export_symbols=$always_export_symbols
-@@ -15433,6 +16134,9 @@ include_expsyms=$lt_include_expsyms
+@@ -14851,6 +15562,9 @@ include_expsyms=$lt_include_expsyms
# Commands necessary for linking programs (against libraries) with templates.
prelink_cmds=$lt_prelink_cmds
@@ -11860,7 +23085,7 @@ index 1dc1b65fac3..c5c2f36bbc0 100755
# Specify filename containing input files.
file_list_spec=$lt_file_list_spec
-@@ -15465,210 +16169,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
+@@ -14883,210 +15597,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
# if finds mixed CR/LF and LF-only lines. Since sed operates in
# text mode, it properly converts lines to CR/LF. This bash problem
# is reportedly fixed, but why not run on old versions too?
@@ -12235,7 +23460,7 @@ index 1dc1b65fac3..c5c2f36bbc0 100755
chmod +x "$ofile"
diff --git a/libtool.m4 b/libtool.m4
-index 434530059fa..e45fdc6998c 100644
+index e36fdd3c0e2..4acf9d67956 100644
--- a/libtool.m4
+++ b/libtool.m4
@@ -1,7 +1,8 @@
@@ -12267,17 +23492,7 @@ index 434530059fa..e45fdc6998c 100644
# LT_PREREQ(VERSION)
-@@ -92,7 +94,8 @@ _LT_SET_OPTIONS([$0], [$1])
- LIBTOOL_DEPS="$ltmain"
-
- # Always use our own libtool.
--LIBTOOL='$(SHELL) $(top_builddir)/libtool'
-+LIBTOOL='$(SHELL) $(top_builddir)'
-+LIBTOOL="$LIBTOOL/${host_alias}-libtool"
- AC_SUBST(LIBTOOL)dnl
-
- _LT_SETUP
-@@ -166,10 +169,13 @@ _LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl
+@@ -166,10 +168,13 @@ _LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl
dnl
m4_require([_LT_FILEUTILS_DEFAULTS])dnl
m4_require([_LT_CHECK_SHELL_FEATURES])dnl
@@ -12291,16 +23506,7 @@ index 434530059fa..e45fdc6998c 100644
_LT_CONFIG_LIBTOOL_INIT([
# See if we are running on zsh, and set the options which allow our
-@@ -199,7 +205,7 @@ aix3*)
- esac
-
- # Global variables:
--ofile=libtool
-+ofile=${host_alias}-libtool
- can_build_shared=yes
-
- # All known linkers require a `.a' archive for static linking (except MSVC,
-@@ -632,7 +638,7 @@ m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
+@@ -632,7 +637,7 @@ m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
configured by $[0], generated by m4_PACKAGE_STRING.
@@ -12309,7 +23515,7 @@ index 434530059fa..e45fdc6998c 100644
This config.lt script is free software; the Free Software Foundation
gives unlimited permision to copy, distribute and modify it."
-@@ -746,15 +752,12 @@ _LT_EOF
+@@ -746,15 +751,12 @@ _LT_EOF
# if finds mixed CR/LF and LF-only lines. Since sed operates in
# text mode, it properly converts lines to CR/LF. This bash problem
# is reportedly fixed, but why not run on old versions too?
@@ -12329,7 +23535,7 @@ index 434530059fa..e45fdc6998c 100644
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
chmod +x "$ofile"
],
-@@ -980,6 +983,8 @@ _LT_EOF
+@@ -980,6 +982,8 @@ _LT_EOF
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD
echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD
$AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD
@@ -12338,7 +23544,7 @@ index 434530059fa..e45fdc6998c 100644
cat > conftest.c << _LT_EOF
int main() { return 0;}
_LT_EOF
-@@ -1069,30 +1074,41 @@ m4_defun([_LT_DARWIN_LINKER_FEATURES],
+@@ -1071,30 +1075,41 @@ m4_defun([_LT_DARWIN_LINKER_FEATURES],
fi
])
@@ -12396,7 +23602,7 @@ index 434530059fa..e45fdc6998c 100644
])# _LT_SYS_MODULE_PATH_AIX
-@@ -1117,7 +1133,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
+@@ -1119,7 +1134,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
AC_MSG_CHECKING([how to print strings])
# Test print first, because it will be a builtin if present.
@@ -12405,7 +23611,7 @@ index 434530059fa..e45fdc6998c 100644
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
ECHO='print -r --'
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
-@@ -1161,6 +1177,39 @@ _LT_DECL([], [ECHO], [1], [An echo program that protects backslashes])
+@@ -1163,6 +1178,39 @@ _LT_DECL([], [ECHO], [1], [An echo program that protects backslashes])
])# _LT_PROG_ECHO_BACKSLASH
@@ -12445,7 +23651,7 @@ index 434530059fa..e45fdc6998c 100644
# _LT_ENABLE_LOCK
# ---------------
m4_defun([_LT_ENABLE_LOCK],
-@@ -1320,14 +1369,47 @@ need_locks="$enable_libtool_lock"
+@@ -1322,6 +1370,51 @@ need_locks="$enable_libtool_lock"
])# _LT_ENABLE_LOCK
@@ -12453,6 +23659,14 @@ index 434530059fa..e45fdc6998c 100644
+# -----------
+m4_defun([_LT_PROG_AR],
+[AC_CHECK_TOOLS(AR, [ar], false)
++ touch conftest.c
++ $AR $plugin_option rc conftest.a conftest.c
++ if test "$?" != 0; then
++ AC_MSG_WARN([Failed: $AR $plugin_option rc])
++ else
++ AR="$AR $plugin_option"
++ fi
++ rm -f conftest.*
+: ${AR=ar}
+: ${AR_FLAGS=cru}
+_LT_DECL([], [AR], [1], [The archiver])
@@ -12489,16 +23703,32 @@ index 434530059fa..e45fdc6998c 100644
# _LT_CMD_OLD_ARCHIVE
# -------------------
m4_defun([_LT_CMD_OLD_ARCHIVE],
--[AC_CHECK_TOOL(AR, ar, false)
+@@ -1338,23 +1431,7 @@ for plugin in $plugin_names; do
+ fi
+ done
+
+-AC_CHECK_TOOL(AR, ar, false)
-test -z "$AR" && AR=ar
+-if test -n "$plugin_option"; then
+- if $AR --help 2>&1 | grep -q "\--plugin"; then
+- touch conftest.c
+- $AR $plugin_option rc conftest.a conftest.c
+- if test "$?" != 0; then
+- AC_MSG_WARN([Failed: $AR $plugin_option rc])
+- else
+- AR="$AR $plugin_option"
+- fi
+- rm -f conftest.*
+- fi
+-fi
-test -z "$AR_FLAGS" && AR_FLAGS=cru
-_LT_DECL([], [AR], [1], [The archiver])
-_LT_DECL([], [AR_FLAGS], [1])
-+[_LT_PROG_AR
++_LT_PROG_AR
AC_CHECK_TOOL(STRIP, strip, :)
test -z "$STRIP" && STRIP=:
-@@ -1623,7 +1705,7 @@ else
+@@ -1655,7 +1732,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
@@ -12507,7 +23737,7 @@ index 434530059fa..e45fdc6998c 100644
#include "confdefs.h"
#if HAVE_DLFCN_H
-@@ -1667,10 +1749,10 @@ else
+@@ -1699,10 +1776,10 @@ else
/* When -fvisbility=hidden is used, assume the code has been annotated
correspondingly for the symbols needed. */
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -12520,7 +23750,7 @@ index 434530059fa..e45fdc6998c 100644
int main ()
{
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
-@@ -2210,8 +2292,9 @@ cygwin* | mingw* | pw32* | cegcc*)
+@@ -2242,8 +2319,9 @@ cygwin* | mingw* | pw32* | cegcc*)
need_version=no
need_lib_prefix=no
@@ -12532,7 +23762,7 @@ index 434530059fa..e45fdc6998c 100644
library_names_spec='$libname.dll.a'
# DLL is installed to $(libdir)/../bin by postinstall_cmds
postinstall_cmds='base_file=`basename \${file}`~
-@@ -2244,13 +2327,71 @@ m4_if([$1], [],[
+@@ -2276,13 +2354,71 @@ m4_if([$1], [],[
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
;;
esac
@@ -12605,16 +23835,7 @@ index 434530059fa..e45fdc6998c 100644
# FIXME: first we should search . and the directory the executable is in
shlibpath_var=PATH
;;
-@@ -2342,7 +2483,7 @@ haiku*)
- soname_spec='${libname}${release}${shared_ext}$major'
- shlibpath_var=LIBRARY_PATH
- shlibpath_overrides_runpath=yes
-- sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
-+ sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
- hardcode_into_libs=yes
- ;;
-
-@@ -2950,6 +3091,11 @@ case $reload_flag in
+@@ -2996,6 +3132,11 @@ case $reload_flag in
esac
reload_cmds='$LD$reload_flag -o $output$reload_objs'
case $host_os in
@@ -12626,7 +23847,7 @@ index 434530059fa..e45fdc6998c 100644
darwin*)
if test "$GCC" = yes; then
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
-@@ -3016,7 +3162,8 @@ mingw* | pw32*)
+@@ -3062,7 +3203,8 @@ mingw* | pw32*)
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
lt_cv_file_magic_cmd='func_win32_libid'
else
@@ -12636,7 +23857,7 @@ index 434530059fa..e45fdc6998c 100644
lt_cv_file_magic_cmd='$OBJDUMP -f'
fi
;;
-@@ -3167,6 +3314,21 @@ tpf*)
+@@ -3218,6 +3360,21 @@ vxworks*)
;;
esac
])
@@ -12658,7 +23879,7 @@ index 434530059fa..e45fdc6998c 100644
file_magic_cmd=$lt_cv_file_magic_cmd
deplibs_check_method=$lt_cv_deplibs_check_method
test -z "$deplibs_check_method" && deplibs_check_method=unknown
-@@ -3174,7 +3336,11 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown
+@@ -3225,7 +3382,11 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown
_LT_DECL([], [deplibs_check_method], [1],
[Method to check whether dependent libraries are shared objects])
_LT_DECL([], [file_magic_cmd], [1],
@@ -12671,7 +23892,7 @@ index 434530059fa..e45fdc6998c 100644
])# _LT_CHECK_MAGIC_METHOD
-@@ -3277,6 +3443,67 @@ dnl aclocal-1.4 backwards compatibility:
+@@ -3336,6 +3497,67 @@ dnl aclocal-1.4 backwards compatibility:
dnl AC_DEFUN([AM_PROG_NM], [])
dnl AC_DEFUN([AC_PROG_NM], [])
@@ -12739,7 +23960,7 @@ index 434530059fa..e45fdc6998c 100644
# LT_LIB_M
# --------
-@@ -3403,8 +3630,8 @@ esac
+@@ -3462,8 +3684,8 @@ esac
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
# Transform an extracted symbol line into symbol name and symbol address
@@ -12750,7 +23971,7 @@ index 434530059fa..e45fdc6998c 100644
# Handle CRLF in mingw tool chain
opt_cr=
-@@ -3440,6 +3667,7 @@ for ac_symprfx in "" "_"; do
+@@ -3499,6 +3721,7 @@ for ac_symprfx in "" "_"; do
else
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
fi
@@ -12758,7 +23979,7 @@ index 434530059fa..e45fdc6998c 100644
# Check to see that the pipe works correctly.
pipe_works=no
-@@ -3473,6 +3701,18 @@ _LT_EOF
+@@ -3532,6 +3755,18 @@ _LT_EOF
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
cat <<_LT_EOF > conftest.$ac_ext
@@ -12777,7 +23998,7 @@ index 434530059fa..e45fdc6998c 100644
#ifdef __cplusplus
extern "C" {
#endif
-@@ -3484,7 +3724,7 @@ _LT_EOF
+@@ -3543,7 +3778,7 @@ _LT_EOF
cat <<_LT_EOF >> conftest.$ac_ext
/* The mapping between symbol names and symbols. */
@@ -12786,7 +24007,7 @@ index 434530059fa..e45fdc6998c 100644
const char *name;
void *address;
}
-@@ -3510,15 +3750,15 @@ static const void *lt_preloaded_setup() {
+@@ -3569,15 +3804,15 @@ static const void *lt_preloaded_setup() {
_LT_EOF
# Now try linking the two files.
mv conftest.$ac_objext conftstm.$ac_objext
@@ -12806,7 +24027,7 @@ index 434530059fa..e45fdc6998c 100644
else
echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
fi
-@@ -3551,6 +3791,13 @@ else
+@@ -3610,6 +3845,13 @@ else
AC_MSG_RESULT(ok)
fi
@@ -12820,7 +24041,7 @@ index 434530059fa..e45fdc6998c 100644
_LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1],
[Take the output of nm and produce a listing of raw symbols and C names])
_LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1],
-@@ -3561,6 +3808,8 @@ _LT_DECL([global_symbol_to_c_name_address],
+@@ -3620,6 +3862,8 @@ _LT_DECL([global_symbol_to_c_name_address],
_LT_DECL([global_symbol_to_c_name_address_lib_prefix],
[lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1],
[Transform the output of nm in a C name address pair when lib prefix is needed])
@@ -12829,7 +24050,7 @@ index 434530059fa..e45fdc6998c 100644
]) # _LT_CMD_GLOBAL_SYMBOLS
-@@ -3572,7 +3821,6 @@ _LT_TAGVAR(lt_prog_compiler_wl, $1)=
+@@ -3631,7 +3875,6 @@ _LT_TAGVAR(lt_prog_compiler_wl, $1)=
_LT_TAGVAR(lt_prog_compiler_pic, $1)=
_LT_TAGVAR(lt_prog_compiler_static, $1)=
@@ -12837,7 +24058,7 @@ index 434530059fa..e45fdc6998c 100644
m4_if([$1], [CXX], [
# C++ specific cases for pic, static, wl, etc.
if test "$GXX" = yes; then
-@@ -3678,6 +3926,12 @@ m4_if([$1], [CXX], [
+@@ -3737,6 +3980,12 @@ m4_if([$1], [CXX], [
;;
esac
;;
@@ -12850,7 +24071,7 @@ index 434530059fa..e45fdc6998c 100644
dgux*)
case $cc_basename in
ec++*)
-@@ -3830,7 +4084,7 @@ m4_if([$1], [CXX], [
+@@ -3889,7 +4138,7 @@ m4_if([$1], [CXX], [
;;
solaris*)
case $cc_basename in
@@ -12859,7 +24080,7 @@ index 434530059fa..e45fdc6998c 100644
# Sun C++ 4.2, 5.x and Centerline C++
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
-@@ -4053,6 +4307,12 @@ m4_if([$1], [CXX], [
+@@ -4112,6 +4361,12 @@ m4_if([$1], [CXX], [
_LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared'
_LT_TAGVAR(lt_prog_compiler_static, $1)='--static'
;;
@@ -12872,7 +24093,7 @@ index 434530059fa..e45fdc6998c 100644
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
# Portland Group compilers (*not* the Pentium gcc compiler,
# which looks to be a dead project)
-@@ -4115,7 +4375,7 @@ m4_if([$1], [CXX], [
+@@ -4174,7 +4429,7 @@ m4_if([$1], [CXX], [
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
case $cc_basename in
@@ -12881,7 +24102,7 @@ index 434530059fa..e45fdc6998c 100644
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
*)
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
-@@ -4172,9 +4432,11 @@ case $host_os in
+@@ -4231,9 +4486,11 @@ case $host_os in
_LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])"
;;
esac
@@ -12896,7 +24117,7 @@ index 434530059fa..e45fdc6998c 100644
#
# Check to make sure the PIC flag actually works.
-@@ -4193,6 +4455,8 @@ fi
+@@ -4252,6 +4509,8 @@ fi
_LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1],
[Additional compiler flags for building library objects])
@@ -12905,7 +24126,7 @@ index 434530059fa..e45fdc6998c 100644
#
# Check to make sure the static flag actually works.
#
-@@ -4213,6 +4477,7 @@ _LT_TAGDECL([link_static_flag], [lt_prog_compiler_static], [1],
+@@ -4272,6 +4531,7 @@ _LT_TAGDECL([link_static_flag], [lt_prog_compiler_static], [1],
m4_defun([_LT_LINKER_SHLIBS],
[AC_REQUIRE([LT_PATH_LD])dnl
AC_REQUIRE([LT_PATH_NM])dnl
@@ -12913,7 +24134,7 @@ index 434530059fa..e45fdc6998c 100644
m4_require([_LT_FILEUTILS_DEFAULTS])dnl
m4_require([_LT_DECL_EGREP])dnl
m4_require([_LT_DECL_SED])dnl
-@@ -4221,6 +4486,7 @@ m4_require([_LT_TAG_COMPILER])dnl
+@@ -4280,6 +4540,7 @@ m4_require([_LT_TAG_COMPILER])dnl
AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
m4_if([$1], [CXX], [
_LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
@@ -12921,7 +24142,7 @@ index 434530059fa..e45fdc6998c 100644
case $host_os in
aix[[4-9]]*)
# If we're using GNU nm, then we don't want the "-C" option.
-@@ -4235,15 +4501,20 @@ m4_if([$1], [CXX], [
+@@ -4294,15 +4555,20 @@ m4_if([$1], [CXX], [
;;
pw32*)
_LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
@@ -12947,7 +24168,7 @@ index 434530059fa..e45fdc6998c 100644
], [
runpath_var=
_LT_TAGVAR(allow_undefined_flag, $1)=
-@@ -4411,7 +4682,8 @@ _LT_EOF
+@@ -4470,7 +4736,8 @@ _LT_EOF
_LT_TAGVAR(allow_undefined_flag, $1)=unsupported
_LT_TAGVAR(always_export_symbols, $1)=no
_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
@@ -12957,7 +24178,7 @@ index 434530059fa..e45fdc6998c 100644
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
-@@ -4510,12 +4782,12 @@ _LT_EOF
+@@ -4569,12 +4836,12 @@ _LT_EOF
_LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
@@ -12972,7 +24193,7 @@ index 434530059fa..e45fdc6998c 100644
fi
;;
esac
-@@ -4529,8 +4801,8 @@ _LT_EOF
+@@ -4588,8 +4855,8 @@ _LT_EOF
_LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
wlarc=
else
@@ -12983,7 +24204,7 @@ index 434530059fa..e45fdc6998c 100644
fi
;;
-@@ -4548,8 +4820,8 @@ _LT_EOF
+@@ -4607,8 +4874,8 @@ _LT_EOF
_LT_EOF
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -12994,7 +24215,7 @@ index 434530059fa..e45fdc6998c 100644
else
_LT_TAGVAR(ld_shlibs, $1)=no
fi
-@@ -4595,8 +4867,8 @@ _LT_EOF
+@@ -4654,8 +4921,8 @@ _LT_EOF
*)
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -13005,7 +24226,7 @@ index 434530059fa..e45fdc6998c 100644
else
_LT_TAGVAR(ld_shlibs, $1)=no
fi
-@@ -4726,7 +4998,7 @@ _LT_EOF
+@@ -4785,7 +5052,7 @@ _LT_EOF
_LT_TAGVAR(allow_undefined_flag, $1)='-berok'
# Determine the default libpath from the value encoded in an
# empty executable.
@@ -13014,7 +24235,7 @@ index 434530059fa..e45fdc6998c 100644
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
else
-@@ -4737,7 +5009,7 @@ _LT_EOF
+@@ -4796,7 +5063,7 @@ _LT_EOF
else
# Determine the default libpath from the value encoded in an
# empty executable.
@@ -13023,7 +24244,7 @@ index 434530059fa..e45fdc6998c 100644
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
# Warning - without using the other run time loading flags,
# -berok will link without error, but may produce a broken library.
-@@ -4781,20 +5053,63 @@ _LT_EOF
+@@ -4840,20 +5107,63 @@ _LT_EOF
# Microsoft Visual C++.
# hardcode_libdir_flag_spec is actually meaningless, as there is
# no search path for DLLs.
@@ -13101,7 +24322,7 @@ index 434530059fa..e45fdc6998c 100644
;;
darwin* | rhapsody*)
-@@ -4828,7 +5143,7 @@ _LT_EOF
+@@ -4887,7 +5197,7 @@ _LT_EOF
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
freebsd* | dragonfly*)
@@ -13110,7 +24331,7 @@ index 434530059fa..e45fdc6998c 100644
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
_LT_TAGVAR(hardcode_direct, $1)=yes
_LT_TAGVAR(hardcode_shlibpath_var, $1)=no
-@@ -4836,7 +5151,7 @@ _LT_EOF
+@@ -4895,7 +5205,7 @@ _LT_EOF
hpux9*)
if test "$GCC" = yes; then
@@ -13119,7 +24340,7 @@ index 434530059fa..e45fdc6998c 100644
else
_LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
fi
-@@ -4852,7 +5167,7 @@ _LT_EOF
+@@ -4911,7 +5221,7 @@ _LT_EOF
hpux10*)
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
@@ -13128,8 +24349,8 @@ index 434530059fa..e45fdc6998c 100644
else
_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
fi
-@@ -4876,10 +5191,10 @@ _LT_EOF
- _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
+@@ -4935,10 +5245,10 @@ _LT_EOF
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
;;
ia64*)
- _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
@@ -13141,7 +24362,7 @@ index 434530059fa..e45fdc6998c 100644
;;
esac
else
-@@ -4926,16 +5241,31 @@ _LT_EOF
+@@ -4985,16 +5295,31 @@ _LT_EOF
irix5* | irix6* | nonstopux*)
if test "$GCC" = yes; then
@@ -13180,7 +24401,7 @@ index 434530059fa..e45fdc6998c 100644
else
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
-@@ -5020,7 +5350,7 @@ _LT_EOF
+@@ -5079,7 +5404,7 @@ _LT_EOF
osf4* | osf5*) # as osf3* with the addition of -msym flag
if test "$GCC" = yes; then
_LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
@@ -13189,7 +24410,7 @@ index 434530059fa..e45fdc6998c 100644
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
else
_LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
-@@ -5039,9 +5369,9 @@ _LT_EOF
+@@ -5098,9 +5423,9 @@ _LT_EOF
_LT_TAGVAR(no_undefined_flag, $1)=' -z defs'
if test "$GCC" = yes; then
wlarc='${wl}'
@@ -13201,7 +24422,7 @@ index 434530059fa..e45fdc6998c 100644
else
case `$CC -V 2>&1` in
*"Compilers 5.0"*)
-@@ -5313,8 +5643,6 @@ _LT_TAGDECL([], [inherit_rpath], [0],
+@@ -5372,8 +5697,6 @@ _LT_TAGDECL([], [inherit_rpath], [0],
to runtime path list])
_LT_TAGDECL([], [link_all_deplibs], [0],
[Whether libtool must link a program against all its dependency libraries])
@@ -13210,7 +24431,7 @@ index 434530059fa..e45fdc6998c 100644
_LT_TAGDECL([], [always_export_symbols], [0],
[Set to "yes" if exported symbols are required])
_LT_TAGDECL([], [export_symbols_cmds], [2],
-@@ -5325,6 +5653,8 @@ _LT_TAGDECL([], [include_expsyms], [1],
+@@ -5384,6 +5707,8 @@ _LT_TAGDECL([], [include_expsyms], [1],
[Symbols that must always be exported])
_LT_TAGDECL([], [prelink_cmds], [2],
[Commands necessary for linking programs (against libraries) with templates])
@@ -13219,7 +24440,7 @@ index 434530059fa..e45fdc6998c 100644
_LT_TAGDECL([], [file_list_spec], [1],
[Specify filename containing input files])
dnl FIXME: Not yet implemented
-@@ -5426,6 +5756,7 @@ CC="$lt_save_CC"
+@@ -5485,6 +5810,7 @@ CC="$lt_save_CC"
m4_defun([_LT_LANG_CXX_CONFIG],
[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
m4_require([_LT_DECL_EGREP])dnl
@@ -13227,7 +24448,7 @@ index 434530059fa..e45fdc6998c 100644
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
(test "X$CXX" != "Xg++"))) ; then
-@@ -5487,6 +5818,7 @@ if test "$_lt_caught_CXX_error" != yes; then
+@@ -5546,6 +5872,7 @@ if test "$_lt_caught_CXX_error" != yes; then
# Allow CC to be a program name with arguments.
lt_save_CC=$CC
@@ -13235,7 +24456,7 @@ index 434530059fa..e45fdc6998c 100644
lt_save_LD=$LD
lt_save_GCC=$GCC
GCC=$GXX
-@@ -5504,6 +5836,7 @@ if test "$_lt_caught_CXX_error" != yes; then
+@@ -5563,6 +5890,7 @@ if test "$_lt_caught_CXX_error" != yes; then
fi
test -z "${LDCXX+set}" || LD=$LDCXX
CC=${CXX-"c++"}
@@ -13243,7 +24464,7 @@ index 434530059fa..e45fdc6998c 100644
compiler=$CC
_LT_TAGVAR(compiler, $1)=$CC
_LT_CC_BASENAME([$compiler])
-@@ -5667,7 +6000,7 @@ if test "$_lt_caught_CXX_error" != yes; then
+@@ -5726,7 +6054,7 @@ if test "$_lt_caught_CXX_error" != yes; then
_LT_TAGVAR(allow_undefined_flag, $1)='-berok'
# Determine the default libpath from the value encoded in an empty
# executable.
@@ -13252,7 +24473,7 @@ index 434530059fa..e45fdc6998c 100644
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
-@@ -5679,7 +6012,7 @@ if test "$_lt_caught_CXX_error" != yes; then
+@@ -5738,7 +6066,7 @@ if test "$_lt_caught_CXX_error" != yes; then
else
# Determine the default libpath from the value encoded in an
# empty executable.
@@ -13261,7 +24482,7 @@ index 434530059fa..e45fdc6998c 100644
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
# Warning - without using the other run time loading flags,
# -berok will link without error, but may produce a broken library.
-@@ -5721,29 +6054,75 @@ if test "$_lt_caught_CXX_error" != yes; then
+@@ -5780,29 +6108,75 @@ if test "$_lt_caught_CXX_error" != yes; then
;;
cygwin* | mingw* | pw32* | cegcc*)
@@ -13360,7 +24581,7 @@ index 434530059fa..e45fdc6998c 100644
darwin* | rhapsody*)
_LT_DARWIN_LINKER_FEATURES($1)
;;
-@@ -5818,7 +6197,7 @@ if test "$_lt_caught_CXX_error" != yes; then
+@@ -5877,7 +6251,7 @@ if test "$_lt_caught_CXX_error" != yes; then
;;
*)
if test "$GXX" = yes; then
@@ -13369,8 +24590,8 @@ index 434530059fa..e45fdc6998c 100644
else
# FIXME: insert proper C++ library support
_LT_TAGVAR(ld_shlibs, $1)=no
-@@ -5889,10 +6268,10 @@ if test "$_lt_caught_CXX_error" != yes; then
- _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+@@ -5948,10 +6322,10 @@ if test "$_lt_caught_CXX_error" != yes; then
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
;;
ia64*)
- _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
@@ -13382,7 +24603,7 @@ index 434530059fa..e45fdc6998c 100644
;;
esac
fi
-@@ -5933,9 +6312,9 @@ if test "$_lt_caught_CXX_error" != yes; then
+@@ -5992,9 +6366,9 @@ if test "$_lt_caught_CXX_error" != yes; then
*)
if test "$GXX" = yes; then
if test "$with_gnu_ld" = no; then
@@ -13394,32 +24615,7 @@ index 434530059fa..e45fdc6998c 100644
fi
fi
_LT_TAGVAR(link_all_deplibs, $1)=yes
-@@ -6005,20 +6384,20 @@ if test "$_lt_caught_CXX_error" != yes; then
- _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~
- rm -rf $tpldir~
- $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
-- compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
-+ compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
- _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~
- rm -rf $tpldir~
- $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
-- $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
-+ $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
- $RANLIB $oldlib'
- _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~
- rm -rf $tpldir~
- $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
-- $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
-+ $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
- _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~
- rm -rf $tpldir~
- $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
-- $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
-+ $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
- ;;
- *) # Version 6 and above use weak symbols
- _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
-@@ -6213,7 +6592,7 @@ if test "$_lt_caught_CXX_error" != yes; then
+@@ -6272,7 +6646,7 @@ if test "$_lt_caught_CXX_error" != yes; then
_LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
;;
*)
@@ -13428,7 +24624,7 @@ index 434530059fa..e45fdc6998c 100644
;;
esac
-@@ -6259,7 +6638,7 @@ if test "$_lt_caught_CXX_error" != yes; then
+@@ -6318,7 +6692,7 @@ if test "$_lt_caught_CXX_error" != yes; then
solaris*)
case $cc_basename in
@@ -13437,7 +24633,7 @@ index 434530059fa..e45fdc6998c 100644
# Sun C++ 4.2, 5.x and Centerline C++
_LT_TAGVAR(archive_cmds_need_lc,$1)=yes
_LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
-@@ -6300,9 +6679,9 @@ if test "$_lt_caught_CXX_error" != yes; then
+@@ -6359,9 +6733,9 @@ if test "$_lt_caught_CXX_error" != yes; then
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
_LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
if $CC --version | $GREP -v '^2\.7' > /dev/null; then
@@ -13449,7 +24645,7 @@ index 434530059fa..e45fdc6998c 100644
# Commands to make compiler produce verbose output that lists
# what "hidden" libraries, object files and flags are used when
-@@ -6431,6 +6810,7 @@ if test "$_lt_caught_CXX_error" != yes; then
+@@ -6491,6 +6865,7 @@ if test "$_lt_caught_CXX_error" != yes; then
fi # test -n "$compiler"
CC=$lt_save_CC
@@ -13457,7 +24653,7 @@ index 434530059fa..e45fdc6998c 100644
LDCXX=$LD
LD=$lt_save_LD
GCC=$lt_save_GCC
-@@ -6445,6 +6825,29 @@ AC_LANG_POP
+@@ -6505,6 +6880,29 @@ AC_LANG_POP
])# _LT_LANG_CXX_CONFIG
@@ -13487,7 +24683,7 @@ index 434530059fa..e45fdc6998c 100644
# _LT_SYS_HIDDEN_LIBDEPS([TAGNAME])
# ---------------------------------
# Figure out "hidden" library dependencies from verbose
-@@ -6453,6 +6856,7 @@ AC_LANG_POP
+@@ -6513,6 +6911,7 @@ AC_LANG_POP
# objects, libraries and library flags.
m4_defun([_LT_SYS_HIDDEN_LIBDEPS],
[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
@@ -13495,7 +24691,7 @@ index 434530059fa..e45fdc6998c 100644
# Dependencies to place before and after the object being linked:
_LT_TAGVAR(predep_objects, $1)=
_LT_TAGVAR(postdep_objects, $1)=
-@@ -6503,6 +6907,13 @@ public class foo {
+@@ -6563,6 +6962,13 @@ public class foo {
};
_LT_EOF
])
@@ -13509,7 +24705,7 @@ index 434530059fa..e45fdc6998c 100644
dnl Parse the compiler output and extract the necessary
dnl objects, libraries and library flags.
if AC_TRY_EVAL(ac_compile); then
-@@ -6514,7 +6925,7 @@ if AC_TRY_EVAL(ac_compile); then
+@@ -6574,7 +6980,7 @@ if AC_TRY_EVAL(ac_compile); then
pre_test_object_deps_done=no
for p in `eval "$output_verbose_link_cmd"`; do
@@ -13518,7 +24714,7 @@ index 434530059fa..e45fdc6998c 100644
-L* | -R* | -l*)
# Some compilers place space between "-{L,R}" and the path.
-@@ -6523,13 +6934,22 @@ if AC_TRY_EVAL(ac_compile); then
+@@ -6583,13 +6989,22 @@ if AC_TRY_EVAL(ac_compile); then
test $p = "-R"; then
prev=$p
continue
@@ -13545,7 +24741,7 @@ index 434530059fa..e45fdc6998c 100644
# Internal compiler library paths should come after those
# provided the user. The postdeps already come after the
# user supplied libs so there is no need to process them.
-@@ -6549,8 +6969,10 @@ if AC_TRY_EVAL(ac_compile); then
+@@ -6609,8 +7024,10 @@ if AC_TRY_EVAL(ac_compile); then
_LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} ${prev}${p}"
fi
fi
@@ -13556,7 +24752,7 @@ index 434530059fa..e45fdc6998c 100644
*.$objext)
# This assumes that the test object file only shows up
# once in the compiler output.
-@@ -6586,6 +7008,7 @@ else
+@@ -6646,6 +7063,7 @@ else
fi
$RM -f confest.$objext
@@ -13564,7 +24760,7 @@ index 434530059fa..e45fdc6998c 100644
# PORTME: override above test on systems where it is broken
m4_if([$1], [CXX],
-@@ -6622,7 +7045,7 @@ linux*)
+@@ -6682,7 +7100,7 @@ linux*)
solaris*)
case $cc_basename in
@@ -13573,7 +24769,7 @@ index 434530059fa..e45fdc6998c 100644
# The more standards-conforming stlport4 library is
# incompatible with the Cstd library. Avoid specifying
# it if it's in CXXFLAGS. Ignore libCrun as
-@@ -6735,7 +7158,9 @@ if test "$_lt_disable_F77" != yes; then
+@@ -6795,7 +7213,9 @@ if test "$_lt_disable_F77" != yes; then
# Allow CC to be a program name with arguments.
lt_save_CC="$CC"
lt_save_GCC=$GCC
@@ -13583,7 +24779,7 @@ index 434530059fa..e45fdc6998c 100644
compiler=$CC
_LT_TAGVAR(compiler, $1)=$CC
_LT_CC_BASENAME([$compiler])
-@@ -6789,6 +7214,7 @@ if test "$_lt_disable_F77" != yes; then
+@@ -6849,6 +7269,7 @@ if test "$_lt_disable_F77" != yes; then
GCC=$lt_save_GCC
CC="$lt_save_CC"
@@ -13591,7 +24787,7 @@ index 434530059fa..e45fdc6998c 100644
fi # test "$_lt_disable_F77" != yes
AC_LANG_POP
-@@ -6865,7 +7291,9 @@ if test "$_lt_disable_FC" != yes; then
+@@ -6925,7 +7346,9 @@ if test "$_lt_disable_FC" != yes; then
# Allow CC to be a program name with arguments.
lt_save_CC="$CC"
lt_save_GCC=$GCC
@@ -13601,7 +24797,7 @@ index 434530059fa..e45fdc6998c 100644
compiler=$CC
GCC=$ac_cv_fc_compiler_gnu
-@@ -6921,7 +7349,8 @@ if test "$_lt_disable_FC" != yes; then
+@@ -6981,7 +7404,8 @@ if test "$_lt_disable_FC" != yes; then
fi # test -n "$compiler"
GCC=$lt_save_GCC
@@ -13611,7 +24807,7 @@ index 434530059fa..e45fdc6998c 100644
fi # test "$_lt_disable_FC" != yes
AC_LANG_POP
-@@ -6958,10 +7387,12 @@ _LT_COMPILER_BOILERPLATE
+@@ -7018,10 +7442,12 @@ _LT_COMPILER_BOILERPLATE
_LT_LINKER_BOILERPLATE
# Allow CC to be a program name with arguments.
@@ -13625,7 +24821,7 @@ index 434530059fa..e45fdc6998c 100644
compiler=$CC
_LT_TAGVAR(compiler, $1)=$CC
_LT_TAGVAR(LD, $1)="$LD"
-@@ -6992,7 +7423,8 @@ fi
+@@ -7052,7 +7478,8 @@ fi
AC_LANG_RESTORE
GCC=$lt_save_GCC
@@ -13635,7 +24831,7 @@ index 434530059fa..e45fdc6998c 100644
])# _LT_LANG_GCJ_CONFIG
-@@ -7027,9 +7459,11 @@ _LT_LINKER_BOILERPLATE
+@@ -7087,9 +7514,11 @@ _LT_LINKER_BOILERPLATE
# Allow CC to be a program name with arguments.
lt_save_CC="$CC"
@@ -13647,7 +24843,7 @@ index 434530059fa..e45fdc6998c 100644
compiler=$CC
_LT_TAGVAR(compiler, $1)=$CC
_LT_CC_BASENAME([$compiler])
-@@ -7042,7 +7476,8 @@ fi
+@@ -7102,7 +7531,8 @@ fi
GCC=$lt_save_GCC
AC_LANG_RESTORE
@@ -13657,7 +24853,7 @@ index 434530059fa..e45fdc6998c 100644
])# _LT_LANG_RC_CONFIG
-@@ -7101,6 +7536,15 @@ _LT_DECL([], [OBJDUMP], [1], [An object symbol dumper])
+@@ -7161,6 +7591,15 @@ _LT_DECL([], [OBJDUMP], [1], [An object symbol dumper])
AC_SUBST([OBJDUMP])
])
@@ -13673,7 +24869,7 @@ index 434530059fa..e45fdc6998c 100644
# _LT_DECL_SED
# ------------
-@@ -7194,8 +7638,8 @@ m4_defun([_LT_CHECK_SHELL_FEATURES],
+@@ -7254,8 +7693,8 @@ m4_defun([_LT_CHECK_SHELL_FEATURES],
# Try some XSI features
xsi_shell=no
( _lt_dummy="a/b/c"
@@ -13684,7 +24880,7 @@ index 434530059fa..e45fdc6998c 100644
&& eval 'test $(( 1 + 1 )) -eq 2 \
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
&& xsi_shell=yes
-@@ -7234,206 +7678,162 @@ _LT_DECL([NL2SP], [lt_NL2SP], [1], [turn newlines into spaces])dnl
+@@ -7294,206 +7733,162 @@ _LT_DECL([NL2SP], [lt_NL2SP], [1], [turn newlines into spaces])dnl
])# _LT_CHECK_SHELL_FEATURES
@@ -14034,7 +25230,7 @@ index 434530059fa..e45fdc6998c 100644
+ [0], [convert $build files to toolchain format])dnl
+])# _LT_PATH_CONVERSION_FUNCTIONS
diff --git a/ltmain.sh b/ltmain.sh
-index 9503ec85d70..70e856e0659 100644
+index 70990740b6c..7f7104ffc82 100644
--- a/ltmain.sh
+++ b/ltmain.sh
@@ -1,10 +1,9 @@
@@ -16211,24 +27407,6 @@ index 9503ec85d70..70e856e0659 100644
# func_extract_an_archive dir oldlib
-@@ -2917,7 +3801,7 @@ func_extract_archives ()
- darwin_file=
- darwin_files=
- for darwin_file in $darwin_filelist; do
-- darwin_files=`find unfat-$$ -name $darwin_file -print | $NL2SP`
-+ darwin_files=`find unfat-$$ -name $darwin_file -print | sort | $NL2SP`
- $LIPO -create -output "$darwin_file" $darwin_files
- done # $darwin_filelist
- $RM -rf unfat-$$
-@@ -2932,7 +3816,7 @@ func_extract_archives ()
- func_extract_an_archive "$my_xdir" "$my_xabs"
- ;;
- esac
-- my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP`
-+ my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | sort | $NL2SP`
- done
-
- func_extract_archives_result="$my_oldobjs"
@@ -3014,7 +3898,110 @@ func_fallback_echo ()
_LTECHO_EOF'
}
@@ -19317,11 +30495,39 @@ index bf92b5e0790..c573da90c5c 100644
# These exist entirely to fool aclocal when bootstrapping libtool.
#
+diff --git a/opcodes/Makefile.in b/opcodes/Makefile.in
+index 245479140c9..bfed90449bf 100644
+--- a/opcodes/Makefile.in
++++ b/opcodes/Makefile.in
+@@ -298,6 +298,7 @@ CYGPATH_W = @CYGPATH_W@
+ DATADIRNAME = @DATADIRNAME@
+ DEFS = @DEFS@
+ DEPDIR = @DEPDIR@
++DLLTOOL = @DLLTOOL@
+ DSYMUTIL = @DSYMUTIL@
+ DUMPBIN = @DUMPBIN@
+ ECHO_C = @ECHO_C@
+@@ -336,6 +337,7 @@ LTLIBINTL = @LTLIBINTL@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAINT = @MAINT@
+ MAKEINFO = @MAKEINFO@
++MANIFEST_TOOL = @MANIFEST_TOOL@
+ MKDIR_P = @MKDIR_P@
+ MKINSTALLDIRS = @MKINSTALLDIRS@
+ MSGFMT = @MSGFMT@
+@@ -374,6 +376,7 @@ abs_builddir = @abs_builddir@
+ abs_srcdir = @abs_srcdir@
+ abs_top_builddir = @abs_top_builddir@
+ abs_top_srcdir = @abs_top_srcdir@
++ac_ct_AR = @ac_ct_AR@
+ ac_ct_CC = @ac_ct_CC@
+ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
+ am__include = @am__include@
diff --git a/opcodes/configure b/opcodes/configure
-index 8d1e561c942..a0291dfbfa7 100755
+index 1660c3266a3..a1b84ed81f9 100755
--- a/opcodes/configure
+++ b/opcodes/configure
-@@ -680,6 +680,9 @@ OTOOL
+@@ -688,6 +688,9 @@ OTOOL
LIPO
NMEDIT
DSYMUTIL
@@ -19331,24 +30537,24 @@ index 8d1e561c942..a0291dfbfa7 100755
OBJDUMP
LN_S
NM
-@@ -798,6 +801,7 @@ enable_static
+@@ -806,6 +809,7 @@ enable_static
with_pic
enable_fast_install
with_gnu_ld
+with_libtool_sysroot
enable_libtool_lock
+ enable_checking
enable_targets
- enable_werror
-@@ -1462,6 +1466,8 @@ Optional Packages:
- --with-pic try to use only PIC/non-PIC objects [default=use
- both]
- --with-gnu-ld assume the C compiler uses GNU ld [default=no]
+@@ -1487,6 +1491,8 @@ Optional Packages:
+ --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
+ --without-libintl-prefix don't search for libintl in includedir and libdir
+ --with-libintl-type=TYPE type of library to search for (auto/static/shared)
+ --with-libtool-sysroot=DIR Search for dependent libraries within DIR
+ (or the compiler's sysroot if not specified).
Some influential environment variables:
CC C compiler command
-@@ -5403,8 +5409,8 @@ esac
+@@ -4997,8 +5003,8 @@ esac
@@ -19359,7 +30565,7 @@ index 8d1e561c942..a0291dfbfa7 100755
-@@ -5444,7 +5450,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
+@@ -5038,7 +5044,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
$as_echo_n "checking how to print strings... " >&6; }
# Test print first, because it will be a builtin if present.
@@ -19368,7 +30574,7 @@ index 8d1e561c942..a0291dfbfa7 100755
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
ECHO='print -r --'
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
-@@ -6130,8 +6136,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6;
+@@ -5731,8 +5737,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6;
# Try some XSI features
xsi_shell=no
( _lt_dummy="a/b/c"
@@ -19379,7 +30585,7 @@ index 8d1e561c942..a0291dfbfa7 100755
&& eval 'test $(( 1 + 1 )) -eq 2 \
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
&& xsi_shell=yes
-@@ -6180,6 +6186,80 @@ esac
+@@ -5781,6 +5787,80 @@ esac
@@ -19460,7 +30666,7 @@ index 8d1e561c942..a0291dfbfa7 100755
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
$as_echo_n "checking for $LD option to reload object files... " >&6; }
if ${lt_cv_ld_reload_flag+:} false; then :
-@@ -6196,6 +6276,11 @@ case $reload_flag in
+@@ -5797,6 +5877,11 @@ case $reload_flag in
esac
reload_cmds='$LD$reload_flag -o $output$reload_objs'
case $host_os in
@@ -19472,7 +30678,7 @@ index 8d1e561c942..a0291dfbfa7 100755
darwin*)
if test "$GCC" = yes; then
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
-@@ -6364,7 +6449,8 @@ mingw* | pw32*)
+@@ -5965,7 +6050,8 @@ mingw* | pw32*)
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
lt_cv_file_magic_cmd='func_win32_libid'
else
@@ -19482,7 +30688,7 @@ index 8d1e561c942..a0291dfbfa7 100755
lt_cv_file_magic_cmd='$OBJDUMP -f'
fi
;;
-@@ -6518,6 +6604,21 @@ esac
+@@ -6124,6 +6210,21 @@ esac
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
$as_echo "$lt_cv_deplibs_check_method" >&6; }
@@ -19504,7 +30710,7 @@ index 8d1e561c942..a0291dfbfa7 100755
file_magic_cmd=$lt_cv_file_magic_cmd
deplibs_check_method=$lt_cv_deplibs_check_method
test -z "$deplibs_check_method" && deplibs_check_method=unknown
-@@ -6531,11 +6632,164 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown
+@@ -6139,6 +6240,157 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown
@@ -19518,11 +30724,7 @@ index 8d1e561c942..a0291dfbfa7 100755
+
+
+
-
-
- if test -n "$ac_tool_prefix"; then
-- # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
--set dummy ${ac_tool_prefix}ar; ac_word=$2
++if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
+set dummy ${ac_tool_prefix}dlltool; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
@@ -19663,7 +30865,15 @@ index 8d1e561c942..a0291dfbfa7 100755
+
+
+
-+if test -n "$ac_tool_prefix"; then
+ plugin_option=
+ plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
+ for plugin in $plugin_names; do
+@@ -6153,8 +6405,10 @@ for plugin in $plugin_names; do
+ done
+
+ if test -n "$ac_tool_prefix"; then
+- # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
+-set dummy ${ac_tool_prefix}ar; ac_word=$2
+ for ac_prog in ar
+ do
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
@@ -19671,7 +30881,7 @@ index 8d1e561c942..a0291dfbfa7 100755
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_prog_AR+:} false; then :
-@@ -6551,7 +6805,7 @@ do
+@@ -6170,7 +6424,7 @@ do
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
@@ -19680,7 +30890,7 @@ index 8d1e561c942..a0291dfbfa7 100755
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
-@@ -6571,11 +6825,15 @@ $as_echo "no" >&6; }
+@@ -6190,11 +6444,15 @@ $as_echo "no" >&6; }
fi
@@ -19699,7 +30909,7 @@ index 8d1e561c942..a0291dfbfa7 100755
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_prog_ac_ct_AR+:} false; then :
-@@ -6591,7 +6849,7 @@ do
+@@ -6210,7 +6468,7 @@ do
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
@@ -19708,7 +30918,7 @@ index 8d1e561c942..a0291dfbfa7 100755
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
-@@ -6610,6 +6868,10 @@ else
+@@ -6229,6 +6487,10 @@ else
$as_echo "no" >&6; }
fi
@@ -19719,7 +30929,7 @@ index 8d1e561c942..a0291dfbfa7 100755
if test "x$ac_ct_AR" = x; then
AR="false"
else
-@@ -6621,16 +6883,72 @@ ac_tool_warned=yes ;;
+@@ -6240,25 +6502,20 @@ ac_tool_warned=yes ;;
esac
AR=$ac_ct_AR
fi
@@ -19728,20 +30938,37 @@ index 8d1e561c942..a0291dfbfa7 100755
fi
-test -z "$AR" && AR=ar
+-if test -n "$plugin_option"; then
+- if $AR --help 2>&1 | grep -q "\--plugin"; then
+- touch conftest.c
+- $AR $plugin_option rc conftest.a conftest.c
+- if test "$?" != 0; then
+- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
++ touch conftest.c
++ $AR $plugin_option rc conftest.a conftest.c
++ if test "$?" != 0; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
+ $as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
+- else
+- AR="$AR $plugin_option"
+- fi
+- rm -f conftest.*
++ else
++ AR="$AR $plugin_option"
+ fi
+-fi
-test -z "$AR_FLAGS" && AR_FLAGS=cru
++ rm -f conftest.*
+: ${AR=ar}
+: ${AR_FLAGS=cru}
+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
+
+
+
+@@ -6269,6 +6526,63 @@ test -z "$AR_FLAGS" && AR_FLAGS=cru
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
+$as_echo_n "checking for archiver @FILE support... " >&6; }
+if ${lt_cv_ar_at_file+:} false; then :
@@ -19754,7 +30981,7 @@ index 8d1e561c942..a0291dfbfa7 100755
+int
+main ()
+{
-
++
+ ;
+ return 0;
+}
@@ -19780,23 +31007,29 @@ index 8d1e561c942..a0291dfbfa7 100755
+ fi
+ fi
+ rm -f conftest.* libconftest.a
-
++
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-
++
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
+$as_echo "$lt_cv_ar_at_file" >&6; }
-
++
+if test "x$lt_cv_ar_at_file" = xno; then
+ archiver_list_spec=
+else
+ archiver_list_spec=$lt_cv_ar_at_file
+fi
++
++
++
++
++
++
-
-
-@@ -6972,8 +7290,8 @@ esac
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
+@@ -6609,8 +6923,8 @@ esac
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
# Transform an extracted symbol line into symbol name and symbol address
@@ -19807,7 +31040,7 @@ index 8d1e561c942..a0291dfbfa7 100755
# Handle CRLF in mingw tool chain
opt_cr=
-@@ -7009,6 +7327,7 @@ for ac_symprfx in "" "_"; do
+@@ -6646,6 +6960,7 @@ for ac_symprfx in "" "_"; do
else
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
fi
@@ -19815,7 +31048,7 @@ index 8d1e561c942..a0291dfbfa7 100755
# Check to see that the pipe works correctly.
pipe_works=no
-@@ -7050,6 +7369,18 @@ _LT_EOF
+@@ -6687,6 +7002,18 @@ _LT_EOF
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
cat <<_LT_EOF > conftest.$ac_ext
@@ -19834,7 +31067,7 @@ index 8d1e561c942..a0291dfbfa7 100755
#ifdef __cplusplus
extern "C" {
#endif
-@@ -7061,7 +7392,7 @@ _LT_EOF
+@@ -6698,7 +7025,7 @@ _LT_EOF
cat <<_LT_EOF >> conftest.$ac_ext
/* The mapping between symbol names and symbols. */
@@ -19843,7 +31076,7 @@ index 8d1e561c942..a0291dfbfa7 100755
const char *name;
void *address;
}
-@@ -7087,8 +7418,8 @@ static const void *lt_preloaded_setup() {
+@@ -6724,8 +7051,8 @@ static const void *lt_preloaded_setup() {
_LT_EOF
# Now try linking the two files.
mv conftest.$ac_objext conftstm.$ac_objext
@@ -19854,7 +31087,7 @@ index 8d1e561c942..a0291dfbfa7 100755
LIBS="conftstm.$ac_objext"
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
-@@ -7098,8 +7429,8 @@ _LT_EOF
+@@ -6735,8 +7062,8 @@ _LT_EOF
test $ac_status = 0; } && test -s conftest${ac_exeext}; then
pipe_works=yes
fi
@@ -19865,7 +31098,7 @@ index 8d1e561c942..a0291dfbfa7 100755
else
echo "cannot find nm_test_func in $nlist" >&5
fi
-@@ -7136,6 +7467,16 @@ else
+@@ -6773,6 +7100,14 @@ else
$as_echo "ok" >&6; }
fi
@@ -19877,12 +31110,10 @@ index 8d1e561c942..a0291dfbfa7 100755
+fi
+
+
-+
-+
-@@ -7152,6 +7493,45 @@ fi
+@@ -6791,6 +7126,47 @@ fi
@@ -19925,10 +31156,12 @@ index 8d1e561c942..a0291dfbfa7 100755
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
+$as_echo "${lt_sysroot:-no}" >&6; }
++
++
-@@ -7363,6 +7743,123 @@ esac
+@@ -7000,6 +7376,123 @@ esac
need_locks="$enable_libtool_lock"
@@ -20052,7 +31285,7 @@ index 8d1e561c942..a0291dfbfa7 100755
case $host_os in
rhapsody* | darwin*)
-@@ -7926,6 +8423,8 @@ _LT_EOF
+@@ -7563,6 +8056,8 @@ _LT_EOF
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
echo "$AR cru libconftest.a conftest.o" >&5
$AR cru libconftest.a conftest.o 2>&5
@@ -20061,26 +31294,7 @@ index 8d1e561c942..a0291dfbfa7 100755
cat > conftest.c << _LT_EOF
int main() { return 0;}
_LT_EOF
-@@ -8091,7 +8590,8 @@ fi
- LIBTOOL_DEPS="$ltmain"
-
- # Always use our own libtool.
--LIBTOOL='$(SHELL) $(top_builddir)/libtool'
-+LIBTOOL='$(SHELL) $(top_builddir)'
-+LIBTOOL="$LIBTOOL/${host_alias}-libtool"
-
-
-
-@@ -8180,7 +8680,7 @@ aix3*)
- esac
-
- # Global variables:
--ofile=libtool
-+ofile=${host_alias}-libtool
- can_build_shared=yes
-
- # All known linkers require a `.a' archive for static linking (except MSVC,
-@@ -8478,8 +8978,6 @@ fi
+@@ -8117,8 +8612,6 @@ fi
lt_prog_compiler_pic=
lt_prog_compiler_static=
@@ -20089,7 +31303,7 @@ index 8d1e561c942..a0291dfbfa7 100755
if test "$GCC" = yes; then
lt_prog_compiler_wl='-Wl,'
-@@ -8645,6 +9143,12 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
+@@ -8284,6 +8777,12 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
lt_prog_compiler_pic='--shared'
lt_prog_compiler_static='--static'
;;
@@ -20102,7 +31316,7 @@ index 8d1e561c942..a0291dfbfa7 100755
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
# Portland Group compilers (*not* the Pentium gcc compiler,
# which looks to be a dead project)
-@@ -8707,7 +9211,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
+@@ -8346,7 +8845,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
lt_prog_compiler_pic='-KPIC'
lt_prog_compiler_static='-Bstatic'
case $cc_basename in
@@ -20111,7 +31325,7 @@ index 8d1e561c942..a0291dfbfa7 100755
lt_prog_compiler_wl='-Qoption ld ';;
*)
lt_prog_compiler_wl='-Wl,';;
-@@ -8764,13 +9268,17 @@ case $host_os in
+@@ -8403,13 +8902,17 @@ case $host_os in
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
;;
esac
@@ -20135,7 +31349,7 @@ index 8d1e561c942..a0291dfbfa7 100755
#
# Check to make sure the PIC flag actually works.
-@@ -8831,6 +9339,11 @@ fi
+@@ -8470,6 +8973,11 @@ fi
@@ -20147,7 +31361,7 @@ index 8d1e561c942..a0291dfbfa7 100755
#
# Check to make sure the static flag actually works.
#
-@@ -9181,7 +9694,8 @@ _LT_EOF
+@@ -8820,7 +9328,8 @@ _LT_EOF
allow_undefined_flag=unsupported
always_export_symbols=no
enable_shared_with_static_runtimes=yes
@@ -20157,7 +31371,7 @@ index 8d1e561c942..a0291dfbfa7 100755
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
-@@ -9280,12 +9794,12 @@ _LT_EOF
+@@ -8919,12 +9428,12 @@ _LT_EOF
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
hardcode_libdir_flag_spec=
hardcode_libdir_flag_spec_ld='-rpath $libdir'
@@ -20172,7 +31386,7 @@ index 8d1e561c942..a0291dfbfa7 100755
fi
;;
esac
-@@ -9299,8 +9813,8 @@ _LT_EOF
+@@ -8938,8 +9447,8 @@ _LT_EOF
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
wlarc=
else
@@ -20183,7 +31397,7 @@ index 8d1e561c942..a0291dfbfa7 100755
fi
;;
-@@ -9318,8 +9832,8 @@ _LT_EOF
+@@ -8957,8 +9466,8 @@ _LT_EOF
_LT_EOF
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -20194,7 +31408,7 @@ index 8d1e561c942..a0291dfbfa7 100755
else
ld_shlibs=no
fi
-@@ -9365,8 +9879,8 @@ _LT_EOF
+@@ -9004,8 +9513,8 @@ _LT_EOF
*)
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -20205,7 +31419,7 @@ index 8d1e561c942..a0291dfbfa7 100755
else
ld_shlibs=no
fi
-@@ -9496,7 +10010,13 @@ _LT_EOF
+@@ -9135,7 +9644,13 @@ _LT_EOF
allow_undefined_flag='-berok'
# Determine the default libpath from the value encoded in an
# empty executable.
@@ -20220,7 +31434,7 @@ index 8d1e561c942..a0291dfbfa7 100755
/* end confdefs.h. */
int
-@@ -9509,22 +10029,29 @@ main ()
+@@ -9148,22 +9663,29 @@ main ()
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
@@ -20263,7 +31477,7 @@ index 8d1e561c942..a0291dfbfa7 100755
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
-@@ -9536,7 +10063,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+@@ -9175,7 +9697,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
else
# Determine the default libpath from the value encoded in an
# empty executable.
@@ -20278,7 +31492,7 @@ index 8d1e561c942..a0291dfbfa7 100755
/* end confdefs.h. */
int
-@@ -9549,22 +10082,29 @@ main ()
+@@ -9188,22 +9716,29 @@ main ()
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
@@ -20321,7 +31535,7 @@ index 8d1e561c942..a0291dfbfa7 100755
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
# Warning - without using the other run time loading flags,
-@@ -9609,20 +10149,63 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+@@ -9248,20 +9783,63 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
# Microsoft Visual C++.
# hardcode_libdir_flag_spec is actually meaningless, as there is
# no search path for DLLs.
@@ -20399,7 +31613,7 @@ index 8d1e561c942..a0291dfbfa7 100755
;;
darwin* | rhapsody*)
-@@ -9683,7 +10266,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+@@ -9322,7 +9900,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
freebsd* | dragonfly*)
@@ -20408,7 +31622,7 @@ index 8d1e561c942..a0291dfbfa7 100755
hardcode_libdir_flag_spec='-R$libdir'
hardcode_direct=yes
hardcode_shlibpath_var=no
-@@ -9691,7 +10274,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+@@ -9330,7 +9908,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
hpux9*)
if test "$GCC" = yes; then
@@ -20417,7 +31631,7 @@ index 8d1e561c942..a0291dfbfa7 100755
else
archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
fi
-@@ -9707,7 +10290,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+@@ -9346,7 +9924,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
hpux10*)
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
@@ -20426,8 +31640,8 @@ index 8d1e561c942..a0291dfbfa7 100755
else
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
fi
-@@ -9731,10 +10314,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
- archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
+@@ -9370,10 +9948,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+ archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
;;
ia64*)
- archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
@@ -20439,7 +31653,7 @@ index 8d1e561c942..a0291dfbfa7 100755
;;
esac
else
-@@ -9813,23 +10396,36 @@ fi
+@@ -9452,23 +10030,36 @@ fi
irix5* | irix6* | nonstopux*)
if test "$GCC" = yes; then
@@ -20484,7 +31698,7 @@ index 8d1e561c942..a0291dfbfa7 100755
else
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
-@@ -9914,7 +10510,7 @@ rm -f core conftest.err conftest.$ac_objext \
+@@ -9553,7 +10144,7 @@ rm -f core conftest.err conftest.$ac_objext \
osf4* | osf5*) # as osf3* with the addition of -msym flag
if test "$GCC" = yes; then
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
@@ -20493,7 +31707,7 @@ index 8d1e561c942..a0291dfbfa7 100755
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
else
allow_undefined_flag=' -expect_unresolved \*'
-@@ -9933,9 +10529,9 @@ rm -f core conftest.err conftest.$ac_objext \
+@@ -9572,9 +10163,9 @@ rm -f core conftest.err conftest.$ac_objext \
no_undefined_flag=' -z defs'
if test "$GCC" = yes; then
wlarc='${wl}'
@@ -20505,7 +31719,7 @@ index 8d1e561c942..a0291dfbfa7 100755
else
case `$CC -V 2>&1` in
*"Compilers 5.0"*)
-@@ -10511,8 +11107,9 @@ cygwin* | mingw* | pw32* | cegcc*)
+@@ -10150,8 +10741,9 @@ cygwin* | mingw* | pw32* | cegcc*)
need_version=no
need_lib_prefix=no
@@ -20517,7 +31731,7 @@ index 8d1e561c942..a0291dfbfa7 100755
library_names_spec='$libname.dll.a'
# DLL is installed to $(libdir)/../bin by postinstall_cmds
postinstall_cmds='base_file=`basename \${file}`~
-@@ -10545,13 +11142,71 @@ cygwin* | mingw* | pw32* | cegcc*)
+@@ -10184,13 +10776,71 @@ cygwin* | mingw* | pw32* | cegcc*)
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
;;
esac
@@ -20590,25 +31804,16 @@ index 8d1e561c942..a0291dfbfa7 100755
# FIXME: first we should search . and the directory the executable is in
shlibpath_var=PATH
;;
-@@ -10643,7 +11298,7 @@ haiku*)
- soname_spec='${libname}${release}${shared_ext}$major'
- shlibpath_var=LIBRARY_PATH
- shlibpath_overrides_runpath=yes
-- sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
-+ sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
- hardcode_into_libs=yes
- ;;
-
-@@ -11439,7 +12094,7 @@ else
+@@ -11092,7 +11742,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
--#line 11442 "configure"
+-#line 11095 "configure"
+#line $LINENO "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
-@@ -11483,10 +12138,10 @@ else
+@@ -11136,10 +11786,10 @@ else
/* When -fvisbility=hidden is used, assume the code has been annotated
correspondingly for the symbols needed. */
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -20621,16 +31826,16 @@ index 8d1e561c942..a0291dfbfa7 100755
int main ()
{
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
-@@ -11545,7 +12200,7 @@ else
+@@ -11198,7 +11848,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
--#line 11548 "configure"
+-#line 11201 "configure"
+#line $LINENO "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
-@@ -11589,10 +12244,10 @@ else
+@@ -11242,10 +11892,10 @@ else
/* When -fvisbility=hidden is used, assume the code has been annotated
correspondingly for the symbols needed. */
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -20643,7 +31848,7 @@ index 8d1e561c942..a0291dfbfa7 100755
int main ()
{
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
-@@ -13756,13 +14411,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
+@@ -15351,13 +16001,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
@@ -20664,7 +31869,7 @@ index 8d1e561c942..a0291dfbfa7 100755
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
-@@ -13777,14 +14439,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de
+@@ -15372,14 +16029,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
@@ -20683,7 +31888,7 @@ index 8d1e561c942..a0291dfbfa7 100755
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
-@@ -13817,12 +14482,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q
+@@ -15412,12 +16072,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
@@ -20697,7 +31902,7 @@ index 8d1e561c942..a0291dfbfa7 100755
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
-@@ -13877,8 +14542,13 @@ reload_flag \
+@@ -15472,8 +16132,13 @@ reload_flag \
OBJDUMP \
deplibs_check_method \
file_magic_cmd \
@@ -20711,7 +31916,7 @@ index 8d1e561c942..a0291dfbfa7 100755
STRIP \
RANLIB \
CC \
-@@ -13888,12 +14558,14 @@ lt_cv_sys_global_symbol_pipe \
+@@ -15483,12 +16148,14 @@ lt_cv_sys_global_symbol_pipe \
lt_cv_sys_global_symbol_to_cdecl \
lt_cv_sys_global_symbol_to_c_name_address \
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
@@ -20727,7 +31932,7 @@ index 8d1e561c942..a0291dfbfa7 100755
DSYMUTIL \
NMEDIT \
LIPO \
-@@ -13909,7 +14581,6 @@ no_undefined_flag \
+@@ -15504,7 +16171,6 @@ no_undefined_flag \
hardcode_libdir_flag_spec \
hardcode_libdir_flag_spec_ld \
hardcode_libdir_separator \
@@ -20735,7 +31940,7 @@ index 8d1e561c942..a0291dfbfa7 100755
exclude_expsyms \
include_expsyms \
file_list_spec \
-@@ -13945,6 +14616,7 @@ module_cmds \
+@@ -15540,6 +16206,7 @@ module_cmds \
module_expsym_cmds \
export_symbols_cmds \
prelink_cmds \
@@ -20743,7 +31948,7 @@ index 8d1e561c942..a0291dfbfa7 100755
postinstall_cmds \
postuninstall_cmds \
finish_cmds \
-@@ -14710,7 +15382,8 @@ $as_echo X"$file" |
+@@ -16313,7 +16980,8 @@ $as_echo X"$file" |
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
#
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
@@ -20753,7 +31958,7 @@ index 8d1e561c942..a0291dfbfa7 100755
# Written by Gordon Matzigkeit, 1996
#
# This file is part of GNU Libtool.
-@@ -14813,19 +15486,42 @@ SP2NL=$lt_lt_SP2NL
+@@ -16416,19 +17084,42 @@ SP2NL=$lt_lt_SP2NL
# turn newlines into spaces.
NL2SP=$lt_lt_NL2SP
@@ -20797,7 +32002,7 @@ index 8d1e561c942..a0291dfbfa7 100755
# A symbol stripping program.
STRIP=$lt_STRIP
-@@ -14855,6 +15551,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
+@@ -16458,6 +17149,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
# Transform the output of nm in a C name address pair when lib prefix is needed.
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
@@ -20810,7 +32015,7 @@ index 8d1e561c942..a0291dfbfa7 100755
# The name of the directory that contains temporary libtool files.
objdir=$objdir
-@@ -14864,6 +15566,9 @@ MAGIC_CMD=$MAGIC_CMD
+@@ -16467,6 +17164,9 @@ MAGIC_CMD=$MAGIC_CMD
# Must we lock files when doing compilation?
need_locks=$lt_need_locks
@@ -20820,7 +32025,7 @@ index 8d1e561c942..a0291dfbfa7 100755
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
DSYMUTIL=$lt_DSYMUTIL
-@@ -14978,12 +15683,12 @@ with_gcc=$GCC
+@@ -16581,12 +17281,12 @@ with_gcc=$GCC
# Compiler flag to turn off builtin functions.
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
@@ -20836,7 +32041,7 @@ index 8d1e561c942..a0291dfbfa7 100755
# Compiler flag to prevent dynamic linking.
link_static_flag=$lt_lt_prog_compiler_static
-@@ -15070,9 +15775,6 @@ inherit_rpath=$inherit_rpath
+@@ -16673,9 +17373,6 @@ inherit_rpath=$inherit_rpath
# Whether libtool must link a program against all its dependency libraries.
link_all_deplibs=$link_all_deplibs
@@ -20846,7 +32051,7 @@ index 8d1e561c942..a0291dfbfa7 100755
# Set to "yes" if exported symbols are required.
always_export_symbols=$always_export_symbols
-@@ -15088,6 +15790,9 @@ include_expsyms=$lt_include_expsyms
+@@ -16691,6 +17388,9 @@ include_expsyms=$lt_include_expsyms
# Commands necessary for linking programs (against libraries) with templates.
prelink_cmds=$lt_prelink_cmds
@@ -20856,7 +32061,7 @@ index 8d1e561c942..a0291dfbfa7 100755
# Specify filename containing input files.
file_list_spec=$lt_file_list_spec
-@@ -15120,210 +15825,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
+@@ -16723,210 +17423,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
# if finds mixed CR/LF and LF-only lines. Since sed operates in
# text mode, it properly converts lines to CR/LF. This bash problem
# is reportedly fixed, but why not run on old versions too?
@@ -21230,11 +32435,39 @@ index 8d1e561c942..a0291dfbfa7 100755
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
chmod +x "$ofile"
+diff --git a/zlib/Makefile.in b/zlib/Makefile.in
+index dd8a21deba1..28628282c56 100644
+--- a/zlib/Makefile.in
++++ b/zlib/Makefile.in
+@@ -281,6 +281,7 @@ CPPFLAGS = @CPPFLAGS@
+ CYGPATH_W = @CYGPATH_W@
+ DEFS = @DEFS@
+ DEPDIR = @DEPDIR@
++DLLTOOL = @DLLTOOL@
+ DSYMUTIL = @DSYMUTIL@
+ DUMPBIN = @DUMPBIN@
+ ECHO_C = @ECHO_C@
+@@ -305,6 +306,7 @@ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAINT = @MAINT@
+ MAKEINFO = @MAKEINFO@
++MANIFEST_TOOL = @MANIFEST_TOOL@
+ MKDIR_P = @MKDIR_P@
+ NM = @NM@
+ NMEDIT = @NMEDIT@
+@@ -331,6 +333,7 @@ abs_builddir = @abs_builddir@
+ abs_srcdir = @abs_srcdir@
+ abs_top_builddir = @abs_top_builddir@
+ abs_top_srcdir = @abs_top_srcdir@
++ac_ct_AR = @ac_ct_AR@
+ ac_ct_CC = @ac_ct_CC@
+ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
+ am__include = @am__include@
diff --git a/zlib/configure b/zlib/configure
-index de6fa7e9960..cce448b6a53 100755
+index 2d551360683..e01d0a70438 100755
--- a/zlib/configure
+++ b/zlib/configure
-@@ -646,8 +646,11 @@ OTOOL
+@@ -648,8 +648,11 @@ OTOOL
LIPO
NMEDIT
DSYMUTIL
@@ -21246,15 +32479,15 @@ index de6fa7e9960..cce448b6a53 100755
OBJDUMP
LN_S
NM
-@@ -774,6 +777,7 @@ enable_static
+@@ -776,6 +779,7 @@ enable_static
with_pic
enable_fast_install
with_gnu_ld
+with_libtool_sysroot
enable_libtool_lock
enable_host_shared
- '
-@@ -1428,6 +1432,8 @@ Optional Packages:
+ enable_host_pie
+@@ -1432,6 +1436,8 @@ Optional Packages:
--with-pic try to use only PIC/non-PIC objects [default=use
both]
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
@@ -21263,7 +32496,7 @@ index de6fa7e9960..cce448b6a53 100755
Some influential environment variables:
CC C compiler command
-@@ -4147,8 +4153,8 @@ esac
+@@ -4190,8 +4196,8 @@ esac
@@ -21274,7 +32507,7 @@ index de6fa7e9960..cce448b6a53 100755
-@@ -4188,7 +4194,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
+@@ -4231,7 +4237,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
$as_echo_n "checking how to print strings... " >&6; }
# Test print first, because it will be a builtin if present.
@@ -21283,7 +32516,7 @@ index de6fa7e9960..cce448b6a53 100755
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
ECHO='print -r --'
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
-@@ -5004,8 +5010,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6;
+@@ -5054,8 +5060,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6;
# Try some XSI features
xsi_shell=no
( _lt_dummy="a/b/c"
@@ -21294,7 +32527,7 @@ index de6fa7e9960..cce448b6a53 100755
&& eval 'test $(( 1 + 1 )) -eq 2 \
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
&& xsi_shell=yes
-@@ -5054,6 +5060,80 @@ esac
+@@ -5104,6 +5110,80 @@ esac
@@ -21375,7 +32608,7 @@ index de6fa7e9960..cce448b6a53 100755
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
$as_echo_n "checking for $LD option to reload object files... " >&6; }
if ${lt_cv_ld_reload_flag+:} false; then :
-@@ -5070,6 +5150,11 @@ case $reload_flag in
+@@ -5120,6 +5200,11 @@ case $reload_flag in
esac
reload_cmds='$LD$reload_flag -o $output$reload_objs'
case $host_os in
@@ -21387,7 +32620,7 @@ index de6fa7e9960..cce448b6a53 100755
darwin*)
if test "$GCC" = yes; then
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
-@@ -5238,7 +5323,8 @@ mingw* | pw32*)
+@@ -5288,7 +5373,8 @@ mingw* | pw32*)
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
lt_cv_file_magic_cmd='func_win32_libid'
else
@@ -21397,7 +32630,7 @@ index de6fa7e9960..cce448b6a53 100755
lt_cv_file_magic_cmd='$OBJDUMP -f'
fi
;;
-@@ -5392,6 +5478,21 @@ esac
+@@ -5447,6 +5533,21 @@ esac
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
$as_echo "$lt_cv_deplibs_check_method" >&6; }
@@ -21419,7 +32652,7 @@ index de6fa7e9960..cce448b6a53 100755
file_magic_cmd=$lt_cv_file_magic_cmd
deplibs_check_method=$lt_cv_deplibs_check_method
test -z "$deplibs_check_method" && deplibs_check_method=unknown
-@@ -5405,11 +5506,165 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown
+@@ -5462,6 +5563,158 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown
@@ -21433,11 +32666,7 @@ index de6fa7e9960..cce448b6a53 100755
+
+
+
-
-
- if test -n "$ac_tool_prefix"; then
-- # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
--set dummy ${ac_tool_prefix}ar; ac_word=$2
++if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
+set dummy ${ac_tool_prefix}dlltool; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
@@ -21579,7 +32808,15 @@ index de6fa7e9960..cce448b6a53 100755
+
+
+
-+if test -n "$ac_tool_prefix"; then
+ plugin_option=
+ plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
+ for plugin in $plugin_names; do
+@@ -5476,8 +5729,10 @@ for plugin in $plugin_names; do
+ done
+
+ if test -n "$ac_tool_prefix"; then
+- # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
+-set dummy ${ac_tool_prefix}ar; ac_word=$2
+ for ac_prog in ar
+ do
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
@@ -21587,7 +32824,7 @@ index de6fa7e9960..cce448b6a53 100755
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_prog_AR+:} false; then :
-@@ -5425,7 +5680,7 @@ do
+@@ -5493,7 +5748,7 @@ do
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
@@ -21596,7 +32833,7 @@ index de6fa7e9960..cce448b6a53 100755
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
-@@ -5445,11 +5700,15 @@ $as_echo "no" >&6; }
+@@ -5513,11 +5768,15 @@ $as_echo "no" >&6; }
fi
@@ -21615,7 +32852,7 @@ index de6fa7e9960..cce448b6a53 100755
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_prog_ac_ct_AR+:} false; then :
-@@ -5465,7 +5724,7 @@ do
+@@ -5533,7 +5792,7 @@ do
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
@@ -21624,7 +32861,7 @@ index de6fa7e9960..cce448b6a53 100755
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
-@@ -5484,6 +5743,10 @@ else
+@@ -5552,6 +5811,10 @@ else
$as_echo "no" >&6; }
fi
@@ -21635,7 +32872,7 @@ index de6fa7e9960..cce448b6a53 100755
if test "x$ac_ct_AR" = x; then
AR="false"
else
-@@ -5495,16 +5758,72 @@ ac_tool_warned=yes ;;
+@@ -5563,25 +5826,19 @@ ac_tool_warned=yes ;;
esac
AR=$ac_ct_AR
fi
@@ -21644,20 +32881,36 @@ index de6fa7e9960..cce448b6a53 100755
fi
-test -z "$AR" && AR=ar
+-if test -n "$plugin_option"; then
+- if $AR --help 2>&1 | grep -q "\--plugin"; then
+- touch conftest.c
+- $AR $plugin_option rc conftest.a conftest.c
+- if test "$?" != 0; then
+- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
++ touch conftest.c
++ $AR $plugin_option rc conftest.a conftest.c
++ if test "$?" != 0; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
+ $as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
+- else
+- AR="$AR $plugin_option"
+- fi
+- rm -f conftest.*
++ else
++ AR="$AR $plugin_option"
+ fi
+-fi
-test -z "$AR_FLAGS" && AR_FLAGS=cru
++ rm -f conftest.*
+: ${AR=ar}
+: ${AR_FLAGS=cru}
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
+
+
+
+@@ -5593,6 +5850,64 @@ test -z "$AR_FLAGS" && AR_FLAGS=cru
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
+$as_echo_n "checking for archiver @FILE support... " >&6; }
+if ${lt_cv_ar_at_file+:} false; then :
@@ -21670,7 +32923,7 @@ index de6fa7e9960..cce448b6a53 100755
+int
+main ()
+{
-
++
+ ;
+ return 0;
+}
@@ -21696,23 +32949,30 @@ index de6fa7e9960..cce448b6a53 100755
+ fi
+ fi
+ rm -f conftest.* libconftest.a
-
++
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-
++
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
+$as_echo "$lt_cv_ar_at_file" >&6; }
-
++
+if test "x$lt_cv_ar_at_file" = xno; then
+ archiver_list_spec=
+else
+ archiver_list_spec=$lt_cv_ar_at_file
+fi
-
-
-
-@@ -5846,8 +6165,8 @@ esac
++
++
++
++
++
++
++
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
+ set dummy ${ac_tool_prefix}strip; ac_word=$2
+@@ -5932,8 +6247,8 @@ esac
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
# Transform an extracted symbol line into symbol name and symbol address
@@ -21723,7 +32983,7 @@ index de6fa7e9960..cce448b6a53 100755
# Handle CRLF in mingw tool chain
opt_cr=
-@@ -5883,6 +6202,7 @@ for ac_symprfx in "" "_"; do
+@@ -5969,6 +6284,7 @@ for ac_symprfx in "" "_"; do
else
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
fi
@@ -21731,7 +32991,7 @@ index de6fa7e9960..cce448b6a53 100755
# Check to see that the pipe works correctly.
pipe_works=no
-@@ -5924,6 +6244,18 @@ _LT_EOF
+@@ -6010,6 +6326,18 @@ _LT_EOF
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
cat <<_LT_EOF > conftest.$ac_ext
@@ -21750,7 +33010,7 @@ index de6fa7e9960..cce448b6a53 100755
#ifdef __cplusplus
extern "C" {
#endif
-@@ -5935,7 +6267,7 @@ _LT_EOF
+@@ -6021,7 +6349,7 @@ _LT_EOF
cat <<_LT_EOF >> conftest.$ac_ext
/* The mapping between symbol names and symbols. */
@@ -21759,7 +33019,7 @@ index de6fa7e9960..cce448b6a53 100755
const char *name;
void *address;
}
-@@ -5961,8 +6293,8 @@ static const void *lt_preloaded_setup() {
+@@ -6047,8 +6375,8 @@ static const void *lt_preloaded_setup() {
_LT_EOF
# Now try linking the two files.
mv conftest.$ac_objext conftstm.$ac_objext
@@ -21770,7 +33030,7 @@ index de6fa7e9960..cce448b6a53 100755
LIBS="conftstm.$ac_objext"
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
-@@ -5972,8 +6304,8 @@ _LT_EOF
+@@ -6058,8 +6386,8 @@ _LT_EOF
test $ac_status = 0; } && test -s conftest${ac_exeext}; then
pipe_works=yes
fi
@@ -21781,7 +33041,7 @@ index de6fa7e9960..cce448b6a53 100755
else
echo "cannot find nm_test_func in $nlist" >&5
fi
-@@ -6010,6 +6342,19 @@ else
+@@ -6096,6 +6424,17 @@ else
$as_echo "ok" >&6; }
fi
@@ -21796,18 +33056,18 @@ index de6fa7e9960..cce448b6a53 100755
+
+
+
-+
-+
-@@ -6027,6 +6372,41 @@ fi
+@@ -6113,6 +6452,43 @@ fi
+
+
+
++
++
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
+$as_echo_n "checking for sysroot... " >&6; }
+
@@ -21843,7 +33103,7 @@ index de6fa7e9960..cce448b6a53 100755
-@@ -6241,6 +6621,123 @@ esac
+@@ -6327,6 +6703,123 @@ esac
need_locks="$enable_libtool_lock"
@@ -21967,7 +33227,7 @@ index de6fa7e9960..cce448b6a53 100755
case $host_os in
rhapsody* | darwin*)
-@@ -6807,6 +7304,8 @@ _LT_EOF
+@@ -6893,6 +7386,8 @@ _LT_EOF
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
echo "$AR cru libconftest.a conftest.o" >&5
$AR cru libconftest.a conftest.o 2>&5
@@ -21976,26 +33236,7 @@ index de6fa7e9960..cce448b6a53 100755
cat > conftest.c << _LT_EOF
int main() { return 0;}
_LT_EOF
-@@ -7269,7 +7768,8 @@ fi
- LIBTOOL_DEPS="$ltmain"
-
- # Always use our own libtool.
--LIBTOOL='$(SHELL) $(top_builddir)/libtool'
-+LIBTOOL='$(SHELL) $(top_builddir)'
-+LIBTOOL="$LIBTOOL/${host_alias}-libtool"
-
-
-
-@@ -7358,7 +7858,7 @@ aix3*)
- esac
-
- # Global variables:
--ofile=libtool
-+ofile=${host_alias}-libtool
- can_build_shared=yes
-
- # All known linkers require a `.a' archive for static linking (except MSVC,
-@@ -7656,8 +8156,6 @@ fi
+@@ -7744,8 +8239,6 @@ fi
lt_prog_compiler_pic=
lt_prog_compiler_static=
@@ -22004,7 +33245,7 @@ index de6fa7e9960..cce448b6a53 100755
if test "$GCC" = yes; then
lt_prog_compiler_wl='-Wl,'
-@@ -7823,6 +8321,12 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
+@@ -7911,6 +8404,12 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
lt_prog_compiler_pic='--shared'
lt_prog_compiler_static='--static'
;;
@@ -22017,7 +33258,7 @@ index de6fa7e9960..cce448b6a53 100755
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
# Portland Group compilers (*not* the Pentium gcc compiler,
# which looks to be a dead project)
-@@ -7885,7 +8389,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
+@@ -7973,7 +8472,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
lt_prog_compiler_pic='-KPIC'
lt_prog_compiler_static='-Bstatic'
case $cc_basename in
@@ -22026,7 +33267,7 @@ index de6fa7e9960..cce448b6a53 100755
lt_prog_compiler_wl='-Qoption ld ';;
*)
lt_prog_compiler_wl='-Wl,';;
-@@ -7942,13 +8446,17 @@ case $host_os in
+@@ -8030,13 +8529,17 @@ case $host_os in
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
;;
esac
@@ -22050,7 +33291,7 @@ index de6fa7e9960..cce448b6a53 100755
#
# Check to make sure the PIC flag actually works.
-@@ -8009,6 +8517,11 @@ fi
+@@ -8097,6 +8600,11 @@ fi
@@ -22062,7 +33303,7 @@ index de6fa7e9960..cce448b6a53 100755
#
# Check to make sure the static flag actually works.
#
-@@ -8359,7 +8872,8 @@ _LT_EOF
+@@ -8447,7 +8955,8 @@ _LT_EOF
allow_undefined_flag=unsupported
always_export_symbols=no
enable_shared_with_static_runtimes=yes
@@ -22072,7 +33313,7 @@ index de6fa7e9960..cce448b6a53 100755
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
-@@ -8458,12 +8972,12 @@ _LT_EOF
+@@ -8546,12 +9055,12 @@ _LT_EOF
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
hardcode_libdir_flag_spec=
hardcode_libdir_flag_spec_ld='-rpath $libdir'
@@ -22087,7 +33328,7 @@ index de6fa7e9960..cce448b6a53 100755
fi
;;
esac
-@@ -8477,8 +8991,8 @@ _LT_EOF
+@@ -8565,8 +9074,8 @@ _LT_EOF
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
wlarc=
else
@@ -22098,7 +33339,7 @@ index de6fa7e9960..cce448b6a53 100755
fi
;;
-@@ -8496,8 +9010,8 @@ _LT_EOF
+@@ -8584,8 +9093,8 @@ _LT_EOF
_LT_EOF
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -22109,7 +33350,7 @@ index de6fa7e9960..cce448b6a53 100755
else
ld_shlibs=no
fi
-@@ -8543,8 +9057,8 @@ _LT_EOF
+@@ -8631,8 +9140,8 @@ _LT_EOF
*)
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -22120,7 +33361,7 @@ index de6fa7e9960..cce448b6a53 100755
else
ld_shlibs=no
fi
-@@ -8674,7 +9188,13 @@ _LT_EOF
+@@ -8762,7 +9271,13 @@ _LT_EOF
allow_undefined_flag='-berok'
# Determine the default libpath from the value encoded in an
# empty executable.
@@ -22135,7 +33376,7 @@ index de6fa7e9960..cce448b6a53 100755
as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
fi
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-@@ -8690,22 +9210,29 @@ main ()
+@@ -8778,22 +9293,29 @@ main ()
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
@@ -22178,7 +33419,7 @@ index de6fa7e9960..cce448b6a53 100755
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
-@@ -8717,7 +9244,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+@@ -8805,7 +9327,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
else
# Determine the default libpath from the value encoded in an
# empty executable.
@@ -22193,7 +33434,7 @@ index de6fa7e9960..cce448b6a53 100755
as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
fi
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-@@ -8733,22 +9266,29 @@ main ()
+@@ -8821,22 +9349,29 @@ main ()
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
@@ -22236,7 +33477,7 @@ index de6fa7e9960..cce448b6a53 100755
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
# Warning - without using the other run time loading flags,
-@@ -8793,20 +9333,63 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+@@ -8881,20 +9416,63 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
# Microsoft Visual C++.
# hardcode_libdir_flag_spec is actually meaningless, as there is
# no search path for DLLs.
@@ -22314,7 +33555,7 @@ index de6fa7e9960..cce448b6a53 100755
;;
darwin* | rhapsody*)
-@@ -8867,7 +9450,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+@@ -8955,7 +9533,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
freebsd* | dragonfly*)
@@ -22323,7 +33564,7 @@ index de6fa7e9960..cce448b6a53 100755
hardcode_libdir_flag_spec='-R$libdir'
hardcode_direct=yes
hardcode_shlibpath_var=no
-@@ -8875,7 +9458,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+@@ -8963,7 +9541,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
hpux9*)
if test "$GCC" = yes; then
@@ -22332,7 +33573,7 @@ index de6fa7e9960..cce448b6a53 100755
else
archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
fi
-@@ -8891,7 +9474,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+@@ -8979,7 +9557,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
hpux10*)
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
@@ -22341,8 +33582,8 @@ index de6fa7e9960..cce448b6a53 100755
else
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
fi
-@@ -8915,10 +9498,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
- archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
+@@ -9003,10 +9581,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+ archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
;;
ia64*)
- archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
@@ -22354,7 +33595,7 @@ index de6fa7e9960..cce448b6a53 100755
;;
esac
else
-@@ -8997,26 +9580,39 @@ fi
+@@ -9085,26 +9663,39 @@ fi
irix5* | irix6* | nonstopux*)
if test "$GCC" = yes; then
@@ -22402,7 +33643,7 @@ index de6fa7e9960..cce448b6a53 100755
else
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
-@@ -9101,7 +9697,7 @@ rm -f core conftest.err conftest.$ac_objext \
+@@ -9189,7 +9780,7 @@ rm -f core conftest.err conftest.$ac_objext \
osf4* | osf5*) # as osf3* with the addition of -msym flag
if test "$GCC" = yes; then
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
@@ -22411,7 +33652,7 @@ index de6fa7e9960..cce448b6a53 100755
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
else
allow_undefined_flag=' -expect_unresolved \*'
-@@ -9120,9 +9716,9 @@ rm -f core conftest.err conftest.$ac_objext \
+@@ -9208,9 +9799,9 @@ rm -f core conftest.err conftest.$ac_objext \
no_undefined_flag=' -z defs'
if test "$GCC" = yes; then
wlarc='${wl}'
@@ -22423,7 +33664,7 @@ index de6fa7e9960..cce448b6a53 100755
else
case `$CC -V 2>&1` in
*"Compilers 5.0"*)
-@@ -9698,8 +10294,9 @@ cygwin* | mingw* | pw32* | cegcc*)
+@@ -9786,8 +10377,9 @@ cygwin* | mingw* | pw32* | cegcc*)
need_version=no
need_lib_prefix=no
@@ -22435,7 +33676,7 @@ index de6fa7e9960..cce448b6a53 100755
library_names_spec='$libname.dll.a'
# DLL is installed to $(libdir)/../bin by postinstall_cmds
postinstall_cmds='base_file=`basename \${file}`~
-@@ -9732,13 +10329,71 @@ cygwin* | mingw* | pw32* | cegcc*)
+@@ -9820,13 +10412,71 @@ cygwin* | mingw* | pw32* | cegcc*)
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
;;
esac
@@ -22508,25 +33749,16 @@ index de6fa7e9960..cce448b6a53 100755
# FIXME: first we should search . and the directory the executable is in
shlibpath_var=PATH
;;
-@@ -9830,7 +10485,7 @@ haiku*)
- soname_spec='${libname}${release}${shared_ext}$major'
- shlibpath_var=LIBRARY_PATH
- shlibpath_overrides_runpath=yes
-- sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
-+ sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
- hardcode_into_libs=yes
- ;;
-
-@@ -10644,7 +11299,7 @@ else
+@@ -10746,7 +11396,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
--#line 10647 "configure"
+-#line 10749 "configure"
+#line $LINENO "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
-@@ -10688,10 +11343,10 @@ else
+@@ -10790,10 +11440,10 @@ else
/* When -fvisbility=hidden is used, assume the code has been annotated
correspondingly for the symbols needed. */
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -22539,16 +33771,16 @@ index de6fa7e9960..cce448b6a53 100755
int main ()
{
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
-@@ -10750,7 +11405,7 @@ else
+@@ -10852,7 +11502,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
--#line 10753 "configure"
+-#line 10855 "configure"
+#line $LINENO "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
-@@ -10794,10 +11449,10 @@ else
+@@ -10896,10 +11546,10 @@ else
/* When -fvisbility=hidden is used, assume the code has been annotated
correspondingly for the symbols needed. */
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -22561,7 +33793,7 @@ index de6fa7e9960..cce448b6a53 100755
int main ()
{
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
-@@ -12267,13 +12922,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
+@@ -12385,13 +13035,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
@@ -22582,7 +33814,7 @@ index de6fa7e9960..cce448b6a53 100755
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
-@@ -12288,14 +12950,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de
+@@ -12406,14 +13063,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
@@ -22601,7 +33833,7 @@ index de6fa7e9960..cce448b6a53 100755
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
-@@ -12328,12 +12993,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q
+@@ -12446,12 +13106,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
@@ -22615,7 +33847,7 @@ index de6fa7e9960..cce448b6a53 100755
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
-@@ -12388,8 +13053,13 @@ reload_flag \
+@@ -12506,8 +13166,13 @@ reload_flag \
OBJDUMP \
deplibs_check_method \
file_magic_cmd \
@@ -22629,7 +33861,7 @@ index de6fa7e9960..cce448b6a53 100755
STRIP \
RANLIB \
CC \
-@@ -12399,12 +13069,14 @@ lt_cv_sys_global_symbol_pipe \
+@@ -12517,12 +13182,14 @@ lt_cv_sys_global_symbol_pipe \
lt_cv_sys_global_symbol_to_cdecl \
lt_cv_sys_global_symbol_to_c_name_address \
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
@@ -22645,7 +33877,7 @@ index de6fa7e9960..cce448b6a53 100755
DSYMUTIL \
NMEDIT \
LIPO \
-@@ -12420,7 +13092,6 @@ no_undefined_flag \
+@@ -12538,7 +13205,6 @@ no_undefined_flag \
hardcode_libdir_flag_spec \
hardcode_libdir_flag_spec_ld \
hardcode_libdir_separator \
@@ -22653,7 +33885,7 @@ index de6fa7e9960..cce448b6a53 100755
exclude_expsyms \
include_expsyms \
file_list_spec \
-@@ -12456,6 +13127,7 @@ module_cmds \
+@@ -12574,6 +13240,7 @@ module_cmds \
module_expsym_cmds \
export_symbols_cmds \
prelink_cmds \
@@ -22661,7 +33893,7 @@ index de6fa7e9960..cce448b6a53 100755
postinstall_cmds \
postuninstall_cmds \
finish_cmds \
-@@ -13054,7 +13726,8 @@ $as_echo X"$file" |
+@@ -13172,7 +13839,8 @@ $as_echo X"$file" |
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
#
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
@@ -22671,7 +33903,7 @@ index de6fa7e9960..cce448b6a53 100755
# Written by Gordon Matzigkeit, 1996
#
# This file is part of GNU Libtool.
-@@ -13157,19 +13830,42 @@ SP2NL=$lt_lt_SP2NL
+@@ -13275,19 +13943,42 @@ SP2NL=$lt_lt_SP2NL
# turn newlines into spaces.
NL2SP=$lt_lt_NL2SP
@@ -22715,7 +33947,7 @@ index de6fa7e9960..cce448b6a53 100755
# A symbol stripping program.
STRIP=$lt_STRIP
-@@ -13199,6 +13895,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
+@@ -13317,6 +14008,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
# Transform the output of nm in a C name address pair when lib prefix is needed.
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
@@ -22728,7 +33960,7 @@ index de6fa7e9960..cce448b6a53 100755
# The name of the directory that contains temporary libtool files.
objdir=$objdir
-@@ -13208,6 +13910,9 @@ MAGIC_CMD=$MAGIC_CMD
+@@ -13326,6 +14023,9 @@ MAGIC_CMD=$MAGIC_CMD
# Must we lock files when doing compilation?
need_locks=$lt_need_locks
@@ -22738,7 +33970,7 @@ index de6fa7e9960..cce448b6a53 100755
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
DSYMUTIL=$lt_DSYMUTIL
-@@ -13322,12 +14027,12 @@ with_gcc=$GCC
+@@ -13440,12 +14140,12 @@ with_gcc=$GCC
# Compiler flag to turn off builtin functions.
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
@@ -22754,7 +33986,7 @@ index de6fa7e9960..cce448b6a53 100755
# Compiler flag to prevent dynamic linking.
link_static_flag=$lt_lt_prog_compiler_static
-@@ -13414,9 +14119,6 @@ inherit_rpath=$inherit_rpath
+@@ -13532,9 +14232,6 @@ inherit_rpath=$inherit_rpath
# Whether libtool must link a program against all its dependency libraries.
link_all_deplibs=$link_all_deplibs
@@ -22764,7 +33996,7 @@ index de6fa7e9960..cce448b6a53 100755
# Set to "yes" if exported symbols are required.
always_export_symbols=$always_export_symbols
-@@ -13432,6 +14134,9 @@ include_expsyms=$lt_include_expsyms
+@@ -13550,6 +14247,9 @@ include_expsyms=$lt_include_expsyms
# Commands necessary for linking programs (against libraries) with templates.
prelink_cmds=$lt_prelink_cmds
@@ -22774,7 +34006,7 @@ index de6fa7e9960..cce448b6a53 100755
# Specify filename containing input files.
file_list_spec=$lt_file_list_spec
-@@ -13464,210 +14169,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
+@@ -13582,210 +14282,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
# if finds mixed CR/LF and LF-only lines. Since sed operates in
# text mode, it properly converts lines to CR/LF. This bash problem
# is reportedly fixed, but why not run on old versions too?
@@ -23148,6 +34380,3 @@ index de6fa7e9960..cce448b6a53 100755
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
chmod +x "$ofile"
---
-2.28.0
-
diff --git a/meta/recipes-devtools/binutils/binutils/0009-Change-default-emulation-for-mips64-linux.patch b/meta/recipes-devtools/binutils/binutils/0009-Change-default-emulation-for-mips64-linux.patch
deleted file mode 100644
index fb5276e183..0000000000
--- a/meta/recipes-devtools/binutils/binutils/0009-Change-default-emulation-for-mips64-linux.patch
+++ /dev/null
@@ -1,60 +0,0 @@
-From 13a67e9040c01abd284fe506471e0eab668ee3dc Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Mon, 2 Mar 2015 01:44:14 +0000
-Subject: [PATCH 09/17] Change default emulation for mips64*-*-linux
-
-we change the default emulations to be N64 instead of N32
-
-Upstream-Status: Inappropriate [ OE configuration Specific]
-
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
- bfd/config.bfd | 8 ++++----
- ld/configure.tgt | 8 ++++----
- 2 files changed, 8 insertions(+), 8 deletions(-)
-
-diff --git a/bfd/config.bfd b/bfd/config.bfd
-index 14523caf0c5..e5233cd1f7e 100644
---- a/bfd/config.bfd
-+++ b/bfd/config.bfd
-@@ -894,12 +894,12 @@ case "${targ}" in
- targ_selvecs="mips_elf32_le_vec mips_elf64_be_vec mips_elf64_le_vec mips_ecoff_be_vec mips_ecoff_le_vec"
- ;;
- mips64*el-*-linux*)
-- targ_defvec=mips_elf32_ntrad_le_vec
-- targ_selvecs="mips_elf32_ntrad_be_vec mips_elf32_trad_le_vec mips_elf32_trad_be_vec mips_elf64_trad_le_vec mips_elf64_trad_be_vec"
-+ targ_defvec=mips_elf64_trad_le_vec
-+ targ_selvecs="mips_elf32_ntrad_be_vec mips_elf32_ntrad_le_vec mips_elf32_trad_le_vec mips_elf32_trad_be_vec mips_elf64_trad_be_vec"
- ;;
- mips64*-*-linux*)
-- targ_defvec=mips_elf32_ntrad_be_vec
-- targ_selvecs="mips_elf32_ntrad_le_vec mips_elf32_trad_be_vec mips_elf32_trad_le_vec mips_elf64_trad_be_vec mips_elf64_trad_le_vec"
-+ targ_defvec=mips_elf64_trad_be_vec
-+ targ_selvecs="mips_elf32_ntrad_be_vec mips_elf32_ntrad_be_vec mips_elf32_trad_be_vec mips_elf32_trad_le_vec mips_elf64_trad_le_vec"
- ;;
- mips*el-*-linux*)
- targ_defvec=mips_elf32_trad_le_vec
-diff --git a/ld/configure.tgt b/ld/configure.tgt
-index 87c7d9a4cad..9b4bf2ca964 100644
---- a/ld/configure.tgt
-+++ b/ld/configure.tgt
-@@ -531,12 +531,12 @@ mips*-*-vxworks*) targ_emul=elf32ebmipvxworks
- ;;
- mips*-*-windiss) targ_emul=elf32mipswindiss
- ;;
--mips64*el-*-linux-*) targ_emul=elf32ltsmipn32
-- targ_extra_emuls="elf32btsmipn32 elf32ltsmip elf32btsmip elf64ltsmip elf64btsmip"
-+mips64*el-*-linux-*) targ_emul=elf64ltsmip
-+ targ_extra_emuls="elf32btsmipn32 elf32ltsmipn32 elf32ltsmip elf32btsmip elf64btsmip"
- targ_extra_libpath=$targ_extra_emuls
- ;;
--mips64*-*-linux-*) targ_emul=elf32btsmipn32
-- targ_extra_emuls="elf32ltsmipn32 elf32btsmip elf32ltsmip elf64btsmip elf64ltsmip"
-+mips64*-*-linux-*) targ_emul=elf64btsmip
-+ targ_extra_emuls="elf32btsmipn32 elf32ltsmipn32 elf32btsmip elf32ltsmip elf64ltsmip"
- targ_extra_libpath=$targ_extra_emuls
- ;;
- mips*el-*-linux-*) targ_emul=elf32ltsmip
---
-2.28.0
-
diff --git a/meta/recipes-devtools/binutils/binutils/0014-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch b/meta/recipes-devtools/binutils/binutils/0009-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch
index 69a2383782..50201fb6b6 100644
--- a/meta/recipes-devtools/binutils/binutils/0014-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch
+++ b/meta/recipes-devtools/binutils/binutils/0009-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch
@@ -1,7 +1,7 @@
-From f791a5d84475c02356f16679b7f4ee9c9c3408aa Mon Sep 17 00:00:00 2001
+From c9e810840d95554046b7132e3e2c98bf99cb2d89 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Mon, 2 Mar 2015 01:42:38 +0000
-Subject: [PATCH 14/17] Fix rpath in libtool when sysroot is enabled
+Subject: [PATCH] Fix rpath in libtool when sysroot is enabled
Enabling sysroot support in libtool exposed a bug where the final
library had an RPATH encoded into it which still pointed to the
@@ -19,7 +19,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/ltmain.sh b/ltmain.sh
-index 70e856e0659..11ee684cccf 100644
+index 7f7104ffc82..f59eb4aa631 100644
--- a/ltmain.sh
+++ b/ltmain.sh
@@ -8035,9 +8035,11 @@ EOF
@@ -47,6 +47,3 @@ index 70e856e0659..11ee684cccf 100644
if test -n "$hardcode_libdir_separator"; then
if test -z "$hardcode_libdirs"; then
hardcode_libdirs="$libdir"
---
-2.28.0
-
diff --git a/meta/recipes-devtools/binutils/binutils/0010-Add-support-for-Netlogic-XLP.patch b/meta/recipes-devtools/binutils/binutils/0010-Add-support-for-Netlogic-XLP.patch
deleted file mode 100644
index 277db4ec5c..0000000000
--- a/meta/recipes-devtools/binutils/binutils/0010-Add-support-for-Netlogic-XLP.patch
+++ /dev/null
@@ -1,409 +0,0 @@
-From 69ab45c16f80f18fa78121f6e774750b9e9a200b Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Sun, 14 Feb 2016 17:06:19 +0000
-Subject: [PATCH 10/17] Add support for Netlogic XLP
-
-Patch From: Nebu Philips <nphilips@netlogicmicro.com>
-
-Using the mipsisa64r2nlm target, add support for XLP from
-Netlogic. Also, update vendor name to NLM wherever applicable.
-
-Use 0x00000080 for INSN_XLP, the value 0x00000040 has already been
-assigned to INSN_OCTEON3
-
-Upstream-Status: Pending
-
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
-Signed-off-by: Baoshan Pang <baoshan.pang@windriver.com>
-Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
----
- bfd/aoutx.h | 1 +
- bfd/archures.c | 1 +
- bfd/bfd-in2.h | 1 +
- bfd/config.bfd | 5 +++++
- bfd/cpu-mips.c | 6 ++++--
- bfd/elfxx-mips.c | 8 ++++++++
- binutils/readelf.c | 1 +
- gas/config/tc-mips.c | 4 +++-
- gas/configure | 3 +++
- gas/configure.ac | 3 +++
- include/elf/mips.h | 1 +
- include/opcode/mips.h | 6 ++++++
- ld/configure.tgt | 3 +++
- opcodes/mips-dis.c | 12 +++++-------
- opcodes/mips-opc.c | 31 ++++++++++++++++++++-----------
- 15 files changed, 65 insertions(+), 21 deletions(-)
-
-diff --git a/bfd/aoutx.h b/bfd/aoutx.h
-index d352a1a3e44..2e2c3c1af86 100644
---- a/bfd/aoutx.h
-+++ b/bfd/aoutx.h
-@@ -810,6 +810,7 @@ NAME (aout, machine_type) (enum bfd_architecture arch,
- case bfd_mach_mipsisa64r6:
- case bfd_mach_mips_sb1:
- case bfd_mach_mips_xlr:
-+ case bfd_mach_mips_xlp:
- /* FIXME: These should be MIPS3, MIPS4, MIPS16, MIPS32, etc. */
- arch_flags = M_MIPS2;
- break;
-diff --git a/bfd/archures.c b/bfd/archures.c
-index 551ec8732f0..2665b378623 100644
---- a/bfd/archures.c
-+++ b/bfd/archures.c
-@@ -185,6 +185,7 @@ DESCRIPTION
- .#define bfd_mach_mips_octeon3 6503
- .#define bfd_mach_mips_xlr 887682 {* decimal 'XLR'. *}
- .#define bfd_mach_mips_interaptiv_mr2 736550 {* decimal 'IA2'. *}
-+.#define bfd_mach_mips_xlp 887680 {* decimal 'XLP'. *}
- .#define bfd_mach_mipsisa32 32
- .#define bfd_mach_mipsisa32r2 33
- .#define bfd_mach_mipsisa32r3 34
-diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
-index 35ef4d755bb..48db00af80b 100644
---- a/bfd/bfd-in2.h
-+++ b/bfd/bfd-in2.h
-@@ -1585,6 +1585,7 @@ enum bfd_architecture
- #define bfd_mach_mips_octeon3 6503
- #define bfd_mach_mips_xlr 887682 /* decimal 'XLR'. */
- #define bfd_mach_mips_interaptiv_mr2 736550 /* decimal 'IA2'. */
-+#define bfd_mach_mips_xlp 887680 /* decimal 'XLP'. */
- #define bfd_mach_mipsisa32 32
- #define bfd_mach_mipsisa32r2 33
- #define bfd_mach_mipsisa32r3 34
-diff --git a/bfd/config.bfd b/bfd/config.bfd
-index e5233cd1f7e..2e4ae6bbdff 100644
---- a/bfd/config.bfd
-+++ b/bfd/config.bfd
-@@ -877,6 +877,11 @@ case "${targ}" in
- targ_defvec=mips_elf32_le_vec
- targ_selvecs="mips_elf32_be_vec mips_elf64_be_vec mips_elf64_le_vec"
- ;;
-+ mipsisa64*-*-elf*)
-+ targ_defvec=mips_elf32_trad_be_vec
-+ targ_selvecs="mips_elf32_trad_le_vec mips_elf64_trad_be_vec mips_elf64_trad_le_vec"
-+ want64=true
-+ ;;
- mips*-*-elf* | mips*-*-rtems* | mips*-*-windiss | mips*-*-none)
- targ_defvec=mips_elf32_be_vec
- targ_selvecs="mips_elf32_le_vec mips_elf64_be_vec mips_elf64_le_vec"
-diff --git a/bfd/cpu-mips.c b/bfd/cpu-mips.c
-index 802acb45f1e..fd9ec4c0ad4 100644
---- a/bfd/cpu-mips.c
-+++ b/bfd/cpu-mips.c
-@@ -108,7 +108,8 @@ enum
- I_mipsocteon3,
- I_xlr,
- I_interaptiv_mr2,
-- I_micromips
-+ I_micromips,
-+ I_xlp
- };
-
- #define NN(index) (&arch_info_struct[(index) + 1])
-@@ -163,7 +164,8 @@ static const bfd_arch_info_type arch_info_struct[] =
- N (64, 64, bfd_mach_mips_xlr, "mips:xlr", FALSE, NN(I_xlr)),
- N (32, 32, bfd_mach_mips_interaptiv_mr2, "mips:interaptiv-mr2", FALSE,
- NN(I_interaptiv_mr2)),
-- N (64, 64, bfd_mach_mips_micromips, "mips:micromips", FALSE, NULL)
-+ N (64, 64, bfd_mach_mips_micromips, "mips:micromips", FALSE, NN(I_micromips)),
-+ N (64, 64, bfd_mach_mips_xlp, "mips:xlp", FALSE, NULL)
- };
-
- /* The default architecture is mips:3000, but with a machine number of
-diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c
-index 160febec94c..4c9499cc2cf 100644
---- a/bfd/elfxx-mips.c
-+++ b/bfd/elfxx-mips.c
-@@ -6982,6 +6982,9 @@ _bfd_elf_mips_mach (flagword flags)
- case E_MIPS_MACH_IAMR2:
- return bfd_mach_mips_interaptiv_mr2;
-
-+ case E_MIPS_MACH_XLP:
-+ return bfd_mach_mips_xlp;
-+
- default:
- switch (flags & EF_MIPS_ARCH)
- {
-@@ -12356,6 +12359,10 @@ mips_set_isa_flags (bfd *abfd)
- val = E_MIPS_ARCH_64R2 | E_MIPS_MACH_OCTEON2;
- break;
-
-+ case bfd_mach_mips_xlp:
-+ val = E_MIPS_ARCH_64R2 | E_MIPS_MACH_XLP;
-+ break;
-+
- case bfd_mach_mipsisa32:
- val = E_MIPS_ARCH_32;
- break;
-@@ -14373,6 +14380,7 @@ static const struct mips_mach_extension mips_mach_extensions[] =
- { bfd_mach_mips_gs264e, bfd_mach_mips_gs464e },
- { bfd_mach_mips_gs464e, bfd_mach_mips_gs464 },
- { bfd_mach_mips_gs464, bfd_mach_mipsisa64r2 },
-+ { bfd_mach_mips_xlp, bfd_mach_mipsisa64r2 },
-
- /* MIPS64 extensions. */
- { bfd_mach_mipsisa64r2, bfd_mach_mipsisa64 },
-diff --git a/binutils/readelf.c b/binutils/readelf.c
-index 6057515a89b..ea119b0b254 100644
---- a/binutils/readelf.c
-+++ b/binutils/readelf.c
-@@ -3483,6 +3483,7 @@ get_machine_flags (Filedata * filedata, unsigned e_flags, unsigned e_machine)
- case E_MIPS_MACH_OCTEON3: strcat (buf, ", octeon3"); break;
- case E_MIPS_MACH_XLR: strcat (buf, ", xlr"); break;
- case E_MIPS_MACH_IAMR2: strcat (buf, ", interaptiv-mr2"); break;
-+ case E_MIPS_MACH_XLP: strcat (buf, ", xlp"); break;
- case 0:
- /* We simply ignore the field in this case to avoid confusion:
- MIPS ELF does not specify EF_MIPS_MACH, it is a GNU
-diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c
-index 31acb77d78a..0ead168d51e 100644
---- a/gas/config/tc-mips.c
-+++ b/gas/config/tc-mips.c
-@@ -568,6 +568,7 @@ static int mips_32bitmode = 0;
- || mips_opts.arch == CPU_RM7000 \
- || mips_opts.arch == CPU_VR5500 \
- || mips_opts.micromips \
-+ || mips_opts.arch == CPU_XLP \
- )
-
- /* Whether the processor uses hardware interlocks to protect reads
-@@ -597,6 +598,7 @@ static int mips_32bitmode = 0;
- && mips_opts.isa != ISA_MIPS3) \
- || mips_opts.arch == CPU_R4300 \
- || mips_opts.micromips \
-+ || mips_opts.arch == CPU_XLP \
- )
-
- /* Whether the processor uses hardware interlocks to protect reads
-@@ -20174,7 +20176,7 @@ static const struct mips_cpu_info mips_cpu_info_table[] =
- /* Broadcom XLP.
- XLP is mostly like XLR, with the prominent exception that it is
- MIPS64R2 rather than MIPS64. */
-- { "xlp", 0, 0, ISA_MIPS64R2, CPU_XLR },
-+ { "xlp", 0, 0, ISA_MIPS64R2, CPU_XLP },
-
- /* MIPS 64 Release 6. */
- { "i6400", 0, ASE_VIRT | ASE_MSA, ISA_MIPS64R6, CPU_MIPS64R6},
-diff --git a/gas/configure b/gas/configure
-index 5bccfd9d1b7..d4b13e6fc8b 100755
---- a/gas/configure
-+++ b/gas/configure
-@@ -12722,6 +12722,9 @@ _ACEOF
- mipsisa64r6 | mipsisa64r6el)
- mips_cpu=mips64r6
- ;;
-+ mipsisa64r2nlm | mipsisa64r2nlmel)
-+ mips_cpu=xlp
-+ ;;
- mipstx39 | mipstx39el)
- mips_cpu=r3900
- ;;
-diff --git a/gas/configure.ac b/gas/configure.ac
-index b65108fecb2..ce1f2dad9bc 100644
---- a/gas/configure.ac
-+++ b/gas/configure.ac
-@@ -325,6 +325,9 @@ changequote([,])dnl
- mipsisa64r6 | mipsisa64r6el)
- mips_cpu=mips64r6
- ;;
-+ mipsisa64r2nlm | mipsisa64r2nlmel)
-+ mips_cpu=xlp
-+ ;;
- mipstx39 | mipstx39el)
- mips_cpu=r3900
- ;;
-diff --git a/include/elf/mips.h b/include/elf/mips.h
-index cc08ebd4318..bb518575ce1 100644
---- a/include/elf/mips.h
-+++ b/include/elf/mips.h
-@@ -290,6 +290,7 @@ END_RELOC_NUMBERS (R_MIPS_maxext)
- #define E_MIPS_MACH_SB1 0x008a0000
- #define E_MIPS_MACH_OCTEON 0x008b0000
- #define E_MIPS_MACH_XLR 0x008c0000
-+#define E_MIPS_MACH_XLP 0x008f0000
- #define E_MIPS_MACH_OCTEON2 0x008d0000
- #define E_MIPS_MACH_OCTEON3 0x008e0000
- #define E_MIPS_MACH_5400 0x00910000
-diff --git a/include/opcode/mips.h b/include/opcode/mips.h
-index fd031f37588..a96a44df840 100644
---- a/include/opcode/mips.h
-+++ b/include/opcode/mips.h
-@@ -1260,6 +1260,8 @@ static const unsigned int mips_isa_table[] = {
- #define INSN_XLR 0x00000020
- /* Imagination interAptiv MR2. */
- #define INSN_INTERAPTIV_MR2 0x04000000
-+/* Netlogic XlP instruction */
-+#define INSN_XLP 0x00000080
-
- /* DSP ASE */
- #define ASE_DSP 0x00000001
-@@ -1384,6 +1386,7 @@ static const unsigned int mips_isa_table[] = {
- #define CPU_OCTEON3 6503
- #define CPU_XLR 887682 /* decimal 'XLR' */
- #define CPU_INTERAPTIV_MR2 736550 /* decimal 'IA2' */
-+#define CPU_XLP 887680 /* decimal 'XLP' */
-
- /* Return true if the given CPU is included in INSN_* mask MASK. */
-
-@@ -1461,6 +1464,9 @@ cpu_is_member (int cpu, unsigned int mask)
- return ((mask & INSN_ISA_MASK) == INSN_ISA32R6)
- || ((mask & INSN_ISA_MASK) == INSN_ISA64R6);
-
-+ case CPU_XLP:
-+ return (mask & INSN_XLP) != 0;
-+
- default:
- return FALSE;
- }
-diff --git a/ld/configure.tgt b/ld/configure.tgt
-index 9b4bf2ca964..f6d7171dff7 100644
---- a/ld/configure.tgt
-+++ b/ld/configure.tgt
-@@ -510,6 +510,9 @@ mips*-sde-elf* | mips*-mti-elf* | mips*-img-elf*)
- targ_emul=elf32btsmip
- targ_extra_emuls="elf32ltsmip elf32btsmipn32 elf64btsmip elf32ltsmipn32 elf64ltsmip"
- ;;
-+mipsisa64*-*-elf*) targ_emul=elf32btsmip
-+ targ_extra_emuls="elf32ltsmip elf64btsmip elf64ltsmip"
-+ ;;
- mips64*el-ps2-elf*) targ_emul=elf32lr5900n32
- targ_extra_emuls="elf32lr5900"
- targ_extra_libpath=$targ_extra_emuls
-diff --git a/opcodes/mips-dis.c b/opcodes/mips-dis.c
-index 755bbe294bd..ce22ef683a6 100644
---- a/opcodes/mips-dis.c
-+++ b/opcodes/mips-dis.c
-@@ -674,13 +674,11 @@ const struct mips_arch_choice mips_arch_choices[] =
- mips_cp0sel_names_xlr, ARRAY_SIZE (mips_cp0sel_names_xlr),
- mips_cp1_names_mips3264, mips_hwr_names_numeric },
-
-- /* XLP is mostly like XLR, with the prominent exception it is being
-- MIPS64R2. */
-- { "xlp", 1, bfd_mach_mips_xlr, CPU_XLR,
-- ISA_MIPS64R2 | INSN_XLR, 0,
-- mips_cp0_names_xlr,
-- mips_cp0sel_names_xlr, ARRAY_SIZE (mips_cp0sel_names_xlr),
-- mips_cp1_names_mips3264, mips_hwr_names_numeric },
-+ { "xlp", 1, bfd_mach_mips_xlp, CPU_XLP,
-+ ISA_MIPS64R2 | INSN_XLP, 0,
-+ mips_cp0_names_mips3264r2,
-+ mips_cp0sel_names_mips3264r2, ARRAY_SIZE (mips_cp0sel_names_mips3264r2),
-+ mips_cp1_names_mips3264, mips_hwr_names_mips3264r2 },
-
- /* This entry, mips16, is here only for ISA/processor selection; do
- not print its name. */
-diff --git a/opcodes/mips-opc.c b/opcodes/mips-opc.c
-index 5270aeefa80..d17dc78cd71 100644
---- a/opcodes/mips-opc.c
-+++ b/opcodes/mips-opc.c
-@@ -328,6 +328,7 @@ decode_mips_operand (const char *p)
- #define IOCT3 INSN_OCTEON3
- #define XLR INSN_XLR
- #define IAMR2 INSN_INTERAPTIV_MR2
-+#define XLP INSN_XLP
- #define IVIRT ASE_VIRT
- #define IVIRT64 ASE_VIRT64
-
-@@ -990,6 +991,7 @@ const struct mips_opcode mips_builtin_opcodes[] =
- {"clo", "U,s", 0x70000021, 0xfc0007ff, WR_1|RD_2, 0, I32|N55, 0, I37 },
- {"clz", "d,s", 0x00000050, 0xfc1f07ff, WR_1|RD_2, 0, I37, 0, 0 },
- {"clz", "U,s", 0x70000020, 0xfc0007ff, WR_1|RD_2, 0, I32|N55, 0, I37 },
-+{"crc", "d,s,t", 0x7000001c, 0xfc0007ff, WR_1|RD_2|RD_3, 0, XLP, 0, 0 },
- /* ctc0 is at the bottom of the table. */
- {"ctc1", "t,G", 0x44c00000, 0xffe007ff, RD_1|WR_CC|CM, 0, I1, 0, 0 },
- {"ctc1", "t,S", 0x44c00000, 0xffe007ff, RD_1|WR_CC|CM, 0, I1, 0, 0 },
-@@ -1022,12 +1024,13 @@ const struct mips_opcode mips_builtin_opcodes[] =
- {"daddiu", "t,r,j", 0x64000000, 0xfc000000, WR_1|RD_2, 0, I3, 0, 0 },
- {"daddu", "d,v,t", 0x0000002d, 0xfc0007ff, WR_1|RD_2|RD_3, 0, I3, 0, 0 },
- {"daddu", "t,r,I", 0, (int) M_DADDU_I, INSN_MACRO, 0, I3, 0, 0 },
--{"daddwc", "d,s,t", 0x70000038, 0xfc0007ff, WR_1|RD_2|RD_3|WR_C0|RD_C0, 0, XLR, 0, 0 },
-+{"daddwc", "d,s,t", 0x70000038, 0xfc0007ff, WR_1|RD_2|RD_3|WR_C0|RD_C0, 0, XLR|XLP, 0, 0 },
- {"dbreak", "", 0x7000003f, 0xffffffff, 0, 0, N5, 0, 0 },
- {"dclo", "d,s", 0x00000053, 0xfc1f07ff, WR_1|RD_2, 0, I69, 0, 0 },
- {"dclo", "U,s", 0x70000025, 0xfc0007ff, WR_1|RD_2, 0, I64|N55, 0, I69 },
- {"dclz", "d,s", 0x00000052, 0xfc1f07ff, WR_1|RD_2, 0, I69, 0, 0 },
- {"dclz", "U,s", 0x70000024, 0xfc0007ff, WR_1|RD_2, 0, I64|N55, 0, I69 },
-+{"dcrc", "d,s,t", 0x7000001d, 0xfc0007ff, WR_1|RD_2|RD_3, 0, XLP, 0, 0 },
- /* dctr and dctw are used on the r5000. */
- {"dctr", "o(b)", 0xbc050000, 0xfc1f0000, RD_2, 0, I3, 0, 0 },
- {"dctw", "o(b)", 0xbc090000, 0xfc1f0000, RD_2, 0, I3, 0, 0 },
-@@ -1099,6 +1102,7 @@ const struct mips_opcode mips_builtin_opcodes[] =
- {"dmfc0", "t,G,H", 0x40200000, 0xffe007f8, WR_1|RD_C0|LC, 0, I64, 0, 0 },
- {"dmfgc0", "t,G", 0x40600100, 0xffe007ff, WR_1|RD_C0|LC, 0, 0, IVIRT64, 0 },
- {"dmfgc0", "t,G,H", 0x40600100, 0xffe007f8, WR_1|RD_C0|LC, 0, 0, IVIRT64, 0 },
-+{"dmfur", "t,d", 0x7000001e, 0xffe007ff, WR_1, 0, XLP, 0, 0 },
- {"dmt", "", 0x41600bc1, 0xffffffff, TRAP, 0, 0, MT32, 0 },
- {"dmt", "t", 0x41600bc1, 0xffe0ffff, WR_1|TRAP, 0, 0, MT32, 0 },
- {"dmtc0", "t,G", 0x40a00000, 0xffe007ff, RD_1|WR_C0|WR_CC|CM, 0, I3, 0, EE },
-@@ -1114,6 +1118,8 @@ const struct mips_opcode mips_builtin_opcodes[] =
- /* dmfc3 is at the bottom of the table. */
- /* dmtc3 is at the bottom of the table. */
- {"dmuh", "d,s,t", 0x000000dc, 0xfc0007ff, WR_1|RD_2|RD_3, 0, I69, 0, 0 },
-+{"dmtur", "t,d", 0x7000001f, 0xffe007ff, RD_1, 0, XLP, 0, 0 },
-+{"dmul", "d,s,t", 0x70000006, 0xfc0007ff, WR_1|RD_2|RD_3, 0, XLP, 0, 0 },
- {"dmul", "d,s,t", 0x0000009c, 0xfc0007ff, WR_1|RD_2|RD_3, 0, I69, 0, 0 },
- {"dmul", "d,v,t", 0x70000003, 0xfc0007ff, WR_1|RD_2|RD_3|WR_HILO, 0, IOCT, 0, 0 },
- {"dmul", "d,v,t", 0, (int) M_DMUL, INSN_MACRO, 0, I3, 0, M32|I69 },
-@@ -1267,9 +1273,9 @@ const struct mips_opcode mips_builtin_opcodes[] =
- {"ld", "s,-b(+R)", 0xec180000, 0xfc1c0000, WR_1, RD_pc, I69, 0, 0 },
- {"ld", "t,A(b)", 0, (int) M_LD_AB, INSN_MACRO, 0, I1, 0, 0 },
- {"ld", "t,o(b)", 0xdc000000, 0xfc000000, WR_1|RD_3|LM, 0, I3, 0, 0 },
--{"ldaddw", "t,b", 0x70000010, 0xfc00ffff, MOD_1|RD_2|LM|SM, 0, XLR, 0, 0 },
--{"ldaddwu", "t,b", 0x70000011, 0xfc00ffff, MOD_1|RD_2|LM|SM, 0, XLR, 0, 0 },
--{"ldaddd", "t,b", 0x70000012, 0xfc00ffff, MOD_1|RD_2|LM|SM, 0, XLR, 0, 0 },
-+{"ldaddw", "t,b", 0x70000010, 0xfc00ffff, MOD_1|RD_2|SM, 0, XLR|XLP, 0, 0 },
-+{"ldaddwu", "t,b", 0x70000011, 0xfc00ffff, MOD_1|RD_2|SM, 0, XLR|XLP, 0, 0 },
-+{"ldaddd", "t,b", 0x70000012, 0xfc00ffff, MOD_1|RD_2|SM, 0, XLR|XLP, 0, 0 },
- {"ldc1", "T,o(b)", 0xd4000000, 0xfc000000, WR_1|RD_3|CLD|FP_D, 0, I2, 0, SF },
- {"ldc1", "E,o(b)", 0xd4000000, 0xfc000000, WR_1|RD_3|CLD|FP_D, 0, I2, 0, SF },
- {"ldc1", "T,A(b)", 0, (int) M_LDC1_AB, INSN_MACRO, INSN2_M_FP_D, I2, 0, SF },
-@@ -1438,7 +1444,7 @@ const struct mips_opcode mips_builtin_opcodes[] =
- {"mflo", "d,9", 0x00000012, 0xff9f07ff, WR_1|RD_LO, 0, 0, D32, 0 },
- {"mflo1", "d", 0x70000012, 0xffff07ff, WR_1|RD_LO, 0, EE, 0, 0 },
- {"mflhxu", "d", 0x00000052, 0xffff07ff, WR_1|MOD_HILO, 0, 0, SMT, 0 },
--{"mfcr", "t,s", 0x70000018, 0xfc00ffff, WR_1|RD_2, 0, XLR, 0, 0 },
-+{"mfcr", "t,s", 0x70000018, 0xfc00ffff, WR_1, 0, XLR|XLP, 0, 0 },
- {"mfsa", "d", 0x00000028, 0xffff07ff, WR_1, 0, EE, 0, 0 },
- {"min.ob", "X,Y,Q", 0x78000006, 0xfc20003f, WR_1|RD_2|RD_3|FP_D, 0, SB1, MX, 0 },
- {"min.ob", "D,S,Q", 0x48000006, 0xfc20003f, WR_1|RD_2|RD_3|FP_D, 0, N54, 0, 0 },
-@@ -1483,10 +1489,13 @@ const struct mips_opcode mips_builtin_opcodes[] =
- /* move is at the top of the table. */
- {"msgn.qh", "X,Y,Q", 0x78200000, 0xfc20003f, WR_1|RD_2|RD_3|FP_D, 0, 0, MX, 0 },
- {"msgsnd", "t", 0, (int) M_MSGSND, INSN_MACRO, 0, XLR, 0, 0 },
-+{"msgsnds", "d,t", 0x4a000001, 0xffe007ff, WR_1|RD_2|RD_C0|WR_C0, 0, XLP, 0, 0 },
- {"msgld", "", 0, (int) M_MSGLD, INSN_MACRO, 0, XLR, 0, 0 },
- {"msgld", "t", 0, (int) M_MSGLD_T, INSN_MACRO, 0, XLR, 0, 0 },
--{"msgwait", "", 0, (int) M_MSGWAIT, INSN_MACRO, 0, XLR, 0, 0 },
--{"msgwait", "t", 0, (int) M_MSGWAIT_T,INSN_MACRO, 0, XLR, 0, 0 },
-+{"msglds", "d,t", 0x4a000002, 0xffe007ff, WR_1|RD_2|RD_C0|WR_C0, 0, XLP, 0, 0 },
-+{"msgwait", "", 0, (int) M_MSGWAIT, INSN_MACRO, 0, XLR|XLP, 0, 0 },
-+{"msgwait", "t", 0, (int) M_MSGWAIT_T,INSN_MACRO, 0, XLR|XLP, 0, 0 },
-+{"msgsync", "", 0x4a000004, 0xffffffff,0, 0, XLP, 0, 0 },
- {"msub.d", "D,R,S,T", 0x4c000029, 0xfc00003f, WR_1|RD_2|RD_3|RD_4|FP_D, 0, I4_33, 0, I37 },
- {"msub.d", "D,S,T", 0x46200019, 0xffe0003f, WR_1|RD_2|RD_3|FP_D, 0, IL2E, 0, 0 },
- {"msub.d", "D,S,T", 0x72200019, 0xffe0003f, WR_1|RD_2|RD_3|FP_D, 0, IL2F, 0, 0 },
-@@ -1536,7 +1545,7 @@ const struct mips_opcode mips_builtin_opcodes[] =
- {"mtlo", "s,7", 0x00000013, 0xfc1fe7ff, RD_1|WR_LO, 0, 0, D32, 0 },
- {"mtlo1", "s", 0x70000013, 0xfc1fffff, RD_1|WR_LO, 0, EE, 0, 0 },
- {"mtlhx", "s", 0x00000053, 0xfc1fffff, RD_1|MOD_HILO, 0, 0, SMT, 0 },
--{"mtcr", "t,s", 0x70000019, 0xfc00ffff, RD_1|RD_2, 0, XLR, 0, 0 },
-+{"mtcr", "t,s", 0x70000019, 0xfc00ffff, RD_1, 0, XLR|XLP, 0, 0 },
- {"mtm0", "s", 0x70000008, 0xfc1fffff, RD_1, 0, IOCT, 0, 0 },
- {"mtm0", "s,t", 0x70000008, 0xfc00ffff, RD_1|RD_2, 0, IOCT3, 0, 0 },
- {"mtm1", "s", 0x7000000c, 0xfc1fffff, RD_1, 0, IOCT, 0, 0 },
-@@ -1978,9 +1987,9 @@ const struct mips_opcode mips_builtin_opcodes[] =
- {"suxc1", "S,t(b)", 0x4c00000d, 0xfc0007ff, RD_1|RD_2|RD_3|SM|FP_D, 0, I5_33|N55, 0, I37},
- {"sw", "t,o(b)", 0xac000000, 0xfc000000, RD_1|RD_3|SM, 0, I1, 0, 0 },
- {"sw", "t,A(b)", 0, (int) M_SW_AB, INSN_MACRO, 0, I1, 0, 0 },
--{"swapw", "t,b", 0x70000014, 0xfc00ffff, MOD_1|RD_2|LM|SM, 0, XLR, 0, 0 },
--{"swapwu", "t,b", 0x70000015, 0xfc00ffff, MOD_1|RD_2|LM|SM, 0, XLR, 0, 0 },
--{"swapd", "t,b", 0x70000016, 0xfc00ffff, MOD_1|RD_2|LM|SM, 0, XLR, 0, 0 },
-+{"swapw", "t,b", 0x70000014, 0xfc00ffff, MOD_1|RD_2|SM, 0, XLR|XLP, 0, 0 },
-+{"swapwu", "t,b", 0x70000015, 0xfc00ffff, MOD_1|RD_2|SM, 0, XLR|XLP, 0, 0 },
-+{"swapd", "t,b", 0x70000016, 0xfc00ffff, MOD_1|RD_2|SM, 0, XLR|XLP, 0, 0 },
- {"swc0", "E,o(b)", 0xe0000000, 0xfc000000, RD_3|RD_C0|SM, 0, I1, 0, IOCT|IOCTP|IOCT2|I37 },
- {"swc0", "E,A(b)", 0, (int) M_SWC0_AB, INSN_MACRO, 0, I1, 0, IOCT|IOCTP|IOCT2|I37 },
- {"swc1", "T,o(b)", 0xe4000000, 0xfc000000, RD_1|RD_3|SM|FP_S, 0, I1, 0, 0 },
---
-2.28.0
-
diff --git a/meta/recipes-devtools/binutils/binutils/0015-sync-with-OE-libtool-changes.patch b/meta/recipes-devtools/binutils/binutils/0010-sync-with-OE-libtool-changes.patch
index e848f146b0..57d9ac5f27 100644
--- a/meta/recipes-devtools/binutils/binutils/0015-sync-with-OE-libtool-changes.patch
+++ b/meta/recipes-devtools/binutils/binutils/0010-sync-with-OE-libtool-changes.patch
@@ -1,7 +1,7 @@
-From e087f96e219d47c4d2244c3f32397e56d41bfdec Mon Sep 17 00:00:00 2001
+From befc176c209bbb4c32b57c2068e813c88b1ab6b1 Mon Sep 17 00:00:00 2001
From: Ross Burton <ross.burton@intel.com>
Date: Mon, 6 Mar 2017 23:33:27 -0800
-Subject: [PATCH 15/17] sync with OE libtool changes
+Subject: [PATCH] sync with OE libtool changes
Apply these patches from our libtool patches as not only are redundant RPATHs a
waste of space but they can cause incorrect linking when native packages are
@@ -26,7 +26,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
1 file changed, 28 insertions(+), 6 deletions(-)
diff --git a/ltmain.sh b/ltmain.sh
-index 11ee684cccf..3b19ac15328 100644
+index f59eb4aa631..ce97db42ce7 100644
--- a/ltmain.sh
+++ b/ltmain.sh
@@ -8053,8 +8053,16 @@ EOF
@@ -84,6 +84,3 @@ index 11ee684cccf..3b19ac15328 100644
fi
elif test -n "$runpath_var"; then
case "$finalize_perm_rpath " in
---
-2.28.0
-
diff --git a/meta/recipes-devtools/binutils/binutils/0016-Check-for-clang-before-checking-gcc-version.patch b/meta/recipes-devtools/binutils/binutils/0011-Check-for-clang-before-checking-gcc-version.patch
index 400b79823f..c47f41f5ca 100644
--- a/meta/recipes-devtools/binutils/binutils/0016-Check-for-clang-before-checking-gcc-version.patch
+++ b/meta/recipes-devtools/binutils/binutils/0011-Check-for-clang-before-checking-gcc-version.patch
@@ -1,7 +1,7 @@
-From ae5a7d622dc9addb2ca9fc85889c45964c025a9c Mon Sep 17 00:00:00 2001
+From cad852e0ed46a1c26607f9e7d17cc5974b05e38a Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Wed, 15 Apr 2020 14:17:20 -0700
-Subject: [PATCH 16/17] Check for clang before checking gcc version
+Subject: [PATCH] Check for clang before checking gcc version
Clang advertises itself to be gcc 4.2.1, so when compiling this test
here fails since gcc < 4.4.5 did not support -static-libstdc++ but thats
@@ -18,10 +18,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure b/configure
-index 6782f8b6ab8..72f5766b363 100755
+index 670684d83d1..f9ba1c0a4f7 100755
--- a/configure
+++ b/configure
-@@ -5143,7 +5143,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+@@ -5432,7 +5432,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -31,10 +31,10 @@ index 6782f8b6ab8..72f5766b363 100755
#endif
int main() {}
diff --git a/configure.ac b/configure.ac
-index 55beb1dea46..3f9e613e2d9 100644
+index 88b4800e298..6cd4530db56 100644
--- a/configure.ac
+++ b/configure.ac
-@@ -1312,7 +1312,7 @@ if test "$GCC" = yes; then
+@@ -1410,7 +1410,7 @@ if test "$GCC" = yes; then
AC_MSG_CHECKING([whether g++ accepts -static-libstdc++ -static-libgcc])
AC_LANG_PUSH(C++)
AC_LINK_IFELSE([AC_LANG_SOURCE([
@@ -43,6 +43,3 @@ index 55beb1dea46..3f9e613e2d9 100644
#error -static-libstdc++ not implemented
#endif
int main() {}])],
---
-2.28.0
-
diff --git a/meta/recipes-devtools/binutils/binutils/0012-Detect-64-bit-MIPS-targets.patch b/meta/recipes-devtools/binutils/binutils/0012-Detect-64-bit-MIPS-targets.patch
deleted file mode 100644
index ef8b253b6a..0000000000
--- a/meta/recipes-devtools/binutils/binutils/0012-Detect-64-bit-MIPS-targets.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-From dbff6bdf2123f5495b8be930304d9aa5e88006a7 Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Fri, 31 Mar 2017 11:42:03 -0700
-Subject: [PATCH 12/17] Detect 64-bit MIPS targets
-
-Add mips64 target triplets and default to N64
-
-Upstream-Status: Submitted
-https://sourceware.org/ml/binutils/2016-08/msg00048.html
-
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
- gold/configure.tgt | 14 ++++++++++++++
- 1 file changed, 14 insertions(+)
-
-diff --git a/gold/configure.tgt b/gold/configure.tgt
-index aa7ec552aec..470515062e4 100644
---- a/gold/configure.tgt
-+++ b/gold/configure.tgt
-@@ -153,6 +153,13 @@ aarch64*-*)
- targ_big_endian=false
- targ_extra_big_endian=true
- ;;
-+mips*64*el*-*-*|mips*64*le*-*-*)
-+ targ_obj=mips
-+ targ_machine=EM_MIPS_RS3_LE
-+ targ_size=64
-+ targ_big_endian=false
-+ targ_extra_big_endian=true
-+ ;;
- mips*el*-*-*|mips*le*-*-*)
- targ_obj=mips
- targ_machine=EM_MIPS_RS3_LE
-@@ -160,6 +167,13 @@ mips*el*-*-*|mips*le*-*-*)
- targ_big_endian=false
- targ_extra_big_endian=true
- ;;
-+mips*64*-*-*)
-+ targ_obj=mips
-+ targ_machine=EM_MIPS
-+ targ_size=64
-+ targ_big_endian=true
-+ targ_extra_big_endian=false
-+ ;;
- mips*-*-*)
- targ_obj=mips
- targ_machine=EM_MIPS
---
-2.28.0
-
diff --git a/meta/recipes-devtools/binutils/binutils/0006-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch b/meta/recipes-devtools/binutils/binutils/0012-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch
index 654b64ff78..985911aab1 100644
--- a/meta/recipes-devtools/binutils/binutils/0006-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch
+++ b/meta/recipes-devtools/binutils/binutils/0012-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch
@@ -1,8 +1,7 @@
-From 59640ddf11104a604ccf7c078a48359d711c2f9c Mon Sep 17 00:00:00 2001
+From 47e53916e3112391d8bff2b2257dcec0a2426d66 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
-Date: Mon, 2 Mar 2015 01:27:17 +0000
-Subject: [PATCH 06/17] Only generate an RPATH entry if LD_RUN_PATH is not
- empty
+Date: Thu, 10 Mar 2022 21:21:33 -0800
+Subject: [PATCH] Only generate an RPATH entry if LD_RUN_PATH is not empty
for cases where -rpath isn't specified. debian (#151024)
@@ -11,23 +10,24 @@ Upstream-Status: Pending
Signed-off-by: Chris Chimelis <chris@debian.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
- ld/ldelf.c | 4 ++++
- 1 file changed, 4 insertions(+)
+ ld/ldelf.c | 5 +++++
+ 1 file changed, 5 insertions(+)
diff --git a/ld/ldelf.c b/ld/ldelf.c
-index b4784009d7a..541772f4604 100644
+index 187b359af86..ad792f02d63 100644
--- a/ld/ldelf.c
+++ b/ld/ldelf.c
-@@ -1247,6 +1247,8 @@ ldelf_after_open (int use_libpath, int native, int is_linux, int is_freebsd,
+@@ -1130,6 +1130,9 @@ ldelf_handle_dt_needed (struct elf_link_hash_table *htab,
&& command_line.rpath == NULL)
{
path = (const char *) getenv ("LD_RUN_PATH");
+ if ((path) && (strlen (path) == 0))
-+ path = NULL;
++ path = NULL;
++
if (path
&& ldelf_search_needed (path, &n, force,
is_linux, elfsize))
-@@ -1605,6 +1607,8 @@ ldelf_before_allocation (char *audit, char *depaudit,
+@@ -1805,6 +1808,8 @@ ldelf_before_allocation (char *audit, char *depaudit,
rpath = command_line.rpath;
if (rpath == NULL)
rpath = (const char *) getenv ("LD_RUN_PATH");
@@ -36,6 +36,3 @@ index b4784009d7a..541772f4604 100644
for (abfd = link_info.input_bfds; abfd; abfd = abfd->link.next)
if (bfd_get_flavour (abfd) == bfd_target_elf_flavour)
---
-2.28.0
-
diff --git a/meta/recipes-devtools/binutils/binutils/0013-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch b/meta/recipes-devtools/binutils/binutils/0013-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch
new file mode 100644
index 0000000000..0cb2f46a07
--- /dev/null
+++ b/meta/recipes-devtools/binutils/binutils/0013-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch
@@ -0,0 +1,48 @@
+From d479020609329cdc7fa3675bc3daf072401fefae Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Sun, 15 Jan 2023 00:16:25 -0800
+Subject: [PATCH] Define alignof using _Alignof when using C11 or newer
+
+WG14 N2350 made very clear that it is an UB having type definitions
+within "offsetof" [1]. This patch enhances the implementation of macro
+alignof to use builtin "_Alignof" to avoid undefined behavior on
+when using std=c11 or newer
+
+clang 16+ has started to flag this [2]
+
+Fixes build when using -std >= gnu11 and using clang16+
+
+Older compilers gcc < 4.9 or clang < 8 has buggy _Alignof even though it
+may support C11, exclude those compilers too
+
+[1] https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2350.htm
+[2] https://reviews.llvm.org/D133574
+
+Upstream-Status: Pending
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ libiberty/sha1.c | 10 ++++++++++
+ 1 file changed, 10 insertions(+)
+
+diff --git a/libiberty/sha1.c b/libiberty/sha1.c
+index 49e8e0b6c2b..72de5cc8ad6 100644
+--- a/libiberty/sha1.c
++++ b/libiberty/sha1.c
+@@ -234,7 +234,17 @@ sha1_process_bytes (const void *buffer, size_t len, struct sha1_ctx *ctx)
+ if (len >= 64)
+ {
+ #if !_STRING_ARCH_unaligned
++/* GCC releases before GCC 4.9 had a bug in _Alignof. See GCC bug 52023
++ <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52023>.
++ clang versions < 8.0.0 have the same bug. */
++#if (!defined __STDC_VERSION__ || __STDC_VERSION__ < 201112 \
++ || (defined __GNUC__ && __GNUC__ < 4 + (__GNUC_MINOR__ < 9) \
++ && !defined __clang__) \
++ || (defined __clang__ && __clang_major__ < 8))
+ # define alignof(type) offsetof (struct { char c; type x; }, x)
++#else
++# define alignof(type) _Alignof(type)
++#endif
+ # define UNALIGNED_P(p) (((size_t) p) % alignof (sha1_uint32) != 0)
+ if (UNALIGNED_P (buffer))
+ while (len > 64)
diff --git a/meta/recipes-devtools/binutils/binutils/0014-Remove-duplicate-pe-dll.o-entry-deom-targ_extra_ofil.patch b/meta/recipes-devtools/binutils/binutils/0014-Remove-duplicate-pe-dll.o-entry-deom-targ_extra_ofil.patch
new file mode 100644
index 0000000000..8aef2cc710
--- /dev/null
+++ b/meta/recipes-devtools/binutils/binutils/0014-Remove-duplicate-pe-dll.o-entry-deom-targ_extra_ofil.patch
@@ -0,0 +1,32 @@
+From ddd941856582a82171626cbe609325b11e223704 Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Wed, 18 Jan 2023 19:35:07 -0800
+Subject: [PATCH] Remove duplicate pe-dll.o entry deom targ_extra_ofiles
+
+Commit c60b3806799abf1d7f6cf5108a1b0e733a950b13 added support for
+aarch64-pe which introduced wrapper over pep-dll.c for x86_64 as well as
+aarch64, on x86_64 it was added but the old object pe-dll.o needs to be
+removed too, otherwise build fails with duplicate symbols from pe-dll.o
+and pep-dll-x86_64.o
+
+Upstream-Status: Submitted [https://sourceware.org/pipermail/binutils/2023-January/125739.html]
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+Cc: Jedidiah Thompson <wej22007@outlook.com>
+Cc: Zac Walker <zac.walker@linaro.org>
+---
+ ld/configure.tgt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/ld/configure.tgt b/ld/configure.tgt
+index f937f78b876..830613744c2 100644
+--- a/ld/configure.tgt
++++ b/ld/configure.tgt
+@@ -1067,7 +1067,7 @@ x86_64-*-cygwin) targ_emul=i386pep ;
+ ;;
+ x86_64-*-mingw*) targ_emul=i386pep ;
+ targ_extra_emuls=i386pe
+- targ_extra_ofiles="deffilep.o pdb.o pep-dll.o pe-dll.o"
++ targ_extra_ofiles="deffilep.o pdb.o pe-dll.o"
+ ;;
+ x86_64-*-gnu*) targ_emul=elf_x86_64
+ targ_extra_emuls="elf32_x86_64 elf_iamcu elf_i386"
diff --git a/meta/recipes-devtools/binutils/binutils/0015-gprofng-change-use-of-bignum-to-bigint.patch b/meta/recipes-devtools/binutils/binutils/0015-gprofng-change-use-of-bignum-to-bigint.patch
new file mode 100644
index 0000000000..0d3d289eba
--- /dev/null
+++ b/meta/recipes-devtools/binutils/binutils/0015-gprofng-change-use-of-bignum-to-bigint.patch
@@ -0,0 +1,17 @@
+Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=3243d790ee32aa8eda69226d81b1e79dbd1dcd87]
+
+Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
+
+diff --git a/gprofng/gp-display-html/gp-display-html.in b/gprofng/gp-display-html/gp-display-html.in
+index 6f37ca282e7..306c99a0ec3 100644
+--- a/gprofng/gp-display-html/gp-display-html.in
++++ b/gprofng/gp-display-html/gp-display-html.in
+@@ -25,7 +25,7 @@ use warnings;
+ # Disable before release
+ # use Perl::Critic;
+
+-use bignum;
++use bigint;
+ use List::Util qw (max);
+ use Cwd qw (abs_path cwd);
+ use File::Basename;
diff --git a/meta/recipes-devtools/binutils/binutils/0016-aarch64-Remove-asserts-from-operand-qualifier-decode.patch b/meta/recipes-devtools/binutils/binutils/0016-aarch64-Remove-asserts-from-operand-qualifier-decode.patch
new file mode 100644
index 0000000000..7b52425a38
--- /dev/null
+++ b/meta/recipes-devtools/binutils/binutils/0016-aarch64-Remove-asserts-from-operand-qualifier-decode.patch
@@ -0,0 +1,382 @@
+From 5b1c70bfe0d8f84dc28237d6150b7b9d57c791a8 Mon Sep 17 00:00:00 2001
+From: Victor Do Nascimento <victor.donascimento@arm.com>
+Date: Tue, 16 Apr 2024 11:49:15 +0100
+Subject: [PATCH] aarch64: Remove asserts from operand qualifier decoders
+ [PR31595]
+
+Given that the disassembler should never abort when decoding
+(potentially random) data, assertion statements in the
+`get_*reg_qualifier_from_value' function family prove problematic.
+
+Consider the random 32-bit word W, encoded in a data segment and
+encountered on execution of `objdump -D <obj_name>'.
+
+If:
+
+ (W & ~opcode_mask) == valid instruction
+
+Then before `print_insn_aarch64_word' has a chance to report the
+instruction as potentially undefined, an attempt will be made to have
+the qualifiers for the instruction's register operands (if any)
+decoded. If the relevant bits do not map onto a valid qualifier for
+the matched instruction-like word, an abort will be triggered and the
+execution of objdump aborted.
+
+As this scenario is perfectly feasible and, in light of the fact that
+objdump must successfully decode all sections of a given object file,
+it is not appropriate to assert in this family of functions.
+
+Therefore, we add a new pseudo-qualifier `AARCH64_OPND_QLF_ERR' for
+handling invalid qualifier-associated values and re-purpose the
+assertion conditions in qualifier-retrieving functions to be the
+predicate guarding the returning of the calculated qualifier type.
+If the predicate fails, we return this new qualifier and allow the
+caller to handle the error as appropriate.
+
+As these functions are called either from within
+`aarch64_extract_operand' or `do_special_decoding', both of which are
+expected to return non-zero values, it suffices that callers return
+zero upon encountering `AARCH64_OPND_QLF_ERR'.
+
+Ar present the error presented in the hypothetical scenario has been
+encountered in `get_sreg_qualifier_from_value', but the change is made
+to the whole family to keep the interface consistent.
+
+Bug: https://sourceware.org/PR31595
+
+Upstream-Status: Backport [commit 2601b201e95ea0edab89342ee7137c74e88a8a79]
+
+Signed-off-by: Mark Hatle <mark.hatle@amd.com>
+---
+ .../testsuite/binutils-all/aarch64/illegal.d | 1 +
+ .../testsuite/binutils-all/aarch64/illegal.s | 3 +
+ include/opcode/aarch64.h | 3 +
+ opcodes/aarch64-dis.c | 98 +++++++++++++++----
+ 4 files changed, 87 insertions(+), 18 deletions(-)
+
+diff --git a/binutils/testsuite/binutils-all/aarch64/illegal.d b/binutils/testsuite/binutils-all/aarch64/illegal.d
+index 4b90a1d9f39..b69318aec85 100644
+--- a/binutils/testsuite/binutils-all/aarch64/illegal.d
++++ b/binutils/testsuite/binutils-all/aarch64/illegal.d
+@@ -8,5 +8,6 @@ Disassembly of section \.text:
+
+ 0+000 <.*>:
+ [ ]+0:[ ]+68ea18cc[ ]+.inst[ ]+0x68ea18cc ; undefined
++[ ]+4:[ ]+9dc39839[ ]+.inst[ ]+0x9dc39839 ; undefined
+ #pass
+
+diff --git a/binutils/testsuite/binutils-all/aarch64/illegal.s b/binutils/testsuite/binutils-all/aarch64/illegal.s
+index 216cbe6f265..43668c6db55 100644
+--- a/binutils/testsuite/binutils-all/aarch64/illegal.s
++++ b/binutils/testsuite/binutils-all/aarch64/illegal.s
+@@ -4,4 +4,7 @@
+ # ldpsw x12, x6, [x6],#-8 ; illegal because one of the dest regs is also the address reg
+ .inst 0x68ea18cc
+
++ # illegal, resembles the opcode `ldapur' with invalid qualifier bits
++ .inst 0x9dc39839
++
+ # FIXME: Add more illegal instructions here.
+diff --git a/include/opcode/aarch64.h b/include/opcode/aarch64.h
+index 2fca9528c20..e8fe93ef127 100644
+--- a/include/opcode/aarch64.h
++++ b/include/opcode/aarch64.h
+@@ -894,6 +894,9 @@ enum aarch64_opnd_qualifier
+ /* Special qualifier helping retrieve qualifier information during the
+ decoding time (currently not in use). */
+ AARCH64_OPND_QLF_RETRIEVE,
++
++ /* Special qualifier used for indicating error in qualifier retrieval. */
++ AARCH64_OPND_QLF_ERR,
+ };
+
+ /* Instruction class. */
+diff --git a/opcodes/aarch64-dis.c b/opcodes/aarch64-dis.c
+index 96f42ae862a..b70e6da9eb7 100644
+--- a/opcodes/aarch64-dis.c
++++ b/opcodes/aarch64-dis.c
+@@ -219,9 +219,10 @@ static inline enum aarch64_opnd_qualifier
+ get_greg_qualifier_from_value (aarch64_insn value)
+ {
+ enum aarch64_opnd_qualifier qualifier = AARCH64_OPND_QLF_W + value;
+- assert (value <= 0x1
+- && aarch64_get_qualifier_standard_value (qualifier) == value);
+- return qualifier;
++ if (value <= 0x1
++ && aarch64_get_qualifier_standard_value (qualifier) == value)
++ return qualifier;
++ return AARCH64_OPND_QLF_ERR;
+ }
+
+ /* Given VALUE, return qualifier for a vector register. This does not support
+@@ -237,9 +238,10 @@ get_vreg_qualifier_from_value (aarch64_insn value)
+ if (qualifier >= AARCH64_OPND_QLF_V_2H)
+ qualifier += 1;
+
+- assert (value <= 0x8
+- && aarch64_get_qualifier_standard_value (qualifier) == value);
+- return qualifier;
++ if (value <= 0x8
++ && aarch64_get_qualifier_standard_value (qualifier) == value)
++ return qualifier;
++ return AARCH64_OPND_QLF_ERR;
+ }
+
+ /* Given VALUE, return qualifier for an FP or AdvSIMD scalar register. */
+@@ -248,9 +250,10 @@ get_sreg_qualifier_from_value (aarch64_insn value)
+ {
+ enum aarch64_opnd_qualifier qualifier = AARCH64_OPND_QLF_S_B + value;
+
+- assert (value <= 0x4
+- && aarch64_get_qualifier_standard_value (qualifier) == value);
+- return qualifier;
++ if (value <= 0x4
++ && aarch64_get_qualifier_standard_value (qualifier) == value)
++ return qualifier;
++ return AARCH64_OPND_QLF_ERR;
+ }
+
+ /* Given the instruction in *INST which is probably half way through the
+@@ -263,13 +266,17 @@ get_expected_qualifier (const aarch64_inst *inst, int i)
+ {
+ aarch64_opnd_qualifier_seq_t qualifiers;
+ /* Should not be called if the qualifier is known. */
+- assert (inst->operands[i].qualifier == AARCH64_OPND_QLF_NIL);
+- int invalid_count;
+- if (aarch64_find_best_match (inst, inst->opcode->qualifiers_list,
+- i, qualifiers, &invalid_count))
+- return qualifiers[i];
++ if (inst->operands[i].qualifier == AARCH64_OPND_QLF_NIL)
++ {
++ int invalid_count;
++ if (aarch64_find_best_match (inst, inst->opcode->qualifiers_list,
++ i, qualifiers, &invalid_count))
++ return qualifiers[i];
++ else
++ return AARCH64_OPND_QLF_NIL;
++ }
+ else
+- return AARCH64_OPND_QLF_NIL;
++ return AARCH64_OPND_QLF_ERR;
+ }
+
+ /* Operand extractors. */
+@@ -355,6 +362,8 @@ aarch64_ext_reglane (const aarch64_operand *self, aarch64_opnd_info *info,
+ aarch64_insn value = extract_field (FLD_imm4_11, code, 0);
+ /* Depend on AARCH64_OPND_Ed to determine the qualifier. */
+ info->qualifier = get_expected_qualifier (inst, info->idx);
++ if (info->qualifier == AARCH64_OPND_QLF_ERR)
++ return 0;
+ shift = get_logsz (aarch64_get_qualifier_esize (info->qualifier));
+ info->reglane.index = value >> shift;
+ }
+@@ -374,6 +383,8 @@ aarch64_ext_reglane (const aarch64_operand *self, aarch64_opnd_info *info,
+ if (pos > 3)
+ return false;
+ info->qualifier = get_sreg_qualifier_from_value (pos);
++ if (info->qualifier == AARCH64_OPND_QLF_ERR)
++ return 0;
+ info->reglane.index = (unsigned) (value >> 1);
+ }
+ }
+@@ -381,6 +392,8 @@ aarch64_ext_reglane (const aarch64_operand *self, aarch64_opnd_info *info,
+ {
+ /* Need information in other operand(s) to help decoding. */
+ info->qualifier = get_expected_qualifier (inst, info->idx);
++ if (info->qualifier == AARCH64_OPND_QLF_ERR)
++ return 0;
+ switch (info->qualifier)
+ {
+ case AARCH64_OPND_QLF_S_4B:
+@@ -405,6 +418,8 @@ aarch64_ext_reglane (const aarch64_operand *self, aarch64_opnd_info *info,
+
+ /* Need information in other operand(s) to help decoding. */
+ info->qualifier = get_expected_qualifier (inst, info->idx);
++ if (info->qualifier == AARCH64_OPND_QLF_ERR)
++ return 0;
+ switch (info->qualifier)
+ {
+ case AARCH64_OPND_QLF_S_H:
+@@ -644,9 +659,15 @@ aarch64_ext_advsimd_imm_shift (const aarch64_operand *self ATTRIBUTE_UNUSED,
+ 1xxx 1 2D */
+ info->qualifier =
+ get_vreg_qualifier_from_value ((pos << 1) | (int) Q);
++ if (info->qualifier == AARCH64_OPND_QLF_ERR)
++ return false;
+ }
+ else
+- info->qualifier = get_sreg_qualifier_from_value (pos);
++ {
++ info->qualifier = get_sreg_qualifier_from_value (pos);
++ if (info->qualifier == AARCH64_OPND_QLF_ERR)
++ return 0;
++ }
+
+ if (info->type == AARCH64_OPND_IMM_VLSR)
+ /* immh <shift>
+@@ -773,6 +794,8 @@ aarch64_ext_advsimd_imm_modified (const aarch64_operand *self ATTRIBUTE_UNUSED,
+
+ /* cmode */
+ info->qualifier = get_expected_qualifier (inst, info->idx);
++ if (info->qualifier == AARCH64_OPND_QLF_ERR)
++ return 0;
+ switch (info->qualifier)
+ {
+ case AARCH64_OPND_QLF_NIL:
+@@ -1014,6 +1037,8 @@ aarch64_ext_ft (const aarch64_operand *self ATTRIBUTE_UNUSED,
+ if (value > 0x4)
+ return false;
+ info->qualifier = get_sreg_qualifier_from_value (value);
++ if (info->qualifier == AARCH64_OPND_QLF_ERR)
++ return 0;
+ }
+
+ return true;
+@@ -1086,6 +1111,8 @@ aarch64_ext_rcpc3_addr_offset (const aarch64_operand *self ATTRIBUTE_UNUSED,
+ aarch64_operand_error *errors ATTRIBUTE_UNUSED)
+ {
+ info->qualifier = get_expected_qualifier (inst, info->idx);
++ if (info->qualifier == AARCH64_OPND_QLF_ERR)
++ return 0;
+
+ /* Rn */
+ info->addr.base_regno = extract_field (self->fields[0], code, 0);
+@@ -1105,6 +1132,8 @@ aarch64_ext_addr_offset (const aarch64_operand *self ATTRIBUTE_UNUSED,
+ aarch64_operand_error *errors ATTRIBUTE_UNUSED)
+ {
+ info->qualifier = get_expected_qualifier (inst, info->idx);
++ if (info->qualifier == AARCH64_OPND_QLF_ERR)
++ return 0;
+
+ /* Rn */
+ info->addr.base_regno = extract_field (self->fields[0], code, 0);
+@@ -1154,6 +1183,8 @@ aarch64_ext_addr_regoff (const aarch64_operand *self ATTRIBUTE_UNUSED,
+ /* Need information in other operand(s) to help achieve the decoding
+ from 'S' field. */
+ info->qualifier = get_expected_qualifier (inst, info->idx);
++ if (info->qualifier == AARCH64_OPND_QLF_ERR)
++ return 0;
+ /* Get the size of the data element that is accessed, which may be
+ different from that of the source register size, e.g. in strb/ldrb. */
+ size = aarch64_get_qualifier_esize (info->qualifier);
+@@ -1172,6 +1203,8 @@ aarch64_ext_addr_simm (const aarch64_operand *self, aarch64_opnd_info *info,
+ {
+ aarch64_insn imm;
+ info->qualifier = get_expected_qualifier (inst, info->idx);
++ if (info->qualifier == AARCH64_OPND_QLF_ERR)
++ return 0;
+
+ /* Rn */
+ info->addr.base_regno = extract_field (FLD_Rn, code, 0);
+@@ -1210,6 +1243,8 @@ aarch64_ext_addr_uimm12 (const aarch64_operand *self, aarch64_opnd_info *info,
+ {
+ int shift;
+ info->qualifier = get_expected_qualifier (inst, info->idx);
++ if (info->qualifier == AARCH64_OPND_QLF_ERR)
++ return 0;
+ shift = get_logsz (aarch64_get_qualifier_esize (info->qualifier));
+ /* Rn */
+ info->addr.base_regno = extract_field (self->fields[0], code, 0);
+@@ -1228,6 +1263,8 @@ aarch64_ext_addr_simm10 (const aarch64_operand *self, aarch64_opnd_info *info,
+ aarch64_insn imm;
+
+ info->qualifier = get_expected_qualifier (inst, info->idx);
++ if (info->qualifier == AARCH64_OPND_QLF_ERR)
++ return 0;
+ /* Rn */
+ info->addr.base_regno = extract_field (self->fields[0], code, 0);
+ /* simm10 */
+@@ -2467,6 +2504,8 @@ decode_sizeq (aarch64_inst *inst)
+ if (mask == 0x7)
+ {
+ inst->operands[idx].qualifier = get_vreg_qualifier_from_value (value);
++ if (inst->operands[idx].qualifier == AARCH64_OPND_QLF_ERR)
++ return 0;
+ return 1;
+ }
+
+@@ -2649,6 +2688,8 @@ do_special_decoding (aarch64_inst *inst)
+ idx = select_operand_for_sf_field_coding (inst->opcode);
+ value = extract_field (FLD_sf, inst->value, 0);
+ inst->operands[idx].qualifier = get_greg_qualifier_from_value (value);
++ if (inst->operands[idx].qualifier == AARCH64_OPND_QLF_ERR)
++ return 0;
+ if ((inst->opcode->flags & F_N)
+ && extract_field (FLD_N, inst->value, 0) != value)
+ return 0;
+@@ -2659,6 +2700,8 @@ do_special_decoding (aarch64_inst *inst)
+ idx = select_operand_for_sf_field_coding (inst->opcode);
+ value = extract_field (FLD_lse_sz, inst->value, 0);
+ inst->operands[idx].qualifier = get_greg_qualifier_from_value (value);
++ if (inst->operands[idx].qualifier == AARCH64_OPND_QLF_ERR)
++ return 0;
+ }
+ /* rcpc3 'size' field. */
+ if (inst->opcode->flags & F_RCPC3_SIZE)
+@@ -2670,12 +2713,18 @@ do_special_decoding (aarch64_inst *inst)
+ {
+ if (aarch64_operands[inst->operands[i].type].op_class
+ == AARCH64_OPND_CLASS_INT_REG)
+- inst->operands[i].qualifier = get_greg_qualifier_from_value (value & 1);
++ {
++ inst->operands[i].qualifier = get_greg_qualifier_from_value (value & 1);
++ if (inst->operands[i].qualifier == AARCH64_OPND_QLF_ERR)
++ return 0;
++ }
+ else if (aarch64_operands[inst->operands[i].type].op_class
+ == AARCH64_OPND_CLASS_FP_REG)
+ {
+ value += (extract_field (FLD_opc1, inst->value, 0) << 2);
+ inst->operands[i].qualifier = get_sreg_qualifier_from_value (value);
++ if (inst->operands[i].qualifier == AARCH64_OPND_QLF_ERR)
++ return 0;
+ }
+ }
+ }
+@@ -2709,7 +2758,11 @@ do_special_decoding (aarch64_inst *inst)
+ /* For most related instruciton, the 'size' field is fully available for
+ operand encoding. */
+ if (mask == 0x3)
+- inst->operands[idx].qualifier = get_sreg_qualifier_from_value (value);
++ {
++ inst->operands[idx].qualifier = get_sreg_qualifier_from_value (value);
++ if (inst->operands[idx].qualifier == AARCH64_OPND_QLF_ERR)
++ return 0;
++ }
+ else
+ {
+ get_operand_possible_qualifiers (idx, inst->opcode->qualifiers_list,
+@@ -2744,6 +2797,9 @@ do_special_decoding (aarch64_inst *inst)
+ Q = (unsigned) extract_field (FLD_Q, inst->value, inst->opcode->mask);
+ inst->operands[0].qualifier =
+ get_vreg_qualifier_from_value ((num << 1) | Q);
++ if (inst->operands[0].qualifier == AARCH64_OPND_QLF_ERR)
++ return 0;
++
+ }
+
+ if ((inst->opcode->flags & F_OPD_SIZE) && inst->opcode->iclass == sve2_urqvs)
+@@ -2753,7 +2809,11 @@ do_special_decoding (aarch64_inst *inst)
+ inst->opcode->mask);
+ inst->operands[0].qualifier
+ = get_vreg_qualifier_from_value (1 + (size << 1));
++ if (inst->operands[0].qualifier == AARCH64_OPND_QLF_ERR)
++ return 0;
+ inst->operands[2].qualifier = get_sreg_qualifier_from_value (size);
++ if (inst->operands[2].qualifier == AARCH64_OPND_QLF_ERR)
++ return 0;
+ }
+
+ if (inst->opcode->flags & F_GPRSIZE_IN_Q)
+@@ -2772,6 +2832,8 @@ do_special_decoding (aarch64_inst *inst)
+ assert (idx == 0 || idx == 1);
+ value = extract_field (FLD_Q, inst->value, 0);
+ inst->operands[idx].qualifier = get_greg_qualifier_from_value (value);
++ if (inst->operands[idx].qualifier == AARCH64_OPND_QLF_ERR)
++ return 0;
+ }
+
+ if (inst->opcode->flags & F_LDS_SIZE)
+--
+2.34.1
+
diff --git a/meta/recipes-devtools/binutils/binutils/0017-gas-improve-reproducibility-for-stabs-debugging-data.patch b/meta/recipes-devtools/binutils/binutils/0017-gas-improve-reproducibility-for-stabs-debugging-data.patch
deleted file mode 100644
index 42e0c1c32d..0000000000
--- a/meta/recipes-devtools/binutils/binutils/0017-gas-improve-reproducibility-for-stabs-debugging-data.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From aa6586e80fc6fcd739aa959a71e4cf064cdef072 Mon Sep 17 00:00:00 2001
-From: Denys Zagorui <dzagorui@cisco.com>
-Date: Mon, 9 Nov 2020 15:39:10 +0000
-Subject: [PATCH] gas: improve reproducibility for stabs debugging data format
-
- * config/obj-elf (obj_elf_init_stab_section): Improve
- reproducibility for stabs debugging data format
-
-Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=0541201782c006c09d029d18a45c6e743cfea906]
----
- gas/config/obj-elf.c | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/gas/config/obj-elf.c b/gas/config/obj-elf.c
-index de22b5a1da..2025df8542 100644
---- a/gas/config/obj-elf.c
-+++ b/gas/config/obj-elf.c
-@@ -2374,12 +2374,13 @@ obj_elf_init_stab_section (segT seg)
- p = frag_more (12);
- /* Zero it out. */
- memset (p, 0, 12);
-- file = as_where (NULL);
-+ file = remap_debug_filename (as_where (NULL));
- stabstr_name = concat (segment_name (seg), "str", (char *) NULL);
- stroff = get_stab_string_offset (file, stabstr_name, TRUE);
- know (stroff == 1 || (stroff == 0 && file[0] == '\0'));
- md_number_to_chars (p, stroff, 4);
- seg_info (seg)->stabu.p = p;
-+ xfree ((char *) file);
- }
-
- #endif
---
-2.20.1
-
diff --git a/meta/recipes-devtools/binutils/binutils_2.35.bb b/meta/recipes-devtools/binutils/binutils_2.42.bb
index 2e645e1ed8..2cce40f1ef 100644
--- a/meta/recipes-devtools/binutils/binutils_2.35.bb
+++ b/meta/recipes-devtools/binutils/binutils_2.42.bb
@@ -1,7 +1,8 @@
require binutils.inc
require binutils-${PV}.inc
-DEPENDS += "flex bison zlib"
+# perl-native for pod2man for man page generation
+DEPENDS += "zlib perl-native"
EXTRA_OECONF += "--with-sysroot=/ \
--enable-install-libbfd \
@@ -10,11 +11,17 @@ EXTRA_OECONF += "--with-sysroot=/ \
--with-system-zlib \
"
-EXTRA_OEMAKE_append_libc-musl = "\
+EXTRA_OEMAKE:append:libc-musl = "\
gt_cv_func_gnugettext1_libc=yes \
gt_cv_func_gnugettext2_libc=yes \
"
-EXTRA_OECONF_class-native = "--enable-targets=all \
+# libcollector/collector.c:547:15: error: no member named '__fprintf_chk' in 'struct CollectorUtilFuncs'
+EXTRA_OECONF:append:toolchain-clang = " --disable-gprofng"
+# | ../../../gprofng/libcollector/../src/collector_module.h:78:13: error: duplicate member 'pwrite'
+# | ../../../gprofng/libcollector/dispatcher.c:578:8: error: 'struct sigevent' has no member named '_sigev_un'
+EXTRA_OECONF:append:libc-musl = " --disable-gprofng"
+
+EXTRA_OECONF:class-native = "--enable-targets=all \
--enable-64-bit-bfd \
--enable-install-libiberty \
--enable-install-libbfd \
@@ -25,12 +32,10 @@ EXTRA_OECONF_class-native = "--enable-targets=all \
--disable-sim \
--disable-werror"
-# gcc9.0 end up mis-compiling libbfd.so with O2 which then crashes on target
-# So remove -O2 and use -Os as workaround
-SELECTED_OPTIMIZATION_remove_mipsarch = "-O2"
-SELECTED_OPTIMIZATION_append_mipsarch = " -Os"
+PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'debuginfod', d)}"
+PACKAGECONFIG[debuginfod] = "--with-debuginfod, --without-debuginfod, elfutils"
-do_install_class-native () {
+do_install:class-native () {
autotools_do_install
# Install the libiberty header
@@ -52,14 +57,20 @@ do_install_class-native () {
rmdir ${D}/${libdir}64 || :
}
-# Split out libbfd-*.so so including perf doesn't include extra stuff
-PACKAGE_BEFORE_PN += "libbfd"
-FILES_libbfd = "${libdir}/libbfd-*.so.* ${libdir}/libbfd-*.so"
+# libctf races with libbfd
+PARALLEL_MAKEINST:class-target = ""
+PARALLEL_MAKEINST:class-nativesdk = ""
-SRC_URI_append_class-nativesdk = " file://0003-binutils-nativesdk-Search-for-alternative-ld.so.conf.patch "
+# Split out libbfd-*.so and libopcodes-*.so so including perf doesn't include
+# extra stuff
+PACKAGE_BEFORE_PN += "libbfd libopcodes gprofng"
+FILES:libbfd = "${libdir}/libbfd-*.so.* ${libdir}/libbfd-*.so"
+FILES:libopcodes = "${libdir}/libopcodes-*.so.* ${libdir}/libopcodes-*.so"
+FILES:gprofng = "${sysconfdir}/gprofng.rc ${libdir}/gprofng/libgp-*.so ${libdir}/gprofng/libgprofng.so.* ${bindir}/gp-* ${bindir}/gprofng"
+FILES:${PN}-dev += "${libdir}/libgprofng.so ${libdir}/libsframe.so"
+SRC_URI:append:class-nativesdk = " file://0003-binutils-nativesdk-Search-for-alternative-ld.so.conf.patch "
-USE_ALTERNATIVES_FOR_class-nativesdk = ""
-FILES_${PN}_append_class-nativesdk = " ${bindir}"
+USE_ALTERNATIVES_FOR:class-nativesdk = ""
+FILES:${PN}:append:class-nativesdk = " ${bindir}"
BBCLASSEXTEND = "native nativesdk"
-
diff --git a/meta/recipes-devtools/bison/bison/autoconf-2.73.patch b/meta/recipes-devtools/bison/bison/autoconf-2.73.patch
new file mode 100644
index 0000000000..8360d3928f
--- /dev/null
+++ b/meta/recipes-devtools/bison/bison/autoconf-2.73.patch
@@ -0,0 +1,24 @@
+The gnulib largefile macro needs updating to work with autoconf 2.73. Rather
+than the full code:
+
+https://git.savannah.gnu.org/cgit/gnulib.git/commit/m4/largefile.m4?id=f91f633858cf132e50924224c50d6264a92caabb
+
+Just tweak the exiting code to work with 2.73. The next bison upgrade should
+update to new gnulib
+
+Upstream-Status: Inappropriate
+Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
+
+Index: findutils-4.9.0/gl/m4/largefile.m4
+===================================================================
+--- findutils-4.9.0.orig/m4/largefile.m4
++++ findutils-4.9.0/m4/largefile.m4
+@@ -26,7 +26,7 @@ AC_DEFUN([gl_SET_LARGEFILE_SOURCE],
+ # with _TIME_BITS. Also, work around a problem in autoconf <= 2.69:
+ # AC_SYS_LARGEFILE does not configure for large inodes on Mac OS X 10.5,
+ # or configures them incorrectly in some cases.
+-m4_version_prereq([2.70], [], [
++m4_version_prereq([2.73], [], [
+
+ # _AC_SYS_LARGEFILE_TEST_INCLUDES
+ # -------------------------------
diff --git a/meta/recipes-devtools/bison/bison_3.7.3.bb b/meta/recipes-devtools/bison/bison_3.7.3.bb
deleted file mode 100644
index 74532caec3..0000000000
--- a/meta/recipes-devtools/bison/bison_3.7.3.bb
+++ /dev/null
@@ -1,37 +0,0 @@
-SUMMARY = "GNU Project parser generator (yacc replacement)"
-DESCRIPTION = "Bison is a general-purpose parser generator that converts an annotated context-free grammar into \
-an LALR(1) or GLR parser for that grammar. Bison is upward compatible with Yacc: all properly-written Yacc \
-grammars ought to work with Bison with no change. Anyone familiar with Yacc should be able to use Bison with \
-little trouble."
-HOMEPAGE = "http://www.gnu.org/software/bison/"
-LICENSE = "GPLv3"
-LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
-SECTION = "devel"
-DEPENDS = "bison-native flex-native"
-
-SRC_URI = "${GNU_MIRROR}/bison/bison-${PV}.tar.xz \
- file://add-with-bisonlocaledir.patch \
- "
-SRC_URI[sha256sum] = "88d9e36856b004c0887a12ba00ea3c47db388519629483dd8c3fce9694d4da6f"
-
-# No point in hardcoding path to m4, just use PATH
-EXTRA_OECONF += "M4=m4"
-
-inherit autotools gettext texinfo
-
-# The automatic m4 path detection gets confused, so force the right value
-acpaths = "-I ./m4"
-
-do_compile_prepend() {
- for i in mfcalc calc++ rpcalc; do mkdir -p ${B}/examples/$i; done
-}
-
-do_install_append_class-native() {
- create_wrapper ${D}/${bindir}/bison \
- BISON_PKGDATADIR=${STAGING_DATADIR_NATIVE}/bison
-}
-do_install_append_class-nativesdk() {
- create_wrapper ${D}/${bindir}/bison \
- BISON_PKGDATADIR=${datadir}/bison
-}
-BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/bison/bison_3.8.2.bb b/meta/recipes-devtools/bison/bison_3.8.2.bb
new file mode 100644
index 0000000000..da138e3587
--- /dev/null
+++ b/meta/recipes-devtools/bison/bison_3.8.2.bb
@@ -0,0 +1,55 @@
+SUMMARY = "GNU Project parser generator (yacc replacement)"
+DESCRIPTION = "Bison is a general-purpose parser generator that converts an annotated context-free grammar into \
+an LALR(1) or GLR parser for that grammar. Bison is upward compatible with Yacc: all properly-written Yacc \
+grammars ought to work with Bison with no change. Anyone familiar with Yacc should be able to use Bison with \
+little trouble."
+HOMEPAGE = "http://www.gnu.org/software/bison/"
+LICENSE = "GPL-3.0-only"
+LIC_FILES_CHKSUM = "file://COPYING;md5=1ebbd3e34237af26da5dc08a4e440464"
+SECTION = "devel"
+DEPENDS = "bison-native flex-native"
+
+SRC_URI = "${GNU_MIRROR}/bison/bison-${PV}.tar.xz \
+ file://autoconf-2.73.patch \
+ file://add-with-bisonlocaledir.patch \
+ "
+SRC_URI[sha256sum] = "9bba0214ccf7f1079c5d59210045227bcf619519840ebfa80cd3849cff5a5bf2"
+
+inherit autotools gettext texinfo
+
+# No point in hardcoding path to m4, just use PATH
+CACHED_CONFIGUREVARS = "ac_cv_path_M4=m4"
+
+PACKAGECONFIG ??= "readline ${@ 'textstyle' if d.getVar('USE_NLS') == 'yes' else ''}"
+PACKAGECONFIG:class-native ??= ""
+
+# Make readline and textstyle optional. There are recipie for these, but leave them
+# disabled for the native recipe. This prevents host contamination of the native tool.
+PACKAGECONFIG[readline] = "--with-libreadline-prefix,--without-libreadline-prefix,readline"
+PACKAGECONFIG[textstyle] = "--with-libtextstyle-prefix,--without-libtextstyle-prefix,gettext"
+
+# Include the cached configure variables, configure is really good at finding
+# libreadline, even if we don't want it.
+CACHED_CONFIGUREVARS += "${@bb.utils.contains('PACKAGECONFIG', 'readline', '', ' \
+ ac_cv_header_readline_history_h=no \
+ ac_cv_header_readline_readline_h=no \
+ gl_cv_lib_readline=no', d)} \
+ ${@bb.utils.contains('PACKAGECONFIG', 'textstyle', '', ' \
+ ac_cv_libtextstyle=no', d)}"
+
+# The automatic m4 path detection gets confused, so force the right value
+acpaths = "-I ./m4"
+
+do_compile:prepend() {
+ for i in mfcalc calc++ rpcalc; do mkdir -p ${B}/examples/$i; done
+}
+
+do_install:append:class-native() {
+ create_wrapper ${D}/${bindir}/bison \
+ BISON_PKGDATADIR=${STAGING_DATADIR_NATIVE}/bison
+}
+do_install:append:class-nativesdk() {
+ create_wrapper ${D}/${bindir}/bison \
+ BISON_PKGDATADIR=${datadir}/bison
+}
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/bootchart2/bootchart2/0001-Do-not-include-linux-fs.h.patch b/meta/recipes-devtools/bootchart2/bootchart2/0001-Do-not-include-linux-fs.h.patch
new file mode 100644
index 0000000000..4e71e5c788
--- /dev/null
+++ b/meta/recipes-devtools/bootchart2/bootchart2/0001-Do-not-include-linux-fs.h.patch
@@ -0,0 +1,31 @@
+From 8591c1e3edaea8f17396e3d2819d9064b2818cfb Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Sat, 6 Aug 2022 20:39:01 -0700
+Subject: [PATCH] Do not include linux/fs.h
+
+This header is not needed to be included anymore, moreover it conflicts
+with sys/mount.h from glibc 2.36+ see [1]
+
+[1] https://sourceware.org/glibc/wiki/Release/2.36
+
+Upstream-Status: Submitted [https://github.com/xrmx/bootchart/pull/99]
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ collector/collector.c | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/collector/collector.c b/collector/collector.c
+index 5055181..12738ff 100644
+--- a/collector/collector.c
++++ b/collector/collector.c
+@@ -34,7 +34,6 @@
+
+ #include <sys/mount.h>
+ #include <sys/sysmacros.h>
+-#include <linux/fs.h>
+ #include <linux/genetlink.h>
+ #include <linux/taskstats.h>
+ #include <linux/cgroupstats.h>
+--
+2.37.1
+
diff --git a/meta/recipes-devtools/bootchart2/bootchart2/0001-bootchart2-support-usrmerge.patch b/meta/recipes-devtools/bootchart2/bootchart2/0001-bootchart2-support-usrmerge.patch
deleted file mode 100644
index 8ee6723df1..0000000000
--- a/meta/recipes-devtools/bootchart2/bootchart2/0001-bootchart2-support-usrmerge.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From b6d1a1ff2de363b1b76c8c70f77ae56a4e4d4b56 Mon Sep 17 00:00:00 2001
-From: Changqing Li <changqing.li@windriver.com>
-Date: Thu, 5 Sep 2019 18:37:31 +0800
-Subject: [PATCH] bootchart2: support usrmerge
-
-Upstream-Status: Inappropriate[oe-specific]
-
-Signed-off-by: Changqing Li <changqing.li@windriver.com>
----
- Makefile | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/Makefile b/Makefile
-index 1cc2974..f988904 100644
---- a/Makefile
-+++ b/Makefile
-@@ -36,7 +36,7 @@ endif
- PY_SITEDIR ?= $(PY_LIBDIR)/site-packages
- LIBC_A_PATH = /usr$(LIBDIR)
- # Always lib, even on systems that otherwise use lib64
--SYSTEMD_UNIT_DIR = $(EARLY_PREFIX)/lib/systemd/system
-+SYSTEMD_UNIT_DIR ?= $(EARLY_PREFIX)/lib/systemd/system
- COLLECTOR = \
- collector/collector.o \
- collector/output.o \
-@@ -99,7 +99,7 @@ install-chroot:
- install -d $(DESTDIR)$(PKGLIBDIR)/tmpfs
-
- install-collector: all install-chroot
-- install -m 755 -D bootchartd $(DESTDIR)$(EARLY_PREFIX)/sbin/$(PROGRAM_PREFIX)bootchartd$(PROGRAM_SUFFIX)
-+ install -m 755 -D bootchartd $(DESTDIR)${BASE_SBINDIR}/$(PROGRAM_PREFIX)bootchartd$(PROGRAM_SUFFIX)
- install -m 644 -D bootchartd.conf $(DESTDIR)/etc/$(PROGRAM_PREFIX)bootchartd$(PROGRAM_SUFFIX).conf
- install -m 755 -D bootchart-collector $(DESTDIR)$(PKGLIBDIR)/$(PROGRAM_PREFIX)bootchart$(PROGRAM_SUFFIX)-collector
-
---
-2.7.4
-
diff --git a/meta/recipes-devtools/bootchart2/bootchart2/0001-bootchartd.in-make-sure-only-one-bootchartd-process.patch b/meta/recipes-devtools/bootchart2/bootchart2/0001-bootchartd.in-make-sure-only-one-bootchartd-process.patch
new file mode 100644
index 0000000000..3cb8a3c2a2
--- /dev/null
+++ b/meta/recipes-devtools/bootchart2/bootchart2/0001-bootchartd.in-make-sure-only-one-bootchartd-process.patch
@@ -0,0 +1,68 @@
+From 988ca784d4840c87509e770a21d5d22105af8668 Mon Sep 17 00:00:00 2001
+From: Mingli Yu <mingli.yu@windriver.com>
+Date: Fri, 5 Nov 2021 11:18:07 +0800
+Subject: [PATCH] bootchartd.in: make sure only one bootchartd process
+
+When boot with "init=/sbin/bootchartd" as below:
+ # runqemu qemux86 bootparams="init=/sbin/bootchartd"
+
+There are two bootchartd process after boot [1].
+ # ps -ef | grep bootchart
+root 101 1 0 03:27 ? 00:00:00 /bin/sh /sbin/bootchartd
+root 103 101 8 03:27 ? 00:00:02 /lib64/bootchart/bootchart-collector 50
+root 106 1 0 03:27 ? 00:00:00 /bin/sh /sbin/bootchartd
+root 792 106 0 03:27 ? 00:00:00 /lib64/bootchart/bootchart-collector --usleep 1000000
+root 794 725 0 03:27 ttyS0 00:00:00 grep bootchart
+
+ # /sbin/bootchartd stop
+[bootchart] bootchart-collector started as pid 596 with 2 args:
+[bootchart] '--dump'
+[bootchart] '/tmp/bootchart.3lXpVDAq3v'
+[bootchart] Extracting profile data from pid 204
+[bootchart] map 0xbed9a000 -> 0xbedbb000 size: 132k from 'bed9a000' 'bedbb000'
+[bootchart] read 135168 bytes of 135168
+[bootchart] reading 150 chunks (of 150) ...
+[bootchart] wrote 18760 kbB
+[bootchart] bootchart-collector pid: 596 unmounted proc / clean exit
+
+But there still one process exist after the above stop command finish.
+ # ps -ef | grep bootchartd
+root 202 1 0 09:09 ? 00:00:00 /bin/sh /sbin/bootchartd
+root 629 516 0 09:10 ? 00:00:00 grep bootchartd
+
+Remove the wait_boot which used to wait the boot process to finish to
+make sure only one bootchartd process and meanwhile we don't need the
+wait_boot logic because we either use "/sbin/bootchartd stop" to stop
+the bootchartd manually or install package bootchartd-stop-initscript
+altogether with bootchart2 to stop bootchartd automatically after boot.
+
+After patch:
+ # ps -ef | grep bootchart
+ root 101 1 0 03:36 ? 00:00:00 /bin/sh /sbin/bootchartd
+ root 103 101 6 03:36 ? 00:00:04 /lib64/bootchart/bootchart-collector 50
+ root 596 592 0 03:37 ttyS0 00:00:00 grep bootchart
+
+[1] https://github.com/xrmx/bootchart/issues/94
+
+Upstream-Status: Submitted [https://github.com/xrmx/bootchart/pull/95]
+
+Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
+---
+ bootchartd.in | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/bootchartd.in b/bootchartd.in
+index 7979ef9..f0e466d 100755
+--- a/bootchartd.in
++++ b/bootchartd.in
+@@ -183,7 +183,6 @@ if [ $$ -eq 1 ]; then
+ else # running inside the main system
+ echo "bootchart: no initrd used; starting"
+ start &
+- wait_boot &
+ # wait a little, until the collector is going, before allowing
+ # the rest of the system to charge ahead, so we catch it
+ $USLEEP 250000
+--
+2.17.1
+
diff --git a/meta/recipes-devtools/bootchart2/bootchart2_0.14.9.bb b/meta/recipes-devtools/bootchart2/bootchart2_0.14.9.bb
index 6571c19938..8a211366bf 100644
--- a/meta/recipes-devtools/bootchart2/bootchart2_0.14.9.bb
+++ b/meta/recipes-devtools/bootchart2/bootchart2_0.14.9.bb
@@ -83,43 +83,43 @@
SUMMARY = "Booting sequence and CPU,I/O usage monitor"
DESCRIPTION = "Monitors where the system spends its time at start, creating a graph of all processes, disk utilization, and wait time."
-AUTHOR = "Wonhong Kwon <wonhong.kwon@lge.com>"
HOMEPAGE = "https://github.com/mmeeks/bootchart"
-LICENSE = "GPL-3.0"
+LICENSE = "GPL-3.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=44ac4678311254db62edf8fd39cb8124"
UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+\.\d+(\.\d+)*)"
-SRC_URI = "git://github.com/xrmx/bootchart.git \
+SRC_URI = "git://github.com/xrmx/bootchart.git;branch=master;protocol=https \
file://bootchartd_stop.sh \
file://0001-collector-Allocate-space-on-heap-for-chunks.patch \
- file://0001-bootchart2-support-usrmerge.patch \
+ file://0001-bootchartd.in-make-sure-only-one-bootchartd-process.patch \
+ file://0001-Do-not-include-linux-fs.h.patch \
"
S = "${WORKDIR}/git"
SRCREV = "868a2afab9da34f32c007d773b77253c93104636"
+
inherit systemd update-rc.d python3native update-alternatives
-ALTERNATIVE_${PN} = "bootchartd"
+ALTERNATIVE:${PN} = "bootchartd"
ALTERNATIVE_LINK_NAME[bootchartd] = "${base_sbindir}/bootchartd"
ALTERNATIVE_PRIORITY = "100"
# The only reason to build bootchart2-native is for a native pybootchartgui.
BBCLASSEXTEND = "native"
-SYSTEMD_SERVICE_${PN} = "bootchart2.service bootchart2-done.service bootchart2-done.timer"
+SYSTEMD_SERVICE:${PN} = "bootchart2.service bootchart2-done.service bootchart2-done.timer"
UPDATERCPN = "bootchartd-stop-initscript"
INITSCRIPT_NAME = "bootchartd_stop.sh"
INITSCRIPT_PARAMS = "start 99 2 3 4 5 ."
-EXTRA_OEMAKE = 'BASE_SBINDIR="${base_sbindir}"'
-
-do_compile_prepend () {
+do_compile:prepend () {
export PY_LIBDIR="${libdir}/${PYTHON_DIR}"
export BINDIR="${bindir}"
- export LIBDIR="${base_libdir}"
+ export LIBDIR="/${baselib}"
+ export EARLY_PREFIX="${root_prefix}"
}
do_install () {
@@ -127,34 +127,36 @@ do_install () {
export PY_LIBDIR="${libdir}/${PYTHON_DIR}"
export BINDIR="${bindir}"
export DESTDIR="${D}"
- export LIBDIR="${base_libdir}"
- export PKGLIBDIR="${base_libdir}/bootchart"
- export SYSTEMD_UNIT_DIR="${systemd_unitdir}/system"
+ export LIBDIR="/${baselib}"
+ export EARLY_PREFIX="${root_prefix}"
- oe_runmake install
+ oe_runmake install NO_PYTHON_COMPILE=1
install -d ${D}${sysconfdir}/init.d
- install -m 0755 ${WORKDIR}/bootchartd_stop.sh ${D}${sysconfdir}/init.d
+ install -m 0755 ${UNPACKDIR}/bootchartd_stop.sh ${D}${sysconfdir}/init.d
echo 'EXIT_PROC="$EXIT_PROC matchbox-window-manager"' >> ${D}${sysconfdir}/bootchartd.conf
# Use python 3 instead of python 2
sed -i -e '1s,#!.*python.*,#!${USRBINPATH}/env python3,' ${D}${bindir}/pybootchartgui
+
+ # The timestamps embedded in compressed man pages is not reproducible
+ gzip -d ${D}${mandir}/man1/*.gz
}
PACKAGES =+ "pybootchartgui"
-FILES_pybootchartgui += "${PYTHON_SITEPACKAGES_DIR}/pybootchartgui ${bindir}/pybootchartgui"
-RDEPENDS_pybootchartgui = "python3-pycairo python3-compression python3-image python3-shell python3-compression python3-codecs"
-RDEPENDS_${PN}_class-target += "${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'sysvinit-pidof', 'procps', d)}"
-RDEPENDS_${PN}_class-target += "lsb-release"
-DEPENDS_append_class-native = " python3-pycairo-native"
+FILES:pybootchartgui += "${PYTHON_SITEPACKAGES_DIR}/pybootchartgui ${bindir}/pybootchartgui"
+RDEPENDS:pybootchartgui = "python3-pycairo python3-compression python3-image python3-math python3-shell python3-compression python3-codecs"
+RDEPENDS:${PN}:class-target += "${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'sysvinit-pidof', 'procps', d)}"
+RDEPENDS:${PN}:class-target += "lsb-release"
+DEPENDS:append:class-native = " python3-pycairo-native"
PACKAGES =+ "bootchartd-stop-initscript"
-FILES_bootchartd-stop-initscript += "${sysconfdir}/init.d ${sysconfdir}/rc*.d"
-RDEPENDS_bootchartd-stop-initscript = "${PN}"
+FILES:bootchartd-stop-initscript += "${sysconfdir}/init.d ${sysconfdir}/rc*.d"
+RDEPENDS:bootchartd-stop-initscript = "${PN}"
-FILES_${PN} += "${base_libdir}/bootchart/bootchart-collector"
-FILES_${PN} += "${base_libdir}/bootchart/tmpfs"
-FILES_${PN} += "${libdir}"
-FILES_${PN}-doc += "${datadir}/docs"
+FILES:${PN} += "${base_libdir}/bootchart/bootchart-collector"
+FILES:${PN} += "${base_libdir}/bootchart/tmpfs"
+FILES:${PN} += "${libdir}"
+FILES:${PN}-doc += "${datadir}/docs"
-RCONFLICTS_${PN} = "bootchart"
+RCONFLICTS:${PN} = "bootchart"
diff --git a/meta/recipes-devtools/btrfs-tools/btrfs-tools/0001-Add-a-possibility-to-specify-where-python-modules-ar.patch b/meta/recipes-devtools/btrfs-tools/btrfs-tools/0001-Add-a-possibility-to-specify-where-python-modules-ar.patch
index 5846f04d1a..4b1797b65f 100644
--- a/meta/recipes-devtools/btrfs-tools/btrfs-tools/0001-Add-a-possibility-to-specify-where-python-modules-ar.patch
+++ b/meta/recipes-devtools/btrfs-tools/btrfs-tools/0001-Add-a-possibility-to-specify-where-python-modules-ar.patch
@@ -1,4 +1,4 @@
-From d3adfc21c9cc264bd191722f102963cbc4794259 Mon Sep 17 00:00:00 2001
+From 980f6edc269fa3ef8d4d4b9cd1aada2328131c19 Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex.kanavin@gmail.com>
Date: Wed, 23 May 2018 21:20:35 +0300
Subject: [PATCH] Add a possibility to specify where python modules are
@@ -11,10 +11,10 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
-index 1697794c..8ab38818 100644
+index 374f59b9..ed083f6b 100644
--- a/Makefile
+++ b/Makefile
-@@ -651,7 +651,7 @@ endif
+@@ -959,7 +959,7 @@ endif
ifeq ($(PYTHON_BINDINGS),1)
install_python: libbtrfsutil_python
$(Q)cd libbtrfsutil/python; \
diff --git a/meta/recipes-devtools/btrfs-tools/btrfs-tools_5.9.bb b/meta/recipes-devtools/btrfs-tools/btrfs-tools_6.8.1.bb
index 15a958e624..fac9f8f7ef 100644
--- a/meta/recipes-devtools/btrfs-tools/btrfs-tools_5.9.bb
+++ b/meta/recipes-devtools/btrfs-tools/btrfs-tools_6.8.1.bb
@@ -7,46 +7,66 @@ btrfs and an utility (btrfs-convert) to make a btrfs filesystem from an ext3."
HOMEPAGE = "https://btrfs.wiki.kernel.org"
-LICENSE = "GPLv2"
-LIC_FILES_CHKSUM = "file://COPYING;md5=fcb02dc552a041dee27e4b85c7396067"
+LICENSE = "GPL-2.0-only & LGPL-2.1-or-later"
+LIC_FILES_CHKSUM = " \
+ file://COPYING;md5=fcb02dc552a041dee27e4b85c7396067 \
+ file://libbtrfsutil/COPYING;md5=4fbd65380cdd255951079008b364516c \
+"
SECTION = "base"
-DEPENDS = "util-linux attr e2fsprogs lzo acl"
-DEPENDS_append_class-target = " udev"
-RDEPENDS_${PN} = "libgcc"
+DEPENDS = "util-linux zlib"
-SRCREV = "2e1fa482300449042ff6612bb51027f3f5765270"
-SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git \
+SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git;branch=master;protocol=https \
file://0001-Add-a-possibility-to-specify-where-python-modules-ar.patch \
"
+SRCREV = "5d97c32d6f94cf6f473a5f82964e3edaeb1b146e"
+S = "${WORKDIR}/git"
-PACKAGECONFIG ??= "python"
-PACKAGECONFIG[manpages] = "--enable-documentation, --disable-documentation, asciidoc-native xmlto-native"
+PACKAGECONFIG ??= " \
+ programs \
+ convert \
+ python \
+ crypto-builtin \
+"
+PACKAGECONFIG[manpages] = "--enable-documentation, --disable-documentation, python3-sphinx-native python3-sphinx-rtd-theme-native"
+PACKAGECONFIG[programs] = "--enable-programs,--disable-programs"
+PACKAGECONFIG[convert] = "--enable-convert --with-convert=ext2,--disable-convert --without-convert,e2fsprogs"
+PACKAGECONFIG[zoned] = "--enable-zoned,--disable-zoned"
PACKAGECONFIG[python] = "--enable-python,--disable-python,python3-setuptools-native"
+PACKAGECONFIG[lzo] = "--enable-lzo,--disable-lzo,lzo"
PACKAGECONFIG[zstd] = "--enable-zstd,--disable-zstd,zstd"
+PACKAGECONFIG[udev] = "--enable-libudev,--disable-libudev,udev"
+
+# Pick only one crypto provider
+PACKAGECONFIG[crypto-builtin] = "--with-crypto=builtin"
+PACKAGECONFIG[crypto-libgcrypt] = "--with-crypto=libgcrypt,,libgcrypt"
+PACKAGECONFIG[crypto-libsodium] = "--with-crypto=libsodium,,libsodium"
+PACKAGECONFIG[crypto-libkcapi] = "--with-crypto=libkcapi,,libkcapi"
inherit autotools-brokensep pkgconfig manpages
-inherit ${@bb.utils.contains('PACKAGECONFIG', 'python', 'distutils3-base', '', d)}
+inherit_defer ${@bb.utils.contains('PACKAGECONFIG', 'python', 'setuptools3-base', '', d)}
CLEANBROKEN = "1"
-EXTRA_OECONF_append_libc-musl = " --disable-backtrace "
+EXTRA_OECONF = "--enable-largefile"
+EXTRA_OECONF:append:libc-musl = " --disable-backtrace "
EXTRA_PYTHON_CFLAGS = "${DEBUG_PREFIX_MAP}"
-EXTRA_PYTHON_CFLAGS_class-native = ""
+EXTRA_PYTHON_CFLAGS:class-native = ""
EXTRA_PYTHON_LDFLAGS = "${LDFLAGS}"
EXTRA_OEMAKE = "V=1 'EXTRA_PYTHON_CFLAGS=${EXTRA_PYTHON_CFLAGS}' 'EXTRA_PYTHON_LDFLAGS=${EXTRA_PYTHON_LDFLAGS}'"
-do_configure_prepend() {
+do_configure:prepend() {
# Upstream doesn't ship this and autoreconf won't install it as automake isn't used.
mkdir -p ${S}/config
cp -f $(automake --print-libdir)/install-sh ${S}/config/
}
-S = "${WORKDIR}/git"
-do_install_append() {
+do_install:append() {
if [ "${@bb.utils.filter('PACKAGECONFIG', 'python', d)}" ]; then
oe_runmake 'DESTDIR=${D}' 'PYTHON_SITEPACKAGES_DIR=${PYTHON_SITEPACKAGES_DIR}' install_python
fi
}
+RDEPENDS:${PN} = "libgcc"
+
BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/ccache/ccache_3.7.11.bb b/meta/recipes-devtools/ccache/ccache_3.7.11.bb
deleted file mode 100644
index fd004f4c9b..0000000000
--- a/meta/recipes-devtools/ccache/ccache_3.7.11.bb
+++ /dev/null
@@ -1,32 +0,0 @@
-SUMMARY = "a fast C/C++ compiler cache"
-DESCRIPTION = "ccache is a compiler cache. It speeds up recompilation \
-by caching the result of previous compilations and detecting when the \
-same compilation is being done again. Supported languages are C, C\+\+, \
-Objective-C and Objective-C++."
-HOMEPAGE = "http://ccache.samba.org"
-SECTION = "devel"
-
-LICENSE = "GPLv3+"
-LIC_FILES_CHKSUM = "file://LICENSE.adoc;md5=22d514dbc01fdf9a9784334b6b59417a"
-
-DEPENDS = "zlib"
-
-SRC_URI = "https://github.com/ccache/ccache/releases/download/v${PV}/${BP}.tar.gz"
-SRC_URI[sha256sum] = "34309a59d4b6b6b33756366aa9d3144a4655587be9f914476b4c0e2d36365f01"
-
-UPSTREAM_CHECK_URI = "https://github.com/ccache/ccache/releases/"
-
-inherit autotools
-
-# Remove ccache-native's dependencies, so that it can be used widely by
-# other native recipes.
-DEPENDS_class-native = ""
-EXTRA_OECONF_class-native = "--with-bundled-zlib"
-INHIBIT_AUTOTOOLS_DEPS_class-native = "1"
-PATCHTOOL = "patch"
-
-BBCLASSEXTEND = "native"
-
-do_configure_class-native() {
- oe_runconf
-}
diff --git a/meta/recipes-devtools/ccache/ccache_4.9.1.bb b/meta/recipes-devtools/ccache/ccache_4.9.1.bb
new file mode 100644
index 0000000000..0d447c4915
--- /dev/null
+++ b/meta/recipes-devtools/ccache/ccache_4.9.1.bb
@@ -0,0 +1,26 @@
+SUMMARY = "a fast C/C++ compiler cache"
+DESCRIPTION = "ccache is a compiler cache. It speeds up recompilation \
+by caching the result of previous compilations and detecting when the \
+same compilation is being done again. Supported languages are C, C\+\+, \
+Objective-C and Objective-C++."
+HOMEPAGE = "http://ccache.samba.org"
+SECTION = "devel"
+
+LICENSE = "GPL-3.0-or-later"
+LIC_FILES_CHKSUM = "file://LICENSE.adoc;md5=9896d6f0aee4d89b9e5ff0afaae0af06"
+
+DEPENDS = "zstd"
+
+SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/${BP}.tar.gz \
+ file://0001-xxhash.h-Fix-build-with-gcc-12.patch \
+ "
+SRC_URI[sha256sum] = "12834ecaaaf2db069dda1d1d991f91c19e3274cc04a471af5b64195def17e90f"
+
+inherit cmake github-releases
+
+PATCHTOOL = "patch"
+
+BBCLASSEXTEND = "native nativesdk"
+
+PACKAGECONFIG[docs] = "-DENABLE_DOCUMENTATION=ON,-DENABLE_DOCUMENTATION=OFF,asciidoc"
+PACKAGECONFIG[redis] = "-DREDIS_STORAGE_BACKEND=ON,-DREDIS_STORAGE_BACKEND=OFF,hiredis"
diff --git a/meta/recipes-devtools/ccache/files/0001-xxhash.h-Fix-build-with-gcc-12.patch b/meta/recipes-devtools/ccache/files/0001-xxhash.h-Fix-build-with-gcc-12.patch
new file mode 100644
index 0000000000..e65b830257
--- /dev/null
+++ b/meta/recipes-devtools/ccache/files/0001-xxhash.h-Fix-build-with-gcc-12.patch
@@ -0,0 +1,37 @@
+From d17fdacf4892a15fafb56b0890ece05b485e89fb Mon Sep 17 00:00:00 2001
+From: Mingli Yu <mingli.yu@windriver.com>
+Date: Mon, 6 Jun 2022 17:53:20 +0800
+Subject: [PATCH] xxhash.h: Fix build with gcc-12
+
+Remove inline attribute to fix below build failure:
+ | /buildarea/tmp/work/core2-64-poky-linux/ccache/4.6.1-r0/ccache-4.6.1/src/third_party/xxhash.h:3932:1: error: inlining failed in call to 'always_inline' 'XXH3_accumulate_512_sse2': function not considered for inlining
+ 3932 | XXH3_accumulate_512_sse2( void* XXH_RESTRICT acc,
+ | ^~~~~~~~~~~~~~~~~~~~~~~~
+ /buildarea/tmp/work/core2-64-poky-linux/ccache/4.6.1-r0/ccache-4.6.1/src/third_party/xxhash.h:4369:9: note: called from here
+ 4369 | f_acc512(acc,
+ | ^~~~~~~~~~~~~
+ 4370 | in,
+ | ~~~
+ 4371 | secret + n*XXH_SECRET_CONSUME_RATE);
+
+Upstream-Status: Submitted [https://github.com/Cyan4973/xxHash/pull/720]
+
+Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
+
+---
+ src/third_party/xxhash.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/third_party/xxhash.h b/src/third_party/xxhash.h
+index a18e8c7..1b72307 100644
+--- a/src/third_party/xxhash.h
++++ b/src/third_party/xxhash.h
+@@ -2107,7 +2107,7 @@ static void* XXH_memcpy(void* dest, const void* src, size_t size)
+ # define XXH_NO_INLINE static
+ /* enable inlining hints */
+ #elif defined(__GNUC__) || defined(__clang__)
+-# define XXH_FORCE_INLINE static __inline__ __attribute__((always_inline, unused))
++# define XXH_FORCE_INLINE static
+ # define XXH_NO_INLINE static __attribute__((noinline))
+ #elif defined(_MSC_VER) /* Visual Studio */
+ # define XXH_FORCE_INLINE static __forceinline
diff --git a/meta/recipes-devtools/cdrtools/cdrtools-native_3.01.bb b/meta/recipes-devtools/cdrtools/cdrtools-native_3.01.bb
index c08da6cdca..9dc5caf87c 100644
--- a/meta/recipes-devtools/cdrtools/cdrtools-native_3.01.bb
+++ b/meta/recipes-devtools/cdrtools/cdrtools-native_3.01.bb
@@ -3,25 +3,43 @@
# Released under the MIT license (see packages/COPYING)
SUMMARY = "A set of tools for CD recording, including cdrecord"
HOMEPAGE = "http://sourceforge.net/projects/cdrtools/"
+DESCRIPTION = "cdrecord tool is Highly portable CD/DVD/BluRay command line recording software."
SECTION = "console/utils"
-LICENSE = "GPLv2 & CDDL-1.0 & LGPLv2.1+"
+LICENSE = "GPL-2.0-only & CDDL-1.0 & LGPL-2.1-or-later"
LIC_FILES_CHKSUM = "file://COPYING;md5=32f68170be424c2cd64804337726b312"
+DEPENDS += "gnu-config-native"
+
SRC_URI = " \
${SOURCEFORGE_MIRROR}/project/cdrtools/cdrtools-${PV}.tar.bz2 \
file://0001-Don-t-set-uid-gid-during-install.patch \
+ file://riscv64-linux-gcc.rul \
+ file://gcc14-fix.patch \
"
SRC_URI[md5sum] = "7d45c5b7e1f78d85d1583b361aee6e8b"
SRC_URI[sha256sum] = "ed282eb6276c4154ce6a0b5dee0bdb81940d0cbbfc7d03f769c4735ef5f5860f"
-EXTRA_OEMAKE = "-e MAKEFLAGS="
+EXTRA_OEMAKE = "-e MAKEFLAGS= CPPOPTX='${CPPFLAGS}' COPTX='${CFLAGS}' C++OPTX='${CXXFLAGS}' LDOPTX='${LDFLAGS}' GMAKE_NOWARN='true'"
# Stop failures when 'cc' can't be found
export ac_cv_prog_CC = "${CC}"
inherit native
+# Use -std=gnu89 to build with gcc-14 (https://bugs.gentoo.org/903876)
+# this needs to be after native inherit (which sets CFLAGS to BUILD_CFLAGS)
+CFLAGS += "-std=gnu89"
+
+do_configure() {
+ # cdda2wav does not build with GCC 14
+ rm -f ${S}/TARGETS/55cdda2wav
+
+ install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S}/autoconf
+ install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S}/autoconf
+ install -m 0644 ${UNPACKDIR}/riscv64-linux-gcc.rul ${S}/RULES/
+}
+
do_install() {
make install GMAKE_NOWARN=true INS_BASE=${prefix} DESTDIR=${D}
}
diff --git a/meta/recipes-devtools/cdrtools/cdrtools/gcc14-fix.patch b/meta/recipes-devtools/cdrtools/cdrtools/gcc14-fix.patch
new file mode 100644
index 0000000000..ce02bb8bcf
--- /dev/null
+++ b/meta/recipes-devtools/cdrtools/cdrtools/gcc14-fix.patch
@@ -0,0 +1,13 @@
+Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
+Upstream-Status: Inappropriate [native]
+--- cdrtools-3.01/autoconf/configure~ 2015-07-06 23:41:27.000000000 +0200
++++ cdrtools-3.01/autoconf/configure 2024-05-01 09:37:40.897253690 +0200
+@@ -1205,7 +1205,7 @@
+ #line 1206 "configure"
+ #include "confdefs.h"
+
+-main(){return(0);}
++int main(){return(0);}
+ EOF
+ if { (eval echo configure:1211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+ ac_cv_prog_cc_works=yes
diff --git a/meta/recipes-devtools/cdrtools/cdrtools/riscv64-linux-gcc.rul b/meta/recipes-devtools/cdrtools/cdrtools/riscv64-linux-gcc.rul
new file mode 100644
index 0000000000..3e930225dc
--- /dev/null
+++ b/meta/recipes-devtools/cdrtools/cdrtools/riscv64-linux-gcc.rul
@@ -0,0 +1,65 @@
+#ident "@(#)i586-linux-gcc.rul 1.18 18/11/07 "
+###########################################################################
+# Written 1996-2018 by J. Schilling
+###########################################################################
+#
+# Platform dependent MACROS for Linux
+#
+###########################################################################
+# Copyright (c) J. Schilling
+###########################################################################
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# See the file CDDL.Schily.txt in this distribution for details.
+# A copy of the CDDL is also available via the Internet at
+# http://www.opensource.org/licenses/cddl1.txt
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file CDDL.Schily.txt from this distribution.
+###########################################################################
+include $(SRCROOT)/$(RULESDIR)/rules.prg
+###########################################################################
+include $(SRCROOT)/$(RULESDIR)/cc-$(C_ARCH).rul
+
+#
+# LINUX_SRC_INCLUDE is defined in DEFAULTS/Defaults.linux
+#
+INCDIRSX += $(LINUX_SRC_INCLUDE)
+OSDEFS +=
+
+KDEFINES= -DKERNEL -D_KERNEL
+
+LIB_PREFIX= lib
+LIB_SUFFIX= .a
+SHL_SUFFIX= .so.$(DYNMAJOR).$(DYNMINOR)
+
+LIB_SOCKET=
+LIB_MATH= -lm
+LIB_KVM=
+
+#
+# Sunpro C/C++ run on Solaris and Linux and both have linkers
+# that support mapfiles
+#
+MAPVERS= $(_MAPVERS) # This enables to use mapfiles
+#
+# The GNU linker is buggy and does not like the official order in linker map
+# files for symbol versioning. The following command reverses the order of
+# the version names in the linker map file.
+#
+MAPFILE_POST= | sed 's/^SCHILY/+SCHILY/' | tr '\012' '@' | tr '+' '\012' | sort -V | tr '@' '\012'
+
+#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH:-R%=-Wl,-R%)
+#
+# Uncomment the next line in case you are on an old Linux version that
+# does not support the -R linker flag.
+#
+#LDOPTS= $(LIBS_PATH) $(LDPATH)
+LDOPTMAP= $(PMAPVERS:%=-Wl,--version-script=%)
+LDOPTDYN= -shared -Wl,-soname,$(TARGET) $(LDOPTMAP)
+
+LORDER= echo
+TSORT= cat
diff --git a/meta/recipes-devtools/chrpath/chrpath_0.16.bb b/meta/recipes-devtools/chrpath/chrpath_0.16.bb
index f12366b4e8..d33c7837a1 100644
--- a/meta/recipes-devtools/chrpath/chrpath_0.16.bb
+++ b/meta/recipes-devtools/chrpath/chrpath_0.16.bb
@@ -3,7 +3,7 @@ DESCRIPTION = "chrpath allows you to change the rpath (where the \
application looks for libraries) in an application. It does not \
(yet) allow you to add an rpath if there isn't one already."
HOMEPAGE = "https://tracker.debian.org/pkg/chrpath"
-LICENSE = "GPLv2"
+LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
SRC_URI = "${DEBIAN_MIRROR}/main/c/${BPN}/${BPN}_${PV}.orig.tar.gz \
@@ -16,9 +16,9 @@ inherit autotools
# We don't have a staged chrpath-native for ensuring our binary is
# relocatable, so use the one we've just built
-CHRPATH_BIN_class-native = "${B}/chrpath"
+CHRPATH_BIN:class-native = "${B}/chrpath"
-PROVIDES_append_class-native = " chrpath-replacement-native"
+PROVIDES:append:class-native = " chrpath-replacement-native"
NATIVE_PACKAGE_PATH_SUFFIX = "/${PN}"
BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/cmake/cmake-native_3.18.4.bb b/meta/recipes-devtools/cmake/cmake-native_3.29.3.bb
index d91e42ef9a..ddc41f289e 100644
--- a/meta/recipes-devtools/cmake/cmake-native_3.18.4.bb
+++ b/meta/recipes-devtools/cmake/cmake-native_3.29.3.bb
@@ -1,14 +1,23 @@
require cmake.inc
inherit native
-DEPENDS += "bzip2-replacement-native xz-native zlib-native curl-native ncurses-native"
+DEPENDS += "bzip2-replacement-native xz-native zlib-native ncurses-native zstd-native openssl-native"
SRC_URI += "file://OEToolchainConfig.cmake \
file://environment.d-cmake.sh \
- file://0001-CMakeDetermineSystem-use-oe-environment-vars-to-load.patch \
file://0005-Disable-use-of-ext2fs-ext2_fs.h-by-cmake-s-internal-.patch \
+ file://0001-CMakeLists.txt-disable-USE_NGHTTP2.patch \
"
+LICENSE:append = " & BSD-1-Clause & MIT & BSD-2-Clause & curl"
+LIC_FILES_CHKSUM:append = " \
+ file://Utilities/cmjsoncpp/LICENSE;md5=5d73c165a0f9e86a1342f32d19ec5926 \
+ file://Utilities/cmlibarchive/COPYING;md5=d499814247adaee08d88080841cb5665 \
+ file://Utilities/cmexpat/COPYING;md5=9e2ce3b3c4c0f2670883a23bbd7c37a9 \
+ file://Utilities/cmlibrhash/COPYING;md5=a8c2a557a5c53b1c12cddbee98c099af \
+ file://Utilities/cmlibuv/LICENSE;md5=ad93ca1fffe931537fcf64f6fcce084d \
+ file://Utilities/cmcurl/COPYING;md5=eed2e5088e1ac619c9a1c747da291d75 \
+"
B = "${WORKDIR}/build"
do_configure[cleandirs] = "${B}"
@@ -18,16 +27,18 @@ CMAKE_EXTRACONF = "\
-DBUILD_CursesDialog=1 \
-DCMAKE_USE_SYSTEM_LIBRARIES=1 \
-DCMAKE_USE_SYSTEM_LIBRARY_JSONCPP=0 \
+ -DCMAKE_USE_SYSTEM_LIBRARY_CPPDAP=0 \
-DCMAKE_USE_SYSTEM_LIBRARY_LIBARCHIVE=0 \
-DCMAKE_USE_SYSTEM_LIBRARY_LIBUV=0 \
-DCMAKE_USE_SYSTEM_LIBRARY_LIBRHASH=0 \
-DCMAKE_USE_SYSTEM_LIBRARY_EXPAT=0 \
+ -DCMAKE_USE_SYSTEM_LIBRARY_CURL=0 \
-DENABLE_ACL=0 -DHAVE_ACL_LIBACL_H=0 \
-DHAVE_SYS_ACL_H=0 \
"
do_configure () {
- ${S}/configure --verbose --prefix=${prefix} \
+ ${S}/bootstrap --verbose --prefix=${prefix} \
${@oe.utils.parallel_make_argument(d, '--parallel=%d')} \
${@bb.utils.contains('CCACHE', 'ccache ', '--enable-ccache', '', d)} \
-- ${CMAKE_EXTRACONF}
@@ -43,9 +54,12 @@ do_install() {
# The following codes are here because eSDK needs to provide compatibilty
# for SDK. That is, eSDK could also be used like traditional SDK.
mkdir -p ${D}${datadir}/cmake
- install -m 644 ${WORKDIR}/OEToolchainConfig.cmake ${D}${datadir}/cmake/
+ install -m 644 ${UNPACKDIR}/OEToolchainConfig.cmake ${D}${datadir}/cmake/
mkdir -p ${D}${base_prefix}/environment-setup.d
- install -m 644 ${WORKDIR}/environment.d-cmake.sh ${D}${base_prefix}/environment-setup.d/cmake.sh
+ install -m 644 ${UNPACKDIR}/environment.d-cmake.sh ${D}${base_prefix}/environment-setup.d/cmake.sh
+
+ # Help docs create tons of files in the native sysroot and aren't needed there
+ rm -rf ${D}${datadir}/cmake-*/Help
}
do_compile[progress] = "percent"
diff --git a/meta/recipes-devtools/cmake/cmake.inc b/meta/recipes-devtools/cmake/cmake.inc
index e840e884cf..1155c1bbe0 100644
--- a/meta/recipes-devtools/cmake/cmake.inc
+++ b/meta/recipes-devtools/cmake/cmake.inc
@@ -10,22 +10,17 @@ HOMEPAGE = "http://www.cmake.org/"
BUGTRACKER = "http://public.kitware.com/Bug/my_view_page.php"
SECTION = "console/utils"
LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://Copyright.txt;md5=c721f56fce89ba2eadc2fdd8ba1f4d83 \
- file://Source/cmake.h;beginline=1;endline=3;md5=4494dee184212fc89c469c3acd555a14 \
+LIC_FILES_CHKSUM = "file://Copyright.txt;md5=718f05155941b33862726348d3cd46ce \
+ file://Source/cmake.h;beginline=1;endline=2;md5=a5f70e1fef8614734eae0d62b4f5891b \
"
CMAKE_MAJOR_VERSION = "${@'.'.join(d.getVar('PV').split('.')[0:2])}"
SRC_URI = "https://cmake.org/files/v${CMAKE_MAJOR_VERSION}/cmake-${PV}.tar.gz \
- file://0002-cmake-Prevent-the-detection-of-Qt5.patch \
- file://0003-cmake-support-OpenEmbedded-Qt4-tool-binary-names.patch \
- file://0004-Fail-silently-if-system-Qt-installation-is-broken.patch \
"
-SRC_URI[sha256sum] = "597c61358e6a92ecbfad42a9b5321ddd801fc7e7eca08441307c9138382d4f77"
+SRC_URI[sha256sum] = "252aee1448d49caa04954fd5e27d189dd51570557313e7b281636716a238bccb"
UPSTREAM_CHECK_REGEX = "cmake-(?P<pver>\d+(\.\d+)+)\.tar"
-# This is specific to the npm package that installs cmake, so isn't
-# relevant to OpenEmbedded
-CVE_CHECK_WHITELIST += "CVE-2016-10642"
+CVE_STATUS[CVE-2016-10642] = "cpe-incorrect: This is specific to the npm package that installs cmake, so isn't relevant to OpenEmbedded"
diff --git a/meta/recipes-devtools/cmake/cmake/0001-CMakeDetermineSystem-use-oe-environment-vars-to-load.patch b/meta/recipes-devtools/cmake/cmake/0001-CMakeDetermineSystem-use-oe-environment-vars-to-load.patch
deleted file mode 100644
index c4f81b27b5..0000000000
--- a/meta/recipes-devtools/cmake/cmake/0001-CMakeDetermineSystem-use-oe-environment-vars-to-load.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-From dd0fe8d54def4684d360b3e9b10e963ef0208202 Mon Sep 17 00:00:00 2001
-From: Cody P Schafer <dev@codyps.com>
-Date: Thu, 27 Apr 2017 11:35:05 -0400
-Subject: [PATCH] CMakeDetermineSystem: use oe environment vars to load default
- toolchain file in sdk
-
-Passing the toolchain by:
-
- - shell aliases does not work if cmake is called by a script
- - unconditionally by a wrapper script causes cmake to believe it is
- configuring things when it is not (for example, `cmake --build` breaks).
-
-The OE_CMAKE_TOOLCHAIN_FILE variable is only used as a default if no
-toolchain is explicitly specified.
-
-Setting the CMAKE_TOOLCHAIN_FILE cmake variable is marked as cached
-because '-D' options are cache entries themselves.
-
-Upstream-Status: Inappropriate [oe-core specific]
-Signed-off-by: Cody P Schafer <dev@codyps.com>
-Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
-
----
- Modules/CMakeDetermineSystem.cmake | 7 +++++++
- 1 file changed, 7 insertions(+)
-
-diff --git a/Modules/CMakeDetermineSystem.cmake b/Modules/CMakeDetermineSystem.cmake
-index f3ec4da..bb05656 100644
---- a/Modules/CMakeDetermineSystem.cmake
-+++ b/Modules/CMakeDetermineSystem.cmake
-@@ -81,6 +81,13 @@ else()
- endif()
- endif()
-
-+if(NOT DEFINED CMAKE_TOOLCHAIN_FILE)
-+ if(DEFINED ENV{OE_CMAKE_TOOLCHAIN_FILE})
-+ set(CMAKE_TOOLCHAIN_FILE "$ENV{OE_CMAKE_TOOLCHAIN_FILE}" CACHE FILEPATH "toolchain file")
-+ message(STATUS "Toolchain file defaulted to '${CMAKE_TOOLCHAIN_FILE}'")
-+ endif()
-+endif()
-+
- # if a toolchain file is used, the user wants to cross compile.
- # in this case read the toolchain file and keep the CMAKE_HOST_SYSTEM_*
- # variables around so they can be used in CMakeLists.txt.
diff --git a/meta/recipes-devtools/cmake/cmake/0001-CMakeLists.txt-disable-USE_NGHTTP2.patch b/meta/recipes-devtools/cmake/cmake/0001-CMakeLists.txt-disable-USE_NGHTTP2.patch
new file mode 100644
index 0000000000..b7ec3e7bac
--- /dev/null
+++ b/meta/recipes-devtools/cmake/cmake/0001-CMakeLists.txt-disable-USE_NGHTTP2.patch
@@ -0,0 +1,32 @@
+From 946011cbfd686fe6bd2cec94494f6b0c4394bb6c Mon Sep 17 00:00:00 2001
+From: Changqing Li <changqing.li@windriver.com>
+Date: Wed, 28 Dec 2022 17:51:27 +0800
+Subject: [PATCH] CMakeLists.txt: disable USE_NGHTTP2
+
+nghttp2 depends on cmake-native to build, to break circular
+dependency, disable nghttp2.
+
+Upstream-Status: Inappropriate [oe specific]
+
+Signed-off-by: Changqing Li <changqing.li@windriver.com>
+
+Adjust the patch to apply on top of v3.28.3.
+
+Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
+---
+ Utilities/cmcurl/CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Utilities/cmcurl/CMakeLists.txt b/Utilities/cmcurl/CMakeLists.txt
+index 3dd24f1e..4a0f6773 100644
+--- a/Utilities/cmcurl/CMakeLists.txt
++++ b/Utilities/cmcurl/CMakeLists.txt
+@@ -91,7 +91,7 @@ set(HTTP_ONLY OFF CACHE INTERNAL "Curl is not http-only")
+ set(PICKY_COMPILER OFF CACHE INTERNAL "Enable picky compiler options")
+ set(SHARE_LIB_OBJECT OFF)
+ set(USE_LIBIDN2 ON)
+-set(USE_NGHTTP2 ON)
++set(USE_NGHTTP2 OFF)
+ set(USE_NGTCP2 OFF)
+ set(USE_QUICHE OFF)
+ set(USE_WIN32_IDN OFF)
diff --git a/meta/recipes-devtools/cmake/cmake/0002-cmake-Prevent-the-detection-of-Qt5.patch b/meta/recipes-devtools/cmake/cmake/0002-cmake-Prevent-the-detection-of-Qt5.patch
deleted file mode 100644
index 162bfe5783..0000000000
--- a/meta/recipes-devtools/cmake/cmake/0002-cmake-Prevent-the-detection-of-Qt5.patch
+++ /dev/null
@@ -1,122 +0,0 @@
-From 106cf5134d22db889e4ddf2f98ec302d5f4b9ca7 Mon Sep 17 00:00:00 2001
-From: Otavio Salvador <otavio@ossystems.com.br>
-Date: Wed, 17 Jan 2018 10:02:14 -0200
-Subject: [PATCH] cmake: Prevent the detection of Qt5
-
-Organization: O.S. Systems Software LTDA.
-
-CMake doesn't have dependency on qt4/qt5, so these tests usually fail
-but still can cause undeterministic results or build failures (when
-OE_QMAKE_PATH_EXTERNAL_HOST_BINS is undefined or native qmake removed
-while running the test in cmake)
-
-Upstream-Status: Inappropriate [configuration]
-
-Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
-
----
- Source/QtDialog/CMakeLists.txt | 2 +-
- Tests/CMakeLists.txt | 2 +-
- Tests/Qt4And5Automoc/CMakeLists.txt | 4 ++--
- Tests/QtAutogen/AutogenGuiTest.cmake | 3 +--
- Tests/QtAutogen/MacOsFW/CMakeLists.txt | 2 +-
- Tests/RunCMake/CMakeLists.txt | 2 +-
- Tests/RunCMake/IncompatibleQt/IncompatibleQt.cmake | 2 +-
- 7 files changed, 8 insertions(+), 9 deletions(-)
-
-diff --git a/Source/QtDialog/CMakeLists.txt b/Source/QtDialog/CMakeLists.txt
-index 98dd0e2..252302b 100644
---- a/Source/QtDialog/CMakeLists.txt
-+++ b/Source/QtDialog/CMakeLists.txt
-@@ -3,7 +3,7 @@
-
- project(QtDialog)
- CMake_OPTIONAL_COMPONENT(cmake-gui)
--find_package(Qt5Widgets QUIET)
-+#find_package(Qt5Widgets QUIET)
- if (Qt5Widgets_FOUND)
- include_directories(${Qt5Widgets_INCLUDE_DIRS})
- add_definitions(${Qt5Widgets_DEFINITONS})
-diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt
-index db6dbf3..5b26879 100644
---- a/Tests/CMakeLists.txt
-+++ b/Tests/CMakeLists.txt
-@@ -215,7 +215,7 @@ if(BUILD_TESTING)
- set(CMake_TEST_Qt5 1)
- endif()
- if(CMake_TEST_Qt5)
-- find_package(Qt5Widgets QUIET NO_MODULE)
-+ #find_package(Qt5Widgets QUIET NO_MODULE)
- endif()
-
- if(NOT CMake_TEST_EXTERNAL_CMAKE)
-diff --git a/Tests/Qt4And5Automoc/CMakeLists.txt b/Tests/Qt4And5Automoc/CMakeLists.txt
-index ad74961..a9dd74b 100644
---- a/Tests/Qt4And5Automoc/CMakeLists.txt
-+++ b/Tests/Qt4And5Automoc/CMakeLists.txt
-@@ -3,11 +3,11 @@ cmake_minimum_required(VERSION 2.8.12)
- project(Qt4And5Automoc)
-
- if (QT_REVERSE_FIND_ORDER)
-- find_package(Qt5Core REQUIRED)
-+ #find_package(Qt5Core REQUIRED)
- find_package(Qt4 REQUIRED)
- else()
- find_package(Qt4 REQUIRED)
-- find_package(Qt5Core REQUIRED)
-+ #find_package(Qt5Core REQUIRED)
- endif()
-
- set(CMAKE_AUTOMOC ON)
-diff --git a/Tests/QtAutogen/AutogenGuiTest.cmake b/Tests/QtAutogen/AutogenGuiTest.cmake
-index b76d341..a6e0acb 100644
---- a/Tests/QtAutogen/AutogenGuiTest.cmake
-+++ b/Tests/QtAutogen/AutogenGuiTest.cmake
-@@ -22,8 +22,7 @@ if (QT_TEST_VERSION EQUAL 4)
- endmacro()
-
- elseif(QT_TEST_VERSION EQUAL 5)
--
-- find_package(Qt5Widgets REQUIRED)
-+ #find_package(Qt5Widgets REQUIRED)
-
- set(QT_QTCORE_TARGET Qt5::Core)
- set(QT_LIBRARIES Qt5::Widgets)
-diff --git a/Tests/QtAutogen/MacOsFW/CMakeLists.txt b/Tests/QtAutogen/MacOsFW/CMakeLists.txt
-index c08efc4..87e25d9 100644
---- a/Tests/QtAutogen/MacOsFW/CMakeLists.txt
-+++ b/Tests/QtAutogen/MacOsFW/CMakeLists.txt
-@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.10)
- project(MacOsFW)
- include("../AutogenGuiTest.cmake")
-
--find_package(Qt5Test REQUIRED)
-+#find_package(Qt5Test REQUIRED)
-
- set(CMAKE_CXX_STANDARD 11)
- set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/output/bin)
-diff --git a/Tests/RunCMake/CMakeLists.txt b/Tests/RunCMake/CMakeLists.txt
-index 10e66c3..ecc4eeb 100644
---- a/Tests/RunCMake/CMakeLists.txt
-+++ b/Tests/RunCMake/CMakeLists.txt
-@@ -440,7 +440,7 @@ if(NOT WIN32)
- endif ()
-
- find_package(Qt4 QUIET)
--find_package(Qt5Core QUIET)
-+#find_package(Qt5Core QUIET)
- if (QT4_FOUND AND Qt5Core_FOUND AND NOT Qt5Core_VERSION VERSION_LESS 5.1.0)
- add_RunCMake_test(IncompatibleQt)
- endif()
-diff --git a/Tests/RunCMake/IncompatibleQt/IncompatibleQt.cmake b/Tests/RunCMake/IncompatibleQt/IncompatibleQt.cmake
-index 4fccdc4..b76e1e5 100644
---- a/Tests/RunCMake/IncompatibleQt/IncompatibleQt.cmake
-+++ b/Tests/RunCMake/IncompatibleQt/IncompatibleQt.cmake
-@@ -1,6 +1,6 @@
-
- find_package(Qt4 REQUIRED)
--find_package(Qt5Core REQUIRED)
-+#find_package(Qt5Core REQUIRED)
-
- add_executable(mainexe main.cpp)
- target_link_libraries(mainexe Qt4::QtCore Qt5::Core)
diff --git a/meta/recipes-devtools/cmake/cmake/0003-cmake-support-OpenEmbedded-Qt4-tool-binary-names.patch b/meta/recipes-devtools/cmake/cmake/0003-cmake-support-OpenEmbedded-Qt4-tool-binary-names.patch
deleted file mode 100644
index 575a5cb7fb..0000000000
--- a/meta/recipes-devtools/cmake/cmake/0003-cmake-support-OpenEmbedded-Qt4-tool-binary-names.patch
+++ /dev/null
@@ -1,56 +0,0 @@
-From 2d02ac91d5a5d72eaddba4894eaa6db3ed8fee62 Mon Sep 17 00:00:00 2001
-From: Otavio Salvador <otavio@ossystems.com.br>
-Date: Thu, 12 May 2011 15:36:03 +0000
-Subject: [PATCH] cmake: support OpenEmbedded Qt4 tool binary names
-
-The FindQt4 module looks for Qt4 binaries to be able to gather the
-paths used for compilation and also to be using during other processes
-(translation update, translation binary generating and like) however
-OpenEmbedded has renamed those to allow old QMake to be used in
-parallel with the current one. This patch adds support for the
-OpenEmbedded specific binary names.
-
-Upstream-Status: Inappropriate [embedded specific]
-
-Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
-
-The patch was slightly adapted in order to match cmake 3.2.2:
-Instead of find_program, _find_qt4_program is now used.
-
-Signed-off-by: Moritz Blume <moritz.blume@bmw-carit.de>
-Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
-
----
- Modules/FindQt4.cmake | 10 +++++-----
- 1 file changed, 5 insertions(+), 5 deletions(-)
-
-diff --git a/Modules/FindQt4.cmake b/Modules/FindQt4.cmake
-index 3993968..b2a8585 100644
---- a/Modules/FindQt4.cmake
-+++ b/Modules/FindQt4.cmake
-@@ -518,7 +518,7 @@ endfunction()
-
- set(QT4_INSTALLED_VERSION_TOO_OLD FALSE)
-
--set(_QT4_QMAKE_NAMES qmake qmake4 qmake-qt4 qmake-mac)
-+set(_QT4_QMAKE_NAMES qmake qmake2 qmake4 qmake-qt4 qmake-mac)
- _qt4_find_qmake("${_QT4_QMAKE_NAMES}" QT_QMAKE_EXECUTABLE QTVERSION)
-
- if (QT_QMAKE_EXECUTABLE AND
-@@ -1136,12 +1136,12 @@ if (QT_QMAKE_EXECUTABLE AND
- _find_qt4_program(QT_MOC_EXECUTABLE Qt4::moc moc-qt4 moc4 moc)
- _find_qt4_program(QT_UIC_EXECUTABLE Qt4::uic uic-qt4 uic4 uic)
- _find_qt4_program(QT_UIC3_EXECUTABLE Qt4::uic3 uic3)
-- _find_qt4_program(QT_RCC_EXECUTABLE Qt4::rcc rcc)
-- _find_qt4_program(QT_DBUSCPP2XML_EXECUTABLE Qt4::qdbuscpp2xml qdbuscpp2xml)
-- _find_qt4_program(QT_DBUSXML2CPP_EXECUTABLE Qt4::qdbusxml2cpp qdbusxml2cpp)
-+ _find_qt4_program(QT_RCC_EXECUTABLE Qt4::rcc rcc4 rcc)
-+ _find_qt4_program(QT_DBUSCPP2XML_EXECUTABLE Qt4::qdbuscpp2xml qdbuscpp2xml4 qdbuscpp2xml)
-+ _find_qt4_program(QT_DBUSXML2CPP_EXECUTABLE Qt4::qdbusxml2cpp qdbusxml2cpp4 qdbusxml2cpp)
- _find_qt4_program(QT_LUPDATE_EXECUTABLE Qt4::lupdate lupdate-qt4 lupdate4 lupdate)
- _find_qt4_program(QT_LRELEASE_EXECUTABLE Qt4::lrelease lrelease-qt4 lrelease4 lrelease)
-- _find_qt4_program(QT_QCOLLECTIONGENERATOR_EXECUTABLE Qt4::qcollectiongenerator qcollectiongenerator-qt4 qcollectiongenerator)
-+ _find_qt4_program(QT_QCOLLECTIONGENERATOR_EXECUTABLE Qt4::qcollectiongenerator qcollectiongenerator-qt4 qcollectiongenerator qcollectiongenerator4)
- _find_qt4_program(QT_DESIGNER_EXECUTABLE Qt4::designer designer-qt4 designer4 designer)
- _find_qt4_program(QT_LINGUIST_EXECUTABLE Qt4::linguist linguist-qt4 linguist4 linguist)
-
diff --git a/meta/recipes-devtools/cmake/cmake/0004-Fail-silently-if-system-Qt-installation-is-broken.patch b/meta/recipes-devtools/cmake/cmake/0004-Fail-silently-if-system-Qt-installation-is-broken.patch
deleted file mode 100644
index 1b196db81a..0000000000
--- a/meta/recipes-devtools/cmake/cmake/0004-Fail-silently-if-system-Qt-installation-is-broken.patch
+++ /dev/null
@@ -1,79 +0,0 @@
-From 60864efbe52cc12018efaafbc4e4c3c8b4af2b65 Mon Sep 17 00:00:00 2001
-From: Otavio Salvador <otavio@ossystems.com.br>
-Date: Thu, 5 Jul 2018 10:26:48 -0300
-Subject: [PATCH] Fail silently if system Qt installation is broken
-
-Fixes a regression in behaviour from 2.8.10 to 2.8.11 resulting in the
-following error if the system Qt installation is broken:
-
-CMake Error at Modules/FindQt4.cmake:1028 (set_property):
- set_property could not find TARGET Qt4::QtCore. Perhaps it has not yet
- been created.
-Call Stack (most recent call first):
- Tests/RunCMake/CMakeLists.txt:79 (find_package)
-
-Upstream-Status: Pending
-
-Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
-
-The patch was slightly adapted in order to match cmake 3.2.2:
-Another set_property was introduced which had to be included
-within the if(QT_QTCORE_FOUND) statement.
-
-Signed-off-by: Moritz Blume <moritz.blume@bmw-carit.de>
-Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
-
----
- Modules/FindQt4.cmake | 39 ++++++++++++++++++++-------------------
- 1 file changed, 20 insertions(+), 19 deletions(-)
-
-diff --git a/Modules/FindQt4.cmake b/Modules/FindQt4.cmake
-index b2a8585..77c89aa 100644
---- a/Modules/FindQt4.cmake
-+++ b/Modules/FindQt4.cmake
-@@ -988,25 +988,26 @@ if (QT_QMAKE_EXECUTABLE AND
- endif()
- endmacro()
-
--
-- # Set QT_xyz_LIBRARY variable and add
-- # library include path to QT_INCLUDES
-- _QT4_ADJUST_LIB_VARS(QtCore)
-- set_property(TARGET Qt4::QtCore APPEND PROPERTY
-- INTERFACE_INCLUDE_DIRECTORIES
-- "${QT_MKSPECS_DIR}/default"
-- ${QT_INCLUDE_DIR}
-- )
-- set_property(TARGET Qt4::QtCore APPEND PROPERTY
-- INTERFACE_COMPILE_DEFINITIONS
-- $<$<NOT:$<CONFIG:Debug>>:QT_NO_DEBUG>
-- )
-- set_property(TARGET Qt4::QtCore PROPERTY
-- INTERFACE_QT_MAJOR_VERSION 4
-- )
-- set_property(TARGET Qt4::QtCore APPEND PROPERTY
-- COMPATIBLE_INTERFACE_STRING QT_MAJOR_VERSION
-- )
-+ if(QT_QTCORE_FOUND)
-+ # Set QT_xyz_LIBRARY variable and add
-+ # library include path to QT_INCLUDES
-+ _QT4_ADJUST_LIB_VARS(QtCore)
-+ set_property(TARGET Qt4::QtCore APPEND PROPERTY
-+ INTERFACE_INCLUDE_DIRECTORIES
-+ "${QT_MKSPECS_DIR}/default"
-+ ${QT_INCLUDE_DIR}
-+ )
-+ set_property(TARGET Qt4::QtCore APPEND PROPERTY
-+ INTERFACE_COMPILE_DEFINITIONS
-+ $<$<NOT:$<CONFIG:Debug>>:QT_NO_DEBUG>
-+ )
-+ set_property(TARGET Qt4::QtCore PROPERTY
-+ INTERFACE_QT_MAJOR_VERSION 4
-+ )
-+ set_property(TARGET Qt4::QtCore APPEND PROPERTY
-+ COMPATIBLE_INTERFACE_STRING QT_MAJOR_VERSION
-+ )
-+ endif()
-
- foreach(QT_MODULE ${QT_MODULES})
- _QT4_ADJUST_LIB_VARS(${QT_MODULE})
diff --git a/meta/recipes-devtools/cmake/cmake/0005-Disable-use-of-ext2fs-ext2_fs.h-by-cmake-s-internal-.patch b/meta/recipes-devtools/cmake/cmake/0005-Disable-use-of-ext2fs-ext2_fs.h-by-cmake-s-internal-.patch
index d6f7308fe0..af164084d0 100644
--- a/meta/recipes-devtools/cmake/cmake/0005-Disable-use-of-ext2fs-ext2_fs.h-by-cmake-s-internal-.patch
+++ b/meta/recipes-devtools/cmake/cmake/0005-Disable-use-of-ext2fs-ext2_fs.h-by-cmake-s-internal-.patch
@@ -1,4 +1,4 @@
-From fd9a04c1434e12f21c043385e306e0b52d38d749 Mon Sep 17 00:00:00 2001
+From 2d3f6933f78d393514a48f8222ac8c3c39cb5fc7 Mon Sep 17 00:00:00 2001
From: Otavio Salvador <otavio@ossystems.com.br>
Date: Thu, 5 Jul 2018 10:28:04 -0300
Subject: [PATCH] Disable use of ext2fs/ext2_fs.h by cmake's internal
@@ -13,16 +13,15 @@ Upstream-Status: Inappropriate [config]
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
-
---
Utilities/cmlibarchive/CMakeLists.txt | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/Utilities/cmlibarchive/CMakeLists.txt b/Utilities/cmlibarchive/CMakeLists.txt
-index bfcaf30..2960683 100644
+index e47184b7..e4964c32 100644
--- a/Utilities/cmlibarchive/CMakeLists.txt
+++ b/Utilities/cmlibarchive/CMakeLists.txt
-@@ -682,12 +682,8 @@ LA_CHECK_INCLUDE_FILE("copyfile.h" HAVE_COPYFILE_H)
+@@ -721,12 +721,8 @@ LA_CHECK_INCLUDE_FILE("copyfile.h" HAVE_COPYFILE_H)
LA_CHECK_INCLUDE_FILE("direct.h" HAVE_DIRECT_H)
LA_CHECK_INCLUDE_FILE("dlfcn.h" HAVE_DLFCN_H)
LA_CHECK_INCLUDE_FILE("errno.h" HAVE_ERRNO_H)
@@ -35,5 +34,5 @@ index bfcaf30..2960683 100644
+SET(HAVE_EXT2FS_EXT2_FS_H 0)
+SET(HAVE_WORKING_EXT2_IOC_GETFLAGS 0)
LA_CHECK_INCLUDE_FILE("fcntl.h" HAVE_FCNTL_H)
+ LA_CHECK_INCLUDE_FILE("fnmatch.h" HAVE_FNMATCH_H)
LA_CHECK_INCLUDE_FILE("grp.h" HAVE_GRP_H)
- LA_CHECK_INCLUDE_FILE("io.h" HAVE_IO_H)
diff --git a/meta/recipes-devtools/cmake/cmake/OEToolchainConfig.cmake b/meta/recipes-devtools/cmake/cmake/OEToolchainConfig.cmake
index 8f6f3a272d..6434b27371 100644
--- a/meta/recipes-devtools/cmake/cmake/OEToolchainConfig.cmake
+++ b/meta/recipes-devtools/cmake/cmake/OEToolchainConfig.cmake
@@ -1,8 +1,6 @@
set( CMAKE_SYSTEM_NAME Linux )
set( CMAKE_C_FLAGS $ENV{CFLAGS} CACHE STRING "" FORCE )
set( CMAKE_CXX_FLAGS $ENV{CXXFLAGS} CACHE STRING "" FORCE )
-set( CMAKE_ASM_FLAGS ${CMAKE_C_FLAGS} CACHE STRING "" FORCE )
-set( CMAKE_LDFLAGS_FLAGS ${CMAKE_CXX_FLAGS} CACHE STRING "" FORCE )
set( CMAKE_SYSROOT $ENV{OECORE_TARGET_SYSROOT} )
set( CMAKE_FIND_ROOT_PATH $ENV{OECORE_TARGET_SYSROOT} )
@@ -13,13 +11,13 @@ set( CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY )
set(CMAKE_FIND_LIBRARY_CUSTOM_LIB_SUFFIX "$ENV{OE_CMAKE_FIND_LIBRARY_CUSTOM_LIB_SUFFIX}")
-# Set CMAKE_SYSTEM_PROCESSOR from the sysroot name (assuming processor-distro-os).
-if ($ENV{SDKTARGETSYSROOT} MATCHES "/sysroots/([a-zA-Z0-9_-]+)-.+-.+")
- set(CMAKE_SYSTEM_PROCESSOR ${CMAKE_MATCH_1})
-endif()
+set( CMAKE_SYSTEM_PROCESSOR $ENV{OECORE_TARGET_ARCH} )
# Include the toolchain configuration subscripts
file( GLOB toolchain_config_files "${CMAKE_CURRENT_LIST_FILE}.d/*.cmake" )
foreach(config ${toolchain_config_files})
include(${config})
endforeach()
+
+unset(CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES)
+unset(CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES)
diff --git a/meta/recipes-devtools/cmake/cmake/SDKToolchainConfig.cmake.template b/meta/recipes-devtools/cmake/cmake/SDKToolchainConfig.cmake.template
new file mode 100644
index 0000000000..c69569a843
--- /dev/null
+++ b/meta/recipes-devtools/cmake/cmake/SDKToolchainConfig.cmake.template
@@ -0,0 +1,31 @@
+set(SDK_INSTALL_DIR "${CMAKE_CURRENT_LIST_DIR}/../../../../..")
+set(HOST_SYSROOT "${SDK_INSTALL_DIR}/sysroots/@OECORE_SDK_SYS")
+set(TARGET_SYSROOT "${SDK_INSTALL_DIR}/sysroots/@OECORE_TARGET_SYS")
+set(HOST_BIN "${HOST_SYSROOT}/usr/bin")
+set(TOOLCHAIN_NAME "@OECORE_TARGET_ALIAS")
+set(GCC_DIR "${HOST_BIN}/${TOOLCHAIN_NAME}")
+
+set(CMAKE_SYSTEM_NAME Linux)
+set(CMAKE_SYSTEM_PROCESSOR "@OECORE_TARGET_ARCH")
+
+set(CMAKE_C_COMPILER "${GCC_DIR}/${TOOLCHAIN_NAME}-gcc")
+set(CMAKE_CXX_COMPILER "${GCC_DIR}/${TOOLCHAIN_NAME}-g++")
+
+set(ARCH_FLAGS "@OECORE_TUNE_CCARGS")
+set(CMAKE_C_FLAGS "${ARCH_FLAGS}" CACHE STRING "" FORCE )
+set(CMAKE_CXX_FLAGS "${ARCH_FLAGS}" CACHE STRING "" FORCE )
+set(CMAKE_ASM_FLAGS ${CMAKE_C_FLAGS} CACHE STRING "" FORCE )
+set(CMAKE_LDFLAGS_FLAGS ${CMAKE_C_FLAGS} CACHE STRING "" FORCE )
+
+set(CMAKE_SYSROOT "${TARGET_SYSROOT}")
+
+set(CMAKE_FIND_ROOT_PATH "${TARGET_SYSROOT}" )
+
+set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER )
+set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY )
+set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY )
+set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY )
+
+set(CMAKE_FIND_LIBRARY_CUSTOM_LIB_SUFFIX "")
+
+set(CMAKE_PROGRAM_PATH "${HOST_SYSROOT}/usr/bin" CACHE STRING "" FORCE)
diff --git a/meta/recipes-devtools/cmake/cmake/cmake-setup.py b/meta/recipes-devtools/cmake/cmake/cmake-setup.py
new file mode 100755
index 0000000000..af587a44cc
--- /dev/null
+++ b/meta/recipes-devtools/cmake/cmake/cmake-setup.py
@@ -0,0 +1,33 @@
+#!/usr/bin/env python3
+
+import os
+import string
+import sys
+
+class Template(string.Template):
+ delimiter = "@"
+
+class Environ():
+ def __getitem__(self, name):
+ if name == "OECORE_SDK_SYS":
+ return os.path.basename(os.environ["OECORE_NATIVE_SYSROOT"])
+ elif name == "OECORE_TARGET_SYS":
+ return os.path.basename(os.environ["OECORE_TARGET_SYSROOT"])
+ elif name == "OECORE_TARGET_ALIAS":
+ return os.path.basename(os.environ["TARGET_PREFIX"].strip("-"))
+ else:
+ return os.environ[name]
+
+try:
+ sysroot = os.environ['OECORE_NATIVE_SYSROOT']
+except KeyError:
+ print("Not in environment setup, bailing")
+ sys.exit(1)
+
+template_file = os.path.join(sysroot, 'usr/share/cmake/SDKToolchainConfig.cmake.template')
+cross_file = os.path.join(sysroot, 'usr/share/cmake/%s-toolchain.cmake' % (os.path.basename(os.environ["OECORE_TARGET_SYSROOT"])))
+with open(template_file) as in_file:
+ template = in_file.read()
+ output = Template(template).substitute(Environ())
+ with open(cross_file, "w") as out_file:
+ out_file.write(output)
diff --git a/meta/recipes-devtools/cmake/cmake/environment.d-cmake.sh b/meta/recipes-devtools/cmake/cmake/environment.d-cmake.sh
index 7bdb19fb6c..c94b6bb3e3 100644
--- a/meta/recipes-devtools/cmake/cmake/environment.d-cmake.sh
+++ b/meta/recipes-devtools/cmake/cmake/environment.d-cmake.sh
@@ -1,2 +1,2 @@
-export OE_CMAKE_TOOLCHAIN_FILE="$OECORE_NATIVE_SYSROOT/usr/share/cmake/OEToolchainConfig.cmake"
+export CMAKE_TOOLCHAIN_FILE="$OECORE_NATIVE_SYSROOT/usr/share/cmake/OEToolchainConfig.cmake"
export OE_CMAKE_FIND_LIBRARY_CUSTOM_LIB_SUFFIX="`echo $OECORE_BASELIB | sed -e s/lib//`"
diff --git a/meta/recipes-devtools/cmake/cmake_3.18.4.bb b/meta/recipes-devtools/cmake/cmake_3.18.4.bb
deleted file mode 100644
index 64c92b89f2..0000000000
--- a/meta/recipes-devtools/cmake/cmake_3.18.4.bb
+++ /dev/null
@@ -1,53 +0,0 @@
-require cmake.inc
-
-inherit cmake bash-completion
-
-DEPENDS += "curl expat zlib libarchive xz ncurses bzip2"
-
-SRC_URI_append_class-nativesdk = " \
- file://OEToolchainConfig.cmake \
- file://environment.d-cmake.sh \
- file://0001-CMakeDetermineSystem-use-oe-environment-vars-to-load.patch \
-"
-
-# Strip ${prefix} from ${docdir}, set result into docdir_stripped
-python () {
- prefix=d.getVar("prefix")
- docdir=d.getVar("docdir")
-
- if not docdir.startswith(prefix):
- bb.fatal('docdir must contain prefix as its prefix')
-
- docdir_stripped = docdir[len(prefix):]
- if len(docdir_stripped) > 0 and docdir_stripped[0] == '/':
- docdir_stripped = docdir_stripped[1:]
-
- d.setVar("docdir_stripped", docdir_stripped)
-}
-
-EXTRA_OECMAKE=" \
- -DCMAKE_DOC_DIR=${docdir_stripped}/cmake-${CMAKE_MAJOR_VERSION} \
- -DCMAKE_USE_SYSTEM_LIBRARIES=1 \
- -DCMAKE_USE_SYSTEM_LIBRARY_JSONCPP=0 \
- -DCMAKE_USE_SYSTEM_LIBRARY_LIBUV=0 \
- -DCMAKE_USE_SYSTEM_LIBRARY_LIBRHASH=0 \
- -DKWSYS_CHAR_IS_SIGNED=1 \
- -DBUILD_CursesDialog=0 \
- -DKWSYS_LFS_WORKS=1 \
-"
-
-do_install_append_class-nativesdk() {
- mkdir -p ${D}${datadir}/cmake
- install -m 644 ${WORKDIR}/OEToolchainConfig.cmake ${D}${datadir}/cmake/
-
- mkdir -p ${D}${SDKPATHNATIVE}/environment-setup.d
- install -m 644 ${WORKDIR}/environment.d-cmake.sh ${D}${SDKPATHNATIVE}/environment-setup.d/cmake.sh
-}
-
-FILES_${PN}_append_class-nativesdk = " ${SDKPATHNATIVE}"
-
-FILES_${PN} += "${datadir}/cmake-${CMAKE_MAJOR_VERSION} ${datadir}/cmake ${datadir}/aclocal ${datadir}/emacs ${datadir}/vim"
-FILES_${PN}-doc += "${docdir}/cmake-${CMAKE_MAJOR_VERSION}"
-FILES_${PN}-dev = ""
-
-BBCLASSEXTEND = "nativesdk"
diff --git a/meta/recipes-devtools/cmake/cmake_3.29.3.bb b/meta/recipes-devtools/cmake/cmake_3.29.3.bb
new file mode 100644
index 0000000000..9146fa8c0f
--- /dev/null
+++ b/meta/recipes-devtools/cmake/cmake_3.29.3.bb
@@ -0,0 +1,68 @@
+require cmake.inc
+
+inherit cmake bash-completion
+
+DEPENDS += "curl expat zlib libarchive xz ncurses bzip2"
+
+SRC_URI:append:class-nativesdk = " \
+ file://OEToolchainConfig.cmake \
+ file://SDKToolchainConfig.cmake.template \
+ file://cmake-setup.py \
+ file://environment.d-cmake.sh \
+"
+
+LICENSE:append = " & BSD-1-Clause & MIT"
+LIC_FILES_CHKSUM:append = " \
+ file://Utilities/cmjsoncpp/LICENSE;md5=5d73c165a0f9e86a1342f32d19ec5926 \
+ file://Utilities/cmlibrhash/COPYING;md5=a8c2a557a5c53b1c12cddbee98c099af \
+ file://Utilities/cmlibuv/LICENSE;md5=ad93ca1fffe931537fcf64f6fcce084d \
+"
+
+# Strip ${prefix} from ${docdir}, set result into docdir_stripped
+python () {
+ prefix=d.getVar("prefix")
+ docdir=d.getVar("docdir")
+
+ if not docdir.startswith(prefix):
+ bb.fatal('docdir must contain prefix as its prefix')
+
+ docdir_stripped = docdir[len(prefix):]
+ if len(docdir_stripped) > 0 and docdir_stripped[0] == '/':
+ docdir_stripped = docdir_stripped[1:]
+
+ d.setVar("docdir_stripped", docdir_stripped)
+}
+
+EXTRA_OECMAKE=" \
+ -DCMAKE_DOC_DIR=${docdir_stripped}/cmake-${CMAKE_MAJOR_VERSION} \
+ -DCMAKE_USE_SYSTEM_LIBRARIES=1 \
+ -DCMAKE_USE_SYSTEM_LIBRARY_JSONCPP=0 \
+ -DCMAKE_USE_SYSTEM_LIBRARY_CPPDAP=0 \
+ -DCMAKE_USE_SYSTEM_LIBRARY_LIBUV=0 \
+ -DCMAKE_USE_SYSTEM_LIBRARY_LIBRHASH=0 \
+ -DKWSYS_CHAR_IS_SIGNED=1 \
+ -DBUILD_CursesDialog=0 \
+ -DKWSYS_LFS_WORKS=1 \
+ -DCMake_ENABLE_DEBUGGER=0 \
+"
+
+do_install:append:class-nativesdk() {
+ mkdir -p ${D}${datadir}/cmake
+ install -m 644 ${UNPACKDIR}/OEToolchainConfig.cmake ${D}${datadir}/cmake/
+
+ mkdir -p ${D}${SDKPATHNATIVE}/environment-setup.d
+ install -m 644 ${UNPACKDIR}/environment.d-cmake.sh ${D}${SDKPATHNATIVE}/environment-setup.d/cmake.sh
+
+ # install cmake-setup.py to create arch-specific toolchain cmake file from template
+ install -m 0644 ${UNPACKDIR}/SDKToolchainConfig.cmake.template ${D}${datadir}/cmake/
+ install -d ${D}${SDKPATHNATIVE}/post-relocate-setup.d
+ install -m 0755 ${UNPACKDIR}/cmake-setup.py ${D}${SDKPATHNATIVE}/post-relocate-setup.d/
+}
+
+FILES:${PN}:append:class-nativesdk = " ${SDKPATHNATIVE}"
+
+FILES:${PN} += "${datadir}/cmake-${CMAKE_MAJOR_VERSION} ${datadir}/cmake ${datadir}/aclocal ${datadir}/emacs ${datadir}/vim"
+FILES:${PN}-doc += "${docdir}/cmake-${CMAKE_MAJOR_VERSION}"
+FILES:${PN}-dev = ""
+
+BBCLASSEXTEND = "nativesdk"
diff --git a/meta/recipes-devtools/createrepo-c/createrepo-c/0001-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch b/meta/recipes-devtools/createrepo-c/createrepo-c/0001-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch
index c0f07fe2ca..b63fe53944 100644
--- a/meta/recipes-devtools/createrepo-c/createrepo-c/0001-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch
+++ b/meta/recipes-devtools/createrepo-c/createrepo-c/0001-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch
@@ -1,25 +1,28 @@
-From 4644d18157296257284bedd857f4610f1037d50e Mon Sep 17 00:00:00 2001
+From 6f8f6d151b831b60f6e7892aa9294a6361353c72 Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex.kanavin@gmail.com>
Date: Fri, 30 Dec 2016 18:31:02 +0200
Subject: [PATCH] Do not set PYTHON_INSTALL_DIR by running python
Upstream-Status: Inappropriate [oe-core specific]
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
-
+Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
---
src/python/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/python/CMakeLists.txt b/src/python/CMakeLists.txt
-index 3d873f7..e977b2f 100644
+index a31b14d..01fd8ca 100644
--- a/src/python/CMakeLists.txt
+++ b/src/python/CMakeLists.txt
-@@ -21,7 +21,7 @@ if (NOT SKBUILD)
- endif ()
+@@ -14,7 +14,7 @@ if (NOT SKBUILD)
+ FIND_PACKAGE(PythonLibs 3 REQUIRED)
endif (NOT SKBUILD)
--EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} -c "from sys import stdout; from distutils import sysconfig; stdout.write(sysconfig.get_python_lib(True))" OUTPUT_VARIABLE PYTHON_INSTALL_DIR)
-+#EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} -c "from sys import stdout; from distutils import sysconfig; stdout.write(sysconfig.get_python_lib(True))" OUTPUT_VARIABLE PYTHON_INSTALL_DIR)
+-EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} -c "from sys import stdout; from sysconfig import get_path; stdout.write(get_path('platlib'))" OUTPUT_VARIABLE PYTHON_INSTALL_DIR)
++#EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} -c "from sys import stdout; from sysconfig import get_path; stdout.write(get_path('platlib'))" OUTPUT_VARIABLE PYTHON_INSTALL_DIR)
INCLUDE_DIRECTORIES (${PYTHON_INCLUDE_PATH})
MESSAGE(STATUS "Python install dir is ${PYTHON_INSTALL_DIR}")
+--
+2.25.1
+
diff --git a/meta/recipes-devtools/createrepo-c/createrepo-c/0001-include-rpm-rpmstring.h.patch b/meta/recipes-devtools/createrepo-c/createrepo-c/0001-include-rpm-rpmstring.h.patch
new file mode 100644
index 0000000000..b7e5710b39
--- /dev/null
+++ b/meta/recipes-devtools/createrepo-c/createrepo-c/0001-include-rpm-rpmstring.h.patch
@@ -0,0 +1,30 @@
+From eb66326c3fc6e942282d01ddd56659c78ed7400b Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Fri, 13 Jan 2023 13:21:51 -0800
+Subject: [PATCH] include rpm/rpmstring.h
+
+Its needed for rasprintf declaration
+
+Fixes
+src/xml_file.c:341:36: error: call to undeclared functi
+on 'rasprintf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
+
+Upstream-Status: Submitted [https://github.com/rpm-software-management/createrepo_c/pull/340]
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+
+---
+ src/xml_file.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/xml_file.c b/src/xml_file.c
+index d2400b8..871109c 100644
+--- a/src/xml_file.c
++++ b/src/xml_file.c
+@@ -19,6 +19,7 @@
+
+ #include <glib.h>
+ #include <glib/gstdio.h>
++#include <rpm/rpmstring.h>
+ #include <assert.h>
+ #include <rpm/rpmstring.h>
+ #include "xml_file.h"
diff --git a/meta/recipes-devtools/createrepo-c/createrepo-c_0.16.1.bb b/meta/recipes-devtools/createrepo-c/createrepo-c_1.1.1.bb
index 942741023f..e6714629af 100644
--- a/meta/recipes-devtools/createrepo-c/createrepo-c_0.16.1.bb
+++ b/meta/recipes-devtools/createrepo-c/createrepo-c_1.1.1.bb
@@ -1,34 +1,41 @@
-DESCRIPTION = "C implementation of createrepo."
+SUMMARY = "C implementation of createrepo."
HOMEPAGE = "https://github.com/rpm-software-management/createrepo_c/wiki"
-LICENSE = "GPLv2"
+LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
-SRC_URI = "git://github.com/rpm-software-management/createrepo_c \
+SRC_URI = "git://github.com/rpm-software-management/createrepo_c;branch=master;protocol=https \
file://0001-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch \
+ file://0001-include-rpm-rpmstring.h.patch \
"
-SRCREV = "634141eaefe0cc87466dfb91b07b64facce4384b"
+SRCREV = "78b0c3ff48bd58eb9c0a72879cf1025e9f225684"
S = "${WORKDIR}/git"
DEPENDS = "expat curl glib-2.0 libxml2 openssl bzip2 zlib file sqlite3 xz rpm"
-DEPENDS_append_class-native = " file-replacement-native"
+DEPENDS:append:class-native = " file-replacement-native"
-inherit cmake pkgconfig bash-completion distutils3-base
+inherit cmake pkgconfig bash-completion setuptools3-base
EXTRA_OECMAKE = " -DPYTHON_INSTALL_DIR=${PYTHON_SITEPACKAGES_DIR} -DPYTHON_DESIRED=3 -DWITH_ZCHUNK=OFF -DENABLE_DRPM=OFF -DWITH_LIBMODULEMD=OFF"
BBCLASSEXTEND = "native nativesdk"
# Direct createrepo to read rpm configuration from our sysroot, not the one it was compiled in
-do_install_append_class-native() {
+do_install:append:class-native() {
create_wrapper ${D}/${bindir}/createrepo_c \
- RPM_CONFIGDIR=${STAGING_LIBDIR_NATIVE}/rpm
+ RPM_CONFIGDIR=${STAGING_LIBDIR_NATIVE}/rpm \
+ MAGIC=${STAGING_DIR_NATIVE}${datadir_native}/misc/magic.mgc
+ create_wrapper ${D}/${bindir}/modifyrepo_c \
+ MAGIC=${STAGING_DIR_NATIVE}${datadir_native}/misc/magic.mgc
}
-do_install_append_class-nativesdk() {
+do_install:append:class-nativesdk() {
create_wrapper ${D}/${bindir}/createrepo_c \
- RPM_CONFIGDIR=${SDKPATHNATIVE}${libdir_nativesdk}/rpm
+ RPM_CONFIGDIR=${SDKPATHNATIVE}${libdir_nativesdk}/rpm \
+ MAGIC=${datadir}/misc/magic.mgc
+ create_wrapper ${D}/${bindir}/modifyrepo_c \
+ MAGIC=${datadir}/misc/magic.mgc
rm -rf ${D}/etc
}
diff --git a/meta/recipes-devtools/debugedit/debugedit_5.0.bb b/meta/recipes-devtools/debugedit/debugedit_5.0.bb
new file mode 100644
index 0000000000..63ad7babd9
--- /dev/null
+++ b/meta/recipes-devtools/debugedit/debugedit_5.0.bb
@@ -0,0 +1,28 @@
+SUMMARY = "Tools for creating debuginfo and source file distributions"
+DESCRIPTION = "debugedit provides programs and scripts for creating \
+debuginfo and source file distributions, collect build-ids and rewrite \
+source paths in DWARF data for debugging, tracing and profiling."
+HOMEPAGE = "https://sourceware.org/debugedit/"
+
+LICENSE = "GPL-2.0-only & GPL-3.0-only & LGPL-2.1-only"
+LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
+ file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \
+ file://COPYING3;md5=d32239bcb673463ab874e80d47fae504"
+
+SRC_URI = "https://sourceware.org/ftp/debugedit/${PV}/debugedit-${PV}.tar.xz"
+
+SRC_URI:append:libc-musl = "\
+ file://0002-sepdebugcrcfix.c-do-not-use-64bit-variants.patch \
+ file://0003-Makefile.am-do-not-update-manual.patch \
+ "
+
+SRC_URI[sha256sum] = "e9ecd7d350bebae1f178ce6776ca19a648b6fe8fa22f5b3044b38d7899aa553e"
+
+DEPENDS = "elfutils"
+DEPENDS:append:libc-musl = " musl-legacy-error"
+
+inherit pkgconfig autotools
+
+RDEPENDS:${PN} += "bash elfutils-binutils"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/debugedit/files/0002-sepdebugcrcfix.c-do-not-use-64bit-variants.patch b/meta/recipes-devtools/debugedit/files/0002-sepdebugcrcfix.c-do-not-use-64bit-variants.patch
new file mode 100644
index 0000000000..4463bd2324
--- /dev/null
+++ b/meta/recipes-devtools/debugedit/files/0002-sepdebugcrcfix.c-do-not-use-64bit-variants.patch
@@ -0,0 +1,56 @@
+From 3e05bbc1f7909ab6f529e66f0d0f70fb1e60583a Mon Sep 17 00:00:00 2001
+From: Chen Qi <Qi.Chen@windriver.com>
+Date: Thu, 23 Mar 2023 11:55:53 +0800
+Subject: [PATCH 2/2] sepdebugcrcfix.c: do not use 64bit variants
+
+configure.ac checks for largefile support via AC_SYS_LARGEFILE
+already, therefore use off_t, open and lseek instead of 64bit
+variants. Musl e.g. does not define them without _LARGEFILE64_SOURCE
+and error is not seen on glibc because _GNU_SOURCE defines
+_LARGEFILE64_SOURCE.
+
+This patch is marked as inappropriate as debugedit obviously only
+wants to support glibc or some glibc compatible libcs. We can see
+this from the error() usage. And this patch is only for musl.
+
+Upstream-Status: Inappropriate [OE Specific]
+
+Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
+---
+ tools/sepdebugcrcfix.c | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/tools/sepdebugcrcfix.c b/tools/sepdebugcrcfix.c
+index c4a9d56..882e5f5 100644
+--- a/tools/sepdebugcrcfix.c
++++ b/tools/sepdebugcrcfix.c
+@@ -144,7 +144,7 @@ crc32 (const char *fname, const char *base_fname, uint32_t *crcp)
+ error (0, errno, _("cannot open \"%s\""), debugname);
+ return false;
+ }
+- off64_t size = lseek64 (fd, 0, SEEK_END);
++ off_t size = lseek (fd, 0, SEEK_END);
+ if (size == -1)
+ {
+ error (0, errno, _("cannot get size of \"%s\""), debugname);
+@@ -289,7 +289,7 @@ process (Elf *elf, int fd, const char *fname)
+ return true;
+ }
+ updated_count++;
+- off64_t seekto = (shdr->sh_offset + data->d_off
++ off_t seekto = (shdr->sh_offset + data->d_off
+ + (crcp - (const uint8_t *) data->d_buf));
+ uint32_t crc_targetendian = (ehdr->e_ident[EI_DATA] == ELFDATA2LSB
+ ? htole32 (crc) : htobe32 (crc));
+@@ -361,7 +361,7 @@ main (int argc, char **argv)
+ error (0, errno, _("cannot chmod \"%s\" to make sure we can read and write"), fname);
+
+ bool failed = false;
+- int fd = open64 (fname, O_RDWR);
++ int fd = open (fname, O_RDWR);
+ if (fd == -1)
+ {
+ error (0, errno, _("cannot open \"%s\""), fname);
+--
+2.17.1
+
diff --git a/meta/recipes-devtools/debugedit/files/0003-Makefile.am-do-not-update-manual.patch b/meta/recipes-devtools/debugedit/files/0003-Makefile.am-do-not-update-manual.patch
new file mode 100644
index 0000000000..de467f5365
--- /dev/null
+++ b/meta/recipes-devtools/debugedit/files/0003-Makefile.am-do-not-update-manual.patch
@@ -0,0 +1,65 @@
+From 4f0d7d2f4900ce8555e09854dc681278b7a3d9a9 Mon Sep 17 00:00:00 2001
+From: Chen Qi <Qi.Chen@windriver.com>
+Date: Thu, 23 Mar 2023 13:09:23 +0800
+Subject: [PATCH 3/3] Makefile.am: do not update manual
+
+The tarball ships these manuals, no need to re-generate them.
+We have local patches for debugedit.c and sepdebugcrcfix.c,
+this will triger re-generation of the manuals, which causes
+error of missing help2man.
+
+This is an OE specific patch. If we don't have local patches
+patching debugedit.c and sepdebugcrcfix.c, this patch is also
+not needed.
+
+Upstream-Status: Inappropriate [OE Specific]
+
+Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
+---
+ Makefile.am | 30 ------------------------------
+ 1 file changed, 30 deletions(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index 98b2f20..f91deea 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -52,36 +52,6 @@ sepdebugcrcfix_LDADD = @LIBELF_LIBS@
+ # Manual pages are generated for dist
+ dist_man_MANS = debugedit.1 sepdebugcrcfix.1 find-debuginfo.1
+
+-# The 'case' ensures the man pages are only generated if the corresponding
+-# source script (the first prerequisite) or configure.ac (for the version)
+-# has been changed. The executable prerequisite is solely meant to force
+-# these docs to be made only after the executable has been compiled.
+-# This makes sure help2man is not normally necessary (since the generated
+-# man pages are distributed).
+-debugedit.1: tools/debugedit.c configure.ac debugedit$(EXEEXT)
+- @case '$?' in \
+- *$<* | *configure.ac* ) $(HELP2MAN) -N --output=$@ \
+- --name='debug source path manipulation tool' \
+- ./debugedit$(EXEEXT) ;; \
+- * ) : ;; \
+- esac
+-
+-sepdebugcrcfix.1: tools/sepdebugcrcfix.c configure.ac sepdebugcrcfix$(EXEEXT)
+- @case '$?' in \
+- *$<* | *configure.ac* ) $(HELP2MAN) -N --output=$@ \
+- --name='fixes CRC for separate .debug files' \
+- ./sepdebugcrcfix$(EXEEXT) ;;\
+- * ) : ;; \
+- esac
+-
+-find-debuginfo.1: $(top_srcdir)/scripts/find-debuginfo.in configure.ac find-debuginfo
+- @case '$?' in \
+- *$<* | *configure.ac* ) $(HELP2MAN) -N --output=$@ \
+- --name='finds debuginfo and processes it' \
+- ./find-debuginfo ;;\
+- * ) : ;; \
+- esac
+-
+ noinst_HEADERS= tools/ansidecl.h \
+ tools/hashtab.h \
+ tools/md5.h \
+--
+2.17.1
+
diff --git a/meta/recipes-devtools/dejagnu/dejagnu_1.6.2.bb b/meta/recipes-devtools/dejagnu/dejagnu_1.6.3.bb
index 10220ebc91..895f6d3b36 100644
--- a/meta/recipes-devtools/dejagnu/dejagnu_1.6.2.bb
+++ b/meta/recipes-devtools/dejagnu/dejagnu_1.6.3.bb
@@ -1,17 +1,18 @@
SUMMARY = "GNU unit testing framework, written in Expect and Tcl"
DESCRIPTION = "DejaGnu is a framework for testing other programs. Its purpose \
is to provide a single front end for all tests."
-LICENSE = "GPLv2"
+HOMEPAGE = "https://www.gnu.org/software/dejagnu/"
+LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
SECTION = "devel"
DEPENDS += "expect-native"
+RDEPENDS:${PN} = "expect"
inherit autotools
SRC_URI = "${GNU_MIRROR}/${BPN}/${BP}.tar.gz"
-SRC_URI[md5sum] = "e1b07516533f351b3aba3423fafeffd6"
-SRC_URI[sha256sum] = "0d0671e1b45189c5fc8ade4b3b01635fb9eeab45cf54f57db23e4c4c1a17d261"
+SRC_URI[sha256sum] = "87daefacd7958b4a69f88c6856dbd1634261963c414079d0c371f589cd66a2e3"
BBCLASSEXTEND = "native"
diff --git a/meta/recipes-devtools/desktop-file-utils/desktop-file-utils_0.26.bb b/meta/recipes-devtools/desktop-file-utils/desktop-file-utils_0.27.bb
index 90c265aed9..55c88afcc9 100644
--- a/meta/recipes-devtools/desktop-file-utils/desktop-file-utils_0.26.bb
+++ b/meta/recipes-devtools/desktop-file-utils/desktop-file-utils_0.27.bb
@@ -1,24 +1,21 @@
-SECTION = "console/utils"
SUMMARY = "Command line utilities for working with *.desktop files"
+DESCRIPTION = "desktop-file-utils contains a few command line utilities for working with desktop entries"
HOMEPAGE = "http://www.freedesktop.org/wiki/Software/desktop-file-utils"
-LICENSE = "GPLv2+"
+SECTION = "console/utils"
+LICENSE = "GPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
file://src/validator.c;beginline=4;endline=27;md5=281e1114ee6c486a1a0a4295986b9416"
SRC_URI = "http://freedesktop.org/software/${BPN}/releases/${BP}.tar.xz"
-SRC_URI[md5sum] = "29739e005f5887cf41639b8450f3c23f"
-SRC_URI[sha256sum] = "b26dbde79ea72c8c84fb7f9d870ffd857381d049a86d25e0038c4cef4c747309"
+SRC_URI[sha256sum] = "a0817df39ce385b6621880407c56f1f298168c040c2032cedf88d5b76affe836"
DEPENDS = "glib-2.0"
-inherit autotools pkgconfig
-
-EXTRA_OECONF += "ac_cv_prog_EMACS=no"
+inherit meson pkgconfig
BBCLASSEXTEND = "native nativesdk"
-do_install_append() {
+do_install:append() {
rm -rf ${D}${datadir}/emacs
}
-
diff --git a/meta/recipes-devtools/devel-config/distcc-config.bb b/meta/recipes-devtools/devel-config/distcc-config.bb
index 3cd661d543..2c30488b82 100644
--- a/meta/recipes-devtools/devel-config/distcc-config.bb
+++ b/meta/recipes-devtools/devel-config/distcc-config.bb
@@ -1,11 +1,13 @@
SUMMARY = "Sets up distcc for compilation on the target device"
+DESCRIPTION = "${SUMMARY}"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
SRC_URI = "file://distcc.sh"
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
# Default to the host machine for a running qemu session
DISTCC_HOSTS ?= "192.168.7.1"
@@ -19,4 +21,4 @@ do_install() {
install -m 0755 distcc.sh ${D}${sysconfdir}/profile.d/
}
-RDEPENDS_${PN} = "distcc"
+RDEPENDS:${PN} = "distcc"
diff --git a/meta/recipes-devtools/devel-config/nfs-export-root.bb b/meta/recipes-devtools/devel-config/nfs-export-root.bb
index 56375a47b7..ad5486aa87 100644
--- a/meta/recipes-devtools/devel-config/nfs-export-root.bb
+++ b/meta/recipes-devtools/devel-config/nfs-export-root.bb
@@ -3,15 +3,14 @@ DESCRIPTION = "Enables NFS access from any host to the entire filesystem (for de
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
-PR = "r1"
-
SRC_URI = "file://exports"
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
do_install() {
install -d ${D}${sysconfdir}
install -m 0644 exports ${D}${sysconfdir}/
}
-RDEPENDS_${PN} = "packagegroup-core-nfs-server"
+RDEPENDS:${PN} = "packagegroup-core-nfs-server"
diff --git a/meta/recipes-devtools/diffstat/diffstat/0001-aclocal.m4-add-missing-header-defines.patch b/meta/recipes-devtools/diffstat/diffstat/0001-aclocal.m4-add-missing-header-defines.patch
deleted file mode 100644
index 5bd94d7de4..0000000000
--- a/meta/recipes-devtools/diffstat/diffstat/0001-aclocal.m4-add-missing-header-defines.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From 004bd80d2523f538467b5ada2623eb207b55dad7 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin <alex.kanavin@gmail.com>
-Date: Fri, 20 Dec 2019 15:44:28 +0100
-Subject: [PATCH] aclocal.m4: add missing header defines
-
-Upstream-Status: Pending
-Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
----
- aclocal.m4 | 5 +++++
- 1 file changed, 5 insertions(+)
-
-diff --git a/aclocal.m4 b/aclocal.m4
-index 3b19e82..c0c4acb 100644
---- a/aclocal.m4
-+++ b/aclocal.m4
-@@ -1927,3 +1927,8 @@ make an error
- fi
- fi # cf_cv_posix_visible
- ])
-+
-+AC_DEFINE([HAVE_TCGETATTR], [], [Description])
-+AC_DEFINE([HAVE_TCSETATTR], [], [Description])
-+AC_DEFINE([HAVE_TERMIOS_H], [], [Description])
-+
diff --git a/meta/recipes-devtools/diffstat/diffstat/avoid-check-user-break-cc.patch b/meta/recipes-devtools/diffstat/diffstat/avoid-check-user-break-cc.patch
index 811faa48da..46f1cfabcf 100644
--- a/meta/recipes-devtools/diffstat/diffstat/avoid-check-user-break-cc.patch
+++ b/meta/recipes-devtools/diffstat/diffstat/avoid-check-user-break-cc.patch
@@ -1,4 +1,4 @@
-From 1046593aacb74ff888a0d68c0ff89b20c4bc9ed4 Mon Sep 17 00:00:00 2001
+From 708c765ffb41ecc734316f69043583312fe444bd Mon Sep 17 00:00:00 2001
From: Kai Kang <kai.kang@windriver.com>
Date: Tue, 15 May 2018 17:17:01 +0800
Subject: [PATCH] diffstat: fix wrong evaluation of CC
@@ -18,10 +18,10 @@ Signed-off-by: Kai Kang <kai.kang@windriver.com>
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/aclocal.m4 b/aclocal.m4
-index 9281aa8..dd57b7a 100644
+index d4bd283..1b653c4 100644
--- a/aclocal.m4
+++ b/aclocal.m4
-@@ -1239,7 +1239,7 @@ CF_GCC_VERSION
+@@ -1522,7 +1522,7 @@ CF_GCC_VERSION
CF_ACVERSION_CHECK(2.52,
[AC_PROG_CC_STDC],
[CF_ANSI_CC_REQD])
diff --git a/meta/recipes-devtools/diffstat/diffstat_1.63.bb b/meta/recipes-devtools/diffstat/diffstat_1.66.bb
index 61b2ea5dc2..d59379fd2b 100644
--- a/meta/recipes-devtools/diffstat/diffstat_1.63.bb
+++ b/meta/recipes-devtools/diffstat/diffstat_1.66.bb
@@ -5,18 +5,14 @@ reviewing large, complex patch files."
HOMEPAGE = "http://invisible-island.net/diffstat/"
SECTION = "devel"
LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://install-sh;endline=42;md5=b3549726c1022bee09c174c72a0ca4a5"
+LIC_FILES_CHKSUM = "file://COPYING;md5=5713b4719a66a6527e6301e8f8745877"
SRC_URI = "http://invisible-mirror.net/archives/${BPN}/${BP}.tgz \
file://run-ptest \
file://avoid-check-user-break-cc.patch \
- file://0001-aclocal.m4-add-missing-header-defines.patch \
"
-SRC_URI[md5sum] = "b9272ec8af6257103261ec3622692991"
-SRC_URI[sha256sum] = "7eddd53401b99b90bac3f7ebf23dd583d7d99c6106e67a4f1161b7a20110dc6f"
-
-S = "${WORKDIR}/diffstat-${PV}"
+SRC_URI[sha256sum] = "f54531bbe32e8e0fa461f018b41e3af516b632080172f361f05e50367ecbb69e"
inherit autotools gettext ptest
diff --git a/meta/recipes-devtools/distcc/distcc_3.3.3.bb b/meta/recipes-devtools/distcc/distcc_3.4.bb
index d92b9c3046..ab138b3ab6 100644
--- a/meta/recipes-devtools/distcc/distcc_3.3.3.bb
+++ b/meta/recipes-devtools/distcc/distcc_3.4.bb
@@ -1,8 +1,9 @@
SUMMARY = "A parallel build system"
DESCRIPTION = "distcc is a parallel build system that distributes \
compilation of C/C++/ObjC code across machines on a network."
+HOMEPAGE = "https://github.com/distcc/distcc"
SECTION = "devel"
-LICENSE = "GPLv2"
+LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
DEPENDS = "avahi binutils"
@@ -12,17 +13,16 @@ PACKAGECONFIG[gtk] = "--with-gtk,--without-gtk --without-gnome,gtk+"
# use system popt by default
PACKAGECONFIG[popt] = "--without-included-popt,--with-included-popt,popt"
-RRECOMMENDS_${PN}-server = "avahi-daemon"
+RRECOMMENDS:${PN}-server = "avahi-daemon"
-SRC_URI = "git://github.com/distcc/distcc.git \
- file://fix-gnome.patch \
- file://separatebuilddir.patch \
- file://0001-Fix-build-with-gcc-10-which-defaults-to-fno-common-c.patch \
+SRC_URI = "git://github.com/distcc/distcc.git;branch=master;protocol=https \
file://default \
file://distcc \
- file://distcc.service"
-SRCREV = "4cde9bcfbda589abd842e3bbc652ce369085eaae"
+ file://distcc.service \
+ "
+SRCREV = "50d821efe99cae82c05be0a4ab3b4035ef0d3883"
S = "${WORKDIR}/git"
+UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
inherit autotools pkgconfig update-rc.d useradd systemd
@@ -33,7 +33,7 @@ EXTRA_OECONF += "--disable-Werror PYTHON='' --disable-pump-mode"
PACKAGE_BEFORE_PN = "${PN}-distmon-gnome ${PN}-server"
USERADD_PACKAGES = "${PN}-server"
-USERADD_PARAM_${PN}-server = "--system \
+USERADD_PARAM:${PN}-server = "--system \
--home /dev/null \
--no-create-home \
--gid nogroup \
@@ -43,24 +43,24 @@ UPDATERCPN = "${PN}-server"
INITSCRIPT_NAME = "distcc"
SYSTEMD_PACKAGES = "${PN}-server"
-SYSTEMD_SERVICE_${PN}-server = "distcc.service"
+SYSTEMD_SERVICE:${PN}-server = "distcc.service"
do_install() {
# Improve reproducibility: compress w/o timestamps
oe_runmake 'DESTDIR=${D}' "GZIP_BIN=gzip -n" install
install -d ${D}${sysconfdir}/init.d/
install -d ${D}${sysconfdir}/default
- install -m 0755 ${WORKDIR}/distcc ${D}${sysconfdir}/init.d/
- install -m 0755 ${WORKDIR}/default ${D}${sysconfdir}/default/distcc
- install -d ${D}${systemd_unitdir}/system/
- install -m 0644 ${WORKDIR}/distcc.service ${D}${systemd_unitdir}/system
- sed -i -e 's,@BINDIR@,${bindir},g' ${D}${systemd_unitdir}/system/distcc.service
+ install -m 0755 ${UNPACKDIR}/distcc ${D}${sysconfdir}/init.d/
+ install -m 0755 ${UNPACKDIR}/default ${D}${sysconfdir}/default/distcc
+ install -d ${D}${systemd_system_unitdir}/
+ install -m 0644 ${UNPACKDIR}/distcc.service ${D}${systemd_system_unitdir}
+ sed -i -e 's,@BINDIR@,${bindir},g' ${D}${systemd_system_unitdir}/distcc.service
}
-FILES_${PN}-server = "${sysconfdir} \
+FILES:${PN}-server = "${sysconfdir} \
${bindir}/distccd \
${sbindir}"
-FILES_${PN}-distmon-gnome = "${bindir}/distccmon-gnome \
+FILES:${PN}-distmon-gnome = "${bindir}/distccmon-gnome \
${datadir}/applications \
${datadir}/pixmaps"
diff --git a/meta/recipes-devtools/distcc/files/0001-Fix-build-with-gcc-10-which-defaults-to-fno-common-c.patch b/meta/recipes-devtools/distcc/files/0001-Fix-build-with-gcc-10-which-defaults-to-fno-common-c.patch
deleted file mode 100644
index 86c07c11f8..0000000000
--- a/meta/recipes-devtools/distcc/files/0001-Fix-build-with-gcc-10-which-defaults-to-fno-common-c.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From 98530865795300008fe06bb647a6fc2dddfc7967 Mon Sep 17 00:00:00 2001
-From: Romain Geissler <romain.geissler@amadeus.com>
-Date: Mon, 27 Jan 2020 09:28:43 +0000
-Subject: [PATCH] Fix build with gcc 10 which defaults to -fno-common (cf
- https://gcc.gnu.org/gcc-10/porting_to.html)
-
-This fixes the following link error I see when I use the latest gcc 10
-git branch:
-/opt/1A/toolchain/x86_64-v20.0.7/lib/gcc/x86_64-1a-linux-gnu/10.0.1/../../../../x86_64-1a-linux-gnu/bin/ld: src/serve.o:(.bss+0x0): multiple definition of `stats_text'; src/prefork.o:(.bss+0x0): first defined here
-/opt/1A/toolchain/x86_64-v20.0.7/lib/gcc/x86_64-1a-linux-gnu/10.0.1/../../../../x86_64-1a-linux-gnu/bin/ld: src/stats.o:(.data+0x20): multiple definition of `stats_text'; src/prefork.o:(.bss+0x0): first defined here
-collect2: error: ld returned 1 exit status
-
-Upstream-Status: Backport [https://github.com/distcc/distcc/pull/373]
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
- src/stats.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/stats.h b/src/stats.h
-index 9bde285..74d4690 100644
---- a/src/stats.h
-+++ b/src/stats.h
-@@ -33,7 +33,7 @@ enum stats_e { STATS_TCP_ACCEPT, STATS_REJ_BAD_REQ, STATS_REJ_OVERLOAD,
- STATS_COMPILE_OK, STATS_COMPILE_ERROR, STATS_COMPILE_TIMEOUT,
- STATS_CLI_DISCONN, STATS_OTHER, STATS_ENUM_MAX };
-
--const char *stats_text[20];
-+extern const char *stats_text[20];
-
- int dcc_stats_init(void);
- void dcc_stats_init_kid(void);
---
-2.28.0
-
diff --git a/meta/recipes-devtools/distcc/files/fix-gnome.patch b/meta/recipes-devtools/distcc/files/fix-gnome.patch
deleted file mode 100644
index f1f5ed1a9f..0000000000
--- a/meta/recipes-devtools/distcc/files/fix-gnome.patch
+++ /dev/null
@@ -1,122 +0,0 @@
-Upstream-Status: Backport [https://github.com/distcc/distcc/pull/319]
-Signed-off-by: Ross Burton <ross.burton@intel.com>
-
-From 2faacc2be8d7eeee0a3f66d88fedd1d3ab11070e Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
-Date: Sat, 8 Dec 2018 12:50:07 +0100
-Subject: [PATCH] Fix desktop spec compliance of distccmon-gnome install
-
-Update the .desktop file and install rules for distccmon-gnome to
-conform to the freedesktop.org specifications. More specifically:
-
-- update to version 1.0 of the spec
-- remove obsolete 'Encoding' key
-- remove obsolete 'Application' category and add recommended 'GTK'
-- install icon file to the correct directory
-- strip suffix from desktop file (specifying it is deprecated)
-- while at it, remove redundant '-icon' from the filename
-- install desktop file to the correct directory
----
- Makefile.in | 18 ++++++++++--------
- gnome/distccmon-gnome.desktop | 7 +++----
- ...mon-gnome-icon.png => distccmon-gnome.png} | Bin
- src/mon-gnome.c | 2 +-
- 4 files changed, 14 insertions(+), 13 deletions(-)
- rename gnome/{distccmon-gnome-icon.png => distccmon-gnome.png} (100%)
-
-diff --git a/Makefile.in b/Makefile.in
-index 6e1e467..1106559 100644
---- a/Makefile.in
-+++ b/Makefile.in
-@@ -52,13 +52,14 @@ mandir = @mandir@
- includedir = @includedir@
- oldincludedir = /usr/include
- docdir = @docdir@
--pkgdatadir = $(datadir)/@PACKAGE_NAME@
-+icondir = $(datarootdir)/pixmaps
-+desktopdir = $(datarootdir)/applications
-
- include_server_builddir = $(builddir)/_include_server
-
- # These must be done from here, not from autoconf, because they can
- # contain variable expansions written in Make syntax. Ew.
--DIR_DEFS = -DLIBDIR="\"${libdir}\"" -DSYSCONFDIR="\"${sysconfdir}\"" -DPKGDATADIR="\"${pkgdatadir}\""
-+DIR_DEFS = -DLIBDIR="\"${libdir}\"" -DSYSCONFDIR="\"${sysconfdir}\"" -DICONDIR="\"${icondir}\""
-
- # arguments to pkgconfig
- GNOME_PACKAGES = @GNOME_PACKAGES@
-@@ -387,7 +388,7 @@ man_HTML = man/distcc_1.html man/distccd_1.html man/distccmon_text_1.html \
- man/lsdistcc_1.html man/pump_1.html man/include_server_1.html
- MEN = $(man1_MEN)
-
--gnome_data = gnome/distccmon-gnome-icon.png \
-+gnome_data = gnome/distccmon-gnome.png \
- gnome/distccmon-gnome.desktop
-
- popt_OBJS=popt/findme.o popt/popt.o popt/poptconfig.o \
-@@ -1033,7 +1034,8 @@ showpaths:
- @echo " programs $(DESTDIR)$(bindir)"
- @echo " sbin programs $(DESTDIR)$(sbindir)"
- @echo " system configuration $(DESTDIR)$(sysconfdir)"
-- @echo " shared data files $(DESTDIR)$(pkgdatadir)"
-+ @echo " icon file $(DESTDIR)$(icondir)"
-+ @echo " application file $(DESTDIR)$(desktopdir)"
-
-
- # install-sh can't handle multiple arguments, but we don't need any
-@@ -1129,10 +1131,10 @@ install-example: $(example_DOCS)
- done
-
- install-gnome-data: $(gnome_data)
-- $(mkinstalldirs) "$(DESTDIR)$(pkgdatadir)"
-- for p in $(gnome_data); do \
-- $(INSTALL_DATA) "$$p" "$(DESTDIR)$(pkgdatadir)" || exit 1; \
-- done
-+ $(mkinstalldirs) "$(DESTDIR)$(icondir)"
-+ $(mkinstalldirs) "$(DESTDIR)$(desktopdir)"
-+ $(INSTALL_DATA) gnome/distccmon-gnome.png "$(DESTDIR)$(icondir)"
-+ $(INSTALL_DATA) gnome/distccmon-gnome.desktop "$(DESTDIR)$(desktopdir)"
-
- install-conf: $(conf_files) $(default_files)
- $(mkinstalldirs) "$(DESTDIR)$(sysconfdir)/distcc"
-diff --git a/gnome/distccmon-gnome.desktop b/gnome/distccmon-gnome.desktop
-index bd1fa26..7205f5e 100644
---- a/gnome/distccmon-gnome.desktop
-+++ b/gnome/distccmon-gnome.desktop
-@@ -1,6 +1,5 @@
- [Desktop Entry]
--Version=0.9.4
--Encoding=UTF-8
-+Version=1.0
- Exec=distccmon-gnome
- Name=distcc monitor
- Name[sv]=distcc övervakare
-@@ -8,9 +7,9 @@ GenericName=Distributed Compile Monitor
- GenericName[sv]=Distribuerad kompilerings-övervakare
- Comment=Graphical view of distributed compile tasks
- Comment[sv]=Grafisk vy av distribuerade kompileringsuppgifter
--Icon=distccmon-gnome-icon.png
-+Icon=distccmon-gnome
- TryExec=distccmon-gnome
- Terminal=false
- Type=Application
--Categories=GNOME;Application;Development;
-+Categories=GNOME;GTK;Development;
- StartupNotify=true
-diff --git a/gnome/distccmon-gnome-icon.png b/gnome/distccmon-gnome.png
-similarity index 100%
-rename from gnome/distccmon-gnome-icon.png
-rename to gnome/distccmon-gnome.png
-diff --git a/src/mon-gnome.c b/src/mon-gnome.c
-index 24681d0..bfc286d 100644
---- a/src/mon-gnome.c
-+++ b/src/mon-gnome.c
-@@ -599,7 +599,7 @@ static GtkWidget * dcc_gnome_make_mainwin (void)
-
- #if GTK_CHECK_VERSION(2,2,0)
- gtk_window_set_icon_from_file (GTK_WINDOW (mainwin),
-- PKGDATADIR "/distccmon-gnome-icon.png",
-+ ICONDIR "/distccmon-gnome.png",
- NULL);
- #endif
-
diff --git a/meta/recipes-devtools/distcc/files/separatebuilddir.patch b/meta/recipes-devtools/distcc/files/separatebuilddir.patch
deleted file mode 100644
index c8da9d51c3..0000000000
--- a/meta/recipes-devtools/distcc/files/separatebuilddir.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-Upstream-Status: Backport [https://github.com/distcc/distcc/pull/363]
-Signed-off-by: Ross Burton <ross.burton@intel.com>
-
-From 469628ee8dc90c7162d1a850c0b179b7349f9cf3 Mon Sep 17 00:00:00 2001
-From: Ross Burton <ross.burton@intel.com>
-Date: Tue, 17 Sep 2019 13:04:22 +0100
-Subject: [PATCH] Makefile.in: fix out-of-tree builds when the GNOME UI is
- enabled
-
-The install command doesn't use $(srcdir) so out-of-tree builds fail.
-
-Signed-off-by: Ross Burton <ross.burton@intel.com>
----
- Makefile.in | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/Makefile.in b/Makefile.in
-index 123054f..b9ce974 100644
---- a/Makefile.in
-+++ b/Makefile.in
-@@ -1130,8 +1130,8 @@ install-example: $(example_DOCS)
- install-gnome-data: $(gnome_data)
- $(mkinstalldirs) "$(DESTDIR)$(icondir)"
- $(mkinstalldirs) "$(DESTDIR)$(desktopdir)"
-- $(INSTALL_DATA) gnome/distccmon-gnome.png "$(DESTDIR)$(icondir)"
-- $(INSTALL_DATA) gnome/distccmon-gnome.desktop "$(DESTDIR)$(desktopdir)"
-+ $(INSTALL_DATA) $(srcdir)/gnome/distccmon-gnome.png "$(DESTDIR)$(icondir)"
-+ $(INSTALL_DATA) $(srcdir)/gnome/distccmon-gnome.desktop "$(DESTDIR)$(desktopdir)"
-
- install-conf: $(conf_files) $(default_files)
- $(mkinstalldirs) "$(DESTDIR)$(sysconfdir)/distcc"
---
-2.20.1
diff --git a/meta/recipes-devtools/dmidecode/dmidecode/0001-Committing-changes-from-do_unpack_extra.patch b/meta/recipes-devtools/dmidecode/dmidecode/0001-Committing-changes-from-do_unpack_extra.patch
deleted file mode 100644
index d082459ca9..0000000000
--- a/meta/recipes-devtools/dmidecode/dmidecode/0001-Committing-changes-from-do_unpack_extra.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 2c0437f47eaaf565aaccf0c0d150d5fc0fc734f5 Mon Sep 17 00:00:00 2001
-From: OpenEmbedded <oe.patch@oe>
-Date: Thu, 22 Nov 2018 12:05:04 +0000
-Subject: [PATCH] Do not install to /usr/local
-
-Upstream-Status: Inappropriate [oe-core specific]
-Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
-
----
- Makefile | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/Makefile b/Makefile
-index 7aa729d..e079b18 100644
---- a/Makefile
-+++ b/Makefile
-@@ -31,7 +31,7 @@ CFLAGS += -D_FILE_OFFSET_BITS=64
- LDFLAGS ?=
-
- DESTDIR =
--prefix = /usr/local
-+prefix = /usr
- sbindir = $(prefix)/sbin
- mandir = $(prefix)/share/man
- man8dir = $(mandir)/man8
diff --git a/meta/recipes-devtools/dmidecode/dmidecode_3.3.bb b/meta/recipes-devtools/dmidecode/dmidecode_3.3.bb
deleted file mode 100644
index 3fc2b20f22..0000000000
--- a/meta/recipes-devtools/dmidecode/dmidecode_3.3.bb
+++ /dev/null
@@ -1,23 +0,0 @@
-SUMMARY = "DMI (Desktop Management Interface) table related utilities"
-HOMEPAGE = "http://www.nongnu.org/dmidecode/"
-LICENSE = "GPLv2"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263"
-
-SRC_URI = "${SAVANNAH_NONGNU_MIRROR}/dmidecode/${BP}.tar.xz \
- file://0001-Committing-changes-from-do_unpack_extra.patch \
- "
-
-COMPATIBLE_HOST = "(i.86|x86_64|aarch64|arm|powerpc|powerpc64).*-linux"
-
-EXTRA_OEMAKE = "-e MAKEFLAGS="
-
-# The upstream buildsystem uses 'docdir' as the path where it puts AUTHORS,
-# README, etc, but we don't want those in the root of our docdir.
-docdir .= "/${BPN}"
-
-do_install() {
- oe_runmake DESTDIR="${D}" install
-}
-
-SRC_URI[sha256sum] = "82c737a780614c38a783e8055340d295e332fb12c7f418b5d21a0797d3fb1455"
-
diff --git a/meta/recipes-devtools/dmidecode/dmidecode_3.6.bb b/meta/recipes-devtools/dmidecode/dmidecode_3.6.bb
new file mode 100644
index 0000000000..e5b4e27687
--- /dev/null
+++ b/meta/recipes-devtools/dmidecode/dmidecode_3.6.bb
@@ -0,0 +1,21 @@
+SUMMARY = "DMI (Desktop Management Interface) table related utilities"
+HOMEPAGE = "http://www.nongnu.org/dmidecode/"
+DESCRIPTION = "Dmidecode reports information about your system's hardware as described in your system BIOS according to the SMBIOS/DMI standard (see a sample output)."
+LICENSE = "GPL-2.0-only"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263"
+
+SRC_URI = "${SAVANNAH_NONGNU_MIRROR}/dmidecode/${BP}.tar.xz"
+
+COMPATIBLE_HOST = "(i.86|x86_64|aarch64|arm|powerpc|powerpc64).*-linux"
+
+do_install() {
+ oe_runmake \
+ DESTDIR="${D}" \
+ prefix="${prefix}" \
+ sbindir="${sbindir}" \
+ docdir="${docdir}/${BPN}" \
+ mandir="${mandir}" \
+ install
+}
+
+SRC_URI[sha256sum] = "e40c65f3ec3dafe31ad8349a4ef1a97122d38f65004ed66575e1a8d575dd8bae"
diff --git a/meta/recipes-devtools/dnf/dnf/0001-Corretly-install-tmpfiles.d-configuration.patch b/meta/recipes-devtools/dnf/dnf/0001-Corretly-install-tmpfiles.d-configuration.patch
index 6692b41a16..fd942228b9 100644
--- a/meta/recipes-devtools/dnf/dnf/0001-Corretly-install-tmpfiles.d-configuration.patch
+++ b/meta/recipes-devtools/dnf/dnf/0001-Corretly-install-tmpfiles.d-configuration.patch
@@ -1,11 +1,10 @@
-From 05e059cd4e9910c00b32d377f4f98e3c8dde6bc6 Mon Sep 17 00:00:00 2001
+From f70eb308c837f2c944e23bb680a501a605004d65 Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex.kanavin@gmail.com>
Date: Thu, 26 Jan 2017 16:36:20 +0200
-Subject: [PATCH 4/5] Corretly install tmpfiles.d configuration
+Subject: [PATCH] Corretly install tmpfiles.d configuration
Upstream-Status: Inappropriate [oe-core specific]
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
-
---
etc/tmpfiles.d/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -17,6 +16,3 @@ index f69c773e..3eb6d0e8 100644
@@ -1 +1 @@
-INSTALL (FILES dnf.conf DESTINATION /usr/lib/tmpfiles.d/)
+INSTALL (FILES dnf.conf DESTINATION ${SYSCONFDIR}/tmpfiles.d/)
---
-2.14.2
-
diff --git a/meta/recipes-devtools/dnf/dnf/0001-Do-not-hardcode-etc-and-systemd-unit-directories.patch b/meta/recipes-devtools/dnf/dnf/0001-Do-not-hardcode-etc-and-systemd-unit-directories.patch
index cb09f17a56..37359a5765 100644
--- a/meta/recipes-devtools/dnf/dnf/0001-Do-not-hardcode-etc-and-systemd-unit-directories.patch
+++ b/meta/recipes-devtools/dnf/dnf/0001-Do-not-hardcode-etc-and-systemd-unit-directories.patch
@@ -1,17 +1,16 @@
-From ffb7942cc73c3d2c6aa7c689cdaf9bc0bcbc144b Mon Sep 17 00:00:00 2001
+From 3ca6d14fbc6419ff6239b4ba16f77da20fb31d03 Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex.kanavin@gmail.com>
Date: Thu, 26 Jan 2017 16:25:47 +0200
Subject: [PATCH] Do not hardcode /etc and systemd unit directories
Upstream-Status: Inappropriate [oe-core specific]
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
-
---
CMakeLists.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 73552967..38cf4fbf 100644
+index 4aee99fb..9e2e9e9e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -3,8 +3,8 @@ CMAKE_MINIMUM_REQUIRED (VERSION 2.4)
diff --git a/meta/recipes-devtools/dnf/dnf/0001-dnf-write-the-log-lock-to-root.patch b/meta/recipes-devtools/dnf/dnf/0001-dnf-write-the-log-lock-to-root.patch
index 21b50dee01..18f9a30949 100644
--- a/meta/recipes-devtools/dnf/dnf/0001-dnf-write-the-log-lock-to-root.patch
+++ b/meta/recipes-devtools/dnf/dnf/0001-dnf-write-the-log-lock-to-root.patch
@@ -1,4 +1,4 @@
-From 5e07c16a506b19cbb107d5e99fca41d679b23b9a Mon Sep 17 00:00:00 2001
+From 049e2832284ab883e185d9020c881518a68e6c38 Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex.kanavin@gmail.com>
Date: Tue, 28 Apr 2020 15:55:00 +0200
Subject: [PATCH] dnf: write the log lock to root
@@ -15,10 +15,10 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dnf/logging.py b/dnf/logging.py
-index bd660470..a9d808b1 100644
+index ef0b25f3..94610af6 100644
--- a/dnf/logging.py
+++ b/dnf/logging.py
-@@ -94,7 +94,7 @@ class MultiprocessRotatingFileHandler(logging.handlers.RotatingFileHandler):
+@@ -118,7 +118,7 @@ class MultiprocessRotatingFileHandler(logging.handlers.RotatingFileHandler):
def __init__(self, filename, mode='a', maxBytes=0, backupCount=0, encoding=None, delay=False):
super(MultiprocessRotatingFileHandler, self).__init__(
filename, mode, maxBytes, backupCount, encoding, delay)
diff --git a/meta/recipes-devtools/dnf/dnf/0001-lock.py-fix-Exception-handling.patch b/meta/recipes-devtools/dnf/dnf/0001-lock.py-fix-Exception-handling.patch
new file mode 100644
index 0000000000..6bffe9af0a
--- /dev/null
+++ b/meta/recipes-devtools/dnf/dnf/0001-lock.py-fix-Exception-handling.patch
@@ -0,0 +1,62 @@
+From 3881757eabfde2ff54400ab127b106ab085d83f0 Mon Sep 17 00:00:00 2001
+From: Changqing Li <changqing.li@windriver.com>
+Date: Wed, 13 Mar 2024 11:22:05 +0800
+Subject: [PATCH] lock.py: fix Exception handling
+
+Before, when logdir is not writable, _try_lock will raise an Exception
+like "Permission denied: '/var/log/log_lock.pid'", and in this case,
+_unlock_thread will not be called and the variable count will not be
+handled, it maybe cause log_lock.pid not be deleted in case like [1].
+
+For [1], it is an cross compile case, when dnf install some packages to
+rootfs, seems like some threads don't do chroot like work, some threads
+do chroot like work. so for the threads don't do chroot, "Permission denied"
+Exception happend, for the threads that do chroot, log_lock.pid will be
+created under installroot/var/log/log_lock.pid, since variable count not
+handled correct before, log_lock.pid may not be deleted correctly.
+
+So fixed like this, if _try_lock raise Exception, _unlock_thread first,
+then raise the Exception.
+
+[1] https://github.com/rpm-software-management/dnf/issues/1963
+
+Upstream-Status: Submitted [ https://github.com/rpm-software-management/dnf/pull/2065 ]
+
+Signed-off-by: Changqing Li <changqing.li@windriver.com>
+---
+ dnf/lock.py | 12 ++++++++++--
+ 1 file changed, 10 insertions(+), 2 deletions(-)
+
+diff --git a/dnf/lock.py b/dnf/lock.py
+index 6817aac9..5718062a 100644
+--- a/dnf/lock.py
++++ b/dnf/lock.py
+@@ -128,7 +128,11 @@ class ProcessLock(object):
+ self._lock_thread()
+ prev_pid = -1
+ my_pid = os.getpid()
+- pid = self._try_lock(my_pid)
++ try:
++ pid = self._try_lock(my_pid)
++ except Exception:
++ self._unlock_thread()
++ raise
+ while pid != my_pid:
+ if pid != -1:
+ if not self.blocking:
+@@ -140,7 +144,11 @@ class ProcessLock(object):
+ logger.info(msg)
+ prev_pid = pid
+ time.sleep(1)
+- pid = self._try_lock(my_pid)
++ try:
++ pid = self._try_lock(my_pid)
++ except Exception:
++ self._unlock_thread()
++ raise
+
+ def __exit__(self, *exc_args):
+ if self.count == 1:
+--
+2.25.1
+
diff --git a/meta/recipes-devtools/dnf/dnf/0001-set-python-path-for-completion_helper.patch b/meta/recipes-devtools/dnf/dnf/0001-set-python-path-for-completion_helper.patch
index 448f6408bc..fcd970a7ae 100644
--- a/meta/recipes-devtools/dnf/dnf/0001-set-python-path-for-completion_helper.patch
+++ b/meta/recipes-devtools/dnf/dnf/0001-set-python-path-for-completion_helper.patch
@@ -1,4 +1,4 @@
-From 7e79b3b67fd5cecd7380e7e365fd88eca63b5bfa Mon Sep 17 00:00:00 2001
+From fa32c7dcabaa3c00d3620a3266e49629365c0cbe Mon Sep 17 00:00:00 2001
From: Jeremy Puhlman <jpuhlman@mvista.com>
Date: Wed, 11 Mar 2020 22:10:02 +0000
Subject: [PATCH] set python path for completion_helper
@@ -10,7 +10,7 @@ Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dnf/cli/completion_helper.py.in b/dnf/cli/completion_helper.py.in
-index 351226759..2835cd3b6 100644
+index 0da0f2a2..9330d15b 100644
--- a/dnf/cli/completion_helper.py.in
+++ b/dnf/cli/completion_helper.py.in
@@ -1,4 +1,4 @@
@@ -19,6 +19,3 @@ index 351226759..2835cd3b6 100644
#
# This file is part of dnf.
#
---
-2.23.0
-
diff --git a/meta/recipes-devtools/dnf/dnf/0005-Do-not-prepend-installroot-to-logdir.patch b/meta/recipes-devtools/dnf/dnf/0005-Do-not-prepend-installroot-to-logdir.patch
index aa20009cef..cfbda11f77 100644
--- a/meta/recipes-devtools/dnf/dnf/0005-Do-not-prepend-installroot-to-logdir.patch
+++ b/meta/recipes-devtools/dnf/dnf/0005-Do-not-prepend-installroot-to-logdir.patch
@@ -1,7 +1,7 @@
-From 6365389074a1b86962f3d8b22a2ead2202026a98 Mon Sep 17 00:00:00 2001
+From c6d03b51e2098fc681e6811790bd5dc6597091eb Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex.kanavin@gmail.com>
Date: Wed, 11 Jan 2017 15:10:13 +0200
-Subject: [PATCH 5/5] Do not prepend installroot to logdir.
+Subject: [PATCH] Do not prepend installroot to logdir.
This would otherwise write the logs into rootfs/var/log
(whereas we want them in $T),
@@ -14,10 +14,10 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dnf/cli/cli.py b/dnf/cli/cli.py
-index d2d9c082..82270ecf 100644
+index 1824bd00..4dcb1c1c 100644
--- a/dnf/cli/cli.py
+++ b/dnf/cli/cli.py
-@@ -920,7 +920,7 @@ class Cli(object):
+@@ -944,7 +944,7 @@ class Cli(object):
logger.warning(_("Unable to detect release version (use '--releasever' to specify "
"release version)"))
@@ -26,6 +26,3 @@ index d2d9c082..82270ecf 100644
conf.prepend_installroot(opt)
self.base._logging._setup_from_dnf_conf(conf)
---
-2.14.2
-
diff --git a/meta/recipes-devtools/dnf/dnf/0029-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch b/meta/recipes-devtools/dnf/dnf/0029-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch
index 0ed9afc58d..64ea7874d3 100644
--- a/meta/recipes-devtools/dnf/dnf/0029-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch
+++ b/meta/recipes-devtools/dnf/dnf/0029-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch
@@ -1,25 +1,24 @@
-From 6be13143a54c79085d400d5bd4c7a6e1cb6ffaf5 Mon Sep 17 00:00:00 2001
+From d5b154ea69afdcd862299a0b7f255f6ece3686c6 Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex.kanavin@gmail.com>
Date: Fri, 30 Dec 2016 18:29:07 +0200
Subject: [PATCH] Do not set PYTHON_INSTALL_DIR by running python
Upstream-Status: Inappropriate [oe-core specific]
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
-
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 38cf4fbf..6c5debd8 100644
+index 9e2e9e9e..2056089d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -19,7 +19,7 @@ ELSE ()
MESSAGE (FATAL_ERROR "Invalid PYTHON_DESIRED value: " ${PYTHON_DESIRED})
ENDIF()
--EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} -c "from sys import stdout; from distutils import sysconfig; stdout.write(sysconfig.get_python_lib())" OUTPUT_VARIABLE PYTHON_INSTALL_DIR)
-+#EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} -c "from sys import stdout; from distutils import sysconfig; stdout.write(sysconfig.get_python_lib())" OUTPUT_VARIABLE PYTHON_INSTALL_DIR)
+-EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} -c "from sys import stdout; from sysconfig import get_path; stdout.write(get_path('purelib'))" OUTPUT_VARIABLE PYTHON_INSTALL_DIR)
++#EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} -c "from sys import stdout; from sysconfig import get_path; stdout.write(get_path('purelib'))" OUTPUT_VARIABLE PYTHON_INSTALL_DIR)
MESSAGE(STATUS "Python install dir is ${PYTHON_INSTALL_DIR}")
ADD_SUBDIRECTORY (dnf)
diff --git a/meta/recipes-devtools/dnf/dnf/0030-Run-python-scripts-using-env.patch b/meta/recipes-devtools/dnf/dnf/0030-Run-python-scripts-using-env.patch
index eedbb5723f..eb46113f3a 100644
--- a/meta/recipes-devtools/dnf/dnf/0030-Run-python-scripts-using-env.patch
+++ b/meta/recipes-devtools/dnf/dnf/0030-Run-python-scripts-using-env.patch
@@ -1,20 +1,19 @@
-From 8d97b72a1d77149e2f9048d1ca6cef66da1a8aa5 Mon Sep 17 00:00:00 2001
+From d3556767b84f3687743fdad0a88af0739d736ea9 Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex.kanavin@gmail.com>
Date: Fri, 30 Dec 2016 18:29:37 +0200
-Subject: [PATCH 2/5] Run python scripts using env
+Subject: [PATCH] Run python scripts using env
Otherwise the build tools hardcode the python path into them.
Upstream-Status: Inappropriate [oe-core specific]
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
-
---
bin/dnf-automatic.in | 2 +-
bin/dnf.in | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/bin/dnf-automatic.in b/bin/dnf-automatic.in
-index 5b06aa26..891b4c24 100755
+index 17e35a05..28827e38 100755
--- a/bin/dnf-automatic.in
+++ b/bin/dnf-automatic.in
@@ -1,4 +1,4 @@
@@ -24,7 +23,7 @@ index 5b06aa26..891b4c24 100755
#
# Copyright (C) 2014-2016 Red Hat, Inc.
diff --git a/bin/dnf.in b/bin/dnf.in
-index 645d0f06..bdf7b3c4 100755
+index 55ceb3f2..e38973c7 100755
--- a/bin/dnf.in
+++ b/bin/dnf.in
@@ -1,4 +1,4 @@
@@ -33,6 +32,3 @@ index 645d0f06..bdf7b3c4 100755
# The dnf executable script.
#
# Copyright (C) 2012-2016 Red Hat, Inc.
---
-2.14.2
-
diff --git a/meta/recipes-devtools/dnf/dnf_4.4.0.bb b/meta/recipes-devtools/dnf/dnf_4.20.0.bb
index dff6fe6c25..4757346cbf 100644
--- a/meta/recipes-devtools/dnf/dnf_4.4.0.bb
+++ b/meta/recipes-devtools/dnf/dnf_4.20.0.bb
@@ -2,27 +2,30 @@ SUMMARY = "Package manager forked from Yum, using libsolv as a dependency resolv
DESCRIPTION = "Software package manager that installs, updates, and removes \
packages on RPM-based Linux distributions. It automatically computes \
dependencies and determines the actions required to install packages."
-LICENSE = "GPLv2"
+HOMEPAGE = "https://github.com/rpm-software-management/dnf"
+LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
file://PACKAGE-LICENSING;md5=4a0548e303dbc77f067335b4d688e745 \
"
-SRC_URI = "git://github.com/rpm-software-management/dnf.git \
+SRC_URI = "git://github.com/rpm-software-management/dnf.git;branch=master;protocol=https \
file://0001-Corretly-install-tmpfiles.d-configuration.patch \
file://0001-Do-not-hardcode-etc-and-systemd-unit-directories.patch \
file://0005-Do-not-prepend-installroot-to-logdir.patch \
file://0029-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch \
file://0030-Run-python-scripts-using-env.patch \
file://0001-set-python-path-for-completion_helper.patch \
- file://0001-dnf-write-the-log-lock-to-root.patch \
+ file://0001-lock.py-fix-Exception-handling.patch \
"
-SRCREV = "b9b7623892f551da201bffd03187d703242b00e9"
+SRC_URI:append:class-native = "file://0001-dnf-write-the-log-lock-to-root.patch"
+
+SRCREV = "e3cb438c0fd08c79676c0f3276aa7d75cd8557c6"
UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)"
S = "${WORKDIR}/git"
-inherit cmake gettext bash-completion distutils3-base systemd
+inherit cmake gettext bash-completion setuptools3-base systemd
DEPENDS += "libdnf librepo libcomps python3-iniparse"
@@ -31,13 +34,12 @@ EXTRA_OECMAKE = " -DWITH_MAN=0 -DPYTHON_INSTALL_DIR=${PYTHON_SITEPACKAGES_DIR} -
BBCLASSEXTEND = "native nativesdk"
-RDEPENDS_${PN} += " \
+RDEPENDS:${PN} += " \
python3-core \
python3-codecs \
python3-netclient \
python3-email \
python3-threading \
- python3-distutils \
python3-logging \
python3-fcntl \
librepo \
@@ -51,35 +53,34 @@ RDEPENDS_${PN} += " \
python3-json \
python3-curses \
python3-misc \
- python3-gpg \
"
-RDEPENDS_${PN}_class-native = ""
+RDEPENDS:${PN}:class-native = ""
-RRECOMMENDS_${PN}_class-target += "gnupg"
+RRECOMMENDS:${PN}:class-target += "gnupg"
# Create a symlink called 'dnf' as 'make install' does not do it, but
# .spec file in dnf source tree does (and then Fedora and dnf documentation
# says that dnf binary is plain 'dnf').
-do_install_append() {
- lnr ${D}/${bindir}/dnf-3 ${D}/${bindir}/dnf
- lnr ${D}/${bindir}/dnf-automatic-3 ${D}/${bindir}/dnf-automatic
+do_install:append() {
+ ln -rs ${D}/${bindir}/dnf-3 ${D}/${bindir}/dnf
+ ln -rs ${D}/${bindir}/dnf-automatic-3 ${D}/${bindir}/dnf-automatic
}
# Direct dnf-native to read rpm configuration from our sysroot, not the one it was compiled in
-do_install_append_class-native() {
+do_install:append:class-native() {
create_wrapper ${D}/${bindir}/dnf \
RPM_CONFIGDIR=${STAGING_LIBDIR_NATIVE}/rpm \
RPM_NO_CHROOT_FOR_SCRIPTS=1
}
-do_install_append_class-nativesdk() {
+do_install:append:class-nativesdk() {
create_wrapper ${D}/${bindir}/dnf \
RPM_CONFIGDIR=${SDKPATHNATIVE}${libdir_nativesdk}/rpm \
RPM_NO_CHROOT_FOR_SCRIPTS=1
}
-SYSTEMD_SERVICE_${PN} = "dnf-makecache.service dnf-makecache.timer \
+SYSTEMD_SERVICE:${PN} = "dnf-makecache.service dnf-makecache.timer \
dnf-automatic.service dnf-automatic.timer \
dnf-automatic-download.service dnf-automatic-download.timer \
dnf-automatic-install.service dnf-automatic-install.timer \
@@ -87,4 +88,10 @@ SYSTEMD_SERVICE_${PN} = "dnf-makecache.service dnf-makecache.timer \
"
SYSTEMD_AUTO_ENABLE ?= "disable"
-PNBLACKLIST[dnf] ?= "${@bb.utils.contains('PACKAGE_CLASSES', 'package_rpm', '', 'does not build without package_rpm in PACKAGE_CLASSES due disabled rpm support in libsolv', d)}"
+SKIP_RECIPE[dnf] ?= "${@bb.utils.contains('PACKAGE_CLASSES', 'package_rpm', '', 'does not build without package_rpm in PACKAGE_CLASSES due disabled rpm support in libsolv', d)}"
+
+# Packages for testing purposes
+PACKAGES += "${PN}-test-main ${PN}-test-dep"
+ALLOW_EMPTY:${PN}-test-main = "1"
+ALLOW_EMPTY:${PN}-test-dep = "1"
+RRECOMMENDS:${PN}-test-main = "${PN}-test-dep"
diff --git a/meta/recipes-devtools/docbook-xml/docbook-xml-dtd4/docbook-xml-update-catalog.xml.patch b/meta/recipes-devtools/docbook-xml/docbook-xml-dtd4/docbook-xml-update-catalog.xml.patch
index 59703609ca..1f3364900c 100644
--- a/meta/recipes-devtools/docbook-xml/docbook-xml-dtd4/docbook-xml-update-catalog.xml.patch
+++ b/meta/recipes-devtools/docbook-xml/docbook-xml-dtd4/docbook-xml-update-catalog.xml.patch
@@ -1,97 +1,12 @@
+21/3/2023: modified to remove 4.0
+
docbook-xml: update catalog.xml
Refer Ubuntu 13.04 to update catalog.xml
-Upstream-Status: Pending
+Upstream-Status: Inappropriate [docbook 4.x development has ceased, docbook 5 is entirely different]
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
----
- docbook-4.0/catalog.xml | 72 +++++++++++++++++++++++++++++++++++++++++++++++
- docbook-4.1.2/catalog.xml | 66 +++++++++++++++++++++++++++++++++++++++++++
- docbook-4.2/catalog.xml | 69 ++++++---------------------------------------
- docbook-4.3/catalog.xml | 72 ++++++++---------------------------------------
- docbook-4.4/catalog.xml | 63 ++---------------------------------------
- docbook-4.5/catalog.xml | 63 ++---------------------------------------
- 6 files changed, 165 insertions(+), 240 deletions(-)
- create mode 100644 docbook-4.0/catalog.xml
- create mode 100644 docbook-4.1.2/catalog.xml
-diff --git a/docbook-4.0/catalog.xml b/docbook-4.0/catalog.xml
-new file mode 100644
---- /dev/null
-+++ b/docbook-4.0/catalog.xml
-@@ -0,0 +1,72 @@
-+<?xml version='1.0'?>
-+<!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN"
-+ "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd">
-+
-+<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
-+
-+<!-- ...................................................................... -->
-+<!-- XML Catalog data for DocBook XML V4.0............................... -->
-+<!-- File catalog.xml ..................................................... -->
-+
-+<!-- Please direct all questions, bug reports, or suggestions for
-+ changes to the docbook@lists.oasis-open.org mailing list. For more
-+ information, see http://www.oasis-open.org/.
-+ -->
-+
-+<!-- This is the catalog data file for DocBook V4.0. It is provided as
-+ a convenience in building your own catalog files. You need not use
-+ the filenames listed here, and need not use the filename method of
-+ identifying storage objects at all. See the documentation for
-+ detailed information on the files associated with the DocBook DTD.
-+ See XML Catalogs at http://www.oasis-open.org/committees/entity/ for
-+ detailed information on supplying and using catalog data.
-+ -->
-+
-+<!-- ...................................................................... -->
-+<!-- DocBook driver file .................................................. -->
-+
-+<public publicId="-//Norman Walsh//DTD DocBk XML V4.0//EN"
-+ uri="docbookx.dtd"/>
-+
-+<!-- Other ways to refer to DocBook XML v4.0............................... -->
-+<public publicId="-//Norman Walsh//DTD DocBook XML V4.0//EN"
-+ uri="docbookx.dtd"/>
-+
-+<system systemId="http://www.oasis-open.org/docbook/xml/4.0/docbookx.dtd"
-+ uri="docbookx.dtd"/>
-+
-+<!-- ...................................................................... -->
-+<!-- DocBook modules ...................................................... -->
-+
-+<public publicId="-//Norman Walsh//ENTITIES DocBook XML Notations V4.0//EN"
-+ uri="dbnotnx.mod"/>
-+
-+<public publicId="-//Norman Walsh//ENTITIES DocBook XML Character Entities V4.0//EN"
-+ uri="dbcentx.mod"/>
-+
-+<public publicId="-//Norman Walsh//ELEMENTS DocBook XML Information Pool V4.0//EN"
-+ uri="dbpoolx.mod"/>
-+
-+<public publicId="-//Norman Walsh//ELEMENTS DocBook XML Document Hierarchy V4.0//EN"
-+ uri="dbhierx.mod"/>
-+
-+<public publicId="-//Norman Walsh//ENTITIES DocBook XML Additional General Entities V4.0//EN"
-+ uri="dbgenent.mod"/>
-+
-+<public publicId="-//Norman Walsh//DTD CALS Table Model XML V4.0//EN"
-+ uri="calstblx.dtd"/>
-+
-+<!-- UNOFFICIAL conversion of the exchange table model to XML, based on the OASIS Exchange -->
-+<!-- Table Model PUBLIC "-//SGML Open//DTD Exchange Table Model 19960430//EN" -->
-+<public publicId="-//Normal Walsh//Exchange Table Model 19960430 XML V4.0//EN"
-+ uri="soextblx.dtd"/>
-+
-+<!-- the following FPI is declared for the DTD inside the DTD, but we'll -->
-+<!-- use the version from the latest DocBook
-+<public publicId="-//OASIS//DTD XML Exchange Table Model 19990315//EN"
-+ uri="soextblx.dtd"/> -->
-+
-+<!-- End of catalog data for DocBook XML V4.0 ............................. -->
-+<!-- ...................................................................... -->
-+
-+</catalog>
diff --git a/docbook-4.1.2/catalog.xml b/docbook-4.1.2/catalog.xml
new file mode 100644
--- /dev/null
diff --git a/meta/recipes-devtools/docbook-xml/docbook-xml-dtd4_4.5.bb b/meta/recipes-devtools/docbook-xml/docbook-xml-dtd4_4.5.bb
index 6452c8d99f..5229a0366c 100644
--- a/meta/recipes-devtools/docbook-xml/docbook-xml-dtd4_4.5.bb
+++ b/meta/recipes-devtools/docbook-xml/docbook-xml-dtd4_4.5.bb
@@ -1,30 +1,48 @@
SUMMARY = "Document type definitions for verification of XML data files"
DESCRIPTION = "Document type definitions for verification of XML data \
-files against the DocBook rule set, it ships with the latest DocBook 4.5 \
-XML DTD, as well as a selected set of legacy DTDs for use with older \
-documents, including 4.0, 4.1.2, 4.2, 4.3 and 4.4"
-HOMEPAGE = "http://www.docbook.org/xml/"
+files against the DocBook rule set."
+HOMEPAGE = "https://docbook.org"
-LICENSE = "OASIS"
-LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE-OASIS;md5=c608985dd5f7f215e669e7639a0b1d2e"
-
-# Note: the upstream sources are not distributed with a license file.
+# The upstream sources are not distributed with a license file.
# LICENSE-OASIS is included as a "patch" to workaround this. When
# upgrading this recipe, please verify whether this is still needed.
-SRC_URI = "http://snapshot.debian.org/archive/debian/20160728T043443Z/pool/main/d/docbook-xml/docbook-xml_${PV}.orig.tar.gz \
- file://LICENSE-OASIS \
- file://docbook-xml-update-catalog.xml.patch \
-"
-SRC_URI[md5sum] = "487b4d44e15cffb1f4048af23f98208e"
-SRC_URI[sha256sum] = "b0f8edcf697f5318e63dd98c9a931f3fee167af0805ba441db372e0f17b2a44f"
+LICENSE = "OASIS"
+LIC_FILES_CHKSUM = "file://${S}/LICENSE-OASIS;md5=c608985dd5f7f215e669e7639a0b1d2e"
-UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/d/docbook-xml/"
+# To support apps with xml schema backward compatibility, we must
+# install a set of schemas. Install the latest based on PV and then
+# name any specific versions as required. TODO: Figure out a mechanism
+# to filter exactly which versions are necessary, if that's even
+# possible.
+#
+# DocBook.org lists available release packages at https://docbook.org/xml/.
+#
+# The release packages relate docbook source at
+# https://github.com/docbook/docbook but building them requires the
+# Gradle build system. In future, it might be safer to use the source
+# tree which would also enable proper SBOM generation through the
+# bitbake build system.
+#
-S = "${WORKDIR}/docbook-xml-4.5.c31424"
+SRC_URI = "https://docbook.org/xml/4.1.2/docbkx412.zip;name=payload412;subdir=docbook-4.1.2 \
+ https://docbook.org/xml/4.2/docbook-xml-4.2.zip;name=payload42;subdir=docbook-4.2 \
+ https://docbook.org/xml/4.3/docbook-xml-4.3.zip;name=payload43;subdir=docbook-4.3 \
+ https://docbook.org/xml/4.4/docbook-xml-4.4.zip;name=payload44;subdir=docbook-4.4 \
+ https://docbook.org/xml/${PV}/docbook-xml-${PV}.zip;name=payloadPV;subdir=docbook-${PV} \
+ file://docbook-xml-update-catalog.xml.patch \
+ file://LICENSE-OASIS"
-inherit allarch
-BBCLASSEXTEND = "native"
+SRC_URI[payload412.sha256sum] = "30f0644064e0ea71751438251940b1431f46acada814a062870f486c772e7772"
+SRC_URI[payload42.sha256sum] = "acc4601e4f97a196076b7e64b368d9248b07c7abf26b34a02cca40eeebe60fa2"
+SRC_URI[payload43.sha256sum] = "23068a94ea6fd484b004c5a73ec36a66aa47ea8f0d6b62cc1695931f5c143464"
+SRC_URI[payload44.sha256sum] = "02f159eb88c4254d95e831c51c144b1863b216d909b5ff45743a1ce6f5273090"
+SRC_URI[payloadPV.sha256sum] = "4e4e037a2b83c98c6c94818390d4bdd3f6e10f6ec62dd79188594e26190dc7b4"
+
+UPSTREAM_CHECK_REGEX = "docbook-xml-(?P<pver>4(\.\d+)).zip"
+
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
do_configure (){
:
@@ -38,15 +56,20 @@ do_install () {
install -d ${D}${sysconfdir}/xml/
xmlcatalog --create --noout ${D}${sysconfdir}/xml/docbook-xml.xml
- for DTDVERSION in 4.0 4.1.2 4.2 4.3 4.4 4.5; do
+ for DTDVERSION in 4.1.2 4.2 4.3 4.4 4.5; do
DEST=${datadir}/xml/docbook/schema/dtd/$DTDVERSION
install -d -m 755 ${D}$DEST
cp -v -R docbook-$DTDVERSION/* ${D}$DEST
- xmlcatalog --verbose --noout --add nextCatalog unused file://$DEST/catalog.xml ${D}${sysconfdir}/xml/docbook-xml.xml
+ xmlcatalog --verbose --noout --add nextCatalog unused \
+ file://$DEST/catalog.xml ${D}${sysconfdir}/xml/docbook-xml.xml
done
}
+# Magic environment variable is required for downstream recipe processing
XMLCATALOGS = "${sysconfdir}/xml/docbook-xml.xml"
inherit xmlcatalog
-FILES_${PN} = "${datadir}/* ${sysconfdir}/xml/docbook-xml.xml"
+FILES:${PN} = "${datadir}/* ${sysconfdir}/xml/docbook-xml.xml"
+
+inherit allarch
+BBCLASSEXTEND = "native"
diff --git a/meta/recipes-devtools/docbook-xml/docbook-xsl-stylesheets_1.79.1.bb b/meta/recipes-devtools/docbook-xml/docbook-xsl-stylesheets_1.79.1.bb
index c5d3a24808..beda0abe95 100644
--- a/meta/recipes-devtools/docbook-xml/docbook-xsl-stylesheets_1.79.1.bb
+++ b/meta/recipes-devtools/docbook-xml/docbook-xsl-stylesheets_1.79.1.bb
@@ -42,9 +42,9 @@ do_install () {
install -v -m644 README RELEASE-NOTES* NEWS* ${D}${docdir}/${BPN}
}
-RDEPENDS_${PN} += "perl"
-FILES_${PN} = "${datadir}/xml/* ${sysconfdir}/xml/docbook-xsl.xml"
-FILES_${PN}-doc = "${datadir}/doc/*"
+RDEPENDS:${PN} += "perl"
+FILES:${PN} = "${datadir}/xml/* ${sysconfdir}/xml/docbook-xsl.xml"
+FILES:${PN}-doc = "${datadir}/doc/*"
XMLCATALOGS = "${datadir}/xml/docbook/xsl-stylesheets-${PV}/catalog.xml"
diff --git a/meta/recipes-devtools/dosfstools/dosfstools_4.1.bb b/meta/recipes-devtools/dosfstools/dosfstools_4.2.bb
index 4bd4aef099..47d81dac8d 100644
--- a/meta/recipes-devtools/dosfstools/dosfstools_4.1.bb
+++ b/meta/recipes-devtools/dosfstools/dosfstools_4.2.bb
@@ -6,27 +6,21 @@ SUMMARY = "DOS FAT Filesystem Utilities"
HOMEPAGE = "https://github.com/dosfstools/dosfstools"
SECTION = "base"
-LICENSE = "GPLv3"
+LICENSE = "GPL-3.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
-SRC_URI = "https://github.com/dosfstools/dosfstools/releases/download/v${PV}/${BP}.tar.xz \
+SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/${BP}.tar.gz \
"
-SRC_URI[md5sum] = "07a1050db1a898e9a2e03b0c4569c4bd"
-SRC_URI[sha256sum] = "e6b2aca70ccc3fe3687365009dd94a2e18e82b688ed4e260e04b7412471cc173"
+SRC_URI[sha256sum] = "64926eebf90092dca21b14259a5301b7b98e7b1943e8a201c7d726084809b527"
-UPSTREAM_CHECK_URI = "https://github.com/dosfstools/dosfstools/releases"
+inherit autotools gettext pkgconfig update-alternatives github-releases
-inherit autotools pkgconfig update-alternatives
-
-EXTRA_OECONF = "--without-udev --enable-compat-symlinks"
+EXTRA_OECONF = "--enable-compat-symlinks --without-iconv"
CFLAGS += "-D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
BBCLASSEXTEND = "native nativesdk"
-# Add codepage437 to avoid error from `dosfsck -l`
-RRECOMMENDS_${PN}_append_libc-glibc = " glibc-gconv-ibm437"
-
ALTERNATIVE_PRIORITY = "100"
-ALTERNATIVE_${PN} = "mkfs.vfat"
+ALTERNATIVE:${PN} = "mkfs.vfat"
ALTERNATIVE_LINK_NAME[mkfs.vfat] = "${sbindir}/mkfs.vfat"
diff --git a/meta/recipes-devtools/dpkg/dpkg.inc b/meta/recipes-devtools/dpkg/dpkg.inc
index 04fe85c4a8..4c1d42e0af 100644
--- a/meta/recipes-devtools/dpkg/dpkg.inc
+++ b/meta/recipes-devtools/dpkg/dpkg.inc
@@ -1,20 +1,22 @@
SUMMARY = "Package maintenance system from Debian"
-LICENSE = "GPLv2.0+"
+LICENSE = "GPL-2.0-or-later"
+HOMEPAGE = "https://salsa.debian.org/dpkg-team/dpkg"
+DESCRIPTION = "The primary interface for the dpkg suite is the dselect program. A more low-level and less user-friendly interface is available in the form of the dpkg command."
SECTION = "base"
-DEPENDS = "zlib bzip2 perl ncurses"
-DEPENDS_class-native = "bzip2-replacement-native zlib-native virtual/update-alternatives-native gettext-native perl-native"
-RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_update-alternatives} perl"
-RDEPENDS_${PN}_class-native = ""
+DEPENDS = "zlib bzip2 perl ncurses libmd"
+DEPENDS:class-native = "bzip2-replacement-native zlib-native virtual/update-alternatives-native gettext-native perl-native libmd-native"
+RDEPENDS:${PN} = "${VIRTUAL-RUNTIME_update-alternatives} perl"
+RDEPENDS:${PN}:class-native = ""
UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+)+))"
-inherit autotools gettext perlnative pkgconfig perl-version update-alternatives
+inherit autotools gettext perlnative pkgconfig perl-version update-alternatives bash-completion
-PERL_class-native = "${STAGING_BINDIR_NATIVE}/perl-native/perl"
+PERL:class-native = "${STAGING_BINDIR_NATIVE}/perl-native/perl"
-export PERL_LIBDIR = "${libdir}/perl/${@get_perl_version(d)}"
-PERL_LIBDIR_class-native = "${libdir}/perl-native/perl/${@get_perl_version(d)}"
+export PERL_LIBDIR = "${libdir}/perl5/${@get_perl_version(d)}"
+PERL_LIBDIR:class-native = "${libdir}/perl-native/perl/${@get_perl_version(d)}"
EXTRA_OECONF = "\
--disable-dselect \
@@ -25,7 +27,8 @@ EXTRA_OECONF = "\
TAR=tar \
"
-EXTRA_OECONF_append_class-target = " --disable-update-alternatives DEB_HOST_ARCH=${DPKG_ARCH}"
+EXTRA_OECONF:append:class-target = " --disable-update-alternatives DEB_HOST_ARCH=${DPKG_ARCH}"
+EXTRA_OECONF:append:class-nativesdk = " --disable-update-alternatives DEB_HOST_ARCH=${DPKG_ARCH}"
PACKAGECONFIG = "liblzma"
PACKAGECONFIG[liblzma] = "--with-liblzma,--without-liblzma, xz"
@@ -34,7 +37,7 @@ PACKAGECONFIG[liblzma] = "--with-liblzma,--without-liblzma, xz"
#autotools.bbclass default AUTOTOOLS_AUXDIR is ${S}, we need to under ${S}/build-aux
AUTOTOOLS_AUXDIR = "${S}/build-aux"
-do_configure_prepend () {
+do_configure:prepend () {
mkdir -p ${AUTOTOOLS_AUXDIR}
# autotools_do_configure updates po/Makefile.in.in, we also need
# update dselect/po and scripts/po
@@ -42,29 +45,32 @@ do_configure_prepend () {
cp -f ${STAGING_DATADIR_NATIVE}/gettext/po/Makefile.in.in ${S}/scripts/po/
}
-do_install_append () {
+do_install:append () {
if [ "${PN}" = "dpkg-native" ]; then
# update-alternatives doesn't have an offline mode
rm ${D}${bindir}/update-alternatives
- sed -i -e 's|^#!.*${bindir}/perl-native.*/perl|#!/usr/bin/env nativeperl|' ${D}${bindir}/dpkg-*
+ sed -i -e 's|^#!.*${STAGING_BINDIR_NATIVE}/perl-native.*/perl|#!/usr/bin/env nativeperl|' ${D}${bindir}/dpkg-* ${D}${sbindir}/dpkg-*
else
- sed -i -e 's|^#!.*${bindir}/perl-native.*/perl|#!/usr/bin/env perl|' ${D}${bindir}/dpkg-*
+ sed -i -e 's|^#!.*${STAGING_BINDIR_NATIVE}/perl-native.*/perl|#!/usr/bin/env perl|' ${D}${bindir}/dpkg-* ${D}${sbindir}/dpkg-*
fi
}
PROV = "virtual/update-alternatives"
-PROV_class-native = ""
+PROV:class-native = ""
+PROV:class-nativesdk = ""
PROVIDES += "${PROV}"
+FILES:${PN} += "${datadir}/zsh"
+
PACKAGES =+ "update-alternatives-dpkg"
-FILES_update-alternatives-dpkg = "${bindir}/update-alternatives ${localstatedir}/lib/dpkg/alternatives ${sysconfdir}/alternatives"
-RPROVIDES_update-alternatives-dpkg += "update-alternatives"
+FILES:update-alternatives-dpkg = "${bindir}/update-alternatives ${localstatedir}/lib/dpkg/alternatives ${sysconfdir}/alternatives"
+RPROVIDES:update-alternatives-dpkg += "update-alternatives"
PACKAGES += "${PN}-perl"
-FILES_${PN}-perl = "${libdir}/perl/${@get_perl_version(d)}"
+FILES:${PN}-perl = "${libdir}/perl5/${@get_perl_version(d)}"
-RDEPENDS_${PN}-perl += "perl-module-carp perl-module-constant \
+RDEPENDS:${PN}-perl += "perl-module-carp perl-module-constant \
perl-module-cwd perl-module-digest \
perl-module-digest-md5 perl-module-errno \
perl-module-exporter perl-module-fcntl \
@@ -88,12 +94,13 @@ RDEPENDS_${PN}-perl += "perl-module-carp perl-module-constant \
# the bitbake version.
#
PACKAGES =+ "${PN}-start-stop"
-FILES_${PN}-start-stop = "${sbindir}/start-stop-daemon.${BPN}"
-ALTERNATIVE_${PN}-start-stop = "start-stop-daemon"
+FILES:${PN}-start-stop = "${sbindir}/start-stop-daemon.${BPN}"
+ALTERNATIVE:${PN}-start-stop = "start-stop-daemon"
ALTERNATIVE_LINK_NAME[start-stop-daemon] = "${sbindir}/start-stop-daemon"
ALTERNATIVE_PRIORITY = "100"
-RDEPENDS_${PN} += "${PN}-start-stop"
-
+EXTRA_RDPENDS = "ldconfig"
+EXTRA_RDPENDS:libc-musl = ""
+RDEPENDS:${PN} += "${PN}-start-stop ${EXTRA_RDPENDS}"
-BBCLASSEXTEND = "native"
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/dpkg/dpkg/0001-Add-support-for-riscv32-CPU.patch b/meta/recipes-devtools/dpkg/dpkg/0001-Add-support-for-riscv32-CPU.patch
index 52e85705fa..b8a8697585 100644
--- a/meta/recipes-devtools/dpkg/dpkg/0001-Add-support-for-riscv32-CPU.patch
+++ b/meta/recipes-devtools/dpkg/dpkg/0001-Add-support-for-riscv32-CPU.patch
@@ -1,4 +1,4 @@
-From 279e4c274f5f295823cf9fa95d3ba131f6d711db Mon Sep 17 00:00:00 2001
+From 21459bb8d9a997e6a92885a4ef337ede9cc5aba7 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Wed, 29 Apr 2020 22:02:23 -0700
Subject: [PATCH] Add support for riscv32 CPU
@@ -11,10 +11,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
2 files changed, 2 insertions(+)
diff --git a/data/cputable b/data/cputable
-index 9f2a8e0..1d935b1 100644
+index 575c008e3..7a801a03a 100644
--- a/data/cputable
+++ b/data/cputable
-@@ -41,6 +41,7 @@ powerpc powerpc (powerpc|ppc) 32 big
+@@ -43,6 +43,7 @@ powerpc powerpc (powerpc|ppc) 32 big
powerpcel powerpcle powerpcle 32 little
ppc64 powerpc64 (powerpc|ppc)64 64 big
ppc64el powerpc64le powerpc64le 64 little
@@ -23,10 +23,10 @@ index 9f2a8e0..1d935b1 100644
s390 s390 s390 32 big
s390x s390x s390x 64 big
diff --git a/scripts/Dpkg/Vendor/Debian.pm b/scripts/Dpkg/Vendor/Debian.pm
-index a352bbd..fa1d90b 100644
+index fcf5b1e2a..175c9f436 100644
--- a/scripts/Dpkg/Vendor/Debian.pm
+++ b/scripts/Dpkg/Vendor/Debian.pm
-@@ -306,6 +306,7 @@ sub _add_build_flags {
+@@ -202,6 +202,7 @@ sub set_build_features {
powerpc
ppc64
ppc64el
@@ -34,6 +34,3 @@ index a352bbd..fa1d90b 100644
riscv64
s390x
sparc
---
-2.26.2
-
diff --git a/meta/recipes-devtools/dpkg/dpkg/0001-build.c-ignore-return-of-1-from-tar-cf.patch b/meta/recipes-devtools/dpkg/dpkg/0001-build.c-ignore-return-of-1-from-tar-cf.patch
index ffe520c513..95a49053e8 100644
--- a/meta/recipes-devtools/dpkg/dpkg/0001-build.c-ignore-return-of-1-from-tar-cf.patch
+++ b/meta/recipes-devtools/dpkg/dpkg/0001-build.c-ignore-return-of-1-from-tar-cf.patch
@@ -1,4 +1,4 @@
-From 15b081cc8bead80c493ab83369ecb3345a24a3dc Mon Sep 17 00:00:00 2001
+From 4c5e6c280a2ab4d2009d3264e94286f5fe244d0b Mon Sep 17 00:00:00 2001
From: Paul Eggleton <paul.eggleton@linux.microsoft.com>
Date: Tue, 16 Jun 2020 03:57:25 +0000
Subject: [PATCH] build.c: ignore return of 1 from tar -cf
@@ -23,16 +23,15 @@ Upstream-Status: Inappropriate [OE specific]
Original patch by RP 2015/3/27, rebased by Paul Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
-
---
- dpkg-deb/build.c | 5 ++++-
+ src/deb/build.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
-diff --git a/dpkg-deb/build.c b/dpkg-deb/build.c
-index 8436839cd..6b44a36f7 100644
---- a/dpkg-deb/build.c
-+++ b/dpkg-deb/build.c
-@@ -434,6 +434,7 @@ tarball_pack(const char *dir, filenames_feed_func *tar_filenames_feeder,
+diff --git a/src/deb/build.c b/src/deb/build.c
+index 92aba9553..6436b33da 100644
+--- a/src/deb/build.c
++++ b/src/deb/build.c
+@@ -481,6 +481,7 @@ tarball_pack(const char *dir, filenames_feed_func *tar_filenames_feeder,
{
int pipe_filenames[2], pipe_tarball[2];
pid_t pid_tar, pid_comp;
@@ -40,7 +39,7 @@ index 8436839cd..6b44a36f7 100644
/* Fork off a tar. We will feed it a list of filenames on stdin later. */
m_pipe(pipe_filenames);
-@@ -486,7 +487,9 @@ tarball_pack(const char *dir, filenames_feed_func *tar_filenames_feeder,
+@@ -533,7 +534,9 @@ tarball_pack(const char *dir, filenames_feed_func *tar_filenames_feeder,
/* All done, clean up wait for tar and <compress> to finish their job. */
close(pipe_filenames[1]);
subproc_reap(pid_comp, _("<compress> from tar -cf"), 0);
@@ -50,4 +49,4 @@ index 8436839cd..6b44a36f7 100644
+ ohshite(_("subprocess %s returned error exit status %d"), "tar -cf", rc);
}
- static time_t
+ static intmax_t
diff --git a/meta/recipes-devtools/dpkg/dpkg/0001-dpkg-Support-muslx32-build.patch b/meta/recipes-devtools/dpkg/dpkg/0001-dpkg-Support-muslx32-build.patch
index 50e6894406..e8d8576f85 100644
--- a/meta/recipes-devtools/dpkg/dpkg/0001-dpkg-Support-muslx32-build.patch
+++ b/meta/recipes-devtools/dpkg/dpkg/0001-dpkg-Support-muslx32-build.patch
@@ -1,9 +1,9 @@
-From a328c8bec0bf8071ae8f20fee4c7475205064ba1 Mon Sep 17 00:00:00 2001
+From 1d192b60fc43e24e1c2d6ff452dabeee7a227cc0 Mon Sep 17 00:00:00 2001
From: sweeaun <swee.aun.khor@intel.com>
Date: Sun, 10 Sep 2017 00:14:15 -0700
Subject: [PATCH] dpkg: Support muslx32 build
-Upstream-Status: Pending.
+Upstream-Status: Pending
Changes made on ostable and tupletable to enable muslx32 build.
Signed-off-by: sweeaun <swee.aun.khor@intel.com>
@@ -13,10 +13,10 @@ Signed-off-by: sweeaun <swee.aun.khor@intel.com>
2 files changed, 2 insertions(+)
diff --git a/data/ostable b/data/ostable
-index be64342..87db273 100644
+index 860355774..28779beca 100644
--- a/data/ostable
+++ b/data/ostable
-@@ -19,6 +19,7 @@ base-uclibc-linux linux-uclibc linux[^-]*-uclibc
+@@ -21,6 +21,7 @@ base-uclibc-linux linux-uclibc linux[^-]*-uclibc
eabihf-musl-linux linux-musleabihf linux[^-]*-musleabihf
eabi-musl-linux linux-musleabi linux[^-]*-musleabi
base-musl-linux linux-musl linux[^-]*-musl
@@ -25,17 +25,14 @@ index be64342..87db273 100644
eabi-gnu-linux linux-gnueabi linux[^-]*-gnueabi
abin32-gnu-linux linux-gnuabin32 linux[^-]*-gnuabin32
diff --git a/data/tupletable b/data/tupletable
-index 28f00bf..748ffab 100644
+index 82ae3604e..707d85bdb 100644
--- a/data/tupletable
+++ b/data/tupletable
-@@ -10,6 +10,7 @@ base-uclibc-linux-<cpu> uclibc-linux-<cpu>
+@@ -26,6 +26,7 @@ base-uclibc-linux-<cpu> uclibc-linux-<cpu>
eabihf-musl-linux-arm musl-linux-armhf
eabi-musl-linux-arm musl-linux-armel
base-musl-linux-<cpu> musl-linux-<cpu>
+x32-musl-linux-amd64 x32
- ilp32-gnu-linux-arm64 arm64ilp32
eabihf-gnu-linux-arm armhf
eabi-gnu-linux-arm armel
---
-2.7.4
-
+ eabi-gnu-linux-armeb armeb
diff --git a/meta/recipes-devtools/dpkg/dpkg/0002-Adapt-to-linux-wrs-kernel-version-which-has-characte.patch b/meta/recipes-devtools/dpkg/dpkg/0002-Adapt-to-linux-wrs-kernel-version-which-has-characte.patch
index 9fe0ca7600..fc097e5a66 100644
--- a/meta/recipes-devtools/dpkg/dpkg/0002-Adapt-to-linux-wrs-kernel-version-which-has-characte.patch
+++ b/meta/recipes-devtools/dpkg/dpkg/0002-Adapt-to-linux-wrs-kernel-version-which-has-characte.patch
@@ -1,8 +1,8 @@
-From b4ea54158c399874e12394ebc91afe98954695e2 Mon Sep 17 00:00:00 2001
+From 0cac67ce5920d6d0c9df4278bfa77da878a8a37a Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex.kanavin@gmail.com>
Date: Wed, 26 Aug 2015 16:16:16 +0300
-Subject: [PATCH 2/5] Adapt to linux-wrs kernel version, which has character
- '_' inside. Remove the first-char-digit-check (as the 1.15.8.5 version does).
+Subject: [PATCH] Adapt to linux-wrs kernel version, which has character '_'
+ inside. Remove the first-char-digit-check (as the 1.15.8.5 version does).
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
@@ -13,14 +13,14 @@ Upstream-Status: Inappropriate [embedded specific]
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/lib/dpkg/parsehelp.c b/lib/dpkg/parsehelp.c
-index 453077fd9..f42ea2882 100644
+index 63a36f55c..81901bd5a 100644
--- a/lib/dpkg/parsehelp.c
+++ b/lib/dpkg/parsehelp.c
-@@ -243,14 +243,12 @@ parseversion(struct dpkg_version *rversion, const char *string,
+@@ -275,14 +275,12 @@ parseversion(struct dpkg_version *rversion, const char *string,
ptr = rversion->version;
if (!*ptr)
return dpkg_put_error(err, _("version number is empty"));
-- if (*ptr && !c_isdigit(*ptr++))
+- if (!c_isdigit(*ptr++))
- return dpkg_put_warn(err, _("version number does not start with digit"));
for (; *ptr; ptr++) {
- if (!c_isdigit(*ptr) && !c_isalpha(*ptr) && strchr(".-+~:", *ptr) == NULL)
@@ -33,6 +33,3 @@ index 453077fd9..f42ea2882 100644
return dpkg_put_warn(err, _("invalid character in revision number"));
}
-
---
-2.11.0
diff --git a/meta/recipes-devtools/dpkg/dpkg/0003-Our-pre-postinsts-expect-D-to-be-set-when-running-in.patch b/meta/recipes-devtools/dpkg/dpkg/0003-Our-pre-postinsts-expect-D-to-be-set-when-running-in.patch
index 9ca7262eb9..916c7dfb00 100644
--- a/meta/recipes-devtools/dpkg/dpkg/0003-Our-pre-postinsts-expect-D-to-be-set-when-running-in.patch
+++ b/meta/recipes-devtools/dpkg/dpkg/0003-Our-pre-postinsts-expect-D-to-be-set-when-running-in.patch
@@ -1,4 +1,4 @@
-From dd11ed66640f79143e42d778b58fdd5a61fb5836 Mon Sep 17 00:00:00 2001
+From b6c28222276704a1e1a544983e38dfa2f3fb481a Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex.kanavin@gmail.com>
Date: Wed, 26 Aug 2015 16:25:45 +0300
Subject: [PATCH] Our pre/postinsts expect $D to be set when running in a
@@ -12,21 +12,21 @@ ALIMON 2016/05/26
ALIMON 2017/02/21
KKang 2019/02/20
---
- src/script.c | 53 +++-------------------------------------------------
+ src/main/script.c | 53 +++--------------------------------------------
1 file changed, 3 insertions(+), 50 deletions(-)
-diff --git a/src/script.c b/src/script.c
-index abe65b6f7..621ff9b27 100644
---- a/src/script.c
-+++ b/src/script.c
-@@ -96,58 +96,11 @@ setexecute(const char *path, struct stat *stab)
- static const char *
+diff --git a/src/main/script.c b/src/main/script.c
+index 017d92efe..181e7c710 100644
+--- a/src/main/script.c
++++ b/src/main/script.c
+@@ -97,58 +97,11 @@ static const char *
maintscript_pre_exec(struct command *cmd)
{
+ const char *instdir = dpkg_fsys_get_dir();
- const char *admindir = dpkg_db_get_dir();
- const char *changedir;
- size_t instdirlen = strlen(instdir);
--
+
- if (instdirlen > 0 && in_force(FORCE_SCRIPT_CHROOTLESS))
- changedir = instdir;
- else
@@ -49,9 +49,7 @@ index abe65b6f7..621ff9b27 100644
- "using --force-script-chrootless?"));
- else if (rc)
- ohshite(_("failed to chroot to '%.250s'"), instdir);
-+ if (*instdir) {
-+ setenv("D", instdir, 1);
- }
+- }
- /* Switch to a known good directory to give the maintainer script
- * a saner environment, also needed after the chroot(). */
- if (chdir(changedir))
@@ -68,19 +66,18 @@ index abe65b6f7..621ff9b27 100644
- debug(dbg_scripts, "fork/exec %s (%s )", cmd->filename,
- args.buf);
- varbuf_destroy(&args);
-- }
++ if (*instdir) {
++ setenv("D", instdir, 1);
+ }
- if (instdirlen == 0 || in_force(FORCE_SCRIPT_CHROOTLESS))
- return cmd->filename;
-
- if (strlen(cmd->filename) < instdirlen)
- internerr("maintscript name '%s' length < instdir length %zd",
- cmd->filename, instdirlen);
-
+-
- return cmd->filename + instdirlen;
+ return cmd->filename;
}
/**
---
-2.17.1
-
diff --git a/meta/recipes-devtools/dpkg/dpkg/0004-The-lutimes-function-doesn-t-work-properly-for-all-s.patch b/meta/recipes-devtools/dpkg/dpkg/0004-The-lutimes-function-doesn-t-work-properly-for-all-s.patch
index 56c85c7733..35c0c246f6 100644
--- a/meta/recipes-devtools/dpkg/dpkg/0004-The-lutimes-function-doesn-t-work-properly-for-all-s.patch
+++ b/meta/recipes-devtools/dpkg/dpkg/0004-The-lutimes-function-doesn-t-work-properly-for-all-s.patch
@@ -1,21 +1,20 @@
-From adb6bfd0feeceaf030df0debe3343d7f73e708a0 Mon Sep 17 00:00:00 2001
+From 80ad29d22f8ca4033a6a79a726580fee17bdade9 Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex.kanavin@gmail.com>
Date: Wed, 26 Aug 2015 16:27:45 +0300
-Subject: [PATCH 4/5] The lutimes function doesn't work properly for all
- systems.
+Subject: [PATCH] The lutimes function doesn't work properly for all systems.
Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Upstream-Status: Inappropriate [embedded specific]
---
- src/archives.c | 3 ++-
+ src/main/archives.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
-diff --git a/src/archives.c b/src/archives.c
-index bff5f14..b711013 100644
---- a/src/archives.c
-+++ b/src/archives.c
-@@ -449,8 +449,9 @@ tarobject_set_mtime(struct tar_entry *te, const char *path)
+diff --git a/src/main/archives.c b/src/main/archives.c
+index 7e399f922..ec3b6878f 100644
+--- a/src/main/archives.c
++++ b/src/main/archives.c
+@@ -491,8 +491,9 @@ tarobject_set_mtime(struct tar_entry *te, const char *path)
if (te->type == TAR_FILETYPE_SYMLINK) {
#ifdef HAVE_LUTIMES
@@ -26,6 +25,3 @@ index bff5f14..b711013 100644
#endif
} else {
if (utimes(path, tv))
---
-2.1.4
-
diff --git a/meta/recipes-devtools/dpkg/dpkg/0006-add-musleabi-to-known-target-tripets.patch b/meta/recipes-devtools/dpkg/dpkg/0006-add-musleabi-to-known-target-tripets.patch
index 8797ea55c6..8ac646b1a1 100644
--- a/meta/recipes-devtools/dpkg/dpkg/0006-add-musleabi-to-known-target-tripets.patch
+++ b/meta/recipes-devtools/dpkg/dpkg/0006-add-musleabi-to-known-target-tripets.patch
@@ -1,7 +1,10 @@
-From f8910022dc3ec622272f168cd0022dbdf6dff93a Mon Sep 17 00:00:00 2001
+From 1c9e78dda91ba66fbd8fe02b66b6c603d08d3343 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Wed, 30 Dec 2015 23:05:41 +0000
Subject: [PATCH] add musleabi to known target tripets
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
helps compiling dpkg for musl/arm-softfloat
@@ -14,10 +17,10 @@ Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
2 files changed, 2 insertions(+)
diff --git a/data/ostable b/data/ostable
-index 99c1f889d..be6434271 100644
+index 64f424490..860355774 100644
--- a/data/ostable
+++ b/data/ostable
-@@ -17,6 +17,7 @@
+@@ -19,6 +19,7 @@
eabi-uclibc-linux linux-uclibceabi linux[^-]*-uclibceabi
base-uclibc-linux linux-uclibc linux[^-]*-uclibc
eabihf-musl-linux linux-musleabihf linux[^-]*-musleabihf
@@ -26,17 +29,14 @@ index 99c1f889d..be6434271 100644
eabihf-gnu-linux linux-gnueabihf linux[^-]*-gnueabihf
eabi-gnu-linux linux-gnueabi linux[^-]*-gnueabi
diff --git a/data/tupletable b/data/tupletable
-index 5f500f6ca..28f00bfe6 100644
+index 7436f8056..82ae3604e 100644
--- a/data/tupletable
+++ b/data/tupletable
-@@ -8,6 +8,7 @@
+@@ -24,6 +24,7 @@
eabi-uclibc-linux-arm uclibc-linux-armel
base-uclibc-linux-<cpu> uclibc-linux-<cpu>
eabihf-musl-linux-arm musl-linux-armhf
+eabi-musl-linux-arm musl-linux-armel
base-musl-linux-<cpu> musl-linux-<cpu>
- ilp32-gnu-linux-arm64 arm64ilp32
eabihf-gnu-linux-arm armhf
---
-2.11.0
-
+ eabi-gnu-linux-arm armel
diff --git a/meta/recipes-devtools/dpkg/dpkg/0007-dpkg-deb-build.c-Remove-usage-of-clamp-mtime-in-tar.patch b/meta/recipes-devtools/dpkg/dpkg/0007-dpkg-deb-build.c-Remove-usage-of-clamp-mtime-in-tar.patch
index 4f79a40d8b..3d3a4f0bb9 100644
--- a/meta/recipes-devtools/dpkg/dpkg/0007-dpkg-deb-build.c-Remove-usage-of-clamp-mtime-in-tar.patch
+++ b/meta/recipes-devtools/dpkg/dpkg/0007-dpkg-deb-build.c-Remove-usage-of-clamp-mtime-in-tar.patch
@@ -1,4 +1,4 @@
-From 8659eeeeda74d71e12080121f0b13a88cbdda433 Mon Sep 17 00:00:00 2001
+From 6dd80236a91a505b5753bb74e5f1b47330d8b16b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?An=C3=ADbal=20Lim=C3=B3n?= <anibal.limon@linux.intel.com>
Date: Tue, 21 Feb 2017 11:23:27 -0600
Subject: [PATCH] dpkg-deb/build.c: Remove usage of --clamp-mtime in tar
@@ -23,14 +23,14 @@ Update patch context for dpkg 1.19.4.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
---
- dpkg-deb/build.c | 2 +-
+ src/deb/build.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
-diff --git a/dpkg-deb/build.c b/dpkg-deb/build.c
-index 68d1875..053fcb7 100644
---- a/dpkg-deb/build.c
-+++ b/dpkg-deb/build.c
-@@ -457,7 +457,7 @@ tarball_pack(const char *dir, filenames_feed_func *tar_filenames_feeder,
+diff --git a/src/deb/build.c b/src/deb/build.c
+index 1f0c050ee..92aba9553 100644
+--- a/src/deb/build.c
++++ b/src/deb/build.c
+@@ -504,7 +504,7 @@ tarball_pack(const char *dir, filenames_feed_func *tar_filenames_feeder,
command_init(&cmd, TAR, "tar -cf");
command_add_args(&cmd, "tar", "-cf", "-", "--format=gnu",
@@ -39,5 +39,3 @@ index 68d1875..053fcb7 100644
/* Mode might become a positional argument, pass it before -T. */
if (options->mode)
command_add_args(&cmd, "--mode", options->mode, NULL);
---
-2.11.0
diff --git a/meta/recipes-devtools/dpkg/dpkg/add_armeb_triplet_entry.patch b/meta/recipes-devtools/dpkg/dpkg/add_armeb_triplet_entry.patch
index d165616a19..cbdf01dbd9 100644
--- a/meta/recipes-devtools/dpkg/dpkg/add_armeb_triplet_entry.patch
+++ b/meta/recipes-devtools/dpkg/dpkg/add_armeb_triplet_entry.patch
@@ -1,5 +1,11 @@
-Author: Krishnanjanappa, Jagadeesh <jagadeesh.krishnanjanappa@caviumnetworks.com>
-Date: Wed Apr 8 18:08:14 2015 +0530
+From 1c3a109df54b6092fa85a1fe2b7771e3b959655f Mon Sep 17 00:00:00 2001
+From: "Krishnanjanappa, Jagadeesh"
+ <jagadeesh.krishnanjanappa@caviumnetworks.com>
+Date: Wed, 8 Apr 2015 18:08:14 +0530
+Subject: [PATCH] dpkg: add triplet entry to fix build error for armeb
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
[PATCH] add armeb triplet entry into triplettable.
@@ -25,24 +31,19 @@ Upstream-Status: Pending
Signed-off-by: Krishnanjanappa, Jagadeesh <jagadeesh.krishnanjanappa@caviumnetworks.com>
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
-
---
data/tupletable | 1 +
1 file changed, 1 insertion(+)
diff --git a/data/tupletable b/data/tupletable
-index b7802bec3..5f500f6ca 100644
+index ae9f2ddb4..7436f8056 100644
--- a/data/tupletable
+++ b/data/tupletable
-@@ -12,6 +12,7 @@ base-musl-linux-<cpu> musl-linux-<cpu>
- ilp32-gnu-linux-arm64 arm64ilp32
+@@ -27,6 +27,7 @@ eabihf-musl-linux-arm musl-linux-armhf
+ base-musl-linux-<cpu> musl-linux-<cpu>
eabihf-gnu-linux-arm armhf
eabi-gnu-linux-arm armel
+eabi-gnu-linux-armeb armeb
abin32-gnu-linux-mips64r6el mipsn32r6el
abin32-gnu-linux-mips64r6 mipsn32r6
abin32-gnu-linux-mips64el mipsn32el
---
-2.11.0
-
-
diff --git a/meta/recipes-devtools/dpkg/dpkg/arch_pm.patch b/meta/recipes-devtools/dpkg/dpkg/arch_pm.patch
index 4e0d22acbb..df2cd88ca4 100644
--- a/meta/recipes-devtools/dpkg/dpkg/arch_pm.patch
+++ b/meta/recipes-devtools/dpkg/dpkg/arch_pm.patch
@@ -1,3 +1,8 @@
+From bdf60ebbeb433a80e6cfcbde9d83d89564e79e20 Mon Sep 17 00:00:00 2001
+From: Joe Slater <jslater@windriver.com>
+Date: Mon, 26 Aug 2013 23:38:45 +0000
+Subject: [PATCH] dpkg: fix configuration issue for mips64
+
configure cannot determine the proper cpu, os, or
architecture for mips64, and possibly other arch's
because of faulty code added to Arch.pm in the latest
@@ -6,16 +11,15 @@ release from upstream. We remove that code.
Upstream-Status: Pending
Signed-off-by: Joe Slater <jslater@windriver.com>
-
---
scripts/Dpkg/Arch.pm | 3 ---
1 file changed, 3 deletions(-)
diff --git a/scripts/Dpkg/Arch.pm b/scripts/Dpkg/Arch.pm
-index 1720847b8..6345ce3b9 100644
+index 0d352eeb9..4ef5fa307 100644
--- a/scripts/Dpkg/Arch.pm
+++ b/scripts/Dpkg/Arch.pm
-@@ -323,9 +323,6 @@ sub _load_tupletable()
+@@ -326,9 +326,6 @@ sub _load_tupletable()
(my $dt = $debtuple) =~ s/<cpu>/$_cpu/;
(my $da = $debarch) =~ s/<cpu>/$_cpu/;
@@ -25,5 +29,3 @@ index 1720847b8..6345ce3b9 100644
$debarch_to_debtuple{$da} = $dt;
$debtuple_to_debarch{$dt} = $da;
}
---
-2.11.0
diff --git a/meta/recipes-devtools/dpkg/dpkg/noman.patch b/meta/recipes-devtools/dpkg/dpkg/noman.patch
index a7f3cb8f45..e80549d740 100644
--- a/meta/recipes-devtools/dpkg/dpkg/noman.patch
+++ b/meta/recipes-devtools/dpkg/dpkg/noman.patch
@@ -1,22 +1,22 @@
-Upstream-Status: Inappropriate [disable feature]
+From 008ec5150dd086ffa3940cb520f1ca91939f138d Mon Sep 17 00:00:00 2001
+From: Chris Larson <kergoth@openedhand.com>
+Date: Tue, 5 Sep 2006 07:24:58 +0000
+Subject: [PATCH] Add dpkg, modified from upstream oe.
+Upstream-Status: Inappropriate [disable feature]
---
- Makefile.am | 3 +--
- 1 file changed, 1 insertion(+), 2 deletions(-)
+ Makefile.am | 1 -
+ 1 file changed, 1 deletion(-)
diff --git a/Makefile.am b/Makefile.am
-index 0da52cb16..a1f79e0a2 100644
+index 7186045d4..daca9faf2 100644
--- a/Makefile.am
+++ b/Makefile.am
-@@ -13,8 +13,7 @@ SUBDIRS = \
+@@ -11,7 +11,6 @@ SUBDIRS = \
$(MAYBE_DSELECT) \
scripts \
- t-func \
-- po \
-- man
-+ po
+ po \
+- man \
+ # EOL
ACLOCAL_AMFLAGS = -I m4
-
---
-2.11.0
diff --git a/meta/recipes-devtools/dpkg/dpkg/pager.patch b/meta/recipes-devtools/dpkg/dpkg/pager.patch
deleted file mode 100644
index e56b9d28af..0000000000
--- a/meta/recipes-devtools/dpkg/dpkg/pager.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-pager: Use less instead of pager
-
-pager is a Debianism. Istead use directly pager.
-
-Upstream-Status: Inappropriate [OE-Core integration specific]
-
-Suggested-by: Burton, Ross <ross.burton@intel.com>
-Signed-off-by: Ricardo Ribalda <ricardo@ribalda.com>
-diff --git a/lib/dpkg/dpkg.h b/lib/dpkg/dpkg.h
-index 2bb067a..6cbce80 100644
---- a/lib/dpkg/dpkg.h
-+++ b/lib/dpkg/dpkg.h
-@@ -95,7 +95,7 @@ DPKG_BEGIN_DECLS
- #define MAXUPDATES 250
-
- #define DEFAULTSHELL "sh"
--#define DEFAULTPAGER "pager"
-+#define DEFAULTPAGER "less"
-
- #define MD5HASHLEN 32
- #define MAXTRIGDIRECTIVE 256
diff --git a/meta/recipes-devtools/dpkg/dpkg/remove-tar-no-timestamp.patch b/meta/recipes-devtools/dpkg/dpkg/remove-tar-no-timestamp.patch
index 4f408ff777..9307725e8b 100644
--- a/meta/recipes-devtools/dpkg/dpkg/remove-tar-no-timestamp.patch
+++ b/meta/recipes-devtools/dpkg/dpkg/remove-tar-no-timestamp.patch
@@ -1,13 +1,21 @@
-busybox-1.19.4 tar utility doesn't support --warning=no-timestamp
+From add92699ca1397205e1d7b46c3ab43de06b9a6c7 Mon Sep 17 00:00:00 2001
+From: Constantin Musca <constantinx.musca@intel.com>
+Date: Tue, 28 Aug 2012 17:02:40 +0300
+Subject: [PATCH] busybox-1.19.4 tar utility doesn't support
+ --warning=no-timestamp
Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Upstream-Status: Inappropriate [configuration]
-Index: dpkg-1.17.1/dpkg-deb/extract.c
-===================================================================
---- dpkg-1.17.1.orig/dpkg-deb/extract.c
-+++ dpkg-1.17.1/dpkg-deb/extract.c
-@@ -318,7 +318,6 @@ extracthalf(const char *debar, const cha
+---
+ src/deb/extract.c | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/src/deb/extract.c b/src/deb/extract.c
+index 8b78a7eab..fd7595808 100644
+--- a/src/deb/extract.c
++++ b/src/deb/extract.c
+@@ -338,7 +338,6 @@ extracthalf(const char *debar, const char *dir,
command_add_arg(&cmd, "-f");
command_add_arg(&cmd, "-");
diff --git a/meta/recipes-devtools/dpkg/dpkg_1.20.5.bb b/meta/recipes-devtools/dpkg/dpkg_1.22.6.bb
index d97b69c0b9..3f5f7395e0 100644
--- a/meta/recipes-devtools/dpkg/dpkg_1.20.5.bb
+++ b/meta/recipes-devtools/dpkg/dpkg_1.22.6.bb
@@ -1,7 +1,7 @@
require dpkg.inc
LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
-SRC_URI = "git://salsa.debian.org/dpkg-team/dpkg.git;protocol=https \
+SRC_URI = "git://salsa.debian.org/dpkg-team/dpkg.git;protocol=https;branch=main \
file://noman.patch \
file://remove-tar-no-timestamp.patch \
file://arch_pm.patch \
@@ -12,12 +12,11 @@ SRC_URI = "git://salsa.debian.org/dpkg-team/dpkg.git;protocol=https \
file://0006-add-musleabi-to-known-target-tripets.patch \
file://0007-dpkg-deb-build.c-Remove-usage-of-clamp-mtime-in-tar.patch \
file://0001-dpkg-Support-muslx32-build.patch \
- file://pager.patch \
file://0001-Add-support-for-riscv32-CPU.patch \
"
-SRC_URI_append_class-native = " file://0001-build.c-ignore-return-of-1-from-tar-cf.patch"
+SRC_URI:append:class-native = " file://0001-build.c-ignore-return-of-1-from-tar-cf.patch"
-SRCREV = "823a67d67538b1b403a32d1fef40e6e228265566"
+SRCREV = "b2f9600ead232a2dd3c27f8b52807a9ca5854d17"
S = "${WORKDIR}/git"
diff --git a/meta/recipes-devtools/dwarfsrcfiles/dwarfsrcfiles.bb b/meta/recipes-devtools/dwarfsrcfiles/dwarfsrcfiles.bb
index 2c843a9342..8e42b12b77 100644
--- a/meta/recipes-devtools/dwarfsrcfiles/dwarfsrcfiles.bb
+++ b/meta/recipes-devtools/dwarfsrcfiles/dwarfsrcfiles.bb
@@ -1,18 +1,22 @@
SUMMARY = "A small utility for printing debug source file locations embedded in binaries"
-LICENSE = "GPLv2+"
-LIC_FILES_CHKSUM = "file://../dwarfsrcfiles.c;md5=31483894e453a77acbb67847565f1b5c;beginline=1;endline=8"
+DESCRIPTION = "${SUMMARY}"
+LICENSE = "GPL-2.0-or-later"
+LIC_FILES_CHKSUM = "file://dwarfsrcfiles.c;md5=31483894e453a77acbb67847565f1b5c;beginline=1;endline=8"
SRC_URI = "file://dwarfsrcfiles.c"
BBCLASSEXTEND = "native"
DEPENDS = "elfutils"
-DEPENDS_append_libc-musl = " argp-standalone"
+DEPENDS:append:libc-musl = " argp-standalone"
+
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
do_compile () {
- ${CC} ${CFLAGS} ${LDFLAGS} -o dwarfsrcfiles ../dwarfsrcfiles.c -lelf -ldw
+ ${CC} ${CFLAGS} ${LDFLAGS} -o dwarfsrcfiles ${S}/dwarfsrcfiles.c -lelf -ldw
}
-do_compile_libc-musl () {
- ${CC} ${CFLAGS} ${LDFLAGS} -o dwarfsrcfiles ../dwarfsrcfiles.c -lelf -ldw -largp
+do_compile:libc-musl () {
+ ${CC} ${CFLAGS} ${LDFLAGS} -o dwarfsrcfiles ${S}/dwarfsrcfiles.c -lelf -ldw -largp
}
do_install () {
diff --git a/meta/recipes-devtools/dwarfsrcfiles/files/dwarfsrcfiles.c b/meta/recipes-devtools/dwarfsrcfiles/files/dwarfsrcfiles.c
index af7af524eb..9eb5ca807a 100644
--- a/meta/recipes-devtools/dwarfsrcfiles/files/dwarfsrcfiles.c
+++ b/meta/recipes-devtools/dwarfsrcfiles/files/dwarfsrcfiles.c
@@ -9,6 +9,7 @@
#include <argp.h>
#include <stdio.h>
+#include <stdlib.h>
#include <dwarf.h>
#include <elfutils/libdw.h>
@@ -83,13 +84,15 @@ process_cu (Dwarf_Die *cu_die)
int
main (int argc, char **argv)
{
- char* args[3];
+ char* args[5];
int res = 0;
Dwfl *dwfl;
Dwarf_Addr bias;
- if (argc != 2)
+ if (argc != 2) {
fprintf(stderr, "Usage %s <file>", argv[0]);
+ exit(EXIT_FAILURE);
+ }
// Pretend "dwarfsrcfiles -e <file>" was given, so we can use standard
// dwfl argp parser to open the file for us and get our Dwfl. Useful
@@ -98,8 +101,12 @@ main (int argc, char **argv)
args[0] = argv[0];
args[1] = "-e";
args[2] = argv[1];
+ // We don't want to follow debug linked files due to the way OE processes
+ // files, could race against changes in the linked binary (e.g. objcopy on it)
+ args[3] = "--debuginfo-path";
+ args[4] = "/not/exist";
- argp_parse (dwfl_standard_argp (), 3, args, 0, NULL, &dwfl);
+ argp_parse (dwfl_standard_argp (), 5, args, 0, NULL, &dwfl);
Dwarf_Die *cu = NULL;
while ((cu = dwfl_nextcu (dwfl, cu, &bias)) != NULL)
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs.inc b/meta/recipes-devtools/e2fsprogs/e2fsprogs.inc
index 009f5ed807..0cb3f0e6a6 100644
--- a/meta/recipes-devtools/e2fsprogs/e2fsprogs.inc
+++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs.inc
@@ -3,12 +3,12 @@ DESCRIPTION = "The Ext2 Filesystem Utilities (e2fsprogs) contain all of the stan
fixing, configuring , and debugging ext2 filesystems."
HOMEPAGE = "http://e2fsprogs.sourceforge.net/"
-LICENSE = "GPLv2 & LGPLv2 & BSD & MIT"
-LICENSE_e2fsprogs-dumpe2fs = "GPLv2"
-LICENSE_e2fsprogs-e2fsck = "GPLv2"
-LICENSE_e2fsprogs-mke2fs = "GPLv2"
-LICENSE_e2fsprogs-tune2fs = "GPLv2"
-LICENSE_e2fsprogs-badblocks = "GPLv2"
+LICENSE = "GPL-2.0-only & LGPL-2.0-only & BSD-3-Clause & MIT"
+LICENSE:e2fsprogs-dumpe2fs = "GPL-2.0-only"
+LICENSE:e2fsprogs-e2fsck = "GPL-2.0-only"
+LICENSE:e2fsprogs-mke2fs = "GPL-2.0-only"
+LICENSE:e2fsprogs-tune2fs = "GPL-2.0-only"
+LICENSE:e2fsprogs-badblocks = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://NOTICE;md5=d50be0580c0b0a7fbc7a4830bbe6c12b \
file://lib/ext2fs/ext2fs.h;beginline=1;endline=9;md5=596a8dedcb4e731c6b21c7a46fba6bef \
file://lib/e2p/e2p.h;beginline=1;endline=7;md5=8a74ade8f9d65095d70ef2d4bf48e36a \
@@ -17,9 +17,9 @@ LIC_FILES_CHKSUM = "file://NOTICE;md5=d50be0580c0b0a7fbc7a4830bbe6c12b \
file://lib/et/et_name.c;beginline=1;endline=11;md5=ead236447dac7b980dbc5b4804d8c836 \
file://lib/ss/ss.h;beginline=1;endline=20;md5=6e89ad47da6e75fecd2b5e0e81e1d4a6"
SECTION = "base"
-DEPENDS = "util-linux attr"
+DEPENDS = "util-linux attr autoconf-archive-native"
-SRC_URI = "git://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git"
+SRC_URI = "git://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git;branch=master;protocol=https"
S = "${WORKDIR}/git"
inherit autotools gettext texinfo pkgconfig multilib_header update-alternatives ptest
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs/0001-configure.ac-correct-AM_GNU_GETTEXT.patch b/meta/recipes-devtools/e2fsprogs/e2fsprogs/0001-configure.ac-correct-AM_GNU_GETTEXT.patch
deleted file mode 100644
index 2719594c2f..0000000000
--- a/meta/recipes-devtools/e2fsprogs/e2fsprogs/0001-configure.ac-correct-AM_GNU_GETTEXT.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From f907fea9ea053d5433b5199ce74008664141f753 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin <alex.kanavin@gmail.com>
-Date: Tue, 19 Nov 2019 17:32:33 +0100
-Subject: [PATCH] configure.ac: correct AM_GNU_GETTEXT
-
-New version of gettext require the 'external' argument.
-
-Upstream-Status: Pending
-Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
----
- configure.ac | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/configure.ac b/configure.ac
-index 654ff43d..4772b97b 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -873,7 +873,7 @@ AC_SUBST(GETTEXT_PACKAGE)
- AC_SUBST(PACKAGE)
- AC_SUBST(VERSION)
-
--AM_GNU_GETTEXT
-+AM_GNU_GETTEXT([external])
- dnl @MKDIR_P@ is expanded in AM_GNU_GETTEXT
- AC_SUBST([mkdir_p],['$(MKDIR_P)'])
- dnl
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs/0001-fix-up-check-for-hardlinks-always-false-if-inode-0xF.patch b/meta/recipes-devtools/e2fsprogs/e2fsprogs/0001-fix-up-check-for-hardlinks-always-false-if-inode-0xF.patch
deleted file mode 100644
index 0e8cbad25a..0000000000
--- a/meta/recipes-devtools/e2fsprogs/e2fsprogs/0001-fix-up-check-for-hardlinks-always-false-if-inode-0xF.patch
+++ /dev/null
@@ -1,55 +0,0 @@
-From dcb36fd007ddb32d8c5cfcf5e9ddb3d713d65396 Mon Sep 17 00:00:00 2001
-From: Hongxu Jia <hongxu.jia@windriver.com>
-Date: Tue, 21 Jul 2020 09:43:03 +0800
-Subject: [PATCH] fix up check for hardlinks always false if inode > 0xFFFFFFFF
-
-Since commit [382ed4a1 e2fsck: use proper types for variables][1]
-applied, it used ext2_ino_t instead of ino_t for referencing inode
-numbers, but the type of is_hardlink's `ino' should not be instead,
-The ext2_ino_t is 32bit, if inode > 0xFFFFFFFF, its value will be
-truncated.
-
-Add a debug printf to show the value of inode, when it check for hardlink
-files, it will always return false if inode > 0xFFFFFFFF
-|--- a/misc/create_inode.c
-|+++ b/misc/create_inode.c
-|@@ -605,6 +605,7 @@ static int is_hardlink(struct hdlinks_s *hdlinks, dev_t dev, ext2_ino_t ino)
-| {
-| int i;
-|
-|+ printf("%s %d, %lX, %lX\n", __FUNCTION__, __LINE__, hdlinks->hdl[i].src_ino, ino);
-| for (i = 0; i < hdlinks->count; i++) {
-| if (hdlinks->hdl[i].src_dev == dev &&
-| hdlinks->hdl[i].src_ino == ino)
-
-Here is debug message:
-is_hardlink 608, 2913DB886, 913DB886
-
-The length of ext2_ino_t is 32bit (typedef __u32 __bitwise ext2_ino_t;),
-and ino_t is 64bit on 64bit system (such as x86-64), recover `ino' to ino_t.
-
-[1] https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git/commit/?id=382ed4a1c2b60acb9db7631e86dda207bde6076e
-
-Upstream-Status: Submitted [https://github.com/tytso/e2fsprogs/pull/48]
-
-Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
----
- misc/create_inode.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/misc/create_inode.c b/misc/create_inode.c
-index e8d1df6b..837f3875 100644
---- a/misc/create_inode.c
-+++ b/misc/create_inode.c
-@@ -601,7 +601,7 @@ out:
- return err;
- }
-
--static int is_hardlink(struct hdlinks_s *hdlinks, dev_t dev, ext2_ino_t ino)
-+static int is_hardlink(struct hdlinks_s *hdlinks, dev_t dev, ino_t ino)
- {
- int i;
-
---
-2.18.2
-
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs/0001-intl-do-not-try-to-use-gettext-defines-that-no-longe.patch b/meta/recipes-devtools/e2fsprogs/e2fsprogs/0001-intl-do-not-try-to-use-gettext-defines-that-no-longe.patch
deleted file mode 100644
index 31b585fc9a..0000000000
--- a/meta/recipes-devtools/e2fsprogs/e2fsprogs/0001-intl-do-not-try-to-use-gettext-defines-that-no-longe.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From d034239f05cfba849f6ad16eb3f1ea37efbe4f95 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin <alex.kanavin@gmail.com>
-Date: Tue, 19 Nov 2019 18:34:00 +0100
-Subject: [PATCH] intl: do not try to use gettext defines that no longer exist
-
-Newer version of gettext no longer define this in m4 files,
-so patch it out until e2fsprogs upstream sorts the situation.
-
-Upstream-Status: Inappropriate [hardcodes a choice]
-Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
----
- intl/Makefile.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/intl/Makefile.in b/intl/Makefile.in
-index e037e23c..89a876b8 100644
---- a/intl/Makefile.in
-+++ b/intl/Makefile.in
-@@ -175,7 +175,7 @@ libgnuintl.h.msvc-static libgnuintl.h.msvc-shared README.woe32 Makefile.msvc
- DISTFILES.obsolete = xopen-msg.sed linux-msg.sed po2tbl.sed.in cat-compat.c \
- COPYING.LIB-2 gettext.h libgettext.h plural-eval.c libgnuintl.h
-
--all: all-@USE_INCLUDED_LIBINTL@
-+all:
- all-yes: libintl.$la libintl.h charset.alias ref-add.sed ref-del.sed
- all-no: all-no-@BUILD_INCLUDED_LIBINTL@
- all-no-yes: libgnuintl.$la
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs/e2fsprogs-fix-missing-check-for-permission-denied.patch b/meta/recipes-devtools/e2fsprogs/e2fsprogs/e2fsprogs-fix-missing-check-for-permission-denied.patch
index 284ac90196..b038e61eb7 100644
--- a/meta/recipes-devtools/e2fsprogs/e2fsprogs/e2fsprogs-fix-missing-check-for-permission-denied.patch
+++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs/e2fsprogs-fix-missing-check-for-permission-denied.patch
@@ -1,4 +1,4 @@
-From b55dfb4b62e507ae4f0814aec7597b56f9d6292a Mon Sep 17 00:00:00 2001
+From 5bc75654690a2d916190168b865770a7c93e65dd Mon Sep 17 00:00:00 2001
From: Jackie Huang <jackie.huang@windriver.com>
Date: Wed, 10 Aug 2016 11:19:44 +0800
Subject: [PATCH] Fix missing check for permission denied.
@@ -19,7 +19,7 @@ Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/support/profile.c b/lib/support/profile.c
-index 585ed595..810dd66b 100644
+index bdb14b17..1bd62406 100644
--- a/lib/support/profile.c
+++ b/lib/support/profile.c
@@ -335,7 +335,7 @@ profile_init(const char * const *files, profile_t *ret_profile)
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs/mkdir_p.patch b/meta/recipes-devtools/e2fsprogs/e2fsprogs/mkdir_p.patch
index b0fa4b8cc5..f6916a1112 100644
--- a/meta/recipes-devtools/e2fsprogs/e2fsprogs/mkdir_p.patch
+++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs/mkdir_p.patch
@@ -1,18 +1,27 @@
-e2fsprogs: expand @mkdir_p@
+From e3a30baa5c1e2f0ac7e246539db1c7db5a2fe302 Mon Sep 17 00:00:00 2001
+From: Joe Slater <jslater@windriver.com>
+Date: Tue, 7 Mar 2017 14:53:19 -0800
+Subject: [PATCH] e2fsprogs: expand @mkdir_p@
Add AC_SUBST to configure.ac. @mkdir_p@ is currently
-not expanded so no locale data is written into usr/share/locale.
+not expanded so no locale data is written into usr/share/locale.
Upstream-Status: Pending
Signed-off-by: Joe Slater <jslater@windriver.com>
+---
+ configure.ac | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/configure.ac b/configure.ac
+index 4c4b5523..3475c707 100644
--- a/configure.ac
+++ b/configure.ac
-@@ -811,6 +811,8 @@ AC_SUBST(PACKAGE)
+@@ -919,6 +919,8 @@ AC_SUBST(PACKAGE)
AC_SUBST(VERSION)
- AM_GNU_GETTEXT
+ AM_GNU_GETTEXT([external])
+dnl @MKDIR_P@ is expanded in AM_GNU_GETTEXT
+AC_SUBST([mkdir_p],['$(MKDIR_P)'])
dnl
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs/ptest.patch b/meta/recipes-devtools/e2fsprogs/e2fsprogs/ptest.patch
index c3e46ce65f..20839b7286 100644
--- a/meta/recipes-devtools/e2fsprogs/e2fsprogs/ptest.patch
+++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs/ptest.patch
@@ -22,7 +22,7 @@ index 8c4d2048..e021af32 100644
@echo "HTREE=y" >> test_one
@echo "QUOTA=y" >> test_one
- @echo "SRCDIR=@srcdir@" >> test_one
-+ @echo "SRCDIR=${prefix}${libdir}/e2fsprogs/ptest/test" >> test_one
++ @echo "SRCDIR=@PTEST_PATH@/test" >> test_one
@echo "DIFF_OPTS=@UNI_DIFF_OPTS@" >> test_one
@echo "SIZEOF_TIME_T=@SIZEOF_TIME_T@" >> test_one
@echo "DD=@DD@" >>test_one
@@ -31,7 +31,7 @@ index 8c4d2048..e021af32 100644
@[ -f test_script ] && chmod u+w test_script || true
@echo "#!/bin/sh" > test_script
- @echo "SRCDIR=@srcdir@" >> test_script
-+ @echo "SRCDIR=${prefix}${libdir}/e2fsprogs/ptest/test" >> test_script
++ @echo "SRCDIR=@PTEST_PATH@/test" >> test_script
@cat $(srcdir)/test_script.in >> test_script
@chmod +x-w test_script
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs/quiet-debugfs.patch b/meta/recipes-devtools/e2fsprogs/e2fsprogs/quiet-debugfs.patch
index aac88eed98..0a6904208d 100644
--- a/meta/recipes-devtools/e2fsprogs/e2fsprogs/quiet-debugfs.patch
+++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs/quiet-debugfs.patch
@@ -1,4 +1,4 @@
-From 9aa68ad81b97847dda3493145f4b0a7cc580c551 Mon Sep 17 00:00:00 2001
+From 580ef6cae2d353f3aa5d5c52d6614bdc1df50f08 Mon Sep 17 00:00:00 2001
From: Ross Burton <ross.burton@intel.com>
Date: Mon, 23 Dec 2013 13:38:34 +0000
Subject: [PATCH] e2fsprogs: silence debugfs
@@ -14,10 +14,10 @@ Signed-off-by: Ross Burton <ross.burton@intel.com>
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debugfs/debugfs.c b/debugfs/debugfs.c
-index 15b01214..15164df2 100644
+index 9b6321dc..8ebf3ddb 100644
--- a/debugfs/debugfs.c
+++ b/debugfs/debugfs.c
-@@ -2492,7 +2492,7 @@ static int source_file(const char *cmd_file, int ss_idx)
+@@ -2516,7 +2516,7 @@ static int source_file(const char *cmd_file, int ss_idx)
cp = strchr(buf, '\r');
if (cp)
*cp = 0;
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs/run-ptest b/meta/recipes-devtools/e2fsprogs/e2fsprogs/run-ptest
index c97c0377e9..279923db8e 100644
--- a/meta/recipes-devtools/e2fsprogs/e2fsprogs/run-ptest
+++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs/run-ptest
@@ -8,3 +8,4 @@ rm -f *.tmp
rm -f *.ok
rm -f *.failed
rm -f *.log
+cp ../data/test_data.tmp ./
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.45.6.bb b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.47.0.bb
index e6a4bd1f8c..940b47c155 100644
--- a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.45.6.bb
+++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.47.0.bb
@@ -4,31 +4,29 @@ SRC_URI += "file://remove.ldconfig.call.patch \
file://run-ptest \
file://ptest.patch \
file://mkdir_p.patch \
- file://0001-configure.ac-correct-AM_GNU_GETTEXT.patch \
- file://0001-intl-do-not-try-to-use-gettext-defines-that-no-longe.patch \
- file://0001-fix-up-check-for-hardlinks-always-false-if-inode-0xF.patch \
+ "
+SRC_URI:append:class-native = " \
+ file://e2fsprogs-fix-missing-check-for-permission-denied.patch \
+ file://quiet-debugfs.patch \
"
-SRC_URI_append_class-native = " file://e2fsprogs-fix-missing-check-for-permission-denied.patch \
- file://quiet-debugfs.patch \
-"
-
-SRCREV = "506d96fe640f76ab04276e0a7c578aa108ce19f8"
+SRCREV = "f4c9cc4bedacde8408edda3520a32d3842290112"
UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+\.\d+(\.\d+)*)$"
EXTRA_OECONF += "--libdir=${base_libdir} --sbindir=${base_sbindir} \
--enable-elf-shlibs --disable-libuuid --disable-uuidd \
--disable-libblkid --enable-verbose-makecmds \
- --with-crond-dir=no"
+ --enable-largefile --with-crond-dir=no"
-EXTRA_OECONF_darwin = "--libdir=${base_libdir} --sbindir=${base_sbindir} --enable-bsd-shlibs"
+EXTRA_OECONF:darwin = "--libdir=${base_libdir} --sbindir=${base_sbindir} --enable-bsd-shlibs"
+CFLAGS:append:riscv32 = " -D_FILE_OFFSET_BITS=64"
PACKAGECONFIG ??= ""
PACKAGECONFIG[fuse] = '--enable-fuse2fs,--disable-fuse2fs,fuse'
# make locale rules sometimes fire, sometimes don't as git doesn't preserve
# file mktime. Touch the files introducing non-determinism to the build
-do_compile_prepend (){
+do_compile:prepend (){
find ${S}/po -type f -name "*.po" -exec touch {} +
}
@@ -53,6 +51,7 @@ do_install () {
oe_multilib_header ext2fs/ext2_types.h
install -d ${D}${base_bindir}
mv ${D}${bindir}/chattr ${D}${base_bindir}/chattr.e2fsprogs
+ mv ${D}${bindir}/lsattr ${D}${base_bindir}/lsattr.e2fsprogs
install -v -m 755 ${S}/contrib/populate-extfs.sh ${D}${base_sbindir}/
@@ -68,57 +67,59 @@ e2fsprogs_conf_fixup () {
done
}
-do_install_append_class-native() {
+do_install:append:class-native() {
e2fsprogs_conf_fixup
}
-do_install_append_class-nativesdk() {
+do_install:append:class-nativesdk() {
e2fsprogs_conf_fixup
}
-do_install_append_class-target() {
+do_install:append:class-target() {
mv ${D}${base_sbindir}/mke2fs ${D}${base_sbindir}/mke2fs.e2fsprogs
mv ${D}${base_sbindir}/mkfs.ext2 ${D}${base_sbindir}/mkfs.ext2.e2fsprogs
mv ${D}${base_sbindir}/tune2fs ${D}${base_sbindir}/tune2fs.e2fsprogs
}
-RDEPENDS_e2fsprogs = "e2fsprogs-badblocks e2fsprogs-dumpe2fs"
-RRECOMMENDS_e2fsprogs = "e2fsprogs-mke2fs e2fsprogs-e2fsck"
+RDEPENDS:e2fsprogs = "e2fsprogs-badblocks e2fsprogs-dumpe2fs"
+RRECOMMENDS:e2fsprogs = "e2fsprogs-mke2fs e2fsprogs-e2fsck"
PACKAGES =+ "e2fsprogs-badblocks e2fsprogs-dumpe2fs e2fsprogs-e2fsck e2fsprogs-e2scrub e2fsprogs-mke2fs e2fsprogs-resize2fs e2fsprogs-tune2fs"
PACKAGES =+ "libcomerr libss libe2p libext2fs"
-FILES_e2fsprogs-dumpe2fs = "${base_sbindir}/dumpe2fs"
-FILES_e2fsprogs-resize2fs = "${base_sbindir}/resize2fs*"
-FILES_e2fsprogs-e2fsck = "${base_sbindir}/e2fsck ${base_sbindir}/fsck.ext*"
-FILES_e2fsprogs-e2scrub = "${base_sbindir}/e2scrub*"
-FILES_e2fsprogs-mke2fs = "${base_sbindir}/mke2fs.e2fsprogs ${base_sbindir}/mkfs.ext* ${sysconfdir}/mke2fs.conf"
-FILES_e2fsprogs-tune2fs = "${base_sbindir}/tune2fs.e2fsprogs ${base_sbindir}/e2label"
-FILES_e2fsprogs-badblocks = "${base_sbindir}/badblocks"
-FILES_libcomerr = "${base_libdir}/libcom_err.so.*"
-FILES_libss = "${base_libdir}/libss.so.*"
-FILES_libe2p = "${base_libdir}/libe2p.so.*"
-FILES_libext2fs = "${libdir}/e2initrd_helper ${base_libdir}/libext2fs.so.*"
-FILES_${PN}-dev += "${datadir}/*/*.awk ${datadir}/*/*.sed ${base_libdir}/*.so ${bindir}/compile_et ${bindir}/mk_cmds"
-
-ALTERNATIVE_${PN} = "chattr"
+FILES:e2fsprogs-dumpe2fs = "${base_sbindir}/dumpe2fs"
+FILES:e2fsprogs-resize2fs = "${base_sbindir}/resize2fs*"
+FILES:e2fsprogs-e2fsck = "${base_sbindir}/e2fsck ${base_sbindir}/fsck.ext*"
+FILES:e2fsprogs-e2scrub = "${base_sbindir}/e2scrub*"
+FILES:e2fsprogs-mke2fs = "${base_sbindir}/mke2fs.e2fsprogs ${base_sbindir}/mkfs.ext* ${sysconfdir}/mke2fs.conf"
+FILES:e2fsprogs-tune2fs = "${base_sbindir}/tune2fs.e2fsprogs ${base_sbindir}/e2label"
+FILES:e2fsprogs-badblocks = "${base_sbindir}/badblocks"
+FILES:libcomerr = "${base_libdir}/libcom_err.so.*"
+FILES:libss = "${base_libdir}/libss.so.*"
+FILES:libe2p = "${base_libdir}/libe2p.so.*"
+FILES:libext2fs = "${libdir}/e2initrd_helper ${base_libdir}/libext2fs.so.*"
+FILES:${PN}-dev += "${datadir}/*/*.awk ${datadir}/*/*.sed ${base_libdir}/*.so ${bindir}/compile_et ${bindir}/mk_cmds"
+
+ALTERNATIVE:${PN} = "chattr lsattr"
ALTERNATIVE_PRIORITY = "100"
ALTERNATIVE_LINK_NAME[chattr] = "${base_bindir}/chattr"
ALTERNATIVE_TARGET[chattr] = "${base_bindir}/chattr.e2fsprogs"
+ALTERNATIVE_LINK_NAME[lsattr] = "${base_bindir}/lsattr"
+ALTERNATIVE_TARGET[lsattr] = "${base_bindir}/lsattr.e2fsprogs"
-ALTERNATIVE_${PN}-doc = "fsck.8"
+ALTERNATIVE:${PN}-doc = "fsck.8"
ALTERNATIVE_LINK_NAME[fsck.8] = "${mandir}/man8/fsck.8"
-ALTERNATIVE_${PN}-mke2fs = "mke2fs mkfs.ext2"
+ALTERNATIVE:${PN}-mke2fs = "mke2fs mkfs.ext2"
ALTERNATIVE_LINK_NAME[mke2fs] = "${base_sbindir}/mke2fs"
ALTERNATIVE_LINK_NAME[mkfs.ext2] = "${base_sbindir}/mkfs.ext2"
-ALTERNATIVE_${PN}-tune2fs = "tune2fs"
+ALTERNATIVE:${PN}-tune2fs = "tune2fs"
ALTERNATIVE_LINK_NAME[tune2fs] = "${base_sbindir}/tune2fs"
-RDEPENDS_e2fsprogs-e2scrub = "bash"
-RDEPENDS_${PN}-ptest += "coreutils procps bash bzip2 diffutils perl sed"
-RDEPENDS_${PN}-ptest += "e2fsprogs-badblocks e2fsprogs-dumpe2fs e2fsprogs-e2fsck e2fsprogs-mke2fs e2fsprogs-resize2fs e2fsprogs-tune2fs"
+RDEPENDS:e2fsprogs-e2scrub = "bash"
+RDEPENDS:${PN}-ptest += "coreutils procps bash bzip2 diffutils perl sed"
+RDEPENDS:${PN}-ptest += "e2fsprogs-badblocks e2fsprogs-dumpe2fs e2fsprogs-e2fsck e2fsprogs-mke2fs e2fsprogs-resize2fs e2fsprogs-tune2fs"
do_compile_ptest() {
oe_runmake -C ${B}/tests
@@ -132,6 +133,7 @@ do_install_ptest() {
sed -e 's!../e2fsck/e2fsck!e2fsck!g' \
-e 's!../misc/tune2fs!tune2fs!g' -i ${D}${PTEST_PATH}/test/*/expect*
sed -e 's!../e2fsck/e2fsck!${base_sbindir}/e2fsck!g' -i ${D}${PTEST_PATH}/test/*/script
+ sed -i "s#@PTEST_PATH@#${PTEST_PATH}#g" ${D}${PTEST_PATH}/test/test_script ${D}${PTEST_PATH}/test/test_one
# Remove various files
find "${D}${PTEST_PATH}" -type f \
@@ -140,4 +142,7 @@ do_install_ptest() {
install -d ${D}${PTEST_PATH}/lib
install -m 0644 ${B}/lib/config.h ${D}${PTEST_PATH}/lib/
+
+ install -d ${D}${PTEST_PATH}/data
+ install -m 0644 ${B}/tests/test_data.tmp ${D}${PTEST_PATH}/data/
}
diff --git a/meta/recipes-devtools/elfutils/elfutils_0.181.bb b/meta/recipes-devtools/elfutils/elfutils_0.191.bb
index 6c49a5fc26..76bd2b3a99 100644
--- a/meta/recipes-devtools/elfutils/elfutils_0.181.bb
+++ b/meta/recipes-devtools/elfutils/elfutils_0.191.bb
@@ -1,68 +1,83 @@
SUMMARY = "Utilities and libraries for handling compiled object files"
HOMEPAGE = "https://sourceware.org/elfutils"
+DESCRIPTION = "elfutils is a collection of utilities and libraries to read, create and modify ELF binary files, find and handle DWARF debug data, symbols, thread state and stacktraces for processes and core files on GNU/Linux."
SECTION = "base"
-LICENSE = "GPLv2 & LGPLv3+ & GPLv3+"
-LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
+LICENSE = "( GPL-2.0-or-later | LGPL-3.0-or-later ) & GPL-3.0-or-later"
+LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
+ file://debuginfod/debuginfod-client.c;endline=28;md5=f0a7c3170776866ee94e8f9225a6ad79 \
+ "
DEPENDS = "zlib virtual/libintl"
-DEPENDS_append_libc-musl = " argp-standalone fts musl-obstack "
+DEPENDS:append:libc-musl = " argp-standalone fts musl-legacy-error musl-obstack"
# The Debian patches below are from:
# http://ftp.de.debian.org/debian/pool/main/e/elfutils/elfutils_0.176-1.debian.tar.xz
SRC_URI = "https://sourceware.org/elfutils/ftp/${PV}/${BP}.tar.bz2 \
+ file://run-ptest \
file://0001-dso-link-change.patch \
file://0002-Fix-elf_cvt_gunhash-if-dest-and-src-are-same.patch \
file://0003-fixheadercheck.patch \
- file://0004-Disable-the-test-to-convert-euc-jp.patch \
- file://0006-Fix-build-on-aarch64-musl.patch \
file://0001-libasm-may-link-with-libbz2-if-found.patch \
file://0001-libelf-elf_end.c-check-data_list.data.d.d_buf-before.patch \
file://0001-skip-the-test-when-gcc-not-deployed.patch \
- file://0001-ppc_initreg.c-Incliude-asm-ptrace.h-for-pt_regs-defi.patch \
- file://run-ptest \
file://ptest.patch \
file://0001-tests-Makefile.am-compile-test_nlist-with-standard-C.patch \
+ file://0001-debuginfod-Remove-unused-variable.patch \
+ file://0001-srcfiles-fix-unused-variable-BUFFER_SIZE.patch \
"
-SRC_URI_append_libc-musl = " \
- file://0001-musl-obstack-fts.patch \
- file://0002-musl-libs.patch \
+SRC_URI:append:libc-musl = " \
file://0003-musl-utils.patch \
- file://0004-Fix-error-on-musl.patch \
- file://0015-config-eu.am-do-not-use-Werror.patch \
"
-SRC_URI[sha256sum] = "29a6ad7421ec2acfee489bb4a699908281ead2cb63a20a027ce8804a165f0eb3"
+SRC_URI[sha256sum] = "df76db71366d1d708365fc7a6c60ca48398f14367eb2b8954efc8897147ad871"
inherit autotools gettext ptest pkgconfig
-EXTRA_OECONF = "--program-prefix=eu- --disable-debuginfod"
+EXTRA_OECONF = "--program-prefix=eu-"
+
+# Only used at runtime for make check but we want deterministic makefiles for ptest so hardcode
+CACHED_CONFIGUREVARS += "ac_cv_prog_HAVE_BUNZIP2=yes"
+
+BUILD_CFLAGS += "-Wno-error=stringop-overflow"
DEPENDS_BZIP2 = "bzip2-replacement-native"
-DEPENDS_BZIP2_class-target = "bzip2"
+DEPENDS_BZIP2:class-target = "bzip2"
-PACKAGECONFIG ??= ""
+PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'debuginfod', 'debuginfod libdebuginfod', '', d)} \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'minidebuginfo', 'xz', '', d)} \
+ "
PACKAGECONFIG[bzip2] = "--with-bzlib,--without-bzlib,${DEPENDS_BZIP2}"
PACKAGECONFIG[xz] = "--with-lzma,--without-lzma,xz"
+PACKAGECONFIG[zstd] = "--with-zstd,--without-zstd,zstd"
PACKAGECONFIG[libdebuginfod] = "--enable-libdebuginfod,--disable-libdebuginfod,curl"
+PACKAGECONFIG[debuginfod] = "--enable-debuginfod,--disable-debuginfod,libarchive sqlite3 libmicrohttpd"
+
+RDEPENDS:${PN}-ptest += "libasm libelf bash make coreutils ${PN}-binutils iproute2-ss bsdtar gcc-symlinks binutils-symlinks libgcc-dev"
-RDEPENDS_${PN}-ptest += "libasm libelf bash make coreutils ${PN}-binutils"
+EXTRA_OECONF:append:class-target = " --disable-tests-rpath"
-EXTRA_OECONF_append_class-target = " --disable-tests-rpath"
+# symver functions not currently supported on microblaze
+EXTRA_OECONF:append:class-target:microblaze = " --disable-symbol-versioning"
-RDEPENDS_${PN}-ptest_append_libc-glibc = " glibc-utils"
+RDEPENDS:${PN}-ptest:append:libc-glibc = " glibc-utils glibc-dbg glibc-dev"
+INSANE_SKIP:${PN}-ptest = "debug-deps dev-deps"
do_compile_ptest() {
cd ${B}/tests
oe_runmake buildtest-TESTS oecheck
}
+PTEST_PARALLEL_MAKE = ""
do_install_ptest() {
if [ ${PTEST_ENABLED} = "1" ]; then
# copy the files which needed by the cases
- TEST_FILES="strip strip.o addr2line elfcmp objdump readelf size.o nm.o nm elflint elfcompress elfclassify stack unstrip"
+ TEST_FILES="strip strip.o addr2line elfcmp objdump readelf size.o nm.o nm elflint elfcompress elfclassify stack unstrip srcfiles"
install -d -m 755 ${D}${PTEST_PATH}/src
+ install -d -m 755 ${D}${PTEST_PATH}/lib
install -d -m 755 ${D}${PTEST_PATH}/libelf
install -d -m 755 ${D}${PTEST_PATH}/libdw
install -d -m 755 ${D}${PTEST_PATH}/libdwfl
install -d -m 755 ${D}${PTEST_PATH}/libdwelf
install -d -m 755 ${D}${PTEST_PATH}/libasm
+ install -d -m 755 ${D}${PTEST_PATH}/libcpu
+ install -d -m 755 ${D}${PTEST_PATH}/libebl
for test_file in ${TEST_FILES}; do
if [ -f ${B}/src/${test_file} ]; then
cp -r ${B}/src/${test_file} ${D}${PTEST_PATH}/src
@@ -71,6 +86,9 @@ do_install_ptest() {
cp ${D}${libdir}/libelf-${PV}.so ${D}${PTEST_PATH}/libelf/libelf.so
cp ${D}${libdir}/libdw-${PV}.so ${D}${PTEST_PATH}/libdw/libdw.so
cp ${D}${libdir}/libasm-${PV}.so ${D}${PTEST_PATH}/libasm/libasm.so
+ cp ${B}/libcpu/libcpu.a ${D}${PTEST_PATH}/libcpu/
+ cp ${B}/libebl/libebl.a ${D}${PTEST_PATH}/libebl/
+ cp ${B}/lib/libeu.a ${D}${PTEST_PATH}/lib/
cp ${S}/libelf/*.h ${D}${PTEST_PATH}/libelf/
cp ${S}/libdw/*.h ${D}${PTEST_PATH}/libdw/
cp ${S}/libdwfl/*.h ${D}${PTEST_PATH}/libdwfl/
@@ -80,31 +98,32 @@ do_install_ptest() {
cp -r ${B}/tests/* ${D}${PTEST_PATH}/tests
cp -r ${B}/config.h ${D}${PTEST_PATH}
cp -r ${B}/backends ${D}${PTEST_PATH}
+ cp -r ${B}/debuginfod ${D}${PTEST_PATH}
sed -i '/^Makefile:/c Makefile:' ${D}${PTEST_PATH}/tests/Makefile
find ${D}${PTEST_PATH} -type f -name *.[hoc] | xargs -i rm {}
fi
}
-EXTRA_OEMAKE_class-native = ""
-EXTRA_OEMAKE_class-nativesdk = ""
+EXTRA_OEMAKE:class-native = ""
+EXTRA_OEMAKE:class-nativesdk = ""
BBCLASSEXTEND = "native nativesdk"
-# Package utilities separately
-PACKAGES =+ "${PN}-binutils libelf libasm libdw"
-
-# shared libraries are licensed GPLv2 or GPLv3+, binaries GPLv3+
-# according to NEWS file:
-# "The license is now GPLv2/LGPLv3+ for the libraries and GPLv3+ for stand-alone
-# programs. There is now also a formal CONTRIBUTING document describing how to
-# submit patches."
-LICENSE_${PN}-binutils = "GPLv3+"
-LICENSE_${PN} = "GPLv3+"
-LICENSE_libelf = "GPLv2 | LGPLv3+"
-LICENSE_libasm = "GPLv2 | LGPLv3+"
-LICENSE_libdw = "GPLv2 | LGPLv3+"
-
-FILES_${PN}-binutils = "\
+# Package utilities and libraries are listed separately
+PACKAGES =+ "${PN}-binutils libelf libasm libdw libdebuginfod"
+
+# According to the upstream website https://sourceware.org/elfutils, the latest
+# license policy is as follows:
+# "License. The libraries and backends are dual GPLv2+/LGPLv3+. The utilities
+# are GPLv3+."
+LICENSE:${PN}-binutils = "GPL-3.0-or-later"
+LICENSE:${PN} = "GPL-3.0-or-later"
+LICENSE:libelf = "GPL-2.0-or-later | LGPL-3.0-or-later"
+LICENSE:libasm = "GPL-2.0-or-later | LGPL-3.0-or-later"
+LICENSE:libdw = "GPL-2.0-or-later | LGPL-3.0-or-later"
+LICENSE:libdebuginfod = "GPL-2.0-or-later | LGPL-3.0-or-later"
+
+FILES:${PN}-binutils = "\
${bindir}/eu-addr2line \
${bindir}/eu-ld \
${bindir}/eu-nm \
@@ -112,18 +131,19 @@ FILES_${PN}-binutils = "\
${bindir}/eu-size \
${bindir}/eu-strip"
-FILES_libelf = "${libdir}/libelf-${PV}.so ${libdir}/libelf.so.*"
-FILES_libasm = "${libdir}/libasm-${PV}.so ${libdir}/libasm.so.*"
-FILES_libdw = "${libdir}/libdw-${PV}.so ${libdir}/libdw.so.* ${libdir}/elfutils/lib*"
+FILES:libelf = "${libdir}/libelf-${PV}.so ${libdir}/libelf.so.*"
+FILES:libasm = "${libdir}/libasm-${PV}.so ${libdir}/libasm.so.*"
+FILES:libdw = "${libdir}/libdw-${PV}.so ${libdir}/libdw.so.* ${libdir}/elfutils/lib*"
+FILES:libdebuginfod = "${libdir}/libdebuginfod-${PV}.so ${libdir}/libdebuginfod.so.*"
# Some packages have the version preceeding the .so instead properly
# versioned .so.<version>, so we need to reorder and repackage.
-#FILES_${PN} += "${libdir}/*-${PV}.so ${base_libdir}/*-${PV}.so"
+#FILES:${PN} += "${libdir}/*-${PV}.so ${base_libdir}/*-${PV}.so"
#FILES_SOLIBSDEV = "${libdir}/libasm.so ${libdir}/libdw.so ${libdir}/libelf.so"
# The package contains symlinks that trip up insane
-INSANE_SKIP_${MLPREFIX}libdw = "dev-so"
+INSANE_SKIP:${MLPREFIX}libdw = "dev-so"
# The nlist binary in the tests uses explicitly minimal compiler flags
-INSANE_SKIP_${PN}-ptest += "ldflags"
+INSANE_SKIP:${PN}-ptest += "ldflags"
# avoid stripping some generated binaries otherwise some of the tests such as test-nlist,
# run-strip-reloc.sh, run-strip-strmerge.sh and so on will fail
@@ -134,6 +154,7 @@ INHIBIT_PACKAGE_STRIP_FILES = "\
${PKGD}${PTEST_PATH}/tests/backtrace-data \
${PKGD}${PTEST_PATH}/tests/backtrace-dwarf \
${PKGD}${PTEST_PATH}/tests/deleted \
+ ${PKGD}${PTEST_PATH}/tests/dwfllines \
${PKGD}${PTEST_PATH}/src/strip \
${PKGD}${PTEST_PATH}/src/addr2line \
${PKGD}${PTEST_PATH}/src/elfcmp \
@@ -144,6 +165,7 @@ INHIBIT_PACKAGE_STRIP_FILES = "\
${PKGD}${PTEST_PATH}/src/elfclassify \
${PKGD}${PTEST_PATH}/src/stack \
${PKGD}${PTEST_PATH}/src/unstrip \
+ ${PKGD}${PTEST_PATH}/src/srcfiles \
${PKGD}${PTEST_PATH}/libelf/libelf.so \
${PKGD}${PTEST_PATH}/libdw/libdw.so \
${PKGD}${PTEST_PATH}/libasm/libasm.so \
@@ -151,4 +173,4 @@ INHIBIT_PACKAGE_STRIP_FILES = "\
${PKGD}${PTEST_PATH}/backends/libebl_x86_64.so \
"
-PRIVATE_LIBS_${PN}-ptest = "libdw.so.1 libelf.so.1 libasm.so.1"
+PRIVATE_LIBS:${PN}-ptest = "libdw.so.1 libelf.so.1 libasm.so.1 libdebuginfod.so.1"
diff --git a/meta/recipes-devtools/elfutils/files/0001-debuginfod-Remove-unused-variable.patch b/meta/recipes-devtools/elfutils/files/0001-debuginfod-Remove-unused-variable.patch
new file mode 100644
index 0000000000..81f49dbf21
--- /dev/null
+++ b/meta/recipes-devtools/elfutils/files/0001-debuginfod-Remove-unused-variable.patch
@@ -0,0 +1,34 @@
+From c3502140e51886bffc6ae5cd256308e40e0cbb78 Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Sat, 9 Mar 2024 15:52:32 -0800
+Subject: [PATCH] debuginfod: Remove unused variable
+
+Recent commit acd9525e9 has removed all references to max_fds
+therefore remove it, moreover clang18 is happier
+
+| ../../elfutils-0.191/debuginfod/debuginfod.cxx:1448:8: error: private field 'max_fds' is not used [-Werror,-Wunused-private-field]
+| 1448 | long max_fds;
+| | ^
+| 1 error generated.
+
+Upstream-Status: Submitted [https://sourceware.org/pipermail/elfutils-devel/2024q1/006900.html]
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ debuginfod/debuginfod.cxx | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/debuginfod/debuginfod.cxx b/debuginfod/debuginfod.cxx
+index 560880f2..72617848 100644
+--- a/debuginfod/debuginfod.cxx
++++ b/debuginfod/debuginfod.cxx
+@@ -1445,7 +1445,6 @@ private:
+
+ map<key,fdcache_entry> entries; // optimized for lookup
+ time_t last_cleaning;
+- long max_fds;
+ long max_mbs;
+
+ public:
+--
+2.44.0
+
diff --git a/meta/recipes-devtools/elfutils/files/0001-dso-link-change.patch b/meta/recipes-devtools/elfutils/files/0001-dso-link-change.patch
index 62031073e3..4f7539bef2 100644
--- a/meta/recipes-devtools/elfutils/files/0001-dso-link-change.patch
+++ b/meta/recipes-devtools/elfutils/files/0001-dso-link-change.patch
@@ -1,4 +1,4 @@
-From ec9a7742734aae5417c0ebbffce66ac353e6cae7 Mon Sep 17 00:00:00 2001
+From 63070df4b0dc7af37a720915b5e6494204463c9a Mon Sep 17 00:00:00 2001
From: Hongxu Jia <hongxu.jia@windriver.com>
Date: Tue, 15 Aug 2017 17:10:57 +0800
Subject: [PATCH] dso link change
@@ -16,31 +16,30 @@ more details.
Rebase to 0.170
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
-
---
src/Makefile.am | 2 +-
tests/Makefile.am | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/Makefile.am b/src/Makefile.am
-index e462e7d..ea1215b 100644
+index 1d592d4..853eda4 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
-@@ -45,7 +45,7 @@ libdw = ../libdw/libdw.a -lz $(zip_LIBS) $(libelf) -ldl -lpthread
- libelf = ../libelf/libelf.a -lz
+@@ -50,7 +50,7 @@ libdebuginfod =
+ endif
else
libasm = ../libasm/libasm.so
-libdw = ../libdw/libdw.so
+libdw = ../libdw/libdw.so $(zip_LIBS) $(libelf) $(libebl) -ldl
libelf = ../libelf/libelf.so
- endif
- libebl = ../libebl/libebl.a ../backends/libebl_backends.a ../libcpu/libcpu.a
+ if LIBDEBUGINFOD
+ libdebuginfod = ../debuginfod/libdebuginfod.so
diff --git a/tests/Makefile.am b/tests/Makefile.am
-index eab4ae6..f59a01f 100644
+index 9141074..ee49d07 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
-@@ -516,7 +516,7 @@ libdw = ../libdw/libdw.a -lz $(zip_LIBS) $(libelf) $(libebl) -ldl -lpthread
- libelf = ../libelf/libelf.a -lz
+@@ -694,7 +694,7 @@ libdw = ../libdw/libdw.a -lz $(zip_LIBS) $(libelf) $(libebl) -ldl -lpthread
+ libelf = ../libelf/libelf.a -lz $(zstd_LIBS)
libasm = ../libasm/libasm.a
else
-libdw = ../libdw/libdw.so
diff --git a/meta/recipes-devtools/elfutils/files/0001-libasm-may-link-with-libbz2-if-found.patch b/meta/recipes-devtools/elfutils/files/0001-libasm-may-link-with-libbz2-if-found.patch
index 73ead6d412..a9f5e030fc 100644
--- a/meta/recipes-devtools/elfutils/files/0001-libasm-may-link-with-libbz2-if-found.patch
+++ b/meta/recipes-devtools/elfutils/files/0001-libasm-may-link-with-libbz2-if-found.patch
@@ -1,4 +1,4 @@
-From 8e5fff8b1d819e0870fb22b27950bb5f10c7a272 Mon Sep 17 00:00:00 2001
+From 46d9d889a07fc9f9f089f800e5c0e895889c44ae Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Wed, 4 Oct 2017 22:30:46 -0700
Subject: [PATCH] libasm may link with libbz2 if found
@@ -11,26 +11,29 @@ where indirect libraries may be not found by linker
Upstream-Status: Pending
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-
---
src/Makefile.am | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/Makefile.am b/src/Makefile.am
-index ea1215b..13d9bda 100644
+index 853eda4..da7f3b4 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
-@@ -40,11 +40,11 @@ EXTRA_DIST += make-debug-archive.in
+@@ -40,7 +40,7 @@ EXTRA_DIST += make-debug-archive.in
CLEANFILES += make-debug-archive
if BUILD_STATIC
-libasm = ../libasm/libasm.a
+libasm = ../libasm/libasm.a $(zip_LIBS)
libdw = ../libdw/libdw.a -lz $(zip_LIBS) $(libelf) -ldl -lpthread
- libelf = ../libelf/libelf.a -lz
+ libelf = ../libelf/libelf.a -lz $(zstd_LIBS)
+ if LIBDEBUGINFOD
+@@ -49,7 +49,7 @@ else
+ libdebuginfod =
+ endif
else
-libasm = ../libasm/libasm.so
+libasm = ../libasm/libasm.so $(zip_LIBS)
libdw = ../libdw/libdw.so $(zip_LIBS) $(libelf) $(libebl) -ldl
libelf = ../libelf/libelf.so
- endif
+ if LIBDEBUGINFOD
diff --git a/meta/recipes-devtools/elfutils/files/0001-libelf-elf_end.c-check-data_list.data.d.d_buf-before.patch b/meta/recipes-devtools/elfutils/files/0001-libelf-elf_end.c-check-data_list.data.d.d_buf-before.patch
index b26ed99f65..57e4b3890a 100644
--- a/meta/recipes-devtools/elfutils/files/0001-libelf-elf_end.c-check-data_list.data.d.d_buf-before.patch
+++ b/meta/recipes-devtools/elfutils/files/0001-libelf-elf_end.c-check-data_list.data.d.d_buf-before.patch
@@ -1,4 +1,4 @@
-From e571cbd0c20085ec71969971f19280b5de95cfb7 Mon Sep 17 00:00:00 2001
+From 19d9e9d838e74e4a0a22f08ae03167380f8aa490 Mon Sep 17 00:00:00 2001
From: Robert Yang <liezhi.yang@windriver.com>
Date: Thu, 16 Aug 2018 09:58:26 +0800
Subject: [PATCH] libelf/elf_end.c: check data_list.data.d.d_buf before free it
@@ -14,16 +14,15 @@ The segmentation fault happens when prelink call elf_end().
Upstream-Status: Submitted [https://sourceware.org/ml/elfutils-devel/2018-q3/msg00085.html]
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
-
---
libelf/elf_end.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/libelf/elf_end.c b/libelf/elf_end.c
-index 160f0b8..5280a70 100644
+index 80f4d13..b103959 100644
--- a/libelf/elf_end.c
+++ b/libelf/elf_end.c
-@@ -160,14 +160,16 @@ elf_end (Elf *elf)
+@@ -169,14 +169,16 @@ elf_end (Elf *elf)
architecture doesn't require overly stringent
alignment the raw data buffer is the same as the
one used for presenting to the caller. */
diff --git a/meta/recipes-devtools/elfutils/files/0001-musl-obstack-fts.patch b/meta/recipes-devtools/elfutils/files/0001-musl-obstack-fts.patch
deleted file mode 100644
index 67d4703c80..0000000000
--- a/meta/recipes-devtools/elfutils/files/0001-musl-obstack-fts.patch
+++ /dev/null
@@ -1,124 +0,0 @@
-From 1a62bb8e8f2cb0f180c749946a48114e8f391b55 Mon Sep 17 00:00:00 2001
-From: Hongxu Jia <hongxu.jia@windriver.com>
-Date: Fri, 23 Aug 2019 10:17:25 +0800
-Subject: [PATCH] musl-obstack-fts
-
-Look for libfts and libobstack during configure, these
-libraries are external to libc when using musl, whereas
-on glibc these libraries are provided in libc itself.
-
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
-Upstream-Status: Inappropriate [workaround for musl]
-
-Rebase to 0.177
-Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
-
----
- configure.ac | 54 +++++++++++++++++++++++++++++++++++++++++++++++
- libdw/Makefile.am | 2 +-
- src/Makefile.am | 6 +++---
- 3 files changed, 58 insertions(+), 4 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index ab9c751..b057d86 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -538,6 +538,60 @@ else
- fi
- AC_SUBST([argp_LDADD])
-
-+dnl Check if we have fts available from our libc
-+AC_LINK_IFELSE(
-+ [AC_LANG_PROGRAM(
-+ [#if !defined(__x86_64__)
-+ #undef _FILE_OFFSET_BITS
-+ #define _FILE_OFFSET_BITS 32
-+ #endif
-+ #include <fts.h>],
-+ [FTS* fts = 0; return fts_close(fts); return 0;]
-+ )],
-+ [libc_has_fts="true"],
-+ [libc_has_fts="false"]
-+)
-+
-+dnl If our libc doesn't provide fts, then test for libfts
-+if test "$libc_has_fts" = "false" ; then
-+ AC_MSG_WARN("libc does not have fts")
-+ AC_CHECK_LIB([fts], [fts_close], [have_fts="true"], [have_fts="false"])
-+
-+ if test "$have_fts" = "false"; then
-+ AC_MSG_ERROR("no libfts found")
-+ else
-+ fts_LDADD="-lfts"
-+ fi
-+else
-+ fts_LDADD=""
-+fi
-+AC_SUBST([fts_LDADD])
-+
-+dnl Check if we have obstack available from our libc
-+AC_LINK_IFELSE(
-+ [AC_LANG_PROGRAM(
-+ [#include <obstack.h>],
-+ [_obstack_begin(0, 0, 0, NULL, NULL); return 0;]
-+ )],
-+ [libc_has_obstack="true"],
-+ [libc_has_obstack="false"]
-+)
-+
-+dnl If our libc doesn't provide obstack, then test for libobstack
-+if test "$libc_has_obstack" = "false" ; then
-+ AC_MSG_WARN("libc does not have obstack")
-+ AC_CHECK_LIB([obstack], [_obstack_begin], [have_obstack="true"], [have_obstack="false"])
-+
-+ if test "$have_obstack" = "false"; then
-+ AC_MSG_ERROR("no libobstack found")
-+ else
-+ obstack_LDADD="-lobstack"
-+ fi
-+else
-+ obstack_LDADD=""
-+fi
-+AC_SUBST([obstack_LDADD])
-+
- dnl The directories with content.
-
- dnl Documentation.
-diff --git a/libdw/Makefile.am b/libdw/Makefile.am
-index 33b5838..ff92e02 100644
---- a/libdw/Makefile.am
-+++ b/libdw/Makefile.am
-@@ -109,7 +109,7 @@ libdw_so_LIBS = ../libebl/libebl_pic.a ../backends/libebl_backends_pic.a \
- ../libcpu/libcpu_pic.a libdw_pic.a ../libdwelf/libdwelf_pic.a \
- ../libdwfl/libdwfl_pic.a
- libdw_so_DEPS = ../lib/libeu.a ../libelf/libelf.so
--libdw_so_LDLIBS = $(libdw_so_DEPS) -ldl -lz $(argp_LDADD) $(zip_LIBS) -pthread
-+libdw_so_LDLIBS = $(libdw_so_DEPS) -ldl -lz $(argp_LDADD) $(fts_LDADD) $(zip_LIBS) -pthread
- libdw_so_SOURCES =
- libdw.so$(EXEEXT): $(srcdir)/libdw.map $(libdw_so_LIBS) $(libdw_so_DEPS)
- $(AM_V_CCLD)$(LINK) $(dso_LDFLAGS) -o $@ \
-diff --git a/src/Makefile.am b/src/Makefile.am
-index 13d9bda..d5a4f7d 100644
---- a/src/Makefile.am
-+++ b/src/Makefile.am
-@@ -69,7 +69,7 @@ ar_no_Wstack_usage = yes
- unstrip_no_Wstack_usage = yes
-
- readelf_LDADD = $(libdw) $(libebl) $(libelf) $(libeu) $(argp_LDADD)
--nm_LDADD = $(libdw) $(libebl) $(libelf) $(libeu) $(argp_LDADD) \
-+nm_LDADD = $(libdw) $(libebl) $(libelf) $(libeu) $(argp_LDADD) $(obstack_LDADD) \
- $(demanglelib)
- size_LDADD = $(libelf) $(libeu) $(argp_LDADD)
- strip_LDADD = $(libebl) $(libelf) $(libdw) $(libeu) $(argp_LDADD)
-@@ -78,9 +78,9 @@ findtextrel_LDADD = $(libdw) $(libelf) $(libeu) $(argp_LDADD)
- addr2line_LDADD = $(libdw) $(libelf) $(libeu) $(argp_LDADD) $(demanglelib)
- elfcmp_LDADD = $(libebl) $(libdw) $(libelf) $(libeu) $(argp_LDADD)
- objdump_LDADD = $(libasm) $(libebl) $(libdw) $(libelf) $(libeu) $(argp_LDADD)
--ranlib_LDADD = libar.a $(libelf) $(libeu) $(argp_LDADD)
-+ranlib_LDADD = libar.a $(libelf) $(libeu) $(argp_LDADD) $(obstack_LDADD)
- strings_LDADD = $(libelf) $(libeu) $(argp_LDADD)
--ar_LDADD = libar.a $(libelf) $(libeu) $(argp_LDADD)
-+ar_LDADD = libar.a $(libelf) $(libeu) $(argp_LDADD) $(obstack_LDADD)
- unstrip_LDADD = $(libebl) $(libelf) $(libdw) $(libeu) $(argp_LDADD)
- stack_LDADD = $(libebl) $(libelf) $(libdw) $(libeu) $(argp_LDADD) $(demanglelib)
- elfcompress_LDADD = $(libebl) $(libelf) $(libdw) $(libeu) $(argp_LDADD)
diff --git a/meta/recipes-devtools/elfutils/files/0001-ppc_initreg.c-Incliude-asm-ptrace.h-for-pt_regs-defi.patch b/meta/recipes-devtools/elfutils/files/0001-ppc_initreg.c-Incliude-asm-ptrace.h-for-pt_regs-defi.patch
deleted file mode 100644
index 3303333c45..0000000000
--- a/meta/recipes-devtools/elfutils/files/0001-ppc_initreg.c-Incliude-asm-ptrace.h-for-pt_regs-defi.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From 2e2232d0935bf8ef6e66ebffba3be68a73b5b3e5 Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Sun, 8 Sep 2019 15:57:59 -0700
-Subject: [PATCH] ppc_initreg.c: Incliude asm/ptrace.h for pt_regs definition
-
-Fixes
-| ../../elfutils-0.176/backends/ppc_initreg.c:79:22: error: field 'r' has incomplete type
-| struct pt_regs r;
-| ^
-
-Upstream-Status: Pending
-
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
- backends/ppc_initreg.c | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/backends/ppc_initreg.c b/backends/ppc_initreg.c
-index 0e0d359..e5cca7e 100644
---- a/backends/ppc_initreg.c
-+++ b/backends/ppc_initreg.c
-@@ -33,6 +33,7 @@
- #include <stdlib.h>
- #if defined(__powerpc__) && defined(__linux__)
- # include <sys/ptrace.h>
-+# include <asm/ptrace.h>
- # include <sys/user.h>
- #endif
-
---
-2.23.0
-
diff --git a/meta/recipes-devtools/elfutils/files/0001-skip-the-test-when-gcc-not-deployed.patch b/meta/recipes-devtools/elfutils/files/0001-skip-the-test-when-gcc-not-deployed.patch
index de8c05f11e..096361e215 100644
--- a/meta/recipes-devtools/elfutils/files/0001-skip-the-test-when-gcc-not-deployed.patch
+++ b/meta/recipes-devtools/elfutils/files/0001-skip-the-test-when-gcc-not-deployed.patch
@@ -1,12 +1,12 @@
-From e82a055f85e398cb03a4eaf5faf351a3a1f19344 Mon Sep 17 00:00:00 2001
+From f9ab54454000fd210dbaa92cf516084d05060f9d Mon Sep 17 00:00:00 2001
From: Mingli Yu <Mingli.Yu@windriver.com>
Date: Tue, 21 May 2019 15:20:34 +0800
-Subject: [PATCH v2] skip the test when gcc not deployed
+Subject: [PATCH] skip the test when gcc not deployed
Skip the tests which depend on gcc when
gcc not deployed.
-Upstream-Status: Submitted[https://sourceware.org/ml/elfutils-devel/2019-q2/msg00091.html]
+Upstream-Status: Submitted [https://sourceware.org/ml/elfutils-devel/2019-q2/msg00091.html]
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
---
@@ -17,7 +17,7 @@ Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
4 files changed, 8 insertions(+)
diff --git a/tests/run-disasm-x86-64.sh b/tests/run-disasm-x86-64.sh
-index a6be62b..c3ef238 100755
+index 07b612b..7a32996 100755
--- a/tests/run-disasm-x86-64.sh
+++ b/tests/run-disasm-x86-64.sh
@@ -22,6 +22,8 @@ case "`uname -m`" in
@@ -26,11 +26,11 @@ index a6be62b..c3ef238 100755
testfiles testfile45.S testfile45.expect
+ # skip the case if no gcc deployed
+ which gcc || exit 77
- gcc -m64 -c -o testfile45.o testfile45.S
+ ${CC} -m64 -c -o testfile45.o testfile45.S
testrun_compare ${abs_top_builddir}/src/objdump -d testfile45.o < testfile45.expect
;;
diff --git a/tests/run-disasm-x86.sh b/tests/run-disasm-x86.sh
-index 28a3df7..544fc28 100755
+index 7ac73ad..f0d4796 100755
--- a/tests/run-disasm-x86.sh
+++ b/tests/run-disasm-x86.sh
@@ -22,6 +22,8 @@ case "`uname -m`" in
@@ -39,11 +39,11 @@ index 28a3df7..544fc28 100755
testfiles testfile44.S testfile44.expect
+ # skip the case if no gcc deployed
+ which gcc || exit 77
- gcc -m32 -c -o testfile44.o testfile44.S
+ ${CC} -m32 -c -o testfile44.o testfile44.S
testrun_compare ${abs_top_builddir}/src/objdump -d testfile44.o < testfile44.expect
;;
diff --git a/tests/run-strip-g.sh b/tests/run-strip-g.sh
-index 1303819..a943dec 100755
+index 1592121..9b8157e 100755
--- a/tests/run-strip-g.sh
+++ b/tests/run-strip-g.sh
@@ -24,6 +24,8 @@
@@ -53,10 +53,10 @@ index 1303819..a943dec 100755
+# skip the test if gcc deployed
+which gcc || exit 77
echo Create debug a.out.
- echo "int main() { return 1; }" | gcc -g -xc -
+ echo "int main() { return 1; }" | ${CC} -g -xc -
diff --git a/tests/run-strip-nothing.sh b/tests/run-strip-nothing.sh
-index 914fdfb..d03f734 100755
+index 710c200..3a81d8e 100755
--- a/tests/run-strip-nothing.sh
+++ b/tests/run-strip-nothing.sh
@@ -22,6 +22,8 @@
@@ -66,8 +66,5 @@ index 914fdfb..d03f734 100755
+# skip the case if no gcc deployed
+which gcc || exit 77
# Create no-debug a.out.
- echo "int main() { return 1; }" | gcc -s -xc -
+ echo "int main() { return 1; }" | ${CC} -s -xc -
---
-2.7.4
-
diff --git a/meta/recipes-devtools/elfutils/files/0001-srcfiles-fix-unused-variable-BUFFER_SIZE.patch b/meta/recipes-devtools/elfutils/files/0001-srcfiles-fix-unused-variable-BUFFER_SIZE.patch
new file mode 100644
index 0000000000..b3032327a2
--- /dev/null
+++ b/meta/recipes-devtools/elfutils/files/0001-srcfiles-fix-unused-variable-BUFFER_SIZE.patch
@@ -0,0 +1,36 @@
+From db51a55a8e3811d19265bf12d2ff715c6cf558b4 Mon Sep 17 00:00:00 2001
+From: Jose Quaresma <jose.quaresma@foundries.io>
+Date: Tue, 19 Mar 2024 10:17:59 +0000
+Subject: [PATCH] srcfiles: fix unused variable BUFFER_SIZE
+
+The const variable BUFFER_SIZE is used only on the zip_files
+function witch is only available with LIBARCHIVE.
+
+| ../../elfutils-0.191/src/srcfiles.cxx:81:18: error: unused variable 'BUFFER_SIZE' [-Werror,-Wunused-const-variable]
+| 81 | constexpr size_t BUFFER_SIZE = 8192;
+| | ^~~~~~~~~~~
+
+Upstream-Status: Backport [https://sourceware.org/git/?p=elfutils.git;a=commitdiff;h=ef8a4b841aaf26326b8961a651dbe915d54d23e7]
+
+Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
+---
+ src/srcfiles.cxx | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/src/srcfiles.cxx b/src/srcfiles.cxx
+index 892737cc..09d50f8d 100644
+--- a/src/srcfiles.cxx
++++ b/src/srcfiles.cxx
+@@ -78,7 +78,9 @@ ARGP_PROGRAM_VERSION_HOOK_DEF = print_version;
+ /* Bug report address. */
+ ARGP_PROGRAM_BUG_ADDRESS_DEF = PACKAGE_BUGREPORT;
+
++#ifdef HAVE_LIBARCHIVE
+ constexpr size_t BUFFER_SIZE = 8192;
++#endif
+
+ /* Definitions of arguments for argp functions. */
+ static const struct argp_option options[] =
+--
+2.44.0
+
diff --git a/meta/recipes-devtools/elfutils/files/0001-tests-Makefile.am-compile-test_nlist-with-standard-C.patch b/meta/recipes-devtools/elfutils/files/0001-tests-Makefile.am-compile-test_nlist-with-standard-C.patch
index d7b382fd94..d410eb13d8 100644
--- a/meta/recipes-devtools/elfutils/files/0001-tests-Makefile.am-compile-test_nlist-with-standard-C.patch
+++ b/meta/recipes-devtools/elfutils/files/0001-tests-Makefile.am-compile-test_nlist-with-standard-C.patch
@@ -1,4 +1,4 @@
-From fa265ff686cb60e19aa607bda3752b6b2ee87a14 Mon Sep 17 00:00:00 2001
+From 2d4dfb814dda02193e49c9203147cf73e6d3f8b7 Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex.kanavin@gmail.com>
Date: Tue, 23 Jun 2020 07:49:35 +0000
Subject: [PATCH] tests/Makefile.am: compile test_nlist with standard CFLAGS
@@ -8,16 +8,15 @@ be reproducible.
Upstream-Status: Inappropriate [oe-core specific]
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
-
---
tests/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/Makefile.am b/tests/Makefile.am
-index 05fc9b4..11de0fc 100644
+index 3bd8e58..370c6a8 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
-@@ -92,7 +92,7 @@ endif
+@@ -103,7 +103,7 @@ endif
test-nlist$(EXEEXT): test-nlist.c
$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
$(AM_CPPFLAGS) $(CPPFLAGS) \
@@ -25,4 +24,4 @@ index 05fc9b4..11de0fc 100644
+ $(CFLAGS) $(GCOV_FLAGS) -o $@ $< $(test_nlist_LDADD)
TESTS = run-arextract.sh run-arsymtest.sh run-ar.sh newfile test-nlist \
- update1 update2 update3 update4 \
+ run-ar-N.sh \
diff --git a/meta/recipes-devtools/elfutils/files/0002-Fix-elf_cvt_gunhash-if-dest-and-src-are-same.patch b/meta/recipes-devtools/elfutils/files/0002-Fix-elf_cvt_gunhash-if-dest-and-src-are-same.patch
index 96c2565e3e..fa2282b8dd 100644
--- a/meta/recipes-devtools/elfutils/files/0002-Fix-elf_cvt_gunhash-if-dest-and-src-are-same.patch
+++ b/meta/recipes-devtools/elfutils/files/0002-Fix-elf_cvt_gunhash-if-dest-and-src-are-same.patch
@@ -1,4 +1,4 @@
-From f8e4118b60a9b54950437006a82b4047f38f5347 Mon Sep 17 00:00:00 2001
+From d8f07a23d608b744dcc0592f9f32f258b186a77c Mon Sep 17 00:00:00 2001
From: Hongxu Jia <hongxu.jia@windriver.com>
Date: Tue, 15 Aug 2017 17:13:59 +0800
Subject: [PATCH] Fix elf_cvt_gunhash if dest and src are same.
@@ -12,16 +12,15 @@ Signed-off-by: Baoshan Pang <BaoShan.Pang@windriver.com>
Rebase to 0.170
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
-
---
libelf/gnuhash_xlate.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/libelf/gnuhash_xlate.h b/libelf/gnuhash_xlate.h
-index 6faf113..04d9ca1 100644
+index 3a00ae0..40468fc 100644
--- a/libelf/gnuhash_xlate.h
+++ b/libelf/gnuhash_xlate.h
-@@ -40,6 +40,7 @@ elf_cvt_gnuhash (void *dest, const void *src, size_t len, int encode)
+@@ -42,6 +42,7 @@ elf_cvt_gnuhash (void *dest, const void *src, size_t len, int encode)
words. We must detangle them here. */
Elf32_Word *dest32 = dest;
const Elf32_Word *src32 = src;
@@ -29,7 +28,7 @@ index 6faf113..04d9ca1 100644
/* First four control words, 32 bits. */
for (unsigned int cnt = 0; cnt < 4; ++cnt)
-@@ -50,7 +51,7 @@ elf_cvt_gnuhash (void *dest, const void *src, size_t len, int encode)
+@@ -52,7 +53,7 @@ elf_cvt_gnuhash (void *dest, const void *src, size_t len, int encode)
len -= 4;
}
diff --git a/meta/recipes-devtools/elfutils/files/0002-musl-libs.patch b/meta/recipes-devtools/elfutils/files/0002-musl-libs.patch
deleted file mode 100644
index 894e46c3c4..0000000000
--- a/meta/recipes-devtools/elfutils/files/0002-musl-libs.patch
+++ /dev/null
@@ -1,142 +0,0 @@
-From 2e1f8ca0b67c1d1991c14d509938c347e09bae94 Mon Sep 17 00:00:00 2001
-From: Hongxu Jia <hongxu.jia@windriver.com>
-Date: Fri, 23 Aug 2019 10:18:47 +0800
-Subject: [PATCH] musl-libs
-
-Collection of fixes needed to compile libelf and other libraries
-provided by elfutils for musl targets
-
-error is glibc specific API, so this patch will mostly not accepted
-upstream given that elfutils has been closely tied to glibc
-
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
-Upstream-Status: Inappropriate [workaround for musl]
-
-Rebase to 0.177
-Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
-
----
- lib/error.h | 27 +++++++++++++++++++++++++++
- lib/fixedsizehash.h | 1 -
- lib/libeu.h | 1 +
- libdwfl/dwfl_error.c | 9 +++++++++
- libdwfl/linux-kernel-modules.c | 1 +
- libelf/elf.h | 9 ++++++---
- 6 files changed, 44 insertions(+), 4 deletions(-)
- create mode 100644 lib/error.h
-
-diff --git a/lib/error.h b/lib/error.h
-new file mode 100644
-index 0000000..ef06827
---- /dev/null
-+++ b/lib/error.h
-@@ -0,0 +1,27 @@
-+#ifndef _ERROR_H_
-+#define _ERROR_H_
-+
-+#include <stdarg.h>
-+#include <stdio.h>
-+#include <stdlib.h>
-+#include <string.h>
-+#include <errno.h>
-+
-+static unsigned int error_message_count = 0;
-+
-+static inline void error(int status, int errnum, const char* format, ...)
-+{
-+ va_list ap;
-+ fprintf(stderr, "%s: ", program_invocation_name);
-+ va_start(ap, format);
-+ vfprintf(stderr, format, ap);
-+ va_end(ap);
-+ if (errnum)
-+ fprintf(stderr, ": %s", strerror(errnum));
-+ fprintf(stderr, "\n");
-+ error_message_count++;
-+ if (status)
-+ exit(status);
-+}
-+
-+#endif /* _ERROR_H_ */
-diff --git a/lib/fixedsizehash.h b/lib/fixedsizehash.h
-index dac2a5f..43016fc 100644
---- a/lib/fixedsizehash.h
-+++ b/lib/fixedsizehash.h
-@@ -30,7 +30,6 @@
- #include <errno.h>
- #include <stdlib.h>
- #include <string.h>
--#include <sys/cdefs.h>
-
- #include <system.h>
-
-diff --git a/lib/libeu.h b/lib/libeu.h
-index ecb4d01..edc85e3 100644
---- a/lib/libeu.h
-+++ b/lib/libeu.h
-@@ -29,6 +29,7 @@
- #ifndef LIBEU_H
- #define LIBEU_H
-
-+#include "system.h"
- #include <stddef.h>
- #include <stdint.h>
-
-diff --git a/libdwfl/dwfl_error.c b/libdwfl/dwfl_error.c
-index 7bcf61c..11dcc8b 100644
---- a/libdwfl/dwfl_error.c
-+++ b/libdwfl/dwfl_error.c
-@@ -154,7 +154,16 @@ dwfl_errmsg (int error)
- switch (error &~ 0xffff)
- {
- case OTHER_ERROR (ERRNO):
-+#if defined(__GLIBC__)
- return strerror_r (error & 0xffff, "bad", 0);
-+#else
-+ {
-+ static __thread char buf[128] = "";
-+ if (strerror_r (error & 0xffff, buf, sizeof(buf)) == 0)
-+ return buf;
-+ }
-+ return "strerror_r() failed";
-+#endif
- case OTHER_ERROR (LIBELF):
- return elf_errmsg (error & 0xffff);
- case OTHER_ERROR (LIBDW):
-diff --git a/libdwfl/linux-kernel-modules.c b/libdwfl/linux-kernel-modules.c
-index 0434f1e..5afaee8 100644
---- a/libdwfl/linux-kernel-modules.c
-+++ b/libdwfl/linux-kernel-modules.c
-@@ -50,6 +50,7 @@
- #include <sys/utsname.h>
- #include <fcntl.h>
- #include <unistd.h>
-+#include "system.h"
-
- /* If fts.h is included before config.h, its indirect inclusions may not
- give us the right LFS aliases of these functions, so map them manually. */
-diff --git a/libelf/elf.h b/libelf/elf.h
-index 197b557..8e5b94c 100644
---- a/libelf/elf.h
-+++ b/libelf/elf.h
-@@ -21,7 +21,9 @@
-
- #include <features.h>
-
--__BEGIN_DECLS
-+#ifdef __cplusplus
-+extern "C" {
-+#endif
-
- /* Standard ELF types. */
-
-@@ -4103,6 +4105,7 @@ enum
- #define R_ARC_TLS_LE_S9 0x4a
- #define R_ARC_TLS_LE_32 0x4b
-
--__END_DECLS
--
-+#ifdef __cplusplus
-+}
-+#endif
- #endif /* elf.h */
diff --git a/meta/recipes-devtools/elfutils/files/0003-fixheadercheck.patch b/meta/recipes-devtools/elfutils/files/0003-fixheadercheck.patch
index e36d3f44dd..e8b986e4ba 100644
--- a/meta/recipes-devtools/elfutils/files/0003-fixheadercheck.patch
+++ b/meta/recipes-devtools/elfutils/files/0003-fixheadercheck.patch
@@ -1,4 +1,4 @@
-From dd7c8c730457def5f62ebd43022b2f06df8c6ed9 Mon Sep 17 00:00:00 2001
+From 614f062b22e6da108643f8644a3e92a1108f2b9b Mon Sep 17 00:00:00 2001
From: Hongxu Jia <hongxu.jia@windriver.com>
Date: Tue, 15 Aug 2017 17:17:20 +0800
Subject: [PATCH] fixheadercheck
@@ -16,16 +16,15 @@ Upstream-Status: Pending
Rebase to 0.170
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
-
---
libelf/elf32_updatenull.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libelf/elf32_updatenull.c b/libelf/elf32_updatenull.c
-index 3e9ef61..5351518 100644
+index 3594e8b..a3314e5 100644
--- a/libelf/elf32_updatenull.c
+++ b/libelf/elf32_updatenull.c
-@@ -339,8 +339,8 @@ __elfw2(LIBELFBITS,updatenull_wrlock) (Elf *elf, int *change_bop, size_t shnum)
+@@ -355,8 +355,8 @@ __elfw2(LIBELFBITS,updatenull_wrlock) (Elf *elf, int *change_bop, size_t shnum)
we test for the alignment of the section being large
enough for the largest alignment required by a data
block. */
diff --git a/meta/recipes-devtools/elfutils/files/0003-musl-utils.patch b/meta/recipes-devtools/elfutils/files/0003-musl-utils.patch
index 2a21cd37ce..230ea88f41 100644
--- a/meta/recipes-devtools/elfutils/files/0003-musl-utils.patch
+++ b/meta/recipes-devtools/elfutils/files/0003-musl-utils.patch
@@ -1,4 +1,4 @@
-From 9b237f19f82d5ab1e0702637fece1866b1ef6681 Mon Sep 17 00:00:00 2001
+From aab5985a29bd7ab6e0b06eaab190b42a04e10f70 Mon Sep 17 00:00:00 2001
From: Hongxu Jia <hongxu.jia@windriver.com>
Date: Fri, 23 Aug 2019 10:19:48 +0800
Subject: [PATCH] musl-utils
@@ -13,17 +13,15 @@ Upstream-Status: Inappropriate [workaround for musl]
Rebase to 0.177
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
-
---
- src/arlib.h | 6 ++++++
- src/elfcompress.c | 7 +++++++
- src/readelf.c | 20 ++++++++++++--------
- src/strip.c | 7 +++++++
- src/unstrip.c | 9 +++++++++
- 5 files changed, 41 insertions(+), 8 deletions(-)
+ src/arlib.h | 6 ++++++
+ src/elfcompress.c | 7 +++++++
+ src/strip.c | 7 +++++++
+ src/unstrip.c | 9 +++++++++
+ 4 files changed, 29 insertions(+)
diff --git a/src/arlib.h b/src/arlib.h
-index e117166..8326f6c 100644
+index d4a4221..f6336d9 100644
--- a/src/arlib.h
+++ b/src/arlib.h
@@ -29,6 +29,12 @@
@@ -40,7 +38,7 @@ index e117166..8326f6c 100644
/* State of -D/-U flags. */
extern bool arlib_deterministic_output;
diff --git a/src/elfcompress.c b/src/elfcompress.c
-index 6ba6af4..0c7674b 100644
+index f771b92..263de62 100644
--- a/src/elfcompress.c
+++ b/src/elfcompress.c
@@ -37,6 +37,13 @@
@@ -57,77 +55,11 @@ index 6ba6af4..0c7674b 100644
/* Name and version of program. */
ARGP_PROGRAM_VERSION_HOOK_DEF = print_version;
-diff --git a/src/readelf.c b/src/readelf.c
-index 685d0b1..a842b10 100644
---- a/src/readelf.c
-+++ b/src/readelf.c
-@@ -4829,10 +4829,11 @@ listptr_base (struct listptr *p)
- return cudie_base (&cu);
- }
-
-+static const char *listptr_name;
-+
- static int
--compare_listptr (const void *a, const void *b, void *arg)
-+compare_listptr (const void *a, const void *b)
- {
-- const char *name = arg;
- struct listptr *p1 = (void *) a;
- struct listptr *p2 = (void *) b;
-
-@@ -4848,21 +4849,21 @@ compare_listptr (const void *a, const void *b, void *arg)
- p1->warned = p2->warned = true;
- error (0, 0,
- gettext ("%s %#" PRIx64 " used with different address sizes"),
-- name, (uint64_t) p1->offset);
-+ listptr_name, (uint64_t) p1->offset);
- }
- if (p1->dwarf64 != p2->dwarf64)
- {
- p1->warned = p2->warned = true;
- error (0, 0,
- gettext ("%s %#" PRIx64 " used with different offset sizes"),
-- name, (uint64_t) p1->offset);
-+ listptr_name, (uint64_t) p1->offset);
- }
- if (listptr_base (p1) != listptr_base (p2))
- {
- p1->warned = p2->warned = true;
- error (0, 0,
- gettext ("%s %#" PRIx64 " used with different base addresses"),
-- name, (uint64_t) p1->offset);
-+ listptr_name, (uint64_t) p1->offset);
- }
- if (p1->attr != p2 ->attr)
- {
-@@ -4870,7 +4871,7 @@ compare_listptr (const void *a, const void *b, void *arg)
- error (0, 0,
- gettext ("%s %#" PRIx64
- " used with different attribute %s and %s"),
-- name, (uint64_t) p1->offset, dwarf_attr_name (p2->attr),
-+ listptr_name, (uint64_t) p1->offset, dwarf_attr_name (p2->attr),
- dwarf_attr_name (p2->attr));
- }
- }
-@@ -4942,8 +4943,11 @@ static void
- sort_listptr (struct listptr_table *table, const char *name)
- {
- if (table->n > 0)
-- qsort_r (table->table, table->n, sizeof table->table[0],
-- &compare_listptr, (void *) name);
-+ {
-+ listptr_name = name;
-+ qsort (table->table, table->n, sizeof table->table[0],
-+ &compare_listptr);
-+ }
- }
-
- static bool
diff --git a/src/strip.c b/src/strip.c
-index 48792a7..198a2e4 100644
+index 6436443..1608496 100644
--- a/src/strip.c
+++ b/src/strip.c
-@@ -46,6 +46,13 @@
+@@ -45,6 +45,13 @@
#include <system.h>
#include <printversion.h>
@@ -142,12 +74,12 @@ index 48792a7..198a2e4 100644
/* Name and version of program. */
diff --git a/src/unstrip.c b/src/unstrip.c
-index 9b8c09a..1fb5063 100644
+index d70053d..b8a6ff3 100644
--- a/src/unstrip.c
+++ b/src/unstrip.c
-@@ -56,6 +56,15 @@
- # define _(str) gettext (str)
- #endif
+@@ -51,6 +51,15 @@
+ #include "libeu.h"
+ #include "printversion.h"
+#ifndef strndupa
+#define strndupa(s, n) \
diff --git a/meta/recipes-devtools/elfutils/files/0004-Disable-the-test-to-convert-euc-jp.patch b/meta/recipes-devtools/elfutils/files/0004-Disable-the-test-to-convert-euc-jp.patch
deleted file mode 100644
index 5dee61210a..0000000000
--- a/meta/recipes-devtools/elfutils/files/0004-Disable-the-test-to-convert-euc-jp.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-From e4ede22e28eaa38d81667ddcb19541ece1a83cf8 Mon Sep 17 00:00:00 2001
-From: Hongxu Jia <hongxu.jia@windriver.com>
-Date: Tue, 15 Aug 2017 17:24:06 +0800
-Subject: [PATCH] Disable the test to convert euc-jp
-
-Remove the test "Test against HP-UX 11.11 bug:
-No converter from EUC-JP to UTF-8 is provided"
-since we don't support HP-UX and if the euc-jp is not
-installed on the host, the dependence will be built without
-iconv support and will cause guild-native building fail.
-
-Upstream-Status: Inappropriate [OE specific]
-
-Signed-off-by: Roy Li <rongqing.li@windriver.com>
-
-Rebase to 0.170
-Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
-
----
- m4/iconv.m4 | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/m4/iconv.m4 b/m4/iconv.m4
-index a503646..299f1eb 100644
---- a/m4/iconv.m4
-+++ b/m4/iconv.m4
-@@ -159,6 +159,7 @@ int main ()
- }
- }
- #endif
-+#if 0
- /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
- provided. */
- if (/* Try standardized names. */
-@@ -170,6 +171,7 @@ int main ()
- /* Try HP-UX names. */
- && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
- result |= 16;
-+#endif
- return result;
- }]])],
- [am_cv_func_iconv_works=yes],
diff --git a/meta/recipes-devtools/elfutils/files/0004-Fix-error-on-musl.patch b/meta/recipes-devtools/elfutils/files/0004-Fix-error-on-musl.patch
deleted file mode 100644
index c79c737c62..0000000000
--- a/meta/recipes-devtools/elfutils/files/0004-Fix-error-on-musl.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From d3dc5f98f653342af97ebfbdf3479ee1f0d0cf38 Mon Sep 17 00:00:00 2001
-From: Richard Purdie <richard.purdie@linuxfoundation.org>
-Date: Wed, 1 May 2019 22:15:03 +0100
-Subject: [PATCH] Fix error on musl:
-
-| ../../elfutils-0.176/tests/elfstrmerge.c: In function 'main':
-| ../../elfutils-0.176/tests/elfstrmerge.c:370:60: error: 'ALLPERMS' undeclared (first use in this function); did you mean 'EPERM'?
-| fdnew = open (fnew, O_WRONLY | O_CREAT, st.st_mode & ALLPERMS);
-| ^~~~~~~~
-| EPERM
-| ../../elfutils-0.176/tests/elfstrmerge.c:370:60: note: each undeclared identifier is reported only once for each function it appears in
-
-Upstream-Status: Inappropriate [workaround in musl]
-
-Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-
----
- tests/elfstrmerge.c | 5 +++++
- 1 file changed, 5 insertions(+)
-
-diff --git a/tests/elfstrmerge.c b/tests/elfstrmerge.c
-index ba0d68d..1d2447f 100644
---- a/tests/elfstrmerge.c
-+++ b/tests/elfstrmerge.c
-@@ -33,6 +33,11 @@
- #include ELFUTILS_HEADER(dwelf)
- #include "elf-knowledge.h"
-
-+/* for musl */
-+#ifndef ALLPERMS
-+# define ALLPERMS (S_ISUID|S_ISGID|S_ISVTX|S_IRWXU|S_IRWXG|S_IRWXO)/* 07777 */
-+#endif
-+
- /* The original ELF file. */
- static int fd = -1;
- static Elf *elf = NULL;
diff --git a/meta/recipes-devtools/elfutils/files/0006-Fix-build-on-aarch64-musl.patch b/meta/recipes-devtools/elfutils/files/0006-Fix-build-on-aarch64-musl.patch
deleted file mode 100644
index 6f7956c5ae..0000000000
--- a/meta/recipes-devtools/elfutils/files/0006-Fix-build-on-aarch64-musl.patch
+++ /dev/null
@@ -1,59 +0,0 @@
-From 578f370c7e7a9f056aefa062b34590b0aa13bce5 Mon Sep 17 00:00:00 2001
-From: Hongxu Jia <hongxu.jia@windriver.com>
-Date: Tue, 15 Aug 2017 17:27:30 +0800
-Subject: [PATCH] Fix build on aarch64/musl
-
-Errors
-
-invalid operands to binary & (have 'long double' and 'unsigned int')
-
-error: redefinition
- of 'struct iovec'
- struct iovec { void *iov_base; size_t iov_len; };
- ^
-Upstream-Status: Pending
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
-
-Rebase to 0.170
-Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
-
----
- backends/aarch64_initreg.c | 4 ++--
- backends/arm_initreg.c | 2 +-
- 2 files changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/backends/aarch64_initreg.c b/backends/aarch64_initreg.c
-index daf6f37..6445276 100644
---- a/backends/aarch64_initreg.c
-+++ b/backends/aarch64_initreg.c
-@@ -33,7 +33,7 @@
- #include "system.h"
- #include <assert.h>
- #if defined(__aarch64__) && defined(__linux__)
--# include <linux/uio.h>
-+# include <sys/uio.h>
- # include <sys/user.h>
- # include <sys/ptrace.h>
- /* Deal with old glibc defining user_pt_regs instead of user_regs_struct. */
-@@ -82,7 +82,7 @@ aarch64_set_initial_registers_tid (pid_t tid __attribute__ ((unused)),
-
- Dwarf_Word dwarf_fregs[32];
- for (int r = 0; r < 32; r++)
-- dwarf_fregs[r] = fregs.vregs[r] & 0xFFFFFFFF;
-+ dwarf_fregs[r] = (unsigned int)fregs.vregs[r] & 0xFFFFFFFF;
-
- if (! setfunc (64, 32, dwarf_fregs, arg))
- return false;
-diff --git a/backends/arm_initreg.c b/backends/arm_initreg.c
-index efcabaf..062bb9e 100644
---- a/backends/arm_initreg.c
-+++ b/backends/arm_initreg.c
-@@ -38,7 +38,7 @@
- #endif
-
- #ifdef __aarch64__
--# include <linux/uio.h>
-+# include <sys/uio.h>
- # include <sys/user.h>
- # include <sys/ptrace.h>
- /* Deal with old glibc defining user_pt_regs instead of user_regs_struct. */
diff --git a/meta/recipes-devtools/elfutils/files/0015-config-eu.am-do-not-use-Werror.patch b/meta/recipes-devtools/elfutils/files/0015-config-eu.am-do-not-use-Werror.patch
deleted file mode 100644
index 48fd4d41f3..0000000000
--- a/meta/recipes-devtools/elfutils/files/0015-config-eu.am-do-not-use-Werror.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From 9b7554a3e21ccb455b3661a6b4e767636c2c5cf3 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin <alex.kanavin@gmail.com>
-Date: Mon, 22 Jun 2020 21:35:16 +0000
-Subject: [PATCH] config/eu.am: do not use -Werror
-
-Due to re-definition of error() on musl, gcc starts throwing
-errors where none happen with glibc. Since upstream is not
-likely to be interested in musl builds, lets just disable
-Werror.
-
-Upstream-Status: Inappropriate [oe core specific]
-Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
-
----
- config/eu.am | 2 --
- 1 file changed, 2 deletions(-)
-
-diff --git a/config/eu.am b/config/eu.am
-index 6c3c444..3bc0dc9 100644
---- a/config/eu.am
-+++ b/config/eu.am
-@@ -73,7 +73,6 @@ AM_CFLAGS = -std=gnu99 -Wall -Wshadow -Wformat=2 \
- -Wold-style-definition -Wstrict-prototypes -Wtrampolines \
- $(LOGICAL_OP_WARNING) $(DUPLICATED_COND_WARNING) \
- $(NULL_DEREFERENCE_WARNING) $(IMPLICIT_FALLTHROUGH_WARNING) \
-- $(if $($(*F)_no_Werror),,-Werror) \
- $(if $($(*F)_no_Wunused),,-Wunused -Wextra) \
- $(if $($(*F)_no_Wstack_usage),,$(STACK_USAGE_WARNING)) \
- $(if $($(*F)_no_Wpacked_not_aligned),-Wno-packed-not-aligned,) \
-@@ -83,7 +82,6 @@ AM_CXXFLAGS = -std=c++11 -Wall -Wshadow \
- -Wtrampolines \
- $(LOGICAL_OP_WARNING) $(DUPLICATED_COND_WARNING) \
- $(NULL_DEREFERENCE_WARNING) $(IMPLICIT_FALLTHROUGH_WARNING) \
-- $(if $($(*F)_no_Werror),,-Werror) \
- $(if $($(*F)_no_Wunused),,-Wunused -Wextra) \
- $(if $($(*F)_no_Wstack_usage),,$(STACK_USAGE_WARNING)) \
- $(if $($(*F)_no_Wpacked_not_aligned),-Wno-packed-not-aligned,) \
diff --git a/meta/recipes-devtools/elfutils/files/ptest.patch b/meta/recipes-devtools/elfutils/files/ptest.patch
index 35b23f43b3..2152875d63 100644
--- a/meta/recipes-devtools/elfutils/files/ptest.patch
+++ b/meta/recipes-devtools/elfutils/files/ptest.patch
@@ -1,4 +1,7 @@
-Changes to allow ptest to run standalone on target:
+From d49f6a135762ec1f1831d0e80b8df2a4269b0a66 Mon Sep 17 00:00:00 2001
+From: Richard Purdie <richard.purdie@linuxfoundation.org>
+Date: Wed, 1 May 2019 16:37:48 +0100
+Subject: [PATCH] Changes to allow ptest to run standalone on target:
a) Run the tests serially
b) Use the standalone test mode which allows the tests to be run in their
@@ -11,12 +14,17 @@ d) Add an oecheck make target which we can use to build the test binaries we nee
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream-Status: Inappropriate [oe specific]
+---
+ configure.ac | 2 +-
+ tests/Makefile.am | 2 ++
+ tests/test-subr.sh | 6 ------
+ 3 files changed, 3 insertions(+), 7 deletions(-)
-Index: elfutils-0.176/configure.ac
-===================================================================
---- elfutils-0.176.orig/configure.ac
-+++ elfutils-0.176/configure.ac
-@@ -45,7 +45,7 @@ AC_COPYRIGHT([Copyright (C) 1996-2018 Th
+diff --git a/configure.ac b/configure.ac
+index bbe8673..488712b 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -49,7 +49,7 @@ AC_COPYRIGHT([Copyright (C) 1996-2024 The elfutils developers.])
AC_PREREQ(2.63) dnl Minimum Autoconf version required.
dnl We use GNU make extensions; automake 1.10 defaults to -Wportability.
@@ -25,42 +33,20 @@ Index: elfutils-0.176/configure.ac
AM_MAINTAINER_MODE
AM_SILENT_RULES([yes])
-Index: elfutils-0.176/tests/Makefile.am
-===================================================================
---- elfutils-0.176.orig/tests/Makefile.am
-+++ elfutils-0.176/tests/Makefile.am
-@@ -445,10 +445,10 @@ installed_TESTS_ENVIRONMENT = libdir=$(D
- installed_LOG_COMPILER = $(abs_srcdir)/test-wrapper.sh \
- installed $(tests_rpath) \
- '$(program_transform_name)'
--if STANDALONE
-+if !STANDALONE
- TESTS_ENVIRONMENT = $(installed_TESTS_ENVIRONMENT)
- LOG_COMPILER = $(installed_LOG_COMPILER)
--else !STANDALONE
-+else STANDALONE
- TESTS_ENVIRONMENT = LC_ALL=C; LANG=C; VALGRIND_CMD=$(valgrind_cmd); \
- abs_srcdir=$(abs_srcdir); abs_builddir=$(abs_builddir); \
- abs_top_builddir=$(abs_top_builddir); \
-@@ -463,7 +463,7 @@ installcheck-local:
- $(MAKE) $(AM_MAKEFLAGS) \
- TESTS_ENVIRONMENT="$(installed_TESTS_ENVIRONMENT)" \
- LOG_COMPILER="$(installed_LOG_COMPILER)" check-TESTS
--endif !STANDALONE
-+endif STANDALONE
-
- if STANDALONE
- libdw = -ldw
-@@ -612,3 +612,5 @@ check: check-am coverage
+diff --git a/tests/Makefile.am b/tests/Makefile.am
+index ee49d07..3bd8e58 100644
+--- a/tests/Makefile.am
++++ b/tests/Makefile.am
+@@ -852,3 +852,5 @@ check: check-am coverage
coverage:
-$(srcdir)/coverage.sh
endif
+oecheck:
+ $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
-Index: elfutils-0.176/tests/test-subr.sh
-===================================================================
---- elfutils-0.176.orig/tests/test-subr.sh
-+++ elfutils-0.176/tests/test-subr.sh
+diff --git a/tests/test-subr.sh b/tests/test-subr.sh
+index 411e5f2..a638ff9 100644
+--- a/tests/test-subr.sh
++++ b/tests/test-subr.sh
@@ -91,12 +91,6 @@ installed_testrun()
program="$1"
shift
diff --git a/meta/recipes-devtools/elfutils/files/run-ptest b/meta/recipes-devtools/elfutils/files/run-ptest
index 81b81f2f5d..d5776fdb53 100644
--- a/meta/recipes-devtools/elfutils/files/run-ptest
+++ b/meta/recipes-devtools/elfutils/files/run-ptest
@@ -3,4 +3,4 @@
#This script is used to run elfutils test suites
cd tests
-make -k runtest-TESTS abs_srcdir=$PWD abs_builddir=$PWD srcdir=$PWD top_srcdir=$PWD/../ abs_top_builddir=$PWD/../ elfutils_testrun=installed elfutils_tests_rpath=no program_transform_name=s,^,eu-,
+make -k installcheck-local CC=gcc abs_srcdir=$PWD abs_builddir=$PWD srcdir=$PWD top_srcdir=$PWD/../ abs_top_builddir=$PWD/../ elfutils_testrun=installed elfutils_tests_rpath=no program_transform_name=s,^,eu-,
diff --git a/meta/recipes-devtools/erofs-utils/erofs-utils_1.7.1.bb b/meta/recipes-devtools/erofs-utils/erofs-utils_1.7.1.bb
new file mode 100644
index 0000000000..a23cb330ea
--- /dev/null
+++ b/meta/recipes-devtools/erofs-utils/erofs-utils_1.7.1.bb
@@ -0,0 +1,27 @@
+SUMMARY = "Tools for erofs filesystems"
+# liberofs also available under Apache 2.0
+LICENSE = "GPL-2.0-or-later"
+SECTION = "base"
+LIC_FILES_CHKSUM = "file://COPYING;md5=73001d804ea1e3d84365f652242cca20"
+HOMEPAGE = "https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/tree/README"
+
+SRCREV = "83d94dc619075e71ca4d0f42941cfc18d269a2af"
+SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git;branch=master;protocol=https"
+
+UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>(\d+(\.\d+)+))"
+
+S = "${WORKDIR}/git"
+
+DEPENDS = "util-linux-libuuid"
+
+inherit pkgconfig autotools
+
+PACKAGECONFIG ??= "lz4 zlib"
+PACKAGECONFIG[lz4] = "--enable-lz4,--disable-lz4,lz4"
+PACKAGECONFIG[zlib] = "--with-zlib,--without-zlib,zlib"
+
+EXTRA_OECONF = "${PACKAGECONFIG_CONFARGS} --disable-fuse"
+
+CFLAGS:append:powerpc64le = " -D__SANE_USERSPACE_TYPES__"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/expect/expect/0001-Add-prototype-to-function-definitions.patch b/meta/recipes-devtools/expect/expect/0001-Add-prototype-to-function-definitions.patch
new file mode 100644
index 0000000000..7d211b3dff
--- /dev/null
+++ b/meta/recipes-devtools/expect/expect/0001-Add-prototype-to-function-definitions.patch
@@ -0,0 +1,113 @@
+From 904c7cf6647594939ce1e398468bca3c885f0622 Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Mon, 15 Aug 2022 18:25:23 -0700
+Subject: [PATCH] Add prototype to function definitions
+
+Compilers like clang has started erroring out on implicit-function-declaration
+therefore arrange the relevant include files where needed.
+
+Upstream-Status: Submitted [https://sourceforge.net/p/expect/patches/24/]
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ exp_chan.c | 5 +++--
+ exp_clib.c | 4 +++-
+ exp_main_sub.c | 5 +++++
+ pty_termios.c | 4 ++++
+ 4 files changed, 15 insertions(+), 3 deletions(-)
+
+diff --git a/exp_chan.c b/exp_chan.c
+index 79f486c..50375d3 100644
+--- a/exp_chan.c
++++ b/exp_chan.c
+@@ -35,6 +35,7 @@
+ #include "exp_prog.h"
+ #include "exp_command.h"
+ #include "exp_log.h"
++#include "exp_event.h" /* exp_background_channelhandler */
+ #include "tcldbg.h" /* Dbg_StdinMode */
+
+ extern int expSetBlockModeProc _ANSI_ARGS_((int fd, int mode));
+@@ -631,7 +632,7 @@ expWaitOnOne() {
+ }
+
+ void
+-exp_background_channelhandlers_run_all()
++exp_background_channelhandlers_run_all(void)
+ {
+ ThreadSpecificData *tsdPtr = TCL_TSD_INIT(&dataKey);
+ ExpState *esPtr;
+@@ -760,7 +761,7 @@ expCreateChannel(interp,fdin,fdout,pid)
+ }
+
+ void
+-expChannelInit() {
++expChannelInit(void) {
+ ThreadSpecificData *tsdPtr = TCL_TSD_INIT(&dataKey);
+
+ tsdPtr->channelCount = 0;
+diff --git a/exp_clib.c b/exp_clib.c
+index b21fb5d..8f31fc3 100644
+--- a/exp_clib.c
++++ b/exp_clib.c
+@@ -9,13 +9,14 @@ would appreciate credit if this program or parts of it are used.
+
+ #include "expect_cf.h"
+ #include <stdio.h>
++#include <unistd.h>
+ #include <setjmp.h>
+ #ifdef HAVE_INTTYPES_H
+ # include <inttypes.h>
+ #endif
+ #include <sys/types.h>
+ #include <sys/ioctl.h>
+-
++#include <sys/wait.h>
+ #ifdef TIME_WITH_SYS_TIME
+ # include <sys/time.h>
+ # include <time.h>
+@@ -1738,6 +1739,7 @@ int exp_getptyslave();
+ #define sysreturn(x) return(errno = x, -1)
+
+ void exp_init_pty();
++void exp_init_tty();
+
+ /*
+ The following functions are linked from the Tcl library. They
+diff --git a/exp_main_sub.c b/exp_main_sub.c
+index bf6c4be..f53b89e 100644
+--- a/exp_main_sub.c
++++ b/exp_main_sub.c
+@@ -61,6 +61,11 @@ int exp_cmdlinecmds = FALSE;
+ int exp_interactive = FALSE;
+ int exp_buffer_command_input = FALSE;/* read in entire cmdfile at once */
+ int exp_fgets();
++int exp_tty_cooked_echo(
++ Tcl_Interp *interp,
++ exp_tty *tty_old,
++ int *was_raw,
++ int *was_echo);
+
+ Tcl_Interp *exp_interp; /* for use by signal handlers who can't figure out */
+ /* the interpreter directly */
+diff --git a/pty_termios.c b/pty_termios.c
+index c605b23..80ed5e7 100644
+--- a/pty_termios.c
++++ b/pty_termios.c
+@@ -7,6 +7,7 @@ would appreciate credit if you use this file or parts of it.
+
+ */
+
++#include <pty.h> /* openpty */
+ #include <stdio.h>
+ #include <signal.h>
+
+@@ -15,6 +16,9 @@ would appreciate credit if you use this file or parts of it.
+ #endif
+
+ #include "expect_cf.h"
++#include "tclInt.h"
++
++extern char * expErrnoMsg _ANSI_ARGS_((int));
+
+ /*
+ The following functions are linked from the Tcl library. They
diff --git a/meta/recipes-devtools/expect/expect/0001-Resolve-string-formatting-issues.patch b/meta/recipes-devtools/expect/expect/0001-Resolve-string-formatting-issues.patch
index af1d8c626c..bfb6dcd89a 100644
--- a/meta/recipes-devtools/expect/expect/0001-Resolve-string-formatting-issues.patch
+++ b/meta/recipes-devtools/expect/expect/0001-Resolve-string-formatting-issues.patch
@@ -3,7 +3,7 @@ From: Alexander Kanavin <alex.kanavin@gmail.com>
Date: Thu, 23 Mar 2017 13:44:41 +0200
Subject: [PATCH] Resolve string formatting issues.
-Upstream-Status: Inappropriate [upstream seems dead]
+Upstream-Status: Inactive-Upstream [no activity since 2018; cvs server went read-only]
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
exp_clib.c | 4 ++--
diff --git a/meta/recipes-devtools/expect/expect/0001-configure.in.patch b/meta/recipes-devtools/expect/expect/0001-configure.in.patch
index 7595a254a8..618c4bee8e 100644
--- a/meta/recipes-devtools/expect/expect/0001-configure.in.patch
+++ b/meta/recipes-devtools/expect/expect/0001-configure.in.patch
@@ -1,7 +1,7 @@
Allow cross compiling.
Signed-off-by: Anders Roxell <anders.roxell@enea.com>
-Upstream-Status: Pending
+Upstream-Status: Inactive-Upstream [no activity since 2018; cvs server went read-only]
---
diff -uNr a/configure.in b/configure.in
--- a/configure.in 2012-12-14 15:31:32.623180450 +0100
diff --git a/meta/recipes-devtools/expect/expect/0001-exp_main_sub.c-Use-PATH_MAX-for-path.patch b/meta/recipes-devtools/expect/expect/0001-exp_main_sub.c-Use-PATH_MAX-for-path.patch
index 37512fb9bc..d73f4c3421 100644
--- a/meta/recipes-devtools/expect/expect/0001-exp_main_sub.c-Use-PATH_MAX-for-path.patch
+++ b/meta/recipes-devtools/expect/expect/0001-exp_main_sub.c-Use-PATH_MAX-for-path.patch
@@ -10,7 +10,7 @@ Aborted (core dumped)
Use PATH_MAX to fix the problem.
-Upstream-Status: Pending [Upstream seems dead]
+Upstream-Status: Inactive-Upstream [no activity since 2018; cvs server went read-only]
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
diff --git a/meta/recipes-devtools/expect/expect/0001-expect-Fix-segfaults-if-Tcl-is-built-with-stubs-and-.patch b/meta/recipes-devtools/expect/expect/0001-expect-Fix-segfaults-if-Tcl-is-built-with-stubs-and-.patch
index b1d322d5c9..40f7f3bd85 100644
--- a/meta/recipes-devtools/expect/expect/0001-expect-Fix-segfaults-if-Tcl-is-built-with-stubs-and-.patch
+++ b/meta/recipes-devtools/expect/expect/0001-expect-Fix-segfaults-if-Tcl-is-built-with-stubs-and-.patch
@@ -42,7 +42,7 @@ Example:
}
Author: Sergei Golovan <sgolovan@debian.org>
-Upstream-Status: Pending
+Upstream-Status: Inactive-Upstream [no activity since 2018; cvs server went read-only]
This patch is backported from fedora changes for expect:
http://pkgs.fedoraproject.org/cgit/rpms/expect.git/commit/
?h=master&id=b6737eed550be93182f2ed194e836a6cbbcf4fa3
diff --git a/meta/recipes-devtools/expect/expect/0001-fixline1-fix-line-1.patch b/meta/recipes-devtools/expect/expect/0001-fixline1-fix-line-1.patch
new file mode 100644
index 0000000000..9c73d3e579
--- /dev/null
+++ b/meta/recipes-devtools/expect/expect/0001-fixline1-fix-line-1.patch
@@ -0,0 +1,31 @@
+From eef7c44c10de32ba399ab162cb5799fafdce3fa5 Mon Sep 17 00:00:00 2001
+From: Joe Slater <joe.slater@windriver.com>
+Date: Tue, 15 Mar 2022 22:00:04 +0000
+Subject: [PATCH] fixline1: fix line 1
+
+Ironically, fixline1 needs its first line modified by
+fixline1. We do that, manually.
+
+Upstream-Status: Inappropriate [OE specific cross build setup]
+
+Signed-off-by: Joe Slater <joe.slater@windriver.com>
+---
+ fixline1 | 5 ++++-
+ 1 file changed, 4 insertions(+), 1 deletion(-)
+
+diff --git a/fixline1 b/fixline1
+index 113e9bb..8a38e96 100755
+--- a/fixline1
++++ b/fixline1
+@@ -1,4 +1,7 @@
+-#!expect --
++#!/bin/sh
++# expect won't see the exec \
++exec expect -- "$0" ${1+"$@"}
++
+ # Synopsis: fixline1 newpath < input > output
+ # Author: Don Libes
+
+--
+2.32.0
+
diff --git a/meta/recipes-devtools/expect/expect/0002-tcl.m4.patch b/meta/recipes-devtools/expect/expect/0002-tcl.m4.patch
index dc4c6ba406..eb178f462a 100644
--- a/meta/recipes-devtools/expect/expect/0002-tcl.m4.patch
+++ b/meta/recipes-devtools/expect/expect/0002-tcl.m4.patch
@@ -1,7 +1,7 @@
Use proper -L path when cross compiling.
Signed-off-by: Anders Roxell <anders.roxell@enea.com>
-Upstream-Status: Pending
+Upstream-Status: Inactive-Upstream [no activity since 2018; cvs server went read-only]
---
diff -uNr a/tclconfig/tcl.m4 b/tclconfig/tcl.m4
--- a/tclconfig/tcl.m4 2012-12-14 09:16:58.789861281 +0100
diff --git a/meta/recipes-devtools/expect/expect/01-example-shebang.patch b/meta/recipes-devtools/expect/expect/01-example-shebang.patch
deleted file mode 100644
index 8597f31387..0000000000
--- a/meta/recipes-devtools/expect/expect/01-example-shebang.patch
+++ /dev/null
@@ -1,144 +0,0 @@
-Author: Mike Markley <mike@markley.org>
-Author: Sergei Golovan <sgolovan@debian.org>
-Description: Fixes shebangs in examples (Closes: #152367).
-
-Backported from Debian
-
-Upstream-Status: Pending
-Index: expect5.45/example/beer.exp
-===================================================================
---- expect5.45.orig/example/beer.exp 2006-01-25 13:51:39.000000000 -0800
-+++ expect5.45/example/beer.exp 2013-11-01 17:35:19.817318341 -0700
-@@ -1,4 +1,9 @@
--#!/depot/path/expect -f
-+#!/bin/sh
-+# -*- tcl -*-
-+# The next line is executed by /bin/sh, but not tcl \
-+exec tclsh "$0" ${1+"$@"}
-+
-+package require Expect
-
- # 99 bottles of beer on the wall, Expect-style
- # Author: Don Libes <libes@nist.gov>
-Index: expect5.45/example/expectd.proto
-===================================================================
---- expect5.45.orig/example/expectd.proto 2010-07-02 09:03:31.000000000 -0700
-+++ expect5.45/example/expectd.proto 2013-11-01 17:35:19.821318341 -0700
-@@ -1,4 +1,10 @@
--#!/depot/tcl/src/expect/e --
-+#!/bin/sh
-+# -*- tcl -*-
-+# The next line is executed by /bin/sh, but not tcl \
-+exec tclsh "$0" ${1+"$@"}
-+
-+package require Expect
-+
- # Description: Simple fragment to begin a telnet daemon
- # For more information, see Chapter 17 of "Exploring Expect"
- # Author: Don Libes, NIST
-Index: expect5.45/example/irsh
-===================================================================
---- expect5.45.orig/example/irsh 2010-07-02 09:03:31.000000000 -0700
-+++ expect5.45/example/irsh 2013-11-01 17:35:19.821318341 -0700
-@@ -1,4 +1,9 @@
--#!/depot/path/expect --
-+#!/bin/sh
-+# -*- tcl -*-
-+# The next line is executed by /bin/sh, but not tcl \
-+exec tclsh "$0" ${1+"$@"}
-+
-+package require Expect
-
- # Do rsh interactively. For example, consider the following command:
- # rsh <remote> ls -l "|" more
-Index: expect5.45/example/passwd.cgi
-===================================================================
---- expect5.45.orig/example/passwd.cgi 2000-01-06 15:22:07.000000000 -0800
-+++ expect5.45/example/passwd.cgi 2013-11-01 17:35:19.821318341 -0700
-@@ -1,4 +1,9 @@
--#!/depot/path/expect --
-+#!/bin/sh
-+# -*- tcl -*-
-+# The next line is executed by /bin/sh, but not tcl \
-+exec tclsh "$0" ${1+"$@"}
-+
-+package require Expect
-
- # This is a CGI script to process requests created by the accompanying
- # passwd.html form. This script is pretty basic, although it is
-Index: expect5.45/example/passwdprompt
-===================================================================
---- expect5.45.orig/example/passwdprompt 2003-09-05 12:01:59.000000000 -0700
-+++ expect5.45/example/passwdprompt 2013-11-01 17:35:19.821318341 -0700
-@@ -1,4 +1,9 @@
--#!/depot/path/expect
-+#!/bin/sh
-+# -*- tcl -*-
-+# The next line is executed by /bin/sh, but not tcl \
-+exec tclsh "$0" ${1+"$@"}
-+
-+package require Expect
-
- # This script prompts for a passwd from stdin while echoing *'s
-
-Index: expect5.45/example/reprompt
-===================================================================
---- expect5.45.orig/example/reprompt 2000-01-06 15:22:07.000000000 -0800
-+++ expect5.45/example/reprompt 2013-11-01 17:35:19.821318341 -0700
-@@ -1,4 +1,9 @@
--#!/depot/path/expect --
-+#!/bin/sh
-+# -*- tcl -*-
-+# The next line is executed by /bin/sh, but not tcl \
-+exec tclsh "$0" ${1+"$@"}
-+
-+package require Expect
-
- # Name: reprompt
- # Description: reprompt every so often until user enters something
-Index: expect5.45/example/term_expect
-===================================================================
---- expect5.45.orig/example/term_expect 2005-02-15 10:11:31.000000000 -0800
-+++ expect5.45/example/term_expect 2013-11-01 17:35:19.821318341 -0700
-@@ -1,4 +1,9 @@
--#!/depot/path/expectk
-+#!/bin/sh
-+# -*- tcl -*-
-+# The next line is executed by /bin/sh, but not tcl \
-+exec wish "$0" ${1+"$@"}
-+
-+package require Expect
-
- # Name: tkterm - terminal emulator using Expect and Tk text widget, v3.0
- # Author: Don Libes, July '94
-Index: expect5.45/example/vrfy
-===================================================================
---- expect5.45.orig/example/vrfy 2010-07-02 09:03:31.000000000 -0700
-+++ expect5.45/example/vrfy 2013-11-01 17:35:19.821318341 -0700
-@@ -1,4 +1,9 @@
--#!/depot/path/expect -f
-+#!/bin/sh
-+# -*- tcl -*-
-+# The next line is executed by /bin/sh, but not tcl \
-+exec tclsh "$0" ${1+"$@"}
-+
-+package require Expect
-
-
- # separate address into user and host
-Index: expect5.45/example/xrlogin
-===================================================================
---- expect5.45.orig/example/xrlogin 2000-01-06 15:22:08.000000000 -0800
-+++ expect5.45/example/xrlogin 2013-11-01 17:35:19.821318341 -0700
-@@ -1,4 +1,10 @@
--#!/depot/path/expect --
-+#!/bin/sh
-+# -*- tcl -*-
-+# The next line is executed by /bin/sh, but not tcl \
-+exec tclsh "$0" ${1+"$@"}
-+
-+package require Expect
-+
- # xrlogin - rlogin but with current DISPLAY
- #
- # You can extend this idea to save any arbitrary information across rlogin
diff --git a/meta/recipes-devtools/expect/expect/run-ptest b/meta/recipes-devtools/expect/expect/run-ptest
new file mode 100755
index 0000000000..856c314eaf
--- /dev/null
+++ b/meta/recipes-devtools/expect/expect/run-ptest
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+out_put=`tclsh tests/all.tcl -verbose bpse`
+echo
+echo "${out_put}" | awk '/PASSED|FAILED|SKIPPED/{gsub(/PASSED/,"PASS"); gsub(/FAILED/,"FAIL"); gsub(/SKIPPED/,"SKIP"); if ($NF=="PASS"){print $NF": "$(NF-1)}else{print $NF": "$2}}' | uniq
+
diff --git a/meta/recipes-devtools/expect/expect_5.45.4.bb b/meta/recipes-devtools/expect/expect_5.45.4.bb
index 39ae6151f6..18904ebc10 100644
--- a/meta/recipes-devtools/expect/expect_5.45.4.bb
+++ b/meta/recipes-devtools/expect/expect_5.45.4.bb
@@ -14,19 +14,21 @@ SECTION = "devel"
LIC_FILES_CHKSUM = "file://license.terms;md5=fbf2de7e9102505b1439db06fc36ce5c"
DEPENDS += "tcl"
-RDEPENDS_${PN} = "tcl"
+RDEPENDS:${PN} = "tcl"
-inherit autotools update-alternatives
+inherit autotools update-alternatives ptest
SRC_URI = "${SOURCEFORGE_MIRROR}/expect/Expect/${PV}/${BPN}${PV}.tar.gz \
file://0001-configure.in.patch \
file://0002-tcl.m4.patch \
- file://01-example-shebang.patch \
file://0001-expect-install-scripts-without-using-the-fixline1-tc.patch \
file://0001-Resolve-string-formatting-issues.patch \
file://0001-expect-Fix-segfaults-if-Tcl-is-built-with-stubs-and-.patch \
file://0001-exp_main_sub.c-Use-PATH_MAX-for-path.patch \
- "
+ file://0001-fixline1-fix-line-1.patch \
+ file://0001-Add-prototype-to-function-definitions.patch \
+ file://run-ptest \
+ "
SRC_URI[md5sum] = "00fce8de158422f5ccd2666512329bd2"
SRC_URI[sha256sum] = "49a7da83b0bdd9f46d04a04deec19c7767bb9a323e40c4781f89caf760b92c34"
@@ -35,19 +37,23 @@ UPSTREAM_CHECK_REGEX = "/Expect/(?P<pver>(\d+[\.\-_]*)+)/"
S = "${WORKDIR}/${BPN}${PV}"
-do_install_append() {
+do_install:append() {
install -d ${D}${libdir}
install -m 0755 ${D}${libdir}/expect${PV}/libexpect*.so ${D}${libdir}/
install -m 0755 ${S}/fixline1 ${D}${libdir}/expect${PV}/
- install -m 0755 ${S}/example/* ${D}${libdir}/expect${PV}/
rm ${D}${libdir}/expect${PV}/libexpect*.so
sed -e 's|$dir|${libdir}|' -i ${D}${libdir}/expect${PV}/pkgIndex.tcl
}
+do_install_ptest() {
+ install -d ${D}${PTEST_PATH}
+ cp -r ${S}/tests ${D}${PTEST_PATH}
+}
+
# Apparently the public Tcl headers are only in /usr/include/tcl8.6
# when building for the target and nativesdk.
TCL_INCLUDE_PATH = "--with-tclinclude=${STAGING_INCDIR}/tcl8.6"
-TCL_INCLUDE_PATH_class-native = ""
+TCL_INCLUDE_PATH:class-native = ""
EXTRA_OECONF += "--with-tcl=${STAGING_LIBDIR} \
--enable-shared \
@@ -57,12 +63,12 @@ EXTRA_OECONF += "--with-tcl=${STAGING_LIBDIR} \
"
EXTRA_OEMAKE_install = " 'SCRIPTS=' "
-ALTERNATIVE_${PN} = "mkpasswd"
+ALTERNATIVE:${PN} = "mkpasswd"
ALTERNATIVE_LINK_NAME[mkpasswd] = "${bindir}/mkpasswd"
# Use lower priority than busybox's mkpasswd (created when built with CONFIG_CRYPTPW)
ALTERNATIVE_PRIORITY[mkpasswd] = "40"
-FILES_${PN}-dev = "${libdir_native}/expect${PV}/libexpect*.so \
+FILES:${PN}-dev = "${libdir_native}/expect${PV}/libexpect*.so \
${includedir}/expect.h \
${includedir}/expect_tcl.h \
${includedir}/expect_comm.h \
@@ -70,8 +76,12 @@ FILES_${PN}-dev = "${libdir_native}/expect${PV}/libexpect*.so \
${includedir}/*.h \
"
-FILES_${PN} += "${libdir}/libexpect${PV}.so \
+FILES:${PN} += "${libdir}/libexpect${PV}.so \
${libdir}/expect${PV}/* \
"
BBCLASSEXTEND = "native nativesdk"
+
+# http://errors.yoctoproject.org/Errors/Details/766950/
+# expect5.45.4/exp_chan.c:62:5: error: initialization of 'struct Tcl_ChannelTypeVersion_ *' from incompatible pointer type 'int (*)(void *, int)' [-Wincompatible-pointer-types]
+CFLAGS += "-Wno-error=incompatible-pointer-types"
diff --git a/meta/recipes-devtools/fdisk/gptfdisk/0001-gptcurses-correctly-include-curses.h.patch b/meta/recipes-devtools/fdisk/gptfdisk/0001-gptcurses-correctly-include-curses.h.patch
index 67689e838a..011eec36f9 100644
--- a/meta/recipes-devtools/fdisk/gptfdisk/0001-gptcurses-correctly-include-curses.h.patch
+++ b/meta/recipes-devtools/fdisk/gptfdisk/0001-gptcurses-correctly-include-curses.h.patch
@@ -1,4 +1,4 @@
-From 607b0bed5e8a5f5c3754cd6ffcf499d8134c37f9 Mon Sep 17 00:00:00 2001
+From 510d0d27f90dfb1c4afd0722580bb8a828b52b7f Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex.kanavin@gmail.com>
Date: Mon, 30 Mar 2020 17:11:19 +0200
Subject: [PATCH] gptcurses: correctly include curses.h
@@ -10,14 +10,14 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
1 file changed, 4 deletions(-)
diff --git a/gptcurses.cc b/gptcurses.cc
-index 1b18cf2..4ebfde1 100644
+index b476700..476fc43 100644
--- a/gptcurses.cc
+++ b/gptcurses.cc
@@ -23,11 +23,7 @@
#include <iostream>
#include <string>
#include <sstream>
--#ifdef __APPLE__
+-#if defined (__APPLE__) || (__FreeBSD__)
#include <ncurses.h>
-#else
-#include <ncursesw/ncurses.h>
diff --git a/meta/recipes-devtools/fdisk/gptfdisk_1.0.5.bb b/meta/recipes-devtools/fdisk/gptfdisk_1.0.10.bb
index c7850f03ca..ba891931ac 100644
--- a/meta/recipes-devtools/fdisk/gptfdisk_1.0.5.bb
+++ b/meta/recipes-devtools/fdisk/gptfdisk_1.0.10.bb
@@ -1,7 +1,8 @@
SUMMARY = "Utility for modifying GPT disk partitioning"
DESCRIPTION = "GPT fdisk is a disk partitioning tool loosely modeled on Linux fdisk, but used for modifying GUID Partition Table (GPT) disks. The related FixParts utility fixes some common problems on Master Boot Record (MBR) disks."
+HOMEPAGE = "https://sourceforge.net/projects/gptfdisk/"
-LICENSE = "GPLv2"
+LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
DEPENDS = "util-linux"
@@ -9,8 +10,7 @@ DEPENDS = "util-linux"
SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${PV}/${BP}.tar.gz \
file://0001-gptcurses-correctly-include-curses.h.patch \
"
-SRC_URI[md5sum] = "58dac67c85e46ca87b587231549aefe6"
-SRC_URI[sha256sum] = "0e7d3987cd0488ecaf4b48761bc97f40b1dc089e5ff53c4b37abe30bc67dcb2f"
+SRC_URI[sha256sum] = "2abed61bc6d2b9ec498973c0440b8b804b7a72d7144069b5a9209b2ad693a282"
UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/gptfdisk/files/gptfdisk/"
UPSTREAM_CHECK_REGEX = "/gptfdisk/(?P<pver>(\d+[\.\-_]*)+)/"
diff --git a/meta/recipes-devtools/file/file_5.39.bb b/meta/recipes-devtools/file/file_5.39.bb
deleted file mode 100644
index abaa8149a3..0000000000
--- a/meta/recipes-devtools/file/file_5.39.bb
+++ /dev/null
@@ -1,55 +0,0 @@
-SUMMARY = "File classification tool"
-DESCRIPTION = "File attempts to classify files depending \
-on their contents and prints a description if a match is found."
-HOMEPAGE = "http://www.darwinsys.com/file/"
-SECTION = "console/utils"
-
-# two clause BSD
-LICENSE = "BSD-2-Clause"
-LIC_FILES_CHKSUM = "file://COPYING;beginline=2;md5=0251eaec1188b20d9a72c502ecfdda1b"
-
-DEPENDS = "file-replacement-native"
-DEPENDS_class-native = "bzip2-replacement-native"
-
-SRC_URI = "git://github.com/file/file.git \
- file://0001-src-compress.c-correct-header-define-for-xz-lzma.patch"
-
-SRCREV = "87731415de945660b00f02207d8e9d986ef9b82e"
-S = "${WORKDIR}/git"
-
-inherit autotools update-alternatives
-
-PACKAGECONFIG ??= "bz2 lzma zlib"
-PACKAGECONFIG[bz2] = "--enable-bzlib, --disable-bzlib, bzip2"
-PACKAGECONFIG[lzma] = "--enable-xzlib, --disable-xzlib, xz"
-PACKAGECONFIG[zlib] = "--enable-zlib, --disable-zlib, zlib"
-
-EXTRA_OECONF += "--disable-libseccomp"
-
-ALTERNATIVE_${PN} = "file"
-ALTERNATIVE_LINK_NAME[file] = "${bindir}/file"
-
-EXTRA_OEMAKE_append_class-target = " -e FILE_COMPILE=${STAGING_BINDIR_NATIVE}/file-native/file"
-EXTRA_OEMAKE_append_class-nativesdk = " -e FILE_COMPILE=${STAGING_BINDIR_NATIVE}/file-native/file"
-
-FILES_${PN} += "${datadir}/misc/*.mgc"
-
-do_compile_append_class-native() {
- oe_runmake check
-}
-
-do_install_append_class-native() {
- create_cmdline_wrapper ${D}/${bindir}/file \
- --magic-file ${datadir}/misc/magic.mgc
-}
-
-do_install_append_class-nativesdk() {
- create_cmdline_wrapper ${D}/${bindir}/file \
- --magic-file ${datadir}/misc/magic.mgc
-}
-
-BBCLASSEXTEND = "native nativesdk"
-PROVIDES_append_class-native = " file-replacement-native"
-# Don't use NATIVE_PACKAGE_PATH_SUFFIX as that hides libmagic from anyone who
-# depends on file-replacement-native.
-bindir_append_class-native = "/file-native"
diff --git a/meta/recipes-devtools/file/file_5.45.bb b/meta/recipes-devtools/file/file_5.45.bb
new file mode 100644
index 0000000000..fa8dc576dc
--- /dev/null
+++ b/meta/recipes-devtools/file/file_5.45.bb
@@ -0,0 +1,61 @@
+SUMMARY = "File classification tool"
+DESCRIPTION = "File attempts to classify files depending \
+on their contents and prints a description if a match is found."
+HOMEPAGE = "http://www.darwinsys.com/file/"
+SECTION = "console/utils"
+
+# two clause BSD
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://COPYING;beginline=2;md5=0251eaec1188b20d9a72c502ecfdda1b"
+
+DEPENDS = "file-replacement-native"
+DEPENDS:class-native = "bzip2-replacement-native"
+
+SRC_URI = "git://github.com/file/file.git;branch=master;protocol=https \
+ file://print_c.patch \
+ "
+
+SRCREV = "4cbd5c8f0851201d203755b76cb66ba991ffd8be"
+S = "${WORKDIR}/git"
+
+inherit autotools update-alternatives
+
+PACKAGECONFIG ??= "bz2 lzma zlib zstdlib lzlib"
+PACKAGECONFIG[bz2] = "--enable-bzlib, --disable-bzlib, bzip2"
+PACKAGECONFIG[lzma] = "--enable-xzlib, --disable-xzlib, xz"
+PACKAGECONFIG[zlib] = "--enable-zlib, --disable-zlib, zlib"
+PACKAGECONFIG[zstdlib] = "--enable-zstdlib, --disable-zstdlib, zstd"
+PACKAGECONFIG[lzlib] = "--enable-lzlib, --disable-lzlib, lzlib"
+PACKAGECONFIG[seccomp] = "--enable-libseccomp, --disable-libseccomp, libseccomp"
+
+ALTERNATIVE:${PN} = "file"
+ALTERNATIVE_LINK_NAME[file] = "${bindir}/file"
+
+EXTRA_OEMAKE:append:class-target = " -e FILE_COMPILE=${STAGING_BINDIR_NATIVE}/file-native/file"
+EXTRA_OEMAKE:append:class-nativesdk = " -e FILE_COMPILE=${STAGING_BINDIR_NATIVE}/file-native/file"
+
+FILES:${PN} += "${datadir}/misc/*.mgc"
+FILES:${PN}:append:class-nativesdk = " ${SDKPATHNATIVE}/environment-setup.d/file.sh"
+
+do_compile:append:class-native() {
+ oe_runmake check
+}
+
+do_install:append:class-native() {
+ create_cmdline_wrapper ${D}/${bindir}/file \
+ --magic-file ${datadir}/misc/magic.mgc
+}
+
+do_install:append:class-nativesdk() {
+ create_wrapper ${D}/${bindir}/file MAGIC=${datadir}/misc/magic.mgc
+ mkdir -p ${D}${SDKPATHNATIVE}/environment-setup.d
+ cat <<- EOF > ${D}${SDKPATHNATIVE}/environment-setup.d/file.sh
+ export MAGIC="${datadir}/misc/magic.mgc"
+ EOF
+}
+
+BBCLASSEXTEND = "native nativesdk"
+PROVIDES:append:class-native = " file-replacement-native"
+# Don't use NATIVE_PACKAGE_PATH_SUFFIX as that hides libmagic from anyone who
+# depends on file-replacement-native.
+bindir:append:class-native = "/file-native"
diff --git a/meta/recipes-devtools/file/files/0001-src-compress.c-correct-header-define-for-xz-lzma.patch b/meta/recipes-devtools/file/files/0001-src-compress.c-correct-header-define-for-xz-lzma.patch
deleted file mode 100644
index f8ba2f6153..0000000000
--- a/meta/recipes-devtools/file/files/0001-src-compress.c-correct-header-define-for-xz-lzma.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From ffb6ebdb42590cb9f7d3f5177b7b820a9edc4c81 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin <alex.kanavin@gmail.com>
-Date: Sun, 18 Oct 2020 23:40:42 +0200
-Subject: [PATCH] src/compress.c: correct header define for xz/lzma
-
-Upstream-Status: Submitted [https://github.com/file/file/pull/98]
-Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
----
- src/compress.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/compress.c b/src/compress.c
-index 67f21583..9670b72c 100644
---- a/src/compress.c
-+++ b/src/compress.c
-@@ -71,7 +71,7 @@ typedef void (*sig_t)(int);
- #include <bzlib.h>
- #endif
-
--#if defined(HAVE_XZLIB_H) && defined(XZLIBSUPPORT)
-+#if defined(HAVE_LZMA_H) && defined(XZLIBSUPPORT)
- #define BUILTIN_XZLIB
- #include <lzma.h>
- #endif
---
-2.28.0
-
diff --git a/meta/recipes-devtools/file/files/print_c.patch b/meta/recipes-devtools/file/files/print_c.patch
new file mode 100644
index 0000000000..760813f9c2
--- /dev/null
+++ b/meta/recipes-devtools/file/files/print_c.patch
@@ -0,0 +1,27 @@
+From e329257b8e22362b62e6c930447ef6feadd63f32 Mon Sep 17 00:00:00 2001
+From: Joe Slater <joe.slater@windriver.com>
+Date: Mon, 7 Aug 2023 22:37:19 +0000
+Subject: [PATCH] print.c: initialize timezone data for localtime_r()
+
+The man page for localtime() points out that while it acts
+like tzset() has been called, localtime_r() might not. We
+have a local version of localtime_r() that avoids this, but
+we do not compile it.
+
+Upstream-Status: Submitted [file@astron.com]
+
+Signed-off-by: Joe Slater <joe.slater@windriver.com>
+---
+ src/print.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+--- git.orig/src/print.c
++++ git/src/print.c
+@@ -289,6 +289,7 @@ file_fmtdatetime(char *buf, size_t bsize
+ goto out;
+
+ if (flags & FILE_T_LOCAL) {
++ tzset();
+ tm = localtime_r(&t, &tmz);
+ } else {
+ tm = gmtime_r(&t, &tmz);
diff --git a/meta/recipes-devtools/flex/flex/0001-Emit-no-line-directives-if-gen_line_dirs-is-false.patch b/meta/recipes-devtools/flex/flex/0001-Emit-no-line-directives-if-gen_line_dirs-is-false.patch
new file mode 100644
index 0000000000..c8202b6bd5
--- /dev/null
+++ b/meta/recipes-devtools/flex/flex/0001-Emit-no-line-directives-if-gen_line_dirs-is-false.patch
@@ -0,0 +1,32 @@
+From 440f3f55739468cd26e22f31871eca8cbbd53294 Mon Sep 17 00:00:00 2001
+From: Oleksiy Obitotskyy <oobitots@cisco.com>
+Date: Wed, 6 Jan 2021 06:12:14 -0800
+Subject: [PATCH] Emit no #line directives if gen_line_dirs is false
+
+If we set --noline we should not print line directives.
+But setting --noline means gen_line_dirs is false.
+
+Upstream-Status: Submitted
+Signed-off-by: Oleksiy Obitotskyy <oobitots@cisco.com>
+---
+ src/buf.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/buf.c b/src/buf.c
+index 185083c..4439e28 100644
+--- a/src/buf.c
++++ b/src/buf.c
+@@ -95,8 +95,8 @@ struct Buf *buf_linedir (struct Buf *buf, const char* filename, int lineno)
+ const char *src;
+ size_t tsz;
+
+- if (gen_line_dirs)
+- return buf;
++ if (!gen_line_dirs)
++ return buf;
+
+ tsz = strlen("#line \"\"\n") + /* constant parts */
+ 2 * strlen (filename) + /* filename with possibly all backslashes escaped */
+--
+2.26.2.Cisco
+
diff --git a/meta/recipes-devtools/flex/flex_2.6.4.bb b/meta/recipes-devtools/flex/flex_2.6.4.bb
index 3d57572865..f7d4ef1f08 100644
--- a/meta/recipes-devtools/flex/flex_2.6.4.bb
+++ b/meta/recipes-devtools/flex/flex_2.6.4.bb
@@ -3,55 +3,62 @@ DESCRIPTION = "Flex is a fast lexical analyser generator. Flex is a tool for ge
lexical patterns in text."
HOMEPAGE = "http://sourceforge.net/projects/flex/"
SECTION = "devel"
-LICENSE = "BSD-2-Clause"
+LICENSE = "BSD-3-Clause & LGPL-2.0-or-later"
+LICENSE:${PN}-libfl = "BSD-3-Clause"
DEPENDS = "${@bb.utils.contains('PTEST_ENABLED', '1', 'bison-native flex-native', '', d)}"
BBCLASSEXTEND = "native nativesdk"
-LIC_FILES_CHKSUM = "file://COPYING;md5=e4742cf92e89040b39486a6219b68067"
+LIC_FILES_CHKSUM = "file://COPYING;md5=e4742cf92e89040b39486a6219b68067 \
+ file://src/gettext.h;beginline=1;endline=17;md5=9c05dda2f58d89b850c399cf22e1a00c"
-SRC_URI = "https://github.com/westes/flex/releases/download/v${PV}/flex-${PV}.tar.gz \
+SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/flex-${PV}.tar.gz \
file://run-ptest \
file://0001-tests-add-a-target-for-building-tests-without-runnin.patch \
${@bb.utils.contains('PTEST_ENABLED', '1', '', 'file://disable-tests.patch', d)} \
file://0001-build-AC_USE_SYSTEM_EXTENSIONS-in-configure.ac.patch \
file://check-funcs.patch \
+ file://0001-Emit-no-line-directives-if-gen_line_dirs-is-false.patch \
"
SRC_URI[md5sum] = "2882e3179748cc9f9c23ec593d6adc8d"
SRC_URI[sha256sum] = "e87aae032bf07c26f85ac0ed3250998c37621d95f8bd748b31f15b33c45ee995"
-# Flex has moved to github from 2.6.1 onwards
-UPSTREAM_CHECK_URI = "https://github.com/westes/flex/releases"
-UPSTREAM_CHECK_REGEX = "flex-(?P<pver>\d+(\.\d+)+)\.tar"
+GITHUB_BASE_URI = "https://github.com/westes/flex/releases"
-inherit autotools gettext texinfo ptest
+# https://github.com/westes/flex/issues/414
+CVE_STATUS[CVE-2019-6293] = "upstream-wontfix: \
+there is stack exhaustion but no bug and it is building the \
+parser, not running it, effectively similar to a compiler ICE. Upstream no plans to address this."
+
+inherit autotools gettext texinfo ptest github-releases
M4 = "${bindir}/m4"
-M4_class-native = "${STAGING_BINDIR_NATIVE}/m4"
+M4:class-native = "${STAGING_BINDIR_NATIVE}/m4"
EXTRA_OECONF += "ac_cv_path_M4=${M4} ac_cv_func_reallocarray=no"
EXTRA_OEMAKE += "m4=${STAGING_BINDIR_NATIVE}/m4"
EXTRA_OEMAKE += "${@bb.utils.contains('PTEST_ENABLED', '1', 'FLEX=${STAGING_BINDIR_NATIVE}/flex', '', d)}"
-do_install_append_class-native() {
+do_install:append:class-native() {
create_wrapper ${D}/${bindir}/flex M4=${M4}
}
-do_install_append_class-nativesdk() {
+do_install:append:class-nativesdk() {
create_wrapper ${D}/${bindir}/flex M4=${M4}
}
PACKAGES =+ "${PN}-libfl"
-FILES_${PN}-libfl = "${libdir}/libfl.so.* ${libdir}/libfl_pic.so.*"
+FILES:${PN}-libfl = "${libdir}/libfl.so.* ${libdir}/libfl_pic.so.*"
-RDEPENDS_${PN} += "m4"
-RDEPENDS_${PN}-ptest += "bash gawk make"
+RDEPENDS:${PN} += "m4"
+RDEPENDS:${PN}-ptest += "bash gawk make"
do_compile_ptest() {
oe_runmake -C ${B}/tests -f ${B}/tests/Makefile top_builddir=${B} INCLUDES=-I${S}/src buildtests
}
+PTEST_PARALLEL_MAKE = ""
do_install_ptest() {
mkdir -p ${D}${PTEST_PATH}/build-aux/
@@ -61,6 +68,7 @@ do_install_ptest() {
sed -e 's,--sysroot=${STAGING_DIR_TARGET},,g' \
-e 's|${DEBUG_PREFIX_MAP}||g' \
-e 's:${HOSTTOOLS_DIR}/::g' \
+ -e 's:\(^LDFLAGS_FOR_BUILD =\).*:\1:g' \
-e 's:${RECIPE_SYSROOT_NATIVE}::g' \
-e 's:${BASE_WORKDIR}/${MULTIMACH_TARGET_SYS}::g' \-e 's/^Makefile:/_Makefile:/' \
-e 's/^srcdir = \(.*\)/srcdir = ./' -e 's/^top_srcdir = \(.*\)/top_srcdir = ./' \
diff --git a/meta/recipes-devtools/gcc/gcc-10.2.inc b/meta/recipes-devtools/gcc/gcc-10.2.inc
deleted file mode 100644
index e88f2ade6d..0000000000
--- a/meta/recipes-devtools/gcc/gcc-10.2.inc
+++ /dev/null
@@ -1,119 +0,0 @@
-require gcc-common.inc
-
-# Third digit in PV should be incremented after a minor release
-
-PV = "10.2.0"
-
-# BINV should be incremented to a revision after a minor gcc release
-
-BINV = "10.2.0"
-
-FILESEXTRAPATHS =. "${FILE_DIRNAME}/gcc:${FILE_DIRNAME}/gcc/backport:"
-
-DEPENDS =+ "mpfr gmp libmpc zlib flex-native"
-NATIVEDEPS = "mpfr-native gmp-native libmpc-native zlib-native flex-native"
-
-LICENSE = "GPL-3.0-with-GCC-exception & GPLv3"
-
-LIC_FILES_CHKSUM = "\
- file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
- file://COPYING3;md5=d32239bcb673463ab874e80d47fae504 \
- file://COPYING3.LIB;md5=6a6a8e020838b23406c81b19c1d46df6 \
- file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \
- file://COPYING.RUNTIME;md5=fe60d87048567d4fe8c8a0ed2448bcc8 \
-"
-
-BASEURI ?= "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.xz"
-#RELEASE ?= "93a49d2d2292893b9b7f38132df949c70942838c"
-#BASEURI ?= "https://github.com/gcc-mirror/gcc/archive/${RELEASE}.zip;downloadfilename=gcc-${PV}-${RELEASE}.zip"
-SRC_URI = "\
- ${BASEURI} \
- file://0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch \
- file://0002-gcc-poison-system-directories.patch \
- file://0003-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch \
- file://0004-64-bit-multilib-hack.patch \
- file://0005-optional-libstdc.patch \
- file://0006-COLLECT_GCC_OPTIONS.patch \
- file://0007-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch \
- file://0008-fortran-cross-compile-hack.patch \
- file://0009-cpp-honor-sysroot.patch \
- file://0010-MIPS64-Default-to-N64-ABI.patch \
- file://0011-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch \
- file://0012-gcc-Fix-argument-list-too-long-error.patch \
- file://0013-Disable-sdt.patch \
- file://0014-libtool.patch \
- file://0015-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch \
- file://0016-Use-the-multilib-config-files-from-B-instead-of-usin.patch \
- file://0017-Avoid-using-libdir-from-.la-which-usually-points-to-.patch \
- file://0018-export-CPP.patch \
- file://0019-Ensure-target-gcc-headers-can-be-included.patch \
- file://0020-Don-t-search-host-directory-during-relink-if-inst_pr.patch \
- file://0021-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch \
- file://0022-aarch64-Add-support-for-musl-ldso.patch \
- file://0023-libcc1-fix-libcc1-s-install-path-and-rpath.patch \
- file://0024-handle-sysroot-support-for-nativesdk-gcc.patch \
- file://0025-Search-target-sysroot-gcc-version-specific-dirs-with.patch \
- file://0026-Fix-various-_FOR_BUILD-and-related-variables.patch \
- file://0027-nios2-Define-MUSL_DYNAMIC_LINKER.patch \
- file://0028-Add-ssp_nonshared-to-link-commandline-for-musl-targe.patch \
- file://0029-Link-libgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch \
- file://0030-sync-gcc-stddef.h-with-musl.patch \
- file://0031-fix-segmentation-fault-in-precompiled-header-generat.patch \
- file://0032-Fix-for-testsuite-failure.patch \
- file://0033-Re-introduce-spe-commandline-options.patch \
- file://0034-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch \
- file://0035-gentypes-genmodes-Do-not-use-__LINE__-for-maintainin.patch \
- file://0036-mingw32-Enable-operation_not_supported.patch \
- file://0037-libatomic-Do-not-enforce-march-on-aarch64.patch \
- file://0001-aarch64-New-Straight-Line-Speculation-SLS-mitigation.patch \
- file://0002-aarch64-Introduce-SLS-mitigation-for-RET-and-BR-inst.patch \
- file://0003-aarch64-Mitigate-SLS-for-BLR-instruction.patch \
- file://0001-aarch64-Fix-up-__aarch64_cas16_acq_rel-fallback.patch \
-"
-SRC_URI[sha256sum] = "b8dd4368bb9c7f0b98188317ee0254dd8cc99d1e3a18d0ff146c855fe16c1d8c"
-
-S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/gcc-${PV}"
-# For dev release snapshotting
-#S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/gcc-${RELEASE}"
-#B = "${WORKDIR}/gcc-${PV}/build.${HOST_SYS}.${TARGET_SYS}"
-
-# Language Overrides
-FORTRAN = ""
-JAVA = ""
-
-SSP ?= "--disable-libssp"
-SSP_mingw32 = "--enable-libssp"
-
-EXTRA_OECONF_BASE = "\
- ${SSP} \
- --enable-libitm \
- --enable-lto \
- --disable-bootstrap \
- --with-system-zlib \
- ${@'--with-linker-hash-style=${LINKER_HASH_STYLE}' if '${LINKER_HASH_STYLE}' else ''} \
- --enable-linker-build-id \
- --with-ppl=no \
- --with-cloog=no \
- --enable-checking=release \
- --enable-cheaders=c_global \
- --without-isl \
-"
-
-EXTRA_OECONF_INITIAL = "\
- --disable-libgomp \
- --disable-libitm \
- --disable-libquadmath \
- --with-system-zlib \
- --disable-lto \
- --disable-plugin \
- --enable-linker-build-id \
- --enable-decimal-float=no \
- --without-isl \
- --disable-libssp \
-"
-
-EXTRA_OECONF_PATHS = "\
- --with-gxx-include-dir=/not/exist{target_includedir}/c++/${BINV} \
- --with-sysroot=/not/exist \
- --with-build-sysroot=${STAGING_DIR_TARGET} \
-"
diff --git a/meta/recipes-devtools/gcc/gcc-14.1.inc b/meta/recipes-devtools/gcc/gcc-14.1.inc
new file mode 100644
index 0000000000..c639cb51f4
--- /dev/null
+++ b/meta/recipes-devtools/gcc/gcc-14.1.inc
@@ -0,0 +1,117 @@
+require gcc-common.inc
+
+# Third digit in PV should be incremented after a minor release
+
+PV = "14.1.0"
+
+# BINV should be incremented to a revision after a minor gcc release
+
+BINV = "14.1.0"
+
+FILESEXTRAPATHS =. "${FILE_DIRNAME}/gcc:${FILE_DIRNAME}/gcc/backport:"
+
+DEPENDS =+ "mpfr gmp libmpc zlib zstd flex-native"
+NATIVEDEPS = "mpfr-native gmp-native libmpc-native zlib-native flex-native zstd-native"
+
+LICENSE = "GPL-3.0-with-GCC-exception & GPL-3.0-only"
+
+LIC_FILES_CHKSUM = "\
+ file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
+ file://COPYING3;md5=d32239bcb673463ab874e80d47fae504 \
+ file://COPYING3.LIB;md5=6a6a8e020838b23406c81b19c1d46df6 \
+ file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \
+ file://COPYING.RUNTIME;md5=fe60d87048567d4fe8c8a0ed2448bcc8 \
+"
+# snapshot from git
+#RELEASE ?= "9b6bf076c11cba0f9ccdace63e8b4044b1a858ea"
+#BASEURI ?= "https://git.linaro.org/toolchain/gcc.git/snapshot/gcc-${RELEASE}.tar.gz"
+#SOURCEDIR = "gcc-${RELEASE}"
+#BASEURI ?= "https://repo.or.cz/official-gcc.git/snapshot/${RELEASE}.tar.gz;downloadfilename=gcc-${PV}-${RELEASE}.tar.gz"
+#SOURCEDIR ?= "official-gcc-${@'${RELEASE}'[0:7]}"
+#SRC_URI[sha256sum] = "41bf7be5dc029112a9df625266e7de030ffc36ff3638f270b180ae8c91fe6449"
+
+# from snapshot
+#RELEASE ?= "14-20240504"
+#BASEURI ?= "https://gcc.gnu.org/pub/gcc/snapshots/${RELEASE}/gcc-${RELEASE}.tar.xz"
+#SOURCEDIR ?= "gcc-${RELEASE}"
+#SRC_URI[sha256sum] = "34ac232bbf31e0cd5752fd344c2cf55719aaaad2ca0096593e01c97a3d5e274e"
+
+# official release
+RELEASE ?= "${PV}"
+BASEURI ?= "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.xz"
+SOURCEDIR ?= "gcc-${PV}"
+SRC_URI[sha256sum] = "e283c654987afe3de9d8080bc0bd79534b5ca0d681a73a11ff2b5d3767426840"
+
+SRC_URI = "${BASEURI} \
+ file://0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch \
+ file://0002-gcc-poison-system-directories.patch \
+ file://0003-64-bit-multilib-hack.patch \
+ file://0004-Pass-CXXFLAGS_FOR_BUILD-in-a-couple-of-places-to-avo.patch \
+ file://0005-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch \
+ file://0006-cpp-honor-sysroot.patch \
+ file://0007-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch \
+ file://0008-libtool.patch \
+ file://0009-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch \
+ file://0010-Use-the-multilib-config-files-from-B-instead-of-usin.patch \
+ file://0011-aarch64-Fix-include-paths-when-S-B.patch \
+ file://0012-Avoid-using-libdir-from-.la-which-usually-points-to-.patch \
+ file://0013-Ensure-target-gcc-headers-can-be-included.patch \
+ file://0014-Don-t-search-host-directory-during-relink-if-inst_pr.patch \
+ file://0015-libcc1-fix-libcc1-s-install-path-and-rpath.patch \
+ file://0016-handle-sysroot-support-for-nativesdk-gcc.patch \
+ file://0017-Search-target-sysroot-gcc-version-specific-dirs-with.patch \
+ file://0018-Add-ssp_nonshared-to-link-commandline-for-musl-targe.patch \
+ file://0019-Re-introduce-spe-commandline-options.patch \
+ file://0020-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch \
+ file://0021-gentypes-genmodes-Do-not-use-__LINE__-for-maintainin.patch \
+ file://0022-libatomic-Do-not-enforce-march-on-aarch64.patch \
+ file://0023-Fix-install-path-of-linux64.h.patch \
+ file://0024-Avoid-hardcoded-build-paths-into-ppc-libgcc.patch \
+ file://0025-gcc-testsuite-tweaks-for-mips-OE.patch \
+"
+
+S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/${SOURCEDIR}"
+B = "${WORKDIR}/gcc-${PV}/build.${HOST_SYS}.${TARGET_SYS}"
+
+# Language Overrides
+FORTRAN = ""
+JAVA = ""
+
+SSP ?= "--disable-libssp"
+SSP:mingw32 = "--enable-libssp"
+
+EXTRA_OECONF_BASE = "\
+ ${SSP} \
+ --enable-libitm \
+ --enable-lto \
+ --disable-bootstrap \
+ --with-system-zlib \
+ ${@'--with-linker-hash-style=${LINKER_HASH_STYLE}' if '${LINKER_HASH_STYLE}' else ''} \
+ --enable-linker-build-id \
+ --with-ppl=no \
+ --with-cloog=no \
+ --enable-checking=release \
+ --enable-cheaders=c_global \
+ --without-isl \
+"
+
+EXTRA_OECONF_INITIAL = "\
+ --disable-libgomp \
+ --disable-libitm \
+ --disable-libquadmath \
+ --with-system-zlib \
+ --disable-lto \
+ --disable-plugin \
+ --enable-linker-build-id \
+ --enable-decimal-float=no \
+ --without-isl \
+ --disable-libssp \
+"
+
+EXTRA_OECONF_PATHS = "\
+ --with-gxx-include-dir=/not/exist{target_includedir}/c++/${BINV} \
+ --with-sysroot=/not/exist \
+ --with-build-sysroot=${STAGING_DIR_TARGET} \
+"
+
+CVE_STATUS[CVE-2021-37322] = "cpe-incorrect: Is a binutils 2.26 issue, not gcc"
diff --git a/meta/recipes-devtools/gcc/gcc-common.inc b/meta/recipes-devtools/gcc/gcc-common.inc
index 3dcfdf835f..5ac82b1b57 100644
--- a/meta/recipes-devtools/gcc/gcc-common.inc
+++ b/meta/recipes-devtools/gcc/gcc-common.inc
@@ -1,5 +1,6 @@
SUMMARY = "GNU cc and gcc C compilers"
HOMEPAGE = "http://www.gnu.org/software/gcc/"
+DESCRIPTION = "The GNU Compiler Collection includes front ends for C, C++, Objective-C, Fortran, Ada, Go, and D, as well as libraries for these languages (libstdc++,...). GCC was originally written as the compiler for the GNU operating system."
SECTION = "devel"
LICENSE = "GPL"
@@ -10,8 +11,7 @@ CVE_PRODUCT = "gcc"
inherit autotools gettext texinfo
BPN = "gcc"
-COMPILERDEP = "virtual/${MLPREFIX}${TARGET_PREFIX}gcc:do_gcc_stash_builddir"
-COMPILERDEP_class-nativesdk = "virtual/${TARGET_PREFIX}gcc-crosssdk:do_gcc_stash_builddir"
+COMPILERDEP = "virtual/${TARGET_PREFIX}gcc:do_gcc_stash_builddir"
python extract_stashed_builddir () {
src = d.expand("${COMPONENTS_DIR}/${BUILD_ARCH}/gcc-stashed-builddir-${TARGET_SYS}")
@@ -31,6 +31,16 @@ def get_gcc_float_setting(bb, d):
get_gcc_float_setting[vardepvalue] = "${@get_gcc_float_setting(bb, d)}"
+def get_gcc_x86_64_arch_setting(bb, d):
+ import re
+ march = re.match(r'^.*-march=([^\s]*)', d.getVar('TUNE_CCARGS'))
+ if march:
+ return "--with-arch=%s " % march.group(1)
+ # The earliest supported x86-64 CPU
+ return "--with-arch=core2"
+
+get_gcc_x86_64_arch_setting[vardepvalue] = "${@get_gcc_x86_64_arch_setting(bb, d)}"
+
def get_gcc_mips_plt_setting(bb, d):
if d.getVar('TRANSLATED_TARGET_ARCH') in [ 'mips', 'mipsel' ] and bb.utils.contains('DISTRO_FEATURES', 'mplt', True, False, d):
return "--with-mips-plt"
@@ -82,14 +92,10 @@ def get_tune_parameters(tune, d):
get_tune_parameters[vardepsexclude] = "AVAILTUNES TUNE_CCARGS OVERRIDES TUNE_FEATURES BASE_LIB BASELIB TUNE_ARCH ABIEXTENSION TARGET_FPU TUNE_PKGARCH PACKAGE_EXTRA_ARCHS"
-DEBIANNAME_${MLPREFIX}libgcc = "libgcc1"
+DEBIANNAME:${MLPREFIX}libgcc = "libgcc1"
MIRRORS =+ "\
-${GNU_MIRROR}/gcc ftp://gcc.gnu.org/pub/gcc/releases/ \n \
-${GNU_MIRROR}/gcc ftp://gd.tuwien.ac.at/gnu/gcc/ \n \
-${GNU_MIRROR}/gcc http://mirrors.rcn.net/pub/sourceware/gcc/releases/ \n \
-${GNU_MIRROR}/gcc http://gcc.get-software.com/releases/ \n \
-${GNU_MIRROR}/gcc http://gcc.get-software.com/releases/ \n \
+ ${GNU_MIRROR}/gcc https://gcc.gnu.org/pub/gcc/releases/ \
"
#
# Set some default values
@@ -99,7 +105,7 @@ BINV = "${PV}"
#S = "${WORKDIR}/gcc-${PV}"
S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/gcc-${PV}"
-B = "${WORKDIR}/gcc-${PV}/build.${HOST_SYS}.${TARGET_SYS}"
+B ?= "${WORKDIR}/gcc-${PV}/build.${HOST_SYS}.${TARGET_SYS}"
target_includedir ?= "${includedir}"
target_libdir ?= "${libdir}"
diff --git a/meta/recipes-devtools/gcc/gcc-configure-common.inc b/meta/recipes-devtools/gcc/gcc-configure-common.inc
index a64c4caf00..dba25eb754 100644
--- a/meta/recipes-devtools/gcc/gcc-configure-common.inc
+++ b/meta/recipes-devtools/gcc/gcc-configure-common.inc
@@ -44,27 +44,27 @@ EXTRA_OECONF = "\
# glibc version is a minimum controlling whether features are enabled.
# Doesn't need to track glibc exactly
-EXTRA_OECONF_append_libc-glibc = " --with-glibc-version=2.28 "
+EXTRA_OECONF:append:libc-glibc = " --with-glibc-version=2.28 "
# Set this here since GCC configure won't auto-detect and enable
# initfini-arry when cross compiling.
-EXTRA_OECONF_append = " --enable-initfini-array"
+EXTRA_OECONF:append = " --enable-initfini-array"
export gcc_cv_collect2_libs = 'none required'
# We need to set gcc_cv_collect2_libs else there is cross-compilation badness
# in the config.log files (which might not get generated until do_compile
# hence being missed by the insane do_configure check).
-EXTRA_OECONF_append_linux = " --enable-__cxa_atexit"
+EXTRA_OECONF:append:linux = " --enable-__cxa_atexit"
-EXTRA_OECONF_append_mips64 = " --with-abi=64 --with-arch-64=mips64 --with-tune-64=mips64"
-EXTRA_OECONF_append_mips64el = " --with-abi=64 --with-arch-64=mips64 --with-tune-64=mips64"
-EXTRA_OECONF_append_mips64n32 = " --with-abi=64 --with-arch-64=mips64 --with-tune-64=mips64"
-EXTRA_OECONF_append_mips64eln32 = " --with-abi=64 --with-arch-64=mips64 --with-tune-64=mips64"
-EXTRA_OECONF_append_mipsisa32r6el = " --with-abi=32 --with-arch=mips32r6"
-EXTRA_OECONF_append_mipsisa32r6 = " --with-abi=32 --with-arch=mips32r6"
-EXTRA_OECONF_append_mipsisa64r6el = " --with-abi=64 --with-arch-64=mips64r6"
-EXTRA_OECONF_append_mipsisa64r6 = " --with-abi=64 --with-arch-64=mips64r6"
+EXTRA_OECONF:append:mips64 = " --with-abi=64 --with-arch-64=mips64 --with-tune-64=mips64"
+EXTRA_OECONF:append:mips64el = " --with-abi=64 --with-arch-64=mips64 --with-tune-64=mips64"
+EXTRA_OECONF:append:mips64n32 = " --with-abi=64 --with-arch-64=mips64 --with-tune-64=mips64"
+EXTRA_OECONF:append:mips64eln32 = " --with-abi=64 --with-arch-64=mips64 --with-tune-64=mips64"
+EXTRA_OECONF:append:mipsisa32r6el = " --with-abi=32 --with-arch=mips32r6"
+EXTRA_OECONF:append:mipsisa32r6 = " --with-abi=32 --with-arch=mips32r6"
+EXTRA_OECONF:append:mipsisa64r6el = " --with-abi=64 --with-arch-64=mips64r6"
+EXTRA_OECONF:append:mipsisa64r6 = " --with-abi=64 --with-arch-64=mips64r6"
EXTRA_OECONF_GCC_FLOAT ??= ""
CPPFLAGS = ""
@@ -73,7 +73,7 @@ SYSTEMHEADERS = "${target_includedir}"
SYSTEMLIBS = "${target_base_libdir}/"
SYSTEMLIBS1 = "${target_libdir}/"
-do_configure_prepend () {
+do_configure:prepend () {
# teach gcc to find correct target includedir when checking libc ssp support
mkdir -p ${B}/gcc
echo "NATIVE_SYSTEM_HEADER_DIR = ${SYSTEMHEADERS}" > ${B}/gcc/t-oe
diff --git a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
index d3875c94d3..ec87b46219 100644
--- a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
+++ b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
@@ -3,12 +3,13 @@ inherit cross-canadian
SUMMARY = "GNU cc and gcc C compilers (cross-canadian for ${TARGET_ARCH} target)"
PN = "gcc-cross-canadian-${TRANSLATED_TARGET_ARCH}"
-DEPENDS = "virtual/${TARGET_PREFIX}gcc virtual/${HOST_PREFIX}gcc-crosssdk virtual/${HOST_PREFIX}binutils-crosssdk virtual/nativesdk-libc nativesdk-gettext flex-native virtual/libc"
+DEPENDS = "virtual/${TARGET_PREFIX}gcc virtual/${HOST_PREFIX}gcc virtual/${HOST_PREFIX}binutils virtual/nativesdk-libc nativesdk-gettext flex-native virtual/libc"
GCCMULTILIB = "--enable-multilib"
require gcc-configure-common.inc
+EXTRA_OECONF += "--with-plugin-ld=ld"
EXTRA_OECONF_PATHS = "\
--with-gxx-include-dir=/not/exist${target_includedir}/c++/${BINV} \
--with-build-time-tools=${STAGING_DIR_NATIVE}${prefix_native}/${TARGET_SYS}/bin \
@@ -45,6 +46,9 @@ export WINDRES_FOR_TARGET = "${TARGET_PREFIX}windres"
export ARCH_FLAGS_FOR_TARGET = "--sysroot=${STAGING_DIR_TARGET}"
do_configure () {
+ if [ ! -d ${RECIPE_SYSROOT}/${target_includedir} ]; then
+ mkdir -p ${RECIPE_SYSROOT}/${target_includedir}
+ fi
export CC_FOR_BUILD="${BUILD_CC}"
export CXX_FOR_BUILD="${BUILD_CXX}"
export CFLAGS_FOR_BUILD="${BUILD_CFLAGS}"
@@ -65,7 +69,7 @@ do_compile () {
PACKAGES = "${PN}-dbg ${PN} ${PN}-doc"
-FILES_${PN} = "\
+FILES:${PN} = "\
${exec_prefix}/bin/* \
${libexecdir}/gcc/${TARGET_SYS}/${BINV}/* \
${gcclibdir}/${TARGET_SYS}/${BINV}/*.o \
@@ -75,14 +79,15 @@ FILES_${PN} = "\
${gcclibdir}/${TARGET_SYS}/${BINV}/include-fixed \
${gcclibdir}/${TARGET_SYS}/${BINV}/plugin/include/ \
${gcclibdir}/${TARGET_SYS}/${BINV}/plugin/gtype.* \
+ ${libdir}/bfd-plugins/*.so \
${includedir}/c++/${BINV} \
${prefix}/${TARGET_SYS}/bin/* \
${prefix}/${TARGET_SYS}/lib/* \
${prefix}/${TARGET_SYS}${target_includedir}/* \
"
-INSANE_SKIP_${PN} += "dev-so"
+INSANE_SKIP:${PN} += "dev-so"
-FILES_${PN}-doc = "\
+FILES:${PN}-doc = "\
${infodir} \
${mandir} \
${gcclibdir}/${TARGET_SYS}/${BINV}/include/README \
@@ -92,6 +97,8 @@ EXEEXT = ""
# Compute how to get from libexecdir to bindir in python (easier than shell)
BINRELPATH = "${@os.path.relpath(d.expand("${bindir}"), d.expand("${libexecdir}/gcc/${TARGET_SYS}/${BINV}"))}"
+# linker plugin path
+LIBRELPATH = "${@os.path.relpath(d.expand("${libexecdir}/gcc/${TARGET_SYS}/${BINV}"), d.expand("${libdir}/bfd-plugins"))}"
do_install () {
( cd ${B}/${TARGET_SYS}/libgcc; oe_runmake 'DESTDIR=${D}' install-unwind_h-forbuild install-unwind_h )
@@ -121,23 +128,25 @@ do_install () {
dest=${D}${libexecdir}/gcc/${TARGET_SYS}/${BINV}/
install -d $dest
suffix=${EXEEXT}
- for t in ar as ld nm objcopy objdump ranlib strip g77 gcc cpp gfortran; do
+ for t in ar as ld ld.bfd ld.gold nm objcopy objdump ranlib strip g77 gcc cpp gfortran; do
if [ "$t" = "g77" -o "$t" = "gfortran" ] && [ ! -e ${D}${bindir}/${TARGET_PREFIX}$t$suffix ]; then
continue
fi
ln -sf ${BINRELPATH}/${TARGET_PREFIX}$t$suffix $dest$t$suffix
done
- t=real-ld
- ln -sf ${BINRELPATH}/${TARGET_PREFIX}ld$suffix $dest$t$suffix
# libquadmath headers need to be available in the gcc libexec dir
install -d ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/include/
cp ${S}/libquadmath/quadmath.h ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/include/
cp ${S}/libquadmath/quadmath_weak.h ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/include/
+ # install LTO linker plugins where binutils tools can find it
+ install -d ${D}${libdir}/bfd-plugins
+ ln -sf ${LIBRELPATH}/liblto_plugin.so ${D}${libdir}/bfd-plugins/liblto_plugin.so
+
chown -R root:root ${D}
-
+
cross_canadian_bindirlinks
for i in linux ${CANADIANEXTRAOS}
@@ -165,17 +174,14 @@ do_install () {
}
ELFUTILS = "nativesdk-elfutils"
-DEPENDS += "nativesdk-gmp nativesdk-mpfr nativesdk-libmpc ${ELFUTILS} nativesdk-zlib"
-RDEPENDS_${PN} += "nativesdk-mpfr nativesdk-libmpc ${ELFUTILS}"
+DEPENDS += "nativesdk-gmp nativesdk-mpfr nativesdk-libmpc ${ELFUTILS} nativesdk-zlib nativesdk-zstd"
+RDEPENDS:${PN} += "nativesdk-mpfr nativesdk-libmpc ${ELFUTILS}"
SYSTEMHEADERS = "${target_includedir}/"
SYSTEMLIBS = "${target_base_libdir}/"
SYSTEMLIBS1 = "${target_libdir}/"
EXTRA_OECONF += "--enable-poison-system-directories"
-EXTRA_OECONF_remove_elf = "--with-sysroot=/not/exist"
-EXTRA_OECONF_remove_eabi = "--with-sysroot=/not/exist"
-EXTRA_OECONF_append_elf = " --without-headers --with-newlib"
-EXTRA_OECONF_append_eabi = " --without-headers --with-newlib"
+
# gcc 4.7 needs -isystem
export ARCH_FLAGS_FOR_TARGET = "--sysroot=${STAGING_DIR_TARGET} -isystem=${target_includedir}"
diff --git a/meta/recipes-devtools/gcc/gcc-cross-canadian_10.2.bb b/meta/recipes-devtools/gcc/gcc-cross-canadian_14.1.bb
index bf53c5cd78..bf53c5cd78 100644
--- a/meta/recipes-devtools/gcc/gcc-cross-canadian_10.2.bb
+++ b/meta/recipes-devtools/gcc/gcc-cross-canadian_14.1.bb
diff --git a/meta/recipes-devtools/gcc/gcc-cross.inc b/meta/recipes-devtools/gcc/gcc-cross.inc
index 6fa8c274cd..a540fb2434 100644
--- a/meta/recipes-devtools/gcc/gcc-cross.inc
+++ b/meta/recipes-devtools/gcc/gcc-cross.inc
@@ -21,8 +21,8 @@ require gcc-configure-common.inc
# gnu) will hit a QA failure.
LINKER_HASH_STYLE ?= "sysv"
-EXTRA_OECONF += "--enable-poison-system-directories"
-EXTRA_OECONF_append_sh4 = " \
+EXTRA_OECONF += "--enable-poison-system-directories=error"
+EXTRA_OECONF:append:sh4 = " \
--with-multilib-list= \
--enable-incomplete-targets \
"
@@ -31,9 +31,9 @@ EXTRA_OECONF += "\
--with-system-zlib \
"
-EXTRA_OECONF_append_libc-baremetal = " --without-headers"
-EXTRA_OECONF_remove_libc-baremetal = "--enable-threads=posix"
-EXTRA_OECONF_remove_libc-newlib = "--enable-threads=posix"
+EXTRA_OECONF:append:libc-baremetal = " --without-headers"
+EXTRA_OECONF:remove:libc-baremetal = "--enable-threads=posix"
+EXTRA_OECONF:remove:libc-newlib = "--enable-threads=posix"
EXTRA_OECONF_PATHS = "\
--with-gxx-include-dir=/not/exist${target_includedir}/c++/${BINV} \
@@ -44,7 +44,7 @@ EXTRA_OECONF_PATHS = "\
ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_DIR_TARGET}${target_includedir}"
-do_configure_prepend () {
+do_configure:prepend () {
install -d ${RECIPE_SYSROOT}${target_includedir}
touch ${RECIPE_SYSROOT}${target_includedir}/limits.h
}
@@ -83,6 +83,8 @@ INHIBIT_PACKAGE_STRIP = "1"
# Compute how to get from libexecdir to bindir in python (easier than shell)
BINRELPATH = "${@os.path.relpath(d.expand("${STAGING_DIR_NATIVE}${prefix_native}/bin/${TARGET_SYS}"), d.expand("${libexecdir}/gcc/${TARGET_SYS}/${BINV}"))}"
+# linker plugin path
+LIBRELPATH = "${@os.path.relpath(d.expand("${libexecdir}/gcc/${TARGET_SYS}/${BINV}"), d.expand("${STAGING_LIBDIR_NATIVE}/${TARGET_SYS}/bfd-plugins"))}"
do_install () {
( cd ${B}/${TARGET_SYS}/libgcc; oe_runmake 'DESTDIR=${D}' install-unwind_h-forbuild install-unwind_h )
@@ -92,7 +94,7 @@ do_install () {
install -d ${D}${target_libdir}
# Link gfortran to g77 to satisfy not-so-smart configure or hard coded g77
- # gfortran is fully backwards compatible. This is a safe and practical solution.
+ # gfortran is fully backwards compatible. This is a safe and practical solution.
if [ -n "${@d.getVar('FORTRAN')}" ]; then
ln -sf ${STAGING_DIR_NATIVE}${prefix_native}/bin/${TARGET_PREFIX}gfortran ${STAGING_DIR_NATIVE}${prefix_native}/bin/${TARGET_PREFIX}g77 || true
fortsymlinks="g77 gfortran"
@@ -118,6 +120,10 @@ do_install () {
cp ${S}/libquadmath/quadmath_weak.h ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/include/
find ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/include-fixed -type f -not -name "README" -not -name limits.h -not -name syslimits.h | xargs rm -f
+
+ # install LTO linker plugins where binutils tools can find it
+ install -d ${D}${libdir}/bfd-plugins
+ ln -sf ${LIBRELPATH}/liblto_plugin.so ${D}${libdir}/bfd-plugins/liblto_plugin.so
}
do_package[noexec] = "1"
@@ -143,6 +149,7 @@ do_gcc_stash_builddir () {
# Makefile does move-if-change which can end up with 'timestamp' as file contents so break links to those files
rm $dest/gcc/include/*.h
cp gcc/include/*.h $dest/gcc/include/
+ sysroot-relativelinks.py $dest
}
addtask do_gcc_stash_builddir after do_compile before do_install
SSTATETASKS += "do_gcc_stash_builddir"
diff --git a/meta/recipes-devtools/gcc/gcc-cross_10.2.bb b/meta/recipes-devtools/gcc/gcc-cross_14.1.bb
index b43cca0c52..b43cca0c52 100644
--- a/meta/recipes-devtools/gcc/gcc-cross_10.2.bb
+++ b/meta/recipes-devtools/gcc/gcc-cross_14.1.bb
diff --git a/meta/recipes-devtools/gcc/gcc-crosssdk.inc b/meta/recipes-devtools/gcc/gcc-crosssdk.inc
index bd2e71d63f..7eaad2314c 100644
--- a/meta/recipes-devtools/gcc/gcc-crosssdk.inc
+++ b/meta/recipes-devtools/gcc/gcc-crosssdk.inc
@@ -8,5 +8,7 @@ SYSTEMLIBS1 = "${SDKPATHNATIVE}${libdir_nativesdk}/"
GCCMULTILIB = "--disable-multilib"
-DEPENDS = "virtual/${TARGET_PREFIX}binutils-crosssdk gettext-native ${NATIVEDEPS}"
-PROVIDES = "virtual/${TARGET_PREFIX}gcc-crosssdk virtual/${TARGET_PREFIX}g++-crosssdk"
+DEPENDS = "virtual/${TARGET_PREFIX}binutils gettext-native ${NATIVEDEPS}"
+PROVIDES = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++"
+
+gcc_multilib_setup[vardepsexclude] = "MULTILIB_VARIANTS"
diff --git a/meta/recipes-devtools/gcc/gcc-crosssdk_10.2.bb b/meta/recipes-devtools/gcc/gcc-crosssdk_14.1.bb
index 40a6c4feff..40a6c4feff 100644
--- a/meta/recipes-devtools/gcc/gcc-crosssdk_10.2.bb
+++ b/meta/recipes-devtools/gcc/gcc-crosssdk_14.1.bb
diff --git a/meta/recipes-devtools/gcc/gcc-multilib-config.inc b/meta/recipes-devtools/gcc/gcc-multilib-config.inc
index 31b8619be3..2dbbc23c94 100644
--- a/meta/recipes-devtools/gcc/gcc-multilib-config.inc
+++ b/meta/recipes-devtools/gcc/gcc-multilib-config.inc
@@ -31,7 +31,9 @@ python gcc_multilib_setup() {
'%s/*/linux64.h' % src_conf_dir,
'%s/aarch64/t-aarch64' % src_conf_dir,
'%s/aarch64/aarch64.h' % src_conf_dir,
+ '%s/aarch64/aarch64-linux.h' % src_conf_dir,
'%s/aarch64/aarch64-cores.def' % src_conf_dir,
+ '%s/arm/linux-eabi.h' % src_conf_dir,
'%s/*/linux.h' % src_conf_dir,
'%s/linux.h' % src_conf_dir)
@@ -102,6 +104,8 @@ python gcc_multilib_setup() {
r'\1' + wrap_libdir(libdir64) + r'\3'),
(r'^(#define\s*GLIBC_DYNAMIC_LINKER64\s*\"\S+\"\s*)(\S+)(\s*\"\S+\"\s*)(\S+)(\s*\".*\")$',
r'\1' + wrap_libdir(libdir64) + r'\3' + wrap_libdir(libdir64) + r'\5'),
+ (r'^(#define\s*GLIBC_DYNAMIC_LINKER\b\s*)(\S+)(\s*\".*\")$',
+ r'\1' + wrap_libdir(libdir32) + r'\3'),
(r'^(#define\s*GLIBC_DYNAMIC_LINKERX32\s*)(\S+)(\s*\".*\")$',
r'\1' + wrap_libdir(libdirx32) + r'\3'),
(r'^(#define\s*GLIBC_DYNAMIC_LINKERN32\s*)(\S+)(\s*\".*\")$',
@@ -112,8 +116,18 @@ python gcc_multilib_setup() {
r'\1' + wrap_libdir(libdir64) + r'\3'),
(r'^(#define\s*UCLIBC_DYNAMIC_LINKERN32\s*)(\S+)(\s*\".*\")$',
r'\1' + wrap_libdir(libdirn32) + r'\3'),
+ (r'^(#define\s*UCLIBC_DYNAMIC_LINKERX32\s*)(\S+)(\s*\".*\")$',
+ r'\1' + wrap_libdir(libdirx32) + r'\3'),
(r'^(#define\s*UCLIBC_DYNAMIC_LINKER\b\s*)(\S+)(\s*\".*\")$',
r'\1' + wrap_libdir(libdir32) + r'\3'),
+ (r'^(#define\s*MUSL_DYNAMIC_LINKER32\s*)(\S+)(\s*\".*\")$',
+ r'\1' + wrap_libdir(libdir32) + r'\3'),
+ (r'^(#define\s*MUSL_DYNAMIC_LINKER64\s*)(\S+)(\s*\".*\")$',
+ r'\1' + wrap_libdir(libdir64) + r'\3'),
+ (r'^(#define\s*MUSL_DYNAMIC_LINKERX32\s*)(\S+)(\s*\".*\")$',
+ r'\1' + wrap_libdir(libdirx32) + r'\3'),
+ (r'^(#define\s*MUSL_DYNAMIC_LINKER\b\s*)(\S+)(\s*\".*\")$',
+ r'\1' + wrap_libdir(libdir32) + r'\3'),
]
for (i, line) in enumerate(filelines):
@@ -138,15 +152,15 @@ python gcc_multilib_setup() {
}
gcc_header_config_files = {
- 'x86_64' : ['gcc/config/i386/linux64.h'],
- 'i586' : ['gcc/config/i386/linux64.h'],
- 'i686' : ['gcc/config/i386/linux64.h'],
- 'mips' : ['gcc/config/mips/linux.h', 'gcc/config/mips/linux64.h'],
- 'mips64' : ['gcc/config/mips/linux.h', 'gcc/config/mips/linux64.h'],
- 'powerpc' : ['gcc/config/rs6000/linux64.h'],
- 'powerpc64' : ['gcc/config/rs6000/linux64.h'],
- 'aarch64' : ['gcc/config/aarch64/aarch64.h'],
- 'arm' : ['gcc/config/aarch64/aarch64.h'],
+ 'x86_64' : ['gcc/config/linux.h', 'gcc/config/i386/linux.h', 'gcc/config/i386/linux64.h'],
+ 'i586' : ['gcc/config/linux.h', 'gcc/config/i386/linux.h', 'gcc/config/i386/linux64.h'],
+ 'i686' : ['gcc/config/linux.h', 'gcc/config/i386/linux.h', 'gcc/config/i386/linux64.h'],
+ 'mips' : ['gcc/config/linux.h', 'gcc/config/mips/linux.h', 'gcc/config/mips/linux64.h'],
+ 'mips64' : ['gcc/config/linux.h', 'gcc/config/mips/linux.h', 'gcc/config/mips/linux64.h'],
+ 'powerpc' : ['gcc/config/linux.h', 'gcc/config/rs6000/linux64.h'],
+ 'powerpc64' : ['gcc/config/linux.h', 'gcc/config/rs6000/linux64.h'],
+ 'aarch64' : ['gcc/config/linux.h', 'gcc/config/aarch64/aarch64-linux.h', 'gcc/config/arm/linux-eabi.h'],
+ 'arm' : ['gcc/config/linux.h', 'gcc/config/aarch64/aarch64-linux.h', 'gcc/config/arm/linux-eabi.h'],
}
libdir32 = 'SYSTEMLIBS_DIR'
@@ -170,7 +184,7 @@ python gcc_multilib_setup() {
header_config_files = gcc_header_config_files[target_arch]
ml_list = ['DEFAULTTUNE_MULTILIB_ORIGINAL' if mlprefix else 'DEFAULTTUNE']
- mltunes = [('DEFAULTTUNE_virtclass-multilib-%s' % ml) for ml in multilibs]
+ mltunes = [('DEFAULTTUNE:virtclass-multilib-%s' % ml) for ml in multilibs]
if mlprefix:
mlindex = 0
for ml in multilibs:
diff --git a/meta/recipes-devtools/gcc/gcc-runtime.inc b/meta/recipes-devtools/gcc/gcc-runtime.inc
index 9dcce26536..89b0bebcfb 100644
--- a/meta/recipes-devtools/gcc/gcc-runtime.inc
+++ b/meta/recipes-devtools/gcc/gcc-runtime.inc
@@ -6,7 +6,7 @@ SUMMARY = "Runtime libraries from GCC"
# All gcc-runtime packages are now covered by the runtime exception.
LICENSE = "GPL-3.0-with-GCC-exception"
-CXXFLAGS_remove = "-fvisibility-inlines-hidden"
+CXXFLAGS:remove = "-fvisibility-inlines-hidden"
EXTRA_OECONF_PATHS = "\
--with-gxx-include-dir=${includedir}/c++/${BINV} \
@@ -14,63 +14,57 @@ EXTRA_OECONF_PATHS = "\
--with-build-sysroot=${STAGING_DIR_TARGET} \
"
-EXTRA_OECONF_append_linuxstdbase = " --enable-clocale=gnu"
-EXTRA_OECONF_append = " --cache-file=${B}/config.cache"
-EXTRA_OECONF_append_libc-newlib = " --with-newlib"
+EXTRA_OECONF:append:linuxstdbase = " --enable-clocale=gnu"
+EXTRA_OECONF:append = " --cache-file=${B}/config.cache"
+EXTRA_OECONF:append:libc-newlib = " --with-newlib --with-target-subdir"
+EXTRA_OECONF:append:libc-baremetal = " --with-target-subdir"
# Disable ifuncs for libatomic on arm conflicts -march/-mcpu
-EXTRA_OECONF_append_arm = " libat_cv_have_ifunc=no "
-EXTRA_OECONF_append_armeb = " libat_cv_have_ifunc=no "
+EXTRA_OECONF:append:arm = " libat_cv_have_ifunc=no "
+EXTRA_OECONF:append:armeb = " libat_cv_have_ifunc=no "
-DISABLE_STATIC_class-nativesdk ?= ""
+DISABLE_STATIC:class-nativesdk ?= ""
# Newlib does not support symbol versioning on libsdtcc++
-SYMVERS_CONF_libc-newlib = ""
+SYMVERS_CONF:libc-newlib = ""
# Building with thumb enabled on armv6t fails
-ARM_INSTRUCTION_SET_armv6 = "arm"
+ARM_INSTRUCTION_SET:armv6 = "arm"
RUNTIMELIBITM = "libitm"
-RUNTIMELIBITM_arc = ""
-RUNTIMELIBITM_mipsarch = ""
-RUNTIMELIBITM_nios2 = ""
-RUNTIMELIBITM_microblaze = ""
-RUNTIMELIBITM_riscv32 = ""
-RUNTIMELIBITM_riscv64 = ""
+RUNTIMELIBITM:arc = ""
+RUNTIMELIBITM:mipsarch = ""
+RUNTIMELIBITM:nios2 = ""
+RUNTIMELIBITM:microblaze = ""
+RUNTIMELIBITM:riscv32 = ""
+RUNTIMELIBITM:riscv64 = ""
+RUNTIMELIBITM:loongarch64 = ""
RUNTIMELIBSSP ?= ""
-RUNTIMELIBSSP_mingw32 ?= "libssp"
+RUNTIMELIBSSP:mingw32 ?= "libssp"
RUNTIMETARGET = "${RUNTIMELIBSSP} libstdc++-v3 libgomp libatomic ${RUNTIMELIBITM} \
${@bb.utils.contains_any('FORTRAN', [',fortran',',f77'], 'libquadmath', '', d)} \
"
# Only build libstdc++ for newlib
-RUNTIMETARGET_libc-newlib = "libstdc++-v3"
+RUNTIMETARGET:libc-newlib = "libstdc++-v3"
# libiberty
# libgfortran needs separate recipe due to libquadmath dependency
-SLIB = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/gcc-${PV}"
-SLIB_NEW = "/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}"
-
-DEBUG_PREFIX_MAP_class-target = " \
- -fdebug-prefix-map=${WORKDIR}/recipe-sysroot= \
- -fdebug-prefix-map=${WORKDIR}/recipe-sysroot-native= \
- -fdebug-prefix-map=${SLIB}=${SLIB_NEW} \
- -fdebug-prefix-map=${SLIB}/include=${SLIB_NEW}/libstdc++-v3/../include \
- -fdebug-prefix-map=${SLIB}/libiberty=${SLIB_NEW}/libstdc++-v3/../libiberty \
- -fdebug-prefix-map=${B}=${SLIB_NEW} \
- "
-
do_configure () {
- export CXX="${CXX} -nostdinc++ -nostdlib++"
+ export CXX="${CXX} -nostdinc++ -L${WORKDIR}/dummylib"
+ # libstdc++ isn't built yet so CXX would error not able to find it which breaks stdc++'s configure
+ # tests. Create a dummy empty lib for the purposes of configure.
+ mkdir -p ${WORKDIR}/dummylib
+ ${CC} -x c /dev/null -c -o ${WORKDIR}/dummylib/dummylib.o
+ ${AR} rcs ${WORKDIR}/dummylib/libstdc++.a ${WORKDIR}/dummylib/dummylib.o
for d in libgcc ${RUNTIMETARGET}; do
echo "Configuring $d"
rm -rf ${B}/${TARGET_SYS}/$d/
mkdir -p ${B}/${TARGET_SYS}/$d/
cd ${B}/${TARGET_SYS}/$d/
chmod a+x ${S}/$d/configure
- relpath=${@os.path.relpath("${S}/$d", "${B}/${TARGET_SYS}/$d")}
- $relpath/configure ${CONFIGUREOPTS} ${EXTRA_OECONF}
+ ${S}/$d/configure ${CONFIGUREOPTS} ${EXTRA_OECONF}
if [ "$d" = "libgcc" ]; then
(cd ${B}/${TARGET_SYS}/libgcc; oe_runmake enable-execute-stack.c unwind.h md-unwind-support.h sfp-machine.h gthr-default.h)
fi
@@ -91,12 +85,14 @@ do_install () {
cd ${B}/${TARGET_SYS}/$d/
oe_runmake 'DESTDIR=${D}' MULTIBUILDTOP=${B}/${TARGET_SYS}/$d/ install
done
+ install -d ${D}${datadir}/gdb/auto-load/${libdir}
+ mv ${D}${libdir}/libstdc++*-gdb.py ${D}${datadir}/gdb/auto-load/${libdir}
if [ -d ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/include ]; then
install -d ${D}${libdir}/${TARGET_SYS}/${BINV}/include
mv ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/include/* ${D}${libdir}/${TARGET_SYS}/${BINV}/include
rmdir --ignore-fail-on-non-empty -p ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/include
fi
- rm -rf ${D}${infodir}/libgomp.info ${D}${infodir}/dir
+ rm -rf ${D}${infodir}/libgomp.info* ${D}${infodir}/dir
rm -rf ${D}${infodir}/libitm.info ${D}${infodir}/dir
rm -rf ${D}${infodir}/libquadmath.info ${D}${infodir}/dir
if [ -d ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/finclude ]; then
@@ -105,9 +101,12 @@ do_install () {
if [ -d ${D}${infodir} ]; then
rmdir --ignore-fail-on-non-empty -p ${D}${infodir}
fi
+ if [ -d ${D}${libdir} ]; then
+ rmdir --ignore-fail-on-non-empty -p ${D}${libdir}
+ fi
}
-do_install_append_class-target () {
+do_install:append:class-target () {
if [ "${TARGET_OS}" = "linux-gnuspe" ]; then
ln -s ${TARGET_SYS} ${D}${includedir}/c++/${BINV}/${TARGET_ARCH}${TARGET_VENDOR}-linux
fi
@@ -138,7 +137,7 @@ do_install_append_class-target () {
ln -s ../${TARGET_SYS}/ext ${D}${includedir}/c++/${BINV}/${TARGET_ARCH}${TARGET_VENDOR_MULTILIB_ORIGINAL}-${TARGET_OS}/ext
fi
- if [ "${TARGET_ARCH}" == "x86_64" -a "${MULTILIB_VARIANTS}" != "" ];then
+ if [ "${TARGET_ARCH}" = "x86_64" -a "${MULTILIB_VARIANTS}" != "" ];then
ln -sf ../${X86ARCH32}${TARGET_VENDOR}-${TARGET_OS} ${D}${includedir}/c++/${BINV}/${TARGET_ARCH}${TARGET_VENDOR}-${TARGET_OS}/32
fi
@@ -184,67 +183,72 @@ PACKAGES = "\
libitm-staticdev \
"
# The base package doesn't exist, so we clear the recommends.
-RRECOMMENDS_${PN}-dbg = ""
+RRECOMMENDS:${PN}-dbg = ""
# include python debugging scripts
-FILES_${PN}-dbg += "\
- ${libdir}/libstdc++.*-gdb.py \
+FILES:${PN}-dbg += "\
${datadir}/gcc-${BINV}/python/libstdcxx \
+ ${datadir}/gdb/auto-load \
"
-
-FILES_libg2c = "${target_libdir}/libg2c.so.*"
-SUMMARY_libg2c = "Companion runtime library for g77"
-FILES_libg2c-dev = "\
+# Needed by libstdcxx pretty printer, however it is disabled intentionally
+# as it adds build time dependency on bash and some cases e.g. no GPL3 cases
+# bash is not availbale and builds fails
+# So it needs to be added manually to images sadly.
+# RDEPENDS:${PN}-dbg += "python3-datetime"
+
+FILES:libg2c = "${target_libdir}/libg2c.so.*"
+SUMMARY:libg2c = "Companion runtime library for g77"
+FILES:libg2c-dev = "\
${libdir}/libg2c.so \
${libdir}/libg2c.a \
${libdir}/libfrtbegin.a \
"
-SUMMARY_libg2c-dev = "Companion runtime library for g77 - development files"
+SUMMARY:libg2c-dev = "Companion runtime library for g77 - development files"
-FILES_libstdc++ = "${libdir}/libstdc++.so.*"
-SUMMARY_libstdc++ = "GNU standard C++ library"
-FILES_libstdc++-dev = "\
+FILES:libstdc++ = "${libdir}/libstdc++.so.*"
+SUMMARY:libstdc++ = "GNU standard C++ library"
+FILES:libstdc++-dev = "\
${includedir}/c++/ \
${libdir}/libstdc++.so \
${libdir}/libstdc++*.la \
${libdir}/libsupc++.la \
"
-SUMMARY_libstdc++-dev = "GNU standard C++ library - development files"
-FILES_libstdc++-staticdev = "\
+SUMMARY:libstdc++-dev = "GNU standard C++ library - development files"
+FILES:libstdc++-staticdev = "\
${libdir}/libstdc++*.a \
${libdir}/libsupc++.a \
"
-SUMMARY_libstdc++-staticdev = "GNU standard C++ library - static development files"
+SUMMARY:libstdc++-staticdev = "GNU standard C++ library - static development files"
-FILES_libstdc++-precompile-dev = "${includedir}/c++/${TARGET_SYS}/bits/*.gch"
-SUMMARY_libstdc++-precompile-dev = "GNU standard C++ library - precompiled header files"
+FILES:libstdc++-precompile-dev = "${includedir}/c++/${TARGET_SYS}/bits/*.gch"
+SUMMARY:libstdc++-precompile-dev = "GNU standard C++ library - precompiled header files"
-FILES_libssp = "${libdir}/libssp.so.*"
-SUMMARY_libssp = "GNU stack smashing protection library"
-FILES_libssp-dev = "\
+FILES:libssp = "${libdir}/libssp.so.*"
+SUMMARY:libssp = "GNU stack smashing protection library"
+FILES:libssp-dev = "\
${libdir}/libssp*.so \
${libdir}/libssp*_nonshared.a \
${libdir}/libssp*.la \
${libdir}/${TARGET_SYS}/${BINV}/include/ssp \
"
-SUMMARY_libssp-dev = "GNU stack smashing protection library - development files"
-FILES_libssp-staticdev = "${libdir}/libssp*.a"
-SUMMARY_libssp-staticdev = "GNU stack smashing protection library - static development files"
+SUMMARY:libssp-dev = "GNU stack smashing protection library - development files"
+FILES:libssp-staticdev = "${libdir}/libssp*.a"
+SUMMARY:libssp-staticdev = "GNU stack smashing protection library - static development files"
-FILES_libquadmath = "${libdir}/libquadmath*.so.*"
-SUMMARY_libquadmath = "GNU quad-precision math library"
-FILES_libquadmath-dev = "\
+FILES:libquadmath = "${libdir}/libquadmath*.so.*"
+SUMMARY:libquadmath = "GNU quad-precision math library"
+FILES:libquadmath-dev = "\
${libdir}/${TARGET_SYS}/${BINV}/include/quadmath* \
${libdir}/libquadmath*.so \
${libdir}/libquadmath.la \
"
-SUMMARY_libquadmath-dev = "GNU quad-precision math library - development files"
-FILES_libquadmath-staticdev = "${libdir}/libquadmath.a"
-SUMMARY_libquadmath-staticdev = "GNU quad-precision math library - static development files"
+SUMMARY:libquadmath-dev = "GNU quad-precision math library - development files"
+FILES:libquadmath-staticdev = "${libdir}/libquadmath.a"
+SUMMARY:libquadmath-staticdev = "GNU quad-precision math library - static development files"
-FILES_libgomp = "${libdir}/libgomp*${SOLIBS}"
-SUMMARY_libgomp = "GNU OpenMP parallel programming library"
-FILES_libgomp-dev = "\
+FILES:libgomp = "${libdir}/libgomp*${SOLIBS}"
+SUMMARY:libgomp = "GNU OpenMP parallel programming library"
+FILES:libgomp-dev = "\
${libdir}/libgomp*${SOLIBSDEV} \
${libdir}/libgomp*.la \
${libdir}/libgomp.spec \
@@ -252,34 +256,34 @@ FILES_libgomp-dev = "\
${libdir}/${TARGET_SYS}/${BINV}/include/omp.h \
${libdir}/${TARGET_SYS}/${BINV}/include/openacc.h \
"
-SUMMARY_libgomp-dev = "GNU OpenMP parallel programming library - development files"
-FILES_libgomp-staticdev = "${libdir}/libgomp*.a"
-SUMMARY_libgomp-staticdev = "GNU OpenMP parallel programming library - static development files"
+SUMMARY:libgomp-dev = "GNU OpenMP parallel programming library - development files"
+FILES:libgomp-staticdev = "${libdir}/libgomp*.a"
+SUMMARY:libgomp-staticdev = "GNU OpenMP parallel programming library - static development files"
-FILES_libatomic = "${libdir}/libatomic.so.*"
-SUMMARY_libatomic = "GNU C++11 atomics support library"
-FILES_libatomic-dev = "\
+FILES:libatomic = "${libdir}/libatomic.so.*"
+SUMMARY:libatomic = "GNU C++11 atomics support library"
+FILES:libatomic-dev = "\
${libdir}/libatomic.so \
${libdir}/libatomic.la \
"
-SUMMARY_libatomic-dev = "GNU C++11 atomics support library - development files"
-FILES_libatomic-staticdev = "${libdir}/libatomic.a"
-SUMMARY_libatomic-staticdev = "GNU C++11 atomics support library - static development files"
+SUMMARY:libatomic-dev = "GNU C++11 atomics support library - development files"
+FILES:libatomic-staticdev = "${libdir}/libatomic.a"
+SUMMARY:libatomic-staticdev = "GNU C++11 atomics support library - static development files"
-FILES_libitm = "${libdir}/libitm.so.*"
-SUMMARY_libitm = "GNU transactional memory support library"
-FILES_libitm-dev = "\
+FILES:libitm = "${libdir}/libitm.so.*"
+SUMMARY:libitm = "GNU transactional memory support library"
+FILES:libitm-dev = "\
${libdir}/libitm.so \
${libdir}/libitm.la \
${libdir}/libitm.spec \
"
-SUMMARY_libitm-dev = "GNU transactional memory support library - development files"
-FILES_libitm-staticdev = "${libdir}/libitm.a"
-SUMMARY_libitm-staticdev = "GNU transactional memory support library - static development files"
+SUMMARY:libitm-dev = "GNU transactional memory support library - development files"
+FILES:libitm-staticdev = "${libdir}/libitm.a"
+SUMMARY:libitm-staticdev = "GNU transactional memory support library - static development files"
require gcc-testsuite.inc
-EXTRA_OEMAKE_prepend_task-check = "${PARALLEL_MAKE} "
+EXTRA_OEMAKE:prepend:task-check = "${PARALLEL_MAKE} "
MAKE_CHECK_TARGETS ??= "check-gcc ${@" ".join("check-target-" + i for i in d.getVar("RUNTIMETARGET").split())}"
# prettyprinters and xmethods require gdb tooling
@@ -300,7 +304,7 @@ do_check() {
export DEJAGNU="${WORKDIR}/dejagnu/site.exp"
# HACK: this works around the configure setting CXX with -nostd* args
- sed -i 's/-nostdinc++ -nostdlib++//g' $(find ${B} -name testsuite_flags | head -1)
+ sed -i 's#-nostdinc++ -L${WORKDIR}/dummylib##g' $(find ${B} -name testsuite_flags | head -1)
if [ "${TOOLCHAIN_TEST_TARGET}" = "user" ]; then
# qemu user has issues allocating large amounts of memory
diff --git a/meta/recipes-devtools/gcc/gcc-runtime_10.2.bb b/meta/recipes-devtools/gcc/gcc-runtime_14.1.bb
index dd430b57eb..dd430b57eb 100644
--- a/meta/recipes-devtools/gcc/gcc-runtime_10.2.bb
+++ b/meta/recipes-devtools/gcc/gcc-runtime_14.1.bb
diff --git a/meta/recipes-devtools/gcc/gcc-sanitizers.inc b/meta/recipes-devtools/gcc/gcc-sanitizers.inc
index 668e14a59f..524ebd4ba4 100644
--- a/meta/recipes-devtools/gcc/gcc-sanitizers.inc
+++ b/meta/recipes-devtools/gcc/gcc-sanitizers.inc
@@ -35,6 +35,11 @@ do_compile () {
do_install () {
cd ${B}/${TARGET_SYS}/libsanitizer/
oe_runmake 'DESTDIR=${D}' MULTIBUILDTOP=${B}/${TARGET_SYS}/libsanitizer/ install
+ if [ -d ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/include ]; then
+ install -d ${D}${libdir}/${TARGET_SYS}/${BINV}/include
+ mv ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/include/* ${D}${libdir}/${TARGET_SYS}/${BINV}/include
+ rmdir --ignore-fail-on-non-empty -p ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/include
+ fi
if [ -d ${D}${infodir} ]; then
rmdir --ignore-fail-on-non-empty -p ${D}${infodir}
fi
@@ -42,11 +47,11 @@ do_install () {
}
INHIBIT_DEFAULT_DEPS = "1"
-ALLOW_EMPTY_${PN} = "1"
+ALLOW_EMPTY:${PN} = "1"
DEPENDS = "virtual/crypt gcc-runtime virtual/${TARGET_PREFIX}gcc"
# used to fix ../../../../../../../../../work-shared/gcc-8.3.0-r0/gcc-8.3.0/libsanitizer/libbacktrace/../../libbacktrace/elf.c:772:21: error: 'st.st_mode' may be used uninitialized in this function [-Werror=maybe-uninitialized]
-DEBUG_OPTIMIZATION_append = " -Wno-error"
+DEBUG_OPTIMIZATION:append = " -Wno-error"
BBCLASSEXTEND = "nativesdk"
@@ -55,58 +60,62 @@ PACKAGES += "libasan libubsan liblsan libtsan"
PACKAGES += "libasan-dev libubsan-dev liblsan-dev libtsan-dev"
PACKAGES += "libasan-staticdev libubsan-staticdev liblsan-staticdev libtsan-staticdev"
-RDEPENDS_libasan += "libstdc++"
-RDEPENDS_libubsan += "libstdc++"
-RDEPENDS_liblsan += "libstdc++"
-RDEPENDS_libtsan += "libstdc++"
-RDEPENDS_libasan-dev += "${PN}"
-RDEPENDS_libubsan-dev += "${PN}"
-RDEPENDS_liblsan-dev += "${PN}"
-RDEPENDS_libtsan-dev += "${PN}"
-RRECOMMENDS_${PN} += "libasan libubsan"
-RRECOMMENDS_${PN}_append_x86 = " liblsan"
-RRECOMMENDS_${PN}_append_x86-64 = " liblsan libtsan"
-RRECOMMENDS_${PN}_append_powerpc64 = " liblsan libtsan"
-RRECOMMENDS_${PN}_append_aarch64 = " liblsan libtsan"
+RDEPENDS:libasan += "libstdc++"
+RDEPENDS:libubsan += "libstdc++"
+RDEPENDS:liblsan += "libstdc++"
+RDEPENDS:libtsan += "libstdc++"
+RDEPENDS:libasan-dev += "${PN}"
+RDEPENDS:libubsan-dev += "${PN}"
+RDEPENDS:liblsan-dev += "${PN}"
+RDEPENDS:libtsan-dev += "${PN}"
+RRECOMMENDS:${PN} += "libasan libubsan"
+RRECOMMENDS:${PN}:append:x86 = " liblsan"
+RRECOMMENDS:${PN}:append:x86-64 = " liblsan libtsan"
+RRECOMMENDS:${PN}:append:powerpc64 = " liblsan libtsan"
+RRECOMMENDS:${PN}:append:aarch64 = " liblsan libtsan"
do_package_write_ipk[depends] += "virtual/${MLPREFIX}${TARGET_PREFIX}compilerlibs:do_packagedata"
do_package_write_deb[depends] += "virtual/${MLPREFIX}${TARGET_PREFIX}compilerlibs:do_packagedata"
do_package_write_rpm[depends] += "virtual/${MLPREFIX}${TARGET_PREFIX}compilerlibs:do_packagedata"
-# Only x86, powerpc, sparc, s390, arm, and aarch64 are supported
-COMPATIBLE_HOST = '(x86_64|i.86|powerpc|sparc|s390|arm|aarch64).*-linux'
+# Only x86, powerpc, sparc, s390, arm, aarch64 and loongarch64 are supported
+COMPATIBLE_HOST = '(x86_64|i.86|powerpc|sparc|s390|arm|aarch64|loongarch64).*-linux'
# musl is currently broken entirely
-COMPATIBLE_HOST_libc-musl = 'null'
+COMPATIBLE_HOST:libc-musl = 'null'
-FILES_libasan += "${libdir}/libasan.so.*"
-FILES_libasan-dev += "\
+FILES:libasan += "${libdir}/libasan.so.* ${libdir}/libhwasan.so.*"
+FILES:libasan-dev += "\
${libdir}/libasan_preinit.o \
+ ${libdir}/libhwasan_preinit.o \
${libdir}/libasan.so \
+ ${libdir}/libhwasan.so \
${libdir}/libasan.la \
"
-FILES_libasan-staticdev += "${libdir}/libasan.a"
+FILES:libasan-staticdev += "${libdir}/libasan.a \
+ ${libdir}/libhwasan.a \
+"
-FILES_libubsan += "${libdir}/libubsan.so.*"
-FILES_libubsan-dev += "\
+FILES:libubsan += "${libdir}/libubsan.so.*"
+FILES:libubsan-dev += "\
${libdir}/libubsan.so \
${libdir}/libubsan.la \
"
-FILES_libubsan-staticdev += "${libdir}/libubsan.a"
+FILES:libubsan-staticdev += "${libdir}/libubsan.a"
-FILES_liblsan += "${libdir}/liblsan.so.*"
-FILES_liblsan-dev += "\
+FILES:liblsan += "${libdir}/liblsan.so.*"
+FILES:liblsan-dev += "\
${libdir}/liblsan.so \
${libdir}/liblsan.la \
${libdir}/liblsan_preinit.o \
"
-FILES_liblsan-staticdev += "${libdir}/liblsan.a"
+FILES:liblsan-staticdev += "${libdir}/liblsan.a"
-FILES_libtsan += "${libdir}/libtsan.so.*"
-FILES_libtsan-dev += "\
+FILES:libtsan += "${libdir}/libtsan.so.*"
+FILES:libtsan-dev += "\
${libdir}/libtsan.so \
${libdir}/libtsan.la \
${libdir}/libtsan_*.o \
"
-FILES_libtsan-staticdev += "${libdir}/libtsan.a"
+FILES:libtsan-staticdev += "${libdir}/libtsan.a"
-FILES_${PN} = "${libdir}/*.spec ${libdir}/gcc/${TARGET_SYS}/${BINV}/include/sanitizer/*.h"
+FILES:${PN} = "${libdir}/*.spec ${libdir}/${TARGET_SYS}/${BINV}/include/sanitizer/*.h"
diff --git a/meta/recipes-devtools/gcc/gcc-sanitizers_10.2.bb b/meta/recipes-devtools/gcc/gcc-sanitizers_14.1.bb
index f3c7058114..8bda2ccad6 100644
--- a/meta/recipes-devtools/gcc/gcc-sanitizers_10.2.bb
+++ b/meta/recipes-devtools/gcc/gcc-sanitizers_14.1.bb
@@ -3,5 +3,5 @@ require gcc-sanitizers.inc
# Building with thumb enabled on armv4t armv5t fails with
# sanitizer_linux.s:5749: Error: lo register required -- `ldr ip,[sp],#8'
-ARM_INSTRUCTION_SET_armv4 = "arm"
-ARM_INSTRUCTION_SET_armv5 = "arm"
+ARM_INSTRUCTION_SET:armv4 = "arm"
+ARM_INSTRUCTION_SET:armv5 = "arm"
diff --git a/meta/recipes-devtools/gcc/gcc-shared-source.inc b/meta/recipes-devtools/gcc/gcc-shared-source.inc
index aac4b49313..03f520b093 100644
--- a/meta/recipes-devtools/gcc/gcc-shared-source.inc
+++ b/meta/recipes-devtools/gcc/gcc-shared-source.inc
@@ -9,3 +9,13 @@ SRC_URI = ""
do_configure[depends] += "gcc-source-${PV}:do_preconfigure"
do_populate_lic[depends] += "gcc-source-${PV}:do_unpack"
+do_deploy_source_date_epoch[depends] += "gcc-source-${PV}:do_deploy_source_date_epoch"
+
+# Copy the SDE from the shared workdir to the recipe workdir
+do_deploy_source_date_epoch () {
+ sde_file=${SDE_FILE}
+ sde_file=${sde_file#${WORKDIR}/}
+ mkdir -p ${SDE_DEPLOYDIR} $(dirname ${SDE_FILE})
+ cp -p $(dirname ${S})/$sde_file ${SDE_DEPLOYDIR}
+ cp -p $(dirname ${S})/$sde_file ${SDE_FILE}
+}
diff --git a/meta/recipes-devtools/gcc/gcc-source.inc b/meta/recipes-devtools/gcc/gcc-source.inc
index 03bab97815..265bcf4bef 100644
--- a/meta/recipes-devtools/gcc/gcc-source.inc
+++ b/meta/recipes-devtools/gcc/gcc-source.inc
@@ -17,15 +17,21 @@ STAMPCLEAN = "${STAMPS_DIR}/work-shared/gcc-${PV}-*"
INHIBIT_DEFAULT_DEPS = "1"
DEPENDS = ""
PACKAGES = ""
+TARGET_ARCH = "allarch"
+TARGET_AS_ARCH = "none"
+TARGET_CC_ARCH = "none"
+TARGET_LD_ARCH = "none"
+TARGET_OS = "linux"
+baselib = "lib"
+PACKAGE_ARCH = "all"
+B = "${WORKDIR}/build"
# This needs to be Python to avoid lots of shell variables becoming dependencies.
python do_preconfigure () {
import subprocess
cmd = d.expand('cd ${S} && PATH=${PATH} gnu-configize')
subprocess.check_output(cmd, stderr=subprocess.STDOUT, shell=True)
- # See 0044-gengtypes.patch, we need to regenerate this file
- bb.utils.remove(d.expand("${S}/gcc/gengtype-lex.c"))
cmd = d.expand("sed -i 's/BUILD_INFO=info/BUILD_INFO=/' ${S}/gcc/configure")
subprocess.check_output(cmd, stderr=subprocess.STDOUT, shell=True)
diff --git a/meta/recipes-devtools/gcc/gcc-source_10.2.bb b/meta/recipes-devtools/gcc/gcc-source_14.1.bb
index b890fa33ea..b890fa33ea 100644
--- a/meta/recipes-devtools/gcc/gcc-source_10.2.bb
+++ b/meta/recipes-devtools/gcc/gcc-source_14.1.bb
diff --git a/meta/recipes-devtools/gcc/gcc-target.inc b/meta/recipes-devtools/gcc/gcc-target.inc
index 1e25dad86b..7dac3ef422 100644
--- a/meta/recipes-devtools/gcc/gcc-target.inc
+++ b/meta/recipes-devtools/gcc/gcc-target.inc
@@ -5,7 +5,7 @@ EXTRA_OECONF_PATHS = "\
--with-build-sysroot=${STAGING_DIR_TARGET} \
"
-EXTRA_OECONF_append_linuxstdbase = " --enable-clocale=gnu"
+EXTRA_OECONF:append:linuxstdbase = " --enable-clocale=gnu"
# Configure gcc running on the target to default to an architecture which will
# be compatible with that of gcc-runtime (which is cross compiled to be target
@@ -15,11 +15,11 @@ EXTRA_OECONF_append_linuxstdbase = " --enable-clocale=gnu"
ARMFPARCHEXT ?= ""
-EXTRA_OECONF_append_armv6_class-target = " --with-arch=armv6${ARMFPARCHEXT}"
-EXTRA_OECONF_append_armv7a_class-target = " --with-arch=armv7-a${ARMFPARCHEXT}"
-EXTRA_OECONF_append_armv7ve_class-target = " --with-arch=armv7ve${ARMFPARCHEXT}"
-EXTRA_OECONF_append_arc_class-target = " --with-cpu=${TUNE_PKGARCH}"
-EXTRA_OECONF_append_x86-64_class-target = " --with-arch=native"
+EXTRA_OECONF:append:armv6:class-target = " --with-arch=armv6${ARMFPARCHEXT}"
+EXTRA_OECONF:append:armv7a:class-target = " --with-arch=armv7-a${ARMFPARCHEXT}"
+EXTRA_OECONF:append:armv7ve:class-target = " --with-arch=armv7ve${ARMFPARCHEXT}"
+EXTRA_OECONF:append:arc:class-target = " --with-cpu=${TUNE_PKGARCH}"
+EXTRA_OECONF:append:x86-64:class-target = " ${@get_gcc_x86_64_arch_setting(bb, d)}"
# libcc1 requres gcc_cv_objdump when cross build, but gcc_cv_objdump is
# set in subdir gcc, so subdir libcc1 can't use it, export it here to
@@ -40,11 +40,11 @@ PACKAGES = "\
${PN}-dbg \
"
-FILES_${PN} = "\
+FILES:${PN} = "\
${bindir}/${TARGET_PREFIX}gcc* \
${bindir}/${TARGET_PREFIX}lto* \
${libexecdir}/gcc/${TARGET_SYS}/${BINV}/collect2* \
- ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/cc1plus \
+ ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/g++-mapper-server \
${libexecdir}/gcc/${TARGET_SYS}/${BINV}/lto* \
${libexecdir}/gcc/${TARGET_SYS}/${BINV}/lib*${SOLIBS} \
${libexecdir}/gcc/${TARGET_SYS}/${BINV}/liblto*${SOLIBSDEV} \
@@ -53,86 +53,87 @@ FILES_${PN} = "\
${gcclibdir}/${TARGET_SYS}/${BINV}/lib*${SOLIBS} \
${gcclibdir}/${TARGET_SYS}/${BINV}/include \
${gcclibdir}/${TARGET_SYS}/${BINV}/include-fixed \
+ ${libdir}/bfd-plugins/*.so \
"
-INSANE_SKIP_${PN} += "dev-so"
-RRECOMMENDS_${PN} += "\
+INSANE_SKIP:${PN} += "dev-so"
+RRECOMMENDS:${PN} += "\
libssp \
libssp-dev \
"
-RDEPENDS_${PN} += "cpp"
+RDEPENDS:${PN} += "cpp"
-FILES_${PN}-dev = "\
+FILES:${PN}-dev = "\
${gcclibdir}/${TARGET_SYS}/${BINV}/lib*${SOLIBSDEV} \
${libexecdir}/gcc/${TARGET_SYS}/${BINV}/lib*${SOLIBSDEV} \
${gcclibdir}/${TARGET_SYS}/${BINV}/plugin/include/ \
${libexecdir}/gcc/${TARGET_SYS}/${BINV}/plugin/gengtype \
${gcclibdir}/${TARGET_SYS}/${BINV}/plugin/gtype.state \
"
-FILES_${PN}-symlinks = "\
+FILES:${PN}-symlinks = "\
${bindir}/cc \
${bindir}/gcc \
${bindir}/gccbug \
"
-FILES_${PN}-plugins = "\
+FILES:${PN}-plugins = "\
${gcclibdir}/${TARGET_SYS}/${BINV}/plugin \
"
-ALLOW_EMPTY_${PN}-plugins = "1"
+ALLOW_EMPTY:${PN}-plugins = "1"
-FILES_g77 = "\
+FILES:g77 = "\
${bindir}/${TARGET_PREFIX}g77 \
${libexecdir}/gcc/${TARGET_SYS}/${BINV}/f771 \
"
-FILES_g77-symlinks = "\
+FILES:g77-symlinks = "\
${bindir}/g77 \
${bindir}/f77 \
"
-RRECOMMENDS_g77 = "\
+RRECOMMENDS:g77 = "\
libg2c \
libg2c-dev \
"
-FILES_gfortran = "\
+FILES:gfortran = "\
${bindir}/${TARGET_PREFIX}gfortran \
${libexecdir}/gcc/${TARGET_SYS}/${BINV}/f951 \
"
-RRECOMMENDS_gfortran = "\
+RRECOMMENDS:gfortran = "\
libquadmath \
libquadmath-dev \
"
-FILES_gfortran-symlinks = "\
+FILES:gfortran-symlinks = "\
${bindir}/gfortran \
${bindir}/f95"
-FILES_cpp = "\
+FILES:cpp = "\
${bindir}/${TARGET_PREFIX}cpp* \
${base_libdir}/cpp \
${libexecdir}/gcc/${TARGET_SYS}/${BINV}/cc1"
-FILES_cpp-symlinks = "${bindir}/cpp"
+FILES:cpp-symlinks = "${bindir}/cpp"
-FILES_gcov = "${bindir}/${TARGET_PREFIX}gcov* \
+FILES:gcov = "${bindir}/${TARGET_PREFIX}gcov* \
${bindir}/${TARGET_PREFIX}gcov-tool* \
"
-FILES_gcov-symlinks = "${bindir}/gcov \
+FILES:gcov-symlinks = "${bindir}/gcov \
${bindir}/gcov-tool \
"
-FILES_g++ = "\
+FILES:g++ = "\
${bindir}/${TARGET_PREFIX}g++* \
${libexecdir}/gcc/${TARGET_SYS}/${BINV}/cc1plus \
"
-FILES_g++-symlinks = "\
+FILES:g++-symlinks = "\
${bindir}/c++ \
${bindir}/g++ \
"
-RRECOMMENDS_g++ = "\
+RRECOMMENDS:g++ = "\
libstdc++ \
libstdc++-dev \
libatomic \
libatomic-dev \
"
-FILES_${PN}-doc = "\
+FILES:${PN}-doc = "\
${infodir} \
${mandir} \
${gcclibdir}/${TARGET_SYS}/${BINV}/include/README \
@@ -191,7 +192,7 @@ do_install () {
rm -f *c++*
# We don't care about the gcc-<version> ones for this
- rm -f *gcc-?.?*
+ rm -f *gcc-?*.?*
# Not sure why we end up with these but we don't want them...
rm -f ${TARGET_PREFIX}${TARGET_PREFIX}*
@@ -214,11 +215,12 @@ do_install () {
ln -sf ${bindir}/${TARGET_PREFIX}cpp ${D}${base_libdir}/cpp
ln -sf g++ c++
ln -sf gcc cc
-
+ install -d ${D}${libdir}/bfd-plugins
+ ln -sf ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/liblto_plugin.so ${D}${libdir}/bfd-plugins/liblto_plugin.so
chown -R root:root ${D}
}
-do_install_append () {
+do_install:append () {
#
# Thefixinc.sh script, run on the gcc's compile phase, looks into sysroot header
# files and places the modified files into
@@ -254,4 +256,4 @@ do_install_append () {
# and builds track file dependencies (e.g. perl and its makedepends code).
# For determinism we don't install this ever and rely on the copy from gcc-cross.
# [YOCTO #7287]
-SYSROOT_DIRS_BLACKLIST += "${libdir}/gcc"
+SYSROOT_DIRS_IGNORE += "${libdir}/gcc"
diff --git a/meta/recipes-devtools/gcc/gcc-testsuite.inc b/meta/recipes-devtools/gcc/gcc-testsuite.inc
index f68fec58ed..f16d471478 100644
--- a/meta/recipes-devtools/gcc/gcc-testsuite.inc
+++ b/meta/recipes-devtools/gcc/gcc-testsuite.inc
@@ -51,9 +51,14 @@ python check_prepare() {
# enable all valid instructions, since the test suite itself does not
# limit itself to the target cpu options.
# - valid for x86*, powerpc, arm, arm64
- if qemu_binary.lstrip("qemu-") in ["x86_64", "i386", "ppc", "arm", "aarch64"]:
+ if qemu_binary.endswith(("x86_64", "i386", "arm", "aarch64")):
args += ["-cpu", "max"]
-
+ elif qemu_binary.endswith(("ppc", "mips", "mips64")):
+ extra = d.getVar("QEMU_EXTRAOPTIONS_%s" % d.getVar('PACKAGE_ARCH'))
+ if extra:
+ args += extra.split()
+ # For mips64 we could set a maximal CPU (e.g. Loongson-3A4000) however they either have MSA
+ # or Loongson-MMI vector extensions, not both and qemu lacks complete support for MMI
sysroot = d.getVar("RECIPE_SYSROOT")
args += ["-L", sysroot]
# lib paths are static here instead of using $libdir since this is used by a -cross recipe
diff --git a/meta/recipes-devtools/gcc/gcc/0001-aarch64-Fix-up-__aarch64_cas16_acq_rel-fallback.patch b/meta/recipes-devtools/gcc/gcc/0001-aarch64-Fix-up-__aarch64_cas16_acq_rel-fallback.patch
deleted file mode 100644
index c060accd99..0000000000
--- a/meta/recipes-devtools/gcc/gcc/0001-aarch64-Fix-up-__aarch64_cas16_acq_rel-fallback.patch
+++ /dev/null
@@ -1,66 +0,0 @@
-Upstream-Status: Backport
-Signed-off-by: Ross Burton <ross.burton@arm.com>
-
-From fd2ec4542fd2975e6d3f2f1c1a2639945a84f9e1 Mon Sep 17 00:00:00 2001
-From: Jakub Jelinek <jakub@redhat.com>
-Date: Mon, 3 Aug 2020 22:55:28 +0200
-Subject: [PATCH] aarch64: Fix up __aarch64_cas16_acq_rel fallback
-
-As mentioned in the PR, the fallback path when LSE is unavailable writes
-incorrect registers to the memory if the previous content compares equal
-to x0, x1 - it writes copy of x0, x1 from the start of function, but it
-should write x2, x3.
-
-2020-08-03 Jakub Jelinek <jakub@redhat.com>
-
- PR target/96402
- * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
- of x(tmp0), x(tmp1) in STXP arguments.
-
- * gcc.target/aarch64/pr96402.c: New test.
-
-(cherry picked from commit 90b43856fdff7d96d93d22970eca8a86c56e0ddc)
----
- gcc/testsuite/gcc.target/aarch64/pr96402.c | 16 ++++++++++++++++
- libgcc/config/aarch64/lse.S | 2 +-
- 2 files changed, 17 insertions(+), 1 deletion(-)
- create mode 100644 gcc/testsuite/gcc.target/aarch64/pr96402.c
-
-diff --git a/gcc/testsuite/gcc.target/aarch64/pr96402.c b/gcc/testsuite/gcc.target/aarch64/pr96402.c
-new file mode 100644
-index 00000000000..fa2dddfac15
---- /dev/null
-+++ b/gcc/testsuite/gcc.target/aarch64/pr96402.c
-@@ -0,0 +1,16 @@
-+/* PR target/96402 */
-+/* { dg-do run { target int128 } } */
-+/* { dg-options "-moutline-atomics" } */
-+
-+int
-+main ()
-+{
-+ __int128 a = 0;
-+ __sync_val_compare_and_swap (&a, (__int128) 0, (__int128) 1);
-+ if (a != 1)
-+ __builtin_abort ();
-+ __sync_val_compare_and_swap (&a, (__int128) 1, (((__int128) 0xdeadbeeffeedbac1ULL) << 64) | 0xabadcafe00c0ffeeULL);
-+ if (a != ((((__int128) 0xdeadbeeffeedbac1ULL) << 64) | 0xabadcafe00c0ffeeULL))
-+ __builtin_abort ();
-+ return 0;
-+}
-diff --git a/libgcc/config/aarch64/lse.S b/libgcc/config/aarch64/lse.S
-index 64691c601c1..c8fbfbce4fd 100644
---- a/libgcc/config/aarch64/lse.S
-+++ b/libgcc/config/aarch64/lse.S
-@@ -203,7 +203,7 @@ STARTFN NAME(cas)
- cmp x0, x(tmp0)
- ccmp x1, x(tmp1), #0, eq
- bne 1f
-- STXP w(tmp2), x(tmp0), x(tmp1), [x4]
-+ STXP w(tmp2), x2, x3, [x4]
- cbnz w(tmp2), 0b
- 1: ret
-
---
-2.26.2
-
diff --git a/meta/recipes-devtools/gcc/gcc/0001-aarch64-New-Straight-Line-Speculation-SLS-mitigation.patch b/meta/recipes-devtools/gcc/gcc/0001-aarch64-New-Straight-Line-Speculation-SLS-mitigation.patch
deleted file mode 100644
index 73de4c7590..0000000000
--- a/meta/recipes-devtools/gcc/gcc/0001-aarch64-New-Straight-Line-Speculation-SLS-mitigation.patch
+++ /dev/null
@@ -1,202 +0,0 @@
-CVE: CVE-2020-13844
-Upstream-Status: Backport
-Signed-off-by: Ross Burton <ross.burton@arm.com>
-
-From 1ff243934ac443b5f58cd02a5012ce58ecc31fb2 Mon Sep 17 00:00:00 2001
-From: Matthew Malcomson <matthew.malcomson@arm.com>
-Date: Thu, 9 Jul 2020 09:11:58 +0100
-Subject: [PATCH 1/3] aarch64: New Straight Line Speculation (SLS) mitigation
- flags
-
-Here we introduce the flags that will be used for straight line speculation.
-
-The new flag introduced is `-mharden-sls=`.
-This flag can take arguments of `none`, `all`, or a comma seperated list of one
-or more of `retbr` or `blr`.
-`none` indicates no special mitigation of the straight line speculation
-vulnerability.
-`all` requests all mitigations currently implemented.
-`retbr` requests that the RET and BR instructions have a speculation barrier
-inserted after them.
-`blr` requests that BLR instructions are replaced by a BL to a function stub
-using a BR with a speculation barrier after it.
-
-Setting this on a per-function basis using attributes or the like is not
-enabled, but may be in the future.
-
-gcc/ChangeLog:
-
-2020-06-02 Matthew Malcomson <matthew.malcomson@arm.com>
-
- * config/aarch64/aarch64-protos.h (aarch64_harden_sls_retbr_p):
- New.
- (aarch64_harden_sls_blr_p): New.
- * config/aarch64/aarch64.c (enum aarch64_sls_hardening_type):
- New.
- (aarch64_harden_sls_retbr_p): New.
- (aarch64_harden_sls_blr_p): New.
- (aarch64_validate_sls_mitigation): New.
- (aarch64_override_options): Parse options for SLS mitigation.
- * config/aarch64/aarch64.opt (-mharden-sls): New option.
- * doc/invoke.texi: Document new option.
----
- gcc/config/aarch64/aarch64-protos.h | 3 ++
- gcc/config/aarch64/aarch64.c | 76 +++++++++++++++++++++++++++++++++++++
- gcc/config/aarch64/aarch64.opt | 4 ++
- gcc/doc/invoke.texi | 12 ++++++
- 4 files changed, 95 insertions(+)
-
-diff --git a/gcc/config/aarch64/aarch64-protos.h b/gcc/config/aarch64/aarch64-protos.h
-index 723d9ba..eb5f4b4 100644
---- a/gcc/config/aarch64/aarch64-protos.h
-+++ b/gcc/config/aarch64/aarch64-protos.h
-@@ -781,4 +781,7 @@ extern const atomic_ool_names aarch64_ool_ldeor_names;
-
- tree aarch64_resolve_overloaded_builtin_general (location_t, tree, void *);
-
-+extern bool aarch64_harden_sls_retbr_p (void);
-+extern bool aarch64_harden_sls_blr_p (void);
-+
- #endif /* GCC_AARCH64_PROTOS_H */
-diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c
-index b86434a..437a9cf 100644
---- a/gcc/config/aarch64/aarch64.c
-+++ b/gcc/config/aarch64/aarch64.c
-@@ -14494,6 +14494,79 @@ aarch64_validate_mcpu (const char *str, const struct processor **res,
- return false;
- }
-
-+/* Straight line speculation indicators. */
-+enum aarch64_sls_hardening_type
-+{
-+ SLS_NONE = 0,
-+ SLS_RETBR = 1,
-+ SLS_BLR = 2,
-+ SLS_ALL = 3,
-+};
-+static enum aarch64_sls_hardening_type aarch64_sls_hardening;
-+
-+/* Return whether we should mitigatate Straight Line Speculation for the RET
-+ and BR instructions. */
-+bool
-+aarch64_harden_sls_retbr_p (void)
-+{
-+ return aarch64_sls_hardening & SLS_RETBR;
-+}
-+
-+/* Return whether we should mitigatate Straight Line Speculation for the BLR
-+ instruction. */
-+bool
-+aarch64_harden_sls_blr_p (void)
-+{
-+ return aarch64_sls_hardening & SLS_BLR;
-+}
-+
-+/* As of yet we only allow setting these options globally, in the future we may
-+ allow setting them per function. */
-+static void
-+aarch64_validate_sls_mitigation (const char *const_str)
-+{
-+ char *token_save = NULL;
-+ char *str = NULL;
-+
-+ if (strcmp (const_str, "none") == 0)
-+ {
-+ aarch64_sls_hardening = SLS_NONE;
-+ return;
-+ }
-+ if (strcmp (const_str, "all") == 0)
-+ {
-+ aarch64_sls_hardening = SLS_ALL;
-+ return;
-+ }
-+
-+ char *str_root = xstrdup (const_str);
-+ str = strtok_r (str_root, ",", &token_save);
-+ if (!str)
-+ error ("invalid argument given to %<-mharden-sls=%>");
-+
-+ int temp = SLS_NONE;
-+ while (str)
-+ {
-+ if (strcmp (str, "blr") == 0)
-+ temp |= SLS_BLR;
-+ else if (strcmp (str, "retbr") == 0)
-+ temp |= SLS_RETBR;
-+ else if (strcmp (str, "none") == 0 || strcmp (str, "all") == 0)
-+ {
-+ error ("%<%s%> must be by itself for %<-mharden-sls=%>", str);
-+ break;
-+ }
-+ else
-+ {
-+ error ("invalid argument %<%s%> for %<-mharden-sls=%>", str);
-+ break;
-+ }
-+ str = strtok_r (NULL, ",", &token_save);
-+ }
-+ aarch64_sls_hardening = (aarch64_sls_hardening_type) temp;
-+ free (str_root);
-+}
-+
- /* Parses CONST_STR for branch protection features specified in
- aarch64_branch_protect_types, and set any global variables required. Returns
- the parsing result and assigns LAST_STR to the last processed token from
-@@ -14738,6 +14811,9 @@ aarch64_override_options (void)
- selected_arch = NULL;
- selected_tune = NULL;
-
-+ if (aarch64_harden_sls_string)
-+ aarch64_validate_sls_mitigation (aarch64_harden_sls_string);
-+
- if (aarch64_branch_protection_string)
- aarch64_validate_mbranch_protection (aarch64_branch_protection_string);
-
-diff --git a/gcc/config/aarch64/aarch64.opt b/gcc/config/aarch64/aarch64.opt
-index d99d14c..5170361 100644
---- a/gcc/config/aarch64/aarch64.opt
-+++ b/gcc/config/aarch64/aarch64.opt
-@@ -71,6 +71,10 @@ mgeneral-regs-only
- Target Report RejectNegative Mask(GENERAL_REGS_ONLY) Save
- Generate code which uses only the general registers.
-
-+mharden-sls=
-+Target RejectNegative Joined Var(aarch64_harden_sls_string)
-+Generate code to mitigate against straight line speculation.
-+
- mfix-cortex-a53-835769
- Target Report Var(aarch64_fix_a53_err835769) Init(2) Save
- Workaround for ARM Cortex-A53 Erratum number 835769.
-diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
-index a2794a6..bd5b77a 100644
---- a/gcc/doc/invoke.texi
-+++ b/gcc/doc/invoke.texi
-@@ -696,6 +696,7 @@ Objective-C and Objective-C++ Dialects}.
- -msign-return-address=@var{scope} @gol
- -mbranch-protection=@var{none}|@var{standard}|@var{pac-ret}[+@var{leaf}
- +@var{b-key}]|@var{bti} @gol
-+-mharden-sls=@var{opts} @gol
- -march=@var{name} -mcpu=@var{name} -mtune=@var{name} @gol
- -moverride=@var{string} -mverbose-cost-dump @gol
- -mstack-protector-guard=@var{guard} -mstack-protector-guard-reg=@var{sysreg} @gol
-@@ -17065,6 +17066,17 @@ functions. The optional argument @samp{b-key} can be used to sign the functions
- with the B-key instead of the A-key.
- @samp{bti} turns on branch target identification mechanism.
-
-+@item -mharden-sls=@var{opts}
-+@opindex mharden-sls
-+Enable compiler hardening against straight line speculation (SLS).
-+@var{opts} is a comma-separated list of the following options:
-+@table @samp
-+@item retbr
-+@item blr
-+@end table
-+In addition, @samp{-mharden-sls=all} enables all SLS hardening while
-+@samp{-mharden-sls=none} disables all SLS hardening.
-+
- @item -msve-vector-bits=@var{bits}
- @opindex msve-vector-bits
- Specify the number of bits in an SVE vector register. This option only has
---
-2.7.4
-
diff --git a/meta/recipes-devtools/gcc/gcc/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch b/meta/recipes-devtools/gcc/gcc/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch
index 82ae9f8d14..0b7c0af86f 100644
--- a/meta/recipes-devtools/gcc/gcc/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch
+++ b/meta/recipes-devtools/gcc/gcc/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch
@@ -1,4 +1,4 @@
-From f2a5dc3bc7e5727d6bf77e1c6e8a31a6f000883d Mon Sep 17 00:00:00 2001
+From 76ef337260aadeb475fd380ff9aca31ea1731345 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Fri, 29 Mar 2013 08:37:11 +0400
Subject: [PATCH] gcc-4.3.1: ARCH_FLAGS_FOR_TARGET
@@ -12,10 +12,10 @@ Upstream-Status: Inappropriate [embedded specific]
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure b/configure
-index 4cc938ebb7d..226a64939d1 100755
+index 02b435c1163..85a82fad302 100755
--- a/configure
+++ b/configure
-@@ -7722,7 +7722,7 @@ fi
+@@ -10387,7 +10387,7 @@ fi
# for target_alias and gcc doesn't manage it consistently.
target_configargs="--cache-file=./config.cache ${target_configargs}"
@@ -25,10 +25,10 @@ index 4cc938ebb7d..226a64939d1 100755
*" newlib "*)
case " $target_configargs " in
diff --git a/configure.ac b/configure.ac
-index c78d9cbea62..f024f4bac9b 100644
+index 1a19c07a27b..bc8e1b8c4ef 100644
--- a/configure.ac
+++ b/configure.ac
-@@ -3227,7 +3227,7 @@ fi
+@@ -3509,7 +3509,7 @@ fi
# for target_alias and gcc doesn't manage it consistently.
target_configargs="--cache-file=./config.cache ${target_configargs}"
diff --git a/meta/recipes-devtools/gcc/gcc/0002-aarch64-Introduce-SLS-mitigation-for-RET-and-BR-inst.patch b/meta/recipes-devtools/gcc/gcc/0002-aarch64-Introduce-SLS-mitigation-for-RET-and-BR-inst.patch
deleted file mode 100644
index 823cc8b668..0000000000
--- a/meta/recipes-devtools/gcc/gcc/0002-aarch64-Introduce-SLS-mitigation-for-RET-and-BR-inst.patch
+++ /dev/null
@@ -1,607 +0,0 @@
-Upstream-Status: Backport
-Signed-off-by: Ross Burton <ross.burton@arm.com>
-
-From b1204d16e1ec96a4aa89e44de8990e2499ffdb22 Mon Sep 17 00:00:00 2001
-From: Matthew Malcomson <matthew.malcomson@arm.com>
-Date: Thu, 9 Jul 2020 09:11:59 +0100
-Subject: [PATCH 2/3] aarch64: Introduce SLS mitigation for RET and BR
- instructions
-
-Instructions following RET or BR are not necessarily executed. In order
-to avoid speculation past RET and BR we can simply append a speculation
-barrier.
-
-Since these speculation barriers will not be architecturally executed,
-they are not expected to add a high performance penalty.
-
-The speculation barrier is to be SB when targeting architectures which
-have this enabled, and DSB SY + ISB otherwise.
-
-We add tests for each of the cases where such an instruction was seen.
-
-This is implemented by modifying each machine description pattern that
-emits either a RET or a BR instruction. We choose not to use something
-like `TARGET_ASM_FUNCTION_EPILOGUE` since it does not affect the
-`indirect_jump`, `jump`, `sibcall_insn` and `sibcall_value_insn`
-patterns and we find it preferable to implement the functionality in the
-same way for every pattern.
-
-There is one particular case which is slightly tricky. The
-implementation of TARGET_ASM_TRAMPOLINE_TEMPLATE uses a BR which needs
-to be mitigated against. The trampoline template is used *once* per
-compilation unit, and the TRAMPOLINE_SIZE is exposed to the user via the
-builtin macro __LIBGCC_TRAMPOLINE_SIZE__.
-In the future we may implement function specific attributes to turn on
-and off hardening on a per-function basis.
-The fixed nature of the trampoline described above implies it will be
-safer to ensure this speculation barrier is always used.
-
-Testing:
- Bootstrap and regtest done on aarch64-none-linux
- Used a temporary hack(1) to use these options on every test in the
- testsuite and a script to check that the output never emitted an
- unmitigated RET or BR.
-
-1) Temporary hack was a change to the testsuite to always use
-`-save-temps` and run a script on the assembly output of those
-compilations which produced one to ensure every RET or BR is immediately
-followed by a speculation barrier.
-
-gcc/ChangeLog:
-
- * config/aarch64/aarch64-protos.h (aarch64_sls_barrier): New.
- * config/aarch64/aarch64.c (aarch64_output_casesi): Emit
- speculation barrier after BR instruction if needs be.
- (aarch64_trampoline_init): Handle ptr_mode value & adjust size
- of code copied.
- (aarch64_sls_barrier): New.
- (aarch64_asm_trampoline_template): Add needed barriers.
- * config/aarch64/aarch64.h (AARCH64_ISA_SB): New.
- (TARGET_SB): New.
- (TRAMPOLINE_SIZE): Account for barrier.
- * config/aarch64/aarch64.md (indirect_jump, *casesi_dispatch,
- simple_return, *do_return, *sibcall_insn, *sibcall_value_insn):
- Emit barrier if needs be, also account for possible barrier using
- "sls_length" attribute.
- (sls_length): New attribute.
- (length): Determine default using any non-default sls_length
- value.
-
-gcc/testsuite/ChangeLog:
-
- * gcc.target/aarch64/sls-mitigation/sls-miti-retbr.c: New test.
- * gcc.target/aarch64/sls-mitigation/sls-miti-retbr-pacret.c:
- New test.
- * gcc.target/aarch64/sls-mitigation/sls-mitigation.exp: New file.
- * lib/target-supports.exp (check_effective_target_aarch64_asm_sb_ok):
- New proc.
----
- gcc/config/aarch64/aarch64-protos.h | 1 +
- gcc/config/aarch64/aarch64.c | 41 ++++++-
- gcc/config/aarch64/aarch64.h | 10 +-
- gcc/config/aarch64/aarch64.md | 76 +++++++++----
- .../aarch64/sls-mitigation/sls-miti-retbr-pacret.c | 21 ++++
- .../aarch64/sls-mitigation/sls-miti-retbr.c | 119 +++++++++++++++++++++
- .../aarch64/sls-mitigation/sls-mitigation.exp | 73 +++++++++++++
- gcc/testsuite/lib/target-supports.exp | 2 +-
- 8 files changed, 318 insertions(+), 25 deletions(-)
- create mode 100644 gcc/testsuite/gcc.target/aarch64/sls-mitigation/sls-miti-retbr-pacret.c
- create mode 100644 gcc/testsuite/gcc.target/aarch64/sls-mitigation/sls-miti-retbr.c
- create mode 100644 gcc/testsuite/gcc.target/aarch64/sls-mitigation/sls-mitigation.exp
-
-diff --git a/gcc/config/aarch64/aarch64-protos.h b/gcc/config/aarch64/aarch64-protos.h
-index eb5f4b4..ee0ffde 100644
---- a/gcc/config/aarch64/aarch64-protos.h
-+++ b/gcc/config/aarch64/aarch64-protos.h
-@@ -781,6 +781,7 @@ extern const atomic_ool_names aarch64_ool_ldeor_names;
-
- tree aarch64_resolve_overloaded_builtin_general (location_t, tree, void *);
-
-+const char *aarch64_sls_barrier (int);
- extern bool aarch64_harden_sls_retbr_p (void);
- extern bool aarch64_harden_sls_blr_p (void);
-
-diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c
-index 437a9cf..44e3d1f 100644
---- a/gcc/config/aarch64/aarch64.c
-+++ b/gcc/config/aarch64/aarch64.c
-@@ -10852,8 +10852,8 @@ aarch64_return_addr (int count, rtx frame ATTRIBUTE_UNUSED)
- static void
- aarch64_asm_trampoline_template (FILE *f)
- {
-- int offset1 = 16;
-- int offset2 = 20;
-+ int offset1 = 24;
-+ int offset2 = 28;
-
- if (aarch64_bti_enabled ())
- {
-@@ -10876,6 +10876,17 @@ aarch64_asm_trampoline_template (FILE *f)
- }
- asm_fprintf (f, "\tbr\t%s\n", reg_names [IP1_REGNUM]);
-
-+ /* We always emit a speculation barrier.
-+ This is because the same trampoline template is used for every nested
-+ function. Since nested functions are not particularly common or
-+ performant we don't worry too much about the extra instructions to copy
-+ around.
-+ This is not yet a problem, since we have not yet implemented function
-+ specific attributes to choose between hardening against straight line
-+ speculation or not, but such function specific attributes are likely to
-+ happen in the future. */
-+ asm_fprintf (f, "\tdsb\tsy\n\tisb\n");
-+
- /* The trampoline needs an extra padding instruction. In case if BTI is
- enabled the padding instruction is replaced by the BTI instruction at
- the beginning. */
-@@ -10890,10 +10901,14 @@ static void
- aarch64_trampoline_init (rtx m_tramp, tree fndecl, rtx chain_value)
- {
- rtx fnaddr, mem, a_tramp;
-- const int tramp_code_sz = 16;
-+ const int tramp_code_sz = 24;
-
- /* Don't need to copy the trailing D-words, we fill those in below. */
-- emit_block_move (m_tramp, assemble_trampoline_template (),
-+ /* We create our own memory address in Pmode so that `emit_block_move` can
-+ use parts of the backend which expect Pmode addresses. */
-+ rtx temp = convert_memory_address (Pmode, XEXP (m_tramp, 0));
-+ emit_block_move (gen_rtx_MEM (BLKmode, temp),
-+ assemble_trampoline_template (),
- GEN_INT (tramp_code_sz), BLOCK_OP_NORMAL);
- mem = adjust_address (m_tramp, ptr_mode, tramp_code_sz);
- fnaddr = XEXP (DECL_RTL (fndecl), 0);
-@@ -11084,6 +11099,8 @@ aarch64_output_casesi (rtx *operands)
- output_asm_insn (buf, operands);
- output_asm_insn (patterns[index][1], operands);
- output_asm_insn ("br\t%3", operands);
-+ output_asm_insn (aarch64_sls_barrier (aarch64_harden_sls_retbr_p ()),
-+ operands);
- assemble_label (asm_out_file, label);
- return "";
- }
-@@ -22924,6 +22941,22 @@ aarch64_file_end_indicate_exec_stack ()
- #undef GNU_PROPERTY_AARCH64_FEATURE_1_BTI
- #undef GNU_PROPERTY_AARCH64_FEATURE_1_AND
-
-+/* Helper function for straight line speculation.
-+ Return what barrier should be emitted for straight line speculation
-+ mitigation.
-+ When not mitigating against straight line speculation this function returns
-+ an empty string.
-+ When mitigating against straight line speculation, use:
-+ * SB when the v8.5-A SB extension is enabled.
-+ * DSB+ISB otherwise. */
-+const char *
-+aarch64_sls_barrier (int mitigation_required)
-+{
-+ return mitigation_required
-+ ? (TARGET_SB ? "sb" : "dsb\tsy\n\tisb")
-+ : "";
-+}
-+
- /* Target-specific selftests. */
-
- #if CHECKING_P
-diff --git a/gcc/config/aarch64/aarch64.h b/gcc/config/aarch64/aarch64.h
-index 1ce23c6..c21015f 100644
---- a/gcc/config/aarch64/aarch64.h
-+++ b/gcc/config/aarch64/aarch64.h
-@@ -281,6 +281,7 @@ extern unsigned aarch64_architecture_version;
- #define AARCH64_ISA_F32MM (aarch64_isa_flags & AARCH64_FL_F32MM)
- #define AARCH64_ISA_F64MM (aarch64_isa_flags & AARCH64_FL_F64MM)
- #define AARCH64_ISA_BF16 (aarch64_isa_flags & AARCH64_FL_BF16)
-+#define AARCH64_ISA_SB (aarch64_isa_flags & AARCH64_FL_SB)
-
- /* Crypto is an optional extension to AdvSIMD. */
- #define TARGET_CRYPTO (TARGET_SIMD && AARCH64_ISA_CRYPTO)
-@@ -378,6 +379,9 @@ extern unsigned aarch64_architecture_version;
- #define TARGET_FIX_ERR_A53_835769_DEFAULT 1
- #endif
-
-+/* SB instruction is enabled through +sb. */
-+#define TARGET_SB (AARCH64_ISA_SB)
-+
- /* Apply the workaround for Cortex-A53 erratum 835769. */
- #define TARGET_FIX_ERR_A53_835769 \
- ((aarch64_fix_a53_err835769 == 2) \
-@@ -1058,8 +1062,10 @@ typedef struct
-
- #define RETURN_ADDR_RTX aarch64_return_addr
-
--/* BTI c + 3 insns + 2 pointer-sized entries. */
--#define TRAMPOLINE_SIZE (TARGET_ILP32 ? 24 : 32)
-+/* BTI c + 3 insns
-+ + sls barrier of DSB + ISB.
-+ + 2 pointer-sized entries. */
-+#define TRAMPOLINE_SIZE (24 + (TARGET_ILP32 ? 8 : 16))
-
- /* Trampolines contain dwords, so must be dword aligned. */
- #define TRAMPOLINE_ALIGNMENT 64
-diff --git a/gcc/config/aarch64/aarch64.md b/gcc/config/aarch64/aarch64.md
-index 8c8be3c..dda04ee 100644
---- a/gcc/config/aarch64/aarch64.md
-+++ b/gcc/config/aarch64/aarch64.md
-@@ -407,10 +407,25 @@
- ;; Attribute that specifies whether the alternative uses MOVPRFX.
- (define_attr "movprfx" "no,yes" (const_string "no"))
-
-+;; Attribute to specify that an alternative has the length of a single
-+;; instruction plus a speculation barrier.
-+(define_attr "sls_length" "none,retbr,casesi" (const_string "none"))
-+
- (define_attr "length" ""
- (cond [(eq_attr "movprfx" "yes")
- (const_int 8)
-- ] (const_int 4)))
-+
-+ (eq_attr "sls_length" "retbr")
-+ (cond [(match_test "!aarch64_harden_sls_retbr_p ()") (const_int 4)
-+ (match_test "TARGET_SB") (const_int 8)]
-+ (const_int 12))
-+
-+ (eq_attr "sls_length" "casesi")
-+ (cond [(match_test "!aarch64_harden_sls_retbr_p ()") (const_int 16)
-+ (match_test "TARGET_SB") (const_int 20)]
-+ (const_int 24))
-+ ]
-+ (const_int 4)))
-
- ;; Strictly for compatibility with AArch32 in pipeline models, since AArch64 has
- ;; no predicated insns.
-@@ -447,8 +462,12 @@
- (define_insn "indirect_jump"
- [(set (pc) (match_operand:DI 0 "register_operand" "r"))]
- ""
-- "br\\t%0"
-- [(set_attr "type" "branch")]
-+ {
-+ output_asm_insn ("br\\t%0", operands);
-+ return aarch64_sls_barrier (aarch64_harden_sls_retbr_p ());
-+ }
-+ [(set_attr "type" "branch")
-+ (set_attr "sls_length" "retbr")]
- )
-
- (define_insn "jump"
-@@ -765,7 +784,7 @@
- "*
- return aarch64_output_casesi (operands);
- "
-- [(set_attr "length" "16")
-+ [(set_attr "sls_length" "casesi")
- (set_attr "type" "branch")]
- )
-
-@@ -844,18 +863,23 @@
- [(return)]
- ""
- {
-+ const char *ret = NULL;
- if (aarch64_return_address_signing_enabled ()
- && TARGET_ARMV8_3
- && !crtl->calls_eh_return)
- {
- if (aarch64_ra_sign_key == AARCH64_KEY_B)
-- return "retab";
-+ ret = "retab";
- else
-- return "retaa";
-+ ret = "retaa";
- }
-- return "ret";
-+ else
-+ ret = "ret";
-+ output_asm_insn (ret, operands);
-+ return aarch64_sls_barrier (aarch64_harden_sls_retbr_p ());
- }
-- [(set_attr "type" "branch")]
-+ [(set_attr "type" "branch")
-+ (set_attr "sls_length" "retbr")]
- )
-
- (define_expand "return"
-@@ -867,8 +891,12 @@
- (define_insn "simple_return"
- [(simple_return)]
- ""
-- "ret"
-- [(set_attr "type" "branch")]
-+ {
-+ output_asm_insn ("ret", operands);
-+ return aarch64_sls_barrier (aarch64_harden_sls_retbr_p ());
-+ }
-+ [(set_attr "type" "branch")
-+ (set_attr "sls_length" "retbr")]
- )
-
- (define_insn "*cb<optab><mode>1"
-@@ -1066,10 +1094,16 @@
- (unspec:DI [(match_operand:DI 2 "const_int_operand")] UNSPEC_CALLEE_ABI)
- (return)]
- "SIBLING_CALL_P (insn)"
-- "@
-- br\\t%0
-- b\\t%c0"
-- [(set_attr "type" "branch, branch")]
-+ {
-+ if (which_alternative == 0)
-+ {
-+ output_asm_insn ("br\\t%0", operands);
-+ return aarch64_sls_barrier (aarch64_harden_sls_retbr_p ());
-+ }
-+ return "b\\t%c0";
-+ }
-+ [(set_attr "type" "branch, branch")
-+ (set_attr "sls_length" "retbr,none")]
- )
-
- (define_insn "*sibcall_value_insn"
-@@ -1080,10 +1114,16 @@
- (unspec:DI [(match_operand:DI 3 "const_int_operand")] UNSPEC_CALLEE_ABI)
- (return)]
- "SIBLING_CALL_P (insn)"
-- "@
-- br\\t%1
-- b\\t%c1"
-- [(set_attr "type" "branch, branch")]
-+ {
-+ if (which_alternative == 0)
-+ {
-+ output_asm_insn ("br\\t%1", operands);
-+ return aarch64_sls_barrier (aarch64_harden_sls_retbr_p ());
-+ }
-+ return "b\\t%c1";
-+ }
-+ [(set_attr "type" "branch, branch")
-+ (set_attr "sls_length" "retbr,none")]
- )
-
- ;; Call subroutine returning any type.
-diff --git a/gcc/testsuite/gcc.target/aarch64/sls-mitigation/sls-miti-retbr-pacret.c b/gcc/testsuite/gcc.target/aarch64/sls-mitigation/sls-miti-retbr-pacret.c
-new file mode 100644
-index 0000000..fa1887a
---- /dev/null
-+++ b/gcc/testsuite/gcc.target/aarch64/sls-mitigation/sls-miti-retbr-pacret.c
-@@ -0,0 +1,21 @@
-+/* Avoid ILP32 since pacret is only available for LP64 */
-+/* { dg-do compile { target { ! ilp32 } } } */
-+/* { dg-additional-options "-mharden-sls=retbr -mbranch-protection=pac-ret -march=armv8.3-a" } */
-+
-+/* Testing the do_return pattern for retaa and retab. */
-+long retbr_subcall(void);
-+long retbr_do_return_retaa(void)
-+{
-+ return retbr_subcall()+1;
-+}
-+
-+__attribute__((target("branch-protection=pac-ret+b-key")))
-+long retbr_do_return_retab(void)
-+{
-+ return retbr_subcall()+1;
-+}
-+
-+/* Ensure there are no BR or RET instructions which are not directly followed
-+ by a speculation barrier. */
-+/* { dg-final { scan-assembler-not {\t(br|ret|retaa|retab)\tx[0-9][0-9]?\n\t(?!dsb\tsy\n\tisb)} } } */
-+/* { dg-final { scan-assembler-not {ret\t} } } */
-diff --git a/gcc/testsuite/gcc.target/aarch64/sls-mitigation/sls-miti-retbr.c b/gcc/testsuite/gcc.target/aarch64/sls-mitigation/sls-miti-retbr.c
-new file mode 100644
-index 0000000..76b8d03
---- /dev/null
-+++ b/gcc/testsuite/gcc.target/aarch64/sls-mitigation/sls-miti-retbr.c
-@@ -0,0 +1,119 @@
-+/* We ensure that -Wpedantic is off since it complains about the trampolines
-+ we explicitly want to test. */
-+/* { dg-additional-options "-mharden-sls=retbr -Wno-pedantic " } */
-+/*
-+ Ensure that the SLS hardening of RET and BR leaves no unprotected RET/BR
-+ instructions.
-+ */
-+typedef int (foo) (int, int);
-+typedef void (bar) (int, int);
-+struct sls_testclass {
-+ foo *x;
-+ bar *y;
-+ int left;
-+ int right;
-+};
-+
-+int
-+retbr_sibcall_value_insn (struct sls_testclass x)
-+{
-+ return x.x(x.left, x.right);
-+}
-+
-+void
-+retbr_sibcall_insn (struct sls_testclass x)
-+{
-+ x.y(x.left, x.right);
-+}
-+
-+/* Aim to test two different returns.
-+ One that introduces a tail call in the middle of the function, and one that
-+ has a normal return. */
-+int
-+retbr_multiple_returns (struct sls_testclass x)
-+{
-+ int temp;
-+ if (x.left % 10)
-+ return x.x(x.left, 100);
-+ else if (x.right % 20)
-+ {
-+ return x.x(x.left * x.right, 100);
-+ }
-+ temp = x.left % x.right;
-+ temp *= 100;
-+ temp /= 2;
-+ return temp % 3;
-+}
-+
-+void
-+retbr_multiple_returns_void (struct sls_testclass x)
-+{
-+ if (x.left % 10)
-+ {
-+ x.y(x.left, 100);
-+ }
-+ else if (x.right % 20)
-+ {
-+ x.y(x.left * x.right, 100);
-+ }
-+ return;
-+}
-+
-+/* Testing the casesi jump via register. */
-+__attribute__ ((optimize ("Os")))
-+int
-+retbr_casesi_dispatch (struct sls_testclass x)
-+{
-+ switch (x.left)
-+ {
-+ case -5:
-+ return -2;
-+ case -3:
-+ return -1;
-+ case 0:
-+ return 0;
-+ case 3:
-+ return 1;
-+ case 5:
-+ break;
-+ default:
-+ __builtin_unreachable ();
-+ }
-+ return x.right;
-+}
-+
-+/* Testing the BR in trampolines is mitigated against. */
-+void f1 (void *);
-+void f3 (void *, void (*)(void *));
-+void f2 (void *);
-+
-+int
-+retbr_trampolines (void *a, int b)
-+{
-+ if (!b)
-+ {
-+ f1 (a);
-+ return 1;
-+ }
-+ if (b)
-+ {
-+ void retbr_tramp_internal (void *c)
-+ {
-+ if (c == a)
-+ f2 (c);
-+ }
-+ f3 (a, retbr_tramp_internal);
-+ }
-+ return 0;
-+}
-+
-+/* Testing the indirect_jump pattern. */
-+void
-+retbr_indirect_jump (int *buf)
-+{
-+ __builtin_longjmp(buf, 1);
-+}
-+
-+/* Ensure there are no BR or RET instructions which are not directly followed
-+ by a speculation barrier. */
-+/* { dg-final { scan-assembler-not {\t(br|ret|retaa|retab)\tx[0-9][0-9]?\n\t(?!dsb\tsy\n\tisb|sb)} } } */
-diff --git a/gcc/testsuite/gcc.target/aarch64/sls-mitigation/sls-mitigation.exp b/gcc/testsuite/gcc.target/aarch64/sls-mitigation/sls-mitigation.exp
-new file mode 100644
-index 0000000..8122503
---- /dev/null
-+++ b/gcc/testsuite/gcc.target/aarch64/sls-mitigation/sls-mitigation.exp
-@@ -0,0 +1,73 @@
-+# Regression driver for SLS mitigation on AArch64.
-+# Copyright (C) 2020 Free Software Foundation, Inc.
-+# Contributed by ARM Ltd.
-+#
-+# This file is part of GCC.
-+#
-+# GCC is free software; you can redistribute it and/or modify it
-+# under the terms of the GNU General Public License as published by
-+# the Free Software Foundation; either version 3, or (at your option)
-+# any later version.
-+#
-+# GCC is distributed in the hope that it will be useful, but
-+# WITHOUT ANY WARRANTY; without even the implied warranty of
-+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-+# General Public License for more details.
-+#
-+# You should have received a copy of the GNU General Public License
-+# along with GCC; see the file COPYING3. If not see
-+# <http://www.gnu.org/licenses/>. */
-+
-+# Exit immediately if this isn't an AArch64 target.
-+if {![istarget aarch64*-*-*] } then {
-+ return
-+}
-+
-+# Load support procs.
-+load_lib gcc-dg.exp
-+load_lib torture-options.exp
-+
-+# If a testcase doesn't have special options, use these.
-+global DEFAULT_CFLAGS
-+if ![info exists DEFAULT_CFLAGS] then {
-+ set DEFAULT_CFLAGS " "
-+}
-+
-+# Initialize `dg'.
-+dg-init
-+torture-init
-+
-+# Use different architectures as well as the normal optimisation options.
-+# (i.e. use both SB and DSB+ISB barriers).
-+
-+set save-dg-do-what-default ${dg-do-what-default}
-+# Main loop.
-+# Run with torture tests (i.e. a bunch of different optimisation levels) just
-+# to increase test coverage.
-+set dg-do-what-default assemble
-+gcc-dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.\[cCS\]]] \
-+ "-save-temps" $DEFAULT_CFLAGS
-+
-+# Run the same tests but this time with SB extension.
-+# Since not all supported assemblers will support that extension we decide
-+# whether to assemble or just compile based on whether the extension is
-+# supported for the available assembler.
-+
-+set templist {}
-+foreach x $DG_TORTURE_OPTIONS {
-+ lappend templist "$x -march=armv8.3-a+sb "
-+ lappend templist "$x -march=armv8-a+sb "
-+}
-+set-torture-options $templist
-+if { [check_effective_target_aarch64_asm_sb_ok] } {
-+ set dg-do-what-default assemble
-+} else {
-+ set dg-do-what-default compile
-+}
-+gcc-dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.\[cCS\]]] \
-+ "-save-temps" $DEFAULT_CFLAGS
-+set dg-do-what-default ${save-dg-do-what-default}
-+
-+# All done.
-+torture-finish
-+dg-finish
-diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp
-index 8a186dd..9d2e093 100644
---- a/gcc/testsuite/lib/target-supports.exp
-+++ b/gcc/testsuite/lib/target-supports.exp
-@@ -9432,7 +9432,7 @@ proc check_effective_target_aarch64_tiny { } {
- # various architecture extensions via the .arch_extension pseudo-op.
-
- foreach { aarch64_ext } { "fp" "simd" "crypto" "crc" "lse" "dotprod" "sve"
-- "i8mm" "f32mm" "f64mm" "bf16" } {
-+ "i8mm" "f32mm" "f64mm" "bf16" "sb" } {
- eval [string map [list FUNC $aarch64_ext] {
- proc check_effective_target_aarch64_asm_FUNC_ok { } {
- if { [istarget aarch64*-*-*] } {
---
-2.7.4
-
diff --git a/meta/recipes-devtools/gcc/gcc/0002-gcc-poison-system-directories.patch b/meta/recipes-devtools/gcc/gcc/0002-gcc-poison-system-directories.patch
index 30a8486016..76aa69c26e 100644
--- a/meta/recipes-devtools/gcc/gcc/0002-gcc-poison-system-directories.patch
+++ b/meta/recipes-devtools/gcc/gcc/0002-gcc-poison-system-directories.patch
@@ -1,6 +1,6 @@
-From 74cc21f474402cf3578e37e1d7a1a22bbd070f6a Mon Sep 17 00:00:00 2001
+From 05be69910c99d739ce9246a3bb9426fa6d9f19d4 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
-Date: Fri, 29 Mar 2013 08:59:00 +0400
+Date: Mon, 8 Mar 2021 16:04:20 -0800
Subject: [PATCH] gcc: poison-system-directories
Add /sw/include and /opt/include based on the original
@@ -11,25 +11,24 @@ aborted.
Instead, we add the two missing items to the current scan. If the user
wants this to be a failure, they can add "-Werror=poison-system-directories".
+Upstream-Status: Inappropriate [OE configuration]
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-
-Upstream-Status: Pending
---
gcc/common.opt | 4 ++++
- gcc/config.in | 6 ++++++
- gcc/configure | 16 ++++++++++++++++
- gcc/configure.ac | 10 ++++++++++
+ gcc/config.in | 10 ++++++++++
+ gcc/configure | 19 +++++++++++++++++++
+ gcc/configure.ac | 16 ++++++++++++++++
gcc/doc/invoke.texi | 9 +++++++++
- gcc/gcc.c | 2 ++
- gcc/incpath.c | 21 +++++++++++++++++++++
- 7 files changed, 68 insertions(+)
+ gcc/gcc.cc | 9 +++++++--
+ gcc/incpath.cc | 21 +++++++++++++++++++++
+ 7 files changed, 86 insertions(+), 2 deletions(-)
diff --git a/gcc/common.opt b/gcc/common.opt
-index 65a82410abc..415f38fa1f4 100644
+index ad348844775..df3992b420d 100644
--- a/gcc/common.opt
+++ b/gcc/common.opt
-@@ -682,6 +682,10 @@ Wreturn-local-addr
+@@ -715,6 +715,10 @@ Wreturn-local-addr
Common Var(warn_return_local_addr) Init(1) Warning
Warn about returning a pointer/reference to a local or temporary variable.
@@ -41,10 +40,10 @@ index 65a82410abc..415f38fa1f4 100644
Common Var(warn_shadow) Warning
Warn when one variable shadows another. Same as -Wshadow=global.
diff --git a/gcc/config.in b/gcc/config.in
-index 809e7b26823..5adeaeed36b 100644
+index f3de4ba6776..3ce3113510b 100644
--- a/gcc/config.in
+++ b/gcc/config.in
-@@ -224,6 +224,12 @@
+@@ -249,6 +249,16 @@
#endif
@@ -52,24 +51,28 @@ index 809e7b26823..5adeaeed36b 100644
+#ifndef USED_FOR_TARGET
+#undef ENABLE_POISON_SYSTEM_DIRECTORIES
+#endif
++/* Define to warn for use of native system header directories */
++#ifndef USED_FOR_TARGET
++#undef POISON_BY_DEFAULT
++#endif
+
+
/* Define if you want all operations on RTL (the basic data structure of the
optimizer and back end) to be checked for dynamic type safety at runtime.
This is quite expensive. */
diff --git a/gcc/configure b/gcc/configure
-index cd3d9516fce..8de766a942c 100755
+index 266ab8f84b2..3c346acbce0 100755
--- a/gcc/configure
+++ b/gcc/configure
-@@ -1010,6 +1010,7 @@ with_system_zlib
- enable_maintainer_mode
+@@ -1050,6 +1050,7 @@ enable_maintainer_mode
enable_link_mutex
+ enable_link_serialization
enable_version_specific_runtime_libs
+enable_poison_system_directories
enable_plugin
enable_host_shared
- enable_libquadmath_support
-@@ -1766,6 +1767,8 @@ Optional Features:
+ enable_host_pie
+@@ -1823,6 +1824,8 @@ Optional Features:
--enable-version-specific-runtime-libs
specify that runtime libraries should be installed
in a compiler-specific directory
@@ -77,8 +80,8 @@ index cd3d9516fce..8de766a942c 100755
+ warn for use of native system header directories
--enable-plugin enable plugin support
--enable-host-shared build host code as shared libraries
- --disable-libquadmath-support
-@@ -30235,6 +30238,19 @@ if test "${enable_version_specific_runtime_libs+set}" = set; then :
+ --enable-host-pie build host code as PIE
+@@ -34020,6 +34023,22 @@ if test "${enable_version_specific_runtime_libs+set}" = set; then :
fi
@@ -89,9 +92,12 @@ index cd3d9516fce..8de766a942c 100755
+ enable_poison_system_directories=no
+fi
+
-+if test "x${enable_poison_system_directories}" = "xyes"; then
++if test "x${enable_poison_system_directories}" != "xno"; then
+
+$as_echo "#define ENABLE_POISON_SYSTEM_DIRECTORIES 1" >>confdefs.h
++if test "$enable_poison_system_directories" = "error"; then
++$as_echo "#define POISON_BY_DEFAULT 1" >>confdefs.h
++fi
+
+fi
+
@@ -99,70 +105,90 @@ index cd3d9516fce..8de766a942c 100755
diff --git a/gcc/configure.ac b/gcc/configure.ac
-index 0de3b4bf97b..8bfd6feb780 100644
+index a5aec1bc967..4d8123085b8 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
-@@ -6595,6 +6595,16 @@ AC_ARG_ENABLE(version-specific-runtime-libs,
+@@ -7518,6 +7518,22 @@ AC_ARG_ENABLE(version-specific-runtime-libs,
[specify that runtime libraries should be
installed in a compiler-specific directory])])
+AC_ARG_ENABLE([poison-system-directories],
+ AS_HELP_STRING([--enable-poison-system-directories],
-+ [warn for use of native system header directories]),,
++ [warn for use of native system header directories (no/yes/error)]),,
+ [enable_poison_system_directories=no])
-+if test "x${enable_poison_system_directories}" = "xyes"; then
++AC_MSG_NOTICE([poisoned directories $enable_poison_system_directories])
++if test "x${enable_poison_system_directories}" != "xno"; then
++ AC_MSG_NOTICE([poisoned directories enabled])
+ AC_DEFINE([ENABLE_POISON_SYSTEM_DIRECTORIES],
+ [1],
+ [Define to warn for use of native system header directories])
++ if test $enable_poison_system_directories = "error"; then
++ AC_MSG_NOTICE([poisoned directories are fatal])
++ AC_DEFINE([POISON_BY_DEFAULT], [1], [Define to make poison warnings errors])
++ fi
+fi
+
# Substitute configuration variables
AC_SUBST(subdirs)
AC_SUBST(srcdir)
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
-index f98161391a0..f12d8d12150 100644
+index 1006510fc6a..389155f8ed5 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
-@@ -348,6 +348,7 @@ Objective-C and Objective-C++ Dialects}.
- -Wpacked -Wno-packed-bitfield-compat -Wpacked-not-aligned -Wpadded @gol
- -Wparentheses -Wno-pedantic-ms-format @gol
- -Wpointer-arith -Wno-pointer-compare -Wno-pointer-to-int-cast @gol
-+-Wno-poison-system-directories @gol
- -Wno-pragmas -Wno-prio-ctor-dtor -Wredundant-decls @gol
- -Wrestrict -Wno-return-local-addr -Wreturn-type @gol
- -Wno-scalar-storage-order -Wsequence-point @gol
-@@ -6924,6 +6925,14 @@ made up of data only and thus requires no special treatment. But, for
+@@ -391,6 +391,7 @@ Objective-C and Objective-C++ Dialects}.
+ -Wpacked -Wno-packed-bitfield-compat -Wpacked-not-aligned -Wpadded
+ -Wparentheses -Wno-pedantic-ms-format
+ -Wpointer-arith -Wno-pointer-compare -Wno-pointer-to-int-cast
++-Wno-poison-system-directories
+ -Wno-pragmas -Wno-prio-ctor-dtor -Wredundant-decls
+ -Wrestrict -Wno-return-local-addr -Wreturn-type
+ -Wno-scalar-storage-order -Wsequence-point
+@@ -8860,6 +8861,14 @@ made up of data only and thus requires no special treatment. But, for
most targets, it is made up of code and thus requires the stack to be
made executable in order for the program to work properly.
-+@item -Wno-poison-system-directories
+@opindex Wno-poison-system-directories
++@item -Wno-poison-system-directories
+Do not warn for @option{-I} or @option{-L} options using system
+directories such as @file{/usr/include} when cross compiling. This
+option is intended for use in chroot environments when such
+directories contain the correct headers and libraries for the target
+system rather than the host.
+
- @item -Wfloat-equal
@opindex Wfloat-equal
@opindex Wno-float-equal
-diff --git a/gcc/gcc.c b/gcc/gcc.c
-index 9f790db0daf..b2200c5185a 100644
---- a/gcc/gcc.c
-+++ b/gcc/gcc.c
-@@ -1041,6 +1041,8 @@ proper position among the other output files. */
+ @item -Wfloat-equal
+diff --git a/gcc/gcc.cc b/gcc/gcc.cc
+index 728332b8153..343e4915097 100644
+--- a/gcc/gcc.cc
++++ b/gcc/gcc.cc
+@@ -1159,6 +1159,8 @@ proper position among the other output files. */
"%{fuse-ld=*:-fuse-ld=%*} " LINK_COMPRESS_DEBUG_SPEC \
"%X %{o*} %{e*} %{N} %{n} %{r}\
%{s} %{t} %{u*} %{z} %{Z} %{!nostdlib:%{!r:%{!nostartfiles:%S}}} \
+ %{Wno-poison-system-directories:--no-poison-system-directories} \
+ %{Werror=poison-system-directories:--error-poison-system-directories} \
- %{static|no-pie|static-pie:} %@{L*} %(mfwrap) %(link_libgcc) " \
+ %{static|no-pie|static-pie:} %@{L*} %(link_libgcc) " \
VTABLE_VERIFICATION_SPEC " " SANITIZER_EARLY_SPEC " %o "" \
%{fopenacc|fopenmp|%:gt(%{ftree-parallelize-loops=*:%*} 1):\
-diff --git a/gcc/incpath.c b/gcc/incpath.c
-index 8a2bda00f80..9098ab044ab 100644
---- a/gcc/incpath.c
-+++ b/gcc/incpath.c
+@@ -1260,8 +1262,11 @@ static const char *cpp_unique_options =
+ static const char *cpp_options =
+ "%(cpp_unique_options) %1 %{m*} %{std*&ansi&trigraphs} %{W*&pedantic*} %{w}\
+ %{f*} %{g*:%{%:debug-level-gt(0):%{g*}\
+- %{!fno-working-directory:-fworking-directory}}} %{O*}\
+- %{undef} %{save-temps*:-fpch-preprocess}";
++ %{!fno-working-directory:-fworking-directory}}} %{O*}"
++#ifdef POISON_BY_DEFAULT
++ " -Werror=poison-system-directories"
++#endif
++ " %{undef} %{save-temps*:-fpch-preprocess}";
+
+ /* Pass -d* flags, possibly modifying -dumpdir, -dumpbase et al.
+
+diff --git a/gcc/incpath.cc b/gcc/incpath.cc
+index 64cdd2f4a1b..e572d98ab17 100644
+--- a/gcc/incpath.cc
++++ b/gcc/incpath.cc
@@ -26,6 +26,7 @@
#include "intl.h"
#include "incpath.h"
@@ -171,7 +197,7 @@ index 8a2bda00f80..9098ab044ab 100644
/* Microsoft Windows does not natively support inodes.
VMS has non-numeric inodes. */
-@@ -393,6 +394,26 @@ merge_include_chains (const char *sysroot, cpp_reader *pfile, int verbose)
+@@ -399,6 +400,26 @@ merge_include_chains (const char *sysroot, cpp_reader *pfile, int verbose)
}
fprintf (stderr, _("End of search list.\n"));
}
@@ -182,17 +208,17 @@ index 8a2bda00f80..9098ab044ab 100644
+ struct cpp_dir *p;
+
+ for (p = heads[INC_QUOTE]; p; p = p->next)
-+ {
-+ if ((!strncmp (p->name, "/usr/include", 12))
-+ || (!strncmp (p->name, "/usr/local/include", 18))
-+ || (!strncmp (p->name, "/usr/X11R6/include", 18))
-+ || (!strncmp (p->name, "/sw/include", 11))
-+ || (!strncmp (p->name, "/opt/include", 12)))
-+ warning (OPT_Wpoison_system_directories,
-+ "include location \"%s\" is unsafe for "
-+ "cross-compilation",
-+ p->name);
-+ }
++ {
++ if ((!strncmp (p->name, "/usr/include", 12))
++ || (!strncmp (p->name, "/usr/local/include", 18))
++ || (!strncmp (p->name, "/usr/X11R6/include", 18))
++ || (!strncmp (p->name, "/sw/include", 11))
++ || (!strncmp (p->name, "/opt/include", 12)))
++ warning (OPT_Wpoison_system_directories,
++ "include location \"%s\" is unsafe for "
++ "cross-compilation",
++ p->name);
++ }
+ }
+#endif
}
diff --git a/meta/recipes-devtools/gcc/gcc/0004-64-bit-multilib-hack.patch b/meta/recipes-devtools/gcc/gcc/0003-64-bit-multilib-hack.patch
index 7c751bef65..dfd370aba9 100644
--- a/meta/recipes-devtools/gcc/gcc/0004-64-bit-multilib-hack.patch
+++ b/meta/recipes-devtools/gcc/gcc/0003-64-bit-multilib-hack.patch
@@ -1,7 +1,7 @@
-From 85a7c5aeb82ed61e6ef6d8e061b9da9e6a4a652c Mon Sep 17 00:00:00 2001
+From 25bc008191c9b518f30e3ed87e204e25bdafb854 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Fri, 29 Mar 2013 09:10:06 +0400
-Subject: [PATCH] 64-bit multilib hack.
+Subject: [PATCH] 64-bit multilib hack
GCC has internal multilib handling code but it assumes a very specific rigid directory
layout. The build system implementation of multilib layout is very generic and allows
@@ -19,25 +19,26 @@ and be able to patch these entries with a complete set of correct paths but this
don't have such code at this point. This is something the target gcc recipe should do
and override these platform defaults in its build config.
-Do same for riscv64 and aarch64
+Do same for riscv64, aarch64 & arc
RP 15/8/11
-Upstream-Status: Inappropriate[OE-Specific]
+Upstream-Status: Inappropriate [OE-Specific]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Elvis Dowson <elvis.dowson@gmail.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
---
gcc/config/aarch64/t-aarch64-linux | 8 ++++----
+ gcc/config/arc/t-multilib-linux | 4 ++--
gcc/config/i386/t-linux64 | 6 ++----
- gcc/config/mips/t-linux64 | 10 +++-------
- gcc/config/riscv/t-linux | 6 ++++--
+ gcc/config/mips/t-linux64 | 28 ++--------------------------
+ gcc/config/riscv/t-linux | 6 +++---
gcc/config/rs6000/t-linux64 | 5 ++---
- 5 files changed, 15 insertions(+), 20 deletions(-)
+ 6 files changed, 15 insertions(+), 42 deletions(-)
diff --git a/gcc/config/aarch64/t-aarch64-linux b/gcc/config/aarch64/t-aarch64-linux
-index 83e59e33b85..b1356be1fb4 100644
+index 3f7b786ecbb..a6c1c92fc7f 100644
--- a/gcc/config/aarch64/t-aarch64-linux
+++ b/gcc/config/aarch64/t-aarch64-linux
@@ -21,8 +21,8 @@
@@ -53,8 +54,24 @@ index 83e59e33b85..b1356be1fb4 100644
-MULTILIB_OSDIRNAMES += mabi.ilp32=../libilp32$(call if_multiarch,:aarch64$(AARCH_BE)-linux-gnu_ilp32)
+#MULTILIB_OSDIRNAMES += mabi.ilp32=../libilp32$(call if_multiarch,:aarch64$(AARCH_BE)-linux-gnu_ilp32)
+diff --git a/gcc/config/arc/t-multilib-linux b/gcc/config/arc/t-multilib-linux
+index 07bc77ba34a..f7e2e3919cf 100644
+--- a/gcc/config/arc/t-multilib-linux
++++ b/gcc/config/arc/t-multilib-linux
+@@ -16,9 +16,9 @@
+ # along with GCC; see the file COPYING3. If not see
+ # <http://www.gnu.org/licenses/>.
+
+-MULTILIB_OPTIONS = mcpu=hs/mcpu=archs/mcpu=hs38/mcpu=hs38_linux/mcpu=arc700/mcpu=nps400
++#MULTILIB_OPTIONS = mcpu=hs/mcpu=archs/mcpu=hs38/mcpu=hs38_linux/mcpu=arc700/mcpu=nps400
+
+-MULTILIB_DIRNAMES = hs archs hs38 hs38_linux arc700 nps400
++#MULTILIB_DIRNAMES = hs archs hs38 hs38_linux arc700 nps400
+
+ # Aliases:
+ MULTILIB_MATCHES += mcpu?arc700=mA7
diff --git a/gcc/config/i386/t-linux64 b/gcc/config/i386/t-linux64
-index 1171e218578..5e057b7e5db 100644
+index f9edc289e57..047d8e4aff9 100644
--- a/gcc/config/i386/t-linux64
+++ b/gcc/config/i386/t-linux64
@@ -32,7 +32,5 @@
@@ -68,37 +85,56 @@ index 1171e218578..5e057b7e5db 100644
+MULTILIB_DIRNAMES = . .
+MULTILIB_OSDIRNAMES = ../$(shell basename $(base_libdir)) ../$(shell basename $(base_libdir))
diff --git a/gcc/config/mips/t-linux64 b/gcc/config/mips/t-linux64
-index ceb58d3b5f3..43fe2bf28ab 100644
+index e4e2f5eaedb..c503974de37 100644
--- a/gcc/config/mips/t-linux64
+++ b/gcc/config/mips/t-linux64
-@@ -17,10 +17,6 @@
+@@ -17,29 +17,5 @@
# <http://www.gnu.org/licenses/>.
MULTILIB_OPTIONS = mabi=n32/mabi=32/mabi=64
-MULTILIB_DIRNAMES = n32 32 64
-MIPS_EL = $(if $(filter %el, $(firstword $(subst -, ,$(target)))),el)
-MIPS_SOFT = $(if $(strip $(filter MASK_SOFT_FLOAT_ABI, $(target_cpu_default)) $(filter soft, $(with_float))),soft)
--MULTILIB_OSDIRNAMES = \
+-ifeq (yes,$(enable_multiarch))
+- ifneq (,$(findstring gnuabi64,$(target)))
+- MULTILIB_OSDIRNAMES = \
+- ../lib32$(call if_multiarch,:mips64$(MIPS_EL)-linux-gnuabin32$(MIPS_SOFT)) \
+- ../libo32$(call if_multiarch,:mips$(MIPS_EL)-linux-gnu$(MIPS_SOFT)) \
+- ../lib$(call if_multiarch,:mips64$(MIPS_EL)-linux-gnuabi64$(MIPS_SOFT))
+- else ifneq (,$(findstring gnuabin32,$(target)))
+- MULTILIB_OSDIRNAMES = \
+- ../lib$(call if_multiarch,:mips64$(MIPS_EL)-linux-gnuabin32$(MIPS_SOFT)) \
+- ../libo32$(call if_multiarch,:mips$(MIPS_EL)-linux-gnu$(MIPS_SOFT)) \
+- ../lib64$(call if_multiarch,:mips64$(MIPS_EL)-linux-gnuabi64$(MIPS_SOFT))
+- else
+- MULTILIB_OSDIRNAMES = \
- ../lib32$(call if_multiarch,:mips64$(MIPS_EL)-linux-gnuabin32$(MIPS_SOFT)) \
- ../lib$(call if_multiarch,:mips$(MIPS_EL)-linux-gnu$(MIPS_SOFT)) \
- ../lib64$(call if_multiarch,:mips64$(MIPS_EL)-linux-gnuabi64$(MIPS_SOFT))
+- endif
+-else
+- MULTILIB_OSDIRNAMES = \
+- ../lib32$(call if_multiarch,:mips64$(MIPS_EL)-linux-gnuabin32$(MIPS_SOFT)) \
+- ../lib$(call if_multiarch,:mips$(MIPS_EL)-linux-gnu$(MIPS_SOFT)) \
+- ../lib64$(call if_multiarch,:mips64$(MIPS_EL)-linux-gnuabi64$(MIPS_SOFT))
+-endif
+MULTILIB_DIRNAMES = . . .
+MULTILIB_OSDIRNAMES = ../$(shell basename $(base_libdir)) ../$(shell basename $(base_libdir)) ../$(shell basename $(base_libdir))
-+
diff --git a/gcc/config/riscv/t-linux b/gcc/config/riscv/t-linux
-index 216d2776a18..e4d817621fc 100644
+index a6f64f88d25..0e21db58f7d 100644
--- a/gcc/config/riscv/t-linux
+++ b/gcc/config/riscv/t-linux
-@@ -1,3 +1,5 @@
+@@ -1,5 +1,5 @@
# Only XLEN and ABI affect Linux multilib dir names, e.g. /lib32/ilp32d/
-MULTILIB_DIRNAMES := $(patsubst rv32%,lib32,$(patsubst rv64%,lib64,$(MULTILIB_DIRNAMES)))
-MULTILIB_OSDIRNAMES := $(patsubst lib%,../lib%,$(MULTILIB_DIRNAMES))
+#MULTILIB_DIRNAMES := $(patsubst rv32%,lib32,$(patsubst rv64%,lib64,$(MULTILIB_DIRNAMES)))
-+MULTILIB_DIRNAMES := . .
+#MULTILIB_OSDIRNAMES := $(patsubst lib%,../lib%,$(MULTILIB_DIRNAMES))
-+MULTILIB_OSDIRNAMES := ../$(shell basename $(base_libdir)) ../$(shell basename $(base_libdir))
+
+-MULTIARCH_DIRNAME := $(call if_multiarch,$(firstword $(subst -, ,$(target)))-linux-gnu)
++#MULTIARCH_DIRNAME := $(call if_multiarch,$(firstword $(subst -, ,$(target)))-linux-gnu)
diff --git a/gcc/config/rs6000/t-linux64 b/gcc/config/rs6000/t-linux64
-index 264a7e27524..dc9d440f66b 100644
+index 248b5891e36..379689561a7 100644
--- a/gcc/config/rs6000/t-linux64
+++ b/gcc/config/rs6000/t-linux64
@@ -26,10 +26,9 @@
@@ -112,5 +148,5 @@ index 264a7e27524..dc9d440f66b 100644
-MULTILIB_OSDIRNAMES += m32=$(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../usr/lib32),../lib32,../lib)$(call if_multiarch,:powerpc-linux-gnu)
+MULTILIB_OSDIRNAMES := ../$(shell basename $(base_libdir)) ../$(shell basename $(base_libdir))
- rs6000-linux.o: $(srcdir)/config/rs6000/rs6000-linux.c
+ rs6000-linux.o: $(srcdir)/config/rs6000/rs6000-linux.cc
$(COMPILE) $<
diff --git a/meta/recipes-devtools/gcc/gcc/0003-aarch64-Mitigate-SLS-for-BLR-instruction.patch b/meta/recipes-devtools/gcc/gcc/0003-aarch64-Mitigate-SLS-for-BLR-instruction.patch
deleted file mode 100644
index 716a367172..0000000000
--- a/meta/recipes-devtools/gcc/gcc/0003-aarch64-Mitigate-SLS-for-BLR-instruction.patch
+++ /dev/null
@@ -1,658 +0,0 @@
-Upstream-Status: Backport
-Signed-off-by: Ross Burton <ross.burton@arm.com>
-
-From a5e7efc40ed841934c1d913f39476afa17d8e5f7 Mon Sep 17 00:00:00 2001
-From: Matthew Malcomson <matthew.malcomson@arm.com>
-Date: Thu, 9 Jul 2020 09:11:59 +0100
-Subject: [PATCH 3/3] aarch64: Mitigate SLS for BLR instruction
-
-This patch introduces the mitigation for Straight Line Speculation past
-the BLR instruction.
-
-This mitigation replaces BLR instructions with a BL to a stub which uses
-a BR to jump to the original value. These function stubs are then
-appended with a speculation barrier to ensure no straight line
-speculation happens after these jumps.
-
-When optimising for speed we use a set of stubs for each function since
-this should help the branch predictor make more accurate predictions
-about where a stub should branch.
-
-When optimising for size we use one set of stubs for all functions.
-This set of stubs can have human readable names, and we are using
-`__call_indirect_x<N>` for register x<N>.
-
-When BTI branch protection is enabled the BLR instruction can jump to a
-`BTI c` instruction using any register, while the BR instruction can
-only jump to a `BTI c` instruction using the x16 or x17 registers.
-Hence, in order to ensure this transformation is safe we mov the value
-of the original register into x16 and use x16 for the BR.
-
-As an example when optimising for size:
-a
- BLR x0
-instruction would get transformed to something like
- BL __call_indirect_x0
-where __call_indirect_x0 labels a thunk that contains
-__call_indirect_x0:
- MOV X16, X0
- BR X16
- <speculation barrier>
-
-The first version of this patch used local symbols specific to a
-compilation unit to try and avoid relocations.
-This was mistaken since functions coming from the same compilation unit
-can still be in different sections, and the assembler will insert
-relocations at jumps between sections.
-
-On any relocation the linker is permitted to emit a veneer to handle
-jumps between symbols that are very far apart. The registers x16 and
-x17 may be clobbered by these veneers.
-Hence the function stubs cannot rely on the values of x16 and x17 being
-the same as just before the function stub is called.
-
-Similar can be said for the hot/cold partitioning of single functions,
-so function-local stubs have the same restriction.
-
-This updated version of the patch never emits function stubs for x16 and
-x17, and instead forces other registers to be used.
-
-Given the above, there is now no benefit to local symbols (since they
-are not enough to avoid dealing with linker intricacies). This patch
-now uses global symbols with hidden visibility each stored in their own
-COMDAT section. This means stubs can be shared between compilation
-units while still avoiding the PLT indirection.
-
-This patch also removes the `__call_indirect_x30` stub (and
-function-local equivalent) which would simply jump back to the original
-location.
-
-The function-local stubs are emitted to the assembly output file in one
-chunk, which means we need not add the speculation barrier directly
-after each one.
-This is because we know for certain that the instructions directly after
-the BR in all but the last function stub will be from another one of
-these stubs and hence will not contain a speculation gadget.
-Instead we add a speculation barrier at the end of the sequence of
-stubs.
-
-The global stubs are emitted in COMDAT/.linkonce sections by
-themselves so that the linker can remove duplicates from multiple object
-files. This means they are not emitted in one chunk, and each one must
-include the speculation barrier.
-
-Another difference is that since the global stubs are shared across
-compilation units we do not know that all functions will be targeting an
-architecture supporting the SB instruction.
-Rather than provide multiple stubs for each architecture, we provide a
-stub that will work for all architectures -- using the DSB+ISB barrier.
-
-This mitigation does not apply for BLR instructions in the following
-places:
-- Some accesses to thread-local variables use a code sequence with a BLR
- instruction. This code sequence is part of the binary interface between
- compiler and linker. If this BLR instruction needs to be mitigated, it'd
- probably be best to do so in the linker. It seems that the code sequence
- for thread-local variable access is unlikely to lead to a Spectre Revalation
- Gadget.
-- PLT stubs are produced by the linker and each contain a BLR instruction.
- It seems that at most only after the last PLT stub a Spectre Revalation
- Gadget might appear.
-
-Testing:
- Bootstrap and regtest on AArch64
- (with BOOT_CFLAGS="-mharden-sls=retbr,blr")
- Used a temporary hack(1) in gcc-dg.exp to use these options on every
- test in the testsuite, a slight modification to emit the speculation
- barrier after every function stub, and a script to check that the
- output never emitted a BLR, or unmitigated BR or RET instruction.
- Similar on an aarch64-none-elf cross-compiler.
-
-1) Temporary hack emitted a speculation barrier at the end of every stub
-function, and used a script to ensure that:
- a) Every RET or BR is immediately followed by a speculation barrier.
- b) No BLR instruction is emitted by compiler.
-
-gcc/ChangeLog:
-
- * config/aarch64/aarch64-protos.h (aarch64_indirect_call_asm):
- New declaration.
- * config/aarch64/aarch64.c (aarch64_regno_regclass): Handle new
- stub registers class.
- (aarch64_class_max_nregs): Likewise.
- (aarch64_register_move_cost): Likewise.
- (aarch64_sls_shared_thunks): Global array to store stub labels.
- (aarch64_sls_emit_function_stub): New.
- (aarch64_create_blr_label): New.
- (aarch64_sls_emit_blr_function_thunks): New.
- (aarch64_sls_emit_shared_blr_thunks): New.
- (aarch64_asm_file_end): New.
- (aarch64_indirect_call_asm): New.
- (TARGET_ASM_FILE_END): Use aarch64_asm_file_end.
- (TARGET_ASM_FUNCTION_EPILOGUE): Use
- aarch64_sls_emit_blr_function_thunks.
- * config/aarch64/aarch64.h (STB_REGNUM_P): New.
- (enum reg_class): Add STUB_REGS class.
- (machine_function): Introduce `call_via` array for
- function-local stub labels.
- * config/aarch64/aarch64.md (*call_insn, *call_value_insn): Use
- aarch64_indirect_call_asm to emit code when hardening BLR
- instructions.
- * config/aarch64/constraints.md (Ucr): New constraint
- representing registers for indirect calls. Is GENERAL_REGS
- usually, and STUB_REGS when hardening BLR instruction against
- SLS.
- * config/aarch64/predicates.md (aarch64_general_reg): STUB_REGS class
- is also a general register.
-
-gcc/testsuite/ChangeLog:
-
- * gcc.target/aarch64/sls-mitigation/sls-miti-blr-bti.c: New test.
- * gcc.target/aarch64/sls-mitigation/sls-miti-blr.c: New test.
----
- gcc/config/aarch64/aarch64-protos.h | 1 +
- gcc/config/aarch64/aarch64.c | 225 ++++++++++++++++++++-
- gcc/config/aarch64/aarch64.h | 15 ++
- gcc/config/aarch64/aarch64.md | 11 +-
- gcc/config/aarch64/constraints.md | 9 +
- gcc/config/aarch64/predicates.md | 3 +-
- .../aarch64/sls-mitigation/sls-miti-blr-bti.c | 40 ++++
- .../aarch64/sls-mitigation/sls-miti-blr.c | 33 +++
- 8 files changed, 328 insertions(+), 9 deletions(-)
- create mode 100644 gcc/testsuite/gcc.target/aarch64/sls-mitigation/sls-miti-blr-bti.c
- create mode 100644 gcc/testsuite/gcc.target/aarch64/sls-mitigation/sls-miti-blr.c
-
-diff --git a/gcc/config/aarch64/aarch64-protos.h b/gcc/config/aarch64/aarch64-protos.h
-index ee0ffde..839f801 100644
---- a/gcc/config/aarch64/aarch64-protos.h
-+++ b/gcc/config/aarch64/aarch64-protos.h
-@@ -782,6 +782,7 @@ extern const atomic_ool_names aarch64_ool_ldeor_names;
- tree aarch64_resolve_overloaded_builtin_general (location_t, tree, void *);
-
- const char *aarch64_sls_barrier (int);
-+const char *aarch64_indirect_call_asm (rtx);
- extern bool aarch64_harden_sls_retbr_p (void);
- extern bool aarch64_harden_sls_blr_p (void);
-
-diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c
-index 2389d49..0f7bba3 100644
---- a/gcc/config/aarch64/aarch64.c
-+++ b/gcc/config/aarch64/aarch64.c
-@@ -10605,6 +10605,9 @@ aarch64_label_mentioned_p (rtx x)
- enum reg_class
- aarch64_regno_regclass (unsigned regno)
- {
-+ if (STUB_REGNUM_P (regno))
-+ return STUB_REGS;
-+
- if (GP_REGNUM_P (regno))
- return GENERAL_REGS;
-
-@@ -10939,6 +10942,7 @@ aarch64_class_max_nregs (reg_class_t regclass, machine_mode mode)
- unsigned int nregs, vec_flags;
- switch (regclass)
- {
-+ case STUB_REGS:
- case TAILCALL_ADDR_REGS:
- case POINTER_REGS:
- case GENERAL_REGS:
-@@ -13155,10 +13159,12 @@ aarch64_register_move_cost (machine_mode mode,
- = aarch64_tune_params.regmove_cost;
-
- /* Caller save and pointer regs are equivalent to GENERAL_REGS. */
-- if (to == TAILCALL_ADDR_REGS || to == POINTER_REGS)
-+ if (to == TAILCALL_ADDR_REGS || to == POINTER_REGS
-+ || to == STUB_REGS)
- to = GENERAL_REGS;
-
-- if (from == TAILCALL_ADDR_REGS || from == POINTER_REGS)
-+ if (from == TAILCALL_ADDR_REGS || from == POINTER_REGS
-+ || from == STUB_REGS)
- from = GENERAL_REGS;
-
- /* Make RDFFR very expensive. In particular, if we know that the FFR
-@@ -22957,6 +22963,215 @@ aarch64_sls_barrier (int mitigation_required)
- : "";
- }
-
-+static GTY (()) tree aarch64_sls_shared_thunks[30];
-+static GTY (()) bool aarch64_sls_shared_thunks_needed = false;
-+const char *indirect_symbol_names[30] = {
-+ "__call_indirect_x0",
-+ "__call_indirect_x1",
-+ "__call_indirect_x2",
-+ "__call_indirect_x3",
-+ "__call_indirect_x4",
-+ "__call_indirect_x5",
-+ "__call_indirect_x6",
-+ "__call_indirect_x7",
-+ "__call_indirect_x8",
-+ "__call_indirect_x9",
-+ "__call_indirect_x10",
-+ "__call_indirect_x11",
-+ "__call_indirect_x12",
-+ "__call_indirect_x13",
-+ "__call_indirect_x14",
-+ "__call_indirect_x15",
-+ "", /* "__call_indirect_x16", */
-+ "", /* "__call_indirect_x17", */
-+ "__call_indirect_x18",
-+ "__call_indirect_x19",
-+ "__call_indirect_x20",
-+ "__call_indirect_x21",
-+ "__call_indirect_x22",
-+ "__call_indirect_x23",
-+ "__call_indirect_x24",
-+ "__call_indirect_x25",
-+ "__call_indirect_x26",
-+ "__call_indirect_x27",
-+ "__call_indirect_x28",
-+ "__call_indirect_x29",
-+};
-+
-+/* Function to create a BLR thunk. This thunk is used to mitigate straight
-+ line speculation. Instead of a simple BLR that can be speculated past,
-+ we emit a BL to this thunk, and this thunk contains a BR to the relevant
-+ register. These thunks have the relevant speculation barries put after
-+ their indirect branch so that speculation is blocked.
-+
-+ We use such a thunk so the speculation barriers are kept off the
-+ architecturally executed path in order to reduce the performance overhead.
-+
-+ When optimizing for size we use stubs shared by the linked object.
-+ When optimizing for performance we emit stubs for each function in the hope
-+ that the branch predictor can better train on jumps specific for a given
-+ function. */
-+rtx
-+aarch64_sls_create_blr_label (int regnum)
-+{
-+ gcc_assert (STUB_REGNUM_P (regnum));
-+ if (optimize_function_for_size_p (cfun))
-+ {
-+ /* For the thunks shared between different functions in this compilation
-+ unit we use a named symbol -- this is just for users to more easily
-+ understand the generated assembly. */
-+ aarch64_sls_shared_thunks_needed = true;
-+ const char *thunk_name = indirect_symbol_names[regnum];
-+ if (aarch64_sls_shared_thunks[regnum] == NULL)
-+ {
-+ /* Build a decl representing this function stub and record it for
-+ later. We build a decl here so we can use the GCC machinery for
-+ handling sections automatically (through `get_named_section` and
-+ `make_decl_one_only`). That saves us a lot of trouble handling
-+ the specifics of different output file formats. */
-+ tree decl = build_decl (BUILTINS_LOCATION, FUNCTION_DECL,
-+ get_identifier (thunk_name),
-+ build_function_type_list (void_type_node,
-+ NULL_TREE));
-+ DECL_RESULT (decl) = build_decl (BUILTINS_LOCATION, RESULT_DECL,
-+ NULL_TREE, void_type_node);
-+ TREE_PUBLIC (decl) = 1;
-+ TREE_STATIC (decl) = 1;
-+ DECL_IGNORED_P (decl) = 1;
-+ DECL_ARTIFICIAL (decl) = 1;
-+ make_decl_one_only (decl, DECL_ASSEMBLER_NAME (decl));
-+ resolve_unique_section (decl, 0, false);
-+ aarch64_sls_shared_thunks[regnum] = decl;
-+ }
-+
-+ return gen_rtx_SYMBOL_REF (Pmode, thunk_name);
-+ }
-+
-+ if (cfun->machine->call_via[regnum] == NULL)
-+ cfun->machine->call_via[regnum]
-+ = gen_rtx_LABEL_REF (Pmode, gen_label_rtx ());
-+ return cfun->machine->call_via[regnum];
-+}
-+
-+/* Helper function for aarch64_sls_emit_blr_function_thunks and
-+ aarch64_sls_emit_shared_blr_thunks below. */
-+static void
-+aarch64_sls_emit_function_stub (FILE *out_file, int regnum)
-+{
-+ /* Save in x16 and branch to that function so this transformation does
-+ not prevent jumping to `BTI c` instructions. */
-+ asm_fprintf (out_file, "\tmov\tx16, x%d\n", regnum);
-+ asm_fprintf (out_file, "\tbr\tx16\n");
-+}
-+
-+/* Emit all BLR stubs for this particular function.
-+ Here we emit all the BLR stubs needed for the current function. Since we
-+ emit these stubs in a consecutive block we know there will be no speculation
-+ gadgets between each stub, and hence we only emit a speculation barrier at
-+ the end of the stub sequences.
-+
-+ This is called in the TARGET_ASM_FUNCTION_EPILOGUE hook. */
-+void
-+aarch64_sls_emit_blr_function_thunks (FILE *out_file)
-+{
-+ if (! aarch64_harden_sls_blr_p ())
-+ return;
-+
-+ bool any_functions_emitted = false;
-+ /* We must save and restore the current function section since this assembly
-+ is emitted at the end of the function. This means it can be emitted *just
-+ after* the cold section of a function. That cold part would be emitted in
-+ a different section. That switch would trigger a `.cfi_endproc` directive
-+ to be emitted in the original section and a `.cfi_startproc` directive to
-+ be emitted in the new section. Switching to the original section without
-+ restoring would mean that the `.cfi_endproc` emitted as a function ends
-+ would happen in a different section -- leaving an unmatched
-+ `.cfi_startproc` in the cold text section and an unmatched `.cfi_endproc`
-+ in the standard text section. */
-+ section *save_text_section = in_section;
-+ switch_to_section (function_section (current_function_decl));
-+ for (int regnum = 0; regnum < 30; ++regnum)
-+ {
-+ rtx specu_label = cfun->machine->call_via[regnum];
-+ if (specu_label == NULL)
-+ continue;
-+
-+ targetm.asm_out.print_operand (out_file, specu_label, 0);
-+ asm_fprintf (out_file, ":\n");
-+ aarch64_sls_emit_function_stub (out_file, regnum);
-+ any_functions_emitted = true;
-+ }
-+ if (any_functions_emitted)
-+ /* Can use the SB if needs be here, since this stub will only be used
-+ by the current function, and hence for the current target. */
-+ asm_fprintf (out_file, "\t%s\n", aarch64_sls_barrier (true));
-+ switch_to_section (save_text_section);
-+}
-+
-+/* Emit shared BLR stubs for the current compilation unit.
-+ Over the course of compiling this unit we may have converted some BLR
-+ instructions to a BL to a shared stub function. This is where we emit those
-+ stub functions.
-+ This function is for the stubs shared between different functions in this
-+ compilation unit. We share when optimizing for size instead of speed.
-+
-+ This function is called through the TARGET_ASM_FILE_END hook. */
-+void
-+aarch64_sls_emit_shared_blr_thunks (FILE *out_file)
-+{
-+ if (! aarch64_sls_shared_thunks_needed)
-+ return;
-+
-+ for (int regnum = 0; regnum < 30; ++regnum)
-+ {
-+ tree decl = aarch64_sls_shared_thunks[regnum];
-+ if (!decl)
-+ continue;
-+
-+ const char *name = indirect_symbol_names[regnum];
-+ switch_to_section (get_named_section (decl, NULL, 0));
-+ ASM_OUTPUT_ALIGN (out_file, 2);
-+ targetm.asm_out.globalize_label (out_file, name);
-+ /* Only emits if the compiler is configured for an assembler that can
-+ handle visibility directives. */
-+ targetm.asm_out.assemble_visibility (decl, VISIBILITY_HIDDEN);
-+ ASM_OUTPUT_TYPE_DIRECTIVE (out_file, name, "function");
-+ ASM_OUTPUT_LABEL (out_file, name);
-+ aarch64_sls_emit_function_stub (out_file, regnum);
-+ /* Use the most conservative target to ensure it can always be used by any
-+ function in the translation unit. */
-+ asm_fprintf (out_file, "\tdsb\tsy\n\tisb\n");
-+ ASM_DECLARE_FUNCTION_SIZE (out_file, name, decl);
-+ }
-+}
-+
-+/* Implement TARGET_ASM_FILE_END. */
-+void
-+aarch64_asm_file_end ()
-+{
-+ aarch64_sls_emit_shared_blr_thunks (asm_out_file);
-+ /* Since this function will be called for the ASM_FILE_END hook, we ensure
-+ that what would be called otherwise (e.g. `file_end_indicate_exec_stack`
-+ for FreeBSD) still gets called. */
-+#ifdef TARGET_ASM_FILE_END
-+ TARGET_ASM_FILE_END ();
-+#endif
-+}
-+
-+const char *
-+aarch64_indirect_call_asm (rtx addr)
-+{
-+ gcc_assert (REG_P (addr));
-+ if (aarch64_harden_sls_blr_p ())
-+ {
-+ rtx stub_label = aarch64_sls_create_blr_label (REGNO (addr));
-+ output_asm_insn ("bl\t%0", &stub_label);
-+ }
-+ else
-+ output_asm_insn ("blr\t%0", &addr);
-+ return "";
-+}
-+
- /* Target-specific selftests. */
-
- #if CHECKING_P
-@@ -23507,6 +23722,12 @@ aarch64_libgcc_floating_mode_supported_p
- #undef TARGET_MD_ASM_ADJUST
- #define TARGET_MD_ASM_ADJUST arm_md_asm_adjust
-
-+#undef TARGET_ASM_FILE_END
-+#define TARGET_ASM_FILE_END aarch64_asm_file_end
-+
-+#undef TARGET_ASM_FUNCTION_EPILOGUE
-+#define TARGET_ASM_FUNCTION_EPILOGUE aarch64_sls_emit_blr_function_thunks
-+
- struct gcc_target targetm = TARGET_INITIALIZER;
-
- #include "gt-aarch64.h"
-diff --git a/gcc/config/aarch64/aarch64.h b/gcc/config/aarch64/aarch64.h
-index 8e0fc37..7331450 100644
---- a/gcc/config/aarch64/aarch64.h
-+++ b/gcc/config/aarch64/aarch64.h
-@@ -643,6 +643,16 @@ extern unsigned aarch64_architecture_version;
- #define GP_REGNUM_P(REGNO) \
- (((unsigned) (REGNO - R0_REGNUM)) <= (R30_REGNUM - R0_REGNUM))
-
-+/* Registers known to be preserved over a BL instruction. This consists of the
-+ GENERAL_REGS without x16, x17, and x30. The x30 register is changed by the
-+ BL instruction itself, while the x16 and x17 registers may be used by
-+ veneers which can be inserted by the linker. */
-+#define STUB_REGNUM_P(REGNO) \
-+ (GP_REGNUM_P (REGNO) \
-+ && (REGNO) != R16_REGNUM \
-+ && (REGNO) != R17_REGNUM \
-+ && (REGNO) != R30_REGNUM) \
-+
- #define FP_REGNUM_P(REGNO) \
- (((unsigned) (REGNO - V0_REGNUM)) <= (V31_REGNUM - V0_REGNUM))
-
-@@ -667,6 +677,7 @@ enum reg_class
- {
- NO_REGS,
- TAILCALL_ADDR_REGS,
-+ STUB_REGS,
- GENERAL_REGS,
- STACK_REG,
- POINTER_REGS,
-@@ -689,6 +700,7 @@ enum reg_class
- { \
- "NO_REGS", \
- "TAILCALL_ADDR_REGS", \
-+ "STUB_REGS", \
- "GENERAL_REGS", \
- "STACK_REG", \
- "POINTER_REGS", \
-@@ -708,6 +720,7 @@ enum reg_class
- { \
- { 0x00000000, 0x00000000, 0x00000000 }, /* NO_REGS */ \
- { 0x00030000, 0x00000000, 0x00000000 }, /* TAILCALL_ADDR_REGS */\
-+ { 0x3ffcffff, 0x00000000, 0x00000000 }, /* STUB_REGS */ \
- { 0x7fffffff, 0x00000000, 0x00000003 }, /* GENERAL_REGS */ \
- { 0x80000000, 0x00000000, 0x00000000 }, /* STACK_REG */ \
- { 0xffffffff, 0x00000000, 0x00000003 }, /* POINTER_REGS */ \
-@@ -862,6 +875,8 @@ typedef struct GTY (()) machine_function
- struct aarch64_frame frame;
- /* One entry for each hard register. */
- bool reg_is_wrapped_separately[LAST_SAVED_REGNUM];
-+ /* One entry for each general purpose register. */
-+ rtx call_via[SP_REGNUM];
- bool label_is_assembled;
- } machine_function;
- #endif
-diff --git a/gcc/config/aarch64/aarch64.md b/gcc/config/aarch64/aarch64.md
-index dda04ee..43da754 100644
---- a/gcc/config/aarch64/aarch64.md
-+++ b/gcc/config/aarch64/aarch64.md
-@@ -1022,16 +1022,15 @@
- )
-
- (define_insn "*call_insn"
-- [(call (mem:DI (match_operand:DI 0 "aarch64_call_insn_operand" "r, Usf"))
-+ [(call (mem:DI (match_operand:DI 0 "aarch64_call_insn_operand" "Ucr, Usf"))
- (match_operand 1 "" ""))
- (unspec:DI [(match_operand:DI 2 "const_int_operand")] UNSPEC_CALLEE_ABI)
- (clobber (reg:DI LR_REGNUM))]
- ""
- "@
-- blr\\t%0
-+ * return aarch64_indirect_call_asm (operands[0]);
- bl\\t%c0"
-- [(set_attr "type" "call, call")]
--)
-+ [(set_attr "type" "call, call")])
-
- (define_expand "call_value"
- [(parallel
-@@ -1050,13 +1049,13 @@
-
- (define_insn "*call_value_insn"
- [(set (match_operand 0 "" "")
-- (call (mem:DI (match_operand:DI 1 "aarch64_call_insn_operand" "r, Usf"))
-+ (call (mem:DI (match_operand:DI 1 "aarch64_call_insn_operand" "Ucr, Usf"))
- (match_operand 2 "" "")))
- (unspec:DI [(match_operand:DI 3 "const_int_operand")] UNSPEC_CALLEE_ABI)
- (clobber (reg:DI LR_REGNUM))]
- ""
- "@
-- blr\\t%1
-+ * return aarch64_indirect_call_asm (operands[1]);
- bl\\t%c1"
- [(set_attr "type" "call, call")]
- )
-diff --git a/gcc/config/aarch64/constraints.md b/gcc/config/aarch64/constraints.md
-index d993268..8cc6f50 100644
---- a/gcc/config/aarch64/constraints.md
-+++ b/gcc/config/aarch64/constraints.md
-@@ -24,6 +24,15 @@
- (define_register_constraint "Ucs" "TAILCALL_ADDR_REGS"
- "@internal Registers suitable for an indirect tail call")
-
-+(define_register_constraint "Ucr"
-+ "aarch64_harden_sls_blr_p () ? STUB_REGS : GENERAL_REGS"
-+ "@internal Registers to be used for an indirect call.
-+ This is usually the general registers, but when we are hardening against
-+ Straight Line Speculation we disallow x16, x17, and x30 so we can use
-+ indirection stubs. These indirection stubs cannot use the above registers
-+ since they will be reached by a BL that may have to go through a linker
-+ veneer.")
-+
- (define_register_constraint "w" "FP_REGS"
- "Floating point and SIMD vector registers.")
-
-diff --git a/gcc/config/aarch64/predicates.md b/gcc/config/aarch64/predicates.md
-index 215fcec..1754b1e 100644
---- a/gcc/config/aarch64/predicates.md
-+++ b/gcc/config/aarch64/predicates.md
-@@ -32,7 +32,8 @@
-
- (define_predicate "aarch64_general_reg"
- (and (match_operand 0 "register_operand")
-- (match_test "REGNO_REG_CLASS (REGNO (op)) == GENERAL_REGS")))
-+ (match_test "REGNO_REG_CLASS (REGNO (op)) == STUB_REGS
-+ || REGNO_REG_CLASS (REGNO (op)) == GENERAL_REGS")))
-
- ;; Return true if OP a (const_int 0) operand.
- (define_predicate "const0_operand"
-diff --git a/gcc/testsuite/gcc.target/aarch64/sls-mitigation/sls-miti-blr-bti.c b/gcc/testsuite/gcc.target/aarch64/sls-mitigation/sls-miti-blr-bti.c
-new file mode 100644
-index 0000000..b1fb754
---- /dev/null
-+++ b/gcc/testsuite/gcc.target/aarch64/sls-mitigation/sls-miti-blr-bti.c
-@@ -0,0 +1,40 @@
-+/* { dg-do compile } */
-+/* { dg-additional-options "-mharden-sls=blr -mbranch-protection=bti" } */
-+/*
-+ Ensure that the SLS hardening of BLR leaves no BLR instructions.
-+ Here we also check that there are no BR instructions with anything except an
-+ x16 or x17 register. This is because a `BTI c` instruction can be branched
-+ to using a BLR instruction using any register, but can only be branched to
-+ with a BR using an x16 or x17 register.
-+ */
-+typedef int (foo) (int, int);
-+typedef void (bar) (int, int);
-+struct sls_testclass {
-+ foo *x;
-+ bar *y;
-+ int left;
-+ int right;
-+};
-+
-+/* We test both RTL patterns for a call which returns a value and a call which
-+ does not. */
-+int blr_call_value (struct sls_testclass x)
-+{
-+ int retval = x.x(x.left, x.right);
-+ if (retval % 10)
-+ return 100;
-+ return 9;
-+}
-+
-+int blr_call (struct sls_testclass x)
-+{
-+ x.y(x.left, x.right);
-+ if (x.left % 10)
-+ return 100;
-+ return 9;
-+}
-+
-+/* { dg-final { scan-assembler-not {\tblr\t} } } */
-+/* { dg-final { scan-assembler-not {\tbr\tx(?!16|17)} } } */
-+/* { dg-final { scan-assembler {\tbr\tx(16|17)} } } */
-+
-diff --git a/gcc/testsuite/gcc.target/aarch64/sls-mitigation/sls-miti-blr.c b/gcc/testsuite/gcc.target/aarch64/sls-mitigation/sls-miti-blr.c
-new file mode 100644
-index 0000000..88bafff
---- /dev/null
-+++ b/gcc/testsuite/gcc.target/aarch64/sls-mitigation/sls-miti-blr.c
-@@ -0,0 +1,33 @@
-+/* { dg-additional-options "-mharden-sls=blr -save-temps" } */
-+/* Ensure that the SLS hardening of BLR leaves no BLR instructions.
-+ We only test that all BLR instructions have been removed, not that the
-+ resulting code makes sense. */
-+typedef int (foo) (int, int);
-+typedef void (bar) (int, int);
-+struct sls_testclass {
-+ foo *x;
-+ bar *y;
-+ int left;
-+ int right;
-+};
-+
-+/* We test both RTL patterns for a call which returns a value and a call which
-+ does not. */
-+int blr_call_value (struct sls_testclass x)
-+{
-+ int retval = x.x(x.left, x.right);
-+ if (retval % 10)
-+ return 100;
-+ return 9;
-+}
-+
-+int blr_call (struct sls_testclass x)
-+{
-+ x.y(x.left, x.right);
-+ if (x.left % 10)
-+ return 100;
-+ return 9;
-+}
-+
-+/* { dg-final { scan-assembler-not {\tblr\t} } } */
-+/* { dg-final { scan-assembler {\tbr\tx[0-9][0-9]?} } } */
---
-2.7.4
-
diff --git a/meta/recipes-devtools/gcc/gcc/0003-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch b/meta/recipes-devtools/gcc/gcc/0003-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch
deleted file mode 100644
index 27237feb5a..0000000000
--- a/meta/recipes-devtools/gcc/gcc/0003-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch
+++ /dev/null
@@ -1,70 +0,0 @@
-From 6e3395c0bc933bdc3242d1dead4896d0aa4e11a8 Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Fri, 29 Mar 2013 09:08:31 +0400
-Subject: [PATCH] gcc-4.3.3: SYSROOT_CFLAGS_FOR_TARGET
-
-Before committing, I noticed that PR/32161 was marked as a dup of PR/32009, but my previous patch did not fix it.
-
-This alternative patch is better because it lets you just use CFLAGS_FOR_TARGET to set the compilation flags for libgcc. Since bootstrapped target libraries are never compiled with the native compiler, it makes little sense to use different flags for stage1 and later stages. And it also makes little sense to use a different variable than CFLAGS_FOR_TARGET.
-
-Other changes I had to do include:
-
-- moving the creation of default CFLAGS_FOR_TARGET from Makefile.am to configure.ac, because otherwise the BOOT_CFLAGS are substituted into CFLAGS_FOR_TARGET (which is "-O2 -g $(CFLAGS)") via $(CFLAGS). It is also cleaner this way though.
-
-- passing the right CFLAGS to configure scripts as exported environment variables
-
-I also stopped passing LIBCFLAGS to configure scripts since they are unused in the whole src tree. And I updated the documentation as H-P reminded me to do.
-
-Bootstrapped/regtested i686-pc-linux-gnu, will commit to 4.4 shortly. Ok for 4.3?
-
-Signed-off-by: Paolo Bonzini <bonzini@gnu.org>
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
-
-Upstream-Status: Pending
----
- configure | 32 ++++++++++++++++++++++++++++++++
- 1 file changed, 32 insertions(+)
-
-diff --git a/configure b/configure
-index 226a64939d1..b31dc137fc9 100755
---- a/configure
-+++ b/configure
-@@ -6971,6 +6971,38 @@ fi
-
-
-
-+# During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
-+# might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
-+# might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
-+# We want to ensure that TARGET libraries (which we know are built with
-+# gcc) are built with "-O2 -g", so include those options when setting
-+# CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
-+if test "x$CFLAGS_FOR_TARGET" = x; then
-+ CFLAGS_FOR_TARGET=$CFLAGS
-+ case " $CFLAGS " in
-+ *" -O2 "*) ;;
-+ *) CFLAGS_FOR_TARGET="-O2 $CFLAGS" ;;
-+ esac
-+ case " $CFLAGS " in
-+ *" -g "* | *" -g3 "*) ;;
-+ *) CFLAGS_FOR_TARGET="-g $CFLAGS" ;;
-+ esac
-+fi
-+
-+
-+if test "x$CXXFLAGS_FOR_TARGET" = x; then
-+ CXXFLAGS_FOR_TARGET=$CXXFLAGS
-+ case " $CXXFLAGS " in
-+ *" -O2 "*) ;;
-+ *) CXXFLAGS_FOR_TARGET="-O2 $CXXFLAGS" ;;
-+ esac
-+ case " $CXXFLAGS " in
-+ *" -g "* | *" -g3 "*) ;;
-+ *) CXXFLAGS_FOR_TARGET="-g $CXXFLAGS" ;;
-+ esac
-+fi
-+
-+
- # Handle --with-headers=XXX. If the value is not "yes", the contents of
- # the named directory are copied to $(tooldir)/sys-include.
- if test x"${with_headers}" != x && test x"${with_headers}" != xno ; then
diff --git a/meta/recipes-devtools/gcc/gcc/0004-Pass-CXXFLAGS_FOR_BUILD-in-a-couple-of-places-to-avo.patch b/meta/recipes-devtools/gcc/gcc/0004-Pass-CXXFLAGS_FOR_BUILD-in-a-couple-of-places-to-avo.patch
new file mode 100644
index 0000000000..35e92a6a9e
--- /dev/null
+++ b/meta/recipes-devtools/gcc/gcc/0004-Pass-CXXFLAGS_FOR_BUILD-in-a-couple-of-places-to-avo.patch
@@ -0,0 +1,64 @@
+From 5bef09b829ab8042acc045474cf10f4c4fb15dd5 Mon Sep 17 00:00:00 2001
+From: Richard Purdie <richard.purdie@linuxfoundation.org>
+Date: Thu, 28 Oct 2021 11:33:40 +0100
+Subject: [PATCH] Pass CXXFLAGS_FOR_BUILD in a couple of places to avoid these
+ errors.
+
+If CXXFLAGS contains something unsupported by the build CXX, we see build failures (e.g. using -fmacro-prefix-map for the target).
+
+2021-10-28 Richard Purdie <richard.purdie@linuxfoundation.org>
+
+ChangeLog:
+
+ * Makefile.in: Regenerate.
+ * Makefile.tpl: Add missing CXXFLAGS_FOR_BUILD overrides
+
+Upstream-Status: Submitted [https://gcc.gnu.org/pipermail/gcc-patches/2023-February/612560.html]
+
+Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ Makefile.in | 2 ++
+ Makefile.tpl | 2 ++
+ 2 files changed, 4 insertions(+)
+
+diff --git a/Makefile.in b/Makefile.in
+index db4fa6c6260..dee862be8a5 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -179,6 +179,7 @@ BUILD_EXPORTS = \
+ # built for the build system to override those in BASE_FLAGS_TO_PASS.
+ EXTRA_BUILD_FLAGS = \
+ CFLAGS="$(CFLAGS_FOR_BUILD)" \
++ CXXFLAGS="$(CXXFLAGS_FOR_BUILD)" \
+ LDFLAGS="$(LDFLAGS_FOR_BUILD)"
+
+ # This is the list of directories to built for the host system.
+@@ -211,6 +212,7 @@ HOST_EXPORTS = \
+ CPP_FOR_BUILD="$(CPP_FOR_BUILD)"; export CPP_FOR_BUILD; \
+ CPPFLAGS_FOR_BUILD="$(CPPFLAGS_FOR_BUILD)"; export CPPFLAGS_FOR_BUILD; \
+ CXX_FOR_BUILD="$(CXX_FOR_BUILD)"; export CXX_FOR_BUILD; \
++ CXXFLAGS_FOR_BUILD="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS_FOR_BUILD; \
+ DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
+ DSYMUTIL="$(DSYMUTIL)"; export DSYMUTIL; \
+ LD="$(LD)"; export LD; \
+diff --git a/Makefile.tpl b/Makefile.tpl
+index 1d5813cd569..ff0fae53b0c 100644
+--- a/Makefile.tpl
++++ b/Makefile.tpl
+@@ -182,6 +182,7 @@ BUILD_EXPORTS = \
+ # built for the build system to override those in BASE_FLAGS_TO_PASS.
+ EXTRA_BUILD_FLAGS = \
+ CFLAGS="$(CFLAGS_FOR_BUILD)" \
++ CXXFLAGS="$(CXXFLAGS_FOR_BUILD)" \
+ LDFLAGS="$(LDFLAGS_FOR_BUILD)"
+
+ # This is the list of directories to built for the host system.
+@@ -214,6 +215,7 @@ HOST_EXPORTS = \
+ CPP_FOR_BUILD="$(CPP_FOR_BUILD)"; export CPP_FOR_BUILD; \
+ CPPFLAGS_FOR_BUILD="$(CPPFLAGS_FOR_BUILD)"; export CPPFLAGS_FOR_BUILD; \
+ CXX_FOR_BUILD="$(CXX_FOR_BUILD)"; export CXX_FOR_BUILD; \
++ CXXFLAGS_FOR_BUILD="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS_FOR_BUILD; \
+ DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
+ DSYMUTIL="$(DSYMUTIL)"; export DSYMUTIL; \
+ LD="$(LD)"; export LD; \
diff --git a/meta/recipes-devtools/gcc/gcc/0007-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch b/meta/recipes-devtools/gcc/gcc/0005-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch
index a764bdd0f4..8c6ae38e95 100644
--- a/meta/recipes-devtools/gcc/gcc/0007-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch
+++ b/meta/recipes-devtools/gcc/gcc/0005-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch
@@ -1,4 +1,4 @@
-From 5670d4489f119d2da661734895ac0be99b606d1b Mon Sep 17 00:00:00 2001
+From fd3f513fa7e4f63a2b28b31ed5a4ddf8f5c543c0 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Fri, 29 Mar 2013 09:17:25 +0400
Subject: [PATCH] Use the defaults.h in ${B} instead of ${S}, and t-oe in ${B}
@@ -7,16 +7,16 @@ Use the defaults.h in ${B} instead of ${S}, and t-oe in ${B}, so that
the source can be shared between gcc-cross-initial,
gcc-cross-intermediate, gcc-cross, gcc-runtime, and also the sdk build.
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
-
-Upstream-Status: Pending
-
While compiling gcc-crosssdk-initial-x86_64 on some host, there is
occasionally failure that test the existance of default.h doesn't
work, the reason is tm_include_list='** defaults.h' rather than
tm_include_list='** ./defaults.h'
So we add the test condition for this situation.
+
+Upstream-Status: Inappropriate [embedded specific]
+
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
gcc/Makefile.in | 2 +-
@@ -26,10 +26,10 @@ Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
4 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
-index 543b477ff18..a67d2cc18d6 100644
+index a74761b7ab3..956437df95b 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
-@@ -540,7 +540,7 @@ TARGET_SYSTEM_ROOT = @TARGET_SYSTEM_ROOT@
+@@ -590,7 +590,7 @@ TARGET_SYSTEM_ROOT = @TARGET_SYSTEM_ROOT@
TARGET_SYSTEM_ROOT_DEFINE = @TARGET_SYSTEM_ROOT_DEFINE@
xmake_file=@xmake_file@
@@ -39,10 +39,10 @@ index 543b477ff18..a67d2cc18d6 100644
TM_MULTILIB_CONFIG=@TM_MULTILIB_CONFIG@
TM_MULTILIB_EXCEPTIONS_CONFIG=@TM_MULTILIB_EXCEPTIONS_CONFIG@
diff --git a/gcc/configure b/gcc/configure
-index 8de766a942c..b26e8fc7fee 100755
+index 3c346acbce0..3870d6e9b6d 100755
--- a/gcc/configure
+++ b/gcc/configure
-@@ -12705,8 +12705,8 @@ for f in $tm_file; do
+@@ -15155,8 +15155,8 @@ for f in $tm_file; do
tm_include_list="${tm_include_list} $f"
;;
defaults.h )
@@ -54,10 +54,10 @@ index 8de766a942c..b26e8fc7fee 100755
* )
tm_file_list="${tm_file_list} \$(srcdir)/config/$f"
diff --git a/gcc/configure.ac b/gcc/configure.ac
-index 8bfd6feb780..26fa46802c7 100644
+index 4d8123085b8..15670de1706 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
-@@ -2138,8 +2138,8 @@ for f in $tm_file; do
+@@ -2383,8 +2383,8 @@ for f in $tm_file; do
tm_include_list="${tm_include_list} $f"
;;
defaults.h )
@@ -69,7 +69,7 @@ index 8bfd6feb780..26fa46802c7 100644
* )
tm_file_list="${tm_file_list} \$(srcdir)/config/$f"
diff --git a/gcc/mkconfig.sh b/gcc/mkconfig.sh
-index d2c677a4a42..d03852481cb 100644
+index 1b015b70b38..145af56745e 100644
--- a/gcc/mkconfig.sh
+++ b/gcc/mkconfig.sh
@@ -77,7 +77,7 @@ if [ -n "$HEADERS" ]; then
diff --git a/meta/recipes-devtools/gcc/gcc/0005-optional-libstdc.patch b/meta/recipes-devtools/gcc/gcc/0005-optional-libstdc.patch
deleted file mode 100644
index 4020c9e3cf..0000000000
--- a/meta/recipes-devtools/gcc/gcc/0005-optional-libstdc.patch
+++ /dev/null
@@ -1,122 +0,0 @@
-From 6ddfb0bfcd1eea71acd37ab06f7a4510b9f1d12b Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Fri, 29 Mar 2013 09:12:56 +0400
-Subject: [PATCH] optional libstdc
-
-gcc-runtime builds libstdc++ separately from gcc-cross-*. Its configure tests using g++
-will not run correctly since by default the linker will try to link against libstdc++
-which shouldn't exist yet. We need an option to disable -lstdc++
-option whilst leaving -lc, -lgcc and other automatic library dependencies added by gcc
-driver. This patch adds such an option which only disables the -lstdc++.
-
-A "standard" gcc build uses xgcc and hence avoids this. We should ask upstream how to
-do this officially, the likely answer is don't build libstdc++ separately.
-
-RP 29/6/10
-
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
-
-Upstream-Status: Inappropriate [embedded specific]
----
- gcc/c-family/c.opt | 4 ++++
- gcc/cp/g++spec.c | 1 +
- gcc/doc/invoke.texi | 32 +++++++++++++++++++++++++++++++-
- gcc/gcc.c | 1 +
- 4 files changed, 37 insertions(+), 1 deletion(-)
-
-diff --git a/gcc/c-family/c.opt b/gcc/c-family/c.opt
-index c49da99d395..35f712e2c84 100644
---- a/gcc/c-family/c.opt
-+++ b/gcc/c-family/c.opt
-@@ -2025,6 +2025,10 @@ nostdinc++
- C++ ObjC++
- Do not search standard system include directories for C++.
-
-+nostdlib++
-+Driver
-+Do not link standard C++ runtime library
-+
- o
- C ObjC C++ ObjC++ Joined Separate
- ; Documented in common.opt
-diff --git a/gcc/cp/g++spec.c b/gcc/cp/g++spec.c
-index 0ab63bcd211..7b081e9e4f0 100644
---- a/gcc/cp/g++spec.c
-+++ b/gcc/cp/g++spec.c
-@@ -137,6 +137,7 @@ lang_specific_driver (struct cl_decoded_option **in_decoded_options,
- switch (decoded_options[i].opt_index)
- {
- case OPT_nostdlib:
-+ case OPT_nostdlib__:
- case OPT_nodefaultlibs:
- library = -1;
- break;
-diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
-index f12d8d12150..cf6cb428e7d 100644
---- a/gcc/doc/invoke.texi
-+++ b/gcc/doc/invoke.texi
-@@ -230,6 +230,9 @@ in the following sections.
- -fno-weak -nostdinc++ @gol
- -fvisibility-inlines-hidden @gol
- -fvisibility-ms-compat @gol
-+-fvtable-verify=@r{[}std@r{|}preinit@r{|}none@r{]} @gol
-+-fvtv-counts -fvtv-debug @gol
-+-nostdlib++ @gol
- -fext-numeric-literals @gol
- -Wabi-tag -Wcatch-value -Wcatch-value=@var{n} @gol
- -Wno-class-conversion -Wclass-memaccess @gol
-@@ -599,7 +602,7 @@ Objective-C and Objective-C++ Dialects}.
- -pie -pthread -r -rdynamic @gol
- -s -static -static-pie -static-libgcc -static-libstdc++ @gol
- -static-libasan -static-libtsan -static-liblsan -static-libubsan @gol
---shared -shared-libgcc -symbolic @gol
-+-shared -shared-libgcc -symbolic -nostdlib++ @gol
- -T @var{script} -Wl,@var{option} -Xlinker @var{option} @gol
- -u @var{symbol} -z @var{keyword}}
-
-@@ -14407,6 +14410,33 @@ Specify that the program entry point is @var{entry}. The argument is
- interpreted by the linker; the GNU linker accepts either a symbol name
- or an address.
-
-+@item -nostdlib++
-+@opindex nostdlib++
-+Do not use the standard system C++ runtime libraries when linking.
-+Only the libraries you specify will be passed to the linker.
-+
-+@cindex @option{-lgcc}, use with @option{-nostdlib}
-+@cindex @option{-nostdlib} and unresolved references
-+@cindex unresolved references and @option{-nostdlib}
-+@cindex @option{-lgcc}, use with @option{-nodefaultlibs}
-+@cindex @option{-nodefaultlibs} and unresolved references
-+@cindex unresolved references and @option{-nodefaultlibs}
-+One of the standard libraries bypassed by @option{-nostdlib} and
-+@option{-nodefaultlibs} is @file{libgcc.a}, a library of internal subroutines
-+which GCC uses to overcome shortcomings of particular machines, or special
-+needs for some languages.
-+(@xref{Interface,,Interfacing to GCC Output,gccint,GNU Compiler
-+Collection (GCC) Internals},
-+for more discussion of @file{libgcc.a}.)
-+In most cases, you need @file{libgcc.a} even when you want to avoid
-+other standard libraries. In other words, when you specify @option{-nostdlib}
-+or @option{-nodefaultlibs} you should usually specify @option{-lgcc} as well.
-+This ensures that you have no unresolved references to internal GCC
-+library subroutines.
-+(An example of such an internal subroutine is @code{__main}, used to ensure C++
-+constructors are called; @pxref{Collect2,,@code{collect2}, gccint,
-+GNU Compiler Collection (GCC) Internals}.)
-+
- @item -pie
- @opindex pie
- Produce a dynamically linked position independent executable on targets
-diff --git a/gcc/gcc.c b/gcc/gcc.c
-index b2200c5185a..f8be58ce0a6 100644
---- a/gcc/gcc.c
-+++ b/gcc/gcc.c
-@@ -1051,6 +1051,7 @@ proper position among the other output files. */
- %(mflib) " STACK_SPLIT_SPEC "\
- %{fprofile-arcs|fprofile-generate*|coverage:-lgcov} " SANITIZER_SPEC " \
- %{!nostdlib:%{!r:%{!nodefaultlibs:%(link_ssp) %(link_gcc_c_sequence)}}}\
-+ %{!nostdlib++:}\
- %{!nostdlib:%{!r:%{!nostartfiles:%E}}} %{T*} \n%(post_link) }}}}}}"
- #endif
-
diff --git a/meta/recipes-devtools/gcc/gcc/0006-COLLECT_GCC_OPTIONS.patch b/meta/recipes-devtools/gcc/gcc/0006-COLLECT_GCC_OPTIONS.patch
deleted file mode 100644
index 9fbbe80703..0000000000
--- a/meta/recipes-devtools/gcc/gcc/0006-COLLECT_GCC_OPTIONS.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From a6c90d3a9c5010b4aa7cc30467cf81ca7e0f430e Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Fri, 29 Mar 2013 09:16:28 +0400
-Subject: [PATCH] COLLECT_GCC_OPTIONS
-
-This patch adds --sysroot into COLLECT_GCC_OPTIONS which is used to
-invoke collect2.
-
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
-
-Upstream-Status: Pending
----
- gcc/gcc.c | 9 +++++++++
- 1 file changed, 9 insertions(+)
-
-diff --git a/gcc/gcc.c b/gcc/gcc.c
-index f8be58ce0a6..48b0f9dde81 100644
---- a/gcc/gcc.c
-+++ b/gcc/gcc.c
-@@ -4806,6 +4806,15 @@ set_collect_gcc_options (void)
- sizeof ("COLLECT_GCC_OPTIONS=") - 1);
-
- first_time = TRUE;
-+#ifdef HAVE_LD_SYSROOT
-+ if (target_system_root_changed && target_system_root)
-+ {
-+ obstack_grow (&collect_obstack, "'--sysroot=", sizeof("'--sysroot=")-1);
-+ obstack_grow (&collect_obstack, target_system_root,strlen(target_system_root));
-+ obstack_grow (&collect_obstack, "'", 1);
-+ first_time = FALSE;
-+ }
-+#endif
- for (i = 0; (int) i < n_switches; i++)
- {
- const char *const *args;
diff --git a/meta/recipes-devtools/gcc/gcc/0009-cpp-honor-sysroot.patch b/meta/recipes-devtools/gcc/gcc/0006-cpp-honor-sysroot.patch
index 8ad6853d81..e0d6aea46b 100644
--- a/meta/recipes-devtools/gcc/gcc/0009-cpp-honor-sysroot.patch
+++ b/meta/recipes-devtools/gcc/gcc/0006-cpp-honor-sysroot.patch
@@ -1,4 +1,4 @@
-From 1d76de7f1f5c99f1fa1a4b14aedad3d702e4e136 Mon Sep 17 00:00:00 2001
+From 970960876045c99011658836f385c6f4d6d78fa6 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Fri, 29 Mar 2013 09:22:00 +0400
Subject: [PATCH] cpp: honor sysroot.
@@ -17,31 +17,33 @@ The fix below adds %I to the cpp-output spec macro so the default substitutions
RP 2012/04/13
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
+Upstream-Status: Inappropriate [embedded specific]
-Upstream-Status: Pending
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
gcc/cp/lang-specs.h | 2 +-
- gcc/gcc.c | 2 +-
+ gcc/gcc.cc | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/gcc/cp/lang-specs.h b/gcc/cp/lang-specs.h
-index 0ad4a33b93e..16c744f4f90 100644
+index 7a7f5ff0ab5..fb3d88cdb11 100644
--- a/gcc/cp/lang-specs.h
+++ b/gcc/cp/lang-specs.h
-@@ -66,5 +66,5 @@ along with GCC; see the file COPYING3. If not see
+@@ -116,7 +116,7 @@ along with GCC; see the file COPYING3. If not see
{".ii", "@c++-cpp-output", 0, 0, 0},
{"@c++-cpp-output",
"%{!E:%{!M:%{!MM:"
- " cc1plus -fpreprocessed %i %(cc1_options) %2"
+ " cc1plus -fpreprocessed %i %I %(cc1_options) %2"
- " %{!fsyntax-only:%(invoke_as)}}}}", 0, 0, 0},
-diff --git a/gcc/gcc.c b/gcc/gcc.c
-index 48b0f9dde81..c87f603955f 100644
---- a/gcc/gcc.c
-+++ b/gcc/gcc.c
-@@ -1348,7 +1348,7 @@ static const struct compiler default_compilers[] =
- %W{o*:--output-pch=%*}}%V}}}}}}}", 0, 0, 0},
+ " %{!fsyntax-only:"
+ " %{fmodule-only:%{!S:-o %g.s%V}}"
+ " %{!fmodule-only:%{!fmodule-header*:%(invoke_as)}}}"
+diff --git a/gcc/gcc.cc b/gcc/gcc.cc
+index 343e4915097..e3e9374d1cc 100644
+--- a/gcc/gcc.cc
++++ b/gcc/gcc.cc
+@@ -1487,7 +1487,7 @@ static const struct compiler default_compilers[] =
+ %W{o*:--output-pch %w%*}}%{!S:%V}}}}}}}}", 0, 0, 0},
{".i", "@cpp-output", 0, 0, 0},
{"@cpp-output",
- "%{!M:%{!MM:%{!E:cc1 -fpreprocessed %i %(cc1_options) %{!fsyntax-only:%(invoke_as)}}}}", 0, 0, 0},
diff --git a/meta/recipes-devtools/gcc/gcc/0011-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch b/meta/recipes-devtools/gcc/gcc/0007-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch
index e357976330..eacdbd1dbe 100644
--- a/meta/recipes-devtools/gcc/gcc/0011-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch
+++ b/meta/recipes-devtools/gcc/gcc/0007-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch
@@ -1,4 +1,4 @@
-From 8fc016a53c22c19feccbfa13ebdf19090dc67058 Mon Sep 17 00:00:00 2001
+From bce0b7e2e130a069a93c839b856aa19b64d5ca54 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Fri, 29 Mar 2013 09:24:50 +0400
Subject: [PATCH] Define GLIBC_DYNAMIC_LINKER and UCLIBC_DYNAMIC_LINKER
@@ -12,26 +12,48 @@ SH, sparc, alpha for possible future support (if any)
Removes the do_headerfix task in metadata
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
-
Upstream-Status: Inappropriate [OE configuration]
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
- gcc/config/alpha/linux-elf.h | 4 ++--
- gcc/config/arm/linux-eabi.h | 4 ++--
- gcc/config/arm/linux-elf.h | 2 +-
- gcc/config/i386/linux.h | 2 +-
- gcc/config/i386/linux64.h | 6 +++---
- gcc/config/linux.h | 8 ++++----
- gcc/config/mips/linux.h | 12 ++++++------
- gcc/config/riscv/linux.h | 2 +-
- gcc/config/rs6000/linux64.h | 15 +++++----------
- gcc/config/sh/linux.h | 2 +-
- gcc/config/sparc/linux.h | 2 +-
- gcc/config/sparc/linux64.h | 4 ++--
- 12 files changed, 29 insertions(+), 34 deletions(-)
+ gcc/config/aarch64/aarch64-linux.h | 4 ++--
+ gcc/config/alpha/linux-elf.h | 4 ++--
+ gcc/config/arm/linux-eabi.h | 6 +++---
+ gcc/config/arm/linux-elf.h | 2 +-
+ gcc/config/i386/linux.h | 4 ++--
+ gcc/config/i386/linux64.h | 12 ++++++------
+ gcc/config/linux.h | 8 ++++----
+ gcc/config/loongarch/gnu-user.h | 4 ++--
+ gcc/config/microblaze/linux.h | 4 ++--
+ gcc/config/mips/linux.h | 18 +++++++++---------
+ gcc/config/nios2/linux.h | 4 ++--
+ gcc/config/riscv/linux.h | 4 ++--
+ gcc/config/rs6000/linux64.h | 15 +++++----------
+ gcc/config/rs6000/sysv4.h | 4 ++--
+ gcc/config/s390/linux.h | 8 ++++----
+ gcc/config/sh/linux.h | 4 ++--
+ gcc/config/sparc/linux.h | 2 +-
+ gcc/config/sparc/linux64.h | 4 ++--
+ 18 files changed, 53 insertions(+), 58 deletions(-)
+diff --git a/gcc/config/aarch64/aarch64-linux.h b/gcc/config/aarch64/aarch64-linux.h
+index 8e51c8202cc..732e4f4a477 100644
+--- a/gcc/config/aarch64/aarch64-linux.h
++++ b/gcc/config/aarch64/aarch64-linux.h
+@@ -21,10 +21,10 @@
+ #ifndef GCC_AARCH64_LINUX_H
+ #define GCC_AARCH64_LINUX_H
+
+-#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux-aarch64%{mbig-endian:_be}%{mabi=ilp32:_ilp32}.so.1"
++#define GLIBC_DYNAMIC_LINKER SYSTEMLIBS_DIR "ld-linux-aarch64%{mbig-endian:_be}%{mabi=ilp32:_ilp32}.so.1"
+
+ #undef MUSL_DYNAMIC_LINKER
+-#define MUSL_DYNAMIC_LINKER "/lib/ld-musl-aarch64%{mbig-endian:_be}%{mabi=ilp32:_ilp32}.so.1"
++#define MUSL_DYNAMIC_LINKER SYSTEMLIBS_DIR "ld-musl-aarch64%{mbig-endian:_be}%{mabi=ilp32:_ilp32}.so.1"
+
+ #undef ASAN_CC1_SPEC
+ #define ASAN_CC1_SPEC "%{%:sanitize(address):-funwind-tables}"
diff --git a/gcc/config/alpha/linux-elf.h b/gcc/config/alpha/linux-elf.h
-index e25fcac3c59..01aca0c6542 100644
+index 40ccf0bd9b4..ab5c59655fc 100644
--- a/gcc/config/alpha/linux-elf.h
+++ b/gcc/config/alpha/linux-elf.h
@@ -23,8 +23,8 @@ along with GCC; see the file COPYING3. If not see
@@ -46,10 +68,10 @@ index e25fcac3c59..01aca0c6542 100644
#define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:" G ";:" U "}"
#elif DEFAULT_LIBC == LIBC_GLIBC
diff --git a/gcc/config/arm/linux-eabi.h b/gcc/config/arm/linux-eabi.h
-index 5bdcfa0c5d3..0c0332f317f 100644
+index eef791f6a02..335cb4c3607 100644
--- a/gcc/config/arm/linux-eabi.h
+++ b/gcc/config/arm/linux-eabi.h
-@@ -65,8 +65,8 @@
+@@ -62,8 +62,8 @@
GLIBC_DYNAMIC_LINKER_DEFAULT and TARGET_DEFAULT_FLOAT_ABI. */
#undef GLIBC_DYNAMIC_LINKER
@@ -60,8 +82,17 @@ index 5bdcfa0c5d3..0c0332f317f 100644
#define GLIBC_DYNAMIC_LINKER_DEFAULT GLIBC_DYNAMIC_LINKER_SOFT_FLOAT
#define GLIBC_DYNAMIC_LINKER \
+@@ -86,7 +86,7 @@
+ #define MUSL_DYNAMIC_LINKER_E "%{mbig-endian:eb}"
+ #endif
+ #define MUSL_DYNAMIC_LINKER \
+- "/lib/ld-musl-arm" MUSL_DYNAMIC_LINKER_E "%{mfloat-abi=hard:hf}%{mfdpic:-fdpic}.so.1"
++ SYSTEMLIBS_DIR "ld-musl-arm" MUSL_DYNAMIC_LINKER_E "%{mfloat-abi=hard:hf}%{mfdpic:-fdpic}.so.1"
+
+ /* At this point, bpabi.h will have clobbered LINK_SPEC. We want to
+ use the GNU/Linux version, not the generic BPABI version. */
diff --git a/gcc/config/arm/linux-elf.h b/gcc/config/arm/linux-elf.h
-index 0ec3aa53189..abfa9566d74 100644
+index ccae8abf6f6..ea421d03891 100644
--- a/gcc/config/arm/linux-elf.h
+++ b/gcc/config/arm/linux-elf.h
@@ -60,7 +60,7 @@
@@ -74,7 +105,7 @@ index 0ec3aa53189..abfa9566d74 100644
#define LINUX_TARGET_LINK_SPEC "%{h*} \
%{static:-Bstatic} \
diff --git a/gcc/config/i386/linux.h b/gcc/config/i386/linux.h
-index 9f823f125ed..e0390b7d5e3 100644
+index 20a96d56e65..7a7a4f873e4 100644
--- a/gcc/config/i386/linux.h
+++ b/gcc/config/i386/linux.h
@@ -20,7 +20,7 @@ along with GCC; see the file COPYING3. If not see
@@ -85,12 +116,13 @@ index 9f823f125ed..e0390b7d5e3 100644
+#define GLIBC_DYNAMIC_LINKER SYSTEMLIBS_DIR "ld-linux.so.2"
#undef MUSL_DYNAMIC_LINKER
- #define MUSL_DYNAMIC_LINKER "/lib/ld-musl-i386.so.1"
+-#define MUSL_DYNAMIC_LINKER "/lib/ld-musl-i386.so.1"
++#define MUSL_DYNAMIC_LINKER SYSTEMLIBS_DIR "ld-musl-i386.so.1"
diff --git a/gcc/config/i386/linux64.h b/gcc/config/i386/linux64.h
-index 6cb68d1ccfa..7de09ec857c 100644
+index 3dd23eef5e5..960cd7c0450 100644
--- a/gcc/config/i386/linux64.h
+++ b/gcc/config/i386/linux64.h
-@@ -27,9 +27,9 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
+@@ -27,13 +27,13 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#define GNU_USER_LINK_EMULATION64 "elf_x86_64"
#define GNU_USER_LINK_EMULATIONX32 "elf32_x86_64"
@@ -102,12 +134,19 @@ index 6cb68d1ccfa..7de09ec857c 100644
+#define GLIBC_DYNAMIC_LINKERX32 SYSTEMLIBS_DIR "ld-linux-x32.so.2"
#undef MUSL_DYNAMIC_LINKER32
- #define MUSL_DYNAMIC_LINKER32 "/lib/ld-musl-i386.so.1"
+-#define MUSL_DYNAMIC_LINKER32 "/lib/ld-musl-i386.so.1"
++#define MUSL_DYNAMIC_LINKER32 SYSTEMLIBS_DIR "ld-musl-i386.so.1"
+ #undef MUSL_DYNAMIC_LINKER64
+-#define MUSL_DYNAMIC_LINKER64 "/lib/ld-musl-x86_64.so.1"
++#define MUSL_DYNAMIC_LINKER64 SYSTEMLIBS_DIR "ld-musl-x86_64.so.1"
+ #undef MUSL_DYNAMIC_LINKERX32
+-#define MUSL_DYNAMIC_LINKERX32 "/lib/ld-musl-x32.so.1"
++#define MUSL_DYNAMIC_LINKERX32 SYSTEMLIBS_DIR "ld-musl-x32.so.1"
diff --git a/gcc/config/linux.h b/gcc/config/linux.h
-index 95654bcdb5a..0c1a8118a26 100644
+index a7248ac90d0..e36f32bf59e 100644
--- a/gcc/config/linux.h
+++ b/gcc/config/linux.h
-@@ -94,10 +94,10 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
+@@ -86,10 +86,10 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
GLIBC_DYNAMIC_LINKER must be defined for each target using them, or
GLIBC_DYNAMIC_LINKER32 and GLIBC_DYNAMIC_LINKER64 for targets
supporting both 32-bit and 64-bit compilation. */
@@ -122,11 +161,55 @@ index 95654bcdb5a..0c1a8118a26 100644
#define BIONIC_DYNAMIC_LINKER "/system/bin/linker"
#define BIONIC_DYNAMIC_LINKER32 "/system/bin/linker"
#define BIONIC_DYNAMIC_LINKER64 "/system/bin/linker64"
+diff --git a/gcc/config/loongarch/gnu-user.h b/gcc/config/loongarch/gnu-user.h
+index e5d84e180e3..98cb49c189f 100644
+--- a/gcc/config/loongarch/gnu-user.h
++++ b/gcc/config/loongarch/gnu-user.h
+@@ -31,7 +31,7 @@ along with GCC; see the file COPYING3. If not see
+
+ #undef GLIBC_DYNAMIC_LINKER
+ #define GLIBC_DYNAMIC_LINKER \
+- "/lib" ABI_GRLEN_SPEC "/ld-linux-loongarch-" ABI_SPEC ".so.1"
++ SYSTEMLIBS_DIR "ld-linux-loongarch-" ABI_SPEC ".so.1"
+
+ #define MUSL_ABI_SPEC \
+ "%{mabi=lp64d:}" \
+@@ -40,7 +40,7 @@ along with GCC; see the file COPYING3. If not see
+
+ #undef MUSL_DYNAMIC_LINKER
+ #define MUSL_DYNAMIC_LINKER \
+- "/lib/ld-musl-loongarch" ABI_GRLEN_SPEC MUSL_ABI_SPEC ".so.1"
++ SYSTEMLIBS_DIR "ld-musl-loongarch" ABI_GRLEN_SPEC MUSL_ABI_SPEC ".so.1"
+
+ #undef GNU_USER_TARGET_LINK_SPEC
+ #define GNU_USER_TARGET_LINK_SPEC \
+diff --git a/gcc/config/microblaze/linux.h b/gcc/config/microblaze/linux.h
+index 5ed8ee518be..5553e7cac21 100644
+--- a/gcc/config/microblaze/linux.h
++++ b/gcc/config/microblaze/linux.h
+@@ -28,7 +28,7 @@
+ #undef TLS_NEEDS_GOT
+ #define TLS_NEEDS_GOT 1
+
+-#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
++#define GLIBC_DYNAMIC_LINKER SYSTEMLIBS_DIR "/ld.so.1"
+ #define UCLIBC_DYNAMIC_LINKER "/lib/ld-uClibc.so.0"
+
+ #if TARGET_BIG_ENDIAN_DEFAULT == 0 /* LE */
+@@ -38,7 +38,7 @@
+ #endif
+
+ #undef MUSL_DYNAMIC_LINKER
+-#define MUSL_DYNAMIC_LINKER "/lib/ld-musl-microblaze" MUSL_DYNAMIC_LINKER_E ".so.1"
++#define MUSL_DYNAMIC_LINKER SYSTEMLIBS_DIR "ld-musl-microblaze" MUSL_DYNAMIC_LINKER_E ".so.1"
+
+ #undef SUBTARGET_EXTRA_SPECS
+ #define SUBTARGET_EXTRA_SPECS \
diff --git a/gcc/config/mips/linux.h b/gcc/config/mips/linux.h
-index 54446e58e5f..4786ee304c1 100644
+index 8d098dd2f44..1c5ebbd26d5 100644
--- a/gcc/config/mips/linux.h
+++ b/gcc/config/mips/linux.h
-@@ -22,20 +22,20 @@ along with GCC; see the file COPYING3. If not see
+@@ -22,29 +22,29 @@ along with GCC; see the file COPYING3. If not see
#define GNU_USER_LINK_EMULATIONN32 "elf32%{EB:b}%{EL:l}tsmipn32"
#define GLIBC_DYNAMIC_LINKER32 \
@@ -153,8 +236,37 @@ index 54446e58e5f..4786ee304c1 100644
#undef MUSL_DYNAMIC_LINKER32
#define MUSL_DYNAMIC_LINKER32 \
+- "/lib/ld-musl-mips%{mips32r6|mips64r6:r6}%{EL:el}%{msoft-float:-sf}.so.1"
++ SYSTEMLIBS_DIR "ld-musl-mips%{mips32r6|mips64r6:r6}%{EL:el}%{msoft-float:-sf}.so.1"
+ #undef MUSL_DYNAMIC_LINKER64
+ #define MUSL_DYNAMIC_LINKER64 \
+- "/lib/ld-musl-mips64%{mips64r6:r6}%{EL:el}%{msoft-float:-sf}.so.1"
++ SYSTEMLIBS_DIR "ld-musl-mips64%{mips64r6:r6}%{EL:el}%{msoft-float:-sf}.so.1"
+ #define MUSL_DYNAMIC_LINKERN32 \
+- "/lib/ld-musl-mipsn32%{mips64r6:r6}%{EL:el}%{msoft-float:-sf}.so.1"
++ SYSTEMLIBS_DIR "ld-musl-mipsn32%{mips64r6:r6}%{EL:el}%{msoft-float:-sf}.so.1"
+
+ #define BIONIC_DYNAMIC_LINKERN32 "/system/bin/linker32"
+ #define GNU_USER_DYNAMIC_LINKERN32 \
+diff --git a/gcc/config/nios2/linux.h b/gcc/config/nios2/linux.h
+index 06c442e85f4..b21a3c076c9 100644
+--- a/gcc/config/nios2/linux.h
++++ b/gcc/config/nios2/linux.h
+@@ -29,10 +29,10 @@
+ #undef CPP_SPEC
+ #define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}"
+
+-#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux-nios2.so.1"
++#define GLIBC_DYNAMIC_LINKER SYSTEMLIBS_DIR "ld-linux-nios2.so.1"
+
+ #undef MUSL_DYNAMIC_LINKER
+-#define MUSL_DYNAMIC_LINKER "/lib/ld-musl-nios2.so.1"
++#define MUSL_DYNAMIC_LINKER SYSTEMLIBS_DIR "ld-musl-nios2.so.1"
+
+ #undef LINK_SPEC
+ #define LINK_SPEC LINK_SPEC_ENDIAN \
diff --git a/gcc/config/riscv/linux.h b/gcc/config/riscv/linux.h
-index 4afef7c228c..01997330741 100644
+index 15851f653bc..d8aaab9631f 100644
--- a/gcc/config/riscv/linux.h
+++ b/gcc/config/riscv/linux.h
@@ -22,7 +22,7 @@ along with GCC; see the file COPYING3. If not see
@@ -166,11 +278,20 @@ index 4afef7c228c..01997330741 100644
#define MUSL_ABI_SUFFIX \
"%{mabi=ilp32:-sf}" \
+@@ -33,7 +33,7 @@ along with GCC; see the file COPYING3. If not see
+ "%{mabi=lp64d:}"
+
+ #undef MUSL_DYNAMIC_LINKER
+-#define MUSL_DYNAMIC_LINKER "/lib/ld-musl-riscv" XLEN_SPEC MUSL_ABI_SUFFIX ".so.1"
++#define MUSL_DYNAMIC_LINKER SYSTEMLIBS_DIR "ld-musl-riscv" XLEN_SPEC MUSL_ABI_SUFFIX ".so.1"
+
+ #define ICACHE_FLUSH_FUNC "__riscv_flush_icache"
+
diff --git a/gcc/config/rs6000/linux64.h b/gcc/config/rs6000/linux64.h
-index 34776c8421e..967c1c43c63 100644
+index 655d1054d76..a11ae7643b7 100644
--- a/gcc/config/rs6000/linux64.h
+++ b/gcc/config/rs6000/linux64.h
-@@ -419,24 +419,19 @@ extern int dot_symbols;
+@@ -340,24 +340,19 @@ extern int dot_symbols;
#undef LINK_OS_DEFAULT_SPEC
#define LINK_OS_DEFAULT_SPEC "%(link_os_linux)"
@@ -200,12 +321,55 @@ index 34776c8421e..967c1c43c63 100644
#undef DEFAULT_ASM_ENDIAN
#if (TARGET_DEFAULT & MASK_LITTLE_ENDIAN)
+diff --git a/gcc/config/rs6000/sysv4.h b/gcc/config/rs6000/sysv4.h
+index bcafa9d0cf4..8fda952e69c 100644
+--- a/gcc/config/rs6000/sysv4.h
++++ b/gcc/config/rs6000/sysv4.h
+@@ -771,10 +771,10 @@ GNU_USER_TARGET_CC1_SPEC
+
+ #define MUSL_DYNAMIC_LINKER_E ENDIAN_SELECT("","le","")
+
+-#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
++#define GLIBC_DYNAMIC_LINKER SYSTEMLIBS_DIR "ld.so.1"
+ #undef MUSL_DYNAMIC_LINKER
+ #define MUSL_DYNAMIC_LINKER \
+- "/lib/ld-musl-powerpc" MUSL_DYNAMIC_LINKER_E "%{msoft-float:-sf}.so.1"
++ SYSTEMLIBS_DIR "ld-musl-powerpc" MUSL_DYNAMIC_LINKER_E "%{msoft-float:-sf}.so.1"
+
+ #ifndef GNU_USER_DYNAMIC_LINKER
+ #define GNU_USER_DYNAMIC_LINKER GLIBC_DYNAMIC_LINKER
+diff --git a/gcc/config/s390/linux.h b/gcc/config/s390/linux.h
+index 83ea2f669a0..bc7cffbad3f 100644
+--- a/gcc/config/s390/linux.h
++++ b/gcc/config/s390/linux.h
+@@ -72,13 +72,13 @@ along with GCC; see the file COPYING3. If not see
+ #define MULTILIB_DEFAULTS { "m31" }
+ #endif
+
+-#define GLIBC_DYNAMIC_LINKER32 "/lib/ld.so.1"
+-#define GLIBC_DYNAMIC_LINKER64 "/lib/ld64.so.1"
++#define GLIBC_DYNAMIC_LINKER32 SYSTEMLIBS_DIR "ld.so.1"
++#define GLIBC_DYNAMIC_LINKER64 SYSTEMLIBS_DIR "ld64.so.1"
+
+ #undef MUSL_DYNAMIC_LINKER32
+-#define MUSL_DYNAMIC_LINKER32 "/lib/ld-musl-s390.so.1"
++#define MUSL_DYNAMIC_LINKER32 SYSTEMLIBS_DIR "ld-musl-s390.so.1"
+ #undef MUSL_DYNAMIC_LINKER64
+-#define MUSL_DYNAMIC_LINKER64 "/lib/ld-musl-s390x.so.1"
++#define MUSL_DYNAMIC_LINKER64 SYSTEMLIBS_DIR "ld-musl-s390x.so.1"
+
+ #undef LINK_SPEC
+ #define LINK_SPEC \
diff --git a/gcc/config/sh/linux.h b/gcc/config/sh/linux.h
-index c1d0441d488..81373eb8336 100644
+index 34cbbed633f..14000d3394c 100644
--- a/gcc/config/sh/linux.h
+++ b/gcc/config/sh/linux.h
-@@ -64,7 +64,7 @@ along with GCC; see the file COPYING3. If not see
- "/lib/ld-musl-sh" MUSL_DYNAMIC_LINKER_E MUSL_DYNAMIC_LINKER_FP \
+@@ -61,10 +61,10 @@ along with GCC; see the file COPYING3. If not see
+
+ #undef MUSL_DYNAMIC_LINKER
+ #define MUSL_DYNAMIC_LINKER \
+- "/lib/ld-musl-sh" MUSL_DYNAMIC_LINKER_E MUSL_DYNAMIC_LINKER_FP \
++ SYSTEMLIBS_DIR "ld-musl-sh" MUSL_DYNAMIC_LINKER_E MUSL_DYNAMIC_LINKER_FP \
"%{mfdpic:-fdpic}.so.1"
-#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
@@ -214,10 +378,10 @@ index c1d0441d488..81373eb8336 100644
#undef SUBTARGET_LINK_EMUL_SUFFIX
#define SUBTARGET_LINK_EMUL_SUFFIX "%{mfdpic:_fd;:_linux}"
diff --git a/gcc/config/sparc/linux.h b/gcc/config/sparc/linux.h
-index 81201e67a2f..8b6fc577594 100644
+index 9646fa9c41e..396fb047fac 100644
--- a/gcc/config/sparc/linux.h
+++ b/gcc/config/sparc/linux.h
-@@ -84,7 +84,7 @@ extern const char *host_detect_local_cpu (int argc, const char **argv);
+@@ -78,7 +78,7 @@ extern const char *host_detect_local_cpu (int argc, const char **argv);
When the -shared link option is used a final link is not being
done. */
@@ -227,10 +391,10 @@ index 81201e67a2f..8b6fc577594 100644
#undef LINK_SPEC
#define LINK_SPEC "-m elf32_sparc %{shared:-shared} \
diff --git a/gcc/config/sparc/linux64.h b/gcc/config/sparc/linux64.h
-index a1a0efd8f28..85d1084afc2 100644
+index 1e2e4aef2ad..25fcc37eca2 100644
--- a/gcc/config/sparc/linux64.h
+++ b/gcc/config/sparc/linux64.h
-@@ -84,8 +84,8 @@ along with GCC; see the file COPYING3. If not see
+@@ -78,8 +78,8 @@ along with GCC; see the file COPYING3. If not see
When the -shared link option is used a final link is not being
done. */
diff --git a/meta/recipes-devtools/gcc/gcc/0008-fortran-cross-compile-hack.patch b/meta/recipes-devtools/gcc/gcc/0008-fortran-cross-compile-hack.patch
deleted file mode 100644
index 714db3bef5..0000000000
--- a/meta/recipes-devtools/gcc/gcc/0008-fortran-cross-compile-hack.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-From f05062625e7a4751be723595a2f7a4b7fbeff311 Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Fri, 29 Mar 2013 09:20:01 +0400
-Subject: [PATCH] fortran cross-compile hack.
-
-* Fortran would have searched for arm-angstrom-gnueabi-gfortran but would have used
-used gfortan. For gcc_4.2.2.bb we want to use the gfortran compiler from our cross
-directory.
-
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
-
-Upstream-Status: Inappropriate [embedded specific]
----
- libgfortran/configure | 2 +-
- libgfortran/configure.ac | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/libgfortran/configure b/libgfortran/configure
-index b4cf854ddb3..e8e0ac3b1cf 100755
---- a/libgfortran/configure
-+++ b/libgfortran/configure
-@@ -13090,7 +13090,7 @@ esac
-
- # We need gfortran to compile parts of the library
- #AC_PROG_FC(gfortran)
--FC="$GFORTRAN"
-+#FC="$GFORTRAN"
- ac_ext=${ac_fc_srcext-f}
- ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
- ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
-diff --git a/libgfortran/configure.ac b/libgfortran/configure.ac
-index 711dc60ff78..3c9bbfbf47d 100644
---- a/libgfortran/configure.ac
-+++ b/libgfortran/configure.ac
-@@ -258,7 +258,7 @@ AC_SUBST(enable_static)
-
- # We need gfortran to compile parts of the library
- #AC_PROG_FC(gfortran)
--FC="$GFORTRAN"
-+#FC="$GFORTRAN"
- AC_PROG_FC(gfortran)
-
- # extra LD Flags which are required for targets
diff --git a/meta/recipes-devtools/gcc/gcc/0014-libtool.patch b/meta/recipes-devtools/gcc/gcc/0008-libtool.patch
index f4e70c3b18..9b78377493 100644
--- a/meta/recipes-devtools/gcc/gcc/0014-libtool.patch
+++ b/meta/recipes-devtools/gcc/gcc/0008-libtool.patch
@@ -1,4 +1,4 @@
-From 6ecd478881468934444ff85611fd43f7033b1e81 Mon Sep 17 00:00:00 2001
+From 869295f6f1095b6334c1ea34f8d11a676c67e256 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Fri, 29 Mar 2013 09:29:11 +0400
Subject: [PATCH] libtool
@@ -15,9 +15,8 @@ to filter the zero case.
RP 2012/8/24
+Upstream-Status: Submitted [https://lists.gnu.org/archive/html/libtool-patches/2023-04/msg00000.html]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-
-Upstream-Status: Pending
---
ltmain.sh | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/meta/recipes-devtools/gcc/gcc/0015-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch b/meta/recipes-devtools/gcc/gcc/0009-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch
index bc2674abcc..3e24e53d7b 100644
--- a/meta/recipes-devtools/gcc/gcc/0015-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch
+++ b/meta/recipes-devtools/gcc/gcc/0009-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch
@@ -1,4 +1,4 @@
-From de4427fa49c07dc651ee6ceaf5c5078700ca3b08 Mon Sep 17 00:00:00 2001
+From 19279e08417124b4567fafdf9300b779ce1a1e1c Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Fri, 29 Mar 2013 09:30:32 +0400
Subject: [PATCH] gcc: armv4: pass fix-v4bx to linker to support EABI.
@@ -11,20 +11,19 @@ for eabi defaulting toolchains.
We might want to send it upstream.
+Upstream-Status: Submitted [https://gcc.gnu.org/pipermail/gcc-patches/2023-April/615319.html]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-
-Upstream-Status: Pending
---
gcc/config/arm/linux-eabi.h | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/gcc/config/arm/linux-eabi.h b/gcc/config/arm/linux-eabi.h
-index 0c0332f317f..7b3769e8459 100644
+index 335cb4c3607..1d5235075cb 100644
--- a/gcc/config/arm/linux-eabi.h
+++ b/gcc/config/arm/linux-eabi.h
-@@ -91,10 +91,14 @@
+@@ -88,10 +88,14 @@
#define MUSL_DYNAMIC_LINKER \
- "/lib/ld-musl-arm" MUSL_DYNAMIC_LINKER_E "%{mfloat-abi=hard:hf}%{mfdpic:-fdpic}.so.1"
+ SYSTEMLIBS_DIR "ld-musl-arm" MUSL_DYNAMIC_LINKER_E "%{mfloat-abi=hard:hf}%{mfdpic:-fdpic}.so.1"
+/* For armv4 we pass --fix-v4bx to linker to support EABI */
+#undef TARGET_FIX_V4BX_SPEC
diff --git a/meta/recipes-devtools/gcc/gcc/0010-MIPS64-Default-to-N64-ABI.patch b/meta/recipes-devtools/gcc/gcc/0010-MIPS64-Default-to-N64-ABI.patch
deleted file mode 100644
index 625e2d8709..0000000000
--- a/meta/recipes-devtools/gcc/gcc/0010-MIPS64-Default-to-N64-ABI.patch
+++ /dev/null
@@ -1,54 +0,0 @@
-From 4fad4433c96bc9d0d9d124f9674fb3389f6f426e Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Fri, 29 Mar 2013 09:23:08 +0400
-Subject: [PATCH] MIPS64: Default to N64 ABI
-
-MIPS64 defaults to n32 ABI, this patch makes it
-so that it defaults to N64 ABI
-
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
-
-Upstream-Status: Inappropriate [OE config specific]
----
- gcc/config.gcc | 10 +++++-----
- 1 file changed, 5 insertions(+), 5 deletions(-)
-
-diff --git a/gcc/config.gcc b/gcc/config.gcc
-index cf1a87e2efd..37c4221a39f 100644
---- a/gcc/config.gcc
-+++ b/gcc/config.gcc
-@@ -2511,29 +2511,29 @@ mips*-*-linux*) # Linux MIPS, either endian.
- default_mips_arch=mips32
- ;;
- mips64el-st-linux-gnu)
-- default_mips_abi=n32
-+ default_mips_abi=64
- tm_file="${tm_file} mips/st.h"
- tmake_file="${tmake_file} mips/t-st"
- enable_mips_multilibs="yes"
- ;;
- mips64octeon*-*-linux*)
-- default_mips_abi=n32
-+ default_mips_abi=64
- tm_defines="${tm_defines} MIPS_CPU_STRING_DEFAULT=\\\"octeon\\\""
- target_cpu_default=MASK_SOFT_FLOAT_ABI
- enable_mips_multilibs="yes"
- ;;
- mipsisa64r6*-*-linux*)
-- default_mips_abi=n32
-+ default_mips_abi=64
- default_mips_arch=mips64r6
- enable_mips_multilibs="yes"
- ;;
- mipsisa64r2*-*-linux*)
-- default_mips_abi=n32
-+ default_mips_abi=64
- default_mips_arch=mips64r2
- enable_mips_multilibs="yes"
- ;;
- mips64*-*-linux* | mipsisa64*-*-linux*)
-- default_mips_abi=n32
-+ default_mips_abi=64
- enable_mips_multilibs="yes"
- ;;
- esac
diff --git a/meta/recipes-devtools/gcc/gcc/0016-Use-the-multilib-config-files-from-B-instead-of-usin.patch b/meta/recipes-devtools/gcc/gcc/0010-Use-the-multilib-config-files-from-B-instead-of-usin.patch
index 1dc4bb859a..c3484360ee 100644
--- a/meta/recipes-devtools/gcc/gcc/0016-Use-the-multilib-config-files-from-B-instead-of-usin.patch
+++ b/meta/recipes-devtools/gcc/gcc/0010-Use-the-multilib-config-files-from-B-instead-of-usin.patch
@@ -1,4 +1,4 @@
-From 6b363c2c1c089ee900efa6013aefba1003840a37 Mon Sep 17 00:00:00 2001
+From 7e5706e74643d8bf78b117620849e546a31295c5 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Fri, 29 Mar 2013 09:33:04 +0400
Subject: [PATCH] Use the multilib config files from ${B} instead of using the
@@ -18,10 +18,10 @@ Upstream-Status: Inappropriate [configuration]
2 files changed, 36 insertions(+), 8 deletions(-)
diff --git a/gcc/configure b/gcc/configure
-index 6080f86145e..825a9652329 100755
+index 3870d6e9b6d..07a0b8571d2 100755
--- a/gcc/configure
+++ b/gcc/configure
-@@ -12685,10 +12685,20 @@ done
+@@ -15135,10 +15135,20 @@ done
tmake_file_=
for f in ${tmake_file}
do
@@ -46,7 +46,7 @@ index 6080f86145e..825a9652329 100755
done
tmake_file="${tmake_file_}${omp_device_property_tmake_file}"
-@@ -12699,6 +12709,10 @@ tm_file_list="options.h"
+@@ -15149,6 +15159,10 @@ tm_file_list="options.h"
tm_include_list="options.h insn-constants.h"
for f in $tm_file; do
case $f in
@@ -58,10 +58,10 @@ index 6080f86145e..825a9652329 100755
f=`echo $f | sed 's/^..//'`
tm_file_list="${tm_file_list} $f"
diff --git a/gcc/configure.ac b/gcc/configure.ac
-index 42be5252778..6099eb3251f 100644
+index 15670de1706..fd96dd7ba49 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
-@@ -2118,10 +2118,20 @@ done
+@@ -2363,10 +2363,20 @@ done
tmake_file_=
for f in ${tmake_file}
do
@@ -86,7 +86,7 @@ index 42be5252778..6099eb3251f 100644
done
tmake_file="${tmake_file_}${omp_device_property_tmake_file}"
-@@ -2132,6 +2142,10 @@ tm_file_list="options.h"
+@@ -2377,6 +2387,10 @@ tm_file_list="options.h"
tm_include_list="options.h insn-constants.h"
for f in $tm_file; do
case $f in
diff --git a/meta/recipes-devtools/gcc/gcc/0011-aarch64-Fix-include-paths-when-S-B.patch b/meta/recipes-devtools/gcc/gcc/0011-aarch64-Fix-include-paths-when-S-B.patch
new file mode 100644
index 0000000000..8633f7c436
--- /dev/null
+++ b/meta/recipes-devtools/gcc/gcc/0011-aarch64-Fix-include-paths-when-S-B.patch
@@ -0,0 +1,67 @@
+From 0671715ae6d411b5d2d4c53fee42a6e9fe2562c2 Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Tue, 31 Jan 2023 22:03:38 -0800
+Subject: [PATCH] aarch64: Fix include paths when S != B
+
+aarch64.h gets copied into build directory when built out of tree, in
+this case build uses this file but does not find the includes inside it
+since they are not found in any of include paths specified in compiler
+cmdline.
+
+Fixes build errors like
+
+% g++ -c -isystem/mnt/b/yoe/master/build/tmp/work/x86_64-linux/gcc-cross-aarch64/13.0.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Wconditionally-supported -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I../../../../../../../work-shared/gcc-13.0.1-r0/gcc-b2ec2504af77b35e748067eeb846821d12a6b6b4/gcc -I../../../../../../../work-shared/gcc-13.0.1-r0/gcc-b2ec2504af77b35e748067eeb846821d12a6b6b4/gcc/build -I../../../../../../../work-shared/gcc-13.0.1-r0/gcc-b2ec2504af77b35e748067eeb846821d12a6b6b4/gcc/../include -I../../../../../../../work-shared/gcc-13.0.1-r0/gcc-b2ec2504af77b35e748067eeb846821d12a6b6b4/gcc/../libcpp/include -o build/gencheck.o ../../../../../../../work-shared/gcc-13.0.1-r0/gcc-b2ec2504af77b35e748067eeb846821d12a6b6b4/gcc/gencheck.cc
+In file included from ./tm.h:34,
+ from ../../../../../../../work-shared/gcc-13.0.1-r0/gcc-b2ec2504af77b35e748067eeb846821d12a6b6b4/gcc/gencheck.cc:23:
+./config/aarch64/aarch64.h:164:10: fatal error: aarch64-option-extensions.def: No such file or directory
+ 164 | #include "aarch64-option-extensions.def"
+ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+compilation terminated.
+
+See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105144
+
+Upstream-Status: Pending
+
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ gcc/config/aarch64/aarch64.h | 14 +++++++-------
+ 1 file changed, 7 insertions(+), 7 deletions(-)
+
+diff --git a/gcc/config/aarch64/aarch64.h b/gcc/config/aarch64/aarch64.h
+index 45e901cda64..591062d4b39 100644
+--- a/gcc/config/aarch64/aarch64.h
++++ b/gcc/config/aarch64/aarch64.h
+@@ -170,9 +170,9 @@ enum class aarch64_feature : unsigned char {
+ #define DEF_AARCH64_ISA_MODE(IDENT) IDENT,
+ #define AARCH64_OPT_EXTENSION(A, IDENT, C, D, E, F) IDENT,
+ #define AARCH64_ARCH(A, B, IDENT, D, E) IDENT,
+-#include "aarch64-isa-modes.def"
+-#include "aarch64-option-extensions.def"
+-#include "aarch64-arches.def"
++#include "config/aarch64/aarch64-isa-modes.def"
++#include "config/aarch64/aarch64-option-extensions.def"
++#include "config/aarch64/aarch64-arches.def"
+ };
+
+ /* Define unique flags for each of the above. */
+@@ -182,16 +182,16 @@ enum class aarch64_feature : unsigned char {
+ #define DEF_AARCH64_ISA_MODE(IDENT) HANDLE (IDENT)
+ #define AARCH64_OPT_EXTENSION(A, IDENT, C, D, E, F) HANDLE (IDENT)
+ #define AARCH64_ARCH(A, B, IDENT, D, E) HANDLE (IDENT)
+-#include "aarch64-isa-modes.def"
+-#include "aarch64-option-extensions.def"
+-#include "aarch64-arches.def"
++#include "config/aarch64/aarch64-isa-modes.def"
++#include "config/aarch64/aarch64-option-extensions.def"
++#include "config/aarch64/aarch64-arches.def"
+ #undef HANDLE
+
+ constexpr auto AARCH64_FL_SM_STATE = AARCH64_FL_SM_ON | AARCH64_FL_SM_OFF;
+
+ constexpr unsigned int AARCH64_NUM_ISA_MODES = (0
+ #define DEF_AARCH64_ISA_MODE(IDENT) + 1
+-#include "aarch64-isa-modes.def"
++#include "config/aarch64/aarch64-isa-modes.def"
+ );
+
+ /* The mask of all ISA modes. */
diff --git a/meta/recipes-devtools/gcc/gcc/0017-Avoid-using-libdir-from-.la-which-usually-points-to-.patch b/meta/recipes-devtools/gcc/gcc/0012-Avoid-using-libdir-from-.la-which-usually-points-to-.patch
index 05f12847e9..2f6ecd53bb 100644
--- a/meta/recipes-devtools/gcc/gcc/0017-Avoid-using-libdir-from-.la-which-usually-points-to-.patch
+++ b/meta/recipes-devtools/gcc/gcc/0012-Avoid-using-libdir-from-.la-which-usually-points-to-.patch
@@ -1,4 +1,4 @@
-From 08752c2f1d21553301bee5757c453c6a36cbe03c Mon Sep 17 00:00:00 2001
+From a40108180f552788bb321a853ed4d5f034866a48 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Fri, 20 Feb 2015 09:39:38 +0000
Subject: [PATCH] Avoid using libdir from .la which usually points to a host
diff --git a/meta/recipes-devtools/gcc/gcc/0012-gcc-Fix-argument-list-too-long-error.patch b/meta/recipes-devtools/gcc/gcc/0012-gcc-Fix-argument-list-too-long-error.patch
deleted file mode 100644
index 88e1715b5c..0000000000
--- a/meta/recipes-devtools/gcc/gcc/0012-gcc-Fix-argument-list-too-long-error.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From a22d1264049d29b90663cf5667049ae6f9b7a5ce Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Fri, 29 Mar 2013 09:26:37 +0400
-Subject: [PATCH] gcc: Fix argument list too long error.
-
-There would be an "Argument list too long" error when the
-build directory is longer than 200, this is caused by:
-
-headers=`echo $(PLUGIN_HEADERS) | tr ' ' '\012' | sort -u`
-
-The PLUGIN_HEADERS is too long before sort, so the "echo" can't handle
-it, use the $(sort list) of GNU make which can handle the too long list
-would fix the problem, the header would be short enough after sorted.
-The "tr ' ' '\012'" was used for translating the space to "\n", the
-$(sort list) doesn't need this.
-
-Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
-
-RP: gcc then added *.h and *.def additions to this list, breaking the original
-fix. Add the sort to the original gcc code, leaving the tr+sort to fix the original
-issue but include the new files too as reported by Zhuang <qiuguang.zqg@alibaba-inc.com>
-
-Upstream-Status: Pending
----
- gcc/Makefile.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/gcc/Makefile.in b/gcc/Makefile.in
-index a67d2cc18d6..480c9366418 100644
---- a/gcc/Makefile.in
-+++ b/gcc/Makefile.in
-@@ -3606,7 +3606,7 @@ install-plugin: installdirs lang.install-plugin s-header-vars install-gengtype
- # We keep the directory structure for files in config or c-family and .def
- # files. All other files are flattened to a single directory.
- $(mkinstalldirs) $(DESTDIR)$(plugin_includedir)
-- headers=`echo $(PLUGIN_HEADERS) $$(cd $(srcdir); echo *.h *.def) | tr ' ' '\012' | sort -u`; \
-+ headers=`echo $(sort $(PLUGIN_HEADERS)) $$(cd $(srcdir); echo *.h *.def) | tr ' ' '\012' | sort -u`; \
- srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`; \
- for file in $$headers; do \
- if [ -f $$file ] ; then \
diff --git a/meta/recipes-devtools/gcc/gcc/0013-Disable-sdt.patch b/meta/recipes-devtools/gcc/gcc/0013-Disable-sdt.patch
deleted file mode 100644
index 207cdb57af..0000000000
--- a/meta/recipes-devtools/gcc/gcc/0013-Disable-sdt.patch
+++ /dev/null
@@ -1,110 +0,0 @@
-From fa47586935a18ecfc2ad5586802e326e21741b7b Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Fri, 29 Mar 2013 09:28:10 +0400
-Subject: [PATCH] Disable sdt.
-
-We don't list dtrace in DEPENDS so we shouldn't be depending on this header.
-It may or may not exist from preivous builds though. To be determinstic, disable
-sdt.h usage always. This avoids build failures if the header is removed after configure
-but before libgcc is compiled for example.
-
-RP 2012/8/7
-
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
-
-Disable sdt for libstdc++-v3.
-
-Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
-
-Upstream-Status: Inappropriate [hack]
----
- gcc/configure | 12 ++++++------
- gcc/configure.ac | 18 +++++++++---------
- libstdc++-v3/configure | 6 +++---
- libstdc++-v3/configure.ac | 2 +-
- 4 files changed, 19 insertions(+), 19 deletions(-)
-
-diff --git a/gcc/configure b/gcc/configure
-index b26e8fc7fee..6080f86145e 100755
---- a/gcc/configure
-+++ b/gcc/configure
-@@ -29789,12 +29789,12 @@ fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/sdt.h in the target C library" >&5
- $as_echo_n "checking sys/sdt.h in the target C library... " >&6; }
- have_sys_sdt_h=no
--if test -f $target_header_dir/sys/sdt.h; then
-- have_sys_sdt_h=yes
--
--$as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
--
--fi
-+#if test -f $target_header_dir/sys/sdt.h; then
-+# have_sys_sdt_h=yes
-+#
-+#$as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
-+#
-+#fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_sys_sdt_h" >&5
- $as_echo "$have_sys_sdt_h" >&6; }
-
-diff --git a/gcc/configure.ac b/gcc/configure.ac
-index 26fa46802c7..42be5252778 100644
---- a/gcc/configure.ac
-+++ b/gcc/configure.ac
-@@ -6190,15 +6190,15 @@ fi
- AC_SUBST([enable_default_ssp])
-
- # Test for <sys/sdt.h> on the target.
--GCC_TARGET_TEMPLATE([HAVE_SYS_SDT_H])
--AC_MSG_CHECKING(sys/sdt.h in the target C library)
--have_sys_sdt_h=no
--if test -f $target_header_dir/sys/sdt.h; then
-- have_sys_sdt_h=yes
-- AC_DEFINE(HAVE_SYS_SDT_H, 1,
-- [Define if your target C library provides sys/sdt.h])
--fi
--AC_MSG_RESULT($have_sys_sdt_h)
-+#GCC_TARGET_TEMPLATE([HAVE_SYS_SDT_H])
-+#AC_MSG_CHECKING(sys/sdt.h in the target C library)
-+#have_sys_sdt_h=no
-+#if test -f $target_header_dir/sys/sdt.h; then
-+# have_sys_sdt_h=yes
-+# AC_DEFINE(HAVE_SYS_SDT_H, 1,
-+# [Define if your target C library provides sys/sdt.h])
-+#fi
-+#AC_MSG_RESULT($have_sys_sdt_h)
-
- # Check if TFmode long double should be used by default or not.
- # Some glibc targets used DFmode long double, but with glibc 2.4
-diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure
-index 9f9c5a2419a..71ed13b815b 100755
---- a/libstdc++-v3/configure
-+++ b/libstdc++-v3/configure
-@@ -22615,11 +22615,11 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
- ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
- ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-- if test $glibcxx_cv_sys_sdt_h = yes; then
-+# if test $glibcxx_cv_sys_sdt_h = yes; then
-
--$as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
-+#$as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
-
-- fi
-+# fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
- $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
-
-diff --git a/libstdc++-v3/configure.ac b/libstdc++-v3/configure.ac
-index 699e55fd829..5c7a7bda439 100644
---- a/libstdc++-v3/configure.ac
-+++ b/libstdc++-v3/configure.ac
-@@ -241,7 +241,7 @@ GLIBCXX_CHECK_SC_NPROCESSORS_ONLN
- GLIBCXX_CHECK_SC_NPROC_ONLN
- GLIBCXX_CHECK_PTHREADS_NUM_PROCESSORS_NP
- GLIBCXX_CHECK_SYSCTL_HW_NCPU
--GLIBCXX_CHECK_SDT_H
-+#GLIBCXX_CHECK_SDT_H
-
- # Check for available headers.
- AC_CHECK_HEADERS([endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
diff --git a/meta/recipes-devtools/gcc/gcc/0013-Ensure-target-gcc-headers-can-be-included.patch b/meta/recipes-devtools/gcc/gcc/0013-Ensure-target-gcc-headers-can-be-included.patch
new file mode 100644
index 0000000000..eb4f0b3045
--- /dev/null
+++ b/meta/recipes-devtools/gcc/gcc/0013-Ensure-target-gcc-headers-can-be-included.patch
@@ -0,0 +1,113 @@
+From 6ad8db533c7d53a85e6280da1ad88ed4077258fb Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Fri, 20 Feb 2015 10:25:11 +0000
+Subject: [PATCH] Ensure target gcc headers can be included
+
+There are a few headers installed as part of the OpenEmbedded
+gcc-runtime target (omp.h, ssp/*.h). Being installed from a recipe
+built for the target architecture, these are within the target
+sysroot and not cross/nativesdk; thus they weren't able to be
+found by gcc with the existing search paths. Add support for
+picking up these headers under the sysroot supplied on the gcc
+command line in order to resolve this.
+
+Extend target gcc headers search to musl too
+
+Upstream-Status: Inappropriate [embedded specific]
+
+Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ gcc/Makefile.in | 2 ++
+ gcc/config/linux.h | 8 ++++++++
+ gcc/config/rs6000/sysv4.h | 8 ++++++++
+ gcc/cppdefault.cc | 4 ++++
+ 4 files changed, 22 insertions(+)
+
+diff --git a/gcc/Makefile.in b/gcc/Makefile.in
+index 956437df95b..6a009c696e9 100644
+--- a/gcc/Makefile.in
++++ b/gcc/Makefile.in
+@@ -671,6 +671,7 @@ libexecdir = @libexecdir@
+
+ # Directory in which the compiler finds libraries etc.
+ libsubdir = $(libdir)/gcc/$(real_target_noncanonical)/$(version)$(accel_dir_suffix)
++libsubdir_target = $(target_noncanonical)/$(version)
+ # Directory in which the compiler finds executables
+ libexecsubdir = $(libexecdir)/gcc/$(real_target_noncanonical)/$(version)$(accel_dir_suffix)
+ # Directory in which all plugin resources are installed
+@@ -3199,6 +3200,7 @@ CFLAGS-intl.o += -DLOCALEDIR=\"$(localedir)\"
+
+ PREPROCESSOR_DEFINES = \
+ -DGCC_INCLUDE_DIR=\"$(libsubdir)/include\" \
++ -DGCC_INCLUDE_SUBDIR_TARGET=\"$(libsubdir_target)/include\" \
+ -DFIXED_INCLUDE_DIR=\"$(libsubdir)/include-fixed\" \
+ -DGPLUSPLUS_INCLUDE_DIR=\"$(gcc_gxx_include_dir)\" \
+ -DGPLUSPLUS_INCLUDE_DIR_ADD_SYSROOT=$(gcc_gxx_include_dir_add_sysroot) \
+diff --git a/gcc/config/linux.h b/gcc/config/linux.h
+index e36f32bf59e..c6aada42eb7 100644
+--- a/gcc/config/linux.h
++++ b/gcc/config/linux.h
+@@ -157,6 +157,13 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
+ #define INCLUDE_DEFAULTS_MUSL_TOOL
+ #endif
+
++#ifdef GCC_INCLUDE_SUBDIR_TARGET
++#define INCLUDE_DEFAULTS_MUSL_SUBDIR_TARGET \
++ { STANDARD_STARTFILE_PREFIX_2 GCC_INCLUDE_SUBDIR_TARGET, "GCC", 0, 0, 1, 0},
++#else
++#define INCLUDE_DEFAULTS_MUSL_SUBDIR_TARGET
++#endif
++
+ #ifdef NATIVE_SYSTEM_HEADER_DIR
+ #define INCLUDE_DEFAULTS_MUSL_NATIVE \
+ { NATIVE_SYSTEM_HEADER_DIR, 0, 0, 0, 1, 2 }, \
+@@ -183,6 +190,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
+ INCLUDE_DEFAULTS_MUSL_PREFIX \
+ INCLUDE_DEFAULTS_MUSL_CROSS \
+ INCLUDE_DEFAULTS_MUSL_TOOL \
++ INCLUDE_DEFAULTS_MUSL_SUBDIR_TARGET \
+ INCLUDE_DEFAULTS_MUSL_NATIVE \
+ { GCC_INCLUDE_DIR, "GCC", 0, 1, 0, 0 }, \
+ { 0, 0, 0, 0, 0, 0 } \
+diff --git a/gcc/config/rs6000/sysv4.h b/gcc/config/rs6000/sysv4.h
+index 8fda952e69c..247acec9d8e 100644
+--- a/gcc/config/rs6000/sysv4.h
++++ b/gcc/config/rs6000/sysv4.h
+@@ -986,6 +986,13 @@ ncrtn.o%s"
+ #define INCLUDE_DEFAULTS_MUSL_TOOL
+ #endif
+
++#ifdef GCC_INCLUDE_SUBDIR_TARGET
++#define INCLUDE_DEFAULTS_MUSL_SUBDIR_TARGET \
++ { STANDARD_STARTFILE_PREFIX_2 GCC_INCLUDE_SUBDIR_TARGET, "GCC", 0, 0, 1, 0},
++#else
++#define INCLUDE_DEFAULTS_MUSL_SUBDIR_TARGET
++#endif
++
+ #ifdef NATIVE_SYSTEM_HEADER_DIR
+ #define INCLUDE_DEFAULTS_MUSL_NATIVE \
+ { NATIVE_SYSTEM_HEADER_DIR, 0, 0, 0, 1, 2 }, \
+@@ -1012,6 +1019,7 @@ ncrtn.o%s"
+ INCLUDE_DEFAULTS_MUSL_PREFIX \
+ INCLUDE_DEFAULTS_MUSL_CROSS \
+ INCLUDE_DEFAULTS_MUSL_TOOL \
++ INCLUDE_DEFAULTS_MUSL_SUBDIR_TARGET \
+ INCLUDE_DEFAULTS_MUSL_NATIVE \
+ { GCC_INCLUDE_DIR, "GCC", 0, 1, 0, 0 }, \
+ { 0, 0, 0, 0, 0, 0 } \
+diff --git a/gcc/cppdefault.cc b/gcc/cppdefault.cc
+index f82b4badad7..98bd66f95c6 100644
+--- a/gcc/cppdefault.cc
++++ b/gcc/cppdefault.cc
+@@ -64,6 +64,10 @@ const struct default_include cpp_include_defaults[]
+ /* This is the dir for gcc's private headers. */
+ { GCC_INCLUDE_DIR, "GCC", 0, 0, 0, 0 },
+ #endif
++#ifdef GCC_INCLUDE_SUBDIR_TARGET
++ /* This is the dir for gcc's private headers under the specified sysroot. */
++ { STANDARD_STARTFILE_PREFIX_2 GCC_INCLUDE_SUBDIR_TARGET, "GCC", 0, 0, 1, 0 },
++#endif
+ #ifdef LOCAL_INCLUDE_DIR
+ /* /usr/local/include comes before the fixincluded header files. */
+ { LOCAL_INCLUDE_DIR, 0, 0, 1, 1, 2 },
diff --git a/meta/recipes-devtools/gcc/gcc/0020-Don-t-search-host-directory-during-relink-if-inst_pr.patch b/meta/recipes-devtools/gcc/gcc/0014-Don-t-search-host-directory-during-relink-if-inst_pr.patch
index c3baf8b451..a9cbc08f1a 100644
--- a/meta/recipes-devtools/gcc/gcc/0020-Don-t-search-host-directory-during-relink-if-inst_pr.patch
+++ b/meta/recipes-devtools/gcc/gcc/0014-Don-t-search-host-directory-during-relink-if-inst_pr.patch
@@ -1,4 +1,4 @@
-From 870e805d705d99d9b9d7dbd09727f9c1d2ad9c1d Mon Sep 17 00:00:00 2001
+From e0d53bf9d59438a1dce0774163fa8c41cf32f306 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Tue, 3 Mar 2015 08:21:19 +0000
Subject: [PATCH] Don't search host directory during "relink" if $inst_prefix
diff --git a/meta/recipes-devtools/gcc/gcc/0023-libcc1-fix-libcc1-s-install-path-and-rpath.patch b/meta/recipes-devtools/gcc/gcc/0015-libcc1-fix-libcc1-s-install-path-and-rpath.patch
index 80c4d2292c..8eb00287fc 100644
--- a/meta/recipes-devtools/gcc/gcc/0023-libcc1-fix-libcc1-s-install-path-and-rpath.patch
+++ b/meta/recipes-devtools/gcc/gcc/0015-libcc1-fix-libcc1-s-install-path-and-rpath.patch
@@ -1,4 +1,4 @@
-From 3474e16ad4ea8cf4e0e330568e3bc9039e723dce Mon Sep 17 00:00:00 2001
+From c2ea8aaa7b00c519c9c269c23ff840138ae491ac Mon Sep 17 00:00:00 2001
From: Robert Yang <liezhi.yang@windriver.com>
Date: Sun, 5 Jul 2015 20:25:18 -0700
Subject: [PATCH] libcc1: fix libcc1's install path and rpath
@@ -20,10 +20,10 @@ Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/libcc1/Makefile.am b/libcc1/Makefile.am
-index c005b0dad4a..ec31d35b7b9 100644
+index b592bc8645f..97e2b615fb7 100644
--- a/libcc1/Makefile.am
+++ b/libcc1/Makefile.am
-@@ -37,8 +37,8 @@ libiberty = $(if $(wildcard $(libiberty_noasan)),$(Wc)$(libiberty_noasan), \
+@@ -40,8 +40,8 @@ libiberty = $(if $(wildcard $(libiberty_noasan)),$(Wc)$(libiberty_noasan), \
$(Wc)$(libiberty_normal)))
libiberty_dep = $(patsubst $(Wc)%,%,$(libiberty))
@@ -35,10 +35,10 @@ index c005b0dad4a..ec31d35b7b9 100644
if ENABLE_PLUGIN
plugin_LTLIBRARIES = libcc1plugin.la libcp1plugin.la
diff --git a/libcc1/Makefile.in b/libcc1/Makefile.in
-index 7104b649026..2103c477468 100644
+index f8f590d71e9..56462492045 100644
--- a/libcc1/Makefile.in
+++ b/libcc1/Makefile.in
-@@ -393,8 +393,8 @@ libiberty = $(if $(wildcard $(libiberty_noasan)),$(Wc)$(libiberty_noasan), \
+@@ -396,8 +396,8 @@ libiberty = $(if $(wildcard $(libiberty_noasan)),$(Wc)$(libiberty_noasan), \
$(Wc)$(libiberty_normal)))
libiberty_dep = $(patsubst $(Wc)%,%,$(libiberty))
diff --git a/meta/recipes-devtools/gcc/gcc/0024-handle-sysroot-support-for-nativesdk-gcc.patch b/meta/recipes-devtools/gcc/gcc/0016-handle-sysroot-support-for-nativesdk-gcc.patch
index dc3e6da65a..82342b0532 100644
--- a/meta/recipes-devtools/gcc/gcc/0024-handle-sysroot-support-for-nativesdk-gcc.patch
+++ b/meta/recipes-devtools/gcc/gcc/0016-handle-sysroot-support-for-nativesdk-gcc.patch
@@ -1,4 +1,4 @@
-From 702daf2e9cb97337e0e594fcd435b1b61a917d14 Mon Sep 17 00:00:00 2001
+From 82da570396a6835e7208c8bb508220524b3a07c7 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Mon, 7 Dec 2015 23:39:54 +0000
Subject: [PATCH] handle sysroot support for nativesdk-gcc
@@ -23,6 +23,9 @@ b) Add other paths which need relocation into a .gccrelocprefix section
Upstream-Status: Inappropriate
RP 2015/7/28
+Extend the gccrelocprefix support to musl config too, this ensures
+that gcc will get right bits in SDK installations
+
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Added PREFIXVAR and EXEC_PREFIXVAR to support runtime relocation. Without
@@ -32,19 +35,21 @@ implementation.)
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
---
- gcc/c-family/c-opts.c | 4 +--
- gcc/cppdefault.c | 63 ++++++++++++++++++++++++++-----------------
- gcc/cppdefault.h | 13 ++++-----
- gcc/gcc.c | 20 +++++++++-----
- gcc/incpath.c | 12 ++++-----
- gcc/prefix.c | 6 +++--
- 6 files changed, 70 insertions(+), 48 deletions(-)
+ gcc/c-family/c-opts.cc | 4 +--
+ gcc/config/linux.h | 24 +++++++--------
+ gcc/config/rs6000/sysv4.h | 24 +++++++--------
+ gcc/cppdefault.cc | 65 ++++++++++++++++++++++++---------------
+ gcc/cppdefault.h | 13 +++-----
+ gcc/gcc.cc | 20 ++++++++----
+ gcc/incpath.cc | 12 ++++----
+ gcc/prefix.cc | 6 ++--
+ 8 files changed, 95 insertions(+), 73 deletions(-)
-diff --git a/gcc/c-family/c-opts.c b/gcc/c-family/c-opts.c
-index 58ba0948e79..806bbcfb7a5 100644
---- a/gcc/c-family/c-opts.c
-+++ b/gcc/c-family/c-opts.c
-@@ -1409,8 +1409,8 @@ add_prefixed_path (const char *suffix, incpath_kind chain)
+diff --git a/gcc/c-family/c-opts.cc b/gcc/c-family/c-opts.cc
+index be3058dca63..0be85374760 100644
+--- a/gcc/c-family/c-opts.cc
++++ b/gcc/c-family/c-opts.cc
+@@ -1542,8 +1542,8 @@ add_prefixed_path (const char *suffix, incpath_kind chain)
size_t prefix_len, suffix_len;
suffix_len = strlen (suffix);
@@ -55,10 +60,166 @@ index 58ba0948e79..806bbcfb7a5 100644
path = (char *) xmalloc (prefix_len + suffix_len + 1);
memcpy (path, prefix, prefix_len);
-diff --git a/gcc/cppdefault.c b/gcc/cppdefault.c
-index 2f43b88a0c3..6b6be04686c 100644
---- a/gcc/cppdefault.c
-+++ b/gcc/cppdefault.c
+diff --git a/gcc/config/linux.h b/gcc/config/linux.h
+index c6aada42eb7..79ff13184d3 100644
+--- a/gcc/config/linux.h
++++ b/gcc/config/linux.h
+@@ -121,53 +121,53 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
+ * Unfortunately, this is mostly duplicated from cppdefault.cc */
+ #if DEFAULT_LIBC == LIBC_MUSL
+ #define INCLUDE_DEFAULTS_MUSL_GPP \
+- { GPLUSPLUS_INCLUDE_DIR, "G++", 1, 1, \
++ { GPLUSPLUS_INCLUDE_DIRVAR, "G++", 1, 1, \
+ GPLUSPLUS_INCLUDE_DIR_ADD_SYSROOT, 0 }, \
+- { GPLUSPLUS_TOOL_INCLUDE_DIR, "G++", 1, 1, \
++ { GPLUSPLUS_TOOL_INCLUDE_DIRVAR, "G++", 1, 1, \
+ GPLUSPLUS_INCLUDE_DIR_ADD_SYSROOT, 1 }, \
+- { GPLUSPLUS_BACKWARD_INCLUDE_DIR, "G++", 1, 1, \
++ { GPLUSPLUS_BACKWARD_INCLUDE_DIRVAR, "G++", 1, 1, \
+ GPLUSPLUS_INCLUDE_DIR_ADD_SYSROOT, 0 },
+
+ #ifdef LOCAL_INCLUDE_DIR
+ #define INCLUDE_DEFAULTS_MUSL_LOCAL \
+- { LOCAL_INCLUDE_DIR, 0, 0, 1, 1, 2 }, \
+- { LOCAL_INCLUDE_DIR, 0, 0, 1, 1, 0 },
++ { LOCAL_INCLUDE_DIRVAR, 0, 0, 1, 1, 2 }, \
++ { LOCAL_INCLUDE_DIRVAR, 0, 0, 1, 1, 0 },
+ #else
+ #define INCLUDE_DEFAULTS_MUSL_LOCAL
+ #endif
+
+ #ifdef PREFIX_INCLUDE_DIR
+ #define INCLUDE_DEFAULTS_MUSL_PREFIX \
+- { PREFIX_INCLUDE_DIR, 0, 0, 1, 0, 0},
++ { PREFIX_INCLUDE_DIRVAR, 0, 0, 1, 0, 0},
+ #else
+ #define INCLUDE_DEFAULTS_MUSL_PREFIX
+ #endif
+
+ #ifdef CROSS_INCLUDE_DIR
+ #define INCLUDE_DEFAULTS_MUSL_CROSS \
+- { CROSS_INCLUDE_DIR, "GCC", 0, 0, 0, 0},
++ { CROSS_INCLUDE_DIRVAR, "GCC", 0, 0, 0, 0},
+ #else
+ #define INCLUDE_DEFAULTS_MUSL_CROSS
+ #endif
+
+ #ifdef TOOL_INCLUDE_DIR
+ #define INCLUDE_DEFAULTS_MUSL_TOOL \
+- { TOOL_INCLUDE_DIR, "BINUTILS", 0, 1, 0, 0},
++ { TOOL_INCLUDE_DIRVAR, "BINUTILS", 0, 1, 0, 0},
+ #else
+ #define INCLUDE_DEFAULTS_MUSL_TOOL
+ #endif
+
+ #ifdef GCC_INCLUDE_SUBDIR_TARGET
+ #define INCLUDE_DEFAULTS_MUSL_SUBDIR_TARGET \
+- { STANDARD_STARTFILE_PREFIX_2 GCC_INCLUDE_SUBDIR_TARGET, "GCC", 0, 0, 1, 0},
++ { STANDARD_STARTFILE_PREFIX_2VAR, "GCC", 0, 0, 1, 0},
+ #else
+ #define INCLUDE_DEFAULTS_MUSL_SUBDIR_TARGET
+ #endif
+
+ #ifdef NATIVE_SYSTEM_HEADER_DIR
+ #define INCLUDE_DEFAULTS_MUSL_NATIVE \
+- { NATIVE_SYSTEM_HEADER_DIR, 0, 0, 0, 1, 2 }, \
+- { NATIVE_SYSTEM_HEADER_DIR, 0, 0, 0, 1, 0 },
++ { NATIVE_SYSTEM_HEADER_DIRVAR, 0, 0, 0, 1, 2 }, \
++ { NATIVE_SYSTEM_HEADER_DIRVAR, 0, 0, 0, 1, 0 },
+ #else
+ #define INCLUDE_DEFAULTS_MUSL_NATIVE
+ #endif
+@@ -192,7 +192,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
+ INCLUDE_DEFAULTS_MUSL_TOOL \
+ INCLUDE_DEFAULTS_MUSL_SUBDIR_TARGET \
+ INCLUDE_DEFAULTS_MUSL_NATIVE \
+- { GCC_INCLUDE_DIR, "GCC", 0, 1, 0, 0 }, \
++ { GCC_INCLUDE_DIRVAR, "GCC", 0, 1, 0, 0 }, \
+ { 0, 0, 0, 0, 0, 0 } \
+ }
+ #endif
+diff --git a/gcc/config/rs6000/sysv4.h b/gcc/config/rs6000/sysv4.h
+index 247acec9d8e..5526bf050b8 100644
+--- a/gcc/config/rs6000/sysv4.h
++++ b/gcc/config/rs6000/sysv4.h
+@@ -950,53 +950,53 @@ ncrtn.o%s"
+ /* Include order changes for musl, same as in generic linux.h. */
+ #if DEFAULT_LIBC == LIBC_MUSL
+ #define INCLUDE_DEFAULTS_MUSL_GPP \
+- { GPLUSPLUS_INCLUDE_DIR, "G++", 1, 1, \
++ { GPLUSPLUS_INCLUDE_DIRVAR, "G++", 1, 1, \
+ GPLUSPLUS_INCLUDE_DIR_ADD_SYSROOT, 0 }, \
+- { GPLUSPLUS_TOOL_INCLUDE_DIR, "G++", 1, 1, \
++ { GPLUSPLUS_TOOL_INCLUDE_DIRVAR, "G++", 1, 1, \
+ GPLUSPLUS_INCLUDE_DIR_ADD_SYSROOT, 1 }, \
+- { GPLUSPLUS_BACKWARD_INCLUDE_DIR, "G++", 1, 1, \
++ { GPLUSPLUS_BACKWARD_INCLUDE_DIRVAR, "G++", 1, 1, \
+ GPLUSPLUS_INCLUDE_DIR_ADD_SYSROOT, 0 },
+
+ #ifdef LOCAL_INCLUDE_DIR
+ #define INCLUDE_DEFAULTS_MUSL_LOCAL \
+- { LOCAL_INCLUDE_DIR, 0, 0, 1, 1, 2 }, \
+- { LOCAL_INCLUDE_DIR, 0, 0, 1, 1, 0 },
++ { LOCAL_INCLUDE_DIRVAR, 0, 0, 1, 1, 2 }, \
++ { LOCAL_INCLUDE_DIRVAR, 0, 0, 1, 1, 0 },
+ #else
+ #define INCLUDE_DEFAULTS_MUSL_LOCAL
+ #endif
+
+ #ifdef PREFIX_INCLUDE_DIR
+ #define INCLUDE_DEFAULTS_MUSL_PREFIX \
+- { PREFIX_INCLUDE_DIR, 0, 0, 1, 0, 0},
++ { PREFIX_INCLUDE_DIRVAR, 0, 0, 1, 0, 0},
+ #else
+ #define INCLUDE_DEFAULTS_MUSL_PREFIX
+ #endif
+
+ #ifdef CROSS_INCLUDE_DIR
+ #define INCLUDE_DEFAULTS_MUSL_CROSS \
+- { CROSS_INCLUDE_DIR, "GCC", 0, 0, 0, 0},
++ { CROSS_INCLUDE_DIRVAR, "GCC", 0, 0, 0, 0},
+ #else
+ #define INCLUDE_DEFAULTS_MUSL_CROSS
+ #endif
+
+ #ifdef TOOL_INCLUDE_DIR
+ #define INCLUDE_DEFAULTS_MUSL_TOOL \
+- { TOOL_INCLUDE_DIR, "BINUTILS", 0, 1, 0, 0},
++ { TOOL_INCLUDE_DIRVAR, "BINUTILS", 0, 1, 0, 0},
+ #else
+ #define INCLUDE_DEFAULTS_MUSL_TOOL
+ #endif
+
+ #ifdef GCC_INCLUDE_SUBDIR_TARGET
+ #define INCLUDE_DEFAULTS_MUSL_SUBDIR_TARGET \
+- { STANDARD_STARTFILE_PREFIX_2 GCC_INCLUDE_SUBDIR_TARGET, "GCC", 0, 0, 1, 0},
++ { STANDARD_STARTFILE_PREFIX_2VAR, "GCC", 0, 0, 1, 0},
+ #else
+ #define INCLUDE_DEFAULTS_MUSL_SUBDIR_TARGET
+ #endif
+
+ #ifdef NATIVE_SYSTEM_HEADER_DIR
+ #define INCLUDE_DEFAULTS_MUSL_NATIVE \
+- { NATIVE_SYSTEM_HEADER_DIR, 0, 0, 0, 1, 2 }, \
+- { NATIVE_SYSTEM_HEADER_DIR, 0, 0, 0, 1, 0 },
++ { NATIVE_SYSTEM_HEADER_DIRVAR, 0, 0, 0, 1, 2 }, \
++ { NATIVE_SYSTEM_HEADER_DIRVAR, 0, 0, 0, 1, 0 },
+ #else
+ #define INCLUDE_DEFAULTS_MUSL_NATIVE
+ #endif
+@@ -1021,7 +1021,7 @@ ncrtn.o%s"
+ INCLUDE_DEFAULTS_MUSL_TOOL \
+ INCLUDE_DEFAULTS_MUSL_SUBDIR_TARGET \
+ INCLUDE_DEFAULTS_MUSL_NATIVE \
+- { GCC_INCLUDE_DIR, "GCC", 0, 1, 0, 0 }, \
++ { GCC_INCLUDE_DIRVAR, "GCC", 0, 1, 0, 0 }, \
+ { 0, 0, 0, 0, 0, 0 } \
+ }
+ #endif
+diff --git a/gcc/cppdefault.cc b/gcc/cppdefault.cc
+index 98bd66f95c6..742a4e56d5b 100644
+--- a/gcc/cppdefault.cc
++++ b/gcc/cppdefault.cc
@@ -35,6 +35,30 @@
# undef CROSS_INCLUDE_DIR
#endif
@@ -90,7 +251,7 @@ index 2f43b88a0c3..6b6be04686c 100644
const struct default_include cpp_include_defaults[]
#ifdef INCLUDE_DEFAULTS
= INCLUDE_DEFAULTS;
-@@ -42,38 +66,38 @@ const struct default_include cpp_include_defaults[]
+@@ -42,17 +66,17 @@ const struct default_include cpp_include_defaults[]
= {
#ifdef GPLUSPLUS_INCLUDE_DIR
/* Pick up GNU C++ generic include files. */
@@ -110,6 +271,9 @@ index 2f43b88a0c3..6b6be04686c 100644
+ { GPLUSPLUS_BACKWARD_INCLUDE_DIRVAR, "G++", 1, 1,
GPLUSPLUS_INCLUDE_DIR_ADD_SYSROOT, 0 },
#endif
+ #ifdef GPLUSPLUS_LIBCXX_INCLUDE_DIR
+@@ -62,26 +86,26 @@ const struct default_include cpp_include_defaults[]
+ #endif
#ifdef GCC_INCLUDE_DIR
/* This is the dir for gcc's private headers. */
- { GCC_INCLUDE_DIR, "GCC", 0, 0, 0, 0 },
@@ -133,12 +297,16 @@ index 2f43b88a0c3..6b6be04686c 100644
#endif
#ifdef FIXED_INCLUDE_DIR
/* This is the dir for fixincludes. */
+ #ifndef SYSROOT_HEADERS_SUFFIX_SPEC
+- { FIXED_INCLUDE_DIR, "GCC", 0, 0, 0, 2 },
++ { FIXED_INCLUDE_DIRVAR, "GCC", 0, 0, 0, 2 },
+ #endif
- { FIXED_INCLUDE_DIR, "GCC", 0, 0, 0,
+ { FIXED_INCLUDE_DIRVAR, "GCC", 0, 0, 0,
/* A multilib suffix needs adding if different multilibs use
different headers. */
#ifdef SYSROOT_HEADERS_SUFFIX_SPEC
-@@ -85,33 +109,24 @@ const struct default_include cpp_include_defaults[]
+@@ -93,33 +117,24 @@ const struct default_include cpp_include_defaults[]
#endif
#ifdef CROSS_INCLUDE_DIR
/* One place the target system's headers might be. */
@@ -179,7 +347,7 @@ index 2f43b88a0c3..6b6be04686c 100644
/* This value is set by cpp_relocated at runtime */
const char *gcc_exec_prefix;
diff --git a/gcc/cppdefault.h b/gcc/cppdefault.h
-index a681264f75e..5e10a2fa140 100644
+index e9b9264caff..168144b84b8 100644
--- a/gcc/cppdefault.h
+++ b/gcc/cppdefault.h
@@ -33,7 +33,8 @@
@@ -190,9 +358,9 @@ index a681264f75e..5e10a2fa140 100644
+ const char *fname; /* The name of the directory. */
+
const char *const component; /* The component containing the directory
- (see update_path in prefix.c) */
- const char cplusplus; /* Only look here if we're compiling C++. */
-@@ -50,17 +51,13 @@ struct default_include
+ (see update_path in prefix.cc) */
+ const char cplusplus; /* When this is non-zero, we should only
+@@ -55,17 +56,13 @@ struct default_include
};
extern const struct default_include cpp_include_defaults[];
@@ -213,11 +381,11 @@ index a681264f75e..5e10a2fa140 100644
/* The run-time execution prefix. This is typically the lib/gcc
subdirectory of the actual installation. */
extern const char *gcc_exec_prefix;
-diff --git a/gcc/gcc.c b/gcc/gcc.c
-index c87f603955f..535d5c3bb65 100644
---- a/gcc/gcc.c
-+++ b/gcc/gcc.c
-@@ -252,6 +252,8 @@ FILE *report_times_to_file = NULL;
+diff --git a/gcc/gcc.cc b/gcc/gcc.cc
+index e3e9374d1cc..b080609341b 100644
+--- a/gcc/gcc.cc
++++ b/gcc/gcc.cc
+@@ -259,6 +259,8 @@ FILE *report_times_to_file = NULL;
#endif
static const char *target_system_root = DEFAULT_TARGET_SYSTEM_ROOT;
@@ -226,7 +394,7 @@ index c87f603955f..535d5c3bb65 100644
/* Nonzero means pass the updated target_system_root to the compiler. */
static int target_system_root_changed;
-@@ -526,6 +528,7 @@ or with constant text in a single argument.
+@@ -591,6 +593,7 @@ or with constant text in a single argument.
%G process LIBGCC_SPEC as a spec.
%R Output the concatenation of target_system_root and
target_sysroot_suffix.
@@ -234,7 +402,7 @@ index c87f603955f..535d5c3bb65 100644
%S process STARTFILE_SPEC as a spec. A capital S is actually used here.
%E process ENDFILE_SPEC as a spec. A capital E is actually used here.
%C process CPP_SPEC as a spec.
-@@ -1499,10 +1502,10 @@ static const char *gcc_libexec_prefix;
+@@ -1638,10 +1641,10 @@ static const char *gcc_libexec_prefix;
gcc_exec_prefix is set because, in that case, we know where the
compiler has been installed, and use paths relative to that
location instead. */
@@ -249,7 +417,7 @@ index c87f603955f..535d5c3bb65 100644
/* For native compilers, these are well-known paths containing
components that may be provided by the system. For cross
-@@ -1510,9 +1513,9 @@ static const char *const standard_startfile_prefix = STANDARD_STARTFILE_PREFIX;
+@@ -1649,9 +1652,9 @@ static const char *const standard_startfile_prefix = STANDARD_STARTFILE_PREFIX;
static const char *md_exec_prefix = MD_EXEC_PREFIX;
static const char *md_startfile_prefix = MD_STARTFILE_PREFIX;
static const char *md_startfile_prefix_1 = MD_STARTFILE_PREFIX_1;
@@ -261,7 +429,7 @@ index c87f603955f..535d5c3bb65 100644
= STANDARD_STARTFILE_PREFIX_2;
/* A relative path to be used in finding the location of tools
-@@ -5952,6 +5955,11 @@ do_spec_1 (const char *spec, int inswitch, const char *soft_matched_part)
+@@ -6796,6 +6799,11 @@ do_spec_1 (const char *spec, int inswitch, const char *soft_matched_part)
}
break;
@@ -273,11 +441,11 @@ index c87f603955f..535d5c3bb65 100644
case 'S':
value = do_spec_1 (startfile_spec, 0, NULL);
if (value != 0)
-diff --git a/gcc/incpath.c b/gcc/incpath.c
-index 9098ab044ab..bfad4ebe382 100644
---- a/gcc/incpath.c
-+++ b/gcc/incpath.c
-@@ -131,7 +131,7 @@ add_standard_paths (const char *sysroot, const char *iprefix,
+diff --git a/gcc/incpath.cc b/gcc/incpath.cc
+index e572d98ab17..2cb2b586e4a 100644
+--- a/gcc/incpath.cc
++++ b/gcc/incpath.cc
+@@ -135,7 +135,7 @@ add_standard_paths (const char *sysroot, const char *iprefix,
int relocated = cpp_relocated ();
size_t len;
@@ -286,7 +454,7 @@ index 9098ab044ab..bfad4ebe382 100644
{
/* Look for directories that start with the standard prefix.
"Translate" them, i.e. replace /usr/local/lib/gcc... with
-@@ -145,7 +145,7 @@ add_standard_paths (const char *sysroot, const char *iprefix,
+@@ -150,7 +150,7 @@ add_standard_paths (const char *sysroot, const char *iprefix,
now. */
if (sysroot && p->add_sysroot)
continue;
@@ -295,7 +463,7 @@ index 9098ab044ab..bfad4ebe382 100644
{
char *str = concat (iprefix, p->fname + len, NULL);
if (p->multilib == 1 && imultilib)
-@@ -185,7 +185,7 @@ add_standard_paths (const char *sysroot, const char *iprefix,
+@@ -191,7 +191,7 @@ add_standard_paths (const char *sysroot, const char *iprefix,
free (sysroot_no_trailing_dir_separator);
}
else if (!p->add_sysroot && relocated
@@ -304,7 +472,7 @@ index 9098ab044ab..bfad4ebe382 100644
{
static const char *relocated_prefix;
char *ostr;
-@@ -202,12 +202,12 @@ add_standard_paths (const char *sysroot, const char *iprefix,
+@@ -208,12 +208,12 @@ add_standard_paths (const char *sysroot, const char *iprefix,
dummy = concat (gcc_exec_prefix, "dummy", NULL);
relocated_prefix
= make_relative_prefix (dummy,
@@ -320,11 +488,11 @@ index 9098ab044ab..bfad4ebe382 100644
NULL);
str = update_path (ostr, p->component);
free (ostr);
-diff --git a/gcc/prefix.c b/gcc/prefix.c
-index 1a403e535bd..c26d07bde12 100644
---- a/gcc/prefix.c
-+++ b/gcc/prefix.c
-@@ -72,7 +72,9 @@ License along with GCC; see the file COPYING3. If not see
+diff --git a/gcc/prefix.cc b/gcc/prefix.cc
+index 6a98e856855..c403b2da7a3 100644
+--- a/gcc/prefix.cc
++++ b/gcc/prefix.cc
+@@ -73,7 +73,9 @@ License along with GCC; see the file COPYING3. If not see
#include "prefix.h"
#include "common/common-target.h"
@@ -335,7 +503,7 @@ index 1a403e535bd..c26d07bde12 100644
static const char *get_key_value (char *);
static char *translate_name (char *);
-@@ -212,7 +214,7 @@ translate_name (char *name)
+@@ -213,7 +215,7 @@ translate_name (char *name)
prefix = getenv (key);
if (prefix == 0)
@@ -344,6 +512,3 @@ index 1a403e535bd..c26d07bde12 100644
/* We used to strip trailing DIR_SEPARATORs here, but that can
sometimes yield a result with no separator when one was coded
---
-2.29.2
-
diff --git a/meta/recipes-devtools/gcc/gcc/0025-Search-target-sysroot-gcc-version-specific-dirs-with.patch b/meta/recipes-devtools/gcc/gcc/0017-Search-target-sysroot-gcc-version-specific-dirs-with.patch
index abf1f8491f..f87461bcaf 100644
--- a/meta/recipes-devtools/gcc/gcc/0025-Search-target-sysroot-gcc-version-specific-dirs-with.patch
+++ b/meta/recipes-devtools/gcc/gcc/0017-Search-target-sysroot-gcc-version-specific-dirs-with.patch
@@ -1,4 +1,4 @@
-From 9c0c73ee48dbee2aad57f4dcdad1b7b74e77b944 Mon Sep 17 00:00:00 2001
+From cafcdfea0526dda5377a999dd9b1b8c805eafe0a Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Mon, 7 Dec 2015 23:41:45 +0000
Subject: [PATCH] Search target sysroot gcc version specific dirs with
@@ -42,19 +42,20 @@ binaries can be found first. With this change the search path becomes:
<sysroot>/lib32/
<sysroot>/usr/lib32/
-Upstream-Status: Pending
RP 2015/7/31
+Upstream-Status: Submitted [https://gcc.gnu.org/pipermail/gcc-patches/2023-April/615320.html]
+
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
- gcc/gcc.c | 29 ++++++++++++++++++++++++++++-
+ gcc/gcc.cc | 29 ++++++++++++++++++++++++++++-
1 file changed, 28 insertions(+), 1 deletion(-)
-diff --git a/gcc/gcc.c b/gcc/gcc.c
-index 535d5c3bb65..04647ae812d 100644
---- a/gcc/gcc.c
-+++ b/gcc/gcc.c
-@@ -2616,7 +2616,7 @@ for_each_path (const struct path_prefix *paths,
+diff --git a/gcc/gcc.cc b/gcc/gcc.cc
+index b080609341b..1a1ca05064e 100644
+--- a/gcc/gcc.cc
++++ b/gcc/gcc.cc
+@@ -2823,7 +2823,7 @@ for_each_path (const struct path_prefix *paths,
if (path == NULL)
{
len = paths->max_len + extra_space + 1;
@@ -63,7 +64,7 @@ index 535d5c3bb65..04647ae812d 100644
path = XNEWVEC (char, len);
}
-@@ -2628,6 +2628,33 @@ for_each_path (const struct path_prefix *paths,
+@@ -2835,6 +2835,33 @@ for_each_path (const struct path_prefix *paths,
/* Look first in MACHINE/VERSION subdirectory. */
if (!skip_multi_dir)
{
diff --git a/meta/recipes-devtools/gcc/gcc/0028-Add-ssp_nonshared-to-link-commandline-for-musl-targe.patch b/meta/recipes-devtools/gcc/gcc/0018-Add-ssp_nonshared-to-link-commandline-for-musl-targe.patch
index 2a6769a82e..71e43e556d 100644
--- a/meta/recipes-devtools/gcc/gcc/0028-Add-ssp_nonshared-to-link-commandline-for-musl-targe.patch
+++ b/meta/recipes-devtools/gcc/gcc/0018-Add-ssp_nonshared-to-link-commandline-for-musl-targe.patch
@@ -1,4 +1,4 @@
-From 5db0404eb770ac477fd99d444226bcf021067584 Mon Sep 17 00:00:00 2001
+From f2ad66276fd197cc088d7316662b1d792357ef6c Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Tue, 27 Jun 2017 18:10:54 -0700
Subject: [PATCH] Add ssp_nonshared to link commandline for musl targets
@@ -13,7 +13,7 @@ are already present in libc_nonshared library therefore
we do not need any library helper on glibc based systems
but musl needs the libssp_noshared from gcc
-Upstream-Status: Pending
+Upstream-Status: Submitted [https://gcc.gnu.org/pipermail/gcc-patches/2023-April/615317.html]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
@@ -23,11 +23,11 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
3 files changed, 27 insertions(+)
diff --git a/gcc/config/linux.h b/gcc/config/linux.h
-index 0c1a8118a26..bdc2a2d0659 100644
+index 79ff13184d3..19f552e8c7d 100644
--- a/gcc/config/linux.h
+++ b/gcc/config/linux.h
@@ -195,6 +195,13 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
- { GCC_INCLUDE_DIR, "GCC", 0, 1, 0, 0 }, \
+ { GCC_INCLUDE_DIRVAR, "GCC", 0, 1, 0, 0 }, \
{ 0, 0, 0, 0, 0, 0 } \
}
+#ifdef TARGET_LIBC_PROVIDES_SSP
@@ -41,10 +41,10 @@ index 0c1a8118a26..bdc2a2d0659 100644
#if (DEFAULT_LIBC == LIBC_UCLIBC) && defined (SINGLE_LIBC) /* uClinux */
diff --git a/gcc/config/rs6000/linux.h b/gcc/config/rs6000/linux.h
-index b7026fcbee7..dd54d6c393e 100644
+index 5f6cede558a..900993b6da4 100644
--- a/gcc/config/rs6000/linux.h
+++ b/gcc/config/rs6000/linux.h
-@@ -94,6 +94,16 @@
+@@ -102,6 +102,16 @@
" -m elf32ppclinux")
#endif
@@ -62,10 +62,10 @@ index b7026fcbee7..dd54d6c393e 100644
#define LINK_OS_LINUX_SPEC LINK_OS_LINUX_EMUL " %{!shared: %{!static: \
%{!static-pie: \
diff --git a/gcc/config/rs6000/linux64.h b/gcc/config/rs6000/linux64.h
-index 967c1c43c63..dc5e4d97975 100644
+index a11ae7643b7..2abde270813 100644
--- a/gcc/config/rs6000/linux64.h
+++ b/gcc/config/rs6000/linux64.h
-@@ -452,6 +452,16 @@ extern int dot_symbols;
+@@ -373,6 +373,16 @@ extern int dot_symbols;
" -m elf64ppc")
#endif
diff --git a/meta/recipes-devtools/gcc/gcc/0018-export-CPP.patch b/meta/recipes-devtools/gcc/gcc/0018-export-CPP.patch
deleted file mode 100644
index 886a1221d3..0000000000
--- a/meta/recipes-devtools/gcc/gcc/0018-export-CPP.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-From 5c3d66378c7ff60ca11a875aa4aa6f8a8529d43a Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Fri, 20 Feb 2015 09:40:59 +0000
-Subject: [PATCH] export CPP
-
-The OE environment sets and exports CPP as being the target gcc. When
-building gcc-cross-canadian for a mingw targetted sdk, the following can be found
-in build.x86_64-pokysdk-mingw32.i586-poky-linux/build-x86_64-linux/libiberty/config.log:
-
-configure:3641: checking for _FILE_OFFSET_BITS value needed for large files
-configure:3666: gcc -c -isystem/media/build1/poky/build/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe conftest.c >&5
-configure:3666: $? = 0
-configure:3698: result: no
-configure:3786: checking how to run the C preprocessor
-configure:3856: result: x86_64-pokysdk-mingw32-gcc -E --sysroot=/media/build1/poky/build/tmp/sysroots/x86_64-nativesdk-mingw32-pokysdk-mingw32
-configure:3876: x86_64-pokysdk-mingw32-gcc -E --sysroot=/media/build1/poky/build/tmp/sysroots/x86_64-nativesdk-mingw32-pokysdk-mingw32 conftest.c
-configure:3876: $? = 0
-
-Note this is a *build* target (in build-x86_64-linux) so it should be
-using the host "gcc", not x86_64-pokysdk-mingw32-gcc. Since the mingw32
-headers are very different, using the wrong cpp is a real problem. It is leaking
-into configure through the CPP variable. Ultimately this leads to build
-failures related to not being able to include a process.h file for pem-unix.c.
-
-The fix is to ensure we export a sane CPP value into the build
-environment when using build targets. We could define a CPP_FOR_BUILD value which may be
-the version which needs to be upstreamed but for now, this fix is good enough to
-avoid the problem.
-
-RP 22/08/2013
-
-Upstream-Status: Pending
-
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
- Makefile.in | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/Makefile.in b/Makefile.in
-index 36e369df6e7..c717903bb13 100644
---- a/Makefile.in
-+++ b/Makefile.in
-@@ -149,6 +149,7 @@ BUILD_EXPORTS = \
- AR="$(AR_FOR_BUILD)"; export AR; \
- AS="$(AS_FOR_BUILD)"; export AS; \
- CC="$(CC_FOR_BUILD)"; export CC; \
-+ CPP="$(CC_FOR_BUILD) -E"; export CPP; \
- CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
- CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
- CXX="$(CXX_FOR_BUILD)"; export CXX; \
diff --git a/meta/recipes-devtools/gcc/gcc/0019-Ensure-target-gcc-headers-can-be-included.patch b/meta/recipes-devtools/gcc/gcc/0019-Ensure-target-gcc-headers-can-be-included.patch
deleted file mode 100644
index 2797b2c22d..0000000000
--- a/meta/recipes-devtools/gcc/gcc/0019-Ensure-target-gcc-headers-can-be-included.patch
+++ /dev/null
@@ -1,57 +0,0 @@
-From 378b752c5d9a3dba4e58cdadf8b4b4f34ea99a76 Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Fri, 20 Feb 2015 10:25:11 +0000
-Subject: [PATCH] Ensure target gcc headers can be included
-
-There are a few headers installed as part of the OpenEmbedded
-gcc-runtime target (omp.h, ssp/*.h). Being installed from a recipe
-built for the target architecture, these are within the target
-sysroot and not cross/nativesdk; thus they weren't able to be
-found by gcc with the existing search paths. Add support for
-picking up these headers under the sysroot supplied on the gcc
-command line in order to resolve this.
-
-Upstream-Status: Pending
-
-Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
- gcc/Makefile.in | 2 ++
- gcc/cppdefault.c | 4 ++++
- 2 files changed, 6 insertions(+)
-
-diff --git a/gcc/Makefile.in b/gcc/Makefile.in
-index 480c9366418..011c7ac2db6 100644
---- a/gcc/Makefile.in
-+++ b/gcc/Makefile.in
-@@ -618,6 +618,7 @@ libexecdir = @libexecdir@
-
- # Directory in which the compiler finds libraries etc.
- libsubdir = $(libdir)/gcc/$(real_target_noncanonical)/$(version)$(accel_dir_suffix)
-+libsubdir_target = $(target_noncanonical)/$(version)
- # Directory in which the compiler finds executables
- libexecsubdir = $(libexecdir)/gcc/$(real_target_noncanonical)/$(version)$(accel_dir_suffix)
- # Directory in which all plugin resources are installed
-@@ -2946,6 +2947,7 @@ CFLAGS-intl.o += -DLOCALEDIR=\"$(localedir)\"
-
- PREPROCESSOR_DEFINES = \
- -DGCC_INCLUDE_DIR=\"$(libsubdir)/include\" \
-+ -DGCC_INCLUDE_SUBDIR_TARGET=\"$(libsubdir_target)/include\" \
- -DFIXED_INCLUDE_DIR=\"$(libsubdir)/include-fixed\" \
- -DGPLUSPLUS_INCLUDE_DIR=\"$(gcc_gxx_include_dir)\" \
- -DGPLUSPLUS_INCLUDE_DIR_ADD_SYSROOT=$(gcc_gxx_include_dir_add_sysroot) \
-diff --git a/gcc/cppdefault.c b/gcc/cppdefault.c
-index af38cc494ea..2f43b88a0c3 100644
---- a/gcc/cppdefault.c
-+++ b/gcc/cppdefault.c
-@@ -59,6 +59,10 @@ const struct default_include cpp_include_defaults[]
- /* This is the dir for gcc's private headers. */
- { GCC_INCLUDE_DIR, "GCC", 0, 0, 0, 0 },
- #endif
-+#ifdef GCC_INCLUDE_SUBDIR_TARGET
-+ /* This is the dir for gcc's private headers under the specified sysroot. */
-+ { STANDARD_STARTFILE_PREFIX_2 GCC_INCLUDE_SUBDIR_TARGET, "GCC", 0, 0, 1, 0 },
-+#endif
- #ifdef LOCAL_INCLUDE_DIR
- /* /usr/local/include comes before the fixincluded header files. */
- { LOCAL_INCLUDE_DIR, 0, 0, 1, 1, 2 },
diff --git a/meta/recipes-devtools/gcc/gcc/0033-Re-introduce-spe-commandline-options.patch b/meta/recipes-devtools/gcc/gcc/0019-Re-introduce-spe-commandline-options.patch
index ba7c2b8fd5..7f92dea0c6 100644
--- a/meta/recipes-devtools/gcc/gcc/0033-Re-introduce-spe-commandline-options.patch
+++ b/meta/recipes-devtools/gcc/gcc/0019-Re-introduce-spe-commandline-options.patch
@@ -1,4 +1,4 @@
-From 3fc06241ce37e2e4b3ed21ace28d347eb511448d Mon Sep 17 00:00:00 2001
+From 65baa3804819fbcd540be48f4c4611be5cba43c4 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Wed, 6 Jun 2018 12:10:22 -0700
Subject: [PATCH] Re-introduce spe commandline options
@@ -10,17 +10,18 @@ Upstream-Status: Inappropriate [SPE port is removed from rs600 port]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
- gcc/config/rs6000/rs6000.opt | 12 ++++++++++++
- 1 file changed, 12 insertions(+)
+ gcc/config/rs6000/rs6000.opt | 13 +++++++++++++
+ 1 file changed, 13 insertions(+)
diff --git a/gcc/config/rs6000/rs6000.opt b/gcc/config/rs6000/rs6000.opt
-index f95b8279270..0e52d51409d 100644
+index 83197681b66..04bea50b894 100644
--- a/gcc/config/rs6000/rs6000.opt
+++ b/gcc/config/rs6000/rs6000.opt
-@@ -344,6 +344,18 @@ mdebug=
+@@ -344,6 +344,19 @@ mdebug=
Target RejectNegative Joined
-mdebug= Enable debug output.
++; PPC SPE ABI
+mspe
+Target Var(rs6000_spe) Save
+Generate SPE SIMD instructions on E500.
@@ -33,6 +34,6 @@ index f95b8279270..0e52d51409d 100644
+Target RejectNegative Var(rs6000_spe_abi, 0)
+Do not use the SPE ABI extensions.
+
+ ; Altivec ABI
mabi=altivec
Target RejectNegative Var(rs6000_altivec_abi) Save
- Use the AltiVec ABI extensions.
diff --git a/meta/recipes-devtools/gcc/gcc/0034-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch b/meta/recipes-devtools/gcc/gcc/0020-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch
index 4ce9dc6def..c5f43f5ba4 100644
--- a/meta/recipes-devtools/gcc/gcc/0034-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch
+++ b/meta/recipes-devtools/gcc/gcc/0020-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch
@@ -1,4 +1,4 @@
-From b42ff59c3fe2967d37815c8db72a47b9b7f585b4 Mon Sep 17 00:00:00 2001
+From 18b0057e4e2c5cf6fc6541670418f43f0381db3e Mon Sep 17 00:00:00 2001
From: Szabolcs Nagy <nsz@port70.net>
Date: Sat, 24 Oct 2015 20:09:53 +0000
Subject: [PATCH] libgcc_s: Use alias for __cpu_indicator_init instead of
@@ -29,38 +29,38 @@ gcc/Changelog:
* config/i386/i386-expand.c (ix86_expand_builtin): Make __builtin_cpu_init
call __cpu_indicator_init_local instead of __cpu_indicator_init.
-Upstream-Status: Pending
+Upstream-Status: Submitted [https://gcc.gnu.org/pipermail/gcc-patches/2023-February/612559.html]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
- gcc/config/i386/i386-expand.c | 4 ++--
- libgcc/config/i386/cpuinfo.c | 6 +++---
- libgcc/config/i386/t-linux | 2 +-
+ gcc/config/i386/i386-expand.cc | 4 ++--
+ libgcc/config/i386/cpuinfo.c | 6 +++---
+ libgcc/config/i386/t-linux | 2 +-
3 files changed, 6 insertions(+), 6 deletions(-)
-diff --git a/gcc/config/i386/i386-expand.c b/gcc/config/i386/i386-expand.c
-index 48f00c5fcfc..468f5f71fac 100644
---- a/gcc/config/i386/i386-expand.c
-+++ b/gcc/config/i386/i386-expand.c
-@@ -10941,10 +10941,10 @@ ix86_expand_builtin (tree exp, rtx target, rtx subtarget,
+diff --git a/gcc/config/i386/i386-expand.cc b/gcc/config/i386/i386-expand.cc
+index 8bb8f21e686..bcf976aa1b9 100644
+--- a/gcc/config/i386/i386-expand.cc
++++ b/gcc/config/i386/i386-expand.cc
+@@ -13087,10 +13087,10 @@ ix86_expand_builtin (tree exp, rtx target, rtx subtarget,
{
case IX86_BUILTIN_CPU_INIT:
{
-- /* Make it call __cpu_indicator_init in libgcc. */
-+ /* Make it call __cpu_indicator_init_local in libgcc.a. */
+- /* Make it call __cpu_indicator_init in libgcc. */
++ /* Make it call __cpu_indicator_init_local in libgcc.a. */
tree call_expr, fndecl, type;
- type = build_function_type_list (integer_type_node, NULL_TREE);
+ type = build_function_type_list (integer_type_node, NULL_TREE);
- fndecl = build_fn_decl ("__cpu_indicator_init", type);
+ fndecl = build_fn_decl ("__cpu_indicator_init_local", type);
- call_expr = build_call_expr (fndecl, 0);
+ call_expr = build_call_expr (fndecl, 0);
return expand_expr (call_expr, target, mode, EXPAND_NORMAL);
}
diff --git a/libgcc/config/i386/cpuinfo.c b/libgcc/config/i386/cpuinfo.c
-index 00322c58622..f42bbb8af98 100644
+index 0bd6dffe17e..ef4acb175a4 100644
--- a/libgcc/config/i386/cpuinfo.c
+++ b/libgcc/config/i386/cpuinfo.c
-@@ -508,7 +508,7 @@ __cpu_indicator_init (void)
- return 0;
+@@ -63,7 +63,7 @@ __cpu_indicator_init (void)
+ __cpu_features2);
}
-#if defined SHARED && defined USE_ELF_SYMVER
diff --git a/meta/recipes-devtools/gcc/gcc/0021-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch b/meta/recipes-devtools/gcc/gcc/0021-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch
deleted file mode 100644
index abee48669d..0000000000
--- a/meta/recipes-devtools/gcc/gcc/0021-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From aba42de763a619355471efd1573561b0cbf51162 Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Tue, 28 Apr 2015 23:15:27 -0700
-Subject: [PATCH] Use SYSTEMLIBS_DIR replacement instead of hardcoding
- base_libdir
-
-Upstream-Status: Pending
-
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
- gcc/config/aarch64/aarch64-linux.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/gcc/config/aarch64/aarch64-linux.h b/gcc/config/aarch64/aarch64-linux.h
-index e587e2e9ad6..ddc62895693 100644
---- a/gcc/config/aarch64/aarch64-linux.h
-+++ b/gcc/config/aarch64/aarch64-linux.h
-@@ -21,7 +21,7 @@
- #ifndef GCC_AARCH64_LINUX_H
- #define GCC_AARCH64_LINUX_H
-
--#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux-aarch64%{mbig-endian:_be}%{mabi=ilp32:_ilp32}.so.1"
-+#define GLIBC_DYNAMIC_LINKER SYSTEMLIBS_DIR "ld-linux-aarch64%{mbig-endian:_be}%{mabi=ilp32:_ilp32}.so.1"
-
- #undef MUSL_DYNAMIC_LINKER
- #define MUSL_DYNAMIC_LINKER "/lib/ld-musl-aarch64%{mbig-endian:_be}%{mabi=ilp32:_ilp32}.so.1"
diff --git a/meta/recipes-devtools/gcc/gcc/0035-gentypes-genmodes-Do-not-use-__LINE__-for-maintainin.patch b/meta/recipes-devtools/gcc/gcc/0021-gentypes-genmodes-Do-not-use-__LINE__-for-maintainin.patch
index dd1bf6dedc..dce2c047d0 100644
--- a/meta/recipes-devtools/gcc/gcc/0035-gentypes-genmodes-Do-not-use-__LINE__-for-maintainin.patch
+++ b/meta/recipes-devtools/gcc/gcc/0021-gentypes-genmodes-Do-not-use-__LINE__-for-maintainin.patch
@@ -1,4 +1,4 @@
-From 0395060a7dcf98c5f5a65103f6aaa71d6b862259 Mon Sep 17 00:00:00 2001
+From a9bb04b7cf02b2f2d16f68733488f9e48fc7e7a9 Mon Sep 17 00:00:00 2001
From: Richard Purdie <richard.purdie@linuxfoundation.org>
Date: Tue, 10 Mar 2020 08:26:53 -0700
Subject: [PATCH] gentypes/genmodes: Do not use __LINE__ for maintaining
@@ -12,15 +12,15 @@ Upstream-Status: Inappropriate [OE Reproducibility specific]
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
- gcc/gengtype.c | 6 +++---
- gcc/genmodes.c | 32 ++++++++++++++++----------------
+ gcc/gengtype.cc | 6 +++---
+ gcc/genmodes.cc | 32 ++++++++++++++++----------------
2 files changed, 19 insertions(+), 19 deletions(-)
-diff --git a/gcc/gengtype.c b/gcc/gengtype.c
-index 981577481af..d5700fff401 100644
---- a/gcc/gengtype.c
-+++ b/gcc/gengtype.c
-@@ -991,7 +991,7 @@ create_field_at (pair_p next, type_p type, const char *name, options_p opt,
+diff --git a/gcc/gengtype.cc b/gcc/gengtype.cc
+index c0ecbe8558b..9f8ab7146c0 100644
+--- a/gcc/gengtype.cc
++++ b/gcc/gengtype.cc
+@@ -1005,7 +1005,7 @@ create_field_at (pair_p next, type_p type, const char *name, options_p opt,
/* Create a fake field with the given type and name. NEXT is the next
field in the chain. */
#define create_field(next,type,name) \
@@ -29,7 +29,7 @@ index 981577481af..d5700fff401 100644
/* Like create_field, but the field is only valid when condition COND
is true. */
-@@ -1024,7 +1024,7 @@ create_optional_field_ (pair_p next, type_p type, const char *name,
+@@ -1038,7 +1038,7 @@ create_optional_field_ (pair_p next, type_p type, const char *name,
}
#define create_optional_field(next,type,name,cond) \
@@ -38,7 +38,7 @@ index 981577481af..d5700fff401 100644
/* Reverse a linked list of 'struct pair's in place. */
pair_p
-@@ -5187,7 +5187,7 @@ main (int argc, char **argv)
+@@ -5232,7 +5232,7 @@ main (int argc, char **argv)
/* These types are set up with #define or else outside of where
we can see them. We should initialize them before calling
read_input_list. */
@@ -47,11 +47,11 @@ index 981577481af..d5700fff401 100644
Call;} while (0)
POS_HERE (do_scalar_typedef ("CUMULATIVE_ARGS", &pos));
POS_HERE (do_scalar_typedef ("REAL_VALUE_TYPE", &pos));
-diff --git a/gcc/genmodes.c b/gcc/genmodes.c
-index bd78310ea24..dbd02c51a4c 100644
---- a/gcc/genmodes.c
-+++ b/gcc/genmodes.c
-@@ -430,7 +430,7 @@ complete_all_modes (void)
+diff --git a/gcc/genmodes.cc b/gcc/genmodes.cc
+index eb3f9e2f0c1..5425635cb22 100644
+--- a/gcc/genmodes.cc
++++ b/gcc/genmodes.cc
+@@ -441,7 +441,7 @@ complete_all_modes (void)
}
/* For each mode in class CLASS, construct a corresponding complex mode. */
@@ -60,7 +60,7 @@ index bd78310ea24..dbd02c51a4c 100644
static void
make_complex_modes (enum mode_class cl,
const char *file, unsigned int line)
-@@ -489,7 +489,7 @@ make_complex_modes (enum mode_class cl,
+@@ -500,7 +500,7 @@ make_complex_modes (enum mode_class cl,
having as many components as necessary. ORDER is the sorting order
of the mode, with smaller numbers indicating a higher priority. */
#define VECTOR_MODES_WITH_PREFIX(PREFIX, C, W, ORDER) \
@@ -69,16 +69,16 @@ index bd78310ea24..dbd02c51a4c 100644
#define VECTOR_MODES(C, W) VECTOR_MODES_WITH_PREFIX (V, C, W, 0)
static void ATTRIBUTE_UNUSED
make_vector_modes (enum mode_class cl, const char *prefix, unsigned int width,
-@@ -541,7 +541,7 @@ make_vector_modes (enum mode_class cl, const char *prefix, unsigned int width,
- /* Create a vector of booleans called NAME with COUNT elements and
+@@ -553,7 +553,7 @@ make_vector_modes (enum mode_class cl, const char *prefix, unsigned int width,
BYTESIZE bytes in total. */
- #define VECTOR_BOOL_MODE(NAME, COUNT, BYTESIZE) \
-- make_vector_bool_mode (#NAME, COUNT, BYTESIZE, __FILE__, __LINE__)
-+ make_vector_bool_mode (#NAME, COUNT, BYTESIZE, __FILE__, 0)
+ #define VECTOR_BOOL_MODE(NAME, COUNT, COMPONENT, BYTESIZE) \
+ make_vector_bool_mode (#NAME, COUNT, #COMPONENT, BYTESIZE, \
+- __FILE__, __LINE__)
++ __FILE__, 0)
static void ATTRIBUTE_UNUSED
make_vector_bool_mode (const char *name, unsigned int count,
- unsigned int bytesize, const char *file,
-@@ -563,7 +563,7 @@ make_vector_bool_mode (const char *name, unsigned int count,
+ const char *component, unsigned int bytesize,
+@@ -575,7 +575,7 @@ make_vector_bool_mode (const char *name, unsigned int count,
/* Input. */
#define _SPECIAL_MODE(C, N) \
@@ -87,7 +87,7 @@ index bd78310ea24..dbd02c51a4c 100644
#define RANDOM_MODE(N) _SPECIAL_MODE (RANDOM, N)
#define CC_MODE(N) _SPECIAL_MODE (CC, N)
-@@ -576,7 +576,7 @@ make_special_mode (enum mode_class cl, const char *name,
+@@ -588,7 +588,7 @@ make_special_mode (enum mode_class cl, const char *name,
#define INT_MODE(N, Y) FRACTIONAL_INT_MODE (N, -1U, Y)
#define FRACTIONAL_INT_MODE(N, B, Y) \
@@ -96,7 +96,7 @@ index bd78310ea24..dbd02c51a4c 100644
static void
make_int_mode (const char *name,
-@@ -589,16 +589,16 @@ make_int_mode (const char *name,
+@@ -629,16 +629,16 @@ make_opaque_mode (const char *name,
}
#define FRACT_MODE(N, Y, F) \
@@ -117,7 +117,7 @@ index bd78310ea24..dbd02c51a4c 100644
/* Create a fixed-point mode by setting CL, NAME, BYTESIZE, IBIT, FBIT,
FILE, and LINE. */
-@@ -619,7 +619,7 @@ make_fixed_point_mode (enum mode_class cl,
+@@ -659,7 +659,7 @@ make_fixed_point_mode (enum mode_class cl,
#define FLOAT_MODE(N, Y, F) FRACTIONAL_FLOAT_MODE (N, -1U, Y, F)
#define FRACTIONAL_FLOAT_MODE(N, B, Y, F) \
@@ -126,7 +126,7 @@ index bd78310ea24..dbd02c51a4c 100644
static void
make_float_mode (const char *name,
-@@ -636,7 +636,7 @@ make_float_mode (const char *name,
+@@ -676,7 +676,7 @@ make_float_mode (const char *name,
#define DECIMAL_FLOAT_MODE(N, Y, F) \
FRACTIONAL_DECIMAL_FLOAT_MODE (N, -1U, Y, F)
#define FRACTIONAL_DECIMAL_FLOAT_MODE(N, B, Y, F) \
@@ -135,7 +135,7 @@ index bd78310ea24..dbd02c51a4c 100644
static void
make_decimal_float_mode (const char *name,
-@@ -651,7 +651,7 @@ make_decimal_float_mode (const char *name,
+@@ -691,7 +691,7 @@ make_decimal_float_mode (const char *name,
}
#define RESET_FLOAT_FORMAT(N, F) \
@@ -144,7 +144,7 @@ index bd78310ea24..dbd02c51a4c 100644
static void ATTRIBUTE_UNUSED
reset_float_format (const char *name, const char *format,
const char *file, unsigned int line)
-@@ -672,7 +672,7 @@ reset_float_format (const char *name, const char *format,
+@@ -712,7 +712,7 @@ reset_float_format (const char *name, const char *format,
/* __intN support. */
#define INT_N(M,PREC) \
@@ -153,7 +153,7 @@ index bd78310ea24..dbd02c51a4c 100644
static void ATTRIBUTE_UNUSED
make_int_n (const char *m, int bitsize,
const char *file, unsigned int line)
-@@ -701,7 +701,7 @@ make_int_n (const char *m, int bitsize,
+@@ -741,7 +741,7 @@ make_int_n (const char *m, int bitsize,
/* Partial integer modes are specified by relation to a full integer
mode. */
#define PARTIAL_INT_MODE(M,PREC,NAME) \
@@ -162,16 +162,16 @@ index bd78310ea24..dbd02c51a4c 100644
static void ATTRIBUTE_UNUSED
make_partial_integer_mode (const char *base, const char *name,
unsigned int precision,
-@@ -728,7 +728,7 @@ make_partial_integer_mode (const char *base, const char *name,
+@@ -768,7 +768,7 @@ make_partial_integer_mode (const char *base, const char *name,
/* A single vector mode can be specified by naming its component
mode and the number of components. */
- #define VECTOR_MODE(C, M, N) \
-- make_vector_mode (MODE_##C, #M, N, __FILE__, __LINE__);
-+ make_vector_mode (MODE_##C, #M, N, __FILE__, 0);
+ #define VECTOR_MODE_WITH_PREFIX(PREFIX, C, M, N, ORDER) \
+- make_vector_mode (MODE_##C, #PREFIX, #M, N, ORDER, __FILE__, __LINE__);
++ make_vector_mode (MODE_##C, #PREFIX, #M, N, ORDER, __FILE__, 0);
+ #define VECTOR_MODE(C, M, N) VECTOR_MODE_WITH_PREFIX(V, C, M, N, 0);
static void ATTRIBUTE_UNUSED
make_vector_mode (enum mode_class bclass,
- const char *base,
-@@ -771,7 +771,7 @@ make_vector_mode (enum mode_class bclass,
+@@ -815,7 +815,7 @@ make_vector_mode (enum mode_class bclass,
/* Adjustability. */
#define _ADD_ADJUST(A, M, X, C1, C2) \
diff --git a/meta/recipes-devtools/gcc/gcc/0022-aarch64-Add-support-for-musl-ldso.patch b/meta/recipes-devtools/gcc/gcc/0022-aarch64-Add-support-for-musl-ldso.patch
deleted file mode 100644
index c55b66d4ba..0000000000
--- a/meta/recipes-devtools/gcc/gcc/0022-aarch64-Add-support-for-musl-ldso.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From d63820a78d92f302410358293546f01c7ad17bd8 Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Tue, 28 Apr 2015 23:18:39 -0700
-Subject: [PATCH] aarch64: Add support for musl ldso
-
-Upstream-Status: Pending
-
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
- gcc/config/aarch64/aarch64-linux.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/gcc/config/aarch64/aarch64-linux.h b/gcc/config/aarch64/aarch64-linux.h
-index ddc62895693..b301825313a 100644
---- a/gcc/config/aarch64/aarch64-linux.h
-+++ b/gcc/config/aarch64/aarch64-linux.h
-@@ -24,7 +24,7 @@
- #define GLIBC_DYNAMIC_LINKER SYSTEMLIBS_DIR "ld-linux-aarch64%{mbig-endian:_be}%{mabi=ilp32:_ilp32}.so.1"
-
- #undef MUSL_DYNAMIC_LINKER
--#define MUSL_DYNAMIC_LINKER "/lib/ld-musl-aarch64%{mbig-endian:_be}%{mabi=ilp32:_ilp32}.so.1"
-+#define MUSL_DYNAMIC_LINKER SYSTEMLIBS_DIR "ld-musl-aarch64%{mbig-endian:_be}%{mabi=ilp32:_ilp32}.so.1"
-
- #undef ASAN_CC1_SPEC
- #define ASAN_CC1_SPEC "%{%:sanitize(address):-funwind-tables}"
diff --git a/meta/recipes-devtools/gcc/gcc/0037-libatomic-Do-not-enforce-march-on-aarch64.patch b/meta/recipes-devtools/gcc/gcc/0022-libatomic-Do-not-enforce-march-on-aarch64.patch
index 3946acea11..d710b50594 100644
--- a/meta/recipes-devtools/gcc/gcc/0037-libatomic-Do-not-enforce-march-on-aarch64.patch
+++ b/meta/recipes-devtools/gcc/gcc/0022-libatomic-Do-not-enforce-march-on-aarch64.patch
@@ -1,4 +1,4 @@
-From 38d262bfe7c0c894c364dc6e4dc7971e78a73974 Mon Sep 17 00:00:00 2001
+From db4380eac3cd9baa2f31bcd2fb936ed51f27b415 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Wed, 13 May 2020 15:10:38 -0700
Subject: [PATCH] libatomic: Do not enforce march on aarch64
@@ -17,26 +17,26 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
2 files changed, 2 deletions(-)
diff --git a/libatomic/Makefile.am b/libatomic/Makefile.am
-index 133fbbca77e..ac1ca645876 100644
+index 980677f3533..26188917946 100644
--- a/libatomic/Makefile.am
+++ b/libatomic/Makefile.am
-@@ -125,7 +125,6 @@ libatomic_la_LIBADD = $(foreach s,$(SIZES),$(addsuffix _$(s)_.lo,$(SIZEOBJS)))
+@@ -130,7 +130,6 @@ libatomic_la_LIBADD = $(foreach s,$(SIZES),$(addsuffix _$(s)_.lo,$(SIZEOBJS)))
## On a target-specific basis, include alternates to be selected by IFUNC.
if HAVE_IFUNC
if ARCH_AARCH64_LINUX
-IFUNC_OPTIONS = -march=armv8-a+lse
libatomic_la_LIBADD += $(foreach s,$(SIZES),$(addsuffix _$(s)_1_.lo,$(SIZEOBJS)))
+
endif
- if ARCH_ARM_LINUX
diff --git a/libatomic/Makefile.in b/libatomic/Makefile.in
-index a51807e95c9..97df2d7ff03 100644
+index d9d529bc502..47dacef9e01 100644
--- a/libatomic/Makefile.in
+++ b/libatomic/Makefile.in
-@@ -431,7 +431,6 @@ M_SRC = $(firstword $(filter %/$(M_FILE), $(all_c_files)))
+@@ -452,7 +452,6 @@ M_SRC = $(firstword $(filter %/$(M_FILE), $(all_c_files)))
libatomic_la_LIBADD = $(foreach s,$(SIZES),$(addsuffix \
_$(s)_.lo,$(SIZEOBJS))) $(am__append_1) $(am__append_2) \
$(am__append_3) $(am__append_4)
-@ARCH_AARCH64_LINUX_TRUE@@HAVE_IFUNC_TRUE@IFUNC_OPTIONS = -march=armv8-a+lse
@ARCH_ARM_LINUX_TRUE@@HAVE_IFUNC_TRUE@IFUNC_OPTIONS = -march=armv7-a+fp -DHAVE_KERNEL64
@ARCH_I386_TRUE@@HAVE_IFUNC_TRUE@IFUNC_OPTIONS = -march=i586
- @ARCH_X86_64_TRUE@@HAVE_IFUNC_TRUE@IFUNC_OPTIONS = -mcx16
+ @ARCH_X86_64_TRUE@@HAVE_IFUNC_TRUE@IFUNC_OPTIONS = -mcx16 -mcx16
diff --git a/meta/recipes-devtools/gcc/gcc/0023-Fix-install-path-of-linux64.h.patch b/meta/recipes-devtools/gcc/gcc/0023-Fix-install-path-of-linux64.h.patch
new file mode 100644
index 0000000000..7f1cd0b3d8
--- /dev/null
+++ b/meta/recipes-devtools/gcc/gcc/0023-Fix-install-path-of-linux64.h.patch
@@ -0,0 +1,31 @@
+From 92a77026cc64f5eab4cb6b35e4a7c59e6ab8aa20 Mon Sep 17 00:00:00 2001
+From: Andrei Gherzan <andrei.gherzan@huawei.com>
+Date: Wed, 22 Dec 2021 12:49:25 +0100
+Subject: [PATCH] Fix install path of linux64.h
+
+We add linux64.h to tm includes[1] as a relative path to B. This patch
+adapts the install path of linux64.h to match the include in tm.h.
+
+[1] 0016-Use-the-multilib-config-files-from-B-instead-of-usin.patch
+
+Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
+
+Upstream-Status: Inappropriate [configuration]
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ gcc/Makefile.in | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/gcc/Makefile.in b/gcc/Makefile.in
+index 6a009c696e9..da54dd42adf 100644
+--- a/gcc/Makefile.in
++++ b/gcc/Makefile.in
+@@ -3900,6 +3900,8 @@ install-plugin: installdirs lang.install-plugin s-header-vars install-gengtype
+ | "$(srcdir)"/config/* | "$(srcdir)"/common/config/* \
+ | "$(srcdir)"/c-family/* | "$(srcdir)"/*.def ) \
+ base=`echo "$$path" | sed -e "s|$$srcdirstrip/||"`;; \
++ */linux64.h ) \
++ base=`dirname $$path`;;\
+ *) base=`basename $$path` ;; \
+ esac; \
+ dest=$(plugin_includedir)/$$base; \
diff --git a/meta/recipes-devtools/gcc/gcc/0024-Avoid-hardcoded-build-paths-into-ppc-libgcc.patch b/meta/recipes-devtools/gcc/gcc/0024-Avoid-hardcoded-build-paths-into-ppc-libgcc.patch
new file mode 100644
index 0000000000..a34e6afdb4
--- /dev/null
+++ b/meta/recipes-devtools/gcc/gcc/0024-Avoid-hardcoded-build-paths-into-ppc-libgcc.patch
@@ -0,0 +1,28 @@
+From c6fc577e9e89dc16d3e971aa165602746232de4c Mon Sep 17 00:00:00 2001
+From: Richard Purdie <richard.purdie@linuxfoundation.org>
+Date: Sat, 20 Aug 2022 09:04:14 -0700
+Subject: [PATCH] Avoid hardcoded build paths into ppc libgcc
+
+Avoid encoding build paths into sources used for floating point on powerpc.
+(MACHINE=qemuppc bitbake libgcc).
+
+Upstream-Status: Submitted [https://gcc.gnu.org/pipermail/gcc-patches/2022-August/599882.html]
+Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ libgcc/config/rs6000/t-float128 | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/libgcc/config/rs6000/t-float128 b/libgcc/config/rs6000/t-float128
+index b09b5664af0..513e63748f1 100644
+--- a/libgcc/config/rs6000/t-float128
++++ b/libgcc/config/rs6000/t-float128
+@@ -103,7 +103,7 @@ $(ibm128_dec_objs) : INTERNAL_CFLAGS += $(IBM128_CFLAGS_DECIMAL)
+ $(fp128_softfp_src) : $(srcdir)/soft-fp/$(subst -sw,,$(subst kf,tf,$@)) $(fp128_dep)
+ @src="$(srcdir)/soft-fp/$(subst -sw,,$(subst kf,tf,$@))"; \
+ echo "Create $@"; \
+- (echo "/* file created from $$src */"; \
++ (echo "/* file created from `basename $$src` */"; \
+ echo; \
+ sed -f $(fp128_sed) < $$src) > $@
+
diff --git a/meta/recipes-devtools/gcc/gcc/0025-gcc-testsuite-tweaks-for-mips-OE.patch b/meta/recipes-devtools/gcc/gcc/0025-gcc-testsuite-tweaks-for-mips-OE.patch
new file mode 100644
index 0000000000..454d05d473
--- /dev/null
+++ b/meta/recipes-devtools/gcc/gcc/0025-gcc-testsuite-tweaks-for-mips-OE.patch
@@ -0,0 +1,235 @@
+From 8845248c81c0695ccc65311017deef824fa538fa Mon Sep 17 00:00:00 2001
+From: Richard Purdie <richard.purdie@linuxfoundation.org>
+Date: Thu, 17 Aug 2023 09:01:40 -0700
+Subject: [PATCH] gcc testsuite tweaks for mips/OE
+
+Disable loongson-mmi runtine, qemu doesn't appear to fully support them even if some
+of the instruction decoding is there.
+
+Also disable MSA mips runtime extensions. For some reason qemu appears to accept the test
+code when it shouldn't. Our selected MIPS cpu for QEMU doesn't support them.
+
+MIPS is unusual in the gcc testsuite as it uses EFFECTIVE_TARGETS and loops
+multiple times through the vector testsuite. In the case of the two above, we can
+compile/link them but not run them. Even with the runtime disabled, if the code
+marks it as a runtime test, it will elevate itself to that. Setting the default
+target to compile therefore isn't enough.
+
+Therefore add code to downgrade runtime tests to link tests if the hardware
+support isn't there to run them. This avoids thousands of test failures. To do
+this we have to hook downgrade code into the main test runner.
+
+Enable that downgrading for other cases where hardware to run vector extensions is
+unavailable to remove test failures on other architectures too.
+
+Also, for gcc.target tests, add checks on wheter loongson or msa code can
+be run before trying that, allowing downgrading of tests there to work too.
+
+Upstream-Status: Pending
+
+[Parts of the patch may be able to be split off and acceptable to upstream with
+discussion. Need to investigate why qemu-user passes the 'bad' instructions']
+
+Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ gcc/testsuite/gcc.target/mips/mips.exp | 16 +++++++++
+ gcc/testsuite/lib/gcc-dg.exp | 11 +++++++
+ gcc/testsuite/lib/target-supports.exp | 45 ++++++++------------------
+ 3 files changed, 41 insertions(+), 31 deletions(-)
+
+diff --git a/gcc/testsuite/gcc.target/mips/mips.exp b/gcc/testsuite/gcc.target/mips/mips.exp
+index e028bc93b40..b54a40d6509 100644
+--- a/gcc/testsuite/gcc.target/mips/mips.exp
++++ b/gcc/testsuite/gcc.target/mips/mips.exp
+@@ -711,7 +711,23 @@ proc mips_first_unsupported_option { upstatus } {
+ global mips_option_tests
+ upvar $upstatus status
+
++ if { [mips_have_test_option_p status "-mmsa"] } {
++ verbose -log "Found -mmsa"
++ if { ![check_mips_msa_hw_available] } {
++ verbose -log "No MSA avail"
++ return "-mmsa"
++ }
++ }
++ if { [mips_have_test_option_p status "-mloongson-mmi"] } {
++ verbose -log "Found -mloonson-mmi"
++ if { ![check_mips_loongson_mmi_hw_available] } {
++ verbose -log "No MMI avail"
++ return "-mloonson-mmi"
++ }
++ }
++
+ foreach { option code } [array get mips_option_tests] {
++
+ if { [mips_have_test_option_p status $option] } {
+ regsub -all "\n" $code "\\n\\\n" asm
+ # Use check_runtime from target-supports.exp, which caches
+diff --git a/gcc/testsuite/lib/gcc-dg.exp b/gcc/testsuite/lib/gcc-dg.exp
+index 228c21d1207..d3b88e0419e 100644
+--- a/gcc/testsuite/lib/gcc-dg.exp
++++ b/gcc/testsuite/lib/gcc-dg.exp
+@@ -232,9 +232,20 @@ proc schedule-cleanups { opts } {
+
+ proc gcc-dg-test-1 { target_compile prog do_what extra_tool_flags } {
+ # Set up the compiler flags, based on what we're going to do.
++ global do-what-limit
+
+ set options [list]
+
++ if [info exists do-what-limit] then {
++ # Demote run tests to $do-what-limit if set
++ switch $do_what {
++ run {
++ set do_what ${do-what-limit}
++ set dg-do-what ${do-what-limit}
++ }
++ }
++ }
++
+ switch $do_what {
+ "preprocess" {
+ set compile_type "preprocess"
+diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp
+index 45435586de2..04942540d8b 100644
+--- a/gcc/testsuite/lib/target-supports.exp
++++ b/gcc/testsuite/lib/target-supports.exp
+@@ -2483,14 +2483,7 @@ proc check_mips_loongson_mmi_hw_available { } {
+ if { !([istarget mips*-*-*]) } {
+ expr 0
+ } else {
+- check_runtime_nocache mips_loongson_mmi_hw_available {
+- #include <loongson-mmiintrin.h>
+- int main()
+- {
+- asm volatile ("paddw $f2,$f4,$f6");
+- return 0;
+- }
+- } "-mloongson-mmi"
++ expr 0
+ }
+ }]
+ }
+@@ -2504,29 +2497,7 @@ proc check_mips_msa_hw_available { } {
+ if { !([istarget mips*-*-*]) } {
+ expr 0
+ } else {
+- check_runtime_nocache mips_msa_hw_available {
+- #if !defined(__mips_msa)
+- #error "MSA NOT AVAIL"
+- #else
+- #if !(((__mips == 64) || (__mips == 32)) && (__mips_isa_rev >= 2))
+- #error "MSA NOT AVAIL FOR ISA REV < 2"
+- #endif
+- #if !defined(__mips_hard_float)
+- #error "MSA HARD_FLOAT REQUIRED"
+- #endif
+- #if __mips_fpr != 64
+- #error "MSA 64-bit FPR REQUIRED"
+- #endif
+- #include <msa.h>
+-
+- int main()
+- {
+- v8i16 v = __builtin_msa_ldi_h (0);
+- v[0] = 0;
+- return v[0];
+- }
+- #endif
+- } "-mmsa"
++ expr 0
+ }
+ }]
+ }
+@@ -9897,6 +9868,7 @@ proc is-effective-target-keyword { arg } {
+
+ proc et-dg-runtest { runtest testcases flags default-extra-flags } {
+ global dg-do-what-default
++ global do-what-limit
+ global EFFECTIVE_TARGETS
+ global et_index
+
+@@ -9904,6 +9876,7 @@ proc et-dg-runtest { runtest testcases flags default-extra-flags } {
+ foreach target $EFFECTIVE_TARGETS {
+ set target_flags $flags
+ set dg-do-what-default compile
++ set do-what-limit link
+ set et_index [lsearch -exact $EFFECTIVE_TARGETS $target]
+ if { [info procs add_options_for_${target}] != [list] } {
+ set target_flags [add_options_for_${target} "$flags"]
+@@ -9911,8 +9884,10 @@ proc et-dg-runtest { runtest testcases flags default-extra-flags } {
+ if { [info procs check_effective_target_${target}_runtime]
+ != [list] && [check_effective_target_${target}_runtime] } {
+ set dg-do-what-default run
++ set do-what-limit run
+ }
+ $runtest $testcases $target_flags ${default-extra-flags}
++ unset do-what-limit
+ }
+ } else {
+ set et_index 0
+@@ -11606,6 +11581,7 @@ proc check_effective_target_sigsetjmp {} {
+ proc check_vect_support_and_set_flags { } {
+ global DEFAULT_VECTCFLAGS
+ global dg-do-what-default
++ global do-what-limit
+ global EFFECTIVE_TARGETS
+
+ if [istarget powerpc-*paired*] {
+@@ -11614,6 +11590,7 @@ proc check_vect_support_and_set_flags { } {
+ set dg-do-what-default run
+ } else {
+ set dg-do-what-default compile
++ set do-what-limit link
+ }
+ } elseif [istarget powerpc*-*-*] {
+ # Skip targets not supporting -maltivec.
+@@ -11644,6 +11621,7 @@ proc check_vect_support_and_set_flags { } {
+ set DEFAULT_VECTCFLAGS [linsert $DEFAULT_VECTCFLAGS 0 "-mcpu=970"]
+ }
+ set dg-do-what-default compile
++ set do-what-limit link
+ }
+ } elseif { [istarget i?86-*-*] || [istarget x86_64-*-*] } {
+ lappend DEFAULT_VECTCFLAGS "-msse2"
+@@ -11651,6 +11629,7 @@ proc check_vect_support_and_set_flags { } {
+ set dg-do-what-default run
+ } else {
+ set dg-do-what-default compile
++ set do-what-limit link
+ }
+ } elseif { [istarget mips*-*-*]
+ && [check_effective_target_nomips16] } {
+@@ -11670,6 +11649,7 @@ proc check_vect_support_and_set_flags { } {
+ set dg-do-what-default run
+ } else {
+ set dg-do-what-default compile
++ set do-what-limit link
+ }
+ } elseif [istarget alpha*-*-*] {
+ # Alpha's vectorization capabilities are extremely limited.
+@@ -11683,6 +11663,7 @@ proc check_vect_support_and_set_flags { } {
+ set dg-do-what-default run
+ } else {
+ set dg-do-what-default compile
++ set do-what-limit link
+ }
+ } elseif [istarget ia64-*-*] {
+ set dg-do-what-default run
+@@ -11696,6 +11677,7 @@ proc check_vect_support_and_set_flags { } {
+ set dg-do-what-default run
+ } else {
+ set dg-do-what-default compile
++ set do-what-limit link
+ }
+ } elseif [istarget aarch64*-*-*] {
+ set dg-do-what-default run
+@@ -11720,6 +11702,7 @@ proc check_vect_support_and_set_flags { } {
+ } else {
+ lappend DEFAULT_VECTCFLAGS "-march=z14" "-mzarch"
+ set dg-do-what-default compile
++ set do-what-limit link
+ }
+ } elseif [istarget amdgcn-*-*] {
+ set dg-do-what-default run
diff --git a/meta/recipes-devtools/gcc/gcc/0026-Fix-various-_FOR_BUILD-and-related-variables.patch b/meta/recipes-devtools/gcc/gcc/0026-Fix-various-_FOR_BUILD-and-related-variables.patch
deleted file mode 100644
index 97bf2f3a73..0000000000
--- a/meta/recipes-devtools/gcc/gcc/0026-Fix-various-_FOR_BUILD-and-related-variables.patch
+++ /dev/null
@@ -1,134 +0,0 @@
-From 3a003af8804dda90fdf4862eca5f66cb12faaf02 Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Mon, 7 Dec 2015 23:42:45 +0000
-Subject: [PATCH] Fix various _FOR_BUILD and related variables
-
-When doing a FOR_BUILD thing, you have to override CFLAGS with
-CFLAGS_FOR_BUILD. And if you use C++, you also have to override
-CXXFLAGS with CXXFLAGS_FOR_BUILD.
-Without this, when building for mingw, you end up trying to use
-the mingw headers for a host build.
-
-The same goes for other variables as well, such as CPPFLAGS,
-CPP, and GMPINC.
-
-Upstream-Status: Pending
-
-Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
-Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
- Makefile.in | 6 ++++++
- Makefile.tpl | 5 +++++
- gcc/Makefile.in | 2 +-
- gcc/configure | 2 +-
- gcc/configure.ac | 2 +-
- 5 files changed, 14 insertions(+), 3 deletions(-)
-
-diff --git a/Makefile.in b/Makefile.in
-index c717903bb13..5abc649868d 100644
---- a/Makefile.in
-+++ b/Makefile.in
-@@ -152,6 +152,7 @@ BUILD_EXPORTS = \
- CPP="$(CC_FOR_BUILD) -E"; export CPP; \
- CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
- CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
-+ CPPFLAGS="$(CPPFLAGS_FOR_BUILD)"; export CPPFLAGS; \
- CXX="$(CXX_FOR_BUILD)"; export CXX; \
- CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
- GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
-@@ -171,6 +172,9 @@ BUILD_EXPORTS = \
- # built for the build system to override those in BASE_FLAGS_TO_PASS.
- EXTRA_BUILD_FLAGS = \
- CFLAGS="$(CFLAGS_FOR_BUILD)" \
-+ CXXFLAGS="$(CXXFLAGS_FOR_BUILD)" \
-+ CPP="$(CC_FOR_BUILD) -E" \
-+ CPPFLAGS="$(CPPFLAGS_FOR_BUILD)" \
- LDFLAGS="$(LDFLAGS_FOR_BUILD)"
-
- # This is the list of directories to built for the host system.
-@@ -188,6 +192,7 @@ HOST_SUBDIR = @host_subdir@
- HOST_EXPORTS = \
- $(BASE_EXPORTS) \
- CC="$(CC)"; export CC; \
-+ CPP="$(CC) -E"; export CPP; \
- ADA_CFLAGS="$(ADA_CFLAGS)"; export ADA_CFLAGS; \
- CFLAGS="$(CFLAGS)"; export CFLAGS; \
- CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
-@@ -776,6 +781,7 @@ BASE_FLAGS_TO_PASS = \
- "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
- "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
- "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
-+ "CXXFLAGS_FOR_BUILD=$(CXXFLAGS_FOR_BUILD)" \
- "EXPECT=$(EXPECT)" \
- "FLEX=$(FLEX)" \
- "INSTALL=$(INSTALL)" \
-diff --git a/Makefile.tpl b/Makefile.tpl
-index efed1511750..778beb705b4 100644
---- a/Makefile.tpl
-+++ b/Makefile.tpl
-@@ -154,6 +154,7 @@ BUILD_EXPORTS = \
- CC="$(CC_FOR_BUILD)"; export CC; \
- CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
- CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
-+ CPPFLAGS="$(CPPFLAGS_FOR_BUILD)"; export CPPFLAGS; \
- CXX="$(CXX_FOR_BUILD)"; export CXX; \
- CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
- GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
-@@ -173,6 +174,9 @@ BUILD_EXPORTS = \
- # built for the build system to override those in BASE_FLAGS_TO_PASS.
- EXTRA_BUILD_FLAGS = \
- CFLAGS="$(CFLAGS_FOR_BUILD)" \
-+ CXXFLAGS="$(CXXFLAGS_FOR_BUILD)" \
-+ CPP="$(CC_FOR_BUILD) -E" \
-+ CPPFLAGS="$(CPPFLAGS_FOR_BUILD)" \
- LDFLAGS="$(LDFLAGS_FOR_BUILD)"
-
- # This is the list of directories to built for the host system.
-@@ -190,6 +194,7 @@ HOST_SUBDIR = @host_subdir@
- HOST_EXPORTS = \
- $(BASE_EXPORTS) \
- CC="$(CC)"; export CC; \
-+ CPP="$(CC) -E"; export CPP; \
- ADA_CFLAGS="$(ADA_CFLAGS)"; export ADA_CFLAGS; \
- CFLAGS="$(CFLAGS)"; export CFLAGS; \
- CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
-diff --git a/gcc/Makefile.in b/gcc/Makefile.in
-index 011c7ac2db6..2f1165f7b5e 100644
---- a/gcc/Makefile.in
-+++ b/gcc/Makefile.in
-@@ -805,7 +805,7 @@ BUILD_LDFLAGS=@BUILD_LDFLAGS@
- BUILD_NO_PIE_FLAG = @BUILD_NO_PIE_FLAG@
- BUILD_LDFLAGS += $(BUILD_NO_PIE_FLAG)
- BUILD_CPPFLAGS= -I. -I$(@D) -I$(srcdir) -I$(srcdir)/$(@D) \
-- -I$(srcdir)/../include @INCINTL@ $(CPPINC) $(CPPFLAGS)
-+ -I$(srcdir)/../include @INCINTL@ $(CPPINC) $(CPPFLAGS_FOR_BUILD)
-
- # Actual name to use when installing a native compiler.
- GCC_INSTALL_NAME := $(shell echo gcc|sed '$(program_transform_name)')
-diff --git a/gcc/configure b/gcc/configure
-index 825a9652329..ff46cf58960 100755
---- a/gcc/configure
-+++ b/gcc/configure
-@@ -12314,7 +12314,7 @@ else
- CC="${CC_FOR_BUILD}" CFLAGS="${CFLAGS_FOR_BUILD}" \
- CXX="${CXX_FOR_BUILD}" CXXFLAGS="${CXXFLAGS_FOR_BUILD}" \
- LD="${LD_FOR_BUILD}" LDFLAGS="${LDFLAGS_FOR_BUILD}" \
-- GMPINC="" CPPFLAGS="${CPPFLAGS} -DGENERATOR_FILE" \
-+ GMPINC="" CPPFLAGS="${CPPFLAGS_FOR_BUILD} -DGENERATOR_FILE" \
- ${realsrcdir}/configure \
- --enable-languages=${enable_languages-all} \
- ${enable_obsolete+--enable-obsolete="$enable_obsolete"} \
-diff --git a/gcc/configure.ac b/gcc/configure.ac
-index 6099eb3251f..b3c345b61dc 100644
---- a/gcc/configure.ac
-+++ b/gcc/configure.ac
-@@ -1898,7 +1898,7 @@ else
- CC="${CC_FOR_BUILD}" CFLAGS="${CFLAGS_FOR_BUILD}" \
- CXX="${CXX_FOR_BUILD}" CXXFLAGS="${CXXFLAGS_FOR_BUILD}" \
- LD="${LD_FOR_BUILD}" LDFLAGS="${LDFLAGS_FOR_BUILD}" \
-- GMPINC="" CPPFLAGS="${CPPFLAGS} -DGENERATOR_FILE" \
-+ GMPINC="" CPPFLAGS="${CPPFLAGS_FOR_BUILD} -DGENERATOR_FILE" \
- ${realsrcdir}/configure \
- --enable-languages=${enable_languages-all} \
- ${enable_obsolete+--enable-obsolete="$enable_obsolete"} \
diff --git a/meta/recipes-devtools/gcc/gcc/0027-nios2-Define-MUSL_DYNAMIC_LINKER.patch b/meta/recipes-devtools/gcc/gcc/0027-nios2-Define-MUSL_DYNAMIC_LINKER.patch
deleted file mode 100644
index 3cd75b7183..0000000000
--- a/meta/recipes-devtools/gcc/gcc/0027-nios2-Define-MUSL_DYNAMIC_LINKER.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 4e53d0ae70af85af0e112a48a3e4dfe4c39f4a8d Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Tue, 2 Feb 2016 10:26:10 -0800
-Subject: [PATCH] nios2: Define MUSL_DYNAMIC_LINKER
-
-Upstream-Status: Pending
-
-Signed-off-by: Marek Vasut <marex@denx.de>
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
- gcc/config/nios2/linux.h | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/gcc/config/nios2/linux.h b/gcc/config/nios2/linux.h
-index 4bdcdcca1f0..e7943a9d640 100644
---- a/gcc/config/nios2/linux.h
-+++ b/gcc/config/nios2/linux.h
-@@ -30,6 +30,7 @@
- #define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}"
-
- #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux-nios2.so.1"
-+#define MUSL_DYNAMIC_LINKER "/lib/ld-musl-nios2.so.1"
-
- #undef LINK_SPEC
- #define LINK_SPEC LINK_SPEC_ENDIAN \
diff --git a/meta/recipes-devtools/gcc/gcc/0029-Link-libgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch b/meta/recipes-devtools/gcc/gcc/0029-Link-libgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch
deleted file mode 100644
index 767cba0380..0000000000
--- a/meta/recipes-devtools/gcc/gcc/0029-Link-libgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From fbc926dbf6a47fa623b9c94cd9b09a0e90448fdc Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Wed, 4 May 2016 21:11:34 -0700
-Subject: [PATCH] Link libgcc using LDFLAGS, not just SHLIB_LDFLAGS
-
-Upstream-Status: Pending
-
-Signed-off-by: Christopher Larson <chris_larson@mentor.com>
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
- libgcc/config/t-slibgcc | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/libgcc/config/t-slibgcc b/libgcc/config/t-slibgcc
-index c997553447c..330352c2c81 100644
---- a/libgcc/config/t-slibgcc
-+++ b/libgcc/config/t-slibgcc
-@@ -32,7 +32,7 @@ SHLIB_INSTALL_SOLINK = $(LN_S) $(SHLIB_SONAME) \
- $(DESTDIR)$(slibdir)$(SHLIB_SLIBDIR_QUAL)/$(SHLIB_SOLINK)
-
- SHLIB_LINK = $(CC) $(LIBGCC2_CFLAGS) -shared -nodefaultlibs \
-- $(SHLIB_LDFLAGS) \
-+ $(LDFLAGS) $(SHLIB_LDFLAGS) \
- -o $(SHLIB_DIR)/$(SHLIB_SONAME).tmp @multilib_flags@ \
- $(SHLIB_OBJS) $(SHLIB_LC) && \
- rm -f $(SHLIB_DIR)/$(SHLIB_SOLINK) && \
diff --git a/meta/recipes-devtools/gcc/gcc/0030-sync-gcc-stddef.h-with-musl.patch b/meta/recipes-devtools/gcc/gcc/0030-sync-gcc-stddef.h-with-musl.patch
deleted file mode 100644
index 4f18907a1d..0000000000
--- a/meta/recipes-devtools/gcc/gcc/0030-sync-gcc-stddef.h-with-musl.patch
+++ /dev/null
@@ -1,88 +0,0 @@
-From 24dc04dc8d69e3bf61322615b3ef18e02ccd311e Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Fri, 3 Feb 2017 12:56:00 -0800
-Subject: [PATCH] sync gcc stddef.h with musl
-
-musl defines ptrdiff_t size_t and wchar_t
-so dont define them here if musl is definining them
-
-Upstream-Status: Pending
-
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
- gcc/ginclude/stddef.h | 9 +++++++++
- 1 file changed, 9 insertions(+)
-
-diff --git a/gcc/ginclude/stddef.h b/gcc/ginclude/stddef.h
-index 9d67eac4947..6cb5edbedb4 100644
---- a/gcc/ginclude/stddef.h
-+++ b/gcc/ginclude/stddef.h
-@@ -128,6 +128,7 @@ _TYPE_wchar_t;
- #ifndef ___int_ptrdiff_t_h
- #ifndef _GCC_PTRDIFF_T
- #ifndef _PTRDIFF_T_DECLARED /* DragonFly */
-+#ifndef __DEFINED_ptrdiff_t /* musl */
- #define _PTRDIFF_T
- #define _T_PTRDIFF_
- #define _T_PTRDIFF
-@@ -137,10 +138,12 @@ _TYPE_wchar_t;
- #define ___int_ptrdiff_t_h
- #define _GCC_PTRDIFF_T
- #define _PTRDIFF_T_DECLARED
-+#define __DEFINED_ptrdiff_t /* musl */
- #ifndef __PTRDIFF_TYPE__
- #define __PTRDIFF_TYPE__ long int
- #endif
- typedef __PTRDIFF_TYPE__ ptrdiff_t;
-+#endif /* __DEFINED_ptrdiff_t */
- #endif /* _PTRDIFF_T_DECLARED */
- #endif /* _GCC_PTRDIFF_T */
- #endif /* ___int_ptrdiff_t_h */
-@@ -178,6 +181,7 @@ typedef __PTRDIFF_TYPE__ ptrdiff_t;
- #ifndef _GCC_SIZE_T
- #ifndef _SIZET_
- #ifndef __size_t
-+#ifndef __DEFINED_size_t /* musl */
- #define __size_t__ /* BeOS */
- #define __SIZE_T__ /* Cray Unicos/Mk */
- #define _SIZE_T
-@@ -194,6 +198,7 @@ typedef __PTRDIFF_TYPE__ ptrdiff_t;
- #define ___int_size_t_h
- #define _GCC_SIZE_T
- #define _SIZET_
-+#define __DEFINED_size_t /* musl */
- #if defined (__FreeBSD__) \
- || defined(__DragonFly__) \
- || defined(__FreeBSD_kernel__) \
-@@ -228,6 +233,7 @@ typedef long ssize_t;
- #endif /* _SIZE_T */
- #endif /* __SIZE_T__ */
- #endif /* __size_t__ */
-+#endif /* __DEFINED_size_t */
- #undef __need_size_t
- #endif /* _STDDEF_H or __need_size_t. */
-
-@@ -257,6 +263,7 @@ typedef long ssize_t;
- #ifndef ___int_wchar_t_h
- #ifndef __INT_WCHAR_T_H
- #ifndef _GCC_WCHAR_T
-+#ifndef __DEFINED_wchar_t /* musl */
- #define __wchar_t__ /* BeOS */
- #define __WCHAR_T__ /* Cray Unicos/Mk */
- #define _WCHAR_T
-@@ -272,6 +279,7 @@ typedef long ssize_t;
- #define __INT_WCHAR_T_H
- #define _GCC_WCHAR_T
- #define _WCHAR_T_DECLARED
-+#define __DEFINED_wchar_t /* musl */
-
- /* On BSD/386 1.1, at least, machine/ansi.h defines _BSD_WCHAR_T_
- instead of _WCHAR_T_, and _BSD_RUNE_T_ (which, unlike the other
-@@ -337,6 +345,7 @@ typedef __WCHAR_TYPE__ wchar_t;
- #endif
- #endif /* __WCHAR_T__ */
- #endif /* __wchar_t__ */
-+#endif /* __DEFINED_wchar_t musl */
- #undef __need_wchar_t
- #endif /* _STDDEF_H or __need_wchar_t. */
-
diff --git a/meta/recipes-devtools/gcc/gcc/0031-fix-segmentation-fault-in-precompiled-header-generat.patch b/meta/recipes-devtools/gcc/gcc/0031-fix-segmentation-fault-in-precompiled-header-generat.patch
deleted file mode 100644
index 702279af0e..0000000000
--- a/meta/recipes-devtools/gcc/gcc/0031-fix-segmentation-fault-in-precompiled-header-generat.patch
+++ /dev/null
@@ -1,57 +0,0 @@
-From 27b8ba5555ada2dab076988529bfb84d00a4b901 Mon Sep 17 00:00:00 2001
-From: Juro Bystricky <juro.bystricky@intel.com>
-Date: Mon, 19 Mar 2018 22:31:20 -0700
-Subject: [PATCH] fix segmentation fault in precompiled header generation
-
-Prevent a segmentation fault which occurs when using incorrect
-structure trying to access name of some named operators, such as
-CPP_NOT, CPP_AND etc. "token->val.node.spelling" cannot be used in
-those cases, as is may not be initialized at all.
-
-[YOCTO #11738]
-
-Upstream-Status: Pending
-
-Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
- libcpp/lex.c | 26 +++++++++++++++++++++-----
- 1 file changed, 21 insertions(+), 5 deletions(-)
-
-diff --git a/libcpp/lex.c b/libcpp/lex.c
-index 56ac3a1dd73..73a951148b3 100644
---- a/libcpp/lex.c
-+++ b/libcpp/lex.c
-@@ -3311,11 +3311,27 @@ cpp_spell_token (cpp_reader *pfile, const cpp_token *token,
- spell_ident:
- case SPELL_IDENT:
- if (forstring)
-- {
-- memcpy (buffer, NODE_NAME (token->val.node.spelling),
-- NODE_LEN (token->val.node.spelling));
-- buffer += NODE_LEN (token->val.node.spelling);
-- }
-+ {
-+ if (token->type == CPP_NAME)
-+ {
-+ memcpy (buffer, NODE_NAME (token->val.node.spelling),
-+ NODE_LEN (token->val.node.spelling));
-+ buffer += NODE_LEN (token->val.node.spelling);
-+ break;
-+ }
-+ /* NAMED_OP, cannot use node.spelling */
-+ if (token->flags & NAMED_OP)
-+ {
-+ const char *str = cpp_named_operator2name (token->type);
-+ if (str)
-+ {
-+ size_t len = strlen(str);
-+ memcpy(buffer, str, len);
-+ buffer += len;
-+ }
-+ break;
-+ }
-+ }
- else
- buffer = _cpp_spell_ident_ucns (buffer, token->val.node.node);
- break;
diff --git a/meta/recipes-devtools/gcc/gcc/0032-Fix-for-testsuite-failure.patch b/meta/recipes-devtools/gcc/gcc/0032-Fix-for-testsuite-failure.patch
deleted file mode 100644
index 0a0767b441..0000000000
--- a/meta/recipes-devtools/gcc/gcc/0032-Fix-for-testsuite-failure.patch
+++ /dev/null
@@ -1,255 +0,0 @@
-From 2512aacf023c679d86d8f40caff4f6ff412b32ff Mon Sep 17 00:00:00 2001
-From: RAGHUNATH LOLUR <raghunath.lolur@kpit.com>
-Date: Wed, 6 Dec 2017 22:52:26 -0800
-Subject: [PATCH] Fix for testsuite failure
-
-2017-11-16 Raghunath Lolur <raghunath.lolur@kpit.com>
-
- * gcc.dg/pr56275.c: If SSE is disabled, ensure that
- "-mfpmath" is not set to use SSE. Set "-mfpmath=387".
- * gcc.dg/pr68306.c: Likewise
- * gcc.dg/pr68306-2.c: Likewise
- * gcc.dg/pr68306-3.c: Likewise
- * gcc.dg/pr69634.c: Likewise
- * gcc.target/i386/amd64-abi-1.c: Likewise
- * gcc.target/i386/funcspec-6.c: Likewise
- * gcc.target/i386/interrupt-387-err-1.c: Likewise
- * gcc.target/i386/isa-14.c: Likewise
- * gcc.target/i386/pr44948-2b.c: Likewise
- * gcc.target/i386/pr53425-1.c: Likewise
- * gcc.target/i386/pr53425-2.c: Likewise
- * gcc.target/i386/pr55247.c: Likewise
- * gcc.target/i386/pr59644.c: Likewise
- * gcc.target/i386/pr62120.c: Likewise
- * gcc.target/i386/pr70467-1.c: Likewise
- * gcc.target/i386/warn-vect-op-1.c: Likewise
-
-If -Wall, -Werror are used during compilation various test cases fail
-to compile.
-
-If SSE is disabled, be sure to -mfpmath=387 to resolve this.
-
-This patch removes the changes to Changelog from the original patch.
-This will help us avoid conflicts.
-
-Upstream-Status: Pending
-
-Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
----
- gcc/testsuite/gcc.dg/pr56275.c | 2 +-
- gcc/testsuite/gcc.dg/pr68306-2.c | 2 +-
- gcc/testsuite/gcc.dg/pr68306-3.c | 2 +-
- gcc/testsuite/gcc.dg/pr68306.c | 2 +-
- gcc/testsuite/gcc.dg/pr69634.c | 2 +-
- gcc/testsuite/gcc.target/i386/amd64-abi-1.c | 2 +-
- gcc/testsuite/gcc.target/i386/funcspec-6.c | 1 +
- gcc/testsuite/gcc.target/i386/interrupt-387-err-1.c | 2 +-
- gcc/testsuite/gcc.target/i386/isa-14.c | 2 +-
- gcc/testsuite/gcc.target/i386/pr44948-2b.c | 2 +-
- gcc/testsuite/gcc.target/i386/pr53425-1.c | 2 +-
- gcc/testsuite/gcc.target/i386/pr53425-2.c | 2 +-
- gcc/testsuite/gcc.target/i386/pr55247.c | 2 +-
- gcc/testsuite/gcc.target/i386/pr59644.c | 2 +-
- gcc/testsuite/gcc.target/i386/pr62120.c | 2 +-
- gcc/testsuite/gcc.target/i386/pr70467-1.c | 2 +-
- gcc/testsuite/gcc.target/i386/warn-vect-op-1.c | 2 +-
- 17 files changed, 17 insertions(+), 16 deletions(-)
-
-diff --git a/gcc/testsuite/gcc.dg/pr56275.c b/gcc/testsuite/gcc.dg/pr56275.c
-index b901bb2b199..a4f6c95e1a1 100644
---- a/gcc/testsuite/gcc.dg/pr56275.c
-+++ b/gcc/testsuite/gcc.dg/pr56275.c
-@@ -1,6 +1,6 @@
- /* { dg-do compile } */
- /* { dg-options "-O2" } */
--/* { dg-additional-options "-mno-sse" { target { i?86-*-* x86_64-*-* } } } */
-+/* { dg-additional-options "-mno-sse -mfpmath=387" { target { i?86-*-* x86_64-*-* } } } */
-
- typedef long long v2tw __attribute__ ((vector_size (2 * sizeof (long long))));
-
-diff --git a/gcc/testsuite/gcc.dg/pr68306-2.c b/gcc/testsuite/gcc.dg/pr68306-2.c
-index 4672ebe7987..2a368c484b6 100644
---- a/gcc/testsuite/gcc.dg/pr68306-2.c
-+++ b/gcc/testsuite/gcc.dg/pr68306-2.c
-@@ -1,6 +1,6 @@
- /* { dg-do compile } */
- /* { dg-options "-O3" } */
--/* { dg-additional-options "-mno-sse -mno-mmx" { target i?86-*-* x86_64-*-* } } */
-+/* { dg-additional-options "-mno-sse -mno-mmx -mfpmath=387" { target i?86-*-* x86_64-*-* } } */
-
- struct {
- int tz_minuteswest;
-diff --git a/gcc/testsuite/gcc.dg/pr68306-3.c b/gcc/testsuite/gcc.dg/pr68306-3.c
-index f5a8c102cf8..df3390c64c2 100644
---- a/gcc/testsuite/gcc.dg/pr68306-3.c
-+++ b/gcc/testsuite/gcc.dg/pr68306-3.c
-@@ -1,6 +1,6 @@
- /* { dg-do compile } */
- /* { dg-options "-O3" } */
--/* { dg-additional-options "-mno-sse -mno-mmx" { target i?86-*-* x86_64-*-* } } */
-+/* { dg-additional-options "-mno-sse -mno-mmx -mfpmath=387" { target i?86-*-* x86_64-*-* } } */
- /* { dg-additional-options "-mno-altivec -mno-vsx" { target powerpc*-*-* } } */
-
- extern void fn2();
-diff --git a/gcc/testsuite/gcc.dg/pr68306.c b/gcc/testsuite/gcc.dg/pr68306.c
-index 54e5b40f221..0813389e2c1 100644
---- a/gcc/testsuite/gcc.dg/pr68306.c
-+++ b/gcc/testsuite/gcc.dg/pr68306.c
-@@ -1,6 +1,6 @@
- /* { dg-do compile } */
- /* { dg-options "-O3" } */
--/* { dg-additional-options "-mno-sse -mno-mmx" { target i?86-*-* x86_64-*-* } } */
-+/* { dg-additional-options "-mno-sse -mno-mmx -mfpmath=387" { target i?86-*-* x86_64-*-* } } */
-
- enum powerpc_pmc_type { PPC_PMC_IBM };
- struct {
-diff --git a/gcc/testsuite/gcc.dg/pr69634.c b/gcc/testsuite/gcc.dg/pr69634.c
-index 60a56149463..bcc23f9ccd6 100644
---- a/gcc/testsuite/gcc.dg/pr69634.c
-+++ b/gcc/testsuite/gcc.dg/pr69634.c
-@@ -1,6 +1,6 @@
- /* { dg-do compile } */
- /* { dg-options "-O2 -fno-dce -fschedule-insns -fno-tree-vrp -fcompare-debug -Wno-psabi" } */
--/* { dg-additional-options "-mno-sse" { target i?86-*-* x86_64-*-* } } */
-+/* { dg-additional-options "-mno-sse -mfpmath=387" { target i?86-*-* x86_64-*-* } } */
- /* { dg-require-effective-target scheduling } */
-
- typedef unsigned short u16;
-diff --git a/gcc/testsuite/gcc.target/i386/amd64-abi-1.c b/gcc/testsuite/gcc.target/i386/amd64-abi-1.c
-index 69fde57bf06..7f1f1c03edf 100644
---- a/gcc/testsuite/gcc.target/i386/amd64-abi-1.c
-+++ b/gcc/testsuite/gcc.target/i386/amd64-abi-1.c
-@@ -1,5 +1,5 @@
- /* { dg-do compile { target { ! ia32 } } } */
--/* { dg-options "-mno-sse" } */
-+/* { dg-options "-mno-sse -mfpmath=387" } */
- /* { dg-additional-options "-mabi=sysv" { target *-*-mingw* } } */
-
- double foo(void) { return 0; } /* { dg-error "SSE disabled" } */
-diff --git a/gcc/testsuite/gcc.target/i386/funcspec-6.c b/gcc/testsuite/gcc.target/i386/funcspec-6.c
-index ea896b7ebfd..bf15569b826 100644
---- a/gcc/testsuite/gcc.target/i386/funcspec-6.c
-+++ b/gcc/testsuite/gcc.target/i386/funcspec-6.c
-@@ -1,6 +1,7 @@
- /* Test whether all of the 64-bit function specific options are accepted
- without error. */
- /* { dg-do compile { target { ! ia32 } } } */
-+/* { dg-additional-options "-mfpmath=387" } */
-
- #include "funcspec-56.inc"
-
-diff --git a/gcc/testsuite/gcc.target/i386/interrupt-387-err-1.c b/gcc/testsuite/gcc.target/i386/interrupt-387-err-1.c
-index 8561a3c26d6..6377f814645 100644
---- a/gcc/testsuite/gcc.target/i386/interrupt-387-err-1.c
-+++ b/gcc/testsuite/gcc.target/i386/interrupt-387-err-1.c
-@@ -1,5 +1,5 @@
- /* { dg-do compile } */
--/* { dg-options "-O2 -mgeneral-regs-only -mno-cld -mno-iamcu -m80387" } */
-+/* { dg-options "-O2 -mgeneral-regs-only -mno-cld -mno-iamcu -m80387 -mfpmath=387" } */
-
- typedef unsigned int uword_t __attribute__ ((mode (__word__)));
-
-diff --git a/gcc/testsuite/gcc.target/i386/isa-14.c b/gcc/testsuite/gcc.target/i386/isa-14.c
-index 5d49e6e77fe..1de2db92bdd 100644
---- a/gcc/testsuite/gcc.target/i386/isa-14.c
-+++ b/gcc/testsuite/gcc.target/i386/isa-14.c
-@@ -1,5 +1,5 @@
- /* { dg-do run } */
--/* { dg-options "-march=x86-64 -msse4a -mfma4 -mno-sse" } */
-+/* { dg-options "-march=x86-64 -msse4a -mfma4 -mno-sse -mfpmath=387" } */
-
- extern void abort (void);
-
-diff --git a/gcc/testsuite/gcc.target/i386/pr44948-2b.c b/gcc/testsuite/gcc.target/i386/pr44948-2b.c
-index fa1769b62fb..f79fb12726f 100644
---- a/gcc/testsuite/gcc.target/i386/pr44948-2b.c
-+++ b/gcc/testsuite/gcc.target/i386/pr44948-2b.c
-@@ -1,5 +1,5 @@
- /* { dg-do compile } */
--/* { dg-options "-O -mno-sse -Wno-psabi -mtune=generic" } */
-+/* { dg-options "-O -mno-sse -Wno-psabi -mtune=generic -mfpmath=387" } */
-
- struct A
- {
-diff --git a/gcc/testsuite/gcc.target/i386/pr53425-1.c b/gcc/testsuite/gcc.target/i386/pr53425-1.c
-index 2e89ff7d81d..6339bf6b736 100644
---- a/gcc/testsuite/gcc.target/i386/pr53425-1.c
-+++ b/gcc/testsuite/gcc.target/i386/pr53425-1.c
-@@ -1,6 +1,6 @@
- /* PR target/53425 */
- /* { dg-do compile { target { ! ia32 } } } */
--/* { dg-options "-O2 -mno-sse" } */
-+/* { dg-options "-O2 -mno-sse -mfpmath=387" } */
- /* { dg-skip-if "no SSE vector" { x86_64-*-mingw* } } */
-
- typedef double __v2df __attribute__ ((__vector_size__ (16)));
-diff --git a/gcc/testsuite/gcc.target/i386/pr53425-2.c b/gcc/testsuite/gcc.target/i386/pr53425-2.c
-index 61f6283dbe9..2c5a55f0ac3 100644
---- a/gcc/testsuite/gcc.target/i386/pr53425-2.c
-+++ b/gcc/testsuite/gcc.target/i386/pr53425-2.c
-@@ -1,6 +1,6 @@
- /* PR target/53425 */
- /* { dg-do compile { target { ! ia32 } } } */
--/* { dg-options "-O2 -mno-sse" } */
-+/* { dg-options "-O2 -mno-sse -mfpmath=387" } */
- /* { dg-skip-if "no SSE vector" { x86_64-*-mingw* } } */
-
- typedef float __v2sf __attribute__ ((__vector_size__ (8)));
-diff --git a/gcc/testsuite/gcc.target/i386/pr55247.c b/gcc/testsuite/gcc.target/i386/pr55247.c
-index 23366d0909d..9810e3abb76 100644
---- a/gcc/testsuite/gcc.target/i386/pr55247.c
-+++ b/gcc/testsuite/gcc.target/i386/pr55247.c
-@@ -1,6 +1,6 @@
- /* { dg-do compile { target { ! ia32 } } } */
- /* { dg-require-effective-target maybe_x32 } */
--/* { dg-options "-O2 -mno-sse -mno-mmx -mx32 -maddress-mode=long" } */
-+/* { dg-options "-O2 -mno-sse -mno-mmx -mx32 -maddress-mode=long -mfpmath=387" } */
-
- typedef unsigned int uint32_t;
- typedef uint32_t Elf32_Word;
-diff --git a/gcc/testsuite/gcc.target/i386/pr59644.c b/gcc/testsuite/gcc.target/i386/pr59644.c
-index 96006b3e338..4287e4538bf 100644
---- a/gcc/testsuite/gcc.target/i386/pr59644.c
-+++ b/gcc/testsuite/gcc.target/i386/pr59644.c
-@@ -1,6 +1,6 @@
- /* PR target/59644 */
- /* { dg-do run { target lp64 } } */
--/* { dg-options "-O2 -ffreestanding -mno-sse -mpreferred-stack-boundary=3 -maccumulate-outgoing-args -mno-red-zone" } */
-+/* { dg-options "-O2 -ffreestanding -mno-sse -mpreferred-stack-boundary=3 -maccumulate-outgoing-args -mno-red-zone -mfpmath=387" } */
-
- /* This test uses __builtin_trap () instead of e.g. abort,
- because due to -mpreferred-stack-boundary=3 it should not call
-diff --git a/gcc/testsuite/gcc.target/i386/pr62120.c b/gcc/testsuite/gcc.target/i386/pr62120.c
-index 28d85d37712..c93266bd4bc 100644
---- a/gcc/testsuite/gcc.target/i386/pr62120.c
-+++ b/gcc/testsuite/gcc.target/i386/pr62120.c
-@@ -1,5 +1,5 @@
- /* { dg-do compile } */
--/* { dg-options "-mno-sse" } */
-+/* { dg-options "-mno-sse -mfpmath=387" } */
-
- void foo ()
- {
-diff --git a/gcc/testsuite/gcc.target/i386/pr70467-1.c b/gcc/testsuite/gcc.target/i386/pr70467-1.c
-index 4e112c88d07..bcfb396a68d 100644
---- a/gcc/testsuite/gcc.target/i386/pr70467-1.c
-+++ b/gcc/testsuite/gcc.target/i386/pr70467-1.c
-@@ -1,6 +1,6 @@
- /* PR rtl-optimization/70467 */
- /* { dg-do compile } */
--/* { dg-options "-O2 -mno-sse" } */
-+/* { dg-options "-O2 -mno-sse -mfpmath=387" } */
-
- void foo (unsigned long long *);
-
-diff --git a/gcc/testsuite/gcc.target/i386/warn-vect-op-1.c b/gcc/testsuite/gcc.target/i386/warn-vect-op-1.c
-index 6cda1534311..26e37f5b8ba 100644
---- a/gcc/testsuite/gcc.target/i386/warn-vect-op-1.c
-+++ b/gcc/testsuite/gcc.target/i386/warn-vect-op-1.c
-@@ -1,5 +1,5 @@
- /* { dg-do compile { target { ! ia32 } } } */
--/* { dg-options "-mno-sse -Wvector-operation-performance" } */
-+/* { dg-options "-mno-sse -Wvector-operation-performance -mfpmath=387" } */
- #define vector(elcount, type) \
- __attribute__((vector_size((elcount)*sizeof(type)))) type
-
diff --git a/meta/recipes-devtools/gcc/gcc/0036-mingw32-Enable-operation_not_supported.patch b/meta/recipes-devtools/gcc/gcc/0036-mingw32-Enable-operation_not_supported.patch
deleted file mode 100644
index de82a3a539..0000000000
--- a/meta/recipes-devtools/gcc/gcc/0036-mingw32-Enable-operation_not_supported.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From 6f87a095f0e696bec07a50df789c9db8bdbca43d Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Tue, 12 May 2020 10:39:09 -0700
-Subject: [PATCH] mingw32: Enable operation_not_supported
-
-Fixes nativesdk build errors on mingw32 gcc-runtime
-
-Upstream-Status: Pending
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
- libstdc++-v3/config/os/mingw32/error_constants.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/libstdc++-v3/config/os/mingw32/error_constants.h b/libstdc++-v3/config/os/mingw32/error_constants.h
-index 68ac72a78fb..71cd5815b81 100644
---- a/libstdc++-v3/config/os/mingw32/error_constants.h
-+++ b/libstdc++-v3/config/os/mingw32/error_constants.h
-@@ -107,7 +107,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
- #ifdef _GLIBCXX_HAVE_EPERM
- operation_not_permitted = EPERM,
- #endif
--// operation_not_supported = EOPNOTSUPP,
-+ operation_not_supported = EOPNOTSUPP,
- #ifdef _GLIBCXX_HAVE_EWOULDBLOCK
- operation_would_block = EWOULDBLOCK,
- #endif
diff --git a/meta/recipes-devtools/gcc/gcc_10.2.bb b/meta/recipes-devtools/gcc/gcc_14.1.bb
index 7d93590588..255fe552bd 100644
--- a/meta/recipes-devtools/gcc/gcc_10.2.bb
+++ b/meta/recipes-devtools/gcc/gcc_14.1.bb
@@ -4,11 +4,11 @@ require gcc-target.inc
# Building with thumb enabled on armv4t armv5t fails with
# | gcc-4.8.1-r0/gcc-4.8.1/gcc/cp/decl.c:7438:(.text.unlikely+0x2fa): relocation truncated to fit: R_ARM_THM_CALL against symbol `fancy_abort(char const*, int, char const*)' defined in .glue_7 section in linker stubs
# | gcc-4.8.1-r0/gcc-4.8.1/gcc/cp/decl.c:7442:(.text.unlikely+0x318): additional relocation overflows omitted from the output
-ARM_INSTRUCTION_SET_armv4 = "arm"
-ARM_INSTRUCTION_SET_armv5 = "arm"
+ARM_INSTRUCTION_SET:armv4 = "arm"
+ARM_INSTRUCTION_SET:armv5 = "arm"
-ARMFPARCHEXT_armv6 = "${@'+fp' if d.getVar('TARGET_FPU') == 'hard' else ''}"
-ARMFPARCHEXT_armv7a = "${@'+fp' if d.getVar('TARGET_FPU') == 'hard' else ''}"
-ARMFPARCHEXT_armv7ve = "${@'+fp' if d.getVar('TARGET_FPU') == 'hard' else ''}"
+ARMFPARCHEXT:armv6 = "${@'+fp' if d.getVar('TARGET_FPU') == 'hard' else ''}"
+ARMFPARCHEXT:armv7a = "${@'+fp' if d.getVar('TARGET_FPU') == 'hard' else ''}"
+ARMFPARCHEXT:armv7ve = "${@'+fp' if d.getVar('TARGET_FPU') == 'hard' else ''}"
BBCLASSEXTEND = "nativesdk"
diff --git a/meta/recipes-devtools/gcc/libgcc-common.inc b/meta/recipes-devtools/gcc/libgcc-common.inc
index d959566c3f..d9084af51a 100644
--- a/meta/recipes-devtools/gcc/libgcc-common.inc
+++ b/meta/recipes-devtools/gcc/libgcc-common.inc
@@ -10,8 +10,7 @@ do_configure () {
mkdir -p ${B}/${TARGET_SYS}/${BPN}/
cd ${B}/${BPN}
chmod a+x ${S}/${BPN}/configure
- relpath=${@os.path.relpath("${S}/${BPN}", "${B}/${BPN}")}
- $relpath/configure ${CONFIGUREOPTS} ${EXTRA_OECONF}
+ ${S}/${BPN}/configure ${CONFIGUREOPTS} ${EXTRA_OECONF}
}
EXTRACONFFUNCS += "extract_stashed_builddir"
do_configure[depends] += "${COMPILERDEP}"
@@ -44,16 +43,20 @@ do_install () {
rm -rf ${D}${libdir}/${TARGET_SYS}/${BINV}/include
}
-do_install_append_libc-baremetal () {
- rmdir ${D}${base_libdir}
+do_install:append:libc-baremetal () {
+ if [ "${base_libdir}" != "${libdir}" ]; then
+ rmdir ${D}${base_libdir}
+ fi
}
-do_install_append_libc-newlib () {
- rmdir ${D}${base_libdir}
+do_install:append:libc-newlib () {
+ if [ "${base_libdir}" != "${libdir}" ]; then
+ rmdir ${D}${base_libdir}
+ fi
}
# No rpm package is actually created but -dev depends on it, avoid dnf error
-RDEPENDS_${PN}-dev_libc-baremetal = ""
-RDEPENDS_${PN}-dev_libc-newlib = ""
+DEV_PKG_DEPENDENCY:libc-baremetal = ""
+DEV_PKG_DEPENDENCY:libc-newlib = ""
BBCLASSEXTEND = "nativesdk"
@@ -98,9 +101,9 @@ fakeroot python do_multilib_install() {
for ml in multilibs.split():
- tune = d.getVar('DEFAULTTUNE_virtclass-multilib-' + ml)
+ tune = d.getVar('DEFAULTTUNE:virtclass-multilib-' + ml)
if not tune:
- bb.warn('DEFAULTTUNE_virtclass-multilib-%s is not defined. Skipping...' % ml)
+ bb.warn('DEFAULTTUNE:virtclass-multilib-%s is not defined. Skipping...' % ml)
continue
tune_parameters = get_tune_parameters(tune, d)
diff --git a/meta/recipes-devtools/gcc/libgcc-initial.inc b/meta/recipes-devtools/gcc/libgcc-initial.inc
index 06bf224f73..8251e3c286 100644
--- a/meta/recipes-devtools/gcc/libgcc-initial.inc
+++ b/meta/recipes-devtools/gcc/libgcc-initial.inc
@@ -42,17 +42,17 @@ inherit nopackages
# We really only want this built by things that need it, not any recrdeptask
deltask do_build
-do_configure_prepend () {
+do_configure:prepend () {
install -d ${STAGING_INCDIR}
touch ${STAGING_INCDIR}/limits.h
sed -i -e 's#INHIBIT_LIBC_CFLAGS =.*#INHIBIT_LIBC_CFLAGS = -Dinhibit_libc#' ${B}/gcc/libgcc.mvars
sed -i -e 's#inhibit_libc = false#inhibit_libc = true#' ${B}/gcc/Makefile
}
-do_configure_append () {
+do_configure:append () {
sed -i -e 's#thread_header = .*#thread_header = gthr-single.h#' ${B}/${BPN}/Makefile
}
-do_install_append () {
+do_install:append () {
ln -s libgcc.a ${D}${libdir}/${TARGET_SYS}/${BINV}/libgcc_eh.a
}
diff --git a/meta/recipes-devtools/gcc/libgcc-initial_10.2.bb b/meta/recipes-devtools/gcc/libgcc-initial_14.1.bb
index 0c698c26ec..a259082b47 100644
--- a/meta/recipes-devtools/gcc/libgcc-initial_10.2.bb
+++ b/meta/recipes-devtools/gcc/libgcc-initial_14.1.bb
@@ -2,4 +2,4 @@ require recipes-devtools/gcc/gcc-${PV}.inc
require libgcc-initial.inc
# Building with thumb enabled on armv6t fails
-ARM_INSTRUCTION_SET_armv6 = "arm"
+ARM_INSTRUCTION_SET:armv6 = "arm"
diff --git a/meta/recipes-devtools/gcc/libgcc.inc b/meta/recipes-devtools/gcc/libgcc.inc
index 6d48ec9809..84a2d930df 100644
--- a/meta/recipes-devtools/gcc/libgcc.inc
+++ b/meta/recipes-devtools/gcc/libgcc.inc
@@ -2,7 +2,7 @@ require libgcc-common.inc
DEPENDS = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++ virtual/${MLPREFIX}libc"
-do_install_append_class-target () {
+do_install:append:class-target () {
if [ "${TCLIBC}" != "glibc" ]; then
case "${TARGET_OS}" in
"linux-musl" | "linux-*spe") extra_target_os="linux";;
@@ -32,12 +32,12 @@ PACKAGES = "\
# All libgcc source is marked with the exception.
#
-LICENSE_${PN} = "GPL-3.0-with-GCC-exception"
-LICENSE_${PN}-dev = "GPL-3.0-with-GCC-exception"
-LICENSE_${PN}-dbg = "GPL-3.0-with-GCC-exception"
+LICENSE:${PN} = "GPL-3.0-with-GCC-exception"
+LICENSE:${PN}-dev = "GPL-3.0-with-GCC-exception"
+LICENSE:${PN}-dbg = "GPL-3.0-with-GCC-exception"
-FILES_${PN}-dev = "\
+FILES:${PN}-dev = "\
${base_libdir}/libgcc*.so \
${@oe.utils.conditional('BASETARGET_SYS', '${TARGET_SYS}', '', '${libdir}/${BASETARGET_SYS}', d)} \
${libdir}/${TARGET_SYS}/${BINV}* \
@@ -49,5 +49,5 @@ do_package_write_ipk[depends] += "virtual/${MLPREFIX}libc:do_packagedata"
do_package_write_deb[depends] += "virtual/${MLPREFIX}libc:do_packagedata"
do_package_write_rpm[depends] += "virtual/${MLPREFIX}libc:do_packagedata"
-INSANE_SKIP_${PN}-dev = "staticdev"
+INSANE_SKIP:${PN}-dev = "staticdev"
diff --git a/meta/recipes-devtools/gcc/libgcc_10.2.bb b/meta/recipes-devtools/gcc/libgcc_14.1.bb
index ea210a1130..fdcd6cc0da 100644
--- a/meta/recipes-devtools/gcc/libgcc_10.2.bb
+++ b/meta/recipes-devtools/gcc/libgcc_14.1.bb
@@ -1,5 +1,7 @@
require recipes-devtools/gcc/gcc-${PV}.inc
require libgcc.inc
+LDFLAGS += "-fuse-ld=bfd"
+
# Building with thumb enabled on armv6t fails
-ARM_INSTRUCTION_SET_armv6 = "arm"
+ARM_INSTRUCTION_SET:armv6 = "arm"
diff --git a/meta/recipes-devtools/gcc/libgfortran.inc b/meta/recipes-devtools/gcc/libgfortran.inc
index 7543585e6e..e810146d4d 100644
--- a/meta/recipes-devtools/gcc/libgfortran.inc
+++ b/meta/recipes-devtools/gcc/libgfortran.inc
@@ -5,6 +5,11 @@ EXTRA_OECONF_PATHS = "\
--with-build-sysroot=${STAGING_DIR_TARGET} \
"
+# An arm hard float target like raspberrypi4 won't build
+# as CFLAGS don't make it to the fortran compiler otherwise
+# (the configure script sets FC to $GFORTRAN unconditionally)
+export GFORTRAN = "${FC}"
+
do_configure () {
for target in libbacktrace libgfortran
do
@@ -54,12 +59,12 @@ PACKAGES = "\
libgfortran-staticdev \
"
-LICENSE_${PN} = "GPL-3.0-with-GCC-exception"
-LICENSE_${PN}-dev = "GPL-3.0-with-GCC-exception"
-LICENSE_${PN}-dbg = "GPL-3.0-with-GCC-exception"
+LICENSE:${PN} = "GPL-3.0-with-GCC-exception"
+LICENSE:${PN}-dev = "GPL-3.0-with-GCC-exception"
+LICENSE:${PN}-dbg = "GPL-3.0-with-GCC-exception"
-FILES_${PN} = "${libdir}/libgfortran.so.*"
-FILES_${PN}-dev = "\
+FILES:${PN} = "${libdir}/libgfortran.so.*"
+FILES:${PN}-dev = "\
${libdir}/libgfortran*.so \
${libdir}/libgfortran.spec \
${libdir}/libgfortran.la \
@@ -68,9 +73,9 @@ FILES_${PN}-dev = "\
${libdir}/gcc/${TARGET_SYS}/${BINV}/finclude/ \
${libdir}/gcc/${TARGET_SYS}/${BINV}/include/ \
"
-FILES_${PN}-staticdev = "${libdir}/libgfortran.a"
+FILES:${PN}-staticdev = "${libdir}/libgfortran.a"
-INSANE_SKIP_${MLPREFIX}libgfortran-dev = "staticdev"
+INSANE_SKIP:${MLPREFIX}libgfortran-dev = "staticdev"
do_package_write_ipk[depends] += "virtual/${MLPREFIX}libc:do_packagedata"
do_package_write_deb[depends] += "virtual/${MLPREFIX}libc:do_packagedata"
diff --git a/meta/recipes-devtools/gcc/libgfortran_10.2.bb b/meta/recipes-devtools/gcc/libgfortran_14.1.bb
index 71dd8b4bdc..71dd8b4bdc 100644
--- a/meta/recipes-devtools/gcc/libgfortran_10.2.bb
+++ b/meta/recipes-devtools/gcc/libgfortran_14.1.bb
diff --git a/meta/recipes-devtools/gdb/gdb-10.1.inc b/meta/recipes-devtools/gdb/gdb-10.1.inc
deleted file mode 100644
index 4b8de2b4e6..0000000000
--- a/meta/recipes-devtools/gdb/gdb-10.1.inc
+++ /dev/null
@@ -1,20 +0,0 @@
-LICENSE = "GPLv2 & GPLv3 & LGPLv2 & LGPLv3"
-LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
- file://COPYING3;md5=d32239bcb673463ab874e80d47fae504 \
- file://COPYING3.LIB;md5=6a6a8e020838b23406c81b19c1d46df6 \
- file://COPYING.LIB;md5=9f604d8a4f8e74f4f5140845a21b6674"
-
-SRC_URI = "${GNU_MIRROR}/gdb/gdb-${PV}.tar.xz \
- file://0001-make-man-install-relative-to-DESTDIR.patch \
- file://0002-mips-linux-nat-Define-_ABIO32-if-not-defined.patch \
- file://0003-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch \
- file://0004-Add-support-for-Renesas-SH-sh4-architecture.patch \
- file://0005-Dont-disable-libreadline.a-when-using-disable-static.patch \
- file://0006-use-asm-sgidefs.h.patch \
- file://0007-Use-exorted-definitions-of-SIGRTMIN.patch \
- file://0008-Change-order-of-CFLAGS.patch \
- file://0009-resolve-restrict-keyword-conflict.patch \
- file://0010-Fix-invalid-sigprocmask-call.patch \
- file://0011-gdbserver-ctrl-c-handling.patch \
- "
-SRC_URI[sha256sum] = "f82f1eceeec14a3afa2de8d9b0d3c91d5a3820e23e0a01bbb70ef9f0276b62c0"
diff --git a/meta/recipes-devtools/gdb/gdb-common.inc b/meta/recipes-devtools/gdb/gdb-common.inc
index bfb8013d67..ea1fc27a61 100644
--- a/meta/recipes-devtools/gdb/gdb-common.inc
+++ b/meta/recipes-devtools/gdb/gdb-common.inc
@@ -1,13 +1,14 @@
SUMMARY = "GNU debugger"
HOMEPAGE = "http://www.gnu.org/software/gdb/"
+DESCRIPTION = "GDB, the GNU Project debugger, allows you to see what is going on inside another program while it executes -- or what another program was doing at the moment it crashed."
SECTION = "devel"
-DEPENDS = "expat zlib ncurses virtual/libiconv ${LTTNGUST} bison-native"
+DEPENDS = "expat gmp mpfr zlib ncurses virtual/libiconv ${LTTNGUST} bison-native"
LTTNGUST = "lttng-ust"
-LTTNGUST_arc = ""
-LTTNGUST_aarch64 = ""
-LTTNGUST_mipsarch = ""
-LTTNGUST_sh4 = ""
+LTTNGUST:arc = ""
+LTTNGUST:aarch64 = ""
+LTTNGUST:mipsarch = ""
+LTTNGUST:sh4 = ""
inherit autotools texinfo
@@ -26,16 +27,19 @@ EXTRA_OECONF = "--disable-gdbtk --disable-x --disable-werror \
--disable-gas --disable-binutils \
--disable-ld --disable-gold \
--disable-gprof \
+ --with-libgmp-prefix=${STAGING_EXECPREFIXDIR} \
"
-PACKAGECONFIG ??= "readline"
+PACKAGECONFIG ??= "readline ${@bb.utils.filter('DISTRO_FEATURES', 'debuginfod', d)} python \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'minidebuginfo', 'xz', '', d)} \
+ "
# Use --without-system-readline to compile with readline 5.
PACKAGECONFIG[readline] = "--with-system-readline,--without-system-readline,readline"
-PACKAGECONFIG[python] = "--with-python=${WORKDIR}/python,--without-python,python3,python3 python3-codecs"
+PACKAGECONFIG[python] = "--with-python=${WORKDIR}/python,--without-python,python3,python3-codecs"
PACKAGECONFIG[babeltrace] = "--with-babeltrace,--without-babeltrace,babeltrace"
-# ncurses is already a hard DEPENDS, but would be added here if it weren't
-PACKAGECONFIG[tui] = "--enable-tui,--disable-tui"
-PACKAGECONFIG[xz] = "--with-lzma,--without-lzma,xz"
+PACKAGECONFIG[tui] = "--enable-tui,--disable-tui,,ncurses-terminfo-base"
+PACKAGECONFIG[xz] = "--with-lzma --with-liblzma-prefix=${STAGING_DIR_HOST},--without-lzma,xz"
+PACKAGECONFIG[debuginfod] = "--with-debuginfod, --without-debuginfod, elfutils"
GDBPROPREFIX = "--program-prefix=''"
@@ -50,14 +54,15 @@ do_configure () {
# we don't want gdb to provide bfd/iberty/opcodes, which instead will override the
# right bits installed by binutils. Same for bfd.info -- also from binutils.
-do_install_append() {
+do_install:append() {
rm -rf ${D}${libdir}
rm -rf ${D}${includedir}
rm -rf ${D}${datadir}/locale
rm -f ${D}${infodir}/bfd.info
+ rm -f ${D}${infodir}/sframe-spec.info
}
-RRECOMMENDS_gdb_append_linux = " glibc-thread-db "
-RRECOMMENDS_gdb_append_linux-gnueabi = " glibc-thread-db "
-RRECOMMENDS_gdbserver_append_linux = " glibc-thread-db "
-RRECOMMENDS_gdbserver_append_linux-gnueabi = " glibc-thread-db "
+RRECOMMENDS:gdb:append:linux = " glibc-thread-db "
+RRECOMMENDS:gdb:append:linux-gnueabi = " glibc-thread-db "
+RRECOMMENDS:gdbserver:append:linux = " glibc-thread-db "
+RRECOMMENDS:gdbserver:append:linux-gnueabi = " glibc-thread-db "
diff --git a/meta/recipes-devtools/gdb/gdb-cross-canadian.inc b/meta/recipes-devtools/gdb/gdb-cross-canadian.inc
index c9daf25a41..058ffbc9c5 100644
--- a/meta/recipes-devtools/gdb/gdb-cross-canadian.inc
+++ b/meta/recipes-devtools/gdb/gdb-cross-canadian.inc
@@ -1,26 +1,28 @@
inherit cross-canadian
inherit python3-dir
+inherit pkgconfig
SUMMARY = "GNU debugger (cross-canadian gdb for ${TARGET_ARCH} target)"
PN = "gdb-cross-canadian-${TRANSLATED_TARGET_ARCH}"
BPN = "gdb"
-DEPENDS = "nativesdk-ncurses nativesdk-expat nativesdk-gettext \
- virtual/${HOST_PREFIX}gcc-crosssdk virtual/${HOST_PREFIX}binutils-crosssdk virtual/nativesdk-libc"
+DEPENDS = "nativesdk-ncurses nativesdk-expat nativesdk-gettext nativesdk-gmp nativesdk-mpfr \
+ virtual/${HOST_PREFIX}gcc virtual/${HOST_PREFIX}binutils virtual/nativesdk-libc"
GDBPROPREFIX = "--program-prefix='${TARGET_PREFIX}'"
# Overrides PACKAGECONFIG variables in gdb-common.inc
-PACKAGECONFIG ??= "python readline"
+PACKAGECONFIG ??= "python readline ${@bb.utils.filter('DISTRO_FEATURES', 'debuginfod', d)}"
PACKAGECONFIG[python] = "--with-python=${WORKDIR}/python,--without-python,nativesdk-python3, \
nativesdk-python3-core \
nativesdk-python3-codecs nativesdk-python3-netclient \
"
PACKAGECONFIG[readline] = "--with-system-readline,--without-system-readline,nativesdk-readline"
+PACKAGECONFIG[debuginfod] = "--with-debuginfod, --without-debuginfod, nativesdk-elfutils"
-SSTATE_DUPWHITELIST += "${STAGING_DATADIR}/gdb"
+SSTATE_ALLOW_OVERLAP_FILES += "${STAGING_DATADIR}/gdb"
-do_configure_prepend() {
+do_configure:prepend() {
cat > ${WORKDIR}/python << EOF
#! /bin/sh
case "\$2" in
@@ -36,7 +38,7 @@ EOF
# we don't want gdb to provide bfd/iberty/opcodes, which instead will override the
# right bits installed by binutils.
-do_install_append() {
+do_install:append() {
rm -rf ${D}${exec_prefix}/lib
cross_canadian_bindirlinks
}
diff --git a/meta/recipes-devtools/gdb/gdb-cross-canadian_10.1.bb b/meta/recipes-devtools/gdb/gdb-cross-canadian_14.2.bb
index 301035940c..4ab2b7156d 100644
--- a/meta/recipes-devtools/gdb/gdb-cross-canadian_10.1.bb
+++ b/meta/recipes-devtools/gdb/gdb-cross-canadian_14.2.bb
@@ -1,3 +1,3 @@
require gdb-common.inc
require gdb-cross-canadian.inc
-require gdb-${PV}.inc
+require gdb.inc
diff --git a/meta/recipes-devtools/gdb/gdb-cross.inc b/meta/recipes-devtools/gdb/gdb-cross.inc
index ebe329f6d3..399f4bba97 100644
--- a/meta/recipes-devtools/gdb/gdb-cross.inc
+++ b/meta/recipes-devtools/gdb/gdb-cross.inc
@@ -1,15 +1,16 @@
require gdb-common.inc
-DEPENDS = "expat-native ncurses-native flex-native bison-native"
+DEPENDS = "expat-native gmp-native mpfr-native ncurses-native flex-native bison-native"
-inherit python3native
+inherit python3native pkgconfig
# Overrides PACKAGECONFIG variables in gdb-common.inc
-PACKAGECONFIG ??= "python readline"
+PACKAGECONFIG ??= "python readline ${@bb.utils.filter('DISTRO_FEATURES', 'debuginfod', d)}"
PACKAGECONFIG[python] = "--with-python=${PYTHON},--without-python,python3-native"
PACKAGECONFIG[readline] = "--with-system-readline,--without-system-readline,readline-native"
+PACKAGECONFIG[debuginfod] = "--with-debuginfod, --without-debuginfod, elfutils-native"
-do_compile_prepend() {
+do_compile:prepend() {
export STAGING_LIBDIR="${STAGING_LIBDIR_NATIVE}"
export STAGING_INCDIR="${STAGING_INCDIR_NATIVE}"
}
diff --git a/meta/recipes-devtools/gdb/gdb-cross_10.1.bb b/meta/recipes-devtools/gdb/gdb-cross_14.2.bb
index 50cf159fdb..3b654a2f0d 100644
--- a/meta/recipes-devtools/gdb/gdb-cross_10.1.bb
+++ b/meta/recipes-devtools/gdb/gdb-cross_14.2.bb
@@ -1,2 +1,2 @@
require gdb-cross.inc
-require gdb-${PV}.inc
+require gdb.inc
diff --git a/meta/recipes-devtools/gdb/gdb.inc b/meta/recipes-devtools/gdb/gdb.inc
index 249e24dc52..c2fbcb2ac6 100644
--- a/meta/recipes-devtools/gdb/gdb.inc
+++ b/meta/recipes-devtools/gdb/gdb.inc
@@ -1,14 +1,16 @@
-require gdb-common.inc
-
-inherit gettext
-
-#LDFLAGS_append = " -s"
-#export CFLAGS_append=" -L${STAGING_LIBDIR}"
-
-# cross-canadian must not see this
-PACKAGES =+ "gdbserver"
-FILES_gdbserver = "${bindir}/gdbserver"
-
-ALLOW_EMPTY_gdbserver_riscv64 = "1"
-ALLOW_EMPTY_gdbserver_riscv32 = "1"
+LICENSE = "GPL-2.0-only & GPL-3.0-only & LGPL-2.0-only & LGPL-3.0-only"
+LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
+ file://COPYING3;md5=d32239bcb673463ab874e80d47fae504 \
+ file://COPYING3.LIB;md5=6a6a8e020838b23406c81b19c1d46df6 \
+ file://COPYING.LIB;md5=9f604d8a4f8e74f4f5140845a21b6674"
+SRC_URI = "${GNU_MIRROR}/gdb/gdb-${PV}.tar.xz \
+ file://0001-mips-linux-nat-Define-_ABIO32-if-not-defined.patch \
+ file://0002-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch \
+ file://0003-Dont-disable-libreadline.a-when-using-disable-static.patch \
+ file://0004-use-asm-sgidefs.h.patch \
+ file://0005-Change-order-of-CFLAGS.patch \
+ file://0007-Fix-invalid-sigprocmask-call.patch \
+ file://0008-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch \
+ "
+SRC_URI[sha256sum] = "2d4dd8061d8ded12b6c63f55e45344881e8226105f4d2a9b234040efa5ce7772"
diff --git a/meta/recipes-devtools/gdb/gdb/0001-make-man-install-relative-to-DESTDIR.patch b/meta/recipes-devtools/gdb/gdb/0001-make-man-install-relative-to-DESTDIR.patch
deleted file mode 100644
index 84d178332d..0000000000
--- a/meta/recipes-devtools/gdb/gdb/0001-make-man-install-relative-to-DESTDIR.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From e5126c7167e26f865990dc5f86344602603aa8c6 Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Mon, 2 Mar 2015 02:27:55 +0000
-Subject: [PATCH 01/11] make man install relative to DESTDIR
-
-Upstream-Status: Pending
-
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
- sim/common/Makefile.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/sim/common/Makefile.in b/sim/common/Makefile.in
-index f713fcaa35b..7c553709d3f 100644
---- a/sim/common/Makefile.in
-+++ b/sim/common/Makefile.in
-@@ -35,7 +35,7 @@ tooldir = $(libdir)/$(target_alias)
- datarootdir = @datarootdir@
- datadir = @datadir@
- mandir = @mandir@
--man1dir = $(mandir)/man1
-+man1dir = $(DESTDIR)$(mandir)/man1
- infodir = @infodir@
- includedir = @includedir@
-
---
-2.29.2
-
diff --git a/meta/recipes-devtools/gdb/gdb/0002-mips-linux-nat-Define-_ABIO32-if-not-defined.patch b/meta/recipes-devtools/gdb/gdb/0001-mips-linux-nat-Define-_ABIO32-if-not-defined.patch
index f830993d5e..86f6e2642d 100644
--- a/meta/recipes-devtools/gdb/gdb/0002-mips-linux-nat-Define-_ABIO32-if-not-defined.patch
+++ b/meta/recipes-devtools/gdb/gdb/0001-mips-linux-nat-Define-_ABIO32-if-not-defined.patch
@@ -1,7 +1,7 @@
-From 0680242c9a3a0149a23e63034ecb4404de2293dd Mon Sep 17 00:00:00 2001
+From ff77aebf533758f0b6f7d22b272d32e08ed06e45 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Wed, 23 Mar 2016 06:30:09 +0000
-Subject: [PATCH 02/11] mips-linux-nat: Define _ABIO32 if not defined
+Subject: [PATCH] mips-linux-nat: Define _ABIO32 if not defined
This helps building gdb on mips64 on musl, since
musl does not provide sgidefs.h this define is
@@ -16,7 +16,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
1 file changed, 4 insertions(+)
diff --git a/gdb/mips-linux-nat.c b/gdb/mips-linux-nat.c
-index 38ff461a35b..4337795bac8 100644
+index 8a7cc95f2a4..bfd1c72cba6 100644
--- a/gdb/mips-linux-nat.c
+++ b/gdb/mips-linux-nat.c
@@ -41,6 +41,10 @@
@@ -30,6 +30,3 @@ index 38ff461a35b..4337795bac8 100644
class mips_linux_nat_target final : public linux_nat_trad_target
{
---
-2.29.2
-
diff --git a/meta/recipes-devtools/gdb/gdb/0003-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch b/meta/recipes-devtools/gdb/gdb/0002-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch
index cbe1779db7..897cfd0df9 100644
--- a/meta/recipes-devtools/gdb/gdb/0003-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch
+++ b/meta/recipes-devtools/gdb/gdb/0002-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch
@@ -1,8 +1,7 @@
-From afbb66c244b1ae0aaaa90d88d3cd484f741c614f Mon Sep 17 00:00:00 2001
+From 78748dc55b1ceafe9a64beb9628f1d51b215482f Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Sat, 30 Apr 2016 18:32:14 -0700
-Subject: [PATCH 03/11] ppc/ptrace: Define pt_regs uapi_pt_regs on !GLIBC
- systems
+Subject: [PATCH] ppc/ptrace: Define pt_regs uapi_pt_regs on !GLIBC systems
Upstream-Status: Pending
@@ -13,7 +12,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
2 files changed, 12 insertions(+)
diff --git a/gdb/nat/ppc-linux.h b/gdb/nat/ppc-linux.h
-index d937a65b69c..1fd54b4a0e0 100644
+index c84f9146bbd..8c8580c95e1 100644
--- a/gdb/nat/ppc-linux.h
+++ b/gdb/nat/ppc-linux.h
@@ -18,7 +18,13 @@
@@ -31,7 +30,7 @@ index d937a65b69c..1fd54b4a0e0 100644
/* This sometimes isn't defined. */
diff --git a/gdbserver/linux-ppc-low.cc b/gdbserver/linux-ppc-low.cc
-index 337d555aee7..5d518f37268 100644
+index 86fbc8f5d96..8a1a39bc750 100644
--- a/gdbserver/linux-ppc-low.cc
+++ b/gdbserver/linux-ppc-low.cc
@@ -23,7 +23,13 @@
@@ -48,6 +47,3 @@ index 337d555aee7..5d518f37268 100644
#include "arch/ppc-linux-common.h"
#include "arch/ppc-linux-tdesc.h"
---
-2.29.2
-
diff --git a/meta/recipes-devtools/gdb/gdb/0005-Dont-disable-libreadline.a-when-using-disable-static.patch b/meta/recipes-devtools/gdb/gdb/0003-Dont-disable-libreadline.a-when-using-disable-static.patch
index 71eab1c2b1..e41be8209e 100644
--- a/meta/recipes-devtools/gdb/gdb/0005-Dont-disable-libreadline.a-when-using-disable-static.patch
+++ b/meta/recipes-devtools/gdb/gdb/0003-Dont-disable-libreadline.a-when-using-disable-static.patch
@@ -1,7 +1,7 @@
-From ec566877c50bdae0013a38dd457004e1db725d86 Mon Sep 17 00:00:00 2001
+From 683650564cd231bbf09c7cbc35543b77ca0b10d0 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Sat, 30 Apr 2016 15:25:03 -0700
-Subject: [PATCH 05/11] Dont disable libreadline.a when using --disable-static
+Subject: [PATCH] Dont disable libreadline.a when using --disable-static
If gdb is configured with --disable-static then this is dutifully passed to
readline which then disables libreadline.a, which causes a problem when gdb
@@ -19,10 +19,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/Makefile.def b/Makefile.def
-index 76d062bb671..e0a1e2b14b1 100644
+index 870150183b9..eb3788da0d2 100644
--- a/Makefile.def
+++ b/Makefile.def
-@@ -105,7 +105,8 @@ host_modules= { module= libiconv;
+@@ -119,7 +119,8 @@ host_modules= { module= libiconv;
missing= install-html;
missing= install-info; };
host_modules= { module= m4; };
@@ -33,10 +33,10 @@ index 76d062bb671..e0a1e2b14b1 100644
host_modules= { module= sim; };
host_modules= { module= texinfo; no_install= true; };
diff --git a/Makefile.in b/Makefile.in
-index 9dfd39fae13..eaf1dd0f229 100644
+index c97130a2338..a83f98e4778 100644
--- a/Makefile.in
+++ b/Makefile.in
-@@ -25548,7 +25548,7 @@ configure-readline:
+@@ -31691,7 +31691,7 @@ configure-readline:
$$s/$$module_srcdir/configure \
--srcdir=$${topdir}/$$module_srcdir \
$(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
@@ -45,6 +45,3 @@ index 9dfd39fae13..eaf1dd0f229 100644
|| exit 1
@endif readline
---
-2.29.2
-
diff --git a/meta/recipes-devtools/gdb/gdb/0004-Add-support-for-Renesas-SH-sh4-architecture.patch b/meta/recipes-devtools/gdb/gdb/0004-Add-support-for-Renesas-SH-sh4-architecture.patch
deleted file mode 100644
index 561cfff943..0000000000
--- a/meta/recipes-devtools/gdb/gdb/0004-Add-support-for-Renesas-SH-sh4-architecture.patch
+++ /dev/null
@@ -1,913 +0,0 @@
-From 26e406962cf7298837b350b979afff0ac34ecb0b Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Mon, 2 Mar 2015 02:31:12 +0000
-Subject: [PATCH 04/11] Add support for Renesas SH (sh4) architecture.
-
-gdb (7.4-1~cvs20111117.2) experimental; urgency=low
- .
- * Add Renesas SH (sh4) support (Closes: #576242)
- - Thanks Nobuhiro Iwamatsu, Takashi Yoshii.
-Author: Hector Oron <zumbi@debian.org>
-Bug-Debian: http://bugs.debian.org/576242
-
-Upstream-Status: Pending
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
- gdb/Makefile.in | 2 +
- gdb/configure.host | 1 +
- gdb/sh-linux-tdep.c | 519 +++++++++++++++++++++++++++
- gdb/sh-tdep.c | 52 +--
- gdb/sh-tdep.h | 49 +++
- gdb/testsuite/gdb.asm/asm-source.exp | 5 +
- gdb/testsuite/gdb.asm/sh.inc | 3 +-
- gdb/testsuite/gdb.base/annota1.c | 3 +
- gdb/testsuite/gdb.base/annota3.c | 4 +
- gdb/testsuite/gdb.base/sigall.c | 3 +
- gdb/testsuite/gdb.base/signals.c | 4 +
- 11 files changed, 617 insertions(+), 28 deletions(-)
-
-diff --git a/gdb/Makefile.in b/gdb/Makefile.in
-index 4808357e651..a009004ab05 100644
---- a/gdb/Makefile.in
-+++ b/gdb/Makefile.in
-@@ -2273,6 +2273,8 @@ ALLDEPFILES = \
- sh-nbsd-nat.c \
- sh-nbsd-tdep.c \
- sh-tdep.c \
-+ sh-linux-tdep.c \
-+ sh-linux-nat.c \
- sol2-tdep.c \
- solib-aix.c \
- solib-svr4.c \
-diff --git a/gdb/configure.host b/gdb/configure.host
-index ce528237291..5b5173a71aa 100644
---- a/gdb/configure.host
-+++ b/gdb/configure.host
-@@ -148,6 +148,7 @@ riscv*-*-linux*) gdb_host=linux ;;
-
- s390*-*-linux*) gdb_host=linux ;;
-
-+sh*-*-linux*) gdb_host=linux ;;
- sh*-*-netbsdelf* | sh*-*-knetbsd*-gnu)
- gdb_host=nbsd ;;
- sh*-*-openbsd*) gdb_host=nbsd ;;
-diff --git a/gdb/sh-linux-tdep.c b/gdb/sh-linux-tdep.c
-index 5d2f38f5801..06a45b74827 100644
---- a/gdb/sh-linux-tdep.c
-+++ b/gdb/sh-linux-tdep.c
-@@ -18,14 +18,37 @@
- along with this program. If not, see <http://www.gnu.org/licenses/>. */
-
- #include "defs.h"
-+#include "gdbcore.h"
-+#include "frame.h"
-+#include "frame-base.h"
-+#include "frame-unwind.h"
-+#include "dwarf2-frame.h"
-+#include "value.h"
-+#include "regcache.h"
-+#include "inferior.h"
- #include "osabi.h"
-
-+#include "reggroups.h"
-+#include "arch-utils.h"
-+#include "floatformat.h"
- #include "solib-svr4.h"
- #include "symtab.h"
-+#include "gdb_string.h"
-+#include "command.h"
-+#include "gdb_assert.h"
-
- #include "trad-frame.h"
- #include "tramp-frame.h"
-
-+#include <sys/ptrace.h>
-+#include <sys/types.h>
-+#include <sys/param.h>
-+#include <sys/user.h>
-+#include <sys/syscall.h>
-+
-+#include <asm/ptrace.h>
-+
-+#include "regset.h"
- #include "glibc-tdep.h"
- #include "sh-tdep.h"
- #include "linux-tdep.h"
-@@ -181,9 +204,505 @@ static struct tramp_frame sh_linux_rt_sigreturn_tramp_frame = {
- sh_linux_rt_sigreturn_init
- };
-
-+/* Recognizing signal handler frames. */
-+
-+/* GNU/Linux has two flavors of signals. Normal signal handlers, and
-+ "realtime" (RT) signals. The RT signals can provide additional
-+ information to the signal handler if the SA_SIGINFO flag is set
-+ when establishing a signal handler using `sigaction'. It is not
-+ unlikely that future versions of GNU/Linux will support SA_SIGINFO
-+ for normal signals too. */
-+
-+/* When the SH Linux kernel calls a signal handler and the
-+ SA_RESTORER flag isn't set, the return address points to a bit of
-+ code on the stack. This function returns whether the PC appears to
-+ be within this bit of code.
-+
-+ The instruction sequence for normal signals is
-+ mov.w 1f,r3
-+ trapa #16
-+ or r0, r0
-+ or r0, r0
-+ or r0, r0
-+ or r0, r0
-+ or r0, r0
-+ 1: .word __NR_sigreturn
-+ or 0x9305 0xc310 0x200b 0x200b 0x200b 0x200b 0x200b 0x0077.
-+
-+ Checking for the code sequence should be somewhat reliable, because
-+ the effect is to call the system call sigreturn. This is unlikely
-+ to occur anywhere other than a signal trampoline.
-+
-+ It kind of sucks that we have to read memory from the process in
-+ order to identify a signal trampoline, but there doesn't seem to be
-+ any other way. The PC_IN_SIGTRAMP macro in tm-linux.h arranges to
-+ only call us if no function name could be identified, which should
-+ be the case since the code is on the stack.
-+
-+ Detection of signal trampolines for handlers that set the
-+ SA_RESTORER flag is in general not possible. Unfortunately this is
-+ what the GNU C Library has been doing for quite some time now.
-+ However, as of version 2.1.2, the GNU C Library uses signal
-+ trampolines (named __restore and __restore_rt) that are identical
-+ to the ones used by the kernel. Therefore, these trampolines are
-+ supported too. */
-+
-+#define MOVW(n) (0x9300|((n)-2)) /* Move mem word at PC+n to R3 */
-+#define TRAP16 0xc310 /* Syscall w/no args (NR in R3) */
-+#define OR_R0_R0 0x200b /* or r0,r0 (insert to avoid hardware bug) */
-+
-+#define LINUX_SIGTRAMP_INSN0 MOVW(7) /* Move mem word at PC+7 to R3 */
-+#define LINUX_SIGTRAMP_INSN1 TRAP16 /* Syscall w/no args (NR in R3) */
-+#define LINUX_SIGTRAMP_INSN2 OR_R0_R0 /* or r0,r0 (insert to avoid hardware bug) */
-+
-+static const unsigned short linux_sigtramp_code[] =
-+{
-+ LINUX_SIGTRAMP_INSN0,
-+ LINUX_SIGTRAMP_INSN1,
-+ LINUX_SIGTRAMP_INSN2,
-+ LINUX_SIGTRAMP_INSN2,
-+ LINUX_SIGTRAMP_INSN2,
-+ LINUX_SIGTRAMP_INSN2,
-+ LINUX_SIGTRAMP_INSN2,
-+ __NR_sigreturn
-+};
-+
-+#define LINUX_SIGTRAMP_LEN (sizeof linux_sigtramp_code)
-+
-+/* If PC is in a sigtramp routine, return the address of the start of
-+ the routine. Otherwise, return 0. */
-+
-+static CORE_ADDR
-+sh_linux_sigtramp_start (struct frame_info *next_frame)
-+{
-+ CORE_ADDR pc = get_frame_pc (next_frame);
-+ gdb_byte buf[LINUX_SIGTRAMP_LEN];
-+
-+ /* We only recognize a signal trampoline if PC is at the start of
-+ one of the three instructions. We optimize for finding the PC at
-+ the start, as will be the case when the trampoline is not the
-+ first frame on the stack. We assume that in the case where the
-+ PC is not at the start of the instruction sequence, there will be
-+ a few trailing readable bytes on the stack. */
-+
-+ if (!safe_frame_unwind_memory (next_frame, pc, buf, LINUX_SIGTRAMP_LEN))
-+ return 0;
-+
-+ if (buf[0] != LINUX_SIGTRAMP_INSN0)
-+ {
-+ if (buf[0] != LINUX_SIGTRAMP_INSN1)
-+ return 0;
-+
-+ pc -= 2;
-+
-+ if (!safe_frame_unwind_memory (next_frame, pc, buf, LINUX_SIGTRAMP_LEN))
-+ return 0;
-+ }
-+
-+ if (memcmp (buf, linux_sigtramp_code, LINUX_SIGTRAMP_LEN) != 0)
-+ return 0;
-+
-+ return pc;
-+}
-+
-+/* This function does the same for RT signals. Here the instruction
-+ sequence is
-+ mov.w 1f,r3
-+ trapa #16
-+ or r0, r0
-+ or r0, r0
-+ or r0, r0
-+ or r0, r0
-+ or r0, r0
-+ 1: .word __NR_rt_sigreturn
-+ or 0x9305 0xc310 0x200b 0x200b 0x200b 0x200b 0x200b 0x00ad.
-+
-+ The effect is to call the system call rt_sigreturn. */
-+
-+#define LINUX_RT_SIGTRAMP_INSN0 MOVW(7) /* Move mem word at PC+7 to R3 */
-+#define LINUX_RT_SIGTRAMP_INSN1 TRAP16 /* Syscall w/no args (NR in R3) */
-+#define LINUX_RT_SIGTRAMP_INSN2 OR_R0_R0 /* or r0,r0 (insert to avoid hardware bug) */
-+
-+static const unsigned short linux_rt_sigtramp_code[] =
-+{
-+ LINUX_RT_SIGTRAMP_INSN0,
-+ LINUX_RT_SIGTRAMP_INSN1,
-+ LINUX_RT_SIGTRAMP_INSN2,
-+ LINUX_RT_SIGTRAMP_INSN2,
-+ LINUX_RT_SIGTRAMP_INSN2,
-+ LINUX_RT_SIGTRAMP_INSN2,
-+ LINUX_RT_SIGTRAMP_INSN2,
-+ __NR_rt_sigreturn
-+};
-+
-+#define LINUX_RT_SIGTRAMP_LEN (sizeof linux_rt_sigtramp_code)
-+
-+/* If PC is in a RT sigtramp routine, return the address of the start
-+ of the routine. Otherwise, return 0. */
-+
-+static CORE_ADDR
-+sh_linux_rt_sigtramp_start (struct frame_info *next_frame)
-+{
-+ CORE_ADDR pc = get_frame_pc (next_frame);
-+ gdb_byte buf[LINUX_RT_SIGTRAMP_LEN];
-+
-+ /* We only recognize a signal trampoline if PC is at the start of
-+ one of the two instructions. We optimize for finding the PC at
-+ the start, as will be the case when the trampoline is not the
-+ first frame on the stack. We assume that in the case where the
-+ PC is not at the start of the instruction sequence, there will be
-+ a few trailing readable bytes on the stack. */
-+
-+ if (!safe_frame_unwind_memory (next_frame, pc, buf, LINUX_RT_SIGTRAMP_LEN))
-+ return 0;
-+
-+ if (buf[0] != LINUX_RT_SIGTRAMP_INSN0)
-+ {
-+ if (buf[0] != LINUX_RT_SIGTRAMP_INSN1)
-+ return 0;
-+
-+ pc -= 2;
-+
-+ if (!safe_frame_unwind_memory (next_frame, pc, buf,
-+ LINUX_RT_SIGTRAMP_LEN))
-+ return 0;
-+ }
-+
-+ if (memcmp (buf, linux_rt_sigtramp_code, LINUX_RT_SIGTRAMP_LEN) != 0)
-+ return 0;
-+
-+ return pc;
-+}
-+
-+/* Return whether PC is in a GNU/Linux sigtramp routine. */
-+
-+static int
-+sh_linux_sigtramp_p (struct frame_info *this_frame)
-+{
-+ CORE_ADDR pc = get_frame_pc (this_frame);
-+ char *name;
-+
-+ find_pc_partial_function (pc, &name, NULL, NULL);
-+
-+ /* If we have NAME, we can optimize the search. The trampolines are
-+ named __restore and __restore_rt. However, they aren't dynamically
-+ exported from the shared C library, so the trampoline may appear to
-+ be part of the preceding function. This should always be sigaction,
-+ __sigaction, or __libc_sigaction (all aliases to the same function). */
-+ if (name == NULL || strstr (name, "sigaction") != NULL)
-+ return (sh_linux_sigtramp_start (this_frame) != 0
-+ || sh_linux_rt_sigtramp_start (this_frame) != 0);
-+
-+ return (strcmp ("__restore", name) == 0
-+ || strcmp ("__restore_rt", name) == 0);
-+}
-+
-+/* Offset to struct sigcontext in ucontext, from <asm/ucontext.h>. */
-+#define SH_LINUX_UCONTEXT_SIGCONTEXT_OFFSET 12
-+
-+
-+/* Assuming NEXT_FRAME is a frame following a GNU/Linux sigtramp
-+ routine, return the address of the associated sigcontext structure. */
-+
-+static CORE_ADDR
-+sh_linux_sigcontext_addr (struct frame_info *this_frame)
-+{
-+ CORE_ADDR pc;
-+ CORE_ADDR sp;
-+
-+ sp = get_frame_register_unsigned (this_frame, SP_REGNUM);
-+
-+ pc = sh_linux_sigtramp_start (this_frame);
-+ if (pc)
-+ {
-+ return sp;
-+ }
-+
-+ pc = sh_linux_rt_sigtramp_start (this_frame);
-+ if (pc)
-+ {
-+ CORE_ADDR ucontext_addr;
-+
-+ /* The sigcontext structure is part of the user context. A
-+ pointer to the user context is passed as the third argument
-+ to the signal handler. */
-+ ucontext_addr = get_frame_register_unsigned (this_frame, ARG0_REGNUM+2);
-+ return ucontext_addr + SH_LINUX_UCONTEXT_SIGCONTEXT_OFFSET;
-+ }
-+
-+ error ("Couldn't recognize signal trampoline.");
-+ return 0;
-+}
-+
-+/* Signal trampolines. */
-+extern struct sh_frame_cache *sh_alloc_frame_cache (void);
-+
-+static struct sh_frame_cache *
-+sh_linux_sigtramp_frame_cache (struct frame_info *this_frame, void **this_cache)
-+{
-+ struct sh_frame_cache *cache;
-+ struct gdbarch_tdep *tdep = gdbarch_tdep (get_current_arch ());
-+ CORE_ADDR sigcontext_addr;
-+
-+ if (*this_cache)
-+ return *this_cache;
-+
-+ cache = sh_alloc_frame_cache ();
-+
-+ cache->base = get_frame_register_unsigned (this_frame, SP_REGNUM);
-+ sigcontext_addr = tdep->sigcontext_addr (this_frame);
-+ if (tdep->sc_reg_offset)
-+ {
-+ int i;
-+
-+ gdb_assert (tdep->sc_num_regs <= SH_NUM_REGS);
-+
-+ for (i = 0; i < tdep->sc_num_regs; i++)
-+ if (tdep->sc_reg_offset[i] != -1)
-+ cache->saved_regs[i] = sigcontext_addr + tdep->sc_reg_offset[i];
-+ }
-+
-+ *this_cache = cache;
-+ return cache;
-+}
-+
-+static void
-+sh_linux_sigtramp_frame_this_id (struct frame_info *this_frame, void **this_cache,
-+ struct frame_id *this_id)
-+{
-+ struct sh_frame_cache *cache =
-+ sh_linux_sigtramp_frame_cache (this_frame, this_cache);
-+
-+ (*this_id) = frame_id_build (cache->base + 64, cache->pc);
-+}
-+
-+extern struct value * sh_frame_prev_register ();
-+static struct value *
-+sh_linux_sigtramp_frame_prev_register (struct frame_info *this_frame,
-+ void **this_cache, int regnum)
-+{
-+ sh_linux_sigtramp_frame_cache (this_frame, this_cache);
-+
-+ return sh_frame_prev_register (this_frame, this_cache, regnum);
-+}
-+
-+static int
-+sh_linux_sigtramp_frame_sniffer (const struct frame_unwind *self,
-+ struct frame_info *this_frame,
-+ void **this_prologue_cache)
-+{
-+ struct gdbarch_tdep *tdep = gdbarch_tdep (get_frame_arch (this_frame));
-+
-+ /* We shouldn't even bother if we don't have a sigcontext_addr
-+ handler. */
-+ if (tdep->sigcontext_addr == NULL)
-+ return 0;
-+
-+ if (tdep->sigtramp_p != NULL)
-+ {
-+ if (tdep->sigtramp_p (this_frame))
-+ return 1;
-+ }
-+
-+ return 0;
-+}
-+
-+static const struct frame_unwind sh_linux_sigtramp_frame_unwind =
-+{
-+ SIGTRAMP_FRAME,
-+ sh_linux_sigtramp_frame_this_id,
-+ sh_linux_sigtramp_frame_prev_register,
-+ NULL,
-+ sh_linux_sigtramp_frame_sniffer
-+};
-+
-+/* Supply register REGNUM from the buffer specified by GREGS and LEN
-+ in the general-purpose register set REGSET to register cache
-+ REGCACHE. If REGNUM is -1, do this for all registers in REGSET. */
-+
-+void
-+sh_supply_gregset (const struct regset *regset, struct regcache *regcache,
-+ int regnum, const void *gregs, size_t len)
-+{
-+ const struct gdbarch_tdep *tdep = gdbarch_tdep (regset->arch);
-+ const char *regs = gregs;
-+ int i;
-+
-+ gdb_assert (len == tdep->sizeof_gregset);
-+
-+ for (i = 0; i < tdep->gregset_num_regs; i++)
-+ {
-+ if ((regnum == i || regnum == -1)
-+ && tdep->gregset_reg_offset[i] != -1)
-+ regcache_raw_supply (regcache, i, regs + tdep->gregset_reg_offset[i]);
-+ }
-+}
-+
-+/* Collect register REGNUM from the register cache REGCACHE and store
-+ it in the buffer specified by GREGS and LEN as described by the
-+ general-purpose register set REGSET. If REGNUM is -1, do this for
-+ all registers in REGSET. */
-+
-+void
-+sh_collect_gregset (const struct regset *regset,
-+ const struct regcache *regcache,
-+ int regnum, void *gregs, size_t len)
-+{
-+ const struct gdbarch_tdep *tdep = gdbarch_tdep (regset->arch);
-+ char *regs = gregs;
-+ int i;
-+
-+ gdb_assert (len == tdep->sizeof_gregset);
-+
-+ for (i = 0; i < tdep->gregset_num_regs; i++)
-+ {
-+ if ((regnum == i || regnum == -1)
-+ && tdep->gregset_reg_offset[i] != -1)
-+ regcache_raw_collect (regcache, i, regs + tdep->gregset_reg_offset[i]);
-+ }
-+}
-+
-+/* Supply register REGNUM from the buffer specified by FPREGS and LEN
-+ in the floating-point register set REGSET to register cache
-+ REGCACHE. If REGNUM is -1, do this for all registers in REGSET. */
-+
-+static void
-+sh_supply_fpregset (const struct regset *regset, struct regcache *regcache,
-+ int regnum, const void *fpregs, size_t len)
-+{
-+ const struct gdbarch_tdep *tdep = gdbarch_tdep (regset->arch);
-+ const char *regs = fpregs;
-+ int i;
-+
-+ gdb_assert (len == tdep->sizeof_fpregset);
-+ for (i = 0; i < 16; i++)
-+ {
-+ if (regnum == i+25 || regnum == -1)
-+ regcache_raw_supply (regcache, i+25, regs + i*4);
-+ }
-+ if (regnum == FPSCR_REGNUM || regnum == -1)
-+ regcache_raw_supply (regcache, FPSCR_REGNUM, regs + 32*4);
-+ if (regnum == FPUL_REGNUM || regnum == -1)
-+ regcache_raw_supply (regcache, FPUL_REGNUM, regs + 33*4);
-+}
-+
-+/* Collect register REGNUM from the register cache REGCACHE and store
-+ it in the buffer specified by FPREGS and LEN as described by the
-+ floating-point register set REGSET. If REGNUM is -1, do this for
-+ all registers in REGSET. */
-+
-+static void
-+sh_collect_fpregset (const struct regset *regset,
-+ const struct regcache *regcache,
-+ int regnum, void *fpregs, size_t len)
-+{
-+ const struct gdbarch_tdep *tdep = gdbarch_tdep (regset->arch);
-+ char *regs = fpregs;
-+ int i;
-+
-+ gdb_assert (len == tdep->sizeof_fpregset);
-+ for (i = 0; i < 16; i++)
-+ {
-+ if (regnum == i+25 || regnum == -1)
-+ regcache_raw_collect (regcache, i+25, regs + i*4);
-+ }
-+ if (regnum == FPSCR_REGNUM || regnum == -1)
-+ regcache_raw_collect (regcache, FPSCR_REGNUM, regs + 32*4);
-+ if (regnum == FPUL_REGNUM || regnum == -1)
-+ regcache_raw_collect (regcache, FPUL_REGNUM, regs + 33*4);
-+}
-+
-+/* Return the appropriate register set for the core section identified
-+ by SECT_NAME and SECT_SIZE. */
-+
-+const struct regset *
-+sh_linux_regset_from_core_section (struct gdbarch *gdbarch,
-+ const char *sect_name, size_t sect_size)
-+{
-+ struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch);
-+
-+ if (strcmp (sect_name, ".reg") == 0 && sect_size == tdep->sizeof_gregset)
-+ {
-+ if (tdep->gregset == NULL)
-+ tdep->gregset = regset_alloc (gdbarch, sh_supply_gregset,
-+ sh_collect_gregset);
-+ return tdep->gregset;
-+ }
-+
-+ if ((strcmp (sect_name, ".reg2") == 0 && sect_size == tdep->sizeof_fpregset))
-+ {
-+ if (tdep->fpregset == NULL)
-+ tdep->fpregset = regset_alloc (gdbarch, sh_supply_fpregset,
-+ sh_collect_fpregset);
-+ return tdep->fpregset;
-+ }
-+
-+ return NULL;
-+}
-+
-+/* The register sets used in GNU/Linux ELF core-dumps are identical to
-+ the register sets in `struct user' that are used for a.out
-+ core-dumps. These are also used by ptrace(2). The corresponding
-+ types are `elf_gregset_t' for the general-purpose registers (with
-+ `elf_greg_t' the type of a single GP register) and `elf_fpregset_t'
-+ for the floating-point registers.
-+
-+ Those types used to be available under the names `gregset_t' and
-+ `fpregset_t' too, and GDB used those names in the past. But those
-+ names are now used for the register sets used in the `mcontext_t'
-+ type, which have a different size and layout. */
-+
-+/* Mapping between the general-purpose registers in `struct user'
-+ format and GDB's register cache layout. */
-+
-+/* From <sys/reg.h>. */
-+static int sh_linux_gregset_reg_offset[] =
-+{
-+ 0, 4, 8, 12, 16, 20, 24, 28,
-+ 32, 36, 40, 44, 48, 52, 56, 60,
-+
-+ REG_PC*4, REG_PR*4, REG_GBR*4, -1,
-+ REG_MACH*4, REG_MACL*4, REG_SR*4,
-+};
-+
-+/* Mapping between the general-purpose registers in `struct
-+ sigcontext' format and GDB's register cache layout. */
-+
-+/* From <asm/sigcontext.h>. */
-+static int sh_linux_sc_reg_offset[] =
-+{
-+ 4, 8, 12, 16, 20, 24, 28, 32,
-+ 36, 40, 44, 48, 52, 56, 60, 64,
-+ 68, 72, 80, -1,
-+ 84, 88, 76
-+};
-+
- static void
- sh_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
- {
-+ struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch);
-+ bfd abfd;
-+
-+ tdep->gregset_reg_offset = sh_linux_gregset_reg_offset;
-+ tdep->gregset_num_regs = ARRAY_SIZE (sh_linux_gregset_reg_offset);
-+ tdep->sizeof_gregset = 23 * 4;
-+
-+ tdep->jb_pc_offset = 32; /* From <bits/setjmp.h>. */
-+
-+ tdep->sigtramp_p = sh_linux_sigtramp_p;
-+ tdep->sigcontext_addr = sh_linux_sigcontext_addr;
-+ tdep->sc_reg_offset = sh_linux_sc_reg_offset;
-+ tdep->sc_num_regs = ARRAY_SIZE (sh_linux_sc_reg_offset);
-+
-+ frame_unwind_append_unwinder(gdbarch, &sh_linux_sigtramp_frame_unwind);
-+
-+ /* If we have a register mapping, enable the generic core file
-+ support, unless it has already been enabled. */
-+ if (tdep->gregset_reg_offset
-+ && !gdbarch_regset_from_core_section_p (gdbarch))
-+ set_gdbarch_regset_from_core_section (gdbarch,
-+ sh_linux_regset_from_core_section);
-+
- linux_init_abi (info, gdbarch);
-
- /* GNU/Linux uses SVR4-style shared libraries. */
-diff --git a/gdb/sh-tdep.c b/gdb/sh-tdep.c
-index 7aadf9165ca..e173e215a2d 100644
---- a/gdb/sh-tdep.c
-+++ b/gdb/sh-tdep.c
-@@ -21,6 +21,9 @@
- sac@cygnus.com. */
-
- #include "defs.h"
-+#include "arch-utils.h"
-+#include "command.h"
-+#include "dummy-frame.h"
- #include "frame.h"
- #include "frame-base.h"
- #include "frame-unwind.h"
-@@ -66,23 +69,6 @@ static const char *const sh_cc_enum[] = {
-
- static const char *sh_active_calling_convention = sh_cc_gcc;
-
--#define SH_NUM_REGS 67
--
--struct sh_frame_cache
--{
-- /* Base address. */
-- CORE_ADDR base;
-- LONGEST sp_offset;
-- CORE_ADDR pc;
--
-- /* Flag showing that a frame has been created in the prologue code. */
-- int uses_fp;
--
-- /* Saved registers. */
-- CORE_ADDR saved_regs[SH_NUM_REGS];
-- CORE_ADDR saved_sp;
--};
--
- static int
- sh_is_renesas_calling_convention (struct type *func_type)
- {
-@@ -1050,6 +1036,7 @@ sh_treat_as_flt_p (struct type *type)
- return 0;
- /* Otherwise if the type of that member is float, the whole type is
- treated as float. */
-+ type = check_typedef (type);
- if (type->field (0).type ()->code () == TYPE_CODE_FLT)
- return 1;
- /* Otherwise it's not treated as float. */
-@@ -1100,7 +1087,7 @@ sh_push_dummy_call_fpu (struct gdbarch *gdbarch,
- in four registers available. Loop thru args from first to last. */
- for (argnum = 0; argnum < nargs; argnum++)
- {
-- type = value_type (args[argnum]);
-+ type = check_typedef (value_type (args[argnum]));
- len = TYPE_LENGTH (type);
- val = sh_justify_value_in_reg (gdbarch, args[argnum], len);
-
-@@ -1835,7 +1822,7 @@ sh_dwarf2_frame_init_reg (struct gdbarch *gdbarch, int regnum,
- reg->how = DWARF2_FRAME_REG_UNDEFINED;
- }
-
--static struct sh_frame_cache *
-+struct sh_frame_cache *
- sh_alloc_frame_cache (void)
- {
- struct sh_frame_cache *cache;
-@@ -1862,7 +1849,7 @@ sh_alloc_frame_cache (void)
- return cache;
- }
-
--static struct sh_frame_cache *
-+struct sh_frame_cache *
- sh_frame_cache (struct frame_info *this_frame, void **this_cache)
- {
- struct gdbarch *gdbarch = get_frame_arch (this_frame);
-@@ -1929,9 +1916,9 @@ sh_frame_cache (struct frame_info *this_frame, void **this_cache)
- return cache;
- }
-
--static struct value *
--sh_frame_prev_register (struct frame_info *this_frame,
-- void **this_cache, int regnum)
-+struct value *
-+sh_frame_prev_register (struct frame_info *this_frame, void **this_cache,
-+ int regnum)
- {
- struct gdbarch *gdbarch = get_frame_arch (this_frame);
- struct sh_frame_cache *cache = sh_frame_cache (this_frame, this_cache);
-@@ -1945,7 +1932,7 @@ sh_frame_prev_register (struct frame_info *this_frame,
- the current frame. Frob regnum so that we pull the value from
- the correct place. */
- if (regnum == gdbarch_pc_regnum (gdbarch))
-- regnum = PR_REGNUM;
-+ regnum = PR_REGNUM; /* XXX: really? */
-
- if (regnum < SH_NUM_REGS && cache->saved_regs[regnum] != -1)
- return frame_unwind_got_memory (this_frame, regnum,
-@@ -2234,8 +2221,8 @@ sh_return_in_first_hidden_param_p (struct gdbarch *gdbarch,
- static struct gdbarch *
- sh_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
- {
-- struct gdbarch *gdbarch;
- struct gdbarch_tdep *tdep;
-+ struct gdbarch *gdbarch;
-
- /* If there is already a candidate, use it. */
- arches = gdbarch_list_lookup_by_info (arches, &info);
-@@ -2247,6 +2234,18 @@ sh_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
- tdep = XCNEW (struct gdbarch_tdep);
- gdbarch = gdbarch_alloc (&info, tdep);
-
-+ /* General-purpose registers. */
-+ tdep->gregset = NULL;
-+ tdep->gregset_reg_offset = NULL;
-+ tdep->gregset_num_regs = 23;
-+ tdep->sizeof_gregset = 0;
-+
-+ /* Floating-point registers. */
-+ tdep->fpregset = NULL;
-+ tdep->sizeof_fpregset = 34*4;
-+
-+ tdep->jb_pc_offset = -1;
-+
- set_gdbarch_short_bit (gdbarch, 2 * TARGET_CHAR_BIT);
- set_gdbarch_int_bit (gdbarch, 4 * TARGET_CHAR_BIT);
- set_gdbarch_long_bit (gdbarch, 4 * TARGET_CHAR_BIT);
-@@ -2398,10 +2397,11 @@ sh_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
- break;
- }
-
-+ dwarf2_append_unwinders (gdbarch);
-+
- /* Hook in ABI-specific overrides, if they have been registered. */
- gdbarch_init_osabi (info, gdbarch);
-
-- dwarf2_append_unwinders (gdbarch);
- frame_unwind_append_unwinder (gdbarch, &sh_stub_unwind);
- frame_unwind_append_unwinder (gdbarch, &sh_frame_unwind);
-
-diff --git a/gdb/sh-tdep.h b/gdb/sh-tdep.h
-index 76e2e76e39b..2710f63010c 100644
---- a/gdb/sh-tdep.h
-+++ b/gdb/sh-tdep.h
-@@ -21,6 +21,12 @@
-
- /* Contributed by Steve Chamberlain sac@cygnus.com. */
-
-+struct frame_info;
-+struct gdbarch;
-+struct reggroup;
-+struct regset;
-+struct regcache;
-+
- /* Registers for all SH variants. Used also by sh3-rom.c. */
- enum
- {
-@@ -29,6 +35,7 @@ enum
- ARG0_REGNUM = 4,
- ARGLAST_REGNUM = 7,
- FP_REGNUM = 14,
-+ SP_REGNUM = 15,
- PC_REGNUM = 16,
- PR_REGNUM = 17,
- GBR_REGNUM = 18,
-@@ -81,6 +88,24 @@ enum
- FV0_REGNUM = 76,
- FV_LAST_REGNUM = 79
- };
-+#define SH_NUM_REGS 67
-+
-+struct sh_frame_cache
-+{
-+ /* Base address. */
-+ CORE_ADDR base;
-+ LONGEST sp_offset;
-+ CORE_ADDR pc;
-+
-+ /* Flag showing that a frame has been created in the prologue code. */
-+ int uses_fp;
-+
-+ /* Saved registers. */
-+ CORE_ADDR saved_regs[SH_NUM_REGS];
-+ CORE_ADDR saved_sp;
-+};
-+
-+extern struct sh_frame_cache *sh_frame_cache (struct frame_info *next_frame, void **this_cache);
-
- /* This structure describes a register in a core-file. */
- struct sh_corefile_regmap
-@@ -89,8 +114,32 @@ struct sh_corefile_regmap
- unsigned int offset;
- };
-
-+/* sh architecture specific information. */
- struct gdbarch_tdep
- {
-+ /* General-purpose registers. */
-+ struct regset *gregset;
-+ int *gregset_reg_offset;
-+ int gregset_num_regs;
-+ size_t sizeof_gregset;
-+
-+ /* Floating-point registers. */
-+ struct regset *fpregset;
-+ size_t sizeof_fpregset;
-+
-+ /* Offset of saved PC in jmp_buf. */
-+ int jb_pc_offset;
-+
-+ /* Detect sigtramp. */
-+ int (*sigtramp_p) (struct frame_info *);
-+
-+ /* Get address of sigcontext for sigtramp. */
-+ CORE_ADDR (*sigcontext_addr) (struct frame_info *);
-+
-+ /* Offset of registers in `struct sigcontext'. */
-+ int *sc_reg_offset;
-+ int sc_num_regs;
-+
- /* Non-NULL when debugging from a core file. Provides the offset
- where each general-purpose register is stored inside the associated
- core file section. */
-diff --git a/gdb/testsuite/gdb.asm/asm-source.exp b/gdb/testsuite/gdb.asm/asm-source.exp
-index 4914498f98c..6e25cbed185 100644
---- a/gdb/testsuite/gdb.asm/asm-source.exp
-+++ b/gdb/testsuite/gdb.asm/asm-source.exp
-@@ -116,6 +116,11 @@ switch -glob -- [istarget] {
- append link-flags " -m elf32ppc"
- }
- }
-+ "sh*-linux*" {
-+ set asm-arch sh-linux
-+ set asm-flags "-I${srcdir}/${subdir} -I${objdir}/${subdir}"
-+ set debug-flags "-gdwarf-2"
-+ }
- "sh*-*-*" {
- set asm-arch sh
- set debug-flags "-gdwarf-2"
-diff --git a/gdb/testsuite/gdb.asm/sh.inc b/gdb/testsuite/gdb.asm/sh.inc
-index a4a5fc545e4..89efed7795c 100644
---- a/gdb/testsuite/gdb.asm/sh.inc
-+++ b/gdb/testsuite/gdb.asm/sh.inc
-@@ -40,9 +40,8 @@
- mov.l .Lconst\@,r1
- bra .Lafterconst\@
- nop
-- nop
--.Lconst\@:
- .align 2
-+.Lconst\@:
- .long \subr
- .align 1
- .Lafterconst\@:
-diff --git a/gdb/testsuite/gdb.base/annota1.c b/gdb/testsuite/gdb.base/annota1.c
-index 424e1b83278..0de2e7b633a 100644
---- a/gdb/testsuite/gdb.base/annota1.c
-+++ b/gdb/testsuite/gdb.base/annota1.c
-@@ -1,6 +1,9 @@
- #include <stdio.h>
- #include <signal.h>
-
-+#ifdef __sh__
-+#define signal(a,b) /* Signals not supported on this target - make them go away */
-+#endif
-
- void
- handle_USR1 (int sig)
-diff --git a/gdb/testsuite/gdb.base/annota3.c b/gdb/testsuite/gdb.base/annota3.c
-index 424e1b83278..952aaf218ab 100644
---- a/gdb/testsuite/gdb.base/annota3.c
-+++ b/gdb/testsuite/gdb.base/annota3.c
-@@ -1,6 +1,10 @@
- #include <stdio.h>
- #include <signal.h>
-
-+#ifdef __sh__
-+#define signal(a,b) /* Signals not supported on this target - make them go away */
-+#endif
-+
-
- void
- handle_USR1 (int sig)
-diff --git a/gdb/testsuite/gdb.base/sigall.c b/gdb/testsuite/gdb.base/sigall.c
-index 81f3b08d6bc..1574b2d6cb8 100644
---- a/gdb/testsuite/gdb.base/sigall.c
-+++ b/gdb/testsuite/gdb.base/sigall.c
-@@ -1,6 +1,9 @@
- #include <signal.h>
- #include <unistd.h>
-
-+#ifdef __sh__
-+#define signal(a,b) /* Signals not supported on this target - make them go away */
-+#endif
-
- /* Signal handlers, we set breakpoints in them to make sure that the
- signals really get delivered. */
-diff --git a/gdb/testsuite/gdb.base/signals.c b/gdb/testsuite/gdb.base/signals.c
-index 756606880fa..1205a9bc9c5 100644
---- a/gdb/testsuite/gdb.base/signals.c
-+++ b/gdb/testsuite/gdb.base/signals.c
-@@ -3,6 +3,10 @@
- #include <signal.h>
- #include <unistd.h>
-
-+#ifdef __sh__
-+#define signal(a,b) /* Signals not supported on this target - make them go away */
-+#define alarm(a) /* Ditto for alarm() */
-+#endif
-
- static int count = 0;
-
---
-2.29.2
-
diff --git a/meta/recipes-devtools/gdb/gdb/0006-use-asm-sgidefs.h.patch b/meta/recipes-devtools/gdb/gdb/0004-use-asm-sgidefs.h.patch
index a2932be6fb..413610d71f 100644
--- a/meta/recipes-devtools/gdb/gdb/0006-use-asm-sgidefs.h.patch
+++ b/meta/recipes-devtools/gdb/gdb/0004-use-asm-sgidefs.h.patch
@@ -1,7 +1,7 @@
-From 4b02e54b87d435e1715ce871bcce720561a7afb1 Mon Sep 17 00:00:00 2001
+From 04eba78ea6bd167b7eeef3af668c8f49888dc688 Mon Sep 17 00:00:00 2001
From: Andre McCurdy <amccurdy@gmail.com>
Date: Sat, 30 Apr 2016 15:29:06 -0700
-Subject: [PATCH 06/11] use <asm/sgidefs.h>
+Subject: [PATCH] use <asm/sgidefs.h>
Build fix for MIPS with musl libc
@@ -19,7 +19,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gdb/mips-linux-nat.c b/gdb/mips-linux-nat.c
-index 4337795bac8..7c8e54cabe0 100644
+index bfd1c72cba6..13dc9cdb703 100644
--- a/gdb/mips-linux-nat.c
+++ b/gdb/mips-linux-nat.c
@@ -31,7 +31,7 @@
@@ -31,6 +31,3 @@ index 4337795bac8..7c8e54cabe0 100644
#include "nat/gdb_ptrace.h"
#include <asm/ptrace.h>
#include "inf-ptrace.h"
---
-2.29.2
-
diff --git a/meta/recipes-devtools/gdb/gdb/0008-Change-order-of-CFLAGS.patch b/meta/recipes-devtools/gdb/gdb/0005-Change-order-of-CFLAGS.patch
index 4622752247..7631e75048 100644
--- a/meta/recipes-devtools/gdb/gdb/0008-Change-order-of-CFLAGS.patch
+++ b/meta/recipes-devtools/gdb/gdb/0005-Change-order-of-CFLAGS.patch
@@ -1,7 +1,7 @@
-From 07175ae348c9d07581e1db94762d5a2d577a75ad Mon Sep 17 00:00:00 2001
+From e7041e9346aa0c3aee0b76315559e3ab2ef8977e Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Sat, 30 Apr 2016 15:35:39 -0700
-Subject: [PATCH 08/11] Change order of CFLAGS
+Subject: [PATCH] Change order of CFLAGS
Lets us override Werror if need be
@@ -13,11 +13,11 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gdbserver/Makefile.in b/gdbserver/Makefile.in
-index 2b1a77f2de7..cb5ddb12fd5 100644
+index b597515d428..9e615e2842d 100644
--- a/gdbserver/Makefile.in
+++ b/gdbserver/Makefile.in
-@@ -161,7 +161,7 @@ WIN32APILIBS = @WIN32APILIBS@
- INTERNAL_CFLAGS_BASE = ${CXXFLAGS} ${GLOBAL_CFLAGS} \
+@@ -156,7 +156,7 @@ WIN32APILIBS = @WIN32APILIBS@
+ INTERNAL_CFLAGS_BASE = ${GLOBAL_CFLAGS} \
${PROFILE_CFLAGS} ${INCLUDE_CFLAGS} ${CPPFLAGS} $(PTHREAD_CFLAGS)
INTERNAL_WARN_CFLAGS = ${INTERNAL_CFLAGS_BASE} $(WARN_CFLAGS)
-INTERNAL_CFLAGS = ${INTERNAL_WARN_CFLAGS} $(WERROR_CFLAGS) -DGDBSERVER
@@ -25,6 +25,3 @@ index 2b1a77f2de7..cb5ddb12fd5 100644
# LDFLAGS is specifically reserved for setting from the command line
# when running make.
---
-2.29.2
-
diff --git a/meta/recipes-devtools/gdb/gdb/0010-Fix-invalid-sigprocmask-call.patch b/meta/recipes-devtools/gdb/gdb/0007-Fix-invalid-sigprocmask-call.patch
index 7cf3eae753..26e3ad9098 100644
--- a/meta/recipes-devtools/gdb/gdb/0010-Fix-invalid-sigprocmask-call.patch
+++ b/meta/recipes-devtools/gdb/gdb/0007-Fix-invalid-sigprocmask-call.patch
@@ -1,7 +1,7 @@
-From c5c5372c6a319cac8b3f9f86304fcebcbb5ea06f Mon Sep 17 00:00:00 2001
+From ebeb6125acf6b4e4a8a4eaa59e2830b9ca02d683 Mon Sep 17 00:00:00 2001
From: Yousong Zhou <yszhou4tech@gmail.com>
Date: Fri, 24 Mar 2017 10:36:03 +0800
-Subject: [PATCH 10/11] Fix invalid sigprocmask call
+Subject: [PATCH] Fix invalid sigprocmask call
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
@@ -32,7 +32,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gdbsupport/signals-state-save-restore.cc b/gdbsupport/signals-state-save-restore.cc
-index c292d498daf..af9dcaeb08e 100644
+index 3ec7a259c9c..0702eca7725 100644
--- a/gdbsupport/signals-state-save-restore.cc
+++ b/gdbsupport/signals-state-save-restore.cc
@@ -38,7 +38,7 @@ save_original_signals_state (bool quiet)
@@ -44,6 +44,3 @@ index c292d498daf..af9dcaeb08e 100644
if (res == -1)
perror_with_name (("sigprocmask"));
---
-2.29.2
-
diff --git a/meta/recipes-devtools/gdb/gdb/0007-Use-exorted-definitions-of-SIGRTMIN.patch b/meta/recipes-devtools/gdb/gdb/0007-Use-exorted-definitions-of-SIGRTMIN.patch
deleted file mode 100644
index 8cbc50b75f..0000000000
--- a/meta/recipes-devtools/gdb/gdb/0007-Use-exorted-definitions-of-SIGRTMIN.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-From 53f694ffa1ee9893b834758413c23947957f0fee Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Sat, 30 Apr 2016 15:31:40 -0700
-Subject: [PATCH 07/11] Use exorted definitions of SIGRTMIN
-
-Define W_STOPCODE if not defined already
-
-__SIGRTMIN is internal to glibc and other libcs e.g. musl
-may not provide them
-
-Fixes
-https://sourceware.org/bugzilla/show_bug.cgi?id=13012
-
-Upstream-Status: Submitted
-
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
- gdb/linux-nat.c | 4 ++--
- gdb/nat/linux-nat.h | 4 ++++
- 2 files changed, 6 insertions(+), 2 deletions(-)
-
-diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c
-index b81014024c7..e0513d47122 100644
---- a/gdb/linux-nat.c
-+++ b/gdb/linux-nat.c
-@@ -4428,6 +4428,6 @@ lin_thread_get_thread_signals (sigset_t *set)
- /* NPTL reserves the first two RT signals, but does not provide any
- way for the debugger to query the signal numbers - fortunately
- they don't change. */
-- sigaddset (set, __SIGRTMIN);
-- sigaddset (set, __SIGRTMIN + 1);
-+ sigaddset (set, SIGRTMIN);
-+ sigaddset (set, SIGRTMIN + 1);
- }
-diff --git a/gdb/nat/linux-nat.h b/gdb/nat/linux-nat.h
-index 44dcbb7758d..975d7276f66 100644
---- a/gdb/nat/linux-nat.h
-+++ b/gdb/nat/linux-nat.h
-@@ -91,4 +91,8 @@ extern void linux_stop_lwp (struct lwp_info *lwp);
-
- extern int lwp_is_stepping (struct lwp_info *lwp);
-
-+#ifndef W_STOPCODE
-+#define W_STOPCODE(sig) ((sig) << 8 | 0x7f)
-+#endif
-+
- #endif /* NAT_LINUX_NAT_H */
---
-2.29.2
-
diff --git a/meta/recipes-devtools/gdb/gdb/0008-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch b/meta/recipes-devtools/gdb/gdb/0008-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch
new file mode 100644
index 0000000000..819f1c9f17
--- /dev/null
+++ b/meta/recipes-devtools/gdb/gdb/0008-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch
@@ -0,0 +1,48 @@
+From cb7c8df338184d2d2f31ee1fd238653e3162da44 Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Sun, 15 Jan 2023 00:16:25 -0800
+Subject: [PATCH] Define alignof using _Alignof when using C11 or newer
+
+WG14 N2350 made very clear that it is an UB having type definitions
+within "offsetof" [1]. This patch enhances the implementation of macro
+alignof to use builtin "_Alignof" to avoid undefined behavior on
+when using std=c11 or newer
+
+clang 16+ has started to flag this [2]
+
+Fixes build when using -std >= gnu11 and using clang16+
+
+Older compilers gcc < 4.9 or clang < 8 has buggy _Alignof even though it
+may support C11, exclude those compilers too
+
+[1] https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2350.htm
+[2] https://reviews.llvm.org/D133574
+
+Upstream-Status: Pending
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ libiberty/sha1.c | 10 ++++++++++
+ 1 file changed, 10 insertions(+)
+
+diff --git a/libiberty/sha1.c b/libiberty/sha1.c
+index 6c71e3ebb41..a2caf947d31 100644
+--- a/libiberty/sha1.c
++++ b/libiberty/sha1.c
+@@ -229,7 +229,17 @@ sha1_process_bytes (const void *buffer, size_t len, struct sha1_ctx *ctx)
+ if (len >= 64)
+ {
+ #if !_STRING_ARCH_unaligned
++/* GCC releases before GCC 4.9 had a bug in _Alignof. See GCC bug 52023
++ <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52023>.
++ clang versions < 8.0.0 have the same bug. */
++#if (!defined __STDC_VERSION__ || __STDC_VERSION__ < 201112 \
++ || (defined __GNUC__ && __GNUC__ < 4 + (__GNUC_MINOR__ < 9) \
++ && !defined __clang__) \
++ || (defined __clang__ && __clang_major__ < 8))
+ # define alignof(type) offsetof (struct { char c; type x; }, x)
++#else
++# define alignof(type) _Alignof(type)
++#endif
+ # define UNALIGNED_P(p) (((size_t) p) % alignof (sha1_uint32) != 0)
+ if (UNALIGNED_P (buffer))
+ while (len > 64)
diff --git a/meta/recipes-devtools/gdb/gdb/0009-resolve-restrict-keyword-conflict.patch b/meta/recipes-devtools/gdb/gdb/0009-resolve-restrict-keyword-conflict.patch
deleted file mode 100644
index 698fdb0672..0000000000
--- a/meta/recipes-devtools/gdb/gdb/0009-resolve-restrict-keyword-conflict.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-From 73a3babe48c7948f71683d0862eddc1609fdaa3d Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Tue, 10 May 2016 08:47:05 -0700
-Subject: [PATCH 09/11] resolve restrict keyword conflict
-
-GCC detects that we call 'restrict' as param name in function
-signatures and complains since both params are called 'restrict'
-therefore we use __restrict to denote the C99 keywork
-
-Upstream-Status: Pending
-
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
- gnulib/import/sys_time.in.h | 8 ++++----
- 1 file changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/gnulib/import/sys_time.in.h b/gnulib/import/sys_time.in.h
-index d30b26719b2..fd76af5e6d9 100644
---- a/gnulib/import/sys_time.in.h
-+++ b/gnulib/import/sys_time.in.h
-@@ -93,20 +93,20 @@ struct timeval
- # define gettimeofday rpl_gettimeofday
- # endif
- _GL_FUNCDECL_RPL (gettimeofday, int,
-- (struct timeval *restrict, void *restrict)
-+ (struct timeval *__restrict, void *__restrict)
- _GL_ARG_NONNULL ((1)));
- _GL_CXXALIAS_RPL (gettimeofday, int,
-- (struct timeval *restrict, void *restrict));
-+ (struct timeval *__restrict, void *__restrict));
- # else
- # if !@HAVE_GETTIMEOFDAY@
- _GL_FUNCDECL_SYS (gettimeofday, int,
-- (struct timeval *restrict, void *restrict)
-+ (struct timeval *__restrict, void *__restrict)
- _GL_ARG_NONNULL ((1)));
- # endif
- /* Need to cast, because on glibc systems, by default, the second argument is
- struct timezone *. */
- _GL_CXXALIAS_SYS_CAST (gettimeofday, int,
-- (struct timeval *restrict, void *restrict));
-+ (struct timeval *__restrict, void *__restrict));
- # endif
- _GL_CXXALIASWARN (gettimeofday);
- # if defined __cplusplus && defined GNULIB_NAMESPACE
---
-2.29.2
-
diff --git a/meta/recipes-devtools/gdb/gdb/0011-gdbserver-ctrl-c-handling.patch b/meta/recipes-devtools/gdb/gdb/0011-gdbserver-ctrl-c-handling.patch
deleted file mode 100644
index 0a596b522f..0000000000
--- a/meta/recipes-devtools/gdb/gdb/0011-gdbserver-ctrl-c-handling.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From 63df98fa78c8a6e12b40ebdc5c155838d2bf8b5f Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Thu, 29 Nov 2018 18:00:23 -0800
-Subject: [PATCH 11/11] gdbserver ctrl-c handling
-
-This problem was created by the upstream commit 78708b7c8c
-After applying the commit, it will send SIGINT to the process
-group(-signal_pid).
-But if we use gdbserver send SIGINT, and the attached process is not a
-process
-group leader, then the "kill (-signal_pid, SIGINT)" returns error and
-fails to
-interrupt the attached process.
-
-Upstream-Status: Submitted
-[https://sourceware.org/bugzilla/show_bug.cgi?id=18945]
-
-Author: Josh Gao
-Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
- gdbserver/linux-low.cc | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/gdbserver/linux-low.cc b/gdbserver/linux-low.cc
-index e45493339d2..aabc099b456 100644
---- a/gdbserver/linux-low.cc
-+++ b/gdbserver/linux-low.cc
-@@ -5714,7 +5714,7 @@ linux_process_target::request_interrupt ()
- {
- /* Send a SIGINT to the process group. This acts just like the user
- typed a ^C on the controlling terminal. */
-- ::kill (-signal_pid, SIGINT);
-+ ::kill (signal_pid, SIGINT);
- }
-
- bool
---
-2.29.2
-
diff --git a/meta/recipes-devtools/gdb/gdb_10.1.bb b/meta/recipes-devtools/gdb/gdb_14.2.bb
index d70757a151..9c6db4ca2c 100644
--- a/meta/recipes-devtools/gdb/gdb_10.1.bb
+++ b/meta/recipes-devtools/gdb/gdb_14.2.bb
@@ -1,9 +1,19 @@
+require gdb-common.inc
+
+inherit gettext pkgconfig
+
+#LDFLAGS:append = " -s"
+#export CFLAGS:append=" -L${STAGING_LIBDIR}"
+
+# cross-canadian must not see this
+PACKAGES =+ "gdbserver"
+FILES:gdbserver = "${bindir}/gdbserver"
+
require gdb.inc
-require gdb-${PV}.inc
inherit python3-dir
-EXTRA_OEMAKE_append_libc-musl = "\
+EXTRA_OEMAKE:append:libc-musl = "\
gt_cv_func_gnugettext1_libc=yes \
gt_cv_func_gnugettext2_libc=yes \
gl_cv_func_working_strerror=yes \
@@ -11,7 +21,7 @@ EXTRA_OEMAKE_append_libc-musl = "\
gl_cv_func_gettimeofday_clobber=no \
"
-do_configure_prepend() {
+do_configure:prepend() {
if [ "${@bb.utils.filter('PACKAGECONFIG', 'python', d)}" ]; then
cat > ${WORKDIR}/python << EOF
#!/bin/sh
@@ -26,3 +36,4 @@ EOF
chmod +x ${WORKDIR}/python
fi
}
+
diff --git a/meta/recipes-devtools/git/git/0001-config.mak.uname-do-not-force-RHEL-7-specific-build-.patch b/meta/recipes-devtools/git/git/0001-config.mak.uname-do-not-force-RHEL-7-specific-build-.patch
new file mode 100644
index 0000000000..fc803c73c7
--- /dev/null
+++ b/meta/recipes-devtools/git/git/0001-config.mak.uname-do-not-force-RHEL-7-specific-build-.patch
@@ -0,0 +1,34 @@
+From c0c5241abdc113acbe6bcd960686cea414bce357 Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin <alex@linutronix.de>
+Date: Mon, 7 Feb 2022 10:13:15 +0100
+Subject: [PATCH] config.mak.uname: do not force RHEL-7 specific build settings
+
+This breaks reproducibility as git builds on centos 7 use
+different flags than git builds on other host distros.
+
+Upstream-Status: Inappropriate [upstream needs to check compiler and component versions properly]
+Signed-off-by: Alexander Kanavin <alex@linutronix.de>
+
+Rebased for 2.45.1.
+
+Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
+
+---
+ config.mak.uname | 4 ----
+ 1 file changed, 4 deletions(-)
+
+diff --git a/config.mak.uname b/config.mak.uname
+index a7607a5..251057e 100644
+--- a/config.mak.uname
++++ b/config.mak.uname
+@@ -64,10 +64,6 @@ ifeq ($(uname_S),Linux)
+ PROCFS_EXECUTABLE_PATH = /proc/self/exe
+ HAVE_PLATFORM_PROCINFO = YesPlease
+ COMPAT_OBJS += compat/linux/procinfo.o
+- # centos7/rhel7 provides gcc 4.8.5 and zlib 1.2.7.
+- ifneq ($(findstring .el7.,$(uname_R)),)
+- BASIC_CFLAGS += -std=c99
+- endif
+ endif
+ ifeq ($(uname_S),GNU/kFreeBSD)
+ HAVE_ALLOCA_H = YesPlease
diff --git a/meta/recipes-devtools/git/git/fixsort.patch b/meta/recipes-devtools/git/git/fixsort.patch
new file mode 100644
index 0000000000..07a487e8ca
--- /dev/null
+++ b/meta/recipes-devtools/git/git/fixsort.patch
@@ -0,0 +1,31 @@
+[PATCH] generate-configlist.sh: Fix determinism issue
+
+Currently git binaries are not entirely reproducible, at least partly
+due to config-list.h differing in order depending on the system's
+locale settings. Under different locales, the entries:
+
+"sendemail.identity",
+"sendemail.<identity>.*",
+
+would differ in order for example and this leads to differences in
+the debug symbols for the binaries.
+
+This can be fixed by specifying the C locale for the sort in the
+shell script generating the header.
+
+Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
+Upstream-Status: Submitted [https://public-inbox.org/git/f029a942dd3d50d85e60bd37d8e454524987842f.camel@linuxfoundation.org/T/#u]
+
+Index: git-2.30.0/generate-configlist.sh
+===================================================================
+--- git-2.30.0.orig/generate-configlist.sh
++++ git-2.30.0/generate-configlist.sh
+@@ -9,7 +9,7 @@ static const char *config_name_list[] =
+ EOF
+ grep -h '^[a-zA-Z].*\..*::$' Documentation/*config.txt Documentation/config/*.txt |
+ sed '/deprecated/d; s/::$//; s/, */\n/g' |
+- sort |
++ LC_ALL=C sort |
+ sed 's/^.*$/ "&",/'
+ cat <<EOF
+ NULL,
diff --git a/meta/recipes-devtools/git/git_2.29.2.bb b/meta/recipes-devtools/git/git_2.29.2.bb
deleted file mode 100644
index 6433a2e2b7..0000000000
--- a/meta/recipes-devtools/git/git_2.29.2.bb
+++ /dev/null
@@ -1,9 +0,0 @@
-require git.inc
-
-EXTRA_OECONF += "ac_cv_snprintf_returns_bogus=no \
- ac_cv_fread_reads_directories=${ac_cv_fread_reads_directories=yes} \
- "
-EXTRA_OEMAKE += "NO_GETTEXT=1"
-
-SRC_URI[tarball.sha256sum] = "869a121e1d75e4c28213df03d204156a17f02fce2dc77be9795b327830f54195"
-SRC_URI[manpages.sha256sum] = "68b258e6d590cb78e02c0df741bbaeab94cbbac6d25de9da4fb3882ee098307b"
diff --git a/meta/recipes-devtools/git/git.inc b/meta/recipes-devtools/git/git_2.45.1.bb
index 544e23c844..d1b3e6ad40 100644
--- a/meta/recipes-devtools/git/git.inc
+++ b/meta/recipes-devtools/git/git_2.45.1.bb
@@ -1,54 +1,76 @@
SUMMARY = "Distributed version control system"
HOMEPAGE = "http://git-scm.com"
+DESCRIPTION = "Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency."
SECTION = "console/utils"
-LICENSE = "GPLv2"
-DEPENDS = "openssl curl zlib expat"
+LICENSE = "GPL-2.0-only & GPL-2.0-or-later & BSD-3-Clause & MIT & BSL-1.0 & LGPL-2.1-or-later"
+DEPENDS = "openssl zlib"
+DEPENDS:class-native += "ca-certificates"
-PROVIDES_append_class-native = " git-replacement-native"
+PROVIDES:append:class-native = " git-replacement-native"
SRC_URI = "${KERNELORG_MIRROR}/software/scm/git/git-${PV}.tar.gz;name=tarball \
- ${KERNELORG_MIRROR}/software/scm/git/git-manpages-${PV}.tar.gz;name=manpages"
+ file://fixsort.patch \
+ file://0001-config.mak.uname-do-not-force-RHEL-7-specific-build-.patch \
+ "
S = "${WORKDIR}/git-${PV}"
-LIC_FILES_CHKSUM = "file://COPYING;md5=7c0d7ef03a7eb04ce795b0f60e68e7e1"
+LIC_FILES_CHKSUM = "\
+ file://COPYING;md5=7c0d7ef03a7eb04ce795b0f60e68e7e1 \
+ file://reftable/LICENSE;md5=1a6424cafc4c9c88c689848e165af33b \
+ file://sha1dc/LICENSE.txt;md5=9bbe4c990a9e98ea4b98ef5d3bcb8a7a \
+ file://compat/nedmalloc/License.txt;md5=e4224ccaecb14d942c71d31bef20d78c \
+ file://compat/inet_ntop.c;md5=76593c6f74e8ced5b24520175688d59b;endline=16 \
+ file://compat/obstack.h;md5=08ad25fee5428cd879ceef451ce3a22e;endline=18 \
+ file://compat/poll/poll.h;md5=9fc00170a53b8e3e52157c91ac688dd1;endline=19 \
+ file://compat/regex/regex.h;md5=30cc8af0e6f0f8a25acec6d8783bb763;beginline=4;endline=22 \
+"
CVE_PRODUCT = "git-scm:git"
-PACKAGECONFIG ??= ""
+PACKAGECONFIG ??= "expat curl"
PACKAGECONFIG[cvsserver] = ""
PACKAGECONFIG[svn] = ""
+PACKAGECONFIG[manpages] = ",,asciidoc-native xmlto-native"
+PACKAGECONFIG[curl] = "--with-curl,--without-curl,curl"
+PACKAGECONFIG[expat] = "--with-expat,--without-expat,expat"
EXTRA_OECONF = "--with-perl=${STAGING_BINDIR_NATIVE}/perl-native/perl \
--without-tcltk \
--without-iconv \
"
-EXTRA_OECONF_append_class-nativesdk = " --with-gitconfig=/etc/gitconfig "
+EXTRA_OECONF:append:class-nativesdk = " --with-gitconfig=/etc/gitconfig "
+EXTRA_OECONF:append:class-native = " --with-gitconfig=/etc/gitconfig "
# Needs brokensep as this doesn't use automake
-inherit autotools-brokensep perlnative bash-completion
+inherit autotools-brokensep perlnative bash-completion manpages
EXTRA_OEMAKE = "NO_PYTHON=1 CFLAGS='${CFLAGS}' LDFLAGS='${LDFLAGS}'"
EXTRA_OEMAKE += "'PERL_PATH=/usr/bin/env perl'"
-EXTRA_OEMAKE_append_class-native = " NO_CROSS_DIRECTORY_HARDLINKS=1"
+EXTRA_OEMAKE += "COMPUTE_HEADER_DEPENDENCIES=no"
+EXTRA_OEMAKE:append:class-native = " NO_CROSS_DIRECTORY_HARDLINKS=1"
-do_compile_prepend () {
+do_compile:prepend () {
# Remove perl/perl.mak to fix the out-of-date perl.mak error
# during rebuild
rm -f perl/perl.mak
+
+ if [ "${@bb.utils.filter('PACKAGECONFIG', 'manpages', d)}" ]; then
+ oe_runmake man
+ fi
}
do_install () {
oe_runmake install DESTDIR="${D}" bindir=${bindir} \
template_dir=${datadir}/git-core/templates
- for section in man1 man5 man7; do
- install -d ${D}/${mandir}/$section
- install -t ${D}/${mandir}/$section ${WORKDIR}/$section/*
- done
-
install -d ${D}/${datadir}/bash-completion/completions/
install -m 644 ${S}/contrib/completion/git-completion.bash ${D}/${datadir}/bash-completion/completions/git
+
+ if [ "${@bb.utils.filter('PACKAGECONFIG', 'manpages', d)}" ]; then
+ # Needs to be serial with make 4.4 due to https://savannah.gnu.org/bugs/index.php?63362
+ make install-man DESTDIR="${D}"
+ fi
}
perl_native_fixup () {
@@ -75,29 +97,30 @@ perl_native_fixup () {
REL_GIT_EXEC_PATH = "${@os.path.relpath(libexecdir, bindir)}/git-core"
REL_GIT_TEMPLATE_DIR = "${@os.path.relpath(datadir, bindir)}/git-core/templates"
+REL_GIT_SSL_CAINFO = "${@os.path.relpath(sysconfdir, bindir)}/ssl/certs/ca-certificates.crt"
-do_install_append_class-target () {
+do_install:append:class-target () {
perl_native_fixup
}
-do_install_append_class-native() {
+do_install:append:class-native() {
create_wrapper ${D}${bindir}/git \
GIT_EXEC_PATH='`dirname $''realpath`'/${REL_GIT_EXEC_PATH} \
+ GIT_SSL_CAINFO='`dirname $''realpath`'/${REL_GIT_SSL_CAINFO} \
GIT_TEMPLATE_DIR='`dirname $''realpath`'/${REL_GIT_TEMPLATE_DIR}
}
-do_install_append_class-nativesdk() {
+do_install:append:class-nativesdk() {
create_wrapper ${D}${bindir}/git \
GIT_EXEC_PATH='`dirname $''realpath`'/${REL_GIT_EXEC_PATH} \
GIT_TEMPLATE_DIR='`dirname $''realpath`'/${REL_GIT_TEMPLATE_DIR}
perl_native_fixup
}
-FILES_${PN} += "${datadir}/git-core ${libexecdir}/git-core/"
+FILES:${PN} += "${datadir}/git-core ${libexecdir}/git-core/"
PERLTOOLS = " \
${bindir}/git-cvsserver \
- ${libexecdir}/git-core/git-add--interactive \
${libexecdir}/git-core/git-archimport \
${libexecdir}/git-core/git-cvsexportcommit \
${libexecdir}/git-core/git-cvsimport \
@@ -113,25 +136,32 @@ PERLTOOLS = " \
# Git tools requiring perl
PACKAGES =+ "${PN}-perltools"
-FILES_${PN}-perltools += " \
+FILES:${PN}-perltools += " \
${PERLTOOLS} \
${libdir}/perl \
${datadir}/perl5 \
"
-RDEPENDS_${PN}-perltools = "${PN} perl perl-module-file-path findutils"
+RDEPENDS:${PN}-perltools = "${PN} perl perl-module-file-path findutils"
# git-tk package with gitk and git-gui
PACKAGES =+ "${PN}-tk"
-#RDEPENDS_${PN}-tk = "${PN} tk tcl"
+#RDEPENDS:${PN}-tk = "${PN} tk tcl"
#EXTRA_OEMAKE = "TCL_PATH=${STAGING_BINDIR_CROSS}/tclsh"
-FILES_${PN}-tk = " \
+FILES:${PN}-tk = " \
${bindir}/gitk \
${datadir}/gitk \
"
PACKAGES =+ "gitweb"
-FILES_gitweb = "${datadir}/gitweb/"
-RDEPENDS_gitweb = "perl"
+FILES:gitweb = "${datadir}/gitweb/"
+RDEPENDS:gitweb = "perl"
BBCLASSEXTEND = "native nativesdk"
+
+EXTRA_OECONF += "ac_cv_snprintf_returns_bogus=no \
+ ac_cv_fread_reads_directories=${ac_cv_fread_reads_directories=yes} \
+ "
+EXTRA_OEMAKE += "NO_GETTEXT=1"
+
+SRC_URI[tarball.sha256sum] = "10acb581993061e616be9c5674469335922025a666318e0748cb8306079fef24"
diff --git a/meta/recipes-devtools/glide/glide_0.13.3.bb b/meta/recipes-devtools/glide/glide_0.13.3.bb
deleted file mode 100644
index 31295edf90..0000000000
--- a/meta/recipes-devtools/glide/glide_0.13.3.bb
+++ /dev/null
@@ -1,42 +0,0 @@
-SUMMARY = "Vendor Package Management for Golang"
-HOMEPAGE = "https://glide.sh"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=54905cf894f8cc416a92f4fc350c35b2"
-
-GO_IMPORT = "github.com/Masterminds/glide"
-SRC_URI = "git://${GO_IMPORT}"
-SRCREV = "8ed5b9292379d86c39592a7e6a58eb9c903877cf"
-
-inherit go
-
-# New Go versions has Go modules support enabled by default and cause the Glide
-# tool build to fail.
-export GO111MODULE = "off"
-
-RDEPENDS_${PN}-dev += "bash"
-RDEPENDS_${PN}-ptest += "bash"
-
-BBCLASSEXTEND = "native nativesdk"
-
-# for x86 ends with textrel in ${PN}
-# http://errors.yoctoproject.org/Errors/Details/185631/
-# ERROR: QA Issue: ELF binary '/work/i586-oe-linux/glide/0.13.1-r0/packages-split/glide/usr/bin/glide' has relocations in .text [textrel]
-INSANE_SKIP_${PN} += "textrel"
-
-# for aarch64 ends with textrel in ${PN}-ptest
-# http://errors.yoctoproject.org/Errors/Details/185633/
-# ERROR: QA Issue: ELF binary '/work/aarch64-oe-linux/glide/0.13.1-r0/packages-split/glide-ptest/usr/lib/glide/ptest/github.com/Masterminds/glide/glide.test' has relocations in .text
-# ELF binary '/work/aarch64-oe-linux/glide/0.13.1-r0/packages-split/glide-ptest/usr/lib/glide/ptest/github.com/Masterminds/glide/dependency/dependency.test' has relocations in .text
-# ELF binary '/work/aarch64-oe-linux/glide/0.13.1-r0/packages-split/glide-ptest/usr/lib/glide/ptest/github.com/Masterminds/glide/repo/repo.test' has relocations in .text
-# ELF binary '/work/aarch64-oe-linux/glide/0.13.1-r0/packages-split/glide-ptest/usr/lib/glide/ptest/github.com/Masterminds/glide/mirrors/mirrors.test' has relocations in .text
-# ELF binary '/work/aarch64-oe-linux/glide/0.13.1-r0/packages-split/glide-ptest/usr/lib/glide/ptest/github.com/Masterminds/glide/cfg/cfg.test' has relocations in .text
-# ELF binary '/work/aarch64-oe-linux/glide/0.13.1-r0/packages-split/glide-ptest/usr/lib/glide/ptest/github.com/Masterminds/glide/godep/strip/strip.test' has relocations in .text
-# ELF binary '/work/aarch64-oe-linux/glide/0.13.1-r0/packages-split/glide-ptest/usr/lib/glide/ptest/github.com/Masterminds/glide/path/path.test' has relocations in .text
-# ELF binary '/work/aarch64-oe-linux/glide/0.13.1-r0/packages-split/glide-ptest/usr/lib/glide/ptest/github.com/Masterminds/glide/tree/tree.test' has relocations in .text
-# ELF binary '/work/aarch64-oe-linux/glide/0.13.1-r0/packages-split/glide-ptest/usr/lib/glide/ptest/github.com/Masterminds/glide/util/util.test' has relocations in .text
-# ELF binary '/work/aarch64-oe-linux/glide/0.13.1-r0/packages-split/glide-ptest/usr/lib/glide/ptest/github.com/Masterminds/glide/action/action.test' has relocations in .text
-# ELF binary '/work/aarch64-oe-linux/glide/0.13.1-r0/packages-split/glide-ptest/usr/lib/glide/ptest/github.com/Masterminds/glide/cache/cache.test' has relocations in .text [textrel]
-INSANE_SKIP_${PN}-ptest += "textrel"
-
-# fails to run task compile_ptest_base on mips
-PTEST_ENABLED_mipsarch = "0"
diff --git a/meta/recipes-devtools/gnu-config/gnu-config_git.bb b/meta/recipes-devtools/gnu-config/gnu-config_git.bb
index 980ed63415..95a7d5485b 100644
--- a/meta/recipes-devtools/gnu-config/gnu-config_git.bb
+++ b/meta/recipes-devtools/gnu-config/gnu-config_git.bb
@@ -1,17 +1,18 @@
SUMMARY = "gnu-configize"
DESCRIPTION = "Tool that installs the GNU config.guess / config.sub into a directory tree"
+HOMEPAGE = "https://git.savannah.gnu.org/cgit/config.git"
SECTION = "devel"
LICENSE = "GPL-3.0-with-autoconf-exception"
-LIC_FILES_CHKSUM = "file://config.guess;beginline=7;endline=27;md5=b75d42f59f706ea56d6a8e00216fca6a"
+LIC_FILES_CHKSUM = "file://config.guess;beginline=9;endline=29;md5=10922f9231863a06f6efb67691fa46e0"
-DEPENDS_class-native = "hostperl-runtime-native"
+DEPENDS:class-native = "hostperl-runtime-native"
INHIBIT_DEFAULT_DEPS = "1"
-SRCREV = "664b772118739dac69ef8c39abea7e02973ff316"
-PV = "20201018+git${SRCPV}"
+SRCREV = "948ae97ca5703224bd3eada06b7a69f40dd15a02"
+PV = "20240101+git"
-SRC_URI = "git://git.savannah.gnu.org/config.git \
+SRC_URI = "git://git.savannah.gnu.org/git/config.git;protocol=https;branch=master \
file://gnu-configize.in"
S = "${WORKDIR}/git"
UPSTREAM_CHECK_COMMITS = "1"
@@ -23,7 +24,7 @@ do_compile[noexec] = "1"
do_install () {
install -d ${D}${datadir}/gnu-config \
${D}${bindir}
- cat ${WORKDIR}/gnu-configize.in | \
+ cat ${UNPACKDIR}/gnu-configize.in | \
sed -e 's,@gnu-configdir@,${datadir}/gnu-config,g' \
-e 's,@autom4te_perllibdir@,${datadir}/autoconf,g' > ${D}${bindir}/gnu-configize
# In the native case we want the system perl as perl-native can't have built yet
@@ -35,6 +36,6 @@ do_install () {
}
PACKAGES = "${PN}"
-FILES_${PN} = "${bindir} ${datadir}/gnu-config"
+FILES:${PN} = "${bindir} ${datadir}/gnu-config"
BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/go/go-1.15.inc b/meta/recipes-devtools/go/go-1.15.inc
deleted file mode 100644
index ccfb0c5987..0000000000
--- a/meta/recipes-devtools/go/go-1.15.inc
+++ /dev/null
@@ -1,20 +0,0 @@
-require go-common.inc
-
-GO_BASEVERSION = "1.15"
-PV = "1.15.5"
-FILESEXTRAPATHS_prepend := "${FILE_DIRNAME}/go-${GO_BASEVERSION}:"
-
-LIC_FILES_CHKSUM = "file://LICENSE;md5=5d4950ecb7b26d2c5e4e7b4e0dd74707"
-
-SRC_URI += "\
- file://0001-allow-CC-and-CXX-to-have-multiple-words.patch \
- file://0002-cmd-go-make-content-based-hash-generation-less-pedan.patch \
- file://0003-allow-GOTOOLDIR-to-be-overridden-in-the-environment.patch \
- file://0004-ld-add-soname-to-shareable-objects.patch \
- file://0005-make.bash-override-CC-when-building-dist-and-go_boot.patch \
- file://0006-cmd-dist-separate-host-and-target-builds.patch \
- file://0007-cmd-go-make-GOROOT-precious-by-default.patch \
- file://0008-use-GOBUILDMODE-to-set-buildmode.patch \
- file://0009-cmd-go-permit-CGO_LDFLAGS-to-appear-in-go-ldflag.patch \
-"
-SRC_URI[main.sha256sum] = "c1076b90cf94b73ebed62a81d802cd84d43d02dea8c07abdc922c57a071c84f1"
diff --git a/meta/recipes-devtools/go/go-1.15/0001-allow-CC-and-CXX-to-have-multiple-words.patch b/meta/recipes-devtools/go/go-1.15/0001-allow-CC-and-CXX-to-have-multiple-words.patch
deleted file mode 100644
index 5f4823be22..0000000000
--- a/meta/recipes-devtools/go/go-1.15/0001-allow-CC-and-CXX-to-have-multiple-words.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From 9e3dc44cdfa58d96504d0a789dc82617dd5bef55 Mon Sep 17 00:00:00 2001
-From: Alex Kube <alexander.j.kube@gmail.com>
-Date: Wed, 23 Oct 2019 21:01:13 +0430
-Subject: [PATCH 1/9] cmd/go: Allow CC and CXX to have multiple words
-
-Upstream-Status: Inappropriate [OE specific]
-
-Adapted to Go 1.13 from patches originally submitted to
-the meta/recipes-devtools/go tree by
-Matt Madison <matt@madison.systems>.
-
-Signed-off-by: Alexander J Kube <alexander.j.kube@gmail.com>
-
----
- src/cmd/go/internal/envcmd/env.go | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
---- a/src/cmd/go/internal/envcmd/env.go
-+++ b/src/cmd/go/internal/envcmd/env.go
-@@ -103,11 +103,11 @@ func MkEnv() []cfg.EnvVar {
-
- cc := cfg.DefaultCC(cfg.Goos, cfg.Goarch)
- if env := strings.Fields(cfg.Getenv("CC")); len(env) > 0 {
-- cc = env[0]
-+ cc = strings.Join(env, " ")
- }
- cxx := cfg.DefaultCXX(cfg.Goos, cfg.Goarch)
- if env := strings.Fields(cfg.Getenv("CXX")); len(env) > 0 {
-- cxx = env[0]
-+ cxx = strings.Join(env, " ")
- }
- env = append(env, cfg.EnvVar{Name: "AR", Value: envOr("AR", "ar")})
- env = append(env, cfg.EnvVar{Name: "CC", Value: cc})
diff --git a/meta/recipes-devtools/go/go-1.15/0002-cmd-go-make-content-based-hash-generation-less-pedan.patch b/meta/recipes-devtools/go/go-1.15/0002-cmd-go-make-content-based-hash-generation-less-pedan.patch
deleted file mode 100644
index d0511c0c40..0000000000
--- a/meta/recipes-devtools/go/go-1.15/0002-cmd-go-make-content-based-hash-generation-less-pedan.patch
+++ /dev/null
@@ -1,219 +0,0 @@
-From a13ae484e41139094505d2834437e9262a5315f7 Mon Sep 17 00:00:00 2001
-From: Alex Kube <alexander.j.kube@gmail.com>
-Date: Wed, 23 Oct 2019 21:14:22 +0430
-Subject: [PATCH 2/9] cmd/go: make content-based hash generation less pedantic
-
-Upstream-Status: Inappropriate [OE specific]
-
-Go 1.10's build tool now uses content-based hashes to
-determine when something should be built or re-built.
-This same mechanism is used to maintain a built-artifact
-cache for speeding up builds.
-
-However, the hashes it generates include information that
-doesn't work well with OE, nor with using a shared runtime
-library.
-
-First, it embeds path names to source files, unless
-building within GOROOT. This prevents the building
-of a package in GOPATH for later staging into GOROOT.
-
-This patch adds support for the environment variable
-GOPATH_OMIT_IN_ACTIONID. If present, path name
-embedding is disabled.
-
-Second, if cgo is enabled, the build ID for cgo-related
-packages will include the current value of the environment
-variables for invoking the compiler (CC, CXX, FC) and
-any CGO_xxFLAGS variables. Only if the settings used
-during a compilation exactly match, character for character,
-the values used for compiling runtime/cgo or any other
-cgo-enabled package being imported, will the tool
-decide that the imported package is up-to-date.
-
-This is done to help ensure correctness, but is overly
-simplistic and effectively prevents the reuse of built
-artifacts that use cgo (or shared runtime, which includes
-runtime/cgo).
-
-This patch filters out all compiler flags except those
-beginning with '-m'. The default behavior can be restored
-by setting the CGO_PEDANTIC environment variable.
-
-Adapted to Go 1.13 from patches originally submitted to
-the meta/recipes-devtools/go tree by
-Matt Madison <matt@madison.systems>.
-
-Signed-off-by: Alexander J Kube <alexander.j.kube@gmail.com>
----
- src/cmd/go/internal/envcmd/env.go | 2 +-
- src/cmd/go/internal/work/exec.go | 66 ++++++++++++++++++++++---------
- 2 files changed, 49 insertions(+), 19 deletions(-)
-
---- a/src/cmd/go/internal/envcmd/env.go
-+++ b/src/cmd/go/internal/envcmd/env.go
-@@ -157,7 +157,7 @@ func ExtraEnvVars() []cfg.EnvVar {
- func ExtraEnvVarsCostly() []cfg.EnvVar {
- var b work.Builder
- b.Init()
-- cppflags, cflags, cxxflags, fflags, ldflags, err := b.CFlags(&load.Package{})
-+ cppflags, cflags, cxxflags, fflags, ldflags, err := b.CFlags(&load.Package{}, false)
- if err != nil {
- // Should not happen - b.CFlags was given an empty package.
- fmt.Fprintf(os.Stderr, "go: invalid cflags: %v\n", err)
---- a/src/cmd/go/internal/work/exec.go
-+++ b/src/cmd/go/internal/work/exec.go
-@@ -33,6 +33,8 @@ import (
- "cmd/go/internal/str"
- )
-
-+var omitGopath = os.Getenv("GOPATH_OMIT_IN_ACTIONID") != ""
-+
- // actionList returns the list of actions in the dag rooted at root
- // as visited in a depth-first post-order traversal.
- func actionList(root *Action) []*Action {
-@@ -209,7 +211,7 @@ func (b *Builder) buildActionID(a *Actio
- // Assume b.WorkDir is being trimmed properly.
- // When -trimpath is used with a package built from the module cache,
- // use the module path and version instead of the directory.
-- if !p.Goroot && !cfg.BuildTrimpath && !strings.HasPrefix(p.Dir, b.WorkDir) {
-+ if !p.Goroot && !omitGopath && !cfg.BuildTrimpath && !strings.HasPrefix(p.Dir, b.WorkDir) {
- fmt.Fprintf(h, "dir %s\n", p.Dir)
- } else if cfg.BuildTrimpath && p.Module != nil {
- fmt.Fprintf(h, "module %s@%s\n", p.Module.Path, p.Module.Version)
-@@ -228,13 +230,13 @@ func (b *Builder) buildActionID(a *Actio
- }
- if len(p.CgoFiles)+len(p.SwigFiles) > 0 {
- fmt.Fprintf(h, "cgo %q\n", b.toolID("cgo"))
-- cppflags, cflags, cxxflags, fflags, ldflags, _ := b.CFlags(p)
-- fmt.Fprintf(h, "CC=%q %q %q %q\n", b.ccExe(), cppflags, cflags, ldflags)
-+ cppflags, cflags, cxxflags, fflags, ldflags, _ := b.CFlags(p, true)
-+ fmt.Fprintf(h, "CC=%q %q %q %q\n", b.ccExe(true), cppflags, cflags, ldflags)
- if len(p.CXXFiles)+len(p.SwigFiles) > 0 {
-- fmt.Fprintf(h, "CXX=%q %q\n", b.cxxExe(), cxxflags)
-+ fmt.Fprintf(h, "CXX=%q %q\n", b.cxxExe(true), cxxflags)
- }
- if len(p.FFiles) > 0 {
-- fmt.Fprintf(h, "FC=%q %q\n", b.fcExe(), fflags)
-+ fmt.Fprintf(h, "FC=%q %q\n", b.fcExe(true), fflags)
- }
- // TODO(rsc): Should we include the SWIG version or Fortran/GCC/G++/Objective-C compiler versions?
- }
-@@ -2298,33 +2300,48 @@ var (
- // gccCmd returns a gcc command line prefix
- // defaultCC is defined in zdefaultcc.go, written by cmd/dist.
- func (b *Builder) GccCmd(incdir, workdir string) []string {
-- return b.compilerCmd(b.ccExe(), incdir, workdir)
-+ return b.compilerCmd(b.ccExe(false), incdir, workdir)
- }
-
- // gxxCmd returns a g++ command line prefix
- // defaultCXX is defined in zdefaultcc.go, written by cmd/dist.
- func (b *Builder) GxxCmd(incdir, workdir string) []string {
-- return b.compilerCmd(b.cxxExe(), incdir, workdir)
-+ return b.compilerCmd(b.cxxExe(false), incdir, workdir)
- }
-
- // gfortranCmd returns a gfortran command line prefix.
- func (b *Builder) gfortranCmd(incdir, workdir string) []string {
-- return b.compilerCmd(b.fcExe(), incdir, workdir)
-+ return b.compilerCmd(b.fcExe(false), incdir, workdir)
- }
-
- // ccExe returns the CC compiler setting without all the extra flags we add implicitly.
--func (b *Builder) ccExe() []string {
-- return b.compilerExe(origCC, cfg.DefaultCC(cfg.Goos, cfg.Goarch))
-+func (b *Builder) ccExe(filtered bool) []string {
-+ return b.compilerExe(origCC, cfg.DefaultCC(cfg.Goos, cfg.Goarch), filtered)
- }
-
- // cxxExe returns the CXX compiler setting without all the extra flags we add implicitly.
--func (b *Builder) cxxExe() []string {
-- return b.compilerExe(origCXX, cfg.DefaultCXX(cfg.Goos, cfg.Goarch))
-+func (b *Builder) cxxExe(filtered bool) []string {
-+ return b.compilerExe(origCXX, cfg.DefaultCXX(cfg.Goos, cfg.Goarch), filtered)
- }
-
- // fcExe returns the FC compiler setting without all the extra flags we add implicitly.
--func (b *Builder) fcExe() []string {
-- return b.compilerExe(cfg.Getenv("FC"), "gfortran")
-+func (b *Builder) fcExe(filtered bool) []string {
-+ return b.compilerExe(os.Getenv("FC"), "gfortran", filtered)
-+}
-+
-+var filterFlags = os.Getenv("CGO_PEDANTIC") == ""
-+
-+func filterCompilerFlags(flags []string) []string {
-+ var newflags []string
-+ if !filterFlags {
-+ return flags
-+ }
-+ for _, flag := range flags {
-+ if strings.HasPrefix(flag, "-m") {
-+ newflags = append(newflags, flag)
-+ }
-+ }
-+ return newflags
- }
-
- // compilerExe returns the compiler to use given an
-@@ -2333,11 +2350,16 @@ func (b *Builder) fcExe() []string {
- // of the compiler but can have additional arguments if they
- // were present in the environment value.
- // For example if CC="gcc -DGOPHER" then the result is ["gcc", "-DGOPHER"].
--func (b *Builder) compilerExe(envValue string, def string) []string {
-+func (b *Builder) compilerExe(envValue string, def string, filtered bool) []string {
- compiler := strings.Fields(envValue)
- if len(compiler) == 0 {
- compiler = []string{def}
- }
-+
-+ if filtered {
-+ return append(compiler[0:1], filterCompilerFlags(compiler[1:])...)
-+ }
-+
- return compiler
- }
-
-@@ -2510,7 +2532,7 @@ func envList(key, def string) []string {
- }
-
- // CFlags returns the flags to use when invoking the C, C++ or Fortran compilers, or cgo.
--func (b *Builder) CFlags(p *load.Package) (cppflags, cflags, cxxflags, fflags, ldflags []string, err error) {
-+func (b *Builder) CFlags(p *load.Package, filtered bool) (cppflags, cflags, cxxflags, fflags, ldflags []string, err error) {
- defaults := "-g -O2"
-
- if cppflags, err = buildFlags("CPPFLAGS", "", p.CgoCPPFLAGS, checkCompilerFlags); err != nil {
-@@ -2529,6 +2551,14 @@ func (b *Builder) CFlags(p *load.Package
- return
- }
-
-+ if filtered {
-+ cppflags = filterCompilerFlags(cppflags)
-+ cflags = filterCompilerFlags(cflags)
-+ cxxflags = filterCompilerFlags(cxxflags)
-+ fflags = filterCompilerFlags(fflags)
-+ ldflags = filterCompilerFlags(ldflags)
-+ }
-+
- return
- }
-
-@@ -2543,7 +2573,7 @@ var cgoRe = lazyregexp.New(`[/\\:]`)
-
- func (b *Builder) cgo(a *Action, cgoExe, objdir string, pcCFLAGS, pcLDFLAGS, cgofiles, gccfiles, gxxfiles, mfiles, ffiles []string) (outGo, outObj []string, err error) {
- p := a.Package
-- cgoCPPFLAGS, cgoCFLAGS, cgoCXXFLAGS, cgoFFLAGS, cgoLDFLAGS, err := b.CFlags(p)
-+ cgoCPPFLAGS, cgoCFLAGS, cgoCXXFLAGS, cgoFFLAGS, cgoLDFLAGS, err := b.CFlags(p, false)
- if err != nil {
- return nil, nil, err
- }
-@@ -2902,7 +2932,7 @@ func (b *Builder) swigIntSize(objdir str
-
- // Run SWIG on one SWIG input file.
- func (b *Builder) swigOne(a *Action, p *load.Package, file, objdir string, pcCFLAGS []string, cxx bool, intgosize string) (outGo, outC string, err error) {
-- cgoCPPFLAGS, cgoCFLAGS, cgoCXXFLAGS, _, _, err := b.CFlags(p)
-+ cgoCPPFLAGS, cgoCFLAGS, cgoCXXFLAGS, _, _, err := b.CFlags(p, false)
- if err != nil {
- return "", "", err
- }
diff --git a/meta/recipes-devtools/go/go-1.15/0003-allow-GOTOOLDIR-to-be-overridden-in-the-environment.patch b/meta/recipes-devtools/go/go-1.15/0003-allow-GOTOOLDIR-to-be-overridden-in-the-environment.patch
deleted file mode 100644
index 662c705471..0000000000
--- a/meta/recipes-devtools/go/go-1.15/0003-allow-GOTOOLDIR-to-be-overridden-in-the-environment.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-From 28ada8896b76d620240bafc22aa395071d601482 Mon Sep 17 00:00:00 2001
-From: Alex Kube <alexander.j.kube@gmail.com>
-Date: Wed, 23 Oct 2019 21:15:37 +0430
-Subject: [PATCH 3/9] cmd/go: Allow GOTOOLDIR to be overridden in the environment
-
-to allow for split host/target build roots
-
-Adapted to Go 1.13 from patches originally submitted to
-the meta/recipes-devtools/go tree by
-Matt Madison <matt@madison.systems>.
-
-Upstream-Status: Inappropriate [OE specific]
-
-Signed-off-by: Alexander J Kube <alexander.j.kube@gmail.com>
----
- src/cmd/dist/build.go | 4 +++-
- src/cmd/go/internal/cfg/cfg.go | 6 +++++-
- 2 files changed, 8 insertions(+), 2 deletions(-)
-
---- a/src/cmd/dist/build.go
-+++ b/src/cmd/dist/build.go
-@@ -246,7 +246,9 @@ func xinit() {
- workdir = xworkdir()
- xatexit(rmworkdir)
-
-- tooldir = pathf("%s/pkg/tool/%s_%s", goroot, gohostos, gohostarch)
-+ if tooldir = os.Getenv("GOTOOLDIR"); tooldir == "" {
-+ tooldir = pathf("%s/pkg/tool/%s_%s", goroot, gohostos, gohostarch)
-+ }
- }
-
- // compilerEnv returns a map from "goos/goarch" to the
---- a/src/cmd/go/internal/cfg/cfg.go
-+++ b/src/cmd/go/internal/cfg/cfg.go
-@@ -64,7 +64,11 @@ func defaultContext() build.Context {
- // variables. This matches the initialization of ToolDir in
- // go/build, except for using ctxt.GOROOT rather than
- // runtime.GOROOT.
-- build.ToolDir = filepath.Join(ctxt.GOROOT, "pkg/tool/"+runtime.GOOS+"_"+runtime.GOARCH)
-+ if s := os.Getenv("GOTOOLDIR"); s != "" {
-+ build.ToolDir = filepath.Clean(s)
-+ } else {
-+ build.ToolDir = filepath.Join(ctxt.GOROOT, "pkg/tool/"+runtime.GOOS+"_"+runtime.GOARCH)
-+ }
- }
-
- ctxt.GOPATH = envOr("GOPATH", ctxt.GOPATH)
diff --git a/meta/recipes-devtools/go/go-1.15/0006-cmd-dist-separate-host-and-target-builds.patch b/meta/recipes-devtools/go/go-1.15/0006-cmd-dist-separate-host-and-target-builds.patch
deleted file mode 100644
index 7aee0bac43..0000000000
--- a/meta/recipes-devtools/go/go-1.15/0006-cmd-dist-separate-host-and-target-builds.patch
+++ /dev/null
@@ -1,274 +0,0 @@
-From 10735bb84df17ba657f76835f483cd8543a879c1 Mon Sep 17 00:00:00 2001
-From: Alex Kube <alexander.j.kube@gmail.com>
-Date: Wed, 23 Oct 2019 21:18:12 +0430
-Subject: [PATCH 6/9] cmd/dist: separate host and target builds
-
-Upstream-Status: Inappropriate [OE specific]
-
-Change the dist tool to allow for OE-style cross-
-and cross-canadian builds:
-
- - command flags --host-only and --target only are added;
- if one is present, the other changes mentioned below
- take effect, and arguments may also be specified on
- the command line to enumerate the package(s) to be
- built.
-
- - for OE cross builds, go_bootstrap is always built for
- the current build host, and is moved, along with the supporting
- toolchain (asm, compile, etc.) to a separate 'native_native'
- directory under GOROOT/pkg/tool.
-
- - go_bootstrap is not automatically removed after the build,
- so it can be reused later (e.g., building both static and
- shared runtime).
-
-Note that for --host-only builds, it would be nice to specify
-just the "cmd" package to build only the go commands/tools,
-the staleness checks in the dist tool will fail if the "std"
-library has not also been built. So host-only builds have to
-build everything anyway.
-
-Adapted to Go 1.13 from patches originally submitted to
-the meta/recipes-devtools/go tree by
-Matt Madison <matt@madison.systems>.
-
-Signed-off-by: Alexander J Kube <alexander.j.kube@gmail.com>
----
- src/cmd/dist/build.go | 155 ++++++++++++++++++++++++++++++------------
- 1 file changed, 112 insertions(+), 43 deletions(-)
-
---- a/src/cmd/dist/build.go
-+++ b/src/cmd/dist/build.go
-@@ -41,6 +41,7 @@ var (
- goldflags string
- workdir string
- tooldir string
-+ build_tooldir string
- oldgoos string
- oldgoarch string
- exe string
-@@ -53,6 +54,7 @@ var (
-
- rebuildall bool
- defaultclang bool
-+ crossBuild bool
-
- vflag int // verbosity
- )
-@@ -249,6 +251,8 @@ func xinit() {
- if tooldir = os.Getenv("GOTOOLDIR"); tooldir == "" {
- tooldir = pathf("%s/pkg/tool/%s_%s", goroot, gohostos, gohostarch)
- }
-+
-+ build_tooldir = pathf("%s/pkg/tool/native_native", goroot)
- }
-
- // compilerEnv returns a map from "goos/goarch" to the
-@@ -480,8 +484,10 @@ func setup() {
- p := pathf("%s/pkg/%s_%s", goroot, gohostos, gohostarch)
- if rebuildall {
- xremoveall(p)
-+ xremoveall(build_tooldir)
- }
- xmkdirall(p)
-+ xmkdirall(build_tooldir)
-
- if goos != gohostos || goarch != gohostarch {
- p := pathf("%s/pkg/%s_%s", goroot, goos, goarch)
-@@ -1244,12 +1250,29 @@ func cmdbootstrap() {
-
- var noBanner bool
- var debug bool
-+ var hostOnly bool
-+ var targetOnly bool
-+ var toBuild = []string{"std", "cmd"}
-+
- flag.BoolVar(&rebuildall, "a", rebuildall, "rebuild all")
- flag.BoolVar(&debug, "d", debug, "enable debugging of bootstrap process")
- flag.BoolVar(&noBanner, "no-banner", noBanner, "do not print banner")
-+ flag.BoolVar(&hostOnly, "host-only", hostOnly, "build only host binaries, not target")
-+ flag.BoolVar(&targetOnly, "target-only", targetOnly, "build only target binaries, not host")
-
-- xflagparse(0)
-+ xflagparse(-1)
-
-+ if hostOnly && targetOnly {
-+ fatalf("specify only one of --host-only or --target-only\n")
-+ }
-+ crossBuild = hostOnly || targetOnly
-+ if flag.NArg() > 0 {
-+ if crossBuild {
-+ toBuild = flag.Args()
-+ } else {
-+ fatalf("package names not permitted without --host-only or --target-only\n")
-+ }
-+ }
- // Set GOPATH to an internal directory. We shouldn't actually
- // need to store files here, since the toolchain won't
- // depend on modules outside of vendor directories, but if
-@@ -1303,8 +1326,13 @@ func cmdbootstrap() {
- xprintf("\n")
- }
-
-- gogcflags = os.Getenv("GO_GCFLAGS") // we were using $BOOT_GO_GCFLAGS until now
-- goldflags = os.Getenv("GO_LDFLAGS") // we were using $BOOT_GO_LDFLAGS until now
-+ // For split host/target cross/cross-canadian builds, we don't
-+ // want to be setting these flags until after we have compiled
-+ // the toolchain that runs on the build host.
-+ if !crossBuild {
-+ gogcflags = os.Getenv("GO_GCFLAGS") // we were using $BOOT_GO_GCFLAGS until now
-+ goldflags = os.Getenv("GO_LDFLAGS") // we were using $BOOT_GO_LDFLAGS until now
-+ }
- goBootstrap := pathf("%s/go_bootstrap", tooldir)
- cmdGo := pathf("%s/go", gobin)
- if debug {
-@@ -1333,7 +1361,11 @@ func cmdbootstrap() {
- xprintf("\n")
- }
- xprintf("Building Go toolchain2 using go_bootstrap and Go toolchain1.\n")
-- os.Setenv("CC", compilerEnvLookup(defaultcc, goos, goarch))
-+ if crossBuild {
-+ os.Setenv("CC", defaultcc[""])
-+ } else {
-+ os.Setenv("CC", compilerEnvLookup(defaultcc, goos, goarch))
-+ }
- goInstall(goBootstrap, append([]string{"-i"}, toolchain...)...)
- if debug {
- run("", ShowOutput|CheckExit, pathf("%s/compile", tooldir), "-V=full")
-@@ -1370,50 +1402,84 @@ func cmdbootstrap() {
- }
- checkNotStale(goBootstrap, append(toolchain, "runtime/internal/sys")...)
-
-- if goos == oldgoos && goarch == oldgoarch {
-- // Common case - not setting up for cross-compilation.
-- timelog("build", "toolchain")
-- if vflag > 0 {
-- xprintf("\n")
-+ if crossBuild {
-+ gogcflags = os.Getenv("GO_GCFLAGS")
-+ goldflags = os.Getenv("GO_LDFLAGS")
-+ tool_files, _ := filepath.Glob(pathf("%s/*", tooldir))
-+ for _, f := range tool_files {
-+ copyfile(pathf("%s/%s", build_tooldir, filepath.Base(f)), f, writeExec)
-+ xremove(f)
-+ }
-+ os.Setenv("GOTOOLDIR", build_tooldir)
-+ goBootstrap = pathf("%s/go_bootstrap", build_tooldir)
-+ if hostOnly {
-+ timelog("build", "host toolchain")
-+ if vflag > 0 {
-+ xprintf("\n")
-+ }
-+ xprintf("Building %s for host, %s/%s.\n", strings.Join(toBuild, ","), goos, goarch)
-+ goInstall(goBootstrap, toBuild...)
-+ checkNotStale(goBootstrap, toBuild...)
-+ // Skip cmdGo staleness checks here, since we can't necessarily run the cmdGo binary
-+
-+ timelog("build", "target toolchain")
-+ if vflag > 0 {
-+ xprintf("\n")
-+ }
-+ } else if targetOnly {
-+ goos = oldgoos
-+ goarch = oldgoarch
-+ os.Setenv("GOOS", goos)
-+ os.Setenv("GOARCH", goarch)
-+ os.Setenv("CC", compilerEnvLookup(defaultcc, goos, goarch))
-+ xprintf("Building %s for target, %s/%s.\n", strings.Join(toBuild, ","), goos, goarch)
-+ goInstall(goBootstrap, toBuild...)
-+ checkNotStale(goBootstrap, toBuild...)
-+ // Skip cmdGo staleness checks here, since we can't run the target's cmdGo binary
- }
-- xprintf("Building packages and commands for %s/%s.\n", goos, goarch)
- } else {
-- // GOOS/GOARCH does not match GOHOSTOS/GOHOSTARCH.
-- // Finish GOHOSTOS/GOHOSTARCH installation and then
-- // run GOOS/GOARCH installation.
-- timelog("build", "host toolchain")
-- if vflag > 0 {
-- xprintf("\n")
-+
-+ if goos == oldgoos && goarch == oldgoarch {
-+ // Common case - not setting up for cross-compilation.
-+ timelog("build", "toolchain")
-+ if vflag > 0 {
-+ xprintf("\n")
-+ }
-+ xprintf("Building packages and commands for %s/%s.\n", goos, goarch)
-+ } else {
-+ // GOOS/GOARCH does not match GOHOSTOS/GOHOSTARCH.
-+ // Finish GOHOSTOS/GOHOSTARCH installation and then
-+ // run GOOS/GOARCH installation.
-+ timelog("build", "host toolchain")
-+ if vflag > 0 {
-+ xprintf("\n")
-+ }
-+ xprintf("Building packages and commands for host, %s/%s.\n", goos, goarch)
-+ goInstall(goBootstrap, "std", "cmd")
-+ checkNotStale(goBootstrap, "std", "cmd")
-+ checkNotStale(cmdGo, "std", "cmd")
-+
-+ timelog("build", "target toolchain")
-+ if vflag > 0 {
-+ xprintf("\n")
-+ }
-+ goos = oldgoos
-+ goarch = oldgoarch
-+ os.Setenv("GOOS", goos)
-+ os.Setenv("GOARCH", goarch)
-+ os.Setenv("CC", compilerEnvLookup(defaultcc, goos, goarch))
-+ xprintf("Building packages and commands for target, %s/%s.\n", goos, goarch)
- }
-- xprintf("Building packages and commands for host, %s/%s.\n", goos, goarch)
- goInstall(goBootstrap, "std", "cmd")
- checkNotStale(goBootstrap, "std", "cmd")
- checkNotStale(cmdGo, "std", "cmd")
-
-- timelog("build", "target toolchain")
-- if vflag > 0 {
-- xprintf("\n")
-- }
-- goos = oldgoos
-- goarch = oldgoarch
-- os.Setenv("GOOS", goos)
-- os.Setenv("GOARCH", goarch)
-- os.Setenv("CC", compilerEnvLookup(defaultcc, goos, goarch))
-- xprintf("Building packages and commands for target, %s/%s.\n", goos, goarch)
-- }
-- targets := []string{"std", "cmd"}
-- if goos == "js" && goarch == "wasm" {
-- // Skip the cmd tools for js/wasm. They're not usable.
-- targets = targets[:1]
-- }
-- goInstall(goBootstrap, targets...)
-- checkNotStale(goBootstrap, targets...)
-- checkNotStale(cmdGo, targets...)
-- if debug {
-- run("", ShowOutput|CheckExit, pathf("%s/compile", tooldir), "-V=full")
-- run("", ShowOutput|CheckExit, pathf("%s/buildid", tooldir), pathf("%s/pkg/%s_%s/runtime/internal/sys.a", goroot, goos, goarch))
-- checkNotStale(goBootstrap, append(toolchain, "runtime/internal/sys")...)
-- copyfile(pathf("%s/compile4", tooldir), pathf("%s/compile", tooldir), writeExec)
-+ if debug {
-+ run("", ShowOutput|CheckExit, pathf("%s/compile", tooldir), "-V=full")
-+ run("", ShowOutput|CheckExit, pathf("%s/buildid", tooldir), pathf("%s/pkg/%s_%s/runtime/internal/sys.a", goroot, goos, goarch))
-+ checkNotStale(goBootstrap, append(toolchain, "runtime/internal/sys")...)
-+ copyfile(pathf("%s/compile4", tooldir), pathf("%s/compile", tooldir), writeExec)
-+ }
- }
-
- // Check that there are no new files in $GOROOT/bin other than
-@@ -1430,8 +1496,11 @@ func cmdbootstrap() {
- }
- }
-
-- // Remove go_bootstrap now that we're done.
-- xremove(pathf("%s/go_bootstrap", tooldir))
-+ // Except that for split host/target cross-builds, we need to
-+ // keep it.
-+ if !crossBuild {
-+ xremove(pathf("%s/go_bootstrap", tooldir))
-+ }
-
- if goos == "android" {
- // Make sure the exec wrapper will sync a fresh $GOROOT to the device.
diff --git a/meta/recipes-devtools/go/go-1.15/0008-use-GOBUILDMODE-to-set-buildmode.patch b/meta/recipes-devtools/go/go-1.15/0008-use-GOBUILDMODE-to-set-buildmode.patch
deleted file mode 100644
index 4e5d5021d6..0000000000
--- a/meta/recipes-devtools/go/go-1.15/0008-use-GOBUILDMODE-to-set-buildmode.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-From 971b5626339ce0c4d57f9721c9a81af566c5a044 Mon Sep 17 00:00:00 2001
-From: Alex Kube <alexander.j.kube@gmail.com>
-Date: Wed, 23 Oct 2019 21:19:26 +0430
-Subject: [PATCH 8/9] cmd/go: Use GOBUILDMODE to set buildmode
-
-Upstream-Status: Denied [upstream choose antoher solution: `17a256b
-cmd/go: -buildmode=pie for android/arm']
-
-While building go itself, the go build system does not support
-to set `-buildmode=pie' from environment.
-
-Add GOBUILDMODE to support it which make PIE executables the default
-build mode, as PIE executables are required as of Yocto
-
-Refers: https://groups.google.com/forum/#!topic/golang-dev/gRCe5URKewI
-
-Adapted to Go 1.13 from patches originally submitted to
-the meta/recipes-devtools/go tree by
-Hongxu Jia <hongxu.jia@windriver.com>
-
-Signed-off-by: Alexander J Kube <alexander.j.kube@gmail.com>
----
- src/cmd/go/internal/work/build.go | 8 +++++++-
- 1 file changed, 7 insertions(+), 1 deletion(-)
-
---- a/src/cmd/go/internal/work/build.go
-+++ b/src/cmd/go/internal/work/build.go
-@@ -254,7 +254,13 @@ func AddBuildFlags(cmd *base.Command, ma
-
- cmd.Flag.Var(&load.BuildAsmflags, "asmflags", "")
- cmd.Flag.Var(buildCompiler{}, "compiler", "")
-- cmd.Flag.StringVar(&cfg.BuildBuildmode, "buildmode", "default", "")
-+
-+ if bm := os.Getenv("GOBUILDMODE"); bm != "" {
-+ cmd.Flag.StringVar(&cfg.BuildBuildmode, "buildmode", bm, "")
-+ } else {
-+ cmd.Flag.StringVar(&cfg.BuildBuildmode, "buildmode", "default", "")
-+ }
-+
- cmd.Flag.Var(&load.BuildGcflags, "gcflags", "")
- cmd.Flag.Var(&load.BuildGccgoflags, "gccgoflags", "")
- if mask&OmitModFlag == 0 {
diff --git a/meta/recipes-devtools/go/go-1.15/0009-cmd-go-permit-CGO_LDFLAGS-to-appear-in-go-ldflag.patch b/meta/recipes-devtools/go/go-1.15/0009-cmd-go-permit-CGO_LDFLAGS-to-appear-in-go-ldflag.patch
deleted file mode 100644
index b57041f1db..0000000000
--- a/meta/recipes-devtools/go/go-1.15/0009-cmd-go-permit-CGO_LDFLAGS-to-appear-in-go-ldflag.patch
+++ /dev/null
@@ -1,100 +0,0 @@
-From 4759221d46b1666de96b8047cec3160bfe4d3d5d Mon Sep 17 00:00:00 2001
-From: Ian Lance Taylor <iant@golang.org>
-Date: Fri, 13 Nov 2020 11:05:37 -0800
-Subject: [PATCH] cmd/go: permit CGO_LDFLAGS to appear in //go:ldflag
-
-Fixes #42565
-
-Upstream-Status: Backport [https://github.com/golang/go/commit/782cf560db4c919790fdb476d1bbe18e5ddf5ffd]
-Change-Id: If7cf39905d124dbd54dfac6a53ee38270498efed
-Reviewed-on: https://go-review.googlesource.com/c/go/+/269818
-Trust: Ian Lance Taylor <iant@golang.org>
-Run-TryBot: Ian Lance Taylor <iant@golang.org>
-TryBot-Result: Go Bot <gobot@golang.org>
-Reviewed-by: Jay Conrod <jayconrod@google.com>
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
- src/cmd/go/internal/work/exec.go | 15 +++++++++
- src/cmd/go/testdata/script/ldflag.txt | 44 +++++++++++++++++++++++++++
- 2 files changed, 59 insertions(+)
- create mode 100644 src/cmd/go/testdata/script/ldflag.txt
-
-diff --git a/src/cmd/go/internal/work/exec.go b/src/cmd/go/internal/work/exec.go
-index 575a2df..9209e3d 100644
---- a/src/cmd/go/internal/work/exec.go
-+++ b/src/cmd/go/internal/work/exec.go
-@@ -2821,6 +2821,21 @@ func (b *Builder) cgo(a *Action, cgoExe, objdir string, pcCFLAGS, pcLDFLAGS, cgo
- idx = bytes.Index(src, []byte(cgoLdflag))
- }
- }
-+
-+ // We expect to find the contents of cgoLDFLAGS in flags.
-+ if len(cgoLDFLAGS) > 0 {
-+ outer:
-+ for i := range flags {
-+ for j, f := range cgoLDFLAGS {
-+ if f != flags[i+j] {
-+ continue outer
-+ }
-+ }
-+ flags = append(flags[:i], flags[i+len(cgoLDFLAGS):]...)
-+ break
-+ }
-+ }
-+
- if err := checkLinkerFlags("LDFLAGS", "go:cgo_ldflag", flags); err != nil {
- return nil, nil, err
- }
-diff --git a/src/cmd/go/testdata/script/ldflag.txt b/src/cmd/go/testdata/script/ldflag.txt
-new file mode 100644
-index 0000000..6ceb33b
---- /dev/null
-+++ b/src/cmd/go/testdata/script/ldflag.txt
-@@ -0,0 +1,44 @@
-+# Issue #42565
-+
-+[!cgo] skip
-+
-+# We can't build package bad, which uses #cgo LDFLAGS.
-+cd bad
-+! go build
-+stderr no-such-warning
-+
-+# We can build package ok with the same flags in CGO_LDFLAGS.
-+env CGO_LDFLAGS=-Wno-such-warning -Wno-unknown-warning-option
-+cd ../ok
-+go build
-+
-+# Build a main program that actually uses LDFLAGS.
-+cd ..
-+go build -ldflags=-v
-+
-+# Because we passed -v the Go linker should print the external linker
-+# command which should include the flag we passed in CGO_LDFLAGS.
-+stderr no-such-warning
-+
-+-- go.mod --
-+module ldflag
-+
-+-- bad/bad.go --
-+package bad
-+
-+// #cgo LDFLAGS: -Wno-such-warning -Wno-unknown-warning
-+import "C"
-+
-+func F() {}
-+-- ok/ok.go --
-+package ok
-+
-+import "C"
-+
-+func F() {}
-+-- main.go --
-+package main
-+
-+import _ "ldflag/ok"
-+
-+func main() {}
---
-2.29.2
-
diff --git a/meta/recipes-devtools/go/go-1.22.3.inc b/meta/recipes-devtools/go/go-1.22.3.inc
new file mode 100644
index 0000000000..34703bc1fa
--- /dev/null
+++ b/meta/recipes-devtools/go/go-1.22.3.inc
@@ -0,0 +1,18 @@
+require go-common.inc
+
+FILESEXTRAPATHS:prepend := "${FILE_DIRNAME}/go:"
+
+LIC_FILES_CHKSUM = "file://LICENSE;md5=5d4950ecb7b26d2c5e4e7b4e0dd74707"
+
+SRC_URI += "\
+ file://0001-cmd-go-make-content-based-hash-generation-less-pedan.patch \
+ file://0002-cmd-go-Allow-GOTOOLDIR-to-be-overridden-in-the-envir.patch \
+ file://0003-ld-add-soname-to-shareable-objects.patch \
+ file://0004-make.bash-override-CC-when-building-dist-and-go_boot.patch \
+ file://0005-cmd-dist-separate-host-and-target-builds.patch \
+ file://0006-cmd-go-make-GOROOT-precious-by-default.patch \
+ file://0007-exec.go-filter-out-build-specific-paths-from-linker-.patch \
+ file://0008-src-cmd-dist-buildgo.go-do-not-hardcode-host-compile.patch \
+ file://0009-go-Filter-build-paths-on-staticly-linked-arches.patch \
+"
+SRC_URI[main.sha256sum] = "80648ef34f903193d72a59c0dff019f5f98ae0c9aa13ade0b0ecbff991a76f68"
diff --git a/meta/recipes-devtools/go/go-binary-native_1.15.5.bb b/meta/recipes-devtools/go/go-binary-native_1.22.3.bb
index 1fb11b0435..b67d97608d 100644
--- a/meta/recipes-devtools/go/go-binary-native_1.15.5.bb
+++ b/meta/recipes-devtools/go/go-binary-native_1.22.3.bb
@@ -7,13 +7,17 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=5d4950ecb7b26d2c5e4e7b4e0dd74707"
PROVIDES = "go-native"
+# Checksums available at https://go.dev/dl/
SRC_URI = "https://dl.google.com/go/go${PV}.${BUILD_GOOS}-${BUILD_GOARCH}.tar.gz;name=go_${BUILD_GOTUPLE}"
-SRC_URI[go_linux_amd64.sha256sum] = "9a58494e8da722c3aef248c9227b0e9c528c7318309827780f16220998180a0d"
-SRC_URI[go_linux_arm64.sha256sum] = "a72a0b036beb4193a0214bca3fca4c5d68a38a4ccf098c909f7ce8bf08567c48"
+SRC_URI[go_linux_amd64.sha256sum] = "8920ea521bad8f6b7bc377b4824982e011c19af27df88a815e3586ea895f1b36"
+SRC_URI[go_linux_arm64.sha256sum] = "6c33e52a5b26e7aa021b94475587fce80043a727a54ceb0eee2f9fc160646434"
+SRC_URI[go_linux_ppc64le.sha256sum] = "04b7b05283de30dd2da20bf3114b2e22cc727938aed3148babaf35cc951051ac"
UPSTREAM_CHECK_URI = "https://golang.org/dl/"
UPSTREAM_CHECK_REGEX = "go(?P<pver>\d+(\.\d+)+)\.linux"
+CVE_PRODUCT = "golang:go"
+
S = "${WORKDIR}/go"
inherit goarch native
diff --git a/meta/recipes-devtools/go/go-common.inc b/meta/recipes-devtools/go/go-common.inc
index f18d928c70..db165792dc 100644
--- a/meta/recipes-devtools/go/go-common.inc
+++ b/meta/recipes-devtools/go/go-common.inc
@@ -14,16 +14,19 @@ LICENSE = "BSD-3-Clause"
inherit goarch
-SRC_URI = "http://golang.org/dl/go${PV}.src.tar.gz;name=main"
+SRC_URI = "https://golang.org/dl/go${PV}.src.tar.gz;name=main"
S = "${WORKDIR}/go"
B = "${S}"
UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)\.src\.tar"
+# all recipe variants are created from the same product
+CVE_PRODUCT = "golang:go"
+
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
SSTATE_SCAN_CMD = "true"
export GOROOT_OVERRIDE = "1"
-export GOTMPDIR ?= "${WORKDIR}/go-tmp"
+export GOTMPDIR ?= "${WORKDIR}/build-tmp"
GOTMPDIR[vardepvalue] = ""
export CGO_ENABLED = "1"
@@ -37,6 +40,8 @@ export GO386 ?= "${TARGET_GO386}"
export GOMIPS ?= "${TARGET_GOMIPS}"
export GOROOT_FINAL ?= "${libdir}/go"
-do_compile_prepend() {
+export GODEBUG = "gocachehash=1"
+
+do_compile:prepend() {
BUILD_CC=${BUILD_CC}
}
diff --git a/meta/recipes-devtools/go/go-cross-canadian.inc b/meta/recipes-devtools/go/go-cross-canadian.inc
index d49250a8e2..dd485b6799 100644
--- a/meta/recipes-devtools/go/go-cross-canadian.inc
+++ b/meta/recipes-devtools/go/go-cross-canadian.inc
@@ -1,14 +1,14 @@
inherit cross-canadian
-DEPENDS = "go-native virtual/${HOST_PREFIX}go-crosssdk virtual/nativesdk-${HOST_PREFIX}go-runtime \
- virtual/${HOST_PREFIX}gcc-crosssdk virtual/nativesdk-libc \
+DEPENDS = "go-native virtual/${HOST_PREFIX}go virtual/nativesdk-${HOST_PREFIX}go-runtime \
+ virtual/${HOST_PREFIX}gcc virtual/nativesdk-libc \
virtual/nativesdk-${HOST_PREFIX}compilerlibs"
PN = "go-cross-canadian-${TRANSLATED_TARGET_ARCH}"
# it uses gcc on build machine during go-cross-canadian bootstrap, but
# the gcc version may be old and not support option '-fmacro-prefix-map'
# which is one of default values of DEBUG_PREFIX_MAP
-DEBUG_PREFIX_MAP = "-fdebug-prefix-map=${WORKDIR}=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR} \
+DEBUG_PREFIX_MAP = "-fdebug-prefix-map=${WORKDIR}=${TARGET_DBGSRC_DIR} \
-fdebug-prefix-map=${STAGING_DIR_HOST}= \
-fdebug-prefix-map=${STAGING_DIR_NATIVE}= \
"
@@ -16,18 +16,17 @@ DEBUG_PREFIX_MAP = "-fdebug-prefix-map=${WORKDIR}=/usr/src/debug/${PN}/${EXTENDP
export GOTOOLDIR_BOOTSTRAP = "${STAGING_LIBDIR_NATIVE}/${HOST_SYS}/go/pkg/tool/${BUILD_GOTUPLE}"
export CGO_CFLAGS = "${CFLAGS}"
export CGO_LDFLAGS = "${LDFLAGS}"
-export GO_LDFLAGS = '-linkmode external -extld ${HOST_PREFIX}gcc -extldflags "--sysroot=${STAGING_DIR_HOST} ${SECURITY_NOPIE_CFLAGS} ${HOST_CC_ARCH} ${LDFLAGS}"'
+export GO_LDFLAGS = '-extld ${HOST_PREFIX}gcc -extldflags "--sysroot=${STAGING_DIR_HOST} ${SECURITY_NOPIE_CFLAGS} ${HOST_CC_ARCH} ${LDFLAGS}"'
do_configure[noexec] = "1"
do_compile() {
- export CC_FOR_${HOST_GOTUPLE}="${HOST_PREFIX}gcc --sysroot=${STAGING_DIR_HOST}${SDKPATHNATIVE} ${SECURITY_NOPIE_CFLAGS}"
- export CXX_FOR_${HOST_GOTUPLE}="${HOST_PREFIX}gxx --sysroot=${STAGING_DIR_HOST}${SDKPATHNATIVE} ${SECURITY_NOPIE_CFLAGS}"
+ export CC_FOR_${HOST_GOTUPLE}="${HOST_PREFIX}gcc --sysroot=${STAGING_DIR_HOST} ${SECURITY_NOPIE_CFLAGS}"
+ export CXX_FOR_${HOST_GOTUPLE}="${HOST_PREFIX}gxx --sysroot=${STAGING_DIR_HOST} ${SECURITY_NOPIE_CFLAGS}"
cd src
- ./make.bash --host-only --no-banner
+ ./make.bash --target-only --no-banner
cd ${B}
}
-do_compile[dirs] =+ "${GOTMPDIR} ${B}/bin ${B}/pkg"
do_compile[cleandirs] += "${GOTMPDIR} ${B}/bin ${B}/pkg"
diff --git a/meta/recipes-devtools/go/go-cross-canadian_1.15.bb b/meta/recipes-devtools/go/go-cross-canadian_1.22.3.bb
index 7ac9449e47..7ac9449e47 100644
--- a/meta/recipes-devtools/go/go-cross-canadian_1.15.bb
+++ b/meta/recipes-devtools/go/go-cross-canadian_1.22.3.bb
diff --git a/meta/recipes-devtools/go/go-cross.inc b/meta/recipes-devtools/go/go-cross.inc
index 3d5803bf07..a0fbdbe3b9 100644
--- a/meta/recipes-devtools/go/go-cross.inc
+++ b/meta/recipes-devtools/go/go-cross.inc
@@ -17,7 +17,6 @@ do_compile() {
./make.bash --host-only --no-banner
cd ${B}
}
-do_compile[dirs] =+ "${GOTMPDIR} ${B}/bin ${B}/pkg"
do_compile[cleandirs] += "${GOTMPDIR} ${B}/bin ${B}/pkg"
make_wrapper() {
diff --git a/meta/recipes-devtools/go/go-cross_1.15.bb b/meta/recipes-devtools/go/go-cross_1.22.3.bb
index 80b5a03f6c..80b5a03f6c 100644
--- a/meta/recipes-devtools/go/go-cross_1.15.bb
+++ b/meta/recipes-devtools/go/go-cross_1.22.3.bb
diff --git a/meta/recipes-devtools/go/go-crosssdk.inc b/meta/recipes-devtools/go/go-crosssdk.inc
index f0bec79719..12939005c0 100644
--- a/meta/recipes-devtools/go/go-crosssdk.inc
+++ b/meta/recipes-devtools/go/go-crosssdk.inc
@@ -1,8 +1,10 @@
inherit crosssdk
-DEPENDS = "go-native virtual/${TARGET_PREFIX}gcc-crosssdk virtual/nativesdk-${TARGET_PREFIX}compilerlibs virtual/${TARGET_PREFIX}binutils-crosssdk"
+DEPENDS = "go-native virtual/${TARGET_PREFIX}gcc virtual/nativesdk-${TARGET_PREFIX}compilerlibs virtual/${TARGET_PREFIX}binutils"
PN = "go-crosssdk-${SDK_SYS}"
-PROVIDES = "virtual/${TARGET_PREFIX}go-crosssdk"
+PROVIDES = "virtual/${TARGET_PREFIX}go"
+
+export GOCACHE = "${B}/.cache"
do_configure[noexec] = "1"
@@ -13,7 +15,6 @@ do_compile() {
./make.bash --host-only --no-banner
cd ${B}
}
-do_compile[dirs] =+ "${GOTMPDIR} ${B}/bin ${B}/pkg"
do_compile[cleandirs] += "${GOTMPDIR} ${B}/bin ${B}/pkg"
make_wrapper() {
diff --git a/meta/recipes-devtools/go/go-crosssdk_1.15.bb b/meta/recipes-devtools/go/go-crosssdk_1.22.3.bb
index 1857c8a577..1857c8a577 100644
--- a/meta/recipes-devtools/go/go-crosssdk_1.15.bb
+++ b/meta/recipes-devtools/go/go-crosssdk_1.22.3.bb
diff --git a/meta/recipes-devtools/go/go-dep/0001-Add-support-for-mips-mips64.patch b/meta/recipes-devtools/go/go-dep/0001-Add-support-for-mips-mips64.patch
deleted file mode 100644
index 34ec9876f8..0000000000
--- a/meta/recipes-devtools/go/go-dep/0001-Add-support-for-mips-mips64.patch
+++ /dev/null
@@ -1,54 +0,0 @@
-From f0fb80604385ae3266a472601ef685896b4cc0af Mon Sep 17 00:00:00 2001
-From: Vladimir Stefanovic <vladimir.stefanovic@imgtec.com>
-Date: Fri, 17 Feb 2017 20:44:43 +0100
-Subject: [PATCH] Add support for mips, mips64
-
----
-Upstream-Status: Submitted
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
-
- vendor/github.com/boltdb/bolt/bolt_mips64x.go | 12 ++++++++++++
- vendor/github.com/boltdb/bolt/bolt_mipsx.go | 12 ++++++++++++
- 2 files changed, 24 insertions(+)
- create mode 100644 vendor/github.com/boltdb/bolt/bolt_mips64x.go
- create mode 100644 vendor/github.com/boltdb/bolt/bolt_mipsx.go
-
-diff --git a/vendor/github.com/boltdb/bolt/bolt_mips64x.go b/vendor/github.com/boltdb/bolt/bolt_mips64x.go
-new file mode 100644
-index 00000000..134b578b
---- /dev/null
-+++ b/vendor/github.com/boltdb/bolt/bolt_mips64x.go
-@@ -0,0 +1,12 @@
-+// +build mips64 mips64le
-+
-+package bolt
-+
-+// maxMapSize represents the largest mmap size supported by Bolt.
-+const maxMapSize = 0x8000000000 // 512GB
-+
-+// maxAllocSize is the size used when creating array pointers.
-+const maxAllocSize = 0x7FFFFFFF
-+
-+// Are unaligned load/stores broken on this arch?
-+var brokenUnaligned = false
-diff --git a/vendor/github.com/boltdb/bolt/bolt_mipsx.go b/vendor/github.com/boltdb/bolt/bolt_mipsx.go
-new file mode 100644
-index 00000000..d5ecb059
---- /dev/null
-+++ b/vendor/github.com/boltdb/bolt/bolt_mipsx.go
-@@ -0,0 +1,12 @@
-+// +build mips mipsle
-+
-+package bolt
-+
-+// maxMapSize represents the largest mmap size supported by Bolt.
-+const maxMapSize = 0x40000000 // 1GB
-+
-+// maxAllocSize is the size used when creating array pointers.
-+const maxAllocSize = 0xFFFFFFF
-+
-+// Are unaligned load/stores broken on this arch?
-+var brokenUnaligned = false
---
-2.14.1
-
diff --git a/meta/recipes-devtools/go/go-dep/0001-Update-sys-module-to-latest.patch b/meta/recipes-devtools/go/go-dep/0001-Update-sys-module-to-latest.patch
deleted file mode 100644
index b13bb9e665..0000000000
--- a/meta/recipes-devtools/go/go-dep/0001-Update-sys-module-to-latest.patch
+++ /dev/null
@@ -1,145574 +0,0 @@
-From f7904cb91a1b18e893ffbd25b450926d145d0e0a Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Wed, 22 Apr 2020 18:44:48 -0700
-Subject: [PATCH] Update sys module to latest
-
-Gets us riscv support
-
-Upstream-Status: Pending
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
- Gopkg.lock | 4 +-
- .../golang.org/x/sys/unix/affinity_linux.go | 86 +
- vendor/golang.org/x/sys/unix/aliases.go | 14 +
- vendor/golang.org/x/sys/unix/asm_aix_ppc64.s | 17 +
- .../x/sys/unix/asm_dragonfly_amd64.s | 10 +-
- ...sm_linux_mips64x.s => asm_freebsd_arm64.s} | 11 +-
- vendor/golang.org/x/sys/unix/asm_linux_386.s | 36 +-
- .../golang.org/x/sys/unix/asm_linux_amd64.s | 30 +-
- vendor/golang.org/x/sys/unix/asm_linux_arm.s | 35 +-
- .../golang.org/x/sys/unix/asm_linux_arm64.s | 30 +-
- .../golang.org/x/sys/unix/asm_linux_mips64x.s | 36 +-
- .../golang.org/x/sys/unix/asm_linux_mipsx.s | 33 +-
- .../golang.org/x/sys/unix/asm_linux_ppc64x.s | 38 +-
- .../golang.org/x/sys/unix/asm_linux_riscv64.s | 47 +
- .../golang.org/x/sys/unix/asm_linux_s390x.s | 28 +
- ...asm_linux_mips64x.s => asm_netbsd_arm64.s} | 17 +-
- ...sm_linux_mips64x.s => asm_openbsd_arm64.s} | 9 +-
- .../golang.org/x/sys/unix/bluetooth_linux.go | 1 +
- vendor/golang.org/x/sys/unix/cap_freebsd.go | 30 +-
- vendor/golang.org/x/sys/unix/constants.go | 2 +-
- vendor/golang.org/x/sys/unix/dev_aix_ppc.go | 27 +
- vendor/golang.org/x/sys/unix/dev_aix_ppc64.go | 29 +
- vendor/golang.org/x/sys/unix/dev_darwin.go | 24 +
- vendor/golang.org/x/sys/unix/dev_dragonfly.go | 30 +
- vendor/golang.org/x/sys/unix/dev_freebsd.go | 30 +
- vendor/golang.org/x/sys/unix/dev_linux.go | 8 +-
- vendor/golang.org/x/sys/unix/dev_netbsd.go | 29 +
- vendor/golang.org/x/sys/unix/dev_openbsd.go | 29 +
- vendor/golang.org/x/sys/unix/dirent.go | 2 +-
- vendor/golang.org/x/sys/unix/endian_little.go | 2 +-
- vendor/golang.org/x/sys/unix/env_unix.go | 8 +-
- vendor/golang.org/x/sys/unix/env_unset.go | 14 -
- .../x/sys/unix/errors_freebsd_386.go | 6 +
- .../x/sys/unix/errors_freebsd_amd64.go | 6 +
- .../x/sys/unix/errors_freebsd_arm64.go | 17 +
- .../x/sys/unix/{flock.go => fcntl.go} | 18 +-
- vendor/golang.org/x/sys/unix/fcntl_darwin.go | 18 +
- ...ck_linux_32bit.go => fcntl_linux_32bit.go} | 0
- vendor/golang.org/x/sys/unix/fdset.go | 29 +
- vendor/golang.org/x/sys/unix/file_unix.go | 27 -
- vendor/golang.org/x/sys/unix/gccgo.go | 20 +-
- vendor/golang.org/x/sys/unix/gccgo_c.c | 12 +-
- .../x/sys/unix/gccgo_linux_amd64.go | 2 +-
- .../x/sys/unix/gccgo_linux_sparc64.go | 20 -
- vendor/golang.org/x/sys/unix/ioctl.go | 65 +
- vendor/golang.org/x/sys/unix/mkasm_darwin.go | 78 +
- vendor/golang.org/x/sys/unix/mkmerge.go | 521 +++
- vendor/golang.org/x/sys/unix/mkpost.go | 63 +-
- vendor/golang.org/x/sys/unix/mksyscall.go | 402 +++
- .../x/sys/unix/mksyscall_aix_ppc.go | 415 +++
- .../x/sys/unix/mksyscall_aix_ppc64.go | 614 ++++
- .../x/sys/unix/mksyscall_solaris.go | 341 ++
- .../golang.org/x/sys/unix/mksysctl_openbsd.go | 355 +++
- vendor/golang.org/x/sys/unix/mksysnum.go | 190 ++
- .../golang.org/x/sys/unix/openbsd_pledge.go | 38 -
- vendor/golang.org/x/sys/unix/pagesize_unix.go | 15 +
- .../golang.org/x/sys/unix/pledge_openbsd.go | 163 +
- vendor/golang.org/x/sys/unix/race.go | 2 +-
- vendor/golang.org/x/sys/unix/race0.go | 4 +-
- .../x/sys/unix/readdirent_getdents.go | 12 +
- .../x/sys/unix/readdirent_getdirentries.go | 19 +
- .../x/sys/unix/sockcmsg_dragonfly.go | 16 +
- .../golang.org/x/sys/unix/sockcmsg_linux.go | 4 +-
- vendor/golang.org/x/sys/unix/sockcmsg_unix.go | 28 +-
- .../x/sys/unix/sockcmsg_unix_other.go | 38 +
- vendor/golang.org/x/sys/unix/str.go | 2 +-
- vendor/golang.org/x/sys/unix/syscall.go | 38 +-
- vendor/golang.org/x/sys/unix/syscall_aix.go | 536 ++++
- .../golang.org/x/sys/unix/syscall_aix_ppc.go | 54 +
- .../x/sys/unix/syscall_aix_ppc64.go | 85 +
- vendor/golang.org/x/sys/unix/syscall_bsd.go | 112 +-
- .../x/sys/unix/syscall_darwin.1_12.go | 29 +
- .../x/sys/unix/syscall_darwin.1_13.go | 101 +
- .../golang.org/x/sys/unix/syscall_darwin.go | 263 +-
- .../x/sys/unix/syscall_darwin_386.1_11.go | 9 +
- .../x/sys/unix/syscall_darwin_386.go | 45 +-
- .../x/sys/unix/syscall_darwin_amd64.1_11.go | 9 +
- .../x/sys/unix/syscall_darwin_amd64.go | 45 +-
- .../x/sys/unix/syscall_darwin_arm.1_11.go | 11 +
- .../x/sys/unix/syscall_darwin_arm.go | 51 +-
- .../x/sys/unix/syscall_darwin_arm64.1_11.go | 11 +
- .../x/sys/unix/syscall_darwin_arm64.go | 47 +-
- .../x/sys/unix/syscall_darwin_libSystem.go | 33 +
- .../x/sys/unix/syscall_dragonfly.go | 136 +-
- .../x/sys/unix/syscall_dragonfly_amd64.go | 21 +-
- .../golang.org/x/sys/unix/syscall_freebsd.go | 592 ++--
- .../x/sys/unix/syscall_freebsd_386.go | 31 +-
- .../x/sys/unix/syscall_freebsd_amd64.go | 31 +-
- .../x/sys/unix/syscall_freebsd_arm.go | 27 +-
- ...nfly_amd64.go => syscall_freebsd_arm64.go} | 31 +-
- .../golang.org/x/sys/unix/syscall_illumos.go | 57 +
- vendor/golang.org/x/sys/unix/syscall_linux.go | 1030 +++++-
- .../x/sys/unix/syscall_linux_386.go | 47 +-
- .../x/sys/unix/syscall_linux_amd64.go | 80 +-
- .../x/sys/unix/syscall_linux_arm.go | 64 +-
- .../x/sys/unix/syscall_linux_arm64.go | 111 +-
- .../golang.org/x/sys/unix/syscall_linux_gc.go | 14 +
- .../x/sys/unix/syscall_linux_gc_386.go | 16 +
- .../x/sys/unix/syscall_linux_gccgo_386.go | 30 +
- .../x/sys/unix/syscall_linux_gccgo_arm.go | 20 +
- .../x/sys/unix/syscall_linux_mips64x.go | 53 +-
- .../x/sys/unix/syscall_linux_mipsx.go | 47 +-
- .../x/sys/unix/syscall_linux_ppc64x.go | 59 +-
- ...inux_arm64.go => syscall_linux_riscv64.go} | 118 +-
- .../x/sys/unix/syscall_linux_s390x.go | 44 +-
- .../x/sys/unix/syscall_linux_sparc64.go | 48 +-
- .../golang.org/x/sys/unix/syscall_netbsd.go | 156 +-
- .../x/sys/unix/syscall_netbsd_386.go | 21 +-
- .../x/sys/unix/syscall_netbsd_amd64.go | 21 +-
- .../x/sys/unix/syscall_netbsd_arm.go | 21 +-
- ...etbsd_amd64.go => syscall_netbsd_arm64.go} | 25 +-
- .../golang.org/x/sys/unix/syscall_no_getwd.go | 11 -
- .../golang.org/x/sys/unix/syscall_openbsd.go | 199 +-
- .../x/sys/unix/syscall_openbsd_386.go | 25 +-
- .../x/sys/unix/syscall_openbsd_amd64.go | 25 +-
- .../x/sys/unix/syscall_openbsd_arm.go | 27 +-
- .../x/sys/unix/syscall_openbsd_arm64.go | 41 +
- .../golang.org/x/sys/unix/syscall_solaris.go | 128 +-
- .../x/sys/unix/syscall_solaris_amd64.go | 24 +-
- vendor/golang.org/x/sys/unix/syscall_unix.go | 176 +-
- .../golang.org/x/sys/unix/syscall_unix_gc.go | 2 +-
- ...l_unix_gc.go => syscall_unix_gc_ppc64x.go} | 21 +-
- vendor/golang.org/x/sys/unix/timestruct.go | 82 +
- .../unix/{types_netbsd.go => types_aix.go} | 196 +-
- vendor/golang.org/x/sys/unix/types_darwin.go | 41 +-
- .../golang.org/x/sys/unix/types_dragonfly.go | 66 +-
- vendor/golang.org/x/sys/unix/types_freebsd.go | 178 +-
- vendor/golang.org/x/sys/unix/types_netbsd.go | 73 +-
- vendor/golang.org/x/sys/unix/types_openbsd.go | 78 +-
- vendor/golang.org/x/sys/unix/types_solaris.go | 54 +-
- .../golang.org/x/sys/unix/unveil_openbsd.go | 42 +
- vendor/golang.org/x/sys/unix/xattr_bsd.go | 240 ++
- .../golang.org/x/sys/unix/zerrors_aix_ppc.go | 1384 ++++++++
- .../x/sys/unix/zerrors_aix_ppc64.go | 1385 ++++++++
- .../x/sys/unix/zerrors_darwin_386.go | 391 ++-
- .../x/sys/unix/zerrors_darwin_amd64.go | 391 ++-
- .../x/sys/unix/zerrors_darwin_arm.go | 391 ++-
- .../x/sys/unix/zerrors_darwin_arm64.go | 391 ++-
- .../x/sys/unix/zerrors_dragonfly_amd64.go | 355 ++-
- .../x/sys/unix/zerrors_freebsd_386.go | 508 ++-
- .../x/sys/unix/zerrors_freebsd_amd64.go | 506 ++-
- .../x/sys/unix/zerrors_freebsd_arm.go | 368 ++-
- ...ebsd_amd64.go => zerrors_freebsd_arm64.go} | 509 ++-
- vendor/golang.org/x/sys/unix/zerrors_linux.go | 2469 +++++++++++++++
- .../x/sys/unix/zerrors_linux_386.go | 2690 ++++------------
- .../x/sys/unix/zerrors_linux_amd64.go | 2691 ++++------------
- .../x/sys/unix/zerrors_linux_arm.go | 2701 ++++------------
- .../x/sys/unix/zerrors_linux_arm64.go | 2673 ++++------------
- .../x/sys/unix/zerrors_linux_mips.go | 2702 ++++------------
- .../x/sys/unix/zerrors_linux_mips64.go | 2702 ++++------------
- .../x/sys/unix/zerrors_linux_mips64le.go | 2702 ++++------------
- .../x/sys/unix/zerrors_linux_mipsle.go | 2702 ++++------------
- .../x/sys/unix/zerrors_linux_ppc64.go | 2816 ++++-------------
- .../x/sys/unix/zerrors_linux_ppc64le.go | 2816 ++++-------------
- .../x/sys/unix/zerrors_linux_riscv64.go | 771 +++++
- .../x/sys/unix/zerrors_linux_s390x.go | 2812 ++++------------
- .../x/sys/unix/zerrors_linux_sparc64.go | 2013 +++---------
- .../x/sys/unix/zerrors_netbsd_386.go | 325 +-
- .../x/sys/unix/zerrors_netbsd_amd64.go | 325 +-
- .../x/sys/unix/zerrors_netbsd_arm.go | 325 +-
- ...etbsd_amd64.go => zerrors_netbsd_arm64.go} | 327 +-
- .../x/sys/unix/zerrors_openbsd_386.go | 339 +-
- .../x/sys/unix/zerrors_openbsd_amd64.go | 576 ++--
- .../x/sys/unix/zerrors_openbsd_arm.go | 333 +-
- ...nbsd_amd64.go => zerrors_openbsd_arm64.go} | 605 ++--
- .../x/sys/unix/zerrors_solaris_amd64.go | 380 ++-
- .../x/sys/unix/zptrace_armnn_linux.go | 41 +
- .../x/sys/unix/zptrace_linux_arm64.go | 17 +
- .../x/sys/unix/zptrace_mipsnn_linux.go | 50 +
- .../x/sys/unix/zptrace_mipsnnle_linux.go | 50 +
- .../x/sys/unix/zptrace_x86_linux.go | 80 +
- .../golang.org/x/sys/unix/zsyscall_aix_ppc.go | 1484 +++++++++
- ..._netbsd_amd64.go => zsyscall_aix_ppc64.go} | 936 +++---
- .../x/sys/unix/zsyscall_aix_ppc64_gc.go | 1192 +++++++
- .../x/sys/unix/zsyscall_aix_ppc64_gccgo.go | 1070 +++++++
- ...win_arm.go => zsyscall_darwin_386.1_11.go} | 416 ++-
- .../x/sys/unix/zsyscall_darwin_386.1_13.go | 41 +
- .../x/sys/unix/zsyscall_darwin_386.1_13.s | 12 +
- .../x/sys/unix/zsyscall_darwin_386.go | 1314 ++++++--
- .../x/sys/unix/zsyscall_darwin_386.s | 284 ++
- ...arm64.go => zsyscall_darwin_amd64.1_11.go} | 416 ++-
- .../x/sys/unix/zsyscall_darwin_amd64.1_13.go | 41 +
- .../x/sys/unix/zsyscall_darwin_amd64.1_13.s | 12 +
- .../x/sys/unix/zsyscall_darwin_amd64.go | 1314 ++++++--
- .../x/sys/unix/zsyscall_darwin_amd64.s | 284 ++
- ...win_arm.go => zsyscall_darwin_arm.1_11.go} | 389 ++-
- .../x/sys/unix/zsyscall_darwin_arm.1_13.go | 41 +
- .../x/sys/unix/zsyscall_darwin_arm.1_13.s | 12 +
- .../x/sys/unix/zsyscall_darwin_arm.go | 1301 ++++++--
- .../x/sys/unix/zsyscall_darwin_arm.s | 282 ++
- ...arm64.go => zsyscall_darwin_arm64.1_11.go} | 389 ++-
- .../x/sys/unix/zsyscall_darwin_arm64.1_13.go | 41 +
- .../x/sys/unix/zsyscall_darwin_arm64.1_13.s | 12 +
- .../x/sys/unix/zsyscall_darwin_arm64.go | 1301 ++++++--
- .../x/sys/unix/zsyscall_darwin_arm64.s | 282 ++
- .../x/sys/unix/zsyscall_dragonfly_amd64.go | 238 +-
- .../x/sys/unix/zsyscall_freebsd_386.go | 204 +-
- .../x/sys/unix/zsyscall_freebsd_amd64.go | 204 +-
- .../x/sys/unix/zsyscall_freebsd_arm.go | 204 +-
- ...bsd_amd64.go => zsyscall_freebsd_arm64.go} | 206 +-
- .../x/sys/unix/zsyscall_illumos_amd64.go | 87 +
- ...scall_linux_s390x.go => zsyscall_linux.go} | 774 ++---
- .../x/sys/unix/zsyscall_linux_386.go | 1573 +--------
- .../x/sys/unix/zsyscall_linux_amd64.go | 1607 +---------
- .../x/sys/unix/zsyscall_linux_arm.go | 1626 +---------
- .../x/sys/unix/zsyscall_linux_arm64.go | 1513 +--------
- .../x/sys/unix/zsyscall_linux_mips.go | 1567 +--------
- .../x/sys/unix/zsyscall_linux_mips64.go | 1552 +--------
- .../x/sys/unix/zsyscall_linux_mips64le.go | 1552 +--------
- .../x/sys/unix/zsyscall_linux_mipsle.go | 1567 +--------
- .../x/sys/unix/zsyscall_linux_ppc64.go | 1586 +---------
- .../x/sys/unix/zsyscall_linux_ppc64le.go | 1586 +---------
- .../x/sys/unix/zsyscall_linux_riscv64.go | 582 ++++
- .../x/sys/unix/zsyscall_linux_s390x.go | 1570 +--------
- .../x/sys/unix/zsyscall_linux_sparc64.go | 1247 +-------
- .../x/sys/unix/zsyscall_netbsd_386.go | 551 +++-
- .../x/sys/unix/zsyscall_netbsd_amd64.go | 551 +++-
- .../x/sys/unix/zsyscall_netbsd_arm.go | 551 +++-
- ...ebsd_amd64.go => zsyscall_netbsd_arm64.go} | 262 +-
- .../x/sys/unix/zsyscall_openbsd_386.go | 338 +-
- .../x/sys/unix/zsyscall_openbsd_amd64.go | 338 +-
- .../x/sys/unix/zsyscall_openbsd_arm.go | 338 +-
- ...arwin_386.go => zsyscall_openbsd_arm64.go} | 289 +-
- .../x/sys/unix/zsyscall_solaris_amd64.go | 382 ++-
- ...sctl_openbsd.go => zsysctl_openbsd_386.go} | 4 +-
- ...tl_openbsd.go => zsysctl_openbsd_amd64.go} | 42 +-
- ...sctl_openbsd.go => zsysctl_openbsd_arm.go} | 6 +-
- ...tl_openbsd.go => zsysctl_openbsd_arm64.go} | 47 +-
- .../x/sys/unix/zsysnum_darwin_386.go | 60 +-
- .../x/sys/unix/zsysnum_darwin_amd64.go | 62 +-
- .../x/sys/unix/zsysnum_darwin_arm.go | 14 +-
- .../x/sys/unix/zsysnum_darwin_arm64.go | 14 +-
- .../x/sys/unix/zsysnum_dragonfly_amd64.go | 176 +-
- .../x/sys/unix/zsysnum_freebsd_386.go | 731 +++--
- .../x/sys/unix/zsysnum_freebsd_amd64.go | 731 +++--
- .../x/sys/unix/zsysnum_freebsd_arm.go | 731 +++--
- .../x/sys/unix/zsysnum_freebsd_arm64.go | 396 +++
- .../x/sys/unix/zsysnum_linux_386.go | 808 ++---
- .../x/sys/unix/zsysnum_linux_amd64.go | 19 +-
- .../x/sys/unix/zsysnum_linux_arm.go | 745 ++---
- .../x/sys/unix/zsysnum_linux_arm64.go | 20 +-
- .../x/sys/unix/zsysnum_linux_mips.go | 779 ++---
- .../x/sys/unix/zsysnum_linux_mips64.go | 19 +-
- .../x/sys/unix/zsysnum_linux_mips64le.go | 19 +-
- .../x/sys/unix/zsysnum_linux_mipsle.go | 779 ++---
- .../x/sys/unix/zsysnum_linux_ppc64.go | 33 +-
- .../x/sys/unix/zsysnum_linux_ppc64le.go | 33 +-
- ...inux_arm64.go => zsysnum_linux_riscv64.go} | 23 +-
- .../x/sys/unix/zsysnum_linux_s390x.go | 80 +-
- .../x/sys/unix/zsysnum_linux_sparc64.go | 35 +-
- .../x/sys/unix/zsysnum_netbsd_386.go | 4 +-
- .../x/sys/unix/zsysnum_netbsd_amd64.go | 4 +-
- .../x/sys/unix/zsysnum_netbsd_arm.go | 4 +-
- ..._netbsd_386.go => zsysnum_netbsd_arm64.go} | 6 +-
- .../x/sys/unix/zsysnum_openbsd_386.go | 223 +-
- .../x/sys/unix/zsysnum_openbsd_amd64.go | 223 +-
- .../x/sys/unix/zsysnum_openbsd_arm.go | 217 +-
- ...penbsd_arm.go => zsysnum_openbsd_arm64.go} | 218 +-
- .../x/sys/unix/zsysnum_solaris_amd64.go | 13 -
- .../golang.org/x/sys/unix/ztypes_aix_ppc.go | 352 +++
- .../golang.org/x/sys/unix/ztypes_aix_ppc64.go | 356 +++
- .../x/sys/unix/ztypes_darwin_386.go | 195 +-
- .../x/sys/unix/ztypes_darwin_amd64.go | 241 +-
- .../x/sys/unix/ztypes_darwin_arm.go | 195 +-
- .../x/sys/unix/ztypes_darwin_arm64.go | 246 +-
- .../x/sys/unix/ztypes_dragonfly_amd64.go | 213 +-
- .../x/sys/unix/ztypes_freebsd_386.go | 426 ++-
- .../x/sys/unix/ztypes_freebsd_amd64.go | 448 ++-
- .../x/sys/unix/ztypes_freebsd_arm.go | 427 ++-
- ...eebsd_amd64.go => ztypes_freebsd_arm64.go} | 430 ++-
- vendor/golang.org/x/sys/unix/ztypes_linux.go | 2340 ++++++++++++++
- .../golang.org/x/sys/unix/ztypes_linux_386.go | 878 ++---
- .../x/sys/unix/ztypes_linux_amd64.go | 881 ++----
- .../golang.org/x/sys/unix/ztypes_linux_arm.go | 899 +++---
- .../x/sys/unix/ztypes_linux_arm64.go | 883 ++----
- .../x/sys/unix/ztypes_linux_mips.go | 864 ++---
- .../x/sys/unix/ztypes_linux_mips64.go | 880 ++----
- .../x/sys/unix/ztypes_linux_mips64le.go | 880 ++----
- .../x/sys/unix/ztypes_linux_mipsle.go | 864 ++---
- .../x/sys/unix/ztypes_linux_ppc64.go | 889 ++----
- .../x/sys/unix/ztypes_linux_ppc64le.go | 889 ++----
- .../x/sys/unix/ztypes_linux_riscv64.go | 621 ++++
- .../x/sys/unix/ztypes_linux_s390x.go | 842 ++---
- .../x/sys/unix/ztypes_linux_sparc64.go | 910 +++---
- .../x/sys/unix/ztypes_netbsd_386.go | 145 +-
- .../x/sys/unix/ztypes_netbsd_amd64.go | 152 +-
- .../x/sys/unix/ztypes_netbsd_arm.go | 151 +-
- ...netbsd_amd64.go => ztypes_netbsd_arm64.go} | 154 +-
- .../x/sys/unix/ztypes_openbsd_386.go | 173 +-
- .../x/sys/unix/ztypes_openbsd_amd64.go | 264 +-
- .../x/sys/unix/ztypes_openbsd_arm.go | 255 +-
- ...enbsd_amd64.go => ztypes_openbsd_arm64.go} | 260 +-
- .../x/sys/unix/ztypes_solaris_amd64.go | 239 +-
- 293 files changed, 60017 insertions(+), 59731 deletions(-)
- create mode 100644 vendor/golang.org/x/sys/unix/affinity_linux.go
- create mode 100644 vendor/golang.org/x/sys/unix/aliases.go
- create mode 100644 vendor/golang.org/x/sys/unix/asm_aix_ppc64.s
- copy vendor/golang.org/x/sys/unix/{asm_linux_mips64x.s => asm_freebsd_arm64.s} (71%)
- create mode 100644 vendor/golang.org/x/sys/unix/asm_linux_riscv64.s
- copy vendor/golang.org/x/sys/unix/{asm_linux_mips64x.s => asm_netbsd_arm64.s} (60%)
- copy vendor/golang.org/x/sys/unix/{asm_linux_mips64x.s => asm_openbsd_arm64.s} (76%)
- create mode 100644 vendor/golang.org/x/sys/unix/dev_aix_ppc.go
- create mode 100644 vendor/golang.org/x/sys/unix/dev_aix_ppc64.go
- create mode 100644 vendor/golang.org/x/sys/unix/dev_darwin.go
- create mode 100644 vendor/golang.org/x/sys/unix/dev_dragonfly.go
- create mode 100644 vendor/golang.org/x/sys/unix/dev_freebsd.go
- create mode 100644 vendor/golang.org/x/sys/unix/dev_netbsd.go
- create mode 100644 vendor/golang.org/x/sys/unix/dev_openbsd.go
- delete mode 100644 vendor/golang.org/x/sys/unix/env_unset.go
- create mode 100644 vendor/golang.org/x/sys/unix/errors_freebsd_arm64.go
- rename vendor/golang.org/x/sys/unix/{flock.go => fcntl.go} (54%)
- create mode 100644 vendor/golang.org/x/sys/unix/fcntl_darwin.go
- rename vendor/golang.org/x/sys/unix/{flock_linux_32bit.go => fcntl_linux_32bit.go} (100%)
- create mode 100644 vendor/golang.org/x/sys/unix/fdset.go
- delete mode 100644 vendor/golang.org/x/sys/unix/file_unix.go
- delete mode 100644 vendor/golang.org/x/sys/unix/gccgo_linux_sparc64.go
- create mode 100644 vendor/golang.org/x/sys/unix/ioctl.go
- create mode 100644 vendor/golang.org/x/sys/unix/mkasm_darwin.go
- create mode 100644 vendor/golang.org/x/sys/unix/mkmerge.go
- create mode 100644 vendor/golang.org/x/sys/unix/mksyscall.go
- create mode 100644 vendor/golang.org/x/sys/unix/mksyscall_aix_ppc.go
- create mode 100644 vendor/golang.org/x/sys/unix/mksyscall_aix_ppc64.go
- create mode 100644 vendor/golang.org/x/sys/unix/mksyscall_solaris.go
- create mode 100644 vendor/golang.org/x/sys/unix/mksysctl_openbsd.go
- create mode 100644 vendor/golang.org/x/sys/unix/mksysnum.go
- delete mode 100644 vendor/golang.org/x/sys/unix/openbsd_pledge.go
- create mode 100644 vendor/golang.org/x/sys/unix/pagesize_unix.go
- create mode 100644 vendor/golang.org/x/sys/unix/pledge_openbsd.go
- create mode 100644 vendor/golang.org/x/sys/unix/readdirent_getdents.go
- create mode 100644 vendor/golang.org/x/sys/unix/readdirent_getdirentries.go
- create mode 100644 vendor/golang.org/x/sys/unix/sockcmsg_dragonfly.go
- create mode 100644 vendor/golang.org/x/sys/unix/sockcmsg_unix_other.go
- create mode 100644 vendor/golang.org/x/sys/unix/syscall_aix.go
- create mode 100644 vendor/golang.org/x/sys/unix/syscall_aix_ppc.go
- create mode 100644 vendor/golang.org/x/sys/unix/syscall_aix_ppc64.go
- create mode 100644 vendor/golang.org/x/sys/unix/syscall_darwin.1_12.go
- create mode 100644 vendor/golang.org/x/sys/unix/syscall_darwin.1_13.go
- create mode 100644 vendor/golang.org/x/sys/unix/syscall_darwin_386.1_11.go
- create mode 100644 vendor/golang.org/x/sys/unix/syscall_darwin_amd64.1_11.go
- create mode 100644 vendor/golang.org/x/sys/unix/syscall_darwin_arm.1_11.go
- create mode 100644 vendor/golang.org/x/sys/unix/syscall_darwin_arm64.1_11.go
- create mode 100644 vendor/golang.org/x/sys/unix/syscall_darwin_libSystem.go
- copy vendor/golang.org/x/sys/unix/{syscall_dragonfly_amd64.go => syscall_freebsd_arm64.go} (59%)
- create mode 100644 vendor/golang.org/x/sys/unix/syscall_illumos.go
- create mode 100644 vendor/golang.org/x/sys/unix/syscall_linux_gc.go
- create mode 100644 vendor/golang.org/x/sys/unix/syscall_linux_gc_386.go
- create mode 100644 vendor/golang.org/x/sys/unix/syscall_linux_gccgo_386.go
- create mode 100644 vendor/golang.org/x/sys/unix/syscall_linux_gccgo_arm.go
- copy vendor/golang.org/x/sys/unix/{syscall_linux_arm64.go => syscall_linux_riscv64.go} (68%)
- copy vendor/golang.org/x/sys/unix/{syscall_netbsd_amd64.go => syscall_netbsd_arm64.go} (50%)
- delete mode 100644 vendor/golang.org/x/sys/unix/syscall_no_getwd.go
- create mode 100644 vendor/golang.org/x/sys/unix/syscall_openbsd_arm64.go
- copy vendor/golang.org/x/sys/unix/{syscall_unix_gc.go => syscall_unix_gc_ppc64x.go} (51%)
- create mode 100644 vendor/golang.org/x/sys/unix/timestruct.go
- copy vendor/golang.org/x/sys/unix/{types_netbsd.go => types_aix.go} (53%)
- create mode 100644 vendor/golang.org/x/sys/unix/unveil_openbsd.go
- create mode 100644 vendor/golang.org/x/sys/unix/xattr_bsd.go
- create mode 100644 vendor/golang.org/x/sys/unix/zerrors_aix_ppc.go
- create mode 100644 vendor/golang.org/x/sys/unix/zerrors_aix_ppc64.go
- copy vendor/golang.org/x/sys/unix/{zerrors_freebsd_amd64.go => zerrors_freebsd_arm64.go} (80%)
- create mode 100644 vendor/golang.org/x/sys/unix/zerrors_linux.go
- create mode 100644 vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go
- copy vendor/golang.org/x/sys/unix/{zerrors_netbsd_amd64.go => zerrors_netbsd_arm64.go} (89%)
- copy vendor/golang.org/x/sys/unix/{zerrors_openbsd_amd64.go => zerrors_openbsd_arm64.go} (76%)
- create mode 100644 vendor/golang.org/x/sys/unix/zptrace_armnn_linux.go
- create mode 100644 vendor/golang.org/x/sys/unix/zptrace_linux_arm64.go
- create mode 100644 vendor/golang.org/x/sys/unix/zptrace_mipsnn_linux.go
- create mode 100644 vendor/golang.org/x/sys/unix/zptrace_mipsnnle_linux.go
- create mode 100644 vendor/golang.org/x/sys/unix/zptrace_x86_linux.go
- create mode 100644 vendor/golang.org/x/sys/unix/zsyscall_aix_ppc.go
- copy vendor/golang.org/x/sys/unix/{zsyscall_netbsd_amd64.go => zsyscall_aix_ppc64.go} (57%)
- create mode 100644 vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gc.go
- create mode 100644 vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gccgo.go
- copy vendor/golang.org/x/sys/unix/{zsyscall_darwin_arm.go => zsyscall_darwin_386.1_11.go} (85%)
- create mode 100644 vendor/golang.org/x/sys/unix/zsyscall_darwin_386.1_13.go
- create mode 100644 vendor/golang.org/x/sys/unix/zsyscall_darwin_386.1_13.s
- create mode 100644 vendor/golang.org/x/sys/unix/zsyscall_darwin_386.s
- copy vendor/golang.org/x/sys/unix/{zsyscall_darwin_arm64.go => zsyscall_darwin_amd64.1_11.go} (85%)
- create mode 100644 vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.1_13.go
- create mode 100644 vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.1_13.s
- create mode 100644 vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.s
- copy vendor/golang.org/x/sys/unix/{zsyscall_darwin_arm.go => zsyscall_darwin_arm.1_11.go} (85%)
- create mode 100644 vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.1_13.go
- create mode 100644 vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.1_13.s
- create mode 100644 vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.s
- copy vendor/golang.org/x/sys/unix/{zsyscall_darwin_arm64.go => zsyscall_darwin_arm64.1_11.go} (84%)
- create mode 100644 vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.1_13.go
- create mode 100644 vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.1_13.s
- create mode 100644 vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.s
- copy vendor/golang.org/x/sys/unix/{zsyscall_freebsd_amd64.go => zsyscall_freebsd_arm64.go} (90%)
- create mode 100644 vendor/golang.org/x/sys/unix/zsyscall_illumos_amd64.go
- copy vendor/golang.org/x/sys/unix/{zsyscall_linux_s390x.go => zsyscall_linux.go} (79%)
- create mode 100644 vendor/golang.org/x/sys/unix/zsyscall_linux_riscv64.go
- copy vendor/golang.org/x/sys/unix/{zsyscall_freebsd_amd64.go => zsyscall_netbsd_arm64.go} (92%)
- copy vendor/golang.org/x/sys/unix/{zsyscall_darwin_386.go => zsyscall_openbsd_arm64.go} (87%)
- copy vendor/golang.org/x/sys/unix/{zsysctl_openbsd.go => zsysctl_openbsd_386.go} (99%)
- copy vendor/golang.org/x/sys/unix/{zsysctl_openbsd.go => zsysctl_openbsd_amd64.go} (91%)
- copy vendor/golang.org/x/sys/unix/{zsysctl_openbsd.go => zsysctl_openbsd_arm.go} (99%)
- rename vendor/golang.org/x/sys/unix/{zsysctl_openbsd.go => zsysctl_openbsd_arm64.go} (91%)
- create mode 100644 vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm64.go
- copy vendor/golang.org/x/sys/unix/{zsysnum_linux_arm64.go => zsysnum_linux_riscv64.go} (92%)
- copy vendor/golang.org/x/sys/unix/{zsysnum_netbsd_386.go => zsysnum_netbsd_arm64.go} (99%)
- copy vendor/golang.org/x/sys/unix/{zsysnum_openbsd_arm.go => zsysnum_openbsd_arm64.go} (67%)
- delete mode 100644 vendor/golang.org/x/sys/unix/zsysnum_solaris_amd64.go
- create mode 100644 vendor/golang.org/x/sys/unix/ztypes_aix_ppc.go
- create mode 100644 vendor/golang.org/x/sys/unix/ztypes_aix_ppc64.go
- copy vendor/golang.org/x/sys/unix/{ztypes_freebsd_amd64.go => ztypes_freebsd_arm64.go} (54%)
- create mode 100644 vendor/golang.org/x/sys/unix/ztypes_linux.go
- create mode 100644 vendor/golang.org/x/sys/unix/ztypes_linux_riscv64.go
- copy vendor/golang.org/x/sys/unix/{ztypes_netbsd_amd64.go => ztypes_netbsd_arm64.go} (73%)
- copy vendor/golang.org/x/sys/unix/{ztypes_openbsd_amd64.go => ztypes_openbsd_arm64.go} (58%)
-
-diff --git a/Gopkg.lock b/Gopkg.lock
-index b4333103..01a867d5 100644
---- a/Gopkg.lock
-+++ b/Gopkg.lock
-@@ -112,11 +112,11 @@
-
- [[projects]]
- branch = "master"
-- digest = "1:51912e607c5e28a89fdc7e41d3377b92086ab7f76ded236765dbf98d0a704c5d"
-+ digest = "1:f8181d8aa1e268255316ec12ab5402d4f671b1da6d7ad40abdf2f92c0404b67d"
- name = "golang.org/x/sys"
- packages = ["unix"]
- pruneopts = "NUT"
-- revision = "bb24a47a89eac6c1227fbcb2ae37a8b9ed323366"
-+ revision = "1957bb5e6d1f523308b49060df02171d06ddfc77"
-
- [[projects]]
- branch = "v2"
-diff --git a/vendor/golang.org/x/sys/unix/affinity_linux.go b/vendor/golang.org/x/sys/unix/affinity_linux.go
-new file mode 100644
-index 00000000..6e5c81ac
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/affinity_linux.go
-@@ -0,0 +1,86 @@
-+// Copyright 2018 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.
-+
-+// CPU affinity functions
-+
-+package unix
-+
-+import (
-+ "math/bits"
-+ "unsafe"
-+)
-+
-+const cpuSetSize = _CPU_SETSIZE / _NCPUBITS
-+
-+// CPUSet represents a CPU affinity mask.
-+type CPUSet [cpuSetSize]cpuMask
-+
-+func schedAffinity(trap uintptr, pid int, set *CPUSet) error {
-+ _, _, e := RawSyscall(trap, uintptr(pid), uintptr(unsafe.Sizeof(*set)), uintptr(unsafe.Pointer(set)))
-+ if e != 0 {
-+ return errnoErr(e)
-+ }
-+ return nil
-+}
-+
-+// SchedGetaffinity gets the CPU affinity mask of the thread specified by pid.
-+// If pid is 0 the calling thread is used.
-+func SchedGetaffinity(pid int, set *CPUSet) error {
-+ return schedAffinity(SYS_SCHED_GETAFFINITY, pid, set)
-+}
-+
-+// SchedSetaffinity sets the CPU affinity mask of the thread specified by pid.
-+// If pid is 0 the calling thread is used.
-+func SchedSetaffinity(pid int, set *CPUSet) error {
-+ return schedAffinity(SYS_SCHED_SETAFFINITY, pid, set)
-+}
-+
-+// Zero clears the set s, so that it contains no CPUs.
-+func (s *CPUSet) Zero() {
-+ for i := range s {
-+ s[i] = 0
-+ }
-+}
-+
-+func cpuBitsIndex(cpu int) int {
-+ return cpu / _NCPUBITS
-+}
-+
-+func cpuBitsMask(cpu int) cpuMask {
-+ return cpuMask(1 << (uint(cpu) % _NCPUBITS))
-+}
-+
-+// Set adds cpu to the set s.
-+func (s *CPUSet) Set(cpu int) {
-+ i := cpuBitsIndex(cpu)
-+ if i < len(s) {
-+ s[i] |= cpuBitsMask(cpu)
-+ }
-+}
-+
-+// Clear removes cpu from the set s.
-+func (s *CPUSet) Clear(cpu int) {
-+ i := cpuBitsIndex(cpu)
-+ if i < len(s) {
-+ s[i] &^= cpuBitsMask(cpu)
-+ }
-+}
-+
-+// IsSet reports whether cpu is in the set s.
-+func (s *CPUSet) IsSet(cpu int) bool {
-+ i := cpuBitsIndex(cpu)
-+ if i < len(s) {
-+ return s[i]&cpuBitsMask(cpu) != 0
-+ }
-+ return false
-+}
-+
-+// Count returns the number of CPUs in the set s.
-+func (s *CPUSet) Count() int {
-+ c := 0
-+ for _, b := range s {
-+ c += bits.OnesCount64(uint64(b))
-+ }
-+ return c
-+}
-diff --git a/vendor/golang.org/x/sys/unix/aliases.go b/vendor/golang.org/x/sys/unix/aliases.go
-new file mode 100644
-index 00000000..951fce4d
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/aliases.go
-@@ -0,0 +1,14 @@
-+// Copyright 2018 The Go Authors. All rights reserved.
-+// Use of this source code is governed by a BSD-style
-+// license that can be found in the LICENSE file.
-+
-+// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
-+// +build go1.9
-+
-+package unix
-+
-+import "syscall"
-+
-+type Signal = syscall.Signal
-+type Errno = syscall.Errno
-+type SysProcAttr = syscall.SysProcAttr
-diff --git a/vendor/golang.org/x/sys/unix/asm_aix_ppc64.s b/vendor/golang.org/x/sys/unix/asm_aix_ppc64.s
-new file mode 100644
-index 00000000..06f84b85
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/asm_aix_ppc64.s
-@@ -0,0 +1,17 @@
-+// Copyright 2018 The Go Authors. All rights reserved.
-+// Use of this source code is governed by a BSD-style
-+// license that can be found in the LICENSE file.
-+
-+// +build !gccgo
-+
-+#include "textflag.h"
-+
-+//
-+// System calls for ppc64, AIX are implemented in runtime/syscall_aix.go
-+//
-+
-+TEXT ·syscall6(SB),NOSPLIT,$0-88
-+ JMP syscall·syscall6(SB)
-+
-+TEXT ·rawSyscall6(SB),NOSPLIT,$0-88
-+ JMP syscall·rawSyscall6(SB)
-diff --git a/vendor/golang.org/x/sys/unix/asm_dragonfly_amd64.s b/vendor/golang.org/x/sys/unix/asm_dragonfly_amd64.s
-index d5ed6726..603dd572 100644
---- a/vendor/golang.org/x/sys/unix/asm_dragonfly_amd64.s
-+++ b/vendor/golang.org/x/sys/unix/asm_dragonfly_amd64.s
-@@ -13,17 +13,17 @@
- // Just jump to package syscall's implementation for all these functions.
- // The runtime may know about them.
-
--TEXT ·Syscall(SB),NOSPLIT,$0-64
-+TEXT ·Syscall(SB),NOSPLIT,$0-56
- JMP syscall·Syscall(SB)
-
--TEXT ·Syscall6(SB),NOSPLIT,$0-88
-+TEXT ·Syscall6(SB),NOSPLIT,$0-80
- JMP syscall·Syscall6(SB)
-
--TEXT ·Syscall9(SB),NOSPLIT,$0-112
-+TEXT ·Syscall9(SB),NOSPLIT,$0-104
- JMP syscall·Syscall9(SB)
-
--TEXT ·RawSyscall(SB),NOSPLIT,$0-64
-+TEXT ·RawSyscall(SB),NOSPLIT,$0-56
- JMP syscall·RawSyscall(SB)
-
--TEXT ·RawSyscall6(SB),NOSPLIT,$0-88
-+TEXT ·RawSyscall6(SB),NOSPLIT,$0-80
- JMP syscall·RawSyscall6(SB)
-diff --git a/vendor/golang.org/x/sys/unix/asm_linux_mips64x.s b/vendor/golang.org/x/sys/unix/asm_freebsd_arm64.s
-similarity index 71%
-copy from vendor/golang.org/x/sys/unix/asm_linux_mips64x.s
-copy to vendor/golang.org/x/sys/unix/asm_freebsd_arm64.s
-index 724e580c..d9318cbf 100644
---- a/vendor/golang.org/x/sys/unix/asm_linux_mips64x.s
-+++ b/vendor/golang.org/x/sys/unix/asm_freebsd_arm64.s
-@@ -1,15 +1,13 @@
--// Copyright 2015 The Go Authors. All rights reserved.
-+// Copyright 2018 The Go Authors. All rights reserved.
- // Use of this source code is governed by a BSD-style
- // license that can be found in the LICENSE file.
-
--// +build linux
--// +build mips64 mips64le
- // +build !gccgo
-
- #include "textflag.h"
-
- //
--// System calls for mips64, Linux
-+// System call support for ARM64, FreeBSD
- //
-
- // Just jump to package syscall's implementation for all these functions.
-@@ -21,7 +19,10 @@ TEXT ·Syscall(SB),NOSPLIT,$0-56
- TEXT ·Syscall6(SB),NOSPLIT,$0-80
- JMP syscall·Syscall6(SB)
-
--TEXT ·RawSyscall(SB),NOSPLIT,$0-56
-+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
-diff --git a/vendor/golang.org/x/sys/unix/asm_linux_386.s b/vendor/golang.org/x/sys/unix/asm_linux_386.s
-index 4db29093..448bebbb 100644
---- a/vendor/golang.org/x/sys/unix/asm_linux_386.s
-+++ b/vendor/golang.org/x/sys/unix/asm_linux_386.s
-@@ -10,21 +10,51 @@
- // System calls for 386, Linux
- //
-
-+// See ../runtime/sys_linux_386.s for the reason why we always use int 0x80
-+// instead of the glibc-specific "CALL 0x10(GS)".
-+#define INVOKE_SYSCALL INT $0x80
-+
- // Just jump to package syscall's implementation for all these functions.
- // The runtime may know about them.
-
--TEXT ·Syscall(SB),NOSPLIT,$0-28
-+TEXT ·Syscall(SB),NOSPLIT,$0-28
- JMP syscall·Syscall(SB)
-
--TEXT ·Syscall6(SB),NOSPLIT,$0-40
-+TEXT ·Syscall6(SB),NOSPLIT,$0-40
- JMP syscall·Syscall6(SB)
-
-+TEXT ·SyscallNoError(SB),NOSPLIT,$0-24
-+ CALL runtime·entersyscall(SB)
-+ MOVL trap+0(FP), AX // syscall entry
-+ MOVL a1+4(FP), BX
-+ MOVL a2+8(FP), CX
-+ MOVL a3+12(FP), DX
-+ MOVL $0, SI
-+ MOVL $0, DI
-+ INVOKE_SYSCALL
-+ MOVL AX, r1+16(FP)
-+ MOVL DX, r2+20(FP)
-+ CALL runtime·exitsyscall(SB)
-+ RET
-+
- TEXT ·RawSyscall(SB),NOSPLIT,$0-28
- JMP syscall·RawSyscall(SB)
-
--TEXT ·RawSyscall6(SB),NOSPLIT,$0-40
-+TEXT ·RawSyscall6(SB),NOSPLIT,$0-40
- JMP syscall·RawSyscall6(SB)
-
-+TEXT ·RawSyscallNoError(SB),NOSPLIT,$0-24
-+ MOVL trap+0(FP), AX // syscall entry
-+ MOVL a1+4(FP), BX
-+ MOVL a2+8(FP), CX
-+ MOVL a3+12(FP), DX
-+ MOVL $0, SI
-+ MOVL $0, DI
-+ INVOKE_SYSCALL
-+ MOVL AX, r1+16(FP)
-+ MOVL DX, r2+20(FP)
-+ RET
-+
- TEXT ·socketcall(SB),NOSPLIT,$0-36
- JMP syscall·socketcall(SB)
-
-diff --git a/vendor/golang.org/x/sys/unix/asm_linux_amd64.s b/vendor/golang.org/x/sys/unix/asm_linux_amd64.s
-index 44e25c62..c6468a95 100644
---- a/vendor/golang.org/x/sys/unix/asm_linux_amd64.s
-+++ b/vendor/golang.org/x/sys/unix/asm_linux_amd64.s
-@@ -13,17 +13,45 @@
- // Just jump to package syscall's implementation for all these functions.
- // The runtime may know about them.
-
--TEXT ·Syscall(SB),NOSPLIT,$0-56
-+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
-+ CALL runtime·entersyscall(SB)
-+ MOVQ a1+8(FP), DI
-+ MOVQ a2+16(FP), SI
-+ MOVQ a3+24(FP), DX
-+ MOVQ $0, R10
-+ MOVQ $0, R8
-+ MOVQ $0, R9
-+ MOVQ trap+0(FP), AX // syscall entry
-+ SYSCALL
-+ MOVQ AX, r1+32(FP)
-+ MOVQ DX, r2+40(FP)
-+ CALL 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
-+ MOVQ a1+8(FP), DI
-+ MOVQ a2+16(FP), SI
-+ MOVQ a3+24(FP), DX
-+ MOVQ $0, R10
-+ MOVQ $0, R8
-+ MOVQ $0, R9
-+ MOVQ trap+0(FP), AX // syscall entry
-+ SYSCALL
-+ MOVQ AX, r1+32(FP)
-+ MOVQ DX, r2+40(FP)
-+ RET
-+
- TEXT ·gettimeofday(SB),NOSPLIT,$0-16
- JMP syscall·gettimeofday(SB)
-diff --git a/vendor/golang.org/x/sys/unix/asm_linux_arm.s b/vendor/golang.org/x/sys/unix/asm_linux_arm.s
-index cf0b5746..cf0f3575 100644
---- a/vendor/golang.org/x/sys/unix/asm_linux_arm.s
-+++ b/vendor/golang.org/x/sys/unix/asm_linux_arm.s
-@@ -13,17 +13,44 @@
- // Just jump to package syscall's implementation for all these functions.
- // The runtime may know about them.
-
--TEXT ·Syscall(SB),NOSPLIT,$0-28
-+TEXT ·Syscall(SB),NOSPLIT,$0-28
- B syscall·Syscall(SB)
-
--TEXT ·Syscall6(SB),NOSPLIT,$0-40
-+TEXT ·Syscall6(SB),NOSPLIT,$0-40
- B syscall·Syscall6(SB)
-
-+TEXT ·SyscallNoError(SB),NOSPLIT,$0-24
-+ BL runtime·entersyscall(SB)
-+ MOVW trap+0(FP), R7
-+ MOVW a1+4(FP), R0
-+ MOVW a2+8(FP), R1
-+ MOVW a3+12(FP), R2
-+ MOVW $0, R3
-+ MOVW $0, R4
-+ MOVW $0, R5
-+ SWI $0
-+ MOVW R0, r1+16(FP)
-+ MOVW $0, R0
-+ MOVW R0, r2+20(FP)
-+ BL runtime·exitsyscall(SB)
-+ RET
-+
- TEXT ·RawSyscall(SB),NOSPLIT,$0-28
- B syscall·RawSyscall(SB)
-
--TEXT ·RawSyscall6(SB),NOSPLIT,$0-40
-+TEXT ·RawSyscall6(SB),NOSPLIT,$0-40
- B syscall·RawSyscall6(SB)
-
--TEXT ·seek(SB),NOSPLIT,$0-32
-+TEXT ·RawSyscallNoError(SB),NOSPLIT,$0-24
-+ MOVW trap+0(FP), R7 // syscall entry
-+ MOVW a1+4(FP), R0
-+ MOVW a2+8(FP), R1
-+ MOVW a3+12(FP), R2
-+ SWI $0
-+ MOVW R0, r1+16(FP)
-+ MOVW $0, R0
-+ MOVW R0, r2+20(FP)
-+ RET
-+
-+TEXT ·seek(SB),NOSPLIT,$0-28
- B syscall·seek(SB)
-diff --git a/vendor/golang.org/x/sys/unix/asm_linux_arm64.s b/vendor/golang.org/x/sys/unix/asm_linux_arm64.s
-index 4be9bfed..afe6fdf6 100644
---- a/vendor/golang.org/x/sys/unix/asm_linux_arm64.s
-+++ b/vendor/golang.org/x/sys/unix/asm_linux_arm64.s
-@@ -11,14 +11,42 @@
- // Just jump to package syscall's implementation for all these functions.
- // The runtime may know about them.
-
--TEXT ·Syscall(SB),NOSPLIT,$0-56
-+TEXT ·Syscall(SB),NOSPLIT,$0-56
- B syscall·Syscall(SB)
-
- TEXT ·Syscall6(SB),NOSPLIT,$0-80
- B syscall·Syscall6(SB)
-
-+TEXT ·SyscallNoError(SB),NOSPLIT,$0-48
-+ BL runtime·entersyscall(SB)
-+ MOVD a1+8(FP), R0
-+ MOVD a2+16(FP), R1
-+ MOVD a3+24(FP), R2
-+ MOVD $0, R3
-+ MOVD $0, R4
-+ MOVD $0, R5
-+ MOVD trap+0(FP), R8 // syscall entry
-+ SVC
-+ MOVD R0, r1+32(FP) // r1
-+ MOVD R1, r2+40(FP) // r2
-+ BL runtime·exitsyscall(SB)
-+ RET
-+
- TEXT ·RawSyscall(SB),NOSPLIT,$0-56
- B syscall·RawSyscall(SB)
-
- TEXT ·RawSyscall6(SB),NOSPLIT,$0-80
- B syscall·RawSyscall6(SB)
-+
-+TEXT ·RawSyscallNoError(SB),NOSPLIT,$0-48
-+ MOVD a1+8(FP), R0
-+ MOVD a2+16(FP), R1
-+ MOVD a3+24(FP), R2
-+ MOVD $0, R3
-+ MOVD $0, R4
-+ MOVD $0, R5
-+ MOVD trap+0(FP), R8 // syscall entry
-+ SVC
-+ MOVD R0, r1+32(FP)
-+ MOVD R1, r2+40(FP)
-+ RET
-diff --git a/vendor/golang.org/x/sys/unix/asm_linux_mips64x.s b/vendor/golang.org/x/sys/unix/asm_linux_mips64x.s
-index 724e580c..ab9d6383 100644
---- a/vendor/golang.org/x/sys/unix/asm_linux_mips64x.s
-+++ b/vendor/golang.org/x/sys/unix/asm_linux_mips64x.s
-@@ -15,14 +15,42 @@
- // Just jump to package syscall's implementation for all these functions.
- // The runtime may know about them.
-
--TEXT ·Syscall(SB),NOSPLIT,$0-56
-+TEXT ·Syscall(SB),NOSPLIT,$0-56
- JMP syscall·Syscall(SB)
-
--TEXT ·Syscall6(SB),NOSPLIT,$0-80
-+TEXT ·Syscall6(SB),NOSPLIT,$0-80
- JMP syscall·Syscall6(SB)
-
--TEXT ·RawSyscall(SB),NOSPLIT,$0-56
-+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), R2 // syscall entry
-+ SYSCALL
-+ MOVV R2, r1+32(FP)
-+ MOVV R3, r2+40(FP)
-+ JAL runtime·exitsyscall(SB)
-+ RET
-+
-+TEXT ·RawSyscall(SB),NOSPLIT,$0-56
- JMP syscall·RawSyscall(SB)
-
--TEXT ·RawSyscall6(SB),NOSPLIT,$0-80
-+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), R2 // syscall entry
-+ SYSCALL
-+ MOVV R2, r1+32(FP)
-+ MOVV R3, r2+40(FP)
-+ RET
-diff --git a/vendor/golang.org/x/sys/unix/asm_linux_mipsx.s b/vendor/golang.org/x/sys/unix/asm_linux_mipsx.s
-index 2ea42575..99e53990 100644
---- a/vendor/golang.org/x/sys/unix/asm_linux_mipsx.s
-+++ b/vendor/golang.org/x/sys/unix/asm_linux_mipsx.s
-@@ -15,17 +15,40 @@
- // Just jump to package syscall's implementation for all these functions.
- // The runtime may know about them.
-
--TEXT ·Syscall(SB),NOSPLIT,$0-28
-+TEXT ·Syscall(SB),NOSPLIT,$0-28
- JMP syscall·Syscall(SB)
-
--TEXT ·Syscall6(SB),NOSPLIT,$0-40
-+TEXT ·Syscall6(SB),NOSPLIT,$0-40
- JMP syscall·Syscall6(SB)
-
--TEXT ·Syscall9(SB),NOSPLIT,$0-52
-+TEXT ·Syscall9(SB),NOSPLIT,$0-52
- JMP syscall·Syscall9(SB)
-
--TEXT ·RawSyscall(SB),NOSPLIT,$0-28
-+TEXT ·SyscallNoError(SB),NOSPLIT,$0-24
-+ JAL runtime·entersyscall(SB)
-+ MOVW a1+4(FP), R4
-+ MOVW a2+8(FP), R5
-+ MOVW a3+12(FP), R6
-+ MOVW R0, R7
-+ MOVW trap+0(FP), R2 // syscall entry
-+ SYSCALL
-+ MOVW R2, r1+16(FP) // r1
-+ MOVW R3, r2+20(FP) // r2
-+ JAL runtime·exitsyscall(SB)
-+ RET
-+
-+TEXT ·RawSyscall(SB),NOSPLIT,$0-28
- JMP syscall·RawSyscall(SB)
-
--TEXT ·RawSyscall6(SB),NOSPLIT,$0-40
-+TEXT ·RawSyscall6(SB),NOSPLIT,$0-40
- JMP syscall·RawSyscall6(SB)
-+
-+TEXT ·RawSyscallNoError(SB),NOSPLIT,$0-24
-+ MOVW a1+4(FP), R4
-+ MOVW a2+8(FP), R5
-+ MOVW a3+12(FP), R6
-+ MOVW trap+0(FP), R2 // syscall entry
-+ SYSCALL
-+ MOVW R2, r1+16(FP)
-+ MOVW R3, r2+20(FP)
-+ RET
-diff --git a/vendor/golang.org/x/sys/unix/asm_linux_ppc64x.s b/vendor/golang.org/x/sys/unix/asm_linux_ppc64x.s
-index 8d231feb..88f71255 100644
---- a/vendor/golang.org/x/sys/unix/asm_linux_ppc64x.s
-+++ b/vendor/golang.org/x/sys/unix/asm_linux_ppc64x.s
-@@ -15,14 +15,30 @@
- // Just jump to package syscall's implementation for all these functions.
- // The runtime may know about them.
-
--TEXT ·Syscall(SB),NOSPLIT,$0-56
-- BR syscall·Syscall(SB)
--
--TEXT ·Syscall6(SB),NOSPLIT,$0-80
-- BR syscall·Syscall6(SB)
--
--TEXT ·RawSyscall(SB),NOSPLIT,$0-56
-- BR syscall·RawSyscall(SB)
--
--TEXT ·RawSyscall6(SB),NOSPLIT,$0-80
-- BR syscall·RawSyscall6(SB)
-+TEXT ·SyscallNoError(SB),NOSPLIT,$0-48
-+ BL runtime·entersyscall(SB)
-+ MOVD a1+8(FP), R3
-+ MOVD a2+16(FP), R4
-+ MOVD a3+24(FP), R5
-+ MOVD R0, R6
-+ MOVD R0, R7
-+ MOVD R0, R8
-+ MOVD trap+0(FP), R9 // syscall entry
-+ SYSCALL R9
-+ MOVD R3, r1+32(FP)
-+ MOVD R4, r2+40(FP)
-+ BL runtime·exitsyscall(SB)
-+ RET
-+
-+TEXT ·RawSyscallNoError(SB),NOSPLIT,$0-48
-+ MOVD a1+8(FP), R3
-+ MOVD a2+16(FP), R4
-+ MOVD a3+24(FP), R5
-+ MOVD R0, R6
-+ MOVD R0, R7
-+ MOVD R0, R8
-+ MOVD trap+0(FP), R9 // syscall entry
-+ SYSCALL R9
-+ MOVD R3, r1+32(FP)
-+ MOVD R4, r2+40(FP)
-+ RET
-diff --git a/vendor/golang.org/x/sys/unix/asm_linux_riscv64.s b/vendor/golang.org/x/sys/unix/asm_linux_riscv64.s
-new file mode 100644
-index 00000000..3cfefed2
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/asm_linux_riscv64.s
-@@ -0,0 +1,47 @@
-+// 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.
-+
-+// +build riscv64,!gccgo
-+
-+#include "textflag.h"
-+
-+//
-+// System calls for linux/riscv64.
-+//
-+// Where available, just jump to package syscall's implementation of
-+// these functions.
-+
-+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
-+ CALL runtime·entersyscall(SB)
-+ MOV a1+8(FP), A0
-+ MOV a2+16(FP), A1
-+ MOV a3+24(FP), A2
-+ MOV trap+0(FP), A7 // syscall entry
-+ ECALL
-+ MOV A0, r1+32(FP) // r1
-+ MOV A1, r2+40(FP) // r2
-+ CALL 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
-+ MOV a1+8(FP), A0
-+ MOV a2+16(FP), A1
-+ MOV a3+24(FP), A2
-+ MOV trap+0(FP), A7 // syscall entry
-+ ECALL
-+ MOV A0, r1+32(FP)
-+ MOV A1, r2+40(FP)
-+ RET
-diff --git a/vendor/golang.org/x/sys/unix/asm_linux_s390x.s b/vendor/golang.org/x/sys/unix/asm_linux_s390x.s
-index 11889859..a5a863c6 100644
---- a/vendor/golang.org/x/sys/unix/asm_linux_s390x.s
-+++ b/vendor/golang.org/x/sys/unix/asm_linux_s390x.s
-@@ -21,8 +21,36 @@ TEXT ·Syscall(SB),NOSPLIT,$0-56
- TEXT ·Syscall6(SB),NOSPLIT,$0-80
- BR syscall·Syscall6(SB)
-
-+TEXT ·SyscallNoError(SB),NOSPLIT,$0-48
-+ BL runtime·entersyscall(SB)
-+ MOVD a1+8(FP), R2
-+ MOVD a2+16(FP), R3
-+ MOVD a3+24(FP), R4
-+ MOVD $0, R5
-+ MOVD $0, R6
-+ MOVD $0, R7
-+ MOVD trap+0(FP), R1 // syscall entry
-+ SYSCALL
-+ MOVD R2, r1+32(FP)
-+ MOVD R3, r2+40(FP)
-+ BL runtime·exitsyscall(SB)
-+ RET
-+
- TEXT ·RawSyscall(SB),NOSPLIT,$0-56
- BR syscall·RawSyscall(SB)
-
- TEXT ·RawSyscall6(SB),NOSPLIT,$0-80
- BR syscall·RawSyscall6(SB)
-+
-+TEXT ·RawSyscallNoError(SB),NOSPLIT,$0-48
-+ MOVD a1+8(FP), R2
-+ MOVD a2+16(FP), R3
-+ MOVD a3+24(FP), R4
-+ MOVD $0, R5
-+ MOVD $0, R6
-+ MOVD $0, R7
-+ MOVD trap+0(FP), R1 // syscall entry
-+ SYSCALL
-+ MOVD R2, r1+32(FP)
-+ MOVD R3, r2+40(FP)
-+ RET
-diff --git a/vendor/golang.org/x/sys/unix/asm_linux_mips64x.s b/vendor/golang.org/x/sys/unix/asm_netbsd_arm64.s
-similarity index 60%
-copy from vendor/golang.org/x/sys/unix/asm_linux_mips64x.s
-copy to vendor/golang.org/x/sys/unix/asm_netbsd_arm64.s
-index 724e580c..6f98ba5a 100644
---- a/vendor/golang.org/x/sys/unix/asm_linux_mips64x.s
-+++ b/vendor/golang.org/x/sys/unix/asm_netbsd_arm64.s
-@@ -1,28 +1,29 @@
--// Copyright 2015 The Go Authors. All rights reserved.
-+// 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.
-
--// +build linux
--// +build mips64 mips64le
- // +build !gccgo
-
- #include "textflag.h"
-
- //
--// System calls for mips64, Linux
-+// System call support for ARM64, NetBSD
- //
-
- // Just jump to package syscall's implementation for all these functions.
- // The runtime may know about them.
-
- TEXT ·Syscall(SB),NOSPLIT,$0-56
-- JMP syscall·Syscall(SB)
-+ B syscall·Syscall(SB)
-
- TEXT ·Syscall6(SB),NOSPLIT,$0-80
-- JMP syscall·Syscall6(SB)
-+ B syscall·Syscall6(SB)
-+
-+TEXT ·Syscall9(SB),NOSPLIT,$0-104
-+ B syscall·Syscall9(SB)
-
- TEXT ·RawSyscall(SB),NOSPLIT,$0-56
-- JMP syscall·RawSyscall(SB)
-+ B syscall·RawSyscall(SB)
-
- TEXT ·RawSyscall6(SB),NOSPLIT,$0-80
-- JMP syscall·RawSyscall6(SB)
-+ B syscall·RawSyscall6(SB)
-diff --git a/vendor/golang.org/x/sys/unix/asm_linux_mips64x.s b/vendor/golang.org/x/sys/unix/asm_openbsd_arm64.s
-similarity index 76%
-copy from vendor/golang.org/x/sys/unix/asm_linux_mips64x.s
-copy to vendor/golang.org/x/sys/unix/asm_openbsd_arm64.s
-index 724e580c..0cedea3d 100644
---- a/vendor/golang.org/x/sys/unix/asm_linux_mips64x.s
-+++ b/vendor/golang.org/x/sys/unix/asm_openbsd_arm64.s
-@@ -1,15 +1,13 @@
--// Copyright 2015 The Go Authors. All rights reserved.
-+// 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.
-
--// +build linux
--// +build mips64 mips64le
- // +build !gccgo
-
- #include "textflag.h"
-
- //
--// System calls for mips64, Linux
-+// System call support for arm64, OpenBSD
- //
-
- // Just jump to package syscall's implementation for all these functions.
-@@ -21,6 +19,9 @@ TEXT ·Syscall(SB),NOSPLIT,$0-56
- 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)
-
-diff --git a/vendor/golang.org/x/sys/unix/bluetooth_linux.go b/vendor/golang.org/x/sys/unix/bluetooth_linux.go
-index 6e322969..a178a614 100644
---- a/vendor/golang.org/x/sys/unix/bluetooth_linux.go
-+++ b/vendor/golang.org/x/sys/unix/bluetooth_linux.go
-@@ -23,6 +23,7 @@ const (
- HCI_CHANNEL_USER = 1
- HCI_CHANNEL_MONITOR = 2
- HCI_CHANNEL_CONTROL = 3
-+ HCI_CHANNEL_LOGGING = 4
- )
-
- // Socketoption Level
-diff --git a/vendor/golang.org/x/sys/unix/cap_freebsd.go b/vendor/golang.org/x/sys/unix/cap_freebsd.go
-index 83b6bcea..df520487 100644
---- a/vendor/golang.org/x/sys/unix/cap_freebsd.go
-+++ b/vendor/golang.org/x/sys/unix/cap_freebsd.go
-@@ -7,7 +7,7 @@
- package unix
-
- import (
-- errorspkg "errors"
-+ "errors"
- "fmt"
- )
-
-@@ -60,26 +60,26 @@ func CapRightsSet(rights *CapRights, setrights []uint64) error {
-
- n := caparsize(rights)
- if n < capArSizeMin || n > capArSizeMax {
-- return errorspkg.New("bad rights size")
-+ return errors.New("bad rights size")
- }
-
- for _, right := range setrights {
- if caprver(right) != CAP_RIGHTS_VERSION_00 {
-- return errorspkg.New("bad right version")
-+ return errors.New("bad right version")
- }
- i, err := rightToIndex(right)
- if err != nil {
- return err
- }
- if i >= n {
-- return errorspkg.New("index overflow")
-+ return errors.New("index overflow")
- }
- if capidxbit(rights.Rights[i]) != capidxbit(right) {
-- return errorspkg.New("index mismatch")
-+ return errors.New("index mismatch")
- }
- rights.Rights[i] |= right
- if capidxbit(rights.Rights[i]) != capidxbit(right) {
-- return errorspkg.New("index mismatch (after assign)")
-+ return errors.New("index mismatch (after assign)")
- }
- }
-
-@@ -95,26 +95,26 @@ func CapRightsClear(rights *CapRights, clearrights []uint64) error {
-
- n := caparsize(rights)
- if n < capArSizeMin || n > capArSizeMax {
-- return errorspkg.New("bad rights size")
-+ return errors.New("bad rights size")
- }
-
- for _, right := range clearrights {
- if caprver(right) != CAP_RIGHTS_VERSION_00 {
-- return errorspkg.New("bad right version")
-+ return errors.New("bad right version")
- }
- i, err := rightToIndex(right)
- if err != nil {
- return err
- }
- if i >= n {
-- return errorspkg.New("index overflow")
-+ return errors.New("index overflow")
- }
- if capidxbit(rights.Rights[i]) != capidxbit(right) {
-- return errorspkg.New("index mismatch")
-+ return errors.New("index mismatch")
- }
- rights.Rights[i] &= ^(right & 0x01FFFFFFFFFFFFFF)
- if capidxbit(rights.Rights[i]) != capidxbit(right) {
-- return errorspkg.New("index mismatch (after assign)")
-+ return errors.New("index mismatch (after assign)")
- }
- }
-
-@@ -130,22 +130,22 @@ func CapRightsIsSet(rights *CapRights, setrights []uint64) (bool, error) {
-
- n := caparsize(rights)
- if n < capArSizeMin || n > capArSizeMax {
-- return false, errorspkg.New("bad rights size")
-+ return false, errors.New("bad rights size")
- }
-
- for _, right := range setrights {
- if caprver(right) != CAP_RIGHTS_VERSION_00 {
-- return false, errorspkg.New("bad right version")
-+ return false, errors.New("bad right version")
- }
- i, err := rightToIndex(right)
- if err != nil {
- return false, err
- }
- if i >= n {
-- return false, errorspkg.New("index overflow")
-+ return false, errors.New("index overflow")
- }
- if capidxbit(rights.Rights[i]) != capidxbit(right) {
-- return false, errorspkg.New("index mismatch")
-+ return false, errors.New("index mismatch")
- }
- if (rights.Rights[i] & right) != right {
- return false, nil
-diff --git a/vendor/golang.org/x/sys/unix/constants.go b/vendor/golang.org/x/sys/unix/constants.go
-index a96f0ebc..3a6ac648 100644
---- a/vendor/golang.org/x/sys/unix/constants.go
-+++ b/vendor/golang.org/x/sys/unix/constants.go
-@@ -2,7 +2,7 @@
- // Use of this source code is governed by a BSD-style
- // license that can be found in the LICENSE file.
-
--// +build darwin dragonfly freebsd linux netbsd openbsd solaris
-+// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
-
- package unix
-
-diff --git a/vendor/golang.org/x/sys/unix/dev_aix_ppc.go b/vendor/golang.org/x/sys/unix/dev_aix_ppc.go
-new file mode 100644
-index 00000000..5e5fb451
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/dev_aix_ppc.go
-@@ -0,0 +1,27 @@
-+// Copyright 2018 The Go Authors. All rights reserved.
-+// Use of this source code is governed by a BSD-style
-+// license that can be found in the LICENSE file.
-+
-+// +build aix
-+// +build ppc
-+
-+// Functions to access/create device major and minor numbers matching the
-+// encoding used by AIX.
-+
-+package unix
-+
-+// Major returns the major component of a Linux device number.
-+func Major(dev uint64) uint32 {
-+ return uint32((dev >> 16) & 0xffff)
-+}
-+
-+// Minor returns the minor component of a Linux device number.
-+func Minor(dev uint64) uint32 {
-+ return uint32(dev & 0xffff)
-+}
-+
-+// Mkdev returns a Linux device number generated from the given major and minor
-+// components.
-+func Mkdev(major, minor uint32) uint64 {
-+ return uint64(((major) << 16) | (minor))
-+}
-diff --git a/vendor/golang.org/x/sys/unix/dev_aix_ppc64.go b/vendor/golang.org/x/sys/unix/dev_aix_ppc64.go
-new file mode 100644
-index 00000000..8b401244
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/dev_aix_ppc64.go
-@@ -0,0 +1,29 @@
-+// Copyright 2018 The Go Authors. All rights reserved.
-+// Use of this source code is governed by a BSD-style
-+// license that can be found in the LICENSE file.
-+
-+// +build aix
-+// +build ppc64
-+
-+// Functions to access/create device major and minor numbers matching the
-+// encoding used AIX.
-+
-+package unix
-+
-+// Major returns the major component of a Linux device number.
-+func Major(dev uint64) uint32 {
-+ return uint32((dev & 0x3fffffff00000000) >> 32)
-+}
-+
-+// Minor returns the minor component of a Linux device number.
-+func Minor(dev uint64) uint32 {
-+ return uint32((dev & 0x00000000ffffffff) >> 0)
-+}
-+
-+// Mkdev returns a Linux device number generated from the given major and minor
-+// components.
-+func Mkdev(major, minor uint32) uint64 {
-+ var DEVNO64 uint64
-+ DEVNO64 = 0x8000000000000000
-+ return ((uint64(major) << 32) | (uint64(minor) & 0x00000000FFFFFFFF) | DEVNO64)
-+}
-diff --git a/vendor/golang.org/x/sys/unix/dev_darwin.go b/vendor/golang.org/x/sys/unix/dev_darwin.go
-new file mode 100644
-index 00000000..8d1dc0fa
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/dev_darwin.go
-@@ -0,0 +1,24 @@
-+// 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.
-+
-+// Functions to access/create device major and minor numbers matching the
-+// encoding used in Darwin's sys/types.h header.
-+
-+package unix
-+
-+// Major returns the major component of a Darwin device number.
-+func Major(dev uint64) uint32 {
-+ return uint32((dev >> 24) & 0xff)
-+}
-+
-+// Minor returns the minor component of a Darwin device number.
-+func Minor(dev uint64) uint32 {
-+ return uint32(dev & 0xffffff)
-+}
-+
-+// Mkdev returns a Darwin device number generated from the given major and minor
-+// components.
-+func Mkdev(major, minor uint32) uint64 {
-+ return (uint64(major) << 24) | uint64(minor)
-+}
-diff --git a/vendor/golang.org/x/sys/unix/dev_dragonfly.go b/vendor/golang.org/x/sys/unix/dev_dragonfly.go
-new file mode 100644
-index 00000000..8502f202
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/dev_dragonfly.go
-@@ -0,0 +1,30 @@
-+// 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.
-+
-+// Functions to access/create device major and minor numbers matching the
-+// encoding used in Dragonfly's sys/types.h header.
-+//
-+// The information below is extracted and adapted from sys/types.h:
-+//
-+// Minor gives a cookie instead of an index since in order to avoid changing the
-+// meanings of bits 0-15 or wasting time and space shifting bits 16-31 for
-+// devices that don't use them.
-+
-+package unix
-+
-+// Major returns the major component of a DragonFlyBSD device number.
-+func Major(dev uint64) uint32 {
-+ return uint32((dev >> 8) & 0xff)
-+}
-+
-+// Minor returns the minor component of a DragonFlyBSD device number.
-+func Minor(dev uint64) uint32 {
-+ return uint32(dev & 0xffff00ff)
-+}
-+
-+// Mkdev returns a DragonFlyBSD device number generated from the given major and
-+// minor components.
-+func Mkdev(major, minor uint32) uint64 {
-+ return (uint64(major) << 8) | uint64(minor)
-+}
-diff --git a/vendor/golang.org/x/sys/unix/dev_freebsd.go b/vendor/golang.org/x/sys/unix/dev_freebsd.go
-new file mode 100644
-index 00000000..eba3b4bd
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/dev_freebsd.go
-@@ -0,0 +1,30 @@
-+// 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.
-+
-+// Functions to access/create device major and minor numbers matching the
-+// encoding used in FreeBSD's sys/types.h header.
-+//
-+// The information below is extracted and adapted from sys/types.h:
-+//
-+// Minor gives a cookie instead of an index since in order to avoid changing the
-+// meanings of bits 0-15 or wasting time and space shifting bits 16-31 for
-+// devices that don't use them.
-+
-+package unix
-+
-+// Major returns the major component of a FreeBSD device number.
-+func Major(dev uint64) uint32 {
-+ return uint32((dev >> 8) & 0xff)
-+}
-+
-+// Minor returns the minor component of a FreeBSD device number.
-+func Minor(dev uint64) uint32 {
-+ return uint32(dev & 0xffff00ff)
-+}
-+
-+// Mkdev returns a FreeBSD device number generated from the given major and
-+// minor components.
-+func Mkdev(major, minor uint32) uint64 {
-+ return (uint64(major) << 8) | uint64(minor)
-+}
-diff --git a/vendor/golang.org/x/sys/unix/dev_linux.go b/vendor/golang.org/x/sys/unix/dev_linux.go
-index c902c39e..d165d6f3 100644
---- a/vendor/golang.org/x/sys/unix/dev_linux.go
-+++ b/vendor/golang.org/x/sys/unix/dev_linux.go
-@@ -34,9 +34,9 @@ func Minor(dev uint64) uint32 {
- // Mkdev returns a Linux device number generated from the given major and minor
- // components.
- func Mkdev(major, minor uint32) uint64 {
-- dev := uint64((major & 0x00000fff) << 8)
-- dev |= uint64((major & 0xfffff000) << 32)
-- dev |= uint64((minor & 0x000000ff) << 0)
-- dev |= uint64((minor & 0xffffff00) << 12)
-+ dev := (uint64(major) & 0x00000fff) << 8
-+ dev |= (uint64(major) & 0xfffff000) << 32
-+ dev |= (uint64(minor) & 0x000000ff) << 0
-+ dev |= (uint64(minor) & 0xffffff00) << 12
- return dev
- }
-diff --git a/vendor/golang.org/x/sys/unix/dev_netbsd.go b/vendor/golang.org/x/sys/unix/dev_netbsd.go
-new file mode 100644
-index 00000000..b4a203d0
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/dev_netbsd.go
-@@ -0,0 +1,29 @@
-+// 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.
-+
-+// Functions to access/create device major and minor numbers matching the
-+// encoding used in NetBSD's sys/types.h header.
-+
-+package unix
-+
-+// Major returns the major component of a NetBSD device number.
-+func Major(dev uint64) uint32 {
-+ return uint32((dev & 0x000fff00) >> 8)
-+}
-+
-+// Minor returns the minor component of a NetBSD device number.
-+func Minor(dev uint64) uint32 {
-+ minor := uint32((dev & 0x000000ff) >> 0)
-+ minor |= uint32((dev & 0xfff00000) >> 12)
-+ return minor
-+}
-+
-+// Mkdev returns a NetBSD device number generated from the given major and minor
-+// components.
-+func Mkdev(major, minor uint32) uint64 {
-+ dev := (uint64(major) << 8) & 0x000fff00
-+ dev |= (uint64(minor) << 12) & 0xfff00000
-+ dev |= (uint64(minor) << 0) & 0x000000ff
-+ return dev
-+}
-diff --git a/vendor/golang.org/x/sys/unix/dev_openbsd.go b/vendor/golang.org/x/sys/unix/dev_openbsd.go
-new file mode 100644
-index 00000000..f3430c42
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/dev_openbsd.go
-@@ -0,0 +1,29 @@
-+// 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.
-+
-+// Functions to access/create device major and minor numbers matching the
-+// encoding used in OpenBSD's sys/types.h header.
-+
-+package unix
-+
-+// Major returns the major component of an OpenBSD device number.
-+func Major(dev uint64) uint32 {
-+ return uint32((dev & 0x0000ff00) >> 8)
-+}
-+
-+// Minor returns the minor component of an OpenBSD device number.
-+func Minor(dev uint64) uint32 {
-+ minor := uint32((dev & 0x000000ff) >> 0)
-+ minor |= uint32((dev & 0xffff0000) >> 8)
-+ return minor
-+}
-+
-+// Mkdev returns an OpenBSD device number generated from the given major and minor
-+// components.
-+func Mkdev(major, minor uint32) uint64 {
-+ dev := (uint64(major) << 8) & 0x0000ff00
-+ dev |= (uint64(minor) << 8) & 0xffff0000
-+ dev |= (uint64(minor) << 0) & 0x000000ff
-+ return dev
-+}
-diff --git a/vendor/golang.org/x/sys/unix/dirent.go b/vendor/golang.org/x/sys/unix/dirent.go
-index bd475812..304016b6 100644
---- a/vendor/golang.org/x/sys/unix/dirent.go
-+++ b/vendor/golang.org/x/sys/unix/dirent.go
-@@ -2,7 +2,7 @@
- // Use of this source code is governed by a BSD-style
- // license that can be found in the LICENSE file.
-
--// +build darwin dragonfly freebsd linux nacl netbsd openbsd solaris
-+// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
-
- 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 085df2d8..bcdb5d30 100644
---- a/vendor/golang.org/x/sys/unix/endian_little.go
-+++ b/vendor/golang.org/x/sys/unix/endian_little.go
-@@ -2,7 +2,7 @@
- // Use of this source code is governed by a BSD-style
- // license that can be found in the LICENSE file.
- //
--// +build 386 amd64 amd64p32 arm arm64 ppc64le mipsle mips64le
-+// +build 386 amd64 amd64p32 arm arm64 ppc64le mipsle mips64le riscv64
-
- package unix
-
-diff --git a/vendor/golang.org/x/sys/unix/env_unix.go b/vendor/golang.org/x/sys/unix/env_unix.go
-index 45e281a0..84178b0a 100644
---- a/vendor/golang.org/x/sys/unix/env_unix.go
-+++ b/vendor/golang.org/x/sys/unix/env_unix.go
-@@ -1,8 +1,8 @@
--// Copyright 2010 The Go Authors. All rights reserved.
-+// Copyright 2010 The Go Authors. All rights reserved.
- // Use of this source code is governed by a BSD-style
- // license that can be found in the LICENSE file.
-
--// +build darwin dragonfly freebsd linux netbsd openbsd solaris
-+// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
-
- // Unix environment variables.
-
-@@ -25,3 +25,7 @@ func Clearenv() {
- func Environ() []string {
- return syscall.Environ()
- }
-+
-+func Unsetenv(key string) error {
-+ return syscall.Unsetenv(key)
-+}
-diff --git a/vendor/golang.org/x/sys/unix/env_unset.go b/vendor/golang.org/x/sys/unix/env_unset.go
-deleted file mode 100644
-index 92222625..00000000
---- a/vendor/golang.org/x/sys/unix/env_unset.go
-+++ /dev/null
-@@ -1,14 +0,0 @@
--// Copyright 2014 The Go Authors. All rights reserved.
--// Use of this source code is governed by a BSD-style
--// license that can be found in the LICENSE file.
--
--// +build go1.4
--
--package unix
--
--import "syscall"
--
--func Unsetenv(key string) error {
-- // This was added in Go 1.4.
-- return syscall.Unsetenv(key)
--}
-diff --git a/vendor/golang.org/x/sys/unix/errors_freebsd_386.go b/vendor/golang.org/x/sys/unix/errors_freebsd_386.go
-index c56bc8b0..761db66e 100644
---- a/vendor/golang.org/x/sys/unix/errors_freebsd_386.go
-+++ b/vendor/golang.org/x/sys/unix/errors_freebsd_386.go
-@@ -8,6 +8,7 @@
- package unix
-
- const (
-+ DLT_HHDLC = 0x79
- IFF_SMART = 0x20
- IFT_1822 = 0x2
- IFT_A12MPPSWITCH = 0x82
-@@ -210,13 +211,18 @@ const (
- 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
-diff --git a/vendor/golang.org/x/sys/unix/errors_freebsd_amd64.go b/vendor/golang.org/x/sys/unix/errors_freebsd_amd64.go
-index 3e977117..070f44b6 100644
---- a/vendor/golang.org/x/sys/unix/errors_freebsd_amd64.go
-+++ b/vendor/golang.org/x/sys/unix/errors_freebsd_amd64.go
-@@ -8,6 +8,7 @@
- package unix
-
- const (
-+ DLT_HHDLC = 0x79
- IFF_SMART = 0x20
- IFT_1822 = 0x2
- IFT_A12MPPSWITCH = 0x82
-@@ -210,13 +211,18 @@ const (
- 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
-diff --git a/vendor/golang.org/x/sys/unix/errors_freebsd_arm64.go b/vendor/golang.org/x/sys/unix/errors_freebsd_arm64.go
-new file mode 100644
-index 00000000..946dcf3f
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/errors_freebsd_arm64.go
-@@ -0,0 +1,17 @@
-+// 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/flock.go b/vendor/golang.org/x/sys/unix/fcntl.go
-similarity index 54%
-rename from vendor/golang.org/x/sys/unix/flock.go
-rename to vendor/golang.org/x/sys/unix/fcntl.go
-index 2994ce75..4dc53486 100644
---- a/vendor/golang.org/x/sys/unix/flock.go
-+++ b/vendor/golang.org/x/sys/unix/fcntl.go
-@@ -2,16 +2,30 @@
- // Use of this source code is governed by a BSD-style
- // license that can be found in the LICENSE file.
-
--// +build darwin dragonfly freebsd linux netbsd openbsd
-+// +build dragonfly freebsd linux netbsd openbsd
-
- package unix
-
- import "unsafe"
-
- // fcntl64Syscall is usually SYS_FCNTL, but is overridden on 32-bit Linux
--// systems by flock_linux_32bit.go to be SYS_FCNTL64.
-+// systems by fcntl_linux_32bit.go to be SYS_FCNTL64.
- var fcntl64Syscall uintptr = SYS_FCNTL
-
-+func fcntl(fd int, cmd, arg int) (int, error) {
-+ valptr, _, errno := Syscall(fcntl64Syscall, uintptr(fd), uintptr(cmd), uintptr(arg))
-+ var err error
-+ if errno != 0 {
-+ err = errno
-+ }
-+ return int(valptr), err
-+}
-+
-+// FcntlInt performs a fcntl syscall on fd with the provided command and argument.
-+func FcntlInt(fd uintptr, cmd, arg int) (int, error) {
-+ return fcntl(int(fd), cmd, arg)
-+}
-+
- // FcntlFlock performs a fcntl syscall for the F_GETLK, F_SETLK or F_SETLKW command.
- func FcntlFlock(fd uintptr, cmd int, lk *Flock_t) error {
- _, _, errno := Syscall(fcntl64Syscall, fd, uintptr(cmd), uintptr(unsafe.Pointer(lk)))
-diff --git a/vendor/golang.org/x/sys/unix/fcntl_darwin.go b/vendor/golang.org/x/sys/unix/fcntl_darwin.go
-new file mode 100644
-index 00000000..5868a4a4
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/fcntl_darwin.go
-@@ -0,0 +1,18 @@
-+// 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.
-+
-+package unix
-+
-+import "unsafe"
-+
-+// FcntlInt performs a fcntl syscall on fd with the provided command and argument.
-+func FcntlInt(fd uintptr, cmd, arg int) (int, error) {
-+ return fcntl(int(fd), cmd, arg)
-+}
-+
-+// FcntlFlock performs a fcntl syscall for the F_GETLK, F_SETLK or F_SETLKW command.
-+func FcntlFlock(fd uintptr, cmd int, lk *Flock_t) error {
-+ _, err := fcntl(int(fd), cmd, int(uintptr(unsafe.Pointer(lk))))
-+ return err
-+}
-diff --git a/vendor/golang.org/x/sys/unix/flock_linux_32bit.go b/vendor/golang.org/x/sys/unix/fcntl_linux_32bit.go
-similarity index 100%
-rename from vendor/golang.org/x/sys/unix/flock_linux_32bit.go
-rename to vendor/golang.org/x/sys/unix/fcntl_linux_32bit.go
-diff --git a/vendor/golang.org/x/sys/unix/fdset.go b/vendor/golang.org/x/sys/unix/fdset.go
-new file mode 100644
-index 00000000..b27be0a0
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/fdset.go
-@@ -0,0 +1,29 @@
-+// 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.
-+
-+// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
-+
-+package unix
-+
-+// Set adds fd to the set fds.
-+func (fds *FdSet) Set(fd int) {
-+ fds.Bits[fd/NFDBITS] |= (1 << (uintptr(fd) % NFDBITS))
-+}
-+
-+// Clear removes fd from the set fds.
-+func (fds *FdSet) Clear(fd int) {
-+ fds.Bits[fd/NFDBITS] &^= (1 << (uintptr(fd) % NFDBITS))
-+}
-+
-+// IsSet returns whether fd is in the set fds.
-+func (fds *FdSet) IsSet(fd int) bool {
-+ return fds.Bits[fd/NFDBITS]&(1<<(uintptr(fd)%NFDBITS)) != 0
-+}
-+
-+// Zero clears the set fds.
-+func (fds *FdSet) Zero() {
-+ for i := range fds.Bits {
-+ fds.Bits[i] = 0
-+ }
-+}
-diff --git a/vendor/golang.org/x/sys/unix/file_unix.go b/vendor/golang.org/x/sys/unix/file_unix.go
-deleted file mode 100644
-index 47f6a83f..00000000
---- a/vendor/golang.org/x/sys/unix/file_unix.go
-+++ /dev/null
-@@ -1,27 +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
--
--import (
-- "os"
-- "syscall"
--)
--
--// FIXME: unexported function from os
--// syscallMode returns the syscall-specific mode bits from Go's portable mode bits.
--func syscallMode(i os.FileMode) (o uint32) {
-- o |= uint32(i.Perm())
-- if i&os.ModeSetuid != 0 {
-- o |= syscall.S_ISUID
-- }
-- if i&os.ModeSetgid != 0 {
-- o |= syscall.S_ISGID
-- }
-- if i&os.ModeSticky != 0 {
-- o |= syscall.S_ISVTX
-- }
-- // No mapping for Go's ModeTemporary (plan9 only).
-- return
--}
-diff --git a/vendor/golang.org/x/sys/unix/gccgo.go b/vendor/golang.org/x/sys/unix/gccgo.go
-index 94c82321..cd6f5a61 100644
---- a/vendor/golang.org/x/sys/unix/gccgo.go
-+++ b/vendor/golang.org/x/sys/unix/gccgo.go
-@@ -1,19 +1,30 @@
--// Copyright 2015 The Go Authors. All rights reserved.
-+// Copyright 2015 The Go Authors. All rights reserved.
- // Use of this source code is governed by a BSD-style
- // license that can be found in the LICENSE file.
-
- // +build gccgo
-+// +build !aix
-
- package unix
-
- import "syscall"
-
--// We can't use the gc-syntax .s files for gccgo. On the plus side
-+// We can't use the gc-syntax .s files for gccgo. On the plus side
- // much of the functionality can be written directly in Go.
-
-+//extern gccgoRealSyscallNoError
-+func realSyscallNoError(trap, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r uintptr)
-+
- //extern gccgoRealSyscall
- func realSyscall(trap, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r, errno uintptr)
-
-+func SyscallNoError(trap, a1, a2, a3 uintptr) (r1, r2 uintptr) {
-+ syscall.Entersyscall()
-+ r := realSyscallNoError(trap, a1, a2, a3, 0, 0, 0, 0, 0, 0)
-+ syscall.Exitsyscall()
-+ return r, 0
-+}
-+
- func Syscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err syscall.Errno) {
- syscall.Entersyscall()
- r, errno := realSyscall(trap, a1, a2, a3, 0, 0, 0, 0, 0, 0)
-@@ -35,6 +46,11 @@ func Syscall9(trap, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr,
- return r, 0, syscall.Errno(errno)
- }
-
-+func RawSyscallNoError(trap, a1, a2, a3 uintptr) (r1, r2 uintptr) {
-+ r := realSyscallNoError(trap, a1, a2, a3, 0, 0, 0, 0, 0, 0)
-+ return r, 0
-+}
-+
- func RawSyscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err syscall.Errno) {
- r, errno := realSyscall(trap, a1, a2, a3, 0, 0, 0, 0, 0, 0)
- return r, 0, syscall.Errno(errno)
-diff --git a/vendor/golang.org/x/sys/unix/gccgo_c.c b/vendor/golang.org/x/sys/unix/gccgo_c.c
-index 07f6be03..c44730c5 100644
---- a/vendor/golang.org/x/sys/unix/gccgo_c.c
-+++ b/vendor/golang.org/x/sys/unix/gccgo_c.c
-@@ -1,8 +1,9 @@
--// Copyright 2015 The Go Authors. All rights reserved.
-+// Copyright 2015 The Go Authors. All rights reserved.
- // Use of this source code is governed by a BSD-style
- // license that can be found in the LICENSE file.
-
- // +build gccgo
-+// +build !aix
-
- #include <errno.h>
- #include <stdint.h>
-@@ -31,11 +32,8 @@ gccgoRealSyscall(uintptr_t trap, uintptr_t a1, uintptr_t a2, uintptr_t a3, uintp
- return r;
- }
-
--// Define the use function in C so that it is not inlined.
--
--extern void use(void *) __asm__ (GOSYM_PREFIX GOPKGPATH ".use") __attribute__((noinline));
--
--void
--use(void *p __attribute__ ((unused)))
-+uintptr_t
-+gccgoRealSyscallNoError(uintptr_t trap, uintptr_t a1, uintptr_t a2, uintptr_t a3, uintptr_t a4, uintptr_t a5, uintptr_t a6, uintptr_t a7, uintptr_t a8, uintptr_t a9)
- {
-+ return syscall(trap, a1, a2, a3, a4, a5, a6, a7, a8, a9);
- }
-diff --git a/vendor/golang.org/x/sys/unix/gccgo_linux_amd64.go b/vendor/golang.org/x/sys/unix/gccgo_linux_amd64.go
-index bffe1a77..251a977a 100644
---- a/vendor/golang.org/x/sys/unix/gccgo_linux_amd64.go
-+++ b/vendor/golang.org/x/sys/unix/gccgo_linux_amd64.go
-@@ -1,4 +1,4 @@
--// Copyright 2015 The Go Authors. All rights reserved.
-+// Copyright 2015 The Go Authors. All rights reserved.
- // Use of this source code is governed by a BSD-style
- // license that can be found in the LICENSE file.
-
-diff --git a/vendor/golang.org/x/sys/unix/gccgo_linux_sparc64.go b/vendor/golang.org/x/sys/unix/gccgo_linux_sparc64.go
-deleted file mode 100644
-index 56332692..00000000
---- a/vendor/golang.org/x/sys/unix/gccgo_linux_sparc64.go
-+++ /dev/null
-@@ -1,20 +0,0 @@
--// Copyright 2016 The Go Authors. All rights reserved.
--// Use of this source code is governed by a BSD-style
--// license that can be found in the LICENSE file.
--
--// +build gccgo,linux,sparc64
--
--package unix
--
--import "syscall"
--
--//extern sysconf
--func realSysconf(name int) int64
--
--func sysconf(name int) (n int64, err syscall.Errno) {
-- r := realSysconf(name)
-- if r < 0 {
-- return 0, syscall.GetErrno()
-- }
-- return r, 0
--}
-diff --git a/vendor/golang.org/x/sys/unix/ioctl.go b/vendor/golang.org/x/sys/unix/ioctl.go
-new file mode 100644
-index 00000000..3559e5dc
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/ioctl.go
-@@ -0,0 +1,65 @@
-+// Copyright 2018 The Go Authors. All rights reserved.
-+// Use of this source code is governed by a BSD-style
-+// license that can be found in the LICENSE file.
-+
-+// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
-+
-+package unix
-+
-+import (
-+ "runtime"
-+ "unsafe"
-+)
-+
-+// ioctl itself should not be exposed directly, but additional get/set
-+// functions for specific types are permissible.
-+
-+// IoctlSetInt performs an ioctl operation which sets an integer value
-+// on fd, using the specified request number.
-+func IoctlSetInt(fd int, req uint, value int) error {
-+ return ioctl(fd, req, uintptr(value))
-+}
-+
-+// IoctlSetWinsize performs an ioctl on fd with a *Winsize argument.
-+//
-+// To change fd's window size, the req argument should be TIOCSWINSZ.
-+func IoctlSetWinsize(fd int, req uint, value *Winsize) error {
-+ // TODO: if we get the chance, remove the req parameter and
-+ // hardcode TIOCSWINSZ.
-+ err := ioctl(fd, req, uintptr(unsafe.Pointer(value)))
-+ runtime.KeepAlive(value)
-+ return err
-+}
-+
-+// IoctlSetTermios performs an ioctl on fd with a *Termios.
-+//
-+// The req value will usually be TCSETA or TIOCSETA.
-+func IoctlSetTermios(fd int, req uint, value *Termios) error {
-+ // TODO: if we get the chance, remove the req parameter.
-+ err := ioctl(fd, req, uintptr(unsafe.Pointer(value)))
-+ runtime.KeepAlive(value)
-+ return err
-+}
-+
-+// IoctlGetInt performs an ioctl operation which gets an integer value
-+// from fd, using the specified request number.
-+//
-+// A few ioctl requests use the return value as an output parameter;
-+// for those, IoctlRetInt should be used instead of this function.
-+func IoctlGetInt(fd int, req uint) (int, error) {
-+ var value int
-+ err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
-+ return value, err
-+}
-+
-+func IoctlGetWinsize(fd int, req uint) (*Winsize, error) {
-+ var value Winsize
-+ err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
-+ return &value, err
-+}
-+
-+func IoctlGetTermios(fd int, req uint) (*Termios, error) {
-+ var value Termios
-+ err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
-+ return &value, err
-+}
-diff --git a/vendor/golang.org/x/sys/unix/mkasm_darwin.go b/vendor/golang.org/x/sys/unix/mkasm_darwin.go
-new file mode 100644
-index 00000000..6f7bb6ed
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/mkasm_darwin.go
-@@ -0,0 +1,78 @@
-+// Copyright 2018 The Go Authors. All rights reserved.
-+// Use of this source code is governed by a BSD-style
-+// license that can be found in the LICENSE file.
-+
-+// +build ignore
-+
-+// mkasm_darwin.go generates assembly trampolines to call libSystem routines from Go.
-+//This program must be run after mksyscall.go.
-+package main
-+
-+import (
-+ "bytes"
-+ "fmt"
-+ "io/ioutil"
-+ "log"
-+ "os"
-+ "strings"
-+)
-+
-+func writeASMFile(in string, fileName string, buildTags string) {
-+ trampolines := map[string]bool{}
-+
-+ var out bytes.Buffer
-+
-+ fmt.Fprintf(&out, "// go run mkasm_darwin.go %s\n", strings.Join(os.Args[1:], " "))
-+ fmt.Fprintf(&out, "// Code generated by the command above; DO NOT EDIT.\n")
-+ fmt.Fprintf(&out, "\n")
-+ fmt.Fprintf(&out, "// +build %s\n", buildTags)
-+ fmt.Fprintf(&out, "\n")
-+ fmt.Fprintf(&out, "#include \"textflag.h\"\n")
-+ for _, line := range strings.Split(in, "\n") {
-+ if !strings.HasPrefix(line, "func ") || !strings.HasSuffix(line, "_trampoline()") {
-+ continue
-+ }
-+ fn := line[5 : len(line)-13]
-+ if !trampolines[fn] {
-+ trampolines[fn] = true
-+ fmt.Fprintf(&out, "TEXT ·%s_trampoline(SB),NOSPLIT,$0-0\n", fn)
-+ fmt.Fprintf(&out, "\tJMP\t%s(SB)\n", fn)
-+ }
-+ }
-+ err := ioutil.WriteFile(fileName, out.Bytes(), 0644)
-+ if err != nil {
-+ log.Fatalf("can't write %s: %s", fileName, err)
-+ }
-+}
-+
-+func main() {
-+ in1, err := ioutil.ReadFile("syscall_darwin.go")
-+ if err != nil {
-+ log.Fatalf("can't open syscall_darwin.go: %s", err)
-+ }
-+ arch := os.Args[1]
-+ in2, err := ioutil.ReadFile(fmt.Sprintf("syscall_darwin_%s.go", arch))
-+ if err != nil {
-+ log.Fatalf("can't open syscall_darwin_%s.go: %s", arch, err)
-+ }
-+ in3, err := ioutil.ReadFile(fmt.Sprintf("zsyscall_darwin_%s.go", arch))
-+ if err != nil {
-+ log.Fatalf("can't open zsyscall_darwin_%s.go: %s", arch, err)
-+ }
-+ in := string(in1) + string(in2) + string(in3)
-+
-+ writeASMFile(in, fmt.Sprintf("zsyscall_darwin_%s.s", arch), "go1.12")
-+
-+ in1, err = ioutil.ReadFile("syscall_darwin.1_13.go")
-+ if err != nil {
-+ log.Fatalf("can't open syscall_darwin.1_13.go: %s", err)
-+ }
-+ in2, err = ioutil.ReadFile(fmt.Sprintf("zsyscall_darwin_%s.1_13.go", arch))
-+ if err != nil {
-+ log.Fatalf("can't open zsyscall_darwin_%s.1_13.go: %s", arch, err)
-+ }
-+
-+ in = string(in1) + string(in2)
-+
-+ writeASMFile(in, fmt.Sprintf("zsyscall_darwin_%s.1_13.s", arch), "go1.13")
-+}
-diff --git a/vendor/golang.org/x/sys/unix/mkmerge.go b/vendor/golang.org/x/sys/unix/mkmerge.go
-new file mode 100644
-index 00000000..8bde4501
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/mkmerge.go
-@@ -0,0 +1,521 @@
-+// 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.
-+
-+// +build ignore
-+
-+// mkmerge.go parses generated source files and merges common
-+// consts, funcs, and types into a common source file, per GOOS.
-+//
-+// Usage:
-+// $ go run mkmerge.go -out MERGED FILE [FILE ...]
-+//
-+// Example:
-+// # Remove all common consts, funcs, and types from zerrors_linux_*.go
-+// # and write the common code into zerrors_linux.go
-+// $ go run mkmerge.go -out zerrors_linux.go zerrors_linux_*.go
-+//
-+// mkmerge.go performs the merge in the following steps:
-+// 1. Construct the set of common code that is idential in all
-+// architecture-specific files.
-+// 2. Write this common code to the merged file.
-+// 3. Remove the common code from all architecture-specific files.
-+package main
-+
-+import (
-+ "bufio"
-+ "bytes"
-+ "flag"
-+ "fmt"
-+ "go/ast"
-+ "go/format"
-+ "go/parser"
-+ "go/token"
-+ "io"
-+ "io/ioutil"
-+ "log"
-+ "os"
-+ "path"
-+ "path/filepath"
-+ "regexp"
-+ "strconv"
-+ "strings"
-+)
-+
-+const validGOOS = "aix|darwin|dragonfly|freebsd|linux|netbsd|openbsd|solaris"
-+
-+// getValidGOOS returns GOOS, true if filename ends with a valid "_GOOS.go"
-+func getValidGOOS(filename string) (string, bool) {
-+ matches := regexp.MustCompile(`_(` + validGOOS + `)\.go$`).FindStringSubmatch(filename)
-+ if len(matches) != 2 {
-+ return "", false
-+ }
-+ return matches[1], true
-+}
-+
-+// codeElem represents an ast.Decl in a comparable way.
-+type codeElem struct {
-+ tok token.Token // e.g. token.CONST, token.TYPE, or token.FUNC
-+ src string // the declaration formatted as source code
-+}
-+
-+// newCodeElem returns a codeElem based on tok and node, or an error is returned.
-+func newCodeElem(tok token.Token, node ast.Node) (codeElem, error) {
-+ var b strings.Builder
-+ err := format.Node(&b, token.NewFileSet(), node)
-+ if err != nil {
-+ return codeElem{}, err
-+ }
-+ return codeElem{tok, b.String()}, nil
-+}
-+
-+// codeSet is a set of codeElems
-+type codeSet struct {
-+ set map[codeElem]bool // true for all codeElems in the set
-+}
-+
-+// newCodeSet returns a new codeSet
-+func newCodeSet() *codeSet { return &codeSet{make(map[codeElem]bool)} }
-+
-+// add adds elem to c
-+func (c *codeSet) add(elem codeElem) { c.set[elem] = true }
-+
-+// has returns true if elem is in c
-+func (c *codeSet) has(elem codeElem) bool { return c.set[elem] }
-+
-+// isEmpty returns true if the set is empty
-+func (c *codeSet) isEmpty() bool { return len(c.set) == 0 }
-+
-+// intersection returns a new set which is the intersection of c and a
-+func (c *codeSet) intersection(a *codeSet) *codeSet {
-+ res := newCodeSet()
-+
-+ for elem := range c.set {
-+ if a.has(elem) {
-+ res.add(elem)
-+ }
-+ }
-+ return res
-+}
-+
-+// keepCommon is a filterFn for filtering the merged file with common declarations.
-+func (c *codeSet) keepCommon(elem codeElem) bool {
-+ switch elem.tok {
-+ case token.VAR:
-+ // Remove all vars from the merged file
-+ return false
-+ case token.CONST, token.TYPE, token.FUNC, token.COMMENT:
-+ // Remove arch-specific consts, types, functions, and file-level comments from the merged file
-+ return c.has(elem)
-+ case token.IMPORT:
-+ // Keep imports, they are handled by filterImports
-+ return true
-+ }
-+
-+ log.Fatalf("keepCommon: invalid elem %v", elem)
-+ return true
-+}
-+
-+// keepArchSpecific is a filterFn for filtering the GOARC-specific files.
-+func (c *codeSet) keepArchSpecific(elem codeElem) bool {
-+ switch elem.tok {
-+ case token.CONST, token.TYPE, token.FUNC:
-+ // Remove common consts, types, or functions from the arch-specific file
-+ return !c.has(elem)
-+ }
-+ return true
-+}
-+
-+// srcFile represents a source file
-+type srcFile struct {
-+ name string
-+ src []byte
-+}
-+
-+// filterFn is a helper for filter
-+type filterFn func(codeElem) bool
-+
-+// filter parses and filters Go source code from src, removing top
-+// level declarations using keep as predicate.
-+// For src parameter, please see docs for parser.ParseFile.
-+func filter(src interface{}, keep filterFn) ([]byte, error) {
-+ // Parse the src into an ast
-+ fset := token.NewFileSet()
-+ f, err := parser.ParseFile(fset, "", src, parser.ParseComments)
-+ if err != nil {
-+ return nil, err
-+ }
-+ cmap := ast.NewCommentMap(fset, f, f.Comments)
-+
-+ // Group const/type specs on adjacent lines
-+ var groups specGroups = make(map[string]int)
-+ var groupID int
-+
-+ decls := f.Decls
-+ f.Decls = f.Decls[:0]
-+ for _, decl := range decls {
-+ switch decl := decl.(type) {
-+ case *ast.GenDecl:
-+ // Filter imports, consts, types, vars
-+ specs := decl.Specs
-+ decl.Specs = decl.Specs[:0]
-+ for i, spec := range specs {
-+ elem, err := newCodeElem(decl.Tok, spec)
-+ if err != nil {
-+ return nil, err
-+ }
-+
-+ // Create new group if there are empty lines between this and the previous spec
-+ if i > 0 && fset.Position(specs[i-1].End()).Line < fset.Position(spec.Pos()).Line-1 {
-+ groupID++
-+ }
-+
-+ // Check if we should keep this spec
-+ if keep(elem) {
-+ decl.Specs = append(decl.Specs, spec)
-+ groups.add(elem.src, groupID)
-+ }
-+ }
-+ // Check if we should keep this decl
-+ if len(decl.Specs) > 0 {
-+ f.Decls = append(f.Decls, decl)
-+ }
-+ case *ast.FuncDecl:
-+ // Filter funcs
-+ elem, err := newCodeElem(token.FUNC, decl)
-+ if err != nil {
-+ return nil, err
-+ }
-+ if keep(elem) {
-+ f.Decls = append(f.Decls, decl)
-+ }
-+ }
-+ }
-+
-+ // Filter file level comments
-+ if cmap[f] != nil {
-+ commentGroups := cmap[f]
-+ cmap[f] = cmap[f][:0]
-+ for _, cGrp := range commentGroups {
-+ if keep(codeElem{token.COMMENT, cGrp.Text()}) {
-+ cmap[f] = append(cmap[f], cGrp)
-+ }
-+ }
-+ }
-+ f.Comments = cmap.Filter(f).Comments()
-+
-+ // Generate code for the filtered ast
-+ var buf bytes.Buffer
-+ if err = format.Node(&buf, fset, f); err != nil {
-+ return nil, err
-+ }
-+
-+ groupedSrc, err := groups.filterEmptyLines(&buf)
-+ if err != nil {
-+ return nil, err
-+ }
-+
-+ return filterImports(groupedSrc)
-+}
-+
-+// getCommonSet returns the set of consts, types, and funcs that are present in every file.
-+func getCommonSet(files []srcFile) (*codeSet, error) {
-+ if len(files) == 0 {
-+ return nil, fmt.Errorf("no files provided")
-+ }
-+ // Use the first architecture file as the baseline
-+ baseSet, err := getCodeSet(files[0].src)
-+ if err != nil {
-+ return nil, err
-+ }
-+
-+ // Compare baseline set with other architecture files: discard any element,
-+ // that doesn't exist in other architecture files.
-+ for _, f := range files[1:] {
-+ set, err := getCodeSet(f.src)
-+ if err != nil {
-+ return nil, err
-+ }
-+
-+ baseSet = baseSet.intersection(set)
-+ }
-+ return baseSet, nil
-+}
-+
-+// getCodeSet returns the set of all top-level consts, types, and funcs from src.
-+// src must be string, []byte, or io.Reader (see go/parser.ParseFile docs)
-+func getCodeSet(src interface{}) (*codeSet, error) {
-+ set := newCodeSet()
-+
-+ fset := token.NewFileSet()
-+ f, err := parser.ParseFile(fset, "", src, parser.ParseComments)
-+ if err != nil {
-+ return nil, err
-+ }
-+
-+ for _, decl := range f.Decls {
-+ switch decl := decl.(type) {
-+ case *ast.GenDecl:
-+ // Add const, and type declarations
-+ if !(decl.Tok == token.CONST || decl.Tok == token.TYPE) {
-+ break
-+ }
-+
-+ for _, spec := range decl.Specs {
-+ elem, err := newCodeElem(decl.Tok, spec)
-+ if err != nil {
-+ return nil, err
-+ }
-+
-+ set.add(elem)
-+ }
-+ case *ast.FuncDecl:
-+ // Add func declarations
-+ elem, err := newCodeElem(token.FUNC, decl)
-+ if err != nil {
-+ return nil, err
-+ }
-+
-+ set.add(elem)
-+ }
-+ }
-+
-+ // Add file level comments
-+ cmap := ast.NewCommentMap(fset, f, f.Comments)
-+ for _, cGrp := range cmap[f] {
-+ set.add(codeElem{token.COMMENT, cGrp.Text()})
-+ }
-+
-+ return set, nil
-+}
-+
-+// importName returns the identifier (PackageName) for an imported package
-+func importName(iSpec *ast.ImportSpec) (string, error) {
-+ if iSpec.Name == nil {
-+ name, err := strconv.Unquote(iSpec.Path.Value)
-+ if err != nil {
-+ return "", err
-+ }
-+ return path.Base(name), nil
-+ }
-+ return iSpec.Name.Name, nil
-+}
-+
-+// specGroups tracks grouped const/type specs with a map of line: groupID pairs
-+type specGroups map[string]int
-+
-+// add spec source to group
-+func (s specGroups) add(src string, groupID int) error {
-+ srcBytes, err := format.Source(bytes.TrimSpace([]byte(src)))
-+ if err != nil {
-+ return err
-+ }
-+ s[string(srcBytes)] = groupID
-+ return nil
-+}
-+
-+// filterEmptyLines removes empty lines within groups of const/type specs.
-+// Returns the filtered source.
-+func (s specGroups) filterEmptyLines(src io.Reader) ([]byte, error) {
-+ scanner := bufio.NewScanner(src)
-+ var out bytes.Buffer
-+
-+ var emptyLines bytes.Buffer
-+ prevGroupID := -1 // Initialize to invalid group
-+ for scanner.Scan() {
-+ line := bytes.TrimSpace(scanner.Bytes())
-+
-+ if len(line) == 0 {
-+ fmt.Fprintf(&emptyLines, "%s\n", scanner.Bytes())
-+ continue
-+ }
-+
-+ // Discard emptyLines if previous non-empty line belonged to the same
-+ // group as this line
-+ if src, err := format.Source(line); err == nil {
-+ groupID, ok := s[string(src)]
-+ if ok && groupID == prevGroupID {
-+ emptyLines.Reset()
-+ }
-+ prevGroupID = groupID
-+ }
-+
-+ emptyLines.WriteTo(&out)
-+ fmt.Fprintf(&out, "%s\n", scanner.Bytes())
-+ }
-+ if err := scanner.Err(); err != nil {
-+ return nil, err
-+ }
-+ return out.Bytes(), nil
-+}
-+
-+// filterImports removes unused imports from fileSrc, and returns a formatted src.
-+func filterImports(fileSrc []byte) ([]byte, error) {
-+ fset := token.NewFileSet()
-+ file, err := parser.ParseFile(fset, "", fileSrc, parser.ParseComments)
-+ if err != nil {
-+ return nil, err
-+ }
-+ cmap := ast.NewCommentMap(fset, file, file.Comments)
-+
-+ // create set of references to imported identifiers
-+ keepImport := make(map[string]bool)
-+ for _, u := range file.Unresolved {
-+ keepImport[u.Name] = true
-+ }
-+
-+ // filter import declarations
-+ decls := file.Decls
-+ file.Decls = file.Decls[:0]
-+ for _, decl := range decls {
-+ importDecl, ok := decl.(*ast.GenDecl)
-+
-+ // Keep non-import declarations
-+ if !ok || importDecl.Tok != token.IMPORT {
-+ file.Decls = append(file.Decls, decl)
-+ continue
-+ }
-+
-+ // Filter the import specs
-+ specs := importDecl.Specs
-+ importDecl.Specs = importDecl.Specs[:0]
-+ for _, spec := range specs {
-+ iSpec := spec.(*ast.ImportSpec)
-+ name, err := importName(iSpec)
-+ if err != nil {
-+ return nil, err
-+ }
-+
-+ if keepImport[name] {
-+ importDecl.Specs = append(importDecl.Specs, iSpec)
-+ }
-+ }
-+ if len(importDecl.Specs) > 0 {
-+ file.Decls = append(file.Decls, importDecl)
-+ }
-+ }
-+
-+ // filter file.Imports
-+ imports := file.Imports
-+ file.Imports = file.Imports[:0]
-+ for _, spec := range imports {
-+ name, err := importName(spec)
-+ if err != nil {
-+ return nil, err
-+ }
-+
-+ if keepImport[name] {
-+ file.Imports = append(file.Imports, spec)
-+ }
-+ }
-+ file.Comments = cmap.Filter(file).Comments()
-+
-+ var buf bytes.Buffer
-+ err = format.Node(&buf, fset, file)
-+ if err != nil {
-+ return nil, err
-+ }
-+
-+ return buf.Bytes(), nil
-+}
-+
-+// merge extracts duplicate code from archFiles and merges it to mergeFile.
-+// 1. Construct commonSet: the set of code that is idential in all archFiles.
-+// 2. Write the code in commonSet to mergedFile.
-+// 3. Remove the commonSet code from all archFiles.
-+func merge(mergedFile string, archFiles ...string) error {
-+ // extract and validate the GOOS part of the merged filename
-+ goos, ok := getValidGOOS(mergedFile)
-+ if !ok {
-+ return fmt.Errorf("invalid GOOS in merged file name %s", mergedFile)
-+ }
-+
-+ // Read architecture files
-+ var inSrc []srcFile
-+ for _, file := range archFiles {
-+ src, err := ioutil.ReadFile(file)
-+ if err != nil {
-+ return fmt.Errorf("cannot read archfile %s: %w", file, err)
-+ }
-+
-+ inSrc = append(inSrc, srcFile{file, src})
-+ }
-+
-+ // 1. Construct the set of top-level declarations common for all files
-+ commonSet, err := getCommonSet(inSrc)
-+ if err != nil {
-+ return err
-+ }
-+ if commonSet.isEmpty() {
-+ // No common code => do not modify any files
-+ return nil
-+ }
-+
-+ // 2. Write the merged file
-+ mergedSrc, err := filter(inSrc[0].src, commonSet.keepCommon)
-+ if err != nil {
-+ return err
-+ }
-+
-+ f, err := os.Create(mergedFile)
-+ if err != nil {
-+ return err
-+ }
-+
-+ buf := bufio.NewWriter(f)
-+ fmt.Fprintln(buf, "// Code generated by mkmerge.go; DO NOT EDIT.")
-+ fmt.Fprintln(buf)
-+ fmt.Fprintf(buf, "// +build %s\n", goos)
-+ fmt.Fprintln(buf)
-+ buf.Write(mergedSrc)
-+
-+ err = buf.Flush()
-+ if err != nil {
-+ return err
-+ }
-+ err = f.Close()
-+ if err != nil {
-+ return err
-+ }
-+
-+ // 3. Remove duplicate declarations from the architecture files
-+ for _, inFile := range inSrc {
-+ src, err := filter(inFile.src, commonSet.keepArchSpecific)
-+ if err != nil {
-+ return err
-+ }
-+ err = ioutil.WriteFile(inFile.name, src, 0644)
-+ if err != nil {
-+ return err
-+ }
-+ }
-+ return nil
-+}
-+
-+func main() {
-+ var mergedFile string
-+ flag.StringVar(&mergedFile, "out", "", "Write merged code to `FILE`")
-+ flag.Parse()
-+
-+ // Expand wildcards
-+ var filenames []string
-+ for _, arg := range flag.Args() {
-+ matches, err := filepath.Glob(arg)
-+ if err != nil {
-+ fmt.Fprintf(os.Stderr, "Invalid command line argument %q: %v\n", arg, err)
-+ os.Exit(1)
-+ }
-+ filenames = append(filenames, matches...)
-+ }
-+
-+ if len(filenames) < 2 {
-+ // No need to merge
-+ return
-+ }
-+
-+ err := merge(mergedFile, filenames...)
-+ if err != nil {
-+ fmt.Fprintf(os.Stderr, "Merge failed with error: %v\n", err)
-+ os.Exit(1)
-+ }
-+}
-diff --git a/vendor/golang.org/x/sys/unix/mkpost.go b/vendor/golang.org/x/sys/unix/mkpost.go
-index d3ff659b..5ee1a16b 100644
---- a/vendor/golang.org/x/sys/unix/mkpost.go
-+++ b/vendor/golang.org/x/sys/unix/mkpost.go
-@@ -28,10 +28,10 @@ func main() {
- if goarch == "" {
- goarch = os.Getenv("GOARCH")
- }
-- // Check that we are using the new build system if we should be.
-- if goos == "linux" && goarch != "sparc64" {
-+ // Check that we are using the Docker-based build system if we should be.
-+ if goos == "linux" {
- if os.Getenv("GOLANG_SYS_BUILD") != "docker" {
-- os.Stderr.WriteString("In the new build system, mkpost should not be called directly.\n")
-+ os.Stderr.WriteString("In the Docker-based build system, mkpost should not be called directly.\n")
- os.Stderr.WriteString("See README.md\n")
- os.Exit(1)
- }
-@@ -42,6 +42,21 @@ func main() {
- log.Fatal(err)
- }
-
-+ if goos == "aix" {
-+ // Replace type of Atim, Mtim and Ctim by Timespec in Stat_t
-+ // to avoid having both StTimespec and Timespec.
-+ sttimespec := regexp.MustCompile(`_Ctype_struct_st_timespec`)
-+ b = sttimespec.ReplaceAll(b, []byte("Timespec"))
-+ }
-+
-+ // Intentionally export __val fields in Fsid and Sigset_t
-+ valRegex := regexp.MustCompile(`type (Fsid|Sigset_t) struct {(\s+)X__(bits|val)(\s+\S+\s+)}`)
-+ b = valRegex.ReplaceAll(b, []byte("type $1 struct {${2}Val$4}"))
-+
-+ // Intentionally export __fds_bits field in FdSet
-+ fdSetRegex := regexp.MustCompile(`type (FdSet) struct {(\s+)X__fds_bits(\s+\S+\s+)}`)
-+ b = fdSetRegex.ReplaceAll(b, []byte("type $1 struct {${2}Bits$3}"))
-+
- // If we have empty Ptrace structs, we should delete them. Only s390x emits
- // nonempty Ptrace structs.
- ptraceRexexp := regexp.MustCompile(`type Ptrace((Psw|Fpregs|Per) struct {\s*})`)
-@@ -56,16 +71,31 @@ func main() {
- removeFieldsRegex := regexp.MustCompile(`X__glibc\S*`)
- b = removeFieldsRegex.ReplaceAll(b, []byte("_"))
-
-- // We refuse to export private fields on s390x
-- if goarch == "s390x" && goos == "linux" {
-- // Remove cgo padding fields
-- removeFieldsRegex := regexp.MustCompile(`Pad_cgo_\d+`)
-- b = removeFieldsRegex.ReplaceAll(b, []byte("_"))
-+ // Convert [65]int8 to [65]byte in Utsname members to simplify
-+ // conversion to string; see golang.org/issue/20753
-+ convertUtsnameRegex := regexp.MustCompile(`((Sys|Node|Domain)name|Release|Version|Machine)(\s+)\[(\d+)\]u?int8`)
-+ b = convertUtsnameRegex.ReplaceAll(b, []byte("$1$3[$4]byte"))
-
-- // Remove padding, hidden, or unused fields
-- removeFieldsRegex = regexp.MustCompile(`X_\S+`)
-- b = removeFieldsRegex.ReplaceAll(b, []byte("_"))
-- }
-+ // Convert [n]int8 to [n]byte in Statvfs_t members to simplify
-+ // conversion to string.
-+ convertStatvfsRegex := regexp.MustCompile(`((Fstype|Mnton|Mntfrom)name)(\s+)\[(\d+)\]int8`)
-+ b = convertStatvfsRegex.ReplaceAll(b, []byte("$1$3[$4]byte"))
-+
-+ // Convert [1024]int8 to [1024]byte in Ptmget members
-+ convertPtmget := regexp.MustCompile(`([SC]n)(\s+)\[(\d+)\]u?int8`)
-+ b = convertPtmget.ReplaceAll(b, []byte("$1[$3]byte"))
-+
-+ // Remove spare fields (e.g. in Statx_t)
-+ spareFieldsRegex := regexp.MustCompile(`X__spare\S*`)
-+ b = spareFieldsRegex.ReplaceAll(b, []byte("_"))
-+
-+ // Remove cgo padding fields
-+ removePaddingFieldsRegex := regexp.MustCompile(`Pad_cgo_\d+`)
-+ b = removePaddingFieldsRegex.ReplaceAll(b, []byte("_"))
-+
-+ // Remove padding, hidden, or unused fields
-+ removeFieldsRegex = regexp.MustCompile(`\b(X_\S+|Padding)`)
-+ b = removeFieldsRegex.ReplaceAll(b, []byte("_"))
-
- // Remove the first line of warning from cgo
- b = b[bytes.IndexByte(b, '\n')+1:]
-@@ -78,6 +108,15 @@ func main() {
- cgoCommandRegex := regexp.MustCompile(`(cgo -godefs .*)`)
- b = cgoCommandRegex.ReplaceAll(b, []byte(replacement))
-
-+ // Rename Stat_t time fields
-+ if goos == "freebsd" && goarch == "386" {
-+ // Hide Stat_t.[AMCB]tim_ext fields
-+ renameStatTimeExtFieldsRegex := regexp.MustCompile(`[AMCB]tim_ext`)
-+ b = renameStatTimeExtFieldsRegex.ReplaceAll(b, []byte("_"))
-+ }
-+ renameStatTimeFieldsRegex := regexp.MustCompile(`([AMCB])(?:irth)?time?(?:spec)?\s+(Timespec|StTimespec)`)
-+ b = renameStatTimeFieldsRegex.ReplaceAll(b, []byte("${1}tim ${2}"))
-+
- // gofmt
- b, err = format.Source(b)
- if err != nil {
-diff --git a/vendor/golang.org/x/sys/unix/mksyscall.go b/vendor/golang.org/x/sys/unix/mksyscall.go
-new file mode 100644
-index 00000000..9e540cc8
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/mksyscall.go
-@@ -0,0 +1,402 @@
-+// Copyright 2018 The Go Authors. All rights reserved.
-+// Use of this source code is governed by a BSD-style
-+// license that can be found in the LICENSE file.
-+
-+// +build ignore
-+
-+/*
-+This program reads a file containing function prototypes
-+(like syscall_darwin.go) and generates system call bodies.
-+The prototypes are marked by lines beginning with "//sys"
-+and read like func declarations if //sys is replaced by func, but:
-+ * The parameter lists must give a name for each argument.
-+ This includes return parameters.
-+ * The parameter lists must give a type for each argument:
-+ the (x, y, z int) shorthand is not allowed.
-+ * If the return parameter is an error number, it must be named errno.
-+
-+A line beginning with //sysnb is like //sys, except that the
-+goroutine will not be suspended during the execution of the system
-+call. This must only be used for system calls which can never
-+block, as otherwise the system call could cause all goroutines to
-+hang.
-+*/
-+package main
-+
-+import (
-+ "bufio"
-+ "flag"
-+ "fmt"
-+ "os"
-+ "regexp"
-+ "strings"
-+)
-+
-+var (
-+ b32 = flag.Bool("b32", false, "32bit big-endian")
-+ l32 = flag.Bool("l32", false, "32bit little-endian")
-+ plan9 = flag.Bool("plan9", false, "plan9")
-+ openbsd = flag.Bool("openbsd", false, "openbsd")
-+ netbsd = flag.Bool("netbsd", false, "netbsd")
-+ dragonfly = flag.Bool("dragonfly", false, "dragonfly")
-+ arm = flag.Bool("arm", false, "arm") // 64-bit value should use (even, odd)-pair
-+ tags = flag.String("tags", "", "build tags")
-+ filename = flag.String("output", "", "output file name (standard output if omitted)")
-+)
-+
-+// cmdLine returns this programs's commandline arguments
-+func cmdLine() string {
-+ return "go run mksyscall.go " + strings.Join(os.Args[1:], " ")
-+}
-+
-+// buildTags returns build tags
-+func buildTags() string {
-+ return *tags
-+}
-+
-+// Param is function parameter
-+type Param struct {
-+ Name string
-+ Type string
-+}
-+
-+// usage prints the program usage
-+func usage() {
-+ fmt.Fprintf(os.Stderr, "usage: go run mksyscall.go [-b32 | -l32] [-tags x,y] [file ...]\n")
-+ os.Exit(1)
-+}
-+
-+// parseParamList parses parameter list and returns a slice of parameters
-+func parseParamList(list string) []string {
-+ list = strings.TrimSpace(list)
-+ if list == "" {
-+ return []string{}
-+ }
-+ return regexp.MustCompile(`\s*,\s*`).Split(list, -1)
-+}
-+
-+// parseParam splits a parameter into name and type
-+func parseParam(p string) Param {
-+ ps := regexp.MustCompile(`^(\S*) (\S*)$`).FindStringSubmatch(p)
-+ if ps == nil {
-+ fmt.Fprintf(os.Stderr, "malformed parameter: %s\n", p)
-+ os.Exit(1)
-+ }
-+ return Param{ps[1], ps[2]}
-+}
-+
-+func main() {
-+ // Get the OS and architecture (using GOARCH_TARGET if it exists)
-+ goos := os.Getenv("GOOS")
-+ if goos == "" {
-+ fmt.Fprintln(os.Stderr, "GOOS not defined in environment")
-+ os.Exit(1)
-+ }
-+ goarch := os.Getenv("GOARCH_TARGET")
-+ if goarch == "" {
-+ goarch = os.Getenv("GOARCH")
-+ }
-+
-+ // Check that we are using the Docker-based build system if we should
-+ if goos == "linux" {
-+ if os.Getenv("GOLANG_SYS_BUILD") != "docker" {
-+ fmt.Fprintf(os.Stderr, "In the Docker-based build system, mksyscall should not be called directly.\n")
-+ fmt.Fprintf(os.Stderr, "See README.md\n")
-+ os.Exit(1)
-+ }
-+ }
-+
-+ flag.Usage = usage
-+ flag.Parse()
-+ if len(flag.Args()) <= 0 {
-+ fmt.Fprintf(os.Stderr, "no files to parse provided\n")
-+ usage()
-+ }
-+
-+ endianness := ""
-+ if *b32 {
-+ endianness = "big-endian"
-+ } else if *l32 {
-+ endianness = "little-endian"
-+ }
-+
-+ libc := false
-+ if goos == "darwin" && (strings.Contains(buildTags(), ",go1.12") || strings.Contains(buildTags(), ",go1.13")) {
-+ libc = true
-+ }
-+ trampolines := map[string]bool{}
-+
-+ text := ""
-+ for _, path := range flag.Args() {
-+ file, err := os.Open(path)
-+ if err != nil {
-+ fmt.Fprintf(os.Stderr, err.Error())
-+ os.Exit(1)
-+ }
-+ s := bufio.NewScanner(file)
-+ for s.Scan() {
-+ t := s.Text()
-+ t = strings.TrimSpace(t)
-+ t = regexp.MustCompile(`\s+`).ReplaceAllString(t, ` `)
-+ nonblock := regexp.MustCompile(`^\/\/sysnb `).FindStringSubmatch(t)
-+ if regexp.MustCompile(`^\/\/sys `).FindStringSubmatch(t) == nil && nonblock == nil {
-+ continue
-+ }
-+
-+ // Line must be of the form
-+ // func Open(path string, mode int, perm int) (fd int, errno error)
-+ // Split into name, in params, out params.
-+ f := regexp.MustCompile(`^\/\/sys(nb)? (\w+)\(([^()]*)\)\s*(?:\(([^()]+)\))?\s*(?:=\s*((?i)SYS_[A-Z0-9_]+))?$`).FindStringSubmatch(t)
-+ if f == nil {
-+ fmt.Fprintf(os.Stderr, "%s:%s\nmalformed //sys declaration\n", path, t)
-+ os.Exit(1)
-+ }
-+ funct, inps, outps, sysname := f[2], f[3], f[4], f[5]
-+
-+ // ClockGettime doesn't have a syscall number on Darwin, only generate libc wrappers.
-+ if goos == "darwin" && !libc && funct == "ClockGettime" {
-+ continue
-+ }
-+
-+ // Split argument lists on comma.
-+ in := parseParamList(inps)
-+ out := parseParamList(outps)
-+
-+ // Try in vain to keep people from editing this file.
-+ // The theory is that they jump into the middle of the file
-+ // without reading the header.
-+ text += "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT\n\n"
-+
-+ // Go function header.
-+ outDecl := ""
-+ if len(out) > 0 {
-+ outDecl = fmt.Sprintf(" (%s)", strings.Join(out, ", "))
-+ }
-+ text += fmt.Sprintf("func %s(%s)%s {\n", funct, strings.Join(in, ", "), outDecl)
-+
-+ // Check if err return available
-+ errvar := ""
-+ for _, param := range out {
-+ p := parseParam(param)
-+ if p.Type == "error" {
-+ errvar = p.Name
-+ break
-+ }
-+ }
-+
-+ // Prepare arguments to Syscall.
-+ var args []string
-+ n := 0
-+ for _, param := range in {
-+ p := parseParam(param)
-+ if regexp.MustCompile(`^\*`).FindStringSubmatch(p.Type) != nil {
-+ args = append(args, "uintptr(unsafe.Pointer("+p.Name+"))")
-+ } else if p.Type == "string" && errvar != "" {
-+ text += fmt.Sprintf("\tvar _p%d *byte\n", n)
-+ text += fmt.Sprintf("\t_p%d, %s = BytePtrFromString(%s)\n", n, errvar, p.Name)
-+ text += fmt.Sprintf("\tif %s != nil {\n\t\treturn\n\t}\n", errvar)
-+ args = append(args, fmt.Sprintf("uintptr(unsafe.Pointer(_p%d))", n))
-+ n++
-+ } else if p.Type == "string" {
-+ fmt.Fprintf(os.Stderr, path+":"+funct+" uses string arguments, but has no error return\n")
-+ text += fmt.Sprintf("\tvar _p%d *byte\n", n)
-+ text += fmt.Sprintf("\t_p%d, _ = BytePtrFromString(%s)\n", n, p.Name)
-+ args = append(args, fmt.Sprintf("uintptr(unsafe.Pointer(_p%d))", n))
-+ n++
-+ } else if regexp.MustCompile(`^\[\](.*)`).FindStringSubmatch(p.Type) != nil {
-+ // Convert slice into pointer, length.
-+ // Have to be careful not to take address of &a[0] if len == 0:
-+ // pass dummy pointer in that case.
-+ // Used to pass nil, but some OSes or simulators reject write(fd, nil, 0).
-+ text += fmt.Sprintf("\tvar _p%d unsafe.Pointer\n", n)
-+ text += fmt.Sprintf("\tif len(%s) > 0 {\n\t\t_p%d = unsafe.Pointer(&%s[0])\n\t}", p.Name, n, p.Name)
-+ text += fmt.Sprintf(" else {\n\t\t_p%d = unsafe.Pointer(&_zero)\n\t}\n", n)
-+ args = append(args, fmt.Sprintf("uintptr(_p%d)", n), fmt.Sprintf("uintptr(len(%s))", p.Name))
-+ n++
-+ } else if p.Type == "int64" && (*openbsd || *netbsd) {
-+ args = append(args, "0")
-+ if endianness == "big-endian" {
-+ args = append(args, fmt.Sprintf("uintptr(%s>>32)", p.Name), fmt.Sprintf("uintptr(%s)", p.Name))
-+ } else if endianness == "little-endian" {
-+ args = append(args, fmt.Sprintf("uintptr(%s)", p.Name), fmt.Sprintf("uintptr(%s>>32)", p.Name))
-+ } else {
-+ args = append(args, fmt.Sprintf("uintptr(%s)", p.Name))
-+ }
-+ } else if p.Type == "int64" && *dragonfly {
-+ if regexp.MustCompile(`^(?i)extp(read|write)`).FindStringSubmatch(funct) == nil {
-+ args = append(args, "0")
-+ }
-+ if endianness == "big-endian" {
-+ args = append(args, fmt.Sprintf("uintptr(%s>>32)", p.Name), fmt.Sprintf("uintptr(%s)", p.Name))
-+ } else if endianness == "little-endian" {
-+ args = append(args, fmt.Sprintf("uintptr(%s)", p.Name), fmt.Sprintf("uintptr(%s>>32)", p.Name))
-+ } else {
-+ args = append(args, fmt.Sprintf("uintptr(%s)", p.Name))
-+ }
-+ } else if (p.Type == "int64" || p.Type == "uint64") && endianness != "" {
-+ if len(args)%2 == 1 && *arm {
-+ // arm abi specifies 64-bit argument uses
-+ // (even, odd) pair
-+ args = append(args, "0")
-+ }
-+ if endianness == "big-endian" {
-+ args = append(args, fmt.Sprintf("uintptr(%s>>32)", p.Name), fmt.Sprintf("uintptr(%s)", p.Name))
-+ } else {
-+ args = append(args, fmt.Sprintf("uintptr(%s)", p.Name), fmt.Sprintf("uintptr(%s>>32)", p.Name))
-+ }
-+ } else {
-+ args = append(args, fmt.Sprintf("uintptr(%s)", p.Name))
-+ }
-+ }
-+
-+ // Determine which form to use; pad args with zeros.
-+ asm := "Syscall"
-+ if nonblock != nil {
-+ if errvar == "" && goos == "linux" {
-+ asm = "RawSyscallNoError"
-+ } else {
-+ asm = "RawSyscall"
-+ }
-+ } else {
-+ if errvar == "" && goos == "linux" {
-+ asm = "SyscallNoError"
-+ }
-+ }
-+ if len(args) <= 3 {
-+ for len(args) < 3 {
-+ args = append(args, "0")
-+ }
-+ } else if len(args) <= 6 {
-+ asm += "6"
-+ for len(args) < 6 {
-+ args = append(args, "0")
-+ }
-+ } else if len(args) <= 9 {
-+ asm += "9"
-+ for len(args) < 9 {
-+ args = append(args, "0")
-+ }
-+ } else {
-+ fmt.Fprintf(os.Stderr, "%s:%s too many arguments to system call\n", path, funct)
-+ }
-+
-+ // System call number.
-+ if sysname == "" {
-+ sysname = "SYS_" + funct
-+ sysname = regexp.MustCompile(`([a-z])([A-Z])`).ReplaceAllString(sysname, `${1}_$2`)
-+ sysname = strings.ToUpper(sysname)
-+ }
-+
-+ var libcFn string
-+ if libc {
-+ asm = "syscall_" + strings.ToLower(asm[:1]) + asm[1:] // internal syscall call
-+ sysname = strings.TrimPrefix(sysname, "SYS_") // remove SYS_
-+ sysname = strings.ToLower(sysname) // lowercase
-+ libcFn = sysname
-+ sysname = "funcPC(libc_" + sysname + "_trampoline)"
-+ }
-+
-+ // Actual call.
-+ arglist := strings.Join(args, ", ")
-+ call := fmt.Sprintf("%s(%s, %s)", asm, sysname, arglist)
-+
-+ // Assign return values.
-+ body := ""
-+ ret := []string{"_", "_", "_"}
-+ doErrno := false
-+ for i := 0; i < len(out); i++ {
-+ p := parseParam(out[i])
-+ reg := ""
-+ if p.Name == "err" && !*plan9 {
-+ reg = "e1"
-+ ret[2] = reg
-+ doErrno = true
-+ } else if p.Name == "err" && *plan9 {
-+ ret[0] = "r0"
-+ ret[2] = "e1"
-+ break
-+ } else {
-+ reg = fmt.Sprintf("r%d", i)
-+ ret[i] = reg
-+ }
-+ if p.Type == "bool" {
-+ reg = fmt.Sprintf("%s != 0", reg)
-+ }
-+ if p.Type == "int64" && endianness != "" {
-+ // 64-bit number in r1:r0 or r0:r1.
-+ if i+2 > len(out) {
-+ fmt.Fprintf(os.Stderr, "%s:%s not enough registers for int64 return\n", path, funct)
-+ }
-+ if endianness == "big-endian" {
-+ reg = fmt.Sprintf("int64(r%d)<<32 | int64(r%d)", i, i+1)
-+ } else {
-+ reg = fmt.Sprintf("int64(r%d)<<32 | int64(r%d)", i+1, i)
-+ }
-+ ret[i] = fmt.Sprintf("r%d", i)
-+ ret[i+1] = fmt.Sprintf("r%d", i+1)
-+ }
-+ if reg != "e1" || *plan9 {
-+ body += fmt.Sprintf("\t%s = %s(%s)\n", p.Name, p.Type, reg)
-+ }
-+ }
-+ if ret[0] == "_" && ret[1] == "_" && ret[2] == "_" {
-+ text += fmt.Sprintf("\t%s\n", call)
-+ } else {
-+ if errvar == "" && goos == "linux" {
-+ // raw syscall without error on Linux, see golang.org/issue/22924
-+ text += fmt.Sprintf("\t%s, %s := %s\n", ret[0], ret[1], call)
-+ } else {
-+ text += fmt.Sprintf("\t%s, %s, %s := %s\n", ret[0], ret[1], ret[2], call)
-+ }
-+ }
-+ text += body
-+
-+ if *plan9 && ret[2] == "e1" {
-+ text += "\tif int32(r0) == -1 {\n"
-+ text += "\t\terr = e1\n"
-+ text += "\t}\n"
-+ } else if doErrno {
-+ text += "\tif e1 != 0 {\n"
-+ text += "\t\terr = errnoErr(e1)\n"
-+ text += "\t}\n"
-+ }
-+ text += "\treturn\n"
-+ text += "}\n\n"
-+
-+ if libc && !trampolines[libcFn] {
-+ // some system calls share a trampoline, like read and readlen.
-+ trampolines[libcFn] = true
-+ // Declare assembly trampoline.
-+ text += fmt.Sprintf("func libc_%s_trampoline()\n", libcFn)
-+ // Assembly trampoline calls the libc_* function, which this magic
-+ // redirects to use the function from libSystem.
-+ text += fmt.Sprintf("//go:linkname libc_%s libc_%s\n", libcFn, libcFn)
-+ text += fmt.Sprintf("//go:cgo_import_dynamic libc_%s %s \"/usr/lib/libSystem.B.dylib\"\n", libcFn, libcFn)
-+ text += "\n"
-+ }
-+ }
-+ if err := s.Err(); err != nil {
-+ fmt.Fprintf(os.Stderr, err.Error())
-+ os.Exit(1)
-+ }
-+ file.Close()
-+ }
-+ fmt.Printf(srcTemplate, cmdLine(), buildTags(), text)
-+}
-+
-+const srcTemplate = `// %s
-+// Code generated by the command above; see README.md. DO NOT EDIT.
-+
-+// +build %s
-+
-+package unix
-+
-+import (
-+ "syscall"
-+ "unsafe"
-+)
-+
-+var _ syscall.Errno
-+
-+%s
-+`
-diff --git a/vendor/golang.org/x/sys/unix/mksyscall_aix_ppc.go b/vendor/golang.org/x/sys/unix/mksyscall_aix_ppc.go
-new file mode 100644
-index 00000000..3be3cdfc
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/mksyscall_aix_ppc.go
-@@ -0,0 +1,415 @@
-+// 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.
-+
-+// +build ignore
-+
-+/*
-+This program reads a file containing function prototypes
-+(like syscall_aix.go) and generates system call bodies.
-+The prototypes are marked by lines beginning with "//sys"
-+and read like func declarations if //sys is replaced by func, but:
-+ * The parameter lists must give a name for each argument.
-+ This includes return parameters.
-+ * The parameter lists must give a type for each argument:
-+ the (x, y, z int) shorthand is not allowed.
-+ * If the return parameter is an error number, it must be named err.
-+ * If go func name needs to be different than its libc name,
-+ * or the function is not in libc, name could be specified
-+ * at the end, after "=" sign, like
-+ //sys getsockopt(s int, level int, name int, val uintptr, vallen *_Socklen) (err error) = libsocket.getsockopt
-+*/
-+package main
-+
-+import (
-+ "bufio"
-+ "flag"
-+ "fmt"
-+ "os"
-+ "regexp"
-+ "strings"
-+)
-+
-+var (
-+ b32 = flag.Bool("b32", false, "32bit big-endian")
-+ l32 = flag.Bool("l32", false, "32bit little-endian")
-+ aix = flag.Bool("aix", false, "aix")
-+ tags = flag.String("tags", "", "build tags")
-+)
-+
-+// cmdLine returns this programs's commandline arguments
-+func cmdLine() string {
-+ return "go run mksyscall_aix_ppc.go " + strings.Join(os.Args[1:], " ")
-+}
-+
-+// buildTags returns build tags
-+func buildTags() string {
-+ return *tags
-+}
-+
-+// Param is function parameter
-+type Param struct {
-+ Name string
-+ Type string
-+}
-+
-+// usage prints the program usage
-+func usage() {
-+ fmt.Fprintf(os.Stderr, "usage: go run mksyscall_aix_ppc.go [-b32 | -l32] [-tags x,y] [file ...]\n")
-+ os.Exit(1)
-+}
-+
-+// parseParamList parses parameter list and returns a slice of parameters
-+func parseParamList(list string) []string {
-+ list = strings.TrimSpace(list)
-+ if list == "" {
-+ return []string{}
-+ }
-+ return regexp.MustCompile(`\s*,\s*`).Split(list, -1)
-+}
-+
-+// parseParam splits a parameter into name and type
-+func parseParam(p string) Param {
-+ ps := regexp.MustCompile(`^(\S*) (\S*)$`).FindStringSubmatch(p)
-+ if ps == nil {
-+ fmt.Fprintf(os.Stderr, "malformed parameter: %s\n", p)
-+ os.Exit(1)
-+ }
-+ return Param{ps[1], ps[2]}
-+}
-+
-+func main() {
-+ flag.Usage = usage
-+ flag.Parse()
-+ if len(flag.Args()) <= 0 {
-+ fmt.Fprintf(os.Stderr, "no files to parse provided\n")
-+ usage()
-+ }
-+
-+ endianness := ""
-+ if *b32 {
-+ endianness = "big-endian"
-+ } else if *l32 {
-+ endianness = "little-endian"
-+ }
-+
-+ pack := ""
-+ text := ""
-+ cExtern := "/*\n#include <stdint.h>\n#include <stddef.h>\n"
-+ for _, path := range flag.Args() {
-+ file, err := os.Open(path)
-+ if err != nil {
-+ fmt.Fprintf(os.Stderr, err.Error())
-+ os.Exit(1)
-+ }
-+ s := bufio.NewScanner(file)
-+ for s.Scan() {
-+ t := s.Text()
-+ t = strings.TrimSpace(t)
-+ t = regexp.MustCompile(`\s+`).ReplaceAllString(t, ` `)
-+ if p := regexp.MustCompile(`^package (\S+)$`).FindStringSubmatch(t); p != nil && pack == "" {
-+ pack = p[1]
-+ }
-+ nonblock := regexp.MustCompile(`^\/\/sysnb `).FindStringSubmatch(t)
-+ if regexp.MustCompile(`^\/\/sys `).FindStringSubmatch(t) == nil && nonblock == nil {
-+ continue
-+ }
-+
-+ // Line must be of the form
-+ // func Open(path string, mode int, perm int) (fd int, err error)
-+ // Split into name, in params, out params.
-+ f := regexp.MustCompile(`^\/\/sys(nb)? (\w+)\(([^()]*)\)\s*(?:\(([^()]+)\))?\s*(?:=\s*(?:(\w*)\.)?(\w*))?$`).FindStringSubmatch(t)
-+ if f == nil {
-+ fmt.Fprintf(os.Stderr, "%s:%s\nmalformed //sys declaration\n", path, t)
-+ os.Exit(1)
-+ }
-+ funct, inps, outps, modname, sysname := f[2], f[3], f[4], f[5], f[6]
-+
-+ // Split argument lists on comma.
-+ in := parseParamList(inps)
-+ out := parseParamList(outps)
-+
-+ inps = strings.Join(in, ", ")
-+ outps = strings.Join(out, ", ")
-+
-+ // Try in vain to keep people from editing this file.
-+ // The theory is that they jump into the middle of the file
-+ // without reading the header.
-+ text += "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT\n\n"
-+
-+ // Check if value return, err return available
-+ errvar := ""
-+ retvar := ""
-+ rettype := ""
-+ for _, param := range out {
-+ p := parseParam(param)
-+ if p.Type == "error" {
-+ errvar = p.Name
-+ } else {
-+ retvar = p.Name
-+ rettype = p.Type
-+ }
-+ }
-+
-+ // System call name.
-+ if sysname == "" {
-+ sysname = funct
-+ }
-+ sysname = regexp.MustCompile(`([a-z])([A-Z])`).ReplaceAllString(sysname, `${1}_$2`)
-+ sysname = strings.ToLower(sysname) // All libc functions are lowercase.
-+
-+ cRettype := ""
-+ if rettype == "unsafe.Pointer" {
-+ cRettype = "uintptr_t"
-+ } else if rettype == "uintptr" {
-+ cRettype = "uintptr_t"
-+ } else if regexp.MustCompile(`^_`).FindStringSubmatch(rettype) != nil {
-+ cRettype = "uintptr_t"
-+ } else if rettype == "int" {
-+ cRettype = "int"
-+ } else if rettype == "int32" {
-+ cRettype = "int"
-+ } else if rettype == "int64" {
-+ cRettype = "long long"
-+ } else if rettype == "uint32" {
-+ cRettype = "unsigned int"
-+ } else if rettype == "uint64" {
-+ cRettype = "unsigned long long"
-+ } else {
-+ cRettype = "int"
-+ }
-+ if sysname == "exit" {
-+ cRettype = "void"
-+ }
-+
-+ // Change p.Types to c
-+ var cIn []string
-+ for _, param := range in {
-+ p := parseParam(param)
-+ if regexp.MustCompile(`^\*`).FindStringSubmatch(p.Type) != nil {
-+ cIn = append(cIn, "uintptr_t")
-+ } else if p.Type == "string" {
-+ cIn = append(cIn, "uintptr_t")
-+ } else if regexp.MustCompile(`^\[\](.*)`).FindStringSubmatch(p.Type) != nil {
-+ cIn = append(cIn, "uintptr_t", "size_t")
-+ } else if p.Type == "unsafe.Pointer" {
-+ cIn = append(cIn, "uintptr_t")
-+ } else if p.Type == "uintptr" {
-+ cIn = append(cIn, "uintptr_t")
-+ } else if regexp.MustCompile(`^_`).FindStringSubmatch(p.Type) != nil {
-+ cIn = append(cIn, "uintptr_t")
-+ } else if p.Type == "int" {
-+ cIn = append(cIn, "int")
-+ } else if p.Type == "int32" {
-+ cIn = append(cIn, "int")
-+ } else if p.Type == "int64" {
-+ cIn = append(cIn, "long long")
-+ } else if p.Type == "uint32" {
-+ cIn = append(cIn, "unsigned int")
-+ } else if p.Type == "uint64" {
-+ cIn = append(cIn, "unsigned long long")
-+ } else {
-+ cIn = append(cIn, "int")
-+ }
-+ }
-+
-+ if funct != "fcntl" && funct != "FcntlInt" && funct != "readlen" && funct != "writelen" {
-+ if sysname == "select" {
-+ // select is a keyword of Go. Its name is
-+ // changed to c_select.
-+ cExtern += "#define c_select select\n"
-+ }
-+ // Imports of system calls from libc
-+ cExtern += fmt.Sprintf("%s %s", cRettype, sysname)
-+ cIn := strings.Join(cIn, ", ")
-+ cExtern += fmt.Sprintf("(%s);\n", cIn)
-+ }
-+
-+ // So file name.
-+ if *aix {
-+ if modname == "" {
-+ modname = "libc.a/shr_64.o"
-+ } else {
-+ fmt.Fprintf(os.Stderr, "%s: only syscall using libc are available\n", funct)
-+ os.Exit(1)
-+ }
-+ }
-+
-+ strconvfunc := "C.CString"
-+
-+ // Go function header.
-+ if outps != "" {
-+ outps = fmt.Sprintf(" (%s)", outps)
-+ }
-+ if text != "" {
-+ text += "\n"
-+ }
-+
-+ text += fmt.Sprintf("func %s(%s)%s {\n", funct, strings.Join(in, ", "), outps)
-+
-+ // Prepare arguments to Syscall.
-+ var args []string
-+ n := 0
-+ argN := 0
-+ for _, param := range in {
-+ p := parseParam(param)
-+ if regexp.MustCompile(`^\*`).FindStringSubmatch(p.Type) != nil {
-+ args = append(args, "C.uintptr_t(uintptr(unsafe.Pointer("+p.Name+")))")
-+ } else if p.Type == "string" && errvar != "" {
-+ text += fmt.Sprintf("\t_p%d := uintptr(unsafe.Pointer(%s(%s)))\n", n, strconvfunc, p.Name)
-+ args = append(args, fmt.Sprintf("C.uintptr_t(_p%d)", n))
-+ n++
-+ } else if p.Type == "string" {
-+ fmt.Fprintf(os.Stderr, path+":"+funct+" uses string arguments, but has no error return\n")
-+ text += fmt.Sprintf("\t_p%d := uintptr(unsafe.Pointer(%s(%s)))\n", n, strconvfunc, p.Name)
-+ args = append(args, fmt.Sprintf("C.uintptr_t(_p%d)", n))
-+ n++
-+ } else if m := regexp.MustCompile(`^\[\](.*)`).FindStringSubmatch(p.Type); m != nil {
-+ // Convert slice into pointer, length.
-+ // Have to be careful not to take address of &a[0] if len == 0:
-+ // pass nil in that case.
-+ text += fmt.Sprintf("\tvar _p%d *%s\n", n, m[1])
-+ text += fmt.Sprintf("\tif len(%s) > 0 {\n\t\t_p%d = &%s[0]\n\t}\n", p.Name, n, p.Name)
-+ args = append(args, fmt.Sprintf("C.uintptr_t(uintptr(unsafe.Pointer(_p%d)))", n))
-+ n++
-+ text += fmt.Sprintf("\tvar _p%d int\n", n)
-+ text += fmt.Sprintf("\t_p%d = len(%s)\n", n, p.Name)
-+ args = append(args, fmt.Sprintf("C.size_t(_p%d)", n))
-+ n++
-+ } else if p.Type == "int64" && endianness != "" {
-+ if endianness == "big-endian" {
-+ args = append(args, fmt.Sprintf("uintptr(%s>>32)", p.Name), fmt.Sprintf("uintptr(%s)", p.Name))
-+ } else {
-+ args = append(args, fmt.Sprintf("uintptr(%s)", p.Name), fmt.Sprintf("uintptr(%s>>32)", p.Name))
-+ }
-+ n++
-+ } else if p.Type == "bool" {
-+ text += fmt.Sprintf("\tvar _p%d uint32\n", n)
-+ text += fmt.Sprintf("\tif %s {\n\t\t_p%d = 1\n\t} else {\n\t\t_p%d = 0\n\t}\n", p.Name, n, n)
-+ args = append(args, fmt.Sprintf("_p%d", n))
-+ } else if regexp.MustCompile(`^_`).FindStringSubmatch(p.Type) != nil {
-+ args = append(args, fmt.Sprintf("C.uintptr_t(uintptr(%s))", p.Name))
-+ } else if p.Type == "unsafe.Pointer" {
-+ args = append(args, fmt.Sprintf("C.uintptr_t(uintptr(%s))", p.Name))
-+ } else if p.Type == "int" {
-+ if (argN == 2) && ((funct == "readlen") || (funct == "writelen")) {
-+ args = append(args, fmt.Sprintf("C.size_t(%s)", p.Name))
-+ } else if argN == 0 && funct == "fcntl" {
-+ args = append(args, fmt.Sprintf("C.uintptr_t(%s)", p.Name))
-+ } else if (argN == 2) && ((funct == "fcntl") || (funct == "FcntlInt")) {
-+ args = append(args, fmt.Sprintf("C.uintptr_t(%s)", p.Name))
-+ } else {
-+ args = append(args, fmt.Sprintf("C.int(%s)", p.Name))
-+ }
-+ } else if p.Type == "int32" {
-+ args = append(args, fmt.Sprintf("C.int(%s)", p.Name))
-+ } else if p.Type == "int64" {
-+ args = append(args, fmt.Sprintf("C.longlong(%s)", p.Name))
-+ } else if p.Type == "uint32" {
-+ args = append(args, fmt.Sprintf("C.uint(%s)", p.Name))
-+ } else if p.Type == "uint64" {
-+ args = append(args, fmt.Sprintf("C.ulonglong(%s)", p.Name))
-+ } else if p.Type == "uintptr" {
-+ args = append(args, fmt.Sprintf("C.uintptr_t(%s)", p.Name))
-+ } else {
-+ args = append(args, fmt.Sprintf("C.int(%s)", p.Name))
-+ }
-+ argN++
-+ }
-+
-+ // Actual call.
-+ arglist := strings.Join(args, ", ")
-+ call := ""
-+ if sysname == "exit" {
-+ if errvar != "" {
-+ call += "er :="
-+ } else {
-+ call += ""
-+ }
-+ } else if errvar != "" {
-+ call += "r0,er :="
-+ } else if retvar != "" {
-+ call += "r0,_ :="
-+ } else {
-+ call += ""
-+ }
-+ if sysname == "select" {
-+ // select is a keyword of Go. Its name is
-+ // changed to c_select.
-+ call += fmt.Sprintf("C.c_%s(%s)", sysname, arglist)
-+ } else {
-+ call += fmt.Sprintf("C.%s(%s)", sysname, arglist)
-+ }
-+
-+ // Assign return values.
-+ body := ""
-+ for i := 0; i < len(out); i++ {
-+ p := parseParam(out[i])
-+ reg := ""
-+ if p.Name == "err" {
-+ reg = "e1"
-+ } else {
-+ reg = "r0"
-+ }
-+ if reg != "e1" {
-+ body += fmt.Sprintf("\t%s = %s(%s)\n", p.Name, p.Type, reg)
-+ }
-+ }
-+
-+ // verify return
-+ if sysname != "exit" && errvar != "" {
-+ if regexp.MustCompile(`^uintptr`).FindStringSubmatch(cRettype) != nil {
-+ body += "\tif (uintptr(r0) ==^uintptr(0) && er != nil) {\n"
-+ body += fmt.Sprintf("\t\t%s = er\n", errvar)
-+ body += "\t}\n"
-+ } else {
-+ body += "\tif (r0 ==-1 && er != nil) {\n"
-+ body += fmt.Sprintf("\t\t%s = er\n", errvar)
-+ body += "\t}\n"
-+ }
-+ } else if errvar != "" {
-+ body += "\tif (er != nil) {\n"
-+ body += fmt.Sprintf("\t\t%s = er\n", errvar)
-+ body += "\t}\n"
-+ }
-+
-+ text += fmt.Sprintf("\t%s\n", call)
-+ text += body
-+
-+ text += "\treturn\n"
-+ text += "}\n"
-+ }
-+ if err := s.Err(); err != nil {
-+ fmt.Fprintf(os.Stderr, err.Error())
-+ os.Exit(1)
-+ }
-+ file.Close()
-+ }
-+ imp := ""
-+ if pack != "unix" {
-+ imp = "import \"golang.org/x/sys/unix\"\n"
-+
-+ }
-+ fmt.Printf(srcTemplate, cmdLine(), buildTags(), pack, cExtern, imp, text)
-+}
-+
-+const srcTemplate = `// %s
-+// Code generated by the command above; see README.md. DO NOT EDIT.
-+
-+// +build %s
-+
-+package %s
-+
-+
-+%s
-+*/
-+import "C"
-+import (
-+ "unsafe"
-+)
-+
-+
-+%s
-+
-+%s
-+`
-diff --git a/vendor/golang.org/x/sys/unix/mksyscall_aix_ppc64.go b/vendor/golang.org/x/sys/unix/mksyscall_aix_ppc64.go
-new file mode 100644
-index 00000000..c9600995
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/mksyscall_aix_ppc64.go
-@@ -0,0 +1,614 @@
-+// 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.
-+
-+// +build ignore
-+
-+/*
-+This program reads a file containing function prototypes
-+(like syscall_aix.go) and generates system call bodies.
-+The prototypes are marked by lines beginning with "//sys"
-+and read like func declarations if //sys is replaced by func, but:
-+ * The parameter lists must give a name for each argument.
-+ This includes return parameters.
-+ * The parameter lists must give a type for each argument:
-+ the (x, y, z int) shorthand is not allowed.
-+ * If the return parameter is an error number, it must be named err.
-+ * If go func name needs to be different than its libc name,
-+ * or the function is not in libc, name could be specified
-+ * at the end, after "=" sign, like
-+ //sys getsockopt(s int, level int, name int, val uintptr, vallen *_Socklen) (err error) = libsocket.getsockopt
-+
-+
-+This program will generate three files and handle both gc and gccgo implementation:
-+ - zsyscall_aix_ppc64.go: the common part of each implementation (error handler, pointer creation)
-+ - zsyscall_aix_ppc64_gc.go: gc part with //go_cgo_import_dynamic and a call to syscall6
-+ - zsyscall_aix_ppc64_gccgo.go: gccgo part with C function and conversion to C type.
-+
-+ The generated code looks like this
-+
-+zsyscall_aix_ppc64.go
-+func asyscall(...) (n int, err error) {
-+ // Pointer Creation
-+ r1, e1 := callasyscall(...)
-+ // Type Conversion
-+ // Error Handler
-+ return
-+}
-+
-+zsyscall_aix_ppc64_gc.go
-+//go:cgo_import_dynamic libc_asyscall asyscall "libc.a/shr_64.o"
-+//go:linkname libc_asyscall libc_asyscall
-+var asyscall syscallFunc
-+
-+func callasyscall(...) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_asyscall)), "nb_args", ... )
-+ return
-+}
-+
-+zsyscall_aix_ppc64_ggcgo.go
-+
-+// int asyscall(...)
-+
-+import "C"
-+
-+func callasyscall(...) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.asyscall(...))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+*/
-+
-+package main
-+
-+import (
-+ "bufio"
-+ "flag"
-+ "fmt"
-+ "io/ioutil"
-+ "os"
-+ "regexp"
-+ "strings"
-+)
-+
-+var (
-+ b32 = flag.Bool("b32", false, "32bit big-endian")
-+ l32 = flag.Bool("l32", false, "32bit little-endian")
-+ aix = flag.Bool("aix", false, "aix")
-+ tags = flag.String("tags", "", "build tags")
-+)
-+
-+// cmdLine returns this programs's commandline arguments
-+func cmdLine() string {
-+ return "go run mksyscall_aix_ppc64.go " + strings.Join(os.Args[1:], " ")
-+}
-+
-+// buildTags returns build tags
-+func buildTags() string {
-+ return *tags
-+}
-+
-+// Param is function parameter
-+type Param struct {
-+ Name string
-+ Type string
-+}
-+
-+// usage prints the program usage
-+func usage() {
-+ fmt.Fprintf(os.Stderr, "usage: go run mksyscall_aix_ppc64.go [-b32 | -l32] [-tags x,y] [file ...]\n")
-+ os.Exit(1)
-+}
-+
-+// parseParamList parses parameter list and returns a slice of parameters
-+func parseParamList(list string) []string {
-+ list = strings.TrimSpace(list)
-+ if list == "" {
-+ return []string{}
-+ }
-+ return regexp.MustCompile(`\s*,\s*`).Split(list, -1)
-+}
-+
-+// parseParam splits a parameter into name and type
-+func parseParam(p string) Param {
-+ ps := regexp.MustCompile(`^(\S*) (\S*)$`).FindStringSubmatch(p)
-+ if ps == nil {
-+ fmt.Fprintf(os.Stderr, "malformed parameter: %s\n", p)
-+ os.Exit(1)
-+ }
-+ return Param{ps[1], ps[2]}
-+}
-+
-+func main() {
-+ flag.Usage = usage
-+ flag.Parse()
-+ if len(flag.Args()) <= 0 {
-+ fmt.Fprintf(os.Stderr, "no files to parse provided\n")
-+ usage()
-+ }
-+
-+ endianness := ""
-+ if *b32 {
-+ endianness = "big-endian"
-+ } else if *l32 {
-+ endianness = "little-endian"
-+ }
-+
-+ pack := ""
-+ // GCCGO
-+ textgccgo := ""
-+ cExtern := "/*\n#include <stdint.h>\n"
-+ // GC
-+ textgc := ""
-+ dynimports := ""
-+ linknames := ""
-+ var vars []string
-+ // COMMON
-+ textcommon := ""
-+ for _, path := range flag.Args() {
-+ file, err := os.Open(path)
-+ if err != nil {
-+ fmt.Fprintf(os.Stderr, err.Error())
-+ os.Exit(1)
-+ }
-+ s := bufio.NewScanner(file)
-+ for s.Scan() {
-+ t := s.Text()
-+ t = strings.TrimSpace(t)
-+ t = regexp.MustCompile(`\s+`).ReplaceAllString(t, ` `)
-+ if p := regexp.MustCompile(`^package (\S+)$`).FindStringSubmatch(t); p != nil && pack == "" {
-+ pack = p[1]
-+ }
-+ nonblock := regexp.MustCompile(`^\/\/sysnb `).FindStringSubmatch(t)
-+ if regexp.MustCompile(`^\/\/sys `).FindStringSubmatch(t) == nil && nonblock == nil {
-+ continue
-+ }
-+
-+ // Line must be of the form
-+ // func Open(path string, mode int, perm int) (fd int, err error)
-+ // Split into name, in params, out params.
-+ f := regexp.MustCompile(`^\/\/sys(nb)? (\w+)\(([^()]*)\)\s*(?:\(([^()]+)\))?\s*(?:=\s*(?:(\w*)\.)?(\w*))?$`).FindStringSubmatch(t)
-+ if f == nil {
-+ fmt.Fprintf(os.Stderr, "%s:%s\nmalformed //sys declaration\n", path, t)
-+ os.Exit(1)
-+ }
-+ funct, inps, outps, modname, sysname := f[2], f[3], f[4], f[5], f[6]
-+
-+ // Split argument lists on comma.
-+ in := parseParamList(inps)
-+ out := parseParamList(outps)
-+
-+ inps = strings.Join(in, ", ")
-+ outps = strings.Join(out, ", ")
-+
-+ if sysname == "" {
-+ sysname = funct
-+ }
-+
-+ onlyCommon := false
-+ if funct == "readlen" || funct == "writelen" || funct == "FcntlInt" || funct == "FcntlFlock" {
-+ // This function call another syscall which is already implemented.
-+ // Therefore, the gc and gccgo part must not be generated.
-+ onlyCommon = true
-+ }
-+
-+ // Try in vain to keep people from editing this file.
-+ // The theory is that they jump into the middle of the file
-+ // without reading the header.
-+
-+ textcommon += "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT\n\n"
-+ if !onlyCommon {
-+ textgccgo += "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT\n\n"
-+ textgc += "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT\n\n"
-+ }
-+
-+ // Check if value return, err return available
-+ errvar := ""
-+ rettype := ""
-+ for _, param := range out {
-+ p := parseParam(param)
-+ if p.Type == "error" {
-+ errvar = p.Name
-+ } else {
-+ rettype = p.Type
-+ }
-+ }
-+
-+ sysname = regexp.MustCompile(`([a-z])([A-Z])`).ReplaceAllString(sysname, `${1}_$2`)
-+ sysname = strings.ToLower(sysname) // All libc functions are lowercase.
-+
-+ // GCCGO Prototype return type
-+ cRettype := ""
-+ if rettype == "unsafe.Pointer" {
-+ cRettype = "uintptr_t"
-+ } else if rettype == "uintptr" {
-+ cRettype = "uintptr_t"
-+ } else if regexp.MustCompile(`^_`).FindStringSubmatch(rettype) != nil {
-+ cRettype = "uintptr_t"
-+ } else if rettype == "int" {
-+ cRettype = "int"
-+ } else if rettype == "int32" {
-+ cRettype = "int"
-+ } else if rettype == "int64" {
-+ cRettype = "long long"
-+ } else if rettype == "uint32" {
-+ cRettype = "unsigned int"
-+ } else if rettype == "uint64" {
-+ cRettype = "unsigned long long"
-+ } else {
-+ cRettype = "int"
-+ }
-+ if sysname == "exit" {
-+ cRettype = "void"
-+ }
-+
-+ // GCCGO Prototype arguments type
-+ var cIn []string
-+ for i, param := range in {
-+ p := parseParam(param)
-+ if regexp.MustCompile(`^\*`).FindStringSubmatch(p.Type) != nil {
-+ cIn = append(cIn, "uintptr_t")
-+ } else if p.Type == "string" {
-+ cIn = append(cIn, "uintptr_t")
-+ } else if regexp.MustCompile(`^\[\](.*)`).FindStringSubmatch(p.Type) != nil {
-+ cIn = append(cIn, "uintptr_t", "size_t")
-+ } else if p.Type == "unsafe.Pointer" {
-+ cIn = append(cIn, "uintptr_t")
-+ } else if p.Type == "uintptr" {
-+ cIn = append(cIn, "uintptr_t")
-+ } else if regexp.MustCompile(`^_`).FindStringSubmatch(p.Type) != nil {
-+ cIn = append(cIn, "uintptr_t")
-+ } else if p.Type == "int" {
-+ if (i == 0 || i == 2) && funct == "fcntl" {
-+ // These fcntl arguments needs to be uintptr to be able to call FcntlInt and FcntlFlock
-+ cIn = append(cIn, "uintptr_t")
-+ } else {
-+ cIn = append(cIn, "int")
-+ }
-+
-+ } else if p.Type == "int32" {
-+ cIn = append(cIn, "int")
-+ } else if p.Type == "int64" {
-+ cIn = append(cIn, "long long")
-+ } else if p.Type == "uint32" {
-+ cIn = append(cIn, "unsigned int")
-+ } else if p.Type == "uint64" {
-+ cIn = append(cIn, "unsigned long long")
-+ } else {
-+ cIn = append(cIn, "int")
-+ }
-+ }
-+
-+ if !onlyCommon {
-+ // GCCGO Prototype Generation
-+ // Imports of system calls from libc
-+ if sysname == "select" {
-+ // select is a keyword of Go. Its name is
-+ // changed to c_select.
-+ cExtern += "#define c_select select\n"
-+ }
-+ cExtern += fmt.Sprintf("%s %s", cRettype, sysname)
-+ cIn := strings.Join(cIn, ", ")
-+ cExtern += fmt.Sprintf("(%s);\n", cIn)
-+ }
-+ // GC Library name
-+ if modname == "" {
-+ modname = "libc.a/shr_64.o"
-+ } else {
-+ fmt.Fprintf(os.Stderr, "%s: only syscall using libc are available\n", funct)
-+ os.Exit(1)
-+ }
-+ sysvarname := fmt.Sprintf("libc_%s", sysname)
-+
-+ if !onlyCommon {
-+ // GC Runtime import of function to allow cross-platform builds.
-+ dynimports += fmt.Sprintf("//go:cgo_import_dynamic %s %s \"%s\"\n", sysvarname, sysname, modname)
-+ // GC Link symbol to proc address variable.
-+ linknames += fmt.Sprintf("//go:linkname %s %s\n", sysvarname, sysvarname)
-+ // GC Library proc address variable.
-+ vars = append(vars, sysvarname)
-+ }
-+
-+ strconvfunc := "BytePtrFromString"
-+ strconvtype := "*byte"
-+
-+ // Go function header.
-+ if outps != "" {
-+ outps = fmt.Sprintf(" (%s)", outps)
-+ }
-+ if textcommon != "" {
-+ textcommon += "\n"
-+ }
-+
-+ textcommon += fmt.Sprintf("func %s(%s)%s {\n", funct, strings.Join(in, ", "), outps)
-+
-+ // Prepare arguments tocall.
-+ var argscommon []string // Arguments in the common part
-+ var argscall []string // Arguments for call prototype
-+ var argsgc []string // Arguments for gc call (with syscall6)
-+ var argsgccgo []string // Arguments for gccgo call (with C.name_of_syscall)
-+ n := 0
-+ argN := 0
-+ for _, param := range in {
-+ p := parseParam(param)
-+ if regexp.MustCompile(`^\*`).FindStringSubmatch(p.Type) != nil {
-+ argscommon = append(argscommon, fmt.Sprintf("uintptr(unsafe.Pointer(%s))", p.Name))
-+ argscall = append(argscall, fmt.Sprintf("%s uintptr", p.Name))
-+ argsgc = append(argsgc, p.Name)
-+ argsgccgo = append(argsgccgo, fmt.Sprintf("C.uintptr_t(%s)", p.Name))
-+ } else if p.Type == "string" && errvar != "" {
-+ textcommon += fmt.Sprintf("\tvar _p%d %s\n", n, strconvtype)
-+ textcommon += fmt.Sprintf("\t_p%d, %s = %s(%s)\n", n, errvar, strconvfunc, p.Name)
-+ textcommon += fmt.Sprintf("\tif %s != nil {\n\t\treturn\n\t}\n", errvar)
-+
-+ argscommon = append(argscommon, fmt.Sprintf("uintptr(unsafe.Pointer(_p%d))", n))
-+ argscall = append(argscall, fmt.Sprintf("_p%d uintptr ", n))
-+ argsgc = append(argsgc, fmt.Sprintf("_p%d", n))
-+ argsgccgo = append(argsgccgo, fmt.Sprintf("C.uintptr_t(_p%d)", n))
-+ n++
-+ } else if p.Type == "string" {
-+ fmt.Fprintf(os.Stderr, path+":"+funct+" uses string arguments, but has no error return\n")
-+ textcommon += fmt.Sprintf("\tvar _p%d %s\n", n, strconvtype)
-+ textcommon += fmt.Sprintf("\t_p%d, %s = %s(%s)\n", n, errvar, strconvfunc, p.Name)
-+ textcommon += fmt.Sprintf("\tif %s != nil {\n\t\treturn\n\t}\n", errvar)
-+
-+ argscommon = append(argscommon, fmt.Sprintf("uintptr(unsafe.Pointer(_p%d))", n))
-+ argscall = append(argscall, fmt.Sprintf("_p%d uintptr", n))
-+ argsgc = append(argsgc, fmt.Sprintf("_p%d", n))
-+ argsgccgo = append(argsgccgo, fmt.Sprintf("C.uintptr_t(_p%d)", n))
-+ n++
-+ } else if m := regexp.MustCompile(`^\[\](.*)`).FindStringSubmatch(p.Type); m != nil {
-+ // Convert slice into pointer, length.
-+ // Have to be careful not to take address of &a[0] if len == 0:
-+ // pass nil in that case.
-+ textcommon += fmt.Sprintf("\tvar _p%d *%s\n", n, m[1])
-+ textcommon += fmt.Sprintf("\tif len(%s) > 0 {\n\t\t_p%d = &%s[0]\n\t}\n", p.Name, n, p.Name)
-+ argscommon = append(argscommon, fmt.Sprintf("uintptr(unsafe.Pointer(_p%d))", n), fmt.Sprintf("len(%s)", p.Name))
-+ argscall = append(argscall, fmt.Sprintf("_p%d uintptr", n), fmt.Sprintf("_lenp%d int", n))
-+ argsgc = append(argsgc, fmt.Sprintf("_p%d", n), fmt.Sprintf("uintptr(_lenp%d)", n))
-+ argsgccgo = append(argsgccgo, fmt.Sprintf("C.uintptr_t(_p%d)", n), fmt.Sprintf("C.size_t(_lenp%d)", n))
-+ n++
-+ } else if p.Type == "int64" && endianness != "" {
-+ fmt.Fprintf(os.Stderr, path+":"+funct+" uses int64 with 32 bits mode. Case not yet implemented\n")
-+ } else if p.Type == "bool" {
-+ fmt.Fprintf(os.Stderr, path+":"+funct+" uses bool. Case not yet implemented\n")
-+ } else if regexp.MustCompile(`^_`).FindStringSubmatch(p.Type) != nil || p.Type == "unsafe.Pointer" {
-+ argscommon = append(argscommon, fmt.Sprintf("uintptr(%s)", p.Name))
-+ argscall = append(argscall, fmt.Sprintf("%s uintptr", p.Name))
-+ argsgc = append(argsgc, p.Name)
-+ argsgccgo = append(argsgccgo, fmt.Sprintf("C.uintptr_t(%s)", p.Name))
-+ } else if p.Type == "int" {
-+ if (argN == 0 || argN == 2) && ((funct == "fcntl") || (funct == "FcntlInt") || (funct == "FcntlFlock")) {
-+ // These fcntl arguments need to be uintptr to be able to call FcntlInt and FcntlFlock
-+ argscommon = append(argscommon, fmt.Sprintf("uintptr(%s)", p.Name))
-+ argscall = append(argscall, fmt.Sprintf("%s uintptr", p.Name))
-+ argsgc = append(argsgc, p.Name)
-+ argsgccgo = append(argsgccgo, fmt.Sprintf("C.uintptr_t(%s)", p.Name))
-+
-+ } else {
-+ argscommon = append(argscommon, p.Name)
-+ argscall = append(argscall, fmt.Sprintf("%s int", p.Name))
-+ argsgc = append(argsgc, fmt.Sprintf("uintptr(%s)", p.Name))
-+ argsgccgo = append(argsgccgo, fmt.Sprintf("C.int(%s)", p.Name))
-+ }
-+ } else if p.Type == "int32" {
-+ argscommon = append(argscommon, p.Name)
-+ argscall = append(argscall, fmt.Sprintf("%s int32", p.Name))
-+ argsgc = append(argsgc, fmt.Sprintf("uintptr(%s)", p.Name))
-+ argsgccgo = append(argsgccgo, fmt.Sprintf("C.int(%s)", p.Name))
-+ } else if p.Type == "int64" {
-+ argscommon = append(argscommon, p.Name)
-+ argscall = append(argscall, fmt.Sprintf("%s int64", p.Name))
-+ argsgc = append(argsgc, fmt.Sprintf("uintptr(%s)", p.Name))
-+ argsgccgo = append(argsgccgo, fmt.Sprintf("C.longlong(%s)", p.Name))
-+ } else if p.Type == "uint32" {
-+ argscommon = append(argscommon, p.Name)
-+ argscall = append(argscall, fmt.Sprintf("%s uint32", p.Name))
-+ argsgc = append(argsgc, fmt.Sprintf("uintptr(%s)", p.Name))
-+ argsgccgo = append(argsgccgo, fmt.Sprintf("C.uint(%s)", p.Name))
-+ } else if p.Type == "uint64" {
-+ argscommon = append(argscommon, p.Name)
-+ argscall = append(argscall, fmt.Sprintf("%s uint64", p.Name))
-+ argsgc = append(argsgc, fmt.Sprintf("uintptr(%s)", p.Name))
-+ argsgccgo = append(argsgccgo, fmt.Sprintf("C.ulonglong(%s)", p.Name))
-+ } else if p.Type == "uintptr" {
-+ argscommon = append(argscommon, p.Name)
-+ argscall = append(argscall, fmt.Sprintf("%s uintptr", p.Name))
-+ argsgc = append(argsgc, p.Name)
-+ argsgccgo = append(argsgccgo, fmt.Sprintf("C.uintptr_t(%s)", p.Name))
-+ } else {
-+ argscommon = append(argscommon, fmt.Sprintf("int(%s)", p.Name))
-+ argscall = append(argscall, fmt.Sprintf("%s int", p.Name))
-+ argsgc = append(argsgc, fmt.Sprintf("uintptr(%s)", p.Name))
-+ argsgccgo = append(argsgccgo, fmt.Sprintf("C.int(%s)", p.Name))
-+ }
-+ argN++
-+ }
-+ nargs := len(argsgc)
-+
-+ // COMMON function generation
-+ argscommonlist := strings.Join(argscommon, ", ")
-+ callcommon := fmt.Sprintf("call%s(%s)", sysname, argscommonlist)
-+ ret := []string{"_", "_"}
-+ body := ""
-+ doErrno := false
-+ for i := 0; i < len(out); i++ {
-+ p := parseParam(out[i])
-+ reg := ""
-+ if p.Name == "err" {
-+ reg = "e1"
-+ ret[1] = reg
-+ doErrno = true
-+ } else {
-+ reg = "r0"
-+ ret[0] = reg
-+ }
-+ if p.Type == "bool" {
-+ reg = fmt.Sprintf("%s != 0", reg)
-+ }
-+ if reg != "e1" {
-+ body += fmt.Sprintf("\t%s = %s(%s)\n", p.Name, p.Type, reg)
-+ }
-+ }
-+ if ret[0] == "_" && ret[1] == "_" {
-+ textcommon += fmt.Sprintf("\t%s\n", callcommon)
-+ } else {
-+ textcommon += fmt.Sprintf("\t%s, %s := %s\n", ret[0], ret[1], callcommon)
-+ }
-+ textcommon += body
-+
-+ if doErrno {
-+ textcommon += "\tif e1 != 0 {\n"
-+ textcommon += "\t\terr = errnoErr(e1)\n"
-+ textcommon += "\t}\n"
-+ }
-+ textcommon += "\treturn\n"
-+ textcommon += "}\n"
-+
-+ if onlyCommon {
-+ continue
-+ }
-+
-+ // CALL Prototype
-+ callProto := fmt.Sprintf("func call%s(%s) (r1 uintptr, e1 Errno) {\n", sysname, strings.Join(argscall, ", "))
-+
-+ // GC function generation
-+ asm := "syscall6"
-+ if nonblock != nil {
-+ asm = "rawSyscall6"
-+ }
-+
-+ if len(argsgc) <= 6 {
-+ for len(argsgc) < 6 {
-+ argsgc = append(argsgc, "0")
-+ }
-+ } else {
-+ fmt.Fprintf(os.Stderr, "%s: too many arguments to system call", funct)
-+ os.Exit(1)
-+ }
-+ argsgclist := strings.Join(argsgc, ", ")
-+ callgc := fmt.Sprintf("%s(uintptr(unsafe.Pointer(&%s)), %d, %s)", asm, sysvarname, nargs, argsgclist)
-+
-+ textgc += callProto
-+ textgc += fmt.Sprintf("\tr1, _, e1 = %s\n", callgc)
-+ textgc += "\treturn\n}\n"
-+
-+ // GCCGO function generation
-+ argsgccgolist := strings.Join(argsgccgo, ", ")
-+ var callgccgo string
-+ if sysname == "select" {
-+ // select is a keyword of Go. Its name is
-+ // changed to c_select.
-+ callgccgo = fmt.Sprintf("C.c_%s(%s)", sysname, argsgccgolist)
-+ } else {
-+ callgccgo = fmt.Sprintf("C.%s(%s)", sysname, argsgccgolist)
-+ }
-+ textgccgo += callProto
-+ textgccgo += fmt.Sprintf("\tr1 = uintptr(%s)\n", callgccgo)
-+ textgccgo += "\te1 = syscall.GetErrno()\n"
-+ textgccgo += "\treturn\n}\n"
-+ }
-+ if err := s.Err(); err != nil {
-+ fmt.Fprintf(os.Stderr, err.Error())
-+ os.Exit(1)
-+ }
-+ file.Close()
-+ }
-+ imp := ""
-+ if pack != "unix" {
-+ imp = "import \"golang.org/x/sys/unix\"\n"
-+
-+ }
-+
-+ // Print zsyscall_aix_ppc64.go
-+ err := ioutil.WriteFile("zsyscall_aix_ppc64.go",
-+ []byte(fmt.Sprintf(srcTemplate1, cmdLine(), buildTags(), pack, imp, textcommon)),
-+ 0644)
-+ if err != nil {
-+ fmt.Fprintf(os.Stderr, err.Error())
-+ os.Exit(1)
-+ }
-+
-+ // Print zsyscall_aix_ppc64_gc.go
-+ vardecls := "\t" + strings.Join(vars, ",\n\t")
-+ vardecls += " syscallFunc"
-+ err = ioutil.WriteFile("zsyscall_aix_ppc64_gc.go",
-+ []byte(fmt.Sprintf(srcTemplate2, cmdLine(), buildTags(), pack, imp, dynimports, linknames, vardecls, textgc)),
-+ 0644)
-+ if err != nil {
-+ fmt.Fprintf(os.Stderr, err.Error())
-+ os.Exit(1)
-+ }
-+
-+ // Print zsyscall_aix_ppc64_gccgo.go
-+ err = ioutil.WriteFile("zsyscall_aix_ppc64_gccgo.go",
-+ []byte(fmt.Sprintf(srcTemplate3, cmdLine(), buildTags(), pack, cExtern, imp, textgccgo)),
-+ 0644)
-+ if err != nil {
-+ fmt.Fprintf(os.Stderr, err.Error())
-+ os.Exit(1)
-+ }
-+}
-+
-+const srcTemplate1 = `// %s
-+// Code generated by the command above; see README.md. DO NOT EDIT.
-+
-+// +build %s
-+
-+package %s
-+
-+import (
-+ "unsafe"
-+)
-+
-+
-+%s
-+
-+%s
-+`
-+const srcTemplate2 = `// %s
-+// Code generated by the command above; see README.md. DO NOT EDIT.
-+
-+// +build %s
-+// +build !gccgo
-+
-+package %s
-+
-+import (
-+ "unsafe"
-+)
-+%s
-+%s
-+%s
-+type syscallFunc uintptr
-+
-+var (
-+%s
-+)
-+
-+// Implemented in runtime/syscall_aix.go.
-+func rawSyscall6(trap, nargs, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
-+func syscall6(trap, nargs, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
-+
-+%s
-+`
-+const srcTemplate3 = `// %s
-+// Code generated by the command above; see README.md. DO NOT EDIT.
-+
-+// +build %s
-+// +build gccgo
-+
-+package %s
-+
-+%s
-+*/
-+import "C"
-+import (
-+ "syscall"
-+)
-+
-+
-+%s
-+
-+%s
-+`
-diff --git a/vendor/golang.org/x/sys/unix/mksyscall_solaris.go b/vendor/golang.org/x/sys/unix/mksyscall_solaris.go
-new file mode 100644
-index 00000000..675597e4
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/mksyscall_solaris.go
-@@ -0,0 +1,341 @@
-+// 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.
-+
-+// +build ignore
-+
-+/*
-+ This program reads a file containing function prototypes
-+ (like syscall_solaris.go) and generates system call bodies.
-+ The prototypes are marked by lines beginning with "//sys"
-+ and read like func declarations if //sys is replaced by func, but:
-+ * The parameter lists must give a name for each argument.
-+ This includes return parameters.
-+ * The parameter lists must give a type for each argument:
-+ the (x, y, z int) shorthand is not allowed.
-+ * If the return parameter is an error number, it must be named err.
-+ * If go func name needs to be different than its libc name,
-+ * or the function is not in libc, name could be specified
-+ * at the end, after "=" sign, like
-+ //sys getsockopt(s int, level int, name int, val uintptr, vallen *_Socklen) (err error) = libsocket.getsockopt
-+*/
-+
-+package main
-+
-+import (
-+ "bufio"
-+ "flag"
-+ "fmt"
-+ "os"
-+ "regexp"
-+ "strings"
-+)
-+
-+var (
-+ b32 = flag.Bool("b32", false, "32bit big-endian")
-+ l32 = flag.Bool("l32", false, "32bit little-endian")
-+ tags = flag.String("tags", "", "build tags")
-+ illumos = flag.Bool("illumos", false, "illumos specific code generation")
-+)
-+
-+// cmdLine returns this programs's commandline arguments
-+func cmdLine() string {
-+ return "go run mksyscall_solaris.go " + strings.Join(os.Args[1:], " ")
-+}
-+
-+// buildTags returns build tags
-+func buildTags() string {
-+ return *tags
-+}
-+
-+// Param is function parameter
-+type Param struct {
-+ Name string
-+ Type string
-+}
-+
-+// usage prints the program usage
-+func usage() {
-+ fmt.Fprintf(os.Stderr, "usage: go run mksyscall_solaris.go [-b32 | -l32] [-tags x,y] [file ...]\n")
-+ os.Exit(1)
-+}
-+
-+// parseParamList parses parameter list and returns a slice of parameters
-+func parseParamList(list string) []string {
-+ list = strings.TrimSpace(list)
-+ if list == "" {
-+ return []string{}
-+ }
-+ return regexp.MustCompile(`\s*,\s*`).Split(list, -1)
-+}
-+
-+// parseParam splits a parameter into name and type
-+func parseParam(p string) Param {
-+ ps := regexp.MustCompile(`^(\S*) (\S*)$`).FindStringSubmatch(p)
-+ if ps == nil {
-+ fmt.Fprintf(os.Stderr, "malformed parameter: %s\n", p)
-+ os.Exit(1)
-+ }
-+ return Param{ps[1], ps[2]}
-+}
-+
-+func main() {
-+ flag.Usage = usage
-+ flag.Parse()
-+ if len(flag.Args()) <= 0 {
-+ fmt.Fprintf(os.Stderr, "no files to parse provided\n")
-+ usage()
-+ }
-+
-+ endianness := ""
-+ if *b32 {
-+ endianness = "big-endian"
-+ } else if *l32 {
-+ endianness = "little-endian"
-+ }
-+
-+ pack := ""
-+ text := ""
-+ dynimports := ""
-+ linknames := ""
-+ var vars []string
-+ for _, path := range flag.Args() {
-+ file, err := os.Open(path)
-+ if err != nil {
-+ fmt.Fprintf(os.Stderr, err.Error())
-+ os.Exit(1)
-+ }
-+ s := bufio.NewScanner(file)
-+ for s.Scan() {
-+ t := s.Text()
-+ t = strings.TrimSpace(t)
-+ t = regexp.MustCompile(`\s+`).ReplaceAllString(t, ` `)
-+ if p := regexp.MustCompile(`^package (\S+)$`).FindStringSubmatch(t); p != nil && pack == "" {
-+ pack = p[1]
-+ }
-+ nonblock := regexp.MustCompile(`^\/\/sysnb `).FindStringSubmatch(t)
-+ if regexp.MustCompile(`^\/\/sys `).FindStringSubmatch(t) == nil && nonblock == nil {
-+ continue
-+ }
-+
-+ // Line must be of the form
-+ // func Open(path string, mode int, perm int) (fd int, err error)
-+ // Split into name, in params, out params.
-+ f := regexp.MustCompile(`^\/\/sys(nb)? (\w+)\(([^()]*)\)\s*(?:\(([^()]+)\))?\s*(?:=\s*(?:(\w*)\.)?(\w*))?$`).FindStringSubmatch(t)
-+ if f == nil {
-+ fmt.Fprintf(os.Stderr, "%s:%s\nmalformed //sys declaration\n", path, t)
-+ os.Exit(1)
-+ }
-+ funct, inps, outps, modname, sysname := f[2], f[3], f[4], f[5], f[6]
-+
-+ // Split argument lists on comma.
-+ in := parseParamList(inps)
-+ out := parseParamList(outps)
-+
-+ inps = strings.Join(in, ", ")
-+ outps = strings.Join(out, ", ")
-+
-+ // Try in vain to keep people from editing this file.
-+ // The theory is that they jump into the middle of the file
-+ // without reading the header.
-+ text += "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT\n\n"
-+
-+ // So file name.
-+ if modname == "" {
-+ modname = "libc"
-+ }
-+
-+ // System call name.
-+ if sysname == "" {
-+ sysname = funct
-+ }
-+
-+ // System call pointer variable name.
-+ sysvarname := fmt.Sprintf("proc%s", sysname)
-+
-+ strconvfunc := "BytePtrFromString"
-+ strconvtype := "*byte"
-+
-+ sysname = strings.ToLower(sysname) // All libc functions are lowercase.
-+
-+ // Runtime import of function to allow cross-platform builds.
-+ dynimports += fmt.Sprintf("//go:cgo_import_dynamic libc_%s %s \"%s.so\"\n", sysname, sysname, modname)
-+ // Link symbol to proc address variable.
-+ linknames += fmt.Sprintf("//go:linkname %s libc_%s\n", sysvarname, sysname)
-+ // Library proc address variable.
-+ vars = append(vars, sysvarname)
-+
-+ // Go function header.
-+ outlist := strings.Join(out, ", ")
-+ if outlist != "" {
-+ outlist = fmt.Sprintf(" (%s)", outlist)
-+ }
-+ if text != "" {
-+ text += "\n"
-+ }
-+ text += fmt.Sprintf("func %s(%s)%s {\n", funct, strings.Join(in, ", "), outlist)
-+
-+ // Check if err return available
-+ errvar := ""
-+ for _, param := range out {
-+ p := parseParam(param)
-+ if p.Type == "error" {
-+ errvar = p.Name
-+ continue
-+ }
-+ }
-+
-+ // Prepare arguments to Syscall.
-+ var args []string
-+ n := 0
-+ for _, param := range in {
-+ p := parseParam(param)
-+ if regexp.MustCompile(`^\*`).FindStringSubmatch(p.Type) != nil {
-+ args = append(args, "uintptr(unsafe.Pointer("+p.Name+"))")
-+ } else if p.Type == "string" && errvar != "" {
-+ text += fmt.Sprintf("\tvar _p%d %s\n", n, strconvtype)
-+ text += fmt.Sprintf("\t_p%d, %s = %s(%s)\n", n, errvar, strconvfunc, p.Name)
-+ text += fmt.Sprintf("\tif %s != nil {\n\t\treturn\n\t}\n", errvar)
-+ args = append(args, fmt.Sprintf("uintptr(unsafe.Pointer(_p%d))", n))
-+ n++
-+ } else if p.Type == "string" {
-+ fmt.Fprintf(os.Stderr, path+":"+funct+" uses string arguments, but has no error return\n")
-+ text += fmt.Sprintf("\tvar _p%d %s\n", n, strconvtype)
-+ text += fmt.Sprintf("\t_p%d, _ = %s(%s)\n", n, strconvfunc, p.Name)
-+ args = append(args, fmt.Sprintf("uintptr(unsafe.Pointer(_p%d))", n))
-+ n++
-+ } else if s := regexp.MustCompile(`^\[\](.*)`).FindStringSubmatch(p.Type); s != nil {
-+ // Convert slice into pointer, length.
-+ // Have to be careful not to take address of &a[0] if len == 0:
-+ // pass nil in that case.
-+ text += fmt.Sprintf("\tvar _p%d *%s\n", n, s[1])
-+ text += fmt.Sprintf("\tif len(%s) > 0 {\n\t\t_p%d = &%s[0]\n\t}\n", p.Name, n, p.Name)
-+ args = append(args, fmt.Sprintf("uintptr(unsafe.Pointer(_p%d))", n), fmt.Sprintf("uintptr(len(%s))", p.Name))
-+ n++
-+ } else if p.Type == "int64" && endianness != "" {
-+ if endianness == "big-endian" {
-+ args = append(args, fmt.Sprintf("uintptr(%s>>32)", p.Name), fmt.Sprintf("uintptr(%s)", p.Name))
-+ } else {
-+ args = append(args, fmt.Sprintf("uintptr(%s)", p.Name), fmt.Sprintf("uintptr(%s>>32)", p.Name))
-+ }
-+ } else if p.Type == "bool" {
-+ text += fmt.Sprintf("\tvar _p%d uint32\n", n)
-+ text += fmt.Sprintf("\tif %s {\n\t\t_p%d = 1\n\t} else {\n\t\t_p%d = 0\n\t}\n", p.Name, n, n)
-+ args = append(args, fmt.Sprintf("uintptr(_p%d)", n))
-+ n++
-+ } else {
-+ args = append(args, fmt.Sprintf("uintptr(%s)", p.Name))
-+ }
-+ }
-+ nargs := len(args)
-+
-+ // Determine which form to use; pad args with zeros.
-+ asm := "sysvicall6"
-+ if nonblock != nil {
-+ asm = "rawSysvicall6"
-+ }
-+ if len(args) <= 6 {
-+ for len(args) < 6 {
-+ args = append(args, "0")
-+ }
-+ } else {
-+ fmt.Fprintf(os.Stderr, "%s: too many arguments to system call\n", path)
-+ os.Exit(1)
-+ }
-+
-+ // Actual call.
-+ arglist := strings.Join(args, ", ")
-+ call := fmt.Sprintf("%s(uintptr(unsafe.Pointer(&%s)), %d, %s)", asm, sysvarname, nargs, arglist)
-+
-+ // Assign return values.
-+ body := ""
-+ ret := []string{"_", "_", "_"}
-+ doErrno := false
-+ for i := 0; i < len(out); i++ {
-+ p := parseParam(out[i])
-+ reg := ""
-+ if p.Name == "err" {
-+ reg = "e1"
-+ ret[2] = reg
-+ doErrno = true
-+ } else {
-+ reg = fmt.Sprintf("r%d", i)
-+ ret[i] = reg
-+ }
-+ if p.Type == "bool" {
-+ reg = fmt.Sprintf("%d != 0", reg)
-+ }
-+ if p.Type == "int64" && endianness != "" {
-+ // 64-bit number in r1:r0 or r0:r1.
-+ if i+2 > len(out) {
-+ fmt.Fprintf(os.Stderr, "%s: not enough registers for int64 return\n", path)
-+ os.Exit(1)
-+ }
-+ if endianness == "big-endian" {
-+ reg = fmt.Sprintf("int64(r%d)<<32 | int64(r%d)", i, i+1)
-+ } else {
-+ reg = fmt.Sprintf("int64(r%d)<<32 | int64(r%d)", i+1, i)
-+ }
-+ ret[i] = fmt.Sprintf("r%d", i)
-+ ret[i+1] = fmt.Sprintf("r%d", i+1)
-+ }
-+ if reg != "e1" {
-+ body += fmt.Sprintf("\t%s = %s(%s)\n", p.Name, p.Type, reg)
-+ }
-+ }
-+ if ret[0] == "_" && ret[1] == "_" && ret[2] == "_" {
-+ text += fmt.Sprintf("\t%s\n", call)
-+ } else {
-+ text += fmt.Sprintf("\t%s, %s, %s := %s\n", ret[0], ret[1], ret[2], call)
-+ }
-+ text += body
-+
-+ if doErrno {
-+ text += "\tif e1 != 0 {\n"
-+ text += "\t\terr = e1\n"
-+ text += "\t}\n"
-+ }
-+ text += "\treturn\n"
-+ text += "}\n"
-+ }
-+ if err := s.Err(); err != nil {
-+ fmt.Fprintf(os.Stderr, err.Error())
-+ os.Exit(1)
-+ }
-+ file.Close()
-+ }
-+ imp := ""
-+ if pack != "unix" {
-+ imp = "import \"golang.org/x/sys/unix\"\n"
-+ }
-+
-+ syscallimp := ""
-+ if !*illumos {
-+ syscallimp = "\"syscall\""
-+ }
-+
-+ vardecls := "\t" + strings.Join(vars, ",\n\t")
-+ vardecls += " syscallFunc"
-+ fmt.Printf(srcTemplate, cmdLine(), buildTags(), pack, syscallimp, imp, dynimports, linknames, vardecls, text)
-+}
-+
-+const srcTemplate = `// %s
-+// Code generated by the command above; see README.md. DO NOT EDIT.
-+
-+// +build %s
-+
-+package %s
-+
-+import (
-+ "unsafe"
-+ %s
-+)
-+%s
-+%s
-+%s
-+var (
-+%s
-+)
-+
-+%s
-+`
-diff --git a/vendor/golang.org/x/sys/unix/mksysctl_openbsd.go b/vendor/golang.org/x/sys/unix/mksysctl_openbsd.go
-new file mode 100644
-index 00000000..b6b40990
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/mksysctl_openbsd.go
-@@ -0,0 +1,355 @@
-+// 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.
-+
-+// +build ignore
-+
-+// Parse the header files for OpenBSD and generate a Go usable sysctl MIB.
-+//
-+// Build a MIB with each entry being an array containing the level, type and
-+// a hash that will contain additional entries if the current entry is a node.
-+// We then walk this MIB and create a flattened sysctl name to OID hash.
-+
-+package main
-+
-+import (
-+ "bufio"
-+ "fmt"
-+ "os"
-+ "path/filepath"
-+ "regexp"
-+ "sort"
-+ "strings"
-+)
-+
-+var (
-+ goos, goarch string
-+)
-+
-+// cmdLine returns this programs's commandline arguments.
-+func cmdLine() string {
-+ return "go run mksysctl_openbsd.go " + strings.Join(os.Args[1:], " ")
-+}
-+
-+// buildTags returns build tags.
-+func buildTags() string {
-+ return fmt.Sprintf("%s,%s", goarch, goos)
-+}
-+
-+// reMatch performs regular expression match and stores the substring slice to value pointed by m.
-+func reMatch(re *regexp.Regexp, str string, m *[]string) bool {
-+ *m = re.FindStringSubmatch(str)
-+ if *m != nil {
-+ return true
-+ }
-+ return false
-+}
-+
-+type nodeElement struct {
-+ n int
-+ t string
-+ pE *map[string]nodeElement
-+}
-+
-+var (
-+ debugEnabled bool
-+ mib map[string]nodeElement
-+ node *map[string]nodeElement
-+ nodeMap map[string]string
-+ sysCtl []string
-+)
-+
-+var (
-+ ctlNames1RE = regexp.MustCompile(`^#define\s+(CTL_NAMES)\s+{`)
-+ ctlNames2RE = regexp.MustCompile(`^#define\s+(CTL_(.*)_NAMES)\s+{`)
-+ ctlNames3RE = regexp.MustCompile(`^#define\s+((.*)CTL_NAMES)\s+{`)
-+ netInetRE = regexp.MustCompile(`^netinet/`)
-+ netInet6RE = regexp.MustCompile(`^netinet6/`)
-+ netRE = regexp.MustCompile(`^net/`)
-+ bracesRE = regexp.MustCompile(`{.*}`)
-+ ctlTypeRE = regexp.MustCompile(`{\s+"(\w+)",\s+(CTLTYPE_[A-Z]+)\s+}`)
-+ fsNetKernRE = regexp.MustCompile(`^(fs|net|kern)_`)
-+)
-+
-+func debug(s string) {
-+ if debugEnabled {
-+ fmt.Fprintln(os.Stderr, s)
-+ }
-+}
-+
-+// Walk the MIB and build a sysctl name to OID mapping.
-+func buildSysctl(pNode *map[string]nodeElement, name string, oid []int) {
-+ lNode := pNode // local copy of pointer to node
-+ var keys []string
-+ for k := range *lNode {
-+ keys = append(keys, k)
-+ }
-+ sort.Strings(keys)
-+
-+ for _, key := range keys {
-+ nodename := name
-+ if name != "" {
-+ nodename += "."
-+ }
-+ nodename += key
-+
-+ nodeoid := append(oid, (*pNode)[key].n)
-+
-+ if (*pNode)[key].t == `CTLTYPE_NODE` {
-+ if _, ok := nodeMap[nodename]; ok {
-+ lNode = &mib
-+ ctlName := nodeMap[nodename]
-+ for _, part := range strings.Split(ctlName, ".") {
-+ lNode = ((*lNode)[part]).pE
-+ }
-+ } else {
-+ lNode = (*pNode)[key].pE
-+ }
-+ buildSysctl(lNode, nodename, nodeoid)
-+ } else if (*pNode)[key].t != "" {
-+ oidStr := []string{}
-+ for j := range nodeoid {
-+ oidStr = append(oidStr, fmt.Sprintf("%d", nodeoid[j]))
-+ }
-+ text := "\t{ \"" + nodename + "\", []_C_int{ " + strings.Join(oidStr, ", ") + " } }, \n"
-+ sysCtl = append(sysCtl, text)
-+ }
-+ }
-+}
-+
-+func main() {
-+ // Get the OS (using GOOS_TARGET if it exist)
-+ goos = os.Getenv("GOOS_TARGET")
-+ if goos == "" {
-+ goos = os.Getenv("GOOS")
-+ }
-+ // Get the architecture (using GOARCH_TARGET if it exists)
-+ goarch = os.Getenv("GOARCH_TARGET")
-+ if goarch == "" {
-+ goarch = os.Getenv("GOARCH")
-+ }
-+ // Check if GOOS and GOARCH environment variables are defined
-+ if goarch == "" || goos == "" {
-+ fmt.Fprintf(os.Stderr, "GOARCH or GOOS not defined in environment\n")
-+ os.Exit(1)
-+ }
-+
-+ mib = make(map[string]nodeElement)
-+ headers := [...]string{
-+ `sys/sysctl.h`,
-+ `sys/socket.h`,
-+ `sys/tty.h`,
-+ `sys/malloc.h`,
-+ `sys/mount.h`,
-+ `sys/namei.h`,
-+ `sys/sem.h`,
-+ `sys/shm.h`,
-+ `sys/vmmeter.h`,
-+ `uvm/uvmexp.h`,
-+ `uvm/uvm_param.h`,
-+ `uvm/uvm_swap_encrypt.h`,
-+ `ddb/db_var.h`,
-+ `net/if.h`,
-+ `net/if_pfsync.h`,
-+ `net/pipex.h`,
-+ `netinet/in.h`,
-+ `netinet/icmp_var.h`,
-+ `netinet/igmp_var.h`,
-+ `netinet/ip_ah.h`,
-+ `netinet/ip_carp.h`,
-+ `netinet/ip_divert.h`,
-+ `netinet/ip_esp.h`,
-+ `netinet/ip_ether.h`,
-+ `netinet/ip_gre.h`,
-+ `netinet/ip_ipcomp.h`,
-+ `netinet/ip_ipip.h`,
-+ `netinet/pim_var.h`,
-+ `netinet/tcp_var.h`,
-+ `netinet/udp_var.h`,
-+ `netinet6/in6.h`,
-+ `netinet6/ip6_divert.h`,
-+ `netinet6/pim6_var.h`,
-+ `netinet/icmp6.h`,
-+ `netmpls/mpls.h`,
-+ }
-+
-+ ctls := [...]string{
-+ `kern`,
-+ `vm`,
-+ `fs`,
-+ `net`,
-+ //debug /* Special handling required */
-+ `hw`,
-+ //machdep /* Arch specific */
-+ `user`,
-+ `ddb`,
-+ //vfs /* Special handling required */
-+ `fs.posix`,
-+ `kern.forkstat`,
-+ `kern.intrcnt`,
-+ `kern.malloc`,
-+ `kern.nchstats`,
-+ `kern.seminfo`,
-+ `kern.shminfo`,
-+ `kern.timecounter`,
-+ `kern.tty`,
-+ `kern.watchdog`,
-+ `net.bpf`,
-+ `net.ifq`,
-+ `net.inet`,
-+ `net.inet.ah`,
-+ `net.inet.carp`,
-+ `net.inet.divert`,
-+ `net.inet.esp`,
-+ `net.inet.etherip`,
-+ `net.inet.gre`,
-+ `net.inet.icmp`,
-+ `net.inet.igmp`,
-+ `net.inet.ip`,
-+ `net.inet.ip.ifq`,
-+ `net.inet.ipcomp`,
-+ `net.inet.ipip`,
-+ `net.inet.mobileip`,
-+ `net.inet.pfsync`,
-+ `net.inet.pim`,
-+ `net.inet.tcp`,
-+ `net.inet.udp`,
-+ `net.inet6`,
-+ `net.inet6.divert`,
-+ `net.inet6.ip6`,
-+ `net.inet6.icmp6`,
-+ `net.inet6.pim6`,
-+ `net.inet6.tcp6`,
-+ `net.inet6.udp6`,
-+ `net.mpls`,
-+ `net.mpls.ifq`,
-+ `net.key`,
-+ `net.pflow`,
-+ `net.pfsync`,
-+ `net.pipex`,
-+ `net.rt`,
-+ `vm.swapencrypt`,
-+ //vfsgenctl /* Special handling required */
-+ }
-+
-+ // Node name "fixups"
-+ ctlMap := map[string]string{
-+ "ipproto": "net.inet",
-+ "net.inet.ipproto": "net.inet",
-+ "net.inet6.ipv6proto": "net.inet6",
-+ "net.inet6.ipv6": "net.inet6.ip6",
-+ "net.inet.icmpv6": "net.inet6.icmp6",
-+ "net.inet6.divert6": "net.inet6.divert",
-+ "net.inet6.tcp6": "net.inet.tcp",
-+ "net.inet6.udp6": "net.inet.udp",
-+ "mpls": "net.mpls",
-+ "swpenc": "vm.swapencrypt",
-+ }
-+
-+ // Node mappings
-+ nodeMap = map[string]string{
-+ "net.inet.ip.ifq": "net.ifq",
-+ "net.inet.pfsync": "net.pfsync",
-+ "net.mpls.ifq": "net.ifq",
-+ }
-+
-+ mCtls := make(map[string]bool)
-+ for _, ctl := range ctls {
-+ mCtls[ctl] = true
-+ }
-+
-+ for _, header := range headers {
-+ debug("Processing " + header)
-+ file, err := os.Open(filepath.Join("/usr/include", header))
-+ if err != nil {
-+ fmt.Fprintf(os.Stderr, "%v\n", err)
-+ os.Exit(1)
-+ }
-+ s := bufio.NewScanner(file)
-+ for s.Scan() {
-+ var sub []string
-+ if reMatch(ctlNames1RE, s.Text(), &sub) ||
-+ reMatch(ctlNames2RE, s.Text(), &sub) ||
-+ reMatch(ctlNames3RE, s.Text(), &sub) {
-+ if sub[1] == `CTL_NAMES` {
-+ // Top level.
-+ node = &mib
-+ } else {
-+ // Node.
-+ nodename := strings.ToLower(sub[2])
-+ ctlName := ""
-+ if reMatch(netInetRE, header, &sub) {
-+ ctlName = "net.inet." + nodename
-+ } else if reMatch(netInet6RE, header, &sub) {
-+ ctlName = "net.inet6." + nodename
-+ } else if reMatch(netRE, header, &sub) {
-+ ctlName = "net." + nodename
-+ } else {
-+ ctlName = nodename
-+ ctlName = fsNetKernRE.ReplaceAllString(ctlName, `$1.`)
-+ }
-+
-+ if val, ok := ctlMap[ctlName]; ok {
-+ ctlName = val
-+ }
-+ if _, ok := mCtls[ctlName]; !ok {
-+ debug("Ignoring " + ctlName + "...")
-+ continue
-+ }
-+
-+ // Walk down from the top of the MIB.
-+ node = &mib
-+ for _, part := range strings.Split(ctlName, ".") {
-+ if _, ok := (*node)[part]; !ok {
-+ debug("Missing node " + part)
-+ (*node)[part] = nodeElement{n: 0, t: "", pE: &map[string]nodeElement{}}
-+ }
-+ node = (*node)[part].pE
-+ }
-+ }
-+
-+ // Populate current node with entries.
-+ i := -1
-+ for !strings.HasPrefix(s.Text(), "}") {
-+ s.Scan()
-+ if reMatch(bracesRE, s.Text(), &sub) {
-+ i++
-+ }
-+ if !reMatch(ctlTypeRE, s.Text(), &sub) {
-+ continue
-+ }
-+ (*node)[sub[1]] = nodeElement{n: i, t: sub[2], pE: &map[string]nodeElement{}}
-+ }
-+ }
-+ }
-+ err = s.Err()
-+ if err != nil {
-+ fmt.Fprintf(os.Stderr, "%v\n", err)
-+ os.Exit(1)
-+ }
-+ file.Close()
-+ }
-+ buildSysctl(&mib, "", []int{})
-+
-+ sort.Strings(sysCtl)
-+ text := strings.Join(sysCtl, "")
-+
-+ fmt.Printf(srcTemplate, cmdLine(), buildTags(), text)
-+}
-+
-+const srcTemplate = `// %s
-+// Code generated by the command above; DO NOT EDIT.
-+
-+// +build %s
-+
-+package unix
-+
-+type mibentry struct {
-+ ctlname string
-+ ctloid []_C_int
-+}
-+
-+var sysctlMib = []mibentry {
-+%s
-+}
-+`
-diff --git a/vendor/golang.org/x/sys/unix/mksysnum.go b/vendor/golang.org/x/sys/unix/mksysnum.go
-new file mode 100644
-index 00000000..baa6ecd8
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/mksysnum.go
-@@ -0,0 +1,190 @@
-+// Copyright 2018 The Go Authors. All rights reserved.
-+// Use of this source code is governed by a BSD-style
-+// license that can be found in the LICENSE file.
-+
-+// +build ignore
-+
-+// Generate system call table for DragonFly, NetBSD,
-+// FreeBSD, OpenBSD or Darwin from master list
-+// (for example, /usr/src/sys/kern/syscalls.master or
-+// sys/syscall.h).
-+package main
-+
-+import (
-+ "bufio"
-+ "fmt"
-+ "io"
-+ "io/ioutil"
-+ "net/http"
-+ "os"
-+ "regexp"
-+ "strings"
-+)
-+
-+var (
-+ goos, goarch string
-+)
-+
-+// cmdLine returns this programs's commandline arguments
-+func cmdLine() string {
-+ return "go run mksysnum.go " + strings.Join(os.Args[1:], " ")
-+}
-+
-+// buildTags returns build tags
-+func buildTags() string {
-+ return fmt.Sprintf("%s,%s", goarch, goos)
-+}
-+
-+func checkErr(err error) {
-+ if err != nil {
-+ fmt.Fprintf(os.Stderr, "%v\n", err)
-+ os.Exit(1)
-+ }
-+}
-+
-+// source string and substring slice for regexp
-+type re struct {
-+ str string // source string
-+ sub []string // matched sub-string
-+}
-+
-+// Match performs regular expression match
-+func (r *re) Match(exp string) bool {
-+ r.sub = regexp.MustCompile(exp).FindStringSubmatch(r.str)
-+ if r.sub != nil {
-+ return true
-+ }
-+ return false
-+}
-+
-+// fetchFile fetches a text file from URL
-+func fetchFile(URL string) io.Reader {
-+ resp, err := http.Get(URL)
-+ checkErr(err)
-+ defer resp.Body.Close()
-+ body, err := ioutil.ReadAll(resp.Body)
-+ checkErr(err)
-+ return strings.NewReader(string(body))
-+}
-+
-+// readFile reads a text file from path
-+func readFile(path string) io.Reader {
-+ file, err := os.Open(os.Args[1])
-+ checkErr(err)
-+ return file
-+}
-+
-+func format(name, num, proto string) string {
-+ name = strings.ToUpper(name)
-+ // There are multiple entries for enosys and nosys, so comment them out.
-+ nm := re{str: name}
-+ if nm.Match(`^SYS_E?NOSYS$`) {
-+ name = fmt.Sprintf("// %s", name)
-+ }
-+ if name == `SYS_SYS_EXIT` {
-+ name = `SYS_EXIT`
-+ }
-+ return fmt.Sprintf(" %s = %s; // %s\n", name, num, proto)
-+}
-+
-+func main() {
-+ // Get the OS (using GOOS_TARGET if it exist)
-+ goos = os.Getenv("GOOS_TARGET")
-+ if goos == "" {
-+ goos = os.Getenv("GOOS")
-+ }
-+ // Get the architecture (using GOARCH_TARGET if it exists)
-+ goarch = os.Getenv("GOARCH_TARGET")
-+ if goarch == "" {
-+ goarch = os.Getenv("GOARCH")
-+ }
-+ // Check if GOOS and GOARCH environment variables are defined
-+ if goarch == "" || goos == "" {
-+ fmt.Fprintf(os.Stderr, "GOARCH or GOOS not defined in environment\n")
-+ os.Exit(1)
-+ }
-+
-+ file := strings.TrimSpace(os.Args[1])
-+ var syscalls io.Reader
-+ if strings.HasPrefix(file, "https://") || strings.HasPrefix(file, "http://") {
-+ // Download syscalls.master file
-+ syscalls = fetchFile(file)
-+ } else {
-+ syscalls = readFile(file)
-+ }
-+
-+ var text, line string
-+ s := bufio.NewScanner(syscalls)
-+ for s.Scan() {
-+ t := re{str: line}
-+ if t.Match(`^(.*)\\$`) {
-+ // Handle continuation
-+ line = t.sub[1]
-+ line += strings.TrimLeft(s.Text(), " \t")
-+ } else {
-+ // New line
-+ line = s.Text()
-+ }
-+ t = re{str: line}
-+ if t.Match(`\\$`) {
-+ continue
-+ }
-+ t = re{str: line}
-+
-+ switch goos {
-+ case "dragonfly":
-+ if t.Match(`^([0-9]+)\s+STD\s+({ \S+\s+(\w+).*)$`) {
-+ num, proto := t.sub[1], t.sub[2]
-+ name := fmt.Sprintf("SYS_%s", t.sub[3])
-+ text += format(name, num, proto)
-+ }
-+ case "freebsd":
-+ if t.Match(`^([0-9]+)\s+\S+\s+(?:(?:NO)?STD|COMPAT10)\s+({ \S+\s+(\w+).*)$`) {
-+ num, proto := t.sub[1], t.sub[2]
-+ name := fmt.Sprintf("SYS_%s", t.sub[3])
-+ text += format(name, num, proto)
-+ }
-+ case "openbsd":
-+ if t.Match(`^([0-9]+)\s+STD\s+(NOLOCK\s+)?({ \S+\s+\*?(\w+).*)$`) {
-+ num, proto, name := t.sub[1], t.sub[3], t.sub[4]
-+ text += format(name, num, proto)
-+ }
-+ case "netbsd":
-+ if t.Match(`^([0-9]+)\s+((STD)|(NOERR))\s+(RUMP\s+)?({\s+\S+\s*\*?\s*\|(\S+)\|(\S*)\|(\w+).*\s+})(\s+(\S+))?$`) {
-+ num, proto, compat := t.sub[1], t.sub[6], t.sub[8]
-+ name := t.sub[7] + "_" + t.sub[9]
-+ if t.sub[11] != "" {
-+ name = t.sub[7] + "_" + t.sub[11]
-+ }
-+ name = strings.ToUpper(name)
-+ if compat == "" || compat == "13" || compat == "30" || compat == "50" {
-+ text += fmt.Sprintf(" %s = %s; // %s\n", name, num, proto)
-+ }
-+ }
-+ case "darwin":
-+ if t.Match(`^#define\s+SYS_(\w+)\s+([0-9]+)`) {
-+ name, num := t.sub[1], t.sub[2]
-+ name = strings.ToUpper(name)
-+ text += fmt.Sprintf(" SYS_%s = %s;\n", name, num)
-+ }
-+ default:
-+ fmt.Fprintf(os.Stderr, "unrecognized GOOS=%s\n", goos)
-+ os.Exit(1)
-+
-+ }
-+ }
-+ err := s.Err()
-+ checkErr(err)
-+
-+ fmt.Printf(template, cmdLine(), buildTags(), text)
-+}
-+
-+const template = `// %s
-+// Code generated by the command above; see README.md. DO NOT EDIT.
-+
-+// +build %s
-+
-+package unix
-+
-+const(
-+%s)`
-diff --git a/vendor/golang.org/x/sys/unix/openbsd_pledge.go b/vendor/golang.org/x/sys/unix/openbsd_pledge.go
-deleted file mode 100644
-index db4f72ea..00000000
---- a/vendor/golang.org/x/sys/unix/openbsd_pledge.go
-+++ /dev/null
-@@ -1,38 +0,0 @@
--// Copyright 2016 The Go Authors. All rights reserved.
--// Use of this source code is governed by a BSD-style
--// license that can be found in the LICENSE file.
--
--// +build openbsd
--// +build 386 amd64 arm
--
--package unix
--
--import (
-- "syscall"
-- "unsafe"
--)
--
--const (
-- SYS_PLEDGE = 108
--)
--
--// Pledge implements the pledge syscall. For more information see pledge(2).
--func Pledge(promises string, paths []string) error {
-- promisesPtr, err := syscall.BytePtrFromString(promises)
-- if err != nil {
-- return err
-- }
-- promisesUnsafe, pathsUnsafe := unsafe.Pointer(promisesPtr), unsafe.Pointer(nil)
-- if paths != nil {
-- var pathsPtr []*byte
-- if pathsPtr, err = syscall.SlicePtrFromStrings(paths); err != nil {
-- return err
-- }
-- pathsUnsafe = unsafe.Pointer(&pathsPtr[0])
-- }
-- _, _, e := syscall.Syscall(SYS_PLEDGE, uintptr(promisesUnsafe), uintptr(pathsUnsafe), 0)
-- if e != 0 {
-- return e
-- }
-- return nil
--}
-diff --git a/vendor/golang.org/x/sys/unix/pagesize_unix.go b/vendor/golang.org/x/sys/unix/pagesize_unix.go
-new file mode 100644
-index 00000000..bc2f3629
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/pagesize_unix.go
-@@ -0,0 +1,15 @@
-+// 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.
-+
-+// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
-+
-+// For Unix, get the pagesize from the runtime.
-+
-+package unix
-+
-+import "syscall"
-+
-+func Getpagesize() int {
-+ return syscall.Getpagesize()
-+}
-diff --git a/vendor/golang.org/x/sys/unix/pledge_openbsd.go b/vendor/golang.org/x/sys/unix/pledge_openbsd.go
-new file mode 100644
-index 00000000..eb48294b
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/pledge_openbsd.go
-@@ -0,0 +1,163 @@
-+// Copyright 2016 The Go Authors. All rights reserved.
-+// Use of this source code is governed by a BSD-style
-+// license that can be found in the LICENSE file.
-+
-+package unix
-+
-+import (
-+ "errors"
-+ "fmt"
-+ "strconv"
-+ "syscall"
-+ "unsafe"
-+)
-+
-+// Pledge implements the pledge syscall.
-+//
-+// The pledge syscall does not accept execpromises on OpenBSD releases
-+// before 6.3.
-+//
-+// execpromises must be empty when Pledge is called on OpenBSD
-+// releases predating 6.3, otherwise an error will be returned.
-+//
-+// For more information see pledge(2).
-+func Pledge(promises, execpromises string) error {
-+ maj, min, err := majmin()
-+ if err != nil {
-+ return err
-+ }
-+
-+ err = pledgeAvailable(maj, min, execpromises)
-+ if err != nil {
-+ return err
-+ }
-+
-+ pptr, err := syscall.BytePtrFromString(promises)
-+ if err != nil {
-+ return err
-+ }
-+
-+ // This variable will hold either a nil unsafe.Pointer or
-+ // an unsafe.Pointer to a string (execpromises).
-+ var expr unsafe.Pointer
-+
-+ // If we're running on OpenBSD > 6.2, pass execpromises to the syscall.
-+ if maj > 6 || (maj == 6 && min > 2) {
-+ exptr, err := syscall.BytePtrFromString(execpromises)
-+ if err != nil {
-+ return err
-+ }
-+ expr = unsafe.Pointer(exptr)
-+ }
-+
-+ _, _, e := syscall.Syscall(SYS_PLEDGE, uintptr(unsafe.Pointer(pptr)), uintptr(expr), 0)
-+ if e != 0 {
-+ return e
-+ }
-+
-+ return nil
-+}
-+
-+// PledgePromises implements the pledge syscall.
-+//
-+// This changes the promises and leaves the execpromises untouched.
-+//
-+// For more information see pledge(2).
-+func PledgePromises(promises string) error {
-+ maj, min, err := majmin()
-+ if err != nil {
-+ return err
-+ }
-+
-+ err = pledgeAvailable(maj, min, "")
-+ if err != nil {
-+ return err
-+ }
-+
-+ // This variable holds the execpromises and is always nil.
-+ var expr unsafe.Pointer
-+
-+ pptr, err := syscall.BytePtrFromString(promises)
-+ if err != nil {
-+ return err
-+ }
-+
-+ _, _, e := syscall.Syscall(SYS_PLEDGE, uintptr(unsafe.Pointer(pptr)), uintptr(expr), 0)
-+ if e != 0 {
-+ return e
-+ }
-+
-+ return nil
-+}
-+
-+// PledgeExecpromises implements the pledge syscall.
-+//
-+// This changes the execpromises and leaves the promises untouched.
-+//
-+// For more information see pledge(2).
-+func PledgeExecpromises(execpromises string) error {
-+ maj, min, err := majmin()
-+ if err != nil {
-+ return err
-+ }
-+
-+ err = pledgeAvailable(maj, min, execpromises)
-+ if err != nil {
-+ return err
-+ }
-+
-+ // This variable holds the promises and is always nil.
-+ var pptr unsafe.Pointer
-+
-+ exptr, err := syscall.BytePtrFromString(execpromises)
-+ if err != nil {
-+ return err
-+ }
-+
-+ _, _, e := syscall.Syscall(SYS_PLEDGE, uintptr(pptr), uintptr(unsafe.Pointer(exptr)), 0)
-+ if e != 0 {
-+ return e
-+ }
-+
-+ return nil
-+}
-+
-+// majmin returns major and minor version number for an OpenBSD system.
-+func majmin() (major int, minor int, err error) {
-+ var v Utsname
-+ err = Uname(&v)
-+ if err != nil {
-+ return
-+ }
-+
-+ major, err = strconv.Atoi(string(v.Release[0]))
-+ if err != nil {
-+ err = errors.New("cannot parse major version number returned by uname")
-+ return
-+ }
-+
-+ minor, err = strconv.Atoi(string(v.Release[2]))
-+ if err != nil {
-+ err = errors.New("cannot parse minor version number returned by uname")
-+ return
-+ }
-+
-+ return
-+}
-+
-+// pledgeAvailable checks for availability of the pledge(2) syscall
-+// based on the running OpenBSD version.
-+func pledgeAvailable(maj, min int, execpromises string) error {
-+ // If OpenBSD <= 5.9, pledge is not available.
-+ if (maj == 5 && min != 9) || maj < 5 {
-+ return fmt.Errorf("pledge syscall is not available on OpenBSD %d.%d", maj, min)
-+ }
-+
-+ // If OpenBSD <= 6.2 and execpromises is not empty,
-+ // return an error - execpromises is not available before 6.3
-+ if (maj < 6 || (maj == 6 && min <= 2)) && execpromises != "" {
-+ return fmt.Errorf("cannot use execpromises on OpenBSD %d.%d", maj, min)
-+ }
-+
-+ return nil
-+}
-diff --git a/vendor/golang.org/x/sys/unix/race.go b/vendor/golang.org/x/sys/unix/race.go
-index 3c7627eb..61712b51 100644
---- a/vendor/golang.org/x/sys/unix/race.go
-+++ b/vendor/golang.org/x/sys/unix/race.go
-@@ -1,4 +1,4 @@
--// Copyright 2012 The Go Authors. All rights reserved.
-+// Copyright 2012 The Go Authors. All rights reserved.
- // Use of this source code is governed by a BSD-style
- // license that can be found in the LICENSE file.
-
-diff --git a/vendor/golang.org/x/sys/unix/race0.go b/vendor/golang.org/x/sys/unix/race0.go
-index f8678e0d..ad026678 100644
---- a/vendor/golang.org/x/sys/unix/race0.go
-+++ b/vendor/golang.org/x/sys/unix/race0.go
-@@ -1,8 +1,8 @@
--// Copyright 2012 The Go Authors. All rights reserved.
-+// Copyright 2012 The Go Authors. All rights reserved.
- // Use of this source code is governed by a BSD-style
- // license that can be found in the LICENSE file.
-
--// +build darwin,!race linux,!race freebsd,!race netbsd openbsd solaris dragonfly
-+// +build aix darwin,!race linux,!race freebsd,!race netbsd openbsd solaris dragonfly
-
- package unix
-
-diff --git a/vendor/golang.org/x/sys/unix/readdirent_getdents.go b/vendor/golang.org/x/sys/unix/readdirent_getdents.go
-new file mode 100644
-index 00000000..3a90aa6d
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/readdirent_getdents.go
-@@ -0,0 +1,12 @@
-+// 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.
-+
-+// +build aix dragonfly freebsd linux netbsd openbsd
-+
-+package unix
-+
-+// ReadDirent reads directory entries from fd and writes them into buf.
-+func ReadDirent(fd int, buf []byte) (n int, err error) {
-+ return Getdents(fd, buf)
-+}
-diff --git a/vendor/golang.org/x/sys/unix/readdirent_getdirentries.go b/vendor/golang.org/x/sys/unix/readdirent_getdirentries.go
-new file mode 100644
-index 00000000..5fdae40b
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/readdirent_getdirentries.go
-@@ -0,0 +1,19 @@
-+// 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.
-+
-+// +build darwin
-+
-+package unix
-+
-+import "unsafe"
-+
-+// ReadDirent reads directory entries from fd and writes them into buf.
-+func ReadDirent(fd int, buf []byte) (n int, err error) {
-+ // Final argument is (basep *uintptr) and the syscall doesn't take nil.
-+ // 64 bits should be enough. (32 bits isn't even on 386). Since the
-+ // actual system call is getdirentries64, 64 is a good guess.
-+ // TODO(rsc): Can we use a single global basep for all calls?
-+ var base = (*uintptr)(unsafe.Pointer(new(uint64)))
-+ return Getdirentries(fd, buf, base)
-+}
-diff --git a/vendor/golang.org/x/sys/unix/sockcmsg_dragonfly.go b/vendor/golang.org/x/sys/unix/sockcmsg_dragonfly.go
-new file mode 100644
-index 00000000..5144deec
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/sockcmsg_dragonfly.go
-@@ -0,0 +1,16 @@
-+// 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.
-+
-+package unix
-+
-+// Round the length of a raw sockaddr up to align it properly.
-+func cmsgAlignOf(salen int) int {
-+ salign := SizeofPtr
-+ if SizeofPtr == 8 && !supportsABI(_dragonflyABIChangeVersion) {
-+ // 64-bit Dragonfly before the September 2019 ABI changes still requires
-+ // 32-bit aligned access to network subsystem.
-+ salign = 4
-+ }
-+ return (salen + salign - 1) & ^(salign - 1)
-+}
-diff --git a/vendor/golang.org/x/sys/unix/sockcmsg_linux.go b/vendor/golang.org/x/sys/unix/sockcmsg_linux.go
-index d9ff4731..8bf45705 100644
---- a/vendor/golang.org/x/sys/unix/sockcmsg_linux.go
-+++ b/vendor/golang.org/x/sys/unix/sockcmsg_linux.go
-@@ -1,4 +1,4 @@
--// Copyright 2011 The Go Authors. All rights reserved.
-+// Copyright 2011 The Go Authors. All rights reserved.
- // Use of this source code is governed by a BSD-style
- // license that can be found in the LICENSE file.
-
-@@ -17,7 +17,7 @@ func UnixCredentials(ucred *Ucred) []byte {
- h.Level = SOL_SOCKET
- h.Type = SCM_CREDENTIALS
- h.SetLen(CmsgLen(SizeofUcred))
-- *((*Ucred)(cmsgData(h))) = *ucred
-+ *(*Ucred)(h.data(0)) = *ucred
- return b
- }
-
-diff --git a/vendor/golang.org/x/sys/unix/sockcmsg_unix.go b/vendor/golang.org/x/sys/unix/sockcmsg_unix.go
-index bb756ece..003916ed 100644
---- a/vendor/golang.org/x/sys/unix/sockcmsg_unix.go
-+++ b/vendor/golang.org/x/sys/unix/sockcmsg_unix.go
-@@ -2,25 +2,15 @@
- // Use of this source code is governed by a BSD-style
- // license that can be found in the LICENSE file.
-
--// +build darwin dragonfly freebsd linux netbsd openbsd solaris
-+// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
-
- // Socket control messages
-
- package unix
-
--import "unsafe"
--
--// Round the length of a raw sockaddr up to align it properly.
--func cmsgAlignOf(salen int) int {
-- salign := sizeofPtr
-- // NOTE: It seems like 64-bit Darwin, DragonFly BSD and
-- // Solaris kernels still require 32-bit aligned access to
-- // network subsystem.
-- if darwin64Bit || dragonfly64Bit || solaris64Bit {
-- salign = 4
-- }
-- return (salen + salign - 1) & ^(salign - 1)
--}
-+import (
-+ "unsafe"
-+)
-
- // CmsgLen returns the value to store in the Len field of the Cmsghdr
- // structure, taking into account any necessary alignment.
-@@ -34,8 +24,8 @@ func CmsgSpace(datalen int) int {
- return cmsgAlignOf(SizeofCmsghdr) + cmsgAlignOf(datalen)
- }
-
--func cmsgData(h *Cmsghdr) unsafe.Pointer {
-- return unsafe.Pointer(uintptr(unsafe.Pointer(h)) + uintptr(cmsgAlignOf(SizeofCmsghdr)))
-+func (h *Cmsghdr) data(offset uintptr) unsafe.Pointer {
-+ return unsafe.Pointer(uintptr(unsafe.Pointer(h)) + uintptr(cmsgAlignOf(SizeofCmsghdr)) + offset)
- }
-
- // SocketControlMessage represents a socket control message.
-@@ -78,10 +68,8 @@ func UnixRights(fds ...int) []byte {
- h.Level = SOL_SOCKET
- h.Type = SCM_RIGHTS
- h.SetLen(CmsgLen(datalen))
-- data := cmsgData(h)
-- for _, fd := range fds {
-- *(*int32)(data) = int32(fd)
-- data = unsafe.Pointer(uintptr(data) + 4)
-+ for i, fd := range fds {
-+ *(*int32)(h.data(4 * uintptr(i))) = int32(fd)
- }
- return b
- }
-diff --git a/vendor/golang.org/x/sys/unix/sockcmsg_unix_other.go b/vendor/golang.org/x/sys/unix/sockcmsg_unix_other.go
-new file mode 100644
-index 00000000..7d08dae5
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/sockcmsg_unix_other.go
-@@ -0,0 +1,38 @@
-+// 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.
-+
-+// +build aix darwin freebsd linux netbsd openbsd solaris
-+
-+package unix
-+
-+import (
-+ "runtime"
-+)
-+
-+// Round the length of a raw sockaddr up to align it properly.
-+func cmsgAlignOf(salen int) int {
-+ salign := SizeofPtr
-+
-+ // dragonfly needs to check ABI version at runtime, see cmsgAlignOf in
-+ // sockcmsg_dragonfly.go
-+ switch runtime.GOOS {
-+ case "aix":
-+ // There is no alignment on AIX.
-+ salign = 1
-+ case "darwin", "illumos", "solaris":
-+ // NOTE: It seems like 64-bit Darwin, Illumos and Solaris
-+ // kernels still require 32-bit aligned access to network
-+ // subsystem.
-+ if SizeofPtr == 8 {
-+ salign = 4
-+ }
-+ case "netbsd", "openbsd":
-+ // NetBSD and OpenBSD armv7 require 64-bit alignment.
-+ if runtime.GOARCH == "arm" {
-+ salign = 8
-+ }
-+ }
-+
-+ return (salen + salign - 1) & ^(salign - 1)
-+}
-diff --git a/vendor/golang.org/x/sys/unix/str.go b/vendor/golang.org/x/sys/unix/str.go
-index 35ed6643..17fb6986 100644
---- a/vendor/golang.org/x/sys/unix/str.go
-+++ b/vendor/golang.org/x/sys/unix/str.go
-@@ -2,7 +2,7 @@
- // Use of this source code is governed by a BSD-style
- // license that can be found in the LICENSE file.
-
--// +build darwin dragonfly freebsd linux netbsd openbsd solaris
-+// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
-
- package unix
-
-diff --git a/vendor/golang.org/x/sys/unix/syscall.go b/vendor/golang.org/x/sys/unix/syscall.go
-index 85e35020..fd4ee8eb 100644
---- a/vendor/golang.org/x/sys/unix/syscall.go
-+++ b/vendor/golang.org/x/sys/unix/syscall.go
-@@ -2,33 +2,36 @@
- // Use of this source code is governed by a BSD-style
- // license that can be found in the LICENSE file.
-
--// +build darwin dragonfly freebsd linux netbsd openbsd solaris
-+// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
-
- // Package unix contains an interface to the low-level operating system
--// primitives. OS details vary depending on the underlying system, and
-+// primitives. OS details vary depending on the underlying system, and
- // by default, godoc will display OS-specific documentation for the current
--// system. If you want godoc to display OS documentation for another
--// system, set $GOOS and $GOARCH to the desired system. For example, if
-+// system. If you want godoc to display OS documentation for another
-+// system, set $GOOS and $GOARCH to the desired system. For example, if
- // you want to view documentation for freebsd/arm on linux/amd64, set $GOOS
- // to freebsd and $GOARCH to arm.
-+//
- // The primary use of this package is inside other packages that provide a more
- // portable interface to the system, such as "os", "time" and "net". Use
- // those packages rather than this one if you can.
-+//
- // For details of the functions and data types in this package consult
- // the manuals for the appropriate operating system.
-+//
- // These calls return err == nil to indicate success; otherwise
- // err represents an operating system error describing the failure and
- // holds a value of type syscall.Errno.
- package unix // import "golang.org/x/sys/unix"
-
-+import "strings"
-+
- // ByteSliceFromString returns a NUL-terminated slice of bytes
- // containing the text of s. If s contains a NUL byte at any
- // location, it returns (nil, EINVAL).
- func ByteSliceFromString(s string) ([]byte, error) {
-- for i := 0; i < len(s); i++ {
-- if s[i] == 0 {
-- return nil, EINVAL
-- }
-+ if strings.IndexByte(s, 0) != -1 {
-+ return nil, EINVAL
- }
- a := make([]byte, len(s)+1)
- copy(a, s)
-@@ -47,23 +50,4 @@ func BytePtrFromString(s string) (*byte, error) {
- }
-
- // Single-word zero for use when we need a valid pointer to 0 bytes.
--// See mkunix.pl.
- var _zero uintptr
--
--func (ts *Timespec) Unix() (sec int64, nsec int64) {
-- return int64(ts.Sec), int64(ts.Nsec)
--}
--
--func (tv *Timeval) Unix() (sec int64, nsec int64) {
-- return int64(tv.Sec), int64(tv.Usec) * 1000
--}
--
--func (ts *Timespec) Nano() int64 {
-- return int64(ts.Sec)*1e9 + int64(ts.Nsec)
--}
--
--func (tv *Timeval) Nano() int64 {
-- return int64(tv.Sec)*1e9 + int64(tv.Usec)*1000
--}
--
--func TimevalToNsec(tv Timeval) int64 { return int64(tv.Sec)*1e9 + int64(tv.Usec)*1e3 }
-diff --git a/vendor/golang.org/x/sys/unix/syscall_aix.go b/vendor/golang.org/x/sys/unix/syscall_aix.go
-new file mode 100644
-index 00000000..9ad8a0d4
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/syscall_aix.go
-@@ -0,0 +1,536 @@
-+// Copyright 2018 The Go Authors. All rights reserved.
-+// Use of this source code is governed by a BSD-style
-+// license that can be found in the LICENSE file.
-+
-+// +build aix
-+
-+// Aix system calls.
-+// This file is compiled as ordinary Go code,
-+// but it is also input to mksyscall,
-+// which parses the //sys lines and generates system call stubs.
-+// Note that sometimes we use a lowercase //sys name and
-+// wrap it in our own nicer implementation.
-+
-+package unix
-+
-+import "unsafe"
-+
-+/*
-+ * Wrapped
-+ */
-+
-+//sys utimes(path string, times *[2]Timeval) (err error)
-+func Utimes(path string, tv []Timeval) error {
-+ if len(tv) != 2 {
-+ return EINVAL
-+ }
-+ return utimes(path, (*[2]Timeval)(unsafe.Pointer(&tv[0])))
-+}
-+
-+//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
-+ }
-+ return utimensat(AT_FDCWD, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), 0)
-+}
-+
-+func UtimesNanoAt(dirfd int, path string, ts []Timespec, flags int) error {
-+ if ts == nil {
-+ return utimensat(dirfd, path, nil, flags)
-+ }
-+ if len(ts) != 2 {
-+ return EINVAL
-+ }
-+ return utimensat(dirfd, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), flags)
-+}
-+
-+func (sa *SockaddrInet4) sockaddr() (unsafe.Pointer, _Socklen, error) {
-+ if sa.Port < 0 || sa.Port > 0xFFFF {
-+ return nil, 0, EINVAL
-+ }
-+ sa.raw.Family = AF_INET
-+ p := (*[2]byte)(unsafe.Pointer(&sa.raw.Port))
-+ p[0] = byte(sa.Port >> 8)
-+ p[1] = byte(sa.Port)
-+ for i := 0; i < len(sa.Addr); i++ {
-+ sa.raw.Addr[i] = sa.Addr[i]
-+ }
-+ return unsafe.Pointer(&sa.raw), SizeofSockaddrInet4, nil
-+}
-+
-+func (sa *SockaddrInet6) sockaddr() (unsafe.Pointer, _Socklen, error) {
-+ if sa.Port < 0 || sa.Port > 0xFFFF {
-+ return nil, 0, EINVAL
-+ }
-+ sa.raw.Family = AF_INET6
-+ p := (*[2]byte)(unsafe.Pointer(&sa.raw.Port))
-+ p[0] = byte(sa.Port >> 8)
-+ p[1] = byte(sa.Port)
-+ sa.raw.Scope_id = sa.ZoneId
-+ for i := 0; i < len(sa.Addr); i++ {
-+ sa.raw.Addr[i] = sa.Addr[i]
-+ }
-+ return unsafe.Pointer(&sa.raw), SizeofSockaddrInet6, nil
-+}
-+
-+func (sa *SockaddrUnix) sockaddr() (unsafe.Pointer, _Socklen, error) {
-+ name := sa.Name
-+ n := len(name)
-+ if n > len(sa.raw.Path) {
-+ return nil, 0, EINVAL
-+ }
-+ if n == len(sa.raw.Path) && name[0] != '@' {
-+ return nil, 0, EINVAL
-+ }
-+ sa.raw.Family = AF_UNIX
-+ for i := 0; i < n; i++ {
-+ sa.raw.Path[i] = uint8(name[i])
-+ }
-+ // length is family (uint16), name, NUL.
-+ sl := _Socklen(2)
-+ if n > 0 {
-+ sl += _Socklen(n) + 1
-+ }
-+ if sa.raw.Path[0] == '@' {
-+ sa.raw.Path[0] = 0
-+ // Don't count trailing NUL for abstract address.
-+ sl--
-+ }
-+
-+ return unsafe.Pointer(&sa.raw), sl, nil
-+}
-+
-+func Getsockname(fd int) (sa Sockaddr, err error) {
-+ var rsa RawSockaddrAny
-+ var len _Socklen = SizeofSockaddrAny
-+ if err = getsockname(fd, &rsa, &len); err != nil {
-+ return
-+ }
-+ return anyToSockaddr(fd, &rsa)
-+}
-+
-+//sys getcwd(buf []byte) (err error)
-+
-+const ImplementsGetwd = true
-+
-+func Getwd() (ret string, err error) {
-+ for len := uint64(4096); ; len *= 2 {
-+ b := make([]byte, len)
-+ err := getcwd(b)
-+ if err == nil {
-+ i := 0
-+ for b[i] != 0 {
-+ i++
-+ }
-+ return string(b[0:i]), nil
-+ }
-+ if err != ERANGE {
-+ return "", err
-+ }
-+ }
-+}
-+
-+func Getcwd(buf []byte) (n int, err error) {
-+ err = getcwd(buf)
-+ if err == nil {
-+ i := 0
-+ for buf[i] != 0 {
-+ i++
-+ }
-+ n = i + 1
-+ }
-+ return
-+}
-+
-+func Getgroups() (gids []int, err error) {
-+ n, err := getgroups(0, nil)
-+ if err != nil {
-+ return nil, err
-+ }
-+ if n == 0 {
-+ return nil, nil
-+ }
-+
-+ // Sanity check group count. Max is 16 on BSD.
-+ if n < 0 || n > 1000 {
-+ return nil, EINVAL
-+ }
-+
-+ a := make([]_Gid_t, n)
-+ n, err = getgroups(n, &a[0])
-+ if err != nil {
-+ return nil, err
-+ }
-+ gids = make([]int, n)
-+ for i, v := range a[0:n] {
-+ gids[i] = int(v)
-+ }
-+ return
-+}
-+
-+func Setgroups(gids []int) (err error) {
-+ if len(gids) == 0 {
-+ return setgroups(0, nil)
-+ }
-+
-+ a := make([]_Gid_t, len(gids))
-+ for i, v := range gids {
-+ a[i] = _Gid_t(v)
-+ }
-+ return setgroups(len(a), &a[0])
-+}
-+
-+/*
-+ * Socket
-+ */
-+
-+//sys accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error)
-+
-+func Accept(fd int) (nfd int, sa Sockaddr, err error) {
-+ var rsa RawSockaddrAny
-+ var len _Socklen = SizeofSockaddrAny
-+ nfd, err = accept(fd, &rsa, &len)
-+ if nfd == -1 {
-+ return
-+ }
-+ sa, err = anyToSockaddr(fd, &rsa)
-+ if err != nil {
-+ Close(nfd)
-+ nfd = 0
-+ }
-+ 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)
-+ 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 anyToSockaddr(fd int, rsa *RawSockaddrAny) (Sockaddr, error) {
-+ switch rsa.Addr.Family {
-+
-+ case AF_UNIX:
-+ pp := (*RawSockaddrUnix)(unsafe.Pointer(rsa))
-+ sa := new(SockaddrUnix)
-+
-+ // Some versions of AIX have a bug in getsockname (see IV78655).
-+ // We can't rely on sa.Len being set correctly.
-+ n := SizeofSockaddrUnix - 3 // subtract leading Family, Len, terminating NUL.
-+ for i := 0; i < n; i++ {
-+ if pp.Path[i] == 0 {
-+ n = i
-+ break
-+ }
-+ }
-+
-+ bytes := (*[10000]byte)(unsafe.Pointer(&pp.Path[0]))[0:n]
-+ sa.Name = string(bytes)
-+ return sa, nil
-+
-+ case AF_INET:
-+ pp := (*RawSockaddrInet4)(unsafe.Pointer(rsa))
-+ sa := new(SockaddrInet4)
-+ p := (*[2]byte)(unsafe.Pointer(&pp.Port))
-+ sa.Port = int(p[0])<<8 + int(p[1])
-+ for i := 0; i < len(sa.Addr); i++ {
-+ sa.Addr[i] = pp.Addr[i]
-+ }
-+ return sa, nil
-+
-+ case AF_INET6:
-+ pp := (*RawSockaddrInet6)(unsafe.Pointer(rsa))
-+ sa := new(SockaddrInet6)
-+ p := (*[2]byte)(unsafe.Pointer(&pp.Port))
-+ sa.Port = int(p[0])<<8 + int(p[1])
-+ sa.ZoneId = pp.Scope_id
-+ for i := 0; i < len(sa.Addr); i++ {
-+ sa.Addr[i] = pp.Addr[i]
-+ }
-+ return sa, nil
-+ }
-+ return nil, EAFNOSUPPORT
-+}
-+
-+func Gettimeofday(tv *Timeval) (err error) {
-+ err = gettimeofday(tv, nil)
-+ return
-+}
-+
-+func Sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
-+ if raceenabled {
-+ raceReleaseMerge(unsafe.Pointer(&ioSync))
-+ }
-+ return sendfile(outfd, infd, offset, count)
-+}
-+
-+// TODO
-+func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
-+ return -1, ENOSYS
-+}
-+
-+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
-+}
-+
-+//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
-+ err = ERESTART
-+ // AIX wait4 may return with ERESTART errno, while the processus is still
-+ // active.
-+ for err == ERESTART {
-+ r, err = wait4(Pid_t(pid), &status, options, rusage)
-+ }
-+ wpid = int(r)
-+ if wstatus != nil {
-+ *wstatus = WaitStatus(status)
-+ }
-+ return
-+}
-+
-+/*
-+ * Wait
-+ */
-+
-+type WaitStatus uint32
-+
-+func (w WaitStatus) Stopped() bool { return w&0x40 != 0 }
-+func (w WaitStatus) StopSignal() Signal {
-+ if !w.Stopped() {
-+ return -1
-+ }
-+ return Signal(w>>8) & 0xFF
-+}
-+
-+func (w WaitStatus) Exited() bool { return w&0xFF == 0 }
-+func (w WaitStatus) ExitStatus() int {
-+ if !w.Exited() {
-+ return -1
-+ }
-+ return int((w >> 8) & 0xFF)
-+}
-+
-+func (w WaitStatus) Signaled() bool { return w&0x40 == 0 && w&0xFF != 0 }
-+func (w WaitStatus) Signal() Signal {
-+ if !w.Signaled() {
-+ return -1
-+ }
-+ return Signal(w>>16) & 0xFF
-+}
-+
-+func (w WaitStatus) Continued() bool { return w&0x01000000 != 0 }
-+
-+func (w WaitStatus) CoreDump() bool { return w&0x80 == 0x80 }
-+
-+func (w WaitStatus) TrapCause() int { return -1 }
-+
-+//sys ioctl(fd int, req uint, arg uintptr) (err error)
-+
-+// fcntl must never be called with cmd=F_DUP2FD because it doesn't work on AIX
-+// There is no way to create a custom fcntl and to keep //sys fcntl easily,
-+// Therefore, the programmer must call dup2 instead of fcntl in this case.
-+
-+// FcntlInt performs a fcntl syscall on fd with the provided command and argument.
-+//sys FcntlInt(fd uintptr, cmd int, arg int) (r int,err error) = fcntl
-+
-+// FcntlFlock performs a fcntl syscall for the F_GETLK, F_SETLK or F_SETLKW command.
-+//sys FcntlFlock(fd uintptr, cmd int, lk *Flock_t) (err error) = fcntl
-+
-+//sys fcntl(fd int, cmd int, arg int) (val int, err error)
-+
-+/*
-+ * Direct access
-+ */
-+
-+//sys Acct(path string) (err error)
-+//sys Chdir(path string) (err error)
-+//sys Chroot(path string) (err error)
-+//sys Close(fd int) (err error)
-+//sys Dup(oldfd int) (fd int, err error)
-+//sys Exit(code int)
-+//sys Faccessat(dirfd int, path string, mode uint32, flags int) (err error)
-+//sys Fchdir(fd int) (err error)
-+//sys Fchmod(fd int, mode uint32) (err error)
-+//sys Fchmodat(dirfd int, path string, mode uint32, flags int) (err error)
-+//sys Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error)
-+//sys Fdatasync(fd int) (err error)
-+//sys Fsync(fd int) (err error)
-+// readdir_r
-+//sysnb Getpgid(pid int) (pgid int, err error)
-+
-+//sys Getpgrp() (pid int)
-+
-+//sysnb Getpid() (pid int)
-+//sysnb Getppid() (ppid int)
-+//sys Getpriority(which int, who int) (prio int, err error)
-+//sysnb Getrusage(who int, rusage *Rusage) (err error)
-+//sysnb Getsid(pid int) (sid int, err error)
-+//sysnb Kill(pid int, sig Signal) (err error)
-+//sys Klogctl(typ int, buf []byte) (n int, err error) = syslog
-+//sys Mkdir(dirfd int, 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(dirfd int, path string, mode uint32, dev int) (err error)
-+//sys Nanosleep(time *Timespec, leftover *Timespec) (err error)
-+//sys Open(path string, mode int, perm uint32) (fd int, err error) = open64
-+//sys Openat(dirfd int, path string, flags int, mode uint32) (fd int, err error)
-+//sys read(fd int, p []byte) (n int, err error)
-+//sys Readlink(path string, buf []byte) (n int, err error)
-+//sys Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error)
-+//sys Setdomainname(p []byte) (err error)
-+//sys Sethostname(p []byte) (err error)
-+//sysnb Setpgid(pid int, pgid int) (err error)
-+//sysnb Setsid() (pid int, err error)
-+//sysnb Settimeofday(tv *Timeval) (err error)
-+
-+//sys Setuid(uid int) (err error)
-+//sys Setgid(uid int) (err error)
-+
-+//sys Setpriority(which int, who int, prio int) (err error)
-+//sys Statx(dirfd int, path string, flags int, mask int, stat *Statx_t) (err error)
-+//sys Sync()
-+//sysnb Times(tms *Tms) (ticks uintptr, err error)
-+//sysnb Umask(mask int) (oldmask int)
-+//sysnb Uname(buf *Utsname) (err error)
-+//sys Unlink(path string) (err error)
-+//sys Unlinkat(dirfd int, path string, flags int) (err error)
-+//sys Ustat(dev int, ubuf *Ustat_t) (err error)
-+//sys write(fd int, p []byte) (n int, err error)
-+//sys readlen(fd int, p *byte, np int) (n int, err error) = read
-+//sys writelen(fd int, p *byte, np int) (n int, err error) = write
-+
-+//sys Dup2(oldfd int, newfd int) (err error)
-+//sys Fadvise(fd int, offset int64, length int64, advice int) (err error) = posix_fadvise64
-+//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) = fstatat
-+//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 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) = 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)
-+//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, statptr *Stat_t) (err error)
-+//sys Statfs(path string, buf *Statfs_t) (err error)
-+//sys Truncate(path string, length int64) (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)
-+
-+// In order to use msghdr structure with Control, Controllen, nrecvmsg and nsendmsg must be used.
-+//sys recvmsg(s int, msg *Msghdr, flags int) (n int, err error) = nrecvmsg
-+//sys sendmsg(s int, msg *Msghdr, flags int) (n int, err error) = nsendmsg
-+
-+//sys munmap(addr uintptr, length uintptr) (err error)
-+
-+var mapper = &mmapper{
-+ active: make(map[*byte][]byte),
-+ mmap: mmap,
-+ munmap: munmap,
-+}
-+
-+func Mmap(fd int, offset int64, length int, prot int, flags int) (data []byte, err error) {
-+ return mapper.Mmap(fd, offset, length, prot, flags)
-+}
-+
-+func Munmap(b []byte) (err error) {
-+ return mapper.Munmap(b)
-+}
-+
-+//sys Madvise(b []byte, advice int) (err error)
-+//sys Mprotect(b []byte, prot int) (err error)
-+//sys Mlock(b []byte) (err error)
-+//sys Mlockall(flags int) (err error)
-+//sys Msync(b []byte, flags int) (err error)
-+//sys Munlock(b []byte) (err error)
-+//sys Munlockall() (err error)
-+
-+//sysnb pipe(p *[2]_C_int) (err error)
-+
-+func Pipe(p []int) (err error) {
-+ if len(p) != 2 {
-+ return EINVAL
-+ }
-+ var pp [2]_C_int
-+ err = pipe(&pp)
-+ p[0] = int(pp[0])
-+ p[1] = int(pp[1])
-+ return
-+}
-+
-+//sys 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 gettimeofday(tv *Timeval, tzp *Timezone) (err error)
-+//sysnb Time(t *Time_t) (tt Time_t, err error)
-+//sys Utime(path string, buf *Utimbuf) (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.
-+ return ENOSYS
-+ }
-+ return umount(target)
-+}
-diff --git a/vendor/golang.org/x/sys/unix/syscall_aix_ppc.go b/vendor/golang.org/x/sys/unix/syscall_aix_ppc.go
-new file mode 100644
-index 00000000..b3c8e330
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/syscall_aix_ppc.go
-@@ -0,0 +1,54 @@
-+// Copyright 2018 The Go Authors. All rights reserved.
-+// Use of this source code is governed by a BSD-style
-+// license that can be found in the LICENSE file.
-+
-+// +build aix
-+// +build ppc
-+
-+package unix
-+
-+//sysnb Getrlimit(resource int, rlim *Rlimit) (err error) = getrlimit64
-+//sysnb Setrlimit(resource int, rlim *Rlimit) (err error) = setrlimit64
-+//sys Seek(fd int, offset int64, whence int) (off int64, err error) = lseek64
-+
-+//sys mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error)
-+
-+func setTimespec(sec, nsec int64) Timespec {
-+ return Timespec{Sec: int32(sec), Nsec: int32(nsec)}
-+}
-+
-+func setTimeval(sec, usec int64) Timeval {
-+ return Timeval{Sec: int32(sec), Usec: int32(usec)}
-+}
-+
-+func (iov *Iovec) SetLen(length int) {
-+ iov.Len = uint32(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 Fstat(fd int, stat *Stat_t) error {
-+ return fstat(fd, stat)
-+}
-+
-+func Fstatat(dirfd int, path string, stat *Stat_t, flags int) error {
-+ return fstatat(dirfd, path, stat, flags)
-+}
-+
-+func Lstat(path string, stat *Stat_t) error {
-+ return lstat(path, stat)
-+}
-+
-+func Stat(path string, statptr *Stat_t) error {
-+ return stat(path, statptr)
-+}
-diff --git a/vendor/golang.org/x/sys/unix/syscall_aix_ppc64.go b/vendor/golang.org/x/sys/unix/syscall_aix_ppc64.go
-new file mode 100644
-index 00000000..9a6e0241
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/syscall_aix_ppc64.go
-@@ -0,0 +1,85 @@
-+// Copyright 2018 The Go Authors. All rights reserved.
-+// Use of this source code is governed by a BSD-style
-+// license that can be found in the LICENSE file.
-+
-+// +build aix
-+// +build ppc64
-+
-+package unix
-+
-+//sysnb Getrlimit(resource int, rlim *Rlimit) (err error)
-+//sysnb Setrlimit(resource int, rlim *Rlimit) (err error)
-+//sys Seek(fd int, offset int64, whence int) (off int64, err error) = lseek
-+
-+//sys mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error) = mmap64
-+
-+func setTimespec(sec, nsec int64) Timespec {
-+ return Timespec{Sec: sec, Nsec: nsec}
-+}
-+
-+func setTimeval(sec, usec int64) Timeval {
-+ return Timeval{Sec: int64(sec), Usec: int32(usec)}
-+}
-+
-+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)
-+}
-+
-+// In order to only have Timespec structure, type of Stat_t's fields
-+// Atim, Mtim and Ctim is changed from StTimespec to Timespec during
-+// ztypes generation.
-+// On ppc64, Timespec.Nsec is an int64 while StTimespec.Nsec is an
-+// int32, so the fields' value must be modified.
-+func fixStatTimFields(stat *Stat_t) {
-+ stat.Atim.Nsec >>= 32
-+ stat.Mtim.Nsec >>= 32
-+ stat.Ctim.Nsec >>= 32
-+}
-+
-+func Fstat(fd int, stat *Stat_t) error {
-+ err := fstat(fd, stat)
-+ if err != nil {
-+ return err
-+ }
-+ fixStatTimFields(stat)
-+ return nil
-+}
-+
-+func Fstatat(dirfd int, path string, stat *Stat_t, flags int) error {
-+ err := fstatat(dirfd, path, stat, flags)
-+ if err != nil {
-+ return err
-+ }
-+ fixStatTimFields(stat)
-+ return nil
-+}
-+
-+func Lstat(path string, stat *Stat_t) error {
-+ err := lstat(path, stat)
-+ if err != nil {
-+ return err
-+ }
-+ fixStatTimFields(stat)
-+ return nil
-+}
-+
-+func Stat(path string, statptr *Stat_t) error {
-+ err := stat(path, statptr)
-+ if err != nil {
-+ return err
-+ }
-+ fixStatTimFields(statptr)
-+ return nil
-+}
-diff --git a/vendor/golang.org/x/sys/unix/syscall_bsd.go b/vendor/golang.org/x/sys/unix/syscall_bsd.go
-index c2846b32..68605db6 100644
---- a/vendor/golang.org/x/sys/unix/syscall_bsd.go
-+++ b/vendor/golang.org/x/sys/unix/syscall_bsd.go
-@@ -34,7 +34,7 @@ func Getgroups() (gids []int, err error) {
- return nil, nil
- }
-
-- // Sanity check group count. Max is 16 on BSD.
-+ // Sanity check group count. Max is 16 on BSD.
- if n < 0 || n > 1000 {
- return nil, EINVAL
- }
-@@ -63,15 +63,6 @@ func Setgroups(gids []int) (err error) {
- return setgroups(len(a), &a[0])
- }
-
--func ReadDirent(fd int, buf []byte) (n int, err error) {
-- // Final argument is (basep *uintptr) and the syscall doesn't take nil.
-- // 64 bits should be enough. (32 bits isn't even on 386). Since the
-- // actual system call is getdirentries64, 64 is a good guess.
-- // TODO(rsc): Can we use a single global basep for all calls?
-- var base = (*uintptr)(unsafe.Pointer(new(uint64)))
-- return Getdirentries(fd, buf, base)
--}
--
- // Wait status is 7 bits at bottom, either 0 (exited),
- // 0x7F (stopped), or a signal number that caused an exit.
- // The 0x80 bit is whether there was a core dump.
-@@ -86,6 +77,7 @@ const (
- shift = 8
-
- exited = 0
-+ killed = 9
- stopped = 0x7F
- )
-
-@@ -112,6 +104,8 @@ func (w WaitStatus) CoreDump() bool { return w.Signaled() && w&core != 0 }
-
- func (w WaitStatus) Stopped() bool { return w&mask == stopped && syscall.Signal(w>>shift) != SIGSTOP }
-
-+func (w WaitStatus) Killed() bool { return w&mask == killed && syscall.Signal(w>>shift) != SIGKILL }
-+
- func (w WaitStatus) Continued() bool { return w&mask == stopped && syscall.Signal(w>>shift) == SIGSTOP }
-
- func (w WaitStatus) StopSignal() syscall.Signal {
-@@ -206,7 +200,7 @@ func (sa *SockaddrDatalink) sockaddr() (unsafe.Pointer, _Socklen, error) {
- return unsafe.Pointer(&sa.raw), SizeofSockaddrDatalink, nil
- }
-
--func anyToSockaddr(rsa *RawSockaddrAny) (Sockaddr, error) {
-+func anyToSockaddr(fd int, rsa *RawSockaddrAny) (Sockaddr, error) {
- switch rsa.Addr.Family {
- case AF_LINK:
- pp := (*RawSockaddrDatalink)(unsafe.Pointer(rsa))
-@@ -243,7 +237,7 @@ func anyToSockaddr(rsa *RawSockaddrAny) (Sockaddr, error) {
- break
- }
- }
-- bytes := (*[10000]byte)(unsafe.Pointer(&pp.Path[0]))[0:n]
-+ bytes := (*[len(pp.Path)]byte)(unsafe.Pointer(&pp.Path[0]))[0:n]
- sa.Name = string(bytes)
- return sa, nil
-
-@@ -286,7 +280,7 @@ func Accept(fd int) (nfd int, sa Sockaddr, err error) {
- Close(nfd)
- return 0, nil, ECONNABORTED
- }
-- sa, err = anyToSockaddr(&rsa)
-+ sa, err = anyToSockaddr(fd, &rsa)
- if err != nil {
- Close(nfd)
- nfd = 0
-@@ -306,50 +300,21 @@ func Getsockname(fd int) (sa Sockaddr, err error) {
- rsa.Addr.Family = AF_UNIX
- rsa.Addr.Len = SizeofSockaddrUnix
- }
-- return anyToSockaddr(&rsa)
-+ return anyToSockaddr(fd, &rsa)
- }
-
- //sysnb socketpair(domain int, typ int, proto int, fd *[2]int32) (err error)
-
--func GetsockoptByte(fd, level, opt int) (value byte, err error) {
-- var n byte
-- vallen := _Socklen(1)
-- err = getsockopt(fd, level, opt, unsafe.Pointer(&n), &vallen)
-- return n, err
--}
--
--func GetsockoptInet4Addr(fd, level, opt int) (value [4]byte, err error) {
-- vallen := _Socklen(4)
-- err = getsockopt(fd, level, opt, unsafe.Pointer(&value[0]), &vallen)
-- return value, err
--}
--
--func GetsockoptIPMreq(fd, level, opt int) (*IPMreq, error) {
-- var value IPMreq
-- vallen := _Socklen(SizeofIPMreq)
-- err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
-- return &value, err
--}
--
--func GetsockoptIPv6Mreq(fd, level, opt int) (*IPv6Mreq, error) {
-- var value IPv6Mreq
-- vallen := _Socklen(SizeofIPv6Mreq)
-- err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
-- return &value, err
--}
--
--func GetsockoptIPv6MTUInfo(fd, level, opt int) (*IPv6MTUInfo, error) {
-- var value IPv6MTUInfo
-- vallen := _Socklen(SizeofIPv6MTUInfo)
-- err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
-- return &value, err
--}
--
--func GetsockoptICMPv6Filter(fd, level, opt int) (*ICMPv6Filter, error) {
-- var value ICMPv6Filter
-- vallen := _Socklen(SizeofICMPv6Filter)
-- err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
-- return &value, err
-+// GetsockoptString returns the string value of the socket option opt for the
-+// socket associated with fd at the given socket level.
-+func GetsockoptString(fd, level, opt int) (string, error) {
-+ buf := make([]byte, 256)
-+ vallen := _Socklen(len(buf))
-+ err := getsockopt(fd, level, opt, unsafe.Pointer(&buf[0]), &vallen)
-+ if err != nil {
-+ return "", err
-+ }
-+ return string(buf[:vallen-1]), nil
- }
-
- //sys recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error)
-@@ -385,7 +350,7 @@ func Recvmsg(fd int, p, oob []byte, flags int) (n, oobn int, recvflags int, from
- recvflags = int(msg.Flags)
- // source address is only specified if the socket is unconnected
- if rsa.Addr.Family != AF_UNSPEC {
-- from, err = anyToSockaddr(&rsa)
-+ from, err = anyToSockaddr(fd, &rsa)
- }
- return
- }
-@@ -448,8 +413,6 @@ func Kevent(kq int, changes, events []Kevent_t, timeout *Timespec) (n int, err e
- return kevent(kq, change, len(changes), event, len(events), timeout)
- }
-
--//sys sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) = SYS___SYSCTL
--
- // sysctlmib translates name to mib number and appends any additional args.
- func sysctlmib(name string, args ...int) ([]_C_int, error) {
- // Translate name to mib number.
-@@ -547,6 +510,23 @@ func SysctlRaw(name string, args ...int) ([]byte, error) {
- return buf[:n], nil
- }
-
-+func SysctlClockinfo(name string) (*Clockinfo, error) {
-+ mib, err := sysctlmib(name)
-+ if err != nil {
-+ return nil, err
-+ }
-+
-+ n := uintptr(SizeofClockinfo)
-+ var ci Clockinfo
-+ if err := sysctl(mib, (*byte)(unsafe.Pointer(&ci)), &n, nil, 0); err != nil {
-+ return nil, err
-+ }
-+ if n != SizeofClockinfo {
-+ return nil, EIO
-+ }
-+ return &ci, nil
-+}
-+
- //sys utimes(path string, timeval *[2]Timeval) (err error)
-
- func Utimes(path string, tv []Timeval) error {
-@@ -570,7 +550,12 @@ func UtimesNano(path string, ts []Timespec) error {
- if len(ts) != 2 {
- return EINVAL
- }
-- err := utimensat(AT_FDCWD, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), 0)
-+ // 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)
- if err != ENOSYS {
- return err
- }
-@@ -590,6 +575,10 @@ 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)
- }
-
-@@ -605,7 +594,14 @@ func Futimes(fd int, tv []Timeval) error {
- return futimes(fd, (*[2]Timeval)(unsafe.Pointer(&tv[0])))
- }
-
--//sys fcntl(fd int, cmd int, arg int) (val int, err error)
-+//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)
-+}
-
- // TODO: wrap
- // Acct(name nil-string) (err error)
-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
-new file mode 100644
-index 00000000..6a15cba6
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/syscall_darwin.1_12.go
-@@ -0,0 +1,29 @@
-+// 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.
-+
-+// +build darwin,go1.12,!go1.13
-+
-+package unix
-+
-+import (
-+ "unsafe"
-+)
-+
-+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
-new file mode 100644
-index 00000000..f911617b
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/syscall_darwin.1_13.go
-@@ -0,0 +1,101 @@
-+// 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.
-+
-+// +build darwin,go1.13
-+
-+package unix
-+
-+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(funcPC(libc_fdopendir_trampoline), uintptr(fd), 0, 0)
-+ dir = uintptr(r0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_fdopendir_trampoline()
-+
-+//go:linkname libc_fdopendir libc_fdopendir
-+//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 := struct {
-+ ptr unsafe.Pointer
-+ siz int
-+ cap int
-+ }{ptr: unsafe.Pointer(&entry), siz: reclen, cap: reclen}
-+ copy(buf, *(*[]byte)(unsafe.Pointer(&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 ad74a11f..9a5a6ee5 100644
---- a/vendor/golang.org/x/sys/unix/syscall_darwin.go
-+++ b/vendor/golang.org/x/sys/unix/syscall_darwin.go
-@@ -13,7 +13,7 @@
- package unix
-
- import (
-- errorspkg "errors"
-+ "errors"
- "syscall"
- "unsafe"
- )
-@@ -36,6 +36,7 @@ func Getwd() (string, error) {
- return "", ENOTSUP
- }
-
-+// SockaddrDatalink implements the Sockaddr interface for AF_LINK type sockets.
- type SockaddrDatalink struct {
- Len uint8
- Family uint8
-@@ -54,7 +55,7 @@ func nametomib(name string) (mib []_C_int, err error) {
-
- // NOTE(rsc): It seems strange to set the buffer to have
- // size CTL_MAXNAME+2 but use only CTL_MAXNAME
-- // as the size. I don't know why the +2 is here, but the
-+ // as the size. I don't know why the +2 is here, but the
- // kernel uses +2 for its own implementation of this function.
- // I am scared that if we don't include the +2 here, the kernel
- // will silently write 2 words farther than we specify
-@@ -88,7 +89,6 @@ func direntNamlen(buf []byte) (uint64, bool) {
- return readInt(buf, unsafe.Offsetof(Dirent{}.Namlen), unsafe.Sizeof(Dirent{}.Namlen))
- }
-
--//sys ptrace(request int, pid int, addr uintptr, data uintptr) (err error)
- func PtraceAttach(pid int) (err error) { return ptrace(PT_ATTACH, pid, 0, 0) }
- func PtraceDetach(pid int) (err error) { return ptrace(PT_DETACH, pid, 0, 0) }
-
-@@ -109,7 +109,7 @@ type attrList struct {
-
- func getAttrList(path string, attrList attrList, attrBuf []byte, options uint) (attrs [][]byte, err error) {
- if len(attrBuf) < 4 {
-- return nil, errorspkg.New("attrBuf too small")
-+ return nil, errors.New("attrBuf too small")
- }
- attrList.bitmapCount = attrBitMapCount
-
-@@ -119,17 +119,8 @@ func getAttrList(path string, attrList attrList, attrBuf []byte, options uint) (
- return nil, err
- }
-
-- _, _, e1 := Syscall6(
-- SYS_GETATTRLIST,
-- uintptr(unsafe.Pointer(_p0)),
-- uintptr(unsafe.Pointer(&attrList)),
-- uintptr(unsafe.Pointer(&attrBuf[0])),
-- uintptr(len(attrBuf)),
-- uintptr(options),
-- 0,
-- )
-- if e1 != 0 {
-- return nil, e1
-+ if err := getattrlist(_p0, unsafe.Pointer(&attrList), unsafe.Pointer(&attrBuf[0]), uintptr(len(attrBuf)), int(options)); err != nil {
-+ return nil, err
- }
- size := *(*uint32)(unsafe.Pointer(&attrBuf[0]))
-
-@@ -145,12 +136,12 @@ func getAttrList(path string, attrList attrList, attrBuf []byte, options uint) (
- for i := uint32(0); int(i) < len(dat); {
- header := dat[i:]
- if len(header) < 8 {
-- return attrs, errorspkg.New("truncated attribute header")
-+ return attrs, errors.New("truncated attribute header")
- }
- datOff := *(*int32)(unsafe.Pointer(&header[0]))
- attrLen := *(*uint32)(unsafe.Pointer(&header[4]))
- if datOff < 0 || uint32(datOff)+attrLen > uint32(len(dat)) {
-- return attrs, errorspkg.New("truncated results; attrBuf too small")
-+ return attrs, errors.New("truncated results; attrBuf too small")
- }
- end := uint32(datOff) + attrLen
- attrs = append(attrs, dat[datOff:end])
-@@ -162,6 +153,8 @@ func getAttrList(path string, attrList attrList, attrBuf []byte, options uint) (
- return
- }
-
-+//sys getattrlist(path *byte, list unsafe.Pointer, buf unsafe.Pointer, size uintptr, options int) (err error)
-+
- //sysnb pipe() (r int, w int, err error)
-
- func Pipe(p []int) (err error) {
-@@ -179,14 +172,141 @@ func Getfsstat(buf []Statfs_t, flags int) (n int, err error) {
- _p0 = unsafe.Pointer(&buf[0])
- bufsize = unsafe.Sizeof(Statfs_t{}) * uintptr(len(buf))
- }
-- r0, _, e1 := Syscall(SYS_GETFSSTAT64, uintptr(_p0), bufsize, uintptr(flags))
-- n = int(r0)
-- if e1 != 0 {
-- err = e1
-+ return getfsstat(_p0, bufsize, flags)
-+}
-+
-+func xattrPointer(dest []byte) *byte {
-+ // It's only when dest is set to NULL that the OS X implementations of
-+ // getxattr() and listxattr() return the current sizes of the named attributes.
-+ // An empty byte array is not sufficient. To maintain the same behaviour as the
-+ // linux implementation, we wrap around the system calls and pass in NULL when
-+ // dest is empty.
-+ var destp *byte
-+ if len(dest) > 0 {
-+ destp = &dest[0]
- }
-- return
-+ return destp
-+}
-+
-+//sys getxattr(path string, attr string, dest *byte, size int, position uint32, options int) (sz int, err error)
-+
-+func Getxattr(path string, attr string, dest []byte) (sz int, err error) {
-+ return getxattr(path, attr, xattrPointer(dest), len(dest), 0, 0)
-+}
-+
-+func Lgetxattr(link string, attr string, dest []byte) (sz int, err error) {
-+ return getxattr(link, attr, xattrPointer(dest), len(dest), 0, XATTR_NOFOLLOW)
-+}
-+
-+//sys fgetxattr(fd int, attr string, dest *byte, size int, position uint32, options int) (sz int, err error)
-+
-+func Fgetxattr(fd int, attr string, dest []byte) (sz int, err error) {
-+ return fgetxattr(fd, attr, xattrPointer(dest), len(dest), 0, 0)
-+}
-+
-+//sys setxattr(path string, attr string, data *byte, size int, position uint32, options int) (err error)
-+
-+func Setxattr(path string, attr string, data []byte, flags int) (err error) {
-+ // The parameters for the OS X implementation vary slightly compared to the
-+ // linux system call, specifically the position parameter:
-+ //
-+ // linux:
-+ // int setxattr(
-+ // const char *path,
-+ // const char *name,
-+ // const void *value,
-+ // size_t size,
-+ // int flags
-+ // );
-+ //
-+ // darwin:
-+ // int setxattr(
-+ // const char *path,
-+ // const char *name,
-+ // void *value,
-+ // size_t size,
-+ // u_int32_t position,
-+ // int options
-+ // );
-+ //
-+ // position specifies the offset within the extended attribute. In the
-+ // current implementation, only the resource fork extended attribute makes
-+ // use of this argument. For all others, position is reserved. We simply
-+ // default to setting it to zero.
-+ return setxattr(path, attr, xattrPointer(data), len(data), 0, flags)
-+}
-+
-+func Lsetxattr(link string, attr string, data []byte, flags int) (err error) {
-+ return setxattr(link, attr, xattrPointer(data), len(data), 0, flags|XATTR_NOFOLLOW)
-+}
-+
-+//sys fsetxattr(fd int, attr string, data *byte, size int, position uint32, options int) (err error)
-+
-+func Fsetxattr(fd int, attr string, data []byte, flags int) (err error) {
-+ return fsetxattr(fd, attr, xattrPointer(data), len(data), 0, 0)
-+}
-+
-+//sys removexattr(path string, attr string, options int) (err error)
-+
-+func Removexattr(path string, attr string) (err error) {
-+ // We wrap around and explicitly zero out the options provided to the OS X
-+ // implementation of removexattr, we do so for interoperability with the
-+ // linux variant.
-+ return removexattr(path, attr, 0)
-+}
-+
-+func Lremovexattr(link string, attr string) (err error) {
-+ return removexattr(link, attr, XATTR_NOFOLLOW)
-+}
-+
-+//sys fremovexattr(fd int, attr string, options int) (err error)
-+
-+func Fremovexattr(fd int, attr string) (err error) {
-+ return fremovexattr(fd, attr, 0)
-+}
-+
-+//sys listxattr(path string, dest *byte, size int, options int) (sz int, err error)
-+
-+func Listxattr(path string, dest []byte) (sz int, err error) {
-+ return listxattr(path, xattrPointer(dest), len(dest), 0)
- }
-
-+func Llistxattr(link string, dest []byte) (sz int, err error) {
-+ return listxattr(link, xattrPointer(dest), len(dest), XATTR_NOFOLLOW)
-+}
-+
-+//sys flistxattr(fd int, dest *byte, size int, options int) (sz int, err error)
-+
-+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
-@@ -196,49 +316,74 @@ func utimensat(dirfd int, path string, times *[2]Timespec, flags int) error {
- * Wrapped
- */
-
-+//sys fcntl(fd int, cmd int, arg int) (val int, err error)
-+
- //sys kill(pid int, signum int, posix int) (err error)
-
- func Kill(pid int, signum syscall.Signal) (err error) { return kill(pid, int(signum), 1) }
-
- //sys ioctl(fd int, req uint, arg uintptr) (err error)
-
--// ioctl itself should not be exposed directly, but additional get/set
--// functions for specific types are permissible.
-+//sys sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) = SYS_SYSCTL
-
--// IoctlSetInt performs an ioctl operation which sets an integer value
--// on fd, using the specified request number.
--func IoctlSetInt(fd int, req uint, value int) error {
-- return ioctl(fd, req, uintptr(value))
--}
-+func Uname(uname *Utsname) error {
-+ mib := []_C_int{CTL_KERN, KERN_OSTYPE}
-+ n := unsafe.Sizeof(uname.Sysname)
-+ if err := sysctl(mib, &uname.Sysname[0], &n, nil, 0); err != nil {
-+ return err
-+ }
-
--func IoctlSetWinsize(fd int, req uint, value *Winsize) error {
-- return ioctl(fd, req, uintptr(unsafe.Pointer(value)))
--}
-+ mib = []_C_int{CTL_KERN, KERN_HOSTNAME}
-+ n = unsafe.Sizeof(uname.Nodename)
-+ if err := sysctl(mib, &uname.Nodename[0], &n, nil, 0); err != nil {
-+ return err
-+ }
-
--func IoctlSetTermios(fd int, req uint, value *Termios) error {
-- return ioctl(fd, req, uintptr(unsafe.Pointer(value)))
--}
-+ mib = []_C_int{CTL_KERN, KERN_OSRELEASE}
-+ n = unsafe.Sizeof(uname.Release)
-+ if err := sysctl(mib, &uname.Release[0], &n, nil, 0); err != nil {
-+ return err
-+ }
-
--// IoctlGetInt performs an ioctl operation which gets an integer value
--// from fd, using the specified request number.
--func IoctlGetInt(fd int, req uint) (int, error) {
-- var value int
-- err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
-- return value, err
--}
-+ mib = []_C_int{CTL_KERN, KERN_VERSION}
-+ n = unsafe.Sizeof(uname.Version)
-+ if err := sysctl(mib, &uname.Version[0], &n, nil, 0); err != nil {
-+ return err
-+ }
-
--func IoctlGetWinsize(fd int, req uint) (*Winsize, error) {
-- var value Winsize
-- err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
-- return &value, err
-+ // The version might have newlines or tabs in it, convert them to
-+ // spaces.
-+ for i, b := range uname.Version {
-+ if b == '\n' || b == '\t' {
-+ if i == len(uname.Version)-1 {
-+ uname.Version[i] = 0
-+ } else {
-+ uname.Version[i] = ' '
-+ }
-+ }
-+ }
-+
-+ mib = []_C_int{CTL_HW, HW_MACHINE}
-+ n = unsafe.Sizeof(uname.Machine)
-+ if err := sysctl(mib, &uname.Machine[0], &n, nil, 0); err != nil {
-+ return err
-+ }
-+
-+ return nil
- }
-
--func IoctlGetTermios(fd int, req uint) (*Termios, error) {
-- var value Termios
-- err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
-- return &value, err
-+func Sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
-+ if raceenabled {
-+ raceReleaseMerge(unsafe.Pointer(&ioSync))
-+ }
-+ var length = int64(count)
-+ err = sendfile(infd, outfd, *offset, &length, nil, 0)
-+ written = int(length)
-+ return
- }
-
-+//sys sendfile(infd int, outfd int, offset int64, len *int64, hdtr unsafe.Pointer, flags int) (err error)
-+
- /*
- * Exposed directly
- */
-@@ -249,6 +394,7 @@ func IoctlGetTermios(fd int, req uint) (*Termios, error) {
- //sys Chmod(path string, mode uint32) (err error)
- //sys Chown(path string, uid int, gid int) (err error)
- //sys Chroot(path string) (err error)
-+//sys ClockGettime(clockid int32, time *Timespec) (err error)
- //sys Close(fd int) (err error)
- //sys Dup(fd int) (nfd int, err error)
- //sys Dup2(from int, to int) (err error)
-@@ -263,11 +409,8 @@ func IoctlGetTermios(fd int, req uint) (*Termios, 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_t) (err error) = SYS_FSTAT64
--//sys Fstatfs(fd int, stat *Statfs_t) (err error) = SYS_FSTATFS64
- //sys Fsync(fd int) (err error)
- //sys Ftruncate(fd int, length int64) (err error)
--//sys Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) = SYS_GETDIRENTRIES64
- //sys Getdtablesize() (size int)
- //sysnb Getegid() (egid int)
- //sysnb Geteuid() (uid int)
-@@ -287,7 +430,6 @@ func IoctlGetTermios(fd int, req uint) (*Termios, 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_t) (err error) = SYS_LSTAT64
- //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)
-@@ -305,7 +447,7 @@ func IoctlGetTermios(fd int, req uint) (*Termios, error) {
- //sys Revoke(path string) (err error)
- //sys Rmdir(path string) (err error)
- //sys Seek(fd int, offset int64, whence int) (newoffset int64, err error) = SYS_LSEEK
--//sys Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error)
-+//sys Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error)
- //sys Setegid(egid int) (err error)
- //sysnb Seteuid(euid int) (err error)
- //sysnb Setgid(gid int) (err error)
-@@ -319,8 +461,6 @@ func IoctlGetTermios(fd int, req uint) (*Termios, error) {
- //sysnb Setsid() (pid int, err error)
- //sysnb Settimeofday(tp *Timeval) (err error)
- //sysnb Setuid(uid int) (err error)
--//sys Stat(path string, stat *Stat_t) (err error) = SYS_STAT64
--//sys Statfs(path string, stat *Statfs_t) (err error) = SYS_STATFS64
- //sys Symlink(path string, link string) (err error)
- //sys Symlinkat(oldpath string, newdirfd int, newpath string) (err error)
- //sys Sync() (err error)
-@@ -377,18 +517,9 @@ func IoctlGetTermios(fd int, req uint) (*Termios, error) {
- // Searchfs
- // Delete
- // Copyfile
--// Poll
- // Watchevent
- // Waitevent
- // Modwatch
--// Getxattr
--// Fgetxattr
--// Setxattr
--// Fsetxattr
--// Removexattr
--// Fremovexattr
--// Listxattr
--// Flistxattr
- // Fsctl
- // Initgroups
- // Posix_spawn
-diff --git a/vendor/golang.org/x/sys/unix/syscall_darwin_386.1_11.go b/vendor/golang.org/x/sys/unix/syscall_darwin_386.1_11.go
-new file mode 100644
-index 00000000..6b223f91
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/syscall_darwin_386.1_11.go
-@@ -0,0 +1,9 @@
-+// 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.
-+
-+// +build darwin,386,!go1.12
-+
-+package unix
-+
-+//sys Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) = SYS_GETDIRENTRIES64
-diff --git a/vendor/golang.org/x/sys/unix/syscall_darwin_386.go b/vendor/golang.org/x/sys/unix/syscall_darwin_386.go
-index c172a3da..707ba4f5 100644
---- a/vendor/golang.org/x/sys/unix/syscall_darwin_386.go
-+++ b/vendor/golang.org/x/sys/unix/syscall_darwin_386.go
-@@ -8,30 +8,22 @@ package unix
-
- import (
- "syscall"
-- "unsafe"
- )
-
--func Getpagesize() int { return 4096 }
-+//sys ptrace(request int, pid int, addr uintptr, data uintptr) (err error)
-
--func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
--
--func NsecToTimespec(nsec int64) (ts Timespec) {
-- ts.Sec = int32(nsec / 1e9)
-- ts.Nsec = int32(nsec % 1e9)
-- return
-+func setTimespec(sec, nsec int64) Timespec {
-+ return Timespec{Sec: int32(sec), Nsec: int32(nsec)}
- }
-
--func NsecToTimeval(nsec int64) (tv Timeval) {
-- nsec += 999 // round up to microsecond
-- tv.Usec = int32(nsec % 1e9 / 1e3)
-- tv.Sec = int32(nsec / 1e9)
-- return
-+func setTimeval(sec, usec int64) Timeval {
-+ return Timeval{Sec: int32(sec), Usec: int32(usec)}
- }
-
- //sysnb gettimeofday(tp *Timeval) (sec int32, usec int32, err error)
- func Gettimeofday(tv *Timeval) (err error) {
- // The tv passed to gettimeofday must be non-nil
-- // but is otherwise unused. The answers come back
-+ // but is otherwise unused. The answers come back
- // in the two registers.
- sec, usec, err := gettimeofday(tv)
- tv.Sec = int32(sec)
-@@ -53,21 +45,12 @@ func (msghdr *Msghdr) SetControllen(length int) {
- msghdr.Controllen = uint32(length)
- }
-
--func (cmsg *Cmsghdr) SetLen(length int) {
-- cmsg.Len = uint32(length)
-+func (msghdr *Msghdr) SetIovlen(length int) {
-+ msghdr.Iovlen = int32(length)
- }
-
--func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
-- var length = uint64(count)
--
-- _, _, e1 := Syscall9(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr(*offset>>32), uintptr(unsafe.Pointer(&length)), 0, 0, 0, 0)
--
-- written = int(length)
--
-- if e1 != 0 {
-- err = e1
-- }
-- return
-+func (cmsg *Cmsghdr) SetLen(length int) {
-+ cmsg.Len = uint32(length)
- }
-
- func Syscall9(num, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno)
-@@ -75,3 +58,11 @@ func Syscall9(num, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr,
- // SYS___SYSCTL is used by syscall_bsd.go for all BSDs, but in modern versions
- // of darwin/386 the syscall is called sysctl instead of __sysctl.
- const SYS___SYSCTL = SYS_SYSCTL
-+
-+//sys Fstat(fd int, stat *Stat_t) (err error) = SYS_FSTAT64
-+//sys Fstatat(fd int, path string, stat *Stat_t, flags int) (err error) = SYS_FSTATAT64
-+//sys Fstatfs(fd int, stat *Statfs_t) (err error) = SYS_FSTATFS64
-+//sys getfsstat(buf unsafe.Pointer, size uintptr, flags int) (n int, err error) = SYS_GETFSSTAT64
-+//sys Lstat(path string, stat *Stat_t) (err error) = SYS_LSTAT64
-+//sys Stat(path string, stat *Stat_t) (err error) = SYS_STAT64
-+//sys Statfs(path string, stat *Statfs_t) (err error) = SYS_STATFS64
-diff --git a/vendor/golang.org/x/sys/unix/syscall_darwin_amd64.1_11.go b/vendor/golang.org/x/sys/unix/syscall_darwin_amd64.1_11.go
-new file mode 100644
-index 00000000..68ebd6fa
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/syscall_darwin_amd64.1_11.go
-@@ -0,0 +1,9 @@
-+// 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.
-+
-+// +build darwin,amd64,!go1.12
-+
-+package unix
-+
-+//sys Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) = SYS_GETDIRENTRIES64
-diff --git a/vendor/golang.org/x/sys/unix/syscall_darwin_amd64.go b/vendor/golang.org/x/sys/unix/syscall_darwin_amd64.go
-index c6c99c13..fdbfb591 100644
---- a/vendor/golang.org/x/sys/unix/syscall_darwin_amd64.go
-+++ b/vendor/golang.org/x/sys/unix/syscall_darwin_amd64.go
-@@ -8,30 +8,22 @@ package unix
-
- import (
- "syscall"
-- "unsafe"
- )
-
--func Getpagesize() int { return 4096 }
-+//sys ptrace(request int, pid int, addr uintptr, data uintptr) (err error)
-
--func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
--
--func NsecToTimespec(nsec int64) (ts Timespec) {
-- ts.Sec = nsec / 1e9
-- ts.Nsec = nsec % 1e9
-- return
-+func setTimespec(sec, nsec int64) Timespec {
-+ return Timespec{Sec: sec, Nsec: nsec}
- }
-
--func NsecToTimeval(nsec int64) (tv Timeval) {
-- nsec += 999 // round up to microsecond
-- tv.Usec = int32(nsec % 1e9 / 1e3)
-- tv.Sec = int64(nsec / 1e9)
-- return
-+func setTimeval(sec, usec int64) Timeval {
-+ return Timeval{Sec: sec, Usec: int32(usec)}
- }
-
- //sysnb gettimeofday(tp *Timeval) (sec int64, usec int32, err error)
- func Gettimeofday(tv *Timeval) (err error) {
- // The tv passed to gettimeofday must be non-nil
-- // but is otherwise unused. The answers come back
-+ // but is otherwise unused. The answers come back
- // in the two registers.
- sec, usec, err := gettimeofday(tv)
- tv.Sec = sec
-@@ -53,21 +45,12 @@ func (msghdr *Msghdr) SetControllen(length int) {
- msghdr.Controllen = uint32(length)
- }
-
--func (cmsg *Cmsghdr) SetLen(length int) {
-- cmsg.Len = uint32(length)
-+func (msghdr *Msghdr) SetIovlen(length int) {
-+ msghdr.Iovlen = int32(length)
- }
-
--func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
-- var length = uint64(count)
--
-- _, _, e1 := Syscall6(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr(unsafe.Pointer(&length)), 0, 0)
--
-- written = int(length)
--
-- if e1 != 0 {
-- err = e1
-- }
-- return
-+func (cmsg *Cmsghdr) SetLen(length int) {
-+ cmsg.Len = uint32(length)
- }
-
- func Syscall9(num, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno)
-@@ -75,3 +58,11 @@ func Syscall9(num, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr,
- // SYS___SYSCTL is used by syscall_bsd.go for all BSDs, but in modern versions
- // of darwin/amd64 the syscall is called sysctl instead of __sysctl.
- const SYS___SYSCTL = SYS_SYSCTL
-+
-+//sys Fstat(fd int, stat *Stat_t) (err error) = SYS_FSTAT64
-+//sys Fstatat(fd int, path string, stat *Stat_t, flags int) (err error) = SYS_FSTATAT64
-+//sys Fstatfs(fd int, stat *Statfs_t) (err error) = SYS_FSTATFS64
-+//sys getfsstat(buf unsafe.Pointer, size uintptr, flags int) (n int, err error) = SYS_GETFSSTAT64
-+//sys Lstat(path string, stat *Stat_t) (err error) = SYS_LSTAT64
-+//sys Stat(path string, stat *Stat_t) (err error) = SYS_STAT64
-+//sys Statfs(path string, stat *Statfs_t) (err error) = SYS_STATFS64
-diff --git a/vendor/golang.org/x/sys/unix/syscall_darwin_arm.1_11.go b/vendor/golang.org/x/sys/unix/syscall_darwin_arm.1_11.go
-new file mode 100644
-index 00000000..0e3f25ac
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/syscall_darwin_arm.1_11.go
-@@ -0,0 +1,11 @@
-+// 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.
-+
-+// +build darwin,arm,!go1.12
-+
-+package unix
-+
-+func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
-+ return 0, ENOSYS
-+}
-diff --git a/vendor/golang.org/x/sys/unix/syscall_darwin_arm.go b/vendor/golang.org/x/sys/unix/syscall_darwin_arm.go
-index d286cf40..f8bc4cfb 100644
---- a/vendor/golang.org/x/sys/unix/syscall_darwin_arm.go
-+++ b/vendor/golang.org/x/sys/unix/syscall_darwin_arm.go
-@@ -6,30 +6,24 @@ package unix
-
- import (
- "syscall"
-- "unsafe"
- )
-
--func Getpagesize() int { return 4096 }
--
--func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
-+func ptrace(request int, pid int, addr uintptr, data uintptr) error {
-+ return ENOTSUP
-+}
-
--func NsecToTimespec(nsec int64) (ts Timespec) {
-- ts.Sec = int32(nsec / 1e9)
-- ts.Nsec = int32(nsec % 1e9)
-- return
-+func setTimespec(sec, nsec int64) Timespec {
-+ return Timespec{Sec: int32(sec), Nsec: int32(nsec)}
- }
-
--func NsecToTimeval(nsec int64) (tv Timeval) {
-- nsec += 999 // round up to microsecond
-- tv.Usec = int32(nsec % 1e9 / 1e3)
-- tv.Sec = int32(nsec / 1e9)
-- return
-+func setTimeval(sec, usec int64) Timeval {
-+ return Timeval{Sec: int32(sec), Usec: int32(usec)}
- }
-
- //sysnb gettimeofday(tp *Timeval) (sec int32, usec int32, err error)
- func Gettimeofday(tv *Timeval) (err error) {
- // The tv passed to gettimeofday must be non-nil
-- // but is otherwise unused. The answers come back
-+ // but is otherwise unused. The answers come back
- // in the two registers.
- sec, usec, err := gettimeofday(tv)
- tv.Sec = int32(sec)
-@@ -51,21 +45,24 @@ func (msghdr *Msghdr) SetControllen(length int) {
- msghdr.Controllen = uint32(length)
- }
-
--func (cmsg *Cmsghdr) SetLen(length int) {
-- cmsg.Len = uint32(length)
-+func (msghdr *Msghdr) SetIovlen(length int) {
-+ msghdr.Iovlen = int32(length)
- }
-
--func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
-- var length = uint64(count)
--
-- _, _, e1 := Syscall9(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr(*offset>>32), uintptr(unsafe.Pointer(&length)), 0, 0, 0, 0)
--
-- written = int(length)
--
-- if e1 != 0 {
-- err = e1
-- }
-- return
-+func (cmsg *Cmsghdr) SetLen(length int) {
-+ cmsg.Len = uint32(length)
- }
-
- func Syscall9(num, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno) // sic
-+
-+// SYS___SYSCTL is used by syscall_bsd.go for all BSDs, but in modern versions
-+// of darwin/arm the syscall is called sysctl instead of __sysctl.
-+const SYS___SYSCTL = SYS_SYSCTL
-+
-+//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 getfsstat(buf unsafe.Pointer, size uintptr, flags int) (n int, err error) = SYS_GETFSSTAT
-+//sys Lstat(path string, stat *Stat_t) (err error)
-+//sys Stat(path string, stat *Stat_t) (err error)
-+//sys Statfs(path string, stat *Statfs_t) (err error)
-diff --git a/vendor/golang.org/x/sys/unix/syscall_darwin_arm64.1_11.go b/vendor/golang.org/x/sys/unix/syscall_darwin_arm64.1_11.go
-new file mode 100644
-index 00000000..01d45040
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/syscall_darwin_arm64.1_11.go
-@@ -0,0 +1,11 @@
-+// 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.
-+
-+// +build darwin,arm64,!go1.12
-+
-+package unix
-+
-+func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
-+ return 0, ENOSYS
-+}
-diff --git a/vendor/golang.org/x/sys/unix/syscall_darwin_arm64.go b/vendor/golang.org/x/sys/unix/syscall_darwin_arm64.go
-index c33905cd..5ede3ac3 100644
---- a/vendor/golang.org/x/sys/unix/syscall_darwin_arm64.go
-+++ b/vendor/golang.org/x/sys/unix/syscall_darwin_arm64.go
-@@ -8,30 +8,24 @@ package unix
-
- import (
- "syscall"
-- "unsafe"
- )
-
--func Getpagesize() int { return 16384 }
--
--func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
-+func ptrace(request int, pid int, addr uintptr, data uintptr) error {
-+ return ENOTSUP
-+}
-
--func NsecToTimespec(nsec int64) (ts Timespec) {
-- ts.Sec = nsec / 1e9
-- ts.Nsec = nsec % 1e9
-- return
-+func setTimespec(sec, nsec int64) Timespec {
-+ return Timespec{Sec: sec, Nsec: nsec}
- }
-
--func NsecToTimeval(nsec int64) (tv Timeval) {
-- nsec += 999 // round up to microsecond
-- tv.Usec = int32(nsec % 1e9 / 1e3)
-- tv.Sec = int64(nsec / 1e9)
-- return
-+func setTimeval(sec, usec int64) Timeval {
-+ return Timeval{Sec: sec, Usec: int32(usec)}
- }
-
- //sysnb gettimeofday(tp *Timeval) (sec int64, usec int32, err error)
- func Gettimeofday(tv *Timeval) (err error) {
- // The tv passed to gettimeofday must be non-nil
-- // but is otherwise unused. The answers come back
-+ // but is otherwise unused. The answers come back
- // in the two registers.
- sec, usec, err := gettimeofday(tv)
- tv.Sec = sec
-@@ -53,21 +47,12 @@ func (msghdr *Msghdr) SetControllen(length int) {
- msghdr.Controllen = uint32(length)
- }
-
--func (cmsg *Cmsghdr) SetLen(length int) {
-- cmsg.Len = uint32(length)
-+func (msghdr *Msghdr) SetIovlen(length int) {
-+ msghdr.Iovlen = int32(length)
- }
-
--func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
-- var length = uint64(count)
--
-- _, _, e1 := Syscall6(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr(unsafe.Pointer(&length)), 0, 0)
--
-- written = int(length)
--
-- if e1 != 0 {
-- err = e1
-- }
-- return
-+func (cmsg *Cmsghdr) SetLen(length int) {
-+ cmsg.Len = uint32(length)
- }
-
- func Syscall9(num, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno) // sic
-@@ -75,3 +60,11 @@ func Syscall9(num, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr,
- // SYS___SYSCTL is used by syscall_bsd.go for all BSDs, but in modern versions
- // of darwin/arm64 the syscall is called sysctl instead of __sysctl.
- const SYS___SYSCTL = SYS_SYSCTL
-+
-+//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 getfsstat(buf unsafe.Pointer, size uintptr, flags int) (n int, err error) = SYS_GETFSSTAT
-+//sys Lstat(path string, stat *Stat_t) (err error)
-+//sys Stat(path string, stat *Stat_t) (err error)
-+//sys Statfs(path string, stat *Statfs_t) (err error)
-diff --git a/vendor/golang.org/x/sys/unix/syscall_darwin_libSystem.go b/vendor/golang.org/x/sys/unix/syscall_darwin_libSystem.go
-new file mode 100644
-index 00000000..f34c86c8
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/syscall_darwin_libSystem.go
-@@ -0,0 +1,33 @@
-+// Copyright 2018 The Go Authors. All rights reserved.
-+// Use of this source code is governed by a BSD-style
-+// license that can be found in the LICENSE file.
-+
-+// +build darwin,go1.12
-+
-+package unix
-+
-+import "unsafe"
-+
-+// Implemented in the runtime package (runtime/sys_darwin.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_syscall6X(fn, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
-+func syscall_syscall9(fn, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err Errno) // 32-bit only
-+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)
-+func syscall_syscallPtr(fn, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno)
-+
-+//go:linkname syscall_syscall syscall.syscall
-+//go:linkname syscall_syscall6 syscall.syscall6
-+//go:linkname syscall_syscall6X syscall.syscall6X
-+//go:linkname syscall_syscall9 syscall.syscall9
-+//go:linkname syscall_rawSyscall syscall.rawSyscall
-+//go:linkname syscall_rawSyscall6 syscall.rawSyscall6
-+//go:linkname syscall_syscallPtr syscall.syscallPtr
-+
-+// Find the entry point for f. See comments in runtime/proc.go for the
-+// function of the same name.
-+//go:nosplit
-+func funcPC(f func()) uintptr {
-+ return **(**uintptr)(unsafe.Pointer(&f))
-+}
-diff --git a/vendor/golang.org/x/sys/unix/syscall_dragonfly.go b/vendor/golang.org/x/sys/unix/syscall_dragonfly.go
-index 3a483373..8a195ae5 100644
---- a/vendor/golang.org/x/sys/unix/syscall_dragonfly.go
-+++ b/vendor/golang.org/x/sys/unix/syscall_dragonfly.go
-@@ -12,8 +12,27 @@
-
- package unix
-
--import "unsafe"
-+import (
-+ "sync"
-+ "unsafe"
-+)
-
-+// See version list in https://github.com/DragonFlyBSD/DragonFlyBSD/blob/master/sys/sys/param.h
-+var (
-+ osreldateOnce sync.Once
-+ osreldate uint32
-+)
-+
-+// First __DragonFly_version after September 2019 ABI changes
-+// http://lists.dragonflybsd.org/pipermail/users/2019-September/358280.html
-+const _dragonflyABIChangeVersion = 500705
-+
-+func supportsABI(ver uint32) bool {
-+ osreldateOnce.Do(func() { osreldate, _ = SysctlUint32("kern.osreldate") })
-+ return osreldate >= ver
-+}
-+
-+// SockaddrDatalink implements the Sockaddr interface for AF_LINK type sockets.
- type SockaddrDatalink struct {
- Len uint8
- Family uint8
-@@ -102,7 +121,7 @@ func Accept4(fd, flags int) (nfd int, sa Sockaddr, err error) {
- if len > SizeofSockaddrAny {
- panic("RawSockaddrAny too small")
- }
-- sa, err = anyToSockaddr(&rsa)
-+ sa, err = anyToSockaddr(fd, &rsa)
- if err != nil {
- Close(nfd)
- nfd = 0
-@@ -110,6 +129,23 @@ func Accept4(fd, flags int) (nfd int, sa Sockaddr, err error) {
- return
- }
-
-+const ImplementsGetwd = true
-+
-+//sys Getcwd(buf []byte) (n int, err error) = SYS___GETCWD
-+
-+func Getwd() (string, error) {
-+ var buf [PathMax]byte
-+ _, err := Getcwd(buf[0:])
-+ if err != nil {
-+ return "", err
-+ }
-+ n := clen(buf[:])
-+ if n < 1 {
-+ return "", EINVAL
-+ }
-+ return string(buf[:n]), nil
-+}
-+
- func Getfsstat(buf []Statfs_t, flags int) (n int, err error) {
- var _p0 unsafe.Pointer
- var bufsize uintptr
-@@ -125,6 +161,85 @@ 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
-+
-+func sysctlUname(mib []_C_int, old *byte, oldlen *uintptr) error {
-+ err := sysctl(mib, old, oldlen, nil, 0)
-+ if err != nil {
-+ // Utsname members on Dragonfly are only 32 bytes and
-+ // the syscall returns ENOMEM in case the actual value
-+ // is longer.
-+ if err == ENOMEM {
-+ err = nil
-+ }
-+ }
-+ return err
-+}
-+
-+func Uname(uname *Utsname) error {
-+ mib := []_C_int{CTL_KERN, KERN_OSTYPE}
-+ n := unsafe.Sizeof(uname.Sysname)
-+ if err := sysctlUname(mib, &uname.Sysname[0], &n); err != nil {
-+ return err
-+ }
-+ uname.Sysname[unsafe.Sizeof(uname.Sysname)-1] = 0
-+
-+ mib = []_C_int{CTL_KERN, KERN_HOSTNAME}
-+ n = unsafe.Sizeof(uname.Nodename)
-+ if err := sysctlUname(mib, &uname.Nodename[0], &n); err != nil {
-+ return err
-+ }
-+ uname.Nodename[unsafe.Sizeof(uname.Nodename)-1] = 0
-+
-+ mib = []_C_int{CTL_KERN, KERN_OSRELEASE}
-+ n = unsafe.Sizeof(uname.Release)
-+ if err := sysctlUname(mib, &uname.Release[0], &n); err != nil {
-+ return err
-+ }
-+ uname.Release[unsafe.Sizeof(uname.Release)-1] = 0
-+
-+ mib = []_C_int{CTL_KERN, KERN_VERSION}
-+ n = unsafe.Sizeof(uname.Version)
-+ if err := sysctlUname(mib, &uname.Version[0], &n); err != nil {
-+ return err
-+ }
-+
-+ // The version might have newlines or tabs in it, convert them to
-+ // spaces.
-+ for i, b := range uname.Version {
-+ if b == '\n' || b == '\t' {
-+ if i == len(uname.Version)-1 {
-+ uname.Version[i] = 0
-+ } else {
-+ uname.Version[i] = ' '
-+ }
-+ }
-+ }
-+
-+ mib = []_C_int{CTL_HW, HW_MACHINE}
-+ n = unsafe.Sizeof(uname.Machine)
-+ if err := sysctlUname(mib, &uname.Machine[0], &n); err != nil {
-+ return err
-+ }
-+ uname.Machine[unsafe.Sizeof(uname.Machine)-1] = 0
-+
-+ return nil
-+}
-+
-+func Sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
-+ if raceenabled {
-+ raceReleaseMerge(unsafe.Pointer(&ioSync))
-+ }
-+ return sendfile(outfd, infd, offset, count)
-+}
-+
- /*
- * Exposed directly
- */
-@@ -139,16 +254,21 @@ func Getfsstat(buf []Statfs_t, flags int) (n int, err error) {
- //sys Dup(fd int) (nfd int, err error)
- //sys Dup2(from int, to int) (err error)
- //sys Exit(code int)
-+//sys Faccessat(dirfd int, path string, mode uint32, flags int) (err error)
- //sys Fchdir(fd int) (err error)
- //sys Fchflags(fd int, flags int) (err error)
- //sys Fchmod(fd int, mode uint32) (err error)
-+//sys Fchmodat(dirfd int, path string, mode uint32, flags int) (err error)
- //sys Fchown(fd int, uid int, gid int) (err error)
-+//sys Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error)
- //sys Flock(fd int, how int) (err error)
- //sys Fpathconf(fd int, name int) (val int, err error)
- //sys Fstat(fd int, stat *Stat_t) (err error)
-+//sys 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 Getdents(fd int, buf []byte) (n int, err error)
- //sys Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error)
- //sys Getdtablesize() (size int)
- //sysnb Getegid() (egid int)
-@@ -169,21 +289,26 @@ func Getfsstat(buf []Statfs_t, flags int) (n int, err error) {
- //sys Kqueue() (fd int, err error)
- //sys Lchown(path string, uid int, gid int) (err error)
- //sys Link(path string, link string) (err error)
-+//sys 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_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 Nanosleep(time *Timespec, leftover *Timespec) (err error)
- //sys Open(path string, mode int, perm uint32) (fd int, err error)
-+//sys Openat(dirfd int, path string, mode int, perm uint32) (fd int, err error)
- //sys Pathconf(path string, name int) (val int, err error)
- //sys read(fd int, p []byte) (n int, err error)
- //sys Readlink(path string, buf []byte) (n int, err error)
- //sys Rename(from string, to string) (err error)
-+//sys Renameat(fromfd int, from string, tofd int, to string) (err error)
- //sys Revoke(path string) (err error)
- //sys Rmdir(path string) (err error)
- //sys Seek(fd int, offset int64, whence int) (newoffset int64, err error) = SYS_LSEEK
--//sys Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error)
-+//sys Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error)
- //sysnb Setegid(egid int) (err error)
- //sysnb Seteuid(euid int) (err error)
- //sysnb Setgid(gid int) (err error)
-@@ -201,11 +326,13 @@ func Getfsstat(buf []Statfs_t, flags int) (n int, err error) {
- //sys Stat(path string, stat *Stat_t) (err error)
- //sys Statfs(path string, stat *Statfs_t) (err error)
- //sys Symlink(path string, link string) (err error)
-+//sys Symlinkat(oldpath string, newdirfd int, newpath string) (err error)
- //sys Sync() (err error)
- //sys Truncate(path string, length int64) (err error)
- //sys Umask(newmask int) (oldmask int)
- //sys Undelete(path string) (err error)
- //sys Unlink(path string) (err error)
-+//sys Unlinkat(dirfd int, path string, flags int) (err error)
- //sys Unmount(path string, flags int) (err error)
- //sys write(fd int, p []byte) (n int, err error)
- //sys mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error)
-@@ -225,7 +352,6 @@ func Getfsstat(buf []Statfs_t, flags int) (n int, err error) {
- // Getlogin
- // Sigpending
- // Sigaltstack
--// Ioctl
- // Reboot
- // Execve
- // Vfork
-@@ -257,7 +383,6 @@ func Getfsstat(buf []Statfs_t, flags int) (n int, err error) {
- // Searchfs
- // Delete
- // Copyfile
--// Poll
- // Watchevent
- // Waitevent
- // Modwatch
-@@ -403,7 +528,6 @@ func Getfsstat(buf []Statfs_t, flags int) (n int, err error) {
- // Pread_nocancel
- // Pwrite_nocancel
- // Waitid_nocancel
--// Poll_nocancel
- // Msgsnd_nocancel
- // Msgrcv_nocancel
- // Sem_wait_nocancel
-diff --git a/vendor/golang.org/x/sys/unix/syscall_dragonfly_amd64.go b/vendor/golang.org/x/sys/unix/syscall_dragonfly_amd64.go
-index da7cb798..a6b4830a 100644
---- a/vendor/golang.org/x/sys/unix/syscall_dragonfly_amd64.go
-+++ b/vendor/golang.org/x/sys/unix/syscall_dragonfly_amd64.go
-@@ -11,21 +11,12 @@ import (
- "unsafe"
- )
-
--func Getpagesize() int { return 4096 }
--
--func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
--
--func NsecToTimespec(nsec int64) (ts Timespec) {
-- ts.Sec = nsec / 1e9
-- ts.Nsec = nsec % 1e9
-- return
-+func setTimespec(sec, nsec int64) Timespec {
-+ return Timespec{Sec: sec, Nsec: nsec}
- }
-
--func NsecToTimeval(nsec int64) (tv Timeval) {
-- nsec += 999 // round up to microsecond
-- tv.Usec = nsec % 1e9 / 1e3
-- tv.Sec = int64(nsec / 1e9)
-- return
-+func setTimeval(sec, usec int64) Timeval {
-+ return Timeval{Sec: sec, Usec: usec}
- }
-
- func SetKevent(k *Kevent_t, fd, mode, flags int) {
-@@ -42,6 +33,10 @@ 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)
- }
-diff --git a/vendor/golang.org/x/sys/unix/syscall_freebsd.go b/vendor/golang.org/x/sys/unix/syscall_freebsd.go
-index d26e52ea..6932e7c2 100644
---- a/vendor/golang.org/x/sys/unix/syscall_freebsd.go
-+++ b/vendor/golang.org/x/sys/unix/syscall_freebsd.go
-@@ -12,8 +12,36 @@
-
- package unix
-
--import "unsafe"
-+import (
-+ "sync"
-+ "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
-+}
-
-+// SockaddrDatalink implements the Sockaddr interface for AF_LINK type sockets.
- type SockaddrDatalink struct {
- Len uint8
- Family uint8
-@@ -32,7 +60,7 @@ func nametomib(name string) (mib []_C_int, err error) {
-
- // NOTE(rsc): It seems strange to set the buffer to have
- // size CTL_MAXNAME+2 but use only CTL_MAXNAME
-- // as the size. I don't know why the +2 is here, but the
-+ // as the size. I don't know why the +2 is here, but the
- // kernel uses +2 for its own implementation of this function.
- // I am scared that if we don't include the +2 here, the kernel
- // will silently write 2 words farther than we specify
-@@ -66,14 +94,21 @@ func direntNamlen(buf []byte) (uint64, bool) {
- return readInt(buf, unsafe.Offsetof(Dirent{}.Namlen), unsafe.Sizeof(Dirent{}.Namlen))
- }
-
--//sysnb pipe() (r int, w int, err error)
--
- func Pipe(p []int) (err 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
- }
-- p[0], p[1], err = pipe()
-- return
-+ var pp [2]_C_int
-+ err := pipe2(&pp, flags)
-+ p[0] = int(pp[0])
-+ p[1] = int(pp[1])
-+ return err
- }
-
- func GetsockoptIPMreqn(fd, level, opt int) (*IPMreqn, error) {
-@@ -97,7 +132,7 @@ func Accept4(fd, flags int) (nfd int, sa Sockaddr, err error) {
- if len > SizeofSockaddrAny {
- panic("RawSockaddrAny too small")
- }
-- sa, err = anyToSockaddr(&rsa)
-+ sa, err = anyToSockaddr(fd, &rsa)
- if err != nil {
- Close(nfd)
- nfd = 0
-@@ -105,290 +140,421 @@ func Accept4(fd, flags int) (nfd int, sa Sockaddr, err error) {
- return
- }
-
-+const ImplementsGetwd = true
-+
-+//sys Getcwd(buf []byte) (n int, err error) = SYS___GETCWD
-+
-+func Getwd() (string, error) {
-+ var buf [PathMax]byte
-+ _, err := Getcwd(buf[0:])
-+ if err != nil {
-+ return "", err
-+ }
-+ n := clen(buf[:])
-+ if n < 1 {
-+ return "", EINVAL
-+ }
-+ return string(buf[:n]), nil
-+}
-+
- func Getfsstat(buf []Statfs_t, flags int) (n int, err error) {
-- var _p0 unsafe.Pointer
-- var bufsize uintptr
-+ var (
-+ _p0 unsafe.Pointer
-+ bufsize uintptr
-+ oldBuf []statfs_freebsd11_t
-+ needsConvert bool
-+ )
-+
- if len(buf) > 0 {
-- _p0 = unsafe.Pointer(&buf[0])
-- bufsize = unsafe.Sizeof(Statfs_t{}) * uintptr(len(buf))
-+ 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
-+ }
-+ }
-+ var sysno uintptr = SYS_GETFSSTAT
-+ if supportsABI(_ino64First) {
-+ sysno = SYS_GETFSSTAT_FREEBSD12
- }
-- r0, _, e1 := Syscall(SYS_GETFSSTAT, uintptr(_p0), bufsize, uintptr(flags))
-+ r0, _, e1 := Syscall(sysno, 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
- }
-
--// Derive extattr namespace and attribute name
-+func setattrlistTimes(path string, times []Timespec, flags int) error {
-+ // used on Darwin for UtimesNano
-+ return ENOSYS
-+}
-
--func xattrnamespace(fullattr string) (ns int, attr string, err error) {
-- s := -1
-- for idx, val := range fullattr {
-- if val == '.' {
-- s = idx
-- break
-- }
-+//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
-+
-+func Uname(uname *Utsname) error {
-+ mib := []_C_int{CTL_KERN, KERN_OSTYPE}
-+ n := unsafe.Sizeof(uname.Sysname)
-+ if err := sysctl(mib, &uname.Sysname[0], &n, nil, 0); err != nil {
-+ return err
- }
-
-- if s == -1 {
-- return -1, "", ENOATTR
-+ mib = []_C_int{CTL_KERN, KERN_HOSTNAME}
-+ n = unsafe.Sizeof(uname.Nodename)
-+ if err := sysctl(mib, &uname.Nodename[0], &n, nil, 0); err != nil {
-+ return err
- }
-
-- namespace := fullattr[0:s]
-- attr = fullattr[s+1:]
-+ mib = []_C_int{CTL_KERN, KERN_OSRELEASE}
-+ n = unsafe.Sizeof(uname.Release)
-+ if err := sysctl(mib, &uname.Release[0], &n, nil, 0); err != nil {
-+ return err
-+ }
-
-- switch namespace {
-- case "user":
-- return EXTATTR_NAMESPACE_USER, attr, nil
-- case "system":
-- return EXTATTR_NAMESPACE_SYSTEM, attr, nil
-- default:
-- return -1, "", ENOATTR
-+ mib = []_C_int{CTL_KERN, KERN_VERSION}
-+ n = unsafe.Sizeof(uname.Version)
-+ if err := sysctl(mib, &uname.Version[0], &n, nil, 0); err != nil {
-+ return err
- }
--}
-
--func initxattrdest(dest []byte, idx int) (d unsafe.Pointer) {
-- if len(dest) > idx {
-- return unsafe.Pointer(&dest[idx])
-- } else {
-- return unsafe.Pointer(_zero)
-+ // The version might have newlines or tabs in it, convert them to
-+ // spaces.
-+ for i, b := range uname.Version {
-+ if b == '\n' || b == '\t' {
-+ if i == len(uname.Version)-1 {
-+ uname.Version[i] = 0
-+ } else {
-+ uname.Version[i] = ' '
-+ }
-+ }
- }
--}
-
--// FreeBSD implements its own syscalls to handle extended attributes
-+ mib = []_C_int{CTL_HW, HW_MACHINE}
-+ n = unsafe.Sizeof(uname.Machine)
-+ if err := sysctl(mib, &uname.Machine[0], &n, nil, 0); err != nil {
-+ return err
-+ }
-
--func Getxattr(file string, attr string, dest []byte) (sz int, err error) {
-- d := initxattrdest(dest, 0)
-- destsize := len(dest)
-+ return nil
-+}
-
-- nsid, a, err := xattrnamespace(attr)
-+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 -1, err
-+ return err
- }
-
-- return ExtattrGetFile(file, nsid, a, uintptr(d), destsize)
-+ st.convertFrom(&oldStat)
-+ return nil
- }
-
--func Fgetxattr(fd int, attr string, dest []byte) (sz int, err error) {
-- d := initxattrdest(dest, 0)
-- destsize := len(dest)
--
-- nsid, a, err := xattrnamespace(attr)
-+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 -1, err
-+ return err
- }
-
-- return ExtattrGetFd(fd, nsid, a, uintptr(d), destsize)
-+ st.convertFrom(&oldStat)
-+ return nil
- }
-
--func Lgetxattr(link string, attr string, dest []byte) (sz int, err error) {
-- d := initxattrdest(dest, 0)
-- destsize := len(dest)
--
-- nsid, a, err := xattrnamespace(attr)
-+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 -1, err
-+ return err
- }
-
-- return ExtattrGetLink(link, nsid, a, uintptr(d), destsize)
-+ st.convertFrom(&oldStat)
-+ return nil
- }
-
--// flags are unused on FreeBSD
--
--func Fsetxattr(fd int, attr string, data []byte, flags int) (err error) {
-- d := unsafe.Pointer(&data[0])
-- datasiz := len(data)
--
-- nsid, a, err := xattrnamespace(attr)
-+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
-+ return err
- }
-
-- _, err = ExtattrSetFd(fd, nsid, a, uintptr(d), datasiz)
-- return
-+ st.convertFrom(&oldStat)
-+ return nil
- }
-
--func Setxattr(file string, attr string, data []byte, flags int) (err error) {
-- d := unsafe.Pointer(&data[0])
-- datasiz := len(data)
--
-- nsid, a, err := xattrnamespace(attr)
-+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
-+ return err
- }
-
-- _, err = ExtattrSetFile(file, nsid, a, uintptr(d), datasiz)
-- return
-+ st.convertFrom(&oldStatfs)
-+ return nil
- }
-
--func Lsetxattr(link string, attr string, data []byte, flags int) (err error) {
-- d := unsafe.Pointer(&data[0])
-- datasiz := len(data)
--
-- nsid, a, err := xattrnamespace(attr)
-+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
-+ return err
- }
-
-- _, err = ExtattrSetLink(link, nsid, a, uintptr(d), datasiz)
-- return
-+ st.convertFrom(&oldStatfs)
-+ return nil
- }
-
--func Removexattr(file string, attr string) (err error) {
-- nsid, a, err := xattrnamespace(attr)
-- if err != nil {
-+func Getdents(fd int, buf []byte) (n int, err error) {
-+ return Getdirentries(fd, buf, nil)
-+}
-+
-+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
- }
-
-- err = ExtattrDeleteFile(file, nsid, a)
-+ // 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])
-+ }
- return
- }
-
--func Fremovexattr(fd int, attr string) (err error) {
-- nsid, a, err := xattrnamespace(attr)
-- if err != nil {
-- 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)
- }
--
-- err = ExtattrDeleteFd(fd, nsid, a)
-- return
-+ oldDev = int(dev)
-+ return mknod(path, mode, oldDev)
- }
-
--func Lremovexattr(link string, attr string) (err error) {
-- nsid, a, err := xattrnamespace(attr)
-- if err != nil {
-- return
-+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)
-+}
-
-- err = ExtattrDeleteLink(link, nsid, a)
-- return
-+// 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 Listxattr(file string, dest []byte) (sz int, err error) {
-- d := initxattrdest(dest, 0)
-- destsiz := len(dest)
--
-- // FreeBSD won't allow you to list xattrs from multiple namespaces
-- s := 0
-- var e error
-- for _, nsid := range [...]int{EXTATTR_NAMESPACE_USER, EXTATTR_NAMESPACE_SYSTEM} {
-- stmp, e := ExtattrListFile(file, nsid, uintptr(d), destsiz)
--
-- /* Errors accessing system attrs are ignored so that
-- * we can implement the Linux-like behavior of omitting errors that
-- * we don't have read permissions on
-- *
-- * Linux will still error if we ask for user attributes on a file that
-- * we don't have read permissions on, so don't ignore those errors
-- */
-- if e != nil && e == EPERM && nsid != EXTATTR_NAMESPACE_USER {
-- e = nil
-- continue
-- } else if e != nil {
-- return s, e
-- }
-+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),
-+ }
-+}
-
-- s += stmp
-- destsiz -= s
-- if destsiz < 0 {
-- destsiz = 0
-- }
-- d = initxattrdest(dest, s)
-+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
- }
-
-- return s, e
-+ 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 Flistxattr(fd int, dest []byte) (sz int, err error) {
-- d := initxattrdest(dest, 0)
-- destsiz := len(dest)
-+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
-
-- s := 0
-- var e error
-- for _, nsid := range [...]int{EXTATTR_NAMESPACE_USER, EXTATTR_NAMESPACE_SYSTEM} {
-- stmp, e := ExtattrListFd(fd, nsid, uintptr(d), destsiz)
-- if e != nil && e == EPERM && nsid != EXTATTR_NAMESPACE_USER {
-- e = nil
-- continue
-- } else if e != nil {
-- return s, e
-+ // 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
- }
-
-- s += stmp
-- destsiz -= s
-- if destsiz < 0 {
-- destsiz = 0
-+ 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
- }
-- d = initxattrdest(dest, s)
-+
-+ dstPos += int(dstDirent.Reclen)
-+ srcPos += int(srcDirent.Reclen)
- }
-
-- return s, e
-+ return dstPos
- }
-
--func Llistxattr(link string, dest []byte) (sz int, err error) {
-- d := initxattrdest(dest, 0)
-- destsiz := len(dest)
-+func Sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
-+ if raceenabled {
-+ raceReleaseMerge(unsafe.Pointer(&ioSync))
-+ }
-+ return sendfile(outfd, infd, offset, count)
-+}
-
-- s := 0
-- var e error
-- for _, nsid := range [...]int{EXTATTR_NAMESPACE_USER, EXTATTR_NAMESPACE_SYSTEM} {
-- stmp, e := ExtattrListLink(link, nsid, uintptr(d), destsiz)
-- if e != nil && e == EPERM && nsid != EXTATTR_NAMESPACE_USER {
-- e = nil
-- continue
-- } else if e != nil {
-- return s, e
-- }
-+//sys ptrace(request int, pid int, addr uintptr, data int) (err error)
-
-- s += stmp
-- destsiz -= s
-- if destsiz < 0 {
-- destsiz = 0
-- }
-- d = initxattrdest(dest, s)
-- }
-+func PtraceAttach(pid int) (err error) {
-+ return ptrace(PTRACE_ATTACH, pid, 0, 0)
-+}
-
-- return s, e
-+func PtraceCont(pid int, signal int) (err error) {
-+ return ptrace(PTRACE_CONT, pid, 1, signal)
- }
-
--//sys ioctl(fd int, req uint, arg uintptr) (err error)
-+func PtraceDetach(pid int) (err error) {
-+ return ptrace(PTRACE_DETACH, pid, 1, 0)
-+}
-+
-+func PtraceGetFpRegs(pid int, fpregsout *FpReg) (err error) {
-+ return ptrace(PTRACE_GETFPREGS, pid, uintptr(unsafe.Pointer(fpregsout)), 0)
-+}
-
--// ioctl itself should not be exposed directly, but additional get/set
--// functions for specific types are permissible.
-+func PtraceGetRegs(pid int, regsout *Reg) (err error) {
-+ return ptrace(PTRACE_GETREGS, pid, uintptr(unsafe.Pointer(regsout)), 0)
-+}
-+
-+func PtraceLwpEvents(pid int, enable int) (err error) {
-+ return ptrace(PTRACE_LWPEVENTS, pid, 0, enable)
-+}
-+
-+func PtraceLwpInfo(pid int, info uintptr) (err error) {
-+ return ptrace(PTRACE_LWPINFO, pid, info, int(unsafe.Sizeof(PtraceLwpInfoStruct{})))
-+}
-
--// IoctlSetInt performs an ioctl operation which sets an integer value
--// on fd, using the specified request number.
--func IoctlSetInt(fd int, req uint, value int) error {
-- return ioctl(fd, req, uintptr(value))
-+func PtracePeekData(pid int, addr uintptr, out []byte) (count int, err error) {
-+ return PtraceIO(PIOD_READ_D, pid, addr, out, SizeofLong)
- }
-
--func IoctlSetWinsize(fd int, req uint, value *Winsize) error {
-- return ioctl(fd, req, uintptr(unsafe.Pointer(value)))
-+func PtracePeekText(pid int, addr uintptr, out []byte) (count int, err error) {
-+ return PtraceIO(PIOD_READ_I, pid, addr, out, SizeofLong)
- }
-
--func IoctlSetTermios(fd int, req uint, value *Termios) error {
-- return ioctl(fd, req, uintptr(unsafe.Pointer(value)))
-+func PtracePokeData(pid int, addr uintptr, data []byte) (count int, err error) {
-+ return PtraceIO(PIOD_WRITE_D, pid, addr, data, SizeofLong)
- }
-
--// IoctlGetInt performs an ioctl operation which gets an integer value
--// from fd, using the specified request number.
--func IoctlGetInt(fd int, req uint) (int, error) {
-- var value int
-- err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
-- return value, err
-+func PtracePokeText(pid int, addr uintptr, data []byte) (count int, err error) {
-+ return PtraceIO(PIOD_WRITE_I, pid, addr, data, SizeofLong)
- }
-
--func IoctlGetWinsize(fd int, req uint) (*Winsize, error) {
-- var value Winsize
-- err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
-- return &value, err
-+func PtraceSetRegs(pid int, regs *Reg) (err error) {
-+ return ptrace(PTRACE_SETREGS, pid, uintptr(unsafe.Pointer(regs)), 0)
- }
-
--func IoctlGetTermios(fd int, req uint) (*Termios, error) {
-- var value Termios
-- err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
-- return &value, err
-+func PtraceSingleStep(pid int) (err error) {
-+ return ptrace(PTRACE_SINGLESTEP, pid, 1, 0)
- }
-
- /*
-@@ -430,11 +596,16 @@ func IoctlGetTermios(fd int, req uint) (*Termios, 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_t) (err error)
--//sys Fstatfs(fd int, stat *Statfs_t) (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 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(fd int, buf []byte, basep *uintptr) (n int, err error)
-+//sys getdirentries_freebsd12(fd int, buf []byte, basep *uint64) (n int, err error)
- //sys Getdtablesize() (size int)
- //sysnb Getegid() (egid int)
- //sysnb Geteuid() (uid int)
-@@ -456,11 +627,13 @@ func IoctlGetTermios(fd int, req uint) (*Termios, 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_t) (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 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 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)
-@@ -475,7 +648,7 @@ func IoctlGetTermios(fd int, req uint) (*Termios, error) {
- //sys Revoke(path string) (err error)
- //sys Rmdir(path string) (err error)
- //sys Seek(fd int, offset int64, whence int) (newoffset int64, err error) = SYS_LSEEK
--//sys Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error)
-+//sys Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error)
- //sysnb Setegid(egid int) (err error)
- //sysnb Seteuid(euid int) (err error)
- //sysnb Setgid(gid int) (err error)
-@@ -490,8 +663,9 @@ func IoctlGetTermios(fd int, req uint) (*Termios, error) {
- //sysnb Setsid() (pid int, err error)
- //sysnb Settimeofday(tp *Timeval) (err error)
- //sysnb Setuid(uid int) (err error)
--//sys Stat(path string, stat *Stat_t) (err error)
--//sys Statfs(path string, stat *Statfs_t) (err error)
-+//sys 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 Symlink(path string, link string) (err error)
- //sys Symlinkat(oldpath string, newdirfd int, newpath string) (err error)
- //sys Sync() (err error)
-@@ -546,22 +720,14 @@ func IoctlGetTermios(fd int, req uint) (*Termios, error) {
- // Kqueue_portset
- // Getattrlist
- // Setattrlist
-+// Getdents
- // Getdirentriesattr
- // Searchfs
- // Delete
- // Copyfile
--// Poll
- // Watchevent
- // Waitevent
- // Modwatch
--// Getxattr
--// Fgetxattr
--// Setxattr
--// Fsetxattr
--// Removexattr
--// Fremovexattr
--// Listxattr
--// Flistxattr
- // Fsctl
- // Initgroups
- // Posix_spawn
-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 6a0cd804..72a506dd 100644
---- a/vendor/golang.org/x/sys/unix/syscall_freebsd_386.go
-+++ b/vendor/golang.org/x/sys/unix/syscall_freebsd_386.go
-@@ -11,21 +11,12 @@ import (
- "unsafe"
- )
-
--func Getpagesize() int { return 4096 }
--
--func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
--
--func NsecToTimespec(nsec int64) (ts Timespec) {
-- ts.Sec = int32(nsec / 1e9)
-- ts.Nsec = int32(nsec % 1e9)
-- return
-+func setTimespec(sec, nsec int64) Timespec {
-+ return Timespec{Sec: int32(sec), Nsec: int32(nsec)}
- }
-
--func NsecToTimeval(nsec int64) (tv Timeval) {
-- nsec += 999 // round up to microsecond
-- tv.Usec = int32(nsec % 1e9 / 1e3)
-- tv.Sec = int32(nsec / 1e9)
-- return
-+func setTimeval(sec, usec int64) Timeval {
-+ return Timeval{Sec: int32(sec), Usec: int32(usec)}
- }
-
- func SetKevent(k *Kevent_t, fd, mode, flags int) {
-@@ -42,6 +33,10 @@ 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)
- }
-@@ -59,3 +54,13 @@ 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)
-+}
-+
-+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)
-+ 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 e142540e..d5e376ac 100644
---- a/vendor/golang.org/x/sys/unix/syscall_freebsd_amd64.go
-+++ b/vendor/golang.org/x/sys/unix/syscall_freebsd_amd64.go
-@@ -11,21 +11,12 @@ import (
- "unsafe"
- )
-
--func Getpagesize() int { return 4096 }
--
--func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
--
--func NsecToTimespec(nsec int64) (ts Timespec) {
-- ts.Sec = nsec / 1e9
-- ts.Nsec = nsec % 1e9
-- return
-+func setTimespec(sec, nsec int64) Timespec {
-+ return Timespec{Sec: sec, Nsec: nsec}
- }
-
--func NsecToTimeval(nsec int64) (tv Timeval) {
-- nsec += 999 // round up to microsecond
-- tv.Usec = nsec % 1e9 / 1e3
-- tv.Sec = int64(nsec / 1e9)
-- return
-+func setTimeval(sec, usec int64) Timeval {
-+ return Timeval{Sec: sec, Usec: usec}
- }
-
- func SetKevent(k *Kevent_t, fd, mode, flags int) {
-@@ -42,6 +33,10 @@ 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)
- }
-@@ -59,3 +54,13 @@ 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)
-+}
-+
-+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)
-+ 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 5504cb12..4ea45bce 100644
---- a/vendor/golang.org/x/sys/unix/syscall_freebsd_arm.go
-+++ b/vendor/golang.org/x/sys/unix/syscall_freebsd_arm.go
-@@ -11,21 +11,12 @@ import (
- "unsafe"
- )
-
--func Getpagesize() int { return 4096 }
--
--func TimespecToNsec(ts Timespec) int64 { return ts.Sec*1e9 + int64(ts.Nsec) }
--
--func NsecToTimespec(nsec int64) (ts Timespec) {
-- ts.Sec = nsec / 1e9
-- ts.Nsec = int32(nsec % 1e9)
-- return
-+func setTimespec(sec, nsec int64) Timespec {
-+ return Timespec{Sec: sec, Nsec: int32(nsec)}
- }
-
--func NsecToTimeval(nsec int64) (tv Timeval) {
-- nsec += 999 // round up to microsecond
-- tv.Usec = int32(nsec % 1e9 / 1e3)
-- tv.Sec = nsec / 1e9
-- return
-+func setTimeval(sec, usec int64) Timeval {
-+ return Timeval{Sec: sec, Usec: int32(usec)}
- }
-
- func SetKevent(k *Kevent_t, fd, mode, flags int) {
-@@ -42,6 +33,10 @@ 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)
- }
-@@ -59,3 +54,9 @@ 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)
-+ return int(ioDesc.Len), err
-+}
-diff --git a/vendor/golang.org/x/sys/unix/syscall_dragonfly_amd64.go b/vendor/golang.org/x/sys/unix/syscall_freebsd_arm64.go
-similarity index 59%
-copy from vendor/golang.org/x/sys/unix/syscall_dragonfly_amd64.go
-copy to vendor/golang.org/x/sys/unix/syscall_freebsd_arm64.go
-index da7cb798..aa5326db 100644
---- a/vendor/golang.org/x/sys/unix/syscall_dragonfly_amd64.go
-+++ b/vendor/golang.org/x/sys/unix/syscall_freebsd_arm64.go
-@@ -1,8 +1,8 @@
--// Copyright 2009 The Go Authors. All rights reserved.
-+// Copyright 2018 The Go Authors. All rights reserved.
- // Use of this source code is governed by a BSD-style
- // license that can be found in the LICENSE file.
-
--// +build amd64,dragonfly
-+// +build arm64,freebsd
-
- package unix
-
-@@ -11,21 +11,12 @@ import (
- "unsafe"
- )
-
--func Getpagesize() int { return 4096 }
--
--func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
--
--func NsecToTimespec(nsec int64) (ts Timespec) {
-- ts.Sec = nsec / 1e9
-- ts.Nsec = nsec % 1e9
-- return
-+func setTimespec(sec, nsec int64) Timespec {
-+ return Timespec{Sec: sec, Nsec: nsec}
- }
-
--func NsecToTimeval(nsec int64) (tv Timeval) {
-- nsec += 999 // round up to microsecond
-- tv.Usec = nsec % 1e9 / 1e3
-- tv.Sec = int64(nsec / 1e9)
-- return
-+func setTimeval(sec, usec int64) Timeval {
-+ return Timeval{Sec: sec, Usec: usec}
- }
-
- func SetKevent(k *Kevent_t, fd, mode, flags int) {
-@@ -42,6 +33,10 @@ 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)
- }
-@@ -59,3 +54,9 @@ 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)
-+ 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
-new file mode 100644
-index 00000000..99e62dcd
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/syscall_illumos.go
-@@ -0,0 +1,57 @@
-+// 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.
-+
-+// illumos system calls not present on Solaris.
-+
-+// +build amd64,illumos
-+
-+package unix
-+
-+import "unsafe"
-+
-+func bytes2iovec(bs [][]byte) []Iovec {
-+ iovecs := make([]Iovec, len(bs))
-+ 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]))
-+ } else {
-+ iovecs[i].Base = (*int8)(unsafe.Pointer(&_zero))
-+ }
-+ }
-+ return iovecs
-+}
-+
-+//sys readv(fd int, iovs []Iovec) (n int, err error)
-+
-+func Readv(fd int, iovs [][]byte) (n int, err error) {
-+ iovecs := bytes2iovec(iovs)
-+ n, err = readv(fd, iovecs)
-+ return n, err
-+}
-+
-+//sys preadv(fd int, iovs []Iovec, off int64) (n int, err error)
-+
-+func Preadv(fd int, iovs [][]byte, off int64) (n int, err error) {
-+ iovecs := bytes2iovec(iovs)
-+ n, err = preadv(fd, iovecs, off)
-+ return n, err
-+}
-+
-+//sys writev(fd int, iovs []Iovec) (n int, err error)
-+
-+func Writev(fd int, iovs [][]byte) (n int, err error) {
-+ iovecs := bytes2iovec(iovs)
-+ n, err = writev(fd, iovecs)
-+ return n, err
-+}
-+
-+//sys pwritev(fd int, iovs []Iovec, off int64) (n int, err error)
-+
-+func Pwritev(fd int, iovs [][]byte, off int64) (n int, err error) {
-+ iovecs := bytes2iovec(iovs)
-+ n, err = pwritev(fd, iovecs, off)
-+ return n, err
-+}
-diff --git a/vendor/golang.org/x/sys/unix/syscall_linux.go b/vendor/golang.org/x/sys/unix/syscall_linux.go
-index 1b7d59d8..bbe1abbc 100644
---- a/vendor/golang.org/x/sys/unix/syscall_linux.go
-+++ b/vendor/golang.org/x/sys/unix/syscall_linux.go
-@@ -12,6 +12,8 @@
- package unix
-
- import (
-+ "encoding/binary"
-+ "runtime"
- "syscall"
- "unsafe"
- )
-@@ -36,6 +38,20 @@ func Creat(path string, mode uint32) (fd int, err error) {
- return Open(path, O_CREAT|O_WRONLY|O_TRUNC, mode)
- }
-
-+//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)
-+
-+func FanotifyMark(fd int, flags uint, mask uint64, dirFd int, pathname string) (err error) {
-+ if pathname == "" {
-+ return fanotifyMark(fd, flags, mask, dirFd, nil)
-+ }
-+ p, err := BytePtrFromString(pathname)
-+ if err != nil {
-+ return err
-+ }
-+ return fanotifyMark(fd, flags, mask, dirFd, p)
-+}
-+
- //sys fchmodat(dirfd int, path string, mode uint32) (err error)
-
- func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
-@@ -55,37 +71,41 @@ func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
- // ioctl itself should not be exposed directly, but additional get/set
- // functions for specific types are permissible.
-
--// IoctlSetInt performs an ioctl operation which sets an integer value
--// on fd, using the specified request number.
--func IoctlSetInt(fd int, req uint, value int) error {
-- return ioctl(fd, req, uintptr(value))
-+// IoctlRetInt performs an ioctl operation specified by req on a device
-+// associated with opened file descriptor fd, and returns a non-negative
-+// integer that is returned by the ioctl syscall.
-+func IoctlRetInt(fd int, req uint) (int, error) {
-+ ret, _, err := Syscall(SYS_IOCTL, uintptr(fd), uintptr(req), 0)
-+ if err != 0 {
-+ return 0, err
-+ }
-+ return int(ret), nil
- }
-
--func IoctlSetWinsize(fd int, req uint, value *Winsize) error {
-- return ioctl(fd, req, uintptr(unsafe.Pointer(value)))
-+// IoctlSetPointerInt performs an ioctl operation which sets an
-+// integer value on fd, using the specified request number. The ioctl
-+// argument is called with a pointer to the integer value, rather than
-+// passing the integer value directly.
-+func IoctlSetPointerInt(fd int, req uint, value int) error {
-+ v := int32(value)
-+ return ioctl(fd, req, uintptr(unsafe.Pointer(&v)))
- }
-
--func IoctlSetTermios(fd int, req uint, value *Termios) error {
-- return ioctl(fd, req, uintptr(unsafe.Pointer(value)))
-+func IoctlSetRTCTime(fd int, value *RTCTime) error {
-+ err := ioctl(fd, RTC_SET_TIME, uintptr(unsafe.Pointer(value)))
-+ runtime.KeepAlive(value)
-+ return err
- }
-
--// IoctlGetInt performs an ioctl operation which gets an integer value
--// from fd, using the specified request number.
--func IoctlGetInt(fd int, req uint) (int, error) {
-- var value int
-+func IoctlGetUint32(fd int, req uint) (uint32, error) {
-+ var value uint32
- err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
- return value, err
- }
-
--func IoctlGetWinsize(fd int, req uint) (*Winsize, error) {
-- var value Winsize
-- err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
-- return &value, err
--}
--
--func IoctlGetTermios(fd int, req uint) (*Termios, error) {
-- var value Termios
-- err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
-+func IoctlGetRTCTime(fd int) (*RTCTime, error) {
-+ var value RTCTime
-+ err := ioctl(fd, RTC_RD_TIME, uintptr(unsafe.Pointer(&value)))
- return &value, err
- }
-
-@@ -148,8 +168,6 @@ func Unlink(path string) error {
-
- //sys Unlinkat(dirfd int, path string, flags int) (err error)
-
--//sys utimes(path string, times *[2]Timeval) (err error)
--
- func Utimes(path string, tv []Timeval) error {
- if tv == nil {
- err := utimensat(AT_FDCWD, path, nil, 0)
-@@ -207,20 +225,14 @@ func UtimesNanoAt(dirfd int, path string, ts []Timespec, flags int) error {
- return utimensat(dirfd, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), flags)
- }
-
--//sys futimesat(dirfd int, path *byte, times *[2]Timeval) (err error)
--
- func Futimesat(dirfd int, path string, tv []Timeval) error {
-- pathp, err := BytePtrFromString(path)
-- if err != nil {
-- return err
-- }
- if tv == nil {
-- return futimesat(dirfd, pathp, nil)
-+ return futimesat(dirfd, path, nil)
- }
- if len(tv) != 2 {
- return EINVAL
- }
-- return futimesat(dirfd, pathp, (*[2]Timeval)(unsafe.Pointer(&tv[0])))
-+ return futimesat(dirfd, path, (*[2]Timeval)(unsafe.Pointer(&tv[0])))
- }
-
- func Futimes(fd int, tv []Timeval) (err error) {
-@@ -255,7 +267,7 @@ func Getgroups() (gids []int, err error) {
- return nil, nil
- }
-
-- // Sanity check group count. Max is 1<<16 on Linux.
-+ // Sanity check group count. Max is 1<<16 on Linux.
- if n < 0 || n > 1<<20 {
- return nil, EINVAL
- }
-@@ -290,8 +302,8 @@ type WaitStatus uint32
- // 0x7F (stopped), or a signal number that caused an exit.
- // The 0x80 bit is whether there was a core dump.
- // An extra number (exit code, signal causing a stop)
--// is in the high bits. At least that's the idea.
--// There are various irregularities. For example, the
-+// is in the high bits. At least that's the idea.
-+// There are various irregularities. For example, the
- // "continued" status is 0xFFFF, distinguishing itself
- // from stopped via the core dump bit.
-
-@@ -413,6 +425,7 @@ func (sa *SockaddrUnix) sockaddr() (unsafe.Pointer, _Socklen, error) {
- return unsafe.Pointer(&sa.raw), sl, nil
- }
-
-+// SockaddrLinklayer implements the Sockaddr interface for AF_PACKET type sockets.
- type SockaddrLinklayer struct {
- Protocol uint16
- Ifindex int
-@@ -439,6 +452,7 @@ func (sa *SockaddrLinklayer) sockaddr() (unsafe.Pointer, _Socklen, error) {
- return unsafe.Pointer(&sa.raw), SizeofSockaddrLinklayer, nil
- }
-
-+// SockaddrNetlink implements the Sockaddr interface for AF_NETLINK type sockets.
- type SockaddrNetlink struct {
- Family uint16
- Pad uint16
-@@ -455,6 +469,8 @@ func (sa *SockaddrNetlink) sockaddr() (unsafe.Pointer, _Socklen, error) {
- return unsafe.Pointer(&sa.raw), SizeofSockaddrNetlink, nil
- }
-
-+// SockaddrHCI implements the Sockaddr interface for AF_BLUETOOTH type sockets
-+// using the HCI protocol.
- type SockaddrHCI struct {
- Dev uint16
- Channel uint16
-@@ -468,6 +484,72 @@ func (sa *SockaddrHCI) sockaddr() (unsafe.Pointer, _Socklen, error) {
- return unsafe.Pointer(&sa.raw), SizeofSockaddrHCI, nil
- }
-
-+// SockaddrL2 implements the Sockaddr interface for AF_BLUETOOTH type sockets
-+// using the L2CAP protocol.
-+type SockaddrL2 struct {
-+ PSM uint16
-+ CID uint16
-+ Addr [6]uint8
-+ AddrType uint8
-+ raw RawSockaddrL2
-+}
-+
-+func (sa *SockaddrL2) sockaddr() (unsafe.Pointer, _Socklen, error) {
-+ sa.raw.Family = AF_BLUETOOTH
-+ psm := (*[2]byte)(unsafe.Pointer(&sa.raw.Psm))
-+ psm[0] = byte(sa.PSM)
-+ psm[1] = byte(sa.PSM >> 8)
-+ for i := 0; i < len(sa.Addr); i++ {
-+ sa.raw.Bdaddr[i] = sa.Addr[len(sa.Addr)-1-i]
-+ }
-+ cid := (*[2]byte)(unsafe.Pointer(&sa.raw.Cid))
-+ cid[0] = byte(sa.CID)
-+ cid[1] = byte(sa.CID >> 8)
-+ sa.raw.Bdaddr_type = sa.AddrType
-+ return unsafe.Pointer(&sa.raw), SizeofSockaddrL2, nil
-+}
-+
-+// SockaddrRFCOMM implements the Sockaddr interface for AF_BLUETOOTH type sockets
-+// using the RFCOMM protocol.
-+//
-+// 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)
-+//
-+// 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`))
-+type SockaddrRFCOMM struct {
-+ // Addr represents a bluetooth address, byte ordering is little-endian.
-+ Addr [6]uint8
-+
-+ // Channel is a designated bluetooth channel, only 1-30 are available for use.
-+ // Since Linux 2.6.7 and further zero value is the first available channel.
-+ Channel uint8
-+
-+ raw RawSockaddrRFCOMM
-+}
-+
-+func (sa *SockaddrRFCOMM) sockaddr() (unsafe.Pointer, _Socklen, error) {
-+ sa.raw.Family = AF_BLUETOOTH
-+ sa.raw.Channel = sa.Channel
-+ sa.raw.Bdaddr = sa.Addr
-+ return unsafe.Pointer(&sa.raw), SizeofSockaddrRFCOMM, nil
-+}
-+
- // SockaddrCAN implements the Sockaddr interface for AF_CAN type sockets.
- // The RxID and TxID fields are used for transport protocol addressing in
- // (CAN_TP16, CAN_TP20, CAN_MCNET, and CAN_ISOTP), they can be left with
-@@ -630,7 +712,168 @@ func (sa *SockaddrVM) sockaddr() (unsafe.Pointer, _Socklen, error) {
- return unsafe.Pointer(&sa.raw), SizeofSockaddrVM, nil
- }
-
--func anyToSockaddr(rsa *RawSockaddrAny) (Sockaddr, error) {
-+type SockaddrXDP struct {
-+ Flags uint16
-+ Ifindex uint32
-+ QueueID uint32
-+ SharedUmemFD uint32
-+ raw RawSockaddrXDP
-+}
-+
-+func (sa *SockaddrXDP) sockaddr() (unsafe.Pointer, _Socklen, error) {
-+ sa.raw.Family = AF_XDP
-+ sa.raw.Flags = sa.Flags
-+ sa.raw.Ifindex = sa.Ifindex
-+ sa.raw.Queue_id = sa.QueueID
-+ sa.raw.Shared_umem_fd = sa.SharedUmemFD
-+
-+ return unsafe.Pointer(&sa.raw), SizeofSockaddrXDP, nil
-+}
-+
-+// This constant mirrors the #define of PX_PROTO_OE in
-+// linux/if_pppox.h. We're defining this by hand here instead of
-+// autogenerating through mkerrors.sh because including
-+// linux/if_pppox.h causes some declaration conflicts with other
-+// includes (linux/if_pppox.h includes linux/in.h, which conflicts
-+// with netinet/in.h). Given that we only need a single zero constant
-+// out of that file, it's cleaner to just define it by hand here.
-+const px_proto_oe = 0
-+
-+type SockaddrPPPoE struct {
-+ SID uint16
-+ Remote []byte
-+ Dev string
-+ raw RawSockaddrPPPoX
-+}
-+
-+func (sa *SockaddrPPPoE) sockaddr() (unsafe.Pointer, _Socklen, error) {
-+ if len(sa.Remote) != 6 {
-+ return nil, 0, EINVAL
-+ }
-+ if len(sa.Dev) > IFNAMSIZ-1 {
-+ return nil, 0, EINVAL
-+ }
-+
-+ *(*uint16)(unsafe.Pointer(&sa.raw[0])) = AF_PPPOX
-+ // This next field is in host-endian byte order. We can't use the
-+ // same unsafe pointer cast as above, because this value is not
-+ // 32-bit aligned and some architectures don't allow unaligned
-+ // access.
-+ //
-+ // However, the value of px_proto_oe is 0, so we can use
-+ // encoding/binary helpers to write the bytes without worrying
-+ // about the ordering.
-+ binary.BigEndian.PutUint32(sa.raw[2:6], px_proto_oe)
-+ // This field is deliberately big-endian, unlike the previous
-+ // one. The kernel expects SID to be in network byte order.
-+ binary.BigEndian.PutUint16(sa.raw[6:8], sa.SID)
-+ copy(sa.raw[8:14], sa.Remote)
-+ for i := 14; i < 14+IFNAMSIZ; i++ {
-+ sa.raw[i] = 0
-+ }
-+ copy(sa.raw[14:], sa.Dev)
-+ return unsafe.Pointer(&sa.raw), SizeofSockaddrPPPoX, nil
-+}
-+
-+// SockaddrTIPC implements the Sockaddr interface for AF_TIPC type sockets.
-+// For more information on TIPC, see: http://tipc.sourceforge.net/.
-+type SockaddrTIPC struct {
-+ // Scope is the publication scopes when binding service/service range.
-+ // Should be set to TIPC_CLUSTER_SCOPE or TIPC_NODE_SCOPE.
-+ Scope int
-+
-+ // Addr is the type of address used to manipulate a socket. Addr must be
-+ // one of:
-+ // - *TIPCSocketAddr: "id" variant in the C addr union
-+ // - *TIPCServiceRange: "nameseq" variant in the C addr union
-+ // - *TIPCServiceName: "name" variant in the C addr union
-+ //
-+ // If nil, EINVAL will be returned when the structure is used.
-+ Addr TIPCAddr
-+
-+ raw RawSockaddrTIPC
-+}
-+
-+// TIPCAddr is implemented by types that can be used as an address for
-+// SockaddrTIPC. It is only implemented by *TIPCSocketAddr, *TIPCServiceRange,
-+// and *TIPCServiceName.
-+type TIPCAddr interface {
-+ tipcAddrtype() uint8
-+ tipcAddr() [12]byte
-+}
-+
-+func (sa *TIPCSocketAddr) tipcAddr() [12]byte {
-+ var out [12]byte
-+ copy(out[:], (*(*[unsafe.Sizeof(TIPCSocketAddr{})]byte)(unsafe.Pointer(sa)))[:])
-+ return out
-+}
-+
-+func (sa *TIPCSocketAddr) tipcAddrtype() uint8 { return TIPC_SOCKET_ADDR }
-+
-+func (sa *TIPCServiceRange) tipcAddr() [12]byte {
-+ var out [12]byte
-+ copy(out[:], (*(*[unsafe.Sizeof(TIPCServiceRange{})]byte)(unsafe.Pointer(sa)))[:])
-+ return out
-+}
-+
-+func (sa *TIPCServiceRange) tipcAddrtype() uint8 { return TIPC_SERVICE_RANGE }
-+
-+func (sa *TIPCServiceName) tipcAddr() [12]byte {
-+ var out [12]byte
-+ copy(out[:], (*(*[unsafe.Sizeof(TIPCServiceName{})]byte)(unsafe.Pointer(sa)))[:])
-+ return out
-+}
-+
-+func (sa *TIPCServiceName) tipcAddrtype() uint8 { return TIPC_SERVICE_ADDR }
-+
-+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
-+}
-+
-+// SockaddrL2TPIP implements the Sockaddr interface for IPPROTO_L2TP/AF_INET sockets.
-+type SockaddrL2TPIP struct {
-+ Addr [4]byte
-+ ConnId uint32
-+ raw RawSockaddrL2TPIP
-+}
-+
-+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]
-+ }
-+ return unsafe.Pointer(&sa.raw), SizeofSockaddrL2TPIP, nil
-+}
-+
-+// SockaddrL2TPIP6 implements the Sockaddr interface for IPPROTO_L2TP/AF_INET6 sockets.
-+type SockaddrL2TPIP6 struct {
-+ Addr [16]byte
-+ ZoneId uint32
-+ ConnId uint32
-+ raw RawSockaddrL2TPIP6
-+}
-+
-+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]
-+ }
-+ return unsafe.Pointer(&sa.raw), SizeofSockaddrL2TPIP6, nil
-+}
-+
-+func anyToSockaddr(fd int, rsa *RawSockaddrAny) (Sockaddr, error) {
- switch rsa.Addr.Family {
- case AF_NETLINK:
- pp := (*RawSockaddrNetlink)(unsafe.Pointer(rsa))
-@@ -675,30 +918,63 @@ func anyToSockaddr(rsa *RawSockaddrAny) (Sockaddr, error) {
- for n < len(pp.Path) && pp.Path[n] != 0 {
- n++
- }
-- bytes := (*[10000]byte)(unsafe.Pointer(&pp.Path[0]))[0:n]
-+ bytes := (*[len(pp.Path)]byte)(unsafe.Pointer(&pp.Path[0]))[0:n]
- sa.Name = string(bytes)
- return sa, nil
-
- case AF_INET:
-- pp := (*RawSockaddrInet4)(unsafe.Pointer(rsa))
-- sa := new(SockaddrInet4)
-- p := (*[2]byte)(unsafe.Pointer(&pp.Port))
-- sa.Port = int(p[0])<<8 + int(p[1])
-- for i := 0; i < len(sa.Addr); i++ {
-- sa.Addr[i] = pp.Addr[i]
-+ proto, err := GetsockoptInt(fd, SOL_SOCKET, SO_PROTOCOL)
-+ if err != nil {
-+ return nil, err
-+ }
-+
-+ switch proto {
-+ case IPPROTO_L2TP:
-+ 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]
-+ }
-+ 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]
-+ }
-+ return sa, nil
- }
-- return sa, nil
-
- case AF_INET6:
-- pp := (*RawSockaddrInet6)(unsafe.Pointer(rsa))
-- sa := new(SockaddrInet6)
-- p := (*[2]byte)(unsafe.Pointer(&pp.Port))
-- sa.Port = int(p[0])<<8 + int(p[1])
-- sa.ZoneId = pp.Scope_id
-- for i := 0; i < len(sa.Addr); i++ {
-- sa.Addr[i] = pp.Addr[i]
-+ proto, err := GetsockoptInt(fd, SOL_SOCKET, SO_PROTOCOL)
-+ if err != nil {
-+ return nil, err
-+ }
-+
-+ switch proto {
-+ case IPPROTO_L2TP:
-+ pp := (*RawSockaddrL2TPIP6)(unsafe.Pointer(rsa))
-+ 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]
-+ }
-+ return sa, nil
-+ default:
-+ pp := (*RawSockaddrInet6)(unsafe.Pointer(rsa))
-+ sa := new(SockaddrInet6)
-+ p := (*[2]byte)(unsafe.Pointer(&pp.Port))
-+ sa.Port = int(p[0])<<8 + int(p[1])
-+ sa.ZoneId = pp.Scope_id
-+ for i := 0; i < len(sa.Addr); i++ {
-+ sa.Addr[i] = pp.Addr[i]
-+ }
-+ return sa, nil
- }
-- return sa, nil
-
- case AF_VSOCK:
- pp := (*RawSockaddrVM)(unsafe.Pointer(rsa))
-@@ -706,6 +982,76 @@ func anyToSockaddr(rsa *RawSockaddrAny) (Sockaddr, error) {
- CID: pp.Cid,
- Port: pp.Port,
- }
-+ return sa, nil
-+ case AF_BLUETOOTH:
-+ proto, err := GetsockoptInt(fd, SOL_SOCKET, SO_PROTOCOL)
-+ if err != nil {
-+ return nil, err
-+ }
-+ // only BTPROTO_L2CAP and BTPROTO_RFCOMM can accept connections
-+ switch proto {
-+ case BTPROTO_L2CAP:
-+ pp := (*RawSockaddrL2)(unsafe.Pointer(rsa))
-+ sa := &SockaddrL2{
-+ PSM: pp.Psm,
-+ CID: pp.Cid,
-+ Addr: pp.Bdaddr,
-+ AddrType: pp.Bdaddr_type,
-+ }
-+ return sa, nil
-+ case BTPROTO_RFCOMM:
-+ pp := (*RawSockaddrRFCOMM)(unsafe.Pointer(rsa))
-+ sa := &SockaddrRFCOMM{
-+ Channel: pp.Channel,
-+ Addr: pp.Bdaddr,
-+ }
-+ return sa, nil
-+ }
-+ case AF_XDP:
-+ pp := (*RawSockaddrXDP)(unsafe.Pointer(rsa))
-+ sa := &SockaddrXDP{
-+ Flags: pp.Flags,
-+ Ifindex: pp.Ifindex,
-+ QueueID: pp.Queue_id,
-+ SharedUmemFD: pp.Shared_umem_fd,
-+ }
-+ return sa, nil
-+ case AF_PPPOX:
-+ pp := (*RawSockaddrPPPoX)(unsafe.Pointer(rsa))
-+ if binary.BigEndian.Uint32(pp[2:6]) != px_proto_oe {
-+ return nil, EINVAL
-+ }
-+ sa := &SockaddrPPPoE{
-+ SID: binary.BigEndian.Uint16(pp[6:8]),
-+ Remote: pp[8:14],
-+ }
-+ for i := 14; i < 14+IFNAMSIZ; i++ {
-+ if pp[i] == 0 {
-+ sa.Dev = string(pp[14:i])
-+ break
-+ }
-+ }
-+ return sa, nil
-+ case AF_TIPC:
-+ pp := (*RawSockaddrTIPC)(unsafe.Pointer(rsa))
-+
-+ sa := &SockaddrTIPC{
-+ Scope: int(pp.Scope),
-+ }
-+
-+ // Determine which union variant is present in pp.Addr by checking
-+ // pp.Addrtype.
-+ switch pp.Addrtype {
-+ case TIPC_SERVICE_RANGE:
-+ sa.Addr = (*TIPCServiceRange)(unsafe.Pointer(&pp.Addr))
-+ case TIPC_SERVICE_ADDR:
-+ sa.Addr = (*TIPCServiceName)(unsafe.Pointer(&pp.Addr))
-+ case TIPC_SOCKET_ADDR:
-+ sa.Addr = (*TIPCSocketAddr)(unsafe.Pointer(&pp.Addr))
-+ default:
-+ return nil, EINVAL
-+ }
-+
- return sa, nil
- }
- return nil, EAFNOSUPPORT
-@@ -718,7 +1064,7 @@ func Accept(fd int) (nfd int, sa Sockaddr, err error) {
- if err != nil {
- return
- }
-- sa, err = anyToSockaddr(&rsa)
-+ sa, err = anyToSockaddr(fd, &rsa)
- if err != nil {
- Close(nfd)
- nfd = 0
-@@ -736,7 +1082,7 @@ func Accept4(fd int, flags int) (nfd int, sa Sockaddr, err error) {
- if len > SizeofSockaddrAny {
- panic("RawSockaddrAny too small")
- }
-- sa, err = anyToSockaddr(&rsa)
-+ sa, err = anyToSockaddr(fd, &rsa)
- if err != nil {
- Close(nfd)
- nfd = 0
-@@ -750,20 +1096,7 @@ func Getsockname(fd int) (sa Sockaddr, err error) {
- if err = getsockname(fd, &rsa, &len); err != nil {
- return
- }
-- return anyToSockaddr(&rsa)
--}
--
--func GetsockoptInet4Addr(fd, level, opt int) (value [4]byte, err error) {
-- vallen := _Socklen(4)
-- err = getsockopt(fd, level, opt, unsafe.Pointer(&value[0]), &vallen)
-- return value, err
--}
--
--func GetsockoptIPMreq(fd, level, opt int) (*IPMreq, error) {
-- var value IPMreq
-- vallen := _Socklen(SizeofIPMreq)
-- err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
-- return &value, err
-+ return anyToSockaddr(fd, &rsa)
- }
-
- func GetsockoptIPMreqn(fd, level, opt int) (*IPMreqn, error) {
-@@ -773,37 +1106,48 @@ func GetsockoptIPMreqn(fd, level, opt int) (*IPMreqn, error) {
- return &value, err
- }
-
--func GetsockoptIPv6Mreq(fd, level, opt int) (*IPv6Mreq, error) {
-- var value IPv6Mreq
-- vallen := _Socklen(SizeofIPv6Mreq)
-+func GetsockoptUcred(fd, level, opt int) (*Ucred, error) {
-+ var value Ucred
-+ vallen := _Socklen(SizeofUcred)
- err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
- return &value, err
- }
-
--func GetsockoptIPv6MTUInfo(fd, level, opt int) (*IPv6MTUInfo, error) {
-- var value IPv6MTUInfo
-- vallen := _Socklen(SizeofIPv6MTUInfo)
-+func GetsockoptTCPInfo(fd, level, opt int) (*TCPInfo, error) {
-+ var value TCPInfo
-+ vallen := _Socklen(SizeofTCPInfo)
- err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
- return &value, err
- }
-
--func GetsockoptICMPv6Filter(fd, level, opt int) (*ICMPv6Filter, error) {
-- var value ICMPv6Filter
-- vallen := _Socklen(SizeofICMPv6Filter)
-- err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
-- return &value, err
-+// GetsockoptString returns the string value of the socket option opt for the
-+// socket associated with fd at the given socket level.
-+func GetsockoptString(fd, level, opt int) (string, error) {
-+ buf := make([]byte, 256)
-+ vallen := _Socklen(len(buf))
-+ err := getsockopt(fd, level, opt, unsafe.Pointer(&buf[0]), &vallen)
-+ if err != nil {
-+ if err == ERANGE {
-+ buf = make([]byte, vallen)
-+ err = getsockopt(fd, level, opt, unsafe.Pointer(&buf[0]), &vallen)
-+ }
-+ if err != nil {
-+ return "", err
-+ }
-+ }
-+ return string(buf[:vallen-1]), nil
- }
-
--func GetsockoptUcred(fd, level, opt int) (*Ucred, error) {
-- var value Ucred
-- vallen := _Socklen(SizeofUcred)
-+func GetsockoptTpacketStats(fd, level, opt int) (*TpacketStats, error) {
-+ var value TpacketStats
-+ vallen := _Socklen(SizeofTpacketStats)
- err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
- return &value, err
- }
-
--func GetsockoptTCPInfo(fd, level, opt int) (*TCPInfo, error) {
-- var value TCPInfo
-- vallen := _Socklen(SizeofTCPInfo)
-+func GetsockoptTpacketStatsV3(fd, level, opt int) (*TpacketStatsV3, error) {
-+ var value TpacketStatsV3
-+ vallen := _Socklen(SizeofTpacketStatsV3)
- err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
- return &value, err
- }
-@@ -812,6 +1156,32 @@ func SetsockoptIPMreqn(fd, level, opt int, mreq *IPMreqn) (err error) {
- return setsockopt(fd, level, opt, unsafe.Pointer(mreq), unsafe.Sizeof(*mreq))
- }
-
-+func SetsockoptPacketMreq(fd, level, opt int, mreq *PacketMreq) error {
-+ return setsockopt(fd, level, opt, unsafe.Pointer(mreq), unsafe.Sizeof(*mreq))
-+}
-+
-+// SetsockoptSockFprog attaches a classic BPF or an extended BPF program to a
-+// socket to filter incoming packets. See 'man 7 socket' for usage information.
-+func SetsockoptSockFprog(fd, level, opt int, fprog *SockFprog) error {
-+ return setsockopt(fd, level, opt, unsafe.Pointer(fprog), unsafe.Sizeof(*fprog))
-+}
-+
-+func SetsockoptCanRawFilter(fd, level, opt int, filter []CanFilter) error {
-+ var p unsafe.Pointer
-+ if len(filter) > 0 {
-+ p = unsafe.Pointer(&filter[0])
-+ }
-+ return setsockopt(fd, level, opt, p, uintptr(len(filter)*SizeofCanFilter))
-+}
-+
-+func SetsockoptTpacketReq(fd, level, opt int, tp *TpacketReq) error {
-+ return setsockopt(fd, level, opt, unsafe.Pointer(tp), unsafe.Sizeof(*tp))
-+}
-+
-+func SetsockoptTpacketReq3(fd, level, opt int, tp *TpacketReq3) error {
-+ return setsockopt(fd, level, opt, unsafe.Pointer(tp), unsafe.Sizeof(*tp))
-+}
-+
- // Keyctl Commands (http://man7.org/linux/man-pages/man2/keyctl.2.html)
-
- // KeyctlInt calls keyctl commands in which each argument is an int.
-@@ -919,6 +1289,34 @@ func KeyctlDHCompute(params *KeyctlDHParams, buffer []byte) (size int, err error
- return keyctlDH(KEYCTL_DH_COMPUTE, params, buffer)
- }
-
-+// KeyctlRestrictKeyring implements the KEYCTL_RESTRICT_KEYRING command. This
-+// command limits the set of keys that can be linked to the keyring, regardless
-+// of keyring permissions. The command requires the "setattr" permission.
-+//
-+// When called with an empty keyType the command locks the keyring, preventing
-+// any further keys from being linked to the keyring.
-+//
-+// The "asymmetric" keyType defines restrictions requiring key payloads to be
-+// DER encoded X.509 certificates signed by keys in another keyring. Restrictions
-+// for "asymmetric" include "builtin_trusted", "builtin_and_secondary_trusted",
-+// "key_or_keyring:<key>", and "key_or_keyring:<key>:chain".
-+//
-+// As of Linux 4.12, only the "asymmetric" keyType defines type-specific
-+// restrictions.
-+//
-+// See the full documentation at:
-+// http://man7.org/linux/man-pages/man3/keyctl_restrict_keyring.3.html
-+// http://man7.org/linux/man-pages/man2/keyctl.2.html
-+func KeyctlRestrictKeyring(ringid int, keyType string, restriction string) error {
-+ if keyType == "" {
-+ return keyctlRestrictKeyring(KEYCTL_RESTRICT_KEYRING, ringid)
-+ }
-+ return keyctlRestrictKeyringByType(KEYCTL_RESTRICT_KEYRING, ringid, keyType, restriction)
-+}
-+
-+//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) {
- var msg Msghdr
- var rsa RawSockaddrAny
-@@ -926,22 +1324,24 @@ func Recvmsg(fd int, p, oob []byte, flags int) (n, oobn int, recvflags int, from
- msg.Namelen = uint32(SizeofSockaddrAny)
- var iov Iovec
- if len(p) > 0 {
-- iov.Base = (*byte)(unsafe.Pointer(&p[0]))
-+ iov.Base = &p[0]
- iov.SetLen(len(p))
- }
- var dummy byte
- if len(oob) > 0 {
-- var sockType int
-- sockType, err = GetsockoptInt(fd, SOL_SOCKET, SO_TYPE)
-- if err != nil {
-- return
-+ if len(p) == 0 {
-+ var sockType int
-+ sockType, err = GetsockoptInt(fd, SOL_SOCKET, SO_TYPE)
-+ if err != nil {
-+ return
-+ }
-+ // receive at least one normal byte
-+ if sockType != SOCK_DGRAM {
-+ iov.Base = &dummy
-+ iov.SetLen(1)
-+ }
- }
-- // receive at least one normal byte
-- if sockType != SOCK_DGRAM && len(p) == 0 {
-- iov.Base = &dummy
-- iov.SetLen(1)
-- }
-- msg.Control = (*byte)(unsafe.Pointer(&oob[0]))
-+ msg.Control = &oob[0]
- msg.SetControllen(len(oob))
- }
- msg.Iov = &iov
-@@ -953,7 +1353,7 @@ func Recvmsg(fd int, p, oob []byte, flags int) (n, oobn int, recvflags int, from
- recvflags = int(msg.Flags)
- // source address is only specified if the socket is unconnected
- if rsa.Addr.Family != AF_UNSPEC {
-- from, err = anyToSockaddr(&rsa)
-+ from, err = anyToSockaddr(fd, &rsa)
- }
- return
- }
-@@ -974,26 +1374,28 @@ func SendmsgN(fd int, p, oob []byte, to Sockaddr, flags int) (n int, err error)
- }
- }
- var msg Msghdr
-- msg.Name = (*byte)(unsafe.Pointer(ptr))
-+ msg.Name = (*byte)(ptr)
- msg.Namelen = uint32(salen)
- var iov Iovec
- if len(p) > 0 {
-- iov.Base = (*byte)(unsafe.Pointer(&p[0]))
-+ iov.Base = &p[0]
- iov.SetLen(len(p))
- }
- var dummy byte
- if len(oob) > 0 {
-- var sockType int
-- sockType, err = GetsockoptInt(fd, SOL_SOCKET, SO_TYPE)
-- if err != nil {
-- return 0, err
-+ if len(p) == 0 {
-+ var sockType int
-+ sockType, err = GetsockoptInt(fd, SOL_SOCKET, SO_TYPE)
-+ if err != nil {
-+ return 0, err
-+ }
-+ // send at least one normal byte
-+ if sockType != SOCK_DGRAM {
-+ iov.Base = &dummy
-+ iov.SetLen(1)
-+ }
- }
-- // send at least one normal byte
-- if sockType != SOCK_DGRAM && len(p) == 0 {
-- iov.Base = &dummy
-- iov.SetLen(1)
-- }
-- msg.Control = (*byte)(unsafe.Pointer(&oob[0]))
-+ msg.Control = &oob[0]
- msg.SetControllen(len(oob))
- }
- msg.Iov = &iov
-@@ -1021,20 +1423,20 @@ func ptracePeek(req int, pid int, addr uintptr, out []byte) (count int, err erro
- // The ptrace syscall differs from glibc's ptrace.
- // Peeks returns the word in *data, not as the return value.
-
-- var buf [sizeofPtr]byte
-+ var buf [SizeofPtr]byte
-
-- // Leading edge. PEEKTEXT/PEEKDATA don't require aligned
-+ // Leading edge. PEEKTEXT/PEEKDATA don't require aligned
- // access (PEEKUSER warns that it might), but if we don't
- // align our reads, we might straddle an unmapped page
- // boundary and not get the bytes leading up to the page
- // boundary.
- n := 0
-- if addr%sizeofPtr != 0 {
-- err = ptrace(req, pid, addr-addr%sizeofPtr, uintptr(unsafe.Pointer(&buf[0])))
-+ if addr%SizeofPtr != 0 {
-+ err = ptrace(req, pid, addr-addr%SizeofPtr, uintptr(unsafe.Pointer(&buf[0])))
- if err != nil {
- return 0, err
- }
-- n += copy(out, buf[addr%sizeofPtr:])
-+ n += copy(out, buf[addr%SizeofPtr:])
- out = out[n:]
- }
-
-@@ -1072,15 +1474,15 @@ func ptracePoke(pokeReq int, peekReq int, pid int, addr uintptr, data []byte) (c
-
- // Leading edge.
- n := 0
-- if addr%sizeofPtr != 0 {
-- var buf [sizeofPtr]byte
-- err = ptrace(peekReq, pid, addr-addr%sizeofPtr, uintptr(unsafe.Pointer(&buf[0])))
-+ if addr%SizeofPtr != 0 {
-+ var buf [SizeofPtr]byte
-+ err = ptrace(peekReq, pid, addr-addr%SizeofPtr, uintptr(unsafe.Pointer(&buf[0])))
- if err != nil {
- return 0, err
- }
-- n += copy(buf[addr%sizeofPtr:], data)
-+ n += copy(buf[addr%SizeofPtr:], data)
- word := *((*uintptr)(unsafe.Pointer(&buf[0])))
-- err = ptrace(pokeReq, pid, addr-addr%sizeofPtr, word)
-+ err = ptrace(pokeReq, pid, addr-addr%SizeofPtr, word)
- if err != nil {
- return 0, err
- }
-@@ -1088,19 +1490,19 @@ func ptracePoke(pokeReq int, peekReq int, pid int, addr uintptr, data []byte) (c
- }
-
- // Interior.
-- for len(data) > sizeofPtr {
-+ for len(data) > SizeofPtr {
- word := *((*uintptr)(unsafe.Pointer(&data[0])))
- err = ptrace(pokeReq, pid, addr+uintptr(n), word)
- if err != nil {
- return n, err
- }
-- n += sizeofPtr
-- data = data[sizeofPtr:]
-+ n += SizeofPtr
-+ data = data[SizeofPtr:]
- }
-
- // Trailing edge.
- if len(data) > 0 {
-- var buf [sizeofPtr]byte
-+ var buf [SizeofPtr]byte
- err = ptrace(peekReq, pid, addr+uintptr(n), uintptr(unsafe.Pointer(&buf[0])))
- if err != nil {
- return n, err
-@@ -1125,6 +1527,10 @@ func PtracePokeData(pid int, addr uintptr, data []byte) (count int, err error) {
- return ptracePoke(PTRACE_POKEDATA, PTRACE_PEEKDATA, pid, addr, data)
- }
-
-+func PtracePokeUser(pid int, addr uintptr, data []byte) (count int, err error) {
-+ return ptracePoke(PTRACE_POKEUSR, PTRACE_PEEKUSR, pid, addr, data)
-+}
-+
- func PtraceGetRegs(pid int, regsout *PtraceRegs) (err error) {
- return ptrace(PTRACE_GETREGS, pid, 0, uintptr(unsafe.Pointer(regsout)))
- }
-@@ -1154,8 +1560,12 @@ func PtraceSyscall(pid int, signal int) (err error) {
-
- func PtraceSingleStep(pid int) (err error) { return ptrace(PTRACE_SINGLESTEP, pid, 0, 0) }
-
-+func PtraceInterrupt(pid int) (err error) { return ptrace(PTRACE_INTERRUPT, pid, 0, 0) }
-+
- func PtraceAttach(pid int) (err error) { return ptrace(PTRACE_ATTACH, pid, 0, 0) }
-
-+func PtraceSeize(pid int) (err error) { return ptrace(PTRACE_SEIZE, pid, 0, 0) }
-+
- func PtraceDetach(pid int) (err error) { return ptrace(PTRACE_DETACH, pid, 0, 0) }
-
- //sys reboot(magic1 uint, magic2 uint, cmd int, arg string) (err error)
-@@ -1164,10 +1574,6 @@ func Reboot(cmd int) (err error) {
- return reboot(LINUX_REBOOT_MAGIC1, LINUX_REBOOT_MAGIC2, cmd, "")
- }
-
--func ReadDirent(fd int, buf []byte) (n int, err error) {
-- return Getdents(fd, buf)
--}
--
- func direntIno(buf []byte) (uint64, bool) {
- return readInt(buf, unsafe.Offsetof(Dirent{}.Ino), unsafe.Sizeof(Dirent{}.Ino))
- }
-@@ -1199,6 +1605,13 @@ func Mount(source string, target string, fstype string, flags uintptr, data stri
- return mount(source, target, fstype, flags, datap)
- }
-
-+func Sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
-+ if raceenabled {
-+ raceReleaseMerge(unsafe.Pointer(&ioSync))
-+ }
-+ return sendfile(outfd, infd, offset, count)
-+}
-+
- // Sendto
- // Recvfrom
- // Socketpair
-@@ -1209,26 +1622,33 @@ func Mount(source string, target string, fstype string, flags uintptr, data stri
- //sys Acct(path string) (err error)
- //sys AddKey(keyType string, description string, payload []byte, ringid int) (id int, err error)
- //sys Adjtimex(buf *Timex) (state int, err error)
-+//sysnb Capget(hdr *CapUserHeader, data *CapUserData) (err error)
-+//sysnb Capset(hdr *CapUserHeader, data *CapUserData) (err error)
- //sys Chdir(path string) (err error)
- //sys Chroot(path string) (err error)
-+//sys ClockGetres(clockid int32, res *Timespec) (err error)
- //sys ClockGettime(clockid int32, time *Timespec) (err error)
-+//sys ClockNanosleep(clockid int32, flags int, request *Timespec, remain *Timespec) (err error)
- //sys Close(fd int) (err error)
- //sys CopyFileRange(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int, err error)
-+//sys DeleteModule(name string, flags int) (err error)
- //sys Dup(oldfd int) (fd int, err error)
- //sys Dup3(oldfd int, newfd int, flags int) (err error)
--//sysnb EpollCreate(size int) (fd int, err error)
- //sysnb EpollCreate1(flag int) (fd int, err error)
- //sysnb EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error)
- //sys Eventfd(initval uint, flags int) (fd int, err error) = SYS_EVENTFD2
- //sys Exit(code int) = SYS_EXIT_GROUP
--//sys Faccessat(dirfd int, path string, mode uint32, flags int) (err error)
- //sys Fallocate(fd int, mode uint32, off int64, len int64) (err error)
- //sys Fchdir(fd int) (err error)
- //sys Fchmod(fd int, mode uint32) (err error)
- //sys Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error)
--//sys fcntl(fd int, cmd int, arg int) (val int, err error)
- //sys Fdatasync(fd int) (err error)
-+//sys Fgetxattr(fd int, attr string, dest []byte) (sz int, err error)
-+//sys FinitModule(fd int, params string, flags int) (err error)
-+//sys Flistxattr(fd int, dest []byte) (sz int, err error)
- //sys Flock(fd int, how int) (err 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 Getdents(fd int, buf []byte) (n int, err error) = SYS_GETDENTS64
- //sysnb Getpgid(pid int) (pgid int, err error)
-@@ -1246,6 +1666,7 @@ func Getpgrp() (pid int) {
- //sysnb Getsid(pid int) (sid int, err error)
- //sysnb Gettid() (tid int)
- //sys Getxattr(path string, attr string, dest []byte) (sz int, err error)
-+//sys InitModule(moduleImage []byte, params string) (err error)
- //sys InotifyAddWatch(fd int, pathname string, mask uint32) (watchdesc int, err error)
- //sysnb InotifyInit1(flags int) (fd int, err error)
- //sysnb InotifyRmWatch(fd int, watchdesc uint32) (success int, err error)
-@@ -1256,15 +1677,18 @@ func Getpgrp() (pid int) {
- //sys Llistxattr(path string, dest []byte) (sz int, err error)
- //sys Lremovexattr(path string, attr string) (err error)
- //sys Lsetxattr(path string, attr string, data []byte, flags int) (err error)
-+//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 Nanosleep(time *Timespec, leftover *Timespec) (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
- //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)
- //sys Removexattr(path string, attr string) (err error)
--//sys Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error)
-+//sys Renameat2(olddirfd int, oldpath string, newdirfd int, newpath string, flags uint) (err error)
- //sys RequestKey(keyType string, description string, callback string, destRingid int) (id int, err error)
- //sys Setdomainname(p []byte) (err error)
- //sys Sethostname(p []byte) (err error)
-@@ -1273,6 +1697,17 @@ func Getpgrp() (pid int) {
- //sysnb Settimeofday(tv *Timeval) (err error)
- //sys Setns(fd int, nstype int) (err error)
-
-+// PrctlRetInt performs a prctl operation specified by option and further
-+// optional arguments arg2 through arg5 depending on option. It returns a
-+// non-negative integer that is returned by the prctl syscall.
-+func PrctlRetInt(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (int, error) {
-+ ret, _, err := Syscall6(SYS_PRCTL, uintptr(option), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0)
-+ if err != 0 {
-+ return 0, err
-+ }
-+ 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
-@@ -1286,8 +1721,38 @@ func Setgid(uid int) (err error) {
- return EOPNOTSUPP
- }
-
-+// SetfsgidRetGid sets fsgid for current thread and returns previous fsgid set.
-+// setfsgid(2) will return a non-nil error only if its caller lacks CAP_SETUID capability.
-+// If the call fails due to other reasons, current fsgid will be returned.
-+func SetfsgidRetGid(gid int) (int, error) {
-+ return setfsgid(gid)
-+}
-+
-+// SetfsuidRetUid sets fsuid for current thread and returns previous fsuid set.
-+// setfsgid(2) will return a non-nil error only if its caller lacks CAP_SETUID capability
-+// If the call fails due to other reasons, current fsuid will be returned.
-+func SetfsuidRetUid(uid int) (int, error) {
-+ return setfsuid(uid)
-+}
-+
-+func Setfsgid(gid int) error {
-+ _, err := setfsgid(gid)
-+ return err
-+}
-+
-+func Setfsuid(uid int) error {
-+ _, err := setfsuid(uid)
-+ return err
-+}
-+
-+func Signalfd(fd int, sigmask *Sigset_t, flags int) (newfd int, err error) {
-+ return signalfd(fd, sigmask, _C__NSIG/8, flags)
-+}
-+
- //sys Setpriority(which int, who int, prio int) (err error)
- //sys Setxattr(path string, attr string, data []byte, flags int) (err error)
-+//sys signalfd(fd int, sigmask *Sigset_t, maskSize uintptr, flags int) (newfd int, err error) = SYS_SIGNALFD4
-+//sys Statx(dirfd int, path string, flags int, mask int, stat *Statx_t) (err error)
- //sys Sync()
- //sys Syncfs(fd int) (err error)
- //sysnb Sysinfo(info *Sysinfo_t) (err error)
-@@ -1298,11 +1763,127 @@ func Setgid(uid int) (err error) {
- //sysnb Uname(buf *Utsname) (err error)
- //sys Unmount(target string, flags int) (err error) = SYS_UMOUNT2
- //sys Unshare(flags int) (err error)
--//sys Ustat(dev int, ubuf *Ustat_t) (err error)
- //sys write(fd int, p []byte) (n int, err error)
- //sys exitThread(code int) (err error) = SYS_EXIT
- //sys readlen(fd int, p *byte, np int) (n int, err error) = SYS_READ
- //sys writelen(fd int, p *byte, np int) (n int, err error) = SYS_WRITE
-+//sys readv(fd int, iovs []Iovec) (n int, err error) = SYS_READV
-+//sys writev(fd int, iovs []Iovec) (n int, err error) = SYS_WRITEV
-+//sys preadv(fd int, iovs []Iovec, offs_l uintptr, offs_h uintptr) (n int, err error) = SYS_PREADV
-+//sys pwritev(fd int, iovs []Iovec, offs_l uintptr, offs_h uintptr) (n int, err error) = SYS_PWRITEV
-+//sys preadv2(fd int, iovs []Iovec, offs_l uintptr, offs_h uintptr, flags int) (n int, err error) = SYS_PREADV2
-+//sys pwritev2(fd int, iovs []Iovec, offs_l uintptr, offs_h uintptr, flags int) (n int, err error) = SYS_PWRITEV2
-+
-+func bytes2iovec(bs [][]byte) []Iovec {
-+ iovecs := make([]Iovec, len(bs))
-+ for i, b := range bs {
-+ iovecs[i].SetLen(len(b))
-+ if len(b) > 0 {
-+ iovecs[i].Base = &b[0]
-+ } else {
-+ iovecs[i].Base = (*byte)(unsafe.Pointer(&_zero))
-+ }
-+ }
-+ return iovecs
-+}
-+
-+// offs2lohi splits offs into its lower and upper unsigned long. On 64-bit
-+// systems, hi will always be 0. On 32-bit systems, offs will be split in half.
-+// preadv/pwritev chose this calling convention so they don't need to add a
-+// padding-register for alignment on ARM.
-+func offs2lohi(offs int64) (lo, hi uintptr) {
-+ return uintptr(offs), uintptr(uint64(offs) >> SizeofLong)
-+}
-+
-+func Readv(fd int, iovs [][]byte) (n int, err error) {
-+ iovecs := bytes2iovec(iovs)
-+ n, err = readv(fd, iovecs)
-+ readvRacedetect(iovecs, n, err)
-+ return n, err
-+}
-+
-+func Preadv(fd int, iovs [][]byte, offset int64) (n int, err error) {
-+ iovecs := bytes2iovec(iovs)
-+ lo, hi := offs2lohi(offset)
-+ n, err = preadv(fd, iovecs, lo, hi)
-+ readvRacedetect(iovecs, n, err)
-+ return n, err
-+}
-+
-+func Preadv2(fd int, iovs [][]byte, offset int64, flags int) (n int, err error) {
-+ iovecs := bytes2iovec(iovs)
-+ lo, hi := offs2lohi(offset)
-+ n, err = preadv2(fd, iovecs, lo, hi, flags)
-+ readvRacedetect(iovecs, n, err)
-+ return n, err
-+}
-+
-+func readvRacedetect(iovecs []Iovec, n int, err error) {
-+ if !raceenabled {
-+ return
-+ }
-+ for i := 0; n > 0 && i < len(iovecs); i++ {
-+ m := int(iovecs[i].Len)
-+ if m > n {
-+ m = n
-+ }
-+ n -= m
-+ if m > 0 {
-+ raceWriteRange(unsafe.Pointer(iovecs[i].Base), m)
-+ }
-+ }
-+ if err == nil {
-+ raceAcquire(unsafe.Pointer(&ioSync))
-+ }
-+}
-+
-+func Writev(fd int, iovs [][]byte) (n int, err error) {
-+ iovecs := bytes2iovec(iovs)
-+ if raceenabled {
-+ raceReleaseMerge(unsafe.Pointer(&ioSync))
-+ }
-+ n, err = writev(fd, iovecs)
-+ writevRacedetect(iovecs, n)
-+ return n, err
-+}
-+
-+func Pwritev(fd int, iovs [][]byte, offset int64) (n int, err error) {
-+ iovecs := bytes2iovec(iovs)
-+ if raceenabled {
-+ raceReleaseMerge(unsafe.Pointer(&ioSync))
-+ }
-+ lo, hi := offs2lohi(offset)
-+ n, err = pwritev(fd, iovecs, lo, hi)
-+ writevRacedetect(iovecs, n)
-+ return n, err
-+}
-+
-+func Pwritev2(fd int, iovs [][]byte, offset int64, flags int) (n int, err error) {
-+ iovecs := bytes2iovec(iovs)
-+ if raceenabled {
-+ raceReleaseMerge(unsafe.Pointer(&ioSync))
-+ }
-+ lo, hi := offs2lohi(offset)
-+ n, err = pwritev2(fd, iovecs, lo, hi, flags)
-+ writevRacedetect(iovecs, n)
-+ return n, err
-+}
-+
-+func writevRacedetect(iovecs []Iovec, n int) {
-+ if !raceenabled {
-+ return
-+ }
-+ for i := 0; n > 0 && i < len(iovecs); i++ {
-+ m := int(iovecs[i].Len)
-+ if m > n {
-+ m = n
-+ }
-+ n -= m
-+ if m > 0 {
-+ raceReadRange(unsafe.Pointer(iovecs[i].Base), m)
-+ }
-+ }
-+}
-
- // mmap varies by architecture; see syscall_linux_*.go.
- //sys munmap(addr uintptr, length uintptr) (err error)
-@@ -1332,15 +1913,12 @@ func Munmap(b []byte) (err error) {
- // Vmsplice splices user pages from a slice of Iovecs into a pipe specified by fd,
- // using the specified flags.
- func Vmsplice(fd int, iovs []Iovec, flags int) (int, error) {
-- n, _, errno := Syscall6(
-- SYS_VMSPLICE,
-- uintptr(fd),
-- uintptr(unsafe.Pointer(&iovs[0])),
-- uintptr(len(iovs)),
-- uintptr(flags),
-- 0,
-- 0,
-- )
-+ var p unsafe.Pointer
-+ if len(iovs) > 0 {
-+ p = unsafe.Pointer(&iovs[0])
-+ }
-+
-+ n, _, errno := Syscall6(SYS_VMSPLICE, uintptr(fd), uintptr(p), uintptr(len(iovs)), uintptr(flags), 0, 0)
- if errno != 0 {
- return 0, syscall.Errno(errno)
- }
-@@ -1348,6 +1926,164 @@ func Vmsplice(fd int, iovs []Iovec, flags int) (int, error) {
- return int(n), nil
- }
-
-+//sys faccessat(dirfd int, path string, mode uint32) (err error)
-+
-+func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
-+ if flags & ^(AT_SYMLINK_NOFOLLOW|AT_EACCESS) != 0 {
-+ return EINVAL
-+ }
-+
-+ // The Linux kernel faccessat system call does not take any flags.
-+ // The glibc faccessat implements the flags itself; see
-+ // https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/unix/sysv/linux/faccessat.c;hb=HEAD
-+ // Because people naturally expect syscall.Faccessat to act
-+ // like C faccessat, we do the same.
-+
-+ if flags == 0 {
-+ return faccessat(dirfd, path, mode)
-+ }
-+
-+ var st Stat_t
-+ if err := Fstatat(dirfd, path, &st, flags&AT_SYMLINK_NOFOLLOW); err != nil {
-+ return err
-+ }
-+
-+ mode &= 7
-+ if mode == 0 {
-+ return nil
-+ }
-+
-+ var uid int
-+ if flags&AT_EACCESS != 0 {
-+ uid = Geteuid()
-+ } else {
-+ uid = Getuid()
-+ }
-+
-+ if uid == 0 {
-+ if mode&1 == 0 {
-+ // Root can read and write any file.
-+ return nil
-+ }
-+ if st.Mode&0111 != 0 {
-+ // Root can execute any file that anybody can execute.
-+ return nil
-+ }
-+ return EACCES
-+ }
-+
-+ var fmode uint32
-+ if uint32(uid) == st.Uid {
-+ fmode = (st.Mode >> 6) & 7
-+ } else {
-+ var gid int
-+ if flags&AT_EACCESS != 0 {
-+ gid = Getegid()
-+ } else {
-+ gid = Getgid()
-+ }
-+
-+ if uint32(gid) == st.Gid {
-+ fmode = (st.Mode >> 3) & 7
-+ } else {
-+ fmode = st.Mode & 7
-+ }
-+ }
-+
-+ if fmode&mode == mode {
-+ return nil
-+ }
-+
-+ return EACCES
-+}
-+
-+//sys nameToHandleAt(dirFD int, pathname string, fh *fileHandle, mountID *_C_int, flags int) (err error) = SYS_NAME_TO_HANDLE_AT
-+//sys openByHandleAt(mountFD int, fh *fileHandle, flags int) (fd int, err error) = SYS_OPEN_BY_HANDLE_AT
-+
-+// fileHandle is the argument to nameToHandleAt and openByHandleAt. We
-+// originally tried to generate it via unix/linux/types.go with "type
-+// fileHandle C.struct_file_handle" but that generated empty structs
-+// for mips64 and mips64le. Instead, hard code it for now (it's the
-+// same everywhere else) until the mips64 generator issue is fixed.
-+type fileHandle struct {
-+ Bytes uint32
-+ Type int32
-+}
-+
-+// FileHandle represents the C struct file_handle used by
-+// name_to_handle_at (see NameToHandleAt) and open_by_handle_at (see
-+// OpenByHandleAt).
-+type FileHandle struct {
-+ *fileHandle
-+}
-+
-+// NewFileHandle constructs a FileHandle.
-+func NewFileHandle(handleType int32, handle []byte) FileHandle {
-+ const hdrSize = unsafe.Sizeof(fileHandle{})
-+ buf := make([]byte, hdrSize+uintptr(len(handle)))
-+ copy(buf[hdrSize:], handle)
-+ fh := (*fileHandle)(unsafe.Pointer(&buf[0]))
-+ fh.Type = handleType
-+ fh.Bytes = uint32(len(handle))
-+ return FileHandle{fh}
-+}
-+
-+func (fh *FileHandle) Size() int { return int(fh.fileHandle.Bytes) }
-+func (fh *FileHandle) Type() int32 { return fh.fileHandle.Type }
-+func (fh *FileHandle) Bytes() []byte {
-+ n := fh.Size()
-+ if n == 0 {
-+ return nil
-+ }
-+ return (*[1 << 30]byte)(unsafe.Pointer(uintptr(unsafe.Pointer(&fh.fileHandle.Type)) + 4))[:n:n]
-+}
-+
-+// NameToHandleAt wraps the name_to_handle_at system call; it obtains
-+// a handle for a path name.
-+func NameToHandleAt(dirfd int, path string, flags int) (handle FileHandle, mountID int, err error) {
-+ var mid _C_int
-+ // Try first with a small buffer, assuming the handle will
-+ // only be 32 bytes.
-+ size := uint32(32 + unsafe.Sizeof(fileHandle{}))
-+ didResize := false
-+ for {
-+ buf := make([]byte, size)
-+ fh := (*fileHandle)(unsafe.Pointer(&buf[0]))
-+ fh.Bytes = size - uint32(unsafe.Sizeof(fileHandle{}))
-+ err = nameToHandleAt(dirfd, path, fh, &mid, flags)
-+ if err == EOVERFLOW {
-+ if didResize {
-+ // We shouldn't need to resize more than once
-+ return
-+ }
-+ didResize = true
-+ size = fh.Bytes + uint32(unsafe.Sizeof(fileHandle{}))
-+ continue
-+ }
-+ if err != nil {
-+ return
-+ }
-+ return FileHandle{fh}, int(mid), nil
-+ }
-+}
-+
-+// OpenByHandleAt wraps the open_by_handle_at system call; it opens a
-+// file via a handle as previously returned by NameToHandleAt.
-+func OpenByHandleAt(mountFD int, handle FileHandle, flags int) (fd int, err error) {
-+ return openByHandleAt(mountFD, handle.fileHandle, flags)
-+}
-+
-+// Klogset wraps the sys_syslog system call; it sets console_loglevel to
-+// the value specified by arg and passes a dummy pointer to bufp.
-+func Klogset(typ int, arg int) (err error) {
-+ var p unsafe.Pointer
-+ _, _, errno := Syscall(SYS_SYSLOG, uintptr(typ), uintptr(p), uintptr(arg))
-+ if errno != 0 {
-+ return errnoErr(errno)
-+ }
-+ return nil
-+}
-+
- /*
- * Unimplemented
- */
-@@ -1355,23 +2091,14 @@ func Vmsplice(fd int, iovs []Iovec, flags int) (int, error) {
- // Alarm
- // ArchPrctl
- // Brk
--// Capget
--// Capset
--// ClockGetres
- // ClockNanosleep
- // ClockSettime
- // Clone
--// CreateModule
--// DeleteModule
- // EpollCtlOld
- // EpollPwait
- // EpollWaitOld
- // Execve
--// Fgetxattr
--// Flistxattr
- // Fork
--// Fremovexattr
--// Fsetxattr
- // Futex
- // GetKernelSyms
- // GetMempolicy
-@@ -1405,13 +2132,11 @@ func Vmsplice(fd int, iovs []Iovec, flags int) (int, error) {
- // Msgget
- // Msgrcv
- // Msgsnd
--// Newfstatat
- // Nfsservctl
- // Personality
- // Pselect6
- // Ptrace
- // Putpmsg
--// QueryModule
- // Quotactl
- // Readahead
- // Readv
-@@ -1426,11 +2151,9 @@ func Vmsplice(fd int, iovs []Iovec, flags int) (int, error) {
- // RtSigtimedwait
- // SchedGetPriorityMax
- // SchedGetPriorityMin
--// SchedGetaffinity
- // SchedGetparam
- // SchedGetscheduler
- // SchedRrGetInterval
--// SchedSetaffinity
- // SchedSetparam
- // SchedYield
- // Security
-@@ -1447,7 +2170,6 @@ func Vmsplice(fd int, iovs []Iovec, flags int) (int, error) {
- // Shmdt
- // Shmget
- // Sigaltstack
--// Signalfd
- // Swapoff
- // Swapon
- // Sysfs
-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 2b881b97..a8374b67 100644
---- a/vendor/golang.org/x/sys/unix/syscall_linux_386.go
-+++ b/vendor/golang.org/x/sys/unix/syscall_linux_386.go
-@@ -10,25 +10,15 @@
- package unix
-
- import (
-- "syscall"
- "unsafe"
- )
-
--func Getpagesize() int { return 4096 }
--
--func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
--
--func NsecToTimespec(nsec int64) (ts Timespec) {
-- ts.Sec = int32(nsec / 1e9)
-- ts.Nsec = int32(nsec % 1e9)
-- return
-+func setTimespec(sec, nsec int64) Timespec {
-+ return Timespec{Sec: int32(sec), Nsec: int32(nsec)}
- }
-
--func NsecToTimeval(nsec int64) (tv Timeval) {
-- nsec += 999 // round up to microsecond
-- tv.Sec = int32(nsec / 1e9)
-- tv.Usec = int32(nsec % 1e9 / 1e3)
-- return
-+func setTimeval(sec, usec int64) Timeval {
-+ return Timeval{Sec: int32(sec), Usec: int32(usec)}
- }
-
- //sysnb pipe(p *[2]_C_int) (err error)
-@@ -60,9 +50,12 @@ func Pipe2(p []int, flags int) (err error) {
- // 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
- //sys Fstat(fd int, stat *Stat_t) (err error) = SYS_FSTAT64
-+//sys Fstatat(dirfd int, path string, stat *Stat_t, flags int) (err error) = SYS_FSTATAT64
- //sys Ftruncate(fd int, length int64) (err error) = SYS_FTRUNCATE64
- //sysnb Getegid() (egid int) = SYS_GETEGID32
- //sysnb Geteuid() (euid int) = SYS_GETEUID32
-@@ -75,9 +68,10 @@ func Pipe2(p []int, flags int) (err error) {
- //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 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) (err error) = SYS_SETFSGID32
--//sys Setfsuid(uid int) (err error) = SYS_SETFSUID32
-+//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
-@@ -86,12 +80,12 @@ func Pipe2(p []int, flags int) (err error) {
- //sys Stat(path string, stat *Stat_t) (err error) = SYS_STAT64
- //sys SyncFileRange(fd int, off int64, n int64, flags int) (err error)
- //sys Truncate(path string, length int64) (err error) = SYS_TRUNCATE64
-+//sys Ustat(dev int, ubuf *Ustat_t) (err error)
- //sysnb getgroups(n int, list *_Gid_t) (nn int, err error) = SYS_GETGROUPS32
- //sysnb setgroups(n int, list *_Gid_t) (err error) = SYS_SETGROUPS32
- //sys Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) = SYS__NEWSELECT
-
- //sys mmap2(addr uintptr, length uintptr, prot int, flags int, fd int, pageOffset uintptr) (xaddr uintptr, err error)
--//sys EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error)
- //sys Pause() (err error)
-
- func mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error) {
-@@ -165,10 +159,6 @@ func Setrlimit(resource int, rlim *Rlimit) (err error) {
- return setrlimit(resource, &rl)
- }
-
--// Underlying system call writes to newoffset via pointer.
--// Implemented in assembly to avoid allocation.
--func seek(fd int, offset int64, whence int) (newoffset int64, err syscall.Errno)
--
- func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
- newoffset, errno := seek(fd, offset, whence)
- if errno != 0 {
-@@ -177,17 +167,17 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
- return newoffset, nil
- }
-
--// Vsyscalls on amd64.
-+//sys futimesat(dirfd int, path string, times *[2]Timeval) (err error)
- //sysnb Gettimeofday(tv *Timeval) (err error)
- //sysnb Time(t *Time_t) (tt Time_t, err error)
--
- //sys Utime(path string, buf *Utimbuf) (err error)
-+//sys utimes(path string, times *[2]Timeval) (err error)
-
- // On x86 Linux, all the socket calls go through an extra indirection,
- // I think because the 5-register system call interface can't handle
--// the 6-argument calls like sendto and recvfrom. Instead the
-+// the 6-argument calls like sendto and recvfrom. Instead the
- // arguments to the underlying system call are the number below
--// and a pointer to an array of uintptr. We hide the pointer in the
-+// and a pointer to an array of uintptr. We hide the pointer in the
- // socketcall assembly to avoid allocation on every system call.
-
- const (
-@@ -214,9 +204,6 @@ const (
- _SENDMMSG = 20
- )
-
--func socketcall(call int, a0, a1, a2, a3, a4, a5 uintptr) (n int, err syscall.Errno)
--func rawsocketcall(call int, a0, a1, a2, a3, a4, a5 uintptr) (n int, err syscall.Errno)
--
- func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
- fd, e := socketcall(_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), 0, 0, 0)
- if e != 0 {
-@@ -385,6 +372,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_linux_amd64.go b/vendor/golang.org/x/sys/unix/syscall_linux_amd64.go
-index 9516a3fd..8ed1d546 100644
---- a/vendor/golang.org/x/sys/unix/syscall_linux_amd64.go
-+++ b/vendor/golang.org/x/sys/unix/syscall_linux_amd64.go
-@@ -7,10 +7,12 @@
- 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)
- //sys Fstat(fd int, stat *Stat_t) (err error)
-+//sys Fstatat(dirfd int, path string, stat *Stat_t, flags int) (err error) = SYS_NEWFSTATAT
- //sys Fstatfs(fd int, buf *Statfs_t) (err error)
- //sys Ftruncate(fd int, length int64) (err error)
- //sysnb Getegid() (egid int)
-@@ -18,20 +20,43 @@ package unix
- //sysnb Getgid() (gid int)
- //sysnb Getrlimit(resource int, rlim *Rlimit) (err error)
- //sysnb Getuid() (uid int)
--//sysnb InotifyInit() (fd int, err error)
-+//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)
- //sys Listen(s int, n int) (err error)
--//sys Lstat(path string, stat *Stat_t) (err error)
-+
-+func Lstat(path string, stat *Stat_t) (err error) {
-+ return Fstatat(AT_FDCWD, path, stat, AT_SYMLINK_NOFOLLOW)
-+}
-+
- //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 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)
-+
-+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) (err error)
--//sys Setfsuid(uid 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)
-@@ -39,10 +64,16 @@ package unix
- //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)
-+
-+func Stat(path string, stat *Stat_t) (err error) {
-+ // Use fstatat, because Android's seccomp policy blocks stat.
-+ return Fstatat(AT_FDCWD, path, stat, 0)
-+}
-+
- //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)
-@@ -61,6 +92,8 @@ package unix
- //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)
-
-+//sys futimesat(dirfd int, path string, times *[2]Timeval) (err error)
-+
- func Gettimeofday(tv *Timeval) (err error) {
- errno := gettimeofday(tv)
- if errno != 0 {
-@@ -69,8 +102,6 @@ func Gettimeofday(tv *Timeval) (err error) {
- return nil
- }
-
--func Getpagesize() int { return 4096 }
--
- func Time(t *Time_t) (tt Time_t, err error) {
- var tv Timeval
- errno := gettimeofday(&tv)
-@@ -84,20 +115,14 @@ func Time(t *Time_t) (tt Time_t, err error) {
- }
-
- //sys Utime(path string, buf *Utimbuf) (err error)
-+//sys utimes(path string, times *[2]Timeval) (err error)
-
--func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
--
--func NsecToTimespec(nsec int64) (ts Timespec) {
-- ts.Sec = nsec / 1e9
-- ts.Nsec = nsec % 1e9
-- return
-+func setTimespec(sec, nsec int64) Timespec {
-+ return Timespec{Sec: sec, Nsec: nsec}
- }
-
--func NsecToTimeval(nsec int64) (tv Timeval) {
-- nsec += 999 // round up to microsecond
-- tv.Sec = nsec / 1e9
-- tv.Usec = nsec % 1e9 / 1e3
-- return
-+func setTimeval(sec, usec int64) Timeval {
-+ return Timeval{Sec: sec, Usec: usec}
- }
-
- //sysnb pipe(p *[2]_C_int) (err error)
-@@ -138,6 +163,10 @@ 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)
- }
-@@ -150,3 +179,16 @@ func Poll(fds []PollFd, timeout int) (n int, err error) {
- }
- 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 {
-+ 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_arm.go b/vendor/golang.org/x/sys/unix/syscall_linux_arm.go
-index 71d87022..99ae6137 100644
---- a/vendor/golang.org/x/sys/unix/syscall_linux_arm.go
-+++ b/vendor/golang.org/x/sys/unix/syscall_linux_arm.go
-@@ -11,29 +11,26 @@ import (
- "unsafe"
- )
-
--func Getpagesize() int { return 4096 }
--
--func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
--
--func NsecToTimespec(nsec int64) (ts Timespec) {
-- ts.Sec = int32(nsec / 1e9)
-- ts.Nsec = int32(nsec % 1e9)
-- return
-+func setTimespec(sec, nsec int64) Timespec {
-+ return Timespec{Sec: int32(sec), Nsec: int32(nsec)}
- }
-
--func NsecToTimeval(nsec int64) (tv Timeval) {
-- nsec += 999 // round up to microsecond
-- tv.Sec = int32(nsec / 1e9)
-- tv.Usec = int32(nsec % 1e9 / 1e3)
-- return
-+func 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
-@@ -84,8 +81,11 @@ 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
-+//sys Fstatat(dirfd int, path string, stat *Stat_t, flags int) (err error) = SYS_FSTATAT64
- //sysnb Getegid() (egid int) = SYS_GETEGID32
- //sysnb Geteuid() (euid int) = SYS_GETEUID32
- //sysnb Getgid() (gid int) = SYS_GETGID32
-@@ -94,10 +94,12 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
- //sys Lchown(path string, uid int, gid int) (err error) = SYS_LCHOWN32
- //sys Listen(s int, n int) (err error)
- //sys Lstat(path string, stat *Stat_t) (err error) = SYS_LSTAT64
-+//sys Pause() (err error)
-+//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 Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) = SYS__NEWSELECT
--//sys Setfsgid(gid int) (err error) = SYS_SETFSGID32
--//sys Setfsuid(uid int) (err error) = SYS_SETFSUID32
-+//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
-@@ -105,11 +107,10 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, 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 Ustat(dev int, ubuf *Ustat_t) (err error)
-
--// Vsyscalls on amd64.
-+//sys futimesat(dirfd int, path string, times *[2]Timeval) (err error)
- //sysnb Gettimeofday(tv *Timeval) (err error)
--//sys EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error)
--//sys Pause() (err error)
-
- func Time(t *Time_t) (Time_t, error) {
- var tv Timeval
-@@ -131,6 +132,8 @@ func Utime(path string, buf *Utimbuf) error {
- return Utimes(path, tv)
- }
-
-+//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 Truncate(path string, length int64) (err error) = SYS_TRUNCATE64
-@@ -249,6 +252,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)
- }
-@@ -261,3 +268,24 @@ func Poll(fds []PollFd, timeout int) (n int, err error) {
- }
- 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 {
-+ // The sync_file_range and arm_sync_file_range syscalls differ only in the
-+ // order of their arguments.
-+ return armSyncFileRange(fd, flags, off, n)
-+}
-+
-+//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_arm64.go b/vendor/golang.org/x/sys/unix/syscall_linux_arm64.go
-index 4a136396..807a0b20 100644
---- a/vendor/golang.org/x/sys/unix/syscall_linux_arm64.go
-+++ b/vendor/golang.org/x/sys/unix/syscall_linux_arm64.go
-@@ -6,7 +6,17 @@
-
- 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)
- //sys Fstat(fd int, stat *Stat_t) (err error)
- //sys Fstatat(fd int, path string, stat *Stat_t, flags int) (err error)
-@@ -20,11 +30,20 @@ package unix
- //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 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_PSELECT6
-+
-+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) (err error)
--//sys Setfsuid(uid 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)
-@@ -48,6 +67,11 @@ func Lstat(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)
-+
-+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)
-@@ -66,23 +90,26 @@ func Lstat(path string, stat *Stat_t) (err error) {
- //sys sendmsg(s int, msg *Msghdr, flags int) (n int, err error)
- //sys mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error)
-
--func Getpagesize() int { return 65536 }
--
- //sysnb Gettimeofday(tv *Timeval) (err error)
-
--func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
-+func setTimespec(sec, nsec int64) Timespec {
-+ return Timespec{Sec: sec, Nsec: nsec}
-+}
-
--func NsecToTimespec(nsec int64) (ts Timespec) {
-- ts.Sec = nsec / 1e9
-- ts.Nsec = nsec % 1e9
-- return
-+func setTimeval(sec, usec int64) Timeval {
-+ return Timeval{Sec: sec, Usec: usec}
- }
-
--func NsecToTimeval(nsec int64) (tv Timeval) {
-- nsec += 999 // round up to microsecond
-- tv.Sec = nsec / 1e9
-- tv.Usec = nsec % 1e9 / 1e3
-- 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) {
-@@ -105,6 +132,18 @@ func Utime(path string, buf *Utimbuf) error {
- 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 Pipe(p []int) (err error) {
- if len(p) != 2 {
- return EINVAL
-@@ -141,6 +180,10 @@ 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)
- }
-@@ -153,30 +196,11 @@ func Dup2(oldfd int, newfd int) (err error) {
- return Dup3(oldfd, newfd, 0)
- }
-
--func Pause() (err error) {
-- _, _, e1 := Syscall6(SYS_PPOLL, 0, 0, 0, 0, 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
-+func Pause() error {
-+ _, err := ppoll(nil, 0, nil, nil)
-+ return err
- }
-
--// TODO(dfc): constants that should be in zsysnum_linux_arm64.go, remove
--// these when the deprecated syscalls that the syscall package relies on
--// are removed.
--const (
-- SYS_GETPGRP = 1060
-- SYS_UTIMES = 1037
-- SYS_FUTIMESAT = 1066
-- SYS_PAUSE = 1061
-- SYS_USTAT = 1070
-- SYS_UTIME = 1063
-- SYS_LCHOWN = 1032
-- SYS_TIME = 1062
-- SYS_EPOLL_CREATE = 1042
-- SYS_EPOLL_WAIT = 1069
--)
--
- func Poll(fds []PollFd, timeout int) (n int, err error) {
- var ts *Timespec
- if timeout >= 0 {
-@@ -188,3 +212,16 @@ func Poll(fds []PollFd, timeout int) (n int, err error) {
- }
- 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 {
-+ 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_gc.go b/vendor/golang.org/x/sys/unix/syscall_linux_gc.go
-new file mode 100644
-index 00000000..c26e6ec2
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/syscall_linux_gc.go
-@@ -0,0 +1,14 @@
-+// Copyright 2018 The Go Authors. All rights reserved.
-+// Use of this source code is governed by a BSD-style
-+// license that can be found in the LICENSE file.
-+
-+// +build linux,!gccgo
-+
-+package unix
-+
-+// SyscallNoError may be used instead of Syscall for syscalls that don't fail.
-+func SyscallNoError(trap, a1, a2, a3 uintptr) (r1, r2 uintptr)
-+
-+// RawSyscallNoError may be used instead of RawSyscall for syscalls that don't
-+// fail.
-+func RawSyscallNoError(trap, a1, a2, a3 uintptr) (r1, r2 uintptr)
-diff --git a/vendor/golang.org/x/sys/unix/syscall_linux_gc_386.go b/vendor/golang.org/x/sys/unix/syscall_linux_gc_386.go
-new file mode 100644
-index 00000000..070bd389
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/syscall_linux_gc_386.go
-@@ -0,0 +1,16 @@
-+// Copyright 2018 The Go Authors. All rights reserved.
-+// Use of this source code is governed by a BSD-style
-+// license that can be found in the LICENSE file.
-+
-+// +build linux,!gccgo,386
-+
-+package unix
-+
-+import "syscall"
-+
-+// Underlying system call writes to newoffset via pointer.
-+// Implemented in assembly to avoid allocation.
-+func seek(fd int, offset int64, whence int) (newoffset int64, err syscall.Errno)
-+
-+func socketcall(call int, a0, a1, a2, a3, a4, a5 uintptr) (n int, err syscall.Errno)
-+func rawsocketcall(call int, a0, a1, a2, a3, a4, a5 uintptr) (n int, err syscall.Errno)
-diff --git a/vendor/golang.org/x/sys/unix/syscall_linux_gccgo_386.go b/vendor/golang.org/x/sys/unix/syscall_linux_gccgo_386.go
-new file mode 100644
-index 00000000..308eb7ae
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/syscall_linux_gccgo_386.go
-@@ -0,0 +1,30 @@
-+// Copyright 2018 The Go Authors. All rights reserved.
-+// Use of this source code is governed by a BSD-style
-+// license that can be found in the LICENSE file.
-+
-+// +build linux,gccgo,386
-+
-+package unix
-+
-+import (
-+ "syscall"
-+ "unsafe"
-+)
-+
-+func seek(fd int, offset int64, whence int) (int64, syscall.Errno) {
-+ var newoffset int64
-+ offsetLow := uint32(offset & 0xffffffff)
-+ offsetHigh := uint32((offset >> 32) & 0xffffffff)
-+ _, _, err := Syscall6(SYS__LLSEEK, uintptr(fd), uintptr(offsetHigh), uintptr(offsetLow), uintptr(unsafe.Pointer(&newoffset)), uintptr(whence), 0)
-+ return newoffset, err
-+}
-+
-+func socketcall(call int, a0, a1, a2, a3, a4, a5 uintptr) (int, syscall.Errno) {
-+ fd, _, err := Syscall(SYS_SOCKETCALL, uintptr(call), uintptr(unsafe.Pointer(&a0)), 0)
-+ return int(fd), err
-+}
-+
-+func rawsocketcall(call int, a0, a1, a2, a3, a4, a5 uintptr) (int, syscall.Errno) {
-+ fd, _, err := RawSyscall(SYS_SOCKETCALL, uintptr(call), uintptr(unsafe.Pointer(&a0)), 0)
-+ return int(fd), err
-+}
-diff --git a/vendor/golang.org/x/sys/unix/syscall_linux_gccgo_arm.go b/vendor/golang.org/x/sys/unix/syscall_linux_gccgo_arm.go
-new file mode 100644
-index 00000000..aa7fc9e1
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/syscall_linux_gccgo_arm.go
-@@ -0,0 +1,20 @@
-+// Copyright 2018 The Go Authors. All rights reserved.
-+// Use of this source code is governed by a BSD-style
-+// license that can be found in the LICENSE file.
-+
-+// +build linux,gccgo,arm
-+
-+package unix
-+
-+import (
-+ "syscall"
-+ "unsafe"
-+)
-+
-+func seek(fd int, offset int64, whence int) (int64, syscall.Errno) {
-+ var newoffset int64
-+ offsetLow := uint32(offset & 0xffffffff)
-+ offsetHigh := uint32((offset >> 32) & 0xffffffff)
-+ _, _, err := Syscall6(SYS__LLSEEK, uintptr(fd), uintptr(offsetHigh), uintptr(offsetLow), uintptr(unsafe.Pointer(&newoffset)), uintptr(whence), 0)
-+ return newoffset, err
-+}
-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 73318e5c..af77e6e2 100644
---- a/vendor/golang.org/x/sys/unix/syscall_linux_mips64x.go
-+++ b/vendor/golang.org/x/sys/unix/syscall_linux_mips64x.go
-@@ -8,7 +8,9 @@
- 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)
- //sys Fstatfs(fd int, buf *Statfs_t) (err error)
- //sys Ftruncate(fd int, length int64) (err error)
-@@ -22,11 +24,20 @@ package unix
- //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 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_PSELECT6
-+
-+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) (err error)
--//sys Setfsuid(uid 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)
-@@ -37,6 +48,7 @@ package unix
- //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)
-@@ -55,8 +67,7 @@ package unix
- //sys sendmsg(s int, msg *Msghdr, flags int) (n int, err error)
- //sys mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error)
-
--func Getpagesize() int { return 65536 }
--
-+//sys futimesat(dirfd int, path string, times *[2]Timeval) (err error)
- //sysnb Gettimeofday(tv *Timeval) (err error)
-
- func Time(t *Time_t) (tt Time_t, err error) {
-@@ -72,20 +83,14 @@ func Time(t *Time_t) (tt Time_t, err error) {
- }
-
- //sys Utime(path string, buf *Utimbuf) (err error)
-+//sys utimes(path string, times *[2]Timeval) (err error)
-
--func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
--
--func NsecToTimespec(nsec int64) (ts Timespec) {
-- ts.Sec = nsec / 1e9
-- ts.Nsec = nsec % 1e9
-- return
-+func setTimespec(sec, nsec int64) Timespec {
-+ return Timespec{Sec: sec, Nsec: nsec}
- }
-
--func NsecToTimeval(nsec int64) (tv Timeval) {
-- nsec += 999 // round up to microsecond
-- tv.Sec = nsec / 1e9
-- tv.Usec = nsec % 1e9 / 1e3
-- return
-+func setTimeval(sec, usec int64) Timeval {
-+ return Timeval{Sec: sec, Usec: usec}
- }
-
- func Pipe(p []int) (err error) {
-@@ -143,6 +148,7 @@ type stat_t struct {
- }
-
- //sys fstat(fd int, st *stat_t) (err error)
-+//sys fstatat(dirfd int, path string, st *stat_t, flags int) (err error) = SYS_NEWFSTATAT
- //sys lstat(path string, st *stat_t) (err error)
- //sys stat(path string, st *stat_t) (err error)
-
-@@ -153,6 +159,13 @@ func Fstat(fd int, s *Stat_t) (err error) {
- return
- }
-
-+func Fstatat(dirfd int, path string, s *Stat_t, flags int) (err error) {
-+ st := &stat_t{}
-+ err = fstatat(dirfd, path, st, flags)
-+ fillStat_t(s, st)
-+ return
-+}
-+
- func Lstat(path string, s *Stat_t) (err error) {
- st := &stat_t{}
- err = lstat(path, st)
-@@ -195,10 +208,18 @@ 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 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) {
-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 b83d93fd..e286c6ba 100644
---- a/vendor/golang.org/x/sys/unix/syscall_linux_mipsx.go
-+++ b/vendor/golang.org/x/sys/unix/syscall_linux_mipsx.go
-@@ -15,6 +15,9 @@ 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)
- //sys Ftruncate(fd int, length int64) (err error) = SYS_FTRUNCATE64
- //sysnb Getegid() (egid int)
-@@ -25,20 +28,20 @@ func Syscall9(trap, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr,
- //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 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) (err error)
--//sys Setfsuid(uid 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 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 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)
-@@ -60,15 +63,17 @@ func Syscall9(trap, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr,
- //sys Ioperm(from int, num int, on int) (err error)
- //sys Iopl(level int) (err error)
-
-+//sys futimesat(dirfd int, path string, times *[2]Timeval) (err error)
- //sysnb Gettimeofday(tv *Timeval) (err error)
- //sysnb Time(t *Time_t) (tt Time_t, err error)
-+//sys Utime(path string, buf *Utimbuf) (err error)
-+//sys utimes(path string, times *[2]Timeval) (err error)
-
- //sys Lstat(path string, stat *Stat_t) (err error) = SYS_LSTAT64
- //sys Fstat(fd int, stat *Stat_t) (err error) = SYS_FSTAT64
-+//sys Fstatat(dirfd int, path string, stat *Stat_t, flags int) (err error) = SYS_FSTATAT64
- //sys Stat(path string, stat *Stat_t) (err error) = SYS_STAT64
-
--//sys Utime(path string, buf *Utimbuf) (err error)
--//sys EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error)
- //sys Pause() (err error)
-
- func Fstatfs(fd int, buf *Statfs_t) (err error) {
-@@ -99,19 +104,12 @@ func Seek(fd int, offset int64, whence int) (off int64, err error) {
- return
- }
-
--func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
--
--func NsecToTimespec(nsec int64) (ts Timespec) {
-- ts.Sec = int32(nsec / 1e9)
-- ts.Nsec = int32(nsec % 1e9)
-- return
-+func setTimespec(sec, nsec int64) Timespec {
-+ return Timespec{Sec: int32(sec), Nsec: int32(nsec)}
- }
-
--func NsecToTimeval(nsec int64) (tv Timeval) {
-- nsec += 999 // round up to microsecond
-- tv.Sec = int32(nsec / 1e9)
-- tv.Usec = int32(nsec % 1e9 / 1e3)
-- return
-+func setTimeval(sec, usec int64) Timeval {
-+ return Timeval{Sec: int32(sec), Usec: int32(usec)}
- }
-
- //sysnb pipe2(p *[2]_C_int, flags int) (err error)
-@@ -127,14 +125,13 @@ func Pipe2(p []int, flags int) (err error) {
- return
- }
-
-+//sysnb pipe() (p1 int, p2 int, err error)
-+
- 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])
-+ p[0], p[1], err = pipe()
- return
- }
-
-@@ -223,6 +220,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)
- }
-@@ -235,5 +236,3 @@ func Poll(fds []PollFd, timeout int) (n int, err error) {
- }
- return poll(&fds[0], len(fds), timeout)
- }
--
--func Getpagesize() int { return 4096 }
-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 60770f62..ca0345aa 100644
---- a/vendor/golang.org/x/sys/unix/syscall_linux_ppc64x.go
-+++ b/vendor/golang.org/x/sys/unix/syscall_linux_ppc64x.go
-@@ -7,10 +7,13 @@
-
- package unix
-
--//sys EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error)
- //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)
- //sys Fstat(fd int, stat *Stat_t) (err error)
-+//sys Fstatat(dirfd int, path string, stat *Stat_t, flags int) (err error) = SYS_NEWFSTATAT
- //sys Fstatfs(fd int, buf *Statfs_t) (err error)
- //sys Ftruncate(fd int, length int64) (err error)
- //sysnb Getegid() (egid int)
-@@ -27,11 +30,12 @@ package unix
- //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 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 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) (err error)
--//sys Setfsuid(uid 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)
-@@ -41,8 +45,8 @@ package unix
- //sys Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error)
- //sys Stat(path string, stat *Stat_t) (err error)
- //sys Statfs(path string, buf *Statfs_t) (err error)
--//sys SyncFileRange(fd int, off int64, n int64, flags int) (err error) = SYS_SYNC_FILE_RANGE2
- //sys Truncate(path string, length int64) (err error)
-+//sys 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)
-@@ -61,26 +65,18 @@ package unix
- //sys sendmsg(s int, msg *Msghdr, flags int) (n int, err error)
- //sys mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error)
-
--func Getpagesize() int { return 65536 }
--
-+//sys futimesat(dirfd int, path string, times *[2]Timeval) (err error)
- //sysnb Gettimeofday(tv *Timeval) (err error)
- //sysnb Time(t *Time_t) (tt Time_t, err error)
--
- //sys Utime(path string, buf *Utimbuf) (err error)
-+//sys utimes(path string, times *[2]Timeval) (err error)
-
--func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
--
--func NsecToTimespec(nsec int64) (ts Timespec) {
-- ts.Sec = nsec / 1e9
-- ts.Nsec = nsec % 1e9
-- return
-+func setTimespec(sec, nsec int64) Timespec {
-+ return Timespec{Sec: sec, Nsec: nsec}
- }
-
--func NsecToTimeval(nsec int64) (tv Timeval) {
-- nsec += 999 // round up to microsecond
-- tv.Sec = nsec / 1e9
-- tv.Usec = nsec % 1e9 / 1e3
-- return
-+func setTimeval(sec, usec int64) Timeval {
-+ return Timeval{Sec: sec, Usec: usec}
- }
-
- func (r *PtraceRegs) PC() uint64 { return r.Nip }
-@@ -95,6 +91,10 @@ 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)
- }
-@@ -133,3 +133,24 @@ func Poll(fds []PollFd, timeout int) (n int, err error) {
- }
- 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 {
-+ // The sync_file_range and sync_file_range2 syscalls differ only in the
-+ // order of their arguments.
-+ return syncFileRange2(fd, flags, off, n)
-+}
-+
-+//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_arm64.go b/vendor/golang.org/x/sys/unix/syscall_linux_riscv64.go
-similarity index 68%
-copy from vendor/golang.org/x/sys/unix/syscall_linux_arm64.go
-copy to vendor/golang.org/x/sys/unix/syscall_linux_riscv64.go
-index 4a136396..abdabbac 100644
---- a/vendor/golang.org/x/sys/unix/syscall_linux_arm64.go
-+++ b/vendor/golang.org/x/sys/unix/syscall_linux_riscv64.go
-@@ -1,12 +1,22 @@
--// Copyright 2015 The Go Authors. All rights reserved.
-+// Copyright 2018 The Go Authors. All rights reserved.
- // Use of this source code is governed by a BSD-style
- // license that can be found in the LICENSE file.
-
--// +build arm64,linux
-+// +build riscv64,linux
-
- 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)
- //sys Fstat(fd int, stat *Stat_t) (err error)
- //sys Fstatat(fd int, path string, stat *Stat_t, flags int) (err error)
-@@ -21,10 +31,18 @@ package unix
- //sys Pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64
- //sys Pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64
- //sys Seek(fd int, offset int64, whence int) (off int64, err error) = SYS_LSEEK
--//sys Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) = SYS_PSELECT6
-+
-+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) (err error)
--//sys Setfsuid(uid 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)
-@@ -48,6 +66,11 @@ func Lstat(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)
-+
-+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)
-@@ -66,23 +89,26 @@ func Lstat(path string, stat *Stat_t) (err error) {
- //sys sendmsg(s int, msg *Msghdr, flags int) (n int, err error)
- //sys mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error)
-
--func Getpagesize() int { return 65536 }
--
- //sysnb Gettimeofday(tv *Timeval) (err error)
-
--func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
-+func setTimespec(sec, nsec int64) Timespec {
-+ return Timespec{Sec: sec, Nsec: nsec}
-+}
-
--func NsecToTimespec(nsec int64) (ts Timespec) {
-- ts.Sec = nsec / 1e9
-- ts.Nsec = nsec % 1e9
-- return
-+func setTimeval(sec, usec int64) Timeval {
-+ return Timeval{Sec: sec, Usec: usec}
- }
-
--func NsecToTimeval(nsec int64) (tv Timeval) {
-- nsec += 999 // round up to microsecond
-- tv.Sec = nsec / 1e9
-- tv.Usec = nsec % 1e9 / 1e3
-- 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) {
-@@ -105,6 +131,18 @@ func Utime(path string, buf *Utimbuf) error {
- 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 Pipe(p []int) (err error) {
- if len(p) != 2 {
- return EINVAL
-@@ -141,6 +179,10 @@ 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)
- }
-@@ -153,30 +195,11 @@ func Dup2(oldfd int, newfd int) (err error) {
- return Dup3(oldfd, newfd, 0)
- }
-
--func Pause() (err error) {
-- _, _, e1 := Syscall6(SYS_PPOLL, 0, 0, 0, 0, 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
-+func Pause() error {
-+ _, err := ppoll(nil, 0, nil, nil)
-+ return err
- }
-
--// TODO(dfc): constants that should be in zsysnum_linux_arm64.go, remove
--// these when the deprecated syscalls that the syscall package relies on
--// are removed.
--const (
-- SYS_GETPGRP = 1060
-- SYS_UTIMES = 1037
-- SYS_FUTIMESAT = 1066
-- SYS_PAUSE = 1061
-- SYS_USTAT = 1070
-- SYS_UTIME = 1063
-- SYS_LCHOWN = 1032
-- SYS_TIME = 1062
-- SYS_EPOLL_CREATE = 1042
-- SYS_EPOLL_WAIT = 1069
--)
--
- func Poll(fds []PollFd, timeout int) (n int, err error) {
- var ts *Timespec
- if timeout >= 0 {
-@@ -188,3 +211,20 @@ func Poll(fds []PollFd, timeout int) (n int, err error) {
- }
- 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)
-+}
-+
-+//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_s390x.go b/vendor/golang.org/x/sys/unix/syscall_linux_s390x.go
-index 1708a4bb..533e9305 100644
---- a/vendor/golang.org/x/sys/unix/syscall_linux_s390x.go
-+++ b/vendor/golang.org/x/sys/unix/syscall_linux_s390x.go
-@@ -11,10 +11,12 @@ import (
- )
-
- //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)
- //sys Fstat(fd int, stat *Stat_t) (err error)
-+//sys Fstatat(dirfd int, path string, stat *Stat_t, flags int) (err error) = SYS_NEWFSTATAT
- //sys Fstatfs(fd int, buf *Statfs_t) (err error)
- //sys Ftruncate(fd int, length int64) (err error)
- //sysnb Getegid() (egid int)
-@@ -28,11 +30,12 @@ import (
- //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 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) (err error)
--//sys Setfsuid(uid 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)
-@@ -43,11 +46,11 @@ import (
- //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)
- //sysnb getgroups(n int, list *_Gid_t) (nn int, err error)
- //sysnb setgroups(n int, list *_Gid_t) (err error)
-
--func Getpagesize() int { return 4096 }
--
-+//sys futimesat(dirfd int, path string, times *[2]Timeval) (err error)
- //sysnb Gettimeofday(tv *Timeval) (err error)
-
- func Time(t *Time_t) (tt Time_t, err error) {
-@@ -63,20 +66,14 @@ func Time(t *Time_t) (tt Time_t, err error) {
- }
-
- //sys Utime(path string, buf *Utimbuf) (err error)
-+//sys utimes(path string, times *[2]Timeval) (err error)
-
--func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
--
--func NsecToTimespec(nsec int64) (ts Timespec) {
-- ts.Sec = nsec / 1e9
-- ts.Nsec = nsec % 1e9
-- return
-+func setTimespec(sec, nsec int64) Timespec {
-+ return Timespec{Sec: sec, Nsec: nsec}
- }
-
--func NsecToTimeval(nsec int64) (tv Timeval) {
-- nsec += 999 // round up to microsecond
-- tv.Sec = nsec / 1e9
-- tv.Usec = nsec % 1e9 / 1e3
-- return
-+func setTimeval(sec, usec int64) Timeval {
-+ return Timeval{Sec: sec, Usec: usec}
- }
-
- //sysnb pipe2(p *[2]_C_int, flags int) (err error)
-@@ -123,6 +120,10 @@ 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)
- }
-@@ -326,3 +327,16 @@ func Poll(fds []PollFd, timeout int) (n int, err error) {
- }
- 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 {
-+ 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_sparc64.go b/vendor/golang.org/x/sys/unix/syscall_linux_sparc64.go
-index 20b7454d..d890a227 100644
---- a/vendor/golang.org/x/sys/unix/syscall_linux_sparc64.go
-+++ b/vendor/golang.org/x/sys/unix/syscall_linux_sparc64.go
-@@ -6,15 +6,12 @@
-
- package unix
-
--import (
-- "sync/atomic"
-- "syscall"
--)
--
- //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
- //sys Fstatfs(fd int, buf *Statfs_t) (err error)
- //sys Ftruncate(fd int, length int64) (err error)
- //sysnb Getegid() (egid int)
-@@ -29,11 +26,12 @@ import (
- //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 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) (err error)
--//sys Setfsuid(uid 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)
-@@ -63,21 +61,6 @@ import (
- //sys sendmsg(s int, msg *Msghdr, flags int) (n int, err error)
- //sys mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error)
-
--func sysconf(name int) (n int64, err syscall.Errno)
--
--// pageSize caches the value of Getpagesize, since it can't change
--// once the system is booted.
--var pageSize int64 // accessed atomically
--
--func Getpagesize() int {
-- n := atomic.LoadInt64(&pageSize)
-- if n == 0 {
-- n, _ = sysconf(_SC_PAGESIZE)
-- atomic.StoreInt64(&pageSize, n)
-- }
-- return int(n)
--}
--
- func Ioperm(from int, num int, on int) (err error) {
- return ENOSYS
- }
-@@ -86,6 +69,7 @@ func Iopl(level int) (err error) {
- return ENOSYS
- }
-
-+//sys futimesat(dirfd int, path string, times *[2]Timeval) (err error)
- //sysnb Gettimeofday(tv *Timeval) (err error)
-
- func Time(t *Time_t) (tt Time_t, err error) {
-@@ -101,20 +85,14 @@ func Time(t *Time_t) (tt Time_t, err error) {
- }
-
- //sys Utime(path string, buf *Utimbuf) (err error)
-+//sys utimes(path string, times *[2]Timeval) (err error)
-
--func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
--
--func NsecToTimespec(nsec int64) (ts Timespec) {
-- ts.Sec = nsec / 1e9
-- ts.Nsec = nsec % 1e9
-- return
-+func setTimespec(sec, nsec int64) Timespec {
-+ return Timespec{Sec: sec, Nsec: nsec}
- }
-
--func NsecToTimeval(nsec int64) (tv Timeval) {
-- nsec += 999 // round up to microsecond
-- tv.Sec = nsec / 1e9
-- tv.Usec = int32(nsec % 1e9 / 1e3)
-- return
-+func setTimeval(sec, usec int64) Timeval {
-+ return Timeval{Sec: sec, Usec: int32(usec)}
- }
-
- func (r *PtraceRegs) PC() uint64 { return r.Tpc }
-@@ -129,6 +107,10 @@ 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)
- }
-diff --git a/vendor/golang.org/x/sys/unix/syscall_netbsd.go b/vendor/golang.org/x/sys/unix/syscall_netbsd.go
-index e1296684..45b50a61 100644
---- a/vendor/golang.org/x/sys/unix/syscall_netbsd.go
-+++ b/vendor/golang.org/x/sys/unix/syscall_netbsd.go
-@@ -13,10 +13,12 @@
- package unix
-
- import (
-+ "runtime"
- "syscall"
- "unsafe"
- )
-
-+// SockaddrDatalink implements the Sockaddr interface for AF_LINK type sockets.
- type SockaddrDatalink struct {
- Len uint8
- Family uint8
-@@ -55,7 +57,6 @@ func sysctlNodes(mib []_C_int) (nodes []Sysctlnode, err error) {
- }
-
- func nametomib(name string) (mib []_C_int, err error) {
--
- // Split name into components.
- var parts []string
- last := 0
-@@ -114,9 +115,47 @@ func Pipe(p []int) (err error) {
- return
- }
-
--//sys getdents(fd int, buf []byte) (n int, err error)
-+//sys Getdents(fd int, buf []byte) (n int, err error)
- func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
-- return getdents(fd, buf)
-+ n, err = Getdents(fd, buf)
-+ if err != nil || basep == nil {
-+ return
-+ }
-+
-+ var off int64
-+ off, err = Seek(fd, 0, 1 /* SEEK_CUR */)
-+ if err != nil {
-+ *basep = ^uintptr(0)
-+ return
-+ }
-+ *basep = uintptr(off)
-+ if unsafe.Sizeof(*basep) == 8 {
-+ return
-+ }
-+ if off>>32 != 0 {
-+ // We can't stuff the offset back into a uintptr, so any
-+ // future calls would be suspect. Generate an error.
-+ // EIO is allowed by getdirentries.
-+ err = EIO
-+ }
-+ return
-+}
-+
-+const ImplementsGetwd = true
-+
-+//sys Getcwd(buf []byte) (n int, err error) = SYS___GETCWD
-+
-+func Getwd() (string, error) {
-+ var buf [PathMax]byte
-+ _, err := Getcwd(buf[0:])
-+ if err != nil {
-+ return "", err
-+ }
-+ n := clen(buf[:])
-+ if n < 1 {
-+ return "", EINVAL
-+ }
-+ return string(buf[:n]), nil
- }
-
- // TODO
-@@ -124,6 +163,83 @@ 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
-+
-+func IoctlGetPtmget(fd int, req uint) (*Ptmget, error) {
-+ var value Ptmget
-+ err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
-+ runtime.KeepAlive(value)
-+ return &value, err
-+}
-+
-+func Uname(uname *Utsname) error {
-+ mib := []_C_int{CTL_KERN, KERN_OSTYPE}
-+ n := unsafe.Sizeof(uname.Sysname)
-+ if err := sysctl(mib, &uname.Sysname[0], &n, nil, 0); err != nil {
-+ return err
-+ }
-+
-+ mib = []_C_int{CTL_KERN, KERN_HOSTNAME}
-+ n = unsafe.Sizeof(uname.Nodename)
-+ if err := sysctl(mib, &uname.Nodename[0], &n, nil, 0); err != nil {
-+ return err
-+ }
-+
-+ mib = []_C_int{CTL_KERN, KERN_OSRELEASE}
-+ n = unsafe.Sizeof(uname.Release)
-+ if err := sysctl(mib, &uname.Release[0], &n, nil, 0); err != nil {
-+ return err
-+ }
-+
-+ mib = []_C_int{CTL_KERN, KERN_VERSION}
-+ n = unsafe.Sizeof(uname.Version)
-+ if err := sysctl(mib, &uname.Version[0], &n, nil, 0); err != nil {
-+ return err
-+ }
-+
-+ // The version might have newlines or tabs in it, convert them to
-+ // spaces.
-+ for i, b := range uname.Version {
-+ if b == '\n' || b == '\t' {
-+ if i == len(uname.Version)-1 {
-+ uname.Version[i] = 0
-+ } else {
-+ uname.Version[i] = ' '
-+ }
-+ }
-+ }
-+
-+ mib = []_C_int{CTL_HW, HW_MACHINE}
-+ n = unsafe.Sizeof(uname.Machine)
-+ if err := sysctl(mib, &uname.Machine[0], &n, nil, 0); err != nil {
-+ return err
-+ }
-+
-+ return nil
-+}
-+
-+func Sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
-+ if raceenabled {
-+ raceReleaseMerge(unsafe.Pointer(&ioSync))
-+ }
-+ return sendfile(outfd, infd, offset, count)
-+}
-+
-+func Fstatvfs(fd int, buf *Statvfs_t) (err error) {
-+ return Fstatvfs1(fd, buf, ST_WAIT)
-+}
-+
-+func Statvfs(path string, buf *Statvfs_t) (err error) {
-+ return Statvfs1(path, buf, ST_WAIT)
-+}
-+
- /*
- * Exposed directly
- */
-@@ -137,14 +253,33 @@ func sendfile(outfd int, infd int, offset *int64, count int) (written int, err e
- //sys Close(fd int) (err error)
- //sys Dup(fd int) (nfd int, err error)
- //sys Dup2(from int, to int) (err error)
-+//sys Dup3(from int, to int, flags int) (err error)
- //sys Exit(code int)
-+//sys ExtattrGetFd(fd int, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error)
-+//sys ExtattrSetFd(fd int, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error)
-+//sys ExtattrDeleteFd(fd int, attrnamespace int, attrname string) (err error)
-+//sys ExtattrListFd(fd int, attrnamespace int, data uintptr, nbytes int) (ret int, err error)
-+//sys ExtattrGetFile(file string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error)
-+//sys ExtattrSetFile(file string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error)
-+//sys ExtattrDeleteFile(file string, attrnamespace int, attrname string) (err error)
-+//sys ExtattrListFile(file string, attrnamespace int, data uintptr, nbytes int) (ret int, err error)
-+//sys ExtattrGetLink(link string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error)
-+//sys ExtattrSetLink(link string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error)
-+//sys ExtattrDeleteLink(link string, attrnamespace int, attrname string) (err error)
-+//sys ExtattrListLink(link string, attrnamespace int, data uintptr, nbytes int) (ret int, err error)
-+//sys Faccessat(dirfd int, path string, mode uint32, flags int) (err error)
-+//sys Fadvise(fd int, offset int64, length int64, advice int) (err error) = SYS_POSIX_FADVISE
- //sys Fchdir(fd int) (err error)
- //sys Fchflags(fd int, flags int) (err error)
- //sys Fchmod(fd int, mode uint32) (err error)
-+//sys Fchmodat(dirfd int, path string, mode uint32, flags int) (err error)
- //sys Fchown(fd int, uid int, gid int) (err error)
-+//sys Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error)
- //sys Flock(fd int, how int) (err error)
- //sys Fpathconf(fd int, name int) (val int, err error)
- //sys Fstat(fd int, stat *Stat_t) (err error)
-+//sys Fstatat(fd int, path string, stat *Stat_t, flags int) (err error)
-+//sys Fstatvfs1(fd int, buf *Statvfs_t, flags int) (err error) = SYS_FSTATVFS1
- //sys Fsync(fd int) (err error)
- //sys Ftruncate(fd int, length int64) (err error)
- //sysnb Getegid() (egid int)
-@@ -165,23 +300,30 @@ func sendfile(outfd int, infd int, offset *int64, count int) (written int, err e
- //sys Kqueue() (fd int, err error)
- //sys Lchown(path string, uid int, gid int) (err error)
- //sys Link(path string, link string) (err error)
-+//sys 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_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 Mkfifoat(dirfd int, path string, mode uint32) (err error)
- //sys Mknod(path string, mode uint32, dev int) (err error)
-+//sys Mknodat(dirfd int, path string, mode uint32, dev int) (err error)
- //sys Nanosleep(time *Timespec, leftover *Timespec) (err error)
- //sys Open(path string, mode int, perm uint32) (fd int, err error)
-+//sys Openat(dirfd int, path string, mode int, perm uint32) (fd int, err error)
- //sys Pathconf(path string, name int) (val int, err error)
- //sys Pread(fd int, p []byte, offset int64) (n int, err error)
- //sys Pwrite(fd int, p []byte, offset int64) (n int, err error)
- //sys read(fd int, p []byte) (n int, err error)
- //sys Readlink(path string, buf []byte) (n int, err error)
-+//sys Readlinkat(dirfd int, path string, buf []byte) (n int, err error)
- //sys Rename(from string, to string) (err error)
-+//sys Renameat(fromfd int, from string, tofd int, to string) (err error)
- //sys Revoke(path string) (err error)
- //sys Rmdir(path string) (err error)
- //sys Seek(fd int, offset int64, whence int) (newoffset int64, err error) = SYS_LSEEK
--//sys Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error)
-+//sys Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error)
- //sysnb Setegid(egid int) (err error)
- //sysnb Seteuid(euid int) (err error)
- //sysnb Setgid(gid int) (err error)
-@@ -194,11 +336,14 @@ func sendfile(outfd int, infd int, offset *int64, count int) (written int, err e
- //sysnb Settimeofday(tp *Timeval) (err error)
- //sysnb Setuid(uid int) (err error)
- //sys Stat(path string, stat *Stat_t) (err error)
-+//sys Statvfs1(path string, buf *Statvfs_t, flags int) (err error) = SYS_STATVFS1
- //sys Symlink(path string, link string) (err error)
-+//sys Symlinkat(oldpath string, newdirfd int, newpath string) (err error)
- //sys Sync() (err error)
- //sys Truncate(path string, length int64) (err error)
- //sys Umask(newmask int) (oldmask int)
- //sys Unlink(path string) (err error)
-+//sys Unlinkat(dirfd int, path string, flags int) (err error)
- //sys Unmount(path string, flags int) (err error)
- //sys write(fd int, p []byte) (n int, err error)
- //sys mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error)
-@@ -225,7 +370,6 @@ func sendfile(outfd int, infd int, offset *int64, count int) (written int, err e
- // __msync13
- // __ntp_gettime30
- // __posix_chown
--// __posix_fadvise50
- // __posix_fchown
- // __posix_lchown
- // __posix_rename
-@@ -384,7 +528,6 @@ func sendfile(outfd int, infd int, offset *int64, count int) (written int, err e
- // getitimer
- // getvfsstat
- // getxattr
--// ioctl
- // ktrace
- // lchflags
- // lchmod
-@@ -422,7 +565,6 @@ func sendfile(outfd int, infd int, offset *int64, count int) (written int, err e
- // ntp_adjtime
- // pmc_control
- // pmc_get_info
--// poll
- // pollts
- // preadv
- // profil
-diff --git a/vendor/golang.org/x/sys/unix/syscall_netbsd_386.go b/vendor/golang.org/x/sys/unix/syscall_netbsd_386.go
-index afaca098..24da8b52 100644
---- a/vendor/golang.org/x/sys/unix/syscall_netbsd_386.go
-+++ b/vendor/golang.org/x/sys/unix/syscall_netbsd_386.go
-@@ -6,21 +6,12 @@
-
- package unix
-
--func Getpagesize() int { return 4096 }
--
--func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
--
--func NsecToTimespec(nsec int64) (ts Timespec) {
-- ts.Sec = int64(nsec / 1e9)
-- ts.Nsec = int32(nsec % 1e9)
-- return
-+func setTimespec(sec, nsec int64) Timespec {
-+ return Timespec{Sec: sec, Nsec: int32(nsec)}
- }
-
--func NsecToTimeval(nsec int64) (tv Timeval) {
-- nsec += 999 // round up to microsecond
-- tv.Usec = int32(nsec % 1e9 / 1e3)
-- tv.Sec = int64(nsec / 1e9)
-- return
-+func setTimeval(sec, usec int64) Timeval {
-+ return Timeval{Sec: sec, Usec: int32(usec)}
- }
-
- func SetKevent(k *Kevent_t, fd, mode, flags int) {
-@@ -37,6 +28,10 @@ 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)
- }
-diff --git a/vendor/golang.org/x/sys/unix/syscall_netbsd_amd64.go b/vendor/golang.org/x/sys/unix/syscall_netbsd_amd64.go
-index a6ff04ce..25a0ac82 100644
---- a/vendor/golang.org/x/sys/unix/syscall_netbsd_amd64.go
-+++ b/vendor/golang.org/x/sys/unix/syscall_netbsd_amd64.go
-@@ -6,21 +6,12 @@
-
- package unix
-
--func Getpagesize() int { return 4096 }
--
--func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
--
--func NsecToTimespec(nsec int64) (ts Timespec) {
-- ts.Sec = int64(nsec / 1e9)
-- ts.Nsec = int64(nsec % 1e9)
-- return
-+func setTimespec(sec, nsec int64) Timespec {
-+ return Timespec{Sec: sec, Nsec: nsec}
- }
-
--func NsecToTimeval(nsec int64) (tv Timeval) {
-- nsec += 999 // round up to microsecond
-- tv.Usec = int32(nsec % 1e9 / 1e3)
-- tv.Sec = int64(nsec / 1e9)
-- return
-+func setTimeval(sec, usec int64) Timeval {
-+ return Timeval{Sec: sec, Usec: int32(usec)}
- }
-
- func SetKevent(k *Kevent_t, fd, mode, flags int) {
-@@ -37,6 +28,10 @@ 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)
- }
-diff --git a/vendor/golang.org/x/sys/unix/syscall_netbsd_arm.go b/vendor/golang.org/x/sys/unix/syscall_netbsd_arm.go
-index 68a6969b..21591ecd 100644
---- a/vendor/golang.org/x/sys/unix/syscall_netbsd_arm.go
-+++ b/vendor/golang.org/x/sys/unix/syscall_netbsd_arm.go
-@@ -6,21 +6,12 @@
-
- package unix
-
--func Getpagesize() int { return 4096 }
--
--func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
--
--func NsecToTimespec(nsec int64) (ts Timespec) {
-- ts.Sec = int64(nsec / 1e9)
-- ts.Nsec = int32(nsec % 1e9)
-- return
-+func setTimespec(sec, nsec int64) Timespec {
-+ return Timespec{Sec: sec, Nsec: int32(nsec)}
- }
-
--func NsecToTimeval(nsec int64) (tv Timeval) {
-- nsec += 999 // round up to microsecond
-- tv.Usec = int32(nsec % 1e9 / 1e3)
-- tv.Sec = int64(nsec / 1e9)
-- return
-+func setTimeval(sec, usec int64) Timeval {
-+ return Timeval{Sec: sec, Usec: int32(usec)}
- }
-
- func SetKevent(k *Kevent_t, fd, mode, flags int) {
-@@ -37,6 +28,10 @@ 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)
- }
-diff --git a/vendor/golang.org/x/sys/unix/syscall_netbsd_amd64.go b/vendor/golang.org/x/sys/unix/syscall_netbsd_arm64.go
-similarity index 50%
-copy from vendor/golang.org/x/sys/unix/syscall_netbsd_amd64.go
-copy to vendor/golang.org/x/sys/unix/syscall_netbsd_arm64.go
-index a6ff04ce..80474963 100644
---- a/vendor/golang.org/x/sys/unix/syscall_netbsd_amd64.go
-+++ b/vendor/golang.org/x/sys/unix/syscall_netbsd_arm64.go
-@@ -1,26 +1,17 @@
--// Copyright 2009 The Go Authors. All rights reserved.
-+// 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.
-
--// +build amd64,netbsd
-+// +build arm64,netbsd
-
- package unix
-
--func Getpagesize() int { return 4096 }
--
--func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
--
--func NsecToTimespec(nsec int64) (ts Timespec) {
-- ts.Sec = int64(nsec / 1e9)
-- ts.Nsec = int64(nsec % 1e9)
-- return
-+func setTimespec(sec, nsec int64) Timespec {
-+ return Timespec{Sec: sec, Nsec: nsec}
- }
-
--func NsecToTimeval(nsec int64) (tv Timeval) {
-- nsec += 999 // round up to microsecond
-- tv.Usec = int32(nsec % 1e9 / 1e3)
-- tv.Sec = int64(nsec / 1e9)
-- return
-+func setTimeval(sec, usec int64) Timeval {
-+ return Timeval{Sec: sec, Usec: int32(usec)}
- }
-
- func SetKevent(k *Kevent_t, fd, mode, flags int) {
-@@ -37,6 +28,10 @@ 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)
- }
-diff --git a/vendor/golang.org/x/sys/unix/syscall_no_getwd.go b/vendor/golang.org/x/sys/unix/syscall_no_getwd.go
-deleted file mode 100644
-index 530792ea..00000000
---- a/vendor/golang.org/x/sys/unix/syscall_no_getwd.go
-+++ /dev/null
-@@ -1,11 +0,0 @@
--// Copyright 2013 The Go Authors. All rights reserved.
--// Use of this source code is governed by a BSD-style
--// license that can be found in the LICENSE file.
--
--// +build dragonfly freebsd netbsd openbsd
--
--package unix
--
--const ImplementsGetwd = false
--
--func Getwd() (string, error) { return "", ENOTSUP }
-diff --git a/vendor/golang.org/x/sys/unix/syscall_openbsd.go b/vendor/golang.org/x/sys/unix/syscall_openbsd.go
-index 408e6308..a266e92a 100644
---- a/vendor/golang.org/x/sys/unix/syscall_openbsd.go
-+++ b/vendor/golang.org/x/sys/unix/syscall_openbsd.go
-@@ -13,10 +13,12 @@
- package unix
-
- import (
-+ "sort"
- "syscall"
- "unsafe"
- )
-
-+// SockaddrDatalink implements the Sockaddr interface for AF_LINK type sockets.
- type SockaddrDatalink struct {
- Len uint8
- Family uint8
-@@ -32,23 +34,11 @@ type SockaddrDatalink struct {
- func Syscall9(trap, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno)
-
- func nametomib(name string) (mib []_C_int, err error) {
--
-- // Perform lookup via a binary search
-- left := 0
-- right := len(sysctlMib) - 1
-- for {
-- idx := left + (right-left)/2
-- switch {
-- case name == sysctlMib[idx].ctlname:
-- return sysctlMib[idx].ctloid, nil
-- case name > sysctlMib[idx].ctlname:
-- left = idx + 1
-- default:
-- right = idx - 1
-- }
-- if left > right {
-- break
-- }
-+ i := sort.Search(len(sysctlMib), func(i int) bool {
-+ return sysctlMib[i].ctlname >= name
-+ })
-+ if i < len(sysctlMib) && sysctlMib[i].ctlname == name {
-+ return sysctlMib[i].ctloid, nil
- }
- return nil, EINVAL
- }
-@@ -65,21 +55,87 @@ func direntNamlen(buf []byte) (uint64, bool) {
- return readInt(buf, unsafe.Offsetof(Dirent{}.Namlen), unsafe.Sizeof(Dirent{}.Namlen))
- }
-
--//sysnb pipe(p *[2]_C_int) (err error)
-+func SysctlUvmexp(name string) (*Uvmexp, error) {
-+ mib, err := sysctlmib(name)
-+ if err != nil {
-+ return nil, err
-+ }
-+
-+ n := uintptr(SizeofUvmexp)
-+ var u Uvmexp
-+ if err := sysctl(mib, (*byte)(unsafe.Pointer(&u)), &n, nil, 0); err != nil {
-+ return nil, err
-+ }
-+ if n != SizeofUvmexp {
-+ return nil, EIO
-+ }
-+ return &u, nil
-+}
-+
- func Pipe(p []int) (err 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 = pipe(&pp)
-+ err := pipe2(&pp, flags)
- p[0] = int(pp[0])
- p[1] = int(pp[1])
-- return
-+ return err
- }
-
--//sys getdents(fd int, buf []byte) (n int, err error)
-+//sys Getdents(fd int, buf []byte) (n int, err error)
- func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
-- return getdents(fd, buf)
-+ n, err = Getdents(fd, buf)
-+ if err != nil || basep == nil {
-+ return
-+ }
-+
-+ var off int64
-+ off, err = Seek(fd, 0, 1 /* SEEK_CUR */)
-+ if err != nil {
-+ *basep = ^uintptr(0)
-+ return
-+ }
-+ *basep = uintptr(off)
-+ if unsafe.Sizeof(*basep) == 8 {
-+ return
-+ }
-+ if off>>32 != 0 {
-+ // We can't stuff the offset back into a uintptr, so any
-+ // future calls would be suspect. Generate an error.
-+ // EIO was allowed by getdirentries.
-+ err = EIO
-+ }
-+ return
-+}
-+
-+const ImplementsGetwd = true
-+
-+//sys Getcwd(buf []byte) (n int, err error) = SYS___GETCWD
-+
-+func Getwd() (string, error) {
-+ var buf [PathMax]byte
-+ _, err := Getcwd(buf[0:])
-+ if err != nil {
-+ return "", err
-+ }
-+ n := clen(buf[:])
-+ if n < 1 {
-+ return "", EINVAL
-+ }
-+ return string(buf[:n]), nil
-+}
-+
-+func Sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
-+ if raceenabled {
-+ raceReleaseMerge(unsafe.Pointer(&ioSync))
-+ }
-+ return sendfile(outfd, infd, offset, count)
- }
-
- // TODO
-@@ -102,6 +158,70 @@ 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
-+
-+//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) {
-+ if len(fds) == 0 {
-+ return ppoll(nil, 0, timeout, sigmask)
-+ }
-+ return ppoll(&fds[0], len(fds), timeout, sigmask)
-+}
-+
-+func Uname(uname *Utsname) error {
-+ mib := []_C_int{CTL_KERN, KERN_OSTYPE}
-+ n := unsafe.Sizeof(uname.Sysname)
-+ if err := sysctl(mib, &uname.Sysname[0], &n, nil, 0); err != nil {
-+ return err
-+ }
-+
-+ mib = []_C_int{CTL_KERN, KERN_HOSTNAME}
-+ n = unsafe.Sizeof(uname.Nodename)
-+ if err := sysctl(mib, &uname.Nodename[0], &n, nil, 0); err != nil {
-+ return err
-+ }
-+
-+ mib = []_C_int{CTL_KERN, KERN_OSRELEASE}
-+ n = unsafe.Sizeof(uname.Release)
-+ if err := sysctl(mib, &uname.Release[0], &n, nil, 0); err != nil {
-+ return err
-+ }
-+
-+ mib = []_C_int{CTL_KERN, KERN_VERSION}
-+ n = unsafe.Sizeof(uname.Version)
-+ if err := sysctl(mib, &uname.Version[0], &n, nil, 0); err != nil {
-+ return err
-+ }
-+
-+ // The version might have newlines or tabs in it, convert them to
-+ // spaces.
-+ for i, b := range uname.Version {
-+ if b == '\n' || b == '\t' {
-+ if i == len(uname.Version)-1 {
-+ uname.Version[i] = 0
-+ } else {
-+ uname.Version[i] = ' '
-+ }
-+ }
-+ }
-+
-+ mib = []_C_int{CTL_HW, HW_MACHINE}
-+ n = unsafe.Sizeof(uname.Machine)
-+ if err := sysctl(mib, &uname.Machine[0], &n, nil, 0); err != nil {
-+ return err
-+ }
-+
-+ return nil
-+}
-+
- /*
- * Exposed directly
- */
-@@ -115,14 +235,19 @@ func Getfsstat(buf []Statfs_t, flags int) (n int, err error) {
- //sys Close(fd int) (err error)
- //sys Dup(fd int) (nfd int, err error)
- //sys Dup2(from int, to int) (err error)
-+//sys Dup3(from int, to int, flags int) (err error)
- //sys Exit(code int)
-+//sys Faccessat(dirfd int, path string, mode uint32, flags int) (err error)
- //sys Fchdir(fd int) (err error)
- //sys Fchflags(fd int, flags int) (err error)
- //sys Fchmod(fd int, mode uint32) (err error)
-+//sys Fchmodat(dirfd int, path string, mode uint32, flags int) (err error)
- //sys Fchown(fd int, uid int, gid int) (err error)
-+//sys Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error)
- //sys Flock(fd int, how int) (err error)
- //sys Fpathconf(fd int, name int) (val int, err error)
- //sys Fstat(fd int, stat *Stat_t) (err error)
-+//sys 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)
-@@ -135,6 +260,7 @@ func Getfsstat(buf []Statfs_t, flags int) (n int, err error) {
- //sysnb Getppid() (ppid int)
- //sys Getpriority(which int, who int) (prio int, err error)
- //sysnb Getrlimit(which int, lim *Rlimit) (err error)
-+//sysnb Getrtable() (rtable int, err error)
- //sysnb Getrusage(who int, rusage *Rusage) (err error)
- //sysnb Getsid(pid int) (sid int, err error)
- //sysnb Gettimeofday(tv *Timeval) (err error)
-@@ -144,23 +270,30 @@ func Getfsstat(buf []Statfs_t, flags int) (n int, err error) {
- //sys Kqueue() (fd int, err error)
- //sys Lchown(path string, uid int, gid int) (err error)
- //sys Link(path string, link string) (err error)
-+//sys 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_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 Mkfifoat(dirfd int, path string, mode uint32) (err error)
- //sys Mknod(path string, mode uint32, dev int) (err error)
-+//sys Mknodat(dirfd int, path string, mode uint32, dev int) (err error)
- //sys Nanosleep(time *Timespec, leftover *Timespec) (err error)
- //sys Open(path string, mode int, perm uint32) (fd int, err error)
-+//sys Openat(dirfd int, path string, mode int, perm uint32) (fd int, err error)
- //sys Pathconf(path string, name int) (val int, err error)
- //sys Pread(fd int, p []byte, offset int64) (n int, err error)
- //sys Pwrite(fd int, p []byte, offset int64) (n int, err error)
- //sys read(fd int, p []byte) (n int, err error)
- //sys Readlink(path string, buf []byte) (n int, err error)
-+//sys Readlinkat(dirfd int, path string, buf []byte) (n int, err error)
- //sys Rename(from string, to string) (err error)
-+//sys Renameat(fromfd int, from string, tofd int, to string) (err error)
- //sys Revoke(path string) (err error)
- //sys Rmdir(path string) (err error)
- //sys Seek(fd int, offset int64, whence int) (newoffset int64, err error) = SYS_LSEEK
--//sys Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error)
-+//sys Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error)
- //sysnb Setegid(egid int) (err error)
- //sysnb Seteuid(euid int) (err error)
- //sysnb Setgid(gid int) (err error)
-@@ -172,16 +305,19 @@ func Getfsstat(buf []Statfs_t, flags int) (n int, err error) {
- //sysnb Setresgid(rgid int, egid int, sgid int) (err error)
- //sysnb Setresuid(ruid int, euid int, suid int) (err error)
- //sysnb Setrlimit(which int, lim *Rlimit) (err error)
-+//sysnb Setrtable(rtable 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_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)
- //sys Truncate(path string, length int64) (err error)
- //sys Umask(newmask int) (oldmask int)
- //sys Unlink(path string) (err error)
-+//sys Unlinkat(dirfd int, path string, flags int) (err error)
- //sys Unmount(path string, flags int) (err error)
- //sys write(fd int, p []byte) (n int, err error)
- //sys mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error)
-@@ -204,15 +340,10 @@ func Getfsstat(buf []Statfs_t, flags int) (n int, err error) {
- // clock_settime
- // closefrom
- // execve
--// faccessat
--// fchmodat
--// fchownat
--// fcntl
- // fhopen
- // fhstat
- // fhstatfs
- // fork
--// fstatat
- // futimens
- // getfh
- // getgid
-@@ -220,20 +351,14 @@ func Getfsstat(buf []Statfs_t, flags int) (n int, err error) {
- // getlogin
- // getresgid
- // getresuid
--// getrtable
- // getthrid
--// ioctl
- // ktrace
- // lfs_bmapv
- // lfs_markv
- // lfs_segclean
- // lfs_segwait
--// linkat
- // mincore
- // minherit
--// mkdirat
--// mkfifoat
--// mknodat
- // mount
- // mquery
- // msgctl
-@@ -242,13 +367,10 @@ func Getfsstat(buf []Statfs_t, flags int) (n int, err error) {
- // msgsnd
- // nfssvc
- // nnpfspioctl
--// openat
--// poll
- // preadv
- // profil
- // pwritev
- // quotactl
--// readlinkat
- // readv
- // reboot
- // renameat
-@@ -258,7 +380,6 @@ func Getfsstat(buf []Statfs_t, flags int) (n int, err error) {
- // semop
- // setgroups
- // setitimer
--// setrtable
- // setsockopt
- // shmat
- // shmctl
-@@ -270,13 +391,11 @@ func Getfsstat(buf []Statfs_t, flags int) (n int, err error) {
- // sigprocmask
- // sigreturn
- // sigsuspend
--// symlinkat
- // sysarch
- // syscall
- // threxit
- // thrsigdivert
- // thrsleep
- // thrwakeup
--// unlinkat
- // vfork
- // writev
-diff --git a/vendor/golang.org/x/sys/unix/syscall_openbsd_386.go b/vendor/golang.org/x/sys/unix/syscall_openbsd_386.go
-index a66ddc59..42b5a0e5 100644
---- a/vendor/golang.org/x/sys/unix/syscall_openbsd_386.go
-+++ b/vendor/golang.org/x/sys/unix/syscall_openbsd_386.go
-@@ -6,21 +6,12 @@
-
- package unix
-
--func Getpagesize() int { return 4096 }
--
--func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
--
--func NsecToTimespec(nsec int64) (ts Timespec) {
-- ts.Sec = int64(nsec / 1e9)
-- ts.Nsec = int32(nsec % 1e9)
-- return
-+func setTimespec(sec, nsec int64) Timespec {
-+ return Timespec{Sec: sec, Nsec: int32(nsec)}
- }
-
--func NsecToTimeval(nsec int64) (tv Timeval) {
-- nsec += 999 // round up to microsecond
-- tv.Usec = int32(nsec % 1e9 / 1e3)
-- tv.Sec = int64(nsec / 1e9)
-- return
-+func setTimeval(sec, usec int64) Timeval {
-+ return Timeval{Sec: sec, Usec: int32(usec)}
- }
-
- func SetKevent(k *Kevent_t, fd, mode, flags int) {
-@@ -37,6 +28,14 @@ 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/386 the syscall is called sysctl instead of __sysctl.
-+const SYS___SYSCTL = SYS_SYSCTL
-diff --git a/vendor/golang.org/x/sys/unix/syscall_openbsd_amd64.go b/vendor/golang.org/x/sys/unix/syscall_openbsd_amd64.go
-index 0776c1fa..6ea4b488 100644
---- a/vendor/golang.org/x/sys/unix/syscall_openbsd_amd64.go
-+++ b/vendor/golang.org/x/sys/unix/syscall_openbsd_amd64.go
-@@ -6,21 +6,12 @@
-
- package unix
-
--func Getpagesize() int { return 4096 }
--
--func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
--
--func NsecToTimespec(nsec int64) (ts Timespec) {
-- ts.Sec = nsec / 1e9
-- ts.Nsec = nsec % 1e9
-- return
-+func setTimespec(sec, nsec int64) Timespec {
-+ return Timespec{Sec: sec, Nsec: nsec}
- }
-
--func NsecToTimeval(nsec int64) (tv Timeval) {
-- nsec += 999 // round up to microsecond
-- tv.Usec = nsec % 1e9 / 1e3
-- tv.Sec = nsec / 1e9
-- return
-+func setTimeval(sec, usec int64) Timeval {
-+ return Timeval{Sec: sec, Usec: usec}
- }
-
- func SetKevent(k *Kevent_t, fd, mode, flags int) {
-@@ -37,6 +28,14 @@ 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/amd64 the syscall is called sysctl instead of __sysctl.
-+const SYS___SYSCTL = SYS_SYSCTL
-diff --git a/vendor/golang.org/x/sys/unix/syscall_openbsd_arm.go b/vendor/golang.org/x/sys/unix/syscall_openbsd_arm.go
-index 14ddaf3f..1c3d26fa 100644
---- a/vendor/golang.org/x/sys/unix/syscall_openbsd_arm.go
-+++ b/vendor/golang.org/x/sys/unix/syscall_openbsd_arm.go
-@@ -6,23 +6,12 @@
-
- package unix
-
--import "syscall"
--
--func Getpagesize() int { return syscall.Getpagesize() }
--
--func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
--
--func NsecToTimespec(nsec int64) (ts Timespec) {
-- ts.Sec = int64(nsec / 1e9)
-- ts.Nsec = int32(nsec % 1e9)
-- return
-+func setTimespec(sec, nsec int64) Timespec {
-+ return Timespec{Sec: sec, Nsec: int32(nsec)}
- }
-
--func NsecToTimeval(nsec int64) (tv Timeval) {
-- nsec += 999 // round up to microsecond
-- tv.Usec = int32(nsec % 1e9 / 1e3)
-- tv.Sec = int64(nsec / 1e9)
-- return
-+func setTimeval(sec, usec int64) Timeval {
-+ return Timeval{Sec: sec, Usec: int32(usec)}
- }
-
- func SetKevent(k *Kevent_t, fd, mode, flags int) {
-@@ -39,6 +28,14 @@ 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/arm the syscall is called sysctl instead of __sysctl.
-+const SYS___SYSCTL = SYS_SYSCTL
-diff --git a/vendor/golang.org/x/sys/unix/syscall_openbsd_arm64.go b/vendor/golang.org/x/sys/unix/syscall_openbsd_arm64.go
-new file mode 100644
-index 00000000..a8c458cb
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/syscall_openbsd_arm64.go
-@@ -0,0 +1,41 @@
-+// 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.
-+
-+// +build arm64,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/amd64 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 0d4e5c4e..0e2a696a 100644
---- a/vendor/golang.org/x/sys/unix/syscall_solaris.go
-+++ b/vendor/golang.org/x/sys/unix/syscall_solaris.go
-@@ -13,7 +13,6 @@
- package unix
-
- import (
-- "sync/atomic"
- "syscall"
- "unsafe"
- )
-@@ -24,6 +23,7 @@ type syscallFunc uintptr
- func rawSysvicall6(trap, nargs, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno)
- func sysvicall6(trap, nargs, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno)
-
-+// SockaddrDatalink implements the Sockaddr interface for AF_LINK type sockets.
- type SockaddrDatalink struct {
- Family uint16
- Index uint16
-@@ -35,15 +35,6 @@ type SockaddrDatalink struct {
- raw RawSockaddrDatalink
- }
-
--func clen(n []byte) int {
-- for i := 0; i < len(n); i++ {
-- if n[i] == 0 {
-- return i
-- }
-- }
-- return len(n)
--}
--
- func direntIno(buf []byte) (uint64, bool) {
- return readInt(buf, unsafe.Offsetof(Dirent{}.Ino), unsafe.Sizeof(Dirent{}.Ino))
- }
-@@ -137,7 +128,19 @@ func Getsockname(fd int) (sa Sockaddr, err error) {
- if err = getsockname(fd, &rsa, &len); err != nil {
- return
- }
-- return anyToSockaddr(&rsa)
-+ return anyToSockaddr(fd, &rsa)
-+}
-+
-+// GetsockoptString returns the string value of the socket option opt for the
-+// socket associated with fd at the given socket level.
-+func GetsockoptString(fd, level, opt int) (string, error) {
-+ buf := make([]byte, 256)
-+ vallen := _Socklen(len(buf))
-+ err := getsockopt(fd, level, opt, unsafe.Pointer(&buf[0]), &vallen)
-+ if err != nil {
-+ return "", err
-+ }
-+ return string(buf[:vallen-1]), nil
- }
-
- const ImplementsGetwd = true
-@@ -167,7 +170,7 @@ func Getwd() (wd string, err error) {
-
- func Getgroups() (gids []int, err error) {
- n, err := getgroups(0, nil)
-- // Check for error and sanity check group count. Newer versions of
-+ // Check for error and sanity check group count. Newer versions of
- // Solaris allow up to 1024 (NGROUPS_MAX).
- if n < 0 || n > 1024 {
- if err != nil {
-@@ -202,6 +205,7 @@ func Setgroups(gids []int) (err error) {
- return setgroups(len(a), &a[0])
- }
-
-+// ReadDirent reads directory entries from fd and writes them into buf.
- func ReadDirent(fd int, buf []byte) (n int, err error) {
- // Final argument is (basep *uintptr) and the syscall doesn't take nil.
- // TODO(rsc): Can we use a single global basep for all calls?
-@@ -325,6 +329,16 @@ func UtimesNanoAt(dirfd int, path string, ts []Timespec, flags int) error {
-
- //sys fcntl(fd int, cmd int, arg int) (val int, err error)
-
-+// FcntlInt performs a fcntl syscall on fd with the provided command and argument.
-+func FcntlInt(fd uintptr, cmd, arg int) (int, error) {
-+ valptr, _, errno := sysvicall6(uintptr(unsafe.Pointer(&procfcntl)), 3, uintptr(fd), uintptr(cmd), uintptr(arg), 0, 0, 0)
-+ var err error
-+ if errno != 0 {
-+ err = errno
-+ }
-+ return int(valptr), err
-+}
-+
- // FcntlFlock performs a fcntl syscall for the F_GETLK, F_SETLK or F_SETLKW command.
- func FcntlFlock(fd uintptr, cmd int, lk *Flock_t) error {
- _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procfcntl)), 3, uintptr(fd), uintptr(cmd), uintptr(unsafe.Pointer(lk)), 0, 0, 0)
-@@ -351,7 +365,7 @@ func Futimesat(dirfd int, path string, tv []Timeval) error {
- }
-
- // Solaris doesn't have an futimes function because it allows NULL to be
--// specified as the path for futimesat. However, Go doesn't like
-+// specified as the path for futimesat. However, Go doesn't like
- // NULL-style string interfaces, so this simple wrapper is provided.
- func Futimes(fd int, tv []Timeval) error {
- if tv == nil {
-@@ -363,7 +377,7 @@ func Futimes(fd int, tv []Timeval) error {
- return futimesat(fd, nil, (*[2]Timeval)(unsafe.Pointer(&tv[0])))
- }
-
--func anyToSockaddr(rsa *RawSockaddrAny) (Sockaddr, error) {
-+func anyToSockaddr(fd int, rsa *RawSockaddrAny) (Sockaddr, error) {
- switch rsa.Addr.Family {
- case AF_UNIX:
- pp := (*RawSockaddrUnix)(unsafe.Pointer(rsa))
-@@ -377,7 +391,7 @@ func anyToSockaddr(rsa *RawSockaddrAny) (Sockaddr, error) {
- for n < len(pp.Path) && pp.Path[n] != 0 {
- n++
- }
-- bytes := (*[10000]byte)(unsafe.Pointer(&pp.Path[0]))[0:n]
-+ bytes := (*[len(pp.Path)]byte)(unsafe.Pointer(&pp.Path[0]))[0:n]
- sa.Name = string(bytes)
- return sa, nil
-
-@@ -414,7 +428,7 @@ func Accept(fd int) (nfd int, sa Sockaddr, err error) {
- if nfd == -1 {
- return
- }
-- sa, err = anyToSockaddr(&rsa)
-+ sa, err = anyToSockaddr(fd, &rsa)
- if err != nil {
- Close(nfd)
- nfd = 0
-@@ -451,7 +465,7 @@ func Recvmsg(fd int, p, oob []byte, flags int) (n, oobn int, recvflags int, from
- oobn = int(msg.Accrightslen)
- // source address is only specified if the socket is unconnected
- if rsa.Addr.Family != AF_UNSPEC {
-- from, err = anyToSockaddr(&rsa)
-+ from, err = anyToSockaddr(fd, &rsa)
- }
- return
- }
-@@ -515,50 +529,54 @@ func Acct(path string) (err error) {
- return acct(pathp)
- }
-
--/*
-- * Expose the ioctl function
-- */
-+//sys __makedev(version int, major uint, minor uint) (val uint64)
-
--//sys ioctl(fd int, req uint, arg uintptr) (err error)
--
--func IoctlSetInt(fd int, req uint, value int) (err error) {
-- return ioctl(fd, req, uintptr(value))
-+func Mkdev(major, minor uint32) uint64 {
-+ return __makedev(NEWDEV, uint(major), uint(minor))
- }
-
--func IoctlSetWinsize(fd int, req uint, value *Winsize) (err error) {
-- return ioctl(fd, req, uintptr(unsafe.Pointer(value)))
-+//sys __major(version int, dev uint64) (val uint)
-+
-+func Major(dev uint64) uint32 {
-+ return uint32(__major(NEWDEV, dev))
- }
-
--func IoctlSetTermios(fd int, req uint, value *Termios) (err error) {
-- return ioctl(fd, req, uintptr(unsafe.Pointer(value)))
-+//sys __minor(version int, dev uint64) (val uint)
-+
-+func Minor(dev uint64) uint32 {
-+ return uint32(__minor(NEWDEV, dev))
- }
-
-+/*
-+ * Expose the ioctl function
-+ */
-+
-+//sys ioctl(fd int, req uint, arg uintptr) (err error)
-+
- func IoctlSetTermio(fd int, req uint, value *Termio) (err error) {
- return ioctl(fd, req, uintptr(unsafe.Pointer(value)))
- }
-
--func IoctlGetInt(fd int, req uint) (int, error) {
-- var value int
-- err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
-- return value, err
--}
--
--func IoctlGetWinsize(fd int, req uint) (*Winsize, error) {
-- var value Winsize
-+func IoctlGetTermio(fd int, req uint) (*Termio, error) {
-+ var value Termio
- err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
- return &value, err
- }
-
--func IoctlGetTermios(fd int, req uint) (*Termios, error) {
-- var value Termios
-- err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
-- return &value, err
-+//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)
- }
-
--func IoctlGetTermio(fd int, req uint) (*Termio, error) {
-- var value Termio
-- err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
-- return &value, err
-+func Sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
-+ if raceenabled {
-+ raceReleaseMerge(unsafe.Pointer(&ioSync))
-+ }
-+ return sendfile(outfd, infd, offset, count)
- }
-
- /*
-@@ -575,15 +593,17 @@ func IoctlGetTermio(fd int, req uint) (*Termio, error) {
- //sys Dup(fd int) (nfd int, err error)
- //sys Dup2(oldfd int, newfd int) (err error)
- //sys Exit(code int)
-+//sys Faccessat(dirfd int, path string, mode uint32, flags int) (err error)
- //sys Fchdir(fd int) (err error)
- //sys Fchmod(fd int, mode uint32) (err error)
- //sys Fchmodat(dirfd int, path string, mode uint32, flags int) (err error)
- //sys Fchown(fd int, uid int, gid int) (err error)
- //sys Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error)
- //sys Fdatasync(fd int) (err error)
--//sys Flock(fd int, how int) (err error)
-+//sys Flock(fd int, how int) (err error)
- //sys Fpathconf(fd int, name int) (val int, err error)
- //sys Fstat(fd int, stat *Stat_t) (err error)
-+//sys Fstatat(fd int, path string, stat *Stat_t, flags int) (err error)
- //sys Fstatvfs(fd int, vfsstat *Statvfs_t) (err error)
- //sys Getdents(fd int, buf []byte, basep *uintptr) (n int, err error)
- //sysnb Getgid() (gid int)
-@@ -613,6 +633,7 @@ func IoctlGetTermio(fd int, req uint) (*Termio, error) {
- //sys Mlock(b []byte) (err error)
- //sys Mlockall(flags int) (err error)
- //sys Mprotect(b []byte, prot int) (err error)
-+//sys Msync(b []byte, flags int) (err error)
- //sys Munlock(b []byte) (err error)
- //sys Munlockall() (err error)
- //sys Nanosleep(time *Timespec, leftover *Timespec) (err error)
-@@ -628,6 +649,7 @@ func IoctlGetTermio(fd int, req uint) (*Termio, error) {
- //sys Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error)
- //sys Rmdir(path string) (err error)
- //sys Seek(fd int, offset int64, whence int) (newoffset int64, err error) = lseek
-+//sys Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error)
- //sysnb Setegid(egid int) (err error)
- //sysnb Seteuid(euid int) (err error)
- //sysnb Setgid(gid int) (err error)
-@@ -659,6 +681,7 @@ func IoctlGetTermio(fd int, req uint) (*Termio, error) {
- //sys connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) = libsocket.__xnet_connect
- //sys mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error)
- //sys munmap(addr uintptr, length uintptr) (err error)
-+//sys sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) = libsendfile.sendfile
- //sys sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) = libsocket.__xnet_sendto
- //sys socket(domain int, typ int, proto int) (fd int, err error) = libsocket.__xnet_socket
- //sysnb socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) = libsocket.__xnet_socketpair
-@@ -699,18 +722,3 @@ 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)
- }
--
--//sys sysconf(name int) (n int64, err error)
--
--// pageSize caches the value of Getpagesize, since it can't change
--// once the system is booted.
--var pageSize int64 // accessed atomically
--
--func Getpagesize() int {
-- n := atomic.LoadInt64(&pageSize)
-- if n == 0 {
-- n, _ = sysconf(_SC_PAGESIZE)
-- atomic.StoreInt64(&pageSize, n)
-- }
-- return int(n)
--}
-diff --git a/vendor/golang.org/x/sys/unix/syscall_solaris_amd64.go b/vendor/golang.org/x/sys/unix/syscall_solaris_amd64.go
-index 5aff62c3..b22a34d7 100644
---- a/vendor/golang.org/x/sys/unix/syscall_solaris_amd64.go
-+++ b/vendor/golang.org/x/sys/unix/syscall_solaris_amd64.go
-@@ -6,30 +6,22 @@
-
- package unix
-
--func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
--
--func NsecToTimespec(nsec int64) (ts Timespec) {
-- ts.Sec = nsec / 1e9
-- ts.Nsec = nsec % 1e9
-- return
-+func setTimespec(sec, nsec int64) Timespec {
-+ return Timespec{Sec: sec, Nsec: nsec}
- }
-
--func NsecToTimeval(nsec int64) (tv Timeval) {
-- nsec += 999 // round up to microsecond
-- tv.Usec = nsec % 1e9 / 1e3
-- tv.Sec = int64(nsec / 1e9)
-- return
-+func setTimeval(sec, usec int64) Timeval {
-+ return Timeval{Sec: sec, Usec: usec}
- }
-
- func (iov *Iovec) SetLen(length int) {
- iov.Len = uint64(length)
- }
-
--func (cmsg *Cmsghdr) SetLen(length int) {
-- cmsg.Len = uint32(length)
-+func (msghdr *Msghdr) SetIovlen(length int) {
-+ msghdr.Iovlen = int32(length)
- }
-
--func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
-- // TODO(aram): implement this, see issue 5847.
-- panic("unimplemented")
-+func (cmsg *Cmsghdr) SetLen(length int) {
-+ cmsg.Len = uint32(length)
- }
-diff --git a/vendor/golang.org/x/sys/unix/syscall_unix.go b/vendor/golang.org/x/sys/unix/syscall_unix.go
-index 3ed8a91f..8f710d01 100644
---- a/vendor/golang.org/x/sys/unix/syscall_unix.go
-+++ b/vendor/golang.org/x/sys/unix/syscall_unix.go
-@@ -2,12 +2,13 @@
- // Use of this source code is governed by a BSD-style
- // license that can be found in the LICENSE file.
-
--// +build darwin dragonfly freebsd linux netbsd openbsd solaris
-+// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
-
- package unix
-
- import (
-- "runtime"
-+ "bytes"
-+ "sort"
- "sync"
- "syscall"
- "unsafe"
-@@ -19,13 +20,6 @@ var (
- Stderr = 2
- )
-
--const (
-- darwin64Bit = runtime.GOOS == "darwin" && sizeofPtr == 8
-- dragonfly64Bit = runtime.GOOS == "dragonfly" && sizeofPtr == 8
-- netbsd32Bit = runtime.GOOS == "netbsd" && sizeofPtr == 4
-- solaris64Bit = runtime.GOOS == "solaris" && sizeofPtr == 8
--)
--
- // Do the interface allocations only once for common
- // Errno values.
- var (
-@@ -34,6 +28,11 @@ var (
- errENOENT error = syscall.ENOENT
- )
-
-+var (
-+ signalNameMapOnce sync.Once
-+ signalNameMap map[string]syscall.Signal
-+)
-+
- // errnoErr returns common boxed Errno values, to prevent
- // allocations at runtime.
- func errnoErr(e syscall.Errno) error {
-@@ -50,6 +49,50 @@ func errnoErr(e syscall.Errno) error {
- return e
- }
-
-+// ErrnoName returns the error name for error number e.
-+func ErrnoName(e syscall.Errno) string {
-+ i := sort.Search(len(errorList), func(i int) bool {
-+ return errorList[i].num >= e
-+ })
-+ if i < len(errorList) && errorList[i].num == e {
-+ return errorList[i].name
-+ }
-+ return ""
-+}
-+
-+// SignalName returns the signal name for signal number s.
-+func SignalName(s syscall.Signal) string {
-+ i := sort.Search(len(signalList), func(i int) bool {
-+ return signalList[i].num >= s
-+ })
-+ if i < len(signalList) && signalList[i].num == s {
-+ return signalList[i].name
-+ }
-+ return ""
-+}
-+
-+// SignalNum returns the syscall.Signal for signal named s,
-+// or 0 if a signal with such name is not found.
-+// The signal name should start with "SIG".
-+func SignalNum(s string) syscall.Signal {
-+ signalNameMapOnce.Do(func() {
-+ signalNameMap = make(map[string]syscall.Signal, len(signalList))
-+ for _, signal := range signalList {
-+ signalNameMap[signal.name] = signal.num
-+ }
-+ })
-+ return signalNameMap[s]
-+}
-+
-+// clen returns the index of the first NULL byte in n or len(n) if n contains no NULL byte.
-+func clen(n []byte) int {
-+ i := bytes.IndexByte(n, 0)
-+ if i == -1 {
-+ i = len(n)
-+ }
-+ return i
-+}
-+
- // Mmap manager, for use by operating system-specific implementations.
-
- type mmapper struct {
-@@ -138,16 +181,19 @@ func Write(fd int, p []byte) (n int, err error) {
- // creation of IPv6 sockets to return EAFNOSUPPORT.
- var SocketDisableIPv6 bool
-
-+// Sockaddr represents a socket address.
- type Sockaddr interface {
- sockaddr() (ptr unsafe.Pointer, len _Socklen, err error) // lowercase; only we can define Sockaddrs
- }
-
-+// SockaddrInet4 implements the Sockaddr interface for AF_INET type sockets.
- type SockaddrInet4 struct {
- Port int
- Addr [4]byte
- raw RawSockaddrInet4
- }
-
-+// SockaddrInet6 implements the Sockaddr interface for AF_INET6 type sockets.
- type SockaddrInet6 struct {
- Port int
- ZoneId uint32
-@@ -155,6 +201,7 @@ type SockaddrInet6 struct {
- raw RawSockaddrInet6
- }
-
-+// SockaddrUnix implements the Sockaddr interface for AF_UNIX type sockets.
- type SockaddrUnix struct {
- Name string
- raw RawSockaddrUnix
-@@ -182,7 +229,14 @@ func Getpeername(fd int) (sa Sockaddr, err error) {
- if err = getpeername(fd, &rsa, &len); err != nil {
- return
- }
-- return anyToSockaddr(&rsa)
-+ return anyToSockaddr(fd, &rsa)
-+}
-+
-+func GetsockoptByte(fd, level, opt int) (value byte, err error) {
-+ var n byte
-+ vallen := _Socklen(1)
-+ err = getsockopt(fd, level, opt, unsafe.Pointer(&n), &vallen)
-+ return n, err
- }
-
- func GetsockoptInt(fd, level, opt int) (value int, err error) {
-@@ -192,6 +246,61 @@ func GetsockoptInt(fd, level, opt int) (value int, err error) {
- return int(n), err
- }
-
-+func GetsockoptInet4Addr(fd, level, opt int) (value [4]byte, err error) {
-+ vallen := _Socklen(4)
-+ err = getsockopt(fd, level, opt, unsafe.Pointer(&value[0]), &vallen)
-+ return value, err
-+}
-+
-+func GetsockoptIPMreq(fd, level, opt int) (*IPMreq, error) {
-+ var value IPMreq
-+ vallen := _Socklen(SizeofIPMreq)
-+ err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
-+ return &value, err
-+}
-+
-+func GetsockoptIPv6Mreq(fd, level, opt int) (*IPv6Mreq, error) {
-+ var value IPv6Mreq
-+ vallen := _Socklen(SizeofIPv6Mreq)
-+ err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
-+ return &value, err
-+}
-+
-+func GetsockoptIPv6MTUInfo(fd, level, opt int) (*IPv6MTUInfo, error) {
-+ var value IPv6MTUInfo
-+ vallen := _Socklen(SizeofIPv6MTUInfo)
-+ err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
-+ return &value, err
-+}
-+
-+func GetsockoptICMPv6Filter(fd, level, opt int) (*ICMPv6Filter, error) {
-+ var value ICMPv6Filter
-+ vallen := _Socklen(SizeofICMPv6Filter)
-+ err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
-+ return &value, err
-+}
-+
-+func GetsockoptLinger(fd, level, opt int) (*Linger, error) {
-+ var linger Linger
-+ vallen := _Socklen(SizeofLinger)
-+ err := getsockopt(fd, level, opt, unsafe.Pointer(&linger), &vallen)
-+ return &linger, err
-+}
-+
-+func GetsockoptTimeval(fd, level, opt int) (*Timeval, error) {
-+ var tv Timeval
-+ vallen := _Socklen(unsafe.Sizeof(tv))
-+ err := getsockopt(fd, level, opt, unsafe.Pointer(&tv), &vallen)
-+ return &tv, err
-+}
-+
-+func GetsockoptUint64(fd, level, opt int) (value uint64, err error) {
-+ var n uint64
-+ vallen := _Socklen(8)
-+ err = getsockopt(fd, level, opt, unsafe.Pointer(&n), &vallen)
-+ return n, err
-+}
-+
- func Recvfrom(fd int, p []byte, flags int) (n int, from Sockaddr, err error) {
- var rsa RawSockaddrAny
- var len _Socklen = SizeofSockaddrAny
-@@ -199,7 +308,7 @@ func Recvfrom(fd int, p []byte, flags int) (n int, from Sockaddr, err error) {
- return
- }
- if rsa.Addr.Family != AF_UNSPEC {
-- from, err = anyToSockaddr(&rsa)
-+ from, err = anyToSockaddr(fd, &rsa)
- }
- return
- }
-@@ -242,13 +351,21 @@ func SetsockoptLinger(fd, level, opt int, l *Linger) (err error) {
- }
-
- func SetsockoptString(fd, level, opt int, s string) (err error) {
-- return setsockopt(fd, level, opt, unsafe.Pointer(&[]byte(s)[0]), uintptr(len(s)))
-+ var p unsafe.Pointer
-+ if len(s) > 0 {
-+ p = unsafe.Pointer(&[]byte(s)[0])
-+ }
-+ return setsockopt(fd, level, opt, p, uintptr(len(s)))
- }
-
- func SetsockoptTimeval(fd, level, opt int, tv *Timeval) (err error) {
- return setsockopt(fd, level, opt, unsafe.Pointer(tv), unsafe.Sizeof(*tv))
- }
-
-+func SetsockoptUint64(fd, level, opt int, value uint64) (err error) {
-+ return setsockopt(fd, level, opt, unsafe.Pointer(&value), 8)
-+}
-+
- func Socket(domain, typ, proto int) (fd int, err error) {
- if domain == AF_INET6 && SocketDisableIPv6 {
- return -1, EAFNOSUPPORT
-@@ -267,13 +384,6 @@ func Socketpair(domain, typ, proto int) (fd [2]int, err error) {
- return
- }
-
--func Sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
-- if raceenabled {
-- raceReleaseMerge(unsafe.Pointer(&ioSync))
-- }
-- return sendfile(outfd, infd, offset, count)
--}
--
- var ioSync int64
-
- func CloseOnExec(fd int) { fcntl(fd, F_SETFD, FD_CLOEXEC) }
-@@ -291,3 +401,31 @@ func SetNonblock(fd int, nonblocking bool) (err error) {
- _, err = fcntl(fd, F_SETFL, flag)
- return err
- }
-+
-+// Exec calls execve(2), which replaces the calling executable in the process
-+// tree. argv0 should be the full path to an executable ("/bin/ls") and the
-+// executable name should also be the first argument in argv (["ls", "-l"]).
-+// envv are the environment variables that should be passed to the new
-+// process (["USER=go", "PWD=/tmp"]).
-+func Exec(argv0 string, argv []string, envv []string) error {
-+ return syscall.Exec(argv0, argv, envv)
-+}
-+
-+// Lutimes sets the access and modification times tv on path. If path refers to
-+// a symlink, it is not dereferenced and the timestamps are set on the symlink.
-+// If tv is nil, the access and modification times are set to the current time.
-+// Otherwise tv must contain exactly 2 elements, with access time as the first
-+// element and modification time as the second element.
-+func Lutimes(path string, tv []Timeval) error {
-+ if tv == nil {
-+ return UtimesNanoAt(AT_FDCWD, path, nil, AT_SYMLINK_NOFOLLOW)
-+ }
-+ if len(tv) != 2 {
-+ return EINVAL
-+ }
-+ ts := []Timespec{
-+ NsecToTimespec(TimevalToNsec(tv[0])),
-+ NsecToTimespec(TimevalToNsec(tv[1])),
-+ }
-+ return UtimesNanoAt(AT_FDCWD, path, ts, AT_SYMLINK_NOFOLLOW)
-+}
-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 4cb8e8ed..1c70d1b6 100644
---- a/vendor/golang.org/x/sys/unix/syscall_unix_gc.go
-+++ b/vendor/golang.org/x/sys/unix/syscall_unix_gc.go
-@@ -3,7 +3,7 @@
- // license that can be found in the LICENSE file.
-
- // +build darwin dragonfly freebsd linux netbsd openbsd solaris
--// +build !gccgo
-+// +build !gccgo,!ppc64le,!ppc64
-
- package unix
-
-diff --git a/vendor/golang.org/x/sys/unix/syscall_unix_gc.go b/vendor/golang.org/x/sys/unix/syscall_unix_gc_ppc64x.go
-similarity index 51%
-copy from vendor/golang.org/x/sys/unix/syscall_unix_gc.go
-copy to vendor/golang.org/x/sys/unix/syscall_unix_gc_ppc64x.go
-index 4cb8e8ed..86dc765a 100644
---- a/vendor/golang.org/x/sys/unix/syscall_unix_gc.go
-+++ b/vendor/golang.org/x/sys/unix/syscall_unix_gc_ppc64x.go
-@@ -1,15 +1,24 @@
--// Copyright 2016 The Go Authors. All rights reserved.
-+// Copyright 2018 The Go Authors. All rights reserved.
- // Use of this source code is governed by a BSD-style
- // license that can be found in the LICENSE file.
-
--// +build darwin dragonfly freebsd linux netbsd openbsd solaris
-+// +build linux
-+// +build ppc64le ppc64
- // +build !gccgo
-
- package unix
-
- import "syscall"
-
--func Syscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err syscall.Errno)
--func Syscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno)
--func RawSyscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err syscall.Errno)
--func RawSyscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno)
-+func Syscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err syscall.Errno) {
-+ return syscall.Syscall(trap, a1, a2, a3)
-+}
-+func Syscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno) {
-+ return syscall.Syscall6(trap, a1, a2, a3, a4, a5, a6)
-+}
-+func RawSyscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err syscall.Errno) {
-+ return syscall.RawSyscall(trap, a1, a2, a3)
-+}
-+func RawSyscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno) {
-+ return syscall.RawSyscall6(trap, a1, a2, a3, a4, a5, a6)
-+}
-diff --git a/vendor/golang.org/x/sys/unix/timestruct.go b/vendor/golang.org/x/sys/unix/timestruct.go
-new file mode 100644
-index 00000000..4a672f56
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/timestruct.go
-@@ -0,0 +1,82 @@
-+// 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.
-+
-+// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
-+
-+package unix
-+
-+import "time"
-+
-+// TimespecToNsec converts a Timespec value into a number of
-+// nanoseconds since the Unix epoch.
-+func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
-+
-+// NsecToTimespec takes a number of nanoseconds since the Unix epoch
-+// and returns the corresponding Timespec value.
-+func NsecToTimespec(nsec int64) Timespec {
-+ sec := nsec / 1e9
-+ nsec = nsec % 1e9
-+ if nsec < 0 {
-+ nsec += 1e9
-+ sec--
-+ }
-+ return setTimespec(sec, nsec)
-+}
-+
-+// TimeToTimespec converts t into a Timespec.
-+// On some 32-bit systems the range of valid Timespec values are smaller
-+// than that of time.Time values. So if t is out of the valid range of
-+// Timespec, it returns a zero Timespec and ERANGE.
-+func TimeToTimespec(t time.Time) (Timespec, error) {
-+ sec := t.Unix()
-+ nsec := int64(t.Nanosecond())
-+ ts := setTimespec(sec, nsec)
-+
-+ // Currently all targets have either int32 or int64 for Timespec.Sec.
-+ // If there were a new target with floating point type for it, we have
-+ // to consider the rounding error.
-+ if int64(ts.Sec) != sec {
-+ return Timespec{}, ERANGE
-+ }
-+ return ts, nil
-+}
-+
-+// TimevalToNsec converts a Timeval value into a number of nanoseconds
-+// since the Unix epoch.
-+func TimevalToNsec(tv Timeval) int64 { return int64(tv.Sec)*1e9 + int64(tv.Usec)*1e3 }
-+
-+// NsecToTimeval takes a number of nanoseconds since the Unix epoch
-+// and returns the corresponding Timeval value.
-+func NsecToTimeval(nsec int64) Timeval {
-+ nsec += 999 // round up to microsecond
-+ usec := nsec % 1e9 / 1e3
-+ sec := nsec / 1e9
-+ if usec < 0 {
-+ usec += 1e6
-+ sec--
-+ }
-+ return setTimeval(sec, usec)
-+}
-+
-+// Unix returns ts as the number of seconds and nanoseconds elapsed since the
-+// Unix epoch.
-+func (ts *Timespec) Unix() (sec int64, nsec int64) {
-+ return int64(ts.Sec), int64(ts.Nsec)
-+}
-+
-+// Unix returns tv as the number of seconds and nanoseconds elapsed since the
-+// Unix epoch.
-+func (tv *Timeval) Unix() (sec int64, nsec int64) {
-+ return int64(tv.Sec), int64(tv.Usec) * 1000
-+}
-+
-+// Nano returns ts as the number of nanoseconds elapsed since the Unix epoch.
-+func (ts *Timespec) Nano() int64 {
-+ return int64(ts.Sec)*1e9 + int64(ts.Nsec)
-+}
-+
-+// Nano returns tv as the number of nanoseconds elapsed since the Unix epoch.
-+func (tv *Timeval) Nano() int64 {
-+ return int64(tv.Sec)*1e9 + int64(tv.Usec)*1000
-+}
-diff --git a/vendor/golang.org/x/sys/unix/types_netbsd.go b/vendor/golang.org/x/sys/unix/types_aix.go
-similarity index 53%
-copy from vendor/golang.org/x/sys/unix/types_netbsd.go
-copy to vendor/golang.org/x/sys/unix/types_aix.go
-index cb95c80a..40d2beed 100644
---- a/vendor/golang.org/x/sys/unix/types_netbsd.go
-+++ b/vendor/golang.org/x/sys/unix/types_aix.go
-@@ -1,11 +1,12 @@
--// Copyright 2009 The Go Authors. All rights reserved.
-+// Copyright 2018 The Go Authors. All rights reserved.
- // Use of this source code is governed by a BSD-style
- // license that can be found in the LICENSE file.
-
- // +build ignore
-+// +build aix
-
- /*
--Input to cgo -godefs. See README.md
-+Input to cgo -godefs. See also mkerrors.sh and mkall.sh
- */
-
- // +godefs map struct_in_addr [4]byte /* in_addr */
-@@ -14,44 +15,37 @@ Input to cgo -godefs. See README.md
- package unix
-
- /*
--#define KERNEL
--#include <dirent.h>
--#include <fcntl.h>
--#include <signal.h>
--#include <termios.h>
--#include <stdio.h>
--#include <unistd.h>
--#include <sys/param.h>
- #include <sys/types.h>
--#include <sys/event.h>
--#include <sys/mman.h>
--#include <sys/mount.h>
--#include <sys/ptrace.h>
--#include <sys/resource.h>
--#include <sys/select.h>
--#include <sys/signal.h>
--#include <sys/socket.h>
--#include <sys/stat.h>
--#include <sys/sysctl.h>
- #include <sys/time.h>
--#include <sys/uio.h>
-+#include <sys/limits.h>
- #include <sys/un.h>
--#include <sys/wait.h>
--#include <net/bpf.h>
-+#include <utime.h>
-+#include <sys/utsname.h>
-+#include <sys/poll.h>
-+#include <sys/resource.h>
-+#include <sys/stat.h>
-+#include <sys/statfs.h>
-+#include <sys/termio.h>
-+#include <sys/ioctl.h>
-+
-+#include <termios.h>
-+
- #include <net/if.h>
- #include <net/if_dl.h>
--#include <net/route.h>
- #include <netinet/in.h>
- #include <netinet/icmp6.h>
--#include <netinet/tcp.h>
-+
-+
-+#include <dirent.h>
-+#include <fcntl.h>
-
- enum {
- sizeofPtr = sizeof(void*),
- };
-
- union sockaddr_all {
-- struct sockaddr s1; // this one gets used for fields
-- struct sockaddr_in s2; // these pad it out
-+ struct sockaddr s1; // this one gets used for fields
-+ struct sockaddr_in s2; // these pad it out
- struct sockaddr_in6 s3;
- struct sockaddr_un s4;
- struct sockaddr_dl s5;
-@@ -65,14 +59,15 @@ struct sockaddr_any {
- */
- import "C"
-
--// Machine characteristics; for internal use.
-+// Machine characteristics
-
- const (
-- sizeofPtr = C.sizeofPtr
-- sizeofShort = C.sizeof_short
-- sizeofInt = C.sizeof_int
-- sizeofLong = C.sizeof_long
-- sizeofLongLong = C.sizeof_longlong
-+ SizeofPtr = C.sizeofPtr
-+ SizeofShort = C.sizeof_short
-+ SizeofInt = C.sizeof_int
-+ SizeofLong = C.sizeof_long
-+ SizeofLongLong = C.sizeof_longlong
-+ PathMax = C.PATH_MAX
- )
-
- // Basic types
-@@ -84,32 +79,50 @@ type (
- _C_long_long C.longlong
- )
-
-+type off64 C.off64_t
-+type off C.off_t
-+type Mode_t C.mode_t
-+
- // Time
-
- type Timespec C.struct_timespec
-
- type Timeval C.struct_timeval
-
-+type Timeval32 C.struct_timeval32
-+
-+type Timex C.struct_timex
-+
-+type Time_t C.time_t
-+
-+type Tms C.struct_tms
-+
-+type Utimbuf C.struct_utimbuf
-+
-+type Timezone C.struct_timezone
-+
- // Processes
-
- type Rusage C.struct_rusage
-
--type Rlimit C.struct_rlimit
-+type Rlimit C.struct_rlimit64
-+
-+type Pid_t C.pid_t
-
- type _Gid_t C.gid_t
-
-+type dev_t C.dev_t
-+
- // Files
-
- type Stat_t C.struct_stat
-
--type Statfs_t C.struct_statfs
-+type StatxTimestamp C.struct_statx_timestamp
-
--type Flock_t C.struct_flock
-+type Statx_t C.struct_statx
-
- type Dirent C.struct_dirent
-
--type Fsid C.fsid_t
--
- // Sockets
-
- type RawSockaddrInet4 C.struct_sockaddr_in
-@@ -126,7 +139,9 @@ type RawSockaddrAny C.struct_sockaddr_any
-
- type _Socklen C.socklen_t
-
--type Linger C.struct_linger
-+type Cmsghdr C.struct_cmsghdr
-+
-+type ICMPv6Filter C.struct_icmp6_filter
-
- type Iovec C.struct_iovec
-
-@@ -134,15 +149,11 @@ type IPMreq C.struct_ip_mreq
-
- type IPv6Mreq C.struct_ipv6_mreq
-
--type Msghdr C.struct_msghdr
--
--type Cmsghdr C.struct_cmsghdr
--
--type Inet6Pktinfo C.struct_in6_pktinfo
--
- type IPv6MTUInfo C.struct_ip6_mtuinfo
-
--type ICMPv6Filter C.struct_icmp6_filter
-+type Linger C.struct_linger
-+
-+type Msghdr C.struct_msghdr
-
- const (
- SizeofSockaddrInet4 = C.sizeof_struct_sockaddr_in
-@@ -153,87 +164,74 @@ const (
- SizeofLinger = C.sizeof_struct_linger
- SizeofIPMreq = C.sizeof_struct_ip_mreq
- SizeofIPv6Mreq = C.sizeof_struct_ipv6_mreq
-+ SizeofIPv6MTUInfo = C.sizeof_struct_ip6_mtuinfo
- SizeofMsghdr = C.sizeof_struct_msghdr
- SizeofCmsghdr = C.sizeof_struct_cmsghdr
-- SizeofInet6Pktinfo = C.sizeof_struct_in6_pktinfo
-- SizeofIPv6MTUInfo = C.sizeof_struct_ip6_mtuinfo
- SizeofICMPv6Filter = C.sizeof_struct_icmp6_filter
- )
-
--// Ptrace requests
-+// Routing and interface messages
-
- const (
-- PTRACE_TRACEME = C.PT_TRACE_ME
-- PTRACE_CONT = C.PT_CONTINUE
-- PTRACE_KILL = C.PT_KILL
-+ SizeofIfMsghdr = C.sizeof_struct_if_msghdr
- )
-
--// Events (kqueue, kevent)
--
--type Kevent_t C.struct_kevent
-+type IfMsgHdr C.struct_if_msghdr
-
--// Select
-+// Misc
-
- type FdSet C.fd_set
-
--// Routing and interface messages
-+type Utsname C.struct_utsname
-
--const (
-- SizeofIfMsghdr = C.sizeof_struct_if_msghdr
-- SizeofIfData = C.sizeof_struct_if_data
-- SizeofIfaMsghdr = C.sizeof_struct_ifa_msghdr
-- SizeofIfAnnounceMsghdr = C.sizeof_struct_if_announcemsghdr
-- SizeofRtMsghdr = C.sizeof_struct_rt_msghdr
-- SizeofRtMetrics = C.sizeof_struct_rt_metrics
--)
-+type Ustat_t C.struct_ustat
-
--type IfMsghdr C.struct_if_msghdr
-+type Sigset_t C.sigset_t
-
--type IfData C.struct_if_data
-+const (
-+ AT_FDCWD = C.AT_FDCWD
-+ AT_REMOVEDIR = C.AT_REMOVEDIR
-+ AT_SYMLINK_NOFOLLOW = C.AT_SYMLINK_NOFOLLOW
-+)
-
--type IfaMsghdr C.struct_ifa_msghdr
-+// Terminal handling
-
--type IfAnnounceMsghdr C.struct_if_announcemsghdr
-+type Termios C.struct_termios
-
--type RtMsghdr C.struct_rt_msghdr
-+type Termio C.struct_termio
-
--type RtMetrics C.struct_rt_metrics
-+type Winsize C.struct_winsize
-
--type Mclpool C.struct_mclpool
-+//poll
-
--// Berkeley packet filter
-+type PollFd struct {
-+ Fd int32
-+ Events uint16
-+ Revents uint16
-+}
-
- const (
-- SizeofBpfVersion = C.sizeof_struct_bpf_version
-- SizeofBpfStat = C.sizeof_struct_bpf_stat
-- SizeofBpfProgram = C.sizeof_struct_bpf_program
-- SizeofBpfInsn = C.sizeof_struct_bpf_insn
-- SizeofBpfHdr = C.sizeof_struct_bpf_hdr
-+ POLLERR = C.POLLERR
-+ POLLHUP = C.POLLHUP
-+ POLLIN = C.POLLIN
-+ POLLNVAL = C.POLLNVAL
-+ POLLOUT = C.POLLOUT
-+ POLLPRI = C.POLLPRI
-+ POLLRDBAND = C.POLLRDBAND
-+ POLLRDNORM = C.POLLRDNORM
-+ POLLWRBAND = C.POLLWRBAND
-+ POLLWRNORM = C.POLLWRNORM
- )
-
--type BpfVersion C.struct_bpf_version
--
--type BpfStat C.struct_bpf_stat
--
--type BpfProgram C.struct_bpf_program
--
--type BpfInsn C.struct_bpf_insn
--
--type BpfHdr C.struct_bpf_hdr
--
--type BpfTimeval C.struct_bpf_timeval
-+//flock_t
-
--// Terminal handling
--
--type Termios C.struct_termios
-+type Flock_t C.struct_flock64
-
--// fchmodat-like syscalls.
-+// Statfs
-
--const (
-- AT_FDCWD = C.AT_FDCWD
-- AT_SYMLINK_NOFOLLOW = C.AT_SYMLINK_NOFOLLOW
--)
-+type Fsid_t C.struct_fsid_t
-+type Fsid64_t C.struct_fsid64_t
-
--// Sysctl
-+type Statfs_t C.struct_statfs
-
--type Sysctlnode C.struct_sysctlnode
-+const RNDGETENTCNT = 0x80045200
-diff --git a/vendor/golang.org/x/sys/unix/types_darwin.go b/vendor/golang.org/x/sys/unix/types_darwin.go
-index 415124d4..155c2e69 100644
---- a/vendor/golang.org/x/sys/unix/types_darwin.go
-+++ b/vendor/golang.org/x/sys/unix/types_darwin.go
-@@ -19,6 +19,7 @@ package unix
- #define _DARWIN_USE_64_BIT_INODE
- #include <dirent.h>
- #include <fcntl.h>
-+#include <poll.h>
- #include <signal.h>
- #include <termios.h>
- #include <unistd.h>
-@@ -38,6 +39,7 @@ package unix
- #include <sys/types.h>
- #include <sys/uio.h>
- #include <sys/un.h>
-+#include <sys/utsname.h>
- #include <sys/wait.h>
- #include <net/bpf.h>
- #include <net/if.h>
-@@ -68,14 +70,14 @@ struct sockaddr_any {
- */
- import "C"
-
--// Machine characteristics; for internal use.
-+// Machine characteristics
-
- const (
-- sizeofPtr = C.sizeofPtr
-- sizeofShort = C.sizeof_short
-- sizeofInt = C.sizeof_int
-- sizeofLong = C.sizeof_long
-- sizeofLongLong = C.sizeof_longlong
-+ SizeofPtr = C.sizeofPtr
-+ SizeofShort = C.sizeof_short
-+ SizeofInt = C.sizeof_int
-+ SizeofLong = C.sizeof_long
-+ SizeofLongLong = C.sizeof_longlong
- )
-
- // Basic types
-@@ -252,3 +254,30 @@ const (
- AT_SYMLINK_FOLLOW = C.AT_SYMLINK_FOLLOW
- AT_SYMLINK_NOFOLLOW = C.AT_SYMLINK_NOFOLLOW
- )
-+
-+// poll
-+
-+type PollFd C.struct_pollfd
-+
-+const (
-+ POLLERR = C.POLLERR
-+ POLLHUP = C.POLLHUP
-+ POLLIN = C.POLLIN
-+ POLLNVAL = C.POLLNVAL
-+ POLLOUT = C.POLLOUT
-+ POLLPRI = C.POLLPRI
-+ POLLRDBAND = C.POLLRDBAND
-+ POLLRDNORM = C.POLLRDNORM
-+ POLLWRBAND = C.POLLWRBAND
-+ POLLWRNORM = C.POLLWRNORM
-+)
-+
-+// uname
-+
-+type Utsname C.struct_utsname
-+
-+// Clockinfo
-+
-+const SizeofClockinfo = C.sizeof_struct_clockinfo
-+
-+type Clockinfo C.struct_clockinfo
-diff --git a/vendor/golang.org/x/sys/unix/types_dragonfly.go b/vendor/golang.org/x/sys/unix/types_dragonfly.go
-index 80b27781..6574f6b6 100644
---- a/vendor/golang.org/x/sys/unix/types_dragonfly.go
-+++ b/vendor/golang.org/x/sys/unix/types_dragonfly.go
-@@ -17,6 +17,7 @@ package unix
- #define KERNEL
- #include <dirent.h>
- #include <fcntl.h>
-+#include <poll.h>
- #include <signal.h>
- #include <termios.h>
- #include <stdio.h>
-@@ -34,6 +35,7 @@ package unix
- #include <sys/time.h>
- #include <sys/types.h>
- #include <sys/un.h>
-+#include <sys/utsname.h>
- #include <sys/wait.h>
- #include <net/bpf.h>
- #include <net/if.h>
-@@ -63,14 +65,14 @@ struct sockaddr_any {
- */
- import "C"
-
--// Machine characteristics; for internal use.
-+// Machine characteristics
-
- const (
-- sizeofPtr = C.sizeofPtr
-- sizeofShort = C.sizeof_short
-- sizeofInt = C.sizeof_int
-- sizeofLong = C.sizeof_long
-- sizeofLongLong = C.sizeof_longlong
-+ SizeofPtr = C.sizeofPtr
-+ SizeofShort = C.sizeof_short
-+ SizeofInt = C.sizeof_int
-+ SizeofLong = C.sizeof_long
-+ SizeofLongLong = C.sizeof_longlong
- )
-
- // Basic types
-@@ -98,23 +100,6 @@ type _Gid_t C.gid_t
-
- // Files
-
--const ( // Directory mode bits
-- S_IFMT = C.S_IFMT
-- S_IFIFO = C.S_IFIFO
-- S_IFCHR = C.S_IFCHR
-- S_IFDIR = C.S_IFDIR
-- S_IFBLK = C.S_IFBLK
-- S_IFREG = C.S_IFREG
-- S_IFLNK = C.S_IFLNK
-- S_IFSOCK = C.S_IFSOCK
-- S_ISUID = C.S_ISUID
-- S_ISGID = C.S_ISGID
-- S_ISVTX = C.S_ISVTX
-- S_IRUSR = C.S_IRUSR
-- S_IWUSR = C.S_IWUSR
-- S_IXUSR = C.S_IXUSR
--)
--
- type Stat_t C.struct_stat
-
- type Statfs_t C.struct_statfs
-@@ -125,6 +110,12 @@ type Dirent C.struct_dirent
-
- type Fsid C.struct_fsid
-
-+// File system limits
-+
-+const (
-+ PathMax = C.PATH_MAX
-+)
-+
- // Sockets
-
- type RawSockaddrInet4 C.struct_sockaddr_in
-@@ -241,9 +232,38 @@ type BpfHdr C.struct_bpf_hdr
-
- type Termios C.struct_termios
-
-+type Winsize C.struct_winsize
-+
- // fchmodat-like syscalls.
-
- const (
- AT_FDCWD = C.AT_FDCWD
- AT_SYMLINK_NOFOLLOW = C.AT_SYMLINK_NOFOLLOW
- )
-+
-+// poll
-+
-+type PollFd C.struct_pollfd
-+
-+const (
-+ POLLERR = C.POLLERR
-+ POLLHUP = C.POLLHUP
-+ POLLIN = C.POLLIN
-+ POLLNVAL = C.POLLNVAL
-+ POLLOUT = C.POLLOUT
-+ POLLPRI = C.POLLPRI
-+ POLLRDBAND = C.POLLRDBAND
-+ POLLRDNORM = C.POLLRDNORM
-+ POLLWRBAND = C.POLLWRBAND
-+ POLLWRNORM = C.POLLWRNORM
-+)
-+
-+// Uname
-+
-+type Utsname C.struct_utsname
-+
-+// Clockinfo
-+
-+const SizeofClockinfo = C.sizeof_struct_clockinfo
-+
-+type Clockinfo C.struct_clockinfo
-diff --git a/vendor/golang.org/x/sys/unix/types_freebsd.go b/vendor/golang.org/x/sys/unix/types_freebsd.go
-index 934fd7ac..c6fde424 100644
---- a/vendor/golang.org/x/sys/unix/types_freebsd.go
-+++ b/vendor/golang.org/x/sys/unix/types_freebsd.go
-@@ -14,14 +14,19 @@ Input to cgo -godefs. See README.md
- package unix
-
- /*
--#define KERNEL
-+#define _WANT_FREEBSD11_STAT 1
-+#define _WANT_FREEBSD11_STATFS 1
-+#define _WANT_FREEBSD11_DIRENT 1
-+#define _WANT_FREEBSD11_KEVENT 1
-+
- #include <dirent.h>
- #include <fcntl.h>
-+#include <poll.h>
- #include <signal.h>
- #include <termios.h>
- #include <stdio.h>
- #include <unistd.h>
--#include <sys/capability.h>
-+#include <sys/capsicum.h>
- #include <sys/event.h>
- #include <sys/mman.h>
- #include <sys/mount.h>
-@@ -35,6 +40,7 @@ package unix
- #include <sys/time.h>
- #include <sys/types.h>
- #include <sys/un.h>
-+#include <sys/utsname.h>
- #include <sys/wait.h>
- #include <net/bpf.h>
- #include <net/if.h>
-@@ -61,50 +67,6 @@ struct sockaddr_any {
- char pad[sizeof(union sockaddr_all) - sizeof(struct sockaddr)];
- };
-
--// This structure is a duplicate of stat on FreeBSD 8-STABLE.
--// See /usr/include/sys/stat.h.
--struct stat8 {
--#undef st_atimespec st_atim
--#undef st_mtimespec st_mtim
--#undef st_ctimespec st_ctim
--#undef st_birthtimespec st_birthtim
-- __dev_t st_dev;
-- ino_t st_ino;
-- mode_t st_mode;
-- nlink_t st_nlink;
-- uid_t st_uid;
-- gid_t st_gid;
-- __dev_t st_rdev;
--#if __BSD_VISIBLE
-- struct timespec st_atimespec;
-- struct timespec st_mtimespec;
-- struct timespec st_ctimespec;
--#else
-- time_t st_atime;
-- long __st_atimensec;
-- time_t st_mtime;
-- long __st_mtimensec;
-- time_t st_ctime;
-- long __st_ctimensec;
--#endif
-- off_t st_size;
-- blkcnt_t st_blocks;
-- blksize_t st_blksize;
-- fflags_t st_flags;
-- __uint32_t st_gen;
-- __int32_t st_lspare;
--#if __BSD_VISIBLE
-- struct timespec st_birthtimespec;
-- unsigned int :(8 / 2) * (16 - (int)sizeof(struct timespec));
-- unsigned int :(8 / 2) * (16 - (int)sizeof(struct timespec));
--#else
-- time_t st_birthtime;
-- long st_birthtimensec;
-- unsigned int :(8 / 2) * (16 - (int)sizeof(struct __timespec));
-- unsigned int :(8 / 2) * (16 - (int)sizeof(struct __timespec));
--#endif
--};
--
- // This structure is a duplicate of if_data on FreeBSD 8-STABLE.
- // See /usr/include/net/if.h.
- struct if_data8 {
-@@ -152,14 +114,14 @@ struct if_msghdr8 {
- */
- import "C"
-
--// Machine characteristics; for internal use.
-+// Machine characteristics
-
- const (
-- sizeofPtr = C.sizeofPtr
-- sizeofShort = C.sizeof_short
-- sizeofInt = C.sizeof_int
-- sizeofLong = C.sizeof_long
-- sizeofLongLong = C.sizeof_longlong
-+ SizeofPtr = C.sizeofPtr
-+ SizeofShort = C.sizeof_short
-+ SizeofInt = C.sizeof_int
-+ SizeofLong = C.sizeof_long
-+ SizeofLongLong = C.sizeof_longlong
- )
-
- // Basic types
-@@ -187,33 +149,33 @@ type _Gid_t C.gid_t
-
- // Files
-
--const ( // Directory mode bits
-- S_IFMT = C.S_IFMT
-- S_IFIFO = C.S_IFIFO
-- S_IFCHR = C.S_IFCHR
-- S_IFDIR = C.S_IFDIR
-- S_IFBLK = C.S_IFBLK
-- S_IFREG = C.S_IFREG
-- S_IFLNK = C.S_IFLNK
-- S_IFSOCK = C.S_IFSOCK
-- S_ISUID = C.S_ISUID
-- S_ISGID = C.S_ISGID
-- S_ISVTX = C.S_ISVTX
-- S_IRUSR = C.S_IRUSR
-- S_IWUSR = C.S_IWUSR
-- S_IXUSR = C.S_IXUSR
-+const (
-+ _statfsVersion = C.STATFS_VERSION
-+ _dirblksiz = C.DIRBLKSIZ
- )
-
--type Stat_t C.struct_stat8
-+type Stat_t C.struct_stat
-+
-+type stat_freebsd11_t C.struct_freebsd11_stat
-
- type Statfs_t C.struct_statfs
-
-+type statfs_freebsd11_t C.struct_freebsd11_statfs
-+
- type Flock_t C.struct_flock
-
- type Dirent C.struct_dirent
-
-+type dirent_freebsd11 C.struct_freebsd11_dirent
-+
- type Fsid C.struct_fsid
-
-+// File system limits
-+
-+const (
-+ PathMax = C.PATH_MAX
-+)
-+
- // Advice to Fadvise
-
- const (
-@@ -281,14 +243,58 @@ const (
- // Ptrace requests
-
- const (
-- PTRACE_TRACEME = C.PT_TRACE_ME
-- PTRACE_CONT = C.PT_CONTINUE
-- PTRACE_KILL = C.PT_KILL
-+ PTRACE_ATTACH = C.PT_ATTACH
-+ PTRACE_CONT = C.PT_CONTINUE
-+ PTRACE_DETACH = C.PT_DETACH
-+ PTRACE_GETFPREGS = C.PT_GETFPREGS
-+ PTRACE_GETFSBASE = C.PT_GETFSBASE
-+ PTRACE_GETLWPLIST = C.PT_GETLWPLIST
-+ PTRACE_GETNUMLWPS = C.PT_GETNUMLWPS
-+ PTRACE_GETREGS = C.PT_GETREGS
-+ PTRACE_GETXSTATE = C.PT_GETXSTATE
-+ PTRACE_IO = C.PT_IO
-+ PTRACE_KILL = C.PT_KILL
-+ PTRACE_LWPEVENTS = C.PT_LWP_EVENTS
-+ PTRACE_LWPINFO = C.PT_LWPINFO
-+ PTRACE_SETFPREGS = C.PT_SETFPREGS
-+ PTRACE_SETREGS = C.PT_SETREGS
-+ PTRACE_SINGLESTEP = C.PT_STEP
-+ PTRACE_TRACEME = C.PT_TRACE_ME
-+)
-+
-+const (
-+ PIOD_READ_D = C.PIOD_READ_D
-+ PIOD_WRITE_D = C.PIOD_WRITE_D
-+ PIOD_READ_I = C.PIOD_READ_I
-+ PIOD_WRITE_I = C.PIOD_WRITE_I
-+)
-+
-+const (
-+ PL_FLAG_BORN = C.PL_FLAG_BORN
-+ PL_FLAG_EXITED = C.PL_FLAG_EXITED
-+ PL_FLAG_SI = C.PL_FLAG_SI
-+)
-+
-+const (
-+ TRAP_BRKPT = C.TRAP_BRKPT
-+ TRAP_TRACE = C.TRAP_TRACE
- )
-
-+type PtraceLwpInfoStruct C.struct_ptrace_lwpinfo
-+
-+type __Siginfo C.struct___siginfo
-+
-+type Sigset_t C.sigset_t
-+
-+type Reg C.struct_reg
-+
-+type FpReg C.struct_fpreg
-+
-+type PtraceIoDesc C.struct_ptrace_io_desc
-+
- // Events (kqueue, kevent)
-
--type Kevent_t C.struct_kevent
-+type Kevent_t C.struct_kevent_freebsd11
-
- // Select
-
-@@ -367,6 +373,34 @@ const (
- AT_SYMLINK_NOFOLLOW = C.AT_SYMLINK_NOFOLLOW
- )
-
-+// poll
-+
-+type PollFd C.struct_pollfd
-+
-+const (
-+ POLLERR = C.POLLERR
-+ POLLHUP = C.POLLHUP
-+ POLLIN = C.POLLIN
-+ POLLINIGNEOF = C.POLLINIGNEOF
-+ POLLNVAL = C.POLLNVAL
-+ POLLOUT = C.POLLOUT
-+ POLLPRI = C.POLLPRI
-+ POLLRDBAND = C.POLLRDBAND
-+ POLLRDNORM = C.POLLRDNORM
-+ POLLWRBAND = C.POLLWRBAND
-+ POLLWRNORM = C.POLLWRNORM
-+)
-+
- // Capabilities
-
- type CapRights C.struct_cap_rights
-+
-+// Uname
-+
-+type Utsname C.struct_utsname
-+
-+// Clockinfo
-+
-+const SizeofClockinfo = C.sizeof_struct_clockinfo
-+
-+type Clockinfo C.struct_clockinfo
-diff --git a/vendor/golang.org/x/sys/unix/types_netbsd.go b/vendor/golang.org/x/sys/unix/types_netbsd.go
-index cb95c80a..0a81aadb 100644
---- a/vendor/golang.org/x/sys/unix/types_netbsd.go
-+++ b/vendor/golang.org/x/sys/unix/types_netbsd.go
-@@ -17,6 +17,7 @@ package unix
- #define KERNEL
- #include <dirent.h>
- #include <fcntl.h>
-+#include <poll.h>
- #include <signal.h>
- #include <termios.h>
- #include <stdio.h>
-@@ -32,10 +33,12 @@ package unix
- #include <sys/signal.h>
- #include <sys/socket.h>
- #include <sys/stat.h>
-+#include <sys/statvfs.h>
- #include <sys/sysctl.h>
- #include <sys/time.h>
- #include <sys/uio.h>
- #include <sys/un.h>
-+#include <sys/utsname.h>
- #include <sys/wait.h>
- #include <net/bpf.h>
- #include <net/if.h>
-@@ -65,14 +68,14 @@ struct sockaddr_any {
- */
- import "C"
-
--// Machine characteristics; for internal use.
-+// Machine characteristics
-
- const (
-- sizeofPtr = C.sizeofPtr
-- sizeofShort = C.sizeof_short
-- sizeofInt = C.sizeof_int
-- sizeofLong = C.sizeof_long
-- sizeofLongLong = C.sizeof_longlong
-+ SizeofPtr = C.sizeofPtr
-+ SizeofShort = C.sizeof_short
-+ SizeofInt = C.sizeof_int
-+ SizeofLong = C.sizeof_long
-+ SizeofLongLong = C.sizeof_longlong
- )
-
- // Basic types
-@@ -104,12 +107,38 @@ type Stat_t C.struct_stat
-
- type Statfs_t C.struct_statfs
-
-+type Statvfs_t C.struct_statvfs
-+
- type Flock_t C.struct_flock
-
- type Dirent C.struct_dirent
-
- type Fsid C.fsid_t
-
-+// File system limits
-+
-+const (
-+ PathMax = C.PATH_MAX
-+)
-+
-+// Fstatvfs/Statvfs flags
-+
-+const (
-+ ST_WAIT = C.ST_WAIT
-+ ST_NOWAIT = C.ST_NOWAIT
-+)
-+
-+// Advice to Fadvise
-+
-+const (
-+ FADV_NORMAL = C.POSIX_FADV_NORMAL
-+ FADV_RANDOM = C.POSIX_FADV_RANDOM
-+ FADV_SEQUENTIAL = C.POSIX_FADV_SEQUENTIAL
-+ FADV_WILLNEED = C.POSIX_FADV_WILLNEED
-+ FADV_DONTNEED = C.POSIX_FADV_DONTNEED
-+ FADV_NOREUSE = C.POSIX_FADV_NOREUSE
-+)
-+
- // Sockets
-
- type RawSockaddrInet4 C.struct_sockaddr_in
-@@ -227,13 +256,45 @@ type BpfTimeval C.struct_bpf_timeval
-
- type Termios C.struct_termios
-
-+type Winsize C.struct_winsize
-+
-+type Ptmget C.struct_ptmget
-+
- // fchmodat-like syscalls.
-
- const (
- AT_FDCWD = C.AT_FDCWD
-+ AT_SYMLINK_FOLLOW = C.AT_SYMLINK_FOLLOW
- AT_SYMLINK_NOFOLLOW = C.AT_SYMLINK_NOFOLLOW
- )
-
-+// poll
-+
-+type PollFd C.struct_pollfd
-+
-+const (
-+ POLLERR = C.POLLERR
-+ POLLHUP = C.POLLHUP
-+ POLLIN = C.POLLIN
-+ POLLNVAL = C.POLLNVAL
-+ POLLOUT = C.POLLOUT
-+ POLLPRI = C.POLLPRI
-+ POLLRDBAND = C.POLLRDBAND
-+ POLLRDNORM = C.POLLRDNORM
-+ POLLWRBAND = C.POLLWRBAND
-+ POLLWRNORM = C.POLLWRNORM
-+)
-+
- // Sysctl
-
- type Sysctlnode C.struct_sysctlnode
-+
-+// Uname
-+
-+type Utsname C.struct_utsname
-+
-+// Clockinfo
-+
-+const SizeofClockinfo = C.sizeof_struct_clockinfo
-+
-+type Clockinfo C.struct_clockinfo
-diff --git a/vendor/golang.org/x/sys/unix/types_openbsd.go b/vendor/golang.org/x/sys/unix/types_openbsd.go
-index 392da69b..775cb57d 100644
---- a/vendor/golang.org/x/sys/unix/types_openbsd.go
-+++ b/vendor/golang.org/x/sys/unix/types_openbsd.go
-@@ -17,6 +17,7 @@ package unix
- #define KERNEL
- #include <dirent.h>
- #include <fcntl.h>
-+#include <poll.h>
- #include <signal.h>
- #include <termios.h>
- #include <stdio.h>
-@@ -35,7 +36,9 @@ package unix
- #include <sys/time.h>
- #include <sys/uio.h>
- #include <sys/un.h>
-+#include <sys/utsname.h>
- #include <sys/wait.h>
-+#include <uvm/uvmexp.h>
- #include <net/bpf.h>
- #include <net/if.h>
- #include <net/if_dl.h>
-@@ -64,14 +67,14 @@ struct sockaddr_any {
- */
- import "C"
-
--// Machine characteristics; for internal use.
-+// Machine characteristics
-
- const (
-- sizeofPtr = C.sizeofPtr
-- sizeofShort = C.sizeof_short
-- sizeofInt = C.sizeof_int
-- sizeofLong = C.sizeof_long
-- sizeofLongLong = C.sizeof_longlong
-+ SizeofPtr = C.sizeofPtr
-+ SizeofShort = C.sizeof_short
-+ SizeofInt = C.sizeof_int
-+ SizeofLong = C.sizeof_long
-+ SizeofLongLong = C.sizeof_longlong
- )
-
- // Basic types
-@@ -99,23 +102,6 @@ type _Gid_t C.gid_t
-
- // Files
-
--const ( // Directory mode bits
-- S_IFMT = C.S_IFMT
-- S_IFIFO = C.S_IFIFO
-- S_IFCHR = C.S_IFCHR
-- S_IFDIR = C.S_IFDIR
-- S_IFBLK = C.S_IFBLK
-- S_IFREG = C.S_IFREG
-- S_IFLNK = C.S_IFLNK
-- S_IFSOCK = C.S_IFSOCK
-- S_ISUID = C.S_ISUID
-- S_ISGID = C.S_ISGID
-- S_ISVTX = C.S_ISVTX
-- S_IRUSR = C.S_IRUSR
-- S_IWUSR = C.S_IWUSR
-- S_IXUSR = C.S_IXUSR
--)
--
- type Stat_t C.struct_stat
-
- type Statfs_t C.struct_statfs
-@@ -126,6 +112,12 @@ type Dirent C.struct_dirent
-
- type Fsid C.fsid_t
-
-+// File system limits
-+
-+const (
-+ PathMax = C.PATH_MAX
-+)
-+
- // Sockets
-
- type RawSockaddrInet4 C.struct_sockaddr_in
-@@ -243,9 +235,49 @@ type BpfTimeval C.struct_bpf_timeval
-
- type Termios C.struct_termios
-
-+type Winsize C.struct_winsize
-+
- // fchmodat-like syscalls.
-
- const (
- AT_FDCWD = C.AT_FDCWD
-+ AT_SYMLINK_FOLLOW = C.AT_SYMLINK_FOLLOW
- AT_SYMLINK_NOFOLLOW = C.AT_SYMLINK_NOFOLLOW
- )
-+
-+// poll
-+
-+type PollFd C.struct_pollfd
-+
-+const (
-+ POLLERR = C.POLLERR
-+ POLLHUP = C.POLLHUP
-+ POLLIN = C.POLLIN
-+ POLLNVAL = C.POLLNVAL
-+ POLLOUT = C.POLLOUT
-+ POLLPRI = C.POLLPRI
-+ POLLRDBAND = C.POLLRDBAND
-+ POLLRDNORM = C.POLLRDNORM
-+ POLLWRBAND = C.POLLWRBAND
-+ POLLWRNORM = C.POLLWRNORM
-+)
-+
-+// Signal Sets
-+
-+type Sigset_t C.sigset_t
-+
-+// Uname
-+
-+type Utsname C.struct_utsname
-+
-+// Uvmexp
-+
-+const SizeofUvmexp = C.sizeof_struct_uvmexp
-+
-+type Uvmexp C.struct_uvmexp
-+
-+// Clockinfo
-+
-+const SizeofClockinfo = C.sizeof_struct_clockinfo
-+
-+type Clockinfo C.struct_clockinfo
-diff --git a/vendor/golang.org/x/sys/unix/types_solaris.go b/vendor/golang.org/x/sys/unix/types_solaris.go
-index 393c7f04..d713f09e 100644
---- a/vendor/golang.org/x/sys/unix/types_solaris.go
-+++ b/vendor/golang.org/x/sys/unix/types_solaris.go
-@@ -24,6 +24,7 @@ package unix
- #include <fcntl.h>
- #include <netdb.h>
- #include <limits.h>
-+#include <poll.h>
- #include <signal.h>
- #include <termios.h>
- #include <termio.h>
-@@ -74,14 +75,14 @@ struct sockaddr_any {
- */
- import "C"
-
--// Machine characteristics; for internal use.
-+// Machine characteristics
-
- const (
-- sizeofPtr = C.sizeofPtr
-- sizeofShort = C.sizeof_short
-- sizeofInt = C.sizeof_int
-- sizeofLong = C.sizeof_long
-- sizeofLongLong = C.sizeof_longlong
-+ SizeofPtr = C.sizeofPtr
-+ SizeofShort = C.sizeof_short
-+ SizeofInt = C.sizeof_int
-+ SizeofLong = C.sizeof_long
-+ SizeofLongLong = C.sizeof_longlong
- PathMax = C.PATH_MAX
- MaxHostNameLen = C.MAXHOSTNAMELEN
- )
-@@ -117,23 +118,6 @@ type _Gid_t C.gid_t
-
- // Files
-
--const ( // Directory mode bits
-- S_IFMT = C.S_IFMT
-- S_IFIFO = C.S_IFIFO
-- S_IFCHR = C.S_IFCHR
-- S_IFDIR = C.S_IFDIR
-- S_IFBLK = C.S_IFBLK
-- S_IFREG = C.S_IFREG
-- S_IFLNK = C.S_IFLNK
-- S_IFSOCK = C.S_IFSOCK
-- S_ISUID = C.S_ISUID
-- S_ISGID = C.S_ISGID
-- S_ISVTX = C.S_ISVTX
-- S_IRUSR = C.S_IRUSR
-- S_IWUSR = C.S_IWUSR
-- S_IXUSR = C.S_IXUSR
--)
--
- type Stat_t C.struct_stat
-
- type Flock_t C.struct_flock
-@@ -174,6 +158,8 @@ type Msghdr C.struct_msghdr
-
- type Cmsghdr C.struct_cmsghdr
-
-+type Inet4Pktinfo C.struct_in_pktinfo
-+
- type Inet6Pktinfo C.struct_in6_pktinfo
-
- type IPv6MTUInfo C.struct_ip6_mtuinfo
-@@ -191,6 +177,7 @@ const (
- SizeofIPv6Mreq = C.sizeof_struct_ipv6_mreq
- SizeofMsghdr = C.sizeof_struct_msghdr
- SizeofCmsghdr = C.sizeof_struct_cmsghdr
-+ SizeofInet4Pktinfo = C.sizeof_struct_in_pktinfo
- SizeofInet6Pktinfo = C.sizeof_struct_in6_pktinfo
- SizeofIPv6MTUInfo = C.sizeof_struct_ip6_mtuinfo
- SizeofICMPv6Filter = C.sizeof_struct_icmp6_filter
-@@ -256,10 +243,6 @@ type BpfTimeval C.struct_bpf_timeval
-
- type BpfHdr C.struct_bpf_hdr
-
--// sysconf information
--
--const _SC_PAGESIZE = C._SC_PAGESIZE
--
- // Terminal handling
-
- type Termios C.struct_termios
-@@ -267,3 +250,20 @@ type Termios C.struct_termios
- type Termio C.struct_termio
-
- type Winsize C.struct_winsize
-+
-+// poll
-+
-+type PollFd C.struct_pollfd
-+
-+const (
-+ POLLERR = C.POLLERR
-+ POLLHUP = C.POLLHUP
-+ POLLIN = C.POLLIN
-+ POLLNVAL = C.POLLNVAL
-+ POLLOUT = C.POLLOUT
-+ POLLPRI = C.POLLPRI
-+ POLLRDBAND = C.POLLRDBAND
-+ POLLRDNORM = C.POLLRDNORM
-+ POLLWRBAND = C.POLLWRBAND
-+ POLLWRNORM = C.POLLWRNORM
-+)
-diff --git a/vendor/golang.org/x/sys/unix/unveil_openbsd.go b/vendor/golang.org/x/sys/unix/unveil_openbsd.go
-new file mode 100644
-index 00000000..168d5ae7
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/unveil_openbsd.go
-@@ -0,0 +1,42 @@
-+// Copyright 2018 The Go Authors. All rights reserved.
-+// Use of this source code is governed by a BSD-style
-+// license that can be found in the LICENSE file.
-+
-+package unix
-+
-+import (
-+ "syscall"
-+ "unsafe"
-+)
-+
-+// Unveil implements the unveil syscall.
-+// For more information see unveil(2).
-+// Note that the special case of blocking further
-+// unveil calls is handled by UnveilBlock.
-+func Unveil(path string, flags string) error {
-+ pathPtr, err := syscall.BytePtrFromString(path)
-+ if err != nil {
-+ return err
-+ }
-+ flagsPtr, err := syscall.BytePtrFromString(flags)
-+ if err != nil {
-+ return err
-+ }
-+ _, _, e := syscall.Syscall(SYS_UNVEIL, uintptr(unsafe.Pointer(pathPtr)), uintptr(unsafe.Pointer(flagsPtr)), 0)
-+ if e != 0 {
-+ return e
-+ }
-+ return nil
-+}
-+
-+// UnveilBlock blocks future unveil calls.
-+// For more information see unveil(2).
-+func UnveilBlock() error {
-+ // Both pointers must be nil.
-+ var pathUnsafe, flagsUnsafe unsafe.Pointer
-+ _, _, e := syscall.Syscall(SYS_UNVEIL, uintptr(pathUnsafe), uintptr(flagsUnsafe), 0)
-+ if e != 0 {
-+ return e
-+ }
-+ return nil
-+}
-diff --git a/vendor/golang.org/x/sys/unix/xattr_bsd.go b/vendor/golang.org/x/sys/unix/xattr_bsd.go
-new file mode 100644
-index 00000000..30c1d71f
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/xattr_bsd.go
-@@ -0,0 +1,240 @@
-+// Copyright 2018 The Go Authors. All rights reserved.
-+// Use of this source code is governed by a BSD-style
-+// license that can be found in the LICENSE file.
-+
-+// +build freebsd netbsd
-+
-+package unix
-+
-+import (
-+ "strings"
-+ "unsafe"
-+)
-+
-+// Derive extattr namespace and attribute name
-+
-+func xattrnamespace(fullattr string) (ns int, attr string, err error) {
-+ s := strings.IndexByte(fullattr, '.')
-+ if s == -1 {
-+ return -1, "", ENOATTR
-+ }
-+
-+ namespace := fullattr[0:s]
-+ attr = fullattr[s+1:]
-+
-+ switch namespace {
-+ case "user":
-+ return EXTATTR_NAMESPACE_USER, attr, nil
-+ case "system":
-+ return EXTATTR_NAMESPACE_SYSTEM, attr, nil
-+ default:
-+ return -1, "", ENOATTR
-+ }
-+}
-+
-+func initxattrdest(dest []byte, idx int) (d unsafe.Pointer) {
-+ if len(dest) > idx {
-+ return unsafe.Pointer(&dest[idx])
-+ } else {
-+ return unsafe.Pointer(_zero)
-+ }
-+}
-+
-+// FreeBSD and NetBSD implement their own syscalls to handle extended attributes
-+
-+func Getxattr(file string, attr string, dest []byte) (sz int, err error) {
-+ d := initxattrdest(dest, 0)
-+ destsize := len(dest)
-+
-+ nsid, a, err := xattrnamespace(attr)
-+ if err != nil {
-+ return -1, err
-+ }
-+
-+ return ExtattrGetFile(file, nsid, a, uintptr(d), destsize)
-+}
-+
-+func Fgetxattr(fd int, attr string, dest []byte) (sz int, err error) {
-+ d := initxattrdest(dest, 0)
-+ destsize := len(dest)
-+
-+ nsid, a, err := xattrnamespace(attr)
-+ if err != nil {
-+ return -1, err
-+ }
-+
-+ return ExtattrGetFd(fd, nsid, a, uintptr(d), destsize)
-+}
-+
-+func Lgetxattr(link string, attr string, dest []byte) (sz int, err error) {
-+ d := initxattrdest(dest, 0)
-+ destsize := len(dest)
-+
-+ nsid, a, err := xattrnamespace(attr)
-+ if err != nil {
-+ return -1, err
-+ }
-+
-+ return ExtattrGetLink(link, nsid, a, uintptr(d), destsize)
-+}
-+
-+// flags are unused on FreeBSD
-+
-+func Fsetxattr(fd int, attr string, data []byte, flags int) (err error) {
-+ var d unsafe.Pointer
-+ if len(data) > 0 {
-+ d = unsafe.Pointer(&data[0])
-+ }
-+ datasiz := len(data)
-+
-+ nsid, a, err := xattrnamespace(attr)
-+ if err != nil {
-+ return
-+ }
-+
-+ _, err = ExtattrSetFd(fd, nsid, a, uintptr(d), datasiz)
-+ return
-+}
-+
-+func Setxattr(file string, attr string, data []byte, flags int) (err error) {
-+ var d unsafe.Pointer
-+ if len(data) > 0 {
-+ d = unsafe.Pointer(&data[0])
-+ }
-+ datasiz := len(data)
-+
-+ nsid, a, err := xattrnamespace(attr)
-+ if err != nil {
-+ return
-+ }
-+
-+ _, err = ExtattrSetFile(file, nsid, a, uintptr(d), datasiz)
-+ return
-+}
-+
-+func Lsetxattr(link string, attr string, data []byte, flags int) (err error) {
-+ var d unsafe.Pointer
-+ if len(data) > 0 {
-+ d = unsafe.Pointer(&data[0])
-+ }
-+ datasiz := len(data)
-+
-+ nsid, a, err := xattrnamespace(attr)
-+ if err != nil {
-+ return
-+ }
-+
-+ _, err = ExtattrSetLink(link, nsid, a, uintptr(d), datasiz)
-+ return
-+}
-+
-+func Removexattr(file string, attr string) (err error) {
-+ nsid, a, err := xattrnamespace(attr)
-+ if err != nil {
-+ return
-+ }
-+
-+ err = ExtattrDeleteFile(file, nsid, a)
-+ return
-+}
-+
-+func Fremovexattr(fd int, attr string) (err error) {
-+ nsid, a, err := xattrnamespace(attr)
-+ if err != nil {
-+ return
-+ }
-+
-+ err = ExtattrDeleteFd(fd, nsid, a)
-+ return
-+}
-+
-+func Lremovexattr(link string, attr string) (err error) {
-+ nsid, a, err := xattrnamespace(attr)
-+ if err != nil {
-+ return
-+ }
-+
-+ err = ExtattrDeleteLink(link, nsid, a)
-+ return
-+}
-+
-+func Listxattr(file string, dest []byte) (sz int, err error) {
-+ d := initxattrdest(dest, 0)
-+ destsiz := len(dest)
-+
-+ // FreeBSD won't allow you to list xattrs from multiple namespaces
-+ s := 0
-+ for _, nsid := range [...]int{EXTATTR_NAMESPACE_USER, EXTATTR_NAMESPACE_SYSTEM} {
-+ stmp, e := ExtattrListFile(file, nsid, uintptr(d), destsiz)
-+
-+ /* Errors accessing system attrs are ignored so that
-+ * we can implement the Linux-like behavior of omitting errors that
-+ * we don't have read permissions on
-+ *
-+ * Linux will still error if we ask for user attributes on a file that
-+ * we don't have read permissions on, so don't ignore those errors
-+ */
-+ if e != nil && e == EPERM && nsid != EXTATTR_NAMESPACE_USER {
-+ continue
-+ } else if e != nil {
-+ return s, e
-+ }
-+
-+ s += stmp
-+ destsiz -= s
-+ if destsiz < 0 {
-+ destsiz = 0
-+ }
-+ d = initxattrdest(dest, s)
-+ }
-+
-+ return s, nil
-+}
-+
-+func Flistxattr(fd int, dest []byte) (sz int, err error) {
-+ d := initxattrdest(dest, 0)
-+ destsiz := len(dest)
-+
-+ s := 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 {
-+ return s, e
-+ }
-+
-+ s += stmp
-+ destsiz -= s
-+ if destsiz < 0 {
-+ destsiz = 0
-+ }
-+ d = initxattrdest(dest, s)
-+ }
-+
-+ return s, nil
-+}
-+
-+func Llistxattr(link string, dest []byte) (sz int, err error) {
-+ d := initxattrdest(dest, 0)
-+ destsiz := len(dest)
-+
-+ s := 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 {
-+ return s, e
-+ }
-+
-+ s += stmp
-+ destsiz -= s
-+ if destsiz < 0 {
-+ destsiz = 0
-+ }
-+ d = initxattrdest(dest, s)
-+ }
-+
-+ return s, nil
-+}
-diff --git a/vendor/golang.org/x/sys/unix/zerrors_aix_ppc.go b/vendor/golang.org/x/sys/unix/zerrors_aix_ppc.go
-new file mode 100644
-index 00000000..104994bc
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/zerrors_aix_ppc.go
-@@ -0,0 +1,1384 @@
-+// mkerrors.sh -maix32
-+// Code generated by the command above; see README.md. DO NOT EDIT.
-+
-+// +build ppc,aix
-+
-+// Created by cgo -godefs - DO NOT EDIT
-+// cgo -godefs -- -maix32 _const.go
-+
-+package unix
-+
-+import "syscall"
-+
-+const (
-+ AF_APPLETALK = 0x10
-+ AF_BYPASS = 0x19
-+ AF_CCITT = 0xa
-+ AF_CHAOS = 0x5
-+ AF_DATAKIT = 0x9
-+ AF_DECnet = 0xc
-+ AF_DLI = 0xd
-+ AF_ECMA = 0x8
-+ AF_HYLINK = 0xf
-+ AF_IMPLINK = 0x3
-+ AF_INET = 0x2
-+ AF_INET6 = 0x18
-+ AF_INTF = 0x14
-+ AF_ISO = 0x7
-+ AF_LAT = 0xe
-+ AF_LINK = 0x12
-+ AF_LOCAL = 0x1
-+ AF_MAX = 0x1e
-+ AF_NDD = 0x17
-+ AF_NETWARE = 0x16
-+ AF_NS = 0x6
-+ AF_OSI = 0x7
-+ AF_PUP = 0x4
-+ AF_RIF = 0x15
-+ AF_ROUTE = 0x11
-+ AF_SNA = 0xb
-+ AF_UNIX = 0x1
-+ AF_UNSPEC = 0x0
-+ ALTWERASE = 0x400000
-+ ARPHRD_802_3 = 0x6
-+ ARPHRD_802_5 = 0x6
-+ ARPHRD_ETHER = 0x1
-+ ARPHRD_FDDI = 0x1
-+ B0 = 0x0
-+ B110 = 0x3
-+ B1200 = 0x9
-+ B134 = 0x4
-+ B150 = 0x5
-+ B1800 = 0xa
-+ B19200 = 0xe
-+ B200 = 0x6
-+ B2400 = 0xb
-+ B300 = 0x7
-+ B38400 = 0xf
-+ B4800 = 0xc
-+ B50 = 0x1
-+ B600 = 0x8
-+ B75 = 0x2
-+ B9600 = 0xd
-+ BRKINT = 0x2
-+ BS0 = 0x0
-+ BS1 = 0x1000
-+ BSDLY = 0x1000
-+ CAP_AACCT = 0x6
-+ CAP_ARM_APPLICATION = 0x5
-+ CAP_BYPASS_RAC_VMM = 0x3
-+ CAP_CLEAR = 0x0
-+ CAP_CREDENTIALS = 0x7
-+ CAP_EFFECTIVE = 0x1
-+ CAP_EWLM_AGENT = 0x4
-+ CAP_INHERITABLE = 0x2
-+ CAP_MAXIMUM = 0x7
-+ CAP_NUMA_ATTACH = 0x2
-+ CAP_PERMITTED = 0x3
-+ CAP_PROPAGATE = 0x1
-+ CAP_PROPOGATE = 0x1
-+ CAP_SET = 0x1
-+ CBAUD = 0xf
-+ CFLUSH = 0xf
-+ CIBAUD = 0xf0000
-+ CLOCAL = 0x800
-+ CLOCK_MONOTONIC = 0xa
-+ CLOCK_PROCESS_CPUTIME_ID = 0xb
-+ CLOCK_REALTIME = 0x9
-+ CLOCK_THREAD_CPUTIME_ID = 0xc
-+ CR0 = 0x0
-+ CR1 = 0x100
-+ CR2 = 0x200
-+ CR3 = 0x300
-+ CRDLY = 0x300
-+ CREAD = 0x80
-+ CS5 = 0x0
-+ CS6 = 0x10
-+ CS7 = 0x20
-+ CS8 = 0x30
-+ CSIOCGIFCONF = -0x3ff796dc
-+ CSIZE = 0x30
-+ CSMAP_DIR = "/usr/lib/nls/csmap/"
-+ CSTART = '\021'
-+ CSTOP = '\023'
-+ CSTOPB = 0x40
-+ CSUSP = 0x1a
-+ ECHO = 0x8
-+ ECHOCTL = 0x20000
-+ ECHOE = 0x10
-+ ECHOK = 0x20
-+ ECHOKE = 0x80000
-+ ECHONL = 0x40
-+ ECHOPRT = 0x40000
-+ ECH_ICMPID = 0x2
-+ ETHERNET_CSMACD = 0x6
-+ EVENP = 0x80
-+ EXCONTINUE = 0x0
-+ EXDLOK = 0x3
-+ EXIO = 0x2
-+ EXPGIO = 0x0
-+ EXRESUME = 0x2
-+ EXRETURN = 0x1
-+ EXSIG = 0x4
-+ EXTA = 0xe
-+ EXTB = 0xf
-+ EXTRAP = 0x1
-+ EYEC_RTENTRYA = 0x257274656e747241
-+ EYEC_RTENTRYF = 0x257274656e747246
-+ E_ACC = 0x0
-+ FD_CLOEXEC = 0x1
-+ FD_SETSIZE = 0xfffe
-+ FF0 = 0x0
-+ FF1 = 0x2000
-+ FFDLY = 0x2000
-+ FLUSHBAND = 0x40
-+ FLUSHLOW = 0x8
-+ FLUSHO = 0x100000
-+ FLUSHR = 0x1
-+ FLUSHRW = 0x3
-+ FLUSHW = 0x2
-+ F_CLOSEM = 0xa
-+ F_DUP2FD = 0xe
-+ F_DUPFD = 0x0
-+ F_GETFD = 0x1
-+ F_GETFL = 0x3
-+ F_GETLK = 0x5
-+ F_GETLK64 = 0xb
-+ F_GETOWN = 0x8
-+ F_LOCK = 0x1
-+ F_OK = 0x0
-+ F_RDLCK = 0x1
-+ F_SETFD = 0x2
-+ F_SETFL = 0x4
-+ F_SETLK = 0x6
-+ F_SETLK64 = 0xc
-+ F_SETLKW = 0x7
-+ F_SETLKW64 = 0xd
-+ F_SETOWN = 0x9
-+ F_TEST = 0x3
-+ F_TLOCK = 0x2
-+ F_TSTLK = 0xf
-+ F_ULOCK = 0x0
-+ F_UNLCK = 0x3
-+ F_WRLCK = 0x2
-+ HUPCL = 0x400
-+ IBSHIFT = 0x10
-+ ICANON = 0x2
-+ ICMP6_FILTER = 0x26
-+ ICMP6_SEC_SEND_DEL = 0x46
-+ ICMP6_SEC_SEND_GET = 0x47
-+ ICMP6_SEC_SEND_SET = 0x44
-+ ICMP6_SEC_SEND_SET_CGA_ADDR = 0x45
-+ ICRNL = 0x100
-+ IEXTEN = 0x200000
-+ IFA_FIRSTALIAS = 0x2000
-+ IFA_ROUTE = 0x1
-+ IFF_64BIT = 0x4000000
-+ IFF_ALLCAST = 0x20000
-+ IFF_ALLMULTI = 0x200
-+ IFF_BPF = 0x8000000
-+ IFF_BRIDGE = 0x40000
-+ IFF_BROADCAST = 0x2
-+ IFF_CANTCHANGE = 0x80c52
-+ IFF_CHECKSUM_OFFLOAD = 0x10000000
-+ IFF_D1 = 0x8000
-+ IFF_D2 = 0x4000
-+ IFF_D3 = 0x2000
-+ IFF_D4 = 0x1000
-+ IFF_DEBUG = 0x4
-+ IFF_DEVHEALTH = 0x4000
-+ IFF_DO_HW_LOOPBACK = 0x10000
-+ IFF_GROUP_ROUTING = 0x2000000
-+ IFF_IFBUFMGT = 0x800000
-+ IFF_LINK0 = 0x100000
-+ IFF_LINK1 = 0x200000
-+ IFF_LINK2 = 0x400000
-+ IFF_LOOPBACK = 0x8
-+ IFF_MULTICAST = 0x80000
-+ IFF_NOARP = 0x80
-+ IFF_NOECHO = 0x800
-+ IFF_NOTRAILERS = 0x20
-+ IFF_OACTIVE = 0x400
-+ IFF_POINTOPOINT = 0x10
-+ IFF_PROMISC = 0x100
-+ IFF_PSEG = 0x40000000
-+ IFF_RUNNING = 0x40
-+ IFF_SIMPLEX = 0x800
-+ IFF_SNAP = 0x8000
-+ IFF_TCP_DISABLE_CKSUM = 0x20000000
-+ IFF_TCP_NOCKSUM = 0x1000000
-+ IFF_UP = 0x1
-+ IFF_VIPA = 0x80000000
-+ IFNAMSIZ = 0x10
-+ IFO_FLUSH = 0x1
-+ IFT_1822 = 0x2
-+ IFT_AAL5 = 0x31
-+ IFT_ARCNET = 0x23
-+ IFT_ARCNETPLUS = 0x24
-+ IFT_ATM = 0x25
-+ IFT_CEPT = 0x13
-+ IFT_CLUSTER = 0x3e
-+ IFT_DS3 = 0x1e
-+ IFT_EON = 0x19
-+ IFT_ETHER = 0x6
-+ IFT_FCS = 0x3a
-+ IFT_FDDI = 0xf
-+ IFT_FRELAY = 0x20
-+ IFT_FRELAYDCE = 0x2c
-+ IFT_GIFTUNNEL = 0x3c
-+ IFT_HDH1822 = 0x3
-+ IFT_HF = 0x3d
-+ IFT_HIPPI = 0x2f
-+ IFT_HSSI = 0x2e
-+ IFT_HY = 0xe
-+ IFT_IB = 0xc7
-+ IFT_ISDNBASIC = 0x14
-+ IFT_ISDNPRIMARY = 0x15
-+ IFT_ISO88022LLC = 0x29
-+ IFT_ISO88023 = 0x7
-+ IFT_ISO88024 = 0x8
-+ IFT_ISO88025 = 0x9
-+ IFT_ISO88026 = 0xa
-+ IFT_LAPB = 0x10
-+ IFT_LOCALTALK = 0x2a
-+ IFT_LOOP = 0x18
-+ IFT_MIOX25 = 0x26
-+ IFT_MODEM = 0x30
-+ IFT_NSIP = 0x1b
-+ IFT_OTHER = 0x1
-+ IFT_P10 = 0xc
-+ IFT_P80 = 0xd
-+ IFT_PARA = 0x22
-+ IFT_PPP = 0x17
-+ IFT_PROPMUX = 0x36
-+ IFT_PROPVIRTUAL = 0x35
-+ IFT_PTPSERIAL = 0x16
-+ IFT_RS232 = 0x21
-+ IFT_SDLC = 0x11
-+ IFT_SIP = 0x1f
-+ IFT_SLIP = 0x1c
-+ IFT_SMDSDXI = 0x2b
-+ IFT_SMDSICIP = 0x34
-+ IFT_SN = 0x38
-+ IFT_SONET = 0x27
-+ IFT_SONETPATH = 0x32
-+ IFT_SONETVT = 0x33
-+ IFT_SP = 0x39
-+ IFT_STARLAN = 0xb
-+ IFT_T1 = 0x12
-+ IFT_TUNNEL = 0x3b
-+ IFT_ULTRA = 0x1d
-+ IFT_V35 = 0x2d
-+ IFT_VIPA = 0x37
-+ IFT_X25 = 0x5
-+ IFT_X25DDN = 0x4
-+ IFT_X25PLE = 0x28
-+ IFT_XETHER = 0x1a
-+ IGNBRK = 0x1
-+ IGNCR = 0x80
-+ IGNPAR = 0x4
-+ IMAXBEL = 0x10000
-+ 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_USE = 0x1
-+ IPPROTO_AH = 0x33
-+ IPPROTO_BIP = 0x53
-+ IPPROTO_DSTOPTS = 0x3c
-+ IPPROTO_EGP = 0x8
-+ IPPROTO_EON = 0x50
-+ IPPROTO_ESP = 0x32
-+ IPPROTO_FRAGMENT = 0x2c
-+ IPPROTO_GGP = 0x3
-+ IPPROTO_GIF = 0x8c
-+ IPPROTO_GRE = 0x2f
-+ IPPROTO_HOPOPTS = 0x0
-+ IPPROTO_ICMP = 0x1
-+ IPPROTO_ICMPV6 = 0x3a
-+ IPPROTO_IDP = 0x16
-+ IPPROTO_IGMP = 0x2
-+ IPPROTO_IP = 0x0
-+ IPPROTO_IPIP = 0x4
-+ IPPROTO_IPV6 = 0x29
-+ IPPROTO_LOCAL = 0x3f
-+ IPPROTO_MAX = 0x100
-+ IPPROTO_MH = 0x87
-+ IPPROTO_NONE = 0x3b
-+ IPPROTO_PUP = 0xc
-+ IPPROTO_QOS = 0x2d
-+ IPPROTO_RAW = 0xff
-+ IPPROTO_ROUTING = 0x2b
-+ IPPROTO_RSVP = 0x2e
-+ IPPROTO_SCTP = 0x84
-+ IPPROTO_TCP = 0x6
-+ IPPROTO_TP = 0x1d
-+ IPPROTO_UDP = 0x11
-+ IPV6_ADDRFORM = 0x16
-+ IPV6_ADDR_PREFERENCES = 0x4a
-+ IPV6_ADD_MEMBERSHIP = 0xc
-+ IPV6_AIXRAWSOCKET = 0x39
-+ IPV6_CHECKSUM = 0x27
-+ IPV6_DONTFRAG = 0x2d
-+ IPV6_DROP_MEMBERSHIP = 0xd
-+ IPV6_DSTOPTS = 0x36
-+ IPV6_FLOWINFO_FLOWLABEL = 0xffffff
-+ IPV6_FLOWINFO_PRIFLOW = 0xfffffff
-+ IPV6_FLOWINFO_PRIORITY = 0xf000000
-+ IPV6_FLOWINFO_SRFLAG = 0x10000000
-+ IPV6_FLOWINFO_VERSION = 0xf0000000
-+ IPV6_HOPLIMIT = 0x28
-+ IPV6_HOPOPTS = 0x34
-+ IPV6_JOIN_GROUP = 0xc
-+ IPV6_LEAVE_GROUP = 0xd
-+ IPV6_MIPDSTOPTS = 0x36
-+ IPV6_MULTICAST_HOPS = 0xa
-+ IPV6_MULTICAST_IF = 0x9
-+ IPV6_MULTICAST_LOOP = 0xb
-+ IPV6_NEXTHOP = 0x30
-+ IPV6_NOPROBE = 0x1c
-+ IPV6_PATHMTU = 0x2e
-+ IPV6_PKTINFO = 0x21
-+ IPV6_PKTOPTIONS = 0x24
-+ IPV6_PRIORITY_10 = 0xa000000
-+ IPV6_PRIORITY_11 = 0xb000000
-+ IPV6_PRIORITY_12 = 0xc000000
-+ IPV6_PRIORITY_13 = 0xd000000
-+ IPV6_PRIORITY_14 = 0xe000000
-+ IPV6_PRIORITY_15 = 0xf000000
-+ IPV6_PRIORITY_8 = 0x8000000
-+ IPV6_PRIORITY_9 = 0x9000000
-+ IPV6_PRIORITY_BULK = 0x4000000
-+ IPV6_PRIORITY_CONTROL = 0x7000000
-+ IPV6_PRIORITY_FILLER = 0x1000000
-+ IPV6_PRIORITY_INTERACTIVE = 0x6000000
-+ IPV6_PRIORITY_RESERVED1 = 0x3000000
-+ IPV6_PRIORITY_RESERVED2 = 0x5000000
-+ IPV6_PRIORITY_UNATTENDED = 0x2000000
-+ IPV6_PRIORITY_UNCHARACTERIZED = 0x0
-+ IPV6_RECVDSTOPTS = 0x38
-+ IPV6_RECVHOPLIMIT = 0x29
-+ IPV6_RECVHOPOPTS = 0x35
-+ IPV6_RECVHOPS = 0x22
-+ IPV6_RECVIF = 0x1e
-+ IPV6_RECVPATHMTU = 0x2f
-+ IPV6_RECVPKTINFO = 0x23
-+ IPV6_RECVRTHDR = 0x33
-+ IPV6_RECVSRCRT = 0x1d
-+ IPV6_RECVTCLASS = 0x2a
-+ IPV6_RTHDR = 0x32
-+ IPV6_RTHDRDSTOPTS = 0x37
-+ IPV6_RTHDR_TYPE_0 = 0x0
-+ IPV6_RTHDR_TYPE_2 = 0x2
-+ IPV6_SENDIF = 0x1f
-+ IPV6_SRFLAG_LOOSE = 0x0
-+ IPV6_SRFLAG_STRICT = 0x10000000
-+ IPV6_TCLASS = 0x2b
-+ IPV6_TOKEN_LENGTH = 0x40
-+ IPV6_UNICAST_HOPS = 0x4
-+ IPV6_USE_MIN_MTU = 0x2c
-+ IPV6_V6ONLY = 0x25
-+ IPV6_VERSION = 0x60000000
-+ IP_ADDRFORM = 0x16
-+ IP_ADD_MEMBERSHIP = 0xc
-+ IP_ADD_SOURCE_MEMBERSHIP = 0x3c
-+ IP_BLOCK_SOURCE = 0x3a
-+ IP_BROADCAST_IF = 0x10
-+ IP_CACHE_LINE_SIZE = 0x80
-+ IP_DEFAULT_MULTICAST_LOOP = 0x1
-+ IP_DEFAULT_MULTICAST_TTL = 0x1
-+ IP_DF = 0x4000
-+ IP_DHCPMODE = 0x11
-+ IP_DONTFRAG = 0x19
-+ IP_DROP_MEMBERSHIP = 0xd
-+ IP_DROP_SOURCE_MEMBERSHIP = 0x3d
-+ IP_FINDPMTU = 0x1a
-+ IP_HDRINCL = 0x2
-+ IP_INC_MEMBERSHIPS = 0x14
-+ IP_INIT_MEMBERSHIP = 0x14
-+ IP_MAXPACKET = 0xffff
-+ IP_MF = 0x2000
-+ IP_MSS = 0x240
-+ IP_MULTICAST_HOPS = 0xa
-+ IP_MULTICAST_IF = 0x9
-+ IP_MULTICAST_LOOP = 0xb
-+ IP_MULTICAST_TTL = 0xa
-+ IP_OPT = 0x1b
-+ IP_OPTIONS = 0x1
-+ IP_PMTUAGE = 0x1b
-+ IP_RECVDSTADDR = 0x7
-+ IP_RECVIF = 0x14
-+ IP_RECVIFINFO = 0xf
-+ IP_RECVINTERFACE = 0x20
-+ IP_RECVMACHDR = 0xe
-+ IP_RECVOPTS = 0x5
-+ IP_RECVRETOPTS = 0x6
-+ IP_RECVTTL = 0x22
-+ IP_RETOPTS = 0x8
-+ IP_SOURCE_FILTER = 0x48
-+ IP_TOS = 0x3
-+ IP_TTL = 0x4
-+ IP_UNBLOCK_SOURCE = 0x3b
-+ IP_UNICAST_HOPS = 0x4
-+ ISIG = 0x1
-+ ISTRIP = 0x20
-+ IUCLC = 0x800
-+ IXANY = 0x1000
-+ IXOFF = 0x400
-+ IXON = 0x200
-+ I_FLUSH = 0x20005305
-+ LNOFLSH = 0x8000
-+ LOCK_EX = 0x2
-+ LOCK_NB = 0x4
-+ LOCK_SH = 0x1
-+ LOCK_UN = 0x8
-+ MADV_DONTNEED = 0x4
-+ MADV_NORMAL = 0x0
-+ MADV_RANDOM = 0x1
-+ MADV_SEQUENTIAL = 0x2
-+ MADV_SPACEAVAIL = 0x5
-+ MADV_WILLNEED = 0x3
-+ MAP_ANON = 0x10
-+ MAP_ANONYMOUS = 0x10
-+ MAP_FILE = 0x0
-+ MAP_FIXED = 0x100
-+ MAP_PRIVATE = 0x2
-+ MAP_SHARED = 0x1
-+ MAP_TYPE = 0xf0
-+ MAP_VARIABLE = 0x0
-+ MCAST_BLOCK_SOURCE = 0x40
-+ MCAST_EXCLUDE = 0x2
-+ MCAST_INCLUDE = 0x1
-+ MCAST_JOIN_GROUP = 0x3e
-+ MCAST_JOIN_SOURCE_GROUP = 0x42
-+ MCAST_LEAVE_GROUP = 0x3f
-+ MCAST_LEAVE_SOURCE_GROUP = 0x43
-+ MCAST_SOURCE_FILTER = 0x49
-+ MCAST_UNBLOCK_SOURCE = 0x41
-+ MCL_CURRENT = 0x100
-+ MCL_FUTURE = 0x200
-+ MSG_ANY = 0x4
-+ MSG_ARGEXT = 0x400
-+ MSG_BAND = 0x2
-+ MSG_COMPAT = 0x8000
-+ MSG_CTRUNC = 0x20
-+ MSG_DONTROUTE = 0x4
-+ MSG_EOR = 0x8
-+ MSG_HIPRI = 0x1
-+ MSG_MAXIOVLEN = 0x10
-+ MSG_MPEG2 = 0x80
-+ MSG_NONBLOCK = 0x4000
-+ MSG_NOSIGNAL = 0x100
-+ MSG_OOB = 0x1
-+ MSG_PEEK = 0x2
-+ MSG_TRUNC = 0x10
-+ MSG_WAITALL = 0x40
-+ MSG_WAITFORONE = 0x200
-+ MS_ASYNC = 0x10
-+ MS_EINTR = 0x80
-+ MS_INVALIDATE = 0x40
-+ MS_PER_SEC = 0x3e8
-+ MS_SYNC = 0x20
-+ NFDBITS = 0x20
-+ NL0 = 0x0
-+ NL1 = 0x4000
-+ NL2 = 0x8000
-+ NL3 = 0xc000
-+ NLDLY = 0x4000
-+ NOFLSH = 0x80
-+ NOFLUSH = 0x80000000
-+ OCRNL = 0x8
-+ OFDEL = 0x80
-+ OFILL = 0x40
-+ OLCUC = 0x2
-+ ONLCR = 0x4
-+ ONLRET = 0x20
-+ ONOCR = 0x10
-+ ONOEOT = 0x80000
-+ OPOST = 0x1
-+ OXTABS = 0x40000
-+ O_ACCMODE = 0x23
-+ O_APPEND = 0x8
-+ O_CIO = 0x80
-+ O_CIOR = 0x800000000
-+ O_CLOEXEC = 0x800000
-+ O_CREAT = 0x100
-+ O_DEFER = 0x2000
-+ O_DELAY = 0x4000
-+ O_DIRECT = 0x8000000
-+ O_DIRECTORY = 0x80000
-+ O_DSYNC = 0x400000
-+ O_EFSOFF = 0x400000000
-+ O_EFSON = 0x200000000
-+ O_EXCL = 0x400
-+ O_EXEC = 0x20
-+ O_LARGEFILE = 0x4000000
-+ O_NDELAY = 0x8000
-+ O_NOCACHE = 0x100000
-+ O_NOCTTY = 0x800
-+ O_NOFOLLOW = 0x1000000
-+ O_NONBLOCK = 0x4
-+ O_NONE = 0x3
-+ O_NSHARE = 0x10000
-+ O_RAW = 0x100000000
-+ O_RDONLY = 0x0
-+ O_RDWR = 0x2
-+ O_RSHARE = 0x1000
-+ O_RSYNC = 0x200000
-+ O_SEARCH = 0x20
-+ O_SNAPSHOT = 0x40
-+ O_SYNC = 0x10
-+ O_TRUNC = 0x200
-+ O_TTY_INIT = 0x0
-+ O_WRONLY = 0x1
-+ PARENB = 0x100
-+ PAREXT = 0x100000
-+ PARMRK = 0x8
-+ PARODD = 0x200
-+ PENDIN = 0x20000000
-+ PRIO_PGRP = 0x1
-+ PRIO_PROCESS = 0x0
-+ PRIO_USER = 0x2
-+ PROT_EXEC = 0x4
-+ PROT_NONE = 0x0
-+ PROT_READ = 0x1
-+ PROT_WRITE = 0x2
-+ PR_64BIT = 0x20
-+ PR_ADDR = 0x2
-+ PR_ARGEXT = 0x400
-+ PR_ATOMIC = 0x1
-+ PR_CONNREQUIRED = 0x4
-+ PR_FASTHZ = 0x5
-+ PR_INP = 0x40
-+ PR_INTRLEVEL = 0x8000
-+ PR_MLS = 0x100
-+ PR_MLS_1_LABEL = 0x200
-+ PR_NOEOR = 0x4000
-+ PR_RIGHTS = 0x10
-+ PR_SLOWHZ = 0x2
-+ PR_WANTRCVD = 0x8
-+ RLIMIT_AS = 0x6
-+ RLIMIT_CORE = 0x4
-+ RLIMIT_CPU = 0x0
-+ RLIMIT_DATA = 0x2
-+ RLIMIT_FSIZE = 0x1
-+ RLIMIT_NOFILE = 0x7
-+ RLIMIT_NPROC = 0x9
-+ RLIMIT_RSS = 0x5
-+ RLIMIT_STACK = 0x3
-+ RLIM_INFINITY = 0x7fffffff
-+ 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_DOWNSTREAM = 0x100
-+ RTA_DST = 0x1
-+ RTA_GATEWAY = 0x2
-+ RTA_GENMASK = 0x8
-+ RTA_IFA = 0x20
-+ RTA_IFP = 0x10
-+ RTA_NETMASK = 0x4
-+ RTC_IA64 = 0x3
-+ RTC_POWER = 0x1
-+ RTC_POWER_PC = 0x2
-+ RTF_ACTIVE_DGD = 0x1000000
-+ RTF_BCE = 0x80000
-+ RTF_BLACKHOLE = 0x1000
-+ RTF_BROADCAST = 0x400000
-+ RTF_BUL = 0x2000
-+ RTF_CLONE = 0x10000
-+ RTF_CLONED = 0x20000
-+ RTF_CLONING = 0x100
-+ RTF_DONE = 0x40
-+ RTF_DYNAMIC = 0x10
-+ RTF_FREE_IN_PROG = 0x4000000
-+ RTF_GATEWAY = 0x2
-+ RTF_HOST = 0x4
-+ RTF_LLINFO = 0x400
-+ RTF_LOCAL = 0x200000
-+ RTF_MASK = 0x80
-+ RTF_MODIFIED = 0x20
-+ RTF_MULTICAST = 0x800000
-+ RTF_PERMANENT6 = 0x8000000
-+ RTF_PINNED = 0x100000
-+ RTF_PROTO1 = 0x8000
-+ RTF_PROTO2 = 0x4000
-+ RTF_PROTO3 = 0x40000
-+ RTF_REJECT = 0x8
-+ RTF_SMALLMTU = 0x40000
-+ RTF_STATIC = 0x800
-+ RTF_STOPSRCH = 0x2000000
-+ RTF_UNREACHABLE = 0x10000000
-+ RTF_UP = 0x1
-+ RTF_XRESOLVE = 0x200
-+ RTM_ADD = 0x1
-+ RTM_CHANGE = 0x3
-+ RTM_DELADDR = 0xd
-+ RTM_DELETE = 0x2
-+ RTM_EXPIRE = 0xf
-+ RTM_GET = 0x4
-+ RTM_GETNEXT = 0x11
-+ RTM_IFINFO = 0xe
-+ RTM_LOCK = 0x8
-+ RTM_LOSING = 0x5
-+ RTM_MISS = 0x7
-+ RTM_NEWADDR = 0xc
-+ RTM_OLDADD = 0x9
-+ RTM_OLDDEL = 0xa
-+ RTM_REDIRECT = 0x6
-+ RTM_RESOLVE = 0xb
-+ RTM_RTLOST = 0x10
-+ RTM_RTTUNIT = 0xf4240
-+ RTM_SAMEADDR = 0x12
-+ RTM_SET = 0x13
-+ RTM_VERSION = 0x2
-+ RTM_VERSION_GR = 0x4
-+ RTM_VERSION_GR_COMPAT = 0x3
-+ RTM_VERSION_POLICY = 0x5
-+ RTM_VERSION_POLICY_EXT = 0x6
-+ RTM_VERSION_POLICY_PRFN = 0x7
-+ 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
-+ RUSAGE_THREAD = 0x1
-+ SCM_RIGHTS = 0x1
-+ SHUT_RD = 0x0
-+ SHUT_RDWR = 0x2
-+ SHUT_WR = 0x1
-+ SIGMAX64 = 0xff
-+ SIGQUEUE_MAX = 0x20
-+ SIOCADDIFVIPA = 0x20006942
-+ SIOCADDMTU = -0x7ffb9690
-+ SIOCADDMULTI = -0x7fdf96cf
-+ SIOCADDNETID = -0x7fd796a9
-+ SIOCADDRT = -0x7fcf8df6
-+ SIOCAIFADDR = -0x7fbf96e6
-+ SIOCATMARK = 0x40047307
-+ SIOCDARP = -0x7fb396e0
-+ SIOCDELIFVIPA = 0x20006943
-+ SIOCDELMTU = -0x7ffb968f
-+ SIOCDELMULTI = -0x7fdf96ce
-+ SIOCDELPMTU = -0x7fd78ff6
-+ SIOCDELRT = -0x7fcf8df5
-+ SIOCDIFADDR = -0x7fd796e7
-+ SIOCDNETOPT = -0x3ffe9680
-+ SIOCDX25XLATE = -0x7fd7969b
-+ SIOCFIFADDR = -0x7fdf966d
-+ SIOCGARP = -0x3fb396da
-+ SIOCGETMTUS = 0x2000696f
-+ SIOCGETSGCNT = -0x3feb8acc
-+ SIOCGETVIFCNT = -0x3feb8acd
-+ SIOCGHIWAT = 0x40047301
-+ SIOCGIFADDR = -0x3fd796df
-+ SIOCGIFADDRS = 0x2000698c
-+ SIOCGIFBAUDRATE = -0x3fdf9669
-+ SIOCGIFBRDADDR = -0x3fd796dd
-+ SIOCGIFCONF = -0x3ff796bb
-+ SIOCGIFCONFGLOB = -0x3ff79670
-+ SIOCGIFDSTADDR = -0x3fd796de
-+ SIOCGIFFLAGS = -0x3fd796ef
-+ SIOCGIFGIDLIST = 0x20006968
-+ SIOCGIFHWADDR = -0x3fab966b
-+ SIOCGIFMETRIC = -0x3fd796e9
-+ SIOCGIFMTU = -0x3fd796aa
-+ SIOCGIFNETMASK = -0x3fd796db
-+ SIOCGIFOPTIONS = -0x3fd796d6
-+ SIOCGISNO = -0x3fd79695
-+ SIOCGLOADF = -0x3ffb967e
-+ SIOCGLOWAT = 0x40047303
-+ SIOCGNETOPT = -0x3ffe96a5
-+ SIOCGNETOPT1 = -0x3fdf967f
-+ SIOCGNMTUS = 0x2000696e
-+ SIOCGPGRP = 0x40047309
-+ SIOCGSIZIFCONF = 0x4004696a
-+ SIOCGSRCFILTER = -0x3fe796cb
-+ SIOCGTUNEPHASE = -0x3ffb9676
-+ SIOCGX25XLATE = -0x3fd7969c
-+ SIOCIFATTACH = -0x7fdf9699
-+ SIOCIFDETACH = -0x7fdf969a
-+ SIOCIFGETPKEY = -0x7fdf969b
-+ SIOCIF_ATM_DARP = -0x7fdf9683
-+ SIOCIF_ATM_DUMPARP = -0x7fdf9685
-+ SIOCIF_ATM_GARP = -0x7fdf9682
-+ SIOCIF_ATM_IDLE = -0x7fdf9686
-+ SIOCIF_ATM_SARP = -0x7fdf9681
-+ SIOCIF_ATM_SNMPARP = -0x7fdf9687
-+ SIOCIF_ATM_SVC = -0x7fdf9684
-+ SIOCIF_ATM_UBR = -0x7fdf9688
-+ SIOCIF_DEVHEALTH = -0x7ffb966c
-+ SIOCIF_IB_ARP_INCOMP = -0x7fdf9677
-+ SIOCIF_IB_ARP_TIMER = -0x7fdf9678
-+ SIOCIF_IB_CLEAR_PINFO = -0x3fdf966f
-+ SIOCIF_IB_DEL_ARP = -0x7fdf967f
-+ SIOCIF_IB_DEL_PINFO = -0x3fdf9670
-+ SIOCIF_IB_DUMP_ARP = -0x7fdf9680
-+ SIOCIF_IB_GET_ARP = -0x7fdf967e
-+ SIOCIF_IB_GET_INFO = -0x3f879675
-+ SIOCIF_IB_GET_STATS = -0x3f879672
-+ SIOCIF_IB_NOTIFY_ADDR_REM = -0x3f87966a
-+ SIOCIF_IB_RESET_STATS = -0x3f879671
-+ SIOCIF_IB_RESIZE_CQ = -0x7fdf9679
-+ SIOCIF_IB_SET_ARP = -0x7fdf967d
-+ SIOCIF_IB_SET_PKEY = -0x7fdf967c
-+ SIOCIF_IB_SET_PORT = -0x7fdf967b
-+ SIOCIF_IB_SET_QKEY = -0x7fdf9676
-+ SIOCIF_IB_SET_QSIZE = -0x7fdf967a
-+ SIOCLISTIFVIPA = 0x20006944
-+ SIOCSARP = -0x7fb396e2
-+ SIOCSHIWAT = 0x80047300
-+ SIOCSIFADDR = -0x7fd796f4
-+ SIOCSIFADDRORI = -0x7fdb9673
-+ SIOCSIFBRDADDR = -0x7fd796ed
-+ SIOCSIFDSTADDR = -0x7fd796f2
-+ SIOCSIFFLAGS = -0x7fd796f0
-+ SIOCSIFGIDLIST = 0x20006969
-+ SIOCSIFMETRIC = -0x7fd796e8
-+ SIOCSIFMTU = -0x7fd796a8
-+ SIOCSIFNETDUMP = -0x7fd796e4
-+ SIOCSIFNETMASK = -0x7fd796ea
-+ SIOCSIFOPTIONS = -0x7fd796d7
-+ SIOCSIFSUBCHAN = -0x7fd796e5
-+ SIOCSISNO = -0x7fd79694
-+ SIOCSLOADF = -0x3ffb967d
-+ SIOCSLOWAT = 0x80047302
-+ SIOCSNETOPT = -0x7ffe96a6
-+ SIOCSPGRP = 0x80047308
-+ SIOCSX25XLATE = -0x7fd7969d
-+ SOCK_CONN_DGRAM = 0x6
-+ SOCK_DGRAM = 0x2
-+ SOCK_RAW = 0x3
-+ SOCK_RDM = 0x4
-+ SOCK_SEQPACKET = 0x5
-+ SOCK_STREAM = 0x1
-+ SOL_SOCKET = 0xffff
-+ SOMAXCONN = 0x400
-+ SO_ACCEPTCONN = 0x2
-+ SO_AUDIT = 0x8000
-+ SO_BROADCAST = 0x20
-+ SO_CKSUMRECV = 0x800
-+ SO_DEBUG = 0x1
-+ SO_DONTROUTE = 0x10
-+ SO_ERROR = 0x1007
-+ SO_KEEPALIVE = 0x8
-+ SO_KERNACCEPT = 0x2000
-+ SO_LINGER = 0x80
-+ SO_NOMULTIPATH = 0x4000
-+ SO_NOREUSEADDR = 0x1000
-+ SO_OOBINLINE = 0x100
-+ SO_PEERID = 0x1009
-+ SO_RCVBUF = 0x1002
-+ SO_RCVLOWAT = 0x1004
-+ SO_RCVTIMEO = 0x1006
-+ SO_REUSEADDR = 0x4
-+ SO_REUSEPORT = 0x200
-+ SO_SNDBUF = 0x1001
-+ SO_SNDLOWAT = 0x1003
-+ SO_SNDTIMEO = 0x1005
-+ SO_TIMESTAMPNS = 0x100a
-+ SO_TYPE = 0x1008
-+ SO_USELOOPBACK = 0x40
-+ SO_USE_IFBUFS = 0x400
-+ S_BANDURG = 0x400
-+ S_EMODFMT = 0x3c000000
-+ S_ENFMT = 0x400
-+ S_ERROR = 0x100
-+ S_HANGUP = 0x200
-+ S_HIPRI = 0x2
-+ S_ICRYPTO = 0x80000
-+ S_IEXEC = 0x40
-+ S_IFBLK = 0x6000
-+ S_IFCHR = 0x2000
-+ S_IFDIR = 0x4000
-+ S_IFIFO = 0x1000
-+ S_IFJOURNAL = 0x10000
-+ S_IFLNK = 0xa000
-+ S_IFMPX = 0x2200
-+ S_IFMT = 0xf000
-+ S_IFPDIR = 0x4000000
-+ S_IFPSDIR = 0x8000000
-+ S_IFPSSDIR = 0xc000000
-+ S_IFREG = 0x8000
-+ S_IFSOCK = 0xc000
-+ S_IFSYSEA = 0x30000000
-+ S_INPUT = 0x1
-+ S_IREAD = 0x100
-+ S_IRGRP = 0x20
-+ S_IROTH = 0x4
-+ S_IRUSR = 0x100
-+ S_IRWXG = 0x38
-+ S_IRWXO = 0x7
-+ S_IRWXU = 0x1c0
-+ S_ISGID = 0x400
-+ S_ISUID = 0x800
-+ S_ISVTX = 0x200
-+ S_ITCB = 0x1000000
-+ S_ITP = 0x800000
-+ S_IWGRP = 0x10
-+ S_IWOTH = 0x2
-+ S_IWRITE = 0x80
-+ S_IWUSR = 0x80
-+ S_IXACL = 0x2000000
-+ S_IXATTR = 0x40000
-+ S_IXGRP = 0x8
-+ S_IXINTERFACE = 0x100000
-+ S_IXMOD = 0x40000000
-+ S_IXOTH = 0x1
-+ S_IXUSR = 0x40
-+ S_MSG = 0x8
-+ S_OUTPUT = 0x4
-+ S_RDBAND = 0x20
-+ S_RDNORM = 0x10
-+ S_RESERVED1 = 0x20000
-+ S_RESERVED2 = 0x200000
-+ S_RESERVED3 = 0x400000
-+ S_RESERVED4 = 0x80000000
-+ S_RESFMT1 = 0x10000000
-+ S_RESFMT10 = 0x34000000
-+ S_RESFMT11 = 0x38000000
-+ S_RESFMT12 = 0x3c000000
-+ S_RESFMT2 = 0x14000000
-+ S_RESFMT3 = 0x18000000
-+ S_RESFMT4 = 0x1c000000
-+ S_RESFMT5 = 0x20000000
-+ S_RESFMT6 = 0x24000000
-+ S_RESFMT7 = 0x28000000
-+ S_RESFMT8 = 0x2c000000
-+ S_WRBAND = 0x80
-+ S_WRNORM = 0x40
-+ TAB0 = 0x0
-+ TAB1 = 0x400
-+ TAB2 = 0x800
-+ TAB3 = 0xc00
-+ TABDLY = 0xc00
-+ TCFLSH = 0x540c
-+ TCGETA = 0x5405
-+ TCGETS = 0x5401
-+ TCIFLUSH = 0x0
-+ TCIOFF = 0x2
-+ TCIOFLUSH = 0x2
-+ TCION = 0x3
-+ TCOFLUSH = 0x1
-+ TCOOFF = 0x0
-+ TCOON = 0x1
-+ TCP_24DAYS_WORTH_OF_SLOWTICKS = 0x3f4800
-+ TCP_ACLADD = 0x23
-+ TCP_ACLBIND = 0x26
-+ TCP_ACLCLEAR = 0x22
-+ TCP_ACLDEL = 0x24
-+ TCP_ACLDENY = 0x8
-+ TCP_ACLFLUSH = 0x21
-+ TCP_ACLGID = 0x1
-+ TCP_ACLLS = 0x25
-+ TCP_ACLSUBNET = 0x4
-+ TCP_ACLUID = 0x2
-+ TCP_CWND_DF = 0x16
-+ TCP_CWND_IF = 0x15
-+ TCP_DELAY_ACK_FIN = 0x2
-+ TCP_DELAY_ACK_SYN = 0x1
-+ TCP_FASTNAME = 0x101080a
-+ TCP_KEEPCNT = 0x13
-+ TCP_KEEPIDLE = 0x11
-+ TCP_KEEPINTVL = 0x12
-+ TCP_LSPRIV = 0x29
-+ TCP_LUID = 0x20
-+ TCP_MAXBURST = 0x8
-+ TCP_MAXDF = 0x64
-+ TCP_MAXIF = 0x64
-+ TCP_MAXSEG = 0x2
-+ TCP_MAXWIN = 0xffff
-+ TCP_MAXWINDOWSCALE = 0xe
-+ TCP_MAX_SACK = 0x4
-+ TCP_MSS = 0x5b4
-+ TCP_NODELAY = 0x1
-+ TCP_NODELAYACK = 0x14
-+ TCP_NOREDUCE_CWND_EXIT_FRXMT = 0x19
-+ TCP_NOREDUCE_CWND_IN_FRXMT = 0x18
-+ TCP_NOTENTER_SSTART = 0x17
-+ TCP_OPT = 0x19
-+ TCP_RFC1323 = 0x4
-+ TCP_SETPRIV = 0x27
-+ TCP_STDURG = 0x10
-+ TCP_TIMESTAMP_OPTLEN = 0xc
-+ TCP_UNSETPRIV = 0x28
-+ TCSAFLUSH = 0x2
-+ TCSBRK = 0x5409
-+ TCSETA = 0x5406
-+ TCSETAF = 0x5408
-+ TCSETAW = 0x5407
-+ TCSETS = 0x5402
-+ TCSETSF = 0x5404
-+ TCSETSW = 0x5403
-+ TCXONC = 0x540b
-+ TIMER_ABSTIME = 0x3e7
-+ TIMER_MAX = 0x20
-+ TIOC = 0x5400
-+ TIOCCBRK = 0x2000747a
-+ TIOCCDTR = 0x20007478
-+ TIOCCONS = 0x80047462
-+ TIOCEXCL = 0x2000740d
-+ TIOCFLUSH = 0x80047410
-+ TIOCGETC = 0x40067412
-+ TIOCGETD = 0x40047400
-+ TIOCGETP = 0x40067408
-+ TIOCGLTC = 0x40067474
-+ TIOCGPGRP = 0x40047477
-+ TIOCGSID = 0x40047448
-+ TIOCGSIZE = 0x40087468
-+ TIOCGWINSZ = 0x40087468
-+ TIOCHPCL = 0x20007402
-+ TIOCLBIC = 0x8004747e
-+ TIOCLBIS = 0x8004747f
-+ TIOCLGET = 0x4004747c
-+ TIOCLSET = 0x8004747d
-+ TIOCMBIC = 0x8004746b
-+ TIOCMBIS = 0x8004746c
-+ TIOCMGET = 0x4004746a
-+ TIOCMIWAIT = 0x80047464
-+ TIOCMODG = 0x40047403
-+ TIOCMODS = 0x80047404
-+ 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_NOSTOP = 0x10
-+ TIOCPKT_START = 0x8
-+ TIOCPKT_STOP = 0x4
-+ TIOCREMOTE = 0x80047469
-+ TIOCSBRK = 0x2000747b
-+ TIOCSDTR = 0x20007479
-+ TIOCSETC = 0x80067411
-+ TIOCSETD = 0x80047401
-+ TIOCSETN = 0x8006740a
-+ TIOCSETP = 0x80067409
-+ TIOCSLTC = 0x80067475
-+ TIOCSPGRP = 0x80047476
-+ TIOCSSIZE = 0x80087467
-+ TIOCSTART = 0x2000746e
-+ TIOCSTI = 0x80017472
-+ TIOCSTOP = 0x2000746f
-+ TIOCSWINSZ = 0x80087467
-+ TIOCUCNTL = 0x80047466
-+ TOSTOP = 0x10000
-+ UTIME_NOW = -0x2
-+ UTIME_OMIT = -0x3
-+ VDISCRD = 0xc
-+ VDSUSP = 0xa
-+ VEOF = 0x4
-+ VEOL = 0x5
-+ VEOL2 = 0x6
-+ VERASE = 0x2
-+ VINTR = 0x0
-+ VKILL = 0x3
-+ VLNEXT = 0xe
-+ VMIN = 0x4
-+ VQUIT = 0x1
-+ VREPRINT = 0xb
-+ VSTART = 0x7
-+ VSTOP = 0x8
-+ VSTRT = 0x7
-+ VSUSP = 0x9
-+ VT0 = 0x0
-+ VT1 = 0x8000
-+ VTDELAY = 0x2000
-+ VTDLY = 0x8000
-+ VTIME = 0x5
-+ VWERSE = 0xd
-+ WPARSTART = 0x1
-+ WPARSTOP = 0x2
-+ WPARTTYNAME = "Global"
-+ XCASE = 0x4
-+ XTABS = 0xc00
-+ _FDATAFLUSH = 0x2000000000
-+)
-+
-+// Errors
-+const (
-+ E2BIG = syscall.Errno(0x7)
-+ EACCES = syscall.Errno(0xd)
-+ EADDRINUSE = syscall.Errno(0x43)
-+ EADDRNOTAVAIL = syscall.Errno(0x44)
-+ EAFNOSUPPORT = syscall.Errno(0x42)
-+ EAGAIN = syscall.Errno(0xb)
-+ EALREADY = syscall.Errno(0x38)
-+ EBADF = syscall.Errno(0x9)
-+ EBADMSG = syscall.Errno(0x78)
-+ EBUSY = syscall.Errno(0x10)
-+ ECANCELED = syscall.Errno(0x75)
-+ ECHILD = syscall.Errno(0xa)
-+ ECHRNG = syscall.Errno(0x25)
-+ ECLONEME = syscall.Errno(0x52)
-+ ECONNABORTED = syscall.Errno(0x48)
-+ ECONNREFUSED = syscall.Errno(0x4f)
-+ ECONNRESET = syscall.Errno(0x49)
-+ ECORRUPT = syscall.Errno(0x59)
-+ EDEADLK = syscall.Errno(0x2d)
-+ EDESTADDREQ = syscall.Errno(0x3a)
-+ EDESTADDRREQ = syscall.Errno(0x3a)
-+ EDIST = syscall.Errno(0x35)
-+ EDOM = syscall.Errno(0x21)
-+ EDQUOT = syscall.Errno(0x58)
-+ EEXIST = syscall.Errno(0x11)
-+ EFAULT = syscall.Errno(0xe)
-+ EFBIG = syscall.Errno(0x1b)
-+ EFORMAT = syscall.Errno(0x30)
-+ EHOSTDOWN = syscall.Errno(0x50)
-+ EHOSTUNREACH = syscall.Errno(0x51)
-+ EIDRM = syscall.Errno(0x24)
-+ EILSEQ = syscall.Errno(0x74)
-+ EINPROGRESS = syscall.Errno(0x37)
-+ EINTR = syscall.Errno(0x4)
-+ EINVAL = syscall.Errno(0x16)
-+ EIO = syscall.Errno(0x5)
-+ EISCONN = syscall.Errno(0x4b)
-+ EISDIR = syscall.Errno(0x15)
-+ EL2HLT = syscall.Errno(0x2c)
-+ EL2NSYNC = syscall.Errno(0x26)
-+ EL3HLT = syscall.Errno(0x27)
-+ EL3RST = syscall.Errno(0x28)
-+ ELNRNG = syscall.Errno(0x29)
-+ ELOOP = syscall.Errno(0x55)
-+ EMEDIA = syscall.Errno(0x6e)
-+ EMFILE = syscall.Errno(0x18)
-+ EMLINK = syscall.Errno(0x1f)
-+ EMSGSIZE = syscall.Errno(0x3b)
-+ EMULTIHOP = syscall.Errno(0x7d)
-+ ENAMETOOLONG = syscall.Errno(0x56)
-+ ENETDOWN = syscall.Errno(0x45)
-+ ENETRESET = syscall.Errno(0x47)
-+ ENETUNREACH = syscall.Errno(0x46)
-+ ENFILE = syscall.Errno(0x17)
-+ ENOATTR = syscall.Errno(0x70)
-+ ENOBUFS = syscall.Errno(0x4a)
-+ ENOCONNECT = syscall.Errno(0x32)
-+ ENOCSI = syscall.Errno(0x2b)
-+ ENODATA = syscall.Errno(0x7a)
-+ ENODEV = syscall.Errno(0x13)
-+ ENOENT = syscall.Errno(0x2)
-+ ENOEXEC = syscall.Errno(0x8)
-+ ENOLCK = syscall.Errno(0x31)
-+ ENOLINK = syscall.Errno(0x7e)
-+ ENOMEM = syscall.Errno(0xc)
-+ ENOMSG = syscall.Errno(0x23)
-+ ENOPROTOOPT = syscall.Errno(0x3d)
-+ ENOSPC = syscall.Errno(0x1c)
-+ ENOSR = syscall.Errno(0x76)
-+ ENOSTR = syscall.Errno(0x7b)
-+ ENOSYS = syscall.Errno(0x6d)
-+ ENOTBLK = syscall.Errno(0xf)
-+ ENOTCONN = syscall.Errno(0x4c)
-+ ENOTDIR = syscall.Errno(0x14)
-+ ENOTEMPTY = syscall.Errno(0x11)
-+ ENOTREADY = syscall.Errno(0x2e)
-+ ENOTRECOVERABLE = syscall.Errno(0x5e)
-+ ENOTRUST = syscall.Errno(0x72)
-+ ENOTSOCK = syscall.Errno(0x39)
-+ ENOTSUP = syscall.Errno(0x7c)
-+ ENOTTY = syscall.Errno(0x19)
-+ ENXIO = syscall.Errno(0x6)
-+ EOPNOTSUPP = syscall.Errno(0x40)
-+ EOVERFLOW = syscall.Errno(0x7f)
-+ EOWNERDEAD = syscall.Errno(0x5f)
-+ EPERM = syscall.Errno(0x1)
-+ EPFNOSUPPORT = syscall.Errno(0x41)
-+ EPIPE = syscall.Errno(0x20)
-+ EPROCLIM = syscall.Errno(0x53)
-+ EPROTO = syscall.Errno(0x79)
-+ EPROTONOSUPPORT = syscall.Errno(0x3e)
-+ EPROTOTYPE = syscall.Errno(0x3c)
-+ ERANGE = syscall.Errno(0x22)
-+ EREMOTE = syscall.Errno(0x5d)
-+ ERESTART = syscall.Errno(0x52)
-+ EROFS = syscall.Errno(0x1e)
-+ ESAD = syscall.Errno(0x71)
-+ ESHUTDOWN = syscall.Errno(0x4d)
-+ ESOCKTNOSUPPORT = syscall.Errno(0x3f)
-+ ESOFT = syscall.Errno(0x6f)
-+ ESPIPE = syscall.Errno(0x1d)
-+ ESRCH = syscall.Errno(0x3)
-+ ESTALE = syscall.Errno(0x34)
-+ ESYSERROR = syscall.Errno(0x5a)
-+ ETIME = syscall.Errno(0x77)
-+ ETIMEDOUT = syscall.Errno(0x4e)
-+ ETOOMANYREFS = syscall.Errno(0x73)
-+ ETXTBSY = syscall.Errno(0x1a)
-+ EUNATCH = syscall.Errno(0x2a)
-+ EUSERS = syscall.Errno(0x54)
-+ EWOULDBLOCK = syscall.Errno(0xb)
-+ EWRPROTECT = syscall.Errno(0x2f)
-+ EXDEV = syscall.Errno(0x12)
-+)
-+
-+// Signals
-+const (
-+ SIGABRT = syscall.Signal(0x6)
-+ SIGAIO = syscall.Signal(0x17)
-+ SIGALRM = syscall.Signal(0xe)
-+ SIGALRM1 = syscall.Signal(0x26)
-+ SIGBUS = syscall.Signal(0xa)
-+ SIGCAPI = syscall.Signal(0x31)
-+ SIGCHLD = syscall.Signal(0x14)
-+ SIGCLD = syscall.Signal(0x14)
-+ SIGCONT = syscall.Signal(0x13)
-+ SIGCPUFAIL = syscall.Signal(0x3b)
-+ SIGDANGER = syscall.Signal(0x21)
-+ SIGEMT = syscall.Signal(0x7)
-+ SIGFPE = syscall.Signal(0x8)
-+ SIGGRANT = syscall.Signal(0x3c)
-+ SIGHUP = syscall.Signal(0x1)
-+ SIGILL = syscall.Signal(0x4)
-+ SIGINT = syscall.Signal(0x2)
-+ SIGIO = syscall.Signal(0x17)
-+ SIGIOINT = syscall.Signal(0x10)
-+ SIGIOT = syscall.Signal(0x6)
-+ SIGKAP = syscall.Signal(0x3c)
-+ SIGKILL = syscall.Signal(0x9)
-+ SIGLOST = syscall.Signal(0x6)
-+ SIGMAX = syscall.Signal(0x3f)
-+ SIGMAX32 = syscall.Signal(0x3f)
-+ SIGMIGRATE = syscall.Signal(0x23)
-+ SIGMSG = syscall.Signal(0x1b)
-+ SIGPIPE = syscall.Signal(0xd)
-+ SIGPOLL = syscall.Signal(0x17)
-+ SIGPRE = syscall.Signal(0x24)
-+ SIGPROF = syscall.Signal(0x20)
-+ SIGPTY = syscall.Signal(0x17)
-+ SIGPWR = syscall.Signal(0x1d)
-+ SIGQUIT = syscall.Signal(0x3)
-+ SIGRECONFIG = syscall.Signal(0x3a)
-+ SIGRETRACT = syscall.Signal(0x3d)
-+ SIGSAK = syscall.Signal(0x3f)
-+ SIGSEGV = syscall.Signal(0xb)
-+ SIGSOUND = syscall.Signal(0x3e)
-+ SIGSTOP = syscall.Signal(0x11)
-+ SIGSYS = syscall.Signal(0xc)
-+ SIGSYSERROR = syscall.Signal(0x30)
-+ SIGTALRM = syscall.Signal(0x26)
-+ SIGTERM = syscall.Signal(0xf)
-+ SIGTRAP = syscall.Signal(0x5)
-+ SIGTSTP = syscall.Signal(0x12)
-+ SIGTTIN = syscall.Signal(0x15)
-+ SIGTTOU = syscall.Signal(0x16)
-+ SIGURG = syscall.Signal(0x10)
-+ SIGUSR1 = syscall.Signal(0x1e)
-+ SIGUSR2 = syscall.Signal(0x1f)
-+ SIGVIRT = syscall.Signal(0x25)
-+ SIGVTALRM = syscall.Signal(0x22)
-+ SIGWAITING = syscall.Signal(0x27)
-+ 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", "not owner"},
-+ {2, "ENOENT", "no such file or directory"},
-+ {3, "ESRCH", "no such process"},
-+ {4, "EINTR", "interrupted system call"},
-+ {5, "EIO", "I/O error"},
-+ {6, "ENXIO", "no such device or address"},
-+ {7, "E2BIG", "arg list too long"},
-+ {8, "ENOEXEC", "exec format error"},
-+ {9, "EBADF", "bad file number"},
-+ {10, "ECHILD", "no child processes"},
-+ {11, "EWOULDBLOCK", "resource temporarily unavailable"},
-+ {12, "ENOMEM", "not enough space"},
-+ {13, "EACCES", "permission denied"},
-+ {14, "EFAULT", "bad address"},
-+ {15, "ENOTBLK", "block device required"},
-+ {16, "EBUSY", "device busy"},
-+ {17, "ENOTEMPTY", "file exists"},
-+ {18, "EXDEV", "cross-device link"},
-+ {19, "ENODEV", "no such device"},
-+ {20, "ENOTDIR", "not a directory"},
-+ {21, "EISDIR", "is a directory"},
-+ {22, "EINVAL", "invalid argument"},
-+ {23, "ENFILE", "file table overflow"},
-+ {24, "EMFILE", "too many open files"},
-+ {25, "ENOTTY", "not a typewriter"},
-+ {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", "argument out of domain"},
-+ {34, "ERANGE", "result too large"},
-+ {35, "ENOMSG", "no message of desired type"},
-+ {36, "EIDRM", "identifier removed"},
-+ {37, "ECHRNG", "channel number out of range"},
-+ {38, "EL2NSYNC", "level 2 not synchronized"},
-+ {39, "EL3HLT", "level 3 halted"},
-+ {40, "EL3RST", "level 3 reset"},
-+ {41, "ELNRNG", "link number out of range"},
-+ {42, "EUNATCH", "protocol driver not attached"},
-+ {43, "ENOCSI", "no CSI structure available"},
-+ {44, "EL2HLT", "level 2 halted"},
-+ {45, "EDEADLK", "deadlock condition if locked"},
-+ {46, "ENOTREADY", "device not ready"},
-+ {47, "EWRPROTECT", "write-protected media"},
-+ {48, "EFORMAT", "unformatted or incompatible media"},
-+ {49, "ENOLCK", "no locks available"},
-+ {50, "ENOCONNECT", "cannot Establish Connection"},
-+ {52, "ESTALE", "missing file or filesystem"},
-+ {53, "EDIST", "requests blocked by Administrator"},
-+ {55, "EINPROGRESS", "operation now in progress"},
-+ {56, "EALREADY", "operation already in progress"},
-+ {57, "ENOTSOCK", "socket operation on non-socket"},
-+ {58, "EDESTADDREQ", "destination address required"},
-+ {59, "EMSGSIZE", "message too long"},
-+ {60, "EPROTOTYPE", "protocol wrong type for socket"},
-+ {61, "ENOPROTOOPT", "protocol not available"},
-+ {62, "EPROTONOSUPPORT", "protocol not supported"},
-+ {63, "ESOCKTNOSUPPORT", "socket type not supported"},
-+ {64, "EOPNOTSUPP", "operation not supported on socket"},
-+ {65, "EPFNOSUPPORT", "protocol family not supported"},
-+ {66, "EAFNOSUPPORT", "addr family not supported by protocol"},
-+ {67, "EADDRINUSE", "address already in use"},
-+ {68, "EADDRNOTAVAIL", "can't assign requested address"},
-+ {69, "ENETDOWN", "network is down"},
-+ {70, "ENETUNREACH", "network is unreachable"},
-+ {71, "ENETRESET", "network dropped connection on reset"},
-+ {72, "ECONNABORTED", "software caused connection abort"},
-+ {73, "ECONNRESET", "connection reset by peer"},
-+ {74, "ENOBUFS", "no buffer space available"},
-+ {75, "EISCONN", "socket is already connected"},
-+ {76, "ENOTCONN", "socket is not connected"},
-+ {77, "ESHUTDOWN", "can't send after socket shutdown"},
-+ {78, "ETIMEDOUT", "connection timed out"},
-+ {79, "ECONNREFUSED", "connection refused"},
-+ {80, "EHOSTDOWN", "host is down"},
-+ {81, "EHOSTUNREACH", "no route to host"},
-+ {82, "ERESTART", "restart the system call"},
-+ {83, "EPROCLIM", "too many processes"},
-+ {84, "EUSERS", "too many users"},
-+ {85, "ELOOP", "too many levels of symbolic links"},
-+ {86, "ENAMETOOLONG", "file name too long"},
-+ {88, "EDQUOT", "disk quota exceeded"},
-+ {89, "ECORRUPT", "invalid file system control data detected"},
-+ {90, "ESYSERROR", "for future use "},
-+ {93, "EREMOTE", "item is not local to host"},
-+ {94, "ENOTRECOVERABLE", "state not recoverable "},
-+ {95, "EOWNERDEAD", "previous owner died "},
-+ {109, "ENOSYS", "function not implemented"},
-+ {110, "EMEDIA", "media surface error"},
-+ {111, "ESOFT", "I/O completed, but needs relocation"},
-+ {112, "ENOATTR", "no attribute found"},
-+ {113, "ESAD", "security Authentication Denied"},
-+ {114, "ENOTRUST", "not a Trusted Program"},
-+ {115, "ETOOMANYREFS", "too many references: can't splice"},
-+ {116, "EILSEQ", "invalid wide character"},
-+ {117, "ECANCELED", "asynchronous I/O cancelled"},
-+ {118, "ENOSR", "out of STREAMS resources"},
-+ {119, "ETIME", "system call timed out"},
-+ {120, "EBADMSG", "next message has wrong type"},
-+ {121, "EPROTO", "error in protocol"},
-+ {122, "ENODATA", "no message on stream head read q"},
-+ {123, "ENOSTR", "fd not associated with a stream"},
-+ {124, "ENOTSUP", "unsupported attribute value"},
-+ {125, "EMULTIHOP", "multihop is not allowed"},
-+ {126, "ENOLINK", "the server link has been severed"},
-+ {127, "EOVERFLOW", "value too large to be stored in data type"},
-+}
-+
-+// 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", "IOT/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", "stopped (signal)"},
-+ {18, "SIGTSTP", "stopped"},
-+ {19, "SIGCONT", "continued"},
-+ {20, "SIGCHLD", "child exited"},
-+ {21, "SIGTTIN", "stopped (tty input)"},
-+ {22, "SIGTTOU", "stopped (tty output)"},
-+ {23, "SIGIO", "I/O possible/complete"},
-+ {24, "SIGXCPU", "cputime limit exceeded"},
-+ {25, "SIGXFSZ", "filesize limit exceeded"},
-+ {27, "SIGMSG", "input device data"},
-+ {28, "SIGWINCH", "window size changes"},
-+ {29, "SIGPWR", "power-failure"},
-+ {30, "SIGUSR1", "user defined signal 1"},
-+ {31, "SIGUSR2", "user defined signal 2"},
-+ {32, "SIGPROF", "profiling timer expired"},
-+ {33, "SIGDANGER", "paging space low"},
-+ {34, "SIGVTALRM", "virtual timer expired"},
-+ {35, "SIGMIGRATE", "signal 35"},
-+ {36, "SIGPRE", "signal 36"},
-+ {37, "SIGVIRT", "signal 37"},
-+ {38, "SIGTALRM", "signal 38"},
-+ {39, "SIGWAITING", "signal 39"},
-+ {48, "SIGSYSERROR", "signal 48"},
-+ {49, "SIGCAPI", "signal 49"},
-+ {58, "SIGRECONFIG", "signal 58"},
-+ {59, "SIGCPUFAIL", "CPU Failure Predicted"},
-+ {60, "SIGKAP", "monitor mode granted"},
-+ {61, "SIGRETRACT", "monitor mode retracted"},
-+ {62, "SIGSOUND", "sound completed"},
-+ {63, "SIGSAK", "secure attention"},
-+}
-diff --git a/vendor/golang.org/x/sys/unix/zerrors_aix_ppc64.go b/vendor/golang.org/x/sys/unix/zerrors_aix_ppc64.go
-new file mode 100644
-index 00000000..4fc8d306
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/zerrors_aix_ppc64.go
-@@ -0,0 +1,1385 @@
-+// mkerrors.sh -maix64
-+// Code generated by the command above; see README.md. DO NOT EDIT.
-+
-+// +build ppc64,aix
-+
-+// Code generated by cmd/cgo -godefs; DO NOT EDIT.
-+// cgo -godefs -- -maix64 _const.go
-+
-+package unix
-+
-+import "syscall"
-+
-+const (
-+ AF_APPLETALK = 0x10
-+ AF_BYPASS = 0x19
-+ AF_CCITT = 0xa
-+ AF_CHAOS = 0x5
-+ AF_DATAKIT = 0x9
-+ AF_DECnet = 0xc
-+ AF_DLI = 0xd
-+ AF_ECMA = 0x8
-+ AF_HYLINK = 0xf
-+ AF_IMPLINK = 0x3
-+ AF_INET = 0x2
-+ AF_INET6 = 0x18
-+ AF_INTF = 0x14
-+ AF_ISO = 0x7
-+ AF_LAT = 0xe
-+ AF_LINK = 0x12
-+ AF_LOCAL = 0x1
-+ AF_MAX = 0x1e
-+ AF_NDD = 0x17
-+ AF_NETWARE = 0x16
-+ AF_NS = 0x6
-+ AF_OSI = 0x7
-+ AF_PUP = 0x4
-+ AF_RIF = 0x15
-+ AF_ROUTE = 0x11
-+ AF_SNA = 0xb
-+ AF_UNIX = 0x1
-+ AF_UNSPEC = 0x0
-+ ALTWERASE = 0x400000
-+ ARPHRD_802_3 = 0x6
-+ ARPHRD_802_5 = 0x6
-+ ARPHRD_ETHER = 0x1
-+ ARPHRD_FDDI = 0x1
-+ B0 = 0x0
-+ B110 = 0x3
-+ B1200 = 0x9
-+ B134 = 0x4
-+ B150 = 0x5
-+ B1800 = 0xa
-+ B19200 = 0xe
-+ B200 = 0x6
-+ B2400 = 0xb
-+ B300 = 0x7
-+ B38400 = 0xf
-+ B4800 = 0xc
-+ B50 = 0x1
-+ B600 = 0x8
-+ B75 = 0x2
-+ B9600 = 0xd
-+ BRKINT = 0x2
-+ BS0 = 0x0
-+ BS1 = 0x1000
-+ BSDLY = 0x1000
-+ CAP_AACCT = 0x6
-+ CAP_ARM_APPLICATION = 0x5
-+ CAP_BYPASS_RAC_VMM = 0x3
-+ CAP_CLEAR = 0x0
-+ CAP_CREDENTIALS = 0x7
-+ CAP_EFFECTIVE = 0x1
-+ CAP_EWLM_AGENT = 0x4
-+ CAP_INHERITABLE = 0x2
-+ CAP_MAXIMUM = 0x7
-+ CAP_NUMA_ATTACH = 0x2
-+ CAP_PERMITTED = 0x3
-+ CAP_PROPAGATE = 0x1
-+ CAP_PROPOGATE = 0x1
-+ CAP_SET = 0x1
-+ CBAUD = 0xf
-+ CFLUSH = 0xf
-+ CIBAUD = 0xf0000
-+ CLOCAL = 0x800
-+ CLOCK_MONOTONIC = 0xa
-+ CLOCK_PROCESS_CPUTIME_ID = 0xb
-+ CLOCK_REALTIME = 0x9
-+ CLOCK_THREAD_CPUTIME_ID = 0xc
-+ CR0 = 0x0
-+ CR1 = 0x100
-+ CR2 = 0x200
-+ CR3 = 0x300
-+ CRDLY = 0x300
-+ CREAD = 0x80
-+ CS5 = 0x0
-+ CS6 = 0x10
-+ CS7 = 0x20
-+ CS8 = 0x30
-+ CSIOCGIFCONF = -0x3fef96dc
-+ CSIZE = 0x30
-+ CSMAP_DIR = "/usr/lib/nls/csmap/"
-+ CSTART = '\021'
-+ CSTOP = '\023'
-+ CSTOPB = 0x40
-+ CSUSP = 0x1a
-+ ECHO = 0x8
-+ ECHOCTL = 0x20000
-+ ECHOE = 0x10
-+ ECHOK = 0x20
-+ ECHOKE = 0x80000
-+ ECHONL = 0x40
-+ ECHOPRT = 0x40000
-+ ECH_ICMPID = 0x2
-+ ETHERNET_CSMACD = 0x6
-+ EVENP = 0x80
-+ EXCONTINUE = 0x0
-+ EXDLOK = 0x3
-+ EXIO = 0x2
-+ EXPGIO = 0x0
-+ EXRESUME = 0x2
-+ EXRETURN = 0x1
-+ EXSIG = 0x4
-+ EXTA = 0xe
-+ EXTB = 0xf
-+ EXTRAP = 0x1
-+ EYEC_RTENTRYA = 0x257274656e747241
-+ EYEC_RTENTRYF = 0x257274656e747246
-+ E_ACC = 0x0
-+ FD_CLOEXEC = 0x1
-+ FD_SETSIZE = 0xfffe
-+ FF0 = 0x0
-+ FF1 = 0x2000
-+ FFDLY = 0x2000
-+ FLUSHBAND = 0x40
-+ FLUSHLOW = 0x8
-+ FLUSHO = 0x100000
-+ FLUSHR = 0x1
-+ FLUSHRW = 0x3
-+ FLUSHW = 0x2
-+ F_CLOSEM = 0xa
-+ F_DUP2FD = 0xe
-+ F_DUPFD = 0x0
-+ F_GETFD = 0x1
-+ F_GETFL = 0x3
-+ F_GETLK = 0xb
-+ F_GETLK64 = 0xb
-+ F_GETOWN = 0x8
-+ F_LOCK = 0x1
-+ F_OK = 0x0
-+ F_RDLCK = 0x1
-+ F_SETFD = 0x2
-+ F_SETFL = 0x4
-+ F_SETLK = 0xc
-+ F_SETLK64 = 0xc
-+ F_SETLKW = 0xd
-+ F_SETLKW64 = 0xd
-+ F_SETOWN = 0x9
-+ F_TEST = 0x3
-+ F_TLOCK = 0x2
-+ F_TSTLK = 0xf
-+ F_ULOCK = 0x0
-+ F_UNLCK = 0x3
-+ F_WRLCK = 0x2
-+ HUPCL = 0x400
-+ IBSHIFT = 0x10
-+ ICANON = 0x2
-+ ICMP6_FILTER = 0x26
-+ ICMP6_SEC_SEND_DEL = 0x46
-+ ICMP6_SEC_SEND_GET = 0x47
-+ ICMP6_SEC_SEND_SET = 0x44
-+ ICMP6_SEC_SEND_SET_CGA_ADDR = 0x45
-+ ICRNL = 0x100
-+ IEXTEN = 0x200000
-+ IFA_FIRSTALIAS = 0x2000
-+ IFA_ROUTE = 0x1
-+ IFF_64BIT = 0x4000000
-+ IFF_ALLCAST = 0x20000
-+ IFF_ALLMULTI = 0x200
-+ IFF_BPF = 0x8000000
-+ IFF_BRIDGE = 0x40000
-+ IFF_BROADCAST = 0x2
-+ IFF_CANTCHANGE = 0x80c52
-+ IFF_CHECKSUM_OFFLOAD = 0x10000000
-+ IFF_D1 = 0x8000
-+ IFF_D2 = 0x4000
-+ IFF_D3 = 0x2000
-+ IFF_D4 = 0x1000
-+ IFF_DEBUG = 0x4
-+ IFF_DEVHEALTH = 0x4000
-+ IFF_DO_HW_LOOPBACK = 0x10000
-+ IFF_GROUP_ROUTING = 0x2000000
-+ IFF_IFBUFMGT = 0x800000
-+ IFF_LINK0 = 0x100000
-+ IFF_LINK1 = 0x200000
-+ IFF_LINK2 = 0x400000
-+ IFF_LOOPBACK = 0x8
-+ IFF_MULTICAST = 0x80000
-+ IFF_NOARP = 0x80
-+ IFF_NOECHO = 0x800
-+ IFF_NOTRAILERS = 0x20
-+ IFF_OACTIVE = 0x400
-+ IFF_POINTOPOINT = 0x10
-+ IFF_PROMISC = 0x100
-+ IFF_PSEG = 0x40000000
-+ IFF_RUNNING = 0x40
-+ IFF_SIMPLEX = 0x800
-+ IFF_SNAP = 0x8000
-+ IFF_TCP_DISABLE_CKSUM = 0x20000000
-+ IFF_TCP_NOCKSUM = 0x1000000
-+ IFF_UP = 0x1
-+ IFF_VIPA = 0x80000000
-+ IFNAMSIZ = 0x10
-+ IFO_FLUSH = 0x1
-+ IFT_1822 = 0x2
-+ IFT_AAL5 = 0x31
-+ IFT_ARCNET = 0x23
-+ IFT_ARCNETPLUS = 0x24
-+ IFT_ATM = 0x25
-+ IFT_CEPT = 0x13
-+ IFT_CLUSTER = 0x3e
-+ IFT_DS3 = 0x1e
-+ IFT_EON = 0x19
-+ IFT_ETHER = 0x6
-+ IFT_FCS = 0x3a
-+ IFT_FDDI = 0xf
-+ IFT_FRELAY = 0x20
-+ IFT_FRELAYDCE = 0x2c
-+ IFT_GIFTUNNEL = 0x3c
-+ IFT_HDH1822 = 0x3
-+ IFT_HF = 0x3d
-+ IFT_HIPPI = 0x2f
-+ IFT_HSSI = 0x2e
-+ IFT_HY = 0xe
-+ IFT_IB = 0xc7
-+ IFT_ISDNBASIC = 0x14
-+ IFT_ISDNPRIMARY = 0x15
-+ IFT_ISO88022LLC = 0x29
-+ IFT_ISO88023 = 0x7
-+ IFT_ISO88024 = 0x8
-+ IFT_ISO88025 = 0x9
-+ IFT_ISO88026 = 0xa
-+ IFT_LAPB = 0x10
-+ IFT_LOCALTALK = 0x2a
-+ IFT_LOOP = 0x18
-+ IFT_MIOX25 = 0x26
-+ IFT_MODEM = 0x30
-+ IFT_NSIP = 0x1b
-+ IFT_OTHER = 0x1
-+ IFT_P10 = 0xc
-+ IFT_P80 = 0xd
-+ IFT_PARA = 0x22
-+ IFT_PPP = 0x17
-+ IFT_PROPMUX = 0x36
-+ IFT_PROPVIRTUAL = 0x35
-+ IFT_PTPSERIAL = 0x16
-+ IFT_RS232 = 0x21
-+ IFT_SDLC = 0x11
-+ IFT_SIP = 0x1f
-+ IFT_SLIP = 0x1c
-+ IFT_SMDSDXI = 0x2b
-+ IFT_SMDSICIP = 0x34
-+ IFT_SN = 0x38
-+ IFT_SONET = 0x27
-+ IFT_SONETPATH = 0x32
-+ IFT_SONETVT = 0x33
-+ IFT_SP = 0x39
-+ IFT_STARLAN = 0xb
-+ IFT_T1 = 0x12
-+ IFT_TUNNEL = 0x3b
-+ IFT_ULTRA = 0x1d
-+ IFT_V35 = 0x2d
-+ IFT_VIPA = 0x37
-+ IFT_X25 = 0x5
-+ IFT_X25DDN = 0x4
-+ IFT_X25PLE = 0x28
-+ IFT_XETHER = 0x1a
-+ IGNBRK = 0x1
-+ IGNCR = 0x80
-+ IGNPAR = 0x4
-+ IMAXBEL = 0x10000
-+ 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_USE = 0x1
-+ IPPROTO_AH = 0x33
-+ IPPROTO_BIP = 0x53
-+ IPPROTO_DSTOPTS = 0x3c
-+ IPPROTO_EGP = 0x8
-+ IPPROTO_EON = 0x50
-+ IPPROTO_ESP = 0x32
-+ IPPROTO_FRAGMENT = 0x2c
-+ IPPROTO_GGP = 0x3
-+ IPPROTO_GIF = 0x8c
-+ IPPROTO_GRE = 0x2f
-+ IPPROTO_HOPOPTS = 0x0
-+ IPPROTO_ICMP = 0x1
-+ IPPROTO_ICMPV6 = 0x3a
-+ IPPROTO_IDP = 0x16
-+ IPPROTO_IGMP = 0x2
-+ IPPROTO_IP = 0x0
-+ IPPROTO_IPIP = 0x4
-+ IPPROTO_IPV6 = 0x29
-+ IPPROTO_LOCAL = 0x3f
-+ IPPROTO_MAX = 0x100
-+ IPPROTO_MH = 0x87
-+ IPPROTO_NONE = 0x3b
-+ IPPROTO_PUP = 0xc
-+ IPPROTO_QOS = 0x2d
-+ IPPROTO_RAW = 0xff
-+ IPPROTO_ROUTING = 0x2b
-+ IPPROTO_RSVP = 0x2e
-+ IPPROTO_SCTP = 0x84
-+ IPPROTO_TCP = 0x6
-+ IPPROTO_TP = 0x1d
-+ IPPROTO_UDP = 0x11
-+ IPV6_ADDRFORM = 0x16
-+ IPV6_ADDR_PREFERENCES = 0x4a
-+ IPV6_ADD_MEMBERSHIP = 0xc
-+ IPV6_AIXRAWSOCKET = 0x39
-+ IPV6_CHECKSUM = 0x27
-+ IPV6_DONTFRAG = 0x2d
-+ IPV6_DROP_MEMBERSHIP = 0xd
-+ IPV6_DSTOPTS = 0x36
-+ IPV6_FLOWINFO_FLOWLABEL = 0xffffff
-+ IPV6_FLOWINFO_PRIFLOW = 0xfffffff
-+ IPV6_FLOWINFO_PRIORITY = 0xf000000
-+ IPV6_FLOWINFO_SRFLAG = 0x10000000
-+ IPV6_FLOWINFO_VERSION = 0xf0000000
-+ IPV6_HOPLIMIT = 0x28
-+ IPV6_HOPOPTS = 0x34
-+ IPV6_JOIN_GROUP = 0xc
-+ IPV6_LEAVE_GROUP = 0xd
-+ IPV6_MIPDSTOPTS = 0x36
-+ IPV6_MULTICAST_HOPS = 0xa
-+ IPV6_MULTICAST_IF = 0x9
-+ IPV6_MULTICAST_LOOP = 0xb
-+ IPV6_NEXTHOP = 0x30
-+ IPV6_NOPROBE = 0x1c
-+ IPV6_PATHMTU = 0x2e
-+ IPV6_PKTINFO = 0x21
-+ IPV6_PKTOPTIONS = 0x24
-+ IPV6_PRIORITY_10 = 0xa000000
-+ IPV6_PRIORITY_11 = 0xb000000
-+ IPV6_PRIORITY_12 = 0xc000000
-+ IPV6_PRIORITY_13 = 0xd000000
-+ IPV6_PRIORITY_14 = 0xe000000
-+ IPV6_PRIORITY_15 = 0xf000000
-+ IPV6_PRIORITY_8 = 0x8000000
-+ IPV6_PRIORITY_9 = 0x9000000
-+ IPV6_PRIORITY_BULK = 0x4000000
-+ IPV6_PRIORITY_CONTROL = 0x7000000
-+ IPV6_PRIORITY_FILLER = 0x1000000
-+ IPV6_PRIORITY_INTERACTIVE = 0x6000000
-+ IPV6_PRIORITY_RESERVED1 = 0x3000000
-+ IPV6_PRIORITY_RESERVED2 = 0x5000000
-+ IPV6_PRIORITY_UNATTENDED = 0x2000000
-+ IPV6_PRIORITY_UNCHARACTERIZED = 0x0
-+ IPV6_RECVDSTOPTS = 0x38
-+ IPV6_RECVHOPLIMIT = 0x29
-+ IPV6_RECVHOPOPTS = 0x35
-+ IPV6_RECVHOPS = 0x22
-+ IPV6_RECVIF = 0x1e
-+ IPV6_RECVPATHMTU = 0x2f
-+ IPV6_RECVPKTINFO = 0x23
-+ IPV6_RECVRTHDR = 0x33
-+ IPV6_RECVSRCRT = 0x1d
-+ IPV6_RECVTCLASS = 0x2a
-+ IPV6_RTHDR = 0x32
-+ IPV6_RTHDRDSTOPTS = 0x37
-+ IPV6_RTHDR_TYPE_0 = 0x0
-+ IPV6_RTHDR_TYPE_2 = 0x2
-+ IPV6_SENDIF = 0x1f
-+ IPV6_SRFLAG_LOOSE = 0x0
-+ IPV6_SRFLAG_STRICT = 0x10000000
-+ IPV6_TCLASS = 0x2b
-+ IPV6_TOKEN_LENGTH = 0x40
-+ IPV6_UNICAST_HOPS = 0x4
-+ IPV6_USE_MIN_MTU = 0x2c
-+ IPV6_V6ONLY = 0x25
-+ IPV6_VERSION = 0x60000000
-+ IP_ADDRFORM = 0x16
-+ IP_ADD_MEMBERSHIP = 0xc
-+ IP_ADD_SOURCE_MEMBERSHIP = 0x3c
-+ IP_BLOCK_SOURCE = 0x3a
-+ IP_BROADCAST_IF = 0x10
-+ IP_CACHE_LINE_SIZE = 0x80
-+ IP_DEFAULT_MULTICAST_LOOP = 0x1
-+ IP_DEFAULT_MULTICAST_TTL = 0x1
-+ IP_DF = 0x4000
-+ IP_DHCPMODE = 0x11
-+ IP_DONTFRAG = 0x19
-+ IP_DROP_MEMBERSHIP = 0xd
-+ IP_DROP_SOURCE_MEMBERSHIP = 0x3d
-+ IP_FINDPMTU = 0x1a
-+ IP_HDRINCL = 0x2
-+ IP_INC_MEMBERSHIPS = 0x14
-+ IP_INIT_MEMBERSHIP = 0x14
-+ IP_MAXPACKET = 0xffff
-+ IP_MF = 0x2000
-+ IP_MSS = 0x240
-+ IP_MULTICAST_HOPS = 0xa
-+ IP_MULTICAST_IF = 0x9
-+ IP_MULTICAST_LOOP = 0xb
-+ IP_MULTICAST_TTL = 0xa
-+ IP_OPT = 0x1b
-+ IP_OPTIONS = 0x1
-+ IP_PMTUAGE = 0x1b
-+ IP_RECVDSTADDR = 0x7
-+ IP_RECVIF = 0x14
-+ IP_RECVIFINFO = 0xf
-+ IP_RECVINTERFACE = 0x20
-+ IP_RECVMACHDR = 0xe
-+ IP_RECVOPTS = 0x5
-+ IP_RECVRETOPTS = 0x6
-+ IP_RECVTTL = 0x22
-+ IP_RETOPTS = 0x8
-+ IP_SOURCE_FILTER = 0x48
-+ IP_TOS = 0x3
-+ IP_TTL = 0x4
-+ IP_UNBLOCK_SOURCE = 0x3b
-+ IP_UNICAST_HOPS = 0x4
-+ ISIG = 0x1
-+ ISTRIP = 0x20
-+ IUCLC = 0x800
-+ IXANY = 0x1000
-+ IXOFF = 0x400
-+ IXON = 0x200
-+ I_FLUSH = 0x20005305
-+ LNOFLSH = 0x8000
-+ LOCK_EX = 0x2
-+ LOCK_NB = 0x4
-+ LOCK_SH = 0x1
-+ LOCK_UN = 0x8
-+ MADV_DONTNEED = 0x4
-+ MADV_NORMAL = 0x0
-+ MADV_RANDOM = 0x1
-+ MADV_SEQUENTIAL = 0x2
-+ MADV_SPACEAVAIL = 0x5
-+ MADV_WILLNEED = 0x3
-+ MAP_ANON = 0x10
-+ MAP_ANONYMOUS = 0x10
-+ MAP_FILE = 0x0
-+ MAP_FIXED = 0x100
-+ MAP_PRIVATE = 0x2
-+ MAP_SHARED = 0x1
-+ MAP_TYPE = 0xf0
-+ MAP_VARIABLE = 0x0
-+ MCAST_BLOCK_SOURCE = 0x40
-+ MCAST_EXCLUDE = 0x2
-+ MCAST_INCLUDE = 0x1
-+ MCAST_JOIN_GROUP = 0x3e
-+ MCAST_JOIN_SOURCE_GROUP = 0x42
-+ MCAST_LEAVE_GROUP = 0x3f
-+ MCAST_LEAVE_SOURCE_GROUP = 0x43
-+ MCAST_SOURCE_FILTER = 0x49
-+ MCAST_UNBLOCK_SOURCE = 0x41
-+ MCL_CURRENT = 0x100
-+ MCL_FUTURE = 0x200
-+ MSG_ANY = 0x4
-+ MSG_ARGEXT = 0x400
-+ MSG_BAND = 0x2
-+ MSG_COMPAT = 0x8000
-+ MSG_CTRUNC = 0x20
-+ MSG_DONTROUTE = 0x4
-+ MSG_EOR = 0x8
-+ MSG_HIPRI = 0x1
-+ MSG_MAXIOVLEN = 0x10
-+ MSG_MPEG2 = 0x80
-+ MSG_NONBLOCK = 0x4000
-+ MSG_NOSIGNAL = 0x100
-+ MSG_OOB = 0x1
-+ MSG_PEEK = 0x2
-+ MSG_TRUNC = 0x10
-+ MSG_WAITALL = 0x40
-+ MSG_WAITFORONE = 0x200
-+ MS_ASYNC = 0x10
-+ MS_EINTR = 0x80
-+ MS_INVALIDATE = 0x40
-+ MS_PER_SEC = 0x3e8
-+ MS_SYNC = 0x20
-+ NFDBITS = 0x40
-+ NL0 = 0x0
-+ NL1 = 0x4000
-+ NL2 = 0x8000
-+ NL3 = 0xc000
-+ NLDLY = 0x4000
-+ NOFLSH = 0x80
-+ NOFLUSH = 0x80000000
-+ OCRNL = 0x8
-+ OFDEL = 0x80
-+ OFILL = 0x40
-+ OLCUC = 0x2
-+ ONLCR = 0x4
-+ ONLRET = 0x20
-+ ONOCR = 0x10
-+ ONOEOT = 0x80000
-+ OPOST = 0x1
-+ OXTABS = 0x40000
-+ O_ACCMODE = 0x23
-+ O_APPEND = 0x8
-+ O_CIO = 0x80
-+ O_CIOR = 0x800000000
-+ O_CLOEXEC = 0x800000
-+ O_CREAT = 0x100
-+ O_DEFER = 0x2000
-+ O_DELAY = 0x4000
-+ O_DIRECT = 0x8000000
-+ O_DIRECTORY = 0x80000
-+ O_DSYNC = 0x400000
-+ O_EFSOFF = 0x400000000
-+ O_EFSON = 0x200000000
-+ O_EXCL = 0x400
-+ O_EXEC = 0x20
-+ O_LARGEFILE = 0x4000000
-+ O_NDELAY = 0x8000
-+ O_NOCACHE = 0x100000
-+ O_NOCTTY = 0x800
-+ O_NOFOLLOW = 0x1000000
-+ O_NONBLOCK = 0x4
-+ O_NONE = 0x3
-+ O_NSHARE = 0x10000
-+ O_RAW = 0x100000000
-+ O_RDONLY = 0x0
-+ O_RDWR = 0x2
-+ O_RSHARE = 0x1000
-+ O_RSYNC = 0x200000
-+ O_SEARCH = 0x20
-+ O_SNAPSHOT = 0x40
-+ O_SYNC = 0x10
-+ O_TRUNC = 0x200
-+ O_TTY_INIT = 0x0
-+ O_WRONLY = 0x1
-+ PARENB = 0x100
-+ PAREXT = 0x100000
-+ PARMRK = 0x8
-+ PARODD = 0x200
-+ PENDIN = 0x20000000
-+ PRIO_PGRP = 0x1
-+ PRIO_PROCESS = 0x0
-+ PRIO_USER = 0x2
-+ PROT_EXEC = 0x4
-+ PROT_NONE = 0x0
-+ PROT_READ = 0x1
-+ PROT_WRITE = 0x2
-+ PR_64BIT = 0x20
-+ PR_ADDR = 0x2
-+ PR_ARGEXT = 0x400
-+ PR_ATOMIC = 0x1
-+ PR_CONNREQUIRED = 0x4
-+ PR_FASTHZ = 0x5
-+ PR_INP = 0x40
-+ PR_INTRLEVEL = 0x8000
-+ PR_MLS = 0x100
-+ PR_MLS_1_LABEL = 0x200
-+ PR_NOEOR = 0x4000
-+ PR_RIGHTS = 0x10
-+ PR_SLOWHZ = 0x2
-+ PR_WANTRCVD = 0x8
-+ RLIMIT_AS = 0x6
-+ RLIMIT_CORE = 0x4
-+ RLIMIT_CPU = 0x0
-+ RLIMIT_DATA = 0x2
-+ RLIMIT_FSIZE = 0x1
-+ RLIMIT_NOFILE = 0x7
-+ RLIMIT_NPROC = 0x9
-+ 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_DOWNSTREAM = 0x100
-+ RTA_DST = 0x1
-+ RTA_GATEWAY = 0x2
-+ RTA_GENMASK = 0x8
-+ RTA_IFA = 0x20
-+ RTA_IFP = 0x10
-+ RTA_NETMASK = 0x4
-+ RTC_IA64 = 0x3
-+ RTC_POWER = 0x1
-+ RTC_POWER_PC = 0x2
-+ RTF_ACTIVE_DGD = 0x1000000
-+ RTF_BCE = 0x80000
-+ RTF_BLACKHOLE = 0x1000
-+ RTF_BROADCAST = 0x400000
-+ RTF_BUL = 0x2000
-+ RTF_CLONE = 0x10000
-+ RTF_CLONED = 0x20000
-+ RTF_CLONING = 0x100
-+ RTF_DONE = 0x40
-+ RTF_DYNAMIC = 0x10
-+ RTF_FREE_IN_PROG = 0x4000000
-+ RTF_GATEWAY = 0x2
-+ RTF_HOST = 0x4
-+ RTF_LLINFO = 0x400
-+ RTF_LOCAL = 0x200000
-+ RTF_MASK = 0x80
-+ RTF_MODIFIED = 0x20
-+ RTF_MULTICAST = 0x800000
-+ RTF_PERMANENT6 = 0x8000000
-+ RTF_PINNED = 0x100000
-+ RTF_PROTO1 = 0x8000
-+ RTF_PROTO2 = 0x4000
-+ RTF_PROTO3 = 0x40000
-+ RTF_REJECT = 0x8
-+ RTF_SMALLMTU = 0x40000
-+ RTF_STATIC = 0x800
-+ RTF_STOPSRCH = 0x2000000
-+ RTF_UNREACHABLE = 0x10000000
-+ RTF_UP = 0x1
-+ RTF_XRESOLVE = 0x200
-+ RTM_ADD = 0x1
-+ RTM_CHANGE = 0x3
-+ RTM_DELADDR = 0xd
-+ RTM_DELETE = 0x2
-+ RTM_EXPIRE = 0xf
-+ RTM_GET = 0x4
-+ RTM_GETNEXT = 0x11
-+ RTM_IFINFO = 0xe
-+ RTM_LOCK = 0x8
-+ RTM_LOSING = 0x5
-+ RTM_MISS = 0x7
-+ RTM_NEWADDR = 0xc
-+ RTM_OLDADD = 0x9
-+ RTM_OLDDEL = 0xa
-+ RTM_REDIRECT = 0x6
-+ RTM_RESOLVE = 0xb
-+ RTM_RTLOST = 0x10
-+ RTM_RTTUNIT = 0xf4240
-+ RTM_SAMEADDR = 0x12
-+ RTM_SET = 0x13
-+ RTM_VERSION = 0x2
-+ RTM_VERSION_GR = 0x4
-+ RTM_VERSION_GR_COMPAT = 0x3
-+ RTM_VERSION_POLICY = 0x5
-+ RTM_VERSION_POLICY_EXT = 0x6
-+ RTM_VERSION_POLICY_PRFN = 0x7
-+ 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
-+ RUSAGE_THREAD = 0x1
-+ SCM_RIGHTS = 0x1
-+ SHUT_RD = 0x0
-+ SHUT_RDWR = 0x2
-+ SHUT_WR = 0x1
-+ SIGMAX64 = 0xff
-+ SIGQUEUE_MAX = 0x20
-+ SIOCADDIFVIPA = 0x20006942
-+ SIOCADDMTU = -0x7ffb9690
-+ SIOCADDMULTI = -0x7fdf96cf
-+ SIOCADDNETID = -0x7fd796a9
-+ SIOCADDRT = -0x7fc78df6
-+ SIOCAIFADDR = -0x7fbf96e6
-+ SIOCATMARK = 0x40047307
-+ SIOCDARP = -0x7fb396e0
-+ SIOCDELIFVIPA = 0x20006943
-+ SIOCDELMTU = -0x7ffb968f
-+ SIOCDELMULTI = -0x7fdf96ce
-+ SIOCDELPMTU = -0x7fd78ff6
-+ SIOCDELRT = -0x7fc78df5
-+ SIOCDIFADDR = -0x7fd796e7
-+ SIOCDNETOPT = -0x3ffe9680
-+ SIOCDX25XLATE = -0x7fd7969b
-+ SIOCFIFADDR = -0x7fdf966d
-+ SIOCGARP = -0x3fb396da
-+ SIOCGETMTUS = 0x2000696f
-+ SIOCGETSGCNT = -0x3feb8acc
-+ SIOCGETVIFCNT = -0x3feb8acd
-+ SIOCGHIWAT = 0x40047301
-+ SIOCGIFADDR = -0x3fd796df
-+ SIOCGIFADDRS = 0x2000698c
-+ SIOCGIFBAUDRATE = -0x3fdf9669
-+ SIOCGIFBRDADDR = -0x3fd796dd
-+ SIOCGIFCONF = -0x3fef96bb
-+ SIOCGIFCONFGLOB = -0x3fef9670
-+ SIOCGIFDSTADDR = -0x3fd796de
-+ SIOCGIFFLAGS = -0x3fd796ef
-+ SIOCGIFGIDLIST = 0x20006968
-+ SIOCGIFHWADDR = -0x3fab966b
-+ SIOCGIFMETRIC = -0x3fd796e9
-+ SIOCGIFMTU = -0x3fd796aa
-+ SIOCGIFNETMASK = -0x3fd796db
-+ SIOCGIFOPTIONS = -0x3fd796d6
-+ SIOCGISNO = -0x3fd79695
-+ SIOCGLOADF = -0x3ffb967e
-+ SIOCGLOWAT = 0x40047303
-+ SIOCGNETOPT = -0x3ffe96a5
-+ SIOCGNETOPT1 = -0x3fdf967f
-+ SIOCGNMTUS = 0x2000696e
-+ SIOCGPGRP = 0x40047309
-+ SIOCGSIZIFCONF = 0x4004696a
-+ SIOCGSRCFILTER = -0x3fe796cb
-+ SIOCGTUNEPHASE = -0x3ffb9676
-+ SIOCGX25XLATE = -0x3fd7969c
-+ SIOCIFATTACH = -0x7fdf9699
-+ SIOCIFDETACH = -0x7fdf969a
-+ SIOCIFGETPKEY = -0x7fdf969b
-+ SIOCIF_ATM_DARP = -0x7fdf9683
-+ SIOCIF_ATM_DUMPARP = -0x7fdf9685
-+ SIOCIF_ATM_GARP = -0x7fdf9682
-+ SIOCIF_ATM_IDLE = -0x7fdf9686
-+ SIOCIF_ATM_SARP = -0x7fdf9681
-+ SIOCIF_ATM_SNMPARP = -0x7fdf9687
-+ SIOCIF_ATM_SVC = -0x7fdf9684
-+ SIOCIF_ATM_UBR = -0x7fdf9688
-+ SIOCIF_DEVHEALTH = -0x7ffb966c
-+ SIOCIF_IB_ARP_INCOMP = -0x7fdf9677
-+ SIOCIF_IB_ARP_TIMER = -0x7fdf9678
-+ SIOCIF_IB_CLEAR_PINFO = -0x3fdf966f
-+ SIOCIF_IB_DEL_ARP = -0x7fdf967f
-+ SIOCIF_IB_DEL_PINFO = -0x3fdf9670
-+ SIOCIF_IB_DUMP_ARP = -0x7fdf9680
-+ SIOCIF_IB_GET_ARP = -0x7fdf967e
-+ SIOCIF_IB_GET_INFO = -0x3f879675
-+ SIOCIF_IB_GET_STATS = -0x3f879672
-+ SIOCIF_IB_NOTIFY_ADDR_REM = -0x3f87966a
-+ SIOCIF_IB_RESET_STATS = -0x3f879671
-+ SIOCIF_IB_RESIZE_CQ = -0x7fdf9679
-+ SIOCIF_IB_SET_ARP = -0x7fdf967d
-+ SIOCIF_IB_SET_PKEY = -0x7fdf967c
-+ SIOCIF_IB_SET_PORT = -0x7fdf967b
-+ SIOCIF_IB_SET_QKEY = -0x7fdf9676
-+ SIOCIF_IB_SET_QSIZE = -0x7fdf967a
-+ SIOCLISTIFVIPA = 0x20006944
-+ SIOCSARP = -0x7fb396e2
-+ SIOCSHIWAT = 0xffffffff80047300
-+ SIOCSIFADDR = -0x7fd796f4
-+ SIOCSIFADDRORI = -0x7fdb9673
-+ SIOCSIFBRDADDR = -0x7fd796ed
-+ SIOCSIFDSTADDR = -0x7fd796f2
-+ SIOCSIFFLAGS = -0x7fd796f0
-+ SIOCSIFGIDLIST = 0x20006969
-+ SIOCSIFMETRIC = -0x7fd796e8
-+ SIOCSIFMTU = -0x7fd796a8
-+ SIOCSIFNETDUMP = -0x7fd796e4
-+ SIOCSIFNETMASK = -0x7fd796ea
-+ SIOCSIFOPTIONS = -0x7fd796d7
-+ SIOCSIFSUBCHAN = -0x7fd796e5
-+ SIOCSISNO = -0x7fd79694
-+ SIOCSLOADF = -0x3ffb967d
-+ SIOCSLOWAT = 0xffffffff80047302
-+ SIOCSNETOPT = -0x7ffe96a6
-+ SIOCSPGRP = 0xffffffff80047308
-+ SIOCSX25XLATE = -0x7fd7969d
-+ SOCK_CONN_DGRAM = 0x6
-+ SOCK_DGRAM = 0x2
-+ SOCK_RAW = 0x3
-+ SOCK_RDM = 0x4
-+ SOCK_SEQPACKET = 0x5
-+ SOCK_STREAM = 0x1
-+ SOL_SOCKET = 0xffff
-+ SOMAXCONN = 0x400
-+ SO_ACCEPTCONN = 0x2
-+ SO_AUDIT = 0x8000
-+ SO_BROADCAST = 0x20
-+ SO_CKSUMRECV = 0x800
-+ SO_DEBUG = 0x1
-+ SO_DONTROUTE = 0x10
-+ SO_ERROR = 0x1007
-+ SO_KEEPALIVE = 0x8
-+ SO_KERNACCEPT = 0x2000
-+ SO_LINGER = 0x80
-+ SO_NOMULTIPATH = 0x4000
-+ SO_NOREUSEADDR = 0x1000
-+ SO_OOBINLINE = 0x100
-+ SO_PEERID = 0x1009
-+ SO_RCVBUF = 0x1002
-+ SO_RCVLOWAT = 0x1004
-+ SO_RCVTIMEO = 0x1006
-+ SO_REUSEADDR = 0x4
-+ SO_REUSEPORT = 0x200
-+ SO_SNDBUF = 0x1001
-+ SO_SNDLOWAT = 0x1003
-+ SO_SNDTIMEO = 0x1005
-+ SO_TIMESTAMPNS = 0x100a
-+ SO_TYPE = 0x1008
-+ SO_USELOOPBACK = 0x40
-+ SO_USE_IFBUFS = 0x400
-+ S_BANDURG = 0x400
-+ S_EMODFMT = 0x3c000000
-+ S_ENFMT = 0x400
-+ S_ERROR = 0x100
-+ S_HANGUP = 0x200
-+ S_HIPRI = 0x2
-+ S_ICRYPTO = 0x80000
-+ S_IEXEC = 0x40
-+ S_IFBLK = 0x6000
-+ S_IFCHR = 0x2000
-+ S_IFDIR = 0x4000
-+ S_IFIFO = 0x1000
-+ S_IFJOURNAL = 0x10000
-+ S_IFLNK = 0xa000
-+ S_IFMPX = 0x2200
-+ S_IFMT = 0xf000
-+ S_IFPDIR = 0x4000000
-+ S_IFPSDIR = 0x8000000
-+ S_IFPSSDIR = 0xc000000
-+ S_IFREG = 0x8000
-+ S_IFSOCK = 0xc000
-+ S_IFSYSEA = 0x30000000
-+ S_INPUT = 0x1
-+ S_IREAD = 0x100
-+ S_IRGRP = 0x20
-+ S_IROTH = 0x4
-+ S_IRUSR = 0x100
-+ S_IRWXG = 0x38
-+ S_IRWXO = 0x7
-+ S_IRWXU = 0x1c0
-+ S_ISGID = 0x400
-+ S_ISUID = 0x800
-+ S_ISVTX = 0x200
-+ S_ITCB = 0x1000000
-+ S_ITP = 0x800000
-+ S_IWGRP = 0x10
-+ S_IWOTH = 0x2
-+ S_IWRITE = 0x80
-+ S_IWUSR = 0x80
-+ S_IXACL = 0x2000000
-+ S_IXATTR = 0x40000
-+ S_IXGRP = 0x8
-+ S_IXINTERFACE = 0x100000
-+ S_IXMOD = 0x40000000
-+ S_IXOTH = 0x1
-+ S_IXUSR = 0x40
-+ S_MSG = 0x8
-+ S_OUTPUT = 0x4
-+ S_RDBAND = 0x20
-+ S_RDNORM = 0x10
-+ S_RESERVED1 = 0x20000
-+ S_RESERVED2 = 0x200000
-+ S_RESERVED3 = 0x400000
-+ S_RESERVED4 = 0x80000000
-+ S_RESFMT1 = 0x10000000
-+ S_RESFMT10 = 0x34000000
-+ S_RESFMT11 = 0x38000000
-+ S_RESFMT12 = 0x3c000000
-+ S_RESFMT2 = 0x14000000
-+ S_RESFMT3 = 0x18000000
-+ S_RESFMT4 = 0x1c000000
-+ S_RESFMT5 = 0x20000000
-+ S_RESFMT6 = 0x24000000
-+ S_RESFMT7 = 0x28000000
-+ S_RESFMT8 = 0x2c000000
-+ S_WRBAND = 0x80
-+ S_WRNORM = 0x40
-+ TAB0 = 0x0
-+ TAB1 = 0x400
-+ TAB2 = 0x800
-+ TAB3 = 0xc00
-+ TABDLY = 0xc00
-+ TCFLSH = 0x540c
-+ TCGETA = 0x5405
-+ TCGETS = 0x5401
-+ TCIFLUSH = 0x0
-+ TCIOFF = 0x2
-+ TCIOFLUSH = 0x2
-+ TCION = 0x3
-+ TCOFLUSH = 0x1
-+ TCOOFF = 0x0
-+ TCOON = 0x1
-+ TCP_24DAYS_WORTH_OF_SLOWTICKS = 0x3f4800
-+ TCP_ACLADD = 0x23
-+ TCP_ACLBIND = 0x26
-+ TCP_ACLCLEAR = 0x22
-+ TCP_ACLDEL = 0x24
-+ TCP_ACLDENY = 0x8
-+ TCP_ACLFLUSH = 0x21
-+ TCP_ACLGID = 0x1
-+ TCP_ACLLS = 0x25
-+ TCP_ACLSUBNET = 0x4
-+ TCP_ACLUID = 0x2
-+ TCP_CWND_DF = 0x16
-+ TCP_CWND_IF = 0x15
-+ TCP_DELAY_ACK_FIN = 0x2
-+ TCP_DELAY_ACK_SYN = 0x1
-+ TCP_FASTNAME = 0x101080a
-+ TCP_KEEPCNT = 0x13
-+ TCP_KEEPIDLE = 0x11
-+ TCP_KEEPINTVL = 0x12
-+ TCP_LSPRIV = 0x29
-+ TCP_LUID = 0x20
-+ TCP_MAXBURST = 0x8
-+ TCP_MAXDF = 0x64
-+ TCP_MAXIF = 0x64
-+ TCP_MAXSEG = 0x2
-+ TCP_MAXWIN = 0xffff
-+ TCP_MAXWINDOWSCALE = 0xe
-+ TCP_MAX_SACK = 0x4
-+ TCP_MSS = 0x5b4
-+ TCP_NODELAY = 0x1
-+ TCP_NODELAYACK = 0x14
-+ TCP_NOREDUCE_CWND_EXIT_FRXMT = 0x19
-+ TCP_NOREDUCE_CWND_IN_FRXMT = 0x18
-+ TCP_NOTENTER_SSTART = 0x17
-+ TCP_OPT = 0x19
-+ TCP_RFC1323 = 0x4
-+ TCP_SETPRIV = 0x27
-+ TCP_STDURG = 0x10
-+ TCP_TIMESTAMP_OPTLEN = 0xc
-+ TCP_UNSETPRIV = 0x28
-+ TCSAFLUSH = 0x2
-+ TCSBRK = 0x5409
-+ TCSETA = 0x5406
-+ TCSETAF = 0x5408
-+ TCSETAW = 0x5407
-+ TCSETS = 0x5402
-+ TCSETSF = 0x5404
-+ TCSETSW = 0x5403
-+ TCXONC = 0x540b
-+ TIMER_ABSTIME = 0x3e7
-+ TIMER_MAX = 0x20
-+ TIOC = 0x5400
-+ TIOCCBRK = 0x2000747a
-+ TIOCCDTR = 0x20007478
-+ TIOCCONS = 0xffffffff80047462
-+ TIOCEXCL = 0x2000740d
-+ TIOCFLUSH = 0xffffffff80047410
-+ TIOCGETC = 0x40067412
-+ TIOCGETD = 0x40047400
-+ TIOCGETP = 0x40067408
-+ TIOCGLTC = 0x40067474
-+ TIOCGPGRP = 0x40047477
-+ TIOCGSID = 0x40047448
-+ TIOCGSIZE = 0x40087468
-+ TIOCGWINSZ = 0x40087468
-+ TIOCHPCL = 0x20007402
-+ TIOCLBIC = 0xffffffff8004747e
-+ TIOCLBIS = 0xffffffff8004747f
-+ TIOCLGET = 0x4004747c
-+ TIOCLSET = 0xffffffff8004747d
-+ TIOCMBIC = 0xffffffff8004746b
-+ TIOCMBIS = 0xffffffff8004746c
-+ TIOCMGET = 0x4004746a
-+ TIOCMIWAIT = 0xffffffff80047464
-+ TIOCMODG = 0x40047403
-+ TIOCMODS = 0xffffffff80047404
-+ TIOCMSET = 0xffffffff8004746d
-+ 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 = 0xffffffff80047470
-+ TIOCPKT_DATA = 0x0
-+ TIOCPKT_DOSTOP = 0x20
-+ TIOCPKT_FLUSHREAD = 0x1
-+ TIOCPKT_FLUSHWRITE = 0x2
-+ TIOCPKT_NOSTOP = 0x10
-+ TIOCPKT_START = 0x8
-+ TIOCPKT_STOP = 0x4
-+ TIOCREMOTE = 0xffffffff80047469
-+ TIOCSBRK = 0x2000747b
-+ TIOCSDTR = 0x20007479
-+ TIOCSETC = 0xffffffff80067411
-+ TIOCSETD = 0xffffffff80047401
-+ TIOCSETN = 0xffffffff8006740a
-+ TIOCSETP = 0xffffffff80067409
-+ TIOCSLTC = 0xffffffff80067475
-+ TIOCSPGRP = 0xffffffff80047476
-+ TIOCSSIZE = 0xffffffff80087467
-+ TIOCSTART = 0x2000746e
-+ TIOCSTI = 0xffffffff80017472
-+ TIOCSTOP = 0x2000746f
-+ TIOCSWINSZ = 0xffffffff80087467
-+ TIOCUCNTL = 0xffffffff80047466
-+ TOSTOP = 0x10000
-+ UTIME_NOW = -0x2
-+ UTIME_OMIT = -0x3
-+ VDISCRD = 0xc
-+ VDSUSP = 0xa
-+ VEOF = 0x4
-+ VEOL = 0x5
-+ VEOL2 = 0x6
-+ VERASE = 0x2
-+ VINTR = 0x0
-+ VKILL = 0x3
-+ VLNEXT = 0xe
-+ VMIN = 0x4
-+ VQUIT = 0x1
-+ VREPRINT = 0xb
-+ VSTART = 0x7
-+ VSTOP = 0x8
-+ VSTRT = 0x7
-+ VSUSP = 0x9
-+ VT0 = 0x0
-+ VT1 = 0x8000
-+ VTDELAY = 0x2000
-+ VTDLY = 0x8000
-+ VTIME = 0x5
-+ VWERSE = 0xd
-+ WPARSTART = 0x1
-+ WPARSTOP = 0x2
-+ WPARTTYNAME = "Global"
-+ XCASE = 0x4
-+ XTABS = 0xc00
-+ _FDATAFLUSH = 0x2000000000
-+)
-+
-+// Errors
-+const (
-+ E2BIG = syscall.Errno(0x7)
-+ EACCES = syscall.Errno(0xd)
-+ EADDRINUSE = syscall.Errno(0x43)
-+ EADDRNOTAVAIL = syscall.Errno(0x44)
-+ EAFNOSUPPORT = syscall.Errno(0x42)
-+ EAGAIN = syscall.Errno(0xb)
-+ EALREADY = syscall.Errno(0x38)
-+ EBADF = syscall.Errno(0x9)
-+ EBADMSG = syscall.Errno(0x78)
-+ EBUSY = syscall.Errno(0x10)
-+ ECANCELED = syscall.Errno(0x75)
-+ ECHILD = syscall.Errno(0xa)
-+ ECHRNG = syscall.Errno(0x25)
-+ ECLONEME = syscall.Errno(0x52)
-+ ECONNABORTED = syscall.Errno(0x48)
-+ ECONNREFUSED = syscall.Errno(0x4f)
-+ ECONNRESET = syscall.Errno(0x49)
-+ ECORRUPT = syscall.Errno(0x59)
-+ EDEADLK = syscall.Errno(0x2d)
-+ EDESTADDREQ = syscall.Errno(0x3a)
-+ EDESTADDRREQ = syscall.Errno(0x3a)
-+ EDIST = syscall.Errno(0x35)
-+ EDOM = syscall.Errno(0x21)
-+ EDQUOT = syscall.Errno(0x58)
-+ EEXIST = syscall.Errno(0x11)
-+ EFAULT = syscall.Errno(0xe)
-+ EFBIG = syscall.Errno(0x1b)
-+ EFORMAT = syscall.Errno(0x30)
-+ EHOSTDOWN = syscall.Errno(0x50)
-+ EHOSTUNREACH = syscall.Errno(0x51)
-+ EIDRM = syscall.Errno(0x24)
-+ EILSEQ = syscall.Errno(0x74)
-+ EINPROGRESS = syscall.Errno(0x37)
-+ EINTR = syscall.Errno(0x4)
-+ EINVAL = syscall.Errno(0x16)
-+ EIO = syscall.Errno(0x5)
-+ EISCONN = syscall.Errno(0x4b)
-+ EISDIR = syscall.Errno(0x15)
-+ EL2HLT = syscall.Errno(0x2c)
-+ EL2NSYNC = syscall.Errno(0x26)
-+ EL3HLT = syscall.Errno(0x27)
-+ EL3RST = syscall.Errno(0x28)
-+ ELNRNG = syscall.Errno(0x29)
-+ ELOOP = syscall.Errno(0x55)
-+ EMEDIA = syscall.Errno(0x6e)
-+ EMFILE = syscall.Errno(0x18)
-+ EMLINK = syscall.Errno(0x1f)
-+ EMSGSIZE = syscall.Errno(0x3b)
-+ EMULTIHOP = syscall.Errno(0x7d)
-+ ENAMETOOLONG = syscall.Errno(0x56)
-+ ENETDOWN = syscall.Errno(0x45)
-+ ENETRESET = syscall.Errno(0x47)
-+ ENETUNREACH = syscall.Errno(0x46)
-+ ENFILE = syscall.Errno(0x17)
-+ ENOATTR = syscall.Errno(0x70)
-+ ENOBUFS = syscall.Errno(0x4a)
-+ ENOCONNECT = syscall.Errno(0x32)
-+ ENOCSI = syscall.Errno(0x2b)
-+ ENODATA = syscall.Errno(0x7a)
-+ ENODEV = syscall.Errno(0x13)
-+ ENOENT = syscall.Errno(0x2)
-+ ENOEXEC = syscall.Errno(0x8)
-+ ENOLCK = syscall.Errno(0x31)
-+ ENOLINK = syscall.Errno(0x7e)
-+ ENOMEM = syscall.Errno(0xc)
-+ ENOMSG = syscall.Errno(0x23)
-+ ENOPROTOOPT = syscall.Errno(0x3d)
-+ ENOSPC = syscall.Errno(0x1c)
-+ ENOSR = syscall.Errno(0x76)
-+ ENOSTR = syscall.Errno(0x7b)
-+ ENOSYS = syscall.Errno(0x6d)
-+ ENOTBLK = syscall.Errno(0xf)
-+ ENOTCONN = syscall.Errno(0x4c)
-+ ENOTDIR = syscall.Errno(0x14)
-+ ENOTEMPTY = syscall.Errno(0x11)
-+ ENOTREADY = syscall.Errno(0x2e)
-+ ENOTRECOVERABLE = syscall.Errno(0x5e)
-+ ENOTRUST = syscall.Errno(0x72)
-+ ENOTSOCK = syscall.Errno(0x39)
-+ ENOTSUP = syscall.Errno(0x7c)
-+ ENOTTY = syscall.Errno(0x19)
-+ ENXIO = syscall.Errno(0x6)
-+ EOPNOTSUPP = syscall.Errno(0x40)
-+ EOVERFLOW = syscall.Errno(0x7f)
-+ EOWNERDEAD = syscall.Errno(0x5f)
-+ EPERM = syscall.Errno(0x1)
-+ EPFNOSUPPORT = syscall.Errno(0x41)
-+ EPIPE = syscall.Errno(0x20)
-+ EPROCLIM = syscall.Errno(0x53)
-+ EPROTO = syscall.Errno(0x79)
-+ EPROTONOSUPPORT = syscall.Errno(0x3e)
-+ EPROTOTYPE = syscall.Errno(0x3c)
-+ ERANGE = syscall.Errno(0x22)
-+ EREMOTE = syscall.Errno(0x5d)
-+ ERESTART = syscall.Errno(0x52)
-+ EROFS = syscall.Errno(0x1e)
-+ ESAD = syscall.Errno(0x71)
-+ ESHUTDOWN = syscall.Errno(0x4d)
-+ ESOCKTNOSUPPORT = syscall.Errno(0x3f)
-+ ESOFT = syscall.Errno(0x6f)
-+ ESPIPE = syscall.Errno(0x1d)
-+ ESRCH = syscall.Errno(0x3)
-+ ESTALE = syscall.Errno(0x34)
-+ ESYSERROR = syscall.Errno(0x5a)
-+ ETIME = syscall.Errno(0x77)
-+ ETIMEDOUT = syscall.Errno(0x4e)
-+ ETOOMANYREFS = syscall.Errno(0x73)
-+ ETXTBSY = syscall.Errno(0x1a)
-+ EUNATCH = syscall.Errno(0x2a)
-+ EUSERS = syscall.Errno(0x54)
-+ EWOULDBLOCK = syscall.Errno(0xb)
-+ EWRPROTECT = syscall.Errno(0x2f)
-+ EXDEV = syscall.Errno(0x12)
-+)
-+
-+// Signals
-+const (
-+ SIGABRT = syscall.Signal(0x6)
-+ SIGAIO = syscall.Signal(0x17)
-+ SIGALRM = syscall.Signal(0xe)
-+ SIGALRM1 = syscall.Signal(0x26)
-+ SIGBUS = syscall.Signal(0xa)
-+ SIGCAPI = syscall.Signal(0x31)
-+ SIGCHLD = syscall.Signal(0x14)
-+ SIGCLD = syscall.Signal(0x14)
-+ SIGCONT = syscall.Signal(0x13)
-+ SIGCPUFAIL = syscall.Signal(0x3b)
-+ SIGDANGER = syscall.Signal(0x21)
-+ SIGEMT = syscall.Signal(0x7)
-+ SIGFPE = syscall.Signal(0x8)
-+ SIGGRANT = syscall.Signal(0x3c)
-+ SIGHUP = syscall.Signal(0x1)
-+ SIGILL = syscall.Signal(0x4)
-+ SIGINT = syscall.Signal(0x2)
-+ SIGIO = syscall.Signal(0x17)
-+ SIGIOINT = syscall.Signal(0x10)
-+ SIGIOT = syscall.Signal(0x6)
-+ SIGKAP = syscall.Signal(0x3c)
-+ SIGKILL = syscall.Signal(0x9)
-+ SIGLOST = syscall.Signal(0x6)
-+ SIGMAX = syscall.Signal(0xff)
-+ SIGMAX32 = syscall.Signal(0x3f)
-+ SIGMIGRATE = syscall.Signal(0x23)
-+ SIGMSG = syscall.Signal(0x1b)
-+ SIGPIPE = syscall.Signal(0xd)
-+ SIGPOLL = syscall.Signal(0x17)
-+ SIGPRE = syscall.Signal(0x24)
-+ SIGPROF = syscall.Signal(0x20)
-+ SIGPTY = syscall.Signal(0x17)
-+ SIGPWR = syscall.Signal(0x1d)
-+ SIGQUIT = syscall.Signal(0x3)
-+ SIGRECONFIG = syscall.Signal(0x3a)
-+ SIGRETRACT = syscall.Signal(0x3d)
-+ SIGSAK = syscall.Signal(0x3f)
-+ SIGSEGV = syscall.Signal(0xb)
-+ SIGSOUND = syscall.Signal(0x3e)
-+ SIGSTOP = syscall.Signal(0x11)
-+ SIGSYS = syscall.Signal(0xc)
-+ SIGSYSERROR = syscall.Signal(0x30)
-+ SIGTALRM = syscall.Signal(0x26)
-+ SIGTERM = syscall.Signal(0xf)
-+ SIGTRAP = syscall.Signal(0x5)
-+ SIGTSTP = syscall.Signal(0x12)
-+ SIGTTIN = syscall.Signal(0x15)
-+ SIGTTOU = syscall.Signal(0x16)
-+ SIGURG = syscall.Signal(0x10)
-+ SIGUSR1 = syscall.Signal(0x1e)
-+ SIGUSR2 = syscall.Signal(0x1f)
-+ SIGVIRT = syscall.Signal(0x25)
-+ SIGVTALRM = syscall.Signal(0x22)
-+ SIGWAITING = syscall.Signal(0x27)
-+ 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", "not owner"},
-+ {2, "ENOENT", "no such file or directory"},
-+ {3, "ESRCH", "no such process"},
-+ {4, "EINTR", "interrupted system call"},
-+ {5, "EIO", "I/O error"},
-+ {6, "ENXIO", "no such device or address"},
-+ {7, "E2BIG", "arg list too long"},
-+ {8, "ENOEXEC", "exec format error"},
-+ {9, "EBADF", "bad file number"},
-+ {10, "ECHILD", "no child processes"},
-+ {11, "EWOULDBLOCK", "resource temporarily unavailable"},
-+ {12, "ENOMEM", "not enough space"},
-+ {13, "EACCES", "permission denied"},
-+ {14, "EFAULT", "bad address"},
-+ {15, "ENOTBLK", "block device required"},
-+ {16, "EBUSY", "device busy"},
-+ {17, "ENOTEMPTY", "file exists"},
-+ {18, "EXDEV", "cross-device link"},
-+ {19, "ENODEV", "no such device"},
-+ {20, "ENOTDIR", "not a directory"},
-+ {21, "EISDIR", "is a directory"},
-+ {22, "EINVAL", "invalid argument"},
-+ {23, "ENFILE", "file table overflow"},
-+ {24, "EMFILE", "too many open files"},
-+ {25, "ENOTTY", "not a typewriter"},
-+ {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", "argument out of domain"},
-+ {34, "ERANGE", "result too large"},
-+ {35, "ENOMSG", "no message of desired type"},
-+ {36, "EIDRM", "identifier removed"},
-+ {37, "ECHRNG", "channel number out of range"},
-+ {38, "EL2NSYNC", "level 2 not synchronized"},
-+ {39, "EL3HLT", "level 3 halted"},
-+ {40, "EL3RST", "level 3 reset"},
-+ {41, "ELNRNG", "link number out of range"},
-+ {42, "EUNATCH", "protocol driver not attached"},
-+ {43, "ENOCSI", "no CSI structure available"},
-+ {44, "EL2HLT", "level 2 halted"},
-+ {45, "EDEADLK", "deadlock condition if locked"},
-+ {46, "ENOTREADY", "device not ready"},
-+ {47, "EWRPROTECT", "write-protected media"},
-+ {48, "EFORMAT", "unformatted or incompatible media"},
-+ {49, "ENOLCK", "no locks available"},
-+ {50, "ENOCONNECT", "cannot Establish Connection"},
-+ {52, "ESTALE", "missing file or filesystem"},
-+ {53, "EDIST", "requests blocked by Administrator"},
-+ {55, "EINPROGRESS", "operation now in progress"},
-+ {56, "EALREADY", "operation already in progress"},
-+ {57, "ENOTSOCK", "socket operation on non-socket"},
-+ {58, "EDESTADDREQ", "destination address required"},
-+ {59, "EMSGSIZE", "message too long"},
-+ {60, "EPROTOTYPE", "protocol wrong type for socket"},
-+ {61, "ENOPROTOOPT", "protocol not available"},
-+ {62, "EPROTONOSUPPORT", "protocol not supported"},
-+ {63, "ESOCKTNOSUPPORT", "socket type not supported"},
-+ {64, "EOPNOTSUPP", "operation not supported on socket"},
-+ {65, "EPFNOSUPPORT", "protocol family not supported"},
-+ {66, "EAFNOSUPPORT", "addr family not supported by protocol"},
-+ {67, "EADDRINUSE", "address already in use"},
-+ {68, "EADDRNOTAVAIL", "can't assign requested address"},
-+ {69, "ENETDOWN", "network is down"},
-+ {70, "ENETUNREACH", "network is unreachable"},
-+ {71, "ENETRESET", "network dropped connection on reset"},
-+ {72, "ECONNABORTED", "software caused connection abort"},
-+ {73, "ECONNRESET", "connection reset by peer"},
-+ {74, "ENOBUFS", "no buffer space available"},
-+ {75, "EISCONN", "socket is already connected"},
-+ {76, "ENOTCONN", "socket is not connected"},
-+ {77, "ESHUTDOWN", "can't send after socket shutdown"},
-+ {78, "ETIMEDOUT", "connection timed out"},
-+ {79, "ECONNREFUSED", "connection refused"},
-+ {80, "EHOSTDOWN", "host is down"},
-+ {81, "EHOSTUNREACH", "no route to host"},
-+ {82, "ERESTART", "restart the system call"},
-+ {83, "EPROCLIM", "too many processes"},
-+ {84, "EUSERS", "too many users"},
-+ {85, "ELOOP", "too many levels of symbolic links"},
-+ {86, "ENAMETOOLONG", "file name too long"},
-+ {88, "EDQUOT", "disk quota exceeded"},
-+ {89, "ECORRUPT", "invalid file system control data detected"},
-+ {90, "ESYSERROR", "for future use "},
-+ {93, "EREMOTE", "item is not local to host"},
-+ {94, "ENOTRECOVERABLE", "state not recoverable "},
-+ {95, "EOWNERDEAD", "previous owner died "},
-+ {109, "ENOSYS", "function not implemented"},
-+ {110, "EMEDIA", "media surface error"},
-+ {111, "ESOFT", "I/O completed, but needs relocation"},
-+ {112, "ENOATTR", "no attribute found"},
-+ {113, "ESAD", "security Authentication Denied"},
-+ {114, "ENOTRUST", "not a Trusted Program"},
-+ {115, "ETOOMANYREFS", "too many references: can't splice"},
-+ {116, "EILSEQ", "invalid wide character"},
-+ {117, "ECANCELED", "asynchronous I/O cancelled"},
-+ {118, "ENOSR", "out of STREAMS resources"},
-+ {119, "ETIME", "system call timed out"},
-+ {120, "EBADMSG", "next message has wrong type"},
-+ {121, "EPROTO", "error in protocol"},
-+ {122, "ENODATA", "no message on stream head read q"},
-+ {123, "ENOSTR", "fd not associated with a stream"},
-+ {124, "ENOTSUP", "unsupported attribute value"},
-+ {125, "EMULTIHOP", "multihop is not allowed"},
-+ {126, "ENOLINK", "the server link has been severed"},
-+ {127, "EOVERFLOW", "value too large to be stored in data type"},
-+}
-+
-+// 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", "IOT/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", "stopped (signal)"},
-+ {18, "SIGTSTP", "stopped"},
-+ {19, "SIGCONT", "continued"},
-+ {20, "SIGCHLD", "child exited"},
-+ {21, "SIGTTIN", "stopped (tty input)"},
-+ {22, "SIGTTOU", "stopped (tty output)"},
-+ {23, "SIGIO", "I/O possible/complete"},
-+ {24, "SIGXCPU", "cputime limit exceeded"},
-+ {25, "SIGXFSZ", "filesize limit exceeded"},
-+ {27, "SIGMSG", "input device data"},
-+ {28, "SIGWINCH", "window size changes"},
-+ {29, "SIGPWR", "power-failure"},
-+ {30, "SIGUSR1", "user defined signal 1"},
-+ {31, "SIGUSR2", "user defined signal 2"},
-+ {32, "SIGPROF", "profiling timer expired"},
-+ {33, "SIGDANGER", "paging space low"},
-+ {34, "SIGVTALRM", "virtual timer expired"},
-+ {35, "SIGMIGRATE", "signal 35"},
-+ {36, "SIGPRE", "signal 36"},
-+ {37, "SIGVIRT", "signal 37"},
-+ {38, "SIGTALRM", "signal 38"},
-+ {39, "SIGWAITING", "signal 39"},
-+ {48, "SIGSYSERROR", "signal 48"},
-+ {49, "SIGCAPI", "signal 49"},
-+ {58, "SIGRECONFIG", "signal 58"},
-+ {59, "SIGCPUFAIL", "CPU Failure Predicted"},
-+ {60, "SIGGRANT", "monitor mode granted"},
-+ {61, "SIGRETRACT", "monitor mode retracted"},
-+ {62, "SIGSOUND", "sound completed"},
-+ {63, "SIGMAX32", "secure attention"},
-+ {255, "SIGMAX", "signal 255"},
-+}
-diff --git a/vendor/golang.org/x/sys/unix/zerrors_darwin_386.go b/vendor/golang.org/x/sys/unix/zerrors_darwin_386.go
-index 1c68758b..6217cdba 100644
---- a/vendor/golang.org/x/sys/unix/zerrors_darwin_386.go
-+++ b/vendor/golang.org/x/sys/unix/zerrors_darwin_386.go
-@@ -3,7 +3,7 @@
-
- // +build 386,darwin
-
--// Created by cgo -godefs - DO NOT EDIT
-+// Code generated by cmd/cgo -godefs; DO NOT EDIT.
- // cgo -godefs -- -m32 _const.go
-
- package unix
-@@ -49,6 +49,86 @@ const (
- AF_UNSPEC = 0x0
- AF_UTUN = 0x26
- 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 = 0x41c7ff00
-+ 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
-@@ -169,6 +249,8 @@ const (
- CSTOP = 0x13
- CSTOPB = 0x400
- CSUSP = 0x1a
-+ CTL_HW = 0x6
-+ CTL_KERN = 0x1
- CTL_MAXNAME = 0xc
- CTL_NET = 0x4
- DLT_A429 = 0xb8
-@@ -390,6 +472,11 @@ const (
- 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
- F_ADDFILESIGS = 0x3d
- F_ADDFILESIGS_FOR_DYLD_SIM = 0x53
- F_ADDFILESIGS_RETURN = 0x61
-@@ -425,6 +512,7 @@ const (
- F_PATHPKG_CHECK = 0x34
- F_PEOFPOSMODE = 0x3
- F_PREALLOCATE = 0x2a
-+ F_PUNCHHOLE = 0x63
- F_RDADVISE = 0x2c
- F_RDAHEAD = 0x2d
- F_RDLCK = 0x1
-@@ -441,10 +529,12 @@ const (
- F_SINGLE_WRITER = 0x4c
- 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
-@@ -681,6 +771,7 @@ const (
- IPV6_FAITH = 0x1d
- IPV6_FLOWINFO_MASK = 0xffffff0f
- IPV6_FLOWLABEL_MASK = 0xffff0f00
-+ IPV6_FLOW_ECN_MASK = 0x300
- IPV6_FRAGTTL = 0x3c
- IPV6_FW_ADD = 0x1e
- IPV6_FW_DEL = 0x1f
-@@ -771,6 +862,7 @@ const (
- IP_RECVOPTS = 0x5
- IP_RECVPKTINFO = 0x1a
- IP_RECVRETOPTS = 0x6
-+ IP_RECVTOS = 0x1b
- IP_RECVTTL = 0x18
- IP_RETOPTS = 0x8
- IP_RF = 0x8000
-@@ -789,6 +881,10 @@ const (
- IXANY = 0x800
- IXOFF = 0x400
- IXON = 0x200
-+ KERN_HOSTNAME = 0xa
-+ KERN_OSRELEASE = 0x2
-+ KERN_OSTYPE = 0x1
-+ KERN_VERSION = 0x4
- LOCK_EX = 0x2
- LOCK_NB = 0x4
- LOCK_SH = 0x1
-@@ -884,6 +980,7 @@ const (
- NET_RT_MAXID = 0xa
- NET_RT_STAT = 0x4
- NET_RT_TRASH = 0x5
-+ NFDBITS = 0x20
- NL0 = 0x0
- NL1 = 0x100
- NL2 = 0x200
-@@ -1377,6 +1474,12 @@ const (
- WORDSIZE = 0x20
- WSTOPPED = 0x8
- WUNTRACED = 0x2
-+ XATTR_CREATE = 0x2
-+ XATTR_NODEFAULT = 0x10
-+ XATTR_NOFOLLOW = 0x1
-+ XATTR_NOSECURITY = 0x8
-+ XATTR_REPLACE = 0x4
-+ XATTR_SHOWCOMPRESSION = 0x20
- )
-
- // Errors
-@@ -1528,146 +1631,154 @@ const (
- )
-
- // Error table
--var errors = [...]string{
-- 1: "operation not permitted",
-- 2: "no such file or directory",
-- 3: "no such process",
-- 4: "interrupted system call",
-- 5: "input/output error",
-- 6: "device not configured",
-- 7: "argument list too long",
-- 8: "exec format error",
-- 9: "bad file descriptor",
-- 10: "no child processes",
-- 11: "resource deadlock avoided",
-- 12: "cannot allocate memory",
-- 13: "permission denied",
-- 14: "bad address",
-- 15: "block device required",
-- 16: "resource busy",
-- 17: "file exists",
-- 18: "cross-device link",
-- 19: "operation not supported by device",
-- 20: "not a directory",
-- 21: "is a directory",
-- 22: "invalid argument",
-- 23: "too many open files in system",
-- 24: "too many open files",
-- 25: "inappropriate ioctl for device",
-- 26: "text file busy",
-- 27: "file too large",
-- 28: "no space left on device",
-- 29: "illegal seek",
-- 30: "read-only file system",
-- 31: "too many links",
-- 32: "broken pipe",
-- 33: "numerical argument out of domain",
-- 34: "result too large",
-- 35: "resource temporarily unavailable",
-- 36: "operation now in progress",
-- 37: "operation already in progress",
-- 38: "socket operation on non-socket",
-- 39: "destination address required",
-- 40: "message too long",
-- 41: "protocol wrong type for socket",
-- 42: "protocol not available",
-- 43: "protocol not supported",
-- 44: "socket type not supported",
-- 45: "operation not supported",
-- 46: "protocol family not supported",
-- 47: "address family not supported by protocol family",
-- 48: "address already in use",
-- 49: "can't assign requested address",
-- 50: "network is down",
-- 51: "network is unreachable",
-- 52: "network dropped connection on reset",
-- 53: "software caused connection abort",
-- 54: "connection reset by peer",
-- 55: "no buffer space available",
-- 56: "socket is already connected",
-- 57: "socket is not connected",
-- 58: "can't send after socket shutdown",
-- 59: "too many references: can't splice",
-- 60: "operation timed out",
-- 61: "connection refused",
-- 62: "too many levels of symbolic links",
-- 63: "file name too long",
-- 64: "host is down",
-- 65: "no route to host",
-- 66: "directory not empty",
-- 67: "too many processes",
-- 68: "too many users",
-- 69: "disc quota exceeded",
-- 70: "stale NFS file handle",
-- 71: "too many levels of remote in path",
-- 72: "RPC struct is bad",
-- 73: "RPC version wrong",
-- 74: "RPC prog. not avail",
-- 75: "program version wrong",
-- 76: "bad procedure for program",
-- 77: "no locks available",
-- 78: "function not implemented",
-- 79: "inappropriate file type or format",
-- 80: "authentication error",
-- 81: "need authenticator",
-- 82: "device power is off",
-- 83: "device error",
-- 84: "value too large to be stored in data type",
-- 85: "bad executable (or shared library)",
-- 86: "bad CPU type in executable",
-- 87: "shared library version mismatch",
-- 88: "malformed Mach-o file",
-- 89: "operation canceled",
-- 90: "identifier removed",
-- 91: "no message of desired type",
-- 92: "illegal byte sequence",
-- 93: "attribute not found",
-- 94: "bad message",
-- 95: "EMULTIHOP (Reserved)",
-- 96: "no message available on STREAM",
-- 97: "ENOLINK (Reserved)",
-- 98: "no STREAM resources",
-- 99: "not a STREAM",
-- 100: "protocol error",
-- 101: "STREAM ioctl timeout",
-- 102: "operation not supported on socket",
-- 103: "policy not found",
-- 104: "state not recoverable",
-- 105: "previous owner died",
-- 106: "interface output queue is full",
-+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", "resource 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, "ENOTSUP", "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, "EPWROFF", "device power is off"},
-+ {83, "EDEVERR", "device error"},
-+ {84, "EOVERFLOW", "value too large to be stored in data type"},
-+ {85, "EBADEXEC", "bad executable (or shared library)"},
-+ {86, "EBADARCH", "bad CPU type in executable"},
-+ {87, "ESHLIBVERS", "shared library version mismatch"},
-+ {88, "EBADMACHO", "malformed Mach-o file"},
-+ {89, "ECANCELED", "operation canceled"},
-+ {90, "EIDRM", "identifier removed"},
-+ {91, "ENOMSG", "no message of desired type"},
-+ {92, "EILSEQ", "illegal byte sequence"},
-+ {93, "ENOATTR", "attribute not found"},
-+ {94, "EBADMSG", "bad message"},
-+ {95, "EMULTIHOP", "EMULTIHOP (Reserved)"},
-+ {96, "ENODATA", "no message available on STREAM"},
-+ {97, "ENOLINK", "ENOLINK (Reserved)"},
-+ {98, "ENOSR", "no STREAM resources"},
-+ {99, "ENOSTR", "not a STREAM"},
-+ {100, "EPROTO", "protocol error"},
-+ {101, "ETIME", "STREAM ioctl timeout"},
-+ {102, "EOPNOTSUPP", "operation not supported on socket"},
-+ {103, "ENOPOLICY", "policy not found"},
-+ {104, "ENOTRECOVERABLE", "state not recoverable"},
-+ {105, "EOWNERDEAD", "previous owner died"},
-+ {106, "EQFULL", "interface output queue is full"},
- }
-
- // Signal table
--var signals = [...]string{
-- 1: "hangup",
-- 2: "interrupt",
-- 3: "quit",
-- 4: "illegal instruction",
-- 5: "trace/BPT trap",
-- 6: "abort trap",
-- 7: "EMT trap",
-- 8: "floating point exception",
-- 9: "killed",
-- 10: "bus error",
-- 11: "segmentation fault",
-- 12: "bad system call",
-- 13: "broken pipe",
-- 14: "alarm clock",
-- 15: "terminated",
-- 16: "urgent I/O condition",
-- 17: "suspended (signal)",
-- 18: "suspended",
-- 19: "continued",
-- 20: "child exited",
-- 21: "stopped (tty input)",
-- 22: "stopped (tty output)",
-- 23: "I/O possible",
-- 24: "cputime limit exceeded",
-- 25: "filesize limit exceeded",
-- 26: "virtual timer expired",
-- 27: "profiling timer expired",
-- 28: "window size changes",
-- 29: "information request",
-- 30: "user defined signal 1",
-- 31: "user defined signal 2",
-+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"},
- }
-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 48f63d4f..e3ff2ee3 100644
---- a/vendor/golang.org/x/sys/unix/zerrors_darwin_amd64.go
-+++ b/vendor/golang.org/x/sys/unix/zerrors_darwin_amd64.go
-@@ -3,7 +3,7 @@
-
- // +build amd64,darwin
-
--// Created by cgo -godefs - DO NOT EDIT
-+// Code generated by cmd/cgo -godefs; DO NOT EDIT.
- // cgo -godefs -- -m64 _const.go
-
- package unix
-@@ -49,6 +49,86 @@ const (
- AF_UNSPEC = 0x0
- AF_UTUN = 0x26
- 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 = 0x41c7ff00
-+ 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
-@@ -169,6 +249,8 @@ const (
- CSTOP = 0x13
- CSTOPB = 0x400
- CSUSP = 0x1a
-+ CTL_HW = 0x6
-+ CTL_KERN = 0x1
- CTL_MAXNAME = 0xc
- CTL_NET = 0x4
- DLT_A429 = 0xb8
-@@ -390,6 +472,11 @@ const (
- 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
- F_ADDFILESIGS = 0x3d
- F_ADDFILESIGS_FOR_DYLD_SIM = 0x53
- F_ADDFILESIGS_RETURN = 0x61
-@@ -425,6 +512,7 @@ const (
- F_PATHPKG_CHECK = 0x34
- F_PEOFPOSMODE = 0x3
- F_PREALLOCATE = 0x2a
-+ F_PUNCHHOLE = 0x63
- F_RDADVISE = 0x2c
- F_RDAHEAD = 0x2d
- F_RDLCK = 0x1
-@@ -441,10 +529,12 @@ const (
- F_SINGLE_WRITER = 0x4c
- 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
-@@ -681,6 +771,7 @@ const (
- IPV6_FAITH = 0x1d
- IPV6_FLOWINFO_MASK = 0xffffff0f
- IPV6_FLOWLABEL_MASK = 0xffff0f00
-+ IPV6_FLOW_ECN_MASK = 0x300
- IPV6_FRAGTTL = 0x3c
- IPV6_FW_ADD = 0x1e
- IPV6_FW_DEL = 0x1f
-@@ -771,6 +862,7 @@ const (
- IP_RECVOPTS = 0x5
- IP_RECVPKTINFO = 0x1a
- IP_RECVRETOPTS = 0x6
-+ IP_RECVTOS = 0x1b
- IP_RECVTTL = 0x18
- IP_RETOPTS = 0x8
- IP_RF = 0x8000
-@@ -789,6 +881,10 @@ const (
- IXANY = 0x800
- IXOFF = 0x400
- IXON = 0x200
-+ KERN_HOSTNAME = 0xa
-+ KERN_OSRELEASE = 0x2
-+ KERN_OSTYPE = 0x1
-+ KERN_VERSION = 0x4
- LOCK_EX = 0x2
- LOCK_NB = 0x4
- LOCK_SH = 0x1
-@@ -884,6 +980,7 @@ const (
- NET_RT_MAXID = 0xa
- NET_RT_STAT = 0x4
- NET_RT_TRASH = 0x5
-+ NFDBITS = 0x20
- NL0 = 0x0
- NL1 = 0x100
- NL2 = 0x200
-@@ -1377,6 +1474,12 @@ const (
- 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
-@@ -1528,146 +1631,154 @@ const (
- )
-
- // Error table
--var errors = [...]string{
-- 1: "operation not permitted",
-- 2: "no such file or directory",
-- 3: "no such process",
-- 4: "interrupted system call",
-- 5: "input/output error",
-- 6: "device not configured",
-- 7: "argument list too long",
-- 8: "exec format error",
-- 9: "bad file descriptor",
-- 10: "no child processes",
-- 11: "resource deadlock avoided",
-- 12: "cannot allocate memory",
-- 13: "permission denied",
-- 14: "bad address",
-- 15: "block device required",
-- 16: "resource busy",
-- 17: "file exists",
-- 18: "cross-device link",
-- 19: "operation not supported by device",
-- 20: "not a directory",
-- 21: "is a directory",
-- 22: "invalid argument",
-- 23: "too many open files in system",
-- 24: "too many open files",
-- 25: "inappropriate ioctl for device",
-- 26: "text file busy",
-- 27: "file too large",
-- 28: "no space left on device",
-- 29: "illegal seek",
-- 30: "read-only file system",
-- 31: "too many links",
-- 32: "broken pipe",
-- 33: "numerical argument out of domain",
-- 34: "result too large",
-- 35: "resource temporarily unavailable",
-- 36: "operation now in progress",
-- 37: "operation already in progress",
-- 38: "socket operation on non-socket",
-- 39: "destination address required",
-- 40: "message too long",
-- 41: "protocol wrong type for socket",
-- 42: "protocol not available",
-- 43: "protocol not supported",
-- 44: "socket type not supported",
-- 45: "operation not supported",
-- 46: "protocol family not supported",
-- 47: "address family not supported by protocol family",
-- 48: "address already in use",
-- 49: "can't assign requested address",
-- 50: "network is down",
-- 51: "network is unreachable",
-- 52: "network dropped connection on reset",
-- 53: "software caused connection abort",
-- 54: "connection reset by peer",
-- 55: "no buffer space available",
-- 56: "socket is already connected",
-- 57: "socket is not connected",
-- 58: "can't send after socket shutdown",
-- 59: "too many references: can't splice",
-- 60: "operation timed out",
-- 61: "connection refused",
-- 62: "too many levels of symbolic links",
-- 63: "file name too long",
-- 64: "host is down",
-- 65: "no route to host",
-- 66: "directory not empty",
-- 67: "too many processes",
-- 68: "too many users",
-- 69: "disc quota exceeded",
-- 70: "stale NFS file handle",
-- 71: "too many levels of remote in path",
-- 72: "RPC struct is bad",
-- 73: "RPC version wrong",
-- 74: "RPC prog. not avail",
-- 75: "program version wrong",
-- 76: "bad procedure for program",
-- 77: "no locks available",
-- 78: "function not implemented",
-- 79: "inappropriate file type or format",
-- 80: "authentication error",
-- 81: "need authenticator",
-- 82: "device power is off",
-- 83: "device error",
-- 84: "value too large to be stored in data type",
-- 85: "bad executable (or shared library)",
-- 86: "bad CPU type in executable",
-- 87: "shared library version mismatch",
-- 88: "malformed Mach-o file",
-- 89: "operation canceled",
-- 90: "identifier removed",
-- 91: "no message of desired type",
-- 92: "illegal byte sequence",
-- 93: "attribute not found",
-- 94: "bad message",
-- 95: "EMULTIHOP (Reserved)",
-- 96: "no message available on STREAM",
-- 97: "ENOLINK (Reserved)",
-- 98: "no STREAM resources",
-- 99: "not a STREAM",
-- 100: "protocol error",
-- 101: "STREAM ioctl timeout",
-- 102: "operation not supported on socket",
-- 103: "policy not found",
-- 104: "state not recoverable",
-- 105: "previous owner died",
-- 106: "interface output queue is full",
-+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", "resource 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, "ENOTSUP", "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, "EPWROFF", "device power is off"},
-+ {83, "EDEVERR", "device error"},
-+ {84, "EOVERFLOW", "value too large to be stored in data type"},
-+ {85, "EBADEXEC", "bad executable (or shared library)"},
-+ {86, "EBADARCH", "bad CPU type in executable"},
-+ {87, "ESHLIBVERS", "shared library version mismatch"},
-+ {88, "EBADMACHO", "malformed Mach-o file"},
-+ {89, "ECANCELED", "operation canceled"},
-+ {90, "EIDRM", "identifier removed"},
-+ {91, "ENOMSG", "no message of desired type"},
-+ {92, "EILSEQ", "illegal byte sequence"},
-+ {93, "ENOATTR", "attribute not found"},
-+ {94, "EBADMSG", "bad message"},
-+ {95, "EMULTIHOP", "EMULTIHOP (Reserved)"},
-+ {96, "ENODATA", "no message available on STREAM"},
-+ {97, "ENOLINK", "ENOLINK (Reserved)"},
-+ {98, "ENOSR", "no STREAM resources"},
-+ {99, "ENOSTR", "not a STREAM"},
-+ {100, "EPROTO", "protocol error"},
-+ {101, "ETIME", "STREAM ioctl timeout"},
-+ {102, "EOPNOTSUPP", "operation not supported on socket"},
-+ {103, "ENOPOLICY", "policy not found"},
-+ {104, "ENOTRECOVERABLE", "state not recoverable"},
-+ {105, "EOWNERDEAD", "previous owner died"},
-+ {106, "EQFULL", "interface output queue is full"},
- }
-
- // Signal table
--var signals = [...]string{
-- 1: "hangup",
-- 2: "interrupt",
-- 3: "quit",
-- 4: "illegal instruction",
-- 5: "trace/BPT trap",
-- 6: "abort trap",
-- 7: "EMT trap",
-- 8: "floating point exception",
-- 9: "killed",
-- 10: "bus error",
-- 11: "segmentation fault",
-- 12: "bad system call",
-- 13: "broken pipe",
-- 14: "alarm clock",
-- 15: "terminated",
-- 16: "urgent I/O condition",
-- 17: "suspended (signal)",
-- 18: "suspended",
-- 19: "continued",
-- 20: "child exited",
-- 21: "stopped (tty input)",
-- 22: "stopped (tty output)",
-- 23: "I/O possible",
-- 24: "cputime limit exceeded",
-- 25: "filesize limit exceeded",
-- 26: "virtual timer expired",
-- 27: "profiling timer expired",
-- 28: "window size changes",
-- 29: "information request",
-- 30: "user defined signal 1",
-- 31: "user defined signal 2",
-+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"},
- }
-diff --git a/vendor/golang.org/x/sys/unix/zerrors_darwin_arm.go b/vendor/golang.org/x/sys/unix/zerrors_darwin_arm.go
-index 24cb522d..3e417571 100644
---- a/vendor/golang.org/x/sys/unix/zerrors_darwin_arm.go
-+++ b/vendor/golang.org/x/sys/unix/zerrors_darwin_arm.go
-@@ -3,7 +3,7 @@
-
- // +build arm,darwin
-
--// Created by cgo -godefs - DO NOT EDIT
-+// Code generated by cmd/cgo -godefs; DO NOT EDIT.
- // cgo -godefs -- _const.go
-
- package unix
-@@ -49,6 +49,86 @@ const (
- AF_UNSPEC = 0x0
- AF_UTUN = 0x26
- 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 = 0x41c7ff00
-+ 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
-@@ -169,6 +249,8 @@ const (
- CSTOP = 0x13
- CSTOPB = 0x400
- CSUSP = 0x1a
-+ CTL_HW = 0x6
-+ CTL_KERN = 0x1
- CTL_MAXNAME = 0xc
- CTL_NET = 0x4
- DLT_A429 = 0xb8
-@@ -390,6 +472,11 @@ const (
- 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
- F_ADDFILESIGS = 0x3d
- F_ADDFILESIGS_FOR_DYLD_SIM = 0x53
- F_ADDFILESIGS_RETURN = 0x61
-@@ -425,6 +512,7 @@ const (
- F_PATHPKG_CHECK = 0x34
- F_PEOFPOSMODE = 0x3
- F_PREALLOCATE = 0x2a
-+ F_PUNCHHOLE = 0x63
- F_RDADVISE = 0x2c
- F_RDAHEAD = 0x2d
- F_RDLCK = 0x1
-@@ -441,10 +529,12 @@ const (
- F_SINGLE_WRITER = 0x4c
- 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
-@@ -681,6 +771,7 @@ const (
- IPV6_FAITH = 0x1d
- IPV6_FLOWINFO_MASK = 0xffffff0f
- IPV6_FLOWLABEL_MASK = 0xffff0f00
-+ IPV6_FLOW_ECN_MASK = 0x300
- IPV6_FRAGTTL = 0x3c
- IPV6_FW_ADD = 0x1e
- IPV6_FW_DEL = 0x1f
-@@ -771,6 +862,7 @@ const (
- IP_RECVOPTS = 0x5
- IP_RECVPKTINFO = 0x1a
- IP_RECVRETOPTS = 0x6
-+ IP_RECVTOS = 0x1b
- IP_RECVTTL = 0x18
- IP_RETOPTS = 0x8
- IP_RF = 0x8000
-@@ -789,6 +881,10 @@ const (
- IXANY = 0x800
- IXOFF = 0x400
- IXON = 0x200
-+ KERN_HOSTNAME = 0xa
-+ KERN_OSRELEASE = 0x2
-+ KERN_OSTYPE = 0x1
-+ KERN_VERSION = 0x4
- LOCK_EX = 0x2
- LOCK_NB = 0x4
- LOCK_SH = 0x1
-@@ -884,6 +980,7 @@ const (
- NET_RT_MAXID = 0xa
- NET_RT_STAT = 0x4
- NET_RT_TRASH = 0x5
-+ NFDBITS = 0x20
- NL0 = 0x0
- NL1 = 0x100
- NL2 = 0x200
-@@ -1377,6 +1474,12 @@ const (
- 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
-@@ -1528,146 +1631,154 @@ const (
- )
-
- // Error table
--var errors = [...]string{
-- 1: "operation not permitted",
-- 2: "no such file or directory",
-- 3: "no such process",
-- 4: "interrupted system call",
-- 5: "input/output error",
-- 6: "device not configured",
-- 7: "argument list too long",
-- 8: "exec format error",
-- 9: "bad file descriptor",
-- 10: "no child processes",
-- 11: "resource deadlock avoided",
-- 12: "cannot allocate memory",
-- 13: "permission denied",
-- 14: "bad address",
-- 15: "block device required",
-- 16: "resource busy",
-- 17: "file exists",
-- 18: "cross-device link",
-- 19: "operation not supported by device",
-- 20: "not a directory",
-- 21: "is a directory",
-- 22: "invalid argument",
-- 23: "too many open files in system",
-- 24: "too many open files",
-- 25: "inappropriate ioctl for device",
-- 26: "text file busy",
-- 27: "file too large",
-- 28: "no space left on device",
-- 29: "illegal seek",
-- 30: "read-only file system",
-- 31: "too many links",
-- 32: "broken pipe",
-- 33: "numerical argument out of domain",
-- 34: "result too large",
-- 35: "resource temporarily unavailable",
-- 36: "operation now in progress",
-- 37: "operation already in progress",
-- 38: "socket operation on non-socket",
-- 39: "destination address required",
-- 40: "message too long",
-- 41: "protocol wrong type for socket",
-- 42: "protocol not available",
-- 43: "protocol not supported",
-- 44: "socket type not supported",
-- 45: "operation not supported",
-- 46: "protocol family not supported",
-- 47: "address family not supported by protocol family",
-- 48: "address already in use",
-- 49: "can't assign requested address",
-- 50: "network is down",
-- 51: "network is unreachable",
-- 52: "network dropped connection on reset",
-- 53: "software caused connection abort",
-- 54: "connection reset by peer",
-- 55: "no buffer space available",
-- 56: "socket is already connected",
-- 57: "socket is not connected",
-- 58: "can't send after socket shutdown",
-- 59: "too many references: can't splice",
-- 60: "operation timed out",
-- 61: "connection refused",
-- 62: "too many levels of symbolic links",
-- 63: "file name too long",
-- 64: "host is down",
-- 65: "no route to host",
-- 66: "directory not empty",
-- 67: "too many processes",
-- 68: "too many users",
-- 69: "disc quota exceeded",
-- 70: "stale NFS file handle",
-- 71: "too many levels of remote in path",
-- 72: "RPC struct is bad",
-- 73: "RPC version wrong",
-- 74: "RPC prog. not avail",
-- 75: "program version wrong",
-- 76: "bad procedure for program",
-- 77: "no locks available",
-- 78: "function not implemented",
-- 79: "inappropriate file type or format",
-- 80: "authentication error",
-- 81: "need authenticator",
-- 82: "device power is off",
-- 83: "device error",
-- 84: "value too large to be stored in data type",
-- 85: "bad executable (or shared library)",
-- 86: "bad CPU type in executable",
-- 87: "shared library version mismatch",
-- 88: "malformed Mach-o file",
-- 89: "operation canceled",
-- 90: "identifier removed",
-- 91: "no message of desired type",
-- 92: "illegal byte sequence",
-- 93: "attribute not found",
-- 94: "bad message",
-- 95: "EMULTIHOP (Reserved)",
-- 96: "no message available on STREAM",
-- 97: "ENOLINK (Reserved)",
-- 98: "no STREAM resources",
-- 99: "not a STREAM",
-- 100: "protocol error",
-- 101: "STREAM ioctl timeout",
-- 102: "operation not supported on socket",
-- 103: "policy not found",
-- 104: "state not recoverable",
-- 105: "previous owner died",
-- 106: "interface output queue is full",
-+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", "resource 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, "ENOTSUP", "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, "EPWROFF", "device power is off"},
-+ {83, "EDEVERR", "device error"},
-+ {84, "EOVERFLOW", "value too large to be stored in data type"},
-+ {85, "EBADEXEC", "bad executable (or shared library)"},
-+ {86, "EBADARCH", "bad CPU type in executable"},
-+ {87, "ESHLIBVERS", "shared library version mismatch"},
-+ {88, "EBADMACHO", "malformed Mach-o file"},
-+ {89, "ECANCELED", "operation canceled"},
-+ {90, "EIDRM", "identifier removed"},
-+ {91, "ENOMSG", "no message of desired type"},
-+ {92, "EILSEQ", "illegal byte sequence"},
-+ {93, "ENOATTR", "attribute not found"},
-+ {94, "EBADMSG", "bad message"},
-+ {95, "EMULTIHOP", "EMULTIHOP (Reserved)"},
-+ {96, "ENODATA", "no message available on STREAM"},
-+ {97, "ENOLINK", "ENOLINK (Reserved)"},
-+ {98, "ENOSR", "no STREAM resources"},
-+ {99, "ENOSTR", "not a STREAM"},
-+ {100, "EPROTO", "protocol error"},
-+ {101, "ETIME", "STREAM ioctl timeout"},
-+ {102, "EOPNOTSUPP", "operation not supported on socket"},
-+ {103, "ENOPOLICY", "policy not found"},
-+ {104, "ENOTRECOVERABLE", "state not recoverable"},
-+ {105, "EOWNERDEAD", "previous owner died"},
-+ {106, "EQFULL", "interface output queue is full"},
- }
-
- // Signal table
--var signals = [...]string{
-- 1: "hangup",
-- 2: "interrupt",
-- 3: "quit",
-- 4: "illegal instruction",
-- 5: "trace/BPT trap",
-- 6: "abort trap",
-- 7: "EMT trap",
-- 8: "floating point exception",
-- 9: "killed",
-- 10: "bus error",
-- 11: "segmentation fault",
-- 12: "bad system call",
-- 13: "broken pipe",
-- 14: "alarm clock",
-- 15: "terminated",
-- 16: "urgent I/O condition",
-- 17: "suspended (signal)",
-- 18: "suspended",
-- 19: "continued",
-- 20: "child exited",
-- 21: "stopped (tty input)",
-- 22: "stopped (tty output)",
-- 23: "I/O possible",
-- 24: "cputime limit exceeded",
-- 25: "filesize limit exceeded",
-- 26: "virtual timer expired",
-- 27: "profiling timer expired",
-- 28: "window size changes",
-- 29: "information request",
-- 30: "user defined signal 1",
-- 31: "user defined signal 2",
-+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"},
- }
-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 cc8cc5b5..cbd8ed18 100644
---- a/vendor/golang.org/x/sys/unix/zerrors_darwin_arm64.go
-+++ b/vendor/golang.org/x/sys/unix/zerrors_darwin_arm64.go
-@@ -3,7 +3,7 @@
-
- // +build arm64,darwin
-
--// Created by cgo -godefs - DO NOT EDIT
-+// Code generated by cmd/cgo -godefs; DO NOT EDIT.
- // cgo -godefs -- -m64 _const.go
-
- package unix
-@@ -49,6 +49,86 @@ const (
- AF_UNSPEC = 0x0
- AF_UTUN = 0x26
- 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 = 0x41c7ff00
-+ 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
-@@ -169,6 +249,8 @@ const (
- CSTOP = 0x13
- CSTOPB = 0x400
- CSUSP = 0x1a
-+ CTL_HW = 0x6
-+ CTL_KERN = 0x1
- CTL_MAXNAME = 0xc
- CTL_NET = 0x4
- DLT_A429 = 0xb8
-@@ -390,6 +472,11 @@ const (
- 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
- F_ADDFILESIGS = 0x3d
- F_ADDFILESIGS_FOR_DYLD_SIM = 0x53
- F_ADDFILESIGS_RETURN = 0x61
-@@ -425,6 +512,7 @@ const (
- F_PATHPKG_CHECK = 0x34
- F_PEOFPOSMODE = 0x3
- F_PREALLOCATE = 0x2a
-+ F_PUNCHHOLE = 0x63
- F_RDADVISE = 0x2c
- F_RDAHEAD = 0x2d
- F_RDLCK = 0x1
-@@ -441,10 +529,12 @@ const (
- F_SINGLE_WRITER = 0x4c
- 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
-@@ -681,6 +771,7 @@ const (
- IPV6_FAITH = 0x1d
- IPV6_FLOWINFO_MASK = 0xffffff0f
- IPV6_FLOWLABEL_MASK = 0xffff0f00
-+ IPV6_FLOW_ECN_MASK = 0x300
- IPV6_FRAGTTL = 0x3c
- IPV6_FW_ADD = 0x1e
- IPV6_FW_DEL = 0x1f
-@@ -771,6 +862,7 @@ const (
- IP_RECVOPTS = 0x5
- IP_RECVPKTINFO = 0x1a
- IP_RECVRETOPTS = 0x6
-+ IP_RECVTOS = 0x1b
- IP_RECVTTL = 0x18
- IP_RETOPTS = 0x8
- IP_RF = 0x8000
-@@ -789,6 +881,10 @@ const (
- IXANY = 0x800
- IXOFF = 0x400
- IXON = 0x200
-+ KERN_HOSTNAME = 0xa
-+ KERN_OSRELEASE = 0x2
-+ KERN_OSTYPE = 0x1
-+ KERN_VERSION = 0x4
- LOCK_EX = 0x2
- LOCK_NB = 0x4
- LOCK_SH = 0x1
-@@ -884,6 +980,7 @@ const (
- NET_RT_MAXID = 0xa
- NET_RT_STAT = 0x4
- NET_RT_TRASH = 0x5
-+ NFDBITS = 0x20
- NL0 = 0x0
- NL1 = 0x100
- NL2 = 0x200
-@@ -1377,6 +1474,12 @@ const (
- 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
-@@ -1528,146 +1631,154 @@ const (
- )
-
- // Error table
--var errors = [...]string{
-- 1: "operation not permitted",
-- 2: "no such file or directory",
-- 3: "no such process",
-- 4: "interrupted system call",
-- 5: "input/output error",
-- 6: "device not configured",
-- 7: "argument list too long",
-- 8: "exec format error",
-- 9: "bad file descriptor",
-- 10: "no child processes",
-- 11: "resource deadlock avoided",
-- 12: "cannot allocate memory",
-- 13: "permission denied",
-- 14: "bad address",
-- 15: "block device required",
-- 16: "resource busy",
-- 17: "file exists",
-- 18: "cross-device link",
-- 19: "operation not supported by device",
-- 20: "not a directory",
-- 21: "is a directory",
-- 22: "invalid argument",
-- 23: "too many open files in system",
-- 24: "too many open files",
-- 25: "inappropriate ioctl for device",
-- 26: "text file busy",
-- 27: "file too large",
-- 28: "no space left on device",
-- 29: "illegal seek",
-- 30: "read-only file system",
-- 31: "too many links",
-- 32: "broken pipe",
-- 33: "numerical argument out of domain",
-- 34: "result too large",
-- 35: "resource temporarily unavailable",
-- 36: "operation now in progress",
-- 37: "operation already in progress",
-- 38: "socket operation on non-socket",
-- 39: "destination address required",
-- 40: "message too long",
-- 41: "protocol wrong type for socket",
-- 42: "protocol not available",
-- 43: "protocol not supported",
-- 44: "socket type not supported",
-- 45: "operation not supported",
-- 46: "protocol family not supported",
-- 47: "address family not supported by protocol family",
-- 48: "address already in use",
-- 49: "can't assign requested address",
-- 50: "network is down",
-- 51: "network is unreachable",
-- 52: "network dropped connection on reset",
-- 53: "software caused connection abort",
-- 54: "connection reset by peer",
-- 55: "no buffer space available",
-- 56: "socket is already connected",
-- 57: "socket is not connected",
-- 58: "can't send after socket shutdown",
-- 59: "too many references: can't splice",
-- 60: "operation timed out",
-- 61: "connection refused",
-- 62: "too many levels of symbolic links",
-- 63: "file name too long",
-- 64: "host is down",
-- 65: "no route to host",
-- 66: "directory not empty",
-- 67: "too many processes",
-- 68: "too many users",
-- 69: "disc quota exceeded",
-- 70: "stale NFS file handle",
-- 71: "too many levels of remote in path",
-- 72: "RPC struct is bad",
-- 73: "RPC version wrong",
-- 74: "RPC prog. not avail",
-- 75: "program version wrong",
-- 76: "bad procedure for program",
-- 77: "no locks available",
-- 78: "function not implemented",
-- 79: "inappropriate file type or format",
-- 80: "authentication error",
-- 81: "need authenticator",
-- 82: "device power is off",
-- 83: "device error",
-- 84: "value too large to be stored in data type",
-- 85: "bad executable (or shared library)",
-- 86: "bad CPU type in executable",
-- 87: "shared library version mismatch",
-- 88: "malformed Mach-o file",
-- 89: "operation canceled",
-- 90: "identifier removed",
-- 91: "no message of desired type",
-- 92: "illegal byte sequence",
-- 93: "attribute not found",
-- 94: "bad message",
-- 95: "EMULTIHOP (Reserved)",
-- 96: "no message available on STREAM",
-- 97: "ENOLINK (Reserved)",
-- 98: "no STREAM resources",
-- 99: "not a STREAM",
-- 100: "protocol error",
-- 101: "STREAM ioctl timeout",
-- 102: "operation not supported on socket",
-- 103: "policy not found",
-- 104: "state not recoverable",
-- 105: "previous owner died",
-- 106: "interface output queue is full",
-+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", "resource 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, "ENOTSUP", "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, "EPWROFF", "device power is off"},
-+ {83, "EDEVERR", "device error"},
-+ {84, "EOVERFLOW", "value too large to be stored in data type"},
-+ {85, "EBADEXEC", "bad executable (or shared library)"},
-+ {86, "EBADARCH", "bad CPU type in executable"},
-+ {87, "ESHLIBVERS", "shared library version mismatch"},
-+ {88, "EBADMACHO", "malformed Mach-o file"},
-+ {89, "ECANCELED", "operation canceled"},
-+ {90, "EIDRM", "identifier removed"},
-+ {91, "ENOMSG", "no message of desired type"},
-+ {92, "EILSEQ", "illegal byte sequence"},
-+ {93, "ENOATTR", "attribute not found"},
-+ {94, "EBADMSG", "bad message"},
-+ {95, "EMULTIHOP", "EMULTIHOP (Reserved)"},
-+ {96, "ENODATA", "no message available on STREAM"},
-+ {97, "ENOLINK", "ENOLINK (Reserved)"},
-+ {98, "ENOSR", "no STREAM resources"},
-+ {99, "ENOSTR", "not a STREAM"},
-+ {100, "EPROTO", "protocol error"},
-+ {101, "ETIME", "STREAM ioctl timeout"},
-+ {102, "EOPNOTSUPP", "operation not supported on socket"},
-+ {103, "ENOPOLICY", "policy not found"},
-+ {104, "ENOTRECOVERABLE", "state not recoverable"},
-+ {105, "EOWNERDEAD", "previous owner died"},
-+ {106, "EQFULL", "interface output queue is full"},
- }
-
- // Signal table
--var signals = [...]string{
-- 1: "hangup",
-- 2: "interrupt",
-- 3: "quit",
-- 4: "illegal instruction",
-- 5: "trace/BPT trap",
-- 6: "abort trap",
-- 7: "EMT trap",
-- 8: "floating point exception",
-- 9: "killed",
-- 10: "bus error",
-- 11: "segmentation fault",
-- 12: "bad system call",
-- 13: "broken pipe",
-- 14: "alarm clock",
-- 15: "terminated",
-- 16: "urgent I/O condition",
-- 17: "suspended (signal)",
-- 18: "suspended",
-- 19: "continued",
-- 20: "child exited",
-- 21: "stopped (tty input)",
-- 22: "stopped (tty output)",
-- 23: "I/O possible",
-- 24: "cputime limit exceeded",
-- 25: "filesize limit exceeded",
-- 26: "virtual timer expired",
-- 27: "profiling timer expired",
-- 28: "window size changes",
-- 29: "information request",
-- 30: "user defined signal 1",
-- 31: "user defined signal 2",
-+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"},
- }
-diff --git a/vendor/golang.org/x/sys/unix/zerrors_dragonfly_amd64.go b/vendor/golang.org/x/sys/unix/zerrors_dragonfly_amd64.go
-index 8f40598b..61304717 100644
---- a/vendor/golang.org/x/sys/unix/zerrors_dragonfly_amd64.go
-+++ b/vendor/golang.org/x/sys/unix/zerrors_dragonfly_amd64.go
-@@ -3,7 +3,7 @@
-
- // +build amd64,dragonfly
-
--// Created by cgo -godefs - DO NOT EDIT
-+// Code generated by cmd/cgo -godefs; DO NOT EDIT.
- // cgo -godefs -- -m64 _const.go
-
- package unix
-@@ -168,6 +168,8 @@ const (
- CSTOP = 0x13
- CSTOPB = 0x400
- CSUSP = 0x1a
-+ CTL_HW = 0x6
-+ CTL_KERN = 0x1
- CTL_MAXNAME = 0xc
- CTL_NET = 0x4
- DLT_A429 = 0xb8
-@@ -353,6 +355,7 @@ const (
- F_UNLCK = 0x2
- F_WRLCK = 0x3
- HUPCL = 0x4000
-+ HW_MACHINE = 0x1
- ICANON = 0x100
- ICMP6_FILTER = 0x12
- ICRNL = 0x100
-@@ -835,6 +838,10 @@ const (
- IXANY = 0x800
- IXOFF = 0x400
- IXON = 0x200
-+ KERN_HOSTNAME = 0xa
-+ KERN_OSRELEASE = 0x2
-+ KERN_OSTYPE = 0x1
-+ KERN_VERSION = 0x4
- LOCK_EX = 0x2
- LOCK_NB = 0x4
- LOCK_SH = 0x1
-@@ -873,6 +880,40 @@ const (
- MAP_VPAGETABLE = 0x2000
- MCL_CURRENT = 0x1
- MCL_FUTURE = 0x2
-+ MNT_ASYNC = 0x40
-+ MNT_AUTOMOUNTED = 0x20
-+ MNT_CMDFLAGS = 0xf0000
-+ MNT_DEFEXPORTED = 0x200
-+ MNT_DELEXPORT = 0x20000
-+ MNT_EXKERB = 0x800
-+ MNT_EXPORTANON = 0x400
-+ MNT_EXPORTED = 0x100
-+ MNT_EXPUBLIC = 0x20000000
-+ MNT_EXRDONLY = 0x80
-+ MNT_FORCE = 0x80000
-+ MNT_IGNORE = 0x800000
-+ MNT_LAZY = 0x4
-+ MNT_LOCAL = 0x1000
-+ MNT_NOATIME = 0x10000000
-+ MNT_NOCLUSTERR = 0x40000000
-+ MNT_NOCLUSTERW = 0x80000000
-+ MNT_NODEV = 0x10
-+ MNT_NOEXEC = 0x4
-+ MNT_NOSUID = 0x8
-+ MNT_NOSYMFOLLOW = 0x400000
-+ MNT_NOWAIT = 0x2
-+ MNT_QUOTA = 0x2000
-+ MNT_RDONLY = 0x1
-+ MNT_RELOAD = 0x40000
-+ MNT_ROOTFS = 0x4000
-+ MNT_SOFTDEP = 0x200000
-+ MNT_SUIDDIR = 0x100000
-+ MNT_SYNCHRONOUS = 0x2
-+ MNT_TRIM = 0x1000000
-+ MNT_UPDATE = 0x10000
-+ MNT_USER = 0x8000
-+ MNT_VISFLAGMASK = 0xf1f0ffff
-+ MNT_WAIT = 0x1
- MSG_CMSG_CLOEXEC = 0x1000
- MSG_CTRUNC = 0x20
- MSG_DONTROUTE = 0x4
-@@ -897,6 +938,7 @@ const (
- NET_RT_FLAGS = 0x2
- NET_RT_IFLIST = 0x3
- NET_RT_MAXID = 0x4
-+ NFDBITS = 0x40
- NOFLSH = 0x80000000
- NOKERNINFO = 0x2000000
- NOTE_ATTRIB = 0x8
-@@ -973,7 +1015,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
-@@ -1158,6 +1203,36 @@ const (
- SO_TIMESTAMP = 0x400
- SO_TYPE = 0x1008
- SO_USELOOPBACK = 0x40
-+ S_BLKSIZE = 0x200
-+ S_IEXEC = 0x40
-+ S_IFBLK = 0x6000
-+ S_IFCHR = 0x2000
-+ S_IFDB = 0x9000
-+ S_IFDIR = 0x4000
-+ S_IFIFO = 0x1000
-+ S_IFLNK = 0xa000
-+ S_IFMT = 0xf000
-+ S_IFREG = 0x8000
-+ S_IFSOCK = 0xc000
-+ S_IFWHT = 0xe000
-+ S_IREAD = 0x100
-+ S_IRGRP = 0x20
-+ S_IROTH = 0x4
-+ S_IRUSR = 0x100
-+ S_IRWXG = 0x38
-+ S_IRWXO = 0x7
-+ S_IRWXU = 0x1c0
-+ S_ISGID = 0x400
-+ S_ISTXT = 0x200
-+ S_ISUID = 0x800
-+ S_ISVTX = 0x200
-+ S_IWGRP = 0x10
-+ S_IWOTH = 0x2
-+ S_IWRITE = 0x80
-+ S_IWUSR = 0x80
-+ S_IXGRP = 0x8
-+ S_IXOTH = 0x1
-+ S_IXUSR = 0x40
- TCIFLUSH = 0x1
- TCIOFF = 0x3
- TCIOFLUSH = 0x3
-@@ -1427,142 +1502,150 @@ const (
- )
-
- // Error table
--var errors = [...]string{
-- 1: "operation not permitted",
-- 2: "no such file or directory",
-- 3: "no such process",
-- 4: "interrupted system call",
-- 5: "input/output error",
-- 6: "device not configured",
-- 7: "argument list too long",
-- 8: "exec format error",
-- 9: "bad file descriptor",
-- 10: "no child processes",
-- 11: "resource deadlock avoided",
-- 12: "cannot allocate memory",
-- 13: "permission denied",
-- 14: "bad address",
-- 15: "block device required",
-- 16: "device busy",
-- 17: "file exists",
-- 18: "cross-device link",
-- 19: "operation not supported by device",
-- 20: "not a directory",
-- 21: "is a directory",
-- 22: "invalid argument",
-- 23: "too many open files in system",
-- 24: "too many open files",
-- 25: "inappropriate ioctl for device",
-- 26: "text file busy",
-- 27: "file too large",
-- 28: "no space left on device",
-- 29: "illegal seek",
-- 30: "read-only file system",
-- 31: "too many links",
-- 32: "broken pipe",
-- 33: "numerical argument out of domain",
-- 34: "result too large",
-- 35: "resource temporarily unavailable",
-- 36: "operation now in progress",
-- 37: "operation already in progress",
-- 38: "socket operation on non-socket",
-- 39: "destination address required",
-- 40: "message too long",
-- 41: "protocol wrong type for socket",
-- 42: "protocol not available",
-- 43: "protocol not supported",
-- 44: "socket type not supported",
-- 45: "operation not supported",
-- 46: "protocol family not supported",
-- 47: "address family not supported by protocol family",
-- 48: "address already in use",
-- 49: "can't assign requested address",
-- 50: "network is down",
-- 51: "network is unreachable",
-- 52: "network dropped connection on reset",
-- 53: "software caused connection abort",
-- 54: "connection reset by peer",
-- 55: "no buffer space available",
-- 56: "socket is already connected",
-- 57: "socket is not connected",
-- 58: "can't send after socket shutdown",
-- 59: "too many references: can't splice",
-- 60: "operation timed out",
-- 61: "connection refused",
-- 62: "too many levels of symbolic links",
-- 63: "file name too long",
-- 64: "host is down",
-- 65: "no route to host",
-- 66: "directory not empty",
-- 67: "too many processes",
-- 68: "too many users",
-- 69: "disc quota exceeded",
-- 70: "stale NFS file handle",
-- 71: "too many levels of remote in path",
-- 72: "RPC struct is bad",
-- 73: "RPC version wrong",
-- 74: "RPC prog. not avail",
-- 75: "program version wrong",
-- 76: "bad procedure for program",
-- 77: "no locks available",
-- 78: "function not implemented",
-- 79: "inappropriate file type or format",
-- 80: "authentication error",
-- 81: "need authenticator",
-- 82: "identifier removed",
-- 83: "no message of desired type",
-- 84: "value too large to be stored in data type",
-- 85: "operation canceled",
-- 86: "illegal byte sequence",
-- 87: "attribute not found",
-- 88: "programming error",
-- 89: "bad message",
-- 90: "multihop attempted",
-- 91: "link has been severed",
-- 92: "protocol error",
-- 93: "no medium found",
-- 94: "unknown error: 94",
-- 95: "unknown error: 95",
-- 96: "unknown error: 96",
-- 97: "unknown error: 97",
-- 98: "unknown error: 98",
-- 99: "unknown error: 99",
-+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, "ENOMEDIUM", "no medium found"},
-+ {94, "EUNUSED94", "unknown error: 94"},
-+ {95, "EUNUSED95", "unknown error: 95"},
-+ {96, "EUNUSED96", "unknown error: 96"},
-+ {97, "EUNUSED97", "unknown error: 97"},
-+ {98, "EUNUSED98", "unknown error: 98"},
-+ {99, "ELAST", "unknown error: 99"},
- }
-
- // Signal table
--var signals = [...]string{
-- 1: "hangup",
-- 2: "interrupt",
-- 3: "quit",
-- 4: "illegal instruction",
-- 5: "trace/BPT trap",
-- 6: "abort trap",
-- 7: "EMT trap",
-- 8: "floating point exception",
-- 9: "killed",
-- 10: "bus error",
-- 11: "segmentation fault",
-- 12: "bad system call",
-- 13: "broken pipe",
-- 14: "alarm clock",
-- 15: "terminated",
-- 16: "urgent I/O condition",
-- 17: "suspended (signal)",
-- 18: "suspended",
-- 19: "continued",
-- 20: "child exited",
-- 21: "stopped (tty input)",
-- 22: "stopped (tty output)",
-- 23: "I/O possible",
-- 24: "cputime limit exceeded",
-- 25: "filesize limit exceeded",
-- 26: "virtual timer expired",
-- 27: "profiling timer expired",
-- 28: "window size changes",
-- 29: "information request",
-- 30: "user defined signal 1",
-- 31: "user defined signal 2",
-- 32: "thread Scheduler",
-- 33: "checkPoint",
-- 34: "checkPointExit",
-+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", "thread Scheduler"},
-+ {33, "SIGCKPT", "checkPoint"},
-+ {34, "SIGCKPTEXIT", "checkPointExit"},
- }
-diff --git a/vendor/golang.org/x/sys/unix/zerrors_freebsd_386.go b/vendor/golang.org/x/sys/unix/zerrors_freebsd_386.go
-index 1d3eec44..84824587 100644
---- a/vendor/golang.org/x/sys/unix/zerrors_freebsd_386.go
-+++ b/vendor/golang.org/x/sys/unix/zerrors_freebsd_386.go
-@@ -3,7 +3,7 @@
-
- // +build 386,freebsd
-
--// Created by cgo -godefs - DO NOT EDIT
-+// Code generated by cmd/cgo -godefs; DO NOT EDIT.
- // cgo -godefs -- -m32 _const.go
-
- package unix
-@@ -351,8 +351,26 @@ const (
- CSTOP = 0x13
- CSTOPB = 0x400
- CSUSP = 0x1a
-+ CTL_HW = 0x6
-+ CTL_KERN = 0x1
- CTL_MAXNAME = 0x18
- CTL_NET = 0x4
-+ DIOCGATTR = 0xc144648e
-+ DIOCGDELETE = 0x80106488
-+ DIOCGFLUSH = 0x20006487
-+ DIOCGFRONTSTUFF = 0x40086486
-+ DIOCGFWHEADS = 0x40046483
-+ DIOCGFWSECTORS = 0x40046482
-+ DIOCGIDENT = 0x41006489
-+ DIOCGMEDIASIZE = 0x40086481
-+ DIOCGPHYSPATH = 0x4400648d
-+ DIOCGPROVIDERNAME = 0x4400648a
-+ DIOCGSECTORSIZE = 0x40046480
-+ DIOCGSTRIPEOFFSET = 0x4008648c
-+ DIOCGSTRIPESIZE = 0x4008648b
-+ DIOCSKERNELDUMP = 0x804c6490
-+ DIOCSKERNELDUMP_FREEBSD11 = 0x80046485
-+ DIOCZONECMD = 0xc06c648f
- DLT_A429 = 0xb8
- DLT_A653_ICM = 0xb9
- DLT_AIRONET_HEADER = 0x78
-@@ -377,11 +395,14 @@ const (
- 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
-@@ -391,6 +412,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
-@@ -404,7 +426,6 @@ const (
- 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
-@@ -427,6 +448,7 @@ const (
- 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
-@@ -459,8 +481,9 @@ const (
- DLT_LINUX_PPP_WITHDIRECTION = 0xa6
- DLT_LINUX_SLL = 0x71
- DLT_LOOP = 0x6c
-+ DLT_LORATAP = 0x10e
- DLT_LTALK = 0x72
-- DLT_MATCHING_MAX = 0x104
-+ DLT_MATCHING_MAX = 0x113
- DLT_MATCHING_MIN = 0x68
- DLT_MFR = 0xb6
- DLT_MOST = 0xd3
-@@ -476,14 +499,16 @@ 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
- DLT_PKTAP = 0x102
- DLT_PPI = 0xc0
- DLT_PPP = 0x9
-- DLT_PPP_BSDOS = 0x10
-+ DLT_PPP_BSDOS = 0xe
- DLT_PPP_ETHER = 0x33
- DLT_PPP_PPPD = 0xa6
- DLT_PPP_SERIAL = 0x32
-@@ -494,19 +519,25 @@ const (
- 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 = 0xf
-+ 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
-@@ -525,10 +556,14 @@ 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
- 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
-@@ -546,6 +581,7 @@ const (
- ECHONL = 0x10
- ECHOPRT = 0x20
- EVFILT_AIO = -0x3
-+ EVFILT_EMPTY = -0xd
- EVFILT_FS = -0x9
- EVFILT_LIO = -0xa
- EVFILT_PROC = -0x5
-@@ -553,11 +589,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
-@@ -574,6 +611,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
-@@ -608,12 +646,14 @@ const (
- 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
-@@ -630,6 +670,7 @@ const (
- IFF_MONITOR = 0x40000
- IFF_MULTICAST = 0x8000
- IFF_NOARP = 0x80
-+ IFF_NOGROUP = 0x800000
- IFF_OACTIVE = 0x400
- IFF_POINTOPOINT = 0x10
- IFF_PPROMISC = 0x20000
-@@ -804,6 +845,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
-@@ -824,13 +866,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
-@@ -842,6 +884,7 @@ const (
- IPV6_RECVFLOWID = 0x46
- IPV6_RECVHOPLIMIT = 0x25
- IPV6_RECVHOPOPTS = 0x27
-+ IPV6_RECVORIGDSTADDR = 0x48
- IPV6_RECVPATHMTU = 0x2b
- IPV6_RECVPKTINFO = 0x24
- IPV6_RECVRSSBUCKETID = 0x47
-@@ -902,10 +945,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
-@@ -915,6 +956,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
-@@ -923,6 +965,7 @@ const (
- IP_RECVFLOWID = 0x5d
- IP_RECVIF = 0x14
- IP_RECVOPTS = 0x5
-+ IP_RECVORIGDSTADDR = 0x1b
- IP_RECVRETOPTS = 0x6
- IP_RECVRSSBUCKETID = 0x5e
- IP_RECVTOS = 0x44
-@@ -944,6 +987,10 @@ const (
- IXANY = 0x800
- IXOFF = 0x400
- IXON = 0x200
-+ KERN_HOSTNAME = 0xa
-+ KERN_OSRELEASE = 0x2
-+ KERN_OSTYPE = 0x1
-+ KERN_VERSION = 0x4
- LOCK_EX = 0x2
- LOCK_NB = 0x4
- LOCK_SH = 0x1
-@@ -968,6 +1015,7 @@ const (
- MAP_EXCL = 0x4000
- MAP_FILE = 0x0
- MAP_FIXED = 0x10
-+ MAP_GUARD = 0x2000
- MAP_HASSEMAPHORE = 0x200
- MAP_NOCORE = 0x20000
- MAP_NOSYNC = 0x800
-@@ -979,8 +1027,62 @@ const (
- 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
-+ MNT_ACLS = 0x8000000
-+ MNT_ASYNC = 0x40
-+ MNT_AUTOMOUNTED = 0x200000000
-+ MNT_BYFSID = 0x8000000
-+ MNT_CMDFLAGS = 0xd0f0000
-+ MNT_DEFEXPORTED = 0x200
-+ MNT_DELEXPORT = 0x20000
-+ MNT_EXKERB = 0x800
-+ MNT_EXPORTANON = 0x400
-+ MNT_EXPORTED = 0x100
-+ MNT_EXPUBLIC = 0x20000000
-+ MNT_EXRDONLY = 0x80
-+ 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_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
-@@ -1005,8 +1107,10 @@ const (
- NET_RT_IFLIST = 0x3
- NET_RT_IFLISTL = 0x5
- NET_RT_IFMALIST = 0x4
-+ NFDBITS = 0x20
- NOFLSH = 0x80000000
- NOKERNINFO = 0x2000000
-+ NOTE_ABSTIME = 0x10
- NOTE_ATTRIB = 0x8
- NOTE_CHILD = 0x4
- NOTE_CLOSE = 0x100
-@@ -1161,7 +1265,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
-@@ -1171,15 +1274,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
- SHUT_RD = 0x0
- SHUT_RDWR = 0x2
- SHUT_WR = 0x1
-@@ -1195,6 +1300,7 @@ const (
- SIOCGETSGCNT = 0xc0147210
- SIOCGETVIFCNT = 0xc014720f
- SIOCGHIWAT = 0x40047301
-+ SIOCGHWADDR = 0xc020693e
- SIOCGI2C = 0xc020693d
- SIOCGIFADDR = 0xc0206921
- SIOCGIFBRDADDR = 0xc0206923
-@@ -1216,8 +1322,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
-@@ -1248,6 +1357,7 @@ const (
- SIOCSIFPHYS = 0x80206936
- SIOCSIFRVNET = 0xc020695b
- SIOCSIFVNET = 0xc020695a
-+ SIOCSLANPCP = 0x80206999
- SIOCSLOWAT = 0x80047302
- SIOCSPGRP = 0x80047308
- SIOCSTUNFIB = 0x8020695f
-@@ -1266,6 +1376,7 @@ const (
- SO_BINTIME = 0x2000
- SO_BROADCAST = 0x20
- SO_DEBUG = 0x1
-+ SO_DOMAIN = 0x1019
- SO_DONTROUTE = 0x10
- SO_ERROR = 0x1007
- SO_KEEPALIVE = 0x8
-@@ -1274,6 +1385,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
-@@ -1286,15 +1398,52 @@ const (
- SO_RCVTIMEO = 0x1006
- 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
-@@ -1305,10 +1454,45 @@ const (
- TCOFLUSH = 0x2
- TCOOFF = 0x1
- TCOON = 0x2
-+ TCP_BBR_ACK_COMP_ALG = 0x448
-+ TCP_BBR_DRAIN_INC_EXTRA = 0x43c
-+ TCP_BBR_DRAIN_PG = 0x42e
-+ TCP_BBR_EXTRA_GAIN = 0x449
-+ 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_ONE_RETRAN = 0x431
-+ TCP_BBR_PACE_CROSS = 0x442
-+ TCP_BBR_PACE_DEL_TAR = 0x43f
-+ TCP_BBR_PACE_PER_SEC = 0x43e
-+ TCP_BBR_PACE_SEG_MAX = 0x440
-+ TCP_BBR_PACE_SEG_MIN = 0x441
-+ 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_STARTUP_EXIT_EPOCH = 0x43d
-+ TCP_BBR_STARTUP_LOSS_EXIT = 0x432
-+ TCP_BBR_STARTUP_PG = 0x42d
-+ TCP_BBR_UNLIMITED = 0x43b
-+ TCP_BBR_USEDEL_RATE = 0x437
-+ TCP_BBR_USE_LOWGAIN = 0x433
- 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
-@@ -1316,6 +1500,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
-@@ -1331,8 +1521,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_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_SESS_CWV = 0x42a
-+ 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
-@@ -1396,6 +1608,8 @@ const (
- TIOCTIMESTAMP = 0x40087459
- TIOCUCNTL = 0x80047466
- TOSTOP = 0x400000
-+ UTIME_NOW = -0x1
-+ UTIME_OMIT = -0x2
- VDISCARD = 0xf
- VDSUSP = 0xb
- VEOF = 0x0
-@@ -1407,6 +1621,8 @@ const (
- VKILL = 0x5
- VLNEXT = 0xe
- VMIN = 0x10
-+ VM_BCACHE_SIZE_MAX = 0x70e0000
-+ VM_SWZONE_SIZE_MAX = 0x2280000
- VQUIT = 0x9
- VREPRINT = 0x6
- VSTART = 0xc
-@@ -1569,138 +1785,146 @@ const (
- )
-
- // Error table
--var errors = [...]string{
-- 1: "operation not permitted",
-- 2: "no such file or directory",
-- 3: "no such process",
-- 4: "interrupted system call",
-- 5: "input/output error",
-- 6: "device not configured",
-- 7: "argument list too long",
-- 8: "exec format error",
-- 9: "bad file descriptor",
-- 10: "no child processes",
-- 11: "resource deadlock avoided",
-- 12: "cannot allocate memory",
-- 13: "permission denied",
-- 14: "bad address",
-- 15: "block device required",
-- 16: "device busy",
-- 17: "file exists",
-- 18: "cross-device link",
-- 19: "operation not supported by device",
-- 20: "not a directory",
-- 21: "is a directory",
-- 22: "invalid argument",
-- 23: "too many open files in system",
-- 24: "too many open files",
-- 25: "inappropriate ioctl for device",
-- 26: "text file busy",
-- 27: "file too large",
-- 28: "no space left on device",
-- 29: "illegal seek",
-- 30: "read-only file system",
-- 31: "too many links",
-- 32: "broken pipe",
-- 33: "numerical argument out of domain",
-- 34: "result too large",
-- 35: "resource temporarily unavailable",
-- 36: "operation now in progress",
-- 37: "operation already in progress",
-- 38: "socket operation on non-socket",
-- 39: "destination address required",
-- 40: "message too long",
-- 41: "protocol wrong type for socket",
-- 42: "protocol not available",
-- 43: "protocol not supported",
-- 44: "socket type not supported",
-- 45: "operation not supported",
-- 46: "protocol family not supported",
-- 47: "address family not supported by protocol family",
-- 48: "address already in use",
-- 49: "can't assign requested address",
-- 50: "network is down",
-- 51: "network is unreachable",
-- 52: "network dropped connection on reset",
-- 53: "software caused connection abort",
-- 54: "connection reset by peer",
-- 55: "no buffer space available",
-- 56: "socket is already connected",
-- 57: "socket is not connected",
-- 58: "can't send after socket shutdown",
-- 59: "too many references: can't splice",
-- 60: "operation timed out",
-- 61: "connection refused",
-- 62: "too many levels of symbolic links",
-- 63: "file name too long",
-- 64: "host is down",
-- 65: "no route to host",
-- 66: "directory not empty",
-- 67: "too many processes",
-- 68: "too many users",
-- 69: "disc quota exceeded",
-- 70: "stale NFS file handle",
-- 71: "too many levels of remote in path",
-- 72: "RPC struct is bad",
-- 73: "RPC version wrong",
-- 74: "RPC prog. not avail",
-- 75: "program version wrong",
-- 76: "bad procedure for program",
-- 77: "no locks available",
-- 78: "function not implemented",
-- 79: "inappropriate file type or format",
-- 80: "authentication error",
-- 81: "need authenticator",
-- 82: "identifier removed",
-- 83: "no message of desired type",
-- 84: "value too large to be stored in data type",
-- 85: "operation canceled",
-- 86: "illegal byte sequence",
-- 87: "attribute not found",
-- 88: "programming error",
-- 89: "bad message",
-- 90: "multihop attempted",
-- 91: "link has been severed",
-- 92: "protocol error",
-- 93: "capabilities insufficient",
-- 94: "not permitted in capability mode",
-- 95: "state not recoverable",
-- 96: "previous owner died",
-+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", "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"},
- }
-
- // Signal table
--var signals = [...]string{
-- 1: "hangup",
-- 2: "interrupt",
-- 3: "quit",
-- 4: "illegal instruction",
-- 5: "trace/BPT trap",
-- 6: "abort trap",
-- 7: "EMT trap",
-- 8: "floating point exception",
-- 9: "killed",
-- 10: "bus error",
-- 11: "segmentation fault",
-- 12: "bad system call",
-- 13: "broken pipe",
-- 14: "alarm clock",
-- 15: "terminated",
-- 16: "urgent I/O condition",
-- 17: "suspended (signal)",
-- 18: "suspended",
-- 19: "continued",
-- 20: "child exited",
-- 21: "stopped (tty input)",
-- 22: "stopped (tty output)",
-- 23: "I/O possible",
-- 24: "cputime limit exceeded",
-- 25: "filesize limit exceeded",
-- 26: "virtual timer expired",
-- 27: "profiling timer expired",
-- 28: "window size changes",
-- 29: "information request",
-- 30: "user defined signal 1",
-- 31: "user defined signal 2",
-- 32: "unknown signal",
-- 33: "unknown signal",
-+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_freebsd_amd64.go b/vendor/golang.org/x/sys/unix/zerrors_freebsd_amd64.go
-index ac094f9c..4acd101c 100644
---- a/vendor/golang.org/x/sys/unix/zerrors_freebsd_amd64.go
-+++ b/vendor/golang.org/x/sys/unix/zerrors_freebsd_amd64.go
-@@ -3,7 +3,7 @@
-
- // +build amd64,freebsd
-
--// Created by cgo -godefs - DO NOT EDIT
-+// Code generated by cmd/cgo -godefs; DO NOT EDIT.
- // cgo -godefs -- -m64 _const.go
-
- package unix
-@@ -351,8 +351,26 @@ const (
- CSTOP = 0x13
- CSTOPB = 0x400
- CSUSP = 0x1a
-+ CTL_HW = 0x6
-+ CTL_KERN = 0x1
- CTL_MAXNAME = 0x18
- CTL_NET = 0x4
-+ DIOCGATTR = 0xc148648e
-+ DIOCGDELETE = 0x80106488
-+ DIOCGFLUSH = 0x20006487
-+ DIOCGFRONTSTUFF = 0x40086486
-+ DIOCGFWHEADS = 0x40046483
-+ DIOCGFWSECTORS = 0x40046482
-+ DIOCGIDENT = 0x41006489
-+ DIOCGMEDIASIZE = 0x40086481
-+ DIOCGPHYSPATH = 0x4400648d
-+ DIOCGPROVIDERNAME = 0x4400648a
-+ DIOCGSECTORSIZE = 0x40046480
-+ DIOCGSTRIPEOFFSET = 0x4008648c
-+ DIOCGSTRIPESIZE = 0x4008648b
-+ DIOCSKERNELDUMP = 0x80506490
-+ DIOCSKERNELDUMP_FREEBSD11 = 0x80046485
-+ DIOCZONECMD = 0xc080648f
- DLT_A429 = 0xb8
- DLT_A653_ICM = 0xb9
- DLT_AIRONET_HEADER = 0x78
-@@ -377,11 +395,14 @@ const (
- 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
-@@ -391,6 +412,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
-@@ -404,7 +426,6 @@ const (
- 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
-@@ -427,6 +448,7 @@ const (
- 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
-@@ -459,8 +481,9 @@ const (
- DLT_LINUX_PPP_WITHDIRECTION = 0xa6
- DLT_LINUX_SLL = 0x71
- DLT_LOOP = 0x6c
-+ DLT_LORATAP = 0x10e
- DLT_LTALK = 0x72
-- DLT_MATCHING_MAX = 0x104
-+ DLT_MATCHING_MAX = 0x113
- DLT_MATCHING_MIN = 0x68
- DLT_MFR = 0xb6
- DLT_MOST = 0xd3
-@@ -476,14 +499,16 @@ 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
- DLT_PKTAP = 0x102
- DLT_PPI = 0xc0
- DLT_PPP = 0x9
-- DLT_PPP_BSDOS = 0x10
-+ DLT_PPP_BSDOS = 0xe
- DLT_PPP_ETHER = 0x33
- DLT_PPP_PPPD = 0xa6
- DLT_PPP_SERIAL = 0x32
-@@ -494,19 +519,25 @@ const (
- 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 = 0xf
-+ 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
-@@ -525,10 +556,14 @@ 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
- 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
-@@ -546,6 +581,7 @@ const (
- ECHONL = 0x10
- ECHOPRT = 0x20
- EVFILT_AIO = -0x3
-+ EVFILT_EMPTY = -0xd
- EVFILT_FS = -0x9
- EVFILT_LIO = -0xa
- EVFILT_PROC = -0x5
-@@ -553,11 +589,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
-@@ -574,6 +611,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
-@@ -608,12 +646,14 @@ const (
- 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
-@@ -630,6 +670,7 @@ const (
- IFF_MONITOR = 0x40000
- IFF_MULTICAST = 0x8000
- IFF_NOARP = 0x80
-+ IFF_NOGROUP = 0x800000
- IFF_OACTIVE = 0x400
- IFF_POINTOPOINT = 0x10
- IFF_PPROMISC = 0x20000
-@@ -804,6 +845,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
-@@ -824,13 +866,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
-@@ -842,6 +884,7 @@ const (
- IPV6_RECVFLOWID = 0x46
- IPV6_RECVHOPLIMIT = 0x25
- IPV6_RECVHOPOPTS = 0x27
-+ IPV6_RECVORIGDSTADDR = 0x48
- IPV6_RECVPATHMTU = 0x2b
- IPV6_RECVPKTINFO = 0x24
- IPV6_RECVRSSBUCKETID = 0x47
-@@ -902,10 +945,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
-@@ -915,6 +956,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
-@@ -923,6 +965,7 @@ const (
- IP_RECVFLOWID = 0x5d
- IP_RECVIF = 0x14
- IP_RECVOPTS = 0x5
-+ IP_RECVORIGDSTADDR = 0x1b
- IP_RECVRETOPTS = 0x6
- IP_RECVRSSBUCKETID = 0x5e
- IP_RECVTOS = 0x44
-@@ -944,6 +987,10 @@ const (
- IXANY = 0x800
- IXOFF = 0x400
- IXON = 0x200
-+ KERN_HOSTNAME = 0xa
-+ KERN_OSRELEASE = 0x2
-+ KERN_OSTYPE = 0x1
-+ KERN_VERSION = 0x4
- LOCK_EX = 0x2
- LOCK_NB = 0x4
- LOCK_SH = 0x1
-@@ -969,6 +1016,7 @@ const (
- MAP_EXCL = 0x4000
- MAP_FILE = 0x0
- MAP_FIXED = 0x10
-+ MAP_GUARD = 0x2000
- MAP_HASSEMAPHORE = 0x200
- MAP_NOCORE = 0x20000
- MAP_NOSYNC = 0x800
-@@ -980,8 +1028,62 @@ const (
- 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
-+ MNT_ACLS = 0x8000000
-+ MNT_ASYNC = 0x40
-+ MNT_AUTOMOUNTED = 0x200000000
-+ MNT_BYFSID = 0x8000000
-+ MNT_CMDFLAGS = 0xd0f0000
-+ MNT_DEFEXPORTED = 0x200
-+ MNT_DELEXPORT = 0x20000
-+ MNT_EXKERB = 0x800
-+ MNT_EXPORTANON = 0x400
-+ MNT_EXPORTED = 0x100
-+ MNT_EXPUBLIC = 0x20000000
-+ MNT_EXRDONLY = 0x80
-+ 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_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
-@@ -1006,8 +1108,10 @@ const (
- NET_RT_IFLIST = 0x3
- NET_RT_IFLISTL = 0x5
- NET_RT_IFMALIST = 0x4
-+ NFDBITS = 0x40
- NOFLSH = 0x80000000
- NOKERNINFO = 0x2000000
-+ NOTE_ABSTIME = 0x10
- NOTE_ATTRIB = 0x8
- NOTE_CHILD = 0x4
- NOTE_CLOSE = 0x100
-@@ -1162,7 +1266,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
-@@ -1172,15 +1275,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
- SHUT_RD = 0x0
- SHUT_RDWR = 0x2
- SHUT_WR = 0x1
-@@ -1196,6 +1301,7 @@ const (
- SIOCGETSGCNT = 0xc0207210
- SIOCGETVIFCNT = 0xc028720f
- SIOCGHIWAT = 0x40047301
-+ SIOCGHWADDR = 0xc020693e
- SIOCGI2C = 0xc020693d
- SIOCGIFADDR = 0xc0206921
- SIOCGIFBRDADDR = 0xc0206923
-@@ -1217,8 +1323,11 @@ const (
- SIOCGIFPDSTADDR = 0xc0206948
- SIOCGIFPHYS = 0xc0206935
- SIOCGIFPSRCADDR = 0xc0206947
-+ SIOCGIFRSSHASH = 0xc0186997
-+ SIOCGIFRSSKEY = 0xc0946996
- SIOCGIFSTATUS = 0xc331693b
- SIOCGIFXMEDIA = 0xc030698b
-+ SIOCGLANPCP = 0xc0206998
- SIOCGLOWAT = 0x40047303
- SIOCGPGRP = 0x40047309
- SIOCGPRIVATE_0 = 0xc0206950
-@@ -1249,6 +1358,7 @@ const (
- SIOCSIFPHYS = 0x80206936
- SIOCSIFRVNET = 0xc020695b
- SIOCSIFVNET = 0xc020695a
-+ SIOCSLANPCP = 0x80206999
- SIOCSLOWAT = 0x80047302
- SIOCSPGRP = 0x80047308
- SIOCSTUNFIB = 0x8020695f
-@@ -1267,6 +1377,7 @@ const (
- SO_BINTIME = 0x2000
- SO_BROADCAST = 0x20
- SO_DEBUG = 0x1
-+ SO_DOMAIN = 0x1019
- SO_DONTROUTE = 0x10
- SO_ERROR = 0x1007
- SO_KEEPALIVE = 0x8
-@@ -1275,6 +1386,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
-@@ -1287,15 +1399,52 @@ const (
- SO_RCVTIMEO = 0x1006
- 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
-@@ -1306,10 +1455,45 @@ const (
- TCOFLUSH = 0x2
- TCOOFF = 0x1
- TCOON = 0x2
-+ TCP_BBR_ACK_COMP_ALG = 0x448
-+ TCP_BBR_DRAIN_INC_EXTRA = 0x43c
-+ TCP_BBR_DRAIN_PG = 0x42e
-+ TCP_BBR_EXTRA_GAIN = 0x449
-+ 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_ONE_RETRAN = 0x431
-+ TCP_BBR_PACE_CROSS = 0x442
-+ TCP_BBR_PACE_DEL_TAR = 0x43f
-+ TCP_BBR_PACE_PER_SEC = 0x43e
-+ TCP_BBR_PACE_SEG_MAX = 0x440
-+ TCP_BBR_PACE_SEG_MIN = 0x441
-+ 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_STARTUP_EXIT_EPOCH = 0x43d
-+ TCP_BBR_STARTUP_LOSS_EXIT = 0x432
-+ TCP_BBR_STARTUP_PG = 0x42d
-+ TCP_BBR_UNLIMITED = 0x43b
-+ TCP_BBR_USEDEL_RATE = 0x437
-+ TCP_BBR_USE_LOWGAIN = 0x433
- 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
-@@ -1317,6 +1501,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
-@@ -1332,8 +1522,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_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_SESS_CWV = 0x42a
-+ 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
-@@ -1397,6 +1609,8 @@ const (
- TIOCTIMESTAMP = 0x40107459
- TIOCUCNTL = 0x80047466
- TOSTOP = 0x400000
-+ UTIME_NOW = -0x1
-+ UTIME_OMIT = -0x2
- VDISCARD = 0xf
- VDSUSP = 0xb
- VEOF = 0x0
-@@ -1570,138 +1784,146 @@ const (
- )
-
- // Error table
--var errors = [...]string{
-- 1: "operation not permitted",
-- 2: "no such file or directory",
-- 3: "no such process",
-- 4: "interrupted system call",
-- 5: "input/output error",
-- 6: "device not configured",
-- 7: "argument list too long",
-- 8: "exec format error",
-- 9: "bad file descriptor",
-- 10: "no child processes",
-- 11: "resource deadlock avoided",
-- 12: "cannot allocate memory",
-- 13: "permission denied",
-- 14: "bad address",
-- 15: "block device required",
-- 16: "device busy",
-- 17: "file exists",
-- 18: "cross-device link",
-- 19: "operation not supported by device",
-- 20: "not a directory",
-- 21: "is a directory",
-- 22: "invalid argument",
-- 23: "too many open files in system",
-- 24: "too many open files",
-- 25: "inappropriate ioctl for device",
-- 26: "text file busy",
-- 27: "file too large",
-- 28: "no space left on device",
-- 29: "illegal seek",
-- 30: "read-only file system",
-- 31: "too many links",
-- 32: "broken pipe",
-- 33: "numerical argument out of domain",
-- 34: "result too large",
-- 35: "resource temporarily unavailable",
-- 36: "operation now in progress",
-- 37: "operation already in progress",
-- 38: "socket operation on non-socket",
-- 39: "destination address required",
-- 40: "message too long",
-- 41: "protocol wrong type for socket",
-- 42: "protocol not available",
-- 43: "protocol not supported",
-- 44: "socket type not supported",
-- 45: "operation not supported",
-- 46: "protocol family not supported",
-- 47: "address family not supported by protocol family",
-- 48: "address already in use",
-- 49: "can't assign requested address",
-- 50: "network is down",
-- 51: "network is unreachable",
-- 52: "network dropped connection on reset",
-- 53: "software caused connection abort",
-- 54: "connection reset by peer",
-- 55: "no buffer space available",
-- 56: "socket is already connected",
-- 57: "socket is not connected",
-- 58: "can't send after socket shutdown",
-- 59: "too many references: can't splice",
-- 60: "operation timed out",
-- 61: "connection refused",
-- 62: "too many levels of symbolic links",
-- 63: "file name too long",
-- 64: "host is down",
-- 65: "no route to host",
-- 66: "directory not empty",
-- 67: "too many processes",
-- 68: "too many users",
-- 69: "disc quota exceeded",
-- 70: "stale NFS file handle",
-- 71: "too many levels of remote in path",
-- 72: "RPC struct is bad",
-- 73: "RPC version wrong",
-- 74: "RPC prog. not avail",
-- 75: "program version wrong",
-- 76: "bad procedure for program",
-- 77: "no locks available",
-- 78: "function not implemented",
-- 79: "inappropriate file type or format",
-- 80: "authentication error",
-- 81: "need authenticator",
-- 82: "identifier removed",
-- 83: "no message of desired type",
-- 84: "value too large to be stored in data type",
-- 85: "operation canceled",
-- 86: "illegal byte sequence",
-- 87: "attribute not found",
-- 88: "programming error",
-- 89: "bad message",
-- 90: "multihop attempted",
-- 91: "link has been severed",
-- 92: "protocol error",
-- 93: "capabilities insufficient",
-- 94: "not permitted in capability mode",
-- 95: "state not recoverable",
-- 96: "previous owner died",
-+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", "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"},
- }
-
- // Signal table
--var signals = [...]string{
-- 1: "hangup",
-- 2: "interrupt",
-- 3: "quit",
-- 4: "illegal instruction",
-- 5: "trace/BPT trap",
-- 6: "abort trap",
-- 7: "EMT trap",
-- 8: "floating point exception",
-- 9: "killed",
-- 10: "bus error",
-- 11: "segmentation fault",
-- 12: "bad system call",
-- 13: "broken pipe",
-- 14: "alarm clock",
-- 15: "terminated",
-- 16: "urgent I/O condition",
-- 17: "suspended (signal)",
-- 18: "suspended",
-- 19: "continued",
-- 20: "child exited",
-- 21: "stopped (tty input)",
-- 22: "stopped (tty output)",
-- 23: "I/O possible",
-- 24: "cputime limit exceeded",
-- 25: "filesize limit exceeded",
-- 26: "virtual timer expired",
-- 27: "profiling timer expired",
-- 28: "window size changes",
-- 29: "information request",
-- 30: "user defined signal 1",
-- 31: "user defined signal 2",
-- 32: "unknown signal",
-- 33: "unknown signal",
-+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_freebsd_arm.go b/vendor/golang.org/x/sys/unix/zerrors_freebsd_arm.go
-index c5c6f13e..e4719873 100644
---- a/vendor/golang.org/x/sys/unix/zerrors_freebsd_arm.go
-+++ b/vendor/golang.org/x/sys/unix/zerrors_freebsd_arm.go
-@@ -3,7 +3,7 @@
-
- // +build arm,freebsd
-
--// Created by cgo -godefs - DO NOT EDIT
-+// Code generated by cmd/cgo -godefs; DO NOT EDIT.
- // cgo -godefs -- _const.go
-
- package unix
-@@ -351,8 +351,26 @@ const (
- CSTOP = 0x13
- CSTOPB = 0x400
- CSUSP = 0x1a
-+ CTL_HW = 0x6
-+ CTL_KERN = 0x1
- CTL_MAXNAME = 0x18
- CTL_NET = 0x4
-+ DIOCGATTR = 0xc144648e
-+ DIOCGDELETE = 0x80106488
-+ DIOCGFLUSH = 0x20006487
-+ DIOCGFRONTSTUFF = 0x40086486
-+ DIOCGFWHEADS = 0x40046483
-+ DIOCGFWSECTORS = 0x40046482
-+ DIOCGIDENT = 0x41006489
-+ DIOCGMEDIASIZE = 0x40086481
-+ DIOCGPHYSPATH = 0x4400648d
-+ DIOCGPROVIDERNAME = 0x4400648a
-+ DIOCGSECTORSIZE = 0x40046480
-+ DIOCGSTRIPEOFFSET = 0x4008648c
-+ DIOCGSTRIPESIZE = 0x4008648b
-+ DIOCSKERNELDUMP = 0x804c6490
-+ DIOCSKERNELDUMP_FREEBSD11 = 0x80046485
-+ DIOCZONECMD = 0xc06c648f
- DLT_A429 = 0xb8
- DLT_A653_ICM = 0xb9
- DLT_AIRONET_HEADER = 0x78
-@@ -615,6 +633,7 @@ const (
- F_UNLCKSYS = 0x4
- F_WRLCK = 0x3
- HUPCL = 0x4000
-+ HW_MACHINE = 0x1
- ICANON = 0x100
- ICMP6_FILTER = 0x12
- ICRNL = 0x100
-@@ -951,6 +970,10 @@ const (
- IXANY = 0x800
- IXOFF = 0x400
- IXON = 0x200
-+ KERN_HOSTNAME = 0xa
-+ KERN_OSRELEASE = 0x2
-+ KERN_OSTYPE = 0x1
-+ KERN_VERSION = 0x4
- LOCK_EX = 0x2
- LOCK_NB = 0x4
- LOCK_SH = 0x1
-@@ -989,6 +1012,49 @@ const (
- MAP_STACK = 0x400
- MCL_CURRENT = 0x1
- MCL_FUTURE = 0x2
-+ MNT_ACLS = 0x8000000
-+ MNT_ASYNC = 0x40
-+ MNT_AUTOMOUNTED = 0x200000000
-+ MNT_BYFSID = 0x8000000
-+ MNT_CMDFLAGS = 0xd0f0000
-+ MNT_DEFEXPORTED = 0x200
-+ MNT_DELEXPORT = 0x20000
-+ MNT_EXKERB = 0x800
-+ MNT_EXPORTANON = 0x400
-+ MNT_EXPORTED = 0x100
-+ MNT_EXPUBLIC = 0x20000000
-+ MNT_EXRDONLY = 0x80
-+ 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_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_UPDATE = 0x10000
-+ MNT_UPDATEMASK = 0x2d8d0807e
-+ MNT_USER = 0x8000
-+ MNT_VISFLAGMASK = 0x3fef0ffff
-+ MNT_WAIT = 0x1
- MSG_CMSG_CLOEXEC = 0x40000
- MSG_COMPAT = 0x8000
- MSG_CTRUNC = 0x20
-@@ -1013,6 +1079,7 @@ const (
- NET_RT_IFLIST = 0x3
- NET_RT_IFLISTL = 0x5
- NET_RT_IFMALIST = 0x4
-+ NFDBITS = 0x20
- NOFLSH = 0x80000000
- NOKERNINFO = 0x2000000
- NOTE_ATTRIB = 0x8
-@@ -1304,6 +1371,35 @@ const (
- 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
-@@ -1578,138 +1674,146 @@ const (
- )
-
- // Error table
--var errors = [...]string{
-- 1: "operation not permitted",
-- 2: "no such file or directory",
-- 3: "no such process",
-- 4: "interrupted system call",
-- 5: "input/output error",
-- 6: "device not configured",
-- 7: "argument list too long",
-- 8: "exec format error",
-- 9: "bad file descriptor",
-- 10: "no child processes",
-- 11: "resource deadlock avoided",
-- 12: "cannot allocate memory",
-- 13: "permission denied",
-- 14: "bad address",
-- 15: "block device required",
-- 16: "device busy",
-- 17: "file exists",
-- 18: "cross-device link",
-- 19: "operation not supported by device",
-- 20: "not a directory",
-- 21: "is a directory",
-- 22: "invalid argument",
-- 23: "too many open files in system",
-- 24: "too many open files",
-- 25: "inappropriate ioctl for device",
-- 26: "text file busy",
-- 27: "file too large",
-- 28: "no space left on device",
-- 29: "illegal seek",
-- 30: "read-only file system",
-- 31: "too many links",
-- 32: "broken pipe",
-- 33: "numerical argument out of domain",
-- 34: "result too large",
-- 35: "resource temporarily unavailable",
-- 36: "operation now in progress",
-- 37: "operation already in progress",
-- 38: "socket operation on non-socket",
-- 39: "destination address required",
-- 40: "message too long",
-- 41: "protocol wrong type for socket",
-- 42: "protocol not available",
-- 43: "protocol not supported",
-- 44: "socket type not supported",
-- 45: "operation not supported",
-- 46: "protocol family not supported",
-- 47: "address family not supported by protocol family",
-- 48: "address already in use",
-- 49: "can't assign requested address",
-- 50: "network is down",
-- 51: "network is unreachable",
-- 52: "network dropped connection on reset",
-- 53: "software caused connection abort",
-- 54: "connection reset by peer",
-- 55: "no buffer space available",
-- 56: "socket is already connected",
-- 57: "socket is not connected",
-- 58: "can't send after socket shutdown",
-- 59: "too many references: can't splice",
-- 60: "operation timed out",
-- 61: "connection refused",
-- 62: "too many levels of symbolic links",
-- 63: "file name too long",
-- 64: "host is down",
-- 65: "no route to host",
-- 66: "directory not empty",
-- 67: "too many processes",
-- 68: "too many users",
-- 69: "disc quota exceeded",
-- 70: "stale NFS file handle",
-- 71: "too many levels of remote in path",
-- 72: "RPC struct is bad",
-- 73: "RPC version wrong",
-- 74: "RPC prog. not avail",
-- 75: "program version wrong",
-- 76: "bad procedure for program",
-- 77: "no locks available",
-- 78: "function not implemented",
-- 79: "inappropriate file type or format",
-- 80: "authentication error",
-- 81: "need authenticator",
-- 82: "identifier removed",
-- 83: "no message of desired type",
-- 84: "value too large to be stored in data type",
-- 85: "operation canceled",
-- 86: "illegal byte sequence",
-- 87: "attribute not found",
-- 88: "programming error",
-- 89: "bad message",
-- 90: "multihop attempted",
-- 91: "link has been severed",
-- 92: "protocol error",
-- 93: "capabilities insufficient",
-- 94: "not permitted in capability mode",
-- 95: "state not recoverable",
-- 96: "previous owner died",
-+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", "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"},
- }
-
- // Signal table
--var signals = [...]string{
-- 1: "hangup",
-- 2: "interrupt",
-- 3: "quit",
-- 4: "illegal instruction",
-- 5: "trace/BPT trap",
-- 6: "abort trap",
-- 7: "EMT trap",
-- 8: "floating point exception",
-- 9: "killed",
-- 10: "bus error",
-- 11: "segmentation fault",
-- 12: "bad system call",
-- 13: "broken pipe",
-- 14: "alarm clock",
-- 15: "terminated",
-- 16: "urgent I/O condition",
-- 17: "suspended (signal)",
-- 18: "suspended",
-- 19: "continued",
-- 20: "child exited",
-- 21: "stopped (tty input)",
-- 22: "stopped (tty output)",
-- 23: "I/O possible",
-- 24: "cputime limit exceeded",
-- 25: "filesize limit exceeded",
-- 26: "virtual timer expired",
-- 27: "profiling timer expired",
-- 28: "window size changes",
-- 29: "information request",
-- 30: "user defined signal 1",
-- 31: "user defined signal 2",
-- 32: "unknown signal",
-- 33: "unknown signal",
-+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_freebsd_amd64.go b/vendor/golang.org/x/sys/unix/zerrors_freebsd_arm64.go
-similarity index 80%
-copy from vendor/golang.org/x/sys/unix/zerrors_freebsd_amd64.go
-copy to vendor/golang.org/x/sys/unix/zerrors_freebsd_arm64.go
-index ac094f9c..5e49769d 100644
---- a/vendor/golang.org/x/sys/unix/zerrors_freebsd_amd64.go
-+++ b/vendor/golang.org/x/sys/unix/zerrors_freebsd_arm64.go
-@@ -1,9 +1,9 @@
- // mkerrors.sh -m64
- // Code generated by the command above; see README.md. DO NOT EDIT.
-
--// +build amd64,freebsd
-+// +build arm64,freebsd
-
--// Created by cgo -godefs - DO NOT EDIT
-+// Code generated by cmd/cgo -godefs; DO NOT EDIT.
- // cgo -godefs -- -m64 _const.go
-
- package unix
-@@ -351,8 +351,26 @@ const (
- CSTOP = 0x13
- CSTOPB = 0x400
- CSUSP = 0x1a
-+ CTL_HW = 0x6
-+ CTL_KERN = 0x1
- CTL_MAXNAME = 0x18
- CTL_NET = 0x4
-+ DIOCGATTR = 0xc148648e
-+ DIOCGDELETE = 0x80106488
-+ DIOCGFLUSH = 0x20006487
-+ DIOCGFRONTSTUFF = 0x40086486
-+ DIOCGFWHEADS = 0x40046483
-+ DIOCGFWSECTORS = 0x40046482
-+ DIOCGIDENT = 0x41006489
-+ DIOCGMEDIASIZE = 0x40086481
-+ DIOCGPHYSPATH = 0x4400648d
-+ DIOCGPROVIDERNAME = 0x4400648a
-+ DIOCGSECTORSIZE = 0x40046480
-+ DIOCGSTRIPEOFFSET = 0x4008648c
-+ DIOCGSTRIPESIZE = 0x4008648b
-+ DIOCSKERNELDUMP = 0x80506490
-+ DIOCSKERNELDUMP_FREEBSD11 = 0x80046485
-+ DIOCZONECMD = 0xc080648f
- DLT_A429 = 0xb8
- DLT_A653_ICM = 0xb9
- DLT_AIRONET_HEADER = 0x78
-@@ -377,11 +395,14 @@ const (
- 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
-@@ -391,6 +412,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
-@@ -404,7 +426,6 @@ const (
- 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
-@@ -427,6 +448,7 @@ const (
- 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
-@@ -459,8 +481,9 @@ const (
- DLT_LINUX_PPP_WITHDIRECTION = 0xa6
- DLT_LINUX_SLL = 0x71
- DLT_LOOP = 0x6c
-+ DLT_LORATAP = 0x10e
- DLT_LTALK = 0x72
-- DLT_MATCHING_MAX = 0x104
-+ DLT_MATCHING_MAX = 0x113
- DLT_MATCHING_MIN = 0x68
- DLT_MFR = 0xb6
- DLT_MOST = 0xd3
-@@ -476,14 +499,16 @@ 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
- DLT_PKTAP = 0x102
- DLT_PPI = 0xc0
- DLT_PPP = 0x9
-- DLT_PPP_BSDOS = 0x10
-+ DLT_PPP_BSDOS = 0xe
- DLT_PPP_ETHER = 0x33
- DLT_PPP_PPPD = 0xa6
- DLT_PPP_SERIAL = 0x32
-@@ -494,19 +519,25 @@ const (
- 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 = 0xf
-+ 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
-@@ -525,10 +556,14 @@ 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
- 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
-@@ -546,6 +581,7 @@ const (
- ECHONL = 0x10
- ECHOPRT = 0x20
- EVFILT_AIO = -0x3
-+ EVFILT_EMPTY = -0xd
- EVFILT_FS = -0x9
- EVFILT_LIO = -0xa
- EVFILT_PROC = -0x5
-@@ -553,11 +589,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
-@@ -574,6 +611,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
-@@ -608,12 +646,14 @@ const (
- 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
-@@ -630,6 +670,7 @@ const (
- IFF_MONITOR = 0x40000
- IFF_MULTICAST = 0x8000
- IFF_NOARP = 0x80
-+ IFF_NOGROUP = 0x800000
- IFF_OACTIVE = 0x400
- IFF_POINTOPOINT = 0x10
- IFF_PPROMISC = 0x20000
-@@ -804,6 +845,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
-@@ -824,13 +866,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
-@@ -842,6 +884,7 @@ const (
- IPV6_RECVFLOWID = 0x46
- IPV6_RECVHOPLIMIT = 0x25
- IPV6_RECVHOPOPTS = 0x27
-+ IPV6_RECVORIGDSTADDR = 0x48
- IPV6_RECVPATHMTU = 0x2b
- IPV6_RECVPKTINFO = 0x24
- IPV6_RECVRSSBUCKETID = 0x47
-@@ -902,10 +945,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
-@@ -915,6 +956,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
-@@ -923,6 +965,7 @@ const (
- IP_RECVFLOWID = 0x5d
- IP_RECVIF = 0x14
- IP_RECVOPTS = 0x5
-+ IP_RECVORIGDSTADDR = 0x1b
- IP_RECVRETOPTS = 0x6
- IP_RECVRSSBUCKETID = 0x5e
- IP_RECVTOS = 0x44
-@@ -944,6 +987,10 @@ const (
- IXANY = 0x800
- IXOFF = 0x400
- IXON = 0x200
-+ KERN_HOSTNAME = 0xa
-+ KERN_OSRELEASE = 0x2
-+ KERN_OSTYPE = 0x1
-+ KERN_VERSION = 0x4
- LOCK_EX = 0x2
- LOCK_NB = 0x4
- LOCK_SH = 0x1
-@@ -969,6 +1016,7 @@ const (
- MAP_EXCL = 0x4000
- MAP_FILE = 0x0
- MAP_FIXED = 0x10
-+ MAP_GUARD = 0x2000
- MAP_HASSEMAPHORE = 0x200
- MAP_NOCORE = 0x20000
- MAP_NOSYNC = 0x800
-@@ -980,8 +1028,62 @@ const (
- 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
-+ MNT_ACLS = 0x8000000
-+ MNT_ASYNC = 0x40
-+ MNT_AUTOMOUNTED = 0x200000000
-+ MNT_BYFSID = 0x8000000
-+ MNT_CMDFLAGS = 0xd0f0000
-+ MNT_DEFEXPORTED = 0x200
-+ MNT_DELEXPORT = 0x20000
-+ MNT_EXKERB = 0x800
-+ MNT_EXPORTANON = 0x400
-+ MNT_EXPORTED = 0x100
-+ MNT_EXPUBLIC = 0x20000000
-+ MNT_EXRDONLY = 0x80
-+ 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_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
-@@ -1006,8 +1108,10 @@ const (
- NET_RT_IFLIST = 0x3
- NET_RT_IFLISTL = 0x5
- NET_RT_IFMALIST = 0x4
-+ NFDBITS = 0x40
- NOFLSH = 0x80000000
- NOKERNINFO = 0x2000000
-+ NOTE_ABSTIME = 0x10
- NOTE_ATTRIB = 0x8
- NOTE_CHILD = 0x4
- NOTE_CLOSE = 0x100
-@@ -1162,7 +1266,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
-@@ -1172,15 +1275,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
- SHUT_RD = 0x0
- SHUT_RDWR = 0x2
- SHUT_WR = 0x1
-@@ -1196,6 +1301,7 @@ const (
- SIOCGETSGCNT = 0xc0207210
- SIOCGETVIFCNT = 0xc028720f
- SIOCGHIWAT = 0x40047301
-+ SIOCGHWADDR = 0xc020693e
- SIOCGI2C = 0xc020693d
- SIOCGIFADDR = 0xc0206921
- SIOCGIFBRDADDR = 0xc0206923
-@@ -1217,8 +1323,11 @@ const (
- SIOCGIFPDSTADDR = 0xc0206948
- SIOCGIFPHYS = 0xc0206935
- SIOCGIFPSRCADDR = 0xc0206947
-+ SIOCGIFRSSHASH = 0xc0186997
-+ SIOCGIFRSSKEY = 0xc0946996
- SIOCGIFSTATUS = 0xc331693b
- SIOCGIFXMEDIA = 0xc030698b
-+ SIOCGLANPCP = 0xc0206998
- SIOCGLOWAT = 0x40047303
- SIOCGPGRP = 0x40047309
- SIOCGPRIVATE_0 = 0xc0206950
-@@ -1249,6 +1358,7 @@ const (
- SIOCSIFPHYS = 0x80206936
- SIOCSIFRVNET = 0xc020695b
- SIOCSIFVNET = 0xc020695a
-+ SIOCSLANPCP = 0x80206999
- SIOCSLOWAT = 0x80047302
- SIOCSPGRP = 0x80047308
- SIOCSTUNFIB = 0x8020695f
-@@ -1267,6 +1377,7 @@ const (
- SO_BINTIME = 0x2000
- SO_BROADCAST = 0x20
- SO_DEBUG = 0x1
-+ SO_DOMAIN = 0x1019
- SO_DONTROUTE = 0x10
- SO_ERROR = 0x1007
- SO_KEEPALIVE = 0x8
-@@ -1275,6 +1386,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
-@@ -1287,15 +1399,52 @@ const (
- SO_RCVTIMEO = 0x1006
- 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
-@@ -1306,10 +1455,45 @@ const (
- TCOFLUSH = 0x2
- TCOOFF = 0x1
- TCOON = 0x2
-+ TCP_BBR_ACK_COMP_ALG = 0x448
-+ TCP_BBR_DRAIN_INC_EXTRA = 0x43c
-+ TCP_BBR_DRAIN_PG = 0x42e
-+ TCP_BBR_EXTRA_GAIN = 0x449
-+ 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_ONE_RETRAN = 0x431
-+ TCP_BBR_PACE_CROSS = 0x442
-+ TCP_BBR_PACE_DEL_TAR = 0x43f
-+ TCP_BBR_PACE_PER_SEC = 0x43e
-+ TCP_BBR_PACE_SEG_MAX = 0x440
-+ TCP_BBR_PACE_SEG_MIN = 0x441
-+ 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_STARTUP_EXIT_EPOCH = 0x43d
-+ TCP_BBR_STARTUP_LOSS_EXIT = 0x432
-+ TCP_BBR_STARTUP_PG = 0x42d
-+ TCP_BBR_UNLIMITED = 0x43b
-+ TCP_BBR_USEDEL_RATE = 0x437
-+ TCP_BBR_USE_LOWGAIN = 0x433
- 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
-@@ -1317,6 +1501,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
-@@ -1332,8 +1522,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_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_SESS_CWV = 0x42a
-+ 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
-@@ -1397,6 +1609,8 @@ const (
- TIOCTIMESTAMP = 0x40107459
- TIOCUCNTL = 0x80047466
- TOSTOP = 0x400000
-+ UTIME_NOW = -0x1
-+ UTIME_OMIT = -0x2
- VDISCARD = 0xf
- VDSUSP = 0xb
- VEOF = 0x0
-@@ -1408,6 +1622,7 @@ const (
- VKILL = 0x5
- VLNEXT = 0xe
- VMIN = 0x10
-+ VM_BCACHE_SIZE_MAX = 0x19000000
- VQUIT = 0x9
- VREPRINT = 0x6
- VSTART = 0xc
-@@ -1570,138 +1785,146 @@ const (
- )
-
- // Error table
--var errors = [...]string{
-- 1: "operation not permitted",
-- 2: "no such file or directory",
-- 3: "no such process",
-- 4: "interrupted system call",
-- 5: "input/output error",
-- 6: "device not configured",
-- 7: "argument list too long",
-- 8: "exec format error",
-- 9: "bad file descriptor",
-- 10: "no child processes",
-- 11: "resource deadlock avoided",
-- 12: "cannot allocate memory",
-- 13: "permission denied",
-- 14: "bad address",
-- 15: "block device required",
-- 16: "device busy",
-- 17: "file exists",
-- 18: "cross-device link",
-- 19: "operation not supported by device",
-- 20: "not a directory",
-- 21: "is a directory",
-- 22: "invalid argument",
-- 23: "too many open files in system",
-- 24: "too many open files",
-- 25: "inappropriate ioctl for device",
-- 26: "text file busy",
-- 27: "file too large",
-- 28: "no space left on device",
-- 29: "illegal seek",
-- 30: "read-only file system",
-- 31: "too many links",
-- 32: "broken pipe",
-- 33: "numerical argument out of domain",
-- 34: "result too large",
-- 35: "resource temporarily unavailable",
-- 36: "operation now in progress",
-- 37: "operation already in progress",
-- 38: "socket operation on non-socket",
-- 39: "destination address required",
-- 40: "message too long",
-- 41: "protocol wrong type for socket",
-- 42: "protocol not available",
-- 43: "protocol not supported",
-- 44: "socket type not supported",
-- 45: "operation not supported",
-- 46: "protocol family not supported",
-- 47: "address family not supported by protocol family",
-- 48: "address already in use",
-- 49: "can't assign requested address",
-- 50: "network is down",
-- 51: "network is unreachable",
-- 52: "network dropped connection on reset",
-- 53: "software caused connection abort",
-- 54: "connection reset by peer",
-- 55: "no buffer space available",
-- 56: "socket is already connected",
-- 57: "socket is not connected",
-- 58: "can't send after socket shutdown",
-- 59: "too many references: can't splice",
-- 60: "operation timed out",
-- 61: "connection refused",
-- 62: "too many levels of symbolic links",
-- 63: "file name too long",
-- 64: "host is down",
-- 65: "no route to host",
-- 66: "directory not empty",
-- 67: "too many processes",
-- 68: "too many users",
-- 69: "disc quota exceeded",
-- 70: "stale NFS file handle",
-- 71: "too many levels of remote in path",
-- 72: "RPC struct is bad",
-- 73: "RPC version wrong",
-- 74: "RPC prog. not avail",
-- 75: "program version wrong",
-- 76: "bad procedure for program",
-- 77: "no locks available",
-- 78: "function not implemented",
-- 79: "inappropriate file type or format",
-- 80: "authentication error",
-- 81: "need authenticator",
-- 82: "identifier removed",
-- 83: "no message of desired type",
-- 84: "value too large to be stored in data type",
-- 85: "operation canceled",
-- 86: "illegal byte sequence",
-- 87: "attribute not found",
-- 88: "programming error",
-- 89: "bad message",
-- 90: "multihop attempted",
-- 91: "link has been severed",
-- 92: "protocol error",
-- 93: "capabilities insufficient",
-- 94: "not permitted in capability mode",
-- 95: "state not recoverable",
-- 96: "previous owner died",
-+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", "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"},
- }
-
- // Signal table
--var signals = [...]string{
-- 1: "hangup",
-- 2: "interrupt",
-- 3: "quit",
-- 4: "illegal instruction",
-- 5: "trace/BPT trap",
-- 6: "abort trap",
-- 7: "EMT trap",
-- 8: "floating point exception",
-- 9: "killed",
-- 10: "bus error",
-- 11: "segmentation fault",
-- 12: "bad system call",
-- 13: "broken pipe",
-- 14: "alarm clock",
-- 15: "terminated",
-- 16: "urgent I/O condition",
-- 17: "suspended (signal)",
-- 18: "suspended",
-- 19: "continued",
-- 20: "child exited",
-- 21: "stopped (tty input)",
-- 22: "stopped (tty output)",
-- 23: "I/O possible",
-- 24: "cputime limit exceeded",
-- 25: "filesize limit exceeded",
-- 26: "virtual timer expired",
-- 27: "profiling timer expired",
-- 28: "window size changes",
-- 29: "information request",
-- 30: "user defined signal 1",
-- 31: "user defined signal 2",
-- 32: "unknown signal",
-- 33: "unknown signal",
-+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
-new file mode 100644
-index 00000000..21973940
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/zerrors_linux.go
-@@ -0,0 +1,2469 @@
-+// Code generated by mkmerge.go; DO NOT EDIT.
-+
-+// +build linux
-+
-+package unix
-+
-+import "syscall"
-+
-+const (
-+ AAFS_MAGIC = 0x5a3c69f0
-+ ADFS_SUPER_MAGIC = 0xadf5
-+ AFFS_SUPER_MAGIC = 0xadff
-+ AFS_FS_MAGIC = 0x6b414653
-+ AFS_SUPER_MAGIC = 0x5346414f
-+ AF_ALG = 0x26
-+ AF_APPLETALK = 0x5
-+ AF_ASH = 0x12
-+ AF_ATMPVC = 0x8
-+ AF_ATMSVC = 0x14
-+ AF_AX25 = 0x3
-+ AF_BLUETOOTH = 0x1f
-+ AF_BRIDGE = 0x7
-+ AF_CAIF = 0x25
-+ AF_CAN = 0x1d
-+ AF_DECnet = 0xc
-+ AF_ECONET = 0x13
-+ AF_FILE = 0x1
-+ AF_IB = 0x1b
-+ AF_IEEE802154 = 0x24
-+ AF_INET = 0x2
-+ AF_INET6 = 0xa
-+ AF_IPX = 0x4
-+ AF_IRDA = 0x17
-+ AF_ISDN = 0x22
-+ AF_IUCV = 0x20
-+ AF_KCM = 0x29
-+ AF_KEY = 0xf
-+ AF_LLC = 0x1a
-+ AF_LOCAL = 0x1
-+ AF_MAX = 0x2d
-+ AF_MPLS = 0x1c
-+ AF_NETBEUI = 0xd
-+ AF_NETLINK = 0x10
-+ AF_NETROM = 0x6
-+ AF_NFC = 0x27
-+ AF_PACKET = 0x11
-+ AF_PHONET = 0x23
-+ AF_PPPOX = 0x18
-+ AF_QIPCRTR = 0x2a
-+ AF_RDS = 0x15
-+ AF_ROSE = 0xb
-+ AF_ROUTE = 0x10
-+ AF_RXRPC = 0x21
-+ AF_SECURITY = 0xe
-+ AF_SMC = 0x2b
-+ AF_SNA = 0x16
-+ AF_TIPC = 0x1e
-+ AF_UNIX = 0x1
-+ AF_UNSPEC = 0x0
-+ AF_VSOCK = 0x28
-+ AF_WANPIPE = 0x19
-+ AF_X25 = 0x9
-+ AF_XDP = 0x2c
-+ ALG_OP_DECRYPT = 0x0
-+ ALG_OP_ENCRYPT = 0x1
-+ ALG_SET_AEAD_ASSOCLEN = 0x4
-+ ALG_SET_AEAD_AUTHSIZE = 0x5
-+ ALG_SET_IV = 0x2
-+ ALG_SET_KEY = 0x1
-+ ALG_SET_OP = 0x3
-+ ANON_INODE_FS_MAGIC = 0x9041934
-+ ARPHRD_6LOWPAN = 0x339
-+ ARPHRD_ADAPT = 0x108
-+ ARPHRD_APPLETLK = 0x8
-+ ARPHRD_ARCNET = 0x7
-+ ARPHRD_ASH = 0x30d
-+ ARPHRD_ATM = 0x13
-+ ARPHRD_AX25 = 0x3
-+ ARPHRD_BIF = 0x307
-+ ARPHRD_CAIF = 0x336
-+ ARPHRD_CAN = 0x118
-+ ARPHRD_CHAOS = 0x5
-+ ARPHRD_CISCO = 0x201
-+ ARPHRD_CSLIP = 0x101
-+ ARPHRD_CSLIP6 = 0x103
-+ ARPHRD_DDCMP = 0x205
-+ ARPHRD_DLCI = 0xf
-+ ARPHRD_ECONET = 0x30e
-+ ARPHRD_EETHER = 0x2
-+ ARPHRD_ETHER = 0x1
-+ ARPHRD_EUI64 = 0x1b
-+ ARPHRD_FCAL = 0x311
-+ ARPHRD_FCFABRIC = 0x313
-+ ARPHRD_FCPL = 0x312
-+ ARPHRD_FCPP = 0x310
-+ ARPHRD_FDDI = 0x306
-+ ARPHRD_FRAD = 0x302
-+ ARPHRD_HDLC = 0x201
-+ ARPHRD_HIPPI = 0x30c
-+ ARPHRD_HWX25 = 0x110
-+ ARPHRD_IEEE1394 = 0x18
-+ ARPHRD_IEEE802 = 0x6
-+ ARPHRD_IEEE80211 = 0x321
-+ ARPHRD_IEEE80211_PRISM = 0x322
-+ ARPHRD_IEEE80211_RADIOTAP = 0x323
-+ ARPHRD_IEEE802154 = 0x324
-+ ARPHRD_IEEE802154_MONITOR = 0x325
-+ ARPHRD_IEEE802_TR = 0x320
-+ ARPHRD_INFINIBAND = 0x20
-+ ARPHRD_IP6GRE = 0x337
-+ ARPHRD_IPDDP = 0x309
-+ ARPHRD_IPGRE = 0x30a
-+ ARPHRD_IRDA = 0x30f
-+ ARPHRD_LAPB = 0x204
-+ ARPHRD_LOCALTLK = 0x305
-+ ARPHRD_LOOPBACK = 0x304
-+ ARPHRD_METRICOM = 0x17
-+ ARPHRD_NETLINK = 0x338
-+ ARPHRD_NETROM = 0x0
-+ ARPHRD_NONE = 0xfffe
-+ ARPHRD_PHONET = 0x334
-+ ARPHRD_PHONET_PIPE = 0x335
-+ ARPHRD_PIMREG = 0x30b
-+ ARPHRD_PPP = 0x200
-+ ARPHRD_PRONET = 0x4
-+ ARPHRD_RAWHDLC = 0x206
-+ ARPHRD_RAWIP = 0x207
-+ ARPHRD_ROSE = 0x10e
-+ ARPHRD_RSRVD = 0x104
-+ ARPHRD_SIT = 0x308
-+ ARPHRD_SKIP = 0x303
-+ ARPHRD_SLIP = 0x100
-+ ARPHRD_SLIP6 = 0x102
-+ ARPHRD_TUNNEL = 0x300
-+ ARPHRD_TUNNEL6 = 0x301
-+ ARPHRD_VOID = 0xffff
-+ ARPHRD_VSOCKMON = 0x33a
-+ ARPHRD_X25 = 0x10f
-+ AUTOFS_SUPER_MAGIC = 0x187
-+ B0 = 0x0
-+ B110 = 0x3
-+ B1200 = 0x9
-+ B134 = 0x4
-+ B150 = 0x5
-+ B1800 = 0xa
-+ B19200 = 0xe
-+ B200 = 0x6
-+ B2400 = 0xb
-+ B300 = 0x7
-+ B38400 = 0xf
-+ B4800 = 0xc
-+ B50 = 0x1
-+ B600 = 0x8
-+ B75 = 0x2
-+ B9600 = 0xd
-+ BALLOON_KVM_MAGIC = 0x13661366
-+ BDEVFS_MAGIC = 0x62646576
-+ BINDERFS_SUPER_MAGIC = 0x6c6f6f70
-+ BINFMTFS_MAGIC = 0x42494e4d
-+ BPF_A = 0x10
-+ BPF_ABS = 0x20
-+ BPF_ADD = 0x0
-+ BPF_ADJ_ROOM_ENCAP_L2_MASK = 0xff
-+ BPF_ADJ_ROOM_ENCAP_L2_SHIFT = 0x38
-+ BPF_ALU = 0x4
-+ BPF_ALU64 = 0x7
-+ BPF_AND = 0x50
-+ BPF_ANY = 0x0
-+ BPF_ARSH = 0xc0
-+ BPF_B = 0x10
-+ BPF_BUILD_ID_SIZE = 0x14
-+ BPF_CALL = 0x80
-+ BPF_DEVCG_ACC_MKNOD = 0x1
-+ BPF_DEVCG_ACC_READ = 0x2
-+ BPF_DEVCG_ACC_WRITE = 0x4
-+ BPF_DEVCG_DEV_BLOCK = 0x1
-+ BPF_DEVCG_DEV_CHAR = 0x2
-+ BPF_DIV = 0x30
-+ BPF_DW = 0x18
-+ BPF_END = 0xd0
-+ BPF_EXIST = 0x2
-+ BPF_EXIT = 0x90
-+ BPF_FLOW_DISSECTOR_F_PARSE_1ST_FRAG = 0x1
-+ BPF_FLOW_DISSECTOR_F_STOP_AT_ENCAP = 0x4
-+ BPF_FLOW_DISSECTOR_F_STOP_AT_FLOW_LABEL = 0x2
-+ BPF_FROM_BE = 0x8
-+ BPF_FROM_LE = 0x0
-+ BPF_FS_MAGIC = 0xcafe4a11
-+ BPF_F_ADJ_ROOM_ENCAP_L3_IPV4 = 0x2
-+ BPF_F_ADJ_ROOM_ENCAP_L3_IPV6 = 0x4
-+ BPF_F_ADJ_ROOM_ENCAP_L4_GRE = 0x8
-+ BPF_F_ADJ_ROOM_ENCAP_L4_UDP = 0x10
-+ BPF_F_ADJ_ROOM_FIXED_GSO = 0x1
-+ BPF_F_ALLOW_MULTI = 0x2
-+ BPF_F_ALLOW_OVERRIDE = 0x1
-+ BPF_F_ANY_ALIGNMENT = 0x2
-+ BPF_F_CLONE = 0x200
-+ BPF_F_CTXLEN_MASK = 0xfffff00000000
-+ BPF_F_CURRENT_CPU = 0xffffffff
-+ BPF_F_CURRENT_NETNS = -0x1
-+ BPF_F_DONT_FRAGMENT = 0x4
-+ BPF_F_FAST_STACK_CMP = 0x200
-+ BPF_F_HDR_FIELD_MASK = 0xf
-+ BPF_F_INDEX_MASK = 0xffffffff
-+ BPF_F_INGRESS = 0x1
-+ BPF_F_INVALIDATE_HASH = 0x2
-+ BPF_F_LOCK = 0x4
-+ BPF_F_MARK_ENFORCE = 0x40
-+ BPF_F_MARK_MANGLED_0 = 0x20
-+ BPF_F_MMAPABLE = 0x400
-+ BPF_F_NO_COMMON_LRU = 0x2
-+ BPF_F_NO_PREALLOC = 0x1
-+ BPF_F_NUMA_NODE = 0x4
-+ BPF_F_PSEUDO_HDR = 0x10
-+ BPF_F_QUERY_EFFECTIVE = 0x1
-+ BPF_F_RDONLY = 0x8
-+ BPF_F_RDONLY_PROG = 0x80
-+ BPF_F_RECOMPUTE_CSUM = 0x1
-+ BPF_F_REPLACE = 0x4
-+ BPF_F_REUSE_STACKID = 0x400
-+ BPF_F_SEQ_NUMBER = 0x8
-+ BPF_F_SKIP_FIELD_MASK = 0xff
-+ BPF_F_STACK_BUILD_ID = 0x20
-+ BPF_F_STRICT_ALIGNMENT = 0x1
-+ BPF_F_SYSCTL_BASE_NAME = 0x1
-+ BPF_F_TEST_RND_HI32 = 0x4
-+ BPF_F_TEST_STATE_FREQ = 0x8
-+ BPF_F_TUNINFO_IPV6 = 0x1
-+ BPF_F_USER_BUILD_ID = 0x800
-+ BPF_F_USER_STACK = 0x100
-+ BPF_F_WRONLY = 0x10
-+ BPF_F_WRONLY_PROG = 0x100
-+ BPF_F_ZERO_CSUM_TX = 0x2
-+ BPF_F_ZERO_SEED = 0x40
-+ BPF_H = 0x8
-+ BPF_IMM = 0x0
-+ BPF_IND = 0x40
-+ BPF_JA = 0x0
-+ BPF_JEQ = 0x10
-+ BPF_JGE = 0x30
-+ BPF_JGT = 0x20
-+ BPF_JLE = 0xb0
-+ BPF_JLT = 0xa0
-+ BPF_JMP = 0x5
-+ BPF_JMP32 = 0x6
-+ BPF_JNE = 0x50
-+ BPF_JSET = 0x40
-+ BPF_JSGE = 0x70
-+ BPF_JSGT = 0x60
-+ BPF_JSLE = 0xd0
-+ BPF_JSLT = 0xc0
-+ BPF_K = 0x0
-+ BPF_LD = 0x0
-+ BPF_LDX = 0x1
-+ BPF_LEN = 0x80
-+ BPF_LL_OFF = -0x200000
-+ BPF_LSH = 0x60
-+ BPF_MAJOR_VERSION = 0x1
-+ BPF_MAXINSNS = 0x1000
-+ BPF_MEM = 0x60
-+ BPF_MEMWORDS = 0x10
-+ BPF_MINOR_VERSION = 0x1
-+ BPF_MISC = 0x7
-+ BPF_MOD = 0x90
-+ BPF_MOV = 0xb0
-+ BPF_MSH = 0xa0
-+ BPF_MUL = 0x20
-+ BPF_NEG = 0x80
-+ BPF_NET_OFF = -0x100000
-+ BPF_NOEXIST = 0x1
-+ BPF_OBJ_NAME_LEN = 0x10
-+ BPF_OR = 0x40
-+ BPF_PSEUDO_CALL = 0x1
-+ BPF_PSEUDO_MAP_FD = 0x1
-+ BPF_PSEUDO_MAP_VALUE = 0x2
-+ BPF_RET = 0x6
-+ BPF_RSH = 0x70
-+ BPF_SK_STORAGE_GET_F_CREATE = 0x1
-+ BPF_SOCK_OPS_ALL_CB_FLAGS = 0xf
-+ BPF_SOCK_OPS_RETRANS_CB_FLAG = 0x2
-+ BPF_SOCK_OPS_RTO_CB_FLAG = 0x1
-+ BPF_SOCK_OPS_RTT_CB_FLAG = 0x8
-+ BPF_SOCK_OPS_STATE_CB_FLAG = 0x4
-+ BPF_ST = 0x2
-+ BPF_STX = 0x3
-+ BPF_SUB = 0x10
-+ BPF_TAG_SIZE = 0x8
-+ BPF_TAX = 0x0
-+ BPF_TO_BE = 0x8
-+ BPF_TO_LE = 0x0
-+ BPF_TXA = 0x80
-+ BPF_W = 0x0
-+ BPF_X = 0x8
-+ BPF_XADD = 0xc0
-+ BPF_XOR = 0xa0
-+ BRKINT = 0x2
-+ BS0 = 0x0
-+ BTRFS_SUPER_MAGIC = 0x9123683e
-+ BTRFS_TEST_MAGIC = 0x73727279
-+ CAN_BCM = 0x2
-+ CAN_EFF_FLAG = 0x80000000
-+ CAN_EFF_ID_BITS = 0x1d
-+ CAN_EFF_MASK = 0x1fffffff
-+ CAN_ERR_FLAG = 0x20000000
-+ CAN_ERR_MASK = 0x1fffffff
-+ CAN_INV_FILTER = 0x20000000
-+ CAN_ISOTP = 0x6
-+ CAN_J1939 = 0x7
-+ CAN_MAX_DLC = 0x8
-+ CAN_MAX_DLEN = 0x8
-+ CAN_MCNET = 0x5
-+ CAN_MTU = 0x10
-+ CAN_NPROTO = 0x8
-+ CAN_RAW = 0x1
-+ CAN_RAW_FILTER_MAX = 0x200
-+ CAN_RTR_FLAG = 0x40000000
-+ CAN_SFF_ID_BITS = 0xb
-+ CAN_SFF_MASK = 0x7ff
-+ CAN_TP16 = 0x3
-+ CAN_TP20 = 0x4
-+ CAP_AUDIT_CONTROL = 0x1e
-+ CAP_AUDIT_READ = 0x25
-+ CAP_AUDIT_WRITE = 0x1d
-+ CAP_BLOCK_SUSPEND = 0x24
-+ CAP_CHOWN = 0x0
-+ CAP_DAC_OVERRIDE = 0x1
-+ CAP_DAC_READ_SEARCH = 0x2
-+ CAP_FOWNER = 0x3
-+ CAP_FSETID = 0x4
-+ CAP_IPC_LOCK = 0xe
-+ CAP_IPC_OWNER = 0xf
-+ CAP_KILL = 0x5
-+ CAP_LAST_CAP = 0x25
-+ CAP_LEASE = 0x1c
-+ CAP_LINUX_IMMUTABLE = 0x9
-+ CAP_MAC_ADMIN = 0x21
-+ CAP_MAC_OVERRIDE = 0x20
-+ CAP_MKNOD = 0x1b
-+ CAP_NET_ADMIN = 0xc
-+ CAP_NET_BIND_SERVICE = 0xa
-+ CAP_NET_BROADCAST = 0xb
-+ CAP_NET_RAW = 0xd
-+ CAP_SETFCAP = 0x1f
-+ CAP_SETGID = 0x6
-+ CAP_SETPCAP = 0x8
-+ CAP_SETUID = 0x7
-+ CAP_SYSLOG = 0x22
-+ CAP_SYS_ADMIN = 0x15
-+ CAP_SYS_BOOT = 0x16
-+ CAP_SYS_CHROOT = 0x12
-+ CAP_SYS_MODULE = 0x10
-+ CAP_SYS_NICE = 0x17
-+ CAP_SYS_PACCT = 0x14
-+ CAP_SYS_PTRACE = 0x13
-+ CAP_SYS_RAWIO = 0x11
-+ CAP_SYS_RESOURCE = 0x18
-+ CAP_SYS_TIME = 0x19
-+ CAP_SYS_TTY_CONFIG = 0x1a
-+ CAP_WAKE_ALARM = 0x23
-+ CFLUSH = 0xf
-+ CGROUP2_SUPER_MAGIC = 0x63677270
-+ CGROUP_SUPER_MAGIC = 0x27e0eb
-+ CLOCK_BOOTTIME = 0x7
-+ CLOCK_BOOTTIME_ALARM = 0x9
-+ CLOCK_DEFAULT = 0x0
-+ CLOCK_EXT = 0x1
-+ CLOCK_INT = 0x2
-+ CLOCK_MONOTONIC = 0x1
-+ CLOCK_MONOTONIC_COARSE = 0x6
-+ CLOCK_MONOTONIC_RAW = 0x4
-+ CLOCK_PROCESS_CPUTIME_ID = 0x2
-+ CLOCK_REALTIME = 0x0
-+ CLOCK_REALTIME_ALARM = 0x8
-+ CLOCK_REALTIME_COARSE = 0x5
-+ CLOCK_TAI = 0xb
-+ CLOCK_THREAD_CPUTIME_ID = 0x3
-+ CLOCK_TXFROMRX = 0x4
-+ CLOCK_TXINT = 0x3
-+ CLONE_ARGS_SIZE_VER0 = 0x40
-+ CLONE_ARGS_SIZE_VER1 = 0x50
-+ CLONE_CHILD_CLEARTID = 0x200000
-+ CLONE_CHILD_SETTID = 0x1000000
-+ CLONE_CLEAR_SIGHAND = 0x100000000
-+ CLONE_DETACHED = 0x400000
-+ CLONE_FILES = 0x400
-+ CLONE_FS = 0x200
-+ CLONE_IO = 0x80000000
-+ CLONE_NEWCGROUP = 0x2000000
-+ CLONE_NEWIPC = 0x8000000
-+ CLONE_NEWNET = 0x40000000
-+ CLONE_NEWNS = 0x20000
-+ CLONE_NEWPID = 0x20000000
-+ CLONE_NEWTIME = 0x80
-+ CLONE_NEWUSER = 0x10000000
-+ CLONE_NEWUTS = 0x4000000
-+ CLONE_PARENT = 0x8000
-+ CLONE_PARENT_SETTID = 0x100000
-+ CLONE_PIDFD = 0x1000
-+ CLONE_PTRACE = 0x2000
-+ CLONE_SETTLS = 0x80000
-+ CLONE_SIGHAND = 0x800
-+ CLONE_SYSVSEM = 0x40000
-+ CLONE_THREAD = 0x10000
-+ CLONE_UNTRACED = 0x800000
-+ CLONE_VFORK = 0x4000
-+ CLONE_VM = 0x100
-+ CMSPAR = 0x40000000
-+ CODA_SUPER_MAGIC = 0x73757245
-+ CR0 = 0x0
-+ CRAMFS_MAGIC = 0x28cd3d45
-+ CRTSCTS = 0x80000000
-+ CRYPTO_MAX_NAME = 0x40
-+ CRYPTO_MSG_MAX = 0x15
-+ CRYPTO_NR_MSGTYPES = 0x6
-+ CRYPTO_REPORT_MAXSIZE = 0x160
-+ CS5 = 0x0
-+ CSIGNAL = 0xff
-+ CSTART = 0x11
-+ CSTATUS = 0x0
-+ CSTOP = 0x13
-+ CSUSP = 0x1a
-+ DAXFS_MAGIC = 0x64646178
-+ DEBUGFS_MAGIC = 0x64626720
-+ DEVLINK_CMD_ESWITCH_MODE_GET = 0x1d
-+ DEVLINK_CMD_ESWITCH_MODE_SET = 0x1e
-+ DEVLINK_GENL_MCGRP_CONFIG_NAME = "config"
-+ DEVLINK_GENL_NAME = "devlink"
-+ DEVLINK_GENL_VERSION = 0x1
-+ DEVLINK_SB_THRESHOLD_TO_ALPHA_MAX = 0x14
-+ DEVPTS_SUPER_MAGIC = 0x1cd1
-+ DMA_BUF_MAGIC = 0x444d4142
-+ 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
-+ ECRYPTFS_SUPER_MAGIC = 0xf15f
-+ EFD_SEMAPHORE = 0x1
-+ EFIVARFS_MAGIC = 0xde5e81e4
-+ EFS_SUPER_MAGIC = 0x414a53
-+ ENCODING_DEFAULT = 0x0
-+ ENCODING_FM_MARK = 0x3
-+ ENCODING_FM_SPACE = 0x4
-+ ENCODING_MANCHESTER = 0x5
-+ ENCODING_NRZ = 0x1
-+ ENCODING_NRZI = 0x2
-+ EPOLLERR = 0x8
-+ EPOLLET = 0x80000000
-+ EPOLLEXCLUSIVE = 0x10000000
-+ EPOLLHUP = 0x10
-+ EPOLLIN = 0x1
-+ EPOLLMSG = 0x400
-+ EPOLLONESHOT = 0x40000000
-+ EPOLLOUT = 0x4
-+ EPOLLPRI = 0x2
-+ EPOLLRDBAND = 0x80
-+ EPOLLRDHUP = 0x2000
-+ EPOLLRDNORM = 0x40
-+ EPOLLWAKEUP = 0x20000000
-+ EPOLLWRBAND = 0x200
-+ EPOLLWRNORM = 0x100
-+ EPOLL_CTL_ADD = 0x1
-+ EPOLL_CTL_DEL = 0x2
-+ EPOLL_CTL_MOD = 0x3
-+ EROFS_SUPER_MAGIC_V1 = 0xe0f5e1e2
-+ ETH_P_1588 = 0x88f7
-+ ETH_P_8021AD = 0x88a8
-+ ETH_P_8021AH = 0x88e7
-+ ETH_P_8021Q = 0x8100
-+ ETH_P_80221 = 0x8917
-+ ETH_P_802_2 = 0x4
-+ ETH_P_802_3 = 0x1
-+ ETH_P_802_3_MIN = 0x600
-+ ETH_P_802_EX1 = 0x88b5
-+ ETH_P_AARP = 0x80f3
-+ ETH_P_AF_IUCV = 0xfbfb
-+ ETH_P_ALL = 0x3
-+ ETH_P_AOE = 0x88a2
-+ ETH_P_ARCNET = 0x1a
-+ ETH_P_ARP = 0x806
-+ ETH_P_ATALK = 0x809b
-+ ETH_P_ATMFATE = 0x8884
-+ ETH_P_ATMMPOA = 0x884c
-+ ETH_P_AX25 = 0x2
-+ ETH_P_BATMAN = 0x4305
-+ ETH_P_BPQ = 0x8ff
-+ ETH_P_CAIF = 0xf7
-+ ETH_P_CAN = 0xc
-+ ETH_P_CANFD = 0xd
-+ ETH_P_CONTROL = 0x16
-+ ETH_P_CUST = 0x6006
-+ ETH_P_DDCMP = 0x6
-+ ETH_P_DEC = 0x6000
-+ ETH_P_DIAG = 0x6005
-+ ETH_P_DNA_DL = 0x6001
-+ ETH_P_DNA_RC = 0x6002
-+ ETH_P_DNA_RT = 0x6003
-+ ETH_P_DSA = 0x1b
-+ ETH_P_DSA_8021Q = 0xdadb
-+ ETH_P_ECONET = 0x18
-+ ETH_P_EDSA = 0xdada
-+ ETH_P_ERSPAN = 0x88be
-+ ETH_P_ERSPAN2 = 0x22eb
-+ ETH_P_FCOE = 0x8906
-+ ETH_P_FIP = 0x8914
-+ ETH_P_HDLC = 0x19
-+ ETH_P_HSR = 0x892f
-+ ETH_P_IBOE = 0x8915
-+ ETH_P_IEEE802154 = 0xf6
-+ ETH_P_IEEEPUP = 0xa00
-+ ETH_P_IEEEPUPAT = 0xa01
-+ ETH_P_IFE = 0xed3e
-+ ETH_P_IP = 0x800
-+ ETH_P_IPV6 = 0x86dd
-+ ETH_P_IPX = 0x8137
-+ ETH_P_IRDA = 0x17
-+ ETH_P_LAT = 0x6004
-+ ETH_P_LINK_CTL = 0x886c
-+ ETH_P_LLDP = 0x88cc
-+ ETH_P_LOCALTALK = 0x9
-+ ETH_P_LOOP = 0x60
-+ ETH_P_LOOPBACK = 0x9000
-+ ETH_P_MACSEC = 0x88e5
-+ ETH_P_MAP = 0xf9
-+ ETH_P_MOBITEX = 0x15
-+ ETH_P_MPLS_MC = 0x8848
-+ ETH_P_MPLS_UC = 0x8847
-+ ETH_P_MVRP = 0x88f5
-+ ETH_P_NCSI = 0x88f8
-+ ETH_P_NSH = 0x894f
-+ ETH_P_PAE = 0x888e
-+ ETH_P_PAUSE = 0x8808
-+ ETH_P_PHONET = 0xf5
-+ ETH_P_PPPTALK = 0x10
-+ ETH_P_PPP_DISC = 0x8863
-+ ETH_P_PPP_MP = 0x8
-+ ETH_P_PPP_SES = 0x8864
-+ ETH_P_PREAUTH = 0x88c7
-+ ETH_P_PRP = 0x88fb
-+ ETH_P_PUP = 0x200
-+ ETH_P_PUPAT = 0x201
-+ ETH_P_QINQ1 = 0x9100
-+ ETH_P_QINQ2 = 0x9200
-+ ETH_P_QINQ3 = 0x9300
-+ ETH_P_RARP = 0x8035
-+ ETH_P_SCA = 0x6007
-+ ETH_P_SLOW = 0x8809
-+ ETH_P_SNAP = 0x5
-+ ETH_P_TDLS = 0x890d
-+ ETH_P_TEB = 0x6558
-+ ETH_P_TIPC = 0x88ca
-+ ETH_P_TRAILER = 0x1c
-+ ETH_P_TR_802_2 = 0x11
-+ ETH_P_TSN = 0x22f0
-+ ETH_P_WAN_PPP = 0x7
-+ ETH_P_WCCP = 0x883e
-+ ETH_P_X25 = 0x805
-+ ETH_P_XDSA = 0xf8
-+ EXABYTE_ENABLE_NEST = 0xf0
-+ EXT2_SUPER_MAGIC = 0xef53
-+ EXT3_SUPER_MAGIC = 0xef53
-+ EXT4_SUPER_MAGIC = 0xef53
-+ EXTA = 0xe
-+ EXTB = 0xf
-+ F2FS_SUPER_MAGIC = 0xf2f52010
-+ FALLOC_FL_COLLAPSE_RANGE = 0x8
-+ FALLOC_FL_INSERT_RANGE = 0x20
-+ FALLOC_FL_KEEP_SIZE = 0x1
-+ FALLOC_FL_NO_HIDE_STALE = 0x4
-+ FALLOC_FL_PUNCH_HOLE = 0x2
-+ FALLOC_FL_UNSHARE_RANGE = 0x40
-+ FALLOC_FL_ZERO_RANGE = 0x10
-+ FANOTIFY_METADATA_VERSION = 0x3
-+ FAN_ACCESS = 0x1
-+ FAN_ACCESS_PERM = 0x20000
-+ FAN_ALLOW = 0x1
-+ FAN_ALL_CLASS_BITS = 0xc
-+ FAN_ALL_EVENTS = 0x3b
-+ FAN_ALL_INIT_FLAGS = 0x3f
-+ FAN_ALL_MARK_FLAGS = 0xff
-+ FAN_ALL_OUTGOING_EVENTS = 0x3403b
-+ FAN_ALL_PERM_EVENTS = 0x30000
-+ FAN_ATTRIB = 0x4
-+ FAN_AUDIT = 0x10
-+ FAN_CLASS_CONTENT = 0x4
-+ FAN_CLASS_NOTIF = 0x0
-+ FAN_CLASS_PRE_CONTENT = 0x8
-+ FAN_CLOEXEC = 0x1
-+ FAN_CLOSE = 0x18
-+ FAN_CLOSE_NOWRITE = 0x10
-+ FAN_CLOSE_WRITE = 0x8
-+ FAN_CREATE = 0x100
-+ FAN_DELETE = 0x200
-+ FAN_DELETE_SELF = 0x400
-+ FAN_DENY = 0x2
-+ FAN_ENABLE_AUDIT = 0x40
-+ FAN_EVENT_INFO_TYPE_FID = 0x1
-+ FAN_EVENT_METADATA_LEN = 0x18
-+ FAN_EVENT_ON_CHILD = 0x8000000
-+ FAN_MARK_ADD = 0x1
-+ FAN_MARK_DONT_FOLLOW = 0x4
-+ FAN_MARK_FILESYSTEM = 0x100
-+ FAN_MARK_FLUSH = 0x80
-+ FAN_MARK_IGNORED_MASK = 0x20
-+ FAN_MARK_IGNORED_SURV_MODIFY = 0x40
-+ FAN_MARK_INODE = 0x0
-+ FAN_MARK_MOUNT = 0x10
-+ FAN_MARK_ONLYDIR = 0x8
-+ FAN_MARK_REMOVE = 0x2
-+ FAN_MODIFY = 0x2
-+ FAN_MOVE = 0xc0
-+ FAN_MOVED_FROM = 0x40
-+ FAN_MOVED_TO = 0x80
-+ FAN_MOVE_SELF = 0x800
-+ FAN_NOFD = -0x1
-+ FAN_NONBLOCK = 0x2
-+ FAN_ONDIR = 0x40000000
-+ FAN_OPEN = 0x20
-+ FAN_OPEN_EXEC = 0x1000
-+ FAN_OPEN_EXEC_PERM = 0x40000
-+ FAN_OPEN_PERM = 0x10000
-+ FAN_Q_OVERFLOW = 0x4000
-+ FAN_REPORT_FID = 0x200
-+ FAN_REPORT_TID = 0x100
-+ FAN_UNLIMITED_MARKS = 0x20
-+ FAN_UNLIMITED_QUEUE = 0x10
-+ FD_CLOEXEC = 0x1
-+ FD_SETSIZE = 0x400
-+ FF0 = 0x0
-+ FSCRYPT_KEY_DESCRIPTOR_SIZE = 0x8
-+ FSCRYPT_KEY_DESC_PREFIX = "fscrypt:"
-+ FSCRYPT_KEY_DESC_PREFIX_SIZE = 0x8
-+ FSCRYPT_KEY_IDENTIFIER_SIZE = 0x10
-+ FSCRYPT_KEY_REMOVAL_STATUS_FLAG_FILES_BUSY = 0x1
-+ FSCRYPT_KEY_REMOVAL_STATUS_FLAG_OTHER_USERS = 0x2
-+ FSCRYPT_KEY_SPEC_TYPE_DESCRIPTOR = 0x1
-+ FSCRYPT_KEY_SPEC_TYPE_IDENTIFIER = 0x2
-+ FSCRYPT_KEY_STATUS_ABSENT = 0x1
-+ FSCRYPT_KEY_STATUS_FLAG_ADDED_BY_SELF = 0x1
-+ FSCRYPT_KEY_STATUS_INCOMPLETELY_REMOVED = 0x3
-+ FSCRYPT_KEY_STATUS_PRESENT = 0x2
-+ FSCRYPT_MAX_KEY_SIZE = 0x40
-+ FSCRYPT_MODE_ADIANTUM = 0x9
-+ FSCRYPT_MODE_AES_128_CBC = 0x5
-+ FSCRYPT_MODE_AES_128_CTS = 0x6
-+ FSCRYPT_MODE_AES_256_CTS = 0x4
-+ FSCRYPT_MODE_AES_256_XTS = 0x1
-+ FSCRYPT_POLICY_FLAGS_PAD_16 = 0x2
-+ FSCRYPT_POLICY_FLAGS_PAD_32 = 0x3
-+ FSCRYPT_POLICY_FLAGS_PAD_4 = 0x0
-+ FSCRYPT_POLICY_FLAGS_PAD_8 = 0x1
-+ FSCRYPT_POLICY_FLAGS_PAD_MASK = 0x3
-+ FSCRYPT_POLICY_FLAGS_VALID = 0xf
-+ FSCRYPT_POLICY_FLAG_DIRECT_KEY = 0x4
-+ FSCRYPT_POLICY_FLAG_IV_INO_LBLK_64 = 0x8
-+ FSCRYPT_POLICY_V1 = 0x0
-+ FSCRYPT_POLICY_V2 = 0x2
-+ FS_ENCRYPTION_MODE_ADIANTUM = 0x9
-+ FS_ENCRYPTION_MODE_AES_128_CBC = 0x5
-+ FS_ENCRYPTION_MODE_AES_128_CTS = 0x6
-+ FS_ENCRYPTION_MODE_AES_256_CBC = 0x3
-+ FS_ENCRYPTION_MODE_AES_256_CTS = 0x4
-+ FS_ENCRYPTION_MODE_AES_256_GCM = 0x2
-+ FS_ENCRYPTION_MODE_AES_256_XTS = 0x1
-+ FS_ENCRYPTION_MODE_INVALID = 0x0
-+ FS_ENCRYPTION_MODE_SPECK128_256_CTS = 0x8
-+ FS_ENCRYPTION_MODE_SPECK128_256_XTS = 0x7
-+ FS_IOC_ADD_ENCRYPTION_KEY = 0xc0506617
-+ FS_IOC_GET_ENCRYPTION_KEY_STATUS = 0xc080661a
-+ FS_IOC_GET_ENCRYPTION_POLICY_EX = 0xc0096616
-+ FS_IOC_MEASURE_VERITY = 0xc0046686
-+ FS_IOC_REMOVE_ENCRYPTION_KEY = 0xc0406618
-+ FS_IOC_REMOVE_ENCRYPTION_KEY_ALL_USERS = 0xc0406619
-+ FS_KEY_DESCRIPTOR_SIZE = 0x8
-+ FS_KEY_DESC_PREFIX = "fscrypt:"
-+ FS_KEY_DESC_PREFIX_SIZE = 0x8
-+ FS_MAX_KEY_SIZE = 0x40
-+ FS_POLICY_FLAGS_PAD_16 = 0x2
-+ FS_POLICY_FLAGS_PAD_32 = 0x3
-+ FS_POLICY_FLAGS_PAD_4 = 0x0
-+ FS_POLICY_FLAGS_PAD_8 = 0x1
-+ FS_POLICY_FLAGS_PAD_MASK = 0x3
-+ FS_POLICY_FLAGS_VALID = 0xf
-+ FS_VERITY_FL = 0x100000
-+ FS_VERITY_HASH_ALG_SHA256 = 0x1
-+ FS_VERITY_HASH_ALG_SHA512 = 0x2
-+ FUTEXFS_SUPER_MAGIC = 0xbad1dea
-+ F_ADD_SEALS = 0x409
-+ F_DUPFD = 0x0
-+ F_DUPFD_CLOEXEC = 0x406
-+ F_EXLCK = 0x4
-+ F_GETFD = 0x1
-+ F_GETFL = 0x3
-+ F_GETLEASE = 0x401
-+ F_GETOWN_EX = 0x10
-+ F_GETPIPE_SZ = 0x408
-+ F_GETSIG = 0xb
-+ F_GET_FILE_RW_HINT = 0x40d
-+ F_GET_RW_HINT = 0x40b
-+ F_GET_SEALS = 0x40a
-+ F_LOCK = 0x1
-+ F_NOTIFY = 0x402
-+ F_OFD_GETLK = 0x24
-+ F_OFD_SETLK = 0x25
-+ F_OFD_SETLKW = 0x26
-+ F_OK = 0x0
-+ F_SEAL_FUTURE_WRITE = 0x10
-+ F_SEAL_GROW = 0x4
-+ F_SEAL_SEAL = 0x1
-+ F_SEAL_SHRINK = 0x2
-+ F_SEAL_WRITE = 0x8
-+ F_SETFD = 0x2
-+ F_SETFL = 0x4
-+ F_SETLEASE = 0x400
-+ F_SETOWN_EX = 0xf
-+ F_SETPIPE_SZ = 0x407
-+ F_SETSIG = 0xa
-+ F_SET_FILE_RW_HINT = 0x40e
-+ F_SET_RW_HINT = 0x40c
-+ F_SHLCK = 0x8
-+ F_TEST = 0x3
-+ F_TLOCK = 0x2
-+ F_ULOCK = 0x0
-+ GENL_ADMIN_PERM = 0x1
-+ GENL_CMD_CAP_DO = 0x2
-+ GENL_CMD_CAP_DUMP = 0x4
-+ GENL_CMD_CAP_HASPOL = 0x8
-+ GENL_HDRLEN = 0x4
-+ GENL_ID_CTRL = 0x10
-+ GENL_ID_PMCRAID = 0x12
-+ GENL_ID_VFS_DQUOT = 0x11
-+ GENL_MAX_ID = 0x3ff
-+ GENL_MIN_ID = 0x10
-+ GENL_NAMSIZ = 0x10
-+ GENL_START_ALLOC = 0x13
-+ GENL_UNS_ADMIN_PERM = 0x10
-+ GRND_INSECURE = 0x4
-+ GRND_NONBLOCK = 0x1
-+ GRND_RANDOM = 0x2
-+ HDIO_DRIVE_CMD = 0x31f
-+ HDIO_DRIVE_CMD_AEB = 0x31e
-+ HDIO_DRIVE_CMD_HDR_SIZE = 0x4
-+ HDIO_DRIVE_HOB_HDR_SIZE = 0x8
-+ HDIO_DRIVE_RESET = 0x31c
-+ HDIO_DRIVE_TASK = 0x31e
-+ HDIO_DRIVE_TASKFILE = 0x31d
-+ HDIO_DRIVE_TASK_HDR_SIZE = 0x8
-+ HDIO_GETGEO = 0x301
-+ HDIO_GET_32BIT = 0x309
-+ HDIO_GET_ACOUSTIC = 0x30f
-+ HDIO_GET_ADDRESS = 0x310
-+ HDIO_GET_BUSSTATE = 0x31a
-+ HDIO_GET_DMA = 0x30b
-+ HDIO_GET_IDENTITY = 0x30d
-+ HDIO_GET_KEEPSETTINGS = 0x308
-+ HDIO_GET_MULTCOUNT = 0x304
-+ HDIO_GET_NICE = 0x30c
-+ HDIO_GET_NOWERR = 0x30a
-+ HDIO_GET_QDMA = 0x305
-+ HDIO_GET_UNMASKINTR = 0x302
-+ HDIO_GET_WCACHE = 0x30e
-+ HDIO_OBSOLETE_IDENTITY = 0x307
-+ HDIO_SCAN_HWIF = 0x328
-+ HDIO_SET_32BIT = 0x324
-+ HDIO_SET_ACOUSTIC = 0x32c
-+ HDIO_SET_ADDRESS = 0x32f
-+ HDIO_SET_BUSSTATE = 0x32d
-+ HDIO_SET_DMA = 0x326
-+ HDIO_SET_KEEPSETTINGS = 0x323
-+ HDIO_SET_MULTCOUNT = 0x321
-+ HDIO_SET_NICE = 0x329
-+ HDIO_SET_NOWERR = 0x325
-+ HDIO_SET_PIO_MODE = 0x327
-+ HDIO_SET_QDMA = 0x32e
-+ HDIO_SET_UNMASKINTR = 0x322
-+ HDIO_SET_WCACHE = 0x32b
-+ HDIO_SET_XFER = 0x306
-+ HDIO_TRISTATE_HWIF = 0x31b
-+ HDIO_UNREGISTER_HWIF = 0x32a
-+ HOSTFS_SUPER_MAGIC = 0xc0ffee
-+ HPFS_SUPER_MAGIC = 0xf995e849
-+ HUGETLBFS_MAGIC = 0x958458f6
-+ IBSHIFT = 0x10
-+ ICMPV6_FILTER = 0x1
-+ ICRNL = 0x100
-+ IFA_F_DADFAILED = 0x8
-+ IFA_F_DEPRECATED = 0x20
-+ IFA_F_HOMEADDRESS = 0x10
-+ IFA_F_MANAGETEMPADDR = 0x100
-+ IFA_F_MCAUTOJOIN = 0x400
-+ IFA_F_NODAD = 0x2
-+ IFA_F_NOPREFIXROUTE = 0x200
-+ IFA_F_OPTIMISTIC = 0x4
-+ IFA_F_PERMANENT = 0x80
-+ IFA_F_SECONDARY = 0x1
-+ IFA_F_STABLE_PRIVACY = 0x800
-+ IFA_F_TEMPORARY = 0x1
-+ IFA_F_TENTATIVE = 0x40
-+ IFA_MAX = 0xa
-+ IFF_ALLMULTI = 0x200
-+ IFF_ATTACH_QUEUE = 0x200
-+ IFF_AUTOMEDIA = 0x4000
-+ IFF_BROADCAST = 0x2
-+ IFF_DEBUG = 0x4
-+ IFF_DETACH_QUEUE = 0x400
-+ IFF_DORMANT = 0x20000
-+ IFF_DYNAMIC = 0x8000
-+ IFF_ECHO = 0x40000
-+ IFF_LOOPBACK = 0x8
-+ IFF_LOWER_UP = 0x10000
-+ IFF_MASTER = 0x400
-+ IFF_MULTICAST = 0x1000
-+ IFF_MULTI_QUEUE = 0x100
-+ IFF_NAPI = 0x10
-+ IFF_NAPI_FRAGS = 0x20
-+ IFF_NOARP = 0x80
-+ IFF_NOFILTER = 0x1000
-+ IFF_NOTRAILERS = 0x20
-+ IFF_NO_PI = 0x1000
-+ IFF_ONE_QUEUE = 0x2000
-+ IFF_PERSIST = 0x800
-+ IFF_POINTOPOINT = 0x10
-+ IFF_PORTSEL = 0x2000
-+ IFF_PROMISC = 0x100
-+ IFF_RUNNING = 0x40
-+ IFF_SLAVE = 0x800
-+ IFF_TAP = 0x2
-+ IFF_TUN = 0x1
-+ IFF_TUN_EXCL = 0x8000
-+ IFF_UP = 0x1
-+ IFF_VNET_HDR = 0x4000
-+ IFF_VOLATILE = 0x70c5a
-+ IFNAMSIZ = 0x10
-+ IGNBRK = 0x1
-+ IGNCR = 0x80
-+ IGNPAR = 0x4
-+ IMAXBEL = 0x2000
-+ INLCR = 0x40
-+ INPCK = 0x10
-+ IN_ACCESS = 0x1
-+ IN_ALL_EVENTS = 0xfff
-+ IN_ATTRIB = 0x4
-+ IN_CLASSA_HOST = 0xffffff
-+ IN_CLASSA_MAX = 0x80
-+ IN_CLASSA_NET = 0xff000000
-+ IN_CLASSA_NSHIFT = 0x18
-+ IN_CLASSB_HOST = 0xffff
-+ IN_CLASSB_MAX = 0x10000
-+ IN_CLASSB_NET = 0xffff0000
-+ IN_CLASSB_NSHIFT = 0x10
-+ IN_CLASSC_HOST = 0xff
-+ IN_CLASSC_NET = 0xffffff00
-+ IN_CLASSC_NSHIFT = 0x8
-+ IN_CLOSE = 0x18
-+ IN_CLOSE_NOWRITE = 0x10
-+ IN_CLOSE_WRITE = 0x8
-+ IN_CREATE = 0x100
-+ IN_DELETE = 0x200
-+ IN_DELETE_SELF = 0x400
-+ IN_DONT_FOLLOW = 0x2000000
-+ IN_EXCL_UNLINK = 0x4000000
-+ IN_IGNORED = 0x8000
-+ IN_ISDIR = 0x40000000
-+ IN_LOOPBACKNET = 0x7f
-+ IN_MASK_ADD = 0x20000000
-+ IN_MASK_CREATE = 0x10000000
-+ IN_MODIFY = 0x2
-+ IN_MOVE = 0xc0
-+ IN_MOVED_FROM = 0x40
-+ IN_MOVED_TO = 0x80
-+ IN_MOVE_SELF = 0x800
-+ IN_ONESHOT = 0x80000000
-+ IN_ONLYDIR = 0x1000000
-+ IN_OPEN = 0x20
-+ IN_Q_OVERFLOW = 0x4000
-+ IN_UNMOUNT = 0x2000
-+ IPPROTO_AH = 0x33
-+ IPPROTO_BEETPH = 0x5e
-+ IPPROTO_COMP = 0x6c
-+ IPPROTO_DCCP = 0x21
-+ IPPROTO_DSTOPTS = 0x3c
-+ IPPROTO_EGP = 0x8
-+ IPPROTO_ENCAP = 0x62
-+ IPPROTO_ESP = 0x32
-+ IPPROTO_FRAGMENT = 0x2c
-+ IPPROTO_GRE = 0x2f
-+ IPPROTO_HOPOPTS = 0x0
-+ IPPROTO_ICMP = 0x1
-+ IPPROTO_ICMPV6 = 0x3a
-+ IPPROTO_IDP = 0x16
-+ IPPROTO_IGMP = 0x2
-+ IPPROTO_IP = 0x0
-+ IPPROTO_IPIP = 0x4
-+ IPPROTO_IPV6 = 0x29
-+ IPPROTO_L2TP = 0x73
-+ IPPROTO_MH = 0x87
-+ IPPROTO_MPLS = 0x89
-+ IPPROTO_MTP = 0x5c
-+ IPPROTO_NONE = 0x3b
-+ IPPROTO_PIM = 0x67
-+ IPPROTO_PUP = 0xc
-+ IPPROTO_RAW = 0xff
-+ IPPROTO_ROUTING = 0x2b
-+ IPPROTO_RSVP = 0x2e
-+ IPPROTO_SCTP = 0x84
-+ IPPROTO_TCP = 0x6
-+ IPPROTO_TP = 0x1d
-+ IPPROTO_UDP = 0x11
-+ IPPROTO_UDPLITE = 0x88
-+ IPV6_2292DSTOPTS = 0x4
-+ IPV6_2292HOPLIMIT = 0x8
-+ IPV6_2292HOPOPTS = 0x3
-+ IPV6_2292PKTINFO = 0x2
-+ IPV6_2292PKTOPTIONS = 0x6
-+ IPV6_2292RTHDR = 0x5
-+ IPV6_ADDRFORM = 0x1
-+ IPV6_ADDR_PREFERENCES = 0x48
-+ IPV6_ADD_MEMBERSHIP = 0x14
-+ IPV6_AUTHHDR = 0xa
-+ IPV6_AUTOFLOWLABEL = 0x46
-+ IPV6_CHECKSUM = 0x7
-+ IPV6_DONTFRAG = 0x3e
-+ IPV6_DROP_MEMBERSHIP = 0x15
-+ IPV6_DSTOPTS = 0x3b
-+ IPV6_FREEBIND = 0x4e
-+ IPV6_HDRINCL = 0x24
-+ IPV6_HOPLIMIT = 0x34
-+ IPV6_HOPOPTS = 0x36
-+ IPV6_IPSEC_POLICY = 0x22
-+ IPV6_JOIN_ANYCAST = 0x1b
-+ IPV6_JOIN_GROUP = 0x14
-+ IPV6_LEAVE_ANYCAST = 0x1c
-+ IPV6_LEAVE_GROUP = 0x15
-+ IPV6_MINHOPCOUNT = 0x49
-+ IPV6_MTU = 0x18
-+ IPV6_MTU_DISCOVER = 0x17
-+ IPV6_MULTICAST_ALL = 0x1d
-+ IPV6_MULTICAST_HOPS = 0x12
-+ IPV6_MULTICAST_IF = 0x11
-+ IPV6_MULTICAST_LOOP = 0x13
-+ IPV6_NEXTHOP = 0x9
-+ IPV6_ORIGDSTADDR = 0x4a
-+ IPV6_PATHMTU = 0x3d
-+ IPV6_PKTINFO = 0x32
-+ IPV6_PMTUDISC_DO = 0x2
-+ IPV6_PMTUDISC_DONT = 0x0
-+ IPV6_PMTUDISC_INTERFACE = 0x4
-+ IPV6_PMTUDISC_OMIT = 0x5
-+ IPV6_PMTUDISC_PROBE = 0x3
-+ IPV6_PMTUDISC_WANT = 0x1
-+ IPV6_RECVDSTOPTS = 0x3a
-+ IPV6_RECVERR = 0x19
-+ IPV6_RECVFRAGSIZE = 0x4d
-+ IPV6_RECVHOPLIMIT = 0x33
-+ IPV6_RECVHOPOPTS = 0x35
-+ IPV6_RECVORIGDSTADDR = 0x4a
-+ IPV6_RECVPATHMTU = 0x3c
-+ IPV6_RECVPKTINFO = 0x31
-+ IPV6_RECVRTHDR = 0x38
-+ IPV6_RECVTCLASS = 0x42
-+ IPV6_ROUTER_ALERT = 0x16
-+ IPV6_ROUTER_ALERT_ISOLATE = 0x1e
-+ IPV6_RTHDR = 0x39
-+ IPV6_RTHDRDSTOPTS = 0x37
-+ IPV6_RTHDR_LOOSE = 0x0
-+ IPV6_RTHDR_STRICT = 0x1
-+ IPV6_RTHDR_TYPE_0 = 0x0
-+ IPV6_RXDSTOPTS = 0x3b
-+ IPV6_RXHOPOPTS = 0x36
-+ IPV6_TCLASS = 0x43
-+ IPV6_TRANSPARENT = 0x4b
-+ IPV6_UNICAST_HOPS = 0x10
-+ IPV6_UNICAST_IF = 0x4c
-+ IPV6_V6ONLY = 0x1a
-+ IPV6_XFRM_POLICY = 0x23
-+ IP_ADD_MEMBERSHIP = 0x23
-+ IP_ADD_SOURCE_MEMBERSHIP = 0x27
-+ IP_BIND_ADDRESS_NO_PORT = 0x18
-+ IP_BLOCK_SOURCE = 0x26
-+ IP_CHECKSUM = 0x17
-+ IP_DEFAULT_MULTICAST_LOOP = 0x1
-+ IP_DEFAULT_MULTICAST_TTL = 0x1
-+ IP_DF = 0x4000
-+ IP_DROP_MEMBERSHIP = 0x24
-+ IP_DROP_SOURCE_MEMBERSHIP = 0x28
-+ IP_FREEBIND = 0xf
-+ IP_HDRINCL = 0x3
-+ IP_IPSEC_POLICY = 0x10
-+ IP_MAXPACKET = 0xffff
-+ IP_MAX_MEMBERSHIPS = 0x14
-+ IP_MF = 0x2000
-+ IP_MINTTL = 0x15
-+ IP_MSFILTER = 0x29
-+ IP_MSS = 0x240
-+ IP_MTU = 0xe
-+ IP_MTU_DISCOVER = 0xa
-+ IP_MULTICAST_ALL = 0x31
-+ IP_MULTICAST_IF = 0x20
-+ IP_MULTICAST_LOOP = 0x22
-+ IP_MULTICAST_TTL = 0x21
-+ IP_NODEFRAG = 0x16
-+ IP_OFFMASK = 0x1fff
-+ IP_OPTIONS = 0x4
-+ IP_ORIGDSTADDR = 0x14
-+ IP_PASSSEC = 0x12
-+ IP_PKTINFO = 0x8
-+ IP_PKTOPTIONS = 0x9
-+ IP_PMTUDISC = 0xa
-+ IP_PMTUDISC_DO = 0x2
-+ IP_PMTUDISC_DONT = 0x0
-+ IP_PMTUDISC_INTERFACE = 0x4
-+ IP_PMTUDISC_OMIT = 0x5
-+ IP_PMTUDISC_PROBE = 0x3
-+ IP_PMTUDISC_WANT = 0x1
-+ IP_RECVERR = 0xb
-+ IP_RECVFRAGSIZE = 0x19
-+ IP_RECVOPTS = 0x6
-+ IP_RECVORIGDSTADDR = 0x14
-+ IP_RECVRETOPTS = 0x7
-+ IP_RECVTOS = 0xd
-+ IP_RECVTTL = 0xc
-+ IP_RETOPTS = 0x7
-+ IP_RF = 0x8000
-+ IP_ROUTER_ALERT = 0x5
-+ IP_TOS = 0x1
-+ IP_TRANSPARENT = 0x13
-+ IP_TTL = 0x2
-+ IP_UNBLOCK_SOURCE = 0x25
-+ IP_UNICAST_IF = 0x32
-+ IP_XFRM_POLICY = 0x11
-+ ISOFS_SUPER_MAGIC = 0x9660
-+ ISTRIP = 0x20
-+ IUTF8 = 0x4000
-+ IXANY = 0x800
-+ JFFS2_SUPER_MAGIC = 0x72b6
-+ 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_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_S390 = 0x160000
-+ KEXEC_ARCH_SH = 0x2a0000
-+ KEXEC_ARCH_X86_64 = 0x3e0000
-+ KEXEC_FILE_NO_INITRAMFS = 0x4
-+ KEXEC_FILE_ON_CRASH = 0x2
-+ KEXEC_FILE_UNLOAD = 0x1
-+ KEXEC_ON_CRASH = 0x1
-+ KEXEC_PRESERVE_CONTEXT = 0x2
-+ KEXEC_SEGMENT_MAX = 0x10
-+ KEYCTL_ASSUME_AUTHORITY = 0x10
-+ KEYCTL_CAPABILITIES = 0x1f
-+ KEYCTL_CAPS0_BIG_KEY = 0x10
-+ KEYCTL_CAPS0_CAPABILITIES = 0x1
-+ KEYCTL_CAPS0_DIFFIE_HELLMAN = 0x4
-+ KEYCTL_CAPS0_INVALIDATE = 0x20
-+ KEYCTL_CAPS0_MOVE = 0x80
-+ KEYCTL_CAPS0_PERSISTENT_KEYRINGS = 0x2
-+ KEYCTL_CAPS0_PUBLIC_KEY = 0x8
-+ KEYCTL_CAPS0_RESTRICT_KEYRING = 0x40
-+ KEYCTL_CAPS1_NS_KEYRING_NAME = 0x1
-+ KEYCTL_CAPS1_NS_KEY_TAG = 0x2
-+ KEYCTL_CHOWN = 0x4
-+ KEYCTL_CLEAR = 0x7
-+ KEYCTL_DESCRIBE = 0x6
-+ KEYCTL_DH_COMPUTE = 0x17
-+ KEYCTL_GET_KEYRING_ID = 0x0
-+ KEYCTL_GET_PERSISTENT = 0x16
-+ KEYCTL_GET_SECURITY = 0x11
-+ KEYCTL_INSTANTIATE = 0xc
-+ KEYCTL_INSTANTIATE_IOV = 0x14
-+ KEYCTL_INVALIDATE = 0x15
-+ KEYCTL_JOIN_SESSION_KEYRING = 0x1
-+ KEYCTL_LINK = 0x8
-+ KEYCTL_MOVE = 0x1e
-+ KEYCTL_MOVE_EXCL = 0x1
-+ KEYCTL_NEGATE = 0xd
-+ KEYCTL_PKEY_DECRYPT = 0x1a
-+ KEYCTL_PKEY_ENCRYPT = 0x19
-+ KEYCTL_PKEY_QUERY = 0x18
-+ KEYCTL_PKEY_SIGN = 0x1b
-+ KEYCTL_PKEY_VERIFY = 0x1c
-+ KEYCTL_READ = 0xb
-+ KEYCTL_REJECT = 0x13
-+ KEYCTL_RESTRICT_KEYRING = 0x1d
-+ KEYCTL_REVOKE = 0x3
-+ KEYCTL_SEARCH = 0xa
-+ KEYCTL_SESSION_TO_PARENT = 0x12
-+ KEYCTL_SETPERM = 0x5
-+ KEYCTL_SET_REQKEY_KEYRING = 0xe
-+ KEYCTL_SET_TIMEOUT = 0xf
-+ KEYCTL_SUPPORTS_DECRYPT = 0x2
-+ KEYCTL_SUPPORTS_ENCRYPT = 0x1
-+ KEYCTL_SUPPORTS_SIGN = 0x4
-+ KEYCTL_SUPPORTS_VERIFY = 0x8
-+ KEYCTL_UNLINK = 0x9
-+ KEYCTL_UPDATE = 0x2
-+ KEY_REQKEY_DEFL_DEFAULT = 0x0
-+ KEY_REQKEY_DEFL_GROUP_KEYRING = 0x6
-+ KEY_REQKEY_DEFL_NO_CHANGE = -0x1
-+ KEY_REQKEY_DEFL_PROCESS_KEYRING = 0x2
-+ KEY_REQKEY_DEFL_REQUESTOR_KEYRING = 0x7
-+ KEY_REQKEY_DEFL_SESSION_KEYRING = 0x3
-+ KEY_REQKEY_DEFL_THREAD_KEYRING = 0x1
-+ KEY_REQKEY_DEFL_USER_KEYRING = 0x4
-+ KEY_REQKEY_DEFL_USER_SESSION_KEYRING = 0x5
-+ KEY_SPEC_GROUP_KEYRING = -0x6
-+ KEY_SPEC_PROCESS_KEYRING = -0x2
-+ KEY_SPEC_REQKEY_AUTH_KEY = -0x7
-+ KEY_SPEC_REQUESTOR_KEYRING = -0x8
-+ KEY_SPEC_SESSION_KEYRING = -0x3
-+ KEY_SPEC_THREAD_KEYRING = -0x1
-+ KEY_SPEC_USER_KEYRING = -0x4
-+ KEY_SPEC_USER_SESSION_KEYRING = -0x5
-+ LINUX_REBOOT_CMD_CAD_OFF = 0x0
-+ LINUX_REBOOT_CMD_CAD_ON = 0x89abcdef
-+ LINUX_REBOOT_CMD_HALT = 0xcdef0123
-+ LINUX_REBOOT_CMD_KEXEC = 0x45584543
-+ LINUX_REBOOT_CMD_POWER_OFF = 0x4321fedc
-+ LINUX_REBOOT_CMD_RESTART = 0x1234567
-+ LINUX_REBOOT_CMD_RESTART2 = 0xa1b2c3d4
-+ LINUX_REBOOT_CMD_SW_SUSPEND = 0xd000fce2
-+ LINUX_REBOOT_MAGIC1 = 0xfee1dead
-+ LINUX_REBOOT_MAGIC2 = 0x28121969
-+ LOCK_EX = 0x2
-+ LOCK_NB = 0x4
-+ LOCK_SH = 0x1
-+ LOCK_UN = 0x8
-+ LOOP_CLR_FD = 0x4c01
-+ LOOP_CTL_ADD = 0x4c80
-+ LOOP_CTL_GET_FREE = 0x4c82
-+ LOOP_CTL_REMOVE = 0x4c81
-+ LOOP_GET_STATUS = 0x4c03
-+ LOOP_GET_STATUS64 = 0x4c05
-+ LOOP_SET_BLOCK_SIZE = 0x4c09
-+ LOOP_SET_CAPACITY = 0x4c07
-+ LOOP_SET_DIRECT_IO = 0x4c08
-+ LOOP_SET_FD = 0x4c00
-+ LOOP_SET_STATUS = 0x4c02
-+ LOOP_SET_STATUS64 = 0x4c04
-+ LO_KEY_SIZE = 0x20
-+ LO_NAME_SIZE = 0x40
-+ MADV_COLD = 0x14
-+ MADV_DODUMP = 0x11
-+ MADV_DOFORK = 0xb
-+ MADV_DONTDUMP = 0x10
-+ MADV_DONTFORK = 0xa
-+ MADV_DONTNEED = 0x4
-+ MADV_FREE = 0x8
-+ MADV_HUGEPAGE = 0xe
-+ MADV_HWPOISON = 0x64
-+ MADV_KEEPONFORK = 0x13
-+ MADV_MERGEABLE = 0xc
-+ MADV_NOHUGEPAGE = 0xf
-+ MADV_NORMAL = 0x0
-+ MADV_PAGEOUT = 0x15
-+ MADV_RANDOM = 0x1
-+ MADV_REMOVE = 0x9
-+ MADV_SEQUENTIAL = 0x2
-+ MADV_UNMERGEABLE = 0xd
-+ MADV_WILLNEED = 0x3
-+ MADV_WIPEONFORK = 0x12
-+ MAP_FILE = 0x0
-+ MAP_FIXED = 0x10
-+ MAP_FIXED_NOREPLACE = 0x100000
-+ MAP_HUGE_MASK = 0x3f
-+ MAP_HUGE_SHIFT = 0x1a
-+ MAP_PRIVATE = 0x2
-+ MAP_SHARED = 0x1
-+ MAP_SHARED_VALIDATE = 0x3
-+ MAP_TYPE = 0xf
-+ MCAST_BLOCK_SOURCE = 0x2b
-+ MCAST_EXCLUDE = 0x0
-+ MCAST_INCLUDE = 0x1
-+ MCAST_JOIN_GROUP = 0x2a
-+ MCAST_JOIN_SOURCE_GROUP = 0x2e
-+ MCAST_LEAVE_GROUP = 0x2d
-+ MCAST_LEAVE_SOURCE_GROUP = 0x2f
-+ MCAST_MSFILTER = 0x30
-+ MCAST_UNBLOCK_SOURCE = 0x2c
-+ 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 = 0x3f
-+ MFD_HUGE_SHIFT = 0x1a
-+ MINIX2_SUPER_MAGIC = 0x2468
-+ MINIX2_SUPER_MAGIC2 = 0x2478
-+ MINIX3_SUPER_MAGIC = 0x4d5a
-+ MINIX_SUPER_MAGIC = 0x137f
-+ MINIX_SUPER_MAGIC2 = 0x138f
-+ MNT_DETACH = 0x2
-+ MNT_EXPIRE = 0x4
-+ MNT_FORCE = 0x1
-+ MODULE_INIT_IGNORE_MODVERSIONS = 0x1
-+ MODULE_INIT_IGNORE_VERMAGIC = 0x2
-+ MSDOS_SUPER_MAGIC = 0x4d44
-+ MSG_BATCH = 0x40000
-+ MSG_CMSG_CLOEXEC = 0x40000000
-+ MSG_CONFIRM = 0x800
-+ MSG_CTRUNC = 0x8
-+ MSG_DONTROUTE = 0x4
-+ MSG_DONTWAIT = 0x40
-+ MSG_EOR = 0x80
-+ MSG_ERRQUEUE = 0x2000
-+ MSG_FASTOPEN = 0x20000000
-+ MSG_FIN = 0x200
-+ MSG_MORE = 0x8000
-+ MSG_NOSIGNAL = 0x4000
-+ MSG_OOB = 0x1
-+ MSG_PEEK = 0x2
-+ MSG_PROXY = 0x10
-+ MSG_RST = 0x1000
-+ MSG_SYN = 0x400
-+ MSG_TRUNC = 0x20
-+ MSG_TRYHARD = 0x4
-+ MSG_WAITALL = 0x100
-+ MSG_WAITFORONE = 0x10000
-+ MSG_ZEROCOPY = 0x4000000
-+ MS_ACTIVE = 0x40000000
-+ MS_ASYNC = 0x1
-+ MS_BIND = 0x1000
-+ MS_BORN = 0x20000000
-+ MS_DIRSYNC = 0x80
-+ MS_INVALIDATE = 0x2
-+ MS_I_VERSION = 0x800000
-+ MS_KERNMOUNT = 0x400000
-+ MS_LAZYTIME = 0x2000000
-+ MS_MANDLOCK = 0x40
-+ MS_MGC_MSK = 0xffff0000
-+ MS_MGC_VAL = 0xc0ed0000
-+ MS_MOVE = 0x2000
-+ MS_NOATIME = 0x400
-+ MS_NODEV = 0x4
-+ MS_NODIRATIME = 0x800
-+ MS_NOEXEC = 0x8
-+ MS_NOREMOTELOCK = 0x8000000
-+ MS_NOSEC = 0x10000000
-+ MS_NOSUID = 0x2
-+ MS_NOUSER = -0x80000000
-+ MS_POSIXACL = 0x10000
-+ MS_PRIVATE = 0x40000
-+ MS_RDONLY = 0x1
-+ MS_REC = 0x4000
-+ MS_RELATIME = 0x200000
-+ MS_REMOUNT = 0x20
-+ MS_RMT_MASK = 0x2800051
-+ MS_SHARED = 0x100000
-+ MS_SILENT = 0x8000
-+ MS_SLAVE = 0x80000
-+ MS_STRICTATIME = 0x1000000
-+ MS_SUBMOUNT = 0x4000000
-+ MS_SYNC = 0x4
-+ MS_SYNCHRONOUS = 0x10
-+ MS_UNBINDABLE = 0x20000
-+ MS_VERBOSE = 0x8000
-+ MTD_INODE_FS_MAGIC = 0x11307854
-+ NAME_MAX = 0xff
-+ NCP_SUPER_MAGIC = 0x564c
-+ NETLINK_ADD_MEMBERSHIP = 0x1
-+ NETLINK_AUDIT = 0x9
-+ NETLINK_BROADCAST_ERROR = 0x4
-+ NETLINK_CAP_ACK = 0xa
-+ NETLINK_CONNECTOR = 0xb
-+ NETLINK_CRYPTO = 0x15
-+ NETLINK_DNRTMSG = 0xe
-+ NETLINK_DROP_MEMBERSHIP = 0x2
-+ NETLINK_ECRYPTFS = 0x13
-+ NETLINK_EXT_ACK = 0xb
-+ NETLINK_FIB_LOOKUP = 0xa
-+ NETLINK_FIREWALL = 0x3
-+ NETLINK_GENERIC = 0x10
-+ NETLINK_GET_STRICT_CHK = 0xc
-+ NETLINK_INET_DIAG = 0x4
-+ NETLINK_IP6_FW = 0xd
-+ NETLINK_ISCSI = 0x8
-+ NETLINK_KOBJECT_UEVENT = 0xf
-+ NETLINK_LISTEN_ALL_NSID = 0x8
-+ NETLINK_LIST_MEMBERSHIPS = 0x9
-+ NETLINK_NETFILTER = 0xc
-+ NETLINK_NFLOG = 0x5
-+ NETLINK_NO_ENOBUFS = 0x5
-+ NETLINK_PKTINFO = 0x3
-+ NETLINK_RDMA = 0x14
-+ NETLINK_ROUTE = 0x0
-+ NETLINK_RX_RING = 0x6
-+ NETLINK_SCSITRANSPORT = 0x12
-+ NETLINK_SELINUX = 0x7
-+ NETLINK_SMC = 0x16
-+ NETLINK_SOCK_DIAG = 0x4
-+ NETLINK_TX_RING = 0x7
-+ NETLINK_UNUSED = 0x1
-+ NETLINK_USERSOCK = 0x2
-+ NETLINK_XFRM = 0x6
-+ NETNSA_MAX = 0x5
-+ NETNSA_NSID_NOT_ASSIGNED = -0x1
-+ NFNETLINK_V0 = 0x0
-+ NFNLGRP_ACCT_QUOTA = 0x8
-+ NFNLGRP_CONNTRACK_DESTROY = 0x3
-+ NFNLGRP_CONNTRACK_EXP_DESTROY = 0x6
-+ NFNLGRP_CONNTRACK_EXP_NEW = 0x4
-+ NFNLGRP_CONNTRACK_EXP_UPDATE = 0x5
-+ NFNLGRP_CONNTRACK_NEW = 0x1
-+ NFNLGRP_CONNTRACK_UPDATE = 0x2
-+ NFNLGRP_MAX = 0x9
-+ NFNLGRP_NFTABLES = 0x7
-+ NFNLGRP_NFTRACE = 0x9
-+ NFNLGRP_NONE = 0x0
-+ NFNL_BATCH_MAX = 0x1
-+ NFNL_MSG_BATCH_BEGIN = 0x10
-+ NFNL_MSG_BATCH_END = 0x11
-+ NFNL_NFA_NEST = 0x8000
-+ NFNL_SUBSYS_ACCT = 0x7
-+ NFNL_SUBSYS_COUNT = 0xc
-+ NFNL_SUBSYS_CTHELPER = 0x9
-+ NFNL_SUBSYS_CTNETLINK = 0x1
-+ NFNL_SUBSYS_CTNETLINK_EXP = 0x2
-+ NFNL_SUBSYS_CTNETLINK_TIMEOUT = 0x8
-+ NFNL_SUBSYS_IPSET = 0x6
-+ NFNL_SUBSYS_NFTABLES = 0xa
-+ NFNL_SUBSYS_NFT_COMPAT = 0xb
-+ NFNL_SUBSYS_NONE = 0x0
-+ NFNL_SUBSYS_OSF = 0x5
-+ NFNL_SUBSYS_QUEUE = 0x3
-+ NFNL_SUBSYS_ULOG = 0x4
-+ NFS_SUPER_MAGIC = 0x6969
-+ NILFS_SUPER_MAGIC = 0x3434
-+ NL0 = 0x0
-+ NL1 = 0x100
-+ NLA_ALIGNTO = 0x4
-+ NLA_F_NESTED = 0x8000
-+ NLA_F_NET_BYTEORDER = 0x4000
-+ NLA_HDRLEN = 0x4
-+ NLMSG_ALIGNTO = 0x4
-+ NLMSG_DONE = 0x3
-+ NLMSG_ERROR = 0x2
-+ NLMSG_HDRLEN = 0x10
-+ NLMSG_MIN_TYPE = 0x10
-+ NLMSG_NOOP = 0x1
-+ NLMSG_OVERRUN = 0x4
-+ NLM_F_ACK = 0x4
-+ NLM_F_ACK_TLVS = 0x200
-+ NLM_F_APPEND = 0x800
-+ NLM_F_ATOMIC = 0x400
-+ NLM_F_CAPPED = 0x100
-+ NLM_F_CREATE = 0x400
-+ NLM_F_DUMP = 0x300
-+ NLM_F_DUMP_FILTERED = 0x20
-+ NLM_F_DUMP_INTR = 0x10
-+ NLM_F_ECHO = 0x8
-+ NLM_F_EXCL = 0x200
-+ NLM_F_MATCH = 0x200
-+ NLM_F_MULTI = 0x2
-+ NLM_F_NONREC = 0x100
-+ NLM_F_REPLACE = 0x100
-+ NLM_F_REQUEST = 0x1
-+ NLM_F_ROOT = 0x100
-+ NSFS_MAGIC = 0x6e736673
-+ OCFS2_SUPER_MAGIC = 0x7461636f
-+ OCRNL = 0x8
-+ OFDEL = 0x80
-+ OFILL = 0x40
-+ ONLRET = 0x20
-+ ONOCR = 0x10
-+ OPENPROM_SUPER_MAGIC = 0x9fa1
-+ OPOST = 0x1
-+ OVERLAYFS_SUPER_MAGIC = 0x794c7630
-+ O_ACCMODE = 0x3
-+ O_RDONLY = 0x0
-+ O_RDWR = 0x2
-+ O_WRONLY = 0x1
-+ PACKET_ADD_MEMBERSHIP = 0x1
-+ PACKET_AUXDATA = 0x8
-+ PACKET_BROADCAST = 0x1
-+ PACKET_COPY_THRESH = 0x7
-+ PACKET_DROP_MEMBERSHIP = 0x2
-+ PACKET_FANOUT = 0x12
-+ PACKET_FANOUT_CBPF = 0x6
-+ PACKET_FANOUT_CPU = 0x2
-+ PACKET_FANOUT_DATA = 0x16
-+ PACKET_FANOUT_EBPF = 0x7
-+ PACKET_FANOUT_FLAG_DEFRAG = 0x8000
-+ PACKET_FANOUT_FLAG_ROLLOVER = 0x1000
-+ PACKET_FANOUT_FLAG_UNIQUEID = 0x2000
-+ PACKET_FANOUT_HASH = 0x0
-+ PACKET_FANOUT_LB = 0x1
-+ PACKET_FANOUT_QM = 0x5
-+ PACKET_FANOUT_RND = 0x4
-+ PACKET_FANOUT_ROLLOVER = 0x3
-+ PACKET_FASTROUTE = 0x6
-+ PACKET_HDRLEN = 0xb
-+ PACKET_HOST = 0x0
-+ PACKET_IGNORE_OUTGOING = 0x17
-+ PACKET_KERNEL = 0x7
-+ PACKET_LOOPBACK = 0x5
-+ PACKET_LOSS = 0xe
-+ PACKET_MR_ALLMULTI = 0x2
-+ PACKET_MR_MULTICAST = 0x0
-+ PACKET_MR_PROMISC = 0x1
-+ PACKET_MR_UNICAST = 0x3
-+ PACKET_MULTICAST = 0x2
-+ PACKET_ORIGDEV = 0x9
-+ PACKET_OTHERHOST = 0x3
-+ PACKET_OUTGOING = 0x4
-+ PACKET_QDISC_BYPASS = 0x14
-+ PACKET_RECV_OUTPUT = 0x3
-+ PACKET_RESERVE = 0xc
-+ PACKET_ROLLOVER_STATS = 0x15
-+ PACKET_RX_RING = 0x5
-+ PACKET_STATISTICS = 0x6
-+ PACKET_TIMESTAMP = 0x11
-+ PACKET_TX_HAS_OFF = 0x13
-+ PACKET_TX_RING = 0xd
-+ PACKET_TX_TIMESTAMP = 0x10
-+ PACKET_USER = 0x6
-+ PACKET_VERSION = 0xa
-+ PACKET_VNET_HDR = 0xf
-+ PARITY_CRC16_PR0 = 0x2
-+ PARITY_CRC16_PR0_CCITT = 0x4
-+ PARITY_CRC16_PR1 = 0x3
-+ PARITY_CRC16_PR1_CCITT = 0x5
-+ PARITY_CRC32_PR0_CCITT = 0x6
-+ PARITY_CRC32_PR1_CCITT = 0x7
-+ PARITY_DEFAULT = 0x0
-+ PARITY_NONE = 0x1
-+ PARMRK = 0x8
-+ PIPEFS_MAGIC = 0x50495045
-+ PPC_CMM_MAGIC = 0xc7571590
-+ PPPIOCGNPMODE = 0xc008744c
-+ PPPIOCNEWUNIT = 0xc004743e
-+ PRIO_PGRP = 0x1
-+ PRIO_PROCESS = 0x0
-+ PRIO_USER = 0x2
-+ PROC_SUPER_MAGIC = 0x9fa0
-+ PROT_EXEC = 0x4
-+ PROT_GROWSDOWN = 0x1000000
-+ PROT_GROWSUP = 0x2000000
-+ PROT_NONE = 0x0
-+ PROT_READ = 0x1
-+ PROT_WRITE = 0x2
-+ PR_CAPBSET_DROP = 0x18
-+ PR_CAPBSET_READ = 0x17
-+ PR_CAP_AMBIENT = 0x2f
-+ PR_CAP_AMBIENT_CLEAR_ALL = 0x4
-+ PR_CAP_AMBIENT_IS_SET = 0x1
-+ PR_CAP_AMBIENT_LOWER = 0x3
-+ PR_CAP_AMBIENT_RAISE = 0x2
-+ PR_ENDIAN_BIG = 0x0
-+ PR_ENDIAN_LITTLE = 0x1
-+ PR_ENDIAN_PPC_LITTLE = 0x2
-+ PR_FPEMU_NOPRINT = 0x1
-+ PR_FPEMU_SIGFPE = 0x2
-+ PR_FP_EXC_ASYNC = 0x2
-+ PR_FP_EXC_DISABLED = 0x0
-+ PR_FP_EXC_DIV = 0x10000
-+ PR_FP_EXC_INV = 0x100000
-+ PR_FP_EXC_NONRECOV = 0x1
-+ PR_FP_EXC_OVF = 0x20000
-+ PR_FP_EXC_PRECISE = 0x3
-+ PR_FP_EXC_RES = 0x80000
-+ PR_FP_EXC_SW_ENABLE = 0x80
-+ PR_FP_EXC_UND = 0x40000
-+ PR_FP_MODE_FR = 0x1
-+ PR_FP_MODE_FRE = 0x2
-+ PR_GET_CHILD_SUBREAPER = 0x25
-+ PR_GET_DUMPABLE = 0x3
-+ PR_GET_ENDIAN = 0x13
-+ PR_GET_FPEMU = 0x9
-+ PR_GET_FPEXC = 0xb
-+ PR_GET_FP_MODE = 0x2e
-+ PR_GET_IO_FLUSHER = 0x3a
-+ PR_GET_KEEPCAPS = 0x7
-+ PR_GET_NAME = 0x10
-+ PR_GET_NO_NEW_PRIVS = 0x27
-+ PR_GET_PDEATHSIG = 0x2
-+ PR_GET_SECCOMP = 0x15
-+ PR_GET_SECUREBITS = 0x1b
-+ PR_GET_SPECULATION_CTRL = 0x34
-+ PR_GET_TAGGED_ADDR_CTRL = 0x38
-+ PR_GET_THP_DISABLE = 0x2a
-+ PR_GET_TID_ADDRESS = 0x28
-+ PR_GET_TIMERSLACK = 0x1e
-+ PR_GET_TIMING = 0xd
-+ PR_GET_TSC = 0x19
-+ PR_GET_UNALIGN = 0x5
-+ PR_MCE_KILL = 0x21
-+ PR_MCE_KILL_CLEAR = 0x0
-+ PR_MCE_KILL_DEFAULT = 0x2
-+ PR_MCE_KILL_EARLY = 0x1
-+ PR_MCE_KILL_GET = 0x22
-+ PR_MCE_KILL_LATE = 0x0
-+ PR_MCE_KILL_SET = 0x1
-+ PR_MPX_DISABLE_MANAGEMENT = 0x2c
-+ PR_MPX_ENABLE_MANAGEMENT = 0x2b
-+ PR_PAC_APDAKEY = 0x4
-+ PR_PAC_APDBKEY = 0x8
-+ PR_PAC_APGAKEY = 0x10
-+ PR_PAC_APIAKEY = 0x1
-+ PR_PAC_APIBKEY = 0x2
-+ PR_PAC_RESET_KEYS = 0x36
-+ PR_SET_CHILD_SUBREAPER = 0x24
-+ PR_SET_DUMPABLE = 0x4
-+ PR_SET_ENDIAN = 0x14
-+ PR_SET_FPEMU = 0xa
-+ PR_SET_FPEXC = 0xc
-+ PR_SET_FP_MODE = 0x2d
-+ PR_SET_IO_FLUSHER = 0x39
-+ PR_SET_KEEPCAPS = 0x8
-+ PR_SET_MM = 0x23
-+ PR_SET_MM_ARG_END = 0x9
-+ PR_SET_MM_ARG_START = 0x8
-+ PR_SET_MM_AUXV = 0xc
-+ PR_SET_MM_BRK = 0x7
-+ PR_SET_MM_END_CODE = 0x2
-+ PR_SET_MM_END_DATA = 0x4
-+ PR_SET_MM_ENV_END = 0xb
-+ PR_SET_MM_ENV_START = 0xa
-+ PR_SET_MM_EXE_FILE = 0xd
-+ PR_SET_MM_MAP = 0xe
-+ PR_SET_MM_MAP_SIZE = 0xf
-+ PR_SET_MM_START_BRK = 0x6
-+ PR_SET_MM_START_CODE = 0x1
-+ PR_SET_MM_START_DATA = 0x3
-+ PR_SET_MM_START_STACK = 0x5
-+ PR_SET_NAME = 0xf
-+ PR_SET_NO_NEW_PRIVS = 0x26
-+ PR_SET_PDEATHSIG = 0x1
-+ PR_SET_PTRACER = 0x59616d61
-+ PR_SET_SECCOMP = 0x16
-+ PR_SET_SECUREBITS = 0x1c
-+ PR_SET_SPECULATION_CTRL = 0x35
-+ PR_SET_TAGGED_ADDR_CTRL = 0x37
-+ PR_SET_THP_DISABLE = 0x29
-+ PR_SET_TIMERSLACK = 0x1d
-+ PR_SET_TIMING = 0xe
-+ PR_SET_TSC = 0x1a
-+ PR_SET_UNALIGN = 0x6
-+ 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_NOT_AFFECTED = 0x0
-+ PR_SPEC_PRCTL = 0x1
-+ PR_SPEC_STORE_BYPASS = 0x0
-+ PR_SVE_GET_VL = 0x33
-+ PR_SVE_SET_VL = 0x32
-+ PR_SVE_SET_VL_ONEXEC = 0x40000
-+ PR_SVE_VL_INHERIT = 0x20000
-+ PR_SVE_VL_LEN_MASK = 0xffff
-+ PR_TAGGED_ADDR_ENABLE = 0x1
-+ PR_TASK_PERF_EVENTS_DISABLE = 0x1f
-+ PR_TASK_PERF_EVENTS_ENABLE = 0x20
-+ PR_TIMING_STATISTICAL = 0x0
-+ PR_TIMING_TIMESTAMP = 0x1
-+ PR_TSC_ENABLE = 0x1
-+ PR_TSC_SIGSEGV = 0x2
-+ PR_UNALIGN_NOPRINT = 0x1
-+ PR_UNALIGN_SIGBUS = 0x2
-+ PSTOREFS_MAGIC = 0x6165676c
-+ PTRACE_ATTACH = 0x10
-+ PTRACE_CONT = 0x7
-+ PTRACE_DETACH = 0x11
-+ PTRACE_EVENTMSG_SYSCALL_ENTRY = 0x1
-+ PTRACE_EVENTMSG_SYSCALL_EXIT = 0x2
-+ PTRACE_EVENT_CLONE = 0x3
-+ PTRACE_EVENT_EXEC = 0x4
-+ PTRACE_EVENT_EXIT = 0x6
-+ PTRACE_EVENT_FORK = 0x1
-+ PTRACE_EVENT_SECCOMP = 0x7
-+ PTRACE_EVENT_STOP = 0x80
-+ PTRACE_EVENT_VFORK = 0x2
-+ PTRACE_EVENT_VFORK_DONE = 0x5
-+ PTRACE_GETEVENTMSG = 0x4201
-+ PTRACE_GETREGS = 0xc
-+ PTRACE_GETREGSET = 0x4204
-+ PTRACE_GETSIGINFO = 0x4202
-+ PTRACE_GETSIGMASK = 0x420a
-+ PTRACE_GET_SYSCALL_INFO = 0x420e
-+ PTRACE_INTERRUPT = 0x4207
-+ PTRACE_KILL = 0x8
-+ PTRACE_LISTEN = 0x4208
-+ PTRACE_O_EXITKILL = 0x100000
-+ PTRACE_O_MASK = 0x3000ff
-+ PTRACE_O_SUSPEND_SECCOMP = 0x200000
-+ PTRACE_O_TRACECLONE = 0x8
-+ PTRACE_O_TRACEEXEC = 0x10
-+ PTRACE_O_TRACEEXIT = 0x40
-+ PTRACE_O_TRACEFORK = 0x2
-+ PTRACE_O_TRACESECCOMP = 0x80
-+ PTRACE_O_TRACESYSGOOD = 0x1
-+ PTRACE_O_TRACEVFORK = 0x4
-+ PTRACE_O_TRACEVFORKDONE = 0x20
-+ PTRACE_PEEKDATA = 0x2
-+ PTRACE_PEEKSIGINFO = 0x4209
-+ PTRACE_PEEKSIGINFO_SHARED = 0x1
-+ PTRACE_PEEKTEXT = 0x1
-+ PTRACE_PEEKUSR = 0x3
-+ PTRACE_POKEDATA = 0x5
-+ PTRACE_POKETEXT = 0x4
-+ PTRACE_POKEUSR = 0x6
-+ PTRACE_SECCOMP_GET_FILTER = 0x420c
-+ PTRACE_SECCOMP_GET_METADATA = 0x420d
-+ PTRACE_SEIZE = 0x4206
-+ PTRACE_SETOPTIONS = 0x4200
-+ PTRACE_SETREGS = 0xd
-+ PTRACE_SETREGSET = 0x4205
-+ PTRACE_SETSIGINFO = 0x4203
-+ PTRACE_SETSIGMASK = 0x420b
-+ PTRACE_SINGLESTEP = 0x9
-+ PTRACE_SYSCALL = 0x18
-+ PTRACE_SYSCALL_INFO_ENTRY = 0x1
-+ PTRACE_SYSCALL_INFO_EXIT = 0x2
-+ PTRACE_SYSCALL_INFO_NONE = 0x0
-+ PTRACE_SYSCALL_INFO_SECCOMP = 0x3
-+ PTRACE_TRACEME = 0x0
-+ QNX4_SUPER_MAGIC = 0x2f
-+ QNX6_SUPER_MAGIC = 0x68191122
-+ RAMFS_MAGIC = 0x858458f6
-+ RDTGROUP_SUPER_MAGIC = 0x7655821
-+ REISERFS_SUPER_MAGIC = 0x52654973
-+ RENAME_EXCHANGE = 0x2
-+ RENAME_NOREPLACE = 0x1
-+ RENAME_WHITEOUT = 0x4
-+ RLIMIT_CORE = 0x4
-+ RLIMIT_CPU = 0x0
-+ RLIMIT_DATA = 0x2
-+ RLIMIT_FSIZE = 0x1
-+ RLIMIT_LOCKS = 0xa
-+ RLIMIT_MSGQUEUE = 0xc
-+ RLIMIT_NICE = 0xd
-+ RLIMIT_RTPRIO = 0xe
-+ RLIMIT_RTTIME = 0xf
-+ RLIMIT_SIGPENDING = 0xb
-+ RLIMIT_STACK = 0x3
-+ RLIM_INFINITY = 0xffffffffffffffff
-+ RTAX_ADVMSS = 0x8
-+ RTAX_CC_ALGO = 0x10
-+ RTAX_CWND = 0x7
-+ RTAX_FASTOPEN_NO_COOKIE = 0x11
-+ RTAX_FEATURES = 0xc
-+ RTAX_FEATURE_ALLFRAG = 0x8
-+ RTAX_FEATURE_ECN = 0x1
-+ RTAX_FEATURE_MASK = 0xf
-+ RTAX_FEATURE_SACK = 0x2
-+ RTAX_FEATURE_TIMESTAMP = 0x4
-+ RTAX_HOPLIMIT = 0xa
-+ RTAX_INITCWND = 0xb
-+ RTAX_INITRWND = 0xe
-+ RTAX_LOCK = 0x1
-+ RTAX_MAX = 0x11
-+ RTAX_MTU = 0x2
-+ RTAX_QUICKACK = 0xf
-+ RTAX_REORDERING = 0x9
-+ RTAX_RTO_MIN = 0xd
-+ RTAX_RTT = 0x4
-+ RTAX_RTTVAR = 0x5
-+ RTAX_SSTHRESH = 0x6
-+ RTAX_UNSPEC = 0x0
-+ RTAX_WINDOW = 0x3
-+ RTA_ALIGNTO = 0x4
-+ RTA_MAX = 0x1e
-+ RTCF_DIRECTSRC = 0x4000000
-+ RTCF_DOREDIRECT = 0x1000000
-+ RTCF_LOG = 0x2000000
-+ RTCF_MASQ = 0x400000
-+ RTCF_NAT = 0x800000
-+ RTCF_VALVE = 0x200000
-+ RTC_AF = 0x20
-+ RTC_IRQF = 0x80
-+ RTC_MAX_FREQ = 0x2000
-+ RTC_PF = 0x40
-+ RTC_UF = 0x10
-+ RTF_ADDRCLASSMASK = 0xf8000000
-+ RTF_ADDRCONF = 0x40000
-+ RTF_ALLONLINK = 0x20000
-+ RTF_BROADCAST = 0x10000000
-+ RTF_CACHE = 0x1000000
-+ RTF_DEFAULT = 0x10000
-+ RTF_DYNAMIC = 0x10
-+ RTF_FLOW = 0x2000000
-+ RTF_GATEWAY = 0x2
-+ RTF_HOST = 0x4
-+ RTF_INTERFACE = 0x40000000
-+ RTF_IRTT = 0x100
-+ RTF_LINKRT = 0x100000
-+ RTF_LOCAL = 0x80000000
-+ RTF_MODIFIED = 0x20
-+ RTF_MSS = 0x40
-+ RTF_MTU = 0x40
-+ RTF_MULTICAST = 0x20000000
-+ RTF_NAT = 0x8000000
-+ RTF_NOFORWARD = 0x1000
-+ RTF_NONEXTHOP = 0x200000
-+ RTF_NOPMTUDISC = 0x4000
-+ RTF_POLICY = 0x4000000
-+ RTF_REINSTATE = 0x8
-+ RTF_REJECT = 0x200
-+ RTF_STATIC = 0x400
-+ RTF_THROW = 0x2000
-+ RTF_UP = 0x1
-+ RTF_WINDOW = 0x80
-+ RTF_XRESOLVE = 0x800
-+ RTMGRP_DECnet_IFADDR = 0x1000
-+ RTMGRP_DECnet_ROUTE = 0x4000
-+ RTMGRP_IPV4_IFADDR = 0x10
-+ RTMGRP_IPV4_MROUTE = 0x20
-+ RTMGRP_IPV4_ROUTE = 0x40
-+ RTMGRP_IPV4_RULE = 0x80
-+ RTMGRP_IPV6_IFADDR = 0x100
-+ RTMGRP_IPV6_IFINFO = 0x800
-+ RTMGRP_IPV6_MROUTE = 0x200
-+ RTMGRP_IPV6_PREFIX = 0x20000
-+ RTMGRP_IPV6_ROUTE = 0x400
-+ RTMGRP_LINK = 0x1
-+ RTMGRP_NEIGH = 0x4
-+ RTMGRP_NOTIFY = 0x2
-+ RTMGRP_TC = 0x8
-+ RTM_BASE = 0x10
-+ RTM_DELACTION = 0x31
-+ RTM_DELADDR = 0x15
-+ RTM_DELADDRLABEL = 0x49
-+ RTM_DELCHAIN = 0x65
-+ RTM_DELLINK = 0x11
-+ RTM_DELLINKPROP = 0x6d
-+ RTM_DELMDB = 0x55
-+ RTM_DELNEIGH = 0x1d
-+ RTM_DELNETCONF = 0x51
-+ RTM_DELNEXTHOP = 0x69
-+ RTM_DELNSID = 0x59
-+ RTM_DELQDISC = 0x25
-+ RTM_DELROUTE = 0x19
-+ RTM_DELRULE = 0x21
-+ RTM_DELTCLASS = 0x29
-+ RTM_DELTFILTER = 0x2d
-+ RTM_DELVLAN = 0x71
-+ RTM_F_CLONED = 0x200
-+ RTM_F_EQUALIZE = 0x400
-+ RTM_F_FIB_MATCH = 0x2000
-+ RTM_F_LOOKUP_TABLE = 0x1000
-+ RTM_F_NOTIFY = 0x100
-+ RTM_F_OFFLOAD = 0x4000
-+ RTM_F_PREFIX = 0x800
-+ RTM_F_TRAP = 0x8000
-+ RTM_GETACTION = 0x32
-+ RTM_GETADDR = 0x16
-+ RTM_GETADDRLABEL = 0x4a
-+ RTM_GETANYCAST = 0x3e
-+ RTM_GETCHAIN = 0x66
-+ RTM_GETDCB = 0x4e
-+ RTM_GETLINK = 0x12
-+ RTM_GETLINKPROP = 0x6e
-+ RTM_GETMDB = 0x56
-+ RTM_GETMULTICAST = 0x3a
-+ RTM_GETNEIGH = 0x1e
-+ RTM_GETNEIGHTBL = 0x42
-+ RTM_GETNETCONF = 0x52
-+ RTM_GETNEXTHOP = 0x6a
-+ RTM_GETNSID = 0x5a
-+ RTM_GETQDISC = 0x26
-+ RTM_GETROUTE = 0x1a
-+ RTM_GETRULE = 0x22
-+ RTM_GETSTATS = 0x5e
-+ RTM_GETTCLASS = 0x2a
-+ RTM_GETTFILTER = 0x2e
-+ RTM_GETVLAN = 0x72
-+ RTM_MAX = 0x73
-+ RTM_NEWACTION = 0x30
-+ RTM_NEWADDR = 0x14
-+ RTM_NEWADDRLABEL = 0x48
-+ RTM_NEWCACHEREPORT = 0x60
-+ RTM_NEWCHAIN = 0x64
-+ RTM_NEWLINK = 0x10
-+ RTM_NEWLINKPROP = 0x6c
-+ RTM_NEWMDB = 0x54
-+ RTM_NEWNDUSEROPT = 0x44
-+ RTM_NEWNEIGH = 0x1c
-+ RTM_NEWNEIGHTBL = 0x40
-+ RTM_NEWNETCONF = 0x50
-+ RTM_NEWNEXTHOP = 0x68
-+ RTM_NEWNSID = 0x58
-+ RTM_NEWNVLAN = 0x70
-+ RTM_NEWPREFIX = 0x34
-+ RTM_NEWQDISC = 0x24
-+ RTM_NEWROUTE = 0x18
-+ RTM_NEWRULE = 0x20
-+ RTM_NEWSTATS = 0x5c
-+ RTM_NEWTCLASS = 0x28
-+ RTM_NEWTFILTER = 0x2c
-+ RTM_NR_FAMILIES = 0x19
-+ RTM_NR_MSGTYPES = 0x64
-+ RTM_SETDCB = 0x4f
-+ RTM_SETLINK = 0x13
-+ RTM_SETNEIGHTBL = 0x43
-+ RTNH_ALIGNTO = 0x4
-+ RTNH_COMPARE_MASK = 0x19
-+ RTNH_F_DEAD = 0x1
-+ RTNH_F_LINKDOWN = 0x10
-+ RTNH_F_OFFLOAD = 0x8
-+ RTNH_F_ONLINK = 0x4
-+ RTNH_F_PERVASIVE = 0x2
-+ RTNH_F_UNRESOLVED = 0x20
-+ RTN_MAX = 0xb
-+ RTPROT_BABEL = 0x2a
-+ RTPROT_BGP = 0xba
-+ RTPROT_BIRD = 0xc
-+ RTPROT_BOOT = 0x3
-+ RTPROT_DHCP = 0x10
-+ RTPROT_DNROUTED = 0xd
-+ RTPROT_EIGRP = 0xc0
-+ RTPROT_GATED = 0x8
-+ RTPROT_ISIS = 0xbb
-+ RTPROT_KERNEL = 0x2
-+ RTPROT_MROUTED = 0x11
-+ RTPROT_MRT = 0xa
-+ RTPROT_NTK = 0xf
-+ RTPROT_OSPF = 0xbc
-+ RTPROT_RA = 0x9
-+ RTPROT_REDIRECT = 0x1
-+ RTPROT_RIP = 0xbd
-+ RTPROT_STATIC = 0x4
-+ RTPROT_UNSPEC = 0x0
-+ RTPROT_XORP = 0xe
-+ RTPROT_ZEBRA = 0xb
-+ RT_CLASS_DEFAULT = 0xfd
-+ RT_CLASS_LOCAL = 0xff
-+ RT_CLASS_MAIN = 0xfe
-+ RT_CLASS_MAX = 0xff
-+ RT_CLASS_UNSPEC = 0x0
-+ RUSAGE_CHILDREN = -0x1
-+ RUSAGE_SELF = 0x0
-+ RUSAGE_THREAD = 0x1
-+ RWF_APPEND = 0x10
-+ RWF_DSYNC = 0x2
-+ RWF_HIPRI = 0x1
-+ RWF_NOWAIT = 0x8
-+ RWF_SUPPORTED = 0x1f
-+ RWF_SYNC = 0x4
-+ RWF_WRITE_LIFE_NOT_SET = 0x0
-+ SCM_CREDENTIALS = 0x2
-+ SCM_RIGHTS = 0x1
-+ SCM_TIMESTAMP = 0x1d
-+ SC_LOG_FLUSH = 0x100000
-+ SECCOMP_MODE_DISABLED = 0x0
-+ SECCOMP_MODE_FILTER = 0x2
-+ SECCOMP_MODE_STRICT = 0x1
-+ SECURITYFS_MAGIC = 0x73636673
-+ SELINUX_MAGIC = 0xf97cff8c
-+ SHUT_RD = 0x0
-+ SHUT_RDWR = 0x2
-+ SHUT_WR = 0x1
-+ SIOCADDDLCI = 0x8980
-+ SIOCADDMULTI = 0x8931
-+ SIOCADDRT = 0x890b
-+ SIOCBONDCHANGEACTIVE = 0x8995
-+ SIOCBONDENSLAVE = 0x8990
-+ SIOCBONDINFOQUERY = 0x8994
-+ SIOCBONDRELEASE = 0x8991
-+ SIOCBONDSETHWADDR = 0x8992
-+ SIOCBONDSLAVEINFOQUERY = 0x8993
-+ SIOCBRADDBR = 0x89a0
-+ SIOCBRADDIF = 0x89a2
-+ SIOCBRDELBR = 0x89a1
-+ SIOCBRDELIF = 0x89a3
-+ SIOCDARP = 0x8953
-+ SIOCDELDLCI = 0x8981
-+ SIOCDELMULTI = 0x8932
-+ SIOCDELRT = 0x890c
-+ SIOCDEVPRIVATE = 0x89f0
-+ SIOCDIFADDR = 0x8936
-+ SIOCDRARP = 0x8960
-+ SIOCETHTOOL = 0x8946
-+ SIOCGARP = 0x8954
-+ SIOCGETLINKNAME = 0x89e0
-+ SIOCGETNODEID = 0x89e1
-+ SIOCGHWTSTAMP = 0x89b1
-+ SIOCGIFADDR = 0x8915
-+ SIOCGIFBR = 0x8940
-+ SIOCGIFBRDADDR = 0x8919
-+ SIOCGIFCONF = 0x8912
-+ SIOCGIFCOUNT = 0x8938
-+ SIOCGIFDSTADDR = 0x8917
-+ SIOCGIFENCAP = 0x8925
-+ SIOCGIFFLAGS = 0x8913
-+ SIOCGIFHWADDR = 0x8927
-+ SIOCGIFINDEX = 0x8933
-+ SIOCGIFMAP = 0x8970
-+ SIOCGIFMEM = 0x891f
-+ SIOCGIFMETRIC = 0x891d
-+ SIOCGIFMTU = 0x8921
-+ SIOCGIFNAME = 0x8910
-+ SIOCGIFNETMASK = 0x891b
-+ SIOCGIFPFLAGS = 0x8935
-+ SIOCGIFSLAVE = 0x8929
-+ SIOCGIFTXQLEN = 0x8942
-+ SIOCGIFVLAN = 0x8982
-+ SIOCGMIIPHY = 0x8947
-+ SIOCGMIIREG = 0x8948
-+ SIOCGPPPCSTATS = 0x89f2
-+ SIOCGPPPSTATS = 0x89f0
-+ SIOCGPPPVER = 0x89f1
-+ SIOCGRARP = 0x8961
-+ SIOCGSKNS = 0x894c
-+ SIOCGSTAMP = 0x8906
-+ SIOCGSTAMPNS = 0x8907
-+ SIOCGSTAMPNS_OLD = 0x8907
-+ SIOCGSTAMP_OLD = 0x8906
-+ SIOCOUTQNSD = 0x894b
-+ SIOCPROTOPRIVATE = 0x89e0
-+ SIOCRTMSG = 0x890d
-+ SIOCSARP = 0x8955
-+ SIOCSHWTSTAMP = 0x89b0
-+ SIOCSIFADDR = 0x8916
-+ SIOCSIFBR = 0x8941
-+ SIOCSIFBRDADDR = 0x891a
-+ SIOCSIFDSTADDR = 0x8918
-+ SIOCSIFENCAP = 0x8926
-+ SIOCSIFFLAGS = 0x8914
-+ SIOCSIFHWADDR = 0x8924
-+ SIOCSIFHWBROADCAST = 0x8937
-+ SIOCSIFLINK = 0x8911
-+ SIOCSIFMAP = 0x8971
-+ SIOCSIFMEM = 0x8920
-+ SIOCSIFMETRIC = 0x891e
-+ SIOCSIFMTU = 0x8922
-+ SIOCSIFNAME = 0x8923
-+ SIOCSIFNETMASK = 0x891c
-+ SIOCSIFPFLAGS = 0x8934
-+ SIOCSIFSLAVE = 0x8930
-+ SIOCSIFTXQLEN = 0x8943
-+ SIOCSIFVLAN = 0x8983
-+ SIOCSMIIREG = 0x8949
-+ SIOCSRARP = 0x8962
-+ SIOCWANDEV = 0x894a
-+ SMACK_MAGIC = 0x43415d53
-+ SMART_AUTOSAVE = 0xd2
-+ SMART_AUTO_OFFLINE = 0xdb
-+ SMART_DISABLE = 0xd9
-+ SMART_ENABLE = 0xd8
-+ SMART_HCYL_PASS = 0xc2
-+ SMART_IMMEDIATE_OFFLINE = 0xd4
-+ SMART_LCYL_PASS = 0x4f
-+ SMART_READ_LOG_SECTOR = 0xd5
-+ SMART_READ_THRESHOLDS = 0xd1
-+ SMART_READ_VALUES = 0xd0
-+ SMART_SAVE = 0xd3
-+ SMART_STATUS = 0xda
-+ SMART_WRITE_LOG_SECTOR = 0xd6
-+ SMART_WRITE_THRESHOLDS = 0xd7
-+ SMB_SUPER_MAGIC = 0x517b
-+ SOCKFS_MAGIC = 0x534f434b
-+ SOCK_DCCP = 0x6
-+ SOCK_IOC_TYPE = 0x89
-+ SOCK_PACKET = 0xa
-+ SOCK_RAW = 0x3
-+ SOCK_RDM = 0x4
-+ SOCK_SEQPACKET = 0x5
-+ SOL_AAL = 0x109
-+ SOL_ALG = 0x117
-+ SOL_ATM = 0x108
-+ SOL_CAIF = 0x116
-+ SOL_CAN_BASE = 0x64
-+ SOL_DCCP = 0x10d
-+ SOL_DECNET = 0x105
-+ SOL_ICMPV6 = 0x3a
-+ SOL_IP = 0x0
-+ SOL_IPV6 = 0x29
-+ SOL_IRDA = 0x10a
-+ SOL_IUCV = 0x115
-+ SOL_KCM = 0x119
-+ SOL_LLC = 0x10c
-+ SOL_NETBEUI = 0x10b
-+ SOL_NETLINK = 0x10e
-+ SOL_NFC = 0x118
-+ SOL_PACKET = 0x107
-+ SOL_PNPIPE = 0x113
-+ SOL_PPPOL2TP = 0x111
-+ SOL_RAW = 0xff
-+ SOL_RDS = 0x114
-+ SOL_RXRPC = 0x110
-+ SOL_TCP = 0x6
-+ SOL_TIPC = 0x10f
-+ SOL_TLS = 0x11a
-+ SOL_X25 = 0x106
-+ SOL_XDP = 0x11b
-+ SOMAXCONN = 0x1000
-+ SO_ATTACH_FILTER = 0x1a
-+ SO_DEBUG = 0x1
-+ SO_DETACH_BPF = 0x1b
-+ SO_DETACH_FILTER = 0x1b
-+ SO_EE_CODE_TXTIME_INVALID_PARAM = 0x1
-+ SO_EE_CODE_TXTIME_MISSED = 0x2
-+ SO_EE_CODE_ZEROCOPY_COPIED = 0x1
-+ SO_EE_ORIGIN_ICMP = 0x2
-+ SO_EE_ORIGIN_ICMP6 = 0x3
-+ SO_EE_ORIGIN_LOCAL = 0x1
-+ SO_EE_ORIGIN_NONE = 0x0
-+ SO_EE_ORIGIN_TIMESTAMPING = 0x4
-+ SO_EE_ORIGIN_TXSTATUS = 0x4
-+ SO_EE_ORIGIN_TXTIME = 0x6
-+ SO_EE_ORIGIN_ZEROCOPY = 0x5
-+ SO_GET_FILTER = 0x1a
-+ SO_NO_CHECK = 0xb
-+ SO_PEERNAME = 0x1c
-+ SO_PRIORITY = 0xc
-+ SO_TIMESTAMP = 0x1d
-+ SO_TIMESTAMP_OLD = 0x1d
-+ SO_VM_SOCKETS_BUFFER_MAX_SIZE = 0x2
-+ SO_VM_SOCKETS_BUFFER_MIN_SIZE = 0x1
-+ SO_VM_SOCKETS_BUFFER_SIZE = 0x0
-+ SO_VM_SOCKETS_CONNECT_TIMEOUT = 0x6
-+ SO_VM_SOCKETS_NONBLOCK_TXRX = 0x7
-+ SO_VM_SOCKETS_PEER_HOST_VM_ID = 0x3
-+ SO_VM_SOCKETS_TRUSTED = 0x5
-+ SPLICE_F_GIFT = 0x8
-+ SPLICE_F_MORE = 0x4
-+ SPLICE_F_MOVE = 0x1
-+ SPLICE_F_NONBLOCK = 0x2
-+ SQUASHFS_MAGIC = 0x73717368
-+ STACK_END_MAGIC = 0x57ac6e9d
-+ STATX_ALL = 0xfff
-+ STATX_ATIME = 0x20
-+ STATX_ATTR_APPEND = 0x20
-+ STATX_ATTR_AUTOMOUNT = 0x1000
-+ STATX_ATTR_COMPRESSED = 0x4
-+ STATX_ATTR_ENCRYPTED = 0x800
-+ STATX_ATTR_IMMUTABLE = 0x10
-+ STATX_ATTR_NODUMP = 0x40
-+ STATX_ATTR_VERITY = 0x100000
-+ STATX_BASIC_STATS = 0x7ff
-+ STATX_BLOCKS = 0x400
-+ STATX_BTIME = 0x800
-+ STATX_CTIME = 0x80
-+ STATX_GID = 0x10
-+ STATX_INO = 0x100
-+ STATX_MODE = 0x2
-+ STATX_MTIME = 0x40
-+ STATX_NLINK = 0x4
-+ STATX_SIZE = 0x200
-+ STATX_TYPE = 0x1
-+ STATX_UID = 0x8
-+ STATX__RESERVED = 0x80000000
-+ SYNC_FILE_RANGE_WAIT_AFTER = 0x4
-+ SYNC_FILE_RANGE_WAIT_BEFORE = 0x1
-+ SYNC_FILE_RANGE_WRITE = 0x2
-+ SYNC_FILE_RANGE_WRITE_AND_WAIT = 0x7
-+ SYSFS_MAGIC = 0x62656572
-+ S_BLKSIZE = 0x200
-+ S_IEXEC = 0x40
-+ S_IFBLK = 0x6000
-+ S_IFCHR = 0x2000
-+ S_IFDIR = 0x4000
-+ S_IFIFO = 0x1000
-+ S_IFLNK = 0xa000
-+ S_IFMT = 0xf000
-+ S_IFREG = 0x8000
-+ S_IFSOCK = 0xc000
-+ S_IREAD = 0x100
-+ S_IRGRP = 0x20
-+ S_IROTH = 0x4
-+ S_IRUSR = 0x100
-+ S_IRWXG = 0x38
-+ S_IRWXO = 0x7
-+ S_IRWXU = 0x1c0
-+ S_ISGID = 0x400
-+ S_ISUID = 0x800
-+ S_ISVTX = 0x200
-+ S_IWGRP = 0x10
-+ S_IWOTH = 0x2
-+ S_IWRITE = 0x80
-+ S_IWUSR = 0x80
-+ S_IXGRP = 0x8
-+ S_IXOTH = 0x1
-+ S_IXUSR = 0x40
-+ TAB0 = 0x0
-+ TASKSTATS_CMD_ATTR_MAX = 0x4
-+ TASKSTATS_CMD_MAX = 0x2
-+ TASKSTATS_GENL_NAME = "TASKSTATS"
-+ TASKSTATS_GENL_VERSION = 0x1
-+ TASKSTATS_TYPE_MAX = 0x6
-+ TASKSTATS_VERSION = 0xa
-+ TCIFLUSH = 0x0
-+ TCIOFF = 0x2
-+ TCIOFLUSH = 0x2
-+ TCION = 0x3
-+ TCOFLUSH = 0x1
-+ TCOOFF = 0x0
-+ TCOON = 0x1
-+ TCP_BPF_IW = 0x3e9
-+ TCP_BPF_SNDCWND_CLAMP = 0x3ea
-+ TCP_CC_INFO = 0x1a
-+ TCP_CM_INQ = 0x24
-+ TCP_CONGESTION = 0xd
-+ TCP_COOKIE_IN_ALWAYS = 0x1
-+ TCP_COOKIE_MAX = 0x10
-+ TCP_COOKIE_MIN = 0x8
-+ TCP_COOKIE_OUT_NEVER = 0x2
-+ TCP_COOKIE_PAIR_SIZE = 0x20
-+ TCP_COOKIE_TRANSACTIONS = 0xf
-+ TCP_CORK = 0x3
-+ TCP_DEFER_ACCEPT = 0x9
-+ TCP_FASTOPEN = 0x17
-+ TCP_FASTOPEN_CONNECT = 0x1e
-+ TCP_FASTOPEN_KEY = 0x21
-+ TCP_FASTOPEN_NO_COOKIE = 0x22
-+ TCP_INFO = 0xb
-+ TCP_INQ = 0x24
-+ TCP_KEEPCNT = 0x6
-+ TCP_KEEPIDLE = 0x4
-+ TCP_KEEPINTVL = 0x5
-+ TCP_LINGER2 = 0x8
-+ TCP_MAXSEG = 0x2
-+ TCP_MAXWIN = 0xffff
-+ TCP_MAX_WINSHIFT = 0xe
-+ TCP_MD5SIG = 0xe
-+ TCP_MD5SIG_EXT = 0x20
-+ TCP_MD5SIG_FLAG_PREFIX = 0x1
-+ TCP_MD5SIG_MAXKEYLEN = 0x50
-+ TCP_MSS = 0x200
-+ TCP_MSS_DEFAULT = 0x218
-+ TCP_MSS_DESIRED = 0x4c4
-+ TCP_NODELAY = 0x1
-+ TCP_NOTSENT_LOWAT = 0x19
-+ TCP_QUEUE_SEQ = 0x15
-+ TCP_QUICKACK = 0xc
-+ TCP_REPAIR = 0x13
-+ TCP_REPAIR_OFF = 0x0
-+ TCP_REPAIR_OFF_NO_WP = -0x1
-+ TCP_REPAIR_ON = 0x1
-+ TCP_REPAIR_OPTIONS = 0x16
-+ TCP_REPAIR_QUEUE = 0x14
-+ TCP_REPAIR_WINDOW = 0x1d
-+ TCP_SAVED_SYN = 0x1c
-+ TCP_SAVE_SYN = 0x1b
-+ TCP_SYNCNT = 0x7
-+ TCP_S_DATA_IN = 0x4
-+ TCP_S_DATA_OUT = 0x8
-+ TCP_THIN_DUPACK = 0x11
-+ TCP_THIN_LINEAR_TIMEOUTS = 0x10
-+ TCP_TIMESTAMP = 0x18
-+ TCP_TX_DELAY = 0x25
-+ TCP_ULP = 0x1f
-+ TCP_USER_TIMEOUT = 0x12
-+ TCP_WINDOW_CLAMP = 0xa
-+ TCP_ZEROCOPY_RECEIVE = 0x23
-+ TIMER_ABSTIME = 0x1
-+ TIOCM_DTR = 0x2
-+ TIOCM_LE = 0x1
-+ TIOCM_RTS = 0x4
-+ TIOCPKT_DATA = 0x0
-+ TIOCPKT_DOSTOP = 0x20
-+ TIOCPKT_FLUSHREAD = 0x1
-+ TIOCPKT_FLUSHWRITE = 0x2
-+ TIOCPKT_IOCTL = 0x40
-+ TIOCPKT_NOSTOP = 0x10
-+ TIOCPKT_START = 0x8
-+ TIOCPKT_STOP = 0x4
-+ TIPC_ADDR_ID = 0x3
-+ TIPC_ADDR_MCAST = 0x1
-+ TIPC_ADDR_NAME = 0x2
-+ TIPC_ADDR_NAMESEQ = 0x1
-+ TIPC_AEAD_ALG_NAME = 0x20
-+ TIPC_AEAD_KEYLEN_MAX = 0x24
-+ TIPC_AEAD_KEYLEN_MIN = 0x14
-+ TIPC_AEAD_KEY_SIZE_MAX = 0x48
-+ TIPC_CFG_SRV = 0x0
-+ TIPC_CLUSTER_BITS = 0xc
-+ TIPC_CLUSTER_MASK = 0xfff000
-+ TIPC_CLUSTER_OFFSET = 0xc
-+ TIPC_CLUSTER_SIZE = 0xfff
-+ TIPC_CONN_SHUTDOWN = 0x5
-+ TIPC_CONN_TIMEOUT = 0x82
-+ TIPC_CRITICAL_IMPORTANCE = 0x3
-+ TIPC_DESTNAME = 0x3
-+ TIPC_DEST_DROPPABLE = 0x81
-+ TIPC_ERRINFO = 0x1
-+ TIPC_ERR_NO_NAME = 0x1
-+ TIPC_ERR_NO_NODE = 0x3
-+ TIPC_ERR_NO_PORT = 0x2
-+ TIPC_ERR_OVERLOAD = 0x4
-+ TIPC_GROUP_JOIN = 0x87
-+ TIPC_GROUP_LEAVE = 0x88
-+ TIPC_GROUP_LOOPBACK = 0x1
-+ TIPC_GROUP_MEMBER_EVTS = 0x2
-+ TIPC_HIGH_IMPORTANCE = 0x2
-+ TIPC_IMPORTANCE = 0x7f
-+ TIPC_LINK_STATE = 0x2
-+ TIPC_LOW_IMPORTANCE = 0x0
-+ TIPC_MAX_BEARER_NAME = 0x20
-+ TIPC_MAX_IF_NAME = 0x10
-+ TIPC_MAX_LINK_NAME = 0x44
-+ TIPC_MAX_MEDIA_NAME = 0x10
-+ TIPC_MAX_USER_MSG_SIZE = 0x101d0
-+ TIPC_MCAST_BROADCAST = 0x85
-+ TIPC_MCAST_REPLICAST = 0x86
-+ TIPC_MEDIUM_IMPORTANCE = 0x1
-+ TIPC_NODEID_LEN = 0x10
-+ TIPC_NODELAY = 0x8a
-+ TIPC_NODE_BITS = 0xc
-+ TIPC_NODE_MASK = 0xfff
-+ TIPC_NODE_OFFSET = 0x0
-+ TIPC_NODE_RECVQ_DEPTH = 0x83
-+ TIPC_NODE_SIZE = 0xfff
-+ TIPC_NODE_STATE = 0x0
-+ TIPC_OK = 0x0
-+ TIPC_PUBLISHED = 0x1
-+ TIPC_RESERVED_TYPES = 0x40
-+ TIPC_RETDATA = 0x2
-+ TIPC_SERVICE_ADDR = 0x2
-+ TIPC_SERVICE_RANGE = 0x1
-+ TIPC_SOCKET_ADDR = 0x3
-+ TIPC_SOCK_RECVQ_DEPTH = 0x84
-+ TIPC_SOCK_RECVQ_USED = 0x89
-+ TIPC_SRC_DROPPABLE = 0x80
-+ TIPC_SUBSCR_TIMEOUT = 0x3
-+ TIPC_SUB_CANCEL = 0x4
-+ TIPC_SUB_PORTS = 0x1
-+ TIPC_SUB_SERVICE = 0x2
-+ TIPC_TOP_SRV = 0x1
-+ TIPC_WAIT_FOREVER = 0xffffffff
-+ TIPC_WITHDRAWN = 0x2
-+ TIPC_ZONE_BITS = 0x8
-+ TIPC_ZONE_CLUSTER_MASK = 0xfffff000
-+ TIPC_ZONE_MASK = 0xff000000
-+ TIPC_ZONE_OFFSET = 0x18
-+ TIPC_ZONE_SCOPE = 0x1
-+ TIPC_ZONE_SIZE = 0xff
-+ TMPFS_MAGIC = 0x1021994
-+ TPACKET_ALIGNMENT = 0x10
-+ TPACKET_HDRLEN = 0x34
-+ TP_STATUS_AVAILABLE = 0x0
-+ TP_STATUS_BLK_TMO = 0x20
-+ TP_STATUS_COPY = 0x2
-+ TP_STATUS_CSUMNOTREADY = 0x8
-+ TP_STATUS_CSUM_VALID = 0x80
-+ TP_STATUS_KERNEL = 0x0
-+ TP_STATUS_LOSING = 0x4
-+ TP_STATUS_SENDING = 0x2
-+ TP_STATUS_SEND_REQUEST = 0x1
-+ TP_STATUS_TS_RAW_HARDWARE = 0x80000000
-+ TP_STATUS_TS_SOFTWARE = 0x20000000
-+ TP_STATUS_TS_SYS_HARDWARE = 0x40000000
-+ TP_STATUS_USER = 0x1
-+ TP_STATUS_VLAN_TPID_VALID = 0x40
-+ TP_STATUS_VLAN_VALID = 0x10
-+ TP_STATUS_WRONG_FORMAT = 0x4
-+ TRACEFS_MAGIC = 0x74726163
-+ TS_COMM_LEN = 0x20
-+ UDF_SUPER_MAGIC = 0x15013346
-+ UMOUNT_NOFOLLOW = 0x8
-+ USBDEVICE_SUPER_MAGIC = 0x9fa2
-+ UTIME_NOW = 0x3fffffff
-+ UTIME_OMIT = 0x3ffffffe
-+ V9FS_MAGIC = 0x1021997
-+ VERASE = 0x2
-+ VINTR = 0x0
-+ VKILL = 0x3
-+ VLNEXT = 0xf
-+ VMADDR_CID_ANY = 0xffffffff
-+ VMADDR_CID_HOST = 0x2
-+ VMADDR_CID_HYPERVISOR = 0x0
-+ VMADDR_CID_LOCAL = 0x1
-+ VMADDR_PORT_ANY = 0xffffffff
-+ VM_SOCKETS_INVALID_VERSION = 0xffffffff
-+ VQUIT = 0x1
-+ VT0 = 0x0
-+ WALL = 0x40000000
-+ WCLONE = 0x80000000
-+ WCONTINUED = 0x8
-+ WDIOC_SETPRETIMEOUT = 0xc0045708
-+ WDIOC_SETTIMEOUT = 0xc0045706
-+ WEXITED = 0x4
-+ WIN_ACKMEDIACHANGE = 0xdb
-+ WIN_CHECKPOWERMODE1 = 0xe5
-+ WIN_CHECKPOWERMODE2 = 0x98
-+ WIN_DEVICE_RESET = 0x8
-+ WIN_DIAGNOSE = 0x90
-+ WIN_DOORLOCK = 0xde
-+ WIN_DOORUNLOCK = 0xdf
-+ WIN_DOWNLOAD_MICROCODE = 0x92
-+ WIN_FLUSH_CACHE = 0xe7
-+ WIN_FLUSH_CACHE_EXT = 0xea
-+ WIN_FORMAT = 0x50
-+ WIN_GETMEDIASTATUS = 0xda
-+ WIN_IDENTIFY = 0xec
-+ WIN_IDENTIFY_DMA = 0xee
-+ WIN_IDLEIMMEDIATE = 0xe1
-+ WIN_INIT = 0x60
-+ WIN_MEDIAEJECT = 0xed
-+ WIN_MULTREAD = 0xc4
-+ WIN_MULTREAD_EXT = 0x29
-+ WIN_MULTWRITE = 0xc5
-+ WIN_MULTWRITE_EXT = 0x39
-+ WIN_NOP = 0x0
-+ WIN_PACKETCMD = 0xa0
-+ WIN_PIDENTIFY = 0xa1
-+ WIN_POSTBOOT = 0xdc
-+ WIN_PREBOOT = 0xdd
-+ WIN_QUEUED_SERVICE = 0xa2
-+ WIN_READ = 0x20
-+ WIN_READDMA = 0xc8
-+ WIN_READDMA_EXT = 0x25
-+ WIN_READDMA_ONCE = 0xc9
-+ WIN_READDMA_QUEUED = 0xc7
-+ WIN_READDMA_QUEUED_EXT = 0x26
-+ WIN_READ_BUFFER = 0xe4
-+ WIN_READ_EXT = 0x24
-+ WIN_READ_LONG = 0x22
-+ WIN_READ_LONG_ONCE = 0x23
-+ WIN_READ_NATIVE_MAX = 0xf8
-+ WIN_READ_NATIVE_MAX_EXT = 0x27
-+ WIN_READ_ONCE = 0x21
-+ WIN_RECAL = 0x10
-+ WIN_RESTORE = 0x10
-+ WIN_SECURITY_DISABLE = 0xf6
-+ WIN_SECURITY_ERASE_PREPARE = 0xf3
-+ WIN_SECURITY_ERASE_UNIT = 0xf4
-+ WIN_SECURITY_FREEZE_LOCK = 0xf5
-+ WIN_SECURITY_SET_PASS = 0xf1
-+ WIN_SECURITY_UNLOCK = 0xf2
-+ WIN_SEEK = 0x70
-+ WIN_SETFEATURES = 0xef
-+ WIN_SETIDLE1 = 0xe3
-+ WIN_SETIDLE2 = 0x97
-+ WIN_SETMULT = 0xc6
-+ WIN_SET_MAX = 0xf9
-+ WIN_SET_MAX_EXT = 0x37
-+ WIN_SLEEPNOW1 = 0xe6
-+ WIN_SLEEPNOW2 = 0x99
-+ WIN_SMART = 0xb0
-+ WIN_SPECIFY = 0x91
-+ WIN_SRST = 0x8
-+ WIN_STANDBY = 0xe2
-+ WIN_STANDBY2 = 0x96
-+ WIN_STANDBYNOW1 = 0xe0
-+ WIN_STANDBYNOW2 = 0x94
-+ WIN_VERIFY = 0x40
-+ WIN_VERIFY_EXT = 0x42
-+ WIN_VERIFY_ONCE = 0x41
-+ WIN_WRITE = 0x30
-+ WIN_WRITEDMA = 0xca
-+ WIN_WRITEDMA_EXT = 0x35
-+ WIN_WRITEDMA_ONCE = 0xcb
-+ WIN_WRITEDMA_QUEUED = 0xcc
-+ WIN_WRITEDMA_QUEUED_EXT = 0x36
-+ WIN_WRITE_BUFFER = 0xe8
-+ WIN_WRITE_EXT = 0x34
-+ WIN_WRITE_LONG = 0x32
-+ WIN_WRITE_LONG_ONCE = 0x33
-+ WIN_WRITE_ONCE = 0x31
-+ WIN_WRITE_SAME = 0xe9
-+ WIN_WRITE_VERIFY = 0x3c
-+ WNOHANG = 0x1
-+ WNOTHREAD = 0x20000000
-+ WNOWAIT = 0x1000000
-+ WSTOPPED = 0x2
-+ WUNTRACED = 0x2
-+ XATTR_CREATE = 0x1
-+ XATTR_REPLACE = 0x2
-+ XDP_COPY = 0x2
-+ XDP_FLAGS_DRV_MODE = 0x4
-+ XDP_FLAGS_HW_MODE = 0x8
-+ XDP_FLAGS_MASK = 0xf
-+ XDP_FLAGS_MODES = 0xe
-+ XDP_FLAGS_SKB_MODE = 0x2
-+ XDP_FLAGS_UPDATE_IF_NOEXIST = 0x1
-+ XDP_MMAP_OFFSETS = 0x1
-+ XDP_OPTIONS = 0x8
-+ XDP_OPTIONS_ZEROCOPY = 0x1
-+ XDP_PACKET_HEADROOM = 0x100
-+ XDP_PGOFF_RX_RING = 0x0
-+ XDP_PGOFF_TX_RING = 0x80000000
-+ XDP_RING_NEED_WAKEUP = 0x1
-+ XDP_RX_RING = 0x2
-+ XDP_SHARED_UMEM = 0x1
-+ XDP_STATISTICS = 0x7
-+ XDP_TX_RING = 0x3
-+ XDP_UMEM_COMPLETION_RING = 0x6
-+ XDP_UMEM_FILL_RING = 0x5
-+ XDP_UMEM_PGOFF_COMPLETION_RING = 0x180000000
-+ XDP_UMEM_PGOFF_FILL_RING = 0x100000000
-+ XDP_UMEM_REG = 0x4
-+ XDP_UMEM_UNALIGNED_CHUNK_FLAG = 0x1
-+ XDP_USE_NEED_WAKEUP = 0x8
-+ XDP_ZEROCOPY = 0x4
-+ XENFS_SUPER_MAGIC = 0xabba1974
-+ XFS_SUPER_MAGIC = 0x58465342
-+ Z3FOLD_MAGIC = 0x33
-+ ZONEFS_MAGIC = 0x5a4f4653
-+ ZSMALLOC_MAGIC = 0x58295829
-+)
-+
-+// Errors
-+const (
-+ E2BIG = syscall.Errno(0x7)
-+ EACCES = syscall.Errno(0xd)
-+ EAGAIN = syscall.Errno(0xb)
-+ EBADF = syscall.Errno(0x9)
-+ EBUSY = syscall.Errno(0x10)
-+ ECHILD = syscall.Errno(0xa)
-+ EDOM = syscall.Errno(0x21)
-+ EEXIST = syscall.Errno(0x11)
-+ EFAULT = syscall.Errno(0xe)
-+ EFBIG = syscall.Errno(0x1b)
-+ EINTR = syscall.Errno(0x4)
-+ EINVAL = syscall.Errno(0x16)
-+ EIO = syscall.Errno(0x5)
-+ EISDIR = syscall.Errno(0x15)
-+ EMFILE = syscall.Errno(0x18)
-+ EMLINK = syscall.Errno(0x1f)
-+ ENFILE = syscall.Errno(0x17)
-+ ENODEV = syscall.Errno(0x13)
-+ ENOENT = syscall.Errno(0x2)
-+ ENOEXEC = syscall.Errno(0x8)
-+ ENOMEM = syscall.Errno(0xc)
-+ ENOSPC = syscall.Errno(0x1c)
-+ ENOTBLK = syscall.Errno(0xf)
-+ ENOTDIR = syscall.Errno(0x14)
-+ ENOTTY = syscall.Errno(0x19)
-+ ENXIO = syscall.Errno(0x6)
-+ EPERM = syscall.Errno(0x1)
-+ EPIPE = syscall.Errno(0x20)
-+ ERANGE = syscall.Errno(0x22)
-+ EROFS = syscall.Errno(0x1e)
-+ ESPIPE = syscall.Errno(0x1d)
-+ ESRCH = syscall.Errno(0x3)
-+ ETXTBSY = syscall.Errno(0x1a)
-+ EWOULDBLOCK = syscall.Errno(0xb)
-+ EXDEV = syscall.Errno(0x12)
-+)
-+
-+// Signals
-+const (
-+ SIGABRT = syscall.Signal(0x6)
-+ SIGALRM = syscall.Signal(0xe)
-+ SIGFPE = syscall.Signal(0x8)
-+ SIGHUP = syscall.Signal(0x1)
-+ SIGILL = syscall.Signal(0x4)
-+ SIGINT = syscall.Signal(0x2)
-+ SIGIOT = syscall.Signal(0x6)
-+ SIGKILL = syscall.Signal(0x9)
-+ SIGPIPE = syscall.Signal(0xd)
-+ SIGQUIT = syscall.Signal(0x3)
-+ SIGSEGV = syscall.Signal(0xb)
-+ SIGTERM = syscall.Signal(0xf)
-+ SIGTRAP = syscall.Signal(0x5)
-+)
-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 33ced1ae..028c9d87 100644
---- a/vendor/golang.org/x/sys/unix/zerrors_linux_386.go
-+++ b/vendor/golang.org/x/sys/unix/zerrors_linux_386.go
-@@ -3,7 +3,7 @@
-
- // +build 386,linux
-
--// Created by cgo -godefs - DO NOT EDIT
-+// Code generated by cmd/cgo -godefs; DO NOT EDIT.
- // cgo -godefs -- -Wall -Werror -static -I/tmp/include -m32 _const.go
-
- package unix
-@@ -11,1868 +11,487 @@ package unix
- import "syscall"
-
- const (
-- AF_ALG = 0x26
-- AF_APPLETALK = 0x5
-- AF_ASH = 0x12
-- AF_ATMPVC = 0x8
-- AF_ATMSVC = 0x14
-- AF_AX25 = 0x3
-- AF_BLUETOOTH = 0x1f
-- AF_BRIDGE = 0x7
-- AF_CAIF = 0x25
-- AF_CAN = 0x1d
-- AF_DECnet = 0xc
-- AF_ECONET = 0x13
-- AF_FILE = 0x1
-- AF_IB = 0x1b
-- AF_IEEE802154 = 0x24
-- AF_INET = 0x2
-- AF_INET6 = 0xa
-- AF_IPX = 0x4
-- AF_IRDA = 0x17
-- AF_ISDN = 0x22
-- AF_IUCV = 0x20
-- AF_KCM = 0x29
-- AF_KEY = 0xf
-- AF_LLC = 0x1a
-- AF_LOCAL = 0x1
-- AF_MAX = 0x2b
-- AF_MPLS = 0x1c
-- AF_NETBEUI = 0xd
-- AF_NETLINK = 0x10
-- AF_NETROM = 0x6
-- AF_NFC = 0x27
-- AF_PACKET = 0x11
-- AF_PHONET = 0x23
-- AF_PPPOX = 0x18
-- AF_QIPCRTR = 0x2a
-- AF_RDS = 0x15
-- AF_ROSE = 0xb
-- AF_ROUTE = 0x10
-- AF_RXRPC = 0x21
-- AF_SECURITY = 0xe
-- AF_SNA = 0x16
-- AF_TIPC = 0x1e
-- AF_UNIX = 0x1
-- AF_UNSPEC = 0x0
-- AF_VSOCK = 0x28
-- AF_WANPIPE = 0x19
-- AF_X25 = 0x9
-- ALG_OP_DECRYPT = 0x0
-- ALG_OP_ENCRYPT = 0x1
-- ALG_SET_AEAD_ASSOCLEN = 0x4
-- ALG_SET_AEAD_AUTHSIZE = 0x5
-- ALG_SET_IV = 0x2
-- ALG_SET_KEY = 0x1
-- ALG_SET_OP = 0x3
-- ARPHRD_6LOWPAN = 0x339
-- ARPHRD_ADAPT = 0x108
-- ARPHRD_APPLETLK = 0x8
-- ARPHRD_ARCNET = 0x7
-- ARPHRD_ASH = 0x30d
-- ARPHRD_ATM = 0x13
-- ARPHRD_AX25 = 0x3
-- ARPHRD_BIF = 0x307
-- ARPHRD_CAIF = 0x336
-- ARPHRD_CAN = 0x118
-- ARPHRD_CHAOS = 0x5
-- ARPHRD_CISCO = 0x201
-- ARPHRD_CSLIP = 0x101
-- ARPHRD_CSLIP6 = 0x103
-- ARPHRD_DDCMP = 0x205
-- ARPHRD_DLCI = 0xf
-- ARPHRD_ECONET = 0x30e
-- ARPHRD_EETHER = 0x2
-- ARPHRD_ETHER = 0x1
-- ARPHRD_EUI64 = 0x1b
-- ARPHRD_FCAL = 0x311
-- ARPHRD_FCFABRIC = 0x313
-- ARPHRD_FCPL = 0x312
-- ARPHRD_FCPP = 0x310
-- ARPHRD_FDDI = 0x306
-- ARPHRD_FRAD = 0x302
-- ARPHRD_HDLC = 0x201
-- ARPHRD_HIPPI = 0x30c
-- ARPHRD_HWX25 = 0x110
-- ARPHRD_IEEE1394 = 0x18
-- ARPHRD_IEEE802 = 0x6
-- ARPHRD_IEEE80211 = 0x321
-- ARPHRD_IEEE80211_PRISM = 0x322
-- ARPHRD_IEEE80211_RADIOTAP = 0x323
-- ARPHRD_IEEE802154 = 0x324
-- ARPHRD_IEEE802154_MONITOR = 0x325
-- ARPHRD_IEEE802_TR = 0x320
-- ARPHRD_INFINIBAND = 0x20
-- ARPHRD_IP6GRE = 0x337
-- ARPHRD_IPDDP = 0x309
-- ARPHRD_IPGRE = 0x30a
-- ARPHRD_IRDA = 0x30f
-- ARPHRD_LAPB = 0x204
-- ARPHRD_LOCALTLK = 0x305
-- ARPHRD_LOOPBACK = 0x304
-- ARPHRD_METRICOM = 0x17
-- ARPHRD_NETLINK = 0x338
-- ARPHRD_NETROM = 0x0
-- ARPHRD_NONE = 0xfffe
-- ARPHRD_PHONET = 0x334
-- ARPHRD_PHONET_PIPE = 0x335
-- ARPHRD_PIMREG = 0x30b
-- ARPHRD_PPP = 0x200
-- ARPHRD_PRONET = 0x4
-- ARPHRD_RAWHDLC = 0x206
-- ARPHRD_ROSE = 0x10e
-- ARPHRD_RSRVD = 0x104
-- ARPHRD_SIT = 0x308
-- ARPHRD_SKIP = 0x303
-- ARPHRD_SLIP = 0x100
-- ARPHRD_SLIP6 = 0x102
-- ARPHRD_TUNNEL = 0x300
-- ARPHRD_TUNNEL6 = 0x301
-- ARPHRD_VOID = 0xffff
-- ARPHRD_X25 = 0x10f
-- B0 = 0x0
-- B1000000 = 0x1008
-- B110 = 0x3
-- B115200 = 0x1002
-- B1152000 = 0x1009
-- B1200 = 0x9
-- B134 = 0x4
-- B150 = 0x5
-- B1500000 = 0x100a
-- B1800 = 0xa
-- B19200 = 0xe
-- B200 = 0x6
-- B2000000 = 0x100b
-- B230400 = 0x1003
-- B2400 = 0xb
-- B2500000 = 0x100c
-- B300 = 0x7
-- B3000000 = 0x100d
-- B3500000 = 0x100e
-- B38400 = 0xf
-- B4000000 = 0x100f
-- B460800 = 0x1004
-- B4800 = 0xc
-- B50 = 0x1
-- B500000 = 0x1005
-- B57600 = 0x1001
-- B576000 = 0x1006
-- B600 = 0x8
-- B75 = 0x2
-- B921600 = 0x1007
-- B9600 = 0xd
-- BLKBSZGET = 0x80041270
-- BLKBSZSET = 0x40041271
-- BLKFLSBUF = 0x1261
-- BLKFRAGET = 0x1265
-- BLKFRASET = 0x1264
-- BLKGETSIZE = 0x1260
-- BLKGETSIZE64 = 0x80041272
-- BLKPBSZGET = 0x127b
-- BLKRAGET = 0x1263
-- BLKRASET = 0x1262
-- BLKROGET = 0x125e
-- BLKROSET = 0x125d
-- BLKRRPART = 0x125f
-- BLKSECTGET = 0x1267
-- BLKSECTSET = 0x1266
-- BLKSSZGET = 0x1268
-- BOTHER = 0x1000
-- BPF_A = 0x10
-- BPF_ABS = 0x20
-- BPF_ADD = 0x0
-- BPF_ALU = 0x4
-- BPF_AND = 0x50
-- BPF_B = 0x10
-- BPF_DIV = 0x30
-- BPF_H = 0x8
-- BPF_IMM = 0x0
-- BPF_IND = 0x40
-- BPF_JA = 0x0
-- BPF_JEQ = 0x10
-- BPF_JGE = 0x30
-- BPF_JGT = 0x20
-- BPF_JMP = 0x5
-- BPF_JSET = 0x40
-- BPF_K = 0x0
-- BPF_LD = 0x0
-- BPF_LDX = 0x1
-- BPF_LEN = 0x80
-- BPF_LL_OFF = -0x200000
-- BPF_LSH = 0x60
-- BPF_MAJOR_VERSION = 0x1
-- BPF_MAXINSNS = 0x1000
-- BPF_MEM = 0x60
-- BPF_MEMWORDS = 0x10
-- BPF_MINOR_VERSION = 0x1
-- BPF_MISC = 0x7
-- BPF_MOD = 0x90
-- BPF_MSH = 0xa0
-- BPF_MUL = 0x20
-- BPF_NEG = 0x80
-- BPF_NET_OFF = -0x100000
-- BPF_OR = 0x40
-- BPF_RET = 0x6
-- BPF_RSH = 0x70
-- BPF_ST = 0x2
-- BPF_STX = 0x3
-- BPF_SUB = 0x10
-- BPF_TAX = 0x0
-- BPF_TXA = 0x80
-- BPF_W = 0x0
-- BPF_X = 0x8
-- BPF_XOR = 0xa0
-- BRKINT = 0x2
-- BS0 = 0x0
-- BS1 = 0x2000
-- BSDLY = 0x2000
-- CAN_BCM = 0x2
-- CAN_EFF_FLAG = 0x80000000
-- CAN_EFF_ID_BITS = 0x1d
-- CAN_EFF_MASK = 0x1fffffff
-- CAN_ERR_FLAG = 0x20000000
-- CAN_ERR_MASK = 0x1fffffff
-- CAN_INV_FILTER = 0x20000000
-- CAN_ISOTP = 0x6
-- CAN_MAX_DLC = 0x8
-- CAN_MAX_DLEN = 0x8
-- CAN_MCNET = 0x5
-- CAN_MTU = 0x10
-- CAN_NPROTO = 0x7
-- CAN_RAW = 0x1
-- CAN_RAW_FILTER_MAX = 0x200
-- CAN_RTR_FLAG = 0x40000000
-- CAN_SFF_ID_BITS = 0xb
-- CAN_SFF_MASK = 0x7ff
-- CAN_TP16 = 0x3
-- CAN_TP20 = 0x4
-- CBAUD = 0x100f
-- CBAUDEX = 0x1000
-- CFLUSH = 0xf
-- CIBAUD = 0x100f0000
-- CLOCAL = 0x800
-- CLOCK_BOOTTIME = 0x7
-- CLOCK_BOOTTIME_ALARM = 0x9
-- CLOCK_DEFAULT = 0x0
-- CLOCK_EXT = 0x1
-- CLOCK_INT = 0x2
-- CLOCK_MONOTONIC = 0x1
-- CLOCK_MONOTONIC_COARSE = 0x6
-- CLOCK_MONOTONIC_RAW = 0x4
-- CLOCK_PROCESS_CPUTIME_ID = 0x2
-- CLOCK_REALTIME = 0x0
-- CLOCK_REALTIME_ALARM = 0x8
-- CLOCK_REALTIME_COARSE = 0x5
-- CLOCK_TAI = 0xb
-- CLOCK_THREAD_CPUTIME_ID = 0x3
-- CLOCK_TXFROMRX = 0x4
-- CLOCK_TXINT = 0x3
-- CLONE_CHILD_CLEARTID = 0x200000
-- CLONE_CHILD_SETTID = 0x1000000
-- CLONE_DETACHED = 0x400000
-- CLONE_FILES = 0x400
-- CLONE_FS = 0x200
-- CLONE_IO = 0x80000000
-- CLONE_NEWCGROUP = 0x2000000
-- CLONE_NEWIPC = 0x8000000
-- CLONE_NEWNET = 0x40000000
-- CLONE_NEWNS = 0x20000
-- CLONE_NEWPID = 0x20000000
-- CLONE_NEWUSER = 0x10000000
-- CLONE_NEWUTS = 0x4000000
-- CLONE_PARENT = 0x8000
-- CLONE_PARENT_SETTID = 0x100000
-- CLONE_PTRACE = 0x2000
-- CLONE_SETTLS = 0x80000
-- CLONE_SIGHAND = 0x800
-- CLONE_SYSVSEM = 0x40000
-- CLONE_THREAD = 0x10000
-- CLONE_UNTRACED = 0x800000
-- CLONE_VFORK = 0x4000
-- CLONE_VM = 0x100
-- CMSPAR = 0x40000000
-- CR0 = 0x0
-- CR1 = 0x200
-- CR2 = 0x400
-- CR3 = 0x600
-- CRDLY = 0x600
-- CREAD = 0x80
-- CRTSCTS = 0x80000000
-- CS5 = 0x0
-- CS6 = 0x10
-- CS7 = 0x20
-- CS8 = 0x30
-- CSIGNAL = 0xff
-- CSIZE = 0x30
-- CSTART = 0x11
-- CSTATUS = 0x0
-- CSTOP = 0x13
-- CSTOPB = 0x40
-- CSUSP = 0x1a
-- DT_BLK = 0x6
-- DT_CHR = 0x2
-- DT_DIR = 0x4
-- DT_FIFO = 0x1
-- DT_LNK = 0xa
-- DT_REG = 0x8
-- DT_SOCK = 0xc
-- DT_UNKNOWN = 0x0
-- DT_WHT = 0xe
-- ECHO = 0x8
-- ECHOCTL = 0x200
-- ECHOE = 0x10
-- ECHOK = 0x20
-- ECHOKE = 0x800
-- ECHONL = 0x40
-- ECHOPRT = 0x400
-- EFD_CLOEXEC = 0x80000
-- EFD_NONBLOCK = 0x800
-- EFD_SEMAPHORE = 0x1
-- ENCODING_DEFAULT = 0x0
-- ENCODING_FM_MARK = 0x3
-- ENCODING_FM_SPACE = 0x4
-- ENCODING_MANCHESTER = 0x5
-- ENCODING_NRZ = 0x1
-- ENCODING_NRZI = 0x2
-- EPOLLERR = 0x8
-- EPOLLET = 0x80000000
-- EPOLLEXCLUSIVE = 0x10000000
-- EPOLLHUP = 0x10
-- EPOLLIN = 0x1
-- EPOLLMSG = 0x400
-- EPOLLONESHOT = 0x40000000
-- EPOLLOUT = 0x4
-- EPOLLPRI = 0x2
-- EPOLLRDBAND = 0x80
-- EPOLLRDHUP = 0x2000
-- EPOLLRDNORM = 0x40
-- EPOLLWAKEUP = 0x20000000
-- EPOLLWRBAND = 0x200
-- EPOLLWRNORM = 0x100
-- EPOLL_CLOEXEC = 0x80000
-- EPOLL_CTL_ADD = 0x1
-- EPOLL_CTL_DEL = 0x2
-- EPOLL_CTL_MOD = 0x3
-- ETH_P_1588 = 0x88f7
-- ETH_P_8021AD = 0x88a8
-- ETH_P_8021AH = 0x88e7
-- ETH_P_8021Q = 0x8100
-- ETH_P_80221 = 0x8917
-- ETH_P_802_2 = 0x4
-- ETH_P_802_3 = 0x1
-- ETH_P_802_3_MIN = 0x600
-- ETH_P_802_EX1 = 0x88b5
-- ETH_P_AARP = 0x80f3
-- ETH_P_AF_IUCV = 0xfbfb
-- ETH_P_ALL = 0x3
-- ETH_P_AOE = 0x88a2
-- ETH_P_ARCNET = 0x1a
-- ETH_P_ARP = 0x806
-- ETH_P_ATALK = 0x809b
-- ETH_P_ATMFATE = 0x8884
-- ETH_P_ATMMPOA = 0x884c
-- ETH_P_AX25 = 0x2
-- ETH_P_BATMAN = 0x4305
-- ETH_P_BPQ = 0x8ff
-- ETH_P_CAIF = 0xf7
-- ETH_P_CAN = 0xc
-- ETH_P_CANFD = 0xd
-- ETH_P_CONTROL = 0x16
-- ETH_P_CUST = 0x6006
-- ETH_P_DDCMP = 0x6
-- ETH_P_DEC = 0x6000
-- ETH_P_DIAG = 0x6005
-- ETH_P_DNA_DL = 0x6001
-- ETH_P_DNA_RC = 0x6002
-- ETH_P_DNA_RT = 0x6003
-- ETH_P_DSA = 0x1b
-- ETH_P_ECONET = 0x18
-- ETH_P_EDSA = 0xdada
-- ETH_P_FCOE = 0x8906
-- ETH_P_FIP = 0x8914
-- ETH_P_HDLC = 0x19
-- ETH_P_HSR = 0x892f
-- ETH_P_IEEE802154 = 0xf6
-- ETH_P_IEEEPUP = 0xa00
-- ETH_P_IEEEPUPAT = 0xa01
-- ETH_P_IP = 0x800
-- ETH_P_IPV6 = 0x86dd
-- ETH_P_IPX = 0x8137
-- ETH_P_IRDA = 0x17
-- ETH_P_LAT = 0x6004
-- ETH_P_LINK_CTL = 0x886c
-- ETH_P_LOCALTALK = 0x9
-- ETH_P_LOOP = 0x60
-- ETH_P_LOOPBACK = 0x9000
-- ETH_P_MACSEC = 0x88e5
-- ETH_P_MOBITEX = 0x15
-- ETH_P_MPLS_MC = 0x8848
-- ETH_P_MPLS_UC = 0x8847
-- ETH_P_MVRP = 0x88f5
-- ETH_P_NCSI = 0x88f8
-- ETH_P_PAE = 0x888e
-- ETH_P_PAUSE = 0x8808
-- ETH_P_PHONET = 0xf5
-- ETH_P_PPPTALK = 0x10
-- ETH_P_PPP_DISC = 0x8863
-- ETH_P_PPP_MP = 0x8
-- ETH_P_PPP_SES = 0x8864
-- ETH_P_PRP = 0x88fb
-- ETH_P_PUP = 0x200
-- ETH_P_PUPAT = 0x201
-- ETH_P_QINQ1 = 0x9100
-- ETH_P_QINQ2 = 0x9200
-- ETH_P_QINQ3 = 0x9300
-- ETH_P_RARP = 0x8035
-- ETH_P_SCA = 0x6007
-- ETH_P_SLOW = 0x8809
-- ETH_P_SNAP = 0x5
-- ETH_P_TDLS = 0x890d
-- ETH_P_TEB = 0x6558
-- ETH_P_TIPC = 0x88ca
-- ETH_P_TRAILER = 0x1c
-- ETH_P_TR_802_2 = 0x11
-- ETH_P_TSN = 0x22f0
-- ETH_P_WAN_PPP = 0x7
-- ETH_P_WCCP = 0x883e
-- ETH_P_X25 = 0x805
-- ETH_P_XDSA = 0xf8
-- EXTA = 0xe
-- EXTB = 0xf
-- EXTPROC = 0x10000
-- FALLOC_FL_COLLAPSE_RANGE = 0x8
-- FALLOC_FL_INSERT_RANGE = 0x20
-- FALLOC_FL_KEEP_SIZE = 0x1
-- FALLOC_FL_NO_HIDE_STALE = 0x4
-- FALLOC_FL_PUNCH_HOLE = 0x2
-- FALLOC_FL_UNSHARE_RANGE = 0x40
-- FALLOC_FL_ZERO_RANGE = 0x10
-- FD_CLOEXEC = 0x1
-- FD_SETSIZE = 0x400
-- FF0 = 0x0
-- FF1 = 0x8000
-- FFDLY = 0x8000
-- FLUSHO = 0x1000
-- FS_ENCRYPTION_MODE_AES_256_CBC = 0x3
-- FS_ENCRYPTION_MODE_AES_256_CTS = 0x4
-- FS_ENCRYPTION_MODE_AES_256_GCM = 0x2
-- FS_ENCRYPTION_MODE_AES_256_XTS = 0x1
-- FS_ENCRYPTION_MODE_INVALID = 0x0
-- FS_IOC_GET_ENCRYPTION_POLICY = 0x400c6615
-- FS_IOC_GET_ENCRYPTION_PWSALT = 0x40106614
-- FS_IOC_SET_ENCRYPTION_POLICY = 0x800c6613
-- FS_KEY_DESCRIPTOR_SIZE = 0x8
-- FS_KEY_DESC_PREFIX = "fscrypt:"
-- FS_KEY_DESC_PREFIX_SIZE = 0x8
-- FS_MAX_KEY_SIZE = 0x40
-- FS_POLICY_FLAGS_PAD_16 = 0x2
-- FS_POLICY_FLAGS_PAD_32 = 0x3
-- FS_POLICY_FLAGS_PAD_4 = 0x0
-- FS_POLICY_FLAGS_PAD_8 = 0x1
-- FS_POLICY_FLAGS_PAD_MASK = 0x3
-- FS_POLICY_FLAGS_VALID = 0x3
-- F_DUPFD = 0x0
-- F_DUPFD_CLOEXEC = 0x406
-- F_EXLCK = 0x4
-- F_GETFD = 0x1
-- F_GETFL = 0x3
-- F_GETLEASE = 0x401
-- F_GETLK = 0xc
-- F_GETLK64 = 0xc
-- F_GETOWN = 0x9
-- F_GETOWN_EX = 0x10
-- F_GETPIPE_SZ = 0x408
-- F_GETSIG = 0xb
-- F_LOCK = 0x1
-- F_NOTIFY = 0x402
-- F_OFD_GETLK = 0x24
-- F_OFD_SETLK = 0x25
-- F_OFD_SETLKW = 0x26
-- F_OK = 0x0
-- F_RDLCK = 0x0
-- F_SETFD = 0x2
-- F_SETFL = 0x4
-- F_SETLEASE = 0x400
-- F_SETLK = 0xd
-- F_SETLK64 = 0xd
-- F_SETLKW = 0xe
-- F_SETLKW64 = 0xe
-- F_SETOWN = 0x8
-- F_SETOWN_EX = 0xf
-- F_SETPIPE_SZ = 0x407
-- F_SETSIG = 0xa
-- F_SHLCK = 0x8
-- F_TEST = 0x3
-- F_TLOCK = 0x2
-- F_ULOCK = 0x0
-- F_UNLCK = 0x2
-- F_WRLCK = 0x1
-- GENL_ADMIN_PERM = 0x1
-- GENL_CMD_CAP_DO = 0x2
-- GENL_CMD_CAP_DUMP = 0x4
-- GENL_CMD_CAP_HASPOL = 0x8
-- GENL_HDRLEN = 0x4
-- GENL_ID_CTRL = 0x10
-- GENL_ID_PMCRAID = 0x12
-- GENL_ID_VFS_DQUOT = 0x11
-- GENL_MAX_ID = 0x3ff
-- GENL_MIN_ID = 0x10
-- GENL_NAMSIZ = 0x10
-- GENL_START_ALLOC = 0x13
-- GENL_UNS_ADMIN_PERM = 0x10
-- GRND_NONBLOCK = 0x1
-- GRND_RANDOM = 0x2
-- HUPCL = 0x400
-- IBSHIFT = 0x10
-- ICANON = 0x2
-- ICMPV6_FILTER = 0x1
-- ICRNL = 0x100
-- IEXTEN = 0x8000
-- IFA_F_DADFAILED = 0x8
-- IFA_F_DEPRECATED = 0x20
-- IFA_F_HOMEADDRESS = 0x10
-- IFA_F_MANAGETEMPADDR = 0x100
-- IFA_F_MCAUTOJOIN = 0x400
-- IFA_F_NODAD = 0x2
-- IFA_F_NOPREFIXROUTE = 0x200
-- IFA_F_OPTIMISTIC = 0x4
-- IFA_F_PERMANENT = 0x80
-- IFA_F_SECONDARY = 0x1
-- IFA_F_STABLE_PRIVACY = 0x800
-- IFA_F_TEMPORARY = 0x1
-- IFA_F_TENTATIVE = 0x40
-- IFA_MAX = 0x8
-- IFF_ALLMULTI = 0x200
-- IFF_ATTACH_QUEUE = 0x200
-- IFF_AUTOMEDIA = 0x4000
-- IFF_BROADCAST = 0x2
-- IFF_DEBUG = 0x4
-- IFF_DETACH_QUEUE = 0x400
-- IFF_DORMANT = 0x20000
-- IFF_DYNAMIC = 0x8000
-- IFF_ECHO = 0x40000
-- IFF_LOOPBACK = 0x8
-- IFF_LOWER_UP = 0x10000
-- IFF_MASTER = 0x400
-- IFF_MULTICAST = 0x1000
-- IFF_MULTI_QUEUE = 0x100
-- IFF_NOARP = 0x80
-- IFF_NOFILTER = 0x1000
-- IFF_NOTRAILERS = 0x20
-- IFF_NO_PI = 0x1000
-- IFF_ONE_QUEUE = 0x2000
-- IFF_PERSIST = 0x800
-- IFF_POINTOPOINT = 0x10
-- IFF_PORTSEL = 0x2000
-- IFF_PROMISC = 0x100
-- IFF_RUNNING = 0x40
-- IFF_SLAVE = 0x800
-- IFF_TAP = 0x2
-- IFF_TUN = 0x1
-- IFF_TUN_EXCL = 0x8000
-- IFF_UP = 0x1
-- IFF_VNET_HDR = 0x4000
-- IFF_VOLATILE = 0x70c5a
-- IFNAMSIZ = 0x10
-- IGNBRK = 0x1
-- IGNCR = 0x80
-- IGNPAR = 0x4
-- IMAXBEL = 0x2000
-- INLCR = 0x40
-- INPCK = 0x10
-- IN_ACCESS = 0x1
-- IN_ALL_EVENTS = 0xfff
-- IN_ATTRIB = 0x4
-- IN_CLASSA_HOST = 0xffffff
-- IN_CLASSA_MAX = 0x80
-- IN_CLASSA_NET = 0xff000000
-- IN_CLASSA_NSHIFT = 0x18
-- IN_CLASSB_HOST = 0xffff
-- IN_CLASSB_MAX = 0x10000
-- IN_CLASSB_NET = 0xffff0000
-- IN_CLASSB_NSHIFT = 0x10
-- IN_CLASSC_HOST = 0xff
-- IN_CLASSC_NET = 0xffffff00
-- IN_CLASSC_NSHIFT = 0x8
-- IN_CLOEXEC = 0x80000
-- IN_CLOSE = 0x18
-- IN_CLOSE_NOWRITE = 0x10
-- IN_CLOSE_WRITE = 0x8
-- IN_CREATE = 0x100
-- IN_DELETE = 0x200
-- IN_DELETE_SELF = 0x400
-- IN_DONT_FOLLOW = 0x2000000
-- IN_EXCL_UNLINK = 0x4000000
-- IN_IGNORED = 0x8000
-- IN_ISDIR = 0x40000000
-- IN_LOOPBACKNET = 0x7f
-- IN_MASK_ADD = 0x20000000
-- IN_MODIFY = 0x2
-- IN_MOVE = 0xc0
-- IN_MOVED_FROM = 0x40
-- IN_MOVED_TO = 0x80
-- IN_MOVE_SELF = 0x800
-- IN_NONBLOCK = 0x800
-- IN_ONESHOT = 0x80000000
-- IN_ONLYDIR = 0x1000000
-- IN_OPEN = 0x20
-- IN_Q_OVERFLOW = 0x4000
-- IN_UNMOUNT = 0x2000
-- IPPROTO_AH = 0x33
-- IPPROTO_BEETPH = 0x5e
-- IPPROTO_COMP = 0x6c
-- IPPROTO_DCCP = 0x21
-- IPPROTO_DSTOPTS = 0x3c
-- IPPROTO_EGP = 0x8
-- IPPROTO_ENCAP = 0x62
-- IPPROTO_ESP = 0x32
-- IPPROTO_FRAGMENT = 0x2c
-- IPPROTO_GRE = 0x2f
-- IPPROTO_HOPOPTS = 0x0
-- IPPROTO_ICMP = 0x1
-- IPPROTO_ICMPV6 = 0x3a
-- IPPROTO_IDP = 0x16
-- IPPROTO_IGMP = 0x2
-- IPPROTO_IP = 0x0
-- IPPROTO_IPIP = 0x4
-- IPPROTO_IPV6 = 0x29
-- IPPROTO_MH = 0x87
-- IPPROTO_MPLS = 0x89
-- IPPROTO_MTP = 0x5c
-- IPPROTO_NONE = 0x3b
-- IPPROTO_PIM = 0x67
-- IPPROTO_PUP = 0xc
-- IPPROTO_RAW = 0xff
-- IPPROTO_ROUTING = 0x2b
-- IPPROTO_RSVP = 0x2e
-- IPPROTO_SCTP = 0x84
-- IPPROTO_TCP = 0x6
-- IPPROTO_TP = 0x1d
-- IPPROTO_UDP = 0x11
-- IPPROTO_UDPLITE = 0x88
-- IPV6_2292DSTOPTS = 0x4
-- IPV6_2292HOPLIMIT = 0x8
-- IPV6_2292HOPOPTS = 0x3
-- IPV6_2292PKTINFO = 0x2
-- IPV6_2292PKTOPTIONS = 0x6
-- IPV6_2292RTHDR = 0x5
-- IPV6_ADDRFORM = 0x1
-- IPV6_ADD_MEMBERSHIP = 0x14
-- IPV6_AUTHHDR = 0xa
-- IPV6_CHECKSUM = 0x7
-- IPV6_DONTFRAG = 0x3e
-- IPV6_DROP_MEMBERSHIP = 0x15
-- IPV6_DSTOPTS = 0x3b
-- IPV6_HDRINCL = 0x24
-- IPV6_HOPLIMIT = 0x34
-- IPV6_HOPOPTS = 0x36
-- IPV6_IPSEC_POLICY = 0x22
-- IPV6_JOIN_ANYCAST = 0x1b
-- IPV6_JOIN_GROUP = 0x14
-- IPV6_LEAVE_ANYCAST = 0x1c
-- IPV6_LEAVE_GROUP = 0x15
-- IPV6_MTU = 0x18
-- IPV6_MTU_DISCOVER = 0x17
-- IPV6_MULTICAST_HOPS = 0x12
-- IPV6_MULTICAST_IF = 0x11
-- IPV6_MULTICAST_LOOP = 0x13
-- IPV6_NEXTHOP = 0x9
-- IPV6_PATHMTU = 0x3d
-- IPV6_PKTINFO = 0x32
-- IPV6_PMTUDISC_DO = 0x2
-- IPV6_PMTUDISC_DONT = 0x0
-- IPV6_PMTUDISC_INTERFACE = 0x4
-- IPV6_PMTUDISC_OMIT = 0x5
-- IPV6_PMTUDISC_PROBE = 0x3
-- IPV6_PMTUDISC_WANT = 0x1
-- IPV6_RECVDSTOPTS = 0x3a
-- IPV6_RECVERR = 0x19
-- IPV6_RECVHOPLIMIT = 0x33
-- IPV6_RECVHOPOPTS = 0x35
-- IPV6_RECVPATHMTU = 0x3c
-- IPV6_RECVPKTINFO = 0x31
-- IPV6_RECVRTHDR = 0x38
-- IPV6_RECVTCLASS = 0x42
-- IPV6_ROUTER_ALERT = 0x16
-- IPV6_RTHDR = 0x39
-- IPV6_RTHDRDSTOPTS = 0x37
-- IPV6_RTHDR_LOOSE = 0x0
-- IPV6_RTHDR_STRICT = 0x1
-- IPV6_RTHDR_TYPE_0 = 0x0
-- IPV6_RXDSTOPTS = 0x3b
-- IPV6_RXHOPOPTS = 0x36
-- IPV6_TCLASS = 0x43
-- IPV6_UNICAST_HOPS = 0x10
-- IPV6_V6ONLY = 0x1a
-- IPV6_XFRM_POLICY = 0x23
-- IP_ADD_MEMBERSHIP = 0x23
-- IP_ADD_SOURCE_MEMBERSHIP = 0x27
-- IP_BIND_ADDRESS_NO_PORT = 0x18
-- IP_BLOCK_SOURCE = 0x26
-- IP_CHECKSUM = 0x17
-- IP_DEFAULT_MULTICAST_LOOP = 0x1
-- IP_DEFAULT_MULTICAST_TTL = 0x1
-- IP_DF = 0x4000
-- IP_DROP_MEMBERSHIP = 0x24
-- IP_DROP_SOURCE_MEMBERSHIP = 0x28
-- IP_FREEBIND = 0xf
-- IP_HDRINCL = 0x3
-- IP_IPSEC_POLICY = 0x10
-- IP_MAXPACKET = 0xffff
-- IP_MAX_MEMBERSHIPS = 0x14
-- IP_MF = 0x2000
-- IP_MINTTL = 0x15
-- IP_MSFILTER = 0x29
-- IP_MSS = 0x240
-- IP_MTU = 0xe
-- IP_MTU_DISCOVER = 0xa
-- IP_MULTICAST_ALL = 0x31
-- IP_MULTICAST_IF = 0x20
-- IP_MULTICAST_LOOP = 0x22
-- IP_MULTICAST_TTL = 0x21
-- IP_NODEFRAG = 0x16
-- IP_OFFMASK = 0x1fff
-- IP_OPTIONS = 0x4
-- IP_ORIGDSTADDR = 0x14
-- IP_PASSSEC = 0x12
-- IP_PKTINFO = 0x8
-- IP_PKTOPTIONS = 0x9
-- IP_PMTUDISC = 0xa
-- IP_PMTUDISC_DO = 0x2
-- IP_PMTUDISC_DONT = 0x0
-- IP_PMTUDISC_INTERFACE = 0x4
-- IP_PMTUDISC_OMIT = 0x5
-- IP_PMTUDISC_PROBE = 0x3
-- IP_PMTUDISC_WANT = 0x1
-- IP_RECVERR = 0xb
-- IP_RECVOPTS = 0x6
-- IP_RECVORIGDSTADDR = 0x14
-- IP_RECVRETOPTS = 0x7
-- IP_RECVTOS = 0xd
-- IP_RECVTTL = 0xc
-- IP_RETOPTS = 0x7
-- IP_RF = 0x8000
-- IP_ROUTER_ALERT = 0x5
-- IP_TOS = 0x1
-- IP_TRANSPARENT = 0x13
-- IP_TTL = 0x2
-- IP_UNBLOCK_SOURCE = 0x25
-- IP_UNICAST_IF = 0x32
-- IP_XFRM_POLICY = 0x11
-- ISIG = 0x1
-- ISTRIP = 0x20
-- IUCLC = 0x200
-- IUTF8 = 0x4000
-- IXANY = 0x800
-- IXOFF = 0x1000
-- IXON = 0x400
-- KEYCTL_ASSUME_AUTHORITY = 0x10
-- KEYCTL_CHOWN = 0x4
-- KEYCTL_CLEAR = 0x7
-- KEYCTL_DESCRIBE = 0x6
-- KEYCTL_DH_COMPUTE = 0x17
-- KEYCTL_GET_KEYRING_ID = 0x0
-- KEYCTL_GET_PERSISTENT = 0x16
-- KEYCTL_GET_SECURITY = 0x11
-- KEYCTL_INSTANTIATE = 0xc
-- KEYCTL_INSTANTIATE_IOV = 0x14
-- KEYCTL_INVALIDATE = 0x15
-- KEYCTL_JOIN_SESSION_KEYRING = 0x1
-- KEYCTL_LINK = 0x8
-- KEYCTL_NEGATE = 0xd
-- KEYCTL_READ = 0xb
-- KEYCTL_REJECT = 0x13
-- KEYCTL_REVOKE = 0x3
-- KEYCTL_SEARCH = 0xa
-- KEYCTL_SESSION_TO_PARENT = 0x12
-- KEYCTL_SETPERM = 0x5
-- KEYCTL_SET_REQKEY_KEYRING = 0xe
-- KEYCTL_SET_TIMEOUT = 0xf
-- KEYCTL_UNLINK = 0x9
-- KEYCTL_UPDATE = 0x2
-- KEY_REQKEY_DEFL_DEFAULT = 0x0
-- KEY_REQKEY_DEFL_GROUP_KEYRING = 0x6
-- KEY_REQKEY_DEFL_NO_CHANGE = -0x1
-- KEY_REQKEY_DEFL_PROCESS_KEYRING = 0x2
-- KEY_REQKEY_DEFL_REQUESTOR_KEYRING = 0x7
-- KEY_REQKEY_DEFL_SESSION_KEYRING = 0x3
-- KEY_REQKEY_DEFL_THREAD_KEYRING = 0x1
-- KEY_REQKEY_DEFL_USER_KEYRING = 0x4
-- KEY_REQKEY_DEFL_USER_SESSION_KEYRING = 0x5
-- KEY_SPEC_GROUP_KEYRING = -0x6
-- KEY_SPEC_PROCESS_KEYRING = -0x2
-- KEY_SPEC_REQKEY_AUTH_KEY = -0x7
-- KEY_SPEC_REQUESTOR_KEYRING = -0x8
-- KEY_SPEC_SESSION_KEYRING = -0x3
-- KEY_SPEC_THREAD_KEYRING = -0x1
-- KEY_SPEC_USER_KEYRING = -0x4
-- KEY_SPEC_USER_SESSION_KEYRING = -0x5
-- LINUX_REBOOT_CMD_CAD_OFF = 0x0
-- LINUX_REBOOT_CMD_CAD_ON = 0x89abcdef
-- LINUX_REBOOT_CMD_HALT = 0xcdef0123
-- LINUX_REBOOT_CMD_KEXEC = 0x45584543
-- LINUX_REBOOT_CMD_POWER_OFF = 0x4321fedc
-- LINUX_REBOOT_CMD_RESTART = 0x1234567
-- LINUX_REBOOT_CMD_RESTART2 = 0xa1b2c3d4
-- LINUX_REBOOT_CMD_SW_SUSPEND = 0xd000fce2
-- LINUX_REBOOT_MAGIC1 = 0xfee1dead
-- LINUX_REBOOT_MAGIC2 = 0x28121969
-- LOCK_EX = 0x2
-- LOCK_NB = 0x4
-- LOCK_SH = 0x1
-- LOCK_UN = 0x8
-- MADV_DODUMP = 0x11
-- MADV_DOFORK = 0xb
-- MADV_DONTDUMP = 0x10
-- MADV_DONTFORK = 0xa
-- MADV_DONTNEED = 0x4
-- MADV_FREE = 0x8
-- MADV_HUGEPAGE = 0xe
-- MADV_HWPOISON = 0x64
-- MADV_MERGEABLE = 0xc
-- MADV_NOHUGEPAGE = 0xf
-- MADV_NORMAL = 0x0
-- MADV_RANDOM = 0x1
-- MADV_REMOVE = 0x9
-- MADV_SEQUENTIAL = 0x2
-- MADV_UNMERGEABLE = 0xd
-- MADV_WILLNEED = 0x3
-- MAP_32BIT = 0x40
-- MAP_ANON = 0x20
-- MAP_ANONYMOUS = 0x20
-- MAP_DENYWRITE = 0x800
-- MAP_EXECUTABLE = 0x1000
-- MAP_FILE = 0x0
-- MAP_FIXED = 0x10
-- MAP_GROWSDOWN = 0x100
-- MAP_HUGETLB = 0x40000
-- MAP_HUGE_MASK = 0x3f
-- MAP_HUGE_SHIFT = 0x1a
-- MAP_LOCKED = 0x2000
-- MAP_NONBLOCK = 0x10000
-- MAP_NORESERVE = 0x4000
-- MAP_POPULATE = 0x8000
-- MAP_PRIVATE = 0x2
-- MAP_SHARED = 0x1
-- MAP_STACK = 0x20000
-- MAP_TYPE = 0xf
-- MCL_CURRENT = 0x1
-- MCL_FUTURE = 0x2
-- MCL_ONFAULT = 0x4
-- MNT_DETACH = 0x2
-- MNT_EXPIRE = 0x4
-- MNT_FORCE = 0x1
-- MSG_BATCH = 0x40000
-- MSG_CMSG_CLOEXEC = 0x40000000
-- MSG_CONFIRM = 0x800
-- MSG_CTRUNC = 0x8
-- MSG_DONTROUTE = 0x4
-- MSG_DONTWAIT = 0x40
-- MSG_EOR = 0x80
-- MSG_ERRQUEUE = 0x2000
-- MSG_FASTOPEN = 0x20000000
-- MSG_FIN = 0x200
-- MSG_MORE = 0x8000
-- MSG_NOSIGNAL = 0x4000
-- MSG_OOB = 0x1
-- MSG_PEEK = 0x2
-- MSG_PROXY = 0x10
-- MSG_RST = 0x1000
-- MSG_SYN = 0x400
-- MSG_TRUNC = 0x20
-- MSG_TRYHARD = 0x4
-- MSG_WAITALL = 0x100
-- MSG_WAITFORONE = 0x10000
-- MS_ACTIVE = 0x40000000
-- MS_ASYNC = 0x1
-- MS_BIND = 0x1000
-- MS_BORN = 0x20000000
-- MS_DIRSYNC = 0x80
-- MS_INVALIDATE = 0x2
-- MS_I_VERSION = 0x800000
-- MS_KERNMOUNT = 0x400000
-- MS_LAZYTIME = 0x2000000
-- MS_MANDLOCK = 0x40
-- MS_MGC_MSK = 0xffff0000
-- MS_MGC_VAL = 0xc0ed0000
-- MS_MOVE = 0x2000
-- MS_NOATIME = 0x400
-- MS_NODEV = 0x4
-- MS_NODIRATIME = 0x800
-- MS_NOEXEC = 0x8
-- MS_NOREMOTELOCK = 0x8000000
-- MS_NOSEC = 0x10000000
-- MS_NOSUID = 0x2
-- MS_NOUSER = -0x80000000
-- MS_POSIXACL = 0x10000
-- MS_PRIVATE = 0x40000
-- MS_RDONLY = 0x1
-- MS_REC = 0x4000
-- MS_RELATIME = 0x200000
-- MS_REMOUNT = 0x20
-- MS_RMT_MASK = 0x2800051
-- MS_SHARED = 0x100000
-- MS_SILENT = 0x8000
-- MS_SLAVE = 0x80000
-- MS_STRICTATIME = 0x1000000
-- MS_SYNC = 0x4
-- MS_SYNCHRONOUS = 0x10
-- MS_UNBINDABLE = 0x20000
-- MS_VERBOSE = 0x8000
-- NAME_MAX = 0xff
-- NETLINK_ADD_MEMBERSHIP = 0x1
-- NETLINK_AUDIT = 0x9
-- NETLINK_BROADCAST_ERROR = 0x4
-- NETLINK_CAP_ACK = 0xa
-- NETLINK_CONNECTOR = 0xb
-- NETLINK_CRYPTO = 0x15
-- NETLINK_DNRTMSG = 0xe
-- NETLINK_DROP_MEMBERSHIP = 0x2
-- NETLINK_ECRYPTFS = 0x13
-- NETLINK_FIB_LOOKUP = 0xa
-- NETLINK_FIREWALL = 0x3
-- NETLINK_GENERIC = 0x10
-- NETLINK_INET_DIAG = 0x4
-- NETLINK_IP6_FW = 0xd
-- NETLINK_ISCSI = 0x8
-- NETLINK_KOBJECT_UEVENT = 0xf
-- NETLINK_LISTEN_ALL_NSID = 0x8
-- NETLINK_LIST_MEMBERSHIPS = 0x9
-- NETLINK_NETFILTER = 0xc
-- NETLINK_NFLOG = 0x5
-- NETLINK_NO_ENOBUFS = 0x5
-- NETLINK_PKTINFO = 0x3
-- NETLINK_RDMA = 0x14
-- NETLINK_ROUTE = 0x0
-- NETLINK_RX_RING = 0x6
-- NETLINK_SCSITRANSPORT = 0x12
-- NETLINK_SELINUX = 0x7
-- NETLINK_SOCK_DIAG = 0x4
-- NETLINK_TX_RING = 0x7
-- NETLINK_UNUSED = 0x1
-- NETLINK_USERSOCK = 0x2
-- NETLINK_XFRM = 0x6
-- NL0 = 0x0
-- NL1 = 0x100
-- NLA_ALIGNTO = 0x4
-- NLA_F_NESTED = 0x8000
-- NLA_F_NET_BYTEORDER = 0x4000
-- NLA_HDRLEN = 0x4
-- NLDLY = 0x100
-- NLMSG_ALIGNTO = 0x4
-- NLMSG_DONE = 0x3
-- NLMSG_ERROR = 0x2
-- NLMSG_HDRLEN = 0x10
-- NLMSG_MIN_TYPE = 0x10
-- NLMSG_NOOP = 0x1
-- NLMSG_OVERRUN = 0x4
-- NLM_F_ACK = 0x4
-- NLM_F_APPEND = 0x800
-- NLM_F_ATOMIC = 0x400
-- NLM_F_CREATE = 0x400
-- NLM_F_DUMP = 0x300
-- NLM_F_DUMP_FILTERED = 0x20
-- NLM_F_DUMP_INTR = 0x10
-- NLM_F_ECHO = 0x8
-- NLM_F_EXCL = 0x200
-- NLM_F_MATCH = 0x200
-- NLM_F_MULTI = 0x2
-- NLM_F_REPLACE = 0x100
-- NLM_F_REQUEST = 0x1
-- NLM_F_ROOT = 0x100
-- NOFLSH = 0x80
-- OCRNL = 0x8
-- OFDEL = 0x80
-- OFILL = 0x40
-- OLCUC = 0x2
-- ONLCR = 0x4
-- ONLRET = 0x20
-- ONOCR = 0x10
-- OPOST = 0x1
-- O_ACCMODE = 0x3
-- O_APPEND = 0x400
-- O_ASYNC = 0x2000
-- O_CLOEXEC = 0x80000
-- O_CREAT = 0x40
-- O_DIRECT = 0x4000
-- O_DIRECTORY = 0x10000
-- O_DSYNC = 0x1000
-- O_EXCL = 0x80
-- O_FSYNC = 0x101000
-- O_LARGEFILE = 0x8000
-- O_NDELAY = 0x800
-- O_NOATIME = 0x40000
-- O_NOCTTY = 0x100
-- O_NOFOLLOW = 0x20000
-- O_NONBLOCK = 0x800
-- O_PATH = 0x200000
-- O_RDONLY = 0x0
-- O_RDWR = 0x2
-- O_RSYNC = 0x101000
-- O_SYNC = 0x101000
-- O_TMPFILE = 0x410000
-- O_TRUNC = 0x200
-- O_WRONLY = 0x1
-- PACKET_ADD_MEMBERSHIP = 0x1
-- PACKET_AUXDATA = 0x8
-- PACKET_BROADCAST = 0x1
-- PACKET_COPY_THRESH = 0x7
-- PACKET_DROP_MEMBERSHIP = 0x2
-- PACKET_FANOUT = 0x12
-- PACKET_FANOUT_CBPF = 0x6
-- PACKET_FANOUT_CPU = 0x2
-- PACKET_FANOUT_DATA = 0x16
-- PACKET_FANOUT_EBPF = 0x7
-- PACKET_FANOUT_FLAG_DEFRAG = 0x8000
-- PACKET_FANOUT_FLAG_ROLLOVER = 0x1000
-- PACKET_FANOUT_HASH = 0x0
-- PACKET_FANOUT_LB = 0x1
-- PACKET_FANOUT_QM = 0x5
-- PACKET_FANOUT_RND = 0x4
-- PACKET_FANOUT_ROLLOVER = 0x3
-- PACKET_FASTROUTE = 0x6
-- PACKET_HDRLEN = 0xb
-- PACKET_HOST = 0x0
-- PACKET_KERNEL = 0x7
-- PACKET_LOOPBACK = 0x5
-- PACKET_LOSS = 0xe
-- PACKET_MR_ALLMULTI = 0x2
-- PACKET_MR_MULTICAST = 0x0
-- PACKET_MR_PROMISC = 0x1
-- PACKET_MR_UNICAST = 0x3
-- PACKET_MULTICAST = 0x2
-- PACKET_ORIGDEV = 0x9
-- PACKET_OTHERHOST = 0x3
-- PACKET_OUTGOING = 0x4
-- PACKET_QDISC_BYPASS = 0x14
-- PACKET_RECV_OUTPUT = 0x3
-- PACKET_RESERVE = 0xc
-- PACKET_ROLLOVER_STATS = 0x15
-- PACKET_RX_RING = 0x5
-- PACKET_STATISTICS = 0x6
-- PACKET_TIMESTAMP = 0x11
-- PACKET_TX_HAS_OFF = 0x13
-- PACKET_TX_RING = 0xd
-- PACKET_TX_TIMESTAMP = 0x10
-- PACKET_USER = 0x6
-- PACKET_VERSION = 0xa
-- PACKET_VNET_HDR = 0xf
-- PARENB = 0x100
-- PARITY_CRC16_PR0 = 0x2
-- PARITY_CRC16_PR0_CCITT = 0x4
-- PARITY_CRC16_PR1 = 0x3
-- PARITY_CRC16_PR1_CCITT = 0x5
-- PARITY_CRC32_PR0_CCITT = 0x6
-- PARITY_CRC32_PR1_CCITT = 0x7
-- PARITY_DEFAULT = 0x0
-- PARITY_NONE = 0x1
-- PARMRK = 0x8
-- PARODD = 0x200
-- PENDIN = 0x4000
-- PERF_EVENT_IOC_DISABLE = 0x2401
-- PERF_EVENT_IOC_ENABLE = 0x2400
-- PERF_EVENT_IOC_ID = 0x80042407
-- PERF_EVENT_IOC_PAUSE_OUTPUT = 0x40042409
-- PERF_EVENT_IOC_PERIOD = 0x40082404
-- PERF_EVENT_IOC_REFRESH = 0x2402
-- PERF_EVENT_IOC_RESET = 0x2403
-- PERF_EVENT_IOC_SET_BPF = 0x40042408
-- PERF_EVENT_IOC_SET_FILTER = 0x40042406
-- PERF_EVENT_IOC_SET_OUTPUT = 0x2405
-- PRIO_PGRP = 0x1
-- PRIO_PROCESS = 0x0
-- PRIO_USER = 0x2
-- PROT_EXEC = 0x4
-- PROT_GROWSDOWN = 0x1000000
-- PROT_GROWSUP = 0x2000000
-- PROT_NONE = 0x0
-- PROT_READ = 0x1
-- PROT_WRITE = 0x2
-- PR_CAPBSET_DROP = 0x18
-- PR_CAPBSET_READ = 0x17
-- PR_CAP_AMBIENT = 0x2f
-- PR_CAP_AMBIENT_CLEAR_ALL = 0x4
-- PR_CAP_AMBIENT_IS_SET = 0x1
-- PR_CAP_AMBIENT_LOWER = 0x3
-- PR_CAP_AMBIENT_RAISE = 0x2
-- PR_ENDIAN_BIG = 0x0
-- PR_ENDIAN_LITTLE = 0x1
-- PR_ENDIAN_PPC_LITTLE = 0x2
-- PR_FPEMU_NOPRINT = 0x1
-- PR_FPEMU_SIGFPE = 0x2
-- PR_FP_EXC_ASYNC = 0x2
-- PR_FP_EXC_DISABLED = 0x0
-- PR_FP_EXC_DIV = 0x10000
-- PR_FP_EXC_INV = 0x100000
-- PR_FP_EXC_NONRECOV = 0x1
-- PR_FP_EXC_OVF = 0x20000
-- PR_FP_EXC_PRECISE = 0x3
-- PR_FP_EXC_RES = 0x80000
-- PR_FP_EXC_SW_ENABLE = 0x80
-- PR_FP_EXC_UND = 0x40000
-- PR_FP_MODE_FR = 0x1
-- PR_FP_MODE_FRE = 0x2
-- PR_GET_CHILD_SUBREAPER = 0x25
-- PR_GET_DUMPABLE = 0x3
-- PR_GET_ENDIAN = 0x13
-- PR_GET_FPEMU = 0x9
-- PR_GET_FPEXC = 0xb
-- PR_GET_FP_MODE = 0x2e
-- PR_GET_KEEPCAPS = 0x7
-- PR_GET_NAME = 0x10
-- PR_GET_NO_NEW_PRIVS = 0x27
-- PR_GET_PDEATHSIG = 0x2
-- PR_GET_SECCOMP = 0x15
-- PR_GET_SECUREBITS = 0x1b
-- PR_GET_THP_DISABLE = 0x2a
-- PR_GET_TID_ADDRESS = 0x28
-- PR_GET_TIMERSLACK = 0x1e
-- PR_GET_TIMING = 0xd
-- PR_GET_TSC = 0x19
-- PR_GET_UNALIGN = 0x5
-- PR_MCE_KILL = 0x21
-- PR_MCE_KILL_CLEAR = 0x0
-- PR_MCE_KILL_DEFAULT = 0x2
-- PR_MCE_KILL_EARLY = 0x1
-- PR_MCE_KILL_GET = 0x22
-- PR_MCE_KILL_LATE = 0x0
-- PR_MCE_KILL_SET = 0x1
-- PR_MPX_DISABLE_MANAGEMENT = 0x2c
-- PR_MPX_ENABLE_MANAGEMENT = 0x2b
-- PR_SET_CHILD_SUBREAPER = 0x24
-- PR_SET_DUMPABLE = 0x4
-- PR_SET_ENDIAN = 0x14
-- PR_SET_FPEMU = 0xa
-- PR_SET_FPEXC = 0xc
-- PR_SET_FP_MODE = 0x2d
-- PR_SET_KEEPCAPS = 0x8
-- PR_SET_MM = 0x23
-- PR_SET_MM_ARG_END = 0x9
-- PR_SET_MM_ARG_START = 0x8
-- PR_SET_MM_AUXV = 0xc
-- PR_SET_MM_BRK = 0x7
-- PR_SET_MM_END_CODE = 0x2
-- PR_SET_MM_END_DATA = 0x4
-- PR_SET_MM_ENV_END = 0xb
-- PR_SET_MM_ENV_START = 0xa
-- PR_SET_MM_EXE_FILE = 0xd
-- PR_SET_MM_MAP = 0xe
-- PR_SET_MM_MAP_SIZE = 0xf
-- PR_SET_MM_START_BRK = 0x6
-- PR_SET_MM_START_CODE = 0x1
-- PR_SET_MM_START_DATA = 0x3
-- PR_SET_MM_START_STACK = 0x5
-- PR_SET_NAME = 0xf
-- PR_SET_NO_NEW_PRIVS = 0x26
-- PR_SET_PDEATHSIG = 0x1
-- PR_SET_PTRACER = 0x59616d61
-- PR_SET_PTRACER_ANY = 0xffffffff
-- PR_SET_SECCOMP = 0x16
-- PR_SET_SECUREBITS = 0x1c
-- PR_SET_THP_DISABLE = 0x29
-- PR_SET_TIMERSLACK = 0x1d
-- PR_SET_TIMING = 0xe
-- PR_SET_TSC = 0x1a
-- PR_SET_UNALIGN = 0x6
-- PR_TASK_PERF_EVENTS_DISABLE = 0x1f
-- PR_TASK_PERF_EVENTS_ENABLE = 0x20
-- PR_TIMING_STATISTICAL = 0x0
-- PR_TIMING_TIMESTAMP = 0x1
-- PR_TSC_ENABLE = 0x1
-- PR_TSC_SIGSEGV = 0x2
-- PR_UNALIGN_NOPRINT = 0x1
-- PR_UNALIGN_SIGBUS = 0x2
-- PTRACE_ATTACH = 0x10
-- PTRACE_CONT = 0x7
-- PTRACE_DETACH = 0x11
-- PTRACE_EVENT_CLONE = 0x3
-- PTRACE_EVENT_EXEC = 0x4
-- PTRACE_EVENT_EXIT = 0x6
-- PTRACE_EVENT_FORK = 0x1
-- PTRACE_EVENT_SECCOMP = 0x7
-- PTRACE_EVENT_STOP = 0x80
-- PTRACE_EVENT_VFORK = 0x2
-- PTRACE_EVENT_VFORK_DONE = 0x5
-- PTRACE_GETEVENTMSG = 0x4201
-- PTRACE_GETFPREGS = 0xe
-- PTRACE_GETFPXREGS = 0x12
-- PTRACE_GETREGS = 0xc
-- PTRACE_GETREGSET = 0x4204
-- PTRACE_GETSIGINFO = 0x4202
-- PTRACE_GETSIGMASK = 0x420a
-- PTRACE_GET_THREAD_AREA = 0x19
-- PTRACE_INTERRUPT = 0x4207
-- PTRACE_KILL = 0x8
-- PTRACE_LISTEN = 0x4208
-- PTRACE_OLDSETOPTIONS = 0x15
-- PTRACE_O_EXITKILL = 0x100000
-- PTRACE_O_MASK = 0x3000ff
-- PTRACE_O_SUSPEND_SECCOMP = 0x200000
-- PTRACE_O_TRACECLONE = 0x8
-- PTRACE_O_TRACEEXEC = 0x10
-- PTRACE_O_TRACEEXIT = 0x40
-- PTRACE_O_TRACEFORK = 0x2
-- PTRACE_O_TRACESECCOMP = 0x80
-- PTRACE_O_TRACESYSGOOD = 0x1
-- PTRACE_O_TRACEVFORK = 0x4
-- PTRACE_O_TRACEVFORKDONE = 0x20
-- PTRACE_PEEKDATA = 0x2
-- PTRACE_PEEKSIGINFO = 0x4209
-- PTRACE_PEEKSIGINFO_SHARED = 0x1
-- PTRACE_PEEKTEXT = 0x1
-- PTRACE_PEEKUSR = 0x3
-- PTRACE_POKEDATA = 0x5
-- PTRACE_POKETEXT = 0x4
-- PTRACE_POKEUSR = 0x6
-- PTRACE_SECCOMP_GET_FILTER = 0x420c
-- PTRACE_SEIZE = 0x4206
-- PTRACE_SETFPREGS = 0xf
-- PTRACE_SETFPXREGS = 0x13
-- PTRACE_SETOPTIONS = 0x4200
-- PTRACE_SETREGS = 0xd
-- PTRACE_SETREGSET = 0x4205
-- PTRACE_SETSIGINFO = 0x4203
-- PTRACE_SETSIGMASK = 0x420b
-- PTRACE_SET_THREAD_AREA = 0x1a
-- PTRACE_SINGLEBLOCK = 0x21
-- PTRACE_SINGLESTEP = 0x9
-- PTRACE_SYSCALL = 0x18
-- PTRACE_SYSEMU = 0x1f
-- PTRACE_SYSEMU_SINGLESTEP = 0x20
-- PTRACE_TRACEME = 0x0
-- RLIMIT_AS = 0x9
-- RLIMIT_CORE = 0x4
-- RLIMIT_CPU = 0x0
-- RLIMIT_DATA = 0x2
-- RLIMIT_FSIZE = 0x1
-- RLIMIT_LOCKS = 0xa
-- RLIMIT_MEMLOCK = 0x8
-- RLIMIT_MSGQUEUE = 0xc
-- RLIMIT_NICE = 0xd
-- RLIMIT_NOFILE = 0x7
-- RLIMIT_NPROC = 0x6
-- RLIMIT_RSS = 0x5
-- RLIMIT_RTPRIO = 0xe
-- RLIMIT_RTTIME = 0xf
-- RLIMIT_SIGPENDING = 0xb
-- RLIMIT_STACK = 0x3
-- RLIM_INFINITY = -0x1
-- RTAX_ADVMSS = 0x8
-- RTAX_CC_ALGO = 0x10
-- RTAX_CWND = 0x7
-- RTAX_FEATURES = 0xc
-- RTAX_FEATURE_ALLFRAG = 0x8
-- RTAX_FEATURE_ECN = 0x1
-- RTAX_FEATURE_MASK = 0xf
-- RTAX_FEATURE_SACK = 0x2
-- RTAX_FEATURE_TIMESTAMP = 0x4
-- RTAX_HOPLIMIT = 0xa
-- RTAX_INITCWND = 0xb
-- RTAX_INITRWND = 0xe
-- RTAX_LOCK = 0x1
-- RTAX_MAX = 0x10
-- RTAX_MTU = 0x2
-- RTAX_QUICKACK = 0xf
-- RTAX_REORDERING = 0x9
-- RTAX_RTO_MIN = 0xd
-- RTAX_RTT = 0x4
-- RTAX_RTTVAR = 0x5
-- RTAX_SSTHRESH = 0x6
-- RTAX_UNSPEC = 0x0
-- RTAX_WINDOW = 0x3
-- RTA_ALIGNTO = 0x4
-- RTA_MAX = 0x19
-- RTCF_DIRECTSRC = 0x4000000
-- RTCF_DOREDIRECT = 0x1000000
-- RTCF_LOG = 0x2000000
-- RTCF_MASQ = 0x400000
-- RTCF_NAT = 0x800000
-- RTCF_VALVE = 0x200000
-- RTF_ADDRCLASSMASK = 0xf8000000
-- RTF_ADDRCONF = 0x40000
-- RTF_ALLONLINK = 0x20000
-- RTF_BROADCAST = 0x10000000
-- RTF_CACHE = 0x1000000
-- RTF_DEFAULT = 0x10000
-- RTF_DYNAMIC = 0x10
-- RTF_FLOW = 0x2000000
-- RTF_GATEWAY = 0x2
-- RTF_HOST = 0x4
-- RTF_INTERFACE = 0x40000000
-- RTF_IRTT = 0x100
-- RTF_LINKRT = 0x100000
-- RTF_LOCAL = 0x80000000
-- RTF_MODIFIED = 0x20
-- RTF_MSS = 0x40
-- RTF_MTU = 0x40
-- RTF_MULTICAST = 0x20000000
-- RTF_NAT = 0x8000000
-- RTF_NOFORWARD = 0x1000
-- RTF_NONEXTHOP = 0x200000
-- RTF_NOPMTUDISC = 0x4000
-- RTF_POLICY = 0x4000000
-- RTF_REINSTATE = 0x8
-- RTF_REJECT = 0x200
-- RTF_STATIC = 0x400
-- RTF_THROW = 0x2000
-- RTF_UP = 0x1
-- RTF_WINDOW = 0x80
-- RTF_XRESOLVE = 0x800
-- RTM_BASE = 0x10
-- RTM_DELACTION = 0x31
-- RTM_DELADDR = 0x15
-- RTM_DELADDRLABEL = 0x49
-- RTM_DELLINK = 0x11
-- RTM_DELMDB = 0x55
-- RTM_DELNEIGH = 0x1d
-- RTM_DELNSID = 0x59
-- RTM_DELQDISC = 0x25
-- RTM_DELROUTE = 0x19
-- RTM_DELRULE = 0x21
-- RTM_DELTCLASS = 0x29
-- RTM_DELTFILTER = 0x2d
-- RTM_F_CLONED = 0x200
-- RTM_F_EQUALIZE = 0x400
-- RTM_F_LOOKUP_TABLE = 0x1000
-- RTM_F_NOTIFY = 0x100
-- RTM_F_PREFIX = 0x800
-- RTM_GETACTION = 0x32
-- RTM_GETADDR = 0x16
-- RTM_GETADDRLABEL = 0x4a
-- RTM_GETANYCAST = 0x3e
-- RTM_GETDCB = 0x4e
-- RTM_GETLINK = 0x12
-- RTM_GETMDB = 0x56
-- RTM_GETMULTICAST = 0x3a
-- RTM_GETNEIGH = 0x1e
-- RTM_GETNEIGHTBL = 0x42
-- RTM_GETNETCONF = 0x52
-- RTM_GETNSID = 0x5a
-- RTM_GETQDISC = 0x26
-- RTM_GETROUTE = 0x1a
-- RTM_GETRULE = 0x22
-- RTM_GETSTATS = 0x5e
-- RTM_GETTCLASS = 0x2a
-- RTM_GETTFILTER = 0x2e
-- RTM_MAX = 0x5f
-- RTM_NEWACTION = 0x30
-- RTM_NEWADDR = 0x14
-- RTM_NEWADDRLABEL = 0x48
-- RTM_NEWLINK = 0x10
-- RTM_NEWMDB = 0x54
-- RTM_NEWNDUSEROPT = 0x44
-- RTM_NEWNEIGH = 0x1c
-- RTM_NEWNEIGHTBL = 0x40
-- RTM_NEWNETCONF = 0x50
-- RTM_NEWNSID = 0x58
-- RTM_NEWPREFIX = 0x34
-- RTM_NEWQDISC = 0x24
-- RTM_NEWROUTE = 0x18
-- RTM_NEWRULE = 0x20
-- RTM_NEWSTATS = 0x5c
-- RTM_NEWTCLASS = 0x28
-- RTM_NEWTFILTER = 0x2c
-- RTM_NR_FAMILIES = 0x14
-- RTM_NR_MSGTYPES = 0x50
-- RTM_SETDCB = 0x4f
-- RTM_SETLINK = 0x13
-- RTM_SETNEIGHTBL = 0x43
-- RTNH_ALIGNTO = 0x4
-- RTNH_COMPARE_MASK = 0x19
-- RTNH_F_DEAD = 0x1
-- RTNH_F_LINKDOWN = 0x10
-- RTNH_F_OFFLOAD = 0x8
-- RTNH_F_ONLINK = 0x4
-- RTNH_F_PERVASIVE = 0x2
-- RTN_MAX = 0xb
-- RTPROT_BABEL = 0x2a
-- RTPROT_BIRD = 0xc
-- RTPROT_BOOT = 0x3
-- RTPROT_DHCP = 0x10
-- RTPROT_DNROUTED = 0xd
-- RTPROT_GATED = 0x8
-- RTPROT_KERNEL = 0x2
-- RTPROT_MROUTED = 0x11
-- RTPROT_MRT = 0xa
-- RTPROT_NTK = 0xf
-- RTPROT_RA = 0x9
-- RTPROT_REDIRECT = 0x1
-- RTPROT_STATIC = 0x4
-- RTPROT_UNSPEC = 0x0
-- RTPROT_XORP = 0xe
-- RTPROT_ZEBRA = 0xb
-- RT_CLASS_DEFAULT = 0xfd
-- RT_CLASS_LOCAL = 0xff
-- RT_CLASS_MAIN = 0xfe
-- RT_CLASS_MAX = 0xff
-- RT_CLASS_UNSPEC = 0x0
-- RUSAGE_CHILDREN = -0x1
-- RUSAGE_SELF = 0x0
-- RUSAGE_THREAD = 0x1
-- SCM_CREDENTIALS = 0x2
-- SCM_RIGHTS = 0x1
-- SCM_TIMESTAMP = 0x1d
-- SCM_TIMESTAMPING = 0x25
-- SCM_TIMESTAMPING_OPT_STATS = 0x36
-- SCM_TIMESTAMPNS = 0x23
-- SCM_WIFI_STATUS = 0x29
-- SECCOMP_MODE_DISABLED = 0x0
-- SECCOMP_MODE_FILTER = 0x2
-- SECCOMP_MODE_STRICT = 0x1
-- SHUT_RD = 0x0
-- SHUT_RDWR = 0x2
-- SHUT_WR = 0x1
-- SIOCADDDLCI = 0x8980
-- SIOCADDMULTI = 0x8931
-- SIOCADDRT = 0x890b
-- SIOCATMARK = 0x8905
-- SIOCBONDCHANGEACTIVE = 0x8995
-- SIOCBONDENSLAVE = 0x8990
-- SIOCBONDINFOQUERY = 0x8994
-- SIOCBONDRELEASE = 0x8991
-- SIOCBONDSETHWADDR = 0x8992
-- SIOCBONDSLAVEINFOQUERY = 0x8993
-- SIOCBRADDBR = 0x89a0
-- SIOCBRADDIF = 0x89a2
-- SIOCBRDELBR = 0x89a1
-- SIOCBRDELIF = 0x89a3
-- SIOCDARP = 0x8953
-- SIOCDELDLCI = 0x8981
-- SIOCDELMULTI = 0x8932
-- SIOCDELRT = 0x890c
-- SIOCDEVPRIVATE = 0x89f0
-- SIOCDIFADDR = 0x8936
-- SIOCDRARP = 0x8960
-- SIOCETHTOOL = 0x8946
-- SIOCGARP = 0x8954
-- SIOCGHWTSTAMP = 0x89b1
-- SIOCGIFADDR = 0x8915
-- SIOCGIFBR = 0x8940
-- SIOCGIFBRDADDR = 0x8919
-- SIOCGIFCONF = 0x8912
-- SIOCGIFCOUNT = 0x8938
-- SIOCGIFDSTADDR = 0x8917
-- SIOCGIFENCAP = 0x8925
-- SIOCGIFFLAGS = 0x8913
-- SIOCGIFHWADDR = 0x8927
-- SIOCGIFINDEX = 0x8933
-- SIOCGIFMAP = 0x8970
-- SIOCGIFMEM = 0x891f
-- SIOCGIFMETRIC = 0x891d
-- SIOCGIFMTU = 0x8921
-- SIOCGIFNAME = 0x8910
-- SIOCGIFNETMASK = 0x891b
-- SIOCGIFPFLAGS = 0x8935
-- SIOCGIFSLAVE = 0x8929
-- SIOCGIFTXQLEN = 0x8942
-- SIOCGIFVLAN = 0x8982
-- SIOCGMIIPHY = 0x8947
-- SIOCGMIIREG = 0x8948
-- SIOCGPGRP = 0x8904
-- SIOCGRARP = 0x8961
-- SIOCGSKNS = 0x894c
-- SIOCGSTAMP = 0x8906
-- SIOCGSTAMPNS = 0x8907
-- SIOCINQ = 0x541b
-- SIOCOUTQ = 0x5411
-- SIOCOUTQNSD = 0x894b
-- SIOCPROTOPRIVATE = 0x89e0
-- SIOCRTMSG = 0x890d
-- SIOCSARP = 0x8955
-- SIOCSHWTSTAMP = 0x89b0
-- SIOCSIFADDR = 0x8916
-- SIOCSIFBR = 0x8941
-- SIOCSIFBRDADDR = 0x891a
-- SIOCSIFDSTADDR = 0x8918
-- SIOCSIFENCAP = 0x8926
-- SIOCSIFFLAGS = 0x8914
-- SIOCSIFHWADDR = 0x8924
-- SIOCSIFHWBROADCAST = 0x8937
-- SIOCSIFLINK = 0x8911
-- SIOCSIFMAP = 0x8971
-- SIOCSIFMEM = 0x8920
-- SIOCSIFMETRIC = 0x891e
-- SIOCSIFMTU = 0x8922
-- SIOCSIFNAME = 0x8923
-- SIOCSIFNETMASK = 0x891c
-- SIOCSIFPFLAGS = 0x8934
-- SIOCSIFSLAVE = 0x8930
-- SIOCSIFTXQLEN = 0x8943
-- SIOCSIFVLAN = 0x8983
-- SIOCSMIIREG = 0x8949
-- SIOCSPGRP = 0x8902
-- SIOCSRARP = 0x8962
-- SIOCWANDEV = 0x894a
-- SOCK_CLOEXEC = 0x80000
-- SOCK_DCCP = 0x6
-- SOCK_DGRAM = 0x2
-- SOCK_IOC_TYPE = 0x89
-- SOCK_NONBLOCK = 0x800
-- SOCK_PACKET = 0xa
-- SOCK_RAW = 0x3
-- SOCK_RDM = 0x4
-- SOCK_SEQPACKET = 0x5
-- SOCK_STREAM = 0x1
-- SOL_AAL = 0x109
-- SOL_ALG = 0x117
-- SOL_ATM = 0x108
-- SOL_CAIF = 0x116
-- SOL_CAN_BASE = 0x64
-- SOL_DCCP = 0x10d
-- SOL_DECNET = 0x105
-- SOL_ICMPV6 = 0x3a
-- SOL_IP = 0x0
-- SOL_IPV6 = 0x29
-- SOL_IRDA = 0x10a
-- SOL_IUCV = 0x115
-- SOL_KCM = 0x119
-- SOL_LLC = 0x10c
-- SOL_NETBEUI = 0x10b
-- SOL_NETLINK = 0x10e
-- SOL_NFC = 0x118
-- SOL_PACKET = 0x107
-- SOL_PNPIPE = 0x113
-- SOL_PPPOL2TP = 0x111
-- SOL_RAW = 0xff
-- SOL_RDS = 0x114
-- SOL_RXRPC = 0x110
-- SOL_SOCKET = 0x1
-- SOL_TCP = 0x6
-- SOL_TIPC = 0x10f
-- SOL_X25 = 0x106
-- SOMAXCONN = 0x80
-- SO_ACCEPTCONN = 0x1e
-- SO_ATTACH_BPF = 0x32
-- SO_ATTACH_FILTER = 0x1a
-- SO_ATTACH_REUSEPORT_CBPF = 0x33
-- SO_ATTACH_REUSEPORT_EBPF = 0x34
-- SO_BINDTODEVICE = 0x19
-- SO_BPF_EXTENSIONS = 0x30
-- SO_BROADCAST = 0x6
-- SO_BSDCOMPAT = 0xe
-- SO_BUSY_POLL = 0x2e
-- SO_CNX_ADVICE = 0x35
-- SO_DEBUG = 0x1
-- SO_DETACH_BPF = 0x1b
-- SO_DETACH_FILTER = 0x1b
-- SO_DOMAIN = 0x27
-- SO_DONTROUTE = 0x5
-- SO_ERROR = 0x4
-- SO_GET_FILTER = 0x1a
-- SO_INCOMING_CPU = 0x31
-- SO_KEEPALIVE = 0x9
-- SO_LINGER = 0xd
-- SO_LOCK_FILTER = 0x2c
-- SO_MARK = 0x24
-- SO_MAX_PACING_RATE = 0x2f
-- SO_NOFCS = 0x2b
-- SO_NO_CHECK = 0xb
-- SO_OOBINLINE = 0xa
-- SO_PASSCRED = 0x10
-- SO_PASSSEC = 0x22
-- SO_PEEK_OFF = 0x2a
-- SO_PEERCRED = 0x11
-- SO_PEERNAME = 0x1c
-- SO_PEERSEC = 0x1f
-- SO_PRIORITY = 0xc
-- SO_PROTOCOL = 0x26
-- SO_RCVBUF = 0x8
-- SO_RCVBUFFORCE = 0x21
-- SO_RCVLOWAT = 0x12
-- SO_RCVTIMEO = 0x14
-- SO_REUSEADDR = 0x2
-- SO_REUSEPORT = 0xf
-- SO_RXQ_OVFL = 0x28
-- SO_SECURITY_AUTHENTICATION = 0x16
-- SO_SECURITY_ENCRYPTION_NETWORK = 0x18
-- SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
-- SO_SELECT_ERR_QUEUE = 0x2d
-- SO_SNDBUF = 0x7
-- SO_SNDBUFFORCE = 0x20
-- SO_SNDLOWAT = 0x13
-- SO_SNDTIMEO = 0x15
-- SO_TIMESTAMP = 0x1d
-- SO_TIMESTAMPING = 0x25
-- SO_TIMESTAMPNS = 0x23
-- SO_TYPE = 0x3
-- SO_VM_SOCKETS_BUFFER_MAX_SIZE = 0x2
-- SO_VM_SOCKETS_BUFFER_MIN_SIZE = 0x1
-- SO_VM_SOCKETS_BUFFER_SIZE = 0x0
-- SO_VM_SOCKETS_CONNECT_TIMEOUT = 0x6
-- SO_VM_SOCKETS_NONBLOCK_TXRX = 0x7
-- SO_VM_SOCKETS_PEER_HOST_VM_ID = 0x3
-- SO_VM_SOCKETS_TRUSTED = 0x5
-- SO_WIFI_STATUS = 0x29
-- SPLICE_F_GIFT = 0x8
-- SPLICE_F_MORE = 0x4
-- SPLICE_F_MOVE = 0x1
-- SPLICE_F_NONBLOCK = 0x2
-- S_BLKSIZE = 0x200
-- S_IEXEC = 0x40
-- S_IFBLK = 0x6000
-- S_IFCHR = 0x2000
-- S_IFDIR = 0x4000
-- S_IFIFO = 0x1000
-- S_IFLNK = 0xa000
-- S_IFMT = 0xf000
-- S_IFREG = 0x8000
-- S_IFSOCK = 0xc000
-- S_IREAD = 0x100
-- S_IRGRP = 0x20
-- S_IROTH = 0x4
-- S_IRUSR = 0x100
-- S_IRWXG = 0x38
-- S_IRWXO = 0x7
-- S_IRWXU = 0x1c0
-- S_ISGID = 0x400
-- S_ISUID = 0x800
-- S_ISVTX = 0x200
-- S_IWGRP = 0x10
-- S_IWOTH = 0x2
-- S_IWRITE = 0x80
-- S_IWUSR = 0x80
-- S_IXGRP = 0x8
-- S_IXOTH = 0x1
-- S_IXUSR = 0x40
-- TAB0 = 0x0
-- TAB1 = 0x800
-- TAB2 = 0x1000
-- TAB3 = 0x1800
-- TABDLY = 0x1800
-- TASKSTATS_CMD_ATTR_MAX = 0x4
-- TASKSTATS_CMD_MAX = 0x2
-- TASKSTATS_GENL_NAME = "TASKSTATS"
-- TASKSTATS_GENL_VERSION = 0x1
-- TASKSTATS_TYPE_MAX = 0x6
-- TASKSTATS_VERSION = 0x8
-- TCFLSH = 0x540b
-- TCGETA = 0x5405
-- TCGETS = 0x5401
-- TCGETS2 = 0x802c542a
-- TCGETX = 0x5432
-- TCIFLUSH = 0x0
-- TCIOFF = 0x2
-- TCIOFLUSH = 0x2
-- TCION = 0x3
-- TCOFLUSH = 0x1
-- TCOOFF = 0x0
-- TCOON = 0x1
-- TCP_CC_INFO = 0x1a
-- TCP_CONGESTION = 0xd
-- TCP_COOKIE_IN_ALWAYS = 0x1
-- TCP_COOKIE_MAX = 0x10
-- TCP_COOKIE_MIN = 0x8
-- TCP_COOKIE_OUT_NEVER = 0x2
-- TCP_COOKIE_PAIR_SIZE = 0x20
-- TCP_COOKIE_TRANSACTIONS = 0xf
-- TCP_CORK = 0x3
-- TCP_DEFER_ACCEPT = 0x9
-- TCP_FASTOPEN = 0x17
-- TCP_INFO = 0xb
-- TCP_KEEPCNT = 0x6
-- TCP_KEEPIDLE = 0x4
-- TCP_KEEPINTVL = 0x5
-- TCP_LINGER2 = 0x8
-- TCP_MAXSEG = 0x2
-- TCP_MAXWIN = 0xffff
-- TCP_MAX_WINSHIFT = 0xe
-- TCP_MD5SIG = 0xe
-- TCP_MD5SIG_MAXKEYLEN = 0x50
-- TCP_MSS = 0x200
-- TCP_MSS_DEFAULT = 0x218
-- TCP_MSS_DESIRED = 0x4c4
-- TCP_NODELAY = 0x1
-- TCP_NOTSENT_LOWAT = 0x19
-- TCP_QUEUE_SEQ = 0x15
-- TCP_QUICKACK = 0xc
-- TCP_REPAIR = 0x13
-- TCP_REPAIR_OPTIONS = 0x16
-- TCP_REPAIR_QUEUE = 0x14
-- TCP_REPAIR_WINDOW = 0x1d
-- TCP_SAVED_SYN = 0x1c
-- TCP_SAVE_SYN = 0x1b
-- TCP_SYNCNT = 0x7
-- TCP_S_DATA_IN = 0x4
-- TCP_S_DATA_OUT = 0x8
-- TCP_THIN_DUPACK = 0x11
-- TCP_THIN_LINEAR_TIMEOUTS = 0x10
-- TCP_TIMESTAMP = 0x18
-- TCP_USER_TIMEOUT = 0x12
-- TCP_WINDOW_CLAMP = 0xa
-- TCSAFLUSH = 0x2
-- TCSBRK = 0x5409
-- TCSBRKP = 0x5425
-- TCSETA = 0x5406
-- TCSETAF = 0x5408
-- TCSETAW = 0x5407
-- TCSETS = 0x5402
-- TCSETS2 = 0x402c542b
-- TCSETSF = 0x5404
-- TCSETSF2 = 0x402c542d
-- TCSETSW = 0x5403
-- TCSETSW2 = 0x402c542c
-- TCSETX = 0x5433
-- TCSETXF = 0x5434
-- TCSETXW = 0x5435
-- TCXONC = 0x540a
-- TIOCCBRK = 0x5428
-- TIOCCONS = 0x541d
-- TIOCEXCL = 0x540c
-- TIOCGDEV = 0x80045432
-- TIOCGETD = 0x5424
-- TIOCGEXCL = 0x80045440
-- TIOCGICOUNT = 0x545d
-- TIOCGLCKTRMIOS = 0x5456
-- TIOCGPGRP = 0x540f
-- TIOCGPKT = 0x80045438
-- TIOCGPTLCK = 0x80045439
-- TIOCGPTN = 0x80045430
-- TIOCGRS485 = 0x542e
-- TIOCGSERIAL = 0x541e
-- TIOCGSID = 0x5429
-- TIOCGSOFTCAR = 0x5419
-- TIOCGWINSZ = 0x5413
-- TIOCINQ = 0x541b
-- TIOCLINUX = 0x541c
-- TIOCMBIC = 0x5417
-- TIOCMBIS = 0x5416
-- TIOCMGET = 0x5415
-- TIOCMIWAIT = 0x545c
-- TIOCMSET = 0x5418
-- TIOCM_CAR = 0x40
-- TIOCM_CD = 0x40
-- TIOCM_CTS = 0x20
-- TIOCM_DSR = 0x100
-- TIOCM_DTR = 0x2
-- TIOCM_LE = 0x1
-- TIOCM_RI = 0x80
-- TIOCM_RNG = 0x80
-- TIOCM_RTS = 0x4
-- TIOCM_SR = 0x10
-- TIOCM_ST = 0x8
-- TIOCNOTTY = 0x5422
-- TIOCNXCL = 0x540d
-- TIOCOUTQ = 0x5411
-- TIOCPKT = 0x5420
-- TIOCPKT_DATA = 0x0
-- TIOCPKT_DOSTOP = 0x20
-- TIOCPKT_FLUSHREAD = 0x1
-- TIOCPKT_FLUSHWRITE = 0x2
-- TIOCPKT_IOCTL = 0x40
-- TIOCPKT_NOSTOP = 0x10
-- TIOCPKT_START = 0x8
-- TIOCPKT_STOP = 0x4
-- TIOCSBRK = 0x5427
-- TIOCSCTTY = 0x540e
-- TIOCSERCONFIG = 0x5453
-- TIOCSERGETLSR = 0x5459
-- TIOCSERGETMULTI = 0x545a
-- TIOCSERGSTRUCT = 0x5458
-- TIOCSERGWILD = 0x5454
-- TIOCSERSETMULTI = 0x545b
-- TIOCSERSWILD = 0x5455
-- TIOCSER_TEMT = 0x1
-- TIOCSETD = 0x5423
-- TIOCSIG = 0x40045436
-- TIOCSLCKTRMIOS = 0x5457
-- TIOCSPGRP = 0x5410
-- TIOCSPTLCK = 0x40045431
-- TIOCSRS485 = 0x542f
-- TIOCSSERIAL = 0x541f
-- TIOCSSOFTCAR = 0x541a
-- TIOCSTI = 0x5412
-- TIOCSWINSZ = 0x5414
-- TIOCVHANGUP = 0x5437
-- TOSTOP = 0x100
-- TS_COMM_LEN = 0x20
-- TUNATTACHFILTER = 0x400854d5
-- TUNDETACHFILTER = 0x400854d6
-- TUNGETFEATURES = 0x800454cf
-- TUNGETFILTER = 0x800854db
-- TUNGETIFF = 0x800454d2
-- TUNGETSNDBUF = 0x800454d3
-- TUNGETVNETBE = 0x800454df
-- TUNGETVNETHDRSZ = 0x800454d7
-- TUNGETVNETLE = 0x800454dd
-- TUNSETDEBUG = 0x400454c9
-- TUNSETGROUP = 0x400454ce
-- TUNSETIFF = 0x400454ca
-- TUNSETIFINDEX = 0x400454da
-- TUNSETLINK = 0x400454cd
-- TUNSETNOCSUM = 0x400454c8
-- TUNSETOFFLOAD = 0x400454d0
-- TUNSETOWNER = 0x400454cc
-- TUNSETPERSIST = 0x400454cb
-- TUNSETQUEUE = 0x400454d9
-- TUNSETSNDBUF = 0x400454d4
-- TUNSETTXFILTER = 0x400454d1
-- TUNSETVNETBE = 0x400454de
-- TUNSETVNETHDRSZ = 0x400454d8
-- TUNSETVNETLE = 0x400454dc
-- UMOUNT_NOFOLLOW = 0x8
-- VDISCARD = 0xd
-- VEOF = 0x4
-- VEOL = 0xb
-- VEOL2 = 0x10
-- VERASE = 0x2
-- VINTR = 0x0
-- VKILL = 0x3
-- VLNEXT = 0xf
-- VMADDR_CID_ANY = 0xffffffff
-- VMADDR_CID_HOST = 0x2
-- VMADDR_CID_HYPERVISOR = 0x0
-- VMADDR_CID_RESERVED = 0x1
-- VMADDR_PORT_ANY = 0xffffffff
-- VMIN = 0x6
-- VM_SOCKETS_INVALID_VERSION = 0xffffffff
-- VQUIT = 0x1
-- VREPRINT = 0xc
-- VSTART = 0x8
-- VSTOP = 0x9
-- VSUSP = 0xa
-- VSWTC = 0x7
-- VT0 = 0x0
-- VT1 = 0x4000
-- VTDLY = 0x4000
-- VTIME = 0x5
-- VWERASE = 0xe
-- WALL = 0x40000000
-- WCLONE = 0x80000000
-- WCONTINUED = 0x8
-- WEXITED = 0x4
-- WNOHANG = 0x1
-- WNOTHREAD = 0x20000000
-- WNOWAIT = 0x1000000
-- WORDSIZE = 0x20
-- WSTOPPED = 0x2
-- WUNTRACED = 0x2
-- XATTR_CREATE = 0x1
-- XATTR_REPLACE = 0x2
-- XCASE = 0x4
-- XTABS = 0x1800
-+ 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 = 0x80041270
-+ BLKBSZSET = 0x40041271
-+ BLKFLSBUF = 0x1261
-+ BLKFRAGET = 0x1265
-+ BLKFRASET = 0x1264
-+ BLKGETSIZE = 0x1260
-+ BLKGETSIZE64 = 0x80041272
-+ 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
-+ 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
-+ FLUSHO = 0x1000
-+ FP_XSTATE_MAGIC2 = 0x46505845
-+ FS_IOC_ENABLE_VERITY = 0x40806685
-+ FS_IOC_GETFLAGS = 0x80046601
-+ FS_IOC_GET_ENCRYPTION_POLICY = 0x400c6615
-+ FS_IOC_GET_ENCRYPTION_PWSALT = 0x40106614
-+ FS_IOC_SET_ENCRYPTION_POLICY = 0x800c6613
-+ F_GETLK = 0xc
-+ F_GETLK64 = 0xc
-+ F_GETOWN = 0x9
-+ F_RDLCK = 0x0
-+ F_SETLK = 0xd
-+ F_SETLK64 = 0xd
-+ F_SETLKW = 0xe
-+ F_SETLKW64 = 0xe
-+ F_SETOWN = 0x8
-+ F_UNLCK = 0x2
-+ F_WRLCK = 0x1
-+ 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_32BIT = 0x40
-+ 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
-+ NFDBITS = 0x20
-+ 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
-+ O_APPEND = 0x400
-+ O_ASYNC = 0x2000
-+ O_CLOEXEC = 0x80000
-+ O_CREAT = 0x40
-+ O_DIRECT = 0x4000
-+ O_DIRECTORY = 0x10000
-+ O_DSYNC = 0x1000
-+ O_EXCL = 0x80
-+ O_FSYNC = 0x101000
-+ O_LARGEFILE = 0x8000
-+ O_NDELAY = 0x800
-+ O_NOATIME = 0x40000
-+ O_NOCTTY = 0x100
-+ O_NOFOLLOW = 0x20000
-+ O_NONBLOCK = 0x800
-+ O_PATH = 0x200000
-+ O_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 = 0x80042407
-+ PERF_EVENT_IOC_MODIFY_ATTRIBUTES = 0x4004240b
-+ PERF_EVENT_IOC_PAUSE_OUTPUT = 0x40042409
-+ PERF_EVENT_IOC_PERIOD = 0x40082404
-+ PERF_EVENT_IOC_QUERY_BPF = 0xc004240a
-+ PERF_EVENT_IOC_REFRESH = 0x2402
-+ PERF_EVENT_IOC_RESET = 0x2403
-+ PERF_EVENT_IOC_SET_BPF = 0x40042408
-+ PERF_EVENT_IOC_SET_FILTER = 0x40042406
-+ PERF_EVENT_IOC_SET_OUTPUT = 0x2405
-+ PPPIOCATTACH = 0x4004743d
-+ PPPIOCATTCHAN = 0x40047438
-+ PPPIOCCONNECT = 0x4004743a
-+ PPPIOCDETACH = 0x4004743c
-+ PPPIOCDISCONN = 0x7439
-+ PPPIOCGASYNCMAP = 0x80047458
-+ PPPIOCGCHAN = 0x80047437
-+ PPPIOCGDEBUG = 0x80047441
-+ PPPIOCGFLAGS = 0x8004745a
-+ PPPIOCGIDLE = 0x8008743f
-+ PPPIOCGIDLE32 = 0x8008743f
-+ PPPIOCGIDLE64 = 0x8010743f
-+ PPPIOCGL2TPSTATS = 0x80487436
-+ PPPIOCGMRU = 0x80047453
-+ PPPIOCGRASYNCMAP = 0x80047455
-+ PPPIOCGUNIT = 0x80047456
-+ PPPIOCGXASYNCMAP = 0x80207450
-+ PPPIOCSACTIVE = 0x40087446
-+ PPPIOCSASYNCMAP = 0x40047457
-+ PPPIOCSCOMPRESS = 0x400c744d
-+ PPPIOCSDEBUG = 0x40047440
-+ PPPIOCSFLAGS = 0x40047459
-+ PPPIOCSMAXCID = 0x40047451
-+ PPPIOCSMRRU = 0x4004743b
-+ PPPIOCSMRU = 0x40047452
-+ PPPIOCSNPMODE = 0x4008744b
-+ PPPIOCSPASS = 0x40087447
-+ PPPIOCSRASYNCMAP = 0x40047454
-+ PPPIOCSXASYNCMAP = 0x4020744f
-+ PPPIOCXFERUNIT = 0x744e
-+ PR_SET_PTRACER_ANY = 0xffffffff
-+ PTRACE_GETFPREGS = 0xe
-+ PTRACE_GETFPXREGS = 0x12
-+ PTRACE_GET_THREAD_AREA = 0x19
-+ PTRACE_OLDSETOPTIONS = 0x15
-+ PTRACE_SETFPREGS = 0xf
-+ PTRACE_SETFPXREGS = 0x13
-+ PTRACE_SET_THREAD_AREA = 0x1a
-+ PTRACE_SINGLEBLOCK = 0x21
-+ 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 = 0x8004700d
-+ RTC_EPOCH_SET = 0x4004700e
-+ RTC_IRQP_READ = 0x8004700b
-+ RTC_IRQP_SET = 0x4004700c
-+ RTC_PIE_OFF = 0x7006
-+ RTC_PIE_ON = 0x7005
-+ RTC_PLL_GET = 0x801c7011
-+ RTC_PLL_SET = 0x401c7012
-+ 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_BUSY_POLL = 0x2e
-+ 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_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_PROTOCOL = 0x26
-+ SO_RCVBUF = 0x8
-+ SO_RCVBUFFORCE = 0x21
-+ SO_RCVLOWAT = 0x12
-+ SO_RCVTIMEO = 0x14
-+ SO_RCVTIMEO_NEW = 0x42
-+ SO_RCVTIMEO_OLD = 0x14
-+ SO_REUSEADDR = 0x2
-+ SO_REUSEPORT = 0xf
-+ SO_RXQ_OVFL = 0x28
-+ SO_SECURITY_AUTHENTICATION = 0x16
-+ SO_SECURITY_ENCRYPTION_NETWORK = 0x18
-+ SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
-+ SO_SELECT_ERR_QUEUE = 0x2d
-+ SO_SNDBUF = 0x7
-+ SO_SNDBUFFORCE = 0x20
-+ SO_SNDLOWAT = 0x13
-+ SO_SNDTIMEO = 0x15
-+ SO_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_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
-+ 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 = 0x400854d5
-+ TUNDETACHFILTER = 0x400854d6
-+ TUNGETDEVNETNS = 0x54e3
-+ TUNGETFEATURES = 0x800454cf
-+ TUNGETFILTER = 0x800854db
-+ 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 = 0x20
-+ X86_FXSR_MAGIC = 0x0
-+ XCASE = 0x4
-+ XTABS = 0x1800
- )
-
- // Errors
- const (
-- E2BIG = syscall.Errno(0x7)
-- EACCES = syscall.Errno(0xd)
- EADDRINUSE = syscall.Errno(0x62)
- EADDRNOTAVAIL = syscall.Errno(0x63)
- EADV = syscall.Errno(0x44)
- EAFNOSUPPORT = syscall.Errno(0x61)
-- EAGAIN = syscall.Errno(0xb)
- EALREADY = syscall.Errno(0x72)
- EBADE = syscall.Errno(0x34)
-- EBADF = syscall.Errno(0x9)
- EBADFD = syscall.Errno(0x4d)
- EBADMSG = syscall.Errno(0x4a)
- EBADR = syscall.Errno(0x35)
- EBADRQC = syscall.Errno(0x38)
- EBADSLT = syscall.Errno(0x39)
- EBFONT = syscall.Errno(0x3b)
-- EBUSY = syscall.Errno(0x10)
- ECANCELED = syscall.Errno(0x7d)
-- ECHILD = syscall.Errno(0xa)
- ECHRNG = syscall.Errno(0x2c)
- ECOMM = syscall.Errno(0x46)
- ECONNABORTED = syscall.Errno(0x67)
-@@ -1881,23 +500,15 @@ const (
- EDEADLK = syscall.Errno(0x23)
- EDEADLOCK = syscall.Errno(0x23)
- EDESTADDRREQ = syscall.Errno(0x59)
-- EDOM = syscall.Errno(0x21)
- EDOTDOT = syscall.Errno(0x49)
- EDQUOT = syscall.Errno(0x7a)
-- EEXIST = syscall.Errno(0x11)
-- EFAULT = syscall.Errno(0xe)
-- EFBIG = syscall.Errno(0x1b)
- EHOSTDOWN = syscall.Errno(0x70)
- EHOSTUNREACH = syscall.Errno(0x71)
- EHWPOISON = syscall.Errno(0x85)
- EIDRM = syscall.Errno(0x2b)
- EILSEQ = syscall.Errno(0x54)
- EINPROGRESS = syscall.Errno(0x73)
-- EINTR = syscall.Errno(0x4)
-- EINVAL = syscall.Errno(0x16)
-- EIO = syscall.Errno(0x5)
- EISCONN = syscall.Errno(0x6a)
-- EISDIR = syscall.Errno(0x15)
- EISNAM = syscall.Errno(0x78)
- EKEYEXPIRED = syscall.Errno(0x7f)
- EKEYREJECTED = syscall.Errno(0x81)
-@@ -1914,8 +525,6 @@ const (
- ELNRNG = syscall.Errno(0x30)
- ELOOP = syscall.Errno(0x28)
- EMEDIUMTYPE = syscall.Errno(0x7c)
-- EMFILE = syscall.Errno(0x18)
-- EMLINK = syscall.Errno(0x1f)
- EMSGSIZE = syscall.Errno(0x5a)
- EMULTIHOP = syscall.Errno(0x48)
- ENAMETOOLONG = syscall.Errno(0x24)
-@@ -1923,103 +532,70 @@ const (
- ENETDOWN = syscall.Errno(0x64)
- ENETRESET = syscall.Errno(0x66)
- ENETUNREACH = syscall.Errno(0x65)
-- ENFILE = syscall.Errno(0x17)
- ENOANO = syscall.Errno(0x37)
- ENOBUFS = syscall.Errno(0x69)
- ENOCSI = syscall.Errno(0x32)
- ENODATA = syscall.Errno(0x3d)
-- ENODEV = syscall.Errno(0x13)
-- ENOENT = syscall.Errno(0x2)
-- ENOEXEC = syscall.Errno(0x8)
- ENOKEY = syscall.Errno(0x7e)
- ENOLCK = syscall.Errno(0x25)
- ENOLINK = syscall.Errno(0x43)
- ENOMEDIUM = syscall.Errno(0x7b)
-- ENOMEM = syscall.Errno(0xc)
- ENOMSG = syscall.Errno(0x2a)
- ENONET = syscall.Errno(0x40)
- ENOPKG = syscall.Errno(0x41)
- ENOPROTOOPT = syscall.Errno(0x5c)
-- ENOSPC = syscall.Errno(0x1c)
- ENOSR = syscall.Errno(0x3f)
- ENOSTR = syscall.Errno(0x3c)
- ENOSYS = syscall.Errno(0x26)
-- ENOTBLK = syscall.Errno(0xf)
- ENOTCONN = syscall.Errno(0x6b)
-- ENOTDIR = syscall.Errno(0x14)
- ENOTEMPTY = syscall.Errno(0x27)
- ENOTNAM = syscall.Errno(0x76)
- ENOTRECOVERABLE = syscall.Errno(0x83)
- ENOTSOCK = syscall.Errno(0x58)
- ENOTSUP = syscall.Errno(0x5f)
-- ENOTTY = syscall.Errno(0x19)
- ENOTUNIQ = syscall.Errno(0x4c)
-- ENXIO = syscall.Errno(0x6)
- EOPNOTSUPP = syscall.Errno(0x5f)
- EOVERFLOW = syscall.Errno(0x4b)
- EOWNERDEAD = syscall.Errno(0x82)
-- EPERM = syscall.Errno(0x1)
- EPFNOSUPPORT = syscall.Errno(0x60)
-- EPIPE = syscall.Errno(0x20)
- EPROTO = syscall.Errno(0x47)
- EPROTONOSUPPORT = syscall.Errno(0x5d)
- EPROTOTYPE = syscall.Errno(0x5b)
-- ERANGE = syscall.Errno(0x22)
- EREMCHG = syscall.Errno(0x4e)
- EREMOTE = syscall.Errno(0x42)
- EREMOTEIO = syscall.Errno(0x79)
- ERESTART = syscall.Errno(0x55)
- ERFKILL = syscall.Errno(0x84)
-- EROFS = syscall.Errno(0x1e)
- ESHUTDOWN = syscall.Errno(0x6c)
- ESOCKTNOSUPPORT = syscall.Errno(0x5e)
-- ESPIPE = syscall.Errno(0x1d)
-- ESRCH = syscall.Errno(0x3)
- ESRMNT = syscall.Errno(0x45)
- ESTALE = syscall.Errno(0x74)
- ESTRPIPE = syscall.Errno(0x56)
- ETIME = syscall.Errno(0x3e)
- ETIMEDOUT = syscall.Errno(0x6e)
- ETOOMANYREFS = syscall.Errno(0x6d)
-- ETXTBSY = syscall.Errno(0x1a)
- EUCLEAN = syscall.Errno(0x75)
- EUNATCH = syscall.Errno(0x31)
- EUSERS = syscall.Errno(0x57)
-- EWOULDBLOCK = syscall.Errno(0xb)
-- EXDEV = syscall.Errno(0x12)
- EXFULL = syscall.Errno(0x36)
- )
-
- // Signals
- const (
-- SIGABRT = syscall.Signal(0x6)
-- SIGALRM = syscall.Signal(0xe)
- SIGBUS = syscall.Signal(0x7)
- SIGCHLD = syscall.Signal(0x11)
- SIGCLD = syscall.Signal(0x11)
- SIGCONT = syscall.Signal(0x12)
-- SIGFPE = syscall.Signal(0x8)
-- SIGHUP = syscall.Signal(0x1)
-- SIGILL = syscall.Signal(0x4)
-- SIGINT = syscall.Signal(0x2)
- SIGIO = syscall.Signal(0x1d)
-- SIGIOT = syscall.Signal(0x6)
-- SIGKILL = syscall.Signal(0x9)
-- SIGPIPE = syscall.Signal(0xd)
- SIGPOLL = syscall.Signal(0x1d)
- SIGPROF = syscall.Signal(0x1b)
- SIGPWR = syscall.Signal(0x1e)
-- SIGQUIT = syscall.Signal(0x3)
-- SIGSEGV = syscall.Signal(0xb)
- SIGSTKFLT = syscall.Signal(0x10)
- SIGSTOP = syscall.Signal(0x13)
- SIGSYS = syscall.Signal(0x1f)
-- SIGTERM = syscall.Signal(0xf)
-- SIGTRAP = syscall.Signal(0x5)
- SIGTSTP = syscall.Signal(0x14)
- SIGTTIN = syscall.Signal(0x15)
- SIGTTOU = syscall.Signal(0x16)
-- SIGUNUSED = syscall.Signal(0x1f)
- SIGURG = syscall.Signal(0x17)
- SIGUSR1 = syscall.Signal(0xa)
- SIGUSR2 = syscall.Signal(0xc)
-@@ -2030,171 +606,179 @@ const (
- )
-
- // Error table
--var errors = [...]string{
-- 1: "operation not permitted",
-- 2: "no such file or directory",
-- 3: "no such process",
-- 4: "interrupted system call",
-- 5: "input/output error",
-- 6: "no such device or address",
-- 7: "argument list too long",
-- 8: "exec format error",
-- 9: "bad file descriptor",
-- 10: "no child processes",
-- 11: "resource temporarily unavailable",
-- 12: "cannot allocate memory",
-- 13: "permission denied",
-- 14: "bad address",
-- 15: "block device required",
-- 16: "device or resource busy",
-- 17: "file exists",
-- 18: "invalid cross-device link",
-- 19: "no such device",
-- 20: "not a directory",
-- 21: "is a directory",
-- 22: "invalid argument",
-- 23: "too many open files in system",
-- 24: "too many open files",
-- 25: "inappropriate ioctl for device",
-- 26: "text file busy",
-- 27: "file too large",
-- 28: "no space left on device",
-- 29: "illegal seek",
-- 30: "read-only file system",
-- 31: "too many links",
-- 32: "broken pipe",
-- 33: "numerical argument out of domain",
-- 34: "numerical result out of range",
-- 35: "resource deadlock avoided",
-- 36: "file name too long",
-- 37: "no locks available",
-- 38: "function not implemented",
-- 39: "directory not empty",
-- 40: "too many levels of symbolic links",
-- 42: "no message of desired type",
-- 43: "identifier removed",
-- 44: "channel number out of range",
-- 45: "level 2 not synchronized",
-- 46: "level 3 halted",
-- 47: "level 3 reset",
-- 48: "link number out of range",
-- 49: "protocol driver not attached",
-- 50: "no CSI structure available",
-- 51: "level 2 halted",
-- 52: "invalid exchange",
-- 53: "invalid request descriptor",
-- 54: "exchange full",
-- 55: "no anode",
-- 56: "invalid request code",
-- 57: "invalid slot",
-- 59: "bad font file format",
-- 60: "device not a stream",
-- 61: "no data available",
-- 62: "timer expired",
-- 63: "out of streams resources",
-- 64: "machine is not on the network",
-- 65: "package not installed",
-- 66: "object is remote",
-- 67: "link has been severed",
-- 68: "advertise error",
-- 69: "srmount error",
-- 70: "communication error on send",
-- 71: "protocol error",
-- 72: "multihop attempted",
-- 73: "RFS specific error",
-- 74: "bad message",
-- 75: "value too large for defined data type",
-- 76: "name not unique on network",
-- 77: "file descriptor in bad state",
-- 78: "remote address changed",
-- 79: "can not access a needed shared library",
-- 80: "accessing a corrupted shared library",
-- 81: ".lib section in a.out corrupted",
-- 82: "attempting to link in too many shared libraries",
-- 83: "cannot exec a shared library directly",
-- 84: "invalid or incomplete multibyte or wide character",
-- 85: "interrupted system call should be restarted",
-- 86: "streams pipe error",
-- 87: "too many users",
-- 88: "socket operation on non-socket",
-- 89: "destination address required",
-- 90: "message too long",
-- 91: "protocol wrong type for socket",
-- 92: "protocol not available",
-- 93: "protocol not supported",
-- 94: "socket type not supported",
-- 95: "operation not supported",
-- 96: "protocol family not supported",
-- 97: "address family not supported by protocol",
-- 98: "address already in use",
-- 99: "cannot assign requested address",
-- 100: "network is down",
-- 101: "network is unreachable",
-- 102: "network dropped connection on reset",
-- 103: "software caused connection abort",
-- 104: "connection reset by peer",
-- 105: "no buffer space available",
-- 106: "transport endpoint is already connected",
-- 107: "transport endpoint is not connected",
-- 108: "cannot send after transport endpoint shutdown",
-- 109: "too many references: cannot splice",
-- 110: "connection timed out",
-- 111: "connection refused",
-- 112: "host is down",
-- 113: "no route to host",
-- 114: "operation already in progress",
-- 115: "operation now in progress",
-- 116: "stale file handle",
-- 117: "structure needs cleaning",
-- 118: "not a XENIX named type file",
-- 119: "no XENIX semaphores available",
-- 120: "is a named type file",
-- 121: "remote I/O error",
-- 122: "disk quota exceeded",
-- 123: "no medium found",
-- 124: "wrong medium type",
-- 125: "operation canceled",
-- 126: "required key not available",
-- 127: "key has expired",
-- 128: "key has been revoked",
-- 129: "key was rejected by service",
-- 130: "owner died",
-- 131: "state not recoverable",
-- 132: "operation not possible due to RF-kill",
-- 133: "memory page has hardware error",
-+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 signals = [...]string{
-- 1: "hangup",
-- 2: "interrupt",
-- 3: "quit",
-- 4: "illegal instruction",
-- 5: "trace/breakpoint trap",
-- 6: "aborted",
-- 7: "bus error",
-- 8: "floating point exception",
-- 9: "killed",
-- 10: "user defined signal 1",
-- 11: "segmentation fault",
-- 12: "user defined signal 2",
-- 13: "broken pipe",
-- 14: "alarm clock",
-- 15: "terminated",
-- 16: "stack fault",
-- 17: "child exited",
-- 18: "continued",
-- 19: "stopped (signal)",
-- 20: "stopped",
-- 21: "stopped (tty input)",
-- 22: "stopped (tty output)",
-- 23: "urgent I/O condition",
-- 24: "CPU time limit exceeded",
-- 25: "file size limit exceeded",
-- 26: "virtual timer expired",
-- 27: "profiling timer expired",
-- 28: "window changed",
-- 29: "I/O possible",
-- 30: "power failure",
-- 31: "bad system call",
-+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_amd64.go b/vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go
-index a6618fc1..005970f7 100644
---- a/vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go
-+++ b/vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go
-@@ -3,7 +3,7 @@
-
- // +build amd64,linux
-
--// Created by cgo -godefs - DO NOT EDIT
-+// Code generated by cmd/cgo -godefs; DO NOT EDIT.
- // cgo -godefs -- -Wall -Werror -static -I/tmp/include -m64 _const.go
-
- package unix
-@@ -11,1869 +11,487 @@ package unix
- import "syscall"
-
- const (
-- AF_ALG = 0x26
-- AF_APPLETALK = 0x5
-- AF_ASH = 0x12
-- AF_ATMPVC = 0x8
-- AF_ATMSVC = 0x14
-- AF_AX25 = 0x3
-- AF_BLUETOOTH = 0x1f
-- AF_BRIDGE = 0x7
-- AF_CAIF = 0x25
-- AF_CAN = 0x1d
-- AF_DECnet = 0xc
-- AF_ECONET = 0x13
-- AF_FILE = 0x1
-- AF_IB = 0x1b
-- AF_IEEE802154 = 0x24
-- AF_INET = 0x2
-- AF_INET6 = 0xa
-- AF_IPX = 0x4
-- AF_IRDA = 0x17
-- AF_ISDN = 0x22
-- AF_IUCV = 0x20
-- AF_KCM = 0x29
-- AF_KEY = 0xf
-- AF_LLC = 0x1a
-- AF_LOCAL = 0x1
-- AF_MAX = 0x2b
-- AF_MPLS = 0x1c
-- AF_NETBEUI = 0xd
-- AF_NETLINK = 0x10
-- AF_NETROM = 0x6
-- AF_NFC = 0x27
-- AF_PACKET = 0x11
-- AF_PHONET = 0x23
-- AF_PPPOX = 0x18
-- AF_QIPCRTR = 0x2a
-- AF_RDS = 0x15
-- AF_ROSE = 0xb
-- AF_ROUTE = 0x10
-- AF_RXRPC = 0x21
-- AF_SECURITY = 0xe
-- AF_SNA = 0x16
-- AF_TIPC = 0x1e
-- AF_UNIX = 0x1
-- AF_UNSPEC = 0x0
-- AF_VSOCK = 0x28
-- AF_WANPIPE = 0x19
-- AF_X25 = 0x9
-- ALG_OP_DECRYPT = 0x0
-- ALG_OP_ENCRYPT = 0x1
-- ALG_SET_AEAD_ASSOCLEN = 0x4
-- ALG_SET_AEAD_AUTHSIZE = 0x5
-- ALG_SET_IV = 0x2
-- ALG_SET_KEY = 0x1
-- ALG_SET_OP = 0x3
-- ARPHRD_6LOWPAN = 0x339
-- ARPHRD_ADAPT = 0x108
-- ARPHRD_APPLETLK = 0x8
-- ARPHRD_ARCNET = 0x7
-- ARPHRD_ASH = 0x30d
-- ARPHRD_ATM = 0x13
-- ARPHRD_AX25 = 0x3
-- ARPHRD_BIF = 0x307
-- ARPHRD_CAIF = 0x336
-- ARPHRD_CAN = 0x118
-- ARPHRD_CHAOS = 0x5
-- ARPHRD_CISCO = 0x201
-- ARPHRD_CSLIP = 0x101
-- ARPHRD_CSLIP6 = 0x103
-- ARPHRD_DDCMP = 0x205
-- ARPHRD_DLCI = 0xf
-- ARPHRD_ECONET = 0x30e
-- ARPHRD_EETHER = 0x2
-- ARPHRD_ETHER = 0x1
-- ARPHRD_EUI64 = 0x1b
-- ARPHRD_FCAL = 0x311
-- ARPHRD_FCFABRIC = 0x313
-- ARPHRD_FCPL = 0x312
-- ARPHRD_FCPP = 0x310
-- ARPHRD_FDDI = 0x306
-- ARPHRD_FRAD = 0x302
-- ARPHRD_HDLC = 0x201
-- ARPHRD_HIPPI = 0x30c
-- ARPHRD_HWX25 = 0x110
-- ARPHRD_IEEE1394 = 0x18
-- ARPHRD_IEEE802 = 0x6
-- ARPHRD_IEEE80211 = 0x321
-- ARPHRD_IEEE80211_PRISM = 0x322
-- ARPHRD_IEEE80211_RADIOTAP = 0x323
-- ARPHRD_IEEE802154 = 0x324
-- ARPHRD_IEEE802154_MONITOR = 0x325
-- ARPHRD_IEEE802_TR = 0x320
-- ARPHRD_INFINIBAND = 0x20
-- ARPHRD_IP6GRE = 0x337
-- ARPHRD_IPDDP = 0x309
-- ARPHRD_IPGRE = 0x30a
-- ARPHRD_IRDA = 0x30f
-- ARPHRD_LAPB = 0x204
-- ARPHRD_LOCALTLK = 0x305
-- ARPHRD_LOOPBACK = 0x304
-- ARPHRD_METRICOM = 0x17
-- ARPHRD_NETLINK = 0x338
-- ARPHRD_NETROM = 0x0
-- ARPHRD_NONE = 0xfffe
-- ARPHRD_PHONET = 0x334
-- ARPHRD_PHONET_PIPE = 0x335
-- ARPHRD_PIMREG = 0x30b
-- ARPHRD_PPP = 0x200
-- ARPHRD_PRONET = 0x4
-- ARPHRD_RAWHDLC = 0x206
-- ARPHRD_ROSE = 0x10e
-- ARPHRD_RSRVD = 0x104
-- ARPHRD_SIT = 0x308
-- ARPHRD_SKIP = 0x303
-- ARPHRD_SLIP = 0x100
-- ARPHRD_SLIP6 = 0x102
-- ARPHRD_TUNNEL = 0x300
-- ARPHRD_TUNNEL6 = 0x301
-- ARPHRD_VOID = 0xffff
-- ARPHRD_X25 = 0x10f
-- B0 = 0x0
-- B1000000 = 0x1008
-- B110 = 0x3
-- B115200 = 0x1002
-- B1152000 = 0x1009
-- B1200 = 0x9
-- B134 = 0x4
-- B150 = 0x5
-- B1500000 = 0x100a
-- B1800 = 0xa
-- B19200 = 0xe
-- B200 = 0x6
-- B2000000 = 0x100b
-- B230400 = 0x1003
-- B2400 = 0xb
-- B2500000 = 0x100c
-- B300 = 0x7
-- B3000000 = 0x100d
-- B3500000 = 0x100e
-- B38400 = 0xf
-- B4000000 = 0x100f
-- B460800 = 0x1004
-- B4800 = 0xc
-- B50 = 0x1
-- B500000 = 0x1005
-- B57600 = 0x1001
-- B576000 = 0x1006
-- B600 = 0x8
-- B75 = 0x2
-- B921600 = 0x1007
-- B9600 = 0xd
-- 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
-- BPF_A = 0x10
-- BPF_ABS = 0x20
-- BPF_ADD = 0x0
-- BPF_ALU = 0x4
-- BPF_AND = 0x50
-- BPF_B = 0x10
-- BPF_DIV = 0x30
-- BPF_H = 0x8
-- BPF_IMM = 0x0
-- BPF_IND = 0x40
-- BPF_JA = 0x0
-- BPF_JEQ = 0x10
-- BPF_JGE = 0x30
-- BPF_JGT = 0x20
-- BPF_JMP = 0x5
-- BPF_JSET = 0x40
-- BPF_K = 0x0
-- BPF_LD = 0x0
-- BPF_LDX = 0x1
-- BPF_LEN = 0x80
-- BPF_LL_OFF = -0x200000
-- BPF_LSH = 0x60
-- BPF_MAJOR_VERSION = 0x1
-- BPF_MAXINSNS = 0x1000
-- BPF_MEM = 0x60
-- BPF_MEMWORDS = 0x10
-- BPF_MINOR_VERSION = 0x1
-- BPF_MISC = 0x7
-- BPF_MOD = 0x90
-- BPF_MSH = 0xa0
-- BPF_MUL = 0x20
-- BPF_NEG = 0x80
-- BPF_NET_OFF = -0x100000
-- BPF_OR = 0x40
-- BPF_RET = 0x6
-- BPF_RSH = 0x70
-- BPF_ST = 0x2
-- BPF_STX = 0x3
-- BPF_SUB = 0x10
-- BPF_TAX = 0x0
-- BPF_TXA = 0x80
-- BPF_W = 0x0
-- BPF_X = 0x8
-- BPF_XOR = 0xa0
-- BRKINT = 0x2
-- BS0 = 0x0
-- BS1 = 0x2000
-- BSDLY = 0x2000
-- CAN_BCM = 0x2
-- CAN_EFF_FLAG = 0x80000000
-- CAN_EFF_ID_BITS = 0x1d
-- CAN_EFF_MASK = 0x1fffffff
-- CAN_ERR_FLAG = 0x20000000
-- CAN_ERR_MASK = 0x1fffffff
-- CAN_INV_FILTER = 0x20000000
-- CAN_ISOTP = 0x6
-- CAN_MAX_DLC = 0x8
-- CAN_MAX_DLEN = 0x8
-- CAN_MCNET = 0x5
-- CAN_MTU = 0x10
-- CAN_NPROTO = 0x7
-- CAN_RAW = 0x1
-- CAN_RAW_FILTER_MAX = 0x200
-- CAN_RTR_FLAG = 0x40000000
-- CAN_SFF_ID_BITS = 0xb
-- CAN_SFF_MASK = 0x7ff
-- CAN_TP16 = 0x3
-- CAN_TP20 = 0x4
-- CBAUD = 0x100f
-- CBAUDEX = 0x1000
-- CFLUSH = 0xf
-- CIBAUD = 0x100f0000
-- CLOCAL = 0x800
-- CLOCK_BOOTTIME = 0x7
-- CLOCK_BOOTTIME_ALARM = 0x9
-- CLOCK_DEFAULT = 0x0
-- CLOCK_EXT = 0x1
-- CLOCK_INT = 0x2
-- CLOCK_MONOTONIC = 0x1
-- CLOCK_MONOTONIC_COARSE = 0x6
-- CLOCK_MONOTONIC_RAW = 0x4
-- CLOCK_PROCESS_CPUTIME_ID = 0x2
-- CLOCK_REALTIME = 0x0
-- CLOCK_REALTIME_ALARM = 0x8
-- CLOCK_REALTIME_COARSE = 0x5
-- CLOCK_TAI = 0xb
-- CLOCK_THREAD_CPUTIME_ID = 0x3
-- CLOCK_TXFROMRX = 0x4
-- CLOCK_TXINT = 0x3
-- CLONE_CHILD_CLEARTID = 0x200000
-- CLONE_CHILD_SETTID = 0x1000000
-- CLONE_DETACHED = 0x400000
-- CLONE_FILES = 0x400
-- CLONE_FS = 0x200
-- CLONE_IO = 0x80000000
-- CLONE_NEWCGROUP = 0x2000000
-- CLONE_NEWIPC = 0x8000000
-- CLONE_NEWNET = 0x40000000
-- CLONE_NEWNS = 0x20000
-- CLONE_NEWPID = 0x20000000
-- CLONE_NEWUSER = 0x10000000
-- CLONE_NEWUTS = 0x4000000
-- CLONE_PARENT = 0x8000
-- CLONE_PARENT_SETTID = 0x100000
-- CLONE_PTRACE = 0x2000
-- CLONE_SETTLS = 0x80000
-- CLONE_SIGHAND = 0x800
-- CLONE_SYSVSEM = 0x40000
-- CLONE_THREAD = 0x10000
-- CLONE_UNTRACED = 0x800000
-- CLONE_VFORK = 0x4000
-- CLONE_VM = 0x100
-- CMSPAR = 0x40000000
-- CR0 = 0x0
-- CR1 = 0x200
-- CR2 = 0x400
-- CR3 = 0x600
-- CRDLY = 0x600
-- CREAD = 0x80
-- CRTSCTS = 0x80000000
-- CS5 = 0x0
-- CS6 = 0x10
-- CS7 = 0x20
-- CS8 = 0x30
-- CSIGNAL = 0xff
-- CSIZE = 0x30
-- CSTART = 0x11
-- CSTATUS = 0x0
-- CSTOP = 0x13
-- CSTOPB = 0x40
-- CSUSP = 0x1a
-- DT_BLK = 0x6
-- DT_CHR = 0x2
-- DT_DIR = 0x4
-- DT_FIFO = 0x1
-- DT_LNK = 0xa
-- DT_REG = 0x8
-- DT_SOCK = 0xc
-- DT_UNKNOWN = 0x0
-- DT_WHT = 0xe
-- ECHO = 0x8
-- ECHOCTL = 0x200
-- ECHOE = 0x10
-- ECHOK = 0x20
-- ECHOKE = 0x800
-- ECHONL = 0x40
-- ECHOPRT = 0x400
-- EFD_CLOEXEC = 0x80000
-- EFD_NONBLOCK = 0x800
-- EFD_SEMAPHORE = 0x1
-- ENCODING_DEFAULT = 0x0
-- ENCODING_FM_MARK = 0x3
-- ENCODING_FM_SPACE = 0x4
-- ENCODING_MANCHESTER = 0x5
-- ENCODING_NRZ = 0x1
-- ENCODING_NRZI = 0x2
-- EPOLLERR = 0x8
-- EPOLLET = 0x80000000
-- EPOLLEXCLUSIVE = 0x10000000
-- EPOLLHUP = 0x10
-- EPOLLIN = 0x1
-- EPOLLMSG = 0x400
-- EPOLLONESHOT = 0x40000000
-- EPOLLOUT = 0x4
-- EPOLLPRI = 0x2
-- EPOLLRDBAND = 0x80
-- EPOLLRDHUP = 0x2000
-- EPOLLRDNORM = 0x40
-- EPOLLWAKEUP = 0x20000000
-- EPOLLWRBAND = 0x200
-- EPOLLWRNORM = 0x100
-- EPOLL_CLOEXEC = 0x80000
-- EPOLL_CTL_ADD = 0x1
-- EPOLL_CTL_DEL = 0x2
-- EPOLL_CTL_MOD = 0x3
-- ETH_P_1588 = 0x88f7
-- ETH_P_8021AD = 0x88a8
-- ETH_P_8021AH = 0x88e7
-- ETH_P_8021Q = 0x8100
-- ETH_P_80221 = 0x8917
-- ETH_P_802_2 = 0x4
-- ETH_P_802_3 = 0x1
-- ETH_P_802_3_MIN = 0x600
-- ETH_P_802_EX1 = 0x88b5
-- ETH_P_AARP = 0x80f3
-- ETH_P_AF_IUCV = 0xfbfb
-- ETH_P_ALL = 0x3
-- ETH_P_AOE = 0x88a2
-- ETH_P_ARCNET = 0x1a
-- ETH_P_ARP = 0x806
-- ETH_P_ATALK = 0x809b
-- ETH_P_ATMFATE = 0x8884
-- ETH_P_ATMMPOA = 0x884c
-- ETH_P_AX25 = 0x2
-- ETH_P_BATMAN = 0x4305
-- ETH_P_BPQ = 0x8ff
-- ETH_P_CAIF = 0xf7
-- ETH_P_CAN = 0xc
-- ETH_P_CANFD = 0xd
-- ETH_P_CONTROL = 0x16
-- ETH_P_CUST = 0x6006
-- ETH_P_DDCMP = 0x6
-- ETH_P_DEC = 0x6000
-- ETH_P_DIAG = 0x6005
-- ETH_P_DNA_DL = 0x6001
-- ETH_P_DNA_RC = 0x6002
-- ETH_P_DNA_RT = 0x6003
-- ETH_P_DSA = 0x1b
-- ETH_P_ECONET = 0x18
-- ETH_P_EDSA = 0xdada
-- ETH_P_FCOE = 0x8906
-- ETH_P_FIP = 0x8914
-- ETH_P_HDLC = 0x19
-- ETH_P_HSR = 0x892f
-- ETH_P_IEEE802154 = 0xf6
-- ETH_P_IEEEPUP = 0xa00
-- ETH_P_IEEEPUPAT = 0xa01
-- ETH_P_IP = 0x800
-- ETH_P_IPV6 = 0x86dd
-- ETH_P_IPX = 0x8137
-- ETH_P_IRDA = 0x17
-- ETH_P_LAT = 0x6004
-- ETH_P_LINK_CTL = 0x886c
-- ETH_P_LOCALTALK = 0x9
-- ETH_P_LOOP = 0x60
-- ETH_P_LOOPBACK = 0x9000
-- ETH_P_MACSEC = 0x88e5
-- ETH_P_MOBITEX = 0x15
-- ETH_P_MPLS_MC = 0x8848
-- ETH_P_MPLS_UC = 0x8847
-- ETH_P_MVRP = 0x88f5
-- ETH_P_NCSI = 0x88f8
-- ETH_P_PAE = 0x888e
-- ETH_P_PAUSE = 0x8808
-- ETH_P_PHONET = 0xf5
-- ETH_P_PPPTALK = 0x10
-- ETH_P_PPP_DISC = 0x8863
-- ETH_P_PPP_MP = 0x8
-- ETH_P_PPP_SES = 0x8864
-- ETH_P_PRP = 0x88fb
-- ETH_P_PUP = 0x200
-- ETH_P_PUPAT = 0x201
-- ETH_P_QINQ1 = 0x9100
-- ETH_P_QINQ2 = 0x9200
-- ETH_P_QINQ3 = 0x9300
-- ETH_P_RARP = 0x8035
-- ETH_P_SCA = 0x6007
-- ETH_P_SLOW = 0x8809
-- ETH_P_SNAP = 0x5
-- ETH_P_TDLS = 0x890d
-- ETH_P_TEB = 0x6558
-- ETH_P_TIPC = 0x88ca
-- ETH_P_TRAILER = 0x1c
-- ETH_P_TR_802_2 = 0x11
-- ETH_P_TSN = 0x22f0
-- ETH_P_WAN_PPP = 0x7
-- ETH_P_WCCP = 0x883e
-- ETH_P_X25 = 0x805
-- ETH_P_XDSA = 0xf8
-- EXTA = 0xe
-- EXTB = 0xf
-- EXTPROC = 0x10000
-- FALLOC_FL_COLLAPSE_RANGE = 0x8
-- FALLOC_FL_INSERT_RANGE = 0x20
-- FALLOC_FL_KEEP_SIZE = 0x1
-- FALLOC_FL_NO_HIDE_STALE = 0x4
-- FALLOC_FL_PUNCH_HOLE = 0x2
-- FALLOC_FL_UNSHARE_RANGE = 0x40
-- FALLOC_FL_ZERO_RANGE = 0x10
-- FD_CLOEXEC = 0x1
-- FD_SETSIZE = 0x400
-- FF0 = 0x0
-- FF1 = 0x8000
-- FFDLY = 0x8000
-- FLUSHO = 0x1000
-- FS_ENCRYPTION_MODE_AES_256_CBC = 0x3
-- FS_ENCRYPTION_MODE_AES_256_CTS = 0x4
-- FS_ENCRYPTION_MODE_AES_256_GCM = 0x2
-- FS_ENCRYPTION_MODE_AES_256_XTS = 0x1
-- FS_ENCRYPTION_MODE_INVALID = 0x0
-- FS_IOC_GET_ENCRYPTION_POLICY = 0x400c6615
-- FS_IOC_GET_ENCRYPTION_PWSALT = 0x40106614
-- FS_IOC_SET_ENCRYPTION_POLICY = 0x800c6613
-- FS_KEY_DESCRIPTOR_SIZE = 0x8
-- FS_KEY_DESC_PREFIX = "fscrypt:"
-- FS_KEY_DESC_PREFIX_SIZE = 0x8
-- FS_MAX_KEY_SIZE = 0x40
-- FS_POLICY_FLAGS_PAD_16 = 0x2
-- FS_POLICY_FLAGS_PAD_32 = 0x3
-- FS_POLICY_FLAGS_PAD_4 = 0x0
-- FS_POLICY_FLAGS_PAD_8 = 0x1
-- FS_POLICY_FLAGS_PAD_MASK = 0x3
-- FS_POLICY_FLAGS_VALID = 0x3
-- F_DUPFD = 0x0
-- F_DUPFD_CLOEXEC = 0x406
-- F_EXLCK = 0x4
-- F_GETFD = 0x1
-- F_GETFL = 0x3
-- F_GETLEASE = 0x401
-- F_GETLK = 0x5
-- F_GETLK64 = 0x5
-- F_GETOWN = 0x9
-- F_GETOWN_EX = 0x10
-- F_GETPIPE_SZ = 0x408
-- F_GETSIG = 0xb
-- F_LOCK = 0x1
-- F_NOTIFY = 0x402
-- F_OFD_GETLK = 0x24
-- F_OFD_SETLK = 0x25
-- F_OFD_SETLKW = 0x26
-- F_OK = 0x0
-- F_RDLCK = 0x0
-- F_SETFD = 0x2
-- F_SETFL = 0x4
-- F_SETLEASE = 0x400
-- F_SETLK = 0x6
-- F_SETLK64 = 0x6
-- F_SETLKW = 0x7
-- F_SETLKW64 = 0x7
-- F_SETOWN = 0x8
-- F_SETOWN_EX = 0xf
-- F_SETPIPE_SZ = 0x407
-- F_SETSIG = 0xa
-- F_SHLCK = 0x8
-- F_TEST = 0x3
-- F_TLOCK = 0x2
-- F_ULOCK = 0x0
-- F_UNLCK = 0x2
-- F_WRLCK = 0x1
-- GENL_ADMIN_PERM = 0x1
-- GENL_CMD_CAP_DO = 0x2
-- GENL_CMD_CAP_DUMP = 0x4
-- GENL_CMD_CAP_HASPOL = 0x8
-- GENL_HDRLEN = 0x4
-- GENL_ID_CTRL = 0x10
-- GENL_ID_PMCRAID = 0x12
-- GENL_ID_VFS_DQUOT = 0x11
-- GENL_MAX_ID = 0x3ff
-- GENL_MIN_ID = 0x10
-- GENL_NAMSIZ = 0x10
-- GENL_START_ALLOC = 0x13
-- GENL_UNS_ADMIN_PERM = 0x10
-- GRND_NONBLOCK = 0x1
-- GRND_RANDOM = 0x2
-- HUPCL = 0x400
-- IBSHIFT = 0x10
-- ICANON = 0x2
-- ICMPV6_FILTER = 0x1
-- ICRNL = 0x100
-- IEXTEN = 0x8000
-- IFA_F_DADFAILED = 0x8
-- IFA_F_DEPRECATED = 0x20
-- IFA_F_HOMEADDRESS = 0x10
-- IFA_F_MANAGETEMPADDR = 0x100
-- IFA_F_MCAUTOJOIN = 0x400
-- IFA_F_NODAD = 0x2
-- IFA_F_NOPREFIXROUTE = 0x200
-- IFA_F_OPTIMISTIC = 0x4
-- IFA_F_PERMANENT = 0x80
-- IFA_F_SECONDARY = 0x1
-- IFA_F_STABLE_PRIVACY = 0x800
-- IFA_F_TEMPORARY = 0x1
-- IFA_F_TENTATIVE = 0x40
-- IFA_MAX = 0x8
-- IFF_ALLMULTI = 0x200
-- IFF_ATTACH_QUEUE = 0x200
-- IFF_AUTOMEDIA = 0x4000
-- IFF_BROADCAST = 0x2
-- IFF_DEBUG = 0x4
-- IFF_DETACH_QUEUE = 0x400
-- IFF_DORMANT = 0x20000
-- IFF_DYNAMIC = 0x8000
-- IFF_ECHO = 0x40000
-- IFF_LOOPBACK = 0x8
-- IFF_LOWER_UP = 0x10000
-- IFF_MASTER = 0x400
-- IFF_MULTICAST = 0x1000
-- IFF_MULTI_QUEUE = 0x100
-- IFF_NOARP = 0x80
-- IFF_NOFILTER = 0x1000
-- IFF_NOTRAILERS = 0x20
-- IFF_NO_PI = 0x1000
-- IFF_ONE_QUEUE = 0x2000
-- IFF_PERSIST = 0x800
-- IFF_POINTOPOINT = 0x10
-- IFF_PORTSEL = 0x2000
-- IFF_PROMISC = 0x100
-- IFF_RUNNING = 0x40
-- IFF_SLAVE = 0x800
-- IFF_TAP = 0x2
-- IFF_TUN = 0x1
-- IFF_TUN_EXCL = 0x8000
-- IFF_UP = 0x1
-- IFF_VNET_HDR = 0x4000
-- IFF_VOLATILE = 0x70c5a
-- IFNAMSIZ = 0x10
-- IGNBRK = 0x1
-- IGNCR = 0x80
-- IGNPAR = 0x4
-- IMAXBEL = 0x2000
-- INLCR = 0x40
-- INPCK = 0x10
-- IN_ACCESS = 0x1
-- IN_ALL_EVENTS = 0xfff
-- IN_ATTRIB = 0x4
-- IN_CLASSA_HOST = 0xffffff
-- IN_CLASSA_MAX = 0x80
-- IN_CLASSA_NET = 0xff000000
-- IN_CLASSA_NSHIFT = 0x18
-- IN_CLASSB_HOST = 0xffff
-- IN_CLASSB_MAX = 0x10000
-- IN_CLASSB_NET = 0xffff0000
-- IN_CLASSB_NSHIFT = 0x10
-- IN_CLASSC_HOST = 0xff
-- IN_CLASSC_NET = 0xffffff00
-- IN_CLASSC_NSHIFT = 0x8
-- IN_CLOEXEC = 0x80000
-- IN_CLOSE = 0x18
-- IN_CLOSE_NOWRITE = 0x10
-- IN_CLOSE_WRITE = 0x8
-- IN_CREATE = 0x100
-- IN_DELETE = 0x200
-- IN_DELETE_SELF = 0x400
-- IN_DONT_FOLLOW = 0x2000000
-- IN_EXCL_UNLINK = 0x4000000
-- IN_IGNORED = 0x8000
-- IN_ISDIR = 0x40000000
-- IN_LOOPBACKNET = 0x7f
-- IN_MASK_ADD = 0x20000000
-- IN_MODIFY = 0x2
-- IN_MOVE = 0xc0
-- IN_MOVED_FROM = 0x40
-- IN_MOVED_TO = 0x80
-- IN_MOVE_SELF = 0x800
-- IN_NONBLOCK = 0x800
-- IN_ONESHOT = 0x80000000
-- IN_ONLYDIR = 0x1000000
-- IN_OPEN = 0x20
-- IN_Q_OVERFLOW = 0x4000
-- IN_UNMOUNT = 0x2000
-- IPPROTO_AH = 0x33
-- IPPROTO_BEETPH = 0x5e
-- IPPROTO_COMP = 0x6c
-- IPPROTO_DCCP = 0x21
-- IPPROTO_DSTOPTS = 0x3c
-- IPPROTO_EGP = 0x8
-- IPPROTO_ENCAP = 0x62
-- IPPROTO_ESP = 0x32
-- IPPROTO_FRAGMENT = 0x2c
-- IPPROTO_GRE = 0x2f
-- IPPROTO_HOPOPTS = 0x0
-- IPPROTO_ICMP = 0x1
-- IPPROTO_ICMPV6 = 0x3a
-- IPPROTO_IDP = 0x16
-- IPPROTO_IGMP = 0x2
-- IPPROTO_IP = 0x0
-- IPPROTO_IPIP = 0x4
-- IPPROTO_IPV6 = 0x29
-- IPPROTO_MH = 0x87
-- IPPROTO_MPLS = 0x89
-- IPPROTO_MTP = 0x5c
-- IPPROTO_NONE = 0x3b
-- IPPROTO_PIM = 0x67
-- IPPROTO_PUP = 0xc
-- IPPROTO_RAW = 0xff
-- IPPROTO_ROUTING = 0x2b
-- IPPROTO_RSVP = 0x2e
-- IPPROTO_SCTP = 0x84
-- IPPROTO_TCP = 0x6
-- IPPROTO_TP = 0x1d
-- IPPROTO_UDP = 0x11
-- IPPROTO_UDPLITE = 0x88
-- IPV6_2292DSTOPTS = 0x4
-- IPV6_2292HOPLIMIT = 0x8
-- IPV6_2292HOPOPTS = 0x3
-- IPV6_2292PKTINFO = 0x2
-- IPV6_2292PKTOPTIONS = 0x6
-- IPV6_2292RTHDR = 0x5
-- IPV6_ADDRFORM = 0x1
-- IPV6_ADD_MEMBERSHIP = 0x14
-- IPV6_AUTHHDR = 0xa
-- IPV6_CHECKSUM = 0x7
-- IPV6_DONTFRAG = 0x3e
-- IPV6_DROP_MEMBERSHIP = 0x15
-- IPV6_DSTOPTS = 0x3b
-- IPV6_HDRINCL = 0x24
-- IPV6_HOPLIMIT = 0x34
-- IPV6_HOPOPTS = 0x36
-- IPV6_IPSEC_POLICY = 0x22
-- IPV6_JOIN_ANYCAST = 0x1b
-- IPV6_JOIN_GROUP = 0x14
-- IPV6_LEAVE_ANYCAST = 0x1c
-- IPV6_LEAVE_GROUP = 0x15
-- IPV6_MTU = 0x18
-- IPV6_MTU_DISCOVER = 0x17
-- IPV6_MULTICAST_HOPS = 0x12
-- IPV6_MULTICAST_IF = 0x11
-- IPV6_MULTICAST_LOOP = 0x13
-- IPV6_NEXTHOP = 0x9
-- IPV6_PATHMTU = 0x3d
-- IPV6_PKTINFO = 0x32
-- IPV6_PMTUDISC_DO = 0x2
-- IPV6_PMTUDISC_DONT = 0x0
-- IPV6_PMTUDISC_INTERFACE = 0x4
-- IPV6_PMTUDISC_OMIT = 0x5
-- IPV6_PMTUDISC_PROBE = 0x3
-- IPV6_PMTUDISC_WANT = 0x1
-- IPV6_RECVDSTOPTS = 0x3a
-- IPV6_RECVERR = 0x19
-- IPV6_RECVHOPLIMIT = 0x33
-- IPV6_RECVHOPOPTS = 0x35
-- IPV6_RECVPATHMTU = 0x3c
-- IPV6_RECVPKTINFO = 0x31
-- IPV6_RECVRTHDR = 0x38
-- IPV6_RECVTCLASS = 0x42
-- IPV6_ROUTER_ALERT = 0x16
-- IPV6_RTHDR = 0x39
-- IPV6_RTHDRDSTOPTS = 0x37
-- IPV6_RTHDR_LOOSE = 0x0
-- IPV6_RTHDR_STRICT = 0x1
-- IPV6_RTHDR_TYPE_0 = 0x0
-- IPV6_RXDSTOPTS = 0x3b
-- IPV6_RXHOPOPTS = 0x36
-- IPV6_TCLASS = 0x43
-- IPV6_UNICAST_HOPS = 0x10
-- IPV6_V6ONLY = 0x1a
-- IPV6_XFRM_POLICY = 0x23
-- IP_ADD_MEMBERSHIP = 0x23
-- IP_ADD_SOURCE_MEMBERSHIP = 0x27
-- IP_BIND_ADDRESS_NO_PORT = 0x18
-- IP_BLOCK_SOURCE = 0x26
-- IP_CHECKSUM = 0x17
-- IP_DEFAULT_MULTICAST_LOOP = 0x1
-- IP_DEFAULT_MULTICAST_TTL = 0x1
-- IP_DF = 0x4000
-- IP_DROP_MEMBERSHIP = 0x24
-- IP_DROP_SOURCE_MEMBERSHIP = 0x28
-- IP_FREEBIND = 0xf
-- IP_HDRINCL = 0x3
-- IP_IPSEC_POLICY = 0x10
-- IP_MAXPACKET = 0xffff
-- IP_MAX_MEMBERSHIPS = 0x14
-- IP_MF = 0x2000
-- IP_MINTTL = 0x15
-- IP_MSFILTER = 0x29
-- IP_MSS = 0x240
-- IP_MTU = 0xe
-- IP_MTU_DISCOVER = 0xa
-- IP_MULTICAST_ALL = 0x31
-- IP_MULTICAST_IF = 0x20
-- IP_MULTICAST_LOOP = 0x22
-- IP_MULTICAST_TTL = 0x21
-- IP_NODEFRAG = 0x16
-- IP_OFFMASK = 0x1fff
-- IP_OPTIONS = 0x4
-- IP_ORIGDSTADDR = 0x14
-- IP_PASSSEC = 0x12
-- IP_PKTINFO = 0x8
-- IP_PKTOPTIONS = 0x9
-- IP_PMTUDISC = 0xa
-- IP_PMTUDISC_DO = 0x2
-- IP_PMTUDISC_DONT = 0x0
-- IP_PMTUDISC_INTERFACE = 0x4
-- IP_PMTUDISC_OMIT = 0x5
-- IP_PMTUDISC_PROBE = 0x3
-- IP_PMTUDISC_WANT = 0x1
-- IP_RECVERR = 0xb
-- IP_RECVOPTS = 0x6
-- IP_RECVORIGDSTADDR = 0x14
-- IP_RECVRETOPTS = 0x7
-- IP_RECVTOS = 0xd
-- IP_RECVTTL = 0xc
-- IP_RETOPTS = 0x7
-- IP_RF = 0x8000
-- IP_ROUTER_ALERT = 0x5
-- IP_TOS = 0x1
-- IP_TRANSPARENT = 0x13
-- IP_TTL = 0x2
-- IP_UNBLOCK_SOURCE = 0x25
-- IP_UNICAST_IF = 0x32
-- IP_XFRM_POLICY = 0x11
-- ISIG = 0x1
-- ISTRIP = 0x20
-- IUCLC = 0x200
-- IUTF8 = 0x4000
-- IXANY = 0x800
-- IXOFF = 0x1000
-- IXON = 0x400
-- KEYCTL_ASSUME_AUTHORITY = 0x10
-- KEYCTL_CHOWN = 0x4
-- KEYCTL_CLEAR = 0x7
-- KEYCTL_DESCRIBE = 0x6
-- KEYCTL_DH_COMPUTE = 0x17
-- KEYCTL_GET_KEYRING_ID = 0x0
-- KEYCTL_GET_PERSISTENT = 0x16
-- KEYCTL_GET_SECURITY = 0x11
-- KEYCTL_INSTANTIATE = 0xc
-- KEYCTL_INSTANTIATE_IOV = 0x14
-- KEYCTL_INVALIDATE = 0x15
-- KEYCTL_JOIN_SESSION_KEYRING = 0x1
-- KEYCTL_LINK = 0x8
-- KEYCTL_NEGATE = 0xd
-- KEYCTL_READ = 0xb
-- KEYCTL_REJECT = 0x13
-- KEYCTL_REVOKE = 0x3
-- KEYCTL_SEARCH = 0xa
-- KEYCTL_SESSION_TO_PARENT = 0x12
-- KEYCTL_SETPERM = 0x5
-- KEYCTL_SET_REQKEY_KEYRING = 0xe
-- KEYCTL_SET_TIMEOUT = 0xf
-- KEYCTL_UNLINK = 0x9
-- KEYCTL_UPDATE = 0x2
-- KEY_REQKEY_DEFL_DEFAULT = 0x0
-- KEY_REQKEY_DEFL_GROUP_KEYRING = 0x6
-- KEY_REQKEY_DEFL_NO_CHANGE = -0x1
-- KEY_REQKEY_DEFL_PROCESS_KEYRING = 0x2
-- KEY_REQKEY_DEFL_REQUESTOR_KEYRING = 0x7
-- KEY_REQKEY_DEFL_SESSION_KEYRING = 0x3
-- KEY_REQKEY_DEFL_THREAD_KEYRING = 0x1
-- KEY_REQKEY_DEFL_USER_KEYRING = 0x4
-- KEY_REQKEY_DEFL_USER_SESSION_KEYRING = 0x5
-- KEY_SPEC_GROUP_KEYRING = -0x6
-- KEY_SPEC_PROCESS_KEYRING = -0x2
-- KEY_SPEC_REQKEY_AUTH_KEY = -0x7
-- KEY_SPEC_REQUESTOR_KEYRING = -0x8
-- KEY_SPEC_SESSION_KEYRING = -0x3
-- KEY_SPEC_THREAD_KEYRING = -0x1
-- KEY_SPEC_USER_KEYRING = -0x4
-- KEY_SPEC_USER_SESSION_KEYRING = -0x5
-- LINUX_REBOOT_CMD_CAD_OFF = 0x0
-- LINUX_REBOOT_CMD_CAD_ON = 0x89abcdef
-- LINUX_REBOOT_CMD_HALT = 0xcdef0123
-- LINUX_REBOOT_CMD_KEXEC = 0x45584543
-- LINUX_REBOOT_CMD_POWER_OFF = 0x4321fedc
-- LINUX_REBOOT_CMD_RESTART = 0x1234567
-- LINUX_REBOOT_CMD_RESTART2 = 0xa1b2c3d4
-- LINUX_REBOOT_CMD_SW_SUSPEND = 0xd000fce2
-- LINUX_REBOOT_MAGIC1 = 0xfee1dead
-- LINUX_REBOOT_MAGIC2 = 0x28121969
-- LOCK_EX = 0x2
-- LOCK_NB = 0x4
-- LOCK_SH = 0x1
-- LOCK_UN = 0x8
-- MADV_DODUMP = 0x11
-- MADV_DOFORK = 0xb
-- MADV_DONTDUMP = 0x10
-- MADV_DONTFORK = 0xa
-- MADV_DONTNEED = 0x4
-- MADV_FREE = 0x8
-- MADV_HUGEPAGE = 0xe
-- MADV_HWPOISON = 0x64
-- MADV_MERGEABLE = 0xc
-- MADV_NOHUGEPAGE = 0xf
-- MADV_NORMAL = 0x0
-- MADV_RANDOM = 0x1
-- MADV_REMOVE = 0x9
-- MADV_SEQUENTIAL = 0x2
-- MADV_UNMERGEABLE = 0xd
-- MADV_WILLNEED = 0x3
-- MAP_32BIT = 0x40
-- MAP_ANON = 0x20
-- MAP_ANONYMOUS = 0x20
-- MAP_DENYWRITE = 0x800
-- MAP_EXECUTABLE = 0x1000
-- MAP_FILE = 0x0
-- MAP_FIXED = 0x10
-- MAP_GROWSDOWN = 0x100
-- MAP_HUGETLB = 0x40000
-- MAP_HUGE_MASK = 0x3f
-- MAP_HUGE_SHIFT = 0x1a
-- MAP_LOCKED = 0x2000
-- MAP_NONBLOCK = 0x10000
-- MAP_NORESERVE = 0x4000
-- MAP_POPULATE = 0x8000
-- MAP_PRIVATE = 0x2
-- MAP_SHARED = 0x1
-- MAP_STACK = 0x20000
-- MAP_TYPE = 0xf
-- MCL_CURRENT = 0x1
-- MCL_FUTURE = 0x2
-- MCL_ONFAULT = 0x4
-- MNT_DETACH = 0x2
-- MNT_EXPIRE = 0x4
-- MNT_FORCE = 0x1
-- MSG_BATCH = 0x40000
-- MSG_CMSG_CLOEXEC = 0x40000000
-- MSG_CONFIRM = 0x800
-- MSG_CTRUNC = 0x8
-- MSG_DONTROUTE = 0x4
-- MSG_DONTWAIT = 0x40
-- MSG_EOR = 0x80
-- MSG_ERRQUEUE = 0x2000
-- MSG_FASTOPEN = 0x20000000
-- MSG_FIN = 0x200
-- MSG_MORE = 0x8000
-- MSG_NOSIGNAL = 0x4000
-- MSG_OOB = 0x1
-- MSG_PEEK = 0x2
-- MSG_PROXY = 0x10
-- MSG_RST = 0x1000
-- MSG_SYN = 0x400
-- MSG_TRUNC = 0x20
-- MSG_TRYHARD = 0x4
-- MSG_WAITALL = 0x100
-- MSG_WAITFORONE = 0x10000
-- MS_ACTIVE = 0x40000000
-- MS_ASYNC = 0x1
-- MS_BIND = 0x1000
-- MS_BORN = 0x20000000
-- MS_DIRSYNC = 0x80
-- MS_INVALIDATE = 0x2
-- MS_I_VERSION = 0x800000
-- MS_KERNMOUNT = 0x400000
-- MS_LAZYTIME = 0x2000000
-- MS_MANDLOCK = 0x40
-- MS_MGC_MSK = 0xffff0000
-- MS_MGC_VAL = 0xc0ed0000
-- MS_MOVE = 0x2000
-- MS_NOATIME = 0x400
-- MS_NODEV = 0x4
-- MS_NODIRATIME = 0x800
-- MS_NOEXEC = 0x8
-- MS_NOREMOTELOCK = 0x8000000
-- MS_NOSEC = 0x10000000
-- MS_NOSUID = 0x2
-- MS_NOUSER = -0x80000000
-- MS_POSIXACL = 0x10000
-- MS_PRIVATE = 0x40000
-- MS_RDONLY = 0x1
-- MS_REC = 0x4000
-- MS_RELATIME = 0x200000
-- MS_REMOUNT = 0x20
-- MS_RMT_MASK = 0x2800051
-- MS_SHARED = 0x100000
-- MS_SILENT = 0x8000
-- MS_SLAVE = 0x80000
-- MS_STRICTATIME = 0x1000000
-- MS_SYNC = 0x4
-- MS_SYNCHRONOUS = 0x10
-- MS_UNBINDABLE = 0x20000
-- MS_VERBOSE = 0x8000
-- NAME_MAX = 0xff
-- NETLINK_ADD_MEMBERSHIP = 0x1
-- NETLINK_AUDIT = 0x9
-- NETLINK_BROADCAST_ERROR = 0x4
-- NETLINK_CAP_ACK = 0xa
-- NETLINK_CONNECTOR = 0xb
-- NETLINK_CRYPTO = 0x15
-- NETLINK_DNRTMSG = 0xe
-- NETLINK_DROP_MEMBERSHIP = 0x2
-- NETLINK_ECRYPTFS = 0x13
-- NETLINK_FIB_LOOKUP = 0xa
-- NETLINK_FIREWALL = 0x3
-- NETLINK_GENERIC = 0x10
-- NETLINK_INET_DIAG = 0x4
-- NETLINK_IP6_FW = 0xd
-- NETLINK_ISCSI = 0x8
-- NETLINK_KOBJECT_UEVENT = 0xf
-- NETLINK_LISTEN_ALL_NSID = 0x8
-- NETLINK_LIST_MEMBERSHIPS = 0x9
-- NETLINK_NETFILTER = 0xc
-- NETLINK_NFLOG = 0x5
-- NETLINK_NO_ENOBUFS = 0x5
-- NETLINK_PKTINFO = 0x3
-- NETLINK_RDMA = 0x14
-- NETLINK_ROUTE = 0x0
-- NETLINK_RX_RING = 0x6
-- NETLINK_SCSITRANSPORT = 0x12
-- NETLINK_SELINUX = 0x7
-- NETLINK_SOCK_DIAG = 0x4
-- NETLINK_TX_RING = 0x7
-- NETLINK_UNUSED = 0x1
-- NETLINK_USERSOCK = 0x2
-- NETLINK_XFRM = 0x6
-- NL0 = 0x0
-- NL1 = 0x100
-- NLA_ALIGNTO = 0x4
-- NLA_F_NESTED = 0x8000
-- NLA_F_NET_BYTEORDER = 0x4000
-- NLA_HDRLEN = 0x4
-- NLDLY = 0x100
-- NLMSG_ALIGNTO = 0x4
-- NLMSG_DONE = 0x3
-- NLMSG_ERROR = 0x2
-- NLMSG_HDRLEN = 0x10
-- NLMSG_MIN_TYPE = 0x10
-- NLMSG_NOOP = 0x1
-- NLMSG_OVERRUN = 0x4
-- NLM_F_ACK = 0x4
-- NLM_F_APPEND = 0x800
-- NLM_F_ATOMIC = 0x400
-- NLM_F_CREATE = 0x400
-- NLM_F_DUMP = 0x300
-- NLM_F_DUMP_FILTERED = 0x20
-- NLM_F_DUMP_INTR = 0x10
-- NLM_F_ECHO = 0x8
-- NLM_F_EXCL = 0x200
-- NLM_F_MATCH = 0x200
-- NLM_F_MULTI = 0x2
-- NLM_F_REPLACE = 0x100
-- NLM_F_REQUEST = 0x1
-- NLM_F_ROOT = 0x100
-- NOFLSH = 0x80
-- OCRNL = 0x8
-- OFDEL = 0x80
-- OFILL = 0x40
-- OLCUC = 0x2
-- ONLCR = 0x4
-- ONLRET = 0x20
-- ONOCR = 0x10
-- OPOST = 0x1
-- O_ACCMODE = 0x3
-- O_APPEND = 0x400
-- O_ASYNC = 0x2000
-- O_CLOEXEC = 0x80000
-- O_CREAT = 0x40
-- O_DIRECT = 0x4000
-- O_DIRECTORY = 0x10000
-- O_DSYNC = 0x1000
-- O_EXCL = 0x80
-- O_FSYNC = 0x101000
-- O_LARGEFILE = 0x0
-- O_NDELAY = 0x800
-- O_NOATIME = 0x40000
-- O_NOCTTY = 0x100
-- O_NOFOLLOW = 0x20000
-- O_NONBLOCK = 0x800
-- O_PATH = 0x200000
-- O_RDONLY = 0x0
-- O_RDWR = 0x2
-- O_RSYNC = 0x101000
-- O_SYNC = 0x101000
-- O_TMPFILE = 0x410000
-- O_TRUNC = 0x200
-- O_WRONLY = 0x1
-- PACKET_ADD_MEMBERSHIP = 0x1
-- PACKET_AUXDATA = 0x8
-- PACKET_BROADCAST = 0x1
-- PACKET_COPY_THRESH = 0x7
-- PACKET_DROP_MEMBERSHIP = 0x2
-- PACKET_FANOUT = 0x12
-- PACKET_FANOUT_CBPF = 0x6
-- PACKET_FANOUT_CPU = 0x2
-- PACKET_FANOUT_DATA = 0x16
-- PACKET_FANOUT_EBPF = 0x7
-- PACKET_FANOUT_FLAG_DEFRAG = 0x8000
-- PACKET_FANOUT_FLAG_ROLLOVER = 0x1000
-- PACKET_FANOUT_HASH = 0x0
-- PACKET_FANOUT_LB = 0x1
-- PACKET_FANOUT_QM = 0x5
-- PACKET_FANOUT_RND = 0x4
-- PACKET_FANOUT_ROLLOVER = 0x3
-- PACKET_FASTROUTE = 0x6
-- PACKET_HDRLEN = 0xb
-- PACKET_HOST = 0x0
-- PACKET_KERNEL = 0x7
-- PACKET_LOOPBACK = 0x5
-- PACKET_LOSS = 0xe
-- PACKET_MR_ALLMULTI = 0x2
-- PACKET_MR_MULTICAST = 0x0
-- PACKET_MR_PROMISC = 0x1
-- PACKET_MR_UNICAST = 0x3
-- PACKET_MULTICAST = 0x2
-- PACKET_ORIGDEV = 0x9
-- PACKET_OTHERHOST = 0x3
-- PACKET_OUTGOING = 0x4
-- PACKET_QDISC_BYPASS = 0x14
-- PACKET_RECV_OUTPUT = 0x3
-- PACKET_RESERVE = 0xc
-- PACKET_ROLLOVER_STATS = 0x15
-- PACKET_RX_RING = 0x5
-- PACKET_STATISTICS = 0x6
-- PACKET_TIMESTAMP = 0x11
-- PACKET_TX_HAS_OFF = 0x13
-- PACKET_TX_RING = 0xd
-- PACKET_TX_TIMESTAMP = 0x10
-- PACKET_USER = 0x6
-- PACKET_VERSION = 0xa
-- PACKET_VNET_HDR = 0xf
-- PARENB = 0x100
-- PARITY_CRC16_PR0 = 0x2
-- PARITY_CRC16_PR0_CCITT = 0x4
-- PARITY_CRC16_PR1 = 0x3
-- PARITY_CRC16_PR1_CCITT = 0x5
-- PARITY_CRC32_PR0_CCITT = 0x6
-- PARITY_CRC32_PR1_CCITT = 0x7
-- PARITY_DEFAULT = 0x0
-- PARITY_NONE = 0x1
-- PARMRK = 0x8
-- PARODD = 0x200
-- PENDIN = 0x4000
-- PERF_EVENT_IOC_DISABLE = 0x2401
-- PERF_EVENT_IOC_ENABLE = 0x2400
-- PERF_EVENT_IOC_ID = 0x80082407
-- PERF_EVENT_IOC_PAUSE_OUTPUT = 0x40042409
-- PERF_EVENT_IOC_PERIOD = 0x40082404
-- 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
-- PRIO_PGRP = 0x1
-- PRIO_PROCESS = 0x0
-- PRIO_USER = 0x2
-- PROT_EXEC = 0x4
-- PROT_GROWSDOWN = 0x1000000
-- PROT_GROWSUP = 0x2000000
-- PROT_NONE = 0x0
-- PROT_READ = 0x1
-- PROT_WRITE = 0x2
-- PR_CAPBSET_DROP = 0x18
-- PR_CAPBSET_READ = 0x17
-- PR_CAP_AMBIENT = 0x2f
-- PR_CAP_AMBIENT_CLEAR_ALL = 0x4
-- PR_CAP_AMBIENT_IS_SET = 0x1
-- PR_CAP_AMBIENT_LOWER = 0x3
-- PR_CAP_AMBIENT_RAISE = 0x2
-- PR_ENDIAN_BIG = 0x0
-- PR_ENDIAN_LITTLE = 0x1
-- PR_ENDIAN_PPC_LITTLE = 0x2
-- PR_FPEMU_NOPRINT = 0x1
-- PR_FPEMU_SIGFPE = 0x2
-- PR_FP_EXC_ASYNC = 0x2
-- PR_FP_EXC_DISABLED = 0x0
-- PR_FP_EXC_DIV = 0x10000
-- PR_FP_EXC_INV = 0x100000
-- PR_FP_EXC_NONRECOV = 0x1
-- PR_FP_EXC_OVF = 0x20000
-- PR_FP_EXC_PRECISE = 0x3
-- PR_FP_EXC_RES = 0x80000
-- PR_FP_EXC_SW_ENABLE = 0x80
-- PR_FP_EXC_UND = 0x40000
-- PR_FP_MODE_FR = 0x1
-- PR_FP_MODE_FRE = 0x2
-- PR_GET_CHILD_SUBREAPER = 0x25
-- PR_GET_DUMPABLE = 0x3
-- PR_GET_ENDIAN = 0x13
-- PR_GET_FPEMU = 0x9
-- PR_GET_FPEXC = 0xb
-- PR_GET_FP_MODE = 0x2e
-- PR_GET_KEEPCAPS = 0x7
-- PR_GET_NAME = 0x10
-- PR_GET_NO_NEW_PRIVS = 0x27
-- PR_GET_PDEATHSIG = 0x2
-- PR_GET_SECCOMP = 0x15
-- PR_GET_SECUREBITS = 0x1b
-- PR_GET_THP_DISABLE = 0x2a
-- PR_GET_TID_ADDRESS = 0x28
-- PR_GET_TIMERSLACK = 0x1e
-- PR_GET_TIMING = 0xd
-- PR_GET_TSC = 0x19
-- PR_GET_UNALIGN = 0x5
-- PR_MCE_KILL = 0x21
-- PR_MCE_KILL_CLEAR = 0x0
-- PR_MCE_KILL_DEFAULT = 0x2
-- PR_MCE_KILL_EARLY = 0x1
-- PR_MCE_KILL_GET = 0x22
-- PR_MCE_KILL_LATE = 0x0
-- PR_MCE_KILL_SET = 0x1
-- PR_MPX_DISABLE_MANAGEMENT = 0x2c
-- PR_MPX_ENABLE_MANAGEMENT = 0x2b
-- PR_SET_CHILD_SUBREAPER = 0x24
-- PR_SET_DUMPABLE = 0x4
-- PR_SET_ENDIAN = 0x14
-- PR_SET_FPEMU = 0xa
-- PR_SET_FPEXC = 0xc
-- PR_SET_FP_MODE = 0x2d
-- PR_SET_KEEPCAPS = 0x8
-- PR_SET_MM = 0x23
-- PR_SET_MM_ARG_END = 0x9
-- PR_SET_MM_ARG_START = 0x8
-- PR_SET_MM_AUXV = 0xc
-- PR_SET_MM_BRK = 0x7
-- PR_SET_MM_END_CODE = 0x2
-- PR_SET_MM_END_DATA = 0x4
-- PR_SET_MM_ENV_END = 0xb
-- PR_SET_MM_ENV_START = 0xa
-- PR_SET_MM_EXE_FILE = 0xd
-- PR_SET_MM_MAP = 0xe
-- PR_SET_MM_MAP_SIZE = 0xf
-- PR_SET_MM_START_BRK = 0x6
-- PR_SET_MM_START_CODE = 0x1
-- PR_SET_MM_START_DATA = 0x3
-- PR_SET_MM_START_STACK = 0x5
-- PR_SET_NAME = 0xf
-- PR_SET_NO_NEW_PRIVS = 0x26
-- PR_SET_PDEATHSIG = 0x1
-- PR_SET_PTRACER = 0x59616d61
-- PR_SET_PTRACER_ANY = -0x1
-- PR_SET_SECCOMP = 0x16
-- PR_SET_SECUREBITS = 0x1c
-- PR_SET_THP_DISABLE = 0x29
-- PR_SET_TIMERSLACK = 0x1d
-- PR_SET_TIMING = 0xe
-- PR_SET_TSC = 0x1a
-- PR_SET_UNALIGN = 0x6
-- PR_TASK_PERF_EVENTS_DISABLE = 0x1f
-- PR_TASK_PERF_EVENTS_ENABLE = 0x20
-- PR_TIMING_STATISTICAL = 0x0
-- PR_TIMING_TIMESTAMP = 0x1
-- PR_TSC_ENABLE = 0x1
-- PR_TSC_SIGSEGV = 0x2
-- PR_UNALIGN_NOPRINT = 0x1
-- PR_UNALIGN_SIGBUS = 0x2
-- PTRACE_ARCH_PRCTL = 0x1e
-- PTRACE_ATTACH = 0x10
-- PTRACE_CONT = 0x7
-- PTRACE_DETACH = 0x11
-- PTRACE_EVENT_CLONE = 0x3
-- PTRACE_EVENT_EXEC = 0x4
-- PTRACE_EVENT_EXIT = 0x6
-- PTRACE_EVENT_FORK = 0x1
-- PTRACE_EVENT_SECCOMP = 0x7
-- PTRACE_EVENT_STOP = 0x80
-- PTRACE_EVENT_VFORK = 0x2
-- PTRACE_EVENT_VFORK_DONE = 0x5
-- PTRACE_GETEVENTMSG = 0x4201
-- PTRACE_GETFPREGS = 0xe
-- PTRACE_GETFPXREGS = 0x12
-- PTRACE_GETREGS = 0xc
-- PTRACE_GETREGSET = 0x4204
-- PTRACE_GETSIGINFO = 0x4202
-- PTRACE_GETSIGMASK = 0x420a
-- PTRACE_GET_THREAD_AREA = 0x19
-- PTRACE_INTERRUPT = 0x4207
-- PTRACE_KILL = 0x8
-- PTRACE_LISTEN = 0x4208
-- PTRACE_OLDSETOPTIONS = 0x15
-- PTRACE_O_EXITKILL = 0x100000
-- PTRACE_O_MASK = 0x3000ff
-- PTRACE_O_SUSPEND_SECCOMP = 0x200000
-- PTRACE_O_TRACECLONE = 0x8
-- PTRACE_O_TRACEEXEC = 0x10
-- PTRACE_O_TRACEEXIT = 0x40
-- PTRACE_O_TRACEFORK = 0x2
-- PTRACE_O_TRACESECCOMP = 0x80
-- PTRACE_O_TRACESYSGOOD = 0x1
-- PTRACE_O_TRACEVFORK = 0x4
-- PTRACE_O_TRACEVFORKDONE = 0x20
-- PTRACE_PEEKDATA = 0x2
-- PTRACE_PEEKSIGINFO = 0x4209
-- PTRACE_PEEKSIGINFO_SHARED = 0x1
-- PTRACE_PEEKTEXT = 0x1
-- PTRACE_PEEKUSR = 0x3
-- PTRACE_POKEDATA = 0x5
-- PTRACE_POKETEXT = 0x4
-- PTRACE_POKEUSR = 0x6
-- PTRACE_SECCOMP_GET_FILTER = 0x420c
-- PTRACE_SEIZE = 0x4206
-- PTRACE_SETFPREGS = 0xf
-- PTRACE_SETFPXREGS = 0x13
-- PTRACE_SETOPTIONS = 0x4200
-- PTRACE_SETREGS = 0xd
-- PTRACE_SETREGSET = 0x4205
-- PTRACE_SETSIGINFO = 0x4203
-- PTRACE_SETSIGMASK = 0x420b
-- PTRACE_SET_THREAD_AREA = 0x1a
-- PTRACE_SINGLEBLOCK = 0x21
-- PTRACE_SINGLESTEP = 0x9
-- PTRACE_SYSCALL = 0x18
-- PTRACE_SYSEMU = 0x1f
-- PTRACE_SYSEMU_SINGLESTEP = 0x20
-- PTRACE_TRACEME = 0x0
-- RLIMIT_AS = 0x9
-- RLIMIT_CORE = 0x4
-- RLIMIT_CPU = 0x0
-- RLIMIT_DATA = 0x2
-- RLIMIT_FSIZE = 0x1
-- RLIMIT_LOCKS = 0xa
-- RLIMIT_MEMLOCK = 0x8
-- RLIMIT_MSGQUEUE = 0xc
-- RLIMIT_NICE = 0xd
-- RLIMIT_NOFILE = 0x7
-- RLIMIT_NPROC = 0x6
-- RLIMIT_RSS = 0x5
-- RLIMIT_RTPRIO = 0xe
-- RLIMIT_RTTIME = 0xf
-- RLIMIT_SIGPENDING = 0xb
-- RLIMIT_STACK = 0x3
-- RLIM_INFINITY = -0x1
-- RTAX_ADVMSS = 0x8
-- RTAX_CC_ALGO = 0x10
-- RTAX_CWND = 0x7
-- RTAX_FEATURES = 0xc
-- RTAX_FEATURE_ALLFRAG = 0x8
-- RTAX_FEATURE_ECN = 0x1
-- RTAX_FEATURE_MASK = 0xf
-- RTAX_FEATURE_SACK = 0x2
-- RTAX_FEATURE_TIMESTAMP = 0x4
-- RTAX_HOPLIMIT = 0xa
-- RTAX_INITCWND = 0xb
-- RTAX_INITRWND = 0xe
-- RTAX_LOCK = 0x1
-- RTAX_MAX = 0x10
-- RTAX_MTU = 0x2
-- RTAX_QUICKACK = 0xf
-- RTAX_REORDERING = 0x9
-- RTAX_RTO_MIN = 0xd
-- RTAX_RTT = 0x4
-- RTAX_RTTVAR = 0x5
-- RTAX_SSTHRESH = 0x6
-- RTAX_UNSPEC = 0x0
-- RTAX_WINDOW = 0x3
-- RTA_ALIGNTO = 0x4
-- RTA_MAX = 0x19
-- RTCF_DIRECTSRC = 0x4000000
-- RTCF_DOREDIRECT = 0x1000000
-- RTCF_LOG = 0x2000000
-- RTCF_MASQ = 0x400000
-- RTCF_NAT = 0x800000
-- RTCF_VALVE = 0x200000
-- RTF_ADDRCLASSMASK = 0xf8000000
-- RTF_ADDRCONF = 0x40000
-- RTF_ALLONLINK = 0x20000
-- RTF_BROADCAST = 0x10000000
-- RTF_CACHE = 0x1000000
-- RTF_DEFAULT = 0x10000
-- RTF_DYNAMIC = 0x10
-- RTF_FLOW = 0x2000000
-- RTF_GATEWAY = 0x2
-- RTF_HOST = 0x4
-- RTF_INTERFACE = 0x40000000
-- RTF_IRTT = 0x100
-- RTF_LINKRT = 0x100000
-- RTF_LOCAL = 0x80000000
-- RTF_MODIFIED = 0x20
-- RTF_MSS = 0x40
-- RTF_MTU = 0x40
-- RTF_MULTICAST = 0x20000000
-- RTF_NAT = 0x8000000
-- RTF_NOFORWARD = 0x1000
-- RTF_NONEXTHOP = 0x200000
-- RTF_NOPMTUDISC = 0x4000
-- RTF_POLICY = 0x4000000
-- RTF_REINSTATE = 0x8
-- RTF_REJECT = 0x200
-- RTF_STATIC = 0x400
-- RTF_THROW = 0x2000
-- RTF_UP = 0x1
-- RTF_WINDOW = 0x80
-- RTF_XRESOLVE = 0x800
-- RTM_BASE = 0x10
-- RTM_DELACTION = 0x31
-- RTM_DELADDR = 0x15
-- RTM_DELADDRLABEL = 0x49
-- RTM_DELLINK = 0x11
-- RTM_DELMDB = 0x55
-- RTM_DELNEIGH = 0x1d
-- RTM_DELNSID = 0x59
-- RTM_DELQDISC = 0x25
-- RTM_DELROUTE = 0x19
-- RTM_DELRULE = 0x21
-- RTM_DELTCLASS = 0x29
-- RTM_DELTFILTER = 0x2d
-- RTM_F_CLONED = 0x200
-- RTM_F_EQUALIZE = 0x400
-- RTM_F_LOOKUP_TABLE = 0x1000
-- RTM_F_NOTIFY = 0x100
-- RTM_F_PREFIX = 0x800
-- RTM_GETACTION = 0x32
-- RTM_GETADDR = 0x16
-- RTM_GETADDRLABEL = 0x4a
-- RTM_GETANYCAST = 0x3e
-- RTM_GETDCB = 0x4e
-- RTM_GETLINK = 0x12
-- RTM_GETMDB = 0x56
-- RTM_GETMULTICAST = 0x3a
-- RTM_GETNEIGH = 0x1e
-- RTM_GETNEIGHTBL = 0x42
-- RTM_GETNETCONF = 0x52
-- RTM_GETNSID = 0x5a
-- RTM_GETQDISC = 0x26
-- RTM_GETROUTE = 0x1a
-- RTM_GETRULE = 0x22
-- RTM_GETSTATS = 0x5e
-- RTM_GETTCLASS = 0x2a
-- RTM_GETTFILTER = 0x2e
-- RTM_MAX = 0x5f
-- RTM_NEWACTION = 0x30
-- RTM_NEWADDR = 0x14
-- RTM_NEWADDRLABEL = 0x48
-- RTM_NEWLINK = 0x10
-- RTM_NEWMDB = 0x54
-- RTM_NEWNDUSEROPT = 0x44
-- RTM_NEWNEIGH = 0x1c
-- RTM_NEWNEIGHTBL = 0x40
-- RTM_NEWNETCONF = 0x50
-- RTM_NEWNSID = 0x58
-- RTM_NEWPREFIX = 0x34
-- RTM_NEWQDISC = 0x24
-- RTM_NEWROUTE = 0x18
-- RTM_NEWRULE = 0x20
-- RTM_NEWSTATS = 0x5c
-- RTM_NEWTCLASS = 0x28
-- RTM_NEWTFILTER = 0x2c
-- RTM_NR_FAMILIES = 0x14
-- RTM_NR_MSGTYPES = 0x50
-- RTM_SETDCB = 0x4f
-- RTM_SETLINK = 0x13
-- RTM_SETNEIGHTBL = 0x43
-- RTNH_ALIGNTO = 0x4
-- RTNH_COMPARE_MASK = 0x19
-- RTNH_F_DEAD = 0x1
-- RTNH_F_LINKDOWN = 0x10
-- RTNH_F_OFFLOAD = 0x8
-- RTNH_F_ONLINK = 0x4
-- RTNH_F_PERVASIVE = 0x2
-- RTN_MAX = 0xb
-- RTPROT_BABEL = 0x2a
-- RTPROT_BIRD = 0xc
-- RTPROT_BOOT = 0x3
-- RTPROT_DHCP = 0x10
-- RTPROT_DNROUTED = 0xd
-- RTPROT_GATED = 0x8
-- RTPROT_KERNEL = 0x2
-- RTPROT_MROUTED = 0x11
-- RTPROT_MRT = 0xa
-- RTPROT_NTK = 0xf
-- RTPROT_RA = 0x9
-- RTPROT_REDIRECT = 0x1
-- RTPROT_STATIC = 0x4
-- RTPROT_UNSPEC = 0x0
-- RTPROT_XORP = 0xe
-- RTPROT_ZEBRA = 0xb
-- RT_CLASS_DEFAULT = 0xfd
-- RT_CLASS_LOCAL = 0xff
-- RT_CLASS_MAIN = 0xfe
-- RT_CLASS_MAX = 0xff
-- RT_CLASS_UNSPEC = 0x0
-- RUSAGE_CHILDREN = -0x1
-- RUSAGE_SELF = 0x0
-- RUSAGE_THREAD = 0x1
-- SCM_CREDENTIALS = 0x2
-- SCM_RIGHTS = 0x1
-- SCM_TIMESTAMP = 0x1d
-- SCM_TIMESTAMPING = 0x25
-- SCM_TIMESTAMPING_OPT_STATS = 0x36
-- SCM_TIMESTAMPNS = 0x23
-- SCM_WIFI_STATUS = 0x29
-- SECCOMP_MODE_DISABLED = 0x0
-- SECCOMP_MODE_FILTER = 0x2
-- SECCOMP_MODE_STRICT = 0x1
-- SHUT_RD = 0x0
-- SHUT_RDWR = 0x2
-- SHUT_WR = 0x1
-- SIOCADDDLCI = 0x8980
-- SIOCADDMULTI = 0x8931
-- SIOCADDRT = 0x890b
-- SIOCATMARK = 0x8905
-- SIOCBONDCHANGEACTIVE = 0x8995
-- SIOCBONDENSLAVE = 0x8990
-- SIOCBONDINFOQUERY = 0x8994
-- SIOCBONDRELEASE = 0x8991
-- SIOCBONDSETHWADDR = 0x8992
-- SIOCBONDSLAVEINFOQUERY = 0x8993
-- SIOCBRADDBR = 0x89a0
-- SIOCBRADDIF = 0x89a2
-- SIOCBRDELBR = 0x89a1
-- SIOCBRDELIF = 0x89a3
-- SIOCDARP = 0x8953
-- SIOCDELDLCI = 0x8981
-- SIOCDELMULTI = 0x8932
-- SIOCDELRT = 0x890c
-- SIOCDEVPRIVATE = 0x89f0
-- SIOCDIFADDR = 0x8936
-- SIOCDRARP = 0x8960
-- SIOCETHTOOL = 0x8946
-- SIOCGARP = 0x8954
-- SIOCGHWTSTAMP = 0x89b1
-- SIOCGIFADDR = 0x8915
-- SIOCGIFBR = 0x8940
-- SIOCGIFBRDADDR = 0x8919
-- SIOCGIFCONF = 0x8912
-- SIOCGIFCOUNT = 0x8938
-- SIOCGIFDSTADDR = 0x8917
-- SIOCGIFENCAP = 0x8925
-- SIOCGIFFLAGS = 0x8913
-- SIOCGIFHWADDR = 0x8927
-- SIOCGIFINDEX = 0x8933
-- SIOCGIFMAP = 0x8970
-- SIOCGIFMEM = 0x891f
-- SIOCGIFMETRIC = 0x891d
-- SIOCGIFMTU = 0x8921
-- SIOCGIFNAME = 0x8910
-- SIOCGIFNETMASK = 0x891b
-- SIOCGIFPFLAGS = 0x8935
-- SIOCGIFSLAVE = 0x8929
-- SIOCGIFTXQLEN = 0x8942
-- SIOCGIFVLAN = 0x8982
-- SIOCGMIIPHY = 0x8947
-- SIOCGMIIREG = 0x8948
-- SIOCGPGRP = 0x8904
-- SIOCGRARP = 0x8961
-- SIOCGSKNS = 0x894c
-- SIOCGSTAMP = 0x8906
-- SIOCGSTAMPNS = 0x8907
-- SIOCINQ = 0x541b
-- SIOCOUTQ = 0x5411
-- SIOCOUTQNSD = 0x894b
-- SIOCPROTOPRIVATE = 0x89e0
-- SIOCRTMSG = 0x890d
-- SIOCSARP = 0x8955
-- SIOCSHWTSTAMP = 0x89b0
-- SIOCSIFADDR = 0x8916
-- SIOCSIFBR = 0x8941
-- SIOCSIFBRDADDR = 0x891a
-- SIOCSIFDSTADDR = 0x8918
-- SIOCSIFENCAP = 0x8926
-- SIOCSIFFLAGS = 0x8914
-- SIOCSIFHWADDR = 0x8924
-- SIOCSIFHWBROADCAST = 0x8937
-- SIOCSIFLINK = 0x8911
-- SIOCSIFMAP = 0x8971
-- SIOCSIFMEM = 0x8920
-- SIOCSIFMETRIC = 0x891e
-- SIOCSIFMTU = 0x8922
-- SIOCSIFNAME = 0x8923
-- SIOCSIFNETMASK = 0x891c
-- SIOCSIFPFLAGS = 0x8934
-- SIOCSIFSLAVE = 0x8930
-- SIOCSIFTXQLEN = 0x8943
-- SIOCSIFVLAN = 0x8983
-- SIOCSMIIREG = 0x8949
-- SIOCSPGRP = 0x8902
-- SIOCSRARP = 0x8962
-- SIOCWANDEV = 0x894a
-- SOCK_CLOEXEC = 0x80000
-- SOCK_DCCP = 0x6
-- SOCK_DGRAM = 0x2
-- SOCK_IOC_TYPE = 0x89
-- SOCK_NONBLOCK = 0x800
-- SOCK_PACKET = 0xa
-- SOCK_RAW = 0x3
-- SOCK_RDM = 0x4
-- SOCK_SEQPACKET = 0x5
-- SOCK_STREAM = 0x1
-- SOL_AAL = 0x109
-- SOL_ALG = 0x117
-- SOL_ATM = 0x108
-- SOL_CAIF = 0x116
-- SOL_CAN_BASE = 0x64
-- SOL_DCCP = 0x10d
-- SOL_DECNET = 0x105
-- SOL_ICMPV6 = 0x3a
-- SOL_IP = 0x0
-- SOL_IPV6 = 0x29
-- SOL_IRDA = 0x10a
-- SOL_IUCV = 0x115
-- SOL_KCM = 0x119
-- SOL_LLC = 0x10c
-- SOL_NETBEUI = 0x10b
-- SOL_NETLINK = 0x10e
-- SOL_NFC = 0x118
-- SOL_PACKET = 0x107
-- SOL_PNPIPE = 0x113
-- SOL_PPPOL2TP = 0x111
-- SOL_RAW = 0xff
-- SOL_RDS = 0x114
-- SOL_RXRPC = 0x110
-- SOL_SOCKET = 0x1
-- SOL_TCP = 0x6
-- SOL_TIPC = 0x10f
-- SOL_X25 = 0x106
-- SOMAXCONN = 0x80
-- SO_ACCEPTCONN = 0x1e
-- SO_ATTACH_BPF = 0x32
-- SO_ATTACH_FILTER = 0x1a
-- SO_ATTACH_REUSEPORT_CBPF = 0x33
-- SO_ATTACH_REUSEPORT_EBPF = 0x34
-- SO_BINDTODEVICE = 0x19
-- SO_BPF_EXTENSIONS = 0x30
-- SO_BROADCAST = 0x6
-- SO_BSDCOMPAT = 0xe
-- SO_BUSY_POLL = 0x2e
-- SO_CNX_ADVICE = 0x35
-- SO_DEBUG = 0x1
-- SO_DETACH_BPF = 0x1b
-- SO_DETACH_FILTER = 0x1b
-- SO_DOMAIN = 0x27
-- SO_DONTROUTE = 0x5
-- SO_ERROR = 0x4
-- SO_GET_FILTER = 0x1a
-- SO_INCOMING_CPU = 0x31
-- SO_KEEPALIVE = 0x9
-- SO_LINGER = 0xd
-- SO_LOCK_FILTER = 0x2c
-- SO_MARK = 0x24
-- SO_MAX_PACING_RATE = 0x2f
-- SO_NOFCS = 0x2b
-- SO_NO_CHECK = 0xb
-- SO_OOBINLINE = 0xa
-- SO_PASSCRED = 0x10
-- SO_PASSSEC = 0x22
-- SO_PEEK_OFF = 0x2a
-- SO_PEERCRED = 0x11
-- SO_PEERNAME = 0x1c
-- SO_PEERSEC = 0x1f
-- SO_PRIORITY = 0xc
-- SO_PROTOCOL = 0x26
-- SO_RCVBUF = 0x8
-- SO_RCVBUFFORCE = 0x21
-- SO_RCVLOWAT = 0x12
-- SO_RCVTIMEO = 0x14
-- SO_REUSEADDR = 0x2
-- SO_REUSEPORT = 0xf
-- SO_RXQ_OVFL = 0x28
-- SO_SECURITY_AUTHENTICATION = 0x16
-- SO_SECURITY_ENCRYPTION_NETWORK = 0x18
-- SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
-- SO_SELECT_ERR_QUEUE = 0x2d
-- SO_SNDBUF = 0x7
-- SO_SNDBUFFORCE = 0x20
-- SO_SNDLOWAT = 0x13
-- SO_SNDTIMEO = 0x15
-- SO_TIMESTAMP = 0x1d
-- SO_TIMESTAMPING = 0x25
-- SO_TIMESTAMPNS = 0x23
-- SO_TYPE = 0x3
-- SO_VM_SOCKETS_BUFFER_MAX_SIZE = 0x2
-- SO_VM_SOCKETS_BUFFER_MIN_SIZE = 0x1
-- SO_VM_SOCKETS_BUFFER_SIZE = 0x0
-- SO_VM_SOCKETS_CONNECT_TIMEOUT = 0x6
-- SO_VM_SOCKETS_NONBLOCK_TXRX = 0x7
-- SO_VM_SOCKETS_PEER_HOST_VM_ID = 0x3
-- SO_VM_SOCKETS_TRUSTED = 0x5
-- SO_WIFI_STATUS = 0x29
-- SPLICE_F_GIFT = 0x8
-- SPLICE_F_MORE = 0x4
-- SPLICE_F_MOVE = 0x1
-- SPLICE_F_NONBLOCK = 0x2
-- S_BLKSIZE = 0x200
-- S_IEXEC = 0x40
-- S_IFBLK = 0x6000
-- S_IFCHR = 0x2000
-- S_IFDIR = 0x4000
-- S_IFIFO = 0x1000
-- S_IFLNK = 0xa000
-- S_IFMT = 0xf000
-- S_IFREG = 0x8000
-- S_IFSOCK = 0xc000
-- S_IREAD = 0x100
-- S_IRGRP = 0x20
-- S_IROTH = 0x4
-- S_IRUSR = 0x100
-- S_IRWXG = 0x38
-- S_IRWXO = 0x7
-- S_IRWXU = 0x1c0
-- S_ISGID = 0x400
-- S_ISUID = 0x800
-- S_ISVTX = 0x200
-- S_IWGRP = 0x10
-- S_IWOTH = 0x2
-- S_IWRITE = 0x80
-- S_IWUSR = 0x80
-- S_IXGRP = 0x8
-- S_IXOTH = 0x1
-- S_IXUSR = 0x40
-- TAB0 = 0x0
-- TAB1 = 0x800
-- TAB2 = 0x1000
-- TAB3 = 0x1800
-- TABDLY = 0x1800
-- TASKSTATS_CMD_ATTR_MAX = 0x4
-- TASKSTATS_CMD_MAX = 0x2
-- TASKSTATS_GENL_NAME = "TASKSTATS"
-- TASKSTATS_GENL_VERSION = 0x1
-- TASKSTATS_TYPE_MAX = 0x6
-- TASKSTATS_VERSION = 0x8
-- TCFLSH = 0x540b
-- TCGETA = 0x5405
-- TCGETS = 0x5401
-- TCGETS2 = 0x802c542a
-- TCGETX = 0x5432
-- TCIFLUSH = 0x0
-- TCIOFF = 0x2
-- TCIOFLUSH = 0x2
-- TCION = 0x3
-- TCOFLUSH = 0x1
-- TCOOFF = 0x0
-- TCOON = 0x1
-- TCP_CC_INFO = 0x1a
-- TCP_CONGESTION = 0xd
-- TCP_COOKIE_IN_ALWAYS = 0x1
-- TCP_COOKIE_MAX = 0x10
-- TCP_COOKIE_MIN = 0x8
-- TCP_COOKIE_OUT_NEVER = 0x2
-- TCP_COOKIE_PAIR_SIZE = 0x20
-- TCP_COOKIE_TRANSACTIONS = 0xf
-- TCP_CORK = 0x3
-- TCP_DEFER_ACCEPT = 0x9
-- TCP_FASTOPEN = 0x17
-- TCP_INFO = 0xb
-- TCP_KEEPCNT = 0x6
-- TCP_KEEPIDLE = 0x4
-- TCP_KEEPINTVL = 0x5
-- TCP_LINGER2 = 0x8
-- TCP_MAXSEG = 0x2
-- TCP_MAXWIN = 0xffff
-- TCP_MAX_WINSHIFT = 0xe
-- TCP_MD5SIG = 0xe
-- TCP_MD5SIG_MAXKEYLEN = 0x50
-- TCP_MSS = 0x200
-- TCP_MSS_DEFAULT = 0x218
-- TCP_MSS_DESIRED = 0x4c4
-- TCP_NODELAY = 0x1
-- TCP_NOTSENT_LOWAT = 0x19
-- TCP_QUEUE_SEQ = 0x15
-- TCP_QUICKACK = 0xc
-- TCP_REPAIR = 0x13
-- TCP_REPAIR_OPTIONS = 0x16
-- TCP_REPAIR_QUEUE = 0x14
-- TCP_REPAIR_WINDOW = 0x1d
-- TCP_SAVED_SYN = 0x1c
-- TCP_SAVE_SYN = 0x1b
-- TCP_SYNCNT = 0x7
-- TCP_S_DATA_IN = 0x4
-- TCP_S_DATA_OUT = 0x8
-- TCP_THIN_DUPACK = 0x11
-- TCP_THIN_LINEAR_TIMEOUTS = 0x10
-- TCP_TIMESTAMP = 0x18
-- TCP_USER_TIMEOUT = 0x12
-- TCP_WINDOW_CLAMP = 0xa
-- TCSAFLUSH = 0x2
-- TCSBRK = 0x5409
-- TCSBRKP = 0x5425
-- TCSETA = 0x5406
-- TCSETAF = 0x5408
-- TCSETAW = 0x5407
-- TCSETS = 0x5402
-- TCSETS2 = 0x402c542b
-- TCSETSF = 0x5404
-- TCSETSF2 = 0x402c542d
-- TCSETSW = 0x5403
-- TCSETSW2 = 0x402c542c
-- TCSETX = 0x5433
-- TCSETXF = 0x5434
-- TCSETXW = 0x5435
-- TCXONC = 0x540a
-- TIOCCBRK = 0x5428
-- TIOCCONS = 0x541d
-- TIOCEXCL = 0x540c
-- TIOCGDEV = 0x80045432
-- TIOCGETD = 0x5424
-- TIOCGEXCL = 0x80045440
-- TIOCGICOUNT = 0x545d
-- TIOCGLCKTRMIOS = 0x5456
-- TIOCGPGRP = 0x540f
-- TIOCGPKT = 0x80045438
-- TIOCGPTLCK = 0x80045439
-- TIOCGPTN = 0x80045430
-- TIOCGRS485 = 0x542e
-- TIOCGSERIAL = 0x541e
-- TIOCGSID = 0x5429
-- TIOCGSOFTCAR = 0x5419
-- TIOCGWINSZ = 0x5413
-- TIOCINQ = 0x541b
-- TIOCLINUX = 0x541c
-- TIOCMBIC = 0x5417
-- TIOCMBIS = 0x5416
-- TIOCMGET = 0x5415
-- TIOCMIWAIT = 0x545c
-- TIOCMSET = 0x5418
-- TIOCM_CAR = 0x40
-- TIOCM_CD = 0x40
-- TIOCM_CTS = 0x20
-- TIOCM_DSR = 0x100
-- TIOCM_DTR = 0x2
-- TIOCM_LE = 0x1
-- TIOCM_RI = 0x80
-- TIOCM_RNG = 0x80
-- TIOCM_RTS = 0x4
-- TIOCM_SR = 0x10
-- TIOCM_ST = 0x8
-- TIOCNOTTY = 0x5422
-- TIOCNXCL = 0x540d
-- TIOCOUTQ = 0x5411
-- TIOCPKT = 0x5420
-- TIOCPKT_DATA = 0x0
-- TIOCPKT_DOSTOP = 0x20
-- TIOCPKT_FLUSHREAD = 0x1
-- TIOCPKT_FLUSHWRITE = 0x2
-- TIOCPKT_IOCTL = 0x40
-- TIOCPKT_NOSTOP = 0x10
-- TIOCPKT_START = 0x8
-- TIOCPKT_STOP = 0x4
-- TIOCSBRK = 0x5427
-- TIOCSCTTY = 0x540e
-- TIOCSERCONFIG = 0x5453
-- TIOCSERGETLSR = 0x5459
-- TIOCSERGETMULTI = 0x545a
-- TIOCSERGSTRUCT = 0x5458
-- TIOCSERGWILD = 0x5454
-- TIOCSERSETMULTI = 0x545b
-- TIOCSERSWILD = 0x5455
-- TIOCSER_TEMT = 0x1
-- TIOCSETD = 0x5423
-- TIOCSIG = 0x40045436
-- TIOCSLCKTRMIOS = 0x5457
-- TIOCSPGRP = 0x5410
-- TIOCSPTLCK = 0x40045431
-- TIOCSRS485 = 0x542f
-- TIOCSSERIAL = 0x541f
-- TIOCSSOFTCAR = 0x541a
-- TIOCSTI = 0x5412
-- TIOCSWINSZ = 0x5414
-- TIOCVHANGUP = 0x5437
-- TOSTOP = 0x100
-- TS_COMM_LEN = 0x20
-- TUNATTACHFILTER = 0x401054d5
-- TUNDETACHFILTER = 0x401054d6
-- TUNGETFEATURES = 0x800454cf
-- TUNGETFILTER = 0x801054db
-- TUNGETIFF = 0x800454d2
-- TUNGETSNDBUF = 0x800454d3
-- TUNGETVNETBE = 0x800454df
-- TUNGETVNETHDRSZ = 0x800454d7
-- TUNGETVNETLE = 0x800454dd
-- TUNSETDEBUG = 0x400454c9
-- TUNSETGROUP = 0x400454ce
-- TUNSETIFF = 0x400454ca
-- TUNSETIFINDEX = 0x400454da
-- TUNSETLINK = 0x400454cd
-- TUNSETNOCSUM = 0x400454c8
-- TUNSETOFFLOAD = 0x400454d0
-- TUNSETOWNER = 0x400454cc
-- TUNSETPERSIST = 0x400454cb
-- TUNSETQUEUE = 0x400454d9
-- TUNSETSNDBUF = 0x400454d4
-- TUNSETTXFILTER = 0x400454d1
-- TUNSETVNETBE = 0x400454de
-- TUNSETVNETHDRSZ = 0x400454d8
-- TUNSETVNETLE = 0x400454dc
-- UMOUNT_NOFOLLOW = 0x8
-- VDISCARD = 0xd
-- VEOF = 0x4
-- VEOL = 0xb
-- VEOL2 = 0x10
-- VERASE = 0x2
-- VINTR = 0x0
-- VKILL = 0x3
-- VLNEXT = 0xf
-- VMADDR_CID_ANY = 0xffffffff
-- VMADDR_CID_HOST = 0x2
-- VMADDR_CID_HYPERVISOR = 0x0
-- VMADDR_CID_RESERVED = 0x1
-- VMADDR_PORT_ANY = 0xffffffff
-- VMIN = 0x6
-- VM_SOCKETS_INVALID_VERSION = 0xffffffff
-- VQUIT = 0x1
-- VREPRINT = 0xc
-- VSTART = 0x8
-- VSTOP = 0x9
-- VSUSP = 0xa
-- VSWTC = 0x7
-- VT0 = 0x0
-- VT1 = 0x4000
-- VTDLY = 0x4000
-- VTIME = 0x5
-- VWERASE = 0xe
-- WALL = 0x40000000
-- WCLONE = 0x80000000
-- WCONTINUED = 0x8
-- WEXITED = 0x4
-- WNOHANG = 0x1
-- WNOTHREAD = 0x20000000
-- WNOWAIT = 0x1000000
-- WORDSIZE = 0x40
-- WSTOPPED = 0x2
-- WUNTRACED = 0x2
-- XATTR_CREATE = 0x1
-- XATTR_REPLACE = 0x2
-- XCASE = 0x4
-- XTABS = 0x1800
-+ 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
-+ 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
-+ FLUSHO = 0x1000
-+ FP_XSTATE_MAGIC2 = 0x46505845
-+ FS_IOC_ENABLE_VERITY = 0x40806685
-+ FS_IOC_GETFLAGS = 0x80086601
-+ FS_IOC_GET_ENCRYPTION_POLICY = 0x400c6615
-+ FS_IOC_GET_ENCRYPTION_PWSALT = 0x40106614
-+ 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
-+ 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_32BIT = 0x40
-+ 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
-+ 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
-+ 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
-+ 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
-+ PPPIOCXFERUNIT = 0x744e
-+ PR_SET_PTRACER_ANY = 0xffffffffffffffff
-+ PTRACE_ARCH_PRCTL = 0x1e
-+ PTRACE_GETFPREGS = 0xe
-+ PTRACE_GETFPXREGS = 0x12
-+ PTRACE_GET_THREAD_AREA = 0x19
-+ PTRACE_OLDSETOPTIONS = 0x15
-+ PTRACE_SETFPREGS = 0xf
-+ PTRACE_SETFPXREGS = 0x13
-+ PTRACE_SET_THREAD_AREA = 0x1a
-+ PTRACE_SINGLEBLOCK = 0x21
-+ 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_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_BUSY_POLL = 0x2e
-+ 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_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_PROTOCOL = 0x26
-+ SO_RCVBUF = 0x8
-+ SO_RCVBUFFORCE = 0x21
-+ SO_RCVLOWAT = 0x12
-+ SO_RCVTIMEO = 0x14
-+ SO_RCVTIMEO_NEW = 0x42
-+ SO_RCVTIMEO_OLD = 0x14
-+ SO_REUSEADDR = 0x2
-+ SO_REUSEPORT = 0xf
-+ SO_RXQ_OVFL = 0x28
-+ SO_SECURITY_AUTHENTICATION = 0x16
-+ SO_SECURITY_ENCRYPTION_NETWORK = 0x18
-+ SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
-+ SO_SELECT_ERR_QUEUE = 0x2d
-+ SO_SNDBUF = 0x7
-+ SO_SNDBUFFORCE = 0x20
-+ SO_SNDLOWAT = 0x13
-+ SO_SNDTIMEO = 0x15
-+ SO_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_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
-+ 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
- )
-
- // Errors
- const (
-- E2BIG = syscall.Errno(0x7)
-- EACCES = syscall.Errno(0xd)
- EADDRINUSE = syscall.Errno(0x62)
- EADDRNOTAVAIL = syscall.Errno(0x63)
- EADV = syscall.Errno(0x44)
- EAFNOSUPPORT = syscall.Errno(0x61)
-- EAGAIN = syscall.Errno(0xb)
- EALREADY = syscall.Errno(0x72)
- EBADE = syscall.Errno(0x34)
-- EBADF = syscall.Errno(0x9)
- EBADFD = syscall.Errno(0x4d)
- EBADMSG = syscall.Errno(0x4a)
- EBADR = syscall.Errno(0x35)
- EBADRQC = syscall.Errno(0x38)
- EBADSLT = syscall.Errno(0x39)
- EBFONT = syscall.Errno(0x3b)
-- EBUSY = syscall.Errno(0x10)
- ECANCELED = syscall.Errno(0x7d)
-- ECHILD = syscall.Errno(0xa)
- ECHRNG = syscall.Errno(0x2c)
- ECOMM = syscall.Errno(0x46)
- ECONNABORTED = syscall.Errno(0x67)
-@@ -1882,23 +500,15 @@ const (
- EDEADLK = syscall.Errno(0x23)
- EDEADLOCK = syscall.Errno(0x23)
- EDESTADDRREQ = syscall.Errno(0x59)
-- EDOM = syscall.Errno(0x21)
- EDOTDOT = syscall.Errno(0x49)
- EDQUOT = syscall.Errno(0x7a)
-- EEXIST = syscall.Errno(0x11)
-- EFAULT = syscall.Errno(0xe)
-- EFBIG = syscall.Errno(0x1b)
- EHOSTDOWN = syscall.Errno(0x70)
- EHOSTUNREACH = syscall.Errno(0x71)
- EHWPOISON = syscall.Errno(0x85)
- EIDRM = syscall.Errno(0x2b)
- EILSEQ = syscall.Errno(0x54)
- EINPROGRESS = syscall.Errno(0x73)
-- EINTR = syscall.Errno(0x4)
-- EINVAL = syscall.Errno(0x16)
-- EIO = syscall.Errno(0x5)
- EISCONN = syscall.Errno(0x6a)
-- EISDIR = syscall.Errno(0x15)
- EISNAM = syscall.Errno(0x78)
- EKEYEXPIRED = syscall.Errno(0x7f)
- EKEYREJECTED = syscall.Errno(0x81)
-@@ -1915,8 +525,6 @@ const (
- ELNRNG = syscall.Errno(0x30)
- ELOOP = syscall.Errno(0x28)
- EMEDIUMTYPE = syscall.Errno(0x7c)
-- EMFILE = syscall.Errno(0x18)
-- EMLINK = syscall.Errno(0x1f)
- EMSGSIZE = syscall.Errno(0x5a)
- EMULTIHOP = syscall.Errno(0x48)
- ENAMETOOLONG = syscall.Errno(0x24)
-@@ -1924,103 +532,70 @@ const (
- ENETDOWN = syscall.Errno(0x64)
- ENETRESET = syscall.Errno(0x66)
- ENETUNREACH = syscall.Errno(0x65)
-- ENFILE = syscall.Errno(0x17)
- ENOANO = syscall.Errno(0x37)
- ENOBUFS = syscall.Errno(0x69)
- ENOCSI = syscall.Errno(0x32)
- ENODATA = syscall.Errno(0x3d)
-- ENODEV = syscall.Errno(0x13)
-- ENOENT = syscall.Errno(0x2)
-- ENOEXEC = syscall.Errno(0x8)
- ENOKEY = syscall.Errno(0x7e)
- ENOLCK = syscall.Errno(0x25)
- ENOLINK = syscall.Errno(0x43)
- ENOMEDIUM = syscall.Errno(0x7b)
-- ENOMEM = syscall.Errno(0xc)
- ENOMSG = syscall.Errno(0x2a)
- ENONET = syscall.Errno(0x40)
- ENOPKG = syscall.Errno(0x41)
- ENOPROTOOPT = syscall.Errno(0x5c)
-- ENOSPC = syscall.Errno(0x1c)
- ENOSR = syscall.Errno(0x3f)
- ENOSTR = syscall.Errno(0x3c)
- ENOSYS = syscall.Errno(0x26)
-- ENOTBLK = syscall.Errno(0xf)
- ENOTCONN = syscall.Errno(0x6b)
-- ENOTDIR = syscall.Errno(0x14)
- ENOTEMPTY = syscall.Errno(0x27)
- ENOTNAM = syscall.Errno(0x76)
- ENOTRECOVERABLE = syscall.Errno(0x83)
- ENOTSOCK = syscall.Errno(0x58)
- ENOTSUP = syscall.Errno(0x5f)
-- ENOTTY = syscall.Errno(0x19)
- ENOTUNIQ = syscall.Errno(0x4c)
-- ENXIO = syscall.Errno(0x6)
- EOPNOTSUPP = syscall.Errno(0x5f)
- EOVERFLOW = syscall.Errno(0x4b)
- EOWNERDEAD = syscall.Errno(0x82)
-- EPERM = syscall.Errno(0x1)
- EPFNOSUPPORT = syscall.Errno(0x60)
-- EPIPE = syscall.Errno(0x20)
- EPROTO = syscall.Errno(0x47)
- EPROTONOSUPPORT = syscall.Errno(0x5d)
- EPROTOTYPE = syscall.Errno(0x5b)
-- ERANGE = syscall.Errno(0x22)
- EREMCHG = syscall.Errno(0x4e)
- EREMOTE = syscall.Errno(0x42)
- EREMOTEIO = syscall.Errno(0x79)
- ERESTART = syscall.Errno(0x55)
- ERFKILL = syscall.Errno(0x84)
-- EROFS = syscall.Errno(0x1e)
- ESHUTDOWN = syscall.Errno(0x6c)
- ESOCKTNOSUPPORT = syscall.Errno(0x5e)
-- ESPIPE = syscall.Errno(0x1d)
-- ESRCH = syscall.Errno(0x3)
- ESRMNT = syscall.Errno(0x45)
- ESTALE = syscall.Errno(0x74)
- ESTRPIPE = syscall.Errno(0x56)
- ETIME = syscall.Errno(0x3e)
- ETIMEDOUT = syscall.Errno(0x6e)
- ETOOMANYREFS = syscall.Errno(0x6d)
-- ETXTBSY = syscall.Errno(0x1a)
- EUCLEAN = syscall.Errno(0x75)
- EUNATCH = syscall.Errno(0x31)
- EUSERS = syscall.Errno(0x57)
-- EWOULDBLOCK = syscall.Errno(0xb)
-- EXDEV = syscall.Errno(0x12)
- EXFULL = syscall.Errno(0x36)
- )
-
- // Signals
- const (
-- SIGABRT = syscall.Signal(0x6)
-- SIGALRM = syscall.Signal(0xe)
- SIGBUS = syscall.Signal(0x7)
- SIGCHLD = syscall.Signal(0x11)
- SIGCLD = syscall.Signal(0x11)
- SIGCONT = syscall.Signal(0x12)
-- SIGFPE = syscall.Signal(0x8)
-- SIGHUP = syscall.Signal(0x1)
-- SIGILL = syscall.Signal(0x4)
-- SIGINT = syscall.Signal(0x2)
- SIGIO = syscall.Signal(0x1d)
-- SIGIOT = syscall.Signal(0x6)
-- SIGKILL = syscall.Signal(0x9)
-- SIGPIPE = syscall.Signal(0xd)
- SIGPOLL = syscall.Signal(0x1d)
- SIGPROF = syscall.Signal(0x1b)
- SIGPWR = syscall.Signal(0x1e)
-- SIGQUIT = syscall.Signal(0x3)
-- SIGSEGV = syscall.Signal(0xb)
- SIGSTKFLT = syscall.Signal(0x10)
- SIGSTOP = syscall.Signal(0x13)
- SIGSYS = syscall.Signal(0x1f)
-- SIGTERM = syscall.Signal(0xf)
-- SIGTRAP = syscall.Signal(0x5)
- SIGTSTP = syscall.Signal(0x14)
- SIGTTIN = syscall.Signal(0x15)
- SIGTTOU = syscall.Signal(0x16)
-- SIGUNUSED = syscall.Signal(0x1f)
- SIGURG = syscall.Signal(0x17)
- SIGUSR1 = syscall.Signal(0xa)
- SIGUSR2 = syscall.Signal(0xc)
-@@ -2031,171 +606,179 @@ const (
- )
-
- // Error table
--var errors = [...]string{
-- 1: "operation not permitted",
-- 2: "no such file or directory",
-- 3: "no such process",
-- 4: "interrupted system call",
-- 5: "input/output error",
-- 6: "no such device or address",
-- 7: "argument list too long",
-- 8: "exec format error",
-- 9: "bad file descriptor",
-- 10: "no child processes",
-- 11: "resource temporarily unavailable",
-- 12: "cannot allocate memory",
-- 13: "permission denied",
-- 14: "bad address",
-- 15: "block device required",
-- 16: "device or resource busy",
-- 17: "file exists",
-- 18: "invalid cross-device link",
-- 19: "no such device",
-- 20: "not a directory",
-- 21: "is a directory",
-- 22: "invalid argument",
-- 23: "too many open files in system",
-- 24: "too many open files",
-- 25: "inappropriate ioctl for device",
-- 26: "text file busy",
-- 27: "file too large",
-- 28: "no space left on device",
-- 29: "illegal seek",
-- 30: "read-only file system",
-- 31: "too many links",
-- 32: "broken pipe",
-- 33: "numerical argument out of domain",
-- 34: "numerical result out of range",
-- 35: "resource deadlock avoided",
-- 36: "file name too long",
-- 37: "no locks available",
-- 38: "function not implemented",
-- 39: "directory not empty",
-- 40: "too many levels of symbolic links",
-- 42: "no message of desired type",
-- 43: "identifier removed",
-- 44: "channel number out of range",
-- 45: "level 2 not synchronized",
-- 46: "level 3 halted",
-- 47: "level 3 reset",
-- 48: "link number out of range",
-- 49: "protocol driver not attached",
-- 50: "no CSI structure available",
-- 51: "level 2 halted",
-- 52: "invalid exchange",
-- 53: "invalid request descriptor",
-- 54: "exchange full",
-- 55: "no anode",
-- 56: "invalid request code",
-- 57: "invalid slot",
-- 59: "bad font file format",
-- 60: "device not a stream",
-- 61: "no data available",
-- 62: "timer expired",
-- 63: "out of streams resources",
-- 64: "machine is not on the network",
-- 65: "package not installed",
-- 66: "object is remote",
-- 67: "link has been severed",
-- 68: "advertise error",
-- 69: "srmount error",
-- 70: "communication error on send",
-- 71: "protocol error",
-- 72: "multihop attempted",
-- 73: "RFS specific error",
-- 74: "bad message",
-- 75: "value too large for defined data type",
-- 76: "name not unique on network",
-- 77: "file descriptor in bad state",
-- 78: "remote address changed",
-- 79: "can not access a needed shared library",
-- 80: "accessing a corrupted shared library",
-- 81: ".lib section in a.out corrupted",
-- 82: "attempting to link in too many shared libraries",
-- 83: "cannot exec a shared library directly",
-- 84: "invalid or incomplete multibyte or wide character",
-- 85: "interrupted system call should be restarted",
-- 86: "streams pipe error",
-- 87: "too many users",
-- 88: "socket operation on non-socket",
-- 89: "destination address required",
-- 90: "message too long",
-- 91: "protocol wrong type for socket",
-- 92: "protocol not available",
-- 93: "protocol not supported",
-- 94: "socket type not supported",
-- 95: "operation not supported",
-- 96: "protocol family not supported",
-- 97: "address family not supported by protocol",
-- 98: "address already in use",
-- 99: "cannot assign requested address",
-- 100: "network is down",
-- 101: "network is unreachable",
-- 102: "network dropped connection on reset",
-- 103: "software caused connection abort",
-- 104: "connection reset by peer",
-- 105: "no buffer space available",
-- 106: "transport endpoint is already connected",
-- 107: "transport endpoint is not connected",
-- 108: "cannot send after transport endpoint shutdown",
-- 109: "too many references: cannot splice",
-- 110: "connection timed out",
-- 111: "connection refused",
-- 112: "host is down",
-- 113: "no route to host",
-- 114: "operation already in progress",
-- 115: "operation now in progress",
-- 116: "stale file handle",
-- 117: "structure needs cleaning",
-- 118: "not a XENIX named type file",
-- 119: "no XENIX semaphores available",
-- 120: "is a named type file",
-- 121: "remote I/O error",
-- 122: "disk quota exceeded",
-- 123: "no medium found",
-- 124: "wrong medium type",
-- 125: "operation canceled",
-- 126: "required key not available",
-- 127: "key has expired",
-- 128: "key has been revoked",
-- 129: "key was rejected by service",
-- 130: "owner died",
-- 131: "state not recoverable",
-- 132: "operation not possible due to RF-kill",
-- 133: "memory page has hardware error",
-+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 signals = [...]string{
-- 1: "hangup",
-- 2: "interrupt",
-- 3: "quit",
-- 4: "illegal instruction",
-- 5: "trace/breakpoint trap",
-- 6: "aborted",
-- 7: "bus error",
-- 8: "floating point exception",
-- 9: "killed",
-- 10: "user defined signal 1",
-- 11: "segmentation fault",
-- 12: "user defined signal 2",
-- 13: "broken pipe",
-- 14: "alarm clock",
-- 15: "terminated",
-- 16: "stack fault",
-- 17: "child exited",
-- 18: "continued",
-- 19: "stopped (signal)",
-- 20: "stopped",
-- 21: "stopped (tty input)",
-- 22: "stopped (tty output)",
-- 23: "urgent I/O condition",
-- 24: "CPU time limit exceeded",
-- 25: "file size limit exceeded",
-- 26: "virtual timer expired",
-- 27: "profiling timer expired",
-- 28: "window changed",
-- 29: "I/O possible",
-- 30: "power failure",
-- 31: "bad system call",
-+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_arm.go b/vendor/golang.org/x/sys/unix/zerrors_linux_arm.go
-index 1adff0b2..0541f36e 100644
---- a/vendor/golang.org/x/sys/unix/zerrors_linux_arm.go
-+++ b/vendor/golang.org/x/sys/unix/zerrors_linux_arm.go
-@@ -3,7 +3,7 @@
-
- // +build arm,linux
-
--// Created by cgo -godefs - DO NOT EDIT
-+// Code generated by cmd/cgo -godefs; DO NOT EDIT.
- // cgo -godefs -- -Wall -Werror -static -I/tmp/include _const.go
-
- package unix
-@@ -11,1873 +11,493 @@ package unix
- import "syscall"
-
- const (
-- AF_ALG = 0x26
-- AF_APPLETALK = 0x5
-- AF_ASH = 0x12
-- AF_ATMPVC = 0x8
-- AF_ATMSVC = 0x14
-- AF_AX25 = 0x3
-- AF_BLUETOOTH = 0x1f
-- AF_BRIDGE = 0x7
-- AF_CAIF = 0x25
-- AF_CAN = 0x1d
-- AF_DECnet = 0xc
-- AF_ECONET = 0x13
-- AF_FILE = 0x1
-- AF_IB = 0x1b
-- AF_IEEE802154 = 0x24
-- AF_INET = 0x2
-- AF_INET6 = 0xa
-- AF_IPX = 0x4
-- AF_IRDA = 0x17
-- AF_ISDN = 0x22
-- AF_IUCV = 0x20
-- AF_KCM = 0x29
-- AF_KEY = 0xf
-- AF_LLC = 0x1a
-- AF_LOCAL = 0x1
-- AF_MAX = 0x2b
-- AF_MPLS = 0x1c
-- AF_NETBEUI = 0xd
-- AF_NETLINK = 0x10
-- AF_NETROM = 0x6
-- AF_NFC = 0x27
-- AF_PACKET = 0x11
-- AF_PHONET = 0x23
-- AF_PPPOX = 0x18
-- AF_QIPCRTR = 0x2a
-- AF_RDS = 0x15
-- AF_ROSE = 0xb
-- AF_ROUTE = 0x10
-- AF_RXRPC = 0x21
-- AF_SECURITY = 0xe
-- AF_SNA = 0x16
-- AF_TIPC = 0x1e
-- AF_UNIX = 0x1
-- AF_UNSPEC = 0x0
-- AF_VSOCK = 0x28
-- AF_WANPIPE = 0x19
-- AF_X25 = 0x9
-- ALG_OP_DECRYPT = 0x0
-- ALG_OP_ENCRYPT = 0x1
-- ALG_SET_AEAD_ASSOCLEN = 0x4
-- ALG_SET_AEAD_AUTHSIZE = 0x5
-- ALG_SET_IV = 0x2
-- ALG_SET_KEY = 0x1
-- ALG_SET_OP = 0x3
-- ARPHRD_6LOWPAN = 0x339
-- ARPHRD_ADAPT = 0x108
-- ARPHRD_APPLETLK = 0x8
-- ARPHRD_ARCNET = 0x7
-- ARPHRD_ASH = 0x30d
-- ARPHRD_ATM = 0x13
-- ARPHRD_AX25 = 0x3
-- ARPHRD_BIF = 0x307
-- ARPHRD_CAIF = 0x336
-- ARPHRD_CAN = 0x118
-- ARPHRD_CHAOS = 0x5
-- ARPHRD_CISCO = 0x201
-- ARPHRD_CSLIP = 0x101
-- ARPHRD_CSLIP6 = 0x103
-- ARPHRD_DDCMP = 0x205
-- ARPHRD_DLCI = 0xf
-- ARPHRD_ECONET = 0x30e
-- ARPHRD_EETHER = 0x2
-- ARPHRD_ETHER = 0x1
-- ARPHRD_EUI64 = 0x1b
-- ARPHRD_FCAL = 0x311
-- ARPHRD_FCFABRIC = 0x313
-- ARPHRD_FCPL = 0x312
-- ARPHRD_FCPP = 0x310
-- ARPHRD_FDDI = 0x306
-- ARPHRD_FRAD = 0x302
-- ARPHRD_HDLC = 0x201
-- ARPHRD_HIPPI = 0x30c
-- ARPHRD_HWX25 = 0x110
-- ARPHRD_IEEE1394 = 0x18
-- ARPHRD_IEEE802 = 0x6
-- ARPHRD_IEEE80211 = 0x321
-- ARPHRD_IEEE80211_PRISM = 0x322
-- ARPHRD_IEEE80211_RADIOTAP = 0x323
-- ARPHRD_IEEE802154 = 0x324
-- ARPHRD_IEEE802154_MONITOR = 0x325
-- ARPHRD_IEEE802_TR = 0x320
-- ARPHRD_INFINIBAND = 0x20
-- ARPHRD_IP6GRE = 0x337
-- ARPHRD_IPDDP = 0x309
-- ARPHRD_IPGRE = 0x30a
-- ARPHRD_IRDA = 0x30f
-- ARPHRD_LAPB = 0x204
-- ARPHRD_LOCALTLK = 0x305
-- ARPHRD_LOOPBACK = 0x304
-- ARPHRD_METRICOM = 0x17
-- ARPHRD_NETLINK = 0x338
-- ARPHRD_NETROM = 0x0
-- ARPHRD_NONE = 0xfffe
-- ARPHRD_PHONET = 0x334
-- ARPHRD_PHONET_PIPE = 0x335
-- ARPHRD_PIMREG = 0x30b
-- ARPHRD_PPP = 0x200
-- ARPHRD_PRONET = 0x4
-- ARPHRD_RAWHDLC = 0x206
-- ARPHRD_ROSE = 0x10e
-- ARPHRD_RSRVD = 0x104
-- ARPHRD_SIT = 0x308
-- ARPHRD_SKIP = 0x303
-- ARPHRD_SLIP = 0x100
-- ARPHRD_SLIP6 = 0x102
-- ARPHRD_TUNNEL = 0x300
-- ARPHRD_TUNNEL6 = 0x301
-- ARPHRD_VOID = 0xffff
-- ARPHRD_X25 = 0x10f
-- B0 = 0x0
-- B1000000 = 0x1008
-- B110 = 0x3
-- B115200 = 0x1002
-- B1152000 = 0x1009
-- B1200 = 0x9
-- B134 = 0x4
-- B150 = 0x5
-- B1500000 = 0x100a
-- B1800 = 0xa
-- B19200 = 0xe
-- B200 = 0x6
-- B2000000 = 0x100b
-- B230400 = 0x1003
-- B2400 = 0xb
-- B2500000 = 0x100c
-- B300 = 0x7
-- B3000000 = 0x100d
-- B3500000 = 0x100e
-- B38400 = 0xf
-- B4000000 = 0x100f
-- B460800 = 0x1004
-- B4800 = 0xc
-- B50 = 0x1
-- B500000 = 0x1005
-- B57600 = 0x1001
-- B576000 = 0x1006
-- B600 = 0x8
-- B75 = 0x2
-- B921600 = 0x1007
-- B9600 = 0xd
-- BLKBSZGET = 0x80041270
-- BLKBSZSET = 0x40041271
-- BLKFLSBUF = 0x1261
-- BLKFRAGET = 0x1265
-- BLKFRASET = 0x1264
-- BLKGETSIZE = 0x1260
-- BLKGETSIZE64 = 0x80041272
-- BLKPBSZGET = 0x127b
-- BLKRAGET = 0x1263
-- BLKRASET = 0x1262
-- BLKROGET = 0x125e
-- BLKROSET = 0x125d
-- BLKRRPART = 0x125f
-- BLKSECTGET = 0x1267
-- BLKSECTSET = 0x1266
-- BLKSSZGET = 0x1268
-- BOTHER = 0x1000
-- BPF_A = 0x10
-- BPF_ABS = 0x20
-- BPF_ADD = 0x0
-- BPF_ALU = 0x4
-- BPF_AND = 0x50
-- BPF_B = 0x10
-- BPF_DIV = 0x30
-- BPF_H = 0x8
-- BPF_IMM = 0x0
-- BPF_IND = 0x40
-- BPF_JA = 0x0
-- BPF_JEQ = 0x10
-- BPF_JGE = 0x30
-- BPF_JGT = 0x20
-- BPF_JMP = 0x5
-- BPF_JSET = 0x40
-- BPF_K = 0x0
-- BPF_LD = 0x0
-- BPF_LDX = 0x1
-- BPF_LEN = 0x80
-- BPF_LL_OFF = -0x200000
-- BPF_LSH = 0x60
-- BPF_MAJOR_VERSION = 0x1
-- BPF_MAXINSNS = 0x1000
-- BPF_MEM = 0x60
-- BPF_MEMWORDS = 0x10
-- BPF_MINOR_VERSION = 0x1
-- BPF_MISC = 0x7
-- BPF_MOD = 0x90
-- BPF_MSH = 0xa0
-- BPF_MUL = 0x20
-- BPF_NEG = 0x80
-- BPF_NET_OFF = -0x100000
-- BPF_OR = 0x40
-- BPF_RET = 0x6
-- BPF_RSH = 0x70
-- BPF_ST = 0x2
-- BPF_STX = 0x3
-- BPF_SUB = 0x10
-- BPF_TAX = 0x0
-- BPF_TXA = 0x80
-- BPF_W = 0x0
-- BPF_X = 0x8
-- BPF_XOR = 0xa0
-- BRKINT = 0x2
-- BS0 = 0x0
-- BS1 = 0x2000
-- BSDLY = 0x2000
-- CAN_BCM = 0x2
-- CAN_EFF_FLAG = 0x80000000
-- CAN_EFF_ID_BITS = 0x1d
-- CAN_EFF_MASK = 0x1fffffff
-- CAN_ERR_FLAG = 0x20000000
-- CAN_ERR_MASK = 0x1fffffff
-- CAN_INV_FILTER = 0x20000000
-- CAN_ISOTP = 0x6
-- CAN_MAX_DLC = 0x8
-- CAN_MAX_DLEN = 0x8
-- CAN_MCNET = 0x5
-- CAN_MTU = 0x10
-- CAN_NPROTO = 0x7
-- CAN_RAW = 0x1
-- CAN_RAW_FILTER_MAX = 0x200
-- CAN_RTR_FLAG = 0x40000000
-- CAN_SFF_ID_BITS = 0xb
-- CAN_SFF_MASK = 0x7ff
-- CAN_TP16 = 0x3
-- CAN_TP20 = 0x4
-- CBAUD = 0x100f
-- CBAUDEX = 0x1000
-- CFLUSH = 0xf
-- CIBAUD = 0x100f0000
-- CLOCAL = 0x800
-- CLOCK_BOOTTIME = 0x7
-- CLOCK_BOOTTIME_ALARM = 0x9
-- CLOCK_DEFAULT = 0x0
-- CLOCK_EXT = 0x1
-- CLOCK_INT = 0x2
-- CLOCK_MONOTONIC = 0x1
-- CLOCK_MONOTONIC_COARSE = 0x6
-- CLOCK_MONOTONIC_RAW = 0x4
-- CLOCK_PROCESS_CPUTIME_ID = 0x2
-- CLOCK_REALTIME = 0x0
-- CLOCK_REALTIME_ALARM = 0x8
-- CLOCK_REALTIME_COARSE = 0x5
-- CLOCK_TAI = 0xb
-- CLOCK_THREAD_CPUTIME_ID = 0x3
-- CLOCK_TXFROMRX = 0x4
-- CLOCK_TXINT = 0x3
-- CLONE_CHILD_CLEARTID = 0x200000
-- CLONE_CHILD_SETTID = 0x1000000
-- CLONE_DETACHED = 0x400000
-- CLONE_FILES = 0x400
-- CLONE_FS = 0x200
-- CLONE_IO = 0x80000000
-- CLONE_NEWCGROUP = 0x2000000
-- CLONE_NEWIPC = 0x8000000
-- CLONE_NEWNET = 0x40000000
-- CLONE_NEWNS = 0x20000
-- CLONE_NEWPID = 0x20000000
-- CLONE_NEWUSER = 0x10000000
-- CLONE_NEWUTS = 0x4000000
-- CLONE_PARENT = 0x8000
-- CLONE_PARENT_SETTID = 0x100000
-- CLONE_PTRACE = 0x2000
-- CLONE_SETTLS = 0x80000
-- CLONE_SIGHAND = 0x800
-- CLONE_SYSVSEM = 0x40000
-- CLONE_THREAD = 0x10000
-- CLONE_UNTRACED = 0x800000
-- CLONE_VFORK = 0x4000
-- CLONE_VM = 0x100
-- CMSPAR = 0x40000000
-- CR0 = 0x0
-- CR1 = 0x200
-- CR2 = 0x400
-- CR3 = 0x600
-- CRDLY = 0x600
-- CREAD = 0x80
-- CRTSCTS = 0x80000000
-- CS5 = 0x0
-- CS6 = 0x10
-- CS7 = 0x20
-- CS8 = 0x30
-- CSIGNAL = 0xff
-- CSIZE = 0x30
-- CSTART = 0x11
-- CSTATUS = 0x0
-- CSTOP = 0x13
-- CSTOPB = 0x40
-- CSUSP = 0x1a
-- DT_BLK = 0x6
-- DT_CHR = 0x2
-- DT_DIR = 0x4
-- DT_FIFO = 0x1
-- DT_LNK = 0xa
-- DT_REG = 0x8
-- DT_SOCK = 0xc
-- DT_UNKNOWN = 0x0
-- DT_WHT = 0xe
-- ECHO = 0x8
-- ECHOCTL = 0x200
-- ECHOE = 0x10
-- ECHOK = 0x20
-- ECHOKE = 0x800
-- ECHONL = 0x40
-- ECHOPRT = 0x400
-- EFD_CLOEXEC = 0x80000
-- EFD_NONBLOCK = 0x800
-- EFD_SEMAPHORE = 0x1
-- ENCODING_DEFAULT = 0x0
-- ENCODING_FM_MARK = 0x3
-- ENCODING_FM_SPACE = 0x4
-- ENCODING_MANCHESTER = 0x5
-- ENCODING_NRZ = 0x1
-- ENCODING_NRZI = 0x2
-- EPOLLERR = 0x8
-- EPOLLET = 0x80000000
-- EPOLLEXCLUSIVE = 0x10000000
-- EPOLLHUP = 0x10
-- EPOLLIN = 0x1
-- EPOLLMSG = 0x400
-- EPOLLONESHOT = 0x40000000
-- EPOLLOUT = 0x4
-- EPOLLPRI = 0x2
-- EPOLLRDBAND = 0x80
-- EPOLLRDHUP = 0x2000
-- EPOLLRDNORM = 0x40
-- EPOLLWAKEUP = 0x20000000
-- EPOLLWRBAND = 0x200
-- EPOLLWRNORM = 0x100
-- EPOLL_CLOEXEC = 0x80000
-- EPOLL_CTL_ADD = 0x1
-- EPOLL_CTL_DEL = 0x2
-- EPOLL_CTL_MOD = 0x3
-- ETH_P_1588 = 0x88f7
-- ETH_P_8021AD = 0x88a8
-- ETH_P_8021AH = 0x88e7
-- ETH_P_8021Q = 0x8100
-- ETH_P_80221 = 0x8917
-- ETH_P_802_2 = 0x4
-- ETH_P_802_3 = 0x1
-- ETH_P_802_3_MIN = 0x600
-- ETH_P_802_EX1 = 0x88b5
-- ETH_P_AARP = 0x80f3
-- ETH_P_AF_IUCV = 0xfbfb
-- ETH_P_ALL = 0x3
-- ETH_P_AOE = 0x88a2
-- ETH_P_ARCNET = 0x1a
-- ETH_P_ARP = 0x806
-- ETH_P_ATALK = 0x809b
-- ETH_P_ATMFATE = 0x8884
-- ETH_P_ATMMPOA = 0x884c
-- ETH_P_AX25 = 0x2
-- ETH_P_BATMAN = 0x4305
-- ETH_P_BPQ = 0x8ff
-- ETH_P_CAIF = 0xf7
-- ETH_P_CAN = 0xc
-- ETH_P_CANFD = 0xd
-- ETH_P_CONTROL = 0x16
-- ETH_P_CUST = 0x6006
-- ETH_P_DDCMP = 0x6
-- ETH_P_DEC = 0x6000
-- ETH_P_DIAG = 0x6005
-- ETH_P_DNA_DL = 0x6001
-- ETH_P_DNA_RC = 0x6002
-- ETH_P_DNA_RT = 0x6003
-- ETH_P_DSA = 0x1b
-- ETH_P_ECONET = 0x18
-- ETH_P_EDSA = 0xdada
-- ETH_P_FCOE = 0x8906
-- ETH_P_FIP = 0x8914
-- ETH_P_HDLC = 0x19
-- ETH_P_HSR = 0x892f
-- ETH_P_IEEE802154 = 0xf6
-- ETH_P_IEEEPUP = 0xa00
-- ETH_P_IEEEPUPAT = 0xa01
-- ETH_P_IP = 0x800
-- ETH_P_IPV6 = 0x86dd
-- ETH_P_IPX = 0x8137
-- ETH_P_IRDA = 0x17
-- ETH_P_LAT = 0x6004
-- ETH_P_LINK_CTL = 0x886c
-- ETH_P_LOCALTALK = 0x9
-- ETH_P_LOOP = 0x60
-- ETH_P_LOOPBACK = 0x9000
-- ETH_P_MACSEC = 0x88e5
-- ETH_P_MOBITEX = 0x15
-- ETH_P_MPLS_MC = 0x8848
-- ETH_P_MPLS_UC = 0x8847
-- ETH_P_MVRP = 0x88f5
-- ETH_P_NCSI = 0x88f8
-- ETH_P_PAE = 0x888e
-- ETH_P_PAUSE = 0x8808
-- ETH_P_PHONET = 0xf5
-- ETH_P_PPPTALK = 0x10
-- ETH_P_PPP_DISC = 0x8863
-- ETH_P_PPP_MP = 0x8
-- ETH_P_PPP_SES = 0x8864
-- ETH_P_PRP = 0x88fb
-- ETH_P_PUP = 0x200
-- ETH_P_PUPAT = 0x201
-- ETH_P_QINQ1 = 0x9100
-- ETH_P_QINQ2 = 0x9200
-- ETH_P_QINQ3 = 0x9300
-- ETH_P_RARP = 0x8035
-- ETH_P_SCA = 0x6007
-- ETH_P_SLOW = 0x8809
-- ETH_P_SNAP = 0x5
-- ETH_P_TDLS = 0x890d
-- ETH_P_TEB = 0x6558
-- ETH_P_TIPC = 0x88ca
-- ETH_P_TRAILER = 0x1c
-- ETH_P_TR_802_2 = 0x11
-- ETH_P_TSN = 0x22f0
-- ETH_P_WAN_PPP = 0x7
-- ETH_P_WCCP = 0x883e
-- ETH_P_X25 = 0x805
-- ETH_P_XDSA = 0xf8
-- EXTA = 0xe
-- EXTB = 0xf
-- EXTPROC = 0x10000
-- FALLOC_FL_COLLAPSE_RANGE = 0x8
-- FALLOC_FL_INSERT_RANGE = 0x20
-- FALLOC_FL_KEEP_SIZE = 0x1
-- FALLOC_FL_NO_HIDE_STALE = 0x4
-- FALLOC_FL_PUNCH_HOLE = 0x2
-- FALLOC_FL_UNSHARE_RANGE = 0x40
-- FALLOC_FL_ZERO_RANGE = 0x10
-- FD_CLOEXEC = 0x1
-- FD_SETSIZE = 0x400
-- FF0 = 0x0
-- FF1 = 0x8000
-- FFDLY = 0x8000
-- FLUSHO = 0x1000
-- FS_ENCRYPTION_MODE_AES_256_CBC = 0x3
-- FS_ENCRYPTION_MODE_AES_256_CTS = 0x4
-- FS_ENCRYPTION_MODE_AES_256_GCM = 0x2
-- FS_ENCRYPTION_MODE_AES_256_XTS = 0x1
-- FS_ENCRYPTION_MODE_INVALID = 0x0
-- FS_IOC_GET_ENCRYPTION_POLICY = 0x400c6615
-- FS_IOC_GET_ENCRYPTION_PWSALT = 0x40106614
-- FS_IOC_SET_ENCRYPTION_POLICY = 0x800c6613
-- FS_KEY_DESCRIPTOR_SIZE = 0x8
-- FS_KEY_DESC_PREFIX = "fscrypt:"
-- FS_KEY_DESC_PREFIX_SIZE = 0x8
-- FS_MAX_KEY_SIZE = 0x40
-- FS_POLICY_FLAGS_PAD_16 = 0x2
-- FS_POLICY_FLAGS_PAD_32 = 0x3
-- FS_POLICY_FLAGS_PAD_4 = 0x0
-- FS_POLICY_FLAGS_PAD_8 = 0x1
-- FS_POLICY_FLAGS_PAD_MASK = 0x3
-- FS_POLICY_FLAGS_VALID = 0x3
-- F_DUPFD = 0x0
-- F_DUPFD_CLOEXEC = 0x406
-- F_EXLCK = 0x4
-- F_GETFD = 0x1
-- F_GETFL = 0x3
-- F_GETLEASE = 0x401
-- F_GETLK = 0xc
-- F_GETLK64 = 0xc
-- F_GETOWN = 0x9
-- F_GETOWN_EX = 0x10
-- F_GETPIPE_SZ = 0x408
-- F_GETSIG = 0xb
-- F_LOCK = 0x1
-- F_NOTIFY = 0x402
-- F_OFD_GETLK = 0x24
-- F_OFD_SETLK = 0x25
-- F_OFD_SETLKW = 0x26
-- F_OK = 0x0
-- F_RDLCK = 0x0
-- F_SETFD = 0x2
-- F_SETFL = 0x4
-- F_SETLEASE = 0x400
-- F_SETLK = 0xd
-- F_SETLK64 = 0xd
-- F_SETLKW = 0xe
-- F_SETLKW64 = 0xe
-- F_SETOWN = 0x8
-- F_SETOWN_EX = 0xf
-- F_SETPIPE_SZ = 0x407
-- F_SETSIG = 0xa
-- F_SHLCK = 0x8
-- F_TEST = 0x3
-- F_TLOCK = 0x2
-- F_ULOCK = 0x0
-- F_UNLCK = 0x2
-- F_WRLCK = 0x1
-- GENL_ADMIN_PERM = 0x1
-- GENL_CMD_CAP_DO = 0x2
-- GENL_CMD_CAP_DUMP = 0x4
-- GENL_CMD_CAP_HASPOL = 0x8
-- GENL_HDRLEN = 0x4
-- GENL_ID_CTRL = 0x10
-- GENL_ID_PMCRAID = 0x12
-- GENL_ID_VFS_DQUOT = 0x11
-- GENL_MAX_ID = 0x3ff
-- GENL_MIN_ID = 0x10
-- GENL_NAMSIZ = 0x10
-- GENL_START_ALLOC = 0x13
-- GENL_UNS_ADMIN_PERM = 0x10
-- GRND_NONBLOCK = 0x1
-- GRND_RANDOM = 0x2
-- HUPCL = 0x400
-- IBSHIFT = 0x10
-- ICANON = 0x2
-- ICMPV6_FILTER = 0x1
-- ICRNL = 0x100
-- IEXTEN = 0x8000
-- IFA_F_DADFAILED = 0x8
-- IFA_F_DEPRECATED = 0x20
-- IFA_F_HOMEADDRESS = 0x10
-- IFA_F_MANAGETEMPADDR = 0x100
-- IFA_F_MCAUTOJOIN = 0x400
-- IFA_F_NODAD = 0x2
-- IFA_F_NOPREFIXROUTE = 0x200
-- IFA_F_OPTIMISTIC = 0x4
-- IFA_F_PERMANENT = 0x80
-- IFA_F_SECONDARY = 0x1
-- IFA_F_STABLE_PRIVACY = 0x800
-- IFA_F_TEMPORARY = 0x1
-- IFA_F_TENTATIVE = 0x40
-- IFA_MAX = 0x8
-- IFF_ALLMULTI = 0x200
-- IFF_ATTACH_QUEUE = 0x200
-- IFF_AUTOMEDIA = 0x4000
-- IFF_BROADCAST = 0x2
-- IFF_DEBUG = 0x4
-- IFF_DETACH_QUEUE = 0x400
-- IFF_DORMANT = 0x20000
-- IFF_DYNAMIC = 0x8000
-- IFF_ECHO = 0x40000
-- IFF_LOOPBACK = 0x8
-- IFF_LOWER_UP = 0x10000
-- IFF_MASTER = 0x400
-- IFF_MULTICAST = 0x1000
-- IFF_MULTI_QUEUE = 0x100
-- IFF_NOARP = 0x80
-- IFF_NOFILTER = 0x1000
-- IFF_NOTRAILERS = 0x20
-- IFF_NO_PI = 0x1000
-- IFF_ONE_QUEUE = 0x2000
-- IFF_PERSIST = 0x800
-- IFF_POINTOPOINT = 0x10
-- IFF_PORTSEL = 0x2000
-- IFF_PROMISC = 0x100
-- IFF_RUNNING = 0x40
-- IFF_SLAVE = 0x800
-- IFF_TAP = 0x2
-- IFF_TUN = 0x1
-- IFF_TUN_EXCL = 0x8000
-- IFF_UP = 0x1
-- IFF_VNET_HDR = 0x4000
-- IFF_VOLATILE = 0x70c5a
-- IFNAMSIZ = 0x10
-- IGNBRK = 0x1
-- IGNCR = 0x80
-- IGNPAR = 0x4
-- IMAXBEL = 0x2000
-- INLCR = 0x40
-- INPCK = 0x10
-- IN_ACCESS = 0x1
-- IN_ALL_EVENTS = 0xfff
-- IN_ATTRIB = 0x4
-- IN_CLASSA_HOST = 0xffffff
-- IN_CLASSA_MAX = 0x80
-- IN_CLASSA_NET = 0xff000000
-- IN_CLASSA_NSHIFT = 0x18
-- IN_CLASSB_HOST = 0xffff
-- IN_CLASSB_MAX = 0x10000
-- IN_CLASSB_NET = 0xffff0000
-- IN_CLASSB_NSHIFT = 0x10
-- IN_CLASSC_HOST = 0xff
-- IN_CLASSC_NET = 0xffffff00
-- IN_CLASSC_NSHIFT = 0x8
-- IN_CLOEXEC = 0x80000
-- IN_CLOSE = 0x18
-- IN_CLOSE_NOWRITE = 0x10
-- IN_CLOSE_WRITE = 0x8
-- IN_CREATE = 0x100
-- IN_DELETE = 0x200
-- IN_DELETE_SELF = 0x400
-- IN_DONT_FOLLOW = 0x2000000
-- IN_EXCL_UNLINK = 0x4000000
-- IN_IGNORED = 0x8000
-- IN_ISDIR = 0x40000000
-- IN_LOOPBACKNET = 0x7f
-- IN_MASK_ADD = 0x20000000
-- IN_MODIFY = 0x2
-- IN_MOVE = 0xc0
-- IN_MOVED_FROM = 0x40
-- IN_MOVED_TO = 0x80
-- IN_MOVE_SELF = 0x800
-- IN_NONBLOCK = 0x800
-- IN_ONESHOT = 0x80000000
-- IN_ONLYDIR = 0x1000000
-- IN_OPEN = 0x20
-- IN_Q_OVERFLOW = 0x4000
-- IN_UNMOUNT = 0x2000
-- IPPROTO_AH = 0x33
-- IPPROTO_BEETPH = 0x5e
-- IPPROTO_COMP = 0x6c
-- IPPROTO_DCCP = 0x21
-- IPPROTO_DSTOPTS = 0x3c
-- IPPROTO_EGP = 0x8
-- IPPROTO_ENCAP = 0x62
-- IPPROTO_ESP = 0x32
-- IPPROTO_FRAGMENT = 0x2c
-- IPPROTO_GRE = 0x2f
-- IPPROTO_HOPOPTS = 0x0
-- IPPROTO_ICMP = 0x1
-- IPPROTO_ICMPV6 = 0x3a
-- IPPROTO_IDP = 0x16
-- IPPROTO_IGMP = 0x2
-- IPPROTO_IP = 0x0
-- IPPROTO_IPIP = 0x4
-- IPPROTO_IPV6 = 0x29
-- IPPROTO_MH = 0x87
-- IPPROTO_MPLS = 0x89
-- IPPROTO_MTP = 0x5c
-- IPPROTO_NONE = 0x3b
-- IPPROTO_PIM = 0x67
-- IPPROTO_PUP = 0xc
-- IPPROTO_RAW = 0xff
-- IPPROTO_ROUTING = 0x2b
-- IPPROTO_RSVP = 0x2e
-- IPPROTO_SCTP = 0x84
-- IPPROTO_TCP = 0x6
-- IPPROTO_TP = 0x1d
-- IPPROTO_UDP = 0x11
-- IPPROTO_UDPLITE = 0x88
-- IPV6_2292DSTOPTS = 0x4
-- IPV6_2292HOPLIMIT = 0x8
-- IPV6_2292HOPOPTS = 0x3
-- IPV6_2292PKTINFO = 0x2
-- IPV6_2292PKTOPTIONS = 0x6
-- IPV6_2292RTHDR = 0x5
-- IPV6_ADDRFORM = 0x1
-- IPV6_ADD_MEMBERSHIP = 0x14
-- IPV6_AUTHHDR = 0xa
-- IPV6_CHECKSUM = 0x7
-- IPV6_DONTFRAG = 0x3e
-- IPV6_DROP_MEMBERSHIP = 0x15
-- IPV6_DSTOPTS = 0x3b
-- IPV6_HDRINCL = 0x24
-- IPV6_HOPLIMIT = 0x34
-- IPV6_HOPOPTS = 0x36
-- IPV6_IPSEC_POLICY = 0x22
-- IPV6_JOIN_ANYCAST = 0x1b
-- IPV6_JOIN_GROUP = 0x14
-- IPV6_LEAVE_ANYCAST = 0x1c
-- IPV6_LEAVE_GROUP = 0x15
-- IPV6_MTU = 0x18
-- IPV6_MTU_DISCOVER = 0x17
-- IPV6_MULTICAST_HOPS = 0x12
-- IPV6_MULTICAST_IF = 0x11
-- IPV6_MULTICAST_LOOP = 0x13
-- IPV6_NEXTHOP = 0x9
-- IPV6_PATHMTU = 0x3d
-- IPV6_PKTINFO = 0x32
-- IPV6_PMTUDISC_DO = 0x2
-- IPV6_PMTUDISC_DONT = 0x0
-- IPV6_PMTUDISC_INTERFACE = 0x4
-- IPV6_PMTUDISC_OMIT = 0x5
-- IPV6_PMTUDISC_PROBE = 0x3
-- IPV6_PMTUDISC_WANT = 0x1
-- IPV6_RECVDSTOPTS = 0x3a
-- IPV6_RECVERR = 0x19
-- IPV6_RECVHOPLIMIT = 0x33
-- IPV6_RECVHOPOPTS = 0x35
-- IPV6_RECVPATHMTU = 0x3c
-- IPV6_RECVPKTINFO = 0x31
-- IPV6_RECVRTHDR = 0x38
-- IPV6_RECVTCLASS = 0x42
-- IPV6_ROUTER_ALERT = 0x16
-- IPV6_RTHDR = 0x39
-- IPV6_RTHDRDSTOPTS = 0x37
-- IPV6_RTHDR_LOOSE = 0x0
-- IPV6_RTHDR_STRICT = 0x1
-- IPV6_RTHDR_TYPE_0 = 0x0
-- IPV6_RXDSTOPTS = 0x3b
-- IPV6_RXHOPOPTS = 0x36
-- IPV6_TCLASS = 0x43
-- IPV6_UNICAST_HOPS = 0x10
-- IPV6_V6ONLY = 0x1a
-- IPV6_XFRM_POLICY = 0x23
-- IP_ADD_MEMBERSHIP = 0x23
-- IP_ADD_SOURCE_MEMBERSHIP = 0x27
-- IP_BIND_ADDRESS_NO_PORT = 0x18
-- IP_BLOCK_SOURCE = 0x26
-- IP_CHECKSUM = 0x17
-- IP_DEFAULT_MULTICAST_LOOP = 0x1
-- IP_DEFAULT_MULTICAST_TTL = 0x1
-- IP_DF = 0x4000
-- IP_DROP_MEMBERSHIP = 0x24
-- IP_DROP_SOURCE_MEMBERSHIP = 0x28
-- IP_FREEBIND = 0xf
-- IP_HDRINCL = 0x3
-- IP_IPSEC_POLICY = 0x10
-- IP_MAXPACKET = 0xffff
-- IP_MAX_MEMBERSHIPS = 0x14
-- IP_MF = 0x2000
-- IP_MINTTL = 0x15
-- IP_MSFILTER = 0x29
-- IP_MSS = 0x240
-- IP_MTU = 0xe
-- IP_MTU_DISCOVER = 0xa
-- IP_MULTICAST_ALL = 0x31
-- IP_MULTICAST_IF = 0x20
-- IP_MULTICAST_LOOP = 0x22
-- IP_MULTICAST_TTL = 0x21
-- IP_NODEFRAG = 0x16
-- IP_OFFMASK = 0x1fff
-- IP_OPTIONS = 0x4
-- IP_ORIGDSTADDR = 0x14
-- IP_PASSSEC = 0x12
-- IP_PKTINFO = 0x8
-- IP_PKTOPTIONS = 0x9
-- IP_PMTUDISC = 0xa
-- IP_PMTUDISC_DO = 0x2
-- IP_PMTUDISC_DONT = 0x0
-- IP_PMTUDISC_INTERFACE = 0x4
-- IP_PMTUDISC_OMIT = 0x5
-- IP_PMTUDISC_PROBE = 0x3
-- IP_PMTUDISC_WANT = 0x1
-- IP_RECVERR = 0xb
-- IP_RECVOPTS = 0x6
-- IP_RECVORIGDSTADDR = 0x14
-- IP_RECVRETOPTS = 0x7
-- IP_RECVTOS = 0xd
-- IP_RECVTTL = 0xc
-- IP_RETOPTS = 0x7
-- IP_RF = 0x8000
-- IP_ROUTER_ALERT = 0x5
-- IP_TOS = 0x1
-- IP_TRANSPARENT = 0x13
-- IP_TTL = 0x2
-- IP_UNBLOCK_SOURCE = 0x25
-- IP_UNICAST_IF = 0x32
-- IP_XFRM_POLICY = 0x11
-- ISIG = 0x1
-- ISTRIP = 0x20
-- IUCLC = 0x200
-- IUTF8 = 0x4000
-- IXANY = 0x800
-- IXOFF = 0x1000
-- IXON = 0x400
-- KEYCTL_ASSUME_AUTHORITY = 0x10
-- KEYCTL_CHOWN = 0x4
-- KEYCTL_CLEAR = 0x7
-- KEYCTL_DESCRIBE = 0x6
-- KEYCTL_DH_COMPUTE = 0x17
-- KEYCTL_GET_KEYRING_ID = 0x0
-- KEYCTL_GET_PERSISTENT = 0x16
-- KEYCTL_GET_SECURITY = 0x11
-- KEYCTL_INSTANTIATE = 0xc
-- KEYCTL_INSTANTIATE_IOV = 0x14
-- KEYCTL_INVALIDATE = 0x15
-- KEYCTL_JOIN_SESSION_KEYRING = 0x1
-- KEYCTL_LINK = 0x8
-- KEYCTL_NEGATE = 0xd
-- KEYCTL_READ = 0xb
-- KEYCTL_REJECT = 0x13
-- KEYCTL_REVOKE = 0x3
-- KEYCTL_SEARCH = 0xa
-- KEYCTL_SESSION_TO_PARENT = 0x12
-- KEYCTL_SETPERM = 0x5
-- KEYCTL_SET_REQKEY_KEYRING = 0xe
-- KEYCTL_SET_TIMEOUT = 0xf
-- KEYCTL_UNLINK = 0x9
-- KEYCTL_UPDATE = 0x2
-- KEY_REQKEY_DEFL_DEFAULT = 0x0
-- KEY_REQKEY_DEFL_GROUP_KEYRING = 0x6
-- KEY_REQKEY_DEFL_NO_CHANGE = -0x1
-- KEY_REQKEY_DEFL_PROCESS_KEYRING = 0x2
-- KEY_REQKEY_DEFL_REQUESTOR_KEYRING = 0x7
-- KEY_REQKEY_DEFL_SESSION_KEYRING = 0x3
-- KEY_REQKEY_DEFL_THREAD_KEYRING = 0x1
-- KEY_REQKEY_DEFL_USER_KEYRING = 0x4
-- KEY_REQKEY_DEFL_USER_SESSION_KEYRING = 0x5
-- KEY_SPEC_GROUP_KEYRING = -0x6
-- KEY_SPEC_PROCESS_KEYRING = -0x2
-- KEY_SPEC_REQKEY_AUTH_KEY = -0x7
-- KEY_SPEC_REQUESTOR_KEYRING = -0x8
-- KEY_SPEC_SESSION_KEYRING = -0x3
-- KEY_SPEC_THREAD_KEYRING = -0x1
-- KEY_SPEC_USER_KEYRING = -0x4
-- KEY_SPEC_USER_SESSION_KEYRING = -0x5
-- LINUX_REBOOT_CMD_CAD_OFF = 0x0
-- LINUX_REBOOT_CMD_CAD_ON = 0x89abcdef
-- LINUX_REBOOT_CMD_HALT = 0xcdef0123
-- LINUX_REBOOT_CMD_KEXEC = 0x45584543
-- LINUX_REBOOT_CMD_POWER_OFF = 0x4321fedc
-- LINUX_REBOOT_CMD_RESTART = 0x1234567
-- LINUX_REBOOT_CMD_RESTART2 = 0xa1b2c3d4
-- LINUX_REBOOT_CMD_SW_SUSPEND = 0xd000fce2
-- LINUX_REBOOT_MAGIC1 = 0xfee1dead
-- LINUX_REBOOT_MAGIC2 = 0x28121969
-- LOCK_EX = 0x2
-- LOCK_NB = 0x4
-- LOCK_SH = 0x1
-- LOCK_UN = 0x8
-- MADV_DODUMP = 0x11
-- MADV_DOFORK = 0xb
-- MADV_DONTDUMP = 0x10
-- MADV_DONTFORK = 0xa
-- MADV_DONTNEED = 0x4
-- MADV_FREE = 0x8
-- MADV_HUGEPAGE = 0xe
-- MADV_HWPOISON = 0x64
-- MADV_MERGEABLE = 0xc
-- MADV_NOHUGEPAGE = 0xf
-- MADV_NORMAL = 0x0
-- MADV_RANDOM = 0x1
-- MADV_REMOVE = 0x9
-- MADV_SEQUENTIAL = 0x2
-- MADV_UNMERGEABLE = 0xd
-- MADV_WILLNEED = 0x3
-- MAP_ANON = 0x20
-- MAP_ANONYMOUS = 0x20
-- MAP_DENYWRITE = 0x800
-- MAP_EXECUTABLE = 0x1000
-- MAP_FILE = 0x0
-- MAP_FIXED = 0x10
-- MAP_GROWSDOWN = 0x100
-- MAP_HUGETLB = 0x40000
-- MAP_HUGE_MASK = 0x3f
-- MAP_HUGE_SHIFT = 0x1a
-- MAP_LOCKED = 0x2000
-- MAP_NONBLOCK = 0x10000
-- MAP_NORESERVE = 0x4000
-- MAP_POPULATE = 0x8000
-- MAP_PRIVATE = 0x2
-- MAP_SHARED = 0x1
-- MAP_STACK = 0x20000
-- MAP_TYPE = 0xf
-- MCL_CURRENT = 0x1
-- MCL_FUTURE = 0x2
-- MCL_ONFAULT = 0x4
-- MNT_DETACH = 0x2
-- MNT_EXPIRE = 0x4
-- MNT_FORCE = 0x1
-- MSG_BATCH = 0x40000
-- MSG_CMSG_CLOEXEC = 0x40000000
-- MSG_CONFIRM = 0x800
-- MSG_CTRUNC = 0x8
-- MSG_DONTROUTE = 0x4
-- MSG_DONTWAIT = 0x40
-- MSG_EOR = 0x80
-- MSG_ERRQUEUE = 0x2000
-- MSG_FASTOPEN = 0x20000000
-- MSG_FIN = 0x200
-- MSG_MORE = 0x8000
-- MSG_NOSIGNAL = 0x4000
-- MSG_OOB = 0x1
-- MSG_PEEK = 0x2
-- MSG_PROXY = 0x10
-- MSG_RST = 0x1000
-- MSG_SYN = 0x400
-- MSG_TRUNC = 0x20
-- MSG_TRYHARD = 0x4
-- MSG_WAITALL = 0x100
-- MSG_WAITFORONE = 0x10000
-- MS_ACTIVE = 0x40000000
-- MS_ASYNC = 0x1
-- MS_BIND = 0x1000
-- MS_BORN = 0x20000000
-- MS_DIRSYNC = 0x80
-- MS_INVALIDATE = 0x2
-- MS_I_VERSION = 0x800000
-- MS_KERNMOUNT = 0x400000
-- MS_LAZYTIME = 0x2000000
-- MS_MANDLOCK = 0x40
-- MS_MGC_MSK = 0xffff0000
-- MS_MGC_VAL = 0xc0ed0000
-- MS_MOVE = 0x2000
-- MS_NOATIME = 0x400
-- MS_NODEV = 0x4
-- MS_NODIRATIME = 0x800
-- MS_NOEXEC = 0x8
-- MS_NOREMOTELOCK = 0x8000000
-- MS_NOSEC = 0x10000000
-- MS_NOSUID = 0x2
-- MS_NOUSER = -0x80000000
-- MS_POSIXACL = 0x10000
-- MS_PRIVATE = 0x40000
-- MS_RDONLY = 0x1
-- MS_REC = 0x4000
-- MS_RELATIME = 0x200000
-- MS_REMOUNT = 0x20
-- MS_RMT_MASK = 0x2800051
-- MS_SHARED = 0x100000
-- MS_SILENT = 0x8000
-- MS_SLAVE = 0x80000
-- MS_STRICTATIME = 0x1000000
-- MS_SYNC = 0x4
-- MS_SYNCHRONOUS = 0x10
-- MS_UNBINDABLE = 0x20000
-- MS_VERBOSE = 0x8000
-- NAME_MAX = 0xff
-- NETLINK_ADD_MEMBERSHIP = 0x1
-- NETLINK_AUDIT = 0x9
-- NETLINK_BROADCAST_ERROR = 0x4
-- NETLINK_CAP_ACK = 0xa
-- NETLINK_CONNECTOR = 0xb
-- NETLINK_CRYPTO = 0x15
-- NETLINK_DNRTMSG = 0xe
-- NETLINK_DROP_MEMBERSHIP = 0x2
-- NETLINK_ECRYPTFS = 0x13
-- NETLINK_FIB_LOOKUP = 0xa
-- NETLINK_FIREWALL = 0x3
-- NETLINK_GENERIC = 0x10
-- NETLINK_INET_DIAG = 0x4
-- NETLINK_IP6_FW = 0xd
-- NETLINK_ISCSI = 0x8
-- NETLINK_KOBJECT_UEVENT = 0xf
-- NETLINK_LISTEN_ALL_NSID = 0x8
-- NETLINK_LIST_MEMBERSHIPS = 0x9
-- NETLINK_NETFILTER = 0xc
-- NETLINK_NFLOG = 0x5
-- NETLINK_NO_ENOBUFS = 0x5
-- NETLINK_PKTINFO = 0x3
-- NETLINK_RDMA = 0x14
-- NETLINK_ROUTE = 0x0
-- NETLINK_RX_RING = 0x6
-- NETLINK_SCSITRANSPORT = 0x12
-- NETLINK_SELINUX = 0x7
-- NETLINK_SOCK_DIAG = 0x4
-- NETLINK_TX_RING = 0x7
-- NETLINK_UNUSED = 0x1
-- NETLINK_USERSOCK = 0x2
-- NETLINK_XFRM = 0x6
-- NL0 = 0x0
-- NL1 = 0x100
-- NLA_ALIGNTO = 0x4
-- NLA_F_NESTED = 0x8000
-- NLA_F_NET_BYTEORDER = 0x4000
-- NLA_HDRLEN = 0x4
-- NLDLY = 0x100
-- NLMSG_ALIGNTO = 0x4
-- NLMSG_DONE = 0x3
-- NLMSG_ERROR = 0x2
-- NLMSG_HDRLEN = 0x10
-- NLMSG_MIN_TYPE = 0x10
-- NLMSG_NOOP = 0x1
-- NLMSG_OVERRUN = 0x4
-- NLM_F_ACK = 0x4
-- NLM_F_APPEND = 0x800
-- NLM_F_ATOMIC = 0x400
-- NLM_F_CREATE = 0x400
-- NLM_F_DUMP = 0x300
-- NLM_F_DUMP_FILTERED = 0x20
-- NLM_F_DUMP_INTR = 0x10
-- NLM_F_ECHO = 0x8
-- NLM_F_EXCL = 0x200
-- NLM_F_MATCH = 0x200
-- NLM_F_MULTI = 0x2
-- NLM_F_REPLACE = 0x100
-- NLM_F_REQUEST = 0x1
-- NLM_F_ROOT = 0x100
-- NOFLSH = 0x80
-- OCRNL = 0x8
-- OFDEL = 0x80
-- OFILL = 0x40
-- OLCUC = 0x2
-- ONLCR = 0x4
-- ONLRET = 0x20
-- ONOCR = 0x10
-- OPOST = 0x1
-- O_ACCMODE = 0x3
-- O_APPEND = 0x400
-- O_ASYNC = 0x2000
-- O_CLOEXEC = 0x80000
-- O_CREAT = 0x40
-- O_DIRECT = 0x10000
-- O_DIRECTORY = 0x4000
-- O_DSYNC = 0x1000
-- O_EXCL = 0x80
-- O_FSYNC = 0x101000
-- O_LARGEFILE = 0x20000
-- O_NDELAY = 0x800
-- O_NOATIME = 0x40000
-- O_NOCTTY = 0x100
-- O_NOFOLLOW = 0x8000
-- O_NONBLOCK = 0x800
-- O_PATH = 0x200000
-- O_RDONLY = 0x0
-- O_RDWR = 0x2
-- O_RSYNC = 0x101000
-- O_SYNC = 0x101000
-- O_TMPFILE = 0x404000
-- O_TRUNC = 0x200
-- O_WRONLY = 0x1
-- PACKET_ADD_MEMBERSHIP = 0x1
-- PACKET_AUXDATA = 0x8
-- PACKET_BROADCAST = 0x1
-- PACKET_COPY_THRESH = 0x7
-- PACKET_DROP_MEMBERSHIP = 0x2
-- PACKET_FANOUT = 0x12
-- PACKET_FANOUT_CBPF = 0x6
-- PACKET_FANOUT_CPU = 0x2
-- PACKET_FANOUT_DATA = 0x16
-- PACKET_FANOUT_EBPF = 0x7
-- PACKET_FANOUT_FLAG_DEFRAG = 0x8000
-- PACKET_FANOUT_FLAG_ROLLOVER = 0x1000
-- PACKET_FANOUT_HASH = 0x0
-- PACKET_FANOUT_LB = 0x1
-- PACKET_FANOUT_QM = 0x5
-- PACKET_FANOUT_RND = 0x4
-- PACKET_FANOUT_ROLLOVER = 0x3
-- PACKET_FASTROUTE = 0x6
-- PACKET_HDRLEN = 0xb
-- PACKET_HOST = 0x0
-- PACKET_KERNEL = 0x7
-- PACKET_LOOPBACK = 0x5
-- PACKET_LOSS = 0xe
-- PACKET_MR_ALLMULTI = 0x2
-- PACKET_MR_MULTICAST = 0x0
-- PACKET_MR_PROMISC = 0x1
-- PACKET_MR_UNICAST = 0x3
-- PACKET_MULTICAST = 0x2
-- PACKET_ORIGDEV = 0x9
-- PACKET_OTHERHOST = 0x3
-- PACKET_OUTGOING = 0x4
-- PACKET_QDISC_BYPASS = 0x14
-- PACKET_RECV_OUTPUT = 0x3
-- PACKET_RESERVE = 0xc
-- PACKET_ROLLOVER_STATS = 0x15
-- PACKET_RX_RING = 0x5
-- PACKET_STATISTICS = 0x6
-- PACKET_TIMESTAMP = 0x11
-- PACKET_TX_HAS_OFF = 0x13
-- PACKET_TX_RING = 0xd
-- PACKET_TX_TIMESTAMP = 0x10
-- PACKET_USER = 0x6
-- PACKET_VERSION = 0xa
-- PACKET_VNET_HDR = 0xf
-- PARENB = 0x100
-- PARITY_CRC16_PR0 = 0x2
-- PARITY_CRC16_PR0_CCITT = 0x4
-- PARITY_CRC16_PR1 = 0x3
-- PARITY_CRC16_PR1_CCITT = 0x5
-- PARITY_CRC32_PR0_CCITT = 0x6
-- PARITY_CRC32_PR1_CCITT = 0x7
-- PARITY_DEFAULT = 0x0
-- PARITY_NONE = 0x1
-- PARMRK = 0x8
-- PARODD = 0x200
-- PENDIN = 0x4000
-- PERF_EVENT_IOC_DISABLE = 0x2401
-- PERF_EVENT_IOC_ENABLE = 0x2400
-- PERF_EVENT_IOC_ID = 0x80042407
-- PERF_EVENT_IOC_PAUSE_OUTPUT = 0x40042409
-- PERF_EVENT_IOC_PERIOD = 0x40082404
-- PERF_EVENT_IOC_REFRESH = 0x2402
-- PERF_EVENT_IOC_RESET = 0x2403
-- PERF_EVENT_IOC_SET_BPF = 0x40042408
-- PERF_EVENT_IOC_SET_FILTER = 0x40042406
-- PERF_EVENT_IOC_SET_OUTPUT = 0x2405
-- PRIO_PGRP = 0x1
-- PRIO_PROCESS = 0x0
-- PRIO_USER = 0x2
-- PROT_EXEC = 0x4
-- PROT_GROWSDOWN = 0x1000000
-- PROT_GROWSUP = 0x2000000
-- PROT_NONE = 0x0
-- PROT_READ = 0x1
-- PROT_WRITE = 0x2
-- PR_CAPBSET_DROP = 0x18
-- PR_CAPBSET_READ = 0x17
-- PR_CAP_AMBIENT = 0x2f
-- PR_CAP_AMBIENT_CLEAR_ALL = 0x4
-- PR_CAP_AMBIENT_IS_SET = 0x1
-- PR_CAP_AMBIENT_LOWER = 0x3
-- PR_CAP_AMBIENT_RAISE = 0x2
-- PR_ENDIAN_BIG = 0x0
-- PR_ENDIAN_LITTLE = 0x1
-- PR_ENDIAN_PPC_LITTLE = 0x2
-- PR_FPEMU_NOPRINT = 0x1
-- PR_FPEMU_SIGFPE = 0x2
-- PR_FP_EXC_ASYNC = 0x2
-- PR_FP_EXC_DISABLED = 0x0
-- PR_FP_EXC_DIV = 0x10000
-- PR_FP_EXC_INV = 0x100000
-- PR_FP_EXC_NONRECOV = 0x1
-- PR_FP_EXC_OVF = 0x20000
-- PR_FP_EXC_PRECISE = 0x3
-- PR_FP_EXC_RES = 0x80000
-- PR_FP_EXC_SW_ENABLE = 0x80
-- PR_FP_EXC_UND = 0x40000
-- PR_FP_MODE_FR = 0x1
-- PR_FP_MODE_FRE = 0x2
-- PR_GET_CHILD_SUBREAPER = 0x25
-- PR_GET_DUMPABLE = 0x3
-- PR_GET_ENDIAN = 0x13
-- PR_GET_FPEMU = 0x9
-- PR_GET_FPEXC = 0xb
-- PR_GET_FP_MODE = 0x2e
-- PR_GET_KEEPCAPS = 0x7
-- PR_GET_NAME = 0x10
-- PR_GET_NO_NEW_PRIVS = 0x27
-- PR_GET_PDEATHSIG = 0x2
-- PR_GET_SECCOMP = 0x15
-- PR_GET_SECUREBITS = 0x1b
-- PR_GET_THP_DISABLE = 0x2a
-- PR_GET_TID_ADDRESS = 0x28
-- PR_GET_TIMERSLACK = 0x1e
-- PR_GET_TIMING = 0xd
-- PR_GET_TSC = 0x19
-- PR_GET_UNALIGN = 0x5
-- PR_MCE_KILL = 0x21
-- PR_MCE_KILL_CLEAR = 0x0
-- PR_MCE_KILL_DEFAULT = 0x2
-- PR_MCE_KILL_EARLY = 0x1
-- PR_MCE_KILL_GET = 0x22
-- PR_MCE_KILL_LATE = 0x0
-- PR_MCE_KILL_SET = 0x1
-- PR_MPX_DISABLE_MANAGEMENT = 0x2c
-- PR_MPX_ENABLE_MANAGEMENT = 0x2b
-- PR_SET_CHILD_SUBREAPER = 0x24
-- PR_SET_DUMPABLE = 0x4
-- PR_SET_ENDIAN = 0x14
-- PR_SET_FPEMU = 0xa
-- PR_SET_FPEXC = 0xc
-- PR_SET_FP_MODE = 0x2d
-- PR_SET_KEEPCAPS = 0x8
-- PR_SET_MM = 0x23
-- PR_SET_MM_ARG_END = 0x9
-- PR_SET_MM_ARG_START = 0x8
-- PR_SET_MM_AUXV = 0xc
-- PR_SET_MM_BRK = 0x7
-- PR_SET_MM_END_CODE = 0x2
-- PR_SET_MM_END_DATA = 0x4
-- PR_SET_MM_ENV_END = 0xb
-- PR_SET_MM_ENV_START = 0xa
-- PR_SET_MM_EXE_FILE = 0xd
-- PR_SET_MM_MAP = 0xe
-- PR_SET_MM_MAP_SIZE = 0xf
-- PR_SET_MM_START_BRK = 0x6
-- PR_SET_MM_START_CODE = 0x1
-- PR_SET_MM_START_DATA = 0x3
-- PR_SET_MM_START_STACK = 0x5
-- PR_SET_NAME = 0xf
-- PR_SET_NO_NEW_PRIVS = 0x26
-- PR_SET_PDEATHSIG = 0x1
-- PR_SET_PTRACER = 0x59616d61
-- PR_SET_PTRACER_ANY = 0xffffffff
-- PR_SET_SECCOMP = 0x16
-- PR_SET_SECUREBITS = 0x1c
-- PR_SET_THP_DISABLE = 0x29
-- PR_SET_TIMERSLACK = 0x1d
-- PR_SET_TIMING = 0xe
-- PR_SET_TSC = 0x1a
-- PR_SET_UNALIGN = 0x6
-- PR_TASK_PERF_EVENTS_DISABLE = 0x1f
-- PR_TASK_PERF_EVENTS_ENABLE = 0x20
-- PR_TIMING_STATISTICAL = 0x0
-- PR_TIMING_TIMESTAMP = 0x1
-- PR_TSC_ENABLE = 0x1
-- PR_TSC_SIGSEGV = 0x2
-- PR_UNALIGN_NOPRINT = 0x1
-- PR_UNALIGN_SIGBUS = 0x2
-- PTRACE_ATTACH = 0x10
-- PTRACE_CONT = 0x7
-- PTRACE_DETACH = 0x11
-- PTRACE_EVENT_CLONE = 0x3
-- PTRACE_EVENT_EXEC = 0x4
-- PTRACE_EVENT_EXIT = 0x6
-- PTRACE_EVENT_FORK = 0x1
-- PTRACE_EVENT_SECCOMP = 0x7
-- PTRACE_EVENT_STOP = 0x80
-- PTRACE_EVENT_VFORK = 0x2
-- PTRACE_EVENT_VFORK_DONE = 0x5
-- PTRACE_GETCRUNCHREGS = 0x19
-- PTRACE_GETEVENTMSG = 0x4201
-- PTRACE_GETFPREGS = 0xe
-- PTRACE_GETHBPREGS = 0x1d
-- PTRACE_GETREGS = 0xc
-- PTRACE_GETREGSET = 0x4204
-- PTRACE_GETSIGINFO = 0x4202
-- PTRACE_GETSIGMASK = 0x420a
-- PTRACE_GETVFPREGS = 0x1b
-- PTRACE_GETWMMXREGS = 0x12
-- PTRACE_GET_THREAD_AREA = 0x16
-- PTRACE_INTERRUPT = 0x4207
-- PTRACE_KILL = 0x8
-- PTRACE_LISTEN = 0x4208
-- PTRACE_OLDSETOPTIONS = 0x15
-- PTRACE_O_EXITKILL = 0x100000
-- PTRACE_O_MASK = 0x3000ff
-- PTRACE_O_SUSPEND_SECCOMP = 0x200000
-- PTRACE_O_TRACECLONE = 0x8
-- PTRACE_O_TRACEEXEC = 0x10
-- PTRACE_O_TRACEEXIT = 0x40
-- PTRACE_O_TRACEFORK = 0x2
-- PTRACE_O_TRACESECCOMP = 0x80
-- PTRACE_O_TRACESYSGOOD = 0x1
-- PTRACE_O_TRACEVFORK = 0x4
-- PTRACE_O_TRACEVFORKDONE = 0x20
-- PTRACE_PEEKDATA = 0x2
-- PTRACE_PEEKSIGINFO = 0x4209
-- PTRACE_PEEKSIGINFO_SHARED = 0x1
-- PTRACE_PEEKTEXT = 0x1
-- PTRACE_PEEKUSR = 0x3
-- PTRACE_POKEDATA = 0x5
-- PTRACE_POKETEXT = 0x4
-- PTRACE_POKEUSR = 0x6
-- PTRACE_SECCOMP_GET_FILTER = 0x420c
-- PTRACE_SEIZE = 0x4206
-- PTRACE_SETCRUNCHREGS = 0x1a
-- PTRACE_SETFPREGS = 0xf
-- PTRACE_SETHBPREGS = 0x1e
-- PTRACE_SETOPTIONS = 0x4200
-- PTRACE_SETREGS = 0xd
-- PTRACE_SETREGSET = 0x4205
-- PTRACE_SETSIGINFO = 0x4203
-- PTRACE_SETSIGMASK = 0x420b
-- PTRACE_SETVFPREGS = 0x1c
-- PTRACE_SETWMMXREGS = 0x13
-- PTRACE_SET_SYSCALL = 0x17
-- PTRACE_SINGLESTEP = 0x9
-- PTRACE_SYSCALL = 0x18
-- PTRACE_TRACEME = 0x0
-- PT_DATA_ADDR = 0x10004
-- PT_TEXT_ADDR = 0x10000
-- PT_TEXT_END_ADDR = 0x10008
-- RLIMIT_AS = 0x9
-- RLIMIT_CORE = 0x4
-- RLIMIT_CPU = 0x0
-- RLIMIT_DATA = 0x2
-- RLIMIT_FSIZE = 0x1
-- RLIMIT_LOCKS = 0xa
-- RLIMIT_MEMLOCK = 0x8
-- RLIMIT_MSGQUEUE = 0xc
-- RLIMIT_NICE = 0xd
-- RLIMIT_NOFILE = 0x7
-- RLIMIT_NPROC = 0x6
-- RLIMIT_RSS = 0x5
-- RLIMIT_RTPRIO = 0xe
-- RLIMIT_RTTIME = 0xf
-- RLIMIT_SIGPENDING = 0xb
-- RLIMIT_STACK = 0x3
-- RLIM_INFINITY = -0x1
-- RTAX_ADVMSS = 0x8
-- RTAX_CC_ALGO = 0x10
-- RTAX_CWND = 0x7
-- RTAX_FEATURES = 0xc
-- RTAX_FEATURE_ALLFRAG = 0x8
-- RTAX_FEATURE_ECN = 0x1
-- RTAX_FEATURE_MASK = 0xf
-- RTAX_FEATURE_SACK = 0x2
-- RTAX_FEATURE_TIMESTAMP = 0x4
-- RTAX_HOPLIMIT = 0xa
-- RTAX_INITCWND = 0xb
-- RTAX_INITRWND = 0xe
-- RTAX_LOCK = 0x1
-- RTAX_MAX = 0x10
-- RTAX_MTU = 0x2
-- RTAX_QUICKACK = 0xf
-- RTAX_REORDERING = 0x9
-- RTAX_RTO_MIN = 0xd
-- RTAX_RTT = 0x4
-- RTAX_RTTVAR = 0x5
-- RTAX_SSTHRESH = 0x6
-- RTAX_UNSPEC = 0x0
-- RTAX_WINDOW = 0x3
-- RTA_ALIGNTO = 0x4
-- RTA_MAX = 0x19
-- RTCF_DIRECTSRC = 0x4000000
-- RTCF_DOREDIRECT = 0x1000000
-- RTCF_LOG = 0x2000000
-- RTCF_MASQ = 0x400000
-- RTCF_NAT = 0x800000
-- RTCF_VALVE = 0x200000
-- RTF_ADDRCLASSMASK = 0xf8000000
-- RTF_ADDRCONF = 0x40000
-- RTF_ALLONLINK = 0x20000
-- RTF_BROADCAST = 0x10000000
-- RTF_CACHE = 0x1000000
-- RTF_DEFAULT = 0x10000
-- RTF_DYNAMIC = 0x10
-- RTF_FLOW = 0x2000000
-- RTF_GATEWAY = 0x2
-- RTF_HOST = 0x4
-- RTF_INTERFACE = 0x40000000
-- RTF_IRTT = 0x100
-- RTF_LINKRT = 0x100000
-- RTF_LOCAL = 0x80000000
-- RTF_MODIFIED = 0x20
-- RTF_MSS = 0x40
-- RTF_MTU = 0x40
-- RTF_MULTICAST = 0x20000000
-- RTF_NAT = 0x8000000
-- RTF_NOFORWARD = 0x1000
-- RTF_NONEXTHOP = 0x200000
-- RTF_NOPMTUDISC = 0x4000
-- RTF_POLICY = 0x4000000
-- RTF_REINSTATE = 0x8
-- RTF_REJECT = 0x200
-- RTF_STATIC = 0x400
-- RTF_THROW = 0x2000
-- RTF_UP = 0x1
-- RTF_WINDOW = 0x80
-- RTF_XRESOLVE = 0x800
-- RTM_BASE = 0x10
-- RTM_DELACTION = 0x31
-- RTM_DELADDR = 0x15
-- RTM_DELADDRLABEL = 0x49
-- RTM_DELLINK = 0x11
-- RTM_DELMDB = 0x55
-- RTM_DELNEIGH = 0x1d
-- RTM_DELNSID = 0x59
-- RTM_DELQDISC = 0x25
-- RTM_DELROUTE = 0x19
-- RTM_DELRULE = 0x21
-- RTM_DELTCLASS = 0x29
-- RTM_DELTFILTER = 0x2d
-- RTM_F_CLONED = 0x200
-- RTM_F_EQUALIZE = 0x400
-- RTM_F_LOOKUP_TABLE = 0x1000
-- RTM_F_NOTIFY = 0x100
-- RTM_F_PREFIX = 0x800
-- RTM_GETACTION = 0x32
-- RTM_GETADDR = 0x16
-- RTM_GETADDRLABEL = 0x4a
-- RTM_GETANYCAST = 0x3e
-- RTM_GETDCB = 0x4e
-- RTM_GETLINK = 0x12
-- RTM_GETMDB = 0x56
-- RTM_GETMULTICAST = 0x3a
-- RTM_GETNEIGH = 0x1e
-- RTM_GETNEIGHTBL = 0x42
-- RTM_GETNETCONF = 0x52
-- RTM_GETNSID = 0x5a
-- RTM_GETQDISC = 0x26
-- RTM_GETROUTE = 0x1a
-- RTM_GETRULE = 0x22
-- RTM_GETSTATS = 0x5e
-- RTM_GETTCLASS = 0x2a
-- RTM_GETTFILTER = 0x2e
-- RTM_MAX = 0x5f
-- RTM_NEWACTION = 0x30
-- RTM_NEWADDR = 0x14
-- RTM_NEWADDRLABEL = 0x48
-- RTM_NEWLINK = 0x10
-- RTM_NEWMDB = 0x54
-- RTM_NEWNDUSEROPT = 0x44
-- RTM_NEWNEIGH = 0x1c
-- RTM_NEWNEIGHTBL = 0x40
-- RTM_NEWNETCONF = 0x50
-- RTM_NEWNSID = 0x58
-- RTM_NEWPREFIX = 0x34
-- RTM_NEWQDISC = 0x24
-- RTM_NEWROUTE = 0x18
-- RTM_NEWRULE = 0x20
-- RTM_NEWSTATS = 0x5c
-- RTM_NEWTCLASS = 0x28
-- RTM_NEWTFILTER = 0x2c
-- RTM_NR_FAMILIES = 0x14
-- RTM_NR_MSGTYPES = 0x50
-- RTM_SETDCB = 0x4f
-- RTM_SETLINK = 0x13
-- RTM_SETNEIGHTBL = 0x43
-- RTNH_ALIGNTO = 0x4
-- RTNH_COMPARE_MASK = 0x19
-- RTNH_F_DEAD = 0x1
-- RTNH_F_LINKDOWN = 0x10
-- RTNH_F_OFFLOAD = 0x8
-- RTNH_F_ONLINK = 0x4
-- RTNH_F_PERVASIVE = 0x2
-- RTN_MAX = 0xb
-- RTPROT_BABEL = 0x2a
-- RTPROT_BIRD = 0xc
-- RTPROT_BOOT = 0x3
-- RTPROT_DHCP = 0x10
-- RTPROT_DNROUTED = 0xd
-- RTPROT_GATED = 0x8
-- RTPROT_KERNEL = 0x2
-- RTPROT_MROUTED = 0x11
-- RTPROT_MRT = 0xa
-- RTPROT_NTK = 0xf
-- RTPROT_RA = 0x9
-- RTPROT_REDIRECT = 0x1
-- RTPROT_STATIC = 0x4
-- RTPROT_UNSPEC = 0x0
-- RTPROT_XORP = 0xe
-- RTPROT_ZEBRA = 0xb
-- RT_CLASS_DEFAULT = 0xfd
-- RT_CLASS_LOCAL = 0xff
-- RT_CLASS_MAIN = 0xfe
-- RT_CLASS_MAX = 0xff
-- RT_CLASS_UNSPEC = 0x0
-- RUSAGE_CHILDREN = -0x1
-- RUSAGE_SELF = 0x0
-- RUSAGE_THREAD = 0x1
-- SCM_CREDENTIALS = 0x2
-- SCM_RIGHTS = 0x1
-- SCM_TIMESTAMP = 0x1d
-- SCM_TIMESTAMPING = 0x25
-- SCM_TIMESTAMPING_OPT_STATS = 0x36
-- SCM_TIMESTAMPNS = 0x23
-- SCM_WIFI_STATUS = 0x29
-- SECCOMP_MODE_DISABLED = 0x0
-- SECCOMP_MODE_FILTER = 0x2
-- SECCOMP_MODE_STRICT = 0x1
-- SHUT_RD = 0x0
-- SHUT_RDWR = 0x2
-- SHUT_WR = 0x1
-- SIOCADDDLCI = 0x8980
-- SIOCADDMULTI = 0x8931
-- SIOCADDRT = 0x890b
-- SIOCATMARK = 0x8905
-- SIOCBONDCHANGEACTIVE = 0x8995
-- SIOCBONDENSLAVE = 0x8990
-- SIOCBONDINFOQUERY = 0x8994
-- SIOCBONDRELEASE = 0x8991
-- SIOCBONDSETHWADDR = 0x8992
-- SIOCBONDSLAVEINFOQUERY = 0x8993
-- SIOCBRADDBR = 0x89a0
-- SIOCBRADDIF = 0x89a2
-- SIOCBRDELBR = 0x89a1
-- SIOCBRDELIF = 0x89a3
-- SIOCDARP = 0x8953
-- SIOCDELDLCI = 0x8981
-- SIOCDELMULTI = 0x8932
-- SIOCDELRT = 0x890c
-- SIOCDEVPRIVATE = 0x89f0
-- SIOCDIFADDR = 0x8936
-- SIOCDRARP = 0x8960
-- SIOCETHTOOL = 0x8946
-- SIOCGARP = 0x8954
-- SIOCGHWTSTAMP = 0x89b1
-- SIOCGIFADDR = 0x8915
-- SIOCGIFBR = 0x8940
-- SIOCGIFBRDADDR = 0x8919
-- SIOCGIFCONF = 0x8912
-- SIOCGIFCOUNT = 0x8938
-- SIOCGIFDSTADDR = 0x8917
-- SIOCGIFENCAP = 0x8925
-- SIOCGIFFLAGS = 0x8913
-- SIOCGIFHWADDR = 0x8927
-- SIOCGIFINDEX = 0x8933
-- SIOCGIFMAP = 0x8970
-- SIOCGIFMEM = 0x891f
-- SIOCGIFMETRIC = 0x891d
-- SIOCGIFMTU = 0x8921
-- SIOCGIFNAME = 0x8910
-- SIOCGIFNETMASK = 0x891b
-- SIOCGIFPFLAGS = 0x8935
-- SIOCGIFSLAVE = 0x8929
-- SIOCGIFTXQLEN = 0x8942
-- SIOCGIFVLAN = 0x8982
-- SIOCGMIIPHY = 0x8947
-- SIOCGMIIREG = 0x8948
-- SIOCGPGRP = 0x8904
-- SIOCGRARP = 0x8961
-- SIOCGSKNS = 0x894c
-- SIOCGSTAMP = 0x8906
-- SIOCGSTAMPNS = 0x8907
-- SIOCINQ = 0x541b
-- SIOCOUTQ = 0x5411
-- SIOCOUTQNSD = 0x894b
-- SIOCPROTOPRIVATE = 0x89e0
-- SIOCRTMSG = 0x890d
-- SIOCSARP = 0x8955
-- SIOCSHWTSTAMP = 0x89b0
-- SIOCSIFADDR = 0x8916
-- SIOCSIFBR = 0x8941
-- SIOCSIFBRDADDR = 0x891a
-- SIOCSIFDSTADDR = 0x8918
-- SIOCSIFENCAP = 0x8926
-- SIOCSIFFLAGS = 0x8914
-- SIOCSIFHWADDR = 0x8924
-- SIOCSIFHWBROADCAST = 0x8937
-- SIOCSIFLINK = 0x8911
-- SIOCSIFMAP = 0x8971
-- SIOCSIFMEM = 0x8920
-- SIOCSIFMETRIC = 0x891e
-- SIOCSIFMTU = 0x8922
-- SIOCSIFNAME = 0x8923
-- SIOCSIFNETMASK = 0x891c
-- SIOCSIFPFLAGS = 0x8934
-- SIOCSIFSLAVE = 0x8930
-- SIOCSIFTXQLEN = 0x8943
-- SIOCSIFVLAN = 0x8983
-- SIOCSMIIREG = 0x8949
-- SIOCSPGRP = 0x8902
-- SIOCSRARP = 0x8962
-- SIOCWANDEV = 0x894a
-- SOCK_CLOEXEC = 0x80000
-- SOCK_DCCP = 0x6
-- SOCK_DGRAM = 0x2
-- SOCK_IOC_TYPE = 0x89
-- SOCK_NONBLOCK = 0x800
-- SOCK_PACKET = 0xa
-- SOCK_RAW = 0x3
-- SOCK_RDM = 0x4
-- SOCK_SEQPACKET = 0x5
-- SOCK_STREAM = 0x1
-- SOL_AAL = 0x109
-- SOL_ALG = 0x117
-- SOL_ATM = 0x108
-- SOL_CAIF = 0x116
-- SOL_CAN_BASE = 0x64
-- SOL_DCCP = 0x10d
-- SOL_DECNET = 0x105
-- SOL_ICMPV6 = 0x3a
-- SOL_IP = 0x0
-- SOL_IPV6 = 0x29
-- SOL_IRDA = 0x10a
-- SOL_IUCV = 0x115
-- SOL_KCM = 0x119
-- SOL_LLC = 0x10c
-- SOL_NETBEUI = 0x10b
-- SOL_NETLINK = 0x10e
-- SOL_NFC = 0x118
-- SOL_PACKET = 0x107
-- SOL_PNPIPE = 0x113
-- SOL_PPPOL2TP = 0x111
-- SOL_RAW = 0xff
-- SOL_RDS = 0x114
-- SOL_RXRPC = 0x110
-- SOL_SOCKET = 0x1
-- SOL_TCP = 0x6
-- SOL_TIPC = 0x10f
-- SOL_X25 = 0x106
-- SOMAXCONN = 0x80
-- SO_ACCEPTCONN = 0x1e
-- SO_ATTACH_BPF = 0x32
-- SO_ATTACH_FILTER = 0x1a
-- SO_ATTACH_REUSEPORT_CBPF = 0x33
-- SO_ATTACH_REUSEPORT_EBPF = 0x34
-- SO_BINDTODEVICE = 0x19
-- SO_BPF_EXTENSIONS = 0x30
-- SO_BROADCAST = 0x6
-- SO_BSDCOMPAT = 0xe
-- SO_BUSY_POLL = 0x2e
-- SO_CNX_ADVICE = 0x35
-- SO_DEBUG = 0x1
-- SO_DETACH_BPF = 0x1b
-- SO_DETACH_FILTER = 0x1b
-- SO_DOMAIN = 0x27
-- SO_DONTROUTE = 0x5
-- SO_ERROR = 0x4
-- SO_GET_FILTER = 0x1a
-- SO_INCOMING_CPU = 0x31
-- SO_KEEPALIVE = 0x9
-- SO_LINGER = 0xd
-- SO_LOCK_FILTER = 0x2c
-- SO_MARK = 0x24
-- SO_MAX_PACING_RATE = 0x2f
-- SO_NOFCS = 0x2b
-- SO_NO_CHECK = 0xb
-- SO_OOBINLINE = 0xa
-- SO_PASSCRED = 0x10
-- SO_PASSSEC = 0x22
-- SO_PEEK_OFF = 0x2a
-- SO_PEERCRED = 0x11
-- SO_PEERNAME = 0x1c
-- SO_PEERSEC = 0x1f
-- SO_PRIORITY = 0xc
-- SO_PROTOCOL = 0x26
-- SO_RCVBUF = 0x8
-- SO_RCVBUFFORCE = 0x21
-- SO_RCVLOWAT = 0x12
-- SO_RCVTIMEO = 0x14
-- SO_REUSEADDR = 0x2
-- SO_REUSEPORT = 0xf
-- SO_RXQ_OVFL = 0x28
-- SO_SECURITY_AUTHENTICATION = 0x16
-- SO_SECURITY_ENCRYPTION_NETWORK = 0x18
-- SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
-- SO_SELECT_ERR_QUEUE = 0x2d
-- SO_SNDBUF = 0x7
-- SO_SNDBUFFORCE = 0x20
-- SO_SNDLOWAT = 0x13
-- SO_SNDTIMEO = 0x15
-- SO_TIMESTAMP = 0x1d
-- SO_TIMESTAMPING = 0x25
-- SO_TIMESTAMPNS = 0x23
-- SO_TYPE = 0x3
-- SO_VM_SOCKETS_BUFFER_MAX_SIZE = 0x2
-- SO_VM_SOCKETS_BUFFER_MIN_SIZE = 0x1
-- SO_VM_SOCKETS_BUFFER_SIZE = 0x0
-- SO_VM_SOCKETS_CONNECT_TIMEOUT = 0x6
-- SO_VM_SOCKETS_NONBLOCK_TXRX = 0x7
-- SO_VM_SOCKETS_PEER_HOST_VM_ID = 0x3
-- SO_VM_SOCKETS_TRUSTED = 0x5
-- SO_WIFI_STATUS = 0x29
-- SPLICE_F_GIFT = 0x8
-- SPLICE_F_MORE = 0x4
-- SPLICE_F_MOVE = 0x1
-- SPLICE_F_NONBLOCK = 0x2
-- S_BLKSIZE = 0x200
-- S_IEXEC = 0x40
-- S_IFBLK = 0x6000
-- S_IFCHR = 0x2000
-- S_IFDIR = 0x4000
-- S_IFIFO = 0x1000
-- S_IFLNK = 0xa000
-- S_IFMT = 0xf000
-- S_IFREG = 0x8000
-- S_IFSOCK = 0xc000
-- S_IREAD = 0x100
-- S_IRGRP = 0x20
-- S_IROTH = 0x4
-- S_IRUSR = 0x100
-- S_IRWXG = 0x38
-- S_IRWXO = 0x7
-- S_IRWXU = 0x1c0
-- S_ISGID = 0x400
-- S_ISUID = 0x800
-- S_ISVTX = 0x200
-- S_IWGRP = 0x10
-- S_IWOTH = 0x2
-- S_IWRITE = 0x80
-- S_IWUSR = 0x80
-- S_IXGRP = 0x8
-- S_IXOTH = 0x1
-- S_IXUSR = 0x40
-- TAB0 = 0x0
-- TAB1 = 0x800
-- TAB2 = 0x1000
-- TAB3 = 0x1800
-- TABDLY = 0x1800
-- TASKSTATS_CMD_ATTR_MAX = 0x4
-- TASKSTATS_CMD_MAX = 0x2
-- TASKSTATS_GENL_NAME = "TASKSTATS"
-- TASKSTATS_GENL_VERSION = 0x1
-- TASKSTATS_TYPE_MAX = 0x6
-- TASKSTATS_VERSION = 0x8
-- TCFLSH = 0x540b
-- TCGETA = 0x5405
-- TCGETS = 0x5401
-- TCGETS2 = 0x802c542a
-- TCGETX = 0x5432
-- TCIFLUSH = 0x0
-- TCIOFF = 0x2
-- TCIOFLUSH = 0x2
-- TCION = 0x3
-- TCOFLUSH = 0x1
-- TCOOFF = 0x0
-- TCOON = 0x1
-- TCP_CC_INFO = 0x1a
-- TCP_CONGESTION = 0xd
-- TCP_COOKIE_IN_ALWAYS = 0x1
-- TCP_COOKIE_MAX = 0x10
-- TCP_COOKIE_MIN = 0x8
-- TCP_COOKIE_OUT_NEVER = 0x2
-- TCP_COOKIE_PAIR_SIZE = 0x20
-- TCP_COOKIE_TRANSACTIONS = 0xf
-- TCP_CORK = 0x3
-- TCP_DEFER_ACCEPT = 0x9
-- TCP_FASTOPEN = 0x17
-- TCP_INFO = 0xb
-- TCP_KEEPCNT = 0x6
-- TCP_KEEPIDLE = 0x4
-- TCP_KEEPINTVL = 0x5
-- TCP_LINGER2 = 0x8
-- TCP_MAXSEG = 0x2
-- TCP_MAXWIN = 0xffff
-- TCP_MAX_WINSHIFT = 0xe
-- TCP_MD5SIG = 0xe
-- TCP_MD5SIG_MAXKEYLEN = 0x50
-- TCP_MSS = 0x200
-- TCP_MSS_DEFAULT = 0x218
-- TCP_MSS_DESIRED = 0x4c4
-- TCP_NODELAY = 0x1
-- TCP_NOTSENT_LOWAT = 0x19
-- TCP_QUEUE_SEQ = 0x15
-- TCP_QUICKACK = 0xc
-- TCP_REPAIR = 0x13
-- TCP_REPAIR_OPTIONS = 0x16
-- TCP_REPAIR_QUEUE = 0x14
-- TCP_REPAIR_WINDOW = 0x1d
-- TCP_SAVED_SYN = 0x1c
-- TCP_SAVE_SYN = 0x1b
-- TCP_SYNCNT = 0x7
-- TCP_S_DATA_IN = 0x4
-- TCP_S_DATA_OUT = 0x8
-- TCP_THIN_DUPACK = 0x11
-- TCP_THIN_LINEAR_TIMEOUTS = 0x10
-- TCP_TIMESTAMP = 0x18
-- TCP_USER_TIMEOUT = 0x12
-- TCP_WINDOW_CLAMP = 0xa
-- TCSAFLUSH = 0x2
-- TCSBRK = 0x5409
-- TCSBRKP = 0x5425
-- TCSETA = 0x5406
-- TCSETAF = 0x5408
-- TCSETAW = 0x5407
-- TCSETS = 0x5402
-- TCSETS2 = 0x402c542b
-- TCSETSF = 0x5404
-- TCSETSF2 = 0x402c542d
-- TCSETSW = 0x5403
-- TCSETSW2 = 0x402c542c
-- TCSETX = 0x5433
-- TCSETXF = 0x5434
-- TCSETXW = 0x5435
-- TCXONC = 0x540a
-- TIOCCBRK = 0x5428
-- TIOCCONS = 0x541d
-- TIOCEXCL = 0x540c
-- TIOCGDEV = 0x80045432
-- TIOCGETD = 0x5424
-- TIOCGEXCL = 0x80045440
-- TIOCGICOUNT = 0x545d
-- TIOCGLCKTRMIOS = 0x5456
-- TIOCGPGRP = 0x540f
-- TIOCGPKT = 0x80045438
-- TIOCGPTLCK = 0x80045439
-- TIOCGPTN = 0x80045430
-- TIOCGRS485 = 0x542e
-- TIOCGSERIAL = 0x541e
-- TIOCGSID = 0x5429
-- TIOCGSOFTCAR = 0x5419
-- TIOCGWINSZ = 0x5413
-- TIOCINQ = 0x541b
-- TIOCLINUX = 0x541c
-- TIOCMBIC = 0x5417
-- TIOCMBIS = 0x5416
-- TIOCMGET = 0x5415
-- TIOCMIWAIT = 0x545c
-- TIOCMSET = 0x5418
-- TIOCM_CAR = 0x40
-- TIOCM_CD = 0x40
-- TIOCM_CTS = 0x20
-- TIOCM_DSR = 0x100
-- TIOCM_DTR = 0x2
-- TIOCM_LE = 0x1
-- TIOCM_RI = 0x80
-- TIOCM_RNG = 0x80
-- TIOCM_RTS = 0x4
-- TIOCM_SR = 0x10
-- TIOCM_ST = 0x8
-- TIOCNOTTY = 0x5422
-- TIOCNXCL = 0x540d
-- TIOCOUTQ = 0x5411
-- TIOCPKT = 0x5420
-- TIOCPKT_DATA = 0x0
-- TIOCPKT_DOSTOP = 0x20
-- TIOCPKT_FLUSHREAD = 0x1
-- TIOCPKT_FLUSHWRITE = 0x2
-- TIOCPKT_IOCTL = 0x40
-- TIOCPKT_NOSTOP = 0x10
-- TIOCPKT_START = 0x8
-- TIOCPKT_STOP = 0x4
-- TIOCSBRK = 0x5427
-- TIOCSCTTY = 0x540e
-- TIOCSERCONFIG = 0x5453
-- TIOCSERGETLSR = 0x5459
-- TIOCSERGETMULTI = 0x545a
-- TIOCSERGSTRUCT = 0x5458
-- TIOCSERGWILD = 0x5454
-- TIOCSERSETMULTI = 0x545b
-- TIOCSERSWILD = 0x5455
-- TIOCSER_TEMT = 0x1
-- TIOCSETD = 0x5423
-- TIOCSIG = 0x40045436
-- TIOCSLCKTRMIOS = 0x5457
-- TIOCSPGRP = 0x5410
-- TIOCSPTLCK = 0x40045431
-- TIOCSRS485 = 0x542f
-- TIOCSSERIAL = 0x541f
-- TIOCSSOFTCAR = 0x541a
-- TIOCSTI = 0x5412
-- TIOCSWINSZ = 0x5414
-- TIOCVHANGUP = 0x5437
-- TOSTOP = 0x100
-- TS_COMM_LEN = 0x20
-- TUNATTACHFILTER = 0x400854d5
-- TUNDETACHFILTER = 0x400854d6
-- TUNGETFEATURES = 0x800454cf
-- TUNGETFILTER = 0x800854db
-- TUNGETIFF = 0x800454d2
-- TUNGETSNDBUF = 0x800454d3
-- TUNGETVNETBE = 0x800454df
-- TUNGETVNETHDRSZ = 0x800454d7
-- TUNGETVNETLE = 0x800454dd
-- TUNSETDEBUG = 0x400454c9
-- TUNSETGROUP = 0x400454ce
-- TUNSETIFF = 0x400454ca
-- TUNSETIFINDEX = 0x400454da
-- TUNSETLINK = 0x400454cd
-- TUNSETNOCSUM = 0x400454c8
-- TUNSETOFFLOAD = 0x400454d0
-- TUNSETOWNER = 0x400454cc
-- TUNSETPERSIST = 0x400454cb
-- TUNSETQUEUE = 0x400454d9
-- TUNSETSNDBUF = 0x400454d4
-- TUNSETTXFILTER = 0x400454d1
-- TUNSETVNETBE = 0x400454de
-- TUNSETVNETHDRSZ = 0x400454d8
-- TUNSETVNETLE = 0x400454dc
-- UMOUNT_NOFOLLOW = 0x8
-- VDISCARD = 0xd
-- VEOF = 0x4
-- VEOL = 0xb
-- VEOL2 = 0x10
-- VERASE = 0x2
-- VINTR = 0x0
-- VKILL = 0x3
-- VLNEXT = 0xf
-- VMADDR_CID_ANY = 0xffffffff
-- VMADDR_CID_HOST = 0x2
-- VMADDR_CID_HYPERVISOR = 0x0
-- VMADDR_CID_RESERVED = 0x1
-- VMADDR_PORT_ANY = 0xffffffff
-- VMIN = 0x6
-- VM_SOCKETS_INVALID_VERSION = 0xffffffff
-- VQUIT = 0x1
-- VREPRINT = 0xc
-- VSTART = 0x8
-- VSTOP = 0x9
-- VSUSP = 0xa
-- VSWTC = 0x7
-- VT0 = 0x0
-- VT1 = 0x4000
-- VTDLY = 0x4000
-- VTIME = 0x5
-- VWERASE = 0xe
-- WALL = 0x40000000
-- WCLONE = 0x80000000
-- WCONTINUED = 0x8
-- WEXITED = 0x4
-- WNOHANG = 0x1
-- WNOTHREAD = 0x20000000
-- WNOWAIT = 0x1000000
-- WORDSIZE = 0x20
-- WSTOPPED = 0x2
-- WUNTRACED = 0x2
-- XATTR_CREATE = 0x1
-- XATTR_REPLACE = 0x2
-- XCASE = 0x4
-- XTABS = 0x1800
-+ 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 = 0x80041270
-+ BLKBSZSET = 0x40041271
-+ BLKFLSBUF = 0x1261
-+ BLKFRAGET = 0x1265
-+ BLKFRASET = 0x1264
-+ BLKGETSIZE = 0x1260
-+ BLKGETSIZE64 = 0x80041272
-+ 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
-+ 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
-+ FLUSHO = 0x1000
-+ FS_IOC_ENABLE_VERITY = 0x40806685
-+ FS_IOC_GETFLAGS = 0x80046601
-+ FS_IOC_GET_ENCRYPTION_POLICY = 0x400c6615
-+ FS_IOC_GET_ENCRYPTION_PWSALT = 0x40106614
-+ FS_IOC_SET_ENCRYPTION_POLICY = 0x800c6613
-+ F_GETLK = 0xc
-+ F_GETLK64 = 0xc
-+ F_GETOWN = 0x9
-+ F_RDLCK = 0x0
-+ F_SETLK = 0xd
-+ F_SETLK64 = 0xd
-+ F_SETLKW = 0xe
-+ F_SETLKW64 = 0xe
-+ F_SETOWN = 0x8
-+ F_UNLCK = 0x2
-+ F_WRLCK = 0x1
-+ 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
-+ NFDBITS = 0x20
-+ 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
-+ O_APPEND = 0x400
-+ O_ASYNC = 0x2000
-+ O_CLOEXEC = 0x80000
-+ O_CREAT = 0x40
-+ O_DIRECT = 0x10000
-+ O_DIRECTORY = 0x4000
-+ O_DSYNC = 0x1000
-+ O_EXCL = 0x80
-+ O_FSYNC = 0x101000
-+ O_LARGEFILE = 0x20000
-+ O_NDELAY = 0x800
-+ O_NOATIME = 0x40000
-+ O_NOCTTY = 0x100
-+ O_NOFOLLOW = 0x8000
-+ O_NONBLOCK = 0x800
-+ O_PATH = 0x200000
-+ O_RSYNC = 0x101000
-+ O_SYNC = 0x101000
-+ O_TMPFILE = 0x404000
-+ O_TRUNC = 0x200
-+ PARENB = 0x100
-+ PARODD = 0x200
-+ PENDIN = 0x4000
-+ PERF_EVENT_IOC_DISABLE = 0x2401
-+ PERF_EVENT_IOC_ENABLE = 0x2400
-+ PERF_EVENT_IOC_ID = 0x80042407
-+ PERF_EVENT_IOC_MODIFY_ATTRIBUTES = 0x4004240b
-+ PERF_EVENT_IOC_PAUSE_OUTPUT = 0x40042409
-+ PERF_EVENT_IOC_PERIOD = 0x40082404
-+ PERF_EVENT_IOC_QUERY_BPF = 0xc004240a
-+ PERF_EVENT_IOC_REFRESH = 0x2402
-+ PERF_EVENT_IOC_RESET = 0x2403
-+ PERF_EVENT_IOC_SET_BPF = 0x40042408
-+ PERF_EVENT_IOC_SET_FILTER = 0x40042406
-+ PERF_EVENT_IOC_SET_OUTPUT = 0x2405
-+ PPPIOCATTACH = 0x4004743d
-+ PPPIOCATTCHAN = 0x40047438
-+ PPPIOCCONNECT = 0x4004743a
-+ PPPIOCDETACH = 0x4004743c
-+ PPPIOCDISCONN = 0x7439
-+ PPPIOCGASYNCMAP = 0x80047458
-+ PPPIOCGCHAN = 0x80047437
-+ PPPIOCGDEBUG = 0x80047441
-+ PPPIOCGFLAGS = 0x8004745a
-+ PPPIOCGIDLE = 0x8008743f
-+ PPPIOCGIDLE32 = 0x8008743f
-+ PPPIOCGIDLE64 = 0x8010743f
-+ PPPIOCGL2TPSTATS = 0x80487436
-+ PPPIOCGMRU = 0x80047453
-+ PPPIOCGRASYNCMAP = 0x80047455
-+ PPPIOCGUNIT = 0x80047456
-+ PPPIOCGXASYNCMAP = 0x80207450
-+ PPPIOCSACTIVE = 0x40087446
-+ PPPIOCSASYNCMAP = 0x40047457
-+ PPPIOCSCOMPRESS = 0x400c744d
-+ PPPIOCSDEBUG = 0x40047440
-+ PPPIOCSFLAGS = 0x40047459
-+ PPPIOCSMAXCID = 0x40047451
-+ PPPIOCSMRRU = 0x4004743b
-+ PPPIOCSMRU = 0x40047452
-+ PPPIOCSNPMODE = 0x4008744b
-+ PPPIOCSPASS = 0x40087447
-+ PPPIOCSRASYNCMAP = 0x40047454
-+ PPPIOCSXASYNCMAP = 0x4020744f
-+ PPPIOCXFERUNIT = 0x744e
-+ PR_SET_PTRACER_ANY = 0xffffffff
-+ PTRACE_GETCRUNCHREGS = 0x19
-+ PTRACE_GETFDPIC = 0x1f
-+ PTRACE_GETFDPIC_EXEC = 0x0
-+ PTRACE_GETFDPIC_INTERP = 0x1
-+ PTRACE_GETFPREGS = 0xe
-+ PTRACE_GETHBPREGS = 0x1d
-+ PTRACE_GETVFPREGS = 0x1b
-+ PTRACE_GETWMMXREGS = 0x12
-+ PTRACE_GET_THREAD_AREA = 0x16
-+ PTRACE_OLDSETOPTIONS = 0x15
-+ PTRACE_SETCRUNCHREGS = 0x1a
-+ PTRACE_SETFPREGS = 0xf
-+ PTRACE_SETHBPREGS = 0x1e
-+ PTRACE_SETVFPREGS = 0x1c
-+ PTRACE_SETWMMXREGS = 0x13
-+ PTRACE_SET_SYSCALL = 0x17
-+ PT_DATA_ADDR = 0x10004
-+ PT_TEXT_ADDR = 0x10000
-+ PT_TEXT_END_ADDR = 0x10008
-+ 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 = 0x8004700d
-+ RTC_EPOCH_SET = 0x4004700e
-+ RTC_IRQP_READ = 0x8004700b
-+ RTC_IRQP_SET = 0x4004700c
-+ RTC_PIE_OFF = 0x7006
-+ RTC_PIE_ON = 0x7005
-+ RTC_PLL_GET = 0x801c7011
-+ RTC_PLL_SET = 0x401c7012
-+ 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_BUSY_POLL = 0x2e
-+ 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_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_PROTOCOL = 0x26
-+ SO_RCVBUF = 0x8
-+ SO_RCVBUFFORCE = 0x21
-+ SO_RCVLOWAT = 0x12
-+ SO_RCVTIMEO = 0x14
-+ SO_RCVTIMEO_NEW = 0x42
-+ SO_RCVTIMEO_OLD = 0x14
-+ SO_REUSEADDR = 0x2
-+ SO_REUSEPORT = 0xf
-+ SO_RXQ_OVFL = 0x28
-+ SO_SECURITY_AUTHENTICATION = 0x16
-+ SO_SECURITY_ENCRYPTION_NETWORK = 0x18
-+ SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
-+ SO_SELECT_ERR_QUEUE = 0x2d
-+ SO_SNDBUF = 0x7
-+ SO_SNDBUFFORCE = 0x20
-+ SO_SNDLOWAT = 0x13
-+ SO_SNDTIMEO = 0x15
-+ SO_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_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
-+ 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 = 0x400854d5
-+ TUNDETACHFILTER = 0x400854d6
-+ TUNGETDEVNETNS = 0x54e3
-+ TUNGETFEATURES = 0x800454cf
-+ TUNGETFILTER = 0x800854db
-+ 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 = 0x20
-+ XCASE = 0x4
-+ XTABS = 0x1800
- )
-
- // Errors
- const (
-- E2BIG = syscall.Errno(0x7)
-- EACCES = syscall.Errno(0xd)
- EADDRINUSE = syscall.Errno(0x62)
- EADDRNOTAVAIL = syscall.Errno(0x63)
- EADV = syscall.Errno(0x44)
- EAFNOSUPPORT = syscall.Errno(0x61)
-- EAGAIN = syscall.Errno(0xb)
- EALREADY = syscall.Errno(0x72)
- EBADE = syscall.Errno(0x34)
-- EBADF = syscall.Errno(0x9)
- EBADFD = syscall.Errno(0x4d)
- EBADMSG = syscall.Errno(0x4a)
- EBADR = syscall.Errno(0x35)
- EBADRQC = syscall.Errno(0x38)
- EBADSLT = syscall.Errno(0x39)
- EBFONT = syscall.Errno(0x3b)
-- EBUSY = syscall.Errno(0x10)
- ECANCELED = syscall.Errno(0x7d)
-- ECHILD = syscall.Errno(0xa)
- ECHRNG = syscall.Errno(0x2c)
- ECOMM = syscall.Errno(0x46)
- ECONNABORTED = syscall.Errno(0x67)
-@@ -1886,23 +506,15 @@ const (
- EDEADLK = syscall.Errno(0x23)
- EDEADLOCK = syscall.Errno(0x23)
- EDESTADDRREQ = syscall.Errno(0x59)
-- EDOM = syscall.Errno(0x21)
- EDOTDOT = syscall.Errno(0x49)
- EDQUOT = syscall.Errno(0x7a)
-- EEXIST = syscall.Errno(0x11)
-- EFAULT = syscall.Errno(0xe)
-- EFBIG = syscall.Errno(0x1b)
- EHOSTDOWN = syscall.Errno(0x70)
- EHOSTUNREACH = syscall.Errno(0x71)
- EHWPOISON = syscall.Errno(0x85)
- EIDRM = syscall.Errno(0x2b)
- EILSEQ = syscall.Errno(0x54)
- EINPROGRESS = syscall.Errno(0x73)
-- EINTR = syscall.Errno(0x4)
-- EINVAL = syscall.Errno(0x16)
-- EIO = syscall.Errno(0x5)
- EISCONN = syscall.Errno(0x6a)
-- EISDIR = syscall.Errno(0x15)
- EISNAM = syscall.Errno(0x78)
- EKEYEXPIRED = syscall.Errno(0x7f)
- EKEYREJECTED = syscall.Errno(0x81)
-@@ -1919,8 +531,6 @@ const (
- ELNRNG = syscall.Errno(0x30)
- ELOOP = syscall.Errno(0x28)
- EMEDIUMTYPE = syscall.Errno(0x7c)
-- EMFILE = syscall.Errno(0x18)
-- EMLINK = syscall.Errno(0x1f)
- EMSGSIZE = syscall.Errno(0x5a)
- EMULTIHOP = syscall.Errno(0x48)
- ENAMETOOLONG = syscall.Errno(0x24)
-@@ -1928,103 +538,70 @@ const (
- ENETDOWN = syscall.Errno(0x64)
- ENETRESET = syscall.Errno(0x66)
- ENETUNREACH = syscall.Errno(0x65)
-- ENFILE = syscall.Errno(0x17)
- ENOANO = syscall.Errno(0x37)
- ENOBUFS = syscall.Errno(0x69)
- ENOCSI = syscall.Errno(0x32)
- ENODATA = syscall.Errno(0x3d)
-- ENODEV = syscall.Errno(0x13)
-- ENOENT = syscall.Errno(0x2)
-- ENOEXEC = syscall.Errno(0x8)
- ENOKEY = syscall.Errno(0x7e)
- ENOLCK = syscall.Errno(0x25)
- ENOLINK = syscall.Errno(0x43)
- ENOMEDIUM = syscall.Errno(0x7b)
-- ENOMEM = syscall.Errno(0xc)
- ENOMSG = syscall.Errno(0x2a)
- ENONET = syscall.Errno(0x40)
- ENOPKG = syscall.Errno(0x41)
- ENOPROTOOPT = syscall.Errno(0x5c)
-- ENOSPC = syscall.Errno(0x1c)
- ENOSR = syscall.Errno(0x3f)
- ENOSTR = syscall.Errno(0x3c)
- ENOSYS = syscall.Errno(0x26)
-- ENOTBLK = syscall.Errno(0xf)
- ENOTCONN = syscall.Errno(0x6b)
-- ENOTDIR = syscall.Errno(0x14)
- ENOTEMPTY = syscall.Errno(0x27)
- ENOTNAM = syscall.Errno(0x76)
- ENOTRECOVERABLE = syscall.Errno(0x83)
- ENOTSOCK = syscall.Errno(0x58)
- ENOTSUP = syscall.Errno(0x5f)
-- ENOTTY = syscall.Errno(0x19)
- ENOTUNIQ = syscall.Errno(0x4c)
-- ENXIO = syscall.Errno(0x6)
- EOPNOTSUPP = syscall.Errno(0x5f)
- EOVERFLOW = syscall.Errno(0x4b)
- EOWNERDEAD = syscall.Errno(0x82)
-- EPERM = syscall.Errno(0x1)
- EPFNOSUPPORT = syscall.Errno(0x60)
-- EPIPE = syscall.Errno(0x20)
- EPROTO = syscall.Errno(0x47)
- EPROTONOSUPPORT = syscall.Errno(0x5d)
- EPROTOTYPE = syscall.Errno(0x5b)
-- ERANGE = syscall.Errno(0x22)
- EREMCHG = syscall.Errno(0x4e)
- EREMOTE = syscall.Errno(0x42)
- EREMOTEIO = syscall.Errno(0x79)
- ERESTART = syscall.Errno(0x55)
- ERFKILL = syscall.Errno(0x84)
-- EROFS = syscall.Errno(0x1e)
- ESHUTDOWN = syscall.Errno(0x6c)
- ESOCKTNOSUPPORT = syscall.Errno(0x5e)
-- ESPIPE = syscall.Errno(0x1d)
-- ESRCH = syscall.Errno(0x3)
- ESRMNT = syscall.Errno(0x45)
- ESTALE = syscall.Errno(0x74)
- ESTRPIPE = syscall.Errno(0x56)
- ETIME = syscall.Errno(0x3e)
- ETIMEDOUT = syscall.Errno(0x6e)
- ETOOMANYREFS = syscall.Errno(0x6d)
-- ETXTBSY = syscall.Errno(0x1a)
- EUCLEAN = syscall.Errno(0x75)
- EUNATCH = syscall.Errno(0x31)
- EUSERS = syscall.Errno(0x57)
-- EWOULDBLOCK = syscall.Errno(0xb)
-- EXDEV = syscall.Errno(0x12)
- EXFULL = syscall.Errno(0x36)
- )
-
- // Signals
- const (
-- SIGABRT = syscall.Signal(0x6)
-- SIGALRM = syscall.Signal(0xe)
- SIGBUS = syscall.Signal(0x7)
- SIGCHLD = syscall.Signal(0x11)
- SIGCLD = syscall.Signal(0x11)
- SIGCONT = syscall.Signal(0x12)
-- SIGFPE = syscall.Signal(0x8)
-- SIGHUP = syscall.Signal(0x1)
-- SIGILL = syscall.Signal(0x4)
-- SIGINT = syscall.Signal(0x2)
- SIGIO = syscall.Signal(0x1d)
-- SIGIOT = syscall.Signal(0x6)
-- SIGKILL = syscall.Signal(0x9)
-- SIGPIPE = syscall.Signal(0xd)
- SIGPOLL = syscall.Signal(0x1d)
- SIGPROF = syscall.Signal(0x1b)
- SIGPWR = syscall.Signal(0x1e)
-- SIGQUIT = syscall.Signal(0x3)
-- SIGSEGV = syscall.Signal(0xb)
- SIGSTKFLT = syscall.Signal(0x10)
- SIGSTOP = syscall.Signal(0x13)
- SIGSYS = syscall.Signal(0x1f)
-- SIGTERM = syscall.Signal(0xf)
-- SIGTRAP = syscall.Signal(0x5)
- SIGTSTP = syscall.Signal(0x14)
- SIGTTIN = syscall.Signal(0x15)
- SIGTTOU = syscall.Signal(0x16)
-- SIGUNUSED = syscall.Signal(0x1f)
- SIGURG = syscall.Signal(0x17)
- SIGUSR1 = syscall.Signal(0xa)
- SIGUSR2 = syscall.Signal(0xc)
-@@ -2035,171 +612,179 @@ const (
- )
-
- // Error table
--var errors = [...]string{
-- 1: "operation not permitted",
-- 2: "no such file or directory",
-- 3: "no such process",
-- 4: "interrupted system call",
-- 5: "input/output error",
-- 6: "no such device or address",
-- 7: "argument list too long",
-- 8: "exec format error",
-- 9: "bad file descriptor",
-- 10: "no child processes",
-- 11: "resource temporarily unavailable",
-- 12: "cannot allocate memory",
-- 13: "permission denied",
-- 14: "bad address",
-- 15: "block device required",
-- 16: "device or resource busy",
-- 17: "file exists",
-- 18: "invalid cross-device link",
-- 19: "no such device",
-- 20: "not a directory",
-- 21: "is a directory",
-- 22: "invalid argument",
-- 23: "too many open files in system",
-- 24: "too many open files",
-- 25: "inappropriate ioctl for device",
-- 26: "text file busy",
-- 27: "file too large",
-- 28: "no space left on device",
-- 29: "illegal seek",
-- 30: "read-only file system",
-- 31: "too many links",
-- 32: "broken pipe",
-- 33: "numerical argument out of domain",
-- 34: "numerical result out of range",
-- 35: "resource deadlock avoided",
-- 36: "file name too long",
-- 37: "no locks available",
-- 38: "function not implemented",
-- 39: "directory not empty",
-- 40: "too many levels of symbolic links",
-- 42: "no message of desired type",
-- 43: "identifier removed",
-- 44: "channel number out of range",
-- 45: "level 2 not synchronized",
-- 46: "level 3 halted",
-- 47: "level 3 reset",
-- 48: "link number out of range",
-- 49: "protocol driver not attached",
-- 50: "no CSI structure available",
-- 51: "level 2 halted",
-- 52: "invalid exchange",
-- 53: "invalid request descriptor",
-- 54: "exchange full",
-- 55: "no anode",
-- 56: "invalid request code",
-- 57: "invalid slot",
-- 59: "bad font file format",
-- 60: "device not a stream",
-- 61: "no data available",
-- 62: "timer expired",
-- 63: "out of streams resources",
-- 64: "machine is not on the network",
-- 65: "package not installed",
-- 66: "object is remote",
-- 67: "link has been severed",
-- 68: "advertise error",
-- 69: "srmount error",
-- 70: "communication error on send",
-- 71: "protocol error",
-- 72: "multihop attempted",
-- 73: "RFS specific error",
-- 74: "bad message",
-- 75: "value too large for defined data type",
-- 76: "name not unique on network",
-- 77: "file descriptor in bad state",
-- 78: "remote address changed",
-- 79: "can not access a needed shared library",
-- 80: "accessing a corrupted shared library",
-- 81: ".lib section in a.out corrupted",
-- 82: "attempting to link in too many shared libraries",
-- 83: "cannot exec a shared library directly",
-- 84: "invalid or incomplete multibyte or wide character",
-- 85: "interrupted system call should be restarted",
-- 86: "streams pipe error",
-- 87: "too many users",
-- 88: "socket operation on non-socket",
-- 89: "destination address required",
-- 90: "message too long",
-- 91: "protocol wrong type for socket",
-- 92: "protocol not available",
-- 93: "protocol not supported",
-- 94: "socket type not supported",
-- 95: "operation not supported",
-- 96: "protocol family not supported",
-- 97: "address family not supported by protocol",
-- 98: "address already in use",
-- 99: "cannot assign requested address",
-- 100: "network is down",
-- 101: "network is unreachable",
-- 102: "network dropped connection on reset",
-- 103: "software caused connection abort",
-- 104: "connection reset by peer",
-- 105: "no buffer space available",
-- 106: "transport endpoint is already connected",
-- 107: "transport endpoint is not connected",
-- 108: "cannot send after transport endpoint shutdown",
-- 109: "too many references: cannot splice",
-- 110: "connection timed out",
-- 111: "connection refused",
-- 112: "host is down",
-- 113: "no route to host",
-- 114: "operation already in progress",
-- 115: "operation now in progress",
-- 116: "stale file handle",
-- 117: "structure needs cleaning",
-- 118: "not a XENIX named type file",
-- 119: "no XENIX semaphores available",
-- 120: "is a named type file",
-- 121: "remote I/O error",
-- 122: "disk quota exceeded",
-- 123: "no medium found",
-- 124: "wrong medium type",
-- 125: "operation canceled",
-- 126: "required key not available",
-- 127: "key has expired",
-- 128: "key has been revoked",
-- 129: "key was rejected by service",
-- 130: "owner died",
-- 131: "state not recoverable",
-- 132: "operation not possible due to RF-kill",
-- 133: "memory page has hardware error",
-+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 signals = [...]string{
-- 1: "hangup",
-- 2: "interrupt",
-- 3: "quit",
-- 4: "illegal instruction",
-- 5: "trace/breakpoint trap",
-- 6: "aborted",
-- 7: "bus error",
-- 8: "floating point exception",
-- 9: "killed",
-- 10: "user defined signal 1",
-- 11: "segmentation fault",
-- 12: "user defined signal 2",
-- 13: "broken pipe",
-- 14: "alarm clock",
-- 15: "terminated",
-- 16: "stack fault",
-- 17: "child exited",
-- 18: "continued",
-- 19: "stopped (signal)",
-- 20: "stopped",
-- 21: "stopped (tty input)",
-- 22: "stopped (tty output)",
-- 23: "urgent I/O condition",
-- 24: "CPU time limit exceeded",
-- 25: "file size limit exceeded",
-- 26: "virtual timer expired",
-- 27: "profiling timer expired",
-- 28: "window changed",
-- 29: "I/O possible",
-- 30: "power failure",
-- 31: "bad system call",
-+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_arm64.go b/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go
-index c0ecd47c..9ee8d1bc 100644
---- a/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go
-+++ b/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go
-@@ -3,7 +3,7 @@
-
- // +build arm64,linux
-
--// Created by cgo -godefs - DO NOT EDIT
-+// Code generated by cmd/cgo -godefs; DO NOT EDIT.
- // cgo -godefs -- -Wall -Werror -static -I/tmp/include -fsigned-char _const.go
-
- package unix
-@@ -11,1858 +11,480 @@ package unix
- import "syscall"
-
- const (
-- AF_ALG = 0x26
-- AF_APPLETALK = 0x5
-- AF_ASH = 0x12
-- AF_ATMPVC = 0x8
-- AF_ATMSVC = 0x14
-- AF_AX25 = 0x3
-- AF_BLUETOOTH = 0x1f
-- AF_BRIDGE = 0x7
-- AF_CAIF = 0x25
-- AF_CAN = 0x1d
-- AF_DECnet = 0xc
-- AF_ECONET = 0x13
-- AF_FILE = 0x1
-- AF_IB = 0x1b
-- AF_IEEE802154 = 0x24
-- AF_INET = 0x2
-- AF_INET6 = 0xa
-- AF_IPX = 0x4
-- AF_IRDA = 0x17
-- AF_ISDN = 0x22
-- AF_IUCV = 0x20
-- AF_KCM = 0x29
-- AF_KEY = 0xf
-- AF_LLC = 0x1a
-- AF_LOCAL = 0x1
-- AF_MAX = 0x2b
-- AF_MPLS = 0x1c
-- AF_NETBEUI = 0xd
-- AF_NETLINK = 0x10
-- AF_NETROM = 0x6
-- AF_NFC = 0x27
-- AF_PACKET = 0x11
-- AF_PHONET = 0x23
-- AF_PPPOX = 0x18
-- AF_QIPCRTR = 0x2a
-- AF_RDS = 0x15
-- AF_ROSE = 0xb
-- AF_ROUTE = 0x10
-- AF_RXRPC = 0x21
-- AF_SECURITY = 0xe
-- AF_SNA = 0x16
-- AF_TIPC = 0x1e
-- AF_UNIX = 0x1
-- AF_UNSPEC = 0x0
-- AF_VSOCK = 0x28
-- AF_WANPIPE = 0x19
-- AF_X25 = 0x9
-- ALG_OP_DECRYPT = 0x0
-- ALG_OP_ENCRYPT = 0x1
-- ALG_SET_AEAD_ASSOCLEN = 0x4
-- ALG_SET_AEAD_AUTHSIZE = 0x5
-- ALG_SET_IV = 0x2
-- ALG_SET_KEY = 0x1
-- ALG_SET_OP = 0x3
-- ARPHRD_6LOWPAN = 0x339
-- ARPHRD_ADAPT = 0x108
-- ARPHRD_APPLETLK = 0x8
-- ARPHRD_ARCNET = 0x7
-- ARPHRD_ASH = 0x30d
-- ARPHRD_ATM = 0x13
-- ARPHRD_AX25 = 0x3
-- ARPHRD_BIF = 0x307
-- ARPHRD_CAIF = 0x336
-- ARPHRD_CAN = 0x118
-- ARPHRD_CHAOS = 0x5
-- ARPHRD_CISCO = 0x201
-- ARPHRD_CSLIP = 0x101
-- ARPHRD_CSLIP6 = 0x103
-- ARPHRD_DDCMP = 0x205
-- ARPHRD_DLCI = 0xf
-- ARPHRD_ECONET = 0x30e
-- ARPHRD_EETHER = 0x2
-- ARPHRD_ETHER = 0x1
-- ARPHRD_EUI64 = 0x1b
-- ARPHRD_FCAL = 0x311
-- ARPHRD_FCFABRIC = 0x313
-- ARPHRD_FCPL = 0x312
-- ARPHRD_FCPP = 0x310
-- ARPHRD_FDDI = 0x306
-- ARPHRD_FRAD = 0x302
-- ARPHRD_HDLC = 0x201
-- ARPHRD_HIPPI = 0x30c
-- ARPHRD_HWX25 = 0x110
-- ARPHRD_IEEE1394 = 0x18
-- ARPHRD_IEEE802 = 0x6
-- ARPHRD_IEEE80211 = 0x321
-- ARPHRD_IEEE80211_PRISM = 0x322
-- ARPHRD_IEEE80211_RADIOTAP = 0x323
-- ARPHRD_IEEE802154 = 0x324
-- ARPHRD_IEEE802154_MONITOR = 0x325
-- ARPHRD_IEEE802_TR = 0x320
-- ARPHRD_INFINIBAND = 0x20
-- ARPHRD_IP6GRE = 0x337
-- ARPHRD_IPDDP = 0x309
-- ARPHRD_IPGRE = 0x30a
-- ARPHRD_IRDA = 0x30f
-- ARPHRD_LAPB = 0x204
-- ARPHRD_LOCALTLK = 0x305
-- ARPHRD_LOOPBACK = 0x304
-- ARPHRD_METRICOM = 0x17
-- ARPHRD_NETLINK = 0x338
-- ARPHRD_NETROM = 0x0
-- ARPHRD_NONE = 0xfffe
-- ARPHRD_PHONET = 0x334
-- ARPHRD_PHONET_PIPE = 0x335
-- ARPHRD_PIMREG = 0x30b
-- ARPHRD_PPP = 0x200
-- ARPHRD_PRONET = 0x4
-- ARPHRD_RAWHDLC = 0x206
-- ARPHRD_ROSE = 0x10e
-- ARPHRD_RSRVD = 0x104
-- ARPHRD_SIT = 0x308
-- ARPHRD_SKIP = 0x303
-- ARPHRD_SLIP = 0x100
-- ARPHRD_SLIP6 = 0x102
-- ARPHRD_TUNNEL = 0x300
-- ARPHRD_TUNNEL6 = 0x301
-- ARPHRD_VOID = 0xffff
-- ARPHRD_X25 = 0x10f
-- B0 = 0x0
-- B1000000 = 0x1008
-- B110 = 0x3
-- B115200 = 0x1002
-- B1152000 = 0x1009
-- B1200 = 0x9
-- B134 = 0x4
-- B150 = 0x5
-- B1500000 = 0x100a
-- B1800 = 0xa
-- B19200 = 0xe
-- B200 = 0x6
-- B2000000 = 0x100b
-- B230400 = 0x1003
-- B2400 = 0xb
-- B2500000 = 0x100c
-- B300 = 0x7
-- B3000000 = 0x100d
-- B3500000 = 0x100e
-- B38400 = 0xf
-- B4000000 = 0x100f
-- B460800 = 0x1004
-- B4800 = 0xc
-- B50 = 0x1
-- B500000 = 0x1005
-- B57600 = 0x1001
-- B576000 = 0x1006
-- B600 = 0x8
-- B75 = 0x2
-- B921600 = 0x1007
-- B9600 = 0xd
-- 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
-- BPF_A = 0x10
-- BPF_ABS = 0x20
-- BPF_ADD = 0x0
-- BPF_ALU = 0x4
-- BPF_AND = 0x50
-- BPF_B = 0x10
-- BPF_DIV = 0x30
-- BPF_H = 0x8
-- BPF_IMM = 0x0
-- BPF_IND = 0x40
-- BPF_JA = 0x0
-- BPF_JEQ = 0x10
-- BPF_JGE = 0x30
-- BPF_JGT = 0x20
-- BPF_JMP = 0x5
-- BPF_JSET = 0x40
-- BPF_K = 0x0
-- BPF_LD = 0x0
-- BPF_LDX = 0x1
-- BPF_LEN = 0x80
-- BPF_LL_OFF = -0x200000
-- BPF_LSH = 0x60
-- BPF_MAJOR_VERSION = 0x1
-- BPF_MAXINSNS = 0x1000
-- BPF_MEM = 0x60
-- BPF_MEMWORDS = 0x10
-- BPF_MINOR_VERSION = 0x1
-- BPF_MISC = 0x7
-- BPF_MOD = 0x90
-- BPF_MSH = 0xa0
-- BPF_MUL = 0x20
-- BPF_NEG = 0x80
-- BPF_NET_OFF = -0x100000
-- BPF_OR = 0x40
-- BPF_RET = 0x6
-- BPF_RSH = 0x70
-- BPF_ST = 0x2
-- BPF_STX = 0x3
-- BPF_SUB = 0x10
-- BPF_TAX = 0x0
-- BPF_TXA = 0x80
-- BPF_W = 0x0
-- BPF_X = 0x8
-- BPF_XOR = 0xa0
-- BRKINT = 0x2
-- BS0 = 0x0
-- BS1 = 0x2000
-- BSDLY = 0x2000
-- CAN_BCM = 0x2
-- CAN_EFF_FLAG = 0x80000000
-- CAN_EFF_ID_BITS = 0x1d
-- CAN_EFF_MASK = 0x1fffffff
-- CAN_ERR_FLAG = 0x20000000
-- CAN_ERR_MASK = 0x1fffffff
-- CAN_INV_FILTER = 0x20000000
-- CAN_ISOTP = 0x6
-- CAN_MAX_DLC = 0x8
-- CAN_MAX_DLEN = 0x8
-- CAN_MCNET = 0x5
-- CAN_MTU = 0x10
-- CAN_NPROTO = 0x7
-- CAN_RAW = 0x1
-- CAN_RAW_FILTER_MAX = 0x200
-- CAN_RTR_FLAG = 0x40000000
-- CAN_SFF_ID_BITS = 0xb
-- CAN_SFF_MASK = 0x7ff
-- CAN_TP16 = 0x3
-- CAN_TP20 = 0x4
-- CBAUD = 0x100f
-- CBAUDEX = 0x1000
-- CFLUSH = 0xf
-- CIBAUD = 0x100f0000
-- CLOCAL = 0x800
-- CLOCK_BOOTTIME = 0x7
-- CLOCK_BOOTTIME_ALARM = 0x9
-- CLOCK_DEFAULT = 0x0
-- CLOCK_EXT = 0x1
-- CLOCK_INT = 0x2
-- CLOCK_MONOTONIC = 0x1
-- CLOCK_MONOTONIC_COARSE = 0x6
-- CLOCK_MONOTONIC_RAW = 0x4
-- CLOCK_PROCESS_CPUTIME_ID = 0x2
-- CLOCK_REALTIME = 0x0
-- CLOCK_REALTIME_ALARM = 0x8
-- CLOCK_REALTIME_COARSE = 0x5
-- CLOCK_TAI = 0xb
-- CLOCK_THREAD_CPUTIME_ID = 0x3
-- CLOCK_TXFROMRX = 0x4
-- CLOCK_TXINT = 0x3
-- CLONE_CHILD_CLEARTID = 0x200000
-- CLONE_CHILD_SETTID = 0x1000000
-- CLONE_DETACHED = 0x400000
-- CLONE_FILES = 0x400
-- CLONE_FS = 0x200
-- CLONE_IO = 0x80000000
-- CLONE_NEWCGROUP = 0x2000000
-- CLONE_NEWIPC = 0x8000000
-- CLONE_NEWNET = 0x40000000
-- CLONE_NEWNS = 0x20000
-- CLONE_NEWPID = 0x20000000
-- CLONE_NEWUSER = 0x10000000
-- CLONE_NEWUTS = 0x4000000
-- CLONE_PARENT = 0x8000
-- CLONE_PARENT_SETTID = 0x100000
-- CLONE_PTRACE = 0x2000
-- CLONE_SETTLS = 0x80000
-- CLONE_SIGHAND = 0x800
-- CLONE_SYSVSEM = 0x40000
-- CLONE_THREAD = 0x10000
-- CLONE_UNTRACED = 0x800000
-- CLONE_VFORK = 0x4000
-- CLONE_VM = 0x100
-- CMSPAR = 0x40000000
-- CR0 = 0x0
-- CR1 = 0x200
-- CR2 = 0x400
-- CR3 = 0x600
-- CRDLY = 0x600
-- CREAD = 0x80
-- CRTSCTS = 0x80000000
-- CS5 = 0x0
-- CS6 = 0x10
-- CS7 = 0x20
-- CS8 = 0x30
-- CSIGNAL = 0xff
-- CSIZE = 0x30
-- CSTART = 0x11
-- CSTATUS = 0x0
-- CSTOP = 0x13
-- CSTOPB = 0x40
-- CSUSP = 0x1a
-- DT_BLK = 0x6
-- DT_CHR = 0x2
-- DT_DIR = 0x4
-- DT_FIFO = 0x1
-- DT_LNK = 0xa
-- DT_REG = 0x8
-- DT_SOCK = 0xc
-- DT_UNKNOWN = 0x0
-- DT_WHT = 0xe
-- ECHO = 0x8
-- ECHOCTL = 0x200
-- ECHOE = 0x10
-- ECHOK = 0x20
-- ECHOKE = 0x800
-- ECHONL = 0x40
-- ECHOPRT = 0x400
-- EFD_CLOEXEC = 0x80000
-- EFD_NONBLOCK = 0x800
-- EFD_SEMAPHORE = 0x1
-- ENCODING_DEFAULT = 0x0
-- ENCODING_FM_MARK = 0x3
-- ENCODING_FM_SPACE = 0x4
-- ENCODING_MANCHESTER = 0x5
-- ENCODING_NRZ = 0x1
-- ENCODING_NRZI = 0x2
-- EPOLLERR = 0x8
-- EPOLLET = 0x80000000
-- EPOLLEXCLUSIVE = 0x10000000
-- EPOLLHUP = 0x10
-- EPOLLIN = 0x1
-- EPOLLMSG = 0x400
-- EPOLLONESHOT = 0x40000000
-- EPOLLOUT = 0x4
-- EPOLLPRI = 0x2
-- EPOLLRDBAND = 0x80
-- EPOLLRDHUP = 0x2000
-- EPOLLRDNORM = 0x40
-- EPOLLWAKEUP = 0x20000000
-- EPOLLWRBAND = 0x200
-- EPOLLWRNORM = 0x100
-- EPOLL_CLOEXEC = 0x80000
-- EPOLL_CTL_ADD = 0x1
-- EPOLL_CTL_DEL = 0x2
-- EPOLL_CTL_MOD = 0x3
-- ESR_MAGIC = 0x45535201
-- ETH_P_1588 = 0x88f7
-- ETH_P_8021AD = 0x88a8
-- ETH_P_8021AH = 0x88e7
-- ETH_P_8021Q = 0x8100
-- ETH_P_80221 = 0x8917
-- ETH_P_802_2 = 0x4
-- ETH_P_802_3 = 0x1
-- ETH_P_802_3_MIN = 0x600
-- ETH_P_802_EX1 = 0x88b5
-- ETH_P_AARP = 0x80f3
-- ETH_P_AF_IUCV = 0xfbfb
-- ETH_P_ALL = 0x3
-- ETH_P_AOE = 0x88a2
-- ETH_P_ARCNET = 0x1a
-- ETH_P_ARP = 0x806
-- ETH_P_ATALK = 0x809b
-- ETH_P_ATMFATE = 0x8884
-- ETH_P_ATMMPOA = 0x884c
-- ETH_P_AX25 = 0x2
-- ETH_P_BATMAN = 0x4305
-- ETH_P_BPQ = 0x8ff
-- ETH_P_CAIF = 0xf7
-- ETH_P_CAN = 0xc
-- ETH_P_CANFD = 0xd
-- ETH_P_CONTROL = 0x16
-- ETH_P_CUST = 0x6006
-- ETH_P_DDCMP = 0x6
-- ETH_P_DEC = 0x6000
-- ETH_P_DIAG = 0x6005
-- ETH_P_DNA_DL = 0x6001
-- ETH_P_DNA_RC = 0x6002
-- ETH_P_DNA_RT = 0x6003
-- ETH_P_DSA = 0x1b
-- ETH_P_ECONET = 0x18
-- ETH_P_EDSA = 0xdada
-- ETH_P_FCOE = 0x8906
-- ETH_P_FIP = 0x8914
-- ETH_P_HDLC = 0x19
-- ETH_P_HSR = 0x892f
-- ETH_P_IEEE802154 = 0xf6
-- ETH_P_IEEEPUP = 0xa00
-- ETH_P_IEEEPUPAT = 0xa01
-- ETH_P_IP = 0x800
-- ETH_P_IPV6 = 0x86dd
-- ETH_P_IPX = 0x8137
-- ETH_P_IRDA = 0x17
-- ETH_P_LAT = 0x6004
-- ETH_P_LINK_CTL = 0x886c
-- ETH_P_LOCALTALK = 0x9
-- ETH_P_LOOP = 0x60
-- ETH_P_LOOPBACK = 0x9000
-- ETH_P_MACSEC = 0x88e5
-- ETH_P_MOBITEX = 0x15
-- ETH_P_MPLS_MC = 0x8848
-- ETH_P_MPLS_UC = 0x8847
-- ETH_P_MVRP = 0x88f5
-- ETH_P_NCSI = 0x88f8
-- ETH_P_PAE = 0x888e
-- ETH_P_PAUSE = 0x8808
-- ETH_P_PHONET = 0xf5
-- ETH_P_PPPTALK = 0x10
-- ETH_P_PPP_DISC = 0x8863
-- ETH_P_PPP_MP = 0x8
-- ETH_P_PPP_SES = 0x8864
-- ETH_P_PRP = 0x88fb
-- ETH_P_PUP = 0x200
-- ETH_P_PUPAT = 0x201
-- ETH_P_QINQ1 = 0x9100
-- ETH_P_QINQ2 = 0x9200
-- ETH_P_QINQ3 = 0x9300
-- ETH_P_RARP = 0x8035
-- ETH_P_SCA = 0x6007
-- ETH_P_SLOW = 0x8809
-- ETH_P_SNAP = 0x5
-- ETH_P_TDLS = 0x890d
-- ETH_P_TEB = 0x6558
-- ETH_P_TIPC = 0x88ca
-- ETH_P_TRAILER = 0x1c
-- ETH_P_TR_802_2 = 0x11
-- ETH_P_TSN = 0x22f0
-- ETH_P_WAN_PPP = 0x7
-- ETH_P_WCCP = 0x883e
-- ETH_P_X25 = 0x805
-- ETH_P_XDSA = 0xf8
-- EXTA = 0xe
-- EXTB = 0xf
-- EXTPROC = 0x10000
-- FALLOC_FL_COLLAPSE_RANGE = 0x8
-- FALLOC_FL_INSERT_RANGE = 0x20
-- FALLOC_FL_KEEP_SIZE = 0x1
-- FALLOC_FL_NO_HIDE_STALE = 0x4
-- FALLOC_FL_PUNCH_HOLE = 0x2
-- FALLOC_FL_UNSHARE_RANGE = 0x40
-- FALLOC_FL_ZERO_RANGE = 0x10
-- FD_CLOEXEC = 0x1
-- FD_SETSIZE = 0x400
-- FF0 = 0x0
-- FF1 = 0x8000
-- FFDLY = 0x8000
-- FLUSHO = 0x1000
-- FS_ENCRYPTION_MODE_AES_256_CBC = 0x3
-- FS_ENCRYPTION_MODE_AES_256_CTS = 0x4
-- FS_ENCRYPTION_MODE_AES_256_GCM = 0x2
-- FS_ENCRYPTION_MODE_AES_256_XTS = 0x1
-- FS_ENCRYPTION_MODE_INVALID = 0x0
-- FS_IOC_GET_ENCRYPTION_POLICY = 0x400c6615
-- FS_IOC_GET_ENCRYPTION_PWSALT = 0x40106614
-- FS_IOC_SET_ENCRYPTION_POLICY = 0x800c6613
-- FS_KEY_DESCRIPTOR_SIZE = 0x8
-- FS_KEY_DESC_PREFIX = "fscrypt:"
-- FS_KEY_DESC_PREFIX_SIZE = 0x8
-- FS_MAX_KEY_SIZE = 0x40
-- FS_POLICY_FLAGS_PAD_16 = 0x2
-- FS_POLICY_FLAGS_PAD_32 = 0x3
-- FS_POLICY_FLAGS_PAD_4 = 0x0
-- FS_POLICY_FLAGS_PAD_8 = 0x1
-- FS_POLICY_FLAGS_PAD_MASK = 0x3
-- FS_POLICY_FLAGS_VALID = 0x3
-- F_DUPFD = 0x0
-- F_DUPFD_CLOEXEC = 0x406
-- F_EXLCK = 0x4
-- F_GETFD = 0x1
-- F_GETFL = 0x3
-- F_GETLEASE = 0x401
-- F_GETLK = 0x5
-- F_GETLK64 = 0x5
-- F_GETOWN = 0x9
-- F_GETOWN_EX = 0x10
-- F_GETPIPE_SZ = 0x408
-- F_GETSIG = 0xb
-- F_LOCK = 0x1
-- F_NOTIFY = 0x402
-- F_OFD_GETLK = 0x24
-- F_OFD_SETLK = 0x25
-- F_OFD_SETLKW = 0x26
-- F_OK = 0x0
-- F_RDLCK = 0x0
-- F_SETFD = 0x2
-- F_SETFL = 0x4
-- F_SETLEASE = 0x400
-- F_SETLK = 0x6
-- F_SETLK64 = 0x6
-- F_SETLKW = 0x7
-- F_SETLKW64 = 0x7
-- F_SETOWN = 0x8
-- F_SETOWN_EX = 0xf
-- F_SETPIPE_SZ = 0x407
-- F_SETSIG = 0xa
-- F_SHLCK = 0x8
-- F_TEST = 0x3
-- F_TLOCK = 0x2
-- F_ULOCK = 0x0
-- F_UNLCK = 0x2
-- F_WRLCK = 0x1
-- GENL_ADMIN_PERM = 0x1
-- GENL_CMD_CAP_DO = 0x2
-- GENL_CMD_CAP_DUMP = 0x4
-- GENL_CMD_CAP_HASPOL = 0x8
-- GENL_HDRLEN = 0x4
-- GENL_ID_CTRL = 0x10
-- GENL_ID_PMCRAID = 0x12
-- GENL_ID_VFS_DQUOT = 0x11
-- GENL_MAX_ID = 0x3ff
-- GENL_MIN_ID = 0x10
-- GENL_NAMSIZ = 0x10
-- GENL_START_ALLOC = 0x13
-- GENL_UNS_ADMIN_PERM = 0x10
-- GRND_NONBLOCK = 0x1
-- GRND_RANDOM = 0x2
-- HUPCL = 0x400
-- IBSHIFT = 0x10
-- ICANON = 0x2
-- ICMPV6_FILTER = 0x1
-- ICRNL = 0x100
-- IEXTEN = 0x8000
-- IFA_F_DADFAILED = 0x8
-- IFA_F_DEPRECATED = 0x20
-- IFA_F_HOMEADDRESS = 0x10
-- IFA_F_MANAGETEMPADDR = 0x100
-- IFA_F_MCAUTOJOIN = 0x400
-- IFA_F_NODAD = 0x2
-- IFA_F_NOPREFIXROUTE = 0x200
-- IFA_F_OPTIMISTIC = 0x4
-- IFA_F_PERMANENT = 0x80
-- IFA_F_SECONDARY = 0x1
-- IFA_F_STABLE_PRIVACY = 0x800
-- IFA_F_TEMPORARY = 0x1
-- IFA_F_TENTATIVE = 0x40
-- IFA_MAX = 0x8
-- IFF_ALLMULTI = 0x200
-- IFF_ATTACH_QUEUE = 0x200
-- IFF_AUTOMEDIA = 0x4000
-- IFF_BROADCAST = 0x2
-- IFF_DEBUG = 0x4
-- IFF_DETACH_QUEUE = 0x400
-- IFF_DORMANT = 0x20000
-- IFF_DYNAMIC = 0x8000
-- IFF_ECHO = 0x40000
-- IFF_LOOPBACK = 0x8
-- IFF_LOWER_UP = 0x10000
-- IFF_MASTER = 0x400
-- IFF_MULTICAST = 0x1000
-- IFF_MULTI_QUEUE = 0x100
-- IFF_NOARP = 0x80
-- IFF_NOFILTER = 0x1000
-- IFF_NOTRAILERS = 0x20
-- IFF_NO_PI = 0x1000
-- IFF_ONE_QUEUE = 0x2000
-- IFF_PERSIST = 0x800
-- IFF_POINTOPOINT = 0x10
-- IFF_PORTSEL = 0x2000
-- IFF_PROMISC = 0x100
-- IFF_RUNNING = 0x40
-- IFF_SLAVE = 0x800
-- IFF_TAP = 0x2
-- IFF_TUN = 0x1
-- IFF_TUN_EXCL = 0x8000
-- IFF_UP = 0x1
-- IFF_VNET_HDR = 0x4000
-- IFF_VOLATILE = 0x70c5a
-- IFNAMSIZ = 0x10
-- IGNBRK = 0x1
-- IGNCR = 0x80
-- IGNPAR = 0x4
-- IMAXBEL = 0x2000
-- INLCR = 0x40
-- INPCK = 0x10
-- IN_ACCESS = 0x1
-- IN_ALL_EVENTS = 0xfff
-- IN_ATTRIB = 0x4
-- IN_CLASSA_HOST = 0xffffff
-- IN_CLASSA_MAX = 0x80
-- IN_CLASSA_NET = 0xff000000
-- IN_CLASSA_NSHIFT = 0x18
-- IN_CLASSB_HOST = 0xffff
-- IN_CLASSB_MAX = 0x10000
-- IN_CLASSB_NET = 0xffff0000
-- IN_CLASSB_NSHIFT = 0x10
-- IN_CLASSC_HOST = 0xff
-- IN_CLASSC_NET = 0xffffff00
-- IN_CLASSC_NSHIFT = 0x8
-- IN_CLOEXEC = 0x80000
-- IN_CLOSE = 0x18
-- IN_CLOSE_NOWRITE = 0x10
-- IN_CLOSE_WRITE = 0x8
-- IN_CREATE = 0x100
-- IN_DELETE = 0x200
-- IN_DELETE_SELF = 0x400
-- IN_DONT_FOLLOW = 0x2000000
-- IN_EXCL_UNLINK = 0x4000000
-- IN_IGNORED = 0x8000
-- IN_ISDIR = 0x40000000
-- IN_LOOPBACKNET = 0x7f
-- IN_MASK_ADD = 0x20000000
-- IN_MODIFY = 0x2
-- IN_MOVE = 0xc0
-- IN_MOVED_FROM = 0x40
-- IN_MOVED_TO = 0x80
-- IN_MOVE_SELF = 0x800
-- IN_NONBLOCK = 0x800
-- IN_ONESHOT = 0x80000000
-- IN_ONLYDIR = 0x1000000
-- IN_OPEN = 0x20
-- IN_Q_OVERFLOW = 0x4000
-- IN_UNMOUNT = 0x2000
-- IPPROTO_AH = 0x33
-- IPPROTO_BEETPH = 0x5e
-- IPPROTO_COMP = 0x6c
-- IPPROTO_DCCP = 0x21
-- IPPROTO_DSTOPTS = 0x3c
-- IPPROTO_EGP = 0x8
-- IPPROTO_ENCAP = 0x62
-- IPPROTO_ESP = 0x32
-- IPPROTO_FRAGMENT = 0x2c
-- IPPROTO_GRE = 0x2f
-- IPPROTO_HOPOPTS = 0x0
-- IPPROTO_ICMP = 0x1
-- IPPROTO_ICMPV6 = 0x3a
-- IPPROTO_IDP = 0x16
-- IPPROTO_IGMP = 0x2
-- IPPROTO_IP = 0x0
-- IPPROTO_IPIP = 0x4
-- IPPROTO_IPV6 = 0x29
-- IPPROTO_MH = 0x87
-- IPPROTO_MPLS = 0x89
-- IPPROTO_MTP = 0x5c
-- IPPROTO_NONE = 0x3b
-- IPPROTO_PIM = 0x67
-- IPPROTO_PUP = 0xc
-- IPPROTO_RAW = 0xff
-- IPPROTO_ROUTING = 0x2b
-- IPPROTO_RSVP = 0x2e
-- IPPROTO_SCTP = 0x84
-- IPPROTO_TCP = 0x6
-- IPPROTO_TP = 0x1d
-- IPPROTO_UDP = 0x11
-- IPPROTO_UDPLITE = 0x88
-- IPV6_2292DSTOPTS = 0x4
-- IPV6_2292HOPLIMIT = 0x8
-- IPV6_2292HOPOPTS = 0x3
-- IPV6_2292PKTINFO = 0x2
-- IPV6_2292PKTOPTIONS = 0x6
-- IPV6_2292RTHDR = 0x5
-- IPV6_ADDRFORM = 0x1
-- IPV6_ADD_MEMBERSHIP = 0x14
-- IPV6_AUTHHDR = 0xa
-- IPV6_CHECKSUM = 0x7
-- IPV6_DONTFRAG = 0x3e
-- IPV6_DROP_MEMBERSHIP = 0x15
-- IPV6_DSTOPTS = 0x3b
-- IPV6_HDRINCL = 0x24
-- IPV6_HOPLIMIT = 0x34
-- IPV6_HOPOPTS = 0x36
-- IPV6_IPSEC_POLICY = 0x22
-- IPV6_JOIN_ANYCAST = 0x1b
-- IPV6_JOIN_GROUP = 0x14
-- IPV6_LEAVE_ANYCAST = 0x1c
-- IPV6_LEAVE_GROUP = 0x15
-- IPV6_MTU = 0x18
-- IPV6_MTU_DISCOVER = 0x17
-- IPV6_MULTICAST_HOPS = 0x12
-- IPV6_MULTICAST_IF = 0x11
-- IPV6_MULTICAST_LOOP = 0x13
-- IPV6_NEXTHOP = 0x9
-- IPV6_PATHMTU = 0x3d
-- IPV6_PKTINFO = 0x32
-- IPV6_PMTUDISC_DO = 0x2
-- IPV6_PMTUDISC_DONT = 0x0
-- IPV6_PMTUDISC_INTERFACE = 0x4
-- IPV6_PMTUDISC_OMIT = 0x5
-- IPV6_PMTUDISC_PROBE = 0x3
-- IPV6_PMTUDISC_WANT = 0x1
-- IPV6_RECVDSTOPTS = 0x3a
-- IPV6_RECVERR = 0x19
-- IPV6_RECVHOPLIMIT = 0x33
-- IPV6_RECVHOPOPTS = 0x35
-- IPV6_RECVPATHMTU = 0x3c
-- IPV6_RECVPKTINFO = 0x31
-- IPV6_RECVRTHDR = 0x38
-- IPV6_RECVTCLASS = 0x42
-- IPV6_ROUTER_ALERT = 0x16
-- IPV6_RTHDR = 0x39
-- IPV6_RTHDRDSTOPTS = 0x37
-- IPV6_RTHDR_LOOSE = 0x0
-- IPV6_RTHDR_STRICT = 0x1
-- IPV6_RTHDR_TYPE_0 = 0x0
-- IPV6_RXDSTOPTS = 0x3b
-- IPV6_RXHOPOPTS = 0x36
-- IPV6_TCLASS = 0x43
-- IPV6_UNICAST_HOPS = 0x10
-- IPV6_V6ONLY = 0x1a
-- IPV6_XFRM_POLICY = 0x23
-- IP_ADD_MEMBERSHIP = 0x23
-- IP_ADD_SOURCE_MEMBERSHIP = 0x27
-- IP_BIND_ADDRESS_NO_PORT = 0x18
-- IP_BLOCK_SOURCE = 0x26
-- IP_CHECKSUM = 0x17
-- IP_DEFAULT_MULTICAST_LOOP = 0x1
-- IP_DEFAULT_MULTICAST_TTL = 0x1
-- IP_DF = 0x4000
-- IP_DROP_MEMBERSHIP = 0x24
-- IP_DROP_SOURCE_MEMBERSHIP = 0x28
-- IP_FREEBIND = 0xf
-- IP_HDRINCL = 0x3
-- IP_IPSEC_POLICY = 0x10
-- IP_MAXPACKET = 0xffff
-- IP_MAX_MEMBERSHIPS = 0x14
-- IP_MF = 0x2000
-- IP_MINTTL = 0x15
-- IP_MSFILTER = 0x29
-- IP_MSS = 0x240
-- IP_MTU = 0xe
-- IP_MTU_DISCOVER = 0xa
-- IP_MULTICAST_ALL = 0x31
-- IP_MULTICAST_IF = 0x20
-- IP_MULTICAST_LOOP = 0x22
-- IP_MULTICAST_TTL = 0x21
-- IP_NODEFRAG = 0x16
-- IP_OFFMASK = 0x1fff
-- IP_OPTIONS = 0x4
-- IP_ORIGDSTADDR = 0x14
-- IP_PASSSEC = 0x12
-- IP_PKTINFO = 0x8
-- IP_PKTOPTIONS = 0x9
-- IP_PMTUDISC = 0xa
-- IP_PMTUDISC_DO = 0x2
-- IP_PMTUDISC_DONT = 0x0
-- IP_PMTUDISC_INTERFACE = 0x4
-- IP_PMTUDISC_OMIT = 0x5
-- IP_PMTUDISC_PROBE = 0x3
-- IP_PMTUDISC_WANT = 0x1
-- IP_RECVERR = 0xb
-- IP_RECVOPTS = 0x6
-- IP_RECVORIGDSTADDR = 0x14
-- IP_RECVRETOPTS = 0x7
-- IP_RECVTOS = 0xd
-- IP_RECVTTL = 0xc
-- IP_RETOPTS = 0x7
-- IP_RF = 0x8000
-- IP_ROUTER_ALERT = 0x5
-- IP_TOS = 0x1
-- IP_TRANSPARENT = 0x13
-- IP_TTL = 0x2
-- IP_UNBLOCK_SOURCE = 0x25
-- IP_UNICAST_IF = 0x32
-- IP_XFRM_POLICY = 0x11
-- ISIG = 0x1
-- ISTRIP = 0x20
-- IUCLC = 0x200
-- IUTF8 = 0x4000
-- IXANY = 0x800
-- IXOFF = 0x1000
-- IXON = 0x400
-- KEYCTL_ASSUME_AUTHORITY = 0x10
-- KEYCTL_CHOWN = 0x4
-- KEYCTL_CLEAR = 0x7
-- KEYCTL_DESCRIBE = 0x6
-- KEYCTL_DH_COMPUTE = 0x17
-- KEYCTL_GET_KEYRING_ID = 0x0
-- KEYCTL_GET_PERSISTENT = 0x16
-- KEYCTL_GET_SECURITY = 0x11
-- KEYCTL_INSTANTIATE = 0xc
-- KEYCTL_INSTANTIATE_IOV = 0x14
-- KEYCTL_INVALIDATE = 0x15
-- KEYCTL_JOIN_SESSION_KEYRING = 0x1
-- KEYCTL_LINK = 0x8
-- KEYCTL_NEGATE = 0xd
-- KEYCTL_READ = 0xb
-- KEYCTL_REJECT = 0x13
-- KEYCTL_REVOKE = 0x3
-- KEYCTL_SEARCH = 0xa
-- KEYCTL_SESSION_TO_PARENT = 0x12
-- KEYCTL_SETPERM = 0x5
-- KEYCTL_SET_REQKEY_KEYRING = 0xe
-- KEYCTL_SET_TIMEOUT = 0xf
-- KEYCTL_UNLINK = 0x9
-- KEYCTL_UPDATE = 0x2
-- KEY_REQKEY_DEFL_DEFAULT = 0x0
-- KEY_REQKEY_DEFL_GROUP_KEYRING = 0x6
-- KEY_REQKEY_DEFL_NO_CHANGE = -0x1
-- KEY_REQKEY_DEFL_PROCESS_KEYRING = 0x2
-- KEY_REQKEY_DEFL_REQUESTOR_KEYRING = 0x7
-- KEY_REQKEY_DEFL_SESSION_KEYRING = 0x3
-- KEY_REQKEY_DEFL_THREAD_KEYRING = 0x1
-- KEY_REQKEY_DEFL_USER_KEYRING = 0x4
-- KEY_REQKEY_DEFL_USER_SESSION_KEYRING = 0x5
-- KEY_SPEC_GROUP_KEYRING = -0x6
-- KEY_SPEC_PROCESS_KEYRING = -0x2
-- KEY_SPEC_REQKEY_AUTH_KEY = -0x7
-- KEY_SPEC_REQUESTOR_KEYRING = -0x8
-- KEY_SPEC_SESSION_KEYRING = -0x3
-- KEY_SPEC_THREAD_KEYRING = -0x1
-- KEY_SPEC_USER_KEYRING = -0x4
-- KEY_SPEC_USER_SESSION_KEYRING = -0x5
-- LINUX_REBOOT_CMD_CAD_OFF = 0x0
-- LINUX_REBOOT_CMD_CAD_ON = 0x89abcdef
-- LINUX_REBOOT_CMD_HALT = 0xcdef0123
-- LINUX_REBOOT_CMD_KEXEC = 0x45584543
-- LINUX_REBOOT_CMD_POWER_OFF = 0x4321fedc
-- LINUX_REBOOT_CMD_RESTART = 0x1234567
-- LINUX_REBOOT_CMD_RESTART2 = 0xa1b2c3d4
-- LINUX_REBOOT_CMD_SW_SUSPEND = 0xd000fce2
-- LINUX_REBOOT_MAGIC1 = 0xfee1dead
-- LINUX_REBOOT_MAGIC2 = 0x28121969
-- LOCK_EX = 0x2
-- LOCK_NB = 0x4
-- LOCK_SH = 0x1
-- LOCK_UN = 0x8
-- MADV_DODUMP = 0x11
-- MADV_DOFORK = 0xb
-- MADV_DONTDUMP = 0x10
-- MADV_DONTFORK = 0xa
-- MADV_DONTNEED = 0x4
-- MADV_FREE = 0x8
-- MADV_HUGEPAGE = 0xe
-- MADV_HWPOISON = 0x64
-- MADV_MERGEABLE = 0xc
-- MADV_NOHUGEPAGE = 0xf
-- MADV_NORMAL = 0x0
-- MADV_RANDOM = 0x1
-- MADV_REMOVE = 0x9
-- MADV_SEQUENTIAL = 0x2
-- MADV_UNMERGEABLE = 0xd
-- MADV_WILLNEED = 0x3
-- MAP_ANON = 0x20
-- MAP_ANONYMOUS = 0x20
-- MAP_DENYWRITE = 0x800
-- MAP_EXECUTABLE = 0x1000
-- MAP_FILE = 0x0
-- MAP_FIXED = 0x10
-- MAP_GROWSDOWN = 0x100
-- MAP_HUGETLB = 0x40000
-- MAP_HUGE_MASK = 0x3f
-- MAP_HUGE_SHIFT = 0x1a
-- MAP_LOCKED = 0x2000
-- MAP_NONBLOCK = 0x10000
-- MAP_NORESERVE = 0x4000
-- MAP_POPULATE = 0x8000
-- MAP_PRIVATE = 0x2
-- MAP_SHARED = 0x1
-- MAP_STACK = 0x20000
-- MAP_TYPE = 0xf
-- MCL_CURRENT = 0x1
-- MCL_FUTURE = 0x2
-- MCL_ONFAULT = 0x4
-- MNT_DETACH = 0x2
-- MNT_EXPIRE = 0x4
-- MNT_FORCE = 0x1
-- MSG_BATCH = 0x40000
-- MSG_CMSG_CLOEXEC = 0x40000000
-- MSG_CONFIRM = 0x800
-- MSG_CTRUNC = 0x8
-- MSG_DONTROUTE = 0x4
-- MSG_DONTWAIT = 0x40
-- MSG_EOR = 0x80
-- MSG_ERRQUEUE = 0x2000
-- MSG_FASTOPEN = 0x20000000
-- MSG_FIN = 0x200
-- MSG_MORE = 0x8000
-- MSG_NOSIGNAL = 0x4000
-- MSG_OOB = 0x1
-- MSG_PEEK = 0x2
-- MSG_PROXY = 0x10
-- MSG_RST = 0x1000
-- MSG_SYN = 0x400
-- MSG_TRUNC = 0x20
-- MSG_TRYHARD = 0x4
-- MSG_WAITALL = 0x100
-- MSG_WAITFORONE = 0x10000
-- MS_ACTIVE = 0x40000000
-- MS_ASYNC = 0x1
-- MS_BIND = 0x1000
-- MS_BORN = 0x20000000
-- MS_DIRSYNC = 0x80
-- MS_INVALIDATE = 0x2
-- MS_I_VERSION = 0x800000
-- MS_KERNMOUNT = 0x400000
-- MS_LAZYTIME = 0x2000000
-- MS_MANDLOCK = 0x40
-- MS_MGC_MSK = 0xffff0000
-- MS_MGC_VAL = 0xc0ed0000
-- MS_MOVE = 0x2000
-- MS_NOATIME = 0x400
-- MS_NODEV = 0x4
-- MS_NODIRATIME = 0x800
-- MS_NOEXEC = 0x8
-- MS_NOREMOTELOCK = 0x8000000
-- MS_NOSEC = 0x10000000
-- MS_NOSUID = 0x2
-- MS_NOUSER = -0x80000000
-- MS_POSIXACL = 0x10000
-- MS_PRIVATE = 0x40000
-- MS_RDONLY = 0x1
-- MS_REC = 0x4000
-- MS_RELATIME = 0x200000
-- MS_REMOUNT = 0x20
-- MS_RMT_MASK = 0x2800051
-- MS_SHARED = 0x100000
-- MS_SILENT = 0x8000
-- MS_SLAVE = 0x80000
-- MS_STRICTATIME = 0x1000000
-- MS_SYNC = 0x4
-- MS_SYNCHRONOUS = 0x10
-- MS_UNBINDABLE = 0x20000
-- MS_VERBOSE = 0x8000
-- NAME_MAX = 0xff
-- NETLINK_ADD_MEMBERSHIP = 0x1
-- NETLINK_AUDIT = 0x9
-- NETLINK_BROADCAST_ERROR = 0x4
-- NETLINK_CAP_ACK = 0xa
-- NETLINK_CONNECTOR = 0xb
-- NETLINK_CRYPTO = 0x15
-- NETLINK_DNRTMSG = 0xe
-- NETLINK_DROP_MEMBERSHIP = 0x2
-- NETLINK_ECRYPTFS = 0x13
-- NETLINK_FIB_LOOKUP = 0xa
-- NETLINK_FIREWALL = 0x3
-- NETLINK_GENERIC = 0x10
-- NETLINK_INET_DIAG = 0x4
-- NETLINK_IP6_FW = 0xd
-- NETLINK_ISCSI = 0x8
-- NETLINK_KOBJECT_UEVENT = 0xf
-- NETLINK_LISTEN_ALL_NSID = 0x8
-- NETLINK_LIST_MEMBERSHIPS = 0x9
-- NETLINK_NETFILTER = 0xc
-- NETLINK_NFLOG = 0x5
-- NETLINK_NO_ENOBUFS = 0x5
-- NETLINK_PKTINFO = 0x3
-- NETLINK_RDMA = 0x14
-- NETLINK_ROUTE = 0x0
-- NETLINK_RX_RING = 0x6
-- NETLINK_SCSITRANSPORT = 0x12
-- NETLINK_SELINUX = 0x7
-- NETLINK_SOCK_DIAG = 0x4
-- NETLINK_TX_RING = 0x7
-- NETLINK_UNUSED = 0x1
-- NETLINK_USERSOCK = 0x2
-- NETLINK_XFRM = 0x6
-- NL0 = 0x0
-- NL1 = 0x100
-- NLA_ALIGNTO = 0x4
-- NLA_F_NESTED = 0x8000
-- NLA_F_NET_BYTEORDER = 0x4000
-- NLA_HDRLEN = 0x4
-- NLDLY = 0x100
-- NLMSG_ALIGNTO = 0x4
-- NLMSG_DONE = 0x3
-- NLMSG_ERROR = 0x2
-- NLMSG_HDRLEN = 0x10
-- NLMSG_MIN_TYPE = 0x10
-- NLMSG_NOOP = 0x1
-- NLMSG_OVERRUN = 0x4
-- NLM_F_ACK = 0x4
-- NLM_F_APPEND = 0x800
-- NLM_F_ATOMIC = 0x400
-- NLM_F_CREATE = 0x400
-- NLM_F_DUMP = 0x300
-- NLM_F_DUMP_FILTERED = 0x20
-- NLM_F_DUMP_INTR = 0x10
-- NLM_F_ECHO = 0x8
-- NLM_F_EXCL = 0x200
-- NLM_F_MATCH = 0x200
-- NLM_F_MULTI = 0x2
-- NLM_F_REPLACE = 0x100
-- NLM_F_REQUEST = 0x1
-- NLM_F_ROOT = 0x100
-- NOFLSH = 0x80
-- OCRNL = 0x8
-- OFDEL = 0x80
-- OFILL = 0x40
-- OLCUC = 0x2
-- ONLCR = 0x4
-- ONLRET = 0x20
-- ONOCR = 0x10
-- OPOST = 0x1
-- O_ACCMODE = 0x3
-- O_APPEND = 0x400
-- O_ASYNC = 0x2000
-- O_CLOEXEC = 0x80000
-- O_CREAT = 0x40
-- O_DIRECT = 0x10000
-- O_DIRECTORY = 0x4000
-- O_DSYNC = 0x1000
-- O_EXCL = 0x80
-- O_FSYNC = 0x101000
-- O_LARGEFILE = 0x0
-- O_NDELAY = 0x800
-- O_NOATIME = 0x40000
-- O_NOCTTY = 0x100
-- O_NOFOLLOW = 0x8000
-- O_NONBLOCK = 0x800
-- O_PATH = 0x200000
-- O_RDONLY = 0x0
-- O_RDWR = 0x2
-- O_RSYNC = 0x101000
-- O_SYNC = 0x101000
-- O_TMPFILE = 0x404000
-- O_TRUNC = 0x200
-- O_WRONLY = 0x1
-- PACKET_ADD_MEMBERSHIP = 0x1
-- PACKET_AUXDATA = 0x8
-- PACKET_BROADCAST = 0x1
-- PACKET_COPY_THRESH = 0x7
-- PACKET_DROP_MEMBERSHIP = 0x2
-- PACKET_FANOUT = 0x12
-- PACKET_FANOUT_CBPF = 0x6
-- PACKET_FANOUT_CPU = 0x2
-- PACKET_FANOUT_DATA = 0x16
-- PACKET_FANOUT_EBPF = 0x7
-- PACKET_FANOUT_FLAG_DEFRAG = 0x8000
-- PACKET_FANOUT_FLAG_ROLLOVER = 0x1000
-- PACKET_FANOUT_HASH = 0x0
-- PACKET_FANOUT_LB = 0x1
-- PACKET_FANOUT_QM = 0x5
-- PACKET_FANOUT_RND = 0x4
-- PACKET_FANOUT_ROLLOVER = 0x3
-- PACKET_FASTROUTE = 0x6
-- PACKET_HDRLEN = 0xb
-- PACKET_HOST = 0x0
-- PACKET_KERNEL = 0x7
-- PACKET_LOOPBACK = 0x5
-- PACKET_LOSS = 0xe
-- PACKET_MR_ALLMULTI = 0x2
-- PACKET_MR_MULTICAST = 0x0
-- PACKET_MR_PROMISC = 0x1
-- PACKET_MR_UNICAST = 0x3
-- PACKET_MULTICAST = 0x2
-- PACKET_ORIGDEV = 0x9
-- PACKET_OTHERHOST = 0x3
-- PACKET_OUTGOING = 0x4
-- PACKET_QDISC_BYPASS = 0x14
-- PACKET_RECV_OUTPUT = 0x3
-- PACKET_RESERVE = 0xc
-- PACKET_ROLLOVER_STATS = 0x15
-- PACKET_RX_RING = 0x5
-- PACKET_STATISTICS = 0x6
-- PACKET_TIMESTAMP = 0x11
-- PACKET_TX_HAS_OFF = 0x13
-- PACKET_TX_RING = 0xd
-- PACKET_TX_TIMESTAMP = 0x10
-- PACKET_USER = 0x6
-- PACKET_VERSION = 0xa
-- PACKET_VNET_HDR = 0xf
-- PARENB = 0x100
-- PARITY_CRC16_PR0 = 0x2
-- PARITY_CRC16_PR0_CCITT = 0x4
-- PARITY_CRC16_PR1 = 0x3
-- PARITY_CRC16_PR1_CCITT = 0x5
-- PARITY_CRC32_PR0_CCITT = 0x6
-- PARITY_CRC32_PR1_CCITT = 0x7
-- PARITY_DEFAULT = 0x0
-- PARITY_NONE = 0x1
-- PARMRK = 0x8
-- PARODD = 0x200
-- PENDIN = 0x4000
-- PERF_EVENT_IOC_DISABLE = 0x2401
-- PERF_EVENT_IOC_ENABLE = 0x2400
-- PERF_EVENT_IOC_ID = 0x80082407
-- PERF_EVENT_IOC_PAUSE_OUTPUT = 0x40042409
-- PERF_EVENT_IOC_PERIOD = 0x40082404
-- 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
-- PRIO_PGRP = 0x1
-- PRIO_PROCESS = 0x0
-- PRIO_USER = 0x2
-- PROT_EXEC = 0x4
-- PROT_GROWSDOWN = 0x1000000
-- PROT_GROWSUP = 0x2000000
-- PROT_NONE = 0x0
-- PROT_READ = 0x1
-- PROT_WRITE = 0x2
-- PR_CAPBSET_DROP = 0x18
-- PR_CAPBSET_READ = 0x17
-- PR_CAP_AMBIENT = 0x2f
-- PR_CAP_AMBIENT_CLEAR_ALL = 0x4
-- PR_CAP_AMBIENT_IS_SET = 0x1
-- PR_CAP_AMBIENT_LOWER = 0x3
-- PR_CAP_AMBIENT_RAISE = 0x2
-- PR_ENDIAN_BIG = 0x0
-- PR_ENDIAN_LITTLE = 0x1
-- PR_ENDIAN_PPC_LITTLE = 0x2
-- PR_FPEMU_NOPRINT = 0x1
-- PR_FPEMU_SIGFPE = 0x2
-- PR_FP_EXC_ASYNC = 0x2
-- PR_FP_EXC_DISABLED = 0x0
-- PR_FP_EXC_DIV = 0x10000
-- PR_FP_EXC_INV = 0x100000
-- PR_FP_EXC_NONRECOV = 0x1
-- PR_FP_EXC_OVF = 0x20000
-- PR_FP_EXC_PRECISE = 0x3
-- PR_FP_EXC_RES = 0x80000
-- PR_FP_EXC_SW_ENABLE = 0x80
-- PR_FP_EXC_UND = 0x40000
-- PR_FP_MODE_FR = 0x1
-- PR_FP_MODE_FRE = 0x2
-- PR_GET_CHILD_SUBREAPER = 0x25
-- PR_GET_DUMPABLE = 0x3
-- PR_GET_ENDIAN = 0x13
-- PR_GET_FPEMU = 0x9
-- PR_GET_FPEXC = 0xb
-- PR_GET_FP_MODE = 0x2e
-- PR_GET_KEEPCAPS = 0x7
-- PR_GET_NAME = 0x10
-- PR_GET_NO_NEW_PRIVS = 0x27
-- PR_GET_PDEATHSIG = 0x2
-- PR_GET_SECCOMP = 0x15
-- PR_GET_SECUREBITS = 0x1b
-- PR_GET_THP_DISABLE = 0x2a
-- PR_GET_TID_ADDRESS = 0x28
-- PR_GET_TIMERSLACK = 0x1e
-- PR_GET_TIMING = 0xd
-- PR_GET_TSC = 0x19
-- PR_GET_UNALIGN = 0x5
-- PR_MCE_KILL = 0x21
-- PR_MCE_KILL_CLEAR = 0x0
-- PR_MCE_KILL_DEFAULT = 0x2
-- PR_MCE_KILL_EARLY = 0x1
-- PR_MCE_KILL_GET = 0x22
-- PR_MCE_KILL_LATE = 0x0
-- PR_MCE_KILL_SET = 0x1
-- PR_MPX_DISABLE_MANAGEMENT = 0x2c
-- PR_MPX_ENABLE_MANAGEMENT = 0x2b
-- PR_SET_CHILD_SUBREAPER = 0x24
-- PR_SET_DUMPABLE = 0x4
-- PR_SET_ENDIAN = 0x14
-- PR_SET_FPEMU = 0xa
-- PR_SET_FPEXC = 0xc
-- PR_SET_FP_MODE = 0x2d
-- PR_SET_KEEPCAPS = 0x8
-- PR_SET_MM = 0x23
-- PR_SET_MM_ARG_END = 0x9
-- PR_SET_MM_ARG_START = 0x8
-- PR_SET_MM_AUXV = 0xc
-- PR_SET_MM_BRK = 0x7
-- PR_SET_MM_END_CODE = 0x2
-- PR_SET_MM_END_DATA = 0x4
-- PR_SET_MM_ENV_END = 0xb
-- PR_SET_MM_ENV_START = 0xa
-- PR_SET_MM_EXE_FILE = 0xd
-- PR_SET_MM_MAP = 0xe
-- PR_SET_MM_MAP_SIZE = 0xf
-- PR_SET_MM_START_BRK = 0x6
-- PR_SET_MM_START_CODE = 0x1
-- PR_SET_MM_START_DATA = 0x3
-- PR_SET_MM_START_STACK = 0x5
-- PR_SET_NAME = 0xf
-- PR_SET_NO_NEW_PRIVS = 0x26
-- PR_SET_PDEATHSIG = 0x1
-- PR_SET_PTRACER = 0x59616d61
-- PR_SET_PTRACER_ANY = -0x1
-- PR_SET_SECCOMP = 0x16
-- PR_SET_SECUREBITS = 0x1c
-- PR_SET_THP_DISABLE = 0x29
-- PR_SET_TIMERSLACK = 0x1d
-- PR_SET_TIMING = 0xe
-- PR_SET_TSC = 0x1a
-- PR_SET_UNALIGN = 0x6
-- PR_TASK_PERF_EVENTS_DISABLE = 0x1f
-- PR_TASK_PERF_EVENTS_ENABLE = 0x20
-- PR_TIMING_STATISTICAL = 0x0
-- PR_TIMING_TIMESTAMP = 0x1
-- PR_TSC_ENABLE = 0x1
-- PR_TSC_SIGSEGV = 0x2
-- PR_UNALIGN_NOPRINT = 0x1
-- PR_UNALIGN_SIGBUS = 0x2
-- PTRACE_ATTACH = 0x10
-- PTRACE_CONT = 0x7
-- PTRACE_DETACH = 0x11
-- PTRACE_EVENT_CLONE = 0x3
-- PTRACE_EVENT_EXEC = 0x4
-- PTRACE_EVENT_EXIT = 0x6
-- PTRACE_EVENT_FORK = 0x1
-- PTRACE_EVENT_SECCOMP = 0x7
-- PTRACE_EVENT_STOP = 0x80
-- PTRACE_EVENT_VFORK = 0x2
-- PTRACE_EVENT_VFORK_DONE = 0x5
-- PTRACE_GETEVENTMSG = 0x4201
-- PTRACE_GETREGS = 0xc
-- PTRACE_GETREGSET = 0x4204
-- PTRACE_GETSIGINFO = 0x4202
-- PTRACE_GETSIGMASK = 0x420a
-- PTRACE_INTERRUPT = 0x4207
-- PTRACE_KILL = 0x8
-- PTRACE_LISTEN = 0x4208
-- PTRACE_O_EXITKILL = 0x100000
-- PTRACE_O_MASK = 0x3000ff
-- PTRACE_O_SUSPEND_SECCOMP = 0x200000
-- PTRACE_O_TRACECLONE = 0x8
-- PTRACE_O_TRACEEXEC = 0x10
-- PTRACE_O_TRACEEXIT = 0x40
-- PTRACE_O_TRACEFORK = 0x2
-- PTRACE_O_TRACESECCOMP = 0x80
-- PTRACE_O_TRACESYSGOOD = 0x1
-- PTRACE_O_TRACEVFORK = 0x4
-- PTRACE_O_TRACEVFORKDONE = 0x20
-- PTRACE_PEEKDATA = 0x2
-- PTRACE_PEEKSIGINFO = 0x4209
-- PTRACE_PEEKSIGINFO_SHARED = 0x1
-- PTRACE_PEEKTEXT = 0x1
-- PTRACE_PEEKUSR = 0x3
-- PTRACE_POKEDATA = 0x5
-- PTRACE_POKETEXT = 0x4
-- PTRACE_POKEUSR = 0x6
-- PTRACE_SECCOMP_GET_FILTER = 0x420c
-- PTRACE_SEIZE = 0x4206
-- PTRACE_SETOPTIONS = 0x4200
-- PTRACE_SETREGS = 0xd
-- PTRACE_SETREGSET = 0x4205
-- PTRACE_SETSIGINFO = 0x4203
-- PTRACE_SETSIGMASK = 0x420b
-- PTRACE_SINGLESTEP = 0x9
-- PTRACE_SYSCALL = 0x18
-- PTRACE_TRACEME = 0x0
-- RLIMIT_AS = 0x9
-- RLIMIT_CORE = 0x4
-- RLIMIT_CPU = 0x0
-- RLIMIT_DATA = 0x2
-- RLIMIT_FSIZE = 0x1
-- RLIMIT_LOCKS = 0xa
-- RLIMIT_MEMLOCK = 0x8
-- RLIMIT_MSGQUEUE = 0xc
-- RLIMIT_NICE = 0xd
-- RLIMIT_NOFILE = 0x7
-- RLIMIT_NPROC = 0x6
-- RLIMIT_RSS = 0x5
-- RLIMIT_RTPRIO = 0xe
-- RLIMIT_RTTIME = 0xf
-- RLIMIT_SIGPENDING = 0xb
-- RLIMIT_STACK = 0x3
-- RLIM_INFINITY = -0x1
-- RTAX_ADVMSS = 0x8
-- RTAX_CC_ALGO = 0x10
-- RTAX_CWND = 0x7
-- RTAX_FEATURES = 0xc
-- RTAX_FEATURE_ALLFRAG = 0x8
-- RTAX_FEATURE_ECN = 0x1
-- RTAX_FEATURE_MASK = 0xf
-- RTAX_FEATURE_SACK = 0x2
-- RTAX_FEATURE_TIMESTAMP = 0x4
-- RTAX_HOPLIMIT = 0xa
-- RTAX_INITCWND = 0xb
-- RTAX_INITRWND = 0xe
-- RTAX_LOCK = 0x1
-- RTAX_MAX = 0x10
-- RTAX_MTU = 0x2
-- RTAX_QUICKACK = 0xf
-- RTAX_REORDERING = 0x9
-- RTAX_RTO_MIN = 0xd
-- RTAX_RTT = 0x4
-- RTAX_RTTVAR = 0x5
-- RTAX_SSTHRESH = 0x6
-- RTAX_UNSPEC = 0x0
-- RTAX_WINDOW = 0x3
-- RTA_ALIGNTO = 0x4
-- RTA_MAX = 0x19
-- RTCF_DIRECTSRC = 0x4000000
-- RTCF_DOREDIRECT = 0x1000000
-- RTCF_LOG = 0x2000000
-- RTCF_MASQ = 0x400000
-- RTCF_NAT = 0x800000
-- RTCF_VALVE = 0x200000
-- RTF_ADDRCLASSMASK = 0xf8000000
-- RTF_ADDRCONF = 0x40000
-- RTF_ALLONLINK = 0x20000
-- RTF_BROADCAST = 0x10000000
-- RTF_CACHE = 0x1000000
-- RTF_DEFAULT = 0x10000
-- RTF_DYNAMIC = 0x10
-- RTF_FLOW = 0x2000000
-- RTF_GATEWAY = 0x2
-- RTF_HOST = 0x4
-- RTF_INTERFACE = 0x40000000
-- RTF_IRTT = 0x100
-- RTF_LINKRT = 0x100000
-- RTF_LOCAL = 0x80000000
-- RTF_MODIFIED = 0x20
-- RTF_MSS = 0x40
-- RTF_MTU = 0x40
-- RTF_MULTICAST = 0x20000000
-- RTF_NAT = 0x8000000
-- RTF_NOFORWARD = 0x1000
-- RTF_NONEXTHOP = 0x200000
-- RTF_NOPMTUDISC = 0x4000
-- RTF_POLICY = 0x4000000
-- RTF_REINSTATE = 0x8
-- RTF_REJECT = 0x200
-- RTF_STATIC = 0x400
-- RTF_THROW = 0x2000
-- RTF_UP = 0x1
-- RTF_WINDOW = 0x80
-- RTF_XRESOLVE = 0x800
-- RTM_BASE = 0x10
-- RTM_DELACTION = 0x31
-- RTM_DELADDR = 0x15
-- RTM_DELADDRLABEL = 0x49
-- RTM_DELLINK = 0x11
-- RTM_DELMDB = 0x55
-- RTM_DELNEIGH = 0x1d
-- RTM_DELNSID = 0x59
-- RTM_DELQDISC = 0x25
-- RTM_DELROUTE = 0x19
-- RTM_DELRULE = 0x21
-- RTM_DELTCLASS = 0x29
-- RTM_DELTFILTER = 0x2d
-- RTM_F_CLONED = 0x200
-- RTM_F_EQUALIZE = 0x400
-- RTM_F_LOOKUP_TABLE = 0x1000
-- RTM_F_NOTIFY = 0x100
-- RTM_F_PREFIX = 0x800
-- RTM_GETACTION = 0x32
-- RTM_GETADDR = 0x16
-- RTM_GETADDRLABEL = 0x4a
-- RTM_GETANYCAST = 0x3e
-- RTM_GETDCB = 0x4e
-- RTM_GETLINK = 0x12
-- RTM_GETMDB = 0x56
-- RTM_GETMULTICAST = 0x3a
-- RTM_GETNEIGH = 0x1e
-- RTM_GETNEIGHTBL = 0x42
-- RTM_GETNETCONF = 0x52
-- RTM_GETNSID = 0x5a
-- RTM_GETQDISC = 0x26
-- RTM_GETROUTE = 0x1a
-- RTM_GETRULE = 0x22
-- RTM_GETSTATS = 0x5e
-- RTM_GETTCLASS = 0x2a
-- RTM_GETTFILTER = 0x2e
-- RTM_MAX = 0x5f
-- RTM_NEWACTION = 0x30
-- RTM_NEWADDR = 0x14
-- RTM_NEWADDRLABEL = 0x48
-- RTM_NEWLINK = 0x10
-- RTM_NEWMDB = 0x54
-- RTM_NEWNDUSEROPT = 0x44
-- RTM_NEWNEIGH = 0x1c
-- RTM_NEWNEIGHTBL = 0x40
-- RTM_NEWNETCONF = 0x50
-- RTM_NEWNSID = 0x58
-- RTM_NEWPREFIX = 0x34
-- RTM_NEWQDISC = 0x24
-- RTM_NEWROUTE = 0x18
-- RTM_NEWRULE = 0x20
-- RTM_NEWSTATS = 0x5c
-- RTM_NEWTCLASS = 0x28
-- RTM_NEWTFILTER = 0x2c
-- RTM_NR_FAMILIES = 0x14
-- RTM_NR_MSGTYPES = 0x50
-- RTM_SETDCB = 0x4f
-- RTM_SETLINK = 0x13
-- RTM_SETNEIGHTBL = 0x43
-- RTNH_ALIGNTO = 0x4
-- RTNH_COMPARE_MASK = 0x19
-- RTNH_F_DEAD = 0x1
-- RTNH_F_LINKDOWN = 0x10
-- RTNH_F_OFFLOAD = 0x8
-- RTNH_F_ONLINK = 0x4
-- RTNH_F_PERVASIVE = 0x2
-- RTN_MAX = 0xb
-- RTPROT_BABEL = 0x2a
-- RTPROT_BIRD = 0xc
-- RTPROT_BOOT = 0x3
-- RTPROT_DHCP = 0x10
-- RTPROT_DNROUTED = 0xd
-- RTPROT_GATED = 0x8
-- RTPROT_KERNEL = 0x2
-- RTPROT_MROUTED = 0x11
-- RTPROT_MRT = 0xa
-- RTPROT_NTK = 0xf
-- RTPROT_RA = 0x9
-- RTPROT_REDIRECT = 0x1
-- RTPROT_STATIC = 0x4
-- RTPROT_UNSPEC = 0x0
-- RTPROT_XORP = 0xe
-- RTPROT_ZEBRA = 0xb
-- RT_CLASS_DEFAULT = 0xfd
-- RT_CLASS_LOCAL = 0xff
-- RT_CLASS_MAIN = 0xfe
-- RT_CLASS_MAX = 0xff
-- RT_CLASS_UNSPEC = 0x0
-- RUSAGE_CHILDREN = -0x1
-- RUSAGE_SELF = 0x0
-- RUSAGE_THREAD = 0x1
-- SCM_CREDENTIALS = 0x2
-- SCM_RIGHTS = 0x1
-- SCM_TIMESTAMP = 0x1d
-- SCM_TIMESTAMPING = 0x25
-- SCM_TIMESTAMPING_OPT_STATS = 0x36
-- SCM_TIMESTAMPNS = 0x23
-- SCM_WIFI_STATUS = 0x29
-- SECCOMP_MODE_DISABLED = 0x0
-- SECCOMP_MODE_FILTER = 0x2
-- SECCOMP_MODE_STRICT = 0x1
-- SHUT_RD = 0x0
-- SHUT_RDWR = 0x2
-- SHUT_WR = 0x1
-- SIOCADDDLCI = 0x8980
-- SIOCADDMULTI = 0x8931
-- SIOCADDRT = 0x890b
-- SIOCATMARK = 0x8905
-- SIOCBONDCHANGEACTIVE = 0x8995
-- SIOCBONDENSLAVE = 0x8990
-- SIOCBONDINFOQUERY = 0x8994
-- SIOCBONDRELEASE = 0x8991
-- SIOCBONDSETHWADDR = 0x8992
-- SIOCBONDSLAVEINFOQUERY = 0x8993
-- SIOCBRADDBR = 0x89a0
-- SIOCBRADDIF = 0x89a2
-- SIOCBRDELBR = 0x89a1
-- SIOCBRDELIF = 0x89a3
-- SIOCDARP = 0x8953
-- SIOCDELDLCI = 0x8981
-- SIOCDELMULTI = 0x8932
-- SIOCDELRT = 0x890c
-- SIOCDEVPRIVATE = 0x89f0
-- SIOCDIFADDR = 0x8936
-- SIOCDRARP = 0x8960
-- SIOCETHTOOL = 0x8946
-- SIOCGARP = 0x8954
-- SIOCGHWTSTAMP = 0x89b1
-- SIOCGIFADDR = 0x8915
-- SIOCGIFBR = 0x8940
-- SIOCGIFBRDADDR = 0x8919
-- SIOCGIFCONF = 0x8912
-- SIOCGIFCOUNT = 0x8938
-- SIOCGIFDSTADDR = 0x8917
-- SIOCGIFENCAP = 0x8925
-- SIOCGIFFLAGS = 0x8913
-- SIOCGIFHWADDR = 0x8927
-- SIOCGIFINDEX = 0x8933
-- SIOCGIFMAP = 0x8970
-- SIOCGIFMEM = 0x891f
-- SIOCGIFMETRIC = 0x891d
-- SIOCGIFMTU = 0x8921
-- SIOCGIFNAME = 0x8910
-- SIOCGIFNETMASK = 0x891b
-- SIOCGIFPFLAGS = 0x8935
-- SIOCGIFSLAVE = 0x8929
-- SIOCGIFTXQLEN = 0x8942
-- SIOCGIFVLAN = 0x8982
-- SIOCGMIIPHY = 0x8947
-- SIOCGMIIREG = 0x8948
-- SIOCGPGRP = 0x8904
-- SIOCGRARP = 0x8961
-- SIOCGSKNS = 0x894c
-- SIOCGSTAMP = 0x8906
-- SIOCGSTAMPNS = 0x8907
-- SIOCINQ = 0x541b
-- SIOCOUTQ = 0x5411
-- SIOCOUTQNSD = 0x894b
-- SIOCPROTOPRIVATE = 0x89e0
-- SIOCRTMSG = 0x890d
-- SIOCSARP = 0x8955
-- SIOCSHWTSTAMP = 0x89b0
-- SIOCSIFADDR = 0x8916
-- SIOCSIFBR = 0x8941
-- SIOCSIFBRDADDR = 0x891a
-- SIOCSIFDSTADDR = 0x8918
-- SIOCSIFENCAP = 0x8926
-- SIOCSIFFLAGS = 0x8914
-- SIOCSIFHWADDR = 0x8924
-- SIOCSIFHWBROADCAST = 0x8937
-- SIOCSIFLINK = 0x8911
-- SIOCSIFMAP = 0x8971
-- SIOCSIFMEM = 0x8920
-- SIOCSIFMETRIC = 0x891e
-- SIOCSIFMTU = 0x8922
-- SIOCSIFNAME = 0x8923
-- SIOCSIFNETMASK = 0x891c
-- SIOCSIFPFLAGS = 0x8934
-- SIOCSIFSLAVE = 0x8930
-- SIOCSIFTXQLEN = 0x8943
-- SIOCSIFVLAN = 0x8983
-- SIOCSMIIREG = 0x8949
-- SIOCSPGRP = 0x8902
-- SIOCSRARP = 0x8962
-- SIOCWANDEV = 0x894a
-- SOCK_CLOEXEC = 0x80000
-- SOCK_DCCP = 0x6
-- SOCK_DGRAM = 0x2
-- SOCK_IOC_TYPE = 0x89
-- SOCK_NONBLOCK = 0x800
-- SOCK_PACKET = 0xa
-- SOCK_RAW = 0x3
-- SOCK_RDM = 0x4
-- SOCK_SEQPACKET = 0x5
-- SOCK_STREAM = 0x1
-- SOL_AAL = 0x109
-- SOL_ALG = 0x117
-- SOL_ATM = 0x108
-- SOL_CAIF = 0x116
-- SOL_CAN_BASE = 0x64
-- SOL_DCCP = 0x10d
-- SOL_DECNET = 0x105
-- SOL_ICMPV6 = 0x3a
-- SOL_IP = 0x0
-- SOL_IPV6 = 0x29
-- SOL_IRDA = 0x10a
-- SOL_IUCV = 0x115
-- SOL_KCM = 0x119
-- SOL_LLC = 0x10c
-- SOL_NETBEUI = 0x10b
-- SOL_NETLINK = 0x10e
-- SOL_NFC = 0x118
-- SOL_PACKET = 0x107
-- SOL_PNPIPE = 0x113
-- SOL_PPPOL2TP = 0x111
-- SOL_RAW = 0xff
-- SOL_RDS = 0x114
-- SOL_RXRPC = 0x110
-- SOL_SOCKET = 0x1
-- SOL_TCP = 0x6
-- SOL_TIPC = 0x10f
-- SOL_X25 = 0x106
-- SOMAXCONN = 0x80
-- SO_ACCEPTCONN = 0x1e
-- SO_ATTACH_BPF = 0x32
-- SO_ATTACH_FILTER = 0x1a
-- SO_ATTACH_REUSEPORT_CBPF = 0x33
-- SO_ATTACH_REUSEPORT_EBPF = 0x34
-- SO_BINDTODEVICE = 0x19
-- SO_BPF_EXTENSIONS = 0x30
-- SO_BROADCAST = 0x6
-- SO_BSDCOMPAT = 0xe
-- SO_BUSY_POLL = 0x2e
-- SO_CNX_ADVICE = 0x35
-- SO_DEBUG = 0x1
-- SO_DETACH_BPF = 0x1b
-- SO_DETACH_FILTER = 0x1b
-- SO_DOMAIN = 0x27
-- SO_DONTROUTE = 0x5
-- SO_ERROR = 0x4
-- SO_GET_FILTER = 0x1a
-- SO_INCOMING_CPU = 0x31
-- SO_KEEPALIVE = 0x9
-- SO_LINGER = 0xd
-- SO_LOCK_FILTER = 0x2c
-- SO_MARK = 0x24
-- SO_MAX_PACING_RATE = 0x2f
-- SO_NOFCS = 0x2b
-- SO_NO_CHECK = 0xb
-- SO_OOBINLINE = 0xa
-- SO_PASSCRED = 0x10
-- SO_PASSSEC = 0x22
-- SO_PEEK_OFF = 0x2a
-- SO_PEERCRED = 0x11
-- SO_PEERNAME = 0x1c
-- SO_PEERSEC = 0x1f
-- SO_PRIORITY = 0xc
-- SO_PROTOCOL = 0x26
-- SO_RCVBUF = 0x8
-- SO_RCVBUFFORCE = 0x21
-- SO_RCVLOWAT = 0x12
-- SO_RCVTIMEO = 0x14
-- SO_REUSEADDR = 0x2
-- SO_REUSEPORT = 0xf
-- SO_RXQ_OVFL = 0x28
-- SO_SECURITY_AUTHENTICATION = 0x16
-- SO_SECURITY_ENCRYPTION_NETWORK = 0x18
-- SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
-- SO_SELECT_ERR_QUEUE = 0x2d
-- SO_SNDBUF = 0x7
-- SO_SNDBUFFORCE = 0x20
-- SO_SNDLOWAT = 0x13
-- SO_SNDTIMEO = 0x15
-- SO_TIMESTAMP = 0x1d
-- SO_TIMESTAMPING = 0x25
-- SO_TIMESTAMPNS = 0x23
-- SO_TYPE = 0x3
-- SO_VM_SOCKETS_BUFFER_MAX_SIZE = 0x2
-- SO_VM_SOCKETS_BUFFER_MIN_SIZE = 0x1
-- SO_VM_SOCKETS_BUFFER_SIZE = 0x0
-- SO_VM_SOCKETS_CONNECT_TIMEOUT = 0x6
-- SO_VM_SOCKETS_NONBLOCK_TXRX = 0x7
-- SO_VM_SOCKETS_PEER_HOST_VM_ID = 0x3
-- SO_VM_SOCKETS_TRUSTED = 0x5
-- SO_WIFI_STATUS = 0x29
-- SPLICE_F_GIFT = 0x8
-- SPLICE_F_MORE = 0x4
-- SPLICE_F_MOVE = 0x1
-- SPLICE_F_NONBLOCK = 0x2
-- S_BLKSIZE = 0x200
-- S_IEXEC = 0x40
-- S_IFBLK = 0x6000
-- S_IFCHR = 0x2000
-- S_IFDIR = 0x4000
-- S_IFIFO = 0x1000
-- S_IFLNK = 0xa000
-- S_IFMT = 0xf000
-- S_IFREG = 0x8000
-- S_IFSOCK = 0xc000
-- S_IREAD = 0x100
-- S_IRGRP = 0x20
-- S_IROTH = 0x4
-- S_IRUSR = 0x100
-- S_IRWXG = 0x38
-- S_IRWXO = 0x7
-- S_IRWXU = 0x1c0
-- S_ISGID = 0x400
-- S_ISUID = 0x800
-- S_ISVTX = 0x200
-- S_IWGRP = 0x10
-- S_IWOTH = 0x2
-- S_IWRITE = 0x80
-- S_IWUSR = 0x80
-- S_IXGRP = 0x8
-- S_IXOTH = 0x1
-- S_IXUSR = 0x40
-- TAB0 = 0x0
-- TAB1 = 0x800
-- TAB2 = 0x1000
-- TAB3 = 0x1800
-- TABDLY = 0x1800
-- TASKSTATS_CMD_ATTR_MAX = 0x4
-- TASKSTATS_CMD_MAX = 0x2
-- TASKSTATS_GENL_NAME = "TASKSTATS"
-- TASKSTATS_GENL_VERSION = 0x1
-- TASKSTATS_TYPE_MAX = 0x6
-- TASKSTATS_VERSION = 0x8
-- TCFLSH = 0x540b
-- TCGETA = 0x5405
-- TCGETS = 0x5401
-- TCGETS2 = 0x802c542a
-- TCGETX = 0x5432
-- TCIFLUSH = 0x0
-- TCIOFF = 0x2
-- TCIOFLUSH = 0x2
-- TCION = 0x3
-- TCOFLUSH = 0x1
-- TCOOFF = 0x0
-- TCOON = 0x1
-- TCP_CC_INFO = 0x1a
-- TCP_CONGESTION = 0xd
-- TCP_COOKIE_IN_ALWAYS = 0x1
-- TCP_COOKIE_MAX = 0x10
-- TCP_COOKIE_MIN = 0x8
-- TCP_COOKIE_OUT_NEVER = 0x2
-- TCP_COOKIE_PAIR_SIZE = 0x20
-- TCP_COOKIE_TRANSACTIONS = 0xf
-- TCP_CORK = 0x3
-- TCP_DEFER_ACCEPT = 0x9
-- TCP_FASTOPEN = 0x17
-- TCP_INFO = 0xb
-- TCP_KEEPCNT = 0x6
-- TCP_KEEPIDLE = 0x4
-- TCP_KEEPINTVL = 0x5
-- TCP_LINGER2 = 0x8
-- TCP_MAXSEG = 0x2
-- TCP_MAXWIN = 0xffff
-- TCP_MAX_WINSHIFT = 0xe
-- TCP_MD5SIG = 0xe
-- TCP_MD5SIG_MAXKEYLEN = 0x50
-- TCP_MSS = 0x200
-- TCP_MSS_DEFAULT = 0x218
-- TCP_MSS_DESIRED = 0x4c4
-- TCP_NODELAY = 0x1
-- TCP_NOTSENT_LOWAT = 0x19
-- TCP_QUEUE_SEQ = 0x15
-- TCP_QUICKACK = 0xc
-- TCP_REPAIR = 0x13
-- TCP_REPAIR_OPTIONS = 0x16
-- TCP_REPAIR_QUEUE = 0x14
-- TCP_REPAIR_WINDOW = 0x1d
-- TCP_SAVED_SYN = 0x1c
-- TCP_SAVE_SYN = 0x1b
-- TCP_SYNCNT = 0x7
-- TCP_S_DATA_IN = 0x4
-- TCP_S_DATA_OUT = 0x8
-- TCP_THIN_DUPACK = 0x11
-- TCP_THIN_LINEAR_TIMEOUTS = 0x10
-- TCP_TIMESTAMP = 0x18
-- TCP_USER_TIMEOUT = 0x12
-- TCP_WINDOW_CLAMP = 0xa
-- TCSAFLUSH = 0x2
-- TCSBRK = 0x5409
-- TCSBRKP = 0x5425
-- TCSETA = 0x5406
-- TCSETAF = 0x5408
-- TCSETAW = 0x5407
-- TCSETS = 0x5402
-- TCSETS2 = 0x402c542b
-- TCSETSF = 0x5404
-- TCSETSF2 = 0x402c542d
-- TCSETSW = 0x5403
-- TCSETSW2 = 0x402c542c
-- TCSETX = 0x5433
-- TCSETXF = 0x5434
-- TCSETXW = 0x5435
-- TCXONC = 0x540a
-- TIOCCBRK = 0x5428
-- TIOCCONS = 0x541d
-- TIOCEXCL = 0x540c
-- TIOCGDEV = 0x80045432
-- TIOCGETD = 0x5424
-- TIOCGEXCL = 0x80045440
-- TIOCGICOUNT = 0x545d
-- TIOCGLCKTRMIOS = 0x5456
-- TIOCGPGRP = 0x540f
-- TIOCGPKT = 0x80045438
-- TIOCGPTLCK = 0x80045439
-- TIOCGPTN = 0x80045430
-- TIOCGRS485 = 0x542e
-- TIOCGSERIAL = 0x541e
-- TIOCGSID = 0x5429
-- TIOCGSOFTCAR = 0x5419
-- TIOCGWINSZ = 0x5413
-- TIOCINQ = 0x541b
-- TIOCLINUX = 0x541c
-- TIOCMBIC = 0x5417
-- TIOCMBIS = 0x5416
-- TIOCMGET = 0x5415
-- TIOCMIWAIT = 0x545c
-- TIOCMSET = 0x5418
-- TIOCM_CAR = 0x40
-- TIOCM_CD = 0x40
-- TIOCM_CTS = 0x20
-- TIOCM_DSR = 0x100
-- TIOCM_DTR = 0x2
-- TIOCM_LE = 0x1
-- TIOCM_RI = 0x80
-- TIOCM_RNG = 0x80
-- TIOCM_RTS = 0x4
-- TIOCM_SR = 0x10
-- TIOCM_ST = 0x8
-- TIOCNOTTY = 0x5422
-- TIOCNXCL = 0x540d
-- TIOCOUTQ = 0x5411
-- TIOCPKT = 0x5420
-- TIOCPKT_DATA = 0x0
-- TIOCPKT_DOSTOP = 0x20
-- TIOCPKT_FLUSHREAD = 0x1
-- TIOCPKT_FLUSHWRITE = 0x2
-- TIOCPKT_IOCTL = 0x40
-- TIOCPKT_NOSTOP = 0x10
-- TIOCPKT_START = 0x8
-- TIOCPKT_STOP = 0x4
-- TIOCSBRK = 0x5427
-- TIOCSCTTY = 0x540e
-- TIOCSERCONFIG = 0x5453
-- TIOCSERGETLSR = 0x5459
-- TIOCSERGETMULTI = 0x545a
-- TIOCSERGSTRUCT = 0x5458
-- TIOCSERGWILD = 0x5454
-- TIOCSERSETMULTI = 0x545b
-- TIOCSERSWILD = 0x5455
-- TIOCSER_TEMT = 0x1
-- TIOCSETD = 0x5423
-- TIOCSIG = 0x40045436
-- TIOCSLCKTRMIOS = 0x5457
-- TIOCSPGRP = 0x5410
-- TIOCSPTLCK = 0x40045431
-- TIOCSRS485 = 0x542f
-- TIOCSSERIAL = 0x541f
-- TIOCSSOFTCAR = 0x541a
-- TIOCSTI = 0x5412
-- TIOCSWINSZ = 0x5414
-- TIOCVHANGUP = 0x5437
-- TOSTOP = 0x100
-- TS_COMM_LEN = 0x20
-- TUNATTACHFILTER = 0x401054d5
-- TUNDETACHFILTER = 0x401054d6
-- TUNGETFEATURES = 0x800454cf
-- TUNGETFILTER = 0x801054db
-- TUNGETIFF = 0x800454d2
-- TUNGETSNDBUF = 0x800454d3
-- TUNGETVNETBE = 0x800454df
-- TUNGETVNETHDRSZ = 0x800454d7
-- TUNGETVNETLE = 0x800454dd
-- TUNSETDEBUG = 0x400454c9
-- TUNSETGROUP = 0x400454ce
-- TUNSETIFF = 0x400454ca
-- TUNSETIFINDEX = 0x400454da
-- TUNSETLINK = 0x400454cd
-- TUNSETNOCSUM = 0x400454c8
-- TUNSETOFFLOAD = 0x400454d0
-- TUNSETOWNER = 0x400454cc
-- TUNSETPERSIST = 0x400454cb
-- TUNSETQUEUE = 0x400454d9
-- TUNSETSNDBUF = 0x400454d4
-- TUNSETTXFILTER = 0x400454d1
-- TUNSETVNETBE = 0x400454de
-- TUNSETVNETHDRSZ = 0x400454d8
-- TUNSETVNETLE = 0x400454dc
-- UMOUNT_NOFOLLOW = 0x8
-- VDISCARD = 0xd
-- VEOF = 0x4
-- VEOL = 0xb
-- VEOL2 = 0x10
-- VERASE = 0x2
-- VINTR = 0x0
-- VKILL = 0x3
-- VLNEXT = 0xf
-- VMADDR_CID_ANY = 0xffffffff
-- VMADDR_CID_HOST = 0x2
-- VMADDR_CID_HYPERVISOR = 0x0
-- VMADDR_CID_RESERVED = 0x1
-- VMADDR_PORT_ANY = 0xffffffff
-- VMIN = 0x6
-- VM_SOCKETS_INVALID_VERSION = 0xffffffff
-- VQUIT = 0x1
-- VREPRINT = 0xc
-- VSTART = 0x8
-- VSTOP = 0x9
-- VSUSP = 0xa
-- VSWTC = 0x7
-- VT0 = 0x0
-- VT1 = 0x4000
-- VTDLY = 0x4000
-- VTIME = 0x5
-- VWERASE = 0xe
-- WALL = 0x40000000
-- WCLONE = 0x80000000
-- WCONTINUED = 0x8
-- WEXITED = 0x4
-- WNOHANG = 0x1
-- WNOTHREAD = 0x20000000
-- WNOWAIT = 0x1000000
-- WORDSIZE = 0x40
-- WSTOPPED = 0x2
-- WUNTRACED = 0x2
-- XATTR_CREATE = 0x1
-- XATTR_REPLACE = 0x2
-- XCASE = 0x4
-- XTABS = 0x1800
-+ 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
-+ ECHOCTL = 0x200
-+ ECHOE = 0x10
-+ ECHOK = 0x20
-+ ECHOKE = 0x800
-+ ECHONL = 0x40
-+ ECHOPRT = 0x400
-+ EFD_CLOEXEC = 0x80000
-+ EFD_NONBLOCK = 0x800
-+ EPOLL_CLOEXEC = 0x80000
-+ ESR_MAGIC = 0x45535201
-+ EXTPROC = 0x10000
-+ EXTRA_MAGIC = 0x45585401
-+ FF1 = 0x8000
-+ FFDLY = 0x8000
-+ FLUSHO = 0x1000
-+ FPSIMD_MAGIC = 0x46508001
-+ FS_IOC_ENABLE_VERITY = 0x40806685
-+ FS_IOC_GETFLAGS = 0x80086601
-+ FS_IOC_GET_ENCRYPTION_POLICY = 0x400c6615
-+ FS_IOC_GET_ENCRYPTION_PWSALT = 0x40106614
-+ 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
-+ 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
-+ 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
-+ O_APPEND = 0x400
-+ O_ASYNC = 0x2000
-+ O_CLOEXEC = 0x80000
-+ O_CREAT = 0x40
-+ O_DIRECT = 0x10000
-+ O_DIRECTORY = 0x4000
-+ O_DSYNC = 0x1000
-+ O_EXCL = 0x80
-+ O_FSYNC = 0x101000
-+ O_LARGEFILE = 0x0
-+ O_NDELAY = 0x800
-+ O_NOATIME = 0x40000
-+ O_NOCTTY = 0x100
-+ O_NOFOLLOW = 0x8000
-+ O_NONBLOCK = 0x800
-+ O_PATH = 0x200000
-+ O_RSYNC = 0x101000
-+ O_SYNC = 0x101000
-+ O_TMPFILE = 0x404000
-+ 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
-+ 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
-+ 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_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_BUSY_POLL = 0x2e
-+ 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_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_PROTOCOL = 0x26
-+ SO_RCVBUF = 0x8
-+ SO_RCVBUFFORCE = 0x21
-+ SO_RCVLOWAT = 0x12
-+ SO_RCVTIMEO = 0x14
-+ SO_RCVTIMEO_NEW = 0x42
-+ SO_RCVTIMEO_OLD = 0x14
-+ SO_REUSEADDR = 0x2
-+ SO_REUSEPORT = 0xf
-+ SO_RXQ_OVFL = 0x28
-+ SO_SECURITY_AUTHENTICATION = 0x16
-+ SO_SECURITY_ENCRYPTION_NETWORK = 0x18
-+ SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
-+ SO_SELECT_ERR_QUEUE = 0x2d
-+ SO_SNDBUF = 0x7
-+ SO_SNDBUFFORCE = 0x20
-+ SO_SNDLOWAT = 0x13
-+ SO_SNDTIMEO = 0x15
-+ SO_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_TXTIME = 0x3d
-+ SO_TYPE = 0x3
-+ SO_WIFI_STATUS = 0x29
-+ SO_ZEROCOPY = 0x3c
-+ SVE_MAGIC = 0x53564501
-+ 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
-+ 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
- )
-
- // Errors
- const (
-- E2BIG = syscall.Errno(0x7)
-- EACCES = syscall.Errno(0xd)
- EADDRINUSE = syscall.Errno(0x62)
- EADDRNOTAVAIL = syscall.Errno(0x63)
- EADV = syscall.Errno(0x44)
- EAFNOSUPPORT = syscall.Errno(0x61)
-- EAGAIN = syscall.Errno(0xb)
- EALREADY = syscall.Errno(0x72)
- EBADE = syscall.Errno(0x34)
-- EBADF = syscall.Errno(0x9)
- EBADFD = syscall.Errno(0x4d)
- EBADMSG = syscall.Errno(0x4a)
- EBADR = syscall.Errno(0x35)
- EBADRQC = syscall.Errno(0x38)
- EBADSLT = syscall.Errno(0x39)
- EBFONT = syscall.Errno(0x3b)
-- EBUSY = syscall.Errno(0x10)
- ECANCELED = syscall.Errno(0x7d)
-- ECHILD = syscall.Errno(0xa)
- ECHRNG = syscall.Errno(0x2c)
- ECOMM = syscall.Errno(0x46)
- ECONNABORTED = syscall.Errno(0x67)
-@@ -1871,23 +493,15 @@ const (
- EDEADLK = syscall.Errno(0x23)
- EDEADLOCK = syscall.Errno(0x23)
- EDESTADDRREQ = syscall.Errno(0x59)
-- EDOM = syscall.Errno(0x21)
- EDOTDOT = syscall.Errno(0x49)
- EDQUOT = syscall.Errno(0x7a)
-- EEXIST = syscall.Errno(0x11)
-- EFAULT = syscall.Errno(0xe)
-- EFBIG = syscall.Errno(0x1b)
- EHOSTDOWN = syscall.Errno(0x70)
- EHOSTUNREACH = syscall.Errno(0x71)
- EHWPOISON = syscall.Errno(0x85)
- EIDRM = syscall.Errno(0x2b)
- EILSEQ = syscall.Errno(0x54)
- EINPROGRESS = syscall.Errno(0x73)
-- EINTR = syscall.Errno(0x4)
-- EINVAL = syscall.Errno(0x16)
-- EIO = syscall.Errno(0x5)
- EISCONN = syscall.Errno(0x6a)
-- EISDIR = syscall.Errno(0x15)
- EISNAM = syscall.Errno(0x78)
- EKEYEXPIRED = syscall.Errno(0x7f)
- EKEYREJECTED = syscall.Errno(0x81)
-@@ -1904,8 +518,6 @@ const (
- ELNRNG = syscall.Errno(0x30)
- ELOOP = syscall.Errno(0x28)
- EMEDIUMTYPE = syscall.Errno(0x7c)
-- EMFILE = syscall.Errno(0x18)
-- EMLINK = syscall.Errno(0x1f)
- EMSGSIZE = syscall.Errno(0x5a)
- EMULTIHOP = syscall.Errno(0x48)
- ENAMETOOLONG = syscall.Errno(0x24)
-@@ -1913,103 +525,70 @@ const (
- ENETDOWN = syscall.Errno(0x64)
- ENETRESET = syscall.Errno(0x66)
- ENETUNREACH = syscall.Errno(0x65)
-- ENFILE = syscall.Errno(0x17)
- ENOANO = syscall.Errno(0x37)
- ENOBUFS = syscall.Errno(0x69)
- ENOCSI = syscall.Errno(0x32)
- ENODATA = syscall.Errno(0x3d)
-- ENODEV = syscall.Errno(0x13)
-- ENOENT = syscall.Errno(0x2)
-- ENOEXEC = syscall.Errno(0x8)
- ENOKEY = syscall.Errno(0x7e)
- ENOLCK = syscall.Errno(0x25)
- ENOLINK = syscall.Errno(0x43)
- ENOMEDIUM = syscall.Errno(0x7b)
-- ENOMEM = syscall.Errno(0xc)
- ENOMSG = syscall.Errno(0x2a)
- ENONET = syscall.Errno(0x40)
- ENOPKG = syscall.Errno(0x41)
- ENOPROTOOPT = syscall.Errno(0x5c)
-- ENOSPC = syscall.Errno(0x1c)
- ENOSR = syscall.Errno(0x3f)
- ENOSTR = syscall.Errno(0x3c)
- ENOSYS = syscall.Errno(0x26)
-- ENOTBLK = syscall.Errno(0xf)
- ENOTCONN = syscall.Errno(0x6b)
-- ENOTDIR = syscall.Errno(0x14)
- ENOTEMPTY = syscall.Errno(0x27)
- ENOTNAM = syscall.Errno(0x76)
- ENOTRECOVERABLE = syscall.Errno(0x83)
- ENOTSOCK = syscall.Errno(0x58)
- ENOTSUP = syscall.Errno(0x5f)
-- ENOTTY = syscall.Errno(0x19)
- ENOTUNIQ = syscall.Errno(0x4c)
-- ENXIO = syscall.Errno(0x6)
- EOPNOTSUPP = syscall.Errno(0x5f)
- EOVERFLOW = syscall.Errno(0x4b)
- EOWNERDEAD = syscall.Errno(0x82)
-- EPERM = syscall.Errno(0x1)
- EPFNOSUPPORT = syscall.Errno(0x60)
-- EPIPE = syscall.Errno(0x20)
- EPROTO = syscall.Errno(0x47)
- EPROTONOSUPPORT = syscall.Errno(0x5d)
- EPROTOTYPE = syscall.Errno(0x5b)
-- ERANGE = syscall.Errno(0x22)
- EREMCHG = syscall.Errno(0x4e)
- EREMOTE = syscall.Errno(0x42)
- EREMOTEIO = syscall.Errno(0x79)
- ERESTART = syscall.Errno(0x55)
- ERFKILL = syscall.Errno(0x84)
-- EROFS = syscall.Errno(0x1e)
- ESHUTDOWN = syscall.Errno(0x6c)
- ESOCKTNOSUPPORT = syscall.Errno(0x5e)
-- ESPIPE = syscall.Errno(0x1d)
-- ESRCH = syscall.Errno(0x3)
- ESRMNT = syscall.Errno(0x45)
- ESTALE = syscall.Errno(0x74)
- ESTRPIPE = syscall.Errno(0x56)
- ETIME = syscall.Errno(0x3e)
- ETIMEDOUT = syscall.Errno(0x6e)
- ETOOMANYREFS = syscall.Errno(0x6d)
-- ETXTBSY = syscall.Errno(0x1a)
- EUCLEAN = syscall.Errno(0x75)
- EUNATCH = syscall.Errno(0x31)
- EUSERS = syscall.Errno(0x57)
-- EWOULDBLOCK = syscall.Errno(0xb)
-- EXDEV = syscall.Errno(0x12)
- EXFULL = syscall.Errno(0x36)
- )
-
- // Signals
- const (
-- SIGABRT = syscall.Signal(0x6)
-- SIGALRM = syscall.Signal(0xe)
- SIGBUS = syscall.Signal(0x7)
- SIGCHLD = syscall.Signal(0x11)
- SIGCLD = syscall.Signal(0x11)
- SIGCONT = syscall.Signal(0x12)
-- SIGFPE = syscall.Signal(0x8)
-- SIGHUP = syscall.Signal(0x1)
-- SIGILL = syscall.Signal(0x4)
-- SIGINT = syscall.Signal(0x2)
- SIGIO = syscall.Signal(0x1d)
-- SIGIOT = syscall.Signal(0x6)
-- SIGKILL = syscall.Signal(0x9)
-- SIGPIPE = syscall.Signal(0xd)
- SIGPOLL = syscall.Signal(0x1d)
- SIGPROF = syscall.Signal(0x1b)
- SIGPWR = syscall.Signal(0x1e)
-- SIGQUIT = syscall.Signal(0x3)
-- SIGSEGV = syscall.Signal(0xb)
- SIGSTKFLT = syscall.Signal(0x10)
- SIGSTOP = syscall.Signal(0x13)
- SIGSYS = syscall.Signal(0x1f)
-- SIGTERM = syscall.Signal(0xf)
-- SIGTRAP = syscall.Signal(0x5)
- SIGTSTP = syscall.Signal(0x14)
- SIGTTIN = syscall.Signal(0x15)
- SIGTTOU = syscall.Signal(0x16)
-- SIGUNUSED = syscall.Signal(0x1f)
- SIGURG = syscall.Signal(0x17)
- SIGUSR1 = syscall.Signal(0xa)
- SIGUSR2 = syscall.Signal(0xc)
-@@ -2020,171 +599,179 @@ const (
- )
-
- // Error table
--var errors = [...]string{
-- 1: "operation not permitted",
-- 2: "no such file or directory",
-- 3: "no such process",
-- 4: "interrupted system call",
-- 5: "input/output error",
-- 6: "no such device or address",
-- 7: "argument list too long",
-- 8: "exec format error",
-- 9: "bad file descriptor",
-- 10: "no child processes",
-- 11: "resource temporarily unavailable",
-- 12: "cannot allocate memory",
-- 13: "permission denied",
-- 14: "bad address",
-- 15: "block device required",
-- 16: "device or resource busy",
-- 17: "file exists",
-- 18: "invalid cross-device link",
-- 19: "no such device",
-- 20: "not a directory",
-- 21: "is a directory",
-- 22: "invalid argument",
-- 23: "too many open files in system",
-- 24: "too many open files",
-- 25: "inappropriate ioctl for device",
-- 26: "text file busy",
-- 27: "file too large",
-- 28: "no space left on device",
-- 29: "illegal seek",
-- 30: "read-only file system",
-- 31: "too many links",
-- 32: "broken pipe",
-- 33: "numerical argument out of domain",
-- 34: "numerical result out of range",
-- 35: "resource deadlock avoided",
-- 36: "file name too long",
-- 37: "no locks available",
-- 38: "function not implemented",
-- 39: "directory not empty",
-- 40: "too many levels of symbolic links",
-- 42: "no message of desired type",
-- 43: "identifier removed",
-- 44: "channel number out of range",
-- 45: "level 2 not synchronized",
-- 46: "level 3 halted",
-- 47: "level 3 reset",
-- 48: "link number out of range",
-- 49: "protocol driver not attached",
-- 50: "no CSI structure available",
-- 51: "level 2 halted",
-- 52: "invalid exchange",
-- 53: "invalid request descriptor",
-- 54: "exchange full",
-- 55: "no anode",
-- 56: "invalid request code",
-- 57: "invalid slot",
-- 59: "bad font file format",
-- 60: "device not a stream",
-- 61: "no data available",
-- 62: "timer expired",
-- 63: "out of streams resources",
-- 64: "machine is not on the network",
-- 65: "package not installed",
-- 66: "object is remote",
-- 67: "link has been severed",
-- 68: "advertise error",
-- 69: "srmount error",
-- 70: "communication error on send",
-- 71: "protocol error",
-- 72: "multihop attempted",
-- 73: "RFS specific error",
-- 74: "bad message",
-- 75: "value too large for defined data type",
-- 76: "name not unique on network",
-- 77: "file descriptor in bad state",
-- 78: "remote address changed",
-- 79: "can not access a needed shared library",
-- 80: "accessing a corrupted shared library",
-- 81: ".lib section in a.out corrupted",
-- 82: "attempting to link in too many shared libraries",
-- 83: "cannot exec a shared library directly",
-- 84: "invalid or incomplete multibyte or wide character",
-- 85: "interrupted system call should be restarted",
-- 86: "streams pipe error",
-- 87: "too many users",
-- 88: "socket operation on non-socket",
-- 89: "destination address required",
-- 90: "message too long",
-- 91: "protocol wrong type for socket",
-- 92: "protocol not available",
-- 93: "protocol not supported",
-- 94: "socket type not supported",
-- 95: "operation not supported",
-- 96: "protocol family not supported",
-- 97: "address family not supported by protocol",
-- 98: "address already in use",
-- 99: "cannot assign requested address",
-- 100: "network is down",
-- 101: "network is unreachable",
-- 102: "network dropped connection on reset",
-- 103: "software caused connection abort",
-- 104: "connection reset by peer",
-- 105: "no buffer space available",
-- 106: "transport endpoint is already connected",
-- 107: "transport endpoint is not connected",
-- 108: "cannot send after transport endpoint shutdown",
-- 109: "too many references: cannot splice",
-- 110: "connection timed out",
-- 111: "connection refused",
-- 112: "host is down",
-- 113: "no route to host",
-- 114: "operation already in progress",
-- 115: "operation now in progress",
-- 116: "stale file handle",
-- 117: "structure needs cleaning",
-- 118: "not a XENIX named type file",
-- 119: "no XENIX semaphores available",
-- 120: "is a named type file",
-- 121: "remote I/O error",
-- 122: "disk quota exceeded",
-- 123: "no medium found",
-- 124: "wrong medium type",
-- 125: "operation canceled",
-- 126: "required key not available",
-- 127: "key has expired",
-- 128: "key has been revoked",
-- 129: "key was rejected by service",
-- 130: "owner died",
-- 131: "state not recoverable",
-- 132: "operation not possible due to RF-kill",
-- 133: "memory page has hardware error",
-+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 signals = [...]string{
-- 1: "hangup",
-- 2: "interrupt",
-- 3: "quit",
-- 4: "illegal instruction",
-- 5: "trace/breakpoint trap",
-- 6: "aborted",
-- 7: "bus error",
-- 8: "floating point exception",
-- 9: "killed",
-- 10: "user defined signal 1",
-- 11: "segmentation fault",
-- 12: "user defined signal 2",
-- 13: "broken pipe",
-- 14: "alarm clock",
-- 15: "terminated",
-- 16: "stack fault",
-- 17: "child exited",
-- 18: "continued",
-- 19: "stopped (signal)",
-- 20: "stopped",
-- 21: "stopped (tty input)",
-- 22: "stopped (tty output)",
-- 23: "urgent I/O condition",
-- 24: "CPU time limit exceeded",
-- 25: "file size limit exceeded",
-- 26: "virtual timer expired",
-- 27: "profiling timer expired",
-- 28: "window changed",
-- 29: "I/O possible",
-- 30: "power failure",
-- 31: "bad system call",
-+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 900f568a..4826bd70 100644
---- a/vendor/golang.org/x/sys/unix/zerrors_linux_mips.go
-+++ b/vendor/golang.org/x/sys/unix/zerrors_linux_mips.go
-@@ -3,7 +3,7 @@
-
- // +build mips,linux
-
--// Created by cgo -godefs - DO NOT EDIT
-+// Code generated by cmd/cgo -godefs; DO NOT EDIT.
- // cgo -godefs -- -Wall -Werror -static -I/tmp/include _const.go
-
- package unix
-@@ -11,1873 +11,489 @@ package unix
- import "syscall"
-
- const (
-- AF_ALG = 0x26
-- AF_APPLETALK = 0x5
-- AF_ASH = 0x12
-- AF_ATMPVC = 0x8
-- AF_ATMSVC = 0x14
-- AF_AX25 = 0x3
-- AF_BLUETOOTH = 0x1f
-- AF_BRIDGE = 0x7
-- AF_CAIF = 0x25
-- AF_CAN = 0x1d
-- AF_DECnet = 0xc
-- AF_ECONET = 0x13
-- AF_FILE = 0x1
-- AF_IB = 0x1b
-- AF_IEEE802154 = 0x24
-- AF_INET = 0x2
-- AF_INET6 = 0xa
-- AF_IPX = 0x4
-- AF_IRDA = 0x17
-- AF_ISDN = 0x22
-- AF_IUCV = 0x20
-- AF_KCM = 0x29
-- AF_KEY = 0xf
-- AF_LLC = 0x1a
-- AF_LOCAL = 0x1
-- AF_MAX = 0x2b
-- AF_MPLS = 0x1c
-- AF_NETBEUI = 0xd
-- AF_NETLINK = 0x10
-- AF_NETROM = 0x6
-- AF_NFC = 0x27
-- AF_PACKET = 0x11
-- AF_PHONET = 0x23
-- AF_PPPOX = 0x18
-- AF_QIPCRTR = 0x2a
-- AF_RDS = 0x15
-- AF_ROSE = 0xb
-- AF_ROUTE = 0x10
-- AF_RXRPC = 0x21
-- AF_SECURITY = 0xe
-- AF_SNA = 0x16
-- AF_TIPC = 0x1e
-- AF_UNIX = 0x1
-- AF_UNSPEC = 0x0
-- AF_VSOCK = 0x28
-- AF_WANPIPE = 0x19
-- AF_X25 = 0x9
-- ALG_OP_DECRYPT = 0x0
-- ALG_OP_ENCRYPT = 0x1
-- ALG_SET_AEAD_ASSOCLEN = 0x4
-- ALG_SET_AEAD_AUTHSIZE = 0x5
-- ALG_SET_IV = 0x2
-- ALG_SET_KEY = 0x1
-- ALG_SET_OP = 0x3
-- ARPHRD_6LOWPAN = 0x339
-- ARPHRD_ADAPT = 0x108
-- ARPHRD_APPLETLK = 0x8
-- ARPHRD_ARCNET = 0x7
-- ARPHRD_ASH = 0x30d
-- ARPHRD_ATM = 0x13
-- ARPHRD_AX25 = 0x3
-- ARPHRD_BIF = 0x307
-- ARPHRD_CAIF = 0x336
-- ARPHRD_CAN = 0x118
-- ARPHRD_CHAOS = 0x5
-- ARPHRD_CISCO = 0x201
-- ARPHRD_CSLIP = 0x101
-- ARPHRD_CSLIP6 = 0x103
-- ARPHRD_DDCMP = 0x205
-- ARPHRD_DLCI = 0xf
-- ARPHRD_ECONET = 0x30e
-- ARPHRD_EETHER = 0x2
-- ARPHRD_ETHER = 0x1
-- ARPHRD_EUI64 = 0x1b
-- ARPHRD_FCAL = 0x311
-- ARPHRD_FCFABRIC = 0x313
-- ARPHRD_FCPL = 0x312
-- ARPHRD_FCPP = 0x310
-- ARPHRD_FDDI = 0x306
-- ARPHRD_FRAD = 0x302
-- ARPHRD_HDLC = 0x201
-- ARPHRD_HIPPI = 0x30c
-- ARPHRD_HWX25 = 0x110
-- ARPHRD_IEEE1394 = 0x18
-- ARPHRD_IEEE802 = 0x6
-- ARPHRD_IEEE80211 = 0x321
-- ARPHRD_IEEE80211_PRISM = 0x322
-- ARPHRD_IEEE80211_RADIOTAP = 0x323
-- ARPHRD_IEEE802154 = 0x324
-- ARPHRD_IEEE802154_MONITOR = 0x325
-- ARPHRD_IEEE802_TR = 0x320
-- ARPHRD_INFINIBAND = 0x20
-- ARPHRD_IP6GRE = 0x337
-- ARPHRD_IPDDP = 0x309
-- ARPHRD_IPGRE = 0x30a
-- ARPHRD_IRDA = 0x30f
-- ARPHRD_LAPB = 0x204
-- ARPHRD_LOCALTLK = 0x305
-- ARPHRD_LOOPBACK = 0x304
-- ARPHRD_METRICOM = 0x17
-- ARPHRD_NETLINK = 0x338
-- ARPHRD_NETROM = 0x0
-- ARPHRD_NONE = 0xfffe
-- ARPHRD_PHONET = 0x334
-- ARPHRD_PHONET_PIPE = 0x335
-- ARPHRD_PIMREG = 0x30b
-- ARPHRD_PPP = 0x200
-- ARPHRD_PRONET = 0x4
-- ARPHRD_RAWHDLC = 0x206
-- ARPHRD_ROSE = 0x10e
-- ARPHRD_RSRVD = 0x104
-- ARPHRD_SIT = 0x308
-- ARPHRD_SKIP = 0x303
-- ARPHRD_SLIP = 0x100
-- ARPHRD_SLIP6 = 0x102
-- ARPHRD_TUNNEL = 0x300
-- ARPHRD_TUNNEL6 = 0x301
-- ARPHRD_VOID = 0xffff
-- ARPHRD_X25 = 0x10f
-- B0 = 0x0
-- B1000000 = 0x1008
-- B110 = 0x3
-- B115200 = 0x1002
-- B1152000 = 0x1009
-- B1200 = 0x9
-- B134 = 0x4
-- B150 = 0x5
-- B1500000 = 0x100a
-- B1800 = 0xa
-- B19200 = 0xe
-- B200 = 0x6
-- B2000000 = 0x100b
-- B230400 = 0x1003
-- B2400 = 0xb
-- B2500000 = 0x100c
-- B300 = 0x7
-- B3000000 = 0x100d
-- B3500000 = 0x100e
-- B38400 = 0xf
-- B4000000 = 0x100f
-- B460800 = 0x1004
-- B4800 = 0xc
-- B50 = 0x1
-- B500000 = 0x1005
-- B57600 = 0x1001
-- B576000 = 0x1006
-- B600 = 0x8
-- B75 = 0x2
-- B921600 = 0x1007
-- B9600 = 0xd
-- BLKBSZGET = 0x40041270
-- BLKBSZSET = 0x80041271
-- BLKFLSBUF = 0x20001261
-- BLKFRAGET = 0x20001265
-- BLKFRASET = 0x20001264
-- BLKGETSIZE = 0x20001260
-- BLKGETSIZE64 = 0x40041272
-- BLKPBSZGET = 0x2000127b
-- BLKRAGET = 0x20001263
-- BLKRASET = 0x20001262
-- BLKROGET = 0x2000125e
-- BLKROSET = 0x2000125d
-- BLKRRPART = 0x2000125f
-- BLKSECTGET = 0x20001267
-- BLKSECTSET = 0x20001266
-- BLKSSZGET = 0x20001268
-- BOTHER = 0x1000
-- BPF_A = 0x10
-- BPF_ABS = 0x20
-- BPF_ADD = 0x0
-- BPF_ALU = 0x4
-- BPF_AND = 0x50
-- BPF_B = 0x10
-- BPF_DIV = 0x30
-- BPF_H = 0x8
-- BPF_IMM = 0x0
-- BPF_IND = 0x40
-- BPF_JA = 0x0
-- BPF_JEQ = 0x10
-- BPF_JGE = 0x30
-- BPF_JGT = 0x20
-- BPF_JMP = 0x5
-- BPF_JSET = 0x40
-- BPF_K = 0x0
-- BPF_LD = 0x0
-- BPF_LDX = 0x1
-- BPF_LEN = 0x80
-- BPF_LL_OFF = -0x200000
-- BPF_LSH = 0x60
-- BPF_MAJOR_VERSION = 0x1
-- BPF_MAXINSNS = 0x1000
-- BPF_MEM = 0x60
-- BPF_MEMWORDS = 0x10
-- BPF_MINOR_VERSION = 0x1
-- BPF_MISC = 0x7
-- BPF_MOD = 0x90
-- BPF_MSH = 0xa0
-- BPF_MUL = 0x20
-- BPF_NEG = 0x80
-- BPF_NET_OFF = -0x100000
-- BPF_OR = 0x40
-- BPF_RET = 0x6
-- BPF_RSH = 0x70
-- BPF_ST = 0x2
-- BPF_STX = 0x3
-- BPF_SUB = 0x10
-- BPF_TAX = 0x0
-- BPF_TXA = 0x80
-- BPF_W = 0x0
-- BPF_X = 0x8
-- BPF_XOR = 0xa0
-- BRKINT = 0x2
-- BS0 = 0x0
-- BS1 = 0x2000
-- BSDLY = 0x2000
-- CAN_BCM = 0x2
-- CAN_EFF_FLAG = 0x80000000
-- CAN_EFF_ID_BITS = 0x1d
-- CAN_EFF_MASK = 0x1fffffff
-- CAN_ERR_FLAG = 0x20000000
-- CAN_ERR_MASK = 0x1fffffff
-- CAN_INV_FILTER = 0x20000000
-- CAN_ISOTP = 0x6
-- CAN_MAX_DLC = 0x8
-- CAN_MAX_DLEN = 0x8
-- CAN_MCNET = 0x5
-- CAN_MTU = 0x10
-- CAN_NPROTO = 0x7
-- CAN_RAW = 0x1
-- CAN_RAW_FILTER_MAX = 0x200
-- CAN_RTR_FLAG = 0x40000000
-- CAN_SFF_ID_BITS = 0xb
-- CAN_SFF_MASK = 0x7ff
-- CAN_TP16 = 0x3
-- CAN_TP20 = 0x4
-- CBAUD = 0x100f
-- CBAUDEX = 0x1000
-- CFLUSH = 0xf
-- CIBAUD = 0x100f0000
-- CLOCAL = 0x800
-- CLOCK_BOOTTIME = 0x7
-- CLOCK_BOOTTIME_ALARM = 0x9
-- CLOCK_DEFAULT = 0x0
-- CLOCK_EXT = 0x1
-- CLOCK_INT = 0x2
-- CLOCK_MONOTONIC = 0x1
-- CLOCK_MONOTONIC_COARSE = 0x6
-- CLOCK_MONOTONIC_RAW = 0x4
-- CLOCK_PROCESS_CPUTIME_ID = 0x2
-- CLOCK_REALTIME = 0x0
-- CLOCK_REALTIME_ALARM = 0x8
-- CLOCK_REALTIME_COARSE = 0x5
-- CLOCK_TAI = 0xb
-- CLOCK_THREAD_CPUTIME_ID = 0x3
-- CLOCK_TXFROMRX = 0x4
-- CLOCK_TXINT = 0x3
-- CLONE_CHILD_CLEARTID = 0x200000
-- CLONE_CHILD_SETTID = 0x1000000
-- CLONE_DETACHED = 0x400000
-- CLONE_FILES = 0x400
-- CLONE_FS = 0x200
-- CLONE_IO = 0x80000000
-- CLONE_NEWCGROUP = 0x2000000
-- CLONE_NEWIPC = 0x8000000
-- CLONE_NEWNET = 0x40000000
-- CLONE_NEWNS = 0x20000
-- CLONE_NEWPID = 0x20000000
-- CLONE_NEWUSER = 0x10000000
-- CLONE_NEWUTS = 0x4000000
-- CLONE_PARENT = 0x8000
-- CLONE_PARENT_SETTID = 0x100000
-- CLONE_PTRACE = 0x2000
-- CLONE_SETTLS = 0x80000
-- CLONE_SIGHAND = 0x800
-- CLONE_SYSVSEM = 0x40000
-- CLONE_THREAD = 0x10000
-- CLONE_UNTRACED = 0x800000
-- CLONE_VFORK = 0x4000
-- CLONE_VM = 0x100
-- CMSPAR = 0x40000000
-- CR0 = 0x0
-- CR1 = 0x200
-- CR2 = 0x400
-- CR3 = 0x600
-- CRDLY = 0x600
-- CREAD = 0x80
-- CRTSCTS = 0x80000000
-- CS5 = 0x0
-- CS6 = 0x10
-- CS7 = 0x20
-- CS8 = 0x30
-- CSIGNAL = 0xff
-- CSIZE = 0x30
-- CSTART = 0x11
-- CSTATUS = 0x0
-- CSTOP = 0x13
-- CSTOPB = 0x40
-- CSUSP = 0x1a
-- DT_BLK = 0x6
-- DT_CHR = 0x2
-- DT_DIR = 0x4
-- DT_FIFO = 0x1
-- DT_LNK = 0xa
-- DT_REG = 0x8
-- DT_SOCK = 0xc
-- DT_UNKNOWN = 0x0
-- DT_WHT = 0xe
-- ECHO = 0x8
-- ECHOCTL = 0x200
-- ECHOE = 0x10
-- ECHOK = 0x20
-- ECHOKE = 0x800
-- ECHONL = 0x40
-- ECHOPRT = 0x400
-- EFD_CLOEXEC = 0x80000
-- EFD_NONBLOCK = 0x80
-- EFD_SEMAPHORE = 0x1
-- ENCODING_DEFAULT = 0x0
-- ENCODING_FM_MARK = 0x3
-- ENCODING_FM_SPACE = 0x4
-- ENCODING_MANCHESTER = 0x5
-- ENCODING_NRZ = 0x1
-- ENCODING_NRZI = 0x2
-- EPOLLERR = 0x8
-- EPOLLET = 0x80000000
-- EPOLLEXCLUSIVE = 0x10000000
-- EPOLLHUP = 0x10
-- EPOLLIN = 0x1
-- EPOLLMSG = 0x400
-- EPOLLONESHOT = 0x40000000
-- EPOLLOUT = 0x4
-- EPOLLPRI = 0x2
-- EPOLLRDBAND = 0x80
-- EPOLLRDHUP = 0x2000
-- EPOLLRDNORM = 0x40
-- EPOLLWAKEUP = 0x20000000
-- EPOLLWRBAND = 0x200
-- EPOLLWRNORM = 0x100
-- EPOLL_CLOEXEC = 0x80000
-- EPOLL_CTL_ADD = 0x1
-- EPOLL_CTL_DEL = 0x2
-- EPOLL_CTL_MOD = 0x3
-- ETH_P_1588 = 0x88f7
-- ETH_P_8021AD = 0x88a8
-- ETH_P_8021AH = 0x88e7
-- ETH_P_8021Q = 0x8100
-- ETH_P_80221 = 0x8917
-- ETH_P_802_2 = 0x4
-- ETH_P_802_3 = 0x1
-- ETH_P_802_3_MIN = 0x600
-- ETH_P_802_EX1 = 0x88b5
-- ETH_P_AARP = 0x80f3
-- ETH_P_AF_IUCV = 0xfbfb
-- ETH_P_ALL = 0x3
-- ETH_P_AOE = 0x88a2
-- ETH_P_ARCNET = 0x1a
-- ETH_P_ARP = 0x806
-- ETH_P_ATALK = 0x809b
-- ETH_P_ATMFATE = 0x8884
-- ETH_P_ATMMPOA = 0x884c
-- ETH_P_AX25 = 0x2
-- ETH_P_BATMAN = 0x4305
-- ETH_P_BPQ = 0x8ff
-- ETH_P_CAIF = 0xf7
-- ETH_P_CAN = 0xc
-- ETH_P_CANFD = 0xd
-- ETH_P_CONTROL = 0x16
-- ETH_P_CUST = 0x6006
-- ETH_P_DDCMP = 0x6
-- ETH_P_DEC = 0x6000
-- ETH_P_DIAG = 0x6005
-- ETH_P_DNA_DL = 0x6001
-- ETH_P_DNA_RC = 0x6002
-- ETH_P_DNA_RT = 0x6003
-- ETH_P_DSA = 0x1b
-- ETH_P_ECONET = 0x18
-- ETH_P_EDSA = 0xdada
-- ETH_P_FCOE = 0x8906
-- ETH_P_FIP = 0x8914
-- ETH_P_HDLC = 0x19
-- ETH_P_HSR = 0x892f
-- ETH_P_IEEE802154 = 0xf6
-- ETH_P_IEEEPUP = 0xa00
-- ETH_P_IEEEPUPAT = 0xa01
-- ETH_P_IP = 0x800
-- ETH_P_IPV6 = 0x86dd
-- ETH_P_IPX = 0x8137
-- ETH_P_IRDA = 0x17
-- ETH_P_LAT = 0x6004
-- ETH_P_LINK_CTL = 0x886c
-- ETH_P_LOCALTALK = 0x9
-- ETH_P_LOOP = 0x60
-- ETH_P_LOOPBACK = 0x9000
-- ETH_P_MACSEC = 0x88e5
-- ETH_P_MOBITEX = 0x15
-- ETH_P_MPLS_MC = 0x8848
-- ETH_P_MPLS_UC = 0x8847
-- ETH_P_MVRP = 0x88f5
-- ETH_P_NCSI = 0x88f8
-- ETH_P_PAE = 0x888e
-- ETH_P_PAUSE = 0x8808
-- ETH_P_PHONET = 0xf5
-- ETH_P_PPPTALK = 0x10
-- ETH_P_PPP_DISC = 0x8863
-- ETH_P_PPP_MP = 0x8
-- ETH_P_PPP_SES = 0x8864
-- ETH_P_PRP = 0x88fb
-- ETH_P_PUP = 0x200
-- ETH_P_PUPAT = 0x201
-- ETH_P_QINQ1 = 0x9100
-- ETH_P_QINQ2 = 0x9200
-- ETH_P_QINQ3 = 0x9300
-- ETH_P_RARP = 0x8035
-- ETH_P_SCA = 0x6007
-- ETH_P_SLOW = 0x8809
-- ETH_P_SNAP = 0x5
-- ETH_P_TDLS = 0x890d
-- ETH_P_TEB = 0x6558
-- ETH_P_TIPC = 0x88ca
-- ETH_P_TRAILER = 0x1c
-- ETH_P_TR_802_2 = 0x11
-- ETH_P_TSN = 0x22f0
-- ETH_P_WAN_PPP = 0x7
-- ETH_P_WCCP = 0x883e
-- ETH_P_X25 = 0x805
-- ETH_P_XDSA = 0xf8
-- EXTA = 0xe
-- EXTB = 0xf
-- EXTPROC = 0x10000
-- FALLOC_FL_COLLAPSE_RANGE = 0x8
-- FALLOC_FL_INSERT_RANGE = 0x20
-- FALLOC_FL_KEEP_SIZE = 0x1
-- FALLOC_FL_NO_HIDE_STALE = 0x4
-- FALLOC_FL_PUNCH_HOLE = 0x2
-- FALLOC_FL_UNSHARE_RANGE = 0x40
-- FALLOC_FL_ZERO_RANGE = 0x10
-- FD_CLOEXEC = 0x1
-- FD_SETSIZE = 0x400
-- FF0 = 0x0
-- FF1 = 0x8000
-- FFDLY = 0x8000
-- FLUSHO = 0x2000
-- FS_ENCRYPTION_MODE_AES_256_CBC = 0x3
-- FS_ENCRYPTION_MODE_AES_256_CTS = 0x4
-- FS_ENCRYPTION_MODE_AES_256_GCM = 0x2
-- FS_ENCRYPTION_MODE_AES_256_XTS = 0x1
-- FS_ENCRYPTION_MODE_INVALID = 0x0
-- FS_IOC_GET_ENCRYPTION_POLICY = 0x800c6615
-- FS_IOC_GET_ENCRYPTION_PWSALT = 0x80106614
-- FS_IOC_SET_ENCRYPTION_POLICY = 0x400c6613
-- FS_KEY_DESCRIPTOR_SIZE = 0x8
-- FS_KEY_DESC_PREFIX = "fscrypt:"
-- FS_KEY_DESC_PREFIX_SIZE = 0x8
-- FS_MAX_KEY_SIZE = 0x40
-- FS_POLICY_FLAGS_PAD_16 = 0x2
-- FS_POLICY_FLAGS_PAD_32 = 0x3
-- FS_POLICY_FLAGS_PAD_4 = 0x0
-- FS_POLICY_FLAGS_PAD_8 = 0x1
-- FS_POLICY_FLAGS_PAD_MASK = 0x3
-- FS_POLICY_FLAGS_VALID = 0x3
-- F_DUPFD = 0x0
-- F_DUPFD_CLOEXEC = 0x406
-- F_EXLCK = 0x4
-- F_GETFD = 0x1
-- F_GETFL = 0x3
-- F_GETLEASE = 0x401
-- F_GETLK = 0x21
-- F_GETLK64 = 0x21
-- F_GETOWN = 0x17
-- F_GETOWN_EX = 0x10
-- F_GETPIPE_SZ = 0x408
-- F_GETSIG = 0xb
-- F_LOCK = 0x1
-- F_NOTIFY = 0x402
-- F_OFD_GETLK = 0x24
-- F_OFD_SETLK = 0x25
-- F_OFD_SETLKW = 0x26
-- F_OK = 0x0
-- F_RDLCK = 0x0
-- F_SETFD = 0x2
-- F_SETFL = 0x4
-- F_SETLEASE = 0x400
-- F_SETLK = 0x22
-- F_SETLK64 = 0x22
-- F_SETLKW = 0x23
-- F_SETLKW64 = 0x23
-- F_SETOWN = 0x18
-- F_SETOWN_EX = 0xf
-- F_SETPIPE_SZ = 0x407
-- F_SETSIG = 0xa
-- F_SHLCK = 0x8
-- F_TEST = 0x3
-- F_TLOCK = 0x2
-- F_ULOCK = 0x0
-- F_UNLCK = 0x2
-- F_WRLCK = 0x1
-- GENL_ADMIN_PERM = 0x1
-- GENL_CMD_CAP_DO = 0x2
-- GENL_CMD_CAP_DUMP = 0x4
-- GENL_CMD_CAP_HASPOL = 0x8
-- GENL_HDRLEN = 0x4
-- GENL_ID_CTRL = 0x10
-- GENL_ID_PMCRAID = 0x12
-- GENL_ID_VFS_DQUOT = 0x11
-- GENL_MAX_ID = 0x3ff
-- GENL_MIN_ID = 0x10
-- GENL_NAMSIZ = 0x10
-- GENL_START_ALLOC = 0x13
-- GENL_UNS_ADMIN_PERM = 0x10
-- GRND_NONBLOCK = 0x1
-- GRND_RANDOM = 0x2
-- HUPCL = 0x400
-- IBSHIFT = 0x10
-- ICANON = 0x2
-- ICMPV6_FILTER = 0x1
-- ICRNL = 0x100
-- IEXTEN = 0x100
-- IFA_F_DADFAILED = 0x8
-- IFA_F_DEPRECATED = 0x20
-- IFA_F_HOMEADDRESS = 0x10
-- IFA_F_MANAGETEMPADDR = 0x100
-- IFA_F_MCAUTOJOIN = 0x400
-- IFA_F_NODAD = 0x2
-- IFA_F_NOPREFIXROUTE = 0x200
-- IFA_F_OPTIMISTIC = 0x4
-- IFA_F_PERMANENT = 0x80
-- IFA_F_SECONDARY = 0x1
-- IFA_F_STABLE_PRIVACY = 0x800
-- IFA_F_TEMPORARY = 0x1
-- IFA_F_TENTATIVE = 0x40
-- IFA_MAX = 0x8
-- IFF_ALLMULTI = 0x200
-- IFF_ATTACH_QUEUE = 0x200
-- IFF_AUTOMEDIA = 0x4000
-- IFF_BROADCAST = 0x2
-- IFF_DEBUG = 0x4
-- IFF_DETACH_QUEUE = 0x400
-- IFF_DORMANT = 0x20000
-- IFF_DYNAMIC = 0x8000
-- IFF_ECHO = 0x40000
-- IFF_LOOPBACK = 0x8
-- IFF_LOWER_UP = 0x10000
-- IFF_MASTER = 0x400
-- IFF_MULTICAST = 0x1000
-- IFF_MULTI_QUEUE = 0x100
-- IFF_NOARP = 0x80
-- IFF_NOFILTER = 0x1000
-- IFF_NOTRAILERS = 0x20
-- IFF_NO_PI = 0x1000
-- IFF_ONE_QUEUE = 0x2000
-- IFF_PERSIST = 0x800
-- IFF_POINTOPOINT = 0x10
-- IFF_PORTSEL = 0x2000
-- IFF_PROMISC = 0x100
-- IFF_RUNNING = 0x40
-- IFF_SLAVE = 0x800
-- IFF_TAP = 0x2
-- IFF_TUN = 0x1
-- IFF_TUN_EXCL = 0x8000
-- IFF_UP = 0x1
-- IFF_VNET_HDR = 0x4000
-- IFF_VOLATILE = 0x70c5a
-- IFNAMSIZ = 0x10
-- IGNBRK = 0x1
-- IGNCR = 0x80
-- IGNPAR = 0x4
-- IMAXBEL = 0x2000
-- INLCR = 0x40
-- INPCK = 0x10
-- IN_ACCESS = 0x1
-- IN_ALL_EVENTS = 0xfff
-- IN_ATTRIB = 0x4
-- IN_CLASSA_HOST = 0xffffff
-- IN_CLASSA_MAX = 0x80
-- IN_CLASSA_NET = 0xff000000
-- IN_CLASSA_NSHIFT = 0x18
-- IN_CLASSB_HOST = 0xffff
-- IN_CLASSB_MAX = 0x10000
-- IN_CLASSB_NET = 0xffff0000
-- IN_CLASSB_NSHIFT = 0x10
-- IN_CLASSC_HOST = 0xff
-- IN_CLASSC_NET = 0xffffff00
-- IN_CLASSC_NSHIFT = 0x8
-- IN_CLOEXEC = 0x80000
-- IN_CLOSE = 0x18
-- IN_CLOSE_NOWRITE = 0x10
-- IN_CLOSE_WRITE = 0x8
-- IN_CREATE = 0x100
-- IN_DELETE = 0x200
-- IN_DELETE_SELF = 0x400
-- IN_DONT_FOLLOW = 0x2000000
-- IN_EXCL_UNLINK = 0x4000000
-- IN_IGNORED = 0x8000
-- IN_ISDIR = 0x40000000
-- IN_LOOPBACKNET = 0x7f
-- IN_MASK_ADD = 0x20000000
-- IN_MODIFY = 0x2
-- IN_MOVE = 0xc0
-- IN_MOVED_FROM = 0x40
-- IN_MOVED_TO = 0x80
-- IN_MOVE_SELF = 0x800
-- IN_NONBLOCK = 0x80
-- IN_ONESHOT = 0x80000000
-- IN_ONLYDIR = 0x1000000
-- IN_OPEN = 0x20
-- IN_Q_OVERFLOW = 0x4000
-- IN_UNMOUNT = 0x2000
-- IPPROTO_AH = 0x33
-- IPPROTO_BEETPH = 0x5e
-- IPPROTO_COMP = 0x6c
-- IPPROTO_DCCP = 0x21
-- IPPROTO_DSTOPTS = 0x3c
-- IPPROTO_EGP = 0x8
-- IPPROTO_ENCAP = 0x62
-- IPPROTO_ESP = 0x32
-- IPPROTO_FRAGMENT = 0x2c
-- IPPROTO_GRE = 0x2f
-- IPPROTO_HOPOPTS = 0x0
-- IPPROTO_ICMP = 0x1
-- IPPROTO_ICMPV6 = 0x3a
-- IPPROTO_IDP = 0x16
-- IPPROTO_IGMP = 0x2
-- IPPROTO_IP = 0x0
-- IPPROTO_IPIP = 0x4
-- IPPROTO_IPV6 = 0x29
-- IPPROTO_MH = 0x87
-- IPPROTO_MPLS = 0x89
-- IPPROTO_MTP = 0x5c
-- IPPROTO_NONE = 0x3b
-- IPPROTO_PIM = 0x67
-- IPPROTO_PUP = 0xc
-- IPPROTO_RAW = 0xff
-- IPPROTO_ROUTING = 0x2b
-- IPPROTO_RSVP = 0x2e
-- IPPROTO_SCTP = 0x84
-- IPPROTO_TCP = 0x6
-- IPPROTO_TP = 0x1d
-- IPPROTO_UDP = 0x11
-- IPPROTO_UDPLITE = 0x88
-- IPV6_2292DSTOPTS = 0x4
-- IPV6_2292HOPLIMIT = 0x8
-- IPV6_2292HOPOPTS = 0x3
-- IPV6_2292PKTINFO = 0x2
-- IPV6_2292PKTOPTIONS = 0x6
-- IPV6_2292RTHDR = 0x5
-- IPV6_ADDRFORM = 0x1
-- IPV6_ADD_MEMBERSHIP = 0x14
-- IPV6_AUTHHDR = 0xa
-- IPV6_CHECKSUM = 0x7
-- IPV6_DONTFRAG = 0x3e
-- IPV6_DROP_MEMBERSHIP = 0x15
-- IPV6_DSTOPTS = 0x3b
-- IPV6_HDRINCL = 0x24
-- IPV6_HOPLIMIT = 0x34
-- IPV6_HOPOPTS = 0x36
-- IPV6_IPSEC_POLICY = 0x22
-- IPV6_JOIN_ANYCAST = 0x1b
-- IPV6_JOIN_GROUP = 0x14
-- IPV6_LEAVE_ANYCAST = 0x1c
-- IPV6_LEAVE_GROUP = 0x15
-- IPV6_MTU = 0x18
-- IPV6_MTU_DISCOVER = 0x17
-- IPV6_MULTICAST_HOPS = 0x12
-- IPV6_MULTICAST_IF = 0x11
-- IPV6_MULTICAST_LOOP = 0x13
-- IPV6_NEXTHOP = 0x9
-- IPV6_PATHMTU = 0x3d
-- IPV6_PKTINFO = 0x32
-- IPV6_PMTUDISC_DO = 0x2
-- IPV6_PMTUDISC_DONT = 0x0
-- IPV6_PMTUDISC_INTERFACE = 0x4
-- IPV6_PMTUDISC_OMIT = 0x5
-- IPV6_PMTUDISC_PROBE = 0x3
-- IPV6_PMTUDISC_WANT = 0x1
-- IPV6_RECVDSTOPTS = 0x3a
-- IPV6_RECVERR = 0x19
-- IPV6_RECVHOPLIMIT = 0x33
-- IPV6_RECVHOPOPTS = 0x35
-- IPV6_RECVPATHMTU = 0x3c
-- IPV6_RECVPKTINFO = 0x31
-- IPV6_RECVRTHDR = 0x38
-- IPV6_RECVTCLASS = 0x42
-- IPV6_ROUTER_ALERT = 0x16
-- IPV6_RTHDR = 0x39
-- IPV6_RTHDRDSTOPTS = 0x37
-- IPV6_RTHDR_LOOSE = 0x0
-- IPV6_RTHDR_STRICT = 0x1
-- IPV6_RTHDR_TYPE_0 = 0x0
-- IPV6_RXDSTOPTS = 0x3b
-- IPV6_RXHOPOPTS = 0x36
-- IPV6_TCLASS = 0x43
-- IPV6_UNICAST_HOPS = 0x10
-- IPV6_V6ONLY = 0x1a
-- IPV6_XFRM_POLICY = 0x23
-- IP_ADD_MEMBERSHIP = 0x23
-- IP_ADD_SOURCE_MEMBERSHIP = 0x27
-- IP_BIND_ADDRESS_NO_PORT = 0x18
-- IP_BLOCK_SOURCE = 0x26
-- IP_CHECKSUM = 0x17
-- IP_DEFAULT_MULTICAST_LOOP = 0x1
-- IP_DEFAULT_MULTICAST_TTL = 0x1
-- IP_DF = 0x4000
-- IP_DROP_MEMBERSHIP = 0x24
-- IP_DROP_SOURCE_MEMBERSHIP = 0x28
-- IP_FREEBIND = 0xf
-- IP_HDRINCL = 0x3
-- IP_IPSEC_POLICY = 0x10
-- IP_MAXPACKET = 0xffff
-- IP_MAX_MEMBERSHIPS = 0x14
-- IP_MF = 0x2000
-- IP_MINTTL = 0x15
-- IP_MSFILTER = 0x29
-- IP_MSS = 0x240
-- IP_MTU = 0xe
-- IP_MTU_DISCOVER = 0xa
-- IP_MULTICAST_ALL = 0x31
-- IP_MULTICAST_IF = 0x20
-- IP_MULTICAST_LOOP = 0x22
-- IP_MULTICAST_TTL = 0x21
-- IP_NODEFRAG = 0x16
-- IP_OFFMASK = 0x1fff
-- IP_OPTIONS = 0x4
-- IP_ORIGDSTADDR = 0x14
-- IP_PASSSEC = 0x12
-- IP_PKTINFO = 0x8
-- IP_PKTOPTIONS = 0x9
-- IP_PMTUDISC = 0xa
-- IP_PMTUDISC_DO = 0x2
-- IP_PMTUDISC_DONT = 0x0
-- IP_PMTUDISC_INTERFACE = 0x4
-- IP_PMTUDISC_OMIT = 0x5
-- IP_PMTUDISC_PROBE = 0x3
-- IP_PMTUDISC_WANT = 0x1
-- IP_RECVERR = 0xb
-- IP_RECVOPTS = 0x6
-- IP_RECVORIGDSTADDR = 0x14
-- IP_RECVRETOPTS = 0x7
-- IP_RECVTOS = 0xd
-- IP_RECVTTL = 0xc
-- IP_RETOPTS = 0x7
-- IP_RF = 0x8000
-- IP_ROUTER_ALERT = 0x5
-- IP_TOS = 0x1
-- IP_TRANSPARENT = 0x13
-- IP_TTL = 0x2
-- IP_UNBLOCK_SOURCE = 0x25
-- IP_UNICAST_IF = 0x32
-- IP_XFRM_POLICY = 0x11
-- ISIG = 0x1
-- ISTRIP = 0x20
-- IUCLC = 0x200
-- IUTF8 = 0x4000
-- IXANY = 0x800
-- IXOFF = 0x1000
-- IXON = 0x400
-- KEYCTL_ASSUME_AUTHORITY = 0x10
-- KEYCTL_CHOWN = 0x4
-- KEYCTL_CLEAR = 0x7
-- KEYCTL_DESCRIBE = 0x6
-- KEYCTL_DH_COMPUTE = 0x17
-- KEYCTL_GET_KEYRING_ID = 0x0
-- KEYCTL_GET_PERSISTENT = 0x16
-- KEYCTL_GET_SECURITY = 0x11
-- KEYCTL_INSTANTIATE = 0xc
-- KEYCTL_INSTANTIATE_IOV = 0x14
-- KEYCTL_INVALIDATE = 0x15
-- KEYCTL_JOIN_SESSION_KEYRING = 0x1
-- KEYCTL_LINK = 0x8
-- KEYCTL_NEGATE = 0xd
-- KEYCTL_READ = 0xb
-- KEYCTL_REJECT = 0x13
-- KEYCTL_REVOKE = 0x3
-- KEYCTL_SEARCH = 0xa
-- KEYCTL_SESSION_TO_PARENT = 0x12
-- KEYCTL_SETPERM = 0x5
-- KEYCTL_SET_REQKEY_KEYRING = 0xe
-- KEYCTL_SET_TIMEOUT = 0xf
-- KEYCTL_UNLINK = 0x9
-- KEYCTL_UPDATE = 0x2
-- KEY_REQKEY_DEFL_DEFAULT = 0x0
-- KEY_REQKEY_DEFL_GROUP_KEYRING = 0x6
-- KEY_REQKEY_DEFL_NO_CHANGE = -0x1
-- KEY_REQKEY_DEFL_PROCESS_KEYRING = 0x2
-- KEY_REQKEY_DEFL_REQUESTOR_KEYRING = 0x7
-- KEY_REQKEY_DEFL_SESSION_KEYRING = 0x3
-- KEY_REQKEY_DEFL_THREAD_KEYRING = 0x1
-- KEY_REQKEY_DEFL_USER_KEYRING = 0x4
-- KEY_REQKEY_DEFL_USER_SESSION_KEYRING = 0x5
-- KEY_SPEC_GROUP_KEYRING = -0x6
-- KEY_SPEC_PROCESS_KEYRING = -0x2
-- KEY_SPEC_REQKEY_AUTH_KEY = -0x7
-- KEY_SPEC_REQUESTOR_KEYRING = -0x8
-- KEY_SPEC_SESSION_KEYRING = -0x3
-- KEY_SPEC_THREAD_KEYRING = -0x1
-- KEY_SPEC_USER_KEYRING = -0x4
-- KEY_SPEC_USER_SESSION_KEYRING = -0x5
-- LINUX_REBOOT_CMD_CAD_OFF = 0x0
-- LINUX_REBOOT_CMD_CAD_ON = 0x89abcdef
-- LINUX_REBOOT_CMD_HALT = 0xcdef0123
-- LINUX_REBOOT_CMD_KEXEC = 0x45584543
-- LINUX_REBOOT_CMD_POWER_OFF = 0x4321fedc
-- LINUX_REBOOT_CMD_RESTART = 0x1234567
-- LINUX_REBOOT_CMD_RESTART2 = 0xa1b2c3d4
-- LINUX_REBOOT_CMD_SW_SUSPEND = 0xd000fce2
-- LINUX_REBOOT_MAGIC1 = 0xfee1dead
-- LINUX_REBOOT_MAGIC2 = 0x28121969
-- LOCK_EX = 0x2
-- LOCK_NB = 0x4
-- LOCK_SH = 0x1
-- LOCK_UN = 0x8
-- MADV_DODUMP = 0x11
-- MADV_DOFORK = 0xb
-- MADV_DONTDUMP = 0x10
-- MADV_DONTFORK = 0xa
-- MADV_DONTNEED = 0x4
-- MADV_FREE = 0x8
-- MADV_HUGEPAGE = 0xe
-- MADV_HWPOISON = 0x64
-- MADV_MERGEABLE = 0xc
-- MADV_NOHUGEPAGE = 0xf
-- MADV_NORMAL = 0x0
-- MADV_RANDOM = 0x1
-- MADV_REMOVE = 0x9
-- MADV_SEQUENTIAL = 0x2
-- MADV_UNMERGEABLE = 0xd
-- MADV_WILLNEED = 0x3
-- MAP_ANON = 0x800
-- MAP_ANONYMOUS = 0x800
-- MAP_DENYWRITE = 0x2000
-- MAP_EXECUTABLE = 0x4000
-- MAP_FILE = 0x0
-- MAP_FIXED = 0x10
-- MAP_GROWSDOWN = 0x1000
-- MAP_HUGETLB = 0x80000
-- MAP_HUGE_MASK = 0x3f
-- MAP_HUGE_SHIFT = 0x1a
-- MAP_LOCKED = 0x8000
-- MAP_NONBLOCK = 0x20000
-- MAP_NORESERVE = 0x400
-- MAP_POPULATE = 0x10000
-- MAP_PRIVATE = 0x2
-- MAP_RENAME = 0x800
-- MAP_SHARED = 0x1
-- MAP_STACK = 0x40000
-- MAP_TYPE = 0xf
-- MCL_CURRENT = 0x1
-- MCL_FUTURE = 0x2
-- MCL_ONFAULT = 0x4
-- MNT_DETACH = 0x2
-- MNT_EXPIRE = 0x4
-- MNT_FORCE = 0x1
-- MSG_BATCH = 0x40000
-- MSG_CMSG_CLOEXEC = 0x40000000
-- MSG_CONFIRM = 0x800
-- MSG_CTRUNC = 0x8
-- MSG_DONTROUTE = 0x4
-- MSG_DONTWAIT = 0x40
-- MSG_EOR = 0x80
-- MSG_ERRQUEUE = 0x2000
-- MSG_FASTOPEN = 0x20000000
-- MSG_FIN = 0x200
-- MSG_MORE = 0x8000
-- MSG_NOSIGNAL = 0x4000
-- MSG_OOB = 0x1
-- MSG_PEEK = 0x2
-- MSG_PROXY = 0x10
-- MSG_RST = 0x1000
-- MSG_SYN = 0x400
-- MSG_TRUNC = 0x20
-- MSG_TRYHARD = 0x4
-- MSG_WAITALL = 0x100
-- MSG_WAITFORONE = 0x10000
-- MS_ACTIVE = 0x40000000
-- MS_ASYNC = 0x1
-- MS_BIND = 0x1000
-- MS_BORN = 0x20000000
-- MS_DIRSYNC = 0x80
-- MS_INVALIDATE = 0x2
-- MS_I_VERSION = 0x800000
-- MS_KERNMOUNT = 0x400000
-- MS_LAZYTIME = 0x2000000
-- MS_MANDLOCK = 0x40
-- MS_MGC_MSK = 0xffff0000
-- MS_MGC_VAL = 0xc0ed0000
-- MS_MOVE = 0x2000
-- MS_NOATIME = 0x400
-- MS_NODEV = 0x4
-- MS_NODIRATIME = 0x800
-- MS_NOEXEC = 0x8
-- MS_NOREMOTELOCK = 0x8000000
-- MS_NOSEC = 0x10000000
-- MS_NOSUID = 0x2
-- MS_NOUSER = -0x80000000
-- MS_POSIXACL = 0x10000
-- MS_PRIVATE = 0x40000
-- MS_RDONLY = 0x1
-- MS_REC = 0x4000
-- MS_RELATIME = 0x200000
-- MS_REMOUNT = 0x20
-- MS_RMT_MASK = 0x2800051
-- MS_SHARED = 0x100000
-- MS_SILENT = 0x8000
-- MS_SLAVE = 0x80000
-- MS_STRICTATIME = 0x1000000
-- MS_SYNC = 0x4
-- MS_SYNCHRONOUS = 0x10
-- MS_UNBINDABLE = 0x20000
-- MS_VERBOSE = 0x8000
-- NAME_MAX = 0xff
-- NETLINK_ADD_MEMBERSHIP = 0x1
-- NETLINK_AUDIT = 0x9
-- NETLINK_BROADCAST_ERROR = 0x4
-- NETLINK_CAP_ACK = 0xa
-- NETLINK_CONNECTOR = 0xb
-- NETLINK_CRYPTO = 0x15
-- NETLINK_DNRTMSG = 0xe
-- NETLINK_DROP_MEMBERSHIP = 0x2
-- NETLINK_ECRYPTFS = 0x13
-- NETLINK_FIB_LOOKUP = 0xa
-- NETLINK_FIREWALL = 0x3
-- NETLINK_GENERIC = 0x10
-- NETLINK_INET_DIAG = 0x4
-- NETLINK_IP6_FW = 0xd
-- NETLINK_ISCSI = 0x8
-- NETLINK_KOBJECT_UEVENT = 0xf
-- NETLINK_LISTEN_ALL_NSID = 0x8
-- NETLINK_LIST_MEMBERSHIPS = 0x9
-- NETLINK_NETFILTER = 0xc
-- NETLINK_NFLOG = 0x5
-- NETLINK_NO_ENOBUFS = 0x5
-- NETLINK_PKTINFO = 0x3
-- NETLINK_RDMA = 0x14
-- NETLINK_ROUTE = 0x0
-- NETLINK_RX_RING = 0x6
-- NETLINK_SCSITRANSPORT = 0x12
-- NETLINK_SELINUX = 0x7
-- NETLINK_SOCK_DIAG = 0x4
-- NETLINK_TX_RING = 0x7
-- NETLINK_UNUSED = 0x1
-- NETLINK_USERSOCK = 0x2
-- NETLINK_XFRM = 0x6
-- NL0 = 0x0
-- NL1 = 0x100
-- NLA_ALIGNTO = 0x4
-- NLA_F_NESTED = 0x8000
-- NLA_F_NET_BYTEORDER = 0x4000
-- NLA_HDRLEN = 0x4
-- NLDLY = 0x100
-- NLMSG_ALIGNTO = 0x4
-- NLMSG_DONE = 0x3
-- NLMSG_ERROR = 0x2
-- NLMSG_HDRLEN = 0x10
-- NLMSG_MIN_TYPE = 0x10
-- NLMSG_NOOP = 0x1
-- NLMSG_OVERRUN = 0x4
-- NLM_F_ACK = 0x4
-- NLM_F_APPEND = 0x800
-- NLM_F_ATOMIC = 0x400
-- NLM_F_CREATE = 0x400
-- NLM_F_DUMP = 0x300
-- NLM_F_DUMP_FILTERED = 0x20
-- NLM_F_DUMP_INTR = 0x10
-- NLM_F_ECHO = 0x8
-- NLM_F_EXCL = 0x200
-- NLM_F_MATCH = 0x200
-- NLM_F_MULTI = 0x2
-- NLM_F_REPLACE = 0x100
-- NLM_F_REQUEST = 0x1
-- NLM_F_ROOT = 0x100
-- NOFLSH = 0x80
-- OCRNL = 0x8
-- OFDEL = 0x80
-- OFILL = 0x40
-- OLCUC = 0x2
-- ONLCR = 0x4
-- ONLRET = 0x20
-- ONOCR = 0x10
-- OPOST = 0x1
-- O_ACCMODE = 0x3
-- O_APPEND = 0x8
-- O_ASYNC = 0x1000
-- O_CLOEXEC = 0x80000
-- O_CREAT = 0x100
-- O_DIRECT = 0x8000
-- O_DIRECTORY = 0x10000
-- O_DSYNC = 0x10
-- O_EXCL = 0x400
-- O_FSYNC = 0x4010
-- O_LARGEFILE = 0x2000
-- O_NDELAY = 0x80
-- O_NOATIME = 0x40000
-- O_NOCTTY = 0x800
-- O_NOFOLLOW = 0x20000
-- O_NONBLOCK = 0x80
-- O_PATH = 0x200000
-- O_RDONLY = 0x0
-- O_RDWR = 0x2
-- O_RSYNC = 0x4010
-- O_SYNC = 0x4010
-- O_TMPFILE = 0x410000
-- O_TRUNC = 0x200
-- O_WRONLY = 0x1
-- PACKET_ADD_MEMBERSHIP = 0x1
-- PACKET_AUXDATA = 0x8
-- PACKET_BROADCAST = 0x1
-- PACKET_COPY_THRESH = 0x7
-- PACKET_DROP_MEMBERSHIP = 0x2
-- PACKET_FANOUT = 0x12
-- PACKET_FANOUT_CBPF = 0x6
-- PACKET_FANOUT_CPU = 0x2
-- PACKET_FANOUT_DATA = 0x16
-- PACKET_FANOUT_EBPF = 0x7
-- PACKET_FANOUT_FLAG_DEFRAG = 0x8000
-- PACKET_FANOUT_FLAG_ROLLOVER = 0x1000
-- PACKET_FANOUT_HASH = 0x0
-- PACKET_FANOUT_LB = 0x1
-- PACKET_FANOUT_QM = 0x5
-- PACKET_FANOUT_RND = 0x4
-- PACKET_FANOUT_ROLLOVER = 0x3
-- PACKET_FASTROUTE = 0x6
-- PACKET_HDRLEN = 0xb
-- PACKET_HOST = 0x0
-- PACKET_KERNEL = 0x7
-- PACKET_LOOPBACK = 0x5
-- PACKET_LOSS = 0xe
-- PACKET_MR_ALLMULTI = 0x2
-- PACKET_MR_MULTICAST = 0x0
-- PACKET_MR_PROMISC = 0x1
-- PACKET_MR_UNICAST = 0x3
-- PACKET_MULTICAST = 0x2
-- PACKET_ORIGDEV = 0x9
-- PACKET_OTHERHOST = 0x3
-- PACKET_OUTGOING = 0x4
-- PACKET_QDISC_BYPASS = 0x14
-- PACKET_RECV_OUTPUT = 0x3
-- PACKET_RESERVE = 0xc
-- PACKET_ROLLOVER_STATS = 0x15
-- PACKET_RX_RING = 0x5
-- PACKET_STATISTICS = 0x6
-- PACKET_TIMESTAMP = 0x11
-- PACKET_TX_HAS_OFF = 0x13
-- PACKET_TX_RING = 0xd
-- PACKET_TX_TIMESTAMP = 0x10
-- PACKET_USER = 0x6
-- PACKET_VERSION = 0xa
-- PACKET_VNET_HDR = 0xf
-- PARENB = 0x100
-- PARITY_CRC16_PR0 = 0x2
-- PARITY_CRC16_PR0_CCITT = 0x4
-- PARITY_CRC16_PR1 = 0x3
-- PARITY_CRC16_PR1_CCITT = 0x5
-- PARITY_CRC32_PR0_CCITT = 0x6
-- PARITY_CRC32_PR1_CCITT = 0x7
-- PARITY_DEFAULT = 0x0
-- PARITY_NONE = 0x1
-- PARMRK = 0x8
-- PARODD = 0x200
-- PENDIN = 0x4000
-- PERF_EVENT_IOC_DISABLE = 0x20002401
-- PERF_EVENT_IOC_ENABLE = 0x20002400
-- PERF_EVENT_IOC_ID = 0x40042407
-- PERF_EVENT_IOC_PAUSE_OUTPUT = 0x80042409
-- PERF_EVENT_IOC_PERIOD = 0x80082404
-- PERF_EVENT_IOC_REFRESH = 0x20002402
-- PERF_EVENT_IOC_RESET = 0x20002403
-- PERF_EVENT_IOC_SET_BPF = 0x80042408
-- PERF_EVENT_IOC_SET_FILTER = 0x80042406
-- PERF_EVENT_IOC_SET_OUTPUT = 0x20002405
-- PRIO_PGRP = 0x1
-- PRIO_PROCESS = 0x0
-- PRIO_USER = 0x2
-- PROT_EXEC = 0x4
-- PROT_GROWSDOWN = 0x1000000
-- PROT_GROWSUP = 0x2000000
-- PROT_NONE = 0x0
-- PROT_READ = 0x1
-- PROT_WRITE = 0x2
-- PR_CAPBSET_DROP = 0x18
-- PR_CAPBSET_READ = 0x17
-- PR_CAP_AMBIENT = 0x2f
-- PR_CAP_AMBIENT_CLEAR_ALL = 0x4
-- PR_CAP_AMBIENT_IS_SET = 0x1
-- PR_CAP_AMBIENT_LOWER = 0x3
-- PR_CAP_AMBIENT_RAISE = 0x2
-- PR_ENDIAN_BIG = 0x0
-- PR_ENDIAN_LITTLE = 0x1
-- PR_ENDIAN_PPC_LITTLE = 0x2
-- PR_FPEMU_NOPRINT = 0x1
-- PR_FPEMU_SIGFPE = 0x2
-- PR_FP_EXC_ASYNC = 0x2
-- PR_FP_EXC_DISABLED = 0x0
-- PR_FP_EXC_DIV = 0x10000
-- PR_FP_EXC_INV = 0x100000
-- PR_FP_EXC_NONRECOV = 0x1
-- PR_FP_EXC_OVF = 0x20000
-- PR_FP_EXC_PRECISE = 0x3
-- PR_FP_EXC_RES = 0x80000
-- PR_FP_EXC_SW_ENABLE = 0x80
-- PR_FP_EXC_UND = 0x40000
-- PR_FP_MODE_FR = 0x1
-- PR_FP_MODE_FRE = 0x2
-- PR_GET_CHILD_SUBREAPER = 0x25
-- PR_GET_DUMPABLE = 0x3
-- PR_GET_ENDIAN = 0x13
-- PR_GET_FPEMU = 0x9
-- PR_GET_FPEXC = 0xb
-- PR_GET_FP_MODE = 0x2e
-- PR_GET_KEEPCAPS = 0x7
-- PR_GET_NAME = 0x10
-- PR_GET_NO_NEW_PRIVS = 0x27
-- PR_GET_PDEATHSIG = 0x2
-- PR_GET_SECCOMP = 0x15
-- PR_GET_SECUREBITS = 0x1b
-- PR_GET_THP_DISABLE = 0x2a
-- PR_GET_TID_ADDRESS = 0x28
-- PR_GET_TIMERSLACK = 0x1e
-- PR_GET_TIMING = 0xd
-- PR_GET_TSC = 0x19
-- PR_GET_UNALIGN = 0x5
-- PR_MCE_KILL = 0x21
-- PR_MCE_KILL_CLEAR = 0x0
-- PR_MCE_KILL_DEFAULT = 0x2
-- PR_MCE_KILL_EARLY = 0x1
-- PR_MCE_KILL_GET = 0x22
-- PR_MCE_KILL_LATE = 0x0
-- PR_MCE_KILL_SET = 0x1
-- PR_MPX_DISABLE_MANAGEMENT = 0x2c
-- PR_MPX_ENABLE_MANAGEMENT = 0x2b
-- PR_SET_CHILD_SUBREAPER = 0x24
-- PR_SET_DUMPABLE = 0x4
-- PR_SET_ENDIAN = 0x14
-- PR_SET_FPEMU = 0xa
-- PR_SET_FPEXC = 0xc
-- PR_SET_FP_MODE = 0x2d
-- PR_SET_KEEPCAPS = 0x8
-- PR_SET_MM = 0x23
-- PR_SET_MM_ARG_END = 0x9
-- PR_SET_MM_ARG_START = 0x8
-- PR_SET_MM_AUXV = 0xc
-- PR_SET_MM_BRK = 0x7
-- PR_SET_MM_END_CODE = 0x2
-- PR_SET_MM_END_DATA = 0x4
-- PR_SET_MM_ENV_END = 0xb
-- PR_SET_MM_ENV_START = 0xa
-- PR_SET_MM_EXE_FILE = 0xd
-- PR_SET_MM_MAP = 0xe
-- PR_SET_MM_MAP_SIZE = 0xf
-- PR_SET_MM_START_BRK = 0x6
-- PR_SET_MM_START_CODE = 0x1
-- PR_SET_MM_START_DATA = 0x3
-- PR_SET_MM_START_STACK = 0x5
-- PR_SET_NAME = 0xf
-- PR_SET_NO_NEW_PRIVS = 0x26
-- PR_SET_PDEATHSIG = 0x1
-- PR_SET_PTRACER = 0x59616d61
-- PR_SET_PTRACER_ANY = 0xffffffff
-- PR_SET_SECCOMP = 0x16
-- PR_SET_SECUREBITS = 0x1c
-- PR_SET_THP_DISABLE = 0x29
-- PR_SET_TIMERSLACK = 0x1d
-- PR_SET_TIMING = 0xe
-- PR_SET_TSC = 0x1a
-- PR_SET_UNALIGN = 0x6
-- PR_TASK_PERF_EVENTS_DISABLE = 0x1f
-- PR_TASK_PERF_EVENTS_ENABLE = 0x20
-- PR_TIMING_STATISTICAL = 0x0
-- PR_TIMING_TIMESTAMP = 0x1
-- PR_TSC_ENABLE = 0x1
-- PR_TSC_SIGSEGV = 0x2
-- PR_UNALIGN_NOPRINT = 0x1
-- PR_UNALIGN_SIGBUS = 0x2
-- PTRACE_ATTACH = 0x10
-- PTRACE_CONT = 0x7
-- PTRACE_DETACH = 0x11
-- PTRACE_EVENT_CLONE = 0x3
-- PTRACE_EVENT_EXEC = 0x4
-- PTRACE_EVENT_EXIT = 0x6
-- PTRACE_EVENT_FORK = 0x1
-- PTRACE_EVENT_SECCOMP = 0x7
-- PTRACE_EVENT_STOP = 0x80
-- PTRACE_EVENT_VFORK = 0x2
-- PTRACE_EVENT_VFORK_DONE = 0x5
-- PTRACE_GETEVENTMSG = 0x4201
-- PTRACE_GETFPREGS = 0xe
-- PTRACE_GETREGS = 0xc
-- PTRACE_GETREGSET = 0x4204
-- PTRACE_GETSIGINFO = 0x4202
-- PTRACE_GETSIGMASK = 0x420a
-- PTRACE_GET_THREAD_AREA = 0x19
-- PTRACE_GET_THREAD_AREA_3264 = 0xc4
-- PTRACE_GET_WATCH_REGS = 0xd0
-- PTRACE_INTERRUPT = 0x4207
-- PTRACE_KILL = 0x8
-- PTRACE_LISTEN = 0x4208
-- PTRACE_OLDSETOPTIONS = 0x15
-- PTRACE_O_EXITKILL = 0x100000
-- PTRACE_O_MASK = 0x3000ff
-- PTRACE_O_SUSPEND_SECCOMP = 0x200000
-- PTRACE_O_TRACECLONE = 0x8
-- PTRACE_O_TRACEEXEC = 0x10
-- PTRACE_O_TRACEEXIT = 0x40
-- PTRACE_O_TRACEFORK = 0x2
-- PTRACE_O_TRACESECCOMP = 0x80
-- PTRACE_O_TRACESYSGOOD = 0x1
-- PTRACE_O_TRACEVFORK = 0x4
-- PTRACE_O_TRACEVFORKDONE = 0x20
-- PTRACE_PEEKDATA = 0x2
-- PTRACE_PEEKDATA_3264 = 0xc1
-- PTRACE_PEEKSIGINFO = 0x4209
-- PTRACE_PEEKSIGINFO_SHARED = 0x1
-- PTRACE_PEEKTEXT = 0x1
-- PTRACE_PEEKTEXT_3264 = 0xc0
-- PTRACE_PEEKUSR = 0x3
-- PTRACE_POKEDATA = 0x5
-- PTRACE_POKEDATA_3264 = 0xc3
-- PTRACE_POKETEXT = 0x4
-- PTRACE_POKETEXT_3264 = 0xc2
-- PTRACE_POKEUSR = 0x6
-- PTRACE_SECCOMP_GET_FILTER = 0x420c
-- PTRACE_SEIZE = 0x4206
-- PTRACE_SETFPREGS = 0xf
-- PTRACE_SETOPTIONS = 0x4200
-- PTRACE_SETREGS = 0xd
-- PTRACE_SETREGSET = 0x4205
-- PTRACE_SETSIGINFO = 0x4203
-- PTRACE_SETSIGMASK = 0x420b
-- PTRACE_SET_THREAD_AREA = 0x1a
-- PTRACE_SET_WATCH_REGS = 0xd1
-- PTRACE_SINGLESTEP = 0x9
-- PTRACE_SYSCALL = 0x18
-- PTRACE_TRACEME = 0x0
-- RLIMIT_AS = 0x6
-- RLIMIT_CORE = 0x4
-- RLIMIT_CPU = 0x0
-- RLIMIT_DATA = 0x2
-- RLIMIT_FSIZE = 0x1
-- RLIMIT_LOCKS = 0xa
-- RLIMIT_MEMLOCK = 0x9
-- RLIMIT_MSGQUEUE = 0xc
-- RLIMIT_NICE = 0xd
-- RLIMIT_NOFILE = 0x5
-- RLIMIT_NPROC = 0x8
-- RLIMIT_RSS = 0x7
-- RLIMIT_RTPRIO = 0xe
-- RLIMIT_RTTIME = 0xf
-- RLIMIT_SIGPENDING = 0xb
-- RLIMIT_STACK = 0x3
-- RLIM_INFINITY = -0x1
-- RTAX_ADVMSS = 0x8
-- RTAX_CC_ALGO = 0x10
-- RTAX_CWND = 0x7
-- RTAX_FEATURES = 0xc
-- RTAX_FEATURE_ALLFRAG = 0x8
-- RTAX_FEATURE_ECN = 0x1
-- RTAX_FEATURE_MASK = 0xf
-- RTAX_FEATURE_SACK = 0x2
-- RTAX_FEATURE_TIMESTAMP = 0x4
-- RTAX_HOPLIMIT = 0xa
-- RTAX_INITCWND = 0xb
-- RTAX_INITRWND = 0xe
-- RTAX_LOCK = 0x1
-- RTAX_MAX = 0x10
-- RTAX_MTU = 0x2
-- RTAX_QUICKACK = 0xf
-- RTAX_REORDERING = 0x9
-- RTAX_RTO_MIN = 0xd
-- RTAX_RTT = 0x4
-- RTAX_RTTVAR = 0x5
-- RTAX_SSTHRESH = 0x6
-- RTAX_UNSPEC = 0x0
-- RTAX_WINDOW = 0x3
-- RTA_ALIGNTO = 0x4
-- RTA_MAX = 0x19
-- RTCF_DIRECTSRC = 0x4000000
-- RTCF_DOREDIRECT = 0x1000000
-- RTCF_LOG = 0x2000000
-- RTCF_MASQ = 0x400000
-- RTCF_NAT = 0x800000
-- RTCF_VALVE = 0x200000
-- RTF_ADDRCLASSMASK = 0xf8000000
-- RTF_ADDRCONF = 0x40000
-- RTF_ALLONLINK = 0x20000
-- RTF_BROADCAST = 0x10000000
-- RTF_CACHE = 0x1000000
-- RTF_DEFAULT = 0x10000
-- RTF_DYNAMIC = 0x10
-- RTF_FLOW = 0x2000000
-- RTF_GATEWAY = 0x2
-- RTF_HOST = 0x4
-- RTF_INTERFACE = 0x40000000
-- RTF_IRTT = 0x100
-- RTF_LINKRT = 0x100000
-- RTF_LOCAL = 0x80000000
-- RTF_MODIFIED = 0x20
-- RTF_MSS = 0x40
-- RTF_MTU = 0x40
-- RTF_MULTICAST = 0x20000000
-- RTF_NAT = 0x8000000
-- RTF_NOFORWARD = 0x1000
-- RTF_NONEXTHOP = 0x200000
-- RTF_NOPMTUDISC = 0x4000
-- RTF_POLICY = 0x4000000
-- RTF_REINSTATE = 0x8
-- RTF_REJECT = 0x200
-- RTF_STATIC = 0x400
-- RTF_THROW = 0x2000
-- RTF_UP = 0x1
-- RTF_WINDOW = 0x80
-- RTF_XRESOLVE = 0x800
-- RTM_BASE = 0x10
-- RTM_DELACTION = 0x31
-- RTM_DELADDR = 0x15
-- RTM_DELADDRLABEL = 0x49
-- RTM_DELLINK = 0x11
-- RTM_DELMDB = 0x55
-- RTM_DELNEIGH = 0x1d
-- RTM_DELNSID = 0x59
-- RTM_DELQDISC = 0x25
-- RTM_DELROUTE = 0x19
-- RTM_DELRULE = 0x21
-- RTM_DELTCLASS = 0x29
-- RTM_DELTFILTER = 0x2d
-- RTM_F_CLONED = 0x200
-- RTM_F_EQUALIZE = 0x400
-- RTM_F_LOOKUP_TABLE = 0x1000
-- RTM_F_NOTIFY = 0x100
-- RTM_F_PREFIX = 0x800
-- RTM_GETACTION = 0x32
-- RTM_GETADDR = 0x16
-- RTM_GETADDRLABEL = 0x4a
-- RTM_GETANYCAST = 0x3e
-- RTM_GETDCB = 0x4e
-- RTM_GETLINK = 0x12
-- RTM_GETMDB = 0x56
-- RTM_GETMULTICAST = 0x3a
-- RTM_GETNEIGH = 0x1e
-- RTM_GETNEIGHTBL = 0x42
-- RTM_GETNETCONF = 0x52
-- RTM_GETNSID = 0x5a
-- RTM_GETQDISC = 0x26
-- RTM_GETROUTE = 0x1a
-- RTM_GETRULE = 0x22
-- RTM_GETSTATS = 0x5e
-- RTM_GETTCLASS = 0x2a
-- RTM_GETTFILTER = 0x2e
-- RTM_MAX = 0x5f
-- RTM_NEWACTION = 0x30
-- RTM_NEWADDR = 0x14
-- RTM_NEWADDRLABEL = 0x48
-- RTM_NEWLINK = 0x10
-- RTM_NEWMDB = 0x54
-- RTM_NEWNDUSEROPT = 0x44
-- RTM_NEWNEIGH = 0x1c
-- RTM_NEWNEIGHTBL = 0x40
-- RTM_NEWNETCONF = 0x50
-- RTM_NEWNSID = 0x58
-- RTM_NEWPREFIX = 0x34
-- RTM_NEWQDISC = 0x24
-- RTM_NEWROUTE = 0x18
-- RTM_NEWRULE = 0x20
-- RTM_NEWSTATS = 0x5c
-- RTM_NEWTCLASS = 0x28
-- RTM_NEWTFILTER = 0x2c
-- RTM_NR_FAMILIES = 0x14
-- RTM_NR_MSGTYPES = 0x50
-- RTM_SETDCB = 0x4f
-- RTM_SETLINK = 0x13
-- RTM_SETNEIGHTBL = 0x43
-- RTNH_ALIGNTO = 0x4
-- RTNH_COMPARE_MASK = 0x19
-- RTNH_F_DEAD = 0x1
-- RTNH_F_LINKDOWN = 0x10
-- RTNH_F_OFFLOAD = 0x8
-- RTNH_F_ONLINK = 0x4
-- RTNH_F_PERVASIVE = 0x2
-- RTN_MAX = 0xb
-- RTPROT_BABEL = 0x2a
-- RTPROT_BIRD = 0xc
-- RTPROT_BOOT = 0x3
-- RTPROT_DHCP = 0x10
-- RTPROT_DNROUTED = 0xd
-- RTPROT_GATED = 0x8
-- RTPROT_KERNEL = 0x2
-- RTPROT_MROUTED = 0x11
-- RTPROT_MRT = 0xa
-- RTPROT_NTK = 0xf
-- RTPROT_RA = 0x9
-- RTPROT_REDIRECT = 0x1
-- RTPROT_STATIC = 0x4
-- RTPROT_UNSPEC = 0x0
-- RTPROT_XORP = 0xe
-- RTPROT_ZEBRA = 0xb
-- RT_CLASS_DEFAULT = 0xfd
-- RT_CLASS_LOCAL = 0xff
-- RT_CLASS_MAIN = 0xfe
-- RT_CLASS_MAX = 0xff
-- RT_CLASS_UNSPEC = 0x0
-- RUSAGE_CHILDREN = -0x1
-- RUSAGE_SELF = 0x0
-- RUSAGE_THREAD = 0x1
-- SCM_CREDENTIALS = 0x2
-- SCM_RIGHTS = 0x1
-- SCM_TIMESTAMP = 0x1d
-- SCM_TIMESTAMPING = 0x25
-- SCM_TIMESTAMPING_OPT_STATS = 0x36
-- SCM_TIMESTAMPNS = 0x23
-- SCM_WIFI_STATUS = 0x29
-- SECCOMP_MODE_DISABLED = 0x0
-- SECCOMP_MODE_FILTER = 0x2
-- SECCOMP_MODE_STRICT = 0x1
-- SHUT_RD = 0x0
-- SHUT_RDWR = 0x2
-- SHUT_WR = 0x1
-- SIOCADDDLCI = 0x8980
-- SIOCADDMULTI = 0x8931
-- SIOCADDRT = 0x890b
-- SIOCATMARK = 0x40047307
-- SIOCBONDCHANGEACTIVE = 0x8995
-- SIOCBONDENSLAVE = 0x8990
-- SIOCBONDINFOQUERY = 0x8994
-- SIOCBONDRELEASE = 0x8991
-- SIOCBONDSETHWADDR = 0x8992
-- SIOCBONDSLAVEINFOQUERY = 0x8993
-- SIOCBRADDBR = 0x89a0
-- SIOCBRADDIF = 0x89a2
-- SIOCBRDELBR = 0x89a1
-- SIOCBRDELIF = 0x89a3
-- SIOCDARP = 0x8953
-- SIOCDELDLCI = 0x8981
-- SIOCDELMULTI = 0x8932
-- SIOCDELRT = 0x890c
-- SIOCDEVPRIVATE = 0x89f0
-- SIOCDIFADDR = 0x8936
-- SIOCDRARP = 0x8960
-- SIOCETHTOOL = 0x8946
-- SIOCGARP = 0x8954
-- SIOCGHWTSTAMP = 0x89b1
-- SIOCGIFADDR = 0x8915
-- SIOCGIFBR = 0x8940
-- SIOCGIFBRDADDR = 0x8919
-- SIOCGIFCONF = 0x8912
-- SIOCGIFCOUNT = 0x8938
-- SIOCGIFDSTADDR = 0x8917
-- SIOCGIFENCAP = 0x8925
-- SIOCGIFFLAGS = 0x8913
-- SIOCGIFHWADDR = 0x8927
-- SIOCGIFINDEX = 0x8933
-- SIOCGIFMAP = 0x8970
-- SIOCGIFMEM = 0x891f
-- SIOCGIFMETRIC = 0x891d
-- SIOCGIFMTU = 0x8921
-- SIOCGIFNAME = 0x8910
-- SIOCGIFNETMASK = 0x891b
-- SIOCGIFPFLAGS = 0x8935
-- SIOCGIFSLAVE = 0x8929
-- SIOCGIFTXQLEN = 0x8942
-- SIOCGIFVLAN = 0x8982
-- SIOCGMIIPHY = 0x8947
-- SIOCGMIIREG = 0x8948
-- SIOCGPGRP = 0x40047309
-- SIOCGRARP = 0x8961
-- SIOCGSKNS = 0x894c
-- SIOCGSTAMP = 0x8906
-- SIOCGSTAMPNS = 0x8907
-- SIOCINQ = 0x467f
-- SIOCOUTQ = 0x7472
-- SIOCOUTQNSD = 0x894b
-- SIOCPROTOPRIVATE = 0x89e0
-- SIOCRTMSG = 0x890d
-- SIOCSARP = 0x8955
-- SIOCSHWTSTAMP = 0x89b0
-- SIOCSIFADDR = 0x8916
-- SIOCSIFBR = 0x8941
-- SIOCSIFBRDADDR = 0x891a
-- SIOCSIFDSTADDR = 0x8918
-- SIOCSIFENCAP = 0x8926
-- SIOCSIFFLAGS = 0x8914
-- SIOCSIFHWADDR = 0x8924
-- SIOCSIFHWBROADCAST = 0x8937
-- SIOCSIFLINK = 0x8911
-- SIOCSIFMAP = 0x8971
-- SIOCSIFMEM = 0x8920
-- SIOCSIFMETRIC = 0x891e
-- SIOCSIFMTU = 0x8922
-- SIOCSIFNAME = 0x8923
-- SIOCSIFNETMASK = 0x891c
-- SIOCSIFPFLAGS = 0x8934
-- SIOCSIFSLAVE = 0x8930
-- SIOCSIFTXQLEN = 0x8943
-- SIOCSIFVLAN = 0x8983
-- SIOCSMIIREG = 0x8949
-- SIOCSPGRP = 0x80047308
-- SIOCSRARP = 0x8962
-- SIOCWANDEV = 0x894a
-- SOCK_CLOEXEC = 0x80000
-- SOCK_DCCP = 0x6
-- SOCK_DGRAM = 0x1
-- SOCK_IOC_TYPE = 0x89
-- SOCK_NONBLOCK = 0x80
-- SOCK_PACKET = 0xa
-- SOCK_RAW = 0x3
-- SOCK_RDM = 0x4
-- SOCK_SEQPACKET = 0x5
-- SOCK_STREAM = 0x2
-- SOL_AAL = 0x109
-- SOL_ALG = 0x117
-- SOL_ATM = 0x108
-- SOL_CAIF = 0x116
-- SOL_CAN_BASE = 0x64
-- SOL_DCCP = 0x10d
-- SOL_DECNET = 0x105
-- SOL_ICMPV6 = 0x3a
-- SOL_IP = 0x0
-- SOL_IPV6 = 0x29
-- SOL_IRDA = 0x10a
-- SOL_IUCV = 0x115
-- SOL_KCM = 0x119
-- SOL_LLC = 0x10c
-- SOL_NETBEUI = 0x10b
-- SOL_NETLINK = 0x10e
-- SOL_NFC = 0x118
-- SOL_PACKET = 0x107
-- SOL_PNPIPE = 0x113
-- SOL_PPPOL2TP = 0x111
-- SOL_RAW = 0xff
-- SOL_RDS = 0x114
-- SOL_RXRPC = 0x110
-- SOL_SOCKET = 0xffff
-- SOL_TCP = 0x6
-- SOL_TIPC = 0x10f
-- SOL_X25 = 0x106
-- SOMAXCONN = 0x80
-- SO_ACCEPTCONN = 0x1009
-- SO_ATTACH_BPF = 0x32
-- SO_ATTACH_FILTER = 0x1a
-- SO_ATTACH_REUSEPORT_CBPF = 0x33
-- SO_ATTACH_REUSEPORT_EBPF = 0x34
-- SO_BINDTODEVICE = 0x19
-- SO_BPF_EXTENSIONS = 0x30
-- SO_BROADCAST = 0x20
-- SO_BSDCOMPAT = 0xe
-- SO_BUSY_POLL = 0x2e
-- SO_CNX_ADVICE = 0x35
-- SO_DEBUG = 0x1
-- SO_DETACH_BPF = 0x1b
-- SO_DETACH_FILTER = 0x1b
-- SO_DOMAIN = 0x1029
-- SO_DONTROUTE = 0x10
-- SO_ERROR = 0x1007
-- SO_GET_FILTER = 0x1a
-- SO_INCOMING_CPU = 0x31
-- SO_KEEPALIVE = 0x8
-- SO_LINGER = 0x80
-- SO_LOCK_FILTER = 0x2c
-- SO_MARK = 0x24
-- SO_MAX_PACING_RATE = 0x2f
-- SO_NOFCS = 0x2b
-- SO_NO_CHECK = 0xb
-- SO_OOBINLINE = 0x100
-- SO_PASSCRED = 0x11
-- SO_PASSSEC = 0x22
-- SO_PEEK_OFF = 0x2a
-- SO_PEERCRED = 0x12
-- SO_PEERNAME = 0x1c
-- SO_PEERSEC = 0x1e
-- SO_PRIORITY = 0xc
-- SO_PROTOCOL = 0x1028
-- SO_RCVBUF = 0x1002
-- SO_RCVBUFFORCE = 0x21
-- SO_RCVLOWAT = 0x1004
-- SO_RCVTIMEO = 0x1006
-- SO_REUSEADDR = 0x4
-- SO_REUSEPORT = 0x200
-- SO_RXQ_OVFL = 0x28
-- SO_SECURITY_AUTHENTICATION = 0x16
-- SO_SECURITY_ENCRYPTION_NETWORK = 0x18
-- SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
-- SO_SELECT_ERR_QUEUE = 0x2d
-- SO_SNDBUF = 0x1001
-- SO_SNDBUFFORCE = 0x1f
-- SO_SNDLOWAT = 0x1003
-- SO_SNDTIMEO = 0x1005
-- SO_STYLE = 0x1008
-- SO_TIMESTAMP = 0x1d
-- SO_TIMESTAMPING = 0x25
-- SO_TIMESTAMPNS = 0x23
-- SO_TYPE = 0x1008
-- SO_VM_SOCKETS_BUFFER_MAX_SIZE = 0x2
-- SO_VM_SOCKETS_BUFFER_MIN_SIZE = 0x1
-- SO_VM_SOCKETS_BUFFER_SIZE = 0x0
-- SO_VM_SOCKETS_CONNECT_TIMEOUT = 0x6
-- SO_VM_SOCKETS_NONBLOCK_TXRX = 0x7
-- SO_VM_SOCKETS_PEER_HOST_VM_ID = 0x3
-- SO_VM_SOCKETS_TRUSTED = 0x5
-- SO_WIFI_STATUS = 0x29
-- SPLICE_F_GIFT = 0x8
-- SPLICE_F_MORE = 0x4
-- SPLICE_F_MOVE = 0x1
-- SPLICE_F_NONBLOCK = 0x2
-- S_BLKSIZE = 0x200
-- S_IEXEC = 0x40
-- S_IFBLK = 0x6000
-- S_IFCHR = 0x2000
-- S_IFDIR = 0x4000
-- S_IFIFO = 0x1000
-- S_IFLNK = 0xa000
-- S_IFMT = 0xf000
-- S_IFREG = 0x8000
-- S_IFSOCK = 0xc000
-- S_IREAD = 0x100
-- S_IRGRP = 0x20
-- S_IROTH = 0x4
-- S_IRUSR = 0x100
-- S_IRWXG = 0x38
-- S_IRWXO = 0x7
-- S_IRWXU = 0x1c0
-- S_ISGID = 0x400
-- S_ISUID = 0x800
-- S_ISVTX = 0x200
-- S_IWGRP = 0x10
-- S_IWOTH = 0x2
-- S_IWRITE = 0x80
-- S_IWUSR = 0x80
-- S_IXGRP = 0x8
-- S_IXOTH = 0x1
-- S_IXUSR = 0x40
-- TAB0 = 0x0
-- TAB1 = 0x800
-- TAB2 = 0x1000
-- TAB3 = 0x1800
-- TABDLY = 0x1800
-- TASKSTATS_CMD_ATTR_MAX = 0x4
-- TASKSTATS_CMD_MAX = 0x2
-- TASKSTATS_GENL_NAME = "TASKSTATS"
-- TASKSTATS_GENL_VERSION = 0x1
-- TASKSTATS_TYPE_MAX = 0x6
-- TASKSTATS_VERSION = 0x8
-- TCFLSH = 0x5407
-- TCGETA = 0x5401
-- TCGETS = 0x540d
-- TCGETS2 = 0x4030542a
-- TCIFLUSH = 0x0
-- TCIOFF = 0x2
-- TCIOFLUSH = 0x2
-- TCION = 0x3
-- TCOFLUSH = 0x1
-- TCOOFF = 0x0
-- TCOON = 0x1
-- TCP_CC_INFO = 0x1a
-- TCP_CONGESTION = 0xd
-- TCP_COOKIE_IN_ALWAYS = 0x1
-- TCP_COOKIE_MAX = 0x10
-- TCP_COOKIE_MIN = 0x8
-- TCP_COOKIE_OUT_NEVER = 0x2
-- TCP_COOKIE_PAIR_SIZE = 0x20
-- TCP_COOKIE_TRANSACTIONS = 0xf
-- TCP_CORK = 0x3
-- TCP_DEFER_ACCEPT = 0x9
-- TCP_FASTOPEN = 0x17
-- TCP_INFO = 0xb
-- TCP_KEEPCNT = 0x6
-- TCP_KEEPIDLE = 0x4
-- TCP_KEEPINTVL = 0x5
-- TCP_LINGER2 = 0x8
-- TCP_MAXSEG = 0x2
-- TCP_MAXWIN = 0xffff
-- TCP_MAX_WINSHIFT = 0xe
-- TCP_MD5SIG = 0xe
-- TCP_MD5SIG_MAXKEYLEN = 0x50
-- TCP_MSS = 0x200
-- TCP_MSS_DEFAULT = 0x218
-- TCP_MSS_DESIRED = 0x4c4
-- TCP_NODELAY = 0x1
-- TCP_NOTSENT_LOWAT = 0x19
-- TCP_QUEUE_SEQ = 0x15
-- TCP_QUICKACK = 0xc
-- TCP_REPAIR = 0x13
-- TCP_REPAIR_OPTIONS = 0x16
-- TCP_REPAIR_QUEUE = 0x14
-- TCP_REPAIR_WINDOW = 0x1d
-- TCP_SAVED_SYN = 0x1c
-- TCP_SAVE_SYN = 0x1b
-- TCP_SYNCNT = 0x7
-- TCP_S_DATA_IN = 0x4
-- TCP_S_DATA_OUT = 0x8
-- TCP_THIN_DUPACK = 0x11
-- TCP_THIN_LINEAR_TIMEOUTS = 0x10
-- TCP_TIMESTAMP = 0x18
-- TCP_USER_TIMEOUT = 0x12
-- TCP_WINDOW_CLAMP = 0xa
-- TCSAFLUSH = 0x5410
-- TCSBRK = 0x5405
-- TCSBRKP = 0x5486
-- TCSETA = 0x5402
-- TCSETAF = 0x5404
-- TCSETAW = 0x5403
-- TCSETS = 0x540e
-- TCSETS2 = 0x8030542b
-- TCSETSF = 0x5410
-- TCSETSF2 = 0x8030542d
-- TCSETSW = 0x540f
-- TCSETSW2 = 0x8030542c
-- TCXONC = 0x5406
-- TIOCCBRK = 0x5428
-- TIOCCONS = 0x80047478
-- TIOCEXCL = 0x740d
-- TIOCGDEV = 0x40045432
-- TIOCGETD = 0x7400
-- TIOCGETP = 0x7408
-- TIOCGEXCL = 0x40045440
-- TIOCGICOUNT = 0x5492
-- TIOCGLCKTRMIOS = 0x548b
-- TIOCGLTC = 0x7474
-- TIOCGPGRP = 0x40047477
-- TIOCGPKT = 0x40045438
-- TIOCGPTLCK = 0x40045439
-- TIOCGPTN = 0x40045430
-- TIOCGRS485 = 0x4020542e
-- TIOCGSERIAL = 0x5484
-- TIOCGSID = 0x7416
-- TIOCGSOFTCAR = 0x5481
-- TIOCGWINSZ = 0x40087468
-- TIOCINQ = 0x467f
-- TIOCLINUX = 0x5483
-- TIOCMBIC = 0x741c
-- TIOCMBIS = 0x741b
-- TIOCMGET = 0x741d
-- TIOCMIWAIT = 0x5491
-- TIOCMSET = 0x741a
-- TIOCM_CAR = 0x100
-- TIOCM_CD = 0x100
-- TIOCM_CTS = 0x40
-- TIOCM_DSR = 0x400
-- TIOCM_DTR = 0x2
-- TIOCM_LE = 0x1
-- TIOCM_RI = 0x200
-- TIOCM_RNG = 0x200
-- TIOCM_RTS = 0x4
-- TIOCM_SR = 0x20
-- TIOCM_ST = 0x10
-- TIOCNOTTY = 0x5471
-- TIOCNXCL = 0x740e
-- TIOCOUTQ = 0x7472
-- TIOCPKT = 0x5470
-- TIOCPKT_DATA = 0x0
-- TIOCPKT_DOSTOP = 0x20
-- TIOCPKT_FLUSHREAD = 0x1
-- TIOCPKT_FLUSHWRITE = 0x2
-- TIOCPKT_IOCTL = 0x40
-- TIOCPKT_NOSTOP = 0x10
-- TIOCPKT_START = 0x8
-- TIOCPKT_STOP = 0x4
-- TIOCSBRK = 0x5427
-- TIOCSCTTY = 0x5480
-- TIOCSERCONFIG = 0x5488
-- TIOCSERGETLSR = 0x548e
-- TIOCSERGETMULTI = 0x548f
-- TIOCSERGSTRUCT = 0x548d
-- TIOCSERGWILD = 0x5489
-- TIOCSERSETMULTI = 0x5490
-- TIOCSERSWILD = 0x548a
-- TIOCSER_TEMT = 0x1
-- TIOCSETD = 0x7401
-- TIOCSETN = 0x740a
-- TIOCSETP = 0x7409
-- TIOCSIG = 0x80045436
-- TIOCSLCKTRMIOS = 0x548c
-- TIOCSLTC = 0x7475
-- TIOCSPGRP = 0x80047476
-- TIOCSPTLCK = 0x80045431
-- TIOCSRS485 = 0xc020542f
-- TIOCSSERIAL = 0x5485
-- TIOCSSOFTCAR = 0x5482
-- TIOCSTI = 0x5472
-- TIOCSWINSZ = 0x80087467
-- TIOCVHANGUP = 0x5437
-- TOSTOP = 0x8000
-- TS_COMM_LEN = 0x20
-- TUNATTACHFILTER = 0x800854d5
-- TUNDETACHFILTER = 0x800854d6
-- TUNGETFEATURES = 0x400454cf
-- TUNGETFILTER = 0x400854db
-- TUNGETIFF = 0x400454d2
-- TUNGETSNDBUF = 0x400454d3
-- TUNGETVNETBE = 0x400454df
-- TUNGETVNETHDRSZ = 0x400454d7
-- TUNGETVNETLE = 0x400454dd
-- TUNSETDEBUG = 0x800454c9
-- TUNSETGROUP = 0x800454ce
-- TUNSETIFF = 0x800454ca
-- TUNSETIFINDEX = 0x800454da
-- TUNSETLINK = 0x800454cd
-- TUNSETNOCSUM = 0x800454c8
-- TUNSETOFFLOAD = 0x800454d0
-- TUNSETOWNER = 0x800454cc
-- TUNSETPERSIST = 0x800454cb
-- TUNSETQUEUE = 0x800454d9
-- TUNSETSNDBUF = 0x800454d4
-- TUNSETTXFILTER = 0x800454d1
-- TUNSETVNETBE = 0x800454de
-- TUNSETVNETHDRSZ = 0x800454d8
-- TUNSETVNETLE = 0x800454dc
-- UMOUNT_NOFOLLOW = 0x8
-- VDISCARD = 0xd
-- VEOF = 0x10
-- VEOL = 0x11
-- VEOL2 = 0x6
-- VERASE = 0x2
-- VINTR = 0x0
-- VKILL = 0x3
-- VLNEXT = 0xf
-- VMADDR_CID_ANY = 0xffffffff
-- VMADDR_CID_HOST = 0x2
-- VMADDR_CID_HYPERVISOR = 0x0
-- VMADDR_CID_RESERVED = 0x1
-- VMADDR_PORT_ANY = 0xffffffff
-- VMIN = 0x4
-- VM_SOCKETS_INVALID_VERSION = 0xffffffff
-- VQUIT = 0x1
-- VREPRINT = 0xc
-- VSTART = 0x8
-- VSTOP = 0x9
-- VSUSP = 0xa
-- VSWTC = 0x7
-- VSWTCH = 0x7
-- VT0 = 0x0
-- VT1 = 0x4000
-- VTDLY = 0x4000
-- VTIME = 0x5
-- VWERASE = 0xe
-- WALL = 0x40000000
-- WCLONE = 0x80000000
-- WCONTINUED = 0x8
-- WEXITED = 0x4
-- WNOHANG = 0x1
-- WNOTHREAD = 0x20000000
-- WNOWAIT = 0x1000000
-- WORDSIZE = 0x20
-- WSTOPPED = 0x2
-- WUNTRACED = 0x2
-- XATTR_CREATE = 0x1
-- XATTR_REPLACE = 0x2
-- XCASE = 0x4
-- XTABS = 0x1800
-+ 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 = 0x40041270
-+ BLKBSZSET = 0x80041271
-+ BLKFLSBUF = 0x20001261
-+ BLKFRAGET = 0x20001265
-+ BLKFRASET = 0x20001264
-+ BLKGETSIZE = 0x20001260
-+ BLKGETSIZE64 = 0x40041272
-+ BLKPBSZGET = 0x2000127b
-+ BLKRAGET = 0x20001263
-+ BLKRASET = 0x20001262
-+ BLKROGET = 0x2000125e
-+ BLKROSET = 0x2000125d
-+ BLKRRPART = 0x2000125f
-+ BLKSECTGET = 0x20001267
-+ BLKSECTSET = 0x20001266
-+ BLKSSZGET = 0x20001268
-+ 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
-+ ECHOCTL = 0x200
-+ ECHOE = 0x10
-+ ECHOK = 0x20
-+ ECHOKE = 0x800
-+ ECHONL = 0x40
-+ ECHOPRT = 0x400
-+ EFD_CLOEXEC = 0x80000
-+ EFD_NONBLOCK = 0x80
-+ EPOLL_CLOEXEC = 0x80000
-+ EXTPROC = 0x10000
-+ FF1 = 0x8000
-+ FFDLY = 0x8000
-+ FLUSHO = 0x2000
-+ FS_IOC_ENABLE_VERITY = 0x80806685
-+ FS_IOC_GETFLAGS = 0x40046601
-+ FS_IOC_GET_ENCRYPTION_POLICY = 0x800c6615
-+ FS_IOC_GET_ENCRYPTION_PWSALT = 0x80106614
-+ FS_IOC_SET_ENCRYPTION_POLICY = 0x400c6613
-+ F_GETLK = 0x21
-+ F_GETLK64 = 0x21
-+ F_GETOWN = 0x17
-+ F_RDLCK = 0x0
-+ F_SETLK = 0x22
-+ F_SETLK64 = 0x22
-+ F_SETLKW = 0x23
-+ F_SETLKW64 = 0x23
-+ F_SETOWN = 0x18
-+ F_UNLCK = 0x2
-+ F_WRLCK = 0x1
-+ HUPCL = 0x400
-+ ICANON = 0x2
-+ IEXTEN = 0x100
-+ IN_CLOEXEC = 0x80000
-+ IN_NONBLOCK = 0x80
-+ IOCTL_VM_SOCKETS_GET_LOCAL_CID = 0x200007b9
-+ ISIG = 0x1
-+ IUCLC = 0x200
-+ IXOFF = 0x1000
-+ IXON = 0x400
-+ MAP_ANON = 0x800
-+ MAP_ANONYMOUS = 0x800
-+ MAP_DENYWRITE = 0x2000
-+ MAP_EXECUTABLE = 0x4000
-+ MAP_GROWSDOWN = 0x1000
-+ MAP_HUGETLB = 0x80000
-+ MAP_LOCKED = 0x8000
-+ MAP_NONBLOCK = 0x20000
-+ MAP_NORESERVE = 0x400
-+ MAP_POPULATE = 0x10000
-+ MAP_RENAME = 0x800
-+ MAP_STACK = 0x40000
-+ MCL_CURRENT = 0x1
-+ MCL_FUTURE = 0x2
-+ MCL_ONFAULT = 0x4
-+ NFDBITS = 0x20
-+ NLDLY = 0x100
-+ NOFLSH = 0x80
-+ NS_GET_NSTYPE = 0x2000b703
-+ NS_GET_OWNER_UID = 0x2000b704
-+ NS_GET_PARENT = 0x2000b702
-+ NS_GET_USERNS = 0x2000b701
-+ OLCUC = 0x2
-+ ONLCR = 0x4
-+ O_APPEND = 0x8
-+ O_ASYNC = 0x1000
-+ O_CLOEXEC = 0x80000
-+ O_CREAT = 0x100
-+ O_DIRECT = 0x8000
-+ O_DIRECTORY = 0x10000
-+ O_DSYNC = 0x10
-+ O_EXCL = 0x400
-+ O_FSYNC = 0x4010
-+ O_LARGEFILE = 0x2000
-+ O_NDELAY = 0x80
-+ O_NOATIME = 0x40000
-+ O_NOCTTY = 0x800
-+ O_NOFOLLOW = 0x20000
-+ O_NONBLOCK = 0x80
-+ O_PATH = 0x200000
-+ O_RSYNC = 0x4010
-+ O_SYNC = 0x4010
-+ O_TMPFILE = 0x410000
-+ O_TRUNC = 0x200
-+ PARENB = 0x100
-+ PARODD = 0x200
-+ PENDIN = 0x4000
-+ PERF_EVENT_IOC_DISABLE = 0x20002401
-+ PERF_EVENT_IOC_ENABLE = 0x20002400
-+ PERF_EVENT_IOC_ID = 0x40042407
-+ PERF_EVENT_IOC_MODIFY_ATTRIBUTES = 0x8004240b
-+ PERF_EVENT_IOC_PAUSE_OUTPUT = 0x80042409
-+ PERF_EVENT_IOC_PERIOD = 0x80082404
-+ PERF_EVENT_IOC_QUERY_BPF = 0xc004240a
-+ PERF_EVENT_IOC_REFRESH = 0x20002402
-+ PERF_EVENT_IOC_RESET = 0x20002403
-+ PERF_EVENT_IOC_SET_BPF = 0x80042408
-+ PERF_EVENT_IOC_SET_FILTER = 0x80042406
-+ PERF_EVENT_IOC_SET_OUTPUT = 0x20002405
-+ PPPIOCATTACH = 0x8004743d
-+ PPPIOCATTCHAN = 0x80047438
-+ PPPIOCCONNECT = 0x8004743a
-+ PPPIOCDETACH = 0x8004743c
-+ PPPIOCDISCONN = 0x20007439
-+ PPPIOCGASYNCMAP = 0x40047458
-+ PPPIOCGCHAN = 0x40047437
-+ PPPIOCGDEBUG = 0x40047441
-+ PPPIOCGFLAGS = 0x4004745a
-+ PPPIOCGIDLE = 0x4008743f
-+ PPPIOCGIDLE32 = 0x4008743f
-+ PPPIOCGIDLE64 = 0x4010743f
-+ PPPIOCGL2TPSTATS = 0x40487436
-+ PPPIOCGMRU = 0x40047453
-+ PPPIOCGRASYNCMAP = 0x40047455
-+ PPPIOCGUNIT = 0x40047456
-+ PPPIOCGXASYNCMAP = 0x40207450
-+ PPPIOCSACTIVE = 0x80087446
-+ PPPIOCSASYNCMAP = 0x80047457
-+ PPPIOCSCOMPRESS = 0x800c744d
-+ PPPIOCSDEBUG = 0x80047440
-+ PPPIOCSFLAGS = 0x80047459
-+ PPPIOCSMAXCID = 0x80047451
-+ PPPIOCSMRRU = 0x8004743b
-+ PPPIOCSMRU = 0x80047452
-+ PPPIOCSNPMODE = 0x8008744b
-+ PPPIOCSPASS = 0x80087447
-+ PPPIOCSRASYNCMAP = 0x80047454
-+ PPPIOCSXASYNCMAP = 0x8020744f
-+ PPPIOCXFERUNIT = 0x2000744e
-+ PR_SET_PTRACER_ANY = 0xffffffff
-+ PTRACE_GETFPREGS = 0xe
-+ PTRACE_GET_THREAD_AREA = 0x19
-+ PTRACE_GET_THREAD_AREA_3264 = 0xc4
-+ PTRACE_GET_WATCH_REGS = 0xd0
-+ PTRACE_OLDSETOPTIONS = 0x15
-+ PTRACE_PEEKDATA_3264 = 0xc1
-+ PTRACE_PEEKTEXT_3264 = 0xc0
-+ PTRACE_POKEDATA_3264 = 0xc3
-+ PTRACE_POKETEXT_3264 = 0xc2
-+ PTRACE_SETFPREGS = 0xf
-+ PTRACE_SET_THREAD_AREA = 0x1a
-+ PTRACE_SET_WATCH_REGS = 0xd1
-+ RLIMIT_AS = 0x6
-+ RLIMIT_MEMLOCK = 0x9
-+ RLIMIT_NOFILE = 0x5
-+ RLIMIT_NPROC = 0x8
-+ RLIMIT_RSS = 0x7
-+ RNDADDENTROPY = 0x80085203
-+ RNDADDTOENTCNT = 0x80045201
-+ RNDCLEARPOOL = 0x20005206
-+ RNDGETENTCNT = 0x40045200
-+ RNDGETPOOL = 0x40085202
-+ RNDRESEEDCRNG = 0x20005207
-+ RNDZAPENTCNT = 0x20005204
-+ RTC_AIE_OFF = 0x20007002
-+ RTC_AIE_ON = 0x20007001
-+ RTC_ALM_READ = 0x40247008
-+ RTC_ALM_SET = 0x80247007
-+ RTC_EPOCH_READ = 0x4004700d
-+ RTC_EPOCH_SET = 0x8004700e
-+ RTC_IRQP_READ = 0x4004700b
-+ RTC_IRQP_SET = 0x8004700c
-+ RTC_PIE_OFF = 0x20007006
-+ RTC_PIE_ON = 0x20007005
-+ RTC_PLL_GET = 0x401c7011
-+ RTC_PLL_SET = 0x801c7012
-+ RTC_RD_TIME = 0x40247009
-+ RTC_SET_TIME = 0x8024700a
-+ RTC_UIE_OFF = 0x20007004
-+ RTC_UIE_ON = 0x20007003
-+ RTC_VL_CLR = 0x20007014
-+ RTC_VL_READ = 0x40047013
-+ RTC_WIE_OFF = 0x20007010
-+ RTC_WIE_ON = 0x2000700f
-+ RTC_WKALM_RD = 0x40287010
-+ RTC_WKALM_SET = 0x8028700f
-+ 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 = 0x80
-+ SIOCATMARK = 0x40047307
-+ SIOCGPGRP = 0x40047309
-+ SIOCGSTAMPNS_NEW = 0x40108907
-+ SIOCGSTAMP_NEW = 0x40108906
-+ SIOCINQ = 0x467f
-+ SIOCOUTQ = 0x7472
-+ SIOCSPGRP = 0x80047308
-+ SOCK_CLOEXEC = 0x80000
-+ SOCK_DGRAM = 0x1
-+ SOCK_NONBLOCK = 0x80
-+ SOCK_STREAM = 0x2
-+ SOL_SOCKET = 0xffff
-+ SO_ACCEPTCONN = 0x1009
-+ 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 = 0x20
-+ SO_BSDCOMPAT = 0xe
-+ SO_BUSY_POLL = 0x2e
-+ SO_CNX_ADVICE = 0x35
-+ SO_COOKIE = 0x39
-+ SO_DETACH_REUSEPORT_BPF = 0x44
-+ SO_DOMAIN = 0x1029
-+ SO_DONTROUTE = 0x10
-+ SO_ERROR = 0x1007
-+ SO_INCOMING_CPU = 0x31
-+ SO_INCOMING_NAPI_ID = 0x38
-+ SO_KEEPALIVE = 0x8
-+ SO_LINGER = 0x80
-+ SO_LOCK_FILTER = 0x2c
-+ SO_MARK = 0x24
-+ SO_MAX_PACING_RATE = 0x2f
-+ SO_MEMINFO = 0x37
-+ SO_NOFCS = 0x2b
-+ SO_OOBINLINE = 0x100
-+ SO_PASSCRED = 0x11
-+ SO_PASSSEC = 0x22
-+ SO_PEEK_OFF = 0x2a
-+ SO_PEERCRED = 0x12
-+ SO_PEERGROUPS = 0x3b
-+ SO_PEERSEC = 0x1e
-+ SO_PROTOCOL = 0x1028
-+ SO_RCVBUF = 0x1002
-+ SO_RCVBUFFORCE = 0x21
-+ SO_RCVLOWAT = 0x1004
-+ SO_RCVTIMEO = 0x1006
-+ SO_RCVTIMEO_NEW = 0x42
-+ SO_RCVTIMEO_OLD = 0x1006
-+ SO_REUSEADDR = 0x4
-+ SO_REUSEPORT = 0x200
-+ SO_RXQ_OVFL = 0x28
-+ SO_SECURITY_AUTHENTICATION = 0x16
-+ SO_SECURITY_ENCRYPTION_NETWORK = 0x18
-+ SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
-+ SO_SELECT_ERR_QUEUE = 0x2d
-+ SO_SNDBUF = 0x1001
-+ SO_SNDBUFFORCE = 0x1f
-+ SO_SNDLOWAT = 0x1003
-+ SO_SNDTIMEO = 0x1005
-+ SO_SNDTIMEO_NEW = 0x43
-+ SO_SNDTIMEO_OLD = 0x1005
-+ SO_STYLE = 0x1008
-+ 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_TXTIME = 0x3d
-+ SO_TYPE = 0x1008
-+ SO_WIFI_STATUS = 0x29
-+ SO_ZEROCOPY = 0x3c
-+ TAB1 = 0x800
-+ TAB2 = 0x1000
-+ TAB3 = 0x1800
-+ TABDLY = 0x1800
-+ TCFLSH = 0x5407
-+ TCGETA = 0x5401
-+ TCGETS = 0x540d
-+ TCGETS2 = 0x4030542a
-+ TCSAFLUSH = 0x5410
-+ TCSBRK = 0x5405
-+ TCSBRKP = 0x5486
-+ TCSETA = 0x5402
-+ TCSETAF = 0x5404
-+ TCSETAW = 0x5403
-+ TCSETS = 0x540e
-+ TCSETS2 = 0x8030542b
-+ TCSETSF = 0x5410
-+ TCSETSF2 = 0x8030542d
-+ TCSETSW = 0x540f
-+ TCSETSW2 = 0x8030542c
-+ TCXONC = 0x5406
-+ TIOCCBRK = 0x5428
-+ TIOCCONS = 0x80047478
-+ TIOCEXCL = 0x740d
-+ TIOCGDEV = 0x40045432
-+ TIOCGETD = 0x7400
-+ TIOCGETP = 0x7408
-+ TIOCGEXCL = 0x40045440
-+ TIOCGICOUNT = 0x5492
-+ TIOCGISO7816 = 0x40285442
-+ TIOCGLCKTRMIOS = 0x548b
-+ TIOCGLTC = 0x7474
-+ TIOCGPGRP = 0x40047477
-+ TIOCGPKT = 0x40045438
-+ TIOCGPTLCK = 0x40045439
-+ TIOCGPTN = 0x40045430
-+ TIOCGPTPEER = 0x20005441
-+ TIOCGRS485 = 0x4020542e
-+ TIOCGSERIAL = 0x5484
-+ TIOCGSID = 0x7416
-+ TIOCGSOFTCAR = 0x5481
-+ TIOCGWINSZ = 0x40087468
-+ TIOCINQ = 0x467f
-+ TIOCLINUX = 0x5483
-+ TIOCMBIC = 0x741c
-+ TIOCMBIS = 0x741b
-+ TIOCMGET = 0x741d
-+ TIOCMIWAIT = 0x5491
-+ TIOCMSET = 0x741a
-+ TIOCM_CAR = 0x100
-+ TIOCM_CD = 0x100
-+ TIOCM_CTS = 0x40
-+ TIOCM_DSR = 0x400
-+ TIOCM_RI = 0x200
-+ TIOCM_RNG = 0x200
-+ TIOCM_SR = 0x20
-+ TIOCM_ST = 0x10
-+ TIOCNOTTY = 0x5471
-+ TIOCNXCL = 0x740e
-+ TIOCOUTQ = 0x7472
-+ TIOCPKT = 0x5470
-+ TIOCSBRK = 0x5427
-+ TIOCSCTTY = 0x5480
-+ TIOCSERCONFIG = 0x5488
-+ TIOCSERGETLSR = 0x548e
-+ TIOCSERGETMULTI = 0x548f
-+ TIOCSERGSTRUCT = 0x548d
-+ TIOCSERGWILD = 0x5489
-+ TIOCSERSETMULTI = 0x5490
-+ TIOCSERSWILD = 0x548a
-+ TIOCSER_TEMT = 0x1
-+ TIOCSETD = 0x7401
-+ TIOCSETN = 0x740a
-+ TIOCSETP = 0x7409
-+ TIOCSIG = 0x80045436
-+ TIOCSISO7816 = 0xc0285443
-+ TIOCSLCKTRMIOS = 0x548c
-+ TIOCSLTC = 0x7475
-+ TIOCSPGRP = 0x80047476
-+ TIOCSPTLCK = 0x80045431
-+ TIOCSRS485 = 0xc020542f
-+ TIOCSSERIAL = 0x5485
-+ TIOCSSOFTCAR = 0x5482
-+ TIOCSTI = 0x5472
-+ TIOCSWINSZ = 0x80087467
-+ TIOCVHANGUP = 0x5437
-+ TOSTOP = 0x8000
-+ TUNATTACHFILTER = 0x800854d5
-+ TUNDETACHFILTER = 0x800854d6
-+ TUNGETDEVNETNS = 0x200054e3
-+ TUNGETFEATURES = 0x400454cf
-+ TUNGETFILTER = 0x400854db
-+ TUNGETIFF = 0x400454d2
-+ TUNGETSNDBUF = 0x400454d3
-+ TUNGETVNETBE = 0x400454df
-+ TUNGETVNETHDRSZ = 0x400454d7
-+ TUNGETVNETLE = 0x400454dd
-+ TUNSETCARRIER = 0x800454e2
-+ TUNSETDEBUG = 0x800454c9
-+ TUNSETFILTEREBPF = 0x400454e1
-+ TUNSETGROUP = 0x800454ce
-+ TUNSETIFF = 0x800454ca
-+ TUNSETIFINDEX = 0x800454da
-+ TUNSETLINK = 0x800454cd
-+ TUNSETNOCSUM = 0x800454c8
-+ TUNSETOFFLOAD = 0x800454d0
-+ TUNSETOWNER = 0x800454cc
-+ TUNSETPERSIST = 0x800454cb
-+ TUNSETQUEUE = 0x800454d9
-+ TUNSETSNDBUF = 0x800454d4
-+ TUNSETSTEERINGEBPF = 0x400454e0
-+ TUNSETTXFILTER = 0x800454d1
-+ TUNSETVNETBE = 0x800454de
-+ TUNSETVNETHDRSZ = 0x800454d8
-+ TUNSETVNETLE = 0x800454dc
-+ UBI_IOCATT = 0x80186f40
-+ UBI_IOCDET = 0x80046f41
-+ UBI_IOCEBCH = 0x80044f02
-+ UBI_IOCEBER = 0x80044f01
-+ UBI_IOCEBISMAP = 0x40044f05
-+ UBI_IOCEBMAP = 0x80084f03
-+ UBI_IOCEBUNMAP = 0x80044f04
-+ UBI_IOCMKVOL = 0x80986f00
-+ UBI_IOCRMVOL = 0x80046f01
-+ UBI_IOCRNVOL = 0x91106f03
-+ UBI_IOCRPEB = 0x80046f04
-+ UBI_IOCRSVOL = 0x800c6f02
-+ UBI_IOCSETVOLPROP = 0x80104f06
-+ UBI_IOCSPEB = 0x80046f05
-+ UBI_IOCVOLCRBLK = 0x80804f07
-+ UBI_IOCVOLRMBLK = 0x20004f08
-+ UBI_IOCVOLUP = 0x80084f00
-+ VDISCARD = 0xd
-+ VEOF = 0x10
-+ VEOL = 0x11
-+ VEOL2 = 0x6
-+ VMIN = 0x4
-+ VREPRINT = 0xc
-+ VSTART = 0x8
-+ VSTOP = 0x9
-+ VSUSP = 0xa
-+ VSWTC = 0x7
-+ VSWTCH = 0x7
-+ VT1 = 0x4000
-+ VTDLY = 0x4000
-+ VTIME = 0x5
-+ VWERASE = 0xe
-+ WDIOC_GETBOOTSTATUS = 0x40045702
-+ WDIOC_GETPRETIMEOUT = 0x40045709
-+ WDIOC_GETSTATUS = 0x40045701
-+ WDIOC_GETSUPPORT = 0x40285700
-+ WDIOC_GETTEMP = 0x40045703
-+ WDIOC_GETTIMELEFT = 0x4004570a
-+ WDIOC_GETTIMEOUT = 0x40045707
-+ WDIOC_KEEPALIVE = 0x40045705
-+ WDIOC_SETOPTIONS = 0x40045704
-+ WORDSIZE = 0x20
-+ XCASE = 0x4
-+ XTABS = 0x1800
- )
-
- // Errors
- const (
-- E2BIG = syscall.Errno(0x7)
-- EACCES = syscall.Errno(0xd)
- EADDRINUSE = syscall.Errno(0x7d)
- EADDRNOTAVAIL = syscall.Errno(0x7e)
- EADV = syscall.Errno(0x44)
- EAFNOSUPPORT = syscall.Errno(0x7c)
-- EAGAIN = syscall.Errno(0xb)
- EALREADY = syscall.Errno(0x95)
- EBADE = syscall.Errno(0x32)
-- EBADF = syscall.Errno(0x9)
- EBADFD = syscall.Errno(0x51)
- EBADMSG = syscall.Errno(0x4d)
- EBADR = syscall.Errno(0x33)
- EBADRQC = syscall.Errno(0x36)
- EBADSLT = syscall.Errno(0x37)
- EBFONT = syscall.Errno(0x3b)
-- EBUSY = syscall.Errno(0x10)
- ECANCELED = syscall.Errno(0x9e)
-- ECHILD = syscall.Errno(0xa)
- ECHRNG = syscall.Errno(0x25)
- ECOMM = syscall.Errno(0x46)
- ECONNABORTED = syscall.Errno(0x82)
-@@ -1886,12 +502,8 @@ const (
- EDEADLK = syscall.Errno(0x2d)
- EDEADLOCK = syscall.Errno(0x38)
- EDESTADDRREQ = syscall.Errno(0x60)
-- EDOM = syscall.Errno(0x21)
- EDOTDOT = syscall.Errno(0x49)
- EDQUOT = syscall.Errno(0x46d)
-- EEXIST = syscall.Errno(0x11)
-- EFAULT = syscall.Errno(0xe)
-- EFBIG = syscall.Errno(0x1b)
- EHOSTDOWN = syscall.Errno(0x93)
- EHOSTUNREACH = syscall.Errno(0x94)
- EHWPOISON = syscall.Errno(0xa8)
-@@ -1899,11 +511,7 @@ const (
- EILSEQ = syscall.Errno(0x58)
- EINIT = syscall.Errno(0x8d)
- EINPROGRESS = syscall.Errno(0x96)
-- EINTR = syscall.Errno(0x4)
-- EINVAL = syscall.Errno(0x16)
-- EIO = syscall.Errno(0x5)
- EISCONN = syscall.Errno(0x85)
-- EISDIR = syscall.Errno(0x15)
- EISNAM = syscall.Errno(0x8b)
- EKEYEXPIRED = syscall.Errno(0xa2)
- EKEYREJECTED = syscall.Errno(0xa4)
-@@ -1920,8 +528,6 @@ const (
- ELNRNG = syscall.Errno(0x29)
- ELOOP = syscall.Errno(0x5a)
- EMEDIUMTYPE = syscall.Errno(0xa0)
-- EMFILE = syscall.Errno(0x18)
-- EMLINK = syscall.Errno(0x1f)
- EMSGSIZE = syscall.Errno(0x61)
- EMULTIHOP = syscall.Errno(0x4a)
- ENAMETOOLONG = syscall.Errno(0x4e)
-@@ -1929,100 +535,68 @@ const (
- ENETDOWN = syscall.Errno(0x7f)
- ENETRESET = syscall.Errno(0x81)
- ENETUNREACH = syscall.Errno(0x80)
-- ENFILE = syscall.Errno(0x17)
- ENOANO = syscall.Errno(0x35)
- ENOBUFS = syscall.Errno(0x84)
- ENOCSI = syscall.Errno(0x2b)
- ENODATA = syscall.Errno(0x3d)
-- ENODEV = syscall.Errno(0x13)
-- ENOENT = syscall.Errno(0x2)
-- ENOEXEC = syscall.Errno(0x8)
- ENOKEY = syscall.Errno(0xa1)
- ENOLCK = syscall.Errno(0x2e)
- ENOLINK = syscall.Errno(0x43)
- ENOMEDIUM = syscall.Errno(0x9f)
-- ENOMEM = syscall.Errno(0xc)
- ENOMSG = syscall.Errno(0x23)
- ENONET = syscall.Errno(0x40)
- ENOPKG = syscall.Errno(0x41)
- ENOPROTOOPT = syscall.Errno(0x63)
-- ENOSPC = syscall.Errno(0x1c)
- ENOSR = syscall.Errno(0x3f)
- ENOSTR = syscall.Errno(0x3c)
- ENOSYS = syscall.Errno(0x59)
-- ENOTBLK = syscall.Errno(0xf)
- ENOTCONN = syscall.Errno(0x86)
-- ENOTDIR = syscall.Errno(0x14)
- ENOTEMPTY = syscall.Errno(0x5d)
- ENOTNAM = syscall.Errno(0x89)
- ENOTRECOVERABLE = syscall.Errno(0xa6)
- ENOTSOCK = syscall.Errno(0x5f)
- ENOTSUP = syscall.Errno(0x7a)
-- ENOTTY = syscall.Errno(0x19)
- ENOTUNIQ = syscall.Errno(0x50)
-- ENXIO = syscall.Errno(0x6)
- EOPNOTSUPP = syscall.Errno(0x7a)
- EOVERFLOW = syscall.Errno(0x4f)
- EOWNERDEAD = syscall.Errno(0xa5)
-- EPERM = syscall.Errno(0x1)
- EPFNOSUPPORT = syscall.Errno(0x7b)
-- EPIPE = syscall.Errno(0x20)
- EPROTO = syscall.Errno(0x47)
- EPROTONOSUPPORT = syscall.Errno(0x78)
- EPROTOTYPE = syscall.Errno(0x62)
-- ERANGE = syscall.Errno(0x22)
- EREMCHG = syscall.Errno(0x52)
- EREMDEV = syscall.Errno(0x8e)
- EREMOTE = syscall.Errno(0x42)
- EREMOTEIO = syscall.Errno(0x8c)
- ERESTART = syscall.Errno(0x5b)
- ERFKILL = syscall.Errno(0xa7)
-- EROFS = syscall.Errno(0x1e)
- ESHUTDOWN = syscall.Errno(0x8f)
- ESOCKTNOSUPPORT = syscall.Errno(0x79)
-- ESPIPE = syscall.Errno(0x1d)
-- ESRCH = syscall.Errno(0x3)
- ESRMNT = syscall.Errno(0x45)
- ESTALE = syscall.Errno(0x97)
- ESTRPIPE = syscall.Errno(0x5c)
- ETIME = syscall.Errno(0x3e)
- ETIMEDOUT = syscall.Errno(0x91)
- ETOOMANYREFS = syscall.Errno(0x90)
-- ETXTBSY = syscall.Errno(0x1a)
- EUCLEAN = syscall.Errno(0x87)
- EUNATCH = syscall.Errno(0x2a)
- EUSERS = syscall.Errno(0x5e)
-- EWOULDBLOCK = syscall.Errno(0xb)
-- EXDEV = syscall.Errno(0x12)
- EXFULL = syscall.Errno(0x34)
- )
-
- // Signals
- const (
-- SIGABRT = syscall.Signal(0x6)
-- SIGALRM = syscall.Signal(0xe)
- SIGBUS = syscall.Signal(0xa)
- SIGCHLD = syscall.Signal(0x12)
- SIGCLD = syscall.Signal(0x12)
- SIGCONT = syscall.Signal(0x19)
- SIGEMT = syscall.Signal(0x7)
-- SIGFPE = syscall.Signal(0x8)
-- SIGHUP = syscall.Signal(0x1)
-- SIGILL = syscall.Signal(0x4)
-- SIGINT = syscall.Signal(0x2)
- SIGIO = syscall.Signal(0x16)
-- SIGIOT = syscall.Signal(0x6)
-- SIGKILL = syscall.Signal(0x9)
-- SIGPIPE = syscall.Signal(0xd)
- SIGPOLL = syscall.Signal(0x16)
- SIGPROF = syscall.Signal(0x1d)
- SIGPWR = syscall.Signal(0x13)
-- SIGQUIT = syscall.Signal(0x3)
-- SIGSEGV = syscall.Signal(0xb)
- SIGSTOP = syscall.Signal(0x17)
- SIGSYS = syscall.Signal(0xc)
-- SIGTERM = syscall.Signal(0xf)
-- SIGTRAP = syscall.Signal(0x5)
- SIGTSTP = syscall.Signal(0x18)
- SIGTTIN = syscall.Signal(0x1a)
- SIGTTOU = syscall.Signal(0x1b)
-@@ -2036,174 +610,182 @@ const (
- )
-
- // Error table
--var errors = [...]string{
-- 1: "operation not permitted",
-- 2: "no such file or directory",
-- 3: "no such process",
-- 4: "interrupted system call",
-- 5: "input/output error",
-- 6: "no such device or address",
-- 7: "argument list too long",
-- 8: "exec format error",
-- 9: "bad file descriptor",
-- 10: "no child processes",
-- 11: "resource temporarily unavailable",
-- 12: "cannot allocate memory",
-- 13: "permission denied",
-- 14: "bad address",
-- 15: "block device required",
-- 16: "device or resource busy",
-- 17: "file exists",
-- 18: "invalid cross-device link",
-- 19: "no such device",
-- 20: "not a directory",
-- 21: "is a directory",
-- 22: "invalid argument",
-- 23: "too many open files in system",
-- 24: "too many open files",
-- 25: "inappropriate ioctl for device",
-- 26: "text file busy",
-- 27: "file too large",
-- 28: "no space left on device",
-- 29: "illegal seek",
-- 30: "read-only file system",
-- 31: "too many links",
-- 32: "broken pipe",
-- 33: "numerical argument out of domain",
-- 34: "numerical result out of range",
-- 35: "no message of desired type",
-- 36: "identifier removed",
-- 37: "channel number out of range",
-- 38: "level 2 not synchronized",
-- 39: "level 3 halted",
-- 40: "level 3 reset",
-- 41: "link number out of range",
-- 42: "protocol driver not attached",
-- 43: "no CSI structure available",
-- 44: "level 2 halted",
-- 45: "resource deadlock avoided",
-- 46: "no locks available",
-- 50: "invalid exchange",
-- 51: "invalid request descriptor",
-- 52: "exchange full",
-- 53: "no anode",
-- 54: "invalid request code",
-- 55: "invalid slot",
-- 56: "file locking deadlock error",
-- 59: "bad font file format",
-- 60: "device not a stream",
-- 61: "no data available",
-- 62: "timer expired",
-- 63: "out of streams resources",
-- 64: "machine is not on the network",
-- 65: "package not installed",
-- 66: "object is remote",
-- 67: "link has been severed",
-- 68: "advertise error",
-- 69: "srmount error",
-- 70: "communication error on send",
-- 71: "protocol error",
-- 73: "RFS specific error",
-- 74: "multihop attempted",
-- 77: "bad message",
-- 78: "file name too long",
-- 79: "value too large for defined data type",
-- 80: "name not unique on network",
-- 81: "file descriptor in bad state",
-- 82: "remote address changed",
-- 83: "can not access a needed shared library",
-- 84: "accessing a corrupted shared library",
-- 85: ".lib section in a.out corrupted",
-- 86: "attempting to link in too many shared libraries",
-- 87: "cannot exec a shared library directly",
-- 88: "invalid or incomplete multibyte or wide character",
-- 89: "function not implemented",
-- 90: "too many levels of symbolic links",
-- 91: "interrupted system call should be restarted",
-- 92: "streams pipe error",
-- 93: "directory not empty",
-- 94: "too many users",
-- 95: "socket operation on non-socket",
-- 96: "destination address required",
-- 97: "message too long",
-- 98: "protocol wrong type for socket",
-- 99: "protocol not available",
-- 120: "protocol not supported",
-- 121: "socket type not supported",
-- 122: "operation not supported",
-- 123: "protocol family not supported",
-- 124: "address family not supported by protocol",
-- 125: "address already in use",
-- 126: "cannot assign requested address",
-- 127: "network is down",
-- 128: "network is unreachable",
-- 129: "network dropped connection on reset",
-- 130: "software caused connection abort",
-- 131: "connection reset by peer",
-- 132: "no buffer space available",
-- 133: "transport endpoint is already connected",
-- 134: "transport endpoint is not connected",
-- 135: "structure needs cleaning",
-- 137: "not a XENIX named type file",
-- 138: "no XENIX semaphores available",
-- 139: "is a named type file",
-- 140: "remote I/O error",
-- 141: "unknown error 141",
-- 142: "unknown error 142",
-- 143: "cannot send after transport endpoint shutdown",
-- 144: "too many references: cannot splice",
-- 145: "connection timed out",
-- 146: "connection refused",
-- 147: "host is down",
-- 148: "no route to host",
-- 149: "operation already in progress",
-- 150: "operation now in progress",
-- 151: "stale file handle",
-- 158: "operation canceled",
-- 159: "no medium found",
-- 160: "wrong medium type",
-- 161: "required key not available",
-- 162: "key has expired",
-- 163: "key has been revoked",
-- 164: "key was rejected by service",
-- 165: "owner died",
-- 166: "state not recoverable",
-- 167: "operation not possible due to RF-kill",
-- 168: "memory page has hardware error",
-- 1133: "disk quota exceeded",
-+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, "ENOMSG", "no message of desired type"},
-+ {36, "EIDRM", "identifier removed"},
-+ {37, "ECHRNG", "channel number out of range"},
-+ {38, "EL2NSYNC", "level 2 not synchronized"},
-+ {39, "EL3HLT", "level 3 halted"},
-+ {40, "EL3RST", "level 3 reset"},
-+ {41, "ELNRNG", "link number out of range"},
-+ {42, "EUNATCH", "protocol driver not attached"},
-+ {43, "ENOCSI", "no CSI structure available"},
-+ {44, "EL2HLT", "level 2 halted"},
-+ {45, "EDEADLK", "resource deadlock avoided"},
-+ {46, "ENOLCK", "no locks available"},
-+ {50, "EBADE", "invalid exchange"},
-+ {51, "EBADR", "invalid request descriptor"},
-+ {52, "EXFULL", "exchange full"},
-+ {53, "ENOANO", "no anode"},
-+ {54, "EBADRQC", "invalid request code"},
-+ {55, "EBADSLT", "invalid slot"},
-+ {56, "EDEADLOCK", "file locking deadlock error"},
-+ {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"},
-+ {73, "EDOTDOT", "RFS specific error"},
-+ {74, "EMULTIHOP", "multihop attempted"},
-+ {77, "EBADMSG", "bad message"},
-+ {78, "ENAMETOOLONG", "file name too long"},
-+ {79, "EOVERFLOW", "value too large for defined data type"},
-+ {80, "ENOTUNIQ", "name not unique on network"},
-+ {81, "EBADFD", "file descriptor in bad state"},
-+ {82, "EREMCHG", "remote address changed"},
-+ {83, "ELIBACC", "can not access a needed shared library"},
-+ {84, "ELIBBAD", "accessing a corrupted shared library"},
-+ {85, "ELIBSCN", ".lib section in a.out corrupted"},
-+ {86, "ELIBMAX", "attempting to link in too many shared libraries"},
-+ {87, "ELIBEXEC", "cannot exec a shared library directly"},
-+ {88, "EILSEQ", "invalid or incomplete multibyte or wide character"},
-+ {89, "ENOSYS", "function not implemented"},
-+ {90, "ELOOP", "too many levels of symbolic links"},
-+ {91, "ERESTART", "interrupted system call should be restarted"},
-+ {92, "ESTRPIPE", "streams pipe error"},
-+ {93, "ENOTEMPTY", "directory not empty"},
-+ {94, "EUSERS", "too many users"},
-+ {95, "ENOTSOCK", "socket operation on non-socket"},
-+ {96, "EDESTADDRREQ", "destination address required"},
-+ {97, "EMSGSIZE", "message too long"},
-+ {98, "EPROTOTYPE", "protocol wrong type for socket"},
-+ {99, "ENOPROTOOPT", "protocol not available"},
-+ {120, "EPROTONOSUPPORT", "protocol not supported"},
-+ {121, "ESOCKTNOSUPPORT", "socket type not supported"},
-+ {122, "ENOTSUP", "operation not supported"},
-+ {123, "EPFNOSUPPORT", "protocol family not supported"},
-+ {124, "EAFNOSUPPORT", "address family not supported by protocol"},
-+ {125, "EADDRINUSE", "address already in use"},
-+ {126, "EADDRNOTAVAIL", "cannot assign requested address"},
-+ {127, "ENETDOWN", "network is down"},
-+ {128, "ENETUNREACH", "network is unreachable"},
-+ {129, "ENETRESET", "network dropped connection on reset"},
-+ {130, "ECONNABORTED", "software caused connection abort"},
-+ {131, "ECONNRESET", "connection reset by peer"},
-+ {132, "ENOBUFS", "no buffer space available"},
-+ {133, "EISCONN", "transport endpoint is already connected"},
-+ {134, "ENOTCONN", "transport endpoint is not connected"},
-+ {135, "EUCLEAN", "structure needs cleaning"},
-+ {137, "ENOTNAM", "not a XENIX named type file"},
-+ {138, "ENAVAIL", "no XENIX semaphores available"},
-+ {139, "EISNAM", "is a named type file"},
-+ {140, "EREMOTEIO", "remote I/O error"},
-+ {141, "EINIT", "unknown error 141"},
-+ {142, "EREMDEV", "unknown error 142"},
-+ {143, "ESHUTDOWN", "cannot send after transport endpoint shutdown"},
-+ {144, "ETOOMANYREFS", "too many references: cannot splice"},
-+ {145, "ETIMEDOUT", "connection timed out"},
-+ {146, "ECONNREFUSED", "connection refused"},
-+ {147, "EHOSTDOWN", "host is down"},
-+ {148, "EHOSTUNREACH", "no route to host"},
-+ {149, "EALREADY", "operation already in progress"},
-+ {150, "EINPROGRESS", "operation now in progress"},
-+ {151, "ESTALE", "stale file handle"},
-+ {158, "ECANCELED", "operation canceled"},
-+ {159, "ENOMEDIUM", "no medium found"},
-+ {160, "EMEDIUMTYPE", "wrong medium type"},
-+ {161, "ENOKEY", "required key not available"},
-+ {162, "EKEYEXPIRED", "key has expired"},
-+ {163, "EKEYREVOKED", "key has been revoked"},
-+ {164, "EKEYREJECTED", "key was rejected by service"},
-+ {165, "EOWNERDEAD", "owner died"},
-+ {166, "ENOTRECOVERABLE", "state not recoverable"},
-+ {167, "ERFKILL", "operation not possible due to RF-kill"},
-+ {168, "EHWPOISON", "memory page has hardware error"},
-+ {1133, "EDQUOT", "disk quota exceeded"},
- }
-
- // Signal table
--var signals = [...]string{
-- 1: "hangup",
-- 2: "interrupt",
-- 3: "quit",
-- 4: "illegal instruction",
-- 5: "trace/breakpoint trap",
-- 6: "aborted",
-- 7: "EMT trap",
-- 8: "floating point exception",
-- 9: "killed",
-- 10: "bus error",
-- 11: "segmentation fault",
-- 12: "bad system call",
-- 13: "broken pipe",
-- 14: "alarm clock",
-- 15: "terminated",
-- 16: "user defined signal 1",
-- 17: "user defined signal 2",
-- 18: "child exited",
-- 19: "power failure",
-- 20: "window changed",
-- 21: "urgent I/O condition",
-- 22: "I/O possible",
-- 23: "stopped (signal)",
-- 24: "stopped",
-- 25: "continued",
-- 26: "stopped (tty input)",
-- 27: "stopped (tty output)",
-- 28: "virtual timer expired",
-- 29: "profiling timer expired",
-- 30: "CPU time limit exceeded",
-- 31: "file size limit exceeded",
-+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, "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, "SIGUSR1", "user defined signal 1"},
-+ {17, "SIGUSR2", "user defined signal 2"},
-+ {18, "SIGCHLD", "child exited"},
-+ {19, "SIGPWR", "power failure"},
-+ {20, "SIGWINCH", "window changed"},
-+ {21, "SIGURG", "urgent I/O condition"},
-+ {22, "SIGIO", "I/O possible"},
-+ {23, "SIGSTOP", "stopped (signal)"},
-+ {24, "SIGTSTP", "stopped"},
-+ {25, "SIGCONT", "continued"},
-+ {26, "SIGTTIN", "stopped (tty input)"},
-+ {27, "SIGTTOU", "stopped (tty output)"},
-+ {28, "SIGVTALRM", "virtual timer expired"},
-+ {29, "SIGPROF", "profiling timer expired"},
-+ {30, "SIGXCPU", "CPU time limit exceeded"},
-+ {31, "SIGXFSZ", "file size limit exceeded"},
- }
-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 4148f277..2346dc55 100644
---- a/vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go
-+++ b/vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go
-@@ -3,7 +3,7 @@
-
- // +build mips64,linux
-
--// Created by cgo -godefs - DO NOT EDIT
-+// Code generated by cmd/cgo -godefs; DO NOT EDIT.
- // cgo -godefs -- -Wall -Werror -static -I/tmp/include _const.go
-
- package unix
-@@ -11,1873 +11,489 @@ package unix
- import "syscall"
-
- const (
-- AF_ALG = 0x26
-- AF_APPLETALK = 0x5
-- AF_ASH = 0x12
-- AF_ATMPVC = 0x8
-- AF_ATMSVC = 0x14
-- AF_AX25 = 0x3
-- AF_BLUETOOTH = 0x1f
-- AF_BRIDGE = 0x7
-- AF_CAIF = 0x25
-- AF_CAN = 0x1d
-- AF_DECnet = 0xc
-- AF_ECONET = 0x13
-- AF_FILE = 0x1
-- AF_IB = 0x1b
-- AF_IEEE802154 = 0x24
-- AF_INET = 0x2
-- AF_INET6 = 0xa
-- AF_IPX = 0x4
-- AF_IRDA = 0x17
-- AF_ISDN = 0x22
-- AF_IUCV = 0x20
-- AF_KCM = 0x29
-- AF_KEY = 0xf
-- AF_LLC = 0x1a
-- AF_LOCAL = 0x1
-- AF_MAX = 0x2b
-- AF_MPLS = 0x1c
-- AF_NETBEUI = 0xd
-- AF_NETLINK = 0x10
-- AF_NETROM = 0x6
-- AF_NFC = 0x27
-- AF_PACKET = 0x11
-- AF_PHONET = 0x23
-- AF_PPPOX = 0x18
-- AF_QIPCRTR = 0x2a
-- AF_RDS = 0x15
-- AF_ROSE = 0xb
-- AF_ROUTE = 0x10
-- AF_RXRPC = 0x21
-- AF_SECURITY = 0xe
-- AF_SNA = 0x16
-- AF_TIPC = 0x1e
-- AF_UNIX = 0x1
-- AF_UNSPEC = 0x0
-- AF_VSOCK = 0x28
-- AF_WANPIPE = 0x19
-- AF_X25 = 0x9
-- ALG_OP_DECRYPT = 0x0
-- ALG_OP_ENCRYPT = 0x1
-- ALG_SET_AEAD_ASSOCLEN = 0x4
-- ALG_SET_AEAD_AUTHSIZE = 0x5
-- ALG_SET_IV = 0x2
-- ALG_SET_KEY = 0x1
-- ALG_SET_OP = 0x3
-- ARPHRD_6LOWPAN = 0x339
-- ARPHRD_ADAPT = 0x108
-- ARPHRD_APPLETLK = 0x8
-- ARPHRD_ARCNET = 0x7
-- ARPHRD_ASH = 0x30d
-- ARPHRD_ATM = 0x13
-- ARPHRD_AX25 = 0x3
-- ARPHRD_BIF = 0x307
-- ARPHRD_CAIF = 0x336
-- ARPHRD_CAN = 0x118
-- ARPHRD_CHAOS = 0x5
-- ARPHRD_CISCO = 0x201
-- ARPHRD_CSLIP = 0x101
-- ARPHRD_CSLIP6 = 0x103
-- ARPHRD_DDCMP = 0x205
-- ARPHRD_DLCI = 0xf
-- ARPHRD_ECONET = 0x30e
-- ARPHRD_EETHER = 0x2
-- ARPHRD_ETHER = 0x1
-- ARPHRD_EUI64 = 0x1b
-- ARPHRD_FCAL = 0x311
-- ARPHRD_FCFABRIC = 0x313
-- ARPHRD_FCPL = 0x312
-- ARPHRD_FCPP = 0x310
-- ARPHRD_FDDI = 0x306
-- ARPHRD_FRAD = 0x302
-- ARPHRD_HDLC = 0x201
-- ARPHRD_HIPPI = 0x30c
-- ARPHRD_HWX25 = 0x110
-- ARPHRD_IEEE1394 = 0x18
-- ARPHRD_IEEE802 = 0x6
-- ARPHRD_IEEE80211 = 0x321
-- ARPHRD_IEEE80211_PRISM = 0x322
-- ARPHRD_IEEE80211_RADIOTAP = 0x323
-- ARPHRD_IEEE802154 = 0x324
-- ARPHRD_IEEE802154_MONITOR = 0x325
-- ARPHRD_IEEE802_TR = 0x320
-- ARPHRD_INFINIBAND = 0x20
-- ARPHRD_IP6GRE = 0x337
-- ARPHRD_IPDDP = 0x309
-- ARPHRD_IPGRE = 0x30a
-- ARPHRD_IRDA = 0x30f
-- ARPHRD_LAPB = 0x204
-- ARPHRD_LOCALTLK = 0x305
-- ARPHRD_LOOPBACK = 0x304
-- ARPHRD_METRICOM = 0x17
-- ARPHRD_NETLINK = 0x338
-- ARPHRD_NETROM = 0x0
-- ARPHRD_NONE = 0xfffe
-- ARPHRD_PHONET = 0x334
-- ARPHRD_PHONET_PIPE = 0x335
-- ARPHRD_PIMREG = 0x30b
-- ARPHRD_PPP = 0x200
-- ARPHRD_PRONET = 0x4
-- ARPHRD_RAWHDLC = 0x206
-- ARPHRD_ROSE = 0x10e
-- ARPHRD_RSRVD = 0x104
-- ARPHRD_SIT = 0x308
-- ARPHRD_SKIP = 0x303
-- ARPHRD_SLIP = 0x100
-- ARPHRD_SLIP6 = 0x102
-- ARPHRD_TUNNEL = 0x300
-- ARPHRD_TUNNEL6 = 0x301
-- ARPHRD_VOID = 0xffff
-- ARPHRD_X25 = 0x10f
-- B0 = 0x0
-- B1000000 = 0x1008
-- B110 = 0x3
-- B115200 = 0x1002
-- B1152000 = 0x1009
-- B1200 = 0x9
-- B134 = 0x4
-- B150 = 0x5
-- B1500000 = 0x100a
-- B1800 = 0xa
-- B19200 = 0xe
-- B200 = 0x6
-- B2000000 = 0x100b
-- B230400 = 0x1003
-- B2400 = 0xb
-- B2500000 = 0x100c
-- B300 = 0x7
-- B3000000 = 0x100d
-- B3500000 = 0x100e
-- B38400 = 0xf
-- B4000000 = 0x100f
-- B460800 = 0x1004
-- B4800 = 0xc
-- B50 = 0x1
-- B500000 = 0x1005
-- B57600 = 0x1001
-- B576000 = 0x1006
-- B600 = 0x8
-- B75 = 0x2
-- B921600 = 0x1007
-- B9600 = 0xd
-- BLKBSZGET = 0x40081270
-- BLKBSZSET = 0x80081271
-- BLKFLSBUF = 0x20001261
-- BLKFRAGET = 0x20001265
-- BLKFRASET = 0x20001264
-- BLKGETSIZE = 0x20001260
-- BLKGETSIZE64 = 0x40081272
-- BLKPBSZGET = 0x2000127b
-- BLKRAGET = 0x20001263
-- BLKRASET = 0x20001262
-- BLKROGET = 0x2000125e
-- BLKROSET = 0x2000125d
-- BLKRRPART = 0x2000125f
-- BLKSECTGET = 0x20001267
-- BLKSECTSET = 0x20001266
-- BLKSSZGET = 0x20001268
-- BOTHER = 0x1000
-- BPF_A = 0x10
-- BPF_ABS = 0x20
-- BPF_ADD = 0x0
-- BPF_ALU = 0x4
-- BPF_AND = 0x50
-- BPF_B = 0x10
-- BPF_DIV = 0x30
-- BPF_H = 0x8
-- BPF_IMM = 0x0
-- BPF_IND = 0x40
-- BPF_JA = 0x0
-- BPF_JEQ = 0x10
-- BPF_JGE = 0x30
-- BPF_JGT = 0x20
-- BPF_JMP = 0x5
-- BPF_JSET = 0x40
-- BPF_K = 0x0
-- BPF_LD = 0x0
-- BPF_LDX = 0x1
-- BPF_LEN = 0x80
-- BPF_LL_OFF = -0x200000
-- BPF_LSH = 0x60
-- BPF_MAJOR_VERSION = 0x1
-- BPF_MAXINSNS = 0x1000
-- BPF_MEM = 0x60
-- BPF_MEMWORDS = 0x10
-- BPF_MINOR_VERSION = 0x1
-- BPF_MISC = 0x7
-- BPF_MOD = 0x90
-- BPF_MSH = 0xa0
-- BPF_MUL = 0x20
-- BPF_NEG = 0x80
-- BPF_NET_OFF = -0x100000
-- BPF_OR = 0x40
-- BPF_RET = 0x6
-- BPF_RSH = 0x70
-- BPF_ST = 0x2
-- BPF_STX = 0x3
-- BPF_SUB = 0x10
-- BPF_TAX = 0x0
-- BPF_TXA = 0x80
-- BPF_W = 0x0
-- BPF_X = 0x8
-- BPF_XOR = 0xa0
-- BRKINT = 0x2
-- BS0 = 0x0
-- BS1 = 0x2000
-- BSDLY = 0x2000
-- CAN_BCM = 0x2
-- CAN_EFF_FLAG = 0x80000000
-- CAN_EFF_ID_BITS = 0x1d
-- CAN_EFF_MASK = 0x1fffffff
-- CAN_ERR_FLAG = 0x20000000
-- CAN_ERR_MASK = 0x1fffffff
-- CAN_INV_FILTER = 0x20000000
-- CAN_ISOTP = 0x6
-- CAN_MAX_DLC = 0x8
-- CAN_MAX_DLEN = 0x8
-- CAN_MCNET = 0x5
-- CAN_MTU = 0x10
-- CAN_NPROTO = 0x7
-- CAN_RAW = 0x1
-- CAN_RAW_FILTER_MAX = 0x200
-- CAN_RTR_FLAG = 0x40000000
-- CAN_SFF_ID_BITS = 0xb
-- CAN_SFF_MASK = 0x7ff
-- CAN_TP16 = 0x3
-- CAN_TP20 = 0x4
-- CBAUD = 0x100f
-- CBAUDEX = 0x1000
-- CFLUSH = 0xf
-- CIBAUD = 0x100f0000
-- CLOCAL = 0x800
-- CLOCK_BOOTTIME = 0x7
-- CLOCK_BOOTTIME_ALARM = 0x9
-- CLOCK_DEFAULT = 0x0
-- CLOCK_EXT = 0x1
-- CLOCK_INT = 0x2
-- CLOCK_MONOTONIC = 0x1
-- CLOCK_MONOTONIC_COARSE = 0x6
-- CLOCK_MONOTONIC_RAW = 0x4
-- CLOCK_PROCESS_CPUTIME_ID = 0x2
-- CLOCK_REALTIME = 0x0
-- CLOCK_REALTIME_ALARM = 0x8
-- CLOCK_REALTIME_COARSE = 0x5
-- CLOCK_TAI = 0xb
-- CLOCK_THREAD_CPUTIME_ID = 0x3
-- CLOCK_TXFROMRX = 0x4
-- CLOCK_TXINT = 0x3
-- CLONE_CHILD_CLEARTID = 0x200000
-- CLONE_CHILD_SETTID = 0x1000000
-- CLONE_DETACHED = 0x400000
-- CLONE_FILES = 0x400
-- CLONE_FS = 0x200
-- CLONE_IO = 0x80000000
-- CLONE_NEWCGROUP = 0x2000000
-- CLONE_NEWIPC = 0x8000000
-- CLONE_NEWNET = 0x40000000
-- CLONE_NEWNS = 0x20000
-- CLONE_NEWPID = 0x20000000
-- CLONE_NEWUSER = 0x10000000
-- CLONE_NEWUTS = 0x4000000
-- CLONE_PARENT = 0x8000
-- CLONE_PARENT_SETTID = 0x100000
-- CLONE_PTRACE = 0x2000
-- CLONE_SETTLS = 0x80000
-- CLONE_SIGHAND = 0x800
-- CLONE_SYSVSEM = 0x40000
-- CLONE_THREAD = 0x10000
-- CLONE_UNTRACED = 0x800000
-- CLONE_VFORK = 0x4000
-- CLONE_VM = 0x100
-- CMSPAR = 0x40000000
-- CR0 = 0x0
-- CR1 = 0x200
-- CR2 = 0x400
-- CR3 = 0x600
-- CRDLY = 0x600
-- CREAD = 0x80
-- CRTSCTS = 0x80000000
-- CS5 = 0x0
-- CS6 = 0x10
-- CS7 = 0x20
-- CS8 = 0x30
-- CSIGNAL = 0xff
-- CSIZE = 0x30
-- CSTART = 0x11
-- CSTATUS = 0x0
-- CSTOP = 0x13
-- CSTOPB = 0x40
-- CSUSP = 0x1a
-- DT_BLK = 0x6
-- DT_CHR = 0x2
-- DT_DIR = 0x4
-- DT_FIFO = 0x1
-- DT_LNK = 0xa
-- DT_REG = 0x8
-- DT_SOCK = 0xc
-- DT_UNKNOWN = 0x0
-- DT_WHT = 0xe
-- ECHO = 0x8
-- ECHOCTL = 0x200
-- ECHOE = 0x10
-- ECHOK = 0x20
-- ECHOKE = 0x800
-- ECHONL = 0x40
-- ECHOPRT = 0x400
-- EFD_CLOEXEC = 0x80000
-- EFD_NONBLOCK = 0x80
-- EFD_SEMAPHORE = 0x1
-- ENCODING_DEFAULT = 0x0
-- ENCODING_FM_MARK = 0x3
-- ENCODING_FM_SPACE = 0x4
-- ENCODING_MANCHESTER = 0x5
-- ENCODING_NRZ = 0x1
-- ENCODING_NRZI = 0x2
-- EPOLLERR = 0x8
-- EPOLLET = 0x80000000
-- EPOLLEXCLUSIVE = 0x10000000
-- EPOLLHUP = 0x10
-- EPOLLIN = 0x1
-- EPOLLMSG = 0x400
-- EPOLLONESHOT = 0x40000000
-- EPOLLOUT = 0x4
-- EPOLLPRI = 0x2
-- EPOLLRDBAND = 0x80
-- EPOLLRDHUP = 0x2000
-- EPOLLRDNORM = 0x40
-- EPOLLWAKEUP = 0x20000000
-- EPOLLWRBAND = 0x200
-- EPOLLWRNORM = 0x100
-- EPOLL_CLOEXEC = 0x80000
-- EPOLL_CTL_ADD = 0x1
-- EPOLL_CTL_DEL = 0x2
-- EPOLL_CTL_MOD = 0x3
-- ETH_P_1588 = 0x88f7
-- ETH_P_8021AD = 0x88a8
-- ETH_P_8021AH = 0x88e7
-- ETH_P_8021Q = 0x8100
-- ETH_P_80221 = 0x8917
-- ETH_P_802_2 = 0x4
-- ETH_P_802_3 = 0x1
-- ETH_P_802_3_MIN = 0x600
-- ETH_P_802_EX1 = 0x88b5
-- ETH_P_AARP = 0x80f3
-- ETH_P_AF_IUCV = 0xfbfb
-- ETH_P_ALL = 0x3
-- ETH_P_AOE = 0x88a2
-- ETH_P_ARCNET = 0x1a
-- ETH_P_ARP = 0x806
-- ETH_P_ATALK = 0x809b
-- ETH_P_ATMFATE = 0x8884
-- ETH_P_ATMMPOA = 0x884c
-- ETH_P_AX25 = 0x2
-- ETH_P_BATMAN = 0x4305
-- ETH_P_BPQ = 0x8ff
-- ETH_P_CAIF = 0xf7
-- ETH_P_CAN = 0xc
-- ETH_P_CANFD = 0xd
-- ETH_P_CONTROL = 0x16
-- ETH_P_CUST = 0x6006
-- ETH_P_DDCMP = 0x6
-- ETH_P_DEC = 0x6000
-- ETH_P_DIAG = 0x6005
-- ETH_P_DNA_DL = 0x6001
-- ETH_P_DNA_RC = 0x6002
-- ETH_P_DNA_RT = 0x6003
-- ETH_P_DSA = 0x1b
-- ETH_P_ECONET = 0x18
-- ETH_P_EDSA = 0xdada
-- ETH_P_FCOE = 0x8906
-- ETH_P_FIP = 0x8914
-- ETH_P_HDLC = 0x19
-- ETH_P_HSR = 0x892f
-- ETH_P_IEEE802154 = 0xf6
-- ETH_P_IEEEPUP = 0xa00
-- ETH_P_IEEEPUPAT = 0xa01
-- ETH_P_IP = 0x800
-- ETH_P_IPV6 = 0x86dd
-- ETH_P_IPX = 0x8137
-- ETH_P_IRDA = 0x17
-- ETH_P_LAT = 0x6004
-- ETH_P_LINK_CTL = 0x886c
-- ETH_P_LOCALTALK = 0x9
-- ETH_P_LOOP = 0x60
-- ETH_P_LOOPBACK = 0x9000
-- ETH_P_MACSEC = 0x88e5
-- ETH_P_MOBITEX = 0x15
-- ETH_P_MPLS_MC = 0x8848
-- ETH_P_MPLS_UC = 0x8847
-- ETH_P_MVRP = 0x88f5
-- ETH_P_NCSI = 0x88f8
-- ETH_P_PAE = 0x888e
-- ETH_P_PAUSE = 0x8808
-- ETH_P_PHONET = 0xf5
-- ETH_P_PPPTALK = 0x10
-- ETH_P_PPP_DISC = 0x8863
-- ETH_P_PPP_MP = 0x8
-- ETH_P_PPP_SES = 0x8864
-- ETH_P_PRP = 0x88fb
-- ETH_P_PUP = 0x200
-- ETH_P_PUPAT = 0x201
-- ETH_P_QINQ1 = 0x9100
-- ETH_P_QINQ2 = 0x9200
-- ETH_P_QINQ3 = 0x9300
-- ETH_P_RARP = 0x8035
-- ETH_P_SCA = 0x6007
-- ETH_P_SLOW = 0x8809
-- ETH_P_SNAP = 0x5
-- ETH_P_TDLS = 0x890d
-- ETH_P_TEB = 0x6558
-- ETH_P_TIPC = 0x88ca
-- ETH_P_TRAILER = 0x1c
-- ETH_P_TR_802_2 = 0x11
-- ETH_P_TSN = 0x22f0
-- ETH_P_WAN_PPP = 0x7
-- ETH_P_WCCP = 0x883e
-- ETH_P_X25 = 0x805
-- ETH_P_XDSA = 0xf8
-- EXTA = 0xe
-- EXTB = 0xf
-- EXTPROC = 0x10000
-- FALLOC_FL_COLLAPSE_RANGE = 0x8
-- FALLOC_FL_INSERT_RANGE = 0x20
-- FALLOC_FL_KEEP_SIZE = 0x1
-- FALLOC_FL_NO_HIDE_STALE = 0x4
-- FALLOC_FL_PUNCH_HOLE = 0x2
-- FALLOC_FL_UNSHARE_RANGE = 0x40
-- FALLOC_FL_ZERO_RANGE = 0x10
-- FD_CLOEXEC = 0x1
-- FD_SETSIZE = 0x400
-- FF0 = 0x0
-- FF1 = 0x8000
-- FFDLY = 0x8000
-- FLUSHO = 0x2000
-- FS_ENCRYPTION_MODE_AES_256_CBC = 0x3
-- FS_ENCRYPTION_MODE_AES_256_CTS = 0x4
-- FS_ENCRYPTION_MODE_AES_256_GCM = 0x2
-- FS_ENCRYPTION_MODE_AES_256_XTS = 0x1
-- FS_ENCRYPTION_MODE_INVALID = 0x0
-- FS_IOC_GET_ENCRYPTION_POLICY = 0x800c6615
-- FS_IOC_GET_ENCRYPTION_PWSALT = 0x80106614
-- FS_IOC_SET_ENCRYPTION_POLICY = 0x400c6613
-- FS_KEY_DESCRIPTOR_SIZE = 0x8
-- FS_KEY_DESC_PREFIX = "fscrypt:"
-- FS_KEY_DESC_PREFIX_SIZE = 0x8
-- FS_MAX_KEY_SIZE = 0x40
-- FS_POLICY_FLAGS_PAD_16 = 0x2
-- FS_POLICY_FLAGS_PAD_32 = 0x3
-- FS_POLICY_FLAGS_PAD_4 = 0x0
-- FS_POLICY_FLAGS_PAD_8 = 0x1
-- FS_POLICY_FLAGS_PAD_MASK = 0x3
-- FS_POLICY_FLAGS_VALID = 0x3
-- F_DUPFD = 0x0
-- F_DUPFD_CLOEXEC = 0x406
-- F_EXLCK = 0x4
-- F_GETFD = 0x1
-- F_GETFL = 0x3
-- F_GETLEASE = 0x401
-- F_GETLK = 0xe
-- F_GETLK64 = 0xe
-- F_GETOWN = 0x17
-- F_GETOWN_EX = 0x10
-- F_GETPIPE_SZ = 0x408
-- F_GETSIG = 0xb
-- F_LOCK = 0x1
-- F_NOTIFY = 0x402
-- F_OFD_GETLK = 0x24
-- F_OFD_SETLK = 0x25
-- F_OFD_SETLKW = 0x26
-- F_OK = 0x0
-- F_RDLCK = 0x0
-- F_SETFD = 0x2
-- F_SETFL = 0x4
-- F_SETLEASE = 0x400
-- F_SETLK = 0x6
-- F_SETLK64 = 0x6
-- F_SETLKW = 0x7
-- F_SETLKW64 = 0x7
-- F_SETOWN = 0x18
-- F_SETOWN_EX = 0xf
-- F_SETPIPE_SZ = 0x407
-- F_SETSIG = 0xa
-- F_SHLCK = 0x8
-- F_TEST = 0x3
-- F_TLOCK = 0x2
-- F_ULOCK = 0x0
-- F_UNLCK = 0x2
-- F_WRLCK = 0x1
-- GENL_ADMIN_PERM = 0x1
-- GENL_CMD_CAP_DO = 0x2
-- GENL_CMD_CAP_DUMP = 0x4
-- GENL_CMD_CAP_HASPOL = 0x8
-- GENL_HDRLEN = 0x4
-- GENL_ID_CTRL = 0x10
-- GENL_ID_PMCRAID = 0x12
-- GENL_ID_VFS_DQUOT = 0x11
-- GENL_MAX_ID = 0x3ff
-- GENL_MIN_ID = 0x10
-- GENL_NAMSIZ = 0x10
-- GENL_START_ALLOC = 0x13
-- GENL_UNS_ADMIN_PERM = 0x10
-- GRND_NONBLOCK = 0x1
-- GRND_RANDOM = 0x2
-- HUPCL = 0x400
-- IBSHIFT = 0x10
-- ICANON = 0x2
-- ICMPV6_FILTER = 0x1
-- ICRNL = 0x100
-- IEXTEN = 0x100
-- IFA_F_DADFAILED = 0x8
-- IFA_F_DEPRECATED = 0x20
-- IFA_F_HOMEADDRESS = 0x10
-- IFA_F_MANAGETEMPADDR = 0x100
-- IFA_F_MCAUTOJOIN = 0x400
-- IFA_F_NODAD = 0x2
-- IFA_F_NOPREFIXROUTE = 0x200
-- IFA_F_OPTIMISTIC = 0x4
-- IFA_F_PERMANENT = 0x80
-- IFA_F_SECONDARY = 0x1
-- IFA_F_STABLE_PRIVACY = 0x800
-- IFA_F_TEMPORARY = 0x1
-- IFA_F_TENTATIVE = 0x40
-- IFA_MAX = 0x8
-- IFF_ALLMULTI = 0x200
-- IFF_ATTACH_QUEUE = 0x200
-- IFF_AUTOMEDIA = 0x4000
-- IFF_BROADCAST = 0x2
-- IFF_DEBUG = 0x4
-- IFF_DETACH_QUEUE = 0x400
-- IFF_DORMANT = 0x20000
-- IFF_DYNAMIC = 0x8000
-- IFF_ECHO = 0x40000
-- IFF_LOOPBACK = 0x8
-- IFF_LOWER_UP = 0x10000
-- IFF_MASTER = 0x400
-- IFF_MULTICAST = 0x1000
-- IFF_MULTI_QUEUE = 0x100
-- IFF_NOARP = 0x80
-- IFF_NOFILTER = 0x1000
-- IFF_NOTRAILERS = 0x20
-- IFF_NO_PI = 0x1000
-- IFF_ONE_QUEUE = 0x2000
-- IFF_PERSIST = 0x800
-- IFF_POINTOPOINT = 0x10
-- IFF_PORTSEL = 0x2000
-- IFF_PROMISC = 0x100
-- IFF_RUNNING = 0x40
-- IFF_SLAVE = 0x800
-- IFF_TAP = 0x2
-- IFF_TUN = 0x1
-- IFF_TUN_EXCL = 0x8000
-- IFF_UP = 0x1
-- IFF_VNET_HDR = 0x4000
-- IFF_VOLATILE = 0x70c5a
-- IFNAMSIZ = 0x10
-- IGNBRK = 0x1
-- IGNCR = 0x80
-- IGNPAR = 0x4
-- IMAXBEL = 0x2000
-- INLCR = 0x40
-- INPCK = 0x10
-- IN_ACCESS = 0x1
-- IN_ALL_EVENTS = 0xfff
-- IN_ATTRIB = 0x4
-- IN_CLASSA_HOST = 0xffffff
-- IN_CLASSA_MAX = 0x80
-- IN_CLASSA_NET = 0xff000000
-- IN_CLASSA_NSHIFT = 0x18
-- IN_CLASSB_HOST = 0xffff
-- IN_CLASSB_MAX = 0x10000
-- IN_CLASSB_NET = 0xffff0000
-- IN_CLASSB_NSHIFT = 0x10
-- IN_CLASSC_HOST = 0xff
-- IN_CLASSC_NET = 0xffffff00
-- IN_CLASSC_NSHIFT = 0x8
-- IN_CLOEXEC = 0x80000
-- IN_CLOSE = 0x18
-- IN_CLOSE_NOWRITE = 0x10
-- IN_CLOSE_WRITE = 0x8
-- IN_CREATE = 0x100
-- IN_DELETE = 0x200
-- IN_DELETE_SELF = 0x400
-- IN_DONT_FOLLOW = 0x2000000
-- IN_EXCL_UNLINK = 0x4000000
-- IN_IGNORED = 0x8000
-- IN_ISDIR = 0x40000000
-- IN_LOOPBACKNET = 0x7f
-- IN_MASK_ADD = 0x20000000
-- IN_MODIFY = 0x2
-- IN_MOVE = 0xc0
-- IN_MOVED_FROM = 0x40
-- IN_MOVED_TO = 0x80
-- IN_MOVE_SELF = 0x800
-- IN_NONBLOCK = 0x80
-- IN_ONESHOT = 0x80000000
-- IN_ONLYDIR = 0x1000000
-- IN_OPEN = 0x20
-- IN_Q_OVERFLOW = 0x4000
-- IN_UNMOUNT = 0x2000
-- IPPROTO_AH = 0x33
-- IPPROTO_BEETPH = 0x5e
-- IPPROTO_COMP = 0x6c
-- IPPROTO_DCCP = 0x21
-- IPPROTO_DSTOPTS = 0x3c
-- IPPROTO_EGP = 0x8
-- IPPROTO_ENCAP = 0x62
-- IPPROTO_ESP = 0x32
-- IPPROTO_FRAGMENT = 0x2c
-- IPPROTO_GRE = 0x2f
-- IPPROTO_HOPOPTS = 0x0
-- IPPROTO_ICMP = 0x1
-- IPPROTO_ICMPV6 = 0x3a
-- IPPROTO_IDP = 0x16
-- IPPROTO_IGMP = 0x2
-- IPPROTO_IP = 0x0
-- IPPROTO_IPIP = 0x4
-- IPPROTO_IPV6 = 0x29
-- IPPROTO_MH = 0x87
-- IPPROTO_MPLS = 0x89
-- IPPROTO_MTP = 0x5c
-- IPPROTO_NONE = 0x3b
-- IPPROTO_PIM = 0x67
-- IPPROTO_PUP = 0xc
-- IPPROTO_RAW = 0xff
-- IPPROTO_ROUTING = 0x2b
-- IPPROTO_RSVP = 0x2e
-- IPPROTO_SCTP = 0x84
-- IPPROTO_TCP = 0x6
-- IPPROTO_TP = 0x1d
-- IPPROTO_UDP = 0x11
-- IPPROTO_UDPLITE = 0x88
-- IPV6_2292DSTOPTS = 0x4
-- IPV6_2292HOPLIMIT = 0x8
-- IPV6_2292HOPOPTS = 0x3
-- IPV6_2292PKTINFO = 0x2
-- IPV6_2292PKTOPTIONS = 0x6
-- IPV6_2292RTHDR = 0x5
-- IPV6_ADDRFORM = 0x1
-- IPV6_ADD_MEMBERSHIP = 0x14
-- IPV6_AUTHHDR = 0xa
-- IPV6_CHECKSUM = 0x7
-- IPV6_DONTFRAG = 0x3e
-- IPV6_DROP_MEMBERSHIP = 0x15
-- IPV6_DSTOPTS = 0x3b
-- IPV6_HDRINCL = 0x24
-- IPV6_HOPLIMIT = 0x34
-- IPV6_HOPOPTS = 0x36
-- IPV6_IPSEC_POLICY = 0x22
-- IPV6_JOIN_ANYCAST = 0x1b
-- IPV6_JOIN_GROUP = 0x14
-- IPV6_LEAVE_ANYCAST = 0x1c
-- IPV6_LEAVE_GROUP = 0x15
-- IPV6_MTU = 0x18
-- IPV6_MTU_DISCOVER = 0x17
-- IPV6_MULTICAST_HOPS = 0x12
-- IPV6_MULTICAST_IF = 0x11
-- IPV6_MULTICAST_LOOP = 0x13
-- IPV6_NEXTHOP = 0x9
-- IPV6_PATHMTU = 0x3d
-- IPV6_PKTINFO = 0x32
-- IPV6_PMTUDISC_DO = 0x2
-- IPV6_PMTUDISC_DONT = 0x0
-- IPV6_PMTUDISC_INTERFACE = 0x4
-- IPV6_PMTUDISC_OMIT = 0x5
-- IPV6_PMTUDISC_PROBE = 0x3
-- IPV6_PMTUDISC_WANT = 0x1
-- IPV6_RECVDSTOPTS = 0x3a
-- IPV6_RECVERR = 0x19
-- IPV6_RECVHOPLIMIT = 0x33
-- IPV6_RECVHOPOPTS = 0x35
-- IPV6_RECVPATHMTU = 0x3c
-- IPV6_RECVPKTINFO = 0x31
-- IPV6_RECVRTHDR = 0x38
-- IPV6_RECVTCLASS = 0x42
-- IPV6_ROUTER_ALERT = 0x16
-- IPV6_RTHDR = 0x39
-- IPV6_RTHDRDSTOPTS = 0x37
-- IPV6_RTHDR_LOOSE = 0x0
-- IPV6_RTHDR_STRICT = 0x1
-- IPV6_RTHDR_TYPE_0 = 0x0
-- IPV6_RXDSTOPTS = 0x3b
-- IPV6_RXHOPOPTS = 0x36
-- IPV6_TCLASS = 0x43
-- IPV6_UNICAST_HOPS = 0x10
-- IPV6_V6ONLY = 0x1a
-- IPV6_XFRM_POLICY = 0x23
-- IP_ADD_MEMBERSHIP = 0x23
-- IP_ADD_SOURCE_MEMBERSHIP = 0x27
-- IP_BIND_ADDRESS_NO_PORT = 0x18
-- IP_BLOCK_SOURCE = 0x26
-- IP_CHECKSUM = 0x17
-- IP_DEFAULT_MULTICAST_LOOP = 0x1
-- IP_DEFAULT_MULTICAST_TTL = 0x1
-- IP_DF = 0x4000
-- IP_DROP_MEMBERSHIP = 0x24
-- IP_DROP_SOURCE_MEMBERSHIP = 0x28
-- IP_FREEBIND = 0xf
-- IP_HDRINCL = 0x3
-- IP_IPSEC_POLICY = 0x10
-- IP_MAXPACKET = 0xffff
-- IP_MAX_MEMBERSHIPS = 0x14
-- IP_MF = 0x2000
-- IP_MINTTL = 0x15
-- IP_MSFILTER = 0x29
-- IP_MSS = 0x240
-- IP_MTU = 0xe
-- IP_MTU_DISCOVER = 0xa
-- IP_MULTICAST_ALL = 0x31
-- IP_MULTICAST_IF = 0x20
-- IP_MULTICAST_LOOP = 0x22
-- IP_MULTICAST_TTL = 0x21
-- IP_NODEFRAG = 0x16
-- IP_OFFMASK = 0x1fff
-- IP_OPTIONS = 0x4
-- IP_ORIGDSTADDR = 0x14
-- IP_PASSSEC = 0x12
-- IP_PKTINFO = 0x8
-- IP_PKTOPTIONS = 0x9
-- IP_PMTUDISC = 0xa
-- IP_PMTUDISC_DO = 0x2
-- IP_PMTUDISC_DONT = 0x0
-- IP_PMTUDISC_INTERFACE = 0x4
-- IP_PMTUDISC_OMIT = 0x5
-- IP_PMTUDISC_PROBE = 0x3
-- IP_PMTUDISC_WANT = 0x1
-- IP_RECVERR = 0xb
-- IP_RECVOPTS = 0x6
-- IP_RECVORIGDSTADDR = 0x14
-- IP_RECVRETOPTS = 0x7
-- IP_RECVTOS = 0xd
-- IP_RECVTTL = 0xc
-- IP_RETOPTS = 0x7
-- IP_RF = 0x8000
-- IP_ROUTER_ALERT = 0x5
-- IP_TOS = 0x1
-- IP_TRANSPARENT = 0x13
-- IP_TTL = 0x2
-- IP_UNBLOCK_SOURCE = 0x25
-- IP_UNICAST_IF = 0x32
-- IP_XFRM_POLICY = 0x11
-- ISIG = 0x1
-- ISTRIP = 0x20
-- IUCLC = 0x200
-- IUTF8 = 0x4000
-- IXANY = 0x800
-- IXOFF = 0x1000
-- IXON = 0x400
-- KEYCTL_ASSUME_AUTHORITY = 0x10
-- KEYCTL_CHOWN = 0x4
-- KEYCTL_CLEAR = 0x7
-- KEYCTL_DESCRIBE = 0x6
-- KEYCTL_DH_COMPUTE = 0x17
-- KEYCTL_GET_KEYRING_ID = 0x0
-- KEYCTL_GET_PERSISTENT = 0x16
-- KEYCTL_GET_SECURITY = 0x11
-- KEYCTL_INSTANTIATE = 0xc
-- KEYCTL_INSTANTIATE_IOV = 0x14
-- KEYCTL_INVALIDATE = 0x15
-- KEYCTL_JOIN_SESSION_KEYRING = 0x1
-- KEYCTL_LINK = 0x8
-- KEYCTL_NEGATE = 0xd
-- KEYCTL_READ = 0xb
-- KEYCTL_REJECT = 0x13
-- KEYCTL_REVOKE = 0x3
-- KEYCTL_SEARCH = 0xa
-- KEYCTL_SESSION_TO_PARENT = 0x12
-- KEYCTL_SETPERM = 0x5
-- KEYCTL_SET_REQKEY_KEYRING = 0xe
-- KEYCTL_SET_TIMEOUT = 0xf
-- KEYCTL_UNLINK = 0x9
-- KEYCTL_UPDATE = 0x2
-- KEY_REQKEY_DEFL_DEFAULT = 0x0
-- KEY_REQKEY_DEFL_GROUP_KEYRING = 0x6
-- KEY_REQKEY_DEFL_NO_CHANGE = -0x1
-- KEY_REQKEY_DEFL_PROCESS_KEYRING = 0x2
-- KEY_REQKEY_DEFL_REQUESTOR_KEYRING = 0x7
-- KEY_REQKEY_DEFL_SESSION_KEYRING = 0x3
-- KEY_REQKEY_DEFL_THREAD_KEYRING = 0x1
-- KEY_REQKEY_DEFL_USER_KEYRING = 0x4
-- KEY_REQKEY_DEFL_USER_SESSION_KEYRING = 0x5
-- KEY_SPEC_GROUP_KEYRING = -0x6
-- KEY_SPEC_PROCESS_KEYRING = -0x2
-- KEY_SPEC_REQKEY_AUTH_KEY = -0x7
-- KEY_SPEC_REQUESTOR_KEYRING = -0x8
-- KEY_SPEC_SESSION_KEYRING = -0x3
-- KEY_SPEC_THREAD_KEYRING = -0x1
-- KEY_SPEC_USER_KEYRING = -0x4
-- KEY_SPEC_USER_SESSION_KEYRING = -0x5
-- LINUX_REBOOT_CMD_CAD_OFF = 0x0
-- LINUX_REBOOT_CMD_CAD_ON = 0x89abcdef
-- LINUX_REBOOT_CMD_HALT = 0xcdef0123
-- LINUX_REBOOT_CMD_KEXEC = 0x45584543
-- LINUX_REBOOT_CMD_POWER_OFF = 0x4321fedc
-- LINUX_REBOOT_CMD_RESTART = 0x1234567
-- LINUX_REBOOT_CMD_RESTART2 = 0xa1b2c3d4
-- LINUX_REBOOT_CMD_SW_SUSPEND = 0xd000fce2
-- LINUX_REBOOT_MAGIC1 = 0xfee1dead
-- LINUX_REBOOT_MAGIC2 = 0x28121969
-- LOCK_EX = 0x2
-- LOCK_NB = 0x4
-- LOCK_SH = 0x1
-- LOCK_UN = 0x8
-- MADV_DODUMP = 0x11
-- MADV_DOFORK = 0xb
-- MADV_DONTDUMP = 0x10
-- MADV_DONTFORK = 0xa
-- MADV_DONTNEED = 0x4
-- MADV_FREE = 0x8
-- MADV_HUGEPAGE = 0xe
-- MADV_HWPOISON = 0x64
-- MADV_MERGEABLE = 0xc
-- MADV_NOHUGEPAGE = 0xf
-- MADV_NORMAL = 0x0
-- MADV_RANDOM = 0x1
-- MADV_REMOVE = 0x9
-- MADV_SEQUENTIAL = 0x2
-- MADV_UNMERGEABLE = 0xd
-- MADV_WILLNEED = 0x3
-- MAP_ANON = 0x800
-- MAP_ANONYMOUS = 0x800
-- MAP_DENYWRITE = 0x2000
-- MAP_EXECUTABLE = 0x4000
-- MAP_FILE = 0x0
-- MAP_FIXED = 0x10
-- MAP_GROWSDOWN = 0x1000
-- MAP_HUGETLB = 0x80000
-- MAP_HUGE_MASK = 0x3f
-- MAP_HUGE_SHIFT = 0x1a
-- MAP_LOCKED = 0x8000
-- MAP_NONBLOCK = 0x20000
-- MAP_NORESERVE = 0x400
-- MAP_POPULATE = 0x10000
-- MAP_PRIVATE = 0x2
-- MAP_RENAME = 0x800
-- MAP_SHARED = 0x1
-- MAP_STACK = 0x40000
-- MAP_TYPE = 0xf
-- MCL_CURRENT = 0x1
-- MCL_FUTURE = 0x2
-- MCL_ONFAULT = 0x4
-- MNT_DETACH = 0x2
-- MNT_EXPIRE = 0x4
-- MNT_FORCE = 0x1
-- MSG_BATCH = 0x40000
-- MSG_CMSG_CLOEXEC = 0x40000000
-- MSG_CONFIRM = 0x800
-- MSG_CTRUNC = 0x8
-- MSG_DONTROUTE = 0x4
-- MSG_DONTWAIT = 0x40
-- MSG_EOR = 0x80
-- MSG_ERRQUEUE = 0x2000
-- MSG_FASTOPEN = 0x20000000
-- MSG_FIN = 0x200
-- MSG_MORE = 0x8000
-- MSG_NOSIGNAL = 0x4000
-- MSG_OOB = 0x1
-- MSG_PEEK = 0x2
-- MSG_PROXY = 0x10
-- MSG_RST = 0x1000
-- MSG_SYN = 0x400
-- MSG_TRUNC = 0x20
-- MSG_TRYHARD = 0x4
-- MSG_WAITALL = 0x100
-- MSG_WAITFORONE = 0x10000
-- MS_ACTIVE = 0x40000000
-- MS_ASYNC = 0x1
-- MS_BIND = 0x1000
-- MS_BORN = 0x20000000
-- MS_DIRSYNC = 0x80
-- MS_INVALIDATE = 0x2
-- MS_I_VERSION = 0x800000
-- MS_KERNMOUNT = 0x400000
-- MS_LAZYTIME = 0x2000000
-- MS_MANDLOCK = 0x40
-- MS_MGC_MSK = 0xffff0000
-- MS_MGC_VAL = 0xc0ed0000
-- MS_MOVE = 0x2000
-- MS_NOATIME = 0x400
-- MS_NODEV = 0x4
-- MS_NODIRATIME = 0x800
-- MS_NOEXEC = 0x8
-- MS_NOREMOTELOCK = 0x8000000
-- MS_NOSEC = 0x10000000
-- MS_NOSUID = 0x2
-- MS_NOUSER = -0x80000000
-- MS_POSIXACL = 0x10000
-- MS_PRIVATE = 0x40000
-- MS_RDONLY = 0x1
-- MS_REC = 0x4000
-- MS_RELATIME = 0x200000
-- MS_REMOUNT = 0x20
-- MS_RMT_MASK = 0x2800051
-- MS_SHARED = 0x100000
-- MS_SILENT = 0x8000
-- MS_SLAVE = 0x80000
-- MS_STRICTATIME = 0x1000000
-- MS_SYNC = 0x4
-- MS_SYNCHRONOUS = 0x10
-- MS_UNBINDABLE = 0x20000
-- MS_VERBOSE = 0x8000
-- NAME_MAX = 0xff
-- NETLINK_ADD_MEMBERSHIP = 0x1
-- NETLINK_AUDIT = 0x9
-- NETLINK_BROADCAST_ERROR = 0x4
-- NETLINK_CAP_ACK = 0xa
-- NETLINK_CONNECTOR = 0xb
-- NETLINK_CRYPTO = 0x15
-- NETLINK_DNRTMSG = 0xe
-- NETLINK_DROP_MEMBERSHIP = 0x2
-- NETLINK_ECRYPTFS = 0x13
-- NETLINK_FIB_LOOKUP = 0xa
-- NETLINK_FIREWALL = 0x3
-- NETLINK_GENERIC = 0x10
-- NETLINK_INET_DIAG = 0x4
-- NETLINK_IP6_FW = 0xd
-- NETLINK_ISCSI = 0x8
-- NETLINK_KOBJECT_UEVENT = 0xf
-- NETLINK_LISTEN_ALL_NSID = 0x8
-- NETLINK_LIST_MEMBERSHIPS = 0x9
-- NETLINK_NETFILTER = 0xc
-- NETLINK_NFLOG = 0x5
-- NETLINK_NO_ENOBUFS = 0x5
-- NETLINK_PKTINFO = 0x3
-- NETLINK_RDMA = 0x14
-- NETLINK_ROUTE = 0x0
-- NETLINK_RX_RING = 0x6
-- NETLINK_SCSITRANSPORT = 0x12
-- NETLINK_SELINUX = 0x7
-- NETLINK_SOCK_DIAG = 0x4
-- NETLINK_TX_RING = 0x7
-- NETLINK_UNUSED = 0x1
-- NETLINK_USERSOCK = 0x2
-- NETLINK_XFRM = 0x6
-- NL0 = 0x0
-- NL1 = 0x100
-- NLA_ALIGNTO = 0x4
-- NLA_F_NESTED = 0x8000
-- NLA_F_NET_BYTEORDER = 0x4000
-- NLA_HDRLEN = 0x4
-- NLDLY = 0x100
-- NLMSG_ALIGNTO = 0x4
-- NLMSG_DONE = 0x3
-- NLMSG_ERROR = 0x2
-- NLMSG_HDRLEN = 0x10
-- NLMSG_MIN_TYPE = 0x10
-- NLMSG_NOOP = 0x1
-- NLMSG_OVERRUN = 0x4
-- NLM_F_ACK = 0x4
-- NLM_F_APPEND = 0x800
-- NLM_F_ATOMIC = 0x400
-- NLM_F_CREATE = 0x400
-- NLM_F_DUMP = 0x300
-- NLM_F_DUMP_FILTERED = 0x20
-- NLM_F_DUMP_INTR = 0x10
-- NLM_F_ECHO = 0x8
-- NLM_F_EXCL = 0x200
-- NLM_F_MATCH = 0x200
-- NLM_F_MULTI = 0x2
-- NLM_F_REPLACE = 0x100
-- NLM_F_REQUEST = 0x1
-- NLM_F_ROOT = 0x100
-- NOFLSH = 0x80
-- OCRNL = 0x8
-- OFDEL = 0x80
-- OFILL = 0x40
-- OLCUC = 0x2
-- ONLCR = 0x4
-- ONLRET = 0x20
-- ONOCR = 0x10
-- OPOST = 0x1
-- O_ACCMODE = 0x3
-- O_APPEND = 0x8
-- O_ASYNC = 0x1000
-- O_CLOEXEC = 0x80000
-- O_CREAT = 0x100
-- O_DIRECT = 0x8000
-- O_DIRECTORY = 0x10000
-- O_DSYNC = 0x10
-- O_EXCL = 0x400
-- O_FSYNC = 0x4010
-- O_LARGEFILE = 0x0
-- O_NDELAY = 0x80
-- O_NOATIME = 0x40000
-- O_NOCTTY = 0x800
-- O_NOFOLLOW = 0x20000
-- O_NONBLOCK = 0x80
-- O_PATH = 0x200000
-- O_RDONLY = 0x0
-- O_RDWR = 0x2
-- O_RSYNC = 0x4010
-- O_SYNC = 0x4010
-- O_TMPFILE = 0x410000
-- O_TRUNC = 0x200
-- O_WRONLY = 0x1
-- PACKET_ADD_MEMBERSHIP = 0x1
-- PACKET_AUXDATA = 0x8
-- PACKET_BROADCAST = 0x1
-- PACKET_COPY_THRESH = 0x7
-- PACKET_DROP_MEMBERSHIP = 0x2
-- PACKET_FANOUT = 0x12
-- PACKET_FANOUT_CBPF = 0x6
-- PACKET_FANOUT_CPU = 0x2
-- PACKET_FANOUT_DATA = 0x16
-- PACKET_FANOUT_EBPF = 0x7
-- PACKET_FANOUT_FLAG_DEFRAG = 0x8000
-- PACKET_FANOUT_FLAG_ROLLOVER = 0x1000
-- PACKET_FANOUT_HASH = 0x0
-- PACKET_FANOUT_LB = 0x1
-- PACKET_FANOUT_QM = 0x5
-- PACKET_FANOUT_RND = 0x4
-- PACKET_FANOUT_ROLLOVER = 0x3
-- PACKET_FASTROUTE = 0x6
-- PACKET_HDRLEN = 0xb
-- PACKET_HOST = 0x0
-- PACKET_KERNEL = 0x7
-- PACKET_LOOPBACK = 0x5
-- PACKET_LOSS = 0xe
-- PACKET_MR_ALLMULTI = 0x2
-- PACKET_MR_MULTICAST = 0x0
-- PACKET_MR_PROMISC = 0x1
-- PACKET_MR_UNICAST = 0x3
-- PACKET_MULTICAST = 0x2
-- PACKET_ORIGDEV = 0x9
-- PACKET_OTHERHOST = 0x3
-- PACKET_OUTGOING = 0x4
-- PACKET_QDISC_BYPASS = 0x14
-- PACKET_RECV_OUTPUT = 0x3
-- PACKET_RESERVE = 0xc
-- PACKET_ROLLOVER_STATS = 0x15
-- PACKET_RX_RING = 0x5
-- PACKET_STATISTICS = 0x6
-- PACKET_TIMESTAMP = 0x11
-- PACKET_TX_HAS_OFF = 0x13
-- PACKET_TX_RING = 0xd
-- PACKET_TX_TIMESTAMP = 0x10
-- PACKET_USER = 0x6
-- PACKET_VERSION = 0xa
-- PACKET_VNET_HDR = 0xf
-- PARENB = 0x100
-- PARITY_CRC16_PR0 = 0x2
-- PARITY_CRC16_PR0_CCITT = 0x4
-- PARITY_CRC16_PR1 = 0x3
-- PARITY_CRC16_PR1_CCITT = 0x5
-- PARITY_CRC32_PR0_CCITT = 0x6
-- PARITY_CRC32_PR1_CCITT = 0x7
-- PARITY_DEFAULT = 0x0
-- PARITY_NONE = 0x1
-- PARMRK = 0x8
-- PARODD = 0x200
-- PENDIN = 0x4000
-- PERF_EVENT_IOC_DISABLE = 0x20002401
-- PERF_EVENT_IOC_ENABLE = 0x20002400
-- PERF_EVENT_IOC_ID = 0x40082407
-- PERF_EVENT_IOC_PAUSE_OUTPUT = 0x80042409
-- PERF_EVENT_IOC_PERIOD = 0x80082404
-- PERF_EVENT_IOC_REFRESH = 0x20002402
-- PERF_EVENT_IOC_RESET = 0x20002403
-- PERF_EVENT_IOC_SET_BPF = 0x80042408
-- PERF_EVENT_IOC_SET_FILTER = 0x80082406
-- PERF_EVENT_IOC_SET_OUTPUT = 0x20002405
-- PRIO_PGRP = 0x1
-- PRIO_PROCESS = 0x0
-- PRIO_USER = 0x2
-- PROT_EXEC = 0x4
-- PROT_GROWSDOWN = 0x1000000
-- PROT_GROWSUP = 0x2000000
-- PROT_NONE = 0x0
-- PROT_READ = 0x1
-- PROT_WRITE = 0x2
-- PR_CAPBSET_DROP = 0x18
-- PR_CAPBSET_READ = 0x17
-- PR_CAP_AMBIENT = 0x2f
-- PR_CAP_AMBIENT_CLEAR_ALL = 0x4
-- PR_CAP_AMBIENT_IS_SET = 0x1
-- PR_CAP_AMBIENT_LOWER = 0x3
-- PR_CAP_AMBIENT_RAISE = 0x2
-- PR_ENDIAN_BIG = 0x0
-- PR_ENDIAN_LITTLE = 0x1
-- PR_ENDIAN_PPC_LITTLE = 0x2
-- PR_FPEMU_NOPRINT = 0x1
-- PR_FPEMU_SIGFPE = 0x2
-- PR_FP_EXC_ASYNC = 0x2
-- PR_FP_EXC_DISABLED = 0x0
-- PR_FP_EXC_DIV = 0x10000
-- PR_FP_EXC_INV = 0x100000
-- PR_FP_EXC_NONRECOV = 0x1
-- PR_FP_EXC_OVF = 0x20000
-- PR_FP_EXC_PRECISE = 0x3
-- PR_FP_EXC_RES = 0x80000
-- PR_FP_EXC_SW_ENABLE = 0x80
-- PR_FP_EXC_UND = 0x40000
-- PR_FP_MODE_FR = 0x1
-- PR_FP_MODE_FRE = 0x2
-- PR_GET_CHILD_SUBREAPER = 0x25
-- PR_GET_DUMPABLE = 0x3
-- PR_GET_ENDIAN = 0x13
-- PR_GET_FPEMU = 0x9
-- PR_GET_FPEXC = 0xb
-- PR_GET_FP_MODE = 0x2e
-- PR_GET_KEEPCAPS = 0x7
-- PR_GET_NAME = 0x10
-- PR_GET_NO_NEW_PRIVS = 0x27
-- PR_GET_PDEATHSIG = 0x2
-- PR_GET_SECCOMP = 0x15
-- PR_GET_SECUREBITS = 0x1b
-- PR_GET_THP_DISABLE = 0x2a
-- PR_GET_TID_ADDRESS = 0x28
-- PR_GET_TIMERSLACK = 0x1e
-- PR_GET_TIMING = 0xd
-- PR_GET_TSC = 0x19
-- PR_GET_UNALIGN = 0x5
-- PR_MCE_KILL = 0x21
-- PR_MCE_KILL_CLEAR = 0x0
-- PR_MCE_KILL_DEFAULT = 0x2
-- PR_MCE_KILL_EARLY = 0x1
-- PR_MCE_KILL_GET = 0x22
-- PR_MCE_KILL_LATE = 0x0
-- PR_MCE_KILL_SET = 0x1
-- PR_MPX_DISABLE_MANAGEMENT = 0x2c
-- PR_MPX_ENABLE_MANAGEMENT = 0x2b
-- PR_SET_CHILD_SUBREAPER = 0x24
-- PR_SET_DUMPABLE = 0x4
-- PR_SET_ENDIAN = 0x14
-- PR_SET_FPEMU = 0xa
-- PR_SET_FPEXC = 0xc
-- PR_SET_FP_MODE = 0x2d
-- PR_SET_KEEPCAPS = 0x8
-- PR_SET_MM = 0x23
-- PR_SET_MM_ARG_END = 0x9
-- PR_SET_MM_ARG_START = 0x8
-- PR_SET_MM_AUXV = 0xc
-- PR_SET_MM_BRK = 0x7
-- PR_SET_MM_END_CODE = 0x2
-- PR_SET_MM_END_DATA = 0x4
-- PR_SET_MM_ENV_END = 0xb
-- PR_SET_MM_ENV_START = 0xa
-- PR_SET_MM_EXE_FILE = 0xd
-- PR_SET_MM_MAP = 0xe
-- PR_SET_MM_MAP_SIZE = 0xf
-- PR_SET_MM_START_BRK = 0x6
-- PR_SET_MM_START_CODE = 0x1
-- PR_SET_MM_START_DATA = 0x3
-- PR_SET_MM_START_STACK = 0x5
-- PR_SET_NAME = 0xf
-- PR_SET_NO_NEW_PRIVS = 0x26
-- PR_SET_PDEATHSIG = 0x1
-- PR_SET_PTRACER = 0x59616d61
-- PR_SET_PTRACER_ANY = -0x1
-- PR_SET_SECCOMP = 0x16
-- PR_SET_SECUREBITS = 0x1c
-- PR_SET_THP_DISABLE = 0x29
-- PR_SET_TIMERSLACK = 0x1d
-- PR_SET_TIMING = 0xe
-- PR_SET_TSC = 0x1a
-- PR_SET_UNALIGN = 0x6
-- PR_TASK_PERF_EVENTS_DISABLE = 0x1f
-- PR_TASK_PERF_EVENTS_ENABLE = 0x20
-- PR_TIMING_STATISTICAL = 0x0
-- PR_TIMING_TIMESTAMP = 0x1
-- PR_TSC_ENABLE = 0x1
-- PR_TSC_SIGSEGV = 0x2
-- PR_UNALIGN_NOPRINT = 0x1
-- PR_UNALIGN_SIGBUS = 0x2
-- PTRACE_ATTACH = 0x10
-- PTRACE_CONT = 0x7
-- PTRACE_DETACH = 0x11
-- PTRACE_EVENT_CLONE = 0x3
-- PTRACE_EVENT_EXEC = 0x4
-- PTRACE_EVENT_EXIT = 0x6
-- PTRACE_EVENT_FORK = 0x1
-- PTRACE_EVENT_SECCOMP = 0x7
-- PTRACE_EVENT_STOP = 0x80
-- PTRACE_EVENT_VFORK = 0x2
-- PTRACE_EVENT_VFORK_DONE = 0x5
-- PTRACE_GETEVENTMSG = 0x4201
-- PTRACE_GETFPREGS = 0xe
-- PTRACE_GETREGS = 0xc
-- PTRACE_GETREGSET = 0x4204
-- PTRACE_GETSIGINFO = 0x4202
-- PTRACE_GETSIGMASK = 0x420a
-- PTRACE_GET_THREAD_AREA = 0x19
-- PTRACE_GET_THREAD_AREA_3264 = 0xc4
-- PTRACE_GET_WATCH_REGS = 0xd0
-- PTRACE_INTERRUPT = 0x4207
-- PTRACE_KILL = 0x8
-- PTRACE_LISTEN = 0x4208
-- PTRACE_OLDSETOPTIONS = 0x15
-- PTRACE_O_EXITKILL = 0x100000
-- PTRACE_O_MASK = 0x3000ff
-- PTRACE_O_SUSPEND_SECCOMP = 0x200000
-- PTRACE_O_TRACECLONE = 0x8
-- PTRACE_O_TRACEEXEC = 0x10
-- PTRACE_O_TRACEEXIT = 0x40
-- PTRACE_O_TRACEFORK = 0x2
-- PTRACE_O_TRACESECCOMP = 0x80
-- PTRACE_O_TRACESYSGOOD = 0x1
-- PTRACE_O_TRACEVFORK = 0x4
-- PTRACE_O_TRACEVFORKDONE = 0x20
-- PTRACE_PEEKDATA = 0x2
-- PTRACE_PEEKDATA_3264 = 0xc1
-- PTRACE_PEEKSIGINFO = 0x4209
-- PTRACE_PEEKSIGINFO_SHARED = 0x1
-- PTRACE_PEEKTEXT = 0x1
-- PTRACE_PEEKTEXT_3264 = 0xc0
-- PTRACE_PEEKUSR = 0x3
-- PTRACE_POKEDATA = 0x5
-- PTRACE_POKEDATA_3264 = 0xc3
-- PTRACE_POKETEXT = 0x4
-- PTRACE_POKETEXT_3264 = 0xc2
-- PTRACE_POKEUSR = 0x6
-- PTRACE_SECCOMP_GET_FILTER = 0x420c
-- PTRACE_SEIZE = 0x4206
-- PTRACE_SETFPREGS = 0xf
-- PTRACE_SETOPTIONS = 0x4200
-- PTRACE_SETREGS = 0xd
-- PTRACE_SETREGSET = 0x4205
-- PTRACE_SETSIGINFO = 0x4203
-- PTRACE_SETSIGMASK = 0x420b
-- PTRACE_SET_THREAD_AREA = 0x1a
-- PTRACE_SET_WATCH_REGS = 0xd1
-- PTRACE_SINGLESTEP = 0x9
-- PTRACE_SYSCALL = 0x18
-- PTRACE_TRACEME = 0x0
-- RLIMIT_AS = 0x6
-- RLIMIT_CORE = 0x4
-- RLIMIT_CPU = 0x0
-- RLIMIT_DATA = 0x2
-- RLIMIT_FSIZE = 0x1
-- RLIMIT_LOCKS = 0xa
-- RLIMIT_MEMLOCK = 0x9
-- RLIMIT_MSGQUEUE = 0xc
-- RLIMIT_NICE = 0xd
-- RLIMIT_NOFILE = 0x5
-- RLIMIT_NPROC = 0x8
-- RLIMIT_RSS = 0x7
-- RLIMIT_RTPRIO = 0xe
-- RLIMIT_RTTIME = 0xf
-- RLIMIT_SIGPENDING = 0xb
-- RLIMIT_STACK = 0x3
-- RLIM_INFINITY = -0x1
-- RTAX_ADVMSS = 0x8
-- RTAX_CC_ALGO = 0x10
-- RTAX_CWND = 0x7
-- RTAX_FEATURES = 0xc
-- RTAX_FEATURE_ALLFRAG = 0x8
-- RTAX_FEATURE_ECN = 0x1
-- RTAX_FEATURE_MASK = 0xf
-- RTAX_FEATURE_SACK = 0x2
-- RTAX_FEATURE_TIMESTAMP = 0x4
-- RTAX_HOPLIMIT = 0xa
-- RTAX_INITCWND = 0xb
-- RTAX_INITRWND = 0xe
-- RTAX_LOCK = 0x1
-- RTAX_MAX = 0x10
-- RTAX_MTU = 0x2
-- RTAX_QUICKACK = 0xf
-- RTAX_REORDERING = 0x9
-- RTAX_RTO_MIN = 0xd
-- RTAX_RTT = 0x4
-- RTAX_RTTVAR = 0x5
-- RTAX_SSTHRESH = 0x6
-- RTAX_UNSPEC = 0x0
-- RTAX_WINDOW = 0x3
-- RTA_ALIGNTO = 0x4
-- RTA_MAX = 0x19
-- RTCF_DIRECTSRC = 0x4000000
-- RTCF_DOREDIRECT = 0x1000000
-- RTCF_LOG = 0x2000000
-- RTCF_MASQ = 0x400000
-- RTCF_NAT = 0x800000
-- RTCF_VALVE = 0x200000
-- RTF_ADDRCLASSMASK = 0xf8000000
-- RTF_ADDRCONF = 0x40000
-- RTF_ALLONLINK = 0x20000
-- RTF_BROADCAST = 0x10000000
-- RTF_CACHE = 0x1000000
-- RTF_DEFAULT = 0x10000
-- RTF_DYNAMIC = 0x10
-- RTF_FLOW = 0x2000000
-- RTF_GATEWAY = 0x2
-- RTF_HOST = 0x4
-- RTF_INTERFACE = 0x40000000
-- RTF_IRTT = 0x100
-- RTF_LINKRT = 0x100000
-- RTF_LOCAL = 0x80000000
-- RTF_MODIFIED = 0x20
-- RTF_MSS = 0x40
-- RTF_MTU = 0x40
-- RTF_MULTICAST = 0x20000000
-- RTF_NAT = 0x8000000
-- RTF_NOFORWARD = 0x1000
-- RTF_NONEXTHOP = 0x200000
-- RTF_NOPMTUDISC = 0x4000
-- RTF_POLICY = 0x4000000
-- RTF_REINSTATE = 0x8
-- RTF_REJECT = 0x200
-- RTF_STATIC = 0x400
-- RTF_THROW = 0x2000
-- RTF_UP = 0x1
-- RTF_WINDOW = 0x80
-- RTF_XRESOLVE = 0x800
-- RTM_BASE = 0x10
-- RTM_DELACTION = 0x31
-- RTM_DELADDR = 0x15
-- RTM_DELADDRLABEL = 0x49
-- RTM_DELLINK = 0x11
-- RTM_DELMDB = 0x55
-- RTM_DELNEIGH = 0x1d
-- RTM_DELNSID = 0x59
-- RTM_DELQDISC = 0x25
-- RTM_DELROUTE = 0x19
-- RTM_DELRULE = 0x21
-- RTM_DELTCLASS = 0x29
-- RTM_DELTFILTER = 0x2d
-- RTM_F_CLONED = 0x200
-- RTM_F_EQUALIZE = 0x400
-- RTM_F_LOOKUP_TABLE = 0x1000
-- RTM_F_NOTIFY = 0x100
-- RTM_F_PREFIX = 0x800
-- RTM_GETACTION = 0x32
-- RTM_GETADDR = 0x16
-- RTM_GETADDRLABEL = 0x4a
-- RTM_GETANYCAST = 0x3e
-- RTM_GETDCB = 0x4e
-- RTM_GETLINK = 0x12
-- RTM_GETMDB = 0x56
-- RTM_GETMULTICAST = 0x3a
-- RTM_GETNEIGH = 0x1e
-- RTM_GETNEIGHTBL = 0x42
-- RTM_GETNETCONF = 0x52
-- RTM_GETNSID = 0x5a
-- RTM_GETQDISC = 0x26
-- RTM_GETROUTE = 0x1a
-- RTM_GETRULE = 0x22
-- RTM_GETSTATS = 0x5e
-- RTM_GETTCLASS = 0x2a
-- RTM_GETTFILTER = 0x2e
-- RTM_MAX = 0x5f
-- RTM_NEWACTION = 0x30
-- RTM_NEWADDR = 0x14
-- RTM_NEWADDRLABEL = 0x48
-- RTM_NEWLINK = 0x10
-- RTM_NEWMDB = 0x54
-- RTM_NEWNDUSEROPT = 0x44
-- RTM_NEWNEIGH = 0x1c
-- RTM_NEWNEIGHTBL = 0x40
-- RTM_NEWNETCONF = 0x50
-- RTM_NEWNSID = 0x58
-- RTM_NEWPREFIX = 0x34
-- RTM_NEWQDISC = 0x24
-- RTM_NEWROUTE = 0x18
-- RTM_NEWRULE = 0x20
-- RTM_NEWSTATS = 0x5c
-- RTM_NEWTCLASS = 0x28
-- RTM_NEWTFILTER = 0x2c
-- RTM_NR_FAMILIES = 0x14
-- RTM_NR_MSGTYPES = 0x50
-- RTM_SETDCB = 0x4f
-- RTM_SETLINK = 0x13
-- RTM_SETNEIGHTBL = 0x43
-- RTNH_ALIGNTO = 0x4
-- RTNH_COMPARE_MASK = 0x19
-- RTNH_F_DEAD = 0x1
-- RTNH_F_LINKDOWN = 0x10
-- RTNH_F_OFFLOAD = 0x8
-- RTNH_F_ONLINK = 0x4
-- RTNH_F_PERVASIVE = 0x2
-- RTN_MAX = 0xb
-- RTPROT_BABEL = 0x2a
-- RTPROT_BIRD = 0xc
-- RTPROT_BOOT = 0x3
-- RTPROT_DHCP = 0x10
-- RTPROT_DNROUTED = 0xd
-- RTPROT_GATED = 0x8
-- RTPROT_KERNEL = 0x2
-- RTPROT_MROUTED = 0x11
-- RTPROT_MRT = 0xa
-- RTPROT_NTK = 0xf
-- RTPROT_RA = 0x9
-- RTPROT_REDIRECT = 0x1
-- RTPROT_STATIC = 0x4
-- RTPROT_UNSPEC = 0x0
-- RTPROT_XORP = 0xe
-- RTPROT_ZEBRA = 0xb
-- RT_CLASS_DEFAULT = 0xfd
-- RT_CLASS_LOCAL = 0xff
-- RT_CLASS_MAIN = 0xfe
-- RT_CLASS_MAX = 0xff
-- RT_CLASS_UNSPEC = 0x0
-- RUSAGE_CHILDREN = -0x1
-- RUSAGE_SELF = 0x0
-- RUSAGE_THREAD = 0x1
-- SCM_CREDENTIALS = 0x2
-- SCM_RIGHTS = 0x1
-- SCM_TIMESTAMP = 0x1d
-- SCM_TIMESTAMPING = 0x25
-- SCM_TIMESTAMPING_OPT_STATS = 0x36
-- SCM_TIMESTAMPNS = 0x23
-- SCM_WIFI_STATUS = 0x29
-- SECCOMP_MODE_DISABLED = 0x0
-- SECCOMP_MODE_FILTER = 0x2
-- SECCOMP_MODE_STRICT = 0x1
-- SHUT_RD = 0x0
-- SHUT_RDWR = 0x2
-- SHUT_WR = 0x1
-- SIOCADDDLCI = 0x8980
-- SIOCADDMULTI = 0x8931
-- SIOCADDRT = 0x890b
-- SIOCATMARK = 0x40047307
-- SIOCBONDCHANGEACTIVE = 0x8995
-- SIOCBONDENSLAVE = 0x8990
-- SIOCBONDINFOQUERY = 0x8994
-- SIOCBONDRELEASE = 0x8991
-- SIOCBONDSETHWADDR = 0x8992
-- SIOCBONDSLAVEINFOQUERY = 0x8993
-- SIOCBRADDBR = 0x89a0
-- SIOCBRADDIF = 0x89a2
-- SIOCBRDELBR = 0x89a1
-- SIOCBRDELIF = 0x89a3
-- SIOCDARP = 0x8953
-- SIOCDELDLCI = 0x8981
-- SIOCDELMULTI = 0x8932
-- SIOCDELRT = 0x890c
-- SIOCDEVPRIVATE = 0x89f0
-- SIOCDIFADDR = 0x8936
-- SIOCDRARP = 0x8960
-- SIOCETHTOOL = 0x8946
-- SIOCGARP = 0x8954
-- SIOCGHWTSTAMP = 0x89b1
-- SIOCGIFADDR = 0x8915
-- SIOCGIFBR = 0x8940
-- SIOCGIFBRDADDR = 0x8919
-- SIOCGIFCONF = 0x8912
-- SIOCGIFCOUNT = 0x8938
-- SIOCGIFDSTADDR = 0x8917
-- SIOCGIFENCAP = 0x8925
-- SIOCGIFFLAGS = 0x8913
-- SIOCGIFHWADDR = 0x8927
-- SIOCGIFINDEX = 0x8933
-- SIOCGIFMAP = 0x8970
-- SIOCGIFMEM = 0x891f
-- SIOCGIFMETRIC = 0x891d
-- SIOCGIFMTU = 0x8921
-- SIOCGIFNAME = 0x8910
-- SIOCGIFNETMASK = 0x891b
-- SIOCGIFPFLAGS = 0x8935
-- SIOCGIFSLAVE = 0x8929
-- SIOCGIFTXQLEN = 0x8942
-- SIOCGIFVLAN = 0x8982
-- SIOCGMIIPHY = 0x8947
-- SIOCGMIIREG = 0x8948
-- SIOCGPGRP = 0x40047309
-- SIOCGRARP = 0x8961
-- SIOCGSKNS = 0x894c
-- SIOCGSTAMP = 0x8906
-- SIOCGSTAMPNS = 0x8907
-- SIOCINQ = 0x467f
-- SIOCOUTQ = 0x7472
-- SIOCOUTQNSD = 0x894b
-- SIOCPROTOPRIVATE = 0x89e0
-- SIOCRTMSG = 0x890d
-- SIOCSARP = 0x8955
-- SIOCSHWTSTAMP = 0x89b0
-- SIOCSIFADDR = 0x8916
-- SIOCSIFBR = 0x8941
-- SIOCSIFBRDADDR = 0x891a
-- SIOCSIFDSTADDR = 0x8918
-- SIOCSIFENCAP = 0x8926
-- SIOCSIFFLAGS = 0x8914
-- SIOCSIFHWADDR = 0x8924
-- SIOCSIFHWBROADCAST = 0x8937
-- SIOCSIFLINK = 0x8911
-- SIOCSIFMAP = 0x8971
-- SIOCSIFMEM = 0x8920
-- SIOCSIFMETRIC = 0x891e
-- SIOCSIFMTU = 0x8922
-- SIOCSIFNAME = 0x8923
-- SIOCSIFNETMASK = 0x891c
-- SIOCSIFPFLAGS = 0x8934
-- SIOCSIFSLAVE = 0x8930
-- SIOCSIFTXQLEN = 0x8943
-- SIOCSIFVLAN = 0x8983
-- SIOCSMIIREG = 0x8949
-- SIOCSPGRP = 0x80047308
-- SIOCSRARP = 0x8962
-- SIOCWANDEV = 0x894a
-- SOCK_CLOEXEC = 0x80000
-- SOCK_DCCP = 0x6
-- SOCK_DGRAM = 0x1
-- SOCK_IOC_TYPE = 0x89
-- SOCK_NONBLOCK = 0x80
-- SOCK_PACKET = 0xa
-- SOCK_RAW = 0x3
-- SOCK_RDM = 0x4
-- SOCK_SEQPACKET = 0x5
-- SOCK_STREAM = 0x2
-- SOL_AAL = 0x109
-- SOL_ALG = 0x117
-- SOL_ATM = 0x108
-- SOL_CAIF = 0x116
-- SOL_CAN_BASE = 0x64
-- SOL_DCCP = 0x10d
-- SOL_DECNET = 0x105
-- SOL_ICMPV6 = 0x3a
-- SOL_IP = 0x0
-- SOL_IPV6 = 0x29
-- SOL_IRDA = 0x10a
-- SOL_IUCV = 0x115
-- SOL_KCM = 0x119
-- SOL_LLC = 0x10c
-- SOL_NETBEUI = 0x10b
-- SOL_NETLINK = 0x10e
-- SOL_NFC = 0x118
-- SOL_PACKET = 0x107
-- SOL_PNPIPE = 0x113
-- SOL_PPPOL2TP = 0x111
-- SOL_RAW = 0xff
-- SOL_RDS = 0x114
-- SOL_RXRPC = 0x110
-- SOL_SOCKET = 0xffff
-- SOL_TCP = 0x6
-- SOL_TIPC = 0x10f
-- SOL_X25 = 0x106
-- SOMAXCONN = 0x80
-- SO_ACCEPTCONN = 0x1009
-- SO_ATTACH_BPF = 0x32
-- SO_ATTACH_FILTER = 0x1a
-- SO_ATTACH_REUSEPORT_CBPF = 0x33
-- SO_ATTACH_REUSEPORT_EBPF = 0x34
-- SO_BINDTODEVICE = 0x19
-- SO_BPF_EXTENSIONS = 0x30
-- SO_BROADCAST = 0x20
-- SO_BSDCOMPAT = 0xe
-- SO_BUSY_POLL = 0x2e
-- SO_CNX_ADVICE = 0x35
-- SO_DEBUG = 0x1
-- SO_DETACH_BPF = 0x1b
-- SO_DETACH_FILTER = 0x1b
-- SO_DOMAIN = 0x1029
-- SO_DONTROUTE = 0x10
-- SO_ERROR = 0x1007
-- SO_GET_FILTER = 0x1a
-- SO_INCOMING_CPU = 0x31
-- SO_KEEPALIVE = 0x8
-- SO_LINGER = 0x80
-- SO_LOCK_FILTER = 0x2c
-- SO_MARK = 0x24
-- SO_MAX_PACING_RATE = 0x2f
-- SO_NOFCS = 0x2b
-- SO_NO_CHECK = 0xb
-- SO_OOBINLINE = 0x100
-- SO_PASSCRED = 0x11
-- SO_PASSSEC = 0x22
-- SO_PEEK_OFF = 0x2a
-- SO_PEERCRED = 0x12
-- SO_PEERNAME = 0x1c
-- SO_PEERSEC = 0x1e
-- SO_PRIORITY = 0xc
-- SO_PROTOCOL = 0x1028
-- SO_RCVBUF = 0x1002
-- SO_RCVBUFFORCE = 0x21
-- SO_RCVLOWAT = 0x1004
-- SO_RCVTIMEO = 0x1006
-- SO_REUSEADDR = 0x4
-- SO_REUSEPORT = 0x200
-- SO_RXQ_OVFL = 0x28
-- SO_SECURITY_AUTHENTICATION = 0x16
-- SO_SECURITY_ENCRYPTION_NETWORK = 0x18
-- SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
-- SO_SELECT_ERR_QUEUE = 0x2d
-- SO_SNDBUF = 0x1001
-- SO_SNDBUFFORCE = 0x1f
-- SO_SNDLOWAT = 0x1003
-- SO_SNDTIMEO = 0x1005
-- SO_STYLE = 0x1008
-- SO_TIMESTAMP = 0x1d
-- SO_TIMESTAMPING = 0x25
-- SO_TIMESTAMPNS = 0x23
-- SO_TYPE = 0x1008
-- SO_VM_SOCKETS_BUFFER_MAX_SIZE = 0x2
-- SO_VM_SOCKETS_BUFFER_MIN_SIZE = 0x1
-- SO_VM_SOCKETS_BUFFER_SIZE = 0x0
-- SO_VM_SOCKETS_CONNECT_TIMEOUT = 0x6
-- SO_VM_SOCKETS_NONBLOCK_TXRX = 0x7
-- SO_VM_SOCKETS_PEER_HOST_VM_ID = 0x3
-- SO_VM_SOCKETS_TRUSTED = 0x5
-- SO_WIFI_STATUS = 0x29
-- SPLICE_F_GIFT = 0x8
-- SPLICE_F_MORE = 0x4
-- SPLICE_F_MOVE = 0x1
-- SPLICE_F_NONBLOCK = 0x2
-- S_BLKSIZE = 0x200
-- S_IEXEC = 0x40
-- S_IFBLK = 0x6000
-- S_IFCHR = 0x2000
-- S_IFDIR = 0x4000
-- S_IFIFO = 0x1000
-- S_IFLNK = 0xa000
-- S_IFMT = 0xf000
-- S_IFREG = 0x8000
-- S_IFSOCK = 0xc000
-- S_IREAD = 0x100
-- S_IRGRP = 0x20
-- S_IROTH = 0x4
-- S_IRUSR = 0x100
-- S_IRWXG = 0x38
-- S_IRWXO = 0x7
-- S_IRWXU = 0x1c0
-- S_ISGID = 0x400
-- S_ISUID = 0x800
-- S_ISVTX = 0x200
-- S_IWGRP = 0x10
-- S_IWOTH = 0x2
-- S_IWRITE = 0x80
-- S_IWUSR = 0x80
-- S_IXGRP = 0x8
-- S_IXOTH = 0x1
-- S_IXUSR = 0x40
-- TAB0 = 0x0
-- TAB1 = 0x800
-- TAB2 = 0x1000
-- TAB3 = 0x1800
-- TABDLY = 0x1800
-- TASKSTATS_CMD_ATTR_MAX = 0x4
-- TASKSTATS_CMD_MAX = 0x2
-- TASKSTATS_GENL_NAME = "TASKSTATS"
-- TASKSTATS_GENL_VERSION = 0x1
-- TASKSTATS_TYPE_MAX = 0x6
-- TASKSTATS_VERSION = 0x8
-- TCFLSH = 0x5407
-- TCGETA = 0x5401
-- TCGETS = 0x540d
-- TCGETS2 = 0x4030542a
-- TCIFLUSH = 0x0
-- TCIOFF = 0x2
-- TCIOFLUSH = 0x2
-- TCION = 0x3
-- TCOFLUSH = 0x1
-- TCOOFF = 0x0
-- TCOON = 0x1
-- TCP_CC_INFO = 0x1a
-- TCP_CONGESTION = 0xd
-- TCP_COOKIE_IN_ALWAYS = 0x1
-- TCP_COOKIE_MAX = 0x10
-- TCP_COOKIE_MIN = 0x8
-- TCP_COOKIE_OUT_NEVER = 0x2
-- TCP_COOKIE_PAIR_SIZE = 0x20
-- TCP_COOKIE_TRANSACTIONS = 0xf
-- TCP_CORK = 0x3
-- TCP_DEFER_ACCEPT = 0x9
-- TCP_FASTOPEN = 0x17
-- TCP_INFO = 0xb
-- TCP_KEEPCNT = 0x6
-- TCP_KEEPIDLE = 0x4
-- TCP_KEEPINTVL = 0x5
-- TCP_LINGER2 = 0x8
-- TCP_MAXSEG = 0x2
-- TCP_MAXWIN = 0xffff
-- TCP_MAX_WINSHIFT = 0xe
-- TCP_MD5SIG = 0xe
-- TCP_MD5SIG_MAXKEYLEN = 0x50
-- TCP_MSS = 0x200
-- TCP_MSS_DEFAULT = 0x218
-- TCP_MSS_DESIRED = 0x4c4
-- TCP_NODELAY = 0x1
-- TCP_NOTSENT_LOWAT = 0x19
-- TCP_QUEUE_SEQ = 0x15
-- TCP_QUICKACK = 0xc
-- TCP_REPAIR = 0x13
-- TCP_REPAIR_OPTIONS = 0x16
-- TCP_REPAIR_QUEUE = 0x14
-- TCP_REPAIR_WINDOW = 0x1d
-- TCP_SAVED_SYN = 0x1c
-- TCP_SAVE_SYN = 0x1b
-- TCP_SYNCNT = 0x7
-- TCP_S_DATA_IN = 0x4
-- TCP_S_DATA_OUT = 0x8
-- TCP_THIN_DUPACK = 0x11
-- TCP_THIN_LINEAR_TIMEOUTS = 0x10
-- TCP_TIMESTAMP = 0x18
-- TCP_USER_TIMEOUT = 0x12
-- TCP_WINDOW_CLAMP = 0xa
-- TCSAFLUSH = 0x5410
-- TCSBRK = 0x5405
-- TCSBRKP = 0x5486
-- TCSETA = 0x5402
-- TCSETAF = 0x5404
-- TCSETAW = 0x5403
-- TCSETS = 0x540e
-- TCSETS2 = 0x8030542b
-- TCSETSF = 0x5410
-- TCSETSF2 = 0x8030542d
-- TCSETSW = 0x540f
-- TCSETSW2 = 0x8030542c
-- TCXONC = 0x5406
-- TIOCCBRK = 0x5428
-- TIOCCONS = 0x80047478
-- TIOCEXCL = 0x740d
-- TIOCGDEV = 0x40045432
-- TIOCGETD = 0x7400
-- TIOCGETP = 0x7408
-- TIOCGEXCL = 0x40045440
-- TIOCGICOUNT = 0x5492
-- TIOCGLCKTRMIOS = 0x548b
-- TIOCGLTC = 0x7474
-- TIOCGPGRP = 0x40047477
-- TIOCGPKT = 0x40045438
-- TIOCGPTLCK = 0x40045439
-- TIOCGPTN = 0x40045430
-- TIOCGRS485 = 0x4020542e
-- TIOCGSERIAL = 0x5484
-- TIOCGSID = 0x7416
-- TIOCGSOFTCAR = 0x5481
-- TIOCGWINSZ = 0x40087468
-- TIOCINQ = 0x467f
-- TIOCLINUX = 0x5483
-- TIOCMBIC = 0x741c
-- TIOCMBIS = 0x741b
-- TIOCMGET = 0x741d
-- TIOCMIWAIT = 0x5491
-- TIOCMSET = 0x741a
-- TIOCM_CAR = 0x100
-- TIOCM_CD = 0x100
-- TIOCM_CTS = 0x40
-- TIOCM_DSR = 0x400
-- TIOCM_DTR = 0x2
-- TIOCM_LE = 0x1
-- TIOCM_RI = 0x200
-- TIOCM_RNG = 0x200
-- TIOCM_RTS = 0x4
-- TIOCM_SR = 0x20
-- TIOCM_ST = 0x10
-- TIOCNOTTY = 0x5471
-- TIOCNXCL = 0x740e
-- TIOCOUTQ = 0x7472
-- TIOCPKT = 0x5470
-- TIOCPKT_DATA = 0x0
-- TIOCPKT_DOSTOP = 0x20
-- TIOCPKT_FLUSHREAD = 0x1
-- TIOCPKT_FLUSHWRITE = 0x2
-- TIOCPKT_IOCTL = 0x40
-- TIOCPKT_NOSTOP = 0x10
-- TIOCPKT_START = 0x8
-- TIOCPKT_STOP = 0x4
-- TIOCSBRK = 0x5427
-- TIOCSCTTY = 0x5480
-- TIOCSERCONFIG = 0x5488
-- TIOCSERGETLSR = 0x548e
-- TIOCSERGETMULTI = 0x548f
-- TIOCSERGSTRUCT = 0x548d
-- TIOCSERGWILD = 0x5489
-- TIOCSERSETMULTI = 0x5490
-- TIOCSERSWILD = 0x548a
-- TIOCSER_TEMT = 0x1
-- TIOCSETD = 0x7401
-- TIOCSETN = 0x740a
-- TIOCSETP = 0x7409
-- TIOCSIG = 0x80045436
-- TIOCSLCKTRMIOS = 0x548c
-- TIOCSLTC = 0x7475
-- TIOCSPGRP = 0x80047476
-- TIOCSPTLCK = 0x80045431
-- TIOCSRS485 = 0xc020542f
-- TIOCSSERIAL = 0x5485
-- TIOCSSOFTCAR = 0x5482
-- TIOCSTI = 0x5472
-- TIOCSWINSZ = 0x80087467
-- TIOCVHANGUP = 0x5437
-- TOSTOP = 0x8000
-- TS_COMM_LEN = 0x20
-- TUNATTACHFILTER = 0x801054d5
-- TUNDETACHFILTER = 0x801054d6
-- TUNGETFEATURES = 0x400454cf
-- TUNGETFILTER = 0x401054db
-- TUNGETIFF = 0x400454d2
-- TUNGETSNDBUF = 0x400454d3
-- TUNGETVNETBE = 0x400454df
-- TUNGETVNETHDRSZ = 0x400454d7
-- TUNGETVNETLE = 0x400454dd
-- TUNSETDEBUG = 0x800454c9
-- TUNSETGROUP = 0x800454ce
-- TUNSETIFF = 0x800454ca
-- TUNSETIFINDEX = 0x800454da
-- TUNSETLINK = 0x800454cd
-- TUNSETNOCSUM = 0x800454c8
-- TUNSETOFFLOAD = 0x800454d0
-- TUNSETOWNER = 0x800454cc
-- TUNSETPERSIST = 0x800454cb
-- TUNSETQUEUE = 0x800454d9
-- TUNSETSNDBUF = 0x800454d4
-- TUNSETTXFILTER = 0x800454d1
-- TUNSETVNETBE = 0x800454de
-- TUNSETVNETHDRSZ = 0x800454d8
-- TUNSETVNETLE = 0x800454dc
-- UMOUNT_NOFOLLOW = 0x8
-- VDISCARD = 0xd
-- VEOF = 0x10
-- VEOL = 0x11
-- VEOL2 = 0x6
-- VERASE = 0x2
-- VINTR = 0x0
-- VKILL = 0x3
-- VLNEXT = 0xf
-- VMADDR_CID_ANY = 0xffffffff
-- VMADDR_CID_HOST = 0x2
-- VMADDR_CID_HYPERVISOR = 0x0
-- VMADDR_CID_RESERVED = 0x1
-- VMADDR_PORT_ANY = 0xffffffff
-- VMIN = 0x4
-- VM_SOCKETS_INVALID_VERSION = 0xffffffff
-- VQUIT = 0x1
-- VREPRINT = 0xc
-- VSTART = 0x8
-- VSTOP = 0x9
-- VSUSP = 0xa
-- VSWTC = 0x7
-- VSWTCH = 0x7
-- VT0 = 0x0
-- VT1 = 0x4000
-- VTDLY = 0x4000
-- VTIME = 0x5
-- VWERASE = 0xe
-- WALL = 0x40000000
-- WCLONE = 0x80000000
-- WCONTINUED = 0x8
-- WEXITED = 0x4
-- WNOHANG = 0x1
-- WNOTHREAD = 0x20000000
-- WNOWAIT = 0x1000000
-- WORDSIZE = 0x40
-- WSTOPPED = 0x2
-- WUNTRACED = 0x2
-- XATTR_CREATE = 0x1
-- XATTR_REPLACE = 0x2
-- XCASE = 0x4
-- XTABS = 0x1800
-+ 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 = 0x40081270
-+ BLKBSZSET = 0x80081271
-+ BLKFLSBUF = 0x20001261
-+ BLKFRAGET = 0x20001265
-+ BLKFRASET = 0x20001264
-+ BLKGETSIZE = 0x20001260
-+ BLKGETSIZE64 = 0x40081272
-+ BLKPBSZGET = 0x2000127b
-+ BLKRAGET = 0x20001263
-+ BLKRASET = 0x20001262
-+ BLKROGET = 0x2000125e
-+ BLKROSET = 0x2000125d
-+ BLKRRPART = 0x2000125f
-+ BLKSECTGET = 0x20001267
-+ BLKSECTSET = 0x20001266
-+ BLKSSZGET = 0x20001268
-+ 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
-+ ECHOCTL = 0x200
-+ ECHOE = 0x10
-+ ECHOK = 0x20
-+ ECHOKE = 0x800
-+ ECHONL = 0x40
-+ ECHOPRT = 0x400
-+ EFD_CLOEXEC = 0x80000
-+ EFD_NONBLOCK = 0x80
-+ EPOLL_CLOEXEC = 0x80000
-+ EXTPROC = 0x10000
-+ FF1 = 0x8000
-+ FFDLY = 0x8000
-+ FLUSHO = 0x2000
-+ FS_IOC_ENABLE_VERITY = 0x80806685
-+ FS_IOC_GETFLAGS = 0x40086601
-+ FS_IOC_GET_ENCRYPTION_POLICY = 0x800c6615
-+ FS_IOC_GET_ENCRYPTION_PWSALT = 0x80106614
-+ FS_IOC_SET_ENCRYPTION_POLICY = 0x400c6613
-+ F_GETLK = 0xe
-+ F_GETLK64 = 0xe
-+ F_GETOWN = 0x17
-+ F_RDLCK = 0x0
-+ F_SETLK = 0x6
-+ F_SETLK64 = 0x6
-+ F_SETLKW = 0x7
-+ F_SETLKW64 = 0x7
-+ F_SETOWN = 0x18
-+ F_UNLCK = 0x2
-+ F_WRLCK = 0x1
-+ HUPCL = 0x400
-+ ICANON = 0x2
-+ IEXTEN = 0x100
-+ IN_CLOEXEC = 0x80000
-+ IN_NONBLOCK = 0x80
-+ IOCTL_VM_SOCKETS_GET_LOCAL_CID = 0x200007b9
-+ ISIG = 0x1
-+ IUCLC = 0x200
-+ IXOFF = 0x1000
-+ IXON = 0x400
-+ MAP_ANON = 0x800
-+ MAP_ANONYMOUS = 0x800
-+ MAP_DENYWRITE = 0x2000
-+ MAP_EXECUTABLE = 0x4000
-+ MAP_GROWSDOWN = 0x1000
-+ MAP_HUGETLB = 0x80000
-+ MAP_LOCKED = 0x8000
-+ MAP_NONBLOCK = 0x20000
-+ MAP_NORESERVE = 0x400
-+ MAP_POPULATE = 0x10000
-+ MAP_RENAME = 0x800
-+ MAP_STACK = 0x40000
-+ MCL_CURRENT = 0x1
-+ MCL_FUTURE = 0x2
-+ MCL_ONFAULT = 0x4
-+ NFDBITS = 0x40
-+ NLDLY = 0x100
-+ NOFLSH = 0x80
-+ NS_GET_NSTYPE = 0x2000b703
-+ NS_GET_OWNER_UID = 0x2000b704
-+ NS_GET_PARENT = 0x2000b702
-+ NS_GET_USERNS = 0x2000b701
-+ OLCUC = 0x2
-+ ONLCR = 0x4
-+ O_APPEND = 0x8
-+ O_ASYNC = 0x1000
-+ O_CLOEXEC = 0x80000
-+ O_CREAT = 0x100
-+ O_DIRECT = 0x8000
-+ O_DIRECTORY = 0x10000
-+ O_DSYNC = 0x10
-+ O_EXCL = 0x400
-+ O_FSYNC = 0x4010
-+ O_LARGEFILE = 0x0
-+ O_NDELAY = 0x80
-+ O_NOATIME = 0x40000
-+ O_NOCTTY = 0x800
-+ O_NOFOLLOW = 0x20000
-+ O_NONBLOCK = 0x80
-+ O_PATH = 0x200000
-+ O_RSYNC = 0x4010
-+ O_SYNC = 0x4010
-+ O_TMPFILE = 0x410000
-+ O_TRUNC = 0x200
-+ PARENB = 0x100
-+ PARODD = 0x200
-+ PENDIN = 0x4000
-+ PERF_EVENT_IOC_DISABLE = 0x20002401
-+ PERF_EVENT_IOC_ENABLE = 0x20002400
-+ PERF_EVENT_IOC_ID = 0x40082407
-+ PERF_EVENT_IOC_MODIFY_ATTRIBUTES = 0x8008240b
-+ PERF_EVENT_IOC_PAUSE_OUTPUT = 0x80042409
-+ PERF_EVENT_IOC_PERIOD = 0x80082404
-+ PERF_EVENT_IOC_QUERY_BPF = 0xc008240a
-+ PERF_EVENT_IOC_REFRESH = 0x20002402
-+ PERF_EVENT_IOC_RESET = 0x20002403
-+ PERF_EVENT_IOC_SET_BPF = 0x80042408
-+ PERF_EVENT_IOC_SET_FILTER = 0x80082406
-+ PERF_EVENT_IOC_SET_OUTPUT = 0x20002405
-+ PPPIOCATTACH = 0x8004743d
-+ PPPIOCATTCHAN = 0x80047438
-+ PPPIOCCONNECT = 0x8004743a
-+ PPPIOCDETACH = 0x8004743c
-+ PPPIOCDISCONN = 0x20007439
-+ PPPIOCGASYNCMAP = 0x40047458
-+ PPPIOCGCHAN = 0x40047437
-+ PPPIOCGDEBUG = 0x40047441
-+ PPPIOCGFLAGS = 0x4004745a
-+ PPPIOCGIDLE = 0x4010743f
-+ PPPIOCGIDLE32 = 0x4008743f
-+ PPPIOCGIDLE64 = 0x4010743f
-+ PPPIOCGL2TPSTATS = 0x40487436
-+ PPPIOCGMRU = 0x40047453
-+ PPPIOCGRASYNCMAP = 0x40047455
-+ PPPIOCGUNIT = 0x40047456
-+ PPPIOCGXASYNCMAP = 0x40207450
-+ PPPIOCSACTIVE = 0x80107446
-+ PPPIOCSASYNCMAP = 0x80047457
-+ PPPIOCSCOMPRESS = 0x8010744d
-+ PPPIOCSDEBUG = 0x80047440
-+ PPPIOCSFLAGS = 0x80047459
-+ PPPIOCSMAXCID = 0x80047451
-+ PPPIOCSMRRU = 0x8004743b
-+ PPPIOCSMRU = 0x80047452
-+ PPPIOCSNPMODE = 0x8008744b
-+ PPPIOCSPASS = 0x80107447
-+ PPPIOCSRASYNCMAP = 0x80047454
-+ PPPIOCSXASYNCMAP = 0x8020744f
-+ PPPIOCXFERUNIT = 0x2000744e
-+ PR_SET_PTRACER_ANY = 0xffffffffffffffff
-+ PTRACE_GETFPREGS = 0xe
-+ PTRACE_GET_THREAD_AREA = 0x19
-+ PTRACE_GET_THREAD_AREA_3264 = 0xc4
-+ PTRACE_GET_WATCH_REGS = 0xd0
-+ PTRACE_OLDSETOPTIONS = 0x15
-+ PTRACE_PEEKDATA_3264 = 0xc1
-+ PTRACE_PEEKTEXT_3264 = 0xc0
-+ PTRACE_POKEDATA_3264 = 0xc3
-+ PTRACE_POKETEXT_3264 = 0xc2
-+ PTRACE_SETFPREGS = 0xf
-+ PTRACE_SET_THREAD_AREA = 0x1a
-+ PTRACE_SET_WATCH_REGS = 0xd1
-+ RLIMIT_AS = 0x6
-+ RLIMIT_MEMLOCK = 0x9
-+ RLIMIT_NOFILE = 0x5
-+ RLIMIT_NPROC = 0x8
-+ RLIMIT_RSS = 0x7
-+ RNDADDENTROPY = 0x80085203
-+ RNDADDTOENTCNT = 0x80045201
-+ RNDCLEARPOOL = 0x20005206
-+ RNDGETENTCNT = 0x40045200
-+ RNDGETPOOL = 0x40085202
-+ RNDRESEEDCRNG = 0x20005207
-+ RNDZAPENTCNT = 0x20005204
-+ RTC_AIE_OFF = 0x20007002
-+ RTC_AIE_ON = 0x20007001
-+ RTC_ALM_READ = 0x40247008
-+ RTC_ALM_SET = 0x80247007
-+ RTC_EPOCH_READ = 0x4008700d
-+ RTC_EPOCH_SET = 0x8008700e
-+ RTC_IRQP_READ = 0x4008700b
-+ RTC_IRQP_SET = 0x8008700c
-+ RTC_PIE_OFF = 0x20007006
-+ RTC_PIE_ON = 0x20007005
-+ RTC_PLL_GET = 0x40207011
-+ RTC_PLL_SET = 0x80207012
-+ RTC_RD_TIME = 0x40247009
-+ RTC_SET_TIME = 0x8024700a
-+ RTC_UIE_OFF = 0x20007004
-+ RTC_UIE_ON = 0x20007003
-+ RTC_VL_CLR = 0x20007014
-+ RTC_VL_READ = 0x40047013
-+ RTC_WIE_OFF = 0x20007010
-+ RTC_WIE_ON = 0x2000700f
-+ RTC_WKALM_RD = 0x40287010
-+ RTC_WKALM_SET = 0x8028700f
-+ 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 = 0x80
-+ SIOCATMARK = 0x40047307
-+ SIOCGPGRP = 0x40047309
-+ SIOCGSTAMPNS_NEW = 0x40108907
-+ SIOCGSTAMP_NEW = 0x40108906
-+ SIOCINQ = 0x467f
-+ SIOCOUTQ = 0x7472
-+ SIOCSPGRP = 0x80047308
-+ SOCK_CLOEXEC = 0x80000
-+ SOCK_DGRAM = 0x1
-+ SOCK_NONBLOCK = 0x80
-+ SOCK_STREAM = 0x2
-+ SOL_SOCKET = 0xffff
-+ SO_ACCEPTCONN = 0x1009
-+ 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 = 0x20
-+ SO_BSDCOMPAT = 0xe
-+ SO_BUSY_POLL = 0x2e
-+ SO_CNX_ADVICE = 0x35
-+ SO_COOKIE = 0x39
-+ SO_DETACH_REUSEPORT_BPF = 0x44
-+ SO_DOMAIN = 0x1029
-+ SO_DONTROUTE = 0x10
-+ SO_ERROR = 0x1007
-+ SO_INCOMING_CPU = 0x31
-+ SO_INCOMING_NAPI_ID = 0x38
-+ SO_KEEPALIVE = 0x8
-+ SO_LINGER = 0x80
-+ SO_LOCK_FILTER = 0x2c
-+ SO_MARK = 0x24
-+ SO_MAX_PACING_RATE = 0x2f
-+ SO_MEMINFO = 0x37
-+ SO_NOFCS = 0x2b
-+ SO_OOBINLINE = 0x100
-+ SO_PASSCRED = 0x11
-+ SO_PASSSEC = 0x22
-+ SO_PEEK_OFF = 0x2a
-+ SO_PEERCRED = 0x12
-+ SO_PEERGROUPS = 0x3b
-+ SO_PEERSEC = 0x1e
-+ SO_PROTOCOL = 0x1028
-+ SO_RCVBUF = 0x1002
-+ SO_RCVBUFFORCE = 0x21
-+ SO_RCVLOWAT = 0x1004
-+ SO_RCVTIMEO = 0x1006
-+ SO_RCVTIMEO_NEW = 0x42
-+ SO_RCVTIMEO_OLD = 0x1006
-+ SO_REUSEADDR = 0x4
-+ SO_REUSEPORT = 0x200
-+ SO_RXQ_OVFL = 0x28
-+ SO_SECURITY_AUTHENTICATION = 0x16
-+ SO_SECURITY_ENCRYPTION_NETWORK = 0x18
-+ SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
-+ SO_SELECT_ERR_QUEUE = 0x2d
-+ SO_SNDBUF = 0x1001
-+ SO_SNDBUFFORCE = 0x1f
-+ SO_SNDLOWAT = 0x1003
-+ SO_SNDTIMEO = 0x1005
-+ SO_SNDTIMEO_NEW = 0x43
-+ SO_SNDTIMEO_OLD = 0x1005
-+ SO_STYLE = 0x1008
-+ 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_TXTIME = 0x3d
-+ SO_TYPE = 0x1008
-+ SO_WIFI_STATUS = 0x29
-+ SO_ZEROCOPY = 0x3c
-+ TAB1 = 0x800
-+ TAB2 = 0x1000
-+ TAB3 = 0x1800
-+ TABDLY = 0x1800
-+ TCFLSH = 0x5407
-+ TCGETA = 0x5401
-+ TCGETS = 0x540d
-+ TCGETS2 = 0x4030542a
-+ TCSAFLUSH = 0x5410
-+ TCSBRK = 0x5405
-+ TCSBRKP = 0x5486
-+ TCSETA = 0x5402
-+ TCSETAF = 0x5404
-+ TCSETAW = 0x5403
-+ TCSETS = 0x540e
-+ TCSETS2 = 0x8030542b
-+ TCSETSF = 0x5410
-+ TCSETSF2 = 0x8030542d
-+ TCSETSW = 0x540f
-+ TCSETSW2 = 0x8030542c
-+ TCXONC = 0x5406
-+ TIOCCBRK = 0x5428
-+ TIOCCONS = 0x80047478
-+ TIOCEXCL = 0x740d
-+ TIOCGDEV = 0x40045432
-+ TIOCGETD = 0x7400
-+ TIOCGETP = 0x7408
-+ TIOCGEXCL = 0x40045440
-+ TIOCGICOUNT = 0x5492
-+ TIOCGISO7816 = 0x40285442
-+ TIOCGLCKTRMIOS = 0x548b
-+ TIOCGLTC = 0x7474
-+ TIOCGPGRP = 0x40047477
-+ TIOCGPKT = 0x40045438
-+ TIOCGPTLCK = 0x40045439
-+ TIOCGPTN = 0x40045430
-+ TIOCGPTPEER = 0x20005441
-+ TIOCGRS485 = 0x4020542e
-+ TIOCGSERIAL = 0x5484
-+ TIOCGSID = 0x7416
-+ TIOCGSOFTCAR = 0x5481
-+ TIOCGWINSZ = 0x40087468
-+ TIOCINQ = 0x467f
-+ TIOCLINUX = 0x5483
-+ TIOCMBIC = 0x741c
-+ TIOCMBIS = 0x741b
-+ TIOCMGET = 0x741d
-+ TIOCMIWAIT = 0x5491
-+ TIOCMSET = 0x741a
-+ TIOCM_CAR = 0x100
-+ TIOCM_CD = 0x100
-+ TIOCM_CTS = 0x40
-+ TIOCM_DSR = 0x400
-+ TIOCM_RI = 0x200
-+ TIOCM_RNG = 0x200
-+ TIOCM_SR = 0x20
-+ TIOCM_ST = 0x10
-+ TIOCNOTTY = 0x5471
-+ TIOCNXCL = 0x740e
-+ TIOCOUTQ = 0x7472
-+ TIOCPKT = 0x5470
-+ TIOCSBRK = 0x5427
-+ TIOCSCTTY = 0x5480
-+ TIOCSERCONFIG = 0x5488
-+ TIOCSERGETLSR = 0x548e
-+ TIOCSERGETMULTI = 0x548f
-+ TIOCSERGSTRUCT = 0x548d
-+ TIOCSERGWILD = 0x5489
-+ TIOCSERSETMULTI = 0x5490
-+ TIOCSERSWILD = 0x548a
-+ TIOCSER_TEMT = 0x1
-+ TIOCSETD = 0x7401
-+ TIOCSETN = 0x740a
-+ TIOCSETP = 0x7409
-+ TIOCSIG = 0x80045436
-+ TIOCSISO7816 = 0xc0285443
-+ TIOCSLCKTRMIOS = 0x548c
-+ TIOCSLTC = 0x7475
-+ TIOCSPGRP = 0x80047476
-+ TIOCSPTLCK = 0x80045431
-+ TIOCSRS485 = 0xc020542f
-+ TIOCSSERIAL = 0x5485
-+ TIOCSSOFTCAR = 0x5482
-+ TIOCSTI = 0x5472
-+ TIOCSWINSZ = 0x80087467
-+ TIOCVHANGUP = 0x5437
-+ TOSTOP = 0x8000
-+ TUNATTACHFILTER = 0x801054d5
-+ TUNDETACHFILTER = 0x801054d6
-+ TUNGETDEVNETNS = 0x200054e3
-+ TUNGETFEATURES = 0x400454cf
-+ TUNGETFILTER = 0x401054db
-+ TUNGETIFF = 0x400454d2
-+ TUNGETSNDBUF = 0x400454d3
-+ TUNGETVNETBE = 0x400454df
-+ TUNGETVNETHDRSZ = 0x400454d7
-+ TUNGETVNETLE = 0x400454dd
-+ TUNSETCARRIER = 0x800454e2
-+ TUNSETDEBUG = 0x800454c9
-+ TUNSETFILTEREBPF = 0x400454e1
-+ TUNSETGROUP = 0x800454ce
-+ TUNSETIFF = 0x800454ca
-+ TUNSETIFINDEX = 0x800454da
-+ TUNSETLINK = 0x800454cd
-+ TUNSETNOCSUM = 0x800454c8
-+ TUNSETOFFLOAD = 0x800454d0
-+ TUNSETOWNER = 0x800454cc
-+ TUNSETPERSIST = 0x800454cb
-+ TUNSETQUEUE = 0x800454d9
-+ TUNSETSNDBUF = 0x800454d4
-+ TUNSETSTEERINGEBPF = 0x400454e0
-+ TUNSETTXFILTER = 0x800454d1
-+ TUNSETVNETBE = 0x800454de
-+ TUNSETVNETHDRSZ = 0x800454d8
-+ TUNSETVNETLE = 0x800454dc
-+ UBI_IOCATT = 0x80186f40
-+ UBI_IOCDET = 0x80046f41
-+ UBI_IOCEBCH = 0x80044f02
-+ UBI_IOCEBER = 0x80044f01
-+ UBI_IOCEBISMAP = 0x40044f05
-+ UBI_IOCEBMAP = 0x80084f03
-+ UBI_IOCEBUNMAP = 0x80044f04
-+ UBI_IOCMKVOL = 0x80986f00
-+ UBI_IOCRMVOL = 0x80046f01
-+ UBI_IOCRNVOL = 0x91106f03
-+ UBI_IOCRPEB = 0x80046f04
-+ UBI_IOCRSVOL = 0x800c6f02
-+ UBI_IOCSETVOLPROP = 0x80104f06
-+ UBI_IOCSPEB = 0x80046f05
-+ UBI_IOCVOLCRBLK = 0x80804f07
-+ UBI_IOCVOLRMBLK = 0x20004f08
-+ UBI_IOCVOLUP = 0x80084f00
-+ VDISCARD = 0xd
-+ VEOF = 0x10
-+ VEOL = 0x11
-+ VEOL2 = 0x6
-+ VMIN = 0x4
-+ VREPRINT = 0xc
-+ VSTART = 0x8
-+ VSTOP = 0x9
-+ VSUSP = 0xa
-+ VSWTC = 0x7
-+ VSWTCH = 0x7
-+ VT1 = 0x4000
-+ VTDLY = 0x4000
-+ VTIME = 0x5
-+ VWERASE = 0xe
-+ WDIOC_GETBOOTSTATUS = 0x40045702
-+ WDIOC_GETPRETIMEOUT = 0x40045709
-+ WDIOC_GETSTATUS = 0x40045701
-+ WDIOC_GETSUPPORT = 0x40285700
-+ WDIOC_GETTEMP = 0x40045703
-+ WDIOC_GETTIMELEFT = 0x4004570a
-+ WDIOC_GETTIMEOUT = 0x40045707
-+ WDIOC_KEEPALIVE = 0x40045705
-+ WDIOC_SETOPTIONS = 0x40045704
-+ WORDSIZE = 0x40
-+ XCASE = 0x4
-+ XTABS = 0x1800
- )
-
- // Errors
- const (
-- E2BIG = syscall.Errno(0x7)
-- EACCES = syscall.Errno(0xd)
- EADDRINUSE = syscall.Errno(0x7d)
- EADDRNOTAVAIL = syscall.Errno(0x7e)
- EADV = syscall.Errno(0x44)
- EAFNOSUPPORT = syscall.Errno(0x7c)
-- EAGAIN = syscall.Errno(0xb)
- EALREADY = syscall.Errno(0x95)
- EBADE = syscall.Errno(0x32)
-- EBADF = syscall.Errno(0x9)
- EBADFD = syscall.Errno(0x51)
- EBADMSG = syscall.Errno(0x4d)
- EBADR = syscall.Errno(0x33)
- EBADRQC = syscall.Errno(0x36)
- EBADSLT = syscall.Errno(0x37)
- EBFONT = syscall.Errno(0x3b)
-- EBUSY = syscall.Errno(0x10)
- ECANCELED = syscall.Errno(0x9e)
-- ECHILD = syscall.Errno(0xa)
- ECHRNG = syscall.Errno(0x25)
- ECOMM = syscall.Errno(0x46)
- ECONNABORTED = syscall.Errno(0x82)
-@@ -1886,12 +502,8 @@ const (
- EDEADLK = syscall.Errno(0x2d)
- EDEADLOCK = syscall.Errno(0x38)
- EDESTADDRREQ = syscall.Errno(0x60)
-- EDOM = syscall.Errno(0x21)
- EDOTDOT = syscall.Errno(0x49)
- EDQUOT = syscall.Errno(0x46d)
-- EEXIST = syscall.Errno(0x11)
-- EFAULT = syscall.Errno(0xe)
-- EFBIG = syscall.Errno(0x1b)
- EHOSTDOWN = syscall.Errno(0x93)
- EHOSTUNREACH = syscall.Errno(0x94)
- EHWPOISON = syscall.Errno(0xa8)
-@@ -1899,11 +511,7 @@ const (
- EILSEQ = syscall.Errno(0x58)
- EINIT = syscall.Errno(0x8d)
- EINPROGRESS = syscall.Errno(0x96)
-- EINTR = syscall.Errno(0x4)
-- EINVAL = syscall.Errno(0x16)
-- EIO = syscall.Errno(0x5)
- EISCONN = syscall.Errno(0x85)
-- EISDIR = syscall.Errno(0x15)
- EISNAM = syscall.Errno(0x8b)
- EKEYEXPIRED = syscall.Errno(0xa2)
- EKEYREJECTED = syscall.Errno(0xa4)
-@@ -1920,8 +528,6 @@ const (
- ELNRNG = syscall.Errno(0x29)
- ELOOP = syscall.Errno(0x5a)
- EMEDIUMTYPE = syscall.Errno(0xa0)
-- EMFILE = syscall.Errno(0x18)
-- EMLINK = syscall.Errno(0x1f)
- EMSGSIZE = syscall.Errno(0x61)
- EMULTIHOP = syscall.Errno(0x4a)
- ENAMETOOLONG = syscall.Errno(0x4e)
-@@ -1929,100 +535,68 @@ const (
- ENETDOWN = syscall.Errno(0x7f)
- ENETRESET = syscall.Errno(0x81)
- ENETUNREACH = syscall.Errno(0x80)
-- ENFILE = syscall.Errno(0x17)
- ENOANO = syscall.Errno(0x35)
- ENOBUFS = syscall.Errno(0x84)
- ENOCSI = syscall.Errno(0x2b)
- ENODATA = syscall.Errno(0x3d)
-- ENODEV = syscall.Errno(0x13)
-- ENOENT = syscall.Errno(0x2)
-- ENOEXEC = syscall.Errno(0x8)
- ENOKEY = syscall.Errno(0xa1)
- ENOLCK = syscall.Errno(0x2e)
- ENOLINK = syscall.Errno(0x43)
- ENOMEDIUM = syscall.Errno(0x9f)
-- ENOMEM = syscall.Errno(0xc)
- ENOMSG = syscall.Errno(0x23)
- ENONET = syscall.Errno(0x40)
- ENOPKG = syscall.Errno(0x41)
- ENOPROTOOPT = syscall.Errno(0x63)
-- ENOSPC = syscall.Errno(0x1c)
- ENOSR = syscall.Errno(0x3f)
- ENOSTR = syscall.Errno(0x3c)
- ENOSYS = syscall.Errno(0x59)
-- ENOTBLK = syscall.Errno(0xf)
- ENOTCONN = syscall.Errno(0x86)
-- ENOTDIR = syscall.Errno(0x14)
- ENOTEMPTY = syscall.Errno(0x5d)
- ENOTNAM = syscall.Errno(0x89)
- ENOTRECOVERABLE = syscall.Errno(0xa6)
- ENOTSOCK = syscall.Errno(0x5f)
- ENOTSUP = syscall.Errno(0x7a)
-- ENOTTY = syscall.Errno(0x19)
- ENOTUNIQ = syscall.Errno(0x50)
-- ENXIO = syscall.Errno(0x6)
- EOPNOTSUPP = syscall.Errno(0x7a)
- EOVERFLOW = syscall.Errno(0x4f)
- EOWNERDEAD = syscall.Errno(0xa5)
-- EPERM = syscall.Errno(0x1)
- EPFNOSUPPORT = syscall.Errno(0x7b)
-- EPIPE = syscall.Errno(0x20)
- EPROTO = syscall.Errno(0x47)
- EPROTONOSUPPORT = syscall.Errno(0x78)
- EPROTOTYPE = syscall.Errno(0x62)
-- ERANGE = syscall.Errno(0x22)
- EREMCHG = syscall.Errno(0x52)
- EREMDEV = syscall.Errno(0x8e)
- EREMOTE = syscall.Errno(0x42)
- EREMOTEIO = syscall.Errno(0x8c)
- ERESTART = syscall.Errno(0x5b)
- ERFKILL = syscall.Errno(0xa7)
-- EROFS = syscall.Errno(0x1e)
- ESHUTDOWN = syscall.Errno(0x8f)
- ESOCKTNOSUPPORT = syscall.Errno(0x79)
-- ESPIPE = syscall.Errno(0x1d)
-- ESRCH = syscall.Errno(0x3)
- ESRMNT = syscall.Errno(0x45)
- ESTALE = syscall.Errno(0x97)
- ESTRPIPE = syscall.Errno(0x5c)
- ETIME = syscall.Errno(0x3e)
- ETIMEDOUT = syscall.Errno(0x91)
- ETOOMANYREFS = syscall.Errno(0x90)
-- ETXTBSY = syscall.Errno(0x1a)
- EUCLEAN = syscall.Errno(0x87)
- EUNATCH = syscall.Errno(0x2a)
- EUSERS = syscall.Errno(0x5e)
-- EWOULDBLOCK = syscall.Errno(0xb)
-- EXDEV = syscall.Errno(0x12)
- EXFULL = syscall.Errno(0x34)
- )
-
- // Signals
- const (
-- SIGABRT = syscall.Signal(0x6)
-- SIGALRM = syscall.Signal(0xe)
- SIGBUS = syscall.Signal(0xa)
- SIGCHLD = syscall.Signal(0x12)
- SIGCLD = syscall.Signal(0x12)
- SIGCONT = syscall.Signal(0x19)
- SIGEMT = syscall.Signal(0x7)
-- SIGFPE = syscall.Signal(0x8)
-- SIGHUP = syscall.Signal(0x1)
-- SIGILL = syscall.Signal(0x4)
-- SIGINT = syscall.Signal(0x2)
- SIGIO = syscall.Signal(0x16)
-- SIGIOT = syscall.Signal(0x6)
-- SIGKILL = syscall.Signal(0x9)
-- SIGPIPE = syscall.Signal(0xd)
- SIGPOLL = syscall.Signal(0x16)
- SIGPROF = syscall.Signal(0x1d)
- SIGPWR = syscall.Signal(0x13)
-- SIGQUIT = syscall.Signal(0x3)
-- SIGSEGV = syscall.Signal(0xb)
- SIGSTOP = syscall.Signal(0x17)
- SIGSYS = syscall.Signal(0xc)
-- SIGTERM = syscall.Signal(0xf)
-- SIGTRAP = syscall.Signal(0x5)
- SIGTSTP = syscall.Signal(0x18)
- SIGTTIN = syscall.Signal(0x1a)
- SIGTTOU = syscall.Signal(0x1b)
-@@ -2036,174 +610,182 @@ const (
- )
-
- // Error table
--var errors = [...]string{
-- 1: "operation not permitted",
-- 2: "no such file or directory",
-- 3: "no such process",
-- 4: "interrupted system call",
-- 5: "input/output error",
-- 6: "no such device or address",
-- 7: "argument list too long",
-- 8: "exec format error",
-- 9: "bad file descriptor",
-- 10: "no child processes",
-- 11: "resource temporarily unavailable",
-- 12: "cannot allocate memory",
-- 13: "permission denied",
-- 14: "bad address",
-- 15: "block device required",
-- 16: "device or resource busy",
-- 17: "file exists",
-- 18: "invalid cross-device link",
-- 19: "no such device",
-- 20: "not a directory",
-- 21: "is a directory",
-- 22: "invalid argument",
-- 23: "too many open files in system",
-- 24: "too many open files",
-- 25: "inappropriate ioctl for device",
-- 26: "text file busy",
-- 27: "file too large",
-- 28: "no space left on device",
-- 29: "illegal seek",
-- 30: "read-only file system",
-- 31: "too many links",
-- 32: "broken pipe",
-- 33: "numerical argument out of domain",
-- 34: "numerical result out of range",
-- 35: "no message of desired type",
-- 36: "identifier removed",
-- 37: "channel number out of range",
-- 38: "level 2 not synchronized",
-- 39: "level 3 halted",
-- 40: "level 3 reset",
-- 41: "link number out of range",
-- 42: "protocol driver not attached",
-- 43: "no CSI structure available",
-- 44: "level 2 halted",
-- 45: "resource deadlock avoided",
-- 46: "no locks available",
-- 50: "invalid exchange",
-- 51: "invalid request descriptor",
-- 52: "exchange full",
-- 53: "no anode",
-- 54: "invalid request code",
-- 55: "invalid slot",
-- 56: "file locking deadlock error",
-- 59: "bad font file format",
-- 60: "device not a stream",
-- 61: "no data available",
-- 62: "timer expired",
-- 63: "out of streams resources",
-- 64: "machine is not on the network",
-- 65: "package not installed",
-- 66: "object is remote",
-- 67: "link has been severed",
-- 68: "advertise error",
-- 69: "srmount error",
-- 70: "communication error on send",
-- 71: "protocol error",
-- 73: "RFS specific error",
-- 74: "multihop attempted",
-- 77: "bad message",
-- 78: "file name too long",
-- 79: "value too large for defined data type",
-- 80: "name not unique on network",
-- 81: "file descriptor in bad state",
-- 82: "remote address changed",
-- 83: "can not access a needed shared library",
-- 84: "accessing a corrupted shared library",
-- 85: ".lib section in a.out corrupted",
-- 86: "attempting to link in too many shared libraries",
-- 87: "cannot exec a shared library directly",
-- 88: "invalid or incomplete multibyte or wide character",
-- 89: "function not implemented",
-- 90: "too many levels of symbolic links",
-- 91: "interrupted system call should be restarted",
-- 92: "streams pipe error",
-- 93: "directory not empty",
-- 94: "too many users",
-- 95: "socket operation on non-socket",
-- 96: "destination address required",
-- 97: "message too long",
-- 98: "protocol wrong type for socket",
-- 99: "protocol not available",
-- 120: "protocol not supported",
-- 121: "socket type not supported",
-- 122: "operation not supported",
-- 123: "protocol family not supported",
-- 124: "address family not supported by protocol",
-- 125: "address already in use",
-- 126: "cannot assign requested address",
-- 127: "network is down",
-- 128: "network is unreachable",
-- 129: "network dropped connection on reset",
-- 130: "software caused connection abort",
-- 131: "connection reset by peer",
-- 132: "no buffer space available",
-- 133: "transport endpoint is already connected",
-- 134: "transport endpoint is not connected",
-- 135: "structure needs cleaning",
-- 137: "not a XENIX named type file",
-- 138: "no XENIX semaphores available",
-- 139: "is a named type file",
-- 140: "remote I/O error",
-- 141: "unknown error 141",
-- 142: "unknown error 142",
-- 143: "cannot send after transport endpoint shutdown",
-- 144: "too many references: cannot splice",
-- 145: "connection timed out",
-- 146: "connection refused",
-- 147: "host is down",
-- 148: "no route to host",
-- 149: "operation already in progress",
-- 150: "operation now in progress",
-- 151: "stale file handle",
-- 158: "operation canceled",
-- 159: "no medium found",
-- 160: "wrong medium type",
-- 161: "required key not available",
-- 162: "key has expired",
-- 163: "key has been revoked",
-- 164: "key was rejected by service",
-- 165: "owner died",
-- 166: "state not recoverable",
-- 167: "operation not possible due to RF-kill",
-- 168: "memory page has hardware error",
-- 1133: "disk quota exceeded",
-+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, "ENOMSG", "no message of desired type"},
-+ {36, "EIDRM", "identifier removed"},
-+ {37, "ECHRNG", "channel number out of range"},
-+ {38, "EL2NSYNC", "level 2 not synchronized"},
-+ {39, "EL3HLT", "level 3 halted"},
-+ {40, "EL3RST", "level 3 reset"},
-+ {41, "ELNRNG", "link number out of range"},
-+ {42, "EUNATCH", "protocol driver not attached"},
-+ {43, "ENOCSI", "no CSI structure available"},
-+ {44, "EL2HLT", "level 2 halted"},
-+ {45, "EDEADLK", "resource deadlock avoided"},
-+ {46, "ENOLCK", "no locks available"},
-+ {50, "EBADE", "invalid exchange"},
-+ {51, "EBADR", "invalid request descriptor"},
-+ {52, "EXFULL", "exchange full"},
-+ {53, "ENOANO", "no anode"},
-+ {54, "EBADRQC", "invalid request code"},
-+ {55, "EBADSLT", "invalid slot"},
-+ {56, "EDEADLOCK", "file locking deadlock error"},
-+ {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"},
-+ {73, "EDOTDOT", "RFS specific error"},
-+ {74, "EMULTIHOP", "multihop attempted"},
-+ {77, "EBADMSG", "bad message"},
-+ {78, "ENAMETOOLONG", "file name too long"},
-+ {79, "EOVERFLOW", "value too large for defined data type"},
-+ {80, "ENOTUNIQ", "name not unique on network"},
-+ {81, "EBADFD", "file descriptor in bad state"},
-+ {82, "EREMCHG", "remote address changed"},
-+ {83, "ELIBACC", "can not access a needed shared library"},
-+ {84, "ELIBBAD", "accessing a corrupted shared library"},
-+ {85, "ELIBSCN", ".lib section in a.out corrupted"},
-+ {86, "ELIBMAX", "attempting to link in too many shared libraries"},
-+ {87, "ELIBEXEC", "cannot exec a shared library directly"},
-+ {88, "EILSEQ", "invalid or incomplete multibyte or wide character"},
-+ {89, "ENOSYS", "function not implemented"},
-+ {90, "ELOOP", "too many levels of symbolic links"},
-+ {91, "ERESTART", "interrupted system call should be restarted"},
-+ {92, "ESTRPIPE", "streams pipe error"},
-+ {93, "ENOTEMPTY", "directory not empty"},
-+ {94, "EUSERS", "too many users"},
-+ {95, "ENOTSOCK", "socket operation on non-socket"},
-+ {96, "EDESTADDRREQ", "destination address required"},
-+ {97, "EMSGSIZE", "message too long"},
-+ {98, "EPROTOTYPE", "protocol wrong type for socket"},
-+ {99, "ENOPROTOOPT", "protocol not available"},
-+ {120, "EPROTONOSUPPORT", "protocol not supported"},
-+ {121, "ESOCKTNOSUPPORT", "socket type not supported"},
-+ {122, "ENOTSUP", "operation not supported"},
-+ {123, "EPFNOSUPPORT", "protocol family not supported"},
-+ {124, "EAFNOSUPPORT", "address family not supported by protocol"},
-+ {125, "EADDRINUSE", "address already in use"},
-+ {126, "EADDRNOTAVAIL", "cannot assign requested address"},
-+ {127, "ENETDOWN", "network is down"},
-+ {128, "ENETUNREACH", "network is unreachable"},
-+ {129, "ENETRESET", "network dropped connection on reset"},
-+ {130, "ECONNABORTED", "software caused connection abort"},
-+ {131, "ECONNRESET", "connection reset by peer"},
-+ {132, "ENOBUFS", "no buffer space available"},
-+ {133, "EISCONN", "transport endpoint is already connected"},
-+ {134, "ENOTCONN", "transport endpoint is not connected"},
-+ {135, "EUCLEAN", "structure needs cleaning"},
-+ {137, "ENOTNAM", "not a XENIX named type file"},
-+ {138, "ENAVAIL", "no XENIX semaphores available"},
-+ {139, "EISNAM", "is a named type file"},
-+ {140, "EREMOTEIO", "remote I/O error"},
-+ {141, "EINIT", "unknown error 141"},
-+ {142, "EREMDEV", "unknown error 142"},
-+ {143, "ESHUTDOWN", "cannot send after transport endpoint shutdown"},
-+ {144, "ETOOMANYREFS", "too many references: cannot splice"},
-+ {145, "ETIMEDOUT", "connection timed out"},
-+ {146, "ECONNREFUSED", "connection refused"},
-+ {147, "EHOSTDOWN", "host is down"},
-+ {148, "EHOSTUNREACH", "no route to host"},
-+ {149, "EALREADY", "operation already in progress"},
-+ {150, "EINPROGRESS", "operation now in progress"},
-+ {151, "ESTALE", "stale file handle"},
-+ {158, "ECANCELED", "operation canceled"},
-+ {159, "ENOMEDIUM", "no medium found"},
-+ {160, "EMEDIUMTYPE", "wrong medium type"},
-+ {161, "ENOKEY", "required key not available"},
-+ {162, "EKEYEXPIRED", "key has expired"},
-+ {163, "EKEYREVOKED", "key has been revoked"},
-+ {164, "EKEYREJECTED", "key was rejected by service"},
-+ {165, "EOWNERDEAD", "owner died"},
-+ {166, "ENOTRECOVERABLE", "state not recoverable"},
-+ {167, "ERFKILL", "operation not possible due to RF-kill"},
-+ {168, "EHWPOISON", "memory page has hardware error"},
-+ {1133, "EDQUOT", "disk quota exceeded"},
- }
-
- // Signal table
--var signals = [...]string{
-- 1: "hangup",
-- 2: "interrupt",
-- 3: "quit",
-- 4: "illegal instruction",
-- 5: "trace/breakpoint trap",
-- 6: "aborted",
-- 7: "EMT trap",
-- 8: "floating point exception",
-- 9: "killed",
-- 10: "bus error",
-- 11: "segmentation fault",
-- 12: "bad system call",
-- 13: "broken pipe",
-- 14: "alarm clock",
-- 15: "terminated",
-- 16: "user defined signal 1",
-- 17: "user defined signal 2",
-- 18: "child exited",
-- 19: "power failure",
-- 20: "window changed",
-- 21: "urgent I/O condition",
-- 22: "I/O possible",
-- 23: "stopped (signal)",
-- 24: "stopped",
-- 25: "continued",
-- 26: "stopped (tty input)",
-- 27: "stopped (tty output)",
-- 28: "virtual timer expired",
-- 29: "profiling timer expired",
-- 30: "CPU time limit exceeded",
-- 31: "file size limit exceeded",
-+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, "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, "SIGUSR1", "user defined signal 1"},
-+ {17, "SIGUSR2", "user defined signal 2"},
-+ {18, "SIGCHLD", "child exited"},
-+ {19, "SIGPWR", "power failure"},
-+ {20, "SIGWINCH", "window changed"},
-+ {21, "SIGURG", "urgent I/O condition"},
-+ {22, "SIGIO", "I/O possible"},
-+ {23, "SIGSTOP", "stopped (signal)"},
-+ {24, "SIGTSTP", "stopped"},
-+ {25, "SIGCONT", "continued"},
-+ {26, "SIGTTIN", "stopped (tty input)"},
-+ {27, "SIGTTOU", "stopped (tty output)"},
-+ {28, "SIGVTALRM", "virtual timer expired"},
-+ {29, "SIGPROF", "profiling timer expired"},
-+ {30, "SIGXCPU", "CPU time limit exceeded"},
-+ {31, "SIGXFSZ", "file size limit exceeded"},
- }
-diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go b/vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go
-index 2310beeb..e758b61e 100644
---- a/vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go
-+++ b/vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go
-@@ -3,7 +3,7 @@
-
- // +build mips64le,linux
-
--// Created by cgo -godefs - DO NOT EDIT
-+// Code generated by cmd/cgo -godefs; DO NOT EDIT.
- // cgo -godefs -- -Wall -Werror -static -I/tmp/include _const.go
-
- package unix
-@@ -11,1873 +11,489 @@ package unix
- import "syscall"
-
- const (
-- AF_ALG = 0x26
-- AF_APPLETALK = 0x5
-- AF_ASH = 0x12
-- AF_ATMPVC = 0x8
-- AF_ATMSVC = 0x14
-- AF_AX25 = 0x3
-- AF_BLUETOOTH = 0x1f
-- AF_BRIDGE = 0x7
-- AF_CAIF = 0x25
-- AF_CAN = 0x1d
-- AF_DECnet = 0xc
-- AF_ECONET = 0x13
-- AF_FILE = 0x1
-- AF_IB = 0x1b
-- AF_IEEE802154 = 0x24
-- AF_INET = 0x2
-- AF_INET6 = 0xa
-- AF_IPX = 0x4
-- AF_IRDA = 0x17
-- AF_ISDN = 0x22
-- AF_IUCV = 0x20
-- AF_KCM = 0x29
-- AF_KEY = 0xf
-- AF_LLC = 0x1a
-- AF_LOCAL = 0x1
-- AF_MAX = 0x2b
-- AF_MPLS = 0x1c
-- AF_NETBEUI = 0xd
-- AF_NETLINK = 0x10
-- AF_NETROM = 0x6
-- AF_NFC = 0x27
-- AF_PACKET = 0x11
-- AF_PHONET = 0x23
-- AF_PPPOX = 0x18
-- AF_QIPCRTR = 0x2a
-- AF_RDS = 0x15
-- AF_ROSE = 0xb
-- AF_ROUTE = 0x10
-- AF_RXRPC = 0x21
-- AF_SECURITY = 0xe
-- AF_SNA = 0x16
-- AF_TIPC = 0x1e
-- AF_UNIX = 0x1
-- AF_UNSPEC = 0x0
-- AF_VSOCK = 0x28
-- AF_WANPIPE = 0x19
-- AF_X25 = 0x9
-- ALG_OP_DECRYPT = 0x0
-- ALG_OP_ENCRYPT = 0x1
-- ALG_SET_AEAD_ASSOCLEN = 0x4
-- ALG_SET_AEAD_AUTHSIZE = 0x5
-- ALG_SET_IV = 0x2
-- ALG_SET_KEY = 0x1
-- ALG_SET_OP = 0x3
-- ARPHRD_6LOWPAN = 0x339
-- ARPHRD_ADAPT = 0x108
-- ARPHRD_APPLETLK = 0x8
-- ARPHRD_ARCNET = 0x7
-- ARPHRD_ASH = 0x30d
-- ARPHRD_ATM = 0x13
-- ARPHRD_AX25 = 0x3
-- ARPHRD_BIF = 0x307
-- ARPHRD_CAIF = 0x336
-- ARPHRD_CAN = 0x118
-- ARPHRD_CHAOS = 0x5
-- ARPHRD_CISCO = 0x201
-- ARPHRD_CSLIP = 0x101
-- ARPHRD_CSLIP6 = 0x103
-- ARPHRD_DDCMP = 0x205
-- ARPHRD_DLCI = 0xf
-- ARPHRD_ECONET = 0x30e
-- ARPHRD_EETHER = 0x2
-- ARPHRD_ETHER = 0x1
-- ARPHRD_EUI64 = 0x1b
-- ARPHRD_FCAL = 0x311
-- ARPHRD_FCFABRIC = 0x313
-- ARPHRD_FCPL = 0x312
-- ARPHRD_FCPP = 0x310
-- ARPHRD_FDDI = 0x306
-- ARPHRD_FRAD = 0x302
-- ARPHRD_HDLC = 0x201
-- ARPHRD_HIPPI = 0x30c
-- ARPHRD_HWX25 = 0x110
-- ARPHRD_IEEE1394 = 0x18
-- ARPHRD_IEEE802 = 0x6
-- ARPHRD_IEEE80211 = 0x321
-- ARPHRD_IEEE80211_PRISM = 0x322
-- ARPHRD_IEEE80211_RADIOTAP = 0x323
-- ARPHRD_IEEE802154 = 0x324
-- ARPHRD_IEEE802154_MONITOR = 0x325
-- ARPHRD_IEEE802_TR = 0x320
-- ARPHRD_INFINIBAND = 0x20
-- ARPHRD_IP6GRE = 0x337
-- ARPHRD_IPDDP = 0x309
-- ARPHRD_IPGRE = 0x30a
-- ARPHRD_IRDA = 0x30f
-- ARPHRD_LAPB = 0x204
-- ARPHRD_LOCALTLK = 0x305
-- ARPHRD_LOOPBACK = 0x304
-- ARPHRD_METRICOM = 0x17
-- ARPHRD_NETLINK = 0x338
-- ARPHRD_NETROM = 0x0
-- ARPHRD_NONE = 0xfffe
-- ARPHRD_PHONET = 0x334
-- ARPHRD_PHONET_PIPE = 0x335
-- ARPHRD_PIMREG = 0x30b
-- ARPHRD_PPP = 0x200
-- ARPHRD_PRONET = 0x4
-- ARPHRD_RAWHDLC = 0x206
-- ARPHRD_ROSE = 0x10e
-- ARPHRD_RSRVD = 0x104
-- ARPHRD_SIT = 0x308
-- ARPHRD_SKIP = 0x303
-- ARPHRD_SLIP = 0x100
-- ARPHRD_SLIP6 = 0x102
-- ARPHRD_TUNNEL = 0x300
-- ARPHRD_TUNNEL6 = 0x301
-- ARPHRD_VOID = 0xffff
-- ARPHRD_X25 = 0x10f
-- B0 = 0x0
-- B1000000 = 0x1008
-- B110 = 0x3
-- B115200 = 0x1002
-- B1152000 = 0x1009
-- B1200 = 0x9
-- B134 = 0x4
-- B150 = 0x5
-- B1500000 = 0x100a
-- B1800 = 0xa
-- B19200 = 0xe
-- B200 = 0x6
-- B2000000 = 0x100b
-- B230400 = 0x1003
-- B2400 = 0xb
-- B2500000 = 0x100c
-- B300 = 0x7
-- B3000000 = 0x100d
-- B3500000 = 0x100e
-- B38400 = 0xf
-- B4000000 = 0x100f
-- B460800 = 0x1004
-- B4800 = 0xc
-- B50 = 0x1
-- B500000 = 0x1005
-- B57600 = 0x1001
-- B576000 = 0x1006
-- B600 = 0x8
-- B75 = 0x2
-- B921600 = 0x1007
-- B9600 = 0xd
-- BLKBSZGET = 0x40081270
-- BLKBSZSET = 0x80081271
-- BLKFLSBUF = 0x20001261
-- BLKFRAGET = 0x20001265
-- BLKFRASET = 0x20001264
-- BLKGETSIZE = 0x20001260
-- BLKGETSIZE64 = 0x40081272
-- BLKPBSZGET = 0x2000127b
-- BLKRAGET = 0x20001263
-- BLKRASET = 0x20001262
-- BLKROGET = 0x2000125e
-- BLKROSET = 0x2000125d
-- BLKRRPART = 0x2000125f
-- BLKSECTGET = 0x20001267
-- BLKSECTSET = 0x20001266
-- BLKSSZGET = 0x20001268
-- BOTHER = 0x1000
-- BPF_A = 0x10
-- BPF_ABS = 0x20
-- BPF_ADD = 0x0
-- BPF_ALU = 0x4
-- BPF_AND = 0x50
-- BPF_B = 0x10
-- BPF_DIV = 0x30
-- BPF_H = 0x8
-- BPF_IMM = 0x0
-- BPF_IND = 0x40
-- BPF_JA = 0x0
-- BPF_JEQ = 0x10
-- BPF_JGE = 0x30
-- BPF_JGT = 0x20
-- BPF_JMP = 0x5
-- BPF_JSET = 0x40
-- BPF_K = 0x0
-- BPF_LD = 0x0
-- BPF_LDX = 0x1
-- BPF_LEN = 0x80
-- BPF_LL_OFF = -0x200000
-- BPF_LSH = 0x60
-- BPF_MAJOR_VERSION = 0x1
-- BPF_MAXINSNS = 0x1000
-- BPF_MEM = 0x60
-- BPF_MEMWORDS = 0x10
-- BPF_MINOR_VERSION = 0x1
-- BPF_MISC = 0x7
-- BPF_MOD = 0x90
-- BPF_MSH = 0xa0
-- BPF_MUL = 0x20
-- BPF_NEG = 0x80
-- BPF_NET_OFF = -0x100000
-- BPF_OR = 0x40
-- BPF_RET = 0x6
-- BPF_RSH = 0x70
-- BPF_ST = 0x2
-- BPF_STX = 0x3
-- BPF_SUB = 0x10
-- BPF_TAX = 0x0
-- BPF_TXA = 0x80
-- BPF_W = 0x0
-- BPF_X = 0x8
-- BPF_XOR = 0xa0
-- BRKINT = 0x2
-- BS0 = 0x0
-- BS1 = 0x2000
-- BSDLY = 0x2000
-- CAN_BCM = 0x2
-- CAN_EFF_FLAG = 0x80000000
-- CAN_EFF_ID_BITS = 0x1d
-- CAN_EFF_MASK = 0x1fffffff
-- CAN_ERR_FLAG = 0x20000000
-- CAN_ERR_MASK = 0x1fffffff
-- CAN_INV_FILTER = 0x20000000
-- CAN_ISOTP = 0x6
-- CAN_MAX_DLC = 0x8
-- CAN_MAX_DLEN = 0x8
-- CAN_MCNET = 0x5
-- CAN_MTU = 0x10
-- CAN_NPROTO = 0x7
-- CAN_RAW = 0x1
-- CAN_RAW_FILTER_MAX = 0x200
-- CAN_RTR_FLAG = 0x40000000
-- CAN_SFF_ID_BITS = 0xb
-- CAN_SFF_MASK = 0x7ff
-- CAN_TP16 = 0x3
-- CAN_TP20 = 0x4
-- CBAUD = 0x100f
-- CBAUDEX = 0x1000
-- CFLUSH = 0xf
-- CIBAUD = 0x100f0000
-- CLOCAL = 0x800
-- CLOCK_BOOTTIME = 0x7
-- CLOCK_BOOTTIME_ALARM = 0x9
-- CLOCK_DEFAULT = 0x0
-- CLOCK_EXT = 0x1
-- CLOCK_INT = 0x2
-- CLOCK_MONOTONIC = 0x1
-- CLOCK_MONOTONIC_COARSE = 0x6
-- CLOCK_MONOTONIC_RAW = 0x4
-- CLOCK_PROCESS_CPUTIME_ID = 0x2
-- CLOCK_REALTIME = 0x0
-- CLOCK_REALTIME_ALARM = 0x8
-- CLOCK_REALTIME_COARSE = 0x5
-- CLOCK_TAI = 0xb
-- CLOCK_THREAD_CPUTIME_ID = 0x3
-- CLOCK_TXFROMRX = 0x4
-- CLOCK_TXINT = 0x3
-- CLONE_CHILD_CLEARTID = 0x200000
-- CLONE_CHILD_SETTID = 0x1000000
-- CLONE_DETACHED = 0x400000
-- CLONE_FILES = 0x400
-- CLONE_FS = 0x200
-- CLONE_IO = 0x80000000
-- CLONE_NEWCGROUP = 0x2000000
-- CLONE_NEWIPC = 0x8000000
-- CLONE_NEWNET = 0x40000000
-- CLONE_NEWNS = 0x20000
-- CLONE_NEWPID = 0x20000000
-- CLONE_NEWUSER = 0x10000000
-- CLONE_NEWUTS = 0x4000000
-- CLONE_PARENT = 0x8000
-- CLONE_PARENT_SETTID = 0x100000
-- CLONE_PTRACE = 0x2000
-- CLONE_SETTLS = 0x80000
-- CLONE_SIGHAND = 0x800
-- CLONE_SYSVSEM = 0x40000
-- CLONE_THREAD = 0x10000
-- CLONE_UNTRACED = 0x800000
-- CLONE_VFORK = 0x4000
-- CLONE_VM = 0x100
-- CMSPAR = 0x40000000
-- CR0 = 0x0
-- CR1 = 0x200
-- CR2 = 0x400
-- CR3 = 0x600
-- CRDLY = 0x600
-- CREAD = 0x80
-- CRTSCTS = 0x80000000
-- CS5 = 0x0
-- CS6 = 0x10
-- CS7 = 0x20
-- CS8 = 0x30
-- CSIGNAL = 0xff
-- CSIZE = 0x30
-- CSTART = 0x11
-- CSTATUS = 0x0
-- CSTOP = 0x13
-- CSTOPB = 0x40
-- CSUSP = 0x1a
-- DT_BLK = 0x6
-- DT_CHR = 0x2
-- DT_DIR = 0x4
-- DT_FIFO = 0x1
-- DT_LNK = 0xa
-- DT_REG = 0x8
-- DT_SOCK = 0xc
-- DT_UNKNOWN = 0x0
-- DT_WHT = 0xe
-- ECHO = 0x8
-- ECHOCTL = 0x200
-- ECHOE = 0x10
-- ECHOK = 0x20
-- ECHOKE = 0x800
-- ECHONL = 0x40
-- ECHOPRT = 0x400
-- EFD_CLOEXEC = 0x80000
-- EFD_NONBLOCK = 0x80
-- EFD_SEMAPHORE = 0x1
-- ENCODING_DEFAULT = 0x0
-- ENCODING_FM_MARK = 0x3
-- ENCODING_FM_SPACE = 0x4
-- ENCODING_MANCHESTER = 0x5
-- ENCODING_NRZ = 0x1
-- ENCODING_NRZI = 0x2
-- EPOLLERR = 0x8
-- EPOLLET = 0x80000000
-- EPOLLEXCLUSIVE = 0x10000000
-- EPOLLHUP = 0x10
-- EPOLLIN = 0x1
-- EPOLLMSG = 0x400
-- EPOLLONESHOT = 0x40000000
-- EPOLLOUT = 0x4
-- EPOLLPRI = 0x2
-- EPOLLRDBAND = 0x80
-- EPOLLRDHUP = 0x2000
-- EPOLLRDNORM = 0x40
-- EPOLLWAKEUP = 0x20000000
-- EPOLLWRBAND = 0x200
-- EPOLLWRNORM = 0x100
-- EPOLL_CLOEXEC = 0x80000
-- EPOLL_CTL_ADD = 0x1
-- EPOLL_CTL_DEL = 0x2
-- EPOLL_CTL_MOD = 0x3
-- ETH_P_1588 = 0x88f7
-- ETH_P_8021AD = 0x88a8
-- ETH_P_8021AH = 0x88e7
-- ETH_P_8021Q = 0x8100
-- ETH_P_80221 = 0x8917
-- ETH_P_802_2 = 0x4
-- ETH_P_802_3 = 0x1
-- ETH_P_802_3_MIN = 0x600
-- ETH_P_802_EX1 = 0x88b5
-- ETH_P_AARP = 0x80f3
-- ETH_P_AF_IUCV = 0xfbfb
-- ETH_P_ALL = 0x3
-- ETH_P_AOE = 0x88a2
-- ETH_P_ARCNET = 0x1a
-- ETH_P_ARP = 0x806
-- ETH_P_ATALK = 0x809b
-- ETH_P_ATMFATE = 0x8884
-- ETH_P_ATMMPOA = 0x884c
-- ETH_P_AX25 = 0x2
-- ETH_P_BATMAN = 0x4305
-- ETH_P_BPQ = 0x8ff
-- ETH_P_CAIF = 0xf7
-- ETH_P_CAN = 0xc
-- ETH_P_CANFD = 0xd
-- ETH_P_CONTROL = 0x16
-- ETH_P_CUST = 0x6006
-- ETH_P_DDCMP = 0x6
-- ETH_P_DEC = 0x6000
-- ETH_P_DIAG = 0x6005
-- ETH_P_DNA_DL = 0x6001
-- ETH_P_DNA_RC = 0x6002
-- ETH_P_DNA_RT = 0x6003
-- ETH_P_DSA = 0x1b
-- ETH_P_ECONET = 0x18
-- ETH_P_EDSA = 0xdada
-- ETH_P_FCOE = 0x8906
-- ETH_P_FIP = 0x8914
-- ETH_P_HDLC = 0x19
-- ETH_P_HSR = 0x892f
-- ETH_P_IEEE802154 = 0xf6
-- ETH_P_IEEEPUP = 0xa00
-- ETH_P_IEEEPUPAT = 0xa01
-- ETH_P_IP = 0x800
-- ETH_P_IPV6 = 0x86dd
-- ETH_P_IPX = 0x8137
-- ETH_P_IRDA = 0x17
-- ETH_P_LAT = 0x6004
-- ETH_P_LINK_CTL = 0x886c
-- ETH_P_LOCALTALK = 0x9
-- ETH_P_LOOP = 0x60
-- ETH_P_LOOPBACK = 0x9000
-- ETH_P_MACSEC = 0x88e5
-- ETH_P_MOBITEX = 0x15
-- ETH_P_MPLS_MC = 0x8848
-- ETH_P_MPLS_UC = 0x8847
-- ETH_P_MVRP = 0x88f5
-- ETH_P_NCSI = 0x88f8
-- ETH_P_PAE = 0x888e
-- ETH_P_PAUSE = 0x8808
-- ETH_P_PHONET = 0xf5
-- ETH_P_PPPTALK = 0x10
-- ETH_P_PPP_DISC = 0x8863
-- ETH_P_PPP_MP = 0x8
-- ETH_P_PPP_SES = 0x8864
-- ETH_P_PRP = 0x88fb
-- ETH_P_PUP = 0x200
-- ETH_P_PUPAT = 0x201
-- ETH_P_QINQ1 = 0x9100
-- ETH_P_QINQ2 = 0x9200
-- ETH_P_QINQ3 = 0x9300
-- ETH_P_RARP = 0x8035
-- ETH_P_SCA = 0x6007
-- ETH_P_SLOW = 0x8809
-- ETH_P_SNAP = 0x5
-- ETH_P_TDLS = 0x890d
-- ETH_P_TEB = 0x6558
-- ETH_P_TIPC = 0x88ca
-- ETH_P_TRAILER = 0x1c
-- ETH_P_TR_802_2 = 0x11
-- ETH_P_TSN = 0x22f0
-- ETH_P_WAN_PPP = 0x7
-- ETH_P_WCCP = 0x883e
-- ETH_P_X25 = 0x805
-- ETH_P_XDSA = 0xf8
-- EXTA = 0xe
-- EXTB = 0xf
-- EXTPROC = 0x10000
-- FALLOC_FL_COLLAPSE_RANGE = 0x8
-- FALLOC_FL_INSERT_RANGE = 0x20
-- FALLOC_FL_KEEP_SIZE = 0x1
-- FALLOC_FL_NO_HIDE_STALE = 0x4
-- FALLOC_FL_PUNCH_HOLE = 0x2
-- FALLOC_FL_UNSHARE_RANGE = 0x40
-- FALLOC_FL_ZERO_RANGE = 0x10
-- FD_CLOEXEC = 0x1
-- FD_SETSIZE = 0x400
-- FF0 = 0x0
-- FF1 = 0x8000
-- FFDLY = 0x8000
-- FLUSHO = 0x2000
-- FS_ENCRYPTION_MODE_AES_256_CBC = 0x3
-- FS_ENCRYPTION_MODE_AES_256_CTS = 0x4
-- FS_ENCRYPTION_MODE_AES_256_GCM = 0x2
-- FS_ENCRYPTION_MODE_AES_256_XTS = 0x1
-- FS_ENCRYPTION_MODE_INVALID = 0x0
-- FS_IOC_GET_ENCRYPTION_POLICY = 0x800c6615
-- FS_IOC_GET_ENCRYPTION_PWSALT = 0x80106614
-- FS_IOC_SET_ENCRYPTION_POLICY = 0x400c6613
-- FS_KEY_DESCRIPTOR_SIZE = 0x8
-- FS_KEY_DESC_PREFIX = "fscrypt:"
-- FS_KEY_DESC_PREFIX_SIZE = 0x8
-- FS_MAX_KEY_SIZE = 0x40
-- FS_POLICY_FLAGS_PAD_16 = 0x2
-- FS_POLICY_FLAGS_PAD_32 = 0x3
-- FS_POLICY_FLAGS_PAD_4 = 0x0
-- FS_POLICY_FLAGS_PAD_8 = 0x1
-- FS_POLICY_FLAGS_PAD_MASK = 0x3
-- FS_POLICY_FLAGS_VALID = 0x3
-- F_DUPFD = 0x0
-- F_DUPFD_CLOEXEC = 0x406
-- F_EXLCK = 0x4
-- F_GETFD = 0x1
-- F_GETFL = 0x3
-- F_GETLEASE = 0x401
-- F_GETLK = 0xe
-- F_GETLK64 = 0xe
-- F_GETOWN = 0x17
-- F_GETOWN_EX = 0x10
-- F_GETPIPE_SZ = 0x408
-- F_GETSIG = 0xb
-- F_LOCK = 0x1
-- F_NOTIFY = 0x402
-- F_OFD_GETLK = 0x24
-- F_OFD_SETLK = 0x25
-- F_OFD_SETLKW = 0x26
-- F_OK = 0x0
-- F_RDLCK = 0x0
-- F_SETFD = 0x2
-- F_SETFL = 0x4
-- F_SETLEASE = 0x400
-- F_SETLK = 0x6
-- F_SETLK64 = 0x6
-- F_SETLKW = 0x7
-- F_SETLKW64 = 0x7
-- F_SETOWN = 0x18
-- F_SETOWN_EX = 0xf
-- F_SETPIPE_SZ = 0x407
-- F_SETSIG = 0xa
-- F_SHLCK = 0x8
-- F_TEST = 0x3
-- F_TLOCK = 0x2
-- F_ULOCK = 0x0
-- F_UNLCK = 0x2
-- F_WRLCK = 0x1
-- GENL_ADMIN_PERM = 0x1
-- GENL_CMD_CAP_DO = 0x2
-- GENL_CMD_CAP_DUMP = 0x4
-- GENL_CMD_CAP_HASPOL = 0x8
-- GENL_HDRLEN = 0x4
-- GENL_ID_CTRL = 0x10
-- GENL_ID_PMCRAID = 0x12
-- GENL_ID_VFS_DQUOT = 0x11
-- GENL_MAX_ID = 0x3ff
-- GENL_MIN_ID = 0x10
-- GENL_NAMSIZ = 0x10
-- GENL_START_ALLOC = 0x13
-- GENL_UNS_ADMIN_PERM = 0x10
-- GRND_NONBLOCK = 0x1
-- GRND_RANDOM = 0x2
-- HUPCL = 0x400
-- IBSHIFT = 0x10
-- ICANON = 0x2
-- ICMPV6_FILTER = 0x1
-- ICRNL = 0x100
-- IEXTEN = 0x100
-- IFA_F_DADFAILED = 0x8
-- IFA_F_DEPRECATED = 0x20
-- IFA_F_HOMEADDRESS = 0x10
-- IFA_F_MANAGETEMPADDR = 0x100
-- IFA_F_MCAUTOJOIN = 0x400
-- IFA_F_NODAD = 0x2
-- IFA_F_NOPREFIXROUTE = 0x200
-- IFA_F_OPTIMISTIC = 0x4
-- IFA_F_PERMANENT = 0x80
-- IFA_F_SECONDARY = 0x1
-- IFA_F_STABLE_PRIVACY = 0x800
-- IFA_F_TEMPORARY = 0x1
-- IFA_F_TENTATIVE = 0x40
-- IFA_MAX = 0x8
-- IFF_ALLMULTI = 0x200
-- IFF_ATTACH_QUEUE = 0x200
-- IFF_AUTOMEDIA = 0x4000
-- IFF_BROADCAST = 0x2
-- IFF_DEBUG = 0x4
-- IFF_DETACH_QUEUE = 0x400
-- IFF_DORMANT = 0x20000
-- IFF_DYNAMIC = 0x8000
-- IFF_ECHO = 0x40000
-- IFF_LOOPBACK = 0x8
-- IFF_LOWER_UP = 0x10000
-- IFF_MASTER = 0x400
-- IFF_MULTICAST = 0x1000
-- IFF_MULTI_QUEUE = 0x100
-- IFF_NOARP = 0x80
-- IFF_NOFILTER = 0x1000
-- IFF_NOTRAILERS = 0x20
-- IFF_NO_PI = 0x1000
-- IFF_ONE_QUEUE = 0x2000
-- IFF_PERSIST = 0x800
-- IFF_POINTOPOINT = 0x10
-- IFF_PORTSEL = 0x2000
-- IFF_PROMISC = 0x100
-- IFF_RUNNING = 0x40
-- IFF_SLAVE = 0x800
-- IFF_TAP = 0x2
-- IFF_TUN = 0x1
-- IFF_TUN_EXCL = 0x8000
-- IFF_UP = 0x1
-- IFF_VNET_HDR = 0x4000
-- IFF_VOLATILE = 0x70c5a
-- IFNAMSIZ = 0x10
-- IGNBRK = 0x1
-- IGNCR = 0x80
-- IGNPAR = 0x4
-- IMAXBEL = 0x2000
-- INLCR = 0x40
-- INPCK = 0x10
-- IN_ACCESS = 0x1
-- IN_ALL_EVENTS = 0xfff
-- IN_ATTRIB = 0x4
-- IN_CLASSA_HOST = 0xffffff
-- IN_CLASSA_MAX = 0x80
-- IN_CLASSA_NET = 0xff000000
-- IN_CLASSA_NSHIFT = 0x18
-- IN_CLASSB_HOST = 0xffff
-- IN_CLASSB_MAX = 0x10000
-- IN_CLASSB_NET = 0xffff0000
-- IN_CLASSB_NSHIFT = 0x10
-- IN_CLASSC_HOST = 0xff
-- IN_CLASSC_NET = 0xffffff00
-- IN_CLASSC_NSHIFT = 0x8
-- IN_CLOEXEC = 0x80000
-- IN_CLOSE = 0x18
-- IN_CLOSE_NOWRITE = 0x10
-- IN_CLOSE_WRITE = 0x8
-- IN_CREATE = 0x100
-- IN_DELETE = 0x200
-- IN_DELETE_SELF = 0x400
-- IN_DONT_FOLLOW = 0x2000000
-- IN_EXCL_UNLINK = 0x4000000
-- IN_IGNORED = 0x8000
-- IN_ISDIR = 0x40000000
-- IN_LOOPBACKNET = 0x7f
-- IN_MASK_ADD = 0x20000000
-- IN_MODIFY = 0x2
-- IN_MOVE = 0xc0
-- IN_MOVED_FROM = 0x40
-- IN_MOVED_TO = 0x80
-- IN_MOVE_SELF = 0x800
-- IN_NONBLOCK = 0x80
-- IN_ONESHOT = 0x80000000
-- IN_ONLYDIR = 0x1000000
-- IN_OPEN = 0x20
-- IN_Q_OVERFLOW = 0x4000
-- IN_UNMOUNT = 0x2000
-- IPPROTO_AH = 0x33
-- IPPROTO_BEETPH = 0x5e
-- IPPROTO_COMP = 0x6c
-- IPPROTO_DCCP = 0x21
-- IPPROTO_DSTOPTS = 0x3c
-- IPPROTO_EGP = 0x8
-- IPPROTO_ENCAP = 0x62
-- IPPROTO_ESP = 0x32
-- IPPROTO_FRAGMENT = 0x2c
-- IPPROTO_GRE = 0x2f
-- IPPROTO_HOPOPTS = 0x0
-- IPPROTO_ICMP = 0x1
-- IPPROTO_ICMPV6 = 0x3a
-- IPPROTO_IDP = 0x16
-- IPPROTO_IGMP = 0x2
-- IPPROTO_IP = 0x0
-- IPPROTO_IPIP = 0x4
-- IPPROTO_IPV6 = 0x29
-- IPPROTO_MH = 0x87
-- IPPROTO_MPLS = 0x89
-- IPPROTO_MTP = 0x5c
-- IPPROTO_NONE = 0x3b
-- IPPROTO_PIM = 0x67
-- IPPROTO_PUP = 0xc
-- IPPROTO_RAW = 0xff
-- IPPROTO_ROUTING = 0x2b
-- IPPROTO_RSVP = 0x2e
-- IPPROTO_SCTP = 0x84
-- IPPROTO_TCP = 0x6
-- IPPROTO_TP = 0x1d
-- IPPROTO_UDP = 0x11
-- IPPROTO_UDPLITE = 0x88
-- IPV6_2292DSTOPTS = 0x4
-- IPV6_2292HOPLIMIT = 0x8
-- IPV6_2292HOPOPTS = 0x3
-- IPV6_2292PKTINFO = 0x2
-- IPV6_2292PKTOPTIONS = 0x6
-- IPV6_2292RTHDR = 0x5
-- IPV6_ADDRFORM = 0x1
-- IPV6_ADD_MEMBERSHIP = 0x14
-- IPV6_AUTHHDR = 0xa
-- IPV6_CHECKSUM = 0x7
-- IPV6_DONTFRAG = 0x3e
-- IPV6_DROP_MEMBERSHIP = 0x15
-- IPV6_DSTOPTS = 0x3b
-- IPV6_HDRINCL = 0x24
-- IPV6_HOPLIMIT = 0x34
-- IPV6_HOPOPTS = 0x36
-- IPV6_IPSEC_POLICY = 0x22
-- IPV6_JOIN_ANYCAST = 0x1b
-- IPV6_JOIN_GROUP = 0x14
-- IPV6_LEAVE_ANYCAST = 0x1c
-- IPV6_LEAVE_GROUP = 0x15
-- IPV6_MTU = 0x18
-- IPV6_MTU_DISCOVER = 0x17
-- IPV6_MULTICAST_HOPS = 0x12
-- IPV6_MULTICAST_IF = 0x11
-- IPV6_MULTICAST_LOOP = 0x13
-- IPV6_NEXTHOP = 0x9
-- IPV6_PATHMTU = 0x3d
-- IPV6_PKTINFO = 0x32
-- IPV6_PMTUDISC_DO = 0x2
-- IPV6_PMTUDISC_DONT = 0x0
-- IPV6_PMTUDISC_INTERFACE = 0x4
-- IPV6_PMTUDISC_OMIT = 0x5
-- IPV6_PMTUDISC_PROBE = 0x3
-- IPV6_PMTUDISC_WANT = 0x1
-- IPV6_RECVDSTOPTS = 0x3a
-- IPV6_RECVERR = 0x19
-- IPV6_RECVHOPLIMIT = 0x33
-- IPV6_RECVHOPOPTS = 0x35
-- IPV6_RECVPATHMTU = 0x3c
-- IPV6_RECVPKTINFO = 0x31
-- IPV6_RECVRTHDR = 0x38
-- IPV6_RECVTCLASS = 0x42
-- IPV6_ROUTER_ALERT = 0x16
-- IPV6_RTHDR = 0x39
-- IPV6_RTHDRDSTOPTS = 0x37
-- IPV6_RTHDR_LOOSE = 0x0
-- IPV6_RTHDR_STRICT = 0x1
-- IPV6_RTHDR_TYPE_0 = 0x0
-- IPV6_RXDSTOPTS = 0x3b
-- IPV6_RXHOPOPTS = 0x36
-- IPV6_TCLASS = 0x43
-- IPV6_UNICAST_HOPS = 0x10
-- IPV6_V6ONLY = 0x1a
-- IPV6_XFRM_POLICY = 0x23
-- IP_ADD_MEMBERSHIP = 0x23
-- IP_ADD_SOURCE_MEMBERSHIP = 0x27
-- IP_BIND_ADDRESS_NO_PORT = 0x18
-- IP_BLOCK_SOURCE = 0x26
-- IP_CHECKSUM = 0x17
-- IP_DEFAULT_MULTICAST_LOOP = 0x1
-- IP_DEFAULT_MULTICAST_TTL = 0x1
-- IP_DF = 0x4000
-- IP_DROP_MEMBERSHIP = 0x24
-- IP_DROP_SOURCE_MEMBERSHIP = 0x28
-- IP_FREEBIND = 0xf
-- IP_HDRINCL = 0x3
-- IP_IPSEC_POLICY = 0x10
-- IP_MAXPACKET = 0xffff
-- IP_MAX_MEMBERSHIPS = 0x14
-- IP_MF = 0x2000
-- IP_MINTTL = 0x15
-- IP_MSFILTER = 0x29
-- IP_MSS = 0x240
-- IP_MTU = 0xe
-- IP_MTU_DISCOVER = 0xa
-- IP_MULTICAST_ALL = 0x31
-- IP_MULTICAST_IF = 0x20
-- IP_MULTICAST_LOOP = 0x22
-- IP_MULTICAST_TTL = 0x21
-- IP_NODEFRAG = 0x16
-- IP_OFFMASK = 0x1fff
-- IP_OPTIONS = 0x4
-- IP_ORIGDSTADDR = 0x14
-- IP_PASSSEC = 0x12
-- IP_PKTINFO = 0x8
-- IP_PKTOPTIONS = 0x9
-- IP_PMTUDISC = 0xa
-- IP_PMTUDISC_DO = 0x2
-- IP_PMTUDISC_DONT = 0x0
-- IP_PMTUDISC_INTERFACE = 0x4
-- IP_PMTUDISC_OMIT = 0x5
-- IP_PMTUDISC_PROBE = 0x3
-- IP_PMTUDISC_WANT = 0x1
-- IP_RECVERR = 0xb
-- IP_RECVOPTS = 0x6
-- IP_RECVORIGDSTADDR = 0x14
-- IP_RECVRETOPTS = 0x7
-- IP_RECVTOS = 0xd
-- IP_RECVTTL = 0xc
-- IP_RETOPTS = 0x7
-- IP_RF = 0x8000
-- IP_ROUTER_ALERT = 0x5
-- IP_TOS = 0x1
-- IP_TRANSPARENT = 0x13
-- IP_TTL = 0x2
-- IP_UNBLOCK_SOURCE = 0x25
-- IP_UNICAST_IF = 0x32
-- IP_XFRM_POLICY = 0x11
-- ISIG = 0x1
-- ISTRIP = 0x20
-- IUCLC = 0x200
-- IUTF8 = 0x4000
-- IXANY = 0x800
-- IXOFF = 0x1000
-- IXON = 0x400
-- KEYCTL_ASSUME_AUTHORITY = 0x10
-- KEYCTL_CHOWN = 0x4
-- KEYCTL_CLEAR = 0x7
-- KEYCTL_DESCRIBE = 0x6
-- KEYCTL_DH_COMPUTE = 0x17
-- KEYCTL_GET_KEYRING_ID = 0x0
-- KEYCTL_GET_PERSISTENT = 0x16
-- KEYCTL_GET_SECURITY = 0x11
-- KEYCTL_INSTANTIATE = 0xc
-- KEYCTL_INSTANTIATE_IOV = 0x14
-- KEYCTL_INVALIDATE = 0x15
-- KEYCTL_JOIN_SESSION_KEYRING = 0x1
-- KEYCTL_LINK = 0x8
-- KEYCTL_NEGATE = 0xd
-- KEYCTL_READ = 0xb
-- KEYCTL_REJECT = 0x13
-- KEYCTL_REVOKE = 0x3
-- KEYCTL_SEARCH = 0xa
-- KEYCTL_SESSION_TO_PARENT = 0x12
-- KEYCTL_SETPERM = 0x5
-- KEYCTL_SET_REQKEY_KEYRING = 0xe
-- KEYCTL_SET_TIMEOUT = 0xf
-- KEYCTL_UNLINK = 0x9
-- KEYCTL_UPDATE = 0x2
-- KEY_REQKEY_DEFL_DEFAULT = 0x0
-- KEY_REQKEY_DEFL_GROUP_KEYRING = 0x6
-- KEY_REQKEY_DEFL_NO_CHANGE = -0x1
-- KEY_REQKEY_DEFL_PROCESS_KEYRING = 0x2
-- KEY_REQKEY_DEFL_REQUESTOR_KEYRING = 0x7
-- KEY_REQKEY_DEFL_SESSION_KEYRING = 0x3
-- KEY_REQKEY_DEFL_THREAD_KEYRING = 0x1
-- KEY_REQKEY_DEFL_USER_KEYRING = 0x4
-- KEY_REQKEY_DEFL_USER_SESSION_KEYRING = 0x5
-- KEY_SPEC_GROUP_KEYRING = -0x6
-- KEY_SPEC_PROCESS_KEYRING = -0x2
-- KEY_SPEC_REQKEY_AUTH_KEY = -0x7
-- KEY_SPEC_REQUESTOR_KEYRING = -0x8
-- KEY_SPEC_SESSION_KEYRING = -0x3
-- KEY_SPEC_THREAD_KEYRING = -0x1
-- KEY_SPEC_USER_KEYRING = -0x4
-- KEY_SPEC_USER_SESSION_KEYRING = -0x5
-- LINUX_REBOOT_CMD_CAD_OFF = 0x0
-- LINUX_REBOOT_CMD_CAD_ON = 0x89abcdef
-- LINUX_REBOOT_CMD_HALT = 0xcdef0123
-- LINUX_REBOOT_CMD_KEXEC = 0x45584543
-- LINUX_REBOOT_CMD_POWER_OFF = 0x4321fedc
-- LINUX_REBOOT_CMD_RESTART = 0x1234567
-- LINUX_REBOOT_CMD_RESTART2 = 0xa1b2c3d4
-- LINUX_REBOOT_CMD_SW_SUSPEND = 0xd000fce2
-- LINUX_REBOOT_MAGIC1 = 0xfee1dead
-- LINUX_REBOOT_MAGIC2 = 0x28121969
-- LOCK_EX = 0x2
-- LOCK_NB = 0x4
-- LOCK_SH = 0x1
-- LOCK_UN = 0x8
-- MADV_DODUMP = 0x11
-- MADV_DOFORK = 0xb
-- MADV_DONTDUMP = 0x10
-- MADV_DONTFORK = 0xa
-- MADV_DONTNEED = 0x4
-- MADV_FREE = 0x8
-- MADV_HUGEPAGE = 0xe
-- MADV_HWPOISON = 0x64
-- MADV_MERGEABLE = 0xc
-- MADV_NOHUGEPAGE = 0xf
-- MADV_NORMAL = 0x0
-- MADV_RANDOM = 0x1
-- MADV_REMOVE = 0x9
-- MADV_SEQUENTIAL = 0x2
-- MADV_UNMERGEABLE = 0xd
-- MADV_WILLNEED = 0x3
-- MAP_ANON = 0x800
-- MAP_ANONYMOUS = 0x800
-- MAP_DENYWRITE = 0x2000
-- MAP_EXECUTABLE = 0x4000
-- MAP_FILE = 0x0
-- MAP_FIXED = 0x10
-- MAP_GROWSDOWN = 0x1000
-- MAP_HUGETLB = 0x80000
-- MAP_HUGE_MASK = 0x3f
-- MAP_HUGE_SHIFT = 0x1a
-- MAP_LOCKED = 0x8000
-- MAP_NONBLOCK = 0x20000
-- MAP_NORESERVE = 0x400
-- MAP_POPULATE = 0x10000
-- MAP_PRIVATE = 0x2
-- MAP_RENAME = 0x800
-- MAP_SHARED = 0x1
-- MAP_STACK = 0x40000
-- MAP_TYPE = 0xf
-- MCL_CURRENT = 0x1
-- MCL_FUTURE = 0x2
-- MCL_ONFAULT = 0x4
-- MNT_DETACH = 0x2
-- MNT_EXPIRE = 0x4
-- MNT_FORCE = 0x1
-- MSG_BATCH = 0x40000
-- MSG_CMSG_CLOEXEC = 0x40000000
-- MSG_CONFIRM = 0x800
-- MSG_CTRUNC = 0x8
-- MSG_DONTROUTE = 0x4
-- MSG_DONTWAIT = 0x40
-- MSG_EOR = 0x80
-- MSG_ERRQUEUE = 0x2000
-- MSG_FASTOPEN = 0x20000000
-- MSG_FIN = 0x200
-- MSG_MORE = 0x8000
-- MSG_NOSIGNAL = 0x4000
-- MSG_OOB = 0x1
-- MSG_PEEK = 0x2
-- MSG_PROXY = 0x10
-- MSG_RST = 0x1000
-- MSG_SYN = 0x400
-- MSG_TRUNC = 0x20
-- MSG_TRYHARD = 0x4
-- MSG_WAITALL = 0x100
-- MSG_WAITFORONE = 0x10000
-- MS_ACTIVE = 0x40000000
-- MS_ASYNC = 0x1
-- MS_BIND = 0x1000
-- MS_BORN = 0x20000000
-- MS_DIRSYNC = 0x80
-- MS_INVALIDATE = 0x2
-- MS_I_VERSION = 0x800000
-- MS_KERNMOUNT = 0x400000
-- MS_LAZYTIME = 0x2000000
-- MS_MANDLOCK = 0x40
-- MS_MGC_MSK = 0xffff0000
-- MS_MGC_VAL = 0xc0ed0000
-- MS_MOVE = 0x2000
-- MS_NOATIME = 0x400
-- MS_NODEV = 0x4
-- MS_NODIRATIME = 0x800
-- MS_NOEXEC = 0x8
-- MS_NOREMOTELOCK = 0x8000000
-- MS_NOSEC = 0x10000000
-- MS_NOSUID = 0x2
-- MS_NOUSER = -0x80000000
-- MS_POSIXACL = 0x10000
-- MS_PRIVATE = 0x40000
-- MS_RDONLY = 0x1
-- MS_REC = 0x4000
-- MS_RELATIME = 0x200000
-- MS_REMOUNT = 0x20
-- MS_RMT_MASK = 0x2800051
-- MS_SHARED = 0x100000
-- MS_SILENT = 0x8000
-- MS_SLAVE = 0x80000
-- MS_STRICTATIME = 0x1000000
-- MS_SYNC = 0x4
-- MS_SYNCHRONOUS = 0x10
-- MS_UNBINDABLE = 0x20000
-- MS_VERBOSE = 0x8000
-- NAME_MAX = 0xff
-- NETLINK_ADD_MEMBERSHIP = 0x1
-- NETLINK_AUDIT = 0x9
-- NETLINK_BROADCAST_ERROR = 0x4
-- NETLINK_CAP_ACK = 0xa
-- NETLINK_CONNECTOR = 0xb
-- NETLINK_CRYPTO = 0x15
-- NETLINK_DNRTMSG = 0xe
-- NETLINK_DROP_MEMBERSHIP = 0x2
-- NETLINK_ECRYPTFS = 0x13
-- NETLINK_FIB_LOOKUP = 0xa
-- NETLINK_FIREWALL = 0x3
-- NETLINK_GENERIC = 0x10
-- NETLINK_INET_DIAG = 0x4
-- NETLINK_IP6_FW = 0xd
-- NETLINK_ISCSI = 0x8
-- NETLINK_KOBJECT_UEVENT = 0xf
-- NETLINK_LISTEN_ALL_NSID = 0x8
-- NETLINK_LIST_MEMBERSHIPS = 0x9
-- NETLINK_NETFILTER = 0xc
-- NETLINK_NFLOG = 0x5
-- NETLINK_NO_ENOBUFS = 0x5
-- NETLINK_PKTINFO = 0x3
-- NETLINK_RDMA = 0x14
-- NETLINK_ROUTE = 0x0
-- NETLINK_RX_RING = 0x6
-- NETLINK_SCSITRANSPORT = 0x12
-- NETLINK_SELINUX = 0x7
-- NETLINK_SOCK_DIAG = 0x4
-- NETLINK_TX_RING = 0x7
-- NETLINK_UNUSED = 0x1
-- NETLINK_USERSOCK = 0x2
-- NETLINK_XFRM = 0x6
-- NL0 = 0x0
-- NL1 = 0x100
-- NLA_ALIGNTO = 0x4
-- NLA_F_NESTED = 0x8000
-- NLA_F_NET_BYTEORDER = 0x4000
-- NLA_HDRLEN = 0x4
-- NLDLY = 0x100
-- NLMSG_ALIGNTO = 0x4
-- NLMSG_DONE = 0x3
-- NLMSG_ERROR = 0x2
-- NLMSG_HDRLEN = 0x10
-- NLMSG_MIN_TYPE = 0x10
-- NLMSG_NOOP = 0x1
-- NLMSG_OVERRUN = 0x4
-- NLM_F_ACK = 0x4
-- NLM_F_APPEND = 0x800
-- NLM_F_ATOMIC = 0x400
-- NLM_F_CREATE = 0x400
-- NLM_F_DUMP = 0x300
-- NLM_F_DUMP_FILTERED = 0x20
-- NLM_F_DUMP_INTR = 0x10
-- NLM_F_ECHO = 0x8
-- NLM_F_EXCL = 0x200
-- NLM_F_MATCH = 0x200
-- NLM_F_MULTI = 0x2
-- NLM_F_REPLACE = 0x100
-- NLM_F_REQUEST = 0x1
-- NLM_F_ROOT = 0x100
-- NOFLSH = 0x80
-- OCRNL = 0x8
-- OFDEL = 0x80
-- OFILL = 0x40
-- OLCUC = 0x2
-- ONLCR = 0x4
-- ONLRET = 0x20
-- ONOCR = 0x10
-- OPOST = 0x1
-- O_ACCMODE = 0x3
-- O_APPEND = 0x8
-- O_ASYNC = 0x1000
-- O_CLOEXEC = 0x80000
-- O_CREAT = 0x100
-- O_DIRECT = 0x8000
-- O_DIRECTORY = 0x10000
-- O_DSYNC = 0x10
-- O_EXCL = 0x400
-- O_FSYNC = 0x4010
-- O_LARGEFILE = 0x0
-- O_NDELAY = 0x80
-- O_NOATIME = 0x40000
-- O_NOCTTY = 0x800
-- O_NOFOLLOW = 0x20000
-- O_NONBLOCK = 0x80
-- O_PATH = 0x200000
-- O_RDONLY = 0x0
-- O_RDWR = 0x2
-- O_RSYNC = 0x4010
-- O_SYNC = 0x4010
-- O_TMPFILE = 0x410000
-- O_TRUNC = 0x200
-- O_WRONLY = 0x1
-- PACKET_ADD_MEMBERSHIP = 0x1
-- PACKET_AUXDATA = 0x8
-- PACKET_BROADCAST = 0x1
-- PACKET_COPY_THRESH = 0x7
-- PACKET_DROP_MEMBERSHIP = 0x2
-- PACKET_FANOUT = 0x12
-- PACKET_FANOUT_CBPF = 0x6
-- PACKET_FANOUT_CPU = 0x2
-- PACKET_FANOUT_DATA = 0x16
-- PACKET_FANOUT_EBPF = 0x7
-- PACKET_FANOUT_FLAG_DEFRAG = 0x8000
-- PACKET_FANOUT_FLAG_ROLLOVER = 0x1000
-- PACKET_FANOUT_HASH = 0x0
-- PACKET_FANOUT_LB = 0x1
-- PACKET_FANOUT_QM = 0x5
-- PACKET_FANOUT_RND = 0x4
-- PACKET_FANOUT_ROLLOVER = 0x3
-- PACKET_FASTROUTE = 0x6
-- PACKET_HDRLEN = 0xb
-- PACKET_HOST = 0x0
-- PACKET_KERNEL = 0x7
-- PACKET_LOOPBACK = 0x5
-- PACKET_LOSS = 0xe
-- PACKET_MR_ALLMULTI = 0x2
-- PACKET_MR_MULTICAST = 0x0
-- PACKET_MR_PROMISC = 0x1
-- PACKET_MR_UNICAST = 0x3
-- PACKET_MULTICAST = 0x2
-- PACKET_ORIGDEV = 0x9
-- PACKET_OTHERHOST = 0x3
-- PACKET_OUTGOING = 0x4
-- PACKET_QDISC_BYPASS = 0x14
-- PACKET_RECV_OUTPUT = 0x3
-- PACKET_RESERVE = 0xc
-- PACKET_ROLLOVER_STATS = 0x15
-- PACKET_RX_RING = 0x5
-- PACKET_STATISTICS = 0x6
-- PACKET_TIMESTAMP = 0x11
-- PACKET_TX_HAS_OFF = 0x13
-- PACKET_TX_RING = 0xd
-- PACKET_TX_TIMESTAMP = 0x10
-- PACKET_USER = 0x6
-- PACKET_VERSION = 0xa
-- PACKET_VNET_HDR = 0xf
-- PARENB = 0x100
-- PARITY_CRC16_PR0 = 0x2
-- PARITY_CRC16_PR0_CCITT = 0x4
-- PARITY_CRC16_PR1 = 0x3
-- PARITY_CRC16_PR1_CCITT = 0x5
-- PARITY_CRC32_PR0_CCITT = 0x6
-- PARITY_CRC32_PR1_CCITT = 0x7
-- PARITY_DEFAULT = 0x0
-- PARITY_NONE = 0x1
-- PARMRK = 0x8
-- PARODD = 0x200
-- PENDIN = 0x4000
-- PERF_EVENT_IOC_DISABLE = 0x20002401
-- PERF_EVENT_IOC_ENABLE = 0x20002400
-- PERF_EVENT_IOC_ID = 0x40082407
-- PERF_EVENT_IOC_PAUSE_OUTPUT = 0x80042409
-- PERF_EVENT_IOC_PERIOD = 0x80082404
-- PERF_EVENT_IOC_REFRESH = 0x20002402
-- PERF_EVENT_IOC_RESET = 0x20002403
-- PERF_EVENT_IOC_SET_BPF = 0x80042408
-- PERF_EVENT_IOC_SET_FILTER = 0x80082406
-- PERF_EVENT_IOC_SET_OUTPUT = 0x20002405
-- PRIO_PGRP = 0x1
-- PRIO_PROCESS = 0x0
-- PRIO_USER = 0x2
-- PROT_EXEC = 0x4
-- PROT_GROWSDOWN = 0x1000000
-- PROT_GROWSUP = 0x2000000
-- PROT_NONE = 0x0
-- PROT_READ = 0x1
-- PROT_WRITE = 0x2
-- PR_CAPBSET_DROP = 0x18
-- PR_CAPBSET_READ = 0x17
-- PR_CAP_AMBIENT = 0x2f
-- PR_CAP_AMBIENT_CLEAR_ALL = 0x4
-- PR_CAP_AMBIENT_IS_SET = 0x1
-- PR_CAP_AMBIENT_LOWER = 0x3
-- PR_CAP_AMBIENT_RAISE = 0x2
-- PR_ENDIAN_BIG = 0x0
-- PR_ENDIAN_LITTLE = 0x1
-- PR_ENDIAN_PPC_LITTLE = 0x2
-- PR_FPEMU_NOPRINT = 0x1
-- PR_FPEMU_SIGFPE = 0x2
-- PR_FP_EXC_ASYNC = 0x2
-- PR_FP_EXC_DISABLED = 0x0
-- PR_FP_EXC_DIV = 0x10000
-- PR_FP_EXC_INV = 0x100000
-- PR_FP_EXC_NONRECOV = 0x1
-- PR_FP_EXC_OVF = 0x20000
-- PR_FP_EXC_PRECISE = 0x3
-- PR_FP_EXC_RES = 0x80000
-- PR_FP_EXC_SW_ENABLE = 0x80
-- PR_FP_EXC_UND = 0x40000
-- PR_FP_MODE_FR = 0x1
-- PR_FP_MODE_FRE = 0x2
-- PR_GET_CHILD_SUBREAPER = 0x25
-- PR_GET_DUMPABLE = 0x3
-- PR_GET_ENDIAN = 0x13
-- PR_GET_FPEMU = 0x9
-- PR_GET_FPEXC = 0xb
-- PR_GET_FP_MODE = 0x2e
-- PR_GET_KEEPCAPS = 0x7
-- PR_GET_NAME = 0x10
-- PR_GET_NO_NEW_PRIVS = 0x27
-- PR_GET_PDEATHSIG = 0x2
-- PR_GET_SECCOMP = 0x15
-- PR_GET_SECUREBITS = 0x1b
-- PR_GET_THP_DISABLE = 0x2a
-- PR_GET_TID_ADDRESS = 0x28
-- PR_GET_TIMERSLACK = 0x1e
-- PR_GET_TIMING = 0xd
-- PR_GET_TSC = 0x19
-- PR_GET_UNALIGN = 0x5
-- PR_MCE_KILL = 0x21
-- PR_MCE_KILL_CLEAR = 0x0
-- PR_MCE_KILL_DEFAULT = 0x2
-- PR_MCE_KILL_EARLY = 0x1
-- PR_MCE_KILL_GET = 0x22
-- PR_MCE_KILL_LATE = 0x0
-- PR_MCE_KILL_SET = 0x1
-- PR_MPX_DISABLE_MANAGEMENT = 0x2c
-- PR_MPX_ENABLE_MANAGEMENT = 0x2b
-- PR_SET_CHILD_SUBREAPER = 0x24
-- PR_SET_DUMPABLE = 0x4
-- PR_SET_ENDIAN = 0x14
-- PR_SET_FPEMU = 0xa
-- PR_SET_FPEXC = 0xc
-- PR_SET_FP_MODE = 0x2d
-- PR_SET_KEEPCAPS = 0x8
-- PR_SET_MM = 0x23
-- PR_SET_MM_ARG_END = 0x9
-- PR_SET_MM_ARG_START = 0x8
-- PR_SET_MM_AUXV = 0xc
-- PR_SET_MM_BRK = 0x7
-- PR_SET_MM_END_CODE = 0x2
-- PR_SET_MM_END_DATA = 0x4
-- PR_SET_MM_ENV_END = 0xb
-- PR_SET_MM_ENV_START = 0xa
-- PR_SET_MM_EXE_FILE = 0xd
-- PR_SET_MM_MAP = 0xe
-- PR_SET_MM_MAP_SIZE = 0xf
-- PR_SET_MM_START_BRK = 0x6
-- PR_SET_MM_START_CODE = 0x1
-- PR_SET_MM_START_DATA = 0x3
-- PR_SET_MM_START_STACK = 0x5
-- PR_SET_NAME = 0xf
-- PR_SET_NO_NEW_PRIVS = 0x26
-- PR_SET_PDEATHSIG = 0x1
-- PR_SET_PTRACER = 0x59616d61
-- PR_SET_PTRACER_ANY = -0x1
-- PR_SET_SECCOMP = 0x16
-- PR_SET_SECUREBITS = 0x1c
-- PR_SET_THP_DISABLE = 0x29
-- PR_SET_TIMERSLACK = 0x1d
-- PR_SET_TIMING = 0xe
-- PR_SET_TSC = 0x1a
-- PR_SET_UNALIGN = 0x6
-- PR_TASK_PERF_EVENTS_DISABLE = 0x1f
-- PR_TASK_PERF_EVENTS_ENABLE = 0x20
-- PR_TIMING_STATISTICAL = 0x0
-- PR_TIMING_TIMESTAMP = 0x1
-- PR_TSC_ENABLE = 0x1
-- PR_TSC_SIGSEGV = 0x2
-- PR_UNALIGN_NOPRINT = 0x1
-- PR_UNALIGN_SIGBUS = 0x2
-- PTRACE_ATTACH = 0x10
-- PTRACE_CONT = 0x7
-- PTRACE_DETACH = 0x11
-- PTRACE_EVENT_CLONE = 0x3
-- PTRACE_EVENT_EXEC = 0x4
-- PTRACE_EVENT_EXIT = 0x6
-- PTRACE_EVENT_FORK = 0x1
-- PTRACE_EVENT_SECCOMP = 0x7
-- PTRACE_EVENT_STOP = 0x80
-- PTRACE_EVENT_VFORK = 0x2
-- PTRACE_EVENT_VFORK_DONE = 0x5
-- PTRACE_GETEVENTMSG = 0x4201
-- PTRACE_GETFPREGS = 0xe
-- PTRACE_GETREGS = 0xc
-- PTRACE_GETREGSET = 0x4204
-- PTRACE_GETSIGINFO = 0x4202
-- PTRACE_GETSIGMASK = 0x420a
-- PTRACE_GET_THREAD_AREA = 0x19
-- PTRACE_GET_THREAD_AREA_3264 = 0xc4
-- PTRACE_GET_WATCH_REGS = 0xd0
-- PTRACE_INTERRUPT = 0x4207
-- PTRACE_KILL = 0x8
-- PTRACE_LISTEN = 0x4208
-- PTRACE_OLDSETOPTIONS = 0x15
-- PTRACE_O_EXITKILL = 0x100000
-- PTRACE_O_MASK = 0x3000ff
-- PTRACE_O_SUSPEND_SECCOMP = 0x200000
-- PTRACE_O_TRACECLONE = 0x8
-- PTRACE_O_TRACEEXEC = 0x10
-- PTRACE_O_TRACEEXIT = 0x40
-- PTRACE_O_TRACEFORK = 0x2
-- PTRACE_O_TRACESECCOMP = 0x80
-- PTRACE_O_TRACESYSGOOD = 0x1
-- PTRACE_O_TRACEVFORK = 0x4
-- PTRACE_O_TRACEVFORKDONE = 0x20
-- PTRACE_PEEKDATA = 0x2
-- PTRACE_PEEKDATA_3264 = 0xc1
-- PTRACE_PEEKSIGINFO = 0x4209
-- PTRACE_PEEKSIGINFO_SHARED = 0x1
-- PTRACE_PEEKTEXT = 0x1
-- PTRACE_PEEKTEXT_3264 = 0xc0
-- PTRACE_PEEKUSR = 0x3
-- PTRACE_POKEDATA = 0x5
-- PTRACE_POKEDATA_3264 = 0xc3
-- PTRACE_POKETEXT = 0x4
-- PTRACE_POKETEXT_3264 = 0xc2
-- PTRACE_POKEUSR = 0x6
-- PTRACE_SECCOMP_GET_FILTER = 0x420c
-- PTRACE_SEIZE = 0x4206
-- PTRACE_SETFPREGS = 0xf
-- PTRACE_SETOPTIONS = 0x4200
-- PTRACE_SETREGS = 0xd
-- PTRACE_SETREGSET = 0x4205
-- PTRACE_SETSIGINFO = 0x4203
-- PTRACE_SETSIGMASK = 0x420b
-- PTRACE_SET_THREAD_AREA = 0x1a
-- PTRACE_SET_WATCH_REGS = 0xd1
-- PTRACE_SINGLESTEP = 0x9
-- PTRACE_SYSCALL = 0x18
-- PTRACE_TRACEME = 0x0
-- RLIMIT_AS = 0x6
-- RLIMIT_CORE = 0x4
-- RLIMIT_CPU = 0x0
-- RLIMIT_DATA = 0x2
-- RLIMIT_FSIZE = 0x1
-- RLIMIT_LOCKS = 0xa
-- RLIMIT_MEMLOCK = 0x9
-- RLIMIT_MSGQUEUE = 0xc
-- RLIMIT_NICE = 0xd
-- RLIMIT_NOFILE = 0x5
-- RLIMIT_NPROC = 0x8
-- RLIMIT_RSS = 0x7
-- RLIMIT_RTPRIO = 0xe
-- RLIMIT_RTTIME = 0xf
-- RLIMIT_SIGPENDING = 0xb
-- RLIMIT_STACK = 0x3
-- RLIM_INFINITY = -0x1
-- RTAX_ADVMSS = 0x8
-- RTAX_CC_ALGO = 0x10
-- RTAX_CWND = 0x7
-- RTAX_FEATURES = 0xc
-- RTAX_FEATURE_ALLFRAG = 0x8
-- RTAX_FEATURE_ECN = 0x1
-- RTAX_FEATURE_MASK = 0xf
-- RTAX_FEATURE_SACK = 0x2
-- RTAX_FEATURE_TIMESTAMP = 0x4
-- RTAX_HOPLIMIT = 0xa
-- RTAX_INITCWND = 0xb
-- RTAX_INITRWND = 0xe
-- RTAX_LOCK = 0x1
-- RTAX_MAX = 0x10
-- RTAX_MTU = 0x2
-- RTAX_QUICKACK = 0xf
-- RTAX_REORDERING = 0x9
-- RTAX_RTO_MIN = 0xd
-- RTAX_RTT = 0x4
-- RTAX_RTTVAR = 0x5
-- RTAX_SSTHRESH = 0x6
-- RTAX_UNSPEC = 0x0
-- RTAX_WINDOW = 0x3
-- RTA_ALIGNTO = 0x4
-- RTA_MAX = 0x19
-- RTCF_DIRECTSRC = 0x4000000
-- RTCF_DOREDIRECT = 0x1000000
-- RTCF_LOG = 0x2000000
-- RTCF_MASQ = 0x400000
-- RTCF_NAT = 0x800000
-- RTCF_VALVE = 0x200000
-- RTF_ADDRCLASSMASK = 0xf8000000
-- RTF_ADDRCONF = 0x40000
-- RTF_ALLONLINK = 0x20000
-- RTF_BROADCAST = 0x10000000
-- RTF_CACHE = 0x1000000
-- RTF_DEFAULT = 0x10000
-- RTF_DYNAMIC = 0x10
-- RTF_FLOW = 0x2000000
-- RTF_GATEWAY = 0x2
-- RTF_HOST = 0x4
-- RTF_INTERFACE = 0x40000000
-- RTF_IRTT = 0x100
-- RTF_LINKRT = 0x100000
-- RTF_LOCAL = 0x80000000
-- RTF_MODIFIED = 0x20
-- RTF_MSS = 0x40
-- RTF_MTU = 0x40
-- RTF_MULTICAST = 0x20000000
-- RTF_NAT = 0x8000000
-- RTF_NOFORWARD = 0x1000
-- RTF_NONEXTHOP = 0x200000
-- RTF_NOPMTUDISC = 0x4000
-- RTF_POLICY = 0x4000000
-- RTF_REINSTATE = 0x8
-- RTF_REJECT = 0x200
-- RTF_STATIC = 0x400
-- RTF_THROW = 0x2000
-- RTF_UP = 0x1
-- RTF_WINDOW = 0x80
-- RTF_XRESOLVE = 0x800
-- RTM_BASE = 0x10
-- RTM_DELACTION = 0x31
-- RTM_DELADDR = 0x15
-- RTM_DELADDRLABEL = 0x49
-- RTM_DELLINK = 0x11
-- RTM_DELMDB = 0x55
-- RTM_DELNEIGH = 0x1d
-- RTM_DELNSID = 0x59
-- RTM_DELQDISC = 0x25
-- RTM_DELROUTE = 0x19
-- RTM_DELRULE = 0x21
-- RTM_DELTCLASS = 0x29
-- RTM_DELTFILTER = 0x2d
-- RTM_F_CLONED = 0x200
-- RTM_F_EQUALIZE = 0x400
-- RTM_F_LOOKUP_TABLE = 0x1000
-- RTM_F_NOTIFY = 0x100
-- RTM_F_PREFIX = 0x800
-- RTM_GETACTION = 0x32
-- RTM_GETADDR = 0x16
-- RTM_GETADDRLABEL = 0x4a
-- RTM_GETANYCAST = 0x3e
-- RTM_GETDCB = 0x4e
-- RTM_GETLINK = 0x12
-- RTM_GETMDB = 0x56
-- RTM_GETMULTICAST = 0x3a
-- RTM_GETNEIGH = 0x1e
-- RTM_GETNEIGHTBL = 0x42
-- RTM_GETNETCONF = 0x52
-- RTM_GETNSID = 0x5a
-- RTM_GETQDISC = 0x26
-- RTM_GETROUTE = 0x1a
-- RTM_GETRULE = 0x22
-- RTM_GETSTATS = 0x5e
-- RTM_GETTCLASS = 0x2a
-- RTM_GETTFILTER = 0x2e
-- RTM_MAX = 0x5f
-- RTM_NEWACTION = 0x30
-- RTM_NEWADDR = 0x14
-- RTM_NEWADDRLABEL = 0x48
-- RTM_NEWLINK = 0x10
-- RTM_NEWMDB = 0x54
-- RTM_NEWNDUSEROPT = 0x44
-- RTM_NEWNEIGH = 0x1c
-- RTM_NEWNEIGHTBL = 0x40
-- RTM_NEWNETCONF = 0x50
-- RTM_NEWNSID = 0x58
-- RTM_NEWPREFIX = 0x34
-- RTM_NEWQDISC = 0x24
-- RTM_NEWROUTE = 0x18
-- RTM_NEWRULE = 0x20
-- RTM_NEWSTATS = 0x5c
-- RTM_NEWTCLASS = 0x28
-- RTM_NEWTFILTER = 0x2c
-- RTM_NR_FAMILIES = 0x14
-- RTM_NR_MSGTYPES = 0x50
-- RTM_SETDCB = 0x4f
-- RTM_SETLINK = 0x13
-- RTM_SETNEIGHTBL = 0x43
-- RTNH_ALIGNTO = 0x4
-- RTNH_COMPARE_MASK = 0x19
-- RTNH_F_DEAD = 0x1
-- RTNH_F_LINKDOWN = 0x10
-- RTNH_F_OFFLOAD = 0x8
-- RTNH_F_ONLINK = 0x4
-- RTNH_F_PERVASIVE = 0x2
-- RTN_MAX = 0xb
-- RTPROT_BABEL = 0x2a
-- RTPROT_BIRD = 0xc
-- RTPROT_BOOT = 0x3
-- RTPROT_DHCP = 0x10
-- RTPROT_DNROUTED = 0xd
-- RTPROT_GATED = 0x8
-- RTPROT_KERNEL = 0x2
-- RTPROT_MROUTED = 0x11
-- RTPROT_MRT = 0xa
-- RTPROT_NTK = 0xf
-- RTPROT_RA = 0x9
-- RTPROT_REDIRECT = 0x1
-- RTPROT_STATIC = 0x4
-- RTPROT_UNSPEC = 0x0
-- RTPROT_XORP = 0xe
-- RTPROT_ZEBRA = 0xb
-- RT_CLASS_DEFAULT = 0xfd
-- RT_CLASS_LOCAL = 0xff
-- RT_CLASS_MAIN = 0xfe
-- RT_CLASS_MAX = 0xff
-- RT_CLASS_UNSPEC = 0x0
-- RUSAGE_CHILDREN = -0x1
-- RUSAGE_SELF = 0x0
-- RUSAGE_THREAD = 0x1
-- SCM_CREDENTIALS = 0x2
-- SCM_RIGHTS = 0x1
-- SCM_TIMESTAMP = 0x1d
-- SCM_TIMESTAMPING = 0x25
-- SCM_TIMESTAMPING_OPT_STATS = 0x36
-- SCM_TIMESTAMPNS = 0x23
-- SCM_WIFI_STATUS = 0x29
-- SECCOMP_MODE_DISABLED = 0x0
-- SECCOMP_MODE_FILTER = 0x2
-- SECCOMP_MODE_STRICT = 0x1
-- SHUT_RD = 0x0
-- SHUT_RDWR = 0x2
-- SHUT_WR = 0x1
-- SIOCADDDLCI = 0x8980
-- SIOCADDMULTI = 0x8931
-- SIOCADDRT = 0x890b
-- SIOCATMARK = 0x40047307
-- SIOCBONDCHANGEACTIVE = 0x8995
-- SIOCBONDENSLAVE = 0x8990
-- SIOCBONDINFOQUERY = 0x8994
-- SIOCBONDRELEASE = 0x8991
-- SIOCBONDSETHWADDR = 0x8992
-- SIOCBONDSLAVEINFOQUERY = 0x8993
-- SIOCBRADDBR = 0x89a0
-- SIOCBRADDIF = 0x89a2
-- SIOCBRDELBR = 0x89a1
-- SIOCBRDELIF = 0x89a3
-- SIOCDARP = 0x8953
-- SIOCDELDLCI = 0x8981
-- SIOCDELMULTI = 0x8932
-- SIOCDELRT = 0x890c
-- SIOCDEVPRIVATE = 0x89f0
-- SIOCDIFADDR = 0x8936
-- SIOCDRARP = 0x8960
-- SIOCETHTOOL = 0x8946
-- SIOCGARP = 0x8954
-- SIOCGHWTSTAMP = 0x89b1
-- SIOCGIFADDR = 0x8915
-- SIOCGIFBR = 0x8940
-- SIOCGIFBRDADDR = 0x8919
-- SIOCGIFCONF = 0x8912
-- SIOCGIFCOUNT = 0x8938
-- SIOCGIFDSTADDR = 0x8917
-- SIOCGIFENCAP = 0x8925
-- SIOCGIFFLAGS = 0x8913
-- SIOCGIFHWADDR = 0x8927
-- SIOCGIFINDEX = 0x8933
-- SIOCGIFMAP = 0x8970
-- SIOCGIFMEM = 0x891f
-- SIOCGIFMETRIC = 0x891d
-- SIOCGIFMTU = 0x8921
-- SIOCGIFNAME = 0x8910
-- SIOCGIFNETMASK = 0x891b
-- SIOCGIFPFLAGS = 0x8935
-- SIOCGIFSLAVE = 0x8929
-- SIOCGIFTXQLEN = 0x8942
-- SIOCGIFVLAN = 0x8982
-- SIOCGMIIPHY = 0x8947
-- SIOCGMIIREG = 0x8948
-- SIOCGPGRP = 0x40047309
-- SIOCGRARP = 0x8961
-- SIOCGSKNS = 0x894c
-- SIOCGSTAMP = 0x8906
-- SIOCGSTAMPNS = 0x8907
-- SIOCINQ = 0x467f
-- SIOCOUTQ = 0x7472
-- SIOCOUTQNSD = 0x894b
-- SIOCPROTOPRIVATE = 0x89e0
-- SIOCRTMSG = 0x890d
-- SIOCSARP = 0x8955
-- SIOCSHWTSTAMP = 0x89b0
-- SIOCSIFADDR = 0x8916
-- SIOCSIFBR = 0x8941
-- SIOCSIFBRDADDR = 0x891a
-- SIOCSIFDSTADDR = 0x8918
-- SIOCSIFENCAP = 0x8926
-- SIOCSIFFLAGS = 0x8914
-- SIOCSIFHWADDR = 0x8924
-- SIOCSIFHWBROADCAST = 0x8937
-- SIOCSIFLINK = 0x8911
-- SIOCSIFMAP = 0x8971
-- SIOCSIFMEM = 0x8920
-- SIOCSIFMETRIC = 0x891e
-- SIOCSIFMTU = 0x8922
-- SIOCSIFNAME = 0x8923
-- SIOCSIFNETMASK = 0x891c
-- SIOCSIFPFLAGS = 0x8934
-- SIOCSIFSLAVE = 0x8930
-- SIOCSIFTXQLEN = 0x8943
-- SIOCSIFVLAN = 0x8983
-- SIOCSMIIREG = 0x8949
-- SIOCSPGRP = 0x80047308
-- SIOCSRARP = 0x8962
-- SIOCWANDEV = 0x894a
-- SOCK_CLOEXEC = 0x80000
-- SOCK_DCCP = 0x6
-- SOCK_DGRAM = 0x1
-- SOCK_IOC_TYPE = 0x89
-- SOCK_NONBLOCK = 0x80
-- SOCK_PACKET = 0xa
-- SOCK_RAW = 0x3
-- SOCK_RDM = 0x4
-- SOCK_SEQPACKET = 0x5
-- SOCK_STREAM = 0x2
-- SOL_AAL = 0x109
-- SOL_ALG = 0x117
-- SOL_ATM = 0x108
-- SOL_CAIF = 0x116
-- SOL_CAN_BASE = 0x64
-- SOL_DCCP = 0x10d
-- SOL_DECNET = 0x105
-- SOL_ICMPV6 = 0x3a
-- SOL_IP = 0x0
-- SOL_IPV6 = 0x29
-- SOL_IRDA = 0x10a
-- SOL_IUCV = 0x115
-- SOL_KCM = 0x119
-- SOL_LLC = 0x10c
-- SOL_NETBEUI = 0x10b
-- SOL_NETLINK = 0x10e
-- SOL_NFC = 0x118
-- SOL_PACKET = 0x107
-- SOL_PNPIPE = 0x113
-- SOL_PPPOL2TP = 0x111
-- SOL_RAW = 0xff
-- SOL_RDS = 0x114
-- SOL_RXRPC = 0x110
-- SOL_SOCKET = 0xffff
-- SOL_TCP = 0x6
-- SOL_TIPC = 0x10f
-- SOL_X25 = 0x106
-- SOMAXCONN = 0x80
-- SO_ACCEPTCONN = 0x1009
-- SO_ATTACH_BPF = 0x32
-- SO_ATTACH_FILTER = 0x1a
-- SO_ATTACH_REUSEPORT_CBPF = 0x33
-- SO_ATTACH_REUSEPORT_EBPF = 0x34
-- SO_BINDTODEVICE = 0x19
-- SO_BPF_EXTENSIONS = 0x30
-- SO_BROADCAST = 0x20
-- SO_BSDCOMPAT = 0xe
-- SO_BUSY_POLL = 0x2e
-- SO_CNX_ADVICE = 0x35
-- SO_DEBUG = 0x1
-- SO_DETACH_BPF = 0x1b
-- SO_DETACH_FILTER = 0x1b
-- SO_DOMAIN = 0x1029
-- SO_DONTROUTE = 0x10
-- SO_ERROR = 0x1007
-- SO_GET_FILTER = 0x1a
-- SO_INCOMING_CPU = 0x31
-- SO_KEEPALIVE = 0x8
-- SO_LINGER = 0x80
-- SO_LOCK_FILTER = 0x2c
-- SO_MARK = 0x24
-- SO_MAX_PACING_RATE = 0x2f
-- SO_NOFCS = 0x2b
-- SO_NO_CHECK = 0xb
-- SO_OOBINLINE = 0x100
-- SO_PASSCRED = 0x11
-- SO_PASSSEC = 0x22
-- SO_PEEK_OFF = 0x2a
-- SO_PEERCRED = 0x12
-- SO_PEERNAME = 0x1c
-- SO_PEERSEC = 0x1e
-- SO_PRIORITY = 0xc
-- SO_PROTOCOL = 0x1028
-- SO_RCVBUF = 0x1002
-- SO_RCVBUFFORCE = 0x21
-- SO_RCVLOWAT = 0x1004
-- SO_RCVTIMEO = 0x1006
-- SO_REUSEADDR = 0x4
-- SO_REUSEPORT = 0x200
-- SO_RXQ_OVFL = 0x28
-- SO_SECURITY_AUTHENTICATION = 0x16
-- SO_SECURITY_ENCRYPTION_NETWORK = 0x18
-- SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
-- SO_SELECT_ERR_QUEUE = 0x2d
-- SO_SNDBUF = 0x1001
-- SO_SNDBUFFORCE = 0x1f
-- SO_SNDLOWAT = 0x1003
-- SO_SNDTIMEO = 0x1005
-- SO_STYLE = 0x1008
-- SO_TIMESTAMP = 0x1d
-- SO_TIMESTAMPING = 0x25
-- SO_TIMESTAMPNS = 0x23
-- SO_TYPE = 0x1008
-- SO_VM_SOCKETS_BUFFER_MAX_SIZE = 0x2
-- SO_VM_SOCKETS_BUFFER_MIN_SIZE = 0x1
-- SO_VM_SOCKETS_BUFFER_SIZE = 0x0
-- SO_VM_SOCKETS_CONNECT_TIMEOUT = 0x6
-- SO_VM_SOCKETS_NONBLOCK_TXRX = 0x7
-- SO_VM_SOCKETS_PEER_HOST_VM_ID = 0x3
-- SO_VM_SOCKETS_TRUSTED = 0x5
-- SO_WIFI_STATUS = 0x29
-- SPLICE_F_GIFT = 0x8
-- SPLICE_F_MORE = 0x4
-- SPLICE_F_MOVE = 0x1
-- SPLICE_F_NONBLOCK = 0x2
-- S_BLKSIZE = 0x200
-- S_IEXEC = 0x40
-- S_IFBLK = 0x6000
-- S_IFCHR = 0x2000
-- S_IFDIR = 0x4000
-- S_IFIFO = 0x1000
-- S_IFLNK = 0xa000
-- S_IFMT = 0xf000
-- S_IFREG = 0x8000
-- S_IFSOCK = 0xc000
-- S_IREAD = 0x100
-- S_IRGRP = 0x20
-- S_IROTH = 0x4
-- S_IRUSR = 0x100
-- S_IRWXG = 0x38
-- S_IRWXO = 0x7
-- S_IRWXU = 0x1c0
-- S_ISGID = 0x400
-- S_ISUID = 0x800
-- S_ISVTX = 0x200
-- S_IWGRP = 0x10
-- S_IWOTH = 0x2
-- S_IWRITE = 0x80
-- S_IWUSR = 0x80
-- S_IXGRP = 0x8
-- S_IXOTH = 0x1
-- S_IXUSR = 0x40
-- TAB0 = 0x0
-- TAB1 = 0x800
-- TAB2 = 0x1000
-- TAB3 = 0x1800
-- TABDLY = 0x1800
-- TASKSTATS_CMD_ATTR_MAX = 0x4
-- TASKSTATS_CMD_MAX = 0x2
-- TASKSTATS_GENL_NAME = "TASKSTATS"
-- TASKSTATS_GENL_VERSION = 0x1
-- TASKSTATS_TYPE_MAX = 0x6
-- TASKSTATS_VERSION = 0x8
-- TCFLSH = 0x5407
-- TCGETA = 0x5401
-- TCGETS = 0x540d
-- TCGETS2 = 0x4030542a
-- TCIFLUSH = 0x0
-- TCIOFF = 0x2
-- TCIOFLUSH = 0x2
-- TCION = 0x3
-- TCOFLUSH = 0x1
-- TCOOFF = 0x0
-- TCOON = 0x1
-- TCP_CC_INFO = 0x1a
-- TCP_CONGESTION = 0xd
-- TCP_COOKIE_IN_ALWAYS = 0x1
-- TCP_COOKIE_MAX = 0x10
-- TCP_COOKIE_MIN = 0x8
-- TCP_COOKIE_OUT_NEVER = 0x2
-- TCP_COOKIE_PAIR_SIZE = 0x20
-- TCP_COOKIE_TRANSACTIONS = 0xf
-- TCP_CORK = 0x3
-- TCP_DEFER_ACCEPT = 0x9
-- TCP_FASTOPEN = 0x17
-- TCP_INFO = 0xb
-- TCP_KEEPCNT = 0x6
-- TCP_KEEPIDLE = 0x4
-- TCP_KEEPINTVL = 0x5
-- TCP_LINGER2 = 0x8
-- TCP_MAXSEG = 0x2
-- TCP_MAXWIN = 0xffff
-- TCP_MAX_WINSHIFT = 0xe
-- TCP_MD5SIG = 0xe
-- TCP_MD5SIG_MAXKEYLEN = 0x50
-- TCP_MSS = 0x200
-- TCP_MSS_DEFAULT = 0x218
-- TCP_MSS_DESIRED = 0x4c4
-- TCP_NODELAY = 0x1
-- TCP_NOTSENT_LOWAT = 0x19
-- TCP_QUEUE_SEQ = 0x15
-- TCP_QUICKACK = 0xc
-- TCP_REPAIR = 0x13
-- TCP_REPAIR_OPTIONS = 0x16
-- TCP_REPAIR_QUEUE = 0x14
-- TCP_REPAIR_WINDOW = 0x1d
-- TCP_SAVED_SYN = 0x1c
-- TCP_SAVE_SYN = 0x1b
-- TCP_SYNCNT = 0x7
-- TCP_S_DATA_IN = 0x4
-- TCP_S_DATA_OUT = 0x8
-- TCP_THIN_DUPACK = 0x11
-- TCP_THIN_LINEAR_TIMEOUTS = 0x10
-- TCP_TIMESTAMP = 0x18
-- TCP_USER_TIMEOUT = 0x12
-- TCP_WINDOW_CLAMP = 0xa
-- TCSAFLUSH = 0x5410
-- TCSBRK = 0x5405
-- TCSBRKP = 0x5486
-- TCSETA = 0x5402
-- TCSETAF = 0x5404
-- TCSETAW = 0x5403
-- TCSETS = 0x540e
-- TCSETS2 = 0x8030542b
-- TCSETSF = 0x5410
-- TCSETSF2 = 0x8030542d
-- TCSETSW = 0x540f
-- TCSETSW2 = 0x8030542c
-- TCXONC = 0x5406
-- TIOCCBRK = 0x5428
-- TIOCCONS = 0x80047478
-- TIOCEXCL = 0x740d
-- TIOCGDEV = 0x40045432
-- TIOCGETD = 0x7400
-- TIOCGETP = 0x7408
-- TIOCGEXCL = 0x40045440
-- TIOCGICOUNT = 0x5492
-- TIOCGLCKTRMIOS = 0x548b
-- TIOCGLTC = 0x7474
-- TIOCGPGRP = 0x40047477
-- TIOCGPKT = 0x40045438
-- TIOCGPTLCK = 0x40045439
-- TIOCGPTN = 0x40045430
-- TIOCGRS485 = 0x4020542e
-- TIOCGSERIAL = 0x5484
-- TIOCGSID = 0x7416
-- TIOCGSOFTCAR = 0x5481
-- TIOCGWINSZ = 0x40087468
-- TIOCINQ = 0x467f
-- TIOCLINUX = 0x5483
-- TIOCMBIC = 0x741c
-- TIOCMBIS = 0x741b
-- TIOCMGET = 0x741d
-- TIOCMIWAIT = 0x5491
-- TIOCMSET = 0x741a
-- TIOCM_CAR = 0x100
-- TIOCM_CD = 0x100
-- TIOCM_CTS = 0x40
-- TIOCM_DSR = 0x400
-- TIOCM_DTR = 0x2
-- TIOCM_LE = 0x1
-- TIOCM_RI = 0x200
-- TIOCM_RNG = 0x200
-- TIOCM_RTS = 0x4
-- TIOCM_SR = 0x20
-- TIOCM_ST = 0x10
-- TIOCNOTTY = 0x5471
-- TIOCNXCL = 0x740e
-- TIOCOUTQ = 0x7472
-- TIOCPKT = 0x5470
-- TIOCPKT_DATA = 0x0
-- TIOCPKT_DOSTOP = 0x20
-- TIOCPKT_FLUSHREAD = 0x1
-- TIOCPKT_FLUSHWRITE = 0x2
-- TIOCPKT_IOCTL = 0x40
-- TIOCPKT_NOSTOP = 0x10
-- TIOCPKT_START = 0x8
-- TIOCPKT_STOP = 0x4
-- TIOCSBRK = 0x5427
-- TIOCSCTTY = 0x5480
-- TIOCSERCONFIG = 0x5488
-- TIOCSERGETLSR = 0x548e
-- TIOCSERGETMULTI = 0x548f
-- TIOCSERGSTRUCT = 0x548d
-- TIOCSERGWILD = 0x5489
-- TIOCSERSETMULTI = 0x5490
-- TIOCSERSWILD = 0x548a
-- TIOCSER_TEMT = 0x1
-- TIOCSETD = 0x7401
-- TIOCSETN = 0x740a
-- TIOCSETP = 0x7409
-- TIOCSIG = 0x80045436
-- TIOCSLCKTRMIOS = 0x548c
-- TIOCSLTC = 0x7475
-- TIOCSPGRP = 0x80047476
-- TIOCSPTLCK = 0x80045431
-- TIOCSRS485 = 0xc020542f
-- TIOCSSERIAL = 0x5485
-- TIOCSSOFTCAR = 0x5482
-- TIOCSTI = 0x5472
-- TIOCSWINSZ = 0x80087467
-- TIOCVHANGUP = 0x5437
-- TOSTOP = 0x8000
-- TS_COMM_LEN = 0x20
-- TUNATTACHFILTER = 0x801054d5
-- TUNDETACHFILTER = 0x801054d6
-- TUNGETFEATURES = 0x400454cf
-- TUNGETFILTER = 0x401054db
-- TUNGETIFF = 0x400454d2
-- TUNGETSNDBUF = 0x400454d3
-- TUNGETVNETBE = 0x400454df
-- TUNGETVNETHDRSZ = 0x400454d7
-- TUNGETVNETLE = 0x400454dd
-- TUNSETDEBUG = 0x800454c9
-- TUNSETGROUP = 0x800454ce
-- TUNSETIFF = 0x800454ca
-- TUNSETIFINDEX = 0x800454da
-- TUNSETLINK = 0x800454cd
-- TUNSETNOCSUM = 0x800454c8
-- TUNSETOFFLOAD = 0x800454d0
-- TUNSETOWNER = 0x800454cc
-- TUNSETPERSIST = 0x800454cb
-- TUNSETQUEUE = 0x800454d9
-- TUNSETSNDBUF = 0x800454d4
-- TUNSETTXFILTER = 0x800454d1
-- TUNSETVNETBE = 0x800454de
-- TUNSETVNETHDRSZ = 0x800454d8
-- TUNSETVNETLE = 0x800454dc
-- UMOUNT_NOFOLLOW = 0x8
-- VDISCARD = 0xd
-- VEOF = 0x10
-- VEOL = 0x11
-- VEOL2 = 0x6
-- VERASE = 0x2
-- VINTR = 0x0
-- VKILL = 0x3
-- VLNEXT = 0xf
-- VMADDR_CID_ANY = 0xffffffff
-- VMADDR_CID_HOST = 0x2
-- VMADDR_CID_HYPERVISOR = 0x0
-- VMADDR_CID_RESERVED = 0x1
-- VMADDR_PORT_ANY = 0xffffffff
-- VMIN = 0x4
-- VM_SOCKETS_INVALID_VERSION = 0xffffffff
-- VQUIT = 0x1
-- VREPRINT = 0xc
-- VSTART = 0x8
-- VSTOP = 0x9
-- VSUSP = 0xa
-- VSWTC = 0x7
-- VSWTCH = 0x7
-- VT0 = 0x0
-- VT1 = 0x4000
-- VTDLY = 0x4000
-- VTIME = 0x5
-- VWERASE = 0xe
-- WALL = 0x40000000
-- WCLONE = 0x80000000
-- WCONTINUED = 0x8
-- WEXITED = 0x4
-- WNOHANG = 0x1
-- WNOTHREAD = 0x20000000
-- WNOWAIT = 0x1000000
-- WORDSIZE = 0x40
-- WSTOPPED = 0x2
-- WUNTRACED = 0x2
-- XATTR_CREATE = 0x1
-- XATTR_REPLACE = 0x2
-- XCASE = 0x4
-- XTABS = 0x1800
-+ 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 = 0x40081270
-+ BLKBSZSET = 0x80081271
-+ BLKFLSBUF = 0x20001261
-+ BLKFRAGET = 0x20001265
-+ BLKFRASET = 0x20001264
-+ BLKGETSIZE = 0x20001260
-+ BLKGETSIZE64 = 0x40081272
-+ BLKPBSZGET = 0x2000127b
-+ BLKRAGET = 0x20001263
-+ BLKRASET = 0x20001262
-+ BLKROGET = 0x2000125e
-+ BLKROSET = 0x2000125d
-+ BLKRRPART = 0x2000125f
-+ BLKSECTGET = 0x20001267
-+ BLKSECTSET = 0x20001266
-+ BLKSSZGET = 0x20001268
-+ 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
-+ ECHOCTL = 0x200
-+ ECHOE = 0x10
-+ ECHOK = 0x20
-+ ECHOKE = 0x800
-+ ECHONL = 0x40
-+ ECHOPRT = 0x400
-+ EFD_CLOEXEC = 0x80000
-+ EFD_NONBLOCK = 0x80
-+ EPOLL_CLOEXEC = 0x80000
-+ EXTPROC = 0x10000
-+ FF1 = 0x8000
-+ FFDLY = 0x8000
-+ FLUSHO = 0x2000
-+ FS_IOC_ENABLE_VERITY = 0x80806685
-+ FS_IOC_GETFLAGS = 0x40086601
-+ FS_IOC_GET_ENCRYPTION_POLICY = 0x800c6615
-+ FS_IOC_GET_ENCRYPTION_PWSALT = 0x80106614
-+ FS_IOC_SET_ENCRYPTION_POLICY = 0x400c6613
-+ F_GETLK = 0xe
-+ F_GETLK64 = 0xe
-+ F_GETOWN = 0x17
-+ F_RDLCK = 0x0
-+ F_SETLK = 0x6
-+ F_SETLK64 = 0x6
-+ F_SETLKW = 0x7
-+ F_SETLKW64 = 0x7
-+ F_SETOWN = 0x18
-+ F_UNLCK = 0x2
-+ F_WRLCK = 0x1
-+ HUPCL = 0x400
-+ ICANON = 0x2
-+ IEXTEN = 0x100
-+ IN_CLOEXEC = 0x80000
-+ IN_NONBLOCK = 0x80
-+ IOCTL_VM_SOCKETS_GET_LOCAL_CID = 0x200007b9
-+ ISIG = 0x1
-+ IUCLC = 0x200
-+ IXOFF = 0x1000
-+ IXON = 0x400
-+ MAP_ANON = 0x800
-+ MAP_ANONYMOUS = 0x800
-+ MAP_DENYWRITE = 0x2000
-+ MAP_EXECUTABLE = 0x4000
-+ MAP_GROWSDOWN = 0x1000
-+ MAP_HUGETLB = 0x80000
-+ MAP_LOCKED = 0x8000
-+ MAP_NONBLOCK = 0x20000
-+ MAP_NORESERVE = 0x400
-+ MAP_POPULATE = 0x10000
-+ MAP_RENAME = 0x800
-+ MAP_STACK = 0x40000
-+ MCL_CURRENT = 0x1
-+ MCL_FUTURE = 0x2
-+ MCL_ONFAULT = 0x4
-+ NFDBITS = 0x40
-+ NLDLY = 0x100
-+ NOFLSH = 0x80
-+ NS_GET_NSTYPE = 0x2000b703
-+ NS_GET_OWNER_UID = 0x2000b704
-+ NS_GET_PARENT = 0x2000b702
-+ NS_GET_USERNS = 0x2000b701
-+ OLCUC = 0x2
-+ ONLCR = 0x4
-+ O_APPEND = 0x8
-+ O_ASYNC = 0x1000
-+ O_CLOEXEC = 0x80000
-+ O_CREAT = 0x100
-+ O_DIRECT = 0x8000
-+ O_DIRECTORY = 0x10000
-+ O_DSYNC = 0x10
-+ O_EXCL = 0x400
-+ O_FSYNC = 0x4010
-+ O_LARGEFILE = 0x0
-+ O_NDELAY = 0x80
-+ O_NOATIME = 0x40000
-+ O_NOCTTY = 0x800
-+ O_NOFOLLOW = 0x20000
-+ O_NONBLOCK = 0x80
-+ O_PATH = 0x200000
-+ O_RSYNC = 0x4010
-+ O_SYNC = 0x4010
-+ O_TMPFILE = 0x410000
-+ O_TRUNC = 0x200
-+ PARENB = 0x100
-+ PARODD = 0x200
-+ PENDIN = 0x4000
-+ PERF_EVENT_IOC_DISABLE = 0x20002401
-+ PERF_EVENT_IOC_ENABLE = 0x20002400
-+ PERF_EVENT_IOC_ID = 0x40082407
-+ PERF_EVENT_IOC_MODIFY_ATTRIBUTES = 0x8008240b
-+ PERF_EVENT_IOC_PAUSE_OUTPUT = 0x80042409
-+ PERF_EVENT_IOC_PERIOD = 0x80082404
-+ PERF_EVENT_IOC_QUERY_BPF = 0xc008240a
-+ PERF_EVENT_IOC_REFRESH = 0x20002402
-+ PERF_EVENT_IOC_RESET = 0x20002403
-+ PERF_EVENT_IOC_SET_BPF = 0x80042408
-+ PERF_EVENT_IOC_SET_FILTER = 0x80082406
-+ PERF_EVENT_IOC_SET_OUTPUT = 0x20002405
-+ PPPIOCATTACH = 0x8004743d
-+ PPPIOCATTCHAN = 0x80047438
-+ PPPIOCCONNECT = 0x8004743a
-+ PPPIOCDETACH = 0x8004743c
-+ PPPIOCDISCONN = 0x20007439
-+ PPPIOCGASYNCMAP = 0x40047458
-+ PPPIOCGCHAN = 0x40047437
-+ PPPIOCGDEBUG = 0x40047441
-+ PPPIOCGFLAGS = 0x4004745a
-+ PPPIOCGIDLE = 0x4010743f
-+ PPPIOCGIDLE32 = 0x4008743f
-+ PPPIOCGIDLE64 = 0x4010743f
-+ PPPIOCGL2TPSTATS = 0x40487436
-+ PPPIOCGMRU = 0x40047453
-+ PPPIOCGRASYNCMAP = 0x40047455
-+ PPPIOCGUNIT = 0x40047456
-+ PPPIOCGXASYNCMAP = 0x40207450
-+ PPPIOCSACTIVE = 0x80107446
-+ PPPIOCSASYNCMAP = 0x80047457
-+ PPPIOCSCOMPRESS = 0x8010744d
-+ PPPIOCSDEBUG = 0x80047440
-+ PPPIOCSFLAGS = 0x80047459
-+ PPPIOCSMAXCID = 0x80047451
-+ PPPIOCSMRRU = 0x8004743b
-+ PPPIOCSMRU = 0x80047452
-+ PPPIOCSNPMODE = 0x8008744b
-+ PPPIOCSPASS = 0x80107447
-+ PPPIOCSRASYNCMAP = 0x80047454
-+ PPPIOCSXASYNCMAP = 0x8020744f
-+ PPPIOCXFERUNIT = 0x2000744e
-+ PR_SET_PTRACER_ANY = 0xffffffffffffffff
-+ PTRACE_GETFPREGS = 0xe
-+ PTRACE_GET_THREAD_AREA = 0x19
-+ PTRACE_GET_THREAD_AREA_3264 = 0xc4
-+ PTRACE_GET_WATCH_REGS = 0xd0
-+ PTRACE_OLDSETOPTIONS = 0x15
-+ PTRACE_PEEKDATA_3264 = 0xc1
-+ PTRACE_PEEKTEXT_3264 = 0xc0
-+ PTRACE_POKEDATA_3264 = 0xc3
-+ PTRACE_POKETEXT_3264 = 0xc2
-+ PTRACE_SETFPREGS = 0xf
-+ PTRACE_SET_THREAD_AREA = 0x1a
-+ PTRACE_SET_WATCH_REGS = 0xd1
-+ RLIMIT_AS = 0x6
-+ RLIMIT_MEMLOCK = 0x9
-+ RLIMIT_NOFILE = 0x5
-+ RLIMIT_NPROC = 0x8
-+ RLIMIT_RSS = 0x7
-+ RNDADDENTROPY = 0x80085203
-+ RNDADDTOENTCNT = 0x80045201
-+ RNDCLEARPOOL = 0x20005206
-+ RNDGETENTCNT = 0x40045200
-+ RNDGETPOOL = 0x40085202
-+ RNDRESEEDCRNG = 0x20005207
-+ RNDZAPENTCNT = 0x20005204
-+ RTC_AIE_OFF = 0x20007002
-+ RTC_AIE_ON = 0x20007001
-+ RTC_ALM_READ = 0x40247008
-+ RTC_ALM_SET = 0x80247007
-+ RTC_EPOCH_READ = 0x4008700d
-+ RTC_EPOCH_SET = 0x8008700e
-+ RTC_IRQP_READ = 0x4008700b
-+ RTC_IRQP_SET = 0x8008700c
-+ RTC_PIE_OFF = 0x20007006
-+ RTC_PIE_ON = 0x20007005
-+ RTC_PLL_GET = 0x40207011
-+ RTC_PLL_SET = 0x80207012
-+ RTC_RD_TIME = 0x40247009
-+ RTC_SET_TIME = 0x8024700a
-+ RTC_UIE_OFF = 0x20007004
-+ RTC_UIE_ON = 0x20007003
-+ RTC_VL_CLR = 0x20007014
-+ RTC_VL_READ = 0x40047013
-+ RTC_WIE_OFF = 0x20007010
-+ RTC_WIE_ON = 0x2000700f
-+ RTC_WKALM_RD = 0x40287010
-+ RTC_WKALM_SET = 0x8028700f
-+ 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 = 0x80
-+ SIOCATMARK = 0x40047307
-+ SIOCGPGRP = 0x40047309
-+ SIOCGSTAMPNS_NEW = 0x40108907
-+ SIOCGSTAMP_NEW = 0x40108906
-+ SIOCINQ = 0x467f
-+ SIOCOUTQ = 0x7472
-+ SIOCSPGRP = 0x80047308
-+ SOCK_CLOEXEC = 0x80000
-+ SOCK_DGRAM = 0x1
-+ SOCK_NONBLOCK = 0x80
-+ SOCK_STREAM = 0x2
-+ SOL_SOCKET = 0xffff
-+ SO_ACCEPTCONN = 0x1009
-+ 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 = 0x20
-+ SO_BSDCOMPAT = 0xe
-+ SO_BUSY_POLL = 0x2e
-+ SO_CNX_ADVICE = 0x35
-+ SO_COOKIE = 0x39
-+ SO_DETACH_REUSEPORT_BPF = 0x44
-+ SO_DOMAIN = 0x1029
-+ SO_DONTROUTE = 0x10
-+ SO_ERROR = 0x1007
-+ SO_INCOMING_CPU = 0x31
-+ SO_INCOMING_NAPI_ID = 0x38
-+ SO_KEEPALIVE = 0x8
-+ SO_LINGER = 0x80
-+ SO_LOCK_FILTER = 0x2c
-+ SO_MARK = 0x24
-+ SO_MAX_PACING_RATE = 0x2f
-+ SO_MEMINFO = 0x37
-+ SO_NOFCS = 0x2b
-+ SO_OOBINLINE = 0x100
-+ SO_PASSCRED = 0x11
-+ SO_PASSSEC = 0x22
-+ SO_PEEK_OFF = 0x2a
-+ SO_PEERCRED = 0x12
-+ SO_PEERGROUPS = 0x3b
-+ SO_PEERSEC = 0x1e
-+ SO_PROTOCOL = 0x1028
-+ SO_RCVBUF = 0x1002
-+ SO_RCVBUFFORCE = 0x21
-+ SO_RCVLOWAT = 0x1004
-+ SO_RCVTIMEO = 0x1006
-+ SO_RCVTIMEO_NEW = 0x42
-+ SO_RCVTIMEO_OLD = 0x1006
-+ SO_REUSEADDR = 0x4
-+ SO_REUSEPORT = 0x200
-+ SO_RXQ_OVFL = 0x28
-+ SO_SECURITY_AUTHENTICATION = 0x16
-+ SO_SECURITY_ENCRYPTION_NETWORK = 0x18
-+ SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
-+ SO_SELECT_ERR_QUEUE = 0x2d
-+ SO_SNDBUF = 0x1001
-+ SO_SNDBUFFORCE = 0x1f
-+ SO_SNDLOWAT = 0x1003
-+ SO_SNDTIMEO = 0x1005
-+ SO_SNDTIMEO_NEW = 0x43
-+ SO_SNDTIMEO_OLD = 0x1005
-+ SO_STYLE = 0x1008
-+ 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_TXTIME = 0x3d
-+ SO_TYPE = 0x1008
-+ SO_WIFI_STATUS = 0x29
-+ SO_ZEROCOPY = 0x3c
-+ TAB1 = 0x800
-+ TAB2 = 0x1000
-+ TAB3 = 0x1800
-+ TABDLY = 0x1800
-+ TCFLSH = 0x5407
-+ TCGETA = 0x5401
-+ TCGETS = 0x540d
-+ TCGETS2 = 0x4030542a
-+ TCSAFLUSH = 0x5410
-+ TCSBRK = 0x5405
-+ TCSBRKP = 0x5486
-+ TCSETA = 0x5402
-+ TCSETAF = 0x5404
-+ TCSETAW = 0x5403
-+ TCSETS = 0x540e
-+ TCSETS2 = 0x8030542b
-+ TCSETSF = 0x5410
-+ TCSETSF2 = 0x8030542d
-+ TCSETSW = 0x540f
-+ TCSETSW2 = 0x8030542c
-+ TCXONC = 0x5406
-+ TIOCCBRK = 0x5428
-+ TIOCCONS = 0x80047478
-+ TIOCEXCL = 0x740d
-+ TIOCGDEV = 0x40045432
-+ TIOCGETD = 0x7400
-+ TIOCGETP = 0x7408
-+ TIOCGEXCL = 0x40045440
-+ TIOCGICOUNT = 0x5492
-+ TIOCGISO7816 = 0x40285442
-+ TIOCGLCKTRMIOS = 0x548b
-+ TIOCGLTC = 0x7474
-+ TIOCGPGRP = 0x40047477
-+ TIOCGPKT = 0x40045438
-+ TIOCGPTLCK = 0x40045439
-+ TIOCGPTN = 0x40045430
-+ TIOCGPTPEER = 0x20005441
-+ TIOCGRS485 = 0x4020542e
-+ TIOCGSERIAL = 0x5484
-+ TIOCGSID = 0x7416
-+ TIOCGSOFTCAR = 0x5481
-+ TIOCGWINSZ = 0x40087468
-+ TIOCINQ = 0x467f
-+ TIOCLINUX = 0x5483
-+ TIOCMBIC = 0x741c
-+ TIOCMBIS = 0x741b
-+ TIOCMGET = 0x741d
-+ TIOCMIWAIT = 0x5491
-+ TIOCMSET = 0x741a
-+ TIOCM_CAR = 0x100
-+ TIOCM_CD = 0x100
-+ TIOCM_CTS = 0x40
-+ TIOCM_DSR = 0x400
-+ TIOCM_RI = 0x200
-+ TIOCM_RNG = 0x200
-+ TIOCM_SR = 0x20
-+ TIOCM_ST = 0x10
-+ TIOCNOTTY = 0x5471
-+ TIOCNXCL = 0x740e
-+ TIOCOUTQ = 0x7472
-+ TIOCPKT = 0x5470
-+ TIOCSBRK = 0x5427
-+ TIOCSCTTY = 0x5480
-+ TIOCSERCONFIG = 0x5488
-+ TIOCSERGETLSR = 0x548e
-+ TIOCSERGETMULTI = 0x548f
-+ TIOCSERGSTRUCT = 0x548d
-+ TIOCSERGWILD = 0x5489
-+ TIOCSERSETMULTI = 0x5490
-+ TIOCSERSWILD = 0x548a
-+ TIOCSER_TEMT = 0x1
-+ TIOCSETD = 0x7401
-+ TIOCSETN = 0x740a
-+ TIOCSETP = 0x7409
-+ TIOCSIG = 0x80045436
-+ TIOCSISO7816 = 0xc0285443
-+ TIOCSLCKTRMIOS = 0x548c
-+ TIOCSLTC = 0x7475
-+ TIOCSPGRP = 0x80047476
-+ TIOCSPTLCK = 0x80045431
-+ TIOCSRS485 = 0xc020542f
-+ TIOCSSERIAL = 0x5485
-+ TIOCSSOFTCAR = 0x5482
-+ TIOCSTI = 0x5472
-+ TIOCSWINSZ = 0x80087467
-+ TIOCVHANGUP = 0x5437
-+ TOSTOP = 0x8000
-+ TUNATTACHFILTER = 0x801054d5
-+ TUNDETACHFILTER = 0x801054d6
-+ TUNGETDEVNETNS = 0x200054e3
-+ TUNGETFEATURES = 0x400454cf
-+ TUNGETFILTER = 0x401054db
-+ TUNGETIFF = 0x400454d2
-+ TUNGETSNDBUF = 0x400454d3
-+ TUNGETVNETBE = 0x400454df
-+ TUNGETVNETHDRSZ = 0x400454d7
-+ TUNGETVNETLE = 0x400454dd
-+ TUNSETCARRIER = 0x800454e2
-+ TUNSETDEBUG = 0x800454c9
-+ TUNSETFILTEREBPF = 0x400454e1
-+ TUNSETGROUP = 0x800454ce
-+ TUNSETIFF = 0x800454ca
-+ TUNSETIFINDEX = 0x800454da
-+ TUNSETLINK = 0x800454cd
-+ TUNSETNOCSUM = 0x800454c8
-+ TUNSETOFFLOAD = 0x800454d0
-+ TUNSETOWNER = 0x800454cc
-+ TUNSETPERSIST = 0x800454cb
-+ TUNSETQUEUE = 0x800454d9
-+ TUNSETSNDBUF = 0x800454d4
-+ TUNSETSTEERINGEBPF = 0x400454e0
-+ TUNSETTXFILTER = 0x800454d1
-+ TUNSETVNETBE = 0x800454de
-+ TUNSETVNETHDRSZ = 0x800454d8
-+ TUNSETVNETLE = 0x800454dc
-+ UBI_IOCATT = 0x80186f40
-+ UBI_IOCDET = 0x80046f41
-+ UBI_IOCEBCH = 0x80044f02
-+ UBI_IOCEBER = 0x80044f01
-+ UBI_IOCEBISMAP = 0x40044f05
-+ UBI_IOCEBMAP = 0x80084f03
-+ UBI_IOCEBUNMAP = 0x80044f04
-+ UBI_IOCMKVOL = 0x80986f00
-+ UBI_IOCRMVOL = 0x80046f01
-+ UBI_IOCRNVOL = 0x91106f03
-+ UBI_IOCRPEB = 0x80046f04
-+ UBI_IOCRSVOL = 0x800c6f02
-+ UBI_IOCSETVOLPROP = 0x80104f06
-+ UBI_IOCSPEB = 0x80046f05
-+ UBI_IOCVOLCRBLK = 0x80804f07
-+ UBI_IOCVOLRMBLK = 0x20004f08
-+ UBI_IOCVOLUP = 0x80084f00
-+ VDISCARD = 0xd
-+ VEOF = 0x10
-+ VEOL = 0x11
-+ VEOL2 = 0x6
-+ VMIN = 0x4
-+ VREPRINT = 0xc
-+ VSTART = 0x8
-+ VSTOP = 0x9
-+ VSUSP = 0xa
-+ VSWTC = 0x7
-+ VSWTCH = 0x7
-+ VT1 = 0x4000
-+ VTDLY = 0x4000
-+ VTIME = 0x5
-+ VWERASE = 0xe
-+ WDIOC_GETBOOTSTATUS = 0x40045702
-+ WDIOC_GETPRETIMEOUT = 0x40045709
-+ WDIOC_GETSTATUS = 0x40045701
-+ WDIOC_GETSUPPORT = 0x40285700
-+ WDIOC_GETTEMP = 0x40045703
-+ WDIOC_GETTIMELEFT = 0x4004570a
-+ WDIOC_GETTIMEOUT = 0x40045707
-+ WDIOC_KEEPALIVE = 0x40045705
-+ WDIOC_SETOPTIONS = 0x40045704
-+ WORDSIZE = 0x40
-+ XCASE = 0x4
-+ XTABS = 0x1800
- )
-
- // Errors
- const (
-- E2BIG = syscall.Errno(0x7)
-- EACCES = syscall.Errno(0xd)
- EADDRINUSE = syscall.Errno(0x7d)
- EADDRNOTAVAIL = syscall.Errno(0x7e)
- EADV = syscall.Errno(0x44)
- EAFNOSUPPORT = syscall.Errno(0x7c)
-- EAGAIN = syscall.Errno(0xb)
- EALREADY = syscall.Errno(0x95)
- EBADE = syscall.Errno(0x32)
-- EBADF = syscall.Errno(0x9)
- EBADFD = syscall.Errno(0x51)
- EBADMSG = syscall.Errno(0x4d)
- EBADR = syscall.Errno(0x33)
- EBADRQC = syscall.Errno(0x36)
- EBADSLT = syscall.Errno(0x37)
- EBFONT = syscall.Errno(0x3b)
-- EBUSY = syscall.Errno(0x10)
- ECANCELED = syscall.Errno(0x9e)
-- ECHILD = syscall.Errno(0xa)
- ECHRNG = syscall.Errno(0x25)
- ECOMM = syscall.Errno(0x46)
- ECONNABORTED = syscall.Errno(0x82)
-@@ -1886,12 +502,8 @@ const (
- EDEADLK = syscall.Errno(0x2d)
- EDEADLOCK = syscall.Errno(0x38)
- EDESTADDRREQ = syscall.Errno(0x60)
-- EDOM = syscall.Errno(0x21)
- EDOTDOT = syscall.Errno(0x49)
- EDQUOT = syscall.Errno(0x46d)
-- EEXIST = syscall.Errno(0x11)
-- EFAULT = syscall.Errno(0xe)
-- EFBIG = syscall.Errno(0x1b)
- EHOSTDOWN = syscall.Errno(0x93)
- EHOSTUNREACH = syscall.Errno(0x94)
- EHWPOISON = syscall.Errno(0xa8)
-@@ -1899,11 +511,7 @@ const (
- EILSEQ = syscall.Errno(0x58)
- EINIT = syscall.Errno(0x8d)
- EINPROGRESS = syscall.Errno(0x96)
-- EINTR = syscall.Errno(0x4)
-- EINVAL = syscall.Errno(0x16)
-- EIO = syscall.Errno(0x5)
- EISCONN = syscall.Errno(0x85)
-- EISDIR = syscall.Errno(0x15)
- EISNAM = syscall.Errno(0x8b)
- EKEYEXPIRED = syscall.Errno(0xa2)
- EKEYREJECTED = syscall.Errno(0xa4)
-@@ -1920,8 +528,6 @@ const (
- ELNRNG = syscall.Errno(0x29)
- ELOOP = syscall.Errno(0x5a)
- EMEDIUMTYPE = syscall.Errno(0xa0)
-- EMFILE = syscall.Errno(0x18)
-- EMLINK = syscall.Errno(0x1f)
- EMSGSIZE = syscall.Errno(0x61)
- EMULTIHOP = syscall.Errno(0x4a)
- ENAMETOOLONG = syscall.Errno(0x4e)
-@@ -1929,100 +535,68 @@ const (
- ENETDOWN = syscall.Errno(0x7f)
- ENETRESET = syscall.Errno(0x81)
- ENETUNREACH = syscall.Errno(0x80)
-- ENFILE = syscall.Errno(0x17)
- ENOANO = syscall.Errno(0x35)
- ENOBUFS = syscall.Errno(0x84)
- ENOCSI = syscall.Errno(0x2b)
- ENODATA = syscall.Errno(0x3d)
-- ENODEV = syscall.Errno(0x13)
-- ENOENT = syscall.Errno(0x2)
-- ENOEXEC = syscall.Errno(0x8)
- ENOKEY = syscall.Errno(0xa1)
- ENOLCK = syscall.Errno(0x2e)
- ENOLINK = syscall.Errno(0x43)
- ENOMEDIUM = syscall.Errno(0x9f)
-- ENOMEM = syscall.Errno(0xc)
- ENOMSG = syscall.Errno(0x23)
- ENONET = syscall.Errno(0x40)
- ENOPKG = syscall.Errno(0x41)
- ENOPROTOOPT = syscall.Errno(0x63)
-- ENOSPC = syscall.Errno(0x1c)
- ENOSR = syscall.Errno(0x3f)
- ENOSTR = syscall.Errno(0x3c)
- ENOSYS = syscall.Errno(0x59)
-- ENOTBLK = syscall.Errno(0xf)
- ENOTCONN = syscall.Errno(0x86)
-- ENOTDIR = syscall.Errno(0x14)
- ENOTEMPTY = syscall.Errno(0x5d)
- ENOTNAM = syscall.Errno(0x89)
- ENOTRECOVERABLE = syscall.Errno(0xa6)
- ENOTSOCK = syscall.Errno(0x5f)
- ENOTSUP = syscall.Errno(0x7a)
-- ENOTTY = syscall.Errno(0x19)
- ENOTUNIQ = syscall.Errno(0x50)
-- ENXIO = syscall.Errno(0x6)
- EOPNOTSUPP = syscall.Errno(0x7a)
- EOVERFLOW = syscall.Errno(0x4f)
- EOWNERDEAD = syscall.Errno(0xa5)
-- EPERM = syscall.Errno(0x1)
- EPFNOSUPPORT = syscall.Errno(0x7b)
-- EPIPE = syscall.Errno(0x20)
- EPROTO = syscall.Errno(0x47)
- EPROTONOSUPPORT = syscall.Errno(0x78)
- EPROTOTYPE = syscall.Errno(0x62)
-- ERANGE = syscall.Errno(0x22)
- EREMCHG = syscall.Errno(0x52)
- EREMDEV = syscall.Errno(0x8e)
- EREMOTE = syscall.Errno(0x42)
- EREMOTEIO = syscall.Errno(0x8c)
- ERESTART = syscall.Errno(0x5b)
- ERFKILL = syscall.Errno(0xa7)
-- EROFS = syscall.Errno(0x1e)
- ESHUTDOWN = syscall.Errno(0x8f)
- ESOCKTNOSUPPORT = syscall.Errno(0x79)
-- ESPIPE = syscall.Errno(0x1d)
-- ESRCH = syscall.Errno(0x3)
- ESRMNT = syscall.Errno(0x45)
- ESTALE = syscall.Errno(0x97)
- ESTRPIPE = syscall.Errno(0x5c)
- ETIME = syscall.Errno(0x3e)
- ETIMEDOUT = syscall.Errno(0x91)
- ETOOMANYREFS = syscall.Errno(0x90)
-- ETXTBSY = syscall.Errno(0x1a)
- EUCLEAN = syscall.Errno(0x87)
- EUNATCH = syscall.Errno(0x2a)
- EUSERS = syscall.Errno(0x5e)
-- EWOULDBLOCK = syscall.Errno(0xb)
-- EXDEV = syscall.Errno(0x12)
- EXFULL = syscall.Errno(0x34)
- )
-
- // Signals
- const (
-- SIGABRT = syscall.Signal(0x6)
-- SIGALRM = syscall.Signal(0xe)
- SIGBUS = syscall.Signal(0xa)
- SIGCHLD = syscall.Signal(0x12)
- SIGCLD = syscall.Signal(0x12)
- SIGCONT = syscall.Signal(0x19)
- SIGEMT = syscall.Signal(0x7)
-- SIGFPE = syscall.Signal(0x8)
-- SIGHUP = syscall.Signal(0x1)
-- SIGILL = syscall.Signal(0x4)
-- SIGINT = syscall.Signal(0x2)
- SIGIO = syscall.Signal(0x16)
-- SIGIOT = syscall.Signal(0x6)
-- SIGKILL = syscall.Signal(0x9)
-- SIGPIPE = syscall.Signal(0xd)
- SIGPOLL = syscall.Signal(0x16)
- SIGPROF = syscall.Signal(0x1d)
- SIGPWR = syscall.Signal(0x13)
-- SIGQUIT = syscall.Signal(0x3)
-- SIGSEGV = syscall.Signal(0xb)
- SIGSTOP = syscall.Signal(0x17)
- SIGSYS = syscall.Signal(0xc)
-- SIGTERM = syscall.Signal(0xf)
-- SIGTRAP = syscall.Signal(0x5)
- SIGTSTP = syscall.Signal(0x18)
- SIGTTIN = syscall.Signal(0x1a)
- SIGTTOU = syscall.Signal(0x1b)
-@@ -2036,174 +610,182 @@ const (
- )
-
- // Error table
--var errors = [...]string{
-- 1: "operation not permitted",
-- 2: "no such file or directory",
-- 3: "no such process",
-- 4: "interrupted system call",
-- 5: "input/output error",
-- 6: "no such device or address",
-- 7: "argument list too long",
-- 8: "exec format error",
-- 9: "bad file descriptor",
-- 10: "no child processes",
-- 11: "resource temporarily unavailable",
-- 12: "cannot allocate memory",
-- 13: "permission denied",
-- 14: "bad address",
-- 15: "block device required",
-- 16: "device or resource busy",
-- 17: "file exists",
-- 18: "invalid cross-device link",
-- 19: "no such device",
-- 20: "not a directory",
-- 21: "is a directory",
-- 22: "invalid argument",
-- 23: "too many open files in system",
-- 24: "too many open files",
-- 25: "inappropriate ioctl for device",
-- 26: "text file busy",
-- 27: "file too large",
-- 28: "no space left on device",
-- 29: "illegal seek",
-- 30: "read-only file system",
-- 31: "too many links",
-- 32: "broken pipe",
-- 33: "numerical argument out of domain",
-- 34: "numerical result out of range",
-- 35: "no message of desired type",
-- 36: "identifier removed",
-- 37: "channel number out of range",
-- 38: "level 2 not synchronized",
-- 39: "level 3 halted",
-- 40: "level 3 reset",
-- 41: "link number out of range",
-- 42: "protocol driver not attached",
-- 43: "no CSI structure available",
-- 44: "level 2 halted",
-- 45: "resource deadlock avoided",
-- 46: "no locks available",
-- 50: "invalid exchange",
-- 51: "invalid request descriptor",
-- 52: "exchange full",
-- 53: "no anode",
-- 54: "invalid request code",
-- 55: "invalid slot",
-- 56: "file locking deadlock error",
-- 59: "bad font file format",
-- 60: "device not a stream",
-- 61: "no data available",
-- 62: "timer expired",
-- 63: "out of streams resources",
-- 64: "machine is not on the network",
-- 65: "package not installed",
-- 66: "object is remote",
-- 67: "link has been severed",
-- 68: "advertise error",
-- 69: "srmount error",
-- 70: "communication error on send",
-- 71: "protocol error",
-- 73: "RFS specific error",
-- 74: "multihop attempted",
-- 77: "bad message",
-- 78: "file name too long",
-- 79: "value too large for defined data type",
-- 80: "name not unique on network",
-- 81: "file descriptor in bad state",
-- 82: "remote address changed",
-- 83: "can not access a needed shared library",
-- 84: "accessing a corrupted shared library",
-- 85: ".lib section in a.out corrupted",
-- 86: "attempting to link in too many shared libraries",
-- 87: "cannot exec a shared library directly",
-- 88: "invalid or incomplete multibyte or wide character",
-- 89: "function not implemented",
-- 90: "too many levels of symbolic links",
-- 91: "interrupted system call should be restarted",
-- 92: "streams pipe error",
-- 93: "directory not empty",
-- 94: "too many users",
-- 95: "socket operation on non-socket",
-- 96: "destination address required",
-- 97: "message too long",
-- 98: "protocol wrong type for socket",
-- 99: "protocol not available",
-- 120: "protocol not supported",
-- 121: "socket type not supported",
-- 122: "operation not supported",
-- 123: "protocol family not supported",
-- 124: "address family not supported by protocol",
-- 125: "address already in use",
-- 126: "cannot assign requested address",
-- 127: "network is down",
-- 128: "network is unreachable",
-- 129: "network dropped connection on reset",
-- 130: "software caused connection abort",
-- 131: "connection reset by peer",
-- 132: "no buffer space available",
-- 133: "transport endpoint is already connected",
-- 134: "transport endpoint is not connected",
-- 135: "structure needs cleaning",
-- 137: "not a XENIX named type file",
-- 138: "no XENIX semaphores available",
-- 139: "is a named type file",
-- 140: "remote I/O error",
-- 141: "unknown error 141",
-- 142: "unknown error 142",
-- 143: "cannot send after transport endpoint shutdown",
-- 144: "too many references: cannot splice",
-- 145: "connection timed out",
-- 146: "connection refused",
-- 147: "host is down",
-- 148: "no route to host",
-- 149: "operation already in progress",
-- 150: "operation now in progress",
-- 151: "stale file handle",
-- 158: "operation canceled",
-- 159: "no medium found",
-- 160: "wrong medium type",
-- 161: "required key not available",
-- 162: "key has expired",
-- 163: "key has been revoked",
-- 164: "key was rejected by service",
-- 165: "owner died",
-- 166: "state not recoverable",
-- 167: "operation not possible due to RF-kill",
-- 168: "memory page has hardware error",
-- 1133: "disk quota exceeded",
-+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, "ENOMSG", "no message of desired type"},
-+ {36, "EIDRM", "identifier removed"},
-+ {37, "ECHRNG", "channel number out of range"},
-+ {38, "EL2NSYNC", "level 2 not synchronized"},
-+ {39, "EL3HLT", "level 3 halted"},
-+ {40, "EL3RST", "level 3 reset"},
-+ {41, "ELNRNG", "link number out of range"},
-+ {42, "EUNATCH", "protocol driver not attached"},
-+ {43, "ENOCSI", "no CSI structure available"},
-+ {44, "EL2HLT", "level 2 halted"},
-+ {45, "EDEADLK", "resource deadlock avoided"},
-+ {46, "ENOLCK", "no locks available"},
-+ {50, "EBADE", "invalid exchange"},
-+ {51, "EBADR", "invalid request descriptor"},
-+ {52, "EXFULL", "exchange full"},
-+ {53, "ENOANO", "no anode"},
-+ {54, "EBADRQC", "invalid request code"},
-+ {55, "EBADSLT", "invalid slot"},
-+ {56, "EDEADLOCK", "file locking deadlock error"},
-+ {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"},
-+ {73, "EDOTDOT", "RFS specific error"},
-+ {74, "EMULTIHOP", "multihop attempted"},
-+ {77, "EBADMSG", "bad message"},
-+ {78, "ENAMETOOLONG", "file name too long"},
-+ {79, "EOVERFLOW", "value too large for defined data type"},
-+ {80, "ENOTUNIQ", "name not unique on network"},
-+ {81, "EBADFD", "file descriptor in bad state"},
-+ {82, "EREMCHG", "remote address changed"},
-+ {83, "ELIBACC", "can not access a needed shared library"},
-+ {84, "ELIBBAD", "accessing a corrupted shared library"},
-+ {85, "ELIBSCN", ".lib section in a.out corrupted"},
-+ {86, "ELIBMAX", "attempting to link in too many shared libraries"},
-+ {87, "ELIBEXEC", "cannot exec a shared library directly"},
-+ {88, "EILSEQ", "invalid or incomplete multibyte or wide character"},
-+ {89, "ENOSYS", "function not implemented"},
-+ {90, "ELOOP", "too many levels of symbolic links"},
-+ {91, "ERESTART", "interrupted system call should be restarted"},
-+ {92, "ESTRPIPE", "streams pipe error"},
-+ {93, "ENOTEMPTY", "directory not empty"},
-+ {94, "EUSERS", "too many users"},
-+ {95, "ENOTSOCK", "socket operation on non-socket"},
-+ {96, "EDESTADDRREQ", "destination address required"},
-+ {97, "EMSGSIZE", "message too long"},
-+ {98, "EPROTOTYPE", "protocol wrong type for socket"},
-+ {99, "ENOPROTOOPT", "protocol not available"},
-+ {120, "EPROTONOSUPPORT", "protocol not supported"},
-+ {121, "ESOCKTNOSUPPORT", "socket type not supported"},
-+ {122, "ENOTSUP", "operation not supported"},
-+ {123, "EPFNOSUPPORT", "protocol family not supported"},
-+ {124, "EAFNOSUPPORT", "address family not supported by protocol"},
-+ {125, "EADDRINUSE", "address already in use"},
-+ {126, "EADDRNOTAVAIL", "cannot assign requested address"},
-+ {127, "ENETDOWN", "network is down"},
-+ {128, "ENETUNREACH", "network is unreachable"},
-+ {129, "ENETRESET", "network dropped connection on reset"},
-+ {130, "ECONNABORTED", "software caused connection abort"},
-+ {131, "ECONNRESET", "connection reset by peer"},
-+ {132, "ENOBUFS", "no buffer space available"},
-+ {133, "EISCONN", "transport endpoint is already connected"},
-+ {134, "ENOTCONN", "transport endpoint is not connected"},
-+ {135, "EUCLEAN", "structure needs cleaning"},
-+ {137, "ENOTNAM", "not a XENIX named type file"},
-+ {138, "ENAVAIL", "no XENIX semaphores available"},
-+ {139, "EISNAM", "is a named type file"},
-+ {140, "EREMOTEIO", "remote I/O error"},
-+ {141, "EINIT", "unknown error 141"},
-+ {142, "EREMDEV", "unknown error 142"},
-+ {143, "ESHUTDOWN", "cannot send after transport endpoint shutdown"},
-+ {144, "ETOOMANYREFS", "too many references: cannot splice"},
-+ {145, "ETIMEDOUT", "connection timed out"},
-+ {146, "ECONNREFUSED", "connection refused"},
-+ {147, "EHOSTDOWN", "host is down"},
-+ {148, "EHOSTUNREACH", "no route to host"},
-+ {149, "EALREADY", "operation already in progress"},
-+ {150, "EINPROGRESS", "operation now in progress"},
-+ {151, "ESTALE", "stale file handle"},
-+ {158, "ECANCELED", "operation canceled"},
-+ {159, "ENOMEDIUM", "no medium found"},
-+ {160, "EMEDIUMTYPE", "wrong medium type"},
-+ {161, "ENOKEY", "required key not available"},
-+ {162, "EKEYEXPIRED", "key has expired"},
-+ {163, "EKEYREVOKED", "key has been revoked"},
-+ {164, "EKEYREJECTED", "key was rejected by service"},
-+ {165, "EOWNERDEAD", "owner died"},
-+ {166, "ENOTRECOVERABLE", "state not recoverable"},
-+ {167, "ERFKILL", "operation not possible due to RF-kill"},
-+ {168, "EHWPOISON", "memory page has hardware error"},
-+ {1133, "EDQUOT", "disk quota exceeded"},
- }
-
- // Signal table
--var signals = [...]string{
-- 1: "hangup",
-- 2: "interrupt",
-- 3: "quit",
-- 4: "illegal instruction",
-- 5: "trace/breakpoint trap",
-- 6: "aborted",
-- 7: "EMT trap",
-- 8: "floating point exception",
-- 9: "killed",
-- 10: "bus error",
-- 11: "segmentation fault",
-- 12: "bad system call",
-- 13: "broken pipe",
-- 14: "alarm clock",
-- 15: "terminated",
-- 16: "user defined signal 1",
-- 17: "user defined signal 2",
-- 18: "child exited",
-- 19: "power failure",
-- 20: "window changed",
-- 21: "urgent I/O condition",
-- 22: "I/O possible",
-- 23: "stopped (signal)",
-- 24: "stopped",
-- 25: "continued",
-- 26: "stopped (tty input)",
-- 27: "stopped (tty output)",
-- 28: "virtual timer expired",
-- 29: "profiling timer expired",
-- 30: "CPU time limit exceeded",
-- 31: "file size limit exceeded",
-+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, "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, "SIGUSR1", "user defined signal 1"},
-+ {17, "SIGUSR2", "user defined signal 2"},
-+ {18, "SIGCHLD", "child exited"},
-+ {19, "SIGPWR", "power failure"},
-+ {20, "SIGWINCH", "window changed"},
-+ {21, "SIGURG", "urgent I/O condition"},
-+ {22, "SIGIO", "I/O possible"},
-+ {23, "SIGSTOP", "stopped (signal)"},
-+ {24, "SIGTSTP", "stopped"},
-+ {25, "SIGCONT", "continued"},
-+ {26, "SIGTTIN", "stopped (tty input)"},
-+ {27, "SIGTTOU", "stopped (tty output)"},
-+ {28, "SIGVTALRM", "virtual timer expired"},
-+ {29, "SIGPROF", "profiling timer expired"},
-+ {30, "SIGXCPU", "CPU time limit exceeded"},
-+ {31, "SIGXFSZ", "file size limit exceeded"},
- }
-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 44191b0c..2dfe6bba 100644
---- a/vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go
-+++ b/vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go
-@@ -3,7 +3,7 @@
-
- // +build mipsle,linux
-
--// Created by cgo -godefs - DO NOT EDIT
-+// Code generated by cmd/cgo -godefs; DO NOT EDIT.
- // cgo -godefs -- -Wall -Werror -static -I/tmp/include _const.go
-
- package unix
-@@ -11,1873 +11,489 @@ package unix
- import "syscall"
-
- const (
-- AF_ALG = 0x26
-- AF_APPLETALK = 0x5
-- AF_ASH = 0x12
-- AF_ATMPVC = 0x8
-- AF_ATMSVC = 0x14
-- AF_AX25 = 0x3
-- AF_BLUETOOTH = 0x1f
-- AF_BRIDGE = 0x7
-- AF_CAIF = 0x25
-- AF_CAN = 0x1d
-- AF_DECnet = 0xc
-- AF_ECONET = 0x13
-- AF_FILE = 0x1
-- AF_IB = 0x1b
-- AF_IEEE802154 = 0x24
-- AF_INET = 0x2
-- AF_INET6 = 0xa
-- AF_IPX = 0x4
-- AF_IRDA = 0x17
-- AF_ISDN = 0x22
-- AF_IUCV = 0x20
-- AF_KCM = 0x29
-- AF_KEY = 0xf
-- AF_LLC = 0x1a
-- AF_LOCAL = 0x1
-- AF_MAX = 0x2b
-- AF_MPLS = 0x1c
-- AF_NETBEUI = 0xd
-- AF_NETLINK = 0x10
-- AF_NETROM = 0x6
-- AF_NFC = 0x27
-- AF_PACKET = 0x11
-- AF_PHONET = 0x23
-- AF_PPPOX = 0x18
-- AF_QIPCRTR = 0x2a
-- AF_RDS = 0x15
-- AF_ROSE = 0xb
-- AF_ROUTE = 0x10
-- AF_RXRPC = 0x21
-- AF_SECURITY = 0xe
-- AF_SNA = 0x16
-- AF_TIPC = 0x1e
-- AF_UNIX = 0x1
-- AF_UNSPEC = 0x0
-- AF_VSOCK = 0x28
-- AF_WANPIPE = 0x19
-- AF_X25 = 0x9
-- ALG_OP_DECRYPT = 0x0
-- ALG_OP_ENCRYPT = 0x1
-- ALG_SET_AEAD_ASSOCLEN = 0x4
-- ALG_SET_AEAD_AUTHSIZE = 0x5
-- ALG_SET_IV = 0x2
-- ALG_SET_KEY = 0x1
-- ALG_SET_OP = 0x3
-- ARPHRD_6LOWPAN = 0x339
-- ARPHRD_ADAPT = 0x108
-- ARPHRD_APPLETLK = 0x8
-- ARPHRD_ARCNET = 0x7
-- ARPHRD_ASH = 0x30d
-- ARPHRD_ATM = 0x13
-- ARPHRD_AX25 = 0x3
-- ARPHRD_BIF = 0x307
-- ARPHRD_CAIF = 0x336
-- ARPHRD_CAN = 0x118
-- ARPHRD_CHAOS = 0x5
-- ARPHRD_CISCO = 0x201
-- ARPHRD_CSLIP = 0x101
-- ARPHRD_CSLIP6 = 0x103
-- ARPHRD_DDCMP = 0x205
-- ARPHRD_DLCI = 0xf
-- ARPHRD_ECONET = 0x30e
-- ARPHRD_EETHER = 0x2
-- ARPHRD_ETHER = 0x1
-- ARPHRD_EUI64 = 0x1b
-- ARPHRD_FCAL = 0x311
-- ARPHRD_FCFABRIC = 0x313
-- ARPHRD_FCPL = 0x312
-- ARPHRD_FCPP = 0x310
-- ARPHRD_FDDI = 0x306
-- ARPHRD_FRAD = 0x302
-- ARPHRD_HDLC = 0x201
-- ARPHRD_HIPPI = 0x30c
-- ARPHRD_HWX25 = 0x110
-- ARPHRD_IEEE1394 = 0x18
-- ARPHRD_IEEE802 = 0x6
-- ARPHRD_IEEE80211 = 0x321
-- ARPHRD_IEEE80211_PRISM = 0x322
-- ARPHRD_IEEE80211_RADIOTAP = 0x323
-- ARPHRD_IEEE802154 = 0x324
-- ARPHRD_IEEE802154_MONITOR = 0x325
-- ARPHRD_IEEE802_TR = 0x320
-- ARPHRD_INFINIBAND = 0x20
-- ARPHRD_IP6GRE = 0x337
-- ARPHRD_IPDDP = 0x309
-- ARPHRD_IPGRE = 0x30a
-- ARPHRD_IRDA = 0x30f
-- ARPHRD_LAPB = 0x204
-- ARPHRD_LOCALTLK = 0x305
-- ARPHRD_LOOPBACK = 0x304
-- ARPHRD_METRICOM = 0x17
-- ARPHRD_NETLINK = 0x338
-- ARPHRD_NETROM = 0x0
-- ARPHRD_NONE = 0xfffe
-- ARPHRD_PHONET = 0x334
-- ARPHRD_PHONET_PIPE = 0x335
-- ARPHRD_PIMREG = 0x30b
-- ARPHRD_PPP = 0x200
-- ARPHRD_PRONET = 0x4
-- ARPHRD_RAWHDLC = 0x206
-- ARPHRD_ROSE = 0x10e
-- ARPHRD_RSRVD = 0x104
-- ARPHRD_SIT = 0x308
-- ARPHRD_SKIP = 0x303
-- ARPHRD_SLIP = 0x100
-- ARPHRD_SLIP6 = 0x102
-- ARPHRD_TUNNEL = 0x300
-- ARPHRD_TUNNEL6 = 0x301
-- ARPHRD_VOID = 0xffff
-- ARPHRD_X25 = 0x10f
-- B0 = 0x0
-- B1000000 = 0x1008
-- B110 = 0x3
-- B115200 = 0x1002
-- B1152000 = 0x1009
-- B1200 = 0x9
-- B134 = 0x4
-- B150 = 0x5
-- B1500000 = 0x100a
-- B1800 = 0xa
-- B19200 = 0xe
-- B200 = 0x6
-- B2000000 = 0x100b
-- B230400 = 0x1003
-- B2400 = 0xb
-- B2500000 = 0x100c
-- B300 = 0x7
-- B3000000 = 0x100d
-- B3500000 = 0x100e
-- B38400 = 0xf
-- B4000000 = 0x100f
-- B460800 = 0x1004
-- B4800 = 0xc
-- B50 = 0x1
-- B500000 = 0x1005
-- B57600 = 0x1001
-- B576000 = 0x1006
-- B600 = 0x8
-- B75 = 0x2
-- B921600 = 0x1007
-- B9600 = 0xd
-- BLKBSZGET = 0x40041270
-- BLKBSZSET = 0x80041271
-- BLKFLSBUF = 0x20001261
-- BLKFRAGET = 0x20001265
-- BLKFRASET = 0x20001264
-- BLKGETSIZE = 0x20001260
-- BLKGETSIZE64 = 0x40041272
-- BLKPBSZGET = 0x2000127b
-- BLKRAGET = 0x20001263
-- BLKRASET = 0x20001262
-- BLKROGET = 0x2000125e
-- BLKROSET = 0x2000125d
-- BLKRRPART = 0x2000125f
-- BLKSECTGET = 0x20001267
-- BLKSECTSET = 0x20001266
-- BLKSSZGET = 0x20001268
-- BOTHER = 0x1000
-- BPF_A = 0x10
-- BPF_ABS = 0x20
-- BPF_ADD = 0x0
-- BPF_ALU = 0x4
-- BPF_AND = 0x50
-- BPF_B = 0x10
-- BPF_DIV = 0x30
-- BPF_H = 0x8
-- BPF_IMM = 0x0
-- BPF_IND = 0x40
-- BPF_JA = 0x0
-- BPF_JEQ = 0x10
-- BPF_JGE = 0x30
-- BPF_JGT = 0x20
-- BPF_JMP = 0x5
-- BPF_JSET = 0x40
-- BPF_K = 0x0
-- BPF_LD = 0x0
-- BPF_LDX = 0x1
-- BPF_LEN = 0x80
-- BPF_LL_OFF = -0x200000
-- BPF_LSH = 0x60
-- BPF_MAJOR_VERSION = 0x1
-- BPF_MAXINSNS = 0x1000
-- BPF_MEM = 0x60
-- BPF_MEMWORDS = 0x10
-- BPF_MINOR_VERSION = 0x1
-- BPF_MISC = 0x7
-- BPF_MOD = 0x90
-- BPF_MSH = 0xa0
-- BPF_MUL = 0x20
-- BPF_NEG = 0x80
-- BPF_NET_OFF = -0x100000
-- BPF_OR = 0x40
-- BPF_RET = 0x6
-- BPF_RSH = 0x70
-- BPF_ST = 0x2
-- BPF_STX = 0x3
-- BPF_SUB = 0x10
-- BPF_TAX = 0x0
-- BPF_TXA = 0x80
-- BPF_W = 0x0
-- BPF_X = 0x8
-- BPF_XOR = 0xa0
-- BRKINT = 0x2
-- BS0 = 0x0
-- BS1 = 0x2000
-- BSDLY = 0x2000
-- CAN_BCM = 0x2
-- CAN_EFF_FLAG = 0x80000000
-- CAN_EFF_ID_BITS = 0x1d
-- CAN_EFF_MASK = 0x1fffffff
-- CAN_ERR_FLAG = 0x20000000
-- CAN_ERR_MASK = 0x1fffffff
-- CAN_INV_FILTER = 0x20000000
-- CAN_ISOTP = 0x6
-- CAN_MAX_DLC = 0x8
-- CAN_MAX_DLEN = 0x8
-- CAN_MCNET = 0x5
-- CAN_MTU = 0x10
-- CAN_NPROTO = 0x7
-- CAN_RAW = 0x1
-- CAN_RAW_FILTER_MAX = 0x200
-- CAN_RTR_FLAG = 0x40000000
-- CAN_SFF_ID_BITS = 0xb
-- CAN_SFF_MASK = 0x7ff
-- CAN_TP16 = 0x3
-- CAN_TP20 = 0x4
-- CBAUD = 0x100f
-- CBAUDEX = 0x1000
-- CFLUSH = 0xf
-- CIBAUD = 0x100f0000
-- CLOCAL = 0x800
-- CLOCK_BOOTTIME = 0x7
-- CLOCK_BOOTTIME_ALARM = 0x9
-- CLOCK_DEFAULT = 0x0
-- CLOCK_EXT = 0x1
-- CLOCK_INT = 0x2
-- CLOCK_MONOTONIC = 0x1
-- CLOCK_MONOTONIC_COARSE = 0x6
-- CLOCK_MONOTONIC_RAW = 0x4
-- CLOCK_PROCESS_CPUTIME_ID = 0x2
-- CLOCK_REALTIME = 0x0
-- CLOCK_REALTIME_ALARM = 0x8
-- CLOCK_REALTIME_COARSE = 0x5
-- CLOCK_TAI = 0xb
-- CLOCK_THREAD_CPUTIME_ID = 0x3
-- CLOCK_TXFROMRX = 0x4
-- CLOCK_TXINT = 0x3
-- CLONE_CHILD_CLEARTID = 0x200000
-- CLONE_CHILD_SETTID = 0x1000000
-- CLONE_DETACHED = 0x400000
-- CLONE_FILES = 0x400
-- CLONE_FS = 0x200
-- CLONE_IO = 0x80000000
-- CLONE_NEWCGROUP = 0x2000000
-- CLONE_NEWIPC = 0x8000000
-- CLONE_NEWNET = 0x40000000
-- CLONE_NEWNS = 0x20000
-- CLONE_NEWPID = 0x20000000
-- CLONE_NEWUSER = 0x10000000
-- CLONE_NEWUTS = 0x4000000
-- CLONE_PARENT = 0x8000
-- CLONE_PARENT_SETTID = 0x100000
-- CLONE_PTRACE = 0x2000
-- CLONE_SETTLS = 0x80000
-- CLONE_SIGHAND = 0x800
-- CLONE_SYSVSEM = 0x40000
-- CLONE_THREAD = 0x10000
-- CLONE_UNTRACED = 0x800000
-- CLONE_VFORK = 0x4000
-- CLONE_VM = 0x100
-- CMSPAR = 0x40000000
-- CR0 = 0x0
-- CR1 = 0x200
-- CR2 = 0x400
-- CR3 = 0x600
-- CRDLY = 0x600
-- CREAD = 0x80
-- CRTSCTS = 0x80000000
-- CS5 = 0x0
-- CS6 = 0x10
-- CS7 = 0x20
-- CS8 = 0x30
-- CSIGNAL = 0xff
-- CSIZE = 0x30
-- CSTART = 0x11
-- CSTATUS = 0x0
-- CSTOP = 0x13
-- CSTOPB = 0x40
-- CSUSP = 0x1a
-- DT_BLK = 0x6
-- DT_CHR = 0x2
-- DT_DIR = 0x4
-- DT_FIFO = 0x1
-- DT_LNK = 0xa
-- DT_REG = 0x8
-- DT_SOCK = 0xc
-- DT_UNKNOWN = 0x0
-- DT_WHT = 0xe
-- ECHO = 0x8
-- ECHOCTL = 0x200
-- ECHOE = 0x10
-- ECHOK = 0x20
-- ECHOKE = 0x800
-- ECHONL = 0x40
-- ECHOPRT = 0x400
-- EFD_CLOEXEC = 0x80000
-- EFD_NONBLOCK = 0x80
-- EFD_SEMAPHORE = 0x1
-- ENCODING_DEFAULT = 0x0
-- ENCODING_FM_MARK = 0x3
-- ENCODING_FM_SPACE = 0x4
-- ENCODING_MANCHESTER = 0x5
-- ENCODING_NRZ = 0x1
-- ENCODING_NRZI = 0x2
-- EPOLLERR = 0x8
-- EPOLLET = 0x80000000
-- EPOLLEXCLUSIVE = 0x10000000
-- EPOLLHUP = 0x10
-- EPOLLIN = 0x1
-- EPOLLMSG = 0x400
-- EPOLLONESHOT = 0x40000000
-- EPOLLOUT = 0x4
-- EPOLLPRI = 0x2
-- EPOLLRDBAND = 0x80
-- EPOLLRDHUP = 0x2000
-- EPOLLRDNORM = 0x40
-- EPOLLWAKEUP = 0x20000000
-- EPOLLWRBAND = 0x200
-- EPOLLWRNORM = 0x100
-- EPOLL_CLOEXEC = 0x80000
-- EPOLL_CTL_ADD = 0x1
-- EPOLL_CTL_DEL = 0x2
-- EPOLL_CTL_MOD = 0x3
-- ETH_P_1588 = 0x88f7
-- ETH_P_8021AD = 0x88a8
-- ETH_P_8021AH = 0x88e7
-- ETH_P_8021Q = 0x8100
-- ETH_P_80221 = 0x8917
-- ETH_P_802_2 = 0x4
-- ETH_P_802_3 = 0x1
-- ETH_P_802_3_MIN = 0x600
-- ETH_P_802_EX1 = 0x88b5
-- ETH_P_AARP = 0x80f3
-- ETH_P_AF_IUCV = 0xfbfb
-- ETH_P_ALL = 0x3
-- ETH_P_AOE = 0x88a2
-- ETH_P_ARCNET = 0x1a
-- ETH_P_ARP = 0x806
-- ETH_P_ATALK = 0x809b
-- ETH_P_ATMFATE = 0x8884
-- ETH_P_ATMMPOA = 0x884c
-- ETH_P_AX25 = 0x2
-- ETH_P_BATMAN = 0x4305
-- ETH_P_BPQ = 0x8ff
-- ETH_P_CAIF = 0xf7
-- ETH_P_CAN = 0xc
-- ETH_P_CANFD = 0xd
-- ETH_P_CONTROL = 0x16
-- ETH_P_CUST = 0x6006
-- ETH_P_DDCMP = 0x6
-- ETH_P_DEC = 0x6000
-- ETH_P_DIAG = 0x6005
-- ETH_P_DNA_DL = 0x6001
-- ETH_P_DNA_RC = 0x6002
-- ETH_P_DNA_RT = 0x6003
-- ETH_P_DSA = 0x1b
-- ETH_P_ECONET = 0x18
-- ETH_P_EDSA = 0xdada
-- ETH_P_FCOE = 0x8906
-- ETH_P_FIP = 0x8914
-- ETH_P_HDLC = 0x19
-- ETH_P_HSR = 0x892f
-- ETH_P_IEEE802154 = 0xf6
-- ETH_P_IEEEPUP = 0xa00
-- ETH_P_IEEEPUPAT = 0xa01
-- ETH_P_IP = 0x800
-- ETH_P_IPV6 = 0x86dd
-- ETH_P_IPX = 0x8137
-- ETH_P_IRDA = 0x17
-- ETH_P_LAT = 0x6004
-- ETH_P_LINK_CTL = 0x886c
-- ETH_P_LOCALTALK = 0x9
-- ETH_P_LOOP = 0x60
-- ETH_P_LOOPBACK = 0x9000
-- ETH_P_MACSEC = 0x88e5
-- ETH_P_MOBITEX = 0x15
-- ETH_P_MPLS_MC = 0x8848
-- ETH_P_MPLS_UC = 0x8847
-- ETH_P_MVRP = 0x88f5
-- ETH_P_NCSI = 0x88f8
-- ETH_P_PAE = 0x888e
-- ETH_P_PAUSE = 0x8808
-- ETH_P_PHONET = 0xf5
-- ETH_P_PPPTALK = 0x10
-- ETH_P_PPP_DISC = 0x8863
-- ETH_P_PPP_MP = 0x8
-- ETH_P_PPP_SES = 0x8864
-- ETH_P_PRP = 0x88fb
-- ETH_P_PUP = 0x200
-- ETH_P_PUPAT = 0x201
-- ETH_P_QINQ1 = 0x9100
-- ETH_P_QINQ2 = 0x9200
-- ETH_P_QINQ3 = 0x9300
-- ETH_P_RARP = 0x8035
-- ETH_P_SCA = 0x6007
-- ETH_P_SLOW = 0x8809
-- ETH_P_SNAP = 0x5
-- ETH_P_TDLS = 0x890d
-- ETH_P_TEB = 0x6558
-- ETH_P_TIPC = 0x88ca
-- ETH_P_TRAILER = 0x1c
-- ETH_P_TR_802_2 = 0x11
-- ETH_P_TSN = 0x22f0
-- ETH_P_WAN_PPP = 0x7
-- ETH_P_WCCP = 0x883e
-- ETH_P_X25 = 0x805
-- ETH_P_XDSA = 0xf8
-- EXTA = 0xe
-- EXTB = 0xf
-- EXTPROC = 0x10000
-- FALLOC_FL_COLLAPSE_RANGE = 0x8
-- FALLOC_FL_INSERT_RANGE = 0x20
-- FALLOC_FL_KEEP_SIZE = 0x1
-- FALLOC_FL_NO_HIDE_STALE = 0x4
-- FALLOC_FL_PUNCH_HOLE = 0x2
-- FALLOC_FL_UNSHARE_RANGE = 0x40
-- FALLOC_FL_ZERO_RANGE = 0x10
-- FD_CLOEXEC = 0x1
-- FD_SETSIZE = 0x400
-- FF0 = 0x0
-- FF1 = 0x8000
-- FFDLY = 0x8000
-- FLUSHO = 0x2000
-- FS_ENCRYPTION_MODE_AES_256_CBC = 0x3
-- FS_ENCRYPTION_MODE_AES_256_CTS = 0x4
-- FS_ENCRYPTION_MODE_AES_256_GCM = 0x2
-- FS_ENCRYPTION_MODE_AES_256_XTS = 0x1
-- FS_ENCRYPTION_MODE_INVALID = 0x0
-- FS_IOC_GET_ENCRYPTION_POLICY = 0x800c6615
-- FS_IOC_GET_ENCRYPTION_PWSALT = 0x80106614
-- FS_IOC_SET_ENCRYPTION_POLICY = 0x400c6613
-- FS_KEY_DESCRIPTOR_SIZE = 0x8
-- FS_KEY_DESC_PREFIX = "fscrypt:"
-- FS_KEY_DESC_PREFIX_SIZE = 0x8
-- FS_MAX_KEY_SIZE = 0x40
-- FS_POLICY_FLAGS_PAD_16 = 0x2
-- FS_POLICY_FLAGS_PAD_32 = 0x3
-- FS_POLICY_FLAGS_PAD_4 = 0x0
-- FS_POLICY_FLAGS_PAD_8 = 0x1
-- FS_POLICY_FLAGS_PAD_MASK = 0x3
-- FS_POLICY_FLAGS_VALID = 0x3
-- F_DUPFD = 0x0
-- F_DUPFD_CLOEXEC = 0x406
-- F_EXLCK = 0x4
-- F_GETFD = 0x1
-- F_GETFL = 0x3
-- F_GETLEASE = 0x401
-- F_GETLK = 0x21
-- F_GETLK64 = 0x21
-- F_GETOWN = 0x17
-- F_GETOWN_EX = 0x10
-- F_GETPIPE_SZ = 0x408
-- F_GETSIG = 0xb
-- F_LOCK = 0x1
-- F_NOTIFY = 0x402
-- F_OFD_GETLK = 0x24
-- F_OFD_SETLK = 0x25
-- F_OFD_SETLKW = 0x26
-- F_OK = 0x0
-- F_RDLCK = 0x0
-- F_SETFD = 0x2
-- F_SETFL = 0x4
-- F_SETLEASE = 0x400
-- F_SETLK = 0x22
-- F_SETLK64 = 0x22
-- F_SETLKW = 0x23
-- F_SETLKW64 = 0x23
-- F_SETOWN = 0x18
-- F_SETOWN_EX = 0xf
-- F_SETPIPE_SZ = 0x407
-- F_SETSIG = 0xa
-- F_SHLCK = 0x8
-- F_TEST = 0x3
-- F_TLOCK = 0x2
-- F_ULOCK = 0x0
-- F_UNLCK = 0x2
-- F_WRLCK = 0x1
-- GENL_ADMIN_PERM = 0x1
-- GENL_CMD_CAP_DO = 0x2
-- GENL_CMD_CAP_DUMP = 0x4
-- GENL_CMD_CAP_HASPOL = 0x8
-- GENL_HDRLEN = 0x4
-- GENL_ID_CTRL = 0x10
-- GENL_ID_PMCRAID = 0x12
-- GENL_ID_VFS_DQUOT = 0x11
-- GENL_MAX_ID = 0x3ff
-- GENL_MIN_ID = 0x10
-- GENL_NAMSIZ = 0x10
-- GENL_START_ALLOC = 0x13
-- GENL_UNS_ADMIN_PERM = 0x10
-- GRND_NONBLOCK = 0x1
-- GRND_RANDOM = 0x2
-- HUPCL = 0x400
-- IBSHIFT = 0x10
-- ICANON = 0x2
-- ICMPV6_FILTER = 0x1
-- ICRNL = 0x100
-- IEXTEN = 0x100
-- IFA_F_DADFAILED = 0x8
-- IFA_F_DEPRECATED = 0x20
-- IFA_F_HOMEADDRESS = 0x10
-- IFA_F_MANAGETEMPADDR = 0x100
-- IFA_F_MCAUTOJOIN = 0x400
-- IFA_F_NODAD = 0x2
-- IFA_F_NOPREFIXROUTE = 0x200
-- IFA_F_OPTIMISTIC = 0x4
-- IFA_F_PERMANENT = 0x80
-- IFA_F_SECONDARY = 0x1
-- IFA_F_STABLE_PRIVACY = 0x800
-- IFA_F_TEMPORARY = 0x1
-- IFA_F_TENTATIVE = 0x40
-- IFA_MAX = 0x8
-- IFF_ALLMULTI = 0x200
-- IFF_ATTACH_QUEUE = 0x200
-- IFF_AUTOMEDIA = 0x4000
-- IFF_BROADCAST = 0x2
-- IFF_DEBUG = 0x4
-- IFF_DETACH_QUEUE = 0x400
-- IFF_DORMANT = 0x20000
-- IFF_DYNAMIC = 0x8000
-- IFF_ECHO = 0x40000
-- IFF_LOOPBACK = 0x8
-- IFF_LOWER_UP = 0x10000
-- IFF_MASTER = 0x400
-- IFF_MULTICAST = 0x1000
-- IFF_MULTI_QUEUE = 0x100
-- IFF_NOARP = 0x80
-- IFF_NOFILTER = 0x1000
-- IFF_NOTRAILERS = 0x20
-- IFF_NO_PI = 0x1000
-- IFF_ONE_QUEUE = 0x2000
-- IFF_PERSIST = 0x800
-- IFF_POINTOPOINT = 0x10
-- IFF_PORTSEL = 0x2000
-- IFF_PROMISC = 0x100
-- IFF_RUNNING = 0x40
-- IFF_SLAVE = 0x800
-- IFF_TAP = 0x2
-- IFF_TUN = 0x1
-- IFF_TUN_EXCL = 0x8000
-- IFF_UP = 0x1
-- IFF_VNET_HDR = 0x4000
-- IFF_VOLATILE = 0x70c5a
-- IFNAMSIZ = 0x10
-- IGNBRK = 0x1
-- IGNCR = 0x80
-- IGNPAR = 0x4
-- IMAXBEL = 0x2000
-- INLCR = 0x40
-- INPCK = 0x10
-- IN_ACCESS = 0x1
-- IN_ALL_EVENTS = 0xfff
-- IN_ATTRIB = 0x4
-- IN_CLASSA_HOST = 0xffffff
-- IN_CLASSA_MAX = 0x80
-- IN_CLASSA_NET = 0xff000000
-- IN_CLASSA_NSHIFT = 0x18
-- IN_CLASSB_HOST = 0xffff
-- IN_CLASSB_MAX = 0x10000
-- IN_CLASSB_NET = 0xffff0000
-- IN_CLASSB_NSHIFT = 0x10
-- IN_CLASSC_HOST = 0xff
-- IN_CLASSC_NET = 0xffffff00
-- IN_CLASSC_NSHIFT = 0x8
-- IN_CLOEXEC = 0x80000
-- IN_CLOSE = 0x18
-- IN_CLOSE_NOWRITE = 0x10
-- IN_CLOSE_WRITE = 0x8
-- IN_CREATE = 0x100
-- IN_DELETE = 0x200
-- IN_DELETE_SELF = 0x400
-- IN_DONT_FOLLOW = 0x2000000
-- IN_EXCL_UNLINK = 0x4000000
-- IN_IGNORED = 0x8000
-- IN_ISDIR = 0x40000000
-- IN_LOOPBACKNET = 0x7f
-- IN_MASK_ADD = 0x20000000
-- IN_MODIFY = 0x2
-- IN_MOVE = 0xc0
-- IN_MOVED_FROM = 0x40
-- IN_MOVED_TO = 0x80
-- IN_MOVE_SELF = 0x800
-- IN_NONBLOCK = 0x80
-- IN_ONESHOT = 0x80000000
-- IN_ONLYDIR = 0x1000000
-- IN_OPEN = 0x20
-- IN_Q_OVERFLOW = 0x4000
-- IN_UNMOUNT = 0x2000
-- IPPROTO_AH = 0x33
-- IPPROTO_BEETPH = 0x5e
-- IPPROTO_COMP = 0x6c
-- IPPROTO_DCCP = 0x21
-- IPPROTO_DSTOPTS = 0x3c
-- IPPROTO_EGP = 0x8
-- IPPROTO_ENCAP = 0x62
-- IPPROTO_ESP = 0x32
-- IPPROTO_FRAGMENT = 0x2c
-- IPPROTO_GRE = 0x2f
-- IPPROTO_HOPOPTS = 0x0
-- IPPROTO_ICMP = 0x1
-- IPPROTO_ICMPV6 = 0x3a
-- IPPROTO_IDP = 0x16
-- IPPROTO_IGMP = 0x2
-- IPPROTO_IP = 0x0
-- IPPROTO_IPIP = 0x4
-- IPPROTO_IPV6 = 0x29
-- IPPROTO_MH = 0x87
-- IPPROTO_MPLS = 0x89
-- IPPROTO_MTP = 0x5c
-- IPPROTO_NONE = 0x3b
-- IPPROTO_PIM = 0x67
-- IPPROTO_PUP = 0xc
-- IPPROTO_RAW = 0xff
-- IPPROTO_ROUTING = 0x2b
-- IPPROTO_RSVP = 0x2e
-- IPPROTO_SCTP = 0x84
-- IPPROTO_TCP = 0x6
-- IPPROTO_TP = 0x1d
-- IPPROTO_UDP = 0x11
-- IPPROTO_UDPLITE = 0x88
-- IPV6_2292DSTOPTS = 0x4
-- IPV6_2292HOPLIMIT = 0x8
-- IPV6_2292HOPOPTS = 0x3
-- IPV6_2292PKTINFO = 0x2
-- IPV6_2292PKTOPTIONS = 0x6
-- IPV6_2292RTHDR = 0x5
-- IPV6_ADDRFORM = 0x1
-- IPV6_ADD_MEMBERSHIP = 0x14
-- IPV6_AUTHHDR = 0xa
-- IPV6_CHECKSUM = 0x7
-- IPV6_DONTFRAG = 0x3e
-- IPV6_DROP_MEMBERSHIP = 0x15
-- IPV6_DSTOPTS = 0x3b
-- IPV6_HDRINCL = 0x24
-- IPV6_HOPLIMIT = 0x34
-- IPV6_HOPOPTS = 0x36
-- IPV6_IPSEC_POLICY = 0x22
-- IPV6_JOIN_ANYCAST = 0x1b
-- IPV6_JOIN_GROUP = 0x14
-- IPV6_LEAVE_ANYCAST = 0x1c
-- IPV6_LEAVE_GROUP = 0x15
-- IPV6_MTU = 0x18
-- IPV6_MTU_DISCOVER = 0x17
-- IPV6_MULTICAST_HOPS = 0x12
-- IPV6_MULTICAST_IF = 0x11
-- IPV6_MULTICAST_LOOP = 0x13
-- IPV6_NEXTHOP = 0x9
-- IPV6_PATHMTU = 0x3d
-- IPV6_PKTINFO = 0x32
-- IPV6_PMTUDISC_DO = 0x2
-- IPV6_PMTUDISC_DONT = 0x0
-- IPV6_PMTUDISC_INTERFACE = 0x4
-- IPV6_PMTUDISC_OMIT = 0x5
-- IPV6_PMTUDISC_PROBE = 0x3
-- IPV6_PMTUDISC_WANT = 0x1
-- IPV6_RECVDSTOPTS = 0x3a
-- IPV6_RECVERR = 0x19
-- IPV6_RECVHOPLIMIT = 0x33
-- IPV6_RECVHOPOPTS = 0x35
-- IPV6_RECVPATHMTU = 0x3c
-- IPV6_RECVPKTINFO = 0x31
-- IPV6_RECVRTHDR = 0x38
-- IPV6_RECVTCLASS = 0x42
-- IPV6_ROUTER_ALERT = 0x16
-- IPV6_RTHDR = 0x39
-- IPV6_RTHDRDSTOPTS = 0x37
-- IPV6_RTHDR_LOOSE = 0x0
-- IPV6_RTHDR_STRICT = 0x1
-- IPV6_RTHDR_TYPE_0 = 0x0
-- IPV6_RXDSTOPTS = 0x3b
-- IPV6_RXHOPOPTS = 0x36
-- IPV6_TCLASS = 0x43
-- IPV6_UNICAST_HOPS = 0x10
-- IPV6_V6ONLY = 0x1a
-- IPV6_XFRM_POLICY = 0x23
-- IP_ADD_MEMBERSHIP = 0x23
-- IP_ADD_SOURCE_MEMBERSHIP = 0x27
-- IP_BIND_ADDRESS_NO_PORT = 0x18
-- IP_BLOCK_SOURCE = 0x26
-- IP_CHECKSUM = 0x17
-- IP_DEFAULT_MULTICAST_LOOP = 0x1
-- IP_DEFAULT_MULTICAST_TTL = 0x1
-- IP_DF = 0x4000
-- IP_DROP_MEMBERSHIP = 0x24
-- IP_DROP_SOURCE_MEMBERSHIP = 0x28
-- IP_FREEBIND = 0xf
-- IP_HDRINCL = 0x3
-- IP_IPSEC_POLICY = 0x10
-- IP_MAXPACKET = 0xffff
-- IP_MAX_MEMBERSHIPS = 0x14
-- IP_MF = 0x2000
-- IP_MINTTL = 0x15
-- IP_MSFILTER = 0x29
-- IP_MSS = 0x240
-- IP_MTU = 0xe
-- IP_MTU_DISCOVER = 0xa
-- IP_MULTICAST_ALL = 0x31
-- IP_MULTICAST_IF = 0x20
-- IP_MULTICAST_LOOP = 0x22
-- IP_MULTICAST_TTL = 0x21
-- IP_NODEFRAG = 0x16
-- IP_OFFMASK = 0x1fff
-- IP_OPTIONS = 0x4
-- IP_ORIGDSTADDR = 0x14
-- IP_PASSSEC = 0x12
-- IP_PKTINFO = 0x8
-- IP_PKTOPTIONS = 0x9
-- IP_PMTUDISC = 0xa
-- IP_PMTUDISC_DO = 0x2
-- IP_PMTUDISC_DONT = 0x0
-- IP_PMTUDISC_INTERFACE = 0x4
-- IP_PMTUDISC_OMIT = 0x5
-- IP_PMTUDISC_PROBE = 0x3
-- IP_PMTUDISC_WANT = 0x1
-- IP_RECVERR = 0xb
-- IP_RECVOPTS = 0x6
-- IP_RECVORIGDSTADDR = 0x14
-- IP_RECVRETOPTS = 0x7
-- IP_RECVTOS = 0xd
-- IP_RECVTTL = 0xc
-- IP_RETOPTS = 0x7
-- IP_RF = 0x8000
-- IP_ROUTER_ALERT = 0x5
-- IP_TOS = 0x1
-- IP_TRANSPARENT = 0x13
-- IP_TTL = 0x2
-- IP_UNBLOCK_SOURCE = 0x25
-- IP_UNICAST_IF = 0x32
-- IP_XFRM_POLICY = 0x11
-- ISIG = 0x1
-- ISTRIP = 0x20
-- IUCLC = 0x200
-- IUTF8 = 0x4000
-- IXANY = 0x800
-- IXOFF = 0x1000
-- IXON = 0x400
-- KEYCTL_ASSUME_AUTHORITY = 0x10
-- KEYCTL_CHOWN = 0x4
-- KEYCTL_CLEAR = 0x7
-- KEYCTL_DESCRIBE = 0x6
-- KEYCTL_DH_COMPUTE = 0x17
-- KEYCTL_GET_KEYRING_ID = 0x0
-- KEYCTL_GET_PERSISTENT = 0x16
-- KEYCTL_GET_SECURITY = 0x11
-- KEYCTL_INSTANTIATE = 0xc
-- KEYCTL_INSTANTIATE_IOV = 0x14
-- KEYCTL_INVALIDATE = 0x15
-- KEYCTL_JOIN_SESSION_KEYRING = 0x1
-- KEYCTL_LINK = 0x8
-- KEYCTL_NEGATE = 0xd
-- KEYCTL_READ = 0xb
-- KEYCTL_REJECT = 0x13
-- KEYCTL_REVOKE = 0x3
-- KEYCTL_SEARCH = 0xa
-- KEYCTL_SESSION_TO_PARENT = 0x12
-- KEYCTL_SETPERM = 0x5
-- KEYCTL_SET_REQKEY_KEYRING = 0xe
-- KEYCTL_SET_TIMEOUT = 0xf
-- KEYCTL_UNLINK = 0x9
-- KEYCTL_UPDATE = 0x2
-- KEY_REQKEY_DEFL_DEFAULT = 0x0
-- KEY_REQKEY_DEFL_GROUP_KEYRING = 0x6
-- KEY_REQKEY_DEFL_NO_CHANGE = -0x1
-- KEY_REQKEY_DEFL_PROCESS_KEYRING = 0x2
-- KEY_REQKEY_DEFL_REQUESTOR_KEYRING = 0x7
-- KEY_REQKEY_DEFL_SESSION_KEYRING = 0x3
-- KEY_REQKEY_DEFL_THREAD_KEYRING = 0x1
-- KEY_REQKEY_DEFL_USER_KEYRING = 0x4
-- KEY_REQKEY_DEFL_USER_SESSION_KEYRING = 0x5
-- KEY_SPEC_GROUP_KEYRING = -0x6
-- KEY_SPEC_PROCESS_KEYRING = -0x2
-- KEY_SPEC_REQKEY_AUTH_KEY = -0x7
-- KEY_SPEC_REQUESTOR_KEYRING = -0x8
-- KEY_SPEC_SESSION_KEYRING = -0x3
-- KEY_SPEC_THREAD_KEYRING = -0x1
-- KEY_SPEC_USER_KEYRING = -0x4
-- KEY_SPEC_USER_SESSION_KEYRING = -0x5
-- LINUX_REBOOT_CMD_CAD_OFF = 0x0
-- LINUX_REBOOT_CMD_CAD_ON = 0x89abcdef
-- LINUX_REBOOT_CMD_HALT = 0xcdef0123
-- LINUX_REBOOT_CMD_KEXEC = 0x45584543
-- LINUX_REBOOT_CMD_POWER_OFF = 0x4321fedc
-- LINUX_REBOOT_CMD_RESTART = 0x1234567
-- LINUX_REBOOT_CMD_RESTART2 = 0xa1b2c3d4
-- LINUX_REBOOT_CMD_SW_SUSPEND = 0xd000fce2
-- LINUX_REBOOT_MAGIC1 = 0xfee1dead
-- LINUX_REBOOT_MAGIC2 = 0x28121969
-- LOCK_EX = 0x2
-- LOCK_NB = 0x4
-- LOCK_SH = 0x1
-- LOCK_UN = 0x8
-- MADV_DODUMP = 0x11
-- MADV_DOFORK = 0xb
-- MADV_DONTDUMP = 0x10
-- MADV_DONTFORK = 0xa
-- MADV_DONTNEED = 0x4
-- MADV_FREE = 0x8
-- MADV_HUGEPAGE = 0xe
-- MADV_HWPOISON = 0x64
-- MADV_MERGEABLE = 0xc
-- MADV_NOHUGEPAGE = 0xf
-- MADV_NORMAL = 0x0
-- MADV_RANDOM = 0x1
-- MADV_REMOVE = 0x9
-- MADV_SEQUENTIAL = 0x2
-- MADV_UNMERGEABLE = 0xd
-- MADV_WILLNEED = 0x3
-- MAP_ANON = 0x800
-- MAP_ANONYMOUS = 0x800
-- MAP_DENYWRITE = 0x2000
-- MAP_EXECUTABLE = 0x4000
-- MAP_FILE = 0x0
-- MAP_FIXED = 0x10
-- MAP_GROWSDOWN = 0x1000
-- MAP_HUGETLB = 0x80000
-- MAP_HUGE_MASK = 0x3f
-- MAP_HUGE_SHIFT = 0x1a
-- MAP_LOCKED = 0x8000
-- MAP_NONBLOCK = 0x20000
-- MAP_NORESERVE = 0x400
-- MAP_POPULATE = 0x10000
-- MAP_PRIVATE = 0x2
-- MAP_RENAME = 0x800
-- MAP_SHARED = 0x1
-- MAP_STACK = 0x40000
-- MAP_TYPE = 0xf
-- MCL_CURRENT = 0x1
-- MCL_FUTURE = 0x2
-- MCL_ONFAULT = 0x4
-- MNT_DETACH = 0x2
-- MNT_EXPIRE = 0x4
-- MNT_FORCE = 0x1
-- MSG_BATCH = 0x40000
-- MSG_CMSG_CLOEXEC = 0x40000000
-- MSG_CONFIRM = 0x800
-- MSG_CTRUNC = 0x8
-- MSG_DONTROUTE = 0x4
-- MSG_DONTWAIT = 0x40
-- MSG_EOR = 0x80
-- MSG_ERRQUEUE = 0x2000
-- MSG_FASTOPEN = 0x20000000
-- MSG_FIN = 0x200
-- MSG_MORE = 0x8000
-- MSG_NOSIGNAL = 0x4000
-- MSG_OOB = 0x1
-- MSG_PEEK = 0x2
-- MSG_PROXY = 0x10
-- MSG_RST = 0x1000
-- MSG_SYN = 0x400
-- MSG_TRUNC = 0x20
-- MSG_TRYHARD = 0x4
-- MSG_WAITALL = 0x100
-- MSG_WAITFORONE = 0x10000
-- MS_ACTIVE = 0x40000000
-- MS_ASYNC = 0x1
-- MS_BIND = 0x1000
-- MS_BORN = 0x20000000
-- MS_DIRSYNC = 0x80
-- MS_INVALIDATE = 0x2
-- MS_I_VERSION = 0x800000
-- MS_KERNMOUNT = 0x400000
-- MS_LAZYTIME = 0x2000000
-- MS_MANDLOCK = 0x40
-- MS_MGC_MSK = 0xffff0000
-- MS_MGC_VAL = 0xc0ed0000
-- MS_MOVE = 0x2000
-- MS_NOATIME = 0x400
-- MS_NODEV = 0x4
-- MS_NODIRATIME = 0x800
-- MS_NOEXEC = 0x8
-- MS_NOREMOTELOCK = 0x8000000
-- MS_NOSEC = 0x10000000
-- MS_NOSUID = 0x2
-- MS_NOUSER = -0x80000000
-- MS_POSIXACL = 0x10000
-- MS_PRIVATE = 0x40000
-- MS_RDONLY = 0x1
-- MS_REC = 0x4000
-- MS_RELATIME = 0x200000
-- MS_REMOUNT = 0x20
-- MS_RMT_MASK = 0x2800051
-- MS_SHARED = 0x100000
-- MS_SILENT = 0x8000
-- MS_SLAVE = 0x80000
-- MS_STRICTATIME = 0x1000000
-- MS_SYNC = 0x4
-- MS_SYNCHRONOUS = 0x10
-- MS_UNBINDABLE = 0x20000
-- MS_VERBOSE = 0x8000
-- NAME_MAX = 0xff
-- NETLINK_ADD_MEMBERSHIP = 0x1
-- NETLINK_AUDIT = 0x9
-- NETLINK_BROADCAST_ERROR = 0x4
-- NETLINK_CAP_ACK = 0xa
-- NETLINK_CONNECTOR = 0xb
-- NETLINK_CRYPTO = 0x15
-- NETLINK_DNRTMSG = 0xe
-- NETLINK_DROP_MEMBERSHIP = 0x2
-- NETLINK_ECRYPTFS = 0x13
-- NETLINK_FIB_LOOKUP = 0xa
-- NETLINK_FIREWALL = 0x3
-- NETLINK_GENERIC = 0x10
-- NETLINK_INET_DIAG = 0x4
-- NETLINK_IP6_FW = 0xd
-- NETLINK_ISCSI = 0x8
-- NETLINK_KOBJECT_UEVENT = 0xf
-- NETLINK_LISTEN_ALL_NSID = 0x8
-- NETLINK_LIST_MEMBERSHIPS = 0x9
-- NETLINK_NETFILTER = 0xc
-- NETLINK_NFLOG = 0x5
-- NETLINK_NO_ENOBUFS = 0x5
-- NETLINK_PKTINFO = 0x3
-- NETLINK_RDMA = 0x14
-- NETLINK_ROUTE = 0x0
-- NETLINK_RX_RING = 0x6
-- NETLINK_SCSITRANSPORT = 0x12
-- NETLINK_SELINUX = 0x7
-- NETLINK_SOCK_DIAG = 0x4
-- NETLINK_TX_RING = 0x7
-- NETLINK_UNUSED = 0x1
-- NETLINK_USERSOCK = 0x2
-- NETLINK_XFRM = 0x6
-- NL0 = 0x0
-- NL1 = 0x100
-- NLA_ALIGNTO = 0x4
-- NLA_F_NESTED = 0x8000
-- NLA_F_NET_BYTEORDER = 0x4000
-- NLA_HDRLEN = 0x4
-- NLDLY = 0x100
-- NLMSG_ALIGNTO = 0x4
-- NLMSG_DONE = 0x3
-- NLMSG_ERROR = 0x2
-- NLMSG_HDRLEN = 0x10
-- NLMSG_MIN_TYPE = 0x10
-- NLMSG_NOOP = 0x1
-- NLMSG_OVERRUN = 0x4
-- NLM_F_ACK = 0x4
-- NLM_F_APPEND = 0x800
-- NLM_F_ATOMIC = 0x400
-- NLM_F_CREATE = 0x400
-- NLM_F_DUMP = 0x300
-- NLM_F_DUMP_FILTERED = 0x20
-- NLM_F_DUMP_INTR = 0x10
-- NLM_F_ECHO = 0x8
-- NLM_F_EXCL = 0x200
-- NLM_F_MATCH = 0x200
-- NLM_F_MULTI = 0x2
-- NLM_F_REPLACE = 0x100
-- NLM_F_REQUEST = 0x1
-- NLM_F_ROOT = 0x100
-- NOFLSH = 0x80
-- OCRNL = 0x8
-- OFDEL = 0x80
-- OFILL = 0x40
-- OLCUC = 0x2
-- ONLCR = 0x4
-- ONLRET = 0x20
-- ONOCR = 0x10
-- OPOST = 0x1
-- O_ACCMODE = 0x3
-- O_APPEND = 0x8
-- O_ASYNC = 0x1000
-- O_CLOEXEC = 0x80000
-- O_CREAT = 0x100
-- O_DIRECT = 0x8000
-- O_DIRECTORY = 0x10000
-- O_DSYNC = 0x10
-- O_EXCL = 0x400
-- O_FSYNC = 0x4010
-- O_LARGEFILE = 0x2000
-- O_NDELAY = 0x80
-- O_NOATIME = 0x40000
-- O_NOCTTY = 0x800
-- O_NOFOLLOW = 0x20000
-- O_NONBLOCK = 0x80
-- O_PATH = 0x200000
-- O_RDONLY = 0x0
-- O_RDWR = 0x2
-- O_RSYNC = 0x4010
-- O_SYNC = 0x4010
-- O_TMPFILE = 0x410000
-- O_TRUNC = 0x200
-- O_WRONLY = 0x1
-- PACKET_ADD_MEMBERSHIP = 0x1
-- PACKET_AUXDATA = 0x8
-- PACKET_BROADCAST = 0x1
-- PACKET_COPY_THRESH = 0x7
-- PACKET_DROP_MEMBERSHIP = 0x2
-- PACKET_FANOUT = 0x12
-- PACKET_FANOUT_CBPF = 0x6
-- PACKET_FANOUT_CPU = 0x2
-- PACKET_FANOUT_DATA = 0x16
-- PACKET_FANOUT_EBPF = 0x7
-- PACKET_FANOUT_FLAG_DEFRAG = 0x8000
-- PACKET_FANOUT_FLAG_ROLLOVER = 0x1000
-- PACKET_FANOUT_HASH = 0x0
-- PACKET_FANOUT_LB = 0x1
-- PACKET_FANOUT_QM = 0x5
-- PACKET_FANOUT_RND = 0x4
-- PACKET_FANOUT_ROLLOVER = 0x3
-- PACKET_FASTROUTE = 0x6
-- PACKET_HDRLEN = 0xb
-- PACKET_HOST = 0x0
-- PACKET_KERNEL = 0x7
-- PACKET_LOOPBACK = 0x5
-- PACKET_LOSS = 0xe
-- PACKET_MR_ALLMULTI = 0x2
-- PACKET_MR_MULTICAST = 0x0
-- PACKET_MR_PROMISC = 0x1
-- PACKET_MR_UNICAST = 0x3
-- PACKET_MULTICAST = 0x2
-- PACKET_ORIGDEV = 0x9
-- PACKET_OTHERHOST = 0x3
-- PACKET_OUTGOING = 0x4
-- PACKET_QDISC_BYPASS = 0x14
-- PACKET_RECV_OUTPUT = 0x3
-- PACKET_RESERVE = 0xc
-- PACKET_ROLLOVER_STATS = 0x15
-- PACKET_RX_RING = 0x5
-- PACKET_STATISTICS = 0x6
-- PACKET_TIMESTAMP = 0x11
-- PACKET_TX_HAS_OFF = 0x13
-- PACKET_TX_RING = 0xd
-- PACKET_TX_TIMESTAMP = 0x10
-- PACKET_USER = 0x6
-- PACKET_VERSION = 0xa
-- PACKET_VNET_HDR = 0xf
-- PARENB = 0x100
-- PARITY_CRC16_PR0 = 0x2
-- PARITY_CRC16_PR0_CCITT = 0x4
-- PARITY_CRC16_PR1 = 0x3
-- PARITY_CRC16_PR1_CCITT = 0x5
-- PARITY_CRC32_PR0_CCITT = 0x6
-- PARITY_CRC32_PR1_CCITT = 0x7
-- PARITY_DEFAULT = 0x0
-- PARITY_NONE = 0x1
-- PARMRK = 0x8
-- PARODD = 0x200
-- PENDIN = 0x4000
-- PERF_EVENT_IOC_DISABLE = 0x20002401
-- PERF_EVENT_IOC_ENABLE = 0x20002400
-- PERF_EVENT_IOC_ID = 0x40042407
-- PERF_EVENT_IOC_PAUSE_OUTPUT = 0x80042409
-- PERF_EVENT_IOC_PERIOD = 0x80082404
-- PERF_EVENT_IOC_REFRESH = 0x20002402
-- PERF_EVENT_IOC_RESET = 0x20002403
-- PERF_EVENT_IOC_SET_BPF = 0x80042408
-- PERF_EVENT_IOC_SET_FILTER = 0x80042406
-- PERF_EVENT_IOC_SET_OUTPUT = 0x20002405
-- PRIO_PGRP = 0x1
-- PRIO_PROCESS = 0x0
-- PRIO_USER = 0x2
-- PROT_EXEC = 0x4
-- PROT_GROWSDOWN = 0x1000000
-- PROT_GROWSUP = 0x2000000
-- PROT_NONE = 0x0
-- PROT_READ = 0x1
-- PROT_WRITE = 0x2
-- PR_CAPBSET_DROP = 0x18
-- PR_CAPBSET_READ = 0x17
-- PR_CAP_AMBIENT = 0x2f
-- PR_CAP_AMBIENT_CLEAR_ALL = 0x4
-- PR_CAP_AMBIENT_IS_SET = 0x1
-- PR_CAP_AMBIENT_LOWER = 0x3
-- PR_CAP_AMBIENT_RAISE = 0x2
-- PR_ENDIAN_BIG = 0x0
-- PR_ENDIAN_LITTLE = 0x1
-- PR_ENDIAN_PPC_LITTLE = 0x2
-- PR_FPEMU_NOPRINT = 0x1
-- PR_FPEMU_SIGFPE = 0x2
-- PR_FP_EXC_ASYNC = 0x2
-- PR_FP_EXC_DISABLED = 0x0
-- PR_FP_EXC_DIV = 0x10000
-- PR_FP_EXC_INV = 0x100000
-- PR_FP_EXC_NONRECOV = 0x1
-- PR_FP_EXC_OVF = 0x20000
-- PR_FP_EXC_PRECISE = 0x3
-- PR_FP_EXC_RES = 0x80000
-- PR_FP_EXC_SW_ENABLE = 0x80
-- PR_FP_EXC_UND = 0x40000
-- PR_FP_MODE_FR = 0x1
-- PR_FP_MODE_FRE = 0x2
-- PR_GET_CHILD_SUBREAPER = 0x25
-- PR_GET_DUMPABLE = 0x3
-- PR_GET_ENDIAN = 0x13
-- PR_GET_FPEMU = 0x9
-- PR_GET_FPEXC = 0xb
-- PR_GET_FP_MODE = 0x2e
-- PR_GET_KEEPCAPS = 0x7
-- PR_GET_NAME = 0x10
-- PR_GET_NO_NEW_PRIVS = 0x27
-- PR_GET_PDEATHSIG = 0x2
-- PR_GET_SECCOMP = 0x15
-- PR_GET_SECUREBITS = 0x1b
-- PR_GET_THP_DISABLE = 0x2a
-- PR_GET_TID_ADDRESS = 0x28
-- PR_GET_TIMERSLACK = 0x1e
-- PR_GET_TIMING = 0xd
-- PR_GET_TSC = 0x19
-- PR_GET_UNALIGN = 0x5
-- PR_MCE_KILL = 0x21
-- PR_MCE_KILL_CLEAR = 0x0
-- PR_MCE_KILL_DEFAULT = 0x2
-- PR_MCE_KILL_EARLY = 0x1
-- PR_MCE_KILL_GET = 0x22
-- PR_MCE_KILL_LATE = 0x0
-- PR_MCE_KILL_SET = 0x1
-- PR_MPX_DISABLE_MANAGEMENT = 0x2c
-- PR_MPX_ENABLE_MANAGEMENT = 0x2b
-- PR_SET_CHILD_SUBREAPER = 0x24
-- PR_SET_DUMPABLE = 0x4
-- PR_SET_ENDIAN = 0x14
-- PR_SET_FPEMU = 0xa
-- PR_SET_FPEXC = 0xc
-- PR_SET_FP_MODE = 0x2d
-- PR_SET_KEEPCAPS = 0x8
-- PR_SET_MM = 0x23
-- PR_SET_MM_ARG_END = 0x9
-- PR_SET_MM_ARG_START = 0x8
-- PR_SET_MM_AUXV = 0xc
-- PR_SET_MM_BRK = 0x7
-- PR_SET_MM_END_CODE = 0x2
-- PR_SET_MM_END_DATA = 0x4
-- PR_SET_MM_ENV_END = 0xb
-- PR_SET_MM_ENV_START = 0xa
-- PR_SET_MM_EXE_FILE = 0xd
-- PR_SET_MM_MAP = 0xe
-- PR_SET_MM_MAP_SIZE = 0xf
-- PR_SET_MM_START_BRK = 0x6
-- PR_SET_MM_START_CODE = 0x1
-- PR_SET_MM_START_DATA = 0x3
-- PR_SET_MM_START_STACK = 0x5
-- PR_SET_NAME = 0xf
-- PR_SET_NO_NEW_PRIVS = 0x26
-- PR_SET_PDEATHSIG = 0x1
-- PR_SET_PTRACER = 0x59616d61
-- PR_SET_PTRACER_ANY = 0xffffffff
-- PR_SET_SECCOMP = 0x16
-- PR_SET_SECUREBITS = 0x1c
-- PR_SET_THP_DISABLE = 0x29
-- PR_SET_TIMERSLACK = 0x1d
-- PR_SET_TIMING = 0xe
-- PR_SET_TSC = 0x1a
-- PR_SET_UNALIGN = 0x6
-- PR_TASK_PERF_EVENTS_DISABLE = 0x1f
-- PR_TASK_PERF_EVENTS_ENABLE = 0x20
-- PR_TIMING_STATISTICAL = 0x0
-- PR_TIMING_TIMESTAMP = 0x1
-- PR_TSC_ENABLE = 0x1
-- PR_TSC_SIGSEGV = 0x2
-- PR_UNALIGN_NOPRINT = 0x1
-- PR_UNALIGN_SIGBUS = 0x2
-- PTRACE_ATTACH = 0x10
-- PTRACE_CONT = 0x7
-- PTRACE_DETACH = 0x11
-- PTRACE_EVENT_CLONE = 0x3
-- PTRACE_EVENT_EXEC = 0x4
-- PTRACE_EVENT_EXIT = 0x6
-- PTRACE_EVENT_FORK = 0x1
-- PTRACE_EVENT_SECCOMP = 0x7
-- PTRACE_EVENT_STOP = 0x80
-- PTRACE_EVENT_VFORK = 0x2
-- PTRACE_EVENT_VFORK_DONE = 0x5
-- PTRACE_GETEVENTMSG = 0x4201
-- PTRACE_GETFPREGS = 0xe
-- PTRACE_GETREGS = 0xc
-- PTRACE_GETREGSET = 0x4204
-- PTRACE_GETSIGINFO = 0x4202
-- PTRACE_GETSIGMASK = 0x420a
-- PTRACE_GET_THREAD_AREA = 0x19
-- PTRACE_GET_THREAD_AREA_3264 = 0xc4
-- PTRACE_GET_WATCH_REGS = 0xd0
-- PTRACE_INTERRUPT = 0x4207
-- PTRACE_KILL = 0x8
-- PTRACE_LISTEN = 0x4208
-- PTRACE_OLDSETOPTIONS = 0x15
-- PTRACE_O_EXITKILL = 0x100000
-- PTRACE_O_MASK = 0x3000ff
-- PTRACE_O_SUSPEND_SECCOMP = 0x200000
-- PTRACE_O_TRACECLONE = 0x8
-- PTRACE_O_TRACEEXEC = 0x10
-- PTRACE_O_TRACEEXIT = 0x40
-- PTRACE_O_TRACEFORK = 0x2
-- PTRACE_O_TRACESECCOMP = 0x80
-- PTRACE_O_TRACESYSGOOD = 0x1
-- PTRACE_O_TRACEVFORK = 0x4
-- PTRACE_O_TRACEVFORKDONE = 0x20
-- PTRACE_PEEKDATA = 0x2
-- PTRACE_PEEKDATA_3264 = 0xc1
-- PTRACE_PEEKSIGINFO = 0x4209
-- PTRACE_PEEKSIGINFO_SHARED = 0x1
-- PTRACE_PEEKTEXT = 0x1
-- PTRACE_PEEKTEXT_3264 = 0xc0
-- PTRACE_PEEKUSR = 0x3
-- PTRACE_POKEDATA = 0x5
-- PTRACE_POKEDATA_3264 = 0xc3
-- PTRACE_POKETEXT = 0x4
-- PTRACE_POKETEXT_3264 = 0xc2
-- PTRACE_POKEUSR = 0x6
-- PTRACE_SECCOMP_GET_FILTER = 0x420c
-- PTRACE_SEIZE = 0x4206
-- PTRACE_SETFPREGS = 0xf
-- PTRACE_SETOPTIONS = 0x4200
-- PTRACE_SETREGS = 0xd
-- PTRACE_SETREGSET = 0x4205
-- PTRACE_SETSIGINFO = 0x4203
-- PTRACE_SETSIGMASK = 0x420b
-- PTRACE_SET_THREAD_AREA = 0x1a
-- PTRACE_SET_WATCH_REGS = 0xd1
-- PTRACE_SINGLESTEP = 0x9
-- PTRACE_SYSCALL = 0x18
-- PTRACE_TRACEME = 0x0
-- RLIMIT_AS = 0x6
-- RLIMIT_CORE = 0x4
-- RLIMIT_CPU = 0x0
-- RLIMIT_DATA = 0x2
-- RLIMIT_FSIZE = 0x1
-- RLIMIT_LOCKS = 0xa
-- RLIMIT_MEMLOCK = 0x9
-- RLIMIT_MSGQUEUE = 0xc
-- RLIMIT_NICE = 0xd
-- RLIMIT_NOFILE = 0x5
-- RLIMIT_NPROC = 0x8
-- RLIMIT_RSS = 0x7
-- RLIMIT_RTPRIO = 0xe
-- RLIMIT_RTTIME = 0xf
-- RLIMIT_SIGPENDING = 0xb
-- RLIMIT_STACK = 0x3
-- RLIM_INFINITY = -0x1
-- RTAX_ADVMSS = 0x8
-- RTAX_CC_ALGO = 0x10
-- RTAX_CWND = 0x7
-- RTAX_FEATURES = 0xc
-- RTAX_FEATURE_ALLFRAG = 0x8
-- RTAX_FEATURE_ECN = 0x1
-- RTAX_FEATURE_MASK = 0xf
-- RTAX_FEATURE_SACK = 0x2
-- RTAX_FEATURE_TIMESTAMP = 0x4
-- RTAX_HOPLIMIT = 0xa
-- RTAX_INITCWND = 0xb
-- RTAX_INITRWND = 0xe
-- RTAX_LOCK = 0x1
-- RTAX_MAX = 0x10
-- RTAX_MTU = 0x2
-- RTAX_QUICKACK = 0xf
-- RTAX_REORDERING = 0x9
-- RTAX_RTO_MIN = 0xd
-- RTAX_RTT = 0x4
-- RTAX_RTTVAR = 0x5
-- RTAX_SSTHRESH = 0x6
-- RTAX_UNSPEC = 0x0
-- RTAX_WINDOW = 0x3
-- RTA_ALIGNTO = 0x4
-- RTA_MAX = 0x19
-- RTCF_DIRECTSRC = 0x4000000
-- RTCF_DOREDIRECT = 0x1000000
-- RTCF_LOG = 0x2000000
-- RTCF_MASQ = 0x400000
-- RTCF_NAT = 0x800000
-- RTCF_VALVE = 0x200000
-- RTF_ADDRCLASSMASK = 0xf8000000
-- RTF_ADDRCONF = 0x40000
-- RTF_ALLONLINK = 0x20000
-- RTF_BROADCAST = 0x10000000
-- RTF_CACHE = 0x1000000
-- RTF_DEFAULT = 0x10000
-- RTF_DYNAMIC = 0x10
-- RTF_FLOW = 0x2000000
-- RTF_GATEWAY = 0x2
-- RTF_HOST = 0x4
-- RTF_INTERFACE = 0x40000000
-- RTF_IRTT = 0x100
-- RTF_LINKRT = 0x100000
-- RTF_LOCAL = 0x80000000
-- RTF_MODIFIED = 0x20
-- RTF_MSS = 0x40
-- RTF_MTU = 0x40
-- RTF_MULTICAST = 0x20000000
-- RTF_NAT = 0x8000000
-- RTF_NOFORWARD = 0x1000
-- RTF_NONEXTHOP = 0x200000
-- RTF_NOPMTUDISC = 0x4000
-- RTF_POLICY = 0x4000000
-- RTF_REINSTATE = 0x8
-- RTF_REJECT = 0x200
-- RTF_STATIC = 0x400
-- RTF_THROW = 0x2000
-- RTF_UP = 0x1
-- RTF_WINDOW = 0x80
-- RTF_XRESOLVE = 0x800
-- RTM_BASE = 0x10
-- RTM_DELACTION = 0x31
-- RTM_DELADDR = 0x15
-- RTM_DELADDRLABEL = 0x49
-- RTM_DELLINK = 0x11
-- RTM_DELMDB = 0x55
-- RTM_DELNEIGH = 0x1d
-- RTM_DELNSID = 0x59
-- RTM_DELQDISC = 0x25
-- RTM_DELROUTE = 0x19
-- RTM_DELRULE = 0x21
-- RTM_DELTCLASS = 0x29
-- RTM_DELTFILTER = 0x2d
-- RTM_F_CLONED = 0x200
-- RTM_F_EQUALIZE = 0x400
-- RTM_F_LOOKUP_TABLE = 0x1000
-- RTM_F_NOTIFY = 0x100
-- RTM_F_PREFIX = 0x800
-- RTM_GETACTION = 0x32
-- RTM_GETADDR = 0x16
-- RTM_GETADDRLABEL = 0x4a
-- RTM_GETANYCAST = 0x3e
-- RTM_GETDCB = 0x4e
-- RTM_GETLINK = 0x12
-- RTM_GETMDB = 0x56
-- RTM_GETMULTICAST = 0x3a
-- RTM_GETNEIGH = 0x1e
-- RTM_GETNEIGHTBL = 0x42
-- RTM_GETNETCONF = 0x52
-- RTM_GETNSID = 0x5a
-- RTM_GETQDISC = 0x26
-- RTM_GETROUTE = 0x1a
-- RTM_GETRULE = 0x22
-- RTM_GETSTATS = 0x5e
-- RTM_GETTCLASS = 0x2a
-- RTM_GETTFILTER = 0x2e
-- RTM_MAX = 0x5f
-- RTM_NEWACTION = 0x30
-- RTM_NEWADDR = 0x14
-- RTM_NEWADDRLABEL = 0x48
-- RTM_NEWLINK = 0x10
-- RTM_NEWMDB = 0x54
-- RTM_NEWNDUSEROPT = 0x44
-- RTM_NEWNEIGH = 0x1c
-- RTM_NEWNEIGHTBL = 0x40
-- RTM_NEWNETCONF = 0x50
-- RTM_NEWNSID = 0x58
-- RTM_NEWPREFIX = 0x34
-- RTM_NEWQDISC = 0x24
-- RTM_NEWROUTE = 0x18
-- RTM_NEWRULE = 0x20
-- RTM_NEWSTATS = 0x5c
-- RTM_NEWTCLASS = 0x28
-- RTM_NEWTFILTER = 0x2c
-- RTM_NR_FAMILIES = 0x14
-- RTM_NR_MSGTYPES = 0x50
-- RTM_SETDCB = 0x4f
-- RTM_SETLINK = 0x13
-- RTM_SETNEIGHTBL = 0x43
-- RTNH_ALIGNTO = 0x4
-- RTNH_COMPARE_MASK = 0x19
-- RTNH_F_DEAD = 0x1
-- RTNH_F_LINKDOWN = 0x10
-- RTNH_F_OFFLOAD = 0x8
-- RTNH_F_ONLINK = 0x4
-- RTNH_F_PERVASIVE = 0x2
-- RTN_MAX = 0xb
-- RTPROT_BABEL = 0x2a
-- RTPROT_BIRD = 0xc
-- RTPROT_BOOT = 0x3
-- RTPROT_DHCP = 0x10
-- RTPROT_DNROUTED = 0xd
-- RTPROT_GATED = 0x8
-- RTPROT_KERNEL = 0x2
-- RTPROT_MROUTED = 0x11
-- RTPROT_MRT = 0xa
-- RTPROT_NTK = 0xf
-- RTPROT_RA = 0x9
-- RTPROT_REDIRECT = 0x1
-- RTPROT_STATIC = 0x4
-- RTPROT_UNSPEC = 0x0
-- RTPROT_XORP = 0xe
-- RTPROT_ZEBRA = 0xb
-- RT_CLASS_DEFAULT = 0xfd
-- RT_CLASS_LOCAL = 0xff
-- RT_CLASS_MAIN = 0xfe
-- RT_CLASS_MAX = 0xff
-- RT_CLASS_UNSPEC = 0x0
-- RUSAGE_CHILDREN = -0x1
-- RUSAGE_SELF = 0x0
-- RUSAGE_THREAD = 0x1
-- SCM_CREDENTIALS = 0x2
-- SCM_RIGHTS = 0x1
-- SCM_TIMESTAMP = 0x1d
-- SCM_TIMESTAMPING = 0x25
-- SCM_TIMESTAMPING_OPT_STATS = 0x36
-- SCM_TIMESTAMPNS = 0x23
-- SCM_WIFI_STATUS = 0x29
-- SECCOMP_MODE_DISABLED = 0x0
-- SECCOMP_MODE_FILTER = 0x2
-- SECCOMP_MODE_STRICT = 0x1
-- SHUT_RD = 0x0
-- SHUT_RDWR = 0x2
-- SHUT_WR = 0x1
-- SIOCADDDLCI = 0x8980
-- SIOCADDMULTI = 0x8931
-- SIOCADDRT = 0x890b
-- SIOCATMARK = 0x40047307
-- SIOCBONDCHANGEACTIVE = 0x8995
-- SIOCBONDENSLAVE = 0x8990
-- SIOCBONDINFOQUERY = 0x8994
-- SIOCBONDRELEASE = 0x8991
-- SIOCBONDSETHWADDR = 0x8992
-- SIOCBONDSLAVEINFOQUERY = 0x8993
-- SIOCBRADDBR = 0x89a0
-- SIOCBRADDIF = 0x89a2
-- SIOCBRDELBR = 0x89a1
-- SIOCBRDELIF = 0x89a3
-- SIOCDARP = 0x8953
-- SIOCDELDLCI = 0x8981
-- SIOCDELMULTI = 0x8932
-- SIOCDELRT = 0x890c
-- SIOCDEVPRIVATE = 0x89f0
-- SIOCDIFADDR = 0x8936
-- SIOCDRARP = 0x8960
-- SIOCETHTOOL = 0x8946
-- SIOCGARP = 0x8954
-- SIOCGHWTSTAMP = 0x89b1
-- SIOCGIFADDR = 0x8915
-- SIOCGIFBR = 0x8940
-- SIOCGIFBRDADDR = 0x8919
-- SIOCGIFCONF = 0x8912
-- SIOCGIFCOUNT = 0x8938
-- SIOCGIFDSTADDR = 0x8917
-- SIOCGIFENCAP = 0x8925
-- SIOCGIFFLAGS = 0x8913
-- SIOCGIFHWADDR = 0x8927
-- SIOCGIFINDEX = 0x8933
-- SIOCGIFMAP = 0x8970
-- SIOCGIFMEM = 0x891f
-- SIOCGIFMETRIC = 0x891d
-- SIOCGIFMTU = 0x8921
-- SIOCGIFNAME = 0x8910
-- SIOCGIFNETMASK = 0x891b
-- SIOCGIFPFLAGS = 0x8935
-- SIOCGIFSLAVE = 0x8929
-- SIOCGIFTXQLEN = 0x8942
-- SIOCGIFVLAN = 0x8982
-- SIOCGMIIPHY = 0x8947
-- SIOCGMIIREG = 0x8948
-- SIOCGPGRP = 0x40047309
-- SIOCGRARP = 0x8961
-- SIOCGSKNS = 0x894c
-- SIOCGSTAMP = 0x8906
-- SIOCGSTAMPNS = 0x8907
-- SIOCINQ = 0x467f
-- SIOCOUTQ = 0x7472
-- SIOCOUTQNSD = 0x894b
-- SIOCPROTOPRIVATE = 0x89e0
-- SIOCRTMSG = 0x890d
-- SIOCSARP = 0x8955
-- SIOCSHWTSTAMP = 0x89b0
-- SIOCSIFADDR = 0x8916
-- SIOCSIFBR = 0x8941
-- SIOCSIFBRDADDR = 0x891a
-- SIOCSIFDSTADDR = 0x8918
-- SIOCSIFENCAP = 0x8926
-- SIOCSIFFLAGS = 0x8914
-- SIOCSIFHWADDR = 0x8924
-- SIOCSIFHWBROADCAST = 0x8937
-- SIOCSIFLINK = 0x8911
-- SIOCSIFMAP = 0x8971
-- SIOCSIFMEM = 0x8920
-- SIOCSIFMETRIC = 0x891e
-- SIOCSIFMTU = 0x8922
-- SIOCSIFNAME = 0x8923
-- SIOCSIFNETMASK = 0x891c
-- SIOCSIFPFLAGS = 0x8934
-- SIOCSIFSLAVE = 0x8930
-- SIOCSIFTXQLEN = 0x8943
-- SIOCSIFVLAN = 0x8983
-- SIOCSMIIREG = 0x8949
-- SIOCSPGRP = 0x80047308
-- SIOCSRARP = 0x8962
-- SIOCWANDEV = 0x894a
-- SOCK_CLOEXEC = 0x80000
-- SOCK_DCCP = 0x6
-- SOCK_DGRAM = 0x1
-- SOCK_IOC_TYPE = 0x89
-- SOCK_NONBLOCK = 0x80
-- SOCK_PACKET = 0xa
-- SOCK_RAW = 0x3
-- SOCK_RDM = 0x4
-- SOCK_SEQPACKET = 0x5
-- SOCK_STREAM = 0x2
-- SOL_AAL = 0x109
-- SOL_ALG = 0x117
-- SOL_ATM = 0x108
-- SOL_CAIF = 0x116
-- SOL_CAN_BASE = 0x64
-- SOL_DCCP = 0x10d
-- SOL_DECNET = 0x105
-- SOL_ICMPV6 = 0x3a
-- SOL_IP = 0x0
-- SOL_IPV6 = 0x29
-- SOL_IRDA = 0x10a
-- SOL_IUCV = 0x115
-- SOL_KCM = 0x119
-- SOL_LLC = 0x10c
-- SOL_NETBEUI = 0x10b
-- SOL_NETLINK = 0x10e
-- SOL_NFC = 0x118
-- SOL_PACKET = 0x107
-- SOL_PNPIPE = 0x113
-- SOL_PPPOL2TP = 0x111
-- SOL_RAW = 0xff
-- SOL_RDS = 0x114
-- SOL_RXRPC = 0x110
-- SOL_SOCKET = 0xffff
-- SOL_TCP = 0x6
-- SOL_TIPC = 0x10f
-- SOL_X25 = 0x106
-- SOMAXCONN = 0x80
-- SO_ACCEPTCONN = 0x1009
-- SO_ATTACH_BPF = 0x32
-- SO_ATTACH_FILTER = 0x1a
-- SO_ATTACH_REUSEPORT_CBPF = 0x33
-- SO_ATTACH_REUSEPORT_EBPF = 0x34
-- SO_BINDTODEVICE = 0x19
-- SO_BPF_EXTENSIONS = 0x30
-- SO_BROADCAST = 0x20
-- SO_BSDCOMPAT = 0xe
-- SO_BUSY_POLL = 0x2e
-- SO_CNX_ADVICE = 0x35
-- SO_DEBUG = 0x1
-- SO_DETACH_BPF = 0x1b
-- SO_DETACH_FILTER = 0x1b
-- SO_DOMAIN = 0x1029
-- SO_DONTROUTE = 0x10
-- SO_ERROR = 0x1007
-- SO_GET_FILTER = 0x1a
-- SO_INCOMING_CPU = 0x31
-- SO_KEEPALIVE = 0x8
-- SO_LINGER = 0x80
-- SO_LOCK_FILTER = 0x2c
-- SO_MARK = 0x24
-- SO_MAX_PACING_RATE = 0x2f
-- SO_NOFCS = 0x2b
-- SO_NO_CHECK = 0xb
-- SO_OOBINLINE = 0x100
-- SO_PASSCRED = 0x11
-- SO_PASSSEC = 0x22
-- SO_PEEK_OFF = 0x2a
-- SO_PEERCRED = 0x12
-- SO_PEERNAME = 0x1c
-- SO_PEERSEC = 0x1e
-- SO_PRIORITY = 0xc
-- SO_PROTOCOL = 0x1028
-- SO_RCVBUF = 0x1002
-- SO_RCVBUFFORCE = 0x21
-- SO_RCVLOWAT = 0x1004
-- SO_RCVTIMEO = 0x1006
-- SO_REUSEADDR = 0x4
-- SO_REUSEPORT = 0x200
-- SO_RXQ_OVFL = 0x28
-- SO_SECURITY_AUTHENTICATION = 0x16
-- SO_SECURITY_ENCRYPTION_NETWORK = 0x18
-- SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
-- SO_SELECT_ERR_QUEUE = 0x2d
-- SO_SNDBUF = 0x1001
-- SO_SNDBUFFORCE = 0x1f
-- SO_SNDLOWAT = 0x1003
-- SO_SNDTIMEO = 0x1005
-- SO_STYLE = 0x1008
-- SO_TIMESTAMP = 0x1d
-- SO_TIMESTAMPING = 0x25
-- SO_TIMESTAMPNS = 0x23
-- SO_TYPE = 0x1008
-- SO_VM_SOCKETS_BUFFER_MAX_SIZE = 0x2
-- SO_VM_SOCKETS_BUFFER_MIN_SIZE = 0x1
-- SO_VM_SOCKETS_BUFFER_SIZE = 0x0
-- SO_VM_SOCKETS_CONNECT_TIMEOUT = 0x6
-- SO_VM_SOCKETS_NONBLOCK_TXRX = 0x7
-- SO_VM_SOCKETS_PEER_HOST_VM_ID = 0x3
-- SO_VM_SOCKETS_TRUSTED = 0x5
-- SO_WIFI_STATUS = 0x29
-- SPLICE_F_GIFT = 0x8
-- SPLICE_F_MORE = 0x4
-- SPLICE_F_MOVE = 0x1
-- SPLICE_F_NONBLOCK = 0x2
-- S_BLKSIZE = 0x200
-- S_IEXEC = 0x40
-- S_IFBLK = 0x6000
-- S_IFCHR = 0x2000
-- S_IFDIR = 0x4000
-- S_IFIFO = 0x1000
-- S_IFLNK = 0xa000
-- S_IFMT = 0xf000
-- S_IFREG = 0x8000
-- S_IFSOCK = 0xc000
-- S_IREAD = 0x100
-- S_IRGRP = 0x20
-- S_IROTH = 0x4
-- S_IRUSR = 0x100
-- S_IRWXG = 0x38
-- S_IRWXO = 0x7
-- S_IRWXU = 0x1c0
-- S_ISGID = 0x400
-- S_ISUID = 0x800
-- S_ISVTX = 0x200
-- S_IWGRP = 0x10
-- S_IWOTH = 0x2
-- S_IWRITE = 0x80
-- S_IWUSR = 0x80
-- S_IXGRP = 0x8
-- S_IXOTH = 0x1
-- S_IXUSR = 0x40
-- TAB0 = 0x0
-- TAB1 = 0x800
-- TAB2 = 0x1000
-- TAB3 = 0x1800
-- TABDLY = 0x1800
-- TASKSTATS_CMD_ATTR_MAX = 0x4
-- TASKSTATS_CMD_MAX = 0x2
-- TASKSTATS_GENL_NAME = "TASKSTATS"
-- TASKSTATS_GENL_VERSION = 0x1
-- TASKSTATS_TYPE_MAX = 0x6
-- TASKSTATS_VERSION = 0x8
-- TCFLSH = 0x5407
-- TCGETA = 0x5401
-- TCGETS = 0x540d
-- TCGETS2 = 0x4030542a
-- TCIFLUSH = 0x0
-- TCIOFF = 0x2
-- TCIOFLUSH = 0x2
-- TCION = 0x3
-- TCOFLUSH = 0x1
-- TCOOFF = 0x0
-- TCOON = 0x1
-- TCP_CC_INFO = 0x1a
-- TCP_CONGESTION = 0xd
-- TCP_COOKIE_IN_ALWAYS = 0x1
-- TCP_COOKIE_MAX = 0x10
-- TCP_COOKIE_MIN = 0x8
-- TCP_COOKIE_OUT_NEVER = 0x2
-- TCP_COOKIE_PAIR_SIZE = 0x20
-- TCP_COOKIE_TRANSACTIONS = 0xf
-- TCP_CORK = 0x3
-- TCP_DEFER_ACCEPT = 0x9
-- TCP_FASTOPEN = 0x17
-- TCP_INFO = 0xb
-- TCP_KEEPCNT = 0x6
-- TCP_KEEPIDLE = 0x4
-- TCP_KEEPINTVL = 0x5
-- TCP_LINGER2 = 0x8
-- TCP_MAXSEG = 0x2
-- TCP_MAXWIN = 0xffff
-- TCP_MAX_WINSHIFT = 0xe
-- TCP_MD5SIG = 0xe
-- TCP_MD5SIG_MAXKEYLEN = 0x50
-- TCP_MSS = 0x200
-- TCP_MSS_DEFAULT = 0x218
-- TCP_MSS_DESIRED = 0x4c4
-- TCP_NODELAY = 0x1
-- TCP_NOTSENT_LOWAT = 0x19
-- TCP_QUEUE_SEQ = 0x15
-- TCP_QUICKACK = 0xc
-- TCP_REPAIR = 0x13
-- TCP_REPAIR_OPTIONS = 0x16
-- TCP_REPAIR_QUEUE = 0x14
-- TCP_REPAIR_WINDOW = 0x1d
-- TCP_SAVED_SYN = 0x1c
-- TCP_SAVE_SYN = 0x1b
-- TCP_SYNCNT = 0x7
-- TCP_S_DATA_IN = 0x4
-- TCP_S_DATA_OUT = 0x8
-- TCP_THIN_DUPACK = 0x11
-- TCP_THIN_LINEAR_TIMEOUTS = 0x10
-- TCP_TIMESTAMP = 0x18
-- TCP_USER_TIMEOUT = 0x12
-- TCP_WINDOW_CLAMP = 0xa
-- TCSAFLUSH = 0x5410
-- TCSBRK = 0x5405
-- TCSBRKP = 0x5486
-- TCSETA = 0x5402
-- TCSETAF = 0x5404
-- TCSETAW = 0x5403
-- TCSETS = 0x540e
-- TCSETS2 = 0x8030542b
-- TCSETSF = 0x5410
-- TCSETSF2 = 0x8030542d
-- TCSETSW = 0x540f
-- TCSETSW2 = 0x8030542c
-- TCXONC = 0x5406
-- TIOCCBRK = 0x5428
-- TIOCCONS = 0x80047478
-- TIOCEXCL = 0x740d
-- TIOCGDEV = 0x40045432
-- TIOCGETD = 0x7400
-- TIOCGETP = 0x7408
-- TIOCGEXCL = 0x40045440
-- TIOCGICOUNT = 0x5492
-- TIOCGLCKTRMIOS = 0x548b
-- TIOCGLTC = 0x7474
-- TIOCGPGRP = 0x40047477
-- TIOCGPKT = 0x40045438
-- TIOCGPTLCK = 0x40045439
-- TIOCGPTN = 0x40045430
-- TIOCGRS485 = 0x4020542e
-- TIOCGSERIAL = 0x5484
-- TIOCGSID = 0x7416
-- TIOCGSOFTCAR = 0x5481
-- TIOCGWINSZ = 0x40087468
-- TIOCINQ = 0x467f
-- TIOCLINUX = 0x5483
-- TIOCMBIC = 0x741c
-- TIOCMBIS = 0x741b
-- TIOCMGET = 0x741d
-- TIOCMIWAIT = 0x5491
-- TIOCMSET = 0x741a
-- TIOCM_CAR = 0x100
-- TIOCM_CD = 0x100
-- TIOCM_CTS = 0x40
-- TIOCM_DSR = 0x400
-- TIOCM_DTR = 0x2
-- TIOCM_LE = 0x1
-- TIOCM_RI = 0x200
-- TIOCM_RNG = 0x200
-- TIOCM_RTS = 0x4
-- TIOCM_SR = 0x20
-- TIOCM_ST = 0x10
-- TIOCNOTTY = 0x5471
-- TIOCNXCL = 0x740e
-- TIOCOUTQ = 0x7472
-- TIOCPKT = 0x5470
-- TIOCPKT_DATA = 0x0
-- TIOCPKT_DOSTOP = 0x20
-- TIOCPKT_FLUSHREAD = 0x1
-- TIOCPKT_FLUSHWRITE = 0x2
-- TIOCPKT_IOCTL = 0x40
-- TIOCPKT_NOSTOP = 0x10
-- TIOCPKT_START = 0x8
-- TIOCPKT_STOP = 0x4
-- TIOCSBRK = 0x5427
-- TIOCSCTTY = 0x5480
-- TIOCSERCONFIG = 0x5488
-- TIOCSERGETLSR = 0x548e
-- TIOCSERGETMULTI = 0x548f
-- TIOCSERGSTRUCT = 0x548d
-- TIOCSERGWILD = 0x5489
-- TIOCSERSETMULTI = 0x5490
-- TIOCSERSWILD = 0x548a
-- TIOCSER_TEMT = 0x1
-- TIOCSETD = 0x7401
-- TIOCSETN = 0x740a
-- TIOCSETP = 0x7409
-- TIOCSIG = 0x80045436
-- TIOCSLCKTRMIOS = 0x548c
-- TIOCSLTC = 0x7475
-- TIOCSPGRP = 0x80047476
-- TIOCSPTLCK = 0x80045431
-- TIOCSRS485 = 0xc020542f
-- TIOCSSERIAL = 0x5485
-- TIOCSSOFTCAR = 0x5482
-- TIOCSTI = 0x5472
-- TIOCSWINSZ = 0x80087467
-- TIOCVHANGUP = 0x5437
-- TOSTOP = 0x8000
-- TS_COMM_LEN = 0x20
-- TUNATTACHFILTER = 0x800854d5
-- TUNDETACHFILTER = 0x800854d6
-- TUNGETFEATURES = 0x400454cf
-- TUNGETFILTER = 0x400854db
-- TUNGETIFF = 0x400454d2
-- TUNGETSNDBUF = 0x400454d3
-- TUNGETVNETBE = 0x400454df
-- TUNGETVNETHDRSZ = 0x400454d7
-- TUNGETVNETLE = 0x400454dd
-- TUNSETDEBUG = 0x800454c9
-- TUNSETGROUP = 0x800454ce
-- TUNSETIFF = 0x800454ca
-- TUNSETIFINDEX = 0x800454da
-- TUNSETLINK = 0x800454cd
-- TUNSETNOCSUM = 0x800454c8
-- TUNSETOFFLOAD = 0x800454d0
-- TUNSETOWNER = 0x800454cc
-- TUNSETPERSIST = 0x800454cb
-- TUNSETQUEUE = 0x800454d9
-- TUNSETSNDBUF = 0x800454d4
-- TUNSETTXFILTER = 0x800454d1
-- TUNSETVNETBE = 0x800454de
-- TUNSETVNETHDRSZ = 0x800454d8
-- TUNSETVNETLE = 0x800454dc
-- UMOUNT_NOFOLLOW = 0x8
-- VDISCARD = 0xd
-- VEOF = 0x10
-- VEOL = 0x11
-- VEOL2 = 0x6
-- VERASE = 0x2
-- VINTR = 0x0
-- VKILL = 0x3
-- VLNEXT = 0xf
-- VMADDR_CID_ANY = 0xffffffff
-- VMADDR_CID_HOST = 0x2
-- VMADDR_CID_HYPERVISOR = 0x0
-- VMADDR_CID_RESERVED = 0x1
-- VMADDR_PORT_ANY = 0xffffffff
-- VMIN = 0x4
-- VM_SOCKETS_INVALID_VERSION = 0xffffffff
-- VQUIT = 0x1
-- VREPRINT = 0xc
-- VSTART = 0x8
-- VSTOP = 0x9
-- VSUSP = 0xa
-- VSWTC = 0x7
-- VSWTCH = 0x7
-- VT0 = 0x0
-- VT1 = 0x4000
-- VTDLY = 0x4000
-- VTIME = 0x5
-- VWERASE = 0xe
-- WALL = 0x40000000
-- WCLONE = 0x80000000
-- WCONTINUED = 0x8
-- WEXITED = 0x4
-- WNOHANG = 0x1
-- WNOTHREAD = 0x20000000
-- WNOWAIT = 0x1000000
-- WORDSIZE = 0x20
-- WSTOPPED = 0x2
-- WUNTRACED = 0x2
-- XATTR_CREATE = 0x1
-- XATTR_REPLACE = 0x2
-- XCASE = 0x4
-- XTABS = 0x1800
-+ 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 = 0x40041270
-+ BLKBSZSET = 0x80041271
-+ BLKFLSBUF = 0x20001261
-+ BLKFRAGET = 0x20001265
-+ BLKFRASET = 0x20001264
-+ BLKGETSIZE = 0x20001260
-+ BLKGETSIZE64 = 0x40041272
-+ BLKPBSZGET = 0x2000127b
-+ BLKRAGET = 0x20001263
-+ BLKRASET = 0x20001262
-+ BLKROGET = 0x2000125e
-+ BLKROSET = 0x2000125d
-+ BLKRRPART = 0x2000125f
-+ BLKSECTGET = 0x20001267
-+ BLKSECTSET = 0x20001266
-+ BLKSSZGET = 0x20001268
-+ 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
-+ ECHOCTL = 0x200
-+ ECHOE = 0x10
-+ ECHOK = 0x20
-+ ECHOKE = 0x800
-+ ECHONL = 0x40
-+ ECHOPRT = 0x400
-+ EFD_CLOEXEC = 0x80000
-+ EFD_NONBLOCK = 0x80
-+ EPOLL_CLOEXEC = 0x80000
-+ EXTPROC = 0x10000
-+ FF1 = 0x8000
-+ FFDLY = 0x8000
-+ FLUSHO = 0x2000
-+ FS_IOC_ENABLE_VERITY = 0x80806685
-+ FS_IOC_GETFLAGS = 0x40046601
-+ FS_IOC_GET_ENCRYPTION_POLICY = 0x800c6615
-+ FS_IOC_GET_ENCRYPTION_PWSALT = 0x80106614
-+ FS_IOC_SET_ENCRYPTION_POLICY = 0x400c6613
-+ F_GETLK = 0x21
-+ F_GETLK64 = 0x21
-+ F_GETOWN = 0x17
-+ F_RDLCK = 0x0
-+ F_SETLK = 0x22
-+ F_SETLK64 = 0x22
-+ F_SETLKW = 0x23
-+ F_SETLKW64 = 0x23
-+ F_SETOWN = 0x18
-+ F_UNLCK = 0x2
-+ F_WRLCK = 0x1
-+ HUPCL = 0x400
-+ ICANON = 0x2
-+ IEXTEN = 0x100
-+ IN_CLOEXEC = 0x80000
-+ IN_NONBLOCK = 0x80
-+ IOCTL_VM_SOCKETS_GET_LOCAL_CID = 0x200007b9
-+ ISIG = 0x1
-+ IUCLC = 0x200
-+ IXOFF = 0x1000
-+ IXON = 0x400
-+ MAP_ANON = 0x800
-+ MAP_ANONYMOUS = 0x800
-+ MAP_DENYWRITE = 0x2000
-+ MAP_EXECUTABLE = 0x4000
-+ MAP_GROWSDOWN = 0x1000
-+ MAP_HUGETLB = 0x80000
-+ MAP_LOCKED = 0x8000
-+ MAP_NONBLOCK = 0x20000
-+ MAP_NORESERVE = 0x400
-+ MAP_POPULATE = 0x10000
-+ MAP_RENAME = 0x800
-+ MAP_STACK = 0x40000
-+ MCL_CURRENT = 0x1
-+ MCL_FUTURE = 0x2
-+ MCL_ONFAULT = 0x4
-+ NFDBITS = 0x20
-+ NLDLY = 0x100
-+ NOFLSH = 0x80
-+ NS_GET_NSTYPE = 0x2000b703
-+ NS_GET_OWNER_UID = 0x2000b704
-+ NS_GET_PARENT = 0x2000b702
-+ NS_GET_USERNS = 0x2000b701
-+ OLCUC = 0x2
-+ ONLCR = 0x4
-+ O_APPEND = 0x8
-+ O_ASYNC = 0x1000
-+ O_CLOEXEC = 0x80000
-+ O_CREAT = 0x100
-+ O_DIRECT = 0x8000
-+ O_DIRECTORY = 0x10000
-+ O_DSYNC = 0x10
-+ O_EXCL = 0x400
-+ O_FSYNC = 0x4010
-+ O_LARGEFILE = 0x2000
-+ O_NDELAY = 0x80
-+ O_NOATIME = 0x40000
-+ O_NOCTTY = 0x800
-+ O_NOFOLLOW = 0x20000
-+ O_NONBLOCK = 0x80
-+ O_PATH = 0x200000
-+ O_RSYNC = 0x4010
-+ O_SYNC = 0x4010
-+ O_TMPFILE = 0x410000
-+ O_TRUNC = 0x200
-+ PARENB = 0x100
-+ PARODD = 0x200
-+ PENDIN = 0x4000
-+ PERF_EVENT_IOC_DISABLE = 0x20002401
-+ PERF_EVENT_IOC_ENABLE = 0x20002400
-+ PERF_EVENT_IOC_ID = 0x40042407
-+ PERF_EVENT_IOC_MODIFY_ATTRIBUTES = 0x8004240b
-+ PERF_EVENT_IOC_PAUSE_OUTPUT = 0x80042409
-+ PERF_EVENT_IOC_PERIOD = 0x80082404
-+ PERF_EVENT_IOC_QUERY_BPF = 0xc004240a
-+ PERF_EVENT_IOC_REFRESH = 0x20002402
-+ PERF_EVENT_IOC_RESET = 0x20002403
-+ PERF_EVENT_IOC_SET_BPF = 0x80042408
-+ PERF_EVENT_IOC_SET_FILTER = 0x80042406
-+ PERF_EVENT_IOC_SET_OUTPUT = 0x20002405
-+ PPPIOCATTACH = 0x8004743d
-+ PPPIOCATTCHAN = 0x80047438
-+ PPPIOCCONNECT = 0x8004743a
-+ PPPIOCDETACH = 0x8004743c
-+ PPPIOCDISCONN = 0x20007439
-+ PPPIOCGASYNCMAP = 0x40047458
-+ PPPIOCGCHAN = 0x40047437
-+ PPPIOCGDEBUG = 0x40047441
-+ PPPIOCGFLAGS = 0x4004745a
-+ PPPIOCGIDLE = 0x4008743f
-+ PPPIOCGIDLE32 = 0x4008743f
-+ PPPIOCGIDLE64 = 0x4010743f
-+ PPPIOCGL2TPSTATS = 0x40487436
-+ PPPIOCGMRU = 0x40047453
-+ PPPIOCGRASYNCMAP = 0x40047455
-+ PPPIOCGUNIT = 0x40047456
-+ PPPIOCGXASYNCMAP = 0x40207450
-+ PPPIOCSACTIVE = 0x80087446
-+ PPPIOCSASYNCMAP = 0x80047457
-+ PPPIOCSCOMPRESS = 0x800c744d
-+ PPPIOCSDEBUG = 0x80047440
-+ PPPIOCSFLAGS = 0x80047459
-+ PPPIOCSMAXCID = 0x80047451
-+ PPPIOCSMRRU = 0x8004743b
-+ PPPIOCSMRU = 0x80047452
-+ PPPIOCSNPMODE = 0x8008744b
-+ PPPIOCSPASS = 0x80087447
-+ PPPIOCSRASYNCMAP = 0x80047454
-+ PPPIOCSXASYNCMAP = 0x8020744f
-+ PPPIOCXFERUNIT = 0x2000744e
-+ PR_SET_PTRACER_ANY = 0xffffffff
-+ PTRACE_GETFPREGS = 0xe
-+ PTRACE_GET_THREAD_AREA = 0x19
-+ PTRACE_GET_THREAD_AREA_3264 = 0xc4
-+ PTRACE_GET_WATCH_REGS = 0xd0
-+ PTRACE_OLDSETOPTIONS = 0x15
-+ PTRACE_PEEKDATA_3264 = 0xc1
-+ PTRACE_PEEKTEXT_3264 = 0xc0
-+ PTRACE_POKEDATA_3264 = 0xc3
-+ PTRACE_POKETEXT_3264 = 0xc2
-+ PTRACE_SETFPREGS = 0xf
-+ PTRACE_SET_THREAD_AREA = 0x1a
-+ PTRACE_SET_WATCH_REGS = 0xd1
-+ RLIMIT_AS = 0x6
-+ RLIMIT_MEMLOCK = 0x9
-+ RLIMIT_NOFILE = 0x5
-+ RLIMIT_NPROC = 0x8
-+ RLIMIT_RSS = 0x7
-+ RNDADDENTROPY = 0x80085203
-+ RNDADDTOENTCNT = 0x80045201
-+ RNDCLEARPOOL = 0x20005206
-+ RNDGETENTCNT = 0x40045200
-+ RNDGETPOOL = 0x40085202
-+ RNDRESEEDCRNG = 0x20005207
-+ RNDZAPENTCNT = 0x20005204
-+ RTC_AIE_OFF = 0x20007002
-+ RTC_AIE_ON = 0x20007001
-+ RTC_ALM_READ = 0x40247008
-+ RTC_ALM_SET = 0x80247007
-+ RTC_EPOCH_READ = 0x4004700d
-+ RTC_EPOCH_SET = 0x8004700e
-+ RTC_IRQP_READ = 0x4004700b
-+ RTC_IRQP_SET = 0x8004700c
-+ RTC_PIE_OFF = 0x20007006
-+ RTC_PIE_ON = 0x20007005
-+ RTC_PLL_GET = 0x401c7011
-+ RTC_PLL_SET = 0x801c7012
-+ RTC_RD_TIME = 0x40247009
-+ RTC_SET_TIME = 0x8024700a
-+ RTC_UIE_OFF = 0x20007004
-+ RTC_UIE_ON = 0x20007003
-+ RTC_VL_CLR = 0x20007014
-+ RTC_VL_READ = 0x40047013
-+ RTC_WIE_OFF = 0x20007010
-+ RTC_WIE_ON = 0x2000700f
-+ RTC_WKALM_RD = 0x40287010
-+ RTC_WKALM_SET = 0x8028700f
-+ 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 = 0x80
-+ SIOCATMARK = 0x40047307
-+ SIOCGPGRP = 0x40047309
-+ SIOCGSTAMPNS_NEW = 0x40108907
-+ SIOCGSTAMP_NEW = 0x40108906
-+ SIOCINQ = 0x467f
-+ SIOCOUTQ = 0x7472
-+ SIOCSPGRP = 0x80047308
-+ SOCK_CLOEXEC = 0x80000
-+ SOCK_DGRAM = 0x1
-+ SOCK_NONBLOCK = 0x80
-+ SOCK_STREAM = 0x2
-+ SOL_SOCKET = 0xffff
-+ SO_ACCEPTCONN = 0x1009
-+ 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 = 0x20
-+ SO_BSDCOMPAT = 0xe
-+ SO_BUSY_POLL = 0x2e
-+ SO_CNX_ADVICE = 0x35
-+ SO_COOKIE = 0x39
-+ SO_DETACH_REUSEPORT_BPF = 0x44
-+ SO_DOMAIN = 0x1029
-+ SO_DONTROUTE = 0x10
-+ SO_ERROR = 0x1007
-+ SO_INCOMING_CPU = 0x31
-+ SO_INCOMING_NAPI_ID = 0x38
-+ SO_KEEPALIVE = 0x8
-+ SO_LINGER = 0x80
-+ SO_LOCK_FILTER = 0x2c
-+ SO_MARK = 0x24
-+ SO_MAX_PACING_RATE = 0x2f
-+ SO_MEMINFO = 0x37
-+ SO_NOFCS = 0x2b
-+ SO_OOBINLINE = 0x100
-+ SO_PASSCRED = 0x11
-+ SO_PASSSEC = 0x22
-+ SO_PEEK_OFF = 0x2a
-+ SO_PEERCRED = 0x12
-+ SO_PEERGROUPS = 0x3b
-+ SO_PEERSEC = 0x1e
-+ SO_PROTOCOL = 0x1028
-+ SO_RCVBUF = 0x1002
-+ SO_RCVBUFFORCE = 0x21
-+ SO_RCVLOWAT = 0x1004
-+ SO_RCVTIMEO = 0x1006
-+ SO_RCVTIMEO_NEW = 0x42
-+ SO_RCVTIMEO_OLD = 0x1006
-+ SO_REUSEADDR = 0x4
-+ SO_REUSEPORT = 0x200
-+ SO_RXQ_OVFL = 0x28
-+ SO_SECURITY_AUTHENTICATION = 0x16
-+ SO_SECURITY_ENCRYPTION_NETWORK = 0x18
-+ SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
-+ SO_SELECT_ERR_QUEUE = 0x2d
-+ SO_SNDBUF = 0x1001
-+ SO_SNDBUFFORCE = 0x1f
-+ SO_SNDLOWAT = 0x1003
-+ SO_SNDTIMEO = 0x1005
-+ SO_SNDTIMEO_NEW = 0x43
-+ SO_SNDTIMEO_OLD = 0x1005
-+ SO_STYLE = 0x1008
-+ 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_TXTIME = 0x3d
-+ SO_TYPE = 0x1008
-+ SO_WIFI_STATUS = 0x29
-+ SO_ZEROCOPY = 0x3c
-+ TAB1 = 0x800
-+ TAB2 = 0x1000
-+ TAB3 = 0x1800
-+ TABDLY = 0x1800
-+ TCFLSH = 0x5407
-+ TCGETA = 0x5401
-+ TCGETS = 0x540d
-+ TCGETS2 = 0x4030542a
-+ TCSAFLUSH = 0x5410
-+ TCSBRK = 0x5405
-+ TCSBRKP = 0x5486
-+ TCSETA = 0x5402
-+ TCSETAF = 0x5404
-+ TCSETAW = 0x5403
-+ TCSETS = 0x540e
-+ TCSETS2 = 0x8030542b
-+ TCSETSF = 0x5410
-+ TCSETSF2 = 0x8030542d
-+ TCSETSW = 0x540f
-+ TCSETSW2 = 0x8030542c
-+ TCXONC = 0x5406
-+ TIOCCBRK = 0x5428
-+ TIOCCONS = 0x80047478
-+ TIOCEXCL = 0x740d
-+ TIOCGDEV = 0x40045432
-+ TIOCGETD = 0x7400
-+ TIOCGETP = 0x7408
-+ TIOCGEXCL = 0x40045440
-+ TIOCGICOUNT = 0x5492
-+ TIOCGISO7816 = 0x40285442
-+ TIOCGLCKTRMIOS = 0x548b
-+ TIOCGLTC = 0x7474
-+ TIOCGPGRP = 0x40047477
-+ TIOCGPKT = 0x40045438
-+ TIOCGPTLCK = 0x40045439
-+ TIOCGPTN = 0x40045430
-+ TIOCGPTPEER = 0x20005441
-+ TIOCGRS485 = 0x4020542e
-+ TIOCGSERIAL = 0x5484
-+ TIOCGSID = 0x7416
-+ TIOCGSOFTCAR = 0x5481
-+ TIOCGWINSZ = 0x40087468
-+ TIOCINQ = 0x467f
-+ TIOCLINUX = 0x5483
-+ TIOCMBIC = 0x741c
-+ TIOCMBIS = 0x741b
-+ TIOCMGET = 0x741d
-+ TIOCMIWAIT = 0x5491
-+ TIOCMSET = 0x741a
-+ TIOCM_CAR = 0x100
-+ TIOCM_CD = 0x100
-+ TIOCM_CTS = 0x40
-+ TIOCM_DSR = 0x400
-+ TIOCM_RI = 0x200
-+ TIOCM_RNG = 0x200
-+ TIOCM_SR = 0x20
-+ TIOCM_ST = 0x10
-+ TIOCNOTTY = 0x5471
-+ TIOCNXCL = 0x740e
-+ TIOCOUTQ = 0x7472
-+ TIOCPKT = 0x5470
-+ TIOCSBRK = 0x5427
-+ TIOCSCTTY = 0x5480
-+ TIOCSERCONFIG = 0x5488
-+ TIOCSERGETLSR = 0x548e
-+ TIOCSERGETMULTI = 0x548f
-+ TIOCSERGSTRUCT = 0x548d
-+ TIOCSERGWILD = 0x5489
-+ TIOCSERSETMULTI = 0x5490
-+ TIOCSERSWILD = 0x548a
-+ TIOCSER_TEMT = 0x1
-+ TIOCSETD = 0x7401
-+ TIOCSETN = 0x740a
-+ TIOCSETP = 0x7409
-+ TIOCSIG = 0x80045436
-+ TIOCSISO7816 = 0xc0285443
-+ TIOCSLCKTRMIOS = 0x548c
-+ TIOCSLTC = 0x7475
-+ TIOCSPGRP = 0x80047476
-+ TIOCSPTLCK = 0x80045431
-+ TIOCSRS485 = 0xc020542f
-+ TIOCSSERIAL = 0x5485
-+ TIOCSSOFTCAR = 0x5482
-+ TIOCSTI = 0x5472
-+ TIOCSWINSZ = 0x80087467
-+ TIOCVHANGUP = 0x5437
-+ TOSTOP = 0x8000
-+ TUNATTACHFILTER = 0x800854d5
-+ TUNDETACHFILTER = 0x800854d6
-+ TUNGETDEVNETNS = 0x200054e3
-+ TUNGETFEATURES = 0x400454cf
-+ TUNGETFILTER = 0x400854db
-+ TUNGETIFF = 0x400454d2
-+ TUNGETSNDBUF = 0x400454d3
-+ TUNGETVNETBE = 0x400454df
-+ TUNGETVNETHDRSZ = 0x400454d7
-+ TUNGETVNETLE = 0x400454dd
-+ TUNSETCARRIER = 0x800454e2
-+ TUNSETDEBUG = 0x800454c9
-+ TUNSETFILTEREBPF = 0x400454e1
-+ TUNSETGROUP = 0x800454ce
-+ TUNSETIFF = 0x800454ca
-+ TUNSETIFINDEX = 0x800454da
-+ TUNSETLINK = 0x800454cd
-+ TUNSETNOCSUM = 0x800454c8
-+ TUNSETOFFLOAD = 0x800454d0
-+ TUNSETOWNER = 0x800454cc
-+ TUNSETPERSIST = 0x800454cb
-+ TUNSETQUEUE = 0x800454d9
-+ TUNSETSNDBUF = 0x800454d4
-+ TUNSETSTEERINGEBPF = 0x400454e0
-+ TUNSETTXFILTER = 0x800454d1
-+ TUNSETVNETBE = 0x800454de
-+ TUNSETVNETHDRSZ = 0x800454d8
-+ TUNSETVNETLE = 0x800454dc
-+ UBI_IOCATT = 0x80186f40
-+ UBI_IOCDET = 0x80046f41
-+ UBI_IOCEBCH = 0x80044f02
-+ UBI_IOCEBER = 0x80044f01
-+ UBI_IOCEBISMAP = 0x40044f05
-+ UBI_IOCEBMAP = 0x80084f03
-+ UBI_IOCEBUNMAP = 0x80044f04
-+ UBI_IOCMKVOL = 0x80986f00
-+ UBI_IOCRMVOL = 0x80046f01
-+ UBI_IOCRNVOL = 0x91106f03
-+ UBI_IOCRPEB = 0x80046f04
-+ UBI_IOCRSVOL = 0x800c6f02
-+ UBI_IOCSETVOLPROP = 0x80104f06
-+ UBI_IOCSPEB = 0x80046f05
-+ UBI_IOCVOLCRBLK = 0x80804f07
-+ UBI_IOCVOLRMBLK = 0x20004f08
-+ UBI_IOCVOLUP = 0x80084f00
-+ VDISCARD = 0xd
-+ VEOF = 0x10
-+ VEOL = 0x11
-+ VEOL2 = 0x6
-+ VMIN = 0x4
-+ VREPRINT = 0xc
-+ VSTART = 0x8
-+ VSTOP = 0x9
-+ VSUSP = 0xa
-+ VSWTC = 0x7
-+ VSWTCH = 0x7
-+ VT1 = 0x4000
-+ VTDLY = 0x4000
-+ VTIME = 0x5
-+ VWERASE = 0xe
-+ WDIOC_GETBOOTSTATUS = 0x40045702
-+ WDIOC_GETPRETIMEOUT = 0x40045709
-+ WDIOC_GETSTATUS = 0x40045701
-+ WDIOC_GETSUPPORT = 0x40285700
-+ WDIOC_GETTEMP = 0x40045703
-+ WDIOC_GETTIMELEFT = 0x4004570a
-+ WDIOC_GETTIMEOUT = 0x40045707
-+ WDIOC_KEEPALIVE = 0x40045705
-+ WDIOC_SETOPTIONS = 0x40045704
-+ WORDSIZE = 0x20
-+ XCASE = 0x4
-+ XTABS = 0x1800
- )
-
- // Errors
- const (
-- E2BIG = syscall.Errno(0x7)
-- EACCES = syscall.Errno(0xd)
- EADDRINUSE = syscall.Errno(0x7d)
- EADDRNOTAVAIL = syscall.Errno(0x7e)
- EADV = syscall.Errno(0x44)
- EAFNOSUPPORT = syscall.Errno(0x7c)
-- EAGAIN = syscall.Errno(0xb)
- EALREADY = syscall.Errno(0x95)
- EBADE = syscall.Errno(0x32)
-- EBADF = syscall.Errno(0x9)
- EBADFD = syscall.Errno(0x51)
- EBADMSG = syscall.Errno(0x4d)
- EBADR = syscall.Errno(0x33)
- EBADRQC = syscall.Errno(0x36)
- EBADSLT = syscall.Errno(0x37)
- EBFONT = syscall.Errno(0x3b)
-- EBUSY = syscall.Errno(0x10)
- ECANCELED = syscall.Errno(0x9e)
-- ECHILD = syscall.Errno(0xa)
- ECHRNG = syscall.Errno(0x25)
- ECOMM = syscall.Errno(0x46)
- ECONNABORTED = syscall.Errno(0x82)
-@@ -1886,12 +502,8 @@ const (
- EDEADLK = syscall.Errno(0x2d)
- EDEADLOCK = syscall.Errno(0x38)
- EDESTADDRREQ = syscall.Errno(0x60)
-- EDOM = syscall.Errno(0x21)
- EDOTDOT = syscall.Errno(0x49)
- EDQUOT = syscall.Errno(0x46d)
-- EEXIST = syscall.Errno(0x11)
-- EFAULT = syscall.Errno(0xe)
-- EFBIG = syscall.Errno(0x1b)
- EHOSTDOWN = syscall.Errno(0x93)
- EHOSTUNREACH = syscall.Errno(0x94)
- EHWPOISON = syscall.Errno(0xa8)
-@@ -1899,11 +511,7 @@ const (
- EILSEQ = syscall.Errno(0x58)
- EINIT = syscall.Errno(0x8d)
- EINPROGRESS = syscall.Errno(0x96)
-- EINTR = syscall.Errno(0x4)
-- EINVAL = syscall.Errno(0x16)
-- EIO = syscall.Errno(0x5)
- EISCONN = syscall.Errno(0x85)
-- EISDIR = syscall.Errno(0x15)
- EISNAM = syscall.Errno(0x8b)
- EKEYEXPIRED = syscall.Errno(0xa2)
- EKEYREJECTED = syscall.Errno(0xa4)
-@@ -1920,8 +528,6 @@ const (
- ELNRNG = syscall.Errno(0x29)
- ELOOP = syscall.Errno(0x5a)
- EMEDIUMTYPE = syscall.Errno(0xa0)
-- EMFILE = syscall.Errno(0x18)
-- EMLINK = syscall.Errno(0x1f)
- EMSGSIZE = syscall.Errno(0x61)
- EMULTIHOP = syscall.Errno(0x4a)
- ENAMETOOLONG = syscall.Errno(0x4e)
-@@ -1929,100 +535,68 @@ const (
- ENETDOWN = syscall.Errno(0x7f)
- ENETRESET = syscall.Errno(0x81)
- ENETUNREACH = syscall.Errno(0x80)
-- ENFILE = syscall.Errno(0x17)
- ENOANO = syscall.Errno(0x35)
- ENOBUFS = syscall.Errno(0x84)
- ENOCSI = syscall.Errno(0x2b)
- ENODATA = syscall.Errno(0x3d)
-- ENODEV = syscall.Errno(0x13)
-- ENOENT = syscall.Errno(0x2)
-- ENOEXEC = syscall.Errno(0x8)
- ENOKEY = syscall.Errno(0xa1)
- ENOLCK = syscall.Errno(0x2e)
- ENOLINK = syscall.Errno(0x43)
- ENOMEDIUM = syscall.Errno(0x9f)
-- ENOMEM = syscall.Errno(0xc)
- ENOMSG = syscall.Errno(0x23)
- ENONET = syscall.Errno(0x40)
- ENOPKG = syscall.Errno(0x41)
- ENOPROTOOPT = syscall.Errno(0x63)
-- ENOSPC = syscall.Errno(0x1c)
- ENOSR = syscall.Errno(0x3f)
- ENOSTR = syscall.Errno(0x3c)
- ENOSYS = syscall.Errno(0x59)
-- ENOTBLK = syscall.Errno(0xf)
- ENOTCONN = syscall.Errno(0x86)
-- ENOTDIR = syscall.Errno(0x14)
- ENOTEMPTY = syscall.Errno(0x5d)
- ENOTNAM = syscall.Errno(0x89)
- ENOTRECOVERABLE = syscall.Errno(0xa6)
- ENOTSOCK = syscall.Errno(0x5f)
- ENOTSUP = syscall.Errno(0x7a)
-- ENOTTY = syscall.Errno(0x19)
- ENOTUNIQ = syscall.Errno(0x50)
-- ENXIO = syscall.Errno(0x6)
- EOPNOTSUPP = syscall.Errno(0x7a)
- EOVERFLOW = syscall.Errno(0x4f)
- EOWNERDEAD = syscall.Errno(0xa5)
-- EPERM = syscall.Errno(0x1)
- EPFNOSUPPORT = syscall.Errno(0x7b)
-- EPIPE = syscall.Errno(0x20)
- EPROTO = syscall.Errno(0x47)
- EPROTONOSUPPORT = syscall.Errno(0x78)
- EPROTOTYPE = syscall.Errno(0x62)
-- ERANGE = syscall.Errno(0x22)
- EREMCHG = syscall.Errno(0x52)
- EREMDEV = syscall.Errno(0x8e)
- EREMOTE = syscall.Errno(0x42)
- EREMOTEIO = syscall.Errno(0x8c)
- ERESTART = syscall.Errno(0x5b)
- ERFKILL = syscall.Errno(0xa7)
-- EROFS = syscall.Errno(0x1e)
- ESHUTDOWN = syscall.Errno(0x8f)
- ESOCKTNOSUPPORT = syscall.Errno(0x79)
-- ESPIPE = syscall.Errno(0x1d)
-- ESRCH = syscall.Errno(0x3)
- ESRMNT = syscall.Errno(0x45)
- ESTALE = syscall.Errno(0x97)
- ESTRPIPE = syscall.Errno(0x5c)
- ETIME = syscall.Errno(0x3e)
- ETIMEDOUT = syscall.Errno(0x91)
- ETOOMANYREFS = syscall.Errno(0x90)
-- ETXTBSY = syscall.Errno(0x1a)
- EUCLEAN = syscall.Errno(0x87)
- EUNATCH = syscall.Errno(0x2a)
- EUSERS = syscall.Errno(0x5e)
-- EWOULDBLOCK = syscall.Errno(0xb)
-- EXDEV = syscall.Errno(0x12)
- EXFULL = syscall.Errno(0x34)
- )
-
- // Signals
- const (
-- SIGABRT = syscall.Signal(0x6)
-- SIGALRM = syscall.Signal(0xe)
- SIGBUS = syscall.Signal(0xa)
- SIGCHLD = syscall.Signal(0x12)
- SIGCLD = syscall.Signal(0x12)
- SIGCONT = syscall.Signal(0x19)
- SIGEMT = syscall.Signal(0x7)
-- SIGFPE = syscall.Signal(0x8)
-- SIGHUP = syscall.Signal(0x1)
-- SIGILL = syscall.Signal(0x4)
-- SIGINT = syscall.Signal(0x2)
- SIGIO = syscall.Signal(0x16)
-- SIGIOT = syscall.Signal(0x6)
-- SIGKILL = syscall.Signal(0x9)
-- SIGPIPE = syscall.Signal(0xd)
- SIGPOLL = syscall.Signal(0x16)
- SIGPROF = syscall.Signal(0x1d)
- SIGPWR = syscall.Signal(0x13)
-- SIGQUIT = syscall.Signal(0x3)
-- SIGSEGV = syscall.Signal(0xb)
- SIGSTOP = syscall.Signal(0x17)
- SIGSYS = syscall.Signal(0xc)
-- SIGTERM = syscall.Signal(0xf)
-- SIGTRAP = syscall.Signal(0x5)
- SIGTSTP = syscall.Signal(0x18)
- SIGTTIN = syscall.Signal(0x1a)
- SIGTTOU = syscall.Signal(0x1b)
-@@ -2036,174 +610,182 @@ const (
- )
-
- // Error table
--var errors = [...]string{
-- 1: "operation not permitted",
-- 2: "no such file or directory",
-- 3: "no such process",
-- 4: "interrupted system call",
-- 5: "input/output error",
-- 6: "no such device or address",
-- 7: "argument list too long",
-- 8: "exec format error",
-- 9: "bad file descriptor",
-- 10: "no child processes",
-- 11: "resource temporarily unavailable",
-- 12: "cannot allocate memory",
-- 13: "permission denied",
-- 14: "bad address",
-- 15: "block device required",
-- 16: "device or resource busy",
-- 17: "file exists",
-- 18: "invalid cross-device link",
-- 19: "no such device",
-- 20: "not a directory",
-- 21: "is a directory",
-- 22: "invalid argument",
-- 23: "too many open files in system",
-- 24: "too many open files",
-- 25: "inappropriate ioctl for device",
-- 26: "text file busy",
-- 27: "file too large",
-- 28: "no space left on device",
-- 29: "illegal seek",
-- 30: "read-only file system",
-- 31: "too many links",
-- 32: "broken pipe",
-- 33: "numerical argument out of domain",
-- 34: "numerical result out of range",
-- 35: "no message of desired type",
-- 36: "identifier removed",
-- 37: "channel number out of range",
-- 38: "level 2 not synchronized",
-- 39: "level 3 halted",
-- 40: "level 3 reset",
-- 41: "link number out of range",
-- 42: "protocol driver not attached",
-- 43: "no CSI structure available",
-- 44: "level 2 halted",
-- 45: "resource deadlock avoided",
-- 46: "no locks available",
-- 50: "invalid exchange",
-- 51: "invalid request descriptor",
-- 52: "exchange full",
-- 53: "no anode",
-- 54: "invalid request code",
-- 55: "invalid slot",
-- 56: "file locking deadlock error",
-- 59: "bad font file format",
-- 60: "device not a stream",
-- 61: "no data available",
-- 62: "timer expired",
-- 63: "out of streams resources",
-- 64: "machine is not on the network",
-- 65: "package not installed",
-- 66: "object is remote",
-- 67: "link has been severed",
-- 68: "advertise error",
-- 69: "srmount error",
-- 70: "communication error on send",
-- 71: "protocol error",
-- 73: "RFS specific error",
-- 74: "multihop attempted",
-- 77: "bad message",
-- 78: "file name too long",
-- 79: "value too large for defined data type",
-- 80: "name not unique on network",
-- 81: "file descriptor in bad state",
-- 82: "remote address changed",
-- 83: "can not access a needed shared library",
-- 84: "accessing a corrupted shared library",
-- 85: ".lib section in a.out corrupted",
-- 86: "attempting to link in too many shared libraries",
-- 87: "cannot exec a shared library directly",
-- 88: "invalid or incomplete multibyte or wide character",
-- 89: "function not implemented",
-- 90: "too many levels of symbolic links",
-- 91: "interrupted system call should be restarted",
-- 92: "streams pipe error",
-- 93: "directory not empty",
-- 94: "too many users",
-- 95: "socket operation on non-socket",
-- 96: "destination address required",
-- 97: "message too long",
-- 98: "protocol wrong type for socket",
-- 99: "protocol not available",
-- 120: "protocol not supported",
-- 121: "socket type not supported",
-- 122: "operation not supported",
-- 123: "protocol family not supported",
-- 124: "address family not supported by protocol",
-- 125: "address already in use",
-- 126: "cannot assign requested address",
-- 127: "network is down",
-- 128: "network is unreachable",
-- 129: "network dropped connection on reset",
-- 130: "software caused connection abort",
-- 131: "connection reset by peer",
-- 132: "no buffer space available",
-- 133: "transport endpoint is already connected",
-- 134: "transport endpoint is not connected",
-- 135: "structure needs cleaning",
-- 137: "not a XENIX named type file",
-- 138: "no XENIX semaphores available",
-- 139: "is a named type file",
-- 140: "remote I/O error",
-- 141: "unknown error 141",
-- 142: "unknown error 142",
-- 143: "cannot send after transport endpoint shutdown",
-- 144: "too many references: cannot splice",
-- 145: "connection timed out",
-- 146: "connection refused",
-- 147: "host is down",
-- 148: "no route to host",
-- 149: "operation already in progress",
-- 150: "operation now in progress",
-- 151: "stale file handle",
-- 158: "operation canceled",
-- 159: "no medium found",
-- 160: "wrong medium type",
-- 161: "required key not available",
-- 162: "key has expired",
-- 163: "key has been revoked",
-- 164: "key was rejected by service",
-- 165: "owner died",
-- 166: "state not recoverable",
-- 167: "operation not possible due to RF-kill",
-- 168: "memory page has hardware error",
-- 1133: "disk quota exceeded",
-+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, "ENOMSG", "no message of desired type"},
-+ {36, "EIDRM", "identifier removed"},
-+ {37, "ECHRNG", "channel number out of range"},
-+ {38, "EL2NSYNC", "level 2 not synchronized"},
-+ {39, "EL3HLT", "level 3 halted"},
-+ {40, "EL3RST", "level 3 reset"},
-+ {41, "ELNRNG", "link number out of range"},
-+ {42, "EUNATCH", "protocol driver not attached"},
-+ {43, "ENOCSI", "no CSI structure available"},
-+ {44, "EL2HLT", "level 2 halted"},
-+ {45, "EDEADLK", "resource deadlock avoided"},
-+ {46, "ENOLCK", "no locks available"},
-+ {50, "EBADE", "invalid exchange"},
-+ {51, "EBADR", "invalid request descriptor"},
-+ {52, "EXFULL", "exchange full"},
-+ {53, "ENOANO", "no anode"},
-+ {54, "EBADRQC", "invalid request code"},
-+ {55, "EBADSLT", "invalid slot"},
-+ {56, "EDEADLOCK", "file locking deadlock error"},
-+ {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"},
-+ {73, "EDOTDOT", "RFS specific error"},
-+ {74, "EMULTIHOP", "multihop attempted"},
-+ {77, "EBADMSG", "bad message"},
-+ {78, "ENAMETOOLONG", "file name too long"},
-+ {79, "EOVERFLOW", "value too large for defined data type"},
-+ {80, "ENOTUNIQ", "name not unique on network"},
-+ {81, "EBADFD", "file descriptor in bad state"},
-+ {82, "EREMCHG", "remote address changed"},
-+ {83, "ELIBACC", "can not access a needed shared library"},
-+ {84, "ELIBBAD", "accessing a corrupted shared library"},
-+ {85, "ELIBSCN", ".lib section in a.out corrupted"},
-+ {86, "ELIBMAX", "attempting to link in too many shared libraries"},
-+ {87, "ELIBEXEC", "cannot exec a shared library directly"},
-+ {88, "EILSEQ", "invalid or incomplete multibyte or wide character"},
-+ {89, "ENOSYS", "function not implemented"},
-+ {90, "ELOOP", "too many levels of symbolic links"},
-+ {91, "ERESTART", "interrupted system call should be restarted"},
-+ {92, "ESTRPIPE", "streams pipe error"},
-+ {93, "ENOTEMPTY", "directory not empty"},
-+ {94, "EUSERS", "too many users"},
-+ {95, "ENOTSOCK", "socket operation on non-socket"},
-+ {96, "EDESTADDRREQ", "destination address required"},
-+ {97, "EMSGSIZE", "message too long"},
-+ {98, "EPROTOTYPE", "protocol wrong type for socket"},
-+ {99, "ENOPROTOOPT", "protocol not available"},
-+ {120, "EPROTONOSUPPORT", "protocol not supported"},
-+ {121, "ESOCKTNOSUPPORT", "socket type not supported"},
-+ {122, "ENOTSUP", "operation not supported"},
-+ {123, "EPFNOSUPPORT", "protocol family not supported"},
-+ {124, "EAFNOSUPPORT", "address family not supported by protocol"},
-+ {125, "EADDRINUSE", "address already in use"},
-+ {126, "EADDRNOTAVAIL", "cannot assign requested address"},
-+ {127, "ENETDOWN", "network is down"},
-+ {128, "ENETUNREACH", "network is unreachable"},
-+ {129, "ENETRESET", "network dropped connection on reset"},
-+ {130, "ECONNABORTED", "software caused connection abort"},
-+ {131, "ECONNRESET", "connection reset by peer"},
-+ {132, "ENOBUFS", "no buffer space available"},
-+ {133, "EISCONN", "transport endpoint is already connected"},
-+ {134, "ENOTCONN", "transport endpoint is not connected"},
-+ {135, "EUCLEAN", "structure needs cleaning"},
-+ {137, "ENOTNAM", "not a XENIX named type file"},
-+ {138, "ENAVAIL", "no XENIX semaphores available"},
-+ {139, "EISNAM", "is a named type file"},
-+ {140, "EREMOTEIO", "remote I/O error"},
-+ {141, "EINIT", "unknown error 141"},
-+ {142, "EREMDEV", "unknown error 142"},
-+ {143, "ESHUTDOWN", "cannot send after transport endpoint shutdown"},
-+ {144, "ETOOMANYREFS", "too many references: cannot splice"},
-+ {145, "ETIMEDOUT", "connection timed out"},
-+ {146, "ECONNREFUSED", "connection refused"},
-+ {147, "EHOSTDOWN", "host is down"},
-+ {148, "EHOSTUNREACH", "no route to host"},
-+ {149, "EALREADY", "operation already in progress"},
-+ {150, "EINPROGRESS", "operation now in progress"},
-+ {151, "ESTALE", "stale file handle"},
-+ {158, "ECANCELED", "operation canceled"},
-+ {159, "ENOMEDIUM", "no medium found"},
-+ {160, "EMEDIUMTYPE", "wrong medium type"},
-+ {161, "ENOKEY", "required key not available"},
-+ {162, "EKEYEXPIRED", "key has expired"},
-+ {163, "EKEYREVOKED", "key has been revoked"},
-+ {164, "EKEYREJECTED", "key was rejected by service"},
-+ {165, "EOWNERDEAD", "owner died"},
-+ {166, "ENOTRECOVERABLE", "state not recoverable"},
-+ {167, "ERFKILL", "operation not possible due to RF-kill"},
-+ {168, "EHWPOISON", "memory page has hardware error"},
-+ {1133, "EDQUOT", "disk quota exceeded"},
- }
-
- // Signal table
--var signals = [...]string{
-- 1: "hangup",
-- 2: "interrupt",
-- 3: "quit",
-- 4: "illegal instruction",
-- 5: "trace/breakpoint trap",
-- 6: "aborted",
-- 7: "EMT trap",
-- 8: "floating point exception",
-- 9: "killed",
-- 10: "bus error",
-- 11: "segmentation fault",
-- 12: "bad system call",
-- 13: "broken pipe",
-- 14: "alarm clock",
-- 15: "terminated",
-- 16: "user defined signal 1",
-- 17: "user defined signal 2",
-- 18: "child exited",
-- 19: "power failure",
-- 20: "window changed",
-- 21: "urgent I/O condition",
-- 22: "I/O possible",
-- 23: "stopped (signal)",
-- 24: "stopped",
-- 25: "continued",
-- 26: "stopped (tty input)",
-- 27: "stopped (tty output)",
-- 28: "virtual timer expired",
-- 29: "profiling timer expired",
-- 30: "CPU time limit exceeded",
-- 31: "file size limit exceeded",
-+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, "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, "SIGUSR1", "user defined signal 1"},
-+ {17, "SIGUSR2", "user defined signal 2"},
-+ {18, "SIGCHLD", "child exited"},
-+ {19, "SIGPWR", "power failure"},
-+ {20, "SIGWINCH", "window changed"},
-+ {21, "SIGURG", "urgent I/O condition"},
-+ {22, "SIGIO", "I/O possible"},
-+ {23, "SIGSTOP", "stopped (signal)"},
-+ {24, "SIGTSTP", "stopped"},
-+ {25, "SIGCONT", "continued"},
-+ {26, "SIGTTIN", "stopped (tty input)"},
-+ {27, "SIGTTOU", "stopped (tty output)"},
-+ {28, "SIGVTALRM", "virtual timer expired"},
-+ {29, "SIGPROF", "profiling timer expired"},
-+ {30, "SIGXCPU", "CPU time limit exceeded"},
-+ {31, "SIGXFSZ", "file size limit exceeded"},
- }
-diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go b/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go
-index 6772a59b..51858667 100644
---- a/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go
-+++ b/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go
-@@ -3,7 +3,7 @@
-
- // +build ppc64,linux
-
--// Created by cgo -godefs - DO NOT EDIT
-+// Code generated by cmd/cgo -godefs; DO NOT EDIT.
- // cgo -godefs -- -Wall -Werror -static -I/tmp/include _const.go
-
- package unix
-@@ -11,1930 +11,549 @@ package unix
- import "syscall"
-
- const (
-- AF_ALG = 0x26
-- AF_APPLETALK = 0x5
-- AF_ASH = 0x12
-- AF_ATMPVC = 0x8
-- AF_ATMSVC = 0x14
-- AF_AX25 = 0x3
-- AF_BLUETOOTH = 0x1f
-- AF_BRIDGE = 0x7
-- AF_CAIF = 0x25
-- AF_CAN = 0x1d
-- AF_DECnet = 0xc
-- AF_ECONET = 0x13
-- AF_FILE = 0x1
-- AF_IB = 0x1b
-- AF_IEEE802154 = 0x24
-- AF_INET = 0x2
-- AF_INET6 = 0xa
-- AF_IPX = 0x4
-- AF_IRDA = 0x17
-- AF_ISDN = 0x22
-- AF_IUCV = 0x20
-- AF_KCM = 0x29
-- AF_KEY = 0xf
-- AF_LLC = 0x1a
-- AF_LOCAL = 0x1
-- AF_MAX = 0x2b
-- AF_MPLS = 0x1c
-- AF_NETBEUI = 0xd
-- AF_NETLINK = 0x10
-- AF_NETROM = 0x6
-- AF_NFC = 0x27
-- AF_PACKET = 0x11
-- AF_PHONET = 0x23
-- AF_PPPOX = 0x18
-- AF_QIPCRTR = 0x2a
-- AF_RDS = 0x15
-- AF_ROSE = 0xb
-- AF_ROUTE = 0x10
-- AF_RXRPC = 0x21
-- AF_SECURITY = 0xe
-- AF_SNA = 0x16
-- AF_TIPC = 0x1e
-- AF_UNIX = 0x1
-- AF_UNSPEC = 0x0
-- AF_VSOCK = 0x28
-- AF_WANPIPE = 0x19
-- AF_X25 = 0x9
-- ALG_OP_DECRYPT = 0x0
-- ALG_OP_ENCRYPT = 0x1
-- ALG_SET_AEAD_ASSOCLEN = 0x4
-- ALG_SET_AEAD_AUTHSIZE = 0x5
-- ALG_SET_IV = 0x2
-- ALG_SET_KEY = 0x1
-- ALG_SET_OP = 0x3
-- ARPHRD_6LOWPAN = 0x339
-- ARPHRD_ADAPT = 0x108
-- ARPHRD_APPLETLK = 0x8
-- ARPHRD_ARCNET = 0x7
-- ARPHRD_ASH = 0x30d
-- ARPHRD_ATM = 0x13
-- ARPHRD_AX25 = 0x3
-- ARPHRD_BIF = 0x307
-- ARPHRD_CAIF = 0x336
-- ARPHRD_CAN = 0x118
-- ARPHRD_CHAOS = 0x5
-- ARPHRD_CISCO = 0x201
-- ARPHRD_CSLIP = 0x101
-- ARPHRD_CSLIP6 = 0x103
-- ARPHRD_DDCMP = 0x205
-- ARPHRD_DLCI = 0xf
-- ARPHRD_ECONET = 0x30e
-- ARPHRD_EETHER = 0x2
-- ARPHRD_ETHER = 0x1
-- ARPHRD_EUI64 = 0x1b
-- ARPHRD_FCAL = 0x311
-- ARPHRD_FCFABRIC = 0x313
-- ARPHRD_FCPL = 0x312
-- ARPHRD_FCPP = 0x310
-- ARPHRD_FDDI = 0x306
-- ARPHRD_FRAD = 0x302
-- ARPHRD_HDLC = 0x201
-- ARPHRD_HIPPI = 0x30c
-- ARPHRD_HWX25 = 0x110
-- ARPHRD_IEEE1394 = 0x18
-- ARPHRD_IEEE802 = 0x6
-- ARPHRD_IEEE80211 = 0x321
-- ARPHRD_IEEE80211_PRISM = 0x322
-- ARPHRD_IEEE80211_RADIOTAP = 0x323
-- ARPHRD_IEEE802154 = 0x324
-- ARPHRD_IEEE802154_MONITOR = 0x325
-- ARPHRD_IEEE802_TR = 0x320
-- ARPHRD_INFINIBAND = 0x20
-- ARPHRD_IP6GRE = 0x337
-- ARPHRD_IPDDP = 0x309
-- ARPHRD_IPGRE = 0x30a
-- ARPHRD_IRDA = 0x30f
-- ARPHRD_LAPB = 0x204
-- ARPHRD_LOCALTLK = 0x305
-- ARPHRD_LOOPBACK = 0x304
-- ARPHRD_METRICOM = 0x17
-- ARPHRD_NETLINK = 0x338
-- ARPHRD_NETROM = 0x0
-- ARPHRD_NONE = 0xfffe
-- ARPHRD_PHONET = 0x334
-- ARPHRD_PHONET_PIPE = 0x335
-- ARPHRD_PIMREG = 0x30b
-- ARPHRD_PPP = 0x200
-- ARPHRD_PRONET = 0x4
-- ARPHRD_RAWHDLC = 0x206
-- ARPHRD_ROSE = 0x10e
-- ARPHRD_RSRVD = 0x104
-- ARPHRD_SIT = 0x308
-- ARPHRD_SKIP = 0x303
-- ARPHRD_SLIP = 0x100
-- ARPHRD_SLIP6 = 0x102
-- ARPHRD_TUNNEL = 0x300
-- ARPHRD_TUNNEL6 = 0x301
-- ARPHRD_VOID = 0xffff
-- ARPHRD_X25 = 0x10f
-- B0 = 0x0
-- B1000000 = 0x17
-- B110 = 0x3
-- B115200 = 0x11
-- B1152000 = 0x18
-- B1200 = 0x9
-- B134 = 0x4
-- B150 = 0x5
-- B1500000 = 0x19
-- B1800 = 0xa
-- B19200 = 0xe
-- B200 = 0x6
-- B2000000 = 0x1a
-- B230400 = 0x12
-- B2400 = 0xb
-- B2500000 = 0x1b
-- B300 = 0x7
-- B3000000 = 0x1c
-- B3500000 = 0x1d
-- B38400 = 0xf
-- B4000000 = 0x1e
-- B460800 = 0x13
-- B4800 = 0xc
-- B50 = 0x1
-- B500000 = 0x14
-- B57600 = 0x10
-- B576000 = 0x15
-- B600 = 0x8
-- B75 = 0x2
-- B921600 = 0x16
-- B9600 = 0xd
-- BLKBSZGET = 0x40081270
-- BLKBSZSET = 0x80081271
-- BLKFLSBUF = 0x20001261
-- BLKFRAGET = 0x20001265
-- BLKFRASET = 0x20001264
-- BLKGETSIZE = 0x20001260
-- BLKGETSIZE64 = 0x40081272
-- BLKPBSZGET = 0x2000127b
-- BLKRAGET = 0x20001263
-- BLKRASET = 0x20001262
-- BLKROGET = 0x2000125e
-- BLKROSET = 0x2000125d
-- BLKRRPART = 0x2000125f
-- BLKSECTGET = 0x20001267
-- BLKSECTSET = 0x20001266
-- BLKSSZGET = 0x20001268
-- BOTHER = 0x1f
-- BPF_A = 0x10
-- BPF_ABS = 0x20
-- BPF_ADD = 0x0
-- BPF_ALU = 0x4
-- BPF_AND = 0x50
-- BPF_B = 0x10
-- BPF_DIV = 0x30
-- BPF_H = 0x8
-- BPF_IMM = 0x0
-- BPF_IND = 0x40
-- BPF_JA = 0x0
-- BPF_JEQ = 0x10
-- BPF_JGE = 0x30
-- BPF_JGT = 0x20
-- BPF_JMP = 0x5
-- BPF_JSET = 0x40
-- BPF_K = 0x0
-- BPF_LD = 0x0
-- BPF_LDX = 0x1
-- BPF_LEN = 0x80
-- BPF_LL_OFF = -0x200000
-- BPF_LSH = 0x60
-- BPF_MAJOR_VERSION = 0x1
-- BPF_MAXINSNS = 0x1000
-- BPF_MEM = 0x60
-- BPF_MEMWORDS = 0x10
-- BPF_MINOR_VERSION = 0x1
-- BPF_MISC = 0x7
-- BPF_MOD = 0x90
-- BPF_MSH = 0xa0
-- BPF_MUL = 0x20
-- BPF_NEG = 0x80
-- BPF_NET_OFF = -0x100000
-- BPF_OR = 0x40
-- BPF_RET = 0x6
-- BPF_RSH = 0x70
-- BPF_ST = 0x2
-- BPF_STX = 0x3
-- BPF_SUB = 0x10
-- BPF_TAX = 0x0
-- BPF_TXA = 0x80
-- BPF_W = 0x0
-- BPF_X = 0x8
-- BPF_XOR = 0xa0
-- BRKINT = 0x2
-- BS0 = 0x0
-- BS1 = 0x8000
-- BSDLY = 0x8000
-- CAN_BCM = 0x2
-- CAN_EFF_FLAG = 0x80000000
-- CAN_EFF_ID_BITS = 0x1d
-- CAN_EFF_MASK = 0x1fffffff
-- CAN_ERR_FLAG = 0x20000000
-- CAN_ERR_MASK = 0x1fffffff
-- CAN_INV_FILTER = 0x20000000
-- CAN_ISOTP = 0x6
-- CAN_MAX_DLC = 0x8
-- CAN_MAX_DLEN = 0x8
-- CAN_MCNET = 0x5
-- CAN_MTU = 0x10
-- CAN_NPROTO = 0x7
-- CAN_RAW = 0x1
-- CAN_RAW_FILTER_MAX = 0x200
-- CAN_RTR_FLAG = 0x40000000
-- CAN_SFF_ID_BITS = 0xb
-- CAN_SFF_MASK = 0x7ff
-- CAN_TP16 = 0x3
-- CAN_TP20 = 0x4
-- CBAUD = 0xff
-- CBAUDEX = 0x0
-- CFLUSH = 0xf
-- CIBAUD = 0xff0000
-- CLOCAL = 0x8000
-- CLOCK_BOOTTIME = 0x7
-- CLOCK_BOOTTIME_ALARM = 0x9
-- CLOCK_DEFAULT = 0x0
-- CLOCK_EXT = 0x1
-- CLOCK_INT = 0x2
-- CLOCK_MONOTONIC = 0x1
-- CLOCK_MONOTONIC_COARSE = 0x6
-- CLOCK_MONOTONIC_RAW = 0x4
-- CLOCK_PROCESS_CPUTIME_ID = 0x2
-- CLOCK_REALTIME = 0x0
-- CLOCK_REALTIME_ALARM = 0x8
-- CLOCK_REALTIME_COARSE = 0x5
-- CLOCK_TAI = 0xb
-- CLOCK_THREAD_CPUTIME_ID = 0x3
-- CLOCK_TXFROMRX = 0x4
-- CLOCK_TXINT = 0x3
-- CLONE_CHILD_CLEARTID = 0x200000
-- CLONE_CHILD_SETTID = 0x1000000
-- CLONE_DETACHED = 0x400000
-- CLONE_FILES = 0x400
-- CLONE_FS = 0x200
-- CLONE_IO = 0x80000000
-- CLONE_NEWCGROUP = 0x2000000
-- CLONE_NEWIPC = 0x8000000
-- CLONE_NEWNET = 0x40000000
-- CLONE_NEWNS = 0x20000
-- CLONE_NEWPID = 0x20000000
-- CLONE_NEWUSER = 0x10000000
-- CLONE_NEWUTS = 0x4000000
-- CLONE_PARENT = 0x8000
-- CLONE_PARENT_SETTID = 0x100000
-- CLONE_PTRACE = 0x2000
-- CLONE_SETTLS = 0x80000
-- CLONE_SIGHAND = 0x800
-- CLONE_SYSVSEM = 0x40000
-- CLONE_THREAD = 0x10000
-- CLONE_UNTRACED = 0x800000
-- CLONE_VFORK = 0x4000
-- CLONE_VM = 0x100
-- CMSPAR = 0x40000000
-- CR0 = 0x0
-- CR1 = 0x1000
-- CR2 = 0x2000
-- CR3 = 0x3000
-- CRDLY = 0x3000
-- CREAD = 0x800
-- CRTSCTS = 0x80000000
-- CS5 = 0x0
-- CS6 = 0x100
-- CS7 = 0x200
-- CS8 = 0x300
-- CSIGNAL = 0xff
-- CSIZE = 0x300
-- CSTART = 0x11
-- CSTATUS = 0x0
-- CSTOP = 0x13
-- CSTOPB = 0x400
-- CSUSP = 0x1a
-- DT_BLK = 0x6
-- DT_CHR = 0x2
-- DT_DIR = 0x4
-- DT_FIFO = 0x1
-- DT_LNK = 0xa
-- DT_REG = 0x8
-- DT_SOCK = 0xc
-- DT_UNKNOWN = 0x0
-- DT_WHT = 0xe
-- ECHO = 0x8
-- ECHOCTL = 0x40
-- ECHOE = 0x2
-- ECHOK = 0x4
-- ECHOKE = 0x1
-- ECHONL = 0x10
-- ECHOPRT = 0x20
-- EFD_CLOEXEC = 0x80000
-- EFD_NONBLOCK = 0x800
-- EFD_SEMAPHORE = 0x1
-- ENCODING_DEFAULT = 0x0
-- ENCODING_FM_MARK = 0x3
-- ENCODING_FM_SPACE = 0x4
-- ENCODING_MANCHESTER = 0x5
-- ENCODING_NRZ = 0x1
-- ENCODING_NRZI = 0x2
-- EPOLLERR = 0x8
-- EPOLLET = 0x80000000
-- EPOLLEXCLUSIVE = 0x10000000
-- EPOLLHUP = 0x10
-- EPOLLIN = 0x1
-- EPOLLMSG = 0x400
-- EPOLLONESHOT = 0x40000000
-- EPOLLOUT = 0x4
-- EPOLLPRI = 0x2
-- EPOLLRDBAND = 0x80
-- EPOLLRDHUP = 0x2000
-- EPOLLRDNORM = 0x40
-- EPOLLWAKEUP = 0x20000000
-- EPOLLWRBAND = 0x200
-- EPOLLWRNORM = 0x100
-- EPOLL_CLOEXEC = 0x80000
-- EPOLL_CTL_ADD = 0x1
-- EPOLL_CTL_DEL = 0x2
-- EPOLL_CTL_MOD = 0x3
-- ETH_P_1588 = 0x88f7
-- ETH_P_8021AD = 0x88a8
-- ETH_P_8021AH = 0x88e7
-- ETH_P_8021Q = 0x8100
-- ETH_P_80221 = 0x8917
-- ETH_P_802_2 = 0x4
-- ETH_P_802_3 = 0x1
-- ETH_P_802_3_MIN = 0x600
-- ETH_P_802_EX1 = 0x88b5
-- ETH_P_AARP = 0x80f3
-- ETH_P_AF_IUCV = 0xfbfb
-- ETH_P_ALL = 0x3
-- ETH_P_AOE = 0x88a2
-- ETH_P_ARCNET = 0x1a
-- ETH_P_ARP = 0x806
-- ETH_P_ATALK = 0x809b
-- ETH_P_ATMFATE = 0x8884
-- ETH_P_ATMMPOA = 0x884c
-- ETH_P_AX25 = 0x2
-- ETH_P_BATMAN = 0x4305
-- ETH_P_BPQ = 0x8ff
-- ETH_P_CAIF = 0xf7
-- ETH_P_CAN = 0xc
-- ETH_P_CANFD = 0xd
-- ETH_P_CONTROL = 0x16
-- ETH_P_CUST = 0x6006
-- ETH_P_DDCMP = 0x6
-- ETH_P_DEC = 0x6000
-- ETH_P_DIAG = 0x6005
-- ETH_P_DNA_DL = 0x6001
-- ETH_P_DNA_RC = 0x6002
-- ETH_P_DNA_RT = 0x6003
-- ETH_P_DSA = 0x1b
-- ETH_P_ECONET = 0x18
-- ETH_P_EDSA = 0xdada
-- ETH_P_FCOE = 0x8906
-- ETH_P_FIP = 0x8914
-- ETH_P_HDLC = 0x19
-- ETH_P_HSR = 0x892f
-- ETH_P_IEEE802154 = 0xf6
-- ETH_P_IEEEPUP = 0xa00
-- ETH_P_IEEEPUPAT = 0xa01
-- ETH_P_IP = 0x800
-- ETH_P_IPV6 = 0x86dd
-- ETH_P_IPX = 0x8137
-- ETH_P_IRDA = 0x17
-- ETH_P_LAT = 0x6004
-- ETH_P_LINK_CTL = 0x886c
-- ETH_P_LOCALTALK = 0x9
-- ETH_P_LOOP = 0x60
-- ETH_P_LOOPBACK = 0x9000
-- ETH_P_MACSEC = 0x88e5
-- ETH_P_MOBITEX = 0x15
-- ETH_P_MPLS_MC = 0x8848
-- ETH_P_MPLS_UC = 0x8847
-- ETH_P_MVRP = 0x88f5
-- ETH_P_NCSI = 0x88f8
-- ETH_P_PAE = 0x888e
-- ETH_P_PAUSE = 0x8808
-- ETH_P_PHONET = 0xf5
-- ETH_P_PPPTALK = 0x10
-- ETH_P_PPP_DISC = 0x8863
-- ETH_P_PPP_MP = 0x8
-- ETH_P_PPP_SES = 0x8864
-- ETH_P_PRP = 0x88fb
-- ETH_P_PUP = 0x200
-- ETH_P_PUPAT = 0x201
-- ETH_P_QINQ1 = 0x9100
-- ETH_P_QINQ2 = 0x9200
-- ETH_P_QINQ3 = 0x9300
-- ETH_P_RARP = 0x8035
-- ETH_P_SCA = 0x6007
-- ETH_P_SLOW = 0x8809
-- ETH_P_SNAP = 0x5
-- ETH_P_TDLS = 0x890d
-- ETH_P_TEB = 0x6558
-- ETH_P_TIPC = 0x88ca
-- ETH_P_TRAILER = 0x1c
-- ETH_P_TR_802_2 = 0x11
-- ETH_P_TSN = 0x22f0
-- ETH_P_WAN_PPP = 0x7
-- ETH_P_WCCP = 0x883e
-- ETH_P_X25 = 0x805
-- ETH_P_XDSA = 0xf8
-- EXTA = 0xe
-- EXTB = 0xf
-- EXTPROC = 0x10000000
-- FALLOC_FL_COLLAPSE_RANGE = 0x8
-- FALLOC_FL_INSERT_RANGE = 0x20
-- FALLOC_FL_KEEP_SIZE = 0x1
-- FALLOC_FL_NO_HIDE_STALE = 0x4
-- FALLOC_FL_PUNCH_HOLE = 0x2
-- FALLOC_FL_UNSHARE_RANGE = 0x40
-- FALLOC_FL_ZERO_RANGE = 0x10
-- FD_CLOEXEC = 0x1
-- FD_SETSIZE = 0x400
-- FF0 = 0x0
-- FF1 = 0x4000
-- FFDLY = 0x4000
-- FLUSHO = 0x800000
-- FS_ENCRYPTION_MODE_AES_256_CBC = 0x3
-- FS_ENCRYPTION_MODE_AES_256_CTS = 0x4
-- FS_ENCRYPTION_MODE_AES_256_GCM = 0x2
-- FS_ENCRYPTION_MODE_AES_256_XTS = 0x1
-- FS_ENCRYPTION_MODE_INVALID = 0x0
-- FS_IOC_GET_ENCRYPTION_POLICY = 0x800c6615
-- FS_IOC_GET_ENCRYPTION_PWSALT = 0x80106614
-- FS_IOC_SET_ENCRYPTION_POLICY = 0x400c6613
-- FS_KEY_DESCRIPTOR_SIZE = 0x8
-- FS_KEY_DESC_PREFIX = "fscrypt:"
-- FS_KEY_DESC_PREFIX_SIZE = 0x8
-- FS_MAX_KEY_SIZE = 0x40
-- FS_POLICY_FLAGS_PAD_16 = 0x2
-- FS_POLICY_FLAGS_PAD_32 = 0x3
-- FS_POLICY_FLAGS_PAD_4 = 0x0
-- FS_POLICY_FLAGS_PAD_8 = 0x1
-- FS_POLICY_FLAGS_PAD_MASK = 0x3
-- FS_POLICY_FLAGS_VALID = 0x3
-- F_DUPFD = 0x0
-- F_DUPFD_CLOEXEC = 0x406
-- F_EXLCK = 0x4
-- F_GETFD = 0x1
-- F_GETFL = 0x3
-- F_GETLEASE = 0x401
-- F_GETLK = 0x5
-- F_GETLK64 = 0xc
-- F_GETOWN = 0x9
-- F_GETOWN_EX = 0x10
-- F_GETPIPE_SZ = 0x408
-- F_GETSIG = 0xb
-- F_LOCK = 0x1
-- F_NOTIFY = 0x402
-- F_OFD_GETLK = 0x24
-- F_OFD_SETLK = 0x25
-- F_OFD_SETLKW = 0x26
-- F_OK = 0x0
-- F_RDLCK = 0x0
-- F_SETFD = 0x2
-- F_SETFL = 0x4
-- F_SETLEASE = 0x400
-- F_SETLK = 0x6
-- F_SETLK64 = 0xd
-- F_SETLKW = 0x7
-- F_SETLKW64 = 0xe
-- F_SETOWN = 0x8
-- F_SETOWN_EX = 0xf
-- F_SETPIPE_SZ = 0x407
-- F_SETSIG = 0xa
-- F_SHLCK = 0x8
-- F_TEST = 0x3
-- F_TLOCK = 0x2
-- F_ULOCK = 0x0
-- F_UNLCK = 0x2
-- F_WRLCK = 0x1
-- GENL_ADMIN_PERM = 0x1
-- GENL_CMD_CAP_DO = 0x2
-- GENL_CMD_CAP_DUMP = 0x4
-- GENL_CMD_CAP_HASPOL = 0x8
-- GENL_HDRLEN = 0x4
-- GENL_ID_CTRL = 0x10
-- GENL_ID_PMCRAID = 0x12
-- GENL_ID_VFS_DQUOT = 0x11
-- GENL_MAX_ID = 0x3ff
-- GENL_MIN_ID = 0x10
-- GENL_NAMSIZ = 0x10
-- GENL_START_ALLOC = 0x13
-- GENL_UNS_ADMIN_PERM = 0x10
-- GRND_NONBLOCK = 0x1
-- GRND_RANDOM = 0x2
-- HUPCL = 0x4000
-- IBSHIFT = 0x10
-- ICANON = 0x100
-- ICMPV6_FILTER = 0x1
-- ICRNL = 0x100
-- IEXTEN = 0x400
-- IFA_F_DADFAILED = 0x8
-- IFA_F_DEPRECATED = 0x20
-- IFA_F_HOMEADDRESS = 0x10
-- IFA_F_MANAGETEMPADDR = 0x100
-- IFA_F_MCAUTOJOIN = 0x400
-- IFA_F_NODAD = 0x2
-- IFA_F_NOPREFIXROUTE = 0x200
-- IFA_F_OPTIMISTIC = 0x4
-- IFA_F_PERMANENT = 0x80
-- IFA_F_SECONDARY = 0x1
-- IFA_F_STABLE_PRIVACY = 0x800
-- IFA_F_TEMPORARY = 0x1
-- IFA_F_TENTATIVE = 0x40
-- IFA_MAX = 0x8
-- IFF_ALLMULTI = 0x200
-- IFF_ATTACH_QUEUE = 0x200
-- IFF_AUTOMEDIA = 0x4000
-- IFF_BROADCAST = 0x2
-- IFF_DEBUG = 0x4
-- IFF_DETACH_QUEUE = 0x400
-- IFF_DORMANT = 0x20000
-- IFF_DYNAMIC = 0x8000
-- IFF_ECHO = 0x40000
-- IFF_LOOPBACK = 0x8
-- IFF_LOWER_UP = 0x10000
-- IFF_MASTER = 0x400
-- IFF_MULTICAST = 0x1000
-- IFF_MULTI_QUEUE = 0x100
-- IFF_NOARP = 0x80
-- IFF_NOFILTER = 0x1000
-- IFF_NOTRAILERS = 0x20
-- IFF_NO_PI = 0x1000
-- IFF_ONE_QUEUE = 0x2000
-- IFF_PERSIST = 0x800
-- IFF_POINTOPOINT = 0x10
-- IFF_PORTSEL = 0x2000
-- IFF_PROMISC = 0x100
-- IFF_RUNNING = 0x40
-- IFF_SLAVE = 0x800
-- IFF_TAP = 0x2
-- IFF_TUN = 0x1
-- IFF_TUN_EXCL = 0x8000
-- IFF_UP = 0x1
-- IFF_VNET_HDR = 0x4000
-- IFF_VOLATILE = 0x70c5a
-- IFNAMSIZ = 0x10
-- IGNBRK = 0x1
-- IGNCR = 0x80
-- IGNPAR = 0x4
-- IMAXBEL = 0x2000
-- INLCR = 0x40
-- INPCK = 0x10
-- IN_ACCESS = 0x1
-- IN_ALL_EVENTS = 0xfff
-- IN_ATTRIB = 0x4
-- IN_CLASSA_HOST = 0xffffff
-- IN_CLASSA_MAX = 0x80
-- IN_CLASSA_NET = 0xff000000
-- IN_CLASSA_NSHIFT = 0x18
-- IN_CLASSB_HOST = 0xffff
-- IN_CLASSB_MAX = 0x10000
-- IN_CLASSB_NET = 0xffff0000
-- IN_CLASSB_NSHIFT = 0x10
-- IN_CLASSC_HOST = 0xff
-- IN_CLASSC_NET = 0xffffff00
-- IN_CLASSC_NSHIFT = 0x8
-- IN_CLOEXEC = 0x80000
-- IN_CLOSE = 0x18
-- IN_CLOSE_NOWRITE = 0x10
-- IN_CLOSE_WRITE = 0x8
-- IN_CREATE = 0x100
-- IN_DELETE = 0x200
-- IN_DELETE_SELF = 0x400
-- IN_DONT_FOLLOW = 0x2000000
-- IN_EXCL_UNLINK = 0x4000000
-- IN_IGNORED = 0x8000
-- IN_ISDIR = 0x40000000
-- IN_LOOPBACKNET = 0x7f
-- IN_MASK_ADD = 0x20000000
-- IN_MODIFY = 0x2
-- IN_MOVE = 0xc0
-- IN_MOVED_FROM = 0x40
-- IN_MOVED_TO = 0x80
-- IN_MOVE_SELF = 0x800
-- IN_NONBLOCK = 0x800
-- IN_ONESHOT = 0x80000000
-- IN_ONLYDIR = 0x1000000
-- IN_OPEN = 0x20
-- IN_Q_OVERFLOW = 0x4000
-- IN_UNMOUNT = 0x2000
-- IPPROTO_AH = 0x33
-- IPPROTO_BEETPH = 0x5e
-- IPPROTO_COMP = 0x6c
-- IPPROTO_DCCP = 0x21
-- IPPROTO_DSTOPTS = 0x3c
-- IPPROTO_EGP = 0x8
-- IPPROTO_ENCAP = 0x62
-- IPPROTO_ESP = 0x32
-- IPPROTO_FRAGMENT = 0x2c
-- IPPROTO_GRE = 0x2f
-- IPPROTO_HOPOPTS = 0x0
-- IPPROTO_ICMP = 0x1
-- IPPROTO_ICMPV6 = 0x3a
-- IPPROTO_IDP = 0x16
-- IPPROTO_IGMP = 0x2
-- IPPROTO_IP = 0x0
-- IPPROTO_IPIP = 0x4
-- IPPROTO_IPV6 = 0x29
-- IPPROTO_MH = 0x87
-- IPPROTO_MPLS = 0x89
-- IPPROTO_MTP = 0x5c
-- IPPROTO_NONE = 0x3b
-- IPPROTO_PIM = 0x67
-- IPPROTO_PUP = 0xc
-- IPPROTO_RAW = 0xff
-- IPPROTO_ROUTING = 0x2b
-- IPPROTO_RSVP = 0x2e
-- IPPROTO_SCTP = 0x84
-- IPPROTO_TCP = 0x6
-- IPPROTO_TP = 0x1d
-- IPPROTO_UDP = 0x11
-- IPPROTO_UDPLITE = 0x88
-- IPV6_2292DSTOPTS = 0x4
-- IPV6_2292HOPLIMIT = 0x8
-- IPV6_2292HOPOPTS = 0x3
-- IPV6_2292PKTINFO = 0x2
-- IPV6_2292PKTOPTIONS = 0x6
-- IPV6_2292RTHDR = 0x5
-- IPV6_ADDRFORM = 0x1
-- IPV6_ADD_MEMBERSHIP = 0x14
-- IPV6_AUTHHDR = 0xa
-- IPV6_CHECKSUM = 0x7
-- IPV6_DONTFRAG = 0x3e
-- IPV6_DROP_MEMBERSHIP = 0x15
-- IPV6_DSTOPTS = 0x3b
-- IPV6_HDRINCL = 0x24
-- IPV6_HOPLIMIT = 0x34
-- IPV6_HOPOPTS = 0x36
-- IPV6_IPSEC_POLICY = 0x22
-- IPV6_JOIN_ANYCAST = 0x1b
-- IPV6_JOIN_GROUP = 0x14
-- IPV6_LEAVE_ANYCAST = 0x1c
-- IPV6_LEAVE_GROUP = 0x15
-- IPV6_MTU = 0x18
-- IPV6_MTU_DISCOVER = 0x17
-- IPV6_MULTICAST_HOPS = 0x12
-- IPV6_MULTICAST_IF = 0x11
-- IPV6_MULTICAST_LOOP = 0x13
-- IPV6_NEXTHOP = 0x9
-- IPV6_PATHMTU = 0x3d
-- IPV6_PKTINFO = 0x32
-- IPV6_PMTUDISC_DO = 0x2
-- IPV6_PMTUDISC_DONT = 0x0
-- IPV6_PMTUDISC_INTERFACE = 0x4
-- IPV6_PMTUDISC_OMIT = 0x5
-- IPV6_PMTUDISC_PROBE = 0x3
-- IPV6_PMTUDISC_WANT = 0x1
-- IPV6_RECVDSTOPTS = 0x3a
-- IPV6_RECVERR = 0x19
-- IPV6_RECVHOPLIMIT = 0x33
-- IPV6_RECVHOPOPTS = 0x35
-- IPV6_RECVPATHMTU = 0x3c
-- IPV6_RECVPKTINFO = 0x31
-- IPV6_RECVRTHDR = 0x38
-- IPV6_RECVTCLASS = 0x42
-- IPV6_ROUTER_ALERT = 0x16
-- IPV6_RTHDR = 0x39
-- IPV6_RTHDRDSTOPTS = 0x37
-- IPV6_RTHDR_LOOSE = 0x0
-- IPV6_RTHDR_STRICT = 0x1
-- IPV6_RTHDR_TYPE_0 = 0x0
-- IPV6_RXDSTOPTS = 0x3b
-- IPV6_RXHOPOPTS = 0x36
-- IPV6_TCLASS = 0x43
-- IPV6_UNICAST_HOPS = 0x10
-- IPV6_V6ONLY = 0x1a
-- IPV6_XFRM_POLICY = 0x23
-- IP_ADD_MEMBERSHIP = 0x23
-- IP_ADD_SOURCE_MEMBERSHIP = 0x27
-- IP_BIND_ADDRESS_NO_PORT = 0x18
-- IP_BLOCK_SOURCE = 0x26
-- IP_CHECKSUM = 0x17
-- IP_DEFAULT_MULTICAST_LOOP = 0x1
-- IP_DEFAULT_MULTICAST_TTL = 0x1
-- IP_DF = 0x4000
-- IP_DROP_MEMBERSHIP = 0x24
-- IP_DROP_SOURCE_MEMBERSHIP = 0x28
-- IP_FREEBIND = 0xf
-- IP_HDRINCL = 0x3
-- IP_IPSEC_POLICY = 0x10
-- IP_MAXPACKET = 0xffff
-- IP_MAX_MEMBERSHIPS = 0x14
-- IP_MF = 0x2000
-- IP_MINTTL = 0x15
-- IP_MSFILTER = 0x29
-- IP_MSS = 0x240
-- IP_MTU = 0xe
-- IP_MTU_DISCOVER = 0xa
-- IP_MULTICAST_ALL = 0x31
-- IP_MULTICAST_IF = 0x20
-- IP_MULTICAST_LOOP = 0x22
-- IP_MULTICAST_TTL = 0x21
-- IP_NODEFRAG = 0x16
-- IP_OFFMASK = 0x1fff
-- IP_OPTIONS = 0x4
-- IP_ORIGDSTADDR = 0x14
-- IP_PASSSEC = 0x12
-- IP_PKTINFO = 0x8
-- IP_PKTOPTIONS = 0x9
-- IP_PMTUDISC = 0xa
-- IP_PMTUDISC_DO = 0x2
-- IP_PMTUDISC_DONT = 0x0
-- IP_PMTUDISC_INTERFACE = 0x4
-- IP_PMTUDISC_OMIT = 0x5
-- IP_PMTUDISC_PROBE = 0x3
-- IP_PMTUDISC_WANT = 0x1
-- IP_RECVERR = 0xb
-- IP_RECVOPTS = 0x6
-- IP_RECVORIGDSTADDR = 0x14
-- IP_RECVRETOPTS = 0x7
-- IP_RECVTOS = 0xd
-- IP_RECVTTL = 0xc
-- IP_RETOPTS = 0x7
-- IP_RF = 0x8000
-- IP_ROUTER_ALERT = 0x5
-- IP_TOS = 0x1
-- IP_TRANSPARENT = 0x13
-- IP_TTL = 0x2
-- IP_UNBLOCK_SOURCE = 0x25
-- IP_UNICAST_IF = 0x32
-- IP_XFRM_POLICY = 0x11
-- ISIG = 0x80
-- ISTRIP = 0x20
-- IUCLC = 0x1000
-- IUTF8 = 0x4000
-- IXANY = 0x800
-- IXOFF = 0x400
-- IXON = 0x200
-- KEYCTL_ASSUME_AUTHORITY = 0x10
-- KEYCTL_CHOWN = 0x4
-- KEYCTL_CLEAR = 0x7
-- KEYCTL_DESCRIBE = 0x6
-- KEYCTL_DH_COMPUTE = 0x17
-- KEYCTL_GET_KEYRING_ID = 0x0
-- KEYCTL_GET_PERSISTENT = 0x16
-- KEYCTL_GET_SECURITY = 0x11
-- KEYCTL_INSTANTIATE = 0xc
-- KEYCTL_INSTANTIATE_IOV = 0x14
-- KEYCTL_INVALIDATE = 0x15
-- KEYCTL_JOIN_SESSION_KEYRING = 0x1
-- KEYCTL_LINK = 0x8
-- KEYCTL_NEGATE = 0xd
-- KEYCTL_READ = 0xb
-- KEYCTL_REJECT = 0x13
-- KEYCTL_REVOKE = 0x3
-- KEYCTL_SEARCH = 0xa
-- KEYCTL_SESSION_TO_PARENT = 0x12
-- KEYCTL_SETPERM = 0x5
-- KEYCTL_SET_REQKEY_KEYRING = 0xe
-- KEYCTL_SET_TIMEOUT = 0xf
-- KEYCTL_UNLINK = 0x9
-- KEYCTL_UPDATE = 0x2
-- KEY_REQKEY_DEFL_DEFAULT = 0x0
-- KEY_REQKEY_DEFL_GROUP_KEYRING = 0x6
-- KEY_REQKEY_DEFL_NO_CHANGE = -0x1
-- KEY_REQKEY_DEFL_PROCESS_KEYRING = 0x2
-- KEY_REQKEY_DEFL_REQUESTOR_KEYRING = 0x7
-- KEY_REQKEY_DEFL_SESSION_KEYRING = 0x3
-- KEY_REQKEY_DEFL_THREAD_KEYRING = 0x1
-- KEY_REQKEY_DEFL_USER_KEYRING = 0x4
-- KEY_REQKEY_DEFL_USER_SESSION_KEYRING = 0x5
-- KEY_SPEC_GROUP_KEYRING = -0x6
-- KEY_SPEC_PROCESS_KEYRING = -0x2
-- KEY_SPEC_REQKEY_AUTH_KEY = -0x7
-- KEY_SPEC_REQUESTOR_KEYRING = -0x8
-- KEY_SPEC_SESSION_KEYRING = -0x3
-- KEY_SPEC_THREAD_KEYRING = -0x1
-- KEY_SPEC_USER_KEYRING = -0x4
-- KEY_SPEC_USER_SESSION_KEYRING = -0x5
-- LINUX_REBOOT_CMD_CAD_OFF = 0x0
-- LINUX_REBOOT_CMD_CAD_ON = 0x89abcdef
-- LINUX_REBOOT_CMD_HALT = 0xcdef0123
-- LINUX_REBOOT_CMD_KEXEC = 0x45584543
-- LINUX_REBOOT_CMD_POWER_OFF = 0x4321fedc
-- LINUX_REBOOT_CMD_RESTART = 0x1234567
-- LINUX_REBOOT_CMD_RESTART2 = 0xa1b2c3d4
-- LINUX_REBOOT_CMD_SW_SUSPEND = 0xd000fce2
-- LINUX_REBOOT_MAGIC1 = 0xfee1dead
-- LINUX_REBOOT_MAGIC2 = 0x28121969
-- LOCK_EX = 0x2
-- LOCK_NB = 0x4
-- LOCK_SH = 0x1
-- LOCK_UN = 0x8
-- MADV_DODUMP = 0x11
-- MADV_DOFORK = 0xb
-- MADV_DONTDUMP = 0x10
-- MADV_DONTFORK = 0xa
-- MADV_DONTNEED = 0x4
-- MADV_FREE = 0x8
-- MADV_HUGEPAGE = 0xe
-- MADV_HWPOISON = 0x64
-- MADV_MERGEABLE = 0xc
-- MADV_NOHUGEPAGE = 0xf
-- MADV_NORMAL = 0x0
-- MADV_RANDOM = 0x1
-- MADV_REMOVE = 0x9
-- MADV_SEQUENTIAL = 0x2
-- MADV_UNMERGEABLE = 0xd
-- MADV_WILLNEED = 0x3
-- MAP_ANON = 0x20
-- MAP_ANONYMOUS = 0x20
-- MAP_DENYWRITE = 0x800
-- MAP_EXECUTABLE = 0x1000
-- MAP_FILE = 0x0
-- MAP_FIXED = 0x10
-- MAP_GROWSDOWN = 0x100
-- MAP_HUGETLB = 0x40000
-- MAP_HUGE_MASK = 0x3f
-- MAP_HUGE_SHIFT = 0x1a
-- MAP_LOCKED = 0x80
-- MAP_NONBLOCK = 0x10000
-- MAP_NORESERVE = 0x40
-- MAP_POPULATE = 0x8000
-- MAP_PRIVATE = 0x2
-- MAP_SHARED = 0x1
-- MAP_STACK = 0x20000
-- MAP_TYPE = 0xf
-- MCL_CURRENT = 0x2000
-- MCL_FUTURE = 0x4000
-- MCL_ONFAULT = 0x8000
-- MNT_DETACH = 0x2
-- MNT_EXPIRE = 0x4
-- MNT_FORCE = 0x1
-- MSG_BATCH = 0x40000
-- MSG_CMSG_CLOEXEC = 0x40000000
-- MSG_CONFIRM = 0x800
-- MSG_CTRUNC = 0x8
-- MSG_DONTROUTE = 0x4
-- MSG_DONTWAIT = 0x40
-- MSG_EOR = 0x80
-- MSG_ERRQUEUE = 0x2000
-- MSG_FASTOPEN = 0x20000000
-- MSG_FIN = 0x200
-- MSG_MORE = 0x8000
-- MSG_NOSIGNAL = 0x4000
-- MSG_OOB = 0x1
-- MSG_PEEK = 0x2
-- MSG_PROXY = 0x10
-- MSG_RST = 0x1000
-- MSG_SYN = 0x400
-- MSG_TRUNC = 0x20
-- MSG_TRYHARD = 0x4
-- MSG_WAITALL = 0x100
-- MSG_WAITFORONE = 0x10000
-- MS_ACTIVE = 0x40000000
-- MS_ASYNC = 0x1
-- MS_BIND = 0x1000
-- MS_BORN = 0x20000000
-- MS_DIRSYNC = 0x80
-- MS_INVALIDATE = 0x2
-- MS_I_VERSION = 0x800000
-- MS_KERNMOUNT = 0x400000
-- MS_LAZYTIME = 0x2000000
-- MS_MANDLOCK = 0x40
-- MS_MGC_MSK = 0xffff0000
-- MS_MGC_VAL = 0xc0ed0000
-- MS_MOVE = 0x2000
-- MS_NOATIME = 0x400
-- MS_NODEV = 0x4
-- MS_NODIRATIME = 0x800
-- MS_NOEXEC = 0x8
-- MS_NOREMOTELOCK = 0x8000000
-- MS_NOSEC = 0x10000000
-- MS_NOSUID = 0x2
-- MS_NOUSER = -0x80000000
-- MS_POSIXACL = 0x10000
-- MS_PRIVATE = 0x40000
-- MS_RDONLY = 0x1
-- MS_REC = 0x4000
-- MS_RELATIME = 0x200000
-- MS_REMOUNT = 0x20
-- MS_RMT_MASK = 0x2800051
-- MS_SHARED = 0x100000
-- MS_SILENT = 0x8000
-- MS_SLAVE = 0x80000
-- MS_STRICTATIME = 0x1000000
-- MS_SYNC = 0x4
-- MS_SYNCHRONOUS = 0x10
-- MS_UNBINDABLE = 0x20000
-- MS_VERBOSE = 0x8000
-- NAME_MAX = 0xff
-- NETLINK_ADD_MEMBERSHIP = 0x1
-- NETLINK_AUDIT = 0x9
-- NETLINK_BROADCAST_ERROR = 0x4
-- NETLINK_CAP_ACK = 0xa
-- NETLINK_CONNECTOR = 0xb
-- NETLINK_CRYPTO = 0x15
-- NETLINK_DNRTMSG = 0xe
-- NETLINK_DROP_MEMBERSHIP = 0x2
-- NETLINK_ECRYPTFS = 0x13
-- NETLINK_FIB_LOOKUP = 0xa
-- NETLINK_FIREWALL = 0x3
-- NETLINK_GENERIC = 0x10
-- NETLINK_INET_DIAG = 0x4
-- NETLINK_IP6_FW = 0xd
-- NETLINK_ISCSI = 0x8
-- NETLINK_KOBJECT_UEVENT = 0xf
-- NETLINK_LISTEN_ALL_NSID = 0x8
-- NETLINK_LIST_MEMBERSHIPS = 0x9
-- NETLINK_NETFILTER = 0xc
-- NETLINK_NFLOG = 0x5
-- NETLINK_NO_ENOBUFS = 0x5
-- NETLINK_PKTINFO = 0x3
-- NETLINK_RDMA = 0x14
-- NETLINK_ROUTE = 0x0
-- NETLINK_RX_RING = 0x6
-- NETLINK_SCSITRANSPORT = 0x12
-- NETLINK_SELINUX = 0x7
-- NETLINK_SOCK_DIAG = 0x4
-- NETLINK_TX_RING = 0x7
-- NETLINK_UNUSED = 0x1
-- NETLINK_USERSOCK = 0x2
-- NETLINK_XFRM = 0x6
-- NL0 = 0x0
-- NL1 = 0x100
-- NL2 = 0x200
-- NL3 = 0x300
-- NLA_ALIGNTO = 0x4
-- NLA_F_NESTED = 0x8000
-- NLA_F_NET_BYTEORDER = 0x4000
-- NLA_HDRLEN = 0x4
-- NLDLY = 0x300
-- NLMSG_ALIGNTO = 0x4
-- NLMSG_DONE = 0x3
-- NLMSG_ERROR = 0x2
-- NLMSG_HDRLEN = 0x10
-- NLMSG_MIN_TYPE = 0x10
-- NLMSG_NOOP = 0x1
-- NLMSG_OVERRUN = 0x4
-- NLM_F_ACK = 0x4
-- NLM_F_APPEND = 0x800
-- NLM_F_ATOMIC = 0x400
-- NLM_F_CREATE = 0x400
-- NLM_F_DUMP = 0x300
-- NLM_F_DUMP_FILTERED = 0x20
-- NLM_F_DUMP_INTR = 0x10
-- NLM_F_ECHO = 0x8
-- NLM_F_EXCL = 0x200
-- NLM_F_MATCH = 0x200
-- NLM_F_MULTI = 0x2
-- NLM_F_REPLACE = 0x100
-- NLM_F_REQUEST = 0x1
-- NLM_F_ROOT = 0x100
-- NOFLSH = 0x80000000
-- OCRNL = 0x8
-- OFDEL = 0x80
-- OFILL = 0x40
-- OLCUC = 0x4
-- ONLCR = 0x2
-- ONLRET = 0x20
-- ONOCR = 0x10
-- OPOST = 0x1
-- O_ACCMODE = 0x3
-- O_APPEND = 0x400
-- O_ASYNC = 0x2000
-- O_CLOEXEC = 0x80000
-- O_CREAT = 0x40
-- O_DIRECT = 0x20000
-- O_DIRECTORY = 0x4000
-- O_DSYNC = 0x1000
-- O_EXCL = 0x80
-- O_FSYNC = 0x101000
-- O_LARGEFILE = 0x0
-- O_NDELAY = 0x800
-- O_NOATIME = 0x40000
-- O_NOCTTY = 0x100
-- O_NOFOLLOW = 0x8000
-- O_NONBLOCK = 0x800
-- O_PATH = 0x200000
-- O_RDONLY = 0x0
-- O_RDWR = 0x2
-- O_RSYNC = 0x101000
-- O_SYNC = 0x101000
-- O_TMPFILE = 0x404000
-- O_TRUNC = 0x200
-- O_WRONLY = 0x1
-- PACKET_ADD_MEMBERSHIP = 0x1
-- PACKET_AUXDATA = 0x8
-- PACKET_BROADCAST = 0x1
-- PACKET_COPY_THRESH = 0x7
-- PACKET_DROP_MEMBERSHIP = 0x2
-- PACKET_FANOUT = 0x12
-- PACKET_FANOUT_CBPF = 0x6
-- PACKET_FANOUT_CPU = 0x2
-- PACKET_FANOUT_DATA = 0x16
-- PACKET_FANOUT_EBPF = 0x7
-- PACKET_FANOUT_FLAG_DEFRAG = 0x8000
-- PACKET_FANOUT_FLAG_ROLLOVER = 0x1000
-- PACKET_FANOUT_HASH = 0x0
-- PACKET_FANOUT_LB = 0x1
-- PACKET_FANOUT_QM = 0x5
-- PACKET_FANOUT_RND = 0x4
-- PACKET_FANOUT_ROLLOVER = 0x3
-- PACKET_FASTROUTE = 0x6
-- PACKET_HDRLEN = 0xb
-- PACKET_HOST = 0x0
-- PACKET_KERNEL = 0x7
-- PACKET_LOOPBACK = 0x5
-- PACKET_LOSS = 0xe
-- PACKET_MR_ALLMULTI = 0x2
-- PACKET_MR_MULTICAST = 0x0
-- PACKET_MR_PROMISC = 0x1
-- PACKET_MR_UNICAST = 0x3
-- PACKET_MULTICAST = 0x2
-- PACKET_ORIGDEV = 0x9
-- PACKET_OTHERHOST = 0x3
-- PACKET_OUTGOING = 0x4
-- PACKET_QDISC_BYPASS = 0x14
-- PACKET_RECV_OUTPUT = 0x3
-- PACKET_RESERVE = 0xc
-- PACKET_ROLLOVER_STATS = 0x15
-- PACKET_RX_RING = 0x5
-- PACKET_STATISTICS = 0x6
-- PACKET_TIMESTAMP = 0x11
-- PACKET_TX_HAS_OFF = 0x13
-- PACKET_TX_RING = 0xd
-- PACKET_TX_TIMESTAMP = 0x10
-- PACKET_USER = 0x6
-- PACKET_VERSION = 0xa
-- PACKET_VNET_HDR = 0xf
-- PARENB = 0x1000
-- PARITY_CRC16_PR0 = 0x2
-- PARITY_CRC16_PR0_CCITT = 0x4
-- PARITY_CRC16_PR1 = 0x3
-- PARITY_CRC16_PR1_CCITT = 0x5
-- PARITY_CRC32_PR0_CCITT = 0x6
-- PARITY_CRC32_PR1_CCITT = 0x7
-- PARITY_DEFAULT = 0x0
-- PARITY_NONE = 0x1
-- PARMRK = 0x8
-- PARODD = 0x2000
-- PENDIN = 0x20000000
-- PERF_EVENT_IOC_DISABLE = 0x20002401
-- PERF_EVENT_IOC_ENABLE = 0x20002400
-- PERF_EVENT_IOC_ID = 0x40082407
-- PERF_EVENT_IOC_PAUSE_OUTPUT = 0x80042409
-- PERF_EVENT_IOC_PERIOD = 0x80082404
-- PERF_EVENT_IOC_REFRESH = 0x20002402
-- PERF_EVENT_IOC_RESET = 0x20002403
-- PERF_EVENT_IOC_SET_BPF = 0x80042408
-- PERF_EVENT_IOC_SET_FILTER = 0x80082406
-- PERF_EVENT_IOC_SET_OUTPUT = 0x20002405
-- PRIO_PGRP = 0x1
-- PRIO_PROCESS = 0x0
-- PRIO_USER = 0x2
-- PROT_EXEC = 0x4
-- PROT_GROWSDOWN = 0x1000000
-- PROT_GROWSUP = 0x2000000
-- PROT_NONE = 0x0
-- PROT_READ = 0x1
-- PROT_SAO = 0x10
-- PROT_WRITE = 0x2
-- PR_CAPBSET_DROP = 0x18
-- PR_CAPBSET_READ = 0x17
-- PR_CAP_AMBIENT = 0x2f
-- PR_CAP_AMBIENT_CLEAR_ALL = 0x4
-- PR_CAP_AMBIENT_IS_SET = 0x1
-- PR_CAP_AMBIENT_LOWER = 0x3
-- PR_CAP_AMBIENT_RAISE = 0x2
-- PR_ENDIAN_BIG = 0x0
-- PR_ENDIAN_LITTLE = 0x1
-- PR_ENDIAN_PPC_LITTLE = 0x2
-- PR_FPEMU_NOPRINT = 0x1
-- PR_FPEMU_SIGFPE = 0x2
-- PR_FP_EXC_ASYNC = 0x2
-- PR_FP_EXC_DISABLED = 0x0
-- PR_FP_EXC_DIV = 0x10000
-- PR_FP_EXC_INV = 0x100000
-- PR_FP_EXC_NONRECOV = 0x1
-- PR_FP_EXC_OVF = 0x20000
-- PR_FP_EXC_PRECISE = 0x3
-- PR_FP_EXC_RES = 0x80000
-- PR_FP_EXC_SW_ENABLE = 0x80
-- PR_FP_EXC_UND = 0x40000
-- PR_FP_MODE_FR = 0x1
-- PR_FP_MODE_FRE = 0x2
-- PR_GET_CHILD_SUBREAPER = 0x25
-- PR_GET_DUMPABLE = 0x3
-- PR_GET_ENDIAN = 0x13
-- PR_GET_FPEMU = 0x9
-- PR_GET_FPEXC = 0xb
-- PR_GET_FP_MODE = 0x2e
-- PR_GET_KEEPCAPS = 0x7
-- PR_GET_NAME = 0x10
-- PR_GET_NO_NEW_PRIVS = 0x27
-- PR_GET_PDEATHSIG = 0x2
-- PR_GET_SECCOMP = 0x15
-- PR_GET_SECUREBITS = 0x1b
-- PR_GET_THP_DISABLE = 0x2a
-- PR_GET_TID_ADDRESS = 0x28
-- PR_GET_TIMERSLACK = 0x1e
-- PR_GET_TIMING = 0xd
-- PR_GET_TSC = 0x19
-- PR_GET_UNALIGN = 0x5
-- PR_MCE_KILL = 0x21
-- PR_MCE_KILL_CLEAR = 0x0
-- PR_MCE_KILL_DEFAULT = 0x2
-- PR_MCE_KILL_EARLY = 0x1
-- PR_MCE_KILL_GET = 0x22
-- PR_MCE_KILL_LATE = 0x0
-- PR_MCE_KILL_SET = 0x1
-- PR_MPX_DISABLE_MANAGEMENT = 0x2c
-- PR_MPX_ENABLE_MANAGEMENT = 0x2b
-- PR_SET_CHILD_SUBREAPER = 0x24
-- PR_SET_DUMPABLE = 0x4
-- PR_SET_ENDIAN = 0x14
-- PR_SET_FPEMU = 0xa
-- PR_SET_FPEXC = 0xc
-- PR_SET_FP_MODE = 0x2d
-- PR_SET_KEEPCAPS = 0x8
-- PR_SET_MM = 0x23
-- PR_SET_MM_ARG_END = 0x9
-- PR_SET_MM_ARG_START = 0x8
-- PR_SET_MM_AUXV = 0xc
-- PR_SET_MM_BRK = 0x7
-- PR_SET_MM_END_CODE = 0x2
-- PR_SET_MM_END_DATA = 0x4
-- PR_SET_MM_ENV_END = 0xb
-- PR_SET_MM_ENV_START = 0xa
-- PR_SET_MM_EXE_FILE = 0xd
-- PR_SET_MM_MAP = 0xe
-- PR_SET_MM_MAP_SIZE = 0xf
-- PR_SET_MM_START_BRK = 0x6
-- PR_SET_MM_START_CODE = 0x1
-- PR_SET_MM_START_DATA = 0x3
-- PR_SET_MM_START_STACK = 0x5
-- PR_SET_NAME = 0xf
-- PR_SET_NO_NEW_PRIVS = 0x26
-- PR_SET_PDEATHSIG = 0x1
-- PR_SET_PTRACER = 0x59616d61
-- PR_SET_PTRACER_ANY = -0x1
-- PR_SET_SECCOMP = 0x16
-- PR_SET_SECUREBITS = 0x1c
-- PR_SET_THP_DISABLE = 0x29
-- PR_SET_TIMERSLACK = 0x1d
-- PR_SET_TIMING = 0xe
-- PR_SET_TSC = 0x1a
-- PR_SET_UNALIGN = 0x6
-- PR_TASK_PERF_EVENTS_DISABLE = 0x1f
-- PR_TASK_PERF_EVENTS_ENABLE = 0x20
-- PR_TIMING_STATISTICAL = 0x0
-- PR_TIMING_TIMESTAMP = 0x1
-- PR_TSC_ENABLE = 0x1
-- PR_TSC_SIGSEGV = 0x2
-- PR_UNALIGN_NOPRINT = 0x1
-- PR_UNALIGN_SIGBUS = 0x2
-- PTRACE_ATTACH = 0x10
-- PTRACE_CONT = 0x7
-- PTRACE_DETACH = 0x11
-- PTRACE_EVENT_CLONE = 0x3
-- PTRACE_EVENT_EXEC = 0x4
-- PTRACE_EVENT_EXIT = 0x6
-- PTRACE_EVENT_FORK = 0x1
-- PTRACE_EVENT_SECCOMP = 0x7
-- PTRACE_EVENT_STOP = 0x80
-- PTRACE_EVENT_VFORK = 0x2
-- PTRACE_EVENT_VFORK_DONE = 0x5
-- PTRACE_GETEVENTMSG = 0x4201
-- PTRACE_GETEVRREGS = 0x14
-- PTRACE_GETFPREGS = 0xe
-- PTRACE_GETREGS = 0xc
-- PTRACE_GETREGS64 = 0x16
-- PTRACE_GETREGSET = 0x4204
-- PTRACE_GETSIGINFO = 0x4202
-- PTRACE_GETSIGMASK = 0x420a
-- PTRACE_GETVRREGS = 0x12
-- PTRACE_GETVSRREGS = 0x1b
-- PTRACE_GET_DEBUGREG = 0x19
-- PTRACE_INTERRUPT = 0x4207
-- PTRACE_KILL = 0x8
-- PTRACE_LISTEN = 0x4208
-- PTRACE_O_EXITKILL = 0x100000
-- PTRACE_O_MASK = 0x3000ff
-- PTRACE_O_SUSPEND_SECCOMP = 0x200000
-- PTRACE_O_TRACECLONE = 0x8
-- PTRACE_O_TRACEEXEC = 0x10
-- PTRACE_O_TRACEEXIT = 0x40
-- PTRACE_O_TRACEFORK = 0x2
-- PTRACE_O_TRACESECCOMP = 0x80
-- PTRACE_O_TRACESYSGOOD = 0x1
-- PTRACE_O_TRACEVFORK = 0x4
-- PTRACE_O_TRACEVFORKDONE = 0x20
-- PTRACE_PEEKDATA = 0x2
-- PTRACE_PEEKSIGINFO = 0x4209
-- PTRACE_PEEKSIGINFO_SHARED = 0x1
-- PTRACE_PEEKTEXT = 0x1
-- PTRACE_PEEKUSR = 0x3
-- PTRACE_POKEDATA = 0x5
-- PTRACE_POKETEXT = 0x4
-- PTRACE_POKEUSR = 0x6
-- PTRACE_SECCOMP_GET_FILTER = 0x420c
-- PTRACE_SEIZE = 0x4206
-- PTRACE_SETEVRREGS = 0x15
-- PTRACE_SETFPREGS = 0xf
-- PTRACE_SETOPTIONS = 0x4200
-- PTRACE_SETREGS = 0xd
-- PTRACE_SETREGS64 = 0x17
-- PTRACE_SETREGSET = 0x4205
-- PTRACE_SETSIGINFO = 0x4203
-- PTRACE_SETSIGMASK = 0x420b
-- PTRACE_SETVRREGS = 0x13
-- PTRACE_SETVSRREGS = 0x1c
-- PTRACE_SET_DEBUGREG = 0x1a
-- PTRACE_SINGLEBLOCK = 0x100
-- PTRACE_SINGLESTEP = 0x9
-- PTRACE_SYSCALL = 0x18
-- PTRACE_TRACEME = 0x0
-- PT_CCR = 0x26
-- PT_CTR = 0x23
-- PT_DAR = 0x29
-- PT_DSCR = 0x2c
-- PT_DSISR = 0x2a
-- PT_FPR0 = 0x30
-- PT_FPSCR = 0x50
-- PT_LNK = 0x24
-- PT_MSR = 0x21
-- PT_NIP = 0x20
-- PT_ORIG_R3 = 0x22
-- PT_R0 = 0x0
-- PT_R1 = 0x1
-- PT_R10 = 0xa
-- PT_R11 = 0xb
-- PT_R12 = 0xc
-- PT_R13 = 0xd
-- PT_R14 = 0xe
-- PT_R15 = 0xf
-- PT_R16 = 0x10
-- PT_R17 = 0x11
-- PT_R18 = 0x12
-- PT_R19 = 0x13
-- PT_R2 = 0x2
-- PT_R20 = 0x14
-- PT_R21 = 0x15
-- PT_R22 = 0x16
-- PT_R23 = 0x17
-- PT_R24 = 0x18
-- PT_R25 = 0x19
-- PT_R26 = 0x1a
-- PT_R27 = 0x1b
-- PT_R28 = 0x1c
-- PT_R29 = 0x1d
-- PT_R3 = 0x3
-- PT_R30 = 0x1e
-- PT_R31 = 0x1f
-- PT_R4 = 0x4
-- PT_R5 = 0x5
-- PT_R6 = 0x6
-- PT_R7 = 0x7
-- PT_R8 = 0x8
-- PT_R9 = 0x9
-- PT_REGS_COUNT = 0x2c
-- PT_RESULT = 0x2b
-- PT_SOFTE = 0x27
-- PT_TRAP = 0x28
-- PT_VR0 = 0x52
-- PT_VRSAVE = 0x94
-- PT_VSCR = 0x93
-- PT_VSR0 = 0x96
-- PT_VSR31 = 0xd4
-- PT_XER = 0x25
-- RLIMIT_AS = 0x9
-- RLIMIT_CORE = 0x4
-- RLIMIT_CPU = 0x0
-- RLIMIT_DATA = 0x2
-- RLIMIT_FSIZE = 0x1
-- RLIMIT_LOCKS = 0xa
-- RLIMIT_MEMLOCK = 0x8
-- RLIMIT_MSGQUEUE = 0xc
-- RLIMIT_NICE = 0xd
-- RLIMIT_NOFILE = 0x7
-- RLIMIT_NPROC = 0x6
-- RLIMIT_RSS = 0x5
-- RLIMIT_RTPRIO = 0xe
-- RLIMIT_RTTIME = 0xf
-- RLIMIT_SIGPENDING = 0xb
-- RLIMIT_STACK = 0x3
-- RLIM_INFINITY = -0x1
-- RTAX_ADVMSS = 0x8
-- RTAX_CC_ALGO = 0x10
-- RTAX_CWND = 0x7
-- RTAX_FEATURES = 0xc
-- RTAX_FEATURE_ALLFRAG = 0x8
-- RTAX_FEATURE_ECN = 0x1
-- RTAX_FEATURE_MASK = 0xf
-- RTAX_FEATURE_SACK = 0x2
-- RTAX_FEATURE_TIMESTAMP = 0x4
-- RTAX_HOPLIMIT = 0xa
-- RTAX_INITCWND = 0xb
-- RTAX_INITRWND = 0xe
-- RTAX_LOCK = 0x1
-- RTAX_MAX = 0x10
-- RTAX_MTU = 0x2
-- RTAX_QUICKACK = 0xf
-- RTAX_REORDERING = 0x9
-- RTAX_RTO_MIN = 0xd
-- RTAX_RTT = 0x4
-- RTAX_RTTVAR = 0x5
-- RTAX_SSTHRESH = 0x6
-- RTAX_UNSPEC = 0x0
-- RTAX_WINDOW = 0x3
-- RTA_ALIGNTO = 0x4
-- RTA_MAX = 0x19
-- RTCF_DIRECTSRC = 0x4000000
-- RTCF_DOREDIRECT = 0x1000000
-- RTCF_LOG = 0x2000000
-- RTCF_MASQ = 0x400000
-- RTCF_NAT = 0x800000
-- RTCF_VALVE = 0x200000
-- RTF_ADDRCLASSMASK = 0xf8000000
-- RTF_ADDRCONF = 0x40000
-- RTF_ALLONLINK = 0x20000
-- RTF_BROADCAST = 0x10000000
-- RTF_CACHE = 0x1000000
-- RTF_DEFAULT = 0x10000
-- RTF_DYNAMIC = 0x10
-- RTF_FLOW = 0x2000000
-- RTF_GATEWAY = 0x2
-- RTF_HOST = 0x4
-- RTF_INTERFACE = 0x40000000
-- RTF_IRTT = 0x100
-- RTF_LINKRT = 0x100000
-- RTF_LOCAL = 0x80000000
-- RTF_MODIFIED = 0x20
-- RTF_MSS = 0x40
-- RTF_MTU = 0x40
-- RTF_MULTICAST = 0x20000000
-- RTF_NAT = 0x8000000
-- RTF_NOFORWARD = 0x1000
-- RTF_NONEXTHOP = 0x200000
-- RTF_NOPMTUDISC = 0x4000
-- RTF_POLICY = 0x4000000
-- RTF_REINSTATE = 0x8
-- RTF_REJECT = 0x200
-- RTF_STATIC = 0x400
-- RTF_THROW = 0x2000
-- RTF_UP = 0x1
-- RTF_WINDOW = 0x80
-- RTF_XRESOLVE = 0x800
-- RTM_BASE = 0x10
-- RTM_DELACTION = 0x31
-- RTM_DELADDR = 0x15
-- RTM_DELADDRLABEL = 0x49
-- RTM_DELLINK = 0x11
-- RTM_DELMDB = 0x55
-- RTM_DELNEIGH = 0x1d
-- RTM_DELNSID = 0x59
-- RTM_DELQDISC = 0x25
-- RTM_DELROUTE = 0x19
-- RTM_DELRULE = 0x21
-- RTM_DELTCLASS = 0x29
-- RTM_DELTFILTER = 0x2d
-- RTM_F_CLONED = 0x200
-- RTM_F_EQUALIZE = 0x400
-- RTM_F_LOOKUP_TABLE = 0x1000
-- RTM_F_NOTIFY = 0x100
-- RTM_F_PREFIX = 0x800
-- RTM_GETACTION = 0x32
-- RTM_GETADDR = 0x16
-- RTM_GETADDRLABEL = 0x4a
-- RTM_GETANYCAST = 0x3e
-- RTM_GETDCB = 0x4e
-- RTM_GETLINK = 0x12
-- RTM_GETMDB = 0x56
-- RTM_GETMULTICAST = 0x3a
-- RTM_GETNEIGH = 0x1e
-- RTM_GETNEIGHTBL = 0x42
-- RTM_GETNETCONF = 0x52
-- RTM_GETNSID = 0x5a
-- RTM_GETQDISC = 0x26
-- RTM_GETROUTE = 0x1a
-- RTM_GETRULE = 0x22
-- RTM_GETSTATS = 0x5e
-- RTM_GETTCLASS = 0x2a
-- RTM_GETTFILTER = 0x2e
-- RTM_MAX = 0x5f
-- RTM_NEWACTION = 0x30
-- RTM_NEWADDR = 0x14
-- RTM_NEWADDRLABEL = 0x48
-- RTM_NEWLINK = 0x10
-- RTM_NEWMDB = 0x54
-- RTM_NEWNDUSEROPT = 0x44
-- RTM_NEWNEIGH = 0x1c
-- RTM_NEWNEIGHTBL = 0x40
-- RTM_NEWNETCONF = 0x50
-- RTM_NEWNSID = 0x58
-- RTM_NEWPREFIX = 0x34
-- RTM_NEWQDISC = 0x24
-- RTM_NEWROUTE = 0x18
-- RTM_NEWRULE = 0x20
-- RTM_NEWSTATS = 0x5c
-- RTM_NEWTCLASS = 0x28
-- RTM_NEWTFILTER = 0x2c
-- RTM_NR_FAMILIES = 0x14
-- RTM_NR_MSGTYPES = 0x50
-- RTM_SETDCB = 0x4f
-- RTM_SETLINK = 0x13
-- RTM_SETNEIGHTBL = 0x43
-- RTNH_ALIGNTO = 0x4
-- RTNH_COMPARE_MASK = 0x19
-- RTNH_F_DEAD = 0x1
-- RTNH_F_LINKDOWN = 0x10
-- RTNH_F_OFFLOAD = 0x8
-- RTNH_F_ONLINK = 0x4
-- RTNH_F_PERVASIVE = 0x2
-- RTN_MAX = 0xb
-- RTPROT_BABEL = 0x2a
-- RTPROT_BIRD = 0xc
-- RTPROT_BOOT = 0x3
-- RTPROT_DHCP = 0x10
-- RTPROT_DNROUTED = 0xd
-- RTPROT_GATED = 0x8
-- RTPROT_KERNEL = 0x2
-- RTPROT_MROUTED = 0x11
-- RTPROT_MRT = 0xa
-- RTPROT_NTK = 0xf
-- RTPROT_RA = 0x9
-- RTPROT_REDIRECT = 0x1
-- RTPROT_STATIC = 0x4
-- RTPROT_UNSPEC = 0x0
-- RTPROT_XORP = 0xe
-- RTPROT_ZEBRA = 0xb
-- RT_CLASS_DEFAULT = 0xfd
-- RT_CLASS_LOCAL = 0xff
-- RT_CLASS_MAIN = 0xfe
-- RT_CLASS_MAX = 0xff
-- RT_CLASS_UNSPEC = 0x0
-- RUSAGE_CHILDREN = -0x1
-- RUSAGE_SELF = 0x0
-- RUSAGE_THREAD = 0x1
-- SCM_CREDENTIALS = 0x2
-- SCM_RIGHTS = 0x1
-- SCM_TIMESTAMP = 0x1d
-- SCM_TIMESTAMPING = 0x25
-- SCM_TIMESTAMPING_OPT_STATS = 0x36
-- SCM_TIMESTAMPNS = 0x23
-- SCM_WIFI_STATUS = 0x29
-- SECCOMP_MODE_DISABLED = 0x0
-- SECCOMP_MODE_FILTER = 0x2
-- SECCOMP_MODE_STRICT = 0x1
-- SHUT_RD = 0x0
-- SHUT_RDWR = 0x2
-- SHUT_WR = 0x1
-- SIOCADDDLCI = 0x8980
-- SIOCADDMULTI = 0x8931
-- SIOCADDRT = 0x890b
-- SIOCATMARK = 0x8905
-- SIOCBONDCHANGEACTIVE = 0x8995
-- SIOCBONDENSLAVE = 0x8990
-- SIOCBONDINFOQUERY = 0x8994
-- SIOCBONDRELEASE = 0x8991
-- SIOCBONDSETHWADDR = 0x8992
-- SIOCBONDSLAVEINFOQUERY = 0x8993
-- SIOCBRADDBR = 0x89a0
-- SIOCBRADDIF = 0x89a2
-- SIOCBRDELBR = 0x89a1
-- SIOCBRDELIF = 0x89a3
-- SIOCDARP = 0x8953
-- SIOCDELDLCI = 0x8981
-- SIOCDELMULTI = 0x8932
-- SIOCDELRT = 0x890c
-- SIOCDEVPRIVATE = 0x89f0
-- SIOCDIFADDR = 0x8936
-- SIOCDRARP = 0x8960
-- SIOCETHTOOL = 0x8946
-- SIOCGARP = 0x8954
-- SIOCGHWTSTAMP = 0x89b1
-- SIOCGIFADDR = 0x8915
-- SIOCGIFBR = 0x8940
-- SIOCGIFBRDADDR = 0x8919
-- SIOCGIFCONF = 0x8912
-- SIOCGIFCOUNT = 0x8938
-- SIOCGIFDSTADDR = 0x8917
-- SIOCGIFENCAP = 0x8925
-- SIOCGIFFLAGS = 0x8913
-- SIOCGIFHWADDR = 0x8927
-- SIOCGIFINDEX = 0x8933
-- SIOCGIFMAP = 0x8970
-- SIOCGIFMEM = 0x891f
-- SIOCGIFMETRIC = 0x891d
-- SIOCGIFMTU = 0x8921
-- SIOCGIFNAME = 0x8910
-- SIOCGIFNETMASK = 0x891b
-- SIOCGIFPFLAGS = 0x8935
-- SIOCGIFSLAVE = 0x8929
-- SIOCGIFTXQLEN = 0x8942
-- SIOCGIFVLAN = 0x8982
-- SIOCGMIIPHY = 0x8947
-- SIOCGMIIREG = 0x8948
-- SIOCGPGRP = 0x8904
-- SIOCGRARP = 0x8961
-- SIOCGSKNS = 0x894c
-- SIOCGSTAMP = 0x8906
-- SIOCGSTAMPNS = 0x8907
-- SIOCINQ = 0x4004667f
-- SIOCOUTQ = 0x40047473
-- SIOCOUTQNSD = 0x894b
-- SIOCPROTOPRIVATE = 0x89e0
-- SIOCRTMSG = 0x890d
-- SIOCSARP = 0x8955
-- SIOCSHWTSTAMP = 0x89b0
-- SIOCSIFADDR = 0x8916
-- SIOCSIFBR = 0x8941
-- SIOCSIFBRDADDR = 0x891a
-- SIOCSIFDSTADDR = 0x8918
-- SIOCSIFENCAP = 0x8926
-- SIOCSIFFLAGS = 0x8914
-- SIOCSIFHWADDR = 0x8924
-- SIOCSIFHWBROADCAST = 0x8937
-- SIOCSIFLINK = 0x8911
-- SIOCSIFMAP = 0x8971
-- SIOCSIFMEM = 0x8920
-- SIOCSIFMETRIC = 0x891e
-- SIOCSIFMTU = 0x8922
-- SIOCSIFNAME = 0x8923
-- SIOCSIFNETMASK = 0x891c
-- SIOCSIFPFLAGS = 0x8934
-- SIOCSIFSLAVE = 0x8930
-- SIOCSIFTXQLEN = 0x8943
-- SIOCSIFVLAN = 0x8983
-- SIOCSMIIREG = 0x8949
-- SIOCSPGRP = 0x8902
-- SIOCSRARP = 0x8962
-- SIOCWANDEV = 0x894a
-- SOCK_CLOEXEC = 0x80000
-- SOCK_DCCP = 0x6
-- SOCK_DGRAM = 0x2
-- SOCK_IOC_TYPE = 0x89
-- SOCK_NONBLOCK = 0x800
-- SOCK_PACKET = 0xa
-- SOCK_RAW = 0x3
-- SOCK_RDM = 0x4
-- SOCK_SEQPACKET = 0x5
-- SOCK_STREAM = 0x1
-- SOL_AAL = 0x109
-- SOL_ALG = 0x117
-- SOL_ATM = 0x108
-- SOL_CAIF = 0x116
-- SOL_CAN_BASE = 0x64
-- SOL_DCCP = 0x10d
-- SOL_DECNET = 0x105
-- SOL_ICMPV6 = 0x3a
-- SOL_IP = 0x0
-- SOL_IPV6 = 0x29
-- SOL_IRDA = 0x10a
-- SOL_IUCV = 0x115
-- SOL_KCM = 0x119
-- SOL_LLC = 0x10c
-- SOL_NETBEUI = 0x10b
-- SOL_NETLINK = 0x10e
-- SOL_NFC = 0x118
-- SOL_PACKET = 0x107
-- SOL_PNPIPE = 0x113
-- SOL_PPPOL2TP = 0x111
-- SOL_RAW = 0xff
-- SOL_RDS = 0x114
-- SOL_RXRPC = 0x110
-- SOL_SOCKET = 0x1
-- SOL_TCP = 0x6
-- SOL_TIPC = 0x10f
-- SOL_X25 = 0x106
-- SOMAXCONN = 0x80
-- SO_ACCEPTCONN = 0x1e
-- SO_ATTACH_BPF = 0x32
-- SO_ATTACH_FILTER = 0x1a
-- SO_ATTACH_REUSEPORT_CBPF = 0x33
-- SO_ATTACH_REUSEPORT_EBPF = 0x34
-- SO_BINDTODEVICE = 0x19
-- SO_BPF_EXTENSIONS = 0x30
-- SO_BROADCAST = 0x6
-- SO_BSDCOMPAT = 0xe
-- SO_BUSY_POLL = 0x2e
-- SO_CNX_ADVICE = 0x35
-- SO_DEBUG = 0x1
-- SO_DETACH_BPF = 0x1b
-- SO_DETACH_FILTER = 0x1b
-- SO_DOMAIN = 0x27
-- SO_DONTROUTE = 0x5
-- SO_ERROR = 0x4
-- SO_GET_FILTER = 0x1a
-- SO_INCOMING_CPU = 0x31
-- SO_KEEPALIVE = 0x9
-- SO_LINGER = 0xd
-- SO_LOCK_FILTER = 0x2c
-- SO_MARK = 0x24
-- SO_MAX_PACING_RATE = 0x2f
-- SO_NOFCS = 0x2b
-- SO_NO_CHECK = 0xb
-- SO_OOBINLINE = 0xa
-- SO_PASSCRED = 0x14
-- SO_PASSSEC = 0x22
-- SO_PEEK_OFF = 0x2a
-- SO_PEERCRED = 0x15
-- SO_PEERNAME = 0x1c
-- SO_PEERSEC = 0x1f
-- SO_PRIORITY = 0xc
-- SO_PROTOCOL = 0x26
-- SO_RCVBUF = 0x8
-- SO_RCVBUFFORCE = 0x21
-- SO_RCVLOWAT = 0x10
-- SO_RCVTIMEO = 0x12
-- SO_REUSEADDR = 0x2
-- SO_REUSEPORT = 0xf
-- SO_RXQ_OVFL = 0x28
-- SO_SECURITY_AUTHENTICATION = 0x16
-- SO_SECURITY_ENCRYPTION_NETWORK = 0x18
-- SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
-- SO_SELECT_ERR_QUEUE = 0x2d
-- SO_SNDBUF = 0x7
-- SO_SNDBUFFORCE = 0x20
-- SO_SNDLOWAT = 0x11
-- SO_SNDTIMEO = 0x13
-- SO_TIMESTAMP = 0x1d
-- SO_TIMESTAMPING = 0x25
-- SO_TIMESTAMPNS = 0x23
-- SO_TYPE = 0x3
-- SO_VM_SOCKETS_BUFFER_MAX_SIZE = 0x2
-- SO_VM_SOCKETS_BUFFER_MIN_SIZE = 0x1
-- SO_VM_SOCKETS_BUFFER_SIZE = 0x0
-- SO_VM_SOCKETS_CONNECT_TIMEOUT = 0x6
-- SO_VM_SOCKETS_NONBLOCK_TXRX = 0x7
-- SO_VM_SOCKETS_PEER_HOST_VM_ID = 0x3
-- SO_VM_SOCKETS_TRUSTED = 0x5
-- SO_WIFI_STATUS = 0x29
-- SPLICE_F_GIFT = 0x8
-- SPLICE_F_MORE = 0x4
-- SPLICE_F_MOVE = 0x1
-- SPLICE_F_NONBLOCK = 0x2
-- S_BLKSIZE = 0x200
-- S_IEXEC = 0x40
-- S_IFBLK = 0x6000
-- S_IFCHR = 0x2000
-- S_IFDIR = 0x4000
-- S_IFIFO = 0x1000
-- S_IFLNK = 0xa000
-- S_IFMT = 0xf000
-- S_IFREG = 0x8000
-- S_IFSOCK = 0xc000
-- S_IREAD = 0x100
-- S_IRGRP = 0x20
-- S_IROTH = 0x4
-- S_IRUSR = 0x100
-- S_IRWXG = 0x38
-- S_IRWXO = 0x7
-- S_IRWXU = 0x1c0
-- S_ISGID = 0x400
-- S_ISUID = 0x800
-- S_ISVTX = 0x200
-- S_IWGRP = 0x10
-- S_IWOTH = 0x2
-- S_IWRITE = 0x80
-- S_IWUSR = 0x80
-- S_IXGRP = 0x8
-- S_IXOTH = 0x1
-- S_IXUSR = 0x40
-- TAB0 = 0x0
-- TAB1 = 0x400
-- TAB2 = 0x800
-- TAB3 = 0xc00
-- TABDLY = 0xc00
-- TASKSTATS_CMD_ATTR_MAX = 0x4
-- TASKSTATS_CMD_MAX = 0x2
-- TASKSTATS_GENL_NAME = "TASKSTATS"
-- TASKSTATS_GENL_VERSION = 0x1
-- TASKSTATS_TYPE_MAX = 0x6
-- TASKSTATS_VERSION = 0x8
-- TCFLSH = 0x2000741f
-- TCGETA = 0x40147417
-- TCGETS = 0x402c7413
-- TCIFLUSH = 0x0
-- TCIOFF = 0x2
-- TCIOFLUSH = 0x2
-- TCION = 0x3
-- TCOFLUSH = 0x1
-- TCOOFF = 0x0
-- TCOON = 0x1
-- TCP_CC_INFO = 0x1a
-- TCP_CONGESTION = 0xd
-- TCP_COOKIE_IN_ALWAYS = 0x1
-- TCP_COOKIE_MAX = 0x10
-- TCP_COOKIE_MIN = 0x8
-- TCP_COOKIE_OUT_NEVER = 0x2
-- TCP_COOKIE_PAIR_SIZE = 0x20
-- TCP_COOKIE_TRANSACTIONS = 0xf
-- TCP_CORK = 0x3
-- TCP_DEFER_ACCEPT = 0x9
-- TCP_FASTOPEN = 0x17
-- TCP_INFO = 0xb
-- TCP_KEEPCNT = 0x6
-- TCP_KEEPIDLE = 0x4
-- TCP_KEEPINTVL = 0x5
-- TCP_LINGER2 = 0x8
-- TCP_MAXSEG = 0x2
-- TCP_MAXWIN = 0xffff
-- TCP_MAX_WINSHIFT = 0xe
-- TCP_MD5SIG = 0xe
-- TCP_MD5SIG_MAXKEYLEN = 0x50
-- TCP_MSS = 0x200
-- TCP_MSS_DEFAULT = 0x218
-- TCP_MSS_DESIRED = 0x4c4
-- TCP_NODELAY = 0x1
-- TCP_NOTSENT_LOWAT = 0x19
-- TCP_QUEUE_SEQ = 0x15
-- TCP_QUICKACK = 0xc
-- TCP_REPAIR = 0x13
-- TCP_REPAIR_OPTIONS = 0x16
-- TCP_REPAIR_QUEUE = 0x14
-- TCP_REPAIR_WINDOW = 0x1d
-- TCP_SAVED_SYN = 0x1c
-- TCP_SAVE_SYN = 0x1b
-- TCP_SYNCNT = 0x7
-- TCP_S_DATA_IN = 0x4
-- TCP_S_DATA_OUT = 0x8
-- TCP_THIN_DUPACK = 0x11
-- TCP_THIN_LINEAR_TIMEOUTS = 0x10
-- TCP_TIMESTAMP = 0x18
-- TCP_USER_TIMEOUT = 0x12
-- TCP_WINDOW_CLAMP = 0xa
-- TCSAFLUSH = 0x2
-- TCSBRK = 0x2000741d
-- TCSBRKP = 0x5425
-- TCSETA = 0x80147418
-- TCSETAF = 0x8014741c
-- TCSETAW = 0x80147419
-- TCSETS = 0x802c7414
-- TCSETSF = 0x802c7416
-- TCSETSW = 0x802c7415
-- TCXONC = 0x2000741e
-- TIOCCBRK = 0x5428
-- TIOCCONS = 0x541d
-- TIOCEXCL = 0x540c
-- TIOCGDEV = 0x40045432
-- TIOCGETC = 0x40067412
-- TIOCGETD = 0x5424
-- TIOCGETP = 0x40067408
-- TIOCGEXCL = 0x40045440
-- TIOCGICOUNT = 0x545d
-- TIOCGLCKTRMIOS = 0x5456
-- TIOCGLTC = 0x40067474
-- TIOCGPGRP = 0x40047477
-- TIOCGPKT = 0x40045438
-- TIOCGPTLCK = 0x40045439
-- TIOCGPTN = 0x40045430
-- TIOCGRS485 = 0x542e
-- TIOCGSERIAL = 0x541e
-- TIOCGSID = 0x5429
-- TIOCGSOFTCAR = 0x5419
-- TIOCGWINSZ = 0x40087468
-- TIOCINQ = 0x4004667f
-- TIOCLINUX = 0x541c
-- TIOCMBIC = 0x5417
-- TIOCMBIS = 0x5416
-- TIOCMGET = 0x5415
-- TIOCMIWAIT = 0x545c
-- TIOCMSET = 0x5418
-- TIOCM_CAR = 0x40
-- TIOCM_CD = 0x40
-- TIOCM_CTS = 0x20
-- TIOCM_DSR = 0x100
-- TIOCM_DTR = 0x2
-- TIOCM_LE = 0x1
-- TIOCM_LOOP = 0x8000
-- TIOCM_OUT1 = 0x2000
-- TIOCM_OUT2 = 0x4000
-- TIOCM_RI = 0x80
-- TIOCM_RNG = 0x80
-- TIOCM_RTS = 0x4
-- TIOCM_SR = 0x10
-- TIOCM_ST = 0x8
-- TIOCNOTTY = 0x5422
-- TIOCNXCL = 0x540d
-- TIOCOUTQ = 0x40047473
-- TIOCPKT = 0x5420
-- TIOCPKT_DATA = 0x0
-- TIOCPKT_DOSTOP = 0x20
-- TIOCPKT_FLUSHREAD = 0x1
-- TIOCPKT_FLUSHWRITE = 0x2
-- TIOCPKT_IOCTL = 0x40
-- TIOCPKT_NOSTOP = 0x10
-- TIOCPKT_START = 0x8
-- TIOCPKT_STOP = 0x4
-- TIOCSBRK = 0x5427
-- TIOCSCTTY = 0x540e
-- TIOCSERCONFIG = 0x5453
-- TIOCSERGETLSR = 0x5459
-- TIOCSERGETMULTI = 0x545a
-- TIOCSERGSTRUCT = 0x5458
-- TIOCSERGWILD = 0x5454
-- TIOCSERSETMULTI = 0x545b
-- TIOCSERSWILD = 0x5455
-- TIOCSER_TEMT = 0x1
-- TIOCSETC = 0x80067411
-- TIOCSETD = 0x5423
-- TIOCSETN = 0x8006740a
-- TIOCSETP = 0x80067409
-- TIOCSIG = 0x80045436
-- TIOCSLCKTRMIOS = 0x5457
-- TIOCSLTC = 0x80067475
-- TIOCSPGRP = 0x80047476
-- TIOCSPTLCK = 0x80045431
-- TIOCSRS485 = 0x542f
-- TIOCSSERIAL = 0x541f
-- TIOCSSOFTCAR = 0x541a
-- TIOCSTART = 0x2000746e
-- TIOCSTI = 0x5412
-- TIOCSTOP = 0x2000746f
-- TIOCSWINSZ = 0x80087467
-- TIOCVHANGUP = 0x5437
-- TOSTOP = 0x400000
-- TS_COMM_LEN = 0x20
-- TUNATTACHFILTER = 0x801054d5
-- TUNDETACHFILTER = 0x801054d6
-- TUNGETFEATURES = 0x400454cf
-- TUNGETFILTER = 0x401054db
-- TUNGETIFF = 0x400454d2
-- TUNGETSNDBUF = 0x400454d3
-- TUNGETVNETBE = 0x400454df
-- TUNGETVNETHDRSZ = 0x400454d7
-- TUNGETVNETLE = 0x400454dd
-- TUNSETDEBUG = 0x800454c9
-- TUNSETGROUP = 0x800454ce
-- TUNSETIFF = 0x800454ca
-- TUNSETIFINDEX = 0x800454da
-- TUNSETLINK = 0x800454cd
-- TUNSETNOCSUM = 0x800454c8
-- TUNSETOFFLOAD = 0x800454d0
-- TUNSETOWNER = 0x800454cc
-- TUNSETPERSIST = 0x800454cb
-- TUNSETQUEUE = 0x800454d9
-- TUNSETSNDBUF = 0x800454d4
-- TUNSETTXFILTER = 0x800454d1
-- TUNSETVNETBE = 0x800454de
-- TUNSETVNETHDRSZ = 0x800454d8
-- TUNSETVNETLE = 0x800454dc
-- UMOUNT_NOFOLLOW = 0x8
-- VDISCARD = 0x10
-- VEOF = 0x4
-- VEOL = 0x6
-- VEOL2 = 0x8
-- VERASE = 0x2
-- VINTR = 0x0
-- VKILL = 0x3
-- VLNEXT = 0xf
-- VMADDR_CID_ANY = 0xffffffff
-- VMADDR_CID_HOST = 0x2
-- VMADDR_CID_HYPERVISOR = 0x0
-- VMADDR_CID_RESERVED = 0x1
-- VMADDR_PORT_ANY = 0xffffffff
-- VMIN = 0x5
-- VM_SOCKETS_INVALID_VERSION = 0xffffffff
-- VQUIT = 0x1
-- VREPRINT = 0xb
-- VSTART = 0xd
-- VSTOP = 0xe
-- VSUSP = 0xc
-- VSWTC = 0x9
-- VT0 = 0x0
-- VT1 = 0x10000
-- VTDLY = 0x10000
-- VTIME = 0x7
-- VWERASE = 0xa
-- WALL = 0x40000000
-- WCLONE = 0x80000000
-- WCONTINUED = 0x8
-- WEXITED = 0x4
-- WNOHANG = 0x1
-- WNOTHREAD = 0x20000000
-- WNOWAIT = 0x1000000
-- WORDSIZE = 0x40
-- WSTOPPED = 0x2
-- WUNTRACED = 0x2
-- XATTR_CREATE = 0x1
-- XATTR_REPLACE = 0x2
-- XCASE = 0x4000
-- XTABS = 0xc00
-+ B1000000 = 0x17
-+ B115200 = 0x11
-+ B1152000 = 0x18
-+ B1500000 = 0x19
-+ B2000000 = 0x1a
-+ B230400 = 0x12
-+ B2500000 = 0x1b
-+ B3000000 = 0x1c
-+ B3500000 = 0x1d
-+ B4000000 = 0x1e
-+ B460800 = 0x13
-+ B500000 = 0x14
-+ B57600 = 0x10
-+ B576000 = 0x15
-+ B921600 = 0x16
-+ BLKBSZGET = 0x40081270
-+ BLKBSZSET = 0x80081271
-+ BLKFLSBUF = 0x20001261
-+ BLKFRAGET = 0x20001265
-+ BLKFRASET = 0x20001264
-+ BLKGETSIZE = 0x20001260
-+ BLKGETSIZE64 = 0x40081272
-+ BLKPBSZGET = 0x2000127b
-+ BLKRAGET = 0x20001263
-+ BLKRASET = 0x20001262
-+ BLKROGET = 0x2000125e
-+ BLKROSET = 0x2000125d
-+ BLKRRPART = 0x2000125f
-+ BLKSECTGET = 0x20001267
-+ BLKSECTSET = 0x20001266
-+ BLKSSZGET = 0x20001268
-+ BOTHER = 0x1f
-+ BS1 = 0x8000
-+ BSDLY = 0x8000
-+ CBAUD = 0xff
-+ CBAUDEX = 0x0
-+ CIBAUD = 0xff0000
-+ CLOCAL = 0x8000
-+ CR1 = 0x1000
-+ CR2 = 0x2000
-+ CR3 = 0x3000
-+ CRDLY = 0x3000
-+ CREAD = 0x800
-+ CS6 = 0x100
-+ CS7 = 0x200
-+ CS8 = 0x300
-+ CSIZE = 0x300
-+ CSTOPB = 0x400
-+ ECHOCTL = 0x40
-+ ECHOE = 0x2
-+ ECHOK = 0x4
-+ ECHOKE = 0x1
-+ ECHONL = 0x10
-+ ECHOPRT = 0x20
-+ EFD_CLOEXEC = 0x80000
-+ EFD_NONBLOCK = 0x800
-+ EPOLL_CLOEXEC = 0x80000
-+ EXTPROC = 0x10000000
-+ FF1 = 0x4000
-+ FFDLY = 0x4000
-+ FLUSHO = 0x800000
-+ FS_IOC_ENABLE_VERITY = 0x80806685
-+ FS_IOC_GETFLAGS = 0x40086601
-+ FS_IOC_GET_ENCRYPTION_POLICY = 0x800c6615
-+ FS_IOC_GET_ENCRYPTION_PWSALT = 0x80106614
-+ FS_IOC_SET_ENCRYPTION_POLICY = 0x400c6613
-+ F_GETLK = 0x5
-+ F_GETLK64 = 0xc
-+ F_GETOWN = 0x9
-+ F_RDLCK = 0x0
-+ F_SETLK = 0x6
-+ F_SETLK64 = 0xd
-+ F_SETLKW = 0x7
-+ F_SETLKW64 = 0xe
-+ F_SETOWN = 0x8
-+ F_UNLCK = 0x2
-+ F_WRLCK = 0x1
-+ HUPCL = 0x4000
-+ ICANON = 0x100
-+ IEXTEN = 0x400
-+ IN_CLOEXEC = 0x80000
-+ IN_NONBLOCK = 0x800
-+ IOCTL_VM_SOCKETS_GET_LOCAL_CID = 0x200007b9
-+ ISIG = 0x80
-+ IUCLC = 0x1000
-+ IXOFF = 0x400
-+ IXON = 0x200
-+ MAP_ANON = 0x20
-+ MAP_ANONYMOUS = 0x20
-+ MAP_DENYWRITE = 0x800
-+ MAP_EXECUTABLE = 0x1000
-+ MAP_GROWSDOWN = 0x100
-+ MAP_HUGETLB = 0x40000
-+ MAP_LOCKED = 0x80
-+ MAP_NONBLOCK = 0x10000
-+ MAP_NORESERVE = 0x40
-+ MAP_POPULATE = 0x8000
-+ MAP_STACK = 0x20000
-+ MAP_SYNC = 0x80000
-+ MCL_CURRENT = 0x2000
-+ MCL_FUTURE = 0x4000
-+ MCL_ONFAULT = 0x8000
-+ NFDBITS = 0x40
-+ NL2 = 0x200
-+ NL3 = 0x300
-+ NLDLY = 0x300
-+ NOFLSH = 0x80000000
-+ NS_GET_NSTYPE = 0x2000b703
-+ NS_GET_OWNER_UID = 0x2000b704
-+ NS_GET_PARENT = 0x2000b702
-+ NS_GET_USERNS = 0x2000b701
-+ OLCUC = 0x4
-+ ONLCR = 0x2
-+ O_APPEND = 0x400
-+ O_ASYNC = 0x2000
-+ O_CLOEXEC = 0x80000
-+ O_CREAT = 0x40
-+ O_DIRECT = 0x20000
-+ O_DIRECTORY = 0x4000
-+ O_DSYNC = 0x1000
-+ O_EXCL = 0x80
-+ O_FSYNC = 0x101000
-+ O_LARGEFILE = 0x0
-+ O_NDELAY = 0x800
-+ O_NOATIME = 0x40000
-+ O_NOCTTY = 0x100
-+ O_NOFOLLOW = 0x8000
-+ O_NONBLOCK = 0x800
-+ O_PATH = 0x200000
-+ O_RSYNC = 0x101000
-+ O_SYNC = 0x101000
-+ O_TMPFILE = 0x404000
-+ O_TRUNC = 0x200
-+ PARENB = 0x1000
-+ PARODD = 0x2000
-+ PENDIN = 0x20000000
-+ PERF_EVENT_IOC_DISABLE = 0x20002401
-+ PERF_EVENT_IOC_ENABLE = 0x20002400
-+ PERF_EVENT_IOC_ID = 0x40082407
-+ PERF_EVENT_IOC_MODIFY_ATTRIBUTES = 0x8008240b
-+ PERF_EVENT_IOC_PAUSE_OUTPUT = 0x80042409
-+ PERF_EVENT_IOC_PERIOD = 0x80082404
-+ PERF_EVENT_IOC_QUERY_BPF = 0xc008240a
-+ PERF_EVENT_IOC_REFRESH = 0x20002402
-+ PERF_EVENT_IOC_RESET = 0x20002403
-+ PERF_EVENT_IOC_SET_BPF = 0x80042408
-+ PERF_EVENT_IOC_SET_FILTER = 0x80082406
-+ PERF_EVENT_IOC_SET_OUTPUT = 0x20002405
-+ PPPIOCATTACH = 0x8004743d
-+ PPPIOCATTCHAN = 0x80047438
-+ PPPIOCCONNECT = 0x8004743a
-+ PPPIOCDETACH = 0x8004743c
-+ PPPIOCDISCONN = 0x20007439
-+ PPPIOCGASYNCMAP = 0x40047458
-+ PPPIOCGCHAN = 0x40047437
-+ PPPIOCGDEBUG = 0x40047441
-+ PPPIOCGFLAGS = 0x4004745a
-+ PPPIOCGIDLE = 0x4010743f
-+ PPPIOCGIDLE32 = 0x4008743f
-+ PPPIOCGIDLE64 = 0x4010743f
-+ PPPIOCGL2TPSTATS = 0x40487436
-+ PPPIOCGMRU = 0x40047453
-+ PPPIOCGRASYNCMAP = 0x40047455
-+ PPPIOCGUNIT = 0x40047456
-+ PPPIOCGXASYNCMAP = 0x40207450
-+ PPPIOCSACTIVE = 0x80107446
-+ PPPIOCSASYNCMAP = 0x80047457
-+ PPPIOCSCOMPRESS = 0x8010744d
-+ PPPIOCSDEBUG = 0x80047440
-+ PPPIOCSFLAGS = 0x80047459
-+ PPPIOCSMAXCID = 0x80047451
-+ PPPIOCSMRRU = 0x8004743b
-+ PPPIOCSMRU = 0x80047452
-+ PPPIOCSNPMODE = 0x8008744b
-+ PPPIOCSPASS = 0x80107447
-+ PPPIOCSRASYNCMAP = 0x80047454
-+ PPPIOCSXASYNCMAP = 0x8020744f
-+ PPPIOCXFERUNIT = 0x2000744e
-+ PROT_SAO = 0x10
-+ PR_SET_PTRACER_ANY = 0xffffffffffffffff
-+ PTRACE_GETEVRREGS = 0x14
-+ PTRACE_GETFPREGS = 0xe
-+ PTRACE_GETREGS64 = 0x16
-+ PTRACE_GETVRREGS = 0x12
-+ PTRACE_GETVSRREGS = 0x1b
-+ PTRACE_GET_DEBUGREG = 0x19
-+ PTRACE_SETEVRREGS = 0x15
-+ PTRACE_SETFPREGS = 0xf
-+ PTRACE_SETREGS64 = 0x17
-+ PTRACE_SETVRREGS = 0x13
-+ PTRACE_SETVSRREGS = 0x1c
-+ PTRACE_SET_DEBUGREG = 0x1a
-+ PTRACE_SINGLEBLOCK = 0x100
-+ PTRACE_SYSEMU = 0x1d
-+ PTRACE_SYSEMU_SINGLESTEP = 0x1e
-+ PT_CCR = 0x26
-+ PT_CTR = 0x23
-+ PT_DAR = 0x29
-+ PT_DSCR = 0x2c
-+ PT_DSISR = 0x2a
-+ PT_FPR0 = 0x30
-+ PT_FPSCR = 0x50
-+ PT_LNK = 0x24
-+ PT_MSR = 0x21
-+ PT_NIP = 0x20
-+ PT_ORIG_R3 = 0x22
-+ PT_R0 = 0x0
-+ PT_R1 = 0x1
-+ PT_R10 = 0xa
-+ PT_R11 = 0xb
-+ PT_R12 = 0xc
-+ PT_R13 = 0xd
-+ PT_R14 = 0xe
-+ PT_R15 = 0xf
-+ PT_R16 = 0x10
-+ PT_R17 = 0x11
-+ PT_R18 = 0x12
-+ PT_R19 = 0x13
-+ PT_R2 = 0x2
-+ PT_R20 = 0x14
-+ PT_R21 = 0x15
-+ PT_R22 = 0x16
-+ PT_R23 = 0x17
-+ PT_R24 = 0x18
-+ PT_R25 = 0x19
-+ PT_R26 = 0x1a
-+ PT_R27 = 0x1b
-+ PT_R28 = 0x1c
-+ PT_R29 = 0x1d
-+ PT_R3 = 0x3
-+ PT_R30 = 0x1e
-+ PT_R31 = 0x1f
-+ PT_R4 = 0x4
-+ PT_R5 = 0x5
-+ PT_R6 = 0x6
-+ PT_R7 = 0x7
-+ PT_R8 = 0x8
-+ PT_R9 = 0x9
-+ PT_REGS_COUNT = 0x2c
-+ PT_RESULT = 0x2b
-+ PT_SOFTE = 0x27
-+ PT_TRAP = 0x28
-+ PT_VR0 = 0x52
-+ PT_VRSAVE = 0x94
-+ PT_VSCR = 0x93
-+ PT_VSR0 = 0x96
-+ PT_VSR31 = 0xd4
-+ PT_XER = 0x25
-+ RLIMIT_AS = 0x9
-+ RLIMIT_MEMLOCK = 0x8
-+ RLIMIT_NOFILE = 0x7
-+ RLIMIT_NPROC = 0x6
-+ RLIMIT_RSS = 0x5
-+ RNDADDENTROPY = 0x80085203
-+ RNDADDTOENTCNT = 0x80045201
-+ RNDCLEARPOOL = 0x20005206
-+ RNDGETENTCNT = 0x40045200
-+ RNDGETPOOL = 0x40085202
-+ RNDRESEEDCRNG = 0x20005207
-+ RNDZAPENTCNT = 0x20005204
-+ RTC_AIE_OFF = 0x20007002
-+ RTC_AIE_ON = 0x20007001
-+ RTC_ALM_READ = 0x40247008
-+ RTC_ALM_SET = 0x80247007
-+ RTC_EPOCH_READ = 0x4008700d
-+ RTC_EPOCH_SET = 0x8008700e
-+ RTC_IRQP_READ = 0x4008700b
-+ RTC_IRQP_SET = 0x8008700c
-+ RTC_PIE_OFF = 0x20007006
-+ RTC_PIE_ON = 0x20007005
-+ RTC_PLL_GET = 0x40207011
-+ RTC_PLL_SET = 0x80207012
-+ RTC_RD_TIME = 0x40247009
-+ RTC_SET_TIME = 0x8024700a
-+ RTC_UIE_OFF = 0x20007004
-+ RTC_UIE_ON = 0x20007003
-+ RTC_VL_CLR = 0x20007014
-+ RTC_VL_READ = 0x40047013
-+ RTC_WIE_OFF = 0x20007010
-+ RTC_WIE_ON = 0x2000700f
-+ RTC_WKALM_RD = 0x40287010
-+ RTC_WKALM_SET = 0x8028700f
-+ 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 = 0x40108907
-+ SIOCGSTAMP_NEW = 0x40108906
-+ SIOCINQ = 0x4004667f
-+ SIOCOUTQ = 0x40047473
-+ 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_BUSY_POLL = 0x2e
-+ 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_NOFCS = 0x2b
-+ SO_OOBINLINE = 0xa
-+ SO_PASSCRED = 0x14
-+ SO_PASSSEC = 0x22
-+ SO_PEEK_OFF = 0x2a
-+ SO_PEERCRED = 0x15
-+ SO_PEERGROUPS = 0x3b
-+ SO_PEERSEC = 0x1f
-+ SO_PROTOCOL = 0x26
-+ SO_RCVBUF = 0x8
-+ SO_RCVBUFFORCE = 0x21
-+ SO_RCVLOWAT = 0x10
-+ SO_RCVTIMEO = 0x12
-+ SO_RCVTIMEO_NEW = 0x42
-+ SO_RCVTIMEO_OLD = 0x12
-+ SO_REUSEADDR = 0x2
-+ SO_REUSEPORT = 0xf
-+ SO_RXQ_OVFL = 0x28
-+ SO_SECURITY_AUTHENTICATION = 0x16
-+ SO_SECURITY_ENCRYPTION_NETWORK = 0x18
-+ SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
-+ SO_SELECT_ERR_QUEUE = 0x2d
-+ SO_SNDBUF = 0x7
-+ SO_SNDBUFFORCE = 0x20
-+ SO_SNDLOWAT = 0x11
-+ SO_SNDTIMEO = 0x13
-+ SO_SNDTIMEO_NEW = 0x43
-+ SO_SNDTIMEO_OLD = 0x13
-+ 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_TXTIME = 0x3d
-+ SO_TYPE = 0x3
-+ SO_WIFI_STATUS = 0x29
-+ SO_ZEROCOPY = 0x3c
-+ TAB1 = 0x400
-+ TAB2 = 0x800
-+ TAB3 = 0xc00
-+ TABDLY = 0xc00
-+ TCFLSH = 0x2000741f
-+ TCGETA = 0x40147417
-+ TCGETS = 0x402c7413
-+ TCSAFLUSH = 0x2
-+ TCSBRK = 0x2000741d
-+ TCSBRKP = 0x5425
-+ TCSETA = 0x80147418
-+ TCSETAF = 0x8014741c
-+ TCSETAW = 0x80147419
-+ TCSETS = 0x802c7414
-+ TCSETSF = 0x802c7416
-+ TCSETSW = 0x802c7415
-+ TCXONC = 0x2000741e
-+ TIOCCBRK = 0x5428
-+ TIOCCONS = 0x541d
-+ TIOCEXCL = 0x540c
-+ TIOCGDEV = 0x40045432
-+ TIOCGETC = 0x40067412
-+ TIOCGETD = 0x5424
-+ TIOCGETP = 0x40067408
-+ TIOCGEXCL = 0x40045440
-+ TIOCGICOUNT = 0x545d
-+ TIOCGISO7816 = 0x40285442
-+ TIOCGLCKTRMIOS = 0x5456
-+ TIOCGLTC = 0x40067474
-+ TIOCGPGRP = 0x40047477
-+ TIOCGPKT = 0x40045438
-+ TIOCGPTLCK = 0x40045439
-+ TIOCGPTN = 0x40045430
-+ TIOCGPTPEER = 0x20005441
-+ TIOCGRS485 = 0x542e
-+ TIOCGSERIAL = 0x541e
-+ TIOCGSID = 0x5429
-+ TIOCGSOFTCAR = 0x5419
-+ TIOCGWINSZ = 0x40087468
-+ TIOCINQ = 0x4004667f
-+ TIOCLINUX = 0x541c
-+ TIOCMBIC = 0x5417
-+ TIOCMBIS = 0x5416
-+ TIOCMGET = 0x5415
-+ TIOCMIWAIT = 0x545c
-+ TIOCMSET = 0x5418
-+ TIOCM_CAR = 0x40
-+ TIOCM_CD = 0x40
-+ TIOCM_CTS = 0x20
-+ TIOCM_DSR = 0x100
-+ TIOCM_LOOP = 0x8000
-+ TIOCM_OUT1 = 0x2000
-+ TIOCM_OUT2 = 0x4000
-+ TIOCM_RI = 0x80
-+ TIOCM_RNG = 0x80
-+ TIOCM_SR = 0x10
-+ TIOCM_ST = 0x8
-+ TIOCNOTTY = 0x5422
-+ TIOCNXCL = 0x540d
-+ TIOCOUTQ = 0x40047473
-+ TIOCPKT = 0x5420
-+ TIOCSBRK = 0x5427
-+ TIOCSCTTY = 0x540e
-+ TIOCSERCONFIG = 0x5453
-+ TIOCSERGETLSR = 0x5459
-+ TIOCSERGETMULTI = 0x545a
-+ TIOCSERGSTRUCT = 0x5458
-+ TIOCSERGWILD = 0x5454
-+ TIOCSERSETMULTI = 0x545b
-+ TIOCSERSWILD = 0x5455
-+ TIOCSER_TEMT = 0x1
-+ TIOCSETC = 0x80067411
-+ TIOCSETD = 0x5423
-+ TIOCSETN = 0x8006740a
-+ TIOCSETP = 0x80067409
-+ TIOCSIG = 0x80045436
-+ TIOCSISO7816 = 0xc0285443
-+ TIOCSLCKTRMIOS = 0x5457
-+ TIOCSLTC = 0x80067475
-+ TIOCSPGRP = 0x80047476
-+ TIOCSPTLCK = 0x80045431
-+ TIOCSRS485 = 0x542f
-+ TIOCSSERIAL = 0x541f
-+ TIOCSSOFTCAR = 0x541a
-+ TIOCSTART = 0x2000746e
-+ TIOCSTI = 0x5412
-+ TIOCSTOP = 0x2000746f
-+ TIOCSWINSZ = 0x80087467
-+ TIOCVHANGUP = 0x5437
-+ TOSTOP = 0x400000
-+ TUNATTACHFILTER = 0x801054d5
-+ TUNDETACHFILTER = 0x801054d6
-+ TUNGETDEVNETNS = 0x200054e3
-+ TUNGETFEATURES = 0x400454cf
-+ TUNGETFILTER = 0x401054db
-+ TUNGETIFF = 0x400454d2
-+ TUNGETSNDBUF = 0x400454d3
-+ TUNGETVNETBE = 0x400454df
-+ TUNGETVNETHDRSZ = 0x400454d7
-+ TUNGETVNETLE = 0x400454dd
-+ TUNSETCARRIER = 0x800454e2
-+ TUNSETDEBUG = 0x800454c9
-+ TUNSETFILTEREBPF = 0x400454e1
-+ TUNSETGROUP = 0x800454ce
-+ TUNSETIFF = 0x800454ca
-+ TUNSETIFINDEX = 0x800454da
-+ TUNSETLINK = 0x800454cd
-+ TUNSETNOCSUM = 0x800454c8
-+ TUNSETOFFLOAD = 0x800454d0
-+ TUNSETOWNER = 0x800454cc
-+ TUNSETPERSIST = 0x800454cb
-+ TUNSETQUEUE = 0x800454d9
-+ TUNSETSNDBUF = 0x800454d4
-+ TUNSETSTEERINGEBPF = 0x400454e0
-+ TUNSETTXFILTER = 0x800454d1
-+ TUNSETVNETBE = 0x800454de
-+ TUNSETVNETHDRSZ = 0x800454d8
-+ TUNSETVNETLE = 0x800454dc
-+ UBI_IOCATT = 0x80186f40
-+ UBI_IOCDET = 0x80046f41
-+ UBI_IOCEBCH = 0x80044f02
-+ UBI_IOCEBER = 0x80044f01
-+ UBI_IOCEBISMAP = 0x40044f05
-+ UBI_IOCEBMAP = 0x80084f03
-+ UBI_IOCEBUNMAP = 0x80044f04
-+ UBI_IOCMKVOL = 0x80986f00
-+ UBI_IOCRMVOL = 0x80046f01
-+ UBI_IOCRNVOL = 0x91106f03
-+ UBI_IOCRPEB = 0x80046f04
-+ UBI_IOCRSVOL = 0x800c6f02
-+ UBI_IOCSETVOLPROP = 0x80104f06
-+ UBI_IOCSPEB = 0x80046f05
-+ UBI_IOCVOLCRBLK = 0x80804f07
-+ UBI_IOCVOLRMBLK = 0x20004f08
-+ UBI_IOCVOLUP = 0x80084f00
-+ VDISCARD = 0x10
-+ VEOF = 0x4
-+ VEOL = 0x6
-+ VEOL2 = 0x8
-+ VMIN = 0x5
-+ VREPRINT = 0xb
-+ VSTART = 0xd
-+ VSTOP = 0xe
-+ VSUSP = 0xc
-+ VSWTC = 0x9
-+ VT1 = 0x10000
-+ VTDLY = 0x10000
-+ VTIME = 0x7
-+ VWERASE = 0xa
-+ WDIOC_GETBOOTSTATUS = 0x40045702
-+ WDIOC_GETPRETIMEOUT = 0x40045709
-+ WDIOC_GETSTATUS = 0x40045701
-+ WDIOC_GETSUPPORT = 0x40285700
-+ WDIOC_GETTEMP = 0x40045703
-+ WDIOC_GETTIMELEFT = 0x4004570a
-+ WDIOC_GETTIMEOUT = 0x40045707
-+ WDIOC_KEEPALIVE = 0x40045705
-+ WDIOC_SETOPTIONS = 0x40045704
-+ WORDSIZE = 0x40
-+ XCASE = 0x4000
-+ XTABS = 0xc00
- )
-
- // Errors
- const (
-- E2BIG = syscall.Errno(0x7)
-- EACCES = syscall.Errno(0xd)
- EADDRINUSE = syscall.Errno(0x62)
- EADDRNOTAVAIL = syscall.Errno(0x63)
- EADV = syscall.Errno(0x44)
- EAFNOSUPPORT = syscall.Errno(0x61)
-- EAGAIN = syscall.Errno(0xb)
- EALREADY = syscall.Errno(0x72)
- EBADE = syscall.Errno(0x34)
-- EBADF = syscall.Errno(0x9)
- EBADFD = syscall.Errno(0x4d)
- EBADMSG = syscall.Errno(0x4a)
- EBADR = syscall.Errno(0x35)
- EBADRQC = syscall.Errno(0x38)
- EBADSLT = syscall.Errno(0x39)
- EBFONT = syscall.Errno(0x3b)
-- EBUSY = syscall.Errno(0x10)
- ECANCELED = syscall.Errno(0x7d)
-- ECHILD = syscall.Errno(0xa)
- ECHRNG = syscall.Errno(0x2c)
- ECOMM = syscall.Errno(0x46)
- ECONNABORTED = syscall.Errno(0x67)
-@@ -1943,23 +562,15 @@ const (
- EDEADLK = syscall.Errno(0x23)
- EDEADLOCK = syscall.Errno(0x3a)
- EDESTADDRREQ = syscall.Errno(0x59)
-- EDOM = syscall.Errno(0x21)
- EDOTDOT = syscall.Errno(0x49)
- EDQUOT = syscall.Errno(0x7a)
-- EEXIST = syscall.Errno(0x11)
-- EFAULT = syscall.Errno(0xe)
-- EFBIG = syscall.Errno(0x1b)
- EHOSTDOWN = syscall.Errno(0x70)
- EHOSTUNREACH = syscall.Errno(0x71)
- EHWPOISON = syscall.Errno(0x85)
- EIDRM = syscall.Errno(0x2b)
- EILSEQ = syscall.Errno(0x54)
- EINPROGRESS = syscall.Errno(0x73)
-- EINTR = syscall.Errno(0x4)
-- EINVAL = syscall.Errno(0x16)
-- EIO = syscall.Errno(0x5)
- EISCONN = syscall.Errno(0x6a)
-- EISDIR = syscall.Errno(0x15)
- EISNAM = syscall.Errno(0x78)
- EKEYEXPIRED = syscall.Errno(0x7f)
- EKEYREJECTED = syscall.Errno(0x81)
-@@ -1976,8 +587,6 @@ const (
- ELNRNG = syscall.Errno(0x30)
- ELOOP = syscall.Errno(0x28)
- EMEDIUMTYPE = syscall.Errno(0x7c)
-- EMFILE = syscall.Errno(0x18)
-- EMLINK = syscall.Errno(0x1f)
- EMSGSIZE = syscall.Errno(0x5a)
- EMULTIHOP = syscall.Errno(0x48)
- ENAMETOOLONG = syscall.Errno(0x24)
-@@ -1985,103 +594,70 @@ const (
- ENETDOWN = syscall.Errno(0x64)
- ENETRESET = syscall.Errno(0x66)
- ENETUNREACH = syscall.Errno(0x65)
-- ENFILE = syscall.Errno(0x17)
- ENOANO = syscall.Errno(0x37)
- ENOBUFS = syscall.Errno(0x69)
- ENOCSI = syscall.Errno(0x32)
- ENODATA = syscall.Errno(0x3d)
-- ENODEV = syscall.Errno(0x13)
-- ENOENT = syscall.Errno(0x2)
-- ENOEXEC = syscall.Errno(0x8)
- ENOKEY = syscall.Errno(0x7e)
- ENOLCK = syscall.Errno(0x25)
- ENOLINK = syscall.Errno(0x43)
- ENOMEDIUM = syscall.Errno(0x7b)
-- ENOMEM = syscall.Errno(0xc)
- ENOMSG = syscall.Errno(0x2a)
- ENONET = syscall.Errno(0x40)
- ENOPKG = syscall.Errno(0x41)
- ENOPROTOOPT = syscall.Errno(0x5c)
-- ENOSPC = syscall.Errno(0x1c)
- ENOSR = syscall.Errno(0x3f)
- ENOSTR = syscall.Errno(0x3c)
- ENOSYS = syscall.Errno(0x26)
-- ENOTBLK = syscall.Errno(0xf)
- ENOTCONN = syscall.Errno(0x6b)
-- ENOTDIR = syscall.Errno(0x14)
- ENOTEMPTY = syscall.Errno(0x27)
- ENOTNAM = syscall.Errno(0x76)
- ENOTRECOVERABLE = syscall.Errno(0x83)
- ENOTSOCK = syscall.Errno(0x58)
- ENOTSUP = syscall.Errno(0x5f)
-- ENOTTY = syscall.Errno(0x19)
- ENOTUNIQ = syscall.Errno(0x4c)
-- ENXIO = syscall.Errno(0x6)
- EOPNOTSUPP = syscall.Errno(0x5f)
- EOVERFLOW = syscall.Errno(0x4b)
- EOWNERDEAD = syscall.Errno(0x82)
-- EPERM = syscall.Errno(0x1)
- EPFNOSUPPORT = syscall.Errno(0x60)
-- EPIPE = syscall.Errno(0x20)
- EPROTO = syscall.Errno(0x47)
- EPROTONOSUPPORT = syscall.Errno(0x5d)
- EPROTOTYPE = syscall.Errno(0x5b)
-- ERANGE = syscall.Errno(0x22)
- EREMCHG = syscall.Errno(0x4e)
- EREMOTE = syscall.Errno(0x42)
- EREMOTEIO = syscall.Errno(0x79)
- ERESTART = syscall.Errno(0x55)
- ERFKILL = syscall.Errno(0x84)
-- EROFS = syscall.Errno(0x1e)
- ESHUTDOWN = syscall.Errno(0x6c)
- ESOCKTNOSUPPORT = syscall.Errno(0x5e)
-- ESPIPE = syscall.Errno(0x1d)
-- ESRCH = syscall.Errno(0x3)
- ESRMNT = syscall.Errno(0x45)
- ESTALE = syscall.Errno(0x74)
- ESTRPIPE = syscall.Errno(0x56)
- ETIME = syscall.Errno(0x3e)
- ETIMEDOUT = syscall.Errno(0x6e)
- ETOOMANYREFS = syscall.Errno(0x6d)
-- ETXTBSY = syscall.Errno(0x1a)
- EUCLEAN = syscall.Errno(0x75)
- EUNATCH = syscall.Errno(0x31)
- EUSERS = syscall.Errno(0x57)
-- EWOULDBLOCK = syscall.Errno(0xb)
-- EXDEV = syscall.Errno(0x12)
- EXFULL = syscall.Errno(0x36)
- )
-
- // Signals
- const (
-- SIGABRT = syscall.Signal(0x6)
-- SIGALRM = syscall.Signal(0xe)
- SIGBUS = syscall.Signal(0x7)
- SIGCHLD = syscall.Signal(0x11)
- SIGCLD = syscall.Signal(0x11)
- SIGCONT = syscall.Signal(0x12)
-- SIGFPE = syscall.Signal(0x8)
-- SIGHUP = syscall.Signal(0x1)
-- SIGILL = syscall.Signal(0x4)
-- SIGINT = syscall.Signal(0x2)
- SIGIO = syscall.Signal(0x1d)
-- SIGIOT = syscall.Signal(0x6)
-- SIGKILL = syscall.Signal(0x9)
-- SIGPIPE = syscall.Signal(0xd)
- SIGPOLL = syscall.Signal(0x1d)
- SIGPROF = syscall.Signal(0x1b)
- SIGPWR = syscall.Signal(0x1e)
-- SIGQUIT = syscall.Signal(0x3)
-- SIGSEGV = syscall.Signal(0xb)
- SIGSTKFLT = syscall.Signal(0x10)
- SIGSTOP = syscall.Signal(0x13)
- SIGSYS = syscall.Signal(0x1f)
-- SIGTERM = syscall.Signal(0xf)
-- SIGTRAP = syscall.Signal(0x5)
- SIGTSTP = syscall.Signal(0x14)
- SIGTTIN = syscall.Signal(0x15)
- SIGTTOU = syscall.Signal(0x16)
-- SIGUNUSED = syscall.Signal(0x1f)
- SIGURG = syscall.Signal(0x17)
- SIGUSR1 = syscall.Signal(0xa)
- SIGUSR2 = syscall.Signal(0xc)
-@@ -2092,172 +668,180 @@ const (
- )
-
- // Error table
--var errors = [...]string{
-- 1: "operation not permitted",
-- 2: "no such file or directory",
-- 3: "no such process",
-- 4: "interrupted system call",
-- 5: "input/output error",
-- 6: "no such device or address",
-- 7: "argument list too long",
-- 8: "exec format error",
-- 9: "bad file descriptor",
-- 10: "no child processes",
-- 11: "resource temporarily unavailable",
-- 12: "cannot allocate memory",
-- 13: "permission denied",
-- 14: "bad address",
-- 15: "block device required",
-- 16: "device or resource busy",
-- 17: "file exists",
-- 18: "invalid cross-device link",
-- 19: "no such device",
-- 20: "not a directory",
-- 21: "is a directory",
-- 22: "invalid argument",
-- 23: "too many open files in system",
-- 24: "too many open files",
-- 25: "inappropriate ioctl for device",
-- 26: "text file busy",
-- 27: "file too large",
-- 28: "no space left on device",
-- 29: "illegal seek",
-- 30: "read-only file system",
-- 31: "too many links",
-- 32: "broken pipe",
-- 33: "numerical argument out of domain",
-- 34: "numerical result out of range",
-- 35: "resource deadlock avoided",
-- 36: "file name too long",
-- 37: "no locks available",
-- 38: "function not implemented",
-- 39: "directory not empty",
-- 40: "too many levels of symbolic links",
-- 42: "no message of desired type",
-- 43: "identifier removed",
-- 44: "channel number out of range",
-- 45: "level 2 not synchronized",
-- 46: "level 3 halted",
-- 47: "level 3 reset",
-- 48: "link number out of range",
-- 49: "protocol driver not attached",
-- 50: "no CSI structure available",
-- 51: "level 2 halted",
-- 52: "invalid exchange",
-- 53: "invalid request descriptor",
-- 54: "exchange full",
-- 55: "no anode",
-- 56: "invalid request code",
-- 57: "invalid slot",
-- 58: "file locking deadlock error",
-- 59: "bad font file format",
-- 60: "device not a stream",
-- 61: "no data available",
-- 62: "timer expired",
-- 63: "out of streams resources",
-- 64: "machine is not on the network",
-- 65: "package not installed",
-- 66: "object is remote",
-- 67: "link has been severed",
-- 68: "advertise error",
-- 69: "srmount error",
-- 70: "communication error on send",
-- 71: "protocol error",
-- 72: "multihop attempted",
-- 73: "RFS specific error",
-- 74: "bad message",
-- 75: "value too large for defined data type",
-- 76: "name not unique on network",
-- 77: "file descriptor in bad state",
-- 78: "remote address changed",
-- 79: "can not access a needed shared library",
-- 80: "accessing a corrupted shared library",
-- 81: ".lib section in a.out corrupted",
-- 82: "attempting to link in too many shared libraries",
-- 83: "cannot exec a shared library directly",
-- 84: "invalid or incomplete multibyte or wide character",
-- 85: "interrupted system call should be restarted",
-- 86: "streams pipe error",
-- 87: "too many users",
-- 88: "socket operation on non-socket",
-- 89: "destination address required",
-- 90: "message too long",
-- 91: "protocol wrong type for socket",
-- 92: "protocol not available",
-- 93: "protocol not supported",
-- 94: "socket type not supported",
-- 95: "operation not supported",
-- 96: "protocol family not supported",
-- 97: "address family not supported by protocol",
-- 98: "address already in use",
-- 99: "cannot assign requested address",
-- 100: "network is down",
-- 101: "network is unreachable",
-- 102: "network dropped connection on reset",
-- 103: "software caused connection abort",
-- 104: "connection reset by peer",
-- 105: "no buffer space available",
-- 106: "transport endpoint is already connected",
-- 107: "transport endpoint is not connected",
-- 108: "cannot send after transport endpoint shutdown",
-- 109: "too many references: cannot splice",
-- 110: "connection timed out",
-- 111: "connection refused",
-- 112: "host is down",
-- 113: "no route to host",
-- 114: "operation already in progress",
-- 115: "operation now in progress",
-- 116: "stale file handle",
-- 117: "structure needs cleaning",
-- 118: "not a XENIX named type file",
-- 119: "no XENIX semaphores available",
-- 120: "is a named type file",
-- 121: "remote I/O error",
-- 122: "disk quota exceeded",
-- 123: "no medium found",
-- 124: "wrong medium type",
-- 125: "operation canceled",
-- 126: "required key not available",
-- 127: "key has expired",
-- 128: "key has been revoked",
-- 129: "key was rejected by service",
-- 130: "owner died",
-- 131: "state not recoverable",
-- 132: "operation not possible due to RF-kill",
-- 133: "memory page has hardware error",
-+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"},
-+ {58, "EDEADLOCK", "file locking deadlock error"},
-+ {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 signals = [...]string{
-- 1: "hangup",
-- 2: "interrupt",
-- 3: "quit",
-- 4: "illegal instruction",
-- 5: "trace/breakpoint trap",
-- 6: "aborted",
-- 7: "bus error",
-- 8: "floating point exception",
-- 9: "killed",
-- 10: "user defined signal 1",
-- 11: "segmentation fault",
-- 12: "user defined signal 2",
-- 13: "broken pipe",
-- 14: "alarm clock",
-- 15: "terminated",
-- 16: "stack fault",
-- 17: "child exited",
-- 18: "continued",
-- 19: "stopped (signal)",
-- 20: "stopped",
-- 21: "stopped (tty input)",
-- 22: "stopped (tty output)",
-- 23: "urgent I/O condition",
-- 24: "CPU time limit exceeded",
-- 25: "file size limit exceeded",
-- 26: "virtual timer expired",
-- 27: "profiling timer expired",
-- 28: "window changed",
-- 29: "I/O possible",
-- 30: "power failure",
-- 31: "bad system call",
-+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_ppc64le.go b/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go
-index ad29c3d3..4231b20b 100644
---- a/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go
-+++ b/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go
-@@ -3,7 +3,7 @@
-
- // +build ppc64le,linux
-
--// Created by cgo -godefs - DO NOT EDIT
-+// Code generated by cmd/cgo -godefs; DO NOT EDIT.
- // cgo -godefs -- -Wall -Werror -static -I/tmp/include _const.go
-
- package unix
-@@ -11,1930 +11,549 @@ package unix
- import "syscall"
-
- const (
-- AF_ALG = 0x26
-- AF_APPLETALK = 0x5
-- AF_ASH = 0x12
-- AF_ATMPVC = 0x8
-- AF_ATMSVC = 0x14
-- AF_AX25 = 0x3
-- AF_BLUETOOTH = 0x1f
-- AF_BRIDGE = 0x7
-- AF_CAIF = 0x25
-- AF_CAN = 0x1d
-- AF_DECnet = 0xc
-- AF_ECONET = 0x13
-- AF_FILE = 0x1
-- AF_IB = 0x1b
-- AF_IEEE802154 = 0x24
-- AF_INET = 0x2
-- AF_INET6 = 0xa
-- AF_IPX = 0x4
-- AF_IRDA = 0x17
-- AF_ISDN = 0x22
-- AF_IUCV = 0x20
-- AF_KCM = 0x29
-- AF_KEY = 0xf
-- AF_LLC = 0x1a
-- AF_LOCAL = 0x1
-- AF_MAX = 0x2b
-- AF_MPLS = 0x1c
-- AF_NETBEUI = 0xd
-- AF_NETLINK = 0x10
-- AF_NETROM = 0x6
-- AF_NFC = 0x27
-- AF_PACKET = 0x11
-- AF_PHONET = 0x23
-- AF_PPPOX = 0x18
-- AF_QIPCRTR = 0x2a
-- AF_RDS = 0x15
-- AF_ROSE = 0xb
-- AF_ROUTE = 0x10
-- AF_RXRPC = 0x21
-- AF_SECURITY = 0xe
-- AF_SNA = 0x16
-- AF_TIPC = 0x1e
-- AF_UNIX = 0x1
-- AF_UNSPEC = 0x0
-- AF_VSOCK = 0x28
-- AF_WANPIPE = 0x19
-- AF_X25 = 0x9
-- ALG_OP_DECRYPT = 0x0
-- ALG_OP_ENCRYPT = 0x1
-- ALG_SET_AEAD_ASSOCLEN = 0x4
-- ALG_SET_AEAD_AUTHSIZE = 0x5
-- ALG_SET_IV = 0x2
-- ALG_SET_KEY = 0x1
-- ALG_SET_OP = 0x3
-- ARPHRD_6LOWPAN = 0x339
-- ARPHRD_ADAPT = 0x108
-- ARPHRD_APPLETLK = 0x8
-- ARPHRD_ARCNET = 0x7
-- ARPHRD_ASH = 0x30d
-- ARPHRD_ATM = 0x13
-- ARPHRD_AX25 = 0x3
-- ARPHRD_BIF = 0x307
-- ARPHRD_CAIF = 0x336
-- ARPHRD_CAN = 0x118
-- ARPHRD_CHAOS = 0x5
-- ARPHRD_CISCO = 0x201
-- ARPHRD_CSLIP = 0x101
-- ARPHRD_CSLIP6 = 0x103
-- ARPHRD_DDCMP = 0x205
-- ARPHRD_DLCI = 0xf
-- ARPHRD_ECONET = 0x30e
-- ARPHRD_EETHER = 0x2
-- ARPHRD_ETHER = 0x1
-- ARPHRD_EUI64 = 0x1b
-- ARPHRD_FCAL = 0x311
-- ARPHRD_FCFABRIC = 0x313
-- ARPHRD_FCPL = 0x312
-- ARPHRD_FCPP = 0x310
-- ARPHRD_FDDI = 0x306
-- ARPHRD_FRAD = 0x302
-- ARPHRD_HDLC = 0x201
-- ARPHRD_HIPPI = 0x30c
-- ARPHRD_HWX25 = 0x110
-- ARPHRD_IEEE1394 = 0x18
-- ARPHRD_IEEE802 = 0x6
-- ARPHRD_IEEE80211 = 0x321
-- ARPHRD_IEEE80211_PRISM = 0x322
-- ARPHRD_IEEE80211_RADIOTAP = 0x323
-- ARPHRD_IEEE802154 = 0x324
-- ARPHRD_IEEE802154_MONITOR = 0x325
-- ARPHRD_IEEE802_TR = 0x320
-- ARPHRD_INFINIBAND = 0x20
-- ARPHRD_IP6GRE = 0x337
-- ARPHRD_IPDDP = 0x309
-- ARPHRD_IPGRE = 0x30a
-- ARPHRD_IRDA = 0x30f
-- ARPHRD_LAPB = 0x204
-- ARPHRD_LOCALTLK = 0x305
-- ARPHRD_LOOPBACK = 0x304
-- ARPHRD_METRICOM = 0x17
-- ARPHRD_NETLINK = 0x338
-- ARPHRD_NETROM = 0x0
-- ARPHRD_NONE = 0xfffe
-- ARPHRD_PHONET = 0x334
-- ARPHRD_PHONET_PIPE = 0x335
-- ARPHRD_PIMREG = 0x30b
-- ARPHRD_PPP = 0x200
-- ARPHRD_PRONET = 0x4
-- ARPHRD_RAWHDLC = 0x206
-- ARPHRD_ROSE = 0x10e
-- ARPHRD_RSRVD = 0x104
-- ARPHRD_SIT = 0x308
-- ARPHRD_SKIP = 0x303
-- ARPHRD_SLIP = 0x100
-- ARPHRD_SLIP6 = 0x102
-- ARPHRD_TUNNEL = 0x300
-- ARPHRD_TUNNEL6 = 0x301
-- ARPHRD_VOID = 0xffff
-- ARPHRD_X25 = 0x10f
-- B0 = 0x0
-- B1000000 = 0x17
-- B110 = 0x3
-- B115200 = 0x11
-- B1152000 = 0x18
-- B1200 = 0x9
-- B134 = 0x4
-- B150 = 0x5
-- B1500000 = 0x19
-- B1800 = 0xa
-- B19200 = 0xe
-- B200 = 0x6
-- B2000000 = 0x1a
-- B230400 = 0x12
-- B2400 = 0xb
-- B2500000 = 0x1b
-- B300 = 0x7
-- B3000000 = 0x1c
-- B3500000 = 0x1d
-- B38400 = 0xf
-- B4000000 = 0x1e
-- B460800 = 0x13
-- B4800 = 0xc
-- B50 = 0x1
-- B500000 = 0x14
-- B57600 = 0x10
-- B576000 = 0x15
-- B600 = 0x8
-- B75 = 0x2
-- B921600 = 0x16
-- B9600 = 0xd
-- BLKBSZGET = 0x40081270
-- BLKBSZSET = 0x80081271
-- BLKFLSBUF = 0x20001261
-- BLKFRAGET = 0x20001265
-- BLKFRASET = 0x20001264
-- BLKGETSIZE = 0x20001260
-- BLKGETSIZE64 = 0x40081272
-- BLKPBSZGET = 0x2000127b
-- BLKRAGET = 0x20001263
-- BLKRASET = 0x20001262
-- BLKROGET = 0x2000125e
-- BLKROSET = 0x2000125d
-- BLKRRPART = 0x2000125f
-- BLKSECTGET = 0x20001267
-- BLKSECTSET = 0x20001266
-- BLKSSZGET = 0x20001268
-- BOTHER = 0x1f
-- BPF_A = 0x10
-- BPF_ABS = 0x20
-- BPF_ADD = 0x0
-- BPF_ALU = 0x4
-- BPF_AND = 0x50
-- BPF_B = 0x10
-- BPF_DIV = 0x30
-- BPF_H = 0x8
-- BPF_IMM = 0x0
-- BPF_IND = 0x40
-- BPF_JA = 0x0
-- BPF_JEQ = 0x10
-- BPF_JGE = 0x30
-- BPF_JGT = 0x20
-- BPF_JMP = 0x5
-- BPF_JSET = 0x40
-- BPF_K = 0x0
-- BPF_LD = 0x0
-- BPF_LDX = 0x1
-- BPF_LEN = 0x80
-- BPF_LL_OFF = -0x200000
-- BPF_LSH = 0x60
-- BPF_MAJOR_VERSION = 0x1
-- BPF_MAXINSNS = 0x1000
-- BPF_MEM = 0x60
-- BPF_MEMWORDS = 0x10
-- BPF_MINOR_VERSION = 0x1
-- BPF_MISC = 0x7
-- BPF_MOD = 0x90
-- BPF_MSH = 0xa0
-- BPF_MUL = 0x20
-- BPF_NEG = 0x80
-- BPF_NET_OFF = -0x100000
-- BPF_OR = 0x40
-- BPF_RET = 0x6
-- BPF_RSH = 0x70
-- BPF_ST = 0x2
-- BPF_STX = 0x3
-- BPF_SUB = 0x10
-- BPF_TAX = 0x0
-- BPF_TXA = 0x80
-- BPF_W = 0x0
-- BPF_X = 0x8
-- BPF_XOR = 0xa0
-- BRKINT = 0x2
-- BS0 = 0x0
-- BS1 = 0x8000
-- BSDLY = 0x8000
-- CAN_BCM = 0x2
-- CAN_EFF_FLAG = 0x80000000
-- CAN_EFF_ID_BITS = 0x1d
-- CAN_EFF_MASK = 0x1fffffff
-- CAN_ERR_FLAG = 0x20000000
-- CAN_ERR_MASK = 0x1fffffff
-- CAN_INV_FILTER = 0x20000000
-- CAN_ISOTP = 0x6
-- CAN_MAX_DLC = 0x8
-- CAN_MAX_DLEN = 0x8
-- CAN_MCNET = 0x5
-- CAN_MTU = 0x10
-- CAN_NPROTO = 0x7
-- CAN_RAW = 0x1
-- CAN_RAW_FILTER_MAX = 0x200
-- CAN_RTR_FLAG = 0x40000000
-- CAN_SFF_ID_BITS = 0xb
-- CAN_SFF_MASK = 0x7ff
-- CAN_TP16 = 0x3
-- CAN_TP20 = 0x4
-- CBAUD = 0xff
-- CBAUDEX = 0x0
-- CFLUSH = 0xf
-- CIBAUD = 0xff0000
-- CLOCAL = 0x8000
-- CLOCK_BOOTTIME = 0x7
-- CLOCK_BOOTTIME_ALARM = 0x9
-- CLOCK_DEFAULT = 0x0
-- CLOCK_EXT = 0x1
-- CLOCK_INT = 0x2
-- CLOCK_MONOTONIC = 0x1
-- CLOCK_MONOTONIC_COARSE = 0x6
-- CLOCK_MONOTONIC_RAW = 0x4
-- CLOCK_PROCESS_CPUTIME_ID = 0x2
-- CLOCK_REALTIME = 0x0
-- CLOCK_REALTIME_ALARM = 0x8
-- CLOCK_REALTIME_COARSE = 0x5
-- CLOCK_TAI = 0xb
-- CLOCK_THREAD_CPUTIME_ID = 0x3
-- CLOCK_TXFROMRX = 0x4
-- CLOCK_TXINT = 0x3
-- CLONE_CHILD_CLEARTID = 0x200000
-- CLONE_CHILD_SETTID = 0x1000000
-- CLONE_DETACHED = 0x400000
-- CLONE_FILES = 0x400
-- CLONE_FS = 0x200
-- CLONE_IO = 0x80000000
-- CLONE_NEWCGROUP = 0x2000000
-- CLONE_NEWIPC = 0x8000000
-- CLONE_NEWNET = 0x40000000
-- CLONE_NEWNS = 0x20000
-- CLONE_NEWPID = 0x20000000
-- CLONE_NEWUSER = 0x10000000
-- CLONE_NEWUTS = 0x4000000
-- CLONE_PARENT = 0x8000
-- CLONE_PARENT_SETTID = 0x100000
-- CLONE_PTRACE = 0x2000
-- CLONE_SETTLS = 0x80000
-- CLONE_SIGHAND = 0x800
-- CLONE_SYSVSEM = 0x40000
-- CLONE_THREAD = 0x10000
-- CLONE_UNTRACED = 0x800000
-- CLONE_VFORK = 0x4000
-- CLONE_VM = 0x100
-- CMSPAR = 0x40000000
-- CR0 = 0x0
-- CR1 = 0x1000
-- CR2 = 0x2000
-- CR3 = 0x3000
-- CRDLY = 0x3000
-- CREAD = 0x800
-- CRTSCTS = 0x80000000
-- CS5 = 0x0
-- CS6 = 0x100
-- CS7 = 0x200
-- CS8 = 0x300
-- CSIGNAL = 0xff
-- CSIZE = 0x300
-- CSTART = 0x11
-- CSTATUS = 0x0
-- CSTOP = 0x13
-- CSTOPB = 0x400
-- CSUSP = 0x1a
-- DT_BLK = 0x6
-- DT_CHR = 0x2
-- DT_DIR = 0x4
-- DT_FIFO = 0x1
-- DT_LNK = 0xa
-- DT_REG = 0x8
-- DT_SOCK = 0xc
-- DT_UNKNOWN = 0x0
-- DT_WHT = 0xe
-- ECHO = 0x8
-- ECHOCTL = 0x40
-- ECHOE = 0x2
-- ECHOK = 0x4
-- ECHOKE = 0x1
-- ECHONL = 0x10
-- ECHOPRT = 0x20
-- EFD_CLOEXEC = 0x80000
-- EFD_NONBLOCK = 0x800
-- EFD_SEMAPHORE = 0x1
-- ENCODING_DEFAULT = 0x0
-- ENCODING_FM_MARK = 0x3
-- ENCODING_FM_SPACE = 0x4
-- ENCODING_MANCHESTER = 0x5
-- ENCODING_NRZ = 0x1
-- ENCODING_NRZI = 0x2
-- EPOLLERR = 0x8
-- EPOLLET = 0x80000000
-- EPOLLEXCLUSIVE = 0x10000000
-- EPOLLHUP = 0x10
-- EPOLLIN = 0x1
-- EPOLLMSG = 0x400
-- EPOLLONESHOT = 0x40000000
-- EPOLLOUT = 0x4
-- EPOLLPRI = 0x2
-- EPOLLRDBAND = 0x80
-- EPOLLRDHUP = 0x2000
-- EPOLLRDNORM = 0x40
-- EPOLLWAKEUP = 0x20000000
-- EPOLLWRBAND = 0x200
-- EPOLLWRNORM = 0x100
-- EPOLL_CLOEXEC = 0x80000
-- EPOLL_CTL_ADD = 0x1
-- EPOLL_CTL_DEL = 0x2
-- EPOLL_CTL_MOD = 0x3
-- ETH_P_1588 = 0x88f7
-- ETH_P_8021AD = 0x88a8
-- ETH_P_8021AH = 0x88e7
-- ETH_P_8021Q = 0x8100
-- ETH_P_80221 = 0x8917
-- ETH_P_802_2 = 0x4
-- ETH_P_802_3 = 0x1
-- ETH_P_802_3_MIN = 0x600
-- ETH_P_802_EX1 = 0x88b5
-- ETH_P_AARP = 0x80f3
-- ETH_P_AF_IUCV = 0xfbfb
-- ETH_P_ALL = 0x3
-- ETH_P_AOE = 0x88a2
-- ETH_P_ARCNET = 0x1a
-- ETH_P_ARP = 0x806
-- ETH_P_ATALK = 0x809b
-- ETH_P_ATMFATE = 0x8884
-- ETH_P_ATMMPOA = 0x884c
-- ETH_P_AX25 = 0x2
-- ETH_P_BATMAN = 0x4305
-- ETH_P_BPQ = 0x8ff
-- ETH_P_CAIF = 0xf7
-- ETH_P_CAN = 0xc
-- ETH_P_CANFD = 0xd
-- ETH_P_CONTROL = 0x16
-- ETH_P_CUST = 0x6006
-- ETH_P_DDCMP = 0x6
-- ETH_P_DEC = 0x6000
-- ETH_P_DIAG = 0x6005
-- ETH_P_DNA_DL = 0x6001
-- ETH_P_DNA_RC = 0x6002
-- ETH_P_DNA_RT = 0x6003
-- ETH_P_DSA = 0x1b
-- ETH_P_ECONET = 0x18
-- ETH_P_EDSA = 0xdada
-- ETH_P_FCOE = 0x8906
-- ETH_P_FIP = 0x8914
-- ETH_P_HDLC = 0x19
-- ETH_P_HSR = 0x892f
-- ETH_P_IEEE802154 = 0xf6
-- ETH_P_IEEEPUP = 0xa00
-- ETH_P_IEEEPUPAT = 0xa01
-- ETH_P_IP = 0x800
-- ETH_P_IPV6 = 0x86dd
-- ETH_P_IPX = 0x8137
-- ETH_P_IRDA = 0x17
-- ETH_P_LAT = 0x6004
-- ETH_P_LINK_CTL = 0x886c
-- ETH_P_LOCALTALK = 0x9
-- ETH_P_LOOP = 0x60
-- ETH_P_LOOPBACK = 0x9000
-- ETH_P_MACSEC = 0x88e5
-- ETH_P_MOBITEX = 0x15
-- ETH_P_MPLS_MC = 0x8848
-- ETH_P_MPLS_UC = 0x8847
-- ETH_P_MVRP = 0x88f5
-- ETH_P_NCSI = 0x88f8
-- ETH_P_PAE = 0x888e
-- ETH_P_PAUSE = 0x8808
-- ETH_P_PHONET = 0xf5
-- ETH_P_PPPTALK = 0x10
-- ETH_P_PPP_DISC = 0x8863
-- ETH_P_PPP_MP = 0x8
-- ETH_P_PPP_SES = 0x8864
-- ETH_P_PRP = 0x88fb
-- ETH_P_PUP = 0x200
-- ETH_P_PUPAT = 0x201
-- ETH_P_QINQ1 = 0x9100
-- ETH_P_QINQ2 = 0x9200
-- ETH_P_QINQ3 = 0x9300
-- ETH_P_RARP = 0x8035
-- ETH_P_SCA = 0x6007
-- ETH_P_SLOW = 0x8809
-- ETH_P_SNAP = 0x5
-- ETH_P_TDLS = 0x890d
-- ETH_P_TEB = 0x6558
-- ETH_P_TIPC = 0x88ca
-- ETH_P_TRAILER = 0x1c
-- ETH_P_TR_802_2 = 0x11
-- ETH_P_TSN = 0x22f0
-- ETH_P_WAN_PPP = 0x7
-- ETH_P_WCCP = 0x883e
-- ETH_P_X25 = 0x805
-- ETH_P_XDSA = 0xf8
-- EXTA = 0xe
-- EXTB = 0xf
-- EXTPROC = 0x10000000
-- FALLOC_FL_COLLAPSE_RANGE = 0x8
-- FALLOC_FL_INSERT_RANGE = 0x20
-- FALLOC_FL_KEEP_SIZE = 0x1
-- FALLOC_FL_NO_HIDE_STALE = 0x4
-- FALLOC_FL_PUNCH_HOLE = 0x2
-- FALLOC_FL_UNSHARE_RANGE = 0x40
-- FALLOC_FL_ZERO_RANGE = 0x10
-- FD_CLOEXEC = 0x1
-- FD_SETSIZE = 0x400
-- FF0 = 0x0
-- FF1 = 0x4000
-- FFDLY = 0x4000
-- FLUSHO = 0x800000
-- FS_ENCRYPTION_MODE_AES_256_CBC = 0x3
-- FS_ENCRYPTION_MODE_AES_256_CTS = 0x4
-- FS_ENCRYPTION_MODE_AES_256_GCM = 0x2
-- FS_ENCRYPTION_MODE_AES_256_XTS = 0x1
-- FS_ENCRYPTION_MODE_INVALID = 0x0
-- FS_IOC_GET_ENCRYPTION_POLICY = 0x800c6615
-- FS_IOC_GET_ENCRYPTION_PWSALT = 0x80106614
-- FS_IOC_SET_ENCRYPTION_POLICY = 0x400c6613
-- FS_KEY_DESCRIPTOR_SIZE = 0x8
-- FS_KEY_DESC_PREFIX = "fscrypt:"
-- FS_KEY_DESC_PREFIX_SIZE = 0x8
-- FS_MAX_KEY_SIZE = 0x40
-- FS_POLICY_FLAGS_PAD_16 = 0x2
-- FS_POLICY_FLAGS_PAD_32 = 0x3
-- FS_POLICY_FLAGS_PAD_4 = 0x0
-- FS_POLICY_FLAGS_PAD_8 = 0x1
-- FS_POLICY_FLAGS_PAD_MASK = 0x3
-- FS_POLICY_FLAGS_VALID = 0x3
-- F_DUPFD = 0x0
-- F_DUPFD_CLOEXEC = 0x406
-- F_EXLCK = 0x4
-- F_GETFD = 0x1
-- F_GETFL = 0x3
-- F_GETLEASE = 0x401
-- F_GETLK = 0x5
-- F_GETLK64 = 0xc
-- F_GETOWN = 0x9
-- F_GETOWN_EX = 0x10
-- F_GETPIPE_SZ = 0x408
-- F_GETSIG = 0xb
-- F_LOCK = 0x1
-- F_NOTIFY = 0x402
-- F_OFD_GETLK = 0x24
-- F_OFD_SETLK = 0x25
-- F_OFD_SETLKW = 0x26
-- F_OK = 0x0
-- F_RDLCK = 0x0
-- F_SETFD = 0x2
-- F_SETFL = 0x4
-- F_SETLEASE = 0x400
-- F_SETLK = 0x6
-- F_SETLK64 = 0xd
-- F_SETLKW = 0x7
-- F_SETLKW64 = 0xe
-- F_SETOWN = 0x8
-- F_SETOWN_EX = 0xf
-- F_SETPIPE_SZ = 0x407
-- F_SETSIG = 0xa
-- F_SHLCK = 0x8
-- F_TEST = 0x3
-- F_TLOCK = 0x2
-- F_ULOCK = 0x0
-- F_UNLCK = 0x2
-- F_WRLCK = 0x1
-- GENL_ADMIN_PERM = 0x1
-- GENL_CMD_CAP_DO = 0x2
-- GENL_CMD_CAP_DUMP = 0x4
-- GENL_CMD_CAP_HASPOL = 0x8
-- GENL_HDRLEN = 0x4
-- GENL_ID_CTRL = 0x10
-- GENL_ID_PMCRAID = 0x12
-- GENL_ID_VFS_DQUOT = 0x11
-- GENL_MAX_ID = 0x3ff
-- GENL_MIN_ID = 0x10
-- GENL_NAMSIZ = 0x10
-- GENL_START_ALLOC = 0x13
-- GENL_UNS_ADMIN_PERM = 0x10
-- GRND_NONBLOCK = 0x1
-- GRND_RANDOM = 0x2
-- HUPCL = 0x4000
-- IBSHIFT = 0x10
-- ICANON = 0x100
-- ICMPV6_FILTER = 0x1
-- ICRNL = 0x100
-- IEXTEN = 0x400
-- IFA_F_DADFAILED = 0x8
-- IFA_F_DEPRECATED = 0x20
-- IFA_F_HOMEADDRESS = 0x10
-- IFA_F_MANAGETEMPADDR = 0x100
-- IFA_F_MCAUTOJOIN = 0x400
-- IFA_F_NODAD = 0x2
-- IFA_F_NOPREFIXROUTE = 0x200
-- IFA_F_OPTIMISTIC = 0x4
-- IFA_F_PERMANENT = 0x80
-- IFA_F_SECONDARY = 0x1
-- IFA_F_STABLE_PRIVACY = 0x800
-- IFA_F_TEMPORARY = 0x1
-- IFA_F_TENTATIVE = 0x40
-- IFA_MAX = 0x8
-- IFF_ALLMULTI = 0x200
-- IFF_ATTACH_QUEUE = 0x200
-- IFF_AUTOMEDIA = 0x4000
-- IFF_BROADCAST = 0x2
-- IFF_DEBUG = 0x4
-- IFF_DETACH_QUEUE = 0x400
-- IFF_DORMANT = 0x20000
-- IFF_DYNAMIC = 0x8000
-- IFF_ECHO = 0x40000
-- IFF_LOOPBACK = 0x8
-- IFF_LOWER_UP = 0x10000
-- IFF_MASTER = 0x400
-- IFF_MULTICAST = 0x1000
-- IFF_MULTI_QUEUE = 0x100
-- IFF_NOARP = 0x80
-- IFF_NOFILTER = 0x1000
-- IFF_NOTRAILERS = 0x20
-- IFF_NO_PI = 0x1000
-- IFF_ONE_QUEUE = 0x2000
-- IFF_PERSIST = 0x800
-- IFF_POINTOPOINT = 0x10
-- IFF_PORTSEL = 0x2000
-- IFF_PROMISC = 0x100
-- IFF_RUNNING = 0x40
-- IFF_SLAVE = 0x800
-- IFF_TAP = 0x2
-- IFF_TUN = 0x1
-- IFF_TUN_EXCL = 0x8000
-- IFF_UP = 0x1
-- IFF_VNET_HDR = 0x4000
-- IFF_VOLATILE = 0x70c5a
-- IFNAMSIZ = 0x10
-- IGNBRK = 0x1
-- IGNCR = 0x80
-- IGNPAR = 0x4
-- IMAXBEL = 0x2000
-- INLCR = 0x40
-- INPCK = 0x10
-- IN_ACCESS = 0x1
-- IN_ALL_EVENTS = 0xfff
-- IN_ATTRIB = 0x4
-- IN_CLASSA_HOST = 0xffffff
-- IN_CLASSA_MAX = 0x80
-- IN_CLASSA_NET = 0xff000000
-- IN_CLASSA_NSHIFT = 0x18
-- IN_CLASSB_HOST = 0xffff
-- IN_CLASSB_MAX = 0x10000
-- IN_CLASSB_NET = 0xffff0000
-- IN_CLASSB_NSHIFT = 0x10
-- IN_CLASSC_HOST = 0xff
-- IN_CLASSC_NET = 0xffffff00
-- IN_CLASSC_NSHIFT = 0x8
-- IN_CLOEXEC = 0x80000
-- IN_CLOSE = 0x18
-- IN_CLOSE_NOWRITE = 0x10
-- IN_CLOSE_WRITE = 0x8
-- IN_CREATE = 0x100
-- IN_DELETE = 0x200
-- IN_DELETE_SELF = 0x400
-- IN_DONT_FOLLOW = 0x2000000
-- IN_EXCL_UNLINK = 0x4000000
-- IN_IGNORED = 0x8000
-- IN_ISDIR = 0x40000000
-- IN_LOOPBACKNET = 0x7f
-- IN_MASK_ADD = 0x20000000
-- IN_MODIFY = 0x2
-- IN_MOVE = 0xc0
-- IN_MOVED_FROM = 0x40
-- IN_MOVED_TO = 0x80
-- IN_MOVE_SELF = 0x800
-- IN_NONBLOCK = 0x800
-- IN_ONESHOT = 0x80000000
-- IN_ONLYDIR = 0x1000000
-- IN_OPEN = 0x20
-- IN_Q_OVERFLOW = 0x4000
-- IN_UNMOUNT = 0x2000
-- IPPROTO_AH = 0x33
-- IPPROTO_BEETPH = 0x5e
-- IPPROTO_COMP = 0x6c
-- IPPROTO_DCCP = 0x21
-- IPPROTO_DSTOPTS = 0x3c
-- IPPROTO_EGP = 0x8
-- IPPROTO_ENCAP = 0x62
-- IPPROTO_ESP = 0x32
-- IPPROTO_FRAGMENT = 0x2c
-- IPPROTO_GRE = 0x2f
-- IPPROTO_HOPOPTS = 0x0
-- IPPROTO_ICMP = 0x1
-- IPPROTO_ICMPV6 = 0x3a
-- IPPROTO_IDP = 0x16
-- IPPROTO_IGMP = 0x2
-- IPPROTO_IP = 0x0
-- IPPROTO_IPIP = 0x4
-- IPPROTO_IPV6 = 0x29
-- IPPROTO_MH = 0x87
-- IPPROTO_MPLS = 0x89
-- IPPROTO_MTP = 0x5c
-- IPPROTO_NONE = 0x3b
-- IPPROTO_PIM = 0x67
-- IPPROTO_PUP = 0xc
-- IPPROTO_RAW = 0xff
-- IPPROTO_ROUTING = 0x2b
-- IPPROTO_RSVP = 0x2e
-- IPPROTO_SCTP = 0x84
-- IPPROTO_TCP = 0x6
-- IPPROTO_TP = 0x1d
-- IPPROTO_UDP = 0x11
-- IPPROTO_UDPLITE = 0x88
-- IPV6_2292DSTOPTS = 0x4
-- IPV6_2292HOPLIMIT = 0x8
-- IPV6_2292HOPOPTS = 0x3
-- IPV6_2292PKTINFO = 0x2
-- IPV6_2292PKTOPTIONS = 0x6
-- IPV6_2292RTHDR = 0x5
-- IPV6_ADDRFORM = 0x1
-- IPV6_ADD_MEMBERSHIP = 0x14
-- IPV6_AUTHHDR = 0xa
-- IPV6_CHECKSUM = 0x7
-- IPV6_DONTFRAG = 0x3e
-- IPV6_DROP_MEMBERSHIP = 0x15
-- IPV6_DSTOPTS = 0x3b
-- IPV6_HDRINCL = 0x24
-- IPV6_HOPLIMIT = 0x34
-- IPV6_HOPOPTS = 0x36
-- IPV6_IPSEC_POLICY = 0x22
-- IPV6_JOIN_ANYCAST = 0x1b
-- IPV6_JOIN_GROUP = 0x14
-- IPV6_LEAVE_ANYCAST = 0x1c
-- IPV6_LEAVE_GROUP = 0x15
-- IPV6_MTU = 0x18
-- IPV6_MTU_DISCOVER = 0x17
-- IPV6_MULTICAST_HOPS = 0x12
-- IPV6_MULTICAST_IF = 0x11
-- IPV6_MULTICAST_LOOP = 0x13
-- IPV6_NEXTHOP = 0x9
-- IPV6_PATHMTU = 0x3d
-- IPV6_PKTINFO = 0x32
-- IPV6_PMTUDISC_DO = 0x2
-- IPV6_PMTUDISC_DONT = 0x0
-- IPV6_PMTUDISC_INTERFACE = 0x4
-- IPV6_PMTUDISC_OMIT = 0x5
-- IPV6_PMTUDISC_PROBE = 0x3
-- IPV6_PMTUDISC_WANT = 0x1
-- IPV6_RECVDSTOPTS = 0x3a
-- IPV6_RECVERR = 0x19
-- IPV6_RECVHOPLIMIT = 0x33
-- IPV6_RECVHOPOPTS = 0x35
-- IPV6_RECVPATHMTU = 0x3c
-- IPV6_RECVPKTINFO = 0x31
-- IPV6_RECVRTHDR = 0x38
-- IPV6_RECVTCLASS = 0x42
-- IPV6_ROUTER_ALERT = 0x16
-- IPV6_RTHDR = 0x39
-- IPV6_RTHDRDSTOPTS = 0x37
-- IPV6_RTHDR_LOOSE = 0x0
-- IPV6_RTHDR_STRICT = 0x1
-- IPV6_RTHDR_TYPE_0 = 0x0
-- IPV6_RXDSTOPTS = 0x3b
-- IPV6_RXHOPOPTS = 0x36
-- IPV6_TCLASS = 0x43
-- IPV6_UNICAST_HOPS = 0x10
-- IPV6_V6ONLY = 0x1a
-- IPV6_XFRM_POLICY = 0x23
-- IP_ADD_MEMBERSHIP = 0x23
-- IP_ADD_SOURCE_MEMBERSHIP = 0x27
-- IP_BIND_ADDRESS_NO_PORT = 0x18
-- IP_BLOCK_SOURCE = 0x26
-- IP_CHECKSUM = 0x17
-- IP_DEFAULT_MULTICAST_LOOP = 0x1
-- IP_DEFAULT_MULTICAST_TTL = 0x1
-- IP_DF = 0x4000
-- IP_DROP_MEMBERSHIP = 0x24
-- IP_DROP_SOURCE_MEMBERSHIP = 0x28
-- IP_FREEBIND = 0xf
-- IP_HDRINCL = 0x3
-- IP_IPSEC_POLICY = 0x10
-- IP_MAXPACKET = 0xffff
-- IP_MAX_MEMBERSHIPS = 0x14
-- IP_MF = 0x2000
-- IP_MINTTL = 0x15
-- IP_MSFILTER = 0x29
-- IP_MSS = 0x240
-- IP_MTU = 0xe
-- IP_MTU_DISCOVER = 0xa
-- IP_MULTICAST_ALL = 0x31
-- IP_MULTICAST_IF = 0x20
-- IP_MULTICAST_LOOP = 0x22
-- IP_MULTICAST_TTL = 0x21
-- IP_NODEFRAG = 0x16
-- IP_OFFMASK = 0x1fff
-- IP_OPTIONS = 0x4
-- IP_ORIGDSTADDR = 0x14
-- IP_PASSSEC = 0x12
-- IP_PKTINFO = 0x8
-- IP_PKTOPTIONS = 0x9
-- IP_PMTUDISC = 0xa
-- IP_PMTUDISC_DO = 0x2
-- IP_PMTUDISC_DONT = 0x0
-- IP_PMTUDISC_INTERFACE = 0x4
-- IP_PMTUDISC_OMIT = 0x5
-- IP_PMTUDISC_PROBE = 0x3
-- IP_PMTUDISC_WANT = 0x1
-- IP_RECVERR = 0xb
-- IP_RECVOPTS = 0x6
-- IP_RECVORIGDSTADDR = 0x14
-- IP_RECVRETOPTS = 0x7
-- IP_RECVTOS = 0xd
-- IP_RECVTTL = 0xc
-- IP_RETOPTS = 0x7
-- IP_RF = 0x8000
-- IP_ROUTER_ALERT = 0x5
-- IP_TOS = 0x1
-- IP_TRANSPARENT = 0x13
-- IP_TTL = 0x2
-- IP_UNBLOCK_SOURCE = 0x25
-- IP_UNICAST_IF = 0x32
-- IP_XFRM_POLICY = 0x11
-- ISIG = 0x80
-- ISTRIP = 0x20
-- IUCLC = 0x1000
-- IUTF8 = 0x4000
-- IXANY = 0x800
-- IXOFF = 0x400
-- IXON = 0x200
-- KEYCTL_ASSUME_AUTHORITY = 0x10
-- KEYCTL_CHOWN = 0x4
-- KEYCTL_CLEAR = 0x7
-- KEYCTL_DESCRIBE = 0x6
-- KEYCTL_DH_COMPUTE = 0x17
-- KEYCTL_GET_KEYRING_ID = 0x0
-- KEYCTL_GET_PERSISTENT = 0x16
-- KEYCTL_GET_SECURITY = 0x11
-- KEYCTL_INSTANTIATE = 0xc
-- KEYCTL_INSTANTIATE_IOV = 0x14
-- KEYCTL_INVALIDATE = 0x15
-- KEYCTL_JOIN_SESSION_KEYRING = 0x1
-- KEYCTL_LINK = 0x8
-- KEYCTL_NEGATE = 0xd
-- KEYCTL_READ = 0xb
-- KEYCTL_REJECT = 0x13
-- KEYCTL_REVOKE = 0x3
-- KEYCTL_SEARCH = 0xa
-- KEYCTL_SESSION_TO_PARENT = 0x12
-- KEYCTL_SETPERM = 0x5
-- KEYCTL_SET_REQKEY_KEYRING = 0xe
-- KEYCTL_SET_TIMEOUT = 0xf
-- KEYCTL_UNLINK = 0x9
-- KEYCTL_UPDATE = 0x2
-- KEY_REQKEY_DEFL_DEFAULT = 0x0
-- KEY_REQKEY_DEFL_GROUP_KEYRING = 0x6
-- KEY_REQKEY_DEFL_NO_CHANGE = -0x1
-- KEY_REQKEY_DEFL_PROCESS_KEYRING = 0x2
-- KEY_REQKEY_DEFL_REQUESTOR_KEYRING = 0x7
-- KEY_REQKEY_DEFL_SESSION_KEYRING = 0x3
-- KEY_REQKEY_DEFL_THREAD_KEYRING = 0x1
-- KEY_REQKEY_DEFL_USER_KEYRING = 0x4
-- KEY_REQKEY_DEFL_USER_SESSION_KEYRING = 0x5
-- KEY_SPEC_GROUP_KEYRING = -0x6
-- KEY_SPEC_PROCESS_KEYRING = -0x2
-- KEY_SPEC_REQKEY_AUTH_KEY = -0x7
-- KEY_SPEC_REQUESTOR_KEYRING = -0x8
-- KEY_SPEC_SESSION_KEYRING = -0x3
-- KEY_SPEC_THREAD_KEYRING = -0x1
-- KEY_SPEC_USER_KEYRING = -0x4
-- KEY_SPEC_USER_SESSION_KEYRING = -0x5
-- LINUX_REBOOT_CMD_CAD_OFF = 0x0
-- LINUX_REBOOT_CMD_CAD_ON = 0x89abcdef
-- LINUX_REBOOT_CMD_HALT = 0xcdef0123
-- LINUX_REBOOT_CMD_KEXEC = 0x45584543
-- LINUX_REBOOT_CMD_POWER_OFF = 0x4321fedc
-- LINUX_REBOOT_CMD_RESTART = 0x1234567
-- LINUX_REBOOT_CMD_RESTART2 = 0xa1b2c3d4
-- LINUX_REBOOT_CMD_SW_SUSPEND = 0xd000fce2
-- LINUX_REBOOT_MAGIC1 = 0xfee1dead
-- LINUX_REBOOT_MAGIC2 = 0x28121969
-- LOCK_EX = 0x2
-- LOCK_NB = 0x4
-- LOCK_SH = 0x1
-- LOCK_UN = 0x8
-- MADV_DODUMP = 0x11
-- MADV_DOFORK = 0xb
-- MADV_DONTDUMP = 0x10
-- MADV_DONTFORK = 0xa
-- MADV_DONTNEED = 0x4
-- MADV_FREE = 0x8
-- MADV_HUGEPAGE = 0xe
-- MADV_HWPOISON = 0x64
-- MADV_MERGEABLE = 0xc
-- MADV_NOHUGEPAGE = 0xf
-- MADV_NORMAL = 0x0
-- MADV_RANDOM = 0x1
-- MADV_REMOVE = 0x9
-- MADV_SEQUENTIAL = 0x2
-- MADV_UNMERGEABLE = 0xd
-- MADV_WILLNEED = 0x3
-- MAP_ANON = 0x20
-- MAP_ANONYMOUS = 0x20
-- MAP_DENYWRITE = 0x800
-- MAP_EXECUTABLE = 0x1000
-- MAP_FILE = 0x0
-- MAP_FIXED = 0x10
-- MAP_GROWSDOWN = 0x100
-- MAP_HUGETLB = 0x40000
-- MAP_HUGE_MASK = 0x3f
-- MAP_HUGE_SHIFT = 0x1a
-- MAP_LOCKED = 0x80
-- MAP_NONBLOCK = 0x10000
-- MAP_NORESERVE = 0x40
-- MAP_POPULATE = 0x8000
-- MAP_PRIVATE = 0x2
-- MAP_SHARED = 0x1
-- MAP_STACK = 0x20000
-- MAP_TYPE = 0xf
-- MCL_CURRENT = 0x2000
-- MCL_FUTURE = 0x4000
-- MCL_ONFAULT = 0x8000
-- MNT_DETACH = 0x2
-- MNT_EXPIRE = 0x4
-- MNT_FORCE = 0x1
-- MSG_BATCH = 0x40000
-- MSG_CMSG_CLOEXEC = 0x40000000
-- MSG_CONFIRM = 0x800
-- MSG_CTRUNC = 0x8
-- MSG_DONTROUTE = 0x4
-- MSG_DONTWAIT = 0x40
-- MSG_EOR = 0x80
-- MSG_ERRQUEUE = 0x2000
-- MSG_FASTOPEN = 0x20000000
-- MSG_FIN = 0x200
-- MSG_MORE = 0x8000
-- MSG_NOSIGNAL = 0x4000
-- MSG_OOB = 0x1
-- MSG_PEEK = 0x2
-- MSG_PROXY = 0x10
-- MSG_RST = 0x1000
-- MSG_SYN = 0x400
-- MSG_TRUNC = 0x20
-- MSG_TRYHARD = 0x4
-- MSG_WAITALL = 0x100
-- MSG_WAITFORONE = 0x10000
-- MS_ACTIVE = 0x40000000
-- MS_ASYNC = 0x1
-- MS_BIND = 0x1000
-- MS_BORN = 0x20000000
-- MS_DIRSYNC = 0x80
-- MS_INVALIDATE = 0x2
-- MS_I_VERSION = 0x800000
-- MS_KERNMOUNT = 0x400000
-- MS_LAZYTIME = 0x2000000
-- MS_MANDLOCK = 0x40
-- MS_MGC_MSK = 0xffff0000
-- MS_MGC_VAL = 0xc0ed0000
-- MS_MOVE = 0x2000
-- MS_NOATIME = 0x400
-- MS_NODEV = 0x4
-- MS_NODIRATIME = 0x800
-- MS_NOEXEC = 0x8
-- MS_NOREMOTELOCK = 0x8000000
-- MS_NOSEC = 0x10000000
-- MS_NOSUID = 0x2
-- MS_NOUSER = -0x80000000
-- MS_POSIXACL = 0x10000
-- MS_PRIVATE = 0x40000
-- MS_RDONLY = 0x1
-- MS_REC = 0x4000
-- MS_RELATIME = 0x200000
-- MS_REMOUNT = 0x20
-- MS_RMT_MASK = 0x2800051
-- MS_SHARED = 0x100000
-- MS_SILENT = 0x8000
-- MS_SLAVE = 0x80000
-- MS_STRICTATIME = 0x1000000
-- MS_SYNC = 0x4
-- MS_SYNCHRONOUS = 0x10
-- MS_UNBINDABLE = 0x20000
-- MS_VERBOSE = 0x8000
-- NAME_MAX = 0xff
-- NETLINK_ADD_MEMBERSHIP = 0x1
-- NETLINK_AUDIT = 0x9
-- NETLINK_BROADCAST_ERROR = 0x4
-- NETLINK_CAP_ACK = 0xa
-- NETLINK_CONNECTOR = 0xb
-- NETLINK_CRYPTO = 0x15
-- NETLINK_DNRTMSG = 0xe
-- NETLINK_DROP_MEMBERSHIP = 0x2
-- NETLINK_ECRYPTFS = 0x13
-- NETLINK_FIB_LOOKUP = 0xa
-- NETLINK_FIREWALL = 0x3
-- NETLINK_GENERIC = 0x10
-- NETLINK_INET_DIAG = 0x4
-- NETLINK_IP6_FW = 0xd
-- NETLINK_ISCSI = 0x8
-- NETLINK_KOBJECT_UEVENT = 0xf
-- NETLINK_LISTEN_ALL_NSID = 0x8
-- NETLINK_LIST_MEMBERSHIPS = 0x9
-- NETLINK_NETFILTER = 0xc
-- NETLINK_NFLOG = 0x5
-- NETLINK_NO_ENOBUFS = 0x5
-- NETLINK_PKTINFO = 0x3
-- NETLINK_RDMA = 0x14
-- NETLINK_ROUTE = 0x0
-- NETLINK_RX_RING = 0x6
-- NETLINK_SCSITRANSPORT = 0x12
-- NETLINK_SELINUX = 0x7
-- NETLINK_SOCK_DIAG = 0x4
-- NETLINK_TX_RING = 0x7
-- NETLINK_UNUSED = 0x1
-- NETLINK_USERSOCK = 0x2
-- NETLINK_XFRM = 0x6
-- NL0 = 0x0
-- NL1 = 0x100
-- NL2 = 0x200
-- NL3 = 0x300
-- NLA_ALIGNTO = 0x4
-- NLA_F_NESTED = 0x8000
-- NLA_F_NET_BYTEORDER = 0x4000
-- NLA_HDRLEN = 0x4
-- NLDLY = 0x300
-- NLMSG_ALIGNTO = 0x4
-- NLMSG_DONE = 0x3
-- NLMSG_ERROR = 0x2
-- NLMSG_HDRLEN = 0x10
-- NLMSG_MIN_TYPE = 0x10
-- NLMSG_NOOP = 0x1
-- NLMSG_OVERRUN = 0x4
-- NLM_F_ACK = 0x4
-- NLM_F_APPEND = 0x800
-- NLM_F_ATOMIC = 0x400
-- NLM_F_CREATE = 0x400
-- NLM_F_DUMP = 0x300
-- NLM_F_DUMP_FILTERED = 0x20
-- NLM_F_DUMP_INTR = 0x10
-- NLM_F_ECHO = 0x8
-- NLM_F_EXCL = 0x200
-- NLM_F_MATCH = 0x200
-- NLM_F_MULTI = 0x2
-- NLM_F_REPLACE = 0x100
-- NLM_F_REQUEST = 0x1
-- NLM_F_ROOT = 0x100
-- NOFLSH = 0x80000000
-- OCRNL = 0x8
-- OFDEL = 0x80
-- OFILL = 0x40
-- OLCUC = 0x4
-- ONLCR = 0x2
-- ONLRET = 0x20
-- ONOCR = 0x10
-- OPOST = 0x1
-- O_ACCMODE = 0x3
-- O_APPEND = 0x400
-- O_ASYNC = 0x2000
-- O_CLOEXEC = 0x80000
-- O_CREAT = 0x40
-- O_DIRECT = 0x20000
-- O_DIRECTORY = 0x4000
-- O_DSYNC = 0x1000
-- O_EXCL = 0x80
-- O_FSYNC = 0x101000
-- O_LARGEFILE = 0x0
-- O_NDELAY = 0x800
-- O_NOATIME = 0x40000
-- O_NOCTTY = 0x100
-- O_NOFOLLOW = 0x8000
-- O_NONBLOCK = 0x800
-- O_PATH = 0x200000
-- O_RDONLY = 0x0
-- O_RDWR = 0x2
-- O_RSYNC = 0x101000
-- O_SYNC = 0x101000
-- O_TMPFILE = 0x404000
-- O_TRUNC = 0x200
-- O_WRONLY = 0x1
-- PACKET_ADD_MEMBERSHIP = 0x1
-- PACKET_AUXDATA = 0x8
-- PACKET_BROADCAST = 0x1
-- PACKET_COPY_THRESH = 0x7
-- PACKET_DROP_MEMBERSHIP = 0x2
-- PACKET_FANOUT = 0x12
-- PACKET_FANOUT_CBPF = 0x6
-- PACKET_FANOUT_CPU = 0x2
-- PACKET_FANOUT_DATA = 0x16
-- PACKET_FANOUT_EBPF = 0x7
-- PACKET_FANOUT_FLAG_DEFRAG = 0x8000
-- PACKET_FANOUT_FLAG_ROLLOVER = 0x1000
-- PACKET_FANOUT_HASH = 0x0
-- PACKET_FANOUT_LB = 0x1
-- PACKET_FANOUT_QM = 0x5
-- PACKET_FANOUT_RND = 0x4
-- PACKET_FANOUT_ROLLOVER = 0x3
-- PACKET_FASTROUTE = 0x6
-- PACKET_HDRLEN = 0xb
-- PACKET_HOST = 0x0
-- PACKET_KERNEL = 0x7
-- PACKET_LOOPBACK = 0x5
-- PACKET_LOSS = 0xe
-- PACKET_MR_ALLMULTI = 0x2
-- PACKET_MR_MULTICAST = 0x0
-- PACKET_MR_PROMISC = 0x1
-- PACKET_MR_UNICAST = 0x3
-- PACKET_MULTICAST = 0x2
-- PACKET_ORIGDEV = 0x9
-- PACKET_OTHERHOST = 0x3
-- PACKET_OUTGOING = 0x4
-- PACKET_QDISC_BYPASS = 0x14
-- PACKET_RECV_OUTPUT = 0x3
-- PACKET_RESERVE = 0xc
-- PACKET_ROLLOVER_STATS = 0x15
-- PACKET_RX_RING = 0x5
-- PACKET_STATISTICS = 0x6
-- PACKET_TIMESTAMP = 0x11
-- PACKET_TX_HAS_OFF = 0x13
-- PACKET_TX_RING = 0xd
-- PACKET_TX_TIMESTAMP = 0x10
-- PACKET_USER = 0x6
-- PACKET_VERSION = 0xa
-- PACKET_VNET_HDR = 0xf
-- PARENB = 0x1000
-- PARITY_CRC16_PR0 = 0x2
-- PARITY_CRC16_PR0_CCITT = 0x4
-- PARITY_CRC16_PR1 = 0x3
-- PARITY_CRC16_PR1_CCITT = 0x5
-- PARITY_CRC32_PR0_CCITT = 0x6
-- PARITY_CRC32_PR1_CCITT = 0x7
-- PARITY_DEFAULT = 0x0
-- PARITY_NONE = 0x1
-- PARMRK = 0x8
-- PARODD = 0x2000
-- PENDIN = 0x20000000
-- PERF_EVENT_IOC_DISABLE = 0x20002401
-- PERF_EVENT_IOC_ENABLE = 0x20002400
-- PERF_EVENT_IOC_ID = 0x40082407
-- PERF_EVENT_IOC_PAUSE_OUTPUT = 0x80042409
-- PERF_EVENT_IOC_PERIOD = 0x80082404
-- PERF_EVENT_IOC_REFRESH = 0x20002402
-- PERF_EVENT_IOC_RESET = 0x20002403
-- PERF_EVENT_IOC_SET_BPF = 0x80042408
-- PERF_EVENT_IOC_SET_FILTER = 0x80082406
-- PERF_EVENT_IOC_SET_OUTPUT = 0x20002405
-- PRIO_PGRP = 0x1
-- PRIO_PROCESS = 0x0
-- PRIO_USER = 0x2
-- PROT_EXEC = 0x4
-- PROT_GROWSDOWN = 0x1000000
-- PROT_GROWSUP = 0x2000000
-- PROT_NONE = 0x0
-- PROT_READ = 0x1
-- PROT_SAO = 0x10
-- PROT_WRITE = 0x2
-- PR_CAPBSET_DROP = 0x18
-- PR_CAPBSET_READ = 0x17
-- PR_CAP_AMBIENT = 0x2f
-- PR_CAP_AMBIENT_CLEAR_ALL = 0x4
-- PR_CAP_AMBIENT_IS_SET = 0x1
-- PR_CAP_AMBIENT_LOWER = 0x3
-- PR_CAP_AMBIENT_RAISE = 0x2
-- PR_ENDIAN_BIG = 0x0
-- PR_ENDIAN_LITTLE = 0x1
-- PR_ENDIAN_PPC_LITTLE = 0x2
-- PR_FPEMU_NOPRINT = 0x1
-- PR_FPEMU_SIGFPE = 0x2
-- PR_FP_EXC_ASYNC = 0x2
-- PR_FP_EXC_DISABLED = 0x0
-- PR_FP_EXC_DIV = 0x10000
-- PR_FP_EXC_INV = 0x100000
-- PR_FP_EXC_NONRECOV = 0x1
-- PR_FP_EXC_OVF = 0x20000
-- PR_FP_EXC_PRECISE = 0x3
-- PR_FP_EXC_RES = 0x80000
-- PR_FP_EXC_SW_ENABLE = 0x80
-- PR_FP_EXC_UND = 0x40000
-- PR_FP_MODE_FR = 0x1
-- PR_FP_MODE_FRE = 0x2
-- PR_GET_CHILD_SUBREAPER = 0x25
-- PR_GET_DUMPABLE = 0x3
-- PR_GET_ENDIAN = 0x13
-- PR_GET_FPEMU = 0x9
-- PR_GET_FPEXC = 0xb
-- PR_GET_FP_MODE = 0x2e
-- PR_GET_KEEPCAPS = 0x7
-- PR_GET_NAME = 0x10
-- PR_GET_NO_NEW_PRIVS = 0x27
-- PR_GET_PDEATHSIG = 0x2
-- PR_GET_SECCOMP = 0x15
-- PR_GET_SECUREBITS = 0x1b
-- PR_GET_THP_DISABLE = 0x2a
-- PR_GET_TID_ADDRESS = 0x28
-- PR_GET_TIMERSLACK = 0x1e
-- PR_GET_TIMING = 0xd
-- PR_GET_TSC = 0x19
-- PR_GET_UNALIGN = 0x5
-- PR_MCE_KILL = 0x21
-- PR_MCE_KILL_CLEAR = 0x0
-- PR_MCE_KILL_DEFAULT = 0x2
-- PR_MCE_KILL_EARLY = 0x1
-- PR_MCE_KILL_GET = 0x22
-- PR_MCE_KILL_LATE = 0x0
-- PR_MCE_KILL_SET = 0x1
-- PR_MPX_DISABLE_MANAGEMENT = 0x2c
-- PR_MPX_ENABLE_MANAGEMENT = 0x2b
-- PR_SET_CHILD_SUBREAPER = 0x24
-- PR_SET_DUMPABLE = 0x4
-- PR_SET_ENDIAN = 0x14
-- PR_SET_FPEMU = 0xa
-- PR_SET_FPEXC = 0xc
-- PR_SET_FP_MODE = 0x2d
-- PR_SET_KEEPCAPS = 0x8
-- PR_SET_MM = 0x23
-- PR_SET_MM_ARG_END = 0x9
-- PR_SET_MM_ARG_START = 0x8
-- PR_SET_MM_AUXV = 0xc
-- PR_SET_MM_BRK = 0x7
-- PR_SET_MM_END_CODE = 0x2
-- PR_SET_MM_END_DATA = 0x4
-- PR_SET_MM_ENV_END = 0xb
-- PR_SET_MM_ENV_START = 0xa
-- PR_SET_MM_EXE_FILE = 0xd
-- PR_SET_MM_MAP = 0xe
-- PR_SET_MM_MAP_SIZE = 0xf
-- PR_SET_MM_START_BRK = 0x6
-- PR_SET_MM_START_CODE = 0x1
-- PR_SET_MM_START_DATA = 0x3
-- PR_SET_MM_START_STACK = 0x5
-- PR_SET_NAME = 0xf
-- PR_SET_NO_NEW_PRIVS = 0x26
-- PR_SET_PDEATHSIG = 0x1
-- PR_SET_PTRACER = 0x59616d61
-- PR_SET_PTRACER_ANY = -0x1
-- PR_SET_SECCOMP = 0x16
-- PR_SET_SECUREBITS = 0x1c
-- PR_SET_THP_DISABLE = 0x29
-- PR_SET_TIMERSLACK = 0x1d
-- PR_SET_TIMING = 0xe
-- PR_SET_TSC = 0x1a
-- PR_SET_UNALIGN = 0x6
-- PR_TASK_PERF_EVENTS_DISABLE = 0x1f
-- PR_TASK_PERF_EVENTS_ENABLE = 0x20
-- PR_TIMING_STATISTICAL = 0x0
-- PR_TIMING_TIMESTAMP = 0x1
-- PR_TSC_ENABLE = 0x1
-- PR_TSC_SIGSEGV = 0x2
-- PR_UNALIGN_NOPRINT = 0x1
-- PR_UNALIGN_SIGBUS = 0x2
-- PTRACE_ATTACH = 0x10
-- PTRACE_CONT = 0x7
-- PTRACE_DETACH = 0x11
-- PTRACE_EVENT_CLONE = 0x3
-- PTRACE_EVENT_EXEC = 0x4
-- PTRACE_EVENT_EXIT = 0x6
-- PTRACE_EVENT_FORK = 0x1
-- PTRACE_EVENT_SECCOMP = 0x7
-- PTRACE_EVENT_STOP = 0x80
-- PTRACE_EVENT_VFORK = 0x2
-- PTRACE_EVENT_VFORK_DONE = 0x5
-- PTRACE_GETEVENTMSG = 0x4201
-- PTRACE_GETEVRREGS = 0x14
-- PTRACE_GETFPREGS = 0xe
-- PTRACE_GETREGS = 0xc
-- PTRACE_GETREGS64 = 0x16
-- PTRACE_GETREGSET = 0x4204
-- PTRACE_GETSIGINFO = 0x4202
-- PTRACE_GETSIGMASK = 0x420a
-- PTRACE_GETVRREGS = 0x12
-- PTRACE_GETVSRREGS = 0x1b
-- PTRACE_GET_DEBUGREG = 0x19
-- PTRACE_INTERRUPT = 0x4207
-- PTRACE_KILL = 0x8
-- PTRACE_LISTEN = 0x4208
-- PTRACE_O_EXITKILL = 0x100000
-- PTRACE_O_MASK = 0x3000ff
-- PTRACE_O_SUSPEND_SECCOMP = 0x200000
-- PTRACE_O_TRACECLONE = 0x8
-- PTRACE_O_TRACEEXEC = 0x10
-- PTRACE_O_TRACEEXIT = 0x40
-- PTRACE_O_TRACEFORK = 0x2
-- PTRACE_O_TRACESECCOMP = 0x80
-- PTRACE_O_TRACESYSGOOD = 0x1
-- PTRACE_O_TRACEVFORK = 0x4
-- PTRACE_O_TRACEVFORKDONE = 0x20
-- PTRACE_PEEKDATA = 0x2
-- PTRACE_PEEKSIGINFO = 0x4209
-- PTRACE_PEEKSIGINFO_SHARED = 0x1
-- PTRACE_PEEKTEXT = 0x1
-- PTRACE_PEEKUSR = 0x3
-- PTRACE_POKEDATA = 0x5
-- PTRACE_POKETEXT = 0x4
-- PTRACE_POKEUSR = 0x6
-- PTRACE_SECCOMP_GET_FILTER = 0x420c
-- PTRACE_SEIZE = 0x4206
-- PTRACE_SETEVRREGS = 0x15
-- PTRACE_SETFPREGS = 0xf
-- PTRACE_SETOPTIONS = 0x4200
-- PTRACE_SETREGS = 0xd
-- PTRACE_SETREGS64 = 0x17
-- PTRACE_SETREGSET = 0x4205
-- PTRACE_SETSIGINFO = 0x4203
-- PTRACE_SETSIGMASK = 0x420b
-- PTRACE_SETVRREGS = 0x13
-- PTRACE_SETVSRREGS = 0x1c
-- PTRACE_SET_DEBUGREG = 0x1a
-- PTRACE_SINGLEBLOCK = 0x100
-- PTRACE_SINGLESTEP = 0x9
-- PTRACE_SYSCALL = 0x18
-- PTRACE_TRACEME = 0x0
-- PT_CCR = 0x26
-- PT_CTR = 0x23
-- PT_DAR = 0x29
-- PT_DSCR = 0x2c
-- PT_DSISR = 0x2a
-- PT_FPR0 = 0x30
-- PT_FPSCR = 0x50
-- PT_LNK = 0x24
-- PT_MSR = 0x21
-- PT_NIP = 0x20
-- PT_ORIG_R3 = 0x22
-- PT_R0 = 0x0
-- PT_R1 = 0x1
-- PT_R10 = 0xa
-- PT_R11 = 0xb
-- PT_R12 = 0xc
-- PT_R13 = 0xd
-- PT_R14 = 0xe
-- PT_R15 = 0xf
-- PT_R16 = 0x10
-- PT_R17 = 0x11
-- PT_R18 = 0x12
-- PT_R19 = 0x13
-- PT_R2 = 0x2
-- PT_R20 = 0x14
-- PT_R21 = 0x15
-- PT_R22 = 0x16
-- PT_R23 = 0x17
-- PT_R24 = 0x18
-- PT_R25 = 0x19
-- PT_R26 = 0x1a
-- PT_R27 = 0x1b
-- PT_R28 = 0x1c
-- PT_R29 = 0x1d
-- PT_R3 = 0x3
-- PT_R30 = 0x1e
-- PT_R31 = 0x1f
-- PT_R4 = 0x4
-- PT_R5 = 0x5
-- PT_R6 = 0x6
-- PT_R7 = 0x7
-- PT_R8 = 0x8
-- PT_R9 = 0x9
-- PT_REGS_COUNT = 0x2c
-- PT_RESULT = 0x2b
-- PT_SOFTE = 0x27
-- PT_TRAP = 0x28
-- PT_VR0 = 0x52
-- PT_VRSAVE = 0x94
-- PT_VSCR = 0x93
-- PT_VSR0 = 0x96
-- PT_VSR31 = 0xd4
-- PT_XER = 0x25
-- RLIMIT_AS = 0x9
-- RLIMIT_CORE = 0x4
-- RLIMIT_CPU = 0x0
-- RLIMIT_DATA = 0x2
-- RLIMIT_FSIZE = 0x1
-- RLIMIT_LOCKS = 0xa
-- RLIMIT_MEMLOCK = 0x8
-- RLIMIT_MSGQUEUE = 0xc
-- RLIMIT_NICE = 0xd
-- RLIMIT_NOFILE = 0x7
-- RLIMIT_NPROC = 0x6
-- RLIMIT_RSS = 0x5
-- RLIMIT_RTPRIO = 0xe
-- RLIMIT_RTTIME = 0xf
-- RLIMIT_SIGPENDING = 0xb
-- RLIMIT_STACK = 0x3
-- RLIM_INFINITY = -0x1
-- RTAX_ADVMSS = 0x8
-- RTAX_CC_ALGO = 0x10
-- RTAX_CWND = 0x7
-- RTAX_FEATURES = 0xc
-- RTAX_FEATURE_ALLFRAG = 0x8
-- RTAX_FEATURE_ECN = 0x1
-- RTAX_FEATURE_MASK = 0xf
-- RTAX_FEATURE_SACK = 0x2
-- RTAX_FEATURE_TIMESTAMP = 0x4
-- RTAX_HOPLIMIT = 0xa
-- RTAX_INITCWND = 0xb
-- RTAX_INITRWND = 0xe
-- RTAX_LOCK = 0x1
-- RTAX_MAX = 0x10
-- RTAX_MTU = 0x2
-- RTAX_QUICKACK = 0xf
-- RTAX_REORDERING = 0x9
-- RTAX_RTO_MIN = 0xd
-- RTAX_RTT = 0x4
-- RTAX_RTTVAR = 0x5
-- RTAX_SSTHRESH = 0x6
-- RTAX_UNSPEC = 0x0
-- RTAX_WINDOW = 0x3
-- RTA_ALIGNTO = 0x4
-- RTA_MAX = 0x19
-- RTCF_DIRECTSRC = 0x4000000
-- RTCF_DOREDIRECT = 0x1000000
-- RTCF_LOG = 0x2000000
-- RTCF_MASQ = 0x400000
-- RTCF_NAT = 0x800000
-- RTCF_VALVE = 0x200000
-- RTF_ADDRCLASSMASK = 0xf8000000
-- RTF_ADDRCONF = 0x40000
-- RTF_ALLONLINK = 0x20000
-- RTF_BROADCAST = 0x10000000
-- RTF_CACHE = 0x1000000
-- RTF_DEFAULT = 0x10000
-- RTF_DYNAMIC = 0x10
-- RTF_FLOW = 0x2000000
-- RTF_GATEWAY = 0x2
-- RTF_HOST = 0x4
-- RTF_INTERFACE = 0x40000000
-- RTF_IRTT = 0x100
-- RTF_LINKRT = 0x100000
-- RTF_LOCAL = 0x80000000
-- RTF_MODIFIED = 0x20
-- RTF_MSS = 0x40
-- RTF_MTU = 0x40
-- RTF_MULTICAST = 0x20000000
-- RTF_NAT = 0x8000000
-- RTF_NOFORWARD = 0x1000
-- RTF_NONEXTHOP = 0x200000
-- RTF_NOPMTUDISC = 0x4000
-- RTF_POLICY = 0x4000000
-- RTF_REINSTATE = 0x8
-- RTF_REJECT = 0x200
-- RTF_STATIC = 0x400
-- RTF_THROW = 0x2000
-- RTF_UP = 0x1
-- RTF_WINDOW = 0x80
-- RTF_XRESOLVE = 0x800
-- RTM_BASE = 0x10
-- RTM_DELACTION = 0x31
-- RTM_DELADDR = 0x15
-- RTM_DELADDRLABEL = 0x49
-- RTM_DELLINK = 0x11
-- RTM_DELMDB = 0x55
-- RTM_DELNEIGH = 0x1d
-- RTM_DELNSID = 0x59
-- RTM_DELQDISC = 0x25
-- RTM_DELROUTE = 0x19
-- RTM_DELRULE = 0x21
-- RTM_DELTCLASS = 0x29
-- RTM_DELTFILTER = 0x2d
-- RTM_F_CLONED = 0x200
-- RTM_F_EQUALIZE = 0x400
-- RTM_F_LOOKUP_TABLE = 0x1000
-- RTM_F_NOTIFY = 0x100
-- RTM_F_PREFIX = 0x800
-- RTM_GETACTION = 0x32
-- RTM_GETADDR = 0x16
-- RTM_GETADDRLABEL = 0x4a
-- RTM_GETANYCAST = 0x3e
-- RTM_GETDCB = 0x4e
-- RTM_GETLINK = 0x12
-- RTM_GETMDB = 0x56
-- RTM_GETMULTICAST = 0x3a
-- RTM_GETNEIGH = 0x1e
-- RTM_GETNEIGHTBL = 0x42
-- RTM_GETNETCONF = 0x52
-- RTM_GETNSID = 0x5a
-- RTM_GETQDISC = 0x26
-- RTM_GETROUTE = 0x1a
-- RTM_GETRULE = 0x22
-- RTM_GETSTATS = 0x5e
-- RTM_GETTCLASS = 0x2a
-- RTM_GETTFILTER = 0x2e
-- RTM_MAX = 0x5f
-- RTM_NEWACTION = 0x30
-- RTM_NEWADDR = 0x14
-- RTM_NEWADDRLABEL = 0x48
-- RTM_NEWLINK = 0x10
-- RTM_NEWMDB = 0x54
-- RTM_NEWNDUSEROPT = 0x44
-- RTM_NEWNEIGH = 0x1c
-- RTM_NEWNEIGHTBL = 0x40
-- RTM_NEWNETCONF = 0x50
-- RTM_NEWNSID = 0x58
-- RTM_NEWPREFIX = 0x34
-- RTM_NEWQDISC = 0x24
-- RTM_NEWROUTE = 0x18
-- RTM_NEWRULE = 0x20
-- RTM_NEWSTATS = 0x5c
-- RTM_NEWTCLASS = 0x28
-- RTM_NEWTFILTER = 0x2c
-- RTM_NR_FAMILIES = 0x14
-- RTM_NR_MSGTYPES = 0x50
-- RTM_SETDCB = 0x4f
-- RTM_SETLINK = 0x13
-- RTM_SETNEIGHTBL = 0x43
-- RTNH_ALIGNTO = 0x4
-- RTNH_COMPARE_MASK = 0x19
-- RTNH_F_DEAD = 0x1
-- RTNH_F_LINKDOWN = 0x10
-- RTNH_F_OFFLOAD = 0x8
-- RTNH_F_ONLINK = 0x4
-- RTNH_F_PERVASIVE = 0x2
-- RTN_MAX = 0xb
-- RTPROT_BABEL = 0x2a
-- RTPROT_BIRD = 0xc
-- RTPROT_BOOT = 0x3
-- RTPROT_DHCP = 0x10
-- RTPROT_DNROUTED = 0xd
-- RTPROT_GATED = 0x8
-- RTPROT_KERNEL = 0x2
-- RTPROT_MROUTED = 0x11
-- RTPROT_MRT = 0xa
-- RTPROT_NTK = 0xf
-- RTPROT_RA = 0x9
-- RTPROT_REDIRECT = 0x1
-- RTPROT_STATIC = 0x4
-- RTPROT_UNSPEC = 0x0
-- RTPROT_XORP = 0xe
-- RTPROT_ZEBRA = 0xb
-- RT_CLASS_DEFAULT = 0xfd
-- RT_CLASS_LOCAL = 0xff
-- RT_CLASS_MAIN = 0xfe
-- RT_CLASS_MAX = 0xff
-- RT_CLASS_UNSPEC = 0x0
-- RUSAGE_CHILDREN = -0x1
-- RUSAGE_SELF = 0x0
-- RUSAGE_THREAD = 0x1
-- SCM_CREDENTIALS = 0x2
-- SCM_RIGHTS = 0x1
-- SCM_TIMESTAMP = 0x1d
-- SCM_TIMESTAMPING = 0x25
-- SCM_TIMESTAMPING_OPT_STATS = 0x36
-- SCM_TIMESTAMPNS = 0x23
-- SCM_WIFI_STATUS = 0x29
-- SECCOMP_MODE_DISABLED = 0x0
-- SECCOMP_MODE_FILTER = 0x2
-- SECCOMP_MODE_STRICT = 0x1
-- SHUT_RD = 0x0
-- SHUT_RDWR = 0x2
-- SHUT_WR = 0x1
-- SIOCADDDLCI = 0x8980
-- SIOCADDMULTI = 0x8931
-- SIOCADDRT = 0x890b
-- SIOCATMARK = 0x8905
-- SIOCBONDCHANGEACTIVE = 0x8995
-- SIOCBONDENSLAVE = 0x8990
-- SIOCBONDINFOQUERY = 0x8994
-- SIOCBONDRELEASE = 0x8991
-- SIOCBONDSETHWADDR = 0x8992
-- SIOCBONDSLAVEINFOQUERY = 0x8993
-- SIOCBRADDBR = 0x89a0
-- SIOCBRADDIF = 0x89a2
-- SIOCBRDELBR = 0x89a1
-- SIOCBRDELIF = 0x89a3
-- SIOCDARP = 0x8953
-- SIOCDELDLCI = 0x8981
-- SIOCDELMULTI = 0x8932
-- SIOCDELRT = 0x890c
-- SIOCDEVPRIVATE = 0x89f0
-- SIOCDIFADDR = 0x8936
-- SIOCDRARP = 0x8960
-- SIOCETHTOOL = 0x8946
-- SIOCGARP = 0x8954
-- SIOCGHWTSTAMP = 0x89b1
-- SIOCGIFADDR = 0x8915
-- SIOCGIFBR = 0x8940
-- SIOCGIFBRDADDR = 0x8919
-- SIOCGIFCONF = 0x8912
-- SIOCGIFCOUNT = 0x8938
-- SIOCGIFDSTADDR = 0x8917
-- SIOCGIFENCAP = 0x8925
-- SIOCGIFFLAGS = 0x8913
-- SIOCGIFHWADDR = 0x8927
-- SIOCGIFINDEX = 0x8933
-- SIOCGIFMAP = 0x8970
-- SIOCGIFMEM = 0x891f
-- SIOCGIFMETRIC = 0x891d
-- SIOCGIFMTU = 0x8921
-- SIOCGIFNAME = 0x8910
-- SIOCGIFNETMASK = 0x891b
-- SIOCGIFPFLAGS = 0x8935
-- SIOCGIFSLAVE = 0x8929
-- SIOCGIFTXQLEN = 0x8942
-- SIOCGIFVLAN = 0x8982
-- SIOCGMIIPHY = 0x8947
-- SIOCGMIIREG = 0x8948
-- SIOCGPGRP = 0x8904
-- SIOCGRARP = 0x8961
-- SIOCGSKNS = 0x894c
-- SIOCGSTAMP = 0x8906
-- SIOCGSTAMPNS = 0x8907
-- SIOCINQ = 0x4004667f
-- SIOCOUTQ = 0x40047473
-- SIOCOUTQNSD = 0x894b
-- SIOCPROTOPRIVATE = 0x89e0
-- SIOCRTMSG = 0x890d
-- SIOCSARP = 0x8955
-- SIOCSHWTSTAMP = 0x89b0
-- SIOCSIFADDR = 0x8916
-- SIOCSIFBR = 0x8941
-- SIOCSIFBRDADDR = 0x891a
-- SIOCSIFDSTADDR = 0x8918
-- SIOCSIFENCAP = 0x8926
-- SIOCSIFFLAGS = 0x8914
-- SIOCSIFHWADDR = 0x8924
-- SIOCSIFHWBROADCAST = 0x8937
-- SIOCSIFLINK = 0x8911
-- SIOCSIFMAP = 0x8971
-- SIOCSIFMEM = 0x8920
-- SIOCSIFMETRIC = 0x891e
-- SIOCSIFMTU = 0x8922
-- SIOCSIFNAME = 0x8923
-- SIOCSIFNETMASK = 0x891c
-- SIOCSIFPFLAGS = 0x8934
-- SIOCSIFSLAVE = 0x8930
-- SIOCSIFTXQLEN = 0x8943
-- SIOCSIFVLAN = 0x8983
-- SIOCSMIIREG = 0x8949
-- SIOCSPGRP = 0x8902
-- SIOCSRARP = 0x8962
-- SIOCWANDEV = 0x894a
-- SOCK_CLOEXEC = 0x80000
-- SOCK_DCCP = 0x6
-- SOCK_DGRAM = 0x2
-- SOCK_IOC_TYPE = 0x89
-- SOCK_NONBLOCK = 0x800
-- SOCK_PACKET = 0xa
-- SOCK_RAW = 0x3
-- SOCK_RDM = 0x4
-- SOCK_SEQPACKET = 0x5
-- SOCK_STREAM = 0x1
-- SOL_AAL = 0x109
-- SOL_ALG = 0x117
-- SOL_ATM = 0x108
-- SOL_CAIF = 0x116
-- SOL_CAN_BASE = 0x64
-- SOL_DCCP = 0x10d
-- SOL_DECNET = 0x105
-- SOL_ICMPV6 = 0x3a
-- SOL_IP = 0x0
-- SOL_IPV6 = 0x29
-- SOL_IRDA = 0x10a
-- SOL_IUCV = 0x115
-- SOL_KCM = 0x119
-- SOL_LLC = 0x10c
-- SOL_NETBEUI = 0x10b
-- SOL_NETLINK = 0x10e
-- SOL_NFC = 0x118
-- SOL_PACKET = 0x107
-- SOL_PNPIPE = 0x113
-- SOL_PPPOL2TP = 0x111
-- SOL_RAW = 0xff
-- SOL_RDS = 0x114
-- SOL_RXRPC = 0x110
-- SOL_SOCKET = 0x1
-- SOL_TCP = 0x6
-- SOL_TIPC = 0x10f
-- SOL_X25 = 0x106
-- SOMAXCONN = 0x80
-- SO_ACCEPTCONN = 0x1e
-- SO_ATTACH_BPF = 0x32
-- SO_ATTACH_FILTER = 0x1a
-- SO_ATTACH_REUSEPORT_CBPF = 0x33
-- SO_ATTACH_REUSEPORT_EBPF = 0x34
-- SO_BINDTODEVICE = 0x19
-- SO_BPF_EXTENSIONS = 0x30
-- SO_BROADCAST = 0x6
-- SO_BSDCOMPAT = 0xe
-- SO_BUSY_POLL = 0x2e
-- SO_CNX_ADVICE = 0x35
-- SO_DEBUG = 0x1
-- SO_DETACH_BPF = 0x1b
-- SO_DETACH_FILTER = 0x1b
-- SO_DOMAIN = 0x27
-- SO_DONTROUTE = 0x5
-- SO_ERROR = 0x4
-- SO_GET_FILTER = 0x1a
-- SO_INCOMING_CPU = 0x31
-- SO_KEEPALIVE = 0x9
-- SO_LINGER = 0xd
-- SO_LOCK_FILTER = 0x2c
-- SO_MARK = 0x24
-- SO_MAX_PACING_RATE = 0x2f
-- SO_NOFCS = 0x2b
-- SO_NO_CHECK = 0xb
-- SO_OOBINLINE = 0xa
-- SO_PASSCRED = 0x14
-- SO_PASSSEC = 0x22
-- SO_PEEK_OFF = 0x2a
-- SO_PEERCRED = 0x15
-- SO_PEERNAME = 0x1c
-- SO_PEERSEC = 0x1f
-- SO_PRIORITY = 0xc
-- SO_PROTOCOL = 0x26
-- SO_RCVBUF = 0x8
-- SO_RCVBUFFORCE = 0x21
-- SO_RCVLOWAT = 0x10
-- SO_RCVTIMEO = 0x12
-- SO_REUSEADDR = 0x2
-- SO_REUSEPORT = 0xf
-- SO_RXQ_OVFL = 0x28
-- SO_SECURITY_AUTHENTICATION = 0x16
-- SO_SECURITY_ENCRYPTION_NETWORK = 0x18
-- SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
-- SO_SELECT_ERR_QUEUE = 0x2d
-- SO_SNDBUF = 0x7
-- SO_SNDBUFFORCE = 0x20
-- SO_SNDLOWAT = 0x11
-- SO_SNDTIMEO = 0x13
-- SO_TIMESTAMP = 0x1d
-- SO_TIMESTAMPING = 0x25
-- SO_TIMESTAMPNS = 0x23
-- SO_TYPE = 0x3
-- SO_VM_SOCKETS_BUFFER_MAX_SIZE = 0x2
-- SO_VM_SOCKETS_BUFFER_MIN_SIZE = 0x1
-- SO_VM_SOCKETS_BUFFER_SIZE = 0x0
-- SO_VM_SOCKETS_CONNECT_TIMEOUT = 0x6
-- SO_VM_SOCKETS_NONBLOCK_TXRX = 0x7
-- SO_VM_SOCKETS_PEER_HOST_VM_ID = 0x3
-- SO_VM_SOCKETS_TRUSTED = 0x5
-- SO_WIFI_STATUS = 0x29
-- SPLICE_F_GIFT = 0x8
-- SPLICE_F_MORE = 0x4
-- SPLICE_F_MOVE = 0x1
-- SPLICE_F_NONBLOCK = 0x2
-- S_BLKSIZE = 0x200
-- S_IEXEC = 0x40
-- S_IFBLK = 0x6000
-- S_IFCHR = 0x2000
-- S_IFDIR = 0x4000
-- S_IFIFO = 0x1000
-- S_IFLNK = 0xa000
-- S_IFMT = 0xf000
-- S_IFREG = 0x8000
-- S_IFSOCK = 0xc000
-- S_IREAD = 0x100
-- S_IRGRP = 0x20
-- S_IROTH = 0x4
-- S_IRUSR = 0x100
-- S_IRWXG = 0x38
-- S_IRWXO = 0x7
-- S_IRWXU = 0x1c0
-- S_ISGID = 0x400
-- S_ISUID = 0x800
-- S_ISVTX = 0x200
-- S_IWGRP = 0x10
-- S_IWOTH = 0x2
-- S_IWRITE = 0x80
-- S_IWUSR = 0x80
-- S_IXGRP = 0x8
-- S_IXOTH = 0x1
-- S_IXUSR = 0x40
-- TAB0 = 0x0
-- TAB1 = 0x400
-- TAB2 = 0x800
-- TAB3 = 0xc00
-- TABDLY = 0xc00
-- TASKSTATS_CMD_ATTR_MAX = 0x4
-- TASKSTATS_CMD_MAX = 0x2
-- TASKSTATS_GENL_NAME = "TASKSTATS"
-- TASKSTATS_GENL_VERSION = 0x1
-- TASKSTATS_TYPE_MAX = 0x6
-- TASKSTATS_VERSION = 0x8
-- TCFLSH = 0x2000741f
-- TCGETA = 0x40147417
-- TCGETS = 0x402c7413
-- TCIFLUSH = 0x0
-- TCIOFF = 0x2
-- TCIOFLUSH = 0x2
-- TCION = 0x3
-- TCOFLUSH = 0x1
-- TCOOFF = 0x0
-- TCOON = 0x1
-- TCP_CC_INFO = 0x1a
-- TCP_CONGESTION = 0xd
-- TCP_COOKIE_IN_ALWAYS = 0x1
-- TCP_COOKIE_MAX = 0x10
-- TCP_COOKIE_MIN = 0x8
-- TCP_COOKIE_OUT_NEVER = 0x2
-- TCP_COOKIE_PAIR_SIZE = 0x20
-- TCP_COOKIE_TRANSACTIONS = 0xf
-- TCP_CORK = 0x3
-- TCP_DEFER_ACCEPT = 0x9
-- TCP_FASTOPEN = 0x17
-- TCP_INFO = 0xb
-- TCP_KEEPCNT = 0x6
-- TCP_KEEPIDLE = 0x4
-- TCP_KEEPINTVL = 0x5
-- TCP_LINGER2 = 0x8
-- TCP_MAXSEG = 0x2
-- TCP_MAXWIN = 0xffff
-- TCP_MAX_WINSHIFT = 0xe
-- TCP_MD5SIG = 0xe
-- TCP_MD5SIG_MAXKEYLEN = 0x50
-- TCP_MSS = 0x200
-- TCP_MSS_DEFAULT = 0x218
-- TCP_MSS_DESIRED = 0x4c4
-- TCP_NODELAY = 0x1
-- TCP_NOTSENT_LOWAT = 0x19
-- TCP_QUEUE_SEQ = 0x15
-- TCP_QUICKACK = 0xc
-- TCP_REPAIR = 0x13
-- TCP_REPAIR_OPTIONS = 0x16
-- TCP_REPAIR_QUEUE = 0x14
-- TCP_REPAIR_WINDOW = 0x1d
-- TCP_SAVED_SYN = 0x1c
-- TCP_SAVE_SYN = 0x1b
-- TCP_SYNCNT = 0x7
-- TCP_S_DATA_IN = 0x4
-- TCP_S_DATA_OUT = 0x8
-- TCP_THIN_DUPACK = 0x11
-- TCP_THIN_LINEAR_TIMEOUTS = 0x10
-- TCP_TIMESTAMP = 0x18
-- TCP_USER_TIMEOUT = 0x12
-- TCP_WINDOW_CLAMP = 0xa
-- TCSAFLUSH = 0x2
-- TCSBRK = 0x2000741d
-- TCSBRKP = 0x5425
-- TCSETA = 0x80147418
-- TCSETAF = 0x8014741c
-- TCSETAW = 0x80147419
-- TCSETS = 0x802c7414
-- TCSETSF = 0x802c7416
-- TCSETSW = 0x802c7415
-- TCXONC = 0x2000741e
-- TIOCCBRK = 0x5428
-- TIOCCONS = 0x541d
-- TIOCEXCL = 0x540c
-- TIOCGDEV = 0x40045432
-- TIOCGETC = 0x40067412
-- TIOCGETD = 0x5424
-- TIOCGETP = 0x40067408
-- TIOCGEXCL = 0x40045440
-- TIOCGICOUNT = 0x545d
-- TIOCGLCKTRMIOS = 0x5456
-- TIOCGLTC = 0x40067474
-- TIOCGPGRP = 0x40047477
-- TIOCGPKT = 0x40045438
-- TIOCGPTLCK = 0x40045439
-- TIOCGPTN = 0x40045430
-- TIOCGRS485 = 0x542e
-- TIOCGSERIAL = 0x541e
-- TIOCGSID = 0x5429
-- TIOCGSOFTCAR = 0x5419
-- TIOCGWINSZ = 0x40087468
-- TIOCINQ = 0x4004667f
-- TIOCLINUX = 0x541c
-- TIOCMBIC = 0x5417
-- TIOCMBIS = 0x5416
-- TIOCMGET = 0x5415
-- TIOCMIWAIT = 0x545c
-- TIOCMSET = 0x5418
-- TIOCM_CAR = 0x40
-- TIOCM_CD = 0x40
-- TIOCM_CTS = 0x20
-- TIOCM_DSR = 0x100
-- TIOCM_DTR = 0x2
-- TIOCM_LE = 0x1
-- TIOCM_LOOP = 0x8000
-- TIOCM_OUT1 = 0x2000
-- TIOCM_OUT2 = 0x4000
-- TIOCM_RI = 0x80
-- TIOCM_RNG = 0x80
-- TIOCM_RTS = 0x4
-- TIOCM_SR = 0x10
-- TIOCM_ST = 0x8
-- TIOCNOTTY = 0x5422
-- TIOCNXCL = 0x540d
-- TIOCOUTQ = 0x40047473
-- TIOCPKT = 0x5420
-- TIOCPKT_DATA = 0x0
-- TIOCPKT_DOSTOP = 0x20
-- TIOCPKT_FLUSHREAD = 0x1
-- TIOCPKT_FLUSHWRITE = 0x2
-- TIOCPKT_IOCTL = 0x40
-- TIOCPKT_NOSTOP = 0x10
-- TIOCPKT_START = 0x8
-- TIOCPKT_STOP = 0x4
-- TIOCSBRK = 0x5427
-- TIOCSCTTY = 0x540e
-- TIOCSERCONFIG = 0x5453
-- TIOCSERGETLSR = 0x5459
-- TIOCSERGETMULTI = 0x545a
-- TIOCSERGSTRUCT = 0x5458
-- TIOCSERGWILD = 0x5454
-- TIOCSERSETMULTI = 0x545b
-- TIOCSERSWILD = 0x5455
-- TIOCSER_TEMT = 0x1
-- TIOCSETC = 0x80067411
-- TIOCSETD = 0x5423
-- TIOCSETN = 0x8006740a
-- TIOCSETP = 0x80067409
-- TIOCSIG = 0x80045436
-- TIOCSLCKTRMIOS = 0x5457
-- TIOCSLTC = 0x80067475
-- TIOCSPGRP = 0x80047476
-- TIOCSPTLCK = 0x80045431
-- TIOCSRS485 = 0x542f
-- TIOCSSERIAL = 0x541f
-- TIOCSSOFTCAR = 0x541a
-- TIOCSTART = 0x2000746e
-- TIOCSTI = 0x5412
-- TIOCSTOP = 0x2000746f
-- TIOCSWINSZ = 0x80087467
-- TIOCVHANGUP = 0x5437
-- TOSTOP = 0x400000
-- TS_COMM_LEN = 0x20
-- TUNATTACHFILTER = 0x801054d5
-- TUNDETACHFILTER = 0x801054d6
-- TUNGETFEATURES = 0x400454cf
-- TUNGETFILTER = 0x401054db
-- TUNGETIFF = 0x400454d2
-- TUNGETSNDBUF = 0x400454d3
-- TUNGETVNETBE = 0x400454df
-- TUNGETVNETHDRSZ = 0x400454d7
-- TUNGETVNETLE = 0x400454dd
-- TUNSETDEBUG = 0x800454c9
-- TUNSETGROUP = 0x800454ce
-- TUNSETIFF = 0x800454ca
-- TUNSETIFINDEX = 0x800454da
-- TUNSETLINK = 0x800454cd
-- TUNSETNOCSUM = 0x800454c8
-- TUNSETOFFLOAD = 0x800454d0
-- TUNSETOWNER = 0x800454cc
-- TUNSETPERSIST = 0x800454cb
-- TUNSETQUEUE = 0x800454d9
-- TUNSETSNDBUF = 0x800454d4
-- TUNSETTXFILTER = 0x800454d1
-- TUNSETVNETBE = 0x800454de
-- TUNSETVNETHDRSZ = 0x800454d8
-- TUNSETVNETLE = 0x800454dc
-- UMOUNT_NOFOLLOW = 0x8
-- VDISCARD = 0x10
-- VEOF = 0x4
-- VEOL = 0x6
-- VEOL2 = 0x8
-- VERASE = 0x2
-- VINTR = 0x0
-- VKILL = 0x3
-- VLNEXT = 0xf
-- VMADDR_CID_ANY = 0xffffffff
-- VMADDR_CID_HOST = 0x2
-- VMADDR_CID_HYPERVISOR = 0x0
-- VMADDR_CID_RESERVED = 0x1
-- VMADDR_PORT_ANY = 0xffffffff
-- VMIN = 0x5
-- VM_SOCKETS_INVALID_VERSION = 0xffffffff
-- VQUIT = 0x1
-- VREPRINT = 0xb
-- VSTART = 0xd
-- VSTOP = 0xe
-- VSUSP = 0xc
-- VSWTC = 0x9
-- VT0 = 0x0
-- VT1 = 0x10000
-- VTDLY = 0x10000
-- VTIME = 0x7
-- VWERASE = 0xa
-- WALL = 0x40000000
-- WCLONE = 0x80000000
-- WCONTINUED = 0x8
-- WEXITED = 0x4
-- WNOHANG = 0x1
-- WNOTHREAD = 0x20000000
-- WNOWAIT = 0x1000000
-- WORDSIZE = 0x40
-- WSTOPPED = 0x2
-- WUNTRACED = 0x2
-- XATTR_CREATE = 0x1
-- XATTR_REPLACE = 0x2
-- XCASE = 0x4000
-- XTABS = 0xc00
-+ B1000000 = 0x17
-+ B115200 = 0x11
-+ B1152000 = 0x18
-+ B1500000 = 0x19
-+ B2000000 = 0x1a
-+ B230400 = 0x12
-+ B2500000 = 0x1b
-+ B3000000 = 0x1c
-+ B3500000 = 0x1d
-+ B4000000 = 0x1e
-+ B460800 = 0x13
-+ B500000 = 0x14
-+ B57600 = 0x10
-+ B576000 = 0x15
-+ B921600 = 0x16
-+ BLKBSZGET = 0x40081270
-+ BLKBSZSET = 0x80081271
-+ BLKFLSBUF = 0x20001261
-+ BLKFRAGET = 0x20001265
-+ BLKFRASET = 0x20001264
-+ BLKGETSIZE = 0x20001260
-+ BLKGETSIZE64 = 0x40081272
-+ BLKPBSZGET = 0x2000127b
-+ BLKRAGET = 0x20001263
-+ BLKRASET = 0x20001262
-+ BLKROGET = 0x2000125e
-+ BLKROSET = 0x2000125d
-+ BLKRRPART = 0x2000125f
-+ BLKSECTGET = 0x20001267
-+ BLKSECTSET = 0x20001266
-+ BLKSSZGET = 0x20001268
-+ BOTHER = 0x1f
-+ BS1 = 0x8000
-+ BSDLY = 0x8000
-+ CBAUD = 0xff
-+ CBAUDEX = 0x0
-+ CIBAUD = 0xff0000
-+ CLOCAL = 0x8000
-+ CR1 = 0x1000
-+ CR2 = 0x2000
-+ CR3 = 0x3000
-+ CRDLY = 0x3000
-+ CREAD = 0x800
-+ CS6 = 0x100
-+ CS7 = 0x200
-+ CS8 = 0x300
-+ CSIZE = 0x300
-+ CSTOPB = 0x400
-+ ECHOCTL = 0x40
-+ ECHOE = 0x2
-+ ECHOK = 0x4
-+ ECHOKE = 0x1
-+ ECHONL = 0x10
-+ ECHOPRT = 0x20
-+ EFD_CLOEXEC = 0x80000
-+ EFD_NONBLOCK = 0x800
-+ EPOLL_CLOEXEC = 0x80000
-+ EXTPROC = 0x10000000
-+ FF1 = 0x4000
-+ FFDLY = 0x4000
-+ FLUSHO = 0x800000
-+ FS_IOC_ENABLE_VERITY = 0x80806685
-+ FS_IOC_GETFLAGS = 0x40086601
-+ FS_IOC_GET_ENCRYPTION_POLICY = 0x800c6615
-+ FS_IOC_GET_ENCRYPTION_PWSALT = 0x80106614
-+ FS_IOC_SET_ENCRYPTION_POLICY = 0x400c6613
-+ F_GETLK = 0x5
-+ F_GETLK64 = 0xc
-+ F_GETOWN = 0x9
-+ F_RDLCK = 0x0
-+ F_SETLK = 0x6
-+ F_SETLK64 = 0xd
-+ F_SETLKW = 0x7
-+ F_SETLKW64 = 0xe
-+ F_SETOWN = 0x8
-+ F_UNLCK = 0x2
-+ F_WRLCK = 0x1
-+ HUPCL = 0x4000
-+ ICANON = 0x100
-+ IEXTEN = 0x400
-+ IN_CLOEXEC = 0x80000
-+ IN_NONBLOCK = 0x800
-+ IOCTL_VM_SOCKETS_GET_LOCAL_CID = 0x200007b9
-+ ISIG = 0x80
-+ IUCLC = 0x1000
-+ IXOFF = 0x400
-+ IXON = 0x200
-+ MAP_ANON = 0x20
-+ MAP_ANONYMOUS = 0x20
-+ MAP_DENYWRITE = 0x800
-+ MAP_EXECUTABLE = 0x1000
-+ MAP_GROWSDOWN = 0x100
-+ MAP_HUGETLB = 0x40000
-+ MAP_LOCKED = 0x80
-+ MAP_NONBLOCK = 0x10000
-+ MAP_NORESERVE = 0x40
-+ MAP_POPULATE = 0x8000
-+ MAP_STACK = 0x20000
-+ MAP_SYNC = 0x80000
-+ MCL_CURRENT = 0x2000
-+ MCL_FUTURE = 0x4000
-+ MCL_ONFAULT = 0x8000
-+ NFDBITS = 0x40
-+ NL2 = 0x200
-+ NL3 = 0x300
-+ NLDLY = 0x300
-+ NOFLSH = 0x80000000
-+ NS_GET_NSTYPE = 0x2000b703
-+ NS_GET_OWNER_UID = 0x2000b704
-+ NS_GET_PARENT = 0x2000b702
-+ NS_GET_USERNS = 0x2000b701
-+ OLCUC = 0x4
-+ ONLCR = 0x2
-+ O_APPEND = 0x400
-+ O_ASYNC = 0x2000
-+ O_CLOEXEC = 0x80000
-+ O_CREAT = 0x40
-+ O_DIRECT = 0x20000
-+ O_DIRECTORY = 0x4000
-+ O_DSYNC = 0x1000
-+ O_EXCL = 0x80
-+ O_FSYNC = 0x101000
-+ O_LARGEFILE = 0x0
-+ O_NDELAY = 0x800
-+ O_NOATIME = 0x40000
-+ O_NOCTTY = 0x100
-+ O_NOFOLLOW = 0x8000
-+ O_NONBLOCK = 0x800
-+ O_PATH = 0x200000
-+ O_RSYNC = 0x101000
-+ O_SYNC = 0x101000
-+ O_TMPFILE = 0x404000
-+ O_TRUNC = 0x200
-+ PARENB = 0x1000
-+ PARODD = 0x2000
-+ PENDIN = 0x20000000
-+ PERF_EVENT_IOC_DISABLE = 0x20002401
-+ PERF_EVENT_IOC_ENABLE = 0x20002400
-+ PERF_EVENT_IOC_ID = 0x40082407
-+ PERF_EVENT_IOC_MODIFY_ATTRIBUTES = 0x8008240b
-+ PERF_EVENT_IOC_PAUSE_OUTPUT = 0x80042409
-+ PERF_EVENT_IOC_PERIOD = 0x80082404
-+ PERF_EVENT_IOC_QUERY_BPF = 0xc008240a
-+ PERF_EVENT_IOC_REFRESH = 0x20002402
-+ PERF_EVENT_IOC_RESET = 0x20002403
-+ PERF_EVENT_IOC_SET_BPF = 0x80042408
-+ PERF_EVENT_IOC_SET_FILTER = 0x80082406
-+ PERF_EVENT_IOC_SET_OUTPUT = 0x20002405
-+ PPPIOCATTACH = 0x8004743d
-+ PPPIOCATTCHAN = 0x80047438
-+ PPPIOCCONNECT = 0x8004743a
-+ PPPIOCDETACH = 0x8004743c
-+ PPPIOCDISCONN = 0x20007439
-+ PPPIOCGASYNCMAP = 0x40047458
-+ PPPIOCGCHAN = 0x40047437
-+ PPPIOCGDEBUG = 0x40047441
-+ PPPIOCGFLAGS = 0x4004745a
-+ PPPIOCGIDLE = 0x4010743f
-+ PPPIOCGIDLE32 = 0x4008743f
-+ PPPIOCGIDLE64 = 0x4010743f
-+ PPPIOCGL2TPSTATS = 0x40487436
-+ PPPIOCGMRU = 0x40047453
-+ PPPIOCGRASYNCMAP = 0x40047455
-+ PPPIOCGUNIT = 0x40047456
-+ PPPIOCGXASYNCMAP = 0x40207450
-+ PPPIOCSACTIVE = 0x80107446
-+ PPPIOCSASYNCMAP = 0x80047457
-+ PPPIOCSCOMPRESS = 0x8010744d
-+ PPPIOCSDEBUG = 0x80047440
-+ PPPIOCSFLAGS = 0x80047459
-+ PPPIOCSMAXCID = 0x80047451
-+ PPPIOCSMRRU = 0x8004743b
-+ PPPIOCSMRU = 0x80047452
-+ PPPIOCSNPMODE = 0x8008744b
-+ PPPIOCSPASS = 0x80107447
-+ PPPIOCSRASYNCMAP = 0x80047454
-+ PPPIOCSXASYNCMAP = 0x8020744f
-+ PPPIOCXFERUNIT = 0x2000744e
-+ PROT_SAO = 0x10
-+ PR_SET_PTRACER_ANY = 0xffffffffffffffff
-+ PTRACE_GETEVRREGS = 0x14
-+ PTRACE_GETFPREGS = 0xe
-+ PTRACE_GETREGS64 = 0x16
-+ PTRACE_GETVRREGS = 0x12
-+ PTRACE_GETVSRREGS = 0x1b
-+ PTRACE_GET_DEBUGREG = 0x19
-+ PTRACE_SETEVRREGS = 0x15
-+ PTRACE_SETFPREGS = 0xf
-+ PTRACE_SETREGS64 = 0x17
-+ PTRACE_SETVRREGS = 0x13
-+ PTRACE_SETVSRREGS = 0x1c
-+ PTRACE_SET_DEBUGREG = 0x1a
-+ PTRACE_SINGLEBLOCK = 0x100
-+ PTRACE_SYSEMU = 0x1d
-+ PTRACE_SYSEMU_SINGLESTEP = 0x1e
-+ PT_CCR = 0x26
-+ PT_CTR = 0x23
-+ PT_DAR = 0x29
-+ PT_DSCR = 0x2c
-+ PT_DSISR = 0x2a
-+ PT_FPR0 = 0x30
-+ PT_FPSCR = 0x50
-+ PT_LNK = 0x24
-+ PT_MSR = 0x21
-+ PT_NIP = 0x20
-+ PT_ORIG_R3 = 0x22
-+ PT_R0 = 0x0
-+ PT_R1 = 0x1
-+ PT_R10 = 0xa
-+ PT_R11 = 0xb
-+ PT_R12 = 0xc
-+ PT_R13 = 0xd
-+ PT_R14 = 0xe
-+ PT_R15 = 0xf
-+ PT_R16 = 0x10
-+ PT_R17 = 0x11
-+ PT_R18 = 0x12
-+ PT_R19 = 0x13
-+ PT_R2 = 0x2
-+ PT_R20 = 0x14
-+ PT_R21 = 0x15
-+ PT_R22 = 0x16
-+ PT_R23 = 0x17
-+ PT_R24 = 0x18
-+ PT_R25 = 0x19
-+ PT_R26 = 0x1a
-+ PT_R27 = 0x1b
-+ PT_R28 = 0x1c
-+ PT_R29 = 0x1d
-+ PT_R3 = 0x3
-+ PT_R30 = 0x1e
-+ PT_R31 = 0x1f
-+ PT_R4 = 0x4
-+ PT_R5 = 0x5
-+ PT_R6 = 0x6
-+ PT_R7 = 0x7
-+ PT_R8 = 0x8
-+ PT_R9 = 0x9
-+ PT_REGS_COUNT = 0x2c
-+ PT_RESULT = 0x2b
-+ PT_SOFTE = 0x27
-+ PT_TRAP = 0x28
-+ PT_VR0 = 0x52
-+ PT_VRSAVE = 0x94
-+ PT_VSCR = 0x93
-+ PT_VSR0 = 0x96
-+ PT_VSR31 = 0xd4
-+ PT_XER = 0x25
-+ RLIMIT_AS = 0x9
-+ RLIMIT_MEMLOCK = 0x8
-+ RLIMIT_NOFILE = 0x7
-+ RLIMIT_NPROC = 0x6
-+ RLIMIT_RSS = 0x5
-+ RNDADDENTROPY = 0x80085203
-+ RNDADDTOENTCNT = 0x80045201
-+ RNDCLEARPOOL = 0x20005206
-+ RNDGETENTCNT = 0x40045200
-+ RNDGETPOOL = 0x40085202
-+ RNDRESEEDCRNG = 0x20005207
-+ RNDZAPENTCNT = 0x20005204
-+ RTC_AIE_OFF = 0x20007002
-+ RTC_AIE_ON = 0x20007001
-+ RTC_ALM_READ = 0x40247008
-+ RTC_ALM_SET = 0x80247007
-+ RTC_EPOCH_READ = 0x4008700d
-+ RTC_EPOCH_SET = 0x8008700e
-+ RTC_IRQP_READ = 0x4008700b
-+ RTC_IRQP_SET = 0x8008700c
-+ RTC_PIE_OFF = 0x20007006
-+ RTC_PIE_ON = 0x20007005
-+ RTC_PLL_GET = 0x40207011
-+ RTC_PLL_SET = 0x80207012
-+ RTC_RD_TIME = 0x40247009
-+ RTC_SET_TIME = 0x8024700a
-+ RTC_UIE_OFF = 0x20007004
-+ RTC_UIE_ON = 0x20007003
-+ RTC_VL_CLR = 0x20007014
-+ RTC_VL_READ = 0x40047013
-+ RTC_WIE_OFF = 0x20007010
-+ RTC_WIE_ON = 0x2000700f
-+ RTC_WKALM_RD = 0x40287010
-+ RTC_WKALM_SET = 0x8028700f
-+ 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 = 0x40108907
-+ SIOCGSTAMP_NEW = 0x40108906
-+ SIOCINQ = 0x4004667f
-+ SIOCOUTQ = 0x40047473
-+ 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_BUSY_POLL = 0x2e
-+ 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_NOFCS = 0x2b
-+ SO_OOBINLINE = 0xa
-+ SO_PASSCRED = 0x14
-+ SO_PASSSEC = 0x22
-+ SO_PEEK_OFF = 0x2a
-+ SO_PEERCRED = 0x15
-+ SO_PEERGROUPS = 0x3b
-+ SO_PEERSEC = 0x1f
-+ SO_PROTOCOL = 0x26
-+ SO_RCVBUF = 0x8
-+ SO_RCVBUFFORCE = 0x21
-+ SO_RCVLOWAT = 0x10
-+ SO_RCVTIMEO = 0x12
-+ SO_RCVTIMEO_NEW = 0x42
-+ SO_RCVTIMEO_OLD = 0x12
-+ SO_REUSEADDR = 0x2
-+ SO_REUSEPORT = 0xf
-+ SO_RXQ_OVFL = 0x28
-+ SO_SECURITY_AUTHENTICATION = 0x16
-+ SO_SECURITY_ENCRYPTION_NETWORK = 0x18
-+ SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
-+ SO_SELECT_ERR_QUEUE = 0x2d
-+ SO_SNDBUF = 0x7
-+ SO_SNDBUFFORCE = 0x20
-+ SO_SNDLOWAT = 0x11
-+ SO_SNDTIMEO = 0x13
-+ SO_SNDTIMEO_NEW = 0x43
-+ SO_SNDTIMEO_OLD = 0x13
-+ 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_TXTIME = 0x3d
-+ SO_TYPE = 0x3
-+ SO_WIFI_STATUS = 0x29
-+ SO_ZEROCOPY = 0x3c
-+ TAB1 = 0x400
-+ TAB2 = 0x800
-+ TAB3 = 0xc00
-+ TABDLY = 0xc00
-+ TCFLSH = 0x2000741f
-+ TCGETA = 0x40147417
-+ TCGETS = 0x402c7413
-+ TCSAFLUSH = 0x2
-+ TCSBRK = 0x2000741d
-+ TCSBRKP = 0x5425
-+ TCSETA = 0x80147418
-+ TCSETAF = 0x8014741c
-+ TCSETAW = 0x80147419
-+ TCSETS = 0x802c7414
-+ TCSETSF = 0x802c7416
-+ TCSETSW = 0x802c7415
-+ TCXONC = 0x2000741e
-+ TIOCCBRK = 0x5428
-+ TIOCCONS = 0x541d
-+ TIOCEXCL = 0x540c
-+ TIOCGDEV = 0x40045432
-+ TIOCGETC = 0x40067412
-+ TIOCGETD = 0x5424
-+ TIOCGETP = 0x40067408
-+ TIOCGEXCL = 0x40045440
-+ TIOCGICOUNT = 0x545d
-+ TIOCGISO7816 = 0x40285442
-+ TIOCGLCKTRMIOS = 0x5456
-+ TIOCGLTC = 0x40067474
-+ TIOCGPGRP = 0x40047477
-+ TIOCGPKT = 0x40045438
-+ TIOCGPTLCK = 0x40045439
-+ TIOCGPTN = 0x40045430
-+ TIOCGPTPEER = 0x20005441
-+ TIOCGRS485 = 0x542e
-+ TIOCGSERIAL = 0x541e
-+ TIOCGSID = 0x5429
-+ TIOCGSOFTCAR = 0x5419
-+ TIOCGWINSZ = 0x40087468
-+ TIOCINQ = 0x4004667f
-+ TIOCLINUX = 0x541c
-+ TIOCMBIC = 0x5417
-+ TIOCMBIS = 0x5416
-+ TIOCMGET = 0x5415
-+ TIOCMIWAIT = 0x545c
-+ TIOCMSET = 0x5418
-+ TIOCM_CAR = 0x40
-+ TIOCM_CD = 0x40
-+ TIOCM_CTS = 0x20
-+ TIOCM_DSR = 0x100
-+ TIOCM_LOOP = 0x8000
-+ TIOCM_OUT1 = 0x2000
-+ TIOCM_OUT2 = 0x4000
-+ TIOCM_RI = 0x80
-+ TIOCM_RNG = 0x80
-+ TIOCM_SR = 0x10
-+ TIOCM_ST = 0x8
-+ TIOCNOTTY = 0x5422
-+ TIOCNXCL = 0x540d
-+ TIOCOUTQ = 0x40047473
-+ TIOCPKT = 0x5420
-+ TIOCSBRK = 0x5427
-+ TIOCSCTTY = 0x540e
-+ TIOCSERCONFIG = 0x5453
-+ TIOCSERGETLSR = 0x5459
-+ TIOCSERGETMULTI = 0x545a
-+ TIOCSERGSTRUCT = 0x5458
-+ TIOCSERGWILD = 0x5454
-+ TIOCSERSETMULTI = 0x545b
-+ TIOCSERSWILD = 0x5455
-+ TIOCSER_TEMT = 0x1
-+ TIOCSETC = 0x80067411
-+ TIOCSETD = 0x5423
-+ TIOCSETN = 0x8006740a
-+ TIOCSETP = 0x80067409
-+ TIOCSIG = 0x80045436
-+ TIOCSISO7816 = 0xc0285443
-+ TIOCSLCKTRMIOS = 0x5457
-+ TIOCSLTC = 0x80067475
-+ TIOCSPGRP = 0x80047476
-+ TIOCSPTLCK = 0x80045431
-+ TIOCSRS485 = 0x542f
-+ TIOCSSERIAL = 0x541f
-+ TIOCSSOFTCAR = 0x541a
-+ TIOCSTART = 0x2000746e
-+ TIOCSTI = 0x5412
-+ TIOCSTOP = 0x2000746f
-+ TIOCSWINSZ = 0x80087467
-+ TIOCVHANGUP = 0x5437
-+ TOSTOP = 0x400000
-+ TUNATTACHFILTER = 0x801054d5
-+ TUNDETACHFILTER = 0x801054d6
-+ TUNGETDEVNETNS = 0x200054e3
-+ TUNGETFEATURES = 0x400454cf
-+ TUNGETFILTER = 0x401054db
-+ TUNGETIFF = 0x400454d2
-+ TUNGETSNDBUF = 0x400454d3
-+ TUNGETVNETBE = 0x400454df
-+ TUNGETVNETHDRSZ = 0x400454d7
-+ TUNGETVNETLE = 0x400454dd
-+ TUNSETCARRIER = 0x800454e2
-+ TUNSETDEBUG = 0x800454c9
-+ TUNSETFILTEREBPF = 0x400454e1
-+ TUNSETGROUP = 0x800454ce
-+ TUNSETIFF = 0x800454ca
-+ TUNSETIFINDEX = 0x800454da
-+ TUNSETLINK = 0x800454cd
-+ TUNSETNOCSUM = 0x800454c8
-+ TUNSETOFFLOAD = 0x800454d0
-+ TUNSETOWNER = 0x800454cc
-+ TUNSETPERSIST = 0x800454cb
-+ TUNSETQUEUE = 0x800454d9
-+ TUNSETSNDBUF = 0x800454d4
-+ TUNSETSTEERINGEBPF = 0x400454e0
-+ TUNSETTXFILTER = 0x800454d1
-+ TUNSETVNETBE = 0x800454de
-+ TUNSETVNETHDRSZ = 0x800454d8
-+ TUNSETVNETLE = 0x800454dc
-+ UBI_IOCATT = 0x80186f40
-+ UBI_IOCDET = 0x80046f41
-+ UBI_IOCEBCH = 0x80044f02
-+ UBI_IOCEBER = 0x80044f01
-+ UBI_IOCEBISMAP = 0x40044f05
-+ UBI_IOCEBMAP = 0x80084f03
-+ UBI_IOCEBUNMAP = 0x80044f04
-+ UBI_IOCMKVOL = 0x80986f00
-+ UBI_IOCRMVOL = 0x80046f01
-+ UBI_IOCRNVOL = 0x91106f03
-+ UBI_IOCRPEB = 0x80046f04
-+ UBI_IOCRSVOL = 0x800c6f02
-+ UBI_IOCSETVOLPROP = 0x80104f06
-+ UBI_IOCSPEB = 0x80046f05
-+ UBI_IOCVOLCRBLK = 0x80804f07
-+ UBI_IOCVOLRMBLK = 0x20004f08
-+ UBI_IOCVOLUP = 0x80084f00
-+ VDISCARD = 0x10
-+ VEOF = 0x4
-+ VEOL = 0x6
-+ VEOL2 = 0x8
-+ VMIN = 0x5
-+ VREPRINT = 0xb
-+ VSTART = 0xd
-+ VSTOP = 0xe
-+ VSUSP = 0xc
-+ VSWTC = 0x9
-+ VT1 = 0x10000
-+ VTDLY = 0x10000
-+ VTIME = 0x7
-+ VWERASE = 0xa
-+ WDIOC_GETBOOTSTATUS = 0x40045702
-+ WDIOC_GETPRETIMEOUT = 0x40045709
-+ WDIOC_GETSTATUS = 0x40045701
-+ WDIOC_GETSUPPORT = 0x40285700
-+ WDIOC_GETTEMP = 0x40045703
-+ WDIOC_GETTIMELEFT = 0x4004570a
-+ WDIOC_GETTIMEOUT = 0x40045707
-+ WDIOC_KEEPALIVE = 0x40045705
-+ WDIOC_SETOPTIONS = 0x40045704
-+ WORDSIZE = 0x40
-+ XCASE = 0x4000
-+ XTABS = 0xc00
- )
-
- // Errors
- const (
-- E2BIG = syscall.Errno(0x7)
-- EACCES = syscall.Errno(0xd)
- EADDRINUSE = syscall.Errno(0x62)
- EADDRNOTAVAIL = syscall.Errno(0x63)
- EADV = syscall.Errno(0x44)
- EAFNOSUPPORT = syscall.Errno(0x61)
-- EAGAIN = syscall.Errno(0xb)
- EALREADY = syscall.Errno(0x72)
- EBADE = syscall.Errno(0x34)
-- EBADF = syscall.Errno(0x9)
- EBADFD = syscall.Errno(0x4d)
- EBADMSG = syscall.Errno(0x4a)
- EBADR = syscall.Errno(0x35)
- EBADRQC = syscall.Errno(0x38)
- EBADSLT = syscall.Errno(0x39)
- EBFONT = syscall.Errno(0x3b)
-- EBUSY = syscall.Errno(0x10)
- ECANCELED = syscall.Errno(0x7d)
-- ECHILD = syscall.Errno(0xa)
- ECHRNG = syscall.Errno(0x2c)
- ECOMM = syscall.Errno(0x46)
- ECONNABORTED = syscall.Errno(0x67)
-@@ -1943,23 +562,15 @@ const (
- EDEADLK = syscall.Errno(0x23)
- EDEADLOCK = syscall.Errno(0x3a)
- EDESTADDRREQ = syscall.Errno(0x59)
-- EDOM = syscall.Errno(0x21)
- EDOTDOT = syscall.Errno(0x49)
- EDQUOT = syscall.Errno(0x7a)
-- EEXIST = syscall.Errno(0x11)
-- EFAULT = syscall.Errno(0xe)
-- EFBIG = syscall.Errno(0x1b)
- EHOSTDOWN = syscall.Errno(0x70)
- EHOSTUNREACH = syscall.Errno(0x71)
- EHWPOISON = syscall.Errno(0x85)
- EIDRM = syscall.Errno(0x2b)
- EILSEQ = syscall.Errno(0x54)
- EINPROGRESS = syscall.Errno(0x73)
-- EINTR = syscall.Errno(0x4)
-- EINVAL = syscall.Errno(0x16)
-- EIO = syscall.Errno(0x5)
- EISCONN = syscall.Errno(0x6a)
-- EISDIR = syscall.Errno(0x15)
- EISNAM = syscall.Errno(0x78)
- EKEYEXPIRED = syscall.Errno(0x7f)
- EKEYREJECTED = syscall.Errno(0x81)
-@@ -1976,8 +587,6 @@ const (
- ELNRNG = syscall.Errno(0x30)
- ELOOP = syscall.Errno(0x28)
- EMEDIUMTYPE = syscall.Errno(0x7c)
-- EMFILE = syscall.Errno(0x18)
-- EMLINK = syscall.Errno(0x1f)
- EMSGSIZE = syscall.Errno(0x5a)
- EMULTIHOP = syscall.Errno(0x48)
- ENAMETOOLONG = syscall.Errno(0x24)
-@@ -1985,103 +594,70 @@ const (
- ENETDOWN = syscall.Errno(0x64)
- ENETRESET = syscall.Errno(0x66)
- ENETUNREACH = syscall.Errno(0x65)
-- ENFILE = syscall.Errno(0x17)
- ENOANO = syscall.Errno(0x37)
- ENOBUFS = syscall.Errno(0x69)
- ENOCSI = syscall.Errno(0x32)
- ENODATA = syscall.Errno(0x3d)
-- ENODEV = syscall.Errno(0x13)
-- ENOENT = syscall.Errno(0x2)
-- ENOEXEC = syscall.Errno(0x8)
- ENOKEY = syscall.Errno(0x7e)
- ENOLCK = syscall.Errno(0x25)
- ENOLINK = syscall.Errno(0x43)
- ENOMEDIUM = syscall.Errno(0x7b)
-- ENOMEM = syscall.Errno(0xc)
- ENOMSG = syscall.Errno(0x2a)
- ENONET = syscall.Errno(0x40)
- ENOPKG = syscall.Errno(0x41)
- ENOPROTOOPT = syscall.Errno(0x5c)
-- ENOSPC = syscall.Errno(0x1c)
- ENOSR = syscall.Errno(0x3f)
- ENOSTR = syscall.Errno(0x3c)
- ENOSYS = syscall.Errno(0x26)
-- ENOTBLK = syscall.Errno(0xf)
- ENOTCONN = syscall.Errno(0x6b)
-- ENOTDIR = syscall.Errno(0x14)
- ENOTEMPTY = syscall.Errno(0x27)
- ENOTNAM = syscall.Errno(0x76)
- ENOTRECOVERABLE = syscall.Errno(0x83)
- ENOTSOCK = syscall.Errno(0x58)
- ENOTSUP = syscall.Errno(0x5f)
-- ENOTTY = syscall.Errno(0x19)
- ENOTUNIQ = syscall.Errno(0x4c)
-- ENXIO = syscall.Errno(0x6)
- EOPNOTSUPP = syscall.Errno(0x5f)
- EOVERFLOW = syscall.Errno(0x4b)
- EOWNERDEAD = syscall.Errno(0x82)
-- EPERM = syscall.Errno(0x1)
- EPFNOSUPPORT = syscall.Errno(0x60)
-- EPIPE = syscall.Errno(0x20)
- EPROTO = syscall.Errno(0x47)
- EPROTONOSUPPORT = syscall.Errno(0x5d)
- EPROTOTYPE = syscall.Errno(0x5b)
-- ERANGE = syscall.Errno(0x22)
- EREMCHG = syscall.Errno(0x4e)
- EREMOTE = syscall.Errno(0x42)
- EREMOTEIO = syscall.Errno(0x79)
- ERESTART = syscall.Errno(0x55)
- ERFKILL = syscall.Errno(0x84)
-- EROFS = syscall.Errno(0x1e)
- ESHUTDOWN = syscall.Errno(0x6c)
- ESOCKTNOSUPPORT = syscall.Errno(0x5e)
-- ESPIPE = syscall.Errno(0x1d)
-- ESRCH = syscall.Errno(0x3)
- ESRMNT = syscall.Errno(0x45)
- ESTALE = syscall.Errno(0x74)
- ESTRPIPE = syscall.Errno(0x56)
- ETIME = syscall.Errno(0x3e)
- ETIMEDOUT = syscall.Errno(0x6e)
- ETOOMANYREFS = syscall.Errno(0x6d)
-- ETXTBSY = syscall.Errno(0x1a)
- EUCLEAN = syscall.Errno(0x75)
- EUNATCH = syscall.Errno(0x31)
- EUSERS = syscall.Errno(0x57)
-- EWOULDBLOCK = syscall.Errno(0xb)
-- EXDEV = syscall.Errno(0x12)
- EXFULL = syscall.Errno(0x36)
- )
-
- // Signals
- const (
-- SIGABRT = syscall.Signal(0x6)
-- SIGALRM = syscall.Signal(0xe)
- SIGBUS = syscall.Signal(0x7)
- SIGCHLD = syscall.Signal(0x11)
- SIGCLD = syscall.Signal(0x11)
- SIGCONT = syscall.Signal(0x12)
-- SIGFPE = syscall.Signal(0x8)
-- SIGHUP = syscall.Signal(0x1)
-- SIGILL = syscall.Signal(0x4)
-- SIGINT = syscall.Signal(0x2)
- SIGIO = syscall.Signal(0x1d)
-- SIGIOT = syscall.Signal(0x6)
-- SIGKILL = syscall.Signal(0x9)
-- SIGPIPE = syscall.Signal(0xd)
- SIGPOLL = syscall.Signal(0x1d)
- SIGPROF = syscall.Signal(0x1b)
- SIGPWR = syscall.Signal(0x1e)
-- SIGQUIT = syscall.Signal(0x3)
-- SIGSEGV = syscall.Signal(0xb)
- SIGSTKFLT = syscall.Signal(0x10)
- SIGSTOP = syscall.Signal(0x13)
- SIGSYS = syscall.Signal(0x1f)
-- SIGTERM = syscall.Signal(0xf)
-- SIGTRAP = syscall.Signal(0x5)
- SIGTSTP = syscall.Signal(0x14)
- SIGTTIN = syscall.Signal(0x15)
- SIGTTOU = syscall.Signal(0x16)
-- SIGUNUSED = syscall.Signal(0x1f)
- SIGURG = syscall.Signal(0x17)
- SIGUSR1 = syscall.Signal(0xa)
- SIGUSR2 = syscall.Signal(0xc)
-@@ -2092,172 +668,180 @@ const (
- )
-
- // Error table
--var errors = [...]string{
-- 1: "operation not permitted",
-- 2: "no such file or directory",
-- 3: "no such process",
-- 4: "interrupted system call",
-- 5: "input/output error",
-- 6: "no such device or address",
-- 7: "argument list too long",
-- 8: "exec format error",
-- 9: "bad file descriptor",
-- 10: "no child processes",
-- 11: "resource temporarily unavailable",
-- 12: "cannot allocate memory",
-- 13: "permission denied",
-- 14: "bad address",
-- 15: "block device required",
-- 16: "device or resource busy",
-- 17: "file exists",
-- 18: "invalid cross-device link",
-- 19: "no such device",
-- 20: "not a directory",
-- 21: "is a directory",
-- 22: "invalid argument",
-- 23: "too many open files in system",
-- 24: "too many open files",
-- 25: "inappropriate ioctl for device",
-- 26: "text file busy",
-- 27: "file too large",
-- 28: "no space left on device",
-- 29: "illegal seek",
-- 30: "read-only file system",
-- 31: "too many links",
-- 32: "broken pipe",
-- 33: "numerical argument out of domain",
-- 34: "numerical result out of range",
-- 35: "resource deadlock avoided",
-- 36: "file name too long",
-- 37: "no locks available",
-- 38: "function not implemented",
-- 39: "directory not empty",
-- 40: "too many levels of symbolic links",
-- 42: "no message of desired type",
-- 43: "identifier removed",
-- 44: "channel number out of range",
-- 45: "level 2 not synchronized",
-- 46: "level 3 halted",
-- 47: "level 3 reset",
-- 48: "link number out of range",
-- 49: "protocol driver not attached",
-- 50: "no CSI structure available",
-- 51: "level 2 halted",
-- 52: "invalid exchange",
-- 53: "invalid request descriptor",
-- 54: "exchange full",
-- 55: "no anode",
-- 56: "invalid request code",
-- 57: "invalid slot",
-- 58: "file locking deadlock error",
-- 59: "bad font file format",
-- 60: "device not a stream",
-- 61: "no data available",
-- 62: "timer expired",
-- 63: "out of streams resources",
-- 64: "machine is not on the network",
-- 65: "package not installed",
-- 66: "object is remote",
-- 67: "link has been severed",
-- 68: "advertise error",
-- 69: "srmount error",
-- 70: "communication error on send",
-- 71: "protocol error",
-- 72: "multihop attempted",
-- 73: "RFS specific error",
-- 74: "bad message",
-- 75: "value too large for defined data type",
-- 76: "name not unique on network",
-- 77: "file descriptor in bad state",
-- 78: "remote address changed",
-- 79: "can not access a needed shared library",
-- 80: "accessing a corrupted shared library",
-- 81: ".lib section in a.out corrupted",
-- 82: "attempting to link in too many shared libraries",
-- 83: "cannot exec a shared library directly",
-- 84: "invalid or incomplete multibyte or wide character",
-- 85: "interrupted system call should be restarted",
-- 86: "streams pipe error",
-- 87: "too many users",
-- 88: "socket operation on non-socket",
-- 89: "destination address required",
-- 90: "message too long",
-- 91: "protocol wrong type for socket",
-- 92: "protocol not available",
-- 93: "protocol not supported",
-- 94: "socket type not supported",
-- 95: "operation not supported",
-- 96: "protocol family not supported",
-- 97: "address family not supported by protocol",
-- 98: "address already in use",
-- 99: "cannot assign requested address",
-- 100: "network is down",
-- 101: "network is unreachable",
-- 102: "network dropped connection on reset",
-- 103: "software caused connection abort",
-- 104: "connection reset by peer",
-- 105: "no buffer space available",
-- 106: "transport endpoint is already connected",
-- 107: "transport endpoint is not connected",
-- 108: "cannot send after transport endpoint shutdown",
-- 109: "too many references: cannot splice",
-- 110: "connection timed out",
-- 111: "connection refused",
-- 112: "host is down",
-- 113: "no route to host",
-- 114: "operation already in progress",
-- 115: "operation now in progress",
-- 116: "stale file handle",
-- 117: "structure needs cleaning",
-- 118: "not a XENIX named type file",
-- 119: "no XENIX semaphores available",
-- 120: "is a named type file",
-- 121: "remote I/O error",
-- 122: "disk quota exceeded",
-- 123: "no medium found",
-- 124: "wrong medium type",
-- 125: "operation canceled",
-- 126: "required key not available",
-- 127: "key has expired",
-- 128: "key has been revoked",
-- 129: "key was rejected by service",
-- 130: "owner died",
-- 131: "state not recoverable",
-- 132: "operation not possible due to RF-kill",
-- 133: "memory page has hardware error",
-+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"},
-+ {58, "EDEADLOCK", "file locking deadlock error"},
-+ {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 signals = [...]string{
-- 1: "hangup",
-- 2: "interrupt",
-- 3: "quit",
-- 4: "illegal instruction",
-- 5: "trace/breakpoint trap",
-- 6: "aborted",
-- 7: "bus error",
-- 8: "floating point exception",
-- 9: "killed",
-- 10: "user defined signal 1",
-- 11: "segmentation fault",
-- 12: "user defined signal 2",
-- 13: "broken pipe",
-- 14: "alarm clock",
-- 15: "terminated",
-- 16: "stack fault",
-- 17: "child exited",
-- 18: "continued",
-- 19: "stopped (signal)",
-- 20: "stopped",
-- 21: "stopped (tty input)",
-- 22: "stopped (tty output)",
-- 23: "urgent I/O condition",
-- 24: "CPU time limit exceeded",
-- 25: "file size limit exceeded",
-- 26: "virtual timer expired",
-- 27: "profiling timer expired",
-- 28: "window changed",
-- 29: "I/O possible",
-- 30: "power failure",
-- 31: "bad system call",
-+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_riscv64.go b/vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go
-new file mode 100644
-index 00000000..6a0b2d29
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go
-@@ -0,0 +1,771 @@
-+// mkerrors.sh -Wall -Werror -static -I/tmp/include
-+// Code generated by the command above; see README.md. DO NOT EDIT.
-+
-+// +build riscv64,linux
-+
-+// Code generated by cmd/cgo -godefs; DO NOT EDIT.
-+// cgo -godefs -- -Wall -Werror -static -I/tmp/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
-+ 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
-+ FLUSHO = 0x1000
-+ FS_IOC_ENABLE_VERITY = 0x40806685
-+ FS_IOC_GETFLAGS = 0x80086601
-+ FS_IOC_GET_ENCRYPTION_POLICY = 0x400c6615
-+ FS_IOC_GET_ENCRYPTION_PWSALT = 0x40106614
-+ 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
-+ 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
-+ 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
-+ 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
-+ 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
-+ PPPIOCXFERUNIT = 0x744e
-+ PR_SET_PTRACER_ANY = 0xffffffffffffffff
-+ 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_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_BUSY_POLL = 0x2e
-+ 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_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_PROTOCOL = 0x26
-+ SO_RCVBUF = 0x8
-+ SO_RCVBUFFORCE = 0x21
-+ SO_RCVLOWAT = 0x12
-+ SO_RCVTIMEO = 0x14
-+ SO_RCVTIMEO_NEW = 0x42
-+ SO_RCVTIMEO_OLD = 0x14
-+ SO_REUSEADDR = 0x2
-+ SO_REUSEPORT = 0xf
-+ SO_RXQ_OVFL = 0x28
-+ SO_SECURITY_AUTHENTICATION = 0x16
-+ SO_SECURITY_ENCRYPTION_NETWORK = 0x18
-+ SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
-+ SO_SELECT_ERR_QUEUE = 0x2d
-+ SO_SNDBUF = 0x7
-+ SO_SNDBUFFORCE = 0x20
-+ SO_SNDLOWAT = 0x13
-+ SO_SNDTIMEO = 0x15
-+ SO_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_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
-+ 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
-+)
-+
-+// 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_s390x.go b/vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go
-index 3b570754..95e950fc 100644
---- a/vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go
-+++ b/vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go
-@@ -3,7 +3,7 @@
-
- // +build s390x,linux
-
--// Created by cgo -godefs - DO NOT EDIT
-+// Code generated by cmd/cgo -godefs; DO NOT EDIT.
- // cgo -godefs -- -Wall -Werror -static -I/tmp/include -fsigned-char _const.go
-
- package unix
-@@ -11,1930 +11,547 @@ package unix
- import "syscall"
-
- const (
-- AF_ALG = 0x26
-- AF_APPLETALK = 0x5
-- AF_ASH = 0x12
-- AF_ATMPVC = 0x8
-- AF_ATMSVC = 0x14
-- AF_AX25 = 0x3
-- AF_BLUETOOTH = 0x1f
-- AF_BRIDGE = 0x7
-- AF_CAIF = 0x25
-- AF_CAN = 0x1d
-- AF_DECnet = 0xc
-- AF_ECONET = 0x13
-- AF_FILE = 0x1
-- AF_IB = 0x1b
-- AF_IEEE802154 = 0x24
-- AF_INET = 0x2
-- AF_INET6 = 0xa
-- AF_IPX = 0x4
-- AF_IRDA = 0x17
-- AF_ISDN = 0x22
-- AF_IUCV = 0x20
-- AF_KCM = 0x29
-- AF_KEY = 0xf
-- AF_LLC = 0x1a
-- AF_LOCAL = 0x1
-- AF_MAX = 0x2b
-- AF_MPLS = 0x1c
-- AF_NETBEUI = 0xd
-- AF_NETLINK = 0x10
-- AF_NETROM = 0x6
-- AF_NFC = 0x27
-- AF_PACKET = 0x11
-- AF_PHONET = 0x23
-- AF_PPPOX = 0x18
-- AF_QIPCRTR = 0x2a
-- AF_RDS = 0x15
-- AF_ROSE = 0xb
-- AF_ROUTE = 0x10
-- AF_RXRPC = 0x21
-- AF_SECURITY = 0xe
-- AF_SNA = 0x16
-- AF_TIPC = 0x1e
-- AF_UNIX = 0x1
-- AF_UNSPEC = 0x0
-- AF_VSOCK = 0x28
-- AF_WANPIPE = 0x19
-- AF_X25 = 0x9
-- ALG_OP_DECRYPT = 0x0
-- ALG_OP_ENCRYPT = 0x1
-- ALG_SET_AEAD_ASSOCLEN = 0x4
-- ALG_SET_AEAD_AUTHSIZE = 0x5
-- ALG_SET_IV = 0x2
-- ALG_SET_KEY = 0x1
-- ALG_SET_OP = 0x3
-- ARPHRD_6LOWPAN = 0x339
-- ARPHRD_ADAPT = 0x108
-- ARPHRD_APPLETLK = 0x8
-- ARPHRD_ARCNET = 0x7
-- ARPHRD_ASH = 0x30d
-- ARPHRD_ATM = 0x13
-- ARPHRD_AX25 = 0x3
-- ARPHRD_BIF = 0x307
-- ARPHRD_CAIF = 0x336
-- ARPHRD_CAN = 0x118
-- ARPHRD_CHAOS = 0x5
-- ARPHRD_CISCO = 0x201
-- ARPHRD_CSLIP = 0x101
-- ARPHRD_CSLIP6 = 0x103
-- ARPHRD_DDCMP = 0x205
-- ARPHRD_DLCI = 0xf
-- ARPHRD_ECONET = 0x30e
-- ARPHRD_EETHER = 0x2
-- ARPHRD_ETHER = 0x1
-- ARPHRD_EUI64 = 0x1b
-- ARPHRD_FCAL = 0x311
-- ARPHRD_FCFABRIC = 0x313
-- ARPHRD_FCPL = 0x312
-- ARPHRD_FCPP = 0x310
-- ARPHRD_FDDI = 0x306
-- ARPHRD_FRAD = 0x302
-- ARPHRD_HDLC = 0x201
-- ARPHRD_HIPPI = 0x30c
-- ARPHRD_HWX25 = 0x110
-- ARPHRD_IEEE1394 = 0x18
-- ARPHRD_IEEE802 = 0x6
-- ARPHRD_IEEE80211 = 0x321
-- ARPHRD_IEEE80211_PRISM = 0x322
-- ARPHRD_IEEE80211_RADIOTAP = 0x323
-- ARPHRD_IEEE802154 = 0x324
-- ARPHRD_IEEE802154_MONITOR = 0x325
-- ARPHRD_IEEE802_TR = 0x320
-- ARPHRD_INFINIBAND = 0x20
-- ARPHRD_IP6GRE = 0x337
-- ARPHRD_IPDDP = 0x309
-- ARPHRD_IPGRE = 0x30a
-- ARPHRD_IRDA = 0x30f
-- ARPHRD_LAPB = 0x204
-- ARPHRD_LOCALTLK = 0x305
-- ARPHRD_LOOPBACK = 0x304
-- ARPHRD_METRICOM = 0x17
-- ARPHRD_NETLINK = 0x338
-- ARPHRD_NETROM = 0x0
-- ARPHRD_NONE = 0xfffe
-- ARPHRD_PHONET = 0x334
-- ARPHRD_PHONET_PIPE = 0x335
-- ARPHRD_PIMREG = 0x30b
-- ARPHRD_PPP = 0x200
-- ARPHRD_PRONET = 0x4
-- ARPHRD_RAWHDLC = 0x206
-- ARPHRD_ROSE = 0x10e
-- ARPHRD_RSRVD = 0x104
-- ARPHRD_SIT = 0x308
-- ARPHRD_SKIP = 0x303
-- ARPHRD_SLIP = 0x100
-- ARPHRD_SLIP6 = 0x102
-- ARPHRD_TUNNEL = 0x300
-- ARPHRD_TUNNEL6 = 0x301
-- ARPHRD_VOID = 0xffff
-- ARPHRD_X25 = 0x10f
-- B0 = 0x0
-- B1000000 = 0x1008
-- B110 = 0x3
-- B115200 = 0x1002
-- B1152000 = 0x1009
-- B1200 = 0x9
-- B134 = 0x4
-- B150 = 0x5
-- B1500000 = 0x100a
-- B1800 = 0xa
-- B19200 = 0xe
-- B200 = 0x6
-- B2000000 = 0x100b
-- B230400 = 0x1003
-- B2400 = 0xb
-- B2500000 = 0x100c
-- B300 = 0x7
-- B3000000 = 0x100d
-- B3500000 = 0x100e
-- B38400 = 0xf
-- B4000000 = 0x100f
-- B460800 = 0x1004
-- B4800 = 0xc
-- B50 = 0x1
-- B500000 = 0x1005
-- B57600 = 0x1001
-- B576000 = 0x1006
-- B600 = 0x8
-- B75 = 0x2
-- B921600 = 0x1007
-- B9600 = 0xd
-- 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
-- BPF_A = 0x10
-- BPF_ABS = 0x20
-- BPF_ADD = 0x0
-- BPF_ALU = 0x4
-- BPF_AND = 0x50
-- BPF_B = 0x10
-- BPF_DIV = 0x30
-- BPF_H = 0x8
-- BPF_IMM = 0x0
-- BPF_IND = 0x40
-- BPF_JA = 0x0
-- BPF_JEQ = 0x10
-- BPF_JGE = 0x30
-- BPF_JGT = 0x20
-- BPF_JMP = 0x5
-- BPF_JSET = 0x40
-- BPF_K = 0x0
-- BPF_LD = 0x0
-- BPF_LDX = 0x1
-- BPF_LEN = 0x80
-- BPF_LL_OFF = -0x200000
-- BPF_LSH = 0x60
-- BPF_MAJOR_VERSION = 0x1
-- BPF_MAXINSNS = 0x1000
-- BPF_MEM = 0x60
-- BPF_MEMWORDS = 0x10
-- BPF_MINOR_VERSION = 0x1
-- BPF_MISC = 0x7
-- BPF_MOD = 0x90
-- BPF_MSH = 0xa0
-- BPF_MUL = 0x20
-- BPF_NEG = 0x80
-- BPF_NET_OFF = -0x100000
-- BPF_OR = 0x40
-- BPF_RET = 0x6
-- BPF_RSH = 0x70
-- BPF_ST = 0x2
-- BPF_STX = 0x3
-- BPF_SUB = 0x10
-- BPF_TAX = 0x0
-- BPF_TXA = 0x80
-- BPF_W = 0x0
-- BPF_X = 0x8
-- BPF_XOR = 0xa0
-- BRKINT = 0x2
-- BS0 = 0x0
-- BS1 = 0x2000
-- BSDLY = 0x2000
-- CAN_BCM = 0x2
-- CAN_EFF_FLAG = 0x80000000
-- CAN_EFF_ID_BITS = 0x1d
-- CAN_EFF_MASK = 0x1fffffff
-- CAN_ERR_FLAG = 0x20000000
-- CAN_ERR_MASK = 0x1fffffff
-- CAN_INV_FILTER = 0x20000000
-- CAN_ISOTP = 0x6
-- CAN_MAX_DLC = 0x8
-- CAN_MAX_DLEN = 0x8
-- CAN_MCNET = 0x5
-- CAN_MTU = 0x10
-- CAN_NPROTO = 0x7
-- CAN_RAW = 0x1
-- CAN_RAW_FILTER_MAX = 0x200
-- CAN_RTR_FLAG = 0x40000000
-- CAN_SFF_ID_BITS = 0xb
-- CAN_SFF_MASK = 0x7ff
-- CAN_TP16 = 0x3
-- CAN_TP20 = 0x4
-- CBAUD = 0x100f
-- CBAUDEX = 0x1000
-- CFLUSH = 0xf
-- CIBAUD = 0x100f0000
-- CLOCAL = 0x800
-- CLOCK_BOOTTIME = 0x7
-- CLOCK_BOOTTIME_ALARM = 0x9
-- CLOCK_DEFAULT = 0x0
-- CLOCK_EXT = 0x1
-- CLOCK_INT = 0x2
-- CLOCK_MONOTONIC = 0x1
-- CLOCK_MONOTONIC_COARSE = 0x6
-- CLOCK_MONOTONIC_RAW = 0x4
-- CLOCK_PROCESS_CPUTIME_ID = 0x2
-- CLOCK_REALTIME = 0x0
-- CLOCK_REALTIME_ALARM = 0x8
-- CLOCK_REALTIME_COARSE = 0x5
-- CLOCK_TAI = 0xb
-- CLOCK_THREAD_CPUTIME_ID = 0x3
-- CLOCK_TXFROMRX = 0x4
-- CLOCK_TXINT = 0x3
-- CLONE_CHILD_CLEARTID = 0x200000
-- CLONE_CHILD_SETTID = 0x1000000
-- CLONE_DETACHED = 0x400000
-- CLONE_FILES = 0x400
-- CLONE_FS = 0x200
-- CLONE_IO = 0x80000000
-- CLONE_NEWCGROUP = 0x2000000
-- CLONE_NEWIPC = 0x8000000
-- CLONE_NEWNET = 0x40000000
-- CLONE_NEWNS = 0x20000
-- CLONE_NEWPID = 0x20000000
-- CLONE_NEWUSER = 0x10000000
-- CLONE_NEWUTS = 0x4000000
-- CLONE_PARENT = 0x8000
-- CLONE_PARENT_SETTID = 0x100000
-- CLONE_PTRACE = 0x2000
-- CLONE_SETTLS = 0x80000
-- CLONE_SIGHAND = 0x800
-- CLONE_SYSVSEM = 0x40000
-- CLONE_THREAD = 0x10000
-- CLONE_UNTRACED = 0x800000
-- CLONE_VFORK = 0x4000
-- CLONE_VM = 0x100
-- CMSPAR = 0x40000000
-- CR0 = 0x0
-- CR1 = 0x200
-- CR2 = 0x400
-- CR3 = 0x600
-- CRDLY = 0x600
-- CREAD = 0x80
-- CRTSCTS = 0x80000000
-- CS5 = 0x0
-- CS6 = 0x10
-- CS7 = 0x20
-- CS8 = 0x30
-- CSIGNAL = 0xff
-- CSIZE = 0x30
-- CSTART = 0x11
-- CSTATUS = 0x0
-- CSTOP = 0x13
-- CSTOPB = 0x40
-- CSUSP = 0x1a
-- DT_BLK = 0x6
-- DT_CHR = 0x2
-- DT_DIR = 0x4
-- DT_FIFO = 0x1
-- DT_LNK = 0xa
-- DT_REG = 0x8
-- DT_SOCK = 0xc
-- DT_UNKNOWN = 0x0
-- DT_WHT = 0xe
-- ECHO = 0x8
-- ECHOCTL = 0x200
-- ECHOE = 0x10
-- ECHOK = 0x20
-- ECHOKE = 0x800
-- ECHONL = 0x40
-- ECHOPRT = 0x400
-- EFD_CLOEXEC = 0x80000
-- EFD_NONBLOCK = 0x800
-- EFD_SEMAPHORE = 0x1
-- ENCODING_DEFAULT = 0x0
-- ENCODING_FM_MARK = 0x3
-- ENCODING_FM_SPACE = 0x4
-- ENCODING_MANCHESTER = 0x5
-- ENCODING_NRZ = 0x1
-- ENCODING_NRZI = 0x2
-- EPOLLERR = 0x8
-- EPOLLET = 0x80000000
-- EPOLLEXCLUSIVE = 0x10000000
-- EPOLLHUP = 0x10
-- EPOLLIN = 0x1
-- EPOLLMSG = 0x400
-- EPOLLONESHOT = 0x40000000
-- EPOLLOUT = 0x4
-- EPOLLPRI = 0x2
-- EPOLLRDBAND = 0x80
-- EPOLLRDHUP = 0x2000
-- EPOLLRDNORM = 0x40
-- EPOLLWAKEUP = 0x20000000
-- EPOLLWRBAND = 0x200
-- EPOLLWRNORM = 0x100
-- EPOLL_CLOEXEC = 0x80000
-- EPOLL_CTL_ADD = 0x1
-- EPOLL_CTL_DEL = 0x2
-- EPOLL_CTL_MOD = 0x3
-- ETH_P_1588 = 0x88f7
-- ETH_P_8021AD = 0x88a8
-- ETH_P_8021AH = 0x88e7
-- ETH_P_8021Q = 0x8100
-- ETH_P_80221 = 0x8917
-- ETH_P_802_2 = 0x4
-- ETH_P_802_3 = 0x1
-- ETH_P_802_3_MIN = 0x600
-- ETH_P_802_EX1 = 0x88b5
-- ETH_P_AARP = 0x80f3
-- ETH_P_AF_IUCV = 0xfbfb
-- ETH_P_ALL = 0x3
-- ETH_P_AOE = 0x88a2
-- ETH_P_ARCNET = 0x1a
-- ETH_P_ARP = 0x806
-- ETH_P_ATALK = 0x809b
-- ETH_P_ATMFATE = 0x8884
-- ETH_P_ATMMPOA = 0x884c
-- ETH_P_AX25 = 0x2
-- ETH_P_BATMAN = 0x4305
-- ETH_P_BPQ = 0x8ff
-- ETH_P_CAIF = 0xf7
-- ETH_P_CAN = 0xc
-- ETH_P_CANFD = 0xd
-- ETH_P_CONTROL = 0x16
-- ETH_P_CUST = 0x6006
-- ETH_P_DDCMP = 0x6
-- ETH_P_DEC = 0x6000
-- ETH_P_DIAG = 0x6005
-- ETH_P_DNA_DL = 0x6001
-- ETH_P_DNA_RC = 0x6002
-- ETH_P_DNA_RT = 0x6003
-- ETH_P_DSA = 0x1b
-- ETH_P_ECONET = 0x18
-- ETH_P_EDSA = 0xdada
-- ETH_P_FCOE = 0x8906
-- ETH_P_FIP = 0x8914
-- ETH_P_HDLC = 0x19
-- ETH_P_HSR = 0x892f
-- ETH_P_IEEE802154 = 0xf6
-- ETH_P_IEEEPUP = 0xa00
-- ETH_P_IEEEPUPAT = 0xa01
-- ETH_P_IP = 0x800
-- ETH_P_IPV6 = 0x86dd
-- ETH_P_IPX = 0x8137
-- ETH_P_IRDA = 0x17
-- ETH_P_LAT = 0x6004
-- ETH_P_LINK_CTL = 0x886c
-- ETH_P_LOCALTALK = 0x9
-- ETH_P_LOOP = 0x60
-- ETH_P_LOOPBACK = 0x9000
-- ETH_P_MACSEC = 0x88e5
-- ETH_P_MOBITEX = 0x15
-- ETH_P_MPLS_MC = 0x8848
-- ETH_P_MPLS_UC = 0x8847
-- ETH_P_MVRP = 0x88f5
-- ETH_P_NCSI = 0x88f8
-- ETH_P_PAE = 0x888e
-- ETH_P_PAUSE = 0x8808
-- ETH_P_PHONET = 0xf5
-- ETH_P_PPPTALK = 0x10
-- ETH_P_PPP_DISC = 0x8863
-- ETH_P_PPP_MP = 0x8
-- ETH_P_PPP_SES = 0x8864
-- ETH_P_PRP = 0x88fb
-- ETH_P_PUP = 0x200
-- ETH_P_PUPAT = 0x201
-- ETH_P_QINQ1 = 0x9100
-- ETH_P_QINQ2 = 0x9200
-- ETH_P_QINQ3 = 0x9300
-- ETH_P_RARP = 0x8035
-- ETH_P_SCA = 0x6007
-- ETH_P_SLOW = 0x8809
-- ETH_P_SNAP = 0x5
-- ETH_P_TDLS = 0x890d
-- ETH_P_TEB = 0x6558
-- ETH_P_TIPC = 0x88ca
-- ETH_P_TRAILER = 0x1c
-- ETH_P_TR_802_2 = 0x11
-- ETH_P_TSN = 0x22f0
-- ETH_P_WAN_PPP = 0x7
-- ETH_P_WCCP = 0x883e
-- ETH_P_X25 = 0x805
-- ETH_P_XDSA = 0xf8
-- EXTA = 0xe
-- EXTB = 0xf
-- EXTPROC = 0x10000
-- FALLOC_FL_COLLAPSE_RANGE = 0x8
-- FALLOC_FL_INSERT_RANGE = 0x20
-- FALLOC_FL_KEEP_SIZE = 0x1
-- FALLOC_FL_NO_HIDE_STALE = 0x4
-- FALLOC_FL_PUNCH_HOLE = 0x2
-- FALLOC_FL_UNSHARE_RANGE = 0x40
-- FALLOC_FL_ZERO_RANGE = 0x10
-- FD_CLOEXEC = 0x1
-- FD_SETSIZE = 0x400
-- FF0 = 0x0
-- FF1 = 0x8000
-- FFDLY = 0x8000
-- FLUSHO = 0x1000
-- FS_ENCRYPTION_MODE_AES_256_CBC = 0x3
-- FS_ENCRYPTION_MODE_AES_256_CTS = 0x4
-- FS_ENCRYPTION_MODE_AES_256_GCM = 0x2
-- FS_ENCRYPTION_MODE_AES_256_XTS = 0x1
-- FS_ENCRYPTION_MODE_INVALID = 0x0
-- FS_IOC_GET_ENCRYPTION_POLICY = 0x400c6615
-- FS_IOC_GET_ENCRYPTION_PWSALT = 0x40106614
-- FS_IOC_SET_ENCRYPTION_POLICY = 0x800c6613
-- FS_KEY_DESCRIPTOR_SIZE = 0x8
-- FS_KEY_DESC_PREFIX = "fscrypt:"
-- FS_KEY_DESC_PREFIX_SIZE = 0x8
-- FS_MAX_KEY_SIZE = 0x40
-- FS_POLICY_FLAGS_PAD_16 = 0x2
-- FS_POLICY_FLAGS_PAD_32 = 0x3
-- FS_POLICY_FLAGS_PAD_4 = 0x0
-- FS_POLICY_FLAGS_PAD_8 = 0x1
-- FS_POLICY_FLAGS_PAD_MASK = 0x3
-- FS_POLICY_FLAGS_VALID = 0x3
-- F_DUPFD = 0x0
-- F_DUPFD_CLOEXEC = 0x406
-- F_EXLCK = 0x4
-- F_GETFD = 0x1
-- F_GETFL = 0x3
-- F_GETLEASE = 0x401
-- F_GETLK = 0x5
-- F_GETLK64 = 0x5
-- F_GETOWN = 0x9
-- F_GETOWN_EX = 0x10
-- F_GETPIPE_SZ = 0x408
-- F_GETSIG = 0xb
-- F_LOCK = 0x1
-- F_NOTIFY = 0x402
-- F_OFD_GETLK = 0x24
-- F_OFD_SETLK = 0x25
-- F_OFD_SETLKW = 0x26
-- F_OK = 0x0
-- F_RDLCK = 0x0
-- F_SETFD = 0x2
-- F_SETFL = 0x4
-- F_SETLEASE = 0x400
-- F_SETLK = 0x6
-- F_SETLK64 = 0x6
-- F_SETLKW = 0x7
-- F_SETLKW64 = 0x7
-- F_SETOWN = 0x8
-- F_SETOWN_EX = 0xf
-- F_SETPIPE_SZ = 0x407
-- F_SETSIG = 0xa
-- F_SHLCK = 0x8
-- F_TEST = 0x3
-- F_TLOCK = 0x2
-- F_ULOCK = 0x0
-- F_UNLCK = 0x2
-- F_WRLCK = 0x1
-- GENL_ADMIN_PERM = 0x1
-- GENL_CMD_CAP_DO = 0x2
-- GENL_CMD_CAP_DUMP = 0x4
-- GENL_CMD_CAP_HASPOL = 0x8
-- GENL_HDRLEN = 0x4
-- GENL_ID_CTRL = 0x10
-- GENL_ID_PMCRAID = 0x12
-- GENL_ID_VFS_DQUOT = 0x11
-- GENL_MAX_ID = 0x3ff
-- GENL_MIN_ID = 0x10
-- GENL_NAMSIZ = 0x10
-- GENL_START_ALLOC = 0x13
-- GENL_UNS_ADMIN_PERM = 0x10
-- GRND_NONBLOCK = 0x1
-- GRND_RANDOM = 0x2
-- HUPCL = 0x400
-- IBSHIFT = 0x10
-- ICANON = 0x2
-- ICMPV6_FILTER = 0x1
-- ICRNL = 0x100
-- IEXTEN = 0x8000
-- IFA_F_DADFAILED = 0x8
-- IFA_F_DEPRECATED = 0x20
-- IFA_F_HOMEADDRESS = 0x10
-- IFA_F_MANAGETEMPADDR = 0x100
-- IFA_F_MCAUTOJOIN = 0x400
-- IFA_F_NODAD = 0x2
-- IFA_F_NOPREFIXROUTE = 0x200
-- IFA_F_OPTIMISTIC = 0x4
-- IFA_F_PERMANENT = 0x80
-- IFA_F_SECONDARY = 0x1
-- IFA_F_STABLE_PRIVACY = 0x800
-- IFA_F_TEMPORARY = 0x1
-- IFA_F_TENTATIVE = 0x40
-- IFA_MAX = 0x8
-- IFF_ALLMULTI = 0x200
-- IFF_ATTACH_QUEUE = 0x200
-- IFF_AUTOMEDIA = 0x4000
-- IFF_BROADCAST = 0x2
-- IFF_DEBUG = 0x4
-- IFF_DETACH_QUEUE = 0x400
-- IFF_DORMANT = 0x20000
-- IFF_DYNAMIC = 0x8000
-- IFF_ECHO = 0x40000
-- IFF_LOOPBACK = 0x8
-- IFF_LOWER_UP = 0x10000
-- IFF_MASTER = 0x400
-- IFF_MULTICAST = 0x1000
-- IFF_MULTI_QUEUE = 0x100
-- IFF_NOARP = 0x80
-- IFF_NOFILTER = 0x1000
-- IFF_NOTRAILERS = 0x20
-- IFF_NO_PI = 0x1000
-- IFF_ONE_QUEUE = 0x2000
-- IFF_PERSIST = 0x800
-- IFF_POINTOPOINT = 0x10
-- IFF_PORTSEL = 0x2000
-- IFF_PROMISC = 0x100
-- IFF_RUNNING = 0x40
-- IFF_SLAVE = 0x800
-- IFF_TAP = 0x2
-- IFF_TUN = 0x1
-- IFF_TUN_EXCL = 0x8000
-- IFF_UP = 0x1
-- IFF_VNET_HDR = 0x4000
-- IFF_VOLATILE = 0x70c5a
-- IFNAMSIZ = 0x10
-- IGNBRK = 0x1
-- IGNCR = 0x80
-- IGNPAR = 0x4
-- IMAXBEL = 0x2000
-- INLCR = 0x40
-- INPCK = 0x10
-- IN_ACCESS = 0x1
-- IN_ALL_EVENTS = 0xfff
-- IN_ATTRIB = 0x4
-- IN_CLASSA_HOST = 0xffffff
-- IN_CLASSA_MAX = 0x80
-- IN_CLASSA_NET = 0xff000000
-- IN_CLASSA_NSHIFT = 0x18
-- IN_CLASSB_HOST = 0xffff
-- IN_CLASSB_MAX = 0x10000
-- IN_CLASSB_NET = 0xffff0000
-- IN_CLASSB_NSHIFT = 0x10
-- IN_CLASSC_HOST = 0xff
-- IN_CLASSC_NET = 0xffffff00
-- IN_CLASSC_NSHIFT = 0x8
-- IN_CLOEXEC = 0x80000
-- IN_CLOSE = 0x18
-- IN_CLOSE_NOWRITE = 0x10
-- IN_CLOSE_WRITE = 0x8
-- IN_CREATE = 0x100
-- IN_DELETE = 0x200
-- IN_DELETE_SELF = 0x400
-- IN_DONT_FOLLOW = 0x2000000
-- IN_EXCL_UNLINK = 0x4000000
-- IN_IGNORED = 0x8000
-- IN_ISDIR = 0x40000000
-- IN_LOOPBACKNET = 0x7f
-- IN_MASK_ADD = 0x20000000
-- IN_MODIFY = 0x2
-- IN_MOVE = 0xc0
-- IN_MOVED_FROM = 0x40
-- IN_MOVED_TO = 0x80
-- IN_MOVE_SELF = 0x800
-- IN_NONBLOCK = 0x800
-- IN_ONESHOT = 0x80000000
-- IN_ONLYDIR = 0x1000000
-- IN_OPEN = 0x20
-- IN_Q_OVERFLOW = 0x4000
-- IN_UNMOUNT = 0x2000
-- IPPROTO_AH = 0x33
-- IPPROTO_BEETPH = 0x5e
-- IPPROTO_COMP = 0x6c
-- IPPROTO_DCCP = 0x21
-- IPPROTO_DSTOPTS = 0x3c
-- IPPROTO_EGP = 0x8
-- IPPROTO_ENCAP = 0x62
-- IPPROTO_ESP = 0x32
-- IPPROTO_FRAGMENT = 0x2c
-- IPPROTO_GRE = 0x2f
-- IPPROTO_HOPOPTS = 0x0
-- IPPROTO_ICMP = 0x1
-- IPPROTO_ICMPV6 = 0x3a
-- IPPROTO_IDP = 0x16
-- IPPROTO_IGMP = 0x2
-- IPPROTO_IP = 0x0
-- IPPROTO_IPIP = 0x4
-- IPPROTO_IPV6 = 0x29
-- IPPROTO_MH = 0x87
-- IPPROTO_MPLS = 0x89
-- IPPROTO_MTP = 0x5c
-- IPPROTO_NONE = 0x3b
-- IPPROTO_PIM = 0x67
-- IPPROTO_PUP = 0xc
-- IPPROTO_RAW = 0xff
-- IPPROTO_ROUTING = 0x2b
-- IPPROTO_RSVP = 0x2e
-- IPPROTO_SCTP = 0x84
-- IPPROTO_TCP = 0x6
-- IPPROTO_TP = 0x1d
-- IPPROTO_UDP = 0x11
-- IPPROTO_UDPLITE = 0x88
-- IPV6_2292DSTOPTS = 0x4
-- IPV6_2292HOPLIMIT = 0x8
-- IPV6_2292HOPOPTS = 0x3
-- IPV6_2292PKTINFO = 0x2
-- IPV6_2292PKTOPTIONS = 0x6
-- IPV6_2292RTHDR = 0x5
-- IPV6_ADDRFORM = 0x1
-- IPV6_ADD_MEMBERSHIP = 0x14
-- IPV6_AUTHHDR = 0xa
-- IPV6_CHECKSUM = 0x7
-- IPV6_DONTFRAG = 0x3e
-- IPV6_DROP_MEMBERSHIP = 0x15
-- IPV6_DSTOPTS = 0x3b
-- IPV6_HDRINCL = 0x24
-- IPV6_HOPLIMIT = 0x34
-- IPV6_HOPOPTS = 0x36
-- IPV6_IPSEC_POLICY = 0x22
-- IPV6_JOIN_ANYCAST = 0x1b
-- IPV6_JOIN_GROUP = 0x14
-- IPV6_LEAVE_ANYCAST = 0x1c
-- IPV6_LEAVE_GROUP = 0x15
-- IPV6_MTU = 0x18
-- IPV6_MTU_DISCOVER = 0x17
-- IPV6_MULTICAST_HOPS = 0x12
-- IPV6_MULTICAST_IF = 0x11
-- IPV6_MULTICAST_LOOP = 0x13
-- IPV6_NEXTHOP = 0x9
-- IPV6_PATHMTU = 0x3d
-- IPV6_PKTINFO = 0x32
-- IPV6_PMTUDISC_DO = 0x2
-- IPV6_PMTUDISC_DONT = 0x0
-- IPV6_PMTUDISC_INTERFACE = 0x4
-- IPV6_PMTUDISC_OMIT = 0x5
-- IPV6_PMTUDISC_PROBE = 0x3
-- IPV6_PMTUDISC_WANT = 0x1
-- IPV6_RECVDSTOPTS = 0x3a
-- IPV6_RECVERR = 0x19
-- IPV6_RECVHOPLIMIT = 0x33
-- IPV6_RECVHOPOPTS = 0x35
-- IPV6_RECVPATHMTU = 0x3c
-- IPV6_RECVPKTINFO = 0x31
-- IPV6_RECVRTHDR = 0x38
-- IPV6_RECVTCLASS = 0x42
-- IPV6_ROUTER_ALERT = 0x16
-- IPV6_RTHDR = 0x39
-- IPV6_RTHDRDSTOPTS = 0x37
-- IPV6_RTHDR_LOOSE = 0x0
-- IPV6_RTHDR_STRICT = 0x1
-- IPV6_RTHDR_TYPE_0 = 0x0
-- IPV6_RXDSTOPTS = 0x3b
-- IPV6_RXHOPOPTS = 0x36
-- IPV6_TCLASS = 0x43
-- IPV6_UNICAST_HOPS = 0x10
-- IPV6_V6ONLY = 0x1a
-- IPV6_XFRM_POLICY = 0x23
-- IP_ADD_MEMBERSHIP = 0x23
-- IP_ADD_SOURCE_MEMBERSHIP = 0x27
-- IP_BIND_ADDRESS_NO_PORT = 0x18
-- IP_BLOCK_SOURCE = 0x26
-- IP_CHECKSUM = 0x17
-- IP_DEFAULT_MULTICAST_LOOP = 0x1
-- IP_DEFAULT_MULTICAST_TTL = 0x1
-- IP_DF = 0x4000
-- IP_DROP_MEMBERSHIP = 0x24
-- IP_DROP_SOURCE_MEMBERSHIP = 0x28
-- IP_FREEBIND = 0xf
-- IP_HDRINCL = 0x3
-- IP_IPSEC_POLICY = 0x10
-- IP_MAXPACKET = 0xffff
-- IP_MAX_MEMBERSHIPS = 0x14
-- IP_MF = 0x2000
-- IP_MINTTL = 0x15
-- IP_MSFILTER = 0x29
-- IP_MSS = 0x240
-- IP_MTU = 0xe
-- IP_MTU_DISCOVER = 0xa
-- IP_MULTICAST_ALL = 0x31
-- IP_MULTICAST_IF = 0x20
-- IP_MULTICAST_LOOP = 0x22
-- IP_MULTICAST_TTL = 0x21
-- IP_NODEFRAG = 0x16
-- IP_OFFMASK = 0x1fff
-- IP_OPTIONS = 0x4
-- IP_ORIGDSTADDR = 0x14
-- IP_PASSSEC = 0x12
-- IP_PKTINFO = 0x8
-- IP_PKTOPTIONS = 0x9
-- IP_PMTUDISC = 0xa
-- IP_PMTUDISC_DO = 0x2
-- IP_PMTUDISC_DONT = 0x0
-- IP_PMTUDISC_INTERFACE = 0x4
-- IP_PMTUDISC_OMIT = 0x5
-- IP_PMTUDISC_PROBE = 0x3
-- IP_PMTUDISC_WANT = 0x1
-- IP_RECVERR = 0xb
-- IP_RECVOPTS = 0x6
-- IP_RECVORIGDSTADDR = 0x14
-- IP_RECVRETOPTS = 0x7
-- IP_RECVTOS = 0xd
-- IP_RECVTTL = 0xc
-- IP_RETOPTS = 0x7
-- IP_RF = 0x8000
-- IP_ROUTER_ALERT = 0x5
-- IP_TOS = 0x1
-- IP_TRANSPARENT = 0x13
-- IP_TTL = 0x2
-- IP_UNBLOCK_SOURCE = 0x25
-- IP_UNICAST_IF = 0x32
-- IP_XFRM_POLICY = 0x11
-- ISIG = 0x1
-- ISTRIP = 0x20
-- IUCLC = 0x200
-- IUTF8 = 0x4000
-- IXANY = 0x800
-- IXOFF = 0x1000
-- IXON = 0x400
-- KEYCTL_ASSUME_AUTHORITY = 0x10
-- KEYCTL_CHOWN = 0x4
-- KEYCTL_CLEAR = 0x7
-- KEYCTL_DESCRIBE = 0x6
-- KEYCTL_DH_COMPUTE = 0x17
-- KEYCTL_GET_KEYRING_ID = 0x0
-- KEYCTL_GET_PERSISTENT = 0x16
-- KEYCTL_GET_SECURITY = 0x11
-- KEYCTL_INSTANTIATE = 0xc
-- KEYCTL_INSTANTIATE_IOV = 0x14
-- KEYCTL_INVALIDATE = 0x15
-- KEYCTL_JOIN_SESSION_KEYRING = 0x1
-- KEYCTL_LINK = 0x8
-- KEYCTL_NEGATE = 0xd
-- KEYCTL_READ = 0xb
-- KEYCTL_REJECT = 0x13
-- KEYCTL_REVOKE = 0x3
-- KEYCTL_SEARCH = 0xa
-- KEYCTL_SESSION_TO_PARENT = 0x12
-- KEYCTL_SETPERM = 0x5
-- KEYCTL_SET_REQKEY_KEYRING = 0xe
-- KEYCTL_SET_TIMEOUT = 0xf
-- KEYCTL_UNLINK = 0x9
-- KEYCTL_UPDATE = 0x2
-- KEY_REQKEY_DEFL_DEFAULT = 0x0
-- KEY_REQKEY_DEFL_GROUP_KEYRING = 0x6
-- KEY_REQKEY_DEFL_NO_CHANGE = -0x1
-- KEY_REQKEY_DEFL_PROCESS_KEYRING = 0x2
-- KEY_REQKEY_DEFL_REQUESTOR_KEYRING = 0x7
-- KEY_REQKEY_DEFL_SESSION_KEYRING = 0x3
-- KEY_REQKEY_DEFL_THREAD_KEYRING = 0x1
-- KEY_REQKEY_DEFL_USER_KEYRING = 0x4
-- KEY_REQKEY_DEFL_USER_SESSION_KEYRING = 0x5
-- KEY_SPEC_GROUP_KEYRING = -0x6
-- KEY_SPEC_PROCESS_KEYRING = -0x2
-- KEY_SPEC_REQKEY_AUTH_KEY = -0x7
-- KEY_SPEC_REQUESTOR_KEYRING = -0x8
-- KEY_SPEC_SESSION_KEYRING = -0x3
-- KEY_SPEC_THREAD_KEYRING = -0x1
-- KEY_SPEC_USER_KEYRING = -0x4
-- KEY_SPEC_USER_SESSION_KEYRING = -0x5
-- LINUX_REBOOT_CMD_CAD_OFF = 0x0
-- LINUX_REBOOT_CMD_CAD_ON = 0x89abcdef
-- LINUX_REBOOT_CMD_HALT = 0xcdef0123
-- LINUX_REBOOT_CMD_KEXEC = 0x45584543
-- LINUX_REBOOT_CMD_POWER_OFF = 0x4321fedc
-- LINUX_REBOOT_CMD_RESTART = 0x1234567
-- LINUX_REBOOT_CMD_RESTART2 = 0xa1b2c3d4
-- LINUX_REBOOT_CMD_SW_SUSPEND = 0xd000fce2
-- LINUX_REBOOT_MAGIC1 = 0xfee1dead
-- LINUX_REBOOT_MAGIC2 = 0x28121969
-- LOCK_EX = 0x2
-- LOCK_NB = 0x4
-- LOCK_SH = 0x1
-- LOCK_UN = 0x8
-- MADV_DODUMP = 0x11
-- MADV_DOFORK = 0xb
-- MADV_DONTDUMP = 0x10
-- MADV_DONTFORK = 0xa
-- MADV_DONTNEED = 0x4
-- MADV_FREE = 0x8
-- MADV_HUGEPAGE = 0xe
-- MADV_HWPOISON = 0x64
-- MADV_MERGEABLE = 0xc
-- MADV_NOHUGEPAGE = 0xf
-- MADV_NORMAL = 0x0
-- MADV_RANDOM = 0x1
-- MADV_REMOVE = 0x9
-- MADV_SEQUENTIAL = 0x2
-- MADV_UNMERGEABLE = 0xd
-- MADV_WILLNEED = 0x3
-- MAP_ANON = 0x20
-- MAP_ANONYMOUS = 0x20
-- MAP_DENYWRITE = 0x800
-- MAP_EXECUTABLE = 0x1000
-- MAP_FILE = 0x0
-- MAP_FIXED = 0x10
-- MAP_GROWSDOWN = 0x100
-- MAP_HUGETLB = 0x40000
-- MAP_HUGE_MASK = 0x3f
-- MAP_HUGE_SHIFT = 0x1a
-- MAP_LOCKED = 0x2000
-- MAP_NONBLOCK = 0x10000
-- MAP_NORESERVE = 0x4000
-- MAP_POPULATE = 0x8000
-- MAP_PRIVATE = 0x2
-- MAP_SHARED = 0x1
-- MAP_STACK = 0x20000
-- MAP_TYPE = 0xf
-- MCL_CURRENT = 0x1
-- MCL_FUTURE = 0x2
-- MCL_ONFAULT = 0x4
-- MNT_DETACH = 0x2
-- MNT_EXPIRE = 0x4
-- MNT_FORCE = 0x1
-- MSG_BATCH = 0x40000
-- MSG_CMSG_CLOEXEC = 0x40000000
-- MSG_CONFIRM = 0x800
-- MSG_CTRUNC = 0x8
-- MSG_DONTROUTE = 0x4
-- MSG_DONTWAIT = 0x40
-- MSG_EOR = 0x80
-- MSG_ERRQUEUE = 0x2000
-- MSG_FASTOPEN = 0x20000000
-- MSG_FIN = 0x200
-- MSG_MORE = 0x8000
-- MSG_NOSIGNAL = 0x4000
-- MSG_OOB = 0x1
-- MSG_PEEK = 0x2
-- MSG_PROXY = 0x10
-- MSG_RST = 0x1000
-- MSG_SYN = 0x400
-- MSG_TRUNC = 0x20
-- MSG_TRYHARD = 0x4
-- MSG_WAITALL = 0x100
-- MSG_WAITFORONE = 0x10000
-- MS_ACTIVE = 0x40000000
-- MS_ASYNC = 0x1
-- MS_BIND = 0x1000
-- MS_BORN = 0x20000000
-- MS_DIRSYNC = 0x80
-- MS_INVALIDATE = 0x2
-- MS_I_VERSION = 0x800000
-- MS_KERNMOUNT = 0x400000
-- MS_LAZYTIME = 0x2000000
-- MS_MANDLOCK = 0x40
-- MS_MGC_MSK = 0xffff0000
-- MS_MGC_VAL = 0xc0ed0000
-- MS_MOVE = 0x2000
-- MS_NOATIME = 0x400
-- MS_NODEV = 0x4
-- MS_NODIRATIME = 0x800
-- MS_NOEXEC = 0x8
-- MS_NOREMOTELOCK = 0x8000000
-- MS_NOSEC = 0x10000000
-- MS_NOSUID = 0x2
-- MS_NOUSER = -0x80000000
-- MS_POSIXACL = 0x10000
-- MS_PRIVATE = 0x40000
-- MS_RDONLY = 0x1
-- MS_REC = 0x4000
-- MS_RELATIME = 0x200000
-- MS_REMOUNT = 0x20
-- MS_RMT_MASK = 0x2800051
-- MS_SHARED = 0x100000
-- MS_SILENT = 0x8000
-- MS_SLAVE = 0x80000
-- MS_STRICTATIME = 0x1000000
-- MS_SYNC = 0x4
-- MS_SYNCHRONOUS = 0x10
-- MS_UNBINDABLE = 0x20000
-- MS_VERBOSE = 0x8000
-- NAME_MAX = 0xff
-- NETLINK_ADD_MEMBERSHIP = 0x1
-- NETLINK_AUDIT = 0x9
-- NETLINK_BROADCAST_ERROR = 0x4
-- NETLINK_CAP_ACK = 0xa
-- NETLINK_CONNECTOR = 0xb
-- NETLINK_CRYPTO = 0x15
-- NETLINK_DNRTMSG = 0xe
-- NETLINK_DROP_MEMBERSHIP = 0x2
-- NETLINK_ECRYPTFS = 0x13
-- NETLINK_FIB_LOOKUP = 0xa
-- NETLINK_FIREWALL = 0x3
-- NETLINK_GENERIC = 0x10
-- NETLINK_INET_DIAG = 0x4
-- NETLINK_IP6_FW = 0xd
-- NETLINK_ISCSI = 0x8
-- NETLINK_KOBJECT_UEVENT = 0xf
-- NETLINK_LISTEN_ALL_NSID = 0x8
-- NETLINK_LIST_MEMBERSHIPS = 0x9
-- NETLINK_NETFILTER = 0xc
-- NETLINK_NFLOG = 0x5
-- NETLINK_NO_ENOBUFS = 0x5
-- NETLINK_PKTINFO = 0x3
-- NETLINK_RDMA = 0x14
-- NETLINK_ROUTE = 0x0
-- NETLINK_RX_RING = 0x6
-- NETLINK_SCSITRANSPORT = 0x12
-- NETLINK_SELINUX = 0x7
-- NETLINK_SOCK_DIAG = 0x4
-- NETLINK_TX_RING = 0x7
-- NETLINK_UNUSED = 0x1
-- NETLINK_USERSOCK = 0x2
-- NETLINK_XFRM = 0x6
-- NL0 = 0x0
-- NL1 = 0x100
-- NLA_ALIGNTO = 0x4
-- NLA_F_NESTED = 0x8000
-- NLA_F_NET_BYTEORDER = 0x4000
-- NLA_HDRLEN = 0x4
-- NLDLY = 0x100
-- NLMSG_ALIGNTO = 0x4
-- NLMSG_DONE = 0x3
-- NLMSG_ERROR = 0x2
-- NLMSG_HDRLEN = 0x10
-- NLMSG_MIN_TYPE = 0x10
-- NLMSG_NOOP = 0x1
-- NLMSG_OVERRUN = 0x4
-- NLM_F_ACK = 0x4
-- NLM_F_APPEND = 0x800
-- NLM_F_ATOMIC = 0x400
-- NLM_F_CREATE = 0x400
-- NLM_F_DUMP = 0x300
-- NLM_F_DUMP_FILTERED = 0x20
-- NLM_F_DUMP_INTR = 0x10
-- NLM_F_ECHO = 0x8
-- NLM_F_EXCL = 0x200
-- NLM_F_MATCH = 0x200
-- NLM_F_MULTI = 0x2
-- NLM_F_REPLACE = 0x100
-- NLM_F_REQUEST = 0x1
-- NLM_F_ROOT = 0x100
-- NOFLSH = 0x80
-- OCRNL = 0x8
-- OFDEL = 0x80
-- OFILL = 0x40
-- OLCUC = 0x2
-- ONLCR = 0x4
-- ONLRET = 0x20
-- ONOCR = 0x10
-- OPOST = 0x1
-- O_ACCMODE = 0x3
-- O_APPEND = 0x400
-- O_ASYNC = 0x2000
-- O_CLOEXEC = 0x80000
-- O_CREAT = 0x40
-- O_DIRECT = 0x4000
-- O_DIRECTORY = 0x10000
-- O_DSYNC = 0x1000
-- O_EXCL = 0x80
-- O_FSYNC = 0x101000
-- O_LARGEFILE = 0x0
-- O_NDELAY = 0x800
-- O_NOATIME = 0x40000
-- O_NOCTTY = 0x100
-- O_NOFOLLOW = 0x20000
-- O_NONBLOCK = 0x800
-- O_PATH = 0x200000
-- O_RDONLY = 0x0
-- O_RDWR = 0x2
-- O_RSYNC = 0x101000
-- O_SYNC = 0x101000
-- O_TMPFILE = 0x410000
-- O_TRUNC = 0x200
-- O_WRONLY = 0x1
-- PACKET_ADD_MEMBERSHIP = 0x1
-- PACKET_AUXDATA = 0x8
-- PACKET_BROADCAST = 0x1
-- PACKET_COPY_THRESH = 0x7
-- PACKET_DROP_MEMBERSHIP = 0x2
-- PACKET_FANOUT = 0x12
-- PACKET_FANOUT_CBPF = 0x6
-- PACKET_FANOUT_CPU = 0x2
-- PACKET_FANOUT_DATA = 0x16
-- PACKET_FANOUT_EBPF = 0x7
-- PACKET_FANOUT_FLAG_DEFRAG = 0x8000
-- PACKET_FANOUT_FLAG_ROLLOVER = 0x1000
-- PACKET_FANOUT_HASH = 0x0
-- PACKET_FANOUT_LB = 0x1
-- PACKET_FANOUT_QM = 0x5
-- PACKET_FANOUT_RND = 0x4
-- PACKET_FANOUT_ROLLOVER = 0x3
-- PACKET_FASTROUTE = 0x6
-- PACKET_HDRLEN = 0xb
-- PACKET_HOST = 0x0
-- PACKET_KERNEL = 0x7
-- PACKET_LOOPBACK = 0x5
-- PACKET_LOSS = 0xe
-- PACKET_MR_ALLMULTI = 0x2
-- PACKET_MR_MULTICAST = 0x0
-- PACKET_MR_PROMISC = 0x1
-- PACKET_MR_UNICAST = 0x3
-- PACKET_MULTICAST = 0x2
-- PACKET_ORIGDEV = 0x9
-- PACKET_OTHERHOST = 0x3
-- PACKET_OUTGOING = 0x4
-- PACKET_QDISC_BYPASS = 0x14
-- PACKET_RECV_OUTPUT = 0x3
-- PACKET_RESERVE = 0xc
-- PACKET_ROLLOVER_STATS = 0x15
-- PACKET_RX_RING = 0x5
-- PACKET_STATISTICS = 0x6
-- PACKET_TIMESTAMP = 0x11
-- PACKET_TX_HAS_OFF = 0x13
-- PACKET_TX_RING = 0xd
-- PACKET_TX_TIMESTAMP = 0x10
-- PACKET_USER = 0x6
-- PACKET_VERSION = 0xa
-- PACKET_VNET_HDR = 0xf
-- PARENB = 0x100
-- PARITY_CRC16_PR0 = 0x2
-- PARITY_CRC16_PR0_CCITT = 0x4
-- PARITY_CRC16_PR1 = 0x3
-- PARITY_CRC16_PR1_CCITT = 0x5
-- PARITY_CRC32_PR0_CCITT = 0x6
-- PARITY_CRC32_PR1_CCITT = 0x7
-- PARITY_DEFAULT = 0x0
-- PARITY_NONE = 0x1
-- PARMRK = 0x8
-- PARODD = 0x200
-- PENDIN = 0x4000
-- PERF_EVENT_IOC_DISABLE = 0x2401
-- PERF_EVENT_IOC_ENABLE = 0x2400
-- PERF_EVENT_IOC_ID = 0x80082407
-- PERF_EVENT_IOC_PAUSE_OUTPUT = 0x40042409
-- PERF_EVENT_IOC_PERIOD = 0x40082404
-- 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
-- PRIO_PGRP = 0x1
-- PRIO_PROCESS = 0x0
-- PRIO_USER = 0x2
-- PROT_EXEC = 0x4
-- PROT_GROWSDOWN = 0x1000000
-- PROT_GROWSUP = 0x2000000
-- PROT_NONE = 0x0
-- PROT_READ = 0x1
-- PROT_WRITE = 0x2
-- PR_CAPBSET_DROP = 0x18
-- PR_CAPBSET_READ = 0x17
-- PR_CAP_AMBIENT = 0x2f
-- PR_CAP_AMBIENT_CLEAR_ALL = 0x4
-- PR_CAP_AMBIENT_IS_SET = 0x1
-- PR_CAP_AMBIENT_LOWER = 0x3
-- PR_CAP_AMBIENT_RAISE = 0x2
-- PR_ENDIAN_BIG = 0x0
-- PR_ENDIAN_LITTLE = 0x1
-- PR_ENDIAN_PPC_LITTLE = 0x2
-- PR_FPEMU_NOPRINT = 0x1
-- PR_FPEMU_SIGFPE = 0x2
-- PR_FP_EXC_ASYNC = 0x2
-- PR_FP_EXC_DISABLED = 0x0
-- PR_FP_EXC_DIV = 0x10000
-- PR_FP_EXC_INV = 0x100000
-- PR_FP_EXC_NONRECOV = 0x1
-- PR_FP_EXC_OVF = 0x20000
-- PR_FP_EXC_PRECISE = 0x3
-- PR_FP_EXC_RES = 0x80000
-- PR_FP_EXC_SW_ENABLE = 0x80
-- PR_FP_EXC_UND = 0x40000
-- PR_FP_MODE_FR = 0x1
-- PR_FP_MODE_FRE = 0x2
-- PR_GET_CHILD_SUBREAPER = 0x25
-- PR_GET_DUMPABLE = 0x3
-- PR_GET_ENDIAN = 0x13
-- PR_GET_FPEMU = 0x9
-- PR_GET_FPEXC = 0xb
-- PR_GET_FP_MODE = 0x2e
-- PR_GET_KEEPCAPS = 0x7
-- PR_GET_NAME = 0x10
-- PR_GET_NO_NEW_PRIVS = 0x27
-- PR_GET_PDEATHSIG = 0x2
-- PR_GET_SECCOMP = 0x15
-- PR_GET_SECUREBITS = 0x1b
-- PR_GET_THP_DISABLE = 0x2a
-- PR_GET_TID_ADDRESS = 0x28
-- PR_GET_TIMERSLACK = 0x1e
-- PR_GET_TIMING = 0xd
-- PR_GET_TSC = 0x19
-- PR_GET_UNALIGN = 0x5
-- PR_MCE_KILL = 0x21
-- PR_MCE_KILL_CLEAR = 0x0
-- PR_MCE_KILL_DEFAULT = 0x2
-- PR_MCE_KILL_EARLY = 0x1
-- PR_MCE_KILL_GET = 0x22
-- PR_MCE_KILL_LATE = 0x0
-- PR_MCE_KILL_SET = 0x1
-- PR_MPX_DISABLE_MANAGEMENT = 0x2c
-- PR_MPX_ENABLE_MANAGEMENT = 0x2b
-- PR_SET_CHILD_SUBREAPER = 0x24
-- PR_SET_DUMPABLE = 0x4
-- PR_SET_ENDIAN = 0x14
-- PR_SET_FPEMU = 0xa
-- PR_SET_FPEXC = 0xc
-- PR_SET_FP_MODE = 0x2d
-- PR_SET_KEEPCAPS = 0x8
-- PR_SET_MM = 0x23
-- PR_SET_MM_ARG_END = 0x9
-- PR_SET_MM_ARG_START = 0x8
-- PR_SET_MM_AUXV = 0xc
-- PR_SET_MM_BRK = 0x7
-- PR_SET_MM_END_CODE = 0x2
-- PR_SET_MM_END_DATA = 0x4
-- PR_SET_MM_ENV_END = 0xb
-- PR_SET_MM_ENV_START = 0xa
-- PR_SET_MM_EXE_FILE = 0xd
-- PR_SET_MM_MAP = 0xe
-- PR_SET_MM_MAP_SIZE = 0xf
-- PR_SET_MM_START_BRK = 0x6
-- PR_SET_MM_START_CODE = 0x1
-- PR_SET_MM_START_DATA = 0x3
-- PR_SET_MM_START_STACK = 0x5
-- PR_SET_NAME = 0xf
-- PR_SET_NO_NEW_PRIVS = 0x26
-- PR_SET_PDEATHSIG = 0x1
-- PR_SET_PTRACER = 0x59616d61
-- PR_SET_PTRACER_ANY = -0x1
-- PR_SET_SECCOMP = 0x16
-- PR_SET_SECUREBITS = 0x1c
-- PR_SET_THP_DISABLE = 0x29
-- PR_SET_TIMERSLACK = 0x1d
-- PR_SET_TIMING = 0xe
-- PR_SET_TSC = 0x1a
-- PR_SET_UNALIGN = 0x6
-- PR_TASK_PERF_EVENTS_DISABLE = 0x1f
-- PR_TASK_PERF_EVENTS_ENABLE = 0x20
-- PR_TIMING_STATISTICAL = 0x0
-- PR_TIMING_TIMESTAMP = 0x1
-- PR_TSC_ENABLE = 0x1
-- PR_TSC_SIGSEGV = 0x2
-- PR_UNALIGN_NOPRINT = 0x1
-- PR_UNALIGN_SIGBUS = 0x2
-- PTRACE_ATTACH = 0x10
-- PTRACE_CONT = 0x7
-- PTRACE_DETACH = 0x11
-- PTRACE_DISABLE_TE = 0x5010
-- PTRACE_ENABLE_TE = 0x5009
-- PTRACE_EVENT_CLONE = 0x3
-- PTRACE_EVENT_EXEC = 0x4
-- PTRACE_EVENT_EXIT = 0x6
-- PTRACE_EVENT_FORK = 0x1
-- PTRACE_EVENT_SECCOMP = 0x7
-- PTRACE_EVENT_STOP = 0x80
-- PTRACE_EVENT_VFORK = 0x2
-- PTRACE_EVENT_VFORK_DONE = 0x5
-- PTRACE_GETEVENTMSG = 0x4201
-- PTRACE_GETREGS = 0xc
-- PTRACE_GETREGSET = 0x4204
-- PTRACE_GETSIGINFO = 0x4202
-- PTRACE_GETSIGMASK = 0x420a
-- PTRACE_GET_LAST_BREAK = 0x5006
-- PTRACE_INTERRUPT = 0x4207
-- PTRACE_KILL = 0x8
-- PTRACE_LISTEN = 0x4208
-- PTRACE_OLDSETOPTIONS = 0x15
-- PTRACE_O_EXITKILL = 0x100000
-- PTRACE_O_MASK = 0x3000ff
-- PTRACE_O_SUSPEND_SECCOMP = 0x200000
-- PTRACE_O_TRACECLONE = 0x8
-- PTRACE_O_TRACEEXEC = 0x10
-- PTRACE_O_TRACEEXIT = 0x40
-- PTRACE_O_TRACEFORK = 0x2
-- PTRACE_O_TRACESECCOMP = 0x80
-- PTRACE_O_TRACESYSGOOD = 0x1
-- PTRACE_O_TRACEVFORK = 0x4
-- PTRACE_O_TRACEVFORKDONE = 0x20
-- PTRACE_PEEKDATA = 0x2
-- PTRACE_PEEKDATA_AREA = 0x5003
-- PTRACE_PEEKSIGINFO = 0x4209
-- PTRACE_PEEKSIGINFO_SHARED = 0x1
-- PTRACE_PEEKTEXT = 0x1
-- PTRACE_PEEKTEXT_AREA = 0x5002
-- PTRACE_PEEKUSR = 0x3
-- PTRACE_PEEKUSR_AREA = 0x5000
-- PTRACE_PEEK_SYSTEM_CALL = 0x5007
-- PTRACE_POKEDATA = 0x5
-- PTRACE_POKEDATA_AREA = 0x5005
-- PTRACE_POKETEXT = 0x4
-- PTRACE_POKETEXT_AREA = 0x5004
-- PTRACE_POKEUSR = 0x6
-- PTRACE_POKEUSR_AREA = 0x5001
-- PTRACE_POKE_SYSTEM_CALL = 0x5008
-- PTRACE_PROT = 0x15
-- PTRACE_SECCOMP_GET_FILTER = 0x420c
-- PTRACE_SEIZE = 0x4206
-- PTRACE_SETOPTIONS = 0x4200
-- PTRACE_SETREGS = 0xd
-- PTRACE_SETREGSET = 0x4205
-- PTRACE_SETSIGINFO = 0x4203
-- PTRACE_SETSIGMASK = 0x420b
-- PTRACE_SINGLEBLOCK = 0xc
-- PTRACE_SINGLESTEP = 0x9
-- PTRACE_SYSCALL = 0x18
-- PTRACE_TE_ABORT_RAND = 0x5011
-- PTRACE_TRACEME = 0x0
-- PT_ACR0 = 0x90
-- PT_ACR1 = 0x94
-- PT_ACR10 = 0xb8
-- PT_ACR11 = 0xbc
-- PT_ACR12 = 0xc0
-- PT_ACR13 = 0xc4
-- PT_ACR14 = 0xc8
-- PT_ACR15 = 0xcc
-- PT_ACR2 = 0x98
-- PT_ACR3 = 0x9c
-- PT_ACR4 = 0xa0
-- PT_ACR5 = 0xa4
-- PT_ACR6 = 0xa8
-- PT_ACR7 = 0xac
-- PT_ACR8 = 0xb0
-- PT_ACR9 = 0xb4
-- PT_CR_10 = 0x168
-- PT_CR_11 = 0x170
-- PT_CR_9 = 0x160
-- PT_ENDREGS = 0x1af
-- PT_FPC = 0xd8
-- PT_FPR0 = 0xe0
-- PT_FPR1 = 0xe8
-- PT_FPR10 = 0x130
-- PT_FPR11 = 0x138
-- PT_FPR12 = 0x140
-- PT_FPR13 = 0x148
-- PT_FPR14 = 0x150
-- PT_FPR15 = 0x158
-- PT_FPR2 = 0xf0
-- PT_FPR3 = 0xf8
-- PT_FPR4 = 0x100
-- PT_FPR5 = 0x108
-- PT_FPR6 = 0x110
-- PT_FPR7 = 0x118
-- PT_FPR8 = 0x120
-- PT_FPR9 = 0x128
-- PT_GPR0 = 0x10
-- PT_GPR1 = 0x18
-- PT_GPR10 = 0x60
-- PT_GPR11 = 0x68
-- PT_GPR12 = 0x70
-- PT_GPR13 = 0x78
-- PT_GPR14 = 0x80
-- PT_GPR15 = 0x88
-- PT_GPR2 = 0x20
-- PT_GPR3 = 0x28
-- PT_GPR4 = 0x30
-- PT_GPR5 = 0x38
-- PT_GPR6 = 0x40
-- PT_GPR7 = 0x48
-- PT_GPR8 = 0x50
-- PT_GPR9 = 0x58
-- PT_IEEE_IP = 0x1a8
-- PT_LASTOFF = 0x1a8
-- PT_ORIGGPR2 = 0xd0
-- PT_PSWADDR = 0x8
-- PT_PSWMASK = 0x0
-- RLIMIT_AS = 0x9
-- RLIMIT_CORE = 0x4
-- RLIMIT_CPU = 0x0
-- RLIMIT_DATA = 0x2
-- RLIMIT_FSIZE = 0x1
-- RLIMIT_LOCKS = 0xa
-- RLIMIT_MEMLOCK = 0x8
-- RLIMIT_MSGQUEUE = 0xc
-- RLIMIT_NICE = 0xd
-- RLIMIT_NOFILE = 0x7
-- RLIMIT_NPROC = 0x6
-- RLIMIT_RSS = 0x5
-- RLIMIT_RTPRIO = 0xe
-- RLIMIT_RTTIME = 0xf
-- RLIMIT_SIGPENDING = 0xb
-- RLIMIT_STACK = 0x3
-- RLIM_INFINITY = -0x1
-- RTAX_ADVMSS = 0x8
-- RTAX_CC_ALGO = 0x10
-- RTAX_CWND = 0x7
-- RTAX_FEATURES = 0xc
-- RTAX_FEATURE_ALLFRAG = 0x8
-- RTAX_FEATURE_ECN = 0x1
-- RTAX_FEATURE_MASK = 0xf
-- RTAX_FEATURE_SACK = 0x2
-- RTAX_FEATURE_TIMESTAMP = 0x4
-- RTAX_HOPLIMIT = 0xa
-- RTAX_INITCWND = 0xb
-- RTAX_INITRWND = 0xe
-- RTAX_LOCK = 0x1
-- RTAX_MAX = 0x10
-- RTAX_MTU = 0x2
-- RTAX_QUICKACK = 0xf
-- RTAX_REORDERING = 0x9
-- RTAX_RTO_MIN = 0xd
-- RTAX_RTT = 0x4
-- RTAX_RTTVAR = 0x5
-- RTAX_SSTHRESH = 0x6
-- RTAX_UNSPEC = 0x0
-- RTAX_WINDOW = 0x3
-- RTA_ALIGNTO = 0x4
-- RTA_MAX = 0x19
-- RTCF_DIRECTSRC = 0x4000000
-- RTCF_DOREDIRECT = 0x1000000
-- RTCF_LOG = 0x2000000
-- RTCF_MASQ = 0x400000
-- RTCF_NAT = 0x800000
-- RTCF_VALVE = 0x200000
-- RTF_ADDRCLASSMASK = 0xf8000000
-- RTF_ADDRCONF = 0x40000
-- RTF_ALLONLINK = 0x20000
-- RTF_BROADCAST = 0x10000000
-- RTF_CACHE = 0x1000000
-- RTF_DEFAULT = 0x10000
-- RTF_DYNAMIC = 0x10
-- RTF_FLOW = 0x2000000
-- RTF_GATEWAY = 0x2
-- RTF_HOST = 0x4
-- RTF_INTERFACE = 0x40000000
-- RTF_IRTT = 0x100
-- RTF_LINKRT = 0x100000
-- RTF_LOCAL = 0x80000000
-- RTF_MODIFIED = 0x20
-- RTF_MSS = 0x40
-- RTF_MTU = 0x40
-- RTF_MULTICAST = 0x20000000
-- RTF_NAT = 0x8000000
-- RTF_NOFORWARD = 0x1000
-- RTF_NONEXTHOP = 0x200000
-- RTF_NOPMTUDISC = 0x4000
-- RTF_POLICY = 0x4000000
-- RTF_REINSTATE = 0x8
-- RTF_REJECT = 0x200
-- RTF_STATIC = 0x400
-- RTF_THROW = 0x2000
-- RTF_UP = 0x1
-- RTF_WINDOW = 0x80
-- RTF_XRESOLVE = 0x800
-- RTM_BASE = 0x10
-- RTM_DELACTION = 0x31
-- RTM_DELADDR = 0x15
-- RTM_DELADDRLABEL = 0x49
-- RTM_DELLINK = 0x11
-- RTM_DELMDB = 0x55
-- RTM_DELNEIGH = 0x1d
-- RTM_DELNSID = 0x59
-- RTM_DELQDISC = 0x25
-- RTM_DELROUTE = 0x19
-- RTM_DELRULE = 0x21
-- RTM_DELTCLASS = 0x29
-- RTM_DELTFILTER = 0x2d
-- RTM_F_CLONED = 0x200
-- RTM_F_EQUALIZE = 0x400
-- RTM_F_LOOKUP_TABLE = 0x1000
-- RTM_F_NOTIFY = 0x100
-- RTM_F_PREFIX = 0x800
-- RTM_GETACTION = 0x32
-- RTM_GETADDR = 0x16
-- RTM_GETADDRLABEL = 0x4a
-- RTM_GETANYCAST = 0x3e
-- RTM_GETDCB = 0x4e
-- RTM_GETLINK = 0x12
-- RTM_GETMDB = 0x56
-- RTM_GETMULTICAST = 0x3a
-- RTM_GETNEIGH = 0x1e
-- RTM_GETNEIGHTBL = 0x42
-- RTM_GETNETCONF = 0x52
-- RTM_GETNSID = 0x5a
-- RTM_GETQDISC = 0x26
-- RTM_GETROUTE = 0x1a
-- RTM_GETRULE = 0x22
-- RTM_GETSTATS = 0x5e
-- RTM_GETTCLASS = 0x2a
-- RTM_GETTFILTER = 0x2e
-- RTM_MAX = 0x5f
-- RTM_NEWACTION = 0x30
-- RTM_NEWADDR = 0x14
-- RTM_NEWADDRLABEL = 0x48
-- RTM_NEWLINK = 0x10
-- RTM_NEWMDB = 0x54
-- RTM_NEWNDUSEROPT = 0x44
-- RTM_NEWNEIGH = 0x1c
-- RTM_NEWNEIGHTBL = 0x40
-- RTM_NEWNETCONF = 0x50
-- RTM_NEWNSID = 0x58
-- RTM_NEWPREFIX = 0x34
-- RTM_NEWQDISC = 0x24
-- RTM_NEWROUTE = 0x18
-- RTM_NEWRULE = 0x20
-- RTM_NEWSTATS = 0x5c
-- RTM_NEWTCLASS = 0x28
-- RTM_NEWTFILTER = 0x2c
-- RTM_NR_FAMILIES = 0x14
-- RTM_NR_MSGTYPES = 0x50
-- RTM_SETDCB = 0x4f
-- RTM_SETLINK = 0x13
-- RTM_SETNEIGHTBL = 0x43
-- RTNH_ALIGNTO = 0x4
-- RTNH_COMPARE_MASK = 0x19
-- RTNH_F_DEAD = 0x1
-- RTNH_F_LINKDOWN = 0x10
-- RTNH_F_OFFLOAD = 0x8
-- RTNH_F_ONLINK = 0x4
-- RTNH_F_PERVASIVE = 0x2
-- RTN_MAX = 0xb
-- RTPROT_BABEL = 0x2a
-- RTPROT_BIRD = 0xc
-- RTPROT_BOOT = 0x3
-- RTPROT_DHCP = 0x10
-- RTPROT_DNROUTED = 0xd
-- RTPROT_GATED = 0x8
-- RTPROT_KERNEL = 0x2
-- RTPROT_MROUTED = 0x11
-- RTPROT_MRT = 0xa
-- RTPROT_NTK = 0xf
-- RTPROT_RA = 0x9
-- RTPROT_REDIRECT = 0x1
-- RTPROT_STATIC = 0x4
-- RTPROT_UNSPEC = 0x0
-- RTPROT_XORP = 0xe
-- RTPROT_ZEBRA = 0xb
-- RT_CLASS_DEFAULT = 0xfd
-- RT_CLASS_LOCAL = 0xff
-- RT_CLASS_MAIN = 0xfe
-- RT_CLASS_MAX = 0xff
-- RT_CLASS_UNSPEC = 0x0
-- RUSAGE_CHILDREN = -0x1
-- RUSAGE_SELF = 0x0
-- RUSAGE_THREAD = 0x1
-- SCM_CREDENTIALS = 0x2
-- SCM_RIGHTS = 0x1
-- SCM_TIMESTAMP = 0x1d
-- SCM_TIMESTAMPING = 0x25
-- SCM_TIMESTAMPING_OPT_STATS = 0x36
-- SCM_TIMESTAMPNS = 0x23
-- SCM_WIFI_STATUS = 0x29
-- SECCOMP_MODE_DISABLED = 0x0
-- SECCOMP_MODE_FILTER = 0x2
-- SECCOMP_MODE_STRICT = 0x1
-- SHUT_RD = 0x0
-- SHUT_RDWR = 0x2
-- SHUT_WR = 0x1
-- SIOCADDDLCI = 0x8980
-- SIOCADDMULTI = 0x8931
-- SIOCADDRT = 0x890b
-- SIOCATMARK = 0x8905
-- SIOCBONDCHANGEACTIVE = 0x8995
-- SIOCBONDENSLAVE = 0x8990
-- SIOCBONDINFOQUERY = 0x8994
-- SIOCBONDRELEASE = 0x8991
-- SIOCBONDSETHWADDR = 0x8992
-- SIOCBONDSLAVEINFOQUERY = 0x8993
-- SIOCBRADDBR = 0x89a0
-- SIOCBRADDIF = 0x89a2
-- SIOCBRDELBR = 0x89a1
-- SIOCBRDELIF = 0x89a3
-- SIOCDARP = 0x8953
-- SIOCDELDLCI = 0x8981
-- SIOCDELMULTI = 0x8932
-- SIOCDELRT = 0x890c
-- SIOCDEVPRIVATE = 0x89f0
-- SIOCDIFADDR = 0x8936
-- SIOCDRARP = 0x8960
-- SIOCETHTOOL = 0x8946
-- SIOCGARP = 0x8954
-- SIOCGHWTSTAMP = 0x89b1
-- SIOCGIFADDR = 0x8915
-- SIOCGIFBR = 0x8940
-- SIOCGIFBRDADDR = 0x8919
-- SIOCGIFCONF = 0x8912
-- SIOCGIFCOUNT = 0x8938
-- SIOCGIFDSTADDR = 0x8917
-- SIOCGIFENCAP = 0x8925
-- SIOCGIFFLAGS = 0x8913
-- SIOCGIFHWADDR = 0x8927
-- SIOCGIFINDEX = 0x8933
-- SIOCGIFMAP = 0x8970
-- SIOCGIFMEM = 0x891f
-- SIOCGIFMETRIC = 0x891d
-- SIOCGIFMTU = 0x8921
-- SIOCGIFNAME = 0x8910
-- SIOCGIFNETMASK = 0x891b
-- SIOCGIFPFLAGS = 0x8935
-- SIOCGIFSLAVE = 0x8929
-- SIOCGIFTXQLEN = 0x8942
-- SIOCGIFVLAN = 0x8982
-- SIOCGMIIPHY = 0x8947
-- SIOCGMIIREG = 0x8948
-- SIOCGPGRP = 0x8904
-- SIOCGRARP = 0x8961
-- SIOCGSKNS = 0x894c
-- SIOCGSTAMP = 0x8906
-- SIOCGSTAMPNS = 0x8907
-- SIOCINQ = 0x541b
-- SIOCOUTQ = 0x5411
-- SIOCOUTQNSD = 0x894b
-- SIOCPROTOPRIVATE = 0x89e0
-- SIOCRTMSG = 0x890d
-- SIOCSARP = 0x8955
-- SIOCSHWTSTAMP = 0x89b0
-- SIOCSIFADDR = 0x8916
-- SIOCSIFBR = 0x8941
-- SIOCSIFBRDADDR = 0x891a
-- SIOCSIFDSTADDR = 0x8918
-- SIOCSIFENCAP = 0x8926
-- SIOCSIFFLAGS = 0x8914
-- SIOCSIFHWADDR = 0x8924
-- SIOCSIFHWBROADCAST = 0x8937
-- SIOCSIFLINK = 0x8911
-- SIOCSIFMAP = 0x8971
-- SIOCSIFMEM = 0x8920
-- SIOCSIFMETRIC = 0x891e
-- SIOCSIFMTU = 0x8922
-- SIOCSIFNAME = 0x8923
-- SIOCSIFNETMASK = 0x891c
-- SIOCSIFPFLAGS = 0x8934
-- SIOCSIFSLAVE = 0x8930
-- SIOCSIFTXQLEN = 0x8943
-- SIOCSIFVLAN = 0x8983
-- SIOCSMIIREG = 0x8949
-- SIOCSPGRP = 0x8902
-- SIOCSRARP = 0x8962
-- SIOCWANDEV = 0x894a
-- SOCK_CLOEXEC = 0x80000
-- SOCK_DCCP = 0x6
-- SOCK_DGRAM = 0x2
-- SOCK_IOC_TYPE = 0x89
-- SOCK_NONBLOCK = 0x800
-- SOCK_PACKET = 0xa
-- SOCK_RAW = 0x3
-- SOCK_RDM = 0x4
-- SOCK_SEQPACKET = 0x5
-- SOCK_STREAM = 0x1
-- SOL_AAL = 0x109
-- SOL_ALG = 0x117
-- SOL_ATM = 0x108
-- SOL_CAIF = 0x116
-- SOL_CAN_BASE = 0x64
-- SOL_DCCP = 0x10d
-- SOL_DECNET = 0x105
-- SOL_ICMPV6 = 0x3a
-- SOL_IP = 0x0
-- SOL_IPV6 = 0x29
-- SOL_IRDA = 0x10a
-- SOL_IUCV = 0x115
-- SOL_KCM = 0x119
-- SOL_LLC = 0x10c
-- SOL_NETBEUI = 0x10b
-- SOL_NETLINK = 0x10e
-- SOL_NFC = 0x118
-- SOL_PACKET = 0x107
-- SOL_PNPIPE = 0x113
-- SOL_PPPOL2TP = 0x111
-- SOL_RAW = 0xff
-- SOL_RDS = 0x114
-- SOL_RXRPC = 0x110
-- SOL_SOCKET = 0x1
-- SOL_TCP = 0x6
-- SOL_TIPC = 0x10f
-- SOL_X25 = 0x106
-- SOMAXCONN = 0x80
-- SO_ACCEPTCONN = 0x1e
-- SO_ATTACH_BPF = 0x32
-- SO_ATTACH_FILTER = 0x1a
-- SO_ATTACH_REUSEPORT_CBPF = 0x33
-- SO_ATTACH_REUSEPORT_EBPF = 0x34
-- SO_BINDTODEVICE = 0x19
-- SO_BPF_EXTENSIONS = 0x30
-- SO_BROADCAST = 0x6
-- SO_BSDCOMPAT = 0xe
-- SO_BUSY_POLL = 0x2e
-- SO_CNX_ADVICE = 0x35
-- SO_DEBUG = 0x1
-- SO_DETACH_BPF = 0x1b
-- SO_DETACH_FILTER = 0x1b
-- SO_DOMAIN = 0x27
-- SO_DONTROUTE = 0x5
-- SO_ERROR = 0x4
-- SO_GET_FILTER = 0x1a
-- SO_INCOMING_CPU = 0x31
-- SO_KEEPALIVE = 0x9
-- SO_LINGER = 0xd
-- SO_LOCK_FILTER = 0x2c
-- SO_MARK = 0x24
-- SO_MAX_PACING_RATE = 0x2f
-- SO_NOFCS = 0x2b
-- SO_NO_CHECK = 0xb
-- SO_OOBINLINE = 0xa
-- SO_PASSCRED = 0x10
-- SO_PASSSEC = 0x22
-- SO_PEEK_OFF = 0x2a
-- SO_PEERCRED = 0x11
-- SO_PEERNAME = 0x1c
-- SO_PEERSEC = 0x1f
-- SO_PRIORITY = 0xc
-- SO_PROTOCOL = 0x26
-- SO_RCVBUF = 0x8
-- SO_RCVBUFFORCE = 0x21
-- SO_RCVLOWAT = 0x12
-- SO_RCVTIMEO = 0x14
-- SO_REUSEADDR = 0x2
-- SO_REUSEPORT = 0xf
-- SO_RXQ_OVFL = 0x28
-- SO_SECURITY_AUTHENTICATION = 0x16
-- SO_SECURITY_ENCRYPTION_NETWORK = 0x18
-- SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
-- SO_SELECT_ERR_QUEUE = 0x2d
-- SO_SNDBUF = 0x7
-- SO_SNDBUFFORCE = 0x20
-- SO_SNDLOWAT = 0x13
-- SO_SNDTIMEO = 0x15
-- SO_TIMESTAMP = 0x1d
-- SO_TIMESTAMPING = 0x25
-- SO_TIMESTAMPNS = 0x23
-- SO_TYPE = 0x3
-- SO_VM_SOCKETS_BUFFER_MAX_SIZE = 0x2
-- SO_VM_SOCKETS_BUFFER_MIN_SIZE = 0x1
-- SO_VM_SOCKETS_BUFFER_SIZE = 0x0
-- SO_VM_SOCKETS_CONNECT_TIMEOUT = 0x6
-- SO_VM_SOCKETS_NONBLOCK_TXRX = 0x7
-- SO_VM_SOCKETS_PEER_HOST_VM_ID = 0x3
-- SO_VM_SOCKETS_TRUSTED = 0x5
-- SO_WIFI_STATUS = 0x29
-- SPLICE_F_GIFT = 0x8
-- SPLICE_F_MORE = 0x4
-- SPLICE_F_MOVE = 0x1
-- SPLICE_F_NONBLOCK = 0x2
-- S_BLKSIZE = 0x200
-- S_IEXEC = 0x40
-- S_IFBLK = 0x6000
-- S_IFCHR = 0x2000
-- S_IFDIR = 0x4000
-- S_IFIFO = 0x1000
-- S_IFLNK = 0xa000
-- S_IFMT = 0xf000
-- S_IFREG = 0x8000
-- S_IFSOCK = 0xc000
-- S_IREAD = 0x100
-- S_IRGRP = 0x20
-- S_IROTH = 0x4
-- S_IRUSR = 0x100
-- S_IRWXG = 0x38
-- S_IRWXO = 0x7
-- S_IRWXU = 0x1c0
-- S_ISGID = 0x400
-- S_ISUID = 0x800
-- S_ISVTX = 0x200
-- S_IWGRP = 0x10
-- S_IWOTH = 0x2
-- S_IWRITE = 0x80
-- S_IWUSR = 0x80
-- S_IXGRP = 0x8
-- S_IXOTH = 0x1
-- S_IXUSR = 0x40
-- TAB0 = 0x0
-- TAB1 = 0x800
-- TAB2 = 0x1000
-- TAB3 = 0x1800
-- TABDLY = 0x1800
-- TASKSTATS_CMD_ATTR_MAX = 0x4
-- TASKSTATS_CMD_MAX = 0x2
-- TASKSTATS_GENL_NAME = "TASKSTATS"
-- TASKSTATS_GENL_VERSION = 0x1
-- TASKSTATS_TYPE_MAX = 0x6
-- TASKSTATS_VERSION = 0x8
-- TCFLSH = 0x540b
-- TCGETA = 0x5405
-- TCGETS = 0x5401
-- TCGETS2 = 0x802c542a
-- TCGETX = 0x5432
-- TCIFLUSH = 0x0
-- TCIOFF = 0x2
-- TCIOFLUSH = 0x2
-- TCION = 0x3
-- TCOFLUSH = 0x1
-- TCOOFF = 0x0
-- TCOON = 0x1
-- TCP_CC_INFO = 0x1a
-- TCP_CONGESTION = 0xd
-- TCP_COOKIE_IN_ALWAYS = 0x1
-- TCP_COOKIE_MAX = 0x10
-- TCP_COOKIE_MIN = 0x8
-- TCP_COOKIE_OUT_NEVER = 0x2
-- TCP_COOKIE_PAIR_SIZE = 0x20
-- TCP_COOKIE_TRANSACTIONS = 0xf
-- TCP_CORK = 0x3
-- TCP_DEFER_ACCEPT = 0x9
-- TCP_FASTOPEN = 0x17
-- TCP_INFO = 0xb
-- TCP_KEEPCNT = 0x6
-- TCP_KEEPIDLE = 0x4
-- TCP_KEEPINTVL = 0x5
-- TCP_LINGER2 = 0x8
-- TCP_MAXSEG = 0x2
-- TCP_MAXWIN = 0xffff
-- TCP_MAX_WINSHIFT = 0xe
-- TCP_MD5SIG = 0xe
-- TCP_MD5SIG_MAXKEYLEN = 0x50
-- TCP_MSS = 0x200
-- TCP_MSS_DEFAULT = 0x218
-- TCP_MSS_DESIRED = 0x4c4
-- TCP_NODELAY = 0x1
-- TCP_NOTSENT_LOWAT = 0x19
-- TCP_QUEUE_SEQ = 0x15
-- TCP_QUICKACK = 0xc
-- TCP_REPAIR = 0x13
-- TCP_REPAIR_OPTIONS = 0x16
-- TCP_REPAIR_QUEUE = 0x14
-- TCP_REPAIR_WINDOW = 0x1d
-- TCP_SAVED_SYN = 0x1c
-- TCP_SAVE_SYN = 0x1b
-- TCP_SYNCNT = 0x7
-- TCP_S_DATA_IN = 0x4
-- TCP_S_DATA_OUT = 0x8
-- TCP_THIN_DUPACK = 0x11
-- TCP_THIN_LINEAR_TIMEOUTS = 0x10
-- TCP_TIMESTAMP = 0x18
-- TCP_USER_TIMEOUT = 0x12
-- TCP_WINDOW_CLAMP = 0xa
-- TCSAFLUSH = 0x2
-- TCSBRK = 0x5409
-- TCSBRKP = 0x5425
-- TCSETA = 0x5406
-- TCSETAF = 0x5408
-- TCSETAW = 0x5407
-- TCSETS = 0x5402
-- TCSETS2 = 0x402c542b
-- TCSETSF = 0x5404
-- TCSETSF2 = 0x402c542d
-- TCSETSW = 0x5403
-- TCSETSW2 = 0x402c542c
-- TCSETX = 0x5433
-- TCSETXF = 0x5434
-- TCSETXW = 0x5435
-- TCXONC = 0x540a
-- TIOCCBRK = 0x5428
-- TIOCCONS = 0x541d
-- TIOCEXCL = 0x540c
-- TIOCGDEV = 0x80045432
-- TIOCGETD = 0x5424
-- TIOCGEXCL = 0x80045440
-- TIOCGICOUNT = 0x545d
-- TIOCGLCKTRMIOS = 0x5456
-- TIOCGPGRP = 0x540f
-- TIOCGPKT = 0x80045438
-- TIOCGPTLCK = 0x80045439
-- TIOCGPTN = 0x80045430
-- TIOCGRS485 = 0x542e
-- TIOCGSERIAL = 0x541e
-- TIOCGSID = 0x5429
-- TIOCGSOFTCAR = 0x5419
-- TIOCGWINSZ = 0x5413
-- TIOCINQ = 0x541b
-- TIOCLINUX = 0x541c
-- TIOCMBIC = 0x5417
-- TIOCMBIS = 0x5416
-- TIOCMGET = 0x5415
-- TIOCMIWAIT = 0x545c
-- TIOCMSET = 0x5418
-- TIOCM_CAR = 0x40
-- TIOCM_CD = 0x40
-- TIOCM_CTS = 0x20
-- TIOCM_DSR = 0x100
-- TIOCM_DTR = 0x2
-- TIOCM_LE = 0x1
-- TIOCM_RI = 0x80
-- TIOCM_RNG = 0x80
-- TIOCM_RTS = 0x4
-- TIOCM_SR = 0x10
-- TIOCM_ST = 0x8
-- TIOCNOTTY = 0x5422
-- TIOCNXCL = 0x540d
-- TIOCOUTQ = 0x5411
-- TIOCPKT = 0x5420
-- TIOCPKT_DATA = 0x0
-- TIOCPKT_DOSTOP = 0x20
-- TIOCPKT_FLUSHREAD = 0x1
-- TIOCPKT_FLUSHWRITE = 0x2
-- TIOCPKT_IOCTL = 0x40
-- TIOCPKT_NOSTOP = 0x10
-- TIOCPKT_START = 0x8
-- TIOCPKT_STOP = 0x4
-- TIOCSBRK = 0x5427
-- TIOCSCTTY = 0x540e
-- TIOCSERCONFIG = 0x5453
-- TIOCSERGETLSR = 0x5459
-- TIOCSERGETMULTI = 0x545a
-- TIOCSERGSTRUCT = 0x5458
-- TIOCSERGWILD = 0x5454
-- TIOCSERSETMULTI = 0x545b
-- TIOCSERSWILD = 0x5455
-- TIOCSER_TEMT = 0x1
-- TIOCSETD = 0x5423
-- TIOCSIG = 0x40045436
-- TIOCSLCKTRMIOS = 0x5457
-- TIOCSPGRP = 0x5410
-- TIOCSPTLCK = 0x40045431
-- TIOCSRS485 = 0x542f
-- TIOCSSERIAL = 0x541f
-- TIOCSSOFTCAR = 0x541a
-- TIOCSTI = 0x5412
-- TIOCSWINSZ = 0x5414
-- TIOCVHANGUP = 0x5437
-- TOSTOP = 0x100
-- TS_COMM_LEN = 0x20
-- TUNATTACHFILTER = 0x401054d5
-- TUNDETACHFILTER = 0x401054d6
-- TUNGETFEATURES = 0x800454cf
-- TUNGETFILTER = 0x801054db
-- TUNGETIFF = 0x800454d2
-- TUNGETSNDBUF = 0x800454d3
-- TUNGETVNETBE = 0x800454df
-- TUNGETVNETHDRSZ = 0x800454d7
-- TUNGETVNETLE = 0x800454dd
-- TUNSETDEBUG = 0x400454c9
-- TUNSETGROUP = 0x400454ce
-- TUNSETIFF = 0x400454ca
-- TUNSETIFINDEX = 0x400454da
-- TUNSETLINK = 0x400454cd
-- TUNSETNOCSUM = 0x400454c8
-- TUNSETOFFLOAD = 0x400454d0
-- TUNSETOWNER = 0x400454cc
-- TUNSETPERSIST = 0x400454cb
-- TUNSETQUEUE = 0x400454d9
-- TUNSETSNDBUF = 0x400454d4
-- TUNSETTXFILTER = 0x400454d1
-- TUNSETVNETBE = 0x400454de
-- TUNSETVNETHDRSZ = 0x400454d8
-- TUNSETVNETLE = 0x400454dc
-- UMOUNT_NOFOLLOW = 0x8
-- VDISCARD = 0xd
-- VEOF = 0x4
-- VEOL = 0xb
-- VEOL2 = 0x10
-- VERASE = 0x2
-- VINTR = 0x0
-- VKILL = 0x3
-- VLNEXT = 0xf
-- VMADDR_CID_ANY = 0xffffffff
-- VMADDR_CID_HOST = 0x2
-- VMADDR_CID_HYPERVISOR = 0x0
-- VMADDR_CID_RESERVED = 0x1
-- VMADDR_PORT_ANY = 0xffffffff
-- VMIN = 0x6
-- VM_SOCKETS_INVALID_VERSION = 0xffffffff
-- VQUIT = 0x1
-- VREPRINT = 0xc
-- VSTART = 0x8
-- VSTOP = 0x9
-- VSUSP = 0xa
-- VSWTC = 0x7
-- VT0 = 0x0
-- VT1 = 0x4000
-- VTDLY = 0x4000
-- VTIME = 0x5
-- VWERASE = 0xe
-- WALL = 0x40000000
-- WCLONE = 0x80000000
-- WCONTINUED = 0x8
-- WEXITED = 0x4
-- WNOHANG = 0x1
-- WNOTHREAD = 0x20000000
-- WNOWAIT = 0x1000000
-- WORDSIZE = 0x40
-- WSTOPPED = 0x2
-- WUNTRACED = 0x2
-- XATTR_CREATE = 0x1
-- XATTR_REPLACE = 0x2
-- XCASE = 0x4
-- XTABS = 0x1800
-+ 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
-+ 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
-+ FLUSHO = 0x1000
-+ FS_IOC_ENABLE_VERITY = 0x40806685
-+ FS_IOC_GETFLAGS = 0x80086601
-+ FS_IOC_GET_ENCRYPTION_POLICY = 0x400c6615
-+ FS_IOC_GET_ENCRYPTION_PWSALT = 0x40106614
-+ 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
-+ 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
-+ 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
-+ 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
-+ 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
-+ PPPIOCXFERUNIT = 0x744e
-+ PR_SET_PTRACER_ANY = 0xffffffffffffffff
-+ PTRACE_DISABLE_TE = 0x5010
-+ PTRACE_ENABLE_TE = 0x5009
-+ PTRACE_GET_LAST_BREAK = 0x5006
-+ PTRACE_OLDSETOPTIONS = 0x15
-+ PTRACE_PEEKDATA_AREA = 0x5003
-+ PTRACE_PEEKTEXT_AREA = 0x5002
-+ PTRACE_PEEKUSR_AREA = 0x5000
-+ PTRACE_PEEK_SYSTEM_CALL = 0x5007
-+ PTRACE_POKEDATA_AREA = 0x5005
-+ PTRACE_POKETEXT_AREA = 0x5004
-+ PTRACE_POKEUSR_AREA = 0x5001
-+ PTRACE_POKE_SYSTEM_CALL = 0x5008
-+ PTRACE_PROT = 0x15
-+ PTRACE_SINGLEBLOCK = 0xc
-+ PTRACE_TE_ABORT_RAND = 0x5011
-+ PT_ACR0 = 0x90
-+ PT_ACR1 = 0x94
-+ PT_ACR10 = 0xb8
-+ PT_ACR11 = 0xbc
-+ PT_ACR12 = 0xc0
-+ PT_ACR13 = 0xc4
-+ PT_ACR14 = 0xc8
-+ PT_ACR15 = 0xcc
-+ PT_ACR2 = 0x98
-+ PT_ACR3 = 0x9c
-+ PT_ACR4 = 0xa0
-+ PT_ACR5 = 0xa4
-+ PT_ACR6 = 0xa8
-+ PT_ACR7 = 0xac
-+ PT_ACR8 = 0xb0
-+ PT_ACR9 = 0xb4
-+ PT_CR_10 = 0x168
-+ PT_CR_11 = 0x170
-+ PT_CR_9 = 0x160
-+ PT_ENDREGS = 0x1af
-+ PT_FPC = 0xd8
-+ PT_FPR0 = 0xe0
-+ PT_FPR1 = 0xe8
-+ PT_FPR10 = 0x130
-+ PT_FPR11 = 0x138
-+ PT_FPR12 = 0x140
-+ PT_FPR13 = 0x148
-+ PT_FPR14 = 0x150
-+ PT_FPR15 = 0x158
-+ PT_FPR2 = 0xf0
-+ PT_FPR3 = 0xf8
-+ PT_FPR4 = 0x100
-+ PT_FPR5 = 0x108
-+ PT_FPR6 = 0x110
-+ PT_FPR7 = 0x118
-+ PT_FPR8 = 0x120
-+ PT_FPR9 = 0x128
-+ PT_GPR0 = 0x10
-+ PT_GPR1 = 0x18
-+ PT_GPR10 = 0x60
-+ PT_GPR11 = 0x68
-+ PT_GPR12 = 0x70
-+ PT_GPR13 = 0x78
-+ PT_GPR14 = 0x80
-+ PT_GPR15 = 0x88
-+ PT_GPR2 = 0x20
-+ PT_GPR3 = 0x28
-+ PT_GPR4 = 0x30
-+ PT_GPR5 = 0x38
-+ PT_GPR6 = 0x40
-+ PT_GPR7 = 0x48
-+ PT_GPR8 = 0x50
-+ PT_GPR9 = 0x58
-+ PT_IEEE_IP = 0x1a8
-+ PT_LASTOFF = 0x1a8
-+ PT_ORIGGPR2 = 0xd0
-+ PT_PSWADDR = 0x8
-+ PT_PSWMASK = 0x0
-+ RLIMIT_AS = 0x9
-+ RLIMIT_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_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_BUSY_POLL = 0x2e
-+ 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_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_PROTOCOL = 0x26
-+ SO_RCVBUF = 0x8
-+ SO_RCVBUFFORCE = 0x21
-+ SO_RCVLOWAT = 0x12
-+ SO_RCVTIMEO = 0x14
-+ SO_RCVTIMEO_NEW = 0x42
-+ SO_RCVTIMEO_OLD = 0x14
-+ SO_REUSEADDR = 0x2
-+ SO_REUSEPORT = 0xf
-+ SO_RXQ_OVFL = 0x28
-+ SO_SECURITY_AUTHENTICATION = 0x16
-+ SO_SECURITY_ENCRYPTION_NETWORK = 0x18
-+ SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
-+ SO_SELECT_ERR_QUEUE = 0x2d
-+ SO_SNDBUF = 0x7
-+ SO_SNDBUFFORCE = 0x20
-+ SO_SNDLOWAT = 0x13
-+ SO_SNDTIMEO = 0x15
-+ SO_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_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
-+ 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
- )
-
- // Errors
- const (
-- E2BIG = syscall.Errno(0x7)
-- EACCES = syscall.Errno(0xd)
- EADDRINUSE = syscall.Errno(0x62)
- EADDRNOTAVAIL = syscall.Errno(0x63)
- EADV = syscall.Errno(0x44)
- EAFNOSUPPORT = syscall.Errno(0x61)
-- EAGAIN = syscall.Errno(0xb)
- EALREADY = syscall.Errno(0x72)
- EBADE = syscall.Errno(0x34)
-- EBADF = syscall.Errno(0x9)
- EBADFD = syscall.Errno(0x4d)
- EBADMSG = syscall.Errno(0x4a)
- EBADR = syscall.Errno(0x35)
- EBADRQC = syscall.Errno(0x38)
- EBADSLT = syscall.Errno(0x39)
- EBFONT = syscall.Errno(0x3b)
-- EBUSY = syscall.Errno(0x10)
- ECANCELED = syscall.Errno(0x7d)
-- ECHILD = syscall.Errno(0xa)
- ECHRNG = syscall.Errno(0x2c)
- ECOMM = syscall.Errno(0x46)
- ECONNABORTED = syscall.Errno(0x67)
-@@ -1943,23 +560,15 @@ const (
- EDEADLK = syscall.Errno(0x23)
- EDEADLOCK = syscall.Errno(0x23)
- EDESTADDRREQ = syscall.Errno(0x59)
-- EDOM = syscall.Errno(0x21)
- EDOTDOT = syscall.Errno(0x49)
- EDQUOT = syscall.Errno(0x7a)
-- EEXIST = syscall.Errno(0x11)
-- EFAULT = syscall.Errno(0xe)
-- EFBIG = syscall.Errno(0x1b)
- EHOSTDOWN = syscall.Errno(0x70)
- EHOSTUNREACH = syscall.Errno(0x71)
- EHWPOISON = syscall.Errno(0x85)
- EIDRM = syscall.Errno(0x2b)
- EILSEQ = syscall.Errno(0x54)
- EINPROGRESS = syscall.Errno(0x73)
-- EINTR = syscall.Errno(0x4)
-- EINVAL = syscall.Errno(0x16)
-- EIO = syscall.Errno(0x5)
- EISCONN = syscall.Errno(0x6a)
-- EISDIR = syscall.Errno(0x15)
- EISNAM = syscall.Errno(0x78)
- EKEYEXPIRED = syscall.Errno(0x7f)
- EKEYREJECTED = syscall.Errno(0x81)
-@@ -1976,8 +585,6 @@ const (
- ELNRNG = syscall.Errno(0x30)
- ELOOP = syscall.Errno(0x28)
- EMEDIUMTYPE = syscall.Errno(0x7c)
-- EMFILE = syscall.Errno(0x18)
-- EMLINK = syscall.Errno(0x1f)
- EMSGSIZE = syscall.Errno(0x5a)
- EMULTIHOP = syscall.Errno(0x48)
- ENAMETOOLONG = syscall.Errno(0x24)
-@@ -1985,103 +592,70 @@ const (
- ENETDOWN = syscall.Errno(0x64)
- ENETRESET = syscall.Errno(0x66)
- ENETUNREACH = syscall.Errno(0x65)
-- ENFILE = syscall.Errno(0x17)
- ENOANO = syscall.Errno(0x37)
- ENOBUFS = syscall.Errno(0x69)
- ENOCSI = syscall.Errno(0x32)
- ENODATA = syscall.Errno(0x3d)
-- ENODEV = syscall.Errno(0x13)
-- ENOENT = syscall.Errno(0x2)
-- ENOEXEC = syscall.Errno(0x8)
- ENOKEY = syscall.Errno(0x7e)
- ENOLCK = syscall.Errno(0x25)
- ENOLINK = syscall.Errno(0x43)
- ENOMEDIUM = syscall.Errno(0x7b)
-- ENOMEM = syscall.Errno(0xc)
- ENOMSG = syscall.Errno(0x2a)
- ENONET = syscall.Errno(0x40)
- ENOPKG = syscall.Errno(0x41)
- ENOPROTOOPT = syscall.Errno(0x5c)
-- ENOSPC = syscall.Errno(0x1c)
- ENOSR = syscall.Errno(0x3f)
- ENOSTR = syscall.Errno(0x3c)
- ENOSYS = syscall.Errno(0x26)
-- ENOTBLK = syscall.Errno(0xf)
- ENOTCONN = syscall.Errno(0x6b)
-- ENOTDIR = syscall.Errno(0x14)
- ENOTEMPTY = syscall.Errno(0x27)
- ENOTNAM = syscall.Errno(0x76)
- ENOTRECOVERABLE = syscall.Errno(0x83)
- ENOTSOCK = syscall.Errno(0x58)
- ENOTSUP = syscall.Errno(0x5f)
-- ENOTTY = syscall.Errno(0x19)
- ENOTUNIQ = syscall.Errno(0x4c)
-- ENXIO = syscall.Errno(0x6)
- EOPNOTSUPP = syscall.Errno(0x5f)
- EOVERFLOW = syscall.Errno(0x4b)
- EOWNERDEAD = syscall.Errno(0x82)
-- EPERM = syscall.Errno(0x1)
- EPFNOSUPPORT = syscall.Errno(0x60)
-- EPIPE = syscall.Errno(0x20)
- EPROTO = syscall.Errno(0x47)
- EPROTONOSUPPORT = syscall.Errno(0x5d)
- EPROTOTYPE = syscall.Errno(0x5b)
-- ERANGE = syscall.Errno(0x22)
- EREMCHG = syscall.Errno(0x4e)
- EREMOTE = syscall.Errno(0x42)
- EREMOTEIO = syscall.Errno(0x79)
- ERESTART = syscall.Errno(0x55)
- ERFKILL = syscall.Errno(0x84)
-- EROFS = syscall.Errno(0x1e)
- ESHUTDOWN = syscall.Errno(0x6c)
- ESOCKTNOSUPPORT = syscall.Errno(0x5e)
-- ESPIPE = syscall.Errno(0x1d)
-- ESRCH = syscall.Errno(0x3)
- ESRMNT = syscall.Errno(0x45)
- ESTALE = syscall.Errno(0x74)
- ESTRPIPE = syscall.Errno(0x56)
- ETIME = syscall.Errno(0x3e)
- ETIMEDOUT = syscall.Errno(0x6e)
- ETOOMANYREFS = syscall.Errno(0x6d)
-- ETXTBSY = syscall.Errno(0x1a)
- EUCLEAN = syscall.Errno(0x75)
- EUNATCH = syscall.Errno(0x31)
- EUSERS = syscall.Errno(0x57)
-- EWOULDBLOCK = syscall.Errno(0xb)
-- EXDEV = syscall.Errno(0x12)
- EXFULL = syscall.Errno(0x36)
- )
-
- // Signals
- const (
-- SIGABRT = syscall.Signal(0x6)
-- SIGALRM = syscall.Signal(0xe)
- SIGBUS = syscall.Signal(0x7)
- SIGCHLD = syscall.Signal(0x11)
- SIGCLD = syscall.Signal(0x11)
- SIGCONT = syscall.Signal(0x12)
-- SIGFPE = syscall.Signal(0x8)
-- SIGHUP = syscall.Signal(0x1)
-- SIGILL = syscall.Signal(0x4)
-- SIGINT = syscall.Signal(0x2)
- SIGIO = syscall.Signal(0x1d)
-- SIGIOT = syscall.Signal(0x6)
-- SIGKILL = syscall.Signal(0x9)
-- SIGPIPE = syscall.Signal(0xd)
- SIGPOLL = syscall.Signal(0x1d)
- SIGPROF = syscall.Signal(0x1b)
- SIGPWR = syscall.Signal(0x1e)
-- SIGQUIT = syscall.Signal(0x3)
-- SIGSEGV = syscall.Signal(0xb)
- SIGSTKFLT = syscall.Signal(0x10)
- SIGSTOP = syscall.Signal(0x13)
- SIGSYS = syscall.Signal(0x1f)
-- SIGTERM = syscall.Signal(0xf)
-- SIGTRAP = syscall.Signal(0x5)
- SIGTSTP = syscall.Signal(0x14)
- SIGTTIN = syscall.Signal(0x15)
- SIGTTOU = syscall.Signal(0x16)
-- SIGUNUSED = syscall.Signal(0x1f)
- SIGURG = syscall.Signal(0x17)
- SIGUSR1 = syscall.Signal(0xa)
- SIGUSR2 = syscall.Signal(0xc)
-@@ -2092,171 +666,179 @@ const (
- )
-
- // Error table
--var errors = [...]string{
-- 1: "operation not permitted",
-- 2: "no such file or directory",
-- 3: "no such process",
-- 4: "interrupted system call",
-- 5: "input/output error",
-- 6: "no such device or address",
-- 7: "argument list too long",
-- 8: "exec format error",
-- 9: "bad file descriptor",
-- 10: "no child processes",
-- 11: "resource temporarily unavailable",
-- 12: "cannot allocate memory",
-- 13: "permission denied",
-- 14: "bad address",
-- 15: "block device required",
-- 16: "device or resource busy",
-- 17: "file exists",
-- 18: "invalid cross-device link",
-- 19: "no such device",
-- 20: "not a directory",
-- 21: "is a directory",
-- 22: "invalid argument",
-- 23: "too many open files in system",
-- 24: "too many open files",
-- 25: "inappropriate ioctl for device",
-- 26: "text file busy",
-- 27: "file too large",
-- 28: "no space left on device",
-- 29: "illegal seek",
-- 30: "read-only file system",
-- 31: "too many links",
-- 32: "broken pipe",
-- 33: "numerical argument out of domain",
-- 34: "numerical result out of range",
-- 35: "resource deadlock avoided",
-- 36: "file name too long",
-- 37: "no locks available",
-- 38: "function not implemented",
-- 39: "directory not empty",
-- 40: "too many levels of symbolic links",
-- 42: "no message of desired type",
-- 43: "identifier removed",
-- 44: "channel number out of range",
-- 45: "level 2 not synchronized",
-- 46: "level 3 halted",
-- 47: "level 3 reset",
-- 48: "link number out of range",
-- 49: "protocol driver not attached",
-- 50: "no CSI structure available",
-- 51: "level 2 halted",
-- 52: "invalid exchange",
-- 53: "invalid request descriptor",
-- 54: "exchange full",
-- 55: "no anode",
-- 56: "invalid request code",
-- 57: "invalid slot",
-- 59: "bad font file format",
-- 60: "device not a stream",
-- 61: "no data available",
-- 62: "timer expired",
-- 63: "out of streams resources",
-- 64: "machine is not on the network",
-- 65: "package not installed",
-- 66: "object is remote",
-- 67: "link has been severed",
-- 68: "advertise error",
-- 69: "srmount error",
-- 70: "communication error on send",
-- 71: "protocol error",
-- 72: "multihop attempted",
-- 73: "RFS specific error",
-- 74: "bad message",
-- 75: "value too large for defined data type",
-- 76: "name not unique on network",
-- 77: "file descriptor in bad state",
-- 78: "remote address changed",
-- 79: "can not access a needed shared library",
-- 80: "accessing a corrupted shared library",
-- 81: ".lib section in a.out corrupted",
-- 82: "attempting to link in too many shared libraries",
-- 83: "cannot exec a shared library directly",
-- 84: "invalid or incomplete multibyte or wide character",
-- 85: "interrupted system call should be restarted",
-- 86: "streams pipe error",
-- 87: "too many users",
-- 88: "socket operation on non-socket",
-- 89: "destination address required",
-- 90: "message too long",
-- 91: "protocol wrong type for socket",
-- 92: "protocol not available",
-- 93: "protocol not supported",
-- 94: "socket type not supported",
-- 95: "operation not supported",
-- 96: "protocol family not supported",
-- 97: "address family not supported by protocol",
-- 98: "address already in use",
-- 99: "cannot assign requested address",
-- 100: "network is down",
-- 101: "network is unreachable",
-- 102: "network dropped connection on reset",
-- 103: "software caused connection abort",
-- 104: "connection reset by peer",
-- 105: "no buffer space available",
-- 106: "transport endpoint is already connected",
-- 107: "transport endpoint is not connected",
-- 108: "cannot send after transport endpoint shutdown",
-- 109: "too many references: cannot splice",
-- 110: "connection timed out",
-- 111: "connection refused",
-- 112: "host is down",
-- 113: "no route to host",
-- 114: "operation already in progress",
-- 115: "operation now in progress",
-- 116: "stale file handle",
-- 117: "structure needs cleaning",
-- 118: "not a XENIX named type file",
-- 119: "no XENIX semaphores available",
-- 120: "is a named type file",
-- 121: "remote I/O error",
-- 122: "disk quota exceeded",
-- 123: "no medium found",
-- 124: "wrong medium type",
-- 125: "operation canceled",
-- 126: "required key not available",
-- 127: "key has expired",
-- 128: "key has been revoked",
-- 129: "key was rejected by service",
-- 130: "owner died",
-- 131: "state not recoverable",
-- 132: "operation not possible due to RF-kill",
-- 133: "memory page has hardware error",
-+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 signals = [...]string{
-- 1: "hangup",
-- 2: "interrupt",
-- 3: "quit",
-- 4: "illegal instruction",
-- 5: "trace/breakpoint trap",
-- 6: "aborted",
-- 7: "bus error",
-- 8: "floating point exception",
-- 9: "killed",
-- 10: "user defined signal 1",
-- 11: "segmentation fault",
-- 12: "user defined signal 2",
-- 13: "broken pipe",
-- 14: "alarm clock",
-- 15: "terminated",
-- 16: "stack fault",
-- 17: "child exited",
-- 18: "continued",
-- 19: "stopped (signal)",
-- 20: "stopped",
-- 21: "stopped (tty input)",
-- 22: "stopped (tty output)",
-- 23: "urgent I/O condition",
-- 24: "CPU time limit exceeded",
-- 25: "file size limit exceeded",
-- 26: "virtual timer expired",
-- 27: "profiling timer expired",
-- 28: "window changed",
-- 29: "I/O possible",
-- 30: "power failure",
-- 31: "bad system call",
-+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_sparc64.go b/vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go
-index 95de199f..079762fa 100644
---- a/vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go
-+++ b/vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go
-@@ -1,915 +1,132 @@
--// mkerrors.sh -m64
--// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-+// mkerrors.sh -Wall -Werror -static -I/tmp/include
-+// Code generated by the command above; see README.md. DO NOT EDIT.
-
- // +build sparc64,linux
-
--// Created by cgo -godefs - DO NOT EDIT
--// cgo -godefs -- -m64 _const.go
-+// Code generated by cmd/cgo -godefs; DO NOT EDIT.
-+// cgo -godefs -- -Wall -Werror -static -I/tmp/include _const.go
-
- package unix
-
- import "syscall"
-
- const (
-- AF_ALG = 0x26
-- AF_APPLETALK = 0x5
-- AF_ASH = 0x12
-- AF_ATMPVC = 0x8
-- AF_ATMSVC = 0x14
-- AF_AX25 = 0x3
-- AF_BLUETOOTH = 0x1f
-- AF_BRIDGE = 0x7
-- AF_CAIF = 0x25
-- AF_CAN = 0x1d
-- AF_DECnet = 0xc
-- AF_ECONET = 0x13
-- AF_FILE = 0x1
-- AF_IB = 0x1b
-- AF_IEEE802154 = 0x24
-- AF_INET = 0x2
-- AF_INET6 = 0xa
-- AF_IPX = 0x4
-- AF_IRDA = 0x17
-- AF_ISDN = 0x22
-- AF_IUCV = 0x20
-- AF_KCM = 0x29
-- AF_KEY = 0xf
-- AF_LLC = 0x1a
-- AF_LOCAL = 0x1
-- AF_MAX = 0x2a
-- AF_MPLS = 0x1c
-- AF_NETBEUI = 0xd
-- AF_NETLINK = 0x10
-- AF_NETROM = 0x6
-- AF_NFC = 0x27
-- AF_PACKET = 0x11
-- AF_PHONET = 0x23
-- AF_PPPOX = 0x18
-- AF_RDS = 0x15
-- AF_ROSE = 0xb
-- AF_ROUTE = 0x10
-- AF_RXRPC = 0x21
-- AF_SECURITY = 0xe
-- AF_SNA = 0x16
-- AF_TIPC = 0x1e
-- AF_UNIX = 0x1
-- AF_UNSPEC = 0x0
-- AF_VSOCK = 0x28
-- AF_WANPIPE = 0x19
-- AF_X25 = 0x9
-- ALG_OP_DECRYPT = 0x0
-- ALG_OP_ENCRYPT = 0x1
-- ALG_SET_AEAD_ASSOCLEN = 0x4
-- ALG_SET_AEAD_AUTHSIZE = 0x5
-- ALG_SET_IV = 0x2
-- ALG_SET_KEY = 0x1
-- ALG_SET_OP = 0x3
-- ARPHRD_6LOWPAN = 0x339
-- ARPHRD_ADAPT = 0x108
-- ARPHRD_APPLETLK = 0x8
-- ARPHRD_ARCNET = 0x7
-- ARPHRD_ASH = 0x30d
-- ARPHRD_ATM = 0x13
-- ARPHRD_AX25 = 0x3
-- ARPHRD_BIF = 0x307
-- ARPHRD_CAIF = 0x336
-- ARPHRD_CAN = 0x118
-- ARPHRD_CHAOS = 0x5
-- ARPHRD_CISCO = 0x201
-- ARPHRD_CSLIP = 0x101
-- ARPHRD_CSLIP6 = 0x103
-- ARPHRD_DDCMP = 0x205
-- ARPHRD_DLCI = 0xf
-- ARPHRD_ECONET = 0x30e
-- ARPHRD_EETHER = 0x2
-- ARPHRD_ETHER = 0x1
-- ARPHRD_EUI64 = 0x1b
-- ARPHRD_FCAL = 0x311
-- ARPHRD_FCFABRIC = 0x313
-- ARPHRD_FCPL = 0x312
-- ARPHRD_FCPP = 0x310
-- ARPHRD_FDDI = 0x306
-- ARPHRD_FRAD = 0x302
-- ARPHRD_HDLC = 0x201
-- ARPHRD_HIPPI = 0x30c
-- ARPHRD_HWX25 = 0x110
-- ARPHRD_IEEE1394 = 0x18
-- ARPHRD_IEEE802 = 0x6
-- ARPHRD_IEEE80211 = 0x321
-- ARPHRD_IEEE80211_PRISM = 0x322
-- ARPHRD_IEEE80211_RADIOTAP = 0x323
-- ARPHRD_IEEE802154 = 0x324
-- ARPHRD_IEEE802154_MONITOR = 0x325
-- ARPHRD_IEEE802_TR = 0x320
-- ARPHRD_INFINIBAND = 0x20
-- ARPHRD_IP6GRE = 0x337
-- ARPHRD_IPDDP = 0x309
-- ARPHRD_IPGRE = 0x30a
-- ARPHRD_IRDA = 0x30f
-- ARPHRD_LAPB = 0x204
-- ARPHRD_LOCALTLK = 0x305
-- ARPHRD_LOOPBACK = 0x304
-- ARPHRD_METRICOM = 0x17
-- ARPHRD_NETLINK = 0x338
-- ARPHRD_NETROM = 0x0
-- ARPHRD_NONE = 0xfffe
-- ARPHRD_PHONET = 0x334
-- ARPHRD_PHONET_PIPE = 0x335
-- ARPHRD_PIMREG = 0x30b
-- ARPHRD_PPP = 0x200
-- ARPHRD_PRONET = 0x4
-- ARPHRD_RAWHDLC = 0x206
-- ARPHRD_ROSE = 0x10e
-- ARPHRD_RSRVD = 0x104
-- ARPHRD_SIT = 0x308
-- ARPHRD_SKIP = 0x303
-- ARPHRD_SLIP = 0x100
-- ARPHRD_SLIP6 = 0x102
-- ARPHRD_TUNNEL = 0x300
-- ARPHRD_TUNNEL6 = 0x301
-- ARPHRD_VOID = 0xffff
-- ARPHRD_X25 = 0x10f
- ASI_LEON_DFLUSH = 0x11
- ASI_LEON_IFLUSH = 0x10
- ASI_LEON_MMUFLUSH = 0x18
-- B0 = 0x0
-- B1000000 = 0x100c
-- B110 = 0x3
-+ B1000000 = 0x1008
- B115200 = 0x1002
-- B1152000 = 0x100d
-- B1200 = 0x9
-- B134 = 0x4
-- B150 = 0x5
-- B1500000 = 0x100e
-- B153600 = 0x1006
-- B1800 = 0xa
-- B19200 = 0xe
-- B200 = 0x6
-- B2000000 = 0x100f
-+ B1152000 = 0x1009
-+ B1500000 = 0x100a
-+ B2000000 = 0x100b
- B230400 = 0x1003
-- B2400 = 0xb
-- B300 = 0x7
-- B307200 = 0x1007
-- B38400 = 0xf
-+ B2500000 = 0x100c
-+ B3000000 = 0x100d
-+ B3500000 = 0x100e
-+ B4000000 = 0x100f
- B460800 = 0x1004
-- B4800 = 0xc
-- B50 = 0x1
-- B500000 = 0x100a
-+ B500000 = 0x1005
- B57600 = 0x1001
-- B576000 = 0x100b
-- B600 = 0x8
-- B614400 = 0x1008
-- B75 = 0x2
-- B76800 = 0x1005
-- B921600 = 0x1009
-- B9600 = 0xd
-- BLKBSZGET = 0x80081270
-- BLKBSZSET = 0x40081271
-- BLKFLSBUF = 0x1261
-- BLKFRAGET = 0x1265
-- BLKFRASET = 0x1264
-- BLKGETSIZE = 0x1260
-- BLKGETSIZE64 = 0x80081272
-- BLKRAGET = 0x1263
-- BLKRASET = 0x1262
-- BLKROGET = 0x125e
-- BLKROSET = 0x125d
-- BLKRRPART = 0x125f
-- BLKSECTGET = 0x1267
-- BLKSECTSET = 0x1266
-- BLKSSZGET = 0x1268
-+ B576000 = 0x1006
-+ B921600 = 0x1007
-+ BLKBSZGET = 0x40081270
-+ BLKBSZSET = 0x80081271
-+ BLKFLSBUF = 0x20001261
-+ BLKFRAGET = 0x20001265
-+ BLKFRASET = 0x20001264
-+ BLKGETSIZE = 0x20001260
-+ BLKGETSIZE64 = 0x40081272
-+ BLKPBSZGET = 0x2000127b
-+ BLKRAGET = 0x20001263
-+ BLKRASET = 0x20001262
-+ BLKROGET = 0x2000125e
-+ BLKROSET = 0x2000125d
-+ BLKRRPART = 0x2000125f
-+ BLKSECTGET = 0x20001267
-+ BLKSECTSET = 0x20001266
-+ BLKSSZGET = 0x20001268
- BOTHER = 0x1000
-- BPF_A = 0x10
-- BPF_ABS = 0x20
-- BPF_ADD = 0x0
-- BPF_ALU = 0x4
-- BPF_AND = 0x50
-- BPF_B = 0x10
-- BPF_DIV = 0x30
-- BPF_H = 0x8
-- BPF_IMM = 0x0
-- BPF_IND = 0x40
-- BPF_JA = 0x0
-- BPF_JEQ = 0x10
-- BPF_JGE = 0x30
-- BPF_JGT = 0x20
-- BPF_JMP = 0x5
-- BPF_JSET = 0x40
-- BPF_K = 0x0
-- BPF_LD = 0x0
-- BPF_LDX = 0x1
-- BPF_LEN = 0x80
-- BPF_LL_OFF = -0x200000
-- BPF_LSH = 0x60
-- BPF_MAJOR_VERSION = 0x1
-- BPF_MAXINSNS = 0x1000
-- BPF_MEM = 0x60
-- BPF_MEMWORDS = 0x10
-- BPF_MINOR_VERSION = 0x1
-- BPF_MISC = 0x7
-- BPF_MOD = 0x90
-- BPF_MSH = 0xa0
-- BPF_MUL = 0x20
-- BPF_NEG = 0x80
-- BPF_NET_OFF = -0x100000
-- BPF_OR = 0x40
-- BPF_RET = 0x6
-- BPF_RSH = 0x70
-- BPF_ST = 0x2
-- BPF_STX = 0x3
-- BPF_SUB = 0x10
-- BPF_TAX = 0x0
-- BPF_TXA = 0x80
-- BPF_W = 0x0
-- BPF_X = 0x8
-- BPF_XOR = 0xa0
-- BRKINT = 0x2
-- BS0 = 0x0
- BS1 = 0x2000
- BSDLY = 0x2000
-- CAN_BCM = 0x2
-- CAN_EFF_FLAG = 0x80000000
-- CAN_EFF_ID_BITS = 0x1d
-- CAN_EFF_MASK = 0x1fffffff
-- CAN_ERR_FLAG = 0x20000000
-- CAN_ERR_MASK = 0x1fffffff
-- CAN_INV_FILTER = 0x20000000
-- CAN_ISOTP = 0x6
-- CAN_MAX_DLC = 0x8
-- CAN_MAX_DLEN = 0x8
-- CAN_MCNET = 0x5
-- CAN_MTU = 0x10
-- CAN_NPROTO = 0x7
-- CAN_RAW = 0x1
-- CAN_RTR_FLAG = 0x40000000
-- CAN_SFF_ID_BITS = 0xb
-- CAN_SFF_MASK = 0x7ff
-- CAN_TP16 = 0x3
-- CAN_TP20 = 0x4
- CBAUD = 0x100f
- CBAUDEX = 0x1000
-- CFLUSH = 0xf
- CIBAUD = 0x100f0000
- CLOCAL = 0x800
-- CLOCK_BOOTTIME = 0x7
-- CLOCK_BOOTTIME_ALARM = 0x9
-- CLOCK_DEFAULT = 0x0
-- CLOCK_EXT = 0x1
-- CLOCK_INT = 0x2
-- CLOCK_MONOTONIC = 0x1
-- CLOCK_MONOTONIC_COARSE = 0x6
-- CLOCK_MONOTONIC_RAW = 0x4
-- CLOCK_PROCESS_CPUTIME_ID = 0x2
-- CLOCK_REALTIME = 0x0
-- CLOCK_REALTIME_ALARM = 0x8
-- CLOCK_REALTIME_COARSE = 0x5
-- CLOCK_TAI = 0xb
-- CLOCK_THREAD_CPUTIME_ID = 0x3
-- CLOCK_TXFROMRX = 0x4
-- CLOCK_TXINT = 0x3
-- CLONE_CHILD_CLEARTID = 0x200000
-- CLONE_CHILD_SETTID = 0x1000000
-- CLONE_DETACHED = 0x400000
-- CLONE_FILES = 0x400
-- CLONE_FS = 0x200
-- CLONE_IO = 0x80000000
-- CLONE_NEWCGROUP = 0x2000000
-- CLONE_NEWIPC = 0x8000000
-- CLONE_NEWNET = 0x40000000
-- CLONE_NEWNS = 0x20000
-- CLONE_NEWPID = 0x20000000
-- CLONE_NEWUSER = 0x10000000
-- CLONE_NEWUTS = 0x4000000
-- CLONE_PARENT = 0x8000
-- CLONE_PARENT_SETTID = 0x100000
-- CLONE_PTRACE = 0x2000
-- CLONE_SETTLS = 0x80000
-- CLONE_SIGHAND = 0x800
-- CLONE_SYSVSEM = 0x40000
-- CLONE_THREAD = 0x10000
-- CLONE_UNTRACED = 0x800000
-- CLONE_VFORK = 0x4000
-- CLONE_VM = 0x100
-- CMSPAR = 0x40000000
-- CR0 = 0x0
- CR1 = 0x200
- CR2 = 0x400
- CR3 = 0x600
- CRDLY = 0x600
- CREAD = 0x80
-- CRTSCTS = 0x80000000
-- CS5 = 0x0
- CS6 = 0x10
- CS7 = 0x20
- CS8 = 0x30
-- CSIGNAL = 0xff
- CSIZE = 0x30
-- CSTART = 0x11
-- CSTATUS = 0x0
-- CSTOP = 0x13
- CSTOPB = 0x40
-- CSUSP = 0x1a
-- DT_BLK = 0x6
-- DT_CHR = 0x2
-- DT_DIR = 0x4
-- DT_FIFO = 0x1
-- DT_LNK = 0xa
-- DT_REG = 0x8
-- DT_SOCK = 0xc
-- DT_UNKNOWN = 0x0
-- DT_WHT = 0xe
-- ECHO = 0x8
- ECHOCTL = 0x200
- ECHOE = 0x10
- ECHOK = 0x20
- ECHOKE = 0x800
- ECHONL = 0x40
- ECHOPRT = 0x400
-+ EFD_CLOEXEC = 0x400000
-+ EFD_NONBLOCK = 0x4000
- EMT_TAGOVF = 0x1
-- ENCODING_DEFAULT = 0x0
-- ENCODING_FM_MARK = 0x3
-- ENCODING_FM_SPACE = 0x4
-- ENCODING_MANCHESTER = 0x5
-- ENCODING_NRZ = 0x1
-- ENCODING_NRZI = 0x2
-- EPOLLERR = 0x8
-- EPOLLET = 0x80000000
-- EPOLLEXCLUSIVE = 0x10000000
-- EPOLLHUP = 0x10
-- EPOLLIN = 0x1
-- EPOLLMSG = 0x400
-- EPOLLONESHOT = 0x40000000
-- EPOLLOUT = 0x4
-- EPOLLPRI = 0x2
-- EPOLLRDBAND = 0x80
-- EPOLLRDHUP = 0x2000
-- EPOLLRDNORM = 0x40
-- EPOLLWAKEUP = 0x20000000
-- EPOLLWRBAND = 0x200
-- EPOLLWRNORM = 0x100
- EPOLL_CLOEXEC = 0x400000
-- EPOLL_CTL_ADD = 0x1
-- EPOLL_CTL_DEL = 0x2
-- EPOLL_CTL_MOD = 0x3
-- ETH_P_1588 = 0x88f7
-- ETH_P_8021AD = 0x88a8
-- ETH_P_8021AH = 0x88e7
-- ETH_P_8021Q = 0x8100
-- ETH_P_80221 = 0x8917
-- ETH_P_802_2 = 0x4
-- ETH_P_802_3 = 0x1
-- ETH_P_802_3_MIN = 0x600
-- ETH_P_802_EX1 = 0x88b5
-- ETH_P_AARP = 0x80f3
-- ETH_P_AF_IUCV = 0xfbfb
-- ETH_P_ALL = 0x3
-- ETH_P_AOE = 0x88a2
-- ETH_P_ARCNET = 0x1a
-- ETH_P_ARP = 0x806
-- ETH_P_ATALK = 0x809b
-- ETH_P_ATMFATE = 0x8884
-- ETH_P_ATMMPOA = 0x884c
-- ETH_P_AX25 = 0x2
-- ETH_P_BATMAN = 0x4305
-- ETH_P_BPQ = 0x8ff
-- ETH_P_CAIF = 0xf7
-- ETH_P_CAN = 0xc
-- ETH_P_CANFD = 0xd
-- ETH_P_CONTROL = 0x16
-- ETH_P_CUST = 0x6006
-- ETH_P_DDCMP = 0x6
-- ETH_P_DEC = 0x6000
-- ETH_P_DIAG = 0x6005
-- ETH_P_DNA_DL = 0x6001
-- ETH_P_DNA_RC = 0x6002
-- ETH_P_DNA_RT = 0x6003
-- ETH_P_DSA = 0x1b
-- ETH_P_ECONET = 0x18
-- ETH_P_EDSA = 0xdada
-- ETH_P_FCOE = 0x8906
-- ETH_P_FIP = 0x8914
-- ETH_P_HDLC = 0x19
-- ETH_P_HSR = 0x892f
-- ETH_P_IEEE802154 = 0xf6
-- ETH_P_IEEEPUP = 0xa00
-- ETH_P_IEEEPUPAT = 0xa01
-- ETH_P_IP = 0x800
-- ETH_P_IPV6 = 0x86dd
-- ETH_P_IPX = 0x8137
-- ETH_P_IRDA = 0x17
-- ETH_P_LAT = 0x6004
-- ETH_P_LINK_CTL = 0x886c
-- ETH_P_LOCALTALK = 0x9
-- ETH_P_LOOP = 0x60
-- ETH_P_LOOPBACK = 0x9000
-- ETH_P_MACSEC = 0x88e5
-- ETH_P_MOBITEX = 0x15
-- ETH_P_MPLS_MC = 0x8848
-- ETH_P_MPLS_UC = 0x8847
-- ETH_P_MVRP = 0x88f5
-- ETH_P_PAE = 0x888e
-- ETH_P_PAUSE = 0x8808
-- ETH_P_PHONET = 0xf5
-- ETH_P_PPPTALK = 0x10
-- ETH_P_PPP_DISC = 0x8863
-- ETH_P_PPP_MP = 0x8
-- ETH_P_PPP_SES = 0x8864
-- ETH_P_PRP = 0x88fb
-- ETH_P_PUP = 0x200
-- ETH_P_PUPAT = 0x201
-- ETH_P_QINQ1 = 0x9100
-- ETH_P_QINQ2 = 0x9200
-- ETH_P_QINQ3 = 0x9300
-- ETH_P_RARP = 0x8035
-- ETH_P_SCA = 0x6007
-- ETH_P_SLOW = 0x8809
-- ETH_P_SNAP = 0x5
-- ETH_P_TDLS = 0x890d
-- ETH_P_TEB = 0x6558
-- ETH_P_TIPC = 0x88ca
-- ETH_P_TRAILER = 0x1c
-- ETH_P_TR_802_2 = 0x11
-- ETH_P_TSN = 0x22f0
-- ETH_P_WAN_PPP = 0x7
-- ETH_P_WCCP = 0x883e
-- ETH_P_X25 = 0x805
-- ETH_P_XDSA = 0xf8
-- EXTA = 0xe
-- EXTB = 0xf
- EXTPROC = 0x10000
-- FALLOC_FL_COLLAPSE_RANGE = 0x8
-- FALLOC_FL_INSERT_RANGE = 0x20
-- FALLOC_FL_KEEP_SIZE = 0x1
-- FALLOC_FL_NO_HIDE_STALE = 0x4
-- FALLOC_FL_PUNCH_HOLE = 0x2
-- FALLOC_FL_ZERO_RANGE = 0x10
-- FD_CLOEXEC = 0x1
-- FD_SETSIZE = 0x400
-- FF0 = 0x0
- FF1 = 0x8000
- FFDLY = 0x8000
-- FLUSHO = 0x2000
-- F_DUPFD = 0x0
-- F_DUPFD_CLOEXEC = 0x406
-- F_EXLCK = 0x4
-- F_GETFD = 0x1
-- F_GETFL = 0x3
-- F_GETLEASE = 0x401
-+ FLUSHO = 0x1000
-+ FS_IOC_ENABLE_VERITY = 0x80806685
-+ FS_IOC_GETFLAGS = 0x40086601
-+ FS_IOC_GET_ENCRYPTION_POLICY = 0x800c6615
-+ FS_IOC_GET_ENCRYPTION_PWSALT = 0x80106614
-+ FS_IOC_SET_ENCRYPTION_POLICY = 0x400c6613
- F_GETLK = 0x7
- F_GETLK64 = 0x7
- F_GETOWN = 0x5
-- F_GETOWN_EX = 0x10
-- F_GETPIPE_SZ = 0x408
-- F_GETSIG = 0xb
-- F_LOCK = 0x1
-- F_NOTIFY = 0x402
-- F_OFD_GETLK = 0x24
-- F_OFD_SETLK = 0x25
-- F_OFD_SETLKW = 0x26
-- F_OK = 0x0
- F_RDLCK = 0x1
-- F_SETFD = 0x2
-- F_SETFL = 0x4
-- F_SETLEASE = 0x400
- F_SETLK = 0x8
- F_SETLK64 = 0x8
- F_SETLKW = 0x9
- F_SETLKW64 = 0x9
- F_SETOWN = 0x6
-- F_SETOWN_EX = 0xf
-- F_SETPIPE_SZ = 0x407
-- F_SETSIG = 0xa
-- F_SHLCK = 0x8
-- F_TEST = 0x3
-- F_TLOCK = 0x2
-- F_ULOCK = 0x0
- F_UNLCK = 0x3
- F_WRLCK = 0x2
-- GRND_NONBLOCK = 0x1
-- GRND_RANDOM = 0x2
- HUPCL = 0x400
-- IBSHIFT = 0x10
- ICANON = 0x2
-- ICMPV6_FILTER = 0x1
-- ICRNL = 0x100
- IEXTEN = 0x8000
-- IFA_F_DADFAILED = 0x8
-- IFA_F_DEPRECATED = 0x20
-- IFA_F_HOMEADDRESS = 0x10
-- IFA_F_MANAGETEMPADDR = 0x100
-- IFA_F_MCAUTOJOIN = 0x400
-- IFA_F_NODAD = 0x2
-- IFA_F_NOPREFIXROUTE = 0x200
-- IFA_F_OPTIMISTIC = 0x4
-- IFA_F_PERMANENT = 0x80
-- IFA_F_SECONDARY = 0x1
-- IFA_F_STABLE_PRIVACY = 0x800
-- IFA_F_TEMPORARY = 0x1
-- IFA_F_TENTATIVE = 0x40
-- IFA_MAX = 0x8
-- IFF_ALLMULTI = 0x200
-- IFF_ATTACH_QUEUE = 0x200
-- IFF_AUTOMEDIA = 0x4000
-- IFF_BROADCAST = 0x2
-- IFF_DEBUG = 0x4
-- IFF_DETACH_QUEUE = 0x400
-- IFF_DORMANT = 0x20000
-- IFF_DYNAMIC = 0x8000
-- IFF_ECHO = 0x40000
-- IFF_LOOPBACK = 0x8
-- IFF_LOWER_UP = 0x10000
-- IFF_MASTER = 0x400
-- IFF_MULTICAST = 0x1000
-- IFF_MULTI_QUEUE = 0x100
-- IFF_NOARP = 0x80
-- IFF_NOFILTER = 0x1000
-- IFF_NOTRAILERS = 0x20
-- IFF_NO_PI = 0x1000
-- IFF_ONE_QUEUE = 0x2000
-- IFF_PERSIST = 0x800
-- IFF_POINTOPOINT = 0x10
-- IFF_PORTSEL = 0x2000
-- IFF_PROMISC = 0x100
-- IFF_RUNNING = 0x40
-- IFF_SLAVE = 0x800
-- IFF_TAP = 0x2
-- IFF_TUN = 0x1
-- IFF_TUN_EXCL = 0x8000
-- IFF_UP = 0x1
-- IFF_VNET_HDR = 0x4000
-- IFF_VOLATILE = 0x70c5a
-- IFNAMSIZ = 0x10
-- IGNBRK = 0x1
-- IGNCR = 0x80
-- IGNPAR = 0x4
-- IMAXBEL = 0x2000
-- INLCR = 0x40
-- INPCK = 0x10
-- IN_ACCESS = 0x1
-- IN_ALL_EVENTS = 0xfff
-- IN_ATTRIB = 0x4
-- IN_CLASSA_HOST = 0xffffff
-- IN_CLASSA_MAX = 0x80
-- IN_CLASSA_NET = 0xff000000
-- IN_CLASSA_NSHIFT = 0x18
-- IN_CLASSB_HOST = 0xffff
-- IN_CLASSB_MAX = 0x10000
-- IN_CLASSB_NET = 0xffff0000
-- IN_CLASSB_NSHIFT = 0x10
-- IN_CLASSC_HOST = 0xff
-- IN_CLASSC_NET = 0xffffff00
-- IN_CLASSC_NSHIFT = 0x8
- IN_CLOEXEC = 0x400000
-- IN_CLOSE = 0x18
-- IN_CLOSE_NOWRITE = 0x10
-- IN_CLOSE_WRITE = 0x8
-- IN_CREATE = 0x100
-- IN_DELETE = 0x200
-- IN_DELETE_SELF = 0x400
-- IN_DONT_FOLLOW = 0x2000000
-- IN_EXCL_UNLINK = 0x4000000
-- IN_IGNORED = 0x8000
-- IN_ISDIR = 0x40000000
-- IN_LOOPBACKNET = 0x7f
-- IN_MASK_ADD = 0x20000000
-- IN_MODIFY = 0x2
-- IN_MOVE = 0xc0
-- IN_MOVED_FROM = 0x40
-- IN_MOVED_TO = 0x80
-- IN_MOVE_SELF = 0x800
- IN_NONBLOCK = 0x4000
-- IN_ONESHOT = 0x80000000
-- IN_ONLYDIR = 0x1000000
-- IN_OPEN = 0x20
-- IN_Q_OVERFLOW = 0x4000
-- IN_UNMOUNT = 0x2000
-- IPPROTO_AH = 0x33
-- IPPROTO_BEETPH = 0x5e
-- IPPROTO_COMP = 0x6c
-- IPPROTO_DCCP = 0x21
-- IPPROTO_DSTOPTS = 0x3c
-- IPPROTO_EGP = 0x8
-- IPPROTO_ENCAP = 0x62
-- IPPROTO_ESP = 0x32
-- IPPROTO_FRAGMENT = 0x2c
-- IPPROTO_GRE = 0x2f
-- IPPROTO_HOPOPTS = 0x0
-- IPPROTO_ICMP = 0x1
-- IPPROTO_ICMPV6 = 0x3a
-- IPPROTO_IDP = 0x16
-- IPPROTO_IGMP = 0x2
-- IPPROTO_IP = 0x0
-- IPPROTO_IPIP = 0x4
-- IPPROTO_IPV6 = 0x29
-- IPPROTO_MH = 0x87
-- IPPROTO_MPLS = 0x89
-- IPPROTO_MTP = 0x5c
-- IPPROTO_NONE = 0x3b
-- IPPROTO_PIM = 0x67
-- IPPROTO_PUP = 0xc
-- IPPROTO_RAW = 0xff
-- IPPROTO_ROUTING = 0x2b
-- IPPROTO_RSVP = 0x2e
-- IPPROTO_SCTP = 0x84
-- IPPROTO_TCP = 0x6
-- IPPROTO_TP = 0x1d
-- IPPROTO_UDP = 0x11
-- IPPROTO_UDPLITE = 0x88
-- IPV6_2292DSTOPTS = 0x4
-- IPV6_2292HOPLIMIT = 0x8
-- IPV6_2292HOPOPTS = 0x3
-- IPV6_2292PKTINFO = 0x2
-- IPV6_2292PKTOPTIONS = 0x6
-- IPV6_2292RTHDR = 0x5
-- IPV6_ADDRFORM = 0x1
-- IPV6_ADD_MEMBERSHIP = 0x14
-- IPV6_AUTHHDR = 0xa
-- IPV6_CHECKSUM = 0x7
-- IPV6_DONTFRAG = 0x3e
-- IPV6_DROP_MEMBERSHIP = 0x15
-- IPV6_DSTOPTS = 0x3b
-- IPV6_HDRINCL = 0x24
-- IPV6_HOPLIMIT = 0x34
-- IPV6_HOPOPTS = 0x36
-- IPV6_IPSEC_POLICY = 0x22
-- IPV6_JOIN_ANYCAST = 0x1b
-- IPV6_JOIN_GROUP = 0x14
-- IPV6_LEAVE_ANYCAST = 0x1c
-- IPV6_LEAVE_GROUP = 0x15
-- IPV6_MTU = 0x18
-- IPV6_MTU_DISCOVER = 0x17
-- IPV6_MULTICAST_HOPS = 0x12
-- IPV6_MULTICAST_IF = 0x11
-- IPV6_MULTICAST_LOOP = 0x13
-- IPV6_NEXTHOP = 0x9
-- IPV6_PATHMTU = 0x3d
-- IPV6_PKTINFO = 0x32
-- IPV6_PMTUDISC_DO = 0x2
-- IPV6_PMTUDISC_DONT = 0x0
-- IPV6_PMTUDISC_INTERFACE = 0x4
-- IPV6_PMTUDISC_OMIT = 0x5
-- IPV6_PMTUDISC_PROBE = 0x3
-- IPV6_PMTUDISC_WANT = 0x1
-- IPV6_RECVDSTOPTS = 0x3a
-- IPV6_RECVERR = 0x19
-- IPV6_RECVHOPLIMIT = 0x33
-- IPV6_RECVHOPOPTS = 0x35
-- IPV6_RECVPATHMTU = 0x3c
-- IPV6_RECVPKTINFO = 0x31
-- IPV6_RECVRTHDR = 0x38
-- IPV6_RECVTCLASS = 0x42
-- IPV6_ROUTER_ALERT = 0x16
-- IPV6_RTHDR = 0x39
-- IPV6_RTHDRDSTOPTS = 0x37
-- IPV6_RTHDR_LOOSE = 0x0
-- IPV6_RTHDR_STRICT = 0x1
-- IPV6_RTHDR_TYPE_0 = 0x0
-- IPV6_RXDSTOPTS = 0x3b
-- IPV6_RXHOPOPTS = 0x36
-- IPV6_TCLASS = 0x43
-- IPV6_UNICAST_HOPS = 0x10
-- IPV6_V6ONLY = 0x1a
-- IPV6_XFRM_POLICY = 0x23
-- IP_ADD_MEMBERSHIP = 0x23
-- IP_ADD_SOURCE_MEMBERSHIP = 0x27
-- IP_BIND_ADDRESS_NO_PORT = 0x18
-- IP_BLOCK_SOURCE = 0x26
-- IP_CHECKSUM = 0x17
-- IP_DEFAULT_MULTICAST_LOOP = 0x1
-- IP_DEFAULT_MULTICAST_TTL = 0x1
-- IP_DF = 0x4000
-- IP_DROP_MEMBERSHIP = 0x24
-- IP_DROP_SOURCE_MEMBERSHIP = 0x28
-- IP_FREEBIND = 0xf
-- IP_HDRINCL = 0x3
-- IP_IPSEC_POLICY = 0x10
-- IP_MAXPACKET = 0xffff
-- IP_MAX_MEMBERSHIPS = 0x14
-- IP_MF = 0x2000
-- IP_MINTTL = 0x15
-- IP_MSFILTER = 0x29
-- IP_MSS = 0x240
-- IP_MTU = 0xe
-- IP_MTU_DISCOVER = 0xa
-- IP_MULTICAST_ALL = 0x31
-- IP_MULTICAST_IF = 0x20
-- IP_MULTICAST_LOOP = 0x22
-- IP_MULTICAST_TTL = 0x21
-- IP_NODEFRAG = 0x16
-- IP_OFFMASK = 0x1fff
-- IP_OPTIONS = 0x4
-- IP_ORIGDSTADDR = 0x14
-- IP_PASSSEC = 0x12
-- IP_PKTINFO = 0x8
-- IP_PKTOPTIONS = 0x9
-- IP_PMTUDISC = 0xa
-- IP_PMTUDISC_DO = 0x2
-- IP_PMTUDISC_DONT = 0x0
-- IP_PMTUDISC_INTERFACE = 0x4
-- IP_PMTUDISC_OMIT = 0x5
-- IP_PMTUDISC_PROBE = 0x3
-- IP_PMTUDISC_WANT = 0x1
-- IP_RECVERR = 0xb
-- IP_RECVOPTS = 0x6
-- IP_RECVORIGDSTADDR = 0x14
-- IP_RECVRETOPTS = 0x7
-- IP_RECVTOS = 0xd
-- IP_RECVTTL = 0xc
-- IP_RETOPTS = 0x7
-- IP_RF = 0x8000
-- IP_ROUTER_ALERT = 0x5
-- IP_TOS = 0x1
-- IP_TRANSPARENT = 0x13
-- IP_TTL = 0x2
-- IP_UNBLOCK_SOURCE = 0x25
-- IP_UNICAST_IF = 0x32
-- IP_XFRM_POLICY = 0x11
-+ IOCTL_VM_SOCKETS_GET_LOCAL_CID = 0x200007b9
- ISIG = 0x1
-- ISTRIP = 0x20
- IUCLC = 0x200
-- IUTF8 = 0x4000
-- IXANY = 0x800
- IXOFF = 0x1000
- IXON = 0x400
-- LINUX_REBOOT_CMD_CAD_OFF = 0x0
-- LINUX_REBOOT_CMD_CAD_ON = 0x89abcdef
-- LINUX_REBOOT_CMD_HALT = 0xcdef0123
-- LINUX_REBOOT_CMD_KEXEC = 0x45584543
-- LINUX_REBOOT_CMD_POWER_OFF = 0x4321fedc
-- LINUX_REBOOT_CMD_RESTART = 0x1234567
-- LINUX_REBOOT_CMD_RESTART2 = 0xa1b2c3d4
-- LINUX_REBOOT_CMD_SW_SUSPEND = 0xd000fce2
-- LINUX_REBOOT_MAGIC1 = 0xfee1dead
-- LINUX_REBOOT_MAGIC2 = 0x28121969
-- LOCK_EX = 0x2
-- LOCK_NB = 0x4
-- LOCK_SH = 0x1
-- LOCK_UN = 0x8
-- MADV_DODUMP = 0x11
-- MADV_DOFORK = 0xb
-- MADV_DONTDUMP = 0x10
-- MADV_DONTFORK = 0xa
-- MADV_DONTNEED = 0x4
-- MADV_FREE = 0x8
-- MADV_HUGEPAGE = 0xe
-- MADV_HWPOISON = 0x64
-- MADV_MERGEABLE = 0xc
-- MADV_NOHUGEPAGE = 0xf
-- MADV_NORMAL = 0x0
-- MADV_RANDOM = 0x1
-- MADV_REMOVE = 0x9
-- MADV_SEQUENTIAL = 0x2
-- MADV_UNMERGEABLE = 0xd
-- MADV_WILLNEED = 0x3
- MAP_ANON = 0x20
- MAP_ANONYMOUS = 0x20
- MAP_DENYWRITE = 0x800
- MAP_EXECUTABLE = 0x1000
-- MAP_FILE = 0x0
-- MAP_FIXED = 0x10
- MAP_GROWSDOWN = 0x200
- MAP_HUGETLB = 0x40000
-- MAP_HUGE_MASK = 0x3f
-- MAP_HUGE_SHIFT = 0x1a
- MAP_LOCKED = 0x100
- MAP_NONBLOCK = 0x10000
- MAP_NORESERVE = 0x40
- MAP_POPULATE = 0x8000
-- MAP_PRIVATE = 0x2
- MAP_RENAME = 0x20
-- MAP_SHARED = 0x1
- MAP_STACK = 0x20000
-- MAP_TYPE = 0xf
-+ MAP_SYNC = 0x80000
- MCL_CURRENT = 0x2000
- MCL_FUTURE = 0x4000
- MCL_ONFAULT = 0x8000
-- MNT_DETACH = 0x2
-- MNT_EXPIRE = 0x4
-- MNT_FORCE = 0x1
-- MSG_BATCH = 0x40000
-- MSG_CMSG_CLOEXEC = 0x40000000
-- MSG_CONFIRM = 0x800
-- MSG_CTRUNC = 0x8
-- MSG_DONTROUTE = 0x4
-- MSG_DONTWAIT = 0x40
-- MSG_EOR = 0x80
-- MSG_ERRQUEUE = 0x2000
-- MSG_FASTOPEN = 0x20000000
-- MSG_FIN = 0x200
-- MSG_MORE = 0x8000
-- MSG_NOSIGNAL = 0x4000
-- MSG_OOB = 0x1
-- MSG_PEEK = 0x2
-- MSG_PROXY = 0x10
-- MSG_RST = 0x1000
-- MSG_SYN = 0x400
-- MSG_TRUNC = 0x20
-- MSG_TRYHARD = 0x4
-- MSG_WAITALL = 0x100
-- MSG_WAITFORONE = 0x10000
-- MS_ACTIVE = 0x40000000
-- MS_ASYNC = 0x1
-- MS_BIND = 0x1000
-- MS_DIRSYNC = 0x80
-- MS_INVALIDATE = 0x2
-- MS_I_VERSION = 0x800000
-- MS_KERNMOUNT = 0x400000
-- MS_LAZYTIME = 0x2000000
-- MS_MANDLOCK = 0x40
-- MS_MGC_MSK = 0xffff0000
-- MS_MGC_VAL = 0xc0ed0000
-- MS_MOVE = 0x2000
-- MS_NOATIME = 0x400
-- MS_NODEV = 0x4
-- MS_NODIRATIME = 0x800
-- MS_NOEXEC = 0x8
-- MS_NOSUID = 0x2
-- MS_NOUSER = -0x80000000
-- MS_POSIXACL = 0x10000
-- MS_PRIVATE = 0x40000
-- MS_RDONLY = 0x1
-- MS_REC = 0x4000
-- MS_RELATIME = 0x200000
-- MS_REMOUNT = 0x20
-- MS_RMT_MASK = 0x2800051
-- MS_SHARED = 0x100000
-- MS_SILENT = 0x8000
-- MS_SLAVE = 0x80000
-- MS_STRICTATIME = 0x1000000
-- MS_SYNC = 0x4
-- MS_SYNCHRONOUS = 0x10
-- MS_UNBINDABLE = 0x20000
-- NAME_MAX = 0xff
-- NETLINK_ADD_MEMBERSHIP = 0x1
-- NETLINK_AUDIT = 0x9
-- NETLINK_BROADCAST_ERROR = 0x4
-- NETLINK_CAP_ACK = 0xa
-- NETLINK_CONNECTOR = 0xb
-- NETLINK_CRYPTO = 0x15
-- NETLINK_DNRTMSG = 0xe
-- NETLINK_DROP_MEMBERSHIP = 0x2
-- NETLINK_ECRYPTFS = 0x13
-- NETLINK_FIB_LOOKUP = 0xa
-- NETLINK_FIREWALL = 0x3
-- NETLINK_GENERIC = 0x10
-- NETLINK_INET_DIAG = 0x4
-- NETLINK_IP6_FW = 0xd
-- NETLINK_ISCSI = 0x8
-- NETLINK_KOBJECT_UEVENT = 0xf
-- NETLINK_LISTEN_ALL_NSID = 0x8
-- NETLINK_LIST_MEMBERSHIPS = 0x9
-- NETLINK_NETFILTER = 0xc
-- NETLINK_NFLOG = 0x5
-- NETLINK_NO_ENOBUFS = 0x5
-- NETLINK_PKTINFO = 0x3
-- NETLINK_RDMA = 0x14
-- NETLINK_ROUTE = 0x0
-- NETLINK_RX_RING = 0x6
-- NETLINK_SCSITRANSPORT = 0x12
-- NETLINK_SELINUX = 0x7
-- NETLINK_SOCK_DIAG = 0x4
-- NETLINK_TX_RING = 0x7
-- NETLINK_UNUSED = 0x1
-- NETLINK_USERSOCK = 0x2
-- NETLINK_XFRM = 0x6
-- NL0 = 0x0
-- NL1 = 0x100
-- NLA_ALIGNTO = 0x4
-- NLA_F_NESTED = 0x8000
-- NLA_F_NET_BYTEORDER = 0x4000
-- NLA_HDRLEN = 0x4
-+ NFDBITS = 0x40
- NLDLY = 0x100
-- NLMSG_ALIGNTO = 0x4
-- NLMSG_DONE = 0x3
-- NLMSG_ERROR = 0x2
-- NLMSG_HDRLEN = 0x10
-- NLMSG_MIN_TYPE = 0x10
-- NLMSG_NOOP = 0x1
-- NLMSG_OVERRUN = 0x4
-- NLM_F_ACK = 0x4
-- NLM_F_APPEND = 0x800
-- NLM_F_ATOMIC = 0x400
-- NLM_F_CREATE = 0x400
-- NLM_F_DUMP = 0x300
-- NLM_F_DUMP_FILTERED = 0x20
-- NLM_F_DUMP_INTR = 0x10
-- NLM_F_ECHO = 0x8
-- NLM_F_EXCL = 0x200
-- NLM_F_MATCH = 0x200
-- NLM_F_MULTI = 0x2
-- NLM_F_REPLACE = 0x100
-- NLM_F_REQUEST = 0x1
-- NLM_F_ROOT = 0x100
- NOFLSH = 0x80
-- OCRNL = 0x8
-- OFDEL = 0x80
-- OFILL = 0x40
-+ NS_GET_NSTYPE = 0x2000b703
-+ NS_GET_OWNER_UID = 0x2000b704
-+ NS_GET_PARENT = 0x2000b702
-+ NS_GET_USERNS = 0x2000b701
- OLCUC = 0x2
- ONLCR = 0x4
-- ONLRET = 0x20
-- ONOCR = 0x10
-- OPOST = 0x1
-- O_ACCMODE = 0x3
- O_APPEND = 0x8
- O_ASYNC = 0x40
- O_CLOEXEC = 0x400000
-@@ -926,231 +143,67 @@ const (
- O_NOFOLLOW = 0x20000
- O_NONBLOCK = 0x4000
- O_PATH = 0x1000000
-- O_RDONLY = 0x0
-- O_RDWR = 0x2
- O_RSYNC = 0x802000
- O_SYNC = 0x802000
- O_TMPFILE = 0x2010000
- O_TRUNC = 0x400
-- O_WRONLY = 0x1
-- PACKET_ADD_MEMBERSHIP = 0x1
-- PACKET_AUXDATA = 0x8
-- PACKET_BROADCAST = 0x1
-- PACKET_COPY_THRESH = 0x7
-- PACKET_DROP_MEMBERSHIP = 0x2
-- PACKET_FANOUT = 0x12
-- PACKET_FANOUT_CBPF = 0x6
-- PACKET_FANOUT_CPU = 0x2
-- PACKET_FANOUT_DATA = 0x16
-- PACKET_FANOUT_EBPF = 0x7
-- PACKET_FANOUT_FLAG_DEFRAG = 0x8000
-- PACKET_FANOUT_FLAG_ROLLOVER = 0x1000
-- PACKET_FANOUT_HASH = 0x0
-- PACKET_FANOUT_LB = 0x1
-- PACKET_FANOUT_QM = 0x5
-- PACKET_FANOUT_RND = 0x4
-- PACKET_FANOUT_ROLLOVER = 0x3
-- PACKET_FASTROUTE = 0x6
-- PACKET_HDRLEN = 0xb
-- PACKET_HOST = 0x0
-- PACKET_KERNEL = 0x7
-- PACKET_LOOPBACK = 0x5
-- PACKET_LOSS = 0xe
-- PACKET_MR_ALLMULTI = 0x2
-- PACKET_MR_MULTICAST = 0x0
-- PACKET_MR_PROMISC = 0x1
-- PACKET_MR_UNICAST = 0x3
-- PACKET_MULTICAST = 0x2
-- PACKET_ORIGDEV = 0x9
-- PACKET_OTHERHOST = 0x3
-- PACKET_OUTGOING = 0x4
-- PACKET_QDISC_BYPASS = 0x14
-- PACKET_RECV_OUTPUT = 0x3
-- PACKET_RESERVE = 0xc
-- PACKET_ROLLOVER_STATS = 0x15
-- PACKET_RX_RING = 0x5
-- PACKET_STATISTICS = 0x6
-- PACKET_TIMESTAMP = 0x11
-- PACKET_TX_HAS_OFF = 0x13
-- PACKET_TX_RING = 0xd
-- PACKET_TX_TIMESTAMP = 0x10
-- PACKET_USER = 0x6
-- PACKET_VERSION = 0xa
-- PACKET_VNET_HDR = 0xf
- PARENB = 0x100
-- PARITY_CRC16_PR0 = 0x2
-- PARITY_CRC16_PR0_CCITT = 0x4
-- PARITY_CRC16_PR1 = 0x3
-- PARITY_CRC16_PR1_CCITT = 0x5
-- PARITY_CRC32_PR0_CCITT = 0x6
-- PARITY_CRC32_PR1_CCITT = 0x7
-- PARITY_DEFAULT = 0x0
-- PARITY_NONE = 0x1
-- PARMRK = 0x8
- PARODD = 0x200
- PENDIN = 0x4000
-- PRIO_PGRP = 0x1
-- PRIO_PROCESS = 0x0
-- PRIO_USER = 0x2
-- PROT_EXEC = 0x4
-- PROT_GROWSDOWN = 0x1000000
-- PROT_GROWSUP = 0x2000000
-- PROT_NONE = 0x0
-- PROT_READ = 0x1
-- PROT_WRITE = 0x2
-- PR_CAPBSET_DROP = 0x18
-- PR_CAPBSET_READ = 0x17
-- PR_CAP_AMBIENT = 0x2f
-- PR_CAP_AMBIENT_CLEAR_ALL = 0x4
-- PR_CAP_AMBIENT_IS_SET = 0x1
-- PR_CAP_AMBIENT_LOWER = 0x3
-- PR_CAP_AMBIENT_RAISE = 0x2
-- PR_ENDIAN_BIG = 0x0
-- PR_ENDIAN_LITTLE = 0x1
-- PR_ENDIAN_PPC_LITTLE = 0x2
-- PR_FPEMU_NOPRINT = 0x1
-- PR_FPEMU_SIGFPE = 0x2
-- PR_FP_EXC_ASYNC = 0x2
-- PR_FP_EXC_DISABLED = 0x0
-- PR_FP_EXC_DIV = 0x10000
-- PR_FP_EXC_INV = 0x100000
-- PR_FP_EXC_NONRECOV = 0x1
-- PR_FP_EXC_OVF = 0x20000
-- PR_FP_EXC_PRECISE = 0x3
-- PR_FP_EXC_RES = 0x80000
-- PR_FP_EXC_SW_ENABLE = 0x80
-- PR_FP_EXC_UND = 0x40000
-- PR_FP_MODE_FR = 0x1
-- PR_FP_MODE_FRE = 0x2
-- PR_GET_CHILD_SUBREAPER = 0x25
-- PR_GET_DUMPABLE = 0x3
-- PR_GET_ENDIAN = 0x13
-- PR_GET_FPEMU = 0x9
-- PR_GET_FPEXC = 0xb
-- PR_GET_FP_MODE = 0x2e
-- PR_GET_KEEPCAPS = 0x7
-- PR_GET_NAME = 0x10
-- PR_GET_NO_NEW_PRIVS = 0x27
-- PR_GET_PDEATHSIG = 0x2
-- PR_GET_SECCOMP = 0x15
-- PR_GET_SECUREBITS = 0x1b
-- PR_GET_THP_DISABLE = 0x2a
-- PR_GET_TID_ADDRESS = 0x28
-- PR_GET_TIMERSLACK = 0x1e
-- PR_GET_TIMING = 0xd
-- PR_GET_TSC = 0x19
-- PR_GET_UNALIGN = 0x5
-- PR_MCE_KILL = 0x21
-- PR_MCE_KILL_CLEAR = 0x0
-- PR_MCE_KILL_DEFAULT = 0x2
-- PR_MCE_KILL_EARLY = 0x1
-- PR_MCE_KILL_GET = 0x22
-- PR_MCE_KILL_LATE = 0x0
-- PR_MCE_KILL_SET = 0x1
-- PR_MPX_DISABLE_MANAGEMENT = 0x2c
-- PR_MPX_ENABLE_MANAGEMENT = 0x2b
-- PR_SET_CHILD_SUBREAPER = 0x24
-- PR_SET_DUMPABLE = 0x4
-- PR_SET_ENDIAN = 0x14
-- PR_SET_FPEMU = 0xa
-- PR_SET_FPEXC = 0xc
-- PR_SET_FP_MODE = 0x2d
-- PR_SET_KEEPCAPS = 0x8
-- PR_SET_MM = 0x23
-- PR_SET_MM_ARG_END = 0x9
-- PR_SET_MM_ARG_START = 0x8
-- PR_SET_MM_AUXV = 0xc
-- PR_SET_MM_BRK = 0x7
-- PR_SET_MM_END_CODE = 0x2
-- PR_SET_MM_END_DATA = 0x4
-- PR_SET_MM_ENV_END = 0xb
-- PR_SET_MM_ENV_START = 0xa
-- PR_SET_MM_EXE_FILE = 0xd
-- PR_SET_MM_MAP = 0xe
-- PR_SET_MM_MAP_SIZE = 0xf
-- PR_SET_MM_START_BRK = 0x6
-- PR_SET_MM_START_CODE = 0x1
-- PR_SET_MM_START_DATA = 0x3
-- PR_SET_MM_START_STACK = 0x5
-- PR_SET_NAME = 0xf
-- PR_SET_NO_NEW_PRIVS = 0x26
-- PR_SET_PDEATHSIG = 0x1
-- PR_SET_PTRACER = 0x59616d61
-- PR_SET_PTRACER_ANY = -0x1
-- PR_SET_SECCOMP = 0x16
-- PR_SET_SECUREBITS = 0x1c
-- PR_SET_THP_DISABLE = 0x29
-- PR_SET_TIMERSLACK = 0x1d
-- PR_SET_TIMING = 0xe
-- PR_SET_TSC = 0x1a
-- PR_SET_UNALIGN = 0x6
-- PR_TASK_PERF_EVENTS_DISABLE = 0x1f
-- PR_TASK_PERF_EVENTS_ENABLE = 0x20
-- PR_TIMING_STATISTICAL = 0x0
-- PR_TIMING_TIMESTAMP = 0x1
-- PR_TSC_ENABLE = 0x1
-- PR_TSC_SIGSEGV = 0x2
-- PR_UNALIGN_NOPRINT = 0x1
-- PR_UNALIGN_SIGBUS = 0x2
-- PTRACE_ATTACH = 0x10
-- PTRACE_CONT = 0x7
-- PTRACE_DETACH = 0x11
-- PTRACE_EVENT_CLONE = 0x3
-- PTRACE_EVENT_EXEC = 0x4
-- PTRACE_EVENT_EXIT = 0x6
-- PTRACE_EVENT_FORK = 0x1
-- PTRACE_EVENT_SECCOMP = 0x7
-- PTRACE_EVENT_STOP = 0x80
-- PTRACE_EVENT_VFORK = 0x2
-- PTRACE_EVENT_VFORK_DONE = 0x5
-- PTRACE_GETEVENTMSG = 0x4201
-+ PERF_EVENT_IOC_DISABLE = 0x20002401
-+ PERF_EVENT_IOC_ENABLE = 0x20002400
-+ PERF_EVENT_IOC_ID = 0x40082407
-+ PERF_EVENT_IOC_MODIFY_ATTRIBUTES = 0x8008240b
-+ PERF_EVENT_IOC_PAUSE_OUTPUT = 0x80042409
-+ PERF_EVENT_IOC_PERIOD = 0x80082404
-+ PERF_EVENT_IOC_QUERY_BPF = 0xc008240a
-+ PERF_EVENT_IOC_REFRESH = 0x20002402
-+ PERF_EVENT_IOC_RESET = 0x20002403
-+ PERF_EVENT_IOC_SET_BPF = 0x80042408
-+ PERF_EVENT_IOC_SET_FILTER = 0x80082406
-+ PERF_EVENT_IOC_SET_OUTPUT = 0x20002405
-+ PPPIOCATTACH = 0x8004743d
-+ PPPIOCATTCHAN = 0x80047438
-+ PPPIOCCONNECT = 0x8004743a
-+ PPPIOCDETACH = 0x8004743c
-+ PPPIOCDISCONN = 0x20007439
-+ PPPIOCGASYNCMAP = 0x40047458
-+ PPPIOCGCHAN = 0x40047437
-+ PPPIOCGDEBUG = 0x40047441
-+ PPPIOCGFLAGS = 0x4004745a
-+ PPPIOCGIDLE = 0x4010743f
-+ PPPIOCGIDLE32 = 0x4008743f
-+ PPPIOCGIDLE64 = 0x4010743f
-+ PPPIOCGL2TPSTATS = 0x40487436
-+ PPPIOCGMRU = 0x40047453
-+ PPPIOCGRASYNCMAP = 0x40047455
-+ PPPIOCGUNIT = 0x40047456
-+ PPPIOCGXASYNCMAP = 0x40207450
-+ PPPIOCSACTIVE = 0x80107446
-+ PPPIOCSASYNCMAP = 0x80047457
-+ PPPIOCSCOMPRESS = 0x8010744d
-+ PPPIOCSDEBUG = 0x80047440
-+ PPPIOCSFLAGS = 0x80047459
-+ PPPIOCSMAXCID = 0x80047451
-+ PPPIOCSMRRU = 0x8004743b
-+ PPPIOCSMRU = 0x80047452
-+ PPPIOCSNPMODE = 0x8008744b
-+ PPPIOCSPASS = 0x80107447
-+ PPPIOCSRASYNCMAP = 0x80047454
-+ PPPIOCSXASYNCMAP = 0x8020744f
-+ PPPIOCXFERUNIT = 0x2000744e
-+ PR_SET_PTRACER_ANY = 0xffffffffffffffff
- PTRACE_GETFPAREGS = 0x14
- PTRACE_GETFPREGS = 0xe
- PTRACE_GETFPREGS64 = 0x19
-- PTRACE_GETREGS = 0xc
- PTRACE_GETREGS64 = 0x16
-- PTRACE_GETREGSET = 0x4204
-- PTRACE_GETSIGINFO = 0x4202
-- PTRACE_GETSIGMASK = 0x420a
-- PTRACE_INTERRUPT = 0x4207
-- PTRACE_KILL = 0x8
-- PTRACE_LISTEN = 0x4208
-- PTRACE_O_EXITKILL = 0x100000
-- PTRACE_O_MASK = 0x3000ff
-- PTRACE_O_SUSPEND_SECCOMP = 0x200000
-- PTRACE_O_TRACECLONE = 0x8
-- PTRACE_O_TRACEEXEC = 0x10
-- PTRACE_O_TRACEEXIT = 0x40
-- PTRACE_O_TRACEFORK = 0x2
-- PTRACE_O_TRACESECCOMP = 0x80
-- PTRACE_O_TRACESYSGOOD = 0x1
-- PTRACE_O_TRACEVFORK = 0x4
-- PTRACE_O_TRACEVFORKDONE = 0x20
-- PTRACE_PEEKDATA = 0x2
-- PTRACE_PEEKSIGINFO = 0x4209
-- PTRACE_PEEKSIGINFO_SHARED = 0x1
-- PTRACE_PEEKTEXT = 0x1
-- PTRACE_PEEKUSR = 0x3
-- PTRACE_POKEDATA = 0x5
-- PTRACE_POKETEXT = 0x4
-- PTRACE_POKEUSR = 0x6
- PTRACE_READDATA = 0x10
- PTRACE_READTEXT = 0x12
-- PTRACE_SECCOMP_GET_FILTER = 0x420c
-- PTRACE_SEIZE = 0x4206
- PTRACE_SETFPAREGS = 0x15
- PTRACE_SETFPREGS = 0xf
- PTRACE_SETFPREGS64 = 0x1a
-- PTRACE_SETOPTIONS = 0x4200
-- PTRACE_SETREGS = 0xd
- PTRACE_SETREGS64 = 0x17
-- PTRACE_SETREGSET = 0x4205
-- PTRACE_SETSIGINFO = 0x4203
-- PTRACE_SETSIGMASK = 0x420b
-- PTRACE_SINGLESTEP = 0x9
- PTRACE_SPARC_DETACH = 0xb
-- PTRACE_SYSCALL = 0x18
-- PTRACE_TRACEME = 0x0
- PTRACE_WRITEDATA = 0x11
- PTRACE_WRITETEXT = 0x13
- PT_FP = 0x48
-@@ -1202,329 +255,98 @@ const (
- PT_WIM = 0x10
- PT_Y = 0xc
- RLIMIT_AS = 0x9
-- RLIMIT_CORE = 0x4
-- RLIMIT_CPU = 0x0
-- RLIMIT_DATA = 0x2
-- RLIMIT_FSIZE = 0x1
-+ RLIMIT_MEMLOCK = 0x8
- RLIMIT_NOFILE = 0x6
-- RLIMIT_STACK = 0x3
-- RLIM_INFINITY = -0x1
-- RTAX_ADVMSS = 0x8
-- RTAX_CC_ALGO = 0x10
-- RTAX_CWND = 0x7
-- RTAX_FEATURES = 0xc
-- RTAX_FEATURE_ALLFRAG = 0x8
-- RTAX_FEATURE_ECN = 0x1
-- RTAX_FEATURE_MASK = 0xf
-- RTAX_FEATURE_SACK = 0x2
-- RTAX_FEATURE_TIMESTAMP = 0x4
-- RTAX_HOPLIMIT = 0xa
-- RTAX_INITCWND = 0xb
-- RTAX_INITRWND = 0xe
-- RTAX_LOCK = 0x1
-- RTAX_MAX = 0x10
-- RTAX_MTU = 0x2
-- RTAX_QUICKACK = 0xf
-- RTAX_REORDERING = 0x9
-- RTAX_RTO_MIN = 0xd
-- RTAX_RTT = 0x4
-- RTAX_RTTVAR = 0x5
-- RTAX_SSTHRESH = 0x6
-- RTAX_UNSPEC = 0x0
-- RTAX_WINDOW = 0x3
-- RTA_ALIGNTO = 0x4
-- RTA_MAX = 0x18
-- RTCF_DIRECTSRC = 0x4000000
-- RTCF_DOREDIRECT = 0x1000000
-- RTCF_LOG = 0x2000000
-- RTCF_MASQ = 0x400000
-- RTCF_NAT = 0x800000
-- RTCF_VALVE = 0x200000
-- RTF_ADDRCLASSMASK = 0xf8000000
-- RTF_ADDRCONF = 0x40000
-- RTF_ALLONLINK = 0x20000
-- RTF_BROADCAST = 0x10000000
-- RTF_CACHE = 0x1000000
-- RTF_DEFAULT = 0x10000
-- RTF_DYNAMIC = 0x10
-- RTF_FLOW = 0x2000000
-- RTF_GATEWAY = 0x2
-- RTF_HOST = 0x4
-- RTF_INTERFACE = 0x40000000
-- RTF_IRTT = 0x100
-- RTF_LINKRT = 0x100000
-- RTF_LOCAL = 0x80000000
-- RTF_MODIFIED = 0x20
-- RTF_MSS = 0x40
-- RTF_MTU = 0x40
-- RTF_MULTICAST = 0x20000000
-- RTF_NAT = 0x8000000
-- RTF_NOFORWARD = 0x1000
-- RTF_NONEXTHOP = 0x200000
-- RTF_NOPMTUDISC = 0x4000
-- RTF_POLICY = 0x4000000
-- RTF_REINSTATE = 0x8
-- RTF_REJECT = 0x200
-- RTF_STATIC = 0x400
-- RTF_THROW = 0x2000
-- RTF_UP = 0x1
-- RTF_WINDOW = 0x80
-- RTF_XRESOLVE = 0x800
-- RTM_BASE = 0x10
-- RTM_DELACTION = 0x31
-- RTM_DELADDR = 0x15
-- RTM_DELADDRLABEL = 0x49
-- RTM_DELLINK = 0x11
-- RTM_DELMDB = 0x55
-- RTM_DELNEIGH = 0x1d
-- RTM_DELNSID = 0x59
-- RTM_DELQDISC = 0x25
-- RTM_DELROUTE = 0x19
-- RTM_DELRULE = 0x21
-- RTM_DELTCLASS = 0x29
-- RTM_DELTFILTER = 0x2d
-- RTM_F_CLONED = 0x200
-- RTM_F_EQUALIZE = 0x400
-- RTM_F_LOOKUP_TABLE = 0x1000
-- RTM_F_NOTIFY = 0x100
-- RTM_F_PREFIX = 0x800
-- RTM_GETACTION = 0x32
-- RTM_GETADDR = 0x16
-- RTM_GETADDRLABEL = 0x4a
-- RTM_GETANYCAST = 0x3e
-- RTM_GETDCB = 0x4e
-- RTM_GETLINK = 0x12
-- RTM_GETMDB = 0x56
-- RTM_GETMULTICAST = 0x3a
-- RTM_GETNEIGH = 0x1e
-- RTM_GETNEIGHTBL = 0x42
-- RTM_GETNETCONF = 0x52
-- RTM_GETNSID = 0x5a
-- RTM_GETQDISC = 0x26
-- RTM_GETROUTE = 0x1a
-- RTM_GETRULE = 0x22
-- RTM_GETSTATS = 0x5e
-- RTM_GETTCLASS = 0x2a
-- RTM_GETTFILTER = 0x2e
-- RTM_MAX = 0x5f
-- RTM_NEWACTION = 0x30
-- RTM_NEWADDR = 0x14
-- RTM_NEWADDRLABEL = 0x48
-- RTM_NEWLINK = 0x10
-- RTM_NEWMDB = 0x54
-- RTM_NEWNDUSEROPT = 0x44
-- RTM_NEWNEIGH = 0x1c
-- RTM_NEWNEIGHTBL = 0x40
-- RTM_NEWNETCONF = 0x50
-- RTM_NEWNSID = 0x58
-- RTM_NEWPREFIX = 0x34
-- RTM_NEWQDISC = 0x24
-- RTM_NEWROUTE = 0x18
-- RTM_NEWRULE = 0x20
-- RTM_NEWSTATS = 0x5c
-- RTM_NEWTCLASS = 0x28
-- RTM_NEWTFILTER = 0x2c
-- RTM_NR_FAMILIES = 0x14
-- RTM_NR_MSGTYPES = 0x50
-- RTM_SETDCB = 0x4f
-- RTM_SETLINK = 0x13
-- RTM_SETNEIGHTBL = 0x43
-- RTNH_ALIGNTO = 0x4
-- RTNH_COMPARE_MASK = 0x11
-- RTNH_F_DEAD = 0x1
-- RTNH_F_LINKDOWN = 0x10
-- RTNH_F_OFFLOAD = 0x8
-- RTNH_F_ONLINK = 0x4
-- RTNH_F_PERVASIVE = 0x2
-- RTN_MAX = 0xb
-- RTPROT_BABEL = 0x2a
-- RTPROT_BIRD = 0xc
-- RTPROT_BOOT = 0x3
-- RTPROT_DHCP = 0x10
-- RTPROT_DNROUTED = 0xd
-- RTPROT_GATED = 0x8
-- RTPROT_KERNEL = 0x2
-- RTPROT_MROUTED = 0x11
-- RTPROT_MRT = 0xa
-- RTPROT_NTK = 0xf
-- RTPROT_RA = 0x9
-- RTPROT_REDIRECT = 0x1
-- RTPROT_STATIC = 0x4
-- RTPROT_UNSPEC = 0x0
-- RTPROT_XORP = 0xe
-- RTPROT_ZEBRA = 0xb
-- RT_CLASS_DEFAULT = 0xfd
-- RT_CLASS_LOCAL = 0xff
-- RT_CLASS_MAIN = 0xfe
-- RT_CLASS_MAX = 0xff
-- RT_CLASS_UNSPEC = 0x0
-- RUSAGE_CHILDREN = -0x1
-- RUSAGE_SELF = 0x0
-- RUSAGE_THREAD = 0x1
-- SCM_CREDENTIALS = 0x2
-- SCM_RIGHTS = 0x1
-- SCM_TIMESTAMP = 0x1d
-+ RLIMIT_NPROC = 0x7
-+ RLIMIT_RSS = 0x5
-+ RNDADDENTROPY = 0x80085203
-+ RNDADDTOENTCNT = 0x80045201
-+ RNDCLEARPOOL = 0x20005206
-+ RNDGETENTCNT = 0x40045200
-+ RNDGETPOOL = 0x40085202
-+ RNDRESEEDCRNG = 0x20005207
-+ RNDZAPENTCNT = 0x20005204
-+ RTC_AIE_OFF = 0x20007002
-+ RTC_AIE_ON = 0x20007001
-+ RTC_ALM_READ = 0x40247008
-+ RTC_ALM_SET = 0x80247007
-+ RTC_EPOCH_READ = 0x4008700d
-+ RTC_EPOCH_SET = 0x8008700e
-+ RTC_IRQP_READ = 0x4008700b
-+ RTC_IRQP_SET = 0x8008700c
-+ RTC_PIE_OFF = 0x20007006
-+ RTC_PIE_ON = 0x20007005
-+ RTC_PLL_GET = 0x40207011
-+ RTC_PLL_SET = 0x80207012
-+ RTC_RD_TIME = 0x40247009
-+ RTC_SET_TIME = 0x8024700a
-+ RTC_UIE_OFF = 0x20007004
-+ RTC_UIE_ON = 0x20007003
-+ RTC_VL_CLR = 0x20007014
-+ RTC_VL_READ = 0x40047013
-+ RTC_WIE_OFF = 0x20007010
-+ RTC_WIE_ON = 0x2000700f
-+ RTC_WKALM_RD = 0x40287010
-+ RTC_WKALM_SET = 0x8028700f
- SCM_TIMESTAMPING = 0x23
-+ SCM_TIMESTAMPING_OPT_STATS = 0x38
-+ SCM_TIMESTAMPING_PKTINFO = 0x3c
- SCM_TIMESTAMPNS = 0x21
-+ SCM_TXTIME = 0x3f
- SCM_WIFI_STATUS = 0x25
-- SHUT_RD = 0x0
-- SHUT_RDWR = 0x2
-- SHUT_WR = 0x1
-- SIOCADDDLCI = 0x8980
-- SIOCADDMULTI = 0x8931
-- SIOCADDRT = 0x890b
-+ SFD_CLOEXEC = 0x400000
-+ SFD_NONBLOCK = 0x4000
- SIOCATMARK = 0x8905
-- SIOCBONDCHANGEACTIVE = 0x8995
-- SIOCBONDENSLAVE = 0x8990
-- SIOCBONDINFOQUERY = 0x8994
-- SIOCBONDRELEASE = 0x8991
-- SIOCBONDSETHWADDR = 0x8992
-- SIOCBONDSLAVEINFOQUERY = 0x8993
-- SIOCBRADDBR = 0x89a0
-- SIOCBRADDIF = 0x89a2
-- SIOCBRDELBR = 0x89a1
-- SIOCBRDELIF = 0x89a3
-- SIOCDARP = 0x8953
-- SIOCDELDLCI = 0x8981
-- SIOCDELMULTI = 0x8932
-- SIOCDELRT = 0x890c
-- SIOCDEVPRIVATE = 0x89f0
-- SIOCDIFADDR = 0x8936
-- SIOCDRARP = 0x8960
-- SIOCETHTOOL = 0x8946
-- SIOCGARP = 0x8954
-- SIOCGHWTSTAMP = 0x89b1
-- SIOCGIFADDR = 0x8915
-- SIOCGIFBR = 0x8940
-- SIOCGIFBRDADDR = 0x8919
-- SIOCGIFCONF = 0x8912
-- SIOCGIFCOUNT = 0x8938
-- SIOCGIFDSTADDR = 0x8917
-- SIOCGIFENCAP = 0x8925
-- SIOCGIFFLAGS = 0x8913
-- SIOCGIFHWADDR = 0x8927
-- SIOCGIFINDEX = 0x8933
-- SIOCGIFMAP = 0x8970
-- SIOCGIFMEM = 0x891f
-- SIOCGIFMETRIC = 0x891d
-- SIOCGIFMTU = 0x8921
-- SIOCGIFNAME = 0x8910
-- SIOCGIFNETMASK = 0x891b
-- SIOCGIFPFLAGS = 0x8935
-- SIOCGIFSLAVE = 0x8929
-- SIOCGIFTXQLEN = 0x8942
-- SIOCGIFVLAN = 0x8982
-- SIOCGMIIPHY = 0x8947
-- SIOCGMIIREG = 0x8948
- SIOCGPGRP = 0x8904
-- SIOCGRARP = 0x8961
-- SIOCGSTAMP = 0x8906
-- SIOCGSTAMPNS = 0x8907
-+ SIOCGSTAMPNS_NEW = 0x40108907
-+ SIOCGSTAMP_NEW = 0x40108906
- SIOCINQ = 0x4004667f
- SIOCOUTQ = 0x40047473
-- SIOCOUTQNSD = 0x894b
-- SIOCPROTOPRIVATE = 0x89e0
-- SIOCRTMSG = 0x890d
-- SIOCSARP = 0x8955
-- SIOCSHWTSTAMP = 0x89b0
-- SIOCSIFADDR = 0x8916
-- SIOCSIFBR = 0x8941
-- SIOCSIFBRDADDR = 0x891a
-- SIOCSIFDSTADDR = 0x8918
-- SIOCSIFENCAP = 0x8926
-- SIOCSIFFLAGS = 0x8914
-- SIOCSIFHWADDR = 0x8924
-- SIOCSIFHWBROADCAST = 0x8937
-- SIOCSIFLINK = 0x8911
-- SIOCSIFMAP = 0x8971
-- SIOCSIFMEM = 0x8920
-- SIOCSIFMETRIC = 0x891e
-- SIOCSIFMTU = 0x8922
-- SIOCSIFNAME = 0x8923
-- SIOCSIFNETMASK = 0x891c
-- SIOCSIFPFLAGS = 0x8934
-- SIOCSIFSLAVE = 0x8930
-- SIOCSIFTXQLEN = 0x8943
-- SIOCSIFVLAN = 0x8983
-- SIOCSMIIREG = 0x8949
- SIOCSPGRP = 0x8902
-- SIOCSRARP = 0x8962
-- SIOCWANDEV = 0x894a
- SOCK_CLOEXEC = 0x400000
-- SOCK_DCCP = 0x6
- SOCK_DGRAM = 0x2
- SOCK_NONBLOCK = 0x4000
-- SOCK_PACKET = 0xa
-- SOCK_RAW = 0x3
-- SOCK_RDM = 0x4
-- SOCK_SEQPACKET = 0x5
- SOCK_STREAM = 0x1
-- SOL_AAL = 0x109
-- SOL_ALG = 0x117
-- SOL_ATM = 0x108
-- SOL_CAIF = 0x116
-- SOL_DCCP = 0x10d
-- SOL_DECNET = 0x105
-- SOL_ICMPV6 = 0x3a
-- SOL_IP = 0x0
-- SOL_IPV6 = 0x29
-- SOL_IRDA = 0x10a
-- SOL_IUCV = 0x115
-- SOL_KCM = 0x119
-- SOL_LLC = 0x10c
-- SOL_NETBEUI = 0x10b
-- SOL_NETLINK = 0x10e
-- SOL_NFC = 0x118
-- SOL_PACKET = 0x107
-- SOL_PNPIPE = 0x113
-- SOL_PPPOL2TP = 0x111
-- SOL_RAW = 0xff
-- SOL_RDS = 0x114
-- SOL_RXRPC = 0x110
- SOL_SOCKET = 0xffff
-- SOL_TCP = 0x6
-- SOL_TIPC = 0x10f
-- SOL_X25 = 0x106
-- SOMAXCONN = 0x80
- SO_ACCEPTCONN = 0x8000
- SO_ATTACH_BPF = 0x34
-- SO_ATTACH_FILTER = 0x1a
- SO_ATTACH_REUSEPORT_CBPF = 0x35
- SO_ATTACH_REUSEPORT_EBPF = 0x36
- SO_BINDTODEVICE = 0xd
-+ SO_BINDTOIFINDEX = 0x41
- SO_BPF_EXTENSIONS = 0x32
- SO_BROADCAST = 0x20
- SO_BSDCOMPAT = 0x400
- SO_BUSY_POLL = 0x30
- SO_CNX_ADVICE = 0x37
-- SO_DEBUG = 0x1
-- SO_DETACH_BPF = 0x1b
-- SO_DETACH_FILTER = 0x1b
-+ SO_COOKIE = 0x3b
-+ SO_DETACH_REUSEPORT_BPF = 0x47
- SO_DOMAIN = 0x1029
- SO_DONTROUTE = 0x10
- SO_ERROR = 0x1007
-- SO_GET_FILTER = 0x1a
- SO_INCOMING_CPU = 0x33
-+ SO_INCOMING_NAPI_ID = 0x3a
- SO_KEEPALIVE = 0x8
- SO_LINGER = 0x80
- SO_LOCK_FILTER = 0x28
- SO_MARK = 0x22
- SO_MAX_PACING_RATE = 0x31
-+ SO_MEMINFO = 0x39
- SO_NOFCS = 0x27
-- SO_NO_CHECK = 0xb
- SO_OOBINLINE = 0x100
- SO_PASSCRED = 0x2
- SO_PASSSEC = 0x1f
- SO_PEEK_OFF = 0x26
- SO_PEERCRED = 0x40
-- SO_PEERNAME = 0x1c
-+ SO_PEERGROUPS = 0x3d
- SO_PEERSEC = 0x1e
-- SO_PRIORITY = 0xc
- SO_PROTOCOL = 0x1028
- SO_RCVBUF = 0x1002
- SO_RCVBUFFORCE = 0x100b
- SO_RCVLOWAT = 0x800
- SO_RCVTIMEO = 0x2000
-+ SO_RCVTIMEO_NEW = 0x44
-+ SO_RCVTIMEO_OLD = 0x2000
- SO_REUSEADDR = 0x4
- SO_REUSEPORT = 0x200
- SO_RXQ_OVFL = 0x24
-@@ -1536,50 +358,19 @@ const (
- SO_SNDBUFFORCE = 0x100a
- SO_SNDLOWAT = 0x1000
- SO_SNDTIMEO = 0x4000
-- SO_TIMESTAMP = 0x1d
-+ SO_SNDTIMEO_NEW = 0x45
-+ SO_SNDTIMEO_OLD = 0x4000
- SO_TIMESTAMPING = 0x23
-+ SO_TIMESTAMPING_NEW = 0x43
-+ SO_TIMESTAMPING_OLD = 0x23
- SO_TIMESTAMPNS = 0x21
-+ SO_TIMESTAMPNS_NEW = 0x42
-+ SO_TIMESTAMPNS_OLD = 0x21
-+ SO_TIMESTAMP_NEW = 0x46
-+ SO_TXTIME = 0x3f
- SO_TYPE = 0x1008
-- SO_VM_SOCKETS_BUFFER_MAX_SIZE = 0x2
-- SO_VM_SOCKETS_BUFFER_MIN_SIZE = 0x1
-- SO_VM_SOCKETS_BUFFER_SIZE = 0x0
-- SO_VM_SOCKETS_CONNECT_TIMEOUT = 0x6
-- SO_VM_SOCKETS_NONBLOCK_TXRX = 0x7
-- SO_VM_SOCKETS_PEER_HOST_VM_ID = 0x3
-- SO_VM_SOCKETS_TRUSTED = 0x5
- SO_WIFI_STATUS = 0x25
-- SPLICE_F_GIFT = 0x8
-- SPLICE_F_MORE = 0x4
-- SPLICE_F_MOVE = 0x1
-- SPLICE_F_NONBLOCK = 0x2
-- S_BLKSIZE = 0x200
-- S_IEXEC = 0x40
-- S_IFBLK = 0x6000
-- S_IFCHR = 0x2000
-- S_IFDIR = 0x4000
-- S_IFIFO = 0x1000
-- S_IFLNK = 0xa000
-- S_IFMT = 0xf000
-- S_IFREG = 0x8000
-- S_IFSOCK = 0xc000
-- S_IREAD = 0x100
-- S_IRGRP = 0x20
-- S_IROTH = 0x4
-- S_IRUSR = 0x100
-- S_IRWXG = 0x38
-- S_IRWXO = 0x7
-- S_IRWXU = 0x1c0
-- S_ISGID = 0x400
-- S_ISUID = 0x800
-- S_ISVTX = 0x200
-- S_IWGRP = 0x10
-- S_IWOTH = 0x2
-- S_IWRITE = 0x80
-- S_IWUSR = 0x80
-- S_IXGRP = 0x8
-- S_IXOTH = 0x1
-- S_IXUSR = 0x40
-- TAB0 = 0x0
-+ SO_ZEROCOPY = 0x3e
- TAB1 = 0x800
- TAB2 = 0x1000
- TAB3 = 0x1800
-@@ -1588,54 +379,6 @@ const (
- TCGETA = 0x40125401
- TCGETS = 0x40245408
- TCGETS2 = 0x402c540c
-- TCIFLUSH = 0x0
-- TCIOFF = 0x2
-- TCIOFLUSH = 0x2
-- TCION = 0x3
-- TCOFLUSH = 0x1
-- TCOOFF = 0x0
-- TCOON = 0x1
-- TCP_CC_INFO = 0x1a
-- TCP_CONGESTION = 0xd
-- TCP_COOKIE_IN_ALWAYS = 0x1
-- TCP_COOKIE_MAX = 0x10
-- TCP_COOKIE_MIN = 0x8
-- TCP_COOKIE_OUT_NEVER = 0x2
-- TCP_COOKIE_PAIR_SIZE = 0x20
-- TCP_COOKIE_TRANSACTIONS = 0xf
-- TCP_CORK = 0x3
-- TCP_DEFER_ACCEPT = 0x9
-- TCP_FASTOPEN = 0x17
-- TCP_INFO = 0xb
-- TCP_KEEPCNT = 0x6
-- TCP_KEEPIDLE = 0x4
-- TCP_KEEPINTVL = 0x5
-- TCP_LINGER2 = 0x8
-- TCP_MAXSEG = 0x2
-- TCP_MAXWIN = 0xffff
-- TCP_MAX_WINSHIFT = 0xe
-- TCP_MD5SIG = 0xe
-- TCP_MD5SIG_MAXKEYLEN = 0x50
-- TCP_MSS = 0x200
-- TCP_MSS_DEFAULT = 0x218
-- TCP_MSS_DESIRED = 0x4c4
-- TCP_NODELAY = 0x1
-- TCP_NOTSENT_LOWAT = 0x19
-- TCP_QUEUE_SEQ = 0x15
-- TCP_QUICKACK = 0xc
-- TCP_REPAIR = 0x13
-- TCP_REPAIR_OPTIONS = 0x16
-- TCP_REPAIR_QUEUE = 0x14
-- TCP_SAVED_SYN = 0x1c
-- TCP_SAVE_SYN = 0x1b
-- TCP_SYNCNT = 0x7
-- TCP_S_DATA_IN = 0x4
-- TCP_S_DATA_OUT = 0x8
-- TCP_THIN_DUPACK = 0x11
-- TCP_THIN_LINEAR_TIMEOUTS = 0x10
-- TCP_TIMESTAMP = 0x18
-- TCP_USER_TIMEOUT = 0x12
-- TCP_WINDOW_CLAMP = 0xa
- TCSAFLUSH = 0x2
- TCSBRK = 0x20005405
- TCSBRKP = 0x5425
-@@ -1656,11 +399,13 @@ const (
- TIOCGETD = 0x40047400
- TIOCGEXCL = 0x40045440
- TIOCGICOUNT = 0x545d
-+ TIOCGISO7816 = 0x40285443
- TIOCGLCKTRMIOS = 0x5456
- TIOCGPGRP = 0x40047483
- TIOCGPKT = 0x40045438
- TIOCGPTLCK = 0x40045439
- TIOCGPTN = 0x40047486
-+ TIOCGPTPEER = 0x20007489
- TIOCGRS485 = 0x40205441
- TIOCGSERIAL = 0x541e
- TIOCGSID = 0x40047485
-@@ -1677,28 +422,14 @@ const (
- TIOCM_CD = 0x40
- TIOCM_CTS = 0x20
- TIOCM_DSR = 0x100
-- TIOCM_DTR = 0x2
-- TIOCM_LE = 0x1
-- TIOCM_LOOP = 0x8000
-- TIOCM_OUT1 = 0x2000
-- TIOCM_OUT2 = 0x4000
- TIOCM_RI = 0x80
- TIOCM_RNG = 0x80
-- TIOCM_RTS = 0x4
- TIOCM_SR = 0x10
- TIOCM_ST = 0x8
- TIOCNOTTY = 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
- TIOCSBRK = 0x2000747b
- TIOCSCTTY = 0x20007484
- TIOCSERCONFIG = 0x5453
-@@ -1708,9 +439,9 @@ const (
- TIOCSERGWILD = 0x5454
- TIOCSERSETMULTI = 0x545b
- TIOCSERSWILD = 0x5455
-- TIOCSER_TEMT = 0x1
- TIOCSETD = 0x80047401
- TIOCSIG = 0x80047488
-+ TIOCSISO7816 = 0xc0285444
- TIOCSLCKTRMIOS = 0x5457
- TIOCSPGRP = 0x80047482
- TIOCSPTLCK = 0x80047487
-@@ -1725,6 +456,7 @@ const (
- TOSTOP = 0x100
- TUNATTACHFILTER = 0x801054d5
- TUNDETACHFILTER = 0x801054d6
-+ TUNGETDEVNETNS = 0x200054e3
- TUNGETFEATURES = 0x400454cf
- TUNGETFILTER = 0x401054db
- TUNGETIFF = 0x400454d2
-@@ -1732,7 +464,9 @@ const (
- TUNGETVNETBE = 0x400454df
- TUNGETVNETHDRSZ = 0x400454d7
- TUNGETVNETLE = 0x400454dd
-+ TUNSETCARRIER = 0x800454e2
- TUNSETDEBUG = 0x800454c9
-+ TUNSETFILTEREBPF = 0x400454e1
- TUNSETGROUP = 0x800454ce
- TUNSETIFF = 0x800454ca
- TUNSETIFINDEX = 0x800454da
-@@ -1743,47 +477,52 @@ const (
- TUNSETPERSIST = 0x800454cb
- TUNSETQUEUE = 0x800454d9
- TUNSETSNDBUF = 0x800454d4
-+ TUNSETSTEERINGEBPF = 0x400454e0
- TUNSETTXFILTER = 0x800454d1
- TUNSETVNETBE = 0x800454de
- TUNSETVNETHDRSZ = 0x800454d8
- TUNSETVNETLE = 0x800454dc
-+ UBI_IOCATT = 0x80186f40
-+ UBI_IOCDET = 0x80046f41
-+ UBI_IOCEBCH = 0x80044f02
-+ UBI_IOCEBER = 0x80044f01
-+ UBI_IOCEBISMAP = 0x40044f05
-+ UBI_IOCEBMAP = 0x80084f03
-+ UBI_IOCEBUNMAP = 0x80044f04
-+ UBI_IOCMKVOL = 0x80986f00
-+ UBI_IOCRMVOL = 0x80046f01
-+ UBI_IOCRNVOL = 0x91106f03
-+ UBI_IOCRPEB = 0x80046f04
-+ UBI_IOCRSVOL = 0x800c6f02
-+ UBI_IOCSETVOLPROP = 0x80104f06
-+ UBI_IOCSPEB = 0x80046f05
-+ UBI_IOCVOLCRBLK = 0x80804f07
-+ UBI_IOCVOLRMBLK = 0x20004f08
-+ UBI_IOCVOLUP = 0x80084f00
- VDISCARD = 0xd
-- VDSUSP = 0xb
- VEOF = 0x4
-- VEOL = 0x5
-- VEOL2 = 0x6
-- VERASE = 0x2
-- VINTR = 0x0
-- VKILL = 0x3
-- VLNEXT = 0xf
-- VMADDR_CID_ANY = 0xffffffff
-- VMADDR_CID_HOST = 0x2
-- VMADDR_CID_HYPERVISOR = 0x0
-- VMADDR_CID_RESERVED = 0x1
-- VMADDR_PORT_ANY = 0xffffffff
-- VMIN = 0x4
-- VQUIT = 0x1
-+ VEOL = 0xb
-+ VEOL2 = 0x10
-+ VMIN = 0x6
- VREPRINT = 0xc
- VSTART = 0x8
- VSTOP = 0x9
- VSUSP = 0xa
- VSWTC = 0x7
-- VT0 = 0x0
- VT1 = 0x4000
- VTDLY = 0x4000
- VTIME = 0x5
- VWERASE = 0xe
-- WALL = 0x40000000
-- WCLONE = 0x80000000
-- WCONTINUED = 0x8
-- WEXITED = 0x4
-- WNOHANG = 0x1
-- WNOTHREAD = 0x20000000
-- WNOWAIT = 0x1000000
-+ WDIOC_GETBOOTSTATUS = 0x40045702
-+ WDIOC_GETPRETIMEOUT = 0x40045709
-+ WDIOC_GETSTATUS = 0x40045701
-+ WDIOC_GETSUPPORT = 0x40285700
-+ WDIOC_GETTEMP = 0x40045703
-+ WDIOC_GETTIMELEFT = 0x4004570a
-+ WDIOC_GETTIMEOUT = 0x40045707
-+ WDIOC_KEEPALIVE = 0x40045705
-+ WDIOC_SETOPTIONS = 0x40045704
- WORDSIZE = 0x40
-- WRAP = 0x20000
-- WSTOPPED = 0x2
-- WUNTRACED = 0x2
- XCASE = 0x4
- XTABS = 0x1800
- __TIOCFLUSH = 0x80047410
-@@ -1791,25 +530,19 @@ const (
-
- // Errors
- const (
-- E2BIG = syscall.Errno(0x7)
-- EACCES = syscall.Errno(0xd)
- EADDRINUSE = syscall.Errno(0x30)
- EADDRNOTAVAIL = syscall.Errno(0x31)
- EADV = syscall.Errno(0x53)
- EAFNOSUPPORT = syscall.Errno(0x2f)
-- EAGAIN = syscall.Errno(0xb)
- EALREADY = syscall.Errno(0x25)
- EBADE = syscall.Errno(0x66)
-- EBADF = syscall.Errno(0x9)
- EBADFD = syscall.Errno(0x5d)
- EBADMSG = syscall.Errno(0x4c)
- EBADR = syscall.Errno(0x67)
- EBADRQC = syscall.Errno(0x6a)
- EBADSLT = syscall.Errno(0x6b)
- EBFONT = syscall.Errno(0x6d)
-- EBUSY = syscall.Errno(0x10)
- ECANCELED = syscall.Errno(0x7f)
-- ECHILD = syscall.Errno(0xa)
- ECHRNG = syscall.Errno(0x5e)
- ECOMM = syscall.Errno(0x55)
- ECONNABORTED = syscall.Errno(0x35)
-@@ -1818,23 +551,15 @@ const (
- EDEADLK = syscall.Errno(0x4e)
- EDEADLOCK = syscall.Errno(0x6c)
- EDESTADDRREQ = syscall.Errno(0x27)
-- EDOM = syscall.Errno(0x21)
- EDOTDOT = syscall.Errno(0x58)
- EDQUOT = syscall.Errno(0x45)
-- EEXIST = syscall.Errno(0x11)
-- EFAULT = syscall.Errno(0xe)
-- EFBIG = syscall.Errno(0x1b)
- EHOSTDOWN = syscall.Errno(0x40)
- EHOSTUNREACH = syscall.Errno(0x41)
- EHWPOISON = syscall.Errno(0x87)
- EIDRM = syscall.Errno(0x4d)
- EILSEQ = syscall.Errno(0x7a)
- EINPROGRESS = syscall.Errno(0x24)
-- EINTR = syscall.Errno(0x4)
-- EINVAL = syscall.Errno(0x16)
-- EIO = syscall.Errno(0x5)
- EISCONN = syscall.Errno(0x38)
-- EISDIR = syscall.Errno(0x15)
- EISNAM = syscall.Errno(0x78)
- EKEYEXPIRED = syscall.Errno(0x81)
- EKEYREJECTED = syscall.Errno(0x83)
-@@ -1851,8 +576,6 @@ const (
- ELNRNG = syscall.Errno(0x62)
- ELOOP = syscall.Errno(0x3e)
- EMEDIUMTYPE = syscall.Errno(0x7e)
-- EMFILE = syscall.Errno(0x18)
-- EMLINK = syscall.Errno(0x1f)
- EMSGSIZE = syscall.Errno(0x28)
- EMULTIHOP = syscall.Errno(0x57)
- ENAMETOOLONG = syscall.Errno(0x3f)
-@@ -1860,102 +583,70 @@ const (
- ENETDOWN = syscall.Errno(0x32)
- ENETRESET = syscall.Errno(0x34)
- ENETUNREACH = syscall.Errno(0x33)
-- ENFILE = syscall.Errno(0x17)
- ENOANO = syscall.Errno(0x69)
- ENOBUFS = syscall.Errno(0x37)
- ENOCSI = syscall.Errno(0x64)
- ENODATA = syscall.Errno(0x6f)
-- ENODEV = syscall.Errno(0x13)
-- ENOENT = syscall.Errno(0x2)
-- ENOEXEC = syscall.Errno(0x8)
- ENOKEY = syscall.Errno(0x80)
- ENOLCK = syscall.Errno(0x4f)
- ENOLINK = syscall.Errno(0x52)
- ENOMEDIUM = syscall.Errno(0x7d)
-- ENOMEM = syscall.Errno(0xc)
- ENOMSG = syscall.Errno(0x4b)
- ENONET = syscall.Errno(0x50)
- ENOPKG = syscall.Errno(0x71)
- ENOPROTOOPT = syscall.Errno(0x2a)
-- ENOSPC = syscall.Errno(0x1c)
- ENOSR = syscall.Errno(0x4a)
- ENOSTR = syscall.Errno(0x48)
- ENOSYS = syscall.Errno(0x5a)
-- ENOTBLK = syscall.Errno(0xf)
- ENOTCONN = syscall.Errno(0x39)
-- ENOTDIR = syscall.Errno(0x14)
- ENOTEMPTY = syscall.Errno(0x42)
- ENOTNAM = syscall.Errno(0x76)
- ENOTRECOVERABLE = syscall.Errno(0x85)
- ENOTSOCK = syscall.Errno(0x26)
- ENOTSUP = syscall.Errno(0x2d)
-- ENOTTY = syscall.Errno(0x19)
- ENOTUNIQ = syscall.Errno(0x73)
-- ENXIO = syscall.Errno(0x6)
- EOPNOTSUPP = syscall.Errno(0x2d)
- EOVERFLOW = syscall.Errno(0x5c)
- EOWNERDEAD = syscall.Errno(0x84)
-- EPERM = syscall.Errno(0x1)
- EPFNOSUPPORT = syscall.Errno(0x2e)
-- EPIPE = syscall.Errno(0x20)
- EPROCLIM = syscall.Errno(0x43)
- EPROTO = syscall.Errno(0x56)
- EPROTONOSUPPORT = syscall.Errno(0x2b)
- EPROTOTYPE = syscall.Errno(0x29)
-- ERANGE = syscall.Errno(0x22)
- EREMCHG = syscall.Errno(0x59)
- EREMOTE = syscall.Errno(0x47)
- EREMOTEIO = syscall.Errno(0x79)
- ERESTART = syscall.Errno(0x74)
- ERFKILL = syscall.Errno(0x86)
-- EROFS = syscall.Errno(0x1e)
- ERREMOTE = syscall.Errno(0x51)
- ESHUTDOWN = syscall.Errno(0x3a)
- ESOCKTNOSUPPORT = syscall.Errno(0x2c)
-- ESPIPE = syscall.Errno(0x1d)
-- ESRCH = syscall.Errno(0x3)
- ESRMNT = syscall.Errno(0x54)
- ESTALE = syscall.Errno(0x46)
- ESTRPIPE = syscall.Errno(0x5b)
- ETIME = syscall.Errno(0x49)
- ETIMEDOUT = syscall.Errno(0x3c)
- ETOOMANYREFS = syscall.Errno(0x3b)
-- ETXTBSY = syscall.Errno(0x1a)
- EUCLEAN = syscall.Errno(0x75)
- EUNATCH = syscall.Errno(0x63)
- EUSERS = syscall.Errno(0x44)
-- EWOULDBLOCK = syscall.Errno(0xb)
-- EXDEV = syscall.Errno(0x12)
- EXFULL = syscall.Errno(0x68)
- )
-
- // Signals
- const (
-- SIGABRT = syscall.Signal(0x6)
-- SIGALRM = syscall.Signal(0xe)
- SIGBUS = syscall.Signal(0xa)
- SIGCHLD = syscall.Signal(0x14)
- SIGCLD = syscall.Signal(0x14)
- SIGCONT = syscall.Signal(0x13)
- SIGEMT = syscall.Signal(0x7)
-- SIGFPE = syscall.Signal(0x8)
-- SIGHUP = syscall.Signal(0x1)
-- SIGILL = syscall.Signal(0x4)
-- SIGINT = syscall.Signal(0x2)
- SIGIO = syscall.Signal(0x17)
-- SIGIOT = syscall.Signal(0x6)
-- SIGKILL = syscall.Signal(0x9)
- SIGLOST = syscall.Signal(0x1d)
-- SIGPIPE = syscall.Signal(0xd)
- SIGPOLL = syscall.Signal(0x17)
- SIGPROF = syscall.Signal(0x1b)
- SIGPWR = syscall.Signal(0x1d)
-- SIGQUIT = syscall.Signal(0x3)
-- SIGSEGV = syscall.Signal(0xb)
- SIGSTOP = syscall.Signal(0x11)
- SIGSYS = syscall.Signal(0xc)
-- SIGTERM = syscall.Signal(0xf)
-- SIGTRAP = syscall.Signal(0x5)
- SIGTSTP = syscall.Signal(0x12)
- SIGTTIN = syscall.Signal(0x15)
- SIGTTOU = syscall.Signal(0x16)
-@@ -1969,174 +660,182 @@ const (
- )
-
- // Error table
--var errors = [...]string{
-- 1: "operation not permitted",
-- 2: "no such file or directory",
-- 3: "no such process",
-- 4: "interrupted system call",
-- 5: "input/output error",
-- 6: "no such device or address",
-- 7: "argument list too long",
-- 8: "exec format error",
-- 9: "bad file descriptor",
-- 10: "no child processes",
-- 11: "resource temporarily unavailable",
-- 12: "cannot allocate memory",
-- 13: "permission denied",
-- 14: "bad address",
-- 15: "block device required",
-- 16: "device or resource busy",
-- 17: "file exists",
-- 18: "invalid cross-device link",
-- 19: "no such device",
-- 20: "not a directory",
-- 21: "is a directory",
-- 22: "invalid argument",
-- 23: "too many open files in system",
-- 24: "too many open files",
-- 25: "inappropriate ioctl for device",
-- 26: "text file busy",
-- 27: "file too large",
-- 28: "no space left on device",
-- 29: "illegal seek",
-- 30: "read-only file system",
-- 31: "too many links",
-- 32: "broken pipe",
-- 33: "numerical argument out of domain",
-- 34: "numerical result out of range",
-- 36: "operation now in progress",
-- 37: "operation already in progress",
-- 38: "socket operation on non-socket",
-- 39: "destination address required",
-- 40: "message too long",
-- 41: "protocol wrong type for socket",
-- 42: "protocol not available",
-- 43: "protocol not supported",
-- 44: "socket type not supported",
-- 45: "operation not supported",
-- 46: "protocol family not supported",
-- 47: "address family not supported by protocol",
-- 48: "address already in use",
-- 49: "cannot assign requested address",
-- 50: "network is down",
-- 51: "network is unreachable",
-- 52: "network dropped connection on reset",
-- 53: "software caused connection abort",
-- 54: "connection reset by peer",
-- 55: "no buffer space available",
-- 56: "transport endpoint is already connected",
-- 57: "transport endpoint is not connected",
-- 58: "cannot send after transport endpoint shutdown",
-- 59: "too many references: cannot splice",
-- 60: "connection timed out",
-- 61: "connection refused",
-- 62: "too many levels of symbolic links",
-- 63: "file name too long",
-- 64: "host is down",
-- 65: "no route to host",
-- 66: "directory not empty",
-- 67: "too many processes",
-- 68: "too many users",
-- 69: "disk quota exceeded",
-- 70: "stale file handle",
-- 71: "object is remote",
-- 72: "device not a stream",
-- 73: "timer expired",
-- 74: "out of streams resources",
-- 75: "no message of desired type",
-- 76: "bad message",
-- 77: "identifier removed",
-- 78: "resource deadlock avoided",
-- 79: "no locks available",
-- 80: "machine is not on the network",
-- 81: "unknown error 81",
-- 82: "link has been severed",
-- 83: "advertise error",
-- 84: "srmount error",
-- 85: "communication error on send",
-- 86: "protocol error",
-- 87: "multihop attempted",
-- 88: "RFS specific error",
-- 89: "remote address changed",
-- 90: "function not implemented",
-- 91: "streams pipe error",
-- 92: "value too large for defined data type",
-- 93: "file descriptor in bad state",
-- 94: "channel number out of range",
-- 95: "level 2 not synchronized",
-- 96: "level 3 halted",
-- 97: "level 3 reset",
-- 98: "link number out of range",
-- 99: "protocol driver not attached",
-- 100: "no CSI structure available",
-- 101: "level 2 halted",
-- 102: "invalid exchange",
-- 103: "invalid request descriptor",
-- 104: "exchange full",
-- 105: "no anode",
-- 106: "invalid request code",
-- 107: "invalid slot",
-- 108: "file locking deadlock error",
-- 109: "bad font file format",
-- 110: "cannot exec a shared library directly",
-- 111: "no data available",
-- 112: "accessing a corrupted shared library",
-- 113: "package not installed",
-- 114: "can not access a needed shared library",
-- 115: "name not unique on network",
-- 116: "interrupted system call should be restarted",
-- 117: "structure needs cleaning",
-- 118: "not a XENIX named type file",
-- 119: "no XENIX semaphores available",
-- 120: "is a named type file",
-- 121: "remote I/O error",
-- 122: "invalid or incomplete multibyte or wide character",
-- 123: "attempting to link in too many shared libraries",
-- 124: ".lib section in a.out corrupted",
-- 125: "no medium found",
-- 126: "wrong medium type",
-- 127: "operation canceled",
-- 128: "required key not available",
-- 129: "key has expired",
-- 130: "key has been revoked",
-- 131: "key was rejected by service",
-- 132: "owner died",
-- 133: "state not recoverable",
-- 134: "operation not possible due to RF-kill",
-- 135: "memory page has hardware error",
-+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"},
-+ {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, "ENOTSUP", "operation not supported"},
-+ {46, "EPFNOSUPPORT", "protocol family not supported"},
-+ {47, "EAFNOSUPPORT", "address family not supported by protocol"},
-+ {48, "EADDRINUSE", "address already in use"},
-+ {49, "EADDRNOTAVAIL", "cannot 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", "transport endpoint is already connected"},
-+ {57, "ENOTCONN", "transport endpoint is not connected"},
-+ {58, "ESHUTDOWN", "cannot send after transport endpoint shutdown"},
-+ {59, "ETOOMANYREFS", "too many references: cannot splice"},
-+ {60, "ETIMEDOUT", "connection 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 file handle"},
-+ {71, "EREMOTE", "object is remote"},
-+ {72, "ENOSTR", "device not a stream"},
-+ {73, "ETIME", "timer expired"},
-+ {74, "ENOSR", "out of streams resources"},
-+ {75, "ENOMSG", "no message of desired type"},
-+ {76, "EBADMSG", "bad message"},
-+ {77, "EIDRM", "identifier removed"},
-+ {78, "EDEADLK", "resource deadlock avoided"},
-+ {79, "ENOLCK", "no locks available"},
-+ {80, "ENONET", "machine is not on the network"},
-+ {81, "ERREMOTE", "unknown error 81"},
-+ {82, "ENOLINK", "link has been severed"},
-+ {83, "EADV", "advertise error"},
-+ {84, "ESRMNT", "srmount error"},
-+ {85, "ECOMM", "communication error on send"},
-+ {86, "EPROTO", "protocol error"},
-+ {87, "EMULTIHOP", "multihop attempted"},
-+ {88, "EDOTDOT", "RFS specific error"},
-+ {89, "EREMCHG", "remote address changed"},
-+ {90, "ENOSYS", "function not implemented"},
-+ {91, "ESTRPIPE", "streams pipe error"},
-+ {92, "EOVERFLOW", "value too large for defined data type"},
-+ {93, "EBADFD", "file descriptor in bad state"},
-+ {94, "ECHRNG", "channel number out of range"},
-+ {95, "EL2NSYNC", "level 2 not synchronized"},
-+ {96, "EL3HLT", "level 3 halted"},
-+ {97, "EL3RST", "level 3 reset"},
-+ {98, "ELNRNG", "link number out of range"},
-+ {99, "EUNATCH", "protocol driver not attached"},
-+ {100, "ENOCSI", "no CSI structure available"},
-+ {101, "EL2HLT", "level 2 halted"},
-+ {102, "EBADE", "invalid exchange"},
-+ {103, "EBADR", "invalid request descriptor"},
-+ {104, "EXFULL", "exchange full"},
-+ {105, "ENOANO", "no anode"},
-+ {106, "EBADRQC", "invalid request code"},
-+ {107, "EBADSLT", "invalid slot"},
-+ {108, "EDEADLOCK", "file locking deadlock error"},
-+ {109, "EBFONT", "bad font file format"},
-+ {110, "ELIBEXEC", "cannot exec a shared library directly"},
-+ {111, "ENODATA", "no data available"},
-+ {112, "ELIBBAD", "accessing a corrupted shared library"},
-+ {113, "ENOPKG", "package not installed"},
-+ {114, "ELIBACC", "can not access a needed shared library"},
-+ {115, "ENOTUNIQ", "name not unique on network"},
-+ {116, "ERESTART", "interrupted system call should be restarted"},
-+ {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, "EILSEQ", "invalid or incomplete multibyte or wide character"},
-+ {123, "ELIBMAX", "attempting to link in too many shared libraries"},
-+ {124, "ELIBSCN", ".lib section in a.out corrupted"},
-+ {125, "ENOMEDIUM", "no medium found"},
-+ {126, "EMEDIUMTYPE", "wrong medium type"},
-+ {127, "ECANCELED", "operation canceled"},
-+ {128, "ENOKEY", "required key not available"},
-+ {129, "EKEYEXPIRED", "key has expired"},
-+ {130, "EKEYREVOKED", "key has been revoked"},
-+ {131, "EKEYREJECTED", "key was rejected by service"},
-+ {132, "EOWNERDEAD", "owner died"},
-+ {133, "ENOTRECOVERABLE", "state not recoverable"},
-+ {134, "ERFKILL", "operation not possible due to RF-kill"},
-+ {135, "EHWPOISON", "memory page has hardware error"},
- }
-
- // Signal table
--var signals = [...]string{
-- 1: "hangup",
-- 2: "interrupt",
-- 3: "quit",
-- 4: "illegal instruction",
-- 5: "trace/breakpoint trap",
-- 6: "aborted",
-- 7: "EMT trap",
-- 8: "floating point exception",
-- 9: "killed",
-- 10: "bus error",
-- 11: "segmentation fault",
-- 12: "bad system call",
-- 13: "broken pipe",
-- 14: "alarm clock",
-- 15: "terminated",
-- 16: "urgent I/O condition",
-- 17: "stopped (signal)",
-- 18: "stopped",
-- 19: "continued",
-- 20: "child exited",
-- 21: "stopped (tty input)",
-- 22: "stopped (tty output)",
-- 23: "I/O possible",
-- 24: "CPU time limit exceeded",
-- 25: "file size limit exceeded",
-- 26: "virtual timer expired",
-- 27: "profiling timer expired",
-- 28: "window changed",
-- 29: "resource lost",
-- 30: "user defined signal 1",
-- 31: "user defined signal 2",
-+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, "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", "stopped (signal)"},
-+ {18, "SIGTSTP", "stopped"},
-+ {19, "SIGCONT", "continued"},
-+ {20, "SIGCHLD", "child exited"},
-+ {21, "SIGTTIN", "stopped (tty input)"},
-+ {22, "SIGTTOU", "stopped (tty output)"},
-+ {23, "SIGIO", "I/O possible"},
-+ {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, "SIGLOST", "power failure"},
-+ {30, "SIGUSR1", "user defined signal 1"},
-+ {31, "SIGUSR2", "user defined signal 2"},
- }
-diff --git a/vendor/golang.org/x/sys/unix/zerrors_netbsd_386.go b/vendor/golang.org/x/sys/unix/zerrors_netbsd_386.go
-index b4338d5f..96b9b8ab 100644
---- a/vendor/golang.org/x/sys/unix/zerrors_netbsd_386.go
-+++ b/vendor/golang.org/x/sys/unix/zerrors_netbsd_386.go
-@@ -1,9 +1,9 @@
- // mkerrors.sh -m32
--// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-+// Code generated by the command above; see README.md. DO NOT EDIT.
-
- // +build 386,netbsd
-
--// Created by cgo -godefs - DO NOT EDIT
-+// Code generated by cmd/cgo -godefs; DO NOT EDIT.
- // cgo -godefs -- -m32 _const.go
-
- package unix
-@@ -159,6 +159,7 @@ const (
- CLONE_VFORK = 0x4000
- CLONE_VM = 0x100
- CREAD = 0x800
-+ CRTSCTS = 0x10000
- CS5 = 0x0
- CS6 = 0x100
- CS7 = 0x200
-@@ -169,6 +170,8 @@ const (
- CSTOP = 0x13
- CSTOPB = 0x400
- CSUSP = 0x1a
-+ CTL_HW = 0x6
-+ CTL_KERN = 0x1
- CTL_MAXNAME = 0xc
- CTL_NET = 0x4
- CTL_QUERY = -0x2
-@@ -547,6 +550,10 @@ const (
- EV_ONESHOT = 0x10
- EV_SYSFLAGS = 0xf000
- EXTA = 0x4b00
-+ EXTATTR_CMD_START = 0x1
-+ EXTATTR_CMD_STOP = 0x2
-+ EXTATTR_NAMESPACE_SYSTEM = 0x2
-+ EXTATTR_NAMESPACE_USER = 0x1
- EXTB = 0x9600
- EXTPROC = 0x800
- FD_CLOEXEC = 0x1
-@@ -581,6 +588,7 @@ const (
- F_UNLCK = 0x2
- F_WRLCK = 0x3
- HUPCL = 0x4000
-+ HW_MACHINE = 0x1
- ICANON = 0x100
- ICMP6_FILTER = 0x12
- ICRNL = 0x100
-@@ -970,6 +978,10 @@ const (
- IXANY = 0x800
- IXOFF = 0x400
- IXON = 0x200
-+ KERN_HOSTNAME = 0xa
-+ KERN_OSRELEASE = 0x2
-+ KERN_OSTYPE = 0x1
-+ KERN_VERSION = 0x4
- LOCK_EX = 0x2
- LOCK_NB = 0x4
- LOCK_SH = 0x1
-@@ -1008,6 +1020,43 @@ const (
- MAP_WIRED = 0x800
- MCL_CURRENT = 0x1
- MCL_FUTURE = 0x2
-+ MNT_ASYNC = 0x40
-+ MNT_BASIC_FLAGS = 0xe782807f
-+ MNT_DEFEXPORTED = 0x200
-+ MNT_DISCARD = 0x800000
-+ MNT_EXKERB = 0x800
-+ MNT_EXNORESPORT = 0x8000000
-+ MNT_EXPORTANON = 0x400
-+ MNT_EXPORTED = 0x100
-+ MNT_EXPUBLIC = 0x10000000
-+ MNT_EXRDONLY = 0x80
-+ MNT_EXTATTR = 0x1000000
-+ MNT_FORCE = 0x80000
-+ MNT_GETARGS = 0x400000
-+ MNT_IGNORE = 0x100000
-+ MNT_LAZY = 0x3
-+ MNT_LOCAL = 0x1000
-+ MNT_LOG = 0x2000000
-+ MNT_NOATIME = 0x4000000
-+ MNT_NOCOREDUMP = 0x8000
-+ MNT_NODEV = 0x10
-+ MNT_NODEVMTIME = 0x40000000
-+ MNT_NOEXEC = 0x4
-+ MNT_NOSUID = 0x8
-+ MNT_NOWAIT = 0x2
-+ MNT_OP_FLAGS = 0x4d0000
-+ MNT_QUOTA = 0x2000
-+ MNT_RDONLY = 0x1
-+ MNT_RELATIME = 0x20000
-+ MNT_RELOAD = 0x40000
-+ MNT_ROOTFS = 0x4000
-+ MNT_SOFTDEP = 0x80000000
-+ MNT_SYMPERM = 0x20000000
-+ MNT_SYNCHRONOUS = 0x2
-+ MNT_UNION = 0x20
-+ MNT_UPDATE = 0x10000
-+ MNT_VISFLAGMASK = 0xff90ffff
-+ MNT_WAIT = 0x1
- MSG_BCAST = 0x100
- MSG_CMSG_CLOEXEC = 0x800
- MSG_CONTROLMBUF = 0x2000000
-@@ -1036,6 +1085,7 @@ const (
- NET_RT_MAXID = 0x6
- NET_RT_OIFLIST = 0x4
- NET_RT_OOIFLIST = 0x3
-+ NFDBITS = 0x20
- NOFLSH = 0x80000000
- NOTE_ATTRIB = 0x8
- NOTE_CHILD = 0x4
-@@ -1101,7 +1151,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
-@@ -1576,137 +1629,145 @@ const (
- )
-
- // Error table
--var errors = [...]string{
-- 1: "operation not permitted",
-- 2: "no such file or directory",
-- 3: "no such process",
-- 4: "interrupted system call",
-- 5: "input/output error",
-- 6: "device not configured",
-- 7: "argument list too long",
-- 8: "exec format error",
-- 9: "bad file descriptor",
-- 10: "no child processes",
-- 11: "resource deadlock avoided",
-- 12: "cannot allocate memory",
-- 13: "permission denied",
-- 14: "bad address",
-- 15: "block device required",
-- 16: "device busy",
-- 17: "file exists",
-- 18: "cross-device link",
-- 19: "operation not supported by device",
-- 20: "not a directory",
-- 21: "is a directory",
-- 22: "invalid argument",
-- 23: "too many open files in system",
-- 24: "too many open files",
-- 25: "inappropriate ioctl for device",
-- 26: "text file busy",
-- 27: "file too large",
-- 28: "no space left on device",
-- 29: "illegal seek",
-- 30: "read-only file system",
-- 31: "too many links",
-- 32: "broken pipe",
-- 33: "numerical argument out of domain",
-- 34: "result too large or too small",
-- 35: "resource temporarily unavailable",
-- 36: "operation now in progress",
-- 37: "operation already in progress",
-- 38: "socket operation on non-socket",
-- 39: "destination address required",
-- 40: "message too long",
-- 41: "protocol wrong type for socket",
-- 42: "protocol option not available",
-- 43: "protocol not supported",
-- 44: "socket type not supported",
-- 45: "operation not supported",
-- 46: "protocol family not supported",
-- 47: "address family not supported by protocol family",
-- 48: "address already in use",
-- 49: "can't assign requested address",
-- 50: "network is down",
-- 51: "network is unreachable",
-- 52: "network dropped connection on reset",
-- 53: "software caused connection abort",
-- 54: "connection reset by peer",
-- 55: "no buffer space available",
-- 56: "socket is already connected",
-- 57: "socket is not connected",
-- 58: "can't send after socket shutdown",
-- 59: "too many references: can't splice",
-- 60: "connection timed out",
-- 61: "connection refused",
-- 62: "too many levels of symbolic links",
-- 63: "file name too long",
-- 64: "host is down",
-- 65: "no route to host",
-- 66: "directory not empty",
-- 67: "too many processes",
-- 68: "too many users",
-- 69: "disc quota exceeded",
-- 70: "stale NFS file handle",
-- 71: "too many levels of remote in path",
-- 72: "RPC struct is bad",
-- 73: "RPC version wrong",
-- 74: "RPC prog. not avail",
-- 75: "program version wrong",
-- 76: "bad procedure for program",
-- 77: "no locks available",
-- 78: "function not implemented",
-- 79: "inappropriate file type or format",
-- 80: "authentication error",
-- 81: "need authenticator",
-- 82: "identifier removed",
-- 83: "no message of desired type",
-- 84: "value too large to be stored in data type",
-- 85: "illegal byte sequence",
-- 86: "not supported",
-- 87: "operation Canceled",
-- 88: "bad or Corrupt message",
-- 89: "no message available",
-- 90: "no STREAM resources",
-- 91: "not a STREAM",
-- 92: "STREAM ioctl timeout",
-- 93: "attribute not found",
-- 94: "multihop attempted",
-- 95: "link has been severed",
-- 96: "protocol error",
-+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 or too small"},
-+ {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 option 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", "connection 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, "EILSEQ", "illegal byte sequence"},
-+ {86, "ENOTSUP", "not supported"},
-+ {87, "ECANCELED", "operation Canceled"},
-+ {88, "EBADMSG", "bad or Corrupt message"},
-+ {89, "ENODATA", "no message available"},
-+ {90, "ENOSR", "no STREAM resources"},
-+ {91, "ENOSTR", "not a STREAM"},
-+ {92, "ETIME", "STREAM ioctl timeout"},
-+ {93, "ENOATTR", "attribute not found"},
-+ {94, "EMULTIHOP", "multihop attempted"},
-+ {95, "ENOLINK", "link has been severed"},
-+ {96, "ELAST", "protocol error"},
- }
-
- // Signal table
--var signals = [...]string{
-- 1: "hangup",
-- 2: "interrupt",
-- 3: "quit",
-- 4: "illegal instruction",
-- 5: "trace/BPT trap",
-- 6: "abort trap",
-- 7: "EMT trap",
-- 8: "floating point exception",
-- 9: "killed",
-- 10: "bus error",
-- 11: "segmentation fault",
-- 12: "bad system call",
-- 13: "broken pipe",
-- 14: "alarm clock",
-- 15: "terminated",
-- 16: "urgent I/O condition",
-- 17: "stopped (signal)",
-- 18: "stopped",
-- 19: "continued",
-- 20: "child exited",
-- 21: "stopped (tty input)",
-- 22: "stopped (tty output)",
-- 23: "I/O possible",
-- 24: "cputime limit exceeded",
-- 25: "filesize limit exceeded",
-- 26: "virtual timer expired",
-- 27: "profiling timer expired",
-- 28: "window size changes",
-- 29: "information request",
-- 30: "user defined signal 1",
-- 31: "user defined signal 2",
-- 32: "power fail/restart",
-+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", "stopped (signal)"},
-+ {18, "SIGTSTP", "stopped"},
-+ {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, "SIGPWR", "power fail/restart"},
- }
-diff --git a/vendor/golang.org/x/sys/unix/zerrors_netbsd_amd64.go b/vendor/golang.org/x/sys/unix/zerrors_netbsd_amd64.go
-index 4994437b..ed522a84 100644
---- a/vendor/golang.org/x/sys/unix/zerrors_netbsd_amd64.go
-+++ b/vendor/golang.org/x/sys/unix/zerrors_netbsd_amd64.go
-@@ -1,9 +1,9 @@
- // mkerrors.sh -m64
--// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-+// Code generated by the command above; see README.md. DO NOT EDIT.
-
- // +build amd64,netbsd
-
--// Created by cgo -godefs - DO NOT EDIT
-+// Code generated by cmd/cgo -godefs; DO NOT EDIT.
- // cgo -godefs -- -m64 _const.go
-
- package unix
-@@ -159,6 +159,7 @@ const (
- CLONE_VFORK = 0x4000
- CLONE_VM = 0x100
- CREAD = 0x800
-+ CRTSCTS = 0x10000
- CS5 = 0x0
- CS6 = 0x100
- CS7 = 0x200
-@@ -169,6 +170,8 @@ const (
- CSTOP = 0x13
- CSTOPB = 0x400
- CSUSP = 0x1a
-+ CTL_HW = 0x6
-+ CTL_KERN = 0x1
- CTL_MAXNAME = 0xc
- CTL_NET = 0x4
- CTL_QUERY = -0x2
-@@ -537,6 +540,10 @@ const (
- EV_ONESHOT = 0x10
- EV_SYSFLAGS = 0xf000
- EXTA = 0x4b00
-+ EXTATTR_CMD_START = 0x1
-+ EXTATTR_CMD_STOP = 0x2
-+ EXTATTR_NAMESPACE_SYSTEM = 0x2
-+ EXTATTR_NAMESPACE_USER = 0x1
- EXTB = 0x9600
- EXTPROC = 0x800
- FD_CLOEXEC = 0x1
-@@ -571,6 +578,7 @@ const (
- F_UNLCK = 0x2
- F_WRLCK = 0x3
- HUPCL = 0x4000
-+ HW_MACHINE = 0x1
- ICANON = 0x100
- ICMP6_FILTER = 0x12
- ICRNL = 0x100
-@@ -960,6 +968,10 @@ const (
- IXANY = 0x800
- IXOFF = 0x400
- IXON = 0x200
-+ KERN_HOSTNAME = 0xa
-+ KERN_OSRELEASE = 0x2
-+ KERN_OSTYPE = 0x1
-+ KERN_VERSION = 0x4
- LOCK_EX = 0x2
- LOCK_NB = 0x4
- LOCK_SH = 0x1
-@@ -998,6 +1010,43 @@ const (
- MAP_WIRED = 0x800
- MCL_CURRENT = 0x1
- MCL_FUTURE = 0x2
-+ MNT_ASYNC = 0x40
-+ MNT_BASIC_FLAGS = 0xe782807f
-+ MNT_DEFEXPORTED = 0x200
-+ MNT_DISCARD = 0x800000
-+ MNT_EXKERB = 0x800
-+ MNT_EXNORESPORT = 0x8000000
-+ MNT_EXPORTANON = 0x400
-+ MNT_EXPORTED = 0x100
-+ MNT_EXPUBLIC = 0x10000000
-+ MNT_EXRDONLY = 0x80
-+ MNT_EXTATTR = 0x1000000
-+ MNT_FORCE = 0x80000
-+ MNT_GETARGS = 0x400000
-+ MNT_IGNORE = 0x100000
-+ MNT_LAZY = 0x3
-+ MNT_LOCAL = 0x1000
-+ MNT_LOG = 0x2000000
-+ MNT_NOATIME = 0x4000000
-+ MNT_NOCOREDUMP = 0x8000
-+ MNT_NODEV = 0x10
-+ MNT_NODEVMTIME = 0x40000000
-+ MNT_NOEXEC = 0x4
-+ MNT_NOSUID = 0x8
-+ MNT_NOWAIT = 0x2
-+ MNT_OP_FLAGS = 0x4d0000
-+ MNT_QUOTA = 0x2000
-+ MNT_RDONLY = 0x1
-+ MNT_RELATIME = 0x20000
-+ MNT_RELOAD = 0x40000
-+ MNT_ROOTFS = 0x4000
-+ MNT_SOFTDEP = 0x80000000
-+ MNT_SYMPERM = 0x20000000
-+ MNT_SYNCHRONOUS = 0x2
-+ MNT_UNION = 0x20
-+ MNT_UPDATE = 0x10000
-+ MNT_VISFLAGMASK = 0xff90ffff
-+ MNT_WAIT = 0x1
- MSG_BCAST = 0x100
- MSG_CMSG_CLOEXEC = 0x800
- MSG_CONTROLMBUF = 0x2000000
-@@ -1026,6 +1075,7 @@ const (
- NET_RT_MAXID = 0x6
- NET_RT_OIFLIST = 0x4
- NET_RT_OOIFLIST = 0x3
-+ NFDBITS = 0x20
- NOFLSH = 0x80000000
- NOTE_ATTRIB = 0x8
- NOTE_CHILD = 0x4
-@@ -1091,7 +1141,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
-@@ -1566,137 +1619,145 @@ const (
- )
-
- // Error table
--var errors = [...]string{
-- 1: "operation not permitted",
-- 2: "no such file or directory",
-- 3: "no such process",
-- 4: "interrupted system call",
-- 5: "input/output error",
-- 6: "device not configured",
-- 7: "argument list too long",
-- 8: "exec format error",
-- 9: "bad file descriptor",
-- 10: "no child processes",
-- 11: "resource deadlock avoided",
-- 12: "cannot allocate memory",
-- 13: "permission denied",
-- 14: "bad address",
-- 15: "block device required",
-- 16: "device busy",
-- 17: "file exists",
-- 18: "cross-device link",
-- 19: "operation not supported by device",
-- 20: "not a directory",
-- 21: "is a directory",
-- 22: "invalid argument",
-- 23: "too many open files in system",
-- 24: "too many open files",
-- 25: "inappropriate ioctl for device",
-- 26: "text file busy",
-- 27: "file too large",
-- 28: "no space left on device",
-- 29: "illegal seek",
-- 30: "read-only file system",
-- 31: "too many links",
-- 32: "broken pipe",
-- 33: "numerical argument out of domain",
-- 34: "result too large or too small",
-- 35: "resource temporarily unavailable",
-- 36: "operation now in progress",
-- 37: "operation already in progress",
-- 38: "socket operation on non-socket",
-- 39: "destination address required",
-- 40: "message too long",
-- 41: "protocol wrong type for socket",
-- 42: "protocol option not available",
-- 43: "protocol not supported",
-- 44: "socket type not supported",
-- 45: "operation not supported",
-- 46: "protocol family not supported",
-- 47: "address family not supported by protocol family",
-- 48: "address already in use",
-- 49: "can't assign requested address",
-- 50: "network is down",
-- 51: "network is unreachable",
-- 52: "network dropped connection on reset",
-- 53: "software caused connection abort",
-- 54: "connection reset by peer",
-- 55: "no buffer space available",
-- 56: "socket is already connected",
-- 57: "socket is not connected",
-- 58: "can't send after socket shutdown",
-- 59: "too many references: can't splice",
-- 60: "connection timed out",
-- 61: "connection refused",
-- 62: "too many levels of symbolic links",
-- 63: "file name too long",
-- 64: "host is down",
-- 65: "no route to host",
-- 66: "directory not empty",
-- 67: "too many processes",
-- 68: "too many users",
-- 69: "disc quota exceeded",
-- 70: "stale NFS file handle",
-- 71: "too many levels of remote in path",
-- 72: "RPC struct is bad",
-- 73: "RPC version wrong",
-- 74: "RPC prog. not avail",
-- 75: "program version wrong",
-- 76: "bad procedure for program",
-- 77: "no locks available",
-- 78: "function not implemented",
-- 79: "inappropriate file type or format",
-- 80: "authentication error",
-- 81: "need authenticator",
-- 82: "identifier removed",
-- 83: "no message of desired type",
-- 84: "value too large to be stored in data type",
-- 85: "illegal byte sequence",
-- 86: "not supported",
-- 87: "operation Canceled",
-- 88: "bad or Corrupt message",
-- 89: "no message available",
-- 90: "no STREAM resources",
-- 91: "not a STREAM",
-- 92: "STREAM ioctl timeout",
-- 93: "attribute not found",
-- 94: "multihop attempted",
-- 95: "link has been severed",
-- 96: "protocol error",
-+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 or too small"},
-+ {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 option 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", "connection 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, "EILSEQ", "illegal byte sequence"},
-+ {86, "ENOTSUP", "not supported"},
-+ {87, "ECANCELED", "operation Canceled"},
-+ {88, "EBADMSG", "bad or Corrupt message"},
-+ {89, "ENODATA", "no message available"},
-+ {90, "ENOSR", "no STREAM resources"},
-+ {91, "ENOSTR", "not a STREAM"},
-+ {92, "ETIME", "STREAM ioctl timeout"},
-+ {93, "ENOATTR", "attribute not found"},
-+ {94, "EMULTIHOP", "multihop attempted"},
-+ {95, "ENOLINK", "link has been severed"},
-+ {96, "ELAST", "protocol error"},
- }
-
- // Signal table
--var signals = [...]string{
-- 1: "hangup",
-- 2: "interrupt",
-- 3: "quit",
-- 4: "illegal instruction",
-- 5: "trace/BPT trap",
-- 6: "abort trap",
-- 7: "EMT trap",
-- 8: "floating point exception",
-- 9: "killed",
-- 10: "bus error",
-- 11: "segmentation fault",
-- 12: "bad system call",
-- 13: "broken pipe",
-- 14: "alarm clock",
-- 15: "terminated",
-- 16: "urgent I/O condition",
-- 17: "stopped (signal)",
-- 18: "stopped",
-- 19: "continued",
-- 20: "child exited",
-- 21: "stopped (tty input)",
-- 22: "stopped (tty output)",
-- 23: "I/O possible",
-- 24: "cputime limit exceeded",
-- 25: "filesize limit exceeded",
-- 26: "virtual timer expired",
-- 27: "profiling timer expired",
-- 28: "window size changes",
-- 29: "information request",
-- 30: "user defined signal 1",
-- 31: "user defined signal 2",
-- 32: "power fail/restart",
-+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", "stopped (signal)"},
-+ {18, "SIGTSTP", "stopped"},
-+ {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, "SIGPWR", "power fail/restart"},
- }
-diff --git a/vendor/golang.org/x/sys/unix/zerrors_netbsd_arm.go b/vendor/golang.org/x/sys/unix/zerrors_netbsd_arm.go
-index 206c75f0..c8d36fe9 100644
---- a/vendor/golang.org/x/sys/unix/zerrors_netbsd_arm.go
-+++ b/vendor/golang.org/x/sys/unix/zerrors_netbsd_arm.go
-@@ -1,9 +1,9 @@
- // mkerrors.sh -marm
--// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-+// Code generated by the command above; see README.md. DO NOT EDIT.
-
- // +build arm,netbsd
-
--// Created by cgo -godefs - DO NOT EDIT
-+// Code generated by cmd/cgo -godefs; DO NOT EDIT.
- // cgo -godefs -- -marm _const.go
-
- package unix
-@@ -151,6 +151,7 @@ const (
- CFLUSH = 0xf
- CLOCAL = 0x8000
- CREAD = 0x800
-+ CRTSCTS = 0x10000
- CS5 = 0x0
- CS6 = 0x100
- CS7 = 0x200
-@@ -161,6 +162,8 @@ const (
- CSTOP = 0x13
- CSTOPB = 0x400
- CSUSP = 0x1a
-+ CTL_HW = 0x6
-+ CTL_KERN = 0x1
- CTL_MAXNAME = 0xc
- CTL_NET = 0x4
- CTL_QUERY = -0x2
-@@ -529,6 +532,10 @@ const (
- EV_ONESHOT = 0x10
- EV_SYSFLAGS = 0xf000
- EXTA = 0x4b00
-+ EXTATTR_CMD_START = 0x1
-+ EXTATTR_CMD_STOP = 0x2
-+ EXTATTR_NAMESPACE_SYSTEM = 0x2
-+ EXTATTR_NAMESPACE_USER = 0x1
- EXTB = 0x9600
- EXTPROC = 0x800
- FD_CLOEXEC = 0x1
-@@ -563,6 +570,7 @@ const (
- F_UNLCK = 0x2
- F_WRLCK = 0x3
- HUPCL = 0x4000
-+ HW_MACHINE = 0x1
- ICANON = 0x100
- ICMP6_FILTER = 0x12
- ICRNL = 0x100
-@@ -952,6 +960,10 @@ const (
- IXANY = 0x800
- IXOFF = 0x400
- IXON = 0x200
-+ KERN_HOSTNAME = 0xa
-+ KERN_OSRELEASE = 0x2
-+ KERN_OSTYPE = 0x1
-+ KERN_VERSION = 0x4
- LOCK_EX = 0x2
- LOCK_NB = 0x4
- LOCK_SH = 0x1
-@@ -988,6 +1000,43 @@ const (
- MAP_STACK = 0x2000
- MAP_TRYFIXED = 0x400
- MAP_WIRED = 0x800
-+ MNT_ASYNC = 0x40
-+ MNT_BASIC_FLAGS = 0xe782807f
-+ MNT_DEFEXPORTED = 0x200
-+ MNT_DISCARD = 0x800000
-+ MNT_EXKERB = 0x800
-+ MNT_EXNORESPORT = 0x8000000
-+ MNT_EXPORTANON = 0x400
-+ MNT_EXPORTED = 0x100
-+ MNT_EXPUBLIC = 0x10000000
-+ MNT_EXRDONLY = 0x80
-+ MNT_EXTATTR = 0x1000000
-+ MNT_FORCE = 0x80000
-+ MNT_GETARGS = 0x400000
-+ MNT_IGNORE = 0x100000
-+ MNT_LAZY = 0x3
-+ MNT_LOCAL = 0x1000
-+ MNT_LOG = 0x2000000
-+ MNT_NOATIME = 0x4000000
-+ MNT_NOCOREDUMP = 0x8000
-+ MNT_NODEV = 0x10
-+ MNT_NODEVMTIME = 0x40000000
-+ MNT_NOEXEC = 0x4
-+ MNT_NOSUID = 0x8
-+ MNT_NOWAIT = 0x2
-+ MNT_OP_FLAGS = 0x4d0000
-+ MNT_QUOTA = 0x2000
-+ MNT_RDONLY = 0x1
-+ MNT_RELATIME = 0x20000
-+ MNT_RELOAD = 0x40000
-+ MNT_ROOTFS = 0x4000
-+ MNT_SOFTDEP = 0x80000000
-+ MNT_SYMPERM = 0x20000000
-+ MNT_SYNCHRONOUS = 0x2
-+ MNT_UNION = 0x20
-+ MNT_UPDATE = 0x10000
-+ MNT_VISFLAGMASK = 0xff90ffff
-+ MNT_WAIT = 0x1
- MSG_BCAST = 0x100
- MSG_CMSG_CLOEXEC = 0x800
- MSG_CONTROLMBUF = 0x2000000
-@@ -1016,6 +1065,7 @@ const (
- NET_RT_MAXID = 0x6
- NET_RT_OIFLIST = 0x4
- NET_RT_OOIFLIST = 0x3
-+ NFDBITS = 0x20
- NOFLSH = 0x80000000
- NOTE_ATTRIB = 0x8
- NOTE_CHILD = 0x4
-@@ -1081,7 +1131,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
-@@ -1555,137 +1608,145 @@ const (
- )
-
- // Error table
--var errors = [...]string{
-- 1: "operation not permitted",
-- 2: "no such file or directory",
-- 3: "no such process",
-- 4: "interrupted system call",
-- 5: "input/output error",
-- 6: "device not configured",
-- 7: "argument list too long",
-- 8: "exec format error",
-- 9: "bad file descriptor",
-- 10: "no child processes",
-- 11: "resource deadlock avoided",
-- 12: "cannot allocate memory",
-- 13: "permission denied",
-- 14: "bad address",
-- 15: "block device required",
-- 16: "device busy",
-- 17: "file exists",
-- 18: "cross-device link",
-- 19: "operation not supported by device",
-- 20: "not a directory",
-- 21: "is a directory",
-- 22: "invalid argument",
-- 23: "too many open files in system",
-- 24: "too many open files",
-- 25: "inappropriate ioctl for device",
-- 26: "text file busy",
-- 27: "file too large",
-- 28: "no space left on device",
-- 29: "illegal seek",
-- 30: "read-only file system",
-- 31: "too many links",
-- 32: "broken pipe",
-- 33: "numerical argument out of domain",
-- 34: "result too large or too small",
-- 35: "resource temporarily unavailable",
-- 36: "operation now in progress",
-- 37: "operation already in progress",
-- 38: "socket operation on non-socket",
-- 39: "destination address required",
-- 40: "message too long",
-- 41: "protocol wrong type for socket",
-- 42: "protocol option not available",
-- 43: "protocol not supported",
-- 44: "socket type not supported",
-- 45: "operation not supported",
-- 46: "protocol family not supported",
-- 47: "address family not supported by protocol family",
-- 48: "address already in use",
-- 49: "can't assign requested address",
-- 50: "network is down",
-- 51: "network is unreachable",
-- 52: "network dropped connection on reset",
-- 53: "software caused connection abort",
-- 54: "connection reset by peer",
-- 55: "no buffer space available",
-- 56: "socket is already connected",
-- 57: "socket is not connected",
-- 58: "can't send after socket shutdown",
-- 59: "too many references: can't splice",
-- 60: "connection timed out",
-- 61: "connection refused",
-- 62: "too many levels of symbolic links",
-- 63: "file name too long",
-- 64: "host is down",
-- 65: "no route to host",
-- 66: "directory not empty",
-- 67: "too many processes",
-- 68: "too many users",
-- 69: "disc quota exceeded",
-- 70: "stale NFS file handle",
-- 71: "too many levels of remote in path",
-- 72: "RPC struct is bad",
-- 73: "RPC version wrong",
-- 74: "RPC prog. not avail",
-- 75: "program version wrong",
-- 76: "bad procedure for program",
-- 77: "no locks available",
-- 78: "function not implemented",
-- 79: "inappropriate file type or format",
-- 80: "authentication error",
-- 81: "need authenticator",
-- 82: "identifier removed",
-- 83: "no message of desired type",
-- 84: "value too large to be stored in data type",
-- 85: "illegal byte sequence",
-- 86: "not supported",
-- 87: "operation Canceled",
-- 88: "bad or Corrupt message",
-- 89: "no message available",
-- 90: "no STREAM resources",
-- 91: "not a STREAM",
-- 92: "STREAM ioctl timeout",
-- 93: "attribute not found",
-- 94: "multihop attempted",
-- 95: "link has been severed",
-- 96: "protocol error",
-+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 or too small"},
-+ {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 option 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", "connection 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, "EILSEQ", "illegal byte sequence"},
-+ {86, "ENOTSUP", "not supported"},
-+ {87, "ECANCELED", "operation Canceled"},
-+ {88, "EBADMSG", "bad or Corrupt message"},
-+ {89, "ENODATA", "no message available"},
-+ {90, "ENOSR", "no STREAM resources"},
-+ {91, "ENOSTR", "not a STREAM"},
-+ {92, "ETIME", "STREAM ioctl timeout"},
-+ {93, "ENOATTR", "attribute not found"},
-+ {94, "EMULTIHOP", "multihop attempted"},
-+ {95, "ENOLINK", "link has been severed"},
-+ {96, "ELAST", "protocol error"},
- }
-
- // Signal table
--var signals = [...]string{
-- 1: "hangup",
-- 2: "interrupt",
-- 3: "quit",
-- 4: "illegal instruction",
-- 5: "trace/BPT trap",
-- 6: "abort trap",
-- 7: "EMT trap",
-- 8: "floating point exception",
-- 9: "killed",
-- 10: "bus error",
-- 11: "segmentation fault",
-- 12: "bad system call",
-- 13: "broken pipe",
-- 14: "alarm clock",
-- 15: "terminated",
-- 16: "urgent I/O condition",
-- 17: "stopped (signal)",
-- 18: "stopped",
-- 19: "continued",
-- 20: "child exited",
-- 21: "stopped (tty input)",
-- 22: "stopped (tty output)",
-- 23: "I/O possible",
-- 24: "cputime limit exceeded",
-- 25: "filesize limit exceeded",
-- 26: "virtual timer expired",
-- 27: "profiling timer expired",
-- 28: "window size changes",
-- 29: "information request",
-- 30: "user defined signal 1",
-- 31: "user defined signal 2",
-- 32: "power fail/restart",
-+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", "stopped (signal)"},
-+ {18, "SIGTSTP", "stopped"},
-+ {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, "SIGPWR", "power fail/restart"},
- }
-diff --git a/vendor/golang.org/x/sys/unix/zerrors_netbsd_amd64.go b/vendor/golang.org/x/sys/unix/zerrors_netbsd_arm64.go
-similarity index 89%
-copy from vendor/golang.org/x/sys/unix/zerrors_netbsd_amd64.go
-copy to vendor/golang.org/x/sys/unix/zerrors_netbsd_arm64.go
-index 4994437b..f1c146a7 100644
---- a/vendor/golang.org/x/sys/unix/zerrors_netbsd_amd64.go
-+++ b/vendor/golang.org/x/sys/unix/zerrors_netbsd_arm64.go
-@@ -1,9 +1,9 @@
- // mkerrors.sh -m64
--// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-+// Code generated by the command above; see README.md. DO NOT EDIT.
-
--// +build amd64,netbsd
-+// +build arm64,netbsd
-
--// Created by cgo -godefs - DO NOT EDIT
-+// Code generated by cmd/cgo -godefs; DO NOT EDIT.
- // cgo -godefs -- -m64 _const.go
-
- package unix
-@@ -159,6 +159,7 @@ const (
- CLONE_VFORK = 0x4000
- CLONE_VM = 0x100
- CREAD = 0x800
-+ CRTSCTS = 0x10000
- CS5 = 0x0
- CS6 = 0x100
- CS7 = 0x200
-@@ -169,6 +170,8 @@ const (
- CSTOP = 0x13
- CSTOPB = 0x400
- CSUSP = 0x1a
-+ CTL_HW = 0x6
-+ CTL_KERN = 0x1
- CTL_MAXNAME = 0xc
- CTL_NET = 0x4
- CTL_QUERY = -0x2
-@@ -537,6 +540,10 @@ const (
- EV_ONESHOT = 0x10
- EV_SYSFLAGS = 0xf000
- EXTA = 0x4b00
-+ EXTATTR_CMD_START = 0x1
-+ EXTATTR_CMD_STOP = 0x2
-+ EXTATTR_NAMESPACE_SYSTEM = 0x2
-+ EXTATTR_NAMESPACE_USER = 0x1
- EXTB = 0x9600
- EXTPROC = 0x800
- FD_CLOEXEC = 0x1
-@@ -571,6 +578,7 @@ const (
- F_UNLCK = 0x2
- F_WRLCK = 0x3
- HUPCL = 0x4000
-+ HW_MACHINE = 0x1
- ICANON = 0x100
- ICMP6_FILTER = 0x12
- ICRNL = 0x100
-@@ -960,6 +968,10 @@ const (
- IXANY = 0x800
- IXOFF = 0x400
- IXON = 0x200
-+ KERN_HOSTNAME = 0xa
-+ KERN_OSRELEASE = 0x2
-+ KERN_OSTYPE = 0x1
-+ KERN_VERSION = 0x4
- LOCK_EX = 0x2
- LOCK_NB = 0x4
- LOCK_SH = 0x1
-@@ -998,6 +1010,43 @@ const (
- MAP_WIRED = 0x800
- MCL_CURRENT = 0x1
- MCL_FUTURE = 0x2
-+ MNT_ASYNC = 0x40
-+ MNT_BASIC_FLAGS = 0xe782807f
-+ MNT_DEFEXPORTED = 0x200
-+ MNT_DISCARD = 0x800000
-+ MNT_EXKERB = 0x800
-+ MNT_EXNORESPORT = 0x8000000
-+ MNT_EXPORTANON = 0x400
-+ MNT_EXPORTED = 0x100
-+ MNT_EXPUBLIC = 0x10000000
-+ MNT_EXRDONLY = 0x80
-+ MNT_EXTATTR = 0x1000000
-+ MNT_FORCE = 0x80000
-+ MNT_GETARGS = 0x400000
-+ MNT_IGNORE = 0x100000
-+ MNT_LAZY = 0x3
-+ MNT_LOCAL = 0x1000
-+ MNT_LOG = 0x2000000
-+ MNT_NOATIME = 0x4000000
-+ MNT_NOCOREDUMP = 0x8000
-+ MNT_NODEV = 0x10
-+ MNT_NODEVMTIME = 0x40000000
-+ MNT_NOEXEC = 0x4
-+ MNT_NOSUID = 0x8
-+ MNT_NOWAIT = 0x2
-+ MNT_OP_FLAGS = 0x4d0000
-+ MNT_QUOTA = 0x2000
-+ MNT_RDONLY = 0x1
-+ MNT_RELATIME = 0x20000
-+ MNT_RELOAD = 0x40000
-+ MNT_ROOTFS = 0x4000
-+ MNT_SOFTDEP = 0x80000000
-+ MNT_SYMPERM = 0x20000000
-+ MNT_SYNCHRONOUS = 0x2
-+ MNT_UNION = 0x20
-+ MNT_UPDATE = 0x10000
-+ MNT_VISFLAGMASK = 0xff90ffff
-+ MNT_WAIT = 0x1
- MSG_BCAST = 0x100
- MSG_CMSG_CLOEXEC = 0x800
- MSG_CONTROLMBUF = 0x2000000
-@@ -1026,6 +1075,7 @@ const (
- NET_RT_MAXID = 0x6
- NET_RT_OIFLIST = 0x4
- NET_RT_OOIFLIST = 0x3
-+ NFDBITS = 0x20
- NOFLSH = 0x80000000
- NOTE_ATTRIB = 0x8
- NOTE_CHILD = 0x4
-@@ -1091,7 +1141,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
-@@ -1566,137 +1619,145 @@ const (
- )
-
- // Error table
--var errors = [...]string{
-- 1: "operation not permitted",
-- 2: "no such file or directory",
-- 3: "no such process",
-- 4: "interrupted system call",
-- 5: "input/output error",
-- 6: "device not configured",
-- 7: "argument list too long",
-- 8: "exec format error",
-- 9: "bad file descriptor",
-- 10: "no child processes",
-- 11: "resource deadlock avoided",
-- 12: "cannot allocate memory",
-- 13: "permission denied",
-- 14: "bad address",
-- 15: "block device required",
-- 16: "device busy",
-- 17: "file exists",
-- 18: "cross-device link",
-- 19: "operation not supported by device",
-- 20: "not a directory",
-- 21: "is a directory",
-- 22: "invalid argument",
-- 23: "too many open files in system",
-- 24: "too many open files",
-- 25: "inappropriate ioctl for device",
-- 26: "text file busy",
-- 27: "file too large",
-- 28: "no space left on device",
-- 29: "illegal seek",
-- 30: "read-only file system",
-- 31: "too many links",
-- 32: "broken pipe",
-- 33: "numerical argument out of domain",
-- 34: "result too large or too small",
-- 35: "resource temporarily unavailable",
-- 36: "operation now in progress",
-- 37: "operation already in progress",
-- 38: "socket operation on non-socket",
-- 39: "destination address required",
-- 40: "message too long",
-- 41: "protocol wrong type for socket",
-- 42: "protocol option not available",
-- 43: "protocol not supported",
-- 44: "socket type not supported",
-- 45: "operation not supported",
-- 46: "protocol family not supported",
-- 47: "address family not supported by protocol family",
-- 48: "address already in use",
-- 49: "can't assign requested address",
-- 50: "network is down",
-- 51: "network is unreachable",
-- 52: "network dropped connection on reset",
-- 53: "software caused connection abort",
-- 54: "connection reset by peer",
-- 55: "no buffer space available",
-- 56: "socket is already connected",
-- 57: "socket is not connected",
-- 58: "can't send after socket shutdown",
-- 59: "too many references: can't splice",
-- 60: "connection timed out",
-- 61: "connection refused",
-- 62: "too many levels of symbolic links",
-- 63: "file name too long",
-- 64: "host is down",
-- 65: "no route to host",
-- 66: "directory not empty",
-- 67: "too many processes",
-- 68: "too many users",
-- 69: "disc quota exceeded",
-- 70: "stale NFS file handle",
-- 71: "too many levels of remote in path",
-- 72: "RPC struct is bad",
-- 73: "RPC version wrong",
-- 74: "RPC prog. not avail",
-- 75: "program version wrong",
-- 76: "bad procedure for program",
-- 77: "no locks available",
-- 78: "function not implemented",
-- 79: "inappropriate file type or format",
-- 80: "authentication error",
-- 81: "need authenticator",
-- 82: "identifier removed",
-- 83: "no message of desired type",
-- 84: "value too large to be stored in data type",
-- 85: "illegal byte sequence",
-- 86: "not supported",
-- 87: "operation Canceled",
-- 88: "bad or Corrupt message",
-- 89: "no message available",
-- 90: "no STREAM resources",
-- 91: "not a STREAM",
-- 92: "STREAM ioctl timeout",
-- 93: "attribute not found",
-- 94: "multihop attempted",
-- 95: "link has been severed",
-- 96: "protocol error",
-+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 or too small"},
-+ {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 option 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", "connection 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, "EILSEQ", "illegal byte sequence"},
-+ {86, "ENOTSUP", "not supported"},
-+ {87, "ECANCELED", "operation Canceled"},
-+ {88, "EBADMSG", "bad or Corrupt message"},
-+ {89, "ENODATA", "no message available"},
-+ {90, "ENOSR", "no STREAM resources"},
-+ {91, "ENOSTR", "not a STREAM"},
-+ {92, "ETIME", "STREAM ioctl timeout"},
-+ {93, "ENOATTR", "attribute not found"},
-+ {94, "EMULTIHOP", "multihop attempted"},
-+ {95, "ENOLINK", "link has been severed"},
-+ {96, "ELAST", "protocol error"},
- }
-
- // Signal table
--var signals = [...]string{
-- 1: "hangup",
-- 2: "interrupt",
-- 3: "quit",
-- 4: "illegal instruction",
-- 5: "trace/BPT trap",
-- 6: "abort trap",
-- 7: "EMT trap",
-- 8: "floating point exception",
-- 9: "killed",
-- 10: "bus error",
-- 11: "segmentation fault",
-- 12: "bad system call",
-- 13: "broken pipe",
-- 14: "alarm clock",
-- 15: "terminated",
-- 16: "urgent I/O condition",
-- 17: "stopped (signal)",
-- 18: "stopped",
-- 19: "continued",
-- 20: "child exited",
-- 21: "stopped (tty input)",
-- 22: "stopped (tty output)",
-- 23: "I/O possible",
-- 24: "cputime limit exceeded",
-- 25: "filesize limit exceeded",
-- 26: "virtual timer expired",
-- 27: "profiling timer expired",
-- 28: "window size changes",
-- 29: "information request",
-- 30: "user defined signal 1",
-- 31: "user defined signal 2",
-- 32: "power fail/restart",
-+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", "stopped (signal)"},
-+ {18, "SIGTSTP", "stopped"},
-+ {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, "SIGPWR", "power fail/restart"},
- }
-diff --git a/vendor/golang.org/x/sys/unix/zerrors_openbsd_386.go b/vendor/golang.org/x/sys/unix/zerrors_openbsd_386.go
-index 3322e998..5402bd55 100644
---- a/vendor/golang.org/x/sys/unix/zerrors_openbsd_386.go
-+++ b/vendor/golang.org/x/sys/unix/zerrors_openbsd_386.go
-@@ -1,9 +1,9 @@
- // mkerrors.sh -m32
--// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-+// Code generated by the command above; see README.md. DO NOT EDIT.
-
- // +build 386,openbsd
-
--// Created by cgo -godefs - DO NOT EDIT
-+// Code generated by cmd/cgo -godefs; DO NOT EDIT.
- // cgo -godefs -- -m32 _const.go
-
- package unix
-@@ -147,6 +147,7 @@ const (
- CFLUSH = 0xf
- CLOCAL = 0x8000
- CREAD = 0x800
-+ CRTSCTS = 0x10000
- CS5 = 0x0
- CS6 = 0x100
- CS7 = 0x200
-@@ -157,6 +158,8 @@ const (
- CSTOP = 0x13
- CSTOPB = 0x400
- CSUSP = 0x1a
-+ CTL_HW = 0x6
-+ CTL_KERN = 0x1
- CTL_MAXNAME = 0xc
- CTL_NET = 0x4
- DIOCOSFPFLUSH = 0x2000444e
-@@ -442,6 +445,7 @@ const (
- F_UNLCK = 0x2
- F_WRLCK = 0x3
- HUPCL = 0x4000
-+ HW_MACHINE = 0x1
- ICANON = 0x100
- ICMP6_FILTER = 0x12
- ICRNL = 0x100
-@@ -860,6 +864,10 @@ const (
- 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
-@@ -873,14 +881,15 @@ const (
- MADV_SPACEAVAIL = 0x5
- MADV_WILLNEED = 0x3
- MAP_ANON = 0x1000
-- MAP_COPY = 0x4
-+ MAP_ANONYMOUS = 0x1000
-+ MAP_CONCEAL = 0x8000
-+ MAP_COPY = 0x2
- MAP_FILE = 0x0
- MAP_FIXED = 0x10
-- MAP_FLAGMASK = 0x1ff7
-- MAP_HASSEMAPHORE = 0x200
-- MAP_INHERIT = 0x80
-+ MAP_FLAGMASK = 0xfff7
-+ MAP_HASSEMAPHORE = 0x0
-+ MAP_INHERIT = 0x0
- MAP_INHERIT_COPY = 0x1
-- MAP_INHERIT_DONATE_COPY = 0x3
- MAP_INHERIT_NONE = 0x2
- MAP_INHERIT_SHARE = 0x0
- MAP_NOEXTEND = 0x100
-@@ -888,9 +897,36 @@ const (
- MAP_PRIVATE = 0x2
- MAP_RENAME = 0x20
- MAP_SHARED = 0x1
-- MAP_TRYFIXED = 0x400
-+ 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_NOSUID = 0x8
-+ MNT_NOWAIT = 0x2
-+ MNT_QUOTA = 0x2000
-+ MNT_RDONLY = 0x1
-+ MNT_RELOAD = 0x40000
-+ MNT_ROOTFS = 0x4000
-+ MNT_SOFTDEP = 0x4000000
-+ MNT_SYNCHRONOUS = 0x2
-+ MNT_UPDATE = 0x10000
-+ MNT_VISFLAGMASK = 0x400ffff
-+ MNT_WAIT = 0x1
-+ MNT_WANTRDWR = 0x2000000
-+ MNT_WXALLOWED = 0x800
- MSG_BCAST = 0x100
- MSG_CTRUNC = 0x20
- MSG_DONTROUTE = 0x4
-@@ -912,6 +948,7 @@ const (
- NET_RT_MAXID = 0x6
- NET_RT_STATS = 0x4
- NET_RT_TABLE = 0x5
-+ NFDBITS = 0x20
- NOFLSH = 0x80000000
- NOTE_ATTRIB = 0x8
- NOTE_CHILD = 0x4
-@@ -1210,6 +1247,34 @@ const (
- SO_TIMESTAMP = 0x800
- SO_TYPE = 0x1008
- SO_USELOOPBACK = 0x40
-+ 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
- TCIOFLUSH = 0x3
- TCOFLUSH = 0x2
-@@ -1453,132 +1518,140 @@ const (
- )
-
- // Error table
--var errors = [...]string{
-- 1: "operation not permitted",
-- 2: "no such file or directory",
-- 3: "no such process",
-- 4: "interrupted system call",
-- 5: "input/output error",
-- 6: "device not configured",
-- 7: "argument list too long",
-- 8: "exec format error",
-- 9: "bad file descriptor",
-- 10: "no child processes",
-- 11: "resource deadlock avoided",
-- 12: "cannot allocate memory",
-- 13: "permission denied",
-- 14: "bad address",
-- 15: "block device required",
-- 16: "device busy",
-- 17: "file exists",
-- 18: "cross-device link",
-- 19: "operation not supported by device",
-- 20: "not a directory",
-- 21: "is a directory",
-- 22: "invalid argument",
-- 23: "too many open files in system",
-- 24: "too many open files",
-- 25: "inappropriate ioctl for device",
-- 26: "text file busy",
-- 27: "file too large",
-- 28: "no space left on device",
-- 29: "illegal seek",
-- 30: "read-only file system",
-- 31: "too many links",
-- 32: "broken pipe",
-- 33: "numerical argument out of domain",
-- 34: "result too large",
-- 35: "resource temporarily unavailable",
-- 36: "operation now in progress",
-- 37: "operation already in progress",
-- 38: "socket operation on non-socket",
-- 39: "destination address required",
-- 40: "message too long",
-- 41: "protocol wrong type for socket",
-- 42: "protocol not available",
-- 43: "protocol not supported",
-- 44: "socket type not supported",
-- 45: "operation not supported",
-- 46: "protocol family not supported",
-- 47: "address family not supported by protocol family",
-- 48: "address already in use",
-- 49: "can't assign requested address",
-- 50: "network is down",
-- 51: "network is unreachable",
-- 52: "network dropped connection on reset",
-- 53: "software caused connection abort",
-- 54: "connection reset by peer",
-- 55: "no buffer space available",
-- 56: "socket is already connected",
-- 57: "socket is not connected",
-- 58: "can't send after socket shutdown",
-- 59: "too many references: can't splice",
-- 60: "connection timed out",
-- 61: "connection refused",
-- 62: "too many levels of symbolic links",
-- 63: "file name too long",
-- 64: "host is down",
-- 65: "no route to host",
-- 66: "directory not empty",
-- 67: "too many processes",
-- 68: "too many users",
-- 69: "disc quota exceeded",
-- 70: "stale NFS file handle",
-- 71: "too many levels of remote in path",
-- 72: "RPC struct is bad",
-- 73: "RPC version wrong",
-- 74: "RPC prog. not avail",
-- 75: "program version wrong",
-- 76: "bad procedure for program",
-- 77: "no locks available",
-- 78: "function not implemented",
-- 79: "inappropriate file type or format",
-- 80: "authentication error",
-- 81: "need authenticator",
-- 82: "IPsec processing failure",
-- 83: "attribute not found",
-- 84: "illegal byte sequence",
-- 85: "no medium found",
-- 86: "wrong medium type",
-- 87: "value too large to be stored in data type",
-- 88: "operation canceled",
-- 89: "identifier removed",
-- 90: "no message of desired type",
-- 91: "not supported",
-+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", "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, "ELAST", "not supported"},
- }
-
- // Signal table
--var signals = [...]string{
-- 1: "hangup",
-- 2: "interrupt",
-- 3: "quit",
-- 4: "illegal instruction",
-- 5: "trace/BPT trap",
-- 6: "abort trap",
-- 7: "EMT trap",
-- 8: "floating point exception",
-- 9: "killed",
-- 10: "bus error",
-- 11: "segmentation fault",
-- 12: "bad system call",
-- 13: "broken pipe",
-- 14: "alarm clock",
-- 15: "terminated",
-- 16: "urgent I/O condition",
-- 17: "stopped (signal)",
-- 18: "stopped",
-- 19: "continued",
-- 20: "child exited",
-- 21: "stopped (tty input)",
-- 22: "stopped (tty output)",
-- 23: "I/O possible",
-- 24: "cputime limit exceeded",
-- 25: "filesize limit exceeded",
-- 26: "virtual timer expired",
-- 27: "profiling timer expired",
-- 28: "window size changes",
-- 29: "information request",
-- 30: "user defined signal 1",
-- 31: "user defined signal 2",
-- 32: "thread AST",
-+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_amd64.go b/vendor/golang.org/x/sys/unix/zerrors_openbsd_amd64.go
-index 1758ecca..ffaf2d2f 100644
---- a/vendor/golang.org/x/sys/unix/zerrors_openbsd_amd64.go
-+++ b/vendor/golang.org/x/sys/unix/zerrors_openbsd_amd64.go
-@@ -1,9 +1,9 @@
- // mkerrors.sh -m64
--// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-+// Code generated by the command above; see README.md. DO NOT EDIT.
-
- // +build amd64,openbsd
-
--// Created by cgo -godefs - DO NOT EDIT
-+// Code generated by cmd/cgo -godefs; DO NOT EDIT.
- // cgo -godefs -- -m64 _const.go
-
- package unix
-@@ -45,6 +45,7 @@ const (
- AF_SNA = 0xb
- AF_UNIX = 0x1
- AF_UNSPEC = 0x0
-+ ALTWERASE = 0x200
- ARPHRD_ETHER = 0x1
- ARPHRD_FRELAY = 0xf
- ARPHRD_IEEE1394 = 0x18
-@@ -146,7 +147,14 @@ const (
- 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
- CREAD = 0x800
-+ CRTSCTS = 0x10000
- CS5 = 0x0
- CS6 = 0x100
- CS7 = 0x200
-@@ -157,6 +165,8 @@ const (
- CSTOP = 0x13
- CSTOPB = 0x400
- CSUSP = 0x1a
-+ CTL_HW = 0x6
-+ CTL_KERN = 0x1
- CTL_MAXNAME = 0xc
- CTL_NET = 0x4
- DIOCOSFPFLUSH = 0x2000444e
-@@ -175,6 +185,7 @@ const (
- DLT_LOOP = 0xc
- DLT_MPLS = 0xdb
- DLT_NULL = 0x0
-+ DLT_OPENFLOW = 0x10b
- DLT_PFLOG = 0x75
- DLT_PFSYNC = 0x12
- DLT_PPP = 0x9
-@@ -185,6 +196,23 @@ const (
- 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
-@@ -398,27 +426,38 @@ const (
- 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_PROC = -0x5
- EVFILT_READ = -0x1
- EVFILT_SIGNAL = -0x6
-- EVFILT_SYSCOUNT = 0x7
-+ EVFILT_SYSCOUNT = 0x8
- 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 = 0xf000
- EXTA = 0x4b00
- EXTB = 0x9600
-@@ -432,6 +471,7 @@ const (
- F_GETFL = 0x3
- F_GETLK = 0x7
- F_GETOWN = 0x5
-+ F_ISATTY = 0xb
- F_OK = 0x0
- F_RDLCK = 0x1
- F_SETFD = 0x2
-@@ -442,13 +482,13 @@ const (
- 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
-- IFA_ROUTE = 0x1
- IFF_ALLMULTI = 0x200
- IFF_BROADCAST = 0x2
- IFF_CANTCHANGE = 0x8e52
-@@ -459,12 +499,12 @@ const (
- 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_STATICARP = 0x20
- IFF_UP = 0x1
- IFNAMSIZ = 0x10
- IFT_1822 = 0x2
-@@ -593,6 +633,7 @@ const (
- IFT_LINEGROUP = 0xd2
- IFT_LOCALTALK = 0x2a
- IFT_LOOP = 0x18
-+ IFT_MBIM = 0xfa
- IFT_MEDIAMAILOVERIP = 0x8b
- IFT_MFSIGLINK = 0xa7
- IFT_MIOX25 = 0x26
-@@ -717,8 +758,6 @@ const (
- IPPROTO_AH = 0x33
- IPPROTO_CARP = 0x70
- IPPROTO_DIVERT = 0x102
-- IPPROTO_DIVERT_INIT = 0x2
-- IPPROTO_DIVERT_RESP = 0x1
- IPPROTO_DONE = 0x101
- IPPROTO_DSTOPTS = 0x3c
- IPPROTO_EGP = 0x8
-@@ -775,6 +814,7 @@ const (
- IPV6_LEAVE_GROUP = 0xd
- IPV6_MAXHLIM = 0xff
- IPV6_MAXPACKET = 0xffff
-+ IPV6_MINHOPCOUNT = 0x41
- IPV6_MMTU = 0x500
- IPV6_MULTICAST_HOPS = 0xa
- IPV6_MULTICAST_IF = 0x9
-@@ -814,12 +854,12 @@ const (
- IP_DEFAULT_MULTICAST_LOOP = 0x1
- IP_DEFAULT_MULTICAST_TTL = 0x1
- IP_DF = 0x4000
-- IP_DIVERTFL = 0x1022
- IP_DROP_MEMBERSHIP = 0xd
- IP_ESP_NETWORK_LEVEL = 0x16
- IP_ESP_TRANS_LEVEL = 0x15
- IP_HDRINCL = 0x2
- IP_IPCOMP_LEVEL = 0x1d
-+ IP_IPDEFTTL = 0x25
- IP_IPSECFLOWINFO = 0x24
- IP_IPSEC_LOCAL_AUTH = 0x1b
- IP_IPSEC_LOCAL_CRED = 0x19
-@@ -853,13 +893,19 @@ const (
- IP_RETOPTS = 0x8
- IP_RF = 0x8000
- IP_RTABLE = 0x1021
-+ IP_SENDSRCADDR = 0x7
- IP_TOS = 0x3
- IP_TTL = 0x4
- ISIG = 0x80
- ISTRIP = 0x20
-+ 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
-@@ -873,25 +919,57 @@ const (
- MADV_SPACEAVAIL = 0x5
- MADV_WILLNEED = 0x3
- MAP_ANON = 0x1000
-- MAP_COPY = 0x4
-+ MAP_ANONYMOUS = 0x1000
-+ MAP_CONCEAL = 0x8000
-+ MAP_COPY = 0x2
- MAP_FILE = 0x0
- MAP_FIXED = 0x10
-- MAP_FLAGMASK = 0x1ff7
-- MAP_HASSEMAPHORE = 0x200
-- MAP_INHERIT = 0x80
-+ MAP_FLAGMASK = 0xfff7
-+ MAP_HASSEMAPHORE = 0x0
-+ MAP_INHERIT = 0x0
- MAP_INHERIT_COPY = 0x1
-- MAP_INHERIT_DONATE_COPY = 0x3
- MAP_INHERIT_NONE = 0x2
- MAP_INHERIT_SHARE = 0x0
-- MAP_NOEXTEND = 0x100
-- MAP_NORESERVE = 0x40
-+ MAP_INHERIT_ZERO = 0x3
-+ MAP_NOEXTEND = 0x0
-+ MAP_NORESERVE = 0x0
- MAP_PRIVATE = 0x2
-- MAP_RENAME = 0x20
-+ MAP_RENAME = 0x0
- MAP_SHARED = 0x1
-- MAP_TRYFIXED = 0x400
-+ 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_SYNCHRONOUS = 0x2
-+ MNT_UPDATE = 0x10000
-+ MNT_VISFLAGMASK = 0x400ffff
-+ MNT_WAIT = 0x1
-+ MNT_WANTRDWR = 0x2000000
-+ MNT_WXALLOWED = 0x800
- MSG_BCAST = 0x100
-+ MSG_CMSG_CLOEXEC = 0x800
- MSG_CTRUNC = 0x20
- MSG_DONTROUTE = 0x4
- MSG_DONTWAIT = 0x80
-@@ -909,11 +987,15 @@ const (
- NET_RT_DUMP = 0x1
- NET_RT_FLAGS = 0x2
- NET_RT_IFLIST = 0x3
-- NET_RT_MAXID = 0x6
-+ NET_RT_IFNAMES = 0x6
-+ NET_RT_MAXID = 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
-@@ -932,11 +1014,13 @@ const (
- 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
-@@ -974,23 +1058,32 @@ 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
-+ 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 = 0xb
-+ 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
-@@ -998,34 +1091,39 @@ const (
- 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 = 0x10f808
-+ RTF_FMASK = 0x110fc08
- RTF_GATEWAY = 0x2
- RTF_HOST = 0x4
- RTF_LLINFO = 0x400
-- RTF_MASK = 0x80
-+ 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_SOURCE = 0x20000
- RTF_STATIC = 0x800
-- RTF_TUNNEL = 0x100000
- RTF_UP = 0x1
- RTF_USETRAILERS = 0x8000
-- RTF_XRESOLVE = 0x200
- RTM_ADD = 0x1
-+ RTM_BFD = 0x12
- RTM_CHANGE = 0x3
- RTM_DELADDR = 0xd
- RTM_DELETE = 0x2
-@@ -1033,11 +1131,13 @@ const (
- RTM_GET = 0x4
- RTM_IFANNOUNCE = 0xf
- RTM_IFINFO = 0xe
-+ RTM_INVALIDATE = 0x11
- RTM_LOCK = 0x8
- RTM_LOSING = 0x5
- RTM_MAXSIZE = 0x800
- RTM_MISS = 0x7
- RTM_NEWADDR = 0xc
-+ RTM_PROPOSAL = 0x13
- RTM_REDIRECT = 0x6
- RTM_RESOLVE = 0xb
- RTM_RTTUNIT = 0xf4240
-@@ -1050,6 +1150,8 @@ const (
- 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
-@@ -1062,55 +1164,55 @@ const (
- SIOCADDMULTI = 0x80206931
- SIOCAIFADDR = 0x8040691a
- SIOCAIFGROUP = 0x80286987
-- SIOCALIFADDR = 0x8218691c
- SIOCATMARK = 0x40047307
-- SIOCBRDGADD = 0x8058693c
-- SIOCBRDGADDS = 0x80586941
-- SIOCBRDGARL = 0x806e694d
-+ SIOCBRDGADD = 0x8060693c
-+ SIOCBRDGADDL = 0x80606949
-+ SIOCBRDGADDS = 0x80606941
-+ SIOCBRDGARL = 0x808c694d
- SIOCBRDGDADDR = 0x81286947
-- SIOCBRDGDEL = 0x8058693d
-- SIOCBRDGDELS = 0x80586942
-- SIOCBRDGFLUSH = 0x80586948
-- SIOCBRDGFRL = 0x806e694e
-- SIOCBRDGGCACHE = 0xc0146941
-- SIOCBRDGGFD = 0xc0146952
-- SIOCBRDGGHT = 0xc0146951
-- SIOCBRDGGIFFLGS = 0xc058693e
-- SIOCBRDGGMA = 0xc0146953
-+ SIOCBRDGDEL = 0x8060693d
-+ SIOCBRDGDELS = 0x80606942
-+ SIOCBRDGFLUSH = 0x80606948
-+ SIOCBRDGFRL = 0x808c694e
-+ SIOCBRDGGCACHE = 0xc0186941
-+ SIOCBRDGGFD = 0xc0186952
-+ SIOCBRDGGHT = 0xc0186951
-+ SIOCBRDGGIFFLGS = 0xc060693e
-+ SIOCBRDGGMA = 0xc0186953
- SIOCBRDGGPARAM = 0xc0406958
-- SIOCBRDGGPRI = 0xc0146950
-+ SIOCBRDGGPRI = 0xc0186950
- SIOCBRDGGRL = 0xc030694f
-- SIOCBRDGGSIFS = 0xc058693c
-- SIOCBRDGGTO = 0xc0146946
-- SIOCBRDGIFS = 0xc0586942
-+ SIOCBRDGGTO = 0xc0186946
-+ SIOCBRDGIFS = 0xc0606942
- SIOCBRDGRTS = 0xc0206943
- SIOCBRDGSADDR = 0xc1286944
-- SIOCBRDGSCACHE = 0x80146940
-- SIOCBRDGSFD = 0x80146952
-- SIOCBRDGSHT = 0x80146951
-- SIOCBRDGSIFCOST = 0x80586955
-- SIOCBRDGSIFFLGS = 0x8058693f
-- SIOCBRDGSIFPRIO = 0x80586954
-- SIOCBRDGSMA = 0x80146953
-- SIOCBRDGSPRI = 0x80146950
-- SIOCBRDGSPROTO = 0x8014695a
-- SIOCBRDGSTO = 0x80146945
-- SIOCBRDGSTXHC = 0x80146959
-+ SIOCBRDGSCACHE = 0x80186940
-+ SIOCBRDGSFD = 0x80186952
-+ SIOCBRDGSHT = 0x80186951
-+ SIOCBRDGSIFCOST = 0x80606955
-+ SIOCBRDGSIFFLGS = 0x8060693f
-+ SIOCBRDGSIFPRIO = 0x80606954
-+ SIOCBRDGSIFPROT = 0x8060694a
-+ SIOCBRDGSMA = 0x80186953
-+ SIOCBRDGSPRI = 0x80186950
-+ SIOCBRDGSPROTO = 0x8018695a
-+ SIOCBRDGSTO = 0x80186945
-+ SIOCBRDGSTXHC = 0x80186959
- SIOCDELMULTI = 0x80206932
- SIOCDIFADDR = 0x80206919
- SIOCDIFGROUP = 0x80286989
-+ SIOCDIFPARENT = 0x802069b4
- SIOCDIFPHYADDR = 0x80206949
-- SIOCDLIFADDR = 0x8218691e
-+ SIOCDVNETID = 0x802069af
- SIOCGETKALIVE = 0xc01869a4
- SIOCGETLABEL = 0x8020699a
-+ SIOCGETMPWCFG = 0xc02069ae
- SIOCGETPFLOW = 0xc02069fe
- SIOCGETPFSYNC = 0xc02069f8
- SIOCGETSGCNT = 0xc0207534
- SIOCGETVIFCNT = 0xc0287533
- SIOCGETVLAN = 0xc0206990
-- SIOCGHIWAT = 0x40047301
- SIOCGIFADDR = 0xc0206921
-- SIOCGIFASYNCMAP = 0xc020697c
- SIOCGIFBRDADDR = 0xc0206923
- SIOCGIFCONF = 0xc0106924
- SIOCGIFDATA = 0xc020691b
-@@ -1122,37 +1224,41 @@ const (
- SIOCGIFGMEMB = 0xc028698a
- SIOCGIFGROUP = 0xc0286988
- SIOCGIFHARDMTU = 0xc02069a5
-- SIOCGIFMEDIA = 0xc0306936
-+ SIOCGIFLLPRIO = 0xc02069b6
-+ SIOCGIFMEDIA = 0xc0406938
- SIOCGIFMETRIC = 0xc0206917
- SIOCGIFMTU = 0xc020697e
- SIOCGIFNETMASK = 0xc0206925
-- SIOCGIFPDSTADDR = 0xc0206948
-+ SIOCGIFPAIR = 0xc02069b1
-+ SIOCGIFPARENT = 0xc02069b3
- SIOCGIFPRIORITY = 0xc020699c
-- SIOCGIFPSRCADDR = 0xc0206947
- SIOCGIFRDOMAIN = 0xc02069a0
- SIOCGIFRTLABEL = 0xc0206983
-- SIOCGIFTIMESLOT = 0xc0206986
-+ SIOCGIFRXR = 0x802069aa
- SIOCGIFXFLAGS = 0xc020699e
-- SIOCGLIFADDR = 0xc218691d
- SIOCGLIFPHYADDR = 0xc218694b
-+ SIOCGLIFPHYDF = 0xc02069c2
- SIOCGLIFPHYRTABLE = 0xc02069a2
- SIOCGLIFPHYTTL = 0xc02069a9
-- SIOCGLOWAT = 0x40047303
- SIOCGPGRP = 0x40047309
- SIOCGSPPPPARAMS = 0xc0206994
-+ 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
-- SIOCSHIWAT = 0x80047300
- SIOCSIFADDR = 0x8020690c
-- SIOCSIFASYNCMAP = 0x8020697d
- SIOCSIFBRDADDR = 0x80206913
- SIOCSIFDESCR = 0x80206980
- SIOCSIFDSTADDR = 0x8020690e
-@@ -1160,25 +1266,36 @@ const (
- SIOCSIFGATTR = 0x8028698c
- SIOCSIFGENERIC = 0x80206939
- SIOCSIFLLADDR = 0x8020691f
-- SIOCSIFMEDIA = 0xc0206935
-+ SIOCSIFLLPRIO = 0x802069b5
-+ SIOCSIFMEDIA = 0xc0206937
- SIOCSIFMETRIC = 0x80206918
- SIOCSIFMTU = 0x8020697f
- SIOCSIFNETMASK = 0x80206916
-- SIOCSIFPHYADDR = 0x80406946
-+ SIOCSIFPAIR = 0x802069b0
-+ SIOCSIFPARENT = 0x802069b2
- SIOCSIFPRIORITY = 0x8020699b
- SIOCSIFRDOMAIN = 0x8020699f
- SIOCSIFRTLABEL = 0x80206982
-- SIOCSIFTIMESLOT = 0x80206985
- SIOCSIFXFLAGS = 0x8020699d
- SIOCSLIFPHYADDR = 0x8218694a
-+ SIOCSLIFPHYDF = 0x802069c1
- SIOCSLIFPHYRTABLE = 0x802069a1
- SIOCSLIFPHYTTL = 0x802069a8
-- SIOCSLOWAT = 0x80047302
- SIOCSPGRP = 0x80047308
- SIOCSSPPPPARAMS = 0x80206993
-+ SIOCSUMBPARAM = 0x802069bf
- SIOCSVH = 0xc02069f5
-+ SIOCSVNETFLOWID = 0x802069c3
- SIOCSVNETID = 0x802069a6
-+ SIOCSWGDPID = 0xc018695b
-+ SIOCSWGMAXFLOW = 0xc0186960
-+ SIOCSWGMAXGROUP = 0xc018695d
-+ SIOCSWSDPID = 0x8018695c
-+ SIOCSWSPORTNO = 0xc060695f
-+ SOCK_CLOEXEC = 0x8000
- SOCK_DGRAM = 0x2
-+ SOCK_DNS = 0x1000
-+ SOCK_NONBLOCK = 0x4000
- SOCK_RAW = 0x3
- SOCK_RDM = 0x4
- SOCK_SEQPACKET = 0x5
-@@ -1209,9 +1326,42 @@ const (
- 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
- TCP_MAXBURST = 0x4
- TCP_MAXSEG = 0x2
- TCP_MAXWIN = 0xffff
-@@ -1221,11 +1371,12 @@ const (
- TCP_MSS = 0x200
- TCP_NODELAY = 0x1
- TCP_NOPUSH = 0x10
-- TCP_NSTATES = 0xb
- TCP_SACK_ENABLE = 0x8
- TCSAFLUSH = 0x2
- TIOCCBRK = 0x2000747a
- TIOCCDTR = 0x20007478
-+ TIOCCHKVERAUTH = 0x2000741e
-+ TIOCCLRVERAUTH = 0x2000741d
- TIOCCONS = 0x80047462
- TIOCDRAIN = 0x2000745e
- TIOCEXCL = 0x2000740d
-@@ -1280,17 +1431,22 @@ const (
- TIOCSETAF = 0x802c7416
- TIOCSETAW = 0x802c7415
- TIOCSETD = 0x8004741b
-+ TIOCSETVERAUTH = 0x8004741c
- TIOCSFLAGS = 0x8004745c
- TIOCSIG = 0x8004745f
- TIOCSPGRP = 0x80047476
- TIOCSTART = 0x2000746e
-- TIOCSTAT = 0x80047465
-+ TIOCSTAT = 0x20007465
- TIOCSTI = 0x80017472
- 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
-@@ -1301,6 +1457,18 @@ const (
- VKILL = 0x5
- VLNEXT = 0xe
- VMIN = 0x10
-+ VM_ANONMIN = 0x7
-+ VM_LOADAVG = 0x2
-+ VM_MAXID = 0xc
-+ 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
-@@ -1313,8 +1481,8 @@ const (
- WCONTINUED = 0x8
- WCOREFLAG = 0x80
- WNOHANG = 0x1
-- WSTOPPED = 0x7f
- WUNTRACED = 0x2
-+ XCASE = 0x1000000
- )
-
- // Errors
-@@ -1328,6 +1496,7 @@ const (
- 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)
-@@ -1354,7 +1523,7 @@ const (
- EIPSEC = syscall.Errno(0x52)
- EISCONN = syscall.Errno(0x38)
- EISDIR = syscall.Errno(0x15)
-- ELAST = syscall.Errno(0x5b)
-+ ELAST = syscall.Errno(0x5f)
- ELOOP = syscall.Errno(0x3e)
- EMEDIUMTYPE = syscall.Errno(0x56)
- EMFILE = syscall.Errno(0x18)
-@@ -1382,12 +1551,14 @@ const (
- 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)
-@@ -1395,6 +1566,7 @@ const (
- 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)
-@@ -1452,132 +1624,144 @@ const (
- )
-
- // Error table
--var errors = [...]string{
-- 1: "operation not permitted",
-- 2: "no such file or directory",
-- 3: "no such process",
-- 4: "interrupted system call",
-- 5: "input/output error",
-- 6: "device not configured",
-- 7: "argument list too long",
-- 8: "exec format error",
-- 9: "bad file descriptor",
-- 10: "no child processes",
-- 11: "resource deadlock avoided",
-- 12: "cannot allocate memory",
-- 13: "permission denied",
-- 14: "bad address",
-- 15: "block device required",
-- 16: "device busy",
-- 17: "file exists",
-- 18: "cross-device link",
-- 19: "operation not supported by device",
-- 20: "not a directory",
-- 21: "is a directory",
-- 22: "invalid argument",
-- 23: "too many open files in system",
-- 24: "too many open files",
-- 25: "inappropriate ioctl for device",
-- 26: "text file busy",
-- 27: "file too large",
-- 28: "no space left on device",
-- 29: "illegal seek",
-- 30: "read-only file system",
-- 31: "too many links",
-- 32: "broken pipe",
-- 33: "numerical argument out of domain",
-- 34: "result too large",
-- 35: "resource temporarily unavailable",
-- 36: "operation now in progress",
-- 37: "operation already in progress",
-- 38: "socket operation on non-socket",
-- 39: "destination address required",
-- 40: "message too long",
-- 41: "protocol wrong type for socket",
-- 42: "protocol not available",
-- 43: "protocol not supported",
-- 44: "socket type not supported",
-- 45: "operation not supported",
-- 46: "protocol family not supported",
-- 47: "address family not supported by protocol family",
-- 48: "address already in use",
-- 49: "can't assign requested address",
-- 50: "network is down",
-- 51: "network is unreachable",
-- 52: "network dropped connection on reset",
-- 53: "software caused connection abort",
-- 54: "connection reset by peer",
-- 55: "no buffer space available",
-- 56: "socket is already connected",
-- 57: "socket is not connected",
-- 58: "can't send after socket shutdown",
-- 59: "too many references: can't splice",
-- 60: "connection timed out",
-- 61: "connection refused",
-- 62: "too many levels of symbolic links",
-- 63: "file name too long",
-- 64: "host is down",
-- 65: "no route to host",
-- 66: "directory not empty",
-- 67: "too many processes",
-- 68: "too many users",
-- 69: "disc quota exceeded",
-- 70: "stale NFS file handle",
-- 71: "too many levels of remote in path",
-- 72: "RPC struct is bad",
-- 73: "RPC version wrong",
-- 74: "RPC prog. not avail",
-- 75: "program version wrong",
-- 76: "bad procedure for program",
-- 77: "no locks available",
-- 78: "function not implemented",
-- 79: "inappropriate file type or format",
-- 80: "authentication error",
-- 81: "need authenticator",
-- 82: "IPsec processing failure",
-- 83: "attribute not found",
-- 84: "illegal byte sequence",
-- 85: "no medium found",
-- 86: "wrong medium type",
-- 87: "value too large to be stored in data type",
-- 88: "operation canceled",
-- 89: "identifier removed",
-- 90: "no message of desired type",
-- 91: "not supported",
-+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 signals = [...]string{
-- 1: "hangup",
-- 2: "interrupt",
-- 3: "quit",
-- 4: "illegal instruction",
-- 5: "trace/BPT trap",
-- 6: "abort trap",
-- 7: "EMT trap",
-- 8: "floating point exception",
-- 9: "killed",
-- 10: "bus error",
-- 11: "segmentation fault",
-- 12: "bad system call",
-- 13: "broken pipe",
-- 14: "alarm clock",
-- 15: "terminated",
-- 16: "urgent I/O condition",
-- 17: "stopped (signal)",
-- 18: "stopped",
-- 19: "continued",
-- 20: "child exited",
-- 21: "stopped (tty input)",
-- 22: "stopped (tty output)",
-- 23: "I/O possible",
-- 24: "cputime limit exceeded",
-- 25: "filesize limit exceeded",
-- 26: "virtual timer expired",
-- 27: "profiling timer expired",
-- 28: "window size changes",
-- 29: "information request",
-- 30: "user defined signal 1",
-- 31: "user defined signal 2",
-- 32: "thread AST",
-+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_arm.go b/vendor/golang.org/x/sys/unix/zerrors_openbsd_arm.go
-index 3ed0b260..7aa796a6 100644
---- a/vendor/golang.org/x/sys/unix/zerrors_openbsd_arm.go
-+++ b/vendor/golang.org/x/sys/unix/zerrors_openbsd_arm.go
-@@ -1,11 +1,11 @@
- // mkerrors.sh
--// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
--
--// Created by cgo -godefs - DO NOT EDIT
--// cgo -godefs -- _const.go
-+// Code generated by the command above; see README.md. DO NOT EDIT.
-
- // +build arm,openbsd
-
-+// Code generated by cmd/cgo -godefs; DO NOT EDIT.
-+// cgo -godefs -- _const.go
-+
- package unix
-
- import "syscall"
-@@ -147,6 +147,7 @@ const (
- CFLUSH = 0xf
- CLOCAL = 0x8000
- CREAD = 0x800
-+ CRTSCTS = 0x10000
- CS5 = 0x0
- CS6 = 0x100
- CS7 = 0x200
-@@ -157,6 +158,8 @@ const (
- CSTOP = 0x13
- CSTOPB = 0x400
- CSUSP = 0x1a
-+ CTL_HW = 0x6
-+ CTL_KERN = 0x1
- CTL_MAXNAME = 0xc
- CTL_NET = 0x4
- DIOCOSFPFLUSH = 0x2000444e
-@@ -441,6 +444,7 @@ const (
- F_UNLCK = 0x2
- F_WRLCK = 0x3
- HUPCL = 0x4000
-+ HW_MACHINE = 0x1
- ICANON = 0x100
- ICMP6_FILTER = 0x12
- ICRNL = 0x100
-@@ -859,6 +863,10 @@ const (
- 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
-@@ -873,10 +881,11 @@ const (
- MADV_WILLNEED = 0x3
- MAP_ANON = 0x1000
- MAP_ANONYMOUS = 0x1000
-+ MAP_CONCEAL = 0x8000
- MAP_COPY = 0x2
- MAP_FILE = 0x0
- MAP_FIXED = 0x10
-- MAP_FLAGMASK = 0x3ff7
-+ MAP_FLAGMASK = 0xfff7
- MAP_HASSEMAPHORE = 0x0
- MAP_INHERIT = 0x0
- MAP_INHERIT_COPY = 0x1
-@@ -888,9 +897,36 @@ const (
- 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_NOSUID = 0x8
-+ MNT_NOWAIT = 0x2
-+ MNT_QUOTA = 0x2000
-+ MNT_RDONLY = 0x1
-+ MNT_RELOAD = 0x40000
-+ MNT_ROOTFS = 0x4000
-+ MNT_SOFTDEP = 0x4000000
-+ MNT_SYNCHRONOUS = 0x2
-+ MNT_UPDATE = 0x10000
-+ MNT_VISFLAGMASK = 0x400ffff
-+ MNT_WAIT = 0x1
-+ MNT_WANTRDWR = 0x2000000
-+ MNT_WXALLOWED = 0x800
- MSG_BCAST = 0x100
- MSG_CMSG_CLOEXEC = 0x800
- MSG_CTRUNC = 0x20
-@@ -913,6 +949,7 @@ const (
- NET_RT_MAXID = 0x6
- NET_RT_STATS = 0x4
- NET_RT_TABLE = 0x5
-+ NFDBITS = 0x20
- NOFLSH = 0x80000000
- NOTE_ATTRIB = 0x8
- NOTE_CHILD = 0x4
-@@ -1213,6 +1250,34 @@ const (
- SO_TIMESTAMP = 0x800
- SO_TYPE = 0x1008
- SO_USELOOPBACK = 0x40
-+ 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
- TCIOFLUSH = 0x3
- TCOFLUSH = 0x2
-@@ -1455,132 +1520,140 @@ const (
- )
-
- // Error table
--var errors = [...]string{
-- 1: "operation not permitted",
-- 2: "no such file or directory",
-- 3: "no such process",
-- 4: "interrupted system call",
-- 5: "input/output error",
-- 6: "device not configured",
-- 7: "argument list too long",
-- 8: "exec format error",
-- 9: "bad file descriptor",
-- 10: "no child processes",
-- 11: "resource deadlock avoided",
-- 12: "cannot allocate memory",
-- 13: "permission denied",
-- 14: "bad address",
-- 15: "block device required",
-- 16: "device busy",
-- 17: "file exists",
-- 18: "cross-device link",
-- 19: "operation not supported by device",
-- 20: "not a directory",
-- 21: "is a directory",
-- 22: "invalid argument",
-- 23: "too many open files in system",
-- 24: "too many open files",
-- 25: "inappropriate ioctl for device",
-- 26: "text file busy",
-- 27: "file too large",
-- 28: "no space left on device",
-- 29: "illegal seek",
-- 30: "read-only file system",
-- 31: "too many links",
-- 32: "broken pipe",
-- 33: "numerical argument out of domain",
-- 34: "result too large",
-- 35: "resource temporarily unavailable",
-- 36: "operation now in progress",
-- 37: "operation already in progress",
-- 38: "socket operation on non-socket",
-- 39: "destination address required",
-- 40: "message too long",
-- 41: "protocol wrong type for socket",
-- 42: "protocol not available",
-- 43: "protocol not supported",
-- 44: "socket type not supported",
-- 45: "operation not supported",
-- 46: "protocol family not supported",
-- 47: "address family not supported by protocol family",
-- 48: "address already in use",
-- 49: "can't assign requested address",
-- 50: "network is down",
-- 51: "network is unreachable",
-- 52: "network dropped connection on reset",
-- 53: "software caused connection abort",
-- 54: "connection reset by peer",
-- 55: "no buffer space available",
-- 56: "socket is already connected",
-- 57: "socket is not connected",
-- 58: "can't send after socket shutdown",
-- 59: "too many references: can't splice",
-- 60: "connection timed out",
-- 61: "connection refused",
-- 62: "too many levels of symbolic links",
-- 63: "file name too long",
-- 64: "host is down",
-- 65: "no route to host",
-- 66: "directory not empty",
-- 67: "too many processes",
-- 68: "too many users",
-- 69: "disc quota exceeded",
-- 70: "stale NFS file handle",
-- 71: "too many levels of remote in path",
-- 72: "RPC struct is bad",
-- 73: "RPC version wrong",
-- 74: "RPC prog. not avail",
-- 75: "program version wrong",
-- 76: "bad procedure for program",
-- 77: "no locks available",
-- 78: "function not implemented",
-- 79: "inappropriate file type or format",
-- 80: "authentication error",
-- 81: "need authenticator",
-- 82: "IPsec processing failure",
-- 83: "attribute not found",
-- 84: "illegal byte sequence",
-- 85: "no medium found",
-- 86: "wrong medium type",
-- 87: "value too large to be stored in data type",
-- 88: "operation canceled",
-- 89: "identifier removed",
-- 90: "no message of desired type",
-- 91: "not supported",
-+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", "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, "ELAST", "not supported"},
- }
-
- // Signal table
--var signals = [...]string{
-- 1: "hangup",
-- 2: "interrupt",
-- 3: "quit",
-- 4: "illegal instruction",
-- 5: "trace/BPT trap",
-- 6: "abort trap",
-- 7: "EMT trap",
-- 8: "floating point exception",
-- 9: "killed",
-- 10: "bus error",
-- 11: "segmentation fault",
-- 12: "bad system call",
-- 13: "broken pipe",
-- 14: "alarm clock",
-- 15: "terminated",
-- 16: "urgent I/O condition",
-- 17: "stopped (signal)",
-- 18: "stopped",
-- 19: "continued",
-- 20: "child exited",
-- 21: "stopped (tty input)",
-- 22: "stopped (tty output)",
-- 23: "I/O possible",
-- 24: "cputime limit exceeded",
-- 25: "filesize limit exceeded",
-- 26: "virtual timer expired",
-- 27: "profiling timer expired",
-- 28: "window size changes",
-- 29: "information request",
-- 30: "user defined signal 1",
-- 31: "user defined signal 2",
-- 32: "thread AST",
-+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_amd64.go b/vendor/golang.org/x/sys/unix/zerrors_openbsd_arm64.go
-similarity index 76%
-copy from vendor/golang.org/x/sys/unix/zerrors_openbsd_amd64.go
-copy to vendor/golang.org/x/sys/unix/zerrors_openbsd_arm64.go
-index 1758ecca..1792d3f1 100644
---- a/vendor/golang.org/x/sys/unix/zerrors_openbsd_amd64.go
-+++ b/vendor/golang.org/x/sys/unix/zerrors_openbsd_arm64.go
-@@ -1,9 +1,9 @@
- // mkerrors.sh -m64
--// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
-+// Code generated by the command above; see README.md. DO NOT EDIT.
-
--// +build amd64,openbsd
-+// +build arm64,openbsd
-
--// Created by cgo -godefs - DO NOT EDIT
-+// Code generated by cmd/cgo -godefs; DO NOT EDIT.
- // cgo -godefs -- -m64 _const.go
-
- package unix
-@@ -45,6 +45,7 @@ const (
- AF_SNA = 0xb
- AF_UNIX = 0x1
- AF_UNSPEC = 0x0
-+ ALTWERASE = 0x200
- ARPHRD_ETHER = 0x1
- ARPHRD_FRELAY = 0xf
- ARPHRD_IEEE1394 = 0x18
-@@ -107,6 +108,9 @@ const (
- BPF_DIRECTION_IN = 0x1
- BPF_DIRECTION_OUT = 0x2
- BPF_DIV = 0x30
-+ BPF_FILDROP_CAPTURE = 0x1
-+ BPF_FILDROP_DROP = 0x2
-+ BPF_FILDROP_PASS = 0x0
- BPF_H = 0x8
- BPF_IMM = 0x0
- BPF_IND = 0x40
-@@ -146,7 +150,14 @@ const (
- 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
- CREAD = 0x800
-+ CRTSCTS = 0x10000
- CS5 = 0x0
- CS6 = 0x100
- CS7 = 0x200
-@@ -157,6 +168,8 @@ const (
- CSTOP = 0x13
- CSTOPB = 0x400
- CSUSP = 0x1a
-+ CTL_HW = 0x6
-+ CTL_KERN = 0x1
- CTL_MAXNAME = 0xc
- CTL_NET = 0x4
- DIOCOSFPFLUSH = 0x2000444e
-@@ -175,6 +188,7 @@ const (
- DLT_LOOP = 0xc
- DLT_MPLS = 0xdb
- DLT_NULL = 0x0
-+ DLT_OPENFLOW = 0x10b
- DLT_PFLOG = 0x75
- DLT_PFSYNC = 0x12
- DLT_PPP = 0x9
-@@ -185,6 +199,23 @@ const (
- 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
-@@ -324,6 +355,7 @@ const (
- ETHERTYPE_OS9NET = 0x7009
- ETHERTYPE_PACER = 0x80c6
- ETHERTYPE_PAE = 0x888e
-+ ETHERTYPE_PBB = 0x88e7
- ETHERTYPE_PCS = 0x4242
- ETHERTYPE_PLANNING = 0x8044
- ETHERTYPE_PPP = 0x880b
-@@ -398,27 +430,38 @@ const (
- 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_PROC = -0x5
- EVFILT_READ = -0x1
- EVFILT_SIGNAL = -0x6
-- EVFILT_SYSCOUNT = 0x7
-+ EVFILT_SYSCOUNT = 0x8
- 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 = 0xf000
- EXTA = 0x4b00
- EXTB = 0x9600
-@@ -432,6 +475,7 @@ const (
- F_GETFL = 0x3
- F_GETLK = 0x7
- F_GETOWN = 0x5
-+ F_ISATTY = 0xb
- F_OK = 0x0
- F_RDLCK = 0x1
- F_SETFD = 0x2
-@@ -442,13 +486,13 @@ const (
- 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
-- IFA_ROUTE = 0x1
- IFF_ALLMULTI = 0x200
- IFF_BROADCAST = 0x2
- IFF_CANTCHANGE = 0x8e52
-@@ -459,12 +503,12 @@ const (
- 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_STATICARP = 0x20
- IFF_UP = 0x1
- IFNAMSIZ = 0x10
- IFT_1822 = 0x2
-@@ -593,6 +637,7 @@ const (
- IFT_LINEGROUP = 0xd2
- IFT_LOCALTALK = 0x2a
- IFT_LOOP = 0x18
-+ IFT_MBIM = 0xfa
- IFT_MEDIAMAILOVERIP = 0x8b
- IFT_MFSIGLINK = 0xa7
- IFT_MIOX25 = 0x26
-@@ -717,8 +762,6 @@ const (
- IPPROTO_AH = 0x33
- IPPROTO_CARP = 0x70
- IPPROTO_DIVERT = 0x102
-- IPPROTO_DIVERT_INIT = 0x2
-- IPPROTO_DIVERT_RESP = 0x1
- IPPROTO_DONE = 0x101
- IPPROTO_DSTOPTS = 0x3c
- IPPROTO_EGP = 0x8
-@@ -775,6 +818,7 @@ const (
- IPV6_LEAVE_GROUP = 0xd
- IPV6_MAXHLIM = 0xff
- IPV6_MAXPACKET = 0xffff
-+ IPV6_MINHOPCOUNT = 0x41
- IPV6_MMTU = 0x500
- IPV6_MULTICAST_HOPS = 0xa
- IPV6_MULTICAST_IF = 0x9
-@@ -814,12 +858,12 @@ const (
- IP_DEFAULT_MULTICAST_LOOP = 0x1
- IP_DEFAULT_MULTICAST_TTL = 0x1
- IP_DF = 0x4000
-- IP_DIVERTFL = 0x1022
- IP_DROP_MEMBERSHIP = 0xd
- IP_ESP_NETWORK_LEVEL = 0x16
- IP_ESP_TRANS_LEVEL = 0x15
- IP_HDRINCL = 0x2
- IP_IPCOMP_LEVEL = 0x1d
-+ IP_IPDEFTTL = 0x25
- IP_IPSECFLOWINFO = 0x24
- IP_IPSEC_LOCAL_AUTH = 0x1b
- IP_IPSEC_LOCAL_CRED = 0x19
-@@ -853,13 +897,19 @@ const (
- IP_RETOPTS = 0x8
- IP_RF = 0x8000
- IP_RTABLE = 0x1021
-+ IP_SENDSRCADDR = 0x7
- IP_TOS = 0x3
- IP_TTL = 0x4
- ISIG = 0x80
- ISTRIP = 0x20
-+ 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
-@@ -873,25 +923,58 @@ const (
- MADV_SPACEAVAIL = 0x5
- MADV_WILLNEED = 0x3
- MAP_ANON = 0x1000
-- MAP_COPY = 0x4
-+ MAP_ANONYMOUS = 0x1000
-+ MAP_CONCEAL = 0x8000
-+ MAP_COPY = 0x2
- MAP_FILE = 0x0
- MAP_FIXED = 0x10
-- MAP_FLAGMASK = 0x1ff7
-- MAP_HASSEMAPHORE = 0x200
-- MAP_INHERIT = 0x80
-+ MAP_FLAGMASK = 0xfff7
-+ MAP_HASSEMAPHORE = 0x0
-+ MAP_INHERIT = 0x0
- MAP_INHERIT_COPY = 0x1
-- MAP_INHERIT_DONATE_COPY = 0x3
- MAP_INHERIT_NONE = 0x2
- MAP_INHERIT_SHARE = 0x0
-- MAP_NOEXTEND = 0x100
-- MAP_NORESERVE = 0x40
-+ MAP_INHERIT_ZERO = 0x3
-+ MAP_NOEXTEND = 0x0
-+ MAP_NORESERVE = 0x0
- MAP_PRIVATE = 0x2
-- MAP_RENAME = 0x20
-+ MAP_RENAME = 0x0
- MAP_SHARED = 0x1
-- MAP_TRYFIXED = 0x400
-+ 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
- MSG_BCAST = 0x100
-+ MSG_CMSG_CLOEXEC = 0x800
- MSG_CTRUNC = 0x20
- MSG_DONTROUTE = 0x4
- MSG_DONTWAIT = 0x80
-@@ -909,11 +992,15 @@ const (
- NET_RT_DUMP = 0x1
- NET_RT_FLAGS = 0x2
- NET_RT_IFLIST = 0x3
-- NET_RT_MAXID = 0x6
-+ NET_RT_IFNAMES = 0x6
-+ NET_RT_MAXID = 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
-@@ -932,11 +1019,13 @@ const (
- 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
-@@ -974,23 +1063,32 @@ 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
-+ 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 = 0xb
-+ 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
-@@ -998,46 +1096,54 @@ const (
- 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 = 0x10f808
-+ RTF_FMASK = 0x110fc08
- RTF_GATEWAY = 0x2
- RTF_HOST = 0x4
- RTF_LLINFO = 0x400
-- RTF_MASK = 0x80
-+ 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_SOURCE = 0x20000
- RTF_STATIC = 0x800
-- RTF_TUNNEL = 0x100000
- RTF_UP = 0x1
- RTF_USETRAILERS = 0x8000
-- RTF_XRESOLVE = 0x200
-+ 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_LOCK = 0x8
-+ 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_RTTUNIT = 0xf4240
-@@ -1050,6 +1156,8 @@ const (
- 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
-@@ -1062,55 +1170,57 @@ const (
- SIOCADDMULTI = 0x80206931
- SIOCAIFADDR = 0x8040691a
- SIOCAIFGROUP = 0x80286987
-- SIOCALIFADDR = 0x8218691c
- SIOCATMARK = 0x40047307
-- SIOCBRDGADD = 0x8058693c
-- SIOCBRDGADDS = 0x80586941
-- SIOCBRDGARL = 0x806e694d
-+ SIOCBRDGADD = 0x8060693c
-+ SIOCBRDGADDL = 0x80606949
-+ SIOCBRDGADDS = 0x80606941
-+ SIOCBRDGARL = 0x808c694d
- SIOCBRDGDADDR = 0x81286947
-- SIOCBRDGDEL = 0x8058693d
-- SIOCBRDGDELS = 0x80586942
-- SIOCBRDGFLUSH = 0x80586948
-- SIOCBRDGFRL = 0x806e694e
-- SIOCBRDGGCACHE = 0xc0146941
-- SIOCBRDGGFD = 0xc0146952
-- SIOCBRDGGHT = 0xc0146951
-- SIOCBRDGGIFFLGS = 0xc058693e
-- SIOCBRDGGMA = 0xc0146953
-+ SIOCBRDGDEL = 0x8060693d
-+ SIOCBRDGDELS = 0x80606942
-+ SIOCBRDGFLUSH = 0x80606948
-+ SIOCBRDGFRL = 0x808c694e
-+ SIOCBRDGGCACHE = 0xc0186941
-+ SIOCBRDGGFD = 0xc0186952
-+ SIOCBRDGGHT = 0xc0186951
-+ SIOCBRDGGIFFLGS = 0xc060693e
-+ SIOCBRDGGMA = 0xc0186953
- SIOCBRDGGPARAM = 0xc0406958
-- SIOCBRDGGPRI = 0xc0146950
-+ SIOCBRDGGPRI = 0xc0186950
- SIOCBRDGGRL = 0xc030694f
-- SIOCBRDGGSIFS = 0xc058693c
-- SIOCBRDGGTO = 0xc0146946
-- SIOCBRDGIFS = 0xc0586942
-+ SIOCBRDGGTO = 0xc0186946
-+ SIOCBRDGIFS = 0xc0606942
- SIOCBRDGRTS = 0xc0206943
- SIOCBRDGSADDR = 0xc1286944
-- SIOCBRDGSCACHE = 0x80146940
-- SIOCBRDGSFD = 0x80146952
-- SIOCBRDGSHT = 0x80146951
-- SIOCBRDGSIFCOST = 0x80586955
-- SIOCBRDGSIFFLGS = 0x8058693f
-- SIOCBRDGSIFPRIO = 0x80586954
-- SIOCBRDGSMA = 0x80146953
-- SIOCBRDGSPRI = 0x80146950
-- SIOCBRDGSPROTO = 0x8014695a
-- SIOCBRDGSTO = 0x80146945
-- SIOCBRDGSTXHC = 0x80146959
-+ SIOCBRDGSCACHE = 0x80186940
-+ SIOCBRDGSFD = 0x80186952
-+ SIOCBRDGSHT = 0x80186951
-+ SIOCBRDGSIFCOST = 0x80606955
-+ SIOCBRDGSIFFLGS = 0x8060693f
-+ SIOCBRDGSIFPRIO = 0x80606954
-+ SIOCBRDGSIFPROT = 0x8060694a
-+ SIOCBRDGSMA = 0x80186953
-+ SIOCBRDGSPRI = 0x80186950
-+ SIOCBRDGSPROTO = 0x8018695a
-+ SIOCBRDGSTO = 0x80186945
-+ SIOCBRDGSTXHC = 0x80186959
-+ SIOCDELLABEL = 0x80206997
- SIOCDELMULTI = 0x80206932
- SIOCDIFADDR = 0x80206919
- SIOCDIFGROUP = 0x80286989
-+ SIOCDIFPARENT = 0x802069b4
- SIOCDIFPHYADDR = 0x80206949
-- SIOCDLIFADDR = 0x8218691e
-+ SIOCDPWE3NEIGHBOR = 0x802069de
-+ SIOCDVNETID = 0x802069af
- SIOCGETKALIVE = 0xc01869a4
- SIOCGETLABEL = 0x8020699a
-+ SIOCGETMPWCFG = 0xc02069ae
- SIOCGETPFLOW = 0xc02069fe
- SIOCGETPFSYNC = 0xc02069f8
- SIOCGETSGCNT = 0xc0207534
- SIOCGETVIFCNT = 0xc0287533
- SIOCGETVLAN = 0xc0206990
-- SIOCGHIWAT = 0x40047301
- SIOCGIFADDR = 0xc0206921
-- SIOCGIFASYNCMAP = 0xc020697c
- SIOCGIFBRDADDR = 0xc0206923
- SIOCGIFCONF = 0xc0106924
- SIOCGIFDATA = 0xc020691b
-@@ -1119,40 +1229,52 @@ const (
- SIOCGIFFLAGS = 0xc0206911
- SIOCGIFGATTR = 0xc028698b
- SIOCGIFGENERIC = 0xc020693a
-+ SIOCGIFGLIST = 0xc028698d
- SIOCGIFGMEMB = 0xc028698a
- SIOCGIFGROUP = 0xc0286988
- SIOCGIFHARDMTU = 0xc02069a5
-- SIOCGIFMEDIA = 0xc0306936
-+ SIOCGIFLLPRIO = 0xc02069b6
-+ SIOCGIFMEDIA = 0xc0406938
- SIOCGIFMETRIC = 0xc0206917
- SIOCGIFMTU = 0xc020697e
- SIOCGIFNETMASK = 0xc0206925
-- SIOCGIFPDSTADDR = 0xc0206948
-+ SIOCGIFPAIR = 0xc02069b1
-+ SIOCGIFPARENT = 0xc02069b3
- SIOCGIFPRIORITY = 0xc020699c
-- SIOCGIFPSRCADDR = 0xc0206947
- SIOCGIFRDOMAIN = 0xc02069a0
- SIOCGIFRTLABEL = 0xc0206983
-- SIOCGIFTIMESLOT = 0xc0206986
-+ SIOCGIFRXR = 0x802069aa
-+ SIOCGIFSFFPAGE = 0xc1126939
- SIOCGIFXFLAGS = 0xc020699e
-- SIOCGLIFADDR = 0xc218691d
- SIOCGLIFPHYADDR = 0xc218694b
-+ SIOCGLIFPHYDF = 0xc02069c2
-+ SIOCGLIFPHYECN = 0xc02069c8
- SIOCGLIFPHYRTABLE = 0xc02069a2
- SIOCGLIFPHYTTL = 0xc02069a9
-- SIOCGLOWAT = 0x40047303
- SIOCGPGRP = 0x40047309
-+ SIOCGPWE3 = 0xc0206998
-+ SIOCGPWE3CTRLWORD = 0xc02069dc
-+ SIOCGPWE3FAT = 0xc02069dd
-+ SIOCGPWE3NEIGHBOR = 0xc21869de
- 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
-- SIOCSHIWAT = 0x80047300
- SIOCSIFADDR = 0x8020690c
-- SIOCSIFASYNCMAP = 0x8020697d
- SIOCSIFBRDADDR = 0x80206913
- SIOCSIFDESCR = 0x80206980
- SIOCSIFDSTADDR = 0x8020690e
-@@ -1160,25 +1282,41 @@ const (
- SIOCSIFGATTR = 0x8028698c
- SIOCSIFGENERIC = 0x80206939
- SIOCSIFLLADDR = 0x8020691f
-- SIOCSIFMEDIA = 0xc0206935
-+ SIOCSIFLLPRIO = 0x802069b5
-+ SIOCSIFMEDIA = 0xc0206937
- SIOCSIFMETRIC = 0x80206918
- SIOCSIFMTU = 0x8020697f
- SIOCSIFNETMASK = 0x80206916
-- SIOCSIFPHYADDR = 0x80406946
-+ SIOCSIFPAIR = 0x802069b0
-+ SIOCSIFPARENT = 0x802069b2
- SIOCSIFPRIORITY = 0x8020699b
- SIOCSIFRDOMAIN = 0x8020699f
- SIOCSIFRTLABEL = 0x80206982
-- SIOCSIFTIMESLOT = 0x80206985
- SIOCSIFXFLAGS = 0x8020699d
- SIOCSLIFPHYADDR = 0x8218694a
-+ SIOCSLIFPHYDF = 0x802069c1
-+ SIOCSLIFPHYECN = 0x802069c7
- SIOCSLIFPHYRTABLE = 0x802069a1
- SIOCSLIFPHYTTL = 0x802069a8
-- SIOCSLOWAT = 0x80047302
- SIOCSPGRP = 0x80047308
-+ SIOCSPWE3CTRLWORD = 0x802069dc
-+ SIOCSPWE3FAT = 0x802069dd
-+ SIOCSPWE3NEIGHBOR = 0x821869de
- SIOCSSPPPPARAMS = 0x80206993
-+ SIOCSTXHPRIO = 0x802069c5
-+ SIOCSUMBPARAM = 0x802069bf
- SIOCSVH = 0xc02069f5
-+ SIOCSVNETFLOWID = 0x802069c3
- SIOCSVNETID = 0x802069a6
-+ SIOCSWGDPID = 0xc018695b
-+ SIOCSWGMAXFLOW = 0xc0186960
-+ SIOCSWGMAXGROUP = 0xc018695d
-+ SIOCSWSDPID = 0x8018695c
-+ SIOCSWSPORTNO = 0xc060695f
-+ SOCK_CLOEXEC = 0x8000
- SOCK_DGRAM = 0x2
-+ SOCK_DNS = 0x1000
-+ SOCK_NONBLOCK = 0x4000
- SOCK_RAW = 0x3
- SOCK_RDM = 0x4
- SOCK_SEQPACKET = 0x5
-@@ -1209,9 +1347,42 @@ const (
- 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
- TCP_MAXBURST = 0x4
- TCP_MAXSEG = 0x2
- TCP_MAXWIN = 0xffff
-@@ -1221,11 +1392,14 @@ const (
- TCP_MSS = 0x200
- TCP_NODELAY = 0x1
- TCP_NOPUSH = 0x10
-- TCP_NSTATES = 0xb
- 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
-@@ -1280,17 +1454,21 @@ const (
- TIOCSETAF = 0x802c7416
- TIOCSETAW = 0x802c7415
- TIOCSETD = 0x8004741b
-+ TIOCSETVERAUTH = 0x8004741c
- TIOCSFLAGS = 0x8004745c
- TIOCSIG = 0x8004745f
- TIOCSPGRP = 0x80047476
- TIOCSTART = 0x2000746e
-- TIOCSTAT = 0x80047465
-- TIOCSTI = 0x80017472
-+ 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
-@@ -1301,6 +1479,19 @@ const (
- 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
-@@ -1313,8 +1504,8 @@ const (
- WCONTINUED = 0x8
- WCOREFLAG = 0x80
- WNOHANG = 0x1
-- WSTOPPED = 0x7f
- WUNTRACED = 0x2
-+ XCASE = 0x1000000
- )
-
- // Errors
-@@ -1328,6 +1519,7 @@ const (
- 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)
-@@ -1354,7 +1546,7 @@ const (
- EIPSEC = syscall.Errno(0x52)
- EISCONN = syscall.Errno(0x38)
- EISDIR = syscall.Errno(0x15)
-- ELAST = syscall.Errno(0x5b)
-+ ELAST = syscall.Errno(0x5f)
- ELOOP = syscall.Errno(0x3e)
- EMEDIUMTYPE = syscall.Errno(0x56)
- EMFILE = syscall.Errno(0x18)
-@@ -1382,12 +1574,14 @@ const (
- 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)
-@@ -1395,6 +1589,7 @@ const (
- 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)
-@@ -1452,132 +1647,144 @@ const (
- )
-
- // Error table
--var errors = [...]string{
-- 1: "operation not permitted",
-- 2: "no such file or directory",
-- 3: "no such process",
-- 4: "interrupted system call",
-- 5: "input/output error",
-- 6: "device not configured",
-- 7: "argument list too long",
-- 8: "exec format error",
-- 9: "bad file descriptor",
-- 10: "no child processes",
-- 11: "resource deadlock avoided",
-- 12: "cannot allocate memory",
-- 13: "permission denied",
-- 14: "bad address",
-- 15: "block device required",
-- 16: "device busy",
-- 17: "file exists",
-- 18: "cross-device link",
-- 19: "operation not supported by device",
-- 20: "not a directory",
-- 21: "is a directory",
-- 22: "invalid argument",
-- 23: "too many open files in system",
-- 24: "too many open files",
-- 25: "inappropriate ioctl for device",
-- 26: "text file busy",
-- 27: "file too large",
-- 28: "no space left on device",
-- 29: "illegal seek",
-- 30: "read-only file system",
-- 31: "too many links",
-- 32: "broken pipe",
-- 33: "numerical argument out of domain",
-- 34: "result too large",
-- 35: "resource temporarily unavailable",
-- 36: "operation now in progress",
-- 37: "operation already in progress",
-- 38: "socket operation on non-socket",
-- 39: "destination address required",
-- 40: "message too long",
-- 41: "protocol wrong type for socket",
-- 42: "protocol not available",
-- 43: "protocol not supported",
-- 44: "socket type not supported",
-- 45: "operation not supported",
-- 46: "protocol family not supported",
-- 47: "address family not supported by protocol family",
-- 48: "address already in use",
-- 49: "can't assign requested address",
-- 50: "network is down",
-- 51: "network is unreachable",
-- 52: "network dropped connection on reset",
-- 53: "software caused connection abort",
-- 54: "connection reset by peer",
-- 55: "no buffer space available",
-- 56: "socket is already connected",
-- 57: "socket is not connected",
-- 58: "can't send after socket shutdown",
-- 59: "too many references: can't splice",
-- 60: "connection timed out",
-- 61: "connection refused",
-- 62: "too many levels of symbolic links",
-- 63: "file name too long",
-- 64: "host is down",
-- 65: "no route to host",
-- 66: "directory not empty",
-- 67: "too many processes",
-- 68: "too many users",
-- 69: "disc quota exceeded",
-- 70: "stale NFS file handle",
-- 71: "too many levels of remote in path",
-- 72: "RPC struct is bad",
-- 73: "RPC version wrong",
-- 74: "RPC prog. not avail",
-- 75: "program version wrong",
-- 76: "bad procedure for program",
-- 77: "no locks available",
-- 78: "function not implemented",
-- 79: "inappropriate file type or format",
-- 80: "authentication error",
-- 81: "need authenticator",
-- 82: "IPsec processing failure",
-- 83: "attribute not found",
-- 84: "illegal byte sequence",
-- 85: "no medium found",
-- 86: "wrong medium type",
-- 87: "value too large to be stored in data type",
-- 88: "operation canceled",
-- 89: "identifier removed",
-- 90: "no message of desired type",
-- 91: "not supported",
-+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 signals = [...]string{
-- 1: "hangup",
-- 2: "interrupt",
-- 3: "quit",
-- 4: "illegal instruction",
-- 5: "trace/BPT trap",
-- 6: "abort trap",
-- 7: "EMT trap",
-- 8: "floating point exception",
-- 9: "killed",
-- 10: "bus error",
-- 11: "segmentation fault",
-- 12: "bad system call",
-- 13: "broken pipe",
-- 14: "alarm clock",
-- 15: "terminated",
-- 16: "urgent I/O condition",
-- 17: "stopped (signal)",
-- 18: "stopped",
-- 19: "continued",
-- 20: "child exited",
-- 21: "stopped (tty input)",
-- 22: "stopped (tty output)",
-- 23: "I/O possible",
-- 24: "cputime limit exceeded",
-- 25: "filesize limit exceeded",
-- 26: "virtual timer expired",
-- 27: "profiling timer expired",
-- 28: "window size changes",
-- 29: "information request",
-- 30: "user defined signal 1",
-- 31: "user defined signal 2",
-- 32: "thread AST",
-+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_solaris_amd64.go b/vendor/golang.org/x/sys/unix/zerrors_solaris_amd64.go
-index 81e83d78..46e054cc 100644
---- a/vendor/golang.org/x/sys/unix/zerrors_solaris_amd64.go
-+++ b/vendor/golang.org/x/sys/unix/zerrors_solaris_amd64.go
-@@ -3,7 +3,7 @@
-
- // +build amd64,solaris
-
--// Created by cgo -godefs - DO NOT EDIT
-+// Code generated by cmd/cgo -godefs; DO NOT EDIT.
- // cgo -godefs -- -m64 _const.go
-
- package unix
-@@ -664,6 +664,9 @@ const (
- MS_OLDSYNC = 0x0
- MS_SYNC = 0x4
- M_FLUSH = 0x86
-+ NAME_MAX = 0xff
-+ NEWDEV = 0x1
-+ NFDBITS = 0x40
- NL0 = 0x0
- NL1 = 0x100
- NLDLY = 0x100
-@@ -672,6 +675,9 @@ const (
- OFDEL = 0x80
- OFILL = 0x40
- OLCUC = 0x2
-+ OLDDEV = 0x0
-+ ONBITSMAJOR = 0x7
-+ ONBITSMINOR = 0x8
- ONLCR = 0x4
- ONLRET = 0x20
- ONOCR = 0x10
-@@ -991,6 +997,39 @@ const (
- SO_USELOOPBACK = 0x40
- SO_VRRP = 0x1017
- SO_WROFF = 0x2
-+ S_ENFMT = 0x400
-+ S_IAMB = 0x1ff
-+ S_IEXEC = 0x40
-+ S_IFBLK = 0x6000
-+ S_IFCHR = 0x2000
-+ S_IFDIR = 0x4000
-+ S_IFDOOR = 0xd000
-+ S_IFIFO = 0x1000
-+ S_IFLNK = 0xa000
-+ S_IFMT = 0xf000
-+ S_IFNAM = 0x5000
-+ S_IFPORT = 0xe000
-+ S_IFREG = 0x8000
-+ S_IFSOCK = 0xc000
-+ S_INSEM = 0x1
-+ S_INSHD = 0x2
-+ S_IREAD = 0x100
-+ S_IRGRP = 0x20
-+ S_IROTH = 0x4
-+ S_IRUSR = 0x100
-+ S_IRWXG = 0x38
-+ S_IRWXO = 0x7
-+ S_IRWXU = 0x1c0
-+ S_ISGID = 0x400
-+ S_ISUID = 0x800
-+ S_ISVTX = 0x200
-+ S_IWGRP = 0x10
-+ S_IWOTH = 0x2
-+ S_IWRITE = 0x80
-+ S_IWUSR = 0x80
-+ S_IXGRP = 0x8
-+ S_IXOTH = 0x1
-+ S_IXUSR = 0x40
- TAB0 = 0x0
- TAB1 = 0x800
- TAB2 = 0x1000
-@@ -1097,6 +1136,8 @@ const (
- TIOCSTOP = 0x746f
- TIOCSWINSZ = 0x5467
- TOSTOP = 0x100
-+ UTIME_NOW = -0x1
-+ UTIME_OMIT = -0x2
- VCEOF = 0x8
- VCEOL = 0x9
- VDISCARD = 0xd
-@@ -1105,6 +1146,7 @@ const (
- VEOL = 0x5
- VEOL2 = 0x6
- VERASE = 0x2
-+ VERASE2 = 0x11
- VINTR = 0x0
- VKILL = 0x3
- VLNEXT = 0xf
-@@ -1313,171 +1355,179 @@ const (
- )
-
- // Error table
--var errors = [...]string{
-- 1: "not owner",
-- 2: "no such file or directory",
-- 3: "no such process",
-- 4: "interrupted system call",
-- 5: "I/O error",
-- 6: "no such device or address",
-- 7: "arg list too long",
-- 8: "exec format error",
-- 9: "bad file number",
-- 10: "no child processes",
-- 11: "resource temporarily unavailable",
-- 12: "not enough space",
-- 13: "permission denied",
-- 14: "bad address",
-- 15: "block device required",
-- 16: "device busy",
-- 17: "file exists",
-- 18: "cross-device link",
-- 19: "no such device",
-- 20: "not a directory",
-- 21: "is a directory",
-- 22: "invalid argument",
-- 23: "file table overflow",
-- 24: "too many open files",
-- 25: "inappropriate ioctl for device",
-- 26: "text file busy",
-- 27: "file too large",
-- 28: "no space left on device",
-- 29: "illegal seek",
-- 30: "read-only file system",
-- 31: "too many links",
-- 32: "broken pipe",
-- 33: "argument out of domain",
-- 34: "result too large",
-- 35: "no message of desired type",
-- 36: "identifier removed",
-- 37: "channel number out of range",
-- 38: "level 2 not synchronized",
-- 39: "level 3 halted",
-- 40: "level 3 reset",
-- 41: "link number out of range",
-- 42: "protocol driver not attached",
-- 43: "no CSI structure available",
-- 44: "level 2 halted",
-- 45: "deadlock situation detected/avoided",
-- 46: "no record locks available",
-- 47: "operation canceled",
-- 48: "operation not supported",
-- 49: "disc quota exceeded",
-- 50: "bad exchange descriptor",
-- 51: "bad request descriptor",
-- 52: "message tables full",
-- 53: "anode table overflow",
-- 54: "bad request code",
-- 55: "invalid slot",
-- 56: "file locking deadlock",
-- 57: "bad font file format",
-- 58: "owner of the lock died",
-- 59: "lock is not recoverable",
-- 60: "not a stream device",
-- 61: "no data available",
-- 62: "timer expired",
-- 63: "out of stream resources",
-- 64: "machine is not on the network",
-- 65: "package not installed",
-- 66: "object is remote",
-- 67: "link has been severed",
-- 68: "advertise error",
-- 69: "srmount error",
-- 70: "communication error on send",
-- 71: "protocol error",
-- 72: "locked lock was unmapped ",
-- 73: "facility is not active",
-- 74: "multihop attempted",
-- 77: "not a data message",
-- 78: "file name too long",
-- 79: "value too large for defined data type",
-- 80: "name not unique on network",
-- 81: "file descriptor in bad state",
-- 82: "remote address changed",
-- 83: "can not access a needed shared library",
-- 84: "accessing a corrupted shared library",
-- 85: ".lib section in a.out corrupted",
-- 86: "attempting to link in more shared libraries than system limit",
-- 87: "can not exec a shared library directly",
-- 88: "illegal byte sequence",
-- 89: "operation not applicable",
-- 90: "number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS",
-- 91: "error 91",
-- 92: "error 92",
-- 93: "directory not empty",
-- 94: "too many users",
-- 95: "socket operation on non-socket",
-- 96: "destination address required",
-- 97: "message too long",
-- 98: "protocol wrong type for socket",
-- 99: "option not supported by protocol",
-- 120: "protocol not supported",
-- 121: "socket type not supported",
-- 122: "operation not supported on transport endpoint",
-- 123: "protocol family not supported",
-- 124: "address family not supported by protocol family",
-- 125: "address already in use",
-- 126: "cannot assign requested address",
-- 127: "network is down",
-- 128: "network is unreachable",
-- 129: "network dropped connection because of reset",
-- 130: "software caused connection abort",
-- 131: "connection reset by peer",
-- 132: "no buffer space available",
-- 133: "transport endpoint is already connected",
-- 134: "transport endpoint is not connected",
-- 143: "cannot send after socket shutdown",
-- 144: "too many references: cannot splice",
-- 145: "connection timed out",
-- 146: "connection refused",
-- 147: "host is down",
-- 148: "no route to host",
-- 149: "operation already in progress",
-- 150: "operation now in progress",
-- 151: "stale NFS file handle",
-+var errorList = [...]struct {
-+ num syscall.Errno
-+ name string
-+ desc string
-+}{
-+ {1, "EPERM", "not owner"},
-+ {2, "ENOENT", "no such file or directory"},
-+ {3, "ESRCH", "no such process"},
-+ {4, "EINTR", "interrupted system call"},
-+ {5, "EIO", "I/O error"},
-+ {6, "ENXIO", "no such device or address"},
-+ {7, "E2BIG", "arg list too long"},
-+ {8, "ENOEXEC", "exec format error"},
-+ {9, "EBADF", "bad file number"},
-+ {10, "ECHILD", "no child processes"},
-+ {11, "EAGAIN", "resource temporarily unavailable"},
-+ {12, "ENOMEM", "not enough space"},
-+ {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", "no such device"},
-+ {20, "ENOTDIR", "not a directory"},
-+ {21, "EISDIR", "is a directory"},
-+ {22, "EINVAL", "invalid argument"},
-+ {23, "ENFILE", "file table overflow"},
-+ {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", "argument out of domain"},
-+ {34, "ERANGE", "result too large"},
-+ {35, "ENOMSG", "no message of desired type"},
-+ {36, "EIDRM", "identifier removed"},
-+ {37, "ECHRNG", "channel number out of range"},
-+ {38, "EL2NSYNC", "level 2 not synchronized"},
-+ {39, "EL3HLT", "level 3 halted"},
-+ {40, "EL3RST", "level 3 reset"},
-+ {41, "ELNRNG", "link number out of range"},
-+ {42, "EUNATCH", "protocol driver not attached"},
-+ {43, "ENOCSI", "no CSI structure available"},
-+ {44, "EL2HLT", "level 2 halted"},
-+ {45, "EDEADLK", "deadlock situation detected/avoided"},
-+ {46, "ENOLCK", "no record locks available"},
-+ {47, "ECANCELED", "operation canceled"},
-+ {48, "ENOTSUP", "operation not supported"},
-+ {49, "EDQUOT", "disc quota exceeded"},
-+ {50, "EBADE", "bad exchange descriptor"},
-+ {51, "EBADR", "bad request descriptor"},
-+ {52, "EXFULL", "message tables full"},
-+ {53, "ENOANO", "anode table overflow"},
-+ {54, "EBADRQC", "bad request code"},
-+ {55, "EBADSLT", "invalid slot"},
-+ {56, "EDEADLOCK", "file locking deadlock"},
-+ {57, "EBFONT", "bad font file format"},
-+ {58, "EOWNERDEAD", "owner of the lock died"},
-+ {59, "ENOTRECOVERABLE", "lock is not recoverable"},
-+ {60, "ENOSTR", "not a stream device"},
-+ {61, "ENODATA", "no data available"},
-+ {62, "ETIME", "timer expired"},
-+ {63, "ENOSR", "out of stream 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, "ELOCKUNMAPPED", "locked lock was unmapped "},
-+ {73, "ENOTACTIVE", "facility is not active"},
-+ {74, "EMULTIHOP", "multihop attempted"},
-+ {77, "EBADMSG", "not a data message"},
-+ {78, "ENAMETOOLONG", "file name too long"},
-+ {79, "EOVERFLOW", "value too large for defined data type"},
-+ {80, "ENOTUNIQ", "name not unique on network"},
-+ {81, "EBADFD", "file descriptor in bad state"},
-+ {82, "EREMCHG", "remote address changed"},
-+ {83, "ELIBACC", "can not access a needed shared library"},
-+ {84, "ELIBBAD", "accessing a corrupted shared library"},
-+ {85, "ELIBSCN", ".lib section in a.out corrupted"},
-+ {86, "ELIBMAX", "attempting to link in more shared libraries than system limit"},
-+ {87, "ELIBEXEC", "can not exec a shared library directly"},
-+ {88, "EILSEQ", "illegal byte sequence"},
-+ {89, "ENOSYS", "operation not applicable"},
-+ {90, "ELOOP", "number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS"},
-+ {91, "ERESTART", "error 91"},
-+ {92, "ESTRPIPE", "error 92"},
-+ {93, "ENOTEMPTY", "directory not empty"},
-+ {94, "EUSERS", "too many users"},
-+ {95, "ENOTSOCK", "socket operation on non-socket"},
-+ {96, "EDESTADDRREQ", "destination address required"},
-+ {97, "EMSGSIZE", "message too long"},
-+ {98, "EPROTOTYPE", "protocol wrong type for socket"},
-+ {99, "ENOPROTOOPT", "option not supported by protocol"},
-+ {120, "EPROTONOSUPPORT", "protocol not supported"},
-+ {121, "ESOCKTNOSUPPORT", "socket type not supported"},
-+ {122, "EOPNOTSUPP", "operation not supported on transport endpoint"},
-+ {123, "EPFNOSUPPORT", "protocol family not supported"},
-+ {124, "EAFNOSUPPORT", "address family not supported by protocol family"},
-+ {125, "EADDRINUSE", "address already in use"},
-+ {126, "EADDRNOTAVAIL", "cannot assign requested address"},
-+ {127, "ENETDOWN", "network is down"},
-+ {128, "ENETUNREACH", "network is unreachable"},
-+ {129, "ENETRESET", "network dropped connection because of reset"},
-+ {130, "ECONNABORTED", "software caused connection abort"},
-+ {131, "ECONNRESET", "connection reset by peer"},
-+ {132, "ENOBUFS", "no buffer space available"},
-+ {133, "EISCONN", "transport endpoint is already connected"},
-+ {134, "ENOTCONN", "transport endpoint is not connected"},
-+ {143, "ESHUTDOWN", "cannot send after socket shutdown"},
-+ {144, "ETOOMANYREFS", "too many references: cannot splice"},
-+ {145, "ETIMEDOUT", "connection timed out"},
-+ {146, "ECONNREFUSED", "connection refused"},
-+ {147, "EHOSTDOWN", "host is down"},
-+ {148, "EHOSTUNREACH", "no route to host"},
-+ {149, "EALREADY", "operation already in progress"},
-+ {150, "EINPROGRESS", "operation now in progress"},
-+ {151, "ESTALE", "stale NFS file handle"},
- }
-
- // Signal table
--var signals = [...]string{
-- 1: "hangup",
-- 2: "interrupt",
-- 3: "quit",
-- 4: "illegal Instruction",
-- 5: "trace/Breakpoint Trap",
-- 6: "abort",
-- 7: "emulation Trap",
-- 8: "arithmetic Exception",
-- 9: "killed",
-- 10: "bus Error",
-- 11: "segmentation Fault",
-- 12: "bad System Call",
-- 13: "broken Pipe",
-- 14: "alarm Clock",
-- 15: "terminated",
-- 16: "user Signal 1",
-- 17: "user Signal 2",
-- 18: "child Status Changed",
-- 19: "power-Fail/Restart",
-- 20: "window Size Change",
-- 21: "urgent Socket Condition",
-- 22: "pollable Event",
-- 23: "stopped (signal)",
-- 24: "stopped (user)",
-- 25: "continued",
-- 26: "stopped (tty input)",
-- 27: "stopped (tty output)",
-- 28: "virtual Timer Expired",
-- 29: "profiling Timer Expired",
-- 30: "cpu Limit Exceeded",
-- 31: "file Size Limit Exceeded",
-- 32: "no runnable lwp",
-- 33: "inter-lwp signal",
-- 34: "checkpoint Freeze",
-- 35: "checkpoint Thaw",
-- 36: "thread Cancellation",
-- 37: "resource Lost",
-- 38: "resource Control Exceeded",
-- 39: "reserved for JVM 1",
-- 40: "reserved for JVM 2",
-- 41: "information Request",
-+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", "abort"},
-+ {7, "SIGEMT", "emulation Trap"},
-+ {8, "SIGFPE", "arithmetic 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, "SIGUSR1", "user Signal 1"},
-+ {17, "SIGUSR2", "user Signal 2"},
-+ {18, "SIGCHLD", "child Status Changed"},
-+ {19, "SIGPWR", "power-Fail/Restart"},
-+ {20, "SIGWINCH", "window Size Change"},
-+ {21, "SIGURG", "urgent Socket Condition"},
-+ {22, "SIGIO", "pollable Event"},
-+ {23, "SIGSTOP", "stopped (signal)"},
-+ {24, "SIGTSTP", "stopped (user)"},
-+ {25, "SIGCONT", "continued"},
-+ {26, "SIGTTIN", "stopped (tty input)"},
-+ {27, "SIGTTOU", "stopped (tty output)"},
-+ {28, "SIGVTALRM", "virtual Timer Expired"},
-+ {29, "SIGPROF", "profiling Timer Expired"},
-+ {30, "SIGXCPU", "cpu Limit Exceeded"},
-+ {31, "SIGXFSZ", "file Size Limit Exceeded"},
-+ {32, "SIGWAITING", "no runnable lwp"},
-+ {33, "SIGLWP", "inter-lwp signal"},
-+ {34, "SIGFREEZE", "checkpoint Freeze"},
-+ {35, "SIGTHAW", "checkpoint Thaw"},
-+ {36, "SIGCANCEL", "thread Cancellation"},
-+ {37, "SIGLOST", "resource Lost"},
-+ {38, "SIGXRES", "resource Control Exceeded"},
-+ {39, "SIGJVM1", "reserved for JVM 1"},
-+ {40, "SIGJVM2", "reserved for JVM 2"},
-+ {41, "SIGINFO", "information Request"},
- }
-diff --git a/vendor/golang.org/x/sys/unix/zptrace_armnn_linux.go b/vendor/golang.org/x/sys/unix/zptrace_armnn_linux.go
-new file mode 100644
-index 00000000..89c5920e
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/zptrace_armnn_linux.go
-@@ -0,0 +1,41 @@
-+// Code generated by linux/mkall.go generatePtracePair("arm", "arm64"). DO NOT EDIT.
-+
-+// +build linux
-+// +build arm arm64
-+
-+package unix
-+
-+import "unsafe"
-+
-+// PtraceRegsArm is the registers used by arm binaries.
-+type PtraceRegsArm struct {
-+ Uregs [18]uint32
-+}
-+
-+// PtraceGetRegsArm fetches the registers used by arm binaries.
-+func PtraceGetRegsArm(pid int, regsout *PtraceRegsArm) error {
-+ return ptrace(PTRACE_GETREGS, pid, 0, uintptr(unsafe.Pointer(regsout)))
-+}
-+
-+// PtraceSetRegsArm sets the registers used by arm binaries.
-+func PtraceSetRegsArm(pid int, regs *PtraceRegsArm) error {
-+ return ptrace(PTRACE_SETREGS, pid, 0, uintptr(unsafe.Pointer(regs)))
-+}
-+
-+// PtraceRegsArm64 is the registers used by arm64 binaries.
-+type PtraceRegsArm64 struct {
-+ Regs [31]uint64
-+ Sp uint64
-+ Pc uint64
-+ Pstate uint64
-+}
-+
-+// PtraceGetRegsArm64 fetches the registers used by arm64 binaries.
-+func PtraceGetRegsArm64(pid int, regsout *PtraceRegsArm64) error {
-+ return ptrace(PTRACE_GETREGS, pid, 0, uintptr(unsafe.Pointer(regsout)))
-+}
-+
-+// PtraceSetRegsArm64 sets the registers used by arm64 binaries.
-+func PtraceSetRegsArm64(pid int, regs *PtraceRegsArm64) error {
-+ return ptrace(PTRACE_SETREGS, pid, 0, uintptr(unsafe.Pointer(regs)))
-+}
-diff --git a/vendor/golang.org/x/sys/unix/zptrace_linux_arm64.go b/vendor/golang.org/x/sys/unix/zptrace_linux_arm64.go
-new file mode 100644
-index 00000000..6cb6d688
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/zptrace_linux_arm64.go
-@@ -0,0 +1,17 @@
-+// Code generated by linux/mkall.go generatePtraceRegSet("arm64"). DO NOT EDIT.
-+
-+package unix
-+
-+import "unsafe"
-+
-+// PtraceGetRegSetArm64 fetches the registers used by arm64 binaries.
-+func PtraceGetRegSetArm64(pid, addr int, regsout *PtraceRegsArm64) error {
-+ iovec := Iovec{(*byte)(unsafe.Pointer(regsout)), uint64(unsafe.Sizeof(*regsout))}
-+ return ptrace(PTRACE_GETREGSET, pid, uintptr(addr), uintptr(unsafe.Pointer(&iovec)))
-+}
-+
-+// PtraceSetRegSetArm64 sets the registers used by arm64 binaries.
-+func PtraceSetRegSetArm64(pid, addr int, regs *PtraceRegsArm64) error {
-+ iovec := Iovec{(*byte)(unsafe.Pointer(regs)), uint64(unsafe.Sizeof(*regs))}
-+ return ptrace(PTRACE_SETREGSET, pid, uintptr(addr), uintptr(unsafe.Pointer(&iovec)))
-+}
-diff --git a/vendor/golang.org/x/sys/unix/zptrace_mipsnn_linux.go b/vendor/golang.org/x/sys/unix/zptrace_mipsnn_linux.go
-new file mode 100644
-index 00000000..24b841ee
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/zptrace_mipsnn_linux.go
-@@ -0,0 +1,50 @@
-+// Code generated by linux/mkall.go generatePtracePair("mips", "mips64"). DO NOT EDIT.
-+
-+// +build linux
-+// +build mips mips64
-+
-+package unix
-+
-+import "unsafe"
-+
-+// PtraceRegsMips is the registers used by mips binaries.
-+type PtraceRegsMips struct {
-+ Regs [32]uint64
-+ Lo uint64
-+ Hi uint64
-+ Epc uint64
-+ Badvaddr uint64
-+ Status uint64
-+ Cause uint64
-+}
-+
-+// PtraceGetRegsMips fetches the registers used by mips binaries.
-+func PtraceGetRegsMips(pid int, regsout *PtraceRegsMips) error {
-+ return ptrace(PTRACE_GETREGS, pid, 0, uintptr(unsafe.Pointer(regsout)))
-+}
-+
-+// PtraceSetRegsMips sets the registers used by mips binaries.
-+func PtraceSetRegsMips(pid int, regs *PtraceRegsMips) error {
-+ return ptrace(PTRACE_SETREGS, pid, 0, uintptr(unsafe.Pointer(regs)))
-+}
-+
-+// PtraceRegsMips64 is the registers used by mips64 binaries.
-+type PtraceRegsMips64 struct {
-+ Regs [32]uint64
-+ Lo uint64
-+ Hi uint64
-+ Epc uint64
-+ Badvaddr uint64
-+ Status uint64
-+ Cause uint64
-+}
-+
-+// PtraceGetRegsMips64 fetches the registers used by mips64 binaries.
-+func PtraceGetRegsMips64(pid int, regsout *PtraceRegsMips64) error {
-+ return ptrace(PTRACE_GETREGS, pid, 0, uintptr(unsafe.Pointer(regsout)))
-+}
-+
-+// PtraceSetRegsMips64 sets the registers used by mips64 binaries.
-+func PtraceSetRegsMips64(pid int, regs *PtraceRegsMips64) error {
-+ return ptrace(PTRACE_SETREGS, pid, 0, uintptr(unsafe.Pointer(regs)))
-+}
-diff --git a/vendor/golang.org/x/sys/unix/zptrace_mipsnnle_linux.go b/vendor/golang.org/x/sys/unix/zptrace_mipsnnle_linux.go
-new file mode 100644
-index 00000000..47b04895
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/zptrace_mipsnnle_linux.go
-@@ -0,0 +1,50 @@
-+// Code generated by linux/mkall.go generatePtracePair("mipsle", "mips64le"). DO NOT EDIT.
-+
-+// +build linux
-+// +build mipsle mips64le
-+
-+package unix
-+
-+import "unsafe"
-+
-+// PtraceRegsMipsle is the registers used by mipsle binaries.
-+type PtraceRegsMipsle struct {
-+ Regs [32]uint64
-+ Lo uint64
-+ Hi uint64
-+ Epc uint64
-+ Badvaddr uint64
-+ Status uint64
-+ Cause uint64
-+}
-+
-+// PtraceGetRegsMipsle fetches the registers used by mipsle binaries.
-+func PtraceGetRegsMipsle(pid int, regsout *PtraceRegsMipsle) error {
-+ return ptrace(PTRACE_GETREGS, pid, 0, uintptr(unsafe.Pointer(regsout)))
-+}
-+
-+// PtraceSetRegsMipsle sets the registers used by mipsle binaries.
-+func PtraceSetRegsMipsle(pid int, regs *PtraceRegsMipsle) error {
-+ return ptrace(PTRACE_SETREGS, pid, 0, uintptr(unsafe.Pointer(regs)))
-+}
-+
-+// PtraceRegsMips64le is the registers used by mips64le binaries.
-+type PtraceRegsMips64le struct {
-+ Regs [32]uint64
-+ Lo uint64
-+ Hi uint64
-+ Epc uint64
-+ Badvaddr uint64
-+ Status uint64
-+ Cause uint64
-+}
-+
-+// PtraceGetRegsMips64le fetches the registers used by mips64le binaries.
-+func PtraceGetRegsMips64le(pid int, regsout *PtraceRegsMips64le) error {
-+ return ptrace(PTRACE_GETREGS, pid, 0, uintptr(unsafe.Pointer(regsout)))
-+}
-+
-+// PtraceSetRegsMips64le sets the registers used by mips64le binaries.
-+func PtraceSetRegsMips64le(pid int, regs *PtraceRegsMips64le) error {
-+ return ptrace(PTRACE_SETREGS, pid, 0, uintptr(unsafe.Pointer(regs)))
-+}
-diff --git a/vendor/golang.org/x/sys/unix/zptrace_x86_linux.go b/vendor/golang.org/x/sys/unix/zptrace_x86_linux.go
-new file mode 100644
-index 00000000..ea5d9cb5
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/zptrace_x86_linux.go
-@@ -0,0 +1,80 @@
-+// Code generated by linux/mkall.go generatePtracePair("386", "amd64"). DO NOT EDIT.
-+
-+// +build linux
-+// +build 386 amd64
-+
-+package unix
-+
-+import "unsafe"
-+
-+// PtraceRegs386 is the registers used by 386 binaries.
-+type PtraceRegs386 struct {
-+ Ebx int32
-+ Ecx int32
-+ Edx int32
-+ Esi int32
-+ Edi int32
-+ Ebp int32
-+ Eax int32
-+ Xds int32
-+ Xes int32
-+ Xfs int32
-+ Xgs int32
-+ Orig_eax int32
-+ Eip int32
-+ Xcs int32
-+ Eflags int32
-+ Esp int32
-+ Xss int32
-+}
-+
-+// PtraceGetRegs386 fetches the registers used by 386 binaries.
-+func PtraceGetRegs386(pid int, regsout *PtraceRegs386) error {
-+ return ptrace(PTRACE_GETREGS, pid, 0, uintptr(unsafe.Pointer(regsout)))
-+}
-+
-+// PtraceSetRegs386 sets the registers used by 386 binaries.
-+func PtraceSetRegs386(pid int, regs *PtraceRegs386) error {
-+ return ptrace(PTRACE_SETREGS, pid, 0, uintptr(unsafe.Pointer(regs)))
-+}
-+
-+// PtraceRegsAmd64 is the registers used by amd64 binaries.
-+type PtraceRegsAmd64 struct {
-+ R15 uint64
-+ R14 uint64
-+ R13 uint64
-+ R12 uint64
-+ Rbp uint64
-+ Rbx uint64
-+ R11 uint64
-+ R10 uint64
-+ R9 uint64
-+ R8 uint64
-+ Rax uint64
-+ Rcx uint64
-+ Rdx uint64
-+ Rsi uint64
-+ Rdi uint64
-+ Orig_rax uint64
-+ Rip uint64
-+ Cs uint64
-+ Eflags uint64
-+ Rsp uint64
-+ Ss uint64
-+ Fs_base uint64
-+ Gs_base uint64
-+ Ds uint64
-+ Es uint64
-+ Fs uint64
-+ Gs uint64
-+}
-+
-+// PtraceGetRegsAmd64 fetches the registers used by amd64 binaries.
-+func PtraceGetRegsAmd64(pid int, regsout *PtraceRegsAmd64) error {
-+ return ptrace(PTRACE_GETREGS, pid, 0, uintptr(unsafe.Pointer(regsout)))
-+}
-+
-+// PtraceSetRegsAmd64 sets the registers used by amd64 binaries.
-+func PtraceSetRegsAmd64(pid int, regs *PtraceRegsAmd64) error {
-+ return ptrace(PTRACE_SETREGS, pid, 0, uintptr(unsafe.Pointer(regs)))
-+}
-diff --git a/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc.go b/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc.go
-new file mode 100644
-index 00000000..ed657ff1
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc.go
-@@ -0,0 +1,1484 @@
-+// go run mksyscall_aix_ppc.go -aix -tags aix,ppc syscall_aix.go syscall_aix_ppc.go
-+// Code generated by the command above; see README.md. DO NOT EDIT.
-+
-+// +build aix,ppc
-+
-+package unix
-+
-+/*
-+#include <stdint.h>
-+#include <stddef.h>
-+int utimes(uintptr_t, uintptr_t);
-+int utimensat(int, uintptr_t, uintptr_t, int);
-+int getcwd(uintptr_t, size_t);
-+int accept(int, uintptr_t, uintptr_t);
-+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 acct(uintptr_t);
-+int chdir(uintptr_t);
-+int chroot(uintptr_t);
-+int close(int);
-+int dup(int);
-+void exit(int);
-+int faccessat(int, uintptr_t, unsigned int, int);
-+int fchdir(int);
-+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();
-+int getppid();
-+int getpriority(int, int);
-+int getrusage(int, uintptr_t);
-+int getsid(int);
-+int kill(int, int);
-+int syslog(int, uintptr_t, size_t);
-+int mkdir(int, uintptr_t, unsigned int);
-+int mkdirat(int, uintptr_t, unsigned int);
-+int mkfifo(uintptr_t, unsigned int);
-+int mknod(uintptr_t, unsigned int, int);
-+int mknodat(int, uintptr_t, unsigned int, int);
-+int nanosleep(uintptr_t, uintptr_t);
-+int open64(uintptr_t, int, unsigned int);
-+int openat(int, uintptr_t, int, unsigned int);
-+int read(int, uintptr_t, size_t);
-+int readlink(uintptr_t, uintptr_t, size_t);
-+int renameat(int, uintptr_t, int, uintptr_t);
-+int setdomainname(uintptr_t, size_t);
-+int sethostname(uintptr_t, size_t);
-+int setpgid(int, int);
-+int setsid();
-+int settimeofday(uintptr_t);
-+int setuid(int);
-+int setgid(int);
-+int setpriority(int, int, int);
-+int statx(int, uintptr_t, int, int, uintptr_t);
-+int sync();
-+uintptr_t times(uintptr_t);
-+int umask(int);
-+int uname(uintptr_t);
-+int unlink(uintptr_t);
-+int unlinkat(int, uintptr_t, int);
-+int ustat(int, uintptr_t);
-+int write(int, uintptr_t, size_t);
-+int dup2(int, int);
-+int posix_fadvise64(int, long long, long long, int);
-+int fchown(int, int, int);
-+int fstat(int, uintptr_t);
-+int fstatat(int, uintptr_t, uintptr_t, int);
-+int fstatfs(int, uintptr_t);
-+int ftruncate(int, long long);
-+int getegid();
-+int geteuid();
-+int getgid();
-+int getuid();
-+int lchown(uintptr_t, int, int);
-+int listen(int, int);
-+int lstat(uintptr_t, uintptr_t);
-+int pause();
-+int pread64(int, uintptr_t, size_t, long long);
-+int pwrite64(int, uintptr_t, size_t, long long);
-+#define c_select select
-+int select(int, uintptr_t, uintptr_t, uintptr_t, uintptr_t);
-+int pselect(int, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t);
-+int setregid(int, int);
-+int setreuid(int, int);
-+int shutdown(int, int);
-+long long splice(int, uintptr_t, int, uintptr_t, int, int);
-+int stat(uintptr_t, uintptr_t);
-+int statfs(uintptr_t, uintptr_t);
-+int truncate(uintptr_t, long long);
-+int bind(int, uintptr_t, uintptr_t);
-+int connect(int, uintptr_t, uintptr_t);
-+int getgroups(int, uintptr_t);
-+int setgroups(int, uintptr_t);
-+int getsockopt(int, int, int, uintptr_t, uintptr_t);
-+int setsockopt(int, int, int, uintptr_t, uintptr_t);
-+int socket(int, int, int);
-+int socketpair(int, int, int, uintptr_t);
-+int getpeername(int, uintptr_t, uintptr_t);
-+int getsockname(int, uintptr_t, uintptr_t);
-+int recvfrom(int, uintptr_t, size_t, int, uintptr_t, uintptr_t);
-+int sendto(int, uintptr_t, size_t, int, uintptr_t, uintptr_t);
-+int nrecvmsg(int, uintptr_t, int);
-+int nsendmsg(int, uintptr_t, int);
-+int munmap(uintptr_t, uintptr_t);
-+int madvise(uintptr_t, size_t, int);
-+int mprotect(uintptr_t, size_t, int);
-+int mlock(uintptr_t, size_t);
-+int mlockall(int);
-+int msync(uintptr_t, size_t, int);
-+int munlock(uintptr_t, size_t);
-+int munlockall();
-+int pipe(uintptr_t);
-+int poll(uintptr_t, int, int);
-+int gettimeofday(uintptr_t, uintptr_t);
-+int time(uintptr_t);
-+int utime(uintptr_t, uintptr_t);
-+unsigned long long getsystemcfg(int);
-+int umount(uintptr_t);
-+int getrlimit64(int, uintptr_t);
-+int setrlimit64(int, uintptr_t);
-+long long lseek64(int, long long, int);
-+uintptr_t mmap(uintptr_t, uintptr_t, int, int, int, long long);
-+
-+*/
-+import "C"
-+import (
-+ "unsafe"
-+)
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func utimes(path string, times *[2]Timeval) (err error) {
-+ _p0 := uintptr(unsafe.Pointer(C.CString(path)))
-+ r0, er := C.utimes(C.uintptr_t(_p0), C.uintptr_t(uintptr(unsafe.Pointer(times))))
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func utimensat(dirfd int, path string, times *[2]Timespec, flag int) (err error) {
-+ _p0 := uintptr(unsafe.Pointer(C.CString(path)))
-+ r0, er := C.utimensat(C.int(dirfd), C.uintptr_t(_p0), C.uintptr_t(uintptr(unsafe.Pointer(times))), C.int(flag))
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func getcwd(buf []byte) (err error) {
-+ var _p0 *byte
-+ if len(buf) > 0 {
-+ _p0 = &buf[0]
-+ }
-+ var _p1 int
-+ _p1 = len(buf)
-+ r0, er := C.getcwd(C.uintptr_t(uintptr(unsafe.Pointer(_p0))), C.size_t(_p1))
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ 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, er := C.accept(C.int(s), C.uintptr_t(uintptr(unsafe.Pointer(rsa))), C.uintptr_t(uintptr(unsafe.Pointer(addrlen))))
-+ fd = int(r0)
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func getdirent(fd int, buf []byte) (n int, err error) {
-+ var _p0 *byte
-+ if len(buf) > 0 {
-+ _p0 = &buf[0]
-+ }
-+ var _p1 int
-+ _p1 = len(buf)
-+ r0, er := C.getdirent(C.int(fd), C.uintptr_t(uintptr(unsafe.Pointer(_p0))), C.size_t(_p1))
-+ n = int(r0)
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func wait4(pid Pid_t, status *_C_int, options int, rusage *Rusage) (wpid Pid_t, err error) {
-+ r0, er := C.wait4(C.int(pid), C.uintptr_t(uintptr(unsafe.Pointer(status))), C.int(options), C.uintptr_t(uintptr(unsafe.Pointer(rusage))))
-+ wpid = Pid_t(r0)
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func ioctl(fd int, req uint, arg uintptr) (err error) {
-+ r0, er := C.ioctl(C.int(fd), C.int(req), C.uintptr_t(arg))
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func FcntlInt(fd uintptr, cmd int, arg int) (r int, err error) {
-+ r0, er := C.fcntl(C.uintptr_t(fd), C.int(cmd), C.uintptr_t(arg))
-+ r = int(r0)
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func FcntlFlock(fd uintptr, cmd int, lk *Flock_t) (err error) {
-+ r0, er := C.fcntl(C.uintptr_t(fd), C.int(cmd), C.uintptr_t(uintptr(unsafe.Pointer(lk))))
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func fcntl(fd int, cmd int, arg int) (val int, err error) {
-+ r0, er := C.fcntl(C.uintptr_t(fd), C.int(cmd), C.uintptr_t(arg))
-+ val = int(r0)
-+ 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))
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Chdir(path string) (err error) {
-+ _p0 := uintptr(unsafe.Pointer(C.CString(path)))
-+ r0, er := C.chdir(C.uintptr_t(_p0))
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Chroot(path string) (err error) {
-+ _p0 := uintptr(unsafe.Pointer(C.CString(path)))
-+ r0, er := C.chroot(C.uintptr_t(_p0))
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Close(fd int) (err error) {
-+ r0, er := C.close(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 Dup(oldfd int) (fd int, err error) {
-+ r0, er := C.dup(C.int(oldfd))
-+ fd = int(r0)
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Exit(code int) {
-+ C.exit(C.int(code))
-+ 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) {
-+ _p0 := uintptr(unsafe.Pointer(C.CString(path)))
-+ r0, er := C.faccessat(C.int(dirfd), C.uintptr_t(_p0), C.uint(mode), C.int(flags))
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Fchdir(fd int) (err error) {
-+ r0, er := C.fchdir(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 Fchmod(fd int, mode uint32) (err error) {
-+ r0, er := C.fchmod(C.int(fd), C.uint(mode))
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ 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) {
-+ _p0 := uintptr(unsafe.Pointer(C.CString(path)))
-+ r0, er := C.fchmodat(C.int(dirfd), C.uintptr_t(_p0), C.uint(mode), C.int(flags))
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ 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) {
-+ _p0 := uintptr(unsafe.Pointer(C.CString(path)))
-+ r0, er := C.fchownat(C.int(dirfd), C.uintptr_t(_p0), C.int(uid), C.int(gid), C.int(flags))
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Fdatasync(fd int) (err error) {
-+ r0, er := C.fdatasync(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 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)
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Getpgrp() (pid int) {
-+ r0, _ := C.getpgrp()
-+ pid = int(r0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Getpid() (pid int) {
-+ r0, _ := C.getpid()
-+ pid = int(r0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Getppid() (ppid int) {
-+ r0, _ := C.getppid()
-+ 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, er := C.getpriority(C.int(which), C.int(who))
-+ prio = int(r0)
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Getrusage(who int, rusage *Rusage) (err error) {
-+ r0, er := C.getrusage(C.int(who), C.uintptr_t(uintptr(unsafe.Pointer(rusage))))
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Getsid(pid int) (sid int, err error) {
-+ r0, er := C.getsid(C.int(pid))
-+ sid = int(r0)
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Kill(pid int, sig Signal) (err error) {
-+ r0, er := C.kill(C.int(pid), C.int(sig))
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Klogctl(typ int, buf []byte) (n int, err error) {
-+ var _p0 *byte
-+ if len(buf) > 0 {
-+ _p0 = &buf[0]
-+ }
-+ var _p1 int
-+ _p1 = len(buf)
-+ r0, er := C.syslog(C.int(typ), C.uintptr_t(uintptr(unsafe.Pointer(_p0))), C.size_t(_p1))
-+ n = int(r0)
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Mkdir(dirfd int, path string, mode uint32) (err error) {
-+ _p0 := uintptr(unsafe.Pointer(C.CString(path)))
-+ r0, er := C.mkdir(C.int(dirfd), C.uintptr_t(_p0), C.uint(mode))
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Mkdirat(dirfd int, path string, mode uint32) (err error) {
-+ _p0 := uintptr(unsafe.Pointer(C.CString(path)))
-+ r0, er := C.mkdirat(C.int(dirfd), C.uintptr_t(_p0), C.uint(mode))
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Mkfifo(path string, mode uint32) (err error) {
-+ _p0 := uintptr(unsafe.Pointer(C.CString(path)))
-+ r0, er := C.mkfifo(C.uintptr_t(_p0), C.uint(mode))
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Mknod(path string, mode uint32, dev int) (err error) {
-+ _p0 := uintptr(unsafe.Pointer(C.CString(path)))
-+ r0, er := C.mknod(C.uintptr_t(_p0), C.uint(mode), C.int(dev))
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
-+ _p0 := uintptr(unsafe.Pointer(C.CString(path)))
-+ r0, er := C.mknodat(C.int(dirfd), C.uintptr_t(_p0), C.uint(mode), C.int(dev))
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
-+ r0, er := C.nanosleep(C.uintptr_t(uintptr(unsafe.Pointer(time))), C.uintptr_t(uintptr(unsafe.Pointer(leftover))))
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ 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) {
-+ _p0 := uintptr(unsafe.Pointer(C.CString(path)))
-+ r0, er := C.open64(C.uintptr_t(_p0), C.int(mode), C.uint(perm))
-+ fd = int(r0)
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
-+ _p0 := uintptr(unsafe.Pointer(C.CString(path)))
-+ r0, er := C.openat(C.int(dirfd), C.uintptr_t(_p0), C.int(flags), C.uint(mode))
-+ fd = int(r0)
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ 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 *byte
-+ if len(p) > 0 {
-+ _p0 = &p[0]
-+ }
-+ var _p1 int
-+ _p1 = len(p)
-+ r0, er := C.read(C.int(fd), C.uintptr_t(uintptr(unsafe.Pointer(_p0))), C.size_t(_p1))
-+ n = int(r0)
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Readlink(path string, buf []byte) (n int, err error) {
-+ _p0 := uintptr(unsafe.Pointer(C.CString(path)))
-+ var _p1 *byte
-+ if len(buf) > 0 {
-+ _p1 = &buf[0]
-+ }
-+ var _p2 int
-+ _p2 = len(buf)
-+ r0, er := C.readlink(C.uintptr_t(_p0), C.uintptr_t(uintptr(unsafe.Pointer(_p1))), C.size_t(_p2))
-+ n = int(r0)
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
-+ _p0 := uintptr(unsafe.Pointer(C.CString(oldpath)))
-+ _p1 := uintptr(unsafe.Pointer(C.CString(newpath)))
-+ r0, er := C.renameat(C.int(olddirfd), C.uintptr_t(_p0), C.int(newdirfd), C.uintptr_t(_p1))
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Setdomainname(p []byte) (err error) {
-+ var _p0 *byte
-+ if len(p) > 0 {
-+ _p0 = &p[0]
-+ }
-+ var _p1 int
-+ _p1 = len(p)
-+ r0, er := C.setdomainname(C.uintptr_t(uintptr(unsafe.Pointer(_p0))), C.size_t(_p1))
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Sethostname(p []byte) (err error) {
-+ var _p0 *byte
-+ if len(p) > 0 {
-+ _p0 = &p[0]
-+ }
-+ var _p1 int
-+ _p1 = len(p)
-+ r0, er := C.sethostname(C.uintptr_t(uintptr(unsafe.Pointer(_p0))), C.size_t(_p1))
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Setpgid(pid int, pgid int) (err error) {
-+ r0, er := C.setpgid(C.int(pid), C.int(pgid))
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Setsid() (pid int, err error) {
-+ r0, er := C.setsid()
-+ pid = int(r0)
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Settimeofday(tv *Timeval) (err error) {
-+ r0, er := C.settimeofday(C.uintptr_t(uintptr(unsafe.Pointer(tv))))
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Setuid(uid int) (err error) {
-+ r0, er := C.setuid(C.int(uid))
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Setgid(uid int) (err error) {
-+ r0, er := C.setgid(C.int(uid))
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Setpriority(which int, who int, prio int) (err error) {
-+ r0, er := C.setpriority(C.int(which), C.int(who), C.int(prio))
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Statx(dirfd int, path string, flags int, mask int, stat *Statx_t) (err error) {
-+ _p0 := uintptr(unsafe.Pointer(C.CString(path)))
-+ r0, er := C.statx(C.int(dirfd), C.uintptr_t(_p0), C.int(flags), C.int(mask), C.uintptr_t(uintptr(unsafe.Pointer(stat))))
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Sync() {
-+ C.sync()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Times(tms *Tms) (ticks uintptr, err error) {
-+ r0, er := C.times(C.uintptr_t(uintptr(unsafe.Pointer(tms))))
-+ ticks = uintptr(r0)
-+ if uintptr(r0) == ^uintptr(0) && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Umask(mask int) (oldmask int) {
-+ r0, _ := C.umask(C.int(mask))
-+ oldmask = int(r0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Uname(buf *Utsname) (err error) {
-+ r0, er := C.uname(C.uintptr_t(uintptr(unsafe.Pointer(buf))))
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Unlink(path string) (err error) {
-+ _p0 := uintptr(unsafe.Pointer(C.CString(path)))
-+ r0, er := C.unlink(C.uintptr_t(_p0))
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Unlinkat(dirfd int, path string, flags int) (err error) {
-+ _p0 := uintptr(unsafe.Pointer(C.CString(path)))
-+ r0, er := C.unlinkat(C.int(dirfd), C.uintptr_t(_p0), C.int(flags))
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Ustat(dev int, ubuf *Ustat_t) (err error) {
-+ r0, er := C.ustat(C.int(dev), C.uintptr_t(uintptr(unsafe.Pointer(ubuf))))
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ 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 *byte
-+ if len(p) > 0 {
-+ _p0 = &p[0]
-+ }
-+ var _p1 int
-+ _p1 = len(p)
-+ r0, er := C.write(C.int(fd), C.uintptr_t(uintptr(unsafe.Pointer(_p0))), C.size_t(_p1))
-+ n = int(r0)
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func readlen(fd int, p *byte, np int) (n int, err error) {
-+ r0, er := C.read(C.int(fd), C.uintptr_t(uintptr(unsafe.Pointer(p))), C.size_t(np))
-+ n = int(r0)
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func writelen(fd int, p *byte, np int) (n int, err error) {
-+ r0, er := C.write(C.int(fd), C.uintptr_t(uintptr(unsafe.Pointer(p))), C.size_t(np))
-+ n = int(r0)
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Dup2(oldfd int, newfd int) (err error) {
-+ r0, er := C.dup2(C.int(oldfd), C.int(newfd))
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ 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) {
-+ r0, er := C.posix_fadvise64(C.int(fd), C.longlong(offset), C.longlong(length), C.int(advice))
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Fchown(fd int, uid int, gid int) (err error) {
-+ r0, er := C.fchown(C.int(fd), C.int(uid), C.int(gid))
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func fstat(fd int, stat *Stat_t) (err error) {
-+ r0, er := C.fstat(C.int(fd), C.uintptr_t(uintptr(unsafe.Pointer(stat))))
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func fstatat(dirfd int, path string, stat *Stat_t, flags int) (err error) {
-+ _p0 := uintptr(unsafe.Pointer(C.CString(path)))
-+ r0, er := C.fstatat(C.int(dirfd), C.uintptr_t(_p0), C.uintptr_t(uintptr(unsafe.Pointer(stat))), C.int(flags))
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Fstatfs(fd int, buf *Statfs_t) (err error) {
-+ r0, er := C.fstatfs(C.int(fd), C.uintptr_t(uintptr(unsafe.Pointer(buf))))
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Ftruncate(fd int, length int64) (err error) {
-+ r0, er := C.ftruncate(C.int(fd), 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 Getegid() (egid int) {
-+ r0, _ := C.getegid()
-+ egid = int(r0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Geteuid() (euid int) {
-+ r0, _ := C.geteuid()
-+ euid = int(r0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Getgid() (gid int) {
-+ r0, _ := C.getgid()
-+ gid = int(r0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Getuid() (uid int) {
-+ r0, _ := C.getuid()
-+ uid = int(r0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Lchown(path string, uid int, gid int) (err error) {
-+ _p0 := uintptr(unsafe.Pointer(C.CString(path)))
-+ r0, er := C.lchown(C.uintptr_t(_p0), C.int(uid), C.int(gid))
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Listen(s int, n int) (err error) {
-+ r0, er := C.listen(C.int(s), C.int(n))
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func lstat(path string, stat *Stat_t) (err error) {
-+ _p0 := uintptr(unsafe.Pointer(C.CString(path)))
-+ r0, er := C.lstat(C.uintptr_t(_p0), C.uintptr_t(uintptr(unsafe.Pointer(stat))))
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Pause() (err error) {
-+ r0, er := C.pause()
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ 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 *byte
-+ if len(p) > 0 {
-+ _p0 = &p[0]
-+ }
-+ var _p1 int
-+ _p1 = len(p)
-+ r0, er := C.pread64(C.int(fd), C.uintptr_t(uintptr(unsafe.Pointer(_p0))), C.size_t(_p1), C.longlong(offset))
-+ n = int(r0)
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ 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 *byte
-+ if len(p) > 0 {
-+ _p0 = &p[0]
-+ }
-+ var _p1 int
-+ _p1 = len(p)
-+ r0, er := C.pwrite64(C.int(fd), C.uintptr_t(uintptr(unsafe.Pointer(_p0))), C.size_t(_p1), C.longlong(offset))
-+ n = int(r0)
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ 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, er := C.c_select(C.int(nfd), C.uintptr_t(uintptr(unsafe.Pointer(r))), C.uintptr_t(uintptr(unsafe.Pointer(w))), C.uintptr_t(uintptr(unsafe.Pointer(e))), C.uintptr_t(uintptr(unsafe.Pointer(timeout))))
-+ n = int(r0)
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Pselect(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timespec, sigmask *Sigset_t) (n int, err error) {
-+ r0, er := C.pselect(C.int(nfd), C.uintptr_t(uintptr(unsafe.Pointer(r))), C.uintptr_t(uintptr(unsafe.Pointer(w))), C.uintptr_t(uintptr(unsafe.Pointer(e))), C.uintptr_t(uintptr(unsafe.Pointer(timeout))), C.uintptr_t(uintptr(unsafe.Pointer(sigmask))))
-+ n = int(r0)
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Setregid(rgid int, egid int) (err error) {
-+ r0, er := C.setregid(C.int(rgid), C.int(egid))
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Setreuid(ruid int, euid int) (err error) {
-+ r0, er := C.setreuid(C.int(ruid), C.int(euid))
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Shutdown(fd int, how int) (err error) {
-+ r0, er := C.shutdown(C.int(fd), C.int(how))
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ 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, er := C.splice(C.int(rfd), C.uintptr_t(uintptr(unsafe.Pointer(roff))), C.int(wfd), C.uintptr_t(uintptr(unsafe.Pointer(woff))), C.int(len), C.int(flags))
-+ n = int64(r0)
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func stat(path string, statptr *Stat_t) (err error) {
-+ _p0 := uintptr(unsafe.Pointer(C.CString(path)))
-+ r0, er := C.stat(C.uintptr_t(_p0), C.uintptr_t(uintptr(unsafe.Pointer(statptr))))
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Statfs(path string, buf *Statfs_t) (err error) {
-+ _p0 := uintptr(unsafe.Pointer(C.CString(path)))
-+ r0, er := C.statfs(C.uintptr_t(_p0), C.uintptr_t(uintptr(unsafe.Pointer(buf))))
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Truncate(path string, length int64) (err error) {
-+ _p0 := uintptr(unsafe.Pointer(C.CString(path)))
-+ r0, er := C.truncate(C.uintptr_t(_p0), 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 bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-+ r0, er := C.bind(C.int(s), C.uintptr_t(uintptr(addr)), C.uintptr_t(uintptr(addrlen)))
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ 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) {
-+ r0, er := C.connect(C.int(s), C.uintptr_t(uintptr(addr)), C.uintptr_t(uintptr(addrlen)))
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ 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, er := C.getgroups(C.int(n), C.uintptr_t(uintptr(unsafe.Pointer(list))))
-+ nn = int(r0)
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func setgroups(n int, list *_Gid_t) (err error) {
-+ r0, er := C.setgroups(C.int(n), C.uintptr_t(uintptr(unsafe.Pointer(list))))
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ 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) {
-+ r0, er := C.getsockopt(C.int(s), C.int(level), C.int(name), C.uintptr_t(uintptr(val)), C.uintptr_t(uintptr(unsafe.Pointer(vallen))))
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ 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) {
-+ r0, er := C.setsockopt(C.int(s), C.int(level), C.int(name), C.uintptr_t(uintptr(val)), C.uintptr_t(vallen))
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ 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, er := C.socket(C.int(domain), C.int(typ), C.int(proto))
-+ fd = int(r0)
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ 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) {
-+ r0, er := C.socketpair(C.int(domain), C.int(typ), C.int(proto), C.uintptr_t(uintptr(unsafe.Pointer(fd))))
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-+ r0, er := C.getpeername(C.int(fd), C.uintptr_t(uintptr(unsafe.Pointer(rsa))), C.uintptr_t(uintptr(unsafe.Pointer(addrlen))))
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-+ r0, er := C.getsockname(C.int(fd), C.uintptr_t(uintptr(unsafe.Pointer(rsa))), C.uintptr_t(uintptr(unsafe.Pointer(addrlen))))
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ 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 *byte
-+ if len(p) > 0 {
-+ _p0 = &p[0]
-+ }
-+ var _p1 int
-+ _p1 = len(p)
-+ r0, er := C.recvfrom(C.int(fd), C.uintptr_t(uintptr(unsafe.Pointer(_p0))), C.size_t(_p1), C.int(flags), C.uintptr_t(uintptr(unsafe.Pointer(from))), C.uintptr_t(uintptr(unsafe.Pointer(fromlen))))
-+ n = int(r0)
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ 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 *byte
-+ if len(buf) > 0 {
-+ _p0 = &buf[0]
-+ }
-+ var _p1 int
-+ _p1 = len(buf)
-+ r0, er := C.sendto(C.int(s), C.uintptr_t(uintptr(unsafe.Pointer(_p0))), C.size_t(_p1), C.int(flags), C.uintptr_t(uintptr(to)), C.uintptr_t(uintptr(addrlen)))
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ 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, er := C.nrecvmsg(C.int(s), C.uintptr_t(uintptr(unsafe.Pointer(msg))), C.int(flags))
-+ n = int(r0)
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ 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, er := C.nsendmsg(C.int(s), C.uintptr_t(uintptr(unsafe.Pointer(msg))), C.int(flags))
-+ n = int(r0)
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func munmap(addr uintptr, length uintptr) (err error) {
-+ r0, er := C.munmap(C.uintptr_t(addr), C.uintptr_t(length))
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Madvise(b []byte, advice int) (err error) {
-+ var _p0 *byte
-+ if len(b) > 0 {
-+ _p0 = &b[0]
-+ }
-+ var _p1 int
-+ _p1 = len(b)
-+ r0, er := C.madvise(C.uintptr_t(uintptr(unsafe.Pointer(_p0))), C.size_t(_p1), C.int(advice))
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Mprotect(b []byte, prot int) (err error) {
-+ var _p0 *byte
-+ if len(b) > 0 {
-+ _p0 = &b[0]
-+ }
-+ var _p1 int
-+ _p1 = len(b)
-+ r0, er := C.mprotect(C.uintptr_t(uintptr(unsafe.Pointer(_p0))), C.size_t(_p1), C.int(prot))
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Mlock(b []byte) (err error) {
-+ var _p0 *byte
-+ if len(b) > 0 {
-+ _p0 = &b[0]
-+ }
-+ var _p1 int
-+ _p1 = len(b)
-+ r0, er := C.mlock(C.uintptr_t(uintptr(unsafe.Pointer(_p0))), C.size_t(_p1))
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Mlockall(flags int) (err error) {
-+ r0, er := C.mlockall(C.int(flags))
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Msync(b []byte, flags int) (err error) {
-+ var _p0 *byte
-+ if len(b) > 0 {
-+ _p0 = &b[0]
-+ }
-+ var _p1 int
-+ _p1 = len(b)
-+ r0, er := C.msync(C.uintptr_t(uintptr(unsafe.Pointer(_p0))), C.size_t(_p1), C.int(flags))
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Munlock(b []byte) (err error) {
-+ var _p0 *byte
-+ if len(b) > 0 {
-+ _p0 = &b[0]
-+ }
-+ var _p1 int
-+ _p1 = len(b)
-+ r0, er := C.munlock(C.uintptr_t(uintptr(unsafe.Pointer(_p0))), C.size_t(_p1))
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Munlockall() (err error) {
-+ r0, er := C.munlockall()
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func pipe(p *[2]_C_int) (err error) {
-+ r0, er := C.pipe(C.uintptr_t(uintptr(unsafe.Pointer(p))))
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ 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, er := C.poll(C.uintptr_t(uintptr(unsafe.Pointer(fds))), C.int(nfds), C.int(timeout))
-+ n = int(r0)
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func gettimeofday(tv *Timeval, tzp *Timezone) (err error) {
-+ r0, er := C.gettimeofday(C.uintptr_t(uintptr(unsafe.Pointer(tv))), C.uintptr_t(uintptr(unsafe.Pointer(tzp))))
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Time(t *Time_t) (tt Time_t, err error) {
-+ r0, er := C.time(C.uintptr_t(uintptr(unsafe.Pointer(t))))
-+ tt = Time_t(r0)
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Utime(path string, buf *Utimbuf) (err error) {
-+ _p0 := uintptr(unsafe.Pointer(C.CString(path)))
-+ r0, er := C.utime(C.uintptr_t(_p0), C.uintptr_t(uintptr(unsafe.Pointer(buf))))
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Getsystemcfg(label int) (n uint64) {
-+ r0, _ := C.getsystemcfg(C.int(label))
-+ n = uint64(r0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func umount(target string) (err error) {
-+ _p0 := uintptr(unsafe.Pointer(C.CString(target)))
-+ r0, er := C.umount(C.uintptr_t(_p0))
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Getrlimit(resource int, rlim *Rlimit) (err error) {
-+ r0, er := C.getrlimit64(C.int(resource), C.uintptr_t(uintptr(unsafe.Pointer(rlim))))
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Setrlimit(resource int, rlim *Rlimit) (err error) {
-+ r0, er := C.setrlimit64(C.int(resource), C.uintptr_t(uintptr(unsafe.Pointer(rlim))))
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ 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, er := C.lseek64(C.int(fd), C.longlong(offset), C.int(whence))
-+ off = int64(r0)
-+ if r0 == -1 && er != nil {
-+ err = er
-+ }
-+ 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, er := C.mmap(C.uintptr_t(addr), C.uintptr_t(length), C.int(prot), C.int(flags), C.int(fd), C.longlong(offset))
-+ xaddr = uintptr(r0)
-+ if uintptr(r0) == ^uintptr(0) && er != nil {
-+ err = er
-+ }
-+ return
-+}
-diff --git a/vendor/golang.org/x/sys/unix/zsyscall_netbsd_amd64.go b/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64.go
-similarity index 57%
-copy from vendor/golang.org/x/sys/unix/zsyscall_netbsd_amd64.go
-copy to vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64.go
-index 7b6c2c87..664b293b 100644
---- a/vendor/golang.org/x/sys/unix/zsyscall_netbsd_amd64.go
-+++ b/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64.go
-@@ -1,22 +1,23 @@
--// mksyscall.pl -netbsd -tags netbsd,amd64 syscall_bsd.go syscall_netbsd.go syscall_netbsd_amd64.go
-+// go run mksyscall_aix_ppc64.go -aix -tags aix,ppc64 syscall_aix.go syscall_aix_ppc64.go
- // Code generated by the command above; see README.md. DO NOT EDIT.
-
--// +build netbsd,amd64
-+// +build aix,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 := RawSyscall(SYS_GETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
-- n = int(r0)
-+func utimes(path string, times *[2]Timeval) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ _, e1 := callutimes(uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)))
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -25,8 +26,13 @@ func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
-
- // 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)
-+func utimensat(dirfd int, path string, times *[2]Timespec, flag int) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ _, e1 := callutimensat(dirfd, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), flag)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -35,9 +41,12 @@ func setgroups(ngid int, gid *_Gid_t) (err error) {
-
- // 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)
-+func getcwd(buf []byte) (err error) {
-+ var _p0 *byte
-+ if len(buf) > 0 {
-+ _p0 = &buf[0]
-+ }
-+ _, e1 := callgetcwd(uintptr(unsafe.Pointer(_p0)), len(buf))
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -47,7 +56,7 @@ 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 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 := callaccept(s, uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
- fd = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -57,8 +66,13 @@ func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
-
- // 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))
-+func getdirent(fd int, buf []byte) (n int, err error) {
-+ var _p0 *byte
-+ if len(buf) > 0 {
-+ _p0 = &buf[0]
-+ }
-+ r0, e1 := callgetdirent(fd, uintptr(unsafe.Pointer(_p0)), len(buf))
-+ n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -67,8 +81,9 @@ func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-
- // 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))
-+func wait4(pid Pid_t, status *_C_int, options int, rusage *Rusage) (wpid Pid_t, err error) {
-+ r0, e1 := callwait4(int(pid), uintptr(unsafe.Pointer(status)), options, uintptr(unsafe.Pointer(rusage)))
-+ wpid = Pid_t(r0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -77,9 +92,8 @@ func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-
- // 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)
-+func ioctl(fd int, req uint, arg uintptr) (err error) {
-+ _, e1 := callioctl(fd, int(req), arg)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -88,8 +102,9 @@ func socket(domain int, typ int, proto int) (fd int, err error) {
-
- // 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)
-+func FcntlInt(fd uintptr, cmd int, arg int) (r int, err error) {
-+ r0, e1 := callfcntl(fd, cmd, uintptr(arg))
-+ r = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -98,8 +113,8 @@ func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen
-
- // 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)
-+func FcntlFlock(fd uintptr, cmd int, lk *Flock_t) (err error) {
-+ _, e1 := callfcntl(fd, cmd, uintptr(unsafe.Pointer(lk)))
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -108,8 +123,9 @@ func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr)
-
- // 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)))
-+func fcntl(fd int, cmd int, arg int) (val int, err error) {
-+ r0, e1 := callfcntl(uintptr(fd), cmd, uintptr(arg))
-+ val = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -118,8 +134,13 @@ func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-
- // 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)))
-+func Acct(path string) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ _, e1 := callacct(uintptr(unsafe.Pointer(_p0)))
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -128,8 +149,13 @@ func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-
- // 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)
-+func Chdir(path string) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ _, e1 := callchdir(uintptr(unsafe.Pointer(_p0)))
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -138,8 +164,13 @@ func Shutdown(s int, how int) (err error) {
-
- // 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)
-+func Chroot(path string) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ _, e1 := callchroot(uintptr(unsafe.Pointer(_p0)))
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -148,15 +179,8 @@ func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
-
- // 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)
-+func Close(fd int) (err error) {
-+ _, e1 := callclose(fd)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -165,14 +189,9 @@ func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Sockl
-
- // 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))
-+func Dup(oldfd int) (fd int, err error) {
-+ r0, e1 := calldup(oldfd)
-+ fd = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -181,9 +200,20 @@ func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (
-
- // 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)
-+func Exit(code int) {
-+ callexit(code)
-+ 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 := callfaccessat(dirfd, uintptr(unsafe.Pointer(_p0)), mode, flags)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -192,9 +222,8 @@ func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-
- // 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)
-+func Fchdir(fd int) (err error) {
-+ _, e1 := callfchdir(fd)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -203,9 +232,8 @@ 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 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)
-+func Fchmod(fd int, mode uint32) (err error) {
-+ _, e1 := callfchmod(fd, mode)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -214,14 +242,13 @@ func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, ne
-
- // 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)
-+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___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen))
-+ _, e1 := callfchmodat(dirfd, uintptr(unsafe.Pointer(_p0)), mode, flags)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -230,13 +257,13 @@ func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr)
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func utimes(path string, timeval *[2]Timeval) (err error) {
-+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(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0)
-+ _, e1 := callfchownat(dirfd, uintptr(unsafe.Pointer(_p0)), uid, gid, flags)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -245,8 +272,8 @@ func utimes(path string, timeval *[2]Timeval) (err error) {
-
- // 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)
-+func Fdatasync(fd int) (err error) {
-+ _, e1 := callfdatasync(fd)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -255,9 +282,8 @@ func futimes(fd int, timeval *[2]Timeval) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func fcntl(fd int, cmd int, arg int) (val int, err error) {
-- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-- val = int(r0)
-+func Fsync(fd int) (err error) {
-+ _, e1 := callfsync(fd)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -266,14 +292,9 @@ 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 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))
-+func Getpgid(pid int) (pgid int, err error) {
-+ r0, e1 := callgetpgid(pid)
-+ pgid = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -282,56 +303,33 @@ func Madvise(b []byte, behav int) (err error) {
-
- // 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)
-- }
-+func Getpgrp() (pid int) {
-+ r0, _ := callgetpgrp()
-+ pid = int(r0)
- 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)
-- }
-+func Getpid() (pid int) {
-+ r0, _ := callgetpid()
-+ pid = int(r0)
- 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)
-- }
-+func Getppid() (ppid int) {
-+ r0, _ := callgetppid()
-+ ppid = int(r0)
- 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))
-+func Getpriority(which int, who int) (prio int, err error) {
-+ r0, e1 := callgetpriority(which, who)
-+ prio = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -340,14 +338,8 @@ func Msync(b []byte, flags int) (err error) {
-
- // 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)
-+func Getrusage(who int, rusage *Rusage) (err error) {
-+ _, e1 := callgetrusage(who, uintptr(unsafe.Pointer(rusage)))
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -356,8 +348,9 @@ func Munlock(b []byte) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Munlockall() (err error) {
-- _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
-+func Getsid(pid int) (sid int, err error) {
-+ r0, e1 := callgetsid(pid)
-+ sid = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -366,10 +359,8 @@ 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)
-+func Kill(pid int, sig Signal) (err error) {
-+ _, e1 := callkill(pid, int(sig))
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -378,14 +369,12 @@ func pipe() (fd1 int, fd2 int, err error) {
-
- // 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
-+func Klogctl(typ int, buf []byte) (n int, err error) {
-+ var _p0 *byte
- if len(buf) > 0 {
-- _p0 = unsafe.Pointer(&buf[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-+ _p0 = &buf[0]
- }
-- r0, _, e1 := Syscall(SYS_GETDENTS, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
-+ r0, e1 := callsyslog(typ, uintptr(unsafe.Pointer(_p0)), len(buf))
- n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -395,13 +384,13 @@ func getdents(fd int, buf []byte) (n int, err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Access(path string, mode uint32) (err error) {
-+func Mkdir(dirfd int, 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)
-+ _, e1 := callmkdir(dirfd, uintptr(unsafe.Pointer(_p0)), mode)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -410,8 +399,13 @@ func Access(path string, mode uint32) (err error) {
-
- // 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)
-+func Mkdirat(dirfd int, path string, mode uint32) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ _, e1 := callmkdirat(dirfd, uintptr(unsafe.Pointer(_p0)), mode)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -420,13 +414,13 @@ func Adjtime(delta *Timeval, olddelta *Timeval) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Chdir(path string) (err error) {
-+func Mkfifo(path string, mode uint32) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
- if err != nil {
- return
- }
-- _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-+ _, e1 := callmkfifo(uintptr(unsafe.Pointer(_p0)), mode)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -435,13 +429,13 @@ func Chdir(path string) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Chflags(path string, flags int) (err error) {
-+func Mknod(path string, mode uint32, dev 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)
-+ _, e1 := callmknod(uintptr(unsafe.Pointer(_p0)), mode, dev)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -450,13 +444,13 @@ func Chflags(path string, flags int) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Chmod(path string, mode uint32) (err error) {
-+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(SYS_CHMOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-+ _, e1 := callmknodat(dirfd, uintptr(unsafe.Pointer(_p0)), mode, dev)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -465,13 +459,8 @@ func Chmod(path string, mode uint32) (err error) {
-
- // 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))
-+func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
-+ _, e1 := callnanosleep(uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)))
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -480,13 +469,14 @@ func Chown(path string, uid int, gid int) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Chroot(path string) (err error) {
-+func Open(path string, mode int, perm uint32) (fd int, err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
- if err != nil {
- return
- }
-- _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-+ r0, e1 := callopen64(uintptr(unsafe.Pointer(_p0)), mode, perm)
-+ fd = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -495,8 +485,14 @@ func Chroot(path string) (err error) {
-
- // 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)
-+func Openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ r0, e1 := callopenat(dirfd, uintptr(unsafe.Pointer(_p0)), flags, mode)
-+ fd = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -505,9 +501,13 @@ func Close(fd int) (err error) {
-
- // 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)
-+func read(fd int, p []byte) (n int, err error) {
-+ var _p0 *byte
-+ if len(p) > 0 {
-+ _p0 = &p[0]
-+ }
-+ r0, e1 := callread(fd, uintptr(unsafe.Pointer(_p0)), len(p))
-+ n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -516,8 +516,18 @@ func Dup(fd int) (nfd int, err error) {
-
- // 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)
-+func Readlink(path string, buf []byte) (n int, err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ var _p1 *byte
-+ if len(buf) > 0 {
-+ _p1 = &buf[0]
-+ }
-+ r0, e1 := callreadlink(uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), len(buf))
-+ n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -526,15 +536,32 @@ func Dup2(from int, to int) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Exit(code int) {
-- Syscall(SYS_EXIT, uintptr(code), 0, 0)
-+func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(oldpath)
-+ if err != nil {
-+ return
-+ }
-+ var _p1 *byte
-+ _p1, err = BytePtrFromString(newpath)
-+ if err != nil {
-+ return
-+ }
-+ _, e1 := callrenameat(olddirfd, uintptr(unsafe.Pointer(_p0)), 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 Fchdir(fd int) (err error) {
-- _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
-+func Setdomainname(p []byte) (err error) {
-+ var _p0 *byte
-+ if len(p) > 0 {
-+ _p0 = &p[0]
-+ }
-+ _, e1 := callsetdomainname(uintptr(unsafe.Pointer(_p0)), len(p))
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -543,8 +570,12 @@ func Fchdir(fd int) (err error) {
-
- // 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)
-+func Sethostname(p []byte) (err error) {
-+ var _p0 *byte
-+ if len(p) > 0 {
-+ _p0 = &p[0]
-+ }
-+ _, e1 := callsethostname(uintptr(unsafe.Pointer(_p0)), len(p))
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -553,8 +584,8 @@ func Fchflags(fd int, flags int) (err error) {
-
- // 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)
-+func Setpgid(pid int, pgid int) (err error) {
-+ _, e1 := callsetpgid(pid, pgid)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -563,8 +594,9 @@ func Fchmod(fd int, mode uint32) (err error) {
-
- // 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))
-+func Setsid() (pid int, err error) {
-+ r0, e1 := callsetsid()
-+ pid = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -573,8 +605,8 @@ func Fchown(fd int, uid int, gid int) (err error) {
-
- // 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)
-+func Settimeofday(tv *Timeval) (err error) {
-+ _, e1 := callsettimeofday(uintptr(unsafe.Pointer(tv)))
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -583,9 +615,8 @@ func Flock(fd int, how int) (err error) {
-
- // 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)
-+func Setuid(uid int) (err error) {
-+ _, e1 := callsetuid(uid)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -594,8 +625,8 @@ 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_t) (err error) {
-- _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-+func Setgid(uid int) (err error) {
-+ _, e1 := callsetgid(uid)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -604,8 +635,8 @@ func Fstat(fd int, stat *Stat_t) (err error) {
-
- // 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)
-+func Setpriority(which int, who int, prio int) (err error) {
-+ _, e1 := callsetpriority(which, who, prio)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -614,8 +645,13 @@ func Fsync(fd int) (err error) {
-
- // 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))
-+func Statx(dirfd int, path string, flags int, mask int, stat *Statx_t) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ _, e1 := callstatx(dirfd, uintptr(unsafe.Pointer(_p0)), flags, mask, uintptr(unsafe.Pointer(stat)))
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -624,33 +660,34 @@ func Ftruncate(fd int, length int64) (err error) {
-
- // 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)
-+func Sync() {
-+ callsync()
- 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)
-+func Times(tms *Tms) (ticks uintptr, err error) {
-+ r0, e1 := calltimes(uintptr(unsafe.Pointer(tms)))
-+ ticks = uintptr(r0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
- 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)
-+func Umask(mask int) (oldmask int) {
-+ r0, _ := callumask(mask)
-+ oldmask = 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)
-+func Uname(buf *Utsname) (err error) {
-+ _, e1 := calluname(uintptr(unsafe.Pointer(buf)))
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -659,33 +696,53 @@ func Getpgid(pid int) (pgid int, err error) {
-
- // 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)
-+func Unlink(path string) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ _, e1 := callunlink(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 Getpid() (pid int) {
-- r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
-- pid = int(r0)
-+func Unlinkat(dirfd int, path string, flags int) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ _, e1 := callunlinkat(dirfd, uintptr(unsafe.Pointer(_p0)), flags)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
- 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)
-+func Ustat(dev int, ubuf *Ustat_t) (err error) {
-+ _, e1 := callustat(dev, uintptr(unsafe.Pointer(ubuf)))
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
- 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)
-+func write(fd int, p []byte) (n int, err error) {
-+ var _p0 *byte
-+ if len(p) > 0 {
-+ _p0 = &p[0]
-+ }
-+ r0, e1 := callwrite(fd, uintptr(unsafe.Pointer(_p0)), len(p))
-+ n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -694,8 +751,9 @@ func Getpriority(which int, who int) (prio int, err error) {
-
- // 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)
-+func readlen(fd int, p *byte, np int) (n int, err error) {
-+ r0, e1 := callread(fd, uintptr(unsafe.Pointer(p)), np)
-+ n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -704,8 +762,9 @@ func Getrlimit(which int, lim *Rlimit) (err error) {
-
- // 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)
-+func writelen(fd int, p *byte, np int) (n int, err error) {
-+ r0, e1 := callwrite(fd, uintptr(unsafe.Pointer(p)), np)
-+ n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -714,9 +773,8 @@ 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 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0)
-- sid = int(r0)
-+func Dup2(oldfd int, newfd int) (err error) {
-+ _, e1 := calldup2(oldfd, newfd)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -725,8 +783,8 @@ func Getsid(pid int) (sid int, err error) {
-
- // 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)
-+func Fadvise(fd int, offset int64, length int64, advice int) (err error) {
-+ _, e1 := callposix_fadvise64(fd, offset, length, advice)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -735,24 +793,33 @@ func Gettimeofday(tv *Timeval) (err error) {
-
- // 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)
-+func Fchown(fd int, uid int, gid int) (err error) {
-+ _, e1 := callfchown(fd, uid, gid)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
- 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)
-+func fstat(fd int, stat *Stat_t) (err error) {
-+ _, e1 := callfstat(fd, uintptr(unsafe.Pointer(stat)))
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
- return
- }
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Kill(pid int, signum syscall.Signal) (err error) {
-- _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), 0)
-+func fstatat(dirfd int, path string, stat *Stat_t, flags int) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ _, e1 := callfstatat(dirfd, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), flags)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -761,9 +828,8 @@ func Kill(pid int, signum syscall.Signal) (err error) {
-
- // 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)
-+func Fstatfs(fd int, buf *Statfs_t) (err error) {
-+ _, e1 := callfstatfs(fd, uintptr(unsafe.Pointer(buf)))
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -772,13 +838,8 @@ func Kqueue() (fd int, err error) {
-
- // 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))
-+func Ftruncate(fd int, length int64) (err error) {
-+ _, e1 := callftruncate(fd, length)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -787,18 +848,45 @@ func Lchown(path string, uid int, gid int) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Link(path string, link string) (err error) {
-+func Getegid() (egid int) {
-+ r0, _ := callgetegid()
-+ egid = int(r0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Geteuid() (euid int) {
-+ r0, _ := callgeteuid()
-+ euid = int(r0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Getgid() (gid int) {
-+ r0, _ := callgetgid()
-+ gid = int(r0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Getuid() (uid int) {
-+ r0, _ := callgetuid()
-+ uid = int(r0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Lchown(path string, uid int, gid int) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
- if err != nil {
- return
- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(link)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-+ _, e1 := calllchown(uintptr(unsafe.Pointer(_p0)), uid, gid)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -807,8 +895,8 @@ func Link(path string, link string) (err error) {
-
- // 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)
-+func Listen(s int, n int) (err error) {
-+ _, e1 := calllisten(s, n)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -817,13 +905,13 @@ 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_t) (err error) {
-+func lstat(path string, stat *Stat_t) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
- if err != nil {
- return
- }
-- _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-+ _, e1 := calllstat(uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)))
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -832,13 +920,8 @@ func Lstat(path string, stat *Stat_t) (err error) {
-
- // 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)
-+func Pause() (err error) {
-+ _, e1 := callpause()
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -847,13 +930,13 @@ func Mkdir(path string, mode uint32) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Mkfifo(path string, mode uint32) (err error) {
-+func Pread(fd int, p []byte, offset int64) (n int, err error) {
- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-+ if len(p) > 0 {
-+ _p0 = &p[0]
- }
-- _, _, e1 := Syscall(SYS_MKFIFO, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-+ r0, e1 := callpread64(fd, uintptr(unsafe.Pointer(_p0)), len(p), offset)
-+ n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -862,13 +945,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) {
-+func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-+ if len(p) > 0 {
-+ _p0 = &p[0]
- }
-- _, _, e1 := Syscall(SYS_MKNOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev))
-+ r0, e1 := callpwrite64(fd, uintptr(unsafe.Pointer(_p0)), len(p), offset)
-+ n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -877,8 +960,9 @@ func Mknod(path string, mode uint32, dev int) (err error) {
-
- // 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)
-+func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
-+ r0, e1 := callselect(nfd, uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)))
-+ n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -887,14 +971,9 @@ func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
-
- // 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)
-+func Pselect(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timespec, sigmask *Sigset_t) (n int, err error) {
-+ r0, e1 := callpselect(nfd, uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), uintptr(unsafe.Pointer(sigmask)))
-+ n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -903,14 +982,8 @@ func Open(path string, mode int, perm uint32) (fd int, err error) {
-
- // 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)
-+func Setregid(rgid int, egid int) (err error) {
-+ _, e1 := callsetregid(rgid, egid)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -919,15 +992,8 @@ 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) {
-- var _p0 unsafe.Pointer
-- if len(p) > 0 {
-- _p0 = unsafe.Pointer(&p[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall6(SYS_PREAD, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), 0)
-- n = int(r0)
-+func Setreuid(ruid int, euid int) (err error) {
-+ _, e1 := callsetreuid(ruid, euid)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -936,15 +1002,8 @@ 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) {
-- var _p0 unsafe.Pointer
-- if len(p) > 0 {
-- _p0 = unsafe.Pointer(&p[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall6(SYS_PWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), 0)
-- n = int(r0)
-+func Shutdown(fd int, how int) (err error) {
-+ _, e1 := callshutdown(fd, how)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -953,15 +1012,9 @@ func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
-
- // 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)
-+func Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error) {
-+ r0, e1 := callsplice(rfd, uintptr(unsafe.Pointer(roff)), wfd, uintptr(unsafe.Pointer(woff)), len, flags)
-+ n = int64(r0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -970,20 +1023,13 @@ func read(fd int, p []byte) (n int, err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Readlink(path string, buf []byte) (n int, err error) {
-+func stat(path string, statptr *Stat_t) (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)
-+ _, e1 := callstat(uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(statptr)))
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -992,18 +1038,13 @@ func Readlink(path string, buf []byte) (n int, err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Rename(from string, to string) (err error) {
-+func Statfs(path string, buf *Statfs_t) (err error) {
- var _p0 *byte
-- _p0, err = BytePtrFromString(from)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(to)
-+ _p0, err = BytePtrFromString(path)
- if err != nil {
- return
- }
-- _, _, e1 := Syscall(SYS_RENAME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-+ _, e1 := callstatfs(uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)))
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1012,13 +1053,13 @@ func Rename(from string, to string) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Revoke(path string) (err error) {
-+func Truncate(path string, length int64) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
- if err != nil {
- return
- }
-- _, _, e1 := Syscall(SYS_REVOKE, uintptr(unsafe.Pointer(_p0)), 0, 0)
-+ _, e1 := calltruncate(uintptr(unsafe.Pointer(_p0)), length)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1027,13 +1068,8 @@ func Revoke(path string) (err error) {
-
- // 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)
-+func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-+ _, e1 := callbind(s, uintptr(addr), uintptr(addrlen))
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1042,9 +1078,8 @@ func Rmdir(path string) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
-- r0, _, e1 := Syscall6(SYS_LSEEK, uintptr(fd), 0, uintptr(offset), uintptr(whence), 0, 0)
-- newoffset = int64(r0)
-+func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-+ _, e1 := callconnect(s, uintptr(addr), uintptr(addrlen))
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1053,8 +1088,9 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
-- _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-+func getgroups(n int, list *_Gid_t) (nn int, err error) {
-+ r0, e1 := callgetgroups(n, uintptr(unsafe.Pointer(list)))
-+ nn = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1063,8 +1099,8 @@ func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
-
- // 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)
-+func setgroups(n int, list *_Gid_t) (err error) {
-+ _, e1 := callsetgroups(n, uintptr(unsafe.Pointer(list)))
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1073,8 +1109,8 @@ func Setegid(egid int) (err error) {
-
- // 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)
-+func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
-+ _, e1 := callgetsockopt(s, level, name, uintptr(val), uintptr(unsafe.Pointer(vallen)))
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1083,8 +1119,8 @@ func Seteuid(euid int) (err error) {
-
- // 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)
-+func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
-+ _, e1 := callsetsockopt(s, level, name, uintptr(val), vallen)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1093,8 +1129,9 @@ func Setgid(gid int) (err error) {
-
- // 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)
-+func socket(domain int, typ int, proto int) (fd int, err error) {
-+ r0, e1 := callsocket(domain, typ, proto)
-+ fd = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1103,8 +1140,8 @@ func Setpgid(pid int, pgid int) (err error) {
-
- // 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))
-+func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
-+ _, e1 := callsocketpair(domain, typ, proto, uintptr(unsafe.Pointer(fd)))
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1113,8 +1150,8 @@ func Setpriority(which int, who int, prio 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)
-+func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-+ _, e1 := callgetpeername(fd, uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1123,8 +1160,8 @@ func Setregid(rgid int, egid int) (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)
-+func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-+ _, e1 := callgetsockname(fd, uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1133,8 +1170,13 @@ func Setreuid(ruid int, euid int) (err error) {
-
- // 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)
-+func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
-+ var _p0 *byte
-+ if len(p) > 0 {
-+ _p0 = &p[0]
-+ }
-+ r0, e1 := callrecvfrom(fd, uintptr(unsafe.Pointer(_p0)), len(p), flags, uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
-+ n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1143,9 +1185,12 @@ func Setrlimit(which int, lim *Rlimit) (err error) {
-
- // 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)
-+func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
-+ var _p0 *byte
-+ if len(buf) > 0 {
-+ _p0 = &buf[0]
-+ }
-+ _, e1 := callsendto(s, uintptr(unsafe.Pointer(_p0)), len(buf), flags, uintptr(to), uintptr(addrlen))
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1154,8 +1199,9 @@ func Setsid() (pid int, err error) {
-
- // 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)
-+func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-+ r0, e1 := callnrecvmsg(s, uintptr(unsafe.Pointer(msg)), flags)
-+ n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1164,8 +1210,9 @@ func Settimeofday(tp *Timeval) (err error) {
-
- // 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)
-+func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-+ r0, e1 := callnsendmsg(s, uintptr(unsafe.Pointer(msg)), flags)
-+ n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1174,13 +1221,8 @@ 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_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)
-+func munmap(addr uintptr, length uintptr) (err error) {
-+ _, e1 := callmunmap(addr, length)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1189,18 +1231,12 @@ func Stat(path string, stat *Stat_t) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Symlink(path string, link string) (err error) {
-+func Madvise(b []byte, advice 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
-+ if len(b) > 0 {
-+ _p0 = &b[0]
- }
-- _, _, e1 := Syscall(SYS_SYMLINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-+ _, e1 := callmadvise(uintptr(unsafe.Pointer(_p0)), len(b), advice)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1209,8 +1245,12 @@ func Symlink(path string, link string) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Sync() (err error) {
-- _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0)
-+func Mprotect(b []byte, prot int) (err error) {
-+ var _p0 *byte
-+ if len(b) > 0 {
-+ _p0 = &b[0]
-+ }
-+ _, e1 := callmprotect(uintptr(unsafe.Pointer(_p0)), len(b), prot)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1219,13 +1259,12 @@ func Sync() (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Truncate(path string, length int64) (err error) {
-+func Mlock(b []byte) (err error) {
- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-+ if len(b) > 0 {
-+ _p0 = &b[0]
- }
-- _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), 0, uintptr(length))
-+ _, e1 := callmlock(uintptr(unsafe.Pointer(_p0)), len(b))
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1234,21 +1273,22 @@ func Truncate(path string, length int64) (err error) {
-
- // 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)
-+func Mlockall(flags int) (err error) {
-+ _, e1 := callmlockall(flags)
-+ 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) {
-+func Msync(b []byte, flags int) (err error) {
- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-+ if len(b) > 0 {
-+ _p0 = &b[0]
- }
-- _, _, e1 := Syscall(SYS_UNLINK, uintptr(unsafe.Pointer(_p0)), 0, 0)
-+ _, e1 := callmsync(uintptr(unsafe.Pointer(_p0)), len(b), flags)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1257,13 +1297,12 @@ func Unlink(path string) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Unmount(path string, flags int) (err error) {
-+func Munlock(b []byte) (err error) {
- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-+ if len(b) > 0 {
-+ _p0 = &b[0]
- }
-- _, _, e1 := Syscall(SYS_UNMOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-+ _, e1 := callmunlock(uintptr(unsafe.Pointer(_p0)), len(b))
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1272,15 +1311,8 @@ func Unmount(path string, flags int) (err error) {
-
- // 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)
-+func Munlockall() (err error) {
-+ _, e1 := callmunlockall()
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1289,9 +1321,8 @@ func write(fd int, p []byte) (n int, err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) {
-- r0, _, e1 := Syscall9(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), 0, uintptr(pos), 0, 0)
-- ret = uintptr(r0)
-+func pipe(p *[2]_C_int) (err error) {
-+ _, e1 := callpipe(uintptr(unsafe.Pointer(p)))
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1300,8 +1331,9 @@ func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (
-
- // 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)
-+func poll(fds *PollFd, nfds int, timeout int) (n int, err error) {
-+ r0, e1 := callpoll(uintptr(unsafe.Pointer(fds)), nfds, timeout)
-+ n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1310,9 +1342,8 @@ func munmap(addr uintptr, length uintptr) (err error) {
-
- // 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)
-+func gettimeofday(tv *Timeval, tzp *Timezone) (err error) {
-+ _, e1 := callgettimeofday(uintptr(unsafe.Pointer(tv)), uintptr(unsafe.Pointer(tzp)))
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1321,9 +1352,9 @@ 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))
-- n = int(r0)
-+func Time(t *Time_t) (tt Time_t, err error) {
-+ r0, e1 := calltime(uintptr(unsafe.Pointer(t)))
-+ tt = Time_t(r0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1332,13 +1363,78 @@ func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
-
- // 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) {
-+func Utime(path string, buf *Utimbuf) (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)
-+ _, e1 := callutime(uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)))
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Getsystemcfg(label int) (n uint64) {
-+ r0, _ := callgetsystemcfg(label)
-+ n = uint64(r0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func umount(target string) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(target)
-+ if err != nil {
-+ return
-+ }
-+ _, e1 := callumount(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 Getrlimit(resource int, rlim *Rlimit) (err error) {
-+ _, e1 := callgetrlimit(resource, uintptr(unsafe.Pointer(rlim)))
-+ 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 := callsetrlimit(resource, uintptr(unsafe.Pointer(rlim)))
-+ 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 := calllseek(fd, offset, 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 mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error) {
-+ r0, e1 := callmmap64(addr, length, prot, flags, fd, offset)
-+ xaddr = uintptr(r0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-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
-new file mode 100644
-index 00000000..4b3a8ad7
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gc.go
-@@ -0,0 +1,1192 @@
-+// go run mksyscall_aix_ppc64.go -aix -tags aix,ppc64 syscall_aix.go syscall_aix_ppc64.go
-+// Code generated by the command above; see README.md. DO NOT EDIT.
-+
-+// +build aix,ppc64
-+// +build !gccgo
-+
-+package unix
-+
-+import (
-+ "unsafe"
-+)
-+
-+//go:cgo_import_dynamic libc_utimes utimes "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_utimensat utimensat "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_getcwd getcwd "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_accept accept "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_getdirent getdirent "libc.a/shr_64.o"
-+//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_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"
-+//go:cgo_import_dynamic libc_close close "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_dup dup "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_exit exit "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_faccessat faccessat "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_fchdir fchdir "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_fchmod fchmod "libc.a/shr_64.o"
-+//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"
-+//go:cgo_import_dynamic libc_getppid getppid "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_getpriority getpriority "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_getrusage getrusage "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_getsid getsid "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_kill kill "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_syslog syslog "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_mkdir mkdir "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_mkdirat mkdirat "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_mkfifo mkfifo "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_mknod mknod "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_mknodat mknodat "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_nanosleep nanosleep "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_open64 open64 "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_openat openat "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_read read "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_readlink readlink "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_renameat renameat "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_setdomainname setdomainname "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_sethostname sethostname "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_setpgid setpgid "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_setsid setsid "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_settimeofday settimeofday "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_setuid setuid "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_setgid setgid "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_setpriority setpriority "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_statx statx "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_sync sync "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_times times "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_umask umask "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_uname uname "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_unlink unlink "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_unlinkat unlinkat "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_ustat ustat "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_write write "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_dup2 dup2 "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_posix_fadvise64 posix_fadvise64 "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_fchown fchown "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_fstat fstat "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_fstatat fstatat "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_fstatfs fstatfs "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_ftruncate ftruncate "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_getegid getegid "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_geteuid geteuid "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_getgid getgid "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_getuid getuid "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_lchown lchown "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_listen listen "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_lstat lstat "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_pause pause "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_pread64 pread64 "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_pwrite64 pwrite64 "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_select select "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_pselect pselect "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_setregid setregid "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_setreuid setreuid "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_shutdown shutdown "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_splice splice "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_stat stat "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_statfs statfs "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_truncate truncate "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_bind bind "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_connect connect "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_getgroups getgroups "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_setgroups setgroups "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_getsockopt getsockopt "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_setsockopt setsockopt "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_socket socket "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_socketpair socketpair "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_getpeername getpeername "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_getsockname getsockname "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_recvfrom recvfrom "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_sendto sendto "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_nrecvmsg nrecvmsg "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_nsendmsg nsendmsg "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_munmap munmap "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_madvise madvise "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_mprotect mprotect "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_mlock mlock "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_mlockall mlockall "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_msync msync "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_munlock munlock "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_munlockall munlockall "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_pipe pipe "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_poll poll "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_gettimeofday gettimeofday "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_time time "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_utime utime "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_getsystemcfg getsystemcfg "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_umount umount "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_getrlimit getrlimit "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_setrlimit setrlimit "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_lseek lseek "libc.a/shr_64.o"
-+//go:cgo_import_dynamic libc_mmap64 mmap64 "libc.a/shr_64.o"
-+
-+//go:linkname libc_utimes libc_utimes
-+//go:linkname libc_utimensat libc_utimensat
-+//go:linkname libc_getcwd libc_getcwd
-+//go:linkname libc_accept libc_accept
-+//go:linkname libc_getdirent libc_getdirent
-+//go:linkname libc_wait4 libc_wait4
-+//go:linkname libc_ioctl libc_ioctl
-+//go:linkname libc_fcntl libc_fcntl
-+//go:linkname libc_acct libc_acct
-+//go:linkname libc_chdir libc_chdir
-+//go:linkname libc_chroot libc_chroot
-+//go:linkname libc_close libc_close
-+//go:linkname libc_dup libc_dup
-+//go:linkname libc_exit libc_exit
-+//go:linkname libc_faccessat libc_faccessat
-+//go:linkname libc_fchdir libc_fchdir
-+//go:linkname libc_fchmod libc_fchmod
-+//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
-+//go:linkname libc_getppid libc_getppid
-+//go:linkname libc_getpriority libc_getpriority
-+//go:linkname libc_getrusage libc_getrusage
-+//go:linkname libc_getsid libc_getsid
-+//go:linkname libc_kill libc_kill
-+//go:linkname libc_syslog libc_syslog
-+//go:linkname libc_mkdir libc_mkdir
-+//go:linkname libc_mkdirat libc_mkdirat
-+//go:linkname libc_mkfifo libc_mkfifo
-+//go:linkname libc_mknod libc_mknod
-+//go:linkname libc_mknodat libc_mknodat
-+//go:linkname libc_nanosleep libc_nanosleep
-+//go:linkname libc_open64 libc_open64
-+//go:linkname libc_openat libc_openat
-+//go:linkname libc_read libc_read
-+//go:linkname libc_readlink libc_readlink
-+//go:linkname libc_renameat libc_renameat
-+//go:linkname libc_setdomainname libc_setdomainname
-+//go:linkname libc_sethostname libc_sethostname
-+//go:linkname libc_setpgid libc_setpgid
-+//go:linkname libc_setsid libc_setsid
-+//go:linkname libc_settimeofday libc_settimeofday
-+//go:linkname libc_setuid libc_setuid
-+//go:linkname libc_setgid libc_setgid
-+//go:linkname libc_setpriority libc_setpriority
-+//go:linkname libc_statx libc_statx
-+//go:linkname libc_sync libc_sync
-+//go:linkname libc_times libc_times
-+//go:linkname libc_umask libc_umask
-+//go:linkname libc_uname libc_uname
-+//go:linkname libc_unlink libc_unlink
-+//go:linkname libc_unlinkat libc_unlinkat
-+//go:linkname libc_ustat libc_ustat
-+//go:linkname libc_write libc_write
-+//go:linkname libc_dup2 libc_dup2
-+//go:linkname libc_posix_fadvise64 libc_posix_fadvise64
-+//go:linkname libc_fchown libc_fchown
-+//go:linkname libc_fstat libc_fstat
-+//go:linkname libc_fstatat libc_fstatat
-+//go:linkname libc_fstatfs libc_fstatfs
-+//go:linkname libc_ftruncate libc_ftruncate
-+//go:linkname libc_getegid libc_getegid
-+//go:linkname libc_geteuid libc_geteuid
-+//go:linkname libc_getgid libc_getgid
-+//go:linkname libc_getuid libc_getuid
-+//go:linkname libc_lchown libc_lchown
-+//go:linkname libc_listen libc_listen
-+//go:linkname libc_lstat libc_lstat
-+//go:linkname libc_pause libc_pause
-+//go:linkname libc_pread64 libc_pread64
-+//go:linkname libc_pwrite64 libc_pwrite64
-+//go:linkname libc_select libc_select
-+//go:linkname libc_pselect libc_pselect
-+//go:linkname libc_setregid libc_setregid
-+//go:linkname libc_setreuid libc_setreuid
-+//go:linkname libc_shutdown libc_shutdown
-+//go:linkname libc_splice libc_splice
-+//go:linkname libc_stat libc_stat
-+//go:linkname libc_statfs libc_statfs
-+//go:linkname libc_truncate libc_truncate
-+//go:linkname libc_bind libc_bind
-+//go:linkname libc_connect libc_connect
-+//go:linkname libc_getgroups libc_getgroups
-+//go:linkname libc_setgroups libc_setgroups
-+//go:linkname libc_getsockopt libc_getsockopt
-+//go:linkname libc_setsockopt libc_setsockopt
-+//go:linkname libc_socket libc_socket
-+//go:linkname libc_socketpair libc_socketpair
-+//go:linkname libc_getpeername libc_getpeername
-+//go:linkname libc_getsockname libc_getsockname
-+//go:linkname libc_recvfrom libc_recvfrom
-+//go:linkname libc_sendto libc_sendto
-+//go:linkname libc_nrecvmsg libc_nrecvmsg
-+//go:linkname libc_nsendmsg libc_nsendmsg
-+//go:linkname libc_munmap libc_munmap
-+//go:linkname libc_madvise libc_madvise
-+//go:linkname libc_mprotect libc_mprotect
-+//go:linkname libc_mlock libc_mlock
-+//go:linkname libc_mlockall libc_mlockall
-+//go:linkname libc_msync libc_msync
-+//go:linkname libc_munlock libc_munlock
-+//go:linkname libc_munlockall libc_munlockall
-+//go:linkname libc_pipe libc_pipe
-+//go:linkname libc_poll libc_poll
-+//go:linkname libc_gettimeofday libc_gettimeofday
-+//go:linkname libc_time libc_time
-+//go:linkname libc_utime libc_utime
-+//go:linkname libc_getsystemcfg libc_getsystemcfg
-+//go:linkname libc_umount libc_umount
-+//go:linkname libc_getrlimit libc_getrlimit
-+//go:linkname libc_setrlimit libc_setrlimit
-+//go:linkname libc_lseek libc_lseek
-+//go:linkname libc_mmap64 libc_mmap64
-+
-+type syscallFunc uintptr
-+
-+var (
-+ libc_utimes,
-+ libc_utimensat,
-+ libc_getcwd,
-+ libc_accept,
-+ libc_getdirent,
-+ libc_wait4,
-+ libc_ioctl,
-+ libc_fcntl,
-+ libc_acct,
-+ libc_chdir,
-+ libc_chroot,
-+ libc_close,
-+ libc_dup,
-+ libc_exit,
-+ libc_faccessat,
-+ libc_fchdir,
-+ libc_fchmod,
-+ libc_fchmodat,
-+ libc_fchownat,
-+ libc_fdatasync,
-+ libc_fsync,
-+ libc_getpgid,
-+ libc_getpgrp,
-+ libc_getpid,
-+ libc_getppid,
-+ libc_getpriority,
-+ libc_getrusage,
-+ libc_getsid,
-+ libc_kill,
-+ libc_syslog,
-+ libc_mkdir,
-+ libc_mkdirat,
-+ libc_mkfifo,
-+ libc_mknod,
-+ libc_mknodat,
-+ libc_nanosleep,
-+ libc_open64,
-+ libc_openat,
-+ libc_read,
-+ libc_readlink,
-+ libc_renameat,
-+ libc_setdomainname,
-+ libc_sethostname,
-+ libc_setpgid,
-+ libc_setsid,
-+ libc_settimeofday,
-+ libc_setuid,
-+ libc_setgid,
-+ libc_setpriority,
-+ libc_statx,
-+ libc_sync,
-+ libc_times,
-+ libc_umask,
-+ libc_uname,
-+ libc_unlink,
-+ libc_unlinkat,
-+ libc_ustat,
-+ libc_write,
-+ libc_dup2,
-+ libc_posix_fadvise64,
-+ libc_fchown,
-+ libc_fstat,
-+ libc_fstatat,
-+ libc_fstatfs,
-+ libc_ftruncate,
-+ libc_getegid,
-+ libc_geteuid,
-+ libc_getgid,
-+ libc_getuid,
-+ libc_lchown,
-+ libc_listen,
-+ libc_lstat,
-+ libc_pause,
-+ libc_pread64,
-+ libc_pwrite64,
-+ libc_select,
-+ libc_pselect,
-+ libc_setregid,
-+ libc_setreuid,
-+ libc_shutdown,
-+ libc_splice,
-+ libc_stat,
-+ libc_statfs,
-+ libc_truncate,
-+ libc_bind,
-+ libc_connect,
-+ libc_getgroups,
-+ libc_setgroups,
-+ libc_getsockopt,
-+ libc_setsockopt,
-+ libc_socket,
-+ libc_socketpair,
-+ libc_getpeername,
-+ libc_getsockname,
-+ libc_recvfrom,
-+ libc_sendto,
-+ libc_nrecvmsg,
-+ libc_nsendmsg,
-+ libc_munmap,
-+ libc_madvise,
-+ libc_mprotect,
-+ libc_mlock,
-+ libc_mlockall,
-+ libc_msync,
-+ libc_munlock,
-+ libc_munlockall,
-+ libc_pipe,
-+ libc_poll,
-+ libc_gettimeofday,
-+ libc_time,
-+ libc_utime,
-+ libc_getsystemcfg,
-+ libc_umount,
-+ libc_getrlimit,
-+ libc_setrlimit,
-+ libc_lseek,
-+ libc_mmap64 syscallFunc
-+)
-+
-+// Implemented in runtime/syscall_aix.go.
-+func rawSyscall6(trap, nargs, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
-+func syscall6(trap, nargs, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callutimes(_p0 uintptr, times uintptr) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_utimes)), 2, _p0, times, 0, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callutimensat(dirfd int, _p0 uintptr, times uintptr, flag int) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_utimensat)), 4, uintptr(dirfd), _p0, times, uintptr(flag), 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callgetcwd(_p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_getcwd)), 2, _p0, uintptr(_lenp0), 0, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callaccept(s int, rsa uintptr, addrlen uintptr) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_accept)), 3, uintptr(s), rsa, addrlen, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callgetdirent(fd int, _p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_getdirent)), 3, uintptr(fd), _p0, uintptr(_lenp0), 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callwait4(pid int, status uintptr, options int, rusage uintptr) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_wait4)), 4, uintptr(pid), status, uintptr(options), rusage, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callioctl(fd int, req int, arg uintptr) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_ioctl)), 3, uintptr(fd), uintptr(req), arg, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callfcntl(fd uintptr, cmd int, arg uintptr) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_fcntl)), 3, fd, uintptr(cmd), arg, 0, 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
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callchdir(_p0 uintptr) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_chdir)), 1, _p0, 0, 0, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callchroot(_p0 uintptr) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_chroot)), 1, _p0, 0, 0, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callclose(fd int) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_close)), 1, uintptr(fd), 0, 0, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func calldup(oldfd int) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_dup)), 1, uintptr(oldfd), 0, 0, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callexit(code int) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_exit)), 1, uintptr(code), 0, 0, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callfaccessat(dirfd int, _p0 uintptr, mode uint32, flags int) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_faccessat)), 4, uintptr(dirfd), _p0, uintptr(mode), uintptr(flags), 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callfchdir(fd int) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_fchdir)), 1, uintptr(fd), 0, 0, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callfchmod(fd int, mode uint32) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_fchmod)), 2, uintptr(fd), uintptr(mode), 0, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callfchmodat(dirfd int, _p0 uintptr, mode uint32, flags int) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_fchmodat)), 4, uintptr(dirfd), _p0, uintptr(mode), uintptr(flags), 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callfchownat(dirfd int, _p0 uintptr, uid int, gid int, flags int) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_fchownat)), 5, uintptr(dirfd), _p0, uintptr(uid), uintptr(gid), uintptr(flags), 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callfdatasync(fd int) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_fdatasync)), 1, uintptr(fd), 0, 0, 0, 0, 0)
-+ return
-+}
-+
-+// 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
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callgetpgrp() (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_getpgrp)), 0, 0, 0, 0, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callgetpid() (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_getpid)), 0, 0, 0, 0, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callgetppid() (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_getppid)), 0, 0, 0, 0, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callgetpriority(which int, who int) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_getpriority)), 2, uintptr(which), uintptr(who), 0, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callgetrusage(who int, rusage uintptr) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_getrusage)), 2, uintptr(who), rusage, 0, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callgetsid(pid int) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_getsid)), 1, uintptr(pid), 0, 0, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callkill(pid int, sig int) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_kill)), 2, uintptr(pid), uintptr(sig), 0, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callsyslog(typ int, _p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_syslog)), 3, uintptr(typ), _p0, uintptr(_lenp0), 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callmkdir(dirfd int, _p0 uintptr, mode uint32) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_mkdir)), 3, uintptr(dirfd), _p0, uintptr(mode), 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callmkdirat(dirfd int, _p0 uintptr, mode uint32) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_mkdirat)), 3, uintptr(dirfd), _p0, uintptr(mode), 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callmkfifo(_p0 uintptr, mode uint32) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_mkfifo)), 2, _p0, uintptr(mode), 0, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callmknod(_p0 uintptr, mode uint32, dev int) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_mknod)), 3, _p0, uintptr(mode), uintptr(dev), 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callmknodat(dirfd int, _p0 uintptr, mode uint32, dev int) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_mknodat)), 4, uintptr(dirfd), _p0, uintptr(mode), uintptr(dev), 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callnanosleep(time uintptr, leftover uintptr) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_nanosleep)), 2, time, leftover, 0, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callopen64(_p0 uintptr, mode int, perm uint32) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_open64)), 3, _p0, uintptr(mode), uintptr(perm), 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callopenat(dirfd int, _p0 uintptr, flags int, mode uint32) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_openat)), 4, uintptr(dirfd), _p0, uintptr(flags), uintptr(mode), 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callread(fd int, _p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_read)), 3, uintptr(fd), _p0, uintptr(_lenp0), 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callreadlink(_p0 uintptr, _p1 uintptr, _lenp1 int) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_readlink)), 3, _p0, _p1, uintptr(_lenp1), 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callrenameat(olddirfd int, _p0 uintptr, newdirfd int, _p1 uintptr) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_renameat)), 4, uintptr(olddirfd), _p0, uintptr(newdirfd), _p1, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callsetdomainname(_p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_setdomainname)), 2, _p0, uintptr(_lenp0), 0, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callsethostname(_p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_sethostname)), 2, _p0, uintptr(_lenp0), 0, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callsetpgid(pid int, pgid int) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_setpgid)), 2, uintptr(pid), uintptr(pgid), 0, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callsetsid() (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_setsid)), 0, 0, 0, 0, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callsettimeofday(tv uintptr) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_settimeofday)), 1, tv, 0, 0, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callsetuid(uid int) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_setuid)), 1, uintptr(uid), 0, 0, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callsetgid(uid int) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_setgid)), 1, uintptr(uid), 0, 0, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callsetpriority(which int, who int, prio int) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_setpriority)), 3, uintptr(which), uintptr(who), uintptr(prio), 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callstatx(dirfd int, _p0 uintptr, flags int, mask int, stat uintptr) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_statx)), 5, uintptr(dirfd), _p0, uintptr(flags), uintptr(mask), stat, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callsync() (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_sync)), 0, 0, 0, 0, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func calltimes(tms uintptr) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_times)), 1, tms, 0, 0, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callumask(mask int) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_umask)), 1, uintptr(mask), 0, 0, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func calluname(buf uintptr) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_uname)), 1, buf, 0, 0, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callunlink(_p0 uintptr) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_unlink)), 1, _p0, 0, 0, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callunlinkat(dirfd int, _p0 uintptr, flags int) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_unlinkat)), 3, uintptr(dirfd), _p0, uintptr(flags), 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callustat(dev int, ubuf uintptr) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_ustat)), 2, uintptr(dev), ubuf, 0, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callwrite(fd int, _p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_write)), 3, uintptr(fd), _p0, uintptr(_lenp0), 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func calldup2(oldfd int, newfd int) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_dup2)), 2, uintptr(oldfd), uintptr(newfd), 0, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callposix_fadvise64(fd int, offset int64, length int64, advice int) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_posix_fadvise64)), 4, uintptr(fd), uintptr(offset), uintptr(length), uintptr(advice), 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callfchown(fd int, uid int, gid int) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_fchown)), 3, uintptr(fd), uintptr(uid), uintptr(gid), 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callfstat(fd int, stat uintptr) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_fstat)), 2, uintptr(fd), stat, 0, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callfstatat(dirfd int, _p0 uintptr, stat uintptr, flags int) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_fstatat)), 4, uintptr(dirfd), _p0, stat, uintptr(flags), 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callfstatfs(fd int, buf uintptr) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_fstatfs)), 2, uintptr(fd), buf, 0, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callftruncate(fd int, length int64) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_ftruncate)), 2, uintptr(fd), uintptr(length), 0, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callgetegid() (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_getegid)), 0, 0, 0, 0, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callgeteuid() (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_geteuid)), 0, 0, 0, 0, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callgetgid() (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_getgid)), 0, 0, 0, 0, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callgetuid() (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_getuid)), 0, 0, 0, 0, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func calllchown(_p0 uintptr, uid int, gid int) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_lchown)), 3, _p0, uintptr(uid), uintptr(gid), 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func calllisten(s int, n int) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_listen)), 2, uintptr(s), uintptr(n), 0, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func calllstat(_p0 uintptr, stat uintptr) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_lstat)), 2, _p0, stat, 0, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callpause() (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_pause)), 0, 0, 0, 0, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callpread64(fd int, _p0 uintptr, _lenp0 int, offset int64) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_pread64)), 4, uintptr(fd), _p0, uintptr(_lenp0), uintptr(offset), 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callpwrite64(fd int, _p0 uintptr, _lenp0 int, offset int64) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_pwrite64)), 4, uintptr(fd), _p0, uintptr(_lenp0), uintptr(offset), 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callselect(nfd int, r uintptr, w uintptr, e uintptr, timeout uintptr) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_select)), 5, uintptr(nfd), r, w, e, timeout, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callpselect(nfd int, r uintptr, w uintptr, e uintptr, timeout uintptr, sigmask uintptr) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_pselect)), 6, uintptr(nfd), r, w, e, timeout, sigmask)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callsetregid(rgid int, egid int) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_setregid)), 2, uintptr(rgid), uintptr(egid), 0, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callsetreuid(ruid int, euid int) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_setreuid)), 2, uintptr(ruid), uintptr(euid), 0, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callshutdown(fd int, how int) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_shutdown)), 2, uintptr(fd), uintptr(how), 0, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callsplice(rfd int, roff uintptr, wfd int, woff uintptr, len int, flags int) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_splice)), 6, uintptr(rfd), roff, uintptr(wfd), woff, uintptr(len), uintptr(flags))
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callstat(_p0 uintptr, statptr uintptr) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_stat)), 2, _p0, statptr, 0, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callstatfs(_p0 uintptr, buf uintptr) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_statfs)), 2, _p0, buf, 0, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func calltruncate(_p0 uintptr, length int64) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_truncate)), 2, _p0, uintptr(length), 0, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callbind(s int, addr uintptr, addrlen uintptr) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_bind)), 3, uintptr(s), addr, addrlen, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callconnect(s int, addr uintptr, addrlen uintptr) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_connect)), 3, uintptr(s), addr, addrlen, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callgetgroups(n int, list uintptr) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_getgroups)), 2, uintptr(n), list, 0, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callsetgroups(n int, list uintptr) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_setgroups)), 2, uintptr(n), list, 0, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callgetsockopt(s int, level int, name int, val uintptr, vallen uintptr) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_getsockopt)), 5, uintptr(s), uintptr(level), uintptr(name), val, vallen, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callsetsockopt(s int, level int, name int, val uintptr, vallen uintptr) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_setsockopt)), 5, uintptr(s), uintptr(level), uintptr(name), val, vallen, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callsocket(domain int, typ int, proto int) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_socket)), 3, uintptr(domain), uintptr(typ), uintptr(proto), 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callsocketpair(domain int, typ int, proto int, fd uintptr) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_socketpair)), 4, uintptr(domain), uintptr(typ), uintptr(proto), fd, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callgetpeername(fd int, rsa uintptr, addrlen uintptr) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_getpeername)), 3, uintptr(fd), rsa, addrlen, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callgetsockname(fd int, rsa uintptr, addrlen uintptr) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_getsockname)), 3, uintptr(fd), rsa, addrlen, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callrecvfrom(fd int, _p0 uintptr, _lenp0 int, flags int, from uintptr, fromlen uintptr) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_recvfrom)), 6, uintptr(fd), _p0, uintptr(_lenp0), uintptr(flags), from, fromlen)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callsendto(s int, _p0 uintptr, _lenp0 int, flags int, to uintptr, addrlen uintptr) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_sendto)), 6, uintptr(s), _p0, uintptr(_lenp0), uintptr(flags), to, addrlen)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callnrecvmsg(s int, msg uintptr, flags int) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_nrecvmsg)), 3, uintptr(s), msg, uintptr(flags), 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callnsendmsg(s int, msg uintptr, flags int) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_nsendmsg)), 3, uintptr(s), msg, uintptr(flags), 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callmunmap(addr uintptr, length uintptr) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_munmap)), 2, addr, length, 0, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callmadvise(_p0 uintptr, _lenp0 int, advice int) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_madvise)), 3, _p0, uintptr(_lenp0), uintptr(advice), 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callmprotect(_p0 uintptr, _lenp0 int, prot int) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_mprotect)), 3, _p0, uintptr(_lenp0), uintptr(prot), 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callmlock(_p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_mlock)), 2, _p0, uintptr(_lenp0), 0, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callmlockall(flags int) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_mlockall)), 1, uintptr(flags), 0, 0, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callmsync(_p0 uintptr, _lenp0 int, flags int) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_msync)), 3, _p0, uintptr(_lenp0), uintptr(flags), 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callmunlock(_p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_munlock)), 2, _p0, uintptr(_lenp0), 0, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callmunlockall() (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_munlockall)), 0, 0, 0, 0, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callpipe(p uintptr) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_pipe)), 1, p, 0, 0, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callpoll(fds uintptr, nfds int, timeout int) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_poll)), 3, fds, uintptr(nfds), uintptr(timeout), 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callgettimeofday(tv uintptr, tzp uintptr) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_gettimeofday)), 2, tv, tzp, 0, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func calltime(t uintptr) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_time)), 1, t, 0, 0, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callutime(_p0 uintptr, buf uintptr) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_utime)), 2, _p0, buf, 0, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callgetsystemcfg(label int) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_getsystemcfg)), 1, uintptr(label), 0, 0, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callumount(_p0 uintptr) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_umount)), 1, _p0, 0, 0, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callgetrlimit(resource int, rlim uintptr) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_getrlimit)), 2, uintptr(resource), rlim, 0, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callsetrlimit(resource int, rlim uintptr) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = rawSyscall6(uintptr(unsafe.Pointer(&libc_setrlimit)), 2, uintptr(resource), rlim, 0, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func calllseek(fd int, offset int64, whence int) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_lseek)), 3, uintptr(fd), uintptr(offset), uintptr(whence), 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callmmap64(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (r1 uintptr, e1 Errno) {
-+ r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_mmap64)), 6, addr, length, uintptr(prot), uintptr(flags), uintptr(fd), uintptr(offset))
-+ 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
-new file mode 100644
-index 00000000..cde4dbc5
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gccgo.go
-@@ -0,0 +1,1070 @@
-+// go run mksyscall_aix_ppc64.go -aix -tags aix,ppc64 syscall_aix.go syscall_aix_ppc64.go
-+// Code generated by the command above; see README.md. DO NOT EDIT.
-+
-+// +build aix,ppc64
-+// +build gccgo
-+
-+package unix
-+
-+/*
-+#include <stdint.h>
-+int utimes(uintptr_t, uintptr_t);
-+int utimensat(int, uintptr_t, uintptr_t, int);
-+int getcwd(uintptr_t, size_t);
-+int accept(int, uintptr_t, uintptr_t);
-+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 acct(uintptr_t);
-+int chdir(uintptr_t);
-+int chroot(uintptr_t);
-+int close(int);
-+int dup(int);
-+void exit(int);
-+int faccessat(int, uintptr_t, unsigned int, int);
-+int fchdir(int);
-+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();
-+int getppid();
-+int getpriority(int, int);
-+int getrusage(int, uintptr_t);
-+int getsid(int);
-+int kill(int, int);
-+int syslog(int, uintptr_t, size_t);
-+int mkdir(int, uintptr_t, unsigned int);
-+int mkdirat(int, uintptr_t, unsigned int);
-+int mkfifo(uintptr_t, unsigned int);
-+int mknod(uintptr_t, unsigned int, int);
-+int mknodat(int, uintptr_t, unsigned int, int);
-+int nanosleep(uintptr_t, uintptr_t);
-+int open64(uintptr_t, int, unsigned int);
-+int openat(int, uintptr_t, int, unsigned int);
-+int read(int, uintptr_t, size_t);
-+int readlink(uintptr_t, uintptr_t, size_t);
-+int renameat(int, uintptr_t, int, uintptr_t);
-+int setdomainname(uintptr_t, size_t);
-+int sethostname(uintptr_t, size_t);
-+int setpgid(int, int);
-+int setsid();
-+int settimeofday(uintptr_t);
-+int setuid(int);
-+int setgid(int);
-+int setpriority(int, int, int);
-+int statx(int, uintptr_t, int, int, uintptr_t);
-+int sync();
-+uintptr_t times(uintptr_t);
-+int umask(int);
-+int uname(uintptr_t);
-+int unlink(uintptr_t);
-+int unlinkat(int, uintptr_t, int);
-+int ustat(int, uintptr_t);
-+int write(int, uintptr_t, size_t);
-+int dup2(int, int);
-+int posix_fadvise64(int, long long, long long, int);
-+int fchown(int, int, int);
-+int fstat(int, uintptr_t);
-+int fstatat(int, uintptr_t, uintptr_t, int);
-+int fstatfs(int, uintptr_t);
-+int ftruncate(int, long long);
-+int getegid();
-+int geteuid();
-+int getgid();
-+int getuid();
-+int lchown(uintptr_t, int, int);
-+int listen(int, int);
-+int lstat(uintptr_t, uintptr_t);
-+int pause();
-+int pread64(int, uintptr_t, size_t, long long);
-+int pwrite64(int, uintptr_t, size_t, long long);
-+#define c_select select
-+int select(int, uintptr_t, uintptr_t, uintptr_t, uintptr_t);
-+int pselect(int, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t);
-+int setregid(int, int);
-+int setreuid(int, int);
-+int shutdown(int, int);
-+long long splice(int, uintptr_t, int, uintptr_t, int, int);
-+int stat(uintptr_t, uintptr_t);
-+int statfs(uintptr_t, uintptr_t);
-+int truncate(uintptr_t, long long);
-+int bind(int, uintptr_t, uintptr_t);
-+int connect(int, uintptr_t, uintptr_t);
-+int getgroups(int, uintptr_t);
-+int setgroups(int, uintptr_t);
-+int getsockopt(int, int, int, uintptr_t, uintptr_t);
-+int setsockopt(int, int, int, uintptr_t, uintptr_t);
-+int socket(int, int, int);
-+int socketpair(int, int, int, uintptr_t);
-+int getpeername(int, uintptr_t, uintptr_t);
-+int getsockname(int, uintptr_t, uintptr_t);
-+int recvfrom(int, uintptr_t, size_t, int, uintptr_t, uintptr_t);
-+int sendto(int, uintptr_t, size_t, int, uintptr_t, uintptr_t);
-+int nrecvmsg(int, uintptr_t, int);
-+int nsendmsg(int, uintptr_t, int);
-+int munmap(uintptr_t, uintptr_t);
-+int madvise(uintptr_t, size_t, int);
-+int mprotect(uintptr_t, size_t, int);
-+int mlock(uintptr_t, size_t);
-+int mlockall(int);
-+int msync(uintptr_t, size_t, int);
-+int munlock(uintptr_t, size_t);
-+int munlockall();
-+int pipe(uintptr_t);
-+int poll(uintptr_t, int, int);
-+int gettimeofday(uintptr_t, uintptr_t);
-+int time(uintptr_t);
-+int utime(uintptr_t, uintptr_t);
-+unsigned long long getsystemcfg(int);
-+int umount(uintptr_t);
-+int getrlimit(int, uintptr_t);
-+int setrlimit(int, uintptr_t);
-+long long lseek(int, long long, int);
-+uintptr_t mmap64(uintptr_t, uintptr_t, int, int, int, long long);
-+
-+*/
-+import "C"
-+import (
-+ "syscall"
-+)
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callutimes(_p0 uintptr, times uintptr) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.utimes(C.uintptr_t(_p0), C.uintptr_t(times)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callutimensat(dirfd int, _p0 uintptr, times uintptr, flag int) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.utimensat(C.int(dirfd), C.uintptr_t(_p0), C.uintptr_t(times), C.int(flag)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callgetcwd(_p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.getcwd(C.uintptr_t(_p0), C.size_t(_lenp0)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callaccept(s int, rsa uintptr, addrlen uintptr) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.accept(C.int(s), C.uintptr_t(rsa), C.uintptr_t(addrlen)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callgetdirent(fd int, _p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.getdirent(C.int(fd), C.uintptr_t(_p0), C.size_t(_lenp0)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callwait4(pid int, status uintptr, options int, rusage uintptr) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.wait4(C.int(pid), C.uintptr_t(status), C.int(options), C.uintptr_t(rusage)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callioctl(fd int, req int, arg uintptr) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.ioctl(C.int(fd), C.int(req), C.uintptr_t(arg)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callfcntl(fd uintptr, cmd int, arg uintptr) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.fcntl(C.uintptr_t(fd), C.int(cmd), C.uintptr_t(arg)))
-+ 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()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callchdir(_p0 uintptr) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.chdir(C.uintptr_t(_p0)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callchroot(_p0 uintptr) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.chroot(C.uintptr_t(_p0)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callclose(fd int) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.close(C.int(fd)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func calldup(oldfd int) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.dup(C.int(oldfd)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callexit(code int) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.exit(C.int(code)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callfaccessat(dirfd int, _p0 uintptr, mode uint32, flags int) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.faccessat(C.int(dirfd), C.uintptr_t(_p0), C.uint(mode), C.int(flags)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callfchdir(fd int) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.fchdir(C.int(fd)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callfchmod(fd int, mode uint32) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.fchmod(C.int(fd), C.uint(mode)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callfchmodat(dirfd int, _p0 uintptr, mode uint32, flags int) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.fchmodat(C.int(dirfd), C.uintptr_t(_p0), C.uint(mode), C.int(flags)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callfchownat(dirfd int, _p0 uintptr, uid int, gid int, flags int) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.fchownat(C.int(dirfd), C.uintptr_t(_p0), C.int(uid), C.int(gid), C.int(flags)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callfdatasync(fd int) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.fdatasync(C.int(fd)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// 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()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callgetpgrp() (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.getpgrp())
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callgetpid() (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.getpid())
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callgetppid() (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.getppid())
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callgetpriority(which int, who int) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.getpriority(C.int(which), C.int(who)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callgetrusage(who int, rusage uintptr) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.getrusage(C.int(who), C.uintptr_t(rusage)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callgetsid(pid int) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.getsid(C.int(pid)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callkill(pid int, sig int) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.kill(C.int(pid), C.int(sig)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callsyslog(typ int, _p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.syslog(C.int(typ), C.uintptr_t(_p0), C.size_t(_lenp0)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callmkdir(dirfd int, _p0 uintptr, mode uint32) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.mkdir(C.int(dirfd), C.uintptr_t(_p0), C.uint(mode)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callmkdirat(dirfd int, _p0 uintptr, mode uint32) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.mkdirat(C.int(dirfd), C.uintptr_t(_p0), C.uint(mode)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callmkfifo(_p0 uintptr, mode uint32) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.mkfifo(C.uintptr_t(_p0), C.uint(mode)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callmknod(_p0 uintptr, mode uint32, dev int) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.mknod(C.uintptr_t(_p0), C.uint(mode), C.int(dev)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callmknodat(dirfd int, _p0 uintptr, mode uint32, dev int) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.mknodat(C.int(dirfd), C.uintptr_t(_p0), C.uint(mode), C.int(dev)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callnanosleep(time uintptr, leftover uintptr) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.nanosleep(C.uintptr_t(time), C.uintptr_t(leftover)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callopen64(_p0 uintptr, mode int, perm uint32) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.open64(C.uintptr_t(_p0), C.int(mode), C.uint(perm)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callopenat(dirfd int, _p0 uintptr, flags int, mode uint32) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.openat(C.int(dirfd), C.uintptr_t(_p0), C.int(flags), C.uint(mode)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callread(fd int, _p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.read(C.int(fd), C.uintptr_t(_p0), C.size_t(_lenp0)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callreadlink(_p0 uintptr, _p1 uintptr, _lenp1 int) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.readlink(C.uintptr_t(_p0), C.uintptr_t(_p1), C.size_t(_lenp1)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callrenameat(olddirfd int, _p0 uintptr, newdirfd int, _p1 uintptr) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.renameat(C.int(olddirfd), C.uintptr_t(_p0), C.int(newdirfd), C.uintptr_t(_p1)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callsetdomainname(_p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.setdomainname(C.uintptr_t(_p0), C.size_t(_lenp0)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callsethostname(_p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.sethostname(C.uintptr_t(_p0), C.size_t(_lenp0)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callsetpgid(pid int, pgid int) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.setpgid(C.int(pid), C.int(pgid)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callsetsid() (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.setsid())
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callsettimeofday(tv uintptr) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.settimeofday(C.uintptr_t(tv)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callsetuid(uid int) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.setuid(C.int(uid)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callsetgid(uid int) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.setgid(C.int(uid)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callsetpriority(which int, who int, prio int) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.setpriority(C.int(which), C.int(who), C.int(prio)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callstatx(dirfd int, _p0 uintptr, flags int, mask int, stat uintptr) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.statx(C.int(dirfd), C.uintptr_t(_p0), C.int(flags), C.int(mask), C.uintptr_t(stat)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callsync() (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.sync())
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func calltimes(tms uintptr) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.times(C.uintptr_t(tms)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callumask(mask int) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.umask(C.int(mask)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func calluname(buf uintptr) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.uname(C.uintptr_t(buf)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callunlink(_p0 uintptr) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.unlink(C.uintptr_t(_p0)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callunlinkat(dirfd int, _p0 uintptr, flags int) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.unlinkat(C.int(dirfd), C.uintptr_t(_p0), C.int(flags)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callustat(dev int, ubuf uintptr) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.ustat(C.int(dev), C.uintptr_t(ubuf)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callwrite(fd int, _p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.write(C.int(fd), C.uintptr_t(_p0), C.size_t(_lenp0)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func calldup2(oldfd int, newfd int) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.dup2(C.int(oldfd), C.int(newfd)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callposix_fadvise64(fd int, offset int64, length int64, advice int) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.posix_fadvise64(C.int(fd), C.longlong(offset), C.longlong(length), C.int(advice)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callfchown(fd int, uid int, gid int) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.fchown(C.int(fd), C.int(uid), C.int(gid)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callfstat(fd int, stat uintptr) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.fstat(C.int(fd), C.uintptr_t(stat)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callfstatat(dirfd int, _p0 uintptr, stat uintptr, flags int) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.fstatat(C.int(dirfd), C.uintptr_t(_p0), C.uintptr_t(stat), C.int(flags)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callfstatfs(fd int, buf uintptr) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.fstatfs(C.int(fd), C.uintptr_t(buf)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callftruncate(fd int, length int64) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.ftruncate(C.int(fd), C.longlong(length)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callgetegid() (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.getegid())
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callgeteuid() (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.geteuid())
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callgetgid() (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.getgid())
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callgetuid() (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.getuid())
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func calllchown(_p0 uintptr, uid int, gid int) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.lchown(C.uintptr_t(_p0), C.int(uid), C.int(gid)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func calllisten(s int, n int) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.listen(C.int(s), C.int(n)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func calllstat(_p0 uintptr, stat uintptr) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.lstat(C.uintptr_t(_p0), C.uintptr_t(stat)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callpause() (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.pause())
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callpread64(fd int, _p0 uintptr, _lenp0 int, offset int64) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.pread64(C.int(fd), C.uintptr_t(_p0), C.size_t(_lenp0), C.longlong(offset)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callpwrite64(fd int, _p0 uintptr, _lenp0 int, offset int64) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.pwrite64(C.int(fd), C.uintptr_t(_p0), C.size_t(_lenp0), C.longlong(offset)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callselect(nfd int, r uintptr, w uintptr, e uintptr, timeout uintptr) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.c_select(C.int(nfd), C.uintptr_t(r), C.uintptr_t(w), C.uintptr_t(e), C.uintptr_t(timeout)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callpselect(nfd int, r uintptr, w uintptr, e uintptr, timeout uintptr, sigmask uintptr) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.pselect(C.int(nfd), C.uintptr_t(r), C.uintptr_t(w), C.uintptr_t(e), C.uintptr_t(timeout), C.uintptr_t(sigmask)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callsetregid(rgid int, egid int) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.setregid(C.int(rgid), C.int(egid)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callsetreuid(ruid int, euid int) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.setreuid(C.int(ruid), C.int(euid)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callshutdown(fd int, how int) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.shutdown(C.int(fd), C.int(how)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callsplice(rfd int, roff uintptr, wfd int, woff uintptr, len int, flags int) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.splice(C.int(rfd), C.uintptr_t(roff), C.int(wfd), C.uintptr_t(woff), C.int(len), C.int(flags)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callstat(_p0 uintptr, statptr uintptr) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.stat(C.uintptr_t(_p0), C.uintptr_t(statptr)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callstatfs(_p0 uintptr, buf uintptr) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.statfs(C.uintptr_t(_p0), C.uintptr_t(buf)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func calltruncate(_p0 uintptr, length int64) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.truncate(C.uintptr_t(_p0), C.longlong(length)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callbind(s int, addr uintptr, addrlen uintptr) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.bind(C.int(s), C.uintptr_t(addr), C.uintptr_t(addrlen)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callconnect(s int, addr uintptr, addrlen uintptr) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.connect(C.int(s), C.uintptr_t(addr), C.uintptr_t(addrlen)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callgetgroups(n int, list uintptr) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.getgroups(C.int(n), C.uintptr_t(list)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callsetgroups(n int, list uintptr) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.setgroups(C.int(n), C.uintptr_t(list)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callgetsockopt(s int, level int, name int, val uintptr, vallen uintptr) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.getsockopt(C.int(s), C.int(level), C.int(name), C.uintptr_t(val), C.uintptr_t(vallen)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callsetsockopt(s int, level int, name int, val uintptr, vallen uintptr) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.setsockopt(C.int(s), C.int(level), C.int(name), C.uintptr_t(val), C.uintptr_t(vallen)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callsocket(domain int, typ int, proto int) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.socket(C.int(domain), C.int(typ), C.int(proto)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callsocketpair(domain int, typ int, proto int, fd uintptr) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.socketpair(C.int(domain), C.int(typ), C.int(proto), C.uintptr_t(fd)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callgetpeername(fd int, rsa uintptr, addrlen uintptr) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.getpeername(C.int(fd), C.uintptr_t(rsa), C.uintptr_t(addrlen)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callgetsockname(fd int, rsa uintptr, addrlen uintptr) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.getsockname(C.int(fd), C.uintptr_t(rsa), C.uintptr_t(addrlen)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callrecvfrom(fd int, _p0 uintptr, _lenp0 int, flags int, from uintptr, fromlen uintptr) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.recvfrom(C.int(fd), C.uintptr_t(_p0), C.size_t(_lenp0), C.int(flags), C.uintptr_t(from), C.uintptr_t(fromlen)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callsendto(s int, _p0 uintptr, _lenp0 int, flags int, to uintptr, addrlen uintptr) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.sendto(C.int(s), C.uintptr_t(_p0), C.size_t(_lenp0), C.int(flags), C.uintptr_t(to), C.uintptr_t(addrlen)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callnrecvmsg(s int, msg uintptr, flags int) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.nrecvmsg(C.int(s), C.uintptr_t(msg), C.int(flags)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callnsendmsg(s int, msg uintptr, flags int) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.nsendmsg(C.int(s), C.uintptr_t(msg), C.int(flags)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callmunmap(addr uintptr, length uintptr) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.munmap(C.uintptr_t(addr), C.uintptr_t(length)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callmadvise(_p0 uintptr, _lenp0 int, advice int) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.madvise(C.uintptr_t(_p0), C.size_t(_lenp0), C.int(advice)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callmprotect(_p0 uintptr, _lenp0 int, prot int) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.mprotect(C.uintptr_t(_p0), C.size_t(_lenp0), C.int(prot)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callmlock(_p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.mlock(C.uintptr_t(_p0), C.size_t(_lenp0)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callmlockall(flags int) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.mlockall(C.int(flags)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callmsync(_p0 uintptr, _lenp0 int, flags int) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.msync(C.uintptr_t(_p0), C.size_t(_lenp0), C.int(flags)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callmunlock(_p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.munlock(C.uintptr_t(_p0), C.size_t(_lenp0)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callmunlockall() (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.munlockall())
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callpipe(p uintptr) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.pipe(C.uintptr_t(p)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callpoll(fds uintptr, nfds int, timeout int) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.poll(C.uintptr_t(fds), C.int(nfds), C.int(timeout)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callgettimeofday(tv uintptr, tzp uintptr) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.gettimeofday(C.uintptr_t(tv), C.uintptr_t(tzp)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func calltime(t uintptr) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.time(C.uintptr_t(t)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callutime(_p0 uintptr, buf uintptr) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.utime(C.uintptr_t(_p0), C.uintptr_t(buf)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callgetsystemcfg(label int) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.getsystemcfg(C.int(label)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callumount(_p0 uintptr) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.umount(C.uintptr_t(_p0)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callgetrlimit(resource int, rlim uintptr) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.getrlimit(C.int(resource), C.uintptr_t(rlim)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callsetrlimit(resource int, rlim uintptr) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.setrlimit(C.int(resource), C.uintptr_t(rlim)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func calllseek(fd int, offset int64, whence int) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.lseek(C.int(fd), C.longlong(offset), C.int(whence)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func callmmap64(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (r1 uintptr, e1 Errno) {
-+ r1 = uintptr(C.mmap64(C.uintptr_t(addr), C.uintptr_t(length), C.int(prot), C.int(flags), C.int(fd), C.longlong(offset)))
-+ e1 = syscall.GetErrno()
-+ return
-+}
-diff --git a/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.go b/vendor/golang.org/x/sys/unix/zsyscall_darwin_386.1_11.go
-similarity index 85%
-copy from vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.go
-copy to vendor/golang.org/x/sys/unix/zsyscall_darwin_386.1_11.go
-index 7a409745..c1cc0a41 100644
---- a/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.go
-+++ b/vendor/golang.org/x/sys/unix/zsyscall_darwin_386.1_11.go
-@@ -1,7 +1,7 @@
--// mksyscall.pl -tags darwin,arm syscall_bsd.go syscall_darwin.go syscall_darwin_arm.go
-+// go run mksyscall.go -l32 -tags darwin,386,!go1.12 syscall_bsd.go syscall_darwin.go syscall_darwin_386.1_11.go syscall_darwin_386.go
- // Code generated by the command above; see README.md. DO NOT EDIT.
-
--// +build darwin,arm
-+// +build darwin,386,!go1.12
-
- package unix
-
-@@ -214,22 +214,6 @@ func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, ne
-
- // 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 utimes(path string, timeval *[2]Timeval) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
-@@ -255,9 +239,9 @@ func futimes(fd int, timeval *[2]Timeval) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func fcntl(fd int, cmd int, arg int) (val int, err error) {
-- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-- val = int(r0)
-+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)
- }
-@@ -366,8 +350,8 @@ func Munlockall() (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
-- _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
-+func getattrlist(path *byte, list unsafe.Pointer, buf unsafe.Pointer, size uintptr, options int) (err error) {
-+ _, _, e1 := Syscall6(SYS_GETATTRLIST, uintptr(unsafe.Pointer(path)), uintptr(list), uintptr(buf), uintptr(size), uintptr(options), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -388,6 +372,161 @@ func pipe() (r int, w int, err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-+func getxattr(path string, attr string, dest *byte, size int, position uint32, options int) (sz int, err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ var _p1 *byte
-+ _p1, err = BytePtrFromString(attr)
-+ if err != nil {
-+ return
-+ }
-+ r0, _, e1 := Syscall6(SYS_GETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(dest)), uintptr(size), uintptr(position), uintptr(options))
-+ sz = int(r0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func fgetxattr(fd int, attr string, dest *byte, size int, position uint32, options int) (sz int, err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(attr)
-+ if err != nil {
-+ return
-+ }
-+ r0, _, e1 := Syscall6(SYS_FGETXATTR, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(dest)), uintptr(size), uintptr(position), uintptr(options))
-+ sz = int(r0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func setxattr(path string, attr string, data *byte, size int, position uint32, options int) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ var _p1 *byte
-+ _p1, err = BytePtrFromString(attr)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall6(SYS_SETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(data)), uintptr(size), uintptr(position), uintptr(options))
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func fsetxattr(fd int, attr string, data *byte, size int, position uint32, options int) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(attr)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall6(SYS_FSETXATTR, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(data)), uintptr(size), uintptr(position), uintptr(options))
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func removexattr(path string, attr string, options int) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ var _p1 *byte
-+ _p1, err = BytePtrFromString(attr)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall(SYS_REMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(options))
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func fremovexattr(fd int, attr string, options int) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(attr)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall(SYS_FREMOVEXATTR, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(options))
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func listxattr(path string, dest *byte, size int, options int) (sz int, err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ r0, _, e1 := Syscall6(SYS_LISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(dest)), uintptr(size), uintptr(options), 0, 0)
-+ sz = int(r0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func flistxattr(fd int, dest *byte, size int, options int) (sz int, err error) {
-+ r0, _, e1 := Syscall6(SYS_FLISTXATTR, uintptr(fd), uintptr(unsafe.Pointer(dest)), uintptr(size), uintptr(options), 0, 0)
-+ sz = int(r0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// 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 := Syscall6(SYS_SETATTRLIST, uintptr(unsafe.Pointer(path)), uintptr(list), uintptr(buf), uintptr(size), uintptr(options), 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func fcntl(fd int, cmd int, arg int) (val int, err error) {
-+ r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-+ val = int(r0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func kill(pid int, signum int, posix int) (err error) {
- _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), uintptr(posix))
- if e1 != 0 {
-@@ -408,6 +547,32 @@ 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 sendfile(infd int, outfd int, offset int64, len *int64, hdtr unsafe.Pointer, flags int) (err error) {
-+ _, _, e1 := Syscall9(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(offset), uintptr(offset>>32), uintptr(unsafe.Pointer(len)), uintptr(hdtr), 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 Access(path string, mode uint32) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
-@@ -672,26 +837,6 @@ 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_t) (err error) {
-- _, _, e1 := Syscall(SYS_FSTAT64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Fstatfs(fd int, stat *Statfs_t) (err error) {
-- _, _, e1 := Syscall(SYS_FSTATFS64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
- func Fsync(fd int) (err error) {
- _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
- if e1 != 0 {
-@@ -712,23 +857,6 @@ 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) {
-- var _p0 unsafe.Pointer
-- if len(buf) > 0 {
-- _p0 = unsafe.Pointer(&buf[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall6(SYS_GETDIRENTRIES64, uintptr(fd), uintptr(_p0), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0)
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
- func Getdtablesize() (size int) {
- r0, _, _ := Syscall(SYS_GETDTABLESIZE, 0, 0, 0)
- size = int(r0)
-@@ -930,21 +1058,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_t) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_LSTAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-- 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)
-@@ -1229,8 +1342,9 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
-- _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-+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)
- }
-@@ -1375,36 +1489,6 @@ 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_t) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_STAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Statfs(path string, stat *Statfs_t) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_STATFS64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-- 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)
-@@ -1598,6 +1682,33 @@ func writelen(fd int, buf *byte, nbuf int) (n int, 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) {
-+ var _p0 unsafe.Pointer
-+ if len(buf) > 0 {
-+ _p0 = unsafe.Pointer(&buf[0])
-+ } else {
-+ _p0 = unsafe.Pointer(&_zero)
-+ }
-+ r0, _, e1 := Syscall6(SYS_GETDIRENTRIES64, uintptr(fd), uintptr(_p0), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0)
-+ n = int(r0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
-+ _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func gettimeofday(tp *Timeval) (sec int32, usec int32, err error) {
- r0, r1, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
- sec = int32(r0)
-@@ -1607,3 +1718,94 @@ func gettimeofday(tp *Timeval) (sec int32, usec int32, err error) {
- }
- return
- }
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Fstat(fd int, stat *Stat_t) (err error) {
-+ _, _, e1 := Syscall(SYS_FSTAT64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func 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_FSTATAT64, 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_FSTATFS64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func getfsstat(buf unsafe.Pointer, size uintptr, flags int) (n int, err error) {
-+ r0, _, e1 := Syscall(SYS_GETFSSTAT64, uintptr(buf), uintptr(size), 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 Lstat(path string, stat *Stat_t) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall(SYS_LSTAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Stat(path string, stat *Stat_t) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall(SYS_STAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Statfs(path string, stat *Statfs_t) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall(SYS_STATFS64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-diff --git a/vendor/golang.org/x/sys/unix/zsyscall_darwin_386.1_13.go b/vendor/golang.org/x/sys/unix/zsyscall_darwin_386.1_13.go
-new file mode 100644
-index 00000000..e263fbdb
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/zsyscall_darwin_386.1_13.go
-@@ -0,0 +1,41 @@
-+// go run mksyscall.go -l32 -tags darwin,386,go1.13 syscall_darwin.1_13.go
-+// Code generated by the command above; see README.md. DO NOT EDIT.
-+
-+// +build darwin,386,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(funcPC(libc_closedir_trampoline), uintptr(dir), 0, 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_closedir_trampoline()
-+
-+//go:linkname libc_closedir libc_closedir
-+//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(funcPC(libc_readdir_r_trampoline), uintptr(dir), uintptr(unsafe.Pointer(entry)), uintptr(unsafe.Pointer(result)))
-+ res = Errno(r0)
-+ return
-+}
-+
-+func libc_readdir_r_trampoline()
-+
-+//go:linkname libc_readdir_r libc_readdir_r
-+//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_386.1_13.s b/vendor/golang.org/x/sys/unix/zsyscall_darwin_386.1_13.s
-new file mode 100644
-index 00000000..00da1ebf
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/zsyscall_darwin_386.1_13.s
-@@ -0,0 +1,12 @@
-+// go run mkasm_darwin.go 386
-+// Code generated by the command above; DO NOT EDIT.
-+
-+// +build go1.13
-+
-+#include "textflag.h"
-+TEXT ·libc_fdopendir_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_fdopendir(SB)
-+TEXT ·libc_closedir_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_closedir(SB)
-+TEXT ·libc_readdir_r_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_readdir_r(SB)
-diff --git a/vendor/golang.org/x/sys/unix/zsyscall_darwin_386.go b/vendor/golang.org/x/sys/unix/zsyscall_darwin_386.go
-index 10491e9e..a3fc4900 100644
---- a/vendor/golang.org/x/sys/unix/zsyscall_darwin_386.go
-+++ b/vendor/golang.org/x/sys/unix/zsyscall_darwin_386.go
-@@ -1,7 +1,7 @@
--// mksyscall.pl -l32 -tags darwin,386 syscall_bsd.go syscall_darwin.go syscall_darwin_386.go
-+// go run mksyscall.go -l32 -tags darwin,386,go1.12 syscall_bsd.go syscall_darwin.go syscall_darwin_386.go
- // Code generated by the command above; see README.md. DO NOT EDIT.
-
--// +build darwin,386
-+// +build darwin,386,go1.12
-
- package unix
-
-@@ -15,7 +15,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(funcPC(libc_getgroups_trampoline), uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
- n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -23,20 +23,30 @@ func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
- return
- }
-
-+func libc_getgroups_trampoline()
-+
-+//go:linkname libc_getgroups libc_getgroups
-+//go:cgo_import_dynamic libc_getgroups getgroups "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_setgroups_trampoline), uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_setgroups_trampoline()
-+
-+//go:linkname libc_setgroups libc_setgroups
-+//go:cgo_import_dynamic libc_setgroups setgroups "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_wait4_trampoline), uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
- wpid = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -44,10 +54,15 @@ func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err
- return
- }
-
-+func libc_wait4_trampoline()
-+
-+//go:linkname libc_wait4 libc_wait4
-+//go:cgo_import_dynamic libc_wait4 wait4 "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_accept_trampoline), uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
- fd = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -55,30 +70,45 @@ func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
- return
- }
-
-+func libc_accept_trampoline()
-+
-+//go:linkname libc_accept libc_accept
-+//go:cgo_import_dynamic libc_accept accept "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_bind_trampoline), uintptr(s), uintptr(addr), uintptr(addrlen))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_bind_trampoline()
-+
-+//go:linkname libc_bind libc_bind
-+//go:cgo_import_dynamic libc_bind bind "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_connect_trampoline), uintptr(s), uintptr(addr), uintptr(addrlen))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_connect_trampoline()
-+
-+//go:linkname libc_connect libc_connect
-+//go:cgo_import_dynamic libc_connect connect "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_socket_trampoline), uintptr(domain), uintptr(typ), uintptr(proto))
- fd = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -86,66 +116,101 @@ func socket(domain int, typ int, proto int) (fd int, err error) {
- return
- }
-
-+func libc_socket_trampoline()
-+
-+//go:linkname libc_socket libc_socket
-+//go:cgo_import_dynamic libc_socket socket "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_getsockopt_trampoline), uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_getsockopt_trampoline()
-+
-+//go:linkname libc_getsockopt libc_getsockopt
-+//go:cgo_import_dynamic libc_getsockopt getsockopt "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_setsockopt_trampoline), uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_setsockopt_trampoline()
-+
-+//go:linkname libc_setsockopt libc_setsockopt
-+//go:cgo_import_dynamic libc_setsockopt setsockopt "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_getpeername_trampoline), uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_getpeername_trampoline()
-+
-+//go:linkname libc_getpeername libc_getpeername
-+//go:cgo_import_dynamic libc_getpeername getpeername "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_getsockname_trampoline), uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_getsockname_trampoline()
-+
-+//go:linkname libc_getsockname libc_getsockname
-+//go:cgo_import_dynamic libc_getsockname getsockname "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_shutdown_trampoline), uintptr(s), uintptr(how), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_shutdown_trampoline()
-+
-+//go:linkname libc_shutdown libc_shutdown
-+//go:cgo_import_dynamic libc_shutdown shutdown "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_socketpair_trampoline), uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_socketpair_trampoline()
-+
-+//go:linkname libc_socketpair libc_socketpair
-+//go:cgo_import_dynamic libc_socketpair socketpair "/usr/lib/libSystem.B.dylib"
-+
- // 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) {
-@@ -155,7 +220,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(funcPC(libc_recvfrom_trampoline), 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)
-@@ -163,6 +228,11 @@ func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Sockl
- return
- }
-
-+func libc_recvfrom_trampoline()
-+
-+//go:linkname libc_recvfrom libc_recvfrom
-+//go:cgo_import_dynamic libc_recvfrom recvfrom "/usr/lib/libSystem.B.dylib"
-+
- // 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) {
-@@ -172,17 +242,22 @@ 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(funcPC(libc_sendto_trampoline), uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_sendto_trampoline()
-+
-+//go:linkname libc_sendto libc_sendto
-+//go:cgo_import_dynamic libc_sendto sendto "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_recvmsg_trampoline), uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
- n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -190,10 +265,15 @@ func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
- return
- }
-
-+func libc_recvmsg_trampoline()
-+
-+//go:linkname libc_recvmsg libc_recvmsg
-+//go:cgo_import_dynamic libc_recvmsg recvmsg "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_sendmsg_trampoline), uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
- n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -201,10 +281,15 @@ func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
- return
- }
-
-+func libc_sendmsg_trampoline()
-+
-+//go:linkname libc_sendmsg libc_sendmsg
-+//go:cgo_import_dynamic libc_sendmsg sendmsg "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_kevent_trampoline), uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout)))
- n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -212,21 +297,10 @@ func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, ne
- return
- }
-
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+func libc_kevent_trampoline()
-
--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
--}
-+//go:linkname libc_kevent libc_kevent
-+//go:cgo_import_dynamic libc_kevent kevent "/usr/lib/libSystem.B.dylib"
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-@@ -236,34 +310,49 @@ 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(funcPC(libc_utimes_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_utimes_trampoline()
-+
-+//go:linkname libc_utimes libc_utimes
-+//go:cgo_import_dynamic libc_utimes utimes "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_futimes_trampoline), uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_futimes_trampoline()
-+
-+//go:linkname libc_futimes libc_futimes
-+//go:cgo_import_dynamic libc_futimes futimes "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func fcntl(fd int, cmd int, arg int) (val int, err error) {
-- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-- val = int(r0)
-+func poll(fds *PollFd, nfds int, timeout int) (n int, err error) {
-+ r0, _, e1 := syscall_syscall(funcPC(libc_poll_trampoline), uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout))
-+ n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_poll_trampoline()
-+
-+//go:linkname libc_poll libc_poll
-+//go:cgo_import_dynamic libc_poll poll "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Madvise(b []byte, behav int) (err error) {
-@@ -273,13 +362,18 @@ 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(funcPC(libc_madvise_trampoline), uintptr(_p0), uintptr(len(b)), uintptr(behav))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_madvise_trampoline()
-+
-+//go:linkname libc_madvise libc_madvise
-+//go:cgo_import_dynamic libc_madvise madvise "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Mlock(b []byte) (err error) {
-@@ -289,23 +383,33 @@ func Mlock(b []byte) (err error) {
- } else {
- _p0 = unsafe.Pointer(&_zero)
- }
-- _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
-+ _, _, e1 := syscall_syscall(funcPC(libc_mlock_trampoline), uintptr(_p0), uintptr(len(b)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_mlock_trampoline()
-+
-+//go:linkname libc_mlock libc_mlock
-+//go:cgo_import_dynamic libc_mlock mlock "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_mlockall_trampoline), uintptr(flags), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_mlockall_trampoline()
-+
-+//go:linkname libc_mlockall libc_mlockall
-+//go:cgo_import_dynamic libc_mlockall mlockall "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Mprotect(b []byte, prot int) (err error) {
-@@ -315,13 +419,18 @@ 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(funcPC(libc_mprotect_trampoline), uintptr(_p0), uintptr(len(b)), uintptr(prot))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_mprotect_trampoline()
-+
-+//go:linkname libc_mprotect libc_mprotect
-+//go:cgo_import_dynamic libc_mprotect mprotect "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Msync(b []byte, flags int) (err error) {
-@@ -331,13 +440,18 @@ 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(funcPC(libc_msync_trampoline), uintptr(_p0), uintptr(len(b)), uintptr(flags))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_msync_trampoline()
-+
-+//go:linkname libc_msync libc_msync
-+//go:cgo_import_dynamic libc_msync msync "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Munlock(b []byte) (err error) {
-@@ -347,37 +461,52 @@ func Munlock(b []byte) (err error) {
- } else {
- _p0 = unsafe.Pointer(&_zero)
- }
-- _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
-+ _, _, e1 := syscall_syscall(funcPC(libc_munlock_trampoline), uintptr(_p0), uintptr(len(b)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_munlock_trampoline()
-+
-+//go:linkname libc_munlock libc_munlock
-+//go:cgo_import_dynamic libc_munlock munlock "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_munlockall_trampoline), 0, 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_munlockall_trampoline()
-+
-+//go:linkname libc_munlockall libc_munlockall
-+//go:cgo_import_dynamic libc_munlockall munlockall "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
-- _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
-+func getattrlist(path *byte, list unsafe.Pointer, buf unsafe.Pointer, size uintptr, options int) (err error) {
-+ _, _, e1 := syscall_syscall6(funcPC(libc_getattrlist_trampoline), uintptr(unsafe.Pointer(path)), uintptr(list), uintptr(buf), uintptr(size), uintptr(options), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_getattrlist_trampoline()
-+
-+//go:linkname libc_getattrlist libc_getattrlist
-+//go:cgo_import_dynamic libc_getattrlist getattrlist "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func pipe() (r int, w int, err error) {
-- r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
-+ r0, r1, e1 := syscall_rawSyscall(funcPC(libc_pipe_trampoline), 0, 0, 0)
- r = int(r0)
- w = int(r1)
- if e1 != 0 {
-@@ -386,26 +515,282 @@ func pipe() (r int, w int, err error) {
- return
- }
-
-+func libc_pipe_trampoline()
-+
-+//go:linkname libc_pipe libc_pipe
-+//go:cgo_import_dynamic libc_pipe pipe "/usr/lib/libSystem.B.dylib"
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func getxattr(path string, attr string, dest *byte, size int, position uint32, options int) (sz int, err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ var _p1 *byte
-+ _p1, err = BytePtrFromString(attr)
-+ if err != nil {
-+ return
-+ }
-+ r0, _, e1 := syscall_syscall6(funcPC(libc_getxattr_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(dest)), uintptr(size), uintptr(position), uintptr(options))
-+ sz = int(r0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_getxattr_trampoline()
-+
-+//go:linkname libc_getxattr libc_getxattr
-+//go:cgo_import_dynamic libc_getxattr getxattr "/usr/lib/libSystem.B.dylib"
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func fgetxattr(fd int, attr string, dest *byte, size int, position uint32, options int) (sz int, err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(attr)
-+ if err != nil {
-+ return
-+ }
-+ r0, _, e1 := syscall_syscall6(funcPC(libc_fgetxattr_trampoline), uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(dest)), uintptr(size), uintptr(position), uintptr(options))
-+ sz = int(r0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_fgetxattr_trampoline()
-+
-+//go:linkname libc_fgetxattr libc_fgetxattr
-+//go:cgo_import_dynamic libc_fgetxattr fgetxattr "/usr/lib/libSystem.B.dylib"
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func setxattr(path string, attr string, data *byte, size int, position uint32, options int) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ var _p1 *byte
-+ _p1, err = BytePtrFromString(attr)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := syscall_syscall6(funcPC(libc_setxattr_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(data)), uintptr(size), uintptr(position), uintptr(options))
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_setxattr_trampoline()
-+
-+//go:linkname libc_setxattr libc_setxattr
-+//go:cgo_import_dynamic libc_setxattr setxattr "/usr/lib/libSystem.B.dylib"
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func fsetxattr(fd int, attr string, data *byte, size int, position uint32, options int) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(attr)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := syscall_syscall6(funcPC(libc_fsetxattr_trampoline), uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(data)), uintptr(size), uintptr(position), uintptr(options))
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_fsetxattr_trampoline()
-+
-+//go:linkname libc_fsetxattr libc_fsetxattr
-+//go:cgo_import_dynamic libc_fsetxattr fsetxattr "/usr/lib/libSystem.B.dylib"
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func removexattr(path string, attr string, options int) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ var _p1 *byte
-+ _p1, err = BytePtrFromString(attr)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := syscall_syscall(funcPC(libc_removexattr_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(options))
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_removexattr_trampoline()
-+
-+//go:linkname libc_removexattr libc_removexattr
-+//go:cgo_import_dynamic libc_removexattr removexattr "/usr/lib/libSystem.B.dylib"
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func fremovexattr(fd int, attr string, options int) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(attr)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := syscall_syscall(funcPC(libc_fremovexattr_trampoline), uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(options))
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_fremovexattr_trampoline()
-+
-+//go:linkname libc_fremovexattr libc_fremovexattr
-+//go:cgo_import_dynamic libc_fremovexattr fremovexattr "/usr/lib/libSystem.B.dylib"
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func listxattr(path string, dest *byte, size int, options int) (sz int, err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ r0, _, e1 := syscall_syscall6(funcPC(libc_listxattr_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(dest)), uintptr(size), uintptr(options), 0, 0)
-+ sz = int(r0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_listxattr_trampoline()
-+
-+//go:linkname libc_listxattr libc_listxattr
-+//go:cgo_import_dynamic libc_listxattr listxattr "/usr/lib/libSystem.B.dylib"
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func flistxattr(fd int, dest *byte, size int, options int) (sz int, err error) {
-+ r0, _, e1 := syscall_syscall6(funcPC(libc_flistxattr_trampoline), uintptr(fd), uintptr(unsafe.Pointer(dest)), uintptr(size), uintptr(options), 0, 0)
-+ sz = int(r0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_flistxattr_trampoline()
-+
-+//go:linkname libc_flistxattr libc_flistxattr
-+//go:cgo_import_dynamic libc_flistxattr flistxattr "/usr/lib/libSystem.B.dylib"
-+
-+// 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(funcPC(libc_setattrlist_trampoline), uintptr(unsafe.Pointer(path)), uintptr(list), uintptr(buf), uintptr(size), uintptr(options), 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_setattrlist_trampoline()
-+
-+//go:linkname libc_setattrlist libc_setattrlist
-+//go:cgo_import_dynamic libc_setattrlist setattrlist "/usr/lib/libSystem.B.dylib"
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func fcntl(fd int, cmd int, arg int) (val int, err error) {
-+ r0, _, e1 := syscall_syscall(funcPC(libc_fcntl_trampoline), uintptr(fd), uintptr(cmd), uintptr(arg))
-+ val = int(r0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_fcntl_trampoline()
-+
-+//go:linkname libc_fcntl libc_fcntl
-+//go:cgo_import_dynamic libc_fcntl fcntl "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func kill(pid int, signum int, posix int) (err error) {
-- _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), uintptr(posix))
-+ _, _, e1 := syscall_syscall(funcPC(libc_kill_trampoline), uintptr(pid), uintptr(signum), uintptr(posix))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_kill_trampoline()
-+
-+//go:linkname libc_kill libc_kill
-+//go:cgo_import_dynamic libc_kill kill "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_ioctl_trampoline), uintptr(fd), uintptr(req), uintptr(arg))
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_ioctl_trampoline()
-+
-+//go:linkname libc_ioctl libc_ioctl
-+//go:cgo_import_dynamic libc_ioctl ioctl "/usr/lib/libSystem.B.dylib"
-+
-+// 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(funcPC(libc_sysctl_trampoline), 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
- }
-
-+func libc_sysctl_trampoline()
-+
-+//go:linkname libc_sysctl libc_sysctl
-+//go:cgo_import_dynamic libc_sysctl sysctl "/usr/lib/libSystem.B.dylib"
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func sendfile(infd int, outfd int, offset int64, len *int64, hdtr unsafe.Pointer, flags int) (err error) {
-+ _, _, e1 := syscall_syscall9(funcPC(libc_sendfile_trampoline), uintptr(infd), uintptr(outfd), uintptr(offset), uintptr(offset>>32), uintptr(unsafe.Pointer(len)), uintptr(hdtr), uintptr(flags), 0, 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_sendfile_trampoline()
-+
-+//go:linkname libc_sendfile libc_sendfile
-+//go:cgo_import_dynamic libc_sendfile sendfile "/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) {
-@@ -414,23 +799,33 @@ 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(funcPC(libc_access_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_access_trampoline()
-+
-+//go:linkname libc_access libc_access
-+//go:cgo_import_dynamic libc_access access "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_adjtime_trampoline), uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_adjtime_trampoline()
-+
-+//go:linkname libc_adjtime libc_adjtime
-+//go:cgo_import_dynamic libc_adjtime adjtime "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Chdir(path string) (err error) {
-@@ -439,13 +834,18 @@ func Chdir(path string) (err error) {
- if err != nil {
- return
- }
-- _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-+ _, _, e1 := syscall_syscall(funcPC(libc_chdir_trampoline), uintptr(unsafe.Pointer(_p0)), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_chdir_trampoline()
-+
-+//go:linkname libc_chdir libc_chdir
-+//go:cgo_import_dynamic libc_chdir chdir "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Chflags(path string, flags int) (err error) {
-@@ -454,13 +854,18 @@ 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(funcPC(libc_chflags_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_chflags_trampoline()
-+
-+//go:linkname libc_chflags libc_chflags
-+//go:cgo_import_dynamic libc_chflags chflags "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Chmod(path string, mode uint32) (err error) {
-@@ -469,13 +874,18 @@ 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(funcPC(libc_chmod_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_chmod_trampoline()
-+
-+//go:linkname libc_chmod libc_chmod
-+//go:cgo_import_dynamic libc_chmod chmod "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Chown(path string, uid int, gid int) (err error) {
-@@ -484,13 +894,18 @@ 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(funcPC(libc_chown_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_chown_trampoline()
-+
-+//go:linkname libc_chown libc_chown
-+//go:cgo_import_dynamic libc_chown chown "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Chroot(path string) (err error) {
-@@ -499,27 +914,52 @@ func Chroot(path string) (err error) {
- if err != nil {
- return
- }
-- _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-+ _, _, e1 := syscall_syscall(funcPC(libc_chroot_trampoline), uintptr(unsafe.Pointer(_p0)), 0, 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_chroot_trampoline()
-+
-+//go:linkname libc_chroot libc_chroot
-+//go:cgo_import_dynamic libc_chroot chroot "/usr/lib/libSystem.B.dylib"
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func ClockGettime(clockid int32, time *Timespec) (err error) {
-+ _, _, e1 := syscall_syscall(funcPC(libc_clock_gettime_trampoline), uintptr(clockid), uintptr(unsafe.Pointer(time)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_clock_gettime_trampoline()
-+
-+//go:linkname libc_clock_gettime libc_clock_gettime
-+//go:cgo_import_dynamic libc_clock_gettime clock_gettime "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_close_trampoline), uintptr(fd), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_close_trampoline()
-+
-+//go:linkname libc_close libc_close
-+//go:cgo_import_dynamic libc_close close "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_dup_trampoline), uintptr(fd), 0, 0)
- nfd = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -527,16 +967,26 @@ func Dup(fd int) (nfd int, err error) {
- return
- }
-
-+func libc_dup_trampoline()
-+
-+//go:linkname libc_dup libc_dup
-+//go:cgo_import_dynamic libc_dup dup "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_dup2_trampoline), uintptr(from), uintptr(to), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_dup2_trampoline()
-+
-+//go:linkname libc_dup2 libc_dup2
-+//go:cgo_import_dynamic libc_dup2 dup2 "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Exchangedata(path1 string, path2 string, options int) (err error) {
-@@ -550,20 +1000,30 @@ func Exchangedata(path1 string, path2 string, options int) (err error) {
- if err != nil {
- return
- }
-- _, _, e1 := Syscall(SYS_EXCHANGEDATA, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(options))
-+ _, _, e1 := syscall_syscall(funcPC(libc_exchangedata_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(options))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_exchangedata_trampoline()
-+
-+//go:linkname libc_exchangedata libc_exchangedata
-+//go:cgo_import_dynamic libc_exchangedata exchangedata "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_exit_trampoline), uintptr(code), 0, 0)
- return
- }
-
-+func libc_exit_trampoline()
-+
-+//go:linkname libc_exit libc_exit
-+//go:cgo_import_dynamic libc_exit exit "/usr/lib/libSystem.B.dylib"
-+
- // 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) {
-@@ -572,43 +1032,63 @@ 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(funcPC(libc_faccessat_trampoline), uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_faccessat_trampoline()
-+
-+//go:linkname libc_faccessat libc_faccessat
-+//go:cgo_import_dynamic libc_faccessat faccessat "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_fchdir_trampoline), uintptr(fd), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_fchdir_trampoline()
-+
-+//go:linkname libc_fchdir libc_fchdir
-+//go:cgo_import_dynamic libc_fchdir fchdir "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_fchflags_trampoline), uintptr(fd), uintptr(flags), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_fchflags_trampoline()
-+
-+//go:linkname libc_fchflags libc_fchflags
-+//go:cgo_import_dynamic libc_fchflags fchflags "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_fchmod_trampoline), uintptr(fd), uintptr(mode), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_fchmod_trampoline()
-+
-+//go:linkname libc_fchmod libc_fchmod
-+//go:cgo_import_dynamic libc_fchmod fchmod "/usr/lib/libSystem.B.dylib"
-+
- // 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) {
-@@ -617,23 +1097,33 @@ 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(funcPC(libc_fchmodat_trampoline), uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_fchmodat_trampoline()
-+
-+//go:linkname libc_fchmodat libc_fchmodat
-+//go:cgo_import_dynamic libc_fchmodat fchmodat "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_fchown_trampoline), uintptr(fd), uintptr(uid), uintptr(gid))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_fchown_trampoline()
-+
-+//go:linkname libc_fchown libc_fchown
-+//go:cgo_import_dynamic libc_fchown fchown "/usr/lib/libSystem.B.dylib"
-+
- // 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) {
-@@ -642,27 +1132,37 @@ 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(funcPC(libc_fchownat_trampoline), uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_fchownat_trampoline()
-+
-+//go:linkname libc_fchownat libc_fchownat
-+//go:cgo_import_dynamic libc_fchownat fchownat "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_flock_trampoline), uintptr(fd), uintptr(how), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_flock_trampoline()
-+
-+//go:linkname libc_flock libc_flock
-+//go:cgo_import_dynamic libc_flock flock "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_fpathconf_trampoline), uintptr(fd), uintptr(name), 0)
- val = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -670,99 +1170,97 @@ func Fpathconf(fd int, name int) (val int, err error) {
- return
- }
-
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+func libc_fpathconf_trampoline()
-
--func Fstat(fd int, stat *Stat_t) (err error) {
-- _, _, e1 := Syscall(SYS_FSTAT64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
-+//go:linkname libc_fpathconf libc_fpathconf
-+//go:cgo_import_dynamic libc_fpathconf fpathconf "/usr/lib/libSystem.B.dylib"
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Fstatfs(fd int, stat *Statfs_t) (err error) {
-- _, _, e1 := Syscall(SYS_FSTATFS64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-+func Fsync(fd int) (err error) {
-+ _, _, e1 := syscall_syscall(funcPC(libc_fsync_trampoline), 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 libc_fsync_trampoline()
-
--func Fsync(fd int) (err error) {
-- _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
-+//go:linkname libc_fsync libc_fsync
-+//go:cgo_import_dynamic libc_fsync fsync "/usr/lib/libSystem.B.dylib"
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Ftruncate(fd int, length int64) (err error) {
-- _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), uintptr(length), uintptr(length>>32))
-+ _, _, e1 := syscall_syscall(funcPC(libc_ftruncate_trampoline), uintptr(fd), uintptr(length), uintptr(length>>32))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+func libc_ftruncate_trampoline()
-
--func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
-- var _p0 unsafe.Pointer
-- if len(buf) > 0 {
-- _p0 = unsafe.Pointer(&buf[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall6(SYS_GETDIRENTRIES64, uintptr(fd), uintptr(_p0), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0)
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
-+//go:linkname libc_ftruncate libc_ftruncate
-+//go:cgo_import_dynamic libc_ftruncate ftruncate "/usr/lib/libSystem.B.dylib"
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Getdtablesize() (size int) {
-- r0, _, _ := Syscall(SYS_GETDTABLESIZE, 0, 0, 0)
-+ r0, _, _ := syscall_syscall(funcPC(libc_getdtablesize_trampoline), 0, 0, 0)
- size = int(r0)
- return
- }
-
-+func libc_getdtablesize_trampoline()
-+
-+//go:linkname libc_getdtablesize libc_getdtablesize
-+//go:cgo_import_dynamic libc_getdtablesize getdtablesize "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_getegid_trampoline), 0, 0, 0)
- egid = int(r0)
- return
- }
-
-+func libc_getegid_trampoline()
-+
-+//go:linkname libc_getegid libc_getegid
-+//go:cgo_import_dynamic libc_getegid getegid "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_geteuid_trampoline), 0, 0, 0)
- uid = int(r0)
- return
- }
-
-+func libc_geteuid_trampoline()
-+
-+//go:linkname libc_geteuid libc_geteuid
-+//go:cgo_import_dynamic libc_geteuid geteuid "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_getgid_trampoline), 0, 0, 0)
- gid = int(r0)
- return
- }
-
-+func libc_getgid_trampoline()
-+
-+//go:linkname libc_getgid libc_getgid
-+//go:cgo_import_dynamic libc_getgid getgid "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_getpgid_trampoline), uintptr(pid), 0, 0)
- pgid = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -770,34 +1268,54 @@ func Getpgid(pid int) (pgid int, err error) {
- return
- }
-
-+func libc_getpgid_trampoline()
-+
-+//go:linkname libc_getpgid libc_getpgid
-+//go:cgo_import_dynamic libc_getpgid getpgid "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_getpgrp_trampoline), 0, 0, 0)
- pgrp = int(r0)
- return
- }
-
-+func libc_getpgrp_trampoline()
-+
-+//go:linkname libc_getpgrp libc_getpgrp
-+//go:cgo_import_dynamic libc_getpgrp getpgrp "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_getpid_trampoline), 0, 0, 0)
- pid = int(r0)
- return
- }
-
-+func libc_getpid_trampoline()
-+
-+//go:linkname libc_getpid libc_getpid
-+//go:cgo_import_dynamic libc_getpid getpid "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_getppid_trampoline), 0, 0, 0)
- ppid = int(r0)
- return
- }
-
-+func libc_getppid_trampoline()
-+
-+//go:linkname libc_getppid libc_getppid
-+//go:cgo_import_dynamic libc_getppid getppid "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_getpriority_trampoline), uintptr(which), uintptr(who), 0)
- prio = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -805,30 +1323,45 @@ func Getpriority(which int, who int) (prio int, err error) {
- return
- }
-
-+func libc_getpriority_trampoline()
-+
-+//go:linkname libc_getpriority libc_getpriority
-+//go:cgo_import_dynamic libc_getpriority getpriority "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_getrlimit_trampoline), uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_getrlimit_trampoline()
-+
-+//go:linkname libc_getrlimit libc_getrlimit
-+//go:cgo_import_dynamic libc_getrlimit getrlimit "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_getrusage_trampoline), uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_getrusage_trampoline()
-+
-+//go:linkname libc_getrusage libc_getrusage
-+//go:cgo_import_dynamic libc_getrusage getrusage "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_getsid_trampoline), uintptr(pid), 0, 0)
- sid = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -836,26 +1369,41 @@ func Getsid(pid int) (sid int, err error) {
- return
- }
-
-+func libc_getsid_trampoline()
-+
-+//go:linkname libc_getsid libc_getsid
-+//go:cgo_import_dynamic libc_getsid getsid "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_getuid_trampoline), 0, 0, 0)
- uid = int(r0)
- return
- }
-
-+func libc_getuid_trampoline()
-+
-+//go:linkname libc_getuid libc_getuid
-+//go:cgo_import_dynamic libc_getuid getuid "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Issetugid() (tainted bool) {
-- r0, _, _ := RawSyscall(SYS_ISSETUGID, 0, 0, 0)
-+ r0, _, _ := syscall_rawSyscall(funcPC(libc_issetugid_trampoline), 0, 0, 0)
- tainted = bool(r0 != 0)
- return
- }
-
-+func libc_issetugid_trampoline()
-+
-+//go:linkname libc_issetugid libc_issetugid
-+//go:cgo_import_dynamic libc_issetugid issetugid "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_kqueue_trampoline), 0, 0, 0)
- fd = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -863,6 +1411,11 @@ func Kqueue() (fd int, err error) {
- return
- }
-
-+func libc_kqueue_trampoline()
-+
-+//go:linkname libc_kqueue libc_kqueue
-+//go:cgo_import_dynamic libc_kqueue kqueue "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Lchown(path string, uid int, gid int) (err error) {
-@@ -871,13 +1424,18 @@ 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(funcPC(libc_lchown_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_lchown_trampoline()
-+
-+//go:linkname libc_lchown libc_lchown
-+//go:cgo_import_dynamic libc_lchown lchown "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Link(path string, link string) (err error) {
-@@ -891,13 +1449,18 @@ 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(funcPC(libc_link_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_link_trampoline()
-+
-+//go:linkname libc_link libc_link
-+//go:cgo_import_dynamic libc_link link "/usr/lib/libSystem.B.dylib"
-+
- // 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) {
-@@ -911,37 +1474,32 @@ 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(funcPC(libc_linkat_trampoline), uintptr(pathfd), uintptr(unsafe.Pointer(_p0)), uintptr(linkfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_linkat_trampoline()
-+
-+//go:linkname libc_linkat libc_linkat
-+//go:cgo_import_dynamic libc_linkat linkat "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_listen_trampoline), 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 libc_listen_trampoline()
-
--func Lstat(path string, stat *Stat_t) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_LSTAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
-+//go:linkname libc_listen libc_listen
-+//go:cgo_import_dynamic libc_listen listen "/usr/lib/libSystem.B.dylib"
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-@@ -951,13 +1509,18 @@ 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(funcPC(libc_mkdir_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_mkdir_trampoline()
-+
-+//go:linkname libc_mkdir libc_mkdir
-+//go:cgo_import_dynamic libc_mkdir mkdir "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Mkdirat(dirfd int, path string, mode uint32) (err error) {
-@@ -966,13 +1529,18 @@ 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(funcPC(libc_mkdirat_trampoline), uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_mkdirat_trampoline()
-+
-+//go:linkname libc_mkdirat libc_mkdirat
-+//go:cgo_import_dynamic libc_mkdirat mkdirat "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Mkfifo(path string, mode uint32) (err error) {
-@@ -981,13 +1549,18 @@ 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(funcPC(libc_mkfifo_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_mkfifo_trampoline()
-+
-+//go:linkname libc_mkfifo libc_mkfifo
-+//go:cgo_import_dynamic libc_mkfifo mkfifo "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Mknod(path string, mode uint32, dev int) (err error) {
-@@ -996,13 +1569,18 @@ 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(funcPC(libc_mknod_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_mknod_trampoline()
-+
-+//go:linkname libc_mknod libc_mknod
-+//go:cgo_import_dynamic libc_mknod mknod "/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) {
-@@ -1011,7 +1589,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(funcPC(libc_open_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm))
- fd = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1019,6 +1597,11 @@ func Open(path string, mode int, perm uint32) (fd int, err error) {
- return
- }
-
-+func libc_open_trampoline()
-+
-+//go:linkname libc_open libc_open
-+//go:cgo_import_dynamic libc_open open "/usr/lib/libSystem.B.dylib"
-+
- // 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) {
-@@ -1027,7 +1610,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(funcPC(libc_openat_trampoline), uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm), 0, 0)
- fd = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1035,6 +1618,11 @@ func Openat(dirfd int, path string, mode int, perm uint32) (fd int, err error) {
- return
- }
-
-+func libc_openat_trampoline()
-+
-+//go:linkname libc_openat libc_openat
-+//go:cgo_import_dynamic libc_openat openat "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Pathconf(path string, name int) (val int, err error) {
-@@ -1043,7 +1631,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(funcPC(libc_pathconf_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(name), 0)
- val = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1051,6 +1639,11 @@ func Pathconf(path string, name int) (val int, err error) {
- return
- }
-
-+func libc_pathconf_trampoline()
-+
-+//go:linkname libc_pathconf libc_pathconf
-+//go:cgo_import_dynamic libc_pathconf pathconf "/usr/lib/libSystem.B.dylib"
-+
- // 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) {
-@@ -1060,7 +1653,7 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) {
- } else {
- _p0 = unsafe.Pointer(&_zero)
- }
-- r0, _, e1 := Syscall6(SYS_PREAD, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), uintptr(offset>>32), 0)
-+ r0, _, e1 := syscall_syscall6(funcPC(libc_pread_trampoline), uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), uintptr(offset>>32), 0)
- n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1068,6 +1661,11 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) {
- return
- }
-
-+func libc_pread_trampoline()
-+
-+//go:linkname libc_pread libc_pread
-+//go:cgo_import_dynamic libc_pread pread "/usr/lib/libSystem.B.dylib"
-+
- // 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) {
-@@ -1077,7 +1675,7 @@ func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
- } else {
- _p0 = unsafe.Pointer(&_zero)
- }
-- r0, _, e1 := Syscall6(SYS_PWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), uintptr(offset>>32), 0)
-+ r0, _, e1 := syscall_syscall6(funcPC(libc_pwrite_trampoline), uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), uintptr(offset>>32), 0)
- n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1085,6 +1683,11 @@ func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
- return
- }
-
-+func libc_pwrite_trampoline()
-+
-+//go:linkname libc_pwrite libc_pwrite
-+//go:cgo_import_dynamic libc_pwrite pwrite "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func read(fd int, p []byte) (n int, err error) {
-@@ -1094,7 +1697,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(funcPC(libc_read_trampoline), uintptr(fd), uintptr(_p0), uintptr(len(p)))
- n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1102,6 +1705,11 @@ func read(fd int, p []byte) (n int, err error) {
- return
- }
-
-+func libc_read_trampoline()
-+
-+//go:linkname libc_read libc_read
-+//go:cgo_import_dynamic libc_read read "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Readlink(path string, buf []byte) (n int, err error) {
-@@ -1116,7 +1724,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(funcPC(libc_readlink_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)))
- n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1124,6 +1732,11 @@ func Readlink(path string, buf []byte) (n int, err error) {
- return
- }
-
-+func libc_readlink_trampoline()
-+
-+//go:linkname libc_readlink libc_readlink
-+//go:cgo_import_dynamic libc_readlink readlink "/usr/lib/libSystem.B.dylib"
-+
- // 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) {
-@@ -1138,7 +1751,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(funcPC(libc_readlinkat_trampoline), uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0)
- n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1146,6 +1759,11 @@ func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
- return
- }
-
-+func libc_readlinkat_trampoline()
-+
-+//go:linkname libc_readlinkat libc_readlinkat
-+//go:cgo_import_dynamic libc_readlinkat readlinkat "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Rename(from string, to string) (err error) {
-@@ -1159,13 +1777,18 @@ 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(funcPC(libc_rename_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_rename_trampoline()
-+
-+//go:linkname libc_rename libc_rename
-+//go:cgo_import_dynamic libc_rename rename "/usr/lib/libSystem.B.dylib"
-+
- // 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) {
-@@ -1179,13 +1802,18 @@ 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(funcPC(libc_renameat_trampoline), uintptr(fromfd), uintptr(unsafe.Pointer(_p0)), uintptr(tofd), uintptr(unsafe.Pointer(_p1)), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_renameat_trampoline()
-+
-+//go:linkname libc_renameat libc_renameat
-+//go:cgo_import_dynamic libc_renameat renameat "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Revoke(path string) (err error) {
-@@ -1194,13 +1822,18 @@ func Revoke(path string) (err error) {
- if err != nil {
- return
- }
-- _, _, e1 := Syscall(SYS_REVOKE, uintptr(unsafe.Pointer(_p0)), 0, 0)
-+ _, _, e1 := syscall_syscall(funcPC(libc_revoke_trampoline), uintptr(unsafe.Pointer(_p0)), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_revoke_trampoline()
-+
-+//go:linkname libc_revoke libc_revoke
-+//go:cgo_import_dynamic libc_revoke revoke "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Rmdir(path string) (err error) {
-@@ -1209,17 +1842,22 @@ func Rmdir(path string) (err error) {
- if err != nil {
- return
- }
-- _, _, e1 := Syscall(SYS_RMDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-+ _, _, e1 := syscall_syscall(funcPC(libc_rmdir_trampoline), uintptr(unsafe.Pointer(_p0)), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_rmdir_trampoline()
-+
-+//go:linkname libc_rmdir libc_rmdir
-+//go:cgo_import_dynamic libc_rmdir rmdir "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
-- r0, r1, e1 := Syscall6(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(offset>>32), uintptr(whence), 0, 0)
-+ r0, r1, e1 := syscall_syscall6(funcPC(libc_lseek_trampoline), uintptr(fd), uintptr(offset), uintptr(offset>>32), uintptr(whence), 0, 0)
- newoffset = int64(int64(r1)<<32 | int64(r0))
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1227,46 +1865,72 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
- return
- }
-
-+func libc_lseek_trampoline()
-+
-+//go:linkname libc_lseek libc_lseek
-+//go:cgo_import_dynamic libc_lseek lseek "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
-- _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-+func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
-+ r0, _, e1 := syscall_syscall6(funcPC(libc_select_trampoline), 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
- }
-
-+func libc_select_trampoline()
-+
-+//go:linkname libc_select libc_select
-+//go:cgo_import_dynamic libc_select select "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Setegid(egid int) (err error) {
-- _, _, e1 := Syscall(SYS_SETEGID, uintptr(egid), 0, 0)
-+ _, _, e1 := syscall_syscall(funcPC(libc_setegid_trampoline), uintptr(egid), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_setegid_trampoline()
-+
-+//go:linkname libc_setegid libc_setegid
-+//go:cgo_import_dynamic libc_setegid setegid "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_seteuid_trampoline), uintptr(euid), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_seteuid_trampoline()
-+
-+//go:linkname libc_seteuid libc_seteuid
-+//go:cgo_import_dynamic libc_seteuid seteuid "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_setgid_trampoline), uintptr(gid), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_setgid_trampoline()
-+
-+//go:linkname libc_setgid libc_setgid
-+//go:cgo_import_dynamic libc_setgid setgid "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Setlogin(name string) (err error) {
-@@ -1275,77 +1939,112 @@ func Setlogin(name string) (err error) {
- if err != nil {
- return
- }
-- _, _, e1 := Syscall(SYS_SETLOGIN, uintptr(unsafe.Pointer(_p0)), 0, 0)
-+ _, _, e1 := syscall_syscall(funcPC(libc_setlogin_trampoline), uintptr(unsafe.Pointer(_p0)), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_setlogin_trampoline()
-+
-+//go:linkname libc_setlogin libc_setlogin
-+//go:cgo_import_dynamic libc_setlogin setlogin "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_setpgid_trampoline), uintptr(pid), uintptr(pgid), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_setpgid_trampoline()
-+
-+//go:linkname libc_setpgid libc_setpgid
-+//go:cgo_import_dynamic libc_setpgid setpgid "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_setpriority_trampoline), uintptr(which), uintptr(who), uintptr(prio))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_setpriority_trampoline()
-+
-+//go:linkname libc_setpriority libc_setpriority
-+//go:cgo_import_dynamic libc_setpriority setpriority "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Setprivexec(flag int) (err error) {
-- _, _, e1 := Syscall(SYS_SETPRIVEXEC, uintptr(flag), 0, 0)
-+ _, _, e1 := syscall_syscall(funcPC(libc_setprivexec_trampoline), uintptr(flag), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_setprivexec_trampoline()
-+
-+//go:linkname libc_setprivexec libc_setprivexec
-+//go:cgo_import_dynamic libc_setprivexec setprivexec "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_setregid_trampoline), uintptr(rgid), uintptr(egid), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_setregid_trampoline()
-+
-+//go:linkname libc_setregid libc_setregid
-+//go:cgo_import_dynamic libc_setregid setregid "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_setreuid_trampoline), uintptr(ruid), uintptr(euid), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_setreuid_trampoline()
-+
-+//go:linkname libc_setreuid libc_setreuid
-+//go:cgo_import_dynamic libc_setreuid setreuid "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_setrlimit_trampoline), uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_setrlimit_trampoline()
-+
-+//go:linkname libc_setrlimit libc_setrlimit
-+//go:cgo_import_dynamic libc_setrlimit setrlimit "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_setsid_trampoline), 0, 0, 0)
- pid = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1353,55 +2052,40 @@ func Setsid() (pid int, err error) {
- return
- }
-
-+func libc_setsid_trampoline()
-+
-+//go:linkname libc_setsid libc_setsid
-+//go:cgo_import_dynamic libc_setsid setsid "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_settimeofday_trampoline), 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 libc_settimeofday_trampoline()
-
--func Setuid(uid int) (err error) {
-- _, _, e1 := RawSyscall(SYS_SETUID, uintptr(uid), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
-+//go:linkname libc_settimeofday libc_settimeofday
-+//go:cgo_import_dynamic libc_settimeofday settimeofday "/usr/lib/libSystem.B.dylib"
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Stat(path string, stat *Stat_t) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_STAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-+func Setuid(uid int) (err error) {
-+ _, _, e1 := syscall_rawSyscall(funcPC(libc_setuid_trampoline), 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 libc_setuid_trampoline()
-
--func Statfs(path string, stat *Statfs_t) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_STATFS64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
-+//go:linkname libc_setuid libc_setuid
-+//go:cgo_import_dynamic libc_setuid setuid "/usr/lib/libSystem.B.dylib"
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-@@ -1416,13 +2100,18 @@ 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(funcPC(libc_symlink_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_symlink_trampoline()
-+
-+//go:linkname libc_symlink libc_symlink
-+//go:cgo_import_dynamic libc_symlink symlink "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Symlinkat(oldpath string, newdirfd int, newpath string) (err error) {
-@@ -1436,23 +2125,33 @@ 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(funcPC(libc_symlinkat_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_symlinkat_trampoline()
-+
-+//go:linkname libc_symlinkat libc_symlinkat
-+//go:cgo_import_dynamic libc_symlinkat symlinkat "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_sync_trampoline), 0, 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_sync_trampoline()
-+
-+//go:linkname libc_sync libc_sync
-+//go:cgo_import_dynamic libc_sync sync "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Truncate(path string, length int64) (err error) {
-@@ -1461,21 +2160,31 @@ func Truncate(path string, length int64) (err error) {
- if err != nil {
- return
- }
-- _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), uintptr(length), uintptr(length>>32))
-+ _, _, e1 := syscall_syscall(funcPC(libc_truncate_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(length), uintptr(length>>32))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_truncate_trampoline()
-+
-+//go:linkname libc_truncate libc_truncate
-+//go:cgo_import_dynamic libc_truncate truncate "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_umask_trampoline), uintptr(newmask), 0, 0)
- oldmask = int(r0)
- return
- }
-
-+func libc_umask_trampoline()
-+
-+//go:linkname libc_umask libc_umask
-+//go:cgo_import_dynamic libc_umask umask "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Undelete(path string) (err error) {
-@@ -1484,13 +2193,18 @@ func Undelete(path string) (err error) {
- if err != nil {
- return
- }
-- _, _, e1 := Syscall(SYS_UNDELETE, uintptr(unsafe.Pointer(_p0)), 0, 0)
-+ _, _, e1 := syscall_syscall(funcPC(libc_undelete_trampoline), uintptr(unsafe.Pointer(_p0)), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_undelete_trampoline()
-+
-+//go:linkname libc_undelete libc_undelete
-+//go:cgo_import_dynamic libc_undelete undelete "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Unlink(path string) (err error) {
-@@ -1499,13 +2213,18 @@ func Unlink(path string) (err error) {
- if err != nil {
- return
- }
-- _, _, e1 := Syscall(SYS_UNLINK, uintptr(unsafe.Pointer(_p0)), 0, 0)
-+ _, _, e1 := syscall_syscall(funcPC(libc_unlink_trampoline), uintptr(unsafe.Pointer(_p0)), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_unlink_trampoline()
-+
-+//go:linkname libc_unlink libc_unlink
-+//go:cgo_import_dynamic libc_unlink unlink "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Unlinkat(dirfd int, path string, flags int) (err error) {
-@@ -1514,13 +2233,18 @@ 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(funcPC(libc_unlinkat_trampoline), uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_unlinkat_trampoline()
-+
-+//go:linkname libc_unlinkat libc_unlinkat
-+//go:cgo_import_dynamic libc_unlinkat unlinkat "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Unmount(path string, flags int) (err error) {
-@@ -1529,13 +2253,18 @@ 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(funcPC(libc_unmount_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_unmount_trampoline()
-+
-+//go:linkname libc_unmount libc_unmount
-+//go:cgo_import_dynamic libc_unmount unmount "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func write(fd int, p []byte) (n int, err error) {
-@@ -1545,7 +2274,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(funcPC(libc_write_trampoline), uintptr(fd), uintptr(_p0), uintptr(len(p)))
- n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1553,10 +2282,15 @@ func write(fd int, p []byte) (n int, err error) {
- return
- }
-
-+func libc_write_trampoline()
-+
-+//go:linkname libc_write libc_write
-+//go:cgo_import_dynamic libc_write write "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) {
-- r0, _, e1 := Syscall9(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), uintptr(pos), uintptr(pos>>32), 0, 0)
-+ r0, _, e1 := syscall_syscall9(funcPC(libc_mmap_trampoline), 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)
-@@ -1564,20 +2298,30 @@ func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (
- return
- }
-
-+func libc_mmap_trampoline()
-+
-+//go:linkname libc_mmap libc_mmap
-+//go:cgo_import_dynamic libc_mmap mmap "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_munmap_trampoline), uintptr(addr), uintptr(length), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_munmap_trampoline()
-+
-+//go:linkname libc_munmap libc_munmap
-+//go:cgo_import_dynamic libc_munmap munmap "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_read_trampoline), uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
- n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1588,7 +2332,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(funcPC(libc_write_trampoline), uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
- n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1598,8 +2342,23 @@ func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-+func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
-+ _, _, e1 := syscall_syscall6(funcPC(libc_ptrace_trampoline), uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_ptrace_trampoline()
-+
-+//go:linkname libc_ptrace libc_ptrace
-+//go:cgo_import_dynamic libc_ptrace ptrace "/usr/lib/libSystem.B.dylib"
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func gettimeofday(tp *Timeval) (sec int32, usec int32, err error) {
-- r0, r1, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
-+ r0, r1, e1 := syscall_rawSyscall(funcPC(libc_gettimeofday_trampoline), uintptr(unsafe.Pointer(tp)), 0, 0)
- sec = int32(r0)
- usec = int32(r1)
- if e1 != 0 {
-@@ -1607,3 +2366,134 @@ func gettimeofday(tp *Timeval) (sec int32, usec int32, err error) {
- }
- return
- }
-+
-+func libc_gettimeofday_trampoline()
-+
-+//go:linkname libc_gettimeofday libc_gettimeofday
-+//go:cgo_import_dynamic libc_gettimeofday gettimeofday "/usr/lib/libSystem.B.dylib"
-+
-+// 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(funcPC(libc_fstat64_trampoline), uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_fstat64_trampoline()
-+
-+//go:linkname libc_fstat64 libc_fstat64
-+//go:cgo_import_dynamic libc_fstat64 fstat64 "/usr/lib/libSystem.B.dylib"
-+
-+// 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(funcPC(libc_fstatat64_trampoline), uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_fstatat64_trampoline()
-+
-+//go:linkname libc_fstatat64 libc_fstatat64
-+//go:cgo_import_dynamic libc_fstatat64 fstatat64 "/usr/lib/libSystem.B.dylib"
-+
-+// 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(funcPC(libc_fstatfs64_trampoline), uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_fstatfs64_trampoline()
-+
-+//go:linkname libc_fstatfs64 libc_fstatfs64
-+//go:cgo_import_dynamic libc_fstatfs64 fstatfs64 "/usr/lib/libSystem.B.dylib"
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func getfsstat(buf unsafe.Pointer, size uintptr, flags int) (n int, err error) {
-+ r0, _, e1 := syscall_syscall(funcPC(libc_getfsstat64_trampoline), uintptr(buf), uintptr(size), uintptr(flags))
-+ n = int(r0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_getfsstat64_trampoline()
-+
-+//go:linkname libc_getfsstat64 libc_getfsstat64
-+//go:cgo_import_dynamic libc_getfsstat64 getfsstat64 "/usr/lib/libSystem.B.dylib"
-+
-+// 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(funcPC(libc_lstat64_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_lstat64_trampoline()
-+
-+//go:linkname libc_lstat64 libc_lstat64
-+//go:cgo_import_dynamic libc_lstat64 lstat64 "/usr/lib/libSystem.B.dylib"
-+
-+// 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(funcPC(libc_stat64_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_stat64_trampoline()
-+
-+//go:linkname libc_stat64 libc_stat64
-+//go:cgo_import_dynamic libc_stat64 stat64 "/usr/lib/libSystem.B.dylib"
-+
-+// 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(funcPC(libc_statfs64_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_statfs64_trampoline()
-+
-+//go:linkname libc_statfs64 libc_statfs64
-+//go:cgo_import_dynamic libc_statfs64 statfs64 "/usr/lib/libSystem.B.dylib"
-diff --git a/vendor/golang.org/x/sys/unix/zsyscall_darwin_386.s b/vendor/golang.org/x/sys/unix/zsyscall_darwin_386.s
-new file mode 100644
-index 00000000..6836a412
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/zsyscall_darwin_386.s
-@@ -0,0 +1,284 @@
-+// go run mkasm_darwin.go 386
-+// Code generated by the command above; DO NOT EDIT.
-+
-+// +build go1.12
-+
-+#include "textflag.h"
-+TEXT ·libc_getgroups_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getgroups(SB)
-+TEXT ·libc_setgroups_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_setgroups(SB)
-+TEXT ·libc_wait4_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_wait4(SB)
-+TEXT ·libc_accept_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_accept(SB)
-+TEXT ·libc_bind_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_bind(SB)
-+TEXT ·libc_connect_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_connect(SB)
-+TEXT ·libc_socket_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_socket(SB)
-+TEXT ·libc_getsockopt_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getsockopt(SB)
-+TEXT ·libc_setsockopt_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_setsockopt(SB)
-+TEXT ·libc_getpeername_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getpeername(SB)
-+TEXT ·libc_getsockname_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getsockname(SB)
-+TEXT ·libc_shutdown_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_shutdown(SB)
-+TEXT ·libc_socketpair_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_socketpair(SB)
-+TEXT ·libc_recvfrom_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_recvfrom(SB)
-+TEXT ·libc_sendto_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_sendto(SB)
-+TEXT ·libc_recvmsg_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_recvmsg(SB)
-+TEXT ·libc_sendmsg_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_sendmsg(SB)
-+TEXT ·libc_kevent_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_kevent(SB)
-+TEXT ·libc_utimes_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_utimes(SB)
-+TEXT ·libc_futimes_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_futimes(SB)
-+TEXT ·libc_poll_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_poll(SB)
-+TEXT ·libc_madvise_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_madvise(SB)
-+TEXT ·libc_mlock_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_mlock(SB)
-+TEXT ·libc_mlockall_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_mlockall(SB)
-+TEXT ·libc_mprotect_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_mprotect(SB)
-+TEXT ·libc_msync_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_msync(SB)
-+TEXT ·libc_munlock_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_munlock(SB)
-+TEXT ·libc_munlockall_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_munlockall(SB)
-+TEXT ·libc_getattrlist_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getattrlist(SB)
-+TEXT ·libc_pipe_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_pipe(SB)
-+TEXT ·libc_getxattr_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getxattr(SB)
-+TEXT ·libc_fgetxattr_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_fgetxattr(SB)
-+TEXT ·libc_setxattr_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_setxattr(SB)
-+TEXT ·libc_fsetxattr_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_fsetxattr(SB)
-+TEXT ·libc_removexattr_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_removexattr(SB)
-+TEXT ·libc_fremovexattr_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_fremovexattr(SB)
-+TEXT ·libc_listxattr_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_listxattr(SB)
-+TEXT ·libc_flistxattr_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_flistxattr(SB)
-+TEXT ·libc_setattrlist_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_setattrlist(SB)
-+TEXT ·libc_fcntl_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_fcntl(SB)
-+TEXT ·libc_kill_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_kill(SB)
-+TEXT ·libc_ioctl_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_ioctl(SB)
-+TEXT ·libc_sysctl_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_sysctl(SB)
-+TEXT ·libc_sendfile_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_sendfile(SB)
-+TEXT ·libc_access_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_access(SB)
-+TEXT ·libc_adjtime_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_adjtime(SB)
-+TEXT ·libc_chdir_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_chdir(SB)
-+TEXT ·libc_chflags_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_chflags(SB)
-+TEXT ·libc_chmod_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_chmod(SB)
-+TEXT ·libc_chown_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_chown(SB)
-+TEXT ·libc_chroot_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_chroot(SB)
-+TEXT ·libc_clock_gettime_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_clock_gettime(SB)
-+TEXT ·libc_close_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_close(SB)
-+TEXT ·libc_dup_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_dup(SB)
-+TEXT ·libc_dup2_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_dup2(SB)
-+TEXT ·libc_exchangedata_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_exchangedata(SB)
-+TEXT ·libc_exit_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_exit(SB)
-+TEXT ·libc_faccessat_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_faccessat(SB)
-+TEXT ·libc_fchdir_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_fchdir(SB)
-+TEXT ·libc_fchflags_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_fchflags(SB)
-+TEXT ·libc_fchmod_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_fchmod(SB)
-+TEXT ·libc_fchmodat_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_fchmodat(SB)
-+TEXT ·libc_fchown_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_fchown(SB)
-+TEXT ·libc_fchownat_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_fchownat(SB)
-+TEXT ·libc_flock_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_flock(SB)
-+TEXT ·libc_fpathconf_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_fpathconf(SB)
-+TEXT ·libc_fsync_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_fsync(SB)
-+TEXT ·libc_ftruncate_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_ftruncate(SB)
-+TEXT ·libc_getdtablesize_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getdtablesize(SB)
-+TEXT ·libc_getegid_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getegid(SB)
-+TEXT ·libc_geteuid_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_geteuid(SB)
-+TEXT ·libc_getgid_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getgid(SB)
-+TEXT ·libc_getpgid_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getpgid(SB)
-+TEXT ·libc_getpgrp_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getpgrp(SB)
-+TEXT ·libc_getpid_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getpid(SB)
-+TEXT ·libc_getppid_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getppid(SB)
-+TEXT ·libc_getpriority_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getpriority(SB)
-+TEXT ·libc_getrlimit_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getrlimit(SB)
-+TEXT ·libc_getrusage_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getrusage(SB)
-+TEXT ·libc_getsid_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getsid(SB)
-+TEXT ·libc_getuid_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getuid(SB)
-+TEXT ·libc_issetugid_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_issetugid(SB)
-+TEXT ·libc_kqueue_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_kqueue(SB)
-+TEXT ·libc_lchown_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_lchown(SB)
-+TEXT ·libc_link_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_link(SB)
-+TEXT ·libc_linkat_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_linkat(SB)
-+TEXT ·libc_listen_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_listen(SB)
-+TEXT ·libc_mkdir_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_mkdir(SB)
-+TEXT ·libc_mkdirat_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_mkdirat(SB)
-+TEXT ·libc_mkfifo_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_mkfifo(SB)
-+TEXT ·libc_mknod_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_mknod(SB)
-+TEXT ·libc_open_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_open(SB)
-+TEXT ·libc_openat_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_openat(SB)
-+TEXT ·libc_pathconf_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_pathconf(SB)
-+TEXT ·libc_pread_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_pread(SB)
-+TEXT ·libc_pwrite_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_pwrite(SB)
-+TEXT ·libc_read_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_read(SB)
-+TEXT ·libc_readlink_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_readlink(SB)
-+TEXT ·libc_readlinkat_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_readlinkat(SB)
-+TEXT ·libc_rename_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_rename(SB)
-+TEXT ·libc_renameat_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_renameat(SB)
-+TEXT ·libc_revoke_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_revoke(SB)
-+TEXT ·libc_rmdir_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_rmdir(SB)
-+TEXT ·libc_lseek_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_lseek(SB)
-+TEXT ·libc_select_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_select(SB)
-+TEXT ·libc_setegid_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_setegid(SB)
-+TEXT ·libc_seteuid_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_seteuid(SB)
-+TEXT ·libc_setgid_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_setgid(SB)
-+TEXT ·libc_setlogin_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_setlogin(SB)
-+TEXT ·libc_setpgid_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_setpgid(SB)
-+TEXT ·libc_setpriority_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_setpriority(SB)
-+TEXT ·libc_setprivexec_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_setprivexec(SB)
-+TEXT ·libc_setregid_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_setregid(SB)
-+TEXT ·libc_setreuid_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_setreuid(SB)
-+TEXT ·libc_setrlimit_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_setrlimit(SB)
-+TEXT ·libc_setsid_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_setsid(SB)
-+TEXT ·libc_settimeofday_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_settimeofday(SB)
-+TEXT ·libc_setuid_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_setuid(SB)
-+TEXT ·libc_symlink_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_symlink(SB)
-+TEXT ·libc_symlinkat_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_symlinkat(SB)
-+TEXT ·libc_sync_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_sync(SB)
-+TEXT ·libc_truncate_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_truncate(SB)
-+TEXT ·libc_umask_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_umask(SB)
-+TEXT ·libc_undelete_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_undelete(SB)
-+TEXT ·libc_unlink_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_unlink(SB)
-+TEXT ·libc_unlinkat_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_unlinkat(SB)
-+TEXT ·libc_unmount_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_unmount(SB)
-+TEXT ·libc_write_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_write(SB)
-+TEXT ·libc_mmap_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_mmap(SB)
-+TEXT ·libc_munmap_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_munmap(SB)
-+TEXT ·libc_ptrace_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_ptrace(SB)
-+TEXT ·libc_gettimeofday_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_gettimeofday(SB)
-+TEXT ·libc_fstat64_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_fstat64(SB)
-+TEXT ·libc_fstatat64_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_fstatat64(SB)
-+TEXT ·libc_fstatfs64_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_fstatfs64(SB)
-+TEXT ·libc_getfsstat64_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getfsstat64(SB)
-+TEXT ·libc_lstat64_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_lstat64(SB)
-+TEXT ·libc_stat64_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_stat64(SB)
-+TEXT ·libc_statfs64_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_statfs64(SB)
-diff --git a/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go b/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.1_11.go
-similarity index 85%
-copy from vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go
-copy to vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.1_11.go
-index 07c6ebc9..f8e5c37c 100644
---- a/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go
-+++ b/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.1_11.go
-@@ -1,7 +1,7 @@
--// mksyscall.pl -tags darwin,arm64 syscall_bsd.go syscall_darwin.go syscall_darwin_arm64.go
-+// go run mksyscall.go -tags darwin,amd64,!go1.12 syscall_bsd.go syscall_darwin.go syscall_darwin_amd64.1_11.go syscall_darwin_amd64.go
- // Code generated by the command above; see README.md. DO NOT EDIT.
-
--// +build darwin,arm64
-+// +build darwin,amd64,!go1.12
-
- package unix
-
-@@ -214,22 +214,6 @@ func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, ne
-
- // 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 utimes(path string, timeval *[2]Timeval) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
-@@ -255,9 +239,9 @@ func futimes(fd int, timeval *[2]Timeval) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func fcntl(fd int, cmd int, arg int) (val int, err error) {
-- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-- val = int(r0)
-+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)
- }
-@@ -366,8 +350,8 @@ func Munlockall() (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
-- _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
-+func getattrlist(path *byte, list unsafe.Pointer, buf unsafe.Pointer, size uintptr, options int) (err error) {
-+ _, _, e1 := Syscall6(SYS_GETATTRLIST, uintptr(unsafe.Pointer(path)), uintptr(list), uintptr(buf), uintptr(size), uintptr(options), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -388,6 +372,161 @@ func pipe() (r int, w int, err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-+func getxattr(path string, attr string, dest *byte, size int, position uint32, options int) (sz int, err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ var _p1 *byte
-+ _p1, err = BytePtrFromString(attr)
-+ if err != nil {
-+ return
-+ }
-+ r0, _, e1 := Syscall6(SYS_GETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(dest)), uintptr(size), uintptr(position), uintptr(options))
-+ sz = int(r0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func fgetxattr(fd int, attr string, dest *byte, size int, position uint32, options int) (sz int, err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(attr)
-+ if err != nil {
-+ return
-+ }
-+ r0, _, e1 := Syscall6(SYS_FGETXATTR, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(dest)), uintptr(size), uintptr(position), uintptr(options))
-+ sz = int(r0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func setxattr(path string, attr string, data *byte, size int, position uint32, options int) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ var _p1 *byte
-+ _p1, err = BytePtrFromString(attr)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall6(SYS_SETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(data)), uintptr(size), uintptr(position), uintptr(options))
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func fsetxattr(fd int, attr string, data *byte, size int, position uint32, options int) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(attr)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall6(SYS_FSETXATTR, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(data)), uintptr(size), uintptr(position), uintptr(options))
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func removexattr(path string, attr string, options int) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ var _p1 *byte
-+ _p1, err = BytePtrFromString(attr)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall(SYS_REMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(options))
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func fremovexattr(fd int, attr string, options int) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(attr)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall(SYS_FREMOVEXATTR, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(options))
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func listxattr(path string, dest *byte, size int, options int) (sz int, err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ r0, _, e1 := Syscall6(SYS_LISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(dest)), uintptr(size), uintptr(options), 0, 0)
-+ sz = int(r0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func flistxattr(fd int, dest *byte, size int, options int) (sz int, err error) {
-+ r0, _, e1 := Syscall6(SYS_FLISTXATTR, uintptr(fd), uintptr(unsafe.Pointer(dest)), uintptr(size), uintptr(options), 0, 0)
-+ sz = int(r0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// 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 := Syscall6(SYS_SETATTRLIST, uintptr(unsafe.Pointer(path)), uintptr(list), uintptr(buf), uintptr(size), uintptr(options), 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func fcntl(fd int, cmd int, arg int) (val int, err error) {
-+ r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-+ val = int(r0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func kill(pid int, signum int, posix int) (err error) {
- _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), uintptr(posix))
- if e1 != 0 {
-@@ -408,6 +547,32 @@ 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 sendfile(infd int, outfd int, offset int64, len *int64, hdtr unsafe.Pointer, flags int) (err error) {
-+ _, _, e1 := Syscall6(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(offset), uintptr(unsafe.Pointer(len)), uintptr(hdtr), uintptr(flags))
-+ 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)
-@@ -672,26 +837,6 @@ 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_t) (err error) {
-- _, _, e1 := Syscall(SYS_FSTAT64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Fstatfs(fd int, stat *Statfs_t) (err error) {
-- _, _, e1 := Syscall(SYS_FSTATFS64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
- func Fsync(fd int) (err error) {
- _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
- if e1 != 0 {
-@@ -712,23 +857,6 @@ 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) {
-- var _p0 unsafe.Pointer
-- if len(buf) > 0 {
-- _p0 = unsafe.Pointer(&buf[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall6(SYS_GETDIRENTRIES64, uintptr(fd), uintptr(_p0), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0)
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
- func Getdtablesize() (size int) {
- r0, _, _ := Syscall(SYS_GETDTABLESIZE, 0, 0, 0)
- size = int(r0)
-@@ -930,21 +1058,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_t) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_LSTAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-- 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)
-@@ -1229,8 +1342,9 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
-- _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-+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)
- }
-@@ -1375,36 +1489,6 @@ 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_t) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_STAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Statfs(path string, stat *Statfs_t) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_STATFS64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-- 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)
-@@ -1598,6 +1682,33 @@ func writelen(fd int, buf *byte, nbuf int) (n int, 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) {
-+ var _p0 unsafe.Pointer
-+ if len(buf) > 0 {
-+ _p0 = unsafe.Pointer(&buf[0])
-+ } else {
-+ _p0 = unsafe.Pointer(&_zero)
-+ }
-+ r0, _, e1 := Syscall6(SYS_GETDIRENTRIES64, uintptr(fd), uintptr(_p0), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0)
-+ n = int(r0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
-+ _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func gettimeofday(tp *Timeval) (sec int64, usec int32, err error) {
- r0, r1, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
- sec = int64(r0)
-@@ -1607,3 +1718,94 @@ func gettimeofday(tp *Timeval) (sec int64, usec int32, err error) {
- }
- return
- }
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Fstat(fd int, stat *Stat_t) (err error) {
-+ _, _, e1 := Syscall(SYS_FSTAT64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func 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_FSTATAT64, 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_FSTATFS64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func getfsstat(buf unsafe.Pointer, size uintptr, flags int) (n int, err error) {
-+ r0, _, e1 := Syscall(SYS_GETFSSTAT64, uintptr(buf), uintptr(size), 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 Lstat(path string, stat *Stat_t) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall(SYS_LSTAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Stat(path string, stat *Stat_t) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall(SYS_STAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Statfs(path string, stat *Statfs_t) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall(SYS_STATFS64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-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
-new file mode 100644
-index 00000000..314042a9
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.1_13.go
-@@ -0,0 +1,41 @@
-+// 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.
-+
-+// +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(funcPC(libc_closedir_trampoline), uintptr(dir), 0, 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_closedir_trampoline()
-+
-+//go:linkname libc_closedir libc_closedir
-+//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(funcPC(libc_readdir_r_trampoline), uintptr(dir), uintptr(unsafe.Pointer(entry)), uintptr(unsafe.Pointer(result)))
-+ res = Errno(r0)
-+ return
-+}
-+
-+func libc_readdir_r_trampoline()
-+
-+//go:linkname libc_readdir_r libc_readdir_r
-+//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
-new file mode 100644
-index 00000000..d671e831
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.1_13.s
-@@ -0,0 +1,12 @@
-+// go run mkasm_darwin.go amd64
-+// Code generated by the command above; DO NOT EDIT.
-+
-+// +build go1.13
-+
-+#include "textflag.h"
-+TEXT ·libc_fdopendir_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_fdopendir(SB)
-+TEXT ·libc_closedir_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_closedir(SB)
-+TEXT ·libc_readdir_r_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_readdir_r(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 5f1f6bfe..50d6437e 100644
---- a/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go
-+++ b/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go
-@@ -1,7 +1,7 @@
--// mksyscall.pl -tags darwin,amd64 syscall_bsd.go syscall_darwin.go syscall_darwin_amd64.go
-+// go run mksyscall.go -tags darwin,amd64,go1.12 syscall_bsd.go syscall_darwin.go syscall_darwin_amd64.go
- // Code generated by the command above; see README.md. DO NOT EDIT.
-
--// +build darwin,amd64
-+// +build darwin,amd64,go1.12
-
- package unix
-
-@@ -15,7 +15,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(funcPC(libc_getgroups_trampoline), uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
- n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -23,20 +23,30 @@ func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
- return
- }
-
-+func libc_getgroups_trampoline()
-+
-+//go:linkname libc_getgroups libc_getgroups
-+//go:cgo_import_dynamic libc_getgroups getgroups "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_setgroups_trampoline), uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_setgroups_trampoline()
-+
-+//go:linkname libc_setgroups libc_setgroups
-+//go:cgo_import_dynamic libc_setgroups setgroups "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_wait4_trampoline), uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
- wpid = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -44,10 +54,15 @@ func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err
- return
- }
-
-+func libc_wait4_trampoline()
-+
-+//go:linkname libc_wait4 libc_wait4
-+//go:cgo_import_dynamic libc_wait4 wait4 "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_accept_trampoline), uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
- fd = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -55,30 +70,45 @@ func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
- return
- }
-
-+func libc_accept_trampoline()
-+
-+//go:linkname libc_accept libc_accept
-+//go:cgo_import_dynamic libc_accept accept "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_bind_trampoline), uintptr(s), uintptr(addr), uintptr(addrlen))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_bind_trampoline()
-+
-+//go:linkname libc_bind libc_bind
-+//go:cgo_import_dynamic libc_bind bind "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_connect_trampoline), uintptr(s), uintptr(addr), uintptr(addrlen))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_connect_trampoline()
-+
-+//go:linkname libc_connect libc_connect
-+//go:cgo_import_dynamic libc_connect connect "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_socket_trampoline), uintptr(domain), uintptr(typ), uintptr(proto))
- fd = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -86,66 +116,101 @@ func socket(domain int, typ int, proto int) (fd int, err error) {
- return
- }
-
-+func libc_socket_trampoline()
-+
-+//go:linkname libc_socket libc_socket
-+//go:cgo_import_dynamic libc_socket socket "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_getsockopt_trampoline), uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_getsockopt_trampoline()
-+
-+//go:linkname libc_getsockopt libc_getsockopt
-+//go:cgo_import_dynamic libc_getsockopt getsockopt "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_setsockopt_trampoline), uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_setsockopt_trampoline()
-+
-+//go:linkname libc_setsockopt libc_setsockopt
-+//go:cgo_import_dynamic libc_setsockopt setsockopt "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_getpeername_trampoline), uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_getpeername_trampoline()
-+
-+//go:linkname libc_getpeername libc_getpeername
-+//go:cgo_import_dynamic libc_getpeername getpeername "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_getsockname_trampoline), uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_getsockname_trampoline()
-+
-+//go:linkname libc_getsockname libc_getsockname
-+//go:cgo_import_dynamic libc_getsockname getsockname "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_shutdown_trampoline), uintptr(s), uintptr(how), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_shutdown_trampoline()
-+
-+//go:linkname libc_shutdown libc_shutdown
-+//go:cgo_import_dynamic libc_shutdown shutdown "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_socketpair_trampoline), uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_socketpair_trampoline()
-+
-+//go:linkname libc_socketpair libc_socketpair
-+//go:cgo_import_dynamic libc_socketpair socketpair "/usr/lib/libSystem.B.dylib"
-+
- // 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) {
-@@ -155,7 +220,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(funcPC(libc_recvfrom_trampoline), 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)
-@@ -163,6 +228,11 @@ func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Sockl
- return
- }
-
-+func libc_recvfrom_trampoline()
-+
-+//go:linkname libc_recvfrom libc_recvfrom
-+//go:cgo_import_dynamic libc_recvfrom recvfrom "/usr/lib/libSystem.B.dylib"
-+
- // 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) {
-@@ -172,17 +242,22 @@ 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(funcPC(libc_sendto_trampoline), uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_sendto_trampoline()
-+
-+//go:linkname libc_sendto libc_sendto
-+//go:cgo_import_dynamic libc_sendto sendto "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_recvmsg_trampoline), uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
- n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -190,10 +265,15 @@ func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
- return
- }
-
-+func libc_recvmsg_trampoline()
-+
-+//go:linkname libc_recvmsg libc_recvmsg
-+//go:cgo_import_dynamic libc_recvmsg recvmsg "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_sendmsg_trampoline), uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
- n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -201,10 +281,15 @@ func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
- return
- }
-
-+func libc_sendmsg_trampoline()
-+
-+//go:linkname libc_sendmsg libc_sendmsg
-+//go:cgo_import_dynamic libc_sendmsg sendmsg "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_kevent_trampoline), uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout)))
- n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -212,21 +297,10 @@ func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, ne
- return
- }
-
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+func libc_kevent_trampoline()
-
--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
--}
-+//go:linkname libc_kevent libc_kevent
-+//go:cgo_import_dynamic libc_kevent kevent "/usr/lib/libSystem.B.dylib"
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-@@ -236,34 +310,49 @@ 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(funcPC(libc_utimes_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_utimes_trampoline()
-+
-+//go:linkname libc_utimes libc_utimes
-+//go:cgo_import_dynamic libc_utimes utimes "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_futimes_trampoline), uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_futimes_trampoline()
-+
-+//go:linkname libc_futimes libc_futimes
-+//go:cgo_import_dynamic libc_futimes futimes "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func fcntl(fd int, cmd int, arg int) (val int, err error) {
-- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-- val = int(r0)
-+func poll(fds *PollFd, nfds int, timeout int) (n int, err error) {
-+ r0, _, e1 := syscall_syscall(funcPC(libc_poll_trampoline), uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout))
-+ n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_poll_trampoline()
-+
-+//go:linkname libc_poll libc_poll
-+//go:cgo_import_dynamic libc_poll poll "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Madvise(b []byte, behav int) (err error) {
-@@ -273,13 +362,18 @@ 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(funcPC(libc_madvise_trampoline), uintptr(_p0), uintptr(len(b)), uintptr(behav))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_madvise_trampoline()
-+
-+//go:linkname libc_madvise libc_madvise
-+//go:cgo_import_dynamic libc_madvise madvise "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Mlock(b []byte) (err error) {
-@@ -289,23 +383,33 @@ func Mlock(b []byte) (err error) {
- } else {
- _p0 = unsafe.Pointer(&_zero)
- }
-- _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
-+ _, _, e1 := syscall_syscall(funcPC(libc_mlock_trampoline), uintptr(_p0), uintptr(len(b)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_mlock_trampoline()
-+
-+//go:linkname libc_mlock libc_mlock
-+//go:cgo_import_dynamic libc_mlock mlock "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_mlockall_trampoline), uintptr(flags), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_mlockall_trampoline()
-+
-+//go:linkname libc_mlockall libc_mlockall
-+//go:cgo_import_dynamic libc_mlockall mlockall "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Mprotect(b []byte, prot int) (err error) {
-@@ -315,13 +419,18 @@ 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(funcPC(libc_mprotect_trampoline), uintptr(_p0), uintptr(len(b)), uintptr(prot))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_mprotect_trampoline()
-+
-+//go:linkname libc_mprotect libc_mprotect
-+//go:cgo_import_dynamic libc_mprotect mprotect "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Msync(b []byte, flags int) (err error) {
-@@ -331,13 +440,18 @@ 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(funcPC(libc_msync_trampoline), uintptr(_p0), uintptr(len(b)), uintptr(flags))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_msync_trampoline()
-+
-+//go:linkname libc_msync libc_msync
-+//go:cgo_import_dynamic libc_msync msync "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Munlock(b []byte) (err error) {
-@@ -347,37 +461,52 @@ func Munlock(b []byte) (err error) {
- } else {
- _p0 = unsafe.Pointer(&_zero)
- }
-- _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
-+ _, _, e1 := syscall_syscall(funcPC(libc_munlock_trampoline), uintptr(_p0), uintptr(len(b)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_munlock_trampoline()
-+
-+//go:linkname libc_munlock libc_munlock
-+//go:cgo_import_dynamic libc_munlock munlock "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_munlockall_trampoline), 0, 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_munlockall_trampoline()
-+
-+//go:linkname libc_munlockall libc_munlockall
-+//go:cgo_import_dynamic libc_munlockall munlockall "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
-- _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
-+func getattrlist(path *byte, list unsafe.Pointer, buf unsafe.Pointer, size uintptr, options int) (err error) {
-+ _, _, e1 := syscall_syscall6(funcPC(libc_getattrlist_trampoline), uintptr(unsafe.Pointer(path)), uintptr(list), uintptr(buf), uintptr(size), uintptr(options), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_getattrlist_trampoline()
-+
-+//go:linkname libc_getattrlist libc_getattrlist
-+//go:cgo_import_dynamic libc_getattrlist getattrlist "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func pipe() (r int, w int, err error) {
-- r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
-+ r0, r1, e1 := syscall_rawSyscall(funcPC(libc_pipe_trampoline), 0, 0, 0)
- r = int(r0)
- w = int(r1)
- if e1 != 0 {
-@@ -386,26 +515,282 @@ func pipe() (r int, w int, err error) {
- return
- }
-
-+func libc_pipe_trampoline()
-+
-+//go:linkname libc_pipe libc_pipe
-+//go:cgo_import_dynamic libc_pipe pipe "/usr/lib/libSystem.B.dylib"
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func getxattr(path string, attr string, dest *byte, size int, position uint32, options int) (sz int, err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ var _p1 *byte
-+ _p1, err = BytePtrFromString(attr)
-+ if err != nil {
-+ return
-+ }
-+ r0, _, e1 := syscall_syscall6(funcPC(libc_getxattr_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(dest)), uintptr(size), uintptr(position), uintptr(options))
-+ sz = int(r0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_getxattr_trampoline()
-+
-+//go:linkname libc_getxattr libc_getxattr
-+//go:cgo_import_dynamic libc_getxattr getxattr "/usr/lib/libSystem.B.dylib"
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func fgetxattr(fd int, attr string, dest *byte, size int, position uint32, options int) (sz int, err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(attr)
-+ if err != nil {
-+ return
-+ }
-+ r0, _, e1 := syscall_syscall6(funcPC(libc_fgetxattr_trampoline), uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(dest)), uintptr(size), uintptr(position), uintptr(options))
-+ sz = int(r0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_fgetxattr_trampoline()
-+
-+//go:linkname libc_fgetxattr libc_fgetxattr
-+//go:cgo_import_dynamic libc_fgetxattr fgetxattr "/usr/lib/libSystem.B.dylib"
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func setxattr(path string, attr string, data *byte, size int, position uint32, options int) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ var _p1 *byte
-+ _p1, err = BytePtrFromString(attr)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := syscall_syscall6(funcPC(libc_setxattr_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(data)), uintptr(size), uintptr(position), uintptr(options))
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_setxattr_trampoline()
-+
-+//go:linkname libc_setxattr libc_setxattr
-+//go:cgo_import_dynamic libc_setxattr setxattr "/usr/lib/libSystem.B.dylib"
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func fsetxattr(fd int, attr string, data *byte, size int, position uint32, options int) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(attr)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := syscall_syscall6(funcPC(libc_fsetxattr_trampoline), uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(data)), uintptr(size), uintptr(position), uintptr(options))
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_fsetxattr_trampoline()
-+
-+//go:linkname libc_fsetxattr libc_fsetxattr
-+//go:cgo_import_dynamic libc_fsetxattr fsetxattr "/usr/lib/libSystem.B.dylib"
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func removexattr(path string, attr string, options int) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ var _p1 *byte
-+ _p1, err = BytePtrFromString(attr)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := syscall_syscall(funcPC(libc_removexattr_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(options))
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_removexattr_trampoline()
-+
-+//go:linkname libc_removexattr libc_removexattr
-+//go:cgo_import_dynamic libc_removexattr removexattr "/usr/lib/libSystem.B.dylib"
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func fremovexattr(fd int, attr string, options int) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(attr)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := syscall_syscall(funcPC(libc_fremovexattr_trampoline), uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(options))
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_fremovexattr_trampoline()
-+
-+//go:linkname libc_fremovexattr libc_fremovexattr
-+//go:cgo_import_dynamic libc_fremovexattr fremovexattr "/usr/lib/libSystem.B.dylib"
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func listxattr(path string, dest *byte, size int, options int) (sz int, err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ r0, _, e1 := syscall_syscall6(funcPC(libc_listxattr_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(dest)), uintptr(size), uintptr(options), 0, 0)
-+ sz = int(r0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_listxattr_trampoline()
-+
-+//go:linkname libc_listxattr libc_listxattr
-+//go:cgo_import_dynamic libc_listxattr listxattr "/usr/lib/libSystem.B.dylib"
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func flistxattr(fd int, dest *byte, size int, options int) (sz int, err error) {
-+ r0, _, e1 := syscall_syscall6(funcPC(libc_flistxattr_trampoline), uintptr(fd), uintptr(unsafe.Pointer(dest)), uintptr(size), uintptr(options), 0, 0)
-+ sz = int(r0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_flistxattr_trampoline()
-+
-+//go:linkname libc_flistxattr libc_flistxattr
-+//go:cgo_import_dynamic libc_flistxattr flistxattr "/usr/lib/libSystem.B.dylib"
-+
-+// 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(funcPC(libc_setattrlist_trampoline), uintptr(unsafe.Pointer(path)), uintptr(list), uintptr(buf), uintptr(size), uintptr(options), 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_setattrlist_trampoline()
-+
-+//go:linkname libc_setattrlist libc_setattrlist
-+//go:cgo_import_dynamic libc_setattrlist setattrlist "/usr/lib/libSystem.B.dylib"
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func fcntl(fd int, cmd int, arg int) (val int, err error) {
-+ r0, _, e1 := syscall_syscall(funcPC(libc_fcntl_trampoline), uintptr(fd), uintptr(cmd), uintptr(arg))
-+ val = int(r0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_fcntl_trampoline()
-+
-+//go:linkname libc_fcntl libc_fcntl
-+//go:cgo_import_dynamic libc_fcntl fcntl "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func kill(pid int, signum int, posix int) (err error) {
-- _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), uintptr(posix))
-+ _, _, e1 := syscall_syscall(funcPC(libc_kill_trampoline), uintptr(pid), uintptr(signum), uintptr(posix))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_kill_trampoline()
-+
-+//go:linkname libc_kill libc_kill
-+//go:cgo_import_dynamic libc_kill kill "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_ioctl_trampoline), uintptr(fd), uintptr(req), uintptr(arg))
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_ioctl_trampoline()
-+
-+//go:linkname libc_ioctl libc_ioctl
-+//go:cgo_import_dynamic libc_ioctl ioctl "/usr/lib/libSystem.B.dylib"
-+
-+// 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(funcPC(libc_sysctl_trampoline), 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
- }
-
-+func libc_sysctl_trampoline()
-+
-+//go:linkname libc_sysctl libc_sysctl
-+//go:cgo_import_dynamic libc_sysctl sysctl "/usr/lib/libSystem.B.dylib"
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func sendfile(infd int, outfd int, offset int64, len *int64, hdtr unsafe.Pointer, flags int) (err error) {
-+ _, _, e1 := syscall_syscall6(funcPC(libc_sendfile_trampoline), uintptr(infd), uintptr(outfd), uintptr(offset), uintptr(unsafe.Pointer(len)), uintptr(hdtr), uintptr(flags))
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_sendfile_trampoline()
-+
-+//go:linkname libc_sendfile libc_sendfile
-+//go:cgo_import_dynamic libc_sendfile sendfile "/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) {
-@@ -414,23 +799,33 @@ 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(funcPC(libc_access_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_access_trampoline()
-+
-+//go:linkname libc_access libc_access
-+//go:cgo_import_dynamic libc_access access "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_adjtime_trampoline), uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_adjtime_trampoline()
-+
-+//go:linkname libc_adjtime libc_adjtime
-+//go:cgo_import_dynamic libc_adjtime adjtime "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Chdir(path string) (err error) {
-@@ -439,13 +834,18 @@ func Chdir(path string) (err error) {
- if err != nil {
- return
- }
-- _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-+ _, _, e1 := syscall_syscall(funcPC(libc_chdir_trampoline), uintptr(unsafe.Pointer(_p0)), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_chdir_trampoline()
-+
-+//go:linkname libc_chdir libc_chdir
-+//go:cgo_import_dynamic libc_chdir chdir "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Chflags(path string, flags int) (err error) {
-@@ -454,13 +854,18 @@ 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(funcPC(libc_chflags_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_chflags_trampoline()
-+
-+//go:linkname libc_chflags libc_chflags
-+//go:cgo_import_dynamic libc_chflags chflags "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Chmod(path string, mode uint32) (err error) {
-@@ -469,13 +874,18 @@ 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(funcPC(libc_chmod_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_chmod_trampoline()
-+
-+//go:linkname libc_chmod libc_chmod
-+//go:cgo_import_dynamic libc_chmod chmod "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Chown(path string, uid int, gid int) (err error) {
-@@ -484,13 +894,18 @@ 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(funcPC(libc_chown_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_chown_trampoline()
-+
-+//go:linkname libc_chown libc_chown
-+//go:cgo_import_dynamic libc_chown chown "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Chroot(path string) (err error) {
-@@ -499,27 +914,52 @@ func Chroot(path string) (err error) {
- if err != nil {
- return
- }
-- _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-+ _, _, e1 := syscall_syscall(funcPC(libc_chroot_trampoline), uintptr(unsafe.Pointer(_p0)), 0, 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_chroot_trampoline()
-+
-+//go:linkname libc_chroot libc_chroot
-+//go:cgo_import_dynamic libc_chroot chroot "/usr/lib/libSystem.B.dylib"
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func ClockGettime(clockid int32, time *Timespec) (err error) {
-+ _, _, e1 := syscall_syscall(funcPC(libc_clock_gettime_trampoline), uintptr(clockid), uintptr(unsafe.Pointer(time)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_clock_gettime_trampoline()
-+
-+//go:linkname libc_clock_gettime libc_clock_gettime
-+//go:cgo_import_dynamic libc_clock_gettime clock_gettime "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_close_trampoline), uintptr(fd), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_close_trampoline()
-+
-+//go:linkname libc_close libc_close
-+//go:cgo_import_dynamic libc_close close "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_dup_trampoline), uintptr(fd), 0, 0)
- nfd = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -527,16 +967,26 @@ func Dup(fd int) (nfd int, err error) {
- return
- }
-
-+func libc_dup_trampoline()
-+
-+//go:linkname libc_dup libc_dup
-+//go:cgo_import_dynamic libc_dup dup "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_dup2_trampoline), uintptr(from), uintptr(to), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_dup2_trampoline()
-+
-+//go:linkname libc_dup2 libc_dup2
-+//go:cgo_import_dynamic libc_dup2 dup2 "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Exchangedata(path1 string, path2 string, options int) (err error) {
-@@ -550,20 +1000,30 @@ func Exchangedata(path1 string, path2 string, options int) (err error) {
- if err != nil {
- return
- }
-- _, _, e1 := Syscall(SYS_EXCHANGEDATA, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(options))
-+ _, _, e1 := syscall_syscall(funcPC(libc_exchangedata_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(options))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_exchangedata_trampoline()
-+
-+//go:linkname libc_exchangedata libc_exchangedata
-+//go:cgo_import_dynamic libc_exchangedata exchangedata "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_exit_trampoline), uintptr(code), 0, 0)
- return
- }
-
-+func libc_exit_trampoline()
-+
-+//go:linkname libc_exit libc_exit
-+//go:cgo_import_dynamic libc_exit exit "/usr/lib/libSystem.B.dylib"
-+
- // 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) {
-@@ -572,43 +1032,63 @@ 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(funcPC(libc_faccessat_trampoline), uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_faccessat_trampoline()
-+
-+//go:linkname libc_faccessat libc_faccessat
-+//go:cgo_import_dynamic libc_faccessat faccessat "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_fchdir_trampoline), uintptr(fd), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_fchdir_trampoline()
-+
-+//go:linkname libc_fchdir libc_fchdir
-+//go:cgo_import_dynamic libc_fchdir fchdir "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_fchflags_trampoline), uintptr(fd), uintptr(flags), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_fchflags_trampoline()
-+
-+//go:linkname libc_fchflags libc_fchflags
-+//go:cgo_import_dynamic libc_fchflags fchflags "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_fchmod_trampoline), uintptr(fd), uintptr(mode), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_fchmod_trampoline()
-+
-+//go:linkname libc_fchmod libc_fchmod
-+//go:cgo_import_dynamic libc_fchmod fchmod "/usr/lib/libSystem.B.dylib"
-+
- // 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) {
-@@ -617,23 +1097,33 @@ 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(funcPC(libc_fchmodat_trampoline), uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_fchmodat_trampoline()
-+
-+//go:linkname libc_fchmodat libc_fchmodat
-+//go:cgo_import_dynamic libc_fchmodat fchmodat "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_fchown_trampoline), uintptr(fd), uintptr(uid), uintptr(gid))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_fchown_trampoline()
-+
-+//go:linkname libc_fchown libc_fchown
-+//go:cgo_import_dynamic libc_fchown fchown "/usr/lib/libSystem.B.dylib"
-+
- // 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) {
-@@ -642,27 +1132,37 @@ 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(funcPC(libc_fchownat_trampoline), uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_fchownat_trampoline()
-+
-+//go:linkname libc_fchownat libc_fchownat
-+//go:cgo_import_dynamic libc_fchownat fchownat "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_flock_trampoline), uintptr(fd), uintptr(how), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_flock_trampoline()
-+
-+//go:linkname libc_flock libc_flock
-+//go:cgo_import_dynamic libc_flock flock "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_fpathconf_trampoline), uintptr(fd), uintptr(name), 0)
- val = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -670,99 +1170,97 @@ func Fpathconf(fd int, name int) (val int, err error) {
- return
- }
-
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+func libc_fpathconf_trampoline()
-
--func Fstat(fd int, stat *Stat_t) (err error) {
-- _, _, e1 := Syscall(SYS_FSTAT64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
-+//go:linkname libc_fpathconf libc_fpathconf
-+//go:cgo_import_dynamic libc_fpathconf fpathconf "/usr/lib/libSystem.B.dylib"
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Fstatfs(fd int, stat *Statfs_t) (err error) {
-- _, _, e1 := Syscall(SYS_FSTATFS64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-+func Fsync(fd int) (err error) {
-+ _, _, e1 := syscall_syscall(funcPC(libc_fsync_trampoline), 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 libc_fsync_trampoline()
-
--func Fsync(fd int) (err error) {
-- _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
-+//go:linkname libc_fsync libc_fsync
-+//go:cgo_import_dynamic libc_fsync fsync "/usr/lib/libSystem.B.dylib"
-
- // 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)
-+ _, _, e1 := syscall_syscall(funcPC(libc_ftruncate_trampoline), 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 libc_ftruncate_trampoline()
-
--func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
-- var _p0 unsafe.Pointer
-- if len(buf) > 0 {
-- _p0 = unsafe.Pointer(&buf[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall6(SYS_GETDIRENTRIES64, uintptr(fd), uintptr(_p0), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0)
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
-+//go:linkname libc_ftruncate libc_ftruncate
-+//go:cgo_import_dynamic libc_ftruncate ftruncate "/usr/lib/libSystem.B.dylib"
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Getdtablesize() (size int) {
-- r0, _, _ := Syscall(SYS_GETDTABLESIZE, 0, 0, 0)
-+ r0, _, _ := syscall_syscall(funcPC(libc_getdtablesize_trampoline), 0, 0, 0)
- size = int(r0)
- return
- }
-
-+func libc_getdtablesize_trampoline()
-+
-+//go:linkname libc_getdtablesize libc_getdtablesize
-+//go:cgo_import_dynamic libc_getdtablesize getdtablesize "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_getegid_trampoline), 0, 0, 0)
- egid = int(r0)
- return
- }
-
-+func libc_getegid_trampoline()
-+
-+//go:linkname libc_getegid libc_getegid
-+//go:cgo_import_dynamic libc_getegid getegid "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_geteuid_trampoline), 0, 0, 0)
- uid = int(r0)
- return
- }
-
-+func libc_geteuid_trampoline()
-+
-+//go:linkname libc_geteuid libc_geteuid
-+//go:cgo_import_dynamic libc_geteuid geteuid "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_getgid_trampoline), 0, 0, 0)
- gid = int(r0)
- return
- }
-
-+func libc_getgid_trampoline()
-+
-+//go:linkname libc_getgid libc_getgid
-+//go:cgo_import_dynamic libc_getgid getgid "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_getpgid_trampoline), uintptr(pid), 0, 0)
- pgid = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -770,34 +1268,54 @@ func Getpgid(pid int) (pgid int, err error) {
- return
- }
-
-+func libc_getpgid_trampoline()
-+
-+//go:linkname libc_getpgid libc_getpgid
-+//go:cgo_import_dynamic libc_getpgid getpgid "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_getpgrp_trampoline), 0, 0, 0)
- pgrp = int(r0)
- return
- }
-
-+func libc_getpgrp_trampoline()
-+
-+//go:linkname libc_getpgrp libc_getpgrp
-+//go:cgo_import_dynamic libc_getpgrp getpgrp "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_getpid_trampoline), 0, 0, 0)
- pid = int(r0)
- return
- }
-
-+func libc_getpid_trampoline()
-+
-+//go:linkname libc_getpid libc_getpid
-+//go:cgo_import_dynamic libc_getpid getpid "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_getppid_trampoline), 0, 0, 0)
- ppid = int(r0)
- return
- }
-
-+func libc_getppid_trampoline()
-+
-+//go:linkname libc_getppid libc_getppid
-+//go:cgo_import_dynamic libc_getppid getppid "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_getpriority_trampoline), uintptr(which), uintptr(who), 0)
- prio = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -805,30 +1323,45 @@ func Getpriority(which int, who int) (prio int, err error) {
- return
- }
-
-+func libc_getpriority_trampoline()
-+
-+//go:linkname libc_getpriority libc_getpriority
-+//go:cgo_import_dynamic libc_getpriority getpriority "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_getrlimit_trampoline), uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_getrlimit_trampoline()
-+
-+//go:linkname libc_getrlimit libc_getrlimit
-+//go:cgo_import_dynamic libc_getrlimit getrlimit "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_getrusage_trampoline), uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_getrusage_trampoline()
-+
-+//go:linkname libc_getrusage libc_getrusage
-+//go:cgo_import_dynamic libc_getrusage getrusage "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_getsid_trampoline), uintptr(pid), 0, 0)
- sid = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -836,26 +1369,41 @@ func Getsid(pid int) (sid int, err error) {
- return
- }
-
-+func libc_getsid_trampoline()
-+
-+//go:linkname libc_getsid libc_getsid
-+//go:cgo_import_dynamic libc_getsid getsid "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_getuid_trampoline), 0, 0, 0)
- uid = int(r0)
- return
- }
-
-+func libc_getuid_trampoline()
-+
-+//go:linkname libc_getuid libc_getuid
-+//go:cgo_import_dynamic libc_getuid getuid "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Issetugid() (tainted bool) {
-- r0, _, _ := RawSyscall(SYS_ISSETUGID, 0, 0, 0)
-+ r0, _, _ := syscall_rawSyscall(funcPC(libc_issetugid_trampoline), 0, 0, 0)
- tainted = bool(r0 != 0)
- return
- }
-
-+func libc_issetugid_trampoline()
-+
-+//go:linkname libc_issetugid libc_issetugid
-+//go:cgo_import_dynamic libc_issetugid issetugid "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_kqueue_trampoline), 0, 0, 0)
- fd = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -863,6 +1411,11 @@ func Kqueue() (fd int, err error) {
- return
- }
-
-+func libc_kqueue_trampoline()
-+
-+//go:linkname libc_kqueue libc_kqueue
-+//go:cgo_import_dynamic libc_kqueue kqueue "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Lchown(path string, uid int, gid int) (err error) {
-@@ -871,13 +1424,18 @@ 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(funcPC(libc_lchown_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_lchown_trampoline()
-+
-+//go:linkname libc_lchown libc_lchown
-+//go:cgo_import_dynamic libc_lchown lchown "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Link(path string, link string) (err error) {
-@@ -891,13 +1449,18 @@ 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(funcPC(libc_link_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_link_trampoline()
-+
-+//go:linkname libc_link libc_link
-+//go:cgo_import_dynamic libc_link link "/usr/lib/libSystem.B.dylib"
-+
- // 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) {
-@@ -911,37 +1474,32 @@ 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(funcPC(libc_linkat_trampoline), uintptr(pathfd), uintptr(unsafe.Pointer(_p0)), uintptr(linkfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_linkat_trampoline()
-+
-+//go:linkname libc_linkat libc_linkat
-+//go:cgo_import_dynamic libc_linkat linkat "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_listen_trampoline), 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 libc_listen_trampoline()
-
--func Lstat(path string, stat *Stat_t) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_LSTAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
-+//go:linkname libc_listen libc_listen
-+//go:cgo_import_dynamic libc_listen listen "/usr/lib/libSystem.B.dylib"
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-@@ -951,13 +1509,18 @@ 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(funcPC(libc_mkdir_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_mkdir_trampoline()
-+
-+//go:linkname libc_mkdir libc_mkdir
-+//go:cgo_import_dynamic libc_mkdir mkdir "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Mkdirat(dirfd int, path string, mode uint32) (err error) {
-@@ -966,13 +1529,18 @@ 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(funcPC(libc_mkdirat_trampoline), uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_mkdirat_trampoline()
-+
-+//go:linkname libc_mkdirat libc_mkdirat
-+//go:cgo_import_dynamic libc_mkdirat mkdirat "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Mkfifo(path string, mode uint32) (err error) {
-@@ -981,13 +1549,18 @@ 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(funcPC(libc_mkfifo_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_mkfifo_trampoline()
-+
-+//go:linkname libc_mkfifo libc_mkfifo
-+//go:cgo_import_dynamic libc_mkfifo mkfifo "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Mknod(path string, mode uint32, dev int) (err error) {
-@@ -996,13 +1569,18 @@ 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(funcPC(libc_mknod_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_mknod_trampoline()
-+
-+//go:linkname libc_mknod libc_mknod
-+//go:cgo_import_dynamic libc_mknod mknod "/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) {
-@@ -1011,7 +1589,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(funcPC(libc_open_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm))
- fd = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1019,6 +1597,11 @@ func Open(path string, mode int, perm uint32) (fd int, err error) {
- return
- }
-
-+func libc_open_trampoline()
-+
-+//go:linkname libc_open libc_open
-+//go:cgo_import_dynamic libc_open open "/usr/lib/libSystem.B.dylib"
-+
- // 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) {
-@@ -1027,7 +1610,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(funcPC(libc_openat_trampoline), uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm), 0, 0)
- fd = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1035,6 +1618,11 @@ func Openat(dirfd int, path string, mode int, perm uint32) (fd int, err error) {
- return
- }
-
-+func libc_openat_trampoline()
-+
-+//go:linkname libc_openat libc_openat
-+//go:cgo_import_dynamic libc_openat openat "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Pathconf(path string, name int) (val int, err error) {
-@@ -1043,7 +1631,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(funcPC(libc_pathconf_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(name), 0)
- val = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1051,6 +1639,11 @@ func Pathconf(path string, name int) (val int, err error) {
- return
- }
-
-+func libc_pathconf_trampoline()
-+
-+//go:linkname libc_pathconf libc_pathconf
-+//go:cgo_import_dynamic libc_pathconf pathconf "/usr/lib/libSystem.B.dylib"
-+
- // 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) {
-@@ -1060,7 +1653,7 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) {
- } else {
- _p0 = unsafe.Pointer(&_zero)
- }
-- r0, _, e1 := Syscall6(SYS_PREAD, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
-+ r0, _, e1 := syscall_syscall6(funcPC(libc_pread_trampoline), uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
- n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1068,6 +1661,11 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) {
- return
- }
-
-+func libc_pread_trampoline()
-+
-+//go:linkname libc_pread libc_pread
-+//go:cgo_import_dynamic libc_pread pread "/usr/lib/libSystem.B.dylib"
-+
- // 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) {
-@@ -1077,7 +1675,7 @@ func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
- } else {
- _p0 = unsafe.Pointer(&_zero)
- }
-- r0, _, e1 := Syscall6(SYS_PWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
-+ r0, _, e1 := syscall_syscall6(funcPC(libc_pwrite_trampoline), uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
- n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1085,6 +1683,11 @@ func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
- return
- }
-
-+func libc_pwrite_trampoline()
-+
-+//go:linkname libc_pwrite libc_pwrite
-+//go:cgo_import_dynamic libc_pwrite pwrite "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func read(fd int, p []byte) (n int, err error) {
-@@ -1094,7 +1697,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(funcPC(libc_read_trampoline), uintptr(fd), uintptr(_p0), uintptr(len(p)))
- n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1102,6 +1705,11 @@ func read(fd int, p []byte) (n int, err error) {
- return
- }
-
-+func libc_read_trampoline()
-+
-+//go:linkname libc_read libc_read
-+//go:cgo_import_dynamic libc_read read "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Readlink(path string, buf []byte) (n int, err error) {
-@@ -1116,7 +1724,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(funcPC(libc_readlink_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)))
- n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1124,6 +1732,11 @@ func Readlink(path string, buf []byte) (n int, err error) {
- return
- }
-
-+func libc_readlink_trampoline()
-+
-+//go:linkname libc_readlink libc_readlink
-+//go:cgo_import_dynamic libc_readlink readlink "/usr/lib/libSystem.B.dylib"
-+
- // 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) {
-@@ -1138,7 +1751,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(funcPC(libc_readlinkat_trampoline), uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0)
- n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1146,6 +1759,11 @@ func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
- return
- }
-
-+func libc_readlinkat_trampoline()
-+
-+//go:linkname libc_readlinkat libc_readlinkat
-+//go:cgo_import_dynamic libc_readlinkat readlinkat "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Rename(from string, to string) (err error) {
-@@ -1159,13 +1777,18 @@ 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(funcPC(libc_rename_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_rename_trampoline()
-+
-+//go:linkname libc_rename libc_rename
-+//go:cgo_import_dynamic libc_rename rename "/usr/lib/libSystem.B.dylib"
-+
- // 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) {
-@@ -1179,13 +1802,18 @@ 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(funcPC(libc_renameat_trampoline), uintptr(fromfd), uintptr(unsafe.Pointer(_p0)), uintptr(tofd), uintptr(unsafe.Pointer(_p1)), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_renameat_trampoline()
-+
-+//go:linkname libc_renameat libc_renameat
-+//go:cgo_import_dynamic libc_renameat renameat "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Revoke(path string) (err error) {
-@@ -1194,13 +1822,18 @@ func Revoke(path string) (err error) {
- if err != nil {
- return
- }
-- _, _, e1 := Syscall(SYS_REVOKE, uintptr(unsafe.Pointer(_p0)), 0, 0)
-+ _, _, e1 := syscall_syscall(funcPC(libc_revoke_trampoline), uintptr(unsafe.Pointer(_p0)), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_revoke_trampoline()
-+
-+//go:linkname libc_revoke libc_revoke
-+//go:cgo_import_dynamic libc_revoke revoke "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Rmdir(path string) (err error) {
-@@ -1209,17 +1842,22 @@ func Rmdir(path string) (err error) {
- if err != nil {
- return
- }
-- _, _, e1 := Syscall(SYS_RMDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-+ _, _, e1 := syscall_syscall(funcPC(libc_rmdir_trampoline), uintptr(unsafe.Pointer(_p0)), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_rmdir_trampoline()
-+
-+//go:linkname libc_rmdir libc_rmdir
-+//go:cgo_import_dynamic libc_rmdir rmdir "/usr/lib/libSystem.B.dylib"
-+
- // 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))
-+ r0, _, e1 := syscall_syscall(funcPC(libc_lseek_trampoline), uintptr(fd), uintptr(offset), uintptr(whence))
- newoffset = int64(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1227,46 +1865,72 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
- return
- }
-
-+func libc_lseek_trampoline()
-+
-+//go:linkname libc_lseek libc_lseek
-+//go:cgo_import_dynamic libc_lseek lseek "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
-- _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-+func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
-+ r0, _, e1 := syscall_syscall6(funcPC(libc_select_trampoline), 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
- }
-
-+func libc_select_trampoline()
-+
-+//go:linkname libc_select libc_select
-+//go:cgo_import_dynamic libc_select select "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Setegid(egid int) (err error) {
-- _, _, e1 := Syscall(SYS_SETEGID, uintptr(egid), 0, 0)
-+ _, _, e1 := syscall_syscall(funcPC(libc_setegid_trampoline), uintptr(egid), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_setegid_trampoline()
-+
-+//go:linkname libc_setegid libc_setegid
-+//go:cgo_import_dynamic libc_setegid setegid "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_seteuid_trampoline), uintptr(euid), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_seteuid_trampoline()
-+
-+//go:linkname libc_seteuid libc_seteuid
-+//go:cgo_import_dynamic libc_seteuid seteuid "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_setgid_trampoline), uintptr(gid), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_setgid_trampoline()
-+
-+//go:linkname libc_setgid libc_setgid
-+//go:cgo_import_dynamic libc_setgid setgid "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Setlogin(name string) (err error) {
-@@ -1275,77 +1939,112 @@ func Setlogin(name string) (err error) {
- if err != nil {
- return
- }
-- _, _, e1 := Syscall(SYS_SETLOGIN, uintptr(unsafe.Pointer(_p0)), 0, 0)
-+ _, _, e1 := syscall_syscall(funcPC(libc_setlogin_trampoline), uintptr(unsafe.Pointer(_p0)), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_setlogin_trampoline()
-+
-+//go:linkname libc_setlogin libc_setlogin
-+//go:cgo_import_dynamic libc_setlogin setlogin "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_setpgid_trampoline), uintptr(pid), uintptr(pgid), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_setpgid_trampoline()
-+
-+//go:linkname libc_setpgid libc_setpgid
-+//go:cgo_import_dynamic libc_setpgid setpgid "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_setpriority_trampoline), uintptr(which), uintptr(who), uintptr(prio))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_setpriority_trampoline()
-+
-+//go:linkname libc_setpriority libc_setpriority
-+//go:cgo_import_dynamic libc_setpriority setpriority "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Setprivexec(flag int) (err error) {
-- _, _, e1 := Syscall(SYS_SETPRIVEXEC, uintptr(flag), 0, 0)
-+ _, _, e1 := syscall_syscall(funcPC(libc_setprivexec_trampoline), uintptr(flag), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_setprivexec_trampoline()
-+
-+//go:linkname libc_setprivexec libc_setprivexec
-+//go:cgo_import_dynamic libc_setprivexec setprivexec "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_setregid_trampoline), uintptr(rgid), uintptr(egid), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_setregid_trampoline()
-+
-+//go:linkname libc_setregid libc_setregid
-+//go:cgo_import_dynamic libc_setregid setregid "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_setreuid_trampoline), uintptr(ruid), uintptr(euid), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_setreuid_trampoline()
-+
-+//go:linkname libc_setreuid libc_setreuid
-+//go:cgo_import_dynamic libc_setreuid setreuid "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_setrlimit_trampoline), uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_setrlimit_trampoline()
-+
-+//go:linkname libc_setrlimit libc_setrlimit
-+//go:cgo_import_dynamic libc_setrlimit setrlimit "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_setsid_trampoline), 0, 0, 0)
- pid = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1353,55 +2052,40 @@ func Setsid() (pid int, err error) {
- return
- }
-
-+func libc_setsid_trampoline()
-+
-+//go:linkname libc_setsid libc_setsid
-+//go:cgo_import_dynamic libc_setsid setsid "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_settimeofday_trampoline), 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 libc_settimeofday_trampoline()
-
--func Setuid(uid int) (err error) {
-- _, _, e1 := RawSyscall(SYS_SETUID, uintptr(uid), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
-+//go:linkname libc_settimeofday libc_settimeofday
-+//go:cgo_import_dynamic libc_settimeofday settimeofday "/usr/lib/libSystem.B.dylib"
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Stat(path string, stat *Stat_t) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_STAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-+func Setuid(uid int) (err error) {
-+ _, _, e1 := syscall_rawSyscall(funcPC(libc_setuid_trampoline), 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 libc_setuid_trampoline()
-
--func Statfs(path string, stat *Statfs_t) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_STATFS64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
-+//go:linkname libc_setuid libc_setuid
-+//go:cgo_import_dynamic libc_setuid setuid "/usr/lib/libSystem.B.dylib"
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-@@ -1416,13 +2100,18 @@ 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(funcPC(libc_symlink_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_symlink_trampoline()
-+
-+//go:linkname libc_symlink libc_symlink
-+//go:cgo_import_dynamic libc_symlink symlink "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Symlinkat(oldpath string, newdirfd int, newpath string) (err error) {
-@@ -1436,23 +2125,33 @@ 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(funcPC(libc_symlinkat_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_symlinkat_trampoline()
-+
-+//go:linkname libc_symlinkat libc_symlinkat
-+//go:cgo_import_dynamic libc_symlinkat symlinkat "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_sync_trampoline), 0, 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_sync_trampoline()
-+
-+//go:linkname libc_sync libc_sync
-+//go:cgo_import_dynamic libc_sync sync "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Truncate(path string, length int64) (err error) {
-@@ -1461,21 +2160,31 @@ func Truncate(path string, length int64) (err error) {
- if err != nil {
- return
- }
-- _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), uintptr(length), 0)
-+ _, _, e1 := syscall_syscall(funcPC(libc_truncate_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(length), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_truncate_trampoline()
-+
-+//go:linkname libc_truncate libc_truncate
-+//go:cgo_import_dynamic libc_truncate truncate "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_umask_trampoline), uintptr(newmask), 0, 0)
- oldmask = int(r0)
- return
- }
-
-+func libc_umask_trampoline()
-+
-+//go:linkname libc_umask libc_umask
-+//go:cgo_import_dynamic libc_umask umask "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Undelete(path string) (err error) {
-@@ -1484,13 +2193,18 @@ func Undelete(path string) (err error) {
- if err != nil {
- return
- }
-- _, _, e1 := Syscall(SYS_UNDELETE, uintptr(unsafe.Pointer(_p0)), 0, 0)
-+ _, _, e1 := syscall_syscall(funcPC(libc_undelete_trampoline), uintptr(unsafe.Pointer(_p0)), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_undelete_trampoline()
-+
-+//go:linkname libc_undelete libc_undelete
-+//go:cgo_import_dynamic libc_undelete undelete "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Unlink(path string) (err error) {
-@@ -1499,13 +2213,18 @@ func Unlink(path string) (err error) {
- if err != nil {
- return
- }
-- _, _, e1 := Syscall(SYS_UNLINK, uintptr(unsafe.Pointer(_p0)), 0, 0)
-+ _, _, e1 := syscall_syscall(funcPC(libc_unlink_trampoline), uintptr(unsafe.Pointer(_p0)), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_unlink_trampoline()
-+
-+//go:linkname libc_unlink libc_unlink
-+//go:cgo_import_dynamic libc_unlink unlink "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Unlinkat(dirfd int, path string, flags int) (err error) {
-@@ -1514,13 +2233,18 @@ 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(funcPC(libc_unlinkat_trampoline), uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_unlinkat_trampoline()
-+
-+//go:linkname libc_unlinkat libc_unlinkat
-+//go:cgo_import_dynamic libc_unlinkat unlinkat "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Unmount(path string, flags int) (err error) {
-@@ -1529,13 +2253,18 @@ 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(funcPC(libc_unmount_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_unmount_trampoline()
-+
-+//go:linkname libc_unmount libc_unmount
-+//go:cgo_import_dynamic libc_unmount unmount "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func write(fd int, p []byte) (n int, err error) {
-@@ -1545,7 +2274,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(funcPC(libc_write_trampoline), uintptr(fd), uintptr(_p0), uintptr(len(p)))
- n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1553,10 +2282,15 @@ func write(fd int, p []byte) (n int, err error) {
- return
- }
-
-+func libc_write_trampoline()
-+
-+//go:linkname libc_write libc_write
-+//go:cgo_import_dynamic libc_write write "/usr/lib/libSystem.B.dylib"
-+
- // 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))
-+ r0, _, e1 := syscall_syscall6(funcPC(libc_mmap_trampoline), uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), uintptr(pos))
- ret = uintptr(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1564,20 +2298,30 @@ func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (
- return
- }
-
-+func libc_mmap_trampoline()
-+
-+//go:linkname libc_mmap libc_mmap
-+//go:cgo_import_dynamic libc_mmap mmap "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_munmap_trampoline), uintptr(addr), uintptr(length), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_munmap_trampoline()
-+
-+//go:linkname libc_munmap libc_munmap
-+//go:cgo_import_dynamic libc_munmap munmap "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_read_trampoline), uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
- n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1588,7 +2332,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(funcPC(libc_write_trampoline), uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
- n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1598,8 +2342,23 @@ func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-+func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
-+ _, _, e1 := syscall_syscall6(funcPC(libc_ptrace_trampoline), uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_ptrace_trampoline()
-+
-+//go:linkname libc_ptrace libc_ptrace
-+//go:cgo_import_dynamic libc_ptrace ptrace "/usr/lib/libSystem.B.dylib"
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func gettimeofday(tp *Timeval) (sec int64, usec int32, err error) {
-- r0, r1, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
-+ r0, r1, e1 := syscall_rawSyscall(funcPC(libc_gettimeofday_trampoline), uintptr(unsafe.Pointer(tp)), 0, 0)
- sec = int64(r0)
- usec = int32(r1)
- if e1 != 0 {
-@@ -1607,3 +2366,134 @@ func gettimeofday(tp *Timeval) (sec int64, usec int32, err error) {
- }
- return
- }
-+
-+func libc_gettimeofday_trampoline()
-+
-+//go:linkname libc_gettimeofday libc_gettimeofday
-+//go:cgo_import_dynamic libc_gettimeofday gettimeofday "/usr/lib/libSystem.B.dylib"
-+
-+// 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(funcPC(libc_fstat64_trampoline), uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_fstat64_trampoline()
-+
-+//go:linkname libc_fstat64 libc_fstat64
-+//go:cgo_import_dynamic libc_fstat64 fstat64 "/usr/lib/libSystem.B.dylib"
-+
-+// 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(funcPC(libc_fstatat64_trampoline), uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_fstatat64_trampoline()
-+
-+//go:linkname libc_fstatat64 libc_fstatat64
-+//go:cgo_import_dynamic libc_fstatat64 fstatat64 "/usr/lib/libSystem.B.dylib"
-+
-+// 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(funcPC(libc_fstatfs64_trampoline), uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_fstatfs64_trampoline()
-+
-+//go:linkname libc_fstatfs64 libc_fstatfs64
-+//go:cgo_import_dynamic libc_fstatfs64 fstatfs64 "/usr/lib/libSystem.B.dylib"
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func getfsstat(buf unsafe.Pointer, size uintptr, flags int) (n int, err error) {
-+ r0, _, e1 := syscall_syscall(funcPC(libc_getfsstat64_trampoline), uintptr(buf), uintptr(size), uintptr(flags))
-+ n = int(r0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_getfsstat64_trampoline()
-+
-+//go:linkname libc_getfsstat64 libc_getfsstat64
-+//go:cgo_import_dynamic libc_getfsstat64 getfsstat64 "/usr/lib/libSystem.B.dylib"
-+
-+// 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(funcPC(libc_lstat64_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_lstat64_trampoline()
-+
-+//go:linkname libc_lstat64 libc_lstat64
-+//go:cgo_import_dynamic libc_lstat64 lstat64 "/usr/lib/libSystem.B.dylib"
-+
-+// 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(funcPC(libc_stat64_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_stat64_trampoline()
-+
-+//go:linkname libc_stat64 libc_stat64
-+//go:cgo_import_dynamic libc_stat64 stat64 "/usr/lib/libSystem.B.dylib"
-+
-+// 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(funcPC(libc_statfs64_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_statfs64_trampoline()
-+
-+//go:linkname libc_statfs64 libc_statfs64
-+//go:cgo_import_dynamic libc_statfs64 statfs64 "/usr/lib/libSystem.B.dylib"
-diff --git a/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.s b/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.s
-new file mode 100644
-index 00000000..a3fdf099
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.s
-@@ -0,0 +1,284 @@
-+// go run mkasm_darwin.go amd64
-+// Code generated by the command above; DO NOT EDIT.
-+
-+// +build go1.12
-+
-+#include "textflag.h"
-+TEXT ·libc_getgroups_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getgroups(SB)
-+TEXT ·libc_setgroups_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_setgroups(SB)
-+TEXT ·libc_wait4_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_wait4(SB)
-+TEXT ·libc_accept_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_accept(SB)
-+TEXT ·libc_bind_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_bind(SB)
-+TEXT ·libc_connect_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_connect(SB)
-+TEXT ·libc_socket_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_socket(SB)
-+TEXT ·libc_getsockopt_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getsockopt(SB)
-+TEXT ·libc_setsockopt_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_setsockopt(SB)
-+TEXT ·libc_getpeername_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getpeername(SB)
-+TEXT ·libc_getsockname_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getsockname(SB)
-+TEXT ·libc_shutdown_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_shutdown(SB)
-+TEXT ·libc_socketpair_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_socketpair(SB)
-+TEXT ·libc_recvfrom_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_recvfrom(SB)
-+TEXT ·libc_sendto_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_sendto(SB)
-+TEXT ·libc_recvmsg_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_recvmsg(SB)
-+TEXT ·libc_sendmsg_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_sendmsg(SB)
-+TEXT ·libc_kevent_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_kevent(SB)
-+TEXT ·libc_utimes_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_utimes(SB)
-+TEXT ·libc_futimes_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_futimes(SB)
-+TEXT ·libc_poll_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_poll(SB)
-+TEXT ·libc_madvise_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_madvise(SB)
-+TEXT ·libc_mlock_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_mlock(SB)
-+TEXT ·libc_mlockall_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_mlockall(SB)
-+TEXT ·libc_mprotect_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_mprotect(SB)
-+TEXT ·libc_msync_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_msync(SB)
-+TEXT ·libc_munlock_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_munlock(SB)
-+TEXT ·libc_munlockall_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_munlockall(SB)
-+TEXT ·libc_getattrlist_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getattrlist(SB)
-+TEXT ·libc_pipe_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_pipe(SB)
-+TEXT ·libc_getxattr_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getxattr(SB)
-+TEXT ·libc_fgetxattr_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_fgetxattr(SB)
-+TEXT ·libc_setxattr_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_setxattr(SB)
-+TEXT ·libc_fsetxattr_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_fsetxattr(SB)
-+TEXT ·libc_removexattr_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_removexattr(SB)
-+TEXT ·libc_fremovexattr_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_fremovexattr(SB)
-+TEXT ·libc_listxattr_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_listxattr(SB)
-+TEXT ·libc_flistxattr_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_flistxattr(SB)
-+TEXT ·libc_setattrlist_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_setattrlist(SB)
-+TEXT ·libc_fcntl_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_fcntl(SB)
-+TEXT ·libc_kill_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_kill(SB)
-+TEXT ·libc_ioctl_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_ioctl(SB)
-+TEXT ·libc_sysctl_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_sysctl(SB)
-+TEXT ·libc_sendfile_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_sendfile(SB)
-+TEXT ·libc_access_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_access(SB)
-+TEXT ·libc_adjtime_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_adjtime(SB)
-+TEXT ·libc_chdir_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_chdir(SB)
-+TEXT ·libc_chflags_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_chflags(SB)
-+TEXT ·libc_chmod_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_chmod(SB)
-+TEXT ·libc_chown_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_chown(SB)
-+TEXT ·libc_chroot_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_chroot(SB)
-+TEXT ·libc_clock_gettime_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_clock_gettime(SB)
-+TEXT ·libc_close_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_close(SB)
-+TEXT ·libc_dup_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_dup(SB)
-+TEXT ·libc_dup2_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_dup2(SB)
-+TEXT ·libc_exchangedata_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_exchangedata(SB)
-+TEXT ·libc_exit_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_exit(SB)
-+TEXT ·libc_faccessat_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_faccessat(SB)
-+TEXT ·libc_fchdir_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_fchdir(SB)
-+TEXT ·libc_fchflags_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_fchflags(SB)
-+TEXT ·libc_fchmod_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_fchmod(SB)
-+TEXT ·libc_fchmodat_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_fchmodat(SB)
-+TEXT ·libc_fchown_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_fchown(SB)
-+TEXT ·libc_fchownat_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_fchownat(SB)
-+TEXT ·libc_flock_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_flock(SB)
-+TEXT ·libc_fpathconf_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_fpathconf(SB)
-+TEXT ·libc_fsync_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_fsync(SB)
-+TEXT ·libc_ftruncate_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_ftruncate(SB)
-+TEXT ·libc_getdtablesize_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getdtablesize(SB)
-+TEXT ·libc_getegid_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getegid(SB)
-+TEXT ·libc_geteuid_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_geteuid(SB)
-+TEXT ·libc_getgid_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getgid(SB)
-+TEXT ·libc_getpgid_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getpgid(SB)
-+TEXT ·libc_getpgrp_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getpgrp(SB)
-+TEXT ·libc_getpid_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getpid(SB)
-+TEXT ·libc_getppid_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getppid(SB)
-+TEXT ·libc_getpriority_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getpriority(SB)
-+TEXT ·libc_getrlimit_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getrlimit(SB)
-+TEXT ·libc_getrusage_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getrusage(SB)
-+TEXT ·libc_getsid_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getsid(SB)
-+TEXT ·libc_getuid_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getuid(SB)
-+TEXT ·libc_issetugid_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_issetugid(SB)
-+TEXT ·libc_kqueue_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_kqueue(SB)
-+TEXT ·libc_lchown_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_lchown(SB)
-+TEXT ·libc_link_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_link(SB)
-+TEXT ·libc_linkat_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_linkat(SB)
-+TEXT ·libc_listen_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_listen(SB)
-+TEXT ·libc_mkdir_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_mkdir(SB)
-+TEXT ·libc_mkdirat_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_mkdirat(SB)
-+TEXT ·libc_mkfifo_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_mkfifo(SB)
-+TEXT ·libc_mknod_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_mknod(SB)
-+TEXT ·libc_open_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_open(SB)
-+TEXT ·libc_openat_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_openat(SB)
-+TEXT ·libc_pathconf_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_pathconf(SB)
-+TEXT ·libc_pread_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_pread(SB)
-+TEXT ·libc_pwrite_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_pwrite(SB)
-+TEXT ·libc_read_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_read(SB)
-+TEXT ·libc_readlink_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_readlink(SB)
-+TEXT ·libc_readlinkat_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_readlinkat(SB)
-+TEXT ·libc_rename_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_rename(SB)
-+TEXT ·libc_renameat_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_renameat(SB)
-+TEXT ·libc_revoke_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_revoke(SB)
-+TEXT ·libc_rmdir_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_rmdir(SB)
-+TEXT ·libc_lseek_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_lseek(SB)
-+TEXT ·libc_select_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_select(SB)
-+TEXT ·libc_setegid_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_setegid(SB)
-+TEXT ·libc_seteuid_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_seteuid(SB)
-+TEXT ·libc_setgid_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_setgid(SB)
-+TEXT ·libc_setlogin_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_setlogin(SB)
-+TEXT ·libc_setpgid_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_setpgid(SB)
-+TEXT ·libc_setpriority_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_setpriority(SB)
-+TEXT ·libc_setprivexec_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_setprivexec(SB)
-+TEXT ·libc_setregid_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_setregid(SB)
-+TEXT ·libc_setreuid_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_setreuid(SB)
-+TEXT ·libc_setrlimit_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_setrlimit(SB)
-+TEXT ·libc_setsid_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_setsid(SB)
-+TEXT ·libc_settimeofday_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_settimeofday(SB)
-+TEXT ·libc_setuid_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_setuid(SB)
-+TEXT ·libc_symlink_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_symlink(SB)
-+TEXT ·libc_symlinkat_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_symlinkat(SB)
-+TEXT ·libc_sync_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_sync(SB)
-+TEXT ·libc_truncate_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_truncate(SB)
-+TEXT ·libc_umask_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_umask(SB)
-+TEXT ·libc_undelete_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_undelete(SB)
-+TEXT ·libc_unlink_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_unlink(SB)
-+TEXT ·libc_unlinkat_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_unlinkat(SB)
-+TEXT ·libc_unmount_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_unmount(SB)
-+TEXT ·libc_write_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_write(SB)
-+TEXT ·libc_mmap_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_mmap(SB)
-+TEXT ·libc_munmap_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_munmap(SB)
-+TEXT ·libc_ptrace_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_ptrace(SB)
-+TEXT ·libc_gettimeofday_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_gettimeofday(SB)
-+TEXT ·libc_fstat64_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_fstat64(SB)
-+TEXT ·libc_fstatat64_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_fstatat64(SB)
-+TEXT ·libc_fstatfs64_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_fstatfs64(SB)
-+TEXT ·libc_getfsstat64_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getfsstat64(SB)
-+TEXT ·libc_lstat64_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_lstat64(SB)
-+TEXT ·libc_stat64_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_stat64(SB)
-+TEXT ·libc_statfs64_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_statfs64(SB)
-diff --git a/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.go b/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.1_11.go
-similarity index 85%
-copy from vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.go
-copy to vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.1_11.go
-index 7a409745..cea04e04 100644
---- a/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.go
-+++ b/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.1_11.go
-@@ -1,7 +1,7 @@
--// mksyscall.pl -tags darwin,arm syscall_bsd.go syscall_darwin.go syscall_darwin_arm.go
-+// go run mksyscall.go -l32 -tags darwin,arm,!go1.12 syscall_bsd.go syscall_darwin.go syscall_darwin_arm.1_11.go syscall_darwin_arm.go
- // Code generated by the command above; see README.md. DO NOT EDIT.
-
--// +build darwin,arm
-+// +build darwin,arm,!go1.12
-
- package unix
-
-@@ -214,22 +214,6 @@ func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, ne
-
- // 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 utimes(path string, timeval *[2]Timeval) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
-@@ -255,9 +239,9 @@ func futimes(fd int, timeval *[2]Timeval) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func fcntl(fd int, cmd int, arg int) (val int, err error) {
-- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-- val = int(r0)
-+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)
- }
-@@ -366,8 +350,8 @@ func Munlockall() (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
-- _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
-+func getattrlist(path *byte, list unsafe.Pointer, buf unsafe.Pointer, size uintptr, options int) (err error) {
-+ _, _, e1 := Syscall6(SYS_GETATTRLIST, uintptr(unsafe.Pointer(path)), uintptr(list), uintptr(buf), uintptr(size), uintptr(options), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -388,6 +372,161 @@ func pipe() (r int, w int, err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-+func getxattr(path string, attr string, dest *byte, size int, position uint32, options int) (sz int, err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ var _p1 *byte
-+ _p1, err = BytePtrFromString(attr)
-+ if err != nil {
-+ return
-+ }
-+ r0, _, e1 := Syscall6(SYS_GETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(dest)), uintptr(size), uintptr(position), uintptr(options))
-+ sz = int(r0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func fgetxattr(fd int, attr string, dest *byte, size int, position uint32, options int) (sz int, err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(attr)
-+ if err != nil {
-+ return
-+ }
-+ r0, _, e1 := Syscall6(SYS_FGETXATTR, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(dest)), uintptr(size), uintptr(position), uintptr(options))
-+ sz = int(r0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func setxattr(path string, attr string, data *byte, size int, position uint32, options int) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ var _p1 *byte
-+ _p1, err = BytePtrFromString(attr)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall6(SYS_SETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(data)), uintptr(size), uintptr(position), uintptr(options))
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func fsetxattr(fd int, attr string, data *byte, size int, position uint32, options int) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(attr)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall6(SYS_FSETXATTR, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(data)), uintptr(size), uintptr(position), uintptr(options))
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func removexattr(path string, attr string, options int) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ var _p1 *byte
-+ _p1, err = BytePtrFromString(attr)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall(SYS_REMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(options))
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func fremovexattr(fd int, attr string, options int) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(attr)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall(SYS_FREMOVEXATTR, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(options))
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func listxattr(path string, dest *byte, size int, options int) (sz int, err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ r0, _, e1 := Syscall6(SYS_LISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(dest)), uintptr(size), uintptr(options), 0, 0)
-+ sz = int(r0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func flistxattr(fd int, dest *byte, size int, options int) (sz int, err error) {
-+ r0, _, e1 := Syscall6(SYS_FLISTXATTR, uintptr(fd), uintptr(unsafe.Pointer(dest)), uintptr(size), uintptr(options), 0, 0)
-+ sz = int(r0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// 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 := Syscall6(SYS_SETATTRLIST, uintptr(unsafe.Pointer(path)), uintptr(list), uintptr(buf), uintptr(size), uintptr(options), 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func fcntl(fd int, cmd int, arg int) (val int, err error) {
-+ r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-+ val = int(r0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func kill(pid int, signum int, posix int) (err error) {
- _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), uintptr(posix))
- if e1 != 0 {
-@@ -408,6 +547,32 @@ 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 sendfile(infd int, outfd int, offset int64, len *int64, hdtr unsafe.Pointer, flags int) (err error) {
-+ _, _, e1 := Syscall9(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(offset), uintptr(offset>>32), uintptr(unsafe.Pointer(len)), uintptr(hdtr), 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 Access(path string, mode uint32) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
-@@ -672,26 +837,6 @@ 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_t) (err error) {
-- _, _, e1 := Syscall(SYS_FSTAT64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Fstatfs(fd int, stat *Statfs_t) (err error) {
-- _, _, e1 := Syscall(SYS_FSTATFS64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
- func Fsync(fd int) (err error) {
- _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
- if e1 != 0 {
-@@ -712,23 +857,6 @@ 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) {
-- var _p0 unsafe.Pointer
-- if len(buf) > 0 {
-- _p0 = unsafe.Pointer(&buf[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall6(SYS_GETDIRENTRIES64, uintptr(fd), uintptr(_p0), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0)
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
- func Getdtablesize() (size int) {
- r0, _, _ := Syscall(SYS_GETDTABLESIZE, 0, 0, 0)
- size = int(r0)
-@@ -930,21 +1058,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_t) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_LSTAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-- 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)
-@@ -1229,8 +1342,9 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
-- _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-+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)
- }
-@@ -1375,36 +1489,6 @@ 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_t) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_STAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Statfs(path string, stat *Statfs_t) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_STATFS64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-- 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)
-@@ -1607,3 +1691,94 @@ func gettimeofday(tp *Timeval) (sec int32, usec int32, err error) {
- }
- 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 getfsstat(buf unsafe.Pointer, size uintptr, flags int) (n int, err error) {
-+ r0, _, e1 := Syscall(SYS_GETFSSTAT, uintptr(buf), uintptr(size), 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 Lstat(path string, stat *Stat_t) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Stat(path string, stat *Stat_t) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-+ 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
-+}
-diff --git a/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.1_13.go b/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.1_13.go
-new file mode 100644
-index 00000000..f519ce9a
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.1_13.go
-@@ -0,0 +1,41 @@
-+// go run mksyscall.go -l32 -tags darwin,arm,go1.13 syscall_darwin.1_13.go
-+// Code generated by the command above; see README.md. DO NOT EDIT.
-+
-+// +build darwin,arm,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(funcPC(libc_closedir_trampoline), uintptr(dir), 0, 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_closedir_trampoline()
-+
-+//go:linkname libc_closedir libc_closedir
-+//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(funcPC(libc_readdir_r_trampoline), uintptr(dir), uintptr(unsafe.Pointer(entry)), uintptr(unsafe.Pointer(result)))
-+ res = Errno(r0)
-+ return
-+}
-+
-+func libc_readdir_r_trampoline()
-+
-+//go:linkname libc_readdir_r libc_readdir_r
-+//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_arm.1_13.s b/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.1_13.s
-new file mode 100644
-index 00000000..488e5570
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.1_13.s
-@@ -0,0 +1,12 @@
-+// go run mkasm_darwin.go arm
-+// Code generated by the command above; DO NOT EDIT.
-+
-+// +build go1.13
-+
-+#include "textflag.h"
-+TEXT ·libc_fdopendir_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_fdopendir(SB)
-+TEXT ·libc_closedir_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_closedir(SB)
-+TEXT ·libc_readdir_r_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_readdir_r(SB)
-diff --git a/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.go b/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.go
-index 7a409745..63103950 100644
---- a/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.go
-+++ b/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.go
-@@ -1,7 +1,7 @@
--// mksyscall.pl -tags darwin,arm syscall_bsd.go syscall_darwin.go syscall_darwin_arm.go
-+// go run mksyscall.go -l32 -tags darwin,arm,go1.12 syscall_bsd.go syscall_darwin.go syscall_darwin_arm.go
- // Code generated by the command above; see README.md. DO NOT EDIT.
-
--// +build darwin,arm
-+// +build darwin,arm,go1.12
-
- package unix
-
-@@ -15,7 +15,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(funcPC(libc_getgroups_trampoline), uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
- n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -23,20 +23,30 @@ func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
- return
- }
-
-+func libc_getgroups_trampoline()
-+
-+//go:linkname libc_getgroups libc_getgroups
-+//go:cgo_import_dynamic libc_getgroups getgroups "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_setgroups_trampoline), uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_setgroups_trampoline()
-+
-+//go:linkname libc_setgroups libc_setgroups
-+//go:cgo_import_dynamic libc_setgroups setgroups "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_wait4_trampoline), uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
- wpid = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -44,10 +54,15 @@ func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err
- return
- }
-
-+func libc_wait4_trampoline()
-+
-+//go:linkname libc_wait4 libc_wait4
-+//go:cgo_import_dynamic libc_wait4 wait4 "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_accept_trampoline), uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
- fd = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -55,30 +70,45 @@ func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
- return
- }
-
-+func libc_accept_trampoline()
-+
-+//go:linkname libc_accept libc_accept
-+//go:cgo_import_dynamic libc_accept accept "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_bind_trampoline), uintptr(s), uintptr(addr), uintptr(addrlen))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_bind_trampoline()
-+
-+//go:linkname libc_bind libc_bind
-+//go:cgo_import_dynamic libc_bind bind "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_connect_trampoline), uintptr(s), uintptr(addr), uintptr(addrlen))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_connect_trampoline()
-+
-+//go:linkname libc_connect libc_connect
-+//go:cgo_import_dynamic libc_connect connect "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_socket_trampoline), uintptr(domain), uintptr(typ), uintptr(proto))
- fd = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -86,66 +116,101 @@ func socket(domain int, typ int, proto int) (fd int, err error) {
- return
- }
-
-+func libc_socket_trampoline()
-+
-+//go:linkname libc_socket libc_socket
-+//go:cgo_import_dynamic libc_socket socket "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_getsockopt_trampoline), uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_getsockopt_trampoline()
-+
-+//go:linkname libc_getsockopt libc_getsockopt
-+//go:cgo_import_dynamic libc_getsockopt getsockopt "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_setsockopt_trampoline), uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_setsockopt_trampoline()
-+
-+//go:linkname libc_setsockopt libc_setsockopt
-+//go:cgo_import_dynamic libc_setsockopt setsockopt "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_getpeername_trampoline), uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_getpeername_trampoline()
-+
-+//go:linkname libc_getpeername libc_getpeername
-+//go:cgo_import_dynamic libc_getpeername getpeername "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_getsockname_trampoline), uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_getsockname_trampoline()
-+
-+//go:linkname libc_getsockname libc_getsockname
-+//go:cgo_import_dynamic libc_getsockname getsockname "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_shutdown_trampoline), uintptr(s), uintptr(how), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_shutdown_trampoline()
-+
-+//go:linkname libc_shutdown libc_shutdown
-+//go:cgo_import_dynamic libc_shutdown shutdown "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_socketpair_trampoline), uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_socketpair_trampoline()
-+
-+//go:linkname libc_socketpair libc_socketpair
-+//go:cgo_import_dynamic libc_socketpair socketpair "/usr/lib/libSystem.B.dylib"
-+
- // 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) {
-@@ -155,7 +220,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(funcPC(libc_recvfrom_trampoline), 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)
-@@ -163,6 +228,11 @@ func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Sockl
- return
- }
-
-+func libc_recvfrom_trampoline()
-+
-+//go:linkname libc_recvfrom libc_recvfrom
-+//go:cgo_import_dynamic libc_recvfrom recvfrom "/usr/lib/libSystem.B.dylib"
-+
- // 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) {
-@@ -172,17 +242,22 @@ 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(funcPC(libc_sendto_trampoline), uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_sendto_trampoline()
-+
-+//go:linkname libc_sendto libc_sendto
-+//go:cgo_import_dynamic libc_sendto sendto "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_recvmsg_trampoline), uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
- n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -190,10 +265,15 @@ func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
- return
- }
-
-+func libc_recvmsg_trampoline()
-+
-+//go:linkname libc_recvmsg libc_recvmsg
-+//go:cgo_import_dynamic libc_recvmsg recvmsg "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_sendmsg_trampoline), uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
- n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -201,10 +281,15 @@ func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
- return
- }
-
-+func libc_sendmsg_trampoline()
-+
-+//go:linkname libc_sendmsg libc_sendmsg
-+//go:cgo_import_dynamic libc_sendmsg sendmsg "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_kevent_trampoline), uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout)))
- n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -212,21 +297,10 @@ func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, ne
- return
- }
-
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+func libc_kevent_trampoline()
-
--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
--}
-+//go:linkname libc_kevent libc_kevent
-+//go:cgo_import_dynamic libc_kevent kevent "/usr/lib/libSystem.B.dylib"
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-@@ -236,34 +310,49 @@ 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(funcPC(libc_utimes_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_utimes_trampoline()
-+
-+//go:linkname libc_utimes libc_utimes
-+//go:cgo_import_dynamic libc_utimes utimes "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_futimes_trampoline), uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_futimes_trampoline()
-+
-+//go:linkname libc_futimes libc_futimes
-+//go:cgo_import_dynamic libc_futimes futimes "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func fcntl(fd int, cmd int, arg int) (val int, err error) {
-- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-- val = int(r0)
-+func poll(fds *PollFd, nfds int, timeout int) (n int, err error) {
-+ r0, _, e1 := syscall_syscall(funcPC(libc_poll_trampoline), uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout))
-+ n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_poll_trampoline()
-+
-+//go:linkname libc_poll libc_poll
-+//go:cgo_import_dynamic libc_poll poll "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Madvise(b []byte, behav int) (err error) {
-@@ -273,13 +362,18 @@ 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(funcPC(libc_madvise_trampoline), uintptr(_p0), uintptr(len(b)), uintptr(behav))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_madvise_trampoline()
-+
-+//go:linkname libc_madvise libc_madvise
-+//go:cgo_import_dynamic libc_madvise madvise "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Mlock(b []byte) (err error) {
-@@ -289,23 +383,33 @@ func Mlock(b []byte) (err error) {
- } else {
- _p0 = unsafe.Pointer(&_zero)
- }
-- _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
-+ _, _, e1 := syscall_syscall(funcPC(libc_mlock_trampoline), uintptr(_p0), uintptr(len(b)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_mlock_trampoline()
-+
-+//go:linkname libc_mlock libc_mlock
-+//go:cgo_import_dynamic libc_mlock mlock "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_mlockall_trampoline), uintptr(flags), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_mlockall_trampoline()
-+
-+//go:linkname libc_mlockall libc_mlockall
-+//go:cgo_import_dynamic libc_mlockall mlockall "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Mprotect(b []byte, prot int) (err error) {
-@@ -315,13 +419,18 @@ 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(funcPC(libc_mprotect_trampoline), uintptr(_p0), uintptr(len(b)), uintptr(prot))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_mprotect_trampoline()
-+
-+//go:linkname libc_mprotect libc_mprotect
-+//go:cgo_import_dynamic libc_mprotect mprotect "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Msync(b []byte, flags int) (err error) {
-@@ -331,13 +440,18 @@ 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(funcPC(libc_msync_trampoline), uintptr(_p0), uintptr(len(b)), uintptr(flags))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_msync_trampoline()
-+
-+//go:linkname libc_msync libc_msync
-+//go:cgo_import_dynamic libc_msync msync "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Munlock(b []byte) (err error) {
-@@ -347,37 +461,52 @@ func Munlock(b []byte) (err error) {
- } else {
- _p0 = unsafe.Pointer(&_zero)
- }
-- _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
-+ _, _, e1 := syscall_syscall(funcPC(libc_munlock_trampoline), uintptr(_p0), uintptr(len(b)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_munlock_trampoline()
-+
-+//go:linkname libc_munlock libc_munlock
-+//go:cgo_import_dynamic libc_munlock munlock "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_munlockall_trampoline), 0, 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_munlockall_trampoline()
-+
-+//go:linkname libc_munlockall libc_munlockall
-+//go:cgo_import_dynamic libc_munlockall munlockall "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
-- _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
-+func getattrlist(path *byte, list unsafe.Pointer, buf unsafe.Pointer, size uintptr, options int) (err error) {
-+ _, _, e1 := syscall_syscall6(funcPC(libc_getattrlist_trampoline), uintptr(unsafe.Pointer(path)), uintptr(list), uintptr(buf), uintptr(size), uintptr(options), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_getattrlist_trampoline()
-+
-+//go:linkname libc_getattrlist libc_getattrlist
-+//go:cgo_import_dynamic libc_getattrlist getattrlist "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func pipe() (r int, w int, err error) {
-- r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
-+ r0, r1, e1 := syscall_rawSyscall(funcPC(libc_pipe_trampoline), 0, 0, 0)
- r = int(r0)
- w = int(r1)
- if e1 != 0 {
-@@ -386,26 +515,282 @@ func pipe() (r int, w int, err error) {
- return
- }
-
-+func libc_pipe_trampoline()
-+
-+//go:linkname libc_pipe libc_pipe
-+//go:cgo_import_dynamic libc_pipe pipe "/usr/lib/libSystem.B.dylib"
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func getxattr(path string, attr string, dest *byte, size int, position uint32, options int) (sz int, err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ var _p1 *byte
-+ _p1, err = BytePtrFromString(attr)
-+ if err != nil {
-+ return
-+ }
-+ r0, _, e1 := syscall_syscall6(funcPC(libc_getxattr_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(dest)), uintptr(size), uintptr(position), uintptr(options))
-+ sz = int(r0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_getxattr_trampoline()
-+
-+//go:linkname libc_getxattr libc_getxattr
-+//go:cgo_import_dynamic libc_getxattr getxattr "/usr/lib/libSystem.B.dylib"
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func fgetxattr(fd int, attr string, dest *byte, size int, position uint32, options int) (sz int, err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(attr)
-+ if err != nil {
-+ return
-+ }
-+ r0, _, e1 := syscall_syscall6(funcPC(libc_fgetxattr_trampoline), uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(dest)), uintptr(size), uintptr(position), uintptr(options))
-+ sz = int(r0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_fgetxattr_trampoline()
-+
-+//go:linkname libc_fgetxattr libc_fgetxattr
-+//go:cgo_import_dynamic libc_fgetxattr fgetxattr "/usr/lib/libSystem.B.dylib"
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func setxattr(path string, attr string, data *byte, size int, position uint32, options int) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ var _p1 *byte
-+ _p1, err = BytePtrFromString(attr)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := syscall_syscall6(funcPC(libc_setxattr_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(data)), uintptr(size), uintptr(position), uintptr(options))
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_setxattr_trampoline()
-+
-+//go:linkname libc_setxattr libc_setxattr
-+//go:cgo_import_dynamic libc_setxattr setxattr "/usr/lib/libSystem.B.dylib"
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func fsetxattr(fd int, attr string, data *byte, size int, position uint32, options int) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(attr)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := syscall_syscall6(funcPC(libc_fsetxattr_trampoline), uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(data)), uintptr(size), uintptr(position), uintptr(options))
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_fsetxattr_trampoline()
-+
-+//go:linkname libc_fsetxattr libc_fsetxattr
-+//go:cgo_import_dynamic libc_fsetxattr fsetxattr "/usr/lib/libSystem.B.dylib"
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func removexattr(path string, attr string, options int) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ var _p1 *byte
-+ _p1, err = BytePtrFromString(attr)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := syscall_syscall(funcPC(libc_removexattr_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(options))
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_removexattr_trampoline()
-+
-+//go:linkname libc_removexattr libc_removexattr
-+//go:cgo_import_dynamic libc_removexattr removexattr "/usr/lib/libSystem.B.dylib"
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func fremovexattr(fd int, attr string, options int) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(attr)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := syscall_syscall(funcPC(libc_fremovexattr_trampoline), uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(options))
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_fremovexattr_trampoline()
-+
-+//go:linkname libc_fremovexattr libc_fremovexattr
-+//go:cgo_import_dynamic libc_fremovexattr fremovexattr "/usr/lib/libSystem.B.dylib"
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func listxattr(path string, dest *byte, size int, options int) (sz int, err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ r0, _, e1 := syscall_syscall6(funcPC(libc_listxattr_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(dest)), uintptr(size), uintptr(options), 0, 0)
-+ sz = int(r0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_listxattr_trampoline()
-+
-+//go:linkname libc_listxattr libc_listxattr
-+//go:cgo_import_dynamic libc_listxattr listxattr "/usr/lib/libSystem.B.dylib"
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func flistxattr(fd int, dest *byte, size int, options int) (sz int, err error) {
-+ r0, _, e1 := syscall_syscall6(funcPC(libc_flistxattr_trampoline), uintptr(fd), uintptr(unsafe.Pointer(dest)), uintptr(size), uintptr(options), 0, 0)
-+ sz = int(r0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_flistxattr_trampoline()
-+
-+//go:linkname libc_flistxattr libc_flistxattr
-+//go:cgo_import_dynamic libc_flistxattr flistxattr "/usr/lib/libSystem.B.dylib"
-+
-+// 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(funcPC(libc_setattrlist_trampoline), uintptr(unsafe.Pointer(path)), uintptr(list), uintptr(buf), uintptr(size), uintptr(options), 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_setattrlist_trampoline()
-+
-+//go:linkname libc_setattrlist libc_setattrlist
-+//go:cgo_import_dynamic libc_setattrlist setattrlist "/usr/lib/libSystem.B.dylib"
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func fcntl(fd int, cmd int, arg int) (val int, err error) {
-+ r0, _, e1 := syscall_syscall(funcPC(libc_fcntl_trampoline), uintptr(fd), uintptr(cmd), uintptr(arg))
-+ val = int(r0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_fcntl_trampoline()
-+
-+//go:linkname libc_fcntl libc_fcntl
-+//go:cgo_import_dynamic libc_fcntl fcntl "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func kill(pid int, signum int, posix int) (err error) {
-- _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), uintptr(posix))
-+ _, _, e1 := syscall_syscall(funcPC(libc_kill_trampoline), uintptr(pid), uintptr(signum), uintptr(posix))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_kill_trampoline()
-+
-+//go:linkname libc_kill libc_kill
-+//go:cgo_import_dynamic libc_kill kill "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_ioctl_trampoline), uintptr(fd), uintptr(req), uintptr(arg))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_ioctl_trampoline()
-+
-+//go:linkname libc_ioctl libc_ioctl
-+//go:cgo_import_dynamic libc_ioctl ioctl "/usr/lib/libSystem.B.dylib"
-+
-+// 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(funcPC(libc_sysctl_trampoline), 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
-+}
-+
-+func libc_sysctl_trampoline()
-+
-+//go:linkname libc_sysctl libc_sysctl
-+//go:cgo_import_dynamic libc_sysctl sysctl "/usr/lib/libSystem.B.dylib"
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func sendfile(infd int, outfd int, offset int64, len *int64, hdtr unsafe.Pointer, flags int) (err error) {
-+ _, _, e1 := syscall_syscall9(funcPC(libc_sendfile_trampoline), uintptr(infd), uintptr(outfd), uintptr(offset), uintptr(offset>>32), uintptr(unsafe.Pointer(len)), uintptr(hdtr), uintptr(flags), 0, 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_sendfile_trampoline()
-+
-+//go:linkname libc_sendfile libc_sendfile
-+//go:cgo_import_dynamic libc_sendfile sendfile "/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) {
-@@ -414,23 +799,33 @@ 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(funcPC(libc_access_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_access_trampoline()
-+
-+//go:linkname libc_access libc_access
-+//go:cgo_import_dynamic libc_access access "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_adjtime_trampoline), uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_adjtime_trampoline()
-+
-+//go:linkname libc_adjtime libc_adjtime
-+//go:cgo_import_dynamic libc_adjtime adjtime "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Chdir(path string) (err error) {
-@@ -439,13 +834,18 @@ func Chdir(path string) (err error) {
- if err != nil {
- return
- }
-- _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-+ _, _, e1 := syscall_syscall(funcPC(libc_chdir_trampoline), uintptr(unsafe.Pointer(_p0)), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_chdir_trampoline()
-+
-+//go:linkname libc_chdir libc_chdir
-+//go:cgo_import_dynamic libc_chdir chdir "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Chflags(path string, flags int) (err error) {
-@@ -454,13 +854,18 @@ 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(funcPC(libc_chflags_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_chflags_trampoline()
-+
-+//go:linkname libc_chflags libc_chflags
-+//go:cgo_import_dynamic libc_chflags chflags "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Chmod(path string, mode uint32) (err error) {
-@@ -469,13 +874,18 @@ 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(funcPC(libc_chmod_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_chmod_trampoline()
-+
-+//go:linkname libc_chmod libc_chmod
-+//go:cgo_import_dynamic libc_chmod chmod "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Chown(path string, uid int, gid int) (err error) {
-@@ -484,13 +894,18 @@ 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(funcPC(libc_chown_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_chown_trampoline()
-+
-+//go:linkname libc_chown libc_chown
-+//go:cgo_import_dynamic libc_chown chown "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Chroot(path string) (err error) {
-@@ -499,27 +914,52 @@ func Chroot(path string) (err error) {
- if err != nil {
- return
- }
-- _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-+ _, _, e1 := syscall_syscall(funcPC(libc_chroot_trampoline), uintptr(unsafe.Pointer(_p0)), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_chroot_trampoline()
-+
-+//go:linkname libc_chroot libc_chroot
-+//go:cgo_import_dynamic libc_chroot chroot "/usr/lib/libSystem.B.dylib"
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func ClockGettime(clockid int32, time *Timespec) (err error) {
-+ _, _, e1 := syscall_syscall(funcPC(libc_clock_gettime_trampoline), uintptr(clockid), uintptr(unsafe.Pointer(time)), 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_clock_gettime_trampoline()
-+
-+//go:linkname libc_clock_gettime libc_clock_gettime
-+//go:cgo_import_dynamic libc_clock_gettime clock_gettime "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_close_trampoline), uintptr(fd), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_close_trampoline()
-+
-+//go:linkname libc_close libc_close
-+//go:cgo_import_dynamic libc_close close "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_dup_trampoline), uintptr(fd), 0, 0)
- nfd = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -527,16 +967,26 @@ func Dup(fd int) (nfd int, err error) {
- return
- }
-
-+func libc_dup_trampoline()
-+
-+//go:linkname libc_dup libc_dup
-+//go:cgo_import_dynamic libc_dup dup "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_dup2_trampoline), uintptr(from), uintptr(to), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_dup2_trampoline()
-+
-+//go:linkname libc_dup2 libc_dup2
-+//go:cgo_import_dynamic libc_dup2 dup2 "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Exchangedata(path1 string, path2 string, options int) (err error) {
-@@ -550,20 +1000,30 @@ func Exchangedata(path1 string, path2 string, options int) (err error) {
- if err != nil {
- return
- }
-- _, _, e1 := Syscall(SYS_EXCHANGEDATA, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(options))
-+ _, _, e1 := syscall_syscall(funcPC(libc_exchangedata_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(options))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_exchangedata_trampoline()
-+
-+//go:linkname libc_exchangedata libc_exchangedata
-+//go:cgo_import_dynamic libc_exchangedata exchangedata "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_exit_trampoline), uintptr(code), 0, 0)
- return
- }
-
-+func libc_exit_trampoline()
-+
-+//go:linkname libc_exit libc_exit
-+//go:cgo_import_dynamic libc_exit exit "/usr/lib/libSystem.B.dylib"
-+
- // 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) {
-@@ -572,43 +1032,63 @@ 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(funcPC(libc_faccessat_trampoline), uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_faccessat_trampoline()
-+
-+//go:linkname libc_faccessat libc_faccessat
-+//go:cgo_import_dynamic libc_faccessat faccessat "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_fchdir_trampoline), uintptr(fd), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_fchdir_trampoline()
-+
-+//go:linkname libc_fchdir libc_fchdir
-+//go:cgo_import_dynamic libc_fchdir fchdir "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_fchflags_trampoline), uintptr(fd), uintptr(flags), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_fchflags_trampoline()
-+
-+//go:linkname libc_fchflags libc_fchflags
-+//go:cgo_import_dynamic libc_fchflags fchflags "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_fchmod_trampoline), uintptr(fd), uintptr(mode), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_fchmod_trampoline()
-+
-+//go:linkname libc_fchmod libc_fchmod
-+//go:cgo_import_dynamic libc_fchmod fchmod "/usr/lib/libSystem.B.dylib"
-+
- // 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) {
-@@ -617,23 +1097,33 @@ 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(funcPC(libc_fchmodat_trampoline), uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_fchmodat_trampoline()
-+
-+//go:linkname libc_fchmodat libc_fchmodat
-+//go:cgo_import_dynamic libc_fchmodat fchmodat "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_fchown_trampoline), uintptr(fd), uintptr(uid), uintptr(gid))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_fchown_trampoline()
-+
-+//go:linkname libc_fchown libc_fchown
-+//go:cgo_import_dynamic libc_fchown fchown "/usr/lib/libSystem.B.dylib"
-+
- // 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) {
-@@ -642,27 +1132,37 @@ 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(funcPC(libc_fchownat_trampoline), uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_fchownat_trampoline()
-+
-+//go:linkname libc_fchownat libc_fchownat
-+//go:cgo_import_dynamic libc_fchownat fchownat "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_flock_trampoline), uintptr(fd), uintptr(how), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_flock_trampoline()
-+
-+//go:linkname libc_flock libc_flock
-+//go:cgo_import_dynamic libc_flock flock "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_fpathconf_trampoline), uintptr(fd), uintptr(name), 0)
- val = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -670,99 +1170,97 @@ func Fpathconf(fd int, name int) (val int, err error) {
- return
- }
-
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+func libc_fpathconf_trampoline()
-
--func Fstat(fd int, stat *Stat_t) (err error) {
-- _, _, e1 := Syscall(SYS_FSTAT64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
-+//go:linkname libc_fpathconf libc_fpathconf
-+//go:cgo_import_dynamic libc_fpathconf fpathconf "/usr/lib/libSystem.B.dylib"
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Fstatfs(fd int, stat *Statfs_t) (err error) {
-- _, _, e1 := Syscall(SYS_FSTATFS64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-+func Fsync(fd int) (err error) {
-+ _, _, e1 := syscall_syscall(funcPC(libc_fsync_trampoline), 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 libc_fsync_trampoline()
-
--func Fsync(fd int) (err error) {
-- _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
-+//go:linkname libc_fsync libc_fsync
-+//go:cgo_import_dynamic libc_fsync fsync "/usr/lib/libSystem.B.dylib"
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Ftruncate(fd int, length int64) (err error) {
-- _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), uintptr(length), uintptr(length>>32))
-+ _, _, e1 := syscall_syscall(funcPC(libc_ftruncate_trampoline), uintptr(fd), uintptr(length), uintptr(length>>32))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
-- var _p0 unsafe.Pointer
-- if len(buf) > 0 {
-- _p0 = unsafe.Pointer(&buf[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall6(SYS_GETDIRENTRIES64, uintptr(fd), uintptr(_p0), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0)
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
-+func libc_ftruncate_trampoline()
-+
-+//go:linkname libc_ftruncate libc_ftruncate
-+//go:cgo_import_dynamic libc_ftruncate ftruncate "/usr/lib/libSystem.B.dylib"
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Getdtablesize() (size int) {
-- r0, _, _ := Syscall(SYS_GETDTABLESIZE, 0, 0, 0)
-+ r0, _, _ := syscall_syscall(funcPC(libc_getdtablesize_trampoline), 0, 0, 0)
- size = int(r0)
- return
- }
-
-+func libc_getdtablesize_trampoline()
-+
-+//go:linkname libc_getdtablesize libc_getdtablesize
-+//go:cgo_import_dynamic libc_getdtablesize getdtablesize "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_getegid_trampoline), 0, 0, 0)
- egid = int(r0)
- return
- }
-
-+func libc_getegid_trampoline()
-+
-+//go:linkname libc_getegid libc_getegid
-+//go:cgo_import_dynamic libc_getegid getegid "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_geteuid_trampoline), 0, 0, 0)
- uid = int(r0)
- return
- }
-
-+func libc_geteuid_trampoline()
-+
-+//go:linkname libc_geteuid libc_geteuid
-+//go:cgo_import_dynamic libc_geteuid geteuid "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_getgid_trampoline), 0, 0, 0)
- gid = int(r0)
- return
- }
-
-+func libc_getgid_trampoline()
-+
-+//go:linkname libc_getgid libc_getgid
-+//go:cgo_import_dynamic libc_getgid getgid "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_getpgid_trampoline), uintptr(pid), 0, 0)
- pgid = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -770,34 +1268,54 @@ func Getpgid(pid int) (pgid int, err error) {
- return
- }
-
-+func libc_getpgid_trampoline()
-+
-+//go:linkname libc_getpgid libc_getpgid
-+//go:cgo_import_dynamic libc_getpgid getpgid "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_getpgrp_trampoline), 0, 0, 0)
- pgrp = int(r0)
- return
- }
-
-+func libc_getpgrp_trampoline()
-+
-+//go:linkname libc_getpgrp libc_getpgrp
-+//go:cgo_import_dynamic libc_getpgrp getpgrp "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_getpid_trampoline), 0, 0, 0)
- pid = int(r0)
- return
- }
-
-+func libc_getpid_trampoline()
-+
-+//go:linkname libc_getpid libc_getpid
-+//go:cgo_import_dynamic libc_getpid getpid "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_getppid_trampoline), 0, 0, 0)
- ppid = int(r0)
- return
- }
-
-+func libc_getppid_trampoline()
-+
-+//go:linkname libc_getppid libc_getppid
-+//go:cgo_import_dynamic libc_getppid getppid "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_getpriority_trampoline), uintptr(which), uintptr(who), 0)
- prio = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -805,30 +1323,45 @@ func Getpriority(which int, who int) (prio int, err error) {
- return
- }
-
-+func libc_getpriority_trampoline()
-+
-+//go:linkname libc_getpriority libc_getpriority
-+//go:cgo_import_dynamic libc_getpriority getpriority "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_getrlimit_trampoline), uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_getrlimit_trampoline()
-+
-+//go:linkname libc_getrlimit libc_getrlimit
-+//go:cgo_import_dynamic libc_getrlimit getrlimit "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_getrusage_trampoline), uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_getrusage_trampoline()
-+
-+//go:linkname libc_getrusage libc_getrusage
-+//go:cgo_import_dynamic libc_getrusage getrusage "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_getsid_trampoline), uintptr(pid), 0, 0)
- sid = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -836,26 +1369,41 @@ func Getsid(pid int) (sid int, err error) {
- return
- }
-
-+func libc_getsid_trampoline()
-+
-+//go:linkname libc_getsid libc_getsid
-+//go:cgo_import_dynamic libc_getsid getsid "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_getuid_trampoline), 0, 0, 0)
- uid = int(r0)
- return
- }
-
-+func libc_getuid_trampoline()
-+
-+//go:linkname libc_getuid libc_getuid
-+//go:cgo_import_dynamic libc_getuid getuid "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Issetugid() (tainted bool) {
-- r0, _, _ := RawSyscall(SYS_ISSETUGID, 0, 0, 0)
-+ r0, _, _ := syscall_rawSyscall(funcPC(libc_issetugid_trampoline), 0, 0, 0)
- tainted = bool(r0 != 0)
- return
- }
-
-+func libc_issetugid_trampoline()
-+
-+//go:linkname libc_issetugid libc_issetugid
-+//go:cgo_import_dynamic libc_issetugid issetugid "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_kqueue_trampoline), 0, 0, 0)
- fd = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -863,6 +1411,11 @@ func Kqueue() (fd int, err error) {
- return
- }
-
-+func libc_kqueue_trampoline()
-+
-+//go:linkname libc_kqueue libc_kqueue
-+//go:cgo_import_dynamic libc_kqueue kqueue "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Lchown(path string, uid int, gid int) (err error) {
-@@ -871,13 +1424,18 @@ 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(funcPC(libc_lchown_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_lchown_trampoline()
-+
-+//go:linkname libc_lchown libc_lchown
-+//go:cgo_import_dynamic libc_lchown lchown "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Link(path string, link string) (err error) {
-@@ -891,13 +1449,18 @@ 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(funcPC(libc_link_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_link_trampoline()
-+
-+//go:linkname libc_link libc_link
-+//go:cgo_import_dynamic libc_link link "/usr/lib/libSystem.B.dylib"
-+
- // 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) {
-@@ -911,37 +1474,32 @@ 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(funcPC(libc_linkat_trampoline), uintptr(pathfd), uintptr(unsafe.Pointer(_p0)), uintptr(linkfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_linkat_trampoline()
-+
-+//go:linkname libc_linkat libc_linkat
-+//go:cgo_import_dynamic libc_linkat linkat "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_listen_trampoline), 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 libc_listen_trampoline()
-
--func Lstat(path string, stat *Stat_t) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_LSTAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
-+//go:linkname libc_listen libc_listen
-+//go:cgo_import_dynamic libc_listen listen "/usr/lib/libSystem.B.dylib"
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-@@ -951,13 +1509,18 @@ 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(funcPC(libc_mkdir_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_mkdir_trampoline()
-+
-+//go:linkname libc_mkdir libc_mkdir
-+//go:cgo_import_dynamic libc_mkdir mkdir "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Mkdirat(dirfd int, path string, mode uint32) (err error) {
-@@ -966,13 +1529,18 @@ 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(funcPC(libc_mkdirat_trampoline), uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_mkdirat_trampoline()
-+
-+//go:linkname libc_mkdirat libc_mkdirat
-+//go:cgo_import_dynamic libc_mkdirat mkdirat "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Mkfifo(path string, mode uint32) (err error) {
-@@ -981,13 +1549,18 @@ 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(funcPC(libc_mkfifo_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_mkfifo_trampoline()
-+
-+//go:linkname libc_mkfifo libc_mkfifo
-+//go:cgo_import_dynamic libc_mkfifo mkfifo "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Mknod(path string, mode uint32, dev int) (err error) {
-@@ -996,13 +1569,18 @@ 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(funcPC(libc_mknod_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_mknod_trampoline()
-+
-+//go:linkname libc_mknod libc_mknod
-+//go:cgo_import_dynamic libc_mknod mknod "/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) {
-@@ -1011,7 +1589,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(funcPC(libc_open_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm))
- fd = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1019,6 +1597,11 @@ func Open(path string, mode int, perm uint32) (fd int, err error) {
- return
- }
-
-+func libc_open_trampoline()
-+
-+//go:linkname libc_open libc_open
-+//go:cgo_import_dynamic libc_open open "/usr/lib/libSystem.B.dylib"
-+
- // 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) {
-@@ -1027,7 +1610,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(funcPC(libc_openat_trampoline), uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm), 0, 0)
- fd = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1035,6 +1618,11 @@ func Openat(dirfd int, path string, mode int, perm uint32) (fd int, err error) {
- return
- }
-
-+func libc_openat_trampoline()
-+
-+//go:linkname libc_openat libc_openat
-+//go:cgo_import_dynamic libc_openat openat "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Pathconf(path string, name int) (val int, err error) {
-@@ -1043,7 +1631,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(funcPC(libc_pathconf_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(name), 0)
- val = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1051,6 +1639,11 @@ func Pathconf(path string, name int) (val int, err error) {
- return
- }
-
-+func libc_pathconf_trampoline()
-+
-+//go:linkname libc_pathconf libc_pathconf
-+//go:cgo_import_dynamic libc_pathconf pathconf "/usr/lib/libSystem.B.dylib"
-+
- // 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) {
-@@ -1060,7 +1653,7 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) {
- } else {
- _p0 = unsafe.Pointer(&_zero)
- }
-- r0, _, e1 := Syscall6(SYS_PREAD, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), uintptr(offset>>32), 0)
-+ r0, _, e1 := syscall_syscall6(funcPC(libc_pread_trampoline), uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), uintptr(offset>>32), 0)
- n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1068,6 +1661,11 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) {
- return
- }
-
-+func libc_pread_trampoline()
-+
-+//go:linkname libc_pread libc_pread
-+//go:cgo_import_dynamic libc_pread pread "/usr/lib/libSystem.B.dylib"
-+
- // 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) {
-@@ -1077,7 +1675,7 @@ func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
- } else {
- _p0 = unsafe.Pointer(&_zero)
- }
-- r0, _, e1 := Syscall6(SYS_PWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), uintptr(offset>>32), 0)
-+ r0, _, e1 := syscall_syscall6(funcPC(libc_pwrite_trampoline), uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), uintptr(offset>>32), 0)
- n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1085,6 +1683,11 @@ func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
- return
- }
-
-+func libc_pwrite_trampoline()
-+
-+//go:linkname libc_pwrite libc_pwrite
-+//go:cgo_import_dynamic libc_pwrite pwrite "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func read(fd int, p []byte) (n int, err error) {
-@@ -1094,7 +1697,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(funcPC(libc_read_trampoline), uintptr(fd), uintptr(_p0), uintptr(len(p)))
- n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1102,6 +1705,11 @@ func read(fd int, p []byte) (n int, err error) {
- return
- }
-
-+func libc_read_trampoline()
-+
-+//go:linkname libc_read libc_read
-+//go:cgo_import_dynamic libc_read read "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Readlink(path string, buf []byte) (n int, err error) {
-@@ -1116,7 +1724,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(funcPC(libc_readlink_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)))
- n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1124,6 +1732,11 @@ func Readlink(path string, buf []byte) (n int, err error) {
- return
- }
-
-+func libc_readlink_trampoline()
-+
-+//go:linkname libc_readlink libc_readlink
-+//go:cgo_import_dynamic libc_readlink readlink "/usr/lib/libSystem.B.dylib"
-+
- // 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) {
-@@ -1138,7 +1751,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(funcPC(libc_readlinkat_trampoline), uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0)
- n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1146,6 +1759,11 @@ func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
- return
- }
-
-+func libc_readlinkat_trampoline()
-+
-+//go:linkname libc_readlinkat libc_readlinkat
-+//go:cgo_import_dynamic libc_readlinkat readlinkat "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Rename(from string, to string) (err error) {
-@@ -1159,13 +1777,18 @@ 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(funcPC(libc_rename_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_rename_trampoline()
-+
-+//go:linkname libc_rename libc_rename
-+//go:cgo_import_dynamic libc_rename rename "/usr/lib/libSystem.B.dylib"
-+
- // 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) {
-@@ -1179,13 +1802,18 @@ 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(funcPC(libc_renameat_trampoline), uintptr(fromfd), uintptr(unsafe.Pointer(_p0)), uintptr(tofd), uintptr(unsafe.Pointer(_p1)), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_renameat_trampoline()
-+
-+//go:linkname libc_renameat libc_renameat
-+//go:cgo_import_dynamic libc_renameat renameat "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Revoke(path string) (err error) {
-@@ -1194,13 +1822,18 @@ func Revoke(path string) (err error) {
- if err != nil {
- return
- }
-- _, _, e1 := Syscall(SYS_REVOKE, uintptr(unsafe.Pointer(_p0)), 0, 0)
-+ _, _, e1 := syscall_syscall(funcPC(libc_revoke_trampoline), uintptr(unsafe.Pointer(_p0)), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_revoke_trampoline()
-+
-+//go:linkname libc_revoke libc_revoke
-+//go:cgo_import_dynamic libc_revoke revoke "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Rmdir(path string) (err error) {
-@@ -1209,17 +1842,22 @@ func Rmdir(path string) (err error) {
- if err != nil {
- return
- }
-- _, _, e1 := Syscall(SYS_RMDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-+ _, _, e1 := syscall_syscall(funcPC(libc_rmdir_trampoline), uintptr(unsafe.Pointer(_p0)), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_rmdir_trampoline()
-+
-+//go:linkname libc_rmdir libc_rmdir
-+//go:cgo_import_dynamic libc_rmdir rmdir "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
-- r0, r1, e1 := Syscall6(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(offset>>32), uintptr(whence), 0, 0)
-+ r0, r1, e1 := syscall_syscall6(funcPC(libc_lseek_trampoline), uintptr(fd), uintptr(offset), uintptr(offset>>32), uintptr(whence), 0, 0)
- newoffset = int64(int64(r1)<<32 | int64(r0))
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1227,46 +1865,72 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
- return
- }
-
-+func libc_lseek_trampoline()
-+
-+//go:linkname libc_lseek libc_lseek
-+//go:cgo_import_dynamic libc_lseek lseek "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
-- _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-+func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
-+ r0, _, e1 := syscall_syscall6(funcPC(libc_select_trampoline), 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
- }
-
-+func libc_select_trampoline()
-+
-+//go:linkname libc_select libc_select
-+//go:cgo_import_dynamic libc_select select "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Setegid(egid int) (err error) {
-- _, _, e1 := Syscall(SYS_SETEGID, uintptr(egid), 0, 0)
-+ _, _, e1 := syscall_syscall(funcPC(libc_setegid_trampoline), uintptr(egid), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_setegid_trampoline()
-+
-+//go:linkname libc_setegid libc_setegid
-+//go:cgo_import_dynamic libc_setegid setegid "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_seteuid_trampoline), uintptr(euid), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_seteuid_trampoline()
-+
-+//go:linkname libc_seteuid libc_seteuid
-+//go:cgo_import_dynamic libc_seteuid seteuid "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_setgid_trampoline), uintptr(gid), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_setgid_trampoline()
-+
-+//go:linkname libc_setgid libc_setgid
-+//go:cgo_import_dynamic libc_setgid setgid "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Setlogin(name string) (err error) {
-@@ -1275,77 +1939,112 @@ func Setlogin(name string) (err error) {
- if err != nil {
- return
- }
-- _, _, e1 := Syscall(SYS_SETLOGIN, uintptr(unsafe.Pointer(_p0)), 0, 0)
-+ _, _, e1 := syscall_syscall(funcPC(libc_setlogin_trampoline), uintptr(unsafe.Pointer(_p0)), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_setlogin_trampoline()
-+
-+//go:linkname libc_setlogin libc_setlogin
-+//go:cgo_import_dynamic libc_setlogin setlogin "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_setpgid_trampoline), uintptr(pid), uintptr(pgid), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_setpgid_trampoline()
-+
-+//go:linkname libc_setpgid libc_setpgid
-+//go:cgo_import_dynamic libc_setpgid setpgid "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_setpriority_trampoline), uintptr(which), uintptr(who), uintptr(prio))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_setpriority_trampoline()
-+
-+//go:linkname libc_setpriority libc_setpriority
-+//go:cgo_import_dynamic libc_setpriority setpriority "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Setprivexec(flag int) (err error) {
-- _, _, e1 := Syscall(SYS_SETPRIVEXEC, uintptr(flag), 0, 0)
-+ _, _, e1 := syscall_syscall(funcPC(libc_setprivexec_trampoline), uintptr(flag), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_setprivexec_trampoline()
-+
-+//go:linkname libc_setprivexec libc_setprivexec
-+//go:cgo_import_dynamic libc_setprivexec setprivexec "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_setregid_trampoline), uintptr(rgid), uintptr(egid), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_setregid_trampoline()
-+
-+//go:linkname libc_setregid libc_setregid
-+//go:cgo_import_dynamic libc_setregid setregid "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_setreuid_trampoline), uintptr(ruid), uintptr(euid), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_setreuid_trampoline()
-+
-+//go:linkname libc_setreuid libc_setreuid
-+//go:cgo_import_dynamic libc_setreuid setreuid "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_setrlimit_trampoline), uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_setrlimit_trampoline()
-+
-+//go:linkname libc_setrlimit libc_setrlimit
-+//go:cgo_import_dynamic libc_setrlimit setrlimit "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_setsid_trampoline), 0, 0, 0)
- pid = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1353,55 +2052,40 @@ func Setsid() (pid int, err error) {
- return
- }
-
-+func libc_setsid_trampoline()
-+
-+//go:linkname libc_setsid libc_setsid
-+//go:cgo_import_dynamic libc_setsid setsid "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_settimeofday_trampoline), 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 libc_settimeofday_trampoline()
-
--func Setuid(uid int) (err error) {
-- _, _, e1 := RawSyscall(SYS_SETUID, uintptr(uid), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
-+//go:linkname libc_settimeofday libc_settimeofday
-+//go:cgo_import_dynamic libc_settimeofday settimeofday "/usr/lib/libSystem.B.dylib"
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Stat(path string, stat *Stat_t) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_STAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-+func Setuid(uid int) (err error) {
-+ _, _, e1 := syscall_rawSyscall(funcPC(libc_setuid_trampoline), 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 libc_setuid_trampoline()
-
--func Statfs(path string, stat *Statfs_t) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_STATFS64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
-+//go:linkname libc_setuid libc_setuid
-+//go:cgo_import_dynamic libc_setuid setuid "/usr/lib/libSystem.B.dylib"
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-@@ -1416,13 +2100,18 @@ 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(funcPC(libc_symlink_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_symlink_trampoline()
-+
-+//go:linkname libc_symlink libc_symlink
-+//go:cgo_import_dynamic libc_symlink symlink "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Symlinkat(oldpath string, newdirfd int, newpath string) (err error) {
-@@ -1436,23 +2125,33 @@ 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(funcPC(libc_symlinkat_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_symlinkat_trampoline()
-+
-+//go:linkname libc_symlinkat libc_symlinkat
-+//go:cgo_import_dynamic libc_symlinkat symlinkat "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_sync_trampoline), 0, 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_sync_trampoline()
-+
-+//go:linkname libc_sync libc_sync
-+//go:cgo_import_dynamic libc_sync sync "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Truncate(path string, length int64) (err error) {
-@@ -1461,21 +2160,31 @@ func Truncate(path string, length int64) (err error) {
- if err != nil {
- return
- }
-- _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), uintptr(length), uintptr(length>>32))
-+ _, _, e1 := syscall_syscall(funcPC(libc_truncate_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(length), uintptr(length>>32))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_truncate_trampoline()
-+
-+//go:linkname libc_truncate libc_truncate
-+//go:cgo_import_dynamic libc_truncate truncate "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_umask_trampoline), uintptr(newmask), 0, 0)
- oldmask = int(r0)
- return
- }
-
-+func libc_umask_trampoline()
-+
-+//go:linkname libc_umask libc_umask
-+//go:cgo_import_dynamic libc_umask umask "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Undelete(path string) (err error) {
-@@ -1484,13 +2193,18 @@ func Undelete(path string) (err error) {
- if err != nil {
- return
- }
-- _, _, e1 := Syscall(SYS_UNDELETE, uintptr(unsafe.Pointer(_p0)), 0, 0)
-+ _, _, e1 := syscall_syscall(funcPC(libc_undelete_trampoline), uintptr(unsafe.Pointer(_p0)), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_undelete_trampoline()
-+
-+//go:linkname libc_undelete libc_undelete
-+//go:cgo_import_dynamic libc_undelete undelete "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Unlink(path string) (err error) {
-@@ -1499,13 +2213,18 @@ func Unlink(path string) (err error) {
- if err != nil {
- return
- }
-- _, _, e1 := Syscall(SYS_UNLINK, uintptr(unsafe.Pointer(_p0)), 0, 0)
-+ _, _, e1 := syscall_syscall(funcPC(libc_unlink_trampoline), uintptr(unsafe.Pointer(_p0)), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_unlink_trampoline()
-+
-+//go:linkname libc_unlink libc_unlink
-+//go:cgo_import_dynamic libc_unlink unlink "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Unlinkat(dirfd int, path string, flags int) (err error) {
-@@ -1514,13 +2233,18 @@ 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(funcPC(libc_unlinkat_trampoline), uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_unlinkat_trampoline()
-+
-+//go:linkname libc_unlinkat libc_unlinkat
-+//go:cgo_import_dynamic libc_unlinkat unlinkat "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Unmount(path string, flags int) (err error) {
-@@ -1529,13 +2253,18 @@ 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(funcPC(libc_unmount_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_unmount_trampoline()
-+
-+//go:linkname libc_unmount libc_unmount
-+//go:cgo_import_dynamic libc_unmount unmount "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func write(fd int, p []byte) (n int, err error) {
-@@ -1545,7 +2274,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(funcPC(libc_write_trampoline), uintptr(fd), uintptr(_p0), uintptr(len(p)))
- n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1553,10 +2282,15 @@ func write(fd int, p []byte) (n int, err error) {
- return
- }
-
-+func libc_write_trampoline()
-+
-+//go:linkname libc_write libc_write
-+//go:cgo_import_dynamic libc_write write "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) {
-- r0, _, e1 := Syscall9(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), uintptr(pos), uintptr(pos>>32), 0, 0)
-+ r0, _, e1 := syscall_syscall9(funcPC(libc_mmap_trampoline), 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)
-@@ -1564,20 +2298,30 @@ func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (
- return
- }
-
-+func libc_mmap_trampoline()
-+
-+//go:linkname libc_mmap libc_mmap
-+//go:cgo_import_dynamic libc_mmap mmap "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_munmap_trampoline), uintptr(addr), uintptr(length), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_munmap_trampoline()
-+
-+//go:linkname libc_munmap libc_munmap
-+//go:cgo_import_dynamic libc_munmap munmap "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_read_trampoline), uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
- n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1588,7 +2332,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(funcPC(libc_write_trampoline), uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
- n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1599,7 +2343,7 @@ func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func gettimeofday(tp *Timeval) (sec int32, usec int32, err error) {
-- r0, r1, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
-+ r0, r1, e1 := syscall_rawSyscall(funcPC(libc_gettimeofday_trampoline), uintptr(unsafe.Pointer(tp)), 0, 0)
- sec = int32(r0)
- usec = int32(r1)
- if e1 != 0 {
-@@ -1607,3 +2351,134 @@ func gettimeofday(tp *Timeval) (sec int32, usec int32, err error) {
- }
- return
- }
-+
-+func libc_gettimeofday_trampoline()
-+
-+//go:linkname libc_gettimeofday libc_gettimeofday
-+//go:cgo_import_dynamic libc_gettimeofday gettimeofday "/usr/lib/libSystem.B.dylib"
-+
-+// 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(funcPC(libc_fstat_trampoline), uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_fstat_trampoline()
-+
-+//go:linkname libc_fstat libc_fstat
-+//go:cgo_import_dynamic libc_fstat fstat "/usr/lib/libSystem.B.dylib"
-+
-+// 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(funcPC(libc_fstatat_trampoline), uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_fstatat_trampoline()
-+
-+//go:linkname libc_fstatat libc_fstatat
-+//go:cgo_import_dynamic libc_fstatat fstatat "/usr/lib/libSystem.B.dylib"
-+
-+// 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(funcPC(libc_fstatfs_trampoline), uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_fstatfs_trampoline()
-+
-+//go:linkname libc_fstatfs libc_fstatfs
-+//go:cgo_import_dynamic libc_fstatfs fstatfs "/usr/lib/libSystem.B.dylib"
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func getfsstat(buf unsafe.Pointer, size uintptr, flags int) (n int, err error) {
-+ r0, _, e1 := syscall_syscall(funcPC(libc_getfsstat_trampoline), uintptr(buf), uintptr(size), uintptr(flags))
-+ n = int(r0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_getfsstat_trampoline()
-+
-+//go:linkname libc_getfsstat libc_getfsstat
-+//go:cgo_import_dynamic libc_getfsstat getfsstat "/usr/lib/libSystem.B.dylib"
-+
-+// 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(funcPC(libc_lstat_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_lstat_trampoline()
-+
-+//go:linkname libc_lstat libc_lstat
-+//go:cgo_import_dynamic libc_lstat lstat "/usr/lib/libSystem.B.dylib"
-+
-+// 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(funcPC(libc_stat_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_stat_trampoline()
-+
-+//go:linkname libc_stat libc_stat
-+//go:cgo_import_dynamic libc_stat stat "/usr/lib/libSystem.B.dylib"
-+
-+// 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(funcPC(libc_statfs_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_statfs_trampoline()
-+
-+//go:linkname libc_statfs libc_statfs
-+//go:cgo_import_dynamic libc_statfs statfs "/usr/lib/libSystem.B.dylib"
-diff --git a/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.s b/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.s
-new file mode 100644
-index 00000000..b67f518f
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.s
-@@ -0,0 +1,282 @@
-+// go run mkasm_darwin.go arm
-+// Code generated by the command above; DO NOT EDIT.
-+
-+// +build go1.12
-+
-+#include "textflag.h"
-+TEXT ·libc_getgroups_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getgroups(SB)
-+TEXT ·libc_setgroups_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_setgroups(SB)
-+TEXT ·libc_wait4_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_wait4(SB)
-+TEXT ·libc_accept_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_accept(SB)
-+TEXT ·libc_bind_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_bind(SB)
-+TEXT ·libc_connect_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_connect(SB)
-+TEXT ·libc_socket_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_socket(SB)
-+TEXT ·libc_getsockopt_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getsockopt(SB)
-+TEXT ·libc_setsockopt_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_setsockopt(SB)
-+TEXT ·libc_getpeername_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getpeername(SB)
-+TEXT ·libc_getsockname_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getsockname(SB)
-+TEXT ·libc_shutdown_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_shutdown(SB)
-+TEXT ·libc_socketpair_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_socketpair(SB)
-+TEXT ·libc_recvfrom_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_recvfrom(SB)
-+TEXT ·libc_sendto_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_sendto(SB)
-+TEXT ·libc_recvmsg_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_recvmsg(SB)
-+TEXT ·libc_sendmsg_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_sendmsg(SB)
-+TEXT ·libc_kevent_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_kevent(SB)
-+TEXT ·libc_utimes_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_utimes(SB)
-+TEXT ·libc_futimes_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_futimes(SB)
-+TEXT ·libc_poll_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_poll(SB)
-+TEXT ·libc_madvise_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_madvise(SB)
-+TEXT ·libc_mlock_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_mlock(SB)
-+TEXT ·libc_mlockall_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_mlockall(SB)
-+TEXT ·libc_mprotect_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_mprotect(SB)
-+TEXT ·libc_msync_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_msync(SB)
-+TEXT ·libc_munlock_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_munlock(SB)
-+TEXT ·libc_munlockall_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_munlockall(SB)
-+TEXT ·libc_getattrlist_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getattrlist(SB)
-+TEXT ·libc_pipe_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_pipe(SB)
-+TEXT ·libc_getxattr_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getxattr(SB)
-+TEXT ·libc_fgetxattr_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_fgetxattr(SB)
-+TEXT ·libc_setxattr_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_setxattr(SB)
-+TEXT ·libc_fsetxattr_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_fsetxattr(SB)
-+TEXT ·libc_removexattr_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_removexattr(SB)
-+TEXT ·libc_fremovexattr_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_fremovexattr(SB)
-+TEXT ·libc_listxattr_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_listxattr(SB)
-+TEXT ·libc_flistxattr_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_flistxattr(SB)
-+TEXT ·libc_setattrlist_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_setattrlist(SB)
-+TEXT ·libc_fcntl_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_fcntl(SB)
-+TEXT ·libc_kill_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_kill(SB)
-+TEXT ·libc_ioctl_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_ioctl(SB)
-+TEXT ·libc_sysctl_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_sysctl(SB)
-+TEXT ·libc_sendfile_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_sendfile(SB)
-+TEXT ·libc_access_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_access(SB)
-+TEXT ·libc_adjtime_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_adjtime(SB)
-+TEXT ·libc_chdir_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_chdir(SB)
-+TEXT ·libc_chflags_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_chflags(SB)
-+TEXT ·libc_chmod_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_chmod(SB)
-+TEXT ·libc_chown_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_chown(SB)
-+TEXT ·libc_chroot_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_chroot(SB)
-+TEXT ·libc_clock_gettime_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_clock_gettime(SB)
-+TEXT ·libc_close_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_close(SB)
-+TEXT ·libc_dup_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_dup(SB)
-+TEXT ·libc_dup2_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_dup2(SB)
-+TEXT ·libc_exchangedata_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_exchangedata(SB)
-+TEXT ·libc_exit_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_exit(SB)
-+TEXT ·libc_faccessat_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_faccessat(SB)
-+TEXT ·libc_fchdir_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_fchdir(SB)
-+TEXT ·libc_fchflags_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_fchflags(SB)
-+TEXT ·libc_fchmod_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_fchmod(SB)
-+TEXT ·libc_fchmodat_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_fchmodat(SB)
-+TEXT ·libc_fchown_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_fchown(SB)
-+TEXT ·libc_fchownat_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_fchownat(SB)
-+TEXT ·libc_flock_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_flock(SB)
-+TEXT ·libc_fpathconf_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_fpathconf(SB)
-+TEXT ·libc_fsync_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_fsync(SB)
-+TEXT ·libc_ftruncate_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_ftruncate(SB)
-+TEXT ·libc_getdtablesize_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getdtablesize(SB)
-+TEXT ·libc_getegid_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getegid(SB)
-+TEXT ·libc_geteuid_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_geteuid(SB)
-+TEXT ·libc_getgid_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getgid(SB)
-+TEXT ·libc_getpgid_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getpgid(SB)
-+TEXT ·libc_getpgrp_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getpgrp(SB)
-+TEXT ·libc_getpid_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getpid(SB)
-+TEXT ·libc_getppid_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getppid(SB)
-+TEXT ·libc_getpriority_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getpriority(SB)
-+TEXT ·libc_getrlimit_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getrlimit(SB)
-+TEXT ·libc_getrusage_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getrusage(SB)
-+TEXT ·libc_getsid_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getsid(SB)
-+TEXT ·libc_getuid_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getuid(SB)
-+TEXT ·libc_issetugid_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_issetugid(SB)
-+TEXT ·libc_kqueue_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_kqueue(SB)
-+TEXT ·libc_lchown_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_lchown(SB)
-+TEXT ·libc_link_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_link(SB)
-+TEXT ·libc_linkat_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_linkat(SB)
-+TEXT ·libc_listen_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_listen(SB)
-+TEXT ·libc_mkdir_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_mkdir(SB)
-+TEXT ·libc_mkdirat_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_mkdirat(SB)
-+TEXT ·libc_mkfifo_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_mkfifo(SB)
-+TEXT ·libc_mknod_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_mknod(SB)
-+TEXT ·libc_open_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_open(SB)
-+TEXT ·libc_openat_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_openat(SB)
-+TEXT ·libc_pathconf_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_pathconf(SB)
-+TEXT ·libc_pread_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_pread(SB)
-+TEXT ·libc_pwrite_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_pwrite(SB)
-+TEXT ·libc_read_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_read(SB)
-+TEXT ·libc_readlink_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_readlink(SB)
-+TEXT ·libc_readlinkat_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_readlinkat(SB)
-+TEXT ·libc_rename_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_rename(SB)
-+TEXT ·libc_renameat_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_renameat(SB)
-+TEXT ·libc_revoke_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_revoke(SB)
-+TEXT ·libc_rmdir_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_rmdir(SB)
-+TEXT ·libc_lseek_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_lseek(SB)
-+TEXT ·libc_select_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_select(SB)
-+TEXT ·libc_setegid_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_setegid(SB)
-+TEXT ·libc_seteuid_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_seteuid(SB)
-+TEXT ·libc_setgid_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_setgid(SB)
-+TEXT ·libc_setlogin_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_setlogin(SB)
-+TEXT ·libc_setpgid_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_setpgid(SB)
-+TEXT ·libc_setpriority_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_setpriority(SB)
-+TEXT ·libc_setprivexec_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_setprivexec(SB)
-+TEXT ·libc_setregid_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_setregid(SB)
-+TEXT ·libc_setreuid_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_setreuid(SB)
-+TEXT ·libc_setrlimit_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_setrlimit(SB)
-+TEXT ·libc_setsid_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_setsid(SB)
-+TEXT ·libc_settimeofday_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_settimeofday(SB)
-+TEXT ·libc_setuid_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_setuid(SB)
-+TEXT ·libc_symlink_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_symlink(SB)
-+TEXT ·libc_symlinkat_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_symlinkat(SB)
-+TEXT ·libc_sync_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_sync(SB)
-+TEXT ·libc_truncate_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_truncate(SB)
-+TEXT ·libc_umask_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_umask(SB)
-+TEXT ·libc_undelete_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_undelete(SB)
-+TEXT ·libc_unlink_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_unlink(SB)
-+TEXT ·libc_unlinkat_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_unlinkat(SB)
-+TEXT ·libc_unmount_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_unmount(SB)
-+TEXT ·libc_write_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_write(SB)
-+TEXT ·libc_mmap_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_mmap(SB)
-+TEXT ·libc_munmap_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_munmap(SB)
-+TEXT ·libc_gettimeofday_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_gettimeofday(SB)
-+TEXT ·libc_fstat_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_fstat(SB)
-+TEXT ·libc_fstatat_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_fstatat(SB)
-+TEXT ·libc_fstatfs_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_fstatfs(SB)
-+TEXT ·libc_getfsstat_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getfsstat(SB)
-+TEXT ·libc_lstat_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_lstat(SB)
-+TEXT ·libc_stat_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_stat(SB)
-+TEXT ·libc_statfs_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_statfs(SB)
-diff --git a/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go b/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.1_11.go
-similarity index 84%
-copy from vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go
-copy to vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.1_11.go
-index 07c6ebc9..8c3bb3a2 100644
---- a/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go
-+++ b/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.1_11.go
-@@ -1,7 +1,7 @@
--// mksyscall.pl -tags darwin,arm64 syscall_bsd.go syscall_darwin.go syscall_darwin_arm64.go
-+// go run mksyscall.go -tags darwin,arm64,!go1.12 syscall_bsd.go syscall_darwin.go syscall_darwin_arm64.1_11.go syscall_darwin_arm64.go
- // Code generated by the command above; see README.md. DO NOT EDIT.
-
--// +build darwin,arm64
-+// +build darwin,arm64,!go1.12
-
- package unix
-
-@@ -214,22 +214,6 @@ func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, ne
-
- // 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 utimes(path string, timeval *[2]Timeval) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
-@@ -255,9 +239,9 @@ func futimes(fd int, timeval *[2]Timeval) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func fcntl(fd int, cmd int, arg int) (val int, err error) {
-- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-- val = int(r0)
-+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)
- }
-@@ -366,8 +350,8 @@ func Munlockall() (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
-- _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
-+func getattrlist(path *byte, list unsafe.Pointer, buf unsafe.Pointer, size uintptr, options int) (err error) {
-+ _, _, e1 := Syscall6(SYS_GETATTRLIST, uintptr(unsafe.Pointer(path)), uintptr(list), uintptr(buf), uintptr(size), uintptr(options), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -388,6 +372,161 @@ func pipe() (r int, w int, err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-+func getxattr(path string, attr string, dest *byte, size int, position uint32, options int) (sz int, err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ var _p1 *byte
-+ _p1, err = BytePtrFromString(attr)
-+ if err != nil {
-+ return
-+ }
-+ r0, _, e1 := Syscall6(SYS_GETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(dest)), uintptr(size), uintptr(position), uintptr(options))
-+ sz = int(r0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func fgetxattr(fd int, attr string, dest *byte, size int, position uint32, options int) (sz int, err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(attr)
-+ if err != nil {
-+ return
-+ }
-+ r0, _, e1 := Syscall6(SYS_FGETXATTR, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(dest)), uintptr(size), uintptr(position), uintptr(options))
-+ sz = int(r0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func setxattr(path string, attr string, data *byte, size int, position uint32, options int) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ var _p1 *byte
-+ _p1, err = BytePtrFromString(attr)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall6(SYS_SETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(data)), uintptr(size), uintptr(position), uintptr(options))
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func fsetxattr(fd int, attr string, data *byte, size int, position uint32, options int) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(attr)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall6(SYS_FSETXATTR, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(data)), uintptr(size), uintptr(position), uintptr(options))
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func removexattr(path string, attr string, options int) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ var _p1 *byte
-+ _p1, err = BytePtrFromString(attr)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall(SYS_REMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(options))
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func fremovexattr(fd int, attr string, options int) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(attr)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall(SYS_FREMOVEXATTR, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(options))
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func listxattr(path string, dest *byte, size int, options int) (sz int, err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ r0, _, e1 := Syscall6(SYS_LISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(dest)), uintptr(size), uintptr(options), 0, 0)
-+ sz = int(r0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func flistxattr(fd int, dest *byte, size int, options int) (sz int, err error) {
-+ r0, _, e1 := Syscall6(SYS_FLISTXATTR, uintptr(fd), uintptr(unsafe.Pointer(dest)), uintptr(size), uintptr(options), 0, 0)
-+ sz = int(r0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// 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 := Syscall6(SYS_SETATTRLIST, uintptr(unsafe.Pointer(path)), uintptr(list), uintptr(buf), uintptr(size), uintptr(options), 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func fcntl(fd int, cmd int, arg int) (val int, err error) {
-+ r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-+ val = int(r0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func kill(pid int, signum int, posix int) (err error) {
- _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), uintptr(posix))
- if e1 != 0 {
-@@ -408,6 +547,32 @@ 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 sendfile(infd int, outfd int, offset int64, len *int64, hdtr unsafe.Pointer, flags int) (err error) {
-+ _, _, e1 := Syscall6(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(offset), uintptr(unsafe.Pointer(len)), uintptr(hdtr), uintptr(flags))
-+ 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)
-@@ -672,26 +837,6 @@ 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_t) (err error) {
-- _, _, e1 := Syscall(SYS_FSTAT64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Fstatfs(fd int, stat *Statfs_t) (err error) {
-- _, _, e1 := Syscall(SYS_FSTATFS64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
- func Fsync(fd int) (err error) {
- _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
- if e1 != 0 {
-@@ -712,23 +857,6 @@ 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) {
-- var _p0 unsafe.Pointer
-- if len(buf) > 0 {
-- _p0 = unsafe.Pointer(&buf[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall6(SYS_GETDIRENTRIES64, uintptr(fd), uintptr(_p0), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0)
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
- func Getdtablesize() (size int) {
- r0, _, _ := Syscall(SYS_GETDTABLESIZE, 0, 0, 0)
- size = int(r0)
-@@ -930,21 +1058,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_t) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_LSTAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-- 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)
-@@ -1229,8 +1342,9 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
-- _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-+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)
- }
-@@ -1375,36 +1489,6 @@ 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_t) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_STAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Statfs(path string, stat *Statfs_t) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_STATFS64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-- 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)
-@@ -1607,3 +1691,94 @@ func gettimeofday(tp *Timeval) (sec int64, usec int32, err error) {
- }
- 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 getfsstat(buf unsafe.Pointer, size uintptr, flags int) (n int, err error) {
-+ r0, _, e1 := Syscall(SYS_GETFSSTAT, uintptr(buf), uintptr(size), 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 Lstat(path string, stat *Stat_t) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Stat(path string, stat *Stat_t) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-+ 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
-+}
-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
-new file mode 100644
-index 00000000..d64e6c80
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.1_13.go
-@@ -0,0 +1,41 @@
-+// 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.
-+
-+// +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(funcPC(libc_closedir_trampoline), uintptr(dir), 0, 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_closedir_trampoline()
-+
-+//go:linkname libc_closedir libc_closedir
-+//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(funcPC(libc_readdir_r_trampoline), uintptr(dir), uintptr(unsafe.Pointer(entry)), uintptr(unsafe.Pointer(result)))
-+ res = Errno(r0)
-+ return
-+}
-+
-+func libc_readdir_r_trampoline()
-+
-+//go:linkname libc_readdir_r libc_readdir_r
-+//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
-new file mode 100644
-index 00000000..b29dabb0
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.1_13.s
-@@ -0,0 +1,12 @@
-+// go run mkasm_darwin.go arm64
-+// Code generated by the command above; DO NOT EDIT.
-+
-+// +build go1.13
-+
-+#include "textflag.h"
-+TEXT ·libc_fdopendir_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_fdopendir(SB)
-+TEXT ·libc_closedir_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_closedir(SB)
-+TEXT ·libc_readdir_r_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_readdir_r(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 07c6ebc9..a8709f72 100644
---- a/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go
-+++ b/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go
-@@ -1,7 +1,7 @@
--// mksyscall.pl -tags darwin,arm64 syscall_bsd.go syscall_darwin.go syscall_darwin_arm64.go
-+// go run mksyscall.go -tags darwin,arm64,go1.12 syscall_bsd.go syscall_darwin.go syscall_darwin_arm64.go
- // Code generated by the command above; see README.md. DO NOT EDIT.
-
--// +build darwin,arm64
-+// +build darwin,arm64,go1.12
-
- package unix
-
-@@ -15,7 +15,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(funcPC(libc_getgroups_trampoline), uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
- n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -23,20 +23,30 @@ func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
- return
- }
-
-+func libc_getgroups_trampoline()
-+
-+//go:linkname libc_getgroups libc_getgroups
-+//go:cgo_import_dynamic libc_getgroups getgroups "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_setgroups_trampoline), uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_setgroups_trampoline()
-+
-+//go:linkname libc_setgroups libc_setgroups
-+//go:cgo_import_dynamic libc_setgroups setgroups "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_wait4_trampoline), uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
- wpid = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -44,10 +54,15 @@ func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err
- return
- }
-
-+func libc_wait4_trampoline()
-+
-+//go:linkname libc_wait4 libc_wait4
-+//go:cgo_import_dynamic libc_wait4 wait4 "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_accept_trampoline), uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
- fd = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -55,30 +70,45 @@ func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
- return
- }
-
-+func libc_accept_trampoline()
-+
-+//go:linkname libc_accept libc_accept
-+//go:cgo_import_dynamic libc_accept accept "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_bind_trampoline), uintptr(s), uintptr(addr), uintptr(addrlen))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_bind_trampoline()
-+
-+//go:linkname libc_bind libc_bind
-+//go:cgo_import_dynamic libc_bind bind "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_connect_trampoline), uintptr(s), uintptr(addr), uintptr(addrlen))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_connect_trampoline()
-+
-+//go:linkname libc_connect libc_connect
-+//go:cgo_import_dynamic libc_connect connect "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_socket_trampoline), uintptr(domain), uintptr(typ), uintptr(proto))
- fd = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -86,66 +116,101 @@ func socket(domain int, typ int, proto int) (fd int, err error) {
- return
- }
-
-+func libc_socket_trampoline()
-+
-+//go:linkname libc_socket libc_socket
-+//go:cgo_import_dynamic libc_socket socket "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_getsockopt_trampoline), uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_getsockopt_trampoline()
-+
-+//go:linkname libc_getsockopt libc_getsockopt
-+//go:cgo_import_dynamic libc_getsockopt getsockopt "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_setsockopt_trampoline), uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_setsockopt_trampoline()
-+
-+//go:linkname libc_setsockopt libc_setsockopt
-+//go:cgo_import_dynamic libc_setsockopt setsockopt "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_getpeername_trampoline), uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_getpeername_trampoline()
-+
-+//go:linkname libc_getpeername libc_getpeername
-+//go:cgo_import_dynamic libc_getpeername getpeername "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_getsockname_trampoline), uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_getsockname_trampoline()
-+
-+//go:linkname libc_getsockname libc_getsockname
-+//go:cgo_import_dynamic libc_getsockname getsockname "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_shutdown_trampoline), uintptr(s), uintptr(how), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_shutdown_trampoline()
-+
-+//go:linkname libc_shutdown libc_shutdown
-+//go:cgo_import_dynamic libc_shutdown shutdown "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_socketpair_trampoline), uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_socketpair_trampoline()
-+
-+//go:linkname libc_socketpair libc_socketpair
-+//go:cgo_import_dynamic libc_socketpair socketpair "/usr/lib/libSystem.B.dylib"
-+
- // 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) {
-@@ -155,7 +220,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(funcPC(libc_recvfrom_trampoline), 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)
-@@ -163,6 +228,11 @@ func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Sockl
- return
- }
-
-+func libc_recvfrom_trampoline()
-+
-+//go:linkname libc_recvfrom libc_recvfrom
-+//go:cgo_import_dynamic libc_recvfrom recvfrom "/usr/lib/libSystem.B.dylib"
-+
- // 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) {
-@@ -172,17 +242,22 @@ 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(funcPC(libc_sendto_trampoline), uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_sendto_trampoline()
-+
-+//go:linkname libc_sendto libc_sendto
-+//go:cgo_import_dynamic libc_sendto sendto "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_recvmsg_trampoline), uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
- n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -190,10 +265,15 @@ func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
- return
- }
-
-+func libc_recvmsg_trampoline()
-+
-+//go:linkname libc_recvmsg libc_recvmsg
-+//go:cgo_import_dynamic libc_recvmsg recvmsg "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_sendmsg_trampoline), uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
- n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -201,10 +281,15 @@ func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
- return
- }
-
-+func libc_sendmsg_trampoline()
-+
-+//go:linkname libc_sendmsg libc_sendmsg
-+//go:cgo_import_dynamic libc_sendmsg sendmsg "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_kevent_trampoline), uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout)))
- n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -212,21 +297,10 @@ func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, ne
- return
- }
-
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+func libc_kevent_trampoline()
-
--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
--}
-+//go:linkname libc_kevent libc_kevent
-+//go:cgo_import_dynamic libc_kevent kevent "/usr/lib/libSystem.B.dylib"
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-@@ -236,34 +310,49 @@ 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(funcPC(libc_utimes_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_utimes_trampoline()
-+
-+//go:linkname libc_utimes libc_utimes
-+//go:cgo_import_dynamic libc_utimes utimes "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_futimes_trampoline), uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_futimes_trampoline()
-+
-+//go:linkname libc_futimes libc_futimes
-+//go:cgo_import_dynamic libc_futimes futimes "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func fcntl(fd int, cmd int, arg int) (val int, err error) {
-- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-- val = int(r0)
-+func poll(fds *PollFd, nfds int, timeout int) (n int, err error) {
-+ r0, _, e1 := syscall_syscall(funcPC(libc_poll_trampoline), uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout))
-+ n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_poll_trampoline()
-+
-+//go:linkname libc_poll libc_poll
-+//go:cgo_import_dynamic libc_poll poll "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Madvise(b []byte, behav int) (err error) {
-@@ -273,13 +362,18 @@ 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(funcPC(libc_madvise_trampoline), uintptr(_p0), uintptr(len(b)), uintptr(behav))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_madvise_trampoline()
-+
-+//go:linkname libc_madvise libc_madvise
-+//go:cgo_import_dynamic libc_madvise madvise "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Mlock(b []byte) (err error) {
-@@ -289,23 +383,33 @@ func Mlock(b []byte) (err error) {
- } else {
- _p0 = unsafe.Pointer(&_zero)
- }
-- _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
-+ _, _, e1 := syscall_syscall(funcPC(libc_mlock_trampoline), uintptr(_p0), uintptr(len(b)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_mlock_trampoline()
-+
-+//go:linkname libc_mlock libc_mlock
-+//go:cgo_import_dynamic libc_mlock mlock "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_mlockall_trampoline), uintptr(flags), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_mlockall_trampoline()
-+
-+//go:linkname libc_mlockall libc_mlockall
-+//go:cgo_import_dynamic libc_mlockall mlockall "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Mprotect(b []byte, prot int) (err error) {
-@@ -315,13 +419,18 @@ 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(funcPC(libc_mprotect_trampoline), uintptr(_p0), uintptr(len(b)), uintptr(prot))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_mprotect_trampoline()
-+
-+//go:linkname libc_mprotect libc_mprotect
-+//go:cgo_import_dynamic libc_mprotect mprotect "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Msync(b []byte, flags int) (err error) {
-@@ -331,13 +440,18 @@ 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(funcPC(libc_msync_trampoline), uintptr(_p0), uintptr(len(b)), uintptr(flags))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_msync_trampoline()
-+
-+//go:linkname libc_msync libc_msync
-+//go:cgo_import_dynamic libc_msync msync "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Munlock(b []byte) (err error) {
-@@ -347,37 +461,52 @@ func Munlock(b []byte) (err error) {
- } else {
- _p0 = unsafe.Pointer(&_zero)
- }
-- _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
-+ _, _, e1 := syscall_syscall(funcPC(libc_munlock_trampoline), uintptr(_p0), uintptr(len(b)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_munlock_trampoline()
-+
-+//go:linkname libc_munlock libc_munlock
-+//go:cgo_import_dynamic libc_munlock munlock "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_munlockall_trampoline), 0, 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_munlockall_trampoline()
-+
-+//go:linkname libc_munlockall libc_munlockall
-+//go:cgo_import_dynamic libc_munlockall munlockall "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
-- _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
-+func getattrlist(path *byte, list unsafe.Pointer, buf unsafe.Pointer, size uintptr, options int) (err error) {
-+ _, _, e1 := syscall_syscall6(funcPC(libc_getattrlist_trampoline), uintptr(unsafe.Pointer(path)), uintptr(list), uintptr(buf), uintptr(size), uintptr(options), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_getattrlist_trampoline()
-+
-+//go:linkname libc_getattrlist libc_getattrlist
-+//go:cgo_import_dynamic libc_getattrlist getattrlist "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func pipe() (r int, w int, err error) {
-- r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
-+ r0, r1, e1 := syscall_rawSyscall(funcPC(libc_pipe_trampoline), 0, 0, 0)
- r = int(r0)
- w = int(r1)
- if e1 != 0 {
-@@ -386,26 +515,282 @@ func pipe() (r int, w int, err error) {
- return
- }
-
-+func libc_pipe_trampoline()
-+
-+//go:linkname libc_pipe libc_pipe
-+//go:cgo_import_dynamic libc_pipe pipe "/usr/lib/libSystem.B.dylib"
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func getxattr(path string, attr string, dest *byte, size int, position uint32, options int) (sz int, err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ var _p1 *byte
-+ _p1, err = BytePtrFromString(attr)
-+ if err != nil {
-+ return
-+ }
-+ r0, _, e1 := syscall_syscall6(funcPC(libc_getxattr_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(dest)), uintptr(size), uintptr(position), uintptr(options))
-+ sz = int(r0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_getxattr_trampoline()
-+
-+//go:linkname libc_getxattr libc_getxattr
-+//go:cgo_import_dynamic libc_getxattr getxattr "/usr/lib/libSystem.B.dylib"
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func fgetxattr(fd int, attr string, dest *byte, size int, position uint32, options int) (sz int, err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(attr)
-+ if err != nil {
-+ return
-+ }
-+ r0, _, e1 := syscall_syscall6(funcPC(libc_fgetxattr_trampoline), uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(dest)), uintptr(size), uintptr(position), uintptr(options))
-+ sz = int(r0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_fgetxattr_trampoline()
-+
-+//go:linkname libc_fgetxattr libc_fgetxattr
-+//go:cgo_import_dynamic libc_fgetxattr fgetxattr "/usr/lib/libSystem.B.dylib"
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func setxattr(path string, attr string, data *byte, size int, position uint32, options int) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ var _p1 *byte
-+ _p1, err = BytePtrFromString(attr)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := syscall_syscall6(funcPC(libc_setxattr_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(data)), uintptr(size), uintptr(position), uintptr(options))
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_setxattr_trampoline()
-+
-+//go:linkname libc_setxattr libc_setxattr
-+//go:cgo_import_dynamic libc_setxattr setxattr "/usr/lib/libSystem.B.dylib"
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func fsetxattr(fd int, attr string, data *byte, size int, position uint32, options int) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(attr)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := syscall_syscall6(funcPC(libc_fsetxattr_trampoline), uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(data)), uintptr(size), uintptr(position), uintptr(options))
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_fsetxattr_trampoline()
-+
-+//go:linkname libc_fsetxattr libc_fsetxattr
-+//go:cgo_import_dynamic libc_fsetxattr fsetxattr "/usr/lib/libSystem.B.dylib"
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func removexattr(path string, attr string, options int) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ var _p1 *byte
-+ _p1, err = BytePtrFromString(attr)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := syscall_syscall(funcPC(libc_removexattr_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(options))
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_removexattr_trampoline()
-+
-+//go:linkname libc_removexattr libc_removexattr
-+//go:cgo_import_dynamic libc_removexattr removexattr "/usr/lib/libSystem.B.dylib"
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func fremovexattr(fd int, attr string, options int) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(attr)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := syscall_syscall(funcPC(libc_fremovexattr_trampoline), uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(options))
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_fremovexattr_trampoline()
-+
-+//go:linkname libc_fremovexattr libc_fremovexattr
-+//go:cgo_import_dynamic libc_fremovexattr fremovexattr "/usr/lib/libSystem.B.dylib"
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func listxattr(path string, dest *byte, size int, options int) (sz int, err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ r0, _, e1 := syscall_syscall6(funcPC(libc_listxattr_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(dest)), uintptr(size), uintptr(options), 0, 0)
-+ sz = int(r0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_listxattr_trampoline()
-+
-+//go:linkname libc_listxattr libc_listxattr
-+//go:cgo_import_dynamic libc_listxattr listxattr "/usr/lib/libSystem.B.dylib"
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func flistxattr(fd int, dest *byte, size int, options int) (sz int, err error) {
-+ r0, _, e1 := syscall_syscall6(funcPC(libc_flistxattr_trampoline), uintptr(fd), uintptr(unsafe.Pointer(dest)), uintptr(size), uintptr(options), 0, 0)
-+ sz = int(r0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_flistxattr_trampoline()
-+
-+//go:linkname libc_flistxattr libc_flistxattr
-+//go:cgo_import_dynamic libc_flistxattr flistxattr "/usr/lib/libSystem.B.dylib"
-+
-+// 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(funcPC(libc_setattrlist_trampoline), uintptr(unsafe.Pointer(path)), uintptr(list), uintptr(buf), uintptr(size), uintptr(options), 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_setattrlist_trampoline()
-+
-+//go:linkname libc_setattrlist libc_setattrlist
-+//go:cgo_import_dynamic libc_setattrlist setattrlist "/usr/lib/libSystem.B.dylib"
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func fcntl(fd int, cmd int, arg int) (val int, err error) {
-+ r0, _, e1 := syscall_syscall(funcPC(libc_fcntl_trampoline), uintptr(fd), uintptr(cmd), uintptr(arg))
-+ val = int(r0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_fcntl_trampoline()
-+
-+//go:linkname libc_fcntl libc_fcntl
-+//go:cgo_import_dynamic libc_fcntl fcntl "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func kill(pid int, signum int, posix int) (err error) {
-- _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), uintptr(posix))
-+ _, _, e1 := syscall_syscall(funcPC(libc_kill_trampoline), uintptr(pid), uintptr(signum), uintptr(posix))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_kill_trampoline()
-+
-+//go:linkname libc_kill libc_kill
-+//go:cgo_import_dynamic libc_kill kill "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_ioctl_trampoline), uintptr(fd), uintptr(req), uintptr(arg))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_ioctl_trampoline()
-+
-+//go:linkname libc_ioctl libc_ioctl
-+//go:cgo_import_dynamic libc_ioctl ioctl "/usr/lib/libSystem.B.dylib"
-+
-+// 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(funcPC(libc_sysctl_trampoline), 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
-+}
-+
-+func libc_sysctl_trampoline()
-+
-+//go:linkname libc_sysctl libc_sysctl
-+//go:cgo_import_dynamic libc_sysctl sysctl "/usr/lib/libSystem.B.dylib"
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func sendfile(infd int, outfd int, offset int64, len *int64, hdtr unsafe.Pointer, flags int) (err error) {
-+ _, _, e1 := syscall_syscall6(funcPC(libc_sendfile_trampoline), uintptr(infd), uintptr(outfd), uintptr(offset), uintptr(unsafe.Pointer(len)), uintptr(hdtr), uintptr(flags))
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_sendfile_trampoline()
-+
-+//go:linkname libc_sendfile libc_sendfile
-+//go:cgo_import_dynamic libc_sendfile sendfile "/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) {
-@@ -414,23 +799,33 @@ 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(funcPC(libc_access_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_access_trampoline()
-+
-+//go:linkname libc_access libc_access
-+//go:cgo_import_dynamic libc_access access "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_adjtime_trampoline), uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_adjtime_trampoline()
-+
-+//go:linkname libc_adjtime libc_adjtime
-+//go:cgo_import_dynamic libc_adjtime adjtime "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Chdir(path string) (err error) {
-@@ -439,13 +834,18 @@ func Chdir(path string) (err error) {
- if err != nil {
- return
- }
-- _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-+ _, _, e1 := syscall_syscall(funcPC(libc_chdir_trampoline), uintptr(unsafe.Pointer(_p0)), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_chdir_trampoline()
-+
-+//go:linkname libc_chdir libc_chdir
-+//go:cgo_import_dynamic libc_chdir chdir "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Chflags(path string, flags int) (err error) {
-@@ -454,13 +854,18 @@ 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(funcPC(libc_chflags_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_chflags_trampoline()
-+
-+//go:linkname libc_chflags libc_chflags
-+//go:cgo_import_dynamic libc_chflags chflags "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Chmod(path string, mode uint32) (err error) {
-@@ -469,13 +874,18 @@ 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(funcPC(libc_chmod_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_chmod_trampoline()
-+
-+//go:linkname libc_chmod libc_chmod
-+//go:cgo_import_dynamic libc_chmod chmod "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Chown(path string, uid int, gid int) (err error) {
-@@ -484,13 +894,18 @@ 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(funcPC(libc_chown_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_chown_trampoline()
-+
-+//go:linkname libc_chown libc_chown
-+//go:cgo_import_dynamic libc_chown chown "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Chroot(path string) (err error) {
-@@ -499,27 +914,52 @@ func Chroot(path string) (err error) {
- if err != nil {
- return
- }
-- _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-+ _, _, e1 := syscall_syscall(funcPC(libc_chroot_trampoline), uintptr(unsafe.Pointer(_p0)), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_chroot_trampoline()
-+
-+//go:linkname libc_chroot libc_chroot
-+//go:cgo_import_dynamic libc_chroot chroot "/usr/lib/libSystem.B.dylib"
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func ClockGettime(clockid int32, time *Timespec) (err error) {
-+ _, _, e1 := syscall_syscall(funcPC(libc_clock_gettime_trampoline), uintptr(clockid), uintptr(unsafe.Pointer(time)), 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_clock_gettime_trampoline()
-+
-+//go:linkname libc_clock_gettime libc_clock_gettime
-+//go:cgo_import_dynamic libc_clock_gettime clock_gettime "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_close_trampoline), uintptr(fd), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_close_trampoline()
-+
-+//go:linkname libc_close libc_close
-+//go:cgo_import_dynamic libc_close close "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_dup_trampoline), uintptr(fd), 0, 0)
- nfd = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -527,16 +967,26 @@ func Dup(fd int) (nfd int, err error) {
- return
- }
-
-+func libc_dup_trampoline()
-+
-+//go:linkname libc_dup libc_dup
-+//go:cgo_import_dynamic libc_dup dup "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_dup2_trampoline), uintptr(from), uintptr(to), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_dup2_trampoline()
-+
-+//go:linkname libc_dup2 libc_dup2
-+//go:cgo_import_dynamic libc_dup2 dup2 "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Exchangedata(path1 string, path2 string, options int) (err error) {
-@@ -550,20 +1000,30 @@ func Exchangedata(path1 string, path2 string, options int) (err error) {
- if err != nil {
- return
- }
-- _, _, e1 := Syscall(SYS_EXCHANGEDATA, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(options))
-+ _, _, e1 := syscall_syscall(funcPC(libc_exchangedata_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(options))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_exchangedata_trampoline()
-+
-+//go:linkname libc_exchangedata libc_exchangedata
-+//go:cgo_import_dynamic libc_exchangedata exchangedata "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_exit_trampoline), uintptr(code), 0, 0)
- return
- }
-
-+func libc_exit_trampoline()
-+
-+//go:linkname libc_exit libc_exit
-+//go:cgo_import_dynamic libc_exit exit "/usr/lib/libSystem.B.dylib"
-+
- // 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) {
-@@ -572,43 +1032,63 @@ 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(funcPC(libc_faccessat_trampoline), uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_faccessat_trampoline()
-+
-+//go:linkname libc_faccessat libc_faccessat
-+//go:cgo_import_dynamic libc_faccessat faccessat "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_fchdir_trampoline), uintptr(fd), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_fchdir_trampoline()
-+
-+//go:linkname libc_fchdir libc_fchdir
-+//go:cgo_import_dynamic libc_fchdir fchdir "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_fchflags_trampoline), uintptr(fd), uintptr(flags), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_fchflags_trampoline()
-+
-+//go:linkname libc_fchflags libc_fchflags
-+//go:cgo_import_dynamic libc_fchflags fchflags "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_fchmod_trampoline), uintptr(fd), uintptr(mode), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_fchmod_trampoline()
-+
-+//go:linkname libc_fchmod libc_fchmod
-+//go:cgo_import_dynamic libc_fchmod fchmod "/usr/lib/libSystem.B.dylib"
-+
- // 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) {
-@@ -617,23 +1097,33 @@ 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(funcPC(libc_fchmodat_trampoline), uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_fchmodat_trampoline()
-+
-+//go:linkname libc_fchmodat libc_fchmodat
-+//go:cgo_import_dynamic libc_fchmodat fchmodat "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_fchown_trampoline), uintptr(fd), uintptr(uid), uintptr(gid))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_fchown_trampoline()
-+
-+//go:linkname libc_fchown libc_fchown
-+//go:cgo_import_dynamic libc_fchown fchown "/usr/lib/libSystem.B.dylib"
-+
- // 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) {
-@@ -642,27 +1132,37 @@ 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(funcPC(libc_fchownat_trampoline), uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_fchownat_trampoline()
-+
-+//go:linkname libc_fchownat libc_fchownat
-+//go:cgo_import_dynamic libc_fchownat fchownat "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_flock_trampoline), uintptr(fd), uintptr(how), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_flock_trampoline()
-+
-+//go:linkname libc_flock libc_flock
-+//go:cgo_import_dynamic libc_flock flock "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_fpathconf_trampoline), uintptr(fd), uintptr(name), 0)
- val = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -670,99 +1170,97 @@ func Fpathconf(fd int, name int) (val int, err error) {
- return
- }
-
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+func libc_fpathconf_trampoline()
-
--func Fstat(fd int, stat *Stat_t) (err error) {
-- _, _, e1 := Syscall(SYS_FSTAT64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
-+//go:linkname libc_fpathconf libc_fpathconf
-+//go:cgo_import_dynamic libc_fpathconf fpathconf "/usr/lib/libSystem.B.dylib"
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Fstatfs(fd int, stat *Statfs_t) (err error) {
-- _, _, e1 := Syscall(SYS_FSTATFS64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-+func Fsync(fd int) (err error) {
-+ _, _, e1 := syscall_syscall(funcPC(libc_fsync_trampoline), 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 libc_fsync_trampoline()
-
--func Fsync(fd int) (err error) {
-- _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
-+//go:linkname libc_fsync libc_fsync
-+//go:cgo_import_dynamic libc_fsync fsync "/usr/lib/libSystem.B.dylib"
-
- // 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)
-+ _, _, e1 := syscall_syscall(funcPC(libc_ftruncate_trampoline), uintptr(fd), uintptr(length), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
-- var _p0 unsafe.Pointer
-- if len(buf) > 0 {
-- _p0 = unsafe.Pointer(&buf[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall6(SYS_GETDIRENTRIES64, uintptr(fd), uintptr(_p0), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0)
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
-+func libc_ftruncate_trampoline()
-+
-+//go:linkname libc_ftruncate libc_ftruncate
-+//go:cgo_import_dynamic libc_ftruncate ftruncate "/usr/lib/libSystem.B.dylib"
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Getdtablesize() (size int) {
-- r0, _, _ := Syscall(SYS_GETDTABLESIZE, 0, 0, 0)
-+ r0, _, _ := syscall_syscall(funcPC(libc_getdtablesize_trampoline), 0, 0, 0)
- size = int(r0)
- return
- }
-
-+func libc_getdtablesize_trampoline()
-+
-+//go:linkname libc_getdtablesize libc_getdtablesize
-+//go:cgo_import_dynamic libc_getdtablesize getdtablesize "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_getegid_trampoline), 0, 0, 0)
- egid = int(r0)
- return
- }
-
-+func libc_getegid_trampoline()
-+
-+//go:linkname libc_getegid libc_getegid
-+//go:cgo_import_dynamic libc_getegid getegid "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_geteuid_trampoline), 0, 0, 0)
- uid = int(r0)
- return
- }
-
-+func libc_geteuid_trampoline()
-+
-+//go:linkname libc_geteuid libc_geteuid
-+//go:cgo_import_dynamic libc_geteuid geteuid "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_getgid_trampoline), 0, 0, 0)
- gid = int(r0)
- return
- }
-
-+func libc_getgid_trampoline()
-+
-+//go:linkname libc_getgid libc_getgid
-+//go:cgo_import_dynamic libc_getgid getgid "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_getpgid_trampoline), uintptr(pid), 0, 0)
- pgid = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -770,34 +1268,54 @@ func Getpgid(pid int) (pgid int, err error) {
- return
- }
-
-+func libc_getpgid_trampoline()
-+
-+//go:linkname libc_getpgid libc_getpgid
-+//go:cgo_import_dynamic libc_getpgid getpgid "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_getpgrp_trampoline), 0, 0, 0)
- pgrp = int(r0)
- return
- }
-
-+func libc_getpgrp_trampoline()
-+
-+//go:linkname libc_getpgrp libc_getpgrp
-+//go:cgo_import_dynamic libc_getpgrp getpgrp "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_getpid_trampoline), 0, 0, 0)
- pid = int(r0)
- return
- }
-
-+func libc_getpid_trampoline()
-+
-+//go:linkname libc_getpid libc_getpid
-+//go:cgo_import_dynamic libc_getpid getpid "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_getppid_trampoline), 0, 0, 0)
- ppid = int(r0)
- return
- }
-
-+func libc_getppid_trampoline()
-+
-+//go:linkname libc_getppid libc_getppid
-+//go:cgo_import_dynamic libc_getppid getppid "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_getpriority_trampoline), uintptr(which), uintptr(who), 0)
- prio = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -805,30 +1323,45 @@ func Getpriority(which int, who int) (prio int, err error) {
- return
- }
-
-+func libc_getpriority_trampoline()
-+
-+//go:linkname libc_getpriority libc_getpriority
-+//go:cgo_import_dynamic libc_getpriority getpriority "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_getrlimit_trampoline), uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_getrlimit_trampoline()
-+
-+//go:linkname libc_getrlimit libc_getrlimit
-+//go:cgo_import_dynamic libc_getrlimit getrlimit "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_getrusage_trampoline), uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_getrusage_trampoline()
-+
-+//go:linkname libc_getrusage libc_getrusage
-+//go:cgo_import_dynamic libc_getrusage getrusage "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_getsid_trampoline), uintptr(pid), 0, 0)
- sid = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -836,26 +1369,41 @@ func Getsid(pid int) (sid int, err error) {
- return
- }
-
-+func libc_getsid_trampoline()
-+
-+//go:linkname libc_getsid libc_getsid
-+//go:cgo_import_dynamic libc_getsid getsid "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_getuid_trampoline), 0, 0, 0)
- uid = int(r0)
- return
- }
-
-+func libc_getuid_trampoline()
-+
-+//go:linkname libc_getuid libc_getuid
-+//go:cgo_import_dynamic libc_getuid getuid "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Issetugid() (tainted bool) {
-- r0, _, _ := RawSyscall(SYS_ISSETUGID, 0, 0, 0)
-+ r0, _, _ := syscall_rawSyscall(funcPC(libc_issetugid_trampoline), 0, 0, 0)
- tainted = bool(r0 != 0)
- return
- }
-
-+func libc_issetugid_trampoline()
-+
-+//go:linkname libc_issetugid libc_issetugid
-+//go:cgo_import_dynamic libc_issetugid issetugid "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_kqueue_trampoline), 0, 0, 0)
- fd = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -863,6 +1411,11 @@ func Kqueue() (fd int, err error) {
- return
- }
-
-+func libc_kqueue_trampoline()
-+
-+//go:linkname libc_kqueue libc_kqueue
-+//go:cgo_import_dynamic libc_kqueue kqueue "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Lchown(path string, uid int, gid int) (err error) {
-@@ -871,13 +1424,18 @@ 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(funcPC(libc_lchown_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_lchown_trampoline()
-+
-+//go:linkname libc_lchown libc_lchown
-+//go:cgo_import_dynamic libc_lchown lchown "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Link(path string, link string) (err error) {
-@@ -891,13 +1449,18 @@ 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(funcPC(libc_link_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_link_trampoline()
-+
-+//go:linkname libc_link libc_link
-+//go:cgo_import_dynamic libc_link link "/usr/lib/libSystem.B.dylib"
-+
- // 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) {
-@@ -911,37 +1474,32 @@ 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(funcPC(libc_linkat_trampoline), uintptr(pathfd), uintptr(unsafe.Pointer(_p0)), uintptr(linkfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_linkat_trampoline()
-+
-+//go:linkname libc_linkat libc_linkat
-+//go:cgo_import_dynamic libc_linkat linkat "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_listen_trampoline), 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 libc_listen_trampoline()
-
--func Lstat(path string, stat *Stat_t) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_LSTAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
-+//go:linkname libc_listen libc_listen
-+//go:cgo_import_dynamic libc_listen listen "/usr/lib/libSystem.B.dylib"
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-@@ -951,13 +1509,18 @@ 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(funcPC(libc_mkdir_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_mkdir_trampoline()
-+
-+//go:linkname libc_mkdir libc_mkdir
-+//go:cgo_import_dynamic libc_mkdir mkdir "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Mkdirat(dirfd int, path string, mode uint32) (err error) {
-@@ -966,13 +1529,18 @@ 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(funcPC(libc_mkdirat_trampoline), uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_mkdirat_trampoline()
-+
-+//go:linkname libc_mkdirat libc_mkdirat
-+//go:cgo_import_dynamic libc_mkdirat mkdirat "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Mkfifo(path string, mode uint32) (err error) {
-@@ -981,13 +1549,18 @@ 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(funcPC(libc_mkfifo_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_mkfifo_trampoline()
-+
-+//go:linkname libc_mkfifo libc_mkfifo
-+//go:cgo_import_dynamic libc_mkfifo mkfifo "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Mknod(path string, mode uint32, dev int) (err error) {
-@@ -996,13 +1569,18 @@ 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(funcPC(libc_mknod_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_mknod_trampoline()
-+
-+//go:linkname libc_mknod libc_mknod
-+//go:cgo_import_dynamic libc_mknod mknod "/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) {
-@@ -1011,7 +1589,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(funcPC(libc_open_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm))
- fd = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1019,6 +1597,11 @@ func Open(path string, mode int, perm uint32) (fd int, err error) {
- return
- }
-
-+func libc_open_trampoline()
-+
-+//go:linkname libc_open libc_open
-+//go:cgo_import_dynamic libc_open open "/usr/lib/libSystem.B.dylib"
-+
- // 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) {
-@@ -1027,7 +1610,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(funcPC(libc_openat_trampoline), uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm), 0, 0)
- fd = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1035,6 +1618,11 @@ func Openat(dirfd int, path string, mode int, perm uint32) (fd int, err error) {
- return
- }
-
-+func libc_openat_trampoline()
-+
-+//go:linkname libc_openat libc_openat
-+//go:cgo_import_dynamic libc_openat openat "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Pathconf(path string, name int) (val int, err error) {
-@@ -1043,7 +1631,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(funcPC(libc_pathconf_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(name), 0)
- val = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1051,6 +1639,11 @@ func Pathconf(path string, name int) (val int, err error) {
- return
- }
-
-+func libc_pathconf_trampoline()
-+
-+//go:linkname libc_pathconf libc_pathconf
-+//go:cgo_import_dynamic libc_pathconf pathconf "/usr/lib/libSystem.B.dylib"
-+
- // 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) {
-@@ -1060,7 +1653,7 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) {
- } else {
- _p0 = unsafe.Pointer(&_zero)
- }
-- r0, _, e1 := Syscall6(SYS_PREAD, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
-+ r0, _, e1 := syscall_syscall6(funcPC(libc_pread_trampoline), uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
- n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1068,6 +1661,11 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) {
- return
- }
-
-+func libc_pread_trampoline()
-+
-+//go:linkname libc_pread libc_pread
-+//go:cgo_import_dynamic libc_pread pread "/usr/lib/libSystem.B.dylib"
-+
- // 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) {
-@@ -1077,7 +1675,7 @@ func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
- } else {
- _p0 = unsafe.Pointer(&_zero)
- }
-- r0, _, e1 := Syscall6(SYS_PWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
-+ r0, _, e1 := syscall_syscall6(funcPC(libc_pwrite_trampoline), uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
- n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1085,6 +1683,11 @@ func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
- return
- }
-
-+func libc_pwrite_trampoline()
-+
-+//go:linkname libc_pwrite libc_pwrite
-+//go:cgo_import_dynamic libc_pwrite pwrite "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func read(fd int, p []byte) (n int, err error) {
-@@ -1094,7 +1697,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(funcPC(libc_read_trampoline), uintptr(fd), uintptr(_p0), uintptr(len(p)))
- n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1102,6 +1705,11 @@ func read(fd int, p []byte) (n int, err error) {
- return
- }
-
-+func libc_read_trampoline()
-+
-+//go:linkname libc_read libc_read
-+//go:cgo_import_dynamic libc_read read "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Readlink(path string, buf []byte) (n int, err error) {
-@@ -1116,7 +1724,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(funcPC(libc_readlink_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)))
- n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1124,6 +1732,11 @@ func Readlink(path string, buf []byte) (n int, err error) {
- return
- }
-
-+func libc_readlink_trampoline()
-+
-+//go:linkname libc_readlink libc_readlink
-+//go:cgo_import_dynamic libc_readlink readlink "/usr/lib/libSystem.B.dylib"
-+
- // 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) {
-@@ -1138,7 +1751,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(funcPC(libc_readlinkat_trampoline), uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0)
- n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1146,6 +1759,11 @@ func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) {
- return
- }
-
-+func libc_readlinkat_trampoline()
-+
-+//go:linkname libc_readlinkat libc_readlinkat
-+//go:cgo_import_dynamic libc_readlinkat readlinkat "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Rename(from string, to string) (err error) {
-@@ -1159,13 +1777,18 @@ 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(funcPC(libc_rename_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_rename_trampoline()
-+
-+//go:linkname libc_rename libc_rename
-+//go:cgo_import_dynamic libc_rename rename "/usr/lib/libSystem.B.dylib"
-+
- // 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) {
-@@ -1179,13 +1802,18 @@ 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(funcPC(libc_renameat_trampoline), uintptr(fromfd), uintptr(unsafe.Pointer(_p0)), uintptr(tofd), uintptr(unsafe.Pointer(_p1)), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_renameat_trampoline()
-+
-+//go:linkname libc_renameat libc_renameat
-+//go:cgo_import_dynamic libc_renameat renameat "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Revoke(path string) (err error) {
-@@ -1194,13 +1822,18 @@ func Revoke(path string) (err error) {
- if err != nil {
- return
- }
-- _, _, e1 := Syscall(SYS_REVOKE, uintptr(unsafe.Pointer(_p0)), 0, 0)
-+ _, _, e1 := syscall_syscall(funcPC(libc_revoke_trampoline), uintptr(unsafe.Pointer(_p0)), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_revoke_trampoline()
-+
-+//go:linkname libc_revoke libc_revoke
-+//go:cgo_import_dynamic libc_revoke revoke "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Rmdir(path string) (err error) {
-@@ -1209,17 +1842,22 @@ func Rmdir(path string) (err error) {
- if err != nil {
- return
- }
-- _, _, e1 := Syscall(SYS_RMDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-+ _, _, e1 := syscall_syscall(funcPC(libc_rmdir_trampoline), uintptr(unsafe.Pointer(_p0)), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_rmdir_trampoline()
-+
-+//go:linkname libc_rmdir libc_rmdir
-+//go:cgo_import_dynamic libc_rmdir rmdir "/usr/lib/libSystem.B.dylib"
-+
- // 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))
-+ r0, _, e1 := syscall_syscall(funcPC(libc_lseek_trampoline), uintptr(fd), uintptr(offset), uintptr(whence))
- newoffset = int64(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1227,46 +1865,72 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
- return
- }
-
-+func libc_lseek_trampoline()
-+
-+//go:linkname libc_lseek libc_lseek
-+//go:cgo_import_dynamic libc_lseek lseek "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
-- _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-+func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
-+ r0, _, e1 := syscall_syscall6(funcPC(libc_select_trampoline), 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
- }
-
-+func libc_select_trampoline()
-+
-+//go:linkname libc_select libc_select
-+//go:cgo_import_dynamic libc_select select "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Setegid(egid int) (err error) {
-- _, _, e1 := Syscall(SYS_SETEGID, uintptr(egid), 0, 0)
-+ _, _, e1 := syscall_syscall(funcPC(libc_setegid_trampoline), uintptr(egid), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_setegid_trampoline()
-+
-+//go:linkname libc_setegid libc_setegid
-+//go:cgo_import_dynamic libc_setegid setegid "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_seteuid_trampoline), uintptr(euid), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_seteuid_trampoline()
-+
-+//go:linkname libc_seteuid libc_seteuid
-+//go:cgo_import_dynamic libc_seteuid seteuid "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_setgid_trampoline), uintptr(gid), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_setgid_trampoline()
-+
-+//go:linkname libc_setgid libc_setgid
-+//go:cgo_import_dynamic libc_setgid setgid "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Setlogin(name string) (err error) {
-@@ -1275,77 +1939,112 @@ func Setlogin(name string) (err error) {
- if err != nil {
- return
- }
-- _, _, e1 := Syscall(SYS_SETLOGIN, uintptr(unsafe.Pointer(_p0)), 0, 0)
-+ _, _, e1 := syscall_syscall(funcPC(libc_setlogin_trampoline), uintptr(unsafe.Pointer(_p0)), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_setlogin_trampoline()
-+
-+//go:linkname libc_setlogin libc_setlogin
-+//go:cgo_import_dynamic libc_setlogin setlogin "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_setpgid_trampoline), uintptr(pid), uintptr(pgid), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_setpgid_trampoline()
-+
-+//go:linkname libc_setpgid libc_setpgid
-+//go:cgo_import_dynamic libc_setpgid setpgid "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_setpriority_trampoline), uintptr(which), uintptr(who), uintptr(prio))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_setpriority_trampoline()
-+
-+//go:linkname libc_setpriority libc_setpriority
-+//go:cgo_import_dynamic libc_setpriority setpriority "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Setprivexec(flag int) (err error) {
-- _, _, e1 := Syscall(SYS_SETPRIVEXEC, uintptr(flag), 0, 0)
-+ _, _, e1 := syscall_syscall(funcPC(libc_setprivexec_trampoline), uintptr(flag), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_setprivexec_trampoline()
-+
-+//go:linkname libc_setprivexec libc_setprivexec
-+//go:cgo_import_dynamic libc_setprivexec setprivexec "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_setregid_trampoline), uintptr(rgid), uintptr(egid), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_setregid_trampoline()
-+
-+//go:linkname libc_setregid libc_setregid
-+//go:cgo_import_dynamic libc_setregid setregid "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_setreuid_trampoline), uintptr(ruid), uintptr(euid), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_setreuid_trampoline()
-+
-+//go:linkname libc_setreuid libc_setreuid
-+//go:cgo_import_dynamic libc_setreuid setreuid "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_setrlimit_trampoline), uintptr(which), uintptr(unsafe.Pointer(lim)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_setrlimit_trampoline()
-+
-+//go:linkname libc_setrlimit libc_setrlimit
-+//go:cgo_import_dynamic libc_setrlimit setrlimit "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_setsid_trampoline), 0, 0, 0)
- pid = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1353,55 +2052,40 @@ func Setsid() (pid int, err error) {
- return
- }
-
-+func libc_setsid_trampoline()
-+
-+//go:linkname libc_setsid libc_setsid
-+//go:cgo_import_dynamic libc_setsid setsid "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_settimeofday_trampoline), 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 libc_settimeofday_trampoline()
-
--func Setuid(uid int) (err error) {
-- _, _, e1 := RawSyscall(SYS_SETUID, uintptr(uid), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
-+//go:linkname libc_settimeofday libc_settimeofday
-+//go:cgo_import_dynamic libc_settimeofday settimeofday "/usr/lib/libSystem.B.dylib"
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Stat(path string, stat *Stat_t) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_STAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-+func Setuid(uid int) (err error) {
-+ _, _, e1 := syscall_rawSyscall(funcPC(libc_setuid_trampoline), 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 libc_setuid_trampoline()
-
--func Statfs(path string, stat *Statfs_t) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_STATFS64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
-+//go:linkname libc_setuid libc_setuid
-+//go:cgo_import_dynamic libc_setuid setuid "/usr/lib/libSystem.B.dylib"
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-@@ -1416,13 +2100,18 @@ 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(funcPC(libc_symlink_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_symlink_trampoline()
-+
-+//go:linkname libc_symlink libc_symlink
-+//go:cgo_import_dynamic libc_symlink symlink "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Symlinkat(oldpath string, newdirfd int, newpath string) (err error) {
-@@ -1436,23 +2125,33 @@ 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(funcPC(libc_symlinkat_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_symlinkat_trampoline()
-+
-+//go:linkname libc_symlinkat libc_symlinkat
-+//go:cgo_import_dynamic libc_symlinkat symlinkat "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_sync_trampoline), 0, 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_sync_trampoline()
-+
-+//go:linkname libc_sync libc_sync
-+//go:cgo_import_dynamic libc_sync sync "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Truncate(path string, length int64) (err error) {
-@@ -1461,21 +2160,31 @@ func Truncate(path string, length int64) (err error) {
- if err != nil {
- return
- }
-- _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), uintptr(length), 0)
-+ _, _, e1 := syscall_syscall(funcPC(libc_truncate_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(length), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_truncate_trampoline()
-+
-+//go:linkname libc_truncate libc_truncate
-+//go:cgo_import_dynamic libc_truncate truncate "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_umask_trampoline), uintptr(newmask), 0, 0)
- oldmask = int(r0)
- return
- }
-
-+func libc_umask_trampoline()
-+
-+//go:linkname libc_umask libc_umask
-+//go:cgo_import_dynamic libc_umask umask "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Undelete(path string) (err error) {
-@@ -1484,13 +2193,18 @@ func Undelete(path string) (err error) {
- if err != nil {
- return
- }
-- _, _, e1 := Syscall(SYS_UNDELETE, uintptr(unsafe.Pointer(_p0)), 0, 0)
-+ _, _, e1 := syscall_syscall(funcPC(libc_undelete_trampoline), uintptr(unsafe.Pointer(_p0)), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_undelete_trampoline()
-+
-+//go:linkname libc_undelete libc_undelete
-+//go:cgo_import_dynamic libc_undelete undelete "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Unlink(path string) (err error) {
-@@ -1499,13 +2213,18 @@ func Unlink(path string) (err error) {
- if err != nil {
- return
- }
-- _, _, e1 := Syscall(SYS_UNLINK, uintptr(unsafe.Pointer(_p0)), 0, 0)
-+ _, _, e1 := syscall_syscall(funcPC(libc_unlink_trampoline), uintptr(unsafe.Pointer(_p0)), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_unlink_trampoline()
-+
-+//go:linkname libc_unlink libc_unlink
-+//go:cgo_import_dynamic libc_unlink unlink "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Unlinkat(dirfd int, path string, flags int) (err error) {
-@@ -1514,13 +2233,18 @@ 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(funcPC(libc_unlinkat_trampoline), uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_unlinkat_trampoline()
-+
-+//go:linkname libc_unlinkat libc_unlinkat
-+//go:cgo_import_dynamic libc_unlinkat unlinkat "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Unmount(path string, flags int) (err error) {
-@@ -1529,13 +2253,18 @@ 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(funcPC(libc_unmount_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_unmount_trampoline()
-+
-+//go:linkname libc_unmount libc_unmount
-+//go:cgo_import_dynamic libc_unmount unmount "/usr/lib/libSystem.B.dylib"
-+
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func write(fd int, p []byte) (n int, err error) {
-@@ -1545,7 +2274,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(funcPC(libc_write_trampoline), uintptr(fd), uintptr(_p0), uintptr(len(p)))
- n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1553,10 +2282,15 @@ func write(fd int, p []byte) (n int, err error) {
- return
- }
-
-+func libc_write_trampoline()
-+
-+//go:linkname libc_write libc_write
-+//go:cgo_import_dynamic libc_write write "/usr/lib/libSystem.B.dylib"
-+
- // 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))
-+ r0, _, e1 := syscall_syscall6(funcPC(libc_mmap_trampoline), uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), uintptr(pos))
- ret = uintptr(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1564,20 +2298,30 @@ func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (
- return
- }
-
-+func libc_mmap_trampoline()
-+
-+//go:linkname libc_mmap libc_mmap
-+//go:cgo_import_dynamic libc_mmap mmap "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_munmap_trampoline), uintptr(addr), uintptr(length), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
- }
-
-+func libc_munmap_trampoline()
-+
-+//go:linkname libc_munmap libc_munmap
-+//go:cgo_import_dynamic libc_munmap munmap "/usr/lib/libSystem.B.dylib"
-+
- // 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(funcPC(libc_read_trampoline), uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
- n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1588,7 +2332,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(funcPC(libc_write_trampoline), uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
- n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1599,7 +2343,7 @@ func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func gettimeofday(tp *Timeval) (sec int64, usec int32, err error) {
-- r0, r1, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
-+ r0, r1, e1 := syscall_rawSyscall(funcPC(libc_gettimeofday_trampoline), uintptr(unsafe.Pointer(tp)), 0, 0)
- sec = int64(r0)
- usec = int32(r1)
- if e1 != 0 {
-@@ -1607,3 +2351,134 @@ func gettimeofday(tp *Timeval) (sec int64, usec int32, err error) {
- }
- return
- }
-+
-+func libc_gettimeofday_trampoline()
-+
-+//go:linkname libc_gettimeofday libc_gettimeofday
-+//go:cgo_import_dynamic libc_gettimeofday gettimeofday "/usr/lib/libSystem.B.dylib"
-+
-+// 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(funcPC(libc_fstat_trampoline), uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_fstat_trampoline()
-+
-+//go:linkname libc_fstat libc_fstat
-+//go:cgo_import_dynamic libc_fstat fstat "/usr/lib/libSystem.B.dylib"
-+
-+// 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(funcPC(libc_fstatat_trampoline), uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_fstatat_trampoline()
-+
-+//go:linkname libc_fstatat libc_fstatat
-+//go:cgo_import_dynamic libc_fstatat fstatat "/usr/lib/libSystem.B.dylib"
-+
-+// 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(funcPC(libc_fstatfs_trampoline), uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_fstatfs_trampoline()
-+
-+//go:linkname libc_fstatfs libc_fstatfs
-+//go:cgo_import_dynamic libc_fstatfs fstatfs "/usr/lib/libSystem.B.dylib"
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func getfsstat(buf unsafe.Pointer, size uintptr, flags int) (n int, err error) {
-+ r0, _, e1 := syscall_syscall(funcPC(libc_getfsstat_trampoline), uintptr(buf), uintptr(size), uintptr(flags))
-+ n = int(r0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_getfsstat_trampoline()
-+
-+//go:linkname libc_getfsstat libc_getfsstat
-+//go:cgo_import_dynamic libc_getfsstat getfsstat "/usr/lib/libSystem.B.dylib"
-+
-+// 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(funcPC(libc_lstat_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_lstat_trampoline()
-+
-+//go:linkname libc_lstat libc_lstat
-+//go:cgo_import_dynamic libc_lstat lstat "/usr/lib/libSystem.B.dylib"
-+
-+// 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(funcPC(libc_stat_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_stat_trampoline()
-+
-+//go:linkname libc_stat libc_stat
-+//go:cgo_import_dynamic libc_stat stat "/usr/lib/libSystem.B.dylib"
-+
-+// 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(funcPC(libc_statfs_trampoline), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+func libc_statfs_trampoline()
-+
-+//go:linkname libc_statfs libc_statfs
-+//go:cgo_import_dynamic libc_statfs statfs "/usr/lib/libSystem.B.dylib"
-diff --git a/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.s b/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.s
-new file mode 100644
-index 00000000..40cce1bb
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.s
-@@ -0,0 +1,282 @@
-+// go run mkasm_darwin.go arm64
-+// Code generated by the command above; DO NOT EDIT.
-+
-+// +build go1.12
-+
-+#include "textflag.h"
-+TEXT ·libc_getgroups_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getgroups(SB)
-+TEXT ·libc_setgroups_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_setgroups(SB)
-+TEXT ·libc_wait4_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_wait4(SB)
-+TEXT ·libc_accept_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_accept(SB)
-+TEXT ·libc_bind_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_bind(SB)
-+TEXT ·libc_connect_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_connect(SB)
-+TEXT ·libc_socket_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_socket(SB)
-+TEXT ·libc_getsockopt_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getsockopt(SB)
-+TEXT ·libc_setsockopt_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_setsockopt(SB)
-+TEXT ·libc_getpeername_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getpeername(SB)
-+TEXT ·libc_getsockname_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getsockname(SB)
-+TEXT ·libc_shutdown_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_shutdown(SB)
-+TEXT ·libc_socketpair_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_socketpair(SB)
-+TEXT ·libc_recvfrom_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_recvfrom(SB)
-+TEXT ·libc_sendto_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_sendto(SB)
-+TEXT ·libc_recvmsg_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_recvmsg(SB)
-+TEXT ·libc_sendmsg_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_sendmsg(SB)
-+TEXT ·libc_kevent_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_kevent(SB)
-+TEXT ·libc_utimes_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_utimes(SB)
-+TEXT ·libc_futimes_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_futimes(SB)
-+TEXT ·libc_poll_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_poll(SB)
-+TEXT ·libc_madvise_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_madvise(SB)
-+TEXT ·libc_mlock_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_mlock(SB)
-+TEXT ·libc_mlockall_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_mlockall(SB)
-+TEXT ·libc_mprotect_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_mprotect(SB)
-+TEXT ·libc_msync_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_msync(SB)
-+TEXT ·libc_munlock_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_munlock(SB)
-+TEXT ·libc_munlockall_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_munlockall(SB)
-+TEXT ·libc_getattrlist_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getattrlist(SB)
-+TEXT ·libc_pipe_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_pipe(SB)
-+TEXT ·libc_getxattr_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getxattr(SB)
-+TEXT ·libc_fgetxattr_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_fgetxattr(SB)
-+TEXT ·libc_setxattr_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_setxattr(SB)
-+TEXT ·libc_fsetxattr_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_fsetxattr(SB)
-+TEXT ·libc_removexattr_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_removexattr(SB)
-+TEXT ·libc_fremovexattr_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_fremovexattr(SB)
-+TEXT ·libc_listxattr_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_listxattr(SB)
-+TEXT ·libc_flistxattr_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_flistxattr(SB)
-+TEXT ·libc_setattrlist_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_setattrlist(SB)
-+TEXT ·libc_fcntl_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_fcntl(SB)
-+TEXT ·libc_kill_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_kill(SB)
-+TEXT ·libc_ioctl_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_ioctl(SB)
-+TEXT ·libc_sysctl_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_sysctl(SB)
-+TEXT ·libc_sendfile_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_sendfile(SB)
-+TEXT ·libc_access_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_access(SB)
-+TEXT ·libc_adjtime_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_adjtime(SB)
-+TEXT ·libc_chdir_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_chdir(SB)
-+TEXT ·libc_chflags_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_chflags(SB)
-+TEXT ·libc_chmod_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_chmod(SB)
-+TEXT ·libc_chown_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_chown(SB)
-+TEXT ·libc_chroot_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_chroot(SB)
-+TEXT ·libc_clock_gettime_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_clock_gettime(SB)
-+TEXT ·libc_close_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_close(SB)
-+TEXT ·libc_dup_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_dup(SB)
-+TEXT ·libc_dup2_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_dup2(SB)
-+TEXT ·libc_exchangedata_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_exchangedata(SB)
-+TEXT ·libc_exit_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_exit(SB)
-+TEXT ·libc_faccessat_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_faccessat(SB)
-+TEXT ·libc_fchdir_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_fchdir(SB)
-+TEXT ·libc_fchflags_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_fchflags(SB)
-+TEXT ·libc_fchmod_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_fchmod(SB)
-+TEXT ·libc_fchmodat_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_fchmodat(SB)
-+TEXT ·libc_fchown_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_fchown(SB)
-+TEXT ·libc_fchownat_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_fchownat(SB)
-+TEXT ·libc_flock_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_flock(SB)
-+TEXT ·libc_fpathconf_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_fpathconf(SB)
-+TEXT ·libc_fsync_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_fsync(SB)
-+TEXT ·libc_ftruncate_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_ftruncate(SB)
-+TEXT ·libc_getdtablesize_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getdtablesize(SB)
-+TEXT ·libc_getegid_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getegid(SB)
-+TEXT ·libc_geteuid_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_geteuid(SB)
-+TEXT ·libc_getgid_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getgid(SB)
-+TEXT ·libc_getpgid_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getpgid(SB)
-+TEXT ·libc_getpgrp_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getpgrp(SB)
-+TEXT ·libc_getpid_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getpid(SB)
-+TEXT ·libc_getppid_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getppid(SB)
-+TEXT ·libc_getpriority_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getpriority(SB)
-+TEXT ·libc_getrlimit_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getrlimit(SB)
-+TEXT ·libc_getrusage_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getrusage(SB)
-+TEXT ·libc_getsid_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getsid(SB)
-+TEXT ·libc_getuid_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getuid(SB)
-+TEXT ·libc_issetugid_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_issetugid(SB)
-+TEXT ·libc_kqueue_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_kqueue(SB)
-+TEXT ·libc_lchown_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_lchown(SB)
-+TEXT ·libc_link_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_link(SB)
-+TEXT ·libc_linkat_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_linkat(SB)
-+TEXT ·libc_listen_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_listen(SB)
-+TEXT ·libc_mkdir_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_mkdir(SB)
-+TEXT ·libc_mkdirat_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_mkdirat(SB)
-+TEXT ·libc_mkfifo_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_mkfifo(SB)
-+TEXT ·libc_mknod_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_mknod(SB)
-+TEXT ·libc_open_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_open(SB)
-+TEXT ·libc_openat_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_openat(SB)
-+TEXT ·libc_pathconf_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_pathconf(SB)
-+TEXT ·libc_pread_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_pread(SB)
-+TEXT ·libc_pwrite_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_pwrite(SB)
-+TEXT ·libc_read_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_read(SB)
-+TEXT ·libc_readlink_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_readlink(SB)
-+TEXT ·libc_readlinkat_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_readlinkat(SB)
-+TEXT ·libc_rename_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_rename(SB)
-+TEXT ·libc_renameat_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_renameat(SB)
-+TEXT ·libc_revoke_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_revoke(SB)
-+TEXT ·libc_rmdir_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_rmdir(SB)
-+TEXT ·libc_lseek_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_lseek(SB)
-+TEXT ·libc_select_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_select(SB)
-+TEXT ·libc_setegid_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_setegid(SB)
-+TEXT ·libc_seteuid_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_seteuid(SB)
-+TEXT ·libc_setgid_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_setgid(SB)
-+TEXT ·libc_setlogin_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_setlogin(SB)
-+TEXT ·libc_setpgid_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_setpgid(SB)
-+TEXT ·libc_setpriority_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_setpriority(SB)
-+TEXT ·libc_setprivexec_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_setprivexec(SB)
-+TEXT ·libc_setregid_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_setregid(SB)
-+TEXT ·libc_setreuid_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_setreuid(SB)
-+TEXT ·libc_setrlimit_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_setrlimit(SB)
-+TEXT ·libc_setsid_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_setsid(SB)
-+TEXT ·libc_settimeofday_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_settimeofday(SB)
-+TEXT ·libc_setuid_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_setuid(SB)
-+TEXT ·libc_symlink_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_symlink(SB)
-+TEXT ·libc_symlinkat_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_symlinkat(SB)
-+TEXT ·libc_sync_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_sync(SB)
-+TEXT ·libc_truncate_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_truncate(SB)
-+TEXT ·libc_umask_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_umask(SB)
-+TEXT ·libc_undelete_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_undelete(SB)
-+TEXT ·libc_unlink_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_unlink(SB)
-+TEXT ·libc_unlinkat_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_unlinkat(SB)
-+TEXT ·libc_unmount_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_unmount(SB)
-+TEXT ·libc_write_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_write(SB)
-+TEXT ·libc_mmap_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_mmap(SB)
-+TEXT ·libc_munmap_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_munmap(SB)
-+TEXT ·libc_gettimeofday_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_gettimeofday(SB)
-+TEXT ·libc_fstat_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_fstat(SB)
-+TEXT ·libc_fstatat_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_fstatat(SB)
-+TEXT ·libc_fstatfs_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_fstatfs(SB)
-+TEXT ·libc_getfsstat_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_getfsstat(SB)
-+TEXT ·libc_lstat_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_lstat(SB)
-+TEXT ·libc_stat_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_stat(SB)
-+TEXT ·libc_statfs_trampoline(SB),NOSPLIT,$0-0
-+ JMP libc_statfs(SB)
-diff --git a/vendor/golang.org/x/sys/unix/zsyscall_dragonfly_amd64.go b/vendor/golang.org/x/sys/unix/zsyscall_dragonfly_amd64.go
-index 7fa205cd..fe1fdd78 100644
---- a/vendor/golang.org/x/sys/unix/zsyscall_dragonfly_amd64.go
-+++ b/vendor/golang.org/x/sys/unix/zsyscall_dragonfly_amd64.go
-@@ -1,4 +1,4 @@
--// mksyscall.pl -dragonfly -tags dragonfly,amd64 syscall_bsd.go syscall_dragonfly.go syscall_dragonfly_amd64.go
-+// go run mksyscall.go -dragonfly -tags dragonfly,amd64 syscall_bsd.go syscall_dragonfly.go syscall_dragonfly_amd64.go
- // Code generated by the command above; see README.md. DO NOT EDIT.
-
- // +build dragonfly,amd64
-@@ -255,9 +255,9 @@ func futimes(fd int, timeval *[2]Timeval) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func fcntl(fd int, cmd int, arg int) (val int, err error) {
-- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-- val = int(r0)
-+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)
- }
-@@ -412,6 +412,33 @@ func extpwrite(fd int, p []byte, flags int, offset int64) (n int, err error) {
-
- // 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 Access(path string, mode uint32) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
-@@ -550,6 +577,21 @@ func Exit(code int) {
-
- // 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 {
-@@ -580,6 +622,21 @@ func Fchmod(fd int, mode uint32) (err error) {
-
- // 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 {
-@@ -590,6 +647,21 @@ func Fchown(fd int, uid int, gid int) (err error) {
-
- // 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 {
-@@ -621,6 +693,21 @@ func Fstat(fd int, stat *Stat_t) (err error) {
-
- // 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 {
-@@ -651,6 +738,23 @@ func Ftruncate(fd int, length int64) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-+func Getdents(fd int, buf []byte) (n int, err error) {
-+ var _p0 unsafe.Pointer
-+ if len(buf) > 0 {
-+ _p0 = unsafe.Pointer(&buf[0])
-+ } else {
-+ _p0 = unsafe.Pointer(&_zero)
-+ }
-+ r0, _, e1 := Syscall(SYS_GETDENTS, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
-+ n = int(r0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {
- var _p0 unsafe.Pointer
- if len(buf) > 0 {
-@@ -859,6 +963,26 @@ func Link(path string, link string) (err error) {
-
- // 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 {
-@@ -899,6 +1023,21 @@ func Mkdir(path string, mode uint32) (err error) {
-
- // 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)
-@@ -929,6 +1068,21 @@ func Mknod(path string, mode uint32, dev int) (err error) {
-
- // 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 Nanosleep(time *Timespec, leftover *Timespec) (err error) {
- _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
- if e1 != 0 {
-@@ -955,6 +1109,22 @@ func Open(path string, mode int, perm uint32) (fd int, err error) {
-
- // 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 := Syscall6(SYS_OPENAT, uintptr(dirfd), 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)
-@@ -1030,6 +1200,26 @@ func Rename(from string, to string) (err error) {
-
- // 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)
-@@ -1071,8 +1261,9 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
-- _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-+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)
- }
-@@ -1277,6 +1468,26 @@ func Symlink(path string, link string) (err error) {
-
- // 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 {
-@@ -1340,6 +1551,21 @@ func Unlink(path string) (err error) {
-
- // 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)
-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 1a0bb4cb..600f1d26 100644
---- a/vendor/golang.org/x/sys/unix/zsyscall_freebsd_386.go
-+++ b/vendor/golang.org/x/sys/unix/zsyscall_freebsd_386.go
-@@ -1,4 +1,4 @@
--// mksyscall.pl -l32 -tags freebsd,386 syscall_bsd.go syscall_freebsd.go syscall_freebsd_386.go
-+// go run mksyscall.go -l32 -tags freebsd,386 syscall_bsd.go syscall_freebsd.go syscall_freebsd_386.go
- // Code generated by the command above; see README.md. DO NOT EDIT.
-
- // +build freebsd,386
-@@ -214,22 +214,6 @@ func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, ne
-
- // 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 utimes(path string, timeval *[2]Timeval) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
-@@ -255,9 +239,9 @@ func futimes(fd int, timeval *[2]Timeval) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func fcntl(fd int, cmd int, arg int) (val int, err error) {
-- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-- val = int(r0)
-+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)
- }
-@@ -366,10 +350,25 @@ func Munlockall() (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func pipe() (r int, w int, err error) {
-- r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
-- r = int(r0)
-- w = int(r1)
-+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)
- }
-@@ -388,6 +387,32 @@ 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 {
-+ 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)
-@@ -886,7 +911,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_t) (err error) {
-+func fstat(fd int, stat *stat_freebsd11_t) (err error) {
- _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -896,7 +921,47 @@ func Fstat(fd int, stat *Stat_t) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Fstatfs(fd int, stat *Statfs_t) (err error) {
-+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) {
-+ 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 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) {
- _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -906,6 +971,16 @@ func Fstatfs(fd int, stat *Statfs_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 {
-@@ -926,7 +1001,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 *uintptr) (n int, err error) {
- var _p0 unsafe.Pointer
- if len(buf) > 0 {
- _p0 = unsafe.Pointer(&buf[0])
-@@ -943,6 +1018,23 @@ 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)
-@@ -1164,7 +1256,7 @@ 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_t) (err error) {
-+func lstat(path string, stat *stat_freebsd11_t) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
- if err != nil {
-@@ -1224,7 +1316,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) {
-+func mknod(path string, mode uint32, dev int) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
- if err != nil {
-@@ -1239,6 +1331,36 @@ func Mknod(path string, mode uint32, dev int) (err error) {
-
- // 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) {
-+ 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)
-+ 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 {
-@@ -1473,8 +1595,9 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
-- _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-+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)
- }
-@@ -1629,7 +1752,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_t) (err error) {
-+func stat(path string, stat *stat_freebsd11_t) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
- if err != nil {
-@@ -1644,7 +1767,7 @@ func Stat(path string, stat *Stat_t) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Statfs(path string, stat *Statfs_t) (err error) {
-+func statfs(path string, stat *statfs_freebsd11_t) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
- if err != nil {
-@@ -1659,6 +1782,21 @@ func Statfs(path string, stat *Statfs_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 ac1e8e01..064934b0 100644
---- a/vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go
-+++ b/vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go
-@@ -1,4 +1,4 @@
--// mksyscall.pl -tags freebsd,amd64 syscall_bsd.go syscall_freebsd.go syscall_freebsd_amd64.go
-+// go run mksyscall.go -tags freebsd,amd64 syscall_bsd.go syscall_freebsd.go syscall_freebsd_amd64.go
- // Code generated by the command above; see README.md. DO NOT EDIT.
-
- // +build freebsd,amd64
-@@ -214,22 +214,6 @@ func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, ne
-
- // 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 utimes(path string, timeval *[2]Timeval) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
-@@ -255,9 +239,9 @@ func futimes(fd int, timeval *[2]Timeval) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func fcntl(fd int, cmd int, arg int) (val int, err error) {
-- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-- val = int(r0)
-+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)
- }
-@@ -366,10 +350,25 @@ func Munlockall() (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func pipe() (r int, w int, err error) {
-- r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
-- r = int(r0)
-- w = int(r1)
-+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)
- }
-@@ -388,6 +387,32 @@ 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 {
-+ 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)
-@@ -886,7 +911,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_t) (err error) {
-+func fstat(fd int, stat *stat_freebsd11_t) (err error) {
- _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -896,7 +921,47 @@ func Fstat(fd int, stat *Stat_t) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Fstatfs(fd int, stat *Statfs_t) (err error) {
-+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) {
-+ 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 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) {
- _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -906,6 +971,16 @@ func Fstatfs(fd int, stat *Statfs_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 {
-@@ -926,7 +1001,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 *uintptr) (n int, err error) {
- var _p0 unsafe.Pointer
- if len(buf) > 0 {
- _p0 = unsafe.Pointer(&buf[0])
-@@ -943,6 +1018,23 @@ 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)
-@@ -1164,7 +1256,7 @@ 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_t) (err error) {
-+func lstat(path string, stat *stat_freebsd11_t) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
- if err != nil {
-@@ -1224,7 +1316,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) {
-+func mknod(path string, mode uint32, dev int) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
- if err != nil {
-@@ -1239,6 +1331,36 @@ func Mknod(path string, mode uint32, dev int) (err error) {
-
- // 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) {
-+ 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 {
-@@ -1473,8 +1595,9 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
-- _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-+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)
- }
-@@ -1629,7 +1752,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_t) (err error) {
-+func stat(path string, stat *stat_freebsd11_t) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
- if err != nil {
-@@ -1644,7 +1767,7 @@ func Stat(path string, stat *Stat_t) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Statfs(path string, stat *Statfs_t) (err error) {
-+func statfs(path string, stat *statfs_freebsd11_t) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
- if err != nil {
-@@ -1659,6 +1782,21 @@ func Statfs(path string, stat *Statfs_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 2b4e6acf..31d2c461 100644
---- a/vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm.go
-+++ b/vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm.go
-@@ -1,4 +1,4 @@
--// mksyscall.pl -l32 -arm -tags freebsd,arm syscall_bsd.go syscall_freebsd.go syscall_freebsd_arm.go
-+// go run mksyscall.go -l32 -arm -tags freebsd,arm syscall_bsd.go syscall_freebsd.go syscall_freebsd_arm.go
- // Code generated by the command above; see README.md. DO NOT EDIT.
-
- // +build freebsd,arm
-@@ -214,22 +214,6 @@ func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, ne
-
- // 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 utimes(path string, timeval *[2]Timeval) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
-@@ -255,9 +239,9 @@ func futimes(fd int, timeval *[2]Timeval) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func fcntl(fd int, cmd int, arg int) (val int, err error) {
-- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-- val = int(r0)
-+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)
- }
-@@ -366,10 +350,41 @@ func Munlockall() (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func pipe() (r int, w int, err error) {
-- r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
-- r = int(r0)
-- w = int(r1)
-+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 {
-+ 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)
- }
-@@ -388,6 +403,16 @@ func ioctl(fd int, req uint, arg uintptr) (err error) {
-
- // 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)
-@@ -886,7 +911,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_t) (err error) {
-+func fstat(fd int, stat *stat_freebsd11_t) (err error) {
- _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -896,7 +921,47 @@ func Fstat(fd int, stat *Stat_t) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Fstatfs(fd int, stat *Statfs_t) (err error) {
-+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) {
-+ 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 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) {
- _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -906,6 +971,16 @@ func Fstatfs(fd int, stat *Statfs_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 {
-@@ -926,7 +1001,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 *uintptr) (n int, err error) {
- var _p0 unsafe.Pointer
- if len(buf) > 0 {
- _p0 = unsafe.Pointer(&buf[0])
-@@ -943,6 +1018,23 @@ 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)
-@@ -1164,7 +1256,7 @@ 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_t) (err error) {
-+func lstat(path string, stat *stat_freebsd11_t) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
- if err != nil {
-@@ -1224,7 +1316,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) {
-+func mknod(path string, mode uint32, dev int) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
- if err != nil {
-@@ -1239,6 +1331,36 @@ func Mknod(path string, mode uint32, dev int) (err error) {
-
- // 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) {
-+ 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 {
-@@ -1473,8 +1595,9 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
-- _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-+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)
- }
-@@ -1629,7 +1752,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_t) (err error) {
-+func stat(path string, stat *stat_freebsd11_t) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
- if err != nil {
-@@ -1644,7 +1767,7 @@ func Stat(path string, stat *Stat_t) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Statfs(path string, stat *Statfs_t) (err error) {
-+func statfs(path string, stat *statfs_freebsd11_t) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
- if err != nil {
-@@ -1659,6 +1782,21 @@ func Statfs(path string, stat *Statfs_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_arm64.go
-similarity index 90%
-copy from vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go
-copy to vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm64.go
-index ac1e8e01..4adaaa56 100644
---- a/vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go
-+++ b/vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm64.go
-@@ -1,7 +1,7 @@
--// mksyscall.pl -tags freebsd,amd64 syscall_bsd.go syscall_freebsd.go syscall_freebsd_amd64.go
-+// go run mksyscall.go -tags freebsd,arm64 syscall_bsd.go syscall_freebsd.go syscall_freebsd_arm64.go
- // Code generated by the command above; see README.md. DO NOT EDIT.
-
--// +build freebsd,amd64
-+// +build freebsd,arm64
-
- package unix
-
-@@ -214,22 +214,6 @@ func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, ne
-
- // 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 utimes(path string, timeval *[2]Timeval) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
-@@ -255,9 +239,9 @@ func futimes(fd int, timeval *[2]Timeval) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func fcntl(fd int, cmd int, arg int) (val int, err error) {
-- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-- val = int(r0)
-+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)
- }
-@@ -366,10 +350,25 @@ func Munlockall() (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func pipe() (r int, w int, err error) {
-- r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
-- r = int(r0)
-- w = int(r1)
-+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)
- }
-@@ -388,6 +387,32 @@ 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 {
-+ 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)
-@@ -886,7 +911,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_t) (err error) {
-+func fstat(fd int, stat *stat_freebsd11_t) (err error) {
- _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -896,7 +921,47 @@ func Fstat(fd int, stat *Stat_t) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Fstatfs(fd int, stat *Statfs_t) (err error) {
-+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) {
-+ 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 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) {
- _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -906,6 +971,16 @@ func Fstatfs(fd int, stat *Statfs_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 {
-@@ -926,7 +1001,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 *uintptr) (n int, err error) {
- var _p0 unsafe.Pointer
- if len(buf) > 0 {
- _p0 = unsafe.Pointer(&buf[0])
-@@ -943,6 +1018,23 @@ 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)
-@@ -1164,7 +1256,7 @@ 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_t) (err error) {
-+func lstat(path string, stat *stat_freebsd11_t) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
- if err != nil {
-@@ -1224,7 +1316,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) {
-+func mknod(path string, mode uint32, dev int) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
- if err != nil {
-@@ -1239,6 +1331,36 @@ func Mknod(path string, mode uint32, dev int) (err error) {
-
- // 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) {
-+ 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 {
-@@ -1473,8 +1595,9 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
-- _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-+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)
- }
-@@ -1629,7 +1752,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_t) (err error) {
-+func stat(path string, stat *stat_freebsd11_t) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
- if err != nil {
-@@ -1644,7 +1767,7 @@ func Stat(path string, stat *Stat_t) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Statfs(path string, stat *Statfs_t) (err error) {
-+func statfs(path string, stat *statfs_freebsd11_t) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
- if err != nil {
-@@ -1659,6 +1782,21 @@ func Statfs(path string, stat *Statfs_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_illumos_amd64.go b/vendor/golang.org/x/sys/unix/zsyscall_illumos_amd64.go
-new file mode 100644
-index 00000000..92efa1da
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/zsyscall_illumos_amd64.go
-@@ -0,0 +1,87 @@
-+// go run mksyscall_solaris.go -illumos -tags illumos,amd64 syscall_illumos.go
-+// Code generated by the command above; see README.md. DO NOT EDIT.
-+
-+// +build illumos,amd64
-+
-+package unix
-+
-+import (
-+ "unsafe"
-+)
-+
-+//go:cgo_import_dynamic libc_readv readv "libc.so"
-+//go:cgo_import_dynamic libc_preadv preadv "libc.so"
-+//go:cgo_import_dynamic libc_writev writev "libc.so"
-+//go:cgo_import_dynamic libc_pwritev pwritev "libc.so"
-+
-+//go:linkname procreadv libc_readv
-+//go:linkname procpreadv libc_preadv
-+//go:linkname procwritev libc_writev
-+//go:linkname procpwritev libc_pwritev
-+
-+var (
-+ procreadv,
-+ procpreadv,
-+ procwritev,
-+ procpwritev syscallFunc
-+)
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func readv(fd int, iovs []Iovec) (n int, err error) {
-+ var _p0 *Iovec
-+ if len(iovs) > 0 {
-+ _p0 = &iovs[0]
-+ }
-+ r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procreadv)), 3, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(len(iovs)), 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 preadv(fd int, iovs []Iovec, off int64) (n int, err error) {
-+ var _p0 *Iovec
-+ if len(iovs) > 0 {
-+ _p0 = &iovs[0]
-+ }
-+ r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procpreadv)), 4, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(len(iovs)), uintptr(off), 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 writev(fd int, iovs []Iovec) (n int, err error) {
-+ var _p0 *Iovec
-+ if len(iovs) > 0 {
-+ _p0 = &iovs[0]
-+ }
-+ r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procwritev)), 3, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(len(iovs)), 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 pwritev(fd int, iovs []Iovec, off int64) (n int, err error) {
-+ var _p0 *Iovec
-+ if len(iovs) > 0 {
-+ _p0 = &iovs[0]
-+ }
-+ r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procpwritev)), 4, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(len(iovs)), uintptr(off), 0, 0)
-+ n = int(r0)
-+ if e1 != 0 {
-+ err = e1
-+ }
-+ return
-+}
-diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux_s390x.go b/vendor/golang.org/x/sys/unix/zsyscall_linux.go
-similarity index 79%
-copy from vendor/golang.org/x/sys/unix/zsyscall_linux_s390x.go
-copy to vendor/golang.org/x/sys/unix/zsyscall_linux.go
-index b6ff9e39..fd2dae8e 100644
---- a/vendor/golang.org/x/sys/unix/zsyscall_linux_s390x.go
-+++ b/vendor/golang.org/x/sys/unix/zsyscall_linux.go
-@@ -1,7 +1,6 @@
--// mksyscall.pl -tags linux,s390x syscall_linux.go syscall_linux_s390x.go
--// Code generated by the command above; see README.md. DO NOT EDIT.
-+// Code generated by mkmerge.go; DO NOT EDIT.
-
--// +build linux,s390x
-+// +build linux
-
- package unix
-
-@@ -10,7 +9,16 @@ import (
- "unsafe"
- )
-
--var _ syscall.Errno
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func FanotifyInit(flags uint, event_f_flags uint) (fd int, err error) {
-+ r0, _, e1 := Syscall(SYS_FANOTIFY_INIT, uintptr(flags), uintptr(event_f_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
-
-@@ -143,21 +151,6 @@ func Unlinkat(dirfd int, path string, flags int) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func utimes(path string, times *[2]Timeval) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
-- 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)
-@@ -173,16 +166,6 @@ func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func futimesat(dirfd int, path *byte, times *[2]Timeval) (err error) {
-- _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(times)))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
- func Getcwd(buf []byte) (n int, err error) {
- var _p0 unsafe.Pointer
- if len(buf) > 0 {
-@@ -309,6 +292,36 @@ func keyctlDH(cmd int, arg2 *KeyctlDHParams, buf []byte) (ret int, err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-+func keyctlRestrictKeyringByType(cmd int, arg2 int, keyType string, restriction string) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(keyType)
-+ if err != nil {
-+ return
-+ }
-+ var _p1 *byte
-+ _p1, err = BytePtrFromString(restriction)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(unsafe.Pointer(_p0)), 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 keyctlRestrictKeyring(cmd int, arg2 int) (err error) {
-+ _, _, e1 := Syscall(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
- _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
- if e1 != 0 {
-@@ -412,6 +425,26 @@ func Adjtimex(buf *Timex) (state int, err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-+func Capget(hdr *CapUserHeader, data *CapUserData) (err error) {
-+ _, _, e1 := RawSyscall(SYS_CAPGET, uintptr(unsafe.Pointer(hdr)), uintptr(unsafe.Pointer(data)), 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Capset(hdr *CapUserHeader, data *CapUserData) (err error) {
-+ _, _, e1 := RawSyscall(SYS_CAPSET, uintptr(unsafe.Pointer(hdr)), uintptr(unsafe.Pointer(data)), 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)
-@@ -442,6 +475,16 @@ func Chroot(path string) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-+func ClockGetres(clockid int32, res *Timespec) (err error) {
-+ _, _, e1 := Syscall(SYS_CLOCK_GETRES, uintptr(clockid), uintptr(unsafe.Pointer(res)), 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func ClockGettime(clockid int32, time *Timespec) (err error) {
- _, _, e1 := Syscall(SYS_CLOCK_GETTIME, uintptr(clockid), uintptr(unsafe.Pointer(time)), 0)
- if e1 != 0 {
-@@ -452,6 +495,16 @@ func ClockGettime(clockid int32, time *Timespec) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-+func ClockNanosleep(clockid int32, flags int, request *Timespec, remain *Timespec) (err error) {
-+ _, _, e1 := Syscall6(SYS_CLOCK_NANOSLEEP, uintptr(clockid), uintptr(flags), uintptr(unsafe.Pointer(request)), uintptr(unsafe.Pointer(remain)), 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 {
-@@ -473,9 +526,13 @@ func CopyFileRange(rfd int, roff *int64, wfd int, woff *int64, len int, flags in
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Dup(oldfd int) (fd int, err error) {
-- r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), 0, 0)
-- fd = int(r0)
-+func DeleteModule(name string, flags int) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(name)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall(SYS_DELETE_MODULE, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -484,8 +541,9 @@ func Dup(oldfd int) (fd int, err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Dup3(oldfd int, newfd int, flags int) (err error) {
-- _, _, e1 := Syscall(SYS_DUP3, uintptr(oldfd), uintptr(newfd), uintptr(flags))
-+func Dup(oldfd int) (fd int, err error) {
-+ r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), 0, 0)
-+ fd = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -494,9 +552,8 @@ func Dup3(oldfd int, newfd int, flags int) (err error) {
-
- // 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)
-+func Dup3(oldfd int, newfd int, flags int) (err error) {
-+ _, _, e1 := Syscall(SYS_DUP3, uintptr(oldfd), uintptr(newfd), uintptr(flags))
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -538,19 +595,14 @@ func Eventfd(initval uint, flags int) (fd int, err error) {
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Exit(code int) {
-- Syscall(SYS_EXIT_GROUP, uintptr(code), 0, 0)
-+ SyscallNoError(SYS_EXIT_GROUP, uintptr(code), 0, 0)
- return
- }
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
-+func Fchdir(fd int) (err error) {
-+ _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -559,8 +611,8 @@ func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
-
- // 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)
-+func Fchmod(fd int, mode uint32) (err error) {
-+ _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -569,8 +621,13 @@ func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
-
- // 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)
-+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)
- }
-@@ -579,8 +636,8 @@ func Fchdir(fd int) (err error) {
-
- // 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)
-+func Fdatasync(fd int) (err error) {
-+ _, _, e1 := Syscall(SYS_FDATASYNC, uintptr(fd), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -589,13 +646,20 @@ func Fchmod(fd int, mode uint32) (err error) {
-
- // 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) {
-+func Fgetxattr(fd int, attr string, dest []byte) (sz int, err error) {
- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-+ _p0, err = BytePtrFromString(attr)
- if err != nil {
- return
- }
-- _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
-+ var _p1 unsafe.Pointer
-+ if len(dest) > 0 {
-+ _p1 = unsafe.Pointer(&dest[0])
-+ } else {
-+ _p1 = unsafe.Pointer(&_zero)
-+ }
-+ r0, _, e1 := Syscall6(SYS_FGETXATTR, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)), 0, 0)
-+ sz = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -604,9 +668,13 @@ func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func fcntl(fd int, cmd int, arg int) (val int, err error) {
-- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-- val = int(r0)
-+func FinitModule(fd int, params string, flags int) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(params)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall(SYS_FINIT_MODULE, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(flags))
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -615,8 +683,15 @@ 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 Fdatasync(fd int) (err error) {
-- _, _, e1 := Syscall(SYS_FDATASYNC, uintptr(fd), 0, 0)
-+func Flistxattr(fd int, dest []byte) (sz int, err error) {
-+ var _p0 unsafe.Pointer
-+ if len(dest) > 0 {
-+ _p0 = unsafe.Pointer(&dest[0])
-+ } else {
-+ _p0 = unsafe.Pointer(&_zero)
-+ }
-+ r0, _, e1 := Syscall(SYS_FLISTXATTR, uintptr(fd), uintptr(_p0), uintptr(len(dest)))
-+ sz = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -635,6 +710,42 @@ func Flock(fd int, how int) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-+func Fremovexattr(fd int, attr string) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(attr)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall(SYS_FREMOVEXATTR, uintptr(fd), uintptr(unsafe.Pointer(_p0)), 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Fsetxattr(fd int, attr string, dest []byte, flags int) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(attr)
-+ if err != nil {
-+ return
-+ }
-+ var _p1 unsafe.Pointer
-+ if len(dest) > 0 {
-+ _p1 = unsafe.Pointer(&dest[0])
-+ } else {
-+ _p1 = unsafe.Pointer(&_zero)
-+ }
-+ _, _, e1 := Syscall6(SYS_FSETXATTR, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)), uintptr(flags), 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 {
-@@ -674,7 +785,7 @@ func Getpgid(pid int) (pgid int, err error) {
- // 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, _ := RawSyscallNoError(SYS_GETPID, 0, 0, 0)
- pid = int(r0)
- return
- }
-@@ -682,7 +793,7 @@ func Getpid() (pid int) {
- // 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, _ := RawSyscallNoError(SYS_GETPPID, 0, 0, 0)
- ppid = int(r0)
- return
- }
-@@ -739,7 +850,7 @@ func Getsid(pid int) (sid int, err error) {
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Gettid() (tid int) {
-- r0, _, _ := RawSyscall(SYS_GETTID, 0, 0, 0)
-+ r0, _ := RawSyscallNoError(SYS_GETTID, 0, 0, 0)
- tid = int(r0)
- return
- }
-@@ -773,6 +884,27 @@ func Getxattr(path string, attr string, dest []byte) (sz int, err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-+func InitModule(moduleImage []byte, params string) (err error) {
-+ var _p0 unsafe.Pointer
-+ if len(moduleImage) > 0 {
-+ _p0 = unsafe.Pointer(&moduleImage[0])
-+ } else {
-+ _p0 = unsafe.Pointer(&_zero)
-+ }
-+ var _p1 *byte
-+ _p1, err = BytePtrFromString(params)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall(SYS_INIT_MODULE, uintptr(_p0), uintptr(len(moduleImage)), 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 InotifyAddWatch(fd int, pathname string, mask uint32) (watchdesc int, err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(pathname)
-@@ -955,6 +1087,22 @@ func Lsetxattr(path string, attr string, data []byte, flags int) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-+func MemfdCreate(name string, flags int) (fd int, err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(name)
-+ if err != nil {
-+ return
-+ }
-+ r0, _, e1 := Syscall(SYS_MEMFD_CREATE, 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 Mkdirat(dirfd int, path string, mode uint32) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
-@@ -995,6 +1143,17 @@ func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
-
- // 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)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func PivotRoot(newroot string, putold string) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(newroot)
-@@ -1035,6 +1194,17 @@ func Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-+func Pselect(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timespec, sigmask *Sigset_t) (n int, err error) {
-+ r0, _, e1 := Syscall6(SYS_PSELECT6, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), uintptr(unsafe.Pointer(sigmask)))
-+ 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 {
-@@ -1072,7 +1242,7 @@ func Removexattr(path string, attr string) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
-+func Renameat2(olddirfd int, oldpath string, newdirfd int, newpath string, flags uint) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(oldpath)
- if err != nil {
-@@ -1083,7 +1253,7 @@ func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err e
- if err != nil {
- return
- }
-- _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
-+ _, _, e1 := Syscall6(SYS_RENAMEAT2, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1227,15 +1397,24 @@ func Setxattr(path string, attr string, data []byte, flags int) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Sync() {
-- Syscall(SYS_SYNC, 0, 0, 0)
-+func signalfd(fd int, sigmask *Sigset_t, maskSize uintptr, flags int) (newfd int, err error) {
-+ r0, _, e1 := Syscall6(SYS_SIGNALFD4, uintptr(fd), uintptr(unsafe.Pointer(sigmask)), uintptr(maskSize), uintptr(flags), 0, 0)
-+ newfd = int(r0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
- return
- }
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Syncfs(fd int) (err error) {
-- _, _, e1 := Syscall(SYS_SYNCFS, uintptr(fd), 0, 0)
-+func Statx(dirfd int, path string, flags int, mask int, stat *Statx_t) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall6(SYS_STATX, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), uintptr(mask), uintptr(unsafe.Pointer(stat)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1244,8 +1423,15 @@ func Syncfs(fd int) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Sysinfo(info *Sysinfo_t) (err error) {
-- _, _, e1 := RawSyscall(SYS_SYSINFO, uintptr(unsafe.Pointer(info)), 0, 0)
-+func Sync() {
-+ SyscallNoError(SYS_SYNC, 0, 0, 0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Syncfs(fd int) (err error) {
-+ _, _, e1 := Syscall(SYS_SYNCFS, uintptr(fd), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1254,9 +1440,8 @@ func Sysinfo(info *Sysinfo_t) (err error) {
-
- // 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)
-+func Sysinfo(info *Sysinfo_t) (err error) {
-+ _, _, e1 := RawSyscall(SYS_SYSINFO, uintptr(unsafe.Pointer(info)), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1287,7 +1472,7 @@ func Times(tms *Tms) (ticks uintptr, err error) {
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Umask(mask int) (oldmask int) {
-- r0, _, _ := RawSyscall(SYS_UMASK, uintptr(mask), 0, 0)
-+ r0, _ := RawSyscallNoError(SYS_UMASK, uintptr(mask), 0, 0)
- oldmask = int(r0)
- return
- }
-@@ -1329,16 +1514,6 @@ func Unshare(flags int) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Ustat(dev int, ubuf *Ustat_t) (err error) {
-- _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
- func write(fd int, p []byte) (n int, err error) {
- var _p0 unsafe.Pointer
- if len(p) > 0 {
-@@ -1388,24 +1563,15 @@ func writelen(fd int, p *byte, np int) (n int, err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func munmap(addr uintptr, length uintptr) (err error) {
-- _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Madvise(b []byte, advice int) (err error) {
-+func readv(fd int, iovs []Iovec) (n int, err error) {
- var _p0 unsafe.Pointer
-- if len(b) > 0 {
-- _p0 = unsafe.Pointer(&b[0])
-+ if len(iovs) > 0 {
-+ _p0 = unsafe.Pointer(&iovs[0])
- } else {
- _p0 = unsafe.Pointer(&_zero)
- }
-- _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(advice))
-+ r0, _, e1 := Syscall(SYS_READV, uintptr(fd), uintptr(_p0), uintptr(len(iovs)))
-+ n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1414,14 +1580,15 @@ func Madvise(b []byte, advice int) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Mprotect(b []byte, prot int) (err error) {
-+func writev(fd int, iovs []Iovec) (n int, err error) {
- var _p0 unsafe.Pointer
-- if len(b) > 0 {
-- _p0 = unsafe.Pointer(&b[0])
-+ if len(iovs) > 0 {
-+ _p0 = unsafe.Pointer(&iovs[0])
- } else {
- _p0 = unsafe.Pointer(&_zero)
- }
-- _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
-+ r0, _, e1 := Syscall(SYS_WRITEV, uintptr(fd), uintptr(_p0), uintptr(len(iovs)))
-+ n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1430,14 +1597,15 @@ func Mprotect(b []byte, prot int) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Mlock(b []byte) (err error) {
-+func preadv(fd int, iovs []Iovec, offs_l uintptr, offs_h uintptr) (n int, err error) {
- var _p0 unsafe.Pointer
-- if len(b) > 0 {
-- _p0 = unsafe.Pointer(&b[0])
-+ if len(iovs) > 0 {
-+ _p0 = unsafe.Pointer(&iovs[0])
- } else {
- _p0 = unsafe.Pointer(&_zero)
- }
-- _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
-+ r0, _, e1 := Syscall6(SYS_PREADV, uintptr(fd), uintptr(_p0), uintptr(len(iovs)), uintptr(offs_l), uintptr(offs_h), 0)
-+ n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1446,24 +1614,15 @@ func Mlock(b []byte) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Munlock(b []byte) (err error) {
-+func pwritev(fd int, iovs []Iovec, offs_l uintptr, offs_h uintptr) (n int, err error) {
- var _p0 unsafe.Pointer
-- if len(b) > 0 {
-- _p0 = unsafe.Pointer(&b[0])
-+ if len(iovs) > 0 {
-+ _p0 = unsafe.Pointer(&iovs[0])
- } else {
- _p0 = unsafe.Pointer(&_zero)
- }
-- _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Mlockall(flags int) (err error) {
-- _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
-+ r0, _, e1 := Syscall6(SYS_PWRITEV, uintptr(fd), uintptr(_p0), uintptr(len(iovs)), uintptr(offs_l), uintptr(offs_h), 0)
-+ n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1472,34 +1631,15 @@ func Mlockall(flags int) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Msync(b []byte, flags int) (err error) {
-+func preadv2(fd int, iovs []Iovec, offs_l uintptr, offs_h uintptr, flags int) (n int, err error) {
- var _p0 unsafe.Pointer
-- if len(b) > 0 {
-- _p0 = unsafe.Pointer(&b[0])
-+ if len(iovs) > 0 {
-+ _p0 = unsafe.Pointer(&iovs[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 Munlockall() (err error) {
-- _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Dup2(oldfd int, newfd int) (err error) {
-- _, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0)
-+ r0, _, e1 := Syscall6(SYS_PREADV2, uintptr(fd), uintptr(_p0), uintptr(len(iovs)), uintptr(offs_l), uintptr(offs_h), uintptr(flags))
-+ n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1508,14 +1648,14 @@ func Dup2(oldfd int, newfd int) (err error) {
-
- // 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) {
-+func pwritev2(fd int, iovs []Iovec, offs_l uintptr, offs_h uintptr, flags int) (n int, err error) {
- var _p0 unsafe.Pointer
-- if len(events) > 0 {
-- _p0 = unsafe.Pointer(&events[0])
-+ if len(iovs) > 0 {
-+ _p0 = unsafe.Pointer(&iovs[0])
- } else {
- _p0 = unsafe.Pointer(&_zero)
- }
-- r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
-+ r0, _, e1 := Syscall6(SYS_PWRITEV2, uintptr(fd), uintptr(_p0), uintptr(len(iovs)), uintptr(offs_l), uintptr(offs_h), uintptr(flags))
- n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1525,141 +1665,8 @@ func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Fadvise(fd int, offset int64, length int64, advice int) (err error) {
-- _, _, e1 := Syscall6(SYS_FADVISE64, uintptr(fd), uintptr(offset), uintptr(length), uintptr(advice), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Fchown(fd int, uid int, gid int) (err error) {
-- _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Fstat(fd int, stat *Stat_t) (err error) {
-- _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Fstatfs(fd int, buf *Statfs_t) (err error) {
-- _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(buf)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Ftruncate(fd int, length int64) (err error) {
-- _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), uintptr(length), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getegid() (egid int) {
-- r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0)
-- egid = int(r0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Geteuid() (euid int) {
-- r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
-- euid = int(r0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getgid() (gid int) {
-- r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
-- gid = int(r0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getrlimit(resource int, rlim *Rlimit) (err error) {
-- _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getuid() (uid int) {
-- r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0)
-- uid = int(r0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func InotifyInit() (fd int, err error) {
-- r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT, 0, 0, 0)
-- fd = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Lchown(path string, uid int, gid int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Lstat(path string, stat *Stat_t) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-- 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)
-+func munmap(addr uintptr, length uintptr) (err error) {
-+ _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1668,15 +1675,14 @@ 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 Madvise(b []byte, advice int) (err error) {
- var _p0 unsafe.Pointer
-- if len(p) > 0 {
-- _p0 = unsafe.Pointer(&p[0])
-+ if len(b) > 0 {
-+ _p0 = unsafe.Pointer(&b[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)
-+ _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(advice))
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1685,58 +1691,14 @@ 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 Mprotect(b []byte, prot int) (err error) {
- var _p0 unsafe.Pointer
-- if len(p) > 0 {
-- _p0 = unsafe.Pointer(&p[0])
-+ if len(b) > 0 {
-+ _p0 = unsafe.Pointer(&b[0])
- } else {
- _p0 = unsafe.Pointer(&_zero)
- }
-- r0, _, e1 := Syscall6(SYS_PWRITE64, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Seek(fd int, offset int64, whence int) (off int64, err error) {
-- r0, _, e1 := Syscall(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(whence))
-- off = int64(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
-- r0, _, e1 := Syscall6(SYS_SELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
-- r0, _, e1 := Syscall6(SYS_SENDFILE, uintptr(outfd), uintptr(infd), uintptr(unsafe.Pointer(offset)), uintptr(count), 0, 0)
-- written = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setfsgid(gid int) (err error) {
-- _, _, e1 := Syscall(SYS_SETFSGID, uintptr(gid), 0, 0)
-+ _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1745,18 +1707,14 @@ func Setfsgid(gid int) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Setfsuid(uid int) (err error) {
-- _, _, e1 := Syscall(SYS_SETFSUID, uintptr(uid), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-+func Mlock(b []byte) (err error) {
-+ var _p0 unsafe.Pointer
-+ if len(b) > 0 {
-+ _p0 = unsafe.Pointer(&b[0])
-+ } else {
-+ _p0 = unsafe.Pointer(&_zero)
- }
-- 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)
-+ _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1765,8 +1723,8 @@ func Setregid(rgid int, egid int) (err error) {
-
- // 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))
-+func Mlockall(flags int) (err error) {
-+ _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1775,18 +1733,14 @@ func Setresgid(rgid int, egid int, sgid int) (err error) {
-
- // 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)
-+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)
- }
-- 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)
-+ _, _, e1 := Syscall(SYS_MSYNC, uintptr(_p0), uintptr(len(b)), uintptr(flags))
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1795,19 +1749,14 @@ 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)
-+func Munlock(b []byte) (err error) {
-+ var _p0 unsafe.Pointer
-+ if len(b) > 0 {
-+ _p0 = unsafe.Pointer(&b[0])
-+ } else {
-+ _p0 = unsafe.Pointer(&_zero)
- }
-- 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)
-+ _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1816,13 +1765,8 @@ func Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n i
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Stat(path string, stat *Stat_t) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-+func Munlockall() (err error) {
-+ _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1831,13 +1775,13 @@ func Stat(path string, stat *Stat_t) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Statfs(path string, buf *Statfs_t) (err error) {
-+func faccessat(dirfd int, path string, mode uint32) (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)
-+ _, _, e1 := Syscall(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1846,23 +1790,13 @@ func Statfs(path string, buf *Statfs_t) (err error) {
-
- // 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) {
-+func nameToHandleAt(dirFD int, pathname string, fh *fileHandle, mountID *_C_int, flags int) (err error) {
- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-+ _p0, err = BytePtrFromString(pathname)
- if err != nil {
- return
- }
-- _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), uintptr(length), 0)
-+ _, _, e1 := Syscall6(SYS_NAME_TO_HANDLE_AT, uintptr(dirFD), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(fh)), uintptr(unsafe.Pointer(mountID)), uintptr(flags), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1871,44 +1805,9 @@ func Truncate(path string, length int64) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func getgroups(n int, list *_Gid_t) (nn int, err error) {
-- r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
-- nn = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func setgroups(n int, list *_Gid_t) (err error) {
-- _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Gettimeofday(tv *Timeval) (err error) {
-- _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Utime(path string, buf *Utimbuf) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_UTIME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0)
-+func openByHandleAt(mountFD int, fh *fileHandle, flags int) (fd int, err error) {
-+ r0, _, e1 := Syscall(SYS_OPEN_BY_HANDLE_AT, uintptr(mountFD), uintptr(unsafe.Pointer(fh)), uintptr(flags))
-+ fd = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1924,14 +1823,3 @@ func pipe2(p *[2]_C_int, flags int) (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_386.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_386.go
-index 38c1bbdf..ba63af7b 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 @@
--// mksyscall.pl -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
- // Code generated by the command above; see README.md. DO NOT EDIT.
-
- // +build linux,386
-@@ -14,1259 +14,8 @@ var _ syscall.Errno
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func fchmodat(dirfd int, path string, mode uint32) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_FCHMODAT, 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 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 Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(oldpath)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(newpath)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_LINKAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), uintptr(mode), 0, 0)
-- fd = int(r0)
-- 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)
-- 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 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 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 utimes(path string, times *[2]Timeval) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
-- 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
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func futimesat(dirfd int, path *byte, times *[2]Timeval) (err error) {
-- _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(times)))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getcwd(buf []byte) (n int, err error) {
-- var _p0 unsafe.Pointer
-- if len(buf) > 0 {
-- _p0 = unsafe.Pointer(&buf[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
-- r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
-- wpid = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func 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)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func KeyctlBuffer(cmd int, arg2 int, buf []byte, arg5 int) (ret 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_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(_p0), uintptr(len(buf)), uintptr(arg5), 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 keyctlJoin(cmd int, arg2 string) (ret int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(arg2)
-- if err != nil {
-- return
-- }
-- r0, _, e1 := Syscall(SYS_KEYCTL, uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 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 keyctlSearch(cmd int, arg2 int, arg3 string, arg4 string, arg5 int) (ret int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(arg3)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(arg4)
-- if err != nil {
-- return
-- }
-- r0, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(arg5), 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 keyctlIOV(cmd int, arg2 int, payload []Iovec, arg5 int) (err error) {
-- var _p0 unsafe.Pointer
-- if len(payload) > 0 {
-- _p0 = unsafe.Pointer(&payload[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(_p0), uintptr(len(payload)), uintptr(arg5), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func keyctlDH(cmd int, arg2 *KeyctlDHParams, buf []byte) (ret 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_KEYCTL, uintptr(cmd), uintptr(unsafe.Pointer(arg2)), uintptr(_p0), uintptr(len(buf)), 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 ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
-- _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func reboot(magic1 uint, magic2 uint, cmd int, arg string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(arg)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_REBOOT, uintptr(magic1), uintptr(magic2), uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func mount(source string, target string, fstype string, flags uintptr, data *byte) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(source)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(target)
-- if err != nil {
-- return
-- }
-- var _p2 *byte
-- _p2, err = BytePtrFromString(fstype)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_MOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(flags), uintptr(unsafe.Pointer(data)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Acct(path string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_ACCT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func AddKey(keyType string, description string, payload []byte, ringid int) (id int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(keyType)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(description)
-- if err != nil {
-- return
-- }
-- var _p2 unsafe.Pointer
-- if len(payload) > 0 {
-- _p2 = unsafe.Pointer(&payload[0])
-- } else {
-- _p2 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall6(SYS_ADD_KEY, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(payload)), uintptr(ringid), 0)
-- id = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Adjtimex(buf *Timex) (state int, err error) {
-- r0, _, e1 := Syscall(SYS_ADJTIMEX, uintptr(unsafe.Pointer(buf)), 0, 0)
-- state = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Chdir(path string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-- 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 ClockGettime(clockid int32, time *Timespec) (err error) {
-- _, _, e1 := Syscall(SYS_CLOCK_GETTIME, uintptr(clockid), uintptr(unsafe.Pointer(time)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Close(fd int) (err error) {
-- _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func CopyFileRange(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int, err error) {
-- r0, _, e1 := Syscall6(SYS_COPY_FILE_RANGE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Dup(oldfd int) (fd int, err error) {
-- r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), 0, 0)
-- fd = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Dup3(oldfd int, newfd int, flags int) (err error) {
-- _, _, e1 := Syscall(SYS_DUP3, uintptr(oldfd), uintptr(newfd), uintptr(flags))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func EpollCreate(size int) (fd int, err error) {
-- r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE, uintptr(size), 0, 0)
-- fd = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func EpollCreate1(flag int) (fd int, err error) {
-- r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE1, uintptr(flag), 0, 0)
-- fd = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) {
-- _, _, e1 := RawSyscall6(SYS_EPOLL_CTL, uintptr(epfd), uintptr(op), uintptr(fd), uintptr(unsafe.Pointer(event)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Eventfd(initval uint, flags int) (fd int, err error) {
-- r0, _, e1 := Syscall(SYS_EVENTFD2, uintptr(initval), 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 Exit(code int) {
-- Syscall(SYS_EXIT_GROUP, uintptr(code), 0, 0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
-- _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(off>>32), uintptr(len), uintptr(len>>32))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Fchdir(fd int) (err error) {
-- _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Fchmod(fd int, mode uint32) (err error) {
-- _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func 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 fcntl(fd int, cmd int, arg int) (val int, err error) {
-- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-- val = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Fdatasync(fd int) (err error) {
-- _, _, e1 := Syscall(SYS_FDATASYNC, uintptr(fd), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Flock(fd int, how int) (err error) {
-- _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Fsync(fd int) (err error) {
-- _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getdents(fd int, buf []byte) (n int, err error) {
-- var _p0 unsafe.Pointer
-- if len(buf) > 0 {
-- _p0 = unsafe.Pointer(&buf[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_GETDENTS64, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getpgid(pid int) (pgid int, err error) {
-- r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
-- pgid = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getpid() (pid int) {
-- r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
-- pid = int(r0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getppid() (ppid int) {
-- r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
-- ppid = int(r0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getpriority(which int, who int) (prio int, err error) {
-- r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
-- prio = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getrandom(buf []byte, flags int) (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_GETRANDOM, uintptr(_p0), uintptr(len(buf)), 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 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 Gettid() (tid int) {
-- r0, _, _ := RawSyscall(SYS_GETTID, 0, 0, 0)
-- tid = int(r0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getxattr(path string, attr string, dest []byte) (sz int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(attr)
-- if err != nil {
-- return
-- }
-- var _p2 unsafe.Pointer
-- if len(dest) > 0 {
-- _p2 = unsafe.Pointer(&dest[0])
-- } else {
-- _p2 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall6(SYS_GETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
-- sz = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func InotifyAddWatch(fd int, pathname string, mask uint32) (watchdesc int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(pathname)
-- if err != nil {
-- return
-- }
-- r0, _, e1 := Syscall(SYS_INOTIFY_ADD_WATCH, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mask))
-- watchdesc = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func InotifyInit1(flags int) (fd int, err error) {
-- r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT1, uintptr(flags), 0, 0)
-- fd = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func InotifyRmWatch(fd int, watchdesc uint32) (success int, err error) {
-- r0, _, e1 := RawSyscall(SYS_INOTIFY_RM_WATCH, uintptr(fd), uintptr(watchdesc), 0)
-- success = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Kill(pid int, sig syscall.Signal) (err error) {
-- _, _, e1 := RawSyscall(SYS_KILL, uintptr(pid), uintptr(sig), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Klogctl(typ int, buf []byte) (n int, err error) {
-- var _p0 unsafe.Pointer
-- if len(buf) > 0 {
-- _p0 = unsafe.Pointer(&buf[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_SYSLOG, uintptr(typ), uintptr(_p0), uintptr(len(buf)))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Lgetxattr(path string, attr string, dest []byte) (sz int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(attr)
-- if err != nil {
-- return
-- }
-- var _p2 unsafe.Pointer
-- if len(dest) > 0 {
-- _p2 = unsafe.Pointer(&dest[0])
-- } else {
-- _p2 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall6(SYS_LGETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
-- sz = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Listxattr(path string, dest []byte) (sz int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 unsafe.Pointer
-- if len(dest) > 0 {
-- _p1 = unsafe.Pointer(&dest[0])
-- } else {
-- _p1 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_LISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
-- sz = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Llistxattr(path string, dest []byte) (sz int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 unsafe.Pointer
-- if len(dest) > 0 {
-- _p1 = unsafe.Pointer(&dest[0])
-- } else {
-- _p1 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_LLISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
-- sz = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Lremovexattr(path string, attr string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(attr)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_LREMOVEXATTR, 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 Lsetxattr(path string, attr string, data []byte, flags int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(attr)
-- if err != nil {
-- return
-- }
-- var _p2 unsafe.Pointer
-- if len(data) > 0 {
-- _p2 = unsafe.Pointer(&data[0])
-- } else {
-- _p2 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall6(SYS_LSETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 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 Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
-- _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func PivotRoot(newroot string, putold string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(newroot)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(putold)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_PIVOT_ROOT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func prlimit(pid int, resource int, 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)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error) {
-- _, _, e1 := Syscall6(SYS_PRCTL, uintptr(option), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func read(fd int, p []byte) (n int, err error) {
-- var _p0 unsafe.Pointer
-- if len(p) > 0 {
-- _p0 = unsafe.Pointer(&p[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Removexattr(path string, attr string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(attr)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_REMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(oldpath)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(newpath)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func RequestKey(keyType string, description string, callback string, destRingid int) (id int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(keyType)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(description)
-- if err != nil {
-- return
-- }
-- var _p2 *byte
-- _p2, err = BytePtrFromString(callback)
-- if err != nil {
-- return
-- }
-- r0, _, e1 := Syscall6(SYS_REQUEST_KEY, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(destRingid), 0, 0)
-- id = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setdomainname(p []byte) (err error) {
-- var _p0 unsafe.Pointer
-- if len(p) > 0 {
-- _p0 = unsafe.Pointer(&p[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_SETDOMAINNAME, uintptr(_p0), uintptr(len(p)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Sethostname(p []byte) (err error) {
-- var _p0 unsafe.Pointer
-- if len(p) > 0 {
-- _p0 = unsafe.Pointer(&p[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_SETHOSTNAME, uintptr(_p0), uintptr(len(p)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setpgid(pid int, pgid int) (err error) {
-- _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setsid() (pid int, err error) {
-- r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
-- pid = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Settimeofday(tv *Timeval) (err error) {
-- _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setns(fd int, nstype int) (err error) {
-- _, _, e1 := Syscall(SYS_SETNS, uintptr(fd), uintptr(nstype), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setpriority(which int, who int, prio int) (err error) {
-- _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setxattr(path string, attr string, data []byte, flags int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(attr)
-- if err != nil {
-- return
-- }
-- var _p2 unsafe.Pointer
-- if len(data) > 0 {
-- _p2 = unsafe.Pointer(&data[0])
-- } else {
-- _p2 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall6(SYS_SETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Sync() {
-- Syscall(SYS_SYNC, 0, 0, 0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Syncfs(fd int) (err error) {
-- _, _, e1 := Syscall(SYS_SYNCFS, 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 Sysinfo(info *Sysinfo_t) (err error) {
-- _, _, e1 := RawSyscall(SYS_SYSINFO, uintptr(unsafe.Pointer(info)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) {
-- r0, r1, e1 := Syscall6(SYS_TEE, uintptr(rfd), uintptr(wfd), uintptr(len), uintptr(flags), 0, 0)
-- n = int64(int64(r1)<<32 | int64(r0))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Tgkill(tgid int, tid int, sig syscall.Signal) (err error) {
-- _, _, e1 := RawSyscall(SYS_TGKILL, uintptr(tgid), uintptr(tid), uintptr(sig))
-+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(mask>>32), uintptr(dirFd), uintptr(unsafe.Pointer(pathname)))
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1275,9 +24,8 @@ func Tgkill(tgid int, tid int, sig syscall.Signal) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Times(tms *Tms) (ticks uintptr, err error) {
-- r0, _, e1 := RawSyscall(SYS_TIMES, uintptr(unsafe.Pointer(tms)), 0, 0)
-- ticks = uintptr(r0)
-+func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
-+ _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(off>>32), uintptr(len), uintptr(len>>32))
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1286,16 +34,9 @@ func Times(tms *Tms) (ticks uintptr, err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Umask(mask int) (oldmask int) {
-- r0, _, _ := RawSyscall(SYS_UMASK, uintptr(mask), 0, 0)
-- oldmask = int(r0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Uname(buf *Utsname) (err error) {
-- _, _, e1 := RawSyscall(SYS_UNAME, uintptr(unsafe.Pointer(buf)), 0, 0)
-+func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) {
-+ r0, r1, e1 := Syscall6(SYS_TEE, uintptr(rfd), uintptr(wfd), uintptr(len), uintptr(flags), 0, 0)
-+ n = int64(int64(r1)<<32 | int64(r0))
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1304,13 +45,8 @@ func Uname(buf *Utsname) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Unmount(target string, flags int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(target)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_UMOUNT2, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-+func pipe(p *[2]_C_int) (err error) {
-+ _, _, e1 := RawSyscall(SYS_PIPE, uintptr(unsafe.Pointer(p)), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1319,8 +55,8 @@ func Unmount(target string, flags int) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Unshare(flags int) (err error) {
-- _, _, e1 := Syscall(SYS_UNSHARE, uintptr(flags), 0, 0)
-+func Dup2(oldfd int, newfd int) (err error) {
-+ _, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1329,8 +65,9 @@ func Unshare(flags int) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Ustat(dev int, ubuf *Ustat_t) (err error) {
-- _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
-+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)
- }
-@@ -1339,46 +76,14 @@ func Ustat(dev int, ubuf *Ustat_t) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func write(fd int, p []byte) (n int, err error) {
-+func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
- var _p0 unsafe.Pointer
-- if len(p) > 0 {
-- _p0 = unsafe.Pointer(&p[0])
-+ if len(events) > 0 {
-+ _p0 = unsafe.Pointer(&events[0])
- } else {
- _p0 = unsafe.Pointer(&_zero)
- }
-- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func exitThread(code int) (err error) {
-- _, _, e1 := Syscall(SYS_EXIT, uintptr(code), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func readlen(fd int, p *byte, np int) (n int, err error) {
-- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func writelen(fd int, p *byte, np int) (n int, err error) {
-- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
-+ r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
- n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1388,128 +93,8 @@ func writelen(fd int, p *byte, np int) (n int, err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func munmap(addr uintptr, length uintptr) (err error) {
-- _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Madvise(b []byte, advice int) (err error) {
-- var _p0 unsafe.Pointer
-- if len(b) > 0 {
-- _p0 = unsafe.Pointer(&b[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(advice))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Mprotect(b []byte, prot int) (err error) {
-- var _p0 unsafe.Pointer
-- if len(b) > 0 {
-- _p0 = unsafe.Pointer(&b[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Mlock(b []byte) (err error) {
-- var _p0 unsafe.Pointer
-- if len(b) > 0 {
-- _p0 = unsafe.Pointer(&b[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Munlock(b []byte) (err error) {
-- var _p0 unsafe.Pointer
-- if len(b) > 0 {
-- _p0 = unsafe.Pointer(&b[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Mlockall(flags int) (err error) {
-- _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func 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 Munlockall() (err error) {
-- _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func pipe(p *[2]_C_int) (err error) {
-- _, _, e1 := RawSyscall(SYS_PIPE, uintptr(unsafe.Pointer(p)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func pipe2(p *[2]_C_int, flags int) (err error) {
-- _, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0)
-+func Fadvise(fd int, offset int64, length int64, advice int) (err error) {
-+ _, _, e1 := Syscall6(SYS_FADVISE64_64, uintptr(fd), uintptr(offset), uintptr(offset>>32), uintptr(length), uintptr(length>>32), uintptr(advice))
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1518,8 +103,8 @@ func pipe2(p *[2]_C_int, flags 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)
-+func Fchown(fd int, uid int, gid int) (err error) {
-+ _, _, e1 := Syscall(SYS_FCHOWN32, uintptr(fd), uintptr(uid), uintptr(gid))
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1528,8 +113,8 @@ func Dup2(oldfd int, newfd int) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Fadvise(fd int, offset int64, length int64, advice int) (err error) {
-- _, _, e1 := Syscall6(SYS_FADVISE64_64, uintptr(fd), uintptr(offset), uintptr(offset>>32), uintptr(length), uintptr(length>>32), uintptr(advice))
-+func Fstat(fd int, stat *Stat_t) (err error) {
-+ _, _, e1 := Syscall(SYS_FSTAT64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1538,18 +123,13 @@ 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 Fchown(fd int, uid int, gid int) (err error) {
-- _, _, e1 := Syscall(SYS_FCHOWN32, uintptr(fd), uintptr(uid), uintptr(gid))
-- if e1 != 0 {
-- err = errnoErr(e1)
-+func Fstatat(dirfd int, path string, stat *Stat_t, flags int) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Fstat(fd int, stat *Stat_t) (err error) {
-- _, _, e1 := Syscall(SYS_FSTAT64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-+ _, _, e1 := Syscall6(SYS_FSTATAT64, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1569,7 +149,7 @@ func Ftruncate(fd int, length int64) (err error) {
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Getegid() (egid int) {
-- r0, _, _ := RawSyscall(SYS_GETEGID32, 0, 0, 0)
-+ r0, _ := RawSyscallNoError(SYS_GETEGID32, 0, 0, 0)
- egid = int(r0)
- return
- }
-@@ -1577,7 +157,7 @@ func Getegid() (egid int) {
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Geteuid() (euid int) {
-- r0, _, _ := RawSyscall(SYS_GETEUID32, 0, 0, 0)
-+ r0, _ := RawSyscallNoError(SYS_GETEUID32, 0, 0, 0)
- euid = int(r0)
- return
- }
-@@ -1585,7 +165,7 @@ func Geteuid() (euid int) {
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Getgid() (gid int) {
-- r0, _, _ := RawSyscall(SYS_GETGID32, 0, 0, 0)
-+ r0, _ := RawSyscallNoError(SYS_GETGID32, 0, 0, 0)
- gid = int(r0)
- return
- }
-@@ -1593,7 +173,7 @@ func Getgid() (gid int) {
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Getuid() (uid int) {
-- r0, _, _ := RawSyscall(SYS_GETUID32, 0, 0, 0)
-+ r0, _ := RawSyscallNoError(SYS_GETUID32, 0, 0, 0)
- uid = int(r0)
- return
- }
-@@ -1695,6 +275,26 @@ func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-+func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(oldpath)
-+ if err != nil {
-+ return
-+ }
-+ var _p1 *byte
-+ _p1, err = BytePtrFromString(newpath)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
- r0, _, e1 := Syscall6(SYS_SENDFILE64, uintptr(outfd), uintptr(infd), uintptr(unsafe.Pointer(offset)), uintptr(count), 0, 0)
- written = int(r0)
-@@ -1706,8 +306,9 @@ func sendfile(outfd int, infd int, offset *int64, count int) (written int, err e
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Setfsgid(gid int) (err error) {
-- _, _, e1 := Syscall(SYS_SETFSGID32, uintptr(gid), 0, 0)
-+func setfsgid(gid int) (prev int, err error) {
-+ r0, _, e1 := Syscall(SYS_SETFSGID32, uintptr(gid), 0, 0)
-+ prev = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1716,8 +317,9 @@ func Setfsgid(gid int) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Setfsuid(uid int) (err error) {
-- _, _, e1 := Syscall(SYS_SETFSUID32, uintptr(uid), 0, 0)
-+func setfsuid(uid int) (prev int, err error) {
-+ r0, _, e1 := Syscall(SYS_SETFSUID32, uintptr(uid), 0, 0)
-+ prev = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1817,6 +419,16 @@ func Truncate(path string, length int64) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-+func Ustat(dev int, ubuf *Ustat_t) (err error) {
-+ _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func getgroups(n int, list *_Gid_t) (nn int, err error) {
- r0, _, e1 := RawSyscall(SYS_GETGROUPS32, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
- nn = int(r0)
-@@ -1860,15 +472,8 @@ func mmap2(addr uintptr, length uintptr, prot int, flags int, fd int, pageOffset
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
-- var _p0 unsafe.Pointer
-- if len(events) > 0 {
-- _p0 = unsafe.Pointer(&events[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
-- n = int(r0)
-+func Pause() (err error) {
-+ _, _, e1 := Syscall(SYS_PAUSE, 0, 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1877,8 +482,8 @@ func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Pause() (err error) {
-- _, _, e1 := Syscall(SYS_PAUSE, 0, 0, 0)
-+func getrlimit(resource int, rlim *rlimit32) (err error) {
-+ _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1887,8 +492,8 @@ func Pause() (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func getrlimit(resource int, rlim *rlimit32) (err error) {
-- _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
-+func setrlimit(resource int, rlim *rlimit32) (err error) {
-+ _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1897,8 +502,13 @@ func getrlimit(resource int, rlim *rlimit32) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func setrlimit(resource int, rlim *rlimit32) (err error) {
-- _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
-+func futimesat(dirfd int, path string, times *[2]Timeval) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)))
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1943,6 +553,21 @@ func Utime(path string, buf *Utimbuf) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-+func utimes(path string, times *[2]Timeval) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
-+ 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)
-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 dc8fe0a8..f64adef4 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 @@
--// mksyscall.pl -tags linux,amd64 syscall_linux.go syscall_linux_amd64.go
-+// go run mksyscall.go -tags linux,amd64 syscall_linux.go syscall_linux_amd64.go
- // Code generated by the command above; see README.md. DO NOT EDIT.
-
- // +build linux,amd64
-@@ -14,1446 +14,8 @@ var _ syscall.Errno
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func fchmodat(dirfd int, path string, mode uint32) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_FCHMODAT, 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 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 Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(oldpath)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(newpath)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_LINKAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), uintptr(mode), 0, 0)
-- fd = int(r0)
-- 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)
-- 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 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 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 utimes(path string, times *[2]Timeval) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
-- 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
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func futimesat(dirfd int, path *byte, times *[2]Timeval) (err error) {
-- _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(times)))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getcwd(buf []byte) (n int, err error) {
-- var _p0 unsafe.Pointer
-- if len(buf) > 0 {
-- _p0 = unsafe.Pointer(&buf[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
-- r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
-- wpid = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func 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)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func KeyctlBuffer(cmd int, arg2 int, buf []byte, arg5 int) (ret 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_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(_p0), uintptr(len(buf)), uintptr(arg5), 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 keyctlJoin(cmd int, arg2 string) (ret int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(arg2)
-- if err != nil {
-- return
-- }
-- r0, _, e1 := Syscall(SYS_KEYCTL, uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 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 keyctlSearch(cmd int, arg2 int, arg3 string, arg4 string, arg5 int) (ret int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(arg3)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(arg4)
-- if err != nil {
-- return
-- }
-- r0, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(arg5), 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 keyctlIOV(cmd int, arg2 int, payload []Iovec, arg5 int) (err error) {
-- var _p0 unsafe.Pointer
-- if len(payload) > 0 {
-- _p0 = unsafe.Pointer(&payload[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(_p0), uintptr(len(payload)), uintptr(arg5), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func keyctlDH(cmd int, arg2 *KeyctlDHParams, buf []byte) (ret 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_KEYCTL, uintptr(cmd), uintptr(unsafe.Pointer(arg2)), uintptr(_p0), uintptr(len(buf)), 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 ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
-- _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func reboot(magic1 uint, magic2 uint, cmd int, arg string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(arg)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_REBOOT, uintptr(magic1), uintptr(magic2), uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func mount(source string, target string, fstype string, flags uintptr, data *byte) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(source)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(target)
-- if err != nil {
-- return
-- }
-- var _p2 *byte
-- _p2, err = BytePtrFromString(fstype)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_MOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(flags), uintptr(unsafe.Pointer(data)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Acct(path string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_ACCT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func AddKey(keyType string, description string, payload []byte, ringid int) (id int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(keyType)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(description)
-- if err != nil {
-- return
-- }
-- var _p2 unsafe.Pointer
-- if len(payload) > 0 {
-- _p2 = unsafe.Pointer(&payload[0])
-- } else {
-- _p2 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall6(SYS_ADD_KEY, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(payload)), uintptr(ringid), 0)
-- id = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Adjtimex(buf *Timex) (state int, err error) {
-- r0, _, e1 := Syscall(SYS_ADJTIMEX, uintptr(unsafe.Pointer(buf)), 0, 0)
-- state = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Chdir(path string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-- 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 ClockGettime(clockid int32, time *Timespec) (err error) {
-- _, _, e1 := Syscall(SYS_CLOCK_GETTIME, uintptr(clockid), uintptr(unsafe.Pointer(time)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Close(fd int) (err error) {
-- _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func CopyFileRange(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int, err error) {
-- r0, _, e1 := Syscall6(SYS_COPY_FILE_RANGE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Dup(oldfd int) (fd int, err error) {
-- r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), 0, 0)
-- fd = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Dup3(oldfd int, newfd int, flags int) (err error) {
-- _, _, e1 := Syscall(SYS_DUP3, uintptr(oldfd), uintptr(newfd), uintptr(flags))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func EpollCreate(size int) (fd int, err error) {
-- r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE, uintptr(size), 0, 0)
-- fd = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func EpollCreate1(flag int) (fd int, err error) {
-- r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE1, uintptr(flag), 0, 0)
-- fd = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) {
-- _, _, e1 := RawSyscall6(SYS_EPOLL_CTL, uintptr(epfd), uintptr(op), uintptr(fd), uintptr(unsafe.Pointer(event)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Eventfd(initval uint, flags int) (fd int, err error) {
-- r0, _, e1 := Syscall(SYS_EVENTFD2, uintptr(initval), 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 Exit(code int) {
-- Syscall(SYS_EXIT_GROUP, uintptr(code), 0, 0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
-- _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(len), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Fchdir(fd int) (err error) {
-- _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Fchmod(fd int, mode uint32) (err error) {
-- _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func 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 fcntl(fd int, cmd int, arg int) (val int, err error) {
-- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-- val = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Fdatasync(fd int) (err error) {
-- _, _, e1 := Syscall(SYS_FDATASYNC, uintptr(fd), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Flock(fd int, how int) (err error) {
-- _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Fsync(fd int) (err error) {
-- _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getdents(fd int, buf []byte) (n int, err error) {
-- var _p0 unsafe.Pointer
-- if len(buf) > 0 {
-- _p0 = unsafe.Pointer(&buf[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_GETDENTS64, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getpgid(pid int) (pgid int, err error) {
-- r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
-- pgid = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getpid() (pid int) {
-- r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
-- pid = int(r0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getppid() (ppid int) {
-- r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
-- ppid = int(r0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getpriority(which int, who int) (prio int, err error) {
-- r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
-- prio = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getrandom(buf []byte, flags int) (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_GETRANDOM, uintptr(_p0), uintptr(len(buf)), 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 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 Gettid() (tid int) {
-- r0, _, _ := RawSyscall(SYS_GETTID, 0, 0, 0)
-- tid = int(r0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getxattr(path string, attr string, dest []byte) (sz int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(attr)
-- if err != nil {
-- return
-- }
-- var _p2 unsafe.Pointer
-- if len(dest) > 0 {
-- _p2 = unsafe.Pointer(&dest[0])
-- } else {
-- _p2 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall6(SYS_GETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
-- sz = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func InotifyAddWatch(fd int, pathname string, mask uint32) (watchdesc int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(pathname)
-- if err != nil {
-- return
-- }
-- r0, _, e1 := Syscall(SYS_INOTIFY_ADD_WATCH, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mask))
-- watchdesc = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func InotifyInit1(flags int) (fd int, err error) {
-- r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT1, uintptr(flags), 0, 0)
-- fd = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func InotifyRmWatch(fd int, watchdesc uint32) (success int, err error) {
-- r0, _, e1 := RawSyscall(SYS_INOTIFY_RM_WATCH, uintptr(fd), uintptr(watchdesc), 0)
-- success = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Kill(pid int, sig syscall.Signal) (err error) {
-- _, _, e1 := RawSyscall(SYS_KILL, uintptr(pid), uintptr(sig), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Klogctl(typ int, buf []byte) (n int, err error) {
-- var _p0 unsafe.Pointer
-- if len(buf) > 0 {
-- _p0 = unsafe.Pointer(&buf[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_SYSLOG, uintptr(typ), uintptr(_p0), uintptr(len(buf)))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Lgetxattr(path string, attr string, dest []byte) (sz int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(attr)
-- if err != nil {
-- return
-- }
-- var _p2 unsafe.Pointer
-- if len(dest) > 0 {
-- _p2 = unsafe.Pointer(&dest[0])
-- } else {
-- _p2 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall6(SYS_LGETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
-- sz = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Listxattr(path string, dest []byte) (sz int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 unsafe.Pointer
-- if len(dest) > 0 {
-- _p1 = unsafe.Pointer(&dest[0])
-- } else {
-- _p1 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_LISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
-- sz = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Llistxattr(path string, dest []byte) (sz int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 unsafe.Pointer
-- if len(dest) > 0 {
-- _p1 = unsafe.Pointer(&dest[0])
-- } else {
-- _p1 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_LLISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
-- sz = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Lremovexattr(path string, attr string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(attr)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_LREMOVEXATTR, 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 Lsetxattr(path string, attr string, data []byte, flags int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(attr)
-- if err != nil {
-- return
-- }
-- var _p2 unsafe.Pointer
-- if len(data) > 0 {
-- _p2 = unsafe.Pointer(&data[0])
-- } else {
-- _p2 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall6(SYS_LSETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 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 Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
-- _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func PivotRoot(newroot string, putold string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(newroot)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(putold)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_PIVOT_ROOT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func prlimit(pid int, resource int, 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)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error) {
-- _, _, e1 := Syscall6(SYS_PRCTL, uintptr(option), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func read(fd int, p []byte) (n int, err error) {
-- var _p0 unsafe.Pointer
-- if len(p) > 0 {
-- _p0 = unsafe.Pointer(&p[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Removexattr(path string, attr string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(attr)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_REMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(oldpath)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(newpath)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func RequestKey(keyType string, description string, callback string, destRingid int) (id int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(keyType)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(description)
-- if err != nil {
-- return
-- }
-- var _p2 *byte
-- _p2, err = BytePtrFromString(callback)
-- if err != nil {
-- return
-- }
-- r0, _, e1 := Syscall6(SYS_REQUEST_KEY, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(destRingid), 0, 0)
-- id = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setdomainname(p []byte) (err error) {
-- var _p0 unsafe.Pointer
-- if len(p) > 0 {
-- _p0 = unsafe.Pointer(&p[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_SETDOMAINNAME, uintptr(_p0), uintptr(len(p)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Sethostname(p []byte) (err error) {
-- var _p0 unsafe.Pointer
-- if len(p) > 0 {
-- _p0 = unsafe.Pointer(&p[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_SETHOSTNAME, uintptr(_p0), uintptr(len(p)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setpgid(pid int, pgid int) (err error) {
-- _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setsid() (pid int, err error) {
-- r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
-- pid = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Settimeofday(tv *Timeval) (err error) {
-- _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setns(fd int, nstype int) (err error) {
-- _, _, e1 := Syscall(SYS_SETNS, uintptr(fd), uintptr(nstype), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setpriority(which int, who int, prio int) (err error) {
-- _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setxattr(path string, attr string, data []byte, flags int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(attr)
-- if err != nil {
-- return
-- }
-- var _p2 unsafe.Pointer
-- if len(data) > 0 {
-- _p2 = unsafe.Pointer(&data[0])
-- } else {
-- _p2 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall6(SYS_SETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Sync() {
-- Syscall(SYS_SYNC, 0, 0, 0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Syncfs(fd int) (err error) {
-- _, _, e1 := Syscall(SYS_SYNCFS, 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 Sysinfo(info *Sysinfo_t) (err error) {
-- _, _, e1 := RawSyscall(SYS_SYSINFO, uintptr(unsafe.Pointer(info)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) {
-- r0, _, e1 := Syscall6(SYS_TEE, uintptr(rfd), uintptr(wfd), uintptr(len), uintptr(flags), 0, 0)
-- n = int64(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Tgkill(tgid int, tid int, sig syscall.Signal) (err error) {
-- _, _, e1 := RawSyscall(SYS_TGKILL, uintptr(tgid), uintptr(tid), uintptr(sig))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Times(tms *Tms) (ticks uintptr, err error) {
-- r0, _, e1 := RawSyscall(SYS_TIMES, uintptr(unsafe.Pointer(tms)), 0, 0)
-- ticks = uintptr(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Umask(mask int) (oldmask int) {
-- r0, _, _ := RawSyscall(SYS_UMASK, uintptr(mask), 0, 0)
-- oldmask = int(r0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Uname(buf *Utsname) (err error) {
-- _, _, e1 := RawSyscall(SYS_UNAME, uintptr(unsafe.Pointer(buf)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Unmount(target string, flags int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(target)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_UMOUNT2, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Unshare(flags int) (err error) {
-- _, _, e1 := Syscall(SYS_UNSHARE, uintptr(flags), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Ustat(dev int, ubuf *Ustat_t) (err error) {
-- _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func write(fd int, p []byte) (n int, err error) {
-- var _p0 unsafe.Pointer
-- if len(p) > 0 {
-- _p0 = unsafe.Pointer(&p[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func exitThread(code int) (err error) {
-- _, _, e1 := Syscall(SYS_EXIT, uintptr(code), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func readlen(fd int, p *byte, np int) (n int, err error) {
-- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func writelen(fd int, p *byte, np int) (n int, err error) {
-- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func munmap(addr uintptr, length uintptr) (err error) {
-- _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Madvise(b []byte, advice int) (err error) {
-- var _p0 unsafe.Pointer
-- if len(b) > 0 {
-- _p0 = unsafe.Pointer(&b[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(advice))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Mprotect(b []byte, prot int) (err error) {
-- var _p0 unsafe.Pointer
-- if len(b) > 0 {
-- _p0 = unsafe.Pointer(&b[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Mlock(b []byte) (err error) {
-- var _p0 unsafe.Pointer
-- if len(b) > 0 {
-- _p0 = unsafe.Pointer(&b[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Munlock(b []byte) (err error) {
-- var _p0 unsafe.Pointer
-- if len(b) > 0 {
-- _p0 = unsafe.Pointer(&b[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
-+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)
- }
-@@ -1462,8 +24,8 @@ func Munlock(b []byte) (err error) {
-
- // 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)
-+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)
- }
-@@ -1472,14 +34,9 @@ func Mlockall(flags int) (err error) {
-
- // 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))
-+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)
- }
-@@ -1488,8 +45,8 @@ func Msync(b []byte, flags int) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Munlockall() (err error) {
-- _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
-+func Dup2(oldfd int, newfd int) (err error) {
-+ _, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1498,8 +55,9 @@ func Munlockall() (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)
-+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)
- }
-@@ -1555,6 +113,21 @@ func Fstat(fd int, stat *Stat_t) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-+func Fstatat(dirfd int, path string, stat *Stat_t, flags int) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall6(SYS_NEWFSTATAT, uintptr(dirfd), 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, buf *Statfs_t) (err error) {
- _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(buf)), 0)
- if e1 != 0 {
-@@ -1576,7 +149,7 @@ func Ftruncate(fd int, length int64) (err error) {
- // 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, _ := RawSyscallNoError(SYS_GETEGID, 0, 0, 0)
- egid = int(r0)
- return
- }
-@@ -1584,7 +157,7 @@ func Getegid() (egid int) {
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Geteuid() (euid int) {
-- r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
-+ r0, _ := RawSyscallNoError(SYS_GETEUID, 0, 0, 0)
- euid = int(r0)
- return
- }
-@@ -1592,7 +165,7 @@ func Geteuid() (euid int) {
- // 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, _ := RawSyscallNoError(SYS_GETGID, 0, 0, 0)
- gid = int(r0)
- return
- }
-@@ -1610,14 +183,14 @@ func Getrlimit(resource int, rlim *Rlimit) (err error) {
- // 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, _ := RawSyscallNoError(SYS_GETUID, 0, 0, 0)
- uid = int(r0)
- return
- }
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func InotifyInit() (fd int, err error) {
-+func inotifyInit() (fd int, err error) {
- r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT, 0, 0, 0)
- fd = int(r0)
- if e1 != 0 {
-@@ -1673,21 +246,6 @@ func Listen(s int, n int) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Lstat(path string, stat *Stat_t) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-- 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 {
-@@ -1732,9 +290,18 @@ func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
-
- // 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)
-+func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(oldpath)
-+ if err != nil {
-+ return
-+ }
-+ var _p1 *byte
-+ _p1, err = BytePtrFromString(newpath)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1743,9 +310,9 @@ func Seek(fd int, offset int64, whence int) (off int64, err error) {
-
- // 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)
-+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)
- }
-@@ -1765,8 +332,9 @@ func sendfile(outfd int, infd int, offset *int64, count int) (written int, err e
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Setfsgid(gid int) (err error) {
-- _, _, e1 := Syscall(SYS_SETFSGID, uintptr(gid), 0, 0)
-+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)
- }
-@@ -1775,8 +343,9 @@ func Setfsgid(gid int) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Setfsuid(uid int) (err error) {
-- _, _, e1 := Syscall(SYS_SETFSUID, uintptr(uid), 0, 0)
-+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)
- }
-@@ -1856,21 +425,6 @@ func Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n i
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Stat(path string, stat *Stat_t) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-- 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)
-@@ -1911,6 +465,16 @@ func Truncate(path string, length int64) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-+func Ustat(dev int, ubuf *Ustat_t) (err error) {
-+ _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func 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)
-@@ -2101,6 +665,21 @@ func mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int6
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-+func futimesat(dirfd int, path string, times *[2]Timeval) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)))
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Utime(path string, buf *Utimbuf) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
-@@ -2116,8 +695,13 @@ func Utime(path string, buf *Utimbuf) (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)
-+func utimes(path string, times *[2]Timeval) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -2126,8 +710,8 @@ func pipe(p *[2]_C_int) (err error) {
-
- // 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 pipe(p *[2]_C_int) (err error) {
-+ _, _, e1 := RawSyscall(SYS_PIPE, uintptr(unsafe.Pointer(p)), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -2144,3 +728,18 @@ func poll(fds *PollFd, nfds int, timeout int) (n int, err error) {
- }
- 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_arm.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_arm.go
-index 4d280427..ac19523e 100644
---- a/vendor/golang.org/x/sys/unix/zsyscall_linux_arm.go
-+++ b/vendor/golang.org/x/sys/unix/zsyscall_linux_arm.go
-@@ -1,4 +1,4 @@
--// mksyscall.pl -l32 -arm -tags linux,arm syscall_linux.go syscall_linux_arm.go
-+// go run mksyscall.go -l32 -arm -tags linux,arm syscall_linux.go syscall_linux_arm.go
- // Code generated by the command above; see README.md. DO NOT EDIT.
-
- // +build linux,arm
-@@ -14,1456 +14,8 @@ var _ syscall.Errno
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func fchmodat(dirfd int, path string, mode uint32) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_FCHMODAT, 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 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 Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(oldpath)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(newpath)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_LINKAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), uintptr(mode), 0, 0)
-- fd = int(r0)
-- 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)
-- 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 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 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 utimes(path string, times *[2]Timeval) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
-- 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
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func futimesat(dirfd int, path *byte, times *[2]Timeval) (err error) {
-- _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(times)))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getcwd(buf []byte) (n int, err error) {
-- var _p0 unsafe.Pointer
-- if len(buf) > 0 {
-- _p0 = unsafe.Pointer(&buf[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
-- r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
-- wpid = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func 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)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func KeyctlBuffer(cmd int, arg2 int, buf []byte, arg5 int) (ret 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_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(_p0), uintptr(len(buf)), uintptr(arg5), 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 keyctlJoin(cmd int, arg2 string) (ret int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(arg2)
-- if err != nil {
-- return
-- }
-- r0, _, e1 := Syscall(SYS_KEYCTL, uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 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 keyctlSearch(cmd int, arg2 int, arg3 string, arg4 string, arg5 int) (ret int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(arg3)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(arg4)
-- if err != nil {
-- return
-- }
-- r0, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(arg5), 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 keyctlIOV(cmd int, arg2 int, payload []Iovec, arg5 int) (err error) {
-- var _p0 unsafe.Pointer
-- if len(payload) > 0 {
-- _p0 = unsafe.Pointer(&payload[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(_p0), uintptr(len(payload)), uintptr(arg5), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func keyctlDH(cmd int, arg2 *KeyctlDHParams, buf []byte) (ret 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_KEYCTL, uintptr(cmd), uintptr(unsafe.Pointer(arg2)), uintptr(_p0), uintptr(len(buf)), 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 ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
-- _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func reboot(magic1 uint, magic2 uint, cmd int, arg string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(arg)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_REBOOT, uintptr(magic1), uintptr(magic2), uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func mount(source string, target string, fstype string, flags uintptr, data *byte) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(source)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(target)
-- if err != nil {
-- return
-- }
-- var _p2 *byte
-- _p2, err = BytePtrFromString(fstype)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_MOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(flags), uintptr(unsafe.Pointer(data)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Acct(path string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_ACCT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func AddKey(keyType string, description string, payload []byte, ringid int) (id int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(keyType)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(description)
-- if err != nil {
-- return
-- }
-- var _p2 unsafe.Pointer
-- if len(payload) > 0 {
-- _p2 = unsafe.Pointer(&payload[0])
-- } else {
-- _p2 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall6(SYS_ADD_KEY, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(payload)), uintptr(ringid), 0)
-- id = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Adjtimex(buf *Timex) (state int, err error) {
-- r0, _, e1 := Syscall(SYS_ADJTIMEX, uintptr(unsafe.Pointer(buf)), 0, 0)
-- state = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Chdir(path string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-- 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 ClockGettime(clockid int32, time *Timespec) (err error) {
-- _, _, e1 := Syscall(SYS_CLOCK_GETTIME, uintptr(clockid), uintptr(unsafe.Pointer(time)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Close(fd int) (err error) {
-- _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func CopyFileRange(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int, err error) {
-- r0, _, e1 := Syscall6(SYS_COPY_FILE_RANGE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Dup(oldfd int) (fd int, err error) {
-- r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), 0, 0)
-- fd = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Dup3(oldfd int, newfd int, flags int) (err error) {
-- _, _, e1 := Syscall(SYS_DUP3, uintptr(oldfd), uintptr(newfd), uintptr(flags))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func EpollCreate(size int) (fd int, err error) {
-- r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE, uintptr(size), 0, 0)
-- fd = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func EpollCreate1(flag int) (fd int, err error) {
-- r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE1, uintptr(flag), 0, 0)
-- fd = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) {
-- _, _, e1 := RawSyscall6(SYS_EPOLL_CTL, uintptr(epfd), uintptr(op), uintptr(fd), uintptr(unsafe.Pointer(event)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Eventfd(initval uint, flags int) (fd int, err error) {
-- r0, _, e1 := Syscall(SYS_EVENTFD2, uintptr(initval), 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 Exit(code int) {
-- Syscall(SYS_EXIT_GROUP, uintptr(code), 0, 0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
-- _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(off>>32), uintptr(len), uintptr(len>>32))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Fchdir(fd int) (err error) {
-- _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Fchmod(fd int, mode uint32) (err error) {
-- _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func 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 fcntl(fd int, cmd int, arg int) (val int, err error) {
-- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-- val = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Fdatasync(fd int) (err error) {
-- _, _, e1 := Syscall(SYS_FDATASYNC, uintptr(fd), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Flock(fd int, how int) (err error) {
-- _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Fsync(fd int) (err error) {
-- _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getdents(fd int, buf []byte) (n int, err error) {
-- var _p0 unsafe.Pointer
-- if len(buf) > 0 {
-- _p0 = unsafe.Pointer(&buf[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_GETDENTS64, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getpgid(pid int) (pgid int, err error) {
-- r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
-- pgid = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getpid() (pid int) {
-- r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
-- pid = int(r0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getppid() (ppid int) {
-- r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
-- ppid = int(r0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getpriority(which int, who int) (prio int, err error) {
-- r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
-- prio = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getrandom(buf []byte, flags int) (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_GETRANDOM, uintptr(_p0), uintptr(len(buf)), 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 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 Gettid() (tid int) {
-- r0, _, _ := RawSyscall(SYS_GETTID, 0, 0, 0)
-- tid = int(r0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getxattr(path string, attr string, dest []byte) (sz int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(attr)
-- if err != nil {
-- return
-- }
-- var _p2 unsafe.Pointer
-- if len(dest) > 0 {
-- _p2 = unsafe.Pointer(&dest[0])
-- } else {
-- _p2 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall6(SYS_GETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
-- sz = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func InotifyAddWatch(fd int, pathname string, mask uint32) (watchdesc int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(pathname)
-- if err != nil {
-- return
-- }
-- r0, _, e1 := Syscall(SYS_INOTIFY_ADD_WATCH, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mask))
-- watchdesc = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func InotifyInit1(flags int) (fd int, err error) {
-- r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT1, uintptr(flags), 0, 0)
-- fd = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func InotifyRmWatch(fd int, watchdesc uint32) (success int, err error) {
-- r0, _, e1 := RawSyscall(SYS_INOTIFY_RM_WATCH, uintptr(fd), uintptr(watchdesc), 0)
-- success = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Kill(pid int, sig syscall.Signal) (err error) {
-- _, _, e1 := RawSyscall(SYS_KILL, uintptr(pid), uintptr(sig), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Klogctl(typ int, buf []byte) (n int, err error) {
-- var _p0 unsafe.Pointer
-- if len(buf) > 0 {
-- _p0 = unsafe.Pointer(&buf[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_SYSLOG, uintptr(typ), uintptr(_p0), uintptr(len(buf)))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Lgetxattr(path string, attr string, dest []byte) (sz int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(attr)
-- if err != nil {
-- return
-- }
-- var _p2 unsafe.Pointer
-- if len(dest) > 0 {
-- _p2 = unsafe.Pointer(&dest[0])
-- } else {
-- _p2 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall6(SYS_LGETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
-- sz = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Listxattr(path string, dest []byte) (sz int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 unsafe.Pointer
-- if len(dest) > 0 {
-- _p1 = unsafe.Pointer(&dest[0])
-- } else {
-- _p1 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_LISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
-- sz = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Llistxattr(path string, dest []byte) (sz int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 unsafe.Pointer
-- if len(dest) > 0 {
-- _p1 = unsafe.Pointer(&dest[0])
-- } else {
-- _p1 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_LLISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
-- sz = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Lremovexattr(path string, attr string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(attr)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_LREMOVEXATTR, 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 Lsetxattr(path string, attr string, data []byte, flags int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(attr)
-- if err != nil {
-- return
-- }
-- var _p2 unsafe.Pointer
-- if len(data) > 0 {
-- _p2 = unsafe.Pointer(&data[0])
-- } else {
-- _p2 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall6(SYS_LSETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 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 Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
-- _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func PivotRoot(newroot string, putold string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(newroot)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(putold)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_PIVOT_ROOT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func prlimit(pid int, resource int, 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)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error) {
-- _, _, e1 := Syscall6(SYS_PRCTL, uintptr(option), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func read(fd int, p []byte) (n int, err error) {
-- var _p0 unsafe.Pointer
-- if len(p) > 0 {
-- _p0 = unsafe.Pointer(&p[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Removexattr(path string, attr string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(attr)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_REMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(oldpath)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(newpath)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func RequestKey(keyType string, description string, callback string, destRingid int) (id int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(keyType)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(description)
-- if err != nil {
-- return
-- }
-- var _p2 *byte
-- _p2, err = BytePtrFromString(callback)
-- if err != nil {
-- return
-- }
-- r0, _, e1 := Syscall6(SYS_REQUEST_KEY, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(destRingid), 0, 0)
-- id = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setdomainname(p []byte) (err error) {
-- var _p0 unsafe.Pointer
-- if len(p) > 0 {
-- _p0 = unsafe.Pointer(&p[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_SETDOMAINNAME, uintptr(_p0), uintptr(len(p)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Sethostname(p []byte) (err error) {
-- var _p0 unsafe.Pointer
-- if len(p) > 0 {
-- _p0 = unsafe.Pointer(&p[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_SETHOSTNAME, uintptr(_p0), uintptr(len(p)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setpgid(pid int, pgid int) (err error) {
-- _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setsid() (pid int, err error) {
-- r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
-- pid = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Settimeofday(tv *Timeval) (err error) {
-- _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setns(fd int, nstype int) (err error) {
-- _, _, e1 := Syscall(SYS_SETNS, uintptr(fd), uintptr(nstype), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setpriority(which int, who int, prio int) (err error) {
-- _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setxattr(path string, attr string, data []byte, flags int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(attr)
-- if err != nil {
-- return
-- }
-- var _p2 unsafe.Pointer
-- if len(data) > 0 {
-- _p2 = unsafe.Pointer(&data[0])
-- } else {
-- _p2 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall6(SYS_SETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Sync() {
-- Syscall(SYS_SYNC, 0, 0, 0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Syncfs(fd int) (err error) {
-- _, _, e1 := Syscall(SYS_SYNCFS, 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 Sysinfo(info *Sysinfo_t) (err error) {
-- _, _, e1 := RawSyscall(SYS_SYSINFO, uintptr(unsafe.Pointer(info)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) {
-- r0, r1, e1 := Syscall6(SYS_TEE, uintptr(rfd), uintptr(wfd), uintptr(len), uintptr(flags), 0, 0)
-- n = int64(int64(r1)<<32 | int64(r0))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Tgkill(tgid int, tid int, sig syscall.Signal) (err error) {
-- _, _, e1 := RawSyscall(SYS_TGKILL, uintptr(tgid), uintptr(tid), uintptr(sig))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Times(tms *Tms) (ticks uintptr, err error) {
-- r0, _, e1 := RawSyscall(SYS_TIMES, uintptr(unsafe.Pointer(tms)), 0, 0)
-- ticks = uintptr(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Umask(mask int) (oldmask int) {
-- r0, _, _ := RawSyscall(SYS_UMASK, uintptr(mask), 0, 0)
-- oldmask = int(r0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Uname(buf *Utsname) (err error) {
-- _, _, e1 := RawSyscall(SYS_UNAME, uintptr(unsafe.Pointer(buf)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Unmount(target string, flags int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(target)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_UMOUNT2, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Unshare(flags int) (err error) {
-- _, _, e1 := Syscall(SYS_UNSHARE, uintptr(flags), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Ustat(dev int, ubuf *Ustat_t) (err error) {
-- _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func write(fd int, p []byte) (n int, err error) {
-- var _p0 unsafe.Pointer
-- if len(p) > 0 {
-- _p0 = unsafe.Pointer(&p[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func exitThread(code int) (err error) {
-- _, _, e1 := Syscall(SYS_EXIT, uintptr(code), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func readlen(fd int, p *byte, np int) (n int, err error) {
-- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func writelen(fd int, p *byte, np int) (n int, err error) {
-- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func munmap(addr uintptr, length uintptr) (err error) {
-- _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Madvise(b []byte, advice int) (err error) {
-- var _p0 unsafe.Pointer
-- if len(b) > 0 {
-- _p0 = unsafe.Pointer(&b[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(advice))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Mprotect(b []byte, prot int) (err error) {
-- var _p0 unsafe.Pointer
-- if len(b) > 0 {
-- _p0 = unsafe.Pointer(&b[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Mlock(b []byte) (err error) {
-- var _p0 unsafe.Pointer
-- if len(b) > 0 {
-- _p0 = unsafe.Pointer(&b[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Munlock(b []byte) (err error) {
-- var _p0 unsafe.Pointer
-- if len(b) > 0 {
-- _p0 = unsafe.Pointer(&b[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Mlockall(flags int) (err error) {
-- _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
-+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(mask>>32), uintptr(dirFd), uintptr(unsafe.Pointer(pathname)))
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1472,14 +24,8 @@ func Mlockall(flags int) (err error) {
-
- // 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))
-+func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
-+ _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(off>>32), uintptr(len), uintptr(len>>32))
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1488,8 +34,9 @@ func Msync(b []byte, flags int) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Munlockall() (err error) {
-- _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
-+func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) {
-+ r0, r1, e1 := Syscall6(SYS_TEE, uintptr(rfd), uintptr(wfd), uintptr(len), uintptr(flags), 0, 0)
-+ n = int64(int64(r1)<<32 | int64(r0))
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1498,8 +45,8 @@ func Munlockall() (err error) {
-
- // 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 pipe(p *[2]_C_int) (err error) {
-+ _, _, e1 := RawSyscall(SYS_PIPE, uintptr(unsafe.Pointer(p)), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1697,6 +244,34 @@ func Dup2(oldfd int, newfd int) (err error) {
-
- // 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 {
-+ _p0 = unsafe.Pointer(&events[0])
-+ } else {
-+ _p0 = unsafe.Pointer(&_zero)
-+ }
-+ r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
-+ n = int(r0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Fchown(fd int, uid int, gid int) (err error) {
- _, _, e1 := Syscall(SYS_FCHOWN32, uintptr(fd), uintptr(uid), uintptr(gid))
- if e1 != 0 {
-@@ -1717,8 +292,23 @@ func Fstat(fd int, stat *Stat_t) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-+func Fstatat(dirfd int, path string, stat *Stat_t, flags int) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall6(SYS_FSTATAT64, uintptr(dirfd), 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 Getegid() (egid int) {
-- r0, _, _ := RawSyscall(SYS_GETEGID32, 0, 0, 0)
-+ r0, _ := RawSyscallNoError(SYS_GETEGID32, 0, 0, 0)
- egid = int(r0)
- return
- }
-@@ -1726,7 +316,7 @@ func Getegid() (egid int) {
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Geteuid() (euid int) {
-- r0, _, _ := RawSyscall(SYS_GETEUID32, 0, 0, 0)
-+ r0, _ := RawSyscallNoError(SYS_GETEUID32, 0, 0, 0)
- euid = int(r0)
- return
- }
-@@ -1734,7 +324,7 @@ func Geteuid() (euid int) {
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Getgid() (gid int) {
-- r0, _, _ := RawSyscall(SYS_GETGID32, 0, 0, 0)
-+ r0, _ := RawSyscallNoError(SYS_GETGID32, 0, 0, 0)
- gid = int(r0)
- return
- }
-@@ -1742,7 +332,7 @@ func Getgid() (gid int) {
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Getuid() (uid int) {
-- r0, _, _ := RawSyscall(SYS_GETUID32, 0, 0, 0)
-+ r0, _ := RawSyscallNoError(SYS_GETUID32, 0, 0, 0)
- uid = int(r0)
- return
- }
-@@ -1800,6 +390,36 @@ func Lstat(path string, stat *Stat_t) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-+func Pause() (err error) {
-+ _, _, e1 := Syscall(SYS_PAUSE, 0, 0, 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(oldpath)
-+ if err != nil {
-+ return
-+ }
-+ var _p1 *byte
-+ _p1, err = BytePtrFromString(newpath)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
- r0, _, e1 := Syscall6(SYS_SENDFILE64, uintptr(outfd), uintptr(infd), uintptr(unsafe.Pointer(offset)), uintptr(count), 0, 0)
- written = int(r0)
-@@ -1822,8 +442,9 @@ func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Setfsgid(gid int) (err error) {
-- _, _, e1 := Syscall(SYS_SETFSGID32, uintptr(gid), 0, 0)
-+func setfsgid(gid int) (prev int, err error) {
-+ r0, _, e1 := Syscall(SYS_SETFSGID32, uintptr(gid), 0, 0)
-+ prev = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1832,8 +453,9 @@ func Setfsgid(gid int) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Setfsuid(uid int) (err error) {
-- _, _, e1 := Syscall(SYS_SETFSUID32, uintptr(uid), 0, 0)
-+func setfsuid(uid int) (prev int, err error) {
-+ r0, _, e1 := Syscall(SYS_SETFSUID32, uintptr(uid), 0, 0)
-+ prev = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1918,8 +540,8 @@ func Stat(path string, stat *Stat_t) (err error) {
-
- // 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)
-+func Ustat(dev int, ubuf *Ustat_t) (err error) {
-+ _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1928,15 +550,13 @@ func Gettimeofday(tv *Timeval) (err error) {
-
- // 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)
-+func futimesat(dirfd int, path string, times *[2]Timeval) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
- }
-- r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
-- n = int(r0)
-+ _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)))
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1945,8 +565,23 @@ func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Pause() (err error) {
-- _, _, e1 := Syscall(SYS_PAUSE, 0, 0, 0)
-+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 utimes(path string, times *[2]Timeval) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -2053,3 +688,28 @@ func poll(fds *PollFd, nfds int, timeout int) (n int, err error) {
- }
- 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 {
-+ 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_arm64.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_arm64.go
-index 20ad4b6c..f0d2890b 100644
---- a/vendor/golang.org/x/sys/unix/zsyscall_linux_arm64.go
-+++ b/vendor/golang.org/x/sys/unix/zsyscall_linux_arm64.go
-@@ -1,4 +1,4 @@
--// mksyscall.pl -tags linux,arm64 syscall_linux.go syscall_linux_arm64.go
-+// go run mksyscall.go -tags linux,arm64 syscall_linux.go syscall_linux_arm64.go
- // Code generated by the command above; see README.md. DO NOT EDIT.
-
- // +build linux,arm64
-@@ -14,1228 +14,8 @@ var _ syscall.Errno
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func fchmodat(dirfd int, path string, mode uint32) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_FCHMODAT, 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 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 Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(oldpath)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(newpath)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_LINKAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), uintptr(mode), 0, 0)
-- fd = int(r0)
-- 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)
-- 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 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 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 utimes(path string, times *[2]Timeval) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
-- 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
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func futimesat(dirfd int, path *byte, times *[2]Timeval) (err error) {
-- _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(times)))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getcwd(buf []byte) (n int, err error) {
-- var _p0 unsafe.Pointer
-- if len(buf) > 0 {
-- _p0 = unsafe.Pointer(&buf[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
-- r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
-- wpid = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func 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)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func KeyctlBuffer(cmd int, arg2 int, buf []byte, arg5 int) (ret 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_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(_p0), uintptr(len(buf)), uintptr(arg5), 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 keyctlJoin(cmd int, arg2 string) (ret int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(arg2)
-- if err != nil {
-- return
-- }
-- r0, _, e1 := Syscall(SYS_KEYCTL, uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 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 keyctlSearch(cmd int, arg2 int, arg3 string, arg4 string, arg5 int) (ret int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(arg3)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(arg4)
-- if err != nil {
-- return
-- }
-- r0, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(arg5), 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 keyctlIOV(cmd int, arg2 int, payload []Iovec, arg5 int) (err error) {
-- var _p0 unsafe.Pointer
-- if len(payload) > 0 {
-- _p0 = unsafe.Pointer(&payload[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(_p0), uintptr(len(payload)), uintptr(arg5), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func keyctlDH(cmd int, arg2 *KeyctlDHParams, buf []byte) (ret 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_KEYCTL, uintptr(cmd), uintptr(unsafe.Pointer(arg2)), uintptr(_p0), uintptr(len(buf)), 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 ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
-- _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func reboot(magic1 uint, magic2 uint, cmd int, arg string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(arg)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_REBOOT, uintptr(magic1), uintptr(magic2), uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func mount(source string, target string, fstype string, flags uintptr, data *byte) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(source)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(target)
-- if err != nil {
-- return
-- }
-- var _p2 *byte
-- _p2, err = BytePtrFromString(fstype)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_MOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(flags), uintptr(unsafe.Pointer(data)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Acct(path string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_ACCT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func AddKey(keyType string, description string, payload []byte, ringid int) (id int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(keyType)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(description)
-- if err != nil {
-- return
-- }
-- var _p2 unsafe.Pointer
-- if len(payload) > 0 {
-- _p2 = unsafe.Pointer(&payload[0])
-- } else {
-- _p2 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall6(SYS_ADD_KEY, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(payload)), uintptr(ringid), 0)
-- id = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Adjtimex(buf *Timex) (state int, err error) {
-- r0, _, e1 := Syscall(SYS_ADJTIMEX, uintptr(unsafe.Pointer(buf)), 0, 0)
-- state = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Chdir(path string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-- 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 ClockGettime(clockid int32, time *Timespec) (err error) {
-- _, _, e1 := Syscall(SYS_CLOCK_GETTIME, uintptr(clockid), uintptr(unsafe.Pointer(time)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Close(fd int) (err error) {
-- _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func CopyFileRange(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int, err error) {
-- r0, _, e1 := Syscall6(SYS_COPY_FILE_RANGE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Dup(oldfd int) (fd int, err error) {
-- r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), 0, 0)
-- fd = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Dup3(oldfd int, newfd int, flags int) (err error) {
-- _, _, e1 := Syscall(SYS_DUP3, uintptr(oldfd), uintptr(newfd), uintptr(flags))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func EpollCreate(size int) (fd int, err error) {
-- r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE, uintptr(size), 0, 0)
-- fd = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func EpollCreate1(flag int) (fd int, err error) {
-- r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE1, uintptr(flag), 0, 0)
-- fd = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) {
-- _, _, e1 := RawSyscall6(SYS_EPOLL_CTL, uintptr(epfd), uintptr(op), uintptr(fd), uintptr(unsafe.Pointer(event)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Eventfd(initval uint, flags int) (fd int, err error) {
-- r0, _, e1 := Syscall(SYS_EVENTFD2, uintptr(initval), 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 Exit(code int) {
-- Syscall(SYS_EXIT_GROUP, uintptr(code), 0, 0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
-- _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(len), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Fchdir(fd int) (err error) {
-- _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Fchmod(fd int, mode uint32) (err error) {
-- _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func 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 fcntl(fd int, cmd int, arg int) (val int, err error) {
-- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-- val = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Fdatasync(fd int) (err error) {
-- _, _, e1 := Syscall(SYS_FDATASYNC, uintptr(fd), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Flock(fd int, how int) (err error) {
-- _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Fsync(fd int) (err error) {
-- _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getdents(fd int, buf []byte) (n int, err error) {
-- var _p0 unsafe.Pointer
-- if len(buf) > 0 {
-- _p0 = unsafe.Pointer(&buf[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_GETDENTS64, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getpgid(pid int) (pgid int, err error) {
-- r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
-- pgid = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getpid() (pid int) {
-- r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
-- pid = int(r0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getppid() (ppid int) {
-- r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
-- ppid = int(r0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getpriority(which int, who int) (prio int, err error) {
-- r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
-- prio = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getrandom(buf []byte, flags int) (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_GETRANDOM, uintptr(_p0), uintptr(len(buf)), 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 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 Gettid() (tid int) {
-- r0, _, _ := RawSyscall(SYS_GETTID, 0, 0, 0)
-- tid = int(r0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getxattr(path string, attr string, dest []byte) (sz int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(attr)
-- if err != nil {
-- return
-- }
-- var _p2 unsafe.Pointer
-- if len(dest) > 0 {
-- _p2 = unsafe.Pointer(&dest[0])
-- } else {
-- _p2 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall6(SYS_GETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
-- sz = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func InotifyAddWatch(fd int, pathname string, mask uint32) (watchdesc int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(pathname)
-- if err != nil {
-- return
-- }
-- r0, _, e1 := Syscall(SYS_INOTIFY_ADD_WATCH, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mask))
-- watchdesc = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func InotifyInit1(flags int) (fd int, err error) {
-- r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT1, uintptr(flags), 0, 0)
-- fd = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func InotifyRmWatch(fd int, watchdesc uint32) (success int, err error) {
-- r0, _, e1 := RawSyscall(SYS_INOTIFY_RM_WATCH, uintptr(fd), uintptr(watchdesc), 0)
-- success = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Kill(pid int, sig syscall.Signal) (err error) {
-- _, _, e1 := RawSyscall(SYS_KILL, uintptr(pid), uintptr(sig), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Klogctl(typ int, buf []byte) (n int, err error) {
-- var _p0 unsafe.Pointer
-- if len(buf) > 0 {
-- _p0 = unsafe.Pointer(&buf[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_SYSLOG, uintptr(typ), uintptr(_p0), uintptr(len(buf)))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Lgetxattr(path string, attr string, dest []byte) (sz int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(attr)
-- if err != nil {
-- return
-- }
-- var _p2 unsafe.Pointer
-- if len(dest) > 0 {
-- _p2 = unsafe.Pointer(&dest[0])
-- } else {
-- _p2 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall6(SYS_LGETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
-- sz = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Listxattr(path string, dest []byte) (sz int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 unsafe.Pointer
-- if len(dest) > 0 {
-- _p1 = unsafe.Pointer(&dest[0])
-- } else {
-- _p1 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_LISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
-- sz = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Llistxattr(path string, dest []byte) (sz int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 unsafe.Pointer
-- if len(dest) > 0 {
-- _p1 = unsafe.Pointer(&dest[0])
-- } else {
-- _p1 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_LLISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
-- sz = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Lremovexattr(path string, attr string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(attr)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_LREMOVEXATTR, 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 Lsetxattr(path string, attr string, data []byte, flags int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(attr)
-- if err != nil {
-- return
-- }
-- var _p2 unsafe.Pointer
-- if len(data) > 0 {
-- _p2 = unsafe.Pointer(&data[0])
-- } else {
-- _p2 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall6(SYS_LSETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 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 Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
-- _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func PivotRoot(newroot string, putold string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(newroot)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(putold)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_PIVOT_ROOT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func prlimit(pid int, resource int, 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)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error) {
-- _, _, e1 := Syscall6(SYS_PRCTL, uintptr(option), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func read(fd int, p []byte) (n int, err error) {
-- var _p0 unsafe.Pointer
-- if len(p) > 0 {
-- _p0 = unsafe.Pointer(&p[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Removexattr(path string, attr string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(attr)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_REMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(oldpath)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(newpath)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func RequestKey(keyType string, description string, callback string, destRingid int) (id int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(keyType)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(description)
-- if err != nil {
-- return
-- }
-- var _p2 *byte
-- _p2, err = BytePtrFromString(callback)
-- if err != nil {
-- return
-- }
-- r0, _, e1 := Syscall6(SYS_REQUEST_KEY, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(destRingid), 0, 0)
-- id = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setdomainname(p []byte) (err error) {
-- var _p0 unsafe.Pointer
-- if len(p) > 0 {
-- _p0 = unsafe.Pointer(&p[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_SETDOMAINNAME, uintptr(_p0), uintptr(len(p)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Sethostname(p []byte) (err error) {
-- var _p0 unsafe.Pointer
-- if len(p) > 0 {
-- _p0 = unsafe.Pointer(&p[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_SETHOSTNAME, uintptr(_p0), uintptr(len(p)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setpgid(pid int, pgid int) (err error) {
-- _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setsid() (pid int, err error) {
-- r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
-- pid = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Settimeofday(tv *Timeval) (err error) {
-- _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setns(fd int, nstype int) (err error) {
-- _, _, e1 := Syscall(SYS_SETNS, uintptr(fd), uintptr(nstype), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setpriority(which int, who int, prio int) (err error) {
-- _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setxattr(path string, attr string, data []byte, flags int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(attr)
-- if err != nil {
-- return
-- }
-- var _p2 unsafe.Pointer
-- if len(data) > 0 {
-- _p2 = unsafe.Pointer(&data[0])
-- } else {
-- _p2 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall6(SYS_SETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Sync() {
-- Syscall(SYS_SYNC, 0, 0, 0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Syncfs(fd int) (err error) {
-- _, _, e1 := Syscall(SYS_SYNCFS, uintptr(fd), 0, 0)
-+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)
- }
-@@ -1244,8 +24,8 @@ func Syncfs(fd int) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Sysinfo(info *Sysinfo_t) (err error) {
-- _, _, e1 := RawSyscall(SYS_SYSINFO, uintptr(unsafe.Pointer(info)), 0, 0)
-+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)
- }
-@@ -1265,120 +45,14 @@ 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 Tgkill(tgid int, tid int, sig syscall.Signal) (err error) {
-- _, _, e1 := RawSyscall(SYS_TGKILL, uintptr(tgid), uintptr(tid), uintptr(sig))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Times(tms *Tms) (ticks uintptr, err error) {
-- r0, _, e1 := RawSyscall(SYS_TIMES, uintptr(unsafe.Pointer(tms)), 0, 0)
-- ticks = uintptr(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Umask(mask int) (oldmask int) {
-- r0, _, _ := RawSyscall(SYS_UMASK, uintptr(mask), 0, 0)
-- oldmask = int(r0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Uname(buf *Utsname) (err error) {
-- _, _, e1 := RawSyscall(SYS_UNAME, uintptr(unsafe.Pointer(buf)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Unmount(target string, flags int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(target)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_UMOUNT2, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Unshare(flags int) (err error) {
-- _, _, e1 := Syscall(SYS_UNSHARE, uintptr(flags), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Ustat(dev int, ubuf *Ustat_t) (err error) {
-- _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func write(fd int, p []byte) (n int, err error) {
-+func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
- var _p0 unsafe.Pointer
-- if len(p) > 0 {
-- _p0 = unsafe.Pointer(&p[0])
-+ if len(events) > 0 {
-+ _p0 = unsafe.Pointer(&events[0])
- } else {
- _p0 = unsafe.Pointer(&_zero)
- }
-- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func exitThread(code int) (err error) {
-- _, _, e1 := Syscall(SYS_EXIT, uintptr(code), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func readlen(fd int, p *byte, np int) (n int, err error) {
-- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func writelen(fd int, p *byte, np int) (n int, err error) {
-- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
-+ 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)
-@@ -1388,125 +62,8 @@ func writelen(fd int, p *byte, np int) (n int, err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func munmap(addr uintptr, length uintptr) (err error) {
-- _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Madvise(b []byte, advice int) (err error) {
-- var _p0 unsafe.Pointer
-- if len(b) > 0 {
-- _p0 = unsafe.Pointer(&b[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(advice))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Mprotect(b []byte, prot int) (err error) {
-- var _p0 unsafe.Pointer
-- if len(b) > 0 {
-- _p0 = unsafe.Pointer(&b[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Mlock(b []byte) (err error) {
-- var _p0 unsafe.Pointer
-- if len(b) > 0 {
-- _p0 = unsafe.Pointer(&b[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Munlock(b []byte) (err error) {
-- var _p0 unsafe.Pointer
-- if len(b) > 0 {
-- _p0 = unsafe.Pointer(&b[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Mlockall(flags int) (err error) {
-- _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func 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 Munlockall() (err error) {
-- _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
-- var _p0 unsafe.Pointer
-- if len(events) > 0 {
-- _p0 = unsafe.Pointer(&events[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall6(SYS_EPOLL_PWAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
-- n = int(r0)
-+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)
- }
-@@ -1571,7 +128,7 @@ func Ftruncate(fd int, length int64) (err error) {
- // 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, _ := RawSyscallNoError(SYS_GETEGID, 0, 0, 0)
- egid = int(r0)
- return
- }
-@@ -1579,7 +136,7 @@ func Getegid() (egid int) {
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Geteuid() (euid int) {
-- r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
-+ r0, _ := RawSyscallNoError(SYS_GETEUID, 0, 0, 0)
- euid = int(r0)
- return
- }
-@@ -1587,7 +144,7 @@ func Geteuid() (euid int) {
- // 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, _ := RawSyscallNoError(SYS_GETGID, 0, 0, 0)
- gid = int(r0)
- return
- }
-@@ -1605,7 +162,7 @@ func Getrlimit(resource int, rlim *Rlimit) (err error) {
- // 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, _ := RawSyscallNoError(SYS_GETUID, 0, 0, 0)
- uid = int(r0)
- return
- }
-@@ -1656,9 +213,18 @@ func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
-
- // 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)
-+func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(oldpath)
-+ if err != nil {
-+ return
-+ }
-+ var _p1 *byte
-+ _p1, err = BytePtrFromString(newpath)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1667,9 +233,9 @@ func Seek(fd int, offset int64, whence int) (off int64, err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
-- r0, _, e1 := Syscall6(SYS_PSELECT6, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-- n = int(r0)
-+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)
- }
-@@ -1689,8 +255,9 @@ func sendfile(outfd int, infd int, offset *int64, count int) (written int, err e
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Setfsgid(gid int) (err error) {
-- _, _, e1 := Syscall(SYS_SETFSGID, uintptr(gid), 0, 0)
-+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)
- }
-@@ -1699,8 +266,9 @@ func Setfsgid(gid int) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Setfsuid(uid int) (err error) {
-- _, _, e1 := Syscall(SYS_SETFSUID, uintptr(uid), 0, 0)
-+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)
- }
-@@ -2020,8 +588,13 @@ func Gettimeofday(tv *Timeval) (err error) {
-
- // 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 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)
- }
-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 9f194dc4..aecbbca7 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 @@
--// mksyscall.pl -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
- // Code generated by the command above; see README.md. DO NOT EDIT.
-
- // +build linux,mips
-@@ -14,1228 +14,8 @@ var _ syscall.Errno
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func fchmodat(dirfd int, path string, mode uint32) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_FCHMODAT, 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 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 Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(oldpath)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(newpath)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_LINKAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), uintptr(mode), 0, 0)
-- fd = int(r0)
-- 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)
-- 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 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 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 utimes(path string, times *[2]Timeval) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
-- 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
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func futimesat(dirfd int, path *byte, times *[2]Timeval) (err error) {
-- _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(times)))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getcwd(buf []byte) (n int, err error) {
-- var _p0 unsafe.Pointer
-- if len(buf) > 0 {
-- _p0 = unsafe.Pointer(&buf[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
-- r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
-- wpid = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func 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)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func KeyctlBuffer(cmd int, arg2 int, buf []byte, arg5 int) (ret 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_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(_p0), uintptr(len(buf)), uintptr(arg5), 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 keyctlJoin(cmd int, arg2 string) (ret int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(arg2)
-- if err != nil {
-- return
-- }
-- r0, _, e1 := Syscall(SYS_KEYCTL, uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 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 keyctlSearch(cmd int, arg2 int, arg3 string, arg4 string, arg5 int) (ret int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(arg3)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(arg4)
-- if err != nil {
-- return
-- }
-- r0, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(arg5), 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 keyctlIOV(cmd int, arg2 int, payload []Iovec, arg5 int) (err error) {
-- var _p0 unsafe.Pointer
-- if len(payload) > 0 {
-- _p0 = unsafe.Pointer(&payload[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(_p0), uintptr(len(payload)), uintptr(arg5), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func keyctlDH(cmd int, arg2 *KeyctlDHParams, buf []byte) (ret 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_KEYCTL, uintptr(cmd), uintptr(unsafe.Pointer(arg2)), uintptr(_p0), uintptr(len(buf)), 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 ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
-- _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func reboot(magic1 uint, magic2 uint, cmd int, arg string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(arg)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_REBOOT, uintptr(magic1), uintptr(magic2), uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func mount(source string, target string, fstype string, flags uintptr, data *byte) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(source)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(target)
-- if err != nil {
-- return
-- }
-- var _p2 *byte
-- _p2, err = BytePtrFromString(fstype)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_MOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(flags), uintptr(unsafe.Pointer(data)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Acct(path string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_ACCT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func AddKey(keyType string, description string, payload []byte, ringid int) (id int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(keyType)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(description)
-- if err != nil {
-- return
-- }
-- var _p2 unsafe.Pointer
-- if len(payload) > 0 {
-- _p2 = unsafe.Pointer(&payload[0])
-- } else {
-- _p2 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall6(SYS_ADD_KEY, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(payload)), uintptr(ringid), 0)
-- id = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Adjtimex(buf *Timex) (state int, err error) {
-- r0, _, e1 := Syscall(SYS_ADJTIMEX, uintptr(unsafe.Pointer(buf)), 0, 0)
-- state = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Chdir(path string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-- 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 ClockGettime(clockid int32, time *Timespec) (err error) {
-- _, _, e1 := Syscall(SYS_CLOCK_GETTIME, uintptr(clockid), uintptr(unsafe.Pointer(time)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Close(fd int) (err error) {
-- _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func CopyFileRange(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int, err error) {
-- r0, _, e1 := Syscall6(SYS_COPY_FILE_RANGE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Dup(oldfd int) (fd int, err error) {
-- r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), 0, 0)
-- fd = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Dup3(oldfd int, newfd int, flags int) (err error) {
-- _, _, e1 := Syscall(SYS_DUP3, uintptr(oldfd), uintptr(newfd), uintptr(flags))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func EpollCreate(size int) (fd int, err error) {
-- r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE, uintptr(size), 0, 0)
-- fd = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func EpollCreate1(flag int) (fd int, err error) {
-- r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE1, uintptr(flag), 0, 0)
-- fd = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) {
-- _, _, e1 := RawSyscall6(SYS_EPOLL_CTL, uintptr(epfd), uintptr(op), uintptr(fd), uintptr(unsafe.Pointer(event)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Eventfd(initval uint, flags int) (fd int, err error) {
-- r0, _, e1 := Syscall(SYS_EVENTFD2, uintptr(initval), 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 Exit(code int) {
-- Syscall(SYS_EXIT_GROUP, uintptr(code), 0, 0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
-- 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>>32), uintptr(off), uintptr(len>>32), uintptr(len))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Fchdir(fd int) (err error) {
-- _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Fchmod(fd int, mode uint32) (err error) {
-- _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func 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 fcntl(fd int, cmd int, arg int) (val int, err error) {
-- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-- val = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Fdatasync(fd int) (err error) {
-- _, _, e1 := Syscall(SYS_FDATASYNC, uintptr(fd), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Flock(fd int, how int) (err error) {
-- _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Fsync(fd int) (err error) {
-- _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getdents(fd int, buf []byte) (n int, err error) {
-- var _p0 unsafe.Pointer
-- if len(buf) > 0 {
-- _p0 = unsafe.Pointer(&buf[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_GETDENTS64, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getpgid(pid int) (pgid int, err error) {
-- r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
-- pgid = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getpid() (pid int) {
-- r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
-- pid = int(r0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getppid() (ppid int) {
-- r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
-- ppid = int(r0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getpriority(which int, who int) (prio int, err error) {
-- r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
-- prio = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getrandom(buf []byte, flags int) (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_GETRANDOM, uintptr(_p0), uintptr(len(buf)), 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 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 Gettid() (tid int) {
-- r0, _, _ := RawSyscall(SYS_GETTID, 0, 0, 0)
-- tid = int(r0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getxattr(path string, attr string, dest []byte) (sz int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(attr)
-- if err != nil {
-- return
-- }
-- var _p2 unsafe.Pointer
-- if len(dest) > 0 {
-- _p2 = unsafe.Pointer(&dest[0])
-- } else {
-- _p2 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall6(SYS_GETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
-- sz = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func InotifyAddWatch(fd int, pathname string, mask uint32) (watchdesc int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(pathname)
-- if err != nil {
-- return
-- }
-- r0, _, e1 := Syscall(SYS_INOTIFY_ADD_WATCH, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mask))
-- watchdesc = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func InotifyInit1(flags int) (fd int, err error) {
-- r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT1, uintptr(flags), 0, 0)
-- fd = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func InotifyRmWatch(fd int, watchdesc uint32) (success int, err error) {
-- r0, _, e1 := RawSyscall(SYS_INOTIFY_RM_WATCH, uintptr(fd), uintptr(watchdesc), 0)
-- success = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Kill(pid int, sig syscall.Signal) (err error) {
-- _, _, e1 := RawSyscall(SYS_KILL, uintptr(pid), uintptr(sig), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Klogctl(typ int, buf []byte) (n int, err error) {
-- var _p0 unsafe.Pointer
-- if len(buf) > 0 {
-- _p0 = unsafe.Pointer(&buf[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_SYSLOG, uintptr(typ), uintptr(_p0), uintptr(len(buf)))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Lgetxattr(path string, attr string, dest []byte) (sz int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(attr)
-- if err != nil {
-- return
-- }
-- var _p2 unsafe.Pointer
-- if len(dest) > 0 {
-- _p2 = unsafe.Pointer(&dest[0])
-- } else {
-- _p2 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall6(SYS_LGETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
-- sz = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Listxattr(path string, dest []byte) (sz int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 unsafe.Pointer
-- if len(dest) > 0 {
-- _p1 = unsafe.Pointer(&dest[0])
-- } else {
-- _p1 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_LISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
-- sz = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Llistxattr(path string, dest []byte) (sz int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 unsafe.Pointer
-- if len(dest) > 0 {
-- _p1 = unsafe.Pointer(&dest[0])
-- } else {
-- _p1 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_LLISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
-- sz = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Lremovexattr(path string, attr string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(attr)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_LREMOVEXATTR, 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 Lsetxattr(path string, attr string, data []byte, flags int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(attr)
-- if err != nil {
-- return
-- }
-- var _p2 unsafe.Pointer
-- if len(data) > 0 {
-- _p2 = unsafe.Pointer(&data[0])
-- } else {
-- _p2 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall6(SYS_LSETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 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 Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
-- _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func PivotRoot(newroot string, putold string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(newroot)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(putold)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_PIVOT_ROOT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func prlimit(pid int, resource int, 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)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error) {
-- _, _, e1 := Syscall6(SYS_PRCTL, uintptr(option), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func read(fd int, p []byte) (n int, err error) {
-- var _p0 unsafe.Pointer
-- if len(p) > 0 {
-- _p0 = unsafe.Pointer(&p[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Removexattr(path string, attr string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(attr)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_REMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(oldpath)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(newpath)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func RequestKey(keyType string, description string, callback string, destRingid int) (id int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(keyType)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(description)
-- if err != nil {
-- return
-- }
-- var _p2 *byte
-- _p2, err = BytePtrFromString(callback)
-- if err != nil {
-- return
-- }
-- r0, _, e1 := Syscall6(SYS_REQUEST_KEY, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(destRingid), 0, 0)
-- id = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setdomainname(p []byte) (err error) {
-- var _p0 unsafe.Pointer
-- if len(p) > 0 {
-- _p0 = unsafe.Pointer(&p[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_SETDOMAINNAME, uintptr(_p0), uintptr(len(p)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Sethostname(p []byte) (err error) {
-- var _p0 unsafe.Pointer
-- if len(p) > 0 {
-- _p0 = unsafe.Pointer(&p[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_SETHOSTNAME, uintptr(_p0), uintptr(len(p)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setpgid(pid int, pgid int) (err error) {
-- _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setsid() (pid int, err error) {
-- r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
-- pid = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Settimeofday(tv *Timeval) (err error) {
-- _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setns(fd int, nstype int) (err error) {
-- _, _, e1 := Syscall(SYS_SETNS, uintptr(fd), uintptr(nstype), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setpriority(which int, who int, prio int) (err error) {
-- _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setxattr(path string, attr string, data []byte, flags int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(attr)
-- if err != nil {
-- return
-- }
-- var _p2 unsafe.Pointer
-- if len(data) > 0 {
-- _p2 = unsafe.Pointer(&data[0])
-- } else {
-- _p2 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall6(SYS_SETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Sync() {
-- Syscall(SYS_SYNC, 0, 0, 0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Syncfs(fd int) (err error) {
-- _, _, e1 := Syscall(SYS_SYNCFS, uintptr(fd), 0, 0)
-+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>>32), uintptr(mask), uintptr(dirFd), uintptr(unsafe.Pointer(pathname)))
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1244,8 +24,8 @@ func Syncfs(fd int) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Sysinfo(info *Sysinfo_t) (err error) {
-- _, _, e1 := RawSyscall(SYS_SYSINFO, uintptr(unsafe.Pointer(info)), 0, 0)
-+func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
-+ _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off>>32), uintptr(off), uintptr(len>>32), uintptr(len))
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1265,62 +45,8 @@ 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 Tgkill(tgid int, tid int, sig syscall.Signal) (err error) {
-- _, _, e1 := RawSyscall(SYS_TGKILL, uintptr(tgid), uintptr(tid), uintptr(sig))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Times(tms *Tms) (ticks uintptr, err error) {
-- r0, _, e1 := RawSyscall(SYS_TIMES, uintptr(unsafe.Pointer(tms)), 0, 0)
-- ticks = uintptr(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Umask(mask int) (oldmask int) {
-- r0, _, _ := RawSyscall(SYS_UMASK, uintptr(mask), 0, 0)
-- oldmask = int(r0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Uname(buf *Utsname) (err error) {
-- _, _, e1 := RawSyscall(SYS_UNAME, uintptr(unsafe.Pointer(buf)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Unmount(target string, flags int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(target)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_UMOUNT2, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Unshare(flags int) (err error) {
-- _, _, e1 := Syscall(SYS_UNSHARE, uintptr(flags), 0, 0)
-+func Dup2(oldfd int, newfd int) (err error) {
-+ _, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1329,8 +55,9 @@ func Unshare(flags int) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Ustat(dev int, ubuf *Ustat_t) (err error) {
-- _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
-+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)
- }
-@@ -1339,46 +66,14 @@ func Ustat(dev int, ubuf *Ustat_t) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func write(fd int, p []byte) (n int, err error) {
-+func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
- var _p0 unsafe.Pointer
-- if len(p) > 0 {
-- _p0 = unsafe.Pointer(&p[0])
-+ if len(events) > 0 {
-+ _p0 = unsafe.Pointer(&events[0])
- } else {
- _p0 = unsafe.Pointer(&_zero)
- }
-- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func exitThread(code int) (err error) {
-- _, _, e1 := Syscall(SYS_EXIT, uintptr(code), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func readlen(fd int, p *byte, np int) (n int, err error) {
-- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func writelen(fd int, p *byte, np int) (n int, err error) {
-- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
-+ r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
- n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1388,118 +83,8 @@ func writelen(fd int, p *byte, np int) (n int, err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func munmap(addr uintptr, length uintptr) (err error) {
-- _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Madvise(b []byte, advice int) (err error) {
-- var _p0 unsafe.Pointer
-- if len(b) > 0 {
-- _p0 = unsafe.Pointer(&b[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(advice))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Mprotect(b []byte, prot int) (err error) {
-- var _p0 unsafe.Pointer
-- if len(b) > 0 {
-- _p0 = unsafe.Pointer(&b[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Mlock(b []byte) (err error) {
-- var _p0 unsafe.Pointer
-- if len(b) > 0 {
-- _p0 = unsafe.Pointer(&b[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Munlock(b []byte) (err error) {
-- var _p0 unsafe.Pointer
-- if len(b) > 0 {
-- _p0 = unsafe.Pointer(&b[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Mlockall(flags int) (err error) {
-- _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func 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 Munlockall() (err error) {
-- _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Dup2(oldfd int, newfd int) (err error) {
-- _, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0)
-+func Fadvise(fd int, offset int64, length int64, advice int) (err error) {
-+ _, _, e1 := Syscall9(SYS_FADVISE64, uintptr(fd), 0, uintptr(offset>>32), uintptr(offset), uintptr(length>>32), uintptr(length), uintptr(advice), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1529,7 +114,7 @@ func Ftruncate(fd int, length int64) (err error) {
- // 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, _ := RawSyscallNoError(SYS_GETEGID, 0, 0, 0)
- egid = int(r0)
- return
- }
-@@ -1537,7 +122,7 @@ func Getegid() (egid int) {
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Geteuid() (euid int) {
-- r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
-+ r0, _ := RawSyscallNoError(SYS_GETEUID, 0, 0, 0)
- euid = int(r0)
- return
- }
-@@ -1545,7 +130,7 @@ func Geteuid() (euid int) {
- // 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, _ := RawSyscallNoError(SYS_GETGID, 0, 0, 0)
- gid = int(r0)
- return
- }
-@@ -1553,7 +138,7 @@ func Getgid() (gid int) {
- // 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, _ := RawSyscallNoError(SYS_GETUID, 0, 0, 0)
- uid = int(r0)
- return
- }
-@@ -1619,6 +204,26 @@ func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-+func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(oldpath)
-+ if err != nil {
-+ return
-+ }
-+ var _p1 *byte
-+ _p1, err = BytePtrFromString(newpath)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
- r0, _, e1 := Syscall6(SYS__NEWSELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
- n = int(r0)
-@@ -1641,8 +246,9 @@ func sendfile(outfd int, infd int, offset *int64, count int) (written int, err e
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Setfsgid(gid int) (err error) {
-- _, _, e1 := Syscall(SYS_SETFSGID, uintptr(gid), 0, 0)
-+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)
- }
-@@ -1651,8 +257,9 @@ func Setfsgid(gid int) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Setfsuid(uid int) (err error) {
-- _, _, e1 := Syscall(SYS_SETFSUID, uintptr(uid), 0, 0)
-+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)
- }
-@@ -1711,9 +318,9 @@ func Shutdown(fd int, how int) (err error) {
-
- // 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, r1, e1 := Syscall6(SYS_SPLICE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags))
-- n = int64(int64(r0)<<32 | int64(r1))
-+func Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int, err error) {
-+ r0, _, e1 := Syscall6(SYS_SPLICE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags))
-+ n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1747,6 +354,16 @@ func Truncate(path string, length int64) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-+func Ustat(dev int, ubuf *Ustat_t) (err error) {
-+ _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func 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)
-@@ -1957,6 +574,21 @@ func Iopl(level int) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-+func futimesat(dirfd int, path string, times *[2]Timeval) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)))
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Gettimeofday(tv *Timeval) (err error) {
- _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
- if e1 != 0 {
-@@ -1978,13 +610,13 @@ func Time(t *Time_t) (tt Time_t, err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Lstat(path string, stat *Stat_t) (err error) {
-+func Utime(path string, buf *Utimbuf) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
- if err != nil {
- return
- }
-- _, _, e1 := Syscall(SYS_LSTAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-+ _, _, e1 := Syscall(SYS_UTIME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1993,8 +625,13 @@ func Lstat(path string, stat *Stat_t) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Fstat(fd int, stat *Stat_t) (err error) {
-- _, _, e1 := Syscall(SYS_FSTAT64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-+func utimes(path string, times *[2]Timeval) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -2003,13 +640,13 @@ func Fstat(fd int, stat *Stat_t) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Stat(path string, stat *Stat_t) (err error) {
-+func Lstat(path string, stat *Stat_t) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
- if err != nil {
- return
- }
-- _, _, e1 := Syscall(SYS_STAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-+ _, _, e1 := Syscall(SYS_LSTAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -2018,13 +655,23 @@ func Stat(path string, stat *Stat_t) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Utime(path string, buf *Utimbuf) (err error) {
-+func Fstat(fd int, stat *Stat_t) (err error) {
-+ _, _, e1 := Syscall(SYS_FSTAT64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Fstatat(dirfd int, path string, stat *Stat_t, flags int) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
- if err != nil {
- return
- }
-- _, _, e1 := Syscall(SYS_UTIME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0)
-+ _, _, e1 := Syscall6(SYS_FSTATAT64, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -2033,15 +680,13 @@ func Utime(path string, buf *Utimbuf) (err error) {
-
- // 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)
-+func Stat(path string, stat *Stat_t) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
- }
-- r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
-- n = int(r0)
-+ _, _, e1 := Syscall(SYS_STAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -2060,8 +705,10 @@ func Pause() (err error) {
-
- // 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 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)
- }
-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 4fde3ef0..424fb7fb 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 @@
--// mksyscall.pl -tags linux,mips64 syscall_linux.go syscall_linux_mips64x.go
-+// go run mksyscall.go -tags linux,mips64 syscall_linux.go syscall_linux_mips64x.go
- // Code generated by the command above; see README.md. DO NOT EDIT.
-
- // +build linux,mips64
-@@ -14,1228 +14,8 @@ var _ syscall.Errno
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func fchmodat(dirfd int, path string, mode uint32) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_FCHMODAT, 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 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 Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(oldpath)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(newpath)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_LINKAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), uintptr(mode), 0, 0)
-- fd = int(r0)
-- 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)
-- 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 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 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 utimes(path string, times *[2]Timeval) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
-- 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
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func futimesat(dirfd int, path *byte, times *[2]Timeval) (err error) {
-- _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(times)))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getcwd(buf []byte) (n int, err error) {
-- var _p0 unsafe.Pointer
-- if len(buf) > 0 {
-- _p0 = unsafe.Pointer(&buf[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
-- r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
-- wpid = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func 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)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func KeyctlBuffer(cmd int, arg2 int, buf []byte, arg5 int) (ret 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_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(_p0), uintptr(len(buf)), uintptr(arg5), 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 keyctlJoin(cmd int, arg2 string) (ret int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(arg2)
-- if err != nil {
-- return
-- }
-- r0, _, e1 := Syscall(SYS_KEYCTL, uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 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 keyctlSearch(cmd int, arg2 int, arg3 string, arg4 string, arg5 int) (ret int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(arg3)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(arg4)
-- if err != nil {
-- return
-- }
-- r0, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(arg5), 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 keyctlIOV(cmd int, arg2 int, payload []Iovec, arg5 int) (err error) {
-- var _p0 unsafe.Pointer
-- if len(payload) > 0 {
-- _p0 = unsafe.Pointer(&payload[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(_p0), uintptr(len(payload)), uintptr(arg5), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func keyctlDH(cmd int, arg2 *KeyctlDHParams, buf []byte) (ret 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_KEYCTL, uintptr(cmd), uintptr(unsafe.Pointer(arg2)), uintptr(_p0), uintptr(len(buf)), 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 ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
-- _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func reboot(magic1 uint, magic2 uint, cmd int, arg string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(arg)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_REBOOT, uintptr(magic1), uintptr(magic2), uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func mount(source string, target string, fstype string, flags uintptr, data *byte) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(source)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(target)
-- if err != nil {
-- return
-- }
-- var _p2 *byte
-- _p2, err = BytePtrFromString(fstype)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_MOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(flags), uintptr(unsafe.Pointer(data)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Acct(path string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_ACCT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func AddKey(keyType string, description string, payload []byte, ringid int) (id int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(keyType)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(description)
-- if err != nil {
-- return
-- }
-- var _p2 unsafe.Pointer
-- if len(payload) > 0 {
-- _p2 = unsafe.Pointer(&payload[0])
-- } else {
-- _p2 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall6(SYS_ADD_KEY, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(payload)), uintptr(ringid), 0)
-- id = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Adjtimex(buf *Timex) (state int, err error) {
-- r0, _, e1 := Syscall(SYS_ADJTIMEX, uintptr(unsafe.Pointer(buf)), 0, 0)
-- state = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Chdir(path string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-- 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 ClockGettime(clockid int32, time *Timespec) (err error) {
-- _, _, e1 := Syscall(SYS_CLOCK_GETTIME, uintptr(clockid), uintptr(unsafe.Pointer(time)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Close(fd int) (err error) {
-- _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func CopyFileRange(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int, err error) {
-- r0, _, e1 := Syscall6(SYS_COPY_FILE_RANGE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Dup(oldfd int) (fd int, err error) {
-- r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), 0, 0)
-- fd = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Dup3(oldfd int, newfd int, flags int) (err error) {
-- _, _, e1 := Syscall(SYS_DUP3, uintptr(oldfd), uintptr(newfd), uintptr(flags))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func EpollCreate(size int) (fd int, err error) {
-- r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE, uintptr(size), 0, 0)
-- fd = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func EpollCreate1(flag int) (fd int, err error) {
-- r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE1, uintptr(flag), 0, 0)
-- fd = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) {
-- _, _, e1 := RawSyscall6(SYS_EPOLL_CTL, uintptr(epfd), uintptr(op), uintptr(fd), uintptr(unsafe.Pointer(event)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Eventfd(initval uint, flags int) (fd int, err error) {
-- r0, _, e1 := Syscall(SYS_EVENTFD2, uintptr(initval), 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 Exit(code int) {
-- Syscall(SYS_EXIT_GROUP, uintptr(code), 0, 0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
-- _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(len), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Fchdir(fd int) (err error) {
-- _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Fchmod(fd int, mode uint32) (err error) {
-- _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func 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 fcntl(fd int, cmd int, arg int) (val int, err error) {
-- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-- val = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Fdatasync(fd int) (err error) {
-- _, _, e1 := Syscall(SYS_FDATASYNC, uintptr(fd), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Flock(fd int, how int) (err error) {
-- _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Fsync(fd int) (err error) {
-- _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getdents(fd int, buf []byte) (n int, err error) {
-- var _p0 unsafe.Pointer
-- if len(buf) > 0 {
-- _p0 = unsafe.Pointer(&buf[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_GETDENTS64, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getpgid(pid int) (pgid int, err error) {
-- r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
-- pgid = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getpid() (pid int) {
-- r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
-- pid = int(r0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getppid() (ppid int) {
-- r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
-- ppid = int(r0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getpriority(which int, who int) (prio int, err error) {
-- r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
-- prio = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getrandom(buf []byte, flags int) (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_GETRANDOM, uintptr(_p0), uintptr(len(buf)), 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 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 Gettid() (tid int) {
-- r0, _, _ := RawSyscall(SYS_GETTID, 0, 0, 0)
-- tid = int(r0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getxattr(path string, attr string, dest []byte) (sz int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(attr)
-- if err != nil {
-- return
-- }
-- var _p2 unsafe.Pointer
-- if len(dest) > 0 {
-- _p2 = unsafe.Pointer(&dest[0])
-- } else {
-- _p2 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall6(SYS_GETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
-- sz = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func InotifyAddWatch(fd int, pathname string, mask uint32) (watchdesc int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(pathname)
-- if err != nil {
-- return
-- }
-- r0, _, e1 := Syscall(SYS_INOTIFY_ADD_WATCH, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mask))
-- watchdesc = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func InotifyInit1(flags int) (fd int, err error) {
-- r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT1, uintptr(flags), 0, 0)
-- fd = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func InotifyRmWatch(fd int, watchdesc uint32) (success int, err error) {
-- r0, _, e1 := RawSyscall(SYS_INOTIFY_RM_WATCH, uintptr(fd), uintptr(watchdesc), 0)
-- success = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Kill(pid int, sig syscall.Signal) (err error) {
-- _, _, e1 := RawSyscall(SYS_KILL, uintptr(pid), uintptr(sig), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Klogctl(typ int, buf []byte) (n int, err error) {
-- var _p0 unsafe.Pointer
-- if len(buf) > 0 {
-- _p0 = unsafe.Pointer(&buf[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_SYSLOG, uintptr(typ), uintptr(_p0), uintptr(len(buf)))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Lgetxattr(path string, attr string, dest []byte) (sz int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(attr)
-- if err != nil {
-- return
-- }
-- var _p2 unsafe.Pointer
-- if len(dest) > 0 {
-- _p2 = unsafe.Pointer(&dest[0])
-- } else {
-- _p2 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall6(SYS_LGETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
-- sz = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Listxattr(path string, dest []byte) (sz int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 unsafe.Pointer
-- if len(dest) > 0 {
-- _p1 = unsafe.Pointer(&dest[0])
-- } else {
-- _p1 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_LISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
-- sz = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Llistxattr(path string, dest []byte) (sz int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 unsafe.Pointer
-- if len(dest) > 0 {
-- _p1 = unsafe.Pointer(&dest[0])
-- } else {
-- _p1 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_LLISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
-- sz = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Lremovexattr(path string, attr string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(attr)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_LREMOVEXATTR, 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 Lsetxattr(path string, attr string, data []byte, flags int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(attr)
-- if err != nil {
-- return
-- }
-- var _p2 unsafe.Pointer
-- if len(data) > 0 {
-- _p2 = unsafe.Pointer(&data[0])
-- } else {
-- _p2 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall6(SYS_LSETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 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 Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
-- _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func PivotRoot(newroot string, putold string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(newroot)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(putold)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_PIVOT_ROOT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func prlimit(pid int, resource int, 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)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error) {
-- _, _, e1 := Syscall6(SYS_PRCTL, uintptr(option), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func read(fd int, p []byte) (n int, err error) {
-- var _p0 unsafe.Pointer
-- if len(p) > 0 {
-- _p0 = unsafe.Pointer(&p[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Removexattr(path string, attr string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(attr)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_REMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(oldpath)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(newpath)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func RequestKey(keyType string, description string, callback string, destRingid int) (id int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(keyType)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(description)
-- if err != nil {
-- return
-- }
-- var _p2 *byte
-- _p2, err = BytePtrFromString(callback)
-- if err != nil {
-- return
-- }
-- r0, _, e1 := Syscall6(SYS_REQUEST_KEY, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(destRingid), 0, 0)
-- id = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setdomainname(p []byte) (err error) {
-- var _p0 unsafe.Pointer
-- if len(p) > 0 {
-- _p0 = unsafe.Pointer(&p[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_SETDOMAINNAME, uintptr(_p0), uintptr(len(p)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Sethostname(p []byte) (err error) {
-- var _p0 unsafe.Pointer
-- if len(p) > 0 {
-- _p0 = unsafe.Pointer(&p[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_SETHOSTNAME, uintptr(_p0), uintptr(len(p)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setpgid(pid int, pgid int) (err error) {
-- _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setsid() (pid int, err error) {
-- r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
-- pid = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Settimeofday(tv *Timeval) (err error) {
-- _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setns(fd int, nstype int) (err error) {
-- _, _, e1 := Syscall(SYS_SETNS, uintptr(fd), uintptr(nstype), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setpriority(which int, who int, prio int) (err error) {
-- _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setxattr(path string, attr string, data []byte, flags int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(attr)
-- if err != nil {
-- return
-- }
-- var _p2 unsafe.Pointer
-- if len(data) > 0 {
-- _p2 = unsafe.Pointer(&data[0])
-- } else {
-- _p2 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall6(SYS_SETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Sync() {
-- Syscall(SYS_SYNC, 0, 0, 0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Syncfs(fd int) (err error) {
-- _, _, e1 := Syscall(SYS_SYNCFS, uintptr(fd), 0, 0)
-+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)
- }
-@@ -1244,8 +24,8 @@ func Syncfs(fd int) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Sysinfo(info *Sysinfo_t) (err error) {
-- _, _, e1 := RawSyscall(SYS_SYSINFO, uintptr(unsafe.Pointer(info)), 0, 0)
-+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)
- }
-@@ -1265,62 +45,8 @@ 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 Tgkill(tgid int, tid int, sig syscall.Signal) (err error) {
-- _, _, e1 := RawSyscall(SYS_TGKILL, uintptr(tgid), uintptr(tid), uintptr(sig))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Times(tms *Tms) (ticks uintptr, err error) {
-- r0, _, e1 := RawSyscall(SYS_TIMES, uintptr(unsafe.Pointer(tms)), 0, 0)
-- ticks = uintptr(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Umask(mask int) (oldmask int) {
-- r0, _, _ := RawSyscall(SYS_UMASK, uintptr(mask), 0, 0)
-- oldmask = int(r0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Uname(buf *Utsname) (err error) {
-- _, _, e1 := RawSyscall(SYS_UNAME, uintptr(unsafe.Pointer(buf)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Unmount(target string, flags int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(target)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_UMOUNT2, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Unshare(flags int) (err error) {
-- _, _, e1 := Syscall(SYS_UNSHARE, uintptr(flags), 0, 0)
-+func Dup2(oldfd int, newfd int) (err error) {
-+ _, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1329,8 +55,9 @@ func Unshare(flags int) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Ustat(dev int, ubuf *Ustat_t) (err error) {
-- _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
-+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)
- }
-@@ -1339,46 +66,14 @@ func Ustat(dev int, ubuf *Ustat_t) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func write(fd int, p []byte) (n int, err error) {
-+func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
- var _p0 unsafe.Pointer
-- if len(p) > 0 {
-- _p0 = unsafe.Pointer(&p[0])
-+ if len(events) > 0 {
-+ _p0 = unsafe.Pointer(&events[0])
- } else {
- _p0 = unsafe.Pointer(&_zero)
- }
-- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func exitThread(code int) (err error) {
-- _, _, e1 := Syscall(SYS_EXIT, uintptr(code), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func readlen(fd int, p *byte, np int) (n int, err error) {
-- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func writelen(fd int, p *byte, np int) (n int, err error) {
-- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
-+ r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
- n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1388,135 +83,8 @@ func writelen(fd int, p *byte, np int) (n int, err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func munmap(addr uintptr, length uintptr) (err error) {
-- _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Madvise(b []byte, advice int) (err error) {
-- var _p0 unsafe.Pointer
-- if len(b) > 0 {
-- _p0 = unsafe.Pointer(&b[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(advice))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Mprotect(b []byte, prot int) (err error) {
-- var _p0 unsafe.Pointer
-- if len(b) > 0 {
-- _p0 = unsafe.Pointer(&b[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Mlock(b []byte) (err error) {
-- var _p0 unsafe.Pointer
-- if len(b) > 0 {
-- _p0 = unsafe.Pointer(&b[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Munlock(b []byte) (err error) {
-- var _p0 unsafe.Pointer
-- if len(b) > 0 {
-- _p0 = unsafe.Pointer(&b[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Mlockall(flags int) (err error) {
-- _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func 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 Munlockall() (err error) {
-- _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Dup2(oldfd int, newfd int) (err error) {
-- _, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
-- var _p0 unsafe.Pointer
-- if len(events) > 0 {
-- _p0 = unsafe.Pointer(&events[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
-- n = int(r0)
-+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)
- }
-@@ -1556,7 +124,7 @@ func Ftruncate(fd int, length int64) (err error) {
- // 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, _ := RawSyscallNoError(SYS_GETEGID, 0, 0, 0)
- egid = int(r0)
- return
- }
-@@ -1564,7 +132,7 @@ func Getegid() (egid int) {
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Geteuid() (euid int) {
-- r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
-+ r0, _ := RawSyscallNoError(SYS_GETEUID, 0, 0, 0)
- euid = int(r0)
- return
- }
-@@ -1572,7 +140,7 @@ func Geteuid() (euid int) {
- // 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, _ := RawSyscallNoError(SYS_GETGID, 0, 0, 0)
- gid = int(r0)
- return
- }
-@@ -1590,7 +158,7 @@ func Getrlimit(resource int, rlim *Rlimit) (err error) {
- // 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, _ := RawSyscallNoError(SYS_GETUID, 0, 0, 0)
- uid = int(r0)
- return
- }
-@@ -1666,9 +234,18 @@ func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
-
- // 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)
-+func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(oldpath)
-+ if err != nil {
-+ return
-+ }
-+ var _p1 *byte
-+ _p1, err = BytePtrFromString(newpath)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1677,9 +254,9 @@ func Seek(fd int, offset int64, whence int) (off int64, err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
-- r0, _, e1 := Syscall6(SYS_PSELECT6, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-- n = int(r0)
-+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)
- }
-@@ -1699,8 +276,9 @@ func sendfile(outfd int, infd int, offset *int64, count int) (written int, err e
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Setfsgid(gid int) (err error) {
-- _, _, e1 := Syscall(SYS_SETFSGID, uintptr(gid), 0, 0)
-+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)
- }
-@@ -1709,8 +287,9 @@ func Setfsgid(gid int) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Setfsuid(uid int) (err error) {
-- _, _, e1 := Syscall(SYS_SETFSUID, uintptr(uid), 0, 0)
-+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)
- }
-@@ -1830,6 +409,16 @@ func Truncate(path string, length int64) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-+func Ustat(dev int, ubuf *Ustat_t) (err error) {
-+ _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func 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)
-@@ -2020,6 +609,21 @@ func mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int6
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-+func futimesat(dirfd int, path string, times *[2]Timeval) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)))
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Gettimeofday(tv *Timeval) (err error) {
- _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
- if e1 != 0 {
-@@ -2045,8 +649,13 @@ func Utime(path string, buf *Utimbuf) (err error) {
-
- // 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 utimes(path string, times *[2]Timeval) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -2065,6 +674,21 @@ func fstat(fd int, st *stat_t) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-+func fstatat(dirfd int, path string, st *stat_t, flags int) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall6(SYS_NEWFSTATAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(st)), 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 lstat(path string, st *stat_t) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
-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 f6463423..28c7239c 100644
---- a/vendor/golang.org/x/sys/unix/zsyscall_linux_mips64le.go
-+++ b/vendor/golang.org/x/sys/unix/zsyscall_linux_mips64le.go
-@@ -1,4 +1,4 @@
--// mksyscall.pl -tags linux,mips64le syscall_linux.go syscall_linux_mips64x.go
-+// go run mksyscall.go -tags linux,mips64le syscall_linux.go syscall_linux_mips64x.go
- // Code generated by the command above; see README.md. DO NOT EDIT.
-
- // +build linux,mips64le
-@@ -14,1228 +14,8 @@ var _ syscall.Errno
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func fchmodat(dirfd int, path string, mode uint32) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_FCHMODAT, 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 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 Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(oldpath)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(newpath)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_LINKAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), uintptr(mode), 0, 0)
-- fd = int(r0)
-- 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)
-- 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 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 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 utimes(path string, times *[2]Timeval) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
-- 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
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func futimesat(dirfd int, path *byte, times *[2]Timeval) (err error) {
-- _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(times)))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getcwd(buf []byte) (n int, err error) {
-- var _p0 unsafe.Pointer
-- if len(buf) > 0 {
-- _p0 = unsafe.Pointer(&buf[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
-- r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
-- wpid = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func 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)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func KeyctlBuffer(cmd int, arg2 int, buf []byte, arg5 int) (ret 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_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(_p0), uintptr(len(buf)), uintptr(arg5), 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 keyctlJoin(cmd int, arg2 string) (ret int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(arg2)
-- if err != nil {
-- return
-- }
-- r0, _, e1 := Syscall(SYS_KEYCTL, uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 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 keyctlSearch(cmd int, arg2 int, arg3 string, arg4 string, arg5 int) (ret int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(arg3)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(arg4)
-- if err != nil {
-- return
-- }
-- r0, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(arg5), 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 keyctlIOV(cmd int, arg2 int, payload []Iovec, arg5 int) (err error) {
-- var _p0 unsafe.Pointer
-- if len(payload) > 0 {
-- _p0 = unsafe.Pointer(&payload[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(_p0), uintptr(len(payload)), uintptr(arg5), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func keyctlDH(cmd int, arg2 *KeyctlDHParams, buf []byte) (ret 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_KEYCTL, uintptr(cmd), uintptr(unsafe.Pointer(arg2)), uintptr(_p0), uintptr(len(buf)), 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 ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
-- _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func reboot(magic1 uint, magic2 uint, cmd int, arg string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(arg)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_REBOOT, uintptr(magic1), uintptr(magic2), uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func mount(source string, target string, fstype string, flags uintptr, data *byte) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(source)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(target)
-- if err != nil {
-- return
-- }
-- var _p2 *byte
-- _p2, err = BytePtrFromString(fstype)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_MOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(flags), uintptr(unsafe.Pointer(data)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Acct(path string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_ACCT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func AddKey(keyType string, description string, payload []byte, ringid int) (id int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(keyType)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(description)
-- if err != nil {
-- return
-- }
-- var _p2 unsafe.Pointer
-- if len(payload) > 0 {
-- _p2 = unsafe.Pointer(&payload[0])
-- } else {
-- _p2 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall6(SYS_ADD_KEY, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(payload)), uintptr(ringid), 0)
-- id = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Adjtimex(buf *Timex) (state int, err error) {
-- r0, _, e1 := Syscall(SYS_ADJTIMEX, uintptr(unsafe.Pointer(buf)), 0, 0)
-- state = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Chdir(path string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-- 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 ClockGettime(clockid int32, time *Timespec) (err error) {
-- _, _, e1 := Syscall(SYS_CLOCK_GETTIME, uintptr(clockid), uintptr(unsafe.Pointer(time)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Close(fd int) (err error) {
-- _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func CopyFileRange(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int, err error) {
-- r0, _, e1 := Syscall6(SYS_COPY_FILE_RANGE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Dup(oldfd int) (fd int, err error) {
-- r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), 0, 0)
-- fd = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Dup3(oldfd int, newfd int, flags int) (err error) {
-- _, _, e1 := Syscall(SYS_DUP3, uintptr(oldfd), uintptr(newfd), uintptr(flags))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func EpollCreate(size int) (fd int, err error) {
-- r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE, uintptr(size), 0, 0)
-- fd = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func EpollCreate1(flag int) (fd int, err error) {
-- r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE1, uintptr(flag), 0, 0)
-- fd = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) {
-- _, _, e1 := RawSyscall6(SYS_EPOLL_CTL, uintptr(epfd), uintptr(op), uintptr(fd), uintptr(unsafe.Pointer(event)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Eventfd(initval uint, flags int) (fd int, err error) {
-- r0, _, e1 := Syscall(SYS_EVENTFD2, uintptr(initval), 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 Exit(code int) {
-- Syscall(SYS_EXIT_GROUP, uintptr(code), 0, 0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
-- _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(len), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Fchdir(fd int) (err error) {
-- _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Fchmod(fd int, mode uint32) (err error) {
-- _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func 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 fcntl(fd int, cmd int, arg int) (val int, err error) {
-- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-- val = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Fdatasync(fd int) (err error) {
-- _, _, e1 := Syscall(SYS_FDATASYNC, uintptr(fd), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Flock(fd int, how int) (err error) {
-- _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Fsync(fd int) (err error) {
-- _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getdents(fd int, buf []byte) (n int, err error) {
-- var _p0 unsafe.Pointer
-- if len(buf) > 0 {
-- _p0 = unsafe.Pointer(&buf[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_GETDENTS64, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getpgid(pid int) (pgid int, err error) {
-- r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
-- pgid = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getpid() (pid int) {
-- r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
-- pid = int(r0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getppid() (ppid int) {
-- r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
-- ppid = int(r0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getpriority(which int, who int) (prio int, err error) {
-- r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
-- prio = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getrandom(buf []byte, flags int) (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_GETRANDOM, uintptr(_p0), uintptr(len(buf)), 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 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 Gettid() (tid int) {
-- r0, _, _ := RawSyscall(SYS_GETTID, 0, 0, 0)
-- tid = int(r0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getxattr(path string, attr string, dest []byte) (sz int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(attr)
-- if err != nil {
-- return
-- }
-- var _p2 unsafe.Pointer
-- if len(dest) > 0 {
-- _p2 = unsafe.Pointer(&dest[0])
-- } else {
-- _p2 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall6(SYS_GETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
-- sz = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func InotifyAddWatch(fd int, pathname string, mask uint32) (watchdesc int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(pathname)
-- if err != nil {
-- return
-- }
-- r0, _, e1 := Syscall(SYS_INOTIFY_ADD_WATCH, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mask))
-- watchdesc = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func InotifyInit1(flags int) (fd int, err error) {
-- r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT1, uintptr(flags), 0, 0)
-- fd = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func InotifyRmWatch(fd int, watchdesc uint32) (success int, err error) {
-- r0, _, e1 := RawSyscall(SYS_INOTIFY_RM_WATCH, uintptr(fd), uintptr(watchdesc), 0)
-- success = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Kill(pid int, sig syscall.Signal) (err error) {
-- _, _, e1 := RawSyscall(SYS_KILL, uintptr(pid), uintptr(sig), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Klogctl(typ int, buf []byte) (n int, err error) {
-- var _p0 unsafe.Pointer
-- if len(buf) > 0 {
-- _p0 = unsafe.Pointer(&buf[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_SYSLOG, uintptr(typ), uintptr(_p0), uintptr(len(buf)))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Lgetxattr(path string, attr string, dest []byte) (sz int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(attr)
-- if err != nil {
-- return
-- }
-- var _p2 unsafe.Pointer
-- if len(dest) > 0 {
-- _p2 = unsafe.Pointer(&dest[0])
-- } else {
-- _p2 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall6(SYS_LGETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
-- sz = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Listxattr(path string, dest []byte) (sz int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 unsafe.Pointer
-- if len(dest) > 0 {
-- _p1 = unsafe.Pointer(&dest[0])
-- } else {
-- _p1 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_LISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
-- sz = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Llistxattr(path string, dest []byte) (sz int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 unsafe.Pointer
-- if len(dest) > 0 {
-- _p1 = unsafe.Pointer(&dest[0])
-- } else {
-- _p1 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_LLISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
-- sz = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Lremovexattr(path string, attr string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(attr)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_LREMOVEXATTR, 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 Lsetxattr(path string, attr string, data []byte, flags int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(attr)
-- if err != nil {
-- return
-- }
-- var _p2 unsafe.Pointer
-- if len(data) > 0 {
-- _p2 = unsafe.Pointer(&data[0])
-- } else {
-- _p2 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall6(SYS_LSETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 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 Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
-- _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func PivotRoot(newroot string, putold string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(newroot)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(putold)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_PIVOT_ROOT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func prlimit(pid int, resource int, 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)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error) {
-- _, _, e1 := Syscall6(SYS_PRCTL, uintptr(option), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func read(fd int, p []byte) (n int, err error) {
-- var _p0 unsafe.Pointer
-- if len(p) > 0 {
-- _p0 = unsafe.Pointer(&p[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Removexattr(path string, attr string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(attr)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_REMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(oldpath)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(newpath)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func RequestKey(keyType string, description string, callback string, destRingid int) (id int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(keyType)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(description)
-- if err != nil {
-- return
-- }
-- var _p2 *byte
-- _p2, err = BytePtrFromString(callback)
-- if err != nil {
-- return
-- }
-- r0, _, e1 := Syscall6(SYS_REQUEST_KEY, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(destRingid), 0, 0)
-- id = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setdomainname(p []byte) (err error) {
-- var _p0 unsafe.Pointer
-- if len(p) > 0 {
-- _p0 = unsafe.Pointer(&p[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_SETDOMAINNAME, uintptr(_p0), uintptr(len(p)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Sethostname(p []byte) (err error) {
-- var _p0 unsafe.Pointer
-- if len(p) > 0 {
-- _p0 = unsafe.Pointer(&p[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_SETHOSTNAME, uintptr(_p0), uintptr(len(p)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setpgid(pid int, pgid int) (err error) {
-- _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setsid() (pid int, err error) {
-- r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
-- pid = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Settimeofday(tv *Timeval) (err error) {
-- _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setns(fd int, nstype int) (err error) {
-- _, _, e1 := Syscall(SYS_SETNS, uintptr(fd), uintptr(nstype), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setpriority(which int, who int, prio int) (err error) {
-- _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setxattr(path string, attr string, data []byte, flags int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(attr)
-- if err != nil {
-- return
-- }
-- var _p2 unsafe.Pointer
-- if len(data) > 0 {
-- _p2 = unsafe.Pointer(&data[0])
-- } else {
-- _p2 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall6(SYS_SETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Sync() {
-- Syscall(SYS_SYNC, 0, 0, 0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Syncfs(fd int) (err error) {
-- _, _, e1 := Syscall(SYS_SYNCFS, uintptr(fd), 0, 0)
-+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)
- }
-@@ -1244,8 +24,8 @@ func Syncfs(fd int) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Sysinfo(info *Sysinfo_t) (err error) {
-- _, _, e1 := RawSyscall(SYS_SYSINFO, uintptr(unsafe.Pointer(info)), 0, 0)
-+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)
- }
-@@ -1265,62 +45,8 @@ 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 Tgkill(tgid int, tid int, sig syscall.Signal) (err error) {
-- _, _, e1 := RawSyscall(SYS_TGKILL, uintptr(tgid), uintptr(tid), uintptr(sig))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Times(tms *Tms) (ticks uintptr, err error) {
-- r0, _, e1 := RawSyscall(SYS_TIMES, uintptr(unsafe.Pointer(tms)), 0, 0)
-- ticks = uintptr(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Umask(mask int) (oldmask int) {
-- r0, _, _ := RawSyscall(SYS_UMASK, uintptr(mask), 0, 0)
-- oldmask = int(r0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Uname(buf *Utsname) (err error) {
-- _, _, e1 := RawSyscall(SYS_UNAME, uintptr(unsafe.Pointer(buf)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Unmount(target string, flags int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(target)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_UMOUNT2, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Unshare(flags int) (err error) {
-- _, _, e1 := Syscall(SYS_UNSHARE, uintptr(flags), 0, 0)
-+func Dup2(oldfd int, newfd int) (err error) {
-+ _, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1329,8 +55,9 @@ func Unshare(flags int) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Ustat(dev int, ubuf *Ustat_t) (err error) {
-- _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
-+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)
- }
-@@ -1339,46 +66,14 @@ func Ustat(dev int, ubuf *Ustat_t) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func write(fd int, p []byte) (n int, err error) {
-+func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
- var _p0 unsafe.Pointer
-- if len(p) > 0 {
-- _p0 = unsafe.Pointer(&p[0])
-+ if len(events) > 0 {
-+ _p0 = unsafe.Pointer(&events[0])
- } else {
- _p0 = unsafe.Pointer(&_zero)
- }
-- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func exitThread(code int) (err error) {
-- _, _, e1 := Syscall(SYS_EXIT, uintptr(code), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func readlen(fd int, p *byte, np int) (n int, err error) {
-- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func writelen(fd int, p *byte, np int) (n int, err error) {
-- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
-+ r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
- n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1388,135 +83,8 @@ func writelen(fd int, p *byte, np int) (n int, err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func munmap(addr uintptr, length uintptr) (err error) {
-- _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Madvise(b []byte, advice int) (err error) {
-- var _p0 unsafe.Pointer
-- if len(b) > 0 {
-- _p0 = unsafe.Pointer(&b[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(advice))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Mprotect(b []byte, prot int) (err error) {
-- var _p0 unsafe.Pointer
-- if len(b) > 0 {
-- _p0 = unsafe.Pointer(&b[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Mlock(b []byte) (err error) {
-- var _p0 unsafe.Pointer
-- if len(b) > 0 {
-- _p0 = unsafe.Pointer(&b[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Munlock(b []byte) (err error) {
-- var _p0 unsafe.Pointer
-- if len(b) > 0 {
-- _p0 = unsafe.Pointer(&b[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Mlockall(flags int) (err error) {
-- _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func 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 Munlockall() (err error) {
-- _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Dup2(oldfd int, newfd int) (err error) {
-- _, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
-- var _p0 unsafe.Pointer
-- if len(events) > 0 {
-- _p0 = unsafe.Pointer(&events[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
-- n = int(r0)
-+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)
- }
-@@ -1556,7 +124,7 @@ func Ftruncate(fd int, length int64) (err error) {
- // 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, _ := RawSyscallNoError(SYS_GETEGID, 0, 0, 0)
- egid = int(r0)
- return
- }
-@@ -1564,7 +132,7 @@ func Getegid() (egid int) {
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Geteuid() (euid int) {
-- r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
-+ r0, _ := RawSyscallNoError(SYS_GETEUID, 0, 0, 0)
- euid = int(r0)
- return
- }
-@@ -1572,7 +140,7 @@ func Geteuid() (euid int) {
- // 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, _ := RawSyscallNoError(SYS_GETGID, 0, 0, 0)
- gid = int(r0)
- return
- }
-@@ -1590,7 +158,7 @@ func Getrlimit(resource int, rlim *Rlimit) (err error) {
- // 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, _ := RawSyscallNoError(SYS_GETUID, 0, 0, 0)
- uid = int(r0)
- return
- }
-@@ -1666,9 +234,18 @@ func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
-
- // 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)
-+func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(oldpath)
-+ if err != nil {
-+ return
-+ }
-+ var _p1 *byte
-+ _p1, err = BytePtrFromString(newpath)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1677,9 +254,9 @@ func Seek(fd int, offset int64, whence int) (off int64, err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
-- r0, _, e1 := Syscall6(SYS_PSELECT6, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-- n = int(r0)
-+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)
- }
-@@ -1699,8 +276,9 @@ func sendfile(outfd int, infd int, offset *int64, count int) (written int, err e
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Setfsgid(gid int) (err error) {
-- _, _, e1 := Syscall(SYS_SETFSGID, uintptr(gid), 0, 0)
-+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)
- }
-@@ -1709,8 +287,9 @@ func Setfsgid(gid int) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Setfsuid(uid int) (err error) {
-- _, _, e1 := Syscall(SYS_SETFSUID, uintptr(uid), 0, 0)
-+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)
- }
-@@ -1830,6 +409,16 @@ func Truncate(path string, length int64) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-+func Ustat(dev int, ubuf *Ustat_t) (err error) {
-+ _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func 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)
-@@ -2020,6 +609,21 @@ func mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int6
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-+func futimesat(dirfd int, path string, times *[2]Timeval) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)))
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Gettimeofday(tv *Timeval) (err error) {
- _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
- if e1 != 0 {
-@@ -2045,8 +649,13 @@ func Utime(path string, buf *Utimbuf) (err error) {
-
- // 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 utimes(path string, times *[2]Timeval) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -2065,6 +674,21 @@ func fstat(fd int, st *stat_t) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-+func fstatat(dirfd int, path string, st *stat_t, flags int) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall6(SYS_NEWFSTATAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(st)), 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 lstat(path string, st *stat_t) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
-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 964591e5..84596b30 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 @@
--// mksyscall.pl -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
- // Code generated by the command above; see README.md. DO NOT EDIT.
-
- // +build linux,mipsle
-@@ -14,1228 +14,8 @@ var _ syscall.Errno
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func fchmodat(dirfd int, path string, mode uint32) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_FCHMODAT, 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 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 Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(oldpath)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(newpath)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_LINKAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), uintptr(mode), 0, 0)
-- fd = int(r0)
-- 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)
-- 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 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 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 utimes(path string, times *[2]Timeval) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
-- 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
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func futimesat(dirfd int, path *byte, times *[2]Timeval) (err error) {
-- _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(times)))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getcwd(buf []byte) (n int, err error) {
-- var _p0 unsafe.Pointer
-- if len(buf) > 0 {
-- _p0 = unsafe.Pointer(&buf[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
-- r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
-- wpid = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func 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)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func KeyctlBuffer(cmd int, arg2 int, buf []byte, arg5 int) (ret 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_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(_p0), uintptr(len(buf)), uintptr(arg5), 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 keyctlJoin(cmd int, arg2 string) (ret int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(arg2)
-- if err != nil {
-- return
-- }
-- r0, _, e1 := Syscall(SYS_KEYCTL, uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 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 keyctlSearch(cmd int, arg2 int, arg3 string, arg4 string, arg5 int) (ret int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(arg3)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(arg4)
-- if err != nil {
-- return
-- }
-- r0, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(arg5), 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 keyctlIOV(cmd int, arg2 int, payload []Iovec, arg5 int) (err error) {
-- var _p0 unsafe.Pointer
-- if len(payload) > 0 {
-- _p0 = unsafe.Pointer(&payload[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(_p0), uintptr(len(payload)), uintptr(arg5), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func keyctlDH(cmd int, arg2 *KeyctlDHParams, buf []byte) (ret 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_KEYCTL, uintptr(cmd), uintptr(unsafe.Pointer(arg2)), uintptr(_p0), uintptr(len(buf)), 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 ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
-- _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func reboot(magic1 uint, magic2 uint, cmd int, arg string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(arg)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_REBOOT, uintptr(magic1), uintptr(magic2), uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func mount(source string, target string, fstype string, flags uintptr, data *byte) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(source)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(target)
-- if err != nil {
-- return
-- }
-- var _p2 *byte
-- _p2, err = BytePtrFromString(fstype)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_MOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(flags), uintptr(unsafe.Pointer(data)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Acct(path string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_ACCT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func AddKey(keyType string, description string, payload []byte, ringid int) (id int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(keyType)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(description)
-- if err != nil {
-- return
-- }
-- var _p2 unsafe.Pointer
-- if len(payload) > 0 {
-- _p2 = unsafe.Pointer(&payload[0])
-- } else {
-- _p2 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall6(SYS_ADD_KEY, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(payload)), uintptr(ringid), 0)
-- id = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Adjtimex(buf *Timex) (state int, err error) {
-- r0, _, e1 := Syscall(SYS_ADJTIMEX, uintptr(unsafe.Pointer(buf)), 0, 0)
-- state = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Chdir(path string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-- 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 ClockGettime(clockid int32, time *Timespec) (err error) {
-- _, _, e1 := Syscall(SYS_CLOCK_GETTIME, uintptr(clockid), uintptr(unsafe.Pointer(time)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Close(fd int) (err error) {
-- _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func CopyFileRange(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int, err error) {
-- r0, _, e1 := Syscall6(SYS_COPY_FILE_RANGE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Dup(oldfd int) (fd int, err error) {
-- r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), 0, 0)
-- fd = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Dup3(oldfd int, newfd int, flags int) (err error) {
-- _, _, e1 := Syscall(SYS_DUP3, uintptr(oldfd), uintptr(newfd), uintptr(flags))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func EpollCreate(size int) (fd int, err error) {
-- r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE, uintptr(size), 0, 0)
-- fd = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func EpollCreate1(flag int) (fd int, err error) {
-- r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE1, uintptr(flag), 0, 0)
-- fd = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) {
-- _, _, e1 := RawSyscall6(SYS_EPOLL_CTL, uintptr(epfd), uintptr(op), uintptr(fd), uintptr(unsafe.Pointer(event)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Eventfd(initval uint, flags int) (fd int, err error) {
-- r0, _, e1 := Syscall(SYS_EVENTFD2, uintptr(initval), 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 Exit(code int) {
-- Syscall(SYS_EXIT_GROUP, uintptr(code), 0, 0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
-- _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(off>>32), uintptr(len), uintptr(len>>32))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Fchdir(fd int) (err error) {
-- _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Fchmod(fd int, mode uint32) (err error) {
-- _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func 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 fcntl(fd int, cmd int, arg int) (val int, err error) {
-- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-- val = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Fdatasync(fd int) (err error) {
-- _, _, e1 := Syscall(SYS_FDATASYNC, uintptr(fd), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Flock(fd int, how int) (err error) {
-- _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Fsync(fd int) (err error) {
-- _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getdents(fd int, buf []byte) (n int, err error) {
-- var _p0 unsafe.Pointer
-- if len(buf) > 0 {
-- _p0 = unsafe.Pointer(&buf[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_GETDENTS64, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getpgid(pid int) (pgid int, err error) {
-- r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
-- pgid = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getpid() (pid int) {
-- r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
-- pid = int(r0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getppid() (ppid int) {
-- r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
-- ppid = int(r0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getpriority(which int, who int) (prio int, err error) {
-- r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
-- prio = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getrandom(buf []byte, flags int) (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_GETRANDOM, uintptr(_p0), uintptr(len(buf)), 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 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 Gettid() (tid int) {
-- r0, _, _ := RawSyscall(SYS_GETTID, 0, 0, 0)
-- tid = int(r0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getxattr(path string, attr string, dest []byte) (sz int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(attr)
-- if err != nil {
-- return
-- }
-- var _p2 unsafe.Pointer
-- if len(dest) > 0 {
-- _p2 = unsafe.Pointer(&dest[0])
-- } else {
-- _p2 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall6(SYS_GETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
-- sz = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func InotifyAddWatch(fd int, pathname string, mask uint32) (watchdesc int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(pathname)
-- if err != nil {
-- return
-- }
-- r0, _, e1 := Syscall(SYS_INOTIFY_ADD_WATCH, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mask))
-- watchdesc = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func InotifyInit1(flags int) (fd int, err error) {
-- r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT1, uintptr(flags), 0, 0)
-- fd = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func InotifyRmWatch(fd int, watchdesc uint32) (success int, err error) {
-- r0, _, e1 := RawSyscall(SYS_INOTIFY_RM_WATCH, uintptr(fd), uintptr(watchdesc), 0)
-- success = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Kill(pid int, sig syscall.Signal) (err error) {
-- _, _, e1 := RawSyscall(SYS_KILL, uintptr(pid), uintptr(sig), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Klogctl(typ int, buf []byte) (n int, err error) {
-- var _p0 unsafe.Pointer
-- if len(buf) > 0 {
-- _p0 = unsafe.Pointer(&buf[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_SYSLOG, uintptr(typ), uintptr(_p0), uintptr(len(buf)))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Lgetxattr(path string, attr string, dest []byte) (sz int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(attr)
-- if err != nil {
-- return
-- }
-- var _p2 unsafe.Pointer
-- if len(dest) > 0 {
-- _p2 = unsafe.Pointer(&dest[0])
-- } else {
-- _p2 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall6(SYS_LGETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
-- sz = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Listxattr(path string, dest []byte) (sz int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 unsafe.Pointer
-- if len(dest) > 0 {
-- _p1 = unsafe.Pointer(&dest[0])
-- } else {
-- _p1 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_LISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
-- sz = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Llistxattr(path string, dest []byte) (sz int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 unsafe.Pointer
-- if len(dest) > 0 {
-- _p1 = unsafe.Pointer(&dest[0])
-- } else {
-- _p1 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_LLISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
-- sz = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Lremovexattr(path string, attr string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(attr)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_LREMOVEXATTR, 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 Lsetxattr(path string, attr string, data []byte, flags int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(attr)
-- if err != nil {
-- return
-- }
-- var _p2 unsafe.Pointer
-- if len(data) > 0 {
-- _p2 = unsafe.Pointer(&data[0])
-- } else {
-- _p2 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall6(SYS_LSETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 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 Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
-- _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func PivotRoot(newroot string, putold string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(newroot)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(putold)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_PIVOT_ROOT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func prlimit(pid int, resource int, 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)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error) {
-- _, _, e1 := Syscall6(SYS_PRCTL, uintptr(option), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func read(fd int, p []byte) (n int, err error) {
-- var _p0 unsafe.Pointer
-- if len(p) > 0 {
-- _p0 = unsafe.Pointer(&p[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Removexattr(path string, attr string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(attr)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_REMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(oldpath)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(newpath)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func RequestKey(keyType string, description string, callback string, destRingid int) (id int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(keyType)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(description)
-- if err != nil {
-- return
-- }
-- var _p2 *byte
-- _p2, err = BytePtrFromString(callback)
-- if err != nil {
-- return
-- }
-- r0, _, e1 := Syscall6(SYS_REQUEST_KEY, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(destRingid), 0, 0)
-- id = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setdomainname(p []byte) (err error) {
-- var _p0 unsafe.Pointer
-- if len(p) > 0 {
-- _p0 = unsafe.Pointer(&p[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_SETDOMAINNAME, uintptr(_p0), uintptr(len(p)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Sethostname(p []byte) (err error) {
-- var _p0 unsafe.Pointer
-- if len(p) > 0 {
-- _p0 = unsafe.Pointer(&p[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_SETHOSTNAME, uintptr(_p0), uintptr(len(p)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setpgid(pid int, pgid int) (err error) {
-- _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setsid() (pid int, err error) {
-- r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
-- pid = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Settimeofday(tv *Timeval) (err error) {
-- _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setns(fd int, nstype int) (err error) {
-- _, _, e1 := Syscall(SYS_SETNS, uintptr(fd), uintptr(nstype), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setpriority(which int, who int, prio int) (err error) {
-- _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setxattr(path string, attr string, data []byte, flags int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(attr)
-- if err != nil {
-- return
-- }
-- var _p2 unsafe.Pointer
-- if len(data) > 0 {
-- _p2 = unsafe.Pointer(&data[0])
-- } else {
-- _p2 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall6(SYS_SETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Sync() {
-- Syscall(SYS_SYNC, 0, 0, 0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Syncfs(fd int) (err error) {
-- _, _, e1 := Syscall(SYS_SYNCFS, uintptr(fd), 0, 0)
-+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(mask>>32), uintptr(dirFd), uintptr(unsafe.Pointer(pathname)))
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1244,8 +24,8 @@ func Syncfs(fd int) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Sysinfo(info *Sysinfo_t) (err error) {
-- _, _, e1 := RawSyscall(SYS_SYSINFO, uintptr(unsafe.Pointer(info)), 0, 0)
-+func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
-+ _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(off>>32), uintptr(len), uintptr(len>>32))
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1265,62 +45,8 @@ 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 Tgkill(tgid int, tid int, sig syscall.Signal) (err error) {
-- _, _, e1 := RawSyscall(SYS_TGKILL, uintptr(tgid), uintptr(tid), uintptr(sig))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Times(tms *Tms) (ticks uintptr, err error) {
-- r0, _, e1 := RawSyscall(SYS_TIMES, uintptr(unsafe.Pointer(tms)), 0, 0)
-- ticks = uintptr(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Umask(mask int) (oldmask int) {
-- r0, _, _ := RawSyscall(SYS_UMASK, uintptr(mask), 0, 0)
-- oldmask = int(r0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Uname(buf *Utsname) (err error) {
-- _, _, e1 := RawSyscall(SYS_UNAME, uintptr(unsafe.Pointer(buf)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Unmount(target string, flags int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(target)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_UMOUNT2, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Unshare(flags int) (err error) {
-- _, _, e1 := Syscall(SYS_UNSHARE, uintptr(flags), 0, 0)
-+func Dup2(oldfd int, newfd int) (err error) {
-+ _, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1329,8 +55,9 @@ func Unshare(flags int) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Ustat(dev int, ubuf *Ustat_t) (err error) {
-- _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
-+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)
- }
-@@ -1339,46 +66,14 @@ func Ustat(dev int, ubuf *Ustat_t) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func write(fd int, p []byte) (n int, err error) {
-+func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
- var _p0 unsafe.Pointer
-- if len(p) > 0 {
-- _p0 = unsafe.Pointer(&p[0])
-+ if len(events) > 0 {
-+ _p0 = unsafe.Pointer(&events[0])
- } else {
- _p0 = unsafe.Pointer(&_zero)
- }
-- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func exitThread(code int) (err error) {
-- _, _, e1 := Syscall(SYS_EXIT, uintptr(code), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func readlen(fd int, p *byte, np int) (n int, err error) {
-- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func writelen(fd int, p *byte, np int) (n int, err error) {
-- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
-+ r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
- n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1388,118 +83,8 @@ func writelen(fd int, p *byte, np int) (n int, err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func munmap(addr uintptr, length uintptr) (err error) {
-- _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Madvise(b []byte, advice int) (err error) {
-- var _p0 unsafe.Pointer
-- if len(b) > 0 {
-- _p0 = unsafe.Pointer(&b[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(advice))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Mprotect(b []byte, prot int) (err error) {
-- var _p0 unsafe.Pointer
-- if len(b) > 0 {
-- _p0 = unsafe.Pointer(&b[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Mlock(b []byte) (err error) {
-- var _p0 unsafe.Pointer
-- if len(b) > 0 {
-- _p0 = unsafe.Pointer(&b[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Munlock(b []byte) (err error) {
-- var _p0 unsafe.Pointer
-- if len(b) > 0 {
-- _p0 = unsafe.Pointer(&b[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Mlockall(flags int) (err error) {
-- _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func 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 Munlockall() (err error) {
-- _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Dup2(oldfd int, newfd int) (err error) {
-- _, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0)
-+func Fadvise(fd int, offset int64, length int64, advice int) (err error) {
-+ _, _, e1 := Syscall9(SYS_FADVISE64, uintptr(fd), 0, uintptr(offset), uintptr(offset>>32), uintptr(length), uintptr(length>>32), uintptr(advice), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1529,7 +114,7 @@ func Ftruncate(fd int, length int64) (err error) {
- // 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, _ := RawSyscallNoError(SYS_GETEGID, 0, 0, 0)
- egid = int(r0)
- return
- }
-@@ -1537,7 +122,7 @@ func Getegid() (egid int) {
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Geteuid() (euid int) {
-- r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
-+ r0, _ := RawSyscallNoError(SYS_GETEUID, 0, 0, 0)
- euid = int(r0)
- return
- }
-@@ -1545,7 +130,7 @@ func Geteuid() (euid int) {
- // 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, _ := RawSyscallNoError(SYS_GETGID, 0, 0, 0)
- gid = int(r0)
- return
- }
-@@ -1553,7 +138,7 @@ func Getgid() (gid int) {
- // 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, _ := RawSyscallNoError(SYS_GETUID, 0, 0, 0)
- uid = int(r0)
- return
- }
-@@ -1619,6 +204,26 @@ func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-+func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(oldpath)
-+ if err != nil {
-+ return
-+ }
-+ var _p1 *byte
-+ _p1, err = BytePtrFromString(newpath)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
- r0, _, e1 := Syscall6(SYS__NEWSELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
- n = int(r0)
-@@ -1641,8 +246,9 @@ func sendfile(outfd int, infd int, offset *int64, count int) (written int, err e
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Setfsgid(gid int) (err error) {
-- _, _, e1 := Syscall(SYS_SETFSGID, uintptr(gid), 0, 0)
-+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)
- }
-@@ -1651,8 +257,9 @@ func Setfsgid(gid int) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Setfsuid(uid int) (err error) {
-- _, _, e1 := Syscall(SYS_SETFSUID, uintptr(uid), 0, 0)
-+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)
- }
-@@ -1711,9 +318,9 @@ func Shutdown(fd int, how int) (err error) {
-
- // 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, r1, e1 := Syscall6(SYS_SPLICE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags))
-- n = int64(int64(r1)<<32 | int64(r0))
-+func Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int, err error) {
-+ r0, _, e1 := Syscall6(SYS_SPLICE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags))
-+ n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1747,6 +354,16 @@ func Truncate(path string, length int64) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-+func Ustat(dev int, ubuf *Ustat_t) (err error) {
-+ _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func 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)
-@@ -1957,6 +574,21 @@ func Iopl(level int) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-+func futimesat(dirfd int, path string, times *[2]Timeval) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)))
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Gettimeofday(tv *Timeval) (err error) {
- _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
- if e1 != 0 {
-@@ -1978,13 +610,13 @@ func Time(t *Time_t) (tt Time_t, err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Lstat(path string, stat *Stat_t) (err error) {
-+func Utime(path string, buf *Utimbuf) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
- if err != nil {
- return
- }
-- _, _, e1 := Syscall(SYS_LSTAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-+ _, _, e1 := Syscall(SYS_UTIME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1993,8 +625,13 @@ func Lstat(path string, stat *Stat_t) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Fstat(fd int, stat *Stat_t) (err error) {
-- _, _, e1 := Syscall(SYS_FSTAT64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-+func utimes(path string, times *[2]Timeval) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -2003,13 +640,13 @@ func Fstat(fd int, stat *Stat_t) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Stat(path string, stat *Stat_t) (err error) {
-+func Lstat(path string, stat *Stat_t) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
- if err != nil {
- return
- }
-- _, _, e1 := Syscall(SYS_STAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-+ _, _, e1 := Syscall(SYS_LSTAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -2018,13 +655,23 @@ func Stat(path string, stat *Stat_t) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Utime(path string, buf *Utimbuf) (err error) {
-+func Fstat(fd int, stat *Stat_t) (err error) {
-+ _, _, e1 := Syscall(SYS_FSTAT64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Fstatat(dirfd int, path string, stat *Stat_t, flags int) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
- if err != nil {
- return
- }
-- _, _, e1 := Syscall(SYS_UTIME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0)
-+ _, _, e1 := Syscall6(SYS_FSTATAT64, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -2033,15 +680,13 @@ func Utime(path string, buf *Utimbuf) (err error) {
-
- // 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)
-+func Stat(path string, stat *Stat_t) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
- }
-- r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
-- n = int(r0)
-+ _, _, e1 := Syscall(SYS_STAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -2060,8 +705,10 @@ func Pause() (err error) {
-
- // 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 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)
- }
-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 204ab1ae..de022639 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 @@
--// mksyscall.pl -tags linux,ppc64 syscall_linux.go syscall_linux_ppc64x.go
-+// go run mksyscall.go -tags linux,ppc64 syscall_linux.go syscall_linux_ppc64x.go
- // Code generated by the command above; see README.md. DO NOT EDIT.
-
- // +build linux,ppc64
-@@ -14,1270 +14,8 @@ var _ syscall.Errno
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func fchmodat(dirfd int, path string, mode uint32) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_FCHMODAT, 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 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 Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(oldpath)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(newpath)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_LINKAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), uintptr(mode), 0, 0)
-- fd = int(r0)
-- 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)
-- 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 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 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 utimes(path string, times *[2]Timeval) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
-- 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
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func futimesat(dirfd int, path *byte, times *[2]Timeval) (err error) {
-- _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(times)))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getcwd(buf []byte) (n int, err error) {
-- var _p0 unsafe.Pointer
-- if len(buf) > 0 {
-- _p0 = unsafe.Pointer(&buf[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
-- r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
-- wpid = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func 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)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func KeyctlBuffer(cmd int, arg2 int, buf []byte, arg5 int) (ret 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_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(_p0), uintptr(len(buf)), uintptr(arg5), 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 keyctlJoin(cmd int, arg2 string) (ret int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(arg2)
-- if err != nil {
-- return
-- }
-- r0, _, e1 := Syscall(SYS_KEYCTL, uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 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 keyctlSearch(cmd int, arg2 int, arg3 string, arg4 string, arg5 int) (ret int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(arg3)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(arg4)
-- if err != nil {
-- return
-- }
-- r0, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(arg5), 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 keyctlIOV(cmd int, arg2 int, payload []Iovec, arg5 int) (err error) {
-- var _p0 unsafe.Pointer
-- if len(payload) > 0 {
-- _p0 = unsafe.Pointer(&payload[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(_p0), uintptr(len(payload)), uintptr(arg5), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func keyctlDH(cmd int, arg2 *KeyctlDHParams, buf []byte) (ret 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_KEYCTL, uintptr(cmd), uintptr(unsafe.Pointer(arg2)), uintptr(_p0), uintptr(len(buf)), 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 ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
-- _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func reboot(magic1 uint, magic2 uint, cmd int, arg string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(arg)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_REBOOT, uintptr(magic1), uintptr(magic2), uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func mount(source string, target string, fstype string, flags uintptr, data *byte) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(source)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(target)
-- if err != nil {
-- return
-- }
-- var _p2 *byte
-- _p2, err = BytePtrFromString(fstype)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_MOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(flags), uintptr(unsafe.Pointer(data)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Acct(path string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_ACCT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func AddKey(keyType string, description string, payload []byte, ringid int) (id int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(keyType)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(description)
-- if err != nil {
-- return
-- }
-- var _p2 unsafe.Pointer
-- if len(payload) > 0 {
-- _p2 = unsafe.Pointer(&payload[0])
-- } else {
-- _p2 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall6(SYS_ADD_KEY, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(payload)), uintptr(ringid), 0)
-- id = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Adjtimex(buf *Timex) (state int, err error) {
-- r0, _, e1 := Syscall(SYS_ADJTIMEX, uintptr(unsafe.Pointer(buf)), 0, 0)
-- state = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Chdir(path string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-- 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 ClockGettime(clockid int32, time *Timespec) (err error) {
-- _, _, e1 := Syscall(SYS_CLOCK_GETTIME, uintptr(clockid), uintptr(unsafe.Pointer(time)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Close(fd int) (err error) {
-- _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func CopyFileRange(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int, err error) {
-- r0, _, e1 := Syscall6(SYS_COPY_FILE_RANGE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Dup(oldfd int) (fd int, err error) {
-- r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), 0, 0)
-- fd = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Dup3(oldfd int, newfd int, flags int) (err error) {
-- _, _, e1 := Syscall(SYS_DUP3, uintptr(oldfd), uintptr(newfd), uintptr(flags))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func EpollCreate(size int) (fd int, err error) {
-- r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE, uintptr(size), 0, 0)
-- fd = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func EpollCreate1(flag int) (fd int, err error) {
-- r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE1, uintptr(flag), 0, 0)
-- fd = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) {
-- _, _, e1 := RawSyscall6(SYS_EPOLL_CTL, uintptr(epfd), uintptr(op), uintptr(fd), uintptr(unsafe.Pointer(event)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Eventfd(initval uint, flags int) (fd int, err error) {
-- r0, _, e1 := Syscall(SYS_EVENTFD2, uintptr(initval), 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 Exit(code int) {
-- Syscall(SYS_EXIT_GROUP, uintptr(code), 0, 0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
-- _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(len), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Fchdir(fd int) (err error) {
-- _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Fchmod(fd int, mode uint32) (err error) {
-- _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func 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 fcntl(fd int, cmd int, arg int) (val int, err error) {
-- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-- val = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Fdatasync(fd int) (err error) {
-- _, _, e1 := Syscall(SYS_FDATASYNC, uintptr(fd), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Flock(fd int, how int) (err error) {
-- _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Fsync(fd int) (err error) {
-- _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getdents(fd int, buf []byte) (n int, err error) {
-- var _p0 unsafe.Pointer
-- if len(buf) > 0 {
-- _p0 = unsafe.Pointer(&buf[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_GETDENTS64, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getpgid(pid int) (pgid int, err error) {
-- r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
-- pgid = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getpid() (pid int) {
-- r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
-- pid = int(r0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getppid() (ppid int) {
-- r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
-- ppid = int(r0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getpriority(which int, who int) (prio int, err error) {
-- r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
-- prio = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getrandom(buf []byte, flags int) (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_GETRANDOM, uintptr(_p0), uintptr(len(buf)), 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 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 Gettid() (tid int) {
-- r0, _, _ := RawSyscall(SYS_GETTID, 0, 0, 0)
-- tid = int(r0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getxattr(path string, attr string, dest []byte) (sz int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(attr)
-- if err != nil {
-- return
-- }
-- var _p2 unsafe.Pointer
-- if len(dest) > 0 {
-- _p2 = unsafe.Pointer(&dest[0])
-- } else {
-- _p2 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall6(SYS_GETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
-- sz = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func InotifyAddWatch(fd int, pathname string, mask uint32) (watchdesc int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(pathname)
-- if err != nil {
-- return
-- }
-- r0, _, e1 := Syscall(SYS_INOTIFY_ADD_WATCH, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mask))
-- watchdesc = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func InotifyInit1(flags int) (fd int, err error) {
-- r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT1, uintptr(flags), 0, 0)
-- fd = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func InotifyRmWatch(fd int, watchdesc uint32) (success int, err error) {
-- r0, _, e1 := RawSyscall(SYS_INOTIFY_RM_WATCH, uintptr(fd), uintptr(watchdesc), 0)
-- success = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Kill(pid int, sig syscall.Signal) (err error) {
-- _, _, e1 := RawSyscall(SYS_KILL, uintptr(pid), uintptr(sig), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Klogctl(typ int, buf []byte) (n int, err error) {
-- var _p0 unsafe.Pointer
-- if len(buf) > 0 {
-- _p0 = unsafe.Pointer(&buf[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_SYSLOG, uintptr(typ), uintptr(_p0), uintptr(len(buf)))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Lgetxattr(path string, attr string, dest []byte) (sz int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(attr)
-- if err != nil {
-- return
-- }
-- var _p2 unsafe.Pointer
-- if len(dest) > 0 {
-- _p2 = unsafe.Pointer(&dest[0])
-- } else {
-- _p2 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall6(SYS_LGETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
-- sz = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Listxattr(path string, dest []byte) (sz int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 unsafe.Pointer
-- if len(dest) > 0 {
-- _p1 = unsafe.Pointer(&dest[0])
-- } else {
-- _p1 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_LISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
-- sz = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Llistxattr(path string, dest []byte) (sz int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 unsafe.Pointer
-- if len(dest) > 0 {
-- _p1 = unsafe.Pointer(&dest[0])
-- } else {
-- _p1 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_LLISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
-- sz = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Lremovexattr(path string, attr string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(attr)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_LREMOVEXATTR, 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 Lsetxattr(path string, attr string, data []byte, flags int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(attr)
-- if err != nil {
-- return
-- }
-- var _p2 unsafe.Pointer
-- if len(data) > 0 {
-- _p2 = unsafe.Pointer(&data[0])
-- } else {
-- _p2 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall6(SYS_LSETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 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 Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
-- _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func PivotRoot(newroot string, putold string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(newroot)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(putold)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_PIVOT_ROOT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func prlimit(pid int, resource int, 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)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error) {
-- _, _, e1 := Syscall6(SYS_PRCTL, uintptr(option), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func read(fd int, p []byte) (n int, err error) {
-- var _p0 unsafe.Pointer
-- if len(p) > 0 {
-- _p0 = unsafe.Pointer(&p[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Removexattr(path string, attr string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(attr)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_REMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(oldpath)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(newpath)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func RequestKey(keyType string, description string, callback string, destRingid int) (id int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(keyType)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(description)
-- if err != nil {
-- return
-- }
-- var _p2 *byte
-- _p2, err = BytePtrFromString(callback)
-- if err != nil {
-- return
-- }
-- r0, _, e1 := Syscall6(SYS_REQUEST_KEY, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(destRingid), 0, 0)
-- id = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setdomainname(p []byte) (err error) {
-- var _p0 unsafe.Pointer
-- if len(p) > 0 {
-- _p0 = unsafe.Pointer(&p[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_SETDOMAINNAME, uintptr(_p0), uintptr(len(p)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Sethostname(p []byte) (err error) {
-- var _p0 unsafe.Pointer
-- if len(p) > 0 {
-- _p0 = unsafe.Pointer(&p[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_SETHOSTNAME, uintptr(_p0), uintptr(len(p)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setpgid(pid int, pgid int) (err error) {
-- _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setsid() (pid int, err error) {
-- r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
-- pid = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Settimeofday(tv *Timeval) (err error) {
-- _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setns(fd int, nstype int) (err error) {
-- _, _, e1 := Syscall(SYS_SETNS, uintptr(fd), uintptr(nstype), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setpriority(which int, who int, prio int) (err error) {
-- _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setxattr(path string, attr string, data []byte, flags int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(attr)
-- if err != nil {
-- return
-- }
-- var _p2 unsafe.Pointer
-- if len(data) > 0 {
-- _p2 = unsafe.Pointer(&data[0])
-- } else {
-- _p2 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall6(SYS_SETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Sync() {
-- Syscall(SYS_SYNC, 0, 0, 0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Syncfs(fd int) (err error) {
-- _, _, e1 := Syscall(SYS_SYNCFS, 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 Sysinfo(info *Sysinfo_t) (err error) {
-- _, _, e1 := RawSyscall(SYS_SYSINFO, uintptr(unsafe.Pointer(info)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) {
-- r0, _, e1 := Syscall6(SYS_TEE, uintptr(rfd), uintptr(wfd), uintptr(len), uintptr(flags), 0, 0)
-- n = int64(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Tgkill(tgid int, tid int, sig syscall.Signal) (err error) {
-- _, _, e1 := RawSyscall(SYS_TGKILL, uintptr(tgid), uintptr(tid), uintptr(sig))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Times(tms *Tms) (ticks uintptr, err error) {
-- r0, _, e1 := RawSyscall(SYS_TIMES, uintptr(unsafe.Pointer(tms)), 0, 0)
-- ticks = uintptr(r0)
-+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)
- }
-@@ -1286,16 +24,8 @@ func Times(tms *Tms) (ticks uintptr, err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Umask(mask int) (oldmask int) {
-- r0, _, _ := RawSyscall(SYS_UMASK, uintptr(mask), 0, 0)
-- oldmask = int(r0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Uname(buf *Utsname) (err error) {
-- _, _, e1 := RawSyscall(SYS_UNAME, uintptr(unsafe.Pointer(buf)), 0, 0)
-+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)
- }
-@@ -1304,13 +34,9 @@ func Uname(buf *Utsname) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Unmount(target string, flags int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(target)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_UMOUNT2, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-+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)
- }
-@@ -1319,8 +45,8 @@ func Unmount(target string, flags int) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Unshare(flags int) (err error) {
-- _, _, e1 := Syscall(SYS_UNSHARE, uintptr(flags), 0, 0)
-+func Dup2(oldfd int, newfd int) (err error) {
-+ _, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1329,8 +55,9 @@ func Unshare(flags int) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Ustat(dev int, ubuf *Ustat_t) (err error) {
-- _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
-+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)
- }
-@@ -1339,46 +66,14 @@ func Ustat(dev int, ubuf *Ustat_t) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func write(fd int, p []byte) (n int, err error) {
-+func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
- var _p0 unsafe.Pointer
-- if len(p) > 0 {
-- _p0 = unsafe.Pointer(&p[0])
-+ if len(events) > 0 {
-+ _p0 = unsafe.Pointer(&events[0])
- } else {
- _p0 = unsafe.Pointer(&_zero)
- }
-- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func exitThread(code int) (err error) {
-- _, _, e1 := Syscall(SYS_EXIT, uintptr(code), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func readlen(fd int, p *byte, np int) (n int, err error) {
-- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func writelen(fd int, p *byte, np int) (n int, err error) {
-- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
-+ r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
- n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1388,108 +83,8 @@ func writelen(fd int, p *byte, np int) (n int, err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func munmap(addr uintptr, length uintptr) (err error) {
-- _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Madvise(b []byte, advice int) (err error) {
-- var _p0 unsafe.Pointer
-- if len(b) > 0 {
-- _p0 = unsafe.Pointer(&b[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(advice))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Mprotect(b []byte, prot int) (err error) {
-- var _p0 unsafe.Pointer
-- if len(b) > 0 {
-- _p0 = unsafe.Pointer(&b[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Mlock(b []byte) (err error) {
-- var _p0 unsafe.Pointer
-- if len(b) > 0 {
-- _p0 = unsafe.Pointer(&b[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Munlock(b []byte) (err error) {
-- var _p0 unsafe.Pointer
-- if len(b) > 0 {
-- _p0 = unsafe.Pointer(&b[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Mlockall(flags int) (err error) {
-- _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func 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 Munlockall() (err error) {
-- _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
-+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)
- }
-@@ -1498,15 +93,8 @@ func Munlockall() (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
-- var _p0 unsafe.Pointer
-- if len(events) > 0 {
-- _p0 = unsafe.Pointer(&events[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
-- n = int(r0)
-+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)
- }
-@@ -1515,8 +103,8 @@ func EpollWait(epfd int, events []EpollEvent, msec 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)
-+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)
- }
-@@ -1525,18 +113,13 @@ func Dup2(oldfd int, newfd int) (err error) {
-
- // 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)
-+func Fstatat(dirfd int, path string, stat *Stat_t, flags int) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
- }
-- 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)
-+ _, _, e1 := Syscall6(SYS_NEWFSTATAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1566,7 +149,7 @@ func Ftruncate(fd int, length int64) (err error) {
- // 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, _ := RawSyscallNoError(SYS_GETEGID, 0, 0, 0)
- egid = int(r0)
- return
- }
-@@ -1574,7 +157,7 @@ func Getegid() (egid int) {
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Geteuid() (euid int) {
-- r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
-+ r0, _ := RawSyscallNoError(SYS_GETEUID, 0, 0, 0)
- euid = int(r0)
- return
- }
-@@ -1582,7 +165,7 @@ func Geteuid() (euid int) {
- // 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, _ := RawSyscallNoError(SYS_GETGID, 0, 0, 0)
- gid = int(r0)
- return
- }
-@@ -1600,7 +183,7 @@ func Getrlimit(resource int, rlim *Rlimit) (err error) {
- // 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, _ := RawSyscallNoError(SYS_GETUID, 0, 0, 0)
- uid = int(r0)
- return
- }
-@@ -1722,6 +305,26 @@ func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-+func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(oldpath)
-+ if err != nil {
-+ return
-+ }
-+ var _p1 *byte
-+ _p1, err = BytePtrFromString(newpath)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
-+ 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)
-@@ -1734,7 +337,7 @@ func Seek(fd int, offset int64, whence int) (off int64, err error) {
- // 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 := Syscall6(SYS__NEWSELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
- n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1755,8 +358,9 @@ func sendfile(outfd int, infd int, offset *int64, count int) (written int, err e
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Setfsgid(gid int) (err error) {
-- _, _, e1 := Syscall(SYS_SETFSGID, uintptr(gid), 0, 0)
-+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)
- }
-@@ -1765,8 +369,9 @@ func Setfsgid(gid int) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Setfsuid(uid int) (err error) {
-- _, _, e1 := Syscall(SYS_SETFSUID, uintptr(uid), 0, 0)
-+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)
- }
-@@ -1876,8 +481,13 @@ func Statfs(path string, buf *Statfs_t) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func SyncFileRange(fd int, off int64, n int64, flags int) (err error) {
-- _, _, e1 := Syscall6(SYS_SYNC_FILE_RANGE2, uintptr(fd), uintptr(off), uintptr(n), uintptr(flags), 0, 0)
-+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)
- }
-@@ -1886,13 +496,8 @@ func SyncFileRange(fd int, off int64, n int64, flags int) (err error) {
-
- // 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)
-+func Ustat(dev int, ubuf *Ustat_t) (err error) {
-+ _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -2091,6 +696,21 @@ func mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int6
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-+func futimesat(dirfd int, path string, times *[2]Timeval) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)))
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Gettimeofday(tv *Timeval) (err error) {
- _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
- if e1 != 0 {
-@@ -2127,8 +747,13 @@ func Utime(path string, buf *Utimbuf) (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)
-+func utimes(path string, times *[2]Timeval) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -2137,8 +762,8 @@ func pipe(p *[2]_C_int) (err error) {
-
- // 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 pipe(p *[2]_C_int) (err error) {
-+ _, _, e1 := RawSyscall(SYS_PIPE, uintptr(unsafe.Pointer(p)), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -2155,3 +780,28 @@ func poll(fds *PollFd, nfds int, timeout int) (n int, err error) {
- }
- 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 {
-+ 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_ppc64le.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64le.go
-index a8a2b0b0..888f21d3 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 @@
--// mksyscall.pl -tags linux,ppc64le syscall_linux.go syscall_linux_ppc64x.go
-+// go run mksyscall.go -tags linux,ppc64le syscall_linux.go syscall_linux_ppc64x.go
- // Code generated by the command above; see README.md. DO NOT EDIT.
-
- // +build linux,ppc64le
-@@ -14,1270 +14,8 @@ var _ syscall.Errno
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func fchmodat(dirfd int, path string, mode uint32) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_FCHMODAT, 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 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 Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(oldpath)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(newpath)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_LINKAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), uintptr(mode), 0, 0)
-- fd = int(r0)
-- 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)
-- 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 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 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 utimes(path string, times *[2]Timeval) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
-- 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
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func futimesat(dirfd int, path *byte, times *[2]Timeval) (err error) {
-- _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(times)))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getcwd(buf []byte) (n int, err error) {
-- var _p0 unsafe.Pointer
-- if len(buf) > 0 {
-- _p0 = unsafe.Pointer(&buf[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
-- r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
-- wpid = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func 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)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func KeyctlBuffer(cmd int, arg2 int, buf []byte, arg5 int) (ret 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_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(_p0), uintptr(len(buf)), uintptr(arg5), 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 keyctlJoin(cmd int, arg2 string) (ret int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(arg2)
-- if err != nil {
-- return
-- }
-- r0, _, e1 := Syscall(SYS_KEYCTL, uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 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 keyctlSearch(cmd int, arg2 int, arg3 string, arg4 string, arg5 int) (ret int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(arg3)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(arg4)
-- if err != nil {
-- return
-- }
-- r0, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(arg5), 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 keyctlIOV(cmd int, arg2 int, payload []Iovec, arg5 int) (err error) {
-- var _p0 unsafe.Pointer
-- if len(payload) > 0 {
-- _p0 = unsafe.Pointer(&payload[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(_p0), uintptr(len(payload)), uintptr(arg5), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func keyctlDH(cmd int, arg2 *KeyctlDHParams, buf []byte) (ret 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_KEYCTL, uintptr(cmd), uintptr(unsafe.Pointer(arg2)), uintptr(_p0), uintptr(len(buf)), 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 ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
-- _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func reboot(magic1 uint, magic2 uint, cmd int, arg string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(arg)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_REBOOT, uintptr(magic1), uintptr(magic2), uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func mount(source string, target string, fstype string, flags uintptr, data *byte) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(source)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(target)
-- if err != nil {
-- return
-- }
-- var _p2 *byte
-- _p2, err = BytePtrFromString(fstype)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_MOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(flags), uintptr(unsafe.Pointer(data)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Acct(path string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_ACCT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func AddKey(keyType string, description string, payload []byte, ringid int) (id int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(keyType)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(description)
-- if err != nil {
-- return
-- }
-- var _p2 unsafe.Pointer
-- if len(payload) > 0 {
-- _p2 = unsafe.Pointer(&payload[0])
-- } else {
-- _p2 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall6(SYS_ADD_KEY, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(payload)), uintptr(ringid), 0)
-- id = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Adjtimex(buf *Timex) (state int, err error) {
-- r0, _, e1 := Syscall(SYS_ADJTIMEX, uintptr(unsafe.Pointer(buf)), 0, 0)
-- state = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Chdir(path string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-- 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 ClockGettime(clockid int32, time *Timespec) (err error) {
-- _, _, e1 := Syscall(SYS_CLOCK_GETTIME, uintptr(clockid), uintptr(unsafe.Pointer(time)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Close(fd int) (err error) {
-- _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func CopyFileRange(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int, err error) {
-- r0, _, e1 := Syscall6(SYS_COPY_FILE_RANGE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Dup(oldfd int) (fd int, err error) {
-- r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), 0, 0)
-- fd = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Dup3(oldfd int, newfd int, flags int) (err error) {
-- _, _, e1 := Syscall(SYS_DUP3, uintptr(oldfd), uintptr(newfd), uintptr(flags))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func EpollCreate(size int) (fd int, err error) {
-- r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE, uintptr(size), 0, 0)
-- fd = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func EpollCreate1(flag int) (fd int, err error) {
-- r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE1, uintptr(flag), 0, 0)
-- fd = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) {
-- _, _, e1 := RawSyscall6(SYS_EPOLL_CTL, uintptr(epfd), uintptr(op), uintptr(fd), uintptr(unsafe.Pointer(event)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Eventfd(initval uint, flags int) (fd int, err error) {
-- r0, _, e1 := Syscall(SYS_EVENTFD2, uintptr(initval), 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 Exit(code int) {
-- Syscall(SYS_EXIT_GROUP, uintptr(code), 0, 0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
-- _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(len), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Fchdir(fd int) (err error) {
-- _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Fchmod(fd int, mode uint32) (err error) {
-- _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func 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 fcntl(fd int, cmd int, arg int) (val int, err error) {
-- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-- val = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Fdatasync(fd int) (err error) {
-- _, _, e1 := Syscall(SYS_FDATASYNC, uintptr(fd), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Flock(fd int, how int) (err error) {
-- _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Fsync(fd int) (err error) {
-- _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getdents(fd int, buf []byte) (n int, err error) {
-- var _p0 unsafe.Pointer
-- if len(buf) > 0 {
-- _p0 = unsafe.Pointer(&buf[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_GETDENTS64, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getpgid(pid int) (pgid int, err error) {
-- r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
-- pgid = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getpid() (pid int) {
-- r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
-- pid = int(r0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getppid() (ppid int) {
-- r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
-- ppid = int(r0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getpriority(which int, who int) (prio int, err error) {
-- r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
-- prio = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getrandom(buf []byte, flags int) (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_GETRANDOM, uintptr(_p0), uintptr(len(buf)), 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 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 Gettid() (tid int) {
-- r0, _, _ := RawSyscall(SYS_GETTID, 0, 0, 0)
-- tid = int(r0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getxattr(path string, attr string, dest []byte) (sz int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(attr)
-- if err != nil {
-- return
-- }
-- var _p2 unsafe.Pointer
-- if len(dest) > 0 {
-- _p2 = unsafe.Pointer(&dest[0])
-- } else {
-- _p2 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall6(SYS_GETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
-- sz = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func InotifyAddWatch(fd int, pathname string, mask uint32) (watchdesc int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(pathname)
-- if err != nil {
-- return
-- }
-- r0, _, e1 := Syscall(SYS_INOTIFY_ADD_WATCH, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mask))
-- watchdesc = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func InotifyInit1(flags int) (fd int, err error) {
-- r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT1, uintptr(flags), 0, 0)
-- fd = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func InotifyRmWatch(fd int, watchdesc uint32) (success int, err error) {
-- r0, _, e1 := RawSyscall(SYS_INOTIFY_RM_WATCH, uintptr(fd), uintptr(watchdesc), 0)
-- success = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Kill(pid int, sig syscall.Signal) (err error) {
-- _, _, e1 := RawSyscall(SYS_KILL, uintptr(pid), uintptr(sig), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Klogctl(typ int, buf []byte) (n int, err error) {
-- var _p0 unsafe.Pointer
-- if len(buf) > 0 {
-- _p0 = unsafe.Pointer(&buf[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_SYSLOG, uintptr(typ), uintptr(_p0), uintptr(len(buf)))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Lgetxattr(path string, attr string, dest []byte) (sz int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(attr)
-- if err != nil {
-- return
-- }
-- var _p2 unsafe.Pointer
-- if len(dest) > 0 {
-- _p2 = unsafe.Pointer(&dest[0])
-- } else {
-- _p2 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall6(SYS_LGETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
-- sz = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Listxattr(path string, dest []byte) (sz int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 unsafe.Pointer
-- if len(dest) > 0 {
-- _p1 = unsafe.Pointer(&dest[0])
-- } else {
-- _p1 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_LISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
-- sz = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Llistxattr(path string, dest []byte) (sz int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 unsafe.Pointer
-- if len(dest) > 0 {
-- _p1 = unsafe.Pointer(&dest[0])
-- } else {
-- _p1 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_LLISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
-- sz = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Lremovexattr(path string, attr string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(attr)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_LREMOVEXATTR, 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 Lsetxattr(path string, attr string, data []byte, flags int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(attr)
-- if err != nil {
-- return
-- }
-- var _p2 unsafe.Pointer
-- if len(data) > 0 {
-- _p2 = unsafe.Pointer(&data[0])
-- } else {
-- _p2 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall6(SYS_LSETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 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 Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
-- _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func PivotRoot(newroot string, putold string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(newroot)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(putold)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_PIVOT_ROOT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func prlimit(pid int, resource int, 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)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error) {
-- _, _, e1 := Syscall6(SYS_PRCTL, uintptr(option), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func read(fd int, p []byte) (n int, err error) {
-- var _p0 unsafe.Pointer
-- if len(p) > 0 {
-- _p0 = unsafe.Pointer(&p[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Removexattr(path string, attr string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(attr)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_REMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(oldpath)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(newpath)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func RequestKey(keyType string, description string, callback string, destRingid int) (id int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(keyType)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(description)
-- if err != nil {
-- return
-- }
-- var _p2 *byte
-- _p2, err = BytePtrFromString(callback)
-- if err != nil {
-- return
-- }
-- r0, _, e1 := Syscall6(SYS_REQUEST_KEY, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(destRingid), 0, 0)
-- id = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setdomainname(p []byte) (err error) {
-- var _p0 unsafe.Pointer
-- if len(p) > 0 {
-- _p0 = unsafe.Pointer(&p[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_SETDOMAINNAME, uintptr(_p0), uintptr(len(p)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Sethostname(p []byte) (err error) {
-- var _p0 unsafe.Pointer
-- if len(p) > 0 {
-- _p0 = unsafe.Pointer(&p[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_SETHOSTNAME, uintptr(_p0), uintptr(len(p)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setpgid(pid int, pgid int) (err error) {
-- _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setsid() (pid int, err error) {
-- r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
-- pid = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Settimeofday(tv *Timeval) (err error) {
-- _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setns(fd int, nstype int) (err error) {
-- _, _, e1 := Syscall(SYS_SETNS, uintptr(fd), uintptr(nstype), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setpriority(which int, who int, prio int) (err error) {
-- _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setxattr(path string, attr string, data []byte, flags int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(attr)
-- if err != nil {
-- return
-- }
-- var _p2 unsafe.Pointer
-- if len(data) > 0 {
-- _p2 = unsafe.Pointer(&data[0])
-- } else {
-- _p2 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall6(SYS_SETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Sync() {
-- Syscall(SYS_SYNC, 0, 0, 0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Syncfs(fd int) (err error) {
-- _, _, e1 := Syscall(SYS_SYNCFS, 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 Sysinfo(info *Sysinfo_t) (err error) {
-- _, _, e1 := RawSyscall(SYS_SYSINFO, uintptr(unsafe.Pointer(info)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) {
-- r0, _, e1 := Syscall6(SYS_TEE, uintptr(rfd), uintptr(wfd), uintptr(len), uintptr(flags), 0, 0)
-- n = int64(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Tgkill(tgid int, tid int, sig syscall.Signal) (err error) {
-- _, _, e1 := RawSyscall(SYS_TGKILL, uintptr(tgid), uintptr(tid), uintptr(sig))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Times(tms *Tms) (ticks uintptr, err error) {
-- r0, _, e1 := RawSyscall(SYS_TIMES, uintptr(unsafe.Pointer(tms)), 0, 0)
-- ticks = uintptr(r0)
-+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)
- }
-@@ -1286,16 +24,8 @@ func Times(tms *Tms) (ticks uintptr, err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Umask(mask int) (oldmask int) {
-- r0, _, _ := RawSyscall(SYS_UMASK, uintptr(mask), 0, 0)
-- oldmask = int(r0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Uname(buf *Utsname) (err error) {
-- _, _, e1 := RawSyscall(SYS_UNAME, uintptr(unsafe.Pointer(buf)), 0, 0)
-+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)
- }
-@@ -1304,13 +34,9 @@ func Uname(buf *Utsname) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Unmount(target string, flags int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(target)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_UMOUNT2, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-+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)
- }
-@@ -1319,8 +45,8 @@ func Unmount(target string, flags int) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Unshare(flags int) (err error) {
-- _, _, e1 := Syscall(SYS_UNSHARE, uintptr(flags), 0, 0)
-+func Dup2(oldfd int, newfd int) (err error) {
-+ _, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1329,8 +55,9 @@ func Unshare(flags int) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Ustat(dev int, ubuf *Ustat_t) (err error) {
-- _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
-+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)
- }
-@@ -1339,46 +66,14 @@ func Ustat(dev int, ubuf *Ustat_t) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func write(fd int, p []byte) (n int, err error) {
-+func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
- var _p0 unsafe.Pointer
-- if len(p) > 0 {
-- _p0 = unsafe.Pointer(&p[0])
-+ if len(events) > 0 {
-+ _p0 = unsafe.Pointer(&events[0])
- } else {
- _p0 = unsafe.Pointer(&_zero)
- }
-- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func exitThread(code int) (err error) {
-- _, _, e1 := Syscall(SYS_EXIT, uintptr(code), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func readlen(fd int, p *byte, np int) (n int, err error) {
-- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func writelen(fd int, p *byte, np int) (n int, err error) {
-- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
-+ r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
- n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1388,108 +83,8 @@ func writelen(fd int, p *byte, np int) (n int, err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func munmap(addr uintptr, length uintptr) (err error) {
-- _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Madvise(b []byte, advice int) (err error) {
-- var _p0 unsafe.Pointer
-- if len(b) > 0 {
-- _p0 = unsafe.Pointer(&b[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(advice))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Mprotect(b []byte, prot int) (err error) {
-- var _p0 unsafe.Pointer
-- if len(b) > 0 {
-- _p0 = unsafe.Pointer(&b[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Mlock(b []byte) (err error) {
-- var _p0 unsafe.Pointer
-- if len(b) > 0 {
-- _p0 = unsafe.Pointer(&b[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Munlock(b []byte) (err error) {
-- var _p0 unsafe.Pointer
-- if len(b) > 0 {
-- _p0 = unsafe.Pointer(&b[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Mlockall(flags int) (err error) {
-- _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func 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 Munlockall() (err error) {
-- _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
-+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)
- }
-@@ -1498,15 +93,8 @@ func Munlockall() (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
-- var _p0 unsafe.Pointer
-- if len(events) > 0 {
-- _p0 = unsafe.Pointer(&events[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
-- n = int(r0)
-+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)
- }
-@@ -1515,8 +103,8 @@ func EpollWait(epfd int, events []EpollEvent, msec 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)
-+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)
- }
-@@ -1525,18 +113,13 @@ func Dup2(oldfd int, newfd int) (err error) {
-
- // 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)
-+func Fstatat(dirfd int, path string, stat *Stat_t, flags int) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
- }
-- 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)
-+ _, _, e1 := Syscall6(SYS_NEWFSTATAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1566,7 +149,7 @@ func Ftruncate(fd int, length int64) (err error) {
- // 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, _ := RawSyscallNoError(SYS_GETEGID, 0, 0, 0)
- egid = int(r0)
- return
- }
-@@ -1574,7 +157,7 @@ func Getegid() (egid int) {
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Geteuid() (euid int) {
-- r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
-+ r0, _ := RawSyscallNoError(SYS_GETEUID, 0, 0, 0)
- euid = int(r0)
- return
- }
-@@ -1582,7 +165,7 @@ func Geteuid() (euid int) {
- // 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, _ := RawSyscallNoError(SYS_GETGID, 0, 0, 0)
- gid = int(r0)
- return
- }
-@@ -1600,7 +183,7 @@ func Getrlimit(resource int, rlim *Rlimit) (err error) {
- // 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, _ := RawSyscallNoError(SYS_GETUID, 0, 0, 0)
- uid = int(r0)
- return
- }
-@@ -1722,6 +305,26 @@ func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-+func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(oldpath)
-+ if err != nil {
-+ return
-+ }
-+ var _p1 *byte
-+ _p1, err = BytePtrFromString(newpath)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
-+ 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)
-@@ -1734,7 +337,7 @@ func Seek(fd int, offset int64, whence int) (off int64, err error) {
- // 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 := Syscall6(SYS__NEWSELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
- n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1755,8 +358,9 @@ func sendfile(outfd int, infd int, offset *int64, count int) (written int, err e
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Setfsgid(gid int) (err error) {
-- _, _, e1 := Syscall(SYS_SETFSGID, uintptr(gid), 0, 0)
-+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)
- }
-@@ -1765,8 +369,9 @@ func Setfsgid(gid int) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Setfsuid(uid int) (err error) {
-- _, _, e1 := Syscall(SYS_SETFSUID, uintptr(uid), 0, 0)
-+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)
- }
-@@ -1876,8 +481,13 @@ func Statfs(path string, buf *Statfs_t) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func SyncFileRange(fd int, off int64, n int64, flags int) (err error) {
-- _, _, e1 := Syscall6(SYS_SYNC_FILE_RANGE2, uintptr(fd), uintptr(off), uintptr(n), uintptr(flags), 0, 0)
-+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)
- }
-@@ -1886,13 +496,8 @@ func SyncFileRange(fd int, off int64, n int64, flags int) (err error) {
-
- // 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)
-+func Ustat(dev int, ubuf *Ustat_t) (err error) {
-+ _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -2091,6 +696,21 @@ func mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int6
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-+func futimesat(dirfd int, path string, times *[2]Timeval) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)))
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Gettimeofday(tv *Timeval) (err error) {
- _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
- if e1 != 0 {
-@@ -2127,8 +747,13 @@ func Utime(path string, buf *Utimbuf) (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)
-+func utimes(path string, times *[2]Timeval) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -2137,8 +762,8 @@ func pipe(p *[2]_C_int) (err error) {
-
- // 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 pipe(p *[2]_C_int) (err error) {
-+ _, _, e1 := RawSyscall(SYS_PIPE, uintptr(unsafe.Pointer(p)), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -2155,3 +780,28 @@ func poll(fds *PollFd, nfds int, timeout int) (n int, err error) {
- }
- 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 {
-+ 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_riscv64.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_riscv64.go
-new file mode 100644
-index 00000000..b7613344
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/zsyscall_linux_riscv64.go
-@@ -0,0 +1,582 @@
-+// go run mksyscall.go -tags linux,riscv64 syscall_linux.go syscall_linux_riscv64.go
-+// Code generated by the command above; see README.md. DO NOT EDIT.
-+
-+// +build linux,riscv64
-+
-+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 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, 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 Getrlimit(resource int, rlim *Rlimit) (err error) {
-+ _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Getuid() (uid int) {
-+ r0, _ := 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 Setregid(rgid int, egid int) (err error) {
-+ _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Setresgid(rgid int, egid int, sgid int) (err error) {
-+ _, _, e1 := RawSyscall(SYS_SETRESGID, uintptr(rgid), uintptr(egid), uintptr(sgid))
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Setresuid(ruid int, euid int, suid int) (err error) {
-+ _, _, e1 := RawSyscall(SYS_SETRESUID, uintptr(ruid), uintptr(euid), uintptr(suid))
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Setrlimit(resource int, rlim *Rlimit) (err error) {
-+ _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Setreuid(ruid int, euid int) (err error) {
-+ _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Shutdown(fd int, how int) (err error) {
-+ _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(fd), uintptr(how), 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error) {
-+ r0, _, e1 := Syscall6(SYS_SPLICE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags))
-+ n = int64(r0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Statfs(path string, buf *Statfs_t) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall(SYS_STATFS, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0)
-+ 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 accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
-+ r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-+ fd = int(r0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error) {
-+ r0, _, e1 := Syscall6(SYS_ACCEPT4, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0)
-+ fd = int(r0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-+ _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen))
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
-+ _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen))
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func getgroups(n int, list *_Gid_t) (nn int, err error) {
-+ r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
-+ nn = int(r0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func setgroups(n int, list *_Gid_t) (err error) {
-+ _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(n), uintptr(unsafe.Pointer(list)), 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
-+ _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
-+ _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func socket(domain int, typ int, proto int) (fd int, err error) {
-+ r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto))
-+ fd = int(r0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
-+ _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-+ _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
-+ _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)))
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
-+ var _p0 unsafe.Pointer
-+ if len(p) > 0 {
-+ _p0 = unsafe.Pointer(&p[0])
-+ } else {
-+ _p0 = unsafe.Pointer(&_zero)
-+ }
-+ r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
-+ n = int(r0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
-+ var _p0 unsafe.Pointer
-+ if len(buf) > 0 {
-+ _p0 = unsafe.Pointer(&buf[0])
-+ } else {
-+ _p0 = unsafe.Pointer(&_zero)
-+ }
-+ _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-+ r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-+ n = int(r0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
-+ r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags))
-+ n = int(r0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error) {
-+ r0, _, e1 := Syscall6(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flags), uintptr(fd), uintptr(offset))
-+ xaddr = uintptr(r0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Gettimeofday(tv *Timeval) (err error) {
-+ _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func 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_s390x.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_s390x.go
-index b6ff9e39..9bc353f0 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 @@
--// mksyscall.pl -tags linux,s390x syscall_linux.go syscall_linux_s390x.go
-+// go run mksyscall.go -tags linux,s390x syscall_linux.go syscall_linux_s390x.go
- // Code generated by the command above; see README.md. DO NOT EDIT.
-
- // +build linux,s390x
-@@ -14,1446 +14,8 @@ var _ syscall.Errno
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func fchmodat(dirfd int, path string, mode uint32) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_FCHMODAT, 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 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 Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(oldpath)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(newpath)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_LINKAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), uintptr(mode), 0, 0)
-- fd = int(r0)
-- 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)
-- 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 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 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 utimes(path string, times *[2]Timeval) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
-- 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
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func futimesat(dirfd int, path *byte, times *[2]Timeval) (err error) {
-- _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(times)))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getcwd(buf []byte) (n int, err error) {
-- var _p0 unsafe.Pointer
-- if len(buf) > 0 {
-- _p0 = unsafe.Pointer(&buf[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
-- r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
-- wpid = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func 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)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func KeyctlBuffer(cmd int, arg2 int, buf []byte, arg5 int) (ret 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_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(_p0), uintptr(len(buf)), uintptr(arg5), 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 keyctlJoin(cmd int, arg2 string) (ret int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(arg2)
-- if err != nil {
-- return
-- }
-- r0, _, e1 := Syscall(SYS_KEYCTL, uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 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 keyctlSearch(cmd int, arg2 int, arg3 string, arg4 string, arg5 int) (ret int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(arg3)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(arg4)
-- if err != nil {
-- return
-- }
-- r0, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(arg5), 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 keyctlIOV(cmd int, arg2 int, payload []Iovec, arg5 int) (err error) {
-- var _p0 unsafe.Pointer
-- if len(payload) > 0 {
-- _p0 = unsafe.Pointer(&payload[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall6(SYS_KEYCTL, uintptr(cmd), uintptr(arg2), uintptr(_p0), uintptr(len(payload)), uintptr(arg5), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func keyctlDH(cmd int, arg2 *KeyctlDHParams, buf []byte) (ret 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_KEYCTL, uintptr(cmd), uintptr(unsafe.Pointer(arg2)), uintptr(_p0), uintptr(len(buf)), 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 ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
-- _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func reboot(magic1 uint, magic2 uint, cmd int, arg string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(arg)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_REBOOT, uintptr(magic1), uintptr(magic2), uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func mount(source string, target string, fstype string, flags uintptr, data *byte) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(source)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(target)
-- if err != nil {
-- return
-- }
-- var _p2 *byte
-- _p2, err = BytePtrFromString(fstype)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_MOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(flags), uintptr(unsafe.Pointer(data)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Acct(path string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_ACCT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func AddKey(keyType string, description string, payload []byte, ringid int) (id int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(keyType)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(description)
-- if err != nil {
-- return
-- }
-- var _p2 unsafe.Pointer
-- if len(payload) > 0 {
-- _p2 = unsafe.Pointer(&payload[0])
-- } else {
-- _p2 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall6(SYS_ADD_KEY, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(payload)), uintptr(ringid), 0)
-- id = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Adjtimex(buf *Timex) (state int, err error) {
-- r0, _, e1 := Syscall(SYS_ADJTIMEX, uintptr(unsafe.Pointer(buf)), 0, 0)
-- state = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Chdir(path string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-- 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 ClockGettime(clockid int32, time *Timespec) (err error) {
-- _, _, e1 := Syscall(SYS_CLOCK_GETTIME, uintptr(clockid), uintptr(unsafe.Pointer(time)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Close(fd int) (err error) {
-- _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func CopyFileRange(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int, err error) {
-- r0, _, e1 := Syscall6(SYS_COPY_FILE_RANGE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Dup(oldfd int) (fd int, err error) {
-- r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), 0, 0)
-- fd = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Dup3(oldfd int, newfd int, flags int) (err error) {
-- _, _, e1 := Syscall(SYS_DUP3, uintptr(oldfd), uintptr(newfd), uintptr(flags))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func EpollCreate(size int) (fd int, err error) {
-- r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE, uintptr(size), 0, 0)
-- fd = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func EpollCreate1(flag int) (fd int, err error) {
-- r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE1, uintptr(flag), 0, 0)
-- fd = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) {
-- _, _, e1 := RawSyscall6(SYS_EPOLL_CTL, uintptr(epfd), uintptr(op), uintptr(fd), uintptr(unsafe.Pointer(event)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Eventfd(initval uint, flags int) (fd int, err error) {
-- r0, _, e1 := Syscall(SYS_EVENTFD2, uintptr(initval), 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 Exit(code int) {
-- Syscall(SYS_EXIT_GROUP, uintptr(code), 0, 0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
-- _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(len), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Fchdir(fd int) (err error) {
-- _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Fchmod(fd int, mode uint32) (err error) {
-- _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func 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 fcntl(fd int, cmd int, arg int) (val int, err error) {
-- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-- val = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Fdatasync(fd int) (err error) {
-- _, _, e1 := Syscall(SYS_FDATASYNC, uintptr(fd), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Flock(fd int, how int) (err error) {
-- _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Fsync(fd int) (err error) {
-- _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getdents(fd int, buf []byte) (n int, err error) {
-- var _p0 unsafe.Pointer
-- if len(buf) > 0 {
-- _p0 = unsafe.Pointer(&buf[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_GETDENTS64, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getpgid(pid int) (pgid int, err error) {
-- r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
-- pgid = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getpid() (pid int) {
-- r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
-- pid = int(r0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getppid() (ppid int) {
-- r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
-- ppid = int(r0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getpriority(which int, who int) (prio int, err error) {
-- r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
-- prio = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getrandom(buf []byte, flags int) (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_GETRANDOM, uintptr(_p0), uintptr(len(buf)), 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 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 Gettid() (tid int) {
-- r0, _, _ := RawSyscall(SYS_GETTID, 0, 0, 0)
-- tid = int(r0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getxattr(path string, attr string, dest []byte) (sz int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(attr)
-- if err != nil {
-- return
-- }
-- var _p2 unsafe.Pointer
-- if len(dest) > 0 {
-- _p2 = unsafe.Pointer(&dest[0])
-- } else {
-- _p2 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall6(SYS_GETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
-- sz = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func InotifyAddWatch(fd int, pathname string, mask uint32) (watchdesc int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(pathname)
-- if err != nil {
-- return
-- }
-- r0, _, e1 := Syscall(SYS_INOTIFY_ADD_WATCH, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mask))
-- watchdesc = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func InotifyInit1(flags int) (fd int, err error) {
-- r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT1, uintptr(flags), 0, 0)
-- fd = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func InotifyRmWatch(fd int, watchdesc uint32) (success int, err error) {
-- r0, _, e1 := RawSyscall(SYS_INOTIFY_RM_WATCH, uintptr(fd), uintptr(watchdesc), 0)
-- success = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Kill(pid int, sig syscall.Signal) (err error) {
-- _, _, e1 := RawSyscall(SYS_KILL, uintptr(pid), uintptr(sig), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Klogctl(typ int, buf []byte) (n int, err error) {
-- var _p0 unsafe.Pointer
-- if len(buf) > 0 {
-- _p0 = unsafe.Pointer(&buf[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_SYSLOG, uintptr(typ), uintptr(_p0), uintptr(len(buf)))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Lgetxattr(path string, attr string, dest []byte) (sz int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(attr)
-- if err != nil {
-- return
-- }
-- var _p2 unsafe.Pointer
-- if len(dest) > 0 {
-- _p2 = unsafe.Pointer(&dest[0])
-- } else {
-- _p2 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall6(SYS_LGETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
-- sz = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Listxattr(path string, dest []byte) (sz int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 unsafe.Pointer
-- if len(dest) > 0 {
-- _p1 = unsafe.Pointer(&dest[0])
-- } else {
-- _p1 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_LISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
-- sz = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Llistxattr(path string, dest []byte) (sz int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 unsafe.Pointer
-- if len(dest) > 0 {
-- _p1 = unsafe.Pointer(&dest[0])
-- } else {
-- _p1 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_LLISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
-- sz = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Lremovexattr(path string, attr string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(attr)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_LREMOVEXATTR, 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 Lsetxattr(path string, attr string, data []byte, flags int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(attr)
-- if err != nil {
-- return
-- }
-- var _p2 unsafe.Pointer
-- if len(data) > 0 {
-- _p2 = unsafe.Pointer(&data[0])
-- } else {
-- _p2 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall6(SYS_LSETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 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 Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
-- _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func PivotRoot(newroot string, putold string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(newroot)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(putold)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_PIVOT_ROOT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func prlimit(pid int, resource int, 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)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error) {
-- _, _, e1 := Syscall6(SYS_PRCTL, uintptr(option), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func read(fd int, p []byte) (n int, err error) {
-- var _p0 unsafe.Pointer
-- if len(p) > 0 {
-- _p0 = unsafe.Pointer(&p[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Removexattr(path string, attr string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(attr)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_REMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(oldpath)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(newpath)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func RequestKey(keyType string, description string, callback string, destRingid int) (id int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(keyType)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(description)
-- if err != nil {
-- return
-- }
-- var _p2 *byte
-- _p2, err = BytePtrFromString(callback)
-- if err != nil {
-- return
-- }
-- r0, _, e1 := Syscall6(SYS_REQUEST_KEY, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(destRingid), 0, 0)
-- id = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setdomainname(p []byte) (err error) {
-- var _p0 unsafe.Pointer
-- if len(p) > 0 {
-- _p0 = unsafe.Pointer(&p[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_SETDOMAINNAME, uintptr(_p0), uintptr(len(p)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Sethostname(p []byte) (err error) {
-- var _p0 unsafe.Pointer
-- if len(p) > 0 {
-- _p0 = unsafe.Pointer(&p[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_SETHOSTNAME, uintptr(_p0), uintptr(len(p)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setpgid(pid int, pgid int) (err error) {
-- _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setsid() (pid int, err error) {
-- r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
-- pid = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Settimeofday(tv *Timeval) (err error) {
-- _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setns(fd int, nstype int) (err error) {
-- _, _, e1 := Syscall(SYS_SETNS, uintptr(fd), uintptr(nstype), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setpriority(which int, who int, prio int) (err error) {
-- _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setxattr(path string, attr string, data []byte, flags int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(attr)
-- if err != nil {
-- return
-- }
-- var _p2 unsafe.Pointer
-- if len(data) > 0 {
-- _p2 = unsafe.Pointer(&data[0])
-- } else {
-- _p2 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall6(SYS_SETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Sync() {
-- Syscall(SYS_SYNC, 0, 0, 0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Syncfs(fd int) (err error) {
-- _, _, e1 := Syscall(SYS_SYNCFS, 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 Sysinfo(info *Sysinfo_t) (err error) {
-- _, _, e1 := RawSyscall(SYS_SYSINFO, uintptr(unsafe.Pointer(info)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) {
-- r0, _, e1 := Syscall6(SYS_TEE, uintptr(rfd), uintptr(wfd), uintptr(len), uintptr(flags), 0, 0)
-- n = int64(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Tgkill(tgid int, tid int, sig syscall.Signal) (err error) {
-- _, _, e1 := RawSyscall(SYS_TGKILL, uintptr(tgid), uintptr(tid), uintptr(sig))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Times(tms *Tms) (ticks uintptr, err error) {
-- r0, _, e1 := RawSyscall(SYS_TIMES, uintptr(unsafe.Pointer(tms)), 0, 0)
-- ticks = uintptr(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Umask(mask int) (oldmask int) {
-- r0, _, _ := RawSyscall(SYS_UMASK, uintptr(mask), 0, 0)
-- oldmask = int(r0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Uname(buf *Utsname) (err error) {
-- _, _, e1 := RawSyscall(SYS_UNAME, uintptr(unsafe.Pointer(buf)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Unmount(target string, flags int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(target)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_UMOUNT2, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Unshare(flags int) (err error) {
-- _, _, e1 := Syscall(SYS_UNSHARE, uintptr(flags), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Ustat(dev int, ubuf *Ustat_t) (err error) {
-- _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func write(fd int, p []byte) (n int, err error) {
-- var _p0 unsafe.Pointer
-- if len(p) > 0 {
-- _p0 = unsafe.Pointer(&p[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func exitThread(code int) (err error) {
-- _, _, e1 := Syscall(SYS_EXIT, uintptr(code), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func readlen(fd int, p *byte, np int) (n int, err error) {
-- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func writelen(fd int, p *byte, np int) (n int, err error) {
-- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func munmap(addr uintptr, length uintptr) (err error) {
-- _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Madvise(b []byte, advice int) (err error) {
-- var _p0 unsafe.Pointer
-- if len(b) > 0 {
-- _p0 = unsafe.Pointer(&b[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(advice))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Mprotect(b []byte, prot int) (err error) {
-- var _p0 unsafe.Pointer
-- if len(b) > 0 {
-- _p0 = unsafe.Pointer(&b[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Mlock(b []byte) (err error) {
-- var _p0 unsafe.Pointer
-- if len(b) > 0 {
-- _p0 = unsafe.Pointer(&b[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Munlock(b []byte) (err error) {
-- var _p0 unsafe.Pointer
-- if len(b) > 0 {
-- _p0 = unsafe.Pointer(&b[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
-+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)
- }
-@@ -1462,8 +24,8 @@ func Munlock(b []byte) (err error) {
-
- // 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)
-+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)
- }
-@@ -1472,14 +34,9 @@ func Mlockall(flags int) (err error) {
-
- // 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))
-+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)
- }
-@@ -1488,8 +45,8 @@ func Msync(b []byte, flags int) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Munlockall() (err error) {
-- _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
-+func Dup2(oldfd int, newfd int) (err error) {
-+ _, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1498,8 +55,9 @@ func Munlockall() (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)
-+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)
- }
-@@ -1555,6 +113,21 @@ func Fstat(fd int, stat *Stat_t) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-+func Fstatat(dirfd int, path string, stat *Stat_t, flags int) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall6(SYS_NEWFSTATAT, uintptr(dirfd), 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, buf *Statfs_t) (err error) {
- _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(buf)), 0)
- if e1 != 0 {
-@@ -1576,7 +149,7 @@ func Ftruncate(fd int, length int64) (err error) {
- // 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, _ := RawSyscallNoError(SYS_GETEGID, 0, 0, 0)
- egid = int(r0)
- return
- }
-@@ -1584,7 +157,7 @@ func Getegid() (egid int) {
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Geteuid() (euid int) {
-- r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
-+ r0, _ := RawSyscallNoError(SYS_GETEUID, 0, 0, 0)
- euid = int(r0)
- return
- }
-@@ -1592,7 +165,7 @@ func Geteuid() (euid int) {
- // 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, _ := RawSyscallNoError(SYS_GETGID, 0, 0, 0)
- gid = int(r0)
- return
- }
-@@ -1610,7 +183,7 @@ func Getrlimit(resource int, rlim *Rlimit) (err error) {
- // 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, _ := RawSyscallNoError(SYS_GETUID, 0, 0, 0)
- uid = int(r0)
- return
- }
-@@ -1702,6 +275,26 @@ func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-+func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(oldpath)
-+ if err != nil {
-+ return
-+ }
-+ var _p1 *byte
-+ _p1, err = BytePtrFromString(newpath)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
-+ 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)
-@@ -1735,8 +328,9 @@ func sendfile(outfd int, infd int, offset *int64, count int) (written int, err e
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Setfsgid(gid int) (err error) {
-- _, _, e1 := Syscall(SYS_SETFSGID, uintptr(gid), 0, 0)
-+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)
- }
-@@ -1745,8 +339,9 @@ func Setfsgid(gid int) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Setfsuid(uid int) (err error) {
-- _, _, e1 := Syscall(SYS_SETFSUID, uintptr(uid), 0, 0)
-+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)
- }
-@@ -1871,6 +466,16 @@ func Truncate(path string, length int64) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-+func Ustat(dev int, ubuf *Ustat_t) (err error) {
-+ _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func 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)
-@@ -1892,6 +497,21 @@ func setgroups(n int, list *_Gid_t) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-+func futimesat(dirfd int, path string, times *[2]Timeval) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)))
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Gettimeofday(tv *Timeval) (err error) {
- _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
- if e1 != 0 {
-@@ -1917,8 +537,13 @@ func Utime(path string, buf *Utimbuf) (err error) {
-
- // 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 utimes(path string, times *[2]Timeval) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1935,3 +560,18 @@ func poll(fds *PollFd, nfds int, timeout int) (n int, err error) {
- }
- 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_sparc64.go b/vendor/golang.org/x/sys/unix/zsyscall_linux_sparc64.go
-index 2dd98434..854e816d 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 @@
--// mksyscall.pl -tags linux,sparc64 syscall_linux.go syscall_linux_sparc64.go
-+// go run mksyscall.go -tags linux,sparc64 syscall_linux.go syscall_linux_sparc64.go
- // Code generated by the command above; see README.md. DO NOT EDIT.
-
- // +build linux,sparc64
-@@ -14,944 +14,8 @@ var _ syscall.Errno
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(oldpath)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(newpath)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_LINKAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), uintptr(mode), 0, 0)
-- fd = int(r0)
-- 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)
-- 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 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 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 utimes(path string, times *[2]Timeval) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
-- 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
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func futimesat(dirfd int, path *byte, times *[2]Timeval) (err error) {
-- _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(times)))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getcwd(buf []byte) (n int, err error) {
-- var _p0 unsafe.Pointer
-- if len(buf) > 0 {
-- _p0 = unsafe.Pointer(&buf[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) {
-- r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
-- wpid = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
-- _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func reboot(magic1 uint, magic2 uint, cmd int, arg string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(arg)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_REBOOT, uintptr(magic1), uintptr(magic2), uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func mount(source string, target string, fstype string, flags uintptr, data *byte) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(source)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(target)
-- if err != nil {
-- return
-- }
-- var _p2 *byte
-- _p2, err = BytePtrFromString(fstype)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_MOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(flags), uintptr(unsafe.Pointer(data)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Acct(path string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_ACCT, uintptr(unsafe.Pointer(_p0)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Adjtimex(buf *Timex) (state int, err error) {
-- r0, _, e1 := Syscall(SYS_ADJTIMEX, uintptr(unsafe.Pointer(buf)), 0, 0)
-- state = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Chdir(path string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0)
-- 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 ClockGettime(clockid int32, time *Timespec) (err error) {
-- _, _, e1 := Syscall(SYS_CLOCK_GETTIME, uintptr(clockid), uintptr(unsafe.Pointer(time)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Close(fd int) (err error) {
-- _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func CopyFileRange(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int, err error) {
-- r0, _, e1 := Syscall6(SYS_COPY_FILE_RANGE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Dup(oldfd int) (fd int, err error) {
-- r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), 0, 0)
-- fd = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Dup3(oldfd int, newfd int, flags int) (err error) {
-- _, _, e1 := Syscall(SYS_DUP3, uintptr(oldfd), uintptr(newfd), uintptr(flags))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func EpollCreate(size int) (fd int, err error) {
-- r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE, uintptr(size), 0, 0)
-- fd = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func EpollCreate1(flag int) (fd int, err error) {
-- r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE1, uintptr(flag), 0, 0)
-- fd = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) {
-- _, _, e1 := RawSyscall6(SYS_EPOLL_CTL, uintptr(epfd), uintptr(op), uintptr(fd), uintptr(unsafe.Pointer(event)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Exit(code int) {
-- Syscall(SYS_EXIT_GROUP, uintptr(code), 0, 0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
-- _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(len), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Fchdir(fd int) (err error) {
-- _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Fchmod(fd int, mode uint32) (err error) {
-- _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
-- 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 fcntl(fd int, cmd int, arg int) (val int, err error) {
-- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-- val = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Fdatasync(fd int) (err error) {
-- _, _, e1 := Syscall(SYS_FDATASYNC, uintptr(fd), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Flock(fd int, how int) (err error) {
-- _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Fsync(fd int) (err error) {
-- _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getdents(fd int, buf []byte) (n int, err error) {
-- var _p0 unsafe.Pointer
-- if len(buf) > 0 {
-- _p0 = unsafe.Pointer(&buf[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_GETDENTS64, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getpgid(pid int) (pgid int, err error) {
-- r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0)
-- pgid = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getpid() (pid int) {
-- r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0)
-- pid = int(r0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getppid() (ppid int) {
-- r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0)
-- ppid = int(r0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getpriority(which int, who int) (prio int, err error) {
-- r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0)
-- prio = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getrandom(buf []byte, flags int) (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_GETRANDOM, uintptr(_p0), uintptr(len(buf)), 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 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 Gettid() (tid int) {
-- r0, _, _ := RawSyscall(SYS_GETTID, 0, 0, 0)
-- tid = int(r0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Getxattr(path string, attr string, dest []byte) (sz int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(attr)
-- if err != nil {
-- return
-- }
-- var _p2 unsafe.Pointer
-- if len(dest) > 0 {
-- _p2 = unsafe.Pointer(&dest[0])
-- } else {
-- _p2 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall6(SYS_GETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0)
-- sz = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func InotifyAddWatch(fd int, pathname string, mask uint32) (watchdesc int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(pathname)
-- if err != nil {
-- return
-- }
-- r0, _, e1 := Syscall(SYS_INOTIFY_ADD_WATCH, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mask))
-- watchdesc = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func InotifyInit1(flags int) (fd int, err error) {
-- r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT1, uintptr(flags), 0, 0)
-- fd = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func InotifyRmWatch(fd int, watchdesc uint32) (success int, err error) {
-- r0, _, e1 := RawSyscall(SYS_INOTIFY_RM_WATCH, uintptr(fd), uintptr(watchdesc), 0)
-- success = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Kill(pid int, sig syscall.Signal) (err error) {
-- _, _, e1 := RawSyscall(SYS_KILL, uintptr(pid), uintptr(sig), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Klogctl(typ int, buf []byte) (n int, err error) {
-- var _p0 unsafe.Pointer
-- if len(buf) > 0 {
-- _p0 = unsafe.Pointer(&buf[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_SYSLOG, uintptr(typ), uintptr(_p0), uintptr(len(buf)))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Listxattr(path string, dest []byte) (sz int, err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 unsafe.Pointer
-- if len(dest) > 0 {
-- _p1 = unsafe.Pointer(&dest[0])
-- } else {
-- _p1 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_LISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest)))
-- sz = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Mkdirat(dirfd int, path string, mode uint32) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
-- _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func PivotRoot(newroot string, putold string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(newroot)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(putold)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_PIVOT_ROOT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func prlimit(pid int, resource int, 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)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error) {
-- _, _, e1 := Syscall6(SYS_PRCTL, uintptr(option), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func read(fd int, p []byte) (n int, err error) {
-- var _p0 unsafe.Pointer
-- if len(p) > 0 {
-- _p0 = unsafe.Pointer(&p[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Removexattr(path string, attr string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(attr)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_REMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(oldpath)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(newpath)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setdomainname(p []byte) (err error) {
-- var _p0 unsafe.Pointer
-- if len(p) > 0 {
-- _p0 = unsafe.Pointer(&p[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_SETDOMAINNAME, uintptr(_p0), uintptr(len(p)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Sethostname(p []byte) (err error) {
-- var _p0 unsafe.Pointer
-- if len(p) > 0 {
-- _p0 = unsafe.Pointer(&p[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_SETHOSTNAME, uintptr(_p0), uintptr(len(p)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setpgid(pid int, pgid int) (err error) {
-- _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setsid() (pid int, err error) {
-- r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0)
-- pid = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Settimeofday(tv *Timeval) (err error) {
-- _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setns(fd int, nstype int) (err error) {
-- _, _, e1 := Syscall(SYS_SETNS, uintptr(fd), uintptr(nstype), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setpriority(which int, who int, prio int) (err error) {
-- _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Setxattr(path string, attr string, data []byte, flags int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(attr)
-- if err != nil {
-- return
-- }
-- var _p2 unsafe.Pointer
-- if len(data) > 0 {
-- _p2 = unsafe.Pointer(&data[0])
-- } else {
-- _p2 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall6(SYS_SETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 0)
-+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)
- }
-@@ -960,15 +24,8 @@ func Setxattr(path string, attr string, data []byte, flags int) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Sync() {
-- Syscall(SYS_SYNC, 0, 0, 0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Sysinfo(info *Sysinfo_t) (err error) {
-- _, _, e1 := RawSyscall(SYS_SYSINFO, uintptr(unsafe.Pointer(info)), 0, 0)
-+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)
- }
-@@ -988,120 +45,14 @@ 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 Tgkill(tgid int, tid int, sig syscall.Signal) (err error) {
-- _, _, e1 := RawSyscall(SYS_TGKILL, uintptr(tgid), uintptr(tid), uintptr(sig))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Times(tms *Tms) (ticks uintptr, err error) {
-- r0, _, e1 := RawSyscall(SYS_TIMES, uintptr(unsafe.Pointer(tms)), 0, 0)
-- ticks = uintptr(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Umask(mask int) (oldmask int) {
-- r0, _, _ := RawSyscall(SYS_UMASK, uintptr(mask), 0, 0)
-- oldmask = int(r0)
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Uname(buf *Utsname) (err error) {
-- _, _, e1 := RawSyscall(SYS_UNAME, uintptr(unsafe.Pointer(buf)), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Unmount(target string, flags int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(target)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_UMOUNT2, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Unshare(flags int) (err error) {
-- _, _, e1 := Syscall(SYS_UNSHARE, uintptr(flags), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Ustat(dev int, ubuf *Ustat_t) (err error) {
-- _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func write(fd int, p []byte) (n int, err error) {
-+func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
- var _p0 unsafe.Pointer
-- if len(p) > 0 {
-- _p0 = unsafe.Pointer(&p[0])
-+ if len(events) > 0 {
-+ _p0 = unsafe.Pointer(&events[0])
- } else {
- _p0 = unsafe.Pointer(&_zero)
- }
-- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func exitThread(code int) (err error) {
-- _, _, e1 := Syscall(SYS_EXIT, uintptr(code), 0, 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func readlen(fd int, p *byte, np int) (n int, err error) {
-- r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
-- n = int(r0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func writelen(fd int, p *byte, np int) (n int, err error) {
-- r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np))
-+ r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
- n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1111,82 +62,8 @@ func writelen(fd int, p *byte, np int) (n int, err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func munmap(addr uintptr, length uintptr) (err error) {
-- _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Madvise(b []byte, advice int) (err error) {
-- var _p0 unsafe.Pointer
-- if len(b) > 0 {
-- _p0 = unsafe.Pointer(&b[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(advice))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Mprotect(b []byte, prot int) (err error) {
-- var _p0 unsafe.Pointer
-- if len(b) > 0 {
-- _p0 = unsafe.Pointer(&b[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot))
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Mlock(b []byte) (err error) {
-- var _p0 unsafe.Pointer
-- if len(b) > 0 {
-- _p0 = unsafe.Pointer(&b[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Munlock(b []byte) (err error) {
-- var _p0 unsafe.Pointer
-- if len(b) > 0 {
-- _p0 = unsafe.Pointer(&b[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0)
-- if e1 != 0 {
-- err = errnoErr(e1)
-- }
-- return
--}
--
--// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
--
--func Mlockall(flags int) (err error) {
-- _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0)
-+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)
- }
-@@ -1195,8 +72,8 @@ func Mlockall(flags int) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Munlockall() (err error) {
-- _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0)
-+func Dup2(oldfd int, newfd int) (err error) {
-+ _, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1205,15 +82,8 @@ func Munlockall() (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) {
-- var _p0 unsafe.Pointer
-- if len(events) > 0 {
-- _p0 = unsafe.Pointer(&events[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0)
-- n = int(r0)
-+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)
- }
-@@ -1222,8 +92,8 @@ func EpollWait(epfd int, events []EpollEvent, msec 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)
-+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)
- }
-@@ -1232,18 +102,13 @@ func Dup2(oldfd int, newfd int) (err error) {
-
- // 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)
-+func Fstatat(dirfd int, path string, stat *Stat_t, flags int) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
- }
-- 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)
-+ _, _, e1 := Syscall6(SYS_FSTATAT64, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1273,7 +138,7 @@ func Ftruncate(fd int, length int64) (err error) {
- // 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, _ := RawSyscallNoError(SYS_GETEGID, 0, 0, 0)
- egid = int(r0)
- return
- }
-@@ -1281,7 +146,7 @@ func Getegid() (egid int) {
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Geteuid() (euid int) {
-- r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
-+ r0, _ := RawSyscallNoError(SYS_GETEUID, 0, 0, 0)
- euid = int(r0)
- return
- }
-@@ -1289,7 +154,7 @@ func Geteuid() (euid int) {
- // 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, _ := RawSyscallNoError(SYS_GETGID, 0, 0, 0)
- gid = int(r0)
- return
- }
-@@ -1307,7 +172,7 @@ func Getrlimit(resource int, rlim *Rlimit) (err error) {
- // 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, _ := RawSyscallNoError(SYS_GETUID, 0, 0, 0)
- uid = int(r0)
- return
- }
-@@ -1409,6 +274,26 @@ func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-+func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(oldpath)
-+ if err != nil {
-+ return
-+ }
-+ var _p1 *byte
-+ _p1, err = BytePtrFromString(newpath)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
-+ 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)
-@@ -1442,8 +327,9 @@ func sendfile(outfd int, infd int, offset *int64, count int) (written int, err e
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Setfsgid(gid int) (err error) {
-- _, _, e1 := Syscall(SYS_SETFSGID, uintptr(gid), 0, 0)
-+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)
- }
-@@ -1452,8 +338,9 @@ func Setfsgid(gid int) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Setfsuid(uid int) (err error) {
-- _, _, e1 := Syscall(SYS_SETFSUID, uintptr(uid), 0, 0)
-+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)
- }
-@@ -1778,6 +665,21 @@ func mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int6
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-+func futimesat(dirfd int, path string, times *[2]Timeval) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)))
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Gettimeofday(tv *Timeval) (err error) {
- _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
- if e1 != 0 {
-@@ -1803,8 +705,13 @@ func Utime(path string, buf *Utimbuf) (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)
-+func utimes(path string, times *[2]Timeval) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1813,8 +720,8 @@ func pipe(p *[2]_C_int) (err error) {
-
- // 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 pipe(p *[2]_C_int) (err error) {
-+ _, _, e1 := RawSyscall(SYS_PIPE, uintptr(unsafe.Pointer(p)), 0, 0)
- 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 db99fd0c..3bbd9e39 100644
---- a/vendor/golang.org/x/sys/unix/zsyscall_netbsd_386.go
-+++ b/vendor/golang.org/x/sys/unix/zsyscall_netbsd_386.go
-@@ -1,4 +1,4 @@
--// mksyscall.pl -l32 -netbsd -tags netbsd,386 syscall_bsd.go syscall_netbsd.go syscall_netbsd_386.go
-+// go run mksyscall.go -l32 -netbsd -tags netbsd,386 syscall_bsd.go syscall_netbsd.go syscall_netbsd_386.go
- // Code generated by the command above; see README.md. DO NOT EDIT.
-
- // +build netbsd,386
-@@ -214,22 +214,6 @@ func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, ne
-
- // 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 utimes(path string, timeval *[2]Timeval) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
-@@ -255,9 +239,9 @@ func futimes(fd int, timeval *[2]Timeval) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func fcntl(fd int, cmd int, arg int) (val int, err error) {
-- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-- val = int(r0)
-+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)
- }
-@@ -378,7 +362,7 @@ func pipe() (fd1 int, fd2 int, err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func getdents(fd int, buf []byte) (n int, err error) {
-+func Getdents(fd int, buf []byte) (n int, err error) {
- var _p0 unsafe.Pointer
- if len(buf) > 0 {
- _p0 = unsafe.Pointer(&buf[0])
-@@ -395,6 +379,49 @@ func getdents(fd int, buf []byte) (n int, err error) {
-
- // 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 Access(path string, mode uint32) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
-@@ -526,6 +553,16 @@ func Dup2(from int, to int) (err error) {
-
- // 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))
-+ 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
-@@ -533,6 +570,245 @@ func Exit(code int) {
-
- // 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 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 Fadvise(fd int, offset int64, length int64, advice int) (err error) {
-+ _, _, e1 := Syscall9(SYS_POSIX_FADVISE, uintptr(fd), 0, uintptr(offset), uintptr(offset>>32), 0, uintptr(length), uintptr(length>>32), uintptr(advice), 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 {
-@@ -563,6 +839,21 @@ func Fchmod(fd int, mode uint32) (err error) {
-
- // 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 {
-@@ -573,6 +864,21 @@ func Fchown(fd int, uid int, gid int) (err error) {
-
- // 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 {
-@@ -604,6 +910,31 @@ func Fstat(fd int, stat *Stat_t) (err error) {
-
- // 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 Fstatvfs1(fd int, buf *Statvfs_t, flags int) (err error) {
-+ _, _, e1 := Syscall(SYS_FSTATVFS1, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(flags))
-+ 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 {
-@@ -807,6 +1138,26 @@ func Link(path string, link string) (err error) {
-
- // 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 {
-@@ -847,6 +1198,21 @@ func Mkdir(path string, mode uint32) (err error) {
-
- // 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)
-@@ -862,6 +1228,21 @@ func Mkfifo(path string, mode uint32) (err error) {
-
- // 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(SYS_MKFIFOAT, 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 Mknod(path string, mode uint32, dev int) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
-@@ -877,6 +1258,21 @@ func Mknod(path string, mode uint32, dev int) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-+func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
-+ 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 {
-@@ -903,6 +1299,22 @@ func Open(path string, mode int, perm uint32) (fd int, err error) {
-
- // 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 := Syscall6(SYS_OPENAT, uintptr(dirfd), 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)
-@@ -992,6 +1404,28 @@ func Readlink(path string, buf []byte) (n int, err error) {
-
- // 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)
-@@ -1012,6 +1446,26 @@ func Rename(from string, to string) (err error) {
-
- // 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)
-@@ -1053,8 +1507,9 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
-- _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-+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)
- }
-@@ -1189,6 +1644,21 @@ func Stat(path string, stat *Stat_t) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-+func Statvfs1(path string, buf *Statvfs_t, flags int) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall(SYS_STATVFS1, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), uintptr(flags))
-+ 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)
-@@ -1209,6 +1679,26 @@ func Symlink(path string, link string) (err error) {
-
- // 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 {
-@@ -1257,6 +1747,21 @@ func Unlink(path string) (err error) {
-
- // 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)
-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 7b6c2c87..d8cf5012 100644
---- a/vendor/golang.org/x/sys/unix/zsyscall_netbsd_amd64.go
-+++ b/vendor/golang.org/x/sys/unix/zsyscall_netbsd_amd64.go
-@@ -1,4 +1,4 @@
--// mksyscall.pl -netbsd -tags netbsd,amd64 syscall_bsd.go syscall_netbsd.go syscall_netbsd_amd64.go
-+// go run mksyscall.go -netbsd -tags netbsd,amd64 syscall_bsd.go syscall_netbsd.go syscall_netbsd_amd64.go
- // Code generated by the command above; see README.md. DO NOT EDIT.
-
- // +build netbsd,amd64
-@@ -214,22 +214,6 @@ func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, ne
-
- // 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 utimes(path string, timeval *[2]Timeval) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
-@@ -255,9 +239,9 @@ func futimes(fd int, timeval *[2]Timeval) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func fcntl(fd int, cmd int, arg int) (val int, err error) {
-- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-- val = int(r0)
-+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)
- }
-@@ -378,7 +362,7 @@ func pipe() (fd1 int, fd2 int, err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func getdents(fd int, buf []byte) (n int, err error) {
-+func Getdents(fd int, buf []byte) (n int, err error) {
- var _p0 unsafe.Pointer
- if len(buf) > 0 {
- _p0 = unsafe.Pointer(&buf[0])
-@@ -395,6 +379,49 @@ func getdents(fd int, buf []byte) (n int, err error) {
-
- // 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 Access(path string, mode uint32) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
-@@ -526,6 +553,16 @@ func Dup2(from int, to int) (err error) {
-
- // 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))
-+ 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
-@@ -533,6 +570,245 @@ func Exit(code int) {
-
- // 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 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 Fadvise(fd int, offset int64, length int64, advice int) (err error) {
-+ _, _, e1 := Syscall6(SYS_POSIX_FADVISE, uintptr(fd), 0, uintptr(offset), 0, uintptr(length), uintptr(advice))
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Fchdir(fd int) (err error) {
- _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0)
- if e1 != 0 {
-@@ -563,6 +839,21 @@ func Fchmod(fd int, mode uint32) (err error) {
-
- // 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 {
-@@ -573,6 +864,21 @@ func Fchown(fd int, uid int, gid int) (err error) {
-
- // 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 {
-@@ -604,6 +910,31 @@ func Fstat(fd int, stat *Stat_t) (err error) {
-
- // 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 Fstatvfs1(fd int, buf *Statvfs_t, flags int) (err error) {
-+ _, _, e1 := Syscall(SYS_FSTATVFS1, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(flags))
-+ 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 {
-@@ -807,6 +1138,26 @@ func Link(path string, link string) (err error) {
-
- // 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 {
-@@ -847,6 +1198,21 @@ func Mkdir(path string, mode uint32) (err error) {
-
- // 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)
-@@ -862,6 +1228,21 @@ func Mkfifo(path string, mode uint32) (err error) {
-
- // 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(SYS_MKFIFOAT, 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 Mknod(path string, mode uint32, dev int) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
-@@ -877,6 +1258,21 @@ func Mknod(path string, mode uint32, dev int) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-+func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
-+ 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 {
-@@ -903,6 +1299,22 @@ func Open(path string, mode int, perm uint32) (fd int, err error) {
-
- // 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 := Syscall6(SYS_OPENAT, uintptr(dirfd), 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)
-@@ -992,6 +1404,28 @@ func Readlink(path string, buf []byte) (n int, err error) {
-
- // 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)
-@@ -1012,6 +1446,26 @@ func Rename(from string, to string) (err error) {
-
- // 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)
-@@ -1053,8 +1507,9 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
-- _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-+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)
- }
-@@ -1189,6 +1644,21 @@ func Stat(path string, stat *Stat_t) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-+func Statvfs1(path string, buf *Statvfs_t, flags int) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall(SYS_STATVFS1, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), uintptr(flags))
-+ 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)
-@@ -1209,6 +1679,26 @@ func Symlink(path string, link string) (err error) {
-
- // 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 {
-@@ -1257,6 +1747,21 @@ func Unlink(path string) (err error) {
-
- // 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)
-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 0f4cc3b5..1153fe69 100644
---- a/vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm.go
-+++ b/vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm.go
-@@ -1,4 +1,4 @@
--// mksyscall.pl -l32 -netbsd -arm -tags netbsd,arm syscall_bsd.go syscall_netbsd.go syscall_netbsd_arm.go
-+// go run mksyscall.go -l32 -netbsd -arm -tags netbsd,arm syscall_bsd.go syscall_netbsd.go syscall_netbsd_arm.go
- // Code generated by the command above; see README.md. DO NOT EDIT.
-
- // +build netbsd,arm
-@@ -214,22 +214,6 @@ func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, ne
-
- // 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 utimes(path string, timeval *[2]Timeval) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
-@@ -255,9 +239,9 @@ func futimes(fd int, timeval *[2]Timeval) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func fcntl(fd int, cmd int, arg int) (val int, err error) {
-- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-- val = int(r0)
-+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)
- }
-@@ -378,7 +362,7 @@ func pipe() (fd1 int, fd2 int, err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func getdents(fd int, buf []byte) (n int, err error) {
-+func Getdents(fd int, buf []byte) (n int, err error) {
- var _p0 unsafe.Pointer
- if len(buf) > 0 {
- _p0 = unsafe.Pointer(&buf[0])
-@@ -395,6 +379,49 @@ func getdents(fd int, buf []byte) (n int, err error) {
-
- // 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 Access(path string, mode uint32) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
-@@ -526,6 +553,16 @@ func Dup2(from int, to int) (err error) {
-
- // 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))
-+ 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
-@@ -533,6 +570,245 @@ func Exit(code int) {
-
- // 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 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 Fadvise(fd int, offset int64, length int64, advice int) (err error) {
-+ _, _, e1 := Syscall9(SYS_POSIX_FADVISE, uintptr(fd), 0, uintptr(offset), uintptr(offset>>32), 0, uintptr(length), uintptr(length>>32), uintptr(advice), 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 {
-@@ -563,6 +839,21 @@ func Fchmod(fd int, mode uint32) (err error) {
-
- // 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 {
-@@ -573,6 +864,21 @@ func Fchown(fd int, uid int, gid int) (err error) {
-
- // 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 {
-@@ -604,6 +910,31 @@ func Fstat(fd int, stat *Stat_t) (err error) {
-
- // 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 Fstatvfs1(fd int, buf *Statvfs_t, flags int) (err error) {
-+ _, _, e1 := Syscall(SYS_FSTATVFS1, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(flags))
-+ 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 {
-@@ -807,6 +1138,26 @@ func Link(path string, link string) (err error) {
-
- // 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 {
-@@ -847,6 +1198,21 @@ func Mkdir(path string, mode uint32) (err error) {
-
- // 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)
-@@ -862,6 +1228,21 @@ func Mkfifo(path string, mode uint32) (err error) {
-
- // 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(SYS_MKFIFOAT, 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 Mknod(path string, mode uint32, dev int) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
-@@ -877,6 +1258,21 @@ func Mknod(path string, mode uint32, dev int) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-+func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
-+ 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 {
-@@ -903,6 +1299,22 @@ func Open(path string, mode int, perm uint32) (fd int, err error) {
-
- // 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 := Syscall6(SYS_OPENAT, uintptr(dirfd), 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)
-@@ -992,6 +1404,28 @@ func Readlink(path string, buf []byte) (n int, err error) {
-
- // 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)
-@@ -1012,6 +1446,26 @@ func Rename(from string, to string) (err error) {
-
- // 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)
-@@ -1053,8 +1507,9 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
-- _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-+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)
- }
-@@ -1189,6 +1644,21 @@ func Stat(path string, stat *Stat_t) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-+func Statvfs1(path string, buf *Statvfs_t, flags int) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall(SYS_STATVFS1, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), uintptr(flags))
-+ 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)
-@@ -1209,6 +1679,26 @@ func Symlink(path string, link string) (err error) {
-
- // 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 {
-@@ -1257,6 +1747,21 @@ func Unlink(path string) (err error) {
-
- // 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)
-diff --git a/vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go b/vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm64.go
-similarity index 92%
-copy from vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go
-copy to vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm64.go
-index ac1e8e01..24b4ebb4 100644
---- a/vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go
-+++ b/vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm64.go
-@@ -1,7 +1,7 @@
--// mksyscall.pl -tags freebsd,amd64 syscall_bsd.go syscall_freebsd.go syscall_freebsd_amd64.go
-+// go run mksyscall.go -netbsd -tags netbsd,arm64 syscall_bsd.go syscall_netbsd.go syscall_netbsd_arm64.go
- // Code generated by the command above; see README.md. DO NOT EDIT.
-
--// +build freebsd,amd64
-+// +build netbsd,arm64
-
- package unix
-
-@@ -214,22 +214,6 @@ func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, ne
-
- // 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 utimes(path string, timeval *[2]Timeval) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
-@@ -255,9 +239,9 @@ func futimes(fd int, timeval *[2]Timeval) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func fcntl(fd int, cmd int, arg int) (val int, err error) {
-- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-- val = int(r0)
-+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)
- }
-@@ -366,10 +350,10 @@ func Munlockall() (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func pipe() (r int, w int, err error) {
-+func pipe() (fd1 int, fd2 int, err error) {
- r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
-- r = int(r0)
-- w = int(r1)
-+ fd1 = int(r0)
-+ fd2 = int(r1)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -378,8 +362,15 @@ func pipe() (r int, w int, err error) {
-
- // 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))
-+func Getdents(fd int, buf []byte) (n int, err error) {
-+ var _p0 unsafe.Pointer
-+ if len(buf) > 0 {
-+ _p0 = unsafe.Pointer(&buf[0])
-+ } else {
-+ _p0 = unsafe.Pointer(&_zero)
-+ }
-+ r0, _, e1 := Syscall(SYS_GETDENTS, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
-+ n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -388,13 +379,15 @@ func ioctl(fd int, req uint, arg uintptr) (err error) {
-
- // 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
-+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)
- }
-- _, _, e1 := Syscall(SYS_ACCESS, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
-+ r0, _, e1 := Syscall(SYS___GETCWD, uintptr(_p0), uintptr(len(buf)), 0)
-+ n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -403,8 +396,8 @@ func Access(path string, mode uint32) (err error) {
-
- // 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)
-+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)
- }
-@@ -413,8 +406,14 @@ func Adjtime(delta *Timeval, olddelta *Timeval) (err error) {
-
- // 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)
-+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)
- }
-@@ -423,8 +422,13 @@ func CapEnter() (err error) {
-
- // 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)))
-+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)
- }
-@@ -433,8 +437,8 @@ func capRightsGet(version int, fd int, rightsp *CapRights) (err error) {
-
- // 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)
-+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)
- }
-@@ -549,6 +553,16 @@ func Dup2(from int, to int) (err error) {
-
- // 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))
-+ 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
-@@ -770,8 +784,13 @@ func ExtattrListLink(link string, attrnamespace int, data uintptr, nbytes int) (
-
- // 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)
-+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)
- }
-@@ -780,13 +799,8 @@ 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 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)
-+func Fadvise(fd int, offset int64, length int64, advice int) (err error) {
-+ _, _, e1 := Syscall6(SYS_POSIX_FADVISE, uintptr(fd), 0, uintptr(offset), 0, uintptr(length), uintptr(advice))
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -896,8 +910,13 @@ func Fstat(fd int, stat *Stat_t) (err error) {
-
- // 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)
-+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)
- }
-@@ -906,8 +925,8 @@ func Fstatfs(fd int, stat *Statfs_t) (err error) {
-
- // 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)
-+func Fstatvfs1(fd int, buf *Statvfs_t, flags int) (err error) {
-+ _, _, e1 := Syscall(SYS_FSTATVFS1, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(flags))
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -916,8 +935,8 @@ func Fsync(fd int) (err error) {
-
- // 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)
-+func Fsync(fd int) (err error) {
-+ _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -926,15 +945,8 @@ 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) {
-- 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)
-+func Ftruncate(fd int, length int64) (err error) {
-+ _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), 0, uintptr(length))
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -943,14 +955,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 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)
-@@ -1224,6 +1228,21 @@ func Mkfifo(path string, mode uint32) (err error) {
-
- // 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(SYS_MKFIFOAT, 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 Mknod(path string, mode uint32, dev int) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
-@@ -1239,6 +1258,21 @@ func Mknod(path string, mode uint32, dev int) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-+func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
-+ 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 {
-@@ -1265,13 +1299,13 @@ func Open(path string, mode int, perm uint32) (fd int, err error) {
-
- // 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) {
-+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 := Syscall6(SYS_OPENAT, uintptr(fdat), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm), 0, 0)
-+ r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm), 0, 0)
- fd = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1304,7 +1338,7 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) {
- } else {
- _p0 = unsafe.Pointer(&_zero)
- }
-- r0, _, e1 := Syscall6(SYS_PREAD, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
-+ r0, _, e1 := Syscall6(SYS_PREAD, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), 0)
- n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1321,7 +1355,7 @@ func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
- } else {
- _p0 = unsafe.Pointer(&_zero)
- }
-- r0, _, e1 := Syscall6(SYS_PWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0)
-+ r0, _, e1 := Syscall6(SYS_PWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), 0)
- n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1463,7 +1497,7 @@ func Rmdir(path string) (err error) {
- // 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))
-+ r0, _, e1 := Syscall6(SYS_LSEEK, uintptr(fd), 0, uintptr(offset), uintptr(whence), 0, 0)
- newoffset = int64(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1473,8 +1507,9 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
-- _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-+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)
- }
-@@ -1513,21 +1548,6 @@ func Setgid(gid int) (err error) {
-
- // 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 {
-@@ -1568,26 +1588,6 @@ func Setreuid(ruid int, euid int) (err error) {
-
- // 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 {
-@@ -1644,13 +1644,13 @@ func Stat(path string, stat *Stat_t) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Statfs(path string, stat *Statfs_t) (err error) {
-+func Statvfs1(path string, buf *Statvfs_t, flags int) (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)
-+ _, _, e1 := Syscall(SYS_STATVFS1, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), uintptr(flags))
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1715,7 +1715,7 @@ func Truncate(path string, length int64) (err error) {
- if err != nil {
- return
- }
-- _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), uintptr(length), 0)
-+ _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), 0, uintptr(length))
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1732,21 +1732,6 @@ func Umask(newmask int) (oldmask int) {
-
- // 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)
-@@ -1810,7 +1795,7 @@ func write(fd int, p []byte) (n int, err error) {
- // 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))
-+ r0, _, e1 := Syscall9(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), 0, uintptr(pos), 0, 0)
- ret = uintptr(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1852,17 +1837,6 @@ func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
-
- // 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)
-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 7baea87c..b44b31ae 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 @@
--// mksyscall.pl -l32 -openbsd -tags openbsd,386 syscall_bsd.go syscall_openbsd.go syscall_openbsd_386.go
-+// go run mksyscall.go -l32 -openbsd -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.
-
- // +build openbsd,386
-@@ -214,22 +214,6 @@ func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, ne
-
- // 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 utimes(path string, timeval *[2]Timeval) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
-@@ -255,9 +239,9 @@ func futimes(fd int, timeval *[2]Timeval) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func fcntl(fd int, cmd int, arg int) (val int, err error) {
-- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-- val = int(r0)
-+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)
- }
-@@ -366,8 +350,8 @@ func Munlockall() (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)
-+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)
- }
-@@ -376,7 +360,7 @@ func pipe(p *[2]_C_int) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func getdents(fd int, buf []byte) (n int, err error) {
-+func Getdents(fd int, buf []byte) (n int, err error) {
- var _p0 unsafe.Pointer
- if len(buf) > 0 {
- _p0 = unsafe.Pointer(&buf[0])
-@@ -393,6 +377,60 @@ func getdents(fd int, buf []byte) (n int, err error) {
-
- // 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 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)
-+ 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)
-@@ -524,6 +562,16 @@ func Dup2(from int, to int) (err error) {
-
- // 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))
-+ 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
-@@ -531,6 +579,21 @@ func Exit(code int) {
-
- // 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 {
-@@ -561,6 +624,21 @@ func Fchmod(fd int, mode uint32) (err error) {
-
- // 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 {
-@@ -571,6 +649,21 @@ func Fchown(fd int, uid int, gid int) (err error) {
-
- // 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 {
-@@ -602,6 +695,21 @@ func Fstat(fd int, stat *Stat_t) (err error) {
-
- // 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 {
-@@ -712,6 +820,17 @@ func Getrlimit(which int, lim *Rlimit) (err error) {
-
- // 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)
-+ rtable = int(r0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Getrusage(who int, rusage *Rusage) (err error) {
- _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
- if e1 != 0 {
-@@ -815,6 +934,26 @@ func Link(path string, link string) (err error) {
-
- // 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 {
-@@ -855,6 +994,21 @@ func Mkdir(path string, mode uint32) (err error) {
-
- // 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)
-@@ -870,6 +1024,21 @@ func Mkfifo(path string, mode uint32) (err error) {
-
- // 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(SYS_MKFIFOAT, 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 Mknod(path string, mode uint32, dev int) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
-@@ -885,6 +1054,21 @@ func Mknod(path string, mode uint32, dev int) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-+func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
-+ 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 {
-@@ -911,6 +1095,22 @@ func Open(path string, mode int, perm uint32) (fd int, err error) {
-
- // 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 := Syscall6(SYS_OPENAT, uintptr(dirfd), 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)
-@@ -1000,6 +1200,28 @@ func Readlink(path string, buf []byte) (n int, err error) {
-
- // 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)
-@@ -1020,6 +1242,26 @@ func Rename(from string, to string) (err error) {
-
- // 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)
-@@ -1061,8 +1303,9 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
-- _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-+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)
- }
-@@ -1186,6 +1429,16 @@ func Setrlimit(which int, lim *Rlimit) (err error) {
-
- // 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)
-+ 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)
-@@ -1267,6 +1520,26 @@ func Symlink(path string, link string) (err error) {
-
- // 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 {
-@@ -1315,6 +1588,21 @@ func Unlink(path string) (err error) {
-
- // 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)
-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 0d69ce6b..67f93ee7 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 @@
--// mksyscall.pl -openbsd -tags openbsd,amd64 syscall_bsd.go syscall_openbsd.go syscall_openbsd_amd64.go
-+// go run mksyscall.go -openbsd -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.
-
- // +build openbsd,amd64
-@@ -214,22 +214,6 @@ func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, ne
-
- // 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 utimes(path string, timeval *[2]Timeval) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
-@@ -255,9 +239,9 @@ func futimes(fd int, timeval *[2]Timeval) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func fcntl(fd int, cmd int, arg int) (val int, err error) {
-- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-- val = int(r0)
-+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)
- }
-@@ -366,8 +350,8 @@ func Munlockall() (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)
-+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)
- }
-@@ -376,7 +360,7 @@ func pipe(p *[2]_C_int) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func getdents(fd int, buf []byte) (n int, err error) {
-+func Getdents(fd int, buf []byte) (n int, err error) {
- var _p0 unsafe.Pointer
- if len(buf) > 0 {
- _p0 = unsafe.Pointer(&buf[0])
-@@ -393,6 +377,60 @@ func getdents(fd int, buf []byte) (n int, err error) {
-
- // 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 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)
-+ 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)
-@@ -524,6 +562,16 @@ func Dup2(from int, to int) (err error) {
-
- // 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))
-+ 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
-@@ -531,6 +579,21 @@ func Exit(code int) {
-
- // 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 {
-@@ -561,6 +624,21 @@ func Fchmod(fd int, mode uint32) (err error) {
-
- // 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 {
-@@ -571,6 +649,21 @@ func Fchown(fd int, uid int, gid int) (err error) {
-
- // 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 {
-@@ -602,6 +695,21 @@ func Fstat(fd int, stat *Stat_t) (err error) {
-
- // 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 {
-@@ -712,6 +820,17 @@ func Getrlimit(which int, lim *Rlimit) (err error) {
-
- // 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)
-+ rtable = int(r0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Getrusage(who int, rusage *Rusage) (err error) {
- _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
- if e1 != 0 {
-@@ -815,6 +934,26 @@ func Link(path string, link string) (err error) {
-
- // 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 {
-@@ -855,6 +994,21 @@ func Mkdir(path string, mode uint32) (err error) {
-
- // 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)
-@@ -870,6 +1024,21 @@ func Mkfifo(path string, mode uint32) (err error) {
-
- // 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(SYS_MKFIFOAT, 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 Mknod(path string, mode uint32, dev int) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
-@@ -885,6 +1054,21 @@ func Mknod(path string, mode uint32, dev int) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-+func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
-+ 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 {
-@@ -911,6 +1095,22 @@ func Open(path string, mode int, perm uint32) (fd int, err error) {
-
- // 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 := Syscall6(SYS_OPENAT, uintptr(dirfd), 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)
-@@ -1000,6 +1200,28 @@ func Readlink(path string, buf []byte) (n int, err error) {
-
- // 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)
-@@ -1020,6 +1242,26 @@ func Rename(from string, to string) (err error) {
-
- // 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)
-@@ -1061,8 +1303,9 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
-- _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-+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)
- }
-@@ -1186,6 +1429,16 @@ func Setrlimit(which int, lim *Rlimit) (err error) {
-
- // 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)
-+ 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)
-@@ -1267,6 +1520,26 @@ func Symlink(path string, link string) (err error) {
-
- // 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 {
-@@ -1315,6 +1588,21 @@ func Unlink(path string) (err error) {
-
- // 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)
-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 41572c26..d7c878b1 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 @@
--// mksyscall.pl -l32 -openbsd -arm -tags openbsd,arm syscall_bsd.go syscall_openbsd.go syscall_openbsd_arm.go
-+// go run mksyscall.go -l32 -openbsd -arm -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.
-
- // +build openbsd,arm
-@@ -214,22 +214,6 @@ func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, ne
-
- // 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 utimes(path string, timeval *[2]Timeval) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
-@@ -255,9 +239,9 @@ func futimes(fd int, timeval *[2]Timeval) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func fcntl(fd int, cmd int, arg int) (val int, err error) {
-- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-- val = int(r0)
-+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)
- }
-@@ -366,8 +350,8 @@ func Munlockall() (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)
-+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)
- }
-@@ -376,7 +360,7 @@ func pipe(p *[2]_C_int) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func getdents(fd int, buf []byte) (n int, err error) {
-+func Getdents(fd int, buf []byte) (n int, err error) {
- var _p0 unsafe.Pointer
- if len(buf) > 0 {
- _p0 = unsafe.Pointer(&buf[0])
-@@ -393,6 +377,60 @@ func getdents(fd int, buf []byte) (n int, err error) {
-
- // 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 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)
-+ 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)
-@@ -524,6 +562,16 @@ func Dup2(from int, to int) (err error) {
-
- // 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))
-+ 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
-@@ -531,6 +579,21 @@ func Exit(code int) {
-
- // 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 {
-@@ -561,6 +624,21 @@ func Fchmod(fd int, mode uint32) (err error) {
-
- // 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 {
-@@ -571,6 +649,21 @@ func Fchown(fd int, uid int, gid int) (err error) {
-
- // 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 {
-@@ -602,6 +695,21 @@ func Fstat(fd int, stat *Stat_t) (err error) {
-
- // 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 {
-@@ -712,6 +820,17 @@ func Getrlimit(which int, lim *Rlimit) (err error) {
-
- // 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)
-+ rtable = int(r0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Getrusage(who int, rusage *Rusage) (err error) {
- _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
- if e1 != 0 {
-@@ -815,6 +934,26 @@ func Link(path string, link string) (err error) {
-
- // 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 {
-@@ -855,6 +994,21 @@ func Mkdir(path string, mode uint32) (err error) {
-
- // 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)
-@@ -870,6 +1024,21 @@ func Mkfifo(path string, mode uint32) (err error) {
-
- // 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(SYS_MKFIFOAT, 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 Mknod(path string, mode uint32, dev int) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
-@@ -885,6 +1054,21 @@ func Mknod(path string, mode uint32, dev int) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-+func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
-+ 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 {
-@@ -911,6 +1095,22 @@ func Open(path string, mode int, perm uint32) (fd int, err error) {
-
- // 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 := Syscall6(SYS_OPENAT, uintptr(dirfd), 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)
-@@ -1000,6 +1200,28 @@ func Readlink(path string, buf []byte) (n int, err error) {
-
- // 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)
-@@ -1020,6 +1242,26 @@ func Rename(from string, to string) (err error) {
-
- // 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)
-@@ -1061,8 +1303,9 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
-- _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-+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)
- }
-@@ -1186,6 +1429,16 @@ func Setrlimit(which int, lim *Rlimit) (err error) {
-
- // 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)
-+ 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)
-@@ -1267,6 +1520,26 @@ func Symlink(path string, link string) (err error) {
-
- // 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 {
-@@ -1315,6 +1588,21 @@ func Unlink(path string) (err error) {
-
- // 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)
-diff --git a/vendor/golang.org/x/sys/unix/zsyscall_darwin_386.go b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.go
-similarity index 87%
-copy from vendor/golang.org/x/sys/unix/zsyscall_darwin_386.go
-copy to vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.go
-index 10491e9e..8facd695 100644
---- a/vendor/golang.org/x/sys/unix/zsyscall_darwin_386.go
-+++ b/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.go
-@@ -1,7 +1,7 @@
--// mksyscall.pl -l32 -tags darwin,386 syscall_bsd.go syscall_darwin.go syscall_darwin_386.go
-+// go run mksyscall.go -openbsd -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.
-
--// +build darwin,386
-+// +build openbsd,arm64
-
- package unix
-
-@@ -214,22 +214,6 @@ func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, ne
-
- // 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 utimes(path string, timeval *[2]Timeval) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
-@@ -255,9 +239,9 @@ func futimes(fd int, timeval *[2]Timeval) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func fcntl(fd int, cmd int, arg int) (val int, err error) {
-- r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg))
-- val = int(r0)
-+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)
- }
-@@ -366,8 +350,8 @@ func Munlockall() (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
-- _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
-+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)
- }
-@@ -376,10 +360,15 @@ func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func pipe() (r int, w int, err error) {
-- r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
-- r = int(r0)
-- w = int(r1)
-+func Getdents(fd int, buf []byte) (n int, err error) {
-+ var _p0 unsafe.Pointer
-+ if len(buf) > 0 {
-+ _p0 = unsafe.Pointer(&buf[0])
-+ } else {
-+ _p0 = unsafe.Pointer(&_zero)
-+ }
-+ r0, _, e1 := Syscall(SYS_GETDENTS, uintptr(fd), uintptr(_p0), uintptr(len(buf)))
-+ n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -388,8 +377,15 @@ func pipe() (r int, w int, err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func kill(pid int, signum int, posix int) (err error) {
-- _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), uintptr(posix))
-+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)
- }
-@@ -408,6 +404,33 @@ 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 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)
-+ 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)
-@@ -539,18 +562,8 @@ func Dup2(from int, to int) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Exchangedata(path1 string, path2 string, options int) (err error) {
-- var _p0 *byte
-- _p0, err = BytePtrFromString(path1)
-- if err != nil {
-- return
-- }
-- var _p1 *byte
-- _p1, err = BytePtrFromString(path2)
-- if err != nil {
-- return
-- }
-- _, _, e1 := Syscall(SYS_EXCHANGEDATA, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(options))
-+func Dup3(from int, to int, flags int) (err error) {
-+ _, _, e1 := Syscall(SYS_DUP3, uintptr(from), uintptr(to), uintptr(flags))
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -673,7 +686,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_t) (err error) {
-- _, _, e1 := Syscall(SYS_FSTAT64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-+ _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -682,8 +695,13 @@ func Fstat(fd int, stat *Stat_t) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Fstatfs(fd int, stat *Statfs_t) (err error) {
-- _, _, e1 := Syscall(SYS_FSTATFS64, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0)
-+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)
- }
-@@ -692,8 +710,8 @@ func Fstatfs(fd int, stat *Statfs_t) (err error) {
-
- // 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)
-+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)
- }
-@@ -702,8 +720,8 @@ func Fsync(fd int) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Ftruncate(fd int, length int64) (err error) {
-- _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), uintptr(length), uintptr(length>>32))
-+func Fsync(fd int) (err error) {
-+ _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -712,15 +730,8 @@ 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) {
-- var _p0 unsafe.Pointer
-- if len(buf) > 0 {
-- _p0 = unsafe.Pointer(&buf[0])
-- } else {
-- _p0 = unsafe.Pointer(&_zero)
-- }
-- r0, _, e1 := Syscall6(SYS_GETDIRENTRIES64, uintptr(fd), uintptr(_p0), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0)
-- n = int(r0)
-+func Ftruncate(fd int, length int64) (err error) {
-+ _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), 0, uintptr(length))
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -729,14 +740,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 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)
-@@ -817,6 +820,17 @@ func Getrlimit(which int, lim *Rlimit) (err error) {
-
- // 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)
-+ rtable = int(r0)
-+ if e1 != 0 {
-+ err = errnoErr(e1)
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Getrusage(who int, rusage *Rusage) (err error) {
- _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
- if e1 != 0 {
-@@ -838,6 +852,16 @@ func Getsid(pid int) (sid int, err error) {
-
- // 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)
-@@ -847,13 +871,23 @@ func Getuid() (uid int) {
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Issetugid() (tainted bool) {
-- r0, _, _ := RawSyscall(SYS_ISSETUGID, 0, 0, 0)
-+ 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)
-@@ -936,7 +970,7 @@ func Lstat(path string, stat *Stat_t) (err error) {
- if err != nil {
- return
- }
-- _, _, e1 := Syscall(SYS_LSTAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-+ _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -990,6 +1024,21 @@ func Mkfifo(path string, mode uint32) (err error) {
-
- // 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(SYS_MKFIFOAT, 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 Mknod(path string, mode uint32, dev int) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
-@@ -1005,6 +1054,31 @@ func Mknod(path string, mode uint32, dev int) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
-+func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
-+ 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)
-@@ -1060,7 +1134,7 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) {
- } else {
- _p0 = unsafe.Pointer(&_zero)
- }
-- r0, _, e1 := Syscall6(SYS_PREAD, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), uintptr(offset>>32), 0)
-+ r0, _, e1 := Syscall6(SYS_PREAD, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), 0)
- n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1077,7 +1151,7 @@ func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
- } else {
- _p0 = unsafe.Pointer(&_zero)
- }
-- r0, _, e1 := Syscall6(SYS_PWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), uintptr(offset>>32), 0)
-+ r0, _, e1 := Syscall6(SYS_PWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), 0, uintptr(offset), 0)
- n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1219,8 +1293,8 @@ func Rmdir(path string) (err error) {
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
-- r0, r1, e1 := Syscall6(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(offset>>32), uintptr(whence), 0, 0)
-- newoffset = int64(int64(r1)<<32 | int64(r0))
-+ r0, _, e1 := Syscall6(SYS_LSEEK, uintptr(fd), 0, uintptr(offset), uintptr(whence), 0, 0)
-+ newoffset = int64(r0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1229,8 +1303,9 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
-- _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0)
-+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)
- }
-@@ -1240,7 +1315,7 @@ func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) {
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func Setegid(egid int) (err error) {
-- _, _, e1 := Syscall(SYS_SETEGID, uintptr(egid), 0, 0)
-+ _, _, e1 := RawSyscall(SYS_SETEGID, uintptr(egid), 0, 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1304,8 +1379,8 @@ func Setpriority(which int, who int, prio int) (err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func Setprivexec(flag int) (err error) {
-- _, _, e1 := Syscall(SYS_SETPRIVEXEC, uintptr(flag), 0, 0)
-+func Setregid(rgid int, egid int) (err error) {
-+ _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1314,8 +1389,8 @@ func Setprivexec(flag 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)
-+func Setreuid(ruid int, euid int) (err error) {
-+ _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1324,8 +1399,18 @@ func Setregid(rgid int, egid int) (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)
-+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)
- }
-@@ -1344,6 +1429,16 @@ func Setrlimit(which int, lim *Rlimit) (err error) {
-
- // 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)
-+ 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)
-@@ -1381,7 +1476,7 @@ func Stat(path string, stat *Stat_t) (err error) {
- if err != nil {
- return
- }
-- _, _, e1 := Syscall(SYS_STAT64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-+ _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1396,7 +1491,7 @@ func Statfs(path string, stat *Statfs_t) (err error) {
- if err != nil {
- return
- }
-- _, _, e1 := Syscall(SYS_STATFS64, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
-+ _, _, e1 := Syscall(SYS_STATFS, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1461,7 +1556,7 @@ func Truncate(path string, length int64) (err error) {
- if err != nil {
- return
- }
-- _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), uintptr(length), uintptr(length>>32))
-+ _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), 0, uintptr(length))
- if e1 != 0 {
- err = errnoErr(e1)
- }
-@@ -1478,21 +1573,6 @@ func Umask(newmask int) (oldmask int) {
-
- // 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)
-@@ -1556,7 +1636,7 @@ func write(fd int, p []byte) (n int, err error) {
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
- func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) {
-- r0, _, e1 := Syscall9(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), uintptr(pos), uintptr(pos>>32), 0, 0)
-+ r0, _, e1 := Syscall9(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), 0, uintptr(pos), 0, 0)
- ret = uintptr(r0)
- if e1 != 0 {
- err = errnoErr(e1)
-@@ -1598,10 +1678,13 @@ func writelen(fd int, buf *byte, nbuf int) (n int, err error) {
-
- // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
--func gettimeofday(tp *Timeval) (sec int32, usec int32, err error) {
-- r0, r1, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
-- sec = int32(r0)
-- usec = int32(r1)
-+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)
- }
-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 4287133d..a96165d4 100644
---- a/vendor/golang.org/x/sys/unix/zsyscall_solaris_amd64.go
-+++ b/vendor/golang.org/x/sys/unix/zsyscall_solaris_amd64.go
-@@ -1,4 +1,4 @@
--// mksyscall_solaris.pl -tags solaris,amd64 syscall_solaris.go syscall_solaris_amd64.go
-+// go run mksyscall_solaris.go -tags solaris,amd64 syscall_solaris.go syscall_solaris_amd64.go
- // Code generated by the command above; see README.md. DO NOT EDIT.
-
- // +build solaris,amd64
-@@ -25,7 +25,11 @@ import (
- //go:cgo_import_dynamic libc___xnet_recvmsg __xnet_recvmsg "libsocket.so"
- //go:cgo_import_dynamic libc___xnet_sendmsg __xnet_sendmsg "libsocket.so"
- //go:cgo_import_dynamic libc_acct acct "libc.so"
-+//go:cgo_import_dynamic libc___makedev __makedev "libc.so"
-+//go:cgo_import_dynamic libc___major __major "libc.so"
-+//go:cgo_import_dynamic libc___minor __minor "libc.so"
- //go:cgo_import_dynamic libc_ioctl ioctl "libc.so"
-+//go:cgo_import_dynamic libc_poll poll "libc.so"
- //go:cgo_import_dynamic libc_access access "libc.so"
- //go:cgo_import_dynamic libc_adjtime adjtime "libc.so"
- //go:cgo_import_dynamic libc_chdir chdir "libc.so"
-@@ -37,6 +41,7 @@ import (
- //go:cgo_import_dynamic libc_dup dup "libc.so"
- //go:cgo_import_dynamic libc_dup2 dup2 "libc.so"
- //go:cgo_import_dynamic libc_exit exit "libc.so"
-+//go:cgo_import_dynamic libc_faccessat faccessat "libc.so"
- //go:cgo_import_dynamic libc_fchdir fchdir "libc.so"
- //go:cgo_import_dynamic libc_fchmod fchmod "libc.so"
- //go:cgo_import_dynamic libc_fchmodat fchmodat "libc.so"
-@@ -46,6 +51,7 @@ import (
- //go:cgo_import_dynamic libc_flock flock "libc.so"
- //go:cgo_import_dynamic libc_fpathconf fpathconf "libc.so"
- //go:cgo_import_dynamic libc_fstat fstat "libc.so"
-+//go:cgo_import_dynamic libc_fstatat fstatat "libc.so"
- //go:cgo_import_dynamic libc_fstatvfs fstatvfs "libc.so"
- //go:cgo_import_dynamic libc_getdents getdents "libc.so"
- //go:cgo_import_dynamic libc_getgid getgid "libc.so"
-@@ -75,6 +81,7 @@ import (
- //go:cgo_import_dynamic libc_mlock mlock "libc.so"
- //go:cgo_import_dynamic libc_mlockall mlockall "libc.so"
- //go:cgo_import_dynamic libc_mprotect mprotect "libc.so"
-+//go:cgo_import_dynamic libc_msync msync "libc.so"
- //go:cgo_import_dynamic libc_munlock munlock "libc.so"
- //go:cgo_import_dynamic libc_munlockall munlockall "libc.so"
- //go:cgo_import_dynamic libc_nanosleep nanosleep "libc.so"
-@@ -90,6 +97,7 @@ import (
- //go:cgo_import_dynamic libc_renameat renameat "libc.so"
- //go:cgo_import_dynamic libc_rmdir rmdir "libc.so"
- //go:cgo_import_dynamic libc_lseek lseek "libc.so"
-+//go:cgo_import_dynamic libc_select select "libc.so"
- //go:cgo_import_dynamic libc_setegid setegid "libc.so"
- //go:cgo_import_dynamic libc_seteuid seteuid "libc.so"
- //go:cgo_import_dynamic libc_setgid setgid "libc.so"
-@@ -121,6 +129,7 @@ import (
- //go:cgo_import_dynamic libc___xnet_connect __xnet_connect "libsocket.so"
- //go:cgo_import_dynamic libc_mmap mmap "libc.so"
- //go:cgo_import_dynamic libc_munmap munmap "libc.so"
-+//go:cgo_import_dynamic libc_sendfile sendfile "libsendfile.so"
- //go:cgo_import_dynamic libc___xnet_sendto __xnet_sendto "libsocket.so"
- //go:cgo_import_dynamic libc___xnet_socket __xnet_socket "libsocket.so"
- //go:cgo_import_dynamic libc___xnet_socketpair __xnet_socketpair "libsocket.so"
-@@ -129,7 +138,6 @@ 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_sysconf sysconf "libc.so"
-
- //go:linkname procpipe libc_pipe
- //go:linkname procgetsockname libc_getsockname
-@@ -146,7 +154,11 @@ import (
- //go:linkname proc__xnet_recvmsg libc___xnet_recvmsg
- //go:linkname proc__xnet_sendmsg libc___xnet_sendmsg
- //go:linkname procacct libc_acct
-+//go:linkname proc__makedev libc___makedev
-+//go:linkname proc__major libc___major
-+//go:linkname proc__minor libc___minor
- //go:linkname procioctl libc_ioctl
-+//go:linkname procpoll libc_poll
- //go:linkname procAccess libc_access
- //go:linkname procAdjtime libc_adjtime
- //go:linkname procChdir libc_chdir
-@@ -158,6 +170,7 @@ import (
- //go:linkname procDup libc_dup
- //go:linkname procDup2 libc_dup2
- //go:linkname procExit libc_exit
-+//go:linkname procFaccessat libc_faccessat
- //go:linkname procFchdir libc_fchdir
- //go:linkname procFchmod libc_fchmod
- //go:linkname procFchmodat libc_fchmodat
-@@ -167,6 +180,7 @@ import (
- //go:linkname procFlock libc_flock
- //go:linkname procFpathconf libc_fpathconf
- //go:linkname procFstat libc_fstat
-+//go:linkname procFstatat libc_fstatat
- //go:linkname procFstatvfs libc_fstatvfs
- //go:linkname procGetdents libc_getdents
- //go:linkname procGetgid libc_getgid
-@@ -196,6 +210,7 @@ import (
- //go:linkname procMlock libc_mlock
- //go:linkname procMlockall libc_mlockall
- //go:linkname procMprotect libc_mprotect
-+//go:linkname procMsync libc_msync
- //go:linkname procMunlock libc_munlock
- //go:linkname procMunlockall libc_munlockall
- //go:linkname procNanosleep libc_nanosleep
-@@ -211,6 +226,7 @@ import (
- //go:linkname procRenameat libc_renameat
- //go:linkname procRmdir libc_rmdir
- //go:linkname proclseek libc_lseek
-+//go:linkname procSelect libc_select
- //go:linkname procSetegid libc_setegid
- //go:linkname procSeteuid libc_seteuid
- //go:linkname procSetgid libc_setgid
-@@ -242,6 +258,7 @@ import (
- //go:linkname proc__xnet_connect libc___xnet_connect
- //go:linkname procmmap libc_mmap
- //go:linkname procmunmap libc_munmap
-+//go:linkname procsendfile libc_sendfile
- //go:linkname proc__xnet_sendto libc___xnet_sendto
- //go:linkname proc__xnet_socket libc___xnet_socket
- //go:linkname proc__xnet_socketpair libc___xnet_socketpair
-@@ -250,7 +267,6 @@ import (
- //go:linkname procgetpeername libc_getpeername
- //go:linkname procsetsockopt libc_setsockopt
- //go:linkname procrecvfrom libc_recvfrom
--//go:linkname procsysconf libc_sysconf
-
- var (
- procpipe,
-@@ -268,7 +284,11 @@ var (
- proc__xnet_recvmsg,
- proc__xnet_sendmsg,
- procacct,
-+ proc__makedev,
-+ proc__major,
-+ proc__minor,
- procioctl,
-+ procpoll,
- procAccess,
- procAdjtime,
- procChdir,
-@@ -280,6 +300,7 @@ var (
- procDup,
- procDup2,
- procExit,
-+ procFaccessat,
- procFchdir,
- procFchmod,
- procFchmodat,
-@@ -289,6 +310,7 @@ var (
- procFlock,
- procFpathconf,
- procFstat,
-+ procFstatat,
- procFstatvfs,
- procGetdents,
- procGetgid,
-@@ -318,6 +340,7 @@ var (
- procMlock,
- procMlockall,
- procMprotect,
-+ procMsync,
- procMunlock,
- procMunlockall,
- procNanosleep,
-@@ -333,6 +356,7 @@ var (
- procRenameat,
- procRmdir,
- proclseek,
-+ procSelect,
- procSetegid,
- procSeteuid,
- procSetgid,
-@@ -364,6 +388,7 @@ var (
- proc__xnet_connect,
- procmmap,
- procmunmap,
-+ procsendfile,
- proc__xnet_sendto,
- proc__xnet_socket,
- proc__xnet_socketpair,
-@@ -371,10 +396,11 @@ var (
- proc__xnet_getsockopt,
- procgetpeername,
- procsetsockopt,
-- procrecvfrom,
-- procsysconf syscallFunc
-+ procrecvfrom syscallFunc
- )
-
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func pipe(p *[2]_C_int) (n int, err error) {
- r0, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procpipe)), 1, uintptr(unsafe.Pointer(p)), 0, 0, 0, 0, 0)
- n = int(r0)
-@@ -384,6 +410,8 @@ func pipe(p *[2]_C_int) (n int, err error) {
- 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 := sysvicall6(uintptr(unsafe.Pointer(&procgetsockname)), 3, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), 0, 0, 0)
- if e1 != 0 {
-@@ -392,6 +420,8 @@ func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
- return
- }
-
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Getcwd(buf []byte) (n int, err error) {
- var _p0 *byte
- if len(buf) > 0 {
-@@ -405,6 +435,8 @@ func Getcwd(buf []byte) (n int, err error) {
- return
- }
-
-+// 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 := rawSysvicall6(uintptr(unsafe.Pointer(&procgetgroups)), 2, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0, 0, 0, 0)
- n = int(r0)
-@@ -414,6 +446,8 @@ func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
- return
- }
-
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func setgroups(ngid int, gid *_Gid_t) (err error) {
- _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procsetgroups)), 2, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0, 0, 0, 0)
- if e1 != 0 {
-@@ -422,6 +456,8 @@ func setgroups(ngid int, gid *_Gid_t) (err error) {
- return
- }
-
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func wait4(pid int32, statusp *_C_int, options int, rusage *Rusage) (wpid int32, err error) {
- r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procwait4)), 4, uintptr(pid), uintptr(unsafe.Pointer(statusp)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
- wpid = int32(r0)
-@@ -431,6 +467,8 @@ func wait4(pid int32, statusp *_C_int, options int, rusage *Rusage) (wpid int32,
- return
- }
-
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func gethostname(buf []byte) (n int, err error) {
- var _p0 *byte
- if len(buf) > 0 {
-@@ -444,6 +482,8 @@ func gethostname(buf []byte) (n int, err error) {
- return
- }
-
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func utimes(path string, times *[2]Timeval) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
-@@ -457,6 +497,8 @@ func utimes(path string, times *[2]Timeval) (err error) {
- return
- }
-
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func utimensat(fd int, path string, times *[2]Timespec, flag int) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
-@@ -470,6 +512,8 @@ func utimensat(fd int, path string, times *[2]Timespec, flag int) (err error) {
- return
- }
-
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func fcntl(fd int, cmd int, arg int) (val int, err error) {
- r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procfcntl)), 3, uintptr(fd), uintptr(cmd), uintptr(arg), 0, 0, 0)
- val = int(r0)
-@@ -479,6 +523,8 @@ func fcntl(fd int, cmd int, arg int) (val int, err error) {
- return
- }
-
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func futimesat(fildes int, path *byte, times *[2]Timeval) (err error) {
- _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procfutimesat)), 3, uintptr(fildes), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(times)), 0, 0, 0)
- if e1 != 0 {
-@@ -487,6 +533,8 @@ func futimesat(fildes int, path *byte, times *[2]Timeval) (err error) {
- 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 := sysvicall6(uintptr(unsafe.Pointer(&procaccept)), 3, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), 0, 0, 0)
- fd = int(r0)
-@@ -496,6 +544,8 @@ func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
- 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 := sysvicall6(uintptr(unsafe.Pointer(&proc__xnet_recvmsg)), 3, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags), 0, 0, 0)
- n = int(r0)
-@@ -505,6 +555,8 @@ func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
- 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 := sysvicall6(uintptr(unsafe.Pointer(&proc__xnet_sendmsg)), 3, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags), 0, 0, 0)
- n = int(r0)
-@@ -514,6 +566,8 @@ func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
- return
- }
-
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func acct(path *byte) (err error) {
- _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procacct)), 1, uintptr(unsafe.Pointer(path)), 0, 0, 0, 0, 0)
- if e1 != 0 {
-@@ -522,6 +576,32 @@ func acct(path *byte) (err error) {
- return
- }
-
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func __makedev(version int, major uint, minor uint) (val uint64) {
-+ r0, _, _ := sysvicall6(uintptr(unsafe.Pointer(&proc__makedev)), 3, uintptr(version), uintptr(major), uintptr(minor), 0, 0, 0)
-+ val = uint64(r0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func __major(version int, dev uint64) (val uint) {
-+ r0, _, _ := sysvicall6(uintptr(unsafe.Pointer(&proc__major)), 2, uintptr(version), uintptr(dev), 0, 0, 0, 0)
-+ val = uint(r0)
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func __minor(version int, dev uint64) (val uint) {
-+ r0, _, _ := sysvicall6(uintptr(unsafe.Pointer(&proc__minor)), 2, uintptr(version), uintptr(dev), 0, 0, 0, 0)
-+ val = uint(r0)
-+ 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 := sysvicall6(uintptr(unsafe.Pointer(&procioctl)), 3, uintptr(fd), uintptr(req), uintptr(arg), 0, 0, 0)
- if e1 != 0 {
-@@ -530,6 +610,19 @@ func ioctl(fd int, req uint, arg uintptr) (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 := sysvicall6(uintptr(unsafe.Pointer(&procpoll)), 3, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(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 Access(path string, mode uint32) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
-@@ -543,6 +636,8 @@ func Access(path string, mode uint32) (err error) {
- return
- }
-
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Adjtime(delta *Timeval, olddelta *Timeval) (err error) {
- _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procAdjtime)), 2, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0, 0, 0, 0)
- if e1 != 0 {
-@@ -551,6 +646,8 @@ func Adjtime(delta *Timeval, olddelta *Timeval) (err error) {
- 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)
-@@ -564,6 +661,8 @@ func Chdir(path string) (err error) {
- 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)
-@@ -577,6 +676,8 @@ func Chmod(path string, mode uint32) (err error) {
- 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)
-@@ -590,6 +691,8 @@ func Chown(path string, uid int, gid int) (err error) {
- 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)
-@@ -603,6 +706,8 @@ func Chroot(path string) (err error) {
- return
- }
-
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Close(fd int) (err error) {
- _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procClose)), 1, uintptr(fd), 0, 0, 0, 0, 0)
- if e1 != 0 {
-@@ -611,6 +716,8 @@ func Close(fd int) (err error) {
- return
- }
-
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Creat(path string, mode uint32) (fd int, err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
-@@ -625,6 +732,8 @@ func Creat(path string, mode uint32) (fd int, err error) {
- return
- }
-
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Dup(fd int) (nfd int, err error) {
- r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procDup)), 1, uintptr(fd), 0, 0, 0, 0, 0)
- nfd = int(r0)
-@@ -634,6 +743,8 @@ func Dup(fd int) (nfd int, err error) {
- return
- }
-
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Dup2(oldfd int, newfd int) (err error) {
- _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procDup2)), 2, uintptr(oldfd), uintptr(newfd), 0, 0, 0, 0)
- if e1 != 0 {
-@@ -642,11 +753,30 @@ func Dup2(oldfd int, newfd int) (err error) {
- return
- }
-
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Exit(code int) {
- sysvicall6(uintptr(unsafe.Pointer(&procExit)), 1, uintptr(code), 0, 0, 0, 0, 0)
- return
- }
-
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
-+ var _p0 *byte
-+ _p0, err = BytePtrFromString(path)
-+ if err != nil {
-+ return
-+ }
-+ _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFaccessat)), 4, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
-+ if e1 != 0 {
-+ err = e1
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Fchdir(fd int) (err error) {
- _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFchdir)), 1, uintptr(fd), 0, 0, 0, 0, 0)
- if e1 != 0 {
-@@ -655,6 +785,8 @@ func Fchdir(fd int) (err error) {
- return
- }
-
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Fchmod(fd int, mode uint32) (err error) {
- _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFchmod)), 2, uintptr(fd), uintptr(mode), 0, 0, 0, 0)
- if e1 != 0 {
-@@ -663,6 +795,8 @@ func Fchmod(fd int, mode uint32) (err error) {
- 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)
-@@ -676,6 +810,8 @@ func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
- 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 := sysvicall6(uintptr(unsafe.Pointer(&procFchown)), 3, uintptr(fd), uintptr(uid), uintptr(gid), 0, 0, 0)
- if e1 != 0 {
-@@ -684,6 +820,8 @@ func Fchown(fd int, uid int, gid int) (err error) {
- 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)
-@@ -697,6 +835,8 @@ func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
- return
- }
-
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Fdatasync(fd int) (err error) {
- _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFdatasync)), 1, uintptr(fd), 0, 0, 0, 0, 0)
- if e1 != 0 {
-@@ -705,6 +845,8 @@ func Fdatasync(fd int) (err error) {
- return
- }
-
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Flock(fd int, how int) (err error) {
- _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFlock)), 2, uintptr(fd), uintptr(how), 0, 0, 0, 0)
- if e1 != 0 {
-@@ -713,6 +855,8 @@ func Flock(fd int, how int) (err error) {
- 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 := sysvicall6(uintptr(unsafe.Pointer(&procFpathconf)), 2, uintptr(fd), uintptr(name), 0, 0, 0, 0)
- val = int(r0)
-@@ -722,6 +866,8 @@ func Fpathconf(fd int, name int) (val int, err error) {
- return
- }
-
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Fstat(fd int, stat *Stat_t) (err error) {
- _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFstat)), 2, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0, 0, 0, 0)
- if e1 != 0 {
-@@ -730,6 +876,23 @@ func Fstat(fd int, stat *Stat_t) (err error) {
- 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 := sysvicall6(uintptr(unsafe.Pointer(&procFstatat)), 4, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0)
-+ if e1 != 0 {
-+ err = e1
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Fstatvfs(fd int, vfsstat *Statvfs_t) (err error) {
- _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFstatvfs)), 2, uintptr(fd), uintptr(unsafe.Pointer(vfsstat)), 0, 0, 0, 0)
- if e1 != 0 {
-@@ -738,6 +901,8 @@ func Fstatvfs(fd int, vfsstat *Statvfs_t) (err error) {
- return
- }
-
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Getdents(fd int, buf []byte, basep *uintptr) (n int, err error) {
- var _p0 *byte
- if len(buf) > 0 {
-@@ -751,18 +916,24 @@ func Getdents(fd int, buf []byte, basep *uintptr) (n int, err error) {
- return
- }
-
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Getgid() (gid int) {
- r0, _, _ := rawSysvicall6(uintptr(unsafe.Pointer(&procGetgid)), 0, 0, 0, 0, 0, 0, 0)
- gid = int(r0)
- return
- }
-
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Getpid() (pid int) {
- r0, _, _ := rawSysvicall6(uintptr(unsafe.Pointer(&procGetpid)), 0, 0, 0, 0, 0, 0, 0)
- pid = 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 := rawSysvicall6(uintptr(unsafe.Pointer(&procGetpgid)), 1, uintptr(pid), 0, 0, 0, 0, 0)
- pgid = int(r0)
-@@ -772,6 +943,8 @@ func Getpgid(pid int) (pgid int, err error) {
- return
- }
-
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Getpgrp() (pgid int, err error) {
- r0, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procGetpgrp)), 0, 0, 0, 0, 0, 0, 0)
- pgid = int(r0)
-@@ -781,24 +954,32 @@ func Getpgrp() (pgid int, err error) {
- return
- }
-
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Geteuid() (euid int) {
- r0, _, _ := sysvicall6(uintptr(unsafe.Pointer(&procGeteuid)), 0, 0, 0, 0, 0, 0, 0)
- euid = int(r0)
- return
- }
-
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Getegid() (egid int) {
- r0, _, _ := sysvicall6(uintptr(unsafe.Pointer(&procGetegid)), 0, 0, 0, 0, 0, 0, 0)
- egid = int(r0)
- return
- }
-
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Getppid() (ppid int) {
- r0, _, _ := sysvicall6(uintptr(unsafe.Pointer(&procGetppid)), 0, 0, 0, 0, 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) (n int, err error) {
- r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procGetpriority)), 2, uintptr(which), uintptr(who), 0, 0, 0, 0)
- n = int(r0)
-@@ -808,6 +989,8 @@ func Getpriority(which int, who int) (n int, err error) {
- return
- }
-
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Getrlimit(which int, lim *Rlimit) (err error) {
- _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procGetrlimit)), 2, uintptr(which), uintptr(unsafe.Pointer(lim)), 0, 0, 0, 0)
- if e1 != 0 {
-@@ -816,6 +999,8 @@ func Getrlimit(which int, lim *Rlimit) (err error) {
- return
- }
-
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Getrusage(who int, rusage *Rusage) (err error) {
- _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procGetrusage)), 2, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0, 0, 0, 0)
- if e1 != 0 {
-@@ -824,6 +1009,8 @@ func Getrusage(who int, rusage *Rusage) (err error) {
- 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 {
-@@ -832,12 +1019,16 @@ func Gettimeofday(tv *Timeval) (err error) {
- return
- }
-
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Getuid() (uid int) {
- r0, _, _ := rawSysvicall6(uintptr(unsafe.Pointer(&procGetuid)), 0, 0, 0, 0, 0, 0, 0)
- uid = int(r0)
- return
- }
-
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Kill(pid int, signum syscall.Signal) (err error) {
- _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procKill)), 2, uintptr(pid), uintptr(signum), 0, 0, 0, 0)
- if e1 != 0 {
-@@ -846,6 +1037,8 @@ func Kill(pid int, signum syscall.Signal) (err error) {
- 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)
-@@ -859,6 +1052,8 @@ func Lchown(path string, uid int, gid int) (err error) {
- 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)
-@@ -877,6 +1072,8 @@ func Link(path string, link string) (err error) {
- return
- }
-
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Listen(s int, backlog int) (err error) {
- _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&proc__xnet_llisten)), 2, uintptr(s), uintptr(backlog), 0, 0, 0, 0)
- if e1 != 0 {
-@@ -885,6 +1082,8 @@ func Listen(s int, backlog int) (err error) {
- return
- }
-
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Lstat(path string, stat *Stat_t) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
-@@ -898,6 +1097,8 @@ func Lstat(path string, stat *Stat_t) (err error) {
- return
- }
-
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Madvise(b []byte, advice int) (err error) {
- var _p0 *byte
- if len(b) > 0 {
-@@ -910,6 +1111,8 @@ func Madvise(b []byte, advice int) (err error) {
- 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)
-@@ -923,6 +1126,8 @@ func Mkdir(path string, mode uint32) (err error) {
- 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)
-@@ -936,6 +1141,8 @@ func Mkdirat(dirfd int, path string, mode uint32) (err error) {
- 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)
-@@ -949,6 +1156,8 @@ func Mkfifo(path string, mode uint32) (err error) {
- return
- }
-
-+// 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)
-@@ -962,6 +1171,8 @@ func Mkfifoat(dirfd int, path string, mode uint32) (err error) {
- return
- }
-
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Mknod(path string, mode uint32, dev int) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
-@@ -975,6 +1186,8 @@ func Mknod(path string, mode uint32, dev int) (err error) {
- return
- }
-
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
-@@ -988,6 +1201,8 @@ func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
- return
- }
-
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Mlock(b []byte) (err error) {
- var _p0 *byte
- if len(b) > 0 {
-@@ -1000,6 +1215,8 @@ func Mlock(b []byte) (err error) {
- return
- }
-
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Mlockall(flags int) (err error) {
- _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMlockall)), 1, uintptr(flags), 0, 0, 0, 0, 0)
- if e1 != 0 {
-@@ -1008,6 +1225,8 @@ func Mlockall(flags int) (err error) {
- return
- }
-
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Mprotect(b []byte, prot int) (err error) {
- var _p0 *byte
- if len(b) > 0 {
-@@ -1020,6 +1239,22 @@ func Mprotect(b []byte, prot int) (err error) {
- return
- }
-
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
-+func Msync(b []byte, flags int) (err error) {
-+ var _p0 *byte
-+ if len(b) > 0 {
-+ _p0 = &b[0]
-+ }
-+ _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMsync)), 3, uintptr(unsafe.Pointer(_p0)), uintptr(len(b)), uintptr(flags), 0, 0, 0)
-+ if e1 != 0 {
-+ err = e1
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Munlock(b []byte) (err error) {
- var _p0 *byte
- if len(b) > 0 {
-@@ -1032,6 +1267,8 @@ func Munlock(b []byte) (err error) {
- return
- }
-
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Munlockall() (err error) {
- _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMunlockall)), 0, 0, 0, 0, 0, 0, 0)
- if e1 != 0 {
-@@ -1040,6 +1277,8 @@ func Munlockall() (err error) {
- return
- }
-
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
- _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procNanosleep)), 2, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0, 0, 0, 0)
- if e1 != 0 {
-@@ -1048,6 +1287,8 @@ func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
- 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)
-@@ -1062,6 +1303,8 @@ func Open(path string, mode int, perm uint32) (fd int, err error) {
- return
- }
-
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
-@@ -1076,6 +1319,8 @@ func Openat(dirfd int, path string, flags int, mode uint32) (fd int, err error)
- 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)
-@@ -1090,6 +1335,8 @@ func Pathconf(path string, name int) (val int, err error) {
- return
- }
-
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Pause() (err error) {
- _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procPause)), 0, 0, 0, 0, 0, 0, 0)
- if e1 != 0 {
-@@ -1098,6 +1345,8 @@ func Pause() (err error) {
- 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 *byte
- if len(p) > 0 {
-@@ -1111,6 +1360,8 @@ func Pread(fd int, p []byte, offset int64) (n int, err error) {
- 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 *byte
- if len(p) > 0 {
-@@ -1124,6 +1375,8 @@ func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
- 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 *byte
- if len(p) > 0 {
-@@ -1137,6 +1390,8 @@ func read(fd int, p []byte) (n int, err error) {
- 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)
-@@ -1155,6 +1410,8 @@ func Readlink(path string, buf []byte) (n int, err error) {
- 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)
-@@ -1173,6 +1430,8 @@ func Rename(from string, to string) (err error) {
- return
- }
-
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(oldpath)
-@@ -1191,6 +1450,8 @@ func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err e
- 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)
-@@ -1204,6 +1465,8 @@ func Rmdir(path string) (err error) {
- 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 := sysvicall6(uintptr(unsafe.Pointer(&proclseek)), 3, uintptr(fd), uintptr(offset), uintptr(whence), 0, 0, 0)
- newoffset = int64(r0)
-@@ -1213,6 +1476,19 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
- 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 := sysvicall6(uintptr(unsafe.Pointer(&procSelect)), 5, 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 = e1
-+ }
-+ return
-+}
-+
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Setegid(egid int) (err error) {
- _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procSetegid)), 1, uintptr(egid), 0, 0, 0, 0, 0)
- if e1 != 0 {
-@@ -1221,6 +1497,8 @@ func Setegid(egid int) (err error) {
- return
- }
-
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Seteuid(euid int) (err error) {
- _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procSeteuid)), 1, uintptr(euid), 0, 0, 0, 0, 0)
- if e1 != 0 {
-@@ -1229,6 +1507,8 @@ func Seteuid(euid int) (err error) {
- return
- }
-
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Setgid(gid int) (err error) {
- _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procSetgid)), 1, uintptr(gid), 0, 0, 0, 0, 0)
- if e1 != 0 {
-@@ -1237,6 +1517,8 @@ func Setgid(gid int) (err error) {
- return
- }
-
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Sethostname(p []byte) (err error) {
- var _p0 *byte
- if len(p) > 0 {
-@@ -1249,6 +1531,8 @@ func Sethostname(p []byte) (err error) {
- return
- }
-
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Setpgid(pid int, pgid int) (err error) {
- _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procSetpgid)), 2, uintptr(pid), uintptr(pgid), 0, 0, 0, 0)
- if e1 != 0 {
-@@ -1257,6 +1541,8 @@ func Setpgid(pid int, pgid int) (err error) {
- 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 := sysvicall6(uintptr(unsafe.Pointer(&procSetpriority)), 3, uintptr(which), uintptr(who), uintptr(prio), 0, 0, 0)
- if e1 != 0 {
-@@ -1265,6 +1551,8 @@ func Setpriority(which int, who int, prio int) (err error) {
- return
- }
-
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Setregid(rgid int, egid int) (err error) {
- _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procSetregid)), 2, uintptr(rgid), uintptr(egid), 0, 0, 0, 0)
- if e1 != 0 {
-@@ -1273,6 +1561,8 @@ func Setregid(rgid int, egid int) (err error) {
- return
- }
-
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Setreuid(ruid int, euid int) (err error) {
- _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procSetreuid)), 2, uintptr(ruid), uintptr(euid), 0, 0, 0, 0)
- if e1 != 0 {
-@@ -1281,6 +1571,8 @@ func Setreuid(ruid int, euid int) (err error) {
- return
- }
-
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Setrlimit(which int, lim *Rlimit) (err error) {
- _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procSetrlimit)), 2, uintptr(which), uintptr(unsafe.Pointer(lim)), 0, 0, 0, 0)
- if e1 != 0 {
-@@ -1289,6 +1581,8 @@ func Setrlimit(which int, lim *Rlimit) (err error) {
- return
- }
-
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Setsid() (pid int, err error) {
- r0, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procSetsid)), 0, 0, 0, 0, 0, 0, 0)
- pid = int(r0)
-@@ -1298,6 +1592,8 @@ func Setsid() (pid int, err error) {
- return
- }
-
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Setuid(uid int) (err error) {
- _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procSetuid)), 1, uintptr(uid), 0, 0, 0, 0, 0)
- if e1 != 0 {
-@@ -1306,6 +1602,8 @@ func Setuid(uid int) (err error) {
- return
- }
-
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Shutdown(s int, how int) (err error) {
- _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procshutdown)), 2, uintptr(s), uintptr(how), 0, 0, 0, 0)
- if e1 != 0 {
-@@ -1314,6 +1612,8 @@ func Shutdown(s int, how int) (err error) {
- return
- }
-
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Stat(path string, stat *Stat_t) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
-@@ -1327,6 +1627,8 @@ func Stat(path string, stat *Stat_t) (err error) {
- return
- }
-
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Statvfs(path string, vfsstat *Statvfs_t) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
-@@ -1340,6 +1642,8 @@ func Statvfs(path string, vfsstat *Statvfs_t) (err error) {
- 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)
-@@ -1358,6 +1662,8 @@ func Symlink(path string, link string) (err error) {
- return
- }
-
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Sync() (err error) {
- _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procSync)), 0, 0, 0, 0, 0, 0, 0)
- if e1 != 0 {
-@@ -1366,6 +1672,8 @@ func Sync() (err error) {
- return
- }
-
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Times(tms *Tms) (ticks uintptr, err error) {
- r0, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procTimes)), 1, uintptr(unsafe.Pointer(tms)), 0, 0, 0, 0, 0)
- ticks = uintptr(r0)
-@@ -1375,6 +1683,8 @@ func Times(tms *Tms) (ticks uintptr, err error) {
- 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)
-@@ -1388,6 +1698,8 @@ func Truncate(path string, length int64) (err error) {
- return
- }
-
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Fsync(fd int) (err error) {
- _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFsync)), 1, uintptr(fd), 0, 0, 0, 0, 0)
- if e1 != 0 {
-@@ -1396,6 +1708,8 @@ func Fsync(fd int) (err error) {
- return
- }
-
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Ftruncate(fd int, length int64) (err error) {
- _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFtruncate)), 2, uintptr(fd), uintptr(length), 0, 0, 0, 0)
- if e1 != 0 {
-@@ -1404,12 +1718,16 @@ func Ftruncate(fd int, length int64) (err error) {
- return
- }
-
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Umask(mask int) (oldmask int) {
- r0, _, _ := sysvicall6(uintptr(unsafe.Pointer(&procUmask)), 1, uintptr(mask), 0, 0, 0, 0, 0)
- oldmask = int(r0)
- return
- }
-
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Uname(buf *Utsname) (err error) {
- _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procUname)), 1, uintptr(unsafe.Pointer(buf)), 0, 0, 0, 0, 0)
- if e1 != 0 {
-@@ -1418,6 +1736,8 @@ func Uname(buf *Utsname) (err error) {
- return
- }
-
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Unmount(target string, flags int) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(target)
-@@ -1431,6 +1751,8 @@ func Unmount(target string, flags int) (err error) {
- 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)
-@@ -1444,6 +1766,8 @@ func Unlink(path string) (err error) {
- 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)
-@@ -1457,6 +1781,8 @@ func Unlinkat(dirfd int, path string, flags int) (err error) {
- return
- }
-
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Ustat(dev int, ubuf *Ustat_t) (err error) {
- _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procUstat)), 2, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0, 0, 0, 0)
- if e1 != 0 {
-@@ -1465,6 +1791,8 @@ func Ustat(dev int, ubuf *Ustat_t) (err error) {
- return
- }
-
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func Utime(path string, buf *Utimbuf) (err error) {
- var _p0 *byte
- _p0, err = BytePtrFromString(path)
-@@ -1478,6 +1806,8 @@ func Utime(path string, buf *Utimbuf) (err error) {
- 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 := sysvicall6(uintptr(unsafe.Pointer(&proc__xnet_bind)), 3, uintptr(s), uintptr(addr), uintptr(addrlen), 0, 0, 0)
- if e1 != 0 {
-@@ -1486,6 +1816,8 @@ func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
- 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 := sysvicall6(uintptr(unsafe.Pointer(&proc__xnet_connect)), 3, uintptr(s), uintptr(addr), uintptr(addrlen), 0, 0, 0)
- if e1 != 0 {
-@@ -1494,6 +1826,8 @@ func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
- 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 := sysvicall6(uintptr(unsafe.Pointer(&procmmap)), 6, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), uintptr(pos))
- ret = uintptr(r0)
-@@ -1503,6 +1837,8 @@ func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (
- return
- }
-
-+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-+
- func munmap(addr uintptr, length uintptr) (err error) {
- _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procmunmap)), 2, uintptr(addr), uintptr(length), 0, 0, 0, 0)
- if e1 != 0 {
-@@ -1511,6 +1847,19 @@ func munmap(addr uintptr, length uintptr) (err error) {
- 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 := sysvicall6(uintptr(unsafe.Pointer(&procsendfile)), 4, uintptr(outfd), uintptr(infd), uintptr(unsafe.Pointer(offset)), uintptr(count), 0, 0)
-+ written = int(r0)
-+ if e1 != 0 {
-+ err = 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 *byte
- if len(buf) > 0 {
-@@ -1523,6 +1872,8 @@ func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (
- 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 := sysvicall6(uintptr(unsafe.Pointer(&proc__xnet_socket)), 3, uintptr(domain), uintptr(typ), uintptr(proto), 0, 0, 0)
- fd = int(r0)
-@@ -1532,6 +1883,8 @@ func socket(domain int, typ int, proto int) (fd int, err error) {
- 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 := rawSysvicall6(uintptr(unsafe.Pointer(&proc__xnet_socketpair)), 4, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
- if e1 != 0 {
-@@ -1540,6 +1893,8 @@ func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
- 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 *byte
- if len(p) > 0 {
-@@ -1553,6 +1908,8 @@ func write(fd int, p []byte) (n int, err error) {
- 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 := sysvicall6(uintptr(unsafe.Pointer(&proc__xnet_getsockopt)), 5, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
- if e1 != 0 {
-@@ -1561,6 +1918,8 @@ func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen
- 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 := rawSysvicall6(uintptr(unsafe.Pointer(&procgetpeername)), 3, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), 0, 0, 0)
- if e1 != 0 {
-@@ -1569,6 +1928,8 @@ func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
- 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 := sysvicall6(uintptr(unsafe.Pointer(&procsetsockopt)), 5, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
- if e1 != 0 {
-@@ -1577,6 +1938,8 @@ func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr)
- 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 *byte
- if len(p) > 0 {
-@@ -1589,12 +1952,3 @@ func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Sockl
- }
- return
- }
--
--func sysconf(name int) (n int64, err error) {
-- r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procsysconf)), 1, uintptr(name), 0, 0, 0, 0, 0)
-- n = int64(r0)
-- if e1 != 0 {
-- err = e1
-- }
-- return
--}
-diff --git a/vendor/golang.org/x/sys/unix/zsysctl_openbsd.go b/vendor/golang.org/x/sys/unix/zsysctl_openbsd_386.go
-similarity index 99%
-copy from vendor/golang.org/x/sys/unix/zsysctl_openbsd.go
-copy to vendor/golang.org/x/sys/unix/zsysctl_openbsd_386.go
-index 83bb935b..37dcc74c 100644
---- a/vendor/golang.org/x/sys/unix/zsysctl_openbsd.go
-+++ b/vendor/golang.org/x/sys/unix/zsysctl_openbsd_386.go
-@@ -1,5 +1,7 @@
- // mksysctl_openbsd.pl
--// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
-+// Code generated by the command above; DO NOT EDIT.
-+
-+// +build 386,openbsd
-
- package unix
-
-diff --git a/vendor/golang.org/x/sys/unix/zsysctl_openbsd.go b/vendor/golang.org/x/sys/unix/zsysctl_openbsd_amd64.go
-similarity index 91%
-copy from vendor/golang.org/x/sys/unix/zsysctl_openbsd.go
-copy to vendor/golang.org/x/sys/unix/zsysctl_openbsd_amd64.go
-index 83bb935b..fe6caa6e 100644
---- a/vendor/golang.org/x/sys/unix/zsysctl_openbsd.go
-+++ b/vendor/golang.org/x/sys/unix/zsysctl_openbsd_amd64.go
-@@ -1,5 +1,7 @@
--// mksysctl_openbsd.pl
--// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
-+// go run mksysctl_openbsd.go
-+// Code generated by the command above; DO NOT EDIT.
-+
-+// +build amd64,openbsd
-
- package unix
-
-@@ -14,6 +16,7 @@ var sysctlMib = []mibentry{
- {"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}},
-@@ -29,6 +32,7 @@ var sysctlMib = []mibentry{
- {"hw.ncpu", []_C_int{6, 3}},
- {"hw.ncpufound", []_C_int{6, 21}},
- {"hw.pagesize", []_C_int{6, 7}},
-+ {"hw.perfpolicy", []_C_int{6, 23}},
- {"hw.physmem", []_C_int{6, 19}},
- {"hw.product", []_C_int{6, 15}},
- {"hw.serialno", []_C_int{6, 17}},
-@@ -37,7 +41,7 @@ var sysctlMib = []mibentry{
- {"hw.uuid", []_C_int{6, 18}},
- {"hw.vendor", []_C_int{6, 14}},
- {"hw.version", []_C_int{6, 16}},
-- {"kern.arandom", []_C_int{1, 37}},
-+ {"kern.allowkmem", []_C_int{1, 52}},
- {"kern.argmax", []_C_int{1, 8}},
- {"kern.boottime", []_C_int{1, 21}},
- {"kern.bufcachepercent", []_C_int{1, 72}},
-@@ -46,12 +50,13 @@ var sysctlMib = []mibentry{
- {"kern.consdev", []_C_int{1, 75}},
- {"kern.cp_time", []_C_int{1, 40}},
- {"kern.cp_time2", []_C_int{1, 71}},
-- {"kern.cryptodevallowsoft", []_C_int{1, 53}},
-+ {"kern.dnsjackport", []_C_int{1, 13}},
- {"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}},
-@@ -84,7 +89,6 @@ var sysctlMib = []mibentry{
- {"kern.pool_debug", []_C_int{1, 77}},
- {"kern.posix1version", []_C_int{1, 17}},
- {"kern.proc", []_C_int{1, 66}},
-- {"kern.random", []_C_int{1, 31}},
- {"kern.rawpartition", []_C_int{1, 24}},
- {"kern.saved_ids", []_C_int{1, 20}},
- {"kern.securelevel", []_C_int{1, 9}},
-@@ -102,21 +106,16 @@ var sysctlMib = []mibentry{
- {"kern.timecounter.hardware", []_C_int{1, 69, 3}},
- {"kern.timecounter.tick", []_C_int{1, 69, 1}},
- {"kern.timecounter.timestepwarnings", []_C_int{1, 69, 2}},
-- {"kern.tty.maxptys", []_C_int{1, 44, 6}},
-- {"kern.tty.nptys", []_C_int{1, 44, 7}},
- {"kern.tty.tk_cancc", []_C_int{1, 44, 4}},
- {"kern.tty.tk_nin", []_C_int{1, 44, 1}},
- {"kern.tty.tk_nout", []_C_int{1, 44, 2}},
- {"kern.tty.tk_rawcc", []_C_int{1, 44, 3}},
- {"kern.tty.ttyinfo", []_C_int{1, 44, 5}},
- {"kern.ttycount", []_C_int{1, 57}},
-- {"kern.userasymcrypto", []_C_int{1, 60}},
-- {"kern.usercrypto", []_C_int{1, 52}},
-- {"kern.usermount", []_C_int{1, 30}},
- {"kern.version", []_C_int{1, 4}},
-- {"kern.vnode", []_C_int{1, 13}},
- {"kern.watchdog.auto", []_C_int{1, 64, 2}},
- {"kern.watchdog.period", []_C_int{1, 64, 1}},
-+ {"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}},
-@@ -144,7 +143,9 @@ var sysctlMib = []mibentry{
- {"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}},
-@@ -153,8 +154,10 @@ var sysctlMib = []mibentry{
- {"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}},
-@@ -173,7 +176,6 @@ var sysctlMib = []mibentry{
- {"net.inet.ipip.stats", []_C_int{4, 2, 4, 2}},
- {"net.inet.mobileip.allow", []_C_int{4, 2, 55, 1}},
- {"net.inet.pfsync.stats", []_C_int{4, 2, 240, 1}},
-- {"net.inet.pim.stats", []_C_int{4, 2, 103, 1}},
- {"net.inet.tcp.ackonpush", []_C_int{4, 2, 6, 13}},
- {"net.inet.tcp.always_keepalive", []_C_int{4, 2, 6, 22}},
- {"net.inet.tcp.baddynamic", []_C_int{4, 2, 6, 6}},
-@@ -187,6 +189,7 @@ var sysctlMib = []mibentry{
- {"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}},
-@@ -194,9 +197,12 @@ var sysctlMib = []mibentry{
- {"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}},
-@@ -209,13 +215,8 @@ var sysctlMib = []mibentry{
- {"net.inet6.icmp6.nd6_delay", []_C_int{4, 24, 30, 8}},
- {"net.inet6.icmp6.nd6_maxnudhint", []_C_int{4, 24, 30, 15}},
- {"net.inet6.icmp6.nd6_mmaxtries", []_C_int{4, 24, 30, 10}},
-- {"net.inet6.icmp6.nd6_prune", []_C_int{4, 24, 30, 6}},
- {"net.inet6.icmp6.nd6_umaxtries", []_C_int{4, 24, 30, 9}},
-- {"net.inet6.icmp6.nd6_useloopback", []_C_int{4, 24, 30, 11}},
-- {"net.inet6.icmp6.nodeinfo", []_C_int{4, 24, 30, 13}},
-- {"net.inet6.icmp6.rediraccept", []_C_int{4, 24, 30, 2}},
- {"net.inet6.icmp6.redirtimeout", []_C_int{4, 24, 30, 3}},
-- {"net.inet6.ip6.accept_rtadv", []_C_int{4, 24, 17, 12}},
- {"net.inet6.ip6.auto_flowlabel", []_C_int{4, 24, 17, 17}},
- {"net.inet6.ip6.dad_count", []_C_int{4, 24, 17, 16}},
- {"net.inet6.ip6.dad_pending", []_C_int{4, 24, 17, 49}},
-@@ -228,20 +229,19 @@ var sysctlMib = []mibentry{
- {"net.inet6.ip6.maxdynroutes", []_C_int{4, 24, 17, 48}},
- {"net.inet6.ip6.maxfragpackets", []_C_int{4, 24, 17, 9}},
- {"net.inet6.ip6.maxfrags", []_C_int{4, 24, 17, 41}},
-- {"net.inet6.ip6.maxifdefrouters", []_C_int{4, 24, 17, 47}},
-- {"net.inet6.ip6.maxifprefixes", []_C_int{4, 24, 17, 46}},
- {"net.inet6.ip6.mforwarding", []_C_int{4, 24, 17, 42}},
-+ {"net.inet6.ip6.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.rr_prune", []_C_int{4, 24, 17, 22}},
-+ {"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.inet6.ip6.v6only", []_C_int{4, 24, 17, 24}},
- {"net.key.sadb_dump", []_C_int{4, 30, 1}},
- {"net.key.spd_dump", []_C_int{4, 30, 2}},
- {"net.mpls.ifq.congestion", []_C_int{4, 33, 3, 4}},
-diff --git a/vendor/golang.org/x/sys/unix/zsysctl_openbsd.go b/vendor/golang.org/x/sys/unix/zsysctl_openbsd_arm.go
-similarity index 99%
-copy from vendor/golang.org/x/sys/unix/zsysctl_openbsd.go
-copy to vendor/golang.org/x/sys/unix/zsysctl_openbsd_arm.go
-index 83bb935b..6eb8c0b0 100644
---- a/vendor/golang.org/x/sys/unix/zsysctl_openbsd.go
-+++ b/vendor/golang.org/x/sys/unix/zsysctl_openbsd_arm.go
-@@ -1,5 +1,7 @@
--// mksysctl_openbsd.pl
--// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
-+// go run mksysctl_openbsd.go
-+// Code generated by the command above; DO NOT EDIT.
-+
-+// +build arm,openbsd
-
- package unix
-
-diff --git a/vendor/golang.org/x/sys/unix/zsysctl_openbsd.go b/vendor/golang.org/x/sys/unix/zsysctl_openbsd_arm64.go
-similarity index 91%
-rename from vendor/golang.org/x/sys/unix/zsysctl_openbsd.go
-rename to vendor/golang.org/x/sys/unix/zsysctl_openbsd_arm64.go
-index 83bb935b..ba4304fd 100644
---- a/vendor/golang.org/x/sys/unix/zsysctl_openbsd.go
-+++ b/vendor/golang.org/x/sys/unix/zsysctl_openbsd_arm64.go
-@@ -1,5 +1,7 @@
--// mksysctl_openbsd.pl
--// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
-+// go run mksysctl_openbsd.go
-+// Code generated by the command above; DO NOT EDIT.
-+
-+// +build arm64,openbsd
-
- package unix
-
-@@ -14,6 +16,7 @@ var sysctlMib = []mibentry{
- {"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}},
-@@ -28,17 +31,21 @@ var sysctlMib = []mibentry{
- {"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.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.arandom", []_C_int{1, 37}},
-+ {"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}},
-@@ -46,12 +53,13 @@ var sysctlMib = []mibentry{
- {"kern.consdev", []_C_int{1, 75}},
- {"kern.cp_time", []_C_int{1, 40}},
- {"kern.cp_time2", []_C_int{1, 71}},
-- {"kern.cryptodevallowsoft", []_C_int{1, 53}},
-+ {"kern.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}},
-@@ -84,7 +92,6 @@ var sysctlMib = []mibentry{
- {"kern.pool_debug", []_C_int{1, 77}},
- {"kern.posix1version", []_C_int{1, 17}},
- {"kern.proc", []_C_int{1, 66}},
-- {"kern.random", []_C_int{1, 31}},
- {"kern.rawpartition", []_C_int{1, 24}},
- {"kern.saved_ids", []_C_int{1, 20}},
- {"kern.securelevel", []_C_int{1, 9}},
-@@ -102,21 +109,17 @@ var sysctlMib = []mibentry{
- {"kern.timecounter.hardware", []_C_int{1, 69, 3}},
- {"kern.timecounter.tick", []_C_int{1, 69, 1}},
- {"kern.timecounter.timestepwarnings", []_C_int{1, 69, 2}},
-- {"kern.tty.maxptys", []_C_int{1, 44, 6}},
-- {"kern.tty.nptys", []_C_int{1, 44, 7}},
- {"kern.tty.tk_cancc", []_C_int{1, 44, 4}},
- {"kern.tty.tk_nin", []_C_int{1, 44, 1}},
- {"kern.tty.tk_nout", []_C_int{1, 44, 2}},
- {"kern.tty.tk_rawcc", []_C_int{1, 44, 3}},
- {"kern.tty.ttyinfo", []_C_int{1, 44, 5}},
- {"kern.ttycount", []_C_int{1, 57}},
-- {"kern.userasymcrypto", []_C_int{1, 60}},
-- {"kern.usercrypto", []_C_int{1, 52}},
-- {"kern.usermount", []_C_int{1, 30}},
- {"kern.version", []_C_int{1, 4}},
-- {"kern.vnode", []_C_int{1, 13}},
- {"kern.watchdog.auto", []_C_int{1, 64, 2}},
- {"kern.watchdog.period", []_C_int{1, 64, 1}},
-+ {"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}},
-@@ -144,7 +147,9 @@ var sysctlMib = []mibentry{
- {"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}},
-@@ -153,8 +158,10 @@ var sysctlMib = []mibentry{
- {"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}},
-@@ -173,7 +180,6 @@ var sysctlMib = []mibentry{
- {"net.inet.ipip.stats", []_C_int{4, 2, 4, 2}},
- {"net.inet.mobileip.allow", []_C_int{4, 2, 55, 1}},
- {"net.inet.pfsync.stats", []_C_int{4, 2, 240, 1}},
-- {"net.inet.pim.stats", []_C_int{4, 2, 103, 1}},
- {"net.inet.tcp.ackonpush", []_C_int{4, 2, 6, 13}},
- {"net.inet.tcp.always_keepalive", []_C_int{4, 2, 6, 22}},
- {"net.inet.tcp.baddynamic", []_C_int{4, 2, 6, 6}},
-@@ -187,6 +193,7 @@ var sysctlMib = []mibentry{
- {"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}},
-@@ -194,9 +201,12 @@ var sysctlMib = []mibentry{
- {"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}},
-@@ -209,13 +219,8 @@ var sysctlMib = []mibentry{
- {"net.inet6.icmp6.nd6_delay", []_C_int{4, 24, 30, 8}},
- {"net.inet6.icmp6.nd6_maxnudhint", []_C_int{4, 24, 30, 15}},
- {"net.inet6.icmp6.nd6_mmaxtries", []_C_int{4, 24, 30, 10}},
-- {"net.inet6.icmp6.nd6_prune", []_C_int{4, 24, 30, 6}},
- {"net.inet6.icmp6.nd6_umaxtries", []_C_int{4, 24, 30, 9}},
-- {"net.inet6.icmp6.nd6_useloopback", []_C_int{4, 24, 30, 11}},
-- {"net.inet6.icmp6.nodeinfo", []_C_int{4, 24, 30, 13}},
-- {"net.inet6.icmp6.rediraccept", []_C_int{4, 24, 30, 2}},
- {"net.inet6.icmp6.redirtimeout", []_C_int{4, 24, 30, 3}},
-- {"net.inet6.ip6.accept_rtadv", []_C_int{4, 24, 17, 12}},
- {"net.inet6.ip6.auto_flowlabel", []_C_int{4, 24, 17, 17}},
- {"net.inet6.ip6.dad_count", []_C_int{4, 24, 17, 16}},
- {"net.inet6.ip6.dad_pending", []_C_int{4, 24, 17, 49}},
-@@ -228,20 +233,19 @@ var sysctlMib = []mibentry{
- {"net.inet6.ip6.maxdynroutes", []_C_int{4, 24, 17, 48}},
- {"net.inet6.ip6.maxfragpackets", []_C_int{4, 24, 17, 9}},
- {"net.inet6.ip6.maxfrags", []_C_int{4, 24, 17, 41}},
-- {"net.inet6.ip6.maxifdefrouters", []_C_int{4, 24, 17, 47}},
-- {"net.inet6.ip6.maxifprefixes", []_C_int{4, 24, 17, 46}},
- {"net.inet6.ip6.mforwarding", []_C_int{4, 24, 17, 42}},
-+ {"net.inet6.ip6.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.rr_prune", []_C_int{4, 24, 17, 22}},
-+ {"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.inet6.ip6.v6only", []_C_int{4, 24, 17, 24}},
- {"net.key.sadb_dump", []_C_int{4, 30, 1}},
- {"net.key.spd_dump", []_C_int{4, 30, 2}},
- {"net.mpls.ifq.congestion", []_C_int{4, 33, 3, 4}},
-@@ -256,6 +260,7 @@ var sysctlMib = []mibentry{
- {"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}},
-diff --git a/vendor/golang.org/x/sys/unix/zsysnum_darwin_386.go b/vendor/golang.org/x/sys/unix/zsysnum_darwin_386.go
-index 2786773b..f3361453 100644
---- a/vendor/golang.org/x/sys/unix/zsysnum_darwin_386.go
-+++ b/vendor/golang.org/x/sys/unix/zsysnum_darwin_386.go
-@@ -1,5 +1,5 @@
--// mksysnum_darwin.pl /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/sys/syscall.h
--// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
-+// go run mksysnum.go /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/sys/syscall.h
-+// Code generated by the command above; see README.md. DO NOT EDIT.
-
- // +build 386,darwin
-
-@@ -121,13 +121,15 @@ const (
- SYS_CSOPS = 169
- SYS_CSOPS_AUDITTOKEN = 170
- SYS_WAITID = 173
-+ SYS_KDEBUG_TYPEFILTER = 177
-+ SYS_KDEBUG_TRACE_STRING = 178
- SYS_KDEBUG_TRACE64 = 179
- SYS_KDEBUG_TRACE = 180
- SYS_SETGID = 181
- SYS_SETEGID = 182
- SYS_SETEUID = 183
- SYS_SIGRETURN = 184
-- SYS_CHUD = 185
-+ SYS_THREAD_SELFCOUNTS = 186
- SYS_FDATASYNC = 187
- SYS_STAT = 188
- SYS_FSTAT = 189
-@@ -278,7 +280,6 @@ const (
- SYS_KQUEUE = 362
- SYS_KEVENT = 363
- SYS_LCHOWN = 364
-- SYS_STACK_SNAPSHOT = 365
- SYS_BSDTHREAD_REGISTER = 366
- SYS_WORKQ_OPEN = 367
- SYS_WORKQ_KERNRETURN = 368
-@@ -287,6 +288,8 @@ const (
- SYS___OLD_SEMWAIT_SIGNAL_NOCANCEL = 371
- SYS_THREAD_SELFID = 372
- SYS_LEDGER = 373
-+ SYS_KEVENT_QOS = 374
-+ SYS_KEVENT_ID = 375
- SYS___MAC_EXECVE = 380
- SYS___MAC_SYSCALL = 381
- SYS___MAC_GET_FILE = 382
-@@ -298,11 +301,8 @@ const (
- SYS___MAC_GET_FD = 388
- SYS___MAC_SET_FD = 389
- SYS___MAC_GET_PID = 390
-- SYS___MAC_GET_LCID = 391
-- SYS___MAC_GET_LCTX = 392
-- SYS___MAC_SET_LCTX = 393
-- SYS_SETLCID = 394
-- SYS_GETLCID = 395
-+ SYS_PSELECT = 394
-+ SYS_PSELECT_NOCANCEL = 395
- SYS_READ_NOCANCEL = 396
- SYS_WRITE_NOCANCEL = 397
- SYS_OPEN_NOCANCEL = 398
-@@ -351,6 +351,7 @@ const (
- SYS_GUARDED_CLOSE_NP = 442
- SYS_GUARDED_KQUEUE_NP = 443
- SYS_CHANGE_FDGUARD_NP = 444
-+ SYS_USRCTL = 445
- SYS_PROC_RLIMIT_CONTROL = 446
- SYS_CONNECTX = 447
- SYS_DISCONNECTX = 448
-@@ -367,6 +368,7 @@ const (
- SYS_COALITION_INFO = 459
- SYS_NECP_MATCH_POLICY = 460
- SYS_GETATTRLISTBULK = 461
-+ SYS_CLONEFILEAT = 462
- SYS_OPENAT = 463
- SYS_OPENAT_NOCANCEL = 464
- SYS_RENAMEAT = 465
-@@ -392,7 +394,43 @@ const (
- SYS_GUARDED_WRITE_NP = 485
- SYS_GUARDED_PWRITE_NP = 486
- SYS_GUARDED_WRITEV_NP = 487
-- SYS_RENAME_EXT = 488
-+ SYS_RENAMEATX_NP = 488
- SYS_MREMAP_ENCRYPTED = 489
-- SYS_MAXSYSCALL = 490
-+ SYS_NETAGENT_TRIGGER = 490
-+ SYS_STACK_SNAPSHOT_WITH_CONFIG = 491
-+ SYS_MICROSTACKSHOT = 492
-+ SYS_GRAB_PGO_DATA = 493
-+ SYS_PERSONA = 494
-+ SYS_WORK_INTERVAL_CTL = 499
-+ SYS_GETENTROPY = 500
-+ SYS_NECP_OPEN = 501
-+ SYS_NECP_CLIENT_ACTION = 502
-+ SYS___NEXUS_OPEN = 503
-+ SYS___NEXUS_REGISTER = 504
-+ SYS___NEXUS_DEREGISTER = 505
-+ SYS___NEXUS_CREATE = 506
-+ SYS___NEXUS_DESTROY = 507
-+ SYS___NEXUS_GET_OPT = 508
-+ SYS___NEXUS_SET_OPT = 509
-+ SYS___CHANNEL_OPEN = 510
-+ SYS___CHANNEL_GET_INFO = 511
-+ SYS___CHANNEL_SYNC = 512
-+ SYS___CHANNEL_GET_OPT = 513
-+ SYS___CHANNEL_SET_OPT = 514
-+ SYS_ULOCK_WAIT = 515
-+ SYS_ULOCK_WAKE = 516
-+ SYS_FCLONEFILEAT = 517
-+ SYS_FS_SNAPSHOT = 518
-+ SYS_TERMINATE_WITH_PAYLOAD = 520
-+ SYS_ABORT_WITH_PAYLOAD = 521
-+ SYS_NECP_SESSION_OPEN = 522
-+ SYS_NECP_SESSION_ACTION = 523
-+ SYS_SETATTRLISTAT = 524
-+ SYS_NET_QOS_GUIDELINE = 525
-+ SYS_FMOUNT = 526
-+ SYS_NTP_ADJTIME = 527
-+ SYS_NTP_GETTIME = 528
-+ SYS_OS_FAULT_WITH_PAYLOAD = 529
-+ SYS_MAXSYSCALL = 530
-+ SYS_INVALID = 63
- )
-diff --git a/vendor/golang.org/x/sys/unix/zsysnum_darwin_amd64.go b/vendor/golang.org/x/sys/unix/zsysnum_darwin_amd64.go
-index 09de240c..654dd3da 100644
---- a/vendor/golang.org/x/sys/unix/zsysnum_darwin_amd64.go
-+++ b/vendor/golang.org/x/sys/unix/zsysnum_darwin_amd64.go
-@@ -1,5 +1,5 @@
--// mksysnum_darwin.pl /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/sys/syscall.h
--// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
-+// go run mksysnum.go /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/sys/syscall.h
-+// Code generated by the command above; see README.md. DO NOT EDIT.
-
- // +build amd64,darwin
-
-@@ -121,13 +121,15 @@ const (
- SYS_CSOPS = 169
- SYS_CSOPS_AUDITTOKEN = 170
- SYS_WAITID = 173
-+ SYS_KDEBUG_TYPEFILTER = 177
-+ SYS_KDEBUG_TRACE_STRING = 178
- SYS_KDEBUG_TRACE64 = 179
- SYS_KDEBUG_TRACE = 180
- SYS_SETGID = 181
- SYS_SETEGID = 182
- SYS_SETEUID = 183
- SYS_SIGRETURN = 184
-- SYS_CHUD = 185
-+ SYS_THREAD_SELFCOUNTS = 186
- SYS_FDATASYNC = 187
- SYS_STAT = 188
- SYS_FSTAT = 189
-@@ -278,7 +280,6 @@ const (
- SYS_KQUEUE = 362
- SYS_KEVENT = 363
- SYS_LCHOWN = 364
-- SYS_STACK_SNAPSHOT = 365
- SYS_BSDTHREAD_REGISTER = 366
- SYS_WORKQ_OPEN = 367
- SYS_WORKQ_KERNRETURN = 368
-@@ -287,6 +288,8 @@ const (
- SYS___OLD_SEMWAIT_SIGNAL_NOCANCEL = 371
- SYS_THREAD_SELFID = 372
- SYS_LEDGER = 373
-+ SYS_KEVENT_QOS = 374
-+ SYS_KEVENT_ID = 375
- SYS___MAC_EXECVE = 380
- SYS___MAC_SYSCALL = 381
- SYS___MAC_GET_FILE = 382
-@@ -298,11 +301,8 @@ const (
- SYS___MAC_GET_FD = 388
- SYS___MAC_SET_FD = 389
- SYS___MAC_GET_PID = 390
-- SYS___MAC_GET_LCID = 391
-- SYS___MAC_GET_LCTX = 392
-- SYS___MAC_SET_LCTX = 393
-- SYS_SETLCID = 394
-- SYS_GETLCID = 395
-+ SYS_PSELECT = 394
-+ SYS_PSELECT_NOCANCEL = 395
- SYS_READ_NOCANCEL = 396
- SYS_WRITE_NOCANCEL = 397
- SYS_OPEN_NOCANCEL = 398
-@@ -351,6 +351,7 @@ const (
- SYS_GUARDED_CLOSE_NP = 442
- SYS_GUARDED_KQUEUE_NP = 443
- SYS_CHANGE_FDGUARD_NP = 444
-+ SYS_USRCTL = 445
- SYS_PROC_RLIMIT_CONTROL = 446
- SYS_CONNECTX = 447
- SYS_DISCONNECTX = 448
-@@ -367,6 +368,7 @@ const (
- SYS_COALITION_INFO = 459
- SYS_NECP_MATCH_POLICY = 460
- SYS_GETATTRLISTBULK = 461
-+ SYS_CLONEFILEAT = 462
- SYS_OPENAT = 463
- SYS_OPENAT_NOCANCEL = 464
- SYS_RENAMEAT = 465
-@@ -392,7 +394,45 @@ const (
- SYS_GUARDED_WRITE_NP = 485
- SYS_GUARDED_PWRITE_NP = 486
- SYS_GUARDED_WRITEV_NP = 487
-- SYS_RENAME_EXT = 488
-+ SYS_RENAMEATX_NP = 488
- SYS_MREMAP_ENCRYPTED = 489
-- SYS_MAXSYSCALL = 490
-+ SYS_NETAGENT_TRIGGER = 490
-+ SYS_STACK_SNAPSHOT_WITH_CONFIG = 491
-+ SYS_MICROSTACKSHOT = 492
-+ SYS_GRAB_PGO_DATA = 493
-+ SYS_PERSONA = 494
-+ SYS_WORK_INTERVAL_CTL = 499
-+ SYS_GETENTROPY = 500
-+ SYS_NECP_OPEN = 501
-+ SYS_NECP_CLIENT_ACTION = 502
-+ SYS___NEXUS_OPEN = 503
-+ SYS___NEXUS_REGISTER = 504
-+ SYS___NEXUS_DEREGISTER = 505
-+ SYS___NEXUS_CREATE = 506
-+ SYS___NEXUS_DESTROY = 507
-+ SYS___NEXUS_GET_OPT = 508
-+ SYS___NEXUS_SET_OPT = 509
-+ SYS___CHANNEL_OPEN = 510
-+ SYS___CHANNEL_GET_INFO = 511
-+ SYS___CHANNEL_SYNC = 512
-+ SYS___CHANNEL_GET_OPT = 513
-+ SYS___CHANNEL_SET_OPT = 514
-+ SYS_ULOCK_WAIT = 515
-+ SYS_ULOCK_WAKE = 516
-+ SYS_FCLONEFILEAT = 517
-+ SYS_FS_SNAPSHOT = 518
-+ SYS_TERMINATE_WITH_PAYLOAD = 520
-+ SYS_ABORT_WITH_PAYLOAD = 521
-+ SYS_NECP_SESSION_OPEN = 522
-+ SYS_NECP_SESSION_ACTION = 523
-+ SYS_SETATTRLISTAT = 524
-+ SYS_NET_QOS_GUIDELINE = 525
-+ SYS_FMOUNT = 526
-+ SYS_NTP_ADJTIME = 527
-+ SYS_NTP_GETTIME = 528
-+ SYS_OS_FAULT_WITH_PAYLOAD = 529
-+ SYS_KQUEUE_WORKLOOP_CTL = 530
-+ SYS___MACH_BRIDGE_REMOTE_TIME = 531
-+ SYS_MAXSYSCALL = 532
-+ SYS_INVALID = 63
- )
-diff --git a/vendor/golang.org/x/sys/unix/zsysnum_darwin_arm.go b/vendor/golang.org/x/sys/unix/zsysnum_darwin_arm.go
-index 41cb6ed3..103a72ed 100644
---- a/vendor/golang.org/x/sys/unix/zsysnum_darwin_arm.go
-+++ b/vendor/golang.org/x/sys/unix/zsysnum_darwin_arm.go
-@@ -1,4 +1,4 @@
--// mksysnum_darwin.pl /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk/usr/include/sys/syscall.h
-+// go run mksysnum.go /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.1.sdk/usr/include/sys/syscall.h
- // Code generated by the command above; see README.md. DO NOT EDIT.
-
- // +build arm,darwin
-@@ -129,6 +129,7 @@ const (
- SYS_SETEGID = 182
- SYS_SETEUID = 183
- SYS_SIGRETURN = 184
-+ SYS_THREAD_SELFCOUNTS = 186
- SYS_FDATASYNC = 187
- SYS_STAT = 188
- SYS_FSTAT = 189
-@@ -288,6 +289,7 @@ const (
- SYS_THREAD_SELFID = 372
- SYS_LEDGER = 373
- SYS_KEVENT_QOS = 374
-+ SYS_KEVENT_ID = 375
- SYS___MAC_EXECVE = 380
- SYS___MAC_SYSCALL = 381
- SYS___MAC_GET_FILE = 382
-@@ -421,6 +423,14 @@ const (
- SYS_FS_SNAPSHOT = 518
- SYS_TERMINATE_WITH_PAYLOAD = 520
- SYS_ABORT_WITH_PAYLOAD = 521
-- SYS_MAXSYSCALL = 522
-+ SYS_NECP_SESSION_OPEN = 522
-+ SYS_NECP_SESSION_ACTION = 523
-+ SYS_SETATTRLISTAT = 524
-+ SYS_NET_QOS_GUIDELINE = 525
-+ SYS_FMOUNT = 526
-+ SYS_NTP_ADJTIME = 527
-+ SYS_NTP_GETTIME = 528
-+ SYS_OS_FAULT_WITH_PAYLOAD = 529
-+ SYS_MAXSYSCALL = 530
- SYS_INVALID = 63
- )
-diff --git a/vendor/golang.org/x/sys/unix/zsysnum_darwin_arm64.go b/vendor/golang.org/x/sys/unix/zsysnum_darwin_arm64.go
-index 075816c3..7ab2130b 100644
---- a/vendor/golang.org/x/sys/unix/zsysnum_darwin_arm64.go
-+++ b/vendor/golang.org/x/sys/unix/zsysnum_darwin_arm64.go
-@@ -1,4 +1,4 @@
--// mksysnum_darwin.pl /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk/usr/include/sys/syscall.h
-+// go run mksysnum.go /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.1.sdk/usr/include/sys/syscall.h
- // Code generated by the command above; see README.md. DO NOT EDIT.
-
- // +build arm64,darwin
-@@ -129,6 +129,7 @@ const (
- SYS_SETEGID = 182
- SYS_SETEUID = 183
- SYS_SIGRETURN = 184
-+ SYS_THREAD_SELFCOUNTS = 186
- SYS_FDATASYNC = 187
- SYS_STAT = 188
- SYS_FSTAT = 189
-@@ -288,6 +289,7 @@ const (
- SYS_THREAD_SELFID = 372
- SYS_LEDGER = 373
- SYS_KEVENT_QOS = 374
-+ SYS_KEVENT_ID = 375
- SYS___MAC_EXECVE = 380
- SYS___MAC_SYSCALL = 381
- SYS___MAC_GET_FILE = 382
-@@ -421,6 +423,14 @@ const (
- SYS_FS_SNAPSHOT = 518
- SYS_TERMINATE_WITH_PAYLOAD = 520
- SYS_ABORT_WITH_PAYLOAD = 521
-- SYS_MAXSYSCALL = 522
-+ SYS_NECP_SESSION_OPEN = 522
-+ SYS_NECP_SESSION_ACTION = 523
-+ SYS_SETATTRLISTAT = 524
-+ SYS_NET_QOS_GUIDELINE = 525
-+ SYS_FMOUNT = 526
-+ SYS_NTP_ADJTIME = 527
-+ SYS_NTP_GETTIME = 528
-+ SYS_OS_FAULT_WITH_PAYLOAD = 529
-+ SYS_MAXSYSCALL = 530
- SYS_INVALID = 63
- )
-diff --git a/vendor/golang.org/x/sys/unix/zsysnum_dragonfly_amd64.go b/vendor/golang.org/x/sys/unix/zsysnum_dragonfly_amd64.go
-index b2c9ef81..464c9a98 100644
---- a/vendor/golang.org/x/sys/unix/zsysnum_dragonfly_amd64.go
-+++ b/vendor/golang.org/x/sys/unix/zsysnum_dragonfly_amd64.go
-@@ -1,4 +1,4 @@
--// mksysnum_dragonfly.pl
-+// go run mksysnum.go https://gitweb.dragonflybsd.org/dragonfly.git/blob_plain/HEAD:/sys/kern/syscalls.master
- // Code generated by the command above; see README.md. DO NOT EDIT.
-
- // +build amd64,dragonfly
-@@ -13,7 +13,7 @@ const (
- SYS_WRITE = 4 // { ssize_t write(int fd, const void *buf, size_t nbyte); }
- SYS_OPEN = 5 // { int open(char *path, int flags, int mode); }
- SYS_CLOSE = 6 // { int close(int fd); }
-- SYS_WAIT4 = 7 // { int wait4(int pid, int *status, int options, \
-+ SYS_WAIT4 = 7 // { int wait4(int pid, int *status, int options, struct rusage *rusage); } wait4 wait_args int
- SYS_LINK = 9 // { int link(char *path, char *link); }
- SYS_UNLINK = 10 // { int unlink(char *path); }
- SYS_CHDIR = 12 // { int chdir(char *path); }
-@@ -22,17 +22,17 @@ const (
- SYS_CHMOD = 15 // { int chmod(char *path, int mode); }
- SYS_CHOWN = 16 // { int chown(char *path, int uid, int gid); }
- SYS_OBREAK = 17 // { int obreak(char *nsize); } break obreak_args int
-- SYS_GETFSSTAT = 18 // { int getfsstat(struct statfs *buf, long bufsize, \
-+ SYS_GETFSSTAT = 18 // { int getfsstat(struct statfs *buf, long bufsize, int flags); }
- SYS_GETPID = 20 // { pid_t getpid(void); }
-- SYS_MOUNT = 21 // { int mount(char *type, char *path, int flags, \
-+ 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, \
-+ 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, caddr_t msg, int flags); }
-- SYS_RECVFROM = 29 // { int recvfrom(int s, caddr_t buf, size_t len, \
-+ SYS_RECVFROM = 29 // { int recvfrom(int s, caddr_t buf, size_t len, int flags, caddr_t from, int *fromlenaddr); }
- SYS_ACCEPT = 30 // { int accept(int s, caddr_t name, int *anamelen); }
- SYS_GETPEERNAME = 31 // { int getpeername(int fdes, caddr_t asa, int *alen); }
- SYS_GETSOCKNAME = 32 // { int getsockname(int fdes, caddr_t asa, int *alen); }
-@@ -45,8 +45,8 @@ const (
- SYS_DUP = 41 // { int dup(int fd); }
- SYS_PIPE = 42 // { int pipe(void); }
- SYS_GETEGID = 43 // { gid_t getegid(void); }
-- SYS_PROFIL = 44 // { int profil(caddr_t samples, size_t size, \
-- SYS_KTRACE = 45 // { int ktrace(const char *fname, int ops, int facs, \
-+ SYS_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); }
-@@ -67,32 +67,32 @@ const (
- SYS_MUNMAP = 73 // { int munmap(void *addr, size_t len); }
- SYS_MPROTECT = 74 // { int mprotect(void *addr, size_t len, int prot); }
- SYS_MADVISE = 75 // { int madvise(void *addr, size_t len, int behav); }
-- SYS_MINCORE = 78 // { int mincore(const void *addr, size_t len, \
-+ SYS_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, \
-+ 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(int from, int to); }
- SYS_FCNTL = 92 // { int fcntl(int fd, int cmd, long arg); }
-- SYS_SELECT = 93 // { int select(int nd, fd_set *in, fd_set *ou, \
-+ SYS_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, \
-+ 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, \
-+ 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, \
-+ 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, \
-- SYS_SETTIMEOFDAY = 122 // { int settimeofday(struct timeval *tv, \
-+ 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); }
-@@ -100,15 +100,15 @@ const (
- SYS_RENAME = 128 // { int rename(char *from, char *to); }
- SYS_FLOCK = 131 // { int flock(int fd, int how); }
- SYS_MKFIFO = 132 // { int mkfifo(char *path, int mode); }
-- SYS_SENDTO = 133 // { int sendto(int s, caddr_t buf, size_t len, \
-+ SYS_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, \
-+ 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, \
-+ 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, \
-+ SYS_QUOTACTL = 148 // { int quotactl(char *path, int cmd, int uid, caddr_t arg); }
- SYS_STATFS = 157 // { int statfs(char *path, struct statfs *buf); }
- SYS_FSTATFS = 158 // { int fstatfs(int fd, struct statfs *buf); }
- SYS_GETFH = 161 // { int getfh(char *fname, struct fhandle *fhp); }
-@@ -116,53 +116,53 @@ const (
- SYS_SETDOMAINNAME = 163 // { int setdomainname(char *domainname, int len); }
- SYS_UNAME = 164 // { int uname(struct utsname *name); }
- SYS_SYSARCH = 165 // { int sysarch(int op, char *parms); }
-- SYS_RTPRIO = 166 // { int rtprio(int function, pid_t pid, \
-- SYS_EXTPREAD = 173 // { ssize_t extpread(int fd, void *buf, \
-- SYS_EXTPWRITE = 174 // { ssize_t extpwrite(int fd, const void *buf, \
-+ SYS_RTPRIO = 166 // { int rtprio(int function, pid_t pid, struct rtprio *rtp); }
-+ SYS_EXTPREAD = 173 // { ssize_t extpread(int fd, void *buf, size_t nbyte, int flags, off_t offset); }
-+ SYS_EXTPWRITE = 174 // { ssize_t extpwrite(int fd, const void *buf, size_t nbyte, int flags, off_t offset); }
- SYS_NTP_ADJTIME = 176 // { int ntp_adjtime(struct timex *tp); }
- SYS_SETGID = 181 // { int setgid(gid_t gid); }
- SYS_SETEGID = 182 // { int setegid(gid_t egid); }
- SYS_SETEUID = 183 // { int seteuid(uid_t euid); }
- SYS_PATHCONF = 191 // { int pathconf(char *path, int name); }
- SYS_FPATHCONF = 192 // { int fpathconf(int fd, int name); }
-- SYS_GETRLIMIT = 194 // { int getrlimit(u_int which, \
-- SYS_SETRLIMIT = 195 // { int setrlimit(u_int which, \
-- SYS_MMAP = 197 // { caddr_t mmap(caddr_t addr, size_t len, int prot, \
-+ SYS_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_MMAP = 197 // { caddr_t mmap(caddr_t addr, size_t len, int prot, int flags, int fd, int pad, off_t pos); }
- // SYS_NOSYS = 198; // { int nosys(void); } __syscall __syscall_args int
-- SYS_LSEEK = 199 // { off_t lseek(int fd, int pad, off_t offset, \
-+ SYS_LSEEK = 199 // { off_t lseek(int fd, int pad, off_t offset, int whence); }
- SYS_TRUNCATE = 200 // { int truncate(char *path, int pad, off_t length); }
- SYS_FTRUNCATE = 201 // { int ftruncate(int fd, int pad, off_t length); }
-- SYS___SYSCTL = 202 // { int __sysctl(int *name, u_int namelen, void *old, \
-+ SYS___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, \
-- SYS___SEMCTL = 220 // { int __semctl(int semid, int semnum, int cmd, \
-+ SYS_POLL = 209 // { int poll(struct pollfd *fds, u_int nfds, int timeout); }
-+ SYS___SEMCTL = 220 // { int __semctl(int semid, int semnum, int cmd, union semun *arg); }
- SYS_SEMGET = 221 // { int semget(key_t key, int nsems, int semflg); }
-- SYS_SEMOP = 222 // { int semop(int semid, struct sembuf *sops, \
-- SYS_MSGCTL = 224 // { int msgctl(int msqid, int cmd, \
-+ SYS_SEMOP = 222 // { int semop(int semid, struct sembuf *sops, u_int nsops); }
-+ SYS_MSGCTL = 224 // { int msgctl(int msqid, int cmd, struct msqid_ds *buf); }
- SYS_MSGGET = 225 // { int msgget(key_t key, int msgflg); }
-- SYS_MSGSND = 226 // { int msgsnd(int msqid, const void *msgp, size_t msgsz, \
-- SYS_MSGRCV = 227 // { int msgrcv(int msqid, void *msgp, size_t msgsz, \
-- SYS_SHMAT = 228 // { caddr_t shmat(int shmid, const void *shmaddr, \
-- SYS_SHMCTL = 229 // { int shmctl(int shmid, int cmd, \
-+ SYS_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_SHMAT = 228 // { caddr_t shmat(int shmid, const void *shmaddr, int shmflg); }
-+ SYS_SHMCTL = 229 // { int shmctl(int shmid, int cmd, struct shmid_ds *buf); }
- SYS_SHMDT = 230 // { int shmdt(const void *shmaddr); }
- SYS_SHMGET = 231 // { int shmget(key_t key, size_t size, int shmflg); }
-- SYS_CLOCK_GETTIME = 232 // { int clock_gettime(clockid_t clock_id, \
-- SYS_CLOCK_SETTIME = 233 // { int clock_settime(clockid_t clock_id, \
-- SYS_CLOCK_GETRES = 234 // { int clock_getres(clockid_t clock_id, \
-- SYS_NANOSLEEP = 240 // { int nanosleep(const struct timespec *rqtp, \
-+ SYS_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_NANOSLEEP = 240 // { int nanosleep(const struct timespec *rqtp, struct timespec *rmtp); }
- SYS_MINHERIT = 250 // { int minherit(void *addr, size_t len, int inherit); }
- SYS_RFORK = 251 // { int rfork(int flags); }
-- SYS_OPENBSD_POLL = 252 // { int openbsd_poll(struct pollfd *fds, u_int nfds, \
-+ SYS_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_LCHMOD = 274 // { int lchmod(char *path, mode_t mode); }
- SYS_LUTIMES = 276 // { int lutimes(char *path, struct timeval *tptr); }
-- SYS_EXTPREADV = 289 // { ssize_t extpreadv(int fd, struct iovec *iovp, \
-- SYS_EXTPWRITEV = 290 // { ssize_t extpwritev(int fd, struct iovec *iovp,\
-+ SYS_EXTPREADV = 289 // { ssize_t extpreadv(int fd, struct iovec *iovp, u_int iovcnt, int flags, off_t offset); }
-+ SYS_EXTPWRITEV = 290 // { ssize_t extpwritev(int fd, struct iovec *iovp,u_int iovcnt, int flags, off_t offset); }
- SYS_FHSTATFS = 297 // { int fhstatfs(const struct fhandle *u_fhp, struct statfs *buf); }
- SYS_FHOPEN = 298 // { int fhopen(const struct fhandle *u_fhp, int flags); }
- SYS_MODNEXT = 300 // { int modnext(int modid); }
-@@ -200,34 +200,34 @@ const (
- SYS_UTRACE = 335 // { int utrace(const void *addr, size_t len); }
- SYS_KLDSYM = 337 // { int kldsym(int fileid, int cmd, void *data); }
- SYS_JAIL = 338 // { int jail(struct jail *jail); }
-- SYS_SIGPROCMASK = 340 // { int sigprocmask(int how, const sigset_t *set, \
-+ SYS_SIGPROCMASK = 340 // { int sigprocmask(int how, const sigset_t *set, sigset_t *oset); }
- SYS_SIGSUSPEND = 341 // { int sigsuspend(const sigset_t *sigmask); }
-- SYS_SIGACTION = 342 // { int sigaction(int sig, const struct sigaction *act, \
-+ SYS_SIGACTION = 342 // { int sigaction(int sig, const struct sigaction *act, struct sigaction *oact); }
- SYS_SIGPENDING = 343 // { int sigpending(sigset_t *set); }
- SYS_SIGRETURN = 344 // { int sigreturn(ucontext_t *sigcntxp); }
-- SYS_SIGTIMEDWAIT = 345 // { int sigtimedwait(const sigset_t *set,\
-- SYS_SIGWAITINFO = 346 // { int sigwaitinfo(const sigset_t *set,\
-- SYS___ACL_GET_FILE = 347 // { int __acl_get_file(const char *path, \
-- SYS___ACL_SET_FILE = 348 // { int __acl_set_file(const char *path, \
-- SYS___ACL_GET_FD = 349 // { int __acl_get_fd(int filedes, acl_type_t type, \
-- SYS___ACL_SET_FD = 350 // { int __acl_set_fd(int filedes, acl_type_t type, \
-- SYS___ACL_DELETE_FILE = 351 // { int __acl_delete_file(const char *path, \
-+ SYS_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, \
-- SYS___ACL_ACLCHECK_FD = 354 // { int __acl_aclcheck_fd(int filedes, acl_type_t type, \
-- SYS_EXTATTRCTL = 355 // { int extattrctl(const char *path, int cmd, \
-- SYS_EXTATTR_SET_FILE = 356 // { int extattr_set_file(const char *path, \
-- SYS_EXTATTR_GET_FILE = 357 // { int extattr_get_file(const char *path, \
-- SYS_EXTATTR_DELETE_FILE = 358 // { int extattr_delete_file(const char *path, \
-+ SYS___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 // { int extattr_set_file(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); }
-+ SYS_EXTATTR_GET_FILE = 357 // { int 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 // { int aio_waitcomplete(struct aiocb **aiocbp, struct timespec *timeout); }
- SYS_GETRESUID = 360 // { int getresuid(uid_t *ruid, uid_t *euid, uid_t *suid); }
- SYS_GETRESGID = 361 // { int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid); }
- SYS_KQUEUE = 362 // { int kqueue(void); }
-- SYS_KEVENT = 363 // { int kevent(int fd, \
-+ SYS_KEVENT = 363 // { int kevent(int fd, const struct kevent *changelist, int nchanges, struct kevent *eventlist, int nevents, const struct timespec *timeout); }
- SYS_KENV = 390 // { int kenv(int what, const char *name, char *value, int len); }
- SYS_LCHFLAGS = 391 // { int lchflags(char *path, int flags); }
- SYS_UUIDGEN = 392 // { int uuidgen(struct uuid *store, int count); }
-- SYS_SENDFILE = 393 // { int sendfile(int fd, int s, off_t offset, size_t nbytes, \
-+ SYS_SENDFILE = 393 // { int sendfile(int fd, int s, off_t offset, size_t nbytes, struct sf_hdtr *hdtr, off_t *sbytes, int flags); }
- SYS_VARSYM_SET = 450 // { int varsym_set(int level, const char *name, const char *data); }
- SYS_VARSYM_GET = 451 // { int varsym_get(int mask, const char *wild, char *buf, int bufsize); }
- SYS_VARSYM_LIST = 452 // { int varsym_list(int level, char *buf, int maxsize, int *marker); }
-@@ -245,58 +245,58 @@ const (
- SYS_FSTAT = 476 // { int fstat(int fd, struct stat *sb); }
- SYS_LSTAT = 477 // { int lstat(const char *path, struct stat *ub); }
- SYS_FHSTAT = 478 // { int fhstat(const struct fhandle *u_fhp, struct stat *sb); }
-- SYS_GETDIRENTRIES = 479 // { int getdirentries(int fd, char *buf, u_int count, \
-+ SYS_GETDIRENTRIES = 479 // { int getdirentries(int fd, char *buf, u_int count, long *basep); }
- SYS_GETDENTS = 480 // { int getdents(int fd, char *buf, size_t count); }
-- SYS_USCHED_SET = 481 // { int usched_set(pid_t pid, int cmd, void *data, \
-+ SYS_USCHED_SET = 481 // { int usched_set(pid_t pid, int cmd, void *data, int bytes); }
- SYS_EXTACCEPT = 482 // { int extaccept(int s, int flags, caddr_t name, int *anamelen); }
- SYS_EXTCONNECT = 483 // { int extconnect(int s, int flags, caddr_t name, int namelen); }
- SYS_MCONTROL = 485 // { int mcontrol(void *addr, size_t len, int behav, off_t value); }
- SYS_VMSPACE_CREATE = 486 // { int vmspace_create(void *id, int type, void *data); }
- SYS_VMSPACE_DESTROY = 487 // { int vmspace_destroy(void *id); }
-- SYS_VMSPACE_CTL = 488 // { int vmspace_ctl(void *id, int cmd, \
-- SYS_VMSPACE_MMAP = 489 // { int vmspace_mmap(void *id, void *addr, size_t len, \
-- SYS_VMSPACE_MUNMAP = 490 // { int vmspace_munmap(void *id, void *addr, \
-- SYS_VMSPACE_MCONTROL = 491 // { int vmspace_mcontrol(void *id, void *addr, \
-- SYS_VMSPACE_PREAD = 492 // { ssize_t vmspace_pread(void *id, void *buf, \
-- SYS_VMSPACE_PWRITE = 493 // { ssize_t vmspace_pwrite(void *id, const void *buf, \
-+ SYS_VMSPACE_CTL = 488 // { int vmspace_ctl(void *id, int cmd, struct trapframe *tframe, struct vextframe *vframe); }
-+ SYS_VMSPACE_MMAP = 489 // { int vmspace_mmap(void *id, void *addr, size_t len, int prot, int flags, int fd, off_t offset); }
-+ SYS_VMSPACE_MUNMAP = 490 // { int vmspace_munmap(void *id, void *addr, size_t len); }
-+ SYS_VMSPACE_MCONTROL = 491 // { int vmspace_mcontrol(void *id, void *addr, size_t len, int behav, off_t value); }
-+ SYS_VMSPACE_PREAD = 492 // { ssize_t vmspace_pread(void *id, void *buf, size_t nbyte, int flags, off_t offset); }
-+ SYS_VMSPACE_PWRITE = 493 // { ssize_t vmspace_pwrite(void *id, const void *buf, size_t nbyte, int flags, off_t offset); }
- SYS_EXTEXIT = 494 // { void extexit(int how, int status, void *addr); }
- SYS_LWP_CREATE = 495 // { int lwp_create(struct lwp_params *params); }
- SYS_LWP_GETTID = 496 // { lwpid_t lwp_gettid(void); }
- SYS_LWP_KILL = 497 // { int lwp_kill(pid_t pid, lwpid_t tid, int signum); }
- SYS_LWP_RTPRIO = 498 // { int lwp_rtprio(int function, pid_t pid, lwpid_t tid, struct rtprio *rtp); }
-- SYS_PSELECT = 499 // { int pselect(int nd, fd_set *in, fd_set *ou, \
-+ SYS_PSELECT = 499 // { int pselect(int nd, fd_set *in, fd_set *ou, fd_set *ex, const struct timespec *ts, const sigset_t *sigmask); }
- SYS_STATVFS = 500 // { int statvfs(const char *path, struct statvfs *buf); }
- SYS_FSTATVFS = 501 // { int fstatvfs(int fd, struct statvfs *buf); }
- SYS_FHSTATVFS = 502 // { int fhstatvfs(const struct fhandle *u_fhp, struct statvfs *buf); }
-- SYS_GETVFSSTAT = 503 // { int getvfsstat(struct statfs *buf, \
-+ SYS_GETVFSSTAT = 503 // { int getvfsstat(struct statfs *buf, struct statvfs *vbuf, long vbufsize, int flags); }
- SYS_OPENAT = 504 // { int openat(int fd, char *path, int flags, int mode); }
-- SYS_FSTATAT = 505 // { int fstatat(int fd, char *path, \
-- SYS_FCHMODAT = 506 // { int fchmodat(int fd, char *path, int mode, \
-- SYS_FCHOWNAT = 507 // { int fchownat(int fd, char *path, int uid, int gid, \
-+ SYS_FSTATAT = 505 // { int fstatat(int fd, char *path, struct stat *sb, int flags); }
-+ SYS_FCHMODAT = 506 // { int fchmodat(int fd, char *path, int mode, int flags); }
-+ SYS_FCHOWNAT = 507 // { int fchownat(int fd, char *path, int uid, int gid, int flags); }
- SYS_UNLINKAT = 508 // { int unlinkat(int fd, char *path, int flags); }
-- SYS_FACCESSAT = 509 // { int faccessat(int fd, char *path, int amode, \
-- SYS_MQ_OPEN = 510 // { mqd_t mq_open(const char * name, int oflag, \
-+ SYS_FACCESSAT = 509 // { int faccessat(int fd, char *path, int amode, int flags); }
-+ SYS_MQ_OPEN = 510 // { mqd_t mq_open(const char * name, int oflag, mode_t mode, struct mq_attr *attr); }
- SYS_MQ_CLOSE = 511 // { int mq_close(mqd_t mqdes); }
- SYS_MQ_UNLINK = 512 // { int mq_unlink(const char *name); }
-- SYS_MQ_GETATTR = 513 // { int mq_getattr(mqd_t mqdes, \
-- SYS_MQ_SETATTR = 514 // { int mq_setattr(mqd_t mqdes, \
-- SYS_MQ_NOTIFY = 515 // { int mq_notify(mqd_t mqdes, \
-- SYS_MQ_SEND = 516 // { int mq_send(mqd_t mqdes, const char *msg_ptr, \
-- SYS_MQ_RECEIVE = 517 // { ssize_t mq_receive(mqd_t mqdes, char *msg_ptr, \
-- SYS_MQ_TIMEDSEND = 518 // { int mq_timedsend(mqd_t mqdes, \
-- SYS_MQ_TIMEDRECEIVE = 519 // { ssize_t mq_timedreceive(mqd_t mqdes, \
-+ SYS_MQ_GETATTR = 513 // { int mq_getattr(mqd_t mqdes, struct mq_attr *mqstat); }
-+ SYS_MQ_SETATTR = 514 // { int mq_setattr(mqd_t mqdes, const struct mq_attr *mqstat, struct mq_attr *omqstat); }
-+ SYS_MQ_NOTIFY = 515 // { int mq_notify(mqd_t mqdes, const struct sigevent *notification); }
-+ SYS_MQ_SEND = 516 // { int mq_send(mqd_t mqdes, const char *msg_ptr, size_t msg_len, unsigned msg_prio); }
-+ SYS_MQ_RECEIVE = 517 // { ssize_t mq_receive(mqd_t mqdes, char *msg_ptr, size_t msg_len, unsigned *msg_prio); }
-+ SYS_MQ_TIMEDSEND = 518 // { int mq_timedsend(mqd_t mqdes, const char *msg_ptr, size_t msg_len, unsigned msg_prio, const struct timespec *abs_timeout); }
-+ SYS_MQ_TIMEDRECEIVE = 519 // { ssize_t mq_timedreceive(mqd_t mqdes, char *msg_ptr, size_t msg_len, unsigned *msg_prio, const struct timespec *abs_timeout); }
- SYS_IOPRIO_SET = 520 // { int ioprio_set(int which, int who, int prio); }
- SYS_IOPRIO_GET = 521 // { int ioprio_get(int which, int who); }
- SYS_CHROOT_KERNEL = 522 // { int chroot_kernel(char *path); }
-- SYS_RENAMEAT = 523 // { int renameat(int oldfd, char *old, int newfd, \
-+ SYS_RENAMEAT = 523 // { int renameat(int oldfd, char *old, int newfd, char *new); }
- SYS_MKDIRAT = 524 // { int mkdirat(int fd, char *path, mode_t mode); }
- SYS_MKFIFOAT = 525 // { int mkfifoat(int fd, char *path, mode_t mode); }
-- SYS_MKNODAT = 526 // { int mknodat(int fd, char *path, mode_t mode, \
-- SYS_READLINKAT = 527 // { int readlinkat(int fd, char *path, char *buf, \
-+ SYS_MKNODAT = 526 // { int mknodat(int fd, char *path, mode_t mode, dev_t dev); }
-+ SYS_READLINKAT = 527 // { int readlinkat(int fd, char *path, char *buf, size_t bufsize); }
- SYS_SYMLINKAT = 528 // { int symlinkat(char *path1, int fd, char *path2); }
- SYS_SWAPOFF = 529 // { int swapoff(char *name); }
-- SYS_VQUOTACTL = 530 // { int vquotactl(const char *path, \
-- SYS_LINKAT = 531 // { int linkat(int fd1, char *path1, int fd2, \
-+ SYS_VQUOTACTL = 530 // { int vquotactl(const char *path, struct plistref *pref); }
-+ SYS_LINKAT = 531 // { int linkat(int fd1, char *path1, int fd2, char *path2, int flags); }
- SYS_EACCESS = 532 // { int eaccess(char *path, int flags); }
- SYS_LPATHCONF = 533 // { int lpathconf(char *path, int name); }
- SYS_VMM_GUEST_CTL = 534 // { int vmm_guest_ctl(int op, struct vmm_guest_options *options); }
-@@ -308,7 +308,7 @@ const (
- SYS_FUTIMENS = 540 // { int futimens(int fd, const struct timespec *ts); }
- SYS_ACCEPT4 = 541 // { int accept4(int s, caddr_t name, int *anamelen, int flags); }
- SYS_LWP_SETNAME = 542 // { int lwp_setname(lwpid_t tid, const char *name); }
-- SYS_PPOLL = 543 // { int ppoll(struct pollfd *fds, u_int nfds, \
-+ SYS_PPOLL = 543 // { int ppoll(struct pollfd *fds, u_int nfds, const struct timespec *ts, const sigset_t *sigmask); }
- SYS_LWP_SETAFFINITY = 544 // { int lwp_setaffinity(pid_t pid, lwpid_t tid, const cpumask_t *mask); }
- SYS_LWP_GETAFFINITY = 545 // { int lwp_getaffinity(pid_t pid, lwpid_t tid, cpumask_t *mask); }
- SYS_LWP_CREATE2 = 546 // { int lwp_create2(struct lwp_params *params, const cpumask_t *mask); }
-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 b64a8122..9474974b 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 @@
--// mksysnum_freebsd.pl
-+// go run mksysnum.go https://svn.freebsd.org/base/stable/11/sys/kern/syscalls.master
- // Code generated by the command above; see README.md. DO NOT EDIT.
-
- // +build 386,freebsd
-@@ -7,347 +7,390 @@ package unix
-
- const (
- // SYS_NOSYS = 0; // { int nosys(void); } syscall nosys_args int
-- SYS_EXIT = 1 // { void sys_exit(int rval); } exit \
-- SYS_FORK = 2 // { int fork(void); }
-- SYS_READ = 3 // { ssize_t read(int fd, void *buf, \
-- SYS_WRITE = 4 // { ssize_t write(int fd, const void *buf, \
-- SYS_OPEN = 5 // { int open(char *path, int flags, int mode); }
-- SYS_CLOSE = 6 // { int close(int fd); }
-- SYS_WAIT4 = 7 // { int wait4(int pid, int *status, \
-- SYS_LINK = 9 // { int link(char *path, char *link); }
-- SYS_UNLINK = 10 // { int unlink(char *path); }
-- SYS_CHDIR = 12 // { int chdir(char *path); }
-- SYS_FCHDIR = 13 // { int fchdir(int fd); }
-- SYS_MKNOD = 14 // { int mknod(char *path, int mode, int dev); }
-- SYS_CHMOD = 15 // { int chmod(char *path, int mode); }
-- SYS_CHOWN = 16 // { int chown(char *path, int uid, int gid); }
-- SYS_OBREAK = 17 // { int obreak(char *nsize); } break \
-- SYS_GETPID = 20 // { pid_t getpid(void); }
-- SYS_MOUNT = 21 // { int mount(char *type, char *path, \
-- SYS_UNMOUNT = 22 // { int unmount(char *path, int flags); }
-- SYS_SETUID = 23 // { int setuid(uid_t uid); }
-- SYS_GETUID = 24 // { uid_t getuid(void); }
-- SYS_GETEUID = 25 // { uid_t geteuid(void); }
-- SYS_PTRACE = 26 // { int ptrace(int req, pid_t pid, \
-- SYS_RECVMSG = 27 // { int recvmsg(int s, struct msghdr *msg, \
-- SYS_SENDMSG = 28 // { int sendmsg(int s, struct msghdr *msg, \
-- SYS_RECVFROM = 29 // { int recvfrom(int s, caddr_t buf, \
-- SYS_ACCEPT = 30 // { int accept(int s, \
-- SYS_GETPEERNAME = 31 // { int getpeername(int fdes, \
-- SYS_GETSOCKNAME = 32 // { int getsockname(int fdes, \
-- SYS_ACCESS = 33 // { int access(char *path, int amode); }
-- SYS_CHFLAGS = 34 // { int chflags(const char *path, u_long flags); }
-- SYS_FCHFLAGS = 35 // { int fchflags(int fd, u_long flags); }
-- SYS_SYNC = 36 // { int sync(void); }
-- SYS_KILL = 37 // { int kill(int pid, int signum); }
-- SYS_GETPPID = 39 // { pid_t getppid(void); }
-- SYS_DUP = 41 // { int dup(u_int fd); }
-- SYS_PIPE = 42 // { int pipe(void); }
-- SYS_GETEGID = 43 // { gid_t getegid(void); }
-- SYS_PROFIL = 44 // { int profil(caddr_t samples, size_t size, \
-- SYS_KTRACE = 45 // { int ktrace(const char *fname, int ops, \
-- SYS_GETGID = 47 // { gid_t getgid(void); }
-- SYS_GETLOGIN = 49 // { int getlogin(char *namebuf, u_int \
-- SYS_SETLOGIN = 50 // { int setlogin(char *namebuf); }
-- SYS_ACCT = 51 // { int acct(char *path); }
-- SYS_SIGALTSTACK = 53 // { int sigaltstack(stack_t *ss, \
-- SYS_IOCTL = 54 // { int ioctl(int fd, u_long com, \
-- SYS_REBOOT = 55 // { int reboot(int opt); }
-- SYS_REVOKE = 56 // { int revoke(char *path); }
-- SYS_SYMLINK = 57 // { int symlink(char *path, char *link); }
-- SYS_READLINK = 58 // { ssize_t readlink(char *path, char *buf, \
-- SYS_EXECVE = 59 // { int execve(char *fname, char **argv, \
-- SYS_UMASK = 60 // { int umask(int newmask); } umask umask_args \
-- SYS_CHROOT = 61 // { int chroot(char *path); }
-- SYS_MSYNC = 65 // { int msync(void *addr, size_t len, \
-- SYS_VFORK = 66 // { int vfork(void); }
-- SYS_SBRK = 69 // { int sbrk(int incr); }
-- SYS_SSTK = 70 // { int sstk(int incr); }
-- SYS_OVADVISE = 72 // { int ovadvise(int anom); } vadvise \
-- SYS_MUNMAP = 73 // { int munmap(void *addr, size_t len); }
-- SYS_MPROTECT = 74 // { int mprotect(const void *addr, size_t len, \
-- SYS_MADVISE = 75 // { int madvise(void *addr, size_t len, \
-- SYS_MINCORE = 78 // { int mincore(const void *addr, size_t len, \
-- SYS_GETGROUPS = 79 // { int getgroups(u_int gidsetsize, \
-- SYS_SETGROUPS = 80 // { int setgroups(u_int gidsetsize, \
-- SYS_GETPGRP = 81 // { int getpgrp(void); }
-- SYS_SETPGID = 82 // { int setpgid(int pid, int pgid); }
-- SYS_SETITIMER = 83 // { int setitimer(u_int which, struct \
-- SYS_SWAPON = 85 // { int swapon(char *name); }
-- SYS_GETITIMER = 86 // { int getitimer(u_int which, \
-- SYS_GETDTABLESIZE = 89 // { int getdtablesize(void); }
-- SYS_DUP2 = 90 // { int dup2(u_int from, u_int to); }
-- SYS_FCNTL = 92 // { int fcntl(int fd, int cmd, long arg); }
-- SYS_SELECT = 93 // { int select(int nd, fd_set *in, fd_set *ou, \
-- SYS_FSYNC = 95 // { int fsync(int fd); }
-- SYS_SETPRIORITY = 96 // { int setpriority(int which, int who, \
-- SYS_SOCKET = 97 // { int socket(int domain, int type, \
-- SYS_CONNECT = 98 // { int connect(int s, caddr_t name, \
-- SYS_GETPRIORITY = 100 // { int getpriority(int which, int who); }
-- SYS_BIND = 104 // { int bind(int s, caddr_t name, \
-- SYS_SETSOCKOPT = 105 // { int setsockopt(int s, int level, int name, \
-- SYS_LISTEN = 106 // { int listen(int s, int backlog); }
-- SYS_GETTIMEOFDAY = 116 // { int gettimeofday(struct timeval *tp, \
-- SYS_GETRUSAGE = 117 // { int getrusage(int who, \
-- SYS_GETSOCKOPT = 118 // { int getsockopt(int s, int level, int name, \
-- SYS_READV = 120 // { int readv(int fd, struct iovec *iovp, \
-- SYS_WRITEV = 121 // { int writev(int fd, struct iovec *iovp, \
-- SYS_SETTIMEOFDAY = 122 // { int settimeofday(struct timeval *tv, \
-- SYS_FCHOWN = 123 // { int fchown(int fd, int uid, int gid); }
-- SYS_FCHMOD = 124 // { int fchmod(int fd, int mode); }
-- SYS_SETREUID = 126 // { int setreuid(int ruid, int euid); }
-- SYS_SETREGID = 127 // { int setregid(int rgid, int egid); }
-- SYS_RENAME = 128 // { int rename(char *from, char *to); }
-- SYS_FLOCK = 131 // { int flock(int fd, int how); }
-- SYS_MKFIFO = 132 // { int mkfifo(char *path, int mode); }
-- SYS_SENDTO = 133 // { int sendto(int s, caddr_t buf, size_t len, \
-- SYS_SHUTDOWN = 134 // { int shutdown(int s, int how); }
-- SYS_SOCKETPAIR = 135 // { int socketpair(int domain, int type, \
-- SYS_MKDIR = 136 // { int mkdir(char *path, int mode); }
-- SYS_RMDIR = 137 // { int rmdir(char *path); }
-- SYS_UTIMES = 138 // { int utimes(char *path, \
-- SYS_ADJTIME = 140 // { int adjtime(struct timeval *delta, \
-- SYS_SETSID = 147 // { int setsid(void); }
-- SYS_QUOTACTL = 148 // { int quotactl(char *path, int cmd, int uid, \
-- SYS_LGETFH = 160 // { int lgetfh(char *fname, \
-- SYS_GETFH = 161 // { int getfh(char *fname, \
-- SYS_SYSARCH = 165 // { int sysarch(int op, char *parms); }
-- SYS_RTPRIO = 166 // { int rtprio(int function, pid_t pid, \
-- SYS_FREEBSD6_PREAD = 173 // { ssize_t freebsd6_pread(int fd, void *buf, \
-- SYS_FREEBSD6_PWRITE = 174 // { ssize_t freebsd6_pwrite(int fd, \
-- SYS_SETFIB = 175 // { int setfib(int fibnum); }
-- SYS_NTP_ADJTIME = 176 // { int ntp_adjtime(struct timex *tp); }
-- SYS_SETGID = 181 // { int setgid(gid_t gid); }
-- SYS_SETEGID = 182 // { int setegid(gid_t egid); }
-- SYS_SETEUID = 183 // { int seteuid(uid_t euid); }
-- SYS_STAT = 188 // { int stat(char *path, struct stat *ub); }
-- SYS_FSTAT = 189 // { int fstat(int fd, struct stat *sb); }
-- SYS_LSTAT = 190 // { int lstat(char *path, struct stat *ub); }
-- SYS_PATHCONF = 191 // { int pathconf(char *path, int name); }
-- SYS_FPATHCONF = 192 // { int fpathconf(int fd, int name); }
-- SYS_GETRLIMIT = 194 // { int getrlimit(u_int which, \
-- SYS_SETRLIMIT = 195 // { int setrlimit(u_int which, \
-- SYS_GETDIRENTRIES = 196 // { int getdirentries(int fd, char *buf, \
-- SYS_FREEBSD6_MMAP = 197 // { caddr_t freebsd6_mmap(caddr_t addr, \
-- SYS_FREEBSD6_LSEEK = 199 // { off_t freebsd6_lseek(int fd, int pad, \
-- SYS_FREEBSD6_TRUNCATE = 200 // { int freebsd6_truncate(char *path, int pad, \
-- SYS_FREEBSD6_FTRUNCATE = 201 // { int freebsd6_ftruncate(int fd, int pad, \
-- SYS___SYSCTL = 202 // { int __sysctl(int *name, u_int namelen, \
-- SYS_MLOCK = 203 // { int mlock(const void *addr, size_t len); }
-- SYS_MUNLOCK = 204 // { int munlock(const void *addr, size_t len); }
-- SYS_UNDELETE = 205 // { int undelete(char *path); }
-- SYS_FUTIMES = 206 // { int futimes(int fd, struct timeval *tptr); }
-- SYS_GETPGID = 207 // { int getpgid(pid_t pid); }
-- SYS_POLL = 209 // { int poll(struct pollfd *fds, u_int nfds, \
-- SYS_CLOCK_GETTIME = 232 // { int clock_gettime(clockid_t clock_id, \
-- SYS_CLOCK_SETTIME = 233 // { int clock_settime( \
-- SYS_CLOCK_GETRES = 234 // { int clock_getres(clockid_t clock_id, \
-- SYS_KTIMER_CREATE = 235 // { int ktimer_create(clockid_t clock_id, \
-- SYS_KTIMER_DELETE = 236 // { int ktimer_delete(int timerid); }
-- SYS_KTIMER_SETTIME = 237 // { int ktimer_settime(int timerid, int flags, \
-- SYS_KTIMER_GETTIME = 238 // { int ktimer_gettime(int timerid, struct \
-- SYS_KTIMER_GETOVERRUN = 239 // { int ktimer_getoverrun(int timerid); }
-- SYS_NANOSLEEP = 240 // { int nanosleep(const struct timespec *rqtp, \
-- SYS_FFCLOCK_GETCOUNTER = 241 // { int ffclock_getcounter(ffcounter *ffcount); }
-- SYS_FFCLOCK_SETESTIMATE = 242 // { int ffclock_setestimate( \
-- SYS_FFCLOCK_GETESTIMATE = 243 // { int ffclock_getestimate( \
-- SYS_CLOCK_GETCPUCLOCKID2 = 247 // { int clock_getcpuclockid2(id_t id,\
-- SYS_NTP_GETTIME = 248 // { int ntp_gettime(struct ntptimeval *ntvp); }
-- SYS_MINHERIT = 250 // { int minherit(void *addr, size_t len, \
-- SYS_RFORK = 251 // { int rfork(int flags); }
-- SYS_OPENBSD_POLL = 252 // { int openbsd_poll(struct pollfd *fds, \
-- SYS_ISSETUGID = 253 // { int issetugid(void); }
-- SYS_LCHOWN = 254 // { int lchown(char *path, int uid, int gid); }
-- SYS_GETDENTS = 272 // { int getdents(int fd, char *buf, \
-- SYS_LCHMOD = 274 // { int lchmod(char *path, mode_t mode); }
-- SYS_LUTIMES = 276 // { int lutimes(char *path, \
-- SYS_NSTAT = 278 // { int nstat(char *path, struct nstat *ub); }
-- SYS_NFSTAT = 279 // { int nfstat(int fd, struct nstat *sb); }
-- SYS_NLSTAT = 280 // { int nlstat(char *path, struct nstat *ub); }
-- SYS_PREADV = 289 // { ssize_t preadv(int fd, struct iovec *iovp, \
-- SYS_PWRITEV = 290 // { ssize_t pwritev(int fd, struct iovec *iovp, \
-- SYS_FHOPEN = 298 // { int fhopen(const struct fhandle *u_fhp, \
-- SYS_FHSTAT = 299 // { int fhstat(const struct fhandle *u_fhp, \
-- SYS_MODNEXT = 300 // { int modnext(int modid); }
-- SYS_MODSTAT = 301 // { int modstat(int modid, \
-- SYS_MODFNEXT = 302 // { int modfnext(int modid); }
-- SYS_MODFIND = 303 // { int modfind(const char *name); }
-- SYS_KLDLOAD = 304 // { int kldload(const char *file); }
-- SYS_KLDUNLOAD = 305 // { int kldunload(int fileid); }
-- SYS_KLDFIND = 306 // { int kldfind(const char *file); }
-- SYS_KLDNEXT = 307 // { int kldnext(int fileid); }
-- SYS_KLDSTAT = 308 // { int kldstat(int fileid, struct \
-- SYS_KLDFIRSTMOD = 309 // { int kldfirstmod(int fileid); }
-- SYS_GETSID = 310 // { int getsid(pid_t pid); }
-- SYS_SETRESUID = 311 // { int setresuid(uid_t ruid, uid_t euid, \
-- SYS_SETRESGID = 312 // { int setresgid(gid_t rgid, gid_t egid, \
-- SYS_YIELD = 321 // { int yield(void); }
-- SYS_MLOCKALL = 324 // { int mlockall(int how); }
-- SYS_MUNLOCKALL = 325 // { int munlockall(void); }
-- SYS___GETCWD = 326 // { int __getcwd(char *buf, u_int buflen); }
-- SYS_SCHED_SETPARAM = 327 // { int sched_setparam (pid_t pid, \
-- SYS_SCHED_GETPARAM = 328 // { int sched_getparam (pid_t pid, struct \
-- SYS_SCHED_SETSCHEDULER = 329 // { int sched_setscheduler (pid_t pid, int \
-- SYS_SCHED_GETSCHEDULER = 330 // { int sched_getscheduler (pid_t pid); }
-- SYS_SCHED_YIELD = 331 // { int sched_yield (void); }
-- SYS_SCHED_GET_PRIORITY_MAX = 332 // { int sched_get_priority_max (int policy); }
-- SYS_SCHED_GET_PRIORITY_MIN = 333 // { int sched_get_priority_min (int policy); }
-- SYS_SCHED_RR_GET_INTERVAL = 334 // { int sched_rr_get_interval (pid_t pid, \
-- SYS_UTRACE = 335 // { int utrace(const void *addr, size_t len); }
-- SYS_KLDSYM = 337 // { int kldsym(int fileid, int cmd, \
-- SYS_JAIL = 338 // { int jail(struct jail *jail); }
-- SYS_SIGPROCMASK = 340 // { int sigprocmask(int how, \
-- SYS_SIGSUSPEND = 341 // { int sigsuspend(const sigset_t *sigmask); }
-- SYS_SIGPENDING = 343 // { int sigpending(sigset_t *set); }
-- SYS_SIGTIMEDWAIT = 345 // { int sigtimedwait(const sigset_t *set, \
-- SYS_SIGWAITINFO = 346 // { int sigwaitinfo(const sigset_t *set, \
-- SYS___ACL_GET_FILE = 347 // { int __acl_get_file(const char *path, \
-- SYS___ACL_SET_FILE = 348 // { int __acl_set_file(const char *path, \
-- SYS___ACL_GET_FD = 349 // { int __acl_get_fd(int filedes, \
-- SYS___ACL_SET_FD = 350 // { int __acl_set_fd(int filedes, \
-- SYS___ACL_DELETE_FILE = 351 // { int __acl_delete_file(const char *path, \
-- SYS___ACL_DELETE_FD = 352 // { int __acl_delete_fd(int filedes, \
-- SYS___ACL_ACLCHECK_FILE = 353 // { int __acl_aclcheck_file(const char *path, \
-- SYS___ACL_ACLCHECK_FD = 354 // { int __acl_aclcheck_fd(int filedes, \
-- SYS_EXTATTRCTL = 355 // { int extattrctl(const char *path, int cmd, \
-- SYS_EXTATTR_SET_FILE = 356 // { ssize_t extattr_set_file( \
-- SYS_EXTATTR_GET_FILE = 357 // { ssize_t extattr_get_file( \
-- SYS_EXTATTR_DELETE_FILE = 358 // { int extattr_delete_file(const char *path, \
-- SYS_GETRESUID = 360 // { int getresuid(uid_t *ruid, uid_t *euid, \
-- SYS_GETRESGID = 361 // { int getresgid(gid_t *rgid, gid_t *egid, \
-- SYS_KQUEUE = 362 // { int kqueue(void); }
-- SYS_KEVENT = 363 // { int kevent(int fd, \
-- SYS_EXTATTR_SET_FD = 371 // { ssize_t extattr_set_fd(int fd, \
-- SYS_EXTATTR_GET_FD = 372 // { ssize_t extattr_get_fd(int fd, \
-- SYS_EXTATTR_DELETE_FD = 373 // { int extattr_delete_fd(int fd, \
-- SYS___SETUGID = 374 // { int __setugid(int flag); }
-- SYS_EACCESS = 376 // { int eaccess(char *path, int amode); }
-- SYS_NMOUNT = 378 // { int nmount(struct iovec *iovp, \
-- SYS___MAC_GET_PROC = 384 // { int __mac_get_proc(struct mac *mac_p); }
-- SYS___MAC_SET_PROC = 385 // { int __mac_set_proc(struct mac *mac_p); }
-- SYS___MAC_GET_FD = 386 // { int __mac_get_fd(int fd, \
-- SYS___MAC_GET_FILE = 387 // { int __mac_get_file(const char *path_p, \
-- SYS___MAC_SET_FD = 388 // { int __mac_set_fd(int fd, \
-- SYS___MAC_SET_FILE = 389 // { int __mac_set_file(const char *path_p, \
-- SYS_KENV = 390 // { int kenv(int what, const char *name, \
-- SYS_LCHFLAGS = 391 // { int lchflags(const char *path, \
-- SYS_UUIDGEN = 392 // { int uuidgen(struct uuid *store, \
-- SYS_SENDFILE = 393 // { int sendfile(int fd, int s, off_t offset, \
-- SYS_MAC_SYSCALL = 394 // { int mac_syscall(const char *policy, \
-- SYS_GETFSSTAT = 395 // { int getfsstat(struct statfs *buf, \
-- SYS_STATFS = 396 // { int statfs(char *path, \
-- SYS_FSTATFS = 397 // { int fstatfs(int fd, struct statfs *buf); }
-- SYS_FHSTATFS = 398 // { int fhstatfs(const struct fhandle *u_fhp, \
-- SYS___MAC_GET_PID = 409 // { int __mac_get_pid(pid_t pid, \
-- SYS___MAC_GET_LINK = 410 // { int __mac_get_link(const char *path_p, \
-- SYS___MAC_SET_LINK = 411 // { int __mac_set_link(const char *path_p, \
-- SYS_EXTATTR_SET_LINK = 412 // { ssize_t extattr_set_link( \
-- SYS_EXTATTR_GET_LINK = 413 // { ssize_t extattr_get_link( \
-- SYS_EXTATTR_DELETE_LINK = 414 // { int extattr_delete_link( \
-- SYS___MAC_EXECVE = 415 // { int __mac_execve(char *fname, char **argv, \
-- SYS_SIGACTION = 416 // { int sigaction(int sig, \
-- SYS_SIGRETURN = 417 // { int sigreturn( \
-- SYS_GETCONTEXT = 421 // { int getcontext(struct __ucontext *ucp); }
-- SYS_SETCONTEXT = 422 // { int setcontext( \
-- SYS_SWAPCONTEXT = 423 // { int swapcontext(struct __ucontext *oucp, \
-- SYS_SWAPOFF = 424 // { int swapoff(const char *name); }
-- SYS___ACL_GET_LINK = 425 // { int __acl_get_link(const char *path, \
-- SYS___ACL_SET_LINK = 426 // { int __acl_set_link(const char *path, \
-- SYS___ACL_DELETE_LINK = 427 // { int __acl_delete_link(const char *path, \
-- SYS___ACL_ACLCHECK_LINK = 428 // { int __acl_aclcheck_link(const char *path, \
-- SYS_SIGWAIT = 429 // { int sigwait(const sigset_t *set, \
-- SYS_THR_CREATE = 430 // { int thr_create(ucontext_t *ctx, long *id, \
-- SYS_THR_EXIT = 431 // { void thr_exit(long *state); }
-- SYS_THR_SELF = 432 // { int thr_self(long *id); }
-- SYS_THR_KILL = 433 // { int thr_kill(long id, int sig); }
-- SYS__UMTX_LOCK = 434 // { int _umtx_lock(struct umtx *umtx); }
-- SYS__UMTX_UNLOCK = 435 // { int _umtx_unlock(struct umtx *umtx); }
-- SYS_JAIL_ATTACH = 436 // { int jail_attach(int jid); }
-- SYS_EXTATTR_LIST_FD = 437 // { ssize_t extattr_list_fd(int fd, \
-- SYS_EXTATTR_LIST_FILE = 438 // { ssize_t extattr_list_file( \
-- SYS_EXTATTR_LIST_LINK = 439 // { ssize_t extattr_list_link( \
-- SYS_THR_SUSPEND = 442 // { int thr_suspend( \
-- SYS_THR_WAKE = 443 // { int thr_wake(long id); }
-- SYS_KLDUNLOADF = 444 // { int kldunloadf(int fileid, int flags); }
-- SYS_AUDIT = 445 // { int audit(const void *record, \
-- SYS_AUDITON = 446 // { int auditon(int cmd, void *data, \
-- SYS_GETAUID = 447 // { int getauid(uid_t *auid); }
-- SYS_SETAUID = 448 // { int setauid(uid_t *auid); }
-- SYS_GETAUDIT = 449 // { int getaudit(struct auditinfo *auditinfo); }
-- SYS_SETAUDIT = 450 // { int setaudit(struct auditinfo *auditinfo); }
-- SYS_GETAUDIT_ADDR = 451 // { int getaudit_addr( \
-- SYS_SETAUDIT_ADDR = 452 // { int setaudit_addr( \
-- SYS_AUDITCTL = 453 // { int auditctl(char *path); }
-- SYS__UMTX_OP = 454 // { int _umtx_op(void *obj, int op, \
-- SYS_THR_NEW = 455 // { int thr_new(struct thr_param *param, \
-- SYS_SIGQUEUE = 456 // { int sigqueue(pid_t pid, int signum, void *value); }
-- SYS_ABORT2 = 463 // { int abort2(const char *why, int nargs, void **args); }
-- SYS_THR_SET_NAME = 464 // { int thr_set_name(long id, const char *name); }
-- SYS_RTPRIO_THREAD = 466 // { int rtprio_thread(int function, \
-- SYS_PREAD = 475 // { ssize_t pread(int fd, void *buf, \
-- SYS_PWRITE = 476 // { ssize_t pwrite(int fd, const void *buf, \
-- SYS_MMAP = 477 // { caddr_t mmap(caddr_t addr, size_t len, \
-- SYS_LSEEK = 478 // { off_t lseek(int fd, off_t offset, \
-- SYS_TRUNCATE = 479 // { int truncate(char *path, off_t length); }
-- SYS_FTRUNCATE = 480 // { int ftruncate(int fd, off_t length); }
-- SYS_THR_KILL2 = 481 // { int thr_kill2(pid_t pid, long id, int sig); }
-- SYS_SHM_OPEN = 482 // { int shm_open(const char *path, int flags, \
-- SYS_SHM_UNLINK = 483 // { int shm_unlink(const char *path); }
-- SYS_CPUSET = 484 // { int cpuset(cpusetid_t *setid); }
-- SYS_CPUSET_SETID = 485 // { int cpuset_setid(cpuwhich_t which, id_t id, \
-- SYS_CPUSET_GETID = 486 // { int cpuset_getid(cpulevel_t level, \
-- SYS_CPUSET_GETAFFINITY = 487 // { int cpuset_getaffinity(cpulevel_t level, \
-- SYS_CPUSET_SETAFFINITY = 488 // { int cpuset_setaffinity(cpulevel_t level, \
-- SYS_FACCESSAT = 489 // { int faccessat(int fd, char *path, int amode, \
-- SYS_FCHMODAT = 490 // { int fchmodat(int fd, char *path, mode_t mode, \
-- SYS_FCHOWNAT = 491 // { int fchownat(int fd, char *path, uid_t uid, \
-- SYS_FEXECVE = 492 // { int fexecve(int fd, char **argv, \
-- SYS_FSTATAT = 493 // { int fstatat(int fd, char *path, \
-- SYS_FUTIMESAT = 494 // { int futimesat(int fd, char *path, \
-- SYS_LINKAT = 495 // { int linkat(int fd1, char *path1, int fd2, \
-- SYS_MKDIRAT = 496 // { int mkdirat(int fd, char *path, mode_t mode); }
-- SYS_MKFIFOAT = 497 // { int mkfifoat(int fd, char *path, mode_t mode); }
-- SYS_MKNODAT = 498 // { int mknodat(int fd, char *path, mode_t mode, \
-- SYS_OPENAT = 499 // { int openat(int fd, char *path, int flag, \
-- SYS_READLINKAT = 500 // { int readlinkat(int fd, char *path, char *buf, \
-- SYS_RENAMEAT = 501 // { int renameat(int oldfd, char *old, int newfd, \
-- SYS_SYMLINKAT = 502 // { int symlinkat(char *path1, int fd, \
-- SYS_UNLINKAT = 503 // { int unlinkat(int fd, char *path, int flag); }
-- SYS_POSIX_OPENPT = 504 // { int posix_openpt(int flags); }
-- SYS_JAIL_GET = 506 // { int jail_get(struct iovec *iovp, \
-- SYS_JAIL_SET = 507 // { int jail_set(struct iovec *iovp, \
-- SYS_JAIL_REMOVE = 508 // { int jail_remove(int jid); }
-- SYS_CLOSEFROM = 509 // { int closefrom(int lowfd); }
-- SYS_LPATHCONF = 513 // { int lpathconf(char *path, int name); }
-- SYS___CAP_RIGHTS_GET = 515 // { int __cap_rights_get(int version, \
-- SYS_CAP_ENTER = 516 // { int cap_enter(void); }
-- SYS_CAP_GETMODE = 517 // { int cap_getmode(u_int *modep); }
-- SYS_PDFORK = 518 // { int pdfork(int *fdp, int flags); }
-- SYS_PDKILL = 519 // { int pdkill(int fd, int signum); }
-- SYS_PDGETPID = 520 // { int pdgetpid(int fd, pid_t *pidp); }
-- SYS_PSELECT = 522 // { int pselect(int nd, fd_set *in, \
-- SYS_GETLOGINCLASS = 523 // { int getloginclass(char *namebuf, \
-- SYS_SETLOGINCLASS = 524 // { int setloginclass(const char *namebuf); }
-- SYS_RCTL_GET_RACCT = 525 // { int rctl_get_racct(const void *inbufp, \
-- SYS_RCTL_GET_RULES = 526 // { int rctl_get_rules(const void *inbufp, \
-- SYS_RCTL_GET_LIMITS = 527 // { int rctl_get_limits(const void *inbufp, \
-- SYS_RCTL_ADD_RULE = 528 // { int rctl_add_rule(const void *inbufp, \
-- SYS_RCTL_REMOVE_RULE = 529 // { int rctl_remove_rule(const void *inbufp, \
-- SYS_POSIX_FALLOCATE = 530 // { int posix_fallocate(int fd, \
-- SYS_POSIX_FADVISE = 531 // { int posix_fadvise(int fd, off_t offset, \
-- SYS_WAIT6 = 532 // { int wait6(idtype_t idtype, id_t id, \
-- SYS_CAP_RIGHTS_LIMIT = 533 // { int cap_rights_limit(int fd, \
-- SYS_CAP_IOCTLS_LIMIT = 534 // { int cap_ioctls_limit(int fd, \
-- SYS_CAP_IOCTLS_GET = 535 // { ssize_t cap_ioctls_get(int fd, \
-- SYS_CAP_FCNTLS_LIMIT = 536 // { int cap_fcntls_limit(int fd, \
-- SYS_CAP_FCNTLS_GET = 537 // { int cap_fcntls_get(int fd, \
-- SYS_BINDAT = 538 // { int bindat(int fd, int s, caddr_t name, \
-- SYS_CONNECTAT = 539 // { int connectat(int fd, int s, caddr_t name, \
-- SYS_CHFLAGSAT = 540 // { int chflagsat(int fd, const char *path, \
-- SYS_ACCEPT4 = 541 // { int accept4(int s, \
-- SYS_PIPE2 = 542 // { int pipe2(int *fildes, int flags); }
-- SYS_PROCCTL = 544 // { int procctl(idtype_t idtype, id_t id, \
-- SYS_PPOLL = 545 // { int ppoll(struct pollfd *fds, u_int nfds, \
-- SYS_FUTIMENS = 546 // { int futimens(int fd, \
-- SYS_UTIMENSAT = 547 // { int utimensat(int fd, \
-+ 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_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_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_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); }
-+ 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); } umask umask_args int
-+ SYS_CHROOT = 61 // { int chroot(char *path); }
-+ SYS_MSYNC = 65 // { int msync(void *addr, size_t len, int flags); }
-+ SYS_VFORK = 66 // { 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_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_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); }
-+ 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 // { int 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_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_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_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, u_int buflen); }
-+ SYS_SCHED_SETPARAM = 327 // { int sched_setparam (pid_t pid, const struct sched_param *param); }
-+ SYS_SCHED_GETPARAM = 328 // { int sched_getparam (pid_t pid, struct sched_param *param); }
-+ SYS_SCHED_SETSCHEDULER = 329 // { int sched_setscheduler (pid_t pid, int policy, const struct sched_param *param); }
-+ SYS_SCHED_GETSCHEDULER = 330 // { int sched_getscheduler (pid_t pid); }
-+ SYS_SCHED_YIELD = 331 // { int sched_yield (void); }
-+ SYS_SCHED_GET_PRIORITY_MAX = 332 // { int sched_get_priority_max (int policy); }
-+ SYS_SCHED_GET_PRIORITY_MIN = 333 // { int sched_get_priority_min (int policy); }
-+ SYS_SCHED_RR_GET_INTERVAL = 334 // { int sched_rr_get_interval (pid_t pid, struct timespec *interval); }
-+ SYS_UTRACE = 335 // { int utrace(const void *addr, size_t len); }
-+ SYS_KLDSYM = 337 // { int kldsym(int fileid, int cmd, void *data); }
-+ SYS_JAIL = 338 // { int jail(struct jail *jail); }
-+ SYS_SIGPROCMASK = 340 // { int sigprocmask(int how, const sigset_t *set, 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_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); }
-+ 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_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); }
-+ 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_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_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_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); }
- )
-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 81722ac9..48a7beae 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 @@
--// mksysnum_freebsd.pl
-+// go run mksysnum.go https://svn.freebsd.org/base/stable/11/sys/kern/syscalls.master
- // Code generated by the command above; see README.md. DO NOT EDIT.
-
- // +build amd64,freebsd
-@@ -7,347 +7,390 @@ package unix
-
- const (
- // SYS_NOSYS = 0; // { int nosys(void); } syscall nosys_args int
-- SYS_EXIT = 1 // { void sys_exit(int rval); } exit \
-- SYS_FORK = 2 // { int fork(void); }
-- SYS_READ = 3 // { ssize_t read(int fd, void *buf, \
-- SYS_WRITE = 4 // { ssize_t write(int fd, const void *buf, \
-- SYS_OPEN = 5 // { int open(char *path, int flags, int mode); }
-- SYS_CLOSE = 6 // { int close(int fd); }
-- SYS_WAIT4 = 7 // { int wait4(int pid, int *status, \
-- SYS_LINK = 9 // { int link(char *path, char *link); }
-- SYS_UNLINK = 10 // { int unlink(char *path); }
-- SYS_CHDIR = 12 // { int chdir(char *path); }
-- SYS_FCHDIR = 13 // { int fchdir(int fd); }
-- SYS_MKNOD = 14 // { int mknod(char *path, int mode, int dev); }
-- SYS_CHMOD = 15 // { int chmod(char *path, int mode); }
-- SYS_CHOWN = 16 // { int chown(char *path, int uid, int gid); }
-- SYS_OBREAK = 17 // { int obreak(char *nsize); } break \
-- SYS_GETPID = 20 // { pid_t getpid(void); }
-- SYS_MOUNT = 21 // { int mount(char *type, char *path, \
-- SYS_UNMOUNT = 22 // { int unmount(char *path, int flags); }
-- SYS_SETUID = 23 // { int setuid(uid_t uid); }
-- SYS_GETUID = 24 // { uid_t getuid(void); }
-- SYS_GETEUID = 25 // { uid_t geteuid(void); }
-- SYS_PTRACE = 26 // { int ptrace(int req, pid_t pid, \
-- SYS_RECVMSG = 27 // { int recvmsg(int s, struct msghdr *msg, \
-- SYS_SENDMSG = 28 // { int sendmsg(int s, struct msghdr *msg, \
-- SYS_RECVFROM = 29 // { int recvfrom(int s, caddr_t buf, \
-- SYS_ACCEPT = 30 // { int accept(int s, \
-- SYS_GETPEERNAME = 31 // { int getpeername(int fdes, \
-- SYS_GETSOCKNAME = 32 // { int getsockname(int fdes, \
-- SYS_ACCESS = 33 // { int access(char *path, int amode); }
-- SYS_CHFLAGS = 34 // { int chflags(const char *path, u_long flags); }
-- SYS_FCHFLAGS = 35 // { int fchflags(int fd, u_long flags); }
-- SYS_SYNC = 36 // { int sync(void); }
-- SYS_KILL = 37 // { int kill(int pid, int signum); }
-- SYS_GETPPID = 39 // { pid_t getppid(void); }
-- SYS_DUP = 41 // { int dup(u_int fd); }
-- SYS_PIPE = 42 // { int pipe(void); }
-- SYS_GETEGID = 43 // { gid_t getegid(void); }
-- SYS_PROFIL = 44 // { int profil(caddr_t samples, size_t size, \
-- SYS_KTRACE = 45 // { int ktrace(const char *fname, int ops, \
-- SYS_GETGID = 47 // { gid_t getgid(void); }
-- SYS_GETLOGIN = 49 // { int getlogin(char *namebuf, u_int \
-- SYS_SETLOGIN = 50 // { int setlogin(char *namebuf); }
-- SYS_ACCT = 51 // { int acct(char *path); }
-- SYS_SIGALTSTACK = 53 // { int sigaltstack(stack_t *ss, \
-- SYS_IOCTL = 54 // { int ioctl(int fd, u_long com, \
-- SYS_REBOOT = 55 // { int reboot(int opt); }
-- SYS_REVOKE = 56 // { int revoke(char *path); }
-- SYS_SYMLINK = 57 // { int symlink(char *path, char *link); }
-- SYS_READLINK = 58 // { ssize_t readlink(char *path, char *buf, \
-- SYS_EXECVE = 59 // { int execve(char *fname, char **argv, \
-- SYS_UMASK = 60 // { int umask(int newmask); } umask umask_args \
-- SYS_CHROOT = 61 // { int chroot(char *path); }
-- SYS_MSYNC = 65 // { int msync(void *addr, size_t len, \
-- SYS_VFORK = 66 // { int vfork(void); }
-- SYS_SBRK = 69 // { int sbrk(int incr); }
-- SYS_SSTK = 70 // { int sstk(int incr); }
-- SYS_OVADVISE = 72 // { int ovadvise(int anom); } vadvise \
-- SYS_MUNMAP = 73 // { int munmap(void *addr, size_t len); }
-- SYS_MPROTECT = 74 // { int mprotect(const void *addr, size_t len, \
-- SYS_MADVISE = 75 // { int madvise(void *addr, size_t len, \
-- SYS_MINCORE = 78 // { int mincore(const void *addr, size_t len, \
-- SYS_GETGROUPS = 79 // { int getgroups(u_int gidsetsize, \
-- SYS_SETGROUPS = 80 // { int setgroups(u_int gidsetsize, \
-- SYS_GETPGRP = 81 // { int getpgrp(void); }
-- SYS_SETPGID = 82 // { int setpgid(int pid, int pgid); }
-- SYS_SETITIMER = 83 // { int setitimer(u_int which, struct \
-- SYS_SWAPON = 85 // { int swapon(char *name); }
-- SYS_GETITIMER = 86 // { int getitimer(u_int which, \
-- SYS_GETDTABLESIZE = 89 // { int getdtablesize(void); }
-- SYS_DUP2 = 90 // { int dup2(u_int from, u_int to); }
-- SYS_FCNTL = 92 // { int fcntl(int fd, int cmd, long arg); }
-- SYS_SELECT = 93 // { int select(int nd, fd_set *in, fd_set *ou, \
-- SYS_FSYNC = 95 // { int fsync(int fd); }
-- SYS_SETPRIORITY = 96 // { int setpriority(int which, int who, \
-- SYS_SOCKET = 97 // { int socket(int domain, int type, \
-- SYS_CONNECT = 98 // { int connect(int s, caddr_t name, \
-- SYS_GETPRIORITY = 100 // { int getpriority(int which, int who); }
-- SYS_BIND = 104 // { int bind(int s, caddr_t name, \
-- SYS_SETSOCKOPT = 105 // { int setsockopt(int s, int level, int name, \
-- SYS_LISTEN = 106 // { int listen(int s, int backlog); }
-- SYS_GETTIMEOFDAY = 116 // { int gettimeofday(struct timeval *tp, \
-- SYS_GETRUSAGE = 117 // { int getrusage(int who, \
-- SYS_GETSOCKOPT = 118 // { int getsockopt(int s, int level, int name, \
-- SYS_READV = 120 // { int readv(int fd, struct iovec *iovp, \
-- SYS_WRITEV = 121 // { int writev(int fd, struct iovec *iovp, \
-- SYS_SETTIMEOFDAY = 122 // { int settimeofday(struct timeval *tv, \
-- SYS_FCHOWN = 123 // { int fchown(int fd, int uid, int gid); }
-- SYS_FCHMOD = 124 // { int fchmod(int fd, int mode); }
-- SYS_SETREUID = 126 // { int setreuid(int ruid, int euid); }
-- SYS_SETREGID = 127 // { int setregid(int rgid, int egid); }
-- SYS_RENAME = 128 // { int rename(char *from, char *to); }
-- SYS_FLOCK = 131 // { int flock(int fd, int how); }
-- SYS_MKFIFO = 132 // { int mkfifo(char *path, int mode); }
-- SYS_SENDTO = 133 // { int sendto(int s, caddr_t buf, size_t len, \
-- SYS_SHUTDOWN = 134 // { int shutdown(int s, int how); }
-- SYS_SOCKETPAIR = 135 // { int socketpair(int domain, int type, \
-- SYS_MKDIR = 136 // { int mkdir(char *path, int mode); }
-- SYS_RMDIR = 137 // { int rmdir(char *path); }
-- SYS_UTIMES = 138 // { int utimes(char *path, \
-- SYS_ADJTIME = 140 // { int adjtime(struct timeval *delta, \
-- SYS_SETSID = 147 // { int setsid(void); }
-- SYS_QUOTACTL = 148 // { int quotactl(char *path, int cmd, int uid, \
-- SYS_LGETFH = 160 // { int lgetfh(char *fname, \
-- SYS_GETFH = 161 // { int getfh(char *fname, \
-- SYS_SYSARCH = 165 // { int sysarch(int op, char *parms); }
-- SYS_RTPRIO = 166 // { int rtprio(int function, pid_t pid, \
-- SYS_FREEBSD6_PREAD = 173 // { ssize_t freebsd6_pread(int fd, void *buf, \
-- SYS_FREEBSD6_PWRITE = 174 // { ssize_t freebsd6_pwrite(int fd, \
-- SYS_SETFIB = 175 // { int setfib(int fibnum); }
-- SYS_NTP_ADJTIME = 176 // { int ntp_adjtime(struct timex *tp); }
-- SYS_SETGID = 181 // { int setgid(gid_t gid); }
-- SYS_SETEGID = 182 // { int setegid(gid_t egid); }
-- SYS_SETEUID = 183 // { int seteuid(uid_t euid); }
-- SYS_STAT = 188 // { int stat(char *path, struct stat *ub); }
-- SYS_FSTAT = 189 // { int fstat(int fd, struct stat *sb); }
-- SYS_LSTAT = 190 // { int lstat(char *path, struct stat *ub); }
-- SYS_PATHCONF = 191 // { int pathconf(char *path, int name); }
-- SYS_FPATHCONF = 192 // { int fpathconf(int fd, int name); }
-- SYS_GETRLIMIT = 194 // { int getrlimit(u_int which, \
-- SYS_SETRLIMIT = 195 // { int setrlimit(u_int which, \
-- SYS_GETDIRENTRIES = 196 // { int getdirentries(int fd, char *buf, \
-- SYS_FREEBSD6_MMAP = 197 // { caddr_t freebsd6_mmap(caddr_t addr, \
-- SYS_FREEBSD6_LSEEK = 199 // { off_t freebsd6_lseek(int fd, int pad, \
-- SYS_FREEBSD6_TRUNCATE = 200 // { int freebsd6_truncate(char *path, int pad, \
-- SYS_FREEBSD6_FTRUNCATE = 201 // { int freebsd6_ftruncate(int fd, int pad, \
-- SYS___SYSCTL = 202 // { int __sysctl(int *name, u_int namelen, \
-- SYS_MLOCK = 203 // { int mlock(const void *addr, size_t len); }
-- SYS_MUNLOCK = 204 // { int munlock(const void *addr, size_t len); }
-- SYS_UNDELETE = 205 // { int undelete(char *path); }
-- SYS_FUTIMES = 206 // { int futimes(int fd, struct timeval *tptr); }
-- SYS_GETPGID = 207 // { int getpgid(pid_t pid); }
-- SYS_POLL = 209 // { int poll(struct pollfd *fds, u_int nfds, \
-- SYS_CLOCK_GETTIME = 232 // { int clock_gettime(clockid_t clock_id, \
-- SYS_CLOCK_SETTIME = 233 // { int clock_settime( \
-- SYS_CLOCK_GETRES = 234 // { int clock_getres(clockid_t clock_id, \
-- SYS_KTIMER_CREATE = 235 // { int ktimer_create(clockid_t clock_id, \
-- SYS_KTIMER_DELETE = 236 // { int ktimer_delete(int timerid); }
-- SYS_KTIMER_SETTIME = 237 // { int ktimer_settime(int timerid, int flags, \
-- SYS_KTIMER_GETTIME = 238 // { int ktimer_gettime(int timerid, struct \
-- SYS_KTIMER_GETOVERRUN = 239 // { int ktimer_getoverrun(int timerid); }
-- SYS_NANOSLEEP = 240 // { int nanosleep(const struct timespec *rqtp, \
-- SYS_FFCLOCK_GETCOUNTER = 241 // { int ffclock_getcounter(ffcounter *ffcount); }
-- SYS_FFCLOCK_SETESTIMATE = 242 // { int ffclock_setestimate( \
-- SYS_FFCLOCK_GETESTIMATE = 243 // { int ffclock_getestimate( \
-- SYS_CLOCK_GETCPUCLOCKID2 = 247 // { int clock_getcpuclockid2(id_t id,\
-- SYS_NTP_GETTIME = 248 // { int ntp_gettime(struct ntptimeval *ntvp); }
-- SYS_MINHERIT = 250 // { int minherit(void *addr, size_t len, \
-- SYS_RFORK = 251 // { int rfork(int flags); }
-- SYS_OPENBSD_POLL = 252 // { int openbsd_poll(struct pollfd *fds, \
-- SYS_ISSETUGID = 253 // { int issetugid(void); }
-- SYS_LCHOWN = 254 // { int lchown(char *path, int uid, int gid); }
-- SYS_GETDENTS = 272 // { int getdents(int fd, char *buf, \
-- SYS_LCHMOD = 274 // { int lchmod(char *path, mode_t mode); }
-- SYS_LUTIMES = 276 // { int lutimes(char *path, \
-- SYS_NSTAT = 278 // { int nstat(char *path, struct nstat *ub); }
-- SYS_NFSTAT = 279 // { int nfstat(int fd, struct nstat *sb); }
-- SYS_NLSTAT = 280 // { int nlstat(char *path, struct nstat *ub); }
-- SYS_PREADV = 289 // { ssize_t preadv(int fd, struct iovec *iovp, \
-- SYS_PWRITEV = 290 // { ssize_t pwritev(int fd, struct iovec *iovp, \
-- SYS_FHOPEN = 298 // { int fhopen(const struct fhandle *u_fhp, \
-- SYS_FHSTAT = 299 // { int fhstat(const struct fhandle *u_fhp, \
-- SYS_MODNEXT = 300 // { int modnext(int modid); }
-- SYS_MODSTAT = 301 // { int modstat(int modid, \
-- SYS_MODFNEXT = 302 // { int modfnext(int modid); }
-- SYS_MODFIND = 303 // { int modfind(const char *name); }
-- SYS_KLDLOAD = 304 // { int kldload(const char *file); }
-- SYS_KLDUNLOAD = 305 // { int kldunload(int fileid); }
-- SYS_KLDFIND = 306 // { int kldfind(const char *file); }
-- SYS_KLDNEXT = 307 // { int kldnext(int fileid); }
-- SYS_KLDSTAT = 308 // { int kldstat(int fileid, struct \
-- SYS_KLDFIRSTMOD = 309 // { int kldfirstmod(int fileid); }
-- SYS_GETSID = 310 // { int getsid(pid_t pid); }
-- SYS_SETRESUID = 311 // { int setresuid(uid_t ruid, uid_t euid, \
-- SYS_SETRESGID = 312 // { int setresgid(gid_t rgid, gid_t egid, \
-- SYS_YIELD = 321 // { int yield(void); }
-- SYS_MLOCKALL = 324 // { int mlockall(int how); }
-- SYS_MUNLOCKALL = 325 // { int munlockall(void); }
-- SYS___GETCWD = 326 // { int __getcwd(char *buf, u_int buflen); }
-- SYS_SCHED_SETPARAM = 327 // { int sched_setparam (pid_t pid, \
-- SYS_SCHED_GETPARAM = 328 // { int sched_getparam (pid_t pid, struct \
-- SYS_SCHED_SETSCHEDULER = 329 // { int sched_setscheduler (pid_t pid, int \
-- SYS_SCHED_GETSCHEDULER = 330 // { int sched_getscheduler (pid_t pid); }
-- SYS_SCHED_YIELD = 331 // { int sched_yield (void); }
-- SYS_SCHED_GET_PRIORITY_MAX = 332 // { int sched_get_priority_max (int policy); }
-- SYS_SCHED_GET_PRIORITY_MIN = 333 // { int sched_get_priority_min (int policy); }
-- SYS_SCHED_RR_GET_INTERVAL = 334 // { int sched_rr_get_interval (pid_t pid, \
-- SYS_UTRACE = 335 // { int utrace(const void *addr, size_t len); }
-- SYS_KLDSYM = 337 // { int kldsym(int fileid, int cmd, \
-- SYS_JAIL = 338 // { int jail(struct jail *jail); }
-- SYS_SIGPROCMASK = 340 // { int sigprocmask(int how, \
-- SYS_SIGSUSPEND = 341 // { int sigsuspend(const sigset_t *sigmask); }
-- SYS_SIGPENDING = 343 // { int sigpending(sigset_t *set); }
-- SYS_SIGTIMEDWAIT = 345 // { int sigtimedwait(const sigset_t *set, \
-- SYS_SIGWAITINFO = 346 // { int sigwaitinfo(const sigset_t *set, \
-- SYS___ACL_GET_FILE = 347 // { int __acl_get_file(const char *path, \
-- SYS___ACL_SET_FILE = 348 // { int __acl_set_file(const char *path, \
-- SYS___ACL_GET_FD = 349 // { int __acl_get_fd(int filedes, \
-- SYS___ACL_SET_FD = 350 // { int __acl_set_fd(int filedes, \
-- SYS___ACL_DELETE_FILE = 351 // { int __acl_delete_file(const char *path, \
-- SYS___ACL_DELETE_FD = 352 // { int __acl_delete_fd(int filedes, \
-- SYS___ACL_ACLCHECK_FILE = 353 // { int __acl_aclcheck_file(const char *path, \
-- SYS___ACL_ACLCHECK_FD = 354 // { int __acl_aclcheck_fd(int filedes, \
-- SYS_EXTATTRCTL = 355 // { int extattrctl(const char *path, int cmd, \
-- SYS_EXTATTR_SET_FILE = 356 // { ssize_t extattr_set_file( \
-- SYS_EXTATTR_GET_FILE = 357 // { ssize_t extattr_get_file( \
-- SYS_EXTATTR_DELETE_FILE = 358 // { int extattr_delete_file(const char *path, \
-- SYS_GETRESUID = 360 // { int getresuid(uid_t *ruid, uid_t *euid, \
-- SYS_GETRESGID = 361 // { int getresgid(gid_t *rgid, gid_t *egid, \
-- SYS_KQUEUE = 362 // { int kqueue(void); }
-- SYS_KEVENT = 363 // { int kevent(int fd, \
-- SYS_EXTATTR_SET_FD = 371 // { ssize_t extattr_set_fd(int fd, \
-- SYS_EXTATTR_GET_FD = 372 // { ssize_t extattr_get_fd(int fd, \
-- SYS_EXTATTR_DELETE_FD = 373 // { int extattr_delete_fd(int fd, \
-- SYS___SETUGID = 374 // { int __setugid(int flag); }
-- SYS_EACCESS = 376 // { int eaccess(char *path, int amode); }
-- SYS_NMOUNT = 378 // { int nmount(struct iovec *iovp, \
-- SYS___MAC_GET_PROC = 384 // { int __mac_get_proc(struct mac *mac_p); }
-- SYS___MAC_SET_PROC = 385 // { int __mac_set_proc(struct mac *mac_p); }
-- SYS___MAC_GET_FD = 386 // { int __mac_get_fd(int fd, \
-- SYS___MAC_GET_FILE = 387 // { int __mac_get_file(const char *path_p, \
-- SYS___MAC_SET_FD = 388 // { int __mac_set_fd(int fd, \
-- SYS___MAC_SET_FILE = 389 // { int __mac_set_file(const char *path_p, \
-- SYS_KENV = 390 // { int kenv(int what, const char *name, \
-- SYS_LCHFLAGS = 391 // { int lchflags(const char *path, \
-- SYS_UUIDGEN = 392 // { int uuidgen(struct uuid *store, \
-- SYS_SENDFILE = 393 // { int sendfile(int fd, int s, off_t offset, \
-- SYS_MAC_SYSCALL = 394 // { int mac_syscall(const char *policy, \
-- SYS_GETFSSTAT = 395 // { int getfsstat(struct statfs *buf, \
-- SYS_STATFS = 396 // { int statfs(char *path, \
-- SYS_FSTATFS = 397 // { int fstatfs(int fd, struct statfs *buf); }
-- SYS_FHSTATFS = 398 // { int fhstatfs(const struct fhandle *u_fhp, \
-- SYS___MAC_GET_PID = 409 // { int __mac_get_pid(pid_t pid, \
-- SYS___MAC_GET_LINK = 410 // { int __mac_get_link(const char *path_p, \
-- SYS___MAC_SET_LINK = 411 // { int __mac_set_link(const char *path_p, \
-- SYS_EXTATTR_SET_LINK = 412 // { ssize_t extattr_set_link( \
-- SYS_EXTATTR_GET_LINK = 413 // { ssize_t extattr_get_link( \
-- SYS_EXTATTR_DELETE_LINK = 414 // { int extattr_delete_link( \
-- SYS___MAC_EXECVE = 415 // { int __mac_execve(char *fname, char **argv, \
-- SYS_SIGACTION = 416 // { int sigaction(int sig, \
-- SYS_SIGRETURN = 417 // { int sigreturn( \
-- SYS_GETCONTEXT = 421 // { int getcontext(struct __ucontext *ucp); }
-- SYS_SETCONTEXT = 422 // { int setcontext( \
-- SYS_SWAPCONTEXT = 423 // { int swapcontext(struct __ucontext *oucp, \
-- SYS_SWAPOFF = 424 // { int swapoff(const char *name); }
-- SYS___ACL_GET_LINK = 425 // { int __acl_get_link(const char *path, \
-- SYS___ACL_SET_LINK = 426 // { int __acl_set_link(const char *path, \
-- SYS___ACL_DELETE_LINK = 427 // { int __acl_delete_link(const char *path, \
-- SYS___ACL_ACLCHECK_LINK = 428 // { int __acl_aclcheck_link(const char *path, \
-- SYS_SIGWAIT = 429 // { int sigwait(const sigset_t *set, \
-- SYS_THR_CREATE = 430 // { int thr_create(ucontext_t *ctx, long *id, \
-- SYS_THR_EXIT = 431 // { void thr_exit(long *state); }
-- SYS_THR_SELF = 432 // { int thr_self(long *id); }
-- SYS_THR_KILL = 433 // { int thr_kill(long id, int sig); }
-- SYS__UMTX_LOCK = 434 // { int _umtx_lock(struct umtx *umtx); }
-- SYS__UMTX_UNLOCK = 435 // { int _umtx_unlock(struct umtx *umtx); }
-- SYS_JAIL_ATTACH = 436 // { int jail_attach(int jid); }
-- SYS_EXTATTR_LIST_FD = 437 // { ssize_t extattr_list_fd(int fd, \
-- SYS_EXTATTR_LIST_FILE = 438 // { ssize_t extattr_list_file( \
-- SYS_EXTATTR_LIST_LINK = 439 // { ssize_t extattr_list_link( \
-- SYS_THR_SUSPEND = 442 // { int thr_suspend( \
-- SYS_THR_WAKE = 443 // { int thr_wake(long id); }
-- SYS_KLDUNLOADF = 444 // { int kldunloadf(int fileid, int flags); }
-- SYS_AUDIT = 445 // { int audit(const void *record, \
-- SYS_AUDITON = 446 // { int auditon(int cmd, void *data, \
-- SYS_GETAUID = 447 // { int getauid(uid_t *auid); }
-- SYS_SETAUID = 448 // { int setauid(uid_t *auid); }
-- SYS_GETAUDIT = 449 // { int getaudit(struct auditinfo *auditinfo); }
-- SYS_SETAUDIT = 450 // { int setaudit(struct auditinfo *auditinfo); }
-- SYS_GETAUDIT_ADDR = 451 // { int getaudit_addr( \
-- SYS_SETAUDIT_ADDR = 452 // { int setaudit_addr( \
-- SYS_AUDITCTL = 453 // { int auditctl(char *path); }
-- SYS__UMTX_OP = 454 // { int _umtx_op(void *obj, int op, \
-- SYS_THR_NEW = 455 // { int thr_new(struct thr_param *param, \
-- SYS_SIGQUEUE = 456 // { int sigqueue(pid_t pid, int signum, void *value); }
-- SYS_ABORT2 = 463 // { int abort2(const char *why, int nargs, void **args); }
-- SYS_THR_SET_NAME = 464 // { int thr_set_name(long id, const char *name); }
-- SYS_RTPRIO_THREAD = 466 // { int rtprio_thread(int function, \
-- SYS_PREAD = 475 // { ssize_t pread(int fd, void *buf, \
-- SYS_PWRITE = 476 // { ssize_t pwrite(int fd, const void *buf, \
-- SYS_MMAP = 477 // { caddr_t mmap(caddr_t addr, size_t len, \
-- SYS_LSEEK = 478 // { off_t lseek(int fd, off_t offset, \
-- SYS_TRUNCATE = 479 // { int truncate(char *path, off_t length); }
-- SYS_FTRUNCATE = 480 // { int ftruncate(int fd, off_t length); }
-- SYS_THR_KILL2 = 481 // { int thr_kill2(pid_t pid, long id, int sig); }
-- SYS_SHM_OPEN = 482 // { int shm_open(const char *path, int flags, \
-- SYS_SHM_UNLINK = 483 // { int shm_unlink(const char *path); }
-- SYS_CPUSET = 484 // { int cpuset(cpusetid_t *setid); }
-- SYS_CPUSET_SETID = 485 // { int cpuset_setid(cpuwhich_t which, id_t id, \
-- SYS_CPUSET_GETID = 486 // { int cpuset_getid(cpulevel_t level, \
-- SYS_CPUSET_GETAFFINITY = 487 // { int cpuset_getaffinity(cpulevel_t level, \
-- SYS_CPUSET_SETAFFINITY = 488 // { int cpuset_setaffinity(cpulevel_t level, \
-- SYS_FACCESSAT = 489 // { int faccessat(int fd, char *path, int amode, \
-- SYS_FCHMODAT = 490 // { int fchmodat(int fd, char *path, mode_t mode, \
-- SYS_FCHOWNAT = 491 // { int fchownat(int fd, char *path, uid_t uid, \
-- SYS_FEXECVE = 492 // { int fexecve(int fd, char **argv, \
-- SYS_FSTATAT = 493 // { int fstatat(int fd, char *path, \
-- SYS_FUTIMESAT = 494 // { int futimesat(int fd, char *path, \
-- SYS_LINKAT = 495 // { int linkat(int fd1, char *path1, int fd2, \
-- SYS_MKDIRAT = 496 // { int mkdirat(int fd, char *path, mode_t mode); }
-- SYS_MKFIFOAT = 497 // { int mkfifoat(int fd, char *path, mode_t mode); }
-- SYS_MKNODAT = 498 // { int mknodat(int fd, char *path, mode_t mode, \
-- SYS_OPENAT = 499 // { int openat(int fd, char *path, int flag, \
-- SYS_READLINKAT = 500 // { int readlinkat(int fd, char *path, char *buf, \
-- SYS_RENAMEAT = 501 // { int renameat(int oldfd, char *old, int newfd, \
-- SYS_SYMLINKAT = 502 // { int symlinkat(char *path1, int fd, \
-- SYS_UNLINKAT = 503 // { int unlinkat(int fd, char *path, int flag); }
-- SYS_POSIX_OPENPT = 504 // { int posix_openpt(int flags); }
-- SYS_JAIL_GET = 506 // { int jail_get(struct iovec *iovp, \
-- SYS_JAIL_SET = 507 // { int jail_set(struct iovec *iovp, \
-- SYS_JAIL_REMOVE = 508 // { int jail_remove(int jid); }
-- SYS_CLOSEFROM = 509 // { int closefrom(int lowfd); }
-- SYS_LPATHCONF = 513 // { int lpathconf(char *path, int name); }
-- SYS___CAP_RIGHTS_GET = 515 // { int __cap_rights_get(int version, \
-- SYS_CAP_ENTER = 516 // { int cap_enter(void); }
-- SYS_CAP_GETMODE = 517 // { int cap_getmode(u_int *modep); }
-- SYS_PDFORK = 518 // { int pdfork(int *fdp, int flags); }
-- SYS_PDKILL = 519 // { int pdkill(int fd, int signum); }
-- SYS_PDGETPID = 520 // { int pdgetpid(int fd, pid_t *pidp); }
-- SYS_PSELECT = 522 // { int pselect(int nd, fd_set *in, \
-- SYS_GETLOGINCLASS = 523 // { int getloginclass(char *namebuf, \
-- SYS_SETLOGINCLASS = 524 // { int setloginclass(const char *namebuf); }
-- SYS_RCTL_GET_RACCT = 525 // { int rctl_get_racct(const void *inbufp, \
-- SYS_RCTL_GET_RULES = 526 // { int rctl_get_rules(const void *inbufp, \
-- SYS_RCTL_GET_LIMITS = 527 // { int rctl_get_limits(const void *inbufp, \
-- SYS_RCTL_ADD_RULE = 528 // { int rctl_add_rule(const void *inbufp, \
-- SYS_RCTL_REMOVE_RULE = 529 // { int rctl_remove_rule(const void *inbufp, \
-- SYS_POSIX_FALLOCATE = 530 // { int posix_fallocate(int fd, \
-- SYS_POSIX_FADVISE = 531 // { int posix_fadvise(int fd, off_t offset, \
-- SYS_WAIT6 = 532 // { int wait6(idtype_t idtype, id_t id, \
-- SYS_CAP_RIGHTS_LIMIT = 533 // { int cap_rights_limit(int fd, \
-- SYS_CAP_IOCTLS_LIMIT = 534 // { int cap_ioctls_limit(int fd, \
-- SYS_CAP_IOCTLS_GET = 535 // { ssize_t cap_ioctls_get(int fd, \
-- SYS_CAP_FCNTLS_LIMIT = 536 // { int cap_fcntls_limit(int fd, \
-- SYS_CAP_FCNTLS_GET = 537 // { int cap_fcntls_get(int fd, \
-- SYS_BINDAT = 538 // { int bindat(int fd, int s, caddr_t name, \
-- SYS_CONNECTAT = 539 // { int connectat(int fd, int s, caddr_t name, \
-- SYS_CHFLAGSAT = 540 // { int chflagsat(int fd, const char *path, \
-- SYS_ACCEPT4 = 541 // { int accept4(int s, \
-- SYS_PIPE2 = 542 // { int pipe2(int *fildes, int flags); }
-- SYS_PROCCTL = 544 // { int procctl(idtype_t idtype, id_t id, \
-- SYS_PPOLL = 545 // { int ppoll(struct pollfd *fds, u_int nfds, \
-- SYS_FUTIMENS = 546 // { int futimens(int fd, \
-- SYS_UTIMENSAT = 547 // { int utimensat(int fd, \
-+ 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_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_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_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); }
-+ 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); } umask umask_args int
-+ SYS_CHROOT = 61 // { int chroot(char *path); }
-+ SYS_MSYNC = 65 // { int msync(void *addr, size_t len, int flags); }
-+ SYS_VFORK = 66 // { 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_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_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); }
-+ 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 // { int 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_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_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_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, u_int buflen); }
-+ SYS_SCHED_SETPARAM = 327 // { int sched_setparam (pid_t pid, const struct sched_param *param); }
-+ SYS_SCHED_GETPARAM = 328 // { int sched_getparam (pid_t pid, struct sched_param *param); }
-+ SYS_SCHED_SETSCHEDULER = 329 // { int sched_setscheduler (pid_t pid, int policy, const struct sched_param *param); }
-+ SYS_SCHED_GETSCHEDULER = 330 // { int sched_getscheduler (pid_t pid); }
-+ SYS_SCHED_YIELD = 331 // { int sched_yield (void); }
-+ SYS_SCHED_GET_PRIORITY_MAX = 332 // { int sched_get_priority_max (int policy); }
-+ SYS_SCHED_GET_PRIORITY_MIN = 333 // { int sched_get_priority_min (int policy); }
-+ SYS_SCHED_RR_GET_INTERVAL = 334 // { int sched_rr_get_interval (pid_t pid, struct timespec *interval); }
-+ SYS_UTRACE = 335 // { int utrace(const void *addr, size_t len); }
-+ SYS_KLDSYM = 337 // { int kldsym(int fileid, int cmd, void *data); }
-+ SYS_JAIL = 338 // { int jail(struct jail *jail); }
-+ SYS_SIGPROCMASK = 340 // { int sigprocmask(int how, const sigset_t *set, 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_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); }
-+ 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_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); }
-+ 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_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_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_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); }
- )
-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 44883141..4a6dfd4a 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 @@
--// mksysnum_freebsd.pl
-+// go run mksysnum.go https://svn.freebsd.org/base/stable/11/sys/kern/syscalls.master
- // Code generated by the command above; see README.md. DO NOT EDIT.
-
- // +build arm,freebsd
-@@ -7,347 +7,390 @@ package unix
-
- const (
- // SYS_NOSYS = 0; // { int nosys(void); } syscall nosys_args int
-- SYS_EXIT = 1 // { void sys_exit(int rval); } exit \
-- SYS_FORK = 2 // { int fork(void); }
-- SYS_READ = 3 // { ssize_t read(int fd, void *buf, \
-- SYS_WRITE = 4 // { ssize_t write(int fd, const void *buf, \
-- SYS_OPEN = 5 // { int open(char *path, int flags, int mode); }
-- SYS_CLOSE = 6 // { int close(int fd); }
-- SYS_WAIT4 = 7 // { int wait4(int pid, int *status, \
-- SYS_LINK = 9 // { int link(char *path, char *link); }
-- SYS_UNLINK = 10 // { int unlink(char *path); }
-- SYS_CHDIR = 12 // { int chdir(char *path); }
-- SYS_FCHDIR = 13 // { int fchdir(int fd); }
-- SYS_MKNOD = 14 // { int mknod(char *path, int mode, int dev); }
-- SYS_CHMOD = 15 // { int chmod(char *path, int mode); }
-- SYS_CHOWN = 16 // { int chown(char *path, int uid, int gid); }
-- SYS_OBREAK = 17 // { int obreak(char *nsize); } break \
-- SYS_GETPID = 20 // { pid_t getpid(void); }
-- SYS_MOUNT = 21 // { int mount(char *type, char *path, \
-- SYS_UNMOUNT = 22 // { int unmount(char *path, int flags); }
-- SYS_SETUID = 23 // { int setuid(uid_t uid); }
-- SYS_GETUID = 24 // { uid_t getuid(void); }
-- SYS_GETEUID = 25 // { uid_t geteuid(void); }
-- SYS_PTRACE = 26 // { int ptrace(int req, pid_t pid, \
-- SYS_RECVMSG = 27 // { int recvmsg(int s, struct msghdr *msg, \
-- SYS_SENDMSG = 28 // { int sendmsg(int s, struct msghdr *msg, \
-- SYS_RECVFROM = 29 // { int recvfrom(int s, caddr_t buf, \
-- SYS_ACCEPT = 30 // { int accept(int s, \
-- SYS_GETPEERNAME = 31 // { int getpeername(int fdes, \
-- SYS_GETSOCKNAME = 32 // { int getsockname(int fdes, \
-- SYS_ACCESS = 33 // { int access(char *path, int amode); }
-- SYS_CHFLAGS = 34 // { int chflags(const char *path, u_long flags); }
-- SYS_FCHFLAGS = 35 // { int fchflags(int fd, u_long flags); }
-- SYS_SYNC = 36 // { int sync(void); }
-- SYS_KILL = 37 // { int kill(int pid, int signum); }
-- SYS_GETPPID = 39 // { pid_t getppid(void); }
-- SYS_DUP = 41 // { int dup(u_int fd); }
-- SYS_PIPE = 42 // { int pipe(void); }
-- SYS_GETEGID = 43 // { gid_t getegid(void); }
-- SYS_PROFIL = 44 // { int profil(caddr_t samples, size_t size, \
-- SYS_KTRACE = 45 // { int ktrace(const char *fname, int ops, \
-- SYS_GETGID = 47 // { gid_t getgid(void); }
-- SYS_GETLOGIN = 49 // { int getlogin(char *namebuf, u_int \
-- SYS_SETLOGIN = 50 // { int setlogin(char *namebuf); }
-- SYS_ACCT = 51 // { int acct(char *path); }
-- SYS_SIGALTSTACK = 53 // { int sigaltstack(stack_t *ss, \
-- SYS_IOCTL = 54 // { int ioctl(int fd, u_long com, \
-- SYS_REBOOT = 55 // { int reboot(int opt); }
-- SYS_REVOKE = 56 // { int revoke(char *path); }
-- SYS_SYMLINK = 57 // { int symlink(char *path, char *link); }
-- SYS_READLINK = 58 // { ssize_t readlink(char *path, char *buf, \
-- SYS_EXECVE = 59 // { int execve(char *fname, char **argv, \
-- SYS_UMASK = 60 // { int umask(int newmask); } umask umask_args \
-- SYS_CHROOT = 61 // { int chroot(char *path); }
-- SYS_MSYNC = 65 // { int msync(void *addr, size_t len, \
-- SYS_VFORK = 66 // { int vfork(void); }
-- SYS_SBRK = 69 // { int sbrk(int incr); }
-- SYS_SSTK = 70 // { int sstk(int incr); }
-- SYS_OVADVISE = 72 // { int ovadvise(int anom); } vadvise \
-- SYS_MUNMAP = 73 // { int munmap(void *addr, size_t len); }
-- SYS_MPROTECT = 74 // { int mprotect(const void *addr, size_t len, \
-- SYS_MADVISE = 75 // { int madvise(void *addr, size_t len, \
-- SYS_MINCORE = 78 // { int mincore(const void *addr, size_t len, \
-- SYS_GETGROUPS = 79 // { int getgroups(u_int gidsetsize, \
-- SYS_SETGROUPS = 80 // { int setgroups(u_int gidsetsize, \
-- SYS_GETPGRP = 81 // { int getpgrp(void); }
-- SYS_SETPGID = 82 // { int setpgid(int pid, int pgid); }
-- SYS_SETITIMER = 83 // { int setitimer(u_int which, struct \
-- SYS_SWAPON = 85 // { int swapon(char *name); }
-- SYS_GETITIMER = 86 // { int getitimer(u_int which, \
-- SYS_GETDTABLESIZE = 89 // { int getdtablesize(void); }
-- SYS_DUP2 = 90 // { int dup2(u_int from, u_int to); }
-- SYS_FCNTL = 92 // { int fcntl(int fd, int cmd, long arg); }
-- SYS_SELECT = 93 // { int select(int nd, fd_set *in, fd_set *ou, \
-- SYS_FSYNC = 95 // { int fsync(int fd); }
-- SYS_SETPRIORITY = 96 // { int setpriority(int which, int who, \
-- SYS_SOCKET = 97 // { int socket(int domain, int type, \
-- SYS_CONNECT = 98 // { int connect(int s, caddr_t name, \
-- SYS_GETPRIORITY = 100 // { int getpriority(int which, int who); }
-- SYS_BIND = 104 // { int bind(int s, caddr_t name, \
-- SYS_SETSOCKOPT = 105 // { int setsockopt(int s, int level, int name, \
-- SYS_LISTEN = 106 // { int listen(int s, int backlog); }
-- SYS_GETTIMEOFDAY = 116 // { int gettimeofday(struct timeval *tp, \
-- SYS_GETRUSAGE = 117 // { int getrusage(int who, \
-- SYS_GETSOCKOPT = 118 // { int getsockopt(int s, int level, int name, \
-- SYS_READV = 120 // { int readv(int fd, struct iovec *iovp, \
-- SYS_WRITEV = 121 // { int writev(int fd, struct iovec *iovp, \
-- SYS_SETTIMEOFDAY = 122 // { int settimeofday(struct timeval *tv, \
-- SYS_FCHOWN = 123 // { int fchown(int fd, int uid, int gid); }
-- SYS_FCHMOD = 124 // { int fchmod(int fd, int mode); }
-- SYS_SETREUID = 126 // { int setreuid(int ruid, int euid); }
-- SYS_SETREGID = 127 // { int setregid(int rgid, int egid); }
-- SYS_RENAME = 128 // { int rename(char *from, char *to); }
-- SYS_FLOCK = 131 // { int flock(int fd, int how); }
-- SYS_MKFIFO = 132 // { int mkfifo(char *path, int mode); }
-- SYS_SENDTO = 133 // { int sendto(int s, caddr_t buf, size_t len, \
-- SYS_SHUTDOWN = 134 // { int shutdown(int s, int how); }
-- SYS_SOCKETPAIR = 135 // { int socketpair(int domain, int type, \
-- SYS_MKDIR = 136 // { int mkdir(char *path, int mode); }
-- SYS_RMDIR = 137 // { int rmdir(char *path); }
-- SYS_UTIMES = 138 // { int utimes(char *path, \
-- SYS_ADJTIME = 140 // { int adjtime(struct timeval *delta, \
-- SYS_SETSID = 147 // { int setsid(void); }
-- SYS_QUOTACTL = 148 // { int quotactl(char *path, int cmd, int uid, \
-- SYS_LGETFH = 160 // { int lgetfh(char *fname, \
-- SYS_GETFH = 161 // { int getfh(char *fname, \
-- SYS_SYSARCH = 165 // { int sysarch(int op, char *parms); }
-- SYS_RTPRIO = 166 // { int rtprio(int function, pid_t pid, \
-- SYS_FREEBSD6_PREAD = 173 // { ssize_t freebsd6_pread(int fd, void *buf, \
-- SYS_FREEBSD6_PWRITE = 174 // { ssize_t freebsd6_pwrite(int fd, \
-- SYS_SETFIB = 175 // { int setfib(int fibnum); }
-- SYS_NTP_ADJTIME = 176 // { int ntp_adjtime(struct timex *tp); }
-- SYS_SETGID = 181 // { int setgid(gid_t gid); }
-- SYS_SETEGID = 182 // { int setegid(gid_t egid); }
-- SYS_SETEUID = 183 // { int seteuid(uid_t euid); }
-- SYS_STAT = 188 // { int stat(char *path, struct stat *ub); }
-- SYS_FSTAT = 189 // { int fstat(int fd, struct stat *sb); }
-- SYS_LSTAT = 190 // { int lstat(char *path, struct stat *ub); }
-- SYS_PATHCONF = 191 // { int pathconf(char *path, int name); }
-- SYS_FPATHCONF = 192 // { int fpathconf(int fd, int name); }
-- SYS_GETRLIMIT = 194 // { int getrlimit(u_int which, \
-- SYS_SETRLIMIT = 195 // { int setrlimit(u_int which, \
-- SYS_GETDIRENTRIES = 196 // { int getdirentries(int fd, char *buf, \
-- SYS_FREEBSD6_MMAP = 197 // { caddr_t freebsd6_mmap(caddr_t addr, \
-- SYS_FREEBSD6_LSEEK = 199 // { off_t freebsd6_lseek(int fd, int pad, \
-- SYS_FREEBSD6_TRUNCATE = 200 // { int freebsd6_truncate(char *path, int pad, \
-- SYS_FREEBSD6_FTRUNCATE = 201 // { int freebsd6_ftruncate(int fd, int pad, \
-- SYS___SYSCTL = 202 // { int __sysctl(int *name, u_int namelen, \
-- SYS_MLOCK = 203 // { int mlock(const void *addr, size_t len); }
-- SYS_MUNLOCK = 204 // { int munlock(const void *addr, size_t len); }
-- SYS_UNDELETE = 205 // { int undelete(char *path); }
-- SYS_FUTIMES = 206 // { int futimes(int fd, struct timeval *tptr); }
-- SYS_GETPGID = 207 // { int getpgid(pid_t pid); }
-- SYS_POLL = 209 // { int poll(struct pollfd *fds, u_int nfds, \
-- SYS_CLOCK_GETTIME = 232 // { int clock_gettime(clockid_t clock_id, \
-- SYS_CLOCK_SETTIME = 233 // { int clock_settime( \
-- SYS_CLOCK_GETRES = 234 // { int clock_getres(clockid_t clock_id, \
-- SYS_KTIMER_CREATE = 235 // { int ktimer_create(clockid_t clock_id, \
-- SYS_KTIMER_DELETE = 236 // { int ktimer_delete(int timerid); }
-- SYS_KTIMER_SETTIME = 237 // { int ktimer_settime(int timerid, int flags, \
-- SYS_KTIMER_GETTIME = 238 // { int ktimer_gettime(int timerid, struct \
-- SYS_KTIMER_GETOVERRUN = 239 // { int ktimer_getoverrun(int timerid); }
-- SYS_NANOSLEEP = 240 // { int nanosleep(const struct timespec *rqtp, \
-- SYS_FFCLOCK_GETCOUNTER = 241 // { int ffclock_getcounter(ffcounter *ffcount); }
-- SYS_FFCLOCK_SETESTIMATE = 242 // { int ffclock_setestimate( \
-- SYS_FFCLOCK_GETESTIMATE = 243 // { int ffclock_getestimate( \
-- SYS_CLOCK_GETCPUCLOCKID2 = 247 // { int clock_getcpuclockid2(id_t id,\
-- SYS_NTP_GETTIME = 248 // { int ntp_gettime(struct ntptimeval *ntvp); }
-- SYS_MINHERIT = 250 // { int minherit(void *addr, size_t len, \
-- SYS_RFORK = 251 // { int rfork(int flags); }
-- SYS_OPENBSD_POLL = 252 // { int openbsd_poll(struct pollfd *fds, \
-- SYS_ISSETUGID = 253 // { int issetugid(void); }
-- SYS_LCHOWN = 254 // { int lchown(char *path, int uid, int gid); }
-- SYS_GETDENTS = 272 // { int getdents(int fd, char *buf, \
-- SYS_LCHMOD = 274 // { int lchmod(char *path, mode_t mode); }
-- SYS_LUTIMES = 276 // { int lutimes(char *path, \
-- SYS_NSTAT = 278 // { int nstat(char *path, struct nstat *ub); }
-- SYS_NFSTAT = 279 // { int nfstat(int fd, struct nstat *sb); }
-- SYS_NLSTAT = 280 // { int nlstat(char *path, struct nstat *ub); }
-- SYS_PREADV = 289 // { ssize_t preadv(int fd, struct iovec *iovp, \
-- SYS_PWRITEV = 290 // { ssize_t pwritev(int fd, struct iovec *iovp, \
-- SYS_FHOPEN = 298 // { int fhopen(const struct fhandle *u_fhp, \
-- SYS_FHSTAT = 299 // { int fhstat(const struct fhandle *u_fhp, \
-- SYS_MODNEXT = 300 // { int modnext(int modid); }
-- SYS_MODSTAT = 301 // { int modstat(int modid, \
-- SYS_MODFNEXT = 302 // { int modfnext(int modid); }
-- SYS_MODFIND = 303 // { int modfind(const char *name); }
-- SYS_KLDLOAD = 304 // { int kldload(const char *file); }
-- SYS_KLDUNLOAD = 305 // { int kldunload(int fileid); }
-- SYS_KLDFIND = 306 // { int kldfind(const char *file); }
-- SYS_KLDNEXT = 307 // { int kldnext(int fileid); }
-- SYS_KLDSTAT = 308 // { int kldstat(int fileid, struct \
-- SYS_KLDFIRSTMOD = 309 // { int kldfirstmod(int fileid); }
-- SYS_GETSID = 310 // { int getsid(pid_t pid); }
-- SYS_SETRESUID = 311 // { int setresuid(uid_t ruid, uid_t euid, \
-- SYS_SETRESGID = 312 // { int setresgid(gid_t rgid, gid_t egid, \
-- SYS_YIELD = 321 // { int yield(void); }
-- SYS_MLOCKALL = 324 // { int mlockall(int how); }
-- SYS_MUNLOCKALL = 325 // { int munlockall(void); }
-- SYS___GETCWD = 326 // { int __getcwd(char *buf, u_int buflen); }
-- SYS_SCHED_SETPARAM = 327 // { int sched_setparam (pid_t pid, \
-- SYS_SCHED_GETPARAM = 328 // { int sched_getparam (pid_t pid, struct \
-- SYS_SCHED_SETSCHEDULER = 329 // { int sched_setscheduler (pid_t pid, int \
-- SYS_SCHED_GETSCHEDULER = 330 // { int sched_getscheduler (pid_t pid); }
-- SYS_SCHED_YIELD = 331 // { int sched_yield (void); }
-- SYS_SCHED_GET_PRIORITY_MAX = 332 // { int sched_get_priority_max (int policy); }
-- SYS_SCHED_GET_PRIORITY_MIN = 333 // { int sched_get_priority_min (int policy); }
-- SYS_SCHED_RR_GET_INTERVAL = 334 // { int sched_rr_get_interval (pid_t pid, \
-- SYS_UTRACE = 335 // { int utrace(const void *addr, size_t len); }
-- SYS_KLDSYM = 337 // { int kldsym(int fileid, int cmd, \
-- SYS_JAIL = 338 // { int jail(struct jail *jail); }
-- SYS_SIGPROCMASK = 340 // { int sigprocmask(int how, \
-- SYS_SIGSUSPEND = 341 // { int sigsuspend(const sigset_t *sigmask); }
-- SYS_SIGPENDING = 343 // { int sigpending(sigset_t *set); }
-- SYS_SIGTIMEDWAIT = 345 // { int sigtimedwait(const sigset_t *set, \
-- SYS_SIGWAITINFO = 346 // { int sigwaitinfo(const sigset_t *set, \
-- SYS___ACL_GET_FILE = 347 // { int __acl_get_file(const char *path, \
-- SYS___ACL_SET_FILE = 348 // { int __acl_set_file(const char *path, \
-- SYS___ACL_GET_FD = 349 // { int __acl_get_fd(int filedes, \
-- SYS___ACL_SET_FD = 350 // { int __acl_set_fd(int filedes, \
-- SYS___ACL_DELETE_FILE = 351 // { int __acl_delete_file(const char *path, \
-- SYS___ACL_DELETE_FD = 352 // { int __acl_delete_fd(int filedes, \
-- SYS___ACL_ACLCHECK_FILE = 353 // { int __acl_aclcheck_file(const char *path, \
-- SYS___ACL_ACLCHECK_FD = 354 // { int __acl_aclcheck_fd(int filedes, \
-- SYS_EXTATTRCTL = 355 // { int extattrctl(const char *path, int cmd, \
-- SYS_EXTATTR_SET_FILE = 356 // { ssize_t extattr_set_file( \
-- SYS_EXTATTR_GET_FILE = 357 // { ssize_t extattr_get_file( \
-- SYS_EXTATTR_DELETE_FILE = 358 // { int extattr_delete_file(const char *path, \
-- SYS_GETRESUID = 360 // { int getresuid(uid_t *ruid, uid_t *euid, \
-- SYS_GETRESGID = 361 // { int getresgid(gid_t *rgid, gid_t *egid, \
-- SYS_KQUEUE = 362 // { int kqueue(void); }
-- SYS_KEVENT = 363 // { int kevent(int fd, \
-- SYS_EXTATTR_SET_FD = 371 // { ssize_t extattr_set_fd(int fd, \
-- SYS_EXTATTR_GET_FD = 372 // { ssize_t extattr_get_fd(int fd, \
-- SYS_EXTATTR_DELETE_FD = 373 // { int extattr_delete_fd(int fd, \
-- SYS___SETUGID = 374 // { int __setugid(int flag); }
-- SYS_EACCESS = 376 // { int eaccess(char *path, int amode); }
-- SYS_NMOUNT = 378 // { int nmount(struct iovec *iovp, \
-- SYS___MAC_GET_PROC = 384 // { int __mac_get_proc(struct mac *mac_p); }
-- SYS___MAC_SET_PROC = 385 // { int __mac_set_proc(struct mac *mac_p); }
-- SYS___MAC_GET_FD = 386 // { int __mac_get_fd(int fd, \
-- SYS___MAC_GET_FILE = 387 // { int __mac_get_file(const char *path_p, \
-- SYS___MAC_SET_FD = 388 // { int __mac_set_fd(int fd, \
-- SYS___MAC_SET_FILE = 389 // { int __mac_set_file(const char *path_p, \
-- SYS_KENV = 390 // { int kenv(int what, const char *name, \
-- SYS_LCHFLAGS = 391 // { int lchflags(const char *path, \
-- SYS_UUIDGEN = 392 // { int uuidgen(struct uuid *store, \
-- SYS_SENDFILE = 393 // { int sendfile(int fd, int s, off_t offset, \
-- SYS_MAC_SYSCALL = 394 // { int mac_syscall(const char *policy, \
-- SYS_GETFSSTAT = 395 // { int getfsstat(struct statfs *buf, \
-- SYS_STATFS = 396 // { int statfs(char *path, \
-- SYS_FSTATFS = 397 // { int fstatfs(int fd, struct statfs *buf); }
-- SYS_FHSTATFS = 398 // { int fhstatfs(const struct fhandle *u_fhp, \
-- SYS___MAC_GET_PID = 409 // { int __mac_get_pid(pid_t pid, \
-- SYS___MAC_GET_LINK = 410 // { int __mac_get_link(const char *path_p, \
-- SYS___MAC_SET_LINK = 411 // { int __mac_set_link(const char *path_p, \
-- SYS_EXTATTR_SET_LINK = 412 // { ssize_t extattr_set_link( \
-- SYS_EXTATTR_GET_LINK = 413 // { ssize_t extattr_get_link( \
-- SYS_EXTATTR_DELETE_LINK = 414 // { int extattr_delete_link( \
-- SYS___MAC_EXECVE = 415 // { int __mac_execve(char *fname, char **argv, \
-- SYS_SIGACTION = 416 // { int sigaction(int sig, \
-- SYS_SIGRETURN = 417 // { int sigreturn( \
-- SYS_GETCONTEXT = 421 // { int getcontext(struct __ucontext *ucp); }
-- SYS_SETCONTEXT = 422 // { int setcontext( \
-- SYS_SWAPCONTEXT = 423 // { int swapcontext(struct __ucontext *oucp, \
-- SYS_SWAPOFF = 424 // { int swapoff(const char *name); }
-- SYS___ACL_GET_LINK = 425 // { int __acl_get_link(const char *path, \
-- SYS___ACL_SET_LINK = 426 // { int __acl_set_link(const char *path, \
-- SYS___ACL_DELETE_LINK = 427 // { int __acl_delete_link(const char *path, \
-- SYS___ACL_ACLCHECK_LINK = 428 // { int __acl_aclcheck_link(const char *path, \
-- SYS_SIGWAIT = 429 // { int sigwait(const sigset_t *set, \
-- SYS_THR_CREATE = 430 // { int thr_create(ucontext_t *ctx, long *id, \
-- SYS_THR_EXIT = 431 // { void thr_exit(long *state); }
-- SYS_THR_SELF = 432 // { int thr_self(long *id); }
-- SYS_THR_KILL = 433 // { int thr_kill(long id, int sig); }
-- SYS__UMTX_LOCK = 434 // { int _umtx_lock(struct umtx *umtx); }
-- SYS__UMTX_UNLOCK = 435 // { int _umtx_unlock(struct umtx *umtx); }
-- SYS_JAIL_ATTACH = 436 // { int jail_attach(int jid); }
-- SYS_EXTATTR_LIST_FD = 437 // { ssize_t extattr_list_fd(int fd, \
-- SYS_EXTATTR_LIST_FILE = 438 // { ssize_t extattr_list_file( \
-- SYS_EXTATTR_LIST_LINK = 439 // { ssize_t extattr_list_link( \
-- SYS_THR_SUSPEND = 442 // { int thr_suspend( \
-- SYS_THR_WAKE = 443 // { int thr_wake(long id); }
-- SYS_KLDUNLOADF = 444 // { int kldunloadf(int fileid, int flags); }
-- SYS_AUDIT = 445 // { int audit(const void *record, \
-- SYS_AUDITON = 446 // { int auditon(int cmd, void *data, \
-- SYS_GETAUID = 447 // { int getauid(uid_t *auid); }
-- SYS_SETAUID = 448 // { int setauid(uid_t *auid); }
-- SYS_GETAUDIT = 449 // { int getaudit(struct auditinfo *auditinfo); }
-- SYS_SETAUDIT = 450 // { int setaudit(struct auditinfo *auditinfo); }
-- SYS_GETAUDIT_ADDR = 451 // { int getaudit_addr( \
-- SYS_SETAUDIT_ADDR = 452 // { int setaudit_addr( \
-- SYS_AUDITCTL = 453 // { int auditctl(char *path); }
-- SYS__UMTX_OP = 454 // { int _umtx_op(void *obj, int op, \
-- SYS_THR_NEW = 455 // { int thr_new(struct thr_param *param, \
-- SYS_SIGQUEUE = 456 // { int sigqueue(pid_t pid, int signum, void *value); }
-- SYS_ABORT2 = 463 // { int abort2(const char *why, int nargs, void **args); }
-- SYS_THR_SET_NAME = 464 // { int thr_set_name(long id, const char *name); }
-- SYS_RTPRIO_THREAD = 466 // { int rtprio_thread(int function, \
-- SYS_PREAD = 475 // { ssize_t pread(int fd, void *buf, \
-- SYS_PWRITE = 476 // { ssize_t pwrite(int fd, const void *buf, \
-- SYS_MMAP = 477 // { caddr_t mmap(caddr_t addr, size_t len, \
-- SYS_LSEEK = 478 // { off_t lseek(int fd, off_t offset, \
-- SYS_TRUNCATE = 479 // { int truncate(char *path, off_t length); }
-- SYS_FTRUNCATE = 480 // { int ftruncate(int fd, off_t length); }
-- SYS_THR_KILL2 = 481 // { int thr_kill2(pid_t pid, long id, int sig); }
-- SYS_SHM_OPEN = 482 // { int shm_open(const char *path, int flags, \
-- SYS_SHM_UNLINK = 483 // { int shm_unlink(const char *path); }
-- SYS_CPUSET = 484 // { int cpuset(cpusetid_t *setid); }
-- SYS_CPUSET_SETID = 485 // { int cpuset_setid(cpuwhich_t which, id_t id, \
-- SYS_CPUSET_GETID = 486 // { int cpuset_getid(cpulevel_t level, \
-- SYS_CPUSET_GETAFFINITY = 487 // { int cpuset_getaffinity(cpulevel_t level, \
-- SYS_CPUSET_SETAFFINITY = 488 // { int cpuset_setaffinity(cpulevel_t level, \
-- SYS_FACCESSAT = 489 // { int faccessat(int fd, char *path, int amode, \
-- SYS_FCHMODAT = 490 // { int fchmodat(int fd, char *path, mode_t mode, \
-- SYS_FCHOWNAT = 491 // { int fchownat(int fd, char *path, uid_t uid, \
-- SYS_FEXECVE = 492 // { int fexecve(int fd, char **argv, \
-- SYS_FSTATAT = 493 // { int fstatat(int fd, char *path, \
-- SYS_FUTIMESAT = 494 // { int futimesat(int fd, char *path, \
-- SYS_LINKAT = 495 // { int linkat(int fd1, char *path1, int fd2, \
-- SYS_MKDIRAT = 496 // { int mkdirat(int fd, char *path, mode_t mode); }
-- SYS_MKFIFOAT = 497 // { int mkfifoat(int fd, char *path, mode_t mode); }
-- SYS_MKNODAT = 498 // { int mknodat(int fd, char *path, mode_t mode, \
-- SYS_OPENAT = 499 // { int openat(int fd, char *path, int flag, \
-- SYS_READLINKAT = 500 // { int readlinkat(int fd, char *path, char *buf, \
-- SYS_RENAMEAT = 501 // { int renameat(int oldfd, char *old, int newfd, \
-- SYS_SYMLINKAT = 502 // { int symlinkat(char *path1, int fd, \
-- SYS_UNLINKAT = 503 // { int unlinkat(int fd, char *path, int flag); }
-- SYS_POSIX_OPENPT = 504 // { int posix_openpt(int flags); }
-- SYS_JAIL_GET = 506 // { int jail_get(struct iovec *iovp, \
-- SYS_JAIL_SET = 507 // { int jail_set(struct iovec *iovp, \
-- SYS_JAIL_REMOVE = 508 // { int jail_remove(int jid); }
-- SYS_CLOSEFROM = 509 // { int closefrom(int lowfd); }
-- SYS_LPATHCONF = 513 // { int lpathconf(char *path, int name); }
-- SYS___CAP_RIGHTS_GET = 515 // { int __cap_rights_get(int version, \
-- SYS_CAP_ENTER = 516 // { int cap_enter(void); }
-- SYS_CAP_GETMODE = 517 // { int cap_getmode(u_int *modep); }
-- SYS_PDFORK = 518 // { int pdfork(int *fdp, int flags); }
-- SYS_PDKILL = 519 // { int pdkill(int fd, int signum); }
-- SYS_PDGETPID = 520 // { int pdgetpid(int fd, pid_t *pidp); }
-- SYS_PSELECT = 522 // { int pselect(int nd, fd_set *in, \
-- SYS_GETLOGINCLASS = 523 // { int getloginclass(char *namebuf, \
-- SYS_SETLOGINCLASS = 524 // { int setloginclass(const char *namebuf); }
-- SYS_RCTL_GET_RACCT = 525 // { int rctl_get_racct(const void *inbufp, \
-- SYS_RCTL_GET_RULES = 526 // { int rctl_get_rules(const void *inbufp, \
-- SYS_RCTL_GET_LIMITS = 527 // { int rctl_get_limits(const void *inbufp, \
-- SYS_RCTL_ADD_RULE = 528 // { int rctl_add_rule(const void *inbufp, \
-- SYS_RCTL_REMOVE_RULE = 529 // { int rctl_remove_rule(const void *inbufp, \
-- SYS_POSIX_FALLOCATE = 530 // { int posix_fallocate(int fd, \
-- SYS_POSIX_FADVISE = 531 // { int posix_fadvise(int fd, off_t offset, \
-- SYS_WAIT6 = 532 // { int wait6(idtype_t idtype, id_t id, \
-- SYS_CAP_RIGHTS_LIMIT = 533 // { int cap_rights_limit(int fd, \
-- SYS_CAP_IOCTLS_LIMIT = 534 // { int cap_ioctls_limit(int fd, \
-- SYS_CAP_IOCTLS_GET = 535 // { ssize_t cap_ioctls_get(int fd, \
-- SYS_CAP_FCNTLS_LIMIT = 536 // { int cap_fcntls_limit(int fd, \
-- SYS_CAP_FCNTLS_GET = 537 // { int cap_fcntls_get(int fd, \
-- SYS_BINDAT = 538 // { int bindat(int fd, int s, caddr_t name, \
-- SYS_CONNECTAT = 539 // { int connectat(int fd, int s, caddr_t name, \
-- SYS_CHFLAGSAT = 540 // { int chflagsat(int fd, const char *path, \
-- SYS_ACCEPT4 = 541 // { int accept4(int s, \
-- SYS_PIPE2 = 542 // { int pipe2(int *fildes, int flags); }
-- SYS_PROCCTL = 544 // { int procctl(idtype_t idtype, id_t id, \
-- SYS_PPOLL = 545 // { int ppoll(struct pollfd *fds, u_int nfds, \
-- SYS_FUTIMENS = 546 // { int futimens(int fd, \
-- SYS_UTIMENSAT = 547 // { int utimensat(int fd, \
-+ 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_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_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_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); }
-+ 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); } umask umask_args int
-+ SYS_CHROOT = 61 // { int chroot(char *path); }
-+ SYS_MSYNC = 65 // { int msync(void *addr, size_t len, int flags); }
-+ SYS_VFORK = 66 // { 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_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_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); }
-+ 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 // { int 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_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_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_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, u_int buflen); }
-+ SYS_SCHED_SETPARAM = 327 // { int sched_setparam (pid_t pid, const struct sched_param *param); }
-+ SYS_SCHED_GETPARAM = 328 // { int sched_getparam (pid_t pid, struct sched_param *param); }
-+ SYS_SCHED_SETSCHEDULER = 329 // { int sched_setscheduler (pid_t pid, int policy, const struct sched_param *param); }
-+ SYS_SCHED_GETSCHEDULER = 330 // { int sched_getscheduler (pid_t pid); }
-+ SYS_SCHED_YIELD = 331 // { int sched_yield (void); }
-+ SYS_SCHED_GET_PRIORITY_MAX = 332 // { int sched_get_priority_max (int policy); }
-+ SYS_SCHED_GET_PRIORITY_MIN = 333 // { int sched_get_priority_min (int policy); }
-+ SYS_SCHED_RR_GET_INTERVAL = 334 // { int sched_rr_get_interval (pid_t pid, struct timespec *interval); }
-+ SYS_UTRACE = 335 // { int utrace(const void *addr, size_t len); }
-+ SYS_KLDSYM = 337 // { int kldsym(int fileid, int cmd, void *data); }
-+ SYS_JAIL = 338 // { int jail(struct jail *jail); }
-+ SYS_SIGPROCMASK = 340 // { int sigprocmask(int how, const sigset_t *set, 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_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); }
-+ 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_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); }
-+ 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_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_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_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); }
- )
-diff --git a/vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm64.go b/vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm64.go
-new file mode 100644
-index 00000000..3e51af8e
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm64.go
-@@ -0,0 +1,396 @@
-+// go run mksysnum.go https://svn.freebsd.org/base/stable/11/sys/kern/syscalls.master
-+// Code generated by the command above; see README.md. DO NOT EDIT.
-+
-+// +build arm64,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_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_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_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); }
-+ 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); } umask umask_args int
-+ SYS_CHROOT = 61 // { int chroot(char *path); }
-+ SYS_MSYNC = 65 // { int msync(void *addr, size_t len, int flags); }
-+ SYS_VFORK = 66 // { 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_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_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); }
-+ 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 // { int 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_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_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_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, u_int buflen); }
-+ SYS_SCHED_SETPARAM = 327 // { int sched_setparam (pid_t pid, const struct sched_param *param); }
-+ SYS_SCHED_GETPARAM = 328 // { int sched_getparam (pid_t pid, struct sched_param *param); }
-+ SYS_SCHED_SETSCHEDULER = 329 // { int sched_setscheduler (pid_t pid, int policy, const struct sched_param *param); }
-+ SYS_SCHED_GETSCHEDULER = 330 // { int sched_getscheduler (pid_t pid); }
-+ SYS_SCHED_YIELD = 331 // { int sched_yield (void); }
-+ SYS_SCHED_GET_PRIORITY_MAX = 332 // { int sched_get_priority_max (int policy); }
-+ SYS_SCHED_GET_PRIORITY_MIN = 333 // { int sched_get_priority_min (int policy); }
-+ SYS_SCHED_RR_GET_INTERVAL = 334 // { int sched_rr_get_interval (pid_t pid, struct timespec *interval); }
-+ SYS_UTRACE = 335 // { int utrace(const void *addr, size_t len); }
-+ SYS_KLDSYM = 337 // { int kldsym(int fileid, int cmd, void *data); }
-+ SYS_JAIL = 338 // { int jail(struct jail *jail); }
-+ SYS_SIGPROCMASK = 340 // { int sigprocmask(int how, const sigset_t *set, 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_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); }
-+ 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_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); }
-+ 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_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_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_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); }
-+)
-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 cef4fed0..54559a89 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 @@
--// linux/mksysnum.pl -Wall -Werror -static -I/tmp/include -m32 /tmp/include/asm/unistd.h
-+// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/include -m32 /tmp/include/asm/unistd.h
- // Code generated by the command above; see README.md. DO NOT EDIT.
-
- // +build 386,linux
-@@ -6,383 +6,431 @@
- package unix
-
- const (
-- SYS_RESTART_SYSCALL = 0
-- SYS_EXIT = 1
-- SYS_FORK = 2
-- SYS_READ = 3
-- SYS_WRITE = 4
-- SYS_OPEN = 5
-- SYS_CLOSE = 6
-- SYS_WAITPID = 7
-- SYS_CREAT = 8
-- SYS_LINK = 9
-- SYS_UNLINK = 10
-- SYS_EXECVE = 11
-- SYS_CHDIR = 12
-- SYS_TIME = 13
-- SYS_MKNOD = 14
-- SYS_CHMOD = 15
-- SYS_LCHOWN = 16
-- SYS_BREAK = 17
-- SYS_OLDSTAT = 18
-- SYS_LSEEK = 19
-- SYS_GETPID = 20
-- SYS_MOUNT = 21
-- SYS_UMOUNT = 22
-- SYS_SETUID = 23
-- SYS_GETUID = 24
-- SYS_STIME = 25
-- SYS_PTRACE = 26
-- SYS_ALARM = 27
-- SYS_OLDFSTAT = 28
-- SYS_PAUSE = 29
-- SYS_UTIME = 30
-- SYS_STTY = 31
-- SYS_GTTY = 32
-- SYS_ACCESS = 33
-- SYS_NICE = 34
-- SYS_FTIME = 35
-- SYS_SYNC = 36
-- SYS_KILL = 37
-- SYS_RENAME = 38
-- SYS_MKDIR = 39
-- SYS_RMDIR = 40
-- SYS_DUP = 41
-- SYS_PIPE = 42
-- SYS_TIMES = 43
-- SYS_PROF = 44
-- SYS_BRK = 45
-- SYS_SETGID = 46
-- SYS_GETGID = 47
-- SYS_SIGNAL = 48
-- SYS_GETEUID = 49
-- SYS_GETEGID = 50
-- SYS_ACCT = 51
-- SYS_UMOUNT2 = 52
-- SYS_LOCK = 53
-- SYS_IOCTL = 54
-- SYS_FCNTL = 55
-- SYS_MPX = 56
-- SYS_SETPGID = 57
-- SYS_ULIMIT = 58
-- SYS_OLDOLDUNAME = 59
-- SYS_UMASK = 60
-- SYS_CHROOT = 61
-- SYS_USTAT = 62
-- SYS_DUP2 = 63
-- SYS_GETPPID = 64
-- SYS_GETPGRP = 65
-- SYS_SETSID = 66
-- SYS_SIGACTION = 67
-- SYS_SGETMASK = 68
-- SYS_SSETMASK = 69
-- SYS_SETREUID = 70
-- SYS_SETREGID = 71
-- SYS_SIGSUSPEND = 72
-- SYS_SIGPENDING = 73
-- SYS_SETHOSTNAME = 74
-- SYS_SETRLIMIT = 75
-- SYS_GETRLIMIT = 76
-- SYS_GETRUSAGE = 77
-- SYS_GETTIMEOFDAY = 78
-- SYS_SETTIMEOFDAY = 79
-- SYS_GETGROUPS = 80
-- SYS_SETGROUPS = 81
-- SYS_SELECT = 82
-- SYS_SYMLINK = 83
-- SYS_OLDLSTAT = 84
-- SYS_READLINK = 85
-- SYS_USELIB = 86
-- SYS_SWAPON = 87
-- SYS_REBOOT = 88
-- SYS_READDIR = 89
-- SYS_MMAP = 90
-- SYS_MUNMAP = 91
-- SYS_TRUNCATE = 92
-- SYS_FTRUNCATE = 93
-- SYS_FCHMOD = 94
-- SYS_FCHOWN = 95
-- SYS_GETPRIORITY = 96
-- SYS_SETPRIORITY = 97
-- SYS_PROFIL = 98
-- SYS_STATFS = 99
-- SYS_FSTATFS = 100
-- SYS_IOPERM = 101
-- SYS_SOCKETCALL = 102
-- SYS_SYSLOG = 103
-- SYS_SETITIMER = 104
-- SYS_GETITIMER = 105
-- SYS_STAT = 106
-- SYS_LSTAT = 107
-- SYS_FSTAT = 108
-- SYS_OLDUNAME = 109
-- SYS_IOPL = 110
-- SYS_VHANGUP = 111
-- SYS_IDLE = 112
-- SYS_VM86OLD = 113
-- SYS_WAIT4 = 114
-- SYS_SWAPOFF = 115
-- SYS_SYSINFO = 116
-- SYS_IPC = 117
-- SYS_FSYNC = 118
-- SYS_SIGRETURN = 119
-- SYS_CLONE = 120
-- SYS_SETDOMAINNAME = 121
-- SYS_UNAME = 122
-- SYS_MODIFY_LDT = 123
-- SYS_ADJTIMEX = 124
-- SYS_MPROTECT = 125
-- SYS_SIGPROCMASK = 126
-- SYS_CREATE_MODULE = 127
-- SYS_INIT_MODULE = 128
-- SYS_DELETE_MODULE = 129
-- SYS_GET_KERNEL_SYMS = 130
-- SYS_QUOTACTL = 131
-- SYS_GETPGID = 132
-- SYS_FCHDIR = 133
-- SYS_BDFLUSH = 134
-- SYS_SYSFS = 135
-- SYS_PERSONALITY = 136
-- SYS_AFS_SYSCALL = 137
-- SYS_SETFSUID = 138
-- SYS_SETFSGID = 139
-- SYS__LLSEEK = 140
-- SYS_GETDENTS = 141
-- SYS__NEWSELECT = 142
-- SYS_FLOCK = 143
-- SYS_MSYNC = 144
-- SYS_READV = 145
-- SYS_WRITEV = 146
-- SYS_GETSID = 147
-- SYS_FDATASYNC = 148
-- SYS__SYSCTL = 149
-- SYS_MLOCK = 150
-- SYS_MUNLOCK = 151
-- SYS_MLOCKALL = 152
-- SYS_MUNLOCKALL = 153
-- SYS_SCHED_SETPARAM = 154
-- SYS_SCHED_GETPARAM = 155
-- SYS_SCHED_SETSCHEDULER = 156
-- SYS_SCHED_GETSCHEDULER = 157
-- SYS_SCHED_YIELD = 158
-- SYS_SCHED_GET_PRIORITY_MAX = 159
-- SYS_SCHED_GET_PRIORITY_MIN = 160
-- SYS_SCHED_RR_GET_INTERVAL = 161
-- SYS_NANOSLEEP = 162
-- SYS_MREMAP = 163
-- SYS_SETRESUID = 164
-- SYS_GETRESUID = 165
-- SYS_VM86 = 166
-- SYS_QUERY_MODULE = 167
-- SYS_POLL = 168
-- SYS_NFSSERVCTL = 169
-- SYS_SETRESGID = 170
-- SYS_GETRESGID = 171
-- SYS_PRCTL = 172
-- SYS_RT_SIGRETURN = 173
-- SYS_RT_SIGACTION = 174
-- SYS_RT_SIGPROCMASK = 175
-- SYS_RT_SIGPENDING = 176
-- SYS_RT_SIGTIMEDWAIT = 177
-- SYS_RT_SIGQUEUEINFO = 178
-- SYS_RT_SIGSUSPEND = 179
-- SYS_PREAD64 = 180
-- SYS_PWRITE64 = 181
-- SYS_CHOWN = 182
-- SYS_GETCWD = 183
-- SYS_CAPGET = 184
-- SYS_CAPSET = 185
-- SYS_SIGALTSTACK = 186
-- SYS_SENDFILE = 187
-- SYS_GETPMSG = 188
-- SYS_PUTPMSG = 189
-- SYS_VFORK = 190
-- SYS_UGETRLIMIT = 191
-- SYS_MMAP2 = 192
-- SYS_TRUNCATE64 = 193
-- SYS_FTRUNCATE64 = 194
-- SYS_STAT64 = 195
-- SYS_LSTAT64 = 196
-- SYS_FSTAT64 = 197
-- SYS_LCHOWN32 = 198
-- SYS_GETUID32 = 199
-- SYS_GETGID32 = 200
-- SYS_GETEUID32 = 201
-- SYS_GETEGID32 = 202
-- SYS_SETREUID32 = 203
-- SYS_SETREGID32 = 204
-- SYS_GETGROUPS32 = 205
-- SYS_SETGROUPS32 = 206
-- SYS_FCHOWN32 = 207
-- SYS_SETRESUID32 = 208
-- SYS_GETRESUID32 = 209
-- SYS_SETRESGID32 = 210
-- SYS_GETRESGID32 = 211
-- SYS_CHOWN32 = 212
-- SYS_SETUID32 = 213
-- SYS_SETGID32 = 214
-- SYS_SETFSUID32 = 215
-- SYS_SETFSGID32 = 216
-- SYS_PIVOT_ROOT = 217
-- SYS_MINCORE = 218
-- SYS_MADVISE = 219
-- SYS_GETDENTS64 = 220
-- SYS_FCNTL64 = 221
-- SYS_GETTID = 224
-- SYS_READAHEAD = 225
-- SYS_SETXATTR = 226
-- SYS_LSETXATTR = 227
-- SYS_FSETXATTR = 228
-- SYS_GETXATTR = 229
-- SYS_LGETXATTR = 230
-- SYS_FGETXATTR = 231
-- SYS_LISTXATTR = 232
-- SYS_LLISTXATTR = 233
-- SYS_FLISTXATTR = 234
-- SYS_REMOVEXATTR = 235
-- SYS_LREMOVEXATTR = 236
-- SYS_FREMOVEXATTR = 237
-- SYS_TKILL = 238
-- SYS_SENDFILE64 = 239
-- SYS_FUTEX = 240
-- SYS_SCHED_SETAFFINITY = 241
-- SYS_SCHED_GETAFFINITY = 242
-- SYS_SET_THREAD_AREA = 243
-- SYS_GET_THREAD_AREA = 244
-- SYS_IO_SETUP = 245
-- SYS_IO_DESTROY = 246
-- SYS_IO_GETEVENTS = 247
-- SYS_IO_SUBMIT = 248
-- SYS_IO_CANCEL = 249
-- SYS_FADVISE64 = 250
-- SYS_EXIT_GROUP = 252
-- SYS_LOOKUP_DCOOKIE = 253
-- SYS_EPOLL_CREATE = 254
-- SYS_EPOLL_CTL = 255
-- SYS_EPOLL_WAIT = 256
-- SYS_REMAP_FILE_PAGES = 257
-- SYS_SET_TID_ADDRESS = 258
-- SYS_TIMER_CREATE = 259
-- SYS_TIMER_SETTIME = 260
-- SYS_TIMER_GETTIME = 261
-- SYS_TIMER_GETOVERRUN = 262
-- SYS_TIMER_DELETE = 263
-- SYS_CLOCK_SETTIME = 264
-- SYS_CLOCK_GETTIME = 265
-- SYS_CLOCK_GETRES = 266
-- SYS_CLOCK_NANOSLEEP = 267
-- SYS_STATFS64 = 268
-- SYS_FSTATFS64 = 269
-- SYS_TGKILL = 270
-- SYS_UTIMES = 271
-- SYS_FADVISE64_64 = 272
-- SYS_VSERVER = 273
-- SYS_MBIND = 274
-- SYS_GET_MEMPOLICY = 275
-- SYS_SET_MEMPOLICY = 276
-- SYS_MQ_OPEN = 277
-- SYS_MQ_UNLINK = 278
-- SYS_MQ_TIMEDSEND = 279
-- SYS_MQ_TIMEDRECEIVE = 280
-- SYS_MQ_NOTIFY = 281
-- SYS_MQ_GETSETATTR = 282
-- SYS_KEXEC_LOAD = 283
-- SYS_WAITID = 284
-- SYS_ADD_KEY = 286
-- SYS_REQUEST_KEY = 287
-- SYS_KEYCTL = 288
-- SYS_IOPRIO_SET = 289
-- SYS_IOPRIO_GET = 290
-- SYS_INOTIFY_INIT = 291
-- SYS_INOTIFY_ADD_WATCH = 292
-- SYS_INOTIFY_RM_WATCH = 293
-- SYS_MIGRATE_PAGES = 294
-- SYS_OPENAT = 295
-- SYS_MKDIRAT = 296
-- SYS_MKNODAT = 297
-- SYS_FCHOWNAT = 298
-- SYS_FUTIMESAT = 299
-- SYS_FSTATAT64 = 300
-- SYS_UNLINKAT = 301
-- SYS_RENAMEAT = 302
-- SYS_LINKAT = 303
-- SYS_SYMLINKAT = 304
-- SYS_READLINKAT = 305
-- SYS_FCHMODAT = 306
-- SYS_FACCESSAT = 307
-- SYS_PSELECT6 = 308
-- SYS_PPOLL = 309
-- SYS_UNSHARE = 310
-- SYS_SET_ROBUST_LIST = 311
-- SYS_GET_ROBUST_LIST = 312
-- SYS_SPLICE = 313
-- SYS_SYNC_FILE_RANGE = 314
-- SYS_TEE = 315
-- SYS_VMSPLICE = 316
-- SYS_MOVE_PAGES = 317
-- SYS_GETCPU = 318
-- SYS_EPOLL_PWAIT = 319
-- SYS_UTIMENSAT = 320
-- SYS_SIGNALFD = 321
-- SYS_TIMERFD_CREATE = 322
-- SYS_EVENTFD = 323
-- SYS_FALLOCATE = 324
-- SYS_TIMERFD_SETTIME = 325
-- SYS_TIMERFD_GETTIME = 326
-- SYS_SIGNALFD4 = 327
-- SYS_EVENTFD2 = 328
-- SYS_EPOLL_CREATE1 = 329
-- SYS_DUP3 = 330
-- SYS_PIPE2 = 331
-- SYS_INOTIFY_INIT1 = 332
-- SYS_PREADV = 333
-- SYS_PWRITEV = 334
-- SYS_RT_TGSIGQUEUEINFO = 335
-- SYS_PERF_EVENT_OPEN = 336
-- SYS_RECVMMSG = 337
-- SYS_FANOTIFY_INIT = 338
-- SYS_FANOTIFY_MARK = 339
-- SYS_PRLIMIT64 = 340
-- SYS_NAME_TO_HANDLE_AT = 341
-- SYS_OPEN_BY_HANDLE_AT = 342
-- SYS_CLOCK_ADJTIME = 343
-- SYS_SYNCFS = 344
-- SYS_SENDMMSG = 345
-- SYS_SETNS = 346
-- SYS_PROCESS_VM_READV = 347
-- SYS_PROCESS_VM_WRITEV = 348
-- SYS_KCMP = 349
-- SYS_FINIT_MODULE = 350
-- SYS_SCHED_SETATTR = 351
-- SYS_SCHED_GETATTR = 352
-- SYS_RENAMEAT2 = 353
-- SYS_SECCOMP = 354
-- SYS_GETRANDOM = 355
-- SYS_MEMFD_CREATE = 356
-- SYS_BPF = 357
-- SYS_EXECVEAT = 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_USERFAULTFD = 374
-- SYS_MEMBARRIER = 375
-- SYS_MLOCK2 = 376
-- SYS_COPY_FILE_RANGE = 377
-- SYS_PREADV2 = 378
-- SYS_PWRITEV2 = 379
-- SYS_PKEY_MPROTECT = 380
-- SYS_PKEY_ALLOC = 381
-- SYS_PKEY_FREE = 382
-+ SYS_RESTART_SYSCALL = 0
-+ SYS_EXIT = 1
-+ SYS_FORK = 2
-+ SYS_READ = 3
-+ SYS_WRITE = 4
-+ SYS_OPEN = 5
-+ SYS_CLOSE = 6
-+ SYS_WAITPID = 7
-+ SYS_CREAT = 8
-+ SYS_LINK = 9
-+ SYS_UNLINK = 10
-+ SYS_EXECVE = 11
-+ SYS_CHDIR = 12
-+ SYS_TIME = 13
-+ SYS_MKNOD = 14
-+ SYS_CHMOD = 15
-+ SYS_LCHOWN = 16
-+ SYS_BREAK = 17
-+ SYS_OLDSTAT = 18
-+ SYS_LSEEK = 19
-+ SYS_GETPID = 20
-+ SYS_MOUNT = 21
-+ SYS_UMOUNT = 22
-+ SYS_SETUID = 23
-+ SYS_GETUID = 24
-+ SYS_STIME = 25
-+ SYS_PTRACE = 26
-+ SYS_ALARM = 27
-+ SYS_OLDFSTAT = 28
-+ SYS_PAUSE = 29
-+ SYS_UTIME = 30
-+ SYS_STTY = 31
-+ SYS_GTTY = 32
-+ SYS_ACCESS = 33
-+ SYS_NICE = 34
-+ SYS_FTIME = 35
-+ SYS_SYNC = 36
-+ SYS_KILL = 37
-+ SYS_RENAME = 38
-+ SYS_MKDIR = 39
-+ SYS_RMDIR = 40
-+ SYS_DUP = 41
-+ SYS_PIPE = 42
-+ SYS_TIMES = 43
-+ SYS_PROF = 44
-+ SYS_BRK = 45
-+ SYS_SETGID = 46
-+ SYS_GETGID = 47
-+ SYS_SIGNAL = 48
-+ SYS_GETEUID = 49
-+ SYS_GETEGID = 50
-+ SYS_ACCT = 51
-+ SYS_UMOUNT2 = 52
-+ SYS_LOCK = 53
-+ SYS_IOCTL = 54
-+ SYS_FCNTL = 55
-+ SYS_MPX = 56
-+ SYS_SETPGID = 57
-+ SYS_ULIMIT = 58
-+ SYS_OLDOLDUNAME = 59
-+ SYS_UMASK = 60
-+ SYS_CHROOT = 61
-+ SYS_USTAT = 62
-+ SYS_DUP2 = 63
-+ SYS_GETPPID = 64
-+ SYS_GETPGRP = 65
-+ SYS_SETSID = 66
-+ SYS_SIGACTION = 67
-+ SYS_SGETMASK = 68
-+ SYS_SSETMASK = 69
-+ SYS_SETREUID = 70
-+ SYS_SETREGID = 71
-+ SYS_SIGSUSPEND = 72
-+ SYS_SIGPENDING = 73
-+ SYS_SETHOSTNAME = 74
-+ SYS_SETRLIMIT = 75
-+ SYS_GETRLIMIT = 76
-+ SYS_GETRUSAGE = 77
-+ SYS_GETTIMEOFDAY = 78
-+ SYS_SETTIMEOFDAY = 79
-+ SYS_GETGROUPS = 80
-+ SYS_SETGROUPS = 81
-+ SYS_SELECT = 82
-+ SYS_SYMLINK = 83
-+ SYS_OLDLSTAT = 84
-+ SYS_READLINK = 85
-+ SYS_USELIB = 86
-+ SYS_SWAPON = 87
-+ SYS_REBOOT = 88
-+ SYS_READDIR = 89
-+ SYS_MMAP = 90
-+ SYS_MUNMAP = 91
-+ SYS_TRUNCATE = 92
-+ SYS_FTRUNCATE = 93
-+ SYS_FCHMOD = 94
-+ SYS_FCHOWN = 95
-+ SYS_GETPRIORITY = 96
-+ SYS_SETPRIORITY = 97
-+ SYS_PROFIL = 98
-+ SYS_STATFS = 99
-+ SYS_FSTATFS = 100
-+ SYS_IOPERM = 101
-+ SYS_SOCKETCALL = 102
-+ SYS_SYSLOG = 103
-+ SYS_SETITIMER = 104
-+ SYS_GETITIMER = 105
-+ SYS_STAT = 106
-+ SYS_LSTAT = 107
-+ SYS_FSTAT = 108
-+ SYS_OLDUNAME = 109
-+ SYS_IOPL = 110
-+ SYS_VHANGUP = 111
-+ SYS_IDLE = 112
-+ SYS_VM86OLD = 113
-+ SYS_WAIT4 = 114
-+ SYS_SWAPOFF = 115
-+ SYS_SYSINFO = 116
-+ SYS_IPC = 117
-+ SYS_FSYNC = 118
-+ SYS_SIGRETURN = 119
-+ SYS_CLONE = 120
-+ SYS_SETDOMAINNAME = 121
-+ SYS_UNAME = 122
-+ SYS_MODIFY_LDT = 123
-+ SYS_ADJTIMEX = 124
-+ SYS_MPROTECT = 125
-+ SYS_SIGPROCMASK = 126
-+ SYS_CREATE_MODULE = 127
-+ SYS_INIT_MODULE = 128
-+ SYS_DELETE_MODULE = 129
-+ SYS_GET_KERNEL_SYMS = 130
-+ SYS_QUOTACTL = 131
-+ SYS_GETPGID = 132
-+ SYS_FCHDIR = 133
-+ SYS_BDFLUSH = 134
-+ SYS_SYSFS = 135
-+ SYS_PERSONALITY = 136
-+ SYS_AFS_SYSCALL = 137
-+ SYS_SETFSUID = 138
-+ SYS_SETFSGID = 139
-+ SYS__LLSEEK = 140
-+ SYS_GETDENTS = 141
-+ SYS__NEWSELECT = 142
-+ SYS_FLOCK = 143
-+ SYS_MSYNC = 144
-+ SYS_READV = 145
-+ SYS_WRITEV = 146
-+ SYS_GETSID = 147
-+ SYS_FDATASYNC = 148
-+ SYS__SYSCTL = 149
-+ SYS_MLOCK = 150
-+ SYS_MUNLOCK = 151
-+ SYS_MLOCKALL = 152
-+ SYS_MUNLOCKALL = 153
-+ SYS_SCHED_SETPARAM = 154
-+ SYS_SCHED_GETPARAM = 155
-+ SYS_SCHED_SETSCHEDULER = 156
-+ SYS_SCHED_GETSCHEDULER = 157
-+ SYS_SCHED_YIELD = 158
-+ SYS_SCHED_GET_PRIORITY_MAX = 159
-+ SYS_SCHED_GET_PRIORITY_MIN = 160
-+ SYS_SCHED_RR_GET_INTERVAL = 161
-+ SYS_NANOSLEEP = 162
-+ SYS_MREMAP = 163
-+ SYS_SETRESUID = 164
-+ SYS_GETRESUID = 165
-+ SYS_VM86 = 166
-+ SYS_QUERY_MODULE = 167
-+ SYS_POLL = 168
-+ SYS_NFSSERVCTL = 169
-+ SYS_SETRESGID = 170
-+ SYS_GETRESGID = 171
-+ SYS_PRCTL = 172
-+ SYS_RT_SIGRETURN = 173
-+ SYS_RT_SIGACTION = 174
-+ SYS_RT_SIGPROCMASK = 175
-+ SYS_RT_SIGPENDING = 176
-+ SYS_RT_SIGTIMEDWAIT = 177
-+ SYS_RT_SIGQUEUEINFO = 178
-+ SYS_RT_SIGSUSPEND = 179
-+ SYS_PREAD64 = 180
-+ SYS_PWRITE64 = 181
-+ SYS_CHOWN = 182
-+ SYS_GETCWD = 183
-+ SYS_CAPGET = 184
-+ SYS_CAPSET = 185
-+ SYS_SIGALTSTACK = 186
-+ SYS_SENDFILE = 187
-+ SYS_GETPMSG = 188
-+ SYS_PUTPMSG = 189
-+ SYS_VFORK = 190
-+ SYS_UGETRLIMIT = 191
-+ SYS_MMAP2 = 192
-+ SYS_TRUNCATE64 = 193
-+ SYS_FTRUNCATE64 = 194
-+ SYS_STAT64 = 195
-+ SYS_LSTAT64 = 196
-+ SYS_FSTAT64 = 197
-+ SYS_LCHOWN32 = 198
-+ SYS_GETUID32 = 199
-+ SYS_GETGID32 = 200
-+ SYS_GETEUID32 = 201
-+ SYS_GETEGID32 = 202
-+ SYS_SETREUID32 = 203
-+ SYS_SETREGID32 = 204
-+ SYS_GETGROUPS32 = 205
-+ SYS_SETGROUPS32 = 206
-+ SYS_FCHOWN32 = 207
-+ SYS_SETRESUID32 = 208
-+ SYS_GETRESUID32 = 209
-+ SYS_SETRESGID32 = 210
-+ SYS_GETRESGID32 = 211
-+ SYS_CHOWN32 = 212
-+ SYS_SETUID32 = 213
-+ SYS_SETGID32 = 214
-+ SYS_SETFSUID32 = 215
-+ SYS_SETFSGID32 = 216
-+ SYS_PIVOT_ROOT = 217
-+ SYS_MINCORE = 218
-+ SYS_MADVISE = 219
-+ SYS_GETDENTS64 = 220
-+ SYS_FCNTL64 = 221
-+ SYS_GETTID = 224
-+ SYS_READAHEAD = 225
-+ SYS_SETXATTR = 226
-+ SYS_LSETXATTR = 227
-+ SYS_FSETXATTR = 228
-+ SYS_GETXATTR = 229
-+ SYS_LGETXATTR = 230
-+ SYS_FGETXATTR = 231
-+ SYS_LISTXATTR = 232
-+ SYS_LLISTXATTR = 233
-+ SYS_FLISTXATTR = 234
-+ SYS_REMOVEXATTR = 235
-+ SYS_LREMOVEXATTR = 236
-+ SYS_FREMOVEXATTR = 237
-+ SYS_TKILL = 238
-+ SYS_SENDFILE64 = 239
-+ SYS_FUTEX = 240
-+ SYS_SCHED_SETAFFINITY = 241
-+ SYS_SCHED_GETAFFINITY = 242
-+ SYS_SET_THREAD_AREA = 243
-+ SYS_GET_THREAD_AREA = 244
-+ SYS_IO_SETUP = 245
-+ SYS_IO_DESTROY = 246
-+ SYS_IO_GETEVENTS = 247
-+ SYS_IO_SUBMIT = 248
-+ SYS_IO_CANCEL = 249
-+ SYS_FADVISE64 = 250
-+ SYS_EXIT_GROUP = 252
-+ SYS_LOOKUP_DCOOKIE = 253
-+ SYS_EPOLL_CREATE = 254
-+ SYS_EPOLL_CTL = 255
-+ SYS_EPOLL_WAIT = 256
-+ SYS_REMAP_FILE_PAGES = 257
-+ SYS_SET_TID_ADDRESS = 258
-+ SYS_TIMER_CREATE = 259
-+ SYS_TIMER_SETTIME = 260
-+ SYS_TIMER_GETTIME = 261
-+ SYS_TIMER_GETOVERRUN = 262
-+ SYS_TIMER_DELETE = 263
-+ SYS_CLOCK_SETTIME = 264
-+ SYS_CLOCK_GETTIME = 265
-+ SYS_CLOCK_GETRES = 266
-+ SYS_CLOCK_NANOSLEEP = 267
-+ SYS_STATFS64 = 268
-+ SYS_FSTATFS64 = 269
-+ SYS_TGKILL = 270
-+ SYS_UTIMES = 271
-+ SYS_FADVISE64_64 = 272
-+ SYS_VSERVER = 273
-+ SYS_MBIND = 274
-+ SYS_GET_MEMPOLICY = 275
-+ SYS_SET_MEMPOLICY = 276
-+ SYS_MQ_OPEN = 277
-+ SYS_MQ_UNLINK = 278
-+ SYS_MQ_TIMEDSEND = 279
-+ SYS_MQ_TIMEDRECEIVE = 280
-+ SYS_MQ_NOTIFY = 281
-+ SYS_MQ_GETSETATTR = 282
-+ SYS_KEXEC_LOAD = 283
-+ SYS_WAITID = 284
-+ SYS_ADD_KEY = 286
-+ SYS_REQUEST_KEY = 287
-+ SYS_KEYCTL = 288
-+ SYS_IOPRIO_SET = 289
-+ SYS_IOPRIO_GET = 290
-+ SYS_INOTIFY_INIT = 291
-+ SYS_INOTIFY_ADD_WATCH = 292
-+ SYS_INOTIFY_RM_WATCH = 293
-+ SYS_MIGRATE_PAGES = 294
-+ SYS_OPENAT = 295
-+ SYS_MKDIRAT = 296
-+ SYS_MKNODAT = 297
-+ SYS_FCHOWNAT = 298
-+ SYS_FUTIMESAT = 299
-+ SYS_FSTATAT64 = 300
-+ SYS_UNLINKAT = 301
-+ SYS_RENAMEAT = 302
-+ SYS_LINKAT = 303
-+ SYS_SYMLINKAT = 304
-+ SYS_READLINKAT = 305
-+ SYS_FCHMODAT = 306
-+ SYS_FACCESSAT = 307
-+ SYS_PSELECT6 = 308
-+ SYS_PPOLL = 309
-+ SYS_UNSHARE = 310
-+ SYS_SET_ROBUST_LIST = 311
-+ SYS_GET_ROBUST_LIST = 312
-+ SYS_SPLICE = 313
-+ SYS_SYNC_FILE_RANGE = 314
-+ SYS_TEE = 315
-+ SYS_VMSPLICE = 316
-+ SYS_MOVE_PAGES = 317
-+ SYS_GETCPU = 318
-+ SYS_EPOLL_PWAIT = 319
-+ SYS_UTIMENSAT = 320
-+ SYS_SIGNALFD = 321
-+ SYS_TIMERFD_CREATE = 322
-+ SYS_EVENTFD = 323
-+ SYS_FALLOCATE = 324
-+ SYS_TIMERFD_SETTIME = 325
-+ SYS_TIMERFD_GETTIME = 326
-+ SYS_SIGNALFD4 = 327
-+ SYS_EVENTFD2 = 328
-+ SYS_EPOLL_CREATE1 = 329
-+ SYS_DUP3 = 330
-+ SYS_PIPE2 = 331
-+ SYS_INOTIFY_INIT1 = 332
-+ SYS_PREADV = 333
-+ SYS_PWRITEV = 334
-+ SYS_RT_TGSIGQUEUEINFO = 335
-+ SYS_PERF_EVENT_OPEN = 336
-+ SYS_RECVMMSG = 337
-+ SYS_FANOTIFY_INIT = 338
-+ SYS_FANOTIFY_MARK = 339
-+ SYS_PRLIMIT64 = 340
-+ SYS_NAME_TO_HANDLE_AT = 341
-+ SYS_OPEN_BY_HANDLE_AT = 342
-+ SYS_CLOCK_ADJTIME = 343
-+ SYS_SYNCFS = 344
-+ SYS_SENDMMSG = 345
-+ SYS_SETNS = 346
-+ SYS_PROCESS_VM_READV = 347
-+ SYS_PROCESS_VM_WRITEV = 348
-+ SYS_KCMP = 349
-+ SYS_FINIT_MODULE = 350
-+ SYS_SCHED_SETATTR = 351
-+ SYS_SCHED_GETATTR = 352
-+ SYS_RENAMEAT2 = 353
-+ SYS_SECCOMP = 354
-+ SYS_GETRANDOM = 355
-+ SYS_MEMFD_CREATE = 356
-+ SYS_BPF = 357
-+ SYS_EXECVEAT = 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_USERFAULTFD = 374
-+ SYS_MEMBARRIER = 375
-+ SYS_MLOCK2 = 376
-+ SYS_COPY_FILE_RANGE = 377
-+ SYS_PREADV2 = 378
-+ SYS_PWRITEV2 = 379
-+ SYS_PKEY_MPROTECT = 380
-+ SYS_PKEY_ALLOC = 381
-+ SYS_PKEY_FREE = 382
-+ SYS_STATX = 383
-+ SYS_ARCH_PRCTL = 384
-+ SYS_IO_PGETEVENTS = 385
-+ SYS_RSEQ = 386
-+ 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_CLOCK_GETTIME64 = 403
-+ SYS_CLOCK_SETTIME64 = 404
-+ SYS_CLOCK_ADJTIME64 = 405
-+ SYS_CLOCK_GETRES_TIME64 = 406
-+ SYS_CLOCK_NANOSLEEP_TIME64 = 407
-+ SYS_TIMER_GETTIME64 = 408
-+ SYS_TIMER_SETTIME64 = 409
-+ SYS_TIMERFD_GETTIME64 = 410
-+ SYS_TIMERFD_SETTIME64 = 411
-+ SYS_UTIMENSAT_TIME64 = 412
-+ SYS_PSELECT6_TIME64 = 413
-+ SYS_PPOLL_TIME64 = 414
-+ SYS_IO_PGETEVENTS_TIME64 = 416
-+ SYS_RECVMMSG_TIME64 = 417
-+ SYS_MQ_TIMEDSEND_TIME64 = 418
-+ SYS_MQ_TIMEDRECEIVE_TIME64 = 419
-+ SYS_SEMTIMEDOP_TIME64 = 420
-+ SYS_RT_SIGTIMEDWAIT_TIME64 = 421
-+ SYS_FUTEX_TIME64 = 422
-+ SYS_SCHED_RR_GET_INTERVAL_TIME64 = 423
-+ 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_OPENAT2 = 437
-+ SYS_PIDFD_GETFD = 438
- )
-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 49bfa127..054a741b 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 @@
--// linux/mksysnum.pl -Wall -Werror -static -I/tmp/include -m64 /tmp/include/asm/unistd.h
-+// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/include -m64 /tmp/include/asm/unistd.h
- // Code generated by the command above; see README.md. DO NOT EDIT.
-
- // +build amd64,linux
-@@ -338,4 +338,21 @@ const (
- 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_OPENAT2 = 437
-+ SYS_PIDFD_GETFD = 438
- )
-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 97b182ef..307f2ba1 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 @@
--// linux/mksysnum.pl -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h
-+// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h
- // Code generated by the command above; see README.md. DO NOT EDIT.
-
- // +build arm,linux
-@@ -6,356 +6,395 @@
- 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_CREAT = 8
-- SYS_LINK = 9
-- SYS_UNLINK = 10
-- SYS_EXECVE = 11
-- SYS_CHDIR = 12
-- SYS_MKNOD = 14
-- SYS_CHMOD = 15
-- SYS_LCHOWN = 16
-- SYS_LSEEK = 19
-- SYS_GETPID = 20
-- SYS_MOUNT = 21
-- SYS_SETUID = 23
-- SYS_GETUID = 24
-- SYS_PTRACE = 26
-- SYS_PAUSE = 29
-- SYS_ACCESS = 33
-- SYS_NICE = 34
-- SYS_SYNC = 36
-- SYS_KILL = 37
-- SYS_RENAME = 38
-- SYS_MKDIR = 39
-- SYS_RMDIR = 40
-- SYS_DUP = 41
-- SYS_PIPE = 42
-- SYS_TIMES = 43
-- SYS_BRK = 45
-- SYS_SETGID = 46
-- SYS_GETGID = 47
-- SYS_GETEUID = 49
-- SYS_GETEGID = 50
-- SYS_ACCT = 51
-- SYS_UMOUNT2 = 52
-- SYS_IOCTL = 54
-- SYS_FCNTL = 55
-- SYS_SETPGID = 57
-- SYS_UMASK = 60
-- SYS_CHROOT = 61
-- SYS_USTAT = 62
-- SYS_DUP2 = 63
-- SYS_GETPPID = 64
-- SYS_GETPGRP = 65
-- SYS_SETSID = 66
-- SYS_SIGACTION = 67
-- SYS_SETREUID = 70
-- SYS_SETREGID = 71
-- SYS_SIGSUSPEND = 72
-- SYS_SIGPENDING = 73
-- SYS_SETHOSTNAME = 74
-- SYS_SETRLIMIT = 75
-- SYS_GETRUSAGE = 77
-- SYS_GETTIMEOFDAY = 78
-- SYS_SETTIMEOFDAY = 79
-- SYS_GETGROUPS = 80
-- SYS_SETGROUPS = 81
-- SYS_SYMLINK = 83
-- SYS_READLINK = 85
-- SYS_USELIB = 86
-- SYS_SWAPON = 87
-- SYS_REBOOT = 88
-- SYS_MUNMAP = 91
-- SYS_TRUNCATE = 92
-- SYS_FTRUNCATE = 93
-- SYS_FCHMOD = 94
-- SYS_FCHOWN = 95
-- SYS_GETPRIORITY = 96
-- SYS_SETPRIORITY = 97
-- SYS_STATFS = 99
-- SYS_FSTATFS = 100
-- SYS_SYSLOG = 103
-- SYS_SETITIMER = 104
-- SYS_GETITIMER = 105
-- SYS_STAT = 106
-- SYS_LSTAT = 107
-- SYS_FSTAT = 108
-- SYS_VHANGUP = 111
-- SYS_WAIT4 = 114
-- SYS_SWAPOFF = 115
-- SYS_SYSINFO = 116
-- SYS_FSYNC = 118
-- SYS_SIGRETURN = 119
-- SYS_CLONE = 120
-- SYS_SETDOMAINNAME = 121
-- SYS_UNAME = 122
-- SYS_ADJTIMEX = 124
-- SYS_MPROTECT = 125
-- SYS_SIGPROCMASK = 126
-- SYS_INIT_MODULE = 128
-- SYS_DELETE_MODULE = 129
-- SYS_QUOTACTL = 131
-- SYS_GETPGID = 132
-- SYS_FCHDIR = 133
-- SYS_BDFLUSH = 134
-- SYS_SYSFS = 135
-- SYS_PERSONALITY = 136
-- SYS_SETFSUID = 138
-- SYS_SETFSGID = 139
-- SYS__LLSEEK = 140
-- SYS_GETDENTS = 141
-- SYS__NEWSELECT = 142
-- SYS_FLOCK = 143
-- SYS_MSYNC = 144
-- SYS_READV = 145
-- SYS_WRITEV = 146
-- SYS_GETSID = 147
-- SYS_FDATASYNC = 148
-- SYS__SYSCTL = 149
-- SYS_MLOCK = 150
-- SYS_MUNLOCK = 151
-- SYS_MLOCKALL = 152
-- SYS_MUNLOCKALL = 153
-- SYS_SCHED_SETPARAM = 154
-- SYS_SCHED_GETPARAM = 155
-- SYS_SCHED_SETSCHEDULER = 156
-- SYS_SCHED_GETSCHEDULER = 157
-- SYS_SCHED_YIELD = 158
-- SYS_SCHED_GET_PRIORITY_MAX = 159
-- SYS_SCHED_GET_PRIORITY_MIN = 160
-- SYS_SCHED_RR_GET_INTERVAL = 161
-- SYS_NANOSLEEP = 162
-- SYS_MREMAP = 163
-- SYS_SETRESUID = 164
-- SYS_GETRESUID = 165
-- SYS_POLL = 168
-- SYS_NFSSERVCTL = 169
-- SYS_SETRESGID = 170
-- SYS_GETRESGID = 171
-- SYS_PRCTL = 172
-- SYS_RT_SIGRETURN = 173
-- SYS_RT_SIGACTION = 174
-- SYS_RT_SIGPROCMASK = 175
-- SYS_RT_SIGPENDING = 176
-- SYS_RT_SIGTIMEDWAIT = 177
-- SYS_RT_SIGQUEUEINFO = 178
-- SYS_RT_SIGSUSPEND = 179
-- SYS_PREAD64 = 180
-- SYS_PWRITE64 = 181
-- SYS_CHOWN = 182
-- SYS_GETCWD = 183
-- SYS_CAPGET = 184
-- SYS_CAPSET = 185
-- SYS_SIGALTSTACK = 186
-- SYS_SENDFILE = 187
-- SYS_VFORK = 190
-- SYS_UGETRLIMIT = 191
-- SYS_MMAP2 = 192
-- SYS_TRUNCATE64 = 193
-- SYS_FTRUNCATE64 = 194
-- SYS_STAT64 = 195
-- SYS_LSTAT64 = 196
-- SYS_FSTAT64 = 197
-- SYS_LCHOWN32 = 198
-- SYS_GETUID32 = 199
-- SYS_GETGID32 = 200
-- SYS_GETEUID32 = 201
-- SYS_GETEGID32 = 202
-- SYS_SETREUID32 = 203
-- SYS_SETREGID32 = 204
-- SYS_GETGROUPS32 = 205
-- SYS_SETGROUPS32 = 206
-- SYS_FCHOWN32 = 207
-- SYS_SETRESUID32 = 208
-- SYS_GETRESUID32 = 209
-- SYS_SETRESGID32 = 210
-- SYS_GETRESGID32 = 211
-- SYS_CHOWN32 = 212
-- SYS_SETUID32 = 213
-- SYS_SETGID32 = 214
-- SYS_SETFSUID32 = 215
-- SYS_SETFSGID32 = 216
-- SYS_GETDENTS64 = 217
-- SYS_PIVOT_ROOT = 218
-- SYS_MINCORE = 219
-- SYS_MADVISE = 220
-- SYS_FCNTL64 = 221
-- SYS_GETTID = 224
-- SYS_READAHEAD = 225
-- SYS_SETXATTR = 226
-- SYS_LSETXATTR = 227
-- SYS_FSETXATTR = 228
-- SYS_GETXATTR = 229
-- SYS_LGETXATTR = 230
-- SYS_FGETXATTR = 231
-- SYS_LISTXATTR = 232
-- SYS_LLISTXATTR = 233
-- SYS_FLISTXATTR = 234
-- SYS_REMOVEXATTR = 235
-- SYS_LREMOVEXATTR = 236
-- SYS_FREMOVEXATTR = 237
-- SYS_TKILL = 238
-- SYS_SENDFILE64 = 239
-- SYS_FUTEX = 240
-- SYS_SCHED_SETAFFINITY = 241
-- SYS_SCHED_GETAFFINITY = 242
-- SYS_IO_SETUP = 243
-- SYS_IO_DESTROY = 244
-- SYS_IO_GETEVENTS = 245
-- SYS_IO_SUBMIT = 246
-- SYS_IO_CANCEL = 247
-- SYS_EXIT_GROUP = 248
-- SYS_LOOKUP_DCOOKIE = 249
-- SYS_EPOLL_CREATE = 250
-- SYS_EPOLL_CTL = 251
-- SYS_EPOLL_WAIT = 252
-- SYS_REMAP_FILE_PAGES = 253
-- SYS_SET_TID_ADDRESS = 256
-- SYS_TIMER_CREATE = 257
-- SYS_TIMER_SETTIME = 258
-- SYS_TIMER_GETTIME = 259
-- SYS_TIMER_GETOVERRUN = 260
-- SYS_TIMER_DELETE = 261
-- SYS_CLOCK_SETTIME = 262
-- SYS_CLOCK_GETTIME = 263
-- SYS_CLOCK_GETRES = 264
-- SYS_CLOCK_NANOSLEEP = 265
-- SYS_STATFS64 = 266
-- SYS_FSTATFS64 = 267
-- SYS_TGKILL = 268
-- SYS_UTIMES = 269
-- SYS_ARM_FADVISE64_64 = 270
-- SYS_PCICONFIG_IOBASE = 271
-- SYS_PCICONFIG_READ = 272
-- SYS_PCICONFIG_WRITE = 273
-- SYS_MQ_OPEN = 274
-- SYS_MQ_UNLINK = 275
-- SYS_MQ_TIMEDSEND = 276
-- SYS_MQ_TIMEDRECEIVE = 277
-- SYS_MQ_NOTIFY = 278
-- SYS_MQ_GETSETATTR = 279
-- SYS_WAITID = 280
-- SYS_SOCKET = 281
-- SYS_BIND = 282
-- SYS_CONNECT = 283
-- SYS_LISTEN = 284
-- SYS_ACCEPT = 285
-- SYS_GETSOCKNAME = 286
-- SYS_GETPEERNAME = 287
-- SYS_SOCKETPAIR = 288
-- SYS_SEND = 289
-- SYS_SENDTO = 290
-- SYS_RECV = 291
-- SYS_RECVFROM = 292
-- SYS_SHUTDOWN = 293
-- SYS_SETSOCKOPT = 294
-- SYS_GETSOCKOPT = 295
-- SYS_SENDMSG = 296
-- SYS_RECVMSG = 297
-- SYS_SEMOP = 298
-- SYS_SEMGET = 299
-- SYS_SEMCTL = 300
-- SYS_MSGSND = 301
-- SYS_MSGRCV = 302
-- SYS_MSGGET = 303
-- SYS_MSGCTL = 304
-- SYS_SHMAT = 305
-- SYS_SHMDT = 306
-- SYS_SHMGET = 307
-- SYS_SHMCTL = 308
-- SYS_ADD_KEY = 309
-- SYS_REQUEST_KEY = 310
-- SYS_KEYCTL = 311
-- SYS_SEMTIMEDOP = 312
-- SYS_VSERVER = 313
-- SYS_IOPRIO_SET = 314
-- SYS_IOPRIO_GET = 315
-- SYS_INOTIFY_INIT = 316
-- SYS_INOTIFY_ADD_WATCH = 317
-- SYS_INOTIFY_RM_WATCH = 318
-- SYS_MBIND = 319
-- SYS_GET_MEMPOLICY = 320
-- SYS_SET_MEMPOLICY = 321
-- SYS_OPENAT = 322
-- SYS_MKDIRAT = 323
-- SYS_MKNODAT = 324
-- SYS_FCHOWNAT = 325
-- SYS_FUTIMESAT = 326
-- SYS_FSTATAT64 = 327
-- SYS_UNLINKAT = 328
-- SYS_RENAMEAT = 329
-- SYS_LINKAT = 330
-- SYS_SYMLINKAT = 331
-- SYS_READLINKAT = 332
-- SYS_FCHMODAT = 333
-- SYS_FACCESSAT = 334
-- SYS_PSELECT6 = 335
-- SYS_PPOLL = 336
-- SYS_UNSHARE = 337
-- SYS_SET_ROBUST_LIST = 338
-- SYS_GET_ROBUST_LIST = 339
-- SYS_SPLICE = 340
-- SYS_ARM_SYNC_FILE_RANGE = 341
-- SYS_TEE = 342
-- SYS_VMSPLICE = 343
-- SYS_MOVE_PAGES = 344
-- SYS_GETCPU = 345
-- SYS_EPOLL_PWAIT = 346
-- SYS_KEXEC_LOAD = 347
-- SYS_UTIMENSAT = 348
-- SYS_SIGNALFD = 349
-- SYS_TIMERFD_CREATE = 350
-- SYS_EVENTFD = 351
-- SYS_FALLOCATE = 352
-- SYS_TIMERFD_SETTIME = 353
-- SYS_TIMERFD_GETTIME = 354
-- SYS_SIGNALFD4 = 355
-- SYS_EVENTFD2 = 356
-- SYS_EPOLL_CREATE1 = 357
-- SYS_DUP3 = 358
-- SYS_PIPE2 = 359
-- SYS_INOTIFY_INIT1 = 360
-- SYS_PREADV = 361
-- SYS_PWRITEV = 362
-- SYS_RT_TGSIGQUEUEINFO = 363
-- SYS_PERF_EVENT_OPEN = 364
-- SYS_RECVMMSG = 365
-- SYS_ACCEPT4 = 366
-- SYS_FANOTIFY_INIT = 367
-- SYS_FANOTIFY_MARK = 368
-- SYS_PRLIMIT64 = 369
-- SYS_NAME_TO_HANDLE_AT = 370
-- SYS_OPEN_BY_HANDLE_AT = 371
-- SYS_CLOCK_ADJTIME = 372
-- SYS_SYNCFS = 373
-- SYS_SENDMMSG = 374
-- SYS_SETNS = 375
-- SYS_PROCESS_VM_READV = 376
-- SYS_PROCESS_VM_WRITEV = 377
-- SYS_KCMP = 378
-- SYS_FINIT_MODULE = 379
-- SYS_SCHED_SETATTR = 380
-- SYS_SCHED_GETATTR = 381
-- SYS_RENAMEAT2 = 382
-- SYS_SECCOMP = 383
-- SYS_GETRANDOM = 384
-- SYS_MEMFD_CREATE = 385
-- SYS_BPF = 386
-- SYS_EXECVEAT = 387
-- SYS_USERFAULTFD = 388
-- SYS_MEMBARRIER = 389
-- SYS_MLOCK2 = 390
-- SYS_COPY_FILE_RANGE = 391
-- SYS_PREADV2 = 392
-- SYS_PWRITEV2 = 393
-- SYS_PKEY_MPROTECT = 394
-- SYS_PKEY_ALLOC = 395
-- SYS_PKEY_FREE = 396
-+ SYS_RESTART_SYSCALL = 0
-+ SYS_EXIT = 1
-+ SYS_FORK = 2
-+ SYS_READ = 3
-+ SYS_WRITE = 4
-+ SYS_OPEN = 5
-+ SYS_CLOSE = 6
-+ SYS_CREAT = 8
-+ SYS_LINK = 9
-+ SYS_UNLINK = 10
-+ SYS_EXECVE = 11
-+ SYS_CHDIR = 12
-+ SYS_MKNOD = 14
-+ SYS_CHMOD = 15
-+ SYS_LCHOWN = 16
-+ SYS_LSEEK = 19
-+ SYS_GETPID = 20
-+ SYS_MOUNT = 21
-+ SYS_SETUID = 23
-+ SYS_GETUID = 24
-+ SYS_PTRACE = 26
-+ SYS_PAUSE = 29
-+ SYS_ACCESS = 33
-+ SYS_NICE = 34
-+ SYS_SYNC = 36
-+ SYS_KILL = 37
-+ SYS_RENAME = 38
-+ SYS_MKDIR = 39
-+ SYS_RMDIR = 40
-+ SYS_DUP = 41
-+ SYS_PIPE = 42
-+ SYS_TIMES = 43
-+ SYS_BRK = 45
-+ SYS_SETGID = 46
-+ SYS_GETGID = 47
-+ SYS_GETEUID = 49
-+ SYS_GETEGID = 50
-+ SYS_ACCT = 51
-+ SYS_UMOUNT2 = 52
-+ SYS_IOCTL = 54
-+ SYS_FCNTL = 55
-+ SYS_SETPGID = 57
-+ SYS_UMASK = 60
-+ SYS_CHROOT = 61
-+ SYS_USTAT = 62
-+ SYS_DUP2 = 63
-+ SYS_GETPPID = 64
-+ SYS_GETPGRP = 65
-+ SYS_SETSID = 66
-+ SYS_SIGACTION = 67
-+ SYS_SETREUID = 70
-+ SYS_SETREGID = 71
-+ SYS_SIGSUSPEND = 72
-+ SYS_SIGPENDING = 73
-+ SYS_SETHOSTNAME = 74
-+ SYS_SETRLIMIT = 75
-+ SYS_GETRUSAGE = 77
-+ SYS_GETTIMEOFDAY = 78
-+ SYS_SETTIMEOFDAY = 79
-+ SYS_GETGROUPS = 80
-+ SYS_SETGROUPS = 81
-+ SYS_SYMLINK = 83
-+ SYS_READLINK = 85
-+ SYS_USELIB = 86
-+ SYS_SWAPON = 87
-+ SYS_REBOOT = 88
-+ SYS_MUNMAP = 91
-+ SYS_TRUNCATE = 92
-+ SYS_FTRUNCATE = 93
-+ SYS_FCHMOD = 94
-+ SYS_FCHOWN = 95
-+ SYS_GETPRIORITY = 96
-+ SYS_SETPRIORITY = 97
-+ SYS_STATFS = 99
-+ SYS_FSTATFS = 100
-+ SYS_SYSLOG = 103
-+ SYS_SETITIMER = 104
-+ SYS_GETITIMER = 105
-+ SYS_STAT = 106
-+ SYS_LSTAT = 107
-+ SYS_FSTAT = 108
-+ SYS_VHANGUP = 111
-+ SYS_WAIT4 = 114
-+ SYS_SWAPOFF = 115
-+ SYS_SYSINFO = 116
-+ SYS_FSYNC = 118
-+ SYS_SIGRETURN = 119
-+ SYS_CLONE = 120
-+ SYS_SETDOMAINNAME = 121
-+ SYS_UNAME = 122
-+ SYS_ADJTIMEX = 124
-+ SYS_MPROTECT = 125
-+ SYS_SIGPROCMASK = 126
-+ SYS_INIT_MODULE = 128
-+ SYS_DELETE_MODULE = 129
-+ SYS_QUOTACTL = 131
-+ SYS_GETPGID = 132
-+ SYS_FCHDIR = 133
-+ SYS_BDFLUSH = 134
-+ SYS_SYSFS = 135
-+ SYS_PERSONALITY = 136
-+ SYS_SETFSUID = 138
-+ SYS_SETFSGID = 139
-+ SYS__LLSEEK = 140
-+ SYS_GETDENTS = 141
-+ SYS__NEWSELECT = 142
-+ SYS_FLOCK = 143
-+ SYS_MSYNC = 144
-+ SYS_READV = 145
-+ SYS_WRITEV = 146
-+ SYS_GETSID = 147
-+ SYS_FDATASYNC = 148
-+ SYS__SYSCTL = 149
-+ SYS_MLOCK = 150
-+ SYS_MUNLOCK = 151
-+ SYS_MLOCKALL = 152
-+ SYS_MUNLOCKALL = 153
-+ SYS_SCHED_SETPARAM = 154
-+ SYS_SCHED_GETPARAM = 155
-+ SYS_SCHED_SETSCHEDULER = 156
-+ SYS_SCHED_GETSCHEDULER = 157
-+ SYS_SCHED_YIELD = 158
-+ SYS_SCHED_GET_PRIORITY_MAX = 159
-+ SYS_SCHED_GET_PRIORITY_MIN = 160
-+ SYS_SCHED_RR_GET_INTERVAL = 161
-+ SYS_NANOSLEEP = 162
-+ SYS_MREMAP = 163
-+ SYS_SETRESUID = 164
-+ SYS_GETRESUID = 165
-+ SYS_POLL = 168
-+ SYS_NFSSERVCTL = 169
-+ SYS_SETRESGID = 170
-+ SYS_GETRESGID = 171
-+ SYS_PRCTL = 172
-+ SYS_RT_SIGRETURN = 173
-+ SYS_RT_SIGACTION = 174
-+ SYS_RT_SIGPROCMASK = 175
-+ SYS_RT_SIGPENDING = 176
-+ SYS_RT_SIGTIMEDWAIT = 177
-+ SYS_RT_SIGQUEUEINFO = 178
-+ SYS_RT_SIGSUSPEND = 179
-+ SYS_PREAD64 = 180
-+ SYS_PWRITE64 = 181
-+ SYS_CHOWN = 182
-+ SYS_GETCWD = 183
-+ SYS_CAPGET = 184
-+ SYS_CAPSET = 185
-+ SYS_SIGALTSTACK = 186
-+ SYS_SENDFILE = 187
-+ SYS_VFORK = 190
-+ SYS_UGETRLIMIT = 191
-+ SYS_MMAP2 = 192
-+ SYS_TRUNCATE64 = 193
-+ SYS_FTRUNCATE64 = 194
-+ SYS_STAT64 = 195
-+ SYS_LSTAT64 = 196
-+ SYS_FSTAT64 = 197
-+ SYS_LCHOWN32 = 198
-+ SYS_GETUID32 = 199
-+ SYS_GETGID32 = 200
-+ SYS_GETEUID32 = 201
-+ SYS_GETEGID32 = 202
-+ SYS_SETREUID32 = 203
-+ SYS_SETREGID32 = 204
-+ SYS_GETGROUPS32 = 205
-+ SYS_SETGROUPS32 = 206
-+ SYS_FCHOWN32 = 207
-+ SYS_SETRESUID32 = 208
-+ SYS_GETRESUID32 = 209
-+ SYS_SETRESGID32 = 210
-+ SYS_GETRESGID32 = 211
-+ SYS_CHOWN32 = 212
-+ SYS_SETUID32 = 213
-+ SYS_SETGID32 = 214
-+ SYS_SETFSUID32 = 215
-+ SYS_SETFSGID32 = 216
-+ SYS_GETDENTS64 = 217
-+ SYS_PIVOT_ROOT = 218
-+ SYS_MINCORE = 219
-+ SYS_MADVISE = 220
-+ SYS_FCNTL64 = 221
-+ SYS_GETTID = 224
-+ SYS_READAHEAD = 225
-+ SYS_SETXATTR = 226
-+ SYS_LSETXATTR = 227
-+ SYS_FSETXATTR = 228
-+ SYS_GETXATTR = 229
-+ SYS_LGETXATTR = 230
-+ SYS_FGETXATTR = 231
-+ SYS_LISTXATTR = 232
-+ SYS_LLISTXATTR = 233
-+ SYS_FLISTXATTR = 234
-+ SYS_REMOVEXATTR = 235
-+ SYS_LREMOVEXATTR = 236
-+ SYS_FREMOVEXATTR = 237
-+ SYS_TKILL = 238
-+ SYS_SENDFILE64 = 239
-+ SYS_FUTEX = 240
-+ SYS_SCHED_SETAFFINITY = 241
-+ SYS_SCHED_GETAFFINITY = 242
-+ SYS_IO_SETUP = 243
-+ SYS_IO_DESTROY = 244
-+ SYS_IO_GETEVENTS = 245
-+ SYS_IO_SUBMIT = 246
-+ SYS_IO_CANCEL = 247
-+ SYS_EXIT_GROUP = 248
-+ SYS_LOOKUP_DCOOKIE = 249
-+ SYS_EPOLL_CREATE = 250
-+ SYS_EPOLL_CTL = 251
-+ SYS_EPOLL_WAIT = 252
-+ SYS_REMAP_FILE_PAGES = 253
-+ SYS_SET_TID_ADDRESS = 256
-+ SYS_TIMER_CREATE = 257
-+ SYS_TIMER_SETTIME = 258
-+ SYS_TIMER_GETTIME = 259
-+ SYS_TIMER_GETOVERRUN = 260
-+ SYS_TIMER_DELETE = 261
-+ SYS_CLOCK_SETTIME = 262
-+ SYS_CLOCK_GETTIME = 263
-+ SYS_CLOCK_GETRES = 264
-+ SYS_CLOCK_NANOSLEEP = 265
-+ SYS_STATFS64 = 266
-+ SYS_FSTATFS64 = 267
-+ SYS_TGKILL = 268
-+ SYS_UTIMES = 269
-+ SYS_ARM_FADVISE64_64 = 270
-+ SYS_PCICONFIG_IOBASE = 271
-+ SYS_PCICONFIG_READ = 272
-+ SYS_PCICONFIG_WRITE = 273
-+ SYS_MQ_OPEN = 274
-+ SYS_MQ_UNLINK = 275
-+ SYS_MQ_TIMEDSEND = 276
-+ SYS_MQ_TIMEDRECEIVE = 277
-+ SYS_MQ_NOTIFY = 278
-+ SYS_MQ_GETSETATTR = 279
-+ SYS_WAITID = 280
-+ SYS_SOCKET = 281
-+ SYS_BIND = 282
-+ SYS_CONNECT = 283
-+ SYS_LISTEN = 284
-+ SYS_ACCEPT = 285
-+ SYS_GETSOCKNAME = 286
-+ SYS_GETPEERNAME = 287
-+ SYS_SOCKETPAIR = 288
-+ SYS_SEND = 289
-+ SYS_SENDTO = 290
-+ SYS_RECV = 291
-+ SYS_RECVFROM = 292
-+ SYS_SHUTDOWN = 293
-+ SYS_SETSOCKOPT = 294
-+ SYS_GETSOCKOPT = 295
-+ SYS_SENDMSG = 296
-+ SYS_RECVMSG = 297
-+ SYS_SEMOP = 298
-+ SYS_SEMGET = 299
-+ SYS_SEMCTL = 300
-+ SYS_MSGSND = 301
-+ SYS_MSGRCV = 302
-+ SYS_MSGGET = 303
-+ SYS_MSGCTL = 304
-+ SYS_SHMAT = 305
-+ SYS_SHMDT = 306
-+ SYS_SHMGET = 307
-+ SYS_SHMCTL = 308
-+ SYS_ADD_KEY = 309
-+ SYS_REQUEST_KEY = 310
-+ SYS_KEYCTL = 311
-+ SYS_SEMTIMEDOP = 312
-+ SYS_VSERVER = 313
-+ SYS_IOPRIO_SET = 314
-+ SYS_IOPRIO_GET = 315
-+ SYS_INOTIFY_INIT = 316
-+ SYS_INOTIFY_ADD_WATCH = 317
-+ SYS_INOTIFY_RM_WATCH = 318
-+ SYS_MBIND = 319
-+ SYS_GET_MEMPOLICY = 320
-+ SYS_SET_MEMPOLICY = 321
-+ SYS_OPENAT = 322
-+ SYS_MKDIRAT = 323
-+ SYS_MKNODAT = 324
-+ SYS_FCHOWNAT = 325
-+ SYS_FUTIMESAT = 326
-+ SYS_FSTATAT64 = 327
-+ SYS_UNLINKAT = 328
-+ SYS_RENAMEAT = 329
-+ SYS_LINKAT = 330
-+ SYS_SYMLINKAT = 331
-+ SYS_READLINKAT = 332
-+ SYS_FCHMODAT = 333
-+ SYS_FACCESSAT = 334
-+ SYS_PSELECT6 = 335
-+ SYS_PPOLL = 336
-+ SYS_UNSHARE = 337
-+ SYS_SET_ROBUST_LIST = 338
-+ SYS_GET_ROBUST_LIST = 339
-+ SYS_SPLICE = 340
-+ SYS_ARM_SYNC_FILE_RANGE = 341
-+ SYS_TEE = 342
-+ SYS_VMSPLICE = 343
-+ SYS_MOVE_PAGES = 344
-+ SYS_GETCPU = 345
-+ SYS_EPOLL_PWAIT = 346
-+ SYS_KEXEC_LOAD = 347
-+ SYS_UTIMENSAT = 348
-+ SYS_SIGNALFD = 349
-+ SYS_TIMERFD_CREATE = 350
-+ SYS_EVENTFD = 351
-+ SYS_FALLOCATE = 352
-+ SYS_TIMERFD_SETTIME = 353
-+ SYS_TIMERFD_GETTIME = 354
-+ SYS_SIGNALFD4 = 355
-+ SYS_EVENTFD2 = 356
-+ SYS_EPOLL_CREATE1 = 357
-+ SYS_DUP3 = 358
-+ SYS_PIPE2 = 359
-+ SYS_INOTIFY_INIT1 = 360
-+ SYS_PREADV = 361
-+ SYS_PWRITEV = 362
-+ SYS_RT_TGSIGQUEUEINFO = 363
-+ SYS_PERF_EVENT_OPEN = 364
-+ SYS_RECVMMSG = 365
-+ SYS_ACCEPT4 = 366
-+ SYS_FANOTIFY_INIT = 367
-+ SYS_FANOTIFY_MARK = 368
-+ SYS_PRLIMIT64 = 369
-+ SYS_NAME_TO_HANDLE_AT = 370
-+ SYS_OPEN_BY_HANDLE_AT = 371
-+ SYS_CLOCK_ADJTIME = 372
-+ SYS_SYNCFS = 373
-+ SYS_SENDMMSG = 374
-+ SYS_SETNS = 375
-+ SYS_PROCESS_VM_READV = 376
-+ SYS_PROCESS_VM_WRITEV = 377
-+ SYS_KCMP = 378
-+ SYS_FINIT_MODULE = 379
-+ SYS_SCHED_SETATTR = 380
-+ SYS_SCHED_GETATTR = 381
-+ SYS_RENAMEAT2 = 382
-+ SYS_SECCOMP = 383
-+ SYS_GETRANDOM = 384
-+ SYS_MEMFD_CREATE = 385
-+ SYS_BPF = 386
-+ SYS_EXECVEAT = 387
-+ SYS_USERFAULTFD = 388
-+ SYS_MEMBARRIER = 389
-+ SYS_MLOCK2 = 390
-+ SYS_COPY_FILE_RANGE = 391
-+ SYS_PREADV2 = 392
-+ SYS_PWRITEV2 = 393
-+ SYS_PKEY_MPROTECT = 394
-+ SYS_PKEY_ALLOC = 395
-+ SYS_PKEY_FREE = 396
-+ SYS_STATX = 397
-+ SYS_RSEQ = 398
-+ SYS_IO_PGETEVENTS = 399
-+ SYS_MIGRATE_PAGES = 400
-+ SYS_KEXEC_FILE_LOAD = 401
-+ SYS_CLOCK_GETTIME64 = 403
-+ SYS_CLOCK_SETTIME64 = 404
-+ SYS_CLOCK_ADJTIME64 = 405
-+ SYS_CLOCK_GETRES_TIME64 = 406
-+ SYS_CLOCK_NANOSLEEP_TIME64 = 407
-+ SYS_TIMER_GETTIME64 = 408
-+ SYS_TIMER_SETTIME64 = 409
-+ SYS_TIMERFD_GETTIME64 = 410
-+ SYS_TIMERFD_SETTIME64 = 411
-+ SYS_UTIMENSAT_TIME64 = 412
-+ SYS_PSELECT6_TIME64 = 413
-+ SYS_PPOLL_TIME64 = 414
-+ SYS_IO_PGETEVENTS_TIME64 = 416
-+ SYS_RECVMMSG_TIME64 = 417
-+ SYS_MQ_TIMEDSEND_TIME64 = 418
-+ SYS_MQ_TIMEDRECEIVE_TIME64 = 419
-+ SYS_SEMTIMEDOP_TIME64 = 420
-+ SYS_RT_SIGTIMEDWAIT_TIME64 = 421
-+ SYS_FUTEX_TIME64 = 422
-+ SYS_SCHED_RR_GET_INTERVAL_TIME64 = 423
-+ 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_OPENAT2 = 437
-+ SYS_PIDFD_GETFD = 438
- )
-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 64078435..e9404dd5 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 @@
--// linux/mksysnum.pl -Wall -Werror -static -I/tmp/include -fsigned-char /tmp/include/asm/unistd.h
-+// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/include -fsigned-char /tmp/include/asm/unistd.h
- // Code generated by the command above; see README.md. DO NOT EDIT.
-
- // +build arm64,linux
-@@ -282,4 +282,22 @@ const (
- 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_OPENAT2 = 437
-+ SYS_PIDFD_GETFD = 438
- )
-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 939567c0..68bb6d29 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 @@
--// linux/mksysnum.pl -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h
-+// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h
- // Code generated by the command above; see README.md. DO NOT EDIT.
-
- // +build mips,linux
-@@ -6,369 +6,416 @@
- package unix
-
- const (
-- SYS_SYSCALL = 4000
-- SYS_EXIT = 4001
-- SYS_FORK = 4002
-- SYS_READ = 4003
-- SYS_WRITE = 4004
-- SYS_OPEN = 4005
-- SYS_CLOSE = 4006
-- SYS_WAITPID = 4007
-- SYS_CREAT = 4008
-- SYS_LINK = 4009
-- SYS_UNLINK = 4010
-- SYS_EXECVE = 4011
-- SYS_CHDIR = 4012
-- SYS_TIME = 4013
-- SYS_MKNOD = 4014
-- SYS_CHMOD = 4015
-- SYS_LCHOWN = 4016
-- SYS_BREAK = 4017
-- SYS_UNUSED18 = 4018
-- SYS_LSEEK = 4019
-- SYS_GETPID = 4020
-- SYS_MOUNT = 4021
-- SYS_UMOUNT = 4022
-- SYS_SETUID = 4023
-- SYS_GETUID = 4024
-- SYS_STIME = 4025
-- SYS_PTRACE = 4026
-- SYS_ALARM = 4027
-- SYS_UNUSED28 = 4028
-- SYS_PAUSE = 4029
-- SYS_UTIME = 4030
-- SYS_STTY = 4031
-- SYS_GTTY = 4032
-- SYS_ACCESS = 4033
-- SYS_NICE = 4034
-- SYS_FTIME = 4035
-- SYS_SYNC = 4036
-- SYS_KILL = 4037
-- SYS_RENAME = 4038
-- SYS_MKDIR = 4039
-- SYS_RMDIR = 4040
-- SYS_DUP = 4041
-- SYS_PIPE = 4042
-- SYS_TIMES = 4043
-- SYS_PROF = 4044
-- SYS_BRK = 4045
-- SYS_SETGID = 4046
-- SYS_GETGID = 4047
-- SYS_SIGNAL = 4048
-- SYS_GETEUID = 4049
-- SYS_GETEGID = 4050
-- SYS_ACCT = 4051
-- SYS_UMOUNT2 = 4052
-- SYS_LOCK = 4053
-- SYS_IOCTL = 4054
-- SYS_FCNTL = 4055
-- SYS_MPX = 4056
-- SYS_SETPGID = 4057
-- SYS_ULIMIT = 4058
-- SYS_UNUSED59 = 4059
-- SYS_UMASK = 4060
-- SYS_CHROOT = 4061
-- SYS_USTAT = 4062
-- SYS_DUP2 = 4063
-- SYS_GETPPID = 4064
-- SYS_GETPGRP = 4065
-- SYS_SETSID = 4066
-- SYS_SIGACTION = 4067
-- SYS_SGETMASK = 4068
-- SYS_SSETMASK = 4069
-- SYS_SETREUID = 4070
-- SYS_SETREGID = 4071
-- SYS_SIGSUSPEND = 4072
-- SYS_SIGPENDING = 4073
-- SYS_SETHOSTNAME = 4074
-- SYS_SETRLIMIT = 4075
-- SYS_GETRLIMIT = 4076
-- SYS_GETRUSAGE = 4077
-- SYS_GETTIMEOFDAY = 4078
-- SYS_SETTIMEOFDAY = 4079
-- SYS_GETGROUPS = 4080
-- SYS_SETGROUPS = 4081
-- SYS_RESERVED82 = 4082
-- SYS_SYMLINK = 4083
-- SYS_UNUSED84 = 4084
-- SYS_READLINK = 4085
-- SYS_USELIB = 4086
-- SYS_SWAPON = 4087
-- SYS_REBOOT = 4088
-- SYS_READDIR = 4089
-- SYS_MMAP = 4090
-- SYS_MUNMAP = 4091
-- SYS_TRUNCATE = 4092
-- SYS_FTRUNCATE = 4093
-- SYS_FCHMOD = 4094
-- SYS_FCHOWN = 4095
-- SYS_GETPRIORITY = 4096
-- SYS_SETPRIORITY = 4097
-- SYS_PROFIL = 4098
-- SYS_STATFS = 4099
-- SYS_FSTATFS = 4100
-- SYS_IOPERM = 4101
-- SYS_SOCKETCALL = 4102
-- SYS_SYSLOG = 4103
-- SYS_SETITIMER = 4104
-- SYS_GETITIMER = 4105
-- SYS_STAT = 4106
-- SYS_LSTAT = 4107
-- SYS_FSTAT = 4108
-- SYS_UNUSED109 = 4109
-- SYS_IOPL = 4110
-- SYS_VHANGUP = 4111
-- SYS_IDLE = 4112
-- SYS_VM86 = 4113
-- SYS_WAIT4 = 4114
-- SYS_SWAPOFF = 4115
-- SYS_SYSINFO = 4116
-- SYS_IPC = 4117
-- SYS_FSYNC = 4118
-- SYS_SIGRETURN = 4119
-- SYS_CLONE = 4120
-- SYS_SETDOMAINNAME = 4121
-- SYS_UNAME = 4122
-- SYS_MODIFY_LDT = 4123
-- SYS_ADJTIMEX = 4124
-- SYS_MPROTECT = 4125
-- SYS_SIGPROCMASK = 4126
-- SYS_CREATE_MODULE = 4127
-- SYS_INIT_MODULE = 4128
-- SYS_DELETE_MODULE = 4129
-- SYS_GET_KERNEL_SYMS = 4130
-- SYS_QUOTACTL = 4131
-- SYS_GETPGID = 4132
-- SYS_FCHDIR = 4133
-- SYS_BDFLUSH = 4134
-- SYS_SYSFS = 4135
-- SYS_PERSONALITY = 4136
-- SYS_AFS_SYSCALL = 4137
-- SYS_SETFSUID = 4138
-- SYS_SETFSGID = 4139
-- SYS__LLSEEK = 4140
-- SYS_GETDENTS = 4141
-- SYS__NEWSELECT = 4142
-- SYS_FLOCK = 4143
-- SYS_MSYNC = 4144
-- SYS_READV = 4145
-- SYS_WRITEV = 4146
-- SYS_CACHEFLUSH = 4147
-- SYS_CACHECTL = 4148
-- SYS_SYSMIPS = 4149
-- SYS_UNUSED150 = 4150
-- SYS_GETSID = 4151
-- SYS_FDATASYNC = 4152
-- SYS__SYSCTL = 4153
-- SYS_MLOCK = 4154
-- SYS_MUNLOCK = 4155
-- SYS_MLOCKALL = 4156
-- SYS_MUNLOCKALL = 4157
-- SYS_SCHED_SETPARAM = 4158
-- SYS_SCHED_GETPARAM = 4159
-- SYS_SCHED_SETSCHEDULER = 4160
-- SYS_SCHED_GETSCHEDULER = 4161
-- SYS_SCHED_YIELD = 4162
-- SYS_SCHED_GET_PRIORITY_MAX = 4163
-- SYS_SCHED_GET_PRIORITY_MIN = 4164
-- SYS_SCHED_RR_GET_INTERVAL = 4165
-- SYS_NANOSLEEP = 4166
-- SYS_MREMAP = 4167
-- SYS_ACCEPT = 4168
-- SYS_BIND = 4169
-- SYS_CONNECT = 4170
-- SYS_GETPEERNAME = 4171
-- SYS_GETSOCKNAME = 4172
-- SYS_GETSOCKOPT = 4173
-- SYS_LISTEN = 4174
-- SYS_RECV = 4175
-- SYS_RECVFROM = 4176
-- SYS_RECVMSG = 4177
-- SYS_SEND = 4178
-- SYS_SENDMSG = 4179
-- SYS_SENDTO = 4180
-- SYS_SETSOCKOPT = 4181
-- SYS_SHUTDOWN = 4182
-- SYS_SOCKET = 4183
-- SYS_SOCKETPAIR = 4184
-- SYS_SETRESUID = 4185
-- SYS_GETRESUID = 4186
-- SYS_QUERY_MODULE = 4187
-- SYS_POLL = 4188
-- SYS_NFSSERVCTL = 4189
-- SYS_SETRESGID = 4190
-- SYS_GETRESGID = 4191
-- SYS_PRCTL = 4192
-- SYS_RT_SIGRETURN = 4193
-- SYS_RT_SIGACTION = 4194
-- SYS_RT_SIGPROCMASK = 4195
-- SYS_RT_SIGPENDING = 4196
-- SYS_RT_SIGTIMEDWAIT = 4197
-- SYS_RT_SIGQUEUEINFO = 4198
-- SYS_RT_SIGSUSPEND = 4199
-- SYS_PREAD64 = 4200
-- SYS_PWRITE64 = 4201
-- SYS_CHOWN = 4202
-- SYS_GETCWD = 4203
-- SYS_CAPGET = 4204
-- SYS_CAPSET = 4205
-- SYS_SIGALTSTACK = 4206
-- SYS_SENDFILE = 4207
-- SYS_GETPMSG = 4208
-- SYS_PUTPMSG = 4209
-- SYS_MMAP2 = 4210
-- SYS_TRUNCATE64 = 4211
-- SYS_FTRUNCATE64 = 4212
-- SYS_STAT64 = 4213
-- SYS_LSTAT64 = 4214
-- SYS_FSTAT64 = 4215
-- SYS_PIVOT_ROOT = 4216
-- SYS_MINCORE = 4217
-- SYS_MADVISE = 4218
-- SYS_GETDENTS64 = 4219
-- SYS_FCNTL64 = 4220
-- SYS_RESERVED221 = 4221
-- SYS_GETTID = 4222
-- SYS_READAHEAD = 4223
-- SYS_SETXATTR = 4224
-- SYS_LSETXATTR = 4225
-- SYS_FSETXATTR = 4226
-- SYS_GETXATTR = 4227
-- SYS_LGETXATTR = 4228
-- SYS_FGETXATTR = 4229
-- SYS_LISTXATTR = 4230
-- SYS_LLISTXATTR = 4231
-- SYS_FLISTXATTR = 4232
-- SYS_REMOVEXATTR = 4233
-- SYS_LREMOVEXATTR = 4234
-- SYS_FREMOVEXATTR = 4235
-- SYS_TKILL = 4236
-- SYS_SENDFILE64 = 4237
-- SYS_FUTEX = 4238
-- SYS_SCHED_SETAFFINITY = 4239
-- SYS_SCHED_GETAFFINITY = 4240
-- SYS_IO_SETUP = 4241
-- SYS_IO_DESTROY = 4242
-- SYS_IO_GETEVENTS = 4243
-- SYS_IO_SUBMIT = 4244
-- SYS_IO_CANCEL = 4245
-- SYS_EXIT_GROUP = 4246
-- SYS_LOOKUP_DCOOKIE = 4247
-- SYS_EPOLL_CREATE = 4248
-- SYS_EPOLL_CTL = 4249
-- SYS_EPOLL_WAIT = 4250
-- SYS_REMAP_FILE_PAGES = 4251
-- SYS_SET_TID_ADDRESS = 4252
-- SYS_RESTART_SYSCALL = 4253
-- SYS_FADVISE64 = 4254
-- SYS_STATFS64 = 4255
-- SYS_FSTATFS64 = 4256
-- SYS_TIMER_CREATE = 4257
-- SYS_TIMER_SETTIME = 4258
-- SYS_TIMER_GETTIME = 4259
-- SYS_TIMER_GETOVERRUN = 4260
-- SYS_TIMER_DELETE = 4261
-- SYS_CLOCK_SETTIME = 4262
-- SYS_CLOCK_GETTIME = 4263
-- SYS_CLOCK_GETRES = 4264
-- SYS_CLOCK_NANOSLEEP = 4265
-- SYS_TGKILL = 4266
-- SYS_UTIMES = 4267
-- SYS_MBIND = 4268
-- SYS_GET_MEMPOLICY = 4269
-- SYS_SET_MEMPOLICY = 4270
-- SYS_MQ_OPEN = 4271
-- SYS_MQ_UNLINK = 4272
-- SYS_MQ_TIMEDSEND = 4273
-- SYS_MQ_TIMEDRECEIVE = 4274
-- SYS_MQ_NOTIFY = 4275
-- SYS_MQ_GETSETATTR = 4276
-- SYS_VSERVER = 4277
-- SYS_WAITID = 4278
-- SYS_ADD_KEY = 4280
-- SYS_REQUEST_KEY = 4281
-- SYS_KEYCTL = 4282
-- SYS_SET_THREAD_AREA = 4283
-- SYS_INOTIFY_INIT = 4284
-- SYS_INOTIFY_ADD_WATCH = 4285
-- SYS_INOTIFY_RM_WATCH = 4286
-- SYS_MIGRATE_PAGES = 4287
-- SYS_OPENAT = 4288
-- SYS_MKDIRAT = 4289
-- SYS_MKNODAT = 4290
-- SYS_FCHOWNAT = 4291
-- SYS_FUTIMESAT = 4292
-- SYS_FSTATAT64 = 4293
-- SYS_UNLINKAT = 4294
-- SYS_RENAMEAT = 4295
-- SYS_LINKAT = 4296
-- SYS_SYMLINKAT = 4297
-- SYS_READLINKAT = 4298
-- SYS_FCHMODAT = 4299
-- SYS_FACCESSAT = 4300
-- SYS_PSELECT6 = 4301
-- SYS_PPOLL = 4302
-- SYS_UNSHARE = 4303
-- SYS_SPLICE = 4304
-- SYS_SYNC_FILE_RANGE = 4305
-- SYS_TEE = 4306
-- SYS_VMSPLICE = 4307
-- SYS_MOVE_PAGES = 4308
-- SYS_SET_ROBUST_LIST = 4309
-- SYS_GET_ROBUST_LIST = 4310
-- SYS_KEXEC_LOAD = 4311
-- SYS_GETCPU = 4312
-- SYS_EPOLL_PWAIT = 4313
-- SYS_IOPRIO_SET = 4314
-- SYS_IOPRIO_GET = 4315
-- SYS_UTIMENSAT = 4316
-- SYS_SIGNALFD = 4317
-- SYS_TIMERFD = 4318
-- SYS_EVENTFD = 4319
-- SYS_FALLOCATE = 4320
-- SYS_TIMERFD_CREATE = 4321
-- SYS_TIMERFD_GETTIME = 4322
-- SYS_TIMERFD_SETTIME = 4323
-- SYS_SIGNALFD4 = 4324
-- SYS_EVENTFD2 = 4325
-- SYS_EPOLL_CREATE1 = 4326
-- SYS_DUP3 = 4327
-- SYS_PIPE2 = 4328
-- SYS_INOTIFY_INIT1 = 4329
-- SYS_PREADV = 4330
-- SYS_PWRITEV = 4331
-- SYS_RT_TGSIGQUEUEINFO = 4332
-- SYS_PERF_EVENT_OPEN = 4333
-- SYS_ACCEPT4 = 4334
-- SYS_RECVMMSG = 4335
-- SYS_FANOTIFY_INIT = 4336
-- SYS_FANOTIFY_MARK = 4337
-- SYS_PRLIMIT64 = 4338
-- SYS_NAME_TO_HANDLE_AT = 4339
-- SYS_OPEN_BY_HANDLE_AT = 4340
-- SYS_CLOCK_ADJTIME = 4341
-- SYS_SYNCFS = 4342
-- SYS_SENDMMSG = 4343
-- SYS_SETNS = 4344
-- SYS_PROCESS_VM_READV = 4345
-- SYS_PROCESS_VM_WRITEV = 4346
-- SYS_KCMP = 4347
-- SYS_FINIT_MODULE = 4348
-- SYS_SCHED_SETATTR = 4349
-- SYS_SCHED_GETATTR = 4350
-- SYS_RENAMEAT2 = 4351
-- SYS_SECCOMP = 4352
-- SYS_GETRANDOM = 4353
-- SYS_MEMFD_CREATE = 4354
-- SYS_BPF = 4355
-- SYS_EXECVEAT = 4356
-- SYS_USERFAULTFD = 4357
-- SYS_MEMBARRIER = 4358
-- SYS_MLOCK2 = 4359
-- SYS_COPY_FILE_RANGE = 4360
-- SYS_PREADV2 = 4361
-- SYS_PWRITEV2 = 4362
-- SYS_PKEY_MPROTECT = 4363
-- SYS_PKEY_ALLOC = 4364
-- SYS_PKEY_FREE = 4365
-+ SYS_SYSCALL = 4000
-+ SYS_EXIT = 4001
-+ SYS_FORK = 4002
-+ SYS_READ = 4003
-+ SYS_WRITE = 4004
-+ SYS_OPEN = 4005
-+ SYS_CLOSE = 4006
-+ SYS_WAITPID = 4007
-+ SYS_CREAT = 4008
-+ SYS_LINK = 4009
-+ SYS_UNLINK = 4010
-+ SYS_EXECVE = 4011
-+ SYS_CHDIR = 4012
-+ SYS_TIME = 4013
-+ SYS_MKNOD = 4014
-+ SYS_CHMOD = 4015
-+ SYS_LCHOWN = 4016
-+ SYS_BREAK = 4017
-+ SYS_UNUSED18 = 4018
-+ SYS_LSEEK = 4019
-+ SYS_GETPID = 4020
-+ SYS_MOUNT = 4021
-+ SYS_UMOUNT = 4022
-+ SYS_SETUID = 4023
-+ SYS_GETUID = 4024
-+ SYS_STIME = 4025
-+ SYS_PTRACE = 4026
-+ SYS_ALARM = 4027
-+ SYS_UNUSED28 = 4028
-+ SYS_PAUSE = 4029
-+ SYS_UTIME = 4030
-+ SYS_STTY = 4031
-+ SYS_GTTY = 4032
-+ SYS_ACCESS = 4033
-+ SYS_NICE = 4034
-+ SYS_FTIME = 4035
-+ SYS_SYNC = 4036
-+ SYS_KILL = 4037
-+ SYS_RENAME = 4038
-+ SYS_MKDIR = 4039
-+ SYS_RMDIR = 4040
-+ SYS_DUP = 4041
-+ SYS_PIPE = 4042
-+ SYS_TIMES = 4043
-+ SYS_PROF = 4044
-+ SYS_BRK = 4045
-+ SYS_SETGID = 4046
-+ SYS_GETGID = 4047
-+ SYS_SIGNAL = 4048
-+ SYS_GETEUID = 4049
-+ SYS_GETEGID = 4050
-+ SYS_ACCT = 4051
-+ SYS_UMOUNT2 = 4052
-+ SYS_LOCK = 4053
-+ SYS_IOCTL = 4054
-+ SYS_FCNTL = 4055
-+ SYS_MPX = 4056
-+ SYS_SETPGID = 4057
-+ SYS_ULIMIT = 4058
-+ SYS_UNUSED59 = 4059
-+ SYS_UMASK = 4060
-+ SYS_CHROOT = 4061
-+ SYS_USTAT = 4062
-+ SYS_DUP2 = 4063
-+ SYS_GETPPID = 4064
-+ SYS_GETPGRP = 4065
-+ SYS_SETSID = 4066
-+ SYS_SIGACTION = 4067
-+ SYS_SGETMASK = 4068
-+ SYS_SSETMASK = 4069
-+ SYS_SETREUID = 4070
-+ SYS_SETREGID = 4071
-+ SYS_SIGSUSPEND = 4072
-+ SYS_SIGPENDING = 4073
-+ SYS_SETHOSTNAME = 4074
-+ SYS_SETRLIMIT = 4075
-+ SYS_GETRLIMIT = 4076
-+ SYS_GETRUSAGE = 4077
-+ SYS_GETTIMEOFDAY = 4078
-+ SYS_SETTIMEOFDAY = 4079
-+ SYS_GETGROUPS = 4080
-+ SYS_SETGROUPS = 4081
-+ SYS_RESERVED82 = 4082
-+ SYS_SYMLINK = 4083
-+ SYS_UNUSED84 = 4084
-+ SYS_READLINK = 4085
-+ SYS_USELIB = 4086
-+ SYS_SWAPON = 4087
-+ SYS_REBOOT = 4088
-+ SYS_READDIR = 4089
-+ SYS_MMAP = 4090
-+ SYS_MUNMAP = 4091
-+ SYS_TRUNCATE = 4092
-+ SYS_FTRUNCATE = 4093
-+ SYS_FCHMOD = 4094
-+ SYS_FCHOWN = 4095
-+ SYS_GETPRIORITY = 4096
-+ SYS_SETPRIORITY = 4097
-+ SYS_PROFIL = 4098
-+ SYS_STATFS = 4099
-+ SYS_FSTATFS = 4100
-+ SYS_IOPERM = 4101
-+ SYS_SOCKETCALL = 4102
-+ SYS_SYSLOG = 4103
-+ SYS_SETITIMER = 4104
-+ SYS_GETITIMER = 4105
-+ SYS_STAT = 4106
-+ SYS_LSTAT = 4107
-+ SYS_FSTAT = 4108
-+ SYS_UNUSED109 = 4109
-+ SYS_IOPL = 4110
-+ SYS_VHANGUP = 4111
-+ SYS_IDLE = 4112
-+ SYS_VM86 = 4113
-+ SYS_WAIT4 = 4114
-+ SYS_SWAPOFF = 4115
-+ SYS_SYSINFO = 4116
-+ SYS_IPC = 4117
-+ SYS_FSYNC = 4118
-+ SYS_SIGRETURN = 4119
-+ SYS_CLONE = 4120
-+ SYS_SETDOMAINNAME = 4121
-+ SYS_UNAME = 4122
-+ SYS_MODIFY_LDT = 4123
-+ SYS_ADJTIMEX = 4124
-+ SYS_MPROTECT = 4125
-+ SYS_SIGPROCMASK = 4126
-+ SYS_CREATE_MODULE = 4127
-+ SYS_INIT_MODULE = 4128
-+ SYS_DELETE_MODULE = 4129
-+ SYS_GET_KERNEL_SYMS = 4130
-+ SYS_QUOTACTL = 4131
-+ SYS_GETPGID = 4132
-+ SYS_FCHDIR = 4133
-+ SYS_BDFLUSH = 4134
-+ SYS_SYSFS = 4135
-+ SYS_PERSONALITY = 4136
-+ SYS_AFS_SYSCALL = 4137
-+ SYS_SETFSUID = 4138
-+ SYS_SETFSGID = 4139
-+ SYS__LLSEEK = 4140
-+ SYS_GETDENTS = 4141
-+ SYS__NEWSELECT = 4142
-+ SYS_FLOCK = 4143
-+ SYS_MSYNC = 4144
-+ SYS_READV = 4145
-+ SYS_WRITEV = 4146
-+ SYS_CACHEFLUSH = 4147
-+ SYS_CACHECTL = 4148
-+ SYS_SYSMIPS = 4149
-+ SYS_UNUSED150 = 4150
-+ SYS_GETSID = 4151
-+ SYS_FDATASYNC = 4152
-+ SYS__SYSCTL = 4153
-+ SYS_MLOCK = 4154
-+ SYS_MUNLOCK = 4155
-+ SYS_MLOCKALL = 4156
-+ SYS_MUNLOCKALL = 4157
-+ SYS_SCHED_SETPARAM = 4158
-+ SYS_SCHED_GETPARAM = 4159
-+ SYS_SCHED_SETSCHEDULER = 4160
-+ SYS_SCHED_GETSCHEDULER = 4161
-+ SYS_SCHED_YIELD = 4162
-+ SYS_SCHED_GET_PRIORITY_MAX = 4163
-+ SYS_SCHED_GET_PRIORITY_MIN = 4164
-+ SYS_SCHED_RR_GET_INTERVAL = 4165
-+ SYS_NANOSLEEP = 4166
-+ SYS_MREMAP = 4167
-+ SYS_ACCEPT = 4168
-+ SYS_BIND = 4169
-+ SYS_CONNECT = 4170
-+ SYS_GETPEERNAME = 4171
-+ SYS_GETSOCKNAME = 4172
-+ SYS_GETSOCKOPT = 4173
-+ SYS_LISTEN = 4174
-+ SYS_RECV = 4175
-+ SYS_RECVFROM = 4176
-+ SYS_RECVMSG = 4177
-+ SYS_SEND = 4178
-+ SYS_SENDMSG = 4179
-+ SYS_SENDTO = 4180
-+ SYS_SETSOCKOPT = 4181
-+ SYS_SHUTDOWN = 4182
-+ SYS_SOCKET = 4183
-+ SYS_SOCKETPAIR = 4184
-+ SYS_SETRESUID = 4185
-+ SYS_GETRESUID = 4186
-+ SYS_QUERY_MODULE = 4187
-+ SYS_POLL = 4188
-+ SYS_NFSSERVCTL = 4189
-+ SYS_SETRESGID = 4190
-+ SYS_GETRESGID = 4191
-+ SYS_PRCTL = 4192
-+ SYS_RT_SIGRETURN = 4193
-+ SYS_RT_SIGACTION = 4194
-+ SYS_RT_SIGPROCMASK = 4195
-+ SYS_RT_SIGPENDING = 4196
-+ SYS_RT_SIGTIMEDWAIT = 4197
-+ SYS_RT_SIGQUEUEINFO = 4198
-+ SYS_RT_SIGSUSPEND = 4199
-+ SYS_PREAD64 = 4200
-+ SYS_PWRITE64 = 4201
-+ SYS_CHOWN = 4202
-+ SYS_GETCWD = 4203
-+ SYS_CAPGET = 4204
-+ SYS_CAPSET = 4205
-+ SYS_SIGALTSTACK = 4206
-+ SYS_SENDFILE = 4207
-+ SYS_GETPMSG = 4208
-+ SYS_PUTPMSG = 4209
-+ SYS_MMAP2 = 4210
-+ SYS_TRUNCATE64 = 4211
-+ SYS_FTRUNCATE64 = 4212
-+ SYS_STAT64 = 4213
-+ SYS_LSTAT64 = 4214
-+ SYS_FSTAT64 = 4215
-+ SYS_PIVOT_ROOT = 4216
-+ SYS_MINCORE = 4217
-+ SYS_MADVISE = 4218
-+ SYS_GETDENTS64 = 4219
-+ SYS_FCNTL64 = 4220
-+ SYS_RESERVED221 = 4221
-+ SYS_GETTID = 4222
-+ SYS_READAHEAD = 4223
-+ SYS_SETXATTR = 4224
-+ SYS_LSETXATTR = 4225
-+ SYS_FSETXATTR = 4226
-+ SYS_GETXATTR = 4227
-+ SYS_LGETXATTR = 4228
-+ SYS_FGETXATTR = 4229
-+ SYS_LISTXATTR = 4230
-+ SYS_LLISTXATTR = 4231
-+ SYS_FLISTXATTR = 4232
-+ SYS_REMOVEXATTR = 4233
-+ SYS_LREMOVEXATTR = 4234
-+ SYS_FREMOVEXATTR = 4235
-+ SYS_TKILL = 4236
-+ SYS_SENDFILE64 = 4237
-+ SYS_FUTEX = 4238
-+ SYS_SCHED_SETAFFINITY = 4239
-+ SYS_SCHED_GETAFFINITY = 4240
-+ SYS_IO_SETUP = 4241
-+ SYS_IO_DESTROY = 4242
-+ SYS_IO_GETEVENTS = 4243
-+ SYS_IO_SUBMIT = 4244
-+ SYS_IO_CANCEL = 4245
-+ SYS_EXIT_GROUP = 4246
-+ SYS_LOOKUP_DCOOKIE = 4247
-+ SYS_EPOLL_CREATE = 4248
-+ SYS_EPOLL_CTL = 4249
-+ SYS_EPOLL_WAIT = 4250
-+ SYS_REMAP_FILE_PAGES = 4251
-+ SYS_SET_TID_ADDRESS = 4252
-+ SYS_RESTART_SYSCALL = 4253
-+ SYS_FADVISE64 = 4254
-+ SYS_STATFS64 = 4255
-+ SYS_FSTATFS64 = 4256
-+ SYS_TIMER_CREATE = 4257
-+ SYS_TIMER_SETTIME = 4258
-+ SYS_TIMER_GETTIME = 4259
-+ SYS_TIMER_GETOVERRUN = 4260
-+ SYS_TIMER_DELETE = 4261
-+ SYS_CLOCK_SETTIME = 4262
-+ SYS_CLOCK_GETTIME = 4263
-+ SYS_CLOCK_GETRES = 4264
-+ SYS_CLOCK_NANOSLEEP = 4265
-+ SYS_TGKILL = 4266
-+ SYS_UTIMES = 4267
-+ SYS_MBIND = 4268
-+ SYS_GET_MEMPOLICY = 4269
-+ SYS_SET_MEMPOLICY = 4270
-+ SYS_MQ_OPEN = 4271
-+ SYS_MQ_UNLINK = 4272
-+ SYS_MQ_TIMEDSEND = 4273
-+ SYS_MQ_TIMEDRECEIVE = 4274
-+ SYS_MQ_NOTIFY = 4275
-+ SYS_MQ_GETSETATTR = 4276
-+ SYS_VSERVER = 4277
-+ SYS_WAITID = 4278
-+ SYS_ADD_KEY = 4280
-+ SYS_REQUEST_KEY = 4281
-+ SYS_KEYCTL = 4282
-+ SYS_SET_THREAD_AREA = 4283
-+ SYS_INOTIFY_INIT = 4284
-+ SYS_INOTIFY_ADD_WATCH = 4285
-+ SYS_INOTIFY_RM_WATCH = 4286
-+ SYS_MIGRATE_PAGES = 4287
-+ SYS_OPENAT = 4288
-+ SYS_MKDIRAT = 4289
-+ SYS_MKNODAT = 4290
-+ SYS_FCHOWNAT = 4291
-+ SYS_FUTIMESAT = 4292
-+ SYS_FSTATAT64 = 4293
-+ SYS_UNLINKAT = 4294
-+ SYS_RENAMEAT = 4295
-+ SYS_LINKAT = 4296
-+ SYS_SYMLINKAT = 4297
-+ SYS_READLINKAT = 4298
-+ SYS_FCHMODAT = 4299
-+ SYS_FACCESSAT = 4300
-+ SYS_PSELECT6 = 4301
-+ SYS_PPOLL = 4302
-+ SYS_UNSHARE = 4303
-+ SYS_SPLICE = 4304
-+ SYS_SYNC_FILE_RANGE = 4305
-+ SYS_TEE = 4306
-+ SYS_VMSPLICE = 4307
-+ SYS_MOVE_PAGES = 4308
-+ SYS_SET_ROBUST_LIST = 4309
-+ SYS_GET_ROBUST_LIST = 4310
-+ SYS_KEXEC_LOAD = 4311
-+ SYS_GETCPU = 4312
-+ SYS_EPOLL_PWAIT = 4313
-+ SYS_IOPRIO_SET = 4314
-+ SYS_IOPRIO_GET = 4315
-+ SYS_UTIMENSAT = 4316
-+ SYS_SIGNALFD = 4317
-+ SYS_TIMERFD = 4318
-+ SYS_EVENTFD = 4319
-+ SYS_FALLOCATE = 4320
-+ SYS_TIMERFD_CREATE = 4321
-+ SYS_TIMERFD_GETTIME = 4322
-+ SYS_TIMERFD_SETTIME = 4323
-+ SYS_SIGNALFD4 = 4324
-+ SYS_EVENTFD2 = 4325
-+ SYS_EPOLL_CREATE1 = 4326
-+ SYS_DUP3 = 4327
-+ SYS_PIPE2 = 4328
-+ SYS_INOTIFY_INIT1 = 4329
-+ SYS_PREADV = 4330
-+ SYS_PWRITEV = 4331
-+ SYS_RT_TGSIGQUEUEINFO = 4332
-+ SYS_PERF_EVENT_OPEN = 4333
-+ SYS_ACCEPT4 = 4334
-+ SYS_RECVMMSG = 4335
-+ SYS_FANOTIFY_INIT = 4336
-+ SYS_FANOTIFY_MARK = 4337
-+ SYS_PRLIMIT64 = 4338
-+ SYS_NAME_TO_HANDLE_AT = 4339
-+ SYS_OPEN_BY_HANDLE_AT = 4340
-+ SYS_CLOCK_ADJTIME = 4341
-+ SYS_SYNCFS = 4342
-+ SYS_SENDMMSG = 4343
-+ SYS_SETNS = 4344
-+ SYS_PROCESS_VM_READV = 4345
-+ SYS_PROCESS_VM_WRITEV = 4346
-+ SYS_KCMP = 4347
-+ SYS_FINIT_MODULE = 4348
-+ SYS_SCHED_SETATTR = 4349
-+ SYS_SCHED_GETATTR = 4350
-+ SYS_RENAMEAT2 = 4351
-+ SYS_SECCOMP = 4352
-+ SYS_GETRANDOM = 4353
-+ SYS_MEMFD_CREATE = 4354
-+ SYS_BPF = 4355
-+ SYS_EXECVEAT = 4356
-+ SYS_USERFAULTFD = 4357
-+ SYS_MEMBARRIER = 4358
-+ SYS_MLOCK2 = 4359
-+ SYS_COPY_FILE_RANGE = 4360
-+ SYS_PREADV2 = 4361
-+ SYS_PWRITEV2 = 4362
-+ SYS_PKEY_MPROTECT = 4363
-+ SYS_PKEY_ALLOC = 4364
-+ SYS_PKEY_FREE = 4365
-+ SYS_STATX = 4366
-+ SYS_RSEQ = 4367
-+ SYS_IO_PGETEVENTS = 4368
-+ SYS_SEMGET = 4393
-+ SYS_SEMCTL = 4394
-+ SYS_SHMGET = 4395
-+ SYS_SHMCTL = 4396
-+ SYS_SHMAT = 4397
-+ SYS_SHMDT = 4398
-+ SYS_MSGGET = 4399
-+ SYS_MSGSND = 4400
-+ SYS_MSGRCV = 4401
-+ SYS_MSGCTL = 4402
-+ SYS_CLOCK_GETTIME64 = 4403
-+ SYS_CLOCK_SETTIME64 = 4404
-+ SYS_CLOCK_ADJTIME64 = 4405
-+ SYS_CLOCK_GETRES_TIME64 = 4406
-+ SYS_CLOCK_NANOSLEEP_TIME64 = 4407
-+ SYS_TIMER_GETTIME64 = 4408
-+ SYS_TIMER_SETTIME64 = 4409
-+ SYS_TIMERFD_GETTIME64 = 4410
-+ SYS_TIMERFD_SETTIME64 = 4411
-+ SYS_UTIMENSAT_TIME64 = 4412
-+ SYS_PSELECT6_TIME64 = 4413
-+ SYS_PPOLL_TIME64 = 4414
-+ SYS_IO_PGETEVENTS_TIME64 = 4416
-+ SYS_RECVMMSG_TIME64 = 4417
-+ SYS_MQ_TIMEDSEND_TIME64 = 4418
-+ SYS_MQ_TIMEDRECEIVE_TIME64 = 4419
-+ SYS_SEMTIMEDOP_TIME64 = 4420
-+ SYS_RT_SIGTIMEDWAIT_TIME64 = 4421
-+ SYS_FUTEX_TIME64 = 4422
-+ SYS_SCHED_RR_GET_INTERVAL_TIME64 = 4423
-+ SYS_PIDFD_SEND_SIGNAL = 4424
-+ SYS_IO_URING_SETUP = 4425
-+ SYS_IO_URING_ENTER = 4426
-+ SYS_IO_URING_REGISTER = 4427
-+ SYS_OPEN_TREE = 4428
-+ SYS_MOVE_MOUNT = 4429
-+ SYS_FSOPEN = 4430
-+ SYS_FSCONFIG = 4431
-+ SYS_FSMOUNT = 4432
-+ SYS_FSPICK = 4433
-+ SYS_PIDFD_OPEN = 4434
-+ SYS_CLONE3 = 4435
-+ SYS_OPENAT2 = 4437
-+ SYS_PIDFD_GETFD = 4438
- )
-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 09db9596..4e525118 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 @@
--// linux/mksysnum.pl -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h
-+// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h
- // Code generated by the command above; see README.md. DO NOT EDIT.
-
- // +build mips64,linux
-@@ -331,4 +331,21 @@ const (
- 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_OPENAT2 = 5437
-+ SYS_PIDFD_GETFD = 5438
- )
-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 d1b872a0..4d9aa300 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 @@
--// linux/mksysnum.pl -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h
-+// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h
- // Code generated by the command above; see README.md. DO NOT EDIT.
-
- // +build mips64le,linux
-@@ -331,4 +331,21 @@ const (
- 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_OPENAT2 = 5437
-+ SYS_PIDFD_GETFD = 5438
- )
-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 82ba20f2..64af0707 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 @@
--// linux/mksysnum.pl -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h
-+// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h
- // Code generated by the command above; see README.md. DO NOT EDIT.
-
- // +build mipsle,linux
-@@ -6,369 +6,416 @@
- package unix
-
- const (
-- SYS_SYSCALL = 4000
-- SYS_EXIT = 4001
-- SYS_FORK = 4002
-- SYS_READ = 4003
-- SYS_WRITE = 4004
-- SYS_OPEN = 4005
-- SYS_CLOSE = 4006
-- SYS_WAITPID = 4007
-- SYS_CREAT = 4008
-- SYS_LINK = 4009
-- SYS_UNLINK = 4010
-- SYS_EXECVE = 4011
-- SYS_CHDIR = 4012
-- SYS_TIME = 4013
-- SYS_MKNOD = 4014
-- SYS_CHMOD = 4015
-- SYS_LCHOWN = 4016
-- SYS_BREAK = 4017
-- SYS_UNUSED18 = 4018
-- SYS_LSEEK = 4019
-- SYS_GETPID = 4020
-- SYS_MOUNT = 4021
-- SYS_UMOUNT = 4022
-- SYS_SETUID = 4023
-- SYS_GETUID = 4024
-- SYS_STIME = 4025
-- SYS_PTRACE = 4026
-- SYS_ALARM = 4027
-- SYS_UNUSED28 = 4028
-- SYS_PAUSE = 4029
-- SYS_UTIME = 4030
-- SYS_STTY = 4031
-- SYS_GTTY = 4032
-- SYS_ACCESS = 4033
-- SYS_NICE = 4034
-- SYS_FTIME = 4035
-- SYS_SYNC = 4036
-- SYS_KILL = 4037
-- SYS_RENAME = 4038
-- SYS_MKDIR = 4039
-- SYS_RMDIR = 4040
-- SYS_DUP = 4041
-- SYS_PIPE = 4042
-- SYS_TIMES = 4043
-- SYS_PROF = 4044
-- SYS_BRK = 4045
-- SYS_SETGID = 4046
-- SYS_GETGID = 4047
-- SYS_SIGNAL = 4048
-- SYS_GETEUID = 4049
-- SYS_GETEGID = 4050
-- SYS_ACCT = 4051
-- SYS_UMOUNT2 = 4052
-- SYS_LOCK = 4053
-- SYS_IOCTL = 4054
-- SYS_FCNTL = 4055
-- SYS_MPX = 4056
-- SYS_SETPGID = 4057
-- SYS_ULIMIT = 4058
-- SYS_UNUSED59 = 4059
-- SYS_UMASK = 4060
-- SYS_CHROOT = 4061
-- SYS_USTAT = 4062
-- SYS_DUP2 = 4063
-- SYS_GETPPID = 4064
-- SYS_GETPGRP = 4065
-- SYS_SETSID = 4066
-- SYS_SIGACTION = 4067
-- SYS_SGETMASK = 4068
-- SYS_SSETMASK = 4069
-- SYS_SETREUID = 4070
-- SYS_SETREGID = 4071
-- SYS_SIGSUSPEND = 4072
-- SYS_SIGPENDING = 4073
-- SYS_SETHOSTNAME = 4074
-- SYS_SETRLIMIT = 4075
-- SYS_GETRLIMIT = 4076
-- SYS_GETRUSAGE = 4077
-- SYS_GETTIMEOFDAY = 4078
-- SYS_SETTIMEOFDAY = 4079
-- SYS_GETGROUPS = 4080
-- SYS_SETGROUPS = 4081
-- SYS_RESERVED82 = 4082
-- SYS_SYMLINK = 4083
-- SYS_UNUSED84 = 4084
-- SYS_READLINK = 4085
-- SYS_USELIB = 4086
-- SYS_SWAPON = 4087
-- SYS_REBOOT = 4088
-- SYS_READDIR = 4089
-- SYS_MMAP = 4090
-- SYS_MUNMAP = 4091
-- SYS_TRUNCATE = 4092
-- SYS_FTRUNCATE = 4093
-- SYS_FCHMOD = 4094
-- SYS_FCHOWN = 4095
-- SYS_GETPRIORITY = 4096
-- SYS_SETPRIORITY = 4097
-- SYS_PROFIL = 4098
-- SYS_STATFS = 4099
-- SYS_FSTATFS = 4100
-- SYS_IOPERM = 4101
-- SYS_SOCKETCALL = 4102
-- SYS_SYSLOG = 4103
-- SYS_SETITIMER = 4104
-- SYS_GETITIMER = 4105
-- SYS_STAT = 4106
-- SYS_LSTAT = 4107
-- SYS_FSTAT = 4108
-- SYS_UNUSED109 = 4109
-- SYS_IOPL = 4110
-- SYS_VHANGUP = 4111
-- SYS_IDLE = 4112
-- SYS_VM86 = 4113
-- SYS_WAIT4 = 4114
-- SYS_SWAPOFF = 4115
-- SYS_SYSINFO = 4116
-- SYS_IPC = 4117
-- SYS_FSYNC = 4118
-- SYS_SIGRETURN = 4119
-- SYS_CLONE = 4120
-- SYS_SETDOMAINNAME = 4121
-- SYS_UNAME = 4122
-- SYS_MODIFY_LDT = 4123
-- SYS_ADJTIMEX = 4124
-- SYS_MPROTECT = 4125
-- SYS_SIGPROCMASK = 4126
-- SYS_CREATE_MODULE = 4127
-- SYS_INIT_MODULE = 4128
-- SYS_DELETE_MODULE = 4129
-- SYS_GET_KERNEL_SYMS = 4130
-- SYS_QUOTACTL = 4131
-- SYS_GETPGID = 4132
-- SYS_FCHDIR = 4133
-- SYS_BDFLUSH = 4134
-- SYS_SYSFS = 4135
-- SYS_PERSONALITY = 4136
-- SYS_AFS_SYSCALL = 4137
-- SYS_SETFSUID = 4138
-- SYS_SETFSGID = 4139
-- SYS__LLSEEK = 4140
-- SYS_GETDENTS = 4141
-- SYS__NEWSELECT = 4142
-- SYS_FLOCK = 4143
-- SYS_MSYNC = 4144
-- SYS_READV = 4145
-- SYS_WRITEV = 4146
-- SYS_CACHEFLUSH = 4147
-- SYS_CACHECTL = 4148
-- SYS_SYSMIPS = 4149
-- SYS_UNUSED150 = 4150
-- SYS_GETSID = 4151
-- SYS_FDATASYNC = 4152
-- SYS__SYSCTL = 4153
-- SYS_MLOCK = 4154
-- SYS_MUNLOCK = 4155
-- SYS_MLOCKALL = 4156
-- SYS_MUNLOCKALL = 4157
-- SYS_SCHED_SETPARAM = 4158
-- SYS_SCHED_GETPARAM = 4159
-- SYS_SCHED_SETSCHEDULER = 4160
-- SYS_SCHED_GETSCHEDULER = 4161
-- SYS_SCHED_YIELD = 4162
-- SYS_SCHED_GET_PRIORITY_MAX = 4163
-- SYS_SCHED_GET_PRIORITY_MIN = 4164
-- SYS_SCHED_RR_GET_INTERVAL = 4165
-- SYS_NANOSLEEP = 4166
-- SYS_MREMAP = 4167
-- SYS_ACCEPT = 4168
-- SYS_BIND = 4169
-- SYS_CONNECT = 4170
-- SYS_GETPEERNAME = 4171
-- SYS_GETSOCKNAME = 4172
-- SYS_GETSOCKOPT = 4173
-- SYS_LISTEN = 4174
-- SYS_RECV = 4175
-- SYS_RECVFROM = 4176
-- SYS_RECVMSG = 4177
-- SYS_SEND = 4178
-- SYS_SENDMSG = 4179
-- SYS_SENDTO = 4180
-- SYS_SETSOCKOPT = 4181
-- SYS_SHUTDOWN = 4182
-- SYS_SOCKET = 4183
-- SYS_SOCKETPAIR = 4184
-- SYS_SETRESUID = 4185
-- SYS_GETRESUID = 4186
-- SYS_QUERY_MODULE = 4187
-- SYS_POLL = 4188
-- SYS_NFSSERVCTL = 4189
-- SYS_SETRESGID = 4190
-- SYS_GETRESGID = 4191
-- SYS_PRCTL = 4192
-- SYS_RT_SIGRETURN = 4193
-- SYS_RT_SIGACTION = 4194
-- SYS_RT_SIGPROCMASK = 4195
-- SYS_RT_SIGPENDING = 4196
-- SYS_RT_SIGTIMEDWAIT = 4197
-- SYS_RT_SIGQUEUEINFO = 4198
-- SYS_RT_SIGSUSPEND = 4199
-- SYS_PREAD64 = 4200
-- SYS_PWRITE64 = 4201
-- SYS_CHOWN = 4202
-- SYS_GETCWD = 4203
-- SYS_CAPGET = 4204
-- SYS_CAPSET = 4205
-- SYS_SIGALTSTACK = 4206
-- SYS_SENDFILE = 4207
-- SYS_GETPMSG = 4208
-- SYS_PUTPMSG = 4209
-- SYS_MMAP2 = 4210
-- SYS_TRUNCATE64 = 4211
-- SYS_FTRUNCATE64 = 4212
-- SYS_STAT64 = 4213
-- SYS_LSTAT64 = 4214
-- SYS_FSTAT64 = 4215
-- SYS_PIVOT_ROOT = 4216
-- SYS_MINCORE = 4217
-- SYS_MADVISE = 4218
-- SYS_GETDENTS64 = 4219
-- SYS_FCNTL64 = 4220
-- SYS_RESERVED221 = 4221
-- SYS_GETTID = 4222
-- SYS_READAHEAD = 4223
-- SYS_SETXATTR = 4224
-- SYS_LSETXATTR = 4225
-- SYS_FSETXATTR = 4226
-- SYS_GETXATTR = 4227
-- SYS_LGETXATTR = 4228
-- SYS_FGETXATTR = 4229
-- SYS_LISTXATTR = 4230
-- SYS_LLISTXATTR = 4231
-- SYS_FLISTXATTR = 4232
-- SYS_REMOVEXATTR = 4233
-- SYS_LREMOVEXATTR = 4234
-- SYS_FREMOVEXATTR = 4235
-- SYS_TKILL = 4236
-- SYS_SENDFILE64 = 4237
-- SYS_FUTEX = 4238
-- SYS_SCHED_SETAFFINITY = 4239
-- SYS_SCHED_GETAFFINITY = 4240
-- SYS_IO_SETUP = 4241
-- SYS_IO_DESTROY = 4242
-- SYS_IO_GETEVENTS = 4243
-- SYS_IO_SUBMIT = 4244
-- SYS_IO_CANCEL = 4245
-- SYS_EXIT_GROUP = 4246
-- SYS_LOOKUP_DCOOKIE = 4247
-- SYS_EPOLL_CREATE = 4248
-- SYS_EPOLL_CTL = 4249
-- SYS_EPOLL_WAIT = 4250
-- SYS_REMAP_FILE_PAGES = 4251
-- SYS_SET_TID_ADDRESS = 4252
-- SYS_RESTART_SYSCALL = 4253
-- SYS_FADVISE64 = 4254
-- SYS_STATFS64 = 4255
-- SYS_FSTATFS64 = 4256
-- SYS_TIMER_CREATE = 4257
-- SYS_TIMER_SETTIME = 4258
-- SYS_TIMER_GETTIME = 4259
-- SYS_TIMER_GETOVERRUN = 4260
-- SYS_TIMER_DELETE = 4261
-- SYS_CLOCK_SETTIME = 4262
-- SYS_CLOCK_GETTIME = 4263
-- SYS_CLOCK_GETRES = 4264
-- SYS_CLOCK_NANOSLEEP = 4265
-- SYS_TGKILL = 4266
-- SYS_UTIMES = 4267
-- SYS_MBIND = 4268
-- SYS_GET_MEMPOLICY = 4269
-- SYS_SET_MEMPOLICY = 4270
-- SYS_MQ_OPEN = 4271
-- SYS_MQ_UNLINK = 4272
-- SYS_MQ_TIMEDSEND = 4273
-- SYS_MQ_TIMEDRECEIVE = 4274
-- SYS_MQ_NOTIFY = 4275
-- SYS_MQ_GETSETATTR = 4276
-- SYS_VSERVER = 4277
-- SYS_WAITID = 4278
-- SYS_ADD_KEY = 4280
-- SYS_REQUEST_KEY = 4281
-- SYS_KEYCTL = 4282
-- SYS_SET_THREAD_AREA = 4283
-- SYS_INOTIFY_INIT = 4284
-- SYS_INOTIFY_ADD_WATCH = 4285
-- SYS_INOTIFY_RM_WATCH = 4286
-- SYS_MIGRATE_PAGES = 4287
-- SYS_OPENAT = 4288
-- SYS_MKDIRAT = 4289
-- SYS_MKNODAT = 4290
-- SYS_FCHOWNAT = 4291
-- SYS_FUTIMESAT = 4292
-- SYS_FSTATAT64 = 4293
-- SYS_UNLINKAT = 4294
-- SYS_RENAMEAT = 4295
-- SYS_LINKAT = 4296
-- SYS_SYMLINKAT = 4297
-- SYS_READLINKAT = 4298
-- SYS_FCHMODAT = 4299
-- SYS_FACCESSAT = 4300
-- SYS_PSELECT6 = 4301
-- SYS_PPOLL = 4302
-- SYS_UNSHARE = 4303
-- SYS_SPLICE = 4304
-- SYS_SYNC_FILE_RANGE = 4305
-- SYS_TEE = 4306
-- SYS_VMSPLICE = 4307
-- SYS_MOVE_PAGES = 4308
-- SYS_SET_ROBUST_LIST = 4309
-- SYS_GET_ROBUST_LIST = 4310
-- SYS_KEXEC_LOAD = 4311
-- SYS_GETCPU = 4312
-- SYS_EPOLL_PWAIT = 4313
-- SYS_IOPRIO_SET = 4314
-- SYS_IOPRIO_GET = 4315
-- SYS_UTIMENSAT = 4316
-- SYS_SIGNALFD = 4317
-- SYS_TIMERFD = 4318
-- SYS_EVENTFD = 4319
-- SYS_FALLOCATE = 4320
-- SYS_TIMERFD_CREATE = 4321
-- SYS_TIMERFD_GETTIME = 4322
-- SYS_TIMERFD_SETTIME = 4323
-- SYS_SIGNALFD4 = 4324
-- SYS_EVENTFD2 = 4325
-- SYS_EPOLL_CREATE1 = 4326
-- SYS_DUP3 = 4327
-- SYS_PIPE2 = 4328
-- SYS_INOTIFY_INIT1 = 4329
-- SYS_PREADV = 4330
-- SYS_PWRITEV = 4331
-- SYS_RT_TGSIGQUEUEINFO = 4332
-- SYS_PERF_EVENT_OPEN = 4333
-- SYS_ACCEPT4 = 4334
-- SYS_RECVMMSG = 4335
-- SYS_FANOTIFY_INIT = 4336
-- SYS_FANOTIFY_MARK = 4337
-- SYS_PRLIMIT64 = 4338
-- SYS_NAME_TO_HANDLE_AT = 4339
-- SYS_OPEN_BY_HANDLE_AT = 4340
-- SYS_CLOCK_ADJTIME = 4341
-- SYS_SYNCFS = 4342
-- SYS_SENDMMSG = 4343
-- SYS_SETNS = 4344
-- SYS_PROCESS_VM_READV = 4345
-- SYS_PROCESS_VM_WRITEV = 4346
-- SYS_KCMP = 4347
-- SYS_FINIT_MODULE = 4348
-- SYS_SCHED_SETATTR = 4349
-- SYS_SCHED_GETATTR = 4350
-- SYS_RENAMEAT2 = 4351
-- SYS_SECCOMP = 4352
-- SYS_GETRANDOM = 4353
-- SYS_MEMFD_CREATE = 4354
-- SYS_BPF = 4355
-- SYS_EXECVEAT = 4356
-- SYS_USERFAULTFD = 4357
-- SYS_MEMBARRIER = 4358
-- SYS_MLOCK2 = 4359
-- SYS_COPY_FILE_RANGE = 4360
-- SYS_PREADV2 = 4361
-- SYS_PWRITEV2 = 4362
-- SYS_PKEY_MPROTECT = 4363
-- SYS_PKEY_ALLOC = 4364
-- SYS_PKEY_FREE = 4365
-+ SYS_SYSCALL = 4000
-+ SYS_EXIT = 4001
-+ SYS_FORK = 4002
-+ SYS_READ = 4003
-+ SYS_WRITE = 4004
-+ SYS_OPEN = 4005
-+ SYS_CLOSE = 4006
-+ SYS_WAITPID = 4007
-+ SYS_CREAT = 4008
-+ SYS_LINK = 4009
-+ SYS_UNLINK = 4010
-+ SYS_EXECVE = 4011
-+ SYS_CHDIR = 4012
-+ SYS_TIME = 4013
-+ SYS_MKNOD = 4014
-+ SYS_CHMOD = 4015
-+ SYS_LCHOWN = 4016
-+ SYS_BREAK = 4017
-+ SYS_UNUSED18 = 4018
-+ SYS_LSEEK = 4019
-+ SYS_GETPID = 4020
-+ SYS_MOUNT = 4021
-+ SYS_UMOUNT = 4022
-+ SYS_SETUID = 4023
-+ SYS_GETUID = 4024
-+ SYS_STIME = 4025
-+ SYS_PTRACE = 4026
-+ SYS_ALARM = 4027
-+ SYS_UNUSED28 = 4028
-+ SYS_PAUSE = 4029
-+ SYS_UTIME = 4030
-+ SYS_STTY = 4031
-+ SYS_GTTY = 4032
-+ SYS_ACCESS = 4033
-+ SYS_NICE = 4034
-+ SYS_FTIME = 4035
-+ SYS_SYNC = 4036
-+ SYS_KILL = 4037
-+ SYS_RENAME = 4038
-+ SYS_MKDIR = 4039
-+ SYS_RMDIR = 4040
-+ SYS_DUP = 4041
-+ SYS_PIPE = 4042
-+ SYS_TIMES = 4043
-+ SYS_PROF = 4044
-+ SYS_BRK = 4045
-+ SYS_SETGID = 4046
-+ SYS_GETGID = 4047
-+ SYS_SIGNAL = 4048
-+ SYS_GETEUID = 4049
-+ SYS_GETEGID = 4050
-+ SYS_ACCT = 4051
-+ SYS_UMOUNT2 = 4052
-+ SYS_LOCK = 4053
-+ SYS_IOCTL = 4054
-+ SYS_FCNTL = 4055
-+ SYS_MPX = 4056
-+ SYS_SETPGID = 4057
-+ SYS_ULIMIT = 4058
-+ SYS_UNUSED59 = 4059
-+ SYS_UMASK = 4060
-+ SYS_CHROOT = 4061
-+ SYS_USTAT = 4062
-+ SYS_DUP2 = 4063
-+ SYS_GETPPID = 4064
-+ SYS_GETPGRP = 4065
-+ SYS_SETSID = 4066
-+ SYS_SIGACTION = 4067
-+ SYS_SGETMASK = 4068
-+ SYS_SSETMASK = 4069
-+ SYS_SETREUID = 4070
-+ SYS_SETREGID = 4071
-+ SYS_SIGSUSPEND = 4072
-+ SYS_SIGPENDING = 4073
-+ SYS_SETHOSTNAME = 4074
-+ SYS_SETRLIMIT = 4075
-+ SYS_GETRLIMIT = 4076
-+ SYS_GETRUSAGE = 4077
-+ SYS_GETTIMEOFDAY = 4078
-+ SYS_SETTIMEOFDAY = 4079
-+ SYS_GETGROUPS = 4080
-+ SYS_SETGROUPS = 4081
-+ SYS_RESERVED82 = 4082
-+ SYS_SYMLINK = 4083
-+ SYS_UNUSED84 = 4084
-+ SYS_READLINK = 4085
-+ SYS_USELIB = 4086
-+ SYS_SWAPON = 4087
-+ SYS_REBOOT = 4088
-+ SYS_READDIR = 4089
-+ SYS_MMAP = 4090
-+ SYS_MUNMAP = 4091
-+ SYS_TRUNCATE = 4092
-+ SYS_FTRUNCATE = 4093
-+ SYS_FCHMOD = 4094
-+ SYS_FCHOWN = 4095
-+ SYS_GETPRIORITY = 4096
-+ SYS_SETPRIORITY = 4097
-+ SYS_PROFIL = 4098
-+ SYS_STATFS = 4099
-+ SYS_FSTATFS = 4100
-+ SYS_IOPERM = 4101
-+ SYS_SOCKETCALL = 4102
-+ SYS_SYSLOG = 4103
-+ SYS_SETITIMER = 4104
-+ SYS_GETITIMER = 4105
-+ SYS_STAT = 4106
-+ SYS_LSTAT = 4107
-+ SYS_FSTAT = 4108
-+ SYS_UNUSED109 = 4109
-+ SYS_IOPL = 4110
-+ SYS_VHANGUP = 4111
-+ SYS_IDLE = 4112
-+ SYS_VM86 = 4113
-+ SYS_WAIT4 = 4114
-+ SYS_SWAPOFF = 4115
-+ SYS_SYSINFO = 4116
-+ SYS_IPC = 4117
-+ SYS_FSYNC = 4118
-+ SYS_SIGRETURN = 4119
-+ SYS_CLONE = 4120
-+ SYS_SETDOMAINNAME = 4121
-+ SYS_UNAME = 4122
-+ SYS_MODIFY_LDT = 4123
-+ SYS_ADJTIMEX = 4124
-+ SYS_MPROTECT = 4125
-+ SYS_SIGPROCMASK = 4126
-+ SYS_CREATE_MODULE = 4127
-+ SYS_INIT_MODULE = 4128
-+ SYS_DELETE_MODULE = 4129
-+ SYS_GET_KERNEL_SYMS = 4130
-+ SYS_QUOTACTL = 4131
-+ SYS_GETPGID = 4132
-+ SYS_FCHDIR = 4133
-+ SYS_BDFLUSH = 4134
-+ SYS_SYSFS = 4135
-+ SYS_PERSONALITY = 4136
-+ SYS_AFS_SYSCALL = 4137
-+ SYS_SETFSUID = 4138
-+ SYS_SETFSGID = 4139
-+ SYS__LLSEEK = 4140
-+ SYS_GETDENTS = 4141
-+ SYS__NEWSELECT = 4142
-+ SYS_FLOCK = 4143
-+ SYS_MSYNC = 4144
-+ SYS_READV = 4145
-+ SYS_WRITEV = 4146
-+ SYS_CACHEFLUSH = 4147
-+ SYS_CACHECTL = 4148
-+ SYS_SYSMIPS = 4149
-+ SYS_UNUSED150 = 4150
-+ SYS_GETSID = 4151
-+ SYS_FDATASYNC = 4152
-+ SYS__SYSCTL = 4153
-+ SYS_MLOCK = 4154
-+ SYS_MUNLOCK = 4155
-+ SYS_MLOCKALL = 4156
-+ SYS_MUNLOCKALL = 4157
-+ SYS_SCHED_SETPARAM = 4158
-+ SYS_SCHED_GETPARAM = 4159
-+ SYS_SCHED_SETSCHEDULER = 4160
-+ SYS_SCHED_GETSCHEDULER = 4161
-+ SYS_SCHED_YIELD = 4162
-+ SYS_SCHED_GET_PRIORITY_MAX = 4163
-+ SYS_SCHED_GET_PRIORITY_MIN = 4164
-+ SYS_SCHED_RR_GET_INTERVAL = 4165
-+ SYS_NANOSLEEP = 4166
-+ SYS_MREMAP = 4167
-+ SYS_ACCEPT = 4168
-+ SYS_BIND = 4169
-+ SYS_CONNECT = 4170
-+ SYS_GETPEERNAME = 4171
-+ SYS_GETSOCKNAME = 4172
-+ SYS_GETSOCKOPT = 4173
-+ SYS_LISTEN = 4174
-+ SYS_RECV = 4175
-+ SYS_RECVFROM = 4176
-+ SYS_RECVMSG = 4177
-+ SYS_SEND = 4178
-+ SYS_SENDMSG = 4179
-+ SYS_SENDTO = 4180
-+ SYS_SETSOCKOPT = 4181
-+ SYS_SHUTDOWN = 4182
-+ SYS_SOCKET = 4183
-+ SYS_SOCKETPAIR = 4184
-+ SYS_SETRESUID = 4185
-+ SYS_GETRESUID = 4186
-+ SYS_QUERY_MODULE = 4187
-+ SYS_POLL = 4188
-+ SYS_NFSSERVCTL = 4189
-+ SYS_SETRESGID = 4190
-+ SYS_GETRESGID = 4191
-+ SYS_PRCTL = 4192
-+ SYS_RT_SIGRETURN = 4193
-+ SYS_RT_SIGACTION = 4194
-+ SYS_RT_SIGPROCMASK = 4195
-+ SYS_RT_SIGPENDING = 4196
-+ SYS_RT_SIGTIMEDWAIT = 4197
-+ SYS_RT_SIGQUEUEINFO = 4198
-+ SYS_RT_SIGSUSPEND = 4199
-+ SYS_PREAD64 = 4200
-+ SYS_PWRITE64 = 4201
-+ SYS_CHOWN = 4202
-+ SYS_GETCWD = 4203
-+ SYS_CAPGET = 4204
-+ SYS_CAPSET = 4205
-+ SYS_SIGALTSTACK = 4206
-+ SYS_SENDFILE = 4207
-+ SYS_GETPMSG = 4208
-+ SYS_PUTPMSG = 4209
-+ SYS_MMAP2 = 4210
-+ SYS_TRUNCATE64 = 4211
-+ SYS_FTRUNCATE64 = 4212
-+ SYS_STAT64 = 4213
-+ SYS_LSTAT64 = 4214
-+ SYS_FSTAT64 = 4215
-+ SYS_PIVOT_ROOT = 4216
-+ SYS_MINCORE = 4217
-+ SYS_MADVISE = 4218
-+ SYS_GETDENTS64 = 4219
-+ SYS_FCNTL64 = 4220
-+ SYS_RESERVED221 = 4221
-+ SYS_GETTID = 4222
-+ SYS_READAHEAD = 4223
-+ SYS_SETXATTR = 4224
-+ SYS_LSETXATTR = 4225
-+ SYS_FSETXATTR = 4226
-+ SYS_GETXATTR = 4227
-+ SYS_LGETXATTR = 4228
-+ SYS_FGETXATTR = 4229
-+ SYS_LISTXATTR = 4230
-+ SYS_LLISTXATTR = 4231
-+ SYS_FLISTXATTR = 4232
-+ SYS_REMOVEXATTR = 4233
-+ SYS_LREMOVEXATTR = 4234
-+ SYS_FREMOVEXATTR = 4235
-+ SYS_TKILL = 4236
-+ SYS_SENDFILE64 = 4237
-+ SYS_FUTEX = 4238
-+ SYS_SCHED_SETAFFINITY = 4239
-+ SYS_SCHED_GETAFFINITY = 4240
-+ SYS_IO_SETUP = 4241
-+ SYS_IO_DESTROY = 4242
-+ SYS_IO_GETEVENTS = 4243
-+ SYS_IO_SUBMIT = 4244
-+ SYS_IO_CANCEL = 4245
-+ SYS_EXIT_GROUP = 4246
-+ SYS_LOOKUP_DCOOKIE = 4247
-+ SYS_EPOLL_CREATE = 4248
-+ SYS_EPOLL_CTL = 4249
-+ SYS_EPOLL_WAIT = 4250
-+ SYS_REMAP_FILE_PAGES = 4251
-+ SYS_SET_TID_ADDRESS = 4252
-+ SYS_RESTART_SYSCALL = 4253
-+ SYS_FADVISE64 = 4254
-+ SYS_STATFS64 = 4255
-+ SYS_FSTATFS64 = 4256
-+ SYS_TIMER_CREATE = 4257
-+ SYS_TIMER_SETTIME = 4258
-+ SYS_TIMER_GETTIME = 4259
-+ SYS_TIMER_GETOVERRUN = 4260
-+ SYS_TIMER_DELETE = 4261
-+ SYS_CLOCK_SETTIME = 4262
-+ SYS_CLOCK_GETTIME = 4263
-+ SYS_CLOCK_GETRES = 4264
-+ SYS_CLOCK_NANOSLEEP = 4265
-+ SYS_TGKILL = 4266
-+ SYS_UTIMES = 4267
-+ SYS_MBIND = 4268
-+ SYS_GET_MEMPOLICY = 4269
-+ SYS_SET_MEMPOLICY = 4270
-+ SYS_MQ_OPEN = 4271
-+ SYS_MQ_UNLINK = 4272
-+ SYS_MQ_TIMEDSEND = 4273
-+ SYS_MQ_TIMEDRECEIVE = 4274
-+ SYS_MQ_NOTIFY = 4275
-+ SYS_MQ_GETSETATTR = 4276
-+ SYS_VSERVER = 4277
-+ SYS_WAITID = 4278
-+ SYS_ADD_KEY = 4280
-+ SYS_REQUEST_KEY = 4281
-+ SYS_KEYCTL = 4282
-+ SYS_SET_THREAD_AREA = 4283
-+ SYS_INOTIFY_INIT = 4284
-+ SYS_INOTIFY_ADD_WATCH = 4285
-+ SYS_INOTIFY_RM_WATCH = 4286
-+ SYS_MIGRATE_PAGES = 4287
-+ SYS_OPENAT = 4288
-+ SYS_MKDIRAT = 4289
-+ SYS_MKNODAT = 4290
-+ SYS_FCHOWNAT = 4291
-+ SYS_FUTIMESAT = 4292
-+ SYS_FSTATAT64 = 4293
-+ SYS_UNLINKAT = 4294
-+ SYS_RENAMEAT = 4295
-+ SYS_LINKAT = 4296
-+ SYS_SYMLINKAT = 4297
-+ SYS_READLINKAT = 4298
-+ SYS_FCHMODAT = 4299
-+ SYS_FACCESSAT = 4300
-+ SYS_PSELECT6 = 4301
-+ SYS_PPOLL = 4302
-+ SYS_UNSHARE = 4303
-+ SYS_SPLICE = 4304
-+ SYS_SYNC_FILE_RANGE = 4305
-+ SYS_TEE = 4306
-+ SYS_VMSPLICE = 4307
-+ SYS_MOVE_PAGES = 4308
-+ SYS_SET_ROBUST_LIST = 4309
-+ SYS_GET_ROBUST_LIST = 4310
-+ SYS_KEXEC_LOAD = 4311
-+ SYS_GETCPU = 4312
-+ SYS_EPOLL_PWAIT = 4313
-+ SYS_IOPRIO_SET = 4314
-+ SYS_IOPRIO_GET = 4315
-+ SYS_UTIMENSAT = 4316
-+ SYS_SIGNALFD = 4317
-+ SYS_TIMERFD = 4318
-+ SYS_EVENTFD = 4319
-+ SYS_FALLOCATE = 4320
-+ SYS_TIMERFD_CREATE = 4321
-+ SYS_TIMERFD_GETTIME = 4322
-+ SYS_TIMERFD_SETTIME = 4323
-+ SYS_SIGNALFD4 = 4324
-+ SYS_EVENTFD2 = 4325
-+ SYS_EPOLL_CREATE1 = 4326
-+ SYS_DUP3 = 4327
-+ SYS_PIPE2 = 4328
-+ SYS_INOTIFY_INIT1 = 4329
-+ SYS_PREADV = 4330
-+ SYS_PWRITEV = 4331
-+ SYS_RT_TGSIGQUEUEINFO = 4332
-+ SYS_PERF_EVENT_OPEN = 4333
-+ SYS_ACCEPT4 = 4334
-+ SYS_RECVMMSG = 4335
-+ SYS_FANOTIFY_INIT = 4336
-+ SYS_FANOTIFY_MARK = 4337
-+ SYS_PRLIMIT64 = 4338
-+ SYS_NAME_TO_HANDLE_AT = 4339
-+ SYS_OPEN_BY_HANDLE_AT = 4340
-+ SYS_CLOCK_ADJTIME = 4341
-+ SYS_SYNCFS = 4342
-+ SYS_SENDMMSG = 4343
-+ SYS_SETNS = 4344
-+ SYS_PROCESS_VM_READV = 4345
-+ SYS_PROCESS_VM_WRITEV = 4346
-+ SYS_KCMP = 4347
-+ SYS_FINIT_MODULE = 4348
-+ SYS_SCHED_SETATTR = 4349
-+ SYS_SCHED_GETATTR = 4350
-+ SYS_RENAMEAT2 = 4351
-+ SYS_SECCOMP = 4352
-+ SYS_GETRANDOM = 4353
-+ SYS_MEMFD_CREATE = 4354
-+ SYS_BPF = 4355
-+ SYS_EXECVEAT = 4356
-+ SYS_USERFAULTFD = 4357
-+ SYS_MEMBARRIER = 4358
-+ SYS_MLOCK2 = 4359
-+ SYS_COPY_FILE_RANGE = 4360
-+ SYS_PREADV2 = 4361
-+ SYS_PWRITEV2 = 4362
-+ SYS_PKEY_MPROTECT = 4363
-+ SYS_PKEY_ALLOC = 4364
-+ SYS_PKEY_FREE = 4365
-+ SYS_STATX = 4366
-+ SYS_RSEQ = 4367
-+ SYS_IO_PGETEVENTS = 4368
-+ SYS_SEMGET = 4393
-+ SYS_SEMCTL = 4394
-+ SYS_SHMGET = 4395
-+ SYS_SHMCTL = 4396
-+ SYS_SHMAT = 4397
-+ SYS_SHMDT = 4398
-+ SYS_MSGGET = 4399
-+ SYS_MSGSND = 4400
-+ SYS_MSGRCV = 4401
-+ SYS_MSGCTL = 4402
-+ SYS_CLOCK_GETTIME64 = 4403
-+ SYS_CLOCK_SETTIME64 = 4404
-+ SYS_CLOCK_ADJTIME64 = 4405
-+ SYS_CLOCK_GETRES_TIME64 = 4406
-+ SYS_CLOCK_NANOSLEEP_TIME64 = 4407
-+ SYS_TIMER_GETTIME64 = 4408
-+ SYS_TIMER_SETTIME64 = 4409
-+ SYS_TIMERFD_GETTIME64 = 4410
-+ SYS_TIMERFD_SETTIME64 = 4411
-+ SYS_UTIMENSAT_TIME64 = 4412
-+ SYS_PSELECT6_TIME64 = 4413
-+ SYS_PPOLL_TIME64 = 4414
-+ SYS_IO_PGETEVENTS_TIME64 = 4416
-+ SYS_RECVMMSG_TIME64 = 4417
-+ SYS_MQ_TIMEDSEND_TIME64 = 4418
-+ SYS_MQ_TIMEDRECEIVE_TIME64 = 4419
-+ SYS_SEMTIMEDOP_TIME64 = 4420
-+ SYS_RT_SIGTIMEDWAIT_TIME64 = 4421
-+ SYS_FUTEX_TIME64 = 4422
-+ SYS_SCHED_RR_GET_INTERVAL_TIME64 = 4423
-+ SYS_PIDFD_SEND_SIGNAL = 4424
-+ SYS_IO_URING_SETUP = 4425
-+ SYS_IO_URING_ENTER = 4426
-+ SYS_IO_URING_REGISTER = 4427
-+ SYS_OPEN_TREE = 4428
-+ SYS_MOVE_MOUNT = 4429
-+ SYS_FSOPEN = 4430
-+ SYS_FSCONFIG = 4431
-+ SYS_FSMOUNT = 4432
-+ SYS_FSPICK = 4433
-+ SYS_PIDFD_OPEN = 4434
-+ SYS_CLONE3 = 4435
-+ SYS_OPENAT2 = 4437
-+ SYS_PIDFD_GETFD = 4438
- )
-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 8944448a..cc3c067b 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 @@
--// linux/mksysnum.pl -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h
-+// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h
- // Code generated by the command above; see README.md. DO NOT EDIT.
-
- // +build ppc64,linux
-@@ -366,4 +366,35 @@ const (
- 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_OPENAT2 = 437
-+ SYS_PIDFD_GETFD = 438
- )
-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 90a039be..4050ff98 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 @@
--// linux/mksysnum.pl -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h
-+// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h
- // Code generated by the command above; see README.md. DO NOT EDIT.
-
- // +build ppc64le,linux
-@@ -366,4 +366,35 @@ const (
- 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_OPENAT2 = 437
-+ SYS_PIDFD_GETFD = 438
- )
-diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_arm64.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_riscv64.go
-similarity index 92%
-copy from vendor/golang.org/x/sys/unix/zsysnum_linux_arm64.go
-copy to vendor/golang.org/x/sys/unix/zsysnum_linux_riscv64.go
-index 64078435..529abb6a 100644
---- a/vendor/golang.org/x/sys/unix/zsysnum_linux_arm64.go
-+++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_riscv64.go
-@@ -1,7 +1,7 @@
--// linux/mksysnum.pl -Wall -Werror -static -I/tmp/include -fsigned-char /tmp/include/asm/unistd.h
-+// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h
- // Code generated by the command above; see README.md. DO NOT EDIT.
-
--// +build arm64,linux
-+// +build riscv64,linux
-
- package unix
-
-@@ -44,7 +44,6 @@ const (
- SYS_UNLINKAT = 35
- SYS_SYMLINKAT = 36
- SYS_LINKAT = 37
-- SYS_RENAMEAT = 38
- SYS_UMOUNT2 = 39
- SYS_MOUNT = 40
- SYS_PIVOT_ROOT = 41
-@@ -282,4 +281,22 @@ const (
- 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_OPENAT2 = 437
-+ SYS_PIDFD_GETFD = 438
- )
-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 aab0cdb1..27665001 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 @@
--// linux/mksysnum.pl -Wall -Werror -static -I/tmp/include -fsigned-char /tmp/include/asm/unistd.h
-+// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/include -fsigned-char /tmp/include/asm/unistd.h
- // Code generated by the command above; see README.md. DO NOT EDIT.
-
- // +build s390x,linux
-@@ -109,6 +109,7 @@ const (
- SYS_PERSONALITY = 136
- SYS_AFS_SYSCALL = 137
- SYS_GETDENTS = 141
-+ SYS_SELECT = 142
- SYS_FLOCK = 143
- SYS_MSYNC = 144
- SYS_READV = 145
-@@ -151,6 +152,26 @@ const (
- 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
-@@ -222,6 +243,7 @@ const (
- SYS_MKNODAT = 290
- SYS_FCHOWNAT = 291
- SYS_FUTIMESAT = 292
-+ SYS_NEWFSTATAT = 293
- SYS_UNLINKAT = 294
- SYS_RENAMEAT = 295
- SYS_LINKAT = 296
-@@ -306,26 +328,38 @@ const (
- SYS_COPY_FILE_RANGE = 375
- SYS_PREADV2 = 376
- SYS_PWRITEV2 = 377
-- SYS_SELECT = 142
-- SYS_GETRLIMIT = 191
-- SYS_LCHOWN = 198
-- SYS_GETUID = 199
-- SYS_GETGID = 200
-- SYS_GETEUID = 201
-- SYS_GETEGID = 202
-- SYS_SETREUID = 203
-- SYS_SETREGID = 204
-- SYS_GETGROUPS = 205
-- SYS_SETGROUPS = 206
-- SYS_FCHOWN = 207
-- SYS_SETRESUID = 208
-- SYS_GETRESUID = 209
-- SYS_SETRESGID = 210
-- SYS_GETRESGID = 211
-- SYS_CHOWN = 212
-- SYS_SETUID = 213
-- SYS_SETGID = 214
-- SYS_SETFSUID = 215
-- SYS_SETFSGID = 216
-- SYS_NEWFSTATAT = 293
-+ 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_OPENAT2 = 437
-+ SYS_PIDFD_GETFD = 438
- )
-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 c9c129dc..4dc82bb2 100644
---- a/vendor/golang.org/x/sys/unix/zsysnum_linux_sparc64.go
-+++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_sparc64.go
-@@ -1,5 +1,5 @@
--// mksysnum_linux.pl -Ilinux/usr/include -m64 -D__arch64__ linux/usr/include/asm/unistd.h
--// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
-+// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h
-+// Code generated by the command above; see README.md. DO NOT EDIT.
-
- // +build sparc64,linux
-
-@@ -253,6 +253,7 @@ const (
- 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
-@@ -345,4 +346,34 @@ const (
- 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_OPENAT2 = 437
-+ SYS_PIDFD_GETFD = 438
- )
-diff --git a/vendor/golang.org/x/sys/unix/zsysnum_netbsd_386.go b/vendor/golang.org/x/sys/unix/zsysnum_netbsd_386.go
-index 8afda9c4..e66a8c9d 100644
---- a/vendor/golang.org/x/sys/unix/zsysnum_netbsd_386.go
-+++ b/vendor/golang.org/x/sys/unix/zsysnum_netbsd_386.go
-@@ -1,5 +1,5 @@
--// mksysnum_netbsd.pl
--// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
-+// go run mksysnum.go http://cvsweb.netbsd.org/bsdweb.cgi/~checkout~/src/sys/kern/syscalls.master
-+// Code generated by the command above; see README.md. DO NOT EDIT.
-
- // +build 386,netbsd
-
-diff --git a/vendor/golang.org/x/sys/unix/zsysnum_netbsd_amd64.go b/vendor/golang.org/x/sys/unix/zsysnum_netbsd_amd64.go
-index aea8dbec..42c788f2 100644
---- a/vendor/golang.org/x/sys/unix/zsysnum_netbsd_amd64.go
-+++ b/vendor/golang.org/x/sys/unix/zsysnum_netbsd_amd64.go
-@@ -1,5 +1,5 @@
--// mksysnum_netbsd.pl
--// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
-+// go run mksysnum.go http://cvsweb.netbsd.org/bsdweb.cgi/~checkout~/src/sys/kern/syscalls.master
-+// Code generated by the command above; see README.md. DO NOT EDIT.
-
- // +build amd64,netbsd
-
-diff --git a/vendor/golang.org/x/sys/unix/zsysnum_netbsd_arm.go b/vendor/golang.org/x/sys/unix/zsysnum_netbsd_arm.go
-index c6158a7e..0a075717 100644
---- a/vendor/golang.org/x/sys/unix/zsysnum_netbsd_arm.go
-+++ b/vendor/golang.org/x/sys/unix/zsysnum_netbsd_arm.go
-@@ -1,5 +1,5 @@
--// mksysnum_netbsd.pl
--// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
-+// go run mksysnum.go http://cvsweb.netbsd.org/bsdweb.cgi/~checkout~/src/sys/kern/syscalls.master
-+// Code generated by the command above; see README.md. DO NOT EDIT.
-
- // +build arm,netbsd
-
-diff --git a/vendor/golang.org/x/sys/unix/zsysnum_netbsd_386.go b/vendor/golang.org/x/sys/unix/zsysnum_netbsd_arm64.go
-similarity index 99%
-copy from vendor/golang.org/x/sys/unix/zsysnum_netbsd_386.go
-copy to vendor/golang.org/x/sys/unix/zsysnum_netbsd_arm64.go
-index 8afda9c4..0291c093 100644
---- a/vendor/golang.org/x/sys/unix/zsysnum_netbsd_386.go
-+++ b/vendor/golang.org/x/sys/unix/zsysnum_netbsd_arm64.go
-@@ -1,7 +1,7 @@
--// mksysnum_netbsd.pl
--// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
-+// go run mksysnum.go http://cvsweb.netbsd.org/bsdweb.cgi/~checkout~/src/sys/kern/syscalls.master
-+// Code generated by the command above; DO NOT EDIT.
-
--// +build 386,netbsd
-+// +build arm64,netbsd
-
- package unix
-
-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 3e8ce2a1..b0207d1c 100644
---- a/vendor/golang.org/x/sys/unix/zsysnum_openbsd_386.go
-+++ b/vendor/golang.org/x/sys/unix/zsysnum_openbsd_386.go
-@@ -1,5 +1,5 @@
--// mksysnum_openbsd.pl
--// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
-+// 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.
-
- // +build 386,openbsd
-
-@@ -9,109 +9,119 @@ const (
- SYS_EXIT = 1 // { void sys_exit(int rval); }
- SYS_FORK = 2 // { int sys_fork(void); }
- SYS_READ = 3 // { ssize_t sys_read(int fd, void *buf, size_t nbyte); }
-- SYS_WRITE = 4 // { ssize_t sys_write(int fd, const void *buf, \
-- SYS_OPEN = 5 // { int sys_open(const char *path, \
-+ SYS_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___TFORK = 8 // { int sys___tfork(const struct __tfork *param, \
-+ 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, \
-+ 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, \
-+ 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, \
-+ 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, \
-+ 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, \
-+ 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, \
-- SYS_RECVMSG = 27 // { ssize_t sys_recvmsg(int s, struct msghdr *msg, \
-- SYS_SENDMSG = 28 // { ssize_t sys_sendmsg(int s, \
-- SYS_RECVFROM = 29 // { ssize_t sys_recvfrom(int s, void *buf, size_t len, \
-- SYS_ACCEPT = 30 // { int sys_accept(int s, struct sockaddr *name, \
-- SYS_GETPEERNAME = 31 // { int sys_getpeername(int fdes, struct sockaddr *asa, \
-- SYS_GETSOCKNAME = 32 // { int sys_getsockname(int fdes, struct sockaddr *asa, \
-- SYS_ACCESS = 33 // { int sys_access(const char *path, int flags); }
-+ SYS_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_KILL = 37 // { int sys_kill(int pid, int signum); }
- SYS_STAT = 38 // { int sys_stat(const char *path, struct stat *ub); }
- SYS_GETPPID = 39 // { pid_t sys_getppid(void); }
- SYS_LSTAT = 40 // { int sys_lstat(const char *path, struct stat *ub); }
- SYS_DUP = 41 // { int sys_dup(int fd); }
-- SYS_FSTATAT = 42 // { int sys_fstatat(int fd, const char *path, \
-+ SYS_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, \
-- SYS_KTRACE = 45 // { int sys_ktrace(const char *fname, int ops, \
-- SYS_SIGACTION = 46 // { int sys_sigaction(int signum, \
-+ 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_GETLOGIN = 49 // { int sys_getlogin(char *namebuf, u_int namelen); }
- SYS_SETLOGIN = 50 // { int sys_setlogin(const char *namebuf); }
- SYS_ACCT = 51 // { int sys_acct(const char *path); }
- SYS_SIGPENDING = 52 // { int sys_sigpending(void); }
- SYS_FSTAT = 53 // { int sys_fstat(int fd, struct stat *sb); }
-- SYS_IOCTL = 54 // { int sys_ioctl(int fd, \
-+ SYS_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, \
-- SYS_READLINK = 58 // { int sys_readlink(const char *path, char *buf, \
-- SYS_EXECVE = 59 // { int sys_execve(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, \
-- SYS_STATFS = 63 // { int sys_statfs(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, \
-+ 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, \
-- SYS_SETTIMEOFDAY = 68 // { int sys_settimeofday(const struct timeval *tv, \
-- SYS_SETITIMER = 69 // { int sys_setitimer(int which, \
-- SYS_GETITIMER = 70 // { int sys_getitimer(int which, \
-- SYS_SELECT = 71 // { int sys_select(int nd, fd_set *in, fd_set *ou, \
-- SYS_KEVENT = 72 // { int sys_kevent(int fd, \
-+ SYS_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, \
-- SYS_MADVISE = 75 // { int sys_madvise(void *addr, size_t len, \
-- SYS_UTIMES = 76 // { int sys_utimes(const char *path, \
-- SYS_FUTIMES = 77 // { int sys_futimes(int fd, \
-- SYS_MINCORE = 78 // { int sys_mincore(void *addr, size_t len, \
-- SYS_GETGROUPS = 79 // { int sys_getgroups(int gidsetsize, \
-- SYS_SETGROUPS = 80 // { int sys_setgroups(int gidsetsize, \
-+ SYS_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_MINCORE = 78 // { int sys_mincore(void *addr, size_t len, char *vec); }
-+ SYS_GETGROUPS = 79 // { int sys_getgroups(int gidsetsize, gid_t *gidset); }
-+ SYS_SETGROUPS = 80 // { int sys_setgroups(int gidsetsize, const gid_t *gidset); }
- SYS_GETPGRP = 81 // { int sys_getpgrp(void); }
-- SYS_SETPGID = 82 // { int sys_setpgid(pid_t pid, int pgid); }
-- SYS_UTIMENSAT = 84 // { int sys_utimensat(int fd, const char *path, \
-- SYS_FUTIMENS = 85 // { int sys_futimens(int fd, \
-- SYS_CLOCK_GETTIME = 87 // { int sys_clock_gettime(clockid_t clock_id, \
-- SYS_CLOCK_SETTIME = 88 // { int sys_clock_settime(clockid_t clock_id, \
-- SYS_CLOCK_GETRES = 89 // { int sys_clock_getres(clockid_t clock_id, \
-+ SYS_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, \
-+ 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___THRSLEEP = 94 // { int sys___thrsleep(const volatile void *ident, \
-+ 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, \
-+ 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, \
-- SYS_SETSOCKOPT = 105 // { int sys_setsockopt(int s, int level, int name, \
-+ 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_PPOLL = 109 // { int sys_ppoll(struct pollfd *fds, \
-- SYS_PSELECT = 110 // { int sys_pselect(int nd, fd_set *in, fd_set *ou, \
-+ 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_GETSOCKOPT = 118 // { int sys_getsockopt(int s, int level, int name, \
-- SYS_READV = 120 // { ssize_t sys_readv(int fd, \
-- SYS_WRITEV = 121 // { ssize_t sys_writev(int fd, \
-+ SYS_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); }
-@@ -119,89 +129,90 @@ const (
- SYS_RENAME = 128 // { int sys_rename(const char *from, const char *to); }
- SYS_FLOCK = 131 // { int sys_flock(int fd, int how); }
- SYS_MKFIFO = 132 // { int sys_mkfifo(const char *path, mode_t mode); }
-- SYS_SENDTO = 133 // { ssize_t sys_sendto(int s, const void *buf, \
-+ SYS_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, \
-+ 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, \
-+ 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, \
-+ 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, \
-- SYS_PWRITE = 174 // { ssize_t sys_pwrite(int fd, const void *buf, \
-+ 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, \
-- SYS_SETRLIMIT = 195 // { int sys_setrlimit(int which, \
-- SYS_MMAP = 197 // { void *sys_mmap(void *addr, size_t len, int prot, \
-- SYS_LSEEK = 199 // { off_t sys_lseek(int fd, int pad, off_t offset, \
-- SYS_TRUNCATE = 200 // { int sys_truncate(const char *path, int pad, \
-+ SYS_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, \
-+ 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, \
-+ 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, \
-- SYS_MSGRCV = 227 // { int sys_msgrcv(int msqid, void *msgp, size_t msgsz, \
-- SYS_SHMAT = 228 // { void *sys_shmat(int shmid, const void *shmaddr, \
-+ SYS_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, \
-- SYS_POLL = 252 // { int sys_poll(struct pollfd *fds, \
-+ 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, \
-- SYS_PWRITEV = 268 // { ssize_t sys_pwritev(int fd, \
-+ 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, \
-- SYS_SETRESUID = 282 // { int sys_setresuid(uid_t ruid, uid_t euid, \
-- SYS_GETRESGID = 283 // { int sys_getresgid(gid_t *rgid, gid_t *egid, \
-- SYS_SETRESGID = 284 // { int sys_setresgid(gid_t rgid, gid_t egid, \
-- SYS_MQUERY = 286 // { void *sys_mquery(void *addr, size_t len, int prot, \
-+ SYS_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, \
-+ 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, \
-- SYS_FHSTAT = 294 // { int sys_fhstat(const fhandle_t *fhp, \
-- SYS___SEMCTL = 295 // { int sys___semctl(int semid, int semnum, int cmd, \
-- SYS_SHMCTL = 296 // { int sys_shmctl(int shmid, int cmd, \
-- SYS_MSGCTL = 297 // { int sys_msgctl(int msqid, int cmd, \
-+ SYS_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, \
-+ 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, \
-+ 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, \
-+ 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, \
-- SYS_FCHMODAT = 314 // { int sys_fchmodat(int fd, const char *path, \
-- SYS_FCHOWNAT = 315 // { int sys_fchownat(int fd, const char *path, \
-- SYS_LINKAT = 317 // { int sys_linkat(int fd1, const char *path1, int fd2, \
-- SYS_MKDIRAT = 318 // { int sys_mkdirat(int fd, const char *path, \
-- SYS_MKFIFOAT = 319 // { int sys_mkfifoat(int fd, const char *path, \
-- SYS_MKNODAT = 320 // { int sys_mknodat(int fd, const char *path, \
-- SYS_OPENAT = 321 // { int sys_openat(int fd, const char *path, int flags, \
-- SYS_READLINKAT = 322 // { ssize_t sys_readlinkat(int fd, const char *path, \
-- SYS_RENAMEAT = 323 // { int sys_renameat(int fromfd, const char *from, \
-- SYS_SYMLINKAT = 324 // { int sys_symlinkat(const char *path, int fd, \
-- SYS_UNLINKAT = 325 // { int sys_unlinkat(int fd, const char *path, \
-+ SYS_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_amd64.go b/vendor/golang.org/x/sys/unix/zsysnum_openbsd_amd64.go
-index bd28146d..f0dec6f0 100644
---- a/vendor/golang.org/x/sys/unix/zsysnum_openbsd_amd64.go
-+++ b/vendor/golang.org/x/sys/unix/zsysnum_openbsd_amd64.go
-@@ -1,5 +1,5 @@
--// mksysnum_openbsd.pl
--// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
-+// 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.
-
- // +build amd64,openbsd
-
-@@ -9,109 +9,119 @@ const (
- SYS_EXIT = 1 // { void sys_exit(int rval); }
- SYS_FORK = 2 // { int sys_fork(void); }
- SYS_READ = 3 // { ssize_t sys_read(int fd, void *buf, size_t nbyte); }
-- SYS_WRITE = 4 // { ssize_t sys_write(int fd, const void *buf, \
-- SYS_OPEN = 5 // { int sys_open(const char *path, \
-+ SYS_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___TFORK = 8 // { int sys___tfork(const struct __tfork *param, \
-+ 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, \
-+ 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, \
-+ 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, \
-+ 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, \
-+ 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, \
-+ 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, \
-- SYS_RECVMSG = 27 // { ssize_t sys_recvmsg(int s, struct msghdr *msg, \
-- SYS_SENDMSG = 28 // { ssize_t sys_sendmsg(int s, \
-- SYS_RECVFROM = 29 // { ssize_t sys_recvfrom(int s, void *buf, size_t len, \
-- SYS_ACCEPT = 30 // { int sys_accept(int s, struct sockaddr *name, \
-- SYS_GETPEERNAME = 31 // { int sys_getpeername(int fdes, struct sockaddr *asa, \
-- SYS_GETSOCKNAME = 32 // { int sys_getsockname(int fdes, struct sockaddr *asa, \
-- SYS_ACCESS = 33 // { int sys_access(const char *path, int flags); }
-+ SYS_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_KILL = 37 // { int sys_kill(int pid, int signum); }
- SYS_STAT = 38 // { int sys_stat(const char *path, struct stat *ub); }
- SYS_GETPPID = 39 // { pid_t sys_getppid(void); }
- SYS_LSTAT = 40 // { int sys_lstat(const char *path, struct stat *ub); }
- SYS_DUP = 41 // { int sys_dup(int fd); }
-- SYS_FSTATAT = 42 // { int sys_fstatat(int fd, const char *path, \
-+ SYS_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, \
-- SYS_KTRACE = 45 // { int sys_ktrace(const char *fname, int ops, \
-- SYS_SIGACTION = 46 // { int sys_sigaction(int signum, \
-+ 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_GETLOGIN = 49 // { int sys_getlogin(char *namebuf, u_int namelen); }
- SYS_SETLOGIN = 50 // { int sys_setlogin(const char *namebuf); }
- SYS_ACCT = 51 // { int sys_acct(const char *path); }
- SYS_SIGPENDING = 52 // { int sys_sigpending(void); }
- SYS_FSTAT = 53 // { int sys_fstat(int fd, struct stat *sb); }
-- SYS_IOCTL = 54 // { int sys_ioctl(int fd, \
-+ SYS_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, \
-- SYS_READLINK = 58 // { int sys_readlink(const char *path, char *buf, \
-- SYS_EXECVE = 59 // { int sys_execve(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, \
-- SYS_STATFS = 63 // { int sys_statfs(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, \
-+ 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, \
-- SYS_SETTIMEOFDAY = 68 // { int sys_settimeofday(const struct timeval *tv, \
-- SYS_SETITIMER = 69 // { int sys_setitimer(int which, \
-- SYS_GETITIMER = 70 // { int sys_getitimer(int which, \
-- SYS_SELECT = 71 // { int sys_select(int nd, fd_set *in, fd_set *ou, \
-- SYS_KEVENT = 72 // { int sys_kevent(int fd, \
-+ SYS_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, \
-- SYS_MADVISE = 75 // { int sys_madvise(void *addr, size_t len, \
-- SYS_UTIMES = 76 // { int sys_utimes(const char *path, \
-- SYS_FUTIMES = 77 // { int sys_futimes(int fd, \
-- SYS_MINCORE = 78 // { int sys_mincore(void *addr, size_t len, \
-- SYS_GETGROUPS = 79 // { int sys_getgroups(int gidsetsize, \
-- SYS_SETGROUPS = 80 // { int sys_setgroups(int gidsetsize, \
-+ SYS_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_MINCORE = 78 // { int sys_mincore(void *addr, size_t len, char *vec); }
-+ SYS_GETGROUPS = 79 // { int sys_getgroups(int gidsetsize, gid_t *gidset); }
-+ SYS_SETGROUPS = 80 // { int sys_setgroups(int gidsetsize, const gid_t *gidset); }
- SYS_GETPGRP = 81 // { int sys_getpgrp(void); }
-- SYS_SETPGID = 82 // { int sys_setpgid(pid_t pid, int pgid); }
-- SYS_UTIMENSAT = 84 // { int sys_utimensat(int fd, const char *path, \
-- SYS_FUTIMENS = 85 // { int sys_futimens(int fd, \
-- SYS_CLOCK_GETTIME = 87 // { int sys_clock_gettime(clockid_t clock_id, \
-- SYS_CLOCK_SETTIME = 88 // { int sys_clock_settime(clockid_t clock_id, \
-- SYS_CLOCK_GETRES = 89 // { int sys_clock_getres(clockid_t clock_id, \
-+ SYS_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, \
-+ 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___THRSLEEP = 94 // { int sys___thrsleep(const volatile void *ident, \
-+ 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, \
-+ 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, \
-- SYS_SETSOCKOPT = 105 // { int sys_setsockopt(int s, int level, int name, \
-+ 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_PPOLL = 109 // { int sys_ppoll(struct pollfd *fds, \
-- SYS_PSELECT = 110 // { int sys_pselect(int nd, fd_set *in, fd_set *ou, \
-+ 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_GETSOCKOPT = 118 // { int sys_getsockopt(int s, int level, int name, \
-- SYS_READV = 120 // { ssize_t sys_readv(int fd, \
-- SYS_WRITEV = 121 // { ssize_t sys_writev(int fd, \
-+ SYS_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); }
-@@ -119,89 +129,90 @@ const (
- SYS_RENAME = 128 // { int sys_rename(const char *from, const char *to); }
- SYS_FLOCK = 131 // { int sys_flock(int fd, int how); }
- SYS_MKFIFO = 132 // { int sys_mkfifo(const char *path, mode_t mode); }
-- SYS_SENDTO = 133 // { ssize_t sys_sendto(int s, const void *buf, \
-+ SYS_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, \
-+ 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, \
-+ 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, \
-+ 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, \
-- SYS_PWRITE = 174 // { ssize_t sys_pwrite(int fd, const void *buf, \
-+ 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, \
-- SYS_SETRLIMIT = 195 // { int sys_setrlimit(int which, \
-- SYS_MMAP = 197 // { void *sys_mmap(void *addr, size_t len, int prot, \
-- SYS_LSEEK = 199 // { off_t sys_lseek(int fd, int pad, off_t offset, \
-- SYS_TRUNCATE = 200 // { int sys_truncate(const char *path, int pad, \
-+ SYS_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, \
-+ 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, \
-+ 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, \
-- SYS_MSGRCV = 227 // { int sys_msgrcv(int msqid, void *msgp, size_t msgsz, \
-- SYS_SHMAT = 228 // { void *sys_shmat(int shmid, const void *shmaddr, \
-+ SYS_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, \
-- SYS_POLL = 252 // { int sys_poll(struct pollfd *fds, \
-+ 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, \
-- SYS_PWRITEV = 268 // { ssize_t sys_pwritev(int fd, \
-+ 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, \
-- SYS_SETRESUID = 282 // { int sys_setresuid(uid_t ruid, uid_t euid, \
-- SYS_GETRESGID = 283 // { int sys_getresgid(gid_t *rgid, gid_t *egid, \
-- SYS_SETRESGID = 284 // { int sys_setresgid(gid_t rgid, gid_t egid, \
-- SYS_MQUERY = 286 // { void *sys_mquery(void *addr, size_t len, int prot, \
-+ SYS_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, \
-+ 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, \
-- SYS_FHSTAT = 294 // { int sys_fhstat(const fhandle_t *fhp, \
-- SYS___SEMCTL = 295 // { int sys___semctl(int semid, int semnum, int cmd, \
-- SYS_SHMCTL = 296 // { int sys_shmctl(int shmid, int cmd, \
-- SYS_MSGCTL = 297 // { int sys_msgctl(int msqid, int cmd, \
-+ SYS_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, \
-+ 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, \
-+ 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, \
-+ 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, \
-- SYS_FCHMODAT = 314 // { int sys_fchmodat(int fd, const char *path, \
-- SYS_FCHOWNAT = 315 // { int sys_fchownat(int fd, const char *path, \
-- SYS_LINKAT = 317 // { int sys_linkat(int fd1, const char *path1, int fd2, \
-- SYS_MKDIRAT = 318 // { int sys_mkdirat(int fd, const char *path, \
-- SYS_MKFIFOAT = 319 // { int sys_mkfifoat(int fd, const char *path, \
-- SYS_MKNODAT = 320 // { int sys_mknodat(int fd, const char *path, \
-- SYS_OPENAT = 321 // { int sys_openat(int fd, const char *path, int flags, \
-- SYS_READLINKAT = 322 // { ssize_t sys_readlinkat(int fd, const char *path, \
-- SYS_RENAMEAT = 323 // { int sys_renameat(int fromfd, const char *from, \
-- SYS_SYMLINKAT = 324 // { int sys_symlinkat(const char *path, int fd, \
-- SYS_UNLINKAT = 325 // { int sys_unlinkat(int fd, const char *path, \
-+ SYS_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_arm.go b/vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm.go
-index 32653e53..33d1dc54 100644
---- a/vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm.go
-+++ b/vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm.go
-@@ -1,5 +1,5 @@
--// mksysnum_openbsd.pl
--// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
-+// 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.
-
- // +build arm,openbsd
-
-@@ -9,35 +9,35 @@ const (
- SYS_EXIT = 1 // { void sys_exit(int rval); }
- SYS_FORK = 2 // { int sys_fork(void); }
- SYS_READ = 3 // { ssize_t sys_read(int fd, void *buf, size_t nbyte); }
-- SYS_WRITE = 4 // { ssize_t sys_write(int fd, const void *buf, \
-- SYS_OPEN = 5 // { int sys_open(const char *path, \
-+ SYS_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, \
-+ 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, \
-+ 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, \
-+ 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, \
-+ 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, \
-+ 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, \
-+ 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, \
-- SYS_RECVMSG = 27 // { ssize_t sys_recvmsg(int s, struct msghdr *msg, \
-- SYS_SENDMSG = 28 // { ssize_t sys_sendmsg(int s, \
-- SYS_RECVFROM = 29 // { ssize_t sys_recvfrom(int s, void *buf, size_t len, \
-- SYS_ACCEPT = 30 // { int sys_accept(int s, struct sockaddr *name, \
-- SYS_GETPEERNAME = 31 // { int sys_getpeername(int fdes, struct sockaddr *asa, \
-- SYS_GETSOCKNAME = 32 // { int sys_getsockname(int fdes, struct sockaddr *asa, \
-+ SYS_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); }
-@@ -46,77 +46,81 @@ const (
- SYS_GETPPID = 39 // { pid_t sys_getppid(void); }
- SYS_LSTAT = 40 // { int sys_lstat(const char *path, struct stat *ub); }
- SYS_DUP = 41 // { int sys_dup(int fd); }
-- SYS_FSTATAT = 42 // { int sys_fstatat(int fd, const char *path, \
-+ SYS_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, \
-- SYS_KTRACE = 45 // { int sys_ktrace(const char *fname, int ops, \
-- SYS_SIGACTION = 46 // { int sys_sigaction(int signum, \
-+ 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_GETLOGIN = 49 // { int sys_getlogin(char *namebuf, u_int namelen); }
- SYS_SETLOGIN = 50 // { int sys_setlogin(const char *namebuf); }
- SYS_ACCT = 51 // { int sys_acct(const char *path); }
- SYS_SIGPENDING = 52 // { int sys_sigpending(void); }
- SYS_FSTAT = 53 // { int sys_fstat(int fd, struct stat *sb); }
-- SYS_IOCTL = 54 // { int sys_ioctl(int fd, \
-+ SYS_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, \
-- SYS_READLINK = 58 // { ssize_t sys_readlink(const char *path, \
-- SYS_EXECVE = 59 // { int sys_execve(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, \
-- SYS_STATFS = 63 // { int sys_statfs(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, \
-+ 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, \
-- SYS_SETTIMEOFDAY = 68 // { int sys_settimeofday(const struct timeval *tv, \
-- SYS_SETITIMER = 69 // { int sys_setitimer(int which, \
-- SYS_GETITIMER = 70 // { int sys_getitimer(int which, \
-- SYS_SELECT = 71 // { int sys_select(int nd, fd_set *in, fd_set *ou, \
-- SYS_KEVENT = 72 // { int sys_kevent(int fd, \
-+ SYS_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, \
-- SYS_MADVISE = 75 // { int sys_madvise(void *addr, size_t len, \
-- SYS_UTIMES = 76 // { int sys_utimes(const char *path, \
-- SYS_FUTIMES = 77 // { int sys_futimes(int fd, \
-- SYS_MINCORE = 78 // { int sys_mincore(void *addr, size_t len, \
-- SYS_GETGROUPS = 79 // { int sys_getgroups(int gidsetsize, \
-- SYS_SETGROUPS = 80 // { int sys_setgroups(int gidsetsize, \
-+ SYS_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_MINCORE = 78 // { int sys_mincore(void *addr, size_t len, char *vec); }
-+ SYS_GETGROUPS = 79 // { int sys_getgroups(int gidsetsize, gid_t *gidset); }
-+ SYS_SETGROUPS = 80 // { int sys_setgroups(int gidsetsize, const gid_t *gidset); }
- SYS_GETPGRP = 81 // { int sys_getpgrp(void); }
- SYS_SETPGID = 82 // { int sys_setpgid(pid_t pid, pid_t pgid); }
-- SYS_SENDSYSLOG = 83 // { int sys_sendsyslog(const void *buf, size_t nbyte); }
-- SYS_UTIMENSAT = 84 // { int sys_utimensat(int fd, const char *path, \
-- SYS_FUTIMENS = 85 // { int sys_futimens(int fd, \
-- SYS_CLOCK_GETTIME = 87 // { int sys_clock_gettime(clockid_t clock_id, \
-- SYS_CLOCK_SETTIME = 88 // { int sys_clock_settime(clockid_t clock_id, \
-- SYS_CLOCK_GETRES = 89 // { int sys_clock_getres(clockid_t clock_id, \
-+ SYS_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, \
-+ 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, \
-- SYS___THRSLEEP = 94 // { int sys___thrsleep(const volatile void *ident, \
-+ 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, \
-+ 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, \
-- SYS_SETSOCKOPT = 105 // { int sys_setsockopt(int s, int level, int name, \
-+ 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, \
-- SYS_PPOLL = 109 // { int sys_ppoll(struct pollfd *fds, \
-- SYS_PSELECT = 110 // { int sys_pselect(int nd, fd_set *in, fd_set *ou, \
-+ 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_GETSOCKOPT = 118 // { int sys_getsockopt(int s, int level, int name, \
-- SYS_READV = 120 // { ssize_t sys_readv(int fd, \
-- SYS_WRITEV = 121 // { ssize_t sys_writev(int fd, \
-+ SYS_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); }
-@@ -125,89 +129,90 @@ const (
- SYS_RENAME = 128 // { int sys_rename(const char *from, const char *to); }
- SYS_FLOCK = 131 // { int sys_flock(int fd, int how); }
- SYS_MKFIFO = 132 // { int sys_mkfifo(const char *path, mode_t mode); }
-- SYS_SENDTO = 133 // { ssize_t sys_sendto(int s, const void *buf, \
-+ SYS_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, \
-+ 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, \
-+ 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, \
-+ 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, \
-- SYS_PWRITE = 174 // { ssize_t sys_pwrite(int fd, const void *buf, \
-+ 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, \
-- SYS_SETRLIMIT = 195 // { int sys_setrlimit(int which, \
-- SYS_MMAP = 197 // { void *sys_mmap(void *addr, size_t len, int prot, \
-- SYS_LSEEK = 199 // { off_t sys_lseek(int fd, int pad, off_t offset, \
-- SYS_TRUNCATE = 200 // { int sys_truncate(const char *path, int pad, \
-+ SYS_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, \
-+ 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, \
-+ 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, \
-- SYS_MSGRCV = 227 // { int sys_msgrcv(int msqid, void *msgp, size_t msgsz, \
-- SYS_SHMAT = 228 // { void *sys_shmat(int shmid, const void *shmaddr, \
-+ SYS_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, \
-- SYS_POLL = 252 // { int sys_poll(struct pollfd *fds, \
-+ 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, \
-- SYS_PWRITEV = 268 // { ssize_t sys_pwritev(int fd, \
-+ 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, \
-- SYS_SETRESUID = 282 // { int sys_setresuid(uid_t ruid, uid_t euid, \
-- SYS_GETRESGID = 283 // { int sys_getresgid(gid_t *rgid, gid_t *egid, \
-- SYS_SETRESGID = 284 // { int sys_setresgid(gid_t rgid, gid_t egid, \
-- SYS_MQUERY = 286 // { void *sys_mquery(void *addr, size_t len, int prot, \
-+ SYS_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, \
-+ 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, \
-- SYS_FHSTAT = 294 // { int sys_fhstat(const fhandle_t *fhp, \
-- SYS___SEMCTL = 295 // { int sys___semctl(int semid, int semnum, int cmd, \
-- SYS_SHMCTL = 296 // { int sys_shmctl(int shmid, int cmd, \
-- SYS_MSGCTL = 297 // { int sys_msgctl(int msqid, int cmd, \
-+ SYS_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, \
-+ 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, \
-+ 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, \
-+ 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, \
-- SYS_FCHMODAT = 314 // { int sys_fchmodat(int fd, const char *path, \
-- SYS_FCHOWNAT = 315 // { int sys_fchownat(int fd, const char *path, \
-- SYS_LINKAT = 317 // { int sys_linkat(int fd1, const char *path1, int fd2, \
-- SYS_MKDIRAT = 318 // { int sys_mkdirat(int fd, const char *path, \
-- SYS_MKFIFOAT = 319 // { int sys_mkfifoat(int fd, const char *path, \
-- SYS_MKNODAT = 320 // { int sys_mknodat(int fd, const char *path, \
-- SYS_OPENAT = 321 // { int sys_openat(int fd, const char *path, int flags, \
-- SYS_READLINKAT = 322 // { ssize_t sys_readlinkat(int fd, const char *path, \
-- SYS_RENAMEAT = 323 // { int sys_renameat(int fromfd, const char *from, \
-- SYS_SYMLINKAT = 324 // { int sys_symlinkat(const char *path, int fd, \
-- SYS_UNLINKAT = 325 // { int sys_unlinkat(int fd, const char *path, \
-+ SYS_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_arm.go b/vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm64.go
-similarity index 67%
-copy from vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm.go
-copy to vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm64.go
-index 32653e53..fe2b689b 100644
---- a/vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm.go
-+++ b/vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm64.go
-@@ -1,7 +1,7 @@
--// mksysnum_openbsd.pl
--// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
-+// 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.
-
--// +build arm,openbsd
-+// +build arm64,openbsd
-
- package unix
-
-@@ -9,35 +9,35 @@ const (
- SYS_EXIT = 1 // { void sys_exit(int rval); }
- SYS_FORK = 2 // { int sys_fork(void); }
- SYS_READ = 3 // { ssize_t sys_read(int fd, void *buf, size_t nbyte); }
-- SYS_WRITE = 4 // { ssize_t sys_write(int fd, const void *buf, \
-- SYS_OPEN = 5 // { int sys_open(const char *path, \
-+ SYS_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, \
-+ 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, \
-+ 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, \
-+ 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, \
-+ 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, \
-+ 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, \
-+ 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, \
-- SYS_RECVMSG = 27 // { ssize_t sys_recvmsg(int s, struct msghdr *msg, \
-- SYS_SENDMSG = 28 // { ssize_t sys_sendmsg(int s, \
-- SYS_RECVFROM = 29 // { ssize_t sys_recvfrom(int s, void *buf, size_t len, \
-- SYS_ACCEPT = 30 // { int sys_accept(int s, struct sockaddr *name, \
-- SYS_GETPEERNAME = 31 // { int sys_getpeername(int fdes, struct sockaddr *asa, \
-- SYS_GETSOCKNAME = 32 // { int sys_getsockname(int fdes, struct sockaddr *asa, \
-+ SYS_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); }
-@@ -46,77 +46,80 @@ const (
- SYS_GETPPID = 39 // { pid_t sys_getppid(void); }
- SYS_LSTAT = 40 // { int sys_lstat(const char *path, struct stat *ub); }
- SYS_DUP = 41 // { int sys_dup(int fd); }
-- SYS_FSTATAT = 42 // { int sys_fstatat(int fd, const char *path, \
-+ SYS_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, \
-- SYS_KTRACE = 45 // { int sys_ktrace(const char *fname, int ops, \
-- SYS_SIGACTION = 46 // { int sys_sigaction(int signum, \
-+ 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_GETLOGIN = 49 // { int sys_getlogin(char *namebuf, u_int namelen); }
- SYS_SETLOGIN = 50 // { int sys_setlogin(const char *namebuf); }
- SYS_ACCT = 51 // { int sys_acct(const char *path); }
- SYS_SIGPENDING = 52 // { int sys_sigpending(void); }
- SYS_FSTAT = 53 // { int sys_fstat(int fd, struct stat *sb); }
-- SYS_IOCTL = 54 // { int sys_ioctl(int fd, \
-+ SYS_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, \
-- SYS_READLINK = 58 // { ssize_t sys_readlink(const char *path, \
-- SYS_EXECVE = 59 // { int sys_execve(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, \
-- SYS_STATFS = 63 // { int sys_statfs(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, \
-+ 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, \
-- SYS_SETTIMEOFDAY = 68 // { int sys_settimeofday(const struct timeval *tv, \
-- SYS_SETITIMER = 69 // { int sys_setitimer(int which, \
-- SYS_GETITIMER = 70 // { int sys_getitimer(int which, \
-- SYS_SELECT = 71 // { int sys_select(int nd, fd_set *in, fd_set *ou, \
-- SYS_KEVENT = 72 // { int sys_kevent(int fd, \
-+ SYS_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, \
-- SYS_MADVISE = 75 // { int sys_madvise(void *addr, size_t len, \
-- SYS_UTIMES = 76 // { int sys_utimes(const char *path, \
-- SYS_FUTIMES = 77 // { int sys_futimes(int fd, \
-- SYS_MINCORE = 78 // { int sys_mincore(void *addr, size_t len, \
-- SYS_GETGROUPS = 79 // { int sys_getgroups(int gidsetsize, \
-- SYS_SETGROUPS = 80 // { int sys_setgroups(int gidsetsize, \
-+ SYS_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_SENDSYSLOG = 83 // { int sys_sendsyslog(const void *buf, size_t nbyte); }
-- SYS_UTIMENSAT = 84 // { int sys_utimensat(int fd, const char *path, \
-- SYS_FUTIMENS = 85 // { int sys_futimens(int fd, \
-- SYS_CLOCK_GETTIME = 87 // { int sys_clock_gettime(clockid_t clock_id, \
-- SYS_CLOCK_SETTIME = 88 // { int sys_clock_settime(clockid_t clock_id, \
-- SYS_CLOCK_GETRES = 89 // { int sys_clock_getres(clockid_t clock_id, \
-+ SYS_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, \
-+ 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, \
-- SYS___THRSLEEP = 94 // { int sys___thrsleep(const volatile void *ident, \
-+ 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, \
-+ 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, \
-- SYS_SETSOCKOPT = 105 // { int sys_setsockopt(int s, int level, int name, \
-+ 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, \
-- SYS_PPOLL = 109 // { int sys_ppoll(struct pollfd *fds, \
-- SYS_PSELECT = 110 // { int sys_pselect(int nd, fd_set *in, fd_set *ou, \
-+ 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_GETSOCKOPT = 118 // { int sys_getsockopt(int s, int level, int name, \
-- SYS_READV = 120 // { ssize_t sys_readv(int fd, \
-- SYS_WRITEV = 121 // { ssize_t sys_writev(int fd, \
-+ SYS_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); }
-@@ -125,89 +128,90 @@ const (
- SYS_RENAME = 128 // { int sys_rename(const char *from, const char *to); }
- SYS_FLOCK = 131 // { int sys_flock(int fd, int how); }
- SYS_MKFIFO = 132 // { int sys_mkfifo(const char *path, mode_t mode); }
-- SYS_SENDTO = 133 // { ssize_t sys_sendto(int s, const void *buf, \
-+ SYS_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, \
-+ 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, \
-+ 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, \
-+ 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, \
-- SYS_PWRITE = 174 // { ssize_t sys_pwrite(int fd, const void *buf, \
-+ 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, \
-- SYS_SETRLIMIT = 195 // { int sys_setrlimit(int which, \
-- SYS_MMAP = 197 // { void *sys_mmap(void *addr, size_t len, int prot, \
-- SYS_LSEEK = 199 // { off_t sys_lseek(int fd, int pad, off_t offset, \
-- SYS_TRUNCATE = 200 // { int sys_truncate(const char *path, int pad, \
-+ SYS_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, \
-+ 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, \
-+ 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, \
-- SYS_MSGRCV = 227 // { int sys_msgrcv(int msqid, void *msgp, size_t msgsz, \
-- SYS_SHMAT = 228 // { void *sys_shmat(int shmid, const void *shmaddr, \
-+ SYS_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, \
-- SYS_POLL = 252 // { int sys_poll(struct pollfd *fds, \
-+ 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, \
-- SYS_PWRITEV = 268 // { ssize_t sys_pwritev(int fd, \
-+ 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, \
-- SYS_SETRESUID = 282 // { int sys_setresuid(uid_t ruid, uid_t euid, \
-- SYS_GETRESGID = 283 // { int sys_getresgid(gid_t *rgid, gid_t *egid, \
-- SYS_SETRESGID = 284 // { int sys_setresgid(gid_t rgid, gid_t egid, \
-- SYS_MQUERY = 286 // { void *sys_mquery(void *addr, size_t len, int prot, \
-+ SYS_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, \
-+ 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, \
-- SYS_FHSTAT = 294 // { int sys_fhstat(const fhandle_t *fhp, \
-- SYS___SEMCTL = 295 // { int sys___semctl(int semid, int semnum, int cmd, \
-- SYS_SHMCTL = 296 // { int sys_shmctl(int shmid, int cmd, \
-- SYS_MSGCTL = 297 // { int sys_msgctl(int msqid, int cmd, \
-+ SYS_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, \
-+ 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, \
-+ 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, \
-+ 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, \
-- SYS_FCHMODAT = 314 // { int sys_fchmodat(int fd, const char *path, \
-- SYS_FCHOWNAT = 315 // { int sys_fchownat(int fd, const char *path, \
-- SYS_LINKAT = 317 // { int sys_linkat(int fd1, const char *path1, int fd2, \
-- SYS_MKDIRAT = 318 // { int sys_mkdirat(int fd, const char *path, \
-- SYS_MKFIFOAT = 319 // { int sys_mkfifoat(int fd, const char *path, \
-- SYS_MKNODAT = 320 // { int sys_mknodat(int fd, const char *path, \
-- SYS_OPENAT = 321 // { int sys_openat(int fd, const char *path, int flags, \
-- SYS_READLINKAT = 322 // { ssize_t sys_readlinkat(int fd, const char *path, \
-- SYS_RENAMEAT = 323 // { int sys_renameat(int fromfd, const char *from, \
-- SYS_SYMLINKAT = 324 // { int sys_symlinkat(const char *path, int fd, \
-- SYS_UNLINKAT = 325 // { int sys_unlinkat(int fd, const char *path, \
-+ SYS_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_solaris_amd64.go b/vendor/golang.org/x/sys/unix/zsysnum_solaris_amd64.go
-deleted file mode 100644
-index c7086598..00000000
---- a/vendor/golang.org/x/sys/unix/zsysnum_solaris_amd64.go
-+++ /dev/null
-@@ -1,13 +0,0 @@
--// Copyright 2014 The Go Authors. All rights reserved.
--// Use of this source code is governed by a BSD-style
--// license that can be found in the LICENSE file.
--
--// +build amd64,solaris
--
--package unix
--
--// TODO(aram): remove these before Go 1.3.
--const (
-- SYS_EXECVE = 59
-- SYS_FCNTL = 62
--)
-diff --git a/vendor/golang.org/x/sys/unix/ztypes_aix_ppc.go b/vendor/golang.org/x/sys/unix/ztypes_aix_ppc.go
-new file mode 100644
-index 00000000..2c1f815e
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/ztypes_aix_ppc.go
-@@ -0,0 +1,352 @@
-+// cgo -godefs types_aix.go | go run mkpost.go
-+// Code generated by the command above; see README.md. DO NOT EDIT.
-+
-+// +build ppc,aix
-+
-+package unix
-+
-+const (
-+ SizeofPtr = 0x4
-+ SizeofShort = 0x2
-+ SizeofInt = 0x4
-+ SizeofLong = 0x4
-+ SizeofLongLong = 0x8
-+ PathMax = 0x3ff
-+)
-+
-+type (
-+ _C_short int16
-+ _C_int int32
-+ _C_long int32
-+ _C_long_long int64
-+)
-+
-+type off64 int64
-+type off int32
-+type Mode_t uint32
-+
-+type Timespec struct {
-+ Sec int32
-+ Nsec int32
-+}
-+
-+type Timeval struct {
-+ Sec int32
-+ Usec int32
-+}
-+
-+type Timeval32 struct {
-+ Sec int32
-+ Usec int32
-+}
-+
-+type Timex struct{}
-+
-+type Time_t int32
-+
-+type Tms struct{}
-+
-+type Utimbuf struct {
-+ Actime int32
-+ Modtime int32
-+}
-+
-+type Timezone struct {
-+ Minuteswest int32
-+ Dsttime int32
-+}
-+
-+type Rusage struct {
-+ Utime Timeval
-+ Stime Timeval
-+ Maxrss int32
-+ Ixrss int32
-+ Idrss int32
-+ Isrss int32
-+ Minflt int32
-+ Majflt int32
-+ Nswap int32
-+ Inblock int32
-+ Oublock int32
-+ Msgsnd int32
-+ Msgrcv int32
-+ Nsignals int32
-+ Nvcsw int32
-+ Nivcsw int32
-+}
-+
-+type Rlimit struct {
-+ Cur uint64
-+ Max uint64
-+}
-+
-+type Pid_t int32
-+
-+type _Gid_t uint32
-+
-+type dev_t uint32
-+
-+type Stat_t struct {
-+ Dev uint32
-+ Ino uint32
-+ Mode uint32
-+ Nlink int16
-+ Flag uint16
-+ Uid uint32
-+ Gid uint32
-+ Rdev uint32
-+ Size int32
-+ Atim Timespec
-+ Mtim Timespec
-+ Ctim Timespec
-+ Blksize int32
-+ Blocks int32
-+ Vfstype int32
-+ Vfs uint32
-+ Type uint32
-+ Gen uint32
-+ Reserved [9]uint32
-+}
-+
-+type StatxTimestamp struct{}
-+
-+type Statx_t struct{}
-+
-+type Dirent struct {
-+ Offset uint32
-+ Ino uint32
-+ Reclen uint16
-+ Namlen uint16
-+ Name [256]uint8
-+}
-+
-+type RawSockaddrInet4 struct {
-+ Len uint8
-+ Family uint8
-+ Port uint16
-+ Addr [4]byte /* in_addr */
-+ Zero [8]uint8
-+}
-+
-+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 [1023]uint8
-+}
-+
-+type RawSockaddrDatalink struct {
-+ Len uint8
-+ Family uint8
-+ Index uint16
-+ Type uint8
-+ Nlen uint8
-+ Alen uint8
-+ Slen uint8
-+ Data [120]uint8
-+}
-+
-+type RawSockaddr struct {
-+ Len uint8
-+ Family uint8
-+ Data [14]uint8
-+}
-+
-+type RawSockaddrAny struct {
-+ Addr RawSockaddr
-+ Pad [1012]uint8
-+}
-+
-+type _Socklen uint32
-+
-+type Cmsghdr struct {
-+ Len uint32
-+ Level int32
-+ Type int32
-+}
-+
-+type ICMPv6Filter struct {
-+ Filt [8]uint32
-+}
-+
-+type Iovec struct {
-+ Base *byte
-+ Len uint32
-+}
-+
-+type IPMreq struct {
-+ Multiaddr [4]byte /* in_addr */
-+ Interface [4]byte /* in_addr */
-+}
-+
-+type IPv6Mreq struct {
-+ Multiaddr [16]byte /* in6_addr */
-+ Interface uint32
-+}
-+
-+type IPv6MTUInfo struct {
-+ Addr RawSockaddrInet6
-+ Mtu uint32
-+}
-+
-+type Linger struct {
-+ Onoff int32
-+ Linger int32
-+}
-+
-+type Msghdr struct {
-+ Name *byte
-+ Namelen uint32
-+ Iov *Iovec
-+ Iovlen int32
-+ Control *byte
-+ Controllen uint32
-+ Flags int32
-+}
-+
-+const (
-+ SizeofSockaddrInet4 = 0x10
-+ SizeofSockaddrInet6 = 0x1c
-+ SizeofSockaddrAny = 0x404
-+ SizeofSockaddrUnix = 0x401
-+ SizeofSockaddrDatalink = 0x80
-+ SizeofLinger = 0x8
-+ SizeofIPMreq = 0x8
-+ SizeofIPv6Mreq = 0x14
-+ SizeofIPv6MTUInfo = 0x20
-+ SizeofMsghdr = 0x1c
-+ SizeofCmsghdr = 0xc
-+ SizeofICMPv6Filter = 0x20
-+)
-+
-+const (
-+ SizeofIfMsghdr = 0x10
-+)
-+
-+type IfMsgHdr struct {
-+ Msglen uint16
-+ Version uint8
-+ Type uint8
-+ Addrs int32
-+ Flags int32
-+ Index uint16
-+ Addrlen uint8
-+ _ [1]byte
-+}
-+
-+type FdSet struct {
-+ Bits [2048]int32
-+}
-+
-+type Utsname struct {
-+ Sysname [32]byte
-+ Nodename [32]byte
-+ Release [32]byte
-+ Version [32]byte
-+ Machine [32]byte
-+}
-+
-+type Ustat_t struct{}
-+
-+type Sigset_t struct {
-+ Losigs uint32
-+ Hisigs uint32
-+}
-+
-+const (
-+ AT_FDCWD = -0x2
-+ AT_REMOVEDIR = 0x1
-+ AT_SYMLINK_NOFOLLOW = 0x1
-+)
-+
-+type Termios struct {
-+ Iflag uint32
-+ Oflag uint32
-+ Cflag uint32
-+ Lflag uint32
-+ Cc [16]uint8
-+}
-+
-+type Termio struct {
-+ Iflag uint16
-+ Oflag uint16
-+ Cflag uint16
-+ Lflag uint16
-+ Line uint8
-+ Cc [8]uint8
-+ _ [1]byte
-+}
-+
-+type Winsize struct {
-+ Row uint16
-+ Col uint16
-+ Xpixel uint16
-+ Ypixel uint16
-+}
-+
-+type PollFd struct {
-+ Fd int32
-+ Events uint16
-+ Revents uint16
-+}
-+
-+const (
-+ POLLERR = 0x4000
-+ POLLHUP = 0x2000
-+ POLLIN = 0x1
-+ POLLNVAL = 0x8000
-+ POLLOUT = 0x2
-+ POLLPRI = 0x4
-+ POLLRDBAND = 0x20
-+ POLLRDNORM = 0x10
-+ POLLWRBAND = 0x40
-+ POLLWRNORM = 0x2
-+)
-+
-+type Flock_t struct {
-+ Type int16
-+ Whence int16
-+ Sysid uint32
-+ Pid int32
-+ Vfs int32
-+ Start int64
-+ Len int64
-+}
-+
-+type Fsid_t struct {
-+ Val [2]uint32
-+}
-+type Fsid64_t struct {
-+ Val [2]uint64
-+}
-+
-+type Statfs_t struct {
-+ Version int32
-+ Type int32
-+ Bsize uint32
-+ Blocks uint32
-+ Bfree uint32
-+ Bavail uint32
-+ Files uint32
-+ Ffree uint32
-+ Fsid Fsid_t
-+ Vfstype int32
-+ Fsize uint32
-+ Vfsnumber int32
-+ Vfsoff int32
-+ Vfslen int32
-+ Vfsvers int32
-+ Fname [32]uint8
-+ Fpack [32]uint8
-+ Name_max int32
-+}
-+
-+const RNDGETENTCNT = 0x80045200
-diff --git a/vendor/golang.org/x/sys/unix/ztypes_aix_ppc64.go b/vendor/golang.org/x/sys/unix/ztypes_aix_ppc64.go
-new file mode 100644
-index 00000000..b4a069ec
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/ztypes_aix_ppc64.go
-@@ -0,0 +1,356 @@
-+// cgo -godefs types_aix.go | go run mkpost.go
-+// Code generated by the command above; see README.md. DO NOT EDIT.
-+
-+// +build ppc64,aix
-+
-+package unix
-+
-+const (
-+ SizeofPtr = 0x8
-+ SizeofShort = 0x2
-+ SizeofInt = 0x4
-+ SizeofLong = 0x8
-+ SizeofLongLong = 0x8
-+ PathMax = 0x3ff
-+)
-+
-+type (
-+ _C_short int16
-+ _C_int int32
-+ _C_long int64
-+ _C_long_long int64
-+)
-+
-+type off64 int64
-+type off int64
-+type Mode_t uint32
-+
-+type Timespec struct {
-+ Sec int64
-+ Nsec int64
-+}
-+
-+type Timeval struct {
-+ Sec int64
-+ Usec int32
-+ _ [4]byte
-+}
-+
-+type Timeval32 struct {
-+ Sec int32
-+ Usec int32
-+}
-+
-+type Timex struct{}
-+
-+type Time_t int64
-+
-+type Tms struct{}
-+
-+type Utimbuf struct {
-+ Actime int64
-+ Modtime int64
-+}
-+
-+type Timezone struct {
-+ Minuteswest int32
-+ Dsttime int32
-+}
-+
-+type Rusage struct {
-+ Utime Timeval
-+ Stime Timeval
-+ Maxrss int64
-+ Ixrss int64
-+ Idrss int64
-+ Isrss int64
-+ Minflt int64
-+ Majflt int64
-+ Nswap int64
-+ Inblock int64
-+ Oublock int64
-+ Msgsnd int64
-+ Msgrcv int64
-+ Nsignals int64
-+ Nvcsw int64
-+ Nivcsw int64
-+}
-+
-+type Rlimit struct {
-+ Cur uint64
-+ Max uint64
-+}
-+
-+type Pid_t int32
-+
-+type _Gid_t uint32
-+
-+type dev_t uint64
-+
-+type Stat_t struct {
-+ Dev uint64
-+ Ino uint64
-+ Mode uint32
-+ Nlink int16
-+ Flag uint16
-+ Uid uint32
-+ Gid uint32
-+ Rdev uint64
-+ Ssize int32
-+ Atim Timespec
-+ Mtim Timespec
-+ Ctim Timespec
-+ Blksize int64
-+ Blocks int64
-+ Vfstype int32
-+ Vfs uint32
-+ Type uint32
-+ Gen uint32
-+ Reserved [9]uint32
-+ Padto_ll uint32
-+ Size int64
-+}
-+
-+type StatxTimestamp struct{}
-+
-+type Statx_t struct{}
-+
-+type Dirent struct {
-+ Offset uint64
-+ Ino uint64
-+ Reclen uint16
-+ Namlen uint16
-+ Name [256]uint8
-+ _ [4]byte
-+}
-+
-+type RawSockaddrInet4 struct {
-+ Len uint8
-+ Family uint8
-+ Port uint16
-+ Addr [4]byte /* in_addr */
-+ Zero [8]uint8
-+}
-+
-+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 [1023]uint8
-+}
-+
-+type RawSockaddrDatalink struct {
-+ Len uint8
-+ Family uint8
-+ Index uint16
-+ Type uint8
-+ Nlen uint8
-+ Alen uint8
-+ Slen uint8
-+ Data [120]uint8
-+}
-+
-+type RawSockaddr struct {
-+ Len uint8
-+ Family uint8
-+ Data [14]uint8
-+}
-+
-+type RawSockaddrAny struct {
-+ Addr RawSockaddr
-+ Pad [1012]uint8
-+}
-+
-+type _Socklen uint32
-+
-+type Cmsghdr struct {
-+ Len uint32
-+ Level int32
-+ Type int32
-+}
-+
-+type ICMPv6Filter struct {
-+ Filt [8]uint32
-+}
-+
-+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 IPv6MTUInfo struct {
-+ Addr RawSockaddrInet6
-+ Mtu uint32
-+}
-+
-+type Linger struct {
-+ Onoff int32
-+ Linger int32
-+}
-+
-+type Msghdr struct {
-+ Name *byte
-+ Namelen uint32
-+ Iov *Iovec
-+ Iovlen int32
-+ Control *byte
-+ Controllen uint32
-+ Flags int32
-+}
-+
-+const (
-+ SizeofSockaddrInet4 = 0x10
-+ SizeofSockaddrInet6 = 0x1c
-+ SizeofSockaddrAny = 0x404
-+ SizeofSockaddrUnix = 0x401
-+ SizeofSockaddrDatalink = 0x80
-+ SizeofLinger = 0x8
-+ SizeofIPMreq = 0x8
-+ SizeofIPv6Mreq = 0x14
-+ SizeofIPv6MTUInfo = 0x20
-+ SizeofMsghdr = 0x30
-+ SizeofCmsghdr = 0xc
-+ SizeofICMPv6Filter = 0x20
-+)
-+
-+const (
-+ SizeofIfMsghdr = 0x10
-+)
-+
-+type IfMsgHdr struct {
-+ Msglen uint16
-+ Version uint8
-+ Type uint8
-+ Addrs int32
-+ Flags int32
-+ Index uint16
-+ Addrlen uint8
-+ _ [1]byte
-+}
-+
-+type FdSet struct {
-+ Bits [1024]int64
-+}
-+
-+type Utsname struct {
-+ Sysname [32]byte
-+ Nodename [32]byte
-+ Release [32]byte
-+ Version [32]byte
-+ Machine [32]byte
-+}
-+
-+type Ustat_t struct{}
-+
-+type Sigset_t struct {
-+ Set [4]uint64
-+}
-+
-+const (
-+ AT_FDCWD = -0x2
-+ AT_REMOVEDIR = 0x1
-+ AT_SYMLINK_NOFOLLOW = 0x1
-+)
-+
-+type Termios struct {
-+ Iflag uint32
-+ Oflag uint32
-+ Cflag uint32
-+ Lflag uint32
-+ Cc [16]uint8
-+}
-+
-+type Termio struct {
-+ Iflag uint16
-+ Oflag uint16
-+ Cflag uint16
-+ Lflag uint16
-+ Line uint8
-+ Cc [8]uint8
-+ _ [1]byte
-+}
-+
-+type Winsize struct {
-+ Row uint16
-+ Col uint16
-+ Xpixel uint16
-+ Ypixel uint16
-+}
-+
-+type PollFd struct {
-+ Fd int32
-+ Events uint16
-+ Revents uint16
-+}
-+
-+const (
-+ POLLERR = 0x4000
-+ POLLHUP = 0x2000
-+ POLLIN = 0x1
-+ POLLNVAL = 0x8000
-+ POLLOUT = 0x2
-+ POLLPRI = 0x4
-+ POLLRDBAND = 0x20
-+ POLLRDNORM = 0x10
-+ POLLWRBAND = 0x40
-+ POLLWRNORM = 0x2
-+)
-+
-+type Flock_t struct {
-+ Type int16
-+ Whence int16
-+ Sysid uint32
-+ Pid int32
-+ Vfs int32
-+ Start int64
-+ Len int64
-+}
-+
-+type Fsid_t struct {
-+ Val [2]uint32
-+}
-+type Fsid64_t struct {
-+ Val [2]uint64
-+}
-+
-+type Statfs_t struct {
-+ Version int32
-+ Type int32
-+ Bsize uint64
-+ Blocks uint64
-+ Bfree uint64
-+ Bavail uint64
-+ Files uint64
-+ Ffree uint64
-+ Fsid Fsid64_t
-+ Vfstype int32
-+ Fsize uint64
-+ Vfsnumber int32
-+ Vfsoff int32
-+ Vfslen int32
-+ Vfsvers int32
-+ Fname [32]uint8
-+ Fpack [32]uint8
-+ Name_max int32
-+ _ [4]byte
-+}
-+
-+const RNDGETENTCNT = 0x80045200
-diff --git a/vendor/golang.org/x/sys/unix/ztypes_darwin_386.go b/vendor/golang.org/x/sys/unix/ztypes_darwin_386.go
-index e61d78a5..9f47b87c 100644
---- a/vendor/golang.org/x/sys/unix/ztypes_darwin_386.go
-+++ b/vendor/golang.org/x/sys/unix/ztypes_darwin_386.go
-@@ -6,11 +6,11 @@
- package unix
-
- const (
-- sizeofPtr = 0x4
-- sizeofShort = 0x2
-- sizeofInt = 0x4
-- sizeofLong = 0x4
-- sizeofLongLong = 0x8
-+ SizeofPtr = 0x4
-+ SizeofShort = 0x2
-+ SizeofInt = 0x4
-+ SizeofLong = 0x4
-+ SizeofLongLong = 0x8
- )
-
- type (
-@@ -59,24 +59,24 @@ type Rlimit struct {
- type _Gid_t uint32
-
- type Stat_t struct {
-- Dev int32
-- Mode uint16
-- Nlink uint16
-- Ino uint64
-- Uid uint32
-- Gid uint32
-- Rdev int32
-- Atimespec Timespec
-- Mtimespec Timespec
-- Ctimespec Timespec
-- Birthtimespec Timespec
-- Size int64
-- Blocks int64
-- Blksize int32
-- Flags uint32
-- Gen uint32
-- Lspare int32
-- Qspare [2]int64
-+ Dev int32
-+ Mode uint16
-+ Nlink uint16
-+ Ino uint64
-+ Uid uint32
-+ Gid uint32
-+ Rdev int32
-+ Atim Timespec
-+ Mtim Timespec
-+ Ctim Timespec
-+ Btim Timespec
-+ Size int64
-+ Blocks int64
-+ Blksize int32
-+ Flags uint32
-+ Gen uint32
-+ Lspare int32
-+ Qspare [2]int64
- }
-
- type Statfs_t struct {
-@@ -136,13 +136,13 @@ type Fsid struct {
- }
-
- type Dirent struct {
-- Ino uint64
-- Seekoff uint64
-- Reclen uint16
-- Namlen uint16
-- Type uint8
-- Name [1024]int8
-- Pad_cgo_0 [3]byte
-+ Ino uint64
-+ Seekoff uint64
-+ Reclen uint16
-+ Namlen uint16
-+ Type uint8
-+ Name [1024]int8
-+ _ [3]byte
- }
-
- type RawSockaddrInet4 struct {
-@@ -295,14 +295,14 @@ const (
- )
-
- type IfMsghdr struct {
-- Msglen uint16
-- Version uint8
-- Type uint8
-- Addrs int32
-- Flags int32
-- Index uint16
-- Pad_cgo_0 [2]byte
-- Data IfData
-+ Msglen uint16
-+ Version uint8
-+ Type uint8
-+ Addrs int32
-+ Flags int32
-+ Index uint16
-+ _ [2]byte
-+ Data IfData
- }
-
- type IfData struct {
-@@ -338,51 +338,51 @@ type IfData struct {
- }
-
- type IfaMsghdr struct {
-- Msglen uint16
-- Version uint8
-- Type uint8
-- Addrs int32
-- Flags int32
-- Index uint16
-- Pad_cgo_0 [2]byte
-- Metric int32
-+ Msglen uint16
-+ Version uint8
-+ Type uint8
-+ Addrs int32
-+ Flags int32
-+ Index uint16
-+ _ [2]byte
-+ Metric int32
- }
-
- type IfmaMsghdr struct {
-- Msglen uint16
-- Version uint8
-- Type uint8
-- Addrs int32
-- Flags int32
-- Index uint16
-- Pad_cgo_0 [2]byte
-+ Msglen uint16
-+ Version uint8
-+ Type uint8
-+ Addrs int32
-+ Flags int32
-+ Index uint16
-+ _ [2]byte
- }
-
- type IfmaMsghdr2 struct {
-- Msglen uint16
-- Version uint8
-- Type uint8
-- Addrs int32
-- Flags int32
-- Index uint16
-- Pad_cgo_0 [2]byte
-- Refcount int32
-+ Msglen uint16
-+ Version uint8
-+ Type uint8
-+ Addrs int32
-+ Flags int32
-+ Index uint16
-+ _ [2]byte
-+ Refcount int32
- }
-
- type RtMsghdr struct {
-- Msglen uint16
-- Version uint8
-- Type uint8
-- Index uint16
-- Pad_cgo_0 [2]byte
-- Flags int32
-- Addrs int32
-- Pid int32
-- Seq int32
-- Errno int32
-- Use int32
-- Inits uint32
-- Rmx RtMetrics
-+ Msglen uint16
-+ Version uint8
-+ Type uint8
-+ Index uint16
-+ _ [2]byte
-+ Flags int32
-+ Addrs int32
-+ Pid int32
-+ Seq int32
-+ Errno int32
-+ Use int32
-+ Inits uint32
-+ Rmx RtMetrics
- }
-
- type RtMetrics struct {
-@@ -430,11 +430,11 @@ type BpfInsn struct {
- }
-
- type BpfHdr struct {
-- Tstamp Timeval
-- Caplen uint32
-- Datalen uint32
-- Hdrlen uint16
-- Pad_cgo_0 [2]byte
-+ Tstamp Timeval
-+ Caplen uint32
-+ Datalen uint32
-+ Hdrlen uint16
-+ _ [2]byte
- }
-
- type Termios struct {
-@@ -460,3 +460,40 @@ const (
- AT_SYMLINK_FOLLOW = 0x40
- AT_SYMLINK_NOFOLLOW = 0x20
- )
-+
-+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 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
-+ Tickadj int32
-+ Stathz int32
-+ Profhz int32
-+}
-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 2619155f..966798a8 100644
---- a/vendor/golang.org/x/sys/unix/ztypes_darwin_amd64.go
-+++ b/vendor/golang.org/x/sys/unix/ztypes_darwin_amd64.go
-@@ -6,11 +6,11 @@
- package unix
-
- const (
-- sizeofPtr = 0x8
-- sizeofShort = 0x2
-- sizeofInt = 0x4
-- sizeofLong = 0x8
-- sizeofLongLong = 0x8
-+ SizeofPtr = 0x8
-+ SizeofShort = 0x2
-+ SizeofInt = 0x4
-+ SizeofLong = 0x8
-+ SizeofLongLong = 0x8
- )
-
- type (
-@@ -26,9 +26,9 @@ type Timespec struct {
- }
-
- type Timeval struct {
-- Sec int64
-- Usec int32
-- Pad_cgo_0 [4]byte
-+ Sec int64
-+ Usec int32
-+ _ [4]byte
- }
-
- type Timeval32 struct {
-@@ -63,25 +63,25 @@ type Rlimit struct {
- type _Gid_t uint32
-
- type Stat_t struct {
-- Dev int32
-- Mode uint16
-- Nlink uint16
-- Ino uint64
-- Uid uint32
-- Gid uint32
-- Rdev int32
-- Pad_cgo_0 [4]byte
-- Atimespec Timespec
-- Mtimespec Timespec
-- Ctimespec Timespec
-- Birthtimespec Timespec
-- Size int64
-- Blocks int64
-- Blksize int32
-- Flags uint32
-- Gen uint32
-- Lspare int32
-- Qspare [2]int64
-+ Dev int32
-+ Mode uint16
-+ Nlink uint16
-+ Ino uint64
-+ Uid uint32
-+ Gid uint32
-+ Rdev int32
-+ _ [4]byte
-+ Atim Timespec
-+ Mtim Timespec
-+ Ctim Timespec
-+ Btim Timespec
-+ Size int64
-+ Blocks int64
-+ Blksize int32
-+ Flags uint32
-+ Gen uint32
-+ Lspare int32
-+ Qspare [2]int64
- }
-
- type Statfs_t struct {
-@@ -120,9 +120,9 @@ type Fstore_t struct {
- }
-
- type Radvisory_t struct {
-- Offset int64
-- Count int32
-- Pad_cgo_0 [4]byte
-+ Offset int64
-+ Count int32
-+ _ [4]byte
- }
-
- type Fbootstraptransfer_t struct {
-@@ -132,9 +132,9 @@ type Fbootstraptransfer_t struct {
- }
-
- type Log2phys_t struct {
-- Flags uint32
-- Pad_cgo_0 [8]byte
-- Pad_cgo_1 [8]byte
-+ Flags uint32
-+ _ [8]byte
-+ _ [8]byte
- }
-
- type Fsid struct {
-@@ -142,13 +142,13 @@ type Fsid struct {
- }
-
- type Dirent struct {
-- Ino uint64
-- Seekoff uint64
-- Reclen uint16
-- Namlen uint16
-- Type uint8
-- Name [1024]int8
-- Pad_cgo_0 [3]byte
-+ Ino uint64
-+ Seekoff uint64
-+ Reclen uint16
-+ Namlen uint16
-+ Type uint8
-+ Name [1024]int8
-+ _ [3]byte
- }
-
- type RawSockaddrInet4 struct {
-@@ -221,10 +221,10 @@ type IPv6Mreq struct {
- type Msghdr struct {
- Name *byte
- Namelen uint32
-- Pad_cgo_0 [4]byte
-+ _ [4]byte
- Iov *Iovec
- Iovlen int32
-- Pad_cgo_1 [4]byte
-+ _ [4]byte
- Control *byte
- Controllen uint32
- Flags int32
-@@ -303,14 +303,14 @@ const (
- )
-
- type IfMsghdr struct {
-- Msglen uint16
-- Version uint8
-- Type uint8
-- Addrs int32
-- Flags int32
-- Index uint16
-- Pad_cgo_0 [2]byte
-- Data IfData
-+ Msglen uint16
-+ Version uint8
-+ Type uint8
-+ Addrs int32
-+ Flags int32
-+ Index uint16
-+ _ [2]byte
-+ Data IfData
- }
-
- type IfData struct {
-@@ -346,51 +346,51 @@ type IfData struct {
- }
-
- type IfaMsghdr struct {
-- Msglen uint16
-- Version uint8
-- Type uint8
-- Addrs int32
-- Flags int32
-- Index uint16
-- Pad_cgo_0 [2]byte
-- Metric int32
-+ Msglen uint16
-+ Version uint8
-+ Type uint8
-+ Addrs int32
-+ Flags int32
-+ Index uint16
-+ _ [2]byte
-+ Metric int32
- }
-
- type IfmaMsghdr struct {
-- Msglen uint16
-- Version uint8
-- Type uint8
-- Addrs int32
-- Flags int32
-- Index uint16
-- Pad_cgo_0 [2]byte
-+ Msglen uint16
-+ Version uint8
-+ Type uint8
-+ Addrs int32
-+ Flags int32
-+ Index uint16
-+ _ [2]byte
- }
-
- type IfmaMsghdr2 struct {
-- Msglen uint16
-- Version uint8
-- Type uint8
-- Addrs int32
-- Flags int32
-- Index uint16
-- Pad_cgo_0 [2]byte
-- Refcount int32
-+ Msglen uint16
-+ Version uint8
-+ Type uint8
-+ Addrs int32
-+ Flags int32
-+ Index uint16
-+ _ [2]byte
-+ Refcount int32
- }
-
- type RtMsghdr struct {
-- Msglen uint16
-- Version uint8
-- Type uint8
-- Index uint16
-- Pad_cgo_0 [2]byte
-- Flags int32
-- Addrs int32
-- Pid int32
-- Seq int32
-- Errno int32
-- Use int32
-- Inits uint32
-- Rmx RtMetrics
-+ Msglen uint16
-+ Version uint8
-+ Type uint8
-+ Index uint16
-+ _ [2]byte
-+ Flags int32
-+ Addrs int32
-+ Pid int32
-+ Seq int32
-+ Errno int32
-+ Use int32
-+ Inits uint32
-+ Rmx RtMetrics
- }
-
- type RtMetrics struct {
-@@ -426,9 +426,9 @@ type BpfStat struct {
- }
-
- type BpfProgram struct {
-- Len uint32
-- Pad_cgo_0 [4]byte
-- Insns *BpfInsn
-+ Len uint32
-+ _ [4]byte
-+ Insns *BpfInsn
- }
-
- type BpfInsn struct {
-@@ -439,22 +439,22 @@ type BpfInsn struct {
- }
-
- type BpfHdr struct {
-- Tstamp Timeval32
-- Caplen uint32
-- Datalen uint32
-- Hdrlen uint16
-- Pad_cgo_0 [2]byte
-+ Tstamp Timeval32
-+ Caplen uint32
-+ Datalen uint32
-+ Hdrlen uint16
-+ _ [2]byte
- }
-
- type Termios struct {
-- Iflag uint64
-- Oflag uint64
-- Cflag uint64
-- Lflag uint64
-- Cc [20]uint8
-- Pad_cgo_0 [4]byte
-- Ispeed uint64
-- Ospeed uint64
-+ Iflag uint64
-+ Oflag uint64
-+ Cflag uint64
-+ Lflag uint64
-+ Cc [20]uint8
-+ _ [4]byte
-+ Ispeed uint64
-+ Ospeed uint64
- }
-
- type Winsize struct {
-@@ -470,3 +470,40 @@ const (
- AT_SYMLINK_FOLLOW = 0x40
- AT_SYMLINK_NOFOLLOW = 0x20
- )
-+
-+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 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
-+ Tickadj int32
-+ Stathz int32
-+ Profhz int32
-+}
-diff --git a/vendor/golang.org/x/sys/unix/ztypes_darwin_arm.go b/vendor/golang.org/x/sys/unix/ztypes_darwin_arm.go
-index 4dca0d4d..4fe4c9cd 100644
---- a/vendor/golang.org/x/sys/unix/ztypes_darwin_arm.go
-+++ b/vendor/golang.org/x/sys/unix/ztypes_darwin_arm.go
-@@ -7,11 +7,11 @@
- package unix
-
- const (
-- sizeofPtr = 0x4
-- sizeofShort = 0x2
-- sizeofInt = 0x4
-- sizeofLong = 0x4
-- sizeofLongLong = 0x8
-+ SizeofPtr = 0x4
-+ SizeofShort = 0x2
-+ SizeofInt = 0x4
-+ SizeofLong = 0x4
-+ SizeofLongLong = 0x8
- )
-
- type (
-@@ -60,24 +60,24 @@ type Rlimit struct {
- type _Gid_t uint32
-
- type Stat_t struct {
-- Dev int32
-- Mode uint16
-- Nlink uint16
-- Ino uint64
-- Uid uint32
-- Gid uint32
-- Rdev int32
-- Atimespec Timespec
-- Mtimespec Timespec
-- Ctimespec Timespec
-- Birthtimespec Timespec
-- Size int64
-- Blocks int64
-- Blksize int32
-- Flags uint32
-- Gen uint32
-- Lspare int32
-- Qspare [2]int64
-+ Dev int32
-+ Mode uint16
-+ Nlink uint16
-+ Ino uint64
-+ Uid uint32
-+ Gid uint32
-+ Rdev int32
-+ Atim Timespec
-+ Mtim Timespec
-+ Ctim Timespec
-+ Btim Timespec
-+ Size int64
-+ Blocks int64
-+ Blksize int32
-+ Flags uint32
-+ Gen uint32
-+ Lspare int32
-+ Qspare [2]int64
- }
-
- type Statfs_t struct {
-@@ -137,13 +137,13 @@ type Fsid struct {
- }
-
- type Dirent struct {
-- Ino uint64
-- Seekoff uint64
-- Reclen uint16
-- Namlen uint16
-- Type uint8
-- Name [1024]int8
-- Pad_cgo_0 [3]byte
-+ Ino uint64
-+ Seekoff uint64
-+ Reclen uint16
-+ Namlen uint16
-+ Type uint8
-+ Name [1024]int8
-+ _ [3]byte
- }
-
- type RawSockaddrInet4 struct {
-@@ -296,14 +296,14 @@ const (
- )
-
- type IfMsghdr struct {
-- Msglen uint16
-- Version uint8
-- Type uint8
-- Addrs int32
-- Flags int32
-- Index uint16
-- Pad_cgo_0 [2]byte
-- Data IfData
-+ Msglen uint16
-+ Version uint8
-+ Type uint8
-+ Addrs int32
-+ Flags int32
-+ Index uint16
-+ _ [2]byte
-+ Data IfData
- }
-
- type IfData struct {
-@@ -339,51 +339,51 @@ type IfData struct {
- }
-
- type IfaMsghdr struct {
-- Msglen uint16
-- Version uint8
-- Type uint8
-- Addrs int32
-- Flags int32
-- Index uint16
-- Pad_cgo_0 [2]byte
-- Metric int32
-+ Msglen uint16
-+ Version uint8
-+ Type uint8
-+ Addrs int32
-+ Flags int32
-+ Index uint16
-+ _ [2]byte
-+ Metric int32
- }
-
- type IfmaMsghdr struct {
-- Msglen uint16
-- Version uint8
-- Type uint8
-- Addrs int32
-- Flags int32
-- Index uint16
-- Pad_cgo_0 [2]byte
-+ Msglen uint16
-+ Version uint8
-+ Type uint8
-+ Addrs int32
-+ Flags int32
-+ Index uint16
-+ _ [2]byte
- }
-
- type IfmaMsghdr2 struct {
-- Msglen uint16
-- Version uint8
-- Type uint8
-- Addrs int32
-- Flags int32
-- Index uint16
-- Pad_cgo_0 [2]byte
-- Refcount int32
-+ Msglen uint16
-+ Version uint8
-+ Type uint8
-+ Addrs int32
-+ Flags int32
-+ Index uint16
-+ _ [2]byte
-+ Refcount int32
- }
-
- type RtMsghdr struct {
-- Msglen uint16
-- Version uint8
-- Type uint8
-- Index uint16
-- Pad_cgo_0 [2]byte
-- Flags int32
-- Addrs int32
-- Pid int32
-- Seq int32
-- Errno int32
-- Use int32
-- Inits uint32
-- Rmx RtMetrics
-+ Msglen uint16
-+ Version uint8
-+ Type uint8
-+ Index uint16
-+ _ [2]byte
-+ Flags int32
-+ Addrs int32
-+ Pid int32
-+ Seq int32
-+ Errno int32
-+ Use int32
-+ Inits uint32
-+ Rmx RtMetrics
- }
-
- type RtMetrics struct {
-@@ -431,11 +431,11 @@ type BpfInsn struct {
- }
-
- type BpfHdr struct {
-- Tstamp Timeval
-- Caplen uint32
-- Datalen uint32
-- Hdrlen uint16
-- Pad_cgo_0 [2]byte
-+ Tstamp Timeval
-+ Caplen uint32
-+ Datalen uint32
-+ Hdrlen uint16
-+ _ [2]byte
- }
-
- type Termios struct {
-@@ -461,3 +461,40 @@ const (
- AT_SYMLINK_FOLLOW = 0x40
- AT_SYMLINK_NOFOLLOW = 0x20
- )
-+
-+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 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
-+ Tickadj int32
-+ Stathz int32
-+ Profhz int32
-+}
-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 f2881fd1..21999e4b 100644
---- a/vendor/golang.org/x/sys/unix/ztypes_darwin_arm64.go
-+++ b/vendor/golang.org/x/sys/unix/ztypes_darwin_arm64.go
-@@ -1,15 +1,16 @@
-+// cgo -godefs types_darwin.go | go run mkpost.go
-+// Code generated by the command above; see README.md. DO NOT EDIT.
-+
- // +build arm64,darwin
--// Created by cgo -godefs - DO NOT EDIT
--// cgo -godefs types_darwin.go
-
- package unix
-
- const (
-- sizeofPtr = 0x8
-- sizeofShort = 0x2
-- sizeofInt = 0x4
-- sizeofLong = 0x8
-- sizeofLongLong = 0x8
-+ SizeofPtr = 0x8
-+ SizeofShort = 0x2
-+ SizeofInt = 0x4
-+ SizeofLong = 0x8
-+ SizeofLongLong = 0x8
- )
-
- type (
-@@ -25,9 +26,9 @@ type Timespec struct {
- }
-
- type Timeval struct {
-- Sec int64
-- Usec int32
-- Pad_cgo_0 [4]byte
-+ Sec int64
-+ Usec int32
-+ _ [4]byte
- }
-
- type Timeval32 struct {
-@@ -62,25 +63,25 @@ type Rlimit struct {
- type _Gid_t uint32
-
- type Stat_t struct {
-- Dev int32
-- Mode uint16
-- Nlink uint16
-- Ino uint64
-- Uid uint32
-- Gid uint32
-- Rdev int32
-- Pad_cgo_0 [4]byte
-- Atimespec Timespec
-- Mtimespec Timespec
-- Ctimespec Timespec
-- Birthtimespec Timespec
-- Size int64
-- Blocks int64
-- Blksize int32
-- Flags uint32
-- Gen uint32
-- Lspare int32
-- Qspare [2]int64
-+ Dev int32
-+ Mode uint16
-+ Nlink uint16
-+ Ino uint64
-+ Uid uint32
-+ Gid uint32
-+ Rdev int32
-+ _ [4]byte
-+ Atim Timespec
-+ Mtim Timespec
-+ Ctim Timespec
-+ Btim Timespec
-+ Size int64
-+ Blocks int64
-+ Blksize int32
-+ Flags uint32
-+ Gen uint32
-+ Lspare int32
-+ Qspare [2]int64
- }
-
- type Statfs_t struct {
-@@ -119,9 +120,9 @@ type Fstore_t struct {
- }
-
- type Radvisory_t struct {
-- Offset int64
-- Count int32
-- Pad_cgo_0 [4]byte
-+ Offset int64
-+ Count int32
-+ _ [4]byte
- }
-
- type Fbootstraptransfer_t struct {
-@@ -131,9 +132,9 @@ type Fbootstraptransfer_t struct {
- }
-
- type Log2phys_t struct {
-- Flags uint32
-- Pad_cgo_0 [8]byte
-- Pad_cgo_1 [8]byte
-+ Flags uint32
-+ _ [8]byte
-+ _ [8]byte
- }
-
- type Fsid struct {
-@@ -141,13 +142,13 @@ type Fsid struct {
- }
-
- type Dirent struct {
-- Ino uint64
-- Seekoff uint64
-- Reclen uint16
-- Namlen uint16
-- Type uint8
-- Name [1024]int8
-- Pad_cgo_0 [3]byte
-+ Ino uint64
-+ Seekoff uint64
-+ Reclen uint16
-+ Namlen uint16
-+ Type uint8
-+ Name [1024]int8
-+ _ [3]byte
- }
-
- type RawSockaddrInet4 struct {
-@@ -220,10 +221,10 @@ type IPv6Mreq struct {
- type Msghdr struct {
- Name *byte
- Namelen uint32
-- Pad_cgo_0 [4]byte
-+ _ [4]byte
- Iov *Iovec
- Iovlen int32
-- Pad_cgo_1 [4]byte
-+ _ [4]byte
- Control *byte
- Controllen uint32
- Flags int32
-@@ -302,14 +303,14 @@ const (
- )
-
- type IfMsghdr struct {
-- Msglen uint16
-- Version uint8
-- Type uint8
-- Addrs int32
-- Flags int32
-- Index uint16
-- Pad_cgo_0 [2]byte
-- Data IfData
-+ Msglen uint16
-+ Version uint8
-+ Type uint8
-+ Addrs int32
-+ Flags int32
-+ Index uint16
-+ _ [2]byte
-+ Data IfData
- }
-
- type IfData struct {
-@@ -345,51 +346,51 @@ type IfData struct {
- }
-
- type IfaMsghdr struct {
-- Msglen uint16
-- Version uint8
-- Type uint8
-- Addrs int32
-- Flags int32
-- Index uint16
-- Pad_cgo_0 [2]byte
-- Metric int32
-+ Msglen uint16
-+ Version uint8
-+ Type uint8
-+ Addrs int32
-+ Flags int32
-+ Index uint16
-+ _ [2]byte
-+ Metric int32
- }
-
- type IfmaMsghdr struct {
-- Msglen uint16
-- Version uint8
-- Type uint8
-- Addrs int32
-- Flags int32
-- Index uint16
-- Pad_cgo_0 [2]byte
-+ Msglen uint16
-+ Version uint8
-+ Type uint8
-+ Addrs int32
-+ Flags int32
-+ Index uint16
-+ _ [2]byte
- }
-
- type IfmaMsghdr2 struct {
-- Msglen uint16
-- Version uint8
-- Type uint8
-- Addrs int32
-- Flags int32
-- Index uint16
-- Pad_cgo_0 [2]byte
-- Refcount int32
-+ Msglen uint16
-+ Version uint8
-+ Type uint8
-+ Addrs int32
-+ Flags int32
-+ Index uint16
-+ _ [2]byte
-+ Refcount int32
- }
-
- type RtMsghdr struct {
-- Msglen uint16
-- Version uint8
-- Type uint8
-- Index uint16
-- Pad_cgo_0 [2]byte
-- Flags int32
-- Addrs int32
-- Pid int32
-- Seq int32
-- Errno int32
-- Use int32
-- Inits uint32
-- Rmx RtMetrics
-+ Msglen uint16
-+ Version uint8
-+ Type uint8
-+ Index uint16
-+ _ [2]byte
-+ Flags int32
-+ Addrs int32
-+ Pid int32
-+ Seq int32
-+ Errno int32
-+ Use int32
-+ Inits uint32
-+ Rmx RtMetrics
- }
-
- type RtMetrics struct {
-@@ -425,9 +426,9 @@ type BpfStat struct {
- }
-
- type BpfProgram struct {
-- Len uint32
-- Pad_cgo_0 [4]byte
-- Insns *BpfInsn
-+ Len uint32
-+ _ [4]byte
-+ Insns *BpfInsn
- }
-
- type BpfInsn struct {
-@@ -438,22 +439,22 @@ type BpfInsn struct {
- }
-
- type BpfHdr struct {
-- Tstamp Timeval32
-- Caplen uint32
-- Datalen uint32
-- Hdrlen uint16
-- Pad_cgo_0 [2]byte
-+ Tstamp Timeval32
-+ Caplen uint32
-+ Datalen uint32
-+ Hdrlen uint16
-+ _ [2]byte
- }
-
- type Termios struct {
-- Iflag uint64
-- Oflag uint64
-- Cflag uint64
-- Lflag uint64
-- Cc [20]uint8
-- Pad_cgo_0 [4]byte
-- Ispeed uint64
-- Ospeed uint64
-+ Iflag uint64
-+ Oflag uint64
-+ Cflag uint64
-+ Lflag uint64
-+ Cc [20]uint8
-+ _ [4]byte
-+ Ispeed uint64
-+ Ospeed uint64
- }
-
- type Winsize struct {
-@@ -469,3 +470,40 @@ const (
- AT_SYMLINK_FOLLOW = 0x40
- AT_SYMLINK_NOFOLLOW = 0x20
- )
-+
-+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 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
-+ Tickadj int32
-+ Stathz int32
-+ Profhz int32
-+}
-diff --git a/vendor/golang.org/x/sys/unix/ztypes_dragonfly_amd64.go b/vendor/golang.org/x/sys/unix/ztypes_dragonfly_amd64.go
-index 67c6bf88..71ea1d6d 100644
---- a/vendor/golang.org/x/sys/unix/ztypes_dragonfly_amd64.go
-+++ b/vendor/golang.org/x/sys/unix/ztypes_dragonfly_amd64.go
-@@ -6,11 +6,11 @@
- package unix
-
- const (
-- sizeofPtr = 0x8
-- sizeofShort = 0x2
-- sizeofInt = 0x4
-- sizeofLong = 0x8
-- sizeofLongLong = 0x8
-+ SizeofPtr = 0x8
-+ SizeofShort = 0x2
-+ SizeofInt = 0x4
-+ SizeofLong = 0x8
-+ SizeofLongLong = 0x8
- )
-
- type (
-@@ -56,43 +56,26 @@ type Rlimit struct {
-
- type _Gid_t uint32
-
--const (
-- S_IFMT = 0xf000
-- S_IFIFO = 0x1000
-- S_IFCHR = 0x2000
-- S_IFDIR = 0x4000
-- S_IFBLK = 0x6000
-- S_IFREG = 0x8000
-- S_IFLNK = 0xa000
-- S_IFSOCK = 0xc000
-- S_ISUID = 0x800
-- S_ISGID = 0x400
-- S_ISVTX = 0x200
-- S_IRUSR = 0x100
-- S_IWUSR = 0x80
-- S_IXUSR = 0x40
--)
--
- type Stat_t struct {
-- Ino uint64
-- Nlink uint32
-- Dev uint32
-- Mode uint16
-- Padding1 uint16
-- Uid uint32
-- Gid uint32
-- Rdev uint32
-- Atim Timespec
-- Mtim Timespec
-- Ctim Timespec
-- Size int64
-- Blocks int64
-- Blksize uint32
-- Flags uint32
-- Gen uint32
-- Lspare int32
-- Qspare1 int64
-- Qspare2 int64
-+ Ino uint64
-+ Nlink uint32
-+ Dev uint32
-+ Mode uint16
-+ _1 uint16
-+ Uid uint32
-+ Gid uint32
-+ Rdev uint32
-+ Atim Timespec
-+ Mtim Timespec
-+ Ctim Timespec
-+ Size int64
-+ Blocks int64
-+ Blksize uint32
-+ Flags uint32
-+ Gen uint32
-+ Lspare int32
-+ Qspare1 int64
-+ Qspare2 int64
- }
-
- type Statfs_t struct {
-@@ -108,7 +91,7 @@ type Statfs_t struct {
- Owner uint32
- Type int32
- Flags int32
-- Pad_cgo_0 [4]byte
-+ _ [4]byte
- Syncwrites int64
- Asyncwrites int64
- Fstypename [16]int8
-@@ -118,7 +101,7 @@ type Statfs_t struct {
- Spares1 int16
- Mntfromname [80]int8
- Spares2 int16
-- Pad_cgo_1 [4]byte
-+ _ [4]byte
- Spare [2]int64
- }
-
-@@ -143,6 +126,10 @@ type Fsid struct {
- Val [2]int32
- }
-
-+const (
-+ PathMax = 0x400
-+)
-+
- type RawSockaddrInet4 struct {
- Len uint8
- Family uint8
-@@ -215,10 +202,10 @@ type IPv6Mreq struct {
- type Msghdr struct {
- Name *byte
- Namelen uint32
-- Pad_cgo_0 [4]byte
-+ _ [4]byte
- Iov *Iovec
- Iovlen int32
-- Pad_cgo_1 [4]byte
-+ _ [4]byte
- Control *byte
- Controllen uint32
- Flags int32
-@@ -290,14 +277,14 @@ const (
- )
-
- type IfMsghdr struct {
-- Msglen uint16
-- Version uint8
-- Type uint8
-- Addrs int32
-- Flags int32
-- Index uint16
-- Pad_cgo_0 [2]byte
-- Data IfData
-+ Msglen uint16
-+ Version uint8
-+ Type uint8
-+ Addrs int32
-+ Flags int32
-+ Index uint16
-+ _ [2]byte
-+ Data IfData
- }
-
- type IfData struct {
-@@ -307,7 +294,7 @@ type IfData struct {
- Hdrlen uint8
- Recvquota uint8
- Xmitquota uint8
-- Pad_cgo_0 [2]byte
-+ _ [2]byte
- Mtu uint64
- Metric uint64
- Link_state uint64
-@@ -329,24 +316,24 @@ type IfData struct {
- }
-
- type IfaMsghdr struct {
-- Msglen uint16
-- Version uint8
-- Type uint8
-- Addrs int32
-- Flags int32
-- Index uint16
-- Pad_cgo_0 [2]byte
-- Metric int32
-+ Msglen uint16
-+ Version uint8
-+ Type uint8
-+ Addrs int32
-+ Flags int32
-+ Index uint16
-+ _ [2]byte
-+ Metric int32
- }
-
- type IfmaMsghdr struct {
-- Msglen uint16
-- Version uint8
-- Type uint8
-- Addrs int32
-- Flags int32
-- Index uint16
-- Pad_cgo_0 [2]byte
-+ Msglen uint16
-+ Version uint8
-+ Type uint8
-+ Addrs int32
-+ Flags int32
-+ Index uint16
-+ _ [2]byte
- }
-
- type IfAnnounceMsghdr struct {
-@@ -359,19 +346,19 @@ type IfAnnounceMsghdr struct {
- }
-
- type RtMsghdr struct {
-- Msglen uint16
-- Version uint8
-- Type uint8
-- Index uint16
-- Pad_cgo_0 [2]byte
-- Flags int32
-- Addrs int32
-- Pid int32
-- Seq int32
-- Errno int32
-- Use int32
-- Inits uint64
-- Rmx RtMetrics
-+ Msglen uint16
-+ Version uint8
-+ Type uint8
-+ Index uint16
-+ _ [2]byte
-+ Flags int32
-+ Addrs int32
-+ Pid int32
-+ Seq int32
-+ Errno int32
-+ Use int32
-+ Inits uint64
-+ Rmx RtMetrics
- }
-
- type RtMetrics struct {
-@@ -387,7 +374,7 @@ type RtMetrics struct {
- Hopcount uint64
- Mssopt uint16
- Pad uint16
-- Pad_cgo_0 [4]byte
-+ _ [4]byte
- Msl uint64
- Iwmaxsegs uint64
- Iwcapsegs uint64
-@@ -412,9 +399,9 @@ type BpfStat struct {
- }
-
- type BpfProgram struct {
-- Len uint32
-- Pad_cgo_0 [4]byte
-- Insns *BpfInsn
-+ Len uint32
-+ _ [4]byte
-+ Insns *BpfInsn
- }
-
- type BpfInsn struct {
-@@ -425,11 +412,11 @@ type BpfInsn struct {
- }
-
- type BpfHdr struct {
-- Tstamp Timeval
-- Caplen uint32
-- Datalen uint32
-- Hdrlen uint16
-- Pad_cgo_0 [6]byte
-+ Tstamp Timeval
-+ Caplen uint32
-+ Datalen uint32
-+ Hdrlen uint16
-+ _ [6]byte
- }
-
- type Termios struct {
-@@ -442,7 +429,51 @@ type Termios struct {
- Ospeed uint32
- }
-
-+type Winsize struct {
-+ Row uint16
-+ Col uint16
-+ Xpixel uint16
-+ Ypixel uint16
-+}
-+
- const (
- AT_FDCWD = 0xfffafdcd
- AT_SYMLINK_NOFOLLOW = 0x1
- )
-+
-+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 Utsname struct {
-+ Sysname [32]byte
-+ Nodename [32]byte
-+ Release [32]byte
-+ Version [32]byte
-+ Machine [32]byte
-+}
-+
-+const SizeofClockinfo = 0x14
-+
-+type Clockinfo struct {
-+ Hz int32
-+ Tick int32
-+ Tickadj int32
-+ Stathz int32
-+ Profhz int32
-+}
-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 5b28bcbb..2a3ec615 100644
---- a/vendor/golang.org/x/sys/unix/ztypes_freebsd_386.go
-+++ b/vendor/golang.org/x/sys/unix/ztypes_freebsd_386.go
-@@ -6,11 +6,11 @@
- package unix
-
- const (
-- sizeofPtr = 0x4
-- sizeofShort = 0x2
-- sizeofInt = 0x4
-- sizeofLong = 0x4
-- sizeofLongLong = 0x8
-+ SizeofPtr = 0x4
-+ SizeofShort = 0x2
-+ SizeofInt = 0x4
-+ SizeofLong = 0x4
-+ SizeofLongLong = 0x8
- )
-
- type (
-@@ -57,41 +57,55 @@ type Rlimit struct {
- type _Gid_t uint32
-
- const (
-- S_IFMT = 0xf000
-- S_IFIFO = 0x1000
-- S_IFCHR = 0x2000
-- S_IFDIR = 0x4000
-- S_IFBLK = 0x6000
-- S_IFREG = 0x8000
-- S_IFLNK = 0xa000
-- S_IFSOCK = 0xc000
-- S_ISUID = 0x800
-- S_ISGID = 0x400
-- S_ISVTX = 0x200
-- S_IRUSR = 0x100
-- S_IWUSR = 0x80
-- S_IXUSR = 0x40
-+ _statfsVersion = 0x20140518
-+ _dirblksiz = 0x400
- )
-
- type Stat_t struct {
-- Dev uint32
-- Ino uint32
-- Mode uint16
-- Nlink uint16
-- Uid uint32
-- Gid uint32
-- Rdev uint32
-- Atimespec Timespec
-- Mtimespec Timespec
-- Ctimespec Timespec
-- Size int64
-- Blocks int64
-- Blksize int32
-- Flags uint32
-- Gen uint32
-- Lspare int32
-- Birthtimespec Timespec
-- Pad_cgo_0 [8]byte
-+ Dev uint64
-+ Ino uint64
-+ Nlink uint64
-+ Mode uint16
-+ _0 int16
-+ Uid uint32
-+ Gid uint32
-+ _1 int32
-+ Rdev uint64
-+ _ int32
-+ Atim Timespec
-+ _ int32
-+ Mtim Timespec
-+ _ int32
-+ Ctim Timespec
-+ _ int32
-+ Btim Timespec
-+ Size int64
-+ Blocks int64
-+ Blksize int32
-+ Flags uint32
-+ Gen uint64
-+ 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 {
-@@ -114,9 +128,34 @@ type Statfs_t struct {
- Owner uint32
- Fsid Fsid
- Charspare [80]int8
-- Fstypename [16]int8
-- Mntfromname [88]int8
-- Mntonname [88]int8
-+ Fstypename [16]byte
-+ Mntfromname [1024]byte
-+ 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 {
-@@ -129,6 +168,17 @@ type Flock_t struct {
- }
-
- type Dirent struct {
-+ Fileno uint64
-+ Off int64
-+ Reclen uint16
-+ Type uint8
-+ Pad0 uint8
-+ Namlen uint16
-+ Pad1 uint16
-+ Name [256]int8
-+}
-+
-+type dirent_freebsd11 struct {
- Fileno uint32
- Reclen uint16
- Type uint8
-@@ -140,6 +190,10 @@ type Fsid struct {
- Val [2]int32
- }
-
-+const (
-+ PathMax = 0x400
-+)
-+
- const (
- FADV_NORMAL = 0x0
- FADV_RANDOM = 0x1
-@@ -270,11 +324,108 @@ const (
- )
-
- const (
-- PTRACE_TRACEME = 0x0
-- PTRACE_CONT = 0x7
-- PTRACE_KILL = 0x8
-+ 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
- )
-
-+type PtraceLwpInfoStruct struct {
-+ Lwpid int32
-+ Event int32
-+ Flags int32
-+ Sigmask Sigset_t
-+ Siglist Sigset_t
-+ Siginfo __Siginfo
-+ 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 [4]byte
-+ _ [32]byte
-+}
-+
-+type Sigset_t struct {
-+ Val [4]uint32
-+}
-+
-+type Reg struct {
-+ Fs uint32
-+ Es uint32
-+ Ds uint32
-+ Edi uint32
-+ Esi uint32
-+ Ebp uint32
-+ Isp uint32
-+ Ebx uint32
-+ Edx uint32
-+ Ecx uint32
-+ Eax uint32
-+ Trapno uint32
-+ Err uint32
-+ Eip uint32
-+ Cs uint32
-+ Eflags uint32
-+ Esp uint32
-+ Ss uint32
-+ Gs uint32
-+}
-+
-+type FpReg struct {
-+ Env [7]uint32
-+ Acc [8][10]uint8
-+ Ex_sw uint32
-+ Pad [64]uint8
-+}
-+
-+type PtraceIoDesc struct {
-+ Op int32
-+ Offs *byte
-+ Addr *byte
-+ Len uint32
-+}
-+
- type Kevent_t struct {
- Ident uint32
- Filter int16
-@@ -285,7 +436,7 @@ type Kevent_t struct {
- }
-
- type FdSet struct {
-- X__fds_bits [32]uint32
-+ Bits [32]uint32
- }
-
- const (
-@@ -301,53 +452,52 @@ const (
- )
-
- type ifMsghdr struct {
-- Msglen uint16
-- Version uint8
-- Type uint8
-- Addrs int32
-- Flags int32
-- Index uint16
-- Pad_cgo_0 [2]byte
-- Data ifData
-+ 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
-- Pad_cgo_0 [2]byte
-- Data IfData
-+ 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
-- X__ifi_epoch [8]byte
-- X__ifi_lastchange [16]byte
-+ 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 {
-@@ -379,24 +529,24 @@ type IfData struct {
- }
-
- type IfaMsghdr struct {
-- Msglen uint16
-- Version uint8
-- Type uint8
-- Addrs int32
-- Flags int32
-- Index uint16
-- Pad_cgo_0 [2]byte
-- Metric int32
-+ 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
-- Pad_cgo_0 [2]byte
-+ Msglen uint16
-+ Version uint8
-+ Type uint8
-+ Addrs int32
-+ Flags int32
-+ Index uint16
-+ _ uint16
- }
-
- type IfAnnounceMsghdr struct {
-@@ -409,19 +559,19 @@ type IfAnnounceMsghdr struct {
- }
-
- type RtMsghdr struct {
-- Msglen uint16
-- Version uint8
-- Type uint8
-- Index uint16
-- Pad_cgo_0 [2]byte
-- Flags int32
-- Addrs int32
-- Pid int32
-- Seq int32
-- Errno int32
-- Fmask int32
-- Inits uint32
-- Rmx RtMetrics
-+ Msglen uint16
-+ Version uint8
-+ Type uint8
-+ Index uint16
-+ _ uint16
-+ Flags int32
-+ Addrs int32
-+ Pid int32
-+ Seq int32
-+ Errno int32
-+ Fmask int32
-+ Inits uint32
-+ Rmx RtMetrics
- }
-
- type RtMetrics struct {
-@@ -478,18 +628,18 @@ type BpfInsn struct {
- }
-
- type BpfHdr struct {
-- Tstamp Timeval
-- Caplen uint32
-- Datalen uint32
-- Hdrlen uint16
-- Pad_cgo_0 [2]byte
-+ Tstamp Timeval
-+ Caplen uint32
-+ Datalen uint32
-+ Hdrlen uint16
-+ _ [2]byte
- }
-
- type BpfZbufHeader struct {
- Kernel_gen uint32
- Kernel_len uint32
- User_gen uint32
-- X_bzh_pad [5]uint32
-+ _ [5]uint32
- }
-
- type Termios struct {
-@@ -516,6 +666,44 @@ const (
- AT_SYMLINK_NOFOLLOW = 0x200
- )
-
-+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_freebsd_amd64.go b/vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go
-index c65d89e4..e11e9549 100644
---- a/vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go
-+++ b/vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go
-@@ -6,11 +6,11 @@
- package unix
-
- const (
-- sizeofPtr = 0x8
-- sizeofShort = 0x2
-- sizeofInt = 0x4
-- sizeofLong = 0x8
-- sizeofLongLong = 0x8
-+ SizeofPtr = 0x8
-+ SizeofShort = 0x2
-+ SizeofInt = 0x4
-+ SizeofLong = 0x8
-+ SizeofLongLong = 0x8
- )
-
- type (
-@@ -57,40 +57,50 @@ type Rlimit struct {
- type _Gid_t uint32
-
- const (
-- S_IFMT = 0xf000
-- S_IFIFO = 0x1000
-- S_IFCHR = 0x2000
-- S_IFDIR = 0x4000
-- S_IFBLK = 0x6000
-- S_IFREG = 0x8000
-- S_IFLNK = 0xa000
-- S_IFSOCK = 0xc000
-- S_ISUID = 0x800
-- S_ISGID = 0x400
-- S_ISVTX = 0x200
-- S_IRUSR = 0x100
-- S_IWUSR = 0x80
-- S_IXUSR = 0x40
-+ _statfsVersion = 0x20140518
-+ _dirblksiz = 0x400
- )
-
- type Stat_t struct {
-- Dev uint32
-- Ino uint32
-- Mode uint16
-- Nlink uint16
-- Uid uint32
-- Gid uint32
-- Rdev uint32
-- Atimespec Timespec
-- Mtimespec Timespec
-- Ctimespec Timespec
-- Size int64
-- Blocks int64
-- Blksize int32
-- Flags uint32
-- Gen uint32
-- Lspare int32
-- Birthtimespec Timespec
-+ 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 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 {
-@@ -113,22 +123,58 @@ type Statfs_t struct {
- Owner uint32
- Fsid Fsid
- Charspare [80]int8
-- Fstypename [16]int8
-- Mntfromname [88]int8
-- Mntonname [88]int8
-+ Fstypename [16]byte
-+ Mntfromname [1024]byte
-+ 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
-- Pid int32
-- Type int16
-- Whence int16
-- Sysid int32
-- Pad_cgo_0 [4]byte
-+ 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 dirent_freebsd11 struct {
- Fileno uint32
- Reclen uint16
- Type uint8
-@@ -140,6 +186,10 @@ type Fsid struct {
- Val [2]int32
- }
-
-+const (
-+ PathMax = 0x400
-+)
-+
- const (
- FADV_NORMAL = 0x0
- FADV_RANDOM = 0x1
-@@ -225,10 +275,8 @@ type IPv6Mreq struct {
- type Msghdr struct {
- Name *byte
- Namelen uint32
-- Pad_cgo_0 [4]byte
- Iov *Iovec
- Iovlen int32
-- Pad_cgo_1 [4]byte
- Control *byte
- Controllen uint32
- Flags int32
-@@ -272,11 +320,115 @@ const (
- )
-
- const (
-- PTRACE_TRACEME = 0x0
-- PTRACE_CONT = 0x7
-- PTRACE_KILL = 0x8
-+ 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
- )
-
-+type PtraceLwpInfoStruct struct {
-+ Lwpid int32
-+ Event int32
-+ Flags int32
-+ Sigmask Sigset_t
-+ Siglist Sigset_t
-+ Siginfo __Siginfo
-+ 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 Sigset_t struct {
-+ Val [4]uint32
-+}
-+
-+type Reg struct {
-+ R15 int64
-+ R14 int64
-+ R13 int64
-+ R12 int64
-+ R11 int64
-+ R10 int64
-+ R9 int64
-+ R8 int64
-+ Rdi int64
-+ Rsi int64
-+ Rbp int64
-+ Rbx int64
-+ Rdx int64
-+ Rcx int64
-+ Rax int64
-+ Trapno uint32
-+ Fs uint16
-+ Gs uint16
-+ Err uint32
-+ Es uint16
-+ Ds uint16
-+ Rip int64
-+ Cs int64
-+ Rflags int64
-+ Rsp int64
-+ Ss int64
-+}
-+
-+type FpReg struct {
-+ Env [4]uint64
-+ Acc [8][16]uint8
-+ Xacc [16][16]uint8
-+ Spare [12]uint64
-+}
-+
-+type PtraceIoDesc struct {
-+ Op int32
-+ Offs *byte
-+ Addr *byte
-+ Len uint64
-+}
-+
- type Kevent_t struct {
- Ident uint64
- Filter int16
-@@ -287,7 +439,7 @@ type Kevent_t struct {
- }
-
- type FdSet struct {
-- X__fds_bits [16]uint64
-+ Bits [16]uint64
- }
-
- const (
-@@ -303,53 +455,52 @@ const (
- )
-
- type ifMsghdr struct {
-- Msglen uint16
-- Version uint8
-- Type uint8
-- Addrs int32
-- Flags int32
-- Index uint16
-- Pad_cgo_0 [2]byte
-- Data ifData
-+ 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
-- Pad_cgo_0 [2]byte
-- Data IfData
-+ 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
-- X__ifi_epoch [8]byte
-- X__ifi_lastchange [16]byte
-+ 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 {
-@@ -381,24 +532,24 @@ type IfData struct {
- }
-
- type IfaMsghdr struct {
-- Msglen uint16
-- Version uint8
-- Type uint8
-- Addrs int32
-- Flags int32
-- Index uint16
-- Pad_cgo_0 [2]byte
-- Metric int32
-+ 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
-- Pad_cgo_0 [2]byte
-+ Msglen uint16
-+ Version uint8
-+ Type uint8
-+ Addrs int32
-+ Flags int32
-+ Index uint16
-+ _ uint16
- }
-
- type IfAnnounceMsghdr struct {
-@@ -411,19 +562,19 @@ type IfAnnounceMsghdr struct {
- }
-
- type RtMsghdr struct {
-- Msglen uint16
-- Version uint8
-- Type uint8
-- Index uint16
-- Pad_cgo_0 [2]byte
-- Flags int32
-- Addrs int32
-- Pid int32
-- Seq int32
-- Errno int32
-- Fmask int32
-- Inits uint64
-- Rmx RtMetrics
-+ 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 {
-@@ -468,9 +619,8 @@ type BpfZbuf struct {
- }
-
- type BpfProgram struct {
-- Len uint32
-- Pad_cgo_0 [4]byte
-- Insns *BpfInsn
-+ Len uint32
-+ Insns *BpfInsn
- }
-
- type BpfInsn struct {
-@@ -481,18 +631,18 @@ type BpfInsn struct {
- }
-
- type BpfHdr struct {
-- Tstamp Timeval
-- Caplen uint32
-- Datalen uint32
-- Hdrlen uint16
-- Pad_cgo_0 [6]byte
-+ Tstamp Timeval
-+ Caplen uint32
-+ Datalen uint32
-+ Hdrlen uint16
-+ _ [6]byte
- }
-
- type BpfZbufHeader struct {
- Kernel_gen uint32
- Kernel_len uint32
- User_gen uint32
-- X_bzh_pad [5]uint32
-+ _ [5]uint32
- }
-
- type Termios struct {
-@@ -519,6 +669,44 @@ const (
- AT_SYMLINK_NOFOLLOW = 0x200
- )
-
-+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_freebsd_arm.go b/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm.go
-index 42c0a502..6f79227d 100644
---- a/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm.go
-+++ b/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm.go
-@@ -6,11 +6,11 @@
- package unix
-
- const (
-- sizeofPtr = 0x4
-- sizeofShort = 0x2
-- sizeofInt = 0x4
-- sizeofLong = 0x4
-- sizeofLongLong = 0x8
-+ SizeofPtr = 0x4
-+ SizeofShort = 0x2
-+ SizeofInt = 0x4
-+ SizeofLong = 0x4
-+ SizeofLongLong = 0x8
- )
-
- type (
-@@ -21,15 +21,15 @@ type (
- )
-
- type Timespec struct {
-- Sec int64
-- Nsec int32
-- Pad_cgo_0 [4]byte
-+ Sec int64
-+ Nsec int32
-+ _ [4]byte
- }
-
- type Timeval struct {
-- Sec int64
-- Usec int32
-- Pad_cgo_0 [4]byte
-+ Sec int64
-+ Usec int32
-+ _ [4]byte
- }
-
- type Rusage struct {
-@@ -59,43 +59,78 @@ type Rlimit struct {
- type _Gid_t uint32
-
- const (
-- S_IFMT = 0xf000
-- S_IFIFO = 0x1000
-- S_IFCHR = 0x2000
-- S_IFDIR = 0x4000
-- S_IFBLK = 0x6000
-- S_IFREG = 0x8000
-- S_IFLNK = 0xa000
-- S_IFSOCK = 0xc000
-- S_ISUID = 0x800
-- S_ISGID = 0x400
-- S_ISVTX = 0x200
-- S_IRUSR = 0x100
-- S_IWUSR = 0x80
-- S_IXUSR = 0x40
-+ _statfsVersion = 0x20140518
-+ _dirblksiz = 0x400
- )
-
- type Stat_t struct {
-- Dev uint32
-- Ino uint32
-- Mode uint16
-- Nlink uint16
-- Uid uint32
-- Gid uint32
-- Rdev uint32
-- Atimespec Timespec
-- Mtimespec Timespec
-- Ctimespec Timespec
-- Size int64
-- Blocks int64
-- Blksize int32
-- Flags uint32
-- Gen uint32
-- Lspare int32
-- Birthtimespec Timespec
-+ 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 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
-+ Flags uint64
-+ Bsize uint64
-+ Iosize uint64
-+ Blocks uint64
-+ Bfree uint64
-+ Bavail int64
-+ Files uint64
-+ Ffree int64
-+ Syncwrites uint64
-+ Asyncwrites uint64
-+ Syncreads uint64
-+ Asyncreads uint64
-+ Spare [10]uint64
-+ Namemax uint32
-+ Owner uint32
-+ Fsid Fsid
-+ Charspare [80]int8
-+ Fstypename [16]int8
-+ Mntfromname [1024]int8
-+ Mntonname [1024]int8
-+}
-+
-+type statfs_freebsd11_t struct {
- Version uint32
- Type uint32
- Flags uint64
-@@ -121,16 +156,27 @@ type Statfs_t struct {
- }
-
- type Flock_t struct {
-- Start int64
-- Len int64
-- Pid int32
-- Type int16
-- Whence int16
-- Sysid int32
-- Pad_cgo_0 [4]byte
-+ 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 dirent_freebsd11 struct {
- Fileno uint32
- Reclen uint16
- Type uint8
-@@ -142,6 +188,10 @@ type Fsid struct {
- Val [2]int32
- }
-
-+const (
-+ PathMax = 0x400
-+)
-+
- const (
- FADV_NORMAL = 0x0
- FADV_RANDOM = 0x1
-@@ -272,11 +322,92 @@ const (
- )
-
- const (
-- PTRACE_TRACEME = 0x0
-- PTRACE_CONT = 0x7
-- PTRACE_KILL = 0x8
-+ 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
-+)
-+
-+type PtraceLwpInfoStruct struct {
-+ Lwpid int32
-+ Event int32
-+ Flags int32
-+ Sigmask Sigset_t
-+ Siglist Sigset_t
-+ Siginfo __Siginfo
-+ 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 [4]byte
-+ X_reason [32]byte
-+}
-+
-+type Sigset_t struct {
-+ Val [4]uint32
-+}
-+
-+type Reg struct {
-+ R [13]uint32
-+ R_sp uint32
-+ R_lr uint32
-+ R_pc uint32
-+ R_cpsr uint32
-+}
-+
-+type FpReg struct {
-+ Fpr_fpsr uint32
-+ Fpr [8][3]uint32
-+}
-+
-+type PtraceIoDesc struct {
-+ Op int32
-+ Offs *byte
-+ Addr *byte
-+ Len uint32
-+}
-+
- type Kevent_t struct {
- Ident uint32
- Filter int16
-@@ -287,7 +418,7 @@ type Kevent_t struct {
- }
-
- type FdSet struct {
-- X__fds_bits [32]uint32
-+ Bits [32]uint32
- }
-
- const (
-@@ -303,53 +434,53 @@ const (
- )
-
- type ifMsghdr struct {
-- Msglen uint16
-- Version uint8
-- Type uint8
-- Addrs int32
-- Flags int32
-- Index uint16
-- Pad_cgo_0 [2]byte
-- Data ifData
-+ Msglen uint16
-+ Version uint8
-+ Type uint8
-+ Addrs int32
-+ Flags int32
-+ Index uint16
-+ _ [2]byte
-+ Data ifData
- }
-
- type IfMsghdr struct {
-- Msglen uint16
-- Version uint8
-- Type uint8
-- Addrs int32
-- Flags int32
-- Index uint16
-- Pad_cgo_0 [2]byte
-- Data IfData
-+ Msglen uint16
-+ Version uint8
-+ Type uint8
-+ Addrs int32
-+ Flags int32
-+ Index uint16
-+ _ [2]byte
-+ 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
-- X__ifi_epoch [8]byte
-- X__ifi_lastchange [16]byte
-+ 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 {
-@@ -376,30 +507,30 @@ type IfData struct {
- Iqdrops uint32
- Noproto uint32
- Hwassist uint32
-- Pad_cgo_0 [4]byte
-+ _ [4]byte
- Epoch int64
- Lastchange Timeval
- }
-
- type IfaMsghdr struct {
-- Msglen uint16
-- Version uint8
-- Type uint8
-- Addrs int32
-- Flags int32
-- Index uint16
-- Pad_cgo_0 [2]byte
-- Metric int32
-+ Msglen uint16
-+ Version uint8
-+ Type uint8
-+ Addrs int32
-+ Flags int32
-+ Index uint16
-+ _ [2]byte
-+ Metric int32
- }
-
- type IfmaMsghdr struct {
-- Msglen uint16
-- Version uint8
-- Type uint8
-- Addrs int32
-- Flags int32
-- Index uint16
-- Pad_cgo_0 [2]byte
-+ Msglen uint16
-+ Version uint8
-+ Type uint8
-+ Addrs int32
-+ Flags int32
-+ Index uint16
-+ _ [2]byte
- }
-
- type IfAnnounceMsghdr struct {
-@@ -412,19 +543,19 @@ type IfAnnounceMsghdr struct {
- }
-
- type RtMsghdr struct {
-- Msglen uint16
-- Version uint8
-- Type uint8
-- Index uint16
-- Pad_cgo_0 [2]byte
-- Flags int32
-- Addrs int32
-- Pid int32
-- Seq int32
-- Errno int32
-- Fmask int32
-- Inits uint32
-- Rmx RtMetrics
-+ Msglen uint16
-+ Version uint8
-+ Type uint8
-+ Index uint16
-+ _ [2]byte
-+ Flags int32
-+ Addrs int32
-+ Pid int32
-+ Seq int32
-+ Errno int32
-+ Fmask int32
-+ Inits uint32
-+ Rmx RtMetrics
- }
-
- type RtMetrics struct {
-@@ -481,18 +612,18 @@ type BpfInsn struct {
- }
-
- type BpfHdr struct {
-- Tstamp Timeval
-- Caplen uint32
-- Datalen uint32
-- Hdrlen uint16
-- Pad_cgo_0 [6]byte
-+ Tstamp Timeval
-+ Caplen uint32
-+ Datalen uint32
-+ Hdrlen uint16
-+ _ [6]byte
- }
-
- type BpfZbufHeader struct {
- Kernel_gen uint32
- Kernel_len uint32
- User_gen uint32
-- X_bzh_pad [5]uint32
-+ _ [5]uint32
- }
-
- type Termios struct {
-@@ -519,6 +650,44 @@ const (
- AT_SYMLINK_NOFOLLOW = 0x200
- )
-
-+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_freebsd_amd64.go b/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm64.go
-similarity index 54%
-copy from vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go
-copy to vendor/golang.org/x/sys/unix/ztypes_freebsd_arm64.go
-index c65d89e4..c6fe1d09 100644
---- a/vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go
-+++ b/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm64.go
-@@ -1,16 +1,16 @@
--// cgo -godefs types_freebsd.go | go run mkpost.go
-+// cgo -godefs -- -fsigned-char types_freebsd.go | go run mkpost.go
- // Code generated by the command above; see README.md. DO NOT EDIT.
-
--// +build amd64,freebsd
-+// +build arm64,freebsd
-
- package unix
-
- const (
-- sizeofPtr = 0x8
-- sizeofShort = 0x2
-- sizeofInt = 0x4
-- sizeofLong = 0x8
-- sizeofLongLong = 0x8
-+ SizeofPtr = 0x8
-+ SizeofShort = 0x2
-+ SizeofInt = 0x4
-+ SizeofLong = 0x8
-+ SizeofLongLong = 0x8
- )
-
- type (
-@@ -57,40 +57,50 @@ type Rlimit struct {
- type _Gid_t uint32
-
- const (
-- S_IFMT = 0xf000
-- S_IFIFO = 0x1000
-- S_IFCHR = 0x2000
-- S_IFDIR = 0x4000
-- S_IFBLK = 0x6000
-- S_IFREG = 0x8000
-- S_IFLNK = 0xa000
-- S_IFSOCK = 0xc000
-- S_ISUID = 0x800
-- S_ISGID = 0x400
-- S_ISVTX = 0x200
-- S_IRUSR = 0x100
-- S_IWUSR = 0x80
-- S_IXUSR = 0x40
-+ _statfsVersion = 0x20140518
-+ _dirblksiz = 0x400
- )
-
- type Stat_t struct {
-- Dev uint32
-- Ino uint32
-- Mode uint16
-- Nlink uint16
-- Uid uint32
-- Gid uint32
-- Rdev uint32
-- Atimespec Timespec
-- Mtimespec Timespec
-- Ctimespec Timespec
-- Size int64
-- Blocks int64
-- Blksize int32
-- Flags uint32
-- Gen uint32
-- Lspare int32
-- Birthtimespec Timespec
-+ 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 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 {
-@@ -113,22 +123,58 @@ type Statfs_t struct {
- Owner uint32
- Fsid Fsid
- Charspare [80]int8
-- Fstypename [16]int8
-- Mntfromname [88]int8
-- Mntonname [88]int8
-+ Fstypename [16]byte
-+ Mntfromname [1024]byte
-+ 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
-- Pid int32
-- Type int16
-- Whence int16
-- Sysid int32
-- Pad_cgo_0 [4]byte
-+ 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 dirent_freebsd11 struct {
- Fileno uint32
- Reclen uint16
- Type uint8
-@@ -140,6 +186,10 @@ type Fsid struct {
- Val [2]int32
- }
-
-+const (
-+ PathMax = 0x400
-+)
-+
- const (
- FADV_NORMAL = 0x0
- FADV_RANDOM = 0x1
-@@ -225,10 +275,8 @@ type IPv6Mreq struct {
- type Msghdr struct {
- Name *byte
- Namelen uint32
-- Pad_cgo_0 [4]byte
- Iov *Iovec
- Iovlen int32
-- Pad_cgo_1 [4]byte
- Control *byte
- Controllen uint32
- Flags int32
-@@ -272,11 +320,93 @@ const (
- )
-
- const (
-- PTRACE_TRACEME = 0x0
-- PTRACE_CONT = 0x7
-- PTRACE_KILL = 0x8
-+ 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
- )
-
-+type PtraceLwpInfoStruct struct {
-+ Lwpid int32
-+ Event int32
-+ Flags int32
-+ Sigmask Sigset_t
-+ Siglist Sigset_t
-+ Siginfo __Siginfo
-+ 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 Sigset_t struct {
-+ Val [4]uint32
-+}
-+
-+type Reg struct {
-+ X [30]uint64
-+ Lr uint64
-+ Sp uint64
-+ Elr uint64
-+ Spsr uint32
-+ _ [4]byte
-+}
-+
-+type FpReg struct {
-+ Q [32][16]uint8
-+ Sr uint32
-+ Cr uint32
-+ _ [8]byte
-+}
-+
-+type PtraceIoDesc struct {
-+ Op int32
-+ Offs *byte
-+ Addr *byte
-+ Len uint64
-+}
-+
- type Kevent_t struct {
- Ident uint64
- Filter int16
-@@ -287,7 +417,7 @@ type Kevent_t struct {
- }
-
- type FdSet struct {
-- X__fds_bits [16]uint64
-+ Bits [16]uint64
- }
-
- const (
-@@ -303,53 +433,52 @@ const (
- )
-
- type ifMsghdr struct {
-- Msglen uint16
-- Version uint8
-- Type uint8
-- Addrs int32
-- Flags int32
-- Index uint16
-- Pad_cgo_0 [2]byte
-- Data ifData
-+ 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
-- Pad_cgo_0 [2]byte
-- Data IfData
-+ 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
-- X__ifi_epoch [8]byte
-- X__ifi_lastchange [16]byte
-+ 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 {
-@@ -381,24 +510,24 @@ type IfData struct {
- }
-
- type IfaMsghdr struct {
-- Msglen uint16
-- Version uint8
-- Type uint8
-- Addrs int32
-- Flags int32
-- Index uint16
-- Pad_cgo_0 [2]byte
-- Metric int32
-+ 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
-- Pad_cgo_0 [2]byte
-+ Msglen uint16
-+ Version uint8
-+ Type uint8
-+ Addrs int32
-+ Flags int32
-+ Index uint16
-+ _ uint16
- }
-
- type IfAnnounceMsghdr struct {
-@@ -411,19 +540,19 @@ type IfAnnounceMsghdr struct {
- }
-
- type RtMsghdr struct {
-- Msglen uint16
-- Version uint8
-- Type uint8
-- Index uint16
-- Pad_cgo_0 [2]byte
-- Flags int32
-- Addrs int32
-- Pid int32
-- Seq int32
-- Errno int32
-- Fmask int32
-- Inits uint64
-- Rmx RtMetrics
-+ 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 {
-@@ -468,9 +597,8 @@ type BpfZbuf struct {
- }
-
- type BpfProgram struct {
-- Len uint32
-- Pad_cgo_0 [4]byte
-- Insns *BpfInsn
-+ Len uint32
-+ Insns *BpfInsn
- }
-
- type BpfInsn struct {
-@@ -481,18 +609,18 @@ type BpfInsn struct {
- }
-
- type BpfHdr struct {
-- Tstamp Timeval
-- Caplen uint32
-- Datalen uint32
-- Hdrlen uint16
-- Pad_cgo_0 [6]byte
-+ Tstamp Timeval
-+ Caplen uint32
-+ Datalen uint32
-+ Hdrlen uint16
-+ _ [6]byte
- }
-
- type BpfZbufHeader struct {
- Kernel_gen uint32
- Kernel_len uint32
- User_gen uint32
-- X_bzh_pad [5]uint32
-+ _ [5]uint32
- }
-
- type Termios struct {
-@@ -519,6 +647,44 @@ const (
- AT_SYMLINK_NOFOLLOW = 0x200
- )
-
-+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_linux.go b/vendor/golang.org/x/sys/unix/ztypes_linux.go
-new file mode 100644
-index 00000000..af5ab455
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/ztypes_linux.go
-@@ -0,0 +1,2340 @@
-+// Code generated by mkmerge.go; DO NOT EDIT.
-+
-+// +build linux
-+
-+package unix
-+
-+const (
-+ SizeofShort = 0x2
-+ SizeofInt = 0x4
-+ SizeofLongLong = 0x8
-+ PathMax = 0x1000
-+)
-+
-+type (
-+ _C_short int16
-+ _C_int int32
-+
-+ _C_long_long int64
-+)
-+
-+const (
-+ TIME_OK = 0x0
-+ TIME_INS = 0x1
-+ TIME_DEL = 0x2
-+ TIME_OOP = 0x3
-+ TIME_WAIT = 0x4
-+ TIME_ERROR = 0x5
-+ TIME_BAD = 0x5
-+)
-+
-+type Rlimit struct {
-+ Cur uint64
-+ Max uint64
-+}
-+
-+type _Gid_t uint32
-+
-+type StatxTimestamp struct {
-+ Sec int64
-+ Nsec uint32
-+ _ int32
-+}
-+
-+type Statx_t struct {
-+ Mask uint32
-+ Blksize uint32
-+ Attributes uint64
-+ Nlink uint32
-+ Uid uint32
-+ Gid uint32
-+ Mode uint16
-+ _ [1]uint16
-+ Ino uint64
-+ Size uint64
-+ Blocks uint64
-+ Attributes_mask uint64
-+ Atime StatxTimestamp
-+ Btime StatxTimestamp
-+ Ctime StatxTimestamp
-+ Mtime StatxTimestamp
-+ Rdev_major uint32
-+ Rdev_minor uint32
-+ Dev_major uint32
-+ Dev_minor uint32
-+ _ [14]uint64
-+}
-+
-+type Fsid struct {
-+ Val [2]int32
-+}
-+
-+type FscryptPolicy struct {
-+ Version uint8
-+ Contents_encryption_mode uint8
-+ Filenames_encryption_mode uint8
-+ Flags uint8
-+ Master_key_descriptor [8]uint8
-+}
-+
-+type FscryptKey struct {
-+ Mode uint32
-+ Raw [64]uint8
-+ Size uint32
-+}
-+
-+type FscryptPolicyV1 struct {
-+ Version uint8
-+ Contents_encryption_mode uint8
-+ Filenames_encryption_mode uint8
-+ Flags uint8
-+ Master_key_descriptor [8]uint8
-+}
-+
-+type FscryptPolicyV2 struct {
-+ Version uint8
-+ Contents_encryption_mode uint8
-+ Filenames_encryption_mode uint8
-+ Flags uint8
-+ _ [4]uint8
-+ Master_key_identifier [16]uint8
-+}
-+
-+type FscryptGetPolicyExArg struct {
-+ Size uint64
-+ Policy [24]byte
-+}
-+
-+type FscryptKeySpecifier struct {
-+ Type uint32
-+ _ uint32
-+ U [32]byte
-+}
-+
-+type FscryptAddKeyArg struct {
-+ Key_spec FscryptKeySpecifier
-+ Raw_size uint32
-+ Key_id uint32
-+ _ [8]uint32
-+}
-+
-+type FscryptRemoveKeyArg struct {
-+ Key_spec FscryptKeySpecifier
-+ Removal_status_flags uint32
-+ _ [5]uint32
-+}
-+
-+type FscryptGetKeyStatusArg struct {
-+ Key_spec FscryptKeySpecifier
-+ _ [6]uint32
-+ Status uint32
-+ Status_flags uint32
-+ User_count uint32
-+ _ [13]uint32
-+}
-+
-+type KeyctlDHParams struct {
-+ Private int32
-+ Prime int32
-+ Base int32
-+}
-+
-+const (
-+ FADV_NORMAL = 0x0
-+ FADV_RANDOM = 0x1
-+ FADV_SEQUENTIAL = 0x2
-+ FADV_WILLNEED = 0x3
-+)
-+
-+type RawSockaddrInet4 struct {
-+ Family uint16
-+ Port uint16
-+ Addr [4]byte /* in_addr */
-+ Zero [8]uint8
-+}
-+
-+type RawSockaddrInet6 struct {
-+ Family uint16
-+ Port uint16
-+ Flowinfo uint32
-+ Addr [16]byte /* in6_addr */
-+ Scope_id uint32
-+}
-+
-+type RawSockaddrUnix struct {
-+ Family uint16
-+ Path [108]int8
-+}
-+
-+type RawSockaddrLinklayer struct {
-+ Family uint16
-+ Protocol uint16
-+ Ifindex int32
-+ Hatype uint16
-+ Pkttype uint8
-+ Halen uint8
-+ Addr [8]uint8
-+}
-+
-+type RawSockaddrNetlink struct {
-+ Family uint16
-+ Pad uint16
-+ Pid uint32
-+ Groups uint32
-+}
-+
-+type RawSockaddrHCI struct {
-+ Family uint16
-+ Dev uint16
-+ Channel uint16
-+}
-+
-+type RawSockaddrL2 struct {
-+ Family uint16
-+ Psm uint16
-+ Bdaddr [6]uint8
-+ Cid uint16
-+ Bdaddr_type uint8
-+ _ [1]byte
-+}
-+
-+type RawSockaddrRFCOMM struct {
-+ Family uint16
-+ Bdaddr [6]uint8
-+ Channel uint8
-+ _ [1]byte
-+}
-+
-+type RawSockaddrCAN struct {
-+ Family uint16
-+ Ifindex int32
-+ Addr [16]byte
-+}
-+
-+type RawSockaddrALG struct {
-+ Family uint16
-+ Type [14]uint8
-+ Feat uint32
-+ Mask uint32
-+ Name [64]uint8
-+}
-+
-+type RawSockaddrVM struct {
-+ Family uint16
-+ Reserved1 uint16
-+ Port uint32
-+ Cid uint32
-+ Zero [4]uint8
-+}
-+
-+type RawSockaddrXDP struct {
-+ Family uint16
-+ Flags uint16
-+ Ifindex uint32
-+ Queue_id uint32
-+ Shared_umem_fd uint32
-+}
-+
-+type RawSockaddrPPPoX [0x1e]byte
-+
-+type RawSockaddrTIPC struct {
-+ Family uint16
-+ Addrtype uint8
-+ Scope int8
-+ Addr [12]byte
-+}
-+
-+type RawSockaddrL2TPIP struct {
-+ Family uint16
-+ Unused uint16
-+ Addr [4]byte /* in_addr */
-+ Conn_id uint32
-+ _ [4]uint8
-+}
-+
-+type RawSockaddrL2TPIP6 struct {
-+ Family uint16
-+ Unused uint16
-+ Flowinfo uint32
-+ Addr [16]byte /* in6_addr */
-+ Scope_id uint32
-+ Conn_id uint32
-+}
-+
-+type _Socklen uint32
-+
-+type Linger struct {
-+ Onoff int32
-+ Linger int32
-+}
-+
-+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 PacketMreq struct {
-+ Ifindex int32
-+ Type uint16
-+ Alen uint16
-+ Address [8]uint8
-+}
-+
-+type Inet4Pktinfo struct {
-+ Ifindex int32
-+ Spec_dst [4]byte /* in_addr */
-+ Addr [4]byte /* in_addr */
-+}
-+
-+type Inet6Pktinfo struct {
-+ Addr [16]byte /* in6_addr */
-+ Ifindex uint32
-+}
-+
-+type IPv6MTUInfo struct {
-+ Addr RawSockaddrInet6
-+ Mtu uint32
-+}
-+
-+type ICMPv6Filter struct {
-+ Data [8]uint32
-+}
-+
-+type Ucred struct {
-+ Pid int32
-+ Uid uint32
-+ Gid uint32
-+}
-+
-+type TCPInfo struct {
-+ State uint8
-+ Ca_state uint8
-+ Retransmits uint8
-+ Probes uint8
-+ Backoff uint8
-+ Options uint8
-+ Rto uint32
-+ Ato uint32
-+ Snd_mss uint32
-+ Rcv_mss uint32
-+ Unacked uint32
-+ Sacked uint32
-+ Lost uint32
-+ Retrans uint32
-+ Fackets uint32
-+ Last_data_sent uint32
-+ Last_ack_sent uint32
-+ Last_data_recv uint32
-+ Last_ack_recv uint32
-+ Pmtu uint32
-+ Rcv_ssthresh uint32
-+ Rtt uint32
-+ Rttvar uint32
-+ Snd_ssthresh uint32
-+ Snd_cwnd uint32
-+ Advmss uint32
-+ Reordering uint32
-+ Rcv_rtt uint32
-+ Rcv_space uint32
-+ Total_retrans uint32
-+}
-+
-+type CanFilter struct {
-+ Id uint32
-+ Mask uint32
-+}
-+
-+const (
-+ SizeofSockaddrInet4 = 0x10
-+ SizeofSockaddrInet6 = 0x1c
-+ SizeofSockaddrAny = 0x70
-+ SizeofSockaddrUnix = 0x6e
-+ SizeofSockaddrLinklayer = 0x14
-+ SizeofSockaddrNetlink = 0xc
-+ SizeofSockaddrHCI = 0x6
-+ SizeofSockaddrL2 = 0xe
-+ SizeofSockaddrRFCOMM = 0xa
-+ SizeofSockaddrCAN = 0x18
-+ SizeofSockaddrALG = 0x58
-+ SizeofSockaddrVM = 0x10
-+ SizeofSockaddrXDP = 0x10
-+ SizeofSockaddrPPPoX = 0x1e
-+ SizeofSockaddrTIPC = 0x10
-+ SizeofSockaddrL2TPIP = 0x10
-+ SizeofSockaddrL2TPIP6 = 0x20
-+ SizeofLinger = 0x8
-+ SizeofIPMreq = 0x8
-+ SizeofIPMreqn = 0xc
-+ SizeofIPv6Mreq = 0x14
-+ SizeofPacketMreq = 0x10
-+ SizeofInet4Pktinfo = 0xc
-+ SizeofInet6Pktinfo = 0x14
-+ SizeofIPv6MTUInfo = 0x20
-+ SizeofICMPv6Filter = 0x20
-+ SizeofUcred = 0xc
-+ SizeofTCPInfo = 0x68
-+ SizeofCanFilter = 0x8
-+)
-+
-+const (
-+ NDA_UNSPEC = 0x0
-+ NDA_DST = 0x1
-+ NDA_LLADDR = 0x2
-+ NDA_CACHEINFO = 0x3
-+ NDA_PROBES = 0x4
-+ NDA_VLAN = 0x5
-+ NDA_PORT = 0x6
-+ NDA_VNI = 0x7
-+ NDA_IFINDEX = 0x8
-+ NDA_MASTER = 0x9
-+ NDA_LINK_NETNSID = 0xa
-+ NDA_SRC_VNI = 0xb
-+ NTF_USE = 0x1
-+ NTF_SELF = 0x2
-+ NTF_MASTER = 0x4
-+ NTF_PROXY = 0x8
-+ NTF_EXT_LEARNED = 0x10
-+ NTF_OFFLOADED = 0x20
-+ NTF_ROUTER = 0x80
-+ NUD_INCOMPLETE = 0x1
-+ NUD_REACHABLE = 0x2
-+ NUD_STALE = 0x4
-+ NUD_DELAY = 0x8
-+ NUD_PROBE = 0x10
-+ NUD_FAILED = 0x20
-+ NUD_NOARP = 0x40
-+ NUD_PERMANENT = 0x80
-+ NUD_NONE = 0x0
-+ IFA_UNSPEC = 0x0
-+ IFA_ADDRESS = 0x1
-+ IFA_LOCAL = 0x2
-+ IFA_LABEL = 0x3
-+ IFA_BROADCAST = 0x4
-+ IFA_ANYCAST = 0x5
-+ IFA_CACHEINFO = 0x6
-+ IFA_MULTICAST = 0x7
-+ IFA_FLAGS = 0x8
-+ IFA_RT_PRIORITY = 0x9
-+ IFA_TARGET_NETNSID = 0xa
-+ IFLA_UNSPEC = 0x0
-+ IFLA_ADDRESS = 0x1
-+ IFLA_BROADCAST = 0x2
-+ IFLA_IFNAME = 0x3
-+ IFLA_MTU = 0x4
-+ IFLA_LINK = 0x5
-+ IFLA_QDISC = 0x6
-+ IFLA_STATS = 0x7
-+ IFLA_COST = 0x8
-+ IFLA_PRIORITY = 0x9
-+ IFLA_MASTER = 0xa
-+ IFLA_WIRELESS = 0xb
-+ IFLA_PROTINFO = 0xc
-+ IFLA_TXQLEN = 0xd
-+ IFLA_MAP = 0xe
-+ IFLA_WEIGHT = 0xf
-+ IFLA_OPERSTATE = 0x10
-+ IFLA_LINKMODE = 0x11
-+ IFLA_LINKINFO = 0x12
-+ IFLA_NET_NS_PID = 0x13
-+ IFLA_IFALIAS = 0x14
-+ IFLA_NUM_VF = 0x15
-+ IFLA_VFINFO_LIST = 0x16
-+ IFLA_STATS64 = 0x17
-+ IFLA_VF_PORTS = 0x18
-+ IFLA_PORT_SELF = 0x19
-+ IFLA_AF_SPEC = 0x1a
-+ IFLA_GROUP = 0x1b
-+ IFLA_NET_NS_FD = 0x1c
-+ IFLA_EXT_MASK = 0x1d
-+ IFLA_PROMISCUITY = 0x1e
-+ IFLA_NUM_TX_QUEUES = 0x1f
-+ IFLA_NUM_RX_QUEUES = 0x20
-+ IFLA_CARRIER = 0x21
-+ IFLA_PHYS_PORT_ID = 0x22
-+ IFLA_CARRIER_CHANGES = 0x23
-+ IFLA_PHYS_SWITCH_ID = 0x24
-+ IFLA_LINK_NETNSID = 0x25
-+ IFLA_PHYS_PORT_NAME = 0x26
-+ IFLA_PROTO_DOWN = 0x27
-+ IFLA_GSO_MAX_SEGS = 0x28
-+ IFLA_GSO_MAX_SIZE = 0x29
-+ IFLA_PAD = 0x2a
-+ IFLA_XDP = 0x2b
-+ IFLA_EVENT = 0x2c
-+ IFLA_NEW_NETNSID = 0x2d
-+ IFLA_IF_NETNSID = 0x2e
-+ IFLA_TARGET_NETNSID = 0x2e
-+ IFLA_CARRIER_UP_COUNT = 0x2f
-+ IFLA_CARRIER_DOWN_COUNT = 0x30
-+ IFLA_NEW_IFINDEX = 0x31
-+ IFLA_MIN_MTU = 0x32
-+ IFLA_MAX_MTU = 0x33
-+ IFLA_MAX = 0x36
-+ IFLA_INFO_KIND = 0x1
-+ IFLA_INFO_DATA = 0x2
-+ IFLA_INFO_XSTATS = 0x3
-+ IFLA_INFO_SLAVE_KIND = 0x4
-+ IFLA_INFO_SLAVE_DATA = 0x5
-+ RT_SCOPE_UNIVERSE = 0x0
-+ RT_SCOPE_SITE = 0xc8
-+ RT_SCOPE_LINK = 0xfd
-+ RT_SCOPE_HOST = 0xfe
-+ RT_SCOPE_NOWHERE = 0xff
-+ RT_TABLE_UNSPEC = 0x0
-+ RT_TABLE_COMPAT = 0xfc
-+ RT_TABLE_DEFAULT = 0xfd
-+ RT_TABLE_MAIN = 0xfe
-+ RT_TABLE_LOCAL = 0xff
-+ RT_TABLE_MAX = 0xffffffff
-+ RTA_UNSPEC = 0x0
-+ RTA_DST = 0x1
-+ RTA_SRC = 0x2
-+ RTA_IIF = 0x3
-+ RTA_OIF = 0x4
-+ RTA_GATEWAY = 0x5
-+ RTA_PRIORITY = 0x6
-+ RTA_PREFSRC = 0x7
-+ RTA_METRICS = 0x8
-+ RTA_MULTIPATH = 0x9
-+ RTA_FLOW = 0xb
-+ RTA_CACHEINFO = 0xc
-+ RTA_TABLE = 0xf
-+ RTA_MARK = 0x10
-+ RTA_MFC_STATS = 0x11
-+ RTA_VIA = 0x12
-+ RTA_NEWDST = 0x13
-+ RTA_PREF = 0x14
-+ RTA_ENCAP_TYPE = 0x15
-+ RTA_ENCAP = 0x16
-+ RTA_EXPIRES = 0x17
-+ RTA_PAD = 0x18
-+ RTA_UID = 0x19
-+ RTA_TTL_PROPAGATE = 0x1a
-+ RTA_IP_PROTO = 0x1b
-+ RTA_SPORT = 0x1c
-+ RTA_DPORT = 0x1d
-+ RTN_UNSPEC = 0x0
-+ RTN_UNICAST = 0x1
-+ RTN_LOCAL = 0x2
-+ RTN_BROADCAST = 0x3
-+ RTN_ANYCAST = 0x4
-+ RTN_MULTICAST = 0x5
-+ RTN_BLACKHOLE = 0x6
-+ RTN_UNREACHABLE = 0x7
-+ RTN_PROHIBIT = 0x8
-+ RTN_THROW = 0x9
-+ RTN_NAT = 0xa
-+ RTN_XRESOLVE = 0xb
-+ SizeofNlMsghdr = 0x10
-+ SizeofNlMsgerr = 0x14
-+ SizeofRtGenmsg = 0x1
-+ SizeofNlAttr = 0x4
-+ SizeofRtAttr = 0x4
-+ SizeofIfInfomsg = 0x10
-+ SizeofIfAddrmsg = 0x8
-+ SizeofIfaCacheinfo = 0x10
-+ SizeofRtMsg = 0xc
-+ SizeofRtNexthop = 0x8
-+ SizeofNdUseroptmsg = 0x10
-+ SizeofNdMsg = 0xc
-+)
-+
-+type NlMsghdr struct {
-+ Len uint32
-+ Type uint16
-+ Flags uint16
-+ Seq uint32
-+ Pid uint32
-+}
-+
-+type NlMsgerr struct {
-+ Error int32
-+ Msg NlMsghdr
-+}
-+
-+type RtGenmsg struct {
-+ Family uint8
-+}
-+
-+type NlAttr struct {
-+ Len uint16
-+ Type uint16
-+}
-+
-+type RtAttr struct {
-+ Len uint16
-+ Type uint16
-+}
-+
-+type IfInfomsg struct {
-+ Family uint8
-+ _ uint8
-+ Type uint16
-+ Index int32
-+ Flags uint32
-+ Change uint32
-+}
-+
-+type IfAddrmsg struct {
-+ Family uint8
-+ Prefixlen uint8
-+ Flags uint8
-+ Scope uint8
-+ Index uint32
-+}
-+
-+type IfaCacheinfo struct {
-+ Prefered uint32
-+ Valid uint32
-+ Cstamp uint32
-+ Tstamp uint32
-+}
-+
-+type RtMsg struct {
-+ Family uint8
-+ Dst_len uint8
-+ Src_len uint8
-+ Tos uint8
-+ Table uint8
-+ Protocol uint8
-+ Scope uint8
-+ Type uint8
-+ Flags uint32
-+}
-+
-+type RtNexthop struct {
-+ Len uint16
-+ Flags uint8
-+ Hops uint8
-+ Ifindex int32
-+}
-+
-+type NdUseroptmsg struct {
-+ Family uint8
-+ Pad1 uint8
-+ Opts_len uint16
-+ Ifindex int32
-+ Icmp_type uint8
-+ Icmp_code uint8
-+ Pad2 uint16
-+ Pad3 uint32
-+}
-+
-+type NdMsg struct {
-+ Family uint8
-+ Pad1 uint8
-+ Pad2 uint16
-+ Ifindex int32
-+ State uint16
-+ Flags uint8
-+ Type uint8
-+}
-+
-+const (
-+ SizeofSockFilter = 0x8
-+)
-+
-+type SockFilter struct {
-+ Code uint16
-+ Jt uint8
-+ Jf uint8
-+ K uint32
-+}
-+
-+type SockFprog struct {
-+ Len uint16
-+ Filter *SockFilter
-+}
-+
-+type InotifyEvent struct {
-+ Wd int32
-+ Mask uint32
-+ Cookie uint32
-+ Len uint32
-+}
-+
-+const SizeofInotifyEvent = 0x10
-+
-+type Utsname struct {
-+ Sysname [65]byte
-+ Nodename [65]byte
-+ Release [65]byte
-+ Version [65]byte
-+ Machine [65]byte
-+ Domainname [65]byte
-+}
-+
-+const (
-+ AT_EMPTY_PATH = 0x1000
-+ AT_FDCWD = -0x64
-+ AT_NO_AUTOMOUNT = 0x800
-+ AT_REMOVEDIR = 0x200
-+
-+ AT_STATX_SYNC_AS_STAT = 0x0
-+ AT_STATX_FORCE_SYNC = 0x2000
-+ AT_STATX_DONT_SYNC = 0x4000
-+
-+ AT_SYMLINK_FOLLOW = 0x400
-+ AT_SYMLINK_NOFOLLOW = 0x100
-+
-+ AT_EACCESS = 0x200
-+)
-+
-+type PollFd struct {
-+ Fd int32
-+ Events int16
-+ Revents int16
-+}
-+
-+const (
-+ POLLIN = 0x1
-+ POLLPRI = 0x2
-+ POLLOUT = 0x4
-+ POLLERR = 0x8
-+ POLLHUP = 0x10
-+ POLLNVAL = 0x20
-+)
-+
-+type SignalfdSiginfo struct {
-+ Signo uint32
-+ Errno int32
-+ Code int32
-+ Pid uint32
-+ Uid uint32
-+ Fd int32
-+ Tid uint32
-+ Band uint32
-+ Overrun uint32
-+ Trapno uint32
-+ Status int32
-+ Int int32
-+ Ptr uint64
-+ Utime uint64
-+ Stime uint64
-+ Addr uint64
-+ Addr_lsb uint16
-+ _ uint16
-+ Syscall int32
-+ Call_addr uint64
-+ Arch uint32
-+ _ [28]uint8
-+}
-+
-+const PERF_IOC_FLAG_GROUP = 0x1
-+
-+type Winsize struct {
-+ Row uint16
-+ Col uint16
-+ Xpixel uint16
-+ Ypixel uint16
-+}
-+
-+const (
-+ TASKSTATS_CMD_UNSPEC = 0x0
-+ TASKSTATS_CMD_GET = 0x1
-+ TASKSTATS_CMD_NEW = 0x2
-+ TASKSTATS_TYPE_UNSPEC = 0x0
-+ TASKSTATS_TYPE_PID = 0x1
-+ TASKSTATS_TYPE_TGID = 0x2
-+ TASKSTATS_TYPE_STATS = 0x3
-+ TASKSTATS_TYPE_AGGR_PID = 0x4
-+ TASKSTATS_TYPE_AGGR_TGID = 0x5
-+ TASKSTATS_TYPE_NULL = 0x6
-+ TASKSTATS_CMD_ATTR_UNSPEC = 0x0
-+ TASKSTATS_CMD_ATTR_PID = 0x1
-+ TASKSTATS_CMD_ATTR_TGID = 0x2
-+ TASKSTATS_CMD_ATTR_REGISTER_CPUMASK = 0x3
-+ TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK = 0x4
-+)
-+
-+type CGroupStats struct {
-+ Sleeping uint64
-+ Running uint64
-+ Stopped uint64
-+ Uninterruptible uint64
-+ Io_wait uint64
-+}
-+
-+const (
-+ CGROUPSTATS_CMD_UNSPEC = 0x3
-+ CGROUPSTATS_CMD_GET = 0x4
-+ CGROUPSTATS_CMD_NEW = 0x5
-+ CGROUPSTATS_TYPE_UNSPEC = 0x0
-+ CGROUPSTATS_TYPE_CGROUP_STATS = 0x1
-+ CGROUPSTATS_CMD_ATTR_UNSPEC = 0x0
-+ CGROUPSTATS_CMD_ATTR_FD = 0x1
-+)
-+
-+type Genlmsghdr struct {
-+ Cmd uint8
-+ Version uint8
-+ Reserved uint16
-+}
-+
-+const (
-+ CTRL_CMD_UNSPEC = 0x0
-+ CTRL_CMD_NEWFAMILY = 0x1
-+ CTRL_CMD_DELFAMILY = 0x2
-+ CTRL_CMD_GETFAMILY = 0x3
-+ CTRL_CMD_NEWOPS = 0x4
-+ CTRL_CMD_DELOPS = 0x5
-+ CTRL_CMD_GETOPS = 0x6
-+ CTRL_CMD_NEWMCAST_GRP = 0x7
-+ CTRL_CMD_DELMCAST_GRP = 0x8
-+ CTRL_CMD_GETMCAST_GRP = 0x9
-+ CTRL_ATTR_UNSPEC = 0x0
-+ CTRL_ATTR_FAMILY_ID = 0x1
-+ CTRL_ATTR_FAMILY_NAME = 0x2
-+ CTRL_ATTR_VERSION = 0x3
-+ CTRL_ATTR_HDRSIZE = 0x4
-+ CTRL_ATTR_MAXATTR = 0x5
-+ CTRL_ATTR_OPS = 0x6
-+ CTRL_ATTR_MCAST_GROUPS = 0x7
-+ 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
-+)
-+
-+const (
-+ _CPU_SETSIZE = 0x400
-+)
-+
-+const (
-+ BDADDR_BREDR = 0x0
-+ BDADDR_LE_PUBLIC = 0x1
-+ BDADDR_LE_RANDOM = 0x2
-+)
-+
-+type PerfEventAttr struct {
-+ Type uint32
-+ Size uint32
-+ Config uint64
-+ Sample uint64
-+ Sample_type uint64
-+ Read_format uint64
-+ Bits uint64
-+ Wakeup uint32
-+ Bp_type uint32
-+ Ext1 uint64
-+ Ext2 uint64
-+ Branch_sample_type uint64
-+ Sample_regs_user uint64
-+ Sample_stack_user uint32
-+ Clockid int32
-+ Sample_regs_intr uint64
-+ Aux_watermark uint32
-+ Sample_max_stack uint16
-+ _ uint16
-+}
-+
-+type PerfEventMmapPage struct {
-+ Version uint32
-+ Compat_version uint32
-+ Lock uint32
-+ Index uint32
-+ Offset int64
-+ Time_enabled uint64
-+ Time_running uint64
-+ Capabilities uint64
-+ Pmc_width uint16
-+ Time_shift uint16
-+ Time_mult uint32
-+ Time_offset uint64
-+ Time_zero uint64
-+ Size uint32
-+ _ [948]uint8
-+ Data_head uint64
-+ Data_tail uint64
-+ Data_offset uint64
-+ Data_size uint64
-+ Aux_head uint64
-+ Aux_tail uint64
-+ Aux_offset uint64
-+ Aux_size uint64
-+}
-+
-+const (
-+ PerfBitDisabled uint64 = CBitFieldMaskBit0
-+ PerfBitInherit = CBitFieldMaskBit1
-+ PerfBitPinned = CBitFieldMaskBit2
-+ PerfBitExclusive = CBitFieldMaskBit3
-+ PerfBitExcludeUser = CBitFieldMaskBit4
-+ PerfBitExcludeKernel = CBitFieldMaskBit5
-+ PerfBitExcludeHv = CBitFieldMaskBit6
-+ PerfBitExcludeIdle = CBitFieldMaskBit7
-+ PerfBitMmap = CBitFieldMaskBit8
-+ PerfBitComm = CBitFieldMaskBit9
-+ PerfBitFreq = CBitFieldMaskBit10
-+ PerfBitInheritStat = CBitFieldMaskBit11
-+ PerfBitEnableOnExec = CBitFieldMaskBit12
-+ PerfBitTask = CBitFieldMaskBit13
-+ PerfBitWatermark = CBitFieldMaskBit14
-+ PerfBitPreciseIPBit1 = CBitFieldMaskBit15
-+ PerfBitPreciseIPBit2 = CBitFieldMaskBit16
-+ PerfBitMmapData = CBitFieldMaskBit17
-+ PerfBitSampleIDAll = CBitFieldMaskBit18
-+ PerfBitExcludeHost = CBitFieldMaskBit19
-+ PerfBitExcludeGuest = CBitFieldMaskBit20
-+ PerfBitExcludeCallchainKernel = CBitFieldMaskBit21
-+ PerfBitExcludeCallchainUser = CBitFieldMaskBit22
-+ PerfBitMmap2 = CBitFieldMaskBit23
-+ PerfBitCommExec = CBitFieldMaskBit24
-+ PerfBitUseClockID = CBitFieldMaskBit25
-+ PerfBitContextSwitch = CBitFieldMaskBit26
-+)
-+
-+const (
-+ PERF_TYPE_HARDWARE = 0x0
-+ PERF_TYPE_SOFTWARE = 0x1
-+ PERF_TYPE_TRACEPOINT = 0x2
-+ PERF_TYPE_HW_CACHE = 0x3
-+ PERF_TYPE_RAW = 0x4
-+ PERF_TYPE_BREAKPOINT = 0x5
-+
-+ PERF_COUNT_HW_CPU_CYCLES = 0x0
-+ PERF_COUNT_HW_INSTRUCTIONS = 0x1
-+ PERF_COUNT_HW_CACHE_REFERENCES = 0x2
-+ PERF_COUNT_HW_CACHE_MISSES = 0x3
-+ PERF_COUNT_HW_BRANCH_INSTRUCTIONS = 0x4
-+ PERF_COUNT_HW_BRANCH_MISSES = 0x5
-+ PERF_COUNT_HW_BUS_CYCLES = 0x6
-+ PERF_COUNT_HW_STALLED_CYCLES_FRONTEND = 0x7
-+ PERF_COUNT_HW_STALLED_CYCLES_BACKEND = 0x8
-+ PERF_COUNT_HW_REF_CPU_CYCLES = 0x9
-+
-+ PERF_COUNT_HW_CACHE_L1D = 0x0
-+ PERF_COUNT_HW_CACHE_L1I = 0x1
-+ PERF_COUNT_HW_CACHE_LL = 0x2
-+ PERF_COUNT_HW_CACHE_DTLB = 0x3
-+ PERF_COUNT_HW_CACHE_ITLB = 0x4
-+ PERF_COUNT_HW_CACHE_BPU = 0x5
-+ PERF_COUNT_HW_CACHE_NODE = 0x6
-+
-+ PERF_COUNT_HW_CACHE_OP_READ = 0x0
-+ PERF_COUNT_HW_CACHE_OP_WRITE = 0x1
-+ PERF_COUNT_HW_CACHE_OP_PREFETCH = 0x2
-+
-+ PERF_COUNT_HW_CACHE_RESULT_ACCESS = 0x0
-+ PERF_COUNT_HW_CACHE_RESULT_MISS = 0x1
-+
-+ PERF_COUNT_SW_CPU_CLOCK = 0x0
-+ PERF_COUNT_SW_TASK_CLOCK = 0x1
-+ PERF_COUNT_SW_PAGE_FAULTS = 0x2
-+ PERF_COUNT_SW_CONTEXT_SWITCHES = 0x3
-+ PERF_COUNT_SW_CPU_MIGRATIONS = 0x4
-+ PERF_COUNT_SW_PAGE_FAULTS_MIN = 0x5
-+ PERF_COUNT_SW_PAGE_FAULTS_MAJ = 0x6
-+ PERF_COUNT_SW_ALIGNMENT_FAULTS = 0x7
-+ PERF_COUNT_SW_EMULATION_FAULTS = 0x8
-+ PERF_COUNT_SW_DUMMY = 0x9
-+ PERF_COUNT_SW_BPF_OUTPUT = 0xa
-+
-+ PERF_SAMPLE_IP = 0x1
-+ PERF_SAMPLE_TID = 0x2
-+ PERF_SAMPLE_TIME = 0x4
-+ PERF_SAMPLE_ADDR = 0x8
-+ PERF_SAMPLE_READ = 0x10
-+ PERF_SAMPLE_CALLCHAIN = 0x20
-+ PERF_SAMPLE_ID = 0x40
-+ PERF_SAMPLE_CPU = 0x80
-+ PERF_SAMPLE_PERIOD = 0x100
-+ PERF_SAMPLE_STREAM_ID = 0x200
-+ PERF_SAMPLE_RAW = 0x400
-+ PERF_SAMPLE_BRANCH_STACK = 0x800
-+
-+ PERF_SAMPLE_BRANCH_USER = 0x1
-+ PERF_SAMPLE_BRANCH_KERNEL = 0x2
-+ PERF_SAMPLE_BRANCH_HV = 0x4
-+ PERF_SAMPLE_BRANCH_ANY = 0x8
-+ PERF_SAMPLE_BRANCH_ANY_CALL = 0x10
-+ PERF_SAMPLE_BRANCH_ANY_RETURN = 0x20
-+ PERF_SAMPLE_BRANCH_IND_CALL = 0x40
-+ PERF_SAMPLE_BRANCH_ABORT_TX = 0x80
-+ PERF_SAMPLE_BRANCH_IN_TX = 0x100
-+ PERF_SAMPLE_BRANCH_NO_TX = 0x200
-+ PERF_SAMPLE_BRANCH_COND = 0x400
-+ PERF_SAMPLE_BRANCH_CALL_STACK = 0x800
-+ PERF_SAMPLE_BRANCH_IND_JUMP = 0x1000
-+ PERF_SAMPLE_BRANCH_CALL = 0x2000
-+ PERF_SAMPLE_BRANCH_NO_FLAGS = 0x4000
-+ PERF_SAMPLE_BRANCH_NO_CYCLES = 0x8000
-+ PERF_SAMPLE_BRANCH_TYPE_SAVE = 0x10000
-+
-+ PERF_FORMAT_TOTAL_TIME_ENABLED = 0x1
-+ PERF_FORMAT_TOTAL_TIME_RUNNING = 0x2
-+ PERF_FORMAT_ID = 0x4
-+ PERF_FORMAT_GROUP = 0x8
-+
-+ PERF_RECORD_MMAP = 0x1
-+ PERF_RECORD_LOST = 0x2
-+ PERF_RECORD_COMM = 0x3
-+ PERF_RECORD_EXIT = 0x4
-+ PERF_RECORD_THROTTLE = 0x5
-+ PERF_RECORD_UNTHROTTLE = 0x6
-+ PERF_RECORD_FORK = 0x7
-+ PERF_RECORD_READ = 0x8
-+ PERF_RECORD_SAMPLE = 0x9
-+ PERF_RECORD_MMAP2 = 0xa
-+ PERF_RECORD_AUX = 0xb
-+ PERF_RECORD_ITRACE_START = 0xc
-+ PERF_RECORD_LOST_SAMPLES = 0xd
-+ PERF_RECORD_SWITCH = 0xe
-+ PERF_RECORD_SWITCH_CPU_WIDE = 0xf
-+ PERF_RECORD_NAMESPACES = 0x10
-+
-+ PERF_CONTEXT_HV = -0x20
-+ PERF_CONTEXT_KERNEL = -0x80
-+ PERF_CONTEXT_USER = -0x200
-+
-+ PERF_CONTEXT_GUEST = -0x800
-+ PERF_CONTEXT_GUEST_KERNEL = -0x880
-+ PERF_CONTEXT_GUEST_USER = -0xa00
-+
-+ PERF_FLAG_FD_NO_GROUP = 0x1
-+ PERF_FLAG_FD_OUTPUT = 0x2
-+ PERF_FLAG_PID_CGROUP = 0x4
-+ PERF_FLAG_FD_CLOEXEC = 0x8
-+)
-+
-+type TCPMD5Sig struct {
-+ Addr SockaddrStorage
-+ Flags uint8
-+ Prefixlen uint8
-+ Keylen uint16
-+ _ uint32
-+ Key [80]uint8
-+}
-+
-+type HDDriveCmdHdr struct {
-+ Command uint8
-+ Number uint8
-+ Feature uint8
-+ Count uint8
-+}
-+
-+type HDDriveID struct {
-+ Config uint16
-+ Cyls uint16
-+ Reserved2 uint16
-+ Heads uint16
-+ Track_bytes uint16
-+ Sector_bytes uint16
-+ Sectors uint16
-+ Vendor0 uint16
-+ Vendor1 uint16
-+ Vendor2 uint16
-+ Serial_no [20]uint8
-+ Buf_type uint16
-+ Buf_size uint16
-+ Ecc_bytes uint16
-+ Fw_rev [8]uint8
-+ Model [40]uint8
-+ Max_multsect uint8
-+ Vendor3 uint8
-+ Dword_io uint16
-+ Vendor4 uint8
-+ Capability uint8
-+ Reserved50 uint16
-+ Vendor5 uint8
-+ TPIO uint8
-+ Vendor6 uint8
-+ TDMA uint8
-+ Field_valid uint16
-+ Cur_cyls uint16
-+ Cur_heads uint16
-+ Cur_sectors uint16
-+ Cur_capacity0 uint16
-+ Cur_capacity1 uint16
-+ Multsect uint8
-+ Multsect_valid uint8
-+ Lba_capacity uint32
-+ Dma_1word uint16
-+ Dma_mword uint16
-+ Eide_pio_modes uint16
-+ Eide_dma_min uint16
-+ Eide_dma_time uint16
-+ Eide_pio uint16
-+ Eide_pio_iordy uint16
-+ Words69_70 [2]uint16
-+ Words71_74 [4]uint16
-+ Queue_depth uint16
-+ Words76_79 [4]uint16
-+ Major_rev_num uint16
-+ Minor_rev_num uint16
-+ Command_set_1 uint16
-+ Command_set_2 uint16
-+ Cfsse uint16
-+ Cfs_enable_1 uint16
-+ Cfs_enable_2 uint16
-+ Csf_default uint16
-+ Dma_ultra uint16
-+ Trseuc uint16
-+ TrsEuc uint16
-+ CurAPMvalues uint16
-+ Mprc uint16
-+ Hw_config uint16
-+ Acoustic uint16
-+ Msrqs uint16
-+ Sxfert uint16
-+ Sal uint16
-+ Spg uint32
-+ Lba_capacity_2 uint64
-+ Words104_125 [22]uint16
-+ Last_lun uint16
-+ Word127 uint16
-+ Dlf uint16
-+ Csfo uint16
-+ Words130_155 [26]uint16
-+ Word156 uint16
-+ Words157_159 [3]uint16
-+ Cfa_power uint16
-+ Words161_175 [15]uint16
-+ Words176_205 [30]uint16
-+ Words206_254 [49]uint16
-+ Integrity_word uint16
-+}
-+
-+const (
-+ ST_MANDLOCK = 0x40
-+ ST_NOATIME = 0x400
-+ ST_NODEV = 0x4
-+ ST_NODIRATIME = 0x800
-+ ST_NOEXEC = 0x8
-+ ST_NOSUID = 0x2
-+ ST_RDONLY = 0x1
-+ ST_RELATIME = 0x1000
-+ ST_SYNCHRONOUS = 0x10
-+)
-+
-+type Tpacket2Hdr struct {
-+ Status uint32
-+ Len uint32
-+ Snaplen uint32
-+ Mac uint16
-+ Net uint16
-+ Sec uint32
-+ Nsec uint32
-+ Vlan_tci uint16
-+ Vlan_tpid uint16
-+ _ [4]uint8
-+}
-+
-+type Tpacket3Hdr struct {
-+ Next_offset uint32
-+ Sec uint32
-+ Nsec uint32
-+ Snaplen uint32
-+ Len uint32
-+ Status uint32
-+ Mac uint16
-+ Net uint16
-+ Hv1 TpacketHdrVariant1
-+ _ [8]uint8
-+}
-+
-+type TpacketHdrVariant1 struct {
-+ Rxhash uint32
-+ Vlan_tci uint32
-+ Vlan_tpid uint16
-+ _ uint16
-+}
-+
-+type TpacketBlockDesc struct {
-+ Version uint32
-+ To_priv uint32
-+ Hdr [40]byte
-+}
-+
-+type TpacketBDTS struct {
-+ Sec uint32
-+ Usec uint32
-+}
-+
-+type TpacketHdrV1 struct {
-+ Block_status uint32
-+ Num_pkts uint32
-+ Offset_to_first_pkt uint32
-+ Blk_len uint32
-+ Seq_num uint64
-+ Ts_first_pkt TpacketBDTS
-+ Ts_last_pkt TpacketBDTS
-+}
-+
-+type TpacketReq struct {
-+ Block_size uint32
-+ Block_nr uint32
-+ Frame_size uint32
-+ Frame_nr uint32
-+}
-+
-+type TpacketReq3 struct {
-+ Block_size uint32
-+ Block_nr uint32
-+ Frame_size uint32
-+ Frame_nr uint32
-+ Retire_blk_tov uint32
-+ Sizeof_priv uint32
-+ Feature_req_word uint32
-+}
-+
-+type TpacketStats struct {
-+ Packets uint32
-+ Drops uint32
-+}
-+
-+type TpacketStatsV3 struct {
-+ Packets uint32
-+ Drops uint32
-+ Freeze_q_cnt uint32
-+}
-+
-+type TpacketAuxdata struct {
-+ Status uint32
-+ Len uint32
-+ Snaplen uint32
-+ Mac uint16
-+ Net uint16
-+ Vlan_tci uint16
-+ Vlan_tpid uint16
-+}
-+
-+const (
-+ TPACKET_V1 = 0x0
-+ TPACKET_V2 = 0x1
-+ TPACKET_V3 = 0x2
-+)
-+
-+const (
-+ SizeofTpacket2Hdr = 0x20
-+ SizeofTpacket3Hdr = 0x30
-+
-+ SizeofTpacketStats = 0x8
-+ SizeofTpacketStatsV3 = 0xc
-+)
-+
-+const (
-+ NF_INET_PRE_ROUTING = 0x0
-+ NF_INET_LOCAL_IN = 0x1
-+ NF_INET_FORWARD = 0x2
-+ NF_INET_LOCAL_OUT = 0x3
-+ NF_INET_POST_ROUTING = 0x4
-+ NF_INET_NUMHOOKS = 0x5
-+)
-+
-+const (
-+ NF_NETDEV_INGRESS = 0x0
-+ NF_NETDEV_NUMHOOKS = 0x1
-+)
-+
-+const (
-+ NFPROTO_UNSPEC = 0x0
-+ NFPROTO_INET = 0x1
-+ NFPROTO_IPV4 = 0x2
-+ NFPROTO_ARP = 0x3
-+ NFPROTO_NETDEV = 0x5
-+ NFPROTO_BRIDGE = 0x7
-+ NFPROTO_IPV6 = 0xa
-+ NFPROTO_DECNET = 0xc
-+ NFPROTO_NUMPROTO = 0xd
-+)
-+
-+type Nfgenmsg struct {
-+ Nfgen_family uint8
-+ Version uint8
-+ Res_id uint16
-+}
-+
-+const (
-+ NFNL_BATCH_UNSPEC = 0x0
-+ NFNL_BATCH_GENID = 0x1
-+)
-+
-+const (
-+ NFT_REG_VERDICT = 0x0
-+ NFT_REG_1 = 0x1
-+ NFT_REG_2 = 0x2
-+ NFT_REG_3 = 0x3
-+ NFT_REG_4 = 0x4
-+ NFT_REG32_00 = 0x8
-+ NFT_REG32_01 = 0x9
-+ NFT_REG32_02 = 0xa
-+ NFT_REG32_03 = 0xb
-+ NFT_REG32_04 = 0xc
-+ NFT_REG32_05 = 0xd
-+ NFT_REG32_06 = 0xe
-+ NFT_REG32_07 = 0xf
-+ NFT_REG32_08 = 0x10
-+ NFT_REG32_09 = 0x11
-+ NFT_REG32_10 = 0x12
-+ NFT_REG32_11 = 0x13
-+ NFT_REG32_12 = 0x14
-+ NFT_REG32_13 = 0x15
-+ NFT_REG32_14 = 0x16
-+ NFT_REG32_15 = 0x17
-+ NFT_CONTINUE = -0x1
-+ NFT_BREAK = -0x2
-+ NFT_JUMP = -0x3
-+ NFT_GOTO = -0x4
-+ NFT_RETURN = -0x5
-+ NFT_MSG_NEWTABLE = 0x0
-+ NFT_MSG_GETTABLE = 0x1
-+ NFT_MSG_DELTABLE = 0x2
-+ NFT_MSG_NEWCHAIN = 0x3
-+ NFT_MSG_GETCHAIN = 0x4
-+ NFT_MSG_DELCHAIN = 0x5
-+ NFT_MSG_NEWRULE = 0x6
-+ NFT_MSG_GETRULE = 0x7
-+ NFT_MSG_DELRULE = 0x8
-+ NFT_MSG_NEWSET = 0x9
-+ NFT_MSG_GETSET = 0xa
-+ NFT_MSG_DELSET = 0xb
-+ NFT_MSG_NEWSETELEM = 0xc
-+ NFT_MSG_GETSETELEM = 0xd
-+ NFT_MSG_DELSETELEM = 0xe
-+ NFT_MSG_NEWGEN = 0xf
-+ NFT_MSG_GETGEN = 0x10
-+ NFT_MSG_TRACE = 0x11
-+ NFT_MSG_NEWOBJ = 0x12
-+ NFT_MSG_GETOBJ = 0x13
-+ NFT_MSG_DELOBJ = 0x14
-+ NFT_MSG_GETOBJ_RESET = 0x15
-+ NFT_MSG_MAX = 0x19
-+ NFTA_LIST_UNPEC = 0x0
-+ NFTA_LIST_ELEM = 0x1
-+ NFTA_HOOK_UNSPEC = 0x0
-+ NFTA_HOOK_HOOKNUM = 0x1
-+ NFTA_HOOK_PRIORITY = 0x2
-+ NFTA_HOOK_DEV = 0x3
-+ NFT_TABLE_F_DORMANT = 0x1
-+ NFTA_TABLE_UNSPEC = 0x0
-+ NFTA_TABLE_NAME = 0x1
-+ NFTA_TABLE_FLAGS = 0x2
-+ NFTA_TABLE_USE = 0x3
-+ NFTA_CHAIN_UNSPEC = 0x0
-+ NFTA_CHAIN_TABLE = 0x1
-+ NFTA_CHAIN_HANDLE = 0x2
-+ NFTA_CHAIN_NAME = 0x3
-+ NFTA_CHAIN_HOOK = 0x4
-+ NFTA_CHAIN_POLICY = 0x5
-+ NFTA_CHAIN_USE = 0x6
-+ NFTA_CHAIN_TYPE = 0x7
-+ NFTA_CHAIN_COUNTERS = 0x8
-+ NFTA_CHAIN_PAD = 0x9
-+ NFTA_RULE_UNSPEC = 0x0
-+ NFTA_RULE_TABLE = 0x1
-+ NFTA_RULE_CHAIN = 0x2
-+ NFTA_RULE_HANDLE = 0x3
-+ NFTA_RULE_EXPRESSIONS = 0x4
-+ NFTA_RULE_COMPAT = 0x5
-+ NFTA_RULE_POSITION = 0x6
-+ NFTA_RULE_USERDATA = 0x7
-+ NFTA_RULE_PAD = 0x8
-+ NFTA_RULE_ID = 0x9
-+ NFT_RULE_COMPAT_F_INV = 0x2
-+ NFT_RULE_COMPAT_F_MASK = 0x2
-+ NFTA_RULE_COMPAT_UNSPEC = 0x0
-+ NFTA_RULE_COMPAT_PROTO = 0x1
-+ NFTA_RULE_COMPAT_FLAGS = 0x2
-+ NFT_SET_ANONYMOUS = 0x1
-+ NFT_SET_CONSTANT = 0x2
-+ NFT_SET_INTERVAL = 0x4
-+ NFT_SET_MAP = 0x8
-+ NFT_SET_TIMEOUT = 0x10
-+ NFT_SET_EVAL = 0x20
-+ NFT_SET_OBJECT = 0x40
-+ NFT_SET_POL_PERFORMANCE = 0x0
-+ NFT_SET_POL_MEMORY = 0x1
-+ NFTA_SET_DESC_UNSPEC = 0x0
-+ NFTA_SET_DESC_SIZE = 0x1
-+ NFTA_SET_UNSPEC = 0x0
-+ NFTA_SET_TABLE = 0x1
-+ NFTA_SET_NAME = 0x2
-+ NFTA_SET_FLAGS = 0x3
-+ NFTA_SET_KEY_TYPE = 0x4
-+ NFTA_SET_KEY_LEN = 0x5
-+ NFTA_SET_DATA_TYPE = 0x6
-+ NFTA_SET_DATA_LEN = 0x7
-+ NFTA_SET_POLICY = 0x8
-+ NFTA_SET_DESC = 0x9
-+ NFTA_SET_ID = 0xa
-+ NFTA_SET_TIMEOUT = 0xb
-+ NFTA_SET_GC_INTERVAL = 0xc
-+ NFTA_SET_USERDATA = 0xd
-+ NFTA_SET_PAD = 0xe
-+ NFTA_SET_OBJ_TYPE = 0xf
-+ NFT_SET_ELEM_INTERVAL_END = 0x1
-+ NFTA_SET_ELEM_UNSPEC = 0x0
-+ NFTA_SET_ELEM_KEY = 0x1
-+ NFTA_SET_ELEM_DATA = 0x2
-+ NFTA_SET_ELEM_FLAGS = 0x3
-+ NFTA_SET_ELEM_TIMEOUT = 0x4
-+ NFTA_SET_ELEM_EXPIRATION = 0x5
-+ NFTA_SET_ELEM_USERDATA = 0x6
-+ NFTA_SET_ELEM_EXPR = 0x7
-+ NFTA_SET_ELEM_PAD = 0x8
-+ NFTA_SET_ELEM_OBJREF = 0x9
-+ NFTA_SET_ELEM_LIST_UNSPEC = 0x0
-+ NFTA_SET_ELEM_LIST_TABLE = 0x1
-+ NFTA_SET_ELEM_LIST_SET = 0x2
-+ NFTA_SET_ELEM_LIST_ELEMENTS = 0x3
-+ NFTA_SET_ELEM_LIST_SET_ID = 0x4
-+ NFT_DATA_VALUE = 0x0
-+ NFT_DATA_VERDICT = 0xffffff00
-+ NFTA_DATA_UNSPEC = 0x0
-+ NFTA_DATA_VALUE = 0x1
-+ NFTA_DATA_VERDICT = 0x2
-+ NFTA_VERDICT_UNSPEC = 0x0
-+ NFTA_VERDICT_CODE = 0x1
-+ NFTA_VERDICT_CHAIN = 0x2
-+ NFTA_EXPR_UNSPEC = 0x0
-+ NFTA_EXPR_NAME = 0x1
-+ NFTA_EXPR_DATA = 0x2
-+ NFTA_IMMEDIATE_UNSPEC = 0x0
-+ NFTA_IMMEDIATE_DREG = 0x1
-+ NFTA_IMMEDIATE_DATA = 0x2
-+ NFTA_BITWISE_UNSPEC = 0x0
-+ NFTA_BITWISE_SREG = 0x1
-+ NFTA_BITWISE_DREG = 0x2
-+ NFTA_BITWISE_LEN = 0x3
-+ NFTA_BITWISE_MASK = 0x4
-+ NFTA_BITWISE_XOR = 0x5
-+ NFT_BYTEORDER_NTOH = 0x0
-+ NFT_BYTEORDER_HTON = 0x1
-+ NFTA_BYTEORDER_UNSPEC = 0x0
-+ NFTA_BYTEORDER_SREG = 0x1
-+ NFTA_BYTEORDER_DREG = 0x2
-+ NFTA_BYTEORDER_OP = 0x3
-+ NFTA_BYTEORDER_LEN = 0x4
-+ NFTA_BYTEORDER_SIZE = 0x5
-+ NFT_CMP_EQ = 0x0
-+ NFT_CMP_NEQ = 0x1
-+ NFT_CMP_LT = 0x2
-+ NFT_CMP_LTE = 0x3
-+ NFT_CMP_GT = 0x4
-+ NFT_CMP_GTE = 0x5
-+ NFTA_CMP_UNSPEC = 0x0
-+ NFTA_CMP_SREG = 0x1
-+ NFTA_CMP_OP = 0x2
-+ NFTA_CMP_DATA = 0x3
-+ NFT_RANGE_EQ = 0x0
-+ NFT_RANGE_NEQ = 0x1
-+ NFTA_RANGE_UNSPEC = 0x0
-+ NFTA_RANGE_SREG = 0x1
-+ NFTA_RANGE_OP = 0x2
-+ NFTA_RANGE_FROM_DATA = 0x3
-+ NFTA_RANGE_TO_DATA = 0x4
-+ NFT_LOOKUP_F_INV = 0x1
-+ NFTA_LOOKUP_UNSPEC = 0x0
-+ NFTA_LOOKUP_SET = 0x1
-+ NFTA_LOOKUP_SREG = 0x2
-+ NFTA_LOOKUP_DREG = 0x3
-+ NFTA_LOOKUP_SET_ID = 0x4
-+ NFTA_LOOKUP_FLAGS = 0x5
-+ NFT_DYNSET_OP_ADD = 0x0
-+ NFT_DYNSET_OP_UPDATE = 0x1
-+ NFT_DYNSET_F_INV = 0x1
-+ NFTA_DYNSET_UNSPEC = 0x0
-+ NFTA_DYNSET_SET_NAME = 0x1
-+ NFTA_DYNSET_SET_ID = 0x2
-+ NFTA_DYNSET_OP = 0x3
-+ NFTA_DYNSET_SREG_KEY = 0x4
-+ NFTA_DYNSET_SREG_DATA = 0x5
-+ NFTA_DYNSET_TIMEOUT = 0x6
-+ NFTA_DYNSET_EXPR = 0x7
-+ NFTA_DYNSET_PAD = 0x8
-+ NFTA_DYNSET_FLAGS = 0x9
-+ NFT_PAYLOAD_LL_HEADER = 0x0
-+ NFT_PAYLOAD_NETWORK_HEADER = 0x1
-+ NFT_PAYLOAD_TRANSPORT_HEADER = 0x2
-+ NFT_PAYLOAD_CSUM_NONE = 0x0
-+ NFT_PAYLOAD_CSUM_INET = 0x1
-+ NFT_PAYLOAD_L4CSUM_PSEUDOHDR = 0x1
-+ NFTA_PAYLOAD_UNSPEC = 0x0
-+ NFTA_PAYLOAD_DREG = 0x1
-+ NFTA_PAYLOAD_BASE = 0x2
-+ NFTA_PAYLOAD_OFFSET = 0x3
-+ NFTA_PAYLOAD_LEN = 0x4
-+ NFTA_PAYLOAD_SREG = 0x5
-+ NFTA_PAYLOAD_CSUM_TYPE = 0x6
-+ NFTA_PAYLOAD_CSUM_OFFSET = 0x7
-+ NFTA_PAYLOAD_CSUM_FLAGS = 0x8
-+ NFT_EXTHDR_F_PRESENT = 0x1
-+ NFT_EXTHDR_OP_IPV6 = 0x0
-+ NFT_EXTHDR_OP_TCPOPT = 0x1
-+ NFTA_EXTHDR_UNSPEC = 0x0
-+ NFTA_EXTHDR_DREG = 0x1
-+ NFTA_EXTHDR_TYPE = 0x2
-+ NFTA_EXTHDR_OFFSET = 0x3
-+ NFTA_EXTHDR_LEN = 0x4
-+ NFTA_EXTHDR_FLAGS = 0x5
-+ NFTA_EXTHDR_OP = 0x6
-+ NFTA_EXTHDR_SREG = 0x7
-+ NFT_META_LEN = 0x0
-+ NFT_META_PROTOCOL = 0x1
-+ NFT_META_PRIORITY = 0x2
-+ NFT_META_MARK = 0x3
-+ NFT_META_IIF = 0x4
-+ NFT_META_OIF = 0x5
-+ NFT_META_IIFNAME = 0x6
-+ NFT_META_OIFNAME = 0x7
-+ NFT_META_IIFTYPE = 0x8
-+ NFT_META_OIFTYPE = 0x9
-+ NFT_META_SKUID = 0xa
-+ NFT_META_SKGID = 0xb
-+ NFT_META_NFTRACE = 0xc
-+ NFT_META_RTCLASSID = 0xd
-+ NFT_META_SECMARK = 0xe
-+ NFT_META_NFPROTO = 0xf
-+ NFT_META_L4PROTO = 0x10
-+ NFT_META_BRI_IIFNAME = 0x11
-+ NFT_META_BRI_OIFNAME = 0x12
-+ NFT_META_PKTTYPE = 0x13
-+ NFT_META_CPU = 0x14
-+ NFT_META_IIFGROUP = 0x15
-+ NFT_META_OIFGROUP = 0x16
-+ NFT_META_CGROUP = 0x17
-+ NFT_META_PRANDOM = 0x18
-+ NFT_RT_CLASSID = 0x0
-+ NFT_RT_NEXTHOP4 = 0x1
-+ NFT_RT_NEXTHOP6 = 0x2
-+ NFT_RT_TCPMSS = 0x3
-+ NFT_HASH_JENKINS = 0x0
-+ NFT_HASH_SYM = 0x1
-+ NFTA_HASH_UNSPEC = 0x0
-+ NFTA_HASH_SREG = 0x1
-+ NFTA_HASH_DREG = 0x2
-+ NFTA_HASH_LEN = 0x3
-+ NFTA_HASH_MODULUS = 0x4
-+ NFTA_HASH_SEED = 0x5
-+ NFTA_HASH_OFFSET = 0x6
-+ NFTA_HASH_TYPE = 0x7
-+ NFTA_META_UNSPEC = 0x0
-+ NFTA_META_DREG = 0x1
-+ NFTA_META_KEY = 0x2
-+ NFTA_META_SREG = 0x3
-+ NFTA_RT_UNSPEC = 0x0
-+ NFTA_RT_DREG = 0x1
-+ NFTA_RT_KEY = 0x2
-+ NFT_CT_STATE = 0x0
-+ NFT_CT_DIRECTION = 0x1
-+ NFT_CT_STATUS = 0x2
-+ NFT_CT_MARK = 0x3
-+ NFT_CT_SECMARK = 0x4
-+ NFT_CT_EXPIRATION = 0x5
-+ NFT_CT_HELPER = 0x6
-+ NFT_CT_L3PROTOCOL = 0x7
-+ NFT_CT_SRC = 0x8
-+ NFT_CT_DST = 0x9
-+ NFT_CT_PROTOCOL = 0xa
-+ NFT_CT_PROTO_SRC = 0xb
-+ NFT_CT_PROTO_DST = 0xc
-+ NFT_CT_LABELS = 0xd
-+ NFT_CT_PKTS = 0xe
-+ NFT_CT_BYTES = 0xf
-+ NFT_CT_AVGPKT = 0x10
-+ NFT_CT_ZONE = 0x11
-+ NFT_CT_EVENTMASK = 0x12
-+ NFTA_CT_UNSPEC = 0x0
-+ NFTA_CT_DREG = 0x1
-+ NFTA_CT_KEY = 0x2
-+ NFTA_CT_DIRECTION = 0x3
-+ NFTA_CT_SREG = 0x4
-+ NFT_LIMIT_PKTS = 0x0
-+ NFT_LIMIT_PKT_BYTES = 0x1
-+ NFT_LIMIT_F_INV = 0x1
-+ NFTA_LIMIT_UNSPEC = 0x0
-+ NFTA_LIMIT_RATE = 0x1
-+ NFTA_LIMIT_UNIT = 0x2
-+ NFTA_LIMIT_BURST = 0x3
-+ NFTA_LIMIT_TYPE = 0x4
-+ NFTA_LIMIT_FLAGS = 0x5
-+ NFTA_LIMIT_PAD = 0x6
-+ NFTA_COUNTER_UNSPEC = 0x0
-+ NFTA_COUNTER_BYTES = 0x1
-+ NFTA_COUNTER_PACKETS = 0x2
-+ NFTA_COUNTER_PAD = 0x3
-+ NFTA_LOG_UNSPEC = 0x0
-+ NFTA_LOG_GROUP = 0x1
-+ NFTA_LOG_PREFIX = 0x2
-+ NFTA_LOG_SNAPLEN = 0x3
-+ NFTA_LOG_QTHRESHOLD = 0x4
-+ NFTA_LOG_LEVEL = 0x5
-+ NFTA_LOG_FLAGS = 0x6
-+ NFTA_QUEUE_UNSPEC = 0x0
-+ NFTA_QUEUE_NUM = 0x1
-+ NFTA_QUEUE_TOTAL = 0x2
-+ NFTA_QUEUE_FLAGS = 0x3
-+ NFTA_QUEUE_SREG_QNUM = 0x4
-+ NFT_QUOTA_F_INV = 0x1
-+ NFT_QUOTA_F_DEPLETED = 0x2
-+ NFTA_QUOTA_UNSPEC = 0x0
-+ NFTA_QUOTA_BYTES = 0x1
-+ NFTA_QUOTA_FLAGS = 0x2
-+ NFTA_QUOTA_PAD = 0x3
-+ NFTA_QUOTA_CONSUMED = 0x4
-+ NFT_REJECT_ICMP_UNREACH = 0x0
-+ NFT_REJECT_TCP_RST = 0x1
-+ NFT_REJECT_ICMPX_UNREACH = 0x2
-+ NFT_REJECT_ICMPX_NO_ROUTE = 0x0
-+ NFT_REJECT_ICMPX_PORT_UNREACH = 0x1
-+ NFT_REJECT_ICMPX_HOST_UNREACH = 0x2
-+ NFT_REJECT_ICMPX_ADMIN_PROHIBITED = 0x3
-+ NFTA_REJECT_UNSPEC = 0x0
-+ NFTA_REJECT_TYPE = 0x1
-+ NFTA_REJECT_ICMP_CODE = 0x2
-+ NFT_NAT_SNAT = 0x0
-+ NFT_NAT_DNAT = 0x1
-+ NFTA_NAT_UNSPEC = 0x0
-+ NFTA_NAT_TYPE = 0x1
-+ NFTA_NAT_FAMILY = 0x2
-+ NFTA_NAT_REG_ADDR_MIN = 0x3
-+ NFTA_NAT_REG_ADDR_MAX = 0x4
-+ NFTA_NAT_REG_PROTO_MIN = 0x5
-+ NFTA_NAT_REG_PROTO_MAX = 0x6
-+ NFTA_NAT_FLAGS = 0x7
-+ NFTA_MASQ_UNSPEC = 0x0
-+ NFTA_MASQ_FLAGS = 0x1
-+ NFTA_MASQ_REG_PROTO_MIN = 0x2
-+ NFTA_MASQ_REG_PROTO_MAX = 0x3
-+ NFTA_REDIR_UNSPEC = 0x0
-+ NFTA_REDIR_REG_PROTO_MIN = 0x1
-+ NFTA_REDIR_REG_PROTO_MAX = 0x2
-+ NFTA_REDIR_FLAGS = 0x3
-+ NFTA_DUP_UNSPEC = 0x0
-+ NFTA_DUP_SREG_ADDR = 0x1
-+ NFTA_DUP_SREG_DEV = 0x2
-+ NFTA_FWD_UNSPEC = 0x0
-+ NFTA_FWD_SREG_DEV = 0x1
-+ NFTA_OBJREF_UNSPEC = 0x0
-+ NFTA_OBJREF_IMM_TYPE = 0x1
-+ NFTA_OBJREF_IMM_NAME = 0x2
-+ NFTA_OBJREF_SET_SREG = 0x3
-+ NFTA_OBJREF_SET_NAME = 0x4
-+ NFTA_OBJREF_SET_ID = 0x5
-+ NFTA_GEN_UNSPEC = 0x0
-+ NFTA_GEN_ID = 0x1
-+ NFTA_GEN_PROC_PID = 0x2
-+ NFTA_GEN_PROC_NAME = 0x3
-+ NFTA_FIB_UNSPEC = 0x0
-+ NFTA_FIB_DREG = 0x1
-+ NFTA_FIB_RESULT = 0x2
-+ NFTA_FIB_FLAGS = 0x3
-+ NFT_FIB_RESULT_UNSPEC = 0x0
-+ NFT_FIB_RESULT_OIF = 0x1
-+ NFT_FIB_RESULT_OIFNAME = 0x2
-+ NFT_FIB_RESULT_ADDRTYPE = 0x3
-+ NFTA_FIB_F_SADDR = 0x1
-+ NFTA_FIB_F_DADDR = 0x2
-+ NFTA_FIB_F_MARK = 0x4
-+ NFTA_FIB_F_IIF = 0x8
-+ NFTA_FIB_F_OIF = 0x10
-+ NFTA_FIB_F_PRESENT = 0x20
-+ NFTA_CT_HELPER_UNSPEC = 0x0
-+ NFTA_CT_HELPER_NAME = 0x1
-+ NFTA_CT_HELPER_L3PROTO = 0x2
-+ NFTA_CT_HELPER_L4PROTO = 0x3
-+ NFTA_OBJ_UNSPEC = 0x0
-+ NFTA_OBJ_TABLE = 0x1
-+ NFTA_OBJ_NAME = 0x2
-+ NFTA_OBJ_TYPE = 0x3
-+ NFTA_OBJ_DATA = 0x4
-+ NFTA_OBJ_USE = 0x5
-+ NFTA_TRACE_UNSPEC = 0x0
-+ NFTA_TRACE_TABLE = 0x1
-+ NFTA_TRACE_CHAIN = 0x2
-+ NFTA_TRACE_RULE_HANDLE = 0x3
-+ NFTA_TRACE_TYPE = 0x4
-+ NFTA_TRACE_VERDICT = 0x5
-+ NFTA_TRACE_ID = 0x6
-+ NFTA_TRACE_LL_HEADER = 0x7
-+ NFTA_TRACE_NETWORK_HEADER = 0x8
-+ NFTA_TRACE_TRANSPORT_HEADER = 0x9
-+ NFTA_TRACE_IIF = 0xa
-+ NFTA_TRACE_IIFTYPE = 0xb
-+ NFTA_TRACE_OIF = 0xc
-+ NFTA_TRACE_OIFTYPE = 0xd
-+ NFTA_TRACE_MARK = 0xe
-+ NFTA_TRACE_NFPROTO = 0xf
-+ NFTA_TRACE_POLICY = 0x10
-+ NFTA_TRACE_PAD = 0x11
-+ NFT_TRACETYPE_UNSPEC = 0x0
-+ NFT_TRACETYPE_POLICY = 0x1
-+ NFT_TRACETYPE_RETURN = 0x2
-+ NFT_TRACETYPE_RULE = 0x3
-+ NFTA_NG_UNSPEC = 0x0
-+ NFTA_NG_DREG = 0x1
-+ NFTA_NG_MODULUS = 0x2
-+ NFTA_NG_TYPE = 0x3
-+ NFTA_NG_OFFSET = 0x4
-+ NFT_NG_INCREMENTAL = 0x0
-+ NFT_NG_RANDOM = 0x1
-+)
-+
-+type RTCTime struct {
-+ Sec int32
-+ Min int32
-+ Hour int32
-+ Mday int32
-+ Mon int32
-+ Year int32
-+ Wday int32
-+ Yday int32
-+ Isdst int32
-+}
-+
-+type RTCWkAlrm struct {
-+ Enabled uint8
-+ Pending uint8
-+ Time RTCTime
-+}
-+
-+type BlkpgIoctlArg struct {
-+ Op int32
-+ Flags int32
-+ Datalen int32
-+ Data *byte
-+}
-+
-+const (
-+ BLKPG_ADD_PARTITION = 0x1
-+ BLKPG_DEL_PARTITION = 0x2
-+ BLKPG_RESIZE_PARTITION = 0x3
-+)
-+
-+const (
-+ NETNSA_NONE = 0x0
-+ NETNSA_NSID = 0x1
-+ NETNSA_PID = 0x2
-+ NETNSA_FD = 0x3
-+)
-+
-+type XDPRingOffset struct {
-+ Producer uint64
-+ Consumer uint64
-+ Desc uint64
-+ Flags uint64
-+}
-+
-+type XDPMmapOffsets struct {
-+ Rx XDPRingOffset
-+ Tx XDPRingOffset
-+ Fr XDPRingOffset
-+ Cr XDPRingOffset
-+}
-+
-+type XDPStatistics struct {
-+ Rx_dropped uint64
-+ Rx_invalid_descs uint64
-+ Tx_invalid_descs uint64
-+}
-+
-+type XDPDesc struct {
-+ Addr uint64
-+ Len uint32
-+ Options uint32
-+}
-+
-+const (
-+ NCSI_CMD_UNSPEC = 0x0
-+ NCSI_CMD_PKG_INFO = 0x1
-+ NCSI_CMD_SET_INTERFACE = 0x2
-+ NCSI_CMD_CLEAR_INTERFACE = 0x3
-+ NCSI_ATTR_UNSPEC = 0x0
-+ NCSI_ATTR_IFINDEX = 0x1
-+ NCSI_ATTR_PACKAGE_LIST = 0x2
-+ NCSI_ATTR_PACKAGE_ID = 0x3
-+ NCSI_ATTR_CHANNEL_ID = 0x4
-+ NCSI_PKG_ATTR_UNSPEC = 0x0
-+ NCSI_PKG_ATTR = 0x1
-+ NCSI_PKG_ATTR_ID = 0x2
-+ NCSI_PKG_ATTR_FORCED = 0x3
-+ NCSI_PKG_ATTR_CHANNEL_LIST = 0x4
-+ NCSI_CHANNEL_ATTR_UNSPEC = 0x0
-+ NCSI_CHANNEL_ATTR = 0x1
-+ NCSI_CHANNEL_ATTR_ID = 0x2
-+ NCSI_CHANNEL_ATTR_VERSION_MAJOR = 0x3
-+ NCSI_CHANNEL_ATTR_VERSION_MINOR = 0x4
-+ NCSI_CHANNEL_ATTR_VERSION_STR = 0x5
-+ NCSI_CHANNEL_ATTR_LINK_STATE = 0x6
-+ NCSI_CHANNEL_ATTR_ACTIVE = 0x7
-+ NCSI_CHANNEL_ATTR_FORCED = 0x8
-+ NCSI_CHANNEL_ATTR_VLAN_LIST = 0x9
-+ NCSI_CHANNEL_ATTR_VLAN_ID = 0xa
-+)
-+
-+type ScmTimestamping struct {
-+ Ts [3]Timespec
-+}
-+
-+const (
-+ SOF_TIMESTAMPING_TX_HARDWARE = 0x1
-+ SOF_TIMESTAMPING_TX_SOFTWARE = 0x2
-+ SOF_TIMESTAMPING_RX_HARDWARE = 0x4
-+ SOF_TIMESTAMPING_RX_SOFTWARE = 0x8
-+ SOF_TIMESTAMPING_SOFTWARE = 0x10
-+ SOF_TIMESTAMPING_SYS_HARDWARE = 0x20
-+ SOF_TIMESTAMPING_RAW_HARDWARE = 0x40
-+ SOF_TIMESTAMPING_OPT_ID = 0x80
-+ SOF_TIMESTAMPING_TX_SCHED = 0x100
-+ SOF_TIMESTAMPING_TX_ACK = 0x200
-+ SOF_TIMESTAMPING_OPT_CMSG = 0x400
-+ SOF_TIMESTAMPING_OPT_TSONLY = 0x800
-+ SOF_TIMESTAMPING_OPT_STATS = 0x1000
-+ SOF_TIMESTAMPING_OPT_PKTINFO = 0x2000
-+ SOF_TIMESTAMPING_OPT_TX_SWHW = 0x4000
-+
-+ SOF_TIMESTAMPING_LAST = 0x4000
-+ SOF_TIMESTAMPING_MASK = 0x7fff
-+
-+ SCM_TSTAMP_SND = 0x0
-+ SCM_TSTAMP_SCHED = 0x1
-+ SCM_TSTAMP_ACK = 0x2
-+)
-+
-+type SockExtendedErr struct {
-+ Errno uint32
-+ Origin uint8
-+ Type uint8
-+ Code uint8
-+ Pad uint8
-+ Info uint32
-+ Data uint32
-+}
-+
-+type FanotifyEventMetadata struct {
-+ Event_len uint32
-+ Vers uint8
-+ Reserved uint8
-+ Metadata_len uint16
-+ Mask uint64
-+ Fd int32
-+ Pid int32
-+}
-+
-+type FanotifyResponse struct {
-+ Fd int32
-+ Response uint32
-+}
-+
-+const (
-+ CRYPTO_MSG_BASE = 0x10
-+ CRYPTO_MSG_NEWALG = 0x10
-+ CRYPTO_MSG_DELALG = 0x11
-+ CRYPTO_MSG_UPDATEALG = 0x12
-+ CRYPTO_MSG_GETALG = 0x13
-+ CRYPTO_MSG_DELRNG = 0x14
-+ CRYPTO_MSG_GETSTAT = 0x15
-+)
-+
-+const (
-+ CRYPTOCFGA_UNSPEC = 0x0
-+ CRYPTOCFGA_PRIORITY_VAL = 0x1
-+ CRYPTOCFGA_REPORT_LARVAL = 0x2
-+ CRYPTOCFGA_REPORT_HASH = 0x3
-+ CRYPTOCFGA_REPORT_BLKCIPHER = 0x4
-+ CRYPTOCFGA_REPORT_AEAD = 0x5
-+ CRYPTOCFGA_REPORT_COMPRESS = 0x6
-+ CRYPTOCFGA_REPORT_RNG = 0x7
-+ CRYPTOCFGA_REPORT_CIPHER = 0x8
-+ CRYPTOCFGA_REPORT_AKCIPHER = 0x9
-+ CRYPTOCFGA_REPORT_KPP = 0xa
-+ CRYPTOCFGA_REPORT_ACOMP = 0xb
-+ CRYPTOCFGA_STAT_LARVAL = 0xc
-+ CRYPTOCFGA_STAT_HASH = 0xd
-+ CRYPTOCFGA_STAT_BLKCIPHER = 0xe
-+ CRYPTOCFGA_STAT_AEAD = 0xf
-+ CRYPTOCFGA_STAT_COMPRESS = 0x10
-+ CRYPTOCFGA_STAT_RNG = 0x11
-+ CRYPTOCFGA_STAT_CIPHER = 0x12
-+ CRYPTOCFGA_STAT_AKCIPHER = 0x13
-+ CRYPTOCFGA_STAT_KPP = 0x14
-+ CRYPTOCFGA_STAT_ACOMP = 0x15
-+)
-+
-+const (
-+ BPF_REG_0 = 0x0
-+ BPF_REG_1 = 0x1
-+ BPF_REG_2 = 0x2
-+ BPF_REG_3 = 0x3
-+ BPF_REG_4 = 0x4
-+ BPF_REG_5 = 0x5
-+ BPF_REG_6 = 0x6
-+ BPF_REG_7 = 0x7
-+ BPF_REG_8 = 0x8
-+ BPF_REG_9 = 0x9
-+ BPF_REG_10 = 0xa
-+ BPF_MAP_CREATE = 0x0
-+ BPF_MAP_LOOKUP_ELEM = 0x1
-+ BPF_MAP_UPDATE_ELEM = 0x2
-+ BPF_MAP_DELETE_ELEM = 0x3
-+ BPF_MAP_GET_NEXT_KEY = 0x4
-+ BPF_PROG_LOAD = 0x5
-+ BPF_OBJ_PIN = 0x6
-+ BPF_OBJ_GET = 0x7
-+ BPF_PROG_ATTACH = 0x8
-+ BPF_PROG_DETACH = 0x9
-+ BPF_PROG_TEST_RUN = 0xa
-+ BPF_PROG_GET_NEXT_ID = 0xb
-+ BPF_MAP_GET_NEXT_ID = 0xc
-+ BPF_PROG_GET_FD_BY_ID = 0xd
-+ BPF_MAP_GET_FD_BY_ID = 0xe
-+ BPF_OBJ_GET_INFO_BY_FD = 0xf
-+ BPF_PROG_QUERY = 0x10
-+ BPF_RAW_TRACEPOINT_OPEN = 0x11
-+ BPF_BTF_LOAD = 0x12
-+ BPF_BTF_GET_FD_BY_ID = 0x13
-+ BPF_TASK_FD_QUERY = 0x14
-+ BPF_MAP_LOOKUP_AND_DELETE_ELEM = 0x15
-+ BPF_MAP_FREEZE = 0x16
-+ BPF_BTF_GET_NEXT_ID = 0x17
-+ BPF_MAP_TYPE_UNSPEC = 0x0
-+ BPF_MAP_TYPE_HASH = 0x1
-+ BPF_MAP_TYPE_ARRAY = 0x2
-+ BPF_MAP_TYPE_PROG_ARRAY = 0x3
-+ BPF_MAP_TYPE_PERF_EVENT_ARRAY = 0x4
-+ BPF_MAP_TYPE_PERCPU_HASH = 0x5
-+ BPF_MAP_TYPE_PERCPU_ARRAY = 0x6
-+ BPF_MAP_TYPE_STACK_TRACE = 0x7
-+ BPF_MAP_TYPE_CGROUP_ARRAY = 0x8
-+ BPF_MAP_TYPE_LRU_HASH = 0x9
-+ BPF_MAP_TYPE_LRU_PERCPU_HASH = 0xa
-+ BPF_MAP_TYPE_LPM_TRIE = 0xb
-+ BPF_MAP_TYPE_ARRAY_OF_MAPS = 0xc
-+ BPF_MAP_TYPE_HASH_OF_MAPS = 0xd
-+ BPF_MAP_TYPE_DEVMAP = 0xe
-+ BPF_MAP_TYPE_SOCKMAP = 0xf
-+ BPF_MAP_TYPE_CPUMAP = 0x10
-+ BPF_MAP_TYPE_XSKMAP = 0x11
-+ BPF_MAP_TYPE_SOCKHASH = 0x12
-+ BPF_MAP_TYPE_CGROUP_STORAGE = 0x13
-+ BPF_MAP_TYPE_REUSEPORT_SOCKARRAY = 0x14
-+ BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE = 0x15
-+ BPF_MAP_TYPE_QUEUE = 0x16
-+ BPF_MAP_TYPE_STACK = 0x17
-+ BPF_MAP_TYPE_SK_STORAGE = 0x18
-+ BPF_MAP_TYPE_DEVMAP_HASH = 0x19
-+ BPF_PROG_TYPE_UNSPEC = 0x0
-+ BPF_PROG_TYPE_SOCKET_FILTER = 0x1
-+ BPF_PROG_TYPE_KPROBE = 0x2
-+ BPF_PROG_TYPE_SCHED_CLS = 0x3
-+ BPF_PROG_TYPE_SCHED_ACT = 0x4
-+ BPF_PROG_TYPE_TRACEPOINT = 0x5
-+ BPF_PROG_TYPE_XDP = 0x6
-+ BPF_PROG_TYPE_PERF_EVENT = 0x7
-+ BPF_PROG_TYPE_CGROUP_SKB = 0x8
-+ BPF_PROG_TYPE_CGROUP_SOCK = 0x9
-+ BPF_PROG_TYPE_LWT_IN = 0xa
-+ BPF_PROG_TYPE_LWT_OUT = 0xb
-+ BPF_PROG_TYPE_LWT_XMIT = 0xc
-+ BPF_PROG_TYPE_SOCK_OPS = 0xd
-+ BPF_PROG_TYPE_SK_SKB = 0xe
-+ BPF_PROG_TYPE_CGROUP_DEVICE = 0xf
-+ BPF_PROG_TYPE_SK_MSG = 0x10
-+ BPF_PROG_TYPE_RAW_TRACEPOINT = 0x11
-+ BPF_PROG_TYPE_CGROUP_SOCK_ADDR = 0x12
-+ BPF_PROG_TYPE_LWT_SEG6LOCAL = 0x13
-+ BPF_PROG_TYPE_LIRC_MODE2 = 0x14
-+ BPF_PROG_TYPE_SK_REUSEPORT = 0x15
-+ BPF_PROG_TYPE_FLOW_DISSECTOR = 0x16
-+ BPF_PROG_TYPE_CGROUP_SYSCTL = 0x17
-+ BPF_PROG_TYPE_RAW_TRACEPOINT_WRITABLE = 0x18
-+ BPF_PROG_TYPE_CGROUP_SOCKOPT = 0x19
-+ BPF_PROG_TYPE_TRACING = 0x1a
-+ BPF_CGROUP_INET_INGRESS = 0x0
-+ BPF_CGROUP_INET_EGRESS = 0x1
-+ BPF_CGROUP_INET_SOCK_CREATE = 0x2
-+ BPF_CGROUP_SOCK_OPS = 0x3
-+ BPF_SK_SKB_STREAM_PARSER = 0x4
-+ BPF_SK_SKB_STREAM_VERDICT = 0x5
-+ BPF_CGROUP_DEVICE = 0x6
-+ BPF_SK_MSG_VERDICT = 0x7
-+ BPF_CGROUP_INET4_BIND = 0x8
-+ BPF_CGROUP_INET6_BIND = 0x9
-+ BPF_CGROUP_INET4_CONNECT = 0xa
-+ BPF_CGROUP_INET6_CONNECT = 0xb
-+ BPF_CGROUP_INET4_POST_BIND = 0xc
-+ BPF_CGROUP_INET6_POST_BIND = 0xd
-+ BPF_CGROUP_UDP4_SENDMSG = 0xe
-+ BPF_CGROUP_UDP6_SENDMSG = 0xf
-+ BPF_LIRC_MODE2 = 0x10
-+ BPF_FLOW_DISSECTOR = 0x11
-+ BPF_CGROUP_SYSCTL = 0x12
-+ BPF_CGROUP_UDP4_RECVMSG = 0x13
-+ BPF_CGROUP_UDP6_RECVMSG = 0x14
-+ BPF_CGROUP_GETSOCKOPT = 0x15
-+ BPF_CGROUP_SETSOCKOPT = 0x16
-+ BPF_TRACE_RAW_TP = 0x17
-+ BPF_TRACE_FENTRY = 0x18
-+ BPF_TRACE_FEXIT = 0x19
-+ BPF_STACK_BUILD_ID_EMPTY = 0x0
-+ BPF_STACK_BUILD_ID_VALID = 0x1
-+ BPF_STACK_BUILD_ID_IP = 0x2
-+ BPF_ADJ_ROOM_NET = 0x0
-+ BPF_ADJ_ROOM_MAC = 0x1
-+ BPF_HDR_START_MAC = 0x0
-+ BPF_HDR_START_NET = 0x1
-+ BPF_LWT_ENCAP_SEG6 = 0x0
-+ BPF_LWT_ENCAP_SEG6_INLINE = 0x1
-+ BPF_LWT_ENCAP_IP = 0x2
-+ BPF_OK = 0x0
-+ BPF_DROP = 0x2
-+ BPF_REDIRECT = 0x7
-+ BPF_LWT_REROUTE = 0x80
-+ BPF_SOCK_OPS_VOID = 0x0
-+ BPF_SOCK_OPS_TIMEOUT_INIT = 0x1
-+ BPF_SOCK_OPS_RWND_INIT = 0x2
-+ BPF_SOCK_OPS_TCP_CONNECT_CB = 0x3
-+ BPF_SOCK_OPS_ACTIVE_ESTABLISHED_CB = 0x4
-+ BPF_SOCK_OPS_PASSIVE_ESTABLISHED_CB = 0x5
-+ BPF_SOCK_OPS_NEEDS_ECN = 0x6
-+ BPF_SOCK_OPS_BASE_RTT = 0x7
-+ BPF_SOCK_OPS_RTO_CB = 0x8
-+ BPF_SOCK_OPS_RETRANS_CB = 0x9
-+ BPF_SOCK_OPS_STATE_CB = 0xa
-+ BPF_SOCK_OPS_TCP_LISTEN_CB = 0xb
-+ BPF_SOCK_OPS_RTT_CB = 0xc
-+ BPF_TCP_ESTABLISHED = 0x1
-+ BPF_TCP_SYN_SENT = 0x2
-+ BPF_TCP_SYN_RECV = 0x3
-+ BPF_TCP_FIN_WAIT1 = 0x4
-+ BPF_TCP_FIN_WAIT2 = 0x5
-+ BPF_TCP_TIME_WAIT = 0x6
-+ BPF_TCP_CLOSE = 0x7
-+ BPF_TCP_CLOSE_WAIT = 0x8
-+ BPF_TCP_LAST_ACK = 0x9
-+ BPF_TCP_LISTEN = 0xa
-+ BPF_TCP_CLOSING = 0xb
-+ BPF_TCP_NEW_SYN_RECV = 0xc
-+ BPF_TCP_MAX_STATES = 0xd
-+ BPF_FIB_LKUP_RET_SUCCESS = 0x0
-+ BPF_FIB_LKUP_RET_BLACKHOLE = 0x1
-+ BPF_FIB_LKUP_RET_UNREACHABLE = 0x2
-+ BPF_FIB_LKUP_RET_PROHIBIT = 0x3
-+ BPF_FIB_LKUP_RET_NOT_FWDED = 0x4
-+ BPF_FIB_LKUP_RET_FWD_DISABLED = 0x5
-+ BPF_FIB_LKUP_RET_UNSUPP_LWT = 0x6
-+ BPF_FIB_LKUP_RET_NO_NEIGH = 0x7
-+ BPF_FIB_LKUP_RET_FRAG_NEEDED = 0x8
-+ BPF_FD_TYPE_RAW_TRACEPOINT = 0x0
-+ BPF_FD_TYPE_TRACEPOINT = 0x1
-+ BPF_FD_TYPE_KPROBE = 0x2
-+ BPF_FD_TYPE_KRETPROBE = 0x3
-+ BPF_FD_TYPE_UPROBE = 0x4
-+ BPF_FD_TYPE_URETPROBE = 0x5
-+)
-+
-+const (
-+ RTNLGRP_NONE = 0x0
-+ RTNLGRP_LINK = 0x1
-+ RTNLGRP_NOTIFY = 0x2
-+ RTNLGRP_NEIGH = 0x3
-+ RTNLGRP_TC = 0x4
-+ RTNLGRP_IPV4_IFADDR = 0x5
-+ RTNLGRP_IPV4_MROUTE = 0x6
-+ RTNLGRP_IPV4_ROUTE = 0x7
-+ RTNLGRP_IPV4_RULE = 0x8
-+ RTNLGRP_IPV6_IFADDR = 0x9
-+ RTNLGRP_IPV6_MROUTE = 0xa
-+ RTNLGRP_IPV6_ROUTE = 0xb
-+ RTNLGRP_IPV6_IFINFO = 0xc
-+ RTNLGRP_DECnet_IFADDR = 0xd
-+ RTNLGRP_NOP2 = 0xe
-+ RTNLGRP_DECnet_ROUTE = 0xf
-+ RTNLGRP_DECnet_RULE = 0x10
-+ RTNLGRP_NOP4 = 0x11
-+ RTNLGRP_IPV6_PREFIX = 0x12
-+ RTNLGRP_IPV6_RULE = 0x13
-+ RTNLGRP_ND_USEROPT = 0x14
-+ RTNLGRP_PHONET_IFADDR = 0x15
-+ RTNLGRP_PHONET_ROUTE = 0x16
-+ RTNLGRP_DCB = 0x17
-+ RTNLGRP_IPV4_NETCONF = 0x18
-+ RTNLGRP_IPV6_NETCONF = 0x19
-+ RTNLGRP_MDB = 0x1a
-+ RTNLGRP_MPLS_ROUTE = 0x1b
-+ RTNLGRP_NSID = 0x1c
-+ RTNLGRP_MPLS_NETCONF = 0x1d
-+ RTNLGRP_IPV4_MROUTE_R = 0x1e
-+ RTNLGRP_IPV6_MROUTE_R = 0x1f
-+ RTNLGRP_NEXTHOP = 0x20
-+)
-+
-+type CapUserHeader struct {
-+ Version uint32
-+ Pid int32
-+}
-+
-+type CapUserData struct {
-+ Effective uint32
-+ Permitted uint32
-+ Inheritable uint32
-+}
-+
-+const (
-+ LINUX_CAPABILITY_VERSION_1 = 0x19980330
-+ LINUX_CAPABILITY_VERSION_2 = 0x20071026
-+ LINUX_CAPABILITY_VERSION_3 = 0x20080522
-+)
-+
-+const (
-+ LO_FLAGS_READ_ONLY = 0x1
-+ LO_FLAGS_AUTOCLEAR = 0x4
-+ LO_FLAGS_PARTSCAN = 0x8
-+ LO_FLAGS_DIRECT_IO = 0x10
-+)
-+
-+type LoopInfo64 struct {
-+ Device uint64
-+ Inode uint64
-+ Rdevice uint64
-+ Offset uint64
-+ Sizelimit uint64
-+ Number uint32
-+ Encrypt_type uint32
-+ Encrypt_key_size uint32
-+ Flags uint32
-+ File_name [64]uint8
-+ Crypt_name [64]uint8
-+ Encrypt_key [32]uint8
-+ Init [2]uint64
-+}
-+
-+type TIPCSocketAddr struct {
-+ Ref uint32
-+ Node uint32
-+}
-+
-+type TIPCServiceRange struct {
-+ Type uint32
-+ Lower uint32
-+ Upper uint32
-+}
-+
-+type TIPCServiceName struct {
-+ Type uint32
-+ Instance uint32
-+ Domain uint32
-+}
-+
-+type TIPCEvent struct {
-+ Event uint32
-+ Lower uint32
-+ Upper uint32
-+ Port TIPCSocketAddr
-+ S TIPCSubscr
-+}
-+
-+type TIPCGroupReq struct {
-+ Type uint32
-+ Instance uint32
-+ Scope uint32
-+ Flags uint32
-+}
-+
-+const (
-+ TIPC_CLUSTER_SCOPE = 0x2
-+ TIPC_NODE_SCOPE = 0x3
-+)
-+
-+const (
-+ SYSLOG_ACTION_CLOSE = 0
-+ SYSLOG_ACTION_OPEN = 1
-+ SYSLOG_ACTION_READ = 2
-+ SYSLOG_ACTION_READ_ALL = 3
-+ SYSLOG_ACTION_READ_CLEAR = 4
-+ SYSLOG_ACTION_CLEAR = 5
-+ SYSLOG_ACTION_CONSOLE_OFF = 6
-+ SYSLOG_ACTION_CONSOLE_ON = 7
-+ SYSLOG_ACTION_CONSOLE_LEVEL = 8
-+ SYSLOG_ACTION_SIZE_UNREAD = 9
-+ SYSLOG_ACTION_SIZE_BUFFER = 10
-+)
-+
-+const (
-+ DEVLINK_CMD_UNSPEC = 0x0
-+ DEVLINK_CMD_GET = 0x1
-+ DEVLINK_CMD_SET = 0x2
-+ DEVLINK_CMD_NEW = 0x3
-+ DEVLINK_CMD_DEL = 0x4
-+ DEVLINK_CMD_PORT_GET = 0x5
-+ DEVLINK_CMD_PORT_SET = 0x6
-+ DEVLINK_CMD_PORT_NEW = 0x7
-+ DEVLINK_CMD_PORT_DEL = 0x8
-+ DEVLINK_CMD_PORT_SPLIT = 0x9
-+ DEVLINK_CMD_PORT_UNSPLIT = 0xa
-+ DEVLINK_CMD_SB_GET = 0xb
-+ DEVLINK_CMD_SB_SET = 0xc
-+ DEVLINK_CMD_SB_NEW = 0xd
-+ DEVLINK_CMD_SB_DEL = 0xe
-+ DEVLINK_CMD_SB_POOL_GET = 0xf
-+ DEVLINK_CMD_SB_POOL_SET = 0x10
-+ DEVLINK_CMD_SB_POOL_NEW = 0x11
-+ DEVLINK_CMD_SB_POOL_DEL = 0x12
-+ DEVLINK_CMD_SB_PORT_POOL_GET = 0x13
-+ DEVLINK_CMD_SB_PORT_POOL_SET = 0x14
-+ DEVLINK_CMD_SB_PORT_POOL_NEW = 0x15
-+ DEVLINK_CMD_SB_PORT_POOL_DEL = 0x16
-+ DEVLINK_CMD_SB_TC_POOL_BIND_GET = 0x17
-+ DEVLINK_CMD_SB_TC_POOL_BIND_SET = 0x18
-+ DEVLINK_CMD_SB_TC_POOL_BIND_NEW = 0x19
-+ DEVLINK_CMD_SB_TC_POOL_BIND_DEL = 0x1a
-+ DEVLINK_CMD_SB_OCC_SNAPSHOT = 0x1b
-+ DEVLINK_CMD_SB_OCC_MAX_CLEAR = 0x1c
-+ DEVLINK_CMD_ESWITCH_GET = 0x1d
-+ DEVLINK_CMD_ESWITCH_SET = 0x1e
-+ DEVLINK_CMD_DPIPE_TABLE_GET = 0x1f
-+ DEVLINK_CMD_DPIPE_ENTRIES_GET = 0x20
-+ DEVLINK_CMD_DPIPE_HEADERS_GET = 0x21
-+ DEVLINK_CMD_DPIPE_TABLE_COUNTERS_SET = 0x22
-+ DEVLINK_CMD_MAX = 0x44
-+ DEVLINK_PORT_TYPE_NOTSET = 0x0
-+ DEVLINK_PORT_TYPE_AUTO = 0x1
-+ DEVLINK_PORT_TYPE_ETH = 0x2
-+ DEVLINK_PORT_TYPE_IB = 0x3
-+ DEVLINK_SB_POOL_TYPE_INGRESS = 0x0
-+ DEVLINK_SB_POOL_TYPE_EGRESS = 0x1
-+ DEVLINK_SB_THRESHOLD_TYPE_STATIC = 0x0
-+ DEVLINK_SB_THRESHOLD_TYPE_DYNAMIC = 0x1
-+ DEVLINK_ESWITCH_MODE_LEGACY = 0x0
-+ DEVLINK_ESWITCH_MODE_SWITCHDEV = 0x1
-+ DEVLINK_ESWITCH_INLINE_MODE_NONE = 0x0
-+ DEVLINK_ESWITCH_INLINE_MODE_LINK = 0x1
-+ DEVLINK_ESWITCH_INLINE_MODE_NETWORK = 0x2
-+ DEVLINK_ESWITCH_INLINE_MODE_TRANSPORT = 0x3
-+ DEVLINK_ESWITCH_ENCAP_MODE_NONE = 0x0
-+ DEVLINK_ESWITCH_ENCAP_MODE_BASIC = 0x1
-+ DEVLINK_ATTR_UNSPEC = 0x0
-+ DEVLINK_ATTR_BUS_NAME = 0x1
-+ DEVLINK_ATTR_DEV_NAME = 0x2
-+ DEVLINK_ATTR_PORT_INDEX = 0x3
-+ DEVLINK_ATTR_PORT_TYPE = 0x4
-+ DEVLINK_ATTR_PORT_DESIRED_TYPE = 0x5
-+ DEVLINK_ATTR_PORT_NETDEV_IFINDEX = 0x6
-+ DEVLINK_ATTR_PORT_NETDEV_NAME = 0x7
-+ DEVLINK_ATTR_PORT_IBDEV_NAME = 0x8
-+ DEVLINK_ATTR_PORT_SPLIT_COUNT = 0x9
-+ DEVLINK_ATTR_PORT_SPLIT_GROUP = 0xa
-+ DEVLINK_ATTR_SB_INDEX = 0xb
-+ DEVLINK_ATTR_SB_SIZE = 0xc
-+ DEVLINK_ATTR_SB_INGRESS_POOL_COUNT = 0xd
-+ DEVLINK_ATTR_SB_EGRESS_POOL_COUNT = 0xe
-+ DEVLINK_ATTR_SB_INGRESS_TC_COUNT = 0xf
-+ DEVLINK_ATTR_SB_EGRESS_TC_COUNT = 0x10
-+ DEVLINK_ATTR_SB_POOL_INDEX = 0x11
-+ DEVLINK_ATTR_SB_POOL_TYPE = 0x12
-+ DEVLINK_ATTR_SB_POOL_SIZE = 0x13
-+ DEVLINK_ATTR_SB_POOL_THRESHOLD_TYPE = 0x14
-+ DEVLINK_ATTR_SB_THRESHOLD = 0x15
-+ DEVLINK_ATTR_SB_TC_INDEX = 0x16
-+ DEVLINK_ATTR_SB_OCC_CUR = 0x17
-+ DEVLINK_ATTR_SB_OCC_MAX = 0x18
-+ DEVLINK_ATTR_ESWITCH_MODE = 0x19
-+ DEVLINK_ATTR_ESWITCH_INLINE_MODE = 0x1a
-+ DEVLINK_ATTR_DPIPE_TABLES = 0x1b
-+ DEVLINK_ATTR_DPIPE_TABLE = 0x1c
-+ DEVLINK_ATTR_DPIPE_TABLE_NAME = 0x1d
-+ DEVLINK_ATTR_DPIPE_TABLE_SIZE = 0x1e
-+ DEVLINK_ATTR_DPIPE_TABLE_MATCHES = 0x1f
-+ DEVLINK_ATTR_DPIPE_TABLE_ACTIONS = 0x20
-+ DEVLINK_ATTR_DPIPE_TABLE_COUNTERS_ENABLED = 0x21
-+ DEVLINK_ATTR_DPIPE_ENTRIES = 0x22
-+ DEVLINK_ATTR_DPIPE_ENTRY = 0x23
-+ DEVLINK_ATTR_DPIPE_ENTRY_INDEX = 0x24
-+ DEVLINK_ATTR_DPIPE_ENTRY_MATCH_VALUES = 0x25
-+ DEVLINK_ATTR_DPIPE_ENTRY_ACTION_VALUES = 0x26
-+ DEVLINK_ATTR_DPIPE_ENTRY_COUNTER = 0x27
-+ DEVLINK_ATTR_DPIPE_MATCH = 0x28
-+ DEVLINK_ATTR_DPIPE_MATCH_VALUE = 0x29
-+ DEVLINK_ATTR_DPIPE_MATCH_TYPE = 0x2a
-+ DEVLINK_ATTR_DPIPE_ACTION = 0x2b
-+ DEVLINK_ATTR_DPIPE_ACTION_VALUE = 0x2c
-+ DEVLINK_ATTR_DPIPE_ACTION_TYPE = 0x2d
-+ DEVLINK_ATTR_DPIPE_VALUE = 0x2e
-+ DEVLINK_ATTR_DPIPE_VALUE_MASK = 0x2f
-+ DEVLINK_ATTR_DPIPE_VALUE_MAPPING = 0x30
-+ DEVLINK_ATTR_DPIPE_HEADERS = 0x31
-+ DEVLINK_ATTR_DPIPE_HEADER = 0x32
-+ DEVLINK_ATTR_DPIPE_HEADER_NAME = 0x33
-+ DEVLINK_ATTR_DPIPE_HEADER_ID = 0x34
-+ DEVLINK_ATTR_DPIPE_HEADER_FIELDS = 0x35
-+ DEVLINK_ATTR_DPIPE_HEADER_GLOBAL = 0x36
-+ DEVLINK_ATTR_DPIPE_HEADER_INDEX = 0x37
-+ DEVLINK_ATTR_DPIPE_FIELD = 0x38
-+ DEVLINK_ATTR_DPIPE_FIELD_NAME = 0x39
-+ DEVLINK_ATTR_DPIPE_FIELD_ID = 0x3a
-+ DEVLINK_ATTR_DPIPE_FIELD_BITWIDTH = 0x3b
-+ DEVLINK_ATTR_DPIPE_FIELD_MAPPING_TYPE = 0x3c
-+ DEVLINK_ATTR_PAD = 0x3d
-+ DEVLINK_ATTR_ESWITCH_ENCAP_MODE = 0x3e
-+ DEVLINK_ATTR_MAX = 0x8c
-+ DEVLINK_DPIPE_FIELD_MAPPING_TYPE_NONE = 0x0
-+ DEVLINK_DPIPE_FIELD_MAPPING_TYPE_IFINDEX = 0x1
-+ DEVLINK_DPIPE_MATCH_TYPE_FIELD_EXACT = 0x0
-+ DEVLINK_DPIPE_ACTION_TYPE_FIELD_MODIFY = 0x0
-+ DEVLINK_DPIPE_FIELD_ETHERNET_DST_MAC = 0x0
-+ DEVLINK_DPIPE_FIELD_IPV4_DST_IP = 0x0
-+ DEVLINK_DPIPE_FIELD_IPV6_DST_IP = 0x0
-+ DEVLINK_DPIPE_HEADER_ETHERNET = 0x0
-+ DEVLINK_DPIPE_HEADER_IPV4 = 0x1
-+ DEVLINK_DPIPE_HEADER_IPV6 = 0x2
-+)
-+
-+type FsverityDigest struct {
-+ Algorithm uint16
-+ Size uint16
-+}
-+
-+type FsverityEnableArg struct {
-+ Version uint32
-+ Hash_algorithm uint32
-+ Block_size uint32
-+ Salt_size uint32
-+ Salt_ptr uint64
-+ Sig_size uint32
-+ _ uint32
-+ Sig_ptr uint64
-+ _ [11]uint64
-+}
-+
-+type Nhmsg struct {
-+ Family uint8
-+ Scope uint8
-+ Protocol uint8
-+ Resvd uint8
-+ Flags uint32
-+}
-+
-+type NexthopGrp struct {
-+ Id uint32
-+ Weight uint8
-+ Resvd1 uint8
-+ Resvd2 uint16
-+}
-+
-+const (
-+ NHA_UNSPEC = 0x0
-+ NHA_ID = 0x1
-+ NHA_GROUP = 0x2
-+ NHA_GROUP_TYPE = 0x3
-+ NHA_BLACKHOLE = 0x4
-+ NHA_OIF = 0x5
-+ NHA_GATEWAY = 0x6
-+ NHA_ENCAP_TYPE = 0x7
-+ NHA_ENCAP = 0x8
-+ NHA_GROUPS = 0x9
-+ NHA_MASTER = 0xa
-+)
-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 7b36896e..761b67c8 100644
---- a/vendor/golang.org/x/sys/unix/ztypes_linux_386.go
-+++ b/vendor/golang.org/x/sys/unix/ztypes_linux_386.go
-@@ -6,19 +6,12 @@
- package unix
-
- const (
-- sizeofPtr = 0x4
-- sizeofShort = 0x2
-- sizeofInt = 0x4
-- sizeofLong = 0x4
-- sizeofLongLong = 0x8
-- PathMax = 0x1000
-+ SizeofPtr = 0x4
-+ SizeofLong = 0x4
- )
-
- type (
-- _C_short int16
-- _C_int int32
-- _C_long int32
-- _C_long_long int64
-+ _C_long int32
- )
-
- type Timespec struct {
-@@ -52,7 +45,7 @@ type Timex struct {
- Errcnt int32
- Stbcnt int32
- Tai int32
-- Pad_cgo_0 [44]byte
-+ _ [44]byte
- }
-
- type Time_t int32
-@@ -88,60 +81,32 @@ type Rusage struct {
- Nivcsw int32
- }
-
--type Rlimit struct {
-- Cur uint64
-- Max uint64
--}
--
--type _Gid_t uint32
--
- type Stat_t struct {
-- Dev uint64
-- X__pad1 uint16
-- Pad_cgo_0 [2]byte
-- X__st_ino uint32
-- Mode uint32
-- Nlink uint32
-- Uid uint32
-- Gid uint32
-- Rdev uint64
-- X__pad2 uint16
-- Pad_cgo_1 [2]byte
-- Size int64
-- Blksize int32
-- Blocks int64
-- Atim Timespec
-- Mtim Timespec
-- Ctim Timespec
-- Ino uint64
--}
--
--type Statfs_t struct {
-- Type int32
-- Bsize int32
-- Blocks uint64
-- Bfree uint64
-- Bavail uint64
-- Files uint64
-- Ffree uint64
-- Fsid Fsid
-- Namelen int32
-- Frsize int32
-- Flags int32
-- Spare [4]int32
-+ Dev uint64
-+ _ uint16
-+ _ uint32
-+ Mode uint32
-+ Nlink uint32
-+ Uid uint32
-+ Gid uint32
-+ Rdev uint64
-+ _ uint16
-+ Size int64
-+ Blksize int32
-+ Blocks int64
-+ Atim Timespec
-+ Mtim Timespec
-+ Ctim Timespec
-+ Ino uint64
- }
-
- type Dirent struct {
-- Ino uint64
-- Off int64
-- Reclen uint16
-- Type uint8
-- Name [256]int8
-- Pad_cgo_0 [1]byte
--}
--
--type Fsid struct {
-- X__val [2]int32
-+ Ino uint64
-+ Off int64
-+ Reclen uint16
-+ Type uint8
-+ Name [256]int8
-+ _ [1]byte
- }
-
- type Flock_t struct {
-@@ -152,101 +117,11 @@ type Flock_t struct {
- Pid int32
- }
-
--type FscryptPolicy struct {
-- Version uint8
-- Contents_encryption_mode uint8
-- Filenames_encryption_mode uint8
-- Flags uint8
-- Master_key_descriptor [8]uint8
--}
--
--type FscryptKey struct {
-- Mode uint32
-- Raw [64]uint8
-- Size uint32
--}
--
--type KeyctlDHParams struct {
-- Private int32
-- Prime int32
-- Base int32
--}
--
- const (
-- FADV_NORMAL = 0x0
-- FADV_RANDOM = 0x1
-- FADV_SEQUENTIAL = 0x2
-- FADV_WILLNEED = 0x3
-- FADV_DONTNEED = 0x4
-- FADV_NOREUSE = 0x5
-+ FADV_DONTNEED = 0x4
-+ FADV_NOREUSE = 0x5
- )
-
--type RawSockaddrInet4 struct {
-- Family uint16
-- Port uint16
-- Addr [4]byte /* in_addr */
-- Zero [8]uint8
--}
--
--type RawSockaddrInet6 struct {
-- Family uint16
-- Port uint16
-- Flowinfo uint32
-- Addr [16]byte /* in6_addr */
-- Scope_id uint32
--}
--
--type RawSockaddrUnix struct {
-- Family uint16
-- Path [108]int8
--}
--
--type RawSockaddrLinklayer struct {
-- Family uint16
-- Protocol uint16
-- Ifindex int32
-- Hatype uint16
-- Pkttype uint8
-- Halen uint8
-- Addr [8]uint8
--}
--
--type RawSockaddrNetlink struct {
-- Family uint16
-- Pad uint16
-- Pid uint32
-- Groups uint32
--}
--
--type RawSockaddrHCI struct {
-- Family uint16
-- Dev uint16
-- Channel uint16
--}
--
--type RawSockaddrCAN struct {
-- Family uint16
-- Pad_cgo_0 [2]byte
-- Ifindex int32
-- Addr [8]byte
--}
--
--type RawSockaddrALG struct {
-- Family uint16
-- Type [14]uint8
-- Feat uint32
-- Mask uint32
-- Name [64]uint8
--}
--
--type RawSockaddrVM struct {
-- Family uint16
-- Reserved1 uint16
-- Port uint32
-- Cid uint32
-- Zero [4]uint8
--}
--
- type RawSockaddr struct {
- Family uint16
- Data [14]int8
-@@ -257,41 +132,11 @@ type RawSockaddrAny struct {
- Pad [96]int8
- }
-
--type _Socklen uint32
--
--type Linger struct {
-- Onoff int32
-- Linger int32
--}
--
- type Iovec struct {
- Base *byte
- Len uint32
- }
-
--type IPMreq struct {
-- Multiaddr [4]byte /* in_addr */
-- Interface [4]byte /* in_addr */
--}
--
--type IPMreqn struct {
-- Multiaddr [4]byte /* in_addr */
-- Address [4]byte /* in_addr */
-- Ifindex int32
--}
--
--type IPv6Mreq struct {
-- Multiaddr [16]byte /* in6_addr */
-- Interface uint32
--}
--
--type PacketMreq struct {
-- Ifindex int32
-- Type uint16
-- Alen uint16
-- Address [8]uint8
--}
--
- type Msghdr struct {
- Name *byte
- Namelen uint32
-@@ -308,277 +153,16 @@ type Cmsghdr struct {
- Type int32
- }
-
--type Inet4Pktinfo struct {
-- Ifindex int32
-- Spec_dst [4]byte /* in_addr */
-- Addr [4]byte /* in_addr */
--}
--
--type Inet6Pktinfo struct {
-- Addr [16]byte /* in6_addr */
-- Ifindex uint32
--}
--
--type IPv6MTUInfo struct {
-- Addr RawSockaddrInet6
-- Mtu uint32
--}
--
--type ICMPv6Filter struct {
-- Data [8]uint32
--}
--
--type Ucred struct {
-- Pid int32
-- Uid uint32
-- Gid uint32
--}
--
--type TCPInfo struct {
-- State uint8
-- Ca_state uint8
-- Retransmits uint8
-- Probes uint8
-- Backoff uint8
-- Options uint8
-- Pad_cgo_0 [2]byte
-- Rto uint32
-- Ato uint32
-- Snd_mss uint32
-- Rcv_mss uint32
-- Unacked uint32
-- Sacked uint32
-- Lost uint32
-- Retrans uint32
-- Fackets uint32
-- Last_data_sent uint32
-- Last_ack_sent uint32
-- Last_data_recv uint32
-- Last_ack_recv uint32
-- Pmtu uint32
-- Rcv_ssthresh uint32
-- Rtt uint32
-- Rttvar uint32
-- Snd_ssthresh uint32
-- Snd_cwnd uint32
-- Advmss uint32
-- Reordering uint32
-- Rcv_rtt uint32
-- Rcv_space uint32
-- Total_retrans uint32
--}
--
- const (
-- SizeofSockaddrInet4 = 0x10
-- SizeofSockaddrInet6 = 0x1c
-- SizeofSockaddrAny = 0x70
-- SizeofSockaddrUnix = 0x6e
-- SizeofSockaddrLinklayer = 0x14
-- SizeofSockaddrNetlink = 0xc
-- SizeofSockaddrHCI = 0x6
-- SizeofSockaddrCAN = 0x10
-- SizeofSockaddrALG = 0x58
-- SizeofSockaddrVM = 0x10
-- SizeofLinger = 0x8
-- SizeofIovec = 0x8
-- SizeofIPMreq = 0x8
-- SizeofIPMreqn = 0xc
-- SizeofIPv6Mreq = 0x14
-- SizeofPacketMreq = 0x10
-- SizeofMsghdr = 0x1c
-- SizeofCmsghdr = 0xc
-- SizeofInet4Pktinfo = 0xc
-- SizeofInet6Pktinfo = 0x14
-- SizeofIPv6MTUInfo = 0x20
-- SizeofICMPv6Filter = 0x20
-- SizeofUcred = 0xc
-- SizeofTCPInfo = 0x68
-+ SizeofIovec = 0x8
-+ SizeofMsghdr = 0x1c
-+ SizeofCmsghdr = 0xc
- )
-
- const (
-- IFA_UNSPEC = 0x0
-- IFA_ADDRESS = 0x1
-- IFA_LOCAL = 0x2
-- IFA_LABEL = 0x3
-- IFA_BROADCAST = 0x4
-- IFA_ANYCAST = 0x5
-- IFA_CACHEINFO = 0x6
-- IFA_MULTICAST = 0x7
-- IFLA_UNSPEC = 0x0
-- IFLA_ADDRESS = 0x1
-- IFLA_BROADCAST = 0x2
-- IFLA_IFNAME = 0x3
-- IFLA_MTU = 0x4
-- IFLA_LINK = 0x5
-- IFLA_QDISC = 0x6
-- IFLA_STATS = 0x7
-- IFLA_COST = 0x8
-- IFLA_PRIORITY = 0x9
-- IFLA_MASTER = 0xa
-- IFLA_WIRELESS = 0xb
-- IFLA_PROTINFO = 0xc
-- IFLA_TXQLEN = 0xd
-- IFLA_MAP = 0xe
-- IFLA_WEIGHT = 0xf
-- IFLA_OPERSTATE = 0x10
-- IFLA_LINKMODE = 0x11
-- IFLA_LINKINFO = 0x12
-- IFLA_NET_NS_PID = 0x13
-- IFLA_IFALIAS = 0x14
-- IFLA_MAX = 0x2b
-- RT_SCOPE_UNIVERSE = 0x0
-- RT_SCOPE_SITE = 0xc8
-- RT_SCOPE_LINK = 0xfd
-- RT_SCOPE_HOST = 0xfe
-- RT_SCOPE_NOWHERE = 0xff
-- RT_TABLE_UNSPEC = 0x0
-- RT_TABLE_COMPAT = 0xfc
-- RT_TABLE_DEFAULT = 0xfd
-- RT_TABLE_MAIN = 0xfe
-- RT_TABLE_LOCAL = 0xff
-- RT_TABLE_MAX = 0xffffffff
-- RTA_UNSPEC = 0x0
-- RTA_DST = 0x1
-- RTA_SRC = 0x2
-- RTA_IIF = 0x3
-- RTA_OIF = 0x4
-- RTA_GATEWAY = 0x5
-- RTA_PRIORITY = 0x6
-- RTA_PREFSRC = 0x7
-- RTA_METRICS = 0x8
-- RTA_MULTIPATH = 0x9
-- RTA_FLOW = 0xb
-- RTA_CACHEINFO = 0xc
-- RTA_TABLE = 0xf
-- RTN_UNSPEC = 0x0
-- RTN_UNICAST = 0x1
-- RTN_LOCAL = 0x2
-- RTN_BROADCAST = 0x3
-- RTN_ANYCAST = 0x4
-- RTN_MULTICAST = 0x5
-- RTN_BLACKHOLE = 0x6
-- RTN_UNREACHABLE = 0x7
-- RTN_PROHIBIT = 0x8
-- RTN_THROW = 0x9
-- RTN_NAT = 0xa
-- RTN_XRESOLVE = 0xb
-- RTNLGRP_NONE = 0x0
-- RTNLGRP_LINK = 0x1
-- RTNLGRP_NOTIFY = 0x2
-- RTNLGRP_NEIGH = 0x3
-- RTNLGRP_TC = 0x4
-- RTNLGRP_IPV4_IFADDR = 0x5
-- RTNLGRP_IPV4_MROUTE = 0x6
-- RTNLGRP_IPV4_ROUTE = 0x7
-- RTNLGRP_IPV4_RULE = 0x8
-- RTNLGRP_IPV6_IFADDR = 0x9
-- RTNLGRP_IPV6_MROUTE = 0xa
-- RTNLGRP_IPV6_ROUTE = 0xb
-- RTNLGRP_IPV6_IFINFO = 0xc
-- RTNLGRP_IPV6_PREFIX = 0x12
-- RTNLGRP_IPV6_RULE = 0x13
-- RTNLGRP_ND_USEROPT = 0x14
-- SizeofNlMsghdr = 0x10
-- SizeofNlMsgerr = 0x14
-- SizeofRtGenmsg = 0x1
-- SizeofNlAttr = 0x4
-- SizeofRtAttr = 0x4
-- SizeofIfInfomsg = 0x10
-- SizeofIfAddrmsg = 0x8
-- SizeofRtMsg = 0xc
-- SizeofRtNexthop = 0x8
-+ SizeofSockFprog = 0x8
- )
-
--type NlMsghdr struct {
-- Len uint32
-- Type uint16
-- Flags uint16
-- Seq uint32
-- Pid uint32
--}
--
--type NlMsgerr struct {
-- Error int32
-- Msg NlMsghdr
--}
--
--type RtGenmsg struct {
-- Family uint8
--}
--
--type NlAttr struct {
-- Len uint16
-- Type uint16
--}
--
--type RtAttr struct {
-- Len uint16
-- Type uint16
--}
--
--type IfInfomsg struct {
-- Family uint8
-- X__ifi_pad uint8
-- Type uint16
-- Index int32
-- Flags uint32
-- Change uint32
--}
--
--type IfAddrmsg struct {
-- Family uint8
-- Prefixlen uint8
-- Flags uint8
-- Scope uint8
-- Index uint32
--}
--
--type RtMsg struct {
-- Family uint8
-- Dst_len uint8
-- Src_len uint8
-- Tos uint8
-- Table uint8
-- Protocol uint8
-- Scope uint8
-- Type uint8
-- Flags uint32
--}
--
--type RtNexthop struct {
-- Len uint16
-- Flags uint8
-- Hops uint8
-- Ifindex int32
--}
--
--const (
-- SizeofSockFilter = 0x8
-- SizeofSockFprog = 0x8
--)
--
--type SockFilter struct {
-- Code uint16
-- Jt uint8
-- Jf uint8
-- K uint32
--}
--
--type SockFprog struct {
-- Len uint16
-- Pad_cgo_0 [2]byte
-- Filter *SockFilter
--}
--
--type InotifyEvent struct {
-- Wd int32
-- Mask uint32
-- Cookie uint32
-- Len uint32
--}
--
--const SizeofInotifyEvent = 0x10
--
- type PtraceRegs struct {
- Ebx int32
- Ecx int32
-@@ -617,16 +201,7 @@ type Sysinfo_t struct {
- Totalhigh uint32
- Freehigh uint32
- Unit uint32
-- X_f [8]int8
--}
--
--type Utsname struct {
-- Sysname [65]int8
-- Nodename [65]int8
-- Release [65]int8
-- Version [65]int8
-- Machine [65]int8
-- Domainname [65]int8
-+ _ [8]int8
- }
-
- type Ustat_t struct {
-@@ -643,37 +218,14 @@ type EpollEvent struct {
- }
-
- const (
-- AT_FDCWD = -0x64
-- AT_REMOVEDIR = 0x200
-- AT_SYMLINK_FOLLOW = 0x400
-- AT_SYMLINK_NOFOLLOW = 0x100
--)
--
--type PollFd struct {
-- Fd int32
-- Events int16
-- Revents int16
--}
--
--const (
-- POLLIN = 0x1
-- POLLPRI = 0x2
-- POLLOUT = 0x4
- POLLRDHUP = 0x2000
-- POLLERR = 0x8
-- POLLHUP = 0x10
-- POLLNVAL = 0x20
- )
-
- type Sigset_t struct {
-- X__val [32]uint32
-+ Val [32]uint32
- }
-
--const RNDGETENTCNT = 0x80045200
--
--const PERF_IOC_FLAG_GROUP = 0x1
--
--const _SC_PAGESIZE = 0x1e
-+const _C__NSIG = 0x41
-
- type Termios struct {
- Iflag uint32
-@@ -686,20 +238,12 @@ type Termios struct {
- Ospeed uint32
- }
-
--type Winsize struct {
-- Row uint16
-- Col uint16
-- Xpixel uint16
-- Ypixel uint16
--}
--
- type Taskstats struct {
- Version uint16
-- Pad_cgo_0 [2]byte
- Ac_exitcode uint32
- Ac_flag uint8
- Ac_nice uint8
-- Pad_cgo_1 [6]byte
-+ _ [4]byte
- Cpu_count uint64
- Cpu_delay_total uint64
- Blkio_count uint64
-@@ -711,13 +255,13 @@ type Taskstats struct {
- Ac_comm [32]int8
- Ac_sched uint8
- Ac_pad [3]uint8
-- Pad_cgo_2 [4]byte
-+ _ [4]byte
- Ac_uid uint32
- Ac_gid uint32
- Ac_pid uint32
- Ac_ppid uint32
- Ac_btime uint32
-- Pad_cgo_3 [4]byte
-+ _ [4]byte
- Ac_etime uint64
- Ac_utime uint64
- Ac_stime uint64
-@@ -741,55 +285,315 @@ type Taskstats struct {
- Cpu_scaled_run_real_total uint64
- Freepages_count uint64
- Freepages_delay_total uint64
-+ Thrashing_count uint64
-+ Thrashing_delay_total uint64
-+ Ac_btime64 uint64
-+}
-+
-+type cpuMask uint32
-+
-+const (
-+ _NCPUBITS = 0x20
-+)
-+
-+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
-+ _ [122]int8
-+ _ uint32
-+}
-+
-+type HDGeometry struct {
-+ Heads uint8
-+ Sectors uint8
-+ Cylinders uint16
-+ Start uint32
-+}
-+
-+type Statfs_t struct {
-+ Type int32
-+ Bsize int32
-+ Blocks uint64
-+ Bfree uint64
-+ Bavail uint64
-+ Files uint64
-+ Ffree uint64
-+ Fsid Fsid
-+ Namelen int32
-+ Frsize int32
-+ Flags int32
-+ Spare [4]int32
-+}
-+
-+type TpacketHdr struct {
-+ Status uint32
-+ Len uint32
-+ Snaplen uint32
-+ Mac uint16
-+ Net uint16
-+ Sec uint32
-+ Usec uint32
- }
-
- const (
-- TASKSTATS_CMD_UNSPEC = 0x0
-- TASKSTATS_CMD_GET = 0x1
-- TASKSTATS_CMD_NEW = 0x2
-- TASKSTATS_TYPE_UNSPEC = 0x0
-- TASKSTATS_TYPE_PID = 0x1
-- TASKSTATS_TYPE_TGID = 0x2
-- TASKSTATS_TYPE_STATS = 0x3
-- TASKSTATS_TYPE_AGGR_PID = 0x4
-- TASKSTATS_TYPE_AGGR_TGID = 0x5
-- TASKSTATS_TYPE_NULL = 0x6
-- TASKSTATS_CMD_ATTR_UNSPEC = 0x0
-- TASKSTATS_CMD_ATTR_PID = 0x1
-- TASKSTATS_CMD_ATTR_TGID = 0x2
-- TASKSTATS_CMD_ATTR_REGISTER_CPUMASK = 0x3
-- TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK = 0x4
-+ SizeofTpacketHdr = 0x18
- )
-
--type Genlmsghdr struct {
-- Cmd uint8
-- Version uint8
-- Reserved uint16
-+type RTCPLLInfo struct {
-+ Ctrl int32
-+ Value int32
-+ Max int32
-+ Min int32
-+ Posmult int32
-+ Negmult int32
-+ Clock int32
-+}
-+
-+type BlkpgPartition struct {
-+ Start int64
-+ Length int64
-+ Pno int32
-+ Devname [64]uint8
-+ Volname [64]uint8
- }
-
- const (
-- CTRL_CMD_UNSPEC = 0x0
-- CTRL_CMD_NEWFAMILY = 0x1
-- CTRL_CMD_DELFAMILY = 0x2
-- CTRL_CMD_GETFAMILY = 0x3
-- CTRL_CMD_NEWOPS = 0x4
-- CTRL_CMD_DELOPS = 0x5
-- CTRL_CMD_GETOPS = 0x6
-- CTRL_CMD_NEWMCAST_GRP = 0x7
-- CTRL_CMD_DELMCAST_GRP = 0x8
-- CTRL_CMD_GETMCAST_GRP = 0x9
-- CTRL_ATTR_UNSPEC = 0x0
-- CTRL_ATTR_FAMILY_ID = 0x1
-- CTRL_ATTR_FAMILY_NAME = 0x2
-- CTRL_ATTR_VERSION = 0x3
-- CTRL_ATTR_HDRSIZE = 0x4
-- CTRL_ATTR_MAXATTR = 0x5
-- CTRL_ATTR_OPS = 0x6
-- CTRL_ATTR_MCAST_GROUPS = 0x7
-- 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
-+ BLKPG = 0x1269
- )
-+
-+type XDPUmemReg struct {
-+ Addr uint64
-+ Len uint64
-+ Size uint32
-+ Headroom uint32
-+ Flags uint32
-+}
-+
-+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 uint16
-+ Inode uint32
-+ Rdevice uint16
-+ Offset int32
-+ Encrypt_type int32
-+ Encrypt_key_size int32
-+ Flags int32
-+ Name [64]int8
-+ Encrypt_key [32]uint8
-+ Init [2]uint32
-+ Reserved [4]int8
-+}
-+
-+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
-+}
-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 e54fa984..201fb348 100644
---- a/vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go
-+++ b/vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go
-@@ -6,19 +6,12 @@
- package unix
-
- const (
-- sizeofPtr = 0x8
-- sizeofShort = 0x2
-- sizeofInt = 0x4
-- sizeofLong = 0x8
-- sizeofLongLong = 0x8
-- PathMax = 0x1000
-+ SizeofPtr = 0x8
-+ SizeofLong = 0x8
- )
-
- type (
-- _C_short int16
-- _C_int int32
-- _C_long int64
-- _C_long_long int64
-+ _C_long int64
- )
-
- type Timespec struct {
-@@ -33,13 +26,11 @@ type Timeval struct {
-
- type Timex struct {
- Modes uint32
-- Pad_cgo_0 [4]byte
- Offset int64
- Freq int64
- Maxerror int64
- Esterror int64
- Status int32
-- Pad_cgo_1 [4]byte
- Constant int64
- Precision int64
- Tolerance int64
-@@ -48,14 +39,13 @@ type Timex struct {
- Ppsfreq int64
- Jitter int64
- Shift int32
-- Pad_cgo_2 [4]byte
- Stabil int64
- Jitcnt int64
- Calcnt int64
- Errcnt int64
- Stbcnt int64
- Tai int32
-- Pad_cgo_3 [44]byte
-+ _ [44]byte
- }
-
- type Time_t int64
-@@ -91,13 +81,6 @@ type Rusage struct {
- Nivcsw int64
- }
-
--type Rlimit struct {
-- Cur uint64
-- Max uint64
--}
--
--type _Gid_t uint32
--
- type Stat_t struct {
- Dev uint64
- Ino uint64
-@@ -105,7 +88,7 @@ type Stat_t struct {
- Mode uint32
- Uid uint32
- Gid uint32
-- X__pad0 int32
-+ _ int32
- Rdev uint64
- Size int64
- Blksize int64
-@@ -116,139 +99,29 @@ type Stat_t struct {
- _ [3]int64
- }
-
--type Statfs_t struct {
-- Type int64
-- Bsize int64
-- Blocks uint64
-- Bfree uint64
-- Bavail uint64
-- Files uint64
-- Ffree uint64
-- Fsid Fsid
-- Namelen int64
-- Frsize int64
-- Flags int64
-- Spare [4]int64
--}
--
- type Dirent struct {
-- Ino uint64
-- Off int64
-- Reclen uint16
-- Type uint8
-- Name [256]int8
-- Pad_cgo_0 [5]byte
--}
--
--type Fsid struct {
-- X__val [2]int32
-+ Ino uint64
-+ Off int64
-+ Reclen uint16
-+ Type uint8
-+ Name [256]int8
-+ _ [5]byte
- }
-
- type Flock_t struct {
-- Type int16
-- Whence int16
-- Pad_cgo_0 [4]byte
-- Start int64
-- Len int64
-- Pid int32
-- Pad_cgo_1 [4]byte
--}
--
--type FscryptPolicy struct {
-- Version uint8
-- Contents_encryption_mode uint8
-- Filenames_encryption_mode uint8
-- Flags uint8
-- Master_key_descriptor [8]uint8
--}
--
--type FscryptKey struct {
-- Mode uint32
-- Raw [64]uint8
-- Size uint32
--}
--
--type KeyctlDHParams struct {
-- Private int32
-- Prime int32
-- Base int32
-+ Type int16
-+ Whence int16
-+ Start int64
-+ Len int64
-+ Pid int32
-+ _ [4]byte
- }
-
- const (
-- FADV_NORMAL = 0x0
-- FADV_RANDOM = 0x1
-- FADV_SEQUENTIAL = 0x2
-- FADV_WILLNEED = 0x3
-- FADV_DONTNEED = 0x4
-- FADV_NOREUSE = 0x5
-+ FADV_DONTNEED = 0x4
-+ FADV_NOREUSE = 0x5
- )
-
--type RawSockaddrInet4 struct {
-- Family uint16
-- Port uint16
-- Addr [4]byte /* in_addr */
-- Zero [8]uint8
--}
--
--type RawSockaddrInet6 struct {
-- Family uint16
-- Port uint16
-- Flowinfo uint32
-- Addr [16]byte /* in6_addr */
-- Scope_id uint32
--}
--
--type RawSockaddrUnix struct {
-- Family uint16
-- Path [108]int8
--}
--
--type RawSockaddrLinklayer struct {
-- Family uint16
-- Protocol uint16
-- Ifindex int32
-- Hatype uint16
-- Pkttype uint8
-- Halen uint8
-- Addr [8]uint8
--}
--
--type RawSockaddrNetlink struct {
-- Family uint16
-- Pad uint16
-- Pid uint32
-- Groups uint32
--}
--
--type RawSockaddrHCI struct {
-- Family uint16
-- Dev uint16
-- Channel uint16
--}
--
--type RawSockaddrCAN struct {
-- Family uint16
-- Pad_cgo_0 [2]byte
-- Ifindex int32
-- Addr [8]byte
--}
--
--type RawSockaddrALG struct {
-- Family uint16
-- Type [14]uint8
-- Feat uint32
-- Mask uint32
-- Name [64]uint8
--}
--
--type RawSockaddrVM struct {
-- Family uint16
-- Reserved1 uint16
-- Port uint32
-- Cid uint32
-- Zero [4]uint8
--}
--
- type RawSockaddr struct {
- Family uint16
- Data [14]int8
-@@ -259,51 +132,20 @@ type RawSockaddrAny struct {
- Pad [96]int8
- }
-
--type _Socklen uint32
--
--type Linger struct {
-- Onoff int32
-- Linger int32
--}
--
- type Iovec struct {
- Base *byte
- Len uint64
- }
-
--type IPMreq struct {
-- Multiaddr [4]byte /* in_addr */
-- Interface [4]byte /* in_addr */
--}
--
--type IPMreqn struct {
-- Multiaddr [4]byte /* in_addr */
-- Address [4]byte /* in_addr */
-- Ifindex int32
--}
--
--type IPv6Mreq struct {
-- Multiaddr [16]byte /* in6_addr */
-- Interface uint32
--}
--
--type PacketMreq struct {
-- Ifindex int32
-- Type uint16
-- Alen uint16
-- Address [8]uint8
--}
--
- type Msghdr struct {
- Name *byte
- Namelen uint32
-- Pad_cgo_0 [4]byte
- Iov *Iovec
- Iovlen uint64
- Control *byte
- Controllen uint64
- Flags int32
-- Pad_cgo_1 [4]byte
-+ _ [4]byte
- }
-
- type Cmsghdr struct {
-@@ -312,277 +154,16 @@ type Cmsghdr struct {
- Type int32
- }
-
--type Inet4Pktinfo struct {
-- Ifindex int32
-- Spec_dst [4]byte /* in_addr */
-- Addr [4]byte /* in_addr */
--}
--
--type Inet6Pktinfo struct {
-- Addr [16]byte /* in6_addr */
-- Ifindex uint32
--}
--
--type IPv6MTUInfo struct {
-- Addr RawSockaddrInet6
-- Mtu uint32
--}
--
--type ICMPv6Filter struct {
-- Data [8]uint32
--}
--
--type Ucred struct {
-- Pid int32
-- Uid uint32
-- Gid uint32
--}
--
--type TCPInfo struct {
-- State uint8
-- Ca_state uint8
-- Retransmits uint8
-- Probes uint8
-- Backoff uint8
-- Options uint8
-- Pad_cgo_0 [2]byte
-- Rto uint32
-- Ato uint32
-- Snd_mss uint32
-- Rcv_mss uint32
-- Unacked uint32
-- Sacked uint32
-- Lost uint32
-- Retrans uint32
-- Fackets uint32
-- Last_data_sent uint32
-- Last_ack_sent uint32
-- Last_data_recv uint32
-- Last_ack_recv uint32
-- Pmtu uint32
-- Rcv_ssthresh uint32
-- Rtt uint32
-- Rttvar uint32
-- Snd_ssthresh uint32
-- Snd_cwnd uint32
-- Advmss uint32
-- Reordering uint32
-- Rcv_rtt uint32
-- Rcv_space uint32
-- Total_retrans uint32
--}
--
- const (
-- SizeofSockaddrInet4 = 0x10
-- SizeofSockaddrInet6 = 0x1c
-- SizeofSockaddrAny = 0x70
-- SizeofSockaddrUnix = 0x6e
-- SizeofSockaddrLinklayer = 0x14
-- SizeofSockaddrNetlink = 0xc
-- SizeofSockaddrHCI = 0x6
-- SizeofSockaddrCAN = 0x10
-- SizeofSockaddrALG = 0x58
-- SizeofSockaddrVM = 0x10
-- SizeofLinger = 0x8
-- SizeofIovec = 0x10
-- SizeofIPMreq = 0x8
-- SizeofIPMreqn = 0xc
-- SizeofIPv6Mreq = 0x14
-- SizeofPacketMreq = 0x10
-- SizeofMsghdr = 0x38
-- SizeofCmsghdr = 0x10
-- SizeofInet4Pktinfo = 0xc
-- SizeofInet6Pktinfo = 0x14
-- SizeofIPv6MTUInfo = 0x20
-- SizeofICMPv6Filter = 0x20
-- SizeofUcred = 0xc
-- SizeofTCPInfo = 0x68
-+ SizeofIovec = 0x10
-+ SizeofMsghdr = 0x38
-+ SizeofCmsghdr = 0x10
- )
-
- const (
-- IFA_UNSPEC = 0x0
-- IFA_ADDRESS = 0x1
-- IFA_LOCAL = 0x2
-- IFA_LABEL = 0x3
-- IFA_BROADCAST = 0x4
-- IFA_ANYCAST = 0x5
-- IFA_CACHEINFO = 0x6
-- IFA_MULTICAST = 0x7
-- IFLA_UNSPEC = 0x0
-- IFLA_ADDRESS = 0x1
-- IFLA_BROADCAST = 0x2
-- IFLA_IFNAME = 0x3
-- IFLA_MTU = 0x4
-- IFLA_LINK = 0x5
-- IFLA_QDISC = 0x6
-- IFLA_STATS = 0x7
-- IFLA_COST = 0x8
-- IFLA_PRIORITY = 0x9
-- IFLA_MASTER = 0xa
-- IFLA_WIRELESS = 0xb
-- IFLA_PROTINFO = 0xc
-- IFLA_TXQLEN = 0xd
-- IFLA_MAP = 0xe
-- IFLA_WEIGHT = 0xf
-- IFLA_OPERSTATE = 0x10
-- IFLA_LINKMODE = 0x11
-- IFLA_LINKINFO = 0x12
-- IFLA_NET_NS_PID = 0x13
-- IFLA_IFALIAS = 0x14
-- IFLA_MAX = 0x2b
-- RT_SCOPE_UNIVERSE = 0x0
-- RT_SCOPE_SITE = 0xc8
-- RT_SCOPE_LINK = 0xfd
-- RT_SCOPE_HOST = 0xfe
-- RT_SCOPE_NOWHERE = 0xff
-- RT_TABLE_UNSPEC = 0x0
-- RT_TABLE_COMPAT = 0xfc
-- RT_TABLE_DEFAULT = 0xfd
-- RT_TABLE_MAIN = 0xfe
-- RT_TABLE_LOCAL = 0xff
-- RT_TABLE_MAX = 0xffffffff
-- RTA_UNSPEC = 0x0
-- RTA_DST = 0x1
-- RTA_SRC = 0x2
-- RTA_IIF = 0x3
-- RTA_OIF = 0x4
-- RTA_GATEWAY = 0x5
-- RTA_PRIORITY = 0x6
-- RTA_PREFSRC = 0x7
-- RTA_METRICS = 0x8
-- RTA_MULTIPATH = 0x9
-- RTA_FLOW = 0xb
-- RTA_CACHEINFO = 0xc
-- RTA_TABLE = 0xf
-- RTN_UNSPEC = 0x0
-- RTN_UNICAST = 0x1
-- RTN_LOCAL = 0x2
-- RTN_BROADCAST = 0x3
-- RTN_ANYCAST = 0x4
-- RTN_MULTICAST = 0x5
-- RTN_BLACKHOLE = 0x6
-- RTN_UNREACHABLE = 0x7
-- RTN_PROHIBIT = 0x8
-- RTN_THROW = 0x9
-- RTN_NAT = 0xa
-- RTN_XRESOLVE = 0xb
-- RTNLGRP_NONE = 0x0
-- RTNLGRP_LINK = 0x1
-- RTNLGRP_NOTIFY = 0x2
-- RTNLGRP_NEIGH = 0x3
-- RTNLGRP_TC = 0x4
-- RTNLGRP_IPV4_IFADDR = 0x5
-- RTNLGRP_IPV4_MROUTE = 0x6
-- RTNLGRP_IPV4_ROUTE = 0x7
-- RTNLGRP_IPV4_RULE = 0x8
-- RTNLGRP_IPV6_IFADDR = 0x9
-- RTNLGRP_IPV6_MROUTE = 0xa
-- RTNLGRP_IPV6_ROUTE = 0xb
-- RTNLGRP_IPV6_IFINFO = 0xc
-- RTNLGRP_IPV6_PREFIX = 0x12
-- RTNLGRP_IPV6_RULE = 0x13
-- RTNLGRP_ND_USEROPT = 0x14
-- SizeofNlMsghdr = 0x10
-- SizeofNlMsgerr = 0x14
-- SizeofRtGenmsg = 0x1
-- SizeofNlAttr = 0x4
-- SizeofRtAttr = 0x4
-- SizeofIfInfomsg = 0x10
-- SizeofIfAddrmsg = 0x8
-- SizeofRtMsg = 0xc
-- SizeofRtNexthop = 0x8
-+ SizeofSockFprog = 0x10
- )
-
--type NlMsghdr struct {
-- Len uint32
-- Type uint16
-- Flags uint16
-- Seq uint32
-- Pid uint32
--}
--
--type NlMsgerr struct {
-- Error int32
-- Msg NlMsghdr
--}
--
--type RtGenmsg struct {
-- Family uint8
--}
--
--type NlAttr struct {
-- Len uint16
-- Type uint16
--}
--
--type RtAttr struct {
-- Len uint16
-- Type uint16
--}
--
--type IfInfomsg struct {
-- Family uint8
-- X__ifi_pad uint8
-- Type uint16
-- Index int32
-- Flags uint32
-- Change uint32
--}
--
--type IfAddrmsg struct {
-- Family uint8
-- Prefixlen uint8
-- Flags uint8
-- Scope uint8
-- Index uint32
--}
--
--type RtMsg struct {
-- Family uint8
-- Dst_len uint8
-- Src_len uint8
-- Tos uint8
-- Table uint8
-- Protocol uint8
-- Scope uint8
-- Type uint8
-- Flags uint32
--}
--
--type RtNexthop struct {
-- Len uint16
-- Flags uint8
-- Hops uint8
-- Ifindex int32
--}
--
--const (
-- SizeofSockFilter = 0x8
-- SizeofSockFprog = 0x10
--)
--
--type SockFilter struct {
-- Code uint16
-- Jt uint8
-- Jf uint8
-- K uint32
--}
--
--type SockFprog struct {
-- Len uint16
-- Pad_cgo_0 [6]byte
-- Filter *SockFilter
--}
--
--type InotifyEvent struct {
-- Wd int32
-- Mask uint32
-- Cookie uint32
-- Len uint32
--}
--
--const SizeofInotifyEvent = 0x10
--
- type PtraceRegs struct {
- R15 uint64
- R14 uint64
-@@ -628,30 +209,19 @@ type Sysinfo_t struct {
- Freeswap uint64
- Procs uint16
- Pad uint16
-- Pad_cgo_0 [4]byte
- Totalhigh uint64
- Freehigh uint64
- Unit uint32
-- X_f [0]int8
-- Pad_cgo_1 [4]byte
--}
--
--type Utsname struct {
-- Sysname [65]int8
-- Nodename [65]int8
-- Release [65]int8
-- Version [65]int8
-- Machine [65]int8
-- Domainname [65]int8
-+ _ [0]int8
-+ _ [4]byte
- }
-
- type Ustat_t struct {
-- Tfree int32
-- Pad_cgo_0 [4]byte
-- Tinode uint64
-- Fname [6]int8
-- Fpack [6]int8
-- Pad_cgo_1 [4]byte
-+ Tfree int32
-+ Tinode uint64
-+ Fname [6]int8
-+ Fpack [6]int8
-+ _ [4]byte
- }
-
- type EpollEvent struct {
-@@ -661,37 +231,14 @@ type EpollEvent struct {
- }
-
- const (
-- AT_FDCWD = -0x64
-- AT_REMOVEDIR = 0x200
-- AT_SYMLINK_FOLLOW = 0x400
-- AT_SYMLINK_NOFOLLOW = 0x100
--)
--
--type PollFd struct {
-- Fd int32
-- Events int16
-- Revents int16
--}
--
--const (
-- POLLIN = 0x1
-- POLLPRI = 0x2
-- POLLOUT = 0x4
- POLLRDHUP = 0x2000
-- POLLERR = 0x8
-- POLLHUP = 0x10
-- POLLNVAL = 0x20
- )
-
- type Sigset_t struct {
-- X__val [16]uint64
-+ Val [16]uint64
- }
-
--const RNDGETENTCNT = 0x80045200
--
--const PERF_IOC_FLAG_GROUP = 0x1
--
--const _SC_PAGESIZE = 0x1e
-+const _C__NSIG = 0x41
-
- type Termios struct {
- Iflag uint32
-@@ -704,20 +251,11 @@ type Termios struct {
- Ospeed uint32
- }
-
--type Winsize struct {
-- Row uint16
-- Col uint16
-- Xpixel uint16
-- Ypixel uint16
--}
--
- type Taskstats struct {
- Version uint16
-- Pad_cgo_0 [2]byte
- Ac_exitcode uint32
- Ac_flag uint8
- Ac_nice uint8
-- Pad_cgo_1 [6]byte
- Cpu_count uint64
- Cpu_delay_total uint64
- Blkio_count uint64
-@@ -729,13 +267,12 @@ type Taskstats struct {
- Ac_comm [32]int8
- Ac_sched uint8
- Ac_pad [3]uint8
-- Pad_cgo_2 [4]byte
-+ _ [4]byte
- Ac_uid uint32
- Ac_gid uint32
- Ac_pid uint32
- Ac_ppid uint32
- Ac_btime uint32
-- Pad_cgo_3 [4]byte
- Ac_etime uint64
- Ac_utime uint64
- Ac_stime uint64
-@@ -759,55 +296,319 @@ type Taskstats struct {
- Cpu_scaled_run_real_total uint64
- Freepages_count uint64
- Freepages_delay_total uint64
-+ Thrashing_count uint64
-+ Thrashing_delay_total uint64
-+ Ac_btime64 uint64
- }
-
-+type cpuMask uint64
-+
- const (
-- TASKSTATS_CMD_UNSPEC = 0x0
-- TASKSTATS_CMD_GET = 0x1
-- TASKSTATS_CMD_NEW = 0x2
-- TASKSTATS_TYPE_UNSPEC = 0x0
-- TASKSTATS_TYPE_PID = 0x1
-- TASKSTATS_TYPE_TGID = 0x2
-- TASKSTATS_TYPE_STATS = 0x3
-- TASKSTATS_TYPE_AGGR_PID = 0x4
-- TASKSTATS_TYPE_AGGR_TGID = 0x5
-- TASKSTATS_TYPE_NULL = 0x6
-- TASKSTATS_CMD_ATTR_UNSPEC = 0x0
-- TASKSTATS_CMD_ATTR_PID = 0x1
-- TASKSTATS_CMD_ATTR_TGID = 0x2
-- TASKSTATS_CMD_ATTR_REGISTER_CPUMASK = 0x3
-- TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK = 0x4
-+ _NCPUBITS = 0x40
- )
-
--type Genlmsghdr struct {
-- Cmd uint8
-- Version uint8
-- Reserved uint16
-+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 (
-- CTRL_CMD_UNSPEC = 0x0
-- CTRL_CMD_NEWFAMILY = 0x1
-- CTRL_CMD_DELFAMILY = 0x2
-- CTRL_CMD_GETFAMILY = 0x3
-- CTRL_CMD_NEWOPS = 0x4
-- CTRL_CMD_DELOPS = 0x5
-- CTRL_CMD_GETOPS = 0x6
-- CTRL_CMD_NEWMCAST_GRP = 0x7
-- CTRL_CMD_DELMCAST_GRP = 0x8
-- CTRL_CMD_GETMCAST_GRP = 0x9
-- CTRL_ATTR_UNSPEC = 0x0
-- CTRL_ATTR_FAMILY_ID = 0x1
-- CTRL_ATTR_FAMILY_NAME = 0x2
-- CTRL_ATTR_VERSION = 0x3
-- CTRL_ATTR_HDRSIZE = 0x4
-- CTRL_ATTR_MAXATTR = 0x5
-- CTRL_ATTR_OPS = 0x6
-- CTRL_ATTR_MCAST_GROUPS = 0x7
-- 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
-+ 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 uint64
-+ Inode uint64
-+ Rdevice uint64
-+ 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
-+}
-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 bff6ce25..8051b561 100644
---- a/vendor/golang.org/x/sys/unix/ztypes_linux_arm.go
-+++ b/vendor/golang.org/x/sys/unix/ztypes_linux_arm.go
-@@ -6,19 +6,12 @@
- package unix
-
- const (
-- sizeofPtr = 0x4
-- sizeofShort = 0x2
-- sizeofInt = 0x4
-- sizeofLong = 0x4
-- sizeofLongLong = 0x8
-- PathMax = 0x1000
-+ SizeofPtr = 0x4
-+ SizeofLong = 0x4
- )
-
- type (
-- _C_short int16
-- _C_int int32
-- _C_long int32
-- _C_long_long int64
-+ _C_long int32
- )
-
- type Timespec struct {
-@@ -52,7 +45,7 @@ type Timex struct {
- Errcnt int32
- Stbcnt int32
- Tai int32
-- Pad_cgo_0 [44]byte
-+ _ [44]byte
- }
-
- type Time_t int32
-@@ -88,169 +81,51 @@ type Rusage struct {
- Nivcsw int32
- }
-
--type Rlimit struct {
-- Cur uint64
-- Max uint64
--}
--
--type _Gid_t uint32
--
- type Stat_t struct {
-- Dev uint64
-- X__pad1 uint16
-- Pad_cgo_0 [2]byte
-- X__st_ino uint32
-- Mode uint32
-- Nlink uint32
-- Uid uint32
-- Gid uint32
-- Rdev uint64
-- X__pad2 uint16
-- Pad_cgo_1 [6]byte
-- Size int64
-- Blksize int32
-- Pad_cgo_2 [4]byte
-- Blocks int64
-- Atim Timespec
-- Mtim Timespec
-- Ctim Timespec
-- Ino uint64
--}
--
--type Statfs_t struct {
-- Type int32
-- Bsize int32
-- Blocks uint64
-- Bfree uint64
-- Bavail uint64
-- Files uint64
-- Ffree uint64
-- Fsid Fsid
-- Namelen int32
-- Frsize int32
-- Flags int32
-- Spare [4]int32
-- Pad_cgo_0 [4]byte
-+ Dev uint64
-+ _ uint16
-+ _ uint32
-+ Mode uint32
-+ Nlink uint32
-+ Uid uint32
-+ Gid uint32
-+ Rdev uint64
-+ _ uint16
-+ _ [4]byte
-+ Size int64
-+ Blksize int32
-+ _ [4]byte
-+ Blocks int64
-+ Atim Timespec
-+ Mtim Timespec
-+ Ctim Timespec
-+ Ino uint64
- }
-
- type Dirent struct {
-- Ino uint64
-- Off int64
-- Reclen uint16
-- Type uint8
-- Name [256]uint8
-- Pad_cgo_0 [5]byte
--}
--
--type Fsid struct {
-- X__val [2]int32
-+ Ino uint64
-+ Off int64
-+ Reclen uint16
-+ Type uint8
-+ Name [256]uint8
-+ _ [5]byte
- }
-
- type Flock_t struct {
-- Type int16
-- Whence int16
-- Pad_cgo_0 [4]byte
-- Start int64
-- Len int64
-- Pid int32
-- Pad_cgo_1 [4]byte
--}
--
--type FscryptPolicy struct {
-- Version uint8
-- Contents_encryption_mode uint8
-- Filenames_encryption_mode uint8
-- Flags uint8
-- Master_key_descriptor [8]uint8
--}
--
--type FscryptKey struct {
-- Mode uint32
-- Raw [64]uint8
-- Size uint32
--}
--
--type KeyctlDHParams struct {
-- Private int32
-- Prime int32
-- Base int32
-+ Type int16
-+ Whence int16
-+ _ [4]byte
-+ Start int64
-+ Len int64
-+ Pid int32
-+ _ [4]byte
- }
-
- const (
-- FADV_NORMAL = 0x0
-- FADV_RANDOM = 0x1
-- FADV_SEQUENTIAL = 0x2
-- FADV_WILLNEED = 0x3
-- FADV_DONTNEED = 0x4
-- FADV_NOREUSE = 0x5
-+ FADV_DONTNEED = 0x4
-+ FADV_NOREUSE = 0x5
- )
-
--type RawSockaddrInet4 struct {
-- Family uint16
-- Port uint16
-- Addr [4]byte /* in_addr */
-- Zero [8]uint8
--}
--
--type RawSockaddrInet6 struct {
-- Family uint16
-- Port uint16
-- Flowinfo uint32
-- Addr [16]byte /* in6_addr */
-- Scope_id uint32
--}
--
--type RawSockaddrUnix struct {
-- Family uint16
-- Path [108]int8
--}
--
--type RawSockaddrLinklayer struct {
-- Family uint16
-- Protocol uint16
-- Ifindex int32
-- Hatype uint16
-- Pkttype uint8
-- Halen uint8
-- Addr [8]uint8
--}
--
--type RawSockaddrNetlink struct {
-- Family uint16
-- Pad uint16
-- Pid uint32
-- Groups uint32
--}
--
--type RawSockaddrHCI struct {
-- Family uint16
-- Dev uint16
-- Channel uint16
--}
--
--type RawSockaddrCAN struct {
-- Family uint16
-- Pad_cgo_0 [2]byte
-- Ifindex int32
-- Addr [8]byte
--}
--
--type RawSockaddrALG struct {
-- Family uint16
-- Type [14]uint8
-- Feat uint32
-- Mask uint32
-- Name [64]uint8
--}
--
--type RawSockaddrVM struct {
-- Family uint16
-- Reserved1 uint16
-- Port uint32
-- Cid uint32
-- Zero [4]uint8
--}
--
- type RawSockaddr struct {
- Family uint16
- Data [14]uint8
-@@ -261,41 +136,11 @@ type RawSockaddrAny struct {
- Pad [96]uint8
- }
-
--type _Socklen uint32
--
--type Linger struct {
-- Onoff int32
-- Linger int32
--}
--
- type Iovec struct {
- Base *byte
- Len uint32
- }
-
--type IPMreq struct {
-- Multiaddr [4]byte /* in_addr */
-- Interface [4]byte /* in_addr */
--}
--
--type IPMreqn struct {
-- Multiaddr [4]byte /* in_addr */
-- Address [4]byte /* in_addr */
-- Ifindex int32
--}
--
--type IPv6Mreq struct {
-- Multiaddr [16]byte /* in6_addr */
-- Interface uint32
--}
--
--type PacketMreq struct {
-- Ifindex int32
-- Type uint16
-- Alen uint16
-- Address [8]uint8
--}
--
- type Msghdr struct {
- Name *byte
- Namelen uint32
-@@ -312,277 +157,16 @@ type Cmsghdr struct {
- Type int32
- }
-
--type Inet4Pktinfo struct {
-- Ifindex int32
-- Spec_dst [4]byte /* in_addr */
-- Addr [4]byte /* in_addr */
--}
--
--type Inet6Pktinfo struct {
-- Addr [16]byte /* in6_addr */
-- Ifindex uint32
--}
--
--type IPv6MTUInfo struct {
-- Addr RawSockaddrInet6
-- Mtu uint32
--}
--
--type ICMPv6Filter struct {
-- Data [8]uint32
--}
--
--type Ucred struct {
-- Pid int32
-- Uid uint32
-- Gid uint32
--}
--
--type TCPInfo struct {
-- State uint8
-- Ca_state uint8
-- Retransmits uint8
-- Probes uint8
-- Backoff uint8
-- Options uint8
-- Pad_cgo_0 [2]byte
-- Rto uint32
-- Ato uint32
-- Snd_mss uint32
-- Rcv_mss uint32
-- Unacked uint32
-- Sacked uint32
-- Lost uint32
-- Retrans uint32
-- Fackets uint32
-- Last_data_sent uint32
-- Last_ack_sent uint32
-- Last_data_recv uint32
-- Last_ack_recv uint32
-- Pmtu uint32
-- Rcv_ssthresh uint32
-- Rtt uint32
-- Rttvar uint32
-- Snd_ssthresh uint32
-- Snd_cwnd uint32
-- Advmss uint32
-- Reordering uint32
-- Rcv_rtt uint32
-- Rcv_space uint32
-- Total_retrans uint32
--}
--
- const (
-- SizeofSockaddrInet4 = 0x10
-- SizeofSockaddrInet6 = 0x1c
-- SizeofSockaddrAny = 0x70
-- SizeofSockaddrUnix = 0x6e
-- SizeofSockaddrLinklayer = 0x14
-- SizeofSockaddrNetlink = 0xc
-- SizeofSockaddrHCI = 0x6
-- SizeofSockaddrCAN = 0x10
-- SizeofSockaddrALG = 0x58
-- SizeofSockaddrVM = 0x10
-- SizeofLinger = 0x8
-- SizeofIovec = 0x8
-- SizeofIPMreq = 0x8
-- SizeofIPMreqn = 0xc
-- SizeofIPv6Mreq = 0x14
-- SizeofPacketMreq = 0x10
-- SizeofMsghdr = 0x1c
-- SizeofCmsghdr = 0xc
-- SizeofInet4Pktinfo = 0xc
-- SizeofInet6Pktinfo = 0x14
-- SizeofIPv6MTUInfo = 0x20
-- SizeofICMPv6Filter = 0x20
-- SizeofUcred = 0xc
-- SizeofTCPInfo = 0x68
-+ SizeofIovec = 0x8
-+ SizeofMsghdr = 0x1c
-+ SizeofCmsghdr = 0xc
- )
-
- const (
-- IFA_UNSPEC = 0x0
-- IFA_ADDRESS = 0x1
-- IFA_LOCAL = 0x2
-- IFA_LABEL = 0x3
-- IFA_BROADCAST = 0x4
-- IFA_ANYCAST = 0x5
-- IFA_CACHEINFO = 0x6
-- IFA_MULTICAST = 0x7
-- IFLA_UNSPEC = 0x0
-- IFLA_ADDRESS = 0x1
-- IFLA_BROADCAST = 0x2
-- IFLA_IFNAME = 0x3
-- IFLA_MTU = 0x4
-- IFLA_LINK = 0x5
-- IFLA_QDISC = 0x6
-- IFLA_STATS = 0x7
-- IFLA_COST = 0x8
-- IFLA_PRIORITY = 0x9
-- IFLA_MASTER = 0xa
-- IFLA_WIRELESS = 0xb
-- IFLA_PROTINFO = 0xc
-- IFLA_TXQLEN = 0xd
-- IFLA_MAP = 0xe
-- IFLA_WEIGHT = 0xf
-- IFLA_OPERSTATE = 0x10
-- IFLA_LINKMODE = 0x11
-- IFLA_LINKINFO = 0x12
-- IFLA_NET_NS_PID = 0x13
-- IFLA_IFALIAS = 0x14
-- IFLA_MAX = 0x2b
-- RT_SCOPE_UNIVERSE = 0x0
-- RT_SCOPE_SITE = 0xc8
-- RT_SCOPE_LINK = 0xfd
-- RT_SCOPE_HOST = 0xfe
-- RT_SCOPE_NOWHERE = 0xff
-- RT_TABLE_UNSPEC = 0x0
-- RT_TABLE_COMPAT = 0xfc
-- RT_TABLE_DEFAULT = 0xfd
-- RT_TABLE_MAIN = 0xfe
-- RT_TABLE_LOCAL = 0xff
-- RT_TABLE_MAX = 0xffffffff
-- RTA_UNSPEC = 0x0
-- RTA_DST = 0x1
-- RTA_SRC = 0x2
-- RTA_IIF = 0x3
-- RTA_OIF = 0x4
-- RTA_GATEWAY = 0x5
-- RTA_PRIORITY = 0x6
-- RTA_PREFSRC = 0x7
-- RTA_METRICS = 0x8
-- RTA_MULTIPATH = 0x9
-- RTA_FLOW = 0xb
-- RTA_CACHEINFO = 0xc
-- RTA_TABLE = 0xf
-- RTN_UNSPEC = 0x0
-- RTN_UNICAST = 0x1
-- RTN_LOCAL = 0x2
-- RTN_BROADCAST = 0x3
-- RTN_ANYCAST = 0x4
-- RTN_MULTICAST = 0x5
-- RTN_BLACKHOLE = 0x6
-- RTN_UNREACHABLE = 0x7
-- RTN_PROHIBIT = 0x8
-- RTN_THROW = 0x9
-- RTN_NAT = 0xa
-- RTN_XRESOLVE = 0xb
-- RTNLGRP_NONE = 0x0
-- RTNLGRP_LINK = 0x1
-- RTNLGRP_NOTIFY = 0x2
-- RTNLGRP_NEIGH = 0x3
-- RTNLGRP_TC = 0x4
-- RTNLGRP_IPV4_IFADDR = 0x5
-- RTNLGRP_IPV4_MROUTE = 0x6
-- RTNLGRP_IPV4_ROUTE = 0x7
-- RTNLGRP_IPV4_RULE = 0x8
-- RTNLGRP_IPV6_IFADDR = 0x9
-- RTNLGRP_IPV6_MROUTE = 0xa
-- RTNLGRP_IPV6_ROUTE = 0xb
-- RTNLGRP_IPV6_IFINFO = 0xc
-- RTNLGRP_IPV6_PREFIX = 0x12
-- RTNLGRP_IPV6_RULE = 0x13
-- RTNLGRP_ND_USEROPT = 0x14
-- SizeofNlMsghdr = 0x10
-- SizeofNlMsgerr = 0x14
-- SizeofRtGenmsg = 0x1
-- SizeofNlAttr = 0x4
-- SizeofRtAttr = 0x4
-- SizeofIfInfomsg = 0x10
-- SizeofIfAddrmsg = 0x8
-- SizeofRtMsg = 0xc
-- SizeofRtNexthop = 0x8
-+ SizeofSockFprog = 0x8
- )
-
--type NlMsghdr struct {
-- Len uint32
-- Type uint16
-- Flags uint16
-- Seq uint32
-- Pid uint32
--}
--
--type NlMsgerr struct {
-- Error int32
-- Msg NlMsghdr
--}
--
--type RtGenmsg struct {
-- Family uint8
--}
--
--type NlAttr struct {
-- Len uint16
-- Type uint16
--}
--
--type RtAttr struct {
-- Len uint16
-- Type uint16
--}
--
--type IfInfomsg struct {
-- Family uint8
-- X__ifi_pad uint8
-- Type uint16
-- Index int32
-- Flags uint32
-- Change uint32
--}
--
--type IfAddrmsg struct {
-- Family uint8
-- Prefixlen uint8
-- Flags uint8
-- Scope uint8
-- Index uint32
--}
--
--type RtMsg struct {
-- Family uint8
-- Dst_len uint8
-- Src_len uint8
-- Tos uint8
-- Table uint8
-- Protocol uint8
-- Scope uint8
-- Type uint8
-- Flags uint32
--}
--
--type RtNexthop struct {
-- Len uint16
-- Flags uint8
-- Hops uint8
-- Ifindex int32
--}
--
--const (
-- SizeofSockFilter = 0x8
-- SizeofSockFprog = 0x8
--)
--
--type SockFilter struct {
-- Code uint16
-- Jt uint8
-- Jf uint8
-- K uint32
--}
--
--type SockFprog struct {
-- Len uint16
-- Pad_cgo_0 [2]byte
-- Filter *SockFilter
--}
--
--type InotifyEvent struct {
-- Wd int32
-- Mask uint32
-- Cookie uint32
-- Len uint32
--}
--
--const SizeofInotifyEvent = 0x10
--
- type PtraceRegs struct {
- Uregs [18]uint32
- }
-@@ -605,16 +189,7 @@ type Sysinfo_t struct {
- Totalhigh uint32
- Freehigh uint32
- Unit uint32
-- X_f [8]uint8
--}
--
--type Utsname struct {
-- Sysname [65]uint8
-- Nodename [65]uint8
-- Release [65]uint8
-- Version [65]uint8
-- Machine [65]uint8
-- Domainname [65]uint8
-+ _ [8]uint8
- }
-
- type Ustat_t struct {
-@@ -632,37 +207,14 @@ type EpollEvent struct {
- }
-
- const (
-- AT_FDCWD = -0x64
-- AT_REMOVEDIR = 0x200
-- AT_SYMLINK_FOLLOW = 0x400
-- AT_SYMLINK_NOFOLLOW = 0x100
--)
--
--type PollFd struct {
-- Fd int32
-- Events int16
-- Revents int16
--}
--
--const (
-- POLLIN = 0x1
-- POLLPRI = 0x2
-- POLLOUT = 0x4
- POLLRDHUP = 0x2000
-- POLLERR = 0x8
-- POLLHUP = 0x10
-- POLLNVAL = 0x20
- )
-
- type Sigset_t struct {
-- X__val [32]uint32
-+ Val [32]uint32
- }
-
--const RNDGETENTCNT = 0x80045200
--
--const PERF_IOC_FLAG_GROUP = 0x1
--
--const _SC_PAGESIZE = 0x1e
-+const _C__NSIG = 0x41
-
- type Termios struct {
- Iflag uint32
-@@ -675,20 +227,12 @@ type Termios struct {
- Ospeed uint32
- }
-
--type Winsize struct {
-- Row uint16
-- Col uint16
-- Xpixel uint16
-- Ypixel uint16
--}
--
- type Taskstats struct {
- Version uint16
-- Pad_cgo_0 [2]byte
- Ac_exitcode uint32
- Ac_flag uint8
- Ac_nice uint8
-- Pad_cgo_1 [6]byte
-+ _ [4]byte
- Cpu_count uint64
- Cpu_delay_total uint64
- Blkio_count uint64
-@@ -700,13 +244,13 @@ type Taskstats struct {
- Ac_comm [32]uint8
- Ac_sched uint8
- Ac_pad [3]uint8
-- Pad_cgo_2 [4]byte
-+ _ [4]byte
- Ac_uid uint32
- Ac_gid uint32
- Ac_pid uint32
- Ac_ppid uint32
- Ac_btime uint32
-- Pad_cgo_3 [4]byte
-+ _ [4]byte
- Ac_etime uint64
- Ac_utime uint64
- Ac_stime uint64
-@@ -730,55 +274,318 @@ type Taskstats struct {
- Cpu_scaled_run_real_total uint64
- Freepages_count uint64
- Freepages_delay_total uint64
-+ Thrashing_count uint64
-+ Thrashing_delay_total uint64
-+ Ac_btime64 uint64
- }
-
-+type cpuMask uint32
-+
-+const (
-+ _NCPUBITS = 0x20
-+)
-+
- const (
-- TASKSTATS_CMD_UNSPEC = 0x0
-- TASKSTATS_CMD_GET = 0x1
-- TASKSTATS_CMD_NEW = 0x2
-- TASKSTATS_TYPE_UNSPEC = 0x0
-- TASKSTATS_TYPE_PID = 0x1
-- TASKSTATS_TYPE_TGID = 0x2
-- TASKSTATS_TYPE_STATS = 0x3
-- TASKSTATS_TYPE_AGGR_PID = 0x4
-- TASKSTATS_TYPE_AGGR_TGID = 0x5
-- TASKSTATS_TYPE_NULL = 0x6
-- TASKSTATS_CMD_ATTR_UNSPEC = 0x0
-- TASKSTATS_CMD_ATTR_PID = 0x1
-- TASKSTATS_CMD_ATTR_TGID = 0x2
-- TASKSTATS_CMD_ATTR_REGISTER_CPUMASK = 0x3
-- TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK = 0x4
-+ 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 Genlmsghdr struct {
-- Cmd uint8
-- Version uint8
-- Reserved uint16
-+type SockaddrStorage struct {
-+ Family uint16
-+ _ [122]uint8
-+ _ uint32
-+}
-+
-+type HDGeometry struct {
-+ Heads uint8
-+ Sectors uint8
-+ Cylinders uint16
-+ Start uint32
-+}
-+
-+type Statfs_t struct {
-+ Type int32
-+ Bsize int32
-+ Blocks uint64
-+ Bfree uint64
-+ Bavail uint64
-+ Files uint64
-+ Ffree uint64
-+ Fsid Fsid
-+ Namelen int32
-+ Frsize int32
-+ Flags int32
-+ Spare [4]int32
-+ _ [4]byte
-+}
-+
-+type TpacketHdr struct {
-+ Status uint32
-+ Len uint32
-+ Snaplen uint32
-+ Mac uint16
-+ Net uint16
-+ Sec uint32
-+ Usec uint32
-+}
-+
-+const (
-+ SizeofTpacketHdr = 0x18
-+)
-+
-+type RTCPLLInfo struct {
-+ Ctrl int32
-+ Value int32
-+ Max int32
-+ Min int32
-+ Posmult int32
-+ Negmult int32
-+ Clock int32
-+}
-+
-+type BlkpgPartition struct {
-+ Start int64
-+ Length int64
-+ Pno int32
-+ Devname [64]uint8
-+ Volname [64]uint8
-+ _ [4]byte
- }
-
- const (
-- CTRL_CMD_UNSPEC = 0x0
-- CTRL_CMD_NEWFAMILY = 0x1
-- CTRL_CMD_DELFAMILY = 0x2
-- CTRL_CMD_GETFAMILY = 0x3
-- CTRL_CMD_NEWOPS = 0x4
-- CTRL_CMD_DELOPS = 0x5
-- CTRL_CMD_GETOPS = 0x6
-- CTRL_CMD_NEWMCAST_GRP = 0x7
-- CTRL_CMD_DELMCAST_GRP = 0x8
-- CTRL_CMD_GETMCAST_GRP = 0x9
-- CTRL_ATTR_UNSPEC = 0x0
-- CTRL_ATTR_FAMILY_ID = 0x1
-- CTRL_ATTR_FAMILY_NAME = 0x2
-- CTRL_ATTR_VERSION = 0x3
-- CTRL_ATTR_HDRSIZE = 0x4
-- CTRL_ATTR_MAXATTR = 0x5
-- CTRL_ATTR_OPS = 0x6
-- CTRL_ATTR_MCAST_GROUPS = 0x7
-- 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
-+ BLKPG = 0x1269
- )
-+
-+type XDPUmemReg struct {
-+ Addr uint64
-+ Len uint64
-+ Size uint32
-+ Headroom uint32
-+ Flags uint32
-+ _ [4]byte
-+}
-+
-+type CryptoUserAlg struct {
-+ Name [64]uint8
-+ Driver_name [64]uint8
-+ Module_name [64]uint8
-+ Type uint32
-+ Mask uint32
-+ Refcnt uint32
-+ Flags uint32
-+}
-+
-+type CryptoStatAEAD struct {
-+ Type [64]uint8
-+ Encrypt_cnt uint64
-+ Encrypt_tlen uint64
-+ Decrypt_cnt uint64
-+ Decrypt_tlen uint64
-+ Err_cnt uint64
-+}
-+
-+type CryptoStatAKCipher struct {
-+ Type [64]uint8
-+ 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]uint8
-+ Encrypt_cnt uint64
-+ Encrypt_tlen uint64
-+ Decrypt_cnt uint64
-+ Decrypt_tlen uint64
-+ Err_cnt uint64
-+}
-+
-+type CryptoStatCompress struct {
-+ Type [64]uint8
-+ Compress_cnt uint64
-+ Compress_tlen uint64
-+ Decompress_cnt uint64
-+ Decompress_tlen uint64
-+ Err_cnt uint64
-+}
-+
-+type CryptoStatHash struct {
-+ Type [64]uint8
-+ Hash_cnt uint64
-+ Hash_tlen uint64
-+ Err_cnt uint64
-+}
-+
-+type CryptoStatKPP struct {
-+ Type [64]uint8
-+ Setsecret_cnt uint64
-+ Generate_public_key_cnt uint64
-+ Compute_shared_secret_cnt uint64
-+ Err_cnt uint64
-+}
-+
-+type CryptoStatRNG struct {
-+ Type [64]uint8
-+ Generate_cnt uint64
-+ Generate_tlen uint64
-+ Seed_cnt uint64
-+ Err_cnt uint64
-+}
-+
-+type CryptoStatLarval struct {
-+ Type [64]uint8
-+}
-+
-+type CryptoReportLarval struct {
-+ Type [64]uint8
-+}
-+
-+type CryptoReportHash struct {
-+ Type [64]uint8
-+ Blocksize uint32
-+ Digestsize uint32
-+}
-+
-+type CryptoReportCipher struct {
-+ Type [64]uint8
-+ Blocksize uint32
-+ Min_keysize uint32
-+ Max_keysize uint32
-+}
-+
-+type CryptoReportBlkCipher struct {
-+ Type [64]uint8
-+ Geniv [64]uint8
-+ Blocksize uint32
-+ Min_keysize uint32
-+ Max_keysize uint32
-+ Ivsize uint32
-+}
-+
-+type CryptoReportAEAD struct {
-+ Type [64]uint8
-+ Geniv [64]uint8
-+ Blocksize uint32
-+ Maxauthsize uint32
-+ Ivsize uint32
-+}
-+
-+type CryptoReportComp struct {
-+ Type [64]uint8
-+}
-+
-+type CryptoReportRNG struct {
-+ Type [64]uint8
-+ Seedsize uint32
-+}
-+
-+type CryptoReportAKCipher struct {
-+ Type [64]uint8
-+}
-+
-+type CryptoReportKPP struct {
-+ Type [64]uint8
-+}
-+
-+type CryptoReportAcomp struct {
-+ Type [64]uint8
-+}
-+
-+type LoopInfo struct {
-+ Number int32
-+ Device uint16
-+ Inode uint32
-+ Rdevice uint16
-+ Offset int32
-+ Encrypt_type int32
-+ Encrypt_key_size int32
-+ Flags int32
-+ Name [64]uint8
-+ Encrypt_key [32]uint8
-+ Init [2]uint32
-+ Reserved [4]uint8
-+}
-+
-+type TIPCSubscr struct {
-+ Seq TIPCServiceRange
-+ Timeout uint32
-+ Filter uint32
-+ Handle [8]uint8
-+}
-+
-+type TIPCSIOCLNReq struct {
-+ Peer uint32
-+ Id uint32
-+ Linkname [68]uint8
-+}
-+
-+type TIPCSIOCNodeIDReq struct {
-+ Peer uint32
-+ Id [16]uint8
-+}
-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 a3d0cc4a..a936f216 100644
---- a/vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go
-+++ b/vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go
-@@ -6,19 +6,12 @@
- package unix
-
- const (
-- sizeofPtr = 0x8
-- sizeofShort = 0x2
-- sizeofInt = 0x4
-- sizeofLong = 0x8
-- sizeofLongLong = 0x8
-- PathMax = 0x1000
-+ SizeofPtr = 0x8
-+ SizeofLong = 0x8
- )
-
- type (
-- _C_short int16
-- _C_int int32
-- _C_long int64
-- _C_long_long int64
-+ _C_long int64
- )
-
- type Timespec struct {
-@@ -33,13 +26,11 @@ type Timeval struct {
-
- type Timex struct {
- Modes uint32
-- Pad_cgo_0 [4]byte
- Offset int64
- Freq int64
- Maxerror int64
- Esterror int64
- Status int32
-- Pad_cgo_1 [4]byte
- Constant int64
- Precision int64
- Tolerance int64
-@@ -48,14 +39,13 @@ type Timex struct {
- Ppsfreq int64
- Jitter int64
- Shift int32
-- Pad_cgo_2 [4]byte
- Stabil int64
- Jitcnt int64
- Calcnt int64
- Errcnt int64
- Stbcnt int64
- Tai int32
-- Pad_cgo_3 [44]byte
-+ _ [44]byte
- }
-
- type Time_t int64
-@@ -91,13 +81,6 @@ type Rusage struct {
- Nivcsw int64
- }
-
--type Rlimit struct {
-- Cur uint64
-- Max uint64
--}
--
--type _Gid_t uint32
--
- type Stat_t struct {
- Dev uint64
- Ino uint64
-@@ -106,10 +89,10 @@ type Stat_t struct {
- Uid uint32
- Gid uint32
- Rdev uint64
-- X__pad1 uint64
-+ _ uint64
- Size int64
- Blksize int32
-- X__pad2 int32
-+ _ int32
- Blocks int64
- Atim Timespec
- Mtim Timespec
-@@ -117,139 +100,29 @@ type Stat_t struct {
- _ [2]int32
- }
-
--type Statfs_t struct {
-- Type int64
-- Bsize int64
-- Blocks uint64
-- Bfree uint64
-- Bavail uint64
-- Files uint64
-- Ffree uint64
-- Fsid Fsid
-- Namelen int64
-- Frsize int64
-- Flags int64
-- Spare [4]int64
--}
--
- type Dirent struct {
-- Ino uint64
-- Off int64
-- Reclen uint16
-- Type uint8
-- Name [256]int8
-- Pad_cgo_0 [5]byte
--}
--
--type Fsid struct {
-- X__val [2]int32
-+ Ino uint64
-+ Off int64
-+ Reclen uint16
-+ Type uint8
-+ Name [256]int8
-+ _ [5]byte
- }
-
- type Flock_t struct {
-- Type int16
-- Whence int16
-- Pad_cgo_0 [4]byte
-- Start int64
-- Len int64
-- Pid int32
-- Pad_cgo_1 [4]byte
--}
--
--type FscryptPolicy struct {
-- Version uint8
-- Contents_encryption_mode uint8
-- Filenames_encryption_mode uint8
-- Flags uint8
-- Master_key_descriptor [8]uint8
--}
--
--type FscryptKey struct {
-- Mode uint32
-- Raw [64]uint8
-- Size uint32
--}
--
--type KeyctlDHParams struct {
-- Private int32
-- Prime int32
-- Base int32
-+ Type int16
-+ Whence int16
-+ Start int64
-+ Len int64
-+ Pid int32
-+ _ [4]byte
- }
-
- const (
-- FADV_NORMAL = 0x0
-- FADV_RANDOM = 0x1
-- FADV_SEQUENTIAL = 0x2
-- FADV_WILLNEED = 0x3
-- FADV_DONTNEED = 0x4
-- FADV_NOREUSE = 0x5
-+ FADV_DONTNEED = 0x4
-+ FADV_NOREUSE = 0x5
- )
-
--type RawSockaddrInet4 struct {
-- Family uint16
-- Port uint16
-- Addr [4]byte /* in_addr */
-- Zero [8]uint8
--}
--
--type RawSockaddrInet6 struct {
-- Family uint16
-- Port uint16
-- Flowinfo uint32
-- Addr [16]byte /* in6_addr */
-- Scope_id uint32
--}
--
--type RawSockaddrUnix struct {
-- Family uint16
-- Path [108]int8
--}
--
--type RawSockaddrLinklayer struct {
-- Family uint16
-- Protocol uint16
-- Ifindex int32
-- Hatype uint16
-- Pkttype uint8
-- Halen uint8
-- Addr [8]uint8
--}
--
--type RawSockaddrNetlink struct {
-- Family uint16
-- Pad uint16
-- Pid uint32
-- Groups uint32
--}
--
--type RawSockaddrHCI struct {
-- Family uint16
-- Dev uint16
-- Channel uint16
--}
--
--type RawSockaddrCAN struct {
-- Family uint16
-- Pad_cgo_0 [2]byte
-- Ifindex int32
-- Addr [8]byte
--}
--
--type RawSockaddrALG struct {
-- Family uint16
-- Type [14]uint8
-- Feat uint32
-- Mask uint32
-- Name [64]uint8
--}
--
--type RawSockaddrVM struct {
-- Family uint16
-- Reserved1 uint16
-- Port uint32
-- Cid uint32
-- Zero [4]uint8
--}
--
- type RawSockaddr struct {
- Family uint16
- Data [14]int8
-@@ -260,51 +133,20 @@ type RawSockaddrAny struct {
- Pad [96]int8
- }
-
--type _Socklen uint32
--
--type Linger struct {
-- Onoff int32
-- Linger int32
--}
--
- type Iovec struct {
- Base *byte
- Len uint64
- }
-
--type IPMreq struct {
-- Multiaddr [4]byte /* in_addr */
-- Interface [4]byte /* in_addr */
--}
--
--type IPMreqn struct {
-- Multiaddr [4]byte /* in_addr */
-- Address [4]byte /* in_addr */
-- Ifindex int32
--}
--
--type IPv6Mreq struct {
-- Multiaddr [16]byte /* in6_addr */
-- Interface uint32
--}
--
--type PacketMreq struct {
-- Ifindex int32
-- Type uint16
-- Alen uint16
-- Address [8]uint8
--}
--
- type Msghdr struct {
- Name *byte
- Namelen uint32
-- Pad_cgo_0 [4]byte
- Iov *Iovec
- Iovlen uint64
- Control *byte
- Controllen uint64
- Flags int32
-- Pad_cgo_1 [4]byte
-+ _ [4]byte
- }
-
- type Cmsghdr struct {
-@@ -313,277 +155,16 @@ type Cmsghdr struct {
- Type int32
- }
-
--type Inet4Pktinfo struct {
-- Ifindex int32
-- Spec_dst [4]byte /* in_addr */
-- Addr [4]byte /* in_addr */
--}
--
--type Inet6Pktinfo struct {
-- Addr [16]byte /* in6_addr */
-- Ifindex uint32
--}
--
--type IPv6MTUInfo struct {
-- Addr RawSockaddrInet6
-- Mtu uint32
--}
--
--type ICMPv6Filter struct {
-- Data [8]uint32
--}
--
--type Ucred struct {
-- Pid int32
-- Uid uint32
-- Gid uint32
--}
--
--type TCPInfo struct {
-- State uint8
-- Ca_state uint8
-- Retransmits uint8
-- Probes uint8
-- Backoff uint8
-- Options uint8
-- Pad_cgo_0 [2]byte
-- Rto uint32
-- Ato uint32
-- Snd_mss uint32
-- Rcv_mss uint32
-- Unacked uint32
-- Sacked uint32
-- Lost uint32
-- Retrans uint32
-- Fackets uint32
-- Last_data_sent uint32
-- Last_ack_sent uint32
-- Last_data_recv uint32
-- Last_ack_recv uint32
-- Pmtu uint32
-- Rcv_ssthresh uint32
-- Rtt uint32
-- Rttvar uint32
-- Snd_ssthresh uint32
-- Snd_cwnd uint32
-- Advmss uint32
-- Reordering uint32
-- Rcv_rtt uint32
-- Rcv_space uint32
-- Total_retrans uint32
--}
--
- const (
-- SizeofSockaddrInet4 = 0x10
-- SizeofSockaddrInet6 = 0x1c
-- SizeofSockaddrAny = 0x70
-- SizeofSockaddrUnix = 0x6e
-- SizeofSockaddrLinklayer = 0x14
-- SizeofSockaddrNetlink = 0xc
-- SizeofSockaddrHCI = 0x6
-- SizeofSockaddrCAN = 0x10
-- SizeofSockaddrALG = 0x58
-- SizeofSockaddrVM = 0x10
-- SizeofLinger = 0x8
-- SizeofIovec = 0x10
-- SizeofIPMreq = 0x8
-- SizeofIPMreqn = 0xc
-- SizeofIPv6Mreq = 0x14
-- SizeofPacketMreq = 0x10
-- SizeofMsghdr = 0x38
-- SizeofCmsghdr = 0x10
-- SizeofInet4Pktinfo = 0xc
-- SizeofInet6Pktinfo = 0x14
-- SizeofIPv6MTUInfo = 0x20
-- SizeofICMPv6Filter = 0x20
-- SizeofUcred = 0xc
-- SizeofTCPInfo = 0x68
-+ SizeofIovec = 0x10
-+ SizeofMsghdr = 0x38
-+ SizeofCmsghdr = 0x10
- )
-
- const (
-- IFA_UNSPEC = 0x0
-- IFA_ADDRESS = 0x1
-- IFA_LOCAL = 0x2
-- IFA_LABEL = 0x3
-- IFA_BROADCAST = 0x4
-- IFA_ANYCAST = 0x5
-- IFA_CACHEINFO = 0x6
-- IFA_MULTICAST = 0x7
-- IFLA_UNSPEC = 0x0
-- IFLA_ADDRESS = 0x1
-- IFLA_BROADCAST = 0x2
-- IFLA_IFNAME = 0x3
-- IFLA_MTU = 0x4
-- IFLA_LINK = 0x5
-- IFLA_QDISC = 0x6
-- IFLA_STATS = 0x7
-- IFLA_COST = 0x8
-- IFLA_PRIORITY = 0x9
-- IFLA_MASTER = 0xa
-- IFLA_WIRELESS = 0xb
-- IFLA_PROTINFO = 0xc
-- IFLA_TXQLEN = 0xd
-- IFLA_MAP = 0xe
-- IFLA_WEIGHT = 0xf
-- IFLA_OPERSTATE = 0x10
-- IFLA_LINKMODE = 0x11
-- IFLA_LINKINFO = 0x12
-- IFLA_NET_NS_PID = 0x13
-- IFLA_IFALIAS = 0x14
-- IFLA_MAX = 0x2b
-- RT_SCOPE_UNIVERSE = 0x0
-- RT_SCOPE_SITE = 0xc8
-- RT_SCOPE_LINK = 0xfd
-- RT_SCOPE_HOST = 0xfe
-- RT_SCOPE_NOWHERE = 0xff
-- RT_TABLE_UNSPEC = 0x0
-- RT_TABLE_COMPAT = 0xfc
-- RT_TABLE_DEFAULT = 0xfd
-- RT_TABLE_MAIN = 0xfe
-- RT_TABLE_LOCAL = 0xff
-- RT_TABLE_MAX = 0xffffffff
-- RTA_UNSPEC = 0x0
-- RTA_DST = 0x1
-- RTA_SRC = 0x2
-- RTA_IIF = 0x3
-- RTA_OIF = 0x4
-- RTA_GATEWAY = 0x5
-- RTA_PRIORITY = 0x6
-- RTA_PREFSRC = 0x7
-- RTA_METRICS = 0x8
-- RTA_MULTIPATH = 0x9
-- RTA_FLOW = 0xb
-- RTA_CACHEINFO = 0xc
-- RTA_TABLE = 0xf
-- RTN_UNSPEC = 0x0
-- RTN_UNICAST = 0x1
-- RTN_LOCAL = 0x2
-- RTN_BROADCAST = 0x3
-- RTN_ANYCAST = 0x4
-- RTN_MULTICAST = 0x5
-- RTN_BLACKHOLE = 0x6
-- RTN_UNREACHABLE = 0x7
-- RTN_PROHIBIT = 0x8
-- RTN_THROW = 0x9
-- RTN_NAT = 0xa
-- RTN_XRESOLVE = 0xb
-- RTNLGRP_NONE = 0x0
-- RTNLGRP_LINK = 0x1
-- RTNLGRP_NOTIFY = 0x2
-- RTNLGRP_NEIGH = 0x3
-- RTNLGRP_TC = 0x4
-- RTNLGRP_IPV4_IFADDR = 0x5
-- RTNLGRP_IPV4_MROUTE = 0x6
-- RTNLGRP_IPV4_ROUTE = 0x7
-- RTNLGRP_IPV4_RULE = 0x8
-- RTNLGRP_IPV6_IFADDR = 0x9
-- RTNLGRP_IPV6_MROUTE = 0xa
-- RTNLGRP_IPV6_ROUTE = 0xb
-- RTNLGRP_IPV6_IFINFO = 0xc
-- RTNLGRP_IPV6_PREFIX = 0x12
-- RTNLGRP_IPV6_RULE = 0x13
-- RTNLGRP_ND_USEROPT = 0x14
-- SizeofNlMsghdr = 0x10
-- SizeofNlMsgerr = 0x14
-- SizeofRtGenmsg = 0x1
-- SizeofNlAttr = 0x4
-- SizeofRtAttr = 0x4
-- SizeofIfInfomsg = 0x10
-- SizeofIfAddrmsg = 0x8
-- SizeofRtMsg = 0xc
-- SizeofRtNexthop = 0x8
-+ SizeofSockFprog = 0x10
- )
-
--type NlMsghdr struct {
-- Len uint32
-- Type uint16
-- Flags uint16
-- Seq uint32
-- Pid uint32
--}
--
--type NlMsgerr struct {
-- Error int32
-- Msg NlMsghdr
--}
--
--type RtGenmsg struct {
-- Family uint8
--}
--
--type NlAttr struct {
-- Len uint16
-- Type uint16
--}
--
--type RtAttr struct {
-- Len uint16
-- Type uint16
--}
--
--type IfInfomsg struct {
-- Family uint8
-- X__ifi_pad uint8
-- Type uint16
-- Index int32
-- Flags uint32
-- Change uint32
--}
--
--type IfAddrmsg struct {
-- Family uint8
-- Prefixlen uint8
-- Flags uint8
-- Scope uint8
-- Index uint32
--}
--
--type RtMsg struct {
-- Family uint8
-- Dst_len uint8
-- Src_len uint8
-- Tos uint8
-- Table uint8
-- Protocol uint8
-- Scope uint8
-- Type uint8
-- Flags uint32
--}
--
--type RtNexthop struct {
-- Len uint16
-- Flags uint8
-- Hops uint8
-- Ifindex int32
--}
--
--const (
-- SizeofSockFilter = 0x8
-- SizeofSockFprog = 0x10
--)
--
--type SockFilter struct {
-- Code uint16
-- Jt uint8
-- Jf uint8
-- K uint32
--}
--
--type SockFprog struct {
-- Len uint16
-- Pad_cgo_0 [6]byte
-- Filter *SockFilter
--}
--
--type InotifyEvent struct {
-- Wd int32
-- Mask uint32
-- Cookie uint32
-- Len uint32
--}
--
--const SizeofInotifyEvent = 0x10
--
- type PtraceRegs struct {
- Regs [31]uint64
- Sp uint64
-@@ -606,30 +187,19 @@ type Sysinfo_t struct {
- Freeswap uint64
- Procs uint16
- Pad uint16
-- Pad_cgo_0 [4]byte
- Totalhigh uint64
- Freehigh uint64
- Unit uint32
-- X_f [0]int8
-- Pad_cgo_1 [4]byte
--}
--
--type Utsname struct {
-- Sysname [65]int8
-- Nodename [65]int8
-- Release [65]int8
-- Version [65]int8
-- Machine [65]int8
-- Domainname [65]int8
-+ _ [0]int8
-+ _ [4]byte
- }
-
- type Ustat_t struct {
-- Tfree int32
-- Pad_cgo_0 [4]byte
-- Tinode uint64
-- Fname [6]int8
-- Fpack [6]int8
-- Pad_cgo_1 [4]byte
-+ Tfree int32
-+ Tinode uint64
-+ Fname [6]int8
-+ Fpack [6]int8
-+ _ [4]byte
- }
-
- type EpollEvent struct {
-@@ -640,37 +210,14 @@ type EpollEvent struct {
- }
-
- const (
-- AT_FDCWD = -0x64
-- AT_REMOVEDIR = 0x200
-- AT_SYMLINK_FOLLOW = 0x400
-- AT_SYMLINK_NOFOLLOW = 0x100
--)
--
--type PollFd struct {
-- Fd int32
-- Events int16
-- Revents int16
--}
--
--const (
-- POLLIN = 0x1
-- POLLPRI = 0x2
-- POLLOUT = 0x4
- POLLRDHUP = 0x2000
-- POLLERR = 0x8
-- POLLHUP = 0x10
-- POLLNVAL = 0x20
- )
-
- type Sigset_t struct {
-- X__val [16]uint64
-+ Val [16]uint64
- }
-
--const RNDGETENTCNT = 0x80045200
--
--const PERF_IOC_FLAG_GROUP = 0x1
--
--const _SC_PAGESIZE = 0x1e
-+const _C__NSIG = 0x41
-
- type Termios struct {
- Iflag uint32
-@@ -683,20 +230,11 @@ type Termios struct {
- Ospeed uint32
- }
-
--type Winsize struct {
-- Row uint16
-- Col uint16
-- Xpixel uint16
-- Ypixel uint16
--}
--
- type Taskstats struct {
- Version uint16
-- Pad_cgo_0 [2]byte
- Ac_exitcode uint32
- Ac_flag uint8
- Ac_nice uint8
-- Pad_cgo_1 [6]byte
- Cpu_count uint64
- Cpu_delay_total uint64
- Blkio_count uint64
-@@ -708,13 +246,12 @@ type Taskstats struct {
- Ac_comm [32]int8
- Ac_sched uint8
- Ac_pad [3]uint8
-- Pad_cgo_2 [4]byte
-+ _ [4]byte
- Ac_uid uint32
- Ac_gid uint32
- Ac_pid uint32
- Ac_ppid uint32
- Ac_btime uint32
-- Pad_cgo_3 [4]byte
- Ac_etime uint64
- Ac_utime uint64
- Ac_stime uint64
-@@ -738,55 +275,319 @@ type Taskstats struct {
- Cpu_scaled_run_real_total uint64
- Freepages_count uint64
- Freepages_delay_total uint64
-+ Thrashing_count uint64
-+ Thrashing_delay_total uint64
-+ Ac_btime64 uint64
- }
-
-+type cpuMask uint64
-+
- const (
-- TASKSTATS_CMD_UNSPEC = 0x0
-- TASKSTATS_CMD_GET = 0x1
-- TASKSTATS_CMD_NEW = 0x2
-- TASKSTATS_TYPE_UNSPEC = 0x0
-- TASKSTATS_TYPE_PID = 0x1
-- TASKSTATS_TYPE_TGID = 0x2
-- TASKSTATS_TYPE_STATS = 0x3
-- TASKSTATS_TYPE_AGGR_PID = 0x4
-- TASKSTATS_TYPE_AGGR_TGID = 0x5
-- TASKSTATS_TYPE_NULL = 0x6
-- TASKSTATS_CMD_ATTR_UNSPEC = 0x0
-- TASKSTATS_CMD_ATTR_PID = 0x1
-- TASKSTATS_CMD_ATTR_TGID = 0x2
-- TASKSTATS_CMD_ATTR_REGISTER_CPUMASK = 0x3
-- TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK = 0x4
-+ _NCPUBITS = 0x40
- )
-
--type Genlmsghdr struct {
-- Cmd uint8
-- Version uint8
-- Reserved uint16
-+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 (
-- CTRL_CMD_UNSPEC = 0x0
-- CTRL_CMD_NEWFAMILY = 0x1
-- CTRL_CMD_DELFAMILY = 0x2
-- CTRL_CMD_GETFAMILY = 0x3
-- CTRL_CMD_NEWOPS = 0x4
-- CTRL_CMD_DELOPS = 0x5
-- CTRL_CMD_GETOPS = 0x6
-- CTRL_CMD_NEWMCAST_GRP = 0x7
-- CTRL_CMD_DELMCAST_GRP = 0x8
-- CTRL_CMD_GETMCAST_GRP = 0x9
-- CTRL_ATTR_UNSPEC = 0x0
-- CTRL_ATTR_FAMILY_ID = 0x1
-- CTRL_ATTR_FAMILY_NAME = 0x2
-- CTRL_ATTR_VERSION = 0x3
-- CTRL_ATTR_HDRSIZE = 0x4
-- CTRL_ATTR_MAXATTR = 0x5
-- CTRL_ATTR_OPS = 0x6
-- CTRL_ATTR_MCAST_GROUPS = 0x7
-- 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
-+ 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
-+}
-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 8fa6603f..aaca03dd 100644
---- a/vendor/golang.org/x/sys/unix/ztypes_linux_mips.go
-+++ b/vendor/golang.org/x/sys/unix/ztypes_linux_mips.go
-@@ -6,19 +6,12 @@
- package unix
-
- const (
-- sizeofPtr = 0x4
-- sizeofShort = 0x2
-- sizeofInt = 0x4
-- sizeofLong = 0x4
-- sizeofLongLong = 0x8
-- PathMax = 0x1000
-+ SizeofPtr = 0x4
-+ SizeofLong = 0x4
- )
-
- type (
-- _C_short int16
-- _C_int int32
-- _C_long int32
-- _C_long_long int64
-+ _C_long int32
- )
-
- type Timespec struct {
-@@ -52,7 +45,7 @@ type Timex struct {
- Errcnt int32
- Stbcnt int32
- Tai int32
-- Pad_cgo_0 [44]byte
-+ _ [44]byte
- }
-
- type Time_t int32
-@@ -88,13 +81,6 @@ type Rusage struct {
- Nivcsw int32
- }
-
--type Rlimit struct {
-- Cur uint64
-- Max uint64
--}
--
--type _Gid_t uint32
--
- type Stat_t struct {
- Dev uint32
- Pad1 [3]int32
-@@ -115,141 +101,30 @@ type Stat_t struct {
- Pad5 [14]int32
- }
-
--type Statfs_t struct {
-- Type int32
-- Bsize int32
-- Frsize int32
-- Pad_cgo_0 [4]byte
-- Blocks uint64
-- Bfree uint64
-- Files uint64
-- Ffree uint64
-- Bavail uint64
-- Fsid Fsid
-- Namelen int32
-- Flags int32
-- Spare [5]int32
-- Pad_cgo_1 [4]byte
--}
--
- type Dirent struct {
-- Ino uint64
-- Off int64
-- Reclen uint16
-- Type uint8
-- Name [256]int8
-- Pad_cgo_0 [5]byte
--}
--
--type Fsid struct {
-- X__val [2]int32
-+ Ino uint64
-+ Off int64
-+ Reclen uint16
-+ Type uint8
-+ Name [256]int8
-+ _ [5]byte
- }
-
- type Flock_t struct {
-- Type int16
-- Whence int16
-- Pad_cgo_0 [4]byte
-- Start int64
-- Len int64
-- Pid int32
-- Pad_cgo_1 [4]byte
--}
--
--type FscryptPolicy struct {
-- Version uint8
-- Contents_encryption_mode uint8
-- Filenames_encryption_mode uint8
-- Flags uint8
-- Master_key_descriptor [8]uint8
--}
--
--type FscryptKey struct {
-- Mode uint32
-- Raw [64]uint8
-- Size uint32
--}
--
--type KeyctlDHParams struct {
-- Private int32
-- Prime int32
-- Base int32
-+ Type int16
-+ Whence int16
-+ _ [4]byte
-+ Start int64
-+ Len int64
-+ Pid int32
-+ _ [4]byte
- }
-
- const (
-- FADV_NORMAL = 0x0
-- FADV_RANDOM = 0x1
-- FADV_SEQUENTIAL = 0x2
-- FADV_WILLNEED = 0x3
-- FADV_DONTNEED = 0x4
-- FADV_NOREUSE = 0x5
-+ FADV_DONTNEED = 0x4
-+ FADV_NOREUSE = 0x5
- )
-
--type RawSockaddrInet4 struct {
-- Family uint16
-- Port uint16
-- Addr [4]byte /* in_addr */
-- Zero [8]uint8
--}
--
--type RawSockaddrInet6 struct {
-- Family uint16
-- Port uint16
-- Flowinfo uint32
-- Addr [16]byte /* in6_addr */
-- Scope_id uint32
--}
--
--type RawSockaddrUnix struct {
-- Family uint16
-- Path [108]int8
--}
--
--type RawSockaddrLinklayer struct {
-- Family uint16
-- Protocol uint16
-- Ifindex int32
-- Hatype uint16
-- Pkttype uint8
-- Halen uint8
-- Addr [8]uint8
--}
--
--type RawSockaddrNetlink struct {
-- Family uint16
-- Pad uint16
-- Pid uint32
-- Groups uint32
--}
--
--type RawSockaddrHCI struct {
-- Family uint16
-- Dev uint16
-- Channel uint16
--}
--
--type RawSockaddrCAN struct {
-- Family uint16
-- Pad_cgo_0 [2]byte
-- Ifindex int32
-- Addr [8]byte
--}
--
--type RawSockaddrALG struct {
-- Family uint16
-- Type [14]uint8
-- Feat uint32
-- Mask uint32
-- Name [64]uint8
--}
--
--type RawSockaddrVM struct {
-- Family uint16
-- Reserved1 uint16
-- Port uint32
-- Cid uint32
-- Zero [4]uint8
--}
--
- type RawSockaddr struct {
- Family uint16
- Data [14]int8
-@@ -260,41 +135,11 @@ type RawSockaddrAny struct {
- Pad [96]int8
- }
-
--type _Socklen uint32
--
--type Linger struct {
-- Onoff int32
-- Linger int32
--}
--
- type Iovec struct {
- Base *byte
- Len uint32
- }
-
--type IPMreq struct {
-- Multiaddr [4]byte /* in_addr */
-- Interface [4]byte /* in_addr */
--}
--
--type IPMreqn struct {
-- Multiaddr [4]byte /* in_addr */
-- Address [4]byte /* in_addr */
-- Ifindex int32
--}
--
--type IPv6Mreq struct {
-- Multiaddr [16]byte /* in6_addr */
-- Interface uint32
--}
--
--type PacketMreq struct {
-- Ifindex int32
-- Type uint16
-- Alen uint16
-- Address [8]uint8
--}
--
- type Msghdr struct {
- Name *byte
- Namelen uint32
-@@ -311,277 +156,16 @@ type Cmsghdr struct {
- Type int32
- }
-
--type Inet4Pktinfo struct {
-- Ifindex int32
-- Spec_dst [4]byte /* in_addr */
-- Addr [4]byte /* in_addr */
--}
--
--type Inet6Pktinfo struct {
-- Addr [16]byte /* in6_addr */
-- Ifindex uint32
--}
--
--type IPv6MTUInfo struct {
-- Addr RawSockaddrInet6
-- Mtu uint32
--}
--
--type ICMPv6Filter struct {
-- Data [8]uint32
--}
--
--type Ucred struct {
-- Pid int32
-- Uid uint32
-- Gid uint32
--}
--
--type TCPInfo struct {
-- State uint8
-- Ca_state uint8
-- Retransmits uint8
-- Probes uint8
-- Backoff uint8
-- Options uint8
-- Pad_cgo_0 [2]byte
-- Rto uint32
-- Ato uint32
-- Snd_mss uint32
-- Rcv_mss uint32
-- Unacked uint32
-- Sacked uint32
-- Lost uint32
-- Retrans uint32
-- Fackets uint32
-- Last_data_sent uint32
-- Last_ack_sent uint32
-- Last_data_recv uint32
-- Last_ack_recv uint32
-- Pmtu uint32
-- Rcv_ssthresh uint32
-- Rtt uint32
-- Rttvar uint32
-- Snd_ssthresh uint32
-- Snd_cwnd uint32
-- Advmss uint32
-- Reordering uint32
-- Rcv_rtt uint32
-- Rcv_space uint32
-- Total_retrans uint32
--}
--
- const (
-- SizeofSockaddrInet4 = 0x10
-- SizeofSockaddrInet6 = 0x1c
-- SizeofSockaddrAny = 0x70
-- SizeofSockaddrUnix = 0x6e
-- SizeofSockaddrLinklayer = 0x14
-- SizeofSockaddrNetlink = 0xc
-- SizeofSockaddrHCI = 0x6
-- SizeofSockaddrCAN = 0x10
-- SizeofSockaddrALG = 0x58
-- SizeofSockaddrVM = 0x10
-- SizeofLinger = 0x8
-- SizeofIovec = 0x8
-- SizeofIPMreq = 0x8
-- SizeofIPMreqn = 0xc
-- SizeofIPv6Mreq = 0x14
-- SizeofPacketMreq = 0x10
-- SizeofMsghdr = 0x1c
-- SizeofCmsghdr = 0xc
-- SizeofInet4Pktinfo = 0xc
-- SizeofInet6Pktinfo = 0x14
-- SizeofIPv6MTUInfo = 0x20
-- SizeofICMPv6Filter = 0x20
-- SizeofUcred = 0xc
-- SizeofTCPInfo = 0x68
-+ SizeofIovec = 0x8
-+ SizeofMsghdr = 0x1c
-+ SizeofCmsghdr = 0xc
- )
-
- const (
-- IFA_UNSPEC = 0x0
-- IFA_ADDRESS = 0x1
-- IFA_LOCAL = 0x2
-- IFA_LABEL = 0x3
-- IFA_BROADCAST = 0x4
-- IFA_ANYCAST = 0x5
-- IFA_CACHEINFO = 0x6
-- IFA_MULTICAST = 0x7
-- IFLA_UNSPEC = 0x0
-- IFLA_ADDRESS = 0x1
-- IFLA_BROADCAST = 0x2
-- IFLA_IFNAME = 0x3
-- IFLA_MTU = 0x4
-- IFLA_LINK = 0x5
-- IFLA_QDISC = 0x6
-- IFLA_STATS = 0x7
-- IFLA_COST = 0x8
-- IFLA_PRIORITY = 0x9
-- IFLA_MASTER = 0xa
-- IFLA_WIRELESS = 0xb
-- IFLA_PROTINFO = 0xc
-- IFLA_TXQLEN = 0xd
-- IFLA_MAP = 0xe
-- IFLA_WEIGHT = 0xf
-- IFLA_OPERSTATE = 0x10
-- IFLA_LINKMODE = 0x11
-- IFLA_LINKINFO = 0x12
-- IFLA_NET_NS_PID = 0x13
-- IFLA_IFALIAS = 0x14
-- IFLA_MAX = 0x2b
-- RT_SCOPE_UNIVERSE = 0x0
-- RT_SCOPE_SITE = 0xc8
-- RT_SCOPE_LINK = 0xfd
-- RT_SCOPE_HOST = 0xfe
-- RT_SCOPE_NOWHERE = 0xff
-- RT_TABLE_UNSPEC = 0x0
-- RT_TABLE_COMPAT = 0xfc
-- RT_TABLE_DEFAULT = 0xfd
-- RT_TABLE_MAIN = 0xfe
-- RT_TABLE_LOCAL = 0xff
-- RT_TABLE_MAX = 0xffffffff
-- RTA_UNSPEC = 0x0
-- RTA_DST = 0x1
-- RTA_SRC = 0x2
-- RTA_IIF = 0x3
-- RTA_OIF = 0x4
-- RTA_GATEWAY = 0x5
-- RTA_PRIORITY = 0x6
-- RTA_PREFSRC = 0x7
-- RTA_METRICS = 0x8
-- RTA_MULTIPATH = 0x9
-- RTA_FLOW = 0xb
-- RTA_CACHEINFO = 0xc
-- RTA_TABLE = 0xf
-- RTN_UNSPEC = 0x0
-- RTN_UNICAST = 0x1
-- RTN_LOCAL = 0x2
-- RTN_BROADCAST = 0x3
-- RTN_ANYCAST = 0x4
-- RTN_MULTICAST = 0x5
-- RTN_BLACKHOLE = 0x6
-- RTN_UNREACHABLE = 0x7
-- RTN_PROHIBIT = 0x8
-- RTN_THROW = 0x9
-- RTN_NAT = 0xa
-- RTN_XRESOLVE = 0xb
-- RTNLGRP_NONE = 0x0
-- RTNLGRP_LINK = 0x1
-- RTNLGRP_NOTIFY = 0x2
-- RTNLGRP_NEIGH = 0x3
-- RTNLGRP_TC = 0x4
-- RTNLGRP_IPV4_IFADDR = 0x5
-- RTNLGRP_IPV4_MROUTE = 0x6
-- RTNLGRP_IPV4_ROUTE = 0x7
-- RTNLGRP_IPV4_RULE = 0x8
-- RTNLGRP_IPV6_IFADDR = 0x9
-- RTNLGRP_IPV6_MROUTE = 0xa
-- RTNLGRP_IPV6_ROUTE = 0xb
-- RTNLGRP_IPV6_IFINFO = 0xc
-- RTNLGRP_IPV6_PREFIX = 0x12
-- RTNLGRP_IPV6_RULE = 0x13
-- RTNLGRP_ND_USEROPT = 0x14
-- SizeofNlMsghdr = 0x10
-- SizeofNlMsgerr = 0x14
-- SizeofRtGenmsg = 0x1
-- SizeofNlAttr = 0x4
-- SizeofRtAttr = 0x4
-- SizeofIfInfomsg = 0x10
-- SizeofIfAddrmsg = 0x8
-- SizeofRtMsg = 0xc
-- SizeofRtNexthop = 0x8
-+ SizeofSockFprog = 0x8
- )
-
--type NlMsghdr struct {
-- Len uint32
-- Type uint16
-- Flags uint16
-- Seq uint32
-- Pid uint32
--}
--
--type NlMsgerr struct {
-- Error int32
-- Msg NlMsghdr
--}
--
--type RtGenmsg struct {
-- Family uint8
--}
--
--type NlAttr struct {
-- Len uint16
-- Type uint16
--}
--
--type RtAttr struct {
-- Len uint16
-- Type uint16
--}
--
--type IfInfomsg struct {
-- Family uint8
-- X__ifi_pad uint8
-- Type uint16
-- Index int32
-- Flags uint32
-- Change uint32
--}
--
--type IfAddrmsg struct {
-- Family uint8
-- Prefixlen uint8
-- Flags uint8
-- Scope uint8
-- Index uint32
--}
--
--type RtMsg struct {
-- Family uint8
-- Dst_len uint8
-- Src_len uint8
-- Tos uint8
-- Table uint8
-- Protocol uint8
-- Scope uint8
-- Type uint8
-- Flags uint32
--}
--
--type RtNexthop struct {
-- Len uint16
-- Flags uint8
-- Hops uint8
-- Ifindex int32
--}
--
--const (
-- SizeofSockFilter = 0x8
-- SizeofSockFprog = 0x8
--)
--
--type SockFilter struct {
-- Code uint16
-- Jt uint8
-- Jf uint8
-- K uint32
--}
--
--type SockFprog struct {
-- Len uint16
-- Pad_cgo_0 [2]byte
-- Filter *SockFilter
--}
--
--type InotifyEvent struct {
-- Wd int32
-- Mask uint32
-- Cookie uint32
-- Len uint32
--}
--
--const SizeofInotifyEvent = 0x10
--
- type PtraceRegs struct {
- Regs [32]uint64
- Lo uint64
-@@ -610,16 +194,7 @@ type Sysinfo_t struct {
- Totalhigh uint32
- Freehigh uint32
- Unit uint32
-- X_f [8]int8
--}
--
--type Utsname struct {
-- Sysname [65]int8
-- Nodename [65]int8
-- Release [65]int8
-- Version [65]int8
-- Machine [65]int8
-- Domainname [65]int8
-+ _ [8]int8
- }
-
- type Ustat_t struct {
-@@ -637,37 +212,14 @@ type EpollEvent struct {
- }
-
- const (
-- AT_FDCWD = -0x64
-- AT_REMOVEDIR = 0x200
-- AT_SYMLINK_FOLLOW = 0x400
-- AT_SYMLINK_NOFOLLOW = 0x100
--)
--
--type PollFd struct {
-- Fd int32
-- Events int16
-- Revents int16
--}
--
--const (
-- POLLIN = 0x1
-- POLLPRI = 0x2
-- POLLOUT = 0x4
- POLLRDHUP = 0x2000
-- POLLERR = 0x8
-- POLLHUP = 0x10
-- POLLNVAL = 0x20
- )
-
- type Sigset_t struct {
-- X__val [32]uint32
-+ Val [32]uint32
- }
-
--const RNDGETENTCNT = 0x40045200
--
--const PERF_IOC_FLAG_GROUP = 0x1
--
--const _SC_PAGESIZE = 0x1e
-+const _C__NSIG = 0x80
-
- type Termios struct {
- Iflag uint32
-@@ -680,20 +232,12 @@ type Termios struct {
- Ospeed uint32
- }
-
--type Winsize struct {
-- Row uint16
-- Col uint16
-- Xpixel uint16
-- Ypixel uint16
--}
--
- type Taskstats struct {
- Version uint16
-- Pad_cgo_0 [2]byte
- Ac_exitcode uint32
- Ac_flag uint8
- Ac_nice uint8
-- Pad_cgo_1 [6]byte
-+ _ [4]byte
- Cpu_count uint64
- Cpu_delay_total uint64
- Blkio_count uint64
-@@ -705,13 +249,13 @@ type Taskstats struct {
- Ac_comm [32]int8
- Ac_sched uint8
- Ac_pad [3]uint8
-- Pad_cgo_2 [4]byte
-+ _ [4]byte
- Ac_uid uint32
- Ac_gid uint32
- Ac_pid uint32
- Ac_ppid uint32
- Ac_btime uint32
-- Pad_cgo_3 [4]byte
-+ _ [4]byte
- Ac_etime uint64
- Ac_utime uint64
- Ac_stime uint64
-@@ -735,55 +279,319 @@ type Taskstats struct {
- Cpu_scaled_run_real_total uint64
- Freepages_count uint64
- Freepages_delay_total uint64
-+ Thrashing_count uint64
-+ Thrashing_delay_total uint64
-+ Ac_btime64 uint64
- }
-
-+type cpuMask uint32
-+
-+const (
-+ _NCPUBITS = 0x20
-+)
-+
- const (
-- TASKSTATS_CMD_UNSPEC = 0x0
-- TASKSTATS_CMD_GET = 0x1
-- TASKSTATS_CMD_NEW = 0x2
-- TASKSTATS_TYPE_UNSPEC = 0x0
-- TASKSTATS_TYPE_PID = 0x1
-- TASKSTATS_TYPE_TGID = 0x2
-- TASKSTATS_TYPE_STATS = 0x3
-- TASKSTATS_TYPE_AGGR_PID = 0x4
-- TASKSTATS_TYPE_AGGR_TGID = 0x5
-- TASKSTATS_TYPE_NULL = 0x6
-- TASKSTATS_CMD_ATTR_UNSPEC = 0x0
-- TASKSTATS_CMD_ATTR_PID = 0x1
-- TASKSTATS_CMD_ATTR_TGID = 0x2
-- TASKSTATS_CMD_ATTR_REGISTER_CPUMASK = 0x3
-- TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK = 0x4
-+ CBitFieldMaskBit0 = 0x8000000000000000
-+ CBitFieldMaskBit1 = 0x4000000000000000
-+ CBitFieldMaskBit2 = 0x2000000000000000
-+ CBitFieldMaskBit3 = 0x1000000000000000
-+ CBitFieldMaskBit4 = 0x800000000000000
-+ CBitFieldMaskBit5 = 0x400000000000000
-+ CBitFieldMaskBit6 = 0x200000000000000
-+ CBitFieldMaskBit7 = 0x100000000000000
-+ CBitFieldMaskBit8 = 0x80000000000000
-+ CBitFieldMaskBit9 = 0x40000000000000
-+ CBitFieldMaskBit10 = 0x20000000000000
-+ CBitFieldMaskBit11 = 0x10000000000000
-+ CBitFieldMaskBit12 = 0x8000000000000
-+ CBitFieldMaskBit13 = 0x4000000000000
-+ CBitFieldMaskBit14 = 0x2000000000000
-+ CBitFieldMaskBit15 = 0x1000000000000
-+ CBitFieldMaskBit16 = 0x800000000000
-+ CBitFieldMaskBit17 = 0x400000000000
-+ CBitFieldMaskBit18 = 0x200000000000
-+ CBitFieldMaskBit19 = 0x100000000000
-+ CBitFieldMaskBit20 = 0x80000000000
-+ CBitFieldMaskBit21 = 0x40000000000
-+ CBitFieldMaskBit22 = 0x20000000000
-+ CBitFieldMaskBit23 = 0x10000000000
-+ CBitFieldMaskBit24 = 0x8000000000
-+ CBitFieldMaskBit25 = 0x4000000000
-+ CBitFieldMaskBit26 = 0x2000000000
-+ CBitFieldMaskBit27 = 0x1000000000
-+ CBitFieldMaskBit28 = 0x800000000
-+ CBitFieldMaskBit29 = 0x400000000
-+ CBitFieldMaskBit30 = 0x200000000
-+ CBitFieldMaskBit31 = 0x100000000
-+ CBitFieldMaskBit32 = 0x80000000
-+ CBitFieldMaskBit33 = 0x40000000
-+ CBitFieldMaskBit34 = 0x20000000
-+ CBitFieldMaskBit35 = 0x10000000
-+ CBitFieldMaskBit36 = 0x8000000
-+ CBitFieldMaskBit37 = 0x4000000
-+ CBitFieldMaskBit38 = 0x2000000
-+ CBitFieldMaskBit39 = 0x1000000
-+ CBitFieldMaskBit40 = 0x800000
-+ CBitFieldMaskBit41 = 0x400000
-+ CBitFieldMaskBit42 = 0x200000
-+ CBitFieldMaskBit43 = 0x100000
-+ CBitFieldMaskBit44 = 0x80000
-+ CBitFieldMaskBit45 = 0x40000
-+ CBitFieldMaskBit46 = 0x20000
-+ CBitFieldMaskBit47 = 0x10000
-+ CBitFieldMaskBit48 = 0x8000
-+ CBitFieldMaskBit49 = 0x4000
-+ CBitFieldMaskBit50 = 0x2000
-+ CBitFieldMaskBit51 = 0x1000
-+ CBitFieldMaskBit52 = 0x800
-+ CBitFieldMaskBit53 = 0x400
-+ CBitFieldMaskBit54 = 0x200
-+ CBitFieldMaskBit55 = 0x100
-+ CBitFieldMaskBit56 = 0x80
-+ CBitFieldMaskBit57 = 0x40
-+ CBitFieldMaskBit58 = 0x20
-+ CBitFieldMaskBit59 = 0x10
-+ CBitFieldMaskBit60 = 0x8
-+ CBitFieldMaskBit61 = 0x4
-+ CBitFieldMaskBit62 = 0x2
-+ CBitFieldMaskBit63 = 0x1
- )
-
--type Genlmsghdr struct {
-- Cmd uint8
-- Version uint8
-- Reserved uint16
-+type SockaddrStorage struct {
-+ Family uint16
-+ _ [122]int8
-+ _ uint32
-+}
-+
-+type HDGeometry struct {
-+ Heads uint8
-+ Sectors uint8
-+ Cylinders uint16
-+ Start uint32
-+}
-+
-+type Statfs_t struct {
-+ Type int32
-+ Bsize int32
-+ Frsize int32
-+ _ [4]byte
-+ Blocks uint64
-+ Bfree uint64
-+ Files uint64
-+ Ffree uint64
-+ Bavail uint64
-+ Fsid Fsid
-+ Namelen int32
-+ Flags int32
-+ Spare [5]int32
-+ _ [4]byte
-+}
-+
-+type TpacketHdr struct {
-+ Status uint32
-+ Len uint32
-+ Snaplen uint32
-+ Mac uint16
-+ Net uint16
-+ Sec uint32
-+ Usec uint32
-+}
-+
-+const (
-+ SizeofTpacketHdr = 0x18
-+)
-+
-+type RTCPLLInfo struct {
-+ Ctrl int32
-+ Value int32
-+ Max int32
-+ Min int32
-+ Posmult int32
-+ Negmult int32
-+ Clock int32
-+}
-+
-+type BlkpgPartition struct {
-+ Start int64
-+ Length int64
-+ Pno int32
-+ Devname [64]uint8
-+ Volname [64]uint8
-+ _ [4]byte
- }
-
- const (
-- CTRL_CMD_UNSPEC = 0x0
-- CTRL_CMD_NEWFAMILY = 0x1
-- CTRL_CMD_DELFAMILY = 0x2
-- CTRL_CMD_GETFAMILY = 0x3
-- CTRL_CMD_NEWOPS = 0x4
-- CTRL_CMD_DELOPS = 0x5
-- CTRL_CMD_GETOPS = 0x6
-- CTRL_CMD_NEWMCAST_GRP = 0x7
-- CTRL_CMD_DELMCAST_GRP = 0x8
-- CTRL_CMD_GETMCAST_GRP = 0x9
-- CTRL_ATTR_UNSPEC = 0x0
-- CTRL_ATTR_FAMILY_ID = 0x1
-- CTRL_ATTR_FAMILY_NAME = 0x2
-- CTRL_ATTR_VERSION = 0x3
-- CTRL_ATTR_HDRSIZE = 0x4
-- CTRL_ATTR_MAXATTR = 0x5
-- CTRL_ATTR_OPS = 0x6
-- CTRL_ATTR_MCAST_GROUPS = 0x7
-- 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
-+ BLKPG = 0x20001269
- )
-+
-+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 uint32
-+ Rdevice uint32
-+ Offset int32
-+ Encrypt_type int32
-+ Encrypt_key_size int32
-+ Flags int32
-+ Name [64]int8
-+ Encrypt_key [32]uint8
-+ Init [2]uint32
-+ Reserved [4]int8
-+}
-+
-+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
-+}
-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 3e5fc625..2e7f3b8c 100644
---- a/vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go
-+++ b/vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go
-@@ -6,19 +6,12 @@
- package unix
-
- const (
-- sizeofPtr = 0x8
-- sizeofShort = 0x2
-- sizeofInt = 0x4
-- sizeofLong = 0x8
-- sizeofLongLong = 0x8
-- PathMax = 0x1000
-+ SizeofPtr = 0x8
-+ SizeofLong = 0x8
- )
-
- type (
-- _C_short int16
-- _C_int int32
-- _C_long int64
-- _C_long_long int64
-+ _C_long int64
- )
-
- type Timespec struct {
-@@ -33,13 +26,11 @@ type Timeval struct {
-
- type Timex struct {
- Modes uint32
-- Pad_cgo_0 [4]byte
- Offset int64
- Freq int64
- Maxerror int64
- Esterror int64
- Status int32
-- Pad_cgo_1 [4]byte
- Constant int64
- Precision int64
- Tolerance int64
-@@ -48,14 +39,13 @@ type Timex struct {
- Ppsfreq int64
- Jitter int64
- Shift int32
-- Pad_cgo_2 [4]byte
- Stabil int64
- Jitcnt int64
- Calcnt int64
- Errcnt int64
- Stbcnt int64
- Tai int32
-- Pad_cgo_3 [44]byte
-+ _ [44]byte
- }
-
- type Time_t int64
-@@ -91,13 +81,6 @@ type Rusage struct {
- Nivcsw int64
- }
-
--type Rlimit struct {
-- Cur uint64
-- Max uint64
--}
--
--type _Gid_t uint32
--
- type Stat_t struct {
- Dev uint32
- Pad1 [3]uint32
-@@ -117,139 +100,29 @@ type Stat_t struct {
- Blocks int64
- }
-
--type Statfs_t struct {
-- Type int64
-- Bsize int64
-- Frsize int64
-- Blocks uint64
-- Bfree uint64
-- Files uint64
-- Ffree uint64
-- Bavail uint64
-- Fsid Fsid
-- Namelen int64
-- Flags int64
-- Spare [5]int64
--}
--
- type Dirent struct {
-- Ino uint64
-- Off int64
-- Reclen uint16
-- Type uint8
-- Name [256]int8
-- Pad_cgo_0 [5]byte
--}
--
--type Fsid struct {
-- X__val [2]int32
-+ Ino uint64
-+ Off int64
-+ Reclen uint16
-+ Type uint8
-+ Name [256]int8
-+ _ [5]byte
- }
-
- type Flock_t struct {
-- Type int16
-- Whence int16
-- Pad_cgo_0 [4]byte
-- Start int64
-- Len int64
-- Pid int32
-- Pad_cgo_1 [4]byte
--}
--
--type FscryptPolicy struct {
-- Version uint8
-- Contents_encryption_mode uint8
-- Filenames_encryption_mode uint8
-- Flags uint8
-- Master_key_descriptor [8]uint8
--}
--
--type FscryptKey struct {
-- Mode uint32
-- Raw [64]uint8
-- Size uint32
--}
--
--type KeyctlDHParams struct {
-- Private int32
-- Prime int32
-- Base int32
-+ Type int16
-+ Whence int16
-+ Start int64
-+ Len int64
-+ Pid int32
-+ _ [4]byte
- }
-
- const (
-- FADV_NORMAL = 0x0
-- FADV_RANDOM = 0x1
-- FADV_SEQUENTIAL = 0x2
-- FADV_WILLNEED = 0x3
-- FADV_DONTNEED = 0x4
-- FADV_NOREUSE = 0x5
-+ FADV_DONTNEED = 0x4
-+ FADV_NOREUSE = 0x5
- )
-
--type RawSockaddrInet4 struct {
-- Family uint16
-- Port uint16
-- Addr [4]byte /* in_addr */
-- Zero [8]uint8
--}
--
--type RawSockaddrInet6 struct {
-- Family uint16
-- Port uint16
-- Flowinfo uint32
-- Addr [16]byte /* in6_addr */
-- Scope_id uint32
--}
--
--type RawSockaddrUnix struct {
-- Family uint16
-- Path [108]int8
--}
--
--type RawSockaddrLinklayer struct {
-- Family uint16
-- Protocol uint16
-- Ifindex int32
-- Hatype uint16
-- Pkttype uint8
-- Halen uint8
-- Addr [8]uint8
--}
--
--type RawSockaddrNetlink struct {
-- Family uint16
-- Pad uint16
-- Pid uint32
-- Groups uint32
--}
--
--type RawSockaddrHCI struct {
-- Family uint16
-- Dev uint16
-- Channel uint16
--}
--
--type RawSockaddrCAN struct {
-- Family uint16
-- Pad_cgo_0 [2]byte
-- Ifindex int32
-- Addr [8]byte
--}
--
--type RawSockaddrALG struct {
-- Family uint16
-- Type [14]uint8
-- Feat uint32
-- Mask uint32
-- Name [64]uint8
--}
--
--type RawSockaddrVM struct {
-- Family uint16
-- Reserved1 uint16
-- Port uint32
-- Cid uint32
-- Zero [4]uint8
--}
--
- type RawSockaddr struct {
- Family uint16
- Data [14]int8
-@@ -260,51 +133,20 @@ type RawSockaddrAny struct {
- Pad [96]int8
- }
-
--type _Socklen uint32
--
--type Linger struct {
-- Onoff int32
-- Linger int32
--}
--
- type Iovec struct {
- Base *byte
- Len uint64
- }
-
--type IPMreq struct {
-- Multiaddr [4]byte /* in_addr */
-- Interface [4]byte /* in_addr */
--}
--
--type IPMreqn struct {
-- Multiaddr [4]byte /* in_addr */
-- Address [4]byte /* in_addr */
-- Ifindex int32
--}
--
--type IPv6Mreq struct {
-- Multiaddr [16]byte /* in6_addr */
-- Interface uint32
--}
--
--type PacketMreq struct {
-- Ifindex int32
-- Type uint16
-- Alen uint16
-- Address [8]uint8
--}
--
- type Msghdr struct {
- Name *byte
- Namelen uint32
-- Pad_cgo_0 [4]byte
- Iov *Iovec
- Iovlen uint64
- Control *byte
- Controllen uint64
- Flags int32
-- Pad_cgo_1 [4]byte
-+ _ [4]byte
- }
-
- type Cmsghdr struct {
-@@ -313,277 +155,16 @@ type Cmsghdr struct {
- Type int32
- }
-
--type Inet4Pktinfo struct {
-- Ifindex int32
-- Spec_dst [4]byte /* in_addr */
-- Addr [4]byte /* in_addr */
--}
--
--type Inet6Pktinfo struct {
-- Addr [16]byte /* in6_addr */
-- Ifindex uint32
--}
--
--type IPv6MTUInfo struct {
-- Addr RawSockaddrInet6
-- Mtu uint32
--}
--
--type ICMPv6Filter struct {
-- Data [8]uint32
--}
--
--type Ucred struct {
-- Pid int32
-- Uid uint32
-- Gid uint32
--}
--
--type TCPInfo struct {
-- State uint8
-- Ca_state uint8
-- Retransmits uint8
-- Probes uint8
-- Backoff uint8
-- Options uint8
-- Pad_cgo_0 [2]byte
-- Rto uint32
-- Ato uint32
-- Snd_mss uint32
-- Rcv_mss uint32
-- Unacked uint32
-- Sacked uint32
-- Lost uint32
-- Retrans uint32
-- Fackets uint32
-- Last_data_sent uint32
-- Last_ack_sent uint32
-- Last_data_recv uint32
-- Last_ack_recv uint32
-- Pmtu uint32
-- Rcv_ssthresh uint32
-- Rtt uint32
-- Rttvar uint32
-- Snd_ssthresh uint32
-- Snd_cwnd uint32
-- Advmss uint32
-- Reordering uint32
-- Rcv_rtt uint32
-- Rcv_space uint32
-- Total_retrans uint32
--}
--
- const (
-- SizeofSockaddrInet4 = 0x10
-- SizeofSockaddrInet6 = 0x1c
-- SizeofSockaddrAny = 0x70
-- SizeofSockaddrUnix = 0x6e
-- SizeofSockaddrLinklayer = 0x14
-- SizeofSockaddrNetlink = 0xc
-- SizeofSockaddrHCI = 0x6
-- SizeofSockaddrCAN = 0x10
-- SizeofSockaddrALG = 0x58
-- SizeofSockaddrVM = 0x10
-- SizeofLinger = 0x8
-- SizeofIovec = 0x10
-- SizeofIPMreq = 0x8
-- SizeofIPMreqn = 0xc
-- SizeofIPv6Mreq = 0x14
-- SizeofPacketMreq = 0x10
-- SizeofMsghdr = 0x38
-- SizeofCmsghdr = 0x10
-- SizeofInet4Pktinfo = 0xc
-- SizeofInet6Pktinfo = 0x14
-- SizeofIPv6MTUInfo = 0x20
-- SizeofICMPv6Filter = 0x20
-- SizeofUcred = 0xc
-- SizeofTCPInfo = 0x68
-+ SizeofIovec = 0x10
-+ SizeofMsghdr = 0x38
-+ SizeofCmsghdr = 0x10
- )
-
- const (
-- IFA_UNSPEC = 0x0
-- IFA_ADDRESS = 0x1
-- IFA_LOCAL = 0x2
-- IFA_LABEL = 0x3
-- IFA_BROADCAST = 0x4
-- IFA_ANYCAST = 0x5
-- IFA_CACHEINFO = 0x6
-- IFA_MULTICAST = 0x7
-- IFLA_UNSPEC = 0x0
-- IFLA_ADDRESS = 0x1
-- IFLA_BROADCAST = 0x2
-- IFLA_IFNAME = 0x3
-- IFLA_MTU = 0x4
-- IFLA_LINK = 0x5
-- IFLA_QDISC = 0x6
-- IFLA_STATS = 0x7
-- IFLA_COST = 0x8
-- IFLA_PRIORITY = 0x9
-- IFLA_MASTER = 0xa
-- IFLA_WIRELESS = 0xb
-- IFLA_PROTINFO = 0xc
-- IFLA_TXQLEN = 0xd
-- IFLA_MAP = 0xe
-- IFLA_WEIGHT = 0xf
-- IFLA_OPERSTATE = 0x10
-- IFLA_LINKMODE = 0x11
-- IFLA_LINKINFO = 0x12
-- IFLA_NET_NS_PID = 0x13
-- IFLA_IFALIAS = 0x14
-- IFLA_MAX = 0x2b
-- RT_SCOPE_UNIVERSE = 0x0
-- RT_SCOPE_SITE = 0xc8
-- RT_SCOPE_LINK = 0xfd
-- RT_SCOPE_HOST = 0xfe
-- RT_SCOPE_NOWHERE = 0xff
-- RT_TABLE_UNSPEC = 0x0
-- RT_TABLE_COMPAT = 0xfc
-- RT_TABLE_DEFAULT = 0xfd
-- RT_TABLE_MAIN = 0xfe
-- RT_TABLE_LOCAL = 0xff
-- RT_TABLE_MAX = 0xffffffff
-- RTA_UNSPEC = 0x0
-- RTA_DST = 0x1
-- RTA_SRC = 0x2
-- RTA_IIF = 0x3
-- RTA_OIF = 0x4
-- RTA_GATEWAY = 0x5
-- RTA_PRIORITY = 0x6
-- RTA_PREFSRC = 0x7
-- RTA_METRICS = 0x8
-- RTA_MULTIPATH = 0x9
-- RTA_FLOW = 0xb
-- RTA_CACHEINFO = 0xc
-- RTA_TABLE = 0xf
-- RTN_UNSPEC = 0x0
-- RTN_UNICAST = 0x1
-- RTN_LOCAL = 0x2
-- RTN_BROADCAST = 0x3
-- RTN_ANYCAST = 0x4
-- RTN_MULTICAST = 0x5
-- RTN_BLACKHOLE = 0x6
-- RTN_UNREACHABLE = 0x7
-- RTN_PROHIBIT = 0x8
-- RTN_THROW = 0x9
-- RTN_NAT = 0xa
-- RTN_XRESOLVE = 0xb
-- RTNLGRP_NONE = 0x0
-- RTNLGRP_LINK = 0x1
-- RTNLGRP_NOTIFY = 0x2
-- RTNLGRP_NEIGH = 0x3
-- RTNLGRP_TC = 0x4
-- RTNLGRP_IPV4_IFADDR = 0x5
-- RTNLGRP_IPV4_MROUTE = 0x6
-- RTNLGRP_IPV4_ROUTE = 0x7
-- RTNLGRP_IPV4_RULE = 0x8
-- RTNLGRP_IPV6_IFADDR = 0x9
-- RTNLGRP_IPV6_MROUTE = 0xa
-- RTNLGRP_IPV6_ROUTE = 0xb
-- RTNLGRP_IPV6_IFINFO = 0xc
-- RTNLGRP_IPV6_PREFIX = 0x12
-- RTNLGRP_IPV6_RULE = 0x13
-- RTNLGRP_ND_USEROPT = 0x14
-- SizeofNlMsghdr = 0x10
-- SizeofNlMsgerr = 0x14
-- SizeofRtGenmsg = 0x1
-- SizeofNlAttr = 0x4
-- SizeofRtAttr = 0x4
-- SizeofIfInfomsg = 0x10
-- SizeofIfAddrmsg = 0x8
-- SizeofRtMsg = 0xc
-- SizeofRtNexthop = 0x8
-+ SizeofSockFprog = 0x10
- )
-
--type NlMsghdr struct {
-- Len uint32
-- Type uint16
-- Flags uint16
-- Seq uint32
-- Pid uint32
--}
--
--type NlMsgerr struct {
-- Error int32
-- Msg NlMsghdr
--}
--
--type RtGenmsg struct {
-- Family uint8
--}
--
--type NlAttr struct {
-- Len uint16
-- Type uint16
--}
--
--type RtAttr struct {
-- Len uint16
-- Type uint16
--}
--
--type IfInfomsg struct {
-- Family uint8
-- X__ifi_pad uint8
-- Type uint16
-- Index int32
-- Flags uint32
-- Change uint32
--}
--
--type IfAddrmsg struct {
-- Family uint8
-- Prefixlen uint8
-- Flags uint8
-- Scope uint8
-- Index uint32
--}
--
--type RtMsg struct {
-- Family uint8
-- Dst_len uint8
-- Src_len uint8
-- Tos uint8
-- Table uint8
-- Protocol uint8
-- Scope uint8
-- Type uint8
-- Flags uint32
--}
--
--type RtNexthop struct {
-- Len uint16
-- Flags uint8
-- Hops uint8
-- Ifindex int32
--}
--
--const (
-- SizeofSockFilter = 0x8
-- SizeofSockFprog = 0x10
--)
--
--type SockFilter struct {
-- Code uint16
-- Jt uint8
-- Jf uint8
-- K uint32
--}
--
--type SockFprog struct {
-- Len uint16
-- Pad_cgo_0 [6]byte
-- Filter *SockFilter
--}
--
--type InotifyEvent struct {
-- Wd int32
-- Mask uint32
-- Cookie uint32
-- Len uint32
--}
--
--const SizeofInotifyEvent = 0x10
--
- type PtraceRegs struct {
- Regs [32]uint64
- Lo uint64
-@@ -609,70 +190,37 @@ type Sysinfo_t struct {
- Freeswap uint64
- Procs uint16
- Pad uint16
-- Pad_cgo_0 [4]byte
- Totalhigh uint64
- Freehigh uint64
- Unit uint32
-- X_f [0]int8
-- Pad_cgo_1 [4]byte
--}
--
--type Utsname struct {
-- Sysname [65]int8
-- Nodename [65]int8
-- Release [65]int8
-- Version [65]int8
-- Machine [65]int8
-- Domainname [65]int8
-+ _ [0]int8
-+ _ [4]byte
- }
-
- type Ustat_t struct {
-- Tfree int32
-- Pad_cgo_0 [4]byte
-- Tinode uint64
-- Fname [6]int8
-- Fpack [6]int8
-- Pad_cgo_1 [4]byte
-+ Tfree int32
-+ Tinode uint64
-+ Fname [6]int8
-+ Fpack [6]int8
-+ _ [4]byte
- }
-
- type EpollEvent struct {
- Events uint32
-+ _ int32
- Fd int32
- Pad int32
- }
-
- const (
-- AT_FDCWD = -0x64
-- AT_REMOVEDIR = 0x200
-- AT_SYMLINK_FOLLOW = 0x400
-- AT_SYMLINK_NOFOLLOW = 0x100
--)
--
--type PollFd struct {
-- Fd int32
-- Events int16
-- Revents int16
--}
--
--const (
-- POLLIN = 0x1
-- POLLPRI = 0x2
-- POLLOUT = 0x4
- POLLRDHUP = 0x2000
-- POLLERR = 0x8
-- POLLHUP = 0x10
-- POLLNVAL = 0x20
- )
-
- type Sigset_t struct {
-- X__val [16]uint64
-+ Val [16]uint64
- }
-
--const RNDGETENTCNT = 0x40045200
--
--const PERF_IOC_FLAG_GROUP = 0x1
--
--const _SC_PAGESIZE = 0x1e
-+const _C__NSIG = 0x80
-
- type Termios struct {
- Iflag uint32
-@@ -685,20 +233,11 @@ type Termios struct {
- Ospeed uint32
- }
-
--type Winsize struct {
-- Row uint16
-- Col uint16
-- Xpixel uint16
-- Ypixel uint16
--}
--
- type Taskstats struct {
- Version uint16
-- Pad_cgo_0 [2]byte
- Ac_exitcode uint32
- Ac_flag uint8
- Ac_nice uint8
-- Pad_cgo_1 [6]byte
- Cpu_count uint64
- Cpu_delay_total uint64
- Blkio_count uint64
-@@ -710,13 +249,12 @@ type Taskstats struct {
- Ac_comm [32]int8
- Ac_sched uint8
- Ac_pad [3]uint8
-- Pad_cgo_2 [4]byte
-+ _ [4]byte
- Ac_uid uint32
- Ac_gid uint32
- Ac_pid uint32
- Ac_ppid uint32
- Ac_btime uint32
-- Pad_cgo_3 [4]byte
- Ac_etime uint64
- Ac_utime uint64
- Ac_stime uint64
-@@ -740,55 +278,319 @@ type Taskstats struct {
- Cpu_scaled_run_real_total uint64
- Freepages_count uint64
- Freepages_delay_total uint64
-+ Thrashing_count uint64
-+ Thrashing_delay_total uint64
-+ Ac_btime64 uint64
- }
-
-+type cpuMask uint64
-+
- const (
-- TASKSTATS_CMD_UNSPEC = 0x0
-- TASKSTATS_CMD_GET = 0x1
-- TASKSTATS_CMD_NEW = 0x2
-- TASKSTATS_TYPE_UNSPEC = 0x0
-- TASKSTATS_TYPE_PID = 0x1
-- TASKSTATS_TYPE_TGID = 0x2
-- TASKSTATS_TYPE_STATS = 0x3
-- TASKSTATS_TYPE_AGGR_PID = 0x4
-- TASKSTATS_TYPE_AGGR_TGID = 0x5
-- TASKSTATS_TYPE_NULL = 0x6
-- TASKSTATS_CMD_ATTR_UNSPEC = 0x0
-- TASKSTATS_CMD_ATTR_PID = 0x1
-- TASKSTATS_CMD_ATTR_TGID = 0x2
-- TASKSTATS_CMD_ATTR_REGISTER_CPUMASK = 0x3
-- TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK = 0x4
-+ _NCPUBITS = 0x40
- )
-
--type Genlmsghdr struct {
-- Cmd uint8
-- Version uint8
-- Reserved uint16
-+const (
-+ CBitFieldMaskBit0 = 0x8000000000000000
-+ CBitFieldMaskBit1 = 0x4000000000000000
-+ CBitFieldMaskBit2 = 0x2000000000000000
-+ CBitFieldMaskBit3 = 0x1000000000000000
-+ CBitFieldMaskBit4 = 0x800000000000000
-+ CBitFieldMaskBit5 = 0x400000000000000
-+ CBitFieldMaskBit6 = 0x200000000000000
-+ CBitFieldMaskBit7 = 0x100000000000000
-+ CBitFieldMaskBit8 = 0x80000000000000
-+ CBitFieldMaskBit9 = 0x40000000000000
-+ CBitFieldMaskBit10 = 0x20000000000000
-+ CBitFieldMaskBit11 = 0x10000000000000
-+ CBitFieldMaskBit12 = 0x8000000000000
-+ CBitFieldMaskBit13 = 0x4000000000000
-+ CBitFieldMaskBit14 = 0x2000000000000
-+ CBitFieldMaskBit15 = 0x1000000000000
-+ CBitFieldMaskBit16 = 0x800000000000
-+ CBitFieldMaskBit17 = 0x400000000000
-+ CBitFieldMaskBit18 = 0x200000000000
-+ CBitFieldMaskBit19 = 0x100000000000
-+ CBitFieldMaskBit20 = 0x80000000000
-+ CBitFieldMaskBit21 = 0x40000000000
-+ CBitFieldMaskBit22 = 0x20000000000
-+ CBitFieldMaskBit23 = 0x10000000000
-+ CBitFieldMaskBit24 = 0x8000000000
-+ CBitFieldMaskBit25 = 0x4000000000
-+ CBitFieldMaskBit26 = 0x2000000000
-+ CBitFieldMaskBit27 = 0x1000000000
-+ CBitFieldMaskBit28 = 0x800000000
-+ CBitFieldMaskBit29 = 0x400000000
-+ CBitFieldMaskBit30 = 0x200000000
-+ CBitFieldMaskBit31 = 0x100000000
-+ CBitFieldMaskBit32 = 0x80000000
-+ CBitFieldMaskBit33 = 0x40000000
-+ CBitFieldMaskBit34 = 0x20000000
-+ CBitFieldMaskBit35 = 0x10000000
-+ CBitFieldMaskBit36 = 0x8000000
-+ CBitFieldMaskBit37 = 0x4000000
-+ CBitFieldMaskBit38 = 0x2000000
-+ CBitFieldMaskBit39 = 0x1000000
-+ CBitFieldMaskBit40 = 0x800000
-+ CBitFieldMaskBit41 = 0x400000
-+ CBitFieldMaskBit42 = 0x200000
-+ CBitFieldMaskBit43 = 0x100000
-+ CBitFieldMaskBit44 = 0x80000
-+ CBitFieldMaskBit45 = 0x40000
-+ CBitFieldMaskBit46 = 0x20000
-+ CBitFieldMaskBit47 = 0x10000
-+ CBitFieldMaskBit48 = 0x8000
-+ CBitFieldMaskBit49 = 0x4000
-+ CBitFieldMaskBit50 = 0x2000
-+ CBitFieldMaskBit51 = 0x1000
-+ CBitFieldMaskBit52 = 0x800
-+ CBitFieldMaskBit53 = 0x400
-+ CBitFieldMaskBit54 = 0x200
-+ CBitFieldMaskBit55 = 0x100
-+ CBitFieldMaskBit56 = 0x80
-+ CBitFieldMaskBit57 = 0x40
-+ CBitFieldMaskBit58 = 0x20
-+ CBitFieldMaskBit59 = 0x10
-+ CBitFieldMaskBit60 = 0x8
-+ CBitFieldMaskBit61 = 0x4
-+ CBitFieldMaskBit62 = 0x2
-+ CBitFieldMaskBit63 = 0x1
-+)
-+
-+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
-+ Frsize int64
-+ Blocks uint64
-+ Bfree uint64
-+ Files uint64
-+ Ffree uint64
-+ Bavail uint64
-+ Fsid Fsid
-+ Namelen int64
-+ Flags int64
-+ Spare [5]int64
-+}
-+
-+type TpacketHdr struct {
-+ Status uint64
-+ Len uint32
-+ Snaplen uint32
-+ Mac uint16
-+ Net uint16
-+ Sec uint32
-+ Usec uint32
-+ _ [4]byte
- }
-
- const (
-- CTRL_CMD_UNSPEC = 0x0
-- CTRL_CMD_NEWFAMILY = 0x1
-- CTRL_CMD_DELFAMILY = 0x2
-- CTRL_CMD_GETFAMILY = 0x3
-- CTRL_CMD_NEWOPS = 0x4
-- CTRL_CMD_DELOPS = 0x5
-- CTRL_CMD_GETOPS = 0x6
-- CTRL_CMD_NEWMCAST_GRP = 0x7
-- CTRL_CMD_DELMCAST_GRP = 0x8
-- CTRL_CMD_GETMCAST_GRP = 0x9
-- CTRL_ATTR_UNSPEC = 0x0
-- CTRL_ATTR_FAMILY_ID = 0x1
-- CTRL_ATTR_FAMILY_NAME = 0x2
-- CTRL_ATTR_VERSION = 0x3
-- CTRL_ATTR_HDRSIZE = 0x4
-- CTRL_ATTR_MAXATTR = 0x5
-- CTRL_ATTR_OPS = 0x6
-- CTRL_ATTR_MCAST_GROUPS = 0x7
-- 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
-+ 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 = 0x20001269
-+)
-+
-+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
-+}
-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 f9bd1ab0..16add5a2 100644
---- a/vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go
-+++ b/vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go
-@@ -6,19 +6,12 @@
- package unix
-
- const (
-- sizeofPtr = 0x8
-- sizeofShort = 0x2
-- sizeofInt = 0x4
-- sizeofLong = 0x8
-- sizeofLongLong = 0x8
-- PathMax = 0x1000
-+ SizeofPtr = 0x8
-+ SizeofLong = 0x8
- )
-
- type (
-- _C_short int16
-- _C_int int32
-- _C_long int64
-- _C_long_long int64
-+ _C_long int64
- )
-
- type Timespec struct {
-@@ -33,13 +26,11 @@ type Timeval struct {
-
- type Timex struct {
- Modes uint32
-- Pad_cgo_0 [4]byte
- Offset int64
- Freq int64
- Maxerror int64
- Esterror int64
- Status int32
-- Pad_cgo_1 [4]byte
- Constant int64
- Precision int64
- Tolerance int64
-@@ -48,14 +39,13 @@ type Timex struct {
- Ppsfreq int64
- Jitter int64
- Shift int32
-- Pad_cgo_2 [4]byte
- Stabil int64
- Jitcnt int64
- Calcnt int64
- Errcnt int64
- Stbcnt int64
- Tai int32
-- Pad_cgo_3 [44]byte
-+ _ [44]byte
- }
-
- type Time_t int64
-@@ -91,13 +81,6 @@ type Rusage struct {
- Nivcsw int64
- }
-
--type Rlimit struct {
-- Cur uint64
-- Max uint64
--}
--
--type _Gid_t uint32
--
- type Stat_t struct {
- Dev uint32
- Pad1 [3]uint32
-@@ -117,139 +100,29 @@ type Stat_t struct {
- Blocks int64
- }
-
--type Statfs_t struct {
-- Type int64
-- Bsize int64
-- Frsize int64
-- Blocks uint64
-- Bfree uint64
-- Files uint64
-- Ffree uint64
-- Bavail uint64
-- Fsid Fsid
-- Namelen int64
-- Flags int64
-- Spare [5]int64
--}
--
- type Dirent struct {
-- Ino uint64
-- Off int64
-- Reclen uint16
-- Type uint8
-- Name [256]int8
-- Pad_cgo_0 [5]byte
--}
--
--type Fsid struct {
-- X__val [2]int32
-+ Ino uint64
-+ Off int64
-+ Reclen uint16
-+ Type uint8
-+ Name [256]int8
-+ _ [5]byte
- }
-
- type Flock_t struct {
-- Type int16
-- Whence int16
-- Pad_cgo_0 [4]byte
-- Start int64
-- Len int64
-- Pid int32
-- Pad_cgo_1 [4]byte
--}
--
--type FscryptPolicy struct {
-- Version uint8
-- Contents_encryption_mode uint8
-- Filenames_encryption_mode uint8
-- Flags uint8
-- Master_key_descriptor [8]uint8
--}
--
--type FscryptKey struct {
-- Mode uint32
-- Raw [64]uint8
-- Size uint32
--}
--
--type KeyctlDHParams struct {
-- Private int32
-- Prime int32
-- Base int32
-+ Type int16
-+ Whence int16
-+ Start int64
-+ Len int64
-+ Pid int32
-+ _ [4]byte
- }
-
- const (
-- FADV_NORMAL = 0x0
-- FADV_RANDOM = 0x1
-- FADV_SEQUENTIAL = 0x2
-- FADV_WILLNEED = 0x3
-- FADV_DONTNEED = 0x4
-- FADV_NOREUSE = 0x5
-+ FADV_DONTNEED = 0x4
-+ FADV_NOREUSE = 0x5
- )
-
--type RawSockaddrInet4 struct {
-- Family uint16
-- Port uint16
-- Addr [4]byte /* in_addr */
-- Zero [8]uint8
--}
--
--type RawSockaddrInet6 struct {
-- Family uint16
-- Port uint16
-- Flowinfo uint32
-- Addr [16]byte /* in6_addr */
-- Scope_id uint32
--}
--
--type RawSockaddrUnix struct {
-- Family uint16
-- Path [108]int8
--}
--
--type RawSockaddrLinklayer struct {
-- Family uint16
-- Protocol uint16
-- Ifindex int32
-- Hatype uint16
-- Pkttype uint8
-- Halen uint8
-- Addr [8]uint8
--}
--
--type RawSockaddrNetlink struct {
-- Family uint16
-- Pad uint16
-- Pid uint32
-- Groups uint32
--}
--
--type RawSockaddrHCI struct {
-- Family uint16
-- Dev uint16
-- Channel uint16
--}
--
--type RawSockaddrCAN struct {
-- Family uint16
-- Pad_cgo_0 [2]byte
-- Ifindex int32
-- Addr [8]byte
--}
--
--type RawSockaddrALG struct {
-- Family uint16
-- Type [14]uint8
-- Feat uint32
-- Mask uint32
-- Name [64]uint8
--}
--
--type RawSockaddrVM struct {
-- Family uint16
-- Reserved1 uint16
-- Port uint32
-- Cid uint32
-- Zero [4]uint8
--}
--
- type RawSockaddr struct {
- Family uint16
- Data [14]int8
-@@ -260,51 +133,20 @@ type RawSockaddrAny struct {
- Pad [96]int8
- }
-
--type _Socklen uint32
--
--type Linger struct {
-- Onoff int32
-- Linger int32
--}
--
- type Iovec struct {
- Base *byte
- Len uint64
- }
-
--type IPMreq struct {
-- Multiaddr [4]byte /* in_addr */
-- Interface [4]byte /* in_addr */
--}
--
--type IPMreqn struct {
-- Multiaddr [4]byte /* in_addr */
-- Address [4]byte /* in_addr */
-- Ifindex int32
--}
--
--type IPv6Mreq struct {
-- Multiaddr [16]byte /* in6_addr */
-- Interface uint32
--}
--
--type PacketMreq struct {
-- Ifindex int32
-- Type uint16
-- Alen uint16
-- Address [8]uint8
--}
--
- type Msghdr struct {
- Name *byte
- Namelen uint32
-- Pad_cgo_0 [4]byte
- Iov *Iovec
- Iovlen uint64
- Control *byte
- Controllen uint64
- Flags int32
-- Pad_cgo_1 [4]byte
-+ _ [4]byte
- }
-
- type Cmsghdr struct {
-@@ -313,277 +155,16 @@ type Cmsghdr struct {
- Type int32
- }
-
--type Inet4Pktinfo struct {
-- Ifindex int32
-- Spec_dst [4]byte /* in_addr */
-- Addr [4]byte /* in_addr */
--}
--
--type Inet6Pktinfo struct {
-- Addr [16]byte /* in6_addr */
-- Ifindex uint32
--}
--
--type IPv6MTUInfo struct {
-- Addr RawSockaddrInet6
-- Mtu uint32
--}
--
--type ICMPv6Filter struct {
-- Data [8]uint32
--}
--
--type Ucred struct {
-- Pid int32
-- Uid uint32
-- Gid uint32
--}
--
--type TCPInfo struct {
-- State uint8
-- Ca_state uint8
-- Retransmits uint8
-- Probes uint8
-- Backoff uint8
-- Options uint8
-- Pad_cgo_0 [2]byte
-- Rto uint32
-- Ato uint32
-- Snd_mss uint32
-- Rcv_mss uint32
-- Unacked uint32
-- Sacked uint32
-- Lost uint32
-- Retrans uint32
-- Fackets uint32
-- Last_data_sent uint32
-- Last_ack_sent uint32
-- Last_data_recv uint32
-- Last_ack_recv uint32
-- Pmtu uint32
-- Rcv_ssthresh uint32
-- Rtt uint32
-- Rttvar uint32
-- Snd_ssthresh uint32
-- Snd_cwnd uint32
-- Advmss uint32
-- Reordering uint32
-- Rcv_rtt uint32
-- Rcv_space uint32
-- Total_retrans uint32
--}
--
- const (
-- SizeofSockaddrInet4 = 0x10
-- SizeofSockaddrInet6 = 0x1c
-- SizeofSockaddrAny = 0x70
-- SizeofSockaddrUnix = 0x6e
-- SizeofSockaddrLinklayer = 0x14
-- SizeofSockaddrNetlink = 0xc
-- SizeofSockaddrHCI = 0x6
-- SizeofSockaddrCAN = 0x10
-- SizeofSockaddrALG = 0x58
-- SizeofSockaddrVM = 0x10
-- SizeofLinger = 0x8
-- SizeofIovec = 0x10
-- SizeofIPMreq = 0x8
-- SizeofIPMreqn = 0xc
-- SizeofIPv6Mreq = 0x14
-- SizeofPacketMreq = 0x10
-- SizeofMsghdr = 0x38
-- SizeofCmsghdr = 0x10
-- SizeofInet4Pktinfo = 0xc
-- SizeofInet6Pktinfo = 0x14
-- SizeofIPv6MTUInfo = 0x20
-- SizeofICMPv6Filter = 0x20
-- SizeofUcred = 0xc
-- SizeofTCPInfo = 0x68
-+ SizeofIovec = 0x10
-+ SizeofMsghdr = 0x38
-+ SizeofCmsghdr = 0x10
- )
-
- const (
-- IFA_UNSPEC = 0x0
-- IFA_ADDRESS = 0x1
-- IFA_LOCAL = 0x2
-- IFA_LABEL = 0x3
-- IFA_BROADCAST = 0x4
-- IFA_ANYCAST = 0x5
-- IFA_CACHEINFO = 0x6
-- IFA_MULTICAST = 0x7
-- IFLA_UNSPEC = 0x0
-- IFLA_ADDRESS = 0x1
-- IFLA_BROADCAST = 0x2
-- IFLA_IFNAME = 0x3
-- IFLA_MTU = 0x4
-- IFLA_LINK = 0x5
-- IFLA_QDISC = 0x6
-- IFLA_STATS = 0x7
-- IFLA_COST = 0x8
-- IFLA_PRIORITY = 0x9
-- IFLA_MASTER = 0xa
-- IFLA_WIRELESS = 0xb
-- IFLA_PROTINFO = 0xc
-- IFLA_TXQLEN = 0xd
-- IFLA_MAP = 0xe
-- IFLA_WEIGHT = 0xf
-- IFLA_OPERSTATE = 0x10
-- IFLA_LINKMODE = 0x11
-- IFLA_LINKINFO = 0x12
-- IFLA_NET_NS_PID = 0x13
-- IFLA_IFALIAS = 0x14
-- IFLA_MAX = 0x2b
-- RT_SCOPE_UNIVERSE = 0x0
-- RT_SCOPE_SITE = 0xc8
-- RT_SCOPE_LINK = 0xfd
-- RT_SCOPE_HOST = 0xfe
-- RT_SCOPE_NOWHERE = 0xff
-- RT_TABLE_UNSPEC = 0x0
-- RT_TABLE_COMPAT = 0xfc
-- RT_TABLE_DEFAULT = 0xfd
-- RT_TABLE_MAIN = 0xfe
-- RT_TABLE_LOCAL = 0xff
-- RT_TABLE_MAX = 0xffffffff
-- RTA_UNSPEC = 0x0
-- RTA_DST = 0x1
-- RTA_SRC = 0x2
-- RTA_IIF = 0x3
-- RTA_OIF = 0x4
-- RTA_GATEWAY = 0x5
-- RTA_PRIORITY = 0x6
-- RTA_PREFSRC = 0x7
-- RTA_METRICS = 0x8
-- RTA_MULTIPATH = 0x9
-- RTA_FLOW = 0xb
-- RTA_CACHEINFO = 0xc
-- RTA_TABLE = 0xf
-- RTN_UNSPEC = 0x0
-- RTN_UNICAST = 0x1
-- RTN_LOCAL = 0x2
-- RTN_BROADCAST = 0x3
-- RTN_ANYCAST = 0x4
-- RTN_MULTICAST = 0x5
-- RTN_BLACKHOLE = 0x6
-- RTN_UNREACHABLE = 0x7
-- RTN_PROHIBIT = 0x8
-- RTN_THROW = 0x9
-- RTN_NAT = 0xa
-- RTN_XRESOLVE = 0xb
-- RTNLGRP_NONE = 0x0
-- RTNLGRP_LINK = 0x1
-- RTNLGRP_NOTIFY = 0x2
-- RTNLGRP_NEIGH = 0x3
-- RTNLGRP_TC = 0x4
-- RTNLGRP_IPV4_IFADDR = 0x5
-- RTNLGRP_IPV4_MROUTE = 0x6
-- RTNLGRP_IPV4_ROUTE = 0x7
-- RTNLGRP_IPV4_RULE = 0x8
-- RTNLGRP_IPV6_IFADDR = 0x9
-- RTNLGRP_IPV6_MROUTE = 0xa
-- RTNLGRP_IPV6_ROUTE = 0xb
-- RTNLGRP_IPV6_IFINFO = 0xc
-- RTNLGRP_IPV6_PREFIX = 0x12
-- RTNLGRP_IPV6_RULE = 0x13
-- RTNLGRP_ND_USEROPT = 0x14
-- SizeofNlMsghdr = 0x10
-- SizeofNlMsgerr = 0x14
-- SizeofRtGenmsg = 0x1
-- SizeofNlAttr = 0x4
-- SizeofRtAttr = 0x4
-- SizeofIfInfomsg = 0x10
-- SizeofIfAddrmsg = 0x8
-- SizeofRtMsg = 0xc
-- SizeofRtNexthop = 0x8
-+ SizeofSockFprog = 0x10
- )
-
--type NlMsghdr struct {
-- Len uint32
-- Type uint16
-- Flags uint16
-- Seq uint32
-- Pid uint32
--}
--
--type NlMsgerr struct {
-- Error int32
-- Msg NlMsghdr
--}
--
--type RtGenmsg struct {
-- Family uint8
--}
--
--type NlAttr struct {
-- Len uint16
-- Type uint16
--}
--
--type RtAttr struct {
-- Len uint16
-- Type uint16
--}
--
--type IfInfomsg struct {
-- Family uint8
-- X__ifi_pad uint8
-- Type uint16
-- Index int32
-- Flags uint32
-- Change uint32
--}
--
--type IfAddrmsg struct {
-- Family uint8
-- Prefixlen uint8
-- Flags uint8
-- Scope uint8
-- Index uint32
--}
--
--type RtMsg struct {
-- Family uint8
-- Dst_len uint8
-- Src_len uint8
-- Tos uint8
-- Table uint8
-- Protocol uint8
-- Scope uint8
-- Type uint8
-- Flags uint32
--}
--
--type RtNexthop struct {
-- Len uint16
-- Flags uint8
-- Hops uint8
-- Ifindex int32
--}
--
--const (
-- SizeofSockFilter = 0x8
-- SizeofSockFprog = 0x10
--)
--
--type SockFilter struct {
-- Code uint16
-- Jt uint8
-- Jf uint8
-- K uint32
--}
--
--type SockFprog struct {
-- Len uint16
-- Pad_cgo_0 [6]byte
-- Filter *SockFilter
--}
--
--type InotifyEvent struct {
-- Wd int32
-- Mask uint32
-- Cookie uint32
-- Len uint32
--}
--
--const SizeofInotifyEvent = 0x10
--
- type PtraceRegs struct {
- Regs [32]uint64
- Lo uint64
-@@ -609,70 +190,37 @@ type Sysinfo_t struct {
- Freeswap uint64
- Procs uint16
- Pad uint16
-- Pad_cgo_0 [4]byte
- Totalhigh uint64
- Freehigh uint64
- Unit uint32
-- X_f [0]int8
-- Pad_cgo_1 [4]byte
--}
--
--type Utsname struct {
-- Sysname [65]int8
-- Nodename [65]int8
-- Release [65]int8
-- Version [65]int8
-- Machine [65]int8
-- Domainname [65]int8
-+ _ [0]int8
-+ _ [4]byte
- }
-
- type Ustat_t struct {
-- Tfree int32
-- Pad_cgo_0 [4]byte
-- Tinode uint64
-- Fname [6]int8
-- Fpack [6]int8
-- Pad_cgo_1 [4]byte
-+ Tfree int32
-+ Tinode uint64
-+ Fname [6]int8
-+ Fpack [6]int8
-+ _ [4]byte
- }
-
- type EpollEvent struct {
- Events uint32
-+ _ int32
- Fd int32
- Pad int32
- }
-
- const (
-- AT_FDCWD = -0x64
-- AT_REMOVEDIR = 0x200
-- AT_SYMLINK_FOLLOW = 0x400
-- AT_SYMLINK_NOFOLLOW = 0x100
--)
--
--type PollFd struct {
-- Fd int32
-- Events int16
-- Revents int16
--}
--
--const (
-- POLLIN = 0x1
-- POLLPRI = 0x2
-- POLLOUT = 0x4
- POLLRDHUP = 0x2000
-- POLLERR = 0x8
-- POLLHUP = 0x10
-- POLLNVAL = 0x20
- )
-
- type Sigset_t struct {
-- X__val [16]uint64
-+ Val [16]uint64
- }
-
--const RNDGETENTCNT = 0x40045200
--
--const PERF_IOC_FLAG_GROUP = 0x1
--
--const _SC_PAGESIZE = 0x1e
-+const _C__NSIG = 0x80
-
- type Termios struct {
- Iflag uint32
-@@ -685,20 +233,11 @@ type Termios struct {
- Ospeed uint32
- }
-
--type Winsize struct {
-- Row uint16
-- Col uint16
-- Xpixel uint16
-- Ypixel uint16
--}
--
- type Taskstats struct {
- Version uint16
-- Pad_cgo_0 [2]byte
- Ac_exitcode uint32
- Ac_flag uint8
- Ac_nice uint8
-- Pad_cgo_1 [6]byte
- Cpu_count uint64
- Cpu_delay_total uint64
- Blkio_count uint64
-@@ -710,13 +249,12 @@ type Taskstats struct {
- Ac_comm [32]int8
- Ac_sched uint8
- Ac_pad [3]uint8
-- Pad_cgo_2 [4]byte
-+ _ [4]byte
- Ac_uid uint32
- Ac_gid uint32
- Ac_pid uint32
- Ac_ppid uint32
- Ac_btime uint32
-- Pad_cgo_3 [4]byte
- Ac_etime uint64
- Ac_utime uint64
- Ac_stime uint64
-@@ -740,55 +278,319 @@ type Taskstats struct {
- Cpu_scaled_run_real_total uint64
- Freepages_count uint64
- Freepages_delay_total uint64
-+ Thrashing_count uint64
-+ Thrashing_delay_total uint64
-+ Ac_btime64 uint64
- }
-
-+type cpuMask uint64
-+
- const (
-- TASKSTATS_CMD_UNSPEC = 0x0
-- TASKSTATS_CMD_GET = 0x1
-- TASKSTATS_CMD_NEW = 0x2
-- TASKSTATS_TYPE_UNSPEC = 0x0
-- TASKSTATS_TYPE_PID = 0x1
-- TASKSTATS_TYPE_TGID = 0x2
-- TASKSTATS_TYPE_STATS = 0x3
-- TASKSTATS_TYPE_AGGR_PID = 0x4
-- TASKSTATS_TYPE_AGGR_TGID = 0x5
-- TASKSTATS_TYPE_NULL = 0x6
-- TASKSTATS_CMD_ATTR_UNSPEC = 0x0
-- TASKSTATS_CMD_ATTR_PID = 0x1
-- TASKSTATS_CMD_ATTR_TGID = 0x2
-- TASKSTATS_CMD_ATTR_REGISTER_CPUMASK = 0x3
-- TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK = 0x4
-+ _NCPUBITS = 0x40
- )
-
--type Genlmsghdr struct {
-- Cmd uint8
-- Version uint8
-- Reserved uint16
-+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
-+ Frsize int64
-+ Blocks uint64
-+ Bfree uint64
-+ Files uint64
-+ Ffree uint64
-+ Bavail uint64
-+ Fsid Fsid
-+ Namelen int64
-+ Flags int64
-+ Spare [5]int64
-+}
-+
-+type TpacketHdr struct {
-+ Status uint64
-+ Len uint32
-+ Snaplen uint32
-+ Mac uint16
-+ Net uint16
-+ Sec uint32
-+ Usec uint32
-+ _ [4]byte
- }
-
- const (
-- CTRL_CMD_UNSPEC = 0x0
-- CTRL_CMD_NEWFAMILY = 0x1
-- CTRL_CMD_DELFAMILY = 0x2
-- CTRL_CMD_GETFAMILY = 0x3
-- CTRL_CMD_NEWOPS = 0x4
-- CTRL_CMD_DELOPS = 0x5
-- CTRL_CMD_GETOPS = 0x6
-- CTRL_CMD_NEWMCAST_GRP = 0x7
-- CTRL_CMD_DELMCAST_GRP = 0x8
-- CTRL_CMD_GETMCAST_GRP = 0x9
-- CTRL_ATTR_UNSPEC = 0x0
-- CTRL_ATTR_FAMILY_ID = 0x1
-- CTRL_ATTR_FAMILY_NAME = 0x2
-- CTRL_ATTR_VERSION = 0x3
-- CTRL_ATTR_HDRSIZE = 0x4
-- CTRL_ATTR_MAXATTR = 0x5
-- CTRL_ATTR_OPS = 0x6
-- CTRL_ATTR_MCAST_GROUPS = 0x7
-- 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
-+ 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 = 0x20001269
-+)
-+
-+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
-+}
-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 74c54213..4ed2c8e5 100644
---- a/vendor/golang.org/x/sys/unix/ztypes_linux_mipsle.go
-+++ b/vendor/golang.org/x/sys/unix/ztypes_linux_mipsle.go
-@@ -6,19 +6,12 @@
- package unix
-
- const (
-- sizeofPtr = 0x4
-- sizeofShort = 0x2
-- sizeofInt = 0x4
-- sizeofLong = 0x4
-- sizeofLongLong = 0x8
-- PathMax = 0x1000
-+ SizeofPtr = 0x4
-+ SizeofLong = 0x4
- )
-
- type (
-- _C_short int16
-- _C_int int32
-- _C_long int32
-- _C_long_long int64
-+ _C_long int32
- )
-
- type Timespec struct {
-@@ -52,7 +45,7 @@ type Timex struct {
- Errcnt int32
- Stbcnt int32
- Tai int32
-- Pad_cgo_0 [44]byte
-+ _ [44]byte
- }
-
- type Time_t int32
-@@ -88,13 +81,6 @@ type Rusage struct {
- Nivcsw int32
- }
-
--type Rlimit struct {
-- Cur uint64
-- Max uint64
--}
--
--type _Gid_t uint32
--
- type Stat_t struct {
- Dev uint32
- Pad1 [3]int32
-@@ -115,141 +101,30 @@ type Stat_t struct {
- Pad5 [14]int32
- }
-
--type Statfs_t struct {
-- Type int32
-- Bsize int32
-- Frsize int32
-- Pad_cgo_0 [4]byte
-- Blocks uint64
-- Bfree uint64
-- Files uint64
-- Ffree uint64
-- Bavail uint64
-- Fsid Fsid
-- Namelen int32
-- Flags int32
-- Spare [5]int32
-- Pad_cgo_1 [4]byte
--}
--
- type Dirent struct {
-- Ino uint64
-- Off int64
-- Reclen uint16
-- Type uint8
-- Name [256]int8
-- Pad_cgo_0 [5]byte
--}
--
--type Fsid struct {
-- X__val [2]int32
-+ Ino uint64
-+ Off int64
-+ Reclen uint16
-+ Type uint8
-+ Name [256]int8
-+ _ [5]byte
- }
-
- type Flock_t struct {
-- Type int16
-- Whence int16
-- Pad_cgo_0 [4]byte
-- Start int64
-- Len int64
-- Pid int32
-- Pad_cgo_1 [4]byte
--}
--
--type FscryptPolicy struct {
-- Version uint8
-- Contents_encryption_mode uint8
-- Filenames_encryption_mode uint8
-- Flags uint8
-- Master_key_descriptor [8]uint8
--}
--
--type FscryptKey struct {
-- Mode uint32
-- Raw [64]uint8
-- Size uint32
--}
--
--type KeyctlDHParams struct {
-- Private int32
-- Prime int32
-- Base int32
-+ Type int16
-+ Whence int16
-+ _ [4]byte
-+ Start int64
-+ Len int64
-+ Pid int32
-+ _ [4]byte
- }
-
- const (
-- FADV_NORMAL = 0x0
-- FADV_RANDOM = 0x1
-- FADV_SEQUENTIAL = 0x2
-- FADV_WILLNEED = 0x3
-- FADV_DONTNEED = 0x4
-- FADV_NOREUSE = 0x5
-+ FADV_DONTNEED = 0x4
-+ FADV_NOREUSE = 0x5
- )
-
--type RawSockaddrInet4 struct {
-- Family uint16
-- Port uint16
-- Addr [4]byte /* in_addr */
-- Zero [8]uint8
--}
--
--type RawSockaddrInet6 struct {
-- Family uint16
-- Port uint16
-- Flowinfo uint32
-- Addr [16]byte /* in6_addr */
-- Scope_id uint32
--}
--
--type RawSockaddrUnix struct {
-- Family uint16
-- Path [108]int8
--}
--
--type RawSockaddrLinklayer struct {
-- Family uint16
-- Protocol uint16
-- Ifindex int32
-- Hatype uint16
-- Pkttype uint8
-- Halen uint8
-- Addr [8]uint8
--}
--
--type RawSockaddrNetlink struct {
-- Family uint16
-- Pad uint16
-- Pid uint32
-- Groups uint32
--}
--
--type RawSockaddrHCI struct {
-- Family uint16
-- Dev uint16
-- Channel uint16
--}
--
--type RawSockaddrCAN struct {
-- Family uint16
-- Pad_cgo_0 [2]byte
-- Ifindex int32
-- Addr [8]byte
--}
--
--type RawSockaddrALG struct {
-- Family uint16
-- Type [14]uint8
-- Feat uint32
-- Mask uint32
-- Name [64]uint8
--}
--
--type RawSockaddrVM struct {
-- Family uint16
-- Reserved1 uint16
-- Port uint32
-- Cid uint32
-- Zero [4]uint8
--}
--
- type RawSockaddr struct {
- Family uint16
- Data [14]int8
-@@ -260,41 +135,11 @@ type RawSockaddrAny struct {
- Pad [96]int8
- }
-
--type _Socklen uint32
--
--type Linger struct {
-- Onoff int32
-- Linger int32
--}
--
- type Iovec struct {
- Base *byte
- Len uint32
- }
-
--type IPMreq struct {
-- Multiaddr [4]byte /* in_addr */
-- Interface [4]byte /* in_addr */
--}
--
--type IPMreqn struct {
-- Multiaddr [4]byte /* in_addr */
-- Address [4]byte /* in_addr */
-- Ifindex int32
--}
--
--type IPv6Mreq struct {
-- Multiaddr [16]byte /* in6_addr */
-- Interface uint32
--}
--
--type PacketMreq struct {
-- Ifindex int32
-- Type uint16
-- Alen uint16
-- Address [8]uint8
--}
--
- type Msghdr struct {
- Name *byte
- Namelen uint32
-@@ -311,277 +156,16 @@ type Cmsghdr struct {
- Type int32
- }
-
--type Inet4Pktinfo struct {
-- Ifindex int32
-- Spec_dst [4]byte /* in_addr */
-- Addr [4]byte /* in_addr */
--}
--
--type Inet6Pktinfo struct {
-- Addr [16]byte /* in6_addr */
-- Ifindex uint32
--}
--
--type IPv6MTUInfo struct {
-- Addr RawSockaddrInet6
-- Mtu uint32
--}
--
--type ICMPv6Filter struct {
-- Data [8]uint32
--}
--
--type Ucred struct {
-- Pid int32
-- Uid uint32
-- Gid uint32
--}
--
--type TCPInfo struct {
-- State uint8
-- Ca_state uint8
-- Retransmits uint8
-- Probes uint8
-- Backoff uint8
-- Options uint8
-- Pad_cgo_0 [2]byte
-- Rto uint32
-- Ato uint32
-- Snd_mss uint32
-- Rcv_mss uint32
-- Unacked uint32
-- Sacked uint32
-- Lost uint32
-- Retrans uint32
-- Fackets uint32
-- Last_data_sent uint32
-- Last_ack_sent uint32
-- Last_data_recv uint32
-- Last_ack_recv uint32
-- Pmtu uint32
-- Rcv_ssthresh uint32
-- Rtt uint32
-- Rttvar uint32
-- Snd_ssthresh uint32
-- Snd_cwnd uint32
-- Advmss uint32
-- Reordering uint32
-- Rcv_rtt uint32
-- Rcv_space uint32
-- Total_retrans uint32
--}
--
- const (
-- SizeofSockaddrInet4 = 0x10
-- SizeofSockaddrInet6 = 0x1c
-- SizeofSockaddrAny = 0x70
-- SizeofSockaddrUnix = 0x6e
-- SizeofSockaddrLinklayer = 0x14
-- SizeofSockaddrNetlink = 0xc
-- SizeofSockaddrHCI = 0x6
-- SizeofSockaddrCAN = 0x10
-- SizeofSockaddrALG = 0x58
-- SizeofSockaddrVM = 0x10
-- SizeofLinger = 0x8
-- SizeofIovec = 0x8
-- SizeofIPMreq = 0x8
-- SizeofIPMreqn = 0xc
-- SizeofIPv6Mreq = 0x14
-- SizeofPacketMreq = 0x10
-- SizeofMsghdr = 0x1c
-- SizeofCmsghdr = 0xc
-- SizeofInet4Pktinfo = 0xc
-- SizeofInet6Pktinfo = 0x14
-- SizeofIPv6MTUInfo = 0x20
-- SizeofICMPv6Filter = 0x20
-- SizeofUcred = 0xc
-- SizeofTCPInfo = 0x68
-+ SizeofIovec = 0x8
-+ SizeofMsghdr = 0x1c
-+ SizeofCmsghdr = 0xc
- )
-
- const (
-- IFA_UNSPEC = 0x0
-- IFA_ADDRESS = 0x1
-- IFA_LOCAL = 0x2
-- IFA_LABEL = 0x3
-- IFA_BROADCAST = 0x4
-- IFA_ANYCAST = 0x5
-- IFA_CACHEINFO = 0x6
-- IFA_MULTICAST = 0x7
-- IFLA_UNSPEC = 0x0
-- IFLA_ADDRESS = 0x1
-- IFLA_BROADCAST = 0x2
-- IFLA_IFNAME = 0x3
-- IFLA_MTU = 0x4
-- IFLA_LINK = 0x5
-- IFLA_QDISC = 0x6
-- IFLA_STATS = 0x7
-- IFLA_COST = 0x8
-- IFLA_PRIORITY = 0x9
-- IFLA_MASTER = 0xa
-- IFLA_WIRELESS = 0xb
-- IFLA_PROTINFO = 0xc
-- IFLA_TXQLEN = 0xd
-- IFLA_MAP = 0xe
-- IFLA_WEIGHT = 0xf
-- IFLA_OPERSTATE = 0x10
-- IFLA_LINKMODE = 0x11
-- IFLA_LINKINFO = 0x12
-- IFLA_NET_NS_PID = 0x13
-- IFLA_IFALIAS = 0x14
-- IFLA_MAX = 0x2b
-- RT_SCOPE_UNIVERSE = 0x0
-- RT_SCOPE_SITE = 0xc8
-- RT_SCOPE_LINK = 0xfd
-- RT_SCOPE_HOST = 0xfe
-- RT_SCOPE_NOWHERE = 0xff
-- RT_TABLE_UNSPEC = 0x0
-- RT_TABLE_COMPAT = 0xfc
-- RT_TABLE_DEFAULT = 0xfd
-- RT_TABLE_MAIN = 0xfe
-- RT_TABLE_LOCAL = 0xff
-- RT_TABLE_MAX = 0xffffffff
-- RTA_UNSPEC = 0x0
-- RTA_DST = 0x1
-- RTA_SRC = 0x2
-- RTA_IIF = 0x3
-- RTA_OIF = 0x4
-- RTA_GATEWAY = 0x5
-- RTA_PRIORITY = 0x6
-- RTA_PREFSRC = 0x7
-- RTA_METRICS = 0x8
-- RTA_MULTIPATH = 0x9
-- RTA_FLOW = 0xb
-- RTA_CACHEINFO = 0xc
-- RTA_TABLE = 0xf
-- RTN_UNSPEC = 0x0
-- RTN_UNICAST = 0x1
-- RTN_LOCAL = 0x2
-- RTN_BROADCAST = 0x3
-- RTN_ANYCAST = 0x4
-- RTN_MULTICAST = 0x5
-- RTN_BLACKHOLE = 0x6
-- RTN_UNREACHABLE = 0x7
-- RTN_PROHIBIT = 0x8
-- RTN_THROW = 0x9
-- RTN_NAT = 0xa
-- RTN_XRESOLVE = 0xb
-- RTNLGRP_NONE = 0x0
-- RTNLGRP_LINK = 0x1
-- RTNLGRP_NOTIFY = 0x2
-- RTNLGRP_NEIGH = 0x3
-- RTNLGRP_TC = 0x4
-- RTNLGRP_IPV4_IFADDR = 0x5
-- RTNLGRP_IPV4_MROUTE = 0x6
-- RTNLGRP_IPV4_ROUTE = 0x7
-- RTNLGRP_IPV4_RULE = 0x8
-- RTNLGRP_IPV6_IFADDR = 0x9
-- RTNLGRP_IPV6_MROUTE = 0xa
-- RTNLGRP_IPV6_ROUTE = 0xb
-- RTNLGRP_IPV6_IFINFO = 0xc
-- RTNLGRP_IPV6_PREFIX = 0x12
-- RTNLGRP_IPV6_RULE = 0x13
-- RTNLGRP_ND_USEROPT = 0x14
-- SizeofNlMsghdr = 0x10
-- SizeofNlMsgerr = 0x14
-- SizeofRtGenmsg = 0x1
-- SizeofNlAttr = 0x4
-- SizeofRtAttr = 0x4
-- SizeofIfInfomsg = 0x10
-- SizeofIfAddrmsg = 0x8
-- SizeofRtMsg = 0xc
-- SizeofRtNexthop = 0x8
-+ SizeofSockFprog = 0x8
- )
-
--type NlMsghdr struct {
-- Len uint32
-- Type uint16
-- Flags uint16
-- Seq uint32
-- Pid uint32
--}
--
--type NlMsgerr struct {
-- Error int32
-- Msg NlMsghdr
--}
--
--type RtGenmsg struct {
-- Family uint8
--}
--
--type NlAttr struct {
-- Len uint16
-- Type uint16
--}
--
--type RtAttr struct {
-- Len uint16
-- Type uint16
--}
--
--type IfInfomsg struct {
-- Family uint8
-- X__ifi_pad uint8
-- Type uint16
-- Index int32
-- Flags uint32
-- Change uint32
--}
--
--type IfAddrmsg struct {
-- Family uint8
-- Prefixlen uint8
-- Flags uint8
-- Scope uint8
-- Index uint32
--}
--
--type RtMsg struct {
-- Family uint8
-- Dst_len uint8
-- Src_len uint8
-- Tos uint8
-- Table uint8
-- Protocol uint8
-- Scope uint8
-- Type uint8
-- Flags uint32
--}
--
--type RtNexthop struct {
-- Len uint16
-- Flags uint8
-- Hops uint8
-- Ifindex int32
--}
--
--const (
-- SizeofSockFilter = 0x8
-- SizeofSockFprog = 0x8
--)
--
--type SockFilter struct {
-- Code uint16
-- Jt uint8
-- Jf uint8
-- K uint32
--}
--
--type SockFprog struct {
-- Len uint16
-- Pad_cgo_0 [2]byte
-- Filter *SockFilter
--}
--
--type InotifyEvent struct {
-- Wd int32
-- Mask uint32
-- Cookie uint32
-- Len uint32
--}
--
--const SizeofInotifyEvent = 0x10
--
- type PtraceRegs struct {
- Regs [32]uint64
- Lo uint64
-@@ -610,16 +194,7 @@ type Sysinfo_t struct {
- Totalhigh uint32
- Freehigh uint32
- Unit uint32
-- X_f [8]int8
--}
--
--type Utsname struct {
-- Sysname [65]int8
-- Nodename [65]int8
-- Release [65]int8
-- Version [65]int8
-- Machine [65]int8
-- Domainname [65]int8
-+ _ [8]int8
- }
-
- type Ustat_t struct {
-@@ -637,37 +212,14 @@ type EpollEvent struct {
- }
-
- const (
-- AT_FDCWD = -0x64
-- AT_REMOVEDIR = 0x200
-- AT_SYMLINK_FOLLOW = 0x400
-- AT_SYMLINK_NOFOLLOW = 0x100
--)
--
--type PollFd struct {
-- Fd int32
-- Events int16
-- Revents int16
--}
--
--const (
-- POLLIN = 0x1
-- POLLPRI = 0x2
-- POLLOUT = 0x4
- POLLRDHUP = 0x2000
-- POLLERR = 0x8
-- POLLHUP = 0x10
-- POLLNVAL = 0x20
- )
-
- type Sigset_t struct {
-- X__val [32]uint32
-+ Val [32]uint32
- }
-
--const RNDGETENTCNT = 0x40045200
--
--const PERF_IOC_FLAG_GROUP = 0x1
--
--const _SC_PAGESIZE = 0x1e
-+const _C__NSIG = 0x80
-
- type Termios struct {
- Iflag uint32
-@@ -680,20 +232,12 @@ type Termios struct {
- Ospeed uint32
- }
-
--type Winsize struct {
-- Row uint16
-- Col uint16
-- Xpixel uint16
-- Ypixel uint16
--}
--
- type Taskstats struct {
- Version uint16
-- Pad_cgo_0 [2]byte
- Ac_exitcode uint32
- Ac_flag uint8
- Ac_nice uint8
-- Pad_cgo_1 [6]byte
-+ _ [4]byte
- Cpu_count uint64
- Cpu_delay_total uint64
- Blkio_count uint64
-@@ -705,13 +249,13 @@ type Taskstats struct {
- Ac_comm [32]int8
- Ac_sched uint8
- Ac_pad [3]uint8
-- Pad_cgo_2 [4]byte
-+ _ [4]byte
- Ac_uid uint32
- Ac_gid uint32
- Ac_pid uint32
- Ac_ppid uint32
- Ac_btime uint32
-- Pad_cgo_3 [4]byte
-+ _ [4]byte
- Ac_etime uint64
- Ac_utime uint64
- Ac_stime uint64
-@@ -735,55 +279,319 @@ type Taskstats struct {
- Cpu_scaled_run_real_total uint64
- Freepages_count uint64
- Freepages_delay_total uint64
-+ Thrashing_count uint64
-+ Thrashing_delay_total uint64
-+ Ac_btime64 uint64
- }
-
-+type cpuMask uint32
-+
-+const (
-+ _NCPUBITS = 0x20
-+)
-+
- const (
-- TASKSTATS_CMD_UNSPEC = 0x0
-- TASKSTATS_CMD_GET = 0x1
-- TASKSTATS_CMD_NEW = 0x2
-- TASKSTATS_TYPE_UNSPEC = 0x0
-- TASKSTATS_TYPE_PID = 0x1
-- TASKSTATS_TYPE_TGID = 0x2
-- TASKSTATS_TYPE_STATS = 0x3
-- TASKSTATS_TYPE_AGGR_PID = 0x4
-- TASKSTATS_TYPE_AGGR_TGID = 0x5
-- TASKSTATS_TYPE_NULL = 0x6
-- TASKSTATS_CMD_ATTR_UNSPEC = 0x0
-- TASKSTATS_CMD_ATTR_PID = 0x1
-- TASKSTATS_CMD_ATTR_TGID = 0x2
-- TASKSTATS_CMD_ATTR_REGISTER_CPUMASK = 0x3
-- TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK = 0x4
-+ 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 Genlmsghdr struct {
-- Cmd uint8
-- Version uint8
-- Reserved uint16
-+type SockaddrStorage struct {
-+ Family uint16
-+ _ [122]int8
-+ _ uint32
-+}
-+
-+type HDGeometry struct {
-+ Heads uint8
-+ Sectors uint8
-+ Cylinders uint16
-+ Start uint32
-+}
-+
-+type Statfs_t struct {
-+ Type int32
-+ Bsize int32
-+ Frsize int32
-+ _ [4]byte
-+ Blocks uint64
-+ Bfree uint64
-+ Files uint64
-+ Ffree uint64
-+ Bavail uint64
-+ Fsid Fsid
-+ Namelen int32
-+ Flags int32
-+ Spare [5]int32
-+ _ [4]byte
-+}
-+
-+type TpacketHdr struct {
-+ Status uint32
-+ Len uint32
-+ Snaplen uint32
-+ Mac uint16
-+ Net uint16
-+ Sec uint32
-+ Usec uint32
-+}
-+
-+const (
-+ SizeofTpacketHdr = 0x18
-+)
-+
-+type RTCPLLInfo struct {
-+ Ctrl int32
-+ Value int32
-+ Max int32
-+ Min int32
-+ Posmult int32
-+ Negmult int32
-+ Clock int32
-+}
-+
-+type BlkpgPartition struct {
-+ Start int64
-+ Length int64
-+ Pno int32
-+ Devname [64]uint8
-+ Volname [64]uint8
-+ _ [4]byte
- }
-
- const (
-- CTRL_CMD_UNSPEC = 0x0
-- CTRL_CMD_NEWFAMILY = 0x1
-- CTRL_CMD_DELFAMILY = 0x2
-- CTRL_CMD_GETFAMILY = 0x3
-- CTRL_CMD_NEWOPS = 0x4
-- CTRL_CMD_DELOPS = 0x5
-- CTRL_CMD_GETOPS = 0x6
-- CTRL_CMD_NEWMCAST_GRP = 0x7
-- CTRL_CMD_DELMCAST_GRP = 0x8
-- CTRL_CMD_GETMCAST_GRP = 0x9
-- CTRL_ATTR_UNSPEC = 0x0
-- CTRL_ATTR_FAMILY_ID = 0x1
-- CTRL_ATTR_FAMILY_NAME = 0x2
-- CTRL_ATTR_VERSION = 0x3
-- CTRL_ATTR_HDRSIZE = 0x4
-- CTRL_ATTR_MAXATTR = 0x5
-- CTRL_ATTR_OPS = 0x6
-- CTRL_ATTR_MCAST_GROUPS = 0x7
-- 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
-+ BLKPG = 0x20001269
- )
-+
-+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 uint32
-+ Rdevice uint32
-+ Offset int32
-+ Encrypt_type int32
-+ Encrypt_key_size int32
-+ Flags int32
-+ Name [64]int8
-+ Encrypt_key [32]uint8
-+ Init [2]uint32
-+ Reserved [4]int8
-+}
-+
-+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
-+}
-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 2b0b18e9..74151909 100644
---- a/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go
-+++ b/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go
-@@ -6,19 +6,12 @@
- package unix
-
- const (
-- sizeofPtr = 0x8
-- sizeofShort = 0x2
-- sizeofInt = 0x4
-- sizeofLong = 0x8
-- sizeofLongLong = 0x8
-- PathMax = 0x1000
-+ SizeofPtr = 0x8
-+ SizeofLong = 0x8
- )
-
- type (
-- _C_short int16
-- _C_int int32
-- _C_long int64
-- _C_long_long int64
-+ _C_long int64
- )
-
- type Timespec struct {
-@@ -33,13 +26,11 @@ type Timeval struct {
-
- type Timex struct {
- Modes uint32
-- Pad_cgo_0 [4]byte
- Offset int64
- Freq int64
- Maxerror int64
- Esterror int64
- Status int32
-- Pad_cgo_1 [4]byte
- Constant int64
- Precision int64
- Tolerance int64
-@@ -48,14 +39,13 @@ type Timex struct {
- Ppsfreq int64
- Jitter int64
- Shift int32
-- Pad_cgo_2 [4]byte
- Stabil int64
- Jitcnt int64
- Calcnt int64
- Errcnt int64
- Stbcnt int64
- Tai int32
-- Pad_cgo_3 [44]byte
-+ _ [44]byte
- }
-
- type Time_t int64
-@@ -91,13 +81,6 @@ type Rusage struct {
- Nivcsw int64
- }
-
--type Rlimit struct {
-- Cur uint64
-- Max uint64
--}
--
--type _Gid_t uint32
--
- type Stat_t struct {
- Dev uint64
- Ino uint64
-@@ -105,7 +88,7 @@ type Stat_t struct {
- Mode uint32
- Uid uint32
- Gid uint32
-- X__pad2 int32
-+ _ int32
- Rdev uint64
- Size int64
- Blksize int64
-@@ -118,139 +101,29 @@ type Stat_t struct {
- _ uint64
- }
-
--type Statfs_t struct {
-- Type int64
-- Bsize int64
-- Blocks uint64
-- Bfree uint64
-- Bavail uint64
-- Files uint64
-- Ffree uint64
-- Fsid Fsid
-- Namelen int64
-- Frsize int64
-- Flags int64
-- Spare [4]int64
--}
--
- type Dirent struct {
-- Ino uint64
-- Off int64
-- Reclen uint16
-- Type uint8
-- Name [256]uint8
-- Pad_cgo_0 [5]byte
--}
--
--type Fsid struct {
-- X__val [2]int32
-+ Ino uint64
-+ Off int64
-+ Reclen uint16
-+ Type uint8
-+ Name [256]uint8
-+ _ [5]byte
- }
-
- type Flock_t struct {
-- Type int16
-- Whence int16
-- Pad_cgo_0 [4]byte
-- Start int64
-- Len int64
-- Pid int32
-- Pad_cgo_1 [4]byte
--}
--
--type FscryptPolicy struct {
-- Version uint8
-- Contents_encryption_mode uint8
-- Filenames_encryption_mode uint8
-- Flags uint8
-- Master_key_descriptor [8]uint8
--}
--
--type FscryptKey struct {
-- Mode uint32
-- Raw [64]uint8
-- Size uint32
--}
--
--type KeyctlDHParams struct {
-- Private int32
-- Prime int32
-- Base int32
-+ Type int16
-+ Whence int16
-+ Start int64
-+ Len int64
-+ Pid int32
-+ _ [4]byte
- }
-
- const (
-- FADV_NORMAL = 0x0
-- FADV_RANDOM = 0x1
-- FADV_SEQUENTIAL = 0x2
-- FADV_WILLNEED = 0x3
-- FADV_DONTNEED = 0x4
-- FADV_NOREUSE = 0x5
-+ FADV_DONTNEED = 0x4
-+ FADV_NOREUSE = 0x5
- )
-
--type RawSockaddrInet4 struct {
-- Family uint16
-- Port uint16
-- Addr [4]byte /* in_addr */
-- Zero [8]uint8
--}
--
--type RawSockaddrInet6 struct {
-- Family uint16
-- Port uint16
-- Flowinfo uint32
-- Addr [16]byte /* in6_addr */
-- Scope_id uint32
--}
--
--type RawSockaddrUnix struct {
-- Family uint16
-- Path [108]int8
--}
--
--type RawSockaddrLinklayer struct {
-- Family uint16
-- Protocol uint16
-- Ifindex int32
-- Hatype uint16
-- Pkttype uint8
-- Halen uint8
-- Addr [8]uint8
--}
--
--type RawSockaddrNetlink struct {
-- Family uint16
-- Pad uint16
-- Pid uint32
-- Groups uint32
--}
--
--type RawSockaddrHCI struct {
-- Family uint16
-- Dev uint16
-- Channel uint16
--}
--
--type RawSockaddrCAN struct {
-- Family uint16
-- Pad_cgo_0 [2]byte
-- Ifindex int32
-- Addr [8]byte
--}
--
--type RawSockaddrALG struct {
-- Family uint16
-- Type [14]uint8
-- Feat uint32
-- Mask uint32
-- Name [64]uint8
--}
--
--type RawSockaddrVM struct {
-- Family uint16
-- Reserved1 uint16
-- Port uint32
-- Cid uint32
-- Zero [4]uint8
--}
--
- type RawSockaddr struct {
- Family uint16
- Data [14]uint8
-@@ -261,51 +134,20 @@ type RawSockaddrAny struct {
- Pad [96]uint8
- }
-
--type _Socklen uint32
--
--type Linger struct {
-- Onoff int32
-- Linger int32
--}
--
- type Iovec struct {
- Base *byte
- Len uint64
- }
-
--type IPMreq struct {
-- Multiaddr [4]byte /* in_addr */
-- Interface [4]byte /* in_addr */
--}
--
--type IPMreqn struct {
-- Multiaddr [4]byte /* in_addr */
-- Address [4]byte /* in_addr */
-- Ifindex int32
--}
--
--type IPv6Mreq struct {
-- Multiaddr [16]byte /* in6_addr */
-- Interface uint32
--}
--
--type PacketMreq struct {
-- Ifindex int32
-- Type uint16
-- Alen uint16
-- Address [8]uint8
--}
--
- type Msghdr struct {
- Name *byte
- Namelen uint32
-- Pad_cgo_0 [4]byte
- Iov *Iovec
- Iovlen uint64
- Control *byte
- Controllen uint64
- Flags int32
-- Pad_cgo_1 [4]byte
-+ _ [4]byte
- }
-
- type Cmsghdr struct {
-@@ -314,277 +156,16 @@ type Cmsghdr struct {
- Type int32
- }
-
--type Inet4Pktinfo struct {
-- Ifindex int32
-- Spec_dst [4]byte /* in_addr */
-- Addr [4]byte /* in_addr */
--}
--
--type Inet6Pktinfo struct {
-- Addr [16]byte /* in6_addr */
-- Ifindex uint32
--}
--
--type IPv6MTUInfo struct {
-- Addr RawSockaddrInet6
-- Mtu uint32
--}
--
--type ICMPv6Filter struct {
-- Data [8]uint32
--}
--
--type Ucred struct {
-- Pid int32
-- Uid uint32
-- Gid uint32
--}
--
--type TCPInfo struct {
-- State uint8
-- Ca_state uint8
-- Retransmits uint8
-- Probes uint8
-- Backoff uint8
-- Options uint8
-- Pad_cgo_0 [2]byte
-- Rto uint32
-- Ato uint32
-- Snd_mss uint32
-- Rcv_mss uint32
-- Unacked uint32
-- Sacked uint32
-- Lost uint32
-- Retrans uint32
-- Fackets uint32
-- Last_data_sent uint32
-- Last_ack_sent uint32
-- Last_data_recv uint32
-- Last_ack_recv uint32
-- Pmtu uint32
-- Rcv_ssthresh uint32
-- Rtt uint32
-- Rttvar uint32
-- Snd_ssthresh uint32
-- Snd_cwnd uint32
-- Advmss uint32
-- Reordering uint32
-- Rcv_rtt uint32
-- Rcv_space uint32
-- Total_retrans uint32
--}
--
- const (
-- SizeofSockaddrInet4 = 0x10
-- SizeofSockaddrInet6 = 0x1c
-- SizeofSockaddrAny = 0x70
-- SizeofSockaddrUnix = 0x6e
-- SizeofSockaddrLinklayer = 0x14
-- SizeofSockaddrNetlink = 0xc
-- SizeofSockaddrHCI = 0x6
-- SizeofSockaddrCAN = 0x10
-- SizeofSockaddrALG = 0x58
-- SizeofSockaddrVM = 0x10
-- SizeofLinger = 0x8
-- SizeofIovec = 0x10
-- SizeofIPMreq = 0x8
-- SizeofIPMreqn = 0xc
-- SizeofIPv6Mreq = 0x14
-- SizeofPacketMreq = 0x10
-- SizeofMsghdr = 0x38
-- SizeofCmsghdr = 0x10
-- SizeofInet4Pktinfo = 0xc
-- SizeofInet6Pktinfo = 0x14
-- SizeofIPv6MTUInfo = 0x20
-- SizeofICMPv6Filter = 0x20
-- SizeofUcred = 0xc
-- SizeofTCPInfo = 0x68
-+ SizeofIovec = 0x10
-+ SizeofMsghdr = 0x38
-+ SizeofCmsghdr = 0x10
- )
-
- const (
-- IFA_UNSPEC = 0x0
-- IFA_ADDRESS = 0x1
-- IFA_LOCAL = 0x2
-- IFA_LABEL = 0x3
-- IFA_BROADCAST = 0x4
-- IFA_ANYCAST = 0x5
-- IFA_CACHEINFO = 0x6
-- IFA_MULTICAST = 0x7
-- IFLA_UNSPEC = 0x0
-- IFLA_ADDRESS = 0x1
-- IFLA_BROADCAST = 0x2
-- IFLA_IFNAME = 0x3
-- IFLA_MTU = 0x4
-- IFLA_LINK = 0x5
-- IFLA_QDISC = 0x6
-- IFLA_STATS = 0x7
-- IFLA_COST = 0x8
-- IFLA_PRIORITY = 0x9
-- IFLA_MASTER = 0xa
-- IFLA_WIRELESS = 0xb
-- IFLA_PROTINFO = 0xc
-- IFLA_TXQLEN = 0xd
-- IFLA_MAP = 0xe
-- IFLA_WEIGHT = 0xf
-- IFLA_OPERSTATE = 0x10
-- IFLA_LINKMODE = 0x11
-- IFLA_LINKINFO = 0x12
-- IFLA_NET_NS_PID = 0x13
-- IFLA_IFALIAS = 0x14
-- IFLA_MAX = 0x2b
-- RT_SCOPE_UNIVERSE = 0x0
-- RT_SCOPE_SITE = 0xc8
-- RT_SCOPE_LINK = 0xfd
-- RT_SCOPE_HOST = 0xfe
-- RT_SCOPE_NOWHERE = 0xff
-- RT_TABLE_UNSPEC = 0x0
-- RT_TABLE_COMPAT = 0xfc
-- RT_TABLE_DEFAULT = 0xfd
-- RT_TABLE_MAIN = 0xfe
-- RT_TABLE_LOCAL = 0xff
-- RT_TABLE_MAX = 0xffffffff
-- RTA_UNSPEC = 0x0
-- RTA_DST = 0x1
-- RTA_SRC = 0x2
-- RTA_IIF = 0x3
-- RTA_OIF = 0x4
-- RTA_GATEWAY = 0x5
-- RTA_PRIORITY = 0x6
-- RTA_PREFSRC = 0x7
-- RTA_METRICS = 0x8
-- RTA_MULTIPATH = 0x9
-- RTA_FLOW = 0xb
-- RTA_CACHEINFO = 0xc
-- RTA_TABLE = 0xf
-- RTN_UNSPEC = 0x0
-- RTN_UNICAST = 0x1
-- RTN_LOCAL = 0x2
-- RTN_BROADCAST = 0x3
-- RTN_ANYCAST = 0x4
-- RTN_MULTICAST = 0x5
-- RTN_BLACKHOLE = 0x6
-- RTN_UNREACHABLE = 0x7
-- RTN_PROHIBIT = 0x8
-- RTN_THROW = 0x9
-- RTN_NAT = 0xa
-- RTN_XRESOLVE = 0xb
-- RTNLGRP_NONE = 0x0
-- RTNLGRP_LINK = 0x1
-- RTNLGRP_NOTIFY = 0x2
-- RTNLGRP_NEIGH = 0x3
-- RTNLGRP_TC = 0x4
-- RTNLGRP_IPV4_IFADDR = 0x5
-- RTNLGRP_IPV4_MROUTE = 0x6
-- RTNLGRP_IPV4_ROUTE = 0x7
-- RTNLGRP_IPV4_RULE = 0x8
-- RTNLGRP_IPV6_IFADDR = 0x9
-- RTNLGRP_IPV6_MROUTE = 0xa
-- RTNLGRP_IPV6_ROUTE = 0xb
-- RTNLGRP_IPV6_IFINFO = 0xc
-- RTNLGRP_IPV6_PREFIX = 0x12
-- RTNLGRP_IPV6_RULE = 0x13
-- RTNLGRP_ND_USEROPT = 0x14
-- SizeofNlMsghdr = 0x10
-- SizeofNlMsgerr = 0x14
-- SizeofRtGenmsg = 0x1
-- SizeofNlAttr = 0x4
-- SizeofRtAttr = 0x4
-- SizeofIfInfomsg = 0x10
-- SizeofIfAddrmsg = 0x8
-- SizeofRtMsg = 0xc
-- SizeofRtNexthop = 0x8
-+ SizeofSockFprog = 0x10
- )
-
--type NlMsghdr struct {
-- Len uint32
-- Type uint16
-- Flags uint16
-- Seq uint32
-- Pid uint32
--}
--
--type NlMsgerr struct {
-- Error int32
-- Msg NlMsghdr
--}
--
--type RtGenmsg struct {
-- Family uint8
--}
--
--type NlAttr struct {
-- Len uint16
-- Type uint16
--}
--
--type RtAttr struct {
-- Len uint16
-- Type uint16
--}
--
--type IfInfomsg struct {
-- Family uint8
-- X__ifi_pad uint8
-- Type uint16
-- Index int32
-- Flags uint32
-- Change uint32
--}
--
--type IfAddrmsg struct {
-- Family uint8
-- Prefixlen uint8
-- Flags uint8
-- Scope uint8
-- Index uint32
--}
--
--type RtMsg struct {
-- Family uint8
-- Dst_len uint8
-- Src_len uint8
-- Tos uint8
-- Table uint8
-- Protocol uint8
-- Scope uint8
-- Type uint8
-- Flags uint32
--}
--
--type RtNexthop struct {
-- Len uint16
-- Flags uint8
-- Hops uint8
-- Ifindex int32
--}
--
--const (
-- SizeofSockFilter = 0x8
-- SizeofSockFprog = 0x10
--)
--
--type SockFilter struct {
-- Code uint16
-- Jt uint8
-- Jf uint8
-- K uint32
--}
--
--type SockFprog struct {
-- Len uint16
-- Pad_cgo_0 [6]byte
-- Filter *SockFilter
--}
--
--type InotifyEvent struct {
-- Wd int32
-- Mask uint32
-- Cookie uint32
-- Len uint32
--}
--
--const SizeofInotifyEvent = 0x10
--
- type PtraceRegs struct {
- Gpr [32]uint64
- Nip uint64
-@@ -616,71 +197,37 @@ type Sysinfo_t struct {
- Freeswap uint64
- Procs uint16
- Pad uint16
-- Pad_cgo_0 [4]byte
- Totalhigh uint64
- Freehigh uint64
- Unit uint32
-- X_f [0]uint8
-- Pad_cgo_1 [4]byte
--}
--
--type Utsname struct {
-- Sysname [65]uint8
-- Nodename [65]uint8
-- Release [65]uint8
-- Version [65]uint8
-- Machine [65]uint8
-- Domainname [65]uint8
-+ _ [0]uint8
-+ _ [4]byte
- }
-
- type Ustat_t struct {
-- Tfree int32
-- Pad_cgo_0 [4]byte
-- Tinode uint64
-- Fname [6]uint8
-- Fpack [6]uint8
-- Pad_cgo_1 [4]byte
-+ Tfree int32
-+ Tinode uint64
-+ Fname [6]uint8
-+ Fpack [6]uint8
-+ _ [4]byte
- }
-
- type EpollEvent struct {
-- Events uint32
-- X_padFd int32
-- Fd int32
-- Pad int32
--}
--
--const (
-- AT_FDCWD = -0x64
-- AT_REMOVEDIR = 0x200
-- AT_SYMLINK_FOLLOW = 0x400
-- AT_SYMLINK_NOFOLLOW = 0x100
--)
--
--type PollFd struct {
-- Fd int32
-- Events int16
-- Revents int16
-+ Events uint32
-+ _ int32
-+ Fd int32
-+ Pad int32
- }
-
- const (
-- POLLIN = 0x1
-- POLLPRI = 0x2
-- POLLOUT = 0x4
- POLLRDHUP = 0x2000
-- POLLERR = 0x8
-- POLLHUP = 0x10
-- POLLNVAL = 0x20
- )
-
- type Sigset_t struct {
-- X__val [16]uint64
-+ Val [16]uint64
- }
-
--const RNDGETENTCNT = 0x40045200
--
--const PERF_IOC_FLAG_GROUP = 0x1
--
--const _SC_PAGESIZE = 0x1e
-+const _C__NSIG = 0x41
-
- type Termios struct {
- Iflag uint32
-@@ -693,20 +240,11 @@ type Termios struct {
- Ospeed uint32
- }
-
--type Winsize struct {
-- Row uint16
-- Col uint16
-- Xpixel uint16
-- Ypixel uint16
--}
--
- type Taskstats struct {
- Version uint16
-- Pad_cgo_0 [2]byte
- Ac_exitcode uint32
- Ac_flag uint8
- Ac_nice uint8
-- Pad_cgo_1 [6]byte
- Cpu_count uint64
- Cpu_delay_total uint64
- Blkio_count uint64
-@@ -718,13 +256,12 @@ type Taskstats struct {
- Ac_comm [32]uint8
- Ac_sched uint8
- Ac_pad [3]uint8
-- Pad_cgo_2 [4]byte
-+ _ [4]byte
- Ac_uid uint32
- Ac_gid uint32
- Ac_pid uint32
- Ac_ppid uint32
- Ac_btime uint32
-- Pad_cgo_3 [4]byte
- Ac_etime uint64
- Ac_utime uint64
- Ac_stime uint64
-@@ -748,55 +285,319 @@ type Taskstats struct {
- Cpu_scaled_run_real_total uint64
- Freepages_count uint64
- Freepages_delay_total uint64
-+ Thrashing_count uint64
-+ Thrashing_delay_total uint64
-+ Ac_btime64 uint64
- }
-
-+type cpuMask uint64
-+
- const (
-- TASKSTATS_CMD_UNSPEC = 0x0
-- TASKSTATS_CMD_GET = 0x1
-- TASKSTATS_CMD_NEW = 0x2
-- TASKSTATS_TYPE_UNSPEC = 0x0
-- TASKSTATS_TYPE_PID = 0x1
-- TASKSTATS_TYPE_TGID = 0x2
-- TASKSTATS_TYPE_STATS = 0x3
-- TASKSTATS_TYPE_AGGR_PID = 0x4
-- TASKSTATS_TYPE_AGGR_TGID = 0x5
-- TASKSTATS_TYPE_NULL = 0x6
-- TASKSTATS_CMD_ATTR_UNSPEC = 0x0
-- TASKSTATS_CMD_ATTR_PID = 0x1
-- TASKSTATS_CMD_ATTR_TGID = 0x2
-- TASKSTATS_CMD_ATTR_REGISTER_CPUMASK = 0x3
-- TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK = 0x4
-+ _NCPUBITS = 0x40
- )
-
--type Genlmsghdr struct {
-- Cmd uint8
-- Version uint8
-- Reserved uint16
-+const (
-+ CBitFieldMaskBit0 = 0x8000000000000000
-+ CBitFieldMaskBit1 = 0x4000000000000000
-+ CBitFieldMaskBit2 = 0x2000000000000000
-+ CBitFieldMaskBit3 = 0x1000000000000000
-+ CBitFieldMaskBit4 = 0x800000000000000
-+ CBitFieldMaskBit5 = 0x400000000000000
-+ CBitFieldMaskBit6 = 0x200000000000000
-+ CBitFieldMaskBit7 = 0x100000000000000
-+ CBitFieldMaskBit8 = 0x80000000000000
-+ CBitFieldMaskBit9 = 0x40000000000000
-+ CBitFieldMaskBit10 = 0x20000000000000
-+ CBitFieldMaskBit11 = 0x10000000000000
-+ CBitFieldMaskBit12 = 0x8000000000000
-+ CBitFieldMaskBit13 = 0x4000000000000
-+ CBitFieldMaskBit14 = 0x2000000000000
-+ CBitFieldMaskBit15 = 0x1000000000000
-+ CBitFieldMaskBit16 = 0x800000000000
-+ CBitFieldMaskBit17 = 0x400000000000
-+ CBitFieldMaskBit18 = 0x200000000000
-+ CBitFieldMaskBit19 = 0x100000000000
-+ CBitFieldMaskBit20 = 0x80000000000
-+ CBitFieldMaskBit21 = 0x40000000000
-+ CBitFieldMaskBit22 = 0x20000000000
-+ CBitFieldMaskBit23 = 0x10000000000
-+ CBitFieldMaskBit24 = 0x8000000000
-+ CBitFieldMaskBit25 = 0x4000000000
-+ CBitFieldMaskBit26 = 0x2000000000
-+ CBitFieldMaskBit27 = 0x1000000000
-+ CBitFieldMaskBit28 = 0x800000000
-+ CBitFieldMaskBit29 = 0x400000000
-+ CBitFieldMaskBit30 = 0x200000000
-+ CBitFieldMaskBit31 = 0x100000000
-+ CBitFieldMaskBit32 = 0x80000000
-+ CBitFieldMaskBit33 = 0x40000000
-+ CBitFieldMaskBit34 = 0x20000000
-+ CBitFieldMaskBit35 = 0x10000000
-+ CBitFieldMaskBit36 = 0x8000000
-+ CBitFieldMaskBit37 = 0x4000000
-+ CBitFieldMaskBit38 = 0x2000000
-+ CBitFieldMaskBit39 = 0x1000000
-+ CBitFieldMaskBit40 = 0x800000
-+ CBitFieldMaskBit41 = 0x400000
-+ CBitFieldMaskBit42 = 0x200000
-+ CBitFieldMaskBit43 = 0x100000
-+ CBitFieldMaskBit44 = 0x80000
-+ CBitFieldMaskBit45 = 0x40000
-+ CBitFieldMaskBit46 = 0x20000
-+ CBitFieldMaskBit47 = 0x10000
-+ CBitFieldMaskBit48 = 0x8000
-+ CBitFieldMaskBit49 = 0x4000
-+ CBitFieldMaskBit50 = 0x2000
-+ CBitFieldMaskBit51 = 0x1000
-+ CBitFieldMaskBit52 = 0x800
-+ CBitFieldMaskBit53 = 0x400
-+ CBitFieldMaskBit54 = 0x200
-+ CBitFieldMaskBit55 = 0x100
-+ CBitFieldMaskBit56 = 0x80
-+ CBitFieldMaskBit57 = 0x40
-+ CBitFieldMaskBit58 = 0x20
-+ CBitFieldMaskBit59 = 0x10
-+ CBitFieldMaskBit60 = 0x8
-+ CBitFieldMaskBit61 = 0x4
-+ CBitFieldMaskBit62 = 0x2
-+ CBitFieldMaskBit63 = 0x1
-+)
-+
-+type SockaddrStorage struct {
-+ Family uint16
-+ _ [118]uint8
-+ _ 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 (
-- CTRL_CMD_UNSPEC = 0x0
-- CTRL_CMD_NEWFAMILY = 0x1
-- CTRL_CMD_DELFAMILY = 0x2
-- CTRL_CMD_GETFAMILY = 0x3
-- CTRL_CMD_NEWOPS = 0x4
-- CTRL_CMD_DELOPS = 0x5
-- CTRL_CMD_GETOPS = 0x6
-- CTRL_CMD_NEWMCAST_GRP = 0x7
-- CTRL_CMD_DELMCAST_GRP = 0x8
-- CTRL_CMD_GETMCAST_GRP = 0x9
-- CTRL_ATTR_UNSPEC = 0x0
-- CTRL_ATTR_FAMILY_ID = 0x1
-- CTRL_ATTR_FAMILY_NAME = 0x2
-- CTRL_ATTR_VERSION = 0x3
-- CTRL_ATTR_HDRSIZE = 0x4
-- CTRL_ATTR_MAXATTR = 0x5
-- CTRL_ATTR_OPS = 0x6
-- CTRL_ATTR_MCAST_GROUPS = 0x7
-- 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
-+ 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 = 0x20001269
-+)
-+
-+type XDPUmemReg struct {
-+ Addr uint64
-+ Len uint64
-+ Size uint32
-+ Headroom uint32
-+ Flags uint32
-+ _ [4]byte
-+}
-+
-+type CryptoUserAlg struct {
-+ Name [64]uint8
-+ Driver_name [64]uint8
-+ Module_name [64]uint8
-+ Type uint32
-+ Mask uint32
-+ Refcnt uint32
-+ Flags uint32
-+}
-+
-+type CryptoStatAEAD struct {
-+ Type [64]uint8
-+ Encrypt_cnt uint64
-+ Encrypt_tlen uint64
-+ Decrypt_cnt uint64
-+ Decrypt_tlen uint64
-+ Err_cnt uint64
-+}
-+
-+type CryptoStatAKCipher struct {
-+ Type [64]uint8
-+ 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]uint8
-+ Encrypt_cnt uint64
-+ Encrypt_tlen uint64
-+ Decrypt_cnt uint64
-+ Decrypt_tlen uint64
-+ Err_cnt uint64
-+}
-+
-+type CryptoStatCompress struct {
-+ Type [64]uint8
-+ Compress_cnt uint64
-+ Compress_tlen uint64
-+ Decompress_cnt uint64
-+ Decompress_tlen uint64
-+ Err_cnt uint64
-+}
-+
-+type CryptoStatHash struct {
-+ Type [64]uint8
-+ Hash_cnt uint64
-+ Hash_tlen uint64
-+ Err_cnt uint64
-+}
-+
-+type CryptoStatKPP struct {
-+ Type [64]uint8
-+ Setsecret_cnt uint64
-+ Generate_public_key_cnt uint64
-+ Compute_shared_secret_cnt uint64
-+ Err_cnt uint64
-+}
-+
-+type CryptoStatRNG struct {
-+ Type [64]uint8
-+ Generate_cnt uint64
-+ Generate_tlen uint64
-+ Seed_cnt uint64
-+ Err_cnt uint64
-+}
-+
-+type CryptoStatLarval struct {
-+ Type [64]uint8
-+}
-+
-+type CryptoReportLarval struct {
-+ Type [64]uint8
-+}
-+
-+type CryptoReportHash struct {
-+ Type [64]uint8
-+ Blocksize uint32
-+ Digestsize uint32
-+}
-+
-+type CryptoReportCipher struct {
-+ Type [64]uint8
-+ Blocksize uint32
-+ Min_keysize uint32
-+ Max_keysize uint32
-+}
-+
-+type CryptoReportBlkCipher struct {
-+ Type [64]uint8
-+ Geniv [64]uint8
-+ Blocksize uint32
-+ Min_keysize uint32
-+ Max_keysize uint32
-+ Ivsize uint32
-+}
-+
-+type CryptoReportAEAD struct {
-+ Type [64]uint8
-+ Geniv [64]uint8
-+ Blocksize uint32
-+ Maxauthsize uint32
-+ Ivsize uint32
-+}
-+
-+type CryptoReportComp struct {
-+ Type [64]uint8
-+}
-+
-+type CryptoReportRNG struct {
-+ Type [64]uint8
-+ Seedsize uint32
-+}
-+
-+type CryptoReportAKCipher struct {
-+ Type [64]uint8
-+}
-+
-+type CryptoReportKPP struct {
-+ Type [64]uint8
-+}
-+
-+type CryptoReportAcomp struct {
-+ Type [64]uint8
-+}
-+
-+type LoopInfo struct {
-+ Number int32
-+ Device uint64
-+ Inode uint64
-+ Rdevice uint64
-+ Offset int32
-+ Encrypt_type int32
-+ Encrypt_key_size int32
-+ Flags int32
-+ Name [64]uint8
-+ Encrypt_key [32]uint8
-+ Init [2]uint64
-+ Reserved [4]uint8
-+ _ [4]byte
-+}
-+
-+type TIPCSubscr struct {
-+ Seq TIPCServiceRange
-+ Timeout uint32
-+ Filter uint32
-+ Handle [8]uint8
-+}
-+
-+type TIPCSIOCLNReq struct {
-+ Peer uint32
-+ Id uint32
-+ Linkname [68]uint8
-+}
-+
-+type TIPCSIOCNodeIDReq struct {
-+ Peer uint32
-+ Id [16]uint8
-+}
-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 b2b59992..046c2deb 100644
---- a/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go
-+++ b/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go
-@@ -6,19 +6,12 @@
- package unix
-
- const (
-- sizeofPtr = 0x8
-- sizeofShort = 0x2
-- sizeofInt = 0x4
-- sizeofLong = 0x8
-- sizeofLongLong = 0x8
-- PathMax = 0x1000
-+ SizeofPtr = 0x8
-+ SizeofLong = 0x8
- )
-
- type (
-- _C_short int16
-- _C_int int32
-- _C_long int64
-- _C_long_long int64
-+ _C_long int64
- )
-
- type Timespec struct {
-@@ -33,13 +26,11 @@ type Timeval struct {
-
- type Timex struct {
- Modes uint32
-- Pad_cgo_0 [4]byte
- Offset int64
- Freq int64
- Maxerror int64
- Esterror int64
- Status int32
-- Pad_cgo_1 [4]byte
- Constant int64
- Precision int64
- Tolerance int64
-@@ -48,14 +39,13 @@ type Timex struct {
- Ppsfreq int64
- Jitter int64
- Shift int32
-- Pad_cgo_2 [4]byte
- Stabil int64
- Jitcnt int64
- Calcnt int64
- Errcnt int64
- Stbcnt int64
- Tai int32
-- Pad_cgo_3 [44]byte
-+ _ [44]byte
- }
-
- type Time_t int64
-@@ -91,13 +81,6 @@ type Rusage struct {
- Nivcsw int64
- }
-
--type Rlimit struct {
-- Cur uint64
-- Max uint64
--}
--
--type _Gid_t uint32
--
- type Stat_t struct {
- Dev uint64
- Ino uint64
-@@ -105,7 +88,7 @@ type Stat_t struct {
- Mode uint32
- Uid uint32
- Gid uint32
-- X__pad2 int32
-+ _ int32
- Rdev uint64
- Size int64
- Blksize int64
-@@ -118,139 +101,29 @@ type Stat_t struct {
- _ uint64
- }
-
--type Statfs_t struct {
-- Type int64
-- Bsize int64
-- Blocks uint64
-- Bfree uint64
-- Bavail uint64
-- Files uint64
-- Ffree uint64
-- Fsid Fsid
-- Namelen int64
-- Frsize int64
-- Flags int64
-- Spare [4]int64
--}
--
- type Dirent struct {
-- Ino uint64
-- Off int64
-- Reclen uint16
-- Type uint8
-- Name [256]uint8
-- Pad_cgo_0 [5]byte
--}
--
--type Fsid struct {
-- X__val [2]int32
-+ Ino uint64
-+ Off int64
-+ Reclen uint16
-+ Type uint8
-+ Name [256]uint8
-+ _ [5]byte
- }
-
- type Flock_t struct {
-- Type int16
-- Whence int16
-- Pad_cgo_0 [4]byte
-- Start int64
-- Len int64
-- Pid int32
-- Pad_cgo_1 [4]byte
--}
--
--type FscryptPolicy struct {
-- Version uint8
-- Contents_encryption_mode uint8
-- Filenames_encryption_mode uint8
-- Flags uint8
-- Master_key_descriptor [8]uint8
--}
--
--type FscryptKey struct {
-- Mode uint32
-- Raw [64]uint8
-- Size uint32
--}
--
--type KeyctlDHParams struct {
-- Private int32
-- Prime int32
-- Base int32
-+ Type int16
-+ Whence int16
-+ Start int64
-+ Len int64
-+ Pid int32
-+ _ [4]byte
- }
-
- const (
-- FADV_NORMAL = 0x0
-- FADV_RANDOM = 0x1
-- FADV_SEQUENTIAL = 0x2
-- FADV_WILLNEED = 0x3
-- FADV_DONTNEED = 0x4
-- FADV_NOREUSE = 0x5
-+ FADV_DONTNEED = 0x4
-+ FADV_NOREUSE = 0x5
- )
-
--type RawSockaddrInet4 struct {
-- Family uint16
-- Port uint16
-- Addr [4]byte /* in_addr */
-- Zero [8]uint8
--}
--
--type RawSockaddrInet6 struct {
-- Family uint16
-- Port uint16
-- Flowinfo uint32
-- Addr [16]byte /* in6_addr */
-- Scope_id uint32
--}
--
--type RawSockaddrUnix struct {
-- Family uint16
-- Path [108]int8
--}
--
--type RawSockaddrLinklayer struct {
-- Family uint16
-- Protocol uint16
-- Ifindex int32
-- Hatype uint16
-- Pkttype uint8
-- Halen uint8
-- Addr [8]uint8
--}
--
--type RawSockaddrNetlink struct {
-- Family uint16
-- Pad uint16
-- Pid uint32
-- Groups uint32
--}
--
--type RawSockaddrHCI struct {
-- Family uint16
-- Dev uint16
-- Channel uint16
--}
--
--type RawSockaddrCAN struct {
-- Family uint16
-- Pad_cgo_0 [2]byte
-- Ifindex int32
-- Addr [8]byte
--}
--
--type RawSockaddrALG struct {
-- Family uint16
-- Type [14]uint8
-- Feat uint32
-- Mask uint32
-- Name [64]uint8
--}
--
--type RawSockaddrVM struct {
-- Family uint16
-- Reserved1 uint16
-- Port uint32
-- Cid uint32
-- Zero [4]uint8
--}
--
- type RawSockaddr struct {
- Family uint16
- Data [14]uint8
-@@ -261,51 +134,20 @@ type RawSockaddrAny struct {
- Pad [96]uint8
- }
-
--type _Socklen uint32
--
--type Linger struct {
-- Onoff int32
-- Linger int32
--}
--
- type Iovec struct {
- Base *byte
- Len uint64
- }
-
--type IPMreq struct {
-- Multiaddr [4]byte /* in_addr */
-- Interface [4]byte /* in_addr */
--}
--
--type IPMreqn struct {
-- Multiaddr [4]byte /* in_addr */
-- Address [4]byte /* in_addr */
-- Ifindex int32
--}
--
--type IPv6Mreq struct {
-- Multiaddr [16]byte /* in6_addr */
-- Interface uint32
--}
--
--type PacketMreq struct {
-- Ifindex int32
-- Type uint16
-- Alen uint16
-- Address [8]uint8
--}
--
- type Msghdr struct {
- Name *byte
- Namelen uint32
-- Pad_cgo_0 [4]byte
- Iov *Iovec
- Iovlen uint64
- Control *byte
- Controllen uint64
- Flags int32
-- Pad_cgo_1 [4]byte
-+ _ [4]byte
- }
-
- type Cmsghdr struct {
-@@ -314,277 +156,16 @@ type Cmsghdr struct {
- Type int32
- }
-
--type Inet4Pktinfo struct {
-- Ifindex int32
-- Spec_dst [4]byte /* in_addr */
-- Addr [4]byte /* in_addr */
--}
--
--type Inet6Pktinfo struct {
-- Addr [16]byte /* in6_addr */
-- Ifindex uint32
--}
--
--type IPv6MTUInfo struct {
-- Addr RawSockaddrInet6
-- Mtu uint32
--}
--
--type ICMPv6Filter struct {
-- Data [8]uint32
--}
--
--type Ucred struct {
-- Pid int32
-- Uid uint32
-- Gid uint32
--}
--
--type TCPInfo struct {
-- State uint8
-- Ca_state uint8
-- Retransmits uint8
-- Probes uint8
-- Backoff uint8
-- Options uint8
-- Pad_cgo_0 [2]byte
-- Rto uint32
-- Ato uint32
-- Snd_mss uint32
-- Rcv_mss uint32
-- Unacked uint32
-- Sacked uint32
-- Lost uint32
-- Retrans uint32
-- Fackets uint32
-- Last_data_sent uint32
-- Last_ack_sent uint32
-- Last_data_recv uint32
-- Last_ack_recv uint32
-- Pmtu uint32
-- Rcv_ssthresh uint32
-- Rtt uint32
-- Rttvar uint32
-- Snd_ssthresh uint32
-- Snd_cwnd uint32
-- Advmss uint32
-- Reordering uint32
-- Rcv_rtt uint32
-- Rcv_space uint32
-- Total_retrans uint32
--}
--
- const (
-- SizeofSockaddrInet4 = 0x10
-- SizeofSockaddrInet6 = 0x1c
-- SizeofSockaddrAny = 0x70
-- SizeofSockaddrUnix = 0x6e
-- SizeofSockaddrLinklayer = 0x14
-- SizeofSockaddrNetlink = 0xc
-- SizeofSockaddrHCI = 0x6
-- SizeofSockaddrCAN = 0x10
-- SizeofSockaddrALG = 0x58
-- SizeofSockaddrVM = 0x10
-- SizeofLinger = 0x8
-- SizeofIovec = 0x10
-- SizeofIPMreq = 0x8
-- SizeofIPMreqn = 0xc
-- SizeofIPv6Mreq = 0x14
-- SizeofPacketMreq = 0x10
-- SizeofMsghdr = 0x38
-- SizeofCmsghdr = 0x10
-- SizeofInet4Pktinfo = 0xc
-- SizeofInet6Pktinfo = 0x14
-- SizeofIPv6MTUInfo = 0x20
-- SizeofICMPv6Filter = 0x20
-- SizeofUcred = 0xc
-- SizeofTCPInfo = 0x68
-+ SizeofIovec = 0x10
-+ SizeofMsghdr = 0x38
-+ SizeofCmsghdr = 0x10
- )
-
- const (
-- IFA_UNSPEC = 0x0
-- IFA_ADDRESS = 0x1
-- IFA_LOCAL = 0x2
-- IFA_LABEL = 0x3
-- IFA_BROADCAST = 0x4
-- IFA_ANYCAST = 0x5
-- IFA_CACHEINFO = 0x6
-- IFA_MULTICAST = 0x7
-- IFLA_UNSPEC = 0x0
-- IFLA_ADDRESS = 0x1
-- IFLA_BROADCAST = 0x2
-- IFLA_IFNAME = 0x3
-- IFLA_MTU = 0x4
-- IFLA_LINK = 0x5
-- IFLA_QDISC = 0x6
-- IFLA_STATS = 0x7
-- IFLA_COST = 0x8
-- IFLA_PRIORITY = 0x9
-- IFLA_MASTER = 0xa
-- IFLA_WIRELESS = 0xb
-- IFLA_PROTINFO = 0xc
-- IFLA_TXQLEN = 0xd
-- IFLA_MAP = 0xe
-- IFLA_WEIGHT = 0xf
-- IFLA_OPERSTATE = 0x10
-- IFLA_LINKMODE = 0x11
-- IFLA_LINKINFO = 0x12
-- IFLA_NET_NS_PID = 0x13
-- IFLA_IFALIAS = 0x14
-- IFLA_MAX = 0x2b
-- RT_SCOPE_UNIVERSE = 0x0
-- RT_SCOPE_SITE = 0xc8
-- RT_SCOPE_LINK = 0xfd
-- RT_SCOPE_HOST = 0xfe
-- RT_SCOPE_NOWHERE = 0xff
-- RT_TABLE_UNSPEC = 0x0
-- RT_TABLE_COMPAT = 0xfc
-- RT_TABLE_DEFAULT = 0xfd
-- RT_TABLE_MAIN = 0xfe
-- RT_TABLE_LOCAL = 0xff
-- RT_TABLE_MAX = 0xffffffff
-- RTA_UNSPEC = 0x0
-- RTA_DST = 0x1
-- RTA_SRC = 0x2
-- RTA_IIF = 0x3
-- RTA_OIF = 0x4
-- RTA_GATEWAY = 0x5
-- RTA_PRIORITY = 0x6
-- RTA_PREFSRC = 0x7
-- RTA_METRICS = 0x8
-- RTA_MULTIPATH = 0x9
-- RTA_FLOW = 0xb
-- RTA_CACHEINFO = 0xc
-- RTA_TABLE = 0xf
-- RTN_UNSPEC = 0x0
-- RTN_UNICAST = 0x1
-- RTN_LOCAL = 0x2
-- RTN_BROADCAST = 0x3
-- RTN_ANYCAST = 0x4
-- RTN_MULTICAST = 0x5
-- RTN_BLACKHOLE = 0x6
-- RTN_UNREACHABLE = 0x7
-- RTN_PROHIBIT = 0x8
-- RTN_THROW = 0x9
-- RTN_NAT = 0xa
-- RTN_XRESOLVE = 0xb
-- RTNLGRP_NONE = 0x0
-- RTNLGRP_LINK = 0x1
-- RTNLGRP_NOTIFY = 0x2
-- RTNLGRP_NEIGH = 0x3
-- RTNLGRP_TC = 0x4
-- RTNLGRP_IPV4_IFADDR = 0x5
-- RTNLGRP_IPV4_MROUTE = 0x6
-- RTNLGRP_IPV4_ROUTE = 0x7
-- RTNLGRP_IPV4_RULE = 0x8
-- RTNLGRP_IPV6_IFADDR = 0x9
-- RTNLGRP_IPV6_MROUTE = 0xa
-- RTNLGRP_IPV6_ROUTE = 0xb
-- RTNLGRP_IPV6_IFINFO = 0xc
-- RTNLGRP_IPV6_PREFIX = 0x12
-- RTNLGRP_IPV6_RULE = 0x13
-- RTNLGRP_ND_USEROPT = 0x14
-- SizeofNlMsghdr = 0x10
-- SizeofNlMsgerr = 0x14
-- SizeofRtGenmsg = 0x1
-- SizeofNlAttr = 0x4
-- SizeofRtAttr = 0x4
-- SizeofIfInfomsg = 0x10
-- SizeofIfAddrmsg = 0x8
-- SizeofRtMsg = 0xc
-- SizeofRtNexthop = 0x8
-+ SizeofSockFprog = 0x10
- )
-
--type NlMsghdr struct {
-- Len uint32
-- Type uint16
-- Flags uint16
-- Seq uint32
-- Pid uint32
--}
--
--type NlMsgerr struct {
-- Error int32
-- Msg NlMsghdr
--}
--
--type RtGenmsg struct {
-- Family uint8
--}
--
--type NlAttr struct {
-- Len uint16
-- Type uint16
--}
--
--type RtAttr struct {
-- Len uint16
-- Type uint16
--}
--
--type IfInfomsg struct {
-- Family uint8
-- X__ifi_pad uint8
-- Type uint16
-- Index int32
-- Flags uint32
-- Change uint32
--}
--
--type IfAddrmsg struct {
-- Family uint8
-- Prefixlen uint8
-- Flags uint8
-- Scope uint8
-- Index uint32
--}
--
--type RtMsg struct {
-- Family uint8
-- Dst_len uint8
-- Src_len uint8
-- Tos uint8
-- Table uint8
-- Protocol uint8
-- Scope uint8
-- Type uint8
-- Flags uint32
--}
--
--type RtNexthop struct {
-- Len uint16
-- Flags uint8
-- Hops uint8
-- Ifindex int32
--}
--
--const (
-- SizeofSockFilter = 0x8
-- SizeofSockFprog = 0x10
--)
--
--type SockFilter struct {
-- Code uint16
-- Jt uint8
-- Jf uint8
-- K uint32
--}
--
--type SockFprog struct {
-- Len uint16
-- Pad_cgo_0 [6]byte
-- Filter *SockFilter
--}
--
--type InotifyEvent struct {
-- Wd int32
-- Mask uint32
-- Cookie uint32
-- Len uint32
--}
--
--const SizeofInotifyEvent = 0x10
--
- type PtraceRegs struct {
- Gpr [32]uint64
- Nip uint64
-@@ -616,71 +197,37 @@ type Sysinfo_t struct {
- Freeswap uint64
- Procs uint16
- Pad uint16
-- Pad_cgo_0 [4]byte
- Totalhigh uint64
- Freehigh uint64
- Unit uint32
-- X_f [0]uint8
-- Pad_cgo_1 [4]byte
--}
--
--type Utsname struct {
-- Sysname [65]uint8
-- Nodename [65]uint8
-- Release [65]uint8
-- Version [65]uint8
-- Machine [65]uint8
-- Domainname [65]uint8
-+ _ [0]uint8
-+ _ [4]byte
- }
-
- type Ustat_t struct {
-- Tfree int32
-- Pad_cgo_0 [4]byte
-- Tinode uint64
-- Fname [6]uint8
-- Fpack [6]uint8
-- Pad_cgo_1 [4]byte
-+ Tfree int32
-+ Tinode uint64
-+ Fname [6]uint8
-+ Fpack [6]uint8
-+ _ [4]byte
- }
-
- type EpollEvent struct {
-- Events uint32
-- X_padFd int32
-- Fd int32
-- Pad int32
--}
--
--const (
-- AT_FDCWD = -0x64
-- AT_REMOVEDIR = 0x200
-- AT_SYMLINK_FOLLOW = 0x400
-- AT_SYMLINK_NOFOLLOW = 0x100
--)
--
--type PollFd struct {
-- Fd int32
-- Events int16
-- Revents int16
-+ Events uint32
-+ _ int32
-+ Fd int32
-+ Pad int32
- }
-
- const (
-- POLLIN = 0x1
-- POLLPRI = 0x2
-- POLLOUT = 0x4
- POLLRDHUP = 0x2000
-- POLLERR = 0x8
-- POLLHUP = 0x10
-- POLLNVAL = 0x20
- )
-
- type Sigset_t struct {
-- X__val [16]uint64
-+ Val [16]uint64
- }
-
--const RNDGETENTCNT = 0x40045200
--
--const PERF_IOC_FLAG_GROUP = 0x1
--
--const _SC_PAGESIZE = 0x1e
-+const _C__NSIG = 0x41
-
- type Termios struct {
- Iflag uint32
-@@ -693,20 +240,11 @@ type Termios struct {
- Ospeed uint32
- }
-
--type Winsize struct {
-- Row uint16
-- Col uint16
-- Xpixel uint16
-- Ypixel uint16
--}
--
- type Taskstats struct {
- Version uint16
-- Pad_cgo_0 [2]byte
- Ac_exitcode uint32
- Ac_flag uint8
- Ac_nice uint8
-- Pad_cgo_1 [6]byte
- Cpu_count uint64
- Cpu_delay_total uint64
- Blkio_count uint64
-@@ -718,13 +256,12 @@ type Taskstats struct {
- Ac_comm [32]uint8
- Ac_sched uint8
- Ac_pad [3]uint8
-- Pad_cgo_2 [4]byte
-+ _ [4]byte
- Ac_uid uint32
- Ac_gid uint32
- Ac_pid uint32
- Ac_ppid uint32
- Ac_btime uint32
-- Pad_cgo_3 [4]byte
- Ac_etime uint64
- Ac_utime uint64
- Ac_stime uint64
-@@ -748,55 +285,319 @@ type Taskstats struct {
- Cpu_scaled_run_real_total uint64
- Freepages_count uint64
- Freepages_delay_total uint64
-+ Thrashing_count uint64
-+ Thrashing_delay_total uint64
-+ Ac_btime64 uint64
- }
-
-+type cpuMask uint64
-+
- const (
-- TASKSTATS_CMD_UNSPEC = 0x0
-- TASKSTATS_CMD_GET = 0x1
-- TASKSTATS_CMD_NEW = 0x2
-- TASKSTATS_TYPE_UNSPEC = 0x0
-- TASKSTATS_TYPE_PID = 0x1
-- TASKSTATS_TYPE_TGID = 0x2
-- TASKSTATS_TYPE_STATS = 0x3
-- TASKSTATS_TYPE_AGGR_PID = 0x4
-- TASKSTATS_TYPE_AGGR_TGID = 0x5
-- TASKSTATS_TYPE_NULL = 0x6
-- TASKSTATS_CMD_ATTR_UNSPEC = 0x0
-- TASKSTATS_CMD_ATTR_PID = 0x1
-- TASKSTATS_CMD_ATTR_TGID = 0x2
-- TASKSTATS_CMD_ATTR_REGISTER_CPUMASK = 0x3
-- TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK = 0x4
-+ _NCPUBITS = 0x40
- )
-
--type Genlmsghdr struct {
-- Cmd uint8
-- Version uint8
-- Reserved uint16
-+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]uint8
-+ _ 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 (
-- CTRL_CMD_UNSPEC = 0x0
-- CTRL_CMD_NEWFAMILY = 0x1
-- CTRL_CMD_DELFAMILY = 0x2
-- CTRL_CMD_GETFAMILY = 0x3
-- CTRL_CMD_NEWOPS = 0x4
-- CTRL_CMD_DELOPS = 0x5
-- CTRL_CMD_GETOPS = 0x6
-- CTRL_CMD_NEWMCAST_GRP = 0x7
-- CTRL_CMD_DELMCAST_GRP = 0x8
-- CTRL_CMD_GETMCAST_GRP = 0x9
-- CTRL_ATTR_UNSPEC = 0x0
-- CTRL_ATTR_FAMILY_ID = 0x1
-- CTRL_ATTR_FAMILY_NAME = 0x2
-- CTRL_ATTR_VERSION = 0x3
-- CTRL_ATTR_HDRSIZE = 0x4
-- CTRL_ATTR_MAXATTR = 0x5
-- CTRL_ATTR_OPS = 0x6
-- CTRL_ATTR_MCAST_GROUPS = 0x7
-- 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
-+ 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 = 0x20001269
-+)
-+
-+type XDPUmemReg struct {
-+ Addr uint64
-+ Len uint64
-+ Size uint32
-+ Headroom uint32
-+ Flags uint32
-+ _ [4]byte
-+}
-+
-+type CryptoUserAlg struct {
-+ Name [64]uint8
-+ Driver_name [64]uint8
-+ Module_name [64]uint8
-+ Type uint32
-+ Mask uint32
-+ Refcnt uint32
-+ Flags uint32
-+}
-+
-+type CryptoStatAEAD struct {
-+ Type [64]uint8
-+ Encrypt_cnt uint64
-+ Encrypt_tlen uint64
-+ Decrypt_cnt uint64
-+ Decrypt_tlen uint64
-+ Err_cnt uint64
-+}
-+
-+type CryptoStatAKCipher struct {
-+ Type [64]uint8
-+ 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]uint8
-+ Encrypt_cnt uint64
-+ Encrypt_tlen uint64
-+ Decrypt_cnt uint64
-+ Decrypt_tlen uint64
-+ Err_cnt uint64
-+}
-+
-+type CryptoStatCompress struct {
-+ Type [64]uint8
-+ Compress_cnt uint64
-+ Compress_tlen uint64
-+ Decompress_cnt uint64
-+ Decompress_tlen uint64
-+ Err_cnt uint64
-+}
-+
-+type CryptoStatHash struct {
-+ Type [64]uint8
-+ Hash_cnt uint64
-+ Hash_tlen uint64
-+ Err_cnt uint64
-+}
-+
-+type CryptoStatKPP struct {
-+ Type [64]uint8
-+ Setsecret_cnt uint64
-+ Generate_public_key_cnt uint64
-+ Compute_shared_secret_cnt uint64
-+ Err_cnt uint64
-+}
-+
-+type CryptoStatRNG struct {
-+ Type [64]uint8
-+ Generate_cnt uint64
-+ Generate_tlen uint64
-+ Seed_cnt uint64
-+ Err_cnt uint64
-+}
-+
-+type CryptoStatLarval struct {
-+ Type [64]uint8
-+}
-+
-+type CryptoReportLarval struct {
-+ Type [64]uint8
-+}
-+
-+type CryptoReportHash struct {
-+ Type [64]uint8
-+ Blocksize uint32
-+ Digestsize uint32
-+}
-+
-+type CryptoReportCipher struct {
-+ Type [64]uint8
-+ Blocksize uint32
-+ Min_keysize uint32
-+ Max_keysize uint32
-+}
-+
-+type CryptoReportBlkCipher struct {
-+ Type [64]uint8
-+ Geniv [64]uint8
-+ Blocksize uint32
-+ Min_keysize uint32
-+ Max_keysize uint32
-+ Ivsize uint32
-+}
-+
-+type CryptoReportAEAD struct {
-+ Type [64]uint8
-+ Geniv [64]uint8
-+ Blocksize uint32
-+ Maxauthsize uint32
-+ Ivsize uint32
-+}
-+
-+type CryptoReportComp struct {
-+ Type [64]uint8
-+}
-+
-+type CryptoReportRNG struct {
-+ Type [64]uint8
-+ Seedsize uint32
-+}
-+
-+type CryptoReportAKCipher struct {
-+ Type [64]uint8
-+}
-+
-+type CryptoReportKPP struct {
-+ Type [64]uint8
-+}
-+
-+type CryptoReportAcomp struct {
-+ Type [64]uint8
-+}
-+
-+type LoopInfo struct {
-+ Number int32
-+ Device uint64
-+ Inode uint64
-+ Rdevice uint64
-+ Offset int32
-+ Encrypt_type int32
-+ Encrypt_key_size int32
-+ Flags int32
-+ Name [64]uint8
-+ Encrypt_key [32]uint8
-+ Init [2]uint64
-+ Reserved [4]uint8
-+ _ [4]byte
-+}
-+
-+type TIPCSubscr struct {
-+ Seq TIPCServiceRange
-+ Timeout uint32
-+ Filter uint32
-+ Handle [8]uint8
-+}
-+
-+type TIPCSIOCLNReq struct {
-+ Peer uint32
-+ Id uint32
-+ Linkname [68]uint8
-+}
-+
-+type TIPCSIOCNodeIDReq struct {
-+ Peer uint32
-+ Id [16]uint8
-+}
-diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_riscv64.go b/vendor/golang.org/x/sys/unix/ztypes_linux_riscv64.go
-new file mode 100644
-index 00000000..0f2f61a6
---- /dev/null
-+++ b/vendor/golang.org/x/sys/unix/ztypes_linux_riscv64.go
-@@ -0,0 +1,621 @@
-+// cgo -godefs -- -Wall -Werror -static -I/tmp/include linux/types.go | go run mkpost.go
-+// Code generated by the command above; see README.md. DO NOT EDIT.
-+
-+// +build riscv64,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]uint8
-+ _ [5]byte
-+}
-+
-+type Flock_t struct {
-+ Type int16
-+ Whence int16
-+ Start int64
-+ Len int64
-+ Pid int32
-+ _ [4]byte
-+}
-+
-+const (
-+ FADV_DONTNEED = 0x4
-+ FADV_NOREUSE = 0x5
-+)
-+
-+type RawSockaddr struct {
-+ Family uint16
-+ Data [14]uint8
-+}
-+
-+type RawSockaddrAny struct {
-+ Addr RawSockaddr
-+ Pad [96]uint8
-+}
-+
-+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
-+}
-+
-+const (
-+ SizeofIovec = 0x10
-+ SizeofMsghdr = 0x38
-+ SizeofCmsghdr = 0x10
-+)
-+
-+const (
-+ SizeofSockFprog = 0x10
-+)
-+
-+type PtraceRegs struct {
-+ Pc uint64
-+ Ra uint64
-+ Sp uint64
-+ Gp uint64
-+ Tp uint64
-+ T0 uint64
-+ T1 uint64
-+ T2 uint64
-+ S0 uint64
-+ S1 uint64
-+ A0 uint64
-+ A1 uint64
-+ A2 uint64
-+ A3 uint64
-+ A4 uint64
-+ A5 uint64
-+ A6 uint64
-+ A7 uint64
-+ S2 uint64
-+ S3 uint64
-+ S4 uint64
-+ S5 uint64
-+ S6 uint64
-+ S7 uint64
-+ S8 uint64
-+ S9 uint64
-+ S10 uint64
-+ S11 uint64
-+ T3 uint64
-+ T4 uint64
-+ T5 uint64
-+ T6 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]uint8
-+ _ [4]byte
-+}
-+
-+type Ustat_t struct {
-+ Tfree int32
-+ Tinode uint64
-+ Fname [6]uint8
-+ Fpack [6]uint8
-+ _ [4]byte
-+}
-+
-+type EpollEvent struct {
-+ Events uint32
-+ _ int32
-+ Fd int32
-+ Pad int32
-+}
-+
-+const (
-+ POLLRDHUP = 0x2000
-+)
-+
-+type Sigset_t struct {
-+ Val [16]uint64
-+}
-+
-+const _C__NSIG = 0x41
-+
-+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]uint8
-+ 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
-+}
-+
-+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]uint8
-+ _ 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]uint8
-+ Driver_name [64]uint8
-+ Module_name [64]uint8
-+ Type uint32
-+ Mask uint32
-+ Refcnt uint32
-+ Flags uint32
-+}
-+
-+type CryptoStatAEAD struct {
-+ Type [64]uint8
-+ Encrypt_cnt uint64
-+ Encrypt_tlen uint64
-+ Decrypt_cnt uint64
-+ Decrypt_tlen uint64
-+ Err_cnt uint64
-+}
-+
-+type CryptoStatAKCipher struct {
-+ Type [64]uint8
-+ 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]uint8
-+ Encrypt_cnt uint64
-+ Encrypt_tlen uint64
-+ Decrypt_cnt uint64
-+ Decrypt_tlen uint64
-+ Err_cnt uint64
-+}
-+
-+type CryptoStatCompress struct {
-+ Type [64]uint8
-+ Compress_cnt uint64
-+ Compress_tlen uint64
-+ Decompress_cnt uint64
-+ Decompress_tlen uint64
-+ Err_cnt uint64
-+}
-+
-+type CryptoStatHash struct {
-+ Type [64]uint8
-+ Hash_cnt uint64
-+ Hash_tlen uint64
-+ Err_cnt uint64
-+}
-+
-+type CryptoStatKPP struct {
-+ Type [64]uint8
-+ Setsecret_cnt uint64
-+ Generate_public_key_cnt uint64
-+ Compute_shared_secret_cnt uint64
-+ Err_cnt uint64
-+}
-+
-+type CryptoStatRNG struct {
-+ Type [64]uint8
-+ Generate_cnt uint64
-+ Generate_tlen uint64
-+ Seed_cnt uint64
-+ Err_cnt uint64
-+}
-+
-+type CryptoStatLarval struct {
-+ Type [64]uint8
-+}
-+
-+type CryptoReportLarval struct {
-+ Type [64]uint8
-+}
-+
-+type CryptoReportHash struct {
-+ Type [64]uint8
-+ Blocksize uint32
-+ Digestsize uint32
-+}
-+
-+type CryptoReportCipher struct {
-+ Type [64]uint8
-+ Blocksize uint32
-+ Min_keysize uint32
-+ Max_keysize uint32
-+}
-+
-+type CryptoReportBlkCipher struct {
-+ Type [64]uint8
-+ Geniv [64]uint8
-+ Blocksize uint32
-+ Min_keysize uint32
-+ Max_keysize uint32
-+ Ivsize uint32
-+}
-+
-+type CryptoReportAEAD struct {
-+ Type [64]uint8
-+ Geniv [64]uint8
-+ Blocksize uint32
-+ Maxauthsize uint32
-+ Ivsize uint32
-+}
-+
-+type CryptoReportComp struct {
-+ Type [64]uint8
-+}
-+
-+type CryptoReportRNG struct {
-+ Type [64]uint8
-+ Seedsize uint32
-+}
-+
-+type CryptoReportAKCipher struct {
-+ Type [64]uint8
-+}
-+
-+type CryptoReportKPP struct {
-+ Type [64]uint8
-+}
-+
-+type CryptoReportAcomp struct {
-+ Type [64]uint8
-+}
-+
-+type LoopInfo struct {
-+ Number int32
-+ Device uint32
-+ Inode uint64
-+ Rdevice uint32
-+ Offset int32
-+ Encrypt_type int32
-+ Encrypt_key_size int32
-+ Flags int32
-+ Name [64]uint8
-+ Encrypt_key [32]uint8
-+ Init [2]uint64
-+ Reserved [4]uint8
-+ _ [4]byte
-+}
-+
-+type TIPCSubscr struct {
-+ Seq TIPCServiceRange
-+ Timeout uint32
-+ Filter uint32
-+ Handle [8]uint8
-+}
-+
-+type TIPCSIOCLNReq struct {
-+ Peer uint32
-+ Id uint32
-+ Linkname [68]uint8
-+}
-+
-+type TIPCSIOCNodeIDReq struct {
-+ Peer uint32
-+ Id [16]uint8
-+}
-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 5e0aa663..cca1b6be 100644
---- a/vendor/golang.org/x/sys/unix/ztypes_linux_s390x.go
-+++ b/vendor/golang.org/x/sys/unix/ztypes_linux_s390x.go
-@@ -6,19 +6,12 @@
- package unix
-
- const (
-- sizeofPtr = 0x8
-- sizeofShort = 0x2
-- sizeofInt = 0x4
-- sizeofLong = 0x8
-- sizeofLongLong = 0x8
-- PathMax = 0x1000
-+ SizeofPtr = 0x8
-+ SizeofLong = 0x8
- )
-
- type (
-- _C_short int16
-- _C_int int32
-- _C_long int64
-- _C_long_long int64
-+ _C_long int64
- )
-
- type Timespec struct {
-@@ -33,13 +26,11 @@ type Timeval struct {
-
- type Timex struct {
- Modes uint32
-- _ [4]byte
- Offset int64
- Freq int64
- Maxerror int64
- Esterror int64
- Status int32
-- _ [4]byte
- Constant int64
- Precision int64
- Tolerance int64
-@@ -48,7 +39,6 @@ type Timex struct {
- Ppsfreq int64
- Jitter int64
- Shift int32
-- _ [4]byte
- Stabil int64
- Jitcnt int64
- Calcnt int64
-@@ -91,13 +81,6 @@ type Rusage struct {
- Nivcsw int64
- }
-
--type Rlimit struct {
-- Cur uint64
-- Max uint64
--}
--
--type _Gid_t uint32
--
- type Stat_t struct {
- Dev uint64
- Ino uint64
-@@ -116,22 +99,6 @@ type Stat_t struct {
- _ [3]int64
- }
-
--type Statfs_t struct {
-- Type uint32
-- Bsize uint32
-- Blocks uint64
-- Bfree uint64
-- Bavail uint64
-- Files uint64
-- Ffree uint64
-- Fsid Fsid
-- Namelen uint32
-- Frsize uint32
-- Flags uint32
-- Spare [4]uint32
-- _ [4]byte
--}
--
- type Dirent struct {
- Ino uint64
- Off int64
-@@ -141,115 +108,20 @@ type Dirent struct {
- _ [5]byte
- }
-
--type Fsid struct {
-- _ [2]int32
--}
--
- type Flock_t struct {
- Type int16
- Whence int16
-- _ [4]byte
- Start int64
- Len int64
- Pid int32
- _ [4]byte
- }
-
--type FscryptPolicy struct {
-- Version uint8
-- Contents_encryption_mode uint8
-- Filenames_encryption_mode uint8
-- Flags uint8
-- Master_key_descriptor [8]uint8
--}
--
--type FscryptKey struct {
-- Mode uint32
-- Raw [64]uint8
-- Size uint32
--}
--
--type KeyctlDHParams struct {
-- Private int32
-- Prime int32
-- Base int32
--}
--
- const (
-- FADV_NORMAL = 0x0
-- FADV_RANDOM = 0x1
-- FADV_SEQUENTIAL = 0x2
-- FADV_WILLNEED = 0x3
-- FADV_DONTNEED = 0x6
-- FADV_NOREUSE = 0x7
-+ FADV_DONTNEED = 0x6
-+ FADV_NOREUSE = 0x7
- )
-
--type RawSockaddrInet4 struct {
-- Family uint16
-- Port uint16
-- Addr [4]byte /* in_addr */
-- Zero [8]uint8
--}
--
--type RawSockaddrInet6 struct {
-- Family uint16
-- Port uint16
-- Flowinfo uint32
-- Addr [16]byte /* in6_addr */
-- Scope_id uint32
--}
--
--type RawSockaddrUnix struct {
-- Family uint16
-- Path [108]int8
--}
--
--type RawSockaddrLinklayer struct {
-- Family uint16
-- Protocol uint16
-- Ifindex int32
-- Hatype uint16
-- Pkttype uint8
-- Halen uint8
-- Addr [8]uint8
--}
--
--type RawSockaddrNetlink struct {
-- Family uint16
-- Pad uint16
-- Pid uint32
-- Groups uint32
--}
--
--type RawSockaddrHCI struct {
-- Family uint16
-- Dev uint16
-- Channel uint16
--}
--
--type RawSockaddrCAN struct {
-- Family uint16
-- _ [2]byte
-- Ifindex int32
-- Addr [8]byte
--}
--
--type RawSockaddrALG struct {
-- Family uint16
-- Type [14]uint8
-- Feat uint32
-- Mask uint32
-- Name [64]uint8
--}
--
--type RawSockaddrVM struct {
-- Family uint16
-- Reserved1 uint16
-- Port uint32
-- Cid uint32
-- Zero [4]uint8
--}
--
- type RawSockaddr struct {
- Family uint16
- Data [14]int8
-@@ -260,45 +132,14 @@ type RawSockaddrAny struct {
- Pad [96]int8
- }
-
--type _Socklen uint32
--
--type Linger struct {
-- Onoff int32
-- Linger int32
--}
--
- type Iovec struct {
- Base *byte
- Len uint64
- }
-
--type IPMreq struct {
-- Multiaddr [4]byte /* in_addr */
-- Interface [4]byte /* in_addr */
--}
--
--type IPMreqn struct {
-- Multiaddr [4]byte /* in_addr */
-- Address [4]byte /* in_addr */
-- Ifindex int32
--}
--
--type IPv6Mreq struct {
-- Multiaddr [16]byte /* in6_addr */
-- Interface uint32
--}
--
--type PacketMreq struct {
-- Ifindex int32
-- Type uint16
-- Alen uint16
-- Address [8]uint8
--}
--
- type Msghdr struct {
- Name *byte
- Namelen uint32
-- _ [4]byte
- Iov *Iovec
- Iovlen uint64
- Control *byte
-@@ -313,277 +154,16 @@ type Cmsghdr struct {
- Type int32
- }
-
--type Inet4Pktinfo struct {
-- Ifindex int32
-- Spec_dst [4]byte /* in_addr */
-- Addr [4]byte /* in_addr */
--}
--
--type Inet6Pktinfo struct {
-- Addr [16]byte /* in6_addr */
-- Ifindex uint32
--}
--
--type IPv6MTUInfo struct {
-- Addr RawSockaddrInet6
-- Mtu uint32
--}
--
--type ICMPv6Filter struct {
-- Data [8]uint32
--}
--
--type Ucred struct {
-- Pid int32
-- Uid uint32
-- Gid uint32
--}
--
--type TCPInfo struct {
-- State uint8
-- Ca_state uint8
-- Retransmits uint8
-- Probes uint8
-- Backoff uint8
-- Options uint8
-- _ [2]byte
-- Rto uint32
-- Ato uint32
-- Snd_mss uint32
-- Rcv_mss uint32
-- Unacked uint32
-- Sacked uint32
-- Lost uint32
-- Retrans uint32
-- Fackets uint32
-- Last_data_sent uint32
-- Last_ack_sent uint32
-- Last_data_recv uint32
-- Last_ack_recv uint32
-- Pmtu uint32
-- Rcv_ssthresh uint32
-- Rtt uint32
-- Rttvar uint32
-- Snd_ssthresh uint32
-- Snd_cwnd uint32
-- Advmss uint32
-- Reordering uint32
-- Rcv_rtt uint32
-- Rcv_space uint32
-- Total_retrans uint32
--}
--
--const (
-- SizeofSockaddrInet4 = 0x10
-- SizeofSockaddrInet6 = 0x1c
-- SizeofSockaddrAny = 0x70
-- SizeofSockaddrUnix = 0x6e
-- SizeofSockaddrLinklayer = 0x14
-- SizeofSockaddrNetlink = 0xc
-- SizeofSockaddrHCI = 0x6
-- SizeofSockaddrCAN = 0x10
-- SizeofSockaddrALG = 0x58
-- SizeofSockaddrVM = 0x10
-- SizeofLinger = 0x8
-- SizeofIovec = 0x10
-- SizeofIPMreq = 0x8
-- SizeofIPMreqn = 0xc
-- SizeofIPv6Mreq = 0x14
-- SizeofPacketMreq = 0x10
-- SizeofMsghdr = 0x38
-- SizeofCmsghdr = 0x10
-- SizeofInet4Pktinfo = 0xc
-- SizeofInet6Pktinfo = 0x14
-- SizeofIPv6MTUInfo = 0x20
-- SizeofICMPv6Filter = 0x20
-- SizeofUcred = 0xc
-- SizeofTCPInfo = 0x68
--)
--
- const (
-- IFA_UNSPEC = 0x0
-- IFA_ADDRESS = 0x1
-- IFA_LOCAL = 0x2
-- IFA_LABEL = 0x3
-- IFA_BROADCAST = 0x4
-- IFA_ANYCAST = 0x5
-- IFA_CACHEINFO = 0x6
-- IFA_MULTICAST = 0x7
-- IFLA_UNSPEC = 0x0
-- IFLA_ADDRESS = 0x1
-- IFLA_BROADCAST = 0x2
-- IFLA_IFNAME = 0x3
-- IFLA_MTU = 0x4
-- IFLA_LINK = 0x5
-- IFLA_QDISC = 0x6
-- IFLA_STATS = 0x7
-- IFLA_COST = 0x8
-- IFLA_PRIORITY = 0x9
-- IFLA_MASTER = 0xa
-- IFLA_WIRELESS = 0xb
-- IFLA_PROTINFO = 0xc
-- IFLA_TXQLEN = 0xd
-- IFLA_MAP = 0xe
-- IFLA_WEIGHT = 0xf
-- IFLA_OPERSTATE = 0x10
-- IFLA_LINKMODE = 0x11
-- IFLA_LINKINFO = 0x12
-- IFLA_NET_NS_PID = 0x13
-- IFLA_IFALIAS = 0x14
-- IFLA_MAX = 0x2b
-- RT_SCOPE_UNIVERSE = 0x0
-- RT_SCOPE_SITE = 0xc8
-- RT_SCOPE_LINK = 0xfd
-- RT_SCOPE_HOST = 0xfe
-- RT_SCOPE_NOWHERE = 0xff
-- RT_TABLE_UNSPEC = 0x0
-- RT_TABLE_COMPAT = 0xfc
-- RT_TABLE_DEFAULT = 0xfd
-- RT_TABLE_MAIN = 0xfe
-- RT_TABLE_LOCAL = 0xff
-- RT_TABLE_MAX = 0xffffffff
-- RTA_UNSPEC = 0x0
-- RTA_DST = 0x1
-- RTA_SRC = 0x2
-- RTA_IIF = 0x3
-- RTA_OIF = 0x4
-- RTA_GATEWAY = 0x5
-- RTA_PRIORITY = 0x6
-- RTA_PREFSRC = 0x7
-- RTA_METRICS = 0x8
-- RTA_MULTIPATH = 0x9
-- RTA_FLOW = 0xb
-- RTA_CACHEINFO = 0xc
-- RTA_TABLE = 0xf
-- RTN_UNSPEC = 0x0
-- RTN_UNICAST = 0x1
-- RTN_LOCAL = 0x2
-- RTN_BROADCAST = 0x3
-- RTN_ANYCAST = 0x4
-- RTN_MULTICAST = 0x5
-- RTN_BLACKHOLE = 0x6
-- RTN_UNREACHABLE = 0x7
-- RTN_PROHIBIT = 0x8
-- RTN_THROW = 0x9
-- RTN_NAT = 0xa
-- RTN_XRESOLVE = 0xb
-- RTNLGRP_NONE = 0x0
-- RTNLGRP_LINK = 0x1
-- RTNLGRP_NOTIFY = 0x2
-- RTNLGRP_NEIGH = 0x3
-- RTNLGRP_TC = 0x4
-- RTNLGRP_IPV4_IFADDR = 0x5
-- RTNLGRP_IPV4_MROUTE = 0x6
-- RTNLGRP_IPV4_ROUTE = 0x7
-- RTNLGRP_IPV4_RULE = 0x8
-- RTNLGRP_IPV6_IFADDR = 0x9
-- RTNLGRP_IPV6_MROUTE = 0xa
-- RTNLGRP_IPV6_ROUTE = 0xb
-- RTNLGRP_IPV6_IFINFO = 0xc
-- RTNLGRP_IPV6_PREFIX = 0x12
-- RTNLGRP_IPV6_RULE = 0x13
-- RTNLGRP_ND_USEROPT = 0x14
-- SizeofNlMsghdr = 0x10
-- SizeofNlMsgerr = 0x14
-- SizeofRtGenmsg = 0x1
-- SizeofNlAttr = 0x4
-- SizeofRtAttr = 0x4
-- SizeofIfInfomsg = 0x10
-- SizeofIfAddrmsg = 0x8
-- SizeofRtMsg = 0xc
-- SizeofRtNexthop = 0x8
-+ SizeofIovec = 0x10
-+ SizeofMsghdr = 0x38
-+ SizeofCmsghdr = 0x10
- )
-
--type NlMsghdr struct {
-- Len uint32
-- Type uint16
-- Flags uint16
-- Seq uint32
-- Pid uint32
--}
--
--type NlMsgerr struct {
-- Error int32
-- Msg NlMsghdr
--}
--
--type RtGenmsg struct {
-- Family uint8
--}
--
--type NlAttr struct {
-- Len uint16
-- Type uint16
--}
--
--type RtAttr struct {
-- Len uint16
-- Type uint16
--}
--
--type IfInfomsg struct {
-- Family uint8
-- _ uint8
-- Type uint16
-- Index int32
-- Flags uint32
-- Change uint32
--}
--
--type IfAddrmsg struct {
-- Family uint8
-- Prefixlen uint8
-- Flags uint8
-- Scope uint8
-- Index uint32
--}
--
--type RtMsg struct {
-- Family uint8
-- Dst_len uint8
-- Src_len uint8
-- Tos uint8
-- Table uint8
-- Protocol uint8
-- Scope uint8
-- Type uint8
-- Flags uint32
--}
--
--type RtNexthop struct {
-- Len uint16
-- Flags uint8
-- Hops uint8
-- Ifindex int32
--}
--
- const (
-- SizeofSockFilter = 0x8
-- SizeofSockFprog = 0x10
-+ SizeofSockFprog = 0x10
- )
-
--type SockFilter struct {
-- Code uint16
-- Jt uint8
-- Jf uint8
-- K uint32
--}
--
--type SockFprog struct {
-- Len uint16
-- _ [6]byte
-- Filter *SockFilter
--}
--
--type InotifyEvent struct {
-- Wd int32
-- Mask uint32
-- Cookie uint32
-- Len uint32
--}
--
--const SizeofInotifyEvent = 0x10
--
- type PtraceRegs struct {
- Psw PtracePsw
- Gprs [16]uint64
-@@ -601,18 +181,15 @@ type PtracePsw struct {
-
- type PtraceFpregs struct {
- Fpc uint32
-- _ [4]byte
- Fprs [16]float64
- }
-
- type PtracePer struct {
- _ [0]uint64
-- _ [24]byte
-- _ [8]byte
-+ _ [32]byte
- Starting_addr uint64
- Ending_addr uint64
- Perc_atmid uint16
-- _ [6]byte
- Address uint64
- Access_id uint8
- _ [7]byte
-@@ -633,7 +210,6 @@ type Sysinfo_t struct {
- Freeswap uint64
- Procs uint16
- Pad uint16
-- _ [4]byte
- Totalhigh uint64
- Freehigh uint64
- Unit uint32
-@@ -641,18 +217,8 @@ type Sysinfo_t struct {
- _ [4]byte
- }
-
--type Utsname struct {
-- Sysname [65]int8
-- Nodename [65]int8
-- Release [65]int8
-- Version [65]int8
-- Machine [65]int8
-- Domainname [65]int8
--}
--
- type Ustat_t struct {
- Tfree int32
-- _ [4]byte
- Tinode uint64
- Fname [6]int8
- Fpack [6]int8
-@@ -667,37 +233,14 @@ type EpollEvent struct {
- }
-
- const (
-- AT_FDCWD = -0x64
-- AT_REMOVEDIR = 0x200
-- AT_SYMLINK_FOLLOW = 0x400
-- AT_SYMLINK_NOFOLLOW = 0x100
--)
--
--type PollFd struct {
-- Fd int32
-- Events int16
-- Revents int16
--}
--
--const (
-- POLLIN = 0x1
-- POLLPRI = 0x2
-- POLLOUT = 0x4
- POLLRDHUP = 0x2000
-- POLLERR = 0x8
-- POLLHUP = 0x10
-- POLLNVAL = 0x20
- )
-
- type Sigset_t struct {
-- _ [16]uint64
-+ Val [16]uint64
- }
-
--const RNDGETENTCNT = 0x80045200
--
--const PERF_IOC_FLAG_GROUP = 0x1
--
--const _SC_PAGESIZE = 0x1e
-+const _C__NSIG = 0x41
-
- type Termios struct {
- Iflag uint32
-@@ -710,20 +253,11 @@ type Termios struct {
- Ospeed uint32
- }
-
--type Winsize struct {
-- Row uint16
-- Col uint16
-- Xpixel uint16
-- Ypixel uint16
--}
--
- type Taskstats struct {
- Version uint16
-- _ [2]byte
- Ac_exitcode uint32
- Ac_flag uint8
- Ac_nice uint8
-- _ [6]byte
- Cpu_count uint64
- Cpu_delay_total uint64
- Blkio_count uint64
-@@ -741,7 +275,6 @@ type Taskstats struct {
- Ac_pid uint32
- Ac_ppid uint32
- Ac_btime uint32
-- _ [4]byte
- Ac_etime uint64
- Ac_utime uint64
- Ac_stime uint64
-@@ -765,55 +298,320 @@ type Taskstats struct {
- Cpu_scaled_run_real_total uint64
- Freepages_count uint64
- Freepages_delay_total uint64
-+ Thrashing_count uint64
-+ Thrashing_delay_total uint64
-+ Ac_btime64 uint64
-+}
-+
-+type cpuMask uint64
-+
-+const (
-+ _NCPUBITS = 0x40
-+)
-+
-+const (
-+ CBitFieldMaskBit0 = 0x8000000000000000
-+ CBitFieldMaskBit1 = 0x4000000000000000
-+ CBitFieldMaskBit2 = 0x2000000000000000
-+ CBitFieldMaskBit3 = 0x1000000000000000
-+ CBitFieldMaskBit4 = 0x800000000000000
-+ CBitFieldMaskBit5 = 0x400000000000000
-+ CBitFieldMaskBit6 = 0x200000000000000
-+ CBitFieldMaskBit7 = 0x100000000000000
-+ CBitFieldMaskBit8 = 0x80000000000000
-+ CBitFieldMaskBit9 = 0x40000000000000
-+ CBitFieldMaskBit10 = 0x20000000000000
-+ CBitFieldMaskBit11 = 0x10000000000000
-+ CBitFieldMaskBit12 = 0x8000000000000
-+ CBitFieldMaskBit13 = 0x4000000000000
-+ CBitFieldMaskBit14 = 0x2000000000000
-+ CBitFieldMaskBit15 = 0x1000000000000
-+ CBitFieldMaskBit16 = 0x800000000000
-+ CBitFieldMaskBit17 = 0x400000000000
-+ CBitFieldMaskBit18 = 0x200000000000
-+ CBitFieldMaskBit19 = 0x100000000000
-+ CBitFieldMaskBit20 = 0x80000000000
-+ CBitFieldMaskBit21 = 0x40000000000
-+ CBitFieldMaskBit22 = 0x20000000000
-+ CBitFieldMaskBit23 = 0x10000000000
-+ CBitFieldMaskBit24 = 0x8000000000
-+ CBitFieldMaskBit25 = 0x4000000000
-+ CBitFieldMaskBit26 = 0x2000000000
-+ CBitFieldMaskBit27 = 0x1000000000
-+ CBitFieldMaskBit28 = 0x800000000
-+ CBitFieldMaskBit29 = 0x400000000
-+ CBitFieldMaskBit30 = 0x200000000
-+ CBitFieldMaskBit31 = 0x100000000
-+ CBitFieldMaskBit32 = 0x80000000
-+ CBitFieldMaskBit33 = 0x40000000
-+ CBitFieldMaskBit34 = 0x20000000
-+ CBitFieldMaskBit35 = 0x10000000
-+ CBitFieldMaskBit36 = 0x8000000
-+ CBitFieldMaskBit37 = 0x4000000
-+ CBitFieldMaskBit38 = 0x2000000
-+ CBitFieldMaskBit39 = 0x1000000
-+ CBitFieldMaskBit40 = 0x800000
-+ CBitFieldMaskBit41 = 0x400000
-+ CBitFieldMaskBit42 = 0x200000
-+ CBitFieldMaskBit43 = 0x100000
-+ CBitFieldMaskBit44 = 0x80000
-+ CBitFieldMaskBit45 = 0x40000
-+ CBitFieldMaskBit46 = 0x20000
-+ CBitFieldMaskBit47 = 0x10000
-+ CBitFieldMaskBit48 = 0x8000
-+ CBitFieldMaskBit49 = 0x4000
-+ CBitFieldMaskBit50 = 0x2000
-+ CBitFieldMaskBit51 = 0x1000
-+ CBitFieldMaskBit52 = 0x800
-+ CBitFieldMaskBit53 = 0x400
-+ CBitFieldMaskBit54 = 0x200
-+ CBitFieldMaskBit55 = 0x100
-+ CBitFieldMaskBit56 = 0x80
-+ CBitFieldMaskBit57 = 0x40
-+ CBitFieldMaskBit58 = 0x20
-+ CBitFieldMaskBit59 = 0x10
-+ CBitFieldMaskBit60 = 0x8
-+ CBitFieldMaskBit61 = 0x4
-+ CBitFieldMaskBit62 = 0x2
-+ CBitFieldMaskBit63 = 0x1
-+)
-+
-+type SockaddrStorage struct {
-+ Family uint16
-+ _ [118]int8
-+ _ uint64
-+}
-+
-+type HDGeometry struct {
-+ Heads uint8
-+ Sectors uint8
-+ Cylinders uint16
-+ Start uint64
-+}
-+
-+type Statfs_t struct {
-+ Type uint32
-+ Bsize uint32
-+ Blocks uint64
-+ Bfree uint64
-+ Bavail uint64
-+ Files uint64
-+ Ffree uint64
-+ Fsid Fsid
-+ Namelen uint32
-+ Frsize uint32
-+ Flags uint32
-+ Spare [4]uint32
-+ _ [4]byte
-+}
-+
-+type TpacketHdr struct {
-+ Status uint64
-+ Len uint32
-+ Snaplen uint32
-+ Mac uint16
-+ Net uint16
-+ Sec uint32
-+ Usec uint32
-+ _ [4]byte
- }
-
- const (
-- TASKSTATS_CMD_UNSPEC = 0x0
-- TASKSTATS_CMD_GET = 0x1
-- TASKSTATS_CMD_NEW = 0x2
-- TASKSTATS_TYPE_UNSPEC = 0x0
-- TASKSTATS_TYPE_PID = 0x1
-- TASKSTATS_TYPE_TGID = 0x2
-- TASKSTATS_TYPE_STATS = 0x3
-- TASKSTATS_TYPE_AGGR_PID = 0x4
-- TASKSTATS_TYPE_AGGR_TGID = 0x5
-- TASKSTATS_TYPE_NULL = 0x6
-- TASKSTATS_CMD_ATTR_UNSPEC = 0x0
-- TASKSTATS_CMD_ATTR_PID = 0x1
-- TASKSTATS_CMD_ATTR_TGID = 0x2
-- TASKSTATS_CMD_ATTR_REGISTER_CPUMASK = 0x3
-- TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK = 0x4
-+ SizeofTpacketHdr = 0x20
- )
-
--type Genlmsghdr struct {
-- Cmd uint8
-- Version uint8
-- Reserved uint16
-+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 (
-- CTRL_CMD_UNSPEC = 0x0
-- CTRL_CMD_NEWFAMILY = 0x1
-- CTRL_CMD_DELFAMILY = 0x2
-- CTRL_CMD_GETFAMILY = 0x3
-- CTRL_CMD_NEWOPS = 0x4
-- CTRL_CMD_DELOPS = 0x5
-- CTRL_CMD_GETOPS = 0x6
-- CTRL_CMD_NEWMCAST_GRP = 0x7
-- CTRL_CMD_DELMCAST_GRP = 0x8
-- CTRL_CMD_GETMCAST_GRP = 0x9
-- CTRL_ATTR_UNSPEC = 0x0
-- CTRL_ATTR_FAMILY_ID = 0x1
-- CTRL_ATTR_FAMILY_NAME = 0x2
-- CTRL_ATTR_VERSION = 0x3
-- CTRL_ATTR_HDRSIZE = 0x4
-- CTRL_ATTR_MAXATTR = 0x5
-- CTRL_ATTR_OPS = 0x6
-- CTRL_ATTR_MCAST_GROUPS = 0x7
-- 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
-+ 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 uint16
-+ Inode uint64
-+ Rdevice uint16
-+ 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
-+}
-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 22bdab96..33a73bf1 100644
---- a/vendor/golang.org/x/sys/unix/ztypes_linux_sparc64.go
-+++ b/vendor/golang.org/x/sys/unix/ztypes_linux_sparc64.go
-@@ -1,23 +1,17 @@
-+// cgo -godefs -- -Wall -Werror -static -I/tmp/include linux/types.go | go run mkpost.go
-+// Code generated by the command above; see README.md. DO NOT EDIT.
-+
- // +build sparc64,linux
--// Created by cgo -godefs - DO NOT EDIT
--// cgo -godefs types_linux.go | go run mkpost.go
-
- package unix
-
- const (
-- sizeofPtr = 0x8
-- sizeofShort = 0x2
-- sizeofInt = 0x4
-- sizeofLong = 0x8
-- sizeofLongLong = 0x8
-- PathMax = 0x1000
-+ SizeofPtr = 0x8
-+ SizeofLong = 0x8
- )
-
- type (
-- _C_short int16
-- _C_int int32
-- _C_long int64
-- _C_long_long int64
-+ _C_long int64
- )
-
- type Timespec struct {
-@@ -26,20 +20,18 @@ type Timespec struct {
- }
-
- type Timeval struct {
-- Sec int64
-- Usec int32
-- Pad_cgo_0 [4]byte
-+ Sec int64
-+ Usec int32
-+ _ [4]byte
- }
-
- type Timex struct {
- Modes uint32
-- Pad_cgo_0 [4]byte
- Offset int64
- Freq int64
- Maxerror int64
- Esterror int64
- Status int32
-- Pad_cgo_1 [4]byte
- Constant int64
- Precision int64
- Tolerance int64
-@@ -48,14 +40,13 @@ type Timex struct {
- Ppsfreq int64
- Jitter int64
- Shift int32
-- Pad_cgo_2 [4]byte
- Stabil int64
- Jitcnt int64
- Calcnt int64
- Errcnt int64
- Stbcnt int64
- Tai int32
-- Pad_cgo_3 [44]byte
-+ _ [44]byte
- }
-
- type Time_t int64
-@@ -91,149 +82,50 @@ type Rusage struct {
- Nivcsw int64
- }
-
--type Rlimit struct {
-- Cur uint64
-- Max uint64
--}
--
--type _Gid_t uint32
--
- type Stat_t struct {
-- Dev uint64
-- X__pad1 uint16
-- Pad_cgo_0 [6]byte
-- Ino uint64
-- Mode uint32
-- Nlink uint32
-- Uid uint32
-- Gid uint32
-- Rdev uint64
-- X__pad2 uint16
-- Pad_cgo_1 [6]byte
-- Size int64
-- Blksize int64
-- Blocks int64
-- Atim Timespec
-- Mtim Timespec
-- Ctim Timespec
-- X__glibc_reserved4 uint64
-- X__glibc_reserved5 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
-+ Dev uint64
-+ _ uint16
-+ Ino uint64
-+ Mode uint32
-+ Nlink uint32
-+ Uid uint32
-+ Gid uint32
-+ Rdev uint64
-+ _ uint16
-+ Size int64
-+ Blksize int64
-+ Blocks int64
-+ Atim Timespec
-+ Mtim Timespec
-+ Ctim Timespec
-+ _ uint64
-+ _ uint64
- }
-
- type Dirent struct {
-- Ino uint64
-- Off int64
-- Reclen uint16
-- Type uint8
-- Name [256]int8
-- Pad_cgo_0 [5]byte
--}
--
--type Fsid struct {
-- X__val [2]int32
-+ Ino uint64
-+ Off int64
-+ Reclen uint16
-+ Type uint8
-+ Name [256]int8
-+ _ [5]byte
- }
-
- type Flock_t struct {
-- Type int16
-- Whence int16
-- Pad_cgo_0 [4]byte
-- Start int64
-- Len int64
-- Pid int32
-- X__glibc_reserved int16
-- Pad_cgo_1 [2]byte
-+ Type int16
-+ Whence int16
-+ Start int64
-+ Len int64
-+ Pid int32
-+ _ int16
-+ _ [2]byte
- }
-
- const (
-- FADV_NORMAL = 0x0
-- FADV_RANDOM = 0x1
-- FADV_SEQUENTIAL = 0x2
-- FADV_WILLNEED = 0x3
-- FADV_DONTNEED = 0x4
-- FADV_NOREUSE = 0x5
-+ FADV_DONTNEED = 0x4
-+ FADV_NOREUSE = 0x5
- )
-
--type RawSockaddrInet4 struct {
-- Family uint16
-- Port uint16
-- Addr [4]byte /* in_addr */
-- Zero [8]uint8
--}
--
--type RawSockaddrInet6 struct {
-- Family uint16
-- Port uint16
-- Flowinfo uint32
-- Addr [16]byte /* in6_addr */
-- Scope_id uint32
--}
--
--type RawSockaddrUnix struct {
-- Family uint16
-- Path [108]int8
--}
--
--type RawSockaddrLinklayer struct {
-- Family uint16
-- Protocol uint16
-- Ifindex int32
-- Hatype uint16
-- Pkttype uint8
-- Halen uint8
-- Addr [8]uint8
--}
--
--type RawSockaddrNetlink struct {
-- Family uint16
-- Pad uint16
-- Pid uint32
-- Groups uint32
--}
--
--type RawSockaddrHCI struct {
-- Family uint16
-- Dev uint16
-- Channel uint16
--}
--
--type RawSockaddrCAN struct {
-- Family uint16
-- Pad_cgo_0 [2]byte
-- Ifindex int32
-- Addr [8]byte
--}
--
--type RawSockaddrALG struct {
-- Family uint16
-- Type [14]uint8
-- Feat uint32
-- Mask uint32
-- Name [64]uint8
--}
--
--type RawSockaddrVM struct {
-- Family uint16
-- Reserved1 uint16
-- Port uint32
-- Cid uint32
-- Zero [4]uint8
--}
--
- type RawSockaddr struct {
- Family uint16
- Data [14]int8
-@@ -244,44 +136,20 @@ type RawSockaddrAny struct {
- Pad [96]int8
- }
-
--type _Socklen uint32
--
--type Linger struct {
-- Onoff int32
-- Linger int32
--}
--
- type Iovec struct {
- Base *byte
- Len uint64
- }
-
--type IPMreq struct {
-- Multiaddr [4]byte /* in_addr */
-- Interface [4]byte /* in_addr */
--}
--
--type IPMreqn struct {
-- Multiaddr [4]byte /* in_addr */
-- Address [4]byte /* in_addr */
-- Ifindex int32
--}
--
--type IPv6Mreq struct {
-- Multiaddr [16]byte /* in6_addr */
-- Interface uint32
--}
--
- type Msghdr struct {
- Name *byte
- Namelen uint32
-- Pad_cgo_0 [4]byte
- Iov *Iovec
- Iovlen uint64
- Control *byte
- Controllen uint64
- Flags int32
-- Pad_cgo_1 [4]byte
-+ _ [4]byte
- }
-
- type Cmsghdr struct {
-@@ -290,377 +158,441 @@ type Cmsghdr struct {
- Type int32
- }
-
--type Inet4Pktinfo struct {
-- Ifindex int32
-- Spec_dst [4]byte /* in_addr */
-- Addr [4]byte /* in_addr */
--}
--
--type Inet6Pktinfo struct {
-- Addr [16]byte /* in6_addr */
-- Ifindex uint32
--}
--
--type IPv6MTUInfo struct {
-- Addr RawSockaddrInet6
-- Mtu uint32
--}
--
--type ICMPv6Filter struct {
-- Data [8]uint32
--}
--
--type Ucred struct {
-- Pid int32
-- Uid uint32
-- Gid uint32
--}
--
--type TCPInfo struct {
-- State uint8
-- Ca_state uint8
-- Retransmits uint8
-- Probes uint8
-- Backoff uint8
-- Options uint8
-- Pad_cgo_0 [2]byte
-- Rto uint32
-- Ato uint32
-- Snd_mss uint32
-- Rcv_mss uint32
-- Unacked uint32
-- Sacked uint32
-- Lost uint32
-- Retrans uint32
-- Fackets uint32
-- Last_data_sent uint32
-- Last_ack_sent uint32
-- Last_data_recv uint32
-- Last_ack_recv uint32
-- Pmtu uint32
-- Rcv_ssthresh uint32
-- Rtt uint32
-- Rttvar uint32
-- Snd_ssthresh uint32
-- Snd_cwnd uint32
-- Advmss uint32
-- Reordering uint32
-- Rcv_rtt uint32
-- Rcv_space uint32
-- Total_retrans uint32
--}
--
- const (
-- SizeofSockaddrInet4 = 0x10
-- SizeofSockaddrInet6 = 0x1c
-- SizeofSockaddrAny = 0x70
-- SizeofSockaddrUnix = 0x6e
-- SizeofSockaddrLinklayer = 0x14
-- SizeofSockaddrNetlink = 0xc
-- SizeofSockaddrHCI = 0x6
-- SizeofSockaddrCAN = 0x10
-- SizeofSockaddrALG = 0x58
-- SizeofSockaddrVM = 0x10
-- SizeofLinger = 0x8
-- SizeofIPMreq = 0x8
-- SizeofIPMreqn = 0xc
-- SizeofIPv6Mreq = 0x14
-- SizeofMsghdr = 0x38
-- SizeofCmsghdr = 0x10
-- SizeofInet4Pktinfo = 0xc
-- SizeofInet6Pktinfo = 0x14
-- SizeofIPv6MTUInfo = 0x20
-- SizeofICMPv6Filter = 0x20
-- SizeofUcred = 0xc
-- SizeofTCPInfo = 0x68
-+ SizeofIovec = 0x10
-+ SizeofMsghdr = 0x38
-+ SizeofCmsghdr = 0x10
- )
-
- const (
-- IFA_UNSPEC = 0x0
-- IFA_ADDRESS = 0x1
-- IFA_LOCAL = 0x2
-- IFA_LABEL = 0x3
-- IFA_BROADCAST = 0x4
-- IFA_ANYCAST = 0x5
-- IFA_CACHEINFO = 0x6
-- IFA_MULTICAST = 0x7
-- IFLA_UNSPEC = 0x0
-- IFLA_ADDRESS = 0x1
-- IFLA_BROADCAST = 0x2
-- IFLA_IFNAME = 0x3
-- IFLA_MTU = 0x4
-- IFLA_LINK = 0x5
-- IFLA_QDISC = 0x6
-- IFLA_STATS = 0x7
-- IFLA_COST = 0x8
-- IFLA_PRIORITY = 0x9
-- IFLA_MASTER = 0xa
-- IFLA_WIRELESS = 0xb
-- IFLA_PROTINFO = 0xc
-- IFLA_TXQLEN = 0xd
-- IFLA_MAP = 0xe
-- IFLA_WEIGHT = 0xf
-- IFLA_OPERSTATE = 0x10
-- IFLA_LINKMODE = 0x11
-- IFLA_LINKINFO = 0x12
-- IFLA_NET_NS_PID = 0x13
-- IFLA_IFALIAS = 0x14
-- IFLA_MAX = 0x2a
-- RT_SCOPE_UNIVERSE = 0x0
-- RT_SCOPE_SITE = 0xc8
-- RT_SCOPE_LINK = 0xfd
-- RT_SCOPE_HOST = 0xfe
-- RT_SCOPE_NOWHERE = 0xff
-- RT_TABLE_UNSPEC = 0x0
-- RT_TABLE_COMPAT = 0xfc
-- RT_TABLE_DEFAULT = 0xfd
-- RT_TABLE_MAIN = 0xfe
-- RT_TABLE_LOCAL = 0xff
-- RT_TABLE_MAX = 0xffffffff
-- RTA_UNSPEC = 0x0
-- RTA_DST = 0x1
-- RTA_SRC = 0x2
-- RTA_IIF = 0x3
-- RTA_OIF = 0x4
-- RTA_GATEWAY = 0x5
-- RTA_PRIORITY = 0x6
-- RTA_PREFSRC = 0x7
-- RTA_METRICS = 0x8
-- RTA_MULTIPATH = 0x9
-- RTA_FLOW = 0xb
-- RTA_CACHEINFO = 0xc
-- RTA_TABLE = 0xf
-- RTN_UNSPEC = 0x0
-- RTN_UNICAST = 0x1
-- RTN_LOCAL = 0x2
-- RTN_BROADCAST = 0x3
-- RTN_ANYCAST = 0x4
-- RTN_MULTICAST = 0x5
-- RTN_BLACKHOLE = 0x6
-- RTN_UNREACHABLE = 0x7
-- RTN_PROHIBIT = 0x8
-- RTN_THROW = 0x9
-- RTN_NAT = 0xa
-- RTN_XRESOLVE = 0xb
-- RTNLGRP_NONE = 0x0
-- RTNLGRP_LINK = 0x1
-- RTNLGRP_NOTIFY = 0x2
-- RTNLGRP_NEIGH = 0x3
-- RTNLGRP_TC = 0x4
-- RTNLGRP_IPV4_IFADDR = 0x5
-- RTNLGRP_IPV4_MROUTE = 0x6
-- RTNLGRP_IPV4_ROUTE = 0x7
-- RTNLGRP_IPV4_RULE = 0x8
-- RTNLGRP_IPV6_IFADDR = 0x9
-- RTNLGRP_IPV6_MROUTE = 0xa
-- RTNLGRP_IPV6_ROUTE = 0xb
-- RTNLGRP_IPV6_IFINFO = 0xc
-- RTNLGRP_IPV6_PREFIX = 0x12
-- RTNLGRP_IPV6_RULE = 0x13
-- RTNLGRP_ND_USEROPT = 0x14
-- SizeofNlMsghdr = 0x10
-- SizeofNlMsgerr = 0x14
-- SizeofRtGenmsg = 0x1
-- SizeofNlAttr = 0x4
-- SizeofRtAttr = 0x4
-- SizeofIfInfomsg = 0x10
-- SizeofIfAddrmsg = 0x8
-- SizeofRtMsg = 0xc
-- SizeofRtNexthop = 0x8
-+ SizeofSockFprog = 0x10
- )
-
--type NlMsghdr struct {
-- Len uint32
-- Type uint16
-- Flags uint16
-- Seq uint32
-- Pid uint32
-+type PtraceRegs struct {
-+ Regs [16]uint64
-+ Tstate uint64
-+ Tpc uint64
-+ Tnpc uint64
-+ Y uint32
-+ Magic uint32
- }
-
--type NlMsgerr struct {
-- Error int32
-- Msg NlMsghdr
-+type FdSet struct {
-+ Bits [16]int64
- }
-
--type RtGenmsg struct {
-- Family uint8
-+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 NlAttr struct {
-- Len uint16
-- Type uint16
-+type Ustat_t struct {
-+ Tfree int32
-+ Tinode uint64
-+ Fname [6]int8
-+ Fpack [6]int8
-+ _ [4]byte
- }
-
--type RtAttr struct {
-- Len uint16
-- Type uint16
-+type EpollEvent struct {
-+ Events uint32
-+ _ int32
-+ Fd int32
-+ Pad int32
- }
-
--type IfInfomsg struct {
-- Family uint8
-- X__ifi_pad uint8
-- Type uint16
-- Index int32
-- Flags uint32
-- Change uint32
-+const (
-+ POLLRDHUP = 0x800
-+)
-+
-+type Sigset_t struct {
-+ Val [16]uint64
- }
-
--type IfAddrmsg struct {
-- Family uint8
-- Prefixlen uint8
-- Flags uint8
-- Scope uint8
-- Index uint32
-+const _C__NSIG = 0x41
-+
-+type Termios struct {
-+ Iflag uint32
-+ Oflag uint32
-+ Cflag uint32
-+ Lflag uint32
-+ Line uint8
-+ Cc [19]uint8
-+ Ispeed uint32
-+ Ospeed uint32
- }
-
--type RtMsg struct {
-- Family uint8
-- Dst_len uint8
-- Src_len uint8
-- Tos uint8
-- Table uint8
-- Protocol uint8
-- Scope uint8
-- Type uint8
-- Flags uint32
-+type 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
-+}
-+
-+type cpuMask uint64
-+
-+const (
-+ _NCPUBITS = 0x40
-+)
-+
-+const (
-+ CBitFieldMaskBit0 = 0x8000000000000000
-+ CBitFieldMaskBit1 = 0x4000000000000000
-+ CBitFieldMaskBit2 = 0x2000000000000000
-+ CBitFieldMaskBit3 = 0x1000000000000000
-+ CBitFieldMaskBit4 = 0x800000000000000
-+ CBitFieldMaskBit5 = 0x400000000000000
-+ CBitFieldMaskBit6 = 0x200000000000000
-+ CBitFieldMaskBit7 = 0x100000000000000
-+ CBitFieldMaskBit8 = 0x80000000000000
-+ CBitFieldMaskBit9 = 0x40000000000000
-+ CBitFieldMaskBit10 = 0x20000000000000
-+ CBitFieldMaskBit11 = 0x10000000000000
-+ CBitFieldMaskBit12 = 0x8000000000000
-+ CBitFieldMaskBit13 = 0x4000000000000
-+ CBitFieldMaskBit14 = 0x2000000000000
-+ CBitFieldMaskBit15 = 0x1000000000000
-+ CBitFieldMaskBit16 = 0x800000000000
-+ CBitFieldMaskBit17 = 0x400000000000
-+ CBitFieldMaskBit18 = 0x200000000000
-+ CBitFieldMaskBit19 = 0x100000000000
-+ CBitFieldMaskBit20 = 0x80000000000
-+ CBitFieldMaskBit21 = 0x40000000000
-+ CBitFieldMaskBit22 = 0x20000000000
-+ CBitFieldMaskBit23 = 0x10000000000
-+ CBitFieldMaskBit24 = 0x8000000000
-+ CBitFieldMaskBit25 = 0x4000000000
-+ CBitFieldMaskBit26 = 0x2000000000
-+ CBitFieldMaskBit27 = 0x1000000000
-+ CBitFieldMaskBit28 = 0x800000000
-+ CBitFieldMaskBit29 = 0x400000000
-+ CBitFieldMaskBit30 = 0x200000000
-+ CBitFieldMaskBit31 = 0x100000000
-+ CBitFieldMaskBit32 = 0x80000000
-+ CBitFieldMaskBit33 = 0x40000000
-+ CBitFieldMaskBit34 = 0x20000000
-+ CBitFieldMaskBit35 = 0x10000000
-+ CBitFieldMaskBit36 = 0x8000000
-+ CBitFieldMaskBit37 = 0x4000000
-+ CBitFieldMaskBit38 = 0x2000000
-+ CBitFieldMaskBit39 = 0x1000000
-+ CBitFieldMaskBit40 = 0x800000
-+ CBitFieldMaskBit41 = 0x400000
-+ CBitFieldMaskBit42 = 0x200000
-+ CBitFieldMaskBit43 = 0x100000
-+ CBitFieldMaskBit44 = 0x80000
-+ CBitFieldMaskBit45 = 0x40000
-+ CBitFieldMaskBit46 = 0x20000
-+ CBitFieldMaskBit47 = 0x10000
-+ CBitFieldMaskBit48 = 0x8000
-+ CBitFieldMaskBit49 = 0x4000
-+ CBitFieldMaskBit50 = 0x2000
-+ CBitFieldMaskBit51 = 0x1000
-+ CBitFieldMaskBit52 = 0x800
-+ CBitFieldMaskBit53 = 0x400
-+ CBitFieldMaskBit54 = 0x200
-+ CBitFieldMaskBit55 = 0x100
-+ CBitFieldMaskBit56 = 0x80
-+ CBitFieldMaskBit57 = 0x40
-+ CBitFieldMaskBit58 = 0x20
-+ CBitFieldMaskBit59 = 0x10
-+ CBitFieldMaskBit60 = 0x8
-+ CBitFieldMaskBit61 = 0x4
-+ CBitFieldMaskBit62 = 0x2
-+ CBitFieldMaskBit63 = 0x1
-+)
-+
-+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 RtNexthop struct {
-- Len uint16
-- Flags uint8
-- Hops uint8
-- Ifindex int32
-+type TpacketHdr struct {
-+ Status uint64
-+ Len uint32
-+ Snaplen uint32
-+ Mac uint16
-+ Net uint16
-+ Sec uint32
-+ Usec uint32
-+ _ [4]byte
- }
-
- const (
-- SizeofSockFilter = 0x8
-- SizeofSockFprog = 0x10
-+ SizeofTpacketHdr = 0x20
- )
-
--type SockFilter struct {
-- Code uint16
-- Jt uint8
-- Jf uint8
-- K uint32
-+type RTCPLLInfo struct {
-+ Ctrl int32
-+ Value int32
-+ Max int32
-+ Min int32
-+ Posmult int32
-+ Negmult int32
-+ Clock int64
- }
-
--type SockFprog struct {
-- Len uint16
-- Pad_cgo_0 [6]byte
-- Filter *SockFilter
-+type BlkpgPartition struct {
-+ Start int64
-+ Length int64
-+ Pno int32
-+ Devname [64]uint8
-+ Volname [64]uint8
-+ _ [4]byte
- }
-
--type InotifyEvent struct {
-- Wd int32
-- Mask uint32
-- Cookie uint32
-- Len uint32
-+const (
-+ BLKPG = 0x20001269
-+)
-+
-+type XDPUmemReg struct {
-+ Addr uint64
-+ Len uint64
-+ Size uint32
-+ Headroom uint32
-+ Flags uint32
-+ _ [4]byte
- }
-
--const SizeofInotifyEvent = 0x10
-+type CryptoUserAlg struct {
-+ Name [64]int8
-+ Driver_name [64]int8
-+ Module_name [64]int8
-+ Type uint32
-+ Mask uint32
-+ Refcnt uint32
-+ Flags uint32
-+}
-
--type PtraceRegs struct {
-- Regs [16]uint64
-- Tstate uint64
-- Tpc uint64
-- Tnpc uint64
-- Y uint32
-- Magic uint32
-+type CryptoStatAEAD struct {
-+ Type [64]int8
-+ Encrypt_cnt uint64
-+ Encrypt_tlen uint64
-+ Decrypt_cnt uint64
-+ Decrypt_tlen uint64
-+ Err_cnt uint64
- }
-
--type ptracePsw struct {
-+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 ptraceFpregs struct {
-+type CryptoStatCipher struct {
-+ Type [64]int8
-+ Encrypt_cnt uint64
-+ Encrypt_tlen uint64
-+ Decrypt_cnt uint64
-+ Decrypt_tlen uint64
-+ Err_cnt uint64
- }
-
--type ptracePer struct {
-+type CryptoStatCompress struct {
-+ Type [64]int8
-+ Compress_cnt uint64
-+ Compress_tlen uint64
-+ Decompress_cnt uint64
-+ Decompress_tlen uint64
-+ Err_cnt uint64
- }
-
--type FdSet struct {
-- Bits [16]int64
-+type CryptoStatHash struct {
-+ Type [64]int8
-+ Hash_cnt uint64
-+ Hash_tlen uint64
-+ Err_cnt uint64
- }
-
--type Sysinfo_t struct {
-- Uptime int64
-- Loads [3]uint64
-- Totalram uint64
-- Freeram uint64
-- Sharedram uint64
-- Bufferram uint64
-- Totalswap uint64
-- Freeswap uint64
-- Procs uint16
-- Pad uint16
-- Pad_cgo_0 [4]byte
-- Totalhigh uint64
-- Freehigh uint64
-- Unit uint32
-- X_f [0]int8
-- Pad_cgo_1 [4]byte
-+type CryptoStatKPP struct {
-+ Type [64]int8
-+ Setsecret_cnt uint64
-+ Generate_public_key_cnt uint64
-+ Compute_shared_secret_cnt uint64
-+ Err_cnt uint64
- }
-
--type Utsname struct {
-- Sysname [65]int8
-- Nodename [65]int8
-- Release [65]int8
-- Version [65]int8
-- Machine [65]int8
-- Domainname [65]int8
-+type CryptoStatRNG struct {
-+ Type [64]int8
-+ Generate_cnt uint64
-+ Generate_tlen uint64
-+ Seed_cnt uint64
-+ Err_cnt uint64
- }
-
--type Ustat_t struct {
-- Tfree int32
-- Pad_cgo_0 [4]byte
-- Tinode uint64
-- Fname [6]int8
-- Fpack [6]int8
-- Pad_cgo_1 [4]byte
-+type CryptoStatLarval struct {
-+ Type [64]int8
- }
-
--type EpollEvent struct {
-- Events uint32
-- X_padFd int32
-- Fd int32
-- Pad int32
-+type CryptoReportLarval struct {
-+ Type [64]int8
- }
-
--const (
-- AT_FDCWD = -0x64
-- AT_REMOVEDIR = 0x200
-- AT_SYMLINK_FOLLOW = 0x400
-- AT_SYMLINK_NOFOLLOW = 0x100
--)
-+type CryptoReportHash struct {
-+ Type [64]int8
-+ Blocksize uint32
-+ Digestsize uint32
-+}
-
--type PollFd struct {
-- Fd int32
-- Events int16
-- Revents int16
-+type CryptoReportCipher struct {
-+ Type [64]int8
-+ Blocksize uint32
-+ Min_keysize uint32
-+ Max_keysize uint32
- }
-
--const (
-- POLLIN = 0x1
-- POLLPRI = 0x2
-- POLLOUT = 0x4
-- POLLRDHUP = 0x800
-- POLLERR = 0x8
-- POLLHUP = 0x10
-- POLLNVAL = 0x20
--)
-+type CryptoReportBlkCipher struct {
-+ Type [64]int8
-+ Geniv [64]int8
-+ Blocksize uint32
-+ Min_keysize uint32
-+ Max_keysize uint32
-+ Ivsize uint32
-+}
-
--type Sigset_t struct {
-- X__val [16]uint64
-+type CryptoReportAEAD struct {
-+ Type [64]int8
-+ Geniv [64]int8
-+ Blocksize uint32
-+ Maxauthsize uint32
-+ Ivsize uint32
- }
-
--const _SC_PAGESIZE = 0x1e
-+type CryptoReportComp struct {
-+ Type [64]int8
-+}
-
--type Termios struct {
-- Iflag uint32
-- Oflag uint32
-- Cflag uint32
-- Lflag uint32
-- Line uint8
-- Cc [19]uint8
-- Ispeed uint32
-- Ospeed uint32
-+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
- }
-diff --git a/vendor/golang.org/x/sys/unix/ztypes_netbsd_386.go b/vendor/golang.org/x/sys/unix/ztypes_netbsd_386.go
-index 42f99c0a..a89100c0 100644
---- a/vendor/golang.org/x/sys/unix/ztypes_netbsd_386.go
-+++ b/vendor/golang.org/x/sys/unix/ztypes_netbsd_386.go
-@@ -1,16 +1,16 @@
--// Created by cgo -godefs - DO NOT EDIT
--// cgo -godefs types_netbsd.go
-+// cgo -godefs types_netbsd.go | go run mkpost.go
-+// Code generated by the command above; see README.md. DO NOT EDIT.
-
- // +build 386,netbsd
-
- package unix
-
- const (
-- sizeofPtr = 0x4
-- sizeofShort = 0x2
-- sizeofInt = 0x4
-- sizeofLong = 0x4
-- sizeofLongLong = 0x8
-+ SizeofPtr = 0x4
-+ SizeofShort = 0x2
-+ SizeofInt = 0x4
-+ SizeofLong = 0x4
-+ SizeofLongLong = 0x8
- )
-
- type (
-@@ -57,27 +57,54 @@ type Rlimit struct {
- type _Gid_t uint32
-
- type Stat_t struct {
-- Dev uint64
-- Mode uint32
-- Ino uint64
-- Nlink uint32
-- Uid uint32
-- Gid uint32
-- Rdev uint64
-- Atimespec Timespec
-- Mtimespec Timespec
-- Ctimespec Timespec
-- Birthtimespec Timespec
-- Size int64
-- Blocks int64
-- Blksize uint32
-- Flags uint32
-- Gen uint32
-- Spare [2]uint32
-+ Dev uint64
-+ Mode uint32
-+ Ino uint64
-+ Nlink uint32
-+ Uid uint32
-+ Gid uint32
-+ Rdev uint64
-+ Atim Timespec
-+ Mtim Timespec
-+ Ctim Timespec
-+ Btim Timespec
-+ Size int64
-+ Blocks int64
-+ Blksize uint32
-+ Flags uint32
-+ Gen uint32
-+ Spare [2]uint32
- }
-
- type Statfs_t [0]byte
-
-+type Statvfs_t struct {
-+ Flag uint32
-+ Bsize uint32
-+ Frsize uint32
-+ Iosize uint32
-+ Blocks uint64
-+ Bfree uint64
-+ Bavail uint64
-+ Bresvd uint64
-+ Files uint64
-+ Ffree uint64
-+ Favail uint64
-+ Fresvd uint64
-+ Syncreads uint64
-+ Syncwrites uint64
-+ Asyncreads uint64
-+ Asyncwrites uint64
-+ Fsidx Fsid
-+ Fsid uint32
-+ Namemax uint32
-+ Owner uint32
-+ Spare [4]uint32
-+ Fstypename [32]byte
-+ Mntonname [1024]byte
-+ Mntfromname [1024]byte
-+}
-+
- type Flock_t struct {
- Start int64
- Len int64
-@@ -99,6 +126,24 @@ type Fsid struct {
- X__fsid_val [2]int32
- }
-
-+const (
-+ PathMax = 0x400
-+)
-+
-+const (
-+ ST_WAIT = 0x1
-+ ST_NOWAIT = 0x2
-+)
-+
-+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
-@@ -382,11 +427,45 @@ type Termios struct {
- Ospeed int32
- }
-
-+type Winsize struct {
-+ Row uint16
-+ Col uint16
-+ Xpixel uint16
-+ Ypixel uint16
-+}
-+
-+type Ptmget struct {
-+ Cfd int32
-+ Sfd int32
-+ Cn [1024]byte
-+ Sn [1024]byte
-+}
-+
- const (
- AT_FDCWD = -0x64
-+ AT_SYMLINK_FOLLOW = 0x400
- AT_SYMLINK_NOFOLLOW = 0x200
- )
-
-+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 Sysctlnode struct {
- Flags uint32
- Num int32
-@@ -399,3 +478,21 @@ type Sysctlnode struct {
- X_sysctl_parent [8]byte
- X_sysctl_desc [8]byte
- }
-+
-+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
-+ Tickadj int32
-+ Stathz int32
-+ Profhz int32
-+}
-diff --git a/vendor/golang.org/x/sys/unix/ztypes_netbsd_amd64.go b/vendor/golang.org/x/sys/unix/ztypes_netbsd_amd64.go
-index ff290ba0..289184e0 100644
---- a/vendor/golang.org/x/sys/unix/ztypes_netbsd_amd64.go
-+++ b/vendor/golang.org/x/sys/unix/ztypes_netbsd_amd64.go
-@@ -1,16 +1,16 @@
--// Created by cgo -godefs - DO NOT EDIT
--// cgo -godefs types_netbsd.go
-+// cgo -godefs types_netbsd.go | go run mkpost.go
-+// Code generated by the command above; see README.md. DO NOT EDIT.
-
- // +build amd64,netbsd
-
- package unix
-
- const (
-- sizeofPtr = 0x8
-- sizeofShort = 0x2
-- sizeofInt = 0x4
-- sizeofLong = 0x8
-- sizeofLongLong = 0x8
-+ SizeofPtr = 0x8
-+ SizeofShort = 0x2
-+ SizeofInt = 0x4
-+ SizeofLong = 0x8
-+ SizeofLongLong = 0x8
- )
-
- type (
-@@ -58,30 +58,58 @@ type Rlimit struct {
- type _Gid_t uint32
-
- type Stat_t struct {
-- Dev uint64
-- Mode uint32
-- Pad_cgo_0 [4]byte
-- Ino uint64
-- Nlink uint32
-- Uid uint32
-- Gid uint32
-- Pad_cgo_1 [4]byte
-- Rdev uint64
-- Atimespec Timespec
-- Mtimespec Timespec
-- Ctimespec Timespec
-- Birthtimespec Timespec
-- Size int64
-- Blocks int64
-- Blksize uint32
-- Flags uint32
-- Gen uint32
-- Spare [2]uint32
-- Pad_cgo_2 [4]byte
-+ Dev uint64
-+ Mode uint32
-+ _ [4]byte
-+ Ino uint64
-+ Nlink uint32
-+ Uid uint32
-+ Gid uint32
-+ _ [4]byte
-+ Rdev uint64
-+ Atim Timespec
-+ Mtim Timespec
-+ Ctim Timespec
-+ Btim Timespec
-+ Size int64
-+ Blocks int64
-+ Blksize uint32
-+ Flags uint32
-+ Gen uint32
-+ Spare [2]uint32
-+ _ [4]byte
- }
-
- type Statfs_t [0]byte
-
-+type Statvfs_t struct {
-+ Flag uint64
-+ Bsize uint64
-+ Frsize uint64
-+ Iosize uint64
-+ Blocks uint64
-+ Bfree uint64
-+ Bavail uint64
-+ Bresvd uint64
-+ Files uint64
-+ Ffree uint64
-+ Favail uint64
-+ Fresvd uint64
-+ Syncreads uint64
-+ Syncwrites uint64
-+ Asyncreads uint64
-+ Asyncwrites uint64
-+ Fsidx Fsid
-+ Fsid uint64
-+ Namemax uint64
-+ Owner uint32
-+ Spare [4]uint32
-+ Fstypename [32]byte
-+ Mntonname [1024]byte
-+ Mntfromname [1024]byte
-+ _ [4]byte
-+}
-+
- type Flock_t struct {
- Start int64
- Len int64
-@@ -103,6 +131,24 @@ type Fsid struct {
- X__fsid_val [2]int32
- }
-
-+const (
-+ PathMax = 0x400
-+)
-+
-+const (
-+ ST_WAIT = 0x1
-+ ST_NOWAIT = 0x2
-+)
-+
-+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
-@@ -389,11 +435,45 @@ type Termios struct {
- Ospeed int32
- }
-
-+type Winsize struct {
-+ Row uint16
-+ Col uint16
-+ Xpixel uint16
-+ Ypixel uint16
-+}
-+
-+type Ptmget struct {
-+ Cfd int32
-+ Sfd int32
-+ Cn [1024]byte
-+ Sn [1024]byte
-+}
-+
- const (
- AT_FDCWD = -0x64
-+ AT_SYMLINK_FOLLOW = 0x400
- AT_SYMLINK_NOFOLLOW = 0x200
- )
-
-+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 Sysctlnode struct {
- Flags uint32
- Num int32
-@@ -406,3 +486,21 @@ type Sysctlnode struct {
- X_sysctl_parent [8]byte
- X_sysctl_desc [8]byte
- }
-+
-+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
-+ Tickadj int32
-+ Stathz int32
-+ Profhz int32
-+}
-diff --git a/vendor/golang.org/x/sys/unix/ztypes_netbsd_arm.go b/vendor/golang.org/x/sys/unix/ztypes_netbsd_arm.go
-index 66dbd7c0..428c450e 100644
---- a/vendor/golang.org/x/sys/unix/ztypes_netbsd_arm.go
-+++ b/vendor/golang.org/x/sys/unix/ztypes_netbsd_arm.go
-@@ -1,16 +1,16 @@
--// Created by cgo -godefs - DO NOT EDIT
--// cgo -godefs types_netbsd.go
-+// cgo -godefs types_netbsd.go | go run mkpost.go
-+// Code generated by the command above; see README.md. DO NOT EDIT.
-
- // +build arm,netbsd
-
- package unix
-
- const (
-- sizeofPtr = 0x4
-- sizeofShort = 0x2
-- sizeofInt = 0x4
-- sizeofLong = 0x4
-- sizeofLongLong = 0x8
-+ SizeofPtr = 0x4
-+ SizeofShort = 0x2
-+ SizeofInt = 0x4
-+ SizeofLong = 0x4
-+ SizeofLongLong = 0x8
- )
-
- type (
-@@ -59,30 +59,57 @@ type Rlimit struct {
- type _Gid_t uint32
-
- type Stat_t struct {
-- Dev uint64
-- Mode uint32
-- Pad_cgo_0 [4]byte
-- Ino uint64
-- Nlink uint32
-- Uid uint32
-- Gid uint32
-- Pad_cgo_1 [4]byte
-- Rdev uint64
-- Atimespec Timespec
-- Mtimespec Timespec
-- Ctimespec Timespec
-- Birthtimespec Timespec
-- Size int64
-- Blocks int64
-- Blksize uint32
-- Flags uint32
-- Gen uint32
-- Spare [2]uint32
-- Pad_cgo_2 [4]byte
-+ Dev uint64
-+ Mode uint32
-+ _ [4]byte
-+ Ino uint64
-+ Nlink uint32
-+ Uid uint32
-+ Gid uint32
-+ _ [4]byte
-+ Rdev uint64
-+ Atim Timespec
-+ Mtim Timespec
-+ Ctim Timespec
-+ Btim Timespec
-+ Size int64
-+ Blocks int64
-+ Blksize uint32
-+ Flags uint32
-+ Gen uint32
-+ Spare [2]uint32
-+ _ [4]byte
- }
-
- type Statfs_t [0]byte
-
-+type Statvfs_t struct {
-+ Flag uint32
-+ Bsize uint32
-+ Frsize uint32
-+ Iosize uint32
-+ Blocks uint64
-+ Bfree uint64
-+ Bavail uint64
-+ Bresvd uint64
-+ Files uint64
-+ Ffree uint64
-+ Favail uint64
-+ Fresvd uint64
-+ Syncreads uint64
-+ Syncwrites uint64
-+ Asyncreads uint64
-+ Asyncwrites uint64
-+ Fsidx Fsid
-+ Fsid uint32
-+ Namemax uint32
-+ Owner uint32
-+ Spare [4]uint32
-+ Fstypename [32]byte
-+ Mntonname [1024]byte
-+ Mntfromname [1024]byte
-+}
-+
- type Flock_t struct {
- Start int64
- Len int64
-@@ -104,6 +131,24 @@ type Fsid struct {
- X__fsid_val [2]int32
- }
-
-+const (
-+ PathMax = 0x400
-+)
-+
-+const (
-+ ST_WAIT = 0x1
-+ ST_NOWAIT = 0x2
-+)
-+
-+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
-@@ -387,11 +432,45 @@ type Termios struct {
- Ospeed int32
- }
-
-+type Winsize struct {
-+ Row uint16
-+ Col uint16
-+ Xpixel uint16
-+ Ypixel uint16
-+}
-+
-+type Ptmget struct {
-+ Cfd int32
-+ Sfd int32
-+ Cn [1024]byte
-+ Sn [1024]byte
-+}
-+
- const (
- AT_FDCWD = -0x64
-+ AT_SYMLINK_FOLLOW = 0x400
- AT_SYMLINK_NOFOLLOW = 0x200
- )
-
-+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 Sysctlnode struct {
- Flags uint32
- Num int32
-@@ -404,3 +483,21 @@ type Sysctlnode struct {
- X_sysctl_parent [8]byte
- X_sysctl_desc [8]byte
- }
-+
-+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
-+ Tickadj int32
-+ Stathz int32
-+ Profhz int32
-+}
-diff --git a/vendor/golang.org/x/sys/unix/ztypes_netbsd_amd64.go b/vendor/golang.org/x/sys/unix/ztypes_netbsd_arm64.go
-similarity index 73%
-copy from vendor/golang.org/x/sys/unix/ztypes_netbsd_amd64.go
-copy to vendor/golang.org/x/sys/unix/ztypes_netbsd_arm64.go
-index ff290ba0..6f1f2842 100644
---- a/vendor/golang.org/x/sys/unix/ztypes_netbsd_amd64.go
-+++ b/vendor/golang.org/x/sys/unix/ztypes_netbsd_arm64.go
-@@ -1,16 +1,16 @@
--// Created by cgo -godefs - DO NOT EDIT
--// cgo -godefs types_netbsd.go
-+// cgo -godefs types_netbsd.go | go run mkpost.go
-+// Code generated by the command above; see README.md. DO NOT EDIT.
-
--// +build amd64,netbsd
-+// +build arm64,netbsd
-
- package unix
-
- const (
-- sizeofPtr = 0x8
-- sizeofShort = 0x2
-- sizeofInt = 0x4
-- sizeofLong = 0x8
-- sizeofLongLong = 0x8
-+ SizeofPtr = 0x8
-+ SizeofShort = 0x2
-+ SizeofInt = 0x4
-+ SizeofLong = 0x8
-+ SizeofLongLong = 0x8
- )
-
- type (
-@@ -58,30 +58,58 @@ type Rlimit struct {
- type _Gid_t uint32
-
- type Stat_t struct {
-- Dev uint64
-- Mode uint32
-- Pad_cgo_0 [4]byte
-- Ino uint64
-- Nlink uint32
-- Uid uint32
-- Gid uint32
-- Pad_cgo_1 [4]byte
-- Rdev uint64
-- Atimespec Timespec
-- Mtimespec Timespec
-- Ctimespec Timespec
-- Birthtimespec Timespec
-- Size int64
-- Blocks int64
-- Blksize uint32
-- Flags uint32
-- Gen uint32
-- Spare [2]uint32
-- Pad_cgo_2 [4]byte
-+ Dev uint64
-+ Mode uint32
-+ _ [4]byte
-+ Ino uint64
-+ Nlink uint32
-+ Uid uint32
-+ Gid uint32
-+ _ [4]byte
-+ Rdev uint64
-+ Atim Timespec
-+ Mtim Timespec
-+ Ctim Timespec
-+ Btim Timespec
-+ Size int64
-+ Blocks int64
-+ Blksize uint32
-+ Flags uint32
-+ Gen uint32
-+ Spare [2]uint32
-+ _ [4]byte
- }
-
- type Statfs_t [0]byte
-
-+type Statvfs_t struct {
-+ Flag uint64
-+ Bsize uint64
-+ Frsize uint64
-+ Iosize uint64
-+ Blocks uint64
-+ Bfree uint64
-+ Bavail uint64
-+ Bresvd uint64
-+ Files uint64
-+ Ffree uint64
-+ Favail uint64
-+ Fresvd uint64
-+ Syncreads uint64
-+ Syncwrites uint64
-+ Asyncreads uint64
-+ Asyncwrites uint64
-+ Fsidx Fsid
-+ Fsid uint64
-+ Namemax uint64
-+ Owner uint32
-+ Spare [4]uint32
-+ Fstypename [32]byte
-+ Mntonname [1024]byte
-+ Mntfromname [1024]byte
-+ _ [4]byte
-+}
-+
- type Flock_t struct {
- Start int64
- Len int64
-@@ -103,6 +131,24 @@ type Fsid struct {
- X__fsid_val [2]int32
- }
-
-+const (
-+ PathMax = 0x400
-+)
-+
-+const (
-+ ST_WAIT = 0x1
-+ ST_NOWAIT = 0x2
-+)
-+
-+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
-@@ -389,11 +435,45 @@ type Termios struct {
- Ospeed int32
- }
-
-+type Winsize struct {
-+ Row uint16
-+ Col uint16
-+ Xpixel uint16
-+ Ypixel uint16
-+}
-+
-+type Ptmget struct {
-+ Cfd int32
-+ Sfd int32
-+ Cn [1024]byte
-+ Sn [1024]byte
-+}
-+
- const (
- AT_FDCWD = -0x64
-+ AT_SYMLINK_FOLLOW = 0x400
- AT_SYMLINK_NOFOLLOW = 0x200
- )
-
-+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 Sysctlnode struct {
- Flags uint32
- Num int32
-@@ -406,3 +486,21 @@ type Sysctlnode struct {
- X_sysctl_parent [8]byte
- X_sysctl_desc [8]byte
- }
-+
-+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
-+ Tickadj int32
-+ Stathz int32
-+ Profhz int32
-+}
-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 20fc9f45..61ea0019 100644
---- a/vendor/golang.org/x/sys/unix/ztypes_openbsd_386.go
-+++ b/vendor/golang.org/x/sys/unix/ztypes_openbsd_386.go
-@@ -1,16 +1,16 @@
--// Created by cgo -godefs - DO NOT EDIT
--// cgo -godefs types_openbsd.go
-+// cgo -godefs types_openbsd.go | go run mkpost.go
-+// Code generated by the command above; see README.md. DO NOT EDIT.
-
- // +build 386,openbsd
-
- package unix
-
- const (
-- sizeofPtr = 0x4
-- sizeofShort = 0x2
-- sizeofInt = 0x4
-- sizeofLong = 0x4
-- sizeofLongLong = 0x8
-+ SizeofPtr = 0x4
-+ SizeofShort = 0x2
-+ SizeofInt = 0x4
-+ SizeofLong = 0x4
-+ SizeofLongLong = 0x8
- )
-
- type (
-@@ -56,23 +56,6 @@ type Rlimit struct {
-
- type _Gid_t uint32
-
--const (
-- S_IFMT = 0xf000
-- S_IFIFO = 0x1000
-- S_IFCHR = 0x2000
-- S_IFDIR = 0x4000
-- S_IFBLK = 0x6000
-- S_IFREG = 0x8000
-- S_IFLNK = 0xa000
-- S_IFSOCK = 0xc000
-- S_ISUID = 0x800
-- S_ISGID = 0x400
-- S_ISVTX = 0x200
-- S_IRUSR = 0x100
-- S_IWUSR = 0x80
-- S_IXUSR = 0x40
--)
--
- type Stat_t struct {
- Mode uint32
- Dev int32
-@@ -140,6 +123,10 @@ type Fsid struct {
- Val [2]int32
- }
-
-+const (
-+ PathMax = 0x400
-+)
-+
- type RawSockaddrInet4 struct {
- Len uint8
- Family uint8
-@@ -440,7 +427,145 @@ type Termios struct {
- Ospeed int32
- }
-
-+type Winsize struct {
-+ Row uint16
-+ Col uint16
-+ Xpixel uint16
-+ Ypixel uint16
-+}
-+
- const (
- AT_FDCWD = -0x64
-+ AT_SYMLINK_FOLLOW = 0x4
- AT_SYMLINK_NOFOLLOW = 0x2
- )
-+
-+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
-+ Anonpages 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
-+ Nanonneeded int32
-+ Nfreeanon int32
-+ Faults int32
-+ Traps int32
-+ Intrs int32
-+ Swtch int32
-+ Softs int32
-+ Syscalls int32
-+ Pageins int32
-+ Obsolete_swapins int32
-+ Obsolete_swapouts int32
-+ Pgswapin int32
-+ Pgswapout int32
-+ Forks int32
-+ Forks_ppwait int32
-+ Forks_sharevm int32
-+ Pga_zerohit int32
-+ Pga_zeromiss int32
-+ Zeroaborts 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
-+ Pdreanon int32
-+ Pdrevnode int32
-+ Pdrevtext int32
-+ Fpswtch int32
-+ Kmapent int32
-+}
-+
-+const SizeofClockinfo = 0x14
-+
-+type Clockinfo struct {
-+ Hz int32
-+ Tick int32
-+ Tickadj 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 46fe9490..87a493f6 100644
---- a/vendor/golang.org/x/sys/unix/ztypes_openbsd_amd64.go
-+++ b/vendor/golang.org/x/sys/unix/ztypes_openbsd_amd64.go
-@@ -1,16 +1,16 @@
--// Created by cgo -godefs - DO NOT EDIT
--// cgo -godefs types_openbsd.go
-+// cgo -godefs types_openbsd.go | go run mkpost.go
-+// Code generated by the command above; see README.md. DO NOT EDIT.
-
- // +build amd64,openbsd
-
- package unix
-
- const (
-- sizeofPtr = 0x8
-- sizeofShort = 0x2
-- sizeofInt = 0x4
-- sizeofLong = 0x8
-- sizeofLongLong = 0x8
-+ SizeofPtr = 0x8
-+ SizeofShort = 0x2
-+ SizeofInt = 0x4
-+ SizeofLong = 0x8
-+ SizeofLongLong = 0x8
- )
-
- type (
-@@ -56,48 +56,31 @@ type Rlimit struct {
-
- type _Gid_t uint32
-
--const (
-- S_IFMT = 0xf000
-- S_IFIFO = 0x1000
-- S_IFCHR = 0x2000
-- S_IFDIR = 0x4000
-- S_IFBLK = 0x6000
-- S_IFREG = 0x8000
-- S_IFLNK = 0xa000
-- S_IFSOCK = 0xc000
-- S_ISUID = 0x800
-- S_ISGID = 0x400
-- S_ISVTX = 0x200
-- S_IRUSR = 0x100
-- S_IWUSR = 0x80
-- S_IXUSR = 0x40
--)
--
- type Stat_t struct {
-- Mode uint32
-- Dev int32
-- Ino uint64
-- Nlink uint32
-- Uid uint32
-- Gid uint32
-- Rdev int32
-- Atim Timespec
-- Mtim Timespec
-- Ctim Timespec
-- Size int64
-- Blocks int64
-- Blksize uint32
-- Flags uint32
-- Gen uint32
-- Pad_cgo_0 [4]byte
-- X__st_birthtim Timespec
-+ 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
-+ _ [4]byte
-+ _ Timespec
- }
-
- type Statfs_t struct {
- F_flags uint32
- F_bsize uint32
- F_iosize uint32
-- Pad_cgo_0 [4]byte
-+ _ [4]byte
- F_blocks uint64
- F_bfree uint64
- F_bavail int64
-@@ -116,7 +99,7 @@ type Statfs_t struct {
- F_mntonname [90]int8
- F_mntfromname [90]int8
- F_mntfromspec [90]int8
-- Pad_cgo_1 [2]byte
-+ _ [2]byte
- Mount_info [160]byte
- }
-
-@@ -129,19 +112,23 @@ type Flock_t struct {
- }
-
- type Dirent struct {
-- Fileno uint64
-- Off int64
-- Reclen uint16
-- Type uint8
-- Namlen uint8
-- X__d_padding [4]uint8
-- Name [256]int8
-+ 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
-@@ -212,10 +199,10 @@ type IPv6Mreq struct {
- type Msghdr struct {
- Name *byte
- Namelen uint32
-- Pad_cgo_0 [4]byte
-+ _ [4]byte
- Iov *Iovec
- Iovlen uint32
-- Pad_cgo_1 [4]byte
-+ _ [4]byte
- Control *byte
- Controllen uint32
- Flags int32
-@@ -277,8 +264,8 @@ type FdSet struct {
- }
-
- const (
-- SizeofIfMsghdr = 0xf8
-- SizeofIfData = 0xe0
-+ SizeofIfMsghdr = 0xa8
-+ SizeofIfData = 0x90
- SizeofIfaMsghdr = 0x18
- SizeofIfAnnounceMsghdr = 0x1a
- SizeofRtMsghdr = 0x60
-@@ -307,7 +294,7 @@ type IfData struct {
- Link_state uint8
- Mtu uint32
- Metric uint32
-- Pad uint32
-+ Rdomain uint32
- Baudrate uint64
- Ipackets uint64
- Ierrors uint64
-@@ -319,12 +306,11 @@ type IfData struct {
- Imcasts uint64
- Omcasts uint64
- Iqdrops uint64
-+ Oqdrops uint64
- Noproto uint64
- Capabilities uint32
-- Pad_cgo_0 [4]byte
-+ _ [4]byte
- Lastchange Timeval
-- Mclpool [7]Mclpool
-- Pad_cgo_1 [4]byte
- }
-
- type IfaMsghdr struct {
-@@ -385,13 +371,7 @@ type RtMetrics struct {
- Pad uint32
- }
-
--type Mclpool struct {
-- Grown int32
-- Alive uint16
-- Hwm uint16
-- Cwm uint16
-- Lwm uint16
--}
-+type Mclpool struct{}
-
- const (
- SizeofBpfVersion = 0x4
-@@ -412,9 +392,9 @@ type BpfStat struct {
- }
-
- type BpfProgram struct {
-- Len uint32
-- Pad_cgo_0 [4]byte
-- Insns *BpfInsn
-+ Len uint32
-+ _ [4]byte
-+ Insns *BpfInsn
- }
-
- type BpfInsn struct {
-@@ -425,11 +405,11 @@ type BpfInsn struct {
- }
-
- type BpfHdr struct {
-- Tstamp BpfTimeval
-- Caplen uint32
-- Datalen uint32
-- Hdrlen uint16
-- Pad_cgo_0 [2]byte
-+ Tstamp BpfTimeval
-+ Caplen uint32
-+ Datalen uint32
-+ Hdrlen uint16
-+ _ [2]byte
- }
-
- type BpfTimeval struct {
-@@ -447,7 +427,145 @@ type Termios struct {
- Ospeed int32
- }
-
-+type Winsize struct {
-+ Row uint16
-+ Col uint16
-+ Xpixel uint16
-+ Ypixel uint16
-+}
-+
- const (
- AT_FDCWD = -0x64
-+ AT_SYMLINK_FOLLOW = 0x4
- AT_SYMLINK_NOFOLLOW = 0x2
- )
-+
-+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
-+ Anonpages 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
-+ Nanonneeded int32
-+ Nfreeanon int32
-+ Faults int32
-+ Traps int32
-+ Intrs int32
-+ Swtch int32
-+ Softs int32
-+ Syscalls int32
-+ Pageins int32
-+ Obsolete_swapins int32
-+ Obsolete_swapouts int32
-+ Pgswapin int32
-+ Pgswapout int32
-+ Forks int32
-+ Forks_ppwait int32
-+ Forks_sharevm int32
-+ Pga_zerohit int32
-+ Pga_zeromiss int32
-+ Zeroaborts 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
-+ Pdreanon int32
-+ Pdrevnode int32
-+ Pdrevtext int32
-+ Fpswtch int32
-+ Kmapent int32
-+}
-+
-+const SizeofClockinfo = 0x14
-+
-+type Clockinfo struct {
-+ Hz int32
-+ Tick int32
-+ Tickadj 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 62e1f7c0..d80836ef 100644
---- a/vendor/golang.org/x/sys/unix/ztypes_openbsd_arm.go
-+++ b/vendor/golang.org/x/sys/unix/ztypes_openbsd_arm.go
-@@ -1,16 +1,16 @@
--// Created by cgo -godefs - DO NOT EDIT
--// cgo -godefs types_openbsd.go
-+// cgo -godefs -- -fsigned-char types_openbsd.go | go run mkpost.go
-+// Code generated by the command above; see README.md. DO NOT EDIT.
-
- // +build arm,openbsd
-
- package unix
-
- const (
-- sizeofPtr = 0x4
-- sizeofShort = 0x2
-- sizeofInt = 0x4
-- sizeofLong = 0x4
-- sizeofLongLong = 0x8
-+ SizeofPtr = 0x4
-+ SizeofShort = 0x2
-+ SizeofInt = 0x4
-+ SizeofLong = 0x4
-+ SizeofLongLong = 0x8
- )
-
- type (
-@@ -23,11 +23,13 @@ type (
- type Timespec struct {
- Sec int64
- Nsec int32
-+ _ [4]byte
- }
-
- type Timeval struct {
- Sec int64
- Usec int32
-+ _ [4]byte
- }
-
- type Rusage struct {
-@@ -56,46 +58,31 @@ type Rlimit struct {
-
- type _Gid_t uint32
-
--const (
-- S_IFMT = 0xf000
-- S_IFIFO = 0x1000
-- S_IFCHR = 0x2000
-- S_IFDIR = 0x4000
-- S_IFBLK = 0x6000
-- S_IFREG = 0x8000
-- S_IFLNK = 0xa000
-- S_IFSOCK = 0xc000
-- S_ISUID = 0x800
-- S_ISGID = 0x400
-- S_ISVTX = 0x200
-- S_IRUSR = 0x100
-- S_IWUSR = 0x80
-- S_IXUSR = 0x40
--)
--
- type Stat_t struct {
-- Mode uint32
-- Dev int32
-- Ino uint64
-- Nlink uint32
-- Uid uint32
-- Gid uint32
-- Rdev int32
-- Atim Timespec
-- Mtim Timespec
-- Ctim Timespec
-- Size int64
-- Blocks int64
-- Blksize int32
-- Flags uint32
-- Gen uint32
-- X__st_birthtim Timespec
-+ 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
-+ _ [4]byte
-+ _ Timespec
- }
-
- type Statfs_t struct {
- F_flags uint32
- F_bsize uint32
- F_iosize uint32
-+ _ [4]byte
- F_blocks uint64
- F_bfree uint64
- F_bavail int64
-@@ -110,11 +97,11 @@ type Statfs_t struct {
- F_namemax uint32
- F_owner uint32
- F_ctime uint64
-- F_fstypename [16]uint8
-- F_mntonname [90]uint8
-- F_mntfromname [90]uint8
-- F_mntfromspec [90]uint8
-- Pad_cgo_0 [2]byte
-+ F_fstypename [16]int8
-+ F_mntonname [90]int8
-+ F_mntfromname [90]int8
-+ F_mntfromspec [90]int8
-+ _ [2]byte
- Mount_info [160]byte
- }
-
-@@ -127,19 +114,23 @@ type Flock_t struct {
- }
-
- type Dirent struct {
-- Fileno uint64
-- Off int64
-- Reclen uint16
-- Type uint8
-- Namlen uint8
-- X__d_padding [4]uint8
-- Name [256]uint8
-+ 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
-@@ -264,8 +255,10 @@ type Kevent_t struct {
- Filter int16
- Flags uint16
- Fflags uint32
-+ _ [4]byte
- Data int64
- Udata *byte
-+ _ [4]byte
- }
-
- type FdSet struct {
-@@ -273,8 +266,8 @@ type FdSet struct {
- }
-
- const (
-- SizeofIfMsghdr = 0x98
-- SizeofIfData = 0x80
-+ SizeofIfMsghdr = 0xa8
-+ SizeofIfData = 0x90
- SizeofIfaMsghdr = 0x18
- SizeofIfAnnounceMsghdr = 0x1a
- SizeofRtMsghdr = 0x60
-@@ -303,7 +296,7 @@ type IfData struct {
- Link_state uint8
- Mtu uint32
- Metric uint32
-- Pad uint32
-+ Rdomain uint32
- Baudrate uint64
- Ipackets uint64
- Ierrors uint64
-@@ -315,8 +308,10 @@ type IfData struct {
- Imcasts uint64
- Omcasts uint64
- Iqdrops uint64
-+ Oqdrops uint64
- Noproto uint64
- Capabilities uint32
-+ _ [4]byte
- Lastchange Timeval
- }
-
-@@ -341,7 +336,7 @@ type IfAnnounceMsghdr struct {
- Hdrlen uint16
- Index uint16
- What uint16
-- Name [16]uint8
-+ Name [16]int8
- }
-
- type RtMsghdr struct {
-@@ -411,11 +406,11 @@ type BpfInsn struct {
- }
-
- type BpfHdr struct {
-- Tstamp BpfTimeval
-- Caplen uint32
-- Datalen uint32
-- Hdrlen uint16
-- Pad_cgo_0 [2]byte
-+ Tstamp BpfTimeval
-+ Caplen uint32
-+ Datalen uint32
-+ Hdrlen uint16
-+ _ [2]byte
- }
-
- type BpfTimeval struct {
-@@ -433,7 +428,145 @@ type Termios struct {
- Ospeed int32
- }
-
-+type Winsize struct {
-+ Row uint16
-+ Col uint16
-+ Xpixel uint16
-+ Ypixel uint16
-+}
-+
- const (
- AT_FDCWD = -0x64
-+ AT_SYMLINK_FOLLOW = 0x4
- AT_SYMLINK_NOFOLLOW = 0x2
- )
-+
-+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 = 0x14
-+
-+type Clockinfo struct {
-+ Hz int32
-+ Tick int32
-+ Tickadj 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_arm64.go
-similarity index 58%
-copy from vendor/golang.org/x/sys/unix/ztypes_openbsd_amd64.go
-copy to vendor/golang.org/x/sys/unix/ztypes_openbsd_arm64.go
-index 46fe9490..4e158746 100644
---- a/vendor/golang.org/x/sys/unix/ztypes_openbsd_amd64.go
-+++ b/vendor/golang.org/x/sys/unix/ztypes_openbsd_arm64.go
-@@ -1,16 +1,16 @@
--// Created by cgo -godefs - DO NOT EDIT
--// cgo -godefs types_openbsd.go
-+// cgo -godefs -- -fsigned-char types_openbsd.go | go run mkpost.go
-+// Code generated by the command above; see README.md. DO NOT EDIT.
-
--// +build amd64,openbsd
-+// +build arm64,openbsd
-
- package unix
-
- const (
-- sizeofPtr = 0x8
-- sizeofShort = 0x2
-- sizeofInt = 0x4
-- sizeofLong = 0x8
-- sizeofLongLong = 0x8
-+ SizeofPtr = 0x8
-+ SizeofShort = 0x2
-+ SizeofInt = 0x4
-+ SizeofLong = 0x8
-+ SizeofLongLong = 0x8
- )
-
- type (
-@@ -56,48 +56,29 @@ type Rlimit struct {
-
- type _Gid_t uint32
-
--const (
-- S_IFMT = 0xf000
-- S_IFIFO = 0x1000
-- S_IFCHR = 0x2000
-- S_IFDIR = 0x4000
-- S_IFBLK = 0x6000
-- S_IFREG = 0x8000
-- S_IFLNK = 0xa000
-- S_IFSOCK = 0xc000
-- S_ISUID = 0x800
-- S_ISGID = 0x400
-- S_ISVTX = 0x200
-- S_IRUSR = 0x100
-- S_IWUSR = 0x80
-- S_IXUSR = 0x40
--)
--
- type Stat_t struct {
-- Mode uint32
-- Dev int32
-- Ino uint64
-- Nlink uint32
-- Uid uint32
-- Gid uint32
-- Rdev int32
-- Atim Timespec
-- Mtim Timespec
-- Ctim Timespec
-- Size int64
-- Blocks int64
-- Blksize uint32
-- Flags uint32
-- Gen uint32
-- Pad_cgo_0 [4]byte
-- X__st_birthtim Timespec
-+ 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
-- Pad_cgo_0 [4]byte
- F_blocks uint64
- F_bfree uint64
- F_bavail int64
-@@ -116,7 +97,7 @@ type Statfs_t struct {
- F_mntonname [90]int8
- F_mntfromname [90]int8
- F_mntfromspec [90]int8
-- Pad_cgo_1 [2]byte
-+ _ [2]byte
- Mount_info [160]byte
- }
-
-@@ -129,19 +110,23 @@ type Flock_t struct {
- }
-
- type Dirent struct {
-- Fileno uint64
-- Off int64
-- Reclen uint16
-- Type uint8
-- Namlen uint8
-- X__d_padding [4]uint8
-- Name [256]int8
-+ 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
-@@ -212,10 +197,8 @@ type IPv6Mreq struct {
- type Msghdr struct {
- Name *byte
- Namelen uint32
-- Pad_cgo_0 [4]byte
- Iov *Iovec
- Iovlen uint32
-- Pad_cgo_1 [4]byte
- Control *byte
- Controllen uint32
- Flags int32
-@@ -277,8 +260,8 @@ type FdSet struct {
- }
-
- const (
-- SizeofIfMsghdr = 0xf8
-- SizeofIfData = 0xe0
-+ SizeofIfMsghdr = 0xa8
-+ SizeofIfData = 0x90
- SizeofIfaMsghdr = 0x18
- SizeofIfAnnounceMsghdr = 0x1a
- SizeofRtMsghdr = 0x60
-@@ -307,7 +290,7 @@ type IfData struct {
- Link_state uint8
- Mtu uint32
- Metric uint32
-- Pad uint32
-+ Rdomain uint32
- Baudrate uint64
- Ipackets uint64
- Ierrors uint64
-@@ -319,12 +302,10 @@ type IfData struct {
- Imcasts uint64
- Omcasts uint64
- Iqdrops uint64
-+ Oqdrops uint64
- Noproto uint64
- Capabilities uint32
-- Pad_cgo_0 [4]byte
- Lastchange Timeval
-- Mclpool [7]Mclpool
-- Pad_cgo_1 [4]byte
- }
-
- type IfaMsghdr struct {
-@@ -385,13 +366,7 @@ type RtMetrics struct {
- Pad uint32
- }
-
--type Mclpool struct {
-- Grown int32
-- Alive uint16
-- Hwm uint16
-- Cwm uint16
-- Lwm uint16
--}
-+type Mclpool struct{}
-
- const (
- SizeofBpfVersion = 0x4
-@@ -412,9 +387,8 @@ type BpfStat struct {
- }
-
- type BpfProgram struct {
-- Len uint32
-- Pad_cgo_0 [4]byte
-- Insns *BpfInsn
-+ Len uint32
-+ Insns *BpfInsn
- }
-
- type BpfInsn struct {
-@@ -425,11 +399,11 @@ type BpfInsn struct {
- }
-
- type BpfHdr struct {
-- Tstamp BpfTimeval
-- Caplen uint32
-- Datalen uint32
-- Hdrlen uint16
-- Pad_cgo_0 [2]byte
-+ Tstamp BpfTimeval
-+ Caplen uint32
-+ Datalen uint32
-+ Hdrlen uint16
-+ _ [2]byte
- }
-
- type BpfTimeval struct {
-@@ -447,7 +421,145 @@ type Termios struct {
- Ospeed int32
- }
-
-+type Winsize struct {
-+ Row uint16
-+ Col uint16
-+ Xpixel uint16
-+ Ypixel uint16
-+}
-+
- const (
- AT_FDCWD = -0x64
-+ AT_SYMLINK_FOLLOW = 0x4
- AT_SYMLINK_NOFOLLOW = 0x2
- )
-+
-+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 = 0x14
-+
-+type Clockinfo struct {
-+ Hz int32
-+ Tick int32
-+ Tickadj 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 92336f9f..23ed9fe5 100644
---- a/vendor/golang.org/x/sys/unix/ztypes_solaris_amd64.go
-+++ b/vendor/golang.org/x/sys/unix/ztypes_solaris_amd64.go
-@@ -6,11 +6,11 @@
- package unix
-
- const (
-- sizeofPtr = 0x8
-- sizeofShort = 0x2
-- sizeofInt = 0x4
-- sizeofLong = 0x8
-- sizeofLongLong = 0x8
-+ SizeofPtr = 0x8
-+ SizeofShort = 0x2
-+ SizeofInt = 0x4
-+ SizeofLong = 0x8
-+ SizeofLongLong = 0x8
- PathMax = 0x400
- MaxHostNameLen = 0x100
- )
-@@ -75,58 +75,41 @@ type Rlimit struct {
-
- type _Gid_t uint32
-
--const (
-- S_IFMT = 0xf000
-- S_IFIFO = 0x1000
-- S_IFCHR = 0x2000
-- S_IFDIR = 0x4000
-- S_IFBLK = 0x6000
-- S_IFREG = 0x8000
-- S_IFLNK = 0xa000
-- S_IFSOCK = 0xc000
-- S_ISUID = 0x800
-- S_ISGID = 0x400
-- S_ISVTX = 0x200
-- S_IRUSR = 0x100
-- S_IWUSR = 0x80
-- S_IXUSR = 0x40
--)
--
- type Stat_t struct {
-- Dev uint64
-- Ino uint64
-- Mode uint32
-- Nlink uint32
-- Uid uint32
-- Gid uint32
-- Rdev uint64
-- Size int64
-- Atim Timespec
-- Mtim Timespec
-- Ctim Timespec
-- Blksize int32
-- Pad_cgo_0 [4]byte
-- Blocks int64
-- Fstype [16]int8
-+ Dev uint64
-+ Ino uint64
-+ Mode uint32
-+ Nlink uint32
-+ Uid uint32
-+ Gid uint32
-+ Rdev uint64
-+ Size int64
-+ Atim Timespec
-+ Mtim Timespec
-+ Ctim Timespec
-+ Blksize int32
-+ _ [4]byte
-+ Blocks int64
-+ Fstype [16]int8
- }
-
- type Flock_t struct {
-- Type int16
-- Whence int16
-- Pad_cgo_0 [4]byte
-- Start int64
-- Len int64
-- Sysid int32
-- Pid int32
-- Pad [4]int64
-+ Type int16
-+ Whence int16
-+ _ [4]byte
-+ Start int64
-+ Len int64
-+ Sysid int32
-+ Pid int32
-+ Pad [4]int64
- }
-
- type Dirent struct {
-- Ino uint64
-- Off int64
-- Reclen uint16
-- Name [1]int8
-- Pad_cgo_0 [5]byte
-+ Ino uint64
-+ Off int64
-+ Reclen uint16
-+ Name [1]int8
-+ _ [5]byte
- }
-
- type _Fsblkcnt_t uint64
-@@ -213,13 +196,13 @@ type IPv6Mreq struct {
- type Msghdr struct {
- Name *byte
- Namelen uint32
-- Pad_cgo_0 [4]byte
-+ _ [4]byte
- Iov *Iovec
- Iovlen int32
-- Pad_cgo_1 [4]byte
-+ _ [4]byte
- Accrights *int8
- Accrightslen int32
-- Pad_cgo_2 [4]byte
-+ _ [4]byte
- }
-
- type Cmsghdr struct {
-@@ -228,6 +211,12 @@ type Cmsghdr struct {
- Type int32
- }
-
-+type Inet4Pktinfo struct {
-+ Ifindex uint32
-+ Spec_dst [4]byte /* in_addr */
-+ Addr [4]byte /* in_addr */
-+}
-+
- type Inet6Pktinfo struct {
- Addr [16]byte /* in6_addr */
- Ifindex uint32
-@@ -253,6 +242,7 @@ const (
- SizeofIPv6Mreq = 0x14
- SizeofMsghdr = 0x30
- SizeofCmsghdr = 0xc
-+ SizeofInet4Pktinfo = 0xc
- SizeofInet6Pktinfo = 0x14
- SizeofIPv6MTUInfo = 0x24
- SizeofICMPv6Filter = 0x20
-@@ -263,19 +253,19 @@ type FdSet struct {
- }
-
- type Utsname struct {
-- Sysname [257]int8
-- Nodename [257]int8
-- Release [257]int8
-- Version [257]int8
-- Machine [257]int8
-+ Sysname [257]byte
-+ Nodename [257]byte
-+ Release [257]byte
-+ Version [257]byte
-+ Machine [257]byte
- }
-
- type Ustat_t struct {
-- Tfree int64
-- Tinode uint64
-- Fname [6]int8
-- Fpack [6]int8
-- Pad_cgo_0 [4]byte
-+ Tfree int64
-+ Tinode uint64
-+ Fname [6]int8
-+ Fpack [6]int8
-+ _ [4]byte
- }
-
- const (
-@@ -295,21 +285,21 @@ const (
- )
-
- type IfMsghdr struct {
-- Msglen uint16
-- Version uint8
-- Type uint8
-- Addrs int32
-- Flags int32
-- Index uint16
-- Pad_cgo_0 [2]byte
-- Data IfData
-+ Msglen uint16
-+ Version uint8
-+ Type uint8
-+ Addrs int32
-+ Flags int32
-+ Index uint16
-+ _ [2]byte
-+ Data IfData
- }
-
- type IfData struct {
- Type uint8
- Addrlen uint8
- Hdrlen uint8
-- Pad_cgo_0 [1]byte
-+ _ [1]byte
- Mtu uint32
- Metric uint32
- Baudrate uint32
-@@ -328,30 +318,30 @@ type IfData struct {
- }
-
- type IfaMsghdr struct {
-- Msglen uint16
-- Version uint8
-- Type uint8
-- Addrs int32
-- Flags int32
-- Index uint16
-- Pad_cgo_0 [2]byte
-- Metric int32
-+ Msglen uint16
-+ Version uint8
-+ Type uint8
-+ Addrs int32
-+ Flags int32
-+ Index uint16
-+ _ [2]byte
-+ Metric int32
- }
-
- type RtMsghdr struct {
-- Msglen uint16
-- Version uint8
-- Type uint8
-- Index uint16
-- Pad_cgo_0 [2]byte
-- Flags int32
-- Addrs int32
-- Pid int32
-- Seq int32
-- Errno int32
-- Use int32
-- Inits uint32
-- Rmx RtMetrics
-+ Msglen uint16
-+ Version uint8
-+ Type uint8
-+ Index uint16
-+ _ [2]byte
-+ Flags int32
-+ Addrs int32
-+ Pid int32
-+ Seq int32
-+ Errno int32
-+ Use int32
-+ Inits uint32
-+ Rmx RtMetrics
- }
-
- type RtMetrics struct {
-@@ -388,9 +378,9 @@ type BpfStat struct {
- }
-
- type BpfProgram struct {
-- Len uint32
-- Pad_cgo_0 [4]byte
-- Insns *BpfInsn
-+ Len uint32
-+ _ [4]byte
-+ Insns *BpfInsn
- }
-
- type BpfInsn struct {
-@@ -406,32 +396,30 @@ type BpfTimeval struct {
- }
-
- type BpfHdr struct {
-- Tstamp BpfTimeval
-- Caplen uint32
-- Datalen uint32
-- Hdrlen uint16
-- Pad_cgo_0 [2]byte
-+ Tstamp BpfTimeval
-+ Caplen uint32
-+ Datalen uint32
-+ Hdrlen uint16
-+ _ [2]byte
- }
-
--const _SC_PAGESIZE = 0xb
--
- type Termios struct {
-- Iflag uint32
-- Oflag uint32
-- Cflag uint32
-- Lflag uint32
-- Cc [19]uint8
-- Pad_cgo_0 [1]byte
-+ Iflag uint32
-+ Oflag uint32
-+ Cflag uint32
-+ Lflag uint32
-+ Cc [19]uint8
-+ _ [1]byte
- }
-
- type Termio struct {
-- Iflag uint16
-- Oflag uint16
-- Cflag uint16
-- Lflag uint16
-- Line int8
-- Cc [8]uint8
-- Pad_cgo_0 [1]byte
-+ Iflag uint16
-+ Oflag uint16
-+ Cflag uint16
-+ Lflag uint16
-+ Line int8
-+ Cc [8]uint8
-+ _ [1]byte
- }
-
- type Winsize struct {
-@@ -440,3 +428,22 @@ type Winsize struct {
- Xpixel uint16
- Ypixel uint16
- }
-+
-+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
-+)
---
-2.26.2
-
diff --git a/meta/recipes-devtools/go/go-dep/0001-bolt_riscv64-Add-support-for-riscv64.patch b/meta/recipes-devtools/go/go-dep/0001-bolt_riscv64-Add-support-for-riscv64.patch
deleted file mode 100644
index 4d97d48243..0000000000
--- a/meta/recipes-devtools/go/go-dep/0001-bolt_riscv64-Add-support-for-riscv64.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From 5e051669d117d7cd9b24cea3494959eec396ec1e Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Sat, 25 Jan 2020 22:37:25 -0800
-Subject: [PATCH] /bolt_riscv64: Add support for riscv64
-
-Upstream-Status: Pending
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
- vendor/github.com/boltdb/bolt/bolt_riscv64.go | 12 ++++++++++++
- 1 file changed, 12 insertions(+)
- create mode 100644 vendor/github.com/boltdb/bolt/bolt_riscv64.go
-
-diff --git a/vendor/github.com/boltdb/bolt/bolt_riscv64.go b/vendor/github.com/boltdb/bolt/bolt_riscv64.go
-new file mode 100644
-index 00000000..3d6b88d4
---- /dev/null
-+++ b/vendor/github.com/boltdb/bolt/bolt_riscv64.go
-@@ -0,0 +1,12 @@
-+// +build riscv64
-+
-+package bolt
-+
-+// maxMapSize represents the largest mmap size supported by Bolt.
-+const maxMapSize = 0xFFFFFFFFFFFF // 256TB
-+
-+// maxAllocSize is the size used when creating array pointers.
-+const maxAllocSize = 0x7FFFFFFF
-+
-+// Are unaligned load/stores broken on this arch?
-+var brokenUnaligned = false
---
-2.25.0
-
diff --git a/meta/recipes-devtools/go/go-dep_0.5.4.bb b/meta/recipes-devtools/go/go-dep_0.5.4.bb
deleted file mode 100644
index 0da2c6607c..0000000000
--- a/meta/recipes-devtools/go/go-dep_0.5.4.bb
+++ /dev/null
@@ -1,30 +0,0 @@
-SUMMARY = "Dependency management tool for Golang"
-HOMEPAGE = "https://github.com/golang/dep"
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=1bad315647751fab0007812f70d42c0d"
-
-GO_IMPORT = "github.com/golang/dep"
-SRC_URI = "git://${GO_IMPORT} \
- file://0001-Add-support-for-mips-mips64.patch;patchdir=src/github.com/golang/dep \
- file://0001-bolt_riscv64-Add-support-for-riscv64.patch;patchdir=src/github.com/golang/dep \
- "
-SRC_URI_append_riscv64 = " file://0001-Update-sys-module-to-latest.patch;patchdir=src/github.com/golang/dep "
-
-SRCREV = "1f7c19e5f52f49ffb9f956f64c010be14683468b"
-
-inherit go
-
-# New Go versions has Go modules support enabled by default and cause the Glide
-# tool build to fail.
-export GO111MODULE = "off"
-
-GO_INSTALL = "${GO_IMPORT}/cmd/dep"
-
-RDEPENDS_${PN}-dev += "bash"
-
-BBCLASSEXTEND = "native nativesdk"
-
-# For compiling ptest on mips and mips64, the current go-dep version fails with the go 1.11 toolchain.
-# error message: vet config not found
-PTEST_ENABLED_mips = "0"
-PTEST_ENABLED_mips64 = "0"
diff --git a/meta/recipes-devtools/go/go-native_1.15.bb b/meta/recipes-devtools/go/go-native_1.22.3.bb
index f14892cdb0..ddf25b2c9b 100644
--- a/meta/recipes-devtools/go/go-native_1.15.bb
+++ b/meta/recipes-devtools/go/go-native_1.22.3.bb
@@ -5,7 +5,7 @@ require go-${PV}.inc
inherit native
-SRC_URI_append = " https://dl.google.com/go/go1.4-bootstrap-20171003.tar.gz;name=bootstrap;subdir=go1.4"
+SRC_URI += "https://dl.google.com/go/go1.4-bootstrap-20171003.tar.gz;name=bootstrap;subdir=go1.4"
SRC_URI[bootstrap.sha256sum] = "f4ff5b5eb3a3cae1c993723f3eab519c5bae18866b5e5f96fe1102f0cb5c3e52"
export GOOS = "${BUILD_GOOS}"
@@ -27,7 +27,6 @@ do_compile() {
./make.bash ${GOMAKEARGS}
cd ${B}
}
-do_compile[dirs] =+ "${GOTMPDIR} ${B}/bin"
do_compile[cleandirs] += "${GOTMPDIR} ${B}/bin"
make_wrapper() {
diff --git a/meta/recipes-devtools/go/go-runtime.inc b/meta/recipes-devtools/go/go-runtime.inc
index 21179a83a0..413cf6d33f 100644
--- a/meta/recipes-devtools/go/go-runtime.inc
+++ b/meta/recipes-devtools/go/go-runtime.inc
@@ -1,21 +1,27 @@
DEPENDS = "virtual/${TUNE_PKGARCH}-go go-native"
-DEPENDS_class-nativesdk = "virtual/${TARGET_PREFIX}go-crosssdk"
+DEPENDS:class-nativesdk = "virtual/${TARGET_PREFIX}go"
PROVIDES = "virtual/${TARGET_PREFIX}go-runtime"
+DEBUG_PREFIX_MAP = "\
+ -fdebug-prefix-map=${STAGING_DIR_HOST}= \
+ -fdebug-prefix-map=${STAGING_DIR_NATIVE}= \
+"
+
export CGO_CFLAGS = "${CFLAGS}"
export CGO_CPPFLAGS = "${CPPFLAGS}"
export CGO_CXXFLAGS = "${CXXFLAGS}"
-export CGO_LDFLAGS = "${LDFLAGS}"
+# Filter out -fdebug-prefix-map options as they clash with the GO's build system
+export CGO_LDFLAGS = "${@ ' '.join(filter(lambda f: not f.startswith('-fdebug-prefix-map'), d.getVar('LDFLAGS').split())) }"
export GOCACHE = "${B}/.cache"
GO_EXTLDFLAGS ?= "${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS} ${LDFLAGS}"
-GO_SHLIB_LDFLAGS ?= '-ldflags="--linkmode=external -extldflags '${GO_EXTLDFLAGS}'"'
+GO_SHLIB_LDFLAGS ?= '-ldflags="-extldflags '${GO_EXTLDFLAGS}'"'
do_configure() {
:
}
-do_configure_libc-musl() {
+do_configure:libc-musl() {
rm -f ${S}/src/runtime/race/*.syso
}
@@ -32,7 +38,6 @@ do_compile() {
fi
cd ${B}
}
-do_compile[dirs] =+ "${GOTMPDIR} ${B}/bin ${B}/pkg"
do_compile[cleandirs] += "${GOTMPDIR} ${B}/bin ${B}/pkg"
do_install() {
@@ -45,6 +50,8 @@ do_install() {
rm -rf ${D}${libdir}/go/pkg/tool
rm -rf ${D}${libdir}/go/pkg/obj
rm -rf ${D}${libdir}/go/pkg/bootstrap
+ # the cmd directory is built for the native arch so if BUILD == TARGET
+ rm -rf ${D}${libdir}/go/pkg/${BUILD_GOTUPLE}/cmd
find src -mindepth 1 -maxdepth 1 -type d | while read srcdir; do
cp --preserve=mode,timestamps -R $srcdir ${D}${libdir}/go/src/
done
@@ -55,9 +62,9 @@ do_install() {
}
-ALLOW_EMPTY_${PN} = "1"
-FILES_${PN} = "${libdir}/go/pkg/${TARGET_GOTUPLE}_dynlink/*${SOLIBSDEV}"
-FILES_${PN}-dev = "${libdir}/go/src ${libdir}/go/pkg/include \
+ALLOW_EMPTY:${PN} = "1"
+FILES:${PN} = "${libdir}/go/pkg/${TARGET_GOTUPLE}_dynlink/*${SOLIBSDEV}"
+FILES:${PN}-dev = "${libdir}/go/src ${libdir}/go/pkg/include \
${libdir}/go/pkg/${TARGET_GOTUPLE}_dynlink/*.shlibname \
${libdir}/go/pkg/${TARGET_GOTUPLE}_dynlink/*/*.shlibname \
${libdir}/go/pkg/${TARGET_GOTUPLE}_dynlink/*/*/*.shlibname \
@@ -73,12 +80,12 @@ FILES_${PN}-dev = "${libdir}/go/src ${libdir}/go/pkg/include \
${libdir}/go/pkg/${TARGET_GOTUPLE}_dynlink/*/*/*/*/*/*.a \
${libdir}/go/pkg/${TARGET_GOTUPLE}_dynlink/*/*/*/*/*/*/*.a \
"
-FILES_${PN}-staticdev = "${libdir}/go/pkg/${TARGET_GOTUPLE}"
+FILES:${PN}-staticdev = "${libdir}/go/pkg/${TARGET_GOTUPLE}"
# Go sources include some scripts and pre-built binaries for
# multiple architectures. The static .a files for dynamically-linked
# runtime are also required in -dev.
-INSANE_SKIP_${PN}-dev = "staticdev file-rdeps arch"
+INSANE_SKIP:${PN}-dev = "staticdev file-rdeps arch"
INHIBIT_PACKAGE_STRIP = "1"
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
diff --git a/meta/recipes-devtools/go/go-runtime_1.15.bb b/meta/recipes-devtools/go/go-runtime_1.22.3.bb
index d6ddb31ed4..63464a1501 100644
--- a/meta/recipes-devtools/go/go-runtime_1.15.bb
+++ b/meta/recipes-devtools/go/go-runtime_1.22.3.bb
@@ -1,4 +1,3 @@
-export CGO_ENABLED_riscv64 = ""
require go-${PV}.inc
require go-runtime.inc
diff --git a/meta/recipes-devtools/go/go-target.inc b/meta/recipes-devtools/go/go-target.inc
index 8e44247031..981c7abd31 100644
--- a/meta/recipes-devtools/go/go-target.inc
+++ b/meta/recipes-devtools/go/go-target.inc
@@ -1,12 +1,21 @@
DEPENDS = "virtual/${TUNE_PKGARCH}-go go-native"
-DEPENDS_class-nativesdk = "virtual/${TARGET_PREFIX}go-crosssdk go-native"
+DEPENDS:class-nativesdk = "virtual/${TARGET_PREFIX}go go-native"
-export GOCACHE = "${B}/.cache"
-GO_LDFLAGS = ""
-GO_LDFLAGS_class-nativesdk = "-linkmode external"
-export GO_LDFLAGS
+DEBUG_PREFIX_MAP = "\
+ -fdebug-prefix-map=${STAGING_DIR_HOST}= \
+ -fdebug-prefix-map=${STAGING_DIR_NATIVE}= \
+"
+
+export CGO_CFLAGS = "${CFLAGS}"
+export CGO_CPPFLAGS = "${CPPFLAGS}"
+export CGO_CXXFLAGS = "${CXXFLAGS}"
+# Filter out -fdebug-prefix-map options as they clash with the GO's build system
+export CGO_LDFLAGS = "${@ ' '.join(filter(lambda f: not f.startswith('-fdebug-prefix-map'), d.getVar('LDFLAGS').split())) }"
-CC_append_class-nativesdk = " ${SECURITY_NOPIE_CFLAGS}"
+export GOCACHE = "${B}/.cache"
+export GO_LDFLAGS = ""
+export GOBUILDFLAGS = "-gcflags=-trimpath=$GOPATH -asmflags=-trimpath=$GOPATH -trimpath"
+CC:append:class-nativesdk = " ${SECURITY_NOPIE_CFLAGS}"
do_configure[noexec] = "1"
@@ -18,7 +27,6 @@ do_compile() {
./make.bash --target-only --no-banner
cd ${B}
}
-do_compile[dirs] =+ "${GOTMPDIR} ${B}/bin ${B}/pkg"
do_compile[cleandirs] += "${GOTMPDIR} ${B}/bin ${B}/pkg"
do_install() {
@@ -38,8 +46,8 @@ do_install() {
}
PACKAGES = "${PN} ${PN}-dev"
-FILES_${PN} = "${libdir}/go/bin ${libdir}/go/pkg/tool/${TARGET_GOTUPLE} ${bindir}"
-RDEPENDS_${PN} = "go-runtime"
-INSANE_SKIP_${PN} = "ldflags"
+FILES:${PN} = "${libdir}/go/bin ${libdir}/go/pkg/tool/${TARGET_GOTUPLE} ${bindir}"
+RDEPENDS:${PN} = "go-runtime"
+INSANE_SKIP:${PN} = "ldflags"
BBCLASSEXTEND = "nativesdk"
diff --git a/meta/recipes-devtools/go/go/0001-cmd-go-make-content-based-hash-generation-less-pedan.patch b/meta/recipes-devtools/go/go/0001-cmd-go-make-content-based-hash-generation-less-pedan.patch
new file mode 100644
index 0000000000..564837c7cd
--- /dev/null
+++ b/meta/recipes-devtools/go/go/0001-cmd-go-make-content-based-hash-generation-less-pedan.patch
@@ -0,0 +1,168 @@
+From 9a6c5040cbcd88b10ceb8ceaebc8d6158c086670 Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Mon, 28 Mar 2022 10:59:03 -0700
+Subject: [PATCH 1/9] cmd/go: make content-based hash generation less pedantic
+
+Go 1.10's build tool now uses content-based hashes to
+determine when something should be built or re-built.
+This same mechanism is used to maintain a built-artifact
+cache for speeding up builds.
+
+However, the hashes it generates include information that
+doesn't work well with OE, nor with using a shared runtime
+library.
+
+First, it embeds path names to source files, unless
+building within GOROOT. This prevents the building
+of a package in GOPATH for later staging into GOROOT.
+
+This patch adds support for the environment variable
+GOPATH_OMIT_IN_ACTIONID. If present, path name
+embedding is disabled.
+
+Upstream-Status: Inappropriate [OE specific]
+
+Signed-off-by: Alex Kube <alexander.j.kube@gmail.com>
+Signed-off-by: Matt Madison <matt@madison.systems>
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
+---
+ src/cmd/go/internal/envcmd/env.go | 2 +-
+ src/cmd/go/internal/work/exec.go | 44 ++++++++++++++++++++++++-------
+ 2 files changed, 36 insertions(+), 10 deletions(-)
+
+diff --git a/src/cmd/go/internal/envcmd/env.go b/src/cmd/go/internal/envcmd/env.go
+index c7c2e83e0f..4a90d9da5c 100644
+--- a/src/cmd/go/internal/envcmd/env.go
++++ b/src/cmd/go/internal/envcmd/env.go
+@@ -189,7 +189,7 @@ func ExtraEnvVarsCostly() []cfg.EnvVar {
+ }
+ }()
+
+- cppflags, cflags, cxxflags, fflags, ldflags, err := b.CFlags(&load.Package{})
++ cppflags, cflags, cxxflags, fflags, ldflags, err := b.CFlags(&load.Package{}, false)
+ if err != nil {
+ // Should not happen - b.CFlags was given an empty package.
+ fmt.Fprintf(os.Stderr, "go: invalid cflags: %v\n", err)
+diff --git a/src/cmd/go/internal/work/exec.go b/src/cmd/go/internal/work/exec.go
+index e05471b06c..9724cd07d0 100644
+--- a/src/cmd/go/internal/work/exec.go
++++ b/src/cmd/go/internal/work/exec.go
+@@ -232,6 +232,8 @@ func (b *Builder) Do(ctx context.Context, root *Action) {
+ writeActionGraph()
+ }
+
++var omitGopath = os.Getenv("GOPATH_OMIT_IN_ACTIONID") != ""
++
+ // buildActionID computes the action ID for a build action.
+ func (b *Builder) buildActionID(a *Action) cache.ActionID {
+ p := a.Package
+@@ -253,7 +255,7 @@ func (b *Builder) buildActionID(a *Action) cache.ActionID {
+ if p.Module != nil {
+ fmt.Fprintf(h, "module %s@%s\n", p.Module.Path, p.Module.Version)
+ }
+- } else if p.Goroot {
++ } else if p.Goroot || omitGopath {
+ // The Go compiler always hides the exact value of $GOROOT
+ // when building things in GOROOT.
+ //
+@@ -285,9 +287,9 @@ func (b *Builder) buildActionID(a *Action) cache.ActionID {
+ }
+ if len(p.CgoFiles)+len(p.SwigFiles)+len(p.SwigCXXFiles) > 0 {
+ fmt.Fprintf(h, "cgo %q\n", b.toolID("cgo"))
+- cppflags, cflags, cxxflags, fflags, ldflags, _ := b.CFlags(p)
++ cppflags, cflags, cxxflags, fflags, ldflags, _ := b.CFlags(p, true)
+
+- ccExe := b.ccExe()
++ ccExe := filterCompilerFlags(b.ccExe(), true)
+ fmt.Fprintf(h, "CC=%q %q %q %q\n", ccExe, cppflags, cflags, ldflags)
+ // Include the C compiler tool ID so that if the C
+ // compiler changes we rebuild the package.
+@@ -295,14 +297,14 @@ func (b *Builder) buildActionID(a *Action) cache.ActionID {
+ fmt.Fprintf(h, "CC ID=%q\n", ccID)
+ }
+ if len(p.CXXFiles)+len(p.SwigCXXFiles) > 0 {
+- cxxExe := b.cxxExe()
++ cxxExe := filterCompilerFlags(b.cxxExe(), true)
+ fmt.Fprintf(h, "CXX=%q %q\n", cxxExe, cxxflags)
+ if cxxID, _, err := b.gccToolID(cxxExe[0], "c++"); err == nil {
+ fmt.Fprintf(h, "CXX ID=%q\n", cxxID)
+ }
+ }
+ if len(p.FFiles) > 0 {
+- fcExe := b.fcExe()
++ fcExe := filterCompilerFlags(b.fcExe(), true)
+ fmt.Fprintf(h, "FC=%q %q\n", fcExe, fflags)
+ if fcID, _, err := b.gccToolID(fcExe[0], "f95"); err == nil {
+ fmt.Fprintf(h, "FC ID=%q\n", fcID)
+@@ -319,7 +321,7 @@ func (b *Builder) buildActionID(a *Action) cache.ActionID {
+ }
+ }
+ if p.Internal.BuildInfo != nil {
+- fmt.Fprintf(h, "modinfo %q\n", p.Internal.BuildInfo.String())
++ //fmt.Fprintf(h, "modinfo %q\n", p.Internal.BuildInfo.String())
+ }
+
+ // Configuration specific to compiler toolchain.
+@@ -2679,8 +2681,25 @@ func envList(key, def string) []string {
+ return args
+ }
+
++var filterFlags = os.Getenv("CGO_PEDANTIC") == ""
++
++func filterCompilerFlags(flags []string, keepfirst bool) []string {
++ var newflags []string
++ var realkeepfirst bool = keepfirst
++ if !filterFlags {
++ return flags
++ }
++ for _, flag := range flags {
++ if strings.HasPrefix(flag, "-m") || realkeepfirst {
++ newflags = append(newflags, flag)
++ realkeepfirst = false
++ }
++ }
++ return newflags
++}
++
+ // CFlags returns the flags to use when invoking the C, C++ or Fortran compilers, or cgo.
+-func (b *Builder) CFlags(p *load.Package) (cppflags, cflags, cxxflags, fflags, ldflags []string, err error) {
++func (b *Builder) CFlags(p *load.Package, filtered bool) (cppflags, cflags, cxxflags, fflags, ldflags []string, err error) {
+ if cppflags, err = buildFlags("CPPFLAGS", "", p.CgoCPPFLAGS, checkCompilerFlags); err != nil {
+ return
+ }
+@@ -2696,6 +2715,13 @@ func (b *Builder) CFlags(p *load.Package) (cppflags, cflags, cxxflags, fflags, l
+ if ldflags, err = buildFlags("LDFLAGS", defaultCFlags, p.CgoLDFLAGS, checkLinkerFlags); err != nil {
+ return
+ }
++ if filtered {
++ cppflags = filterCompilerFlags(cppflags, false)
++ cflags = filterCompilerFlags(cflags, false)
++ cxxflags = filterCompilerFlags(cxxflags, false)
++ fflags = filterCompilerFlags(fflags, false)
++ ldflags = filterCompilerFlags(ldflags, false)
++ }
+
+ return
+ }
+@@ -2713,7 +2739,7 @@ func (b *Builder) cgo(a *Action, cgoExe, objdir string, pcCFLAGS, pcLDFLAGS, cgo
+ p := a.Package
+ sh := b.Shell(a)
+
+- cgoCPPFLAGS, cgoCFLAGS, cgoCXXFLAGS, cgoFFLAGS, cgoLDFLAGS, err := b.CFlags(p)
++ cgoCPPFLAGS, cgoCFLAGS, cgoCXXFLAGS, cgoFFLAGS, cgoLDFLAGS, err := b.CFlags(p, false)
+ if err != nil {
+ return nil, nil, err
+ }
+@@ -3268,7 +3294,7 @@ func (b *Builder) swigOne(a *Action, file, objdir string, pcCFLAGS []string, cxx
+ p := a.Package
+ sh := b.Shell(a)
+
+- cgoCPPFLAGS, cgoCFLAGS, cgoCXXFLAGS, _, _, err := b.CFlags(p)
++ cgoCPPFLAGS, cgoCFLAGS, cgoCXXFLAGS, _, _, err := b.CFlags(p, false)
+ if err != nil {
+ return "", "", err
+ }
+--
+2.44.0
+
diff --git a/meta/recipes-devtools/go/go/0002-cmd-go-Allow-GOTOOLDIR-to-be-overridden-in-the-envir.patch b/meta/recipes-devtools/go/go/0002-cmd-go-Allow-GOTOOLDIR-to-be-overridden-in-the-envir.patch
new file mode 100644
index 0000000000..001c94a4e7
--- /dev/null
+++ b/meta/recipes-devtools/go/go/0002-cmd-go-Allow-GOTOOLDIR-to-be-overridden-in-the-envir.patch
@@ -0,0 +1,56 @@
+From e3f9a8a69d3a340c1a1d0bba566e71f20f635a43 Mon Sep 17 00:00:00 2001
+From: Alex Kube <alexander.j.kube@gmail.com>
+Date: Wed, 23 Oct 2019 21:15:37 +0430
+Subject: [PATCH 2/9] cmd/go: Allow GOTOOLDIR to be overridden in the
+ environment
+
+to allow for split host/target build roots
+
+Adapted to Go 1.13 from patches originally submitted to
+the meta/recipes-devtools/go tree by
+Matt Madison <matt@madison.systems>.
+
+Upstream-Status: Inappropriate [OE specific]
+
+Signed-off-by: Alexander J Kube <alexander.j.kube@gmail.com>
+Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
+---
+ src/cmd/dist/build.go | 4 +++-
+ src/cmd/go/internal/cfg/cfg.go | 6 +++++-
+ 2 files changed, 8 insertions(+), 2 deletions(-)
+
+diff --git a/src/cmd/dist/build.go b/src/cmd/dist/build.go
+index 32e59b446a..06ee4de8a9 100644
+--- a/src/cmd/dist/build.go
++++ b/src/cmd/dist/build.go
+@@ -259,7 +259,9 @@ func xinit() {
+ }
+ xatexit(rmworkdir)
+
+- tooldir = pathf("%s/pkg/tool/%s_%s", goroot, gohostos, gohostarch)
++ if tooldir = os.Getenv("GOTOOLDIR"); tooldir == "" {
++ tooldir = pathf("%s/pkg/tool/%s_%s", goroot, gohostos, gohostarch)
++ }
+
+ goversion := findgoversion()
+ isRelease = strings.HasPrefix(goversion, "release.") || strings.HasPrefix(goversion, "go")
+diff --git a/src/cmd/go/internal/cfg/cfg.go b/src/cmd/go/internal/cfg/cfg.go
+index a8daa2dfc3..393ada39c9 100644
+--- a/src/cmd/go/internal/cfg/cfg.go
++++ b/src/cmd/go/internal/cfg/cfg.go
+@@ -230,7 +230,11 @@ func SetGOROOT(goroot string, isTestGo bool) {
+ // This matches the initialization of ToolDir in go/build, except for
+ // using ctxt.GOROOT and the installed GOOS and GOARCH rather than the
+ // GOROOT, GOOS, and GOARCH reported by the runtime package.
+- build.ToolDir = filepath.Join(GOROOTpkg, "tool", installedGOOS+"_"+installedGOARCH)
++ if s := os.Getenv("GOTOOLDIR"); s != "" {
++ build.ToolDir = filepath.Clean(s)
++ } else {
++ build.ToolDir = filepath.Join(GOROOTpkg, "tool", installedGOOS+"_"+installedGOARCH)
++ }
+ }
+ }
+ }
+--
+2.44.0
+
diff --git a/meta/recipes-devtools/go/go-1.15/0004-ld-add-soname-to-shareable-objects.patch b/meta/recipes-devtools/go/go/0003-ld-add-soname-to-shareable-objects.patch
index da29923920..9cab2969c8 100644
--- a/meta/recipes-devtools/go/go-1.15/0004-ld-add-soname-to-shareable-objects.patch
+++ b/meta/recipes-devtools/go/go/0003-ld-add-soname-to-shareable-objects.patch
@@ -1,7 +1,7 @@
-From bf5cf5301ae5914498454c87293d1df2e1d8489f Mon Sep 17 00:00:00 2001
+From 7dde77b3ce8138314dd2736604b1b110dbcc0ac1 Mon Sep 17 00:00:00 2001
From: Alex Kube <alexander.j.kube@gmail.com>
Date: Wed, 23 Oct 2019 21:16:32 +0430
-Subject: [PATCH 4/9] ld: add soname to shareable objects
+Subject: [PATCH 3/9] ld: add soname to shareable objects
so that OE's shared library dependency handling
can find them.
@@ -13,21 +13,24 @@ Matt Madison <matt@madison.systems>.
Upstream-Status: Inappropriate [OE specific]
Signed-off-by: Alexander J Kube <alexander.j.kube@gmail.com>
+Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
---
src/cmd/link/internal/ld/lib.go | 3 +++
1 file changed, 3 insertions(+)
+diff --git a/src/cmd/link/internal/ld/lib.go b/src/cmd/link/internal/ld/lib.go
+index eab74dc328..ae9bbc9093 100644
--- a/src/cmd/link/internal/ld/lib.go
+++ b/src/cmd/link/internal/ld/lib.go
-@@ -1446,6 +1446,7 @@ func (ctxt *Link) hostlink() {
+@@ -1576,6 +1576,7 @@ func (ctxt *Link) hostlink() {
argv = append(argv, "-Wl,-z,relro")
}
argv = append(argv, "-shared")
+ argv = append(argv, fmt.Sprintf("-Wl,-soname,%s", filepath.Base(*flagOutfile)))
- if ctxt.HeadType != objabi.Hwindows {
- // Pass -z nodelete to mark the shared library as
- // non-closeable: a dlclose will do nothing.
-@@ -1457,6 +1458,7 @@ func (ctxt *Link) hostlink() {
+ if ctxt.HeadType == objabi.Hwindows {
+ argv = addASLRargs(argv, *flagAslr)
+ } else {
+@@ -1591,6 +1592,7 @@ func (ctxt *Link) hostlink() {
argv = append(argv, "-Wl,-z,relro")
}
argv = append(argv, "-shared")
@@ -35,7 +38,7 @@ Signed-off-by: Alexander J Kube <alexander.j.kube@gmail.com>
case BuildModePlugin:
if ctxt.HeadType == objabi.Hdarwin {
argv = append(argv, "-dynamiclib")
-@@ -1465,6 +1467,7 @@ func (ctxt *Link) hostlink() {
+@@ -1599,6 +1601,7 @@ func (ctxt *Link) hostlink() {
argv = append(argv, "-Wl,-z,relro")
}
argv = append(argv, "-shared")
@@ -43,3 +46,6 @@ Signed-off-by: Alexander J Kube <alexander.j.kube@gmail.com>
}
}
+--
+2.44.0
+
diff --git a/meta/recipes-devtools/go/go-1.15/0005-make.bash-override-CC-when-building-dist-and-go_boot.patch b/meta/recipes-devtools/go/go/0004-make.bash-override-CC-when-building-dist-and-go_boot.patch
index 59c12d9546..8889aef1cf 100644
--- a/meta/recipes-devtools/go/go-1.15/0005-make.bash-override-CC-when-building-dist-and-go_boot.patch
+++ b/meta/recipes-devtools/go/go/0004-make.bash-override-CC-when-building-dist-and-go_boot.patch
@@ -1,7 +1,7 @@
-From f05ef3ded52b98537c10efd0b15cd9612471524d Mon Sep 17 00:00:00 2001
+From 9f59e46991074d3e3c4d00f3971e62bfcd707167 Mon Sep 17 00:00:00 2001
From: Alex Kube <alexander.j.kube@gmail.com>
Date: Wed, 23 Oct 2019 21:17:16 +0430
-Subject: [PATCH 5/9] make.bash: override CC when building dist and
+Subject: [PATCH 4/9] make.bash: override CC when building dist and
go_bootstrap
for handling OE cross-canadian builds.
@@ -13,27 +13,33 @@ Matt Madison <matt@madison.systems>.
Upstream-Status: Inappropriate [OE specific]
Signed-off-by: Alexander J Kube <alexander.j.kube@gmail.com>
+Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
---
src/make.bash | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
+diff --git a/src/make.bash b/src/make.bash
+index 76ad51624a..074e129a24 100755
--- a/src/make.bash
+++ b/src/make.bash
-@@ -178,7 +178,7 @@ if [ "$GOROOT_BOOTSTRAP" = "$GOROOT" ];
+@@ -198,7 +198,7 @@ if [[ "$GOROOT_BOOTSTRAP" == "$GOROOT" ]]; then
exit 1
fi
rm -f cmd/dist/dist
--GOROOT="$GOROOT_BOOTSTRAP" GOOS="" GOARCH="" GO111MODULE=off "$GOROOT_BOOTSTRAP/bin/go" build -o cmd/dist/dist ./cmd/dist
-+CC="${BUILD_CC:-${CC}}" GOROOT="$GOROOT_BOOTSTRAP" GOOS="" GOARCH="" GO111MODULE=off "$GOROOT_BOOTSTRAP/bin/go" build -o cmd/dist/dist ./cmd/dist
+-GOROOT="$GOROOT_BOOTSTRAP" nogoenv "$GOROOT_BOOTSTRAP/bin/go" build -o cmd/dist/dist ./cmd/dist
++CC="${BUILD_CC:-${CC}}" GOROOT="$GOROOT_BOOTSTRAP" nogoenv "$GOROOT_BOOTSTRAP/bin/go" build -o cmd/dist/dist ./cmd/dist
# -e doesn't propagate out of eval, so check success by hand.
eval $(./cmd/dist/dist env -p || echo FAIL=true)
-@@ -209,7 +209,7 @@ fi
+@@ -223,7 +223,7 @@ fi
# Run dist bootstrap to complete make.bash.
# Bootstrap installs a proper cmd/dist, built with the new toolchain.
- # Throw ours, built with Go 1.4, away after bootstrap.
--./cmd/dist/dist bootstrap $buildall $vflag $GO_DISTFLAGS "$@"
-+CC="${BUILD_CC:-${CC}}" ./cmd/dist/dist bootstrap $buildall $vflag $GO_DISTFLAGS "$@"
+ # Throw ours, built with the bootstrap toolchain, away after bootstrap.
+-./cmd/dist/dist bootstrap -a $vflag $GO_DISTFLAGS "$@"
++CC="${BUILD_CC:-${CC}}" ./cmd/dist/dist bootstrap -a $vflag $GO_DISTFLAGS "$@"
rm -f ./cmd/dist/dist
# DO NOT ADD ANY NEW CODE HERE.
+--
+2.44.0
+
diff --git a/meta/recipes-devtools/go/go/0005-cmd-dist-separate-host-and-target-builds.patch b/meta/recipes-devtools/go/go/0005-cmd-dist-separate-host-and-target-builds.patch
new file mode 100644
index 0000000000..364fce907a
--- /dev/null
+++ b/meta/recipes-devtools/go/go/0005-cmd-dist-separate-host-and-target-builds.patch
@@ -0,0 +1,221 @@
+From 6dda78d528e60993a4688cd9d49440a726378ac8 Mon Sep 17 00:00:00 2001
+From: Alex Kube <alexander.j.kube@gmail.com>
+Date: Wed, 23 Oct 2019 21:18:12 +0430
+Subject: [PATCH 5/9] cmd/dist: separate host and target builds
+
+Change the dist tool to allow for OE-style cross-
+and cross-canadian builds:
+
+ - command flags --host-only and --target only are added;
+ if one is present, the other changes mentioned below
+ take effect, and arguments may also be specified on
+ the command line to enumerate the package(s) to be
+ built.
+
+ - for OE cross builds, go_bootstrap is always built for
+ the current build host, and is moved, along with the supporting
+ toolchain (asm, compile, etc.) to a separate 'native_native'
+ directory under GOROOT/pkg/tool.
+
+ - go_bootstrap is not automatically removed after the build,
+ so it can be reused later (e.g., building both static and
+ shared runtime).
+
+Note that for --host-only builds, it would be nice to specify
+just the "cmd" package to build only the go commands/tools,
+the staleness checks in the dist tool will fail if the "std"
+library has not also been built. So host-only builds have to
+build everything anyway.
+
+Adapted to Go 1.13 from patches originally submitted to
+the meta/recipes-devtools/go tree by
+Matt Madison <matt@madison.systems>.
+
+Rework the patch to avoid identation, it breaks formatting rules but
+makes the changes more obvious and maintainable.
+Jose Quaresma <jose.quaresma@foundries.io>
+Richard Purdie <richard.purdie@linuxfoundation.org>
+
+Upstream-Status: Inappropriate [OE specific]
+
+Signed-off-by: Alexander J Kube <alexander.j.kube@gmail.com>
+Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
+---
+ src/cmd/dist/build.go | 76 ++++++++++++++++++++++++++++++++++++++++++-
+ 1 file changed, 75 insertions(+), 1 deletion(-)
+
+diff --git a/src/cmd/dist/build.go b/src/cmd/dist/build.go
+index 06ee4de8a9..74b7c7098f 100644
+--- a/src/cmd/dist/build.go
++++ b/src/cmd/dist/build.go
+@@ -46,6 +46,7 @@ var (
+ goexperiment string
+ workdir string
+ tooldir string
++ build_tooldir string
+ oldgoos string
+ oldgoarch string
+ oldgocache string
+@@ -58,6 +59,7 @@ var (
+ rebuildall bool
+ noOpt bool
+ isRelease bool
++ crossBuild bool
+
+ vflag int // verbosity
+ )
+@@ -265,6 +267,8 @@ func xinit() {
+
+ goversion := findgoversion()
+ isRelease = strings.HasPrefix(goversion, "release.") || strings.HasPrefix(goversion, "go")
++
++ build_tooldir = pathf("%s/pkg/tool/native_native", goroot)
+ }
+
+ // compilerEnv returns a map from "goos/goarch" to the
+@@ -499,8 +503,10 @@ func setup() {
+ goosGoarch := pathf("%s/pkg/%s_%s", goroot, gohostos, gohostarch)
+ if rebuildall {
+ xremoveall(goosGoarch)
++ xremoveall(build_tooldir)
+ }
+ xmkdirall(goosGoarch)
++ xmkdirall(build_tooldir)
+ xatexit(func() {
+ if files := xreaddir(goosGoarch); len(files) == 0 {
+ xremove(goosGoarch)
+@@ -1338,14 +1344,20 @@ func cmdbootstrap() {
+ defer timelog("end", "dist bootstrap")
+
+ var debug, distpack, force, noBanner, noClean bool
++ var hostOnly bool
++ var targetOnly bool
++ var toBuild = []string{"std", "cmd"}
++
+ flag.BoolVar(&rebuildall, "a", rebuildall, "rebuild all")
+ flag.BoolVar(&debug, "d", debug, "enable debugging of bootstrap process")
+ flag.BoolVar(&distpack, "distpack", distpack, "write distribution files to pkg/distpack")
+ flag.BoolVar(&force, "force", force, "build even if the port is marked as broken")
+ flag.BoolVar(&noBanner, "no-banner", noBanner, "do not print banner")
+ flag.BoolVar(&noClean, "no-clean", noClean, "print deprecation warning")
++ flag.BoolVar(&hostOnly, "host-only", hostOnly, "build only host binaries, not target")
++ flag.BoolVar(&targetOnly, "target-only", targetOnly, "build only target binaries, not host")
+
+- xflagparse(0)
++ xflagparse(-1)
+
+ if noClean {
+ xprintf("warning: --no-clean is deprecated and has no effect; use 'go install std cmd' instead\n")
+@@ -1357,6 +1369,18 @@ func cmdbootstrap() {
+ "Use the -force flag to build anyway.\n", goos, goarch)
+ }
+
++ if hostOnly && targetOnly {
++ fatalf("specify only one of --host-only or --target-only\n")
++ }
++ crossBuild = hostOnly || targetOnly
++ if flag.NArg() > 0 {
++ if crossBuild {
++ toBuild = flag.Args()
++ } else {
++ fatalf("package names not permitted without --host-only or --target-only\n")
++ }
++ }
++
+ // Set GOPATH to an internal directory. We shouldn't actually
+ // need to store files here, since the toolchain won't
+ // depend on modules outside of vendor directories, but if
+@@ -1434,9 +1458,14 @@ func cmdbootstrap() {
+ xprintf("\n")
+ }
+
++ // For split host/target cross/cross-canadian builds, we don't
++ // want to be setting these flags until after we have compiled
++ // the toolchain that runs on the build host.
++if !crossBuild {
+ gogcflags = os.Getenv("GO_GCFLAGS") // we were using $BOOT_GO_GCFLAGS until now
+ setNoOpt()
+ goldflags = os.Getenv("GO_LDFLAGS") // we were using $BOOT_GO_LDFLAGS until now
++}
+ goBootstrap := pathf("%s/go_bootstrap", tooldir)
+ if debug {
+ run("", ShowOutput|CheckExit, pathf("%s/compile", tooldir), "-V=full")
+@@ -1464,7 +1493,11 @@ func cmdbootstrap() {
+ xprintf("\n")
+ }
+ xprintf("Building Go toolchain2 using go_bootstrap and Go toolchain1.\n")
++if !crossBuild {
+ os.Setenv("CC", compilerEnvLookup("CC", defaultcc, goos, goarch))
++} else {
++ os.Setenv("CC", defaultcc[""])
++}
+ // Now that cmd/go is in charge of the build process, enable GOEXPERIMENT.
+ os.Setenv("GOEXPERIMENT", goexperiment)
+ // No need to enable PGO for toolchain2.
+@@ -1517,6 +1550,7 @@ func cmdbootstrap() {
+ os.Setenv("GOCACHE", oldgocache)
+ }
+
++if !crossBuild {
+ if goos == oldgoos && goarch == oldgoarch {
+ // Common case - not setting up for cross-compilation.
+ timelog("build", "toolchain")
+@@ -1560,6 +1594,42 @@ func cmdbootstrap() {
+ checkNotStale(toolenv(), goBootstrap, toolchain...)
+ copyfile(pathf("%s/compile4", tooldir), pathf("%s/compile", tooldir), writeExec)
+ }
++} else {
++ gogcflags = os.Getenv("GO_GCFLAGS")
++ goldflags = os.Getenv("GO_LDFLAGS")
++ tool_files, _ := filepath.Glob(pathf("%s/*", tooldir))
++ for _, f := range tool_files {
++ copyfile(pathf("%s/%s", build_tooldir, filepath.Base(f)), f, writeExec)
++ xremove(f)
++ }
++ os.Setenv("GOTOOLDIR", build_tooldir)
++ goBootstrap = pathf("%s/go_bootstrap", build_tooldir)
++ if hostOnly {
++ timelog("build", "host toolchain")
++ if vflag > 0 {
++ xprintf("\n")
++ }
++ xprintf("Building %s for host, %s/%s.\n", strings.Join(toBuild, ","), goos, goarch)
++ goInstall(toolenv(), goBootstrap, toBuild...)
++ checkNotStale(toolenv(), goBootstrap, toBuild...)
++ // Skip cmdGo staleness checks here, since we can't necessarily run the cmdGo binary
++
++ timelog("build", "target toolchain")
++ if vflag > 0 {
++ xprintf("\n")
++ }
++ } else if targetOnly {
++ goos = oldgoos
++ goarch = oldgoarch
++ os.Setenv("GOOS", goos)
++ os.Setenv("GOARCH", goarch)
++ os.Setenv("CC", compilerEnvLookup("CC", defaultcc, goos, goarch))
++ xprintf("Building %s for target, %s/%s.\n", strings.Join(toBuild, ","), goos, goarch)
++ goInstall(toolenv(), goBootstrap, toBuild...)
++ checkNotStale(toolenv(), goBootstrap, toBuild...)
++ // Skip cmdGo staleness checks here, since we can't run the target's cmdGo binary
++ }
++}
+
+ // Check that there are no new files in $GOROOT/bin other than
+ // go and gofmt and $GOOS_$GOARCH (target bin when cross-compiling).
+@@ -1582,8 +1652,12 @@ func cmdbootstrap() {
+ }
+ }
+
++ // Except that for split host/target cross-builds, we need to
++ // keep it.
++if !crossBuild {
+ // Remove go_bootstrap now that we're done.
+ xremove(pathf("%s/go_bootstrap"+exe, tooldir))
++}
+
+ if goos == "android" {
+ // Make sure the exec wrapper will sync a fresh $GOROOT to the device.
+--
+2.44.0
+
diff --git a/meta/recipes-devtools/go/go-1.15/0007-cmd-go-make-GOROOT-precious-by-default.patch b/meta/recipes-devtools/go/go/0006-cmd-go-make-GOROOT-precious-by-default.patch
index 4b4d0d4f3d..262f1e96b8 100644
--- a/meta/recipes-devtools/go/go-1.15/0007-cmd-go-make-GOROOT-precious-by-default.patch
+++ b/meta/recipes-devtools/go/go/0006-cmd-go-make-GOROOT-precious-by-default.patch
@@ -1,9 +1,7 @@
-From 9ba507e076c744f4d394418e4a849e68cd426a4a Mon Sep 17 00:00:00 2001
+From aff5a740d6286c04beb0593fc68b0aea5a95ad39 Mon Sep 17 00:00:00 2001
From: Alex Kube <alexander.j.kube@gmail.com>
Date: Wed, 23 Oct 2019 21:18:56 +0430
-Subject: [PATCH 7/9] cmd/go: make GOROOT precious by default
-
-Upstream-Status: Inappropriate [OE specific]
+Subject: [PATCH 6/9] cmd/go: make GOROOT precious by default
The go build tool normally rebuilds whatever it detects is
stale. This can be a problem when GOROOT is intended to
@@ -20,16 +18,21 @@ Adapted to Go 1.13 from patches originally submitted to
the meta/recipes-devtools/go tree by
Matt Madison <matt@madison.systems>.
+Upstream-Status: Inappropriate [OE specific]
+
Signed-off-by: Alexander J Kube <alexander.j.kube@gmail.com>
+Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
---
src/cmd/go/internal/work/action.go | 3 +++
src/cmd/go/internal/work/build.go | 6 ++++++
src/cmd/go/internal/work/exec.go | 25 +++++++++++++++++++++++++
3 files changed, 34 insertions(+)
+diff --git a/src/cmd/go/internal/work/action.go b/src/cmd/go/internal/work/action.go
+index a59072e591..9e35ebde0c 100644
--- a/src/cmd/go/internal/work/action.go
+++ b/src/cmd/go/internal/work/action.go
-@@ -670,6 +670,9 @@ func (b *Builder) addTransitiveLinkDeps(
+@@ -754,6 +754,9 @@ func (b *Builder) addTransitiveLinkDeps(a, a1 *Action, shlib string) {
if p1 == nil || p1.Shlib == "" || haveShlib[filepath.Base(p1.Shlib)] {
continue
}
@@ -39,9 +42,11 @@ Signed-off-by: Alexander J Kube <alexander.j.kube@gmail.com>
haveShlib[filepath.Base(p1.Shlib)] = true
// TODO(rsc): The use of ModeInstall here is suspect, but if we only do ModeBuild,
// we'll end up building an overall library or executable that depends at runtime
+diff --git a/src/cmd/go/internal/work/build.go b/src/cmd/go/internal/work/build.go
+index 408edb5119..3d60252127 100644
--- a/src/cmd/go/internal/work/build.go
+++ b/src/cmd/go/internal/work/build.go
-@@ -167,6 +167,8 @@ See also: go install, go get, go clean.
+@@ -233,6 +233,8 @@ See also: go install, go get, go clean.
const concurrentGCBackendCompilationEnabledByDefault = true
@@ -50,10 +55,10 @@ Signed-off-by: Alexander J Kube <alexander.j.kube@gmail.com>
func init() {
// break init cycle
CmdBuild.Run = runBuild
-@@ -179,6 +181,10 @@ func init() {
-
- AddBuildFlags(CmdBuild, DefaultBuildFlags)
- AddBuildFlags(CmdInstall, DefaultBuildFlags)
+@@ -246,6 +248,10 @@ func init() {
+ AddCoverFlags(CmdBuild, nil)
+ AddCoverFlags(CmdInstall, nil)
+ }
+
+ if x := os.Getenv("GOROOT_OVERRIDE"); x != "" {
+ goRootPrecious = false
@@ -61,10 +66,12 @@ Signed-off-by: Alexander J Kube <alexander.j.kube@gmail.com>
}
// Note that flags consulted by other parts of the code
+diff --git a/src/cmd/go/internal/work/exec.go b/src/cmd/go/internal/work/exec.go
+index 9724cd07d0..544df461a2 100644
--- a/src/cmd/go/internal/work/exec.go
+++ b/src/cmd/go/internal/work/exec.go
-@@ -468,6 +468,23 @@ func (b *Builder) build(a *Action) (err
- return errors.New("binary-only packages are no longer supported")
+@@ -544,6 +544,23 @@ func (b *Builder) build(ctx context.Context, a *Action) (err error) {
+ return err
}
+ if goRootPrecious && (a.Package.Standard || a.Package.Goroot) {
@@ -84,10 +91,10 @@ Signed-off-by: Alexander J Kube <alexander.j.kube@gmail.com>
+ }
+ }
+
- if err := b.Mkdir(a.Objdir); err != nil {
+ if err := sh.Mkdir(a.Objdir); err != nil {
return err
}
-@@ -1520,6 +1537,14 @@ func BuildInstallFunc(b *Builder, a *Act
+@@ -1737,6 +1754,14 @@ func (b *Builder) linkShared(ctx context.Context, a *Action) (err error) {
return err
}
@@ -99,6 +106,9 @@ Signed-off-by: Alexander J Kube <alexander.j.kube@gmail.com>
+ }
+ }
+
- if err := b.Mkdir(a.Objdir); err != nil {
+ if err := b.Shell(a).Mkdir(a.Objdir); err != nil {
return err
}
+--
+2.44.0
+
diff --git a/meta/recipes-devtools/go/go/0007-exec.go-filter-out-build-specific-paths-from-linker-.patch b/meta/recipes-devtools/go/go/0007-exec.go-filter-out-build-specific-paths-from-linker-.patch
new file mode 100644
index 0000000000..c5bf28f54a
--- /dev/null
+++ b/meta/recipes-devtools/go/go/0007-exec.go-filter-out-build-specific-paths-from-linker-.patch
@@ -0,0 +1,61 @@
+From 083b5c74b12a1abeb11dd7f58a1cb1593d0000c0 Mon Sep 17 00:00:00 2001
+From: Changqing Li <changqing.li@windriver.com>
+Date: Tue, 27 Feb 2024 18:06:51 +0800
+Subject: [PATCH] exec.go: filter out build-specific paths from linker flags
+
+The flags can contain build-specific paths, breaking reproducibility.
+Filter out options that have build-specific paths.
+
+Upstream-Status: Inappropriate [ Not perfect for upstream ]
+
+Signed-off-by: Changqing Li <changqing.li@windriver.com>
+---
+ src/cmd/go/internal/work/exec.go | 25 ++++++++++++++++++++++++-
+ 1 file changed, 24 insertions(+), 1 deletion(-)
+
+diff --git a/src/cmd/go/internal/work/exec.go b/src/cmd/go/internal/work/exec.go
+index cde867b..e3ce17d 100644
+--- a/src/cmd/go/internal/work/exec.go
++++ b/src/cmd/go/internal/work/exec.go
+@@ -1358,6 +1358,29 @@ func (b *Builder) linkActionID(a *Action) cache.ActionID {
+ return h.Sum()
+ }
+
++func filterLinkerFlags(flags []string) []string {
++ var newflags []string
++ var skipflag bool
++ skipflag = false
++ for i, flag := range flags {
++ if skipflag == true {
++ skipflag = false
++ continue
++ }
++ if strings.HasPrefix(flag, "--sysroot") || strings.HasPrefix(flag, "-fmacro-prefix-map") || strings.HasPrefix(flag, "-fdebug-prefix-map") || strings.HasPrefix(flag, "-ffile-prefix-map") || strings.HasPrefix(flag, "-fcanon-prefix-map") || strings.HasPrefix(flag, "-fprofile-prefix-map") || strings.HasPrefix(flag, "-Wl,-rpath-link"){
++ continue
++ } else if strings.HasPrefix(flag, "-extldflags") {
++ skipflag = true
++ newflags = append(newflags, flag)
++ var filterd_Extldflags []string = filterLinkerFlags(strings.Split(flags[i+1], " "))
++ newflags = append(newflags, strings.Join(filterd_Extldflags, " "))
++ } else {
++ newflags = append(newflags, flag)
++ }
++ }
++ return newflags
++}
++
+ // printLinkerConfig prints the linker config into the hash h,
+ // as part of the computation of a linker-related action ID.
+ func (b *Builder) printLinkerConfig(h io.Writer, p *load.Package) {
+@@ -1368,7 +1391,7 @@ func (b *Builder) printLinkerConfig(h io.Writer, p *load.Package) {
+ case "gc":
+ fmt.Fprintf(h, "link %s %q %s\n", b.toolID("link"), forcedLdflags, ldBuildmode)
+ if p != nil {
+- fmt.Fprintf(h, "linkflags %q\n", p.Internal.Ldflags)
++ fmt.Fprintf(h, "linkflags %q\n", filterLinkerFlags(p.Internal.Ldflags))
+ }
+
+ // GOARM, GOMIPS, etc.
+--
+2.25.1
+
diff --git a/meta/recipes-devtools/go/go/0008-src-cmd-dist-buildgo.go-do-not-hardcode-host-compile.patch b/meta/recipes-devtools/go/go/0008-src-cmd-dist-buildgo.go-do-not-hardcode-host-compile.patch
new file mode 100644
index 0000000000..0662f66af5
--- /dev/null
+++ b/meta/recipes-devtools/go/go/0008-src-cmd-dist-buildgo.go-do-not-hardcode-host-compile.patch
@@ -0,0 +1,46 @@
+From e0999902687e2e394499f7153db8d62440c4dab0 Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin <alex.kanavin@gmail.com>
+Date: Tue, 10 Nov 2020 16:33:27 +0000
+Subject: [PATCH 8/9] src/cmd/dist/buildgo.go: do not hardcode host compilers
+ into target binaries
+
+These come from $CC/$CXX on the build host and are not useful on targets;
+additionally as they contain host specific paths, this helps reproducibility.
+
+Upstream-Status: Inappropriate [needs upstream discussion]
+
+Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
+Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
+---
+ src/cmd/dist/buildgo.go | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/src/cmd/dist/buildgo.go b/src/cmd/dist/buildgo.go
+index 884e9d729a..2f52edacfe 100644
+--- a/src/cmd/dist/buildgo.go
++++ b/src/cmd/dist/buildgo.go
+@@ -51,8 +51,8 @@ func mkzdefaultcc(dir, file string) {
+ fmt.Fprintf(&buf, "package cfg\n")
+ fmt.Fprintln(&buf)
+ fmt.Fprintf(&buf, "const DefaultPkgConfig = `%s`\n", defaultpkgconfig)
+- buf.WriteString(defaultCCFunc("DefaultCC", defaultcc))
+- buf.WriteString(defaultCCFunc("DefaultCXX", defaultcxx))
++ buf.WriteString(defaultCCFunc("DefaultCC", map[string]string{"":"gcc"}))
++ buf.WriteString(defaultCCFunc("DefaultCXX", map[string]string{"":"g++"}))
+ writefile(buf.String(), file, writeSkipSame)
+ return
+ }
+@@ -62,8 +62,8 @@ func mkzdefaultcc(dir, file string) {
+ fmt.Fprintf(&buf, "package main\n")
+ fmt.Fprintln(&buf)
+ fmt.Fprintf(&buf, "const defaultPkgConfig = `%s`\n", defaultpkgconfig)
+- buf.WriteString(defaultCCFunc("defaultCC", defaultcc))
+- buf.WriteString(defaultCCFunc("defaultCXX", defaultcxx))
++ buf.WriteString(defaultCCFunc("defaultCC", map[string]string{"":"gcc"}))
++ buf.WriteString(defaultCCFunc("defaultCXX", map[string]string{"":"g++"}))
+ writefile(buf.String(), file, writeSkipSame)
+ }
+
+--
+2.44.0
+
diff --git a/meta/recipes-devtools/go/go/0009-go-Filter-build-paths-on-staticly-linked-arches.patch b/meta/recipes-devtools/go/go/0009-go-Filter-build-paths-on-staticly-linked-arches.patch
new file mode 100644
index 0000000000..cc45496e9c
--- /dev/null
+++ b/meta/recipes-devtools/go/go/0009-go-Filter-build-paths-on-staticly-linked-arches.patch
@@ -0,0 +1,61 @@
+From 6c2438f187ca912c54a71b4ac65ab98999a019d2 Mon Sep 17 00:00:00 2001
+From: Richard Purdie <richard.purdie@linuxfoundation.org>
+Date: Sat, 2 Jul 2022 23:08:13 +0100
+Subject: [PATCH 9/9] go: Filter build paths on staticly linked arches
+
+Filter out build time paths from ldflags and other flags variables when they're
+embedded in the go binary so that builds are reproducible regardless of build
+location. This codepath is hit for statically linked go binaries such as those
+on mips/ppc.
+
+Upstream-Status: Submitted [https://github.com/golang/go/pull/56410]
+
+Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
+Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
+---
+ src/cmd/go/internal/load/pkg.go | 15 +++++++++++++--
+ 1 file changed, 13 insertions(+), 2 deletions(-)
+
+diff --git a/src/cmd/go/internal/load/pkg.go b/src/cmd/go/internal/load/pkg.go
+index 1549800afb..f41fb2c4ef 100644
+--- a/src/cmd/go/internal/load/pkg.go
++++ b/src/cmd/go/internal/load/pkg.go
+@@ -2277,6 +2277,17 @@ func appendBuildSetting(info *debug.BuildInfo, key, value string) {
+ info.Settings = append(info.Settings, debug.BuildSetting{Key: key, Value: value})
+ }
+
++func filterCompilerFlags(flags string) string {
++ var newflags []string
++ for _, flag := range strings.Fields(flags) {
++ if strings.HasPrefix(flag, "--sysroot") || strings.HasPrefix(flag, "-fmacro-prefix-map") || strings.HasPrefix(flag, "-fdebug-prefix-map") {
++ continue
++ }
++ newflags = append(newflags, flag)
++ }
++ return strings.Join(newflags, " ")
++}
++
+ // setBuildInfo gathers build information and sets it into
+ // p.Internal.BuildInfo, which will later be formatted as a string and embedded
+ // in the binary. setBuildInfo should only be called on a main package with no
+@@ -2384,7 +2395,7 @@ func (p *Package) setBuildInfo(ctx context.Context, autoVCS bool) {
+ if gcflags := BuildGcflags.String(); gcflags != "" && cfg.BuildContext.Compiler == "gc" {
+ appendSetting("-gcflags", gcflags)
+ }
+- if ldflags := BuildLdflags.String(); ldflags != "" {
++ if ldflags := filterCompilerFlags(BuildLdflags.String()); ldflags != "" {
+ // https://go.dev/issue/52372: only include ldflags if -trimpath is not set,
+ // since it can include system paths through various linker flags (notably
+ // -extar, -extld, and -extldflags).
+@@ -2427,7 +2438,7 @@ func (p *Package) setBuildInfo(ctx context.Context, autoVCS bool) {
+ // subset of flags that are known not to be paths?
+ if cfg.BuildContext.CgoEnabled && !cfg.BuildTrimpath {
+ for _, name := range []string{"CGO_CFLAGS", "CGO_CPPFLAGS", "CGO_CXXFLAGS", "CGO_LDFLAGS"} {
+- appendSetting(name, cfg.Getenv(name))
++ appendSetting(name, filterCompilerFlags(cfg.Getenv(name)))
+ }
+ }
+ appendSetting("GOARCH", cfg.BuildContext.GOARCH)
+--
+2.44.0
+
diff --git a/meta/recipes-devtools/go/go_1.15.bb b/meta/recipes-devtools/go/go_1.22.3.bb
index d4812c0f0a..46f5fbc6be 100644
--- a/meta/recipes-devtools/go/go_1.15.bb
+++ b/meta/recipes-devtools/go/go_1.22.3.bb
@@ -3,16 +3,16 @@ require go-target.inc
inherit linuxloader
-export GOBUILDMODE=""
-export CGO_ENABLED_riscv64 = ""
+CGO_LDFLAGS:append = " -no-pie"
+
export GO_LDSO = "${@get_linuxloader(d)}"
export CC_FOR_TARGET = "gcc"
export CXX_FOR_TARGET = "g++"
-# mips/rv64 doesn't support -buildmode=pie, so skip the QA checking for mips/riscv and its
+# mips/rv64 doesn't support -buildmode=pie, so skip the QA checking for mips/riscv32 and its
# variants.
python() {
- if 'mips' in d.getVar('TARGET_ARCH',True) or 'riscv' in d.getVar('TARGET_ARCH',True):
- d.appendVar('INSANE_SKIP_%s' % d.getVar('PN',True), " textrel")
+ if 'mips' in d.getVar('TARGET_ARCH') or 'riscv32' in d.getVar('TARGET_ARCH'):
+ d.appendVar('INSANE_SKIP:%s' % d.getVar('PN'), " textrel")
}
diff --git a/meta/recipes-devtools/help2man/help2man_1.47.16.bb b/meta/recipes-devtools/help2man/help2man_1.49.3.bb
index 27a15eb0e2..75931a511f 100644
--- a/meta/recipes-devtools/help2man/help2man_1.47.16.bb
+++ b/meta/recipes-devtools/help2man/help2man_1.49.3.bb
@@ -1,10 +1,12 @@
SUMMARY = "Program for creating simple man pages"
+HOMEPAGE = "https://www.gnu.org/software/help2man/"
+DESCRIPTION = "help2man is a tool for automatically generating simple manual pages from program output."
SECTION = "devel"
-LICENSE = "GPLv3"
+LICENSE = "GPL-3.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=1ebbd3e34237af26da5dc08a4e440464"
SRC_URI = "${GNU_MIRROR}/${BPN}/${BPN}-${PV}.tar.xz"
-SRC_URI[sha256sum] = "3ef8580c5b86e32ca092ce8de43df204f5e6f714b0cd32bc6237e6cd0f34a8f4"
+SRC_URI[sha256sum] = "4d7e4fdef2eca6afe07a2682151cea78781e0a4e8f9622142d9f70c083a2fd4f"
inherit autotools
@@ -14,7 +16,7 @@ EXTRA_AUTORECONF += "--exclude=aclocal"
EXTRA_OECONF = "--disable-nls"
-do_install_append () {
+do_install:append () {
# Make sure we use /usr/bin/env perl
sed -i -e "1s:#!.*:#! /usr/bin/env perl:" ${D}${bindir}/help2man
}
diff --git a/meta/recipes-devtools/i2c-tools/i2c-tools_4.2.bb b/meta/recipes-devtools/i2c-tools/i2c-tools_4.3.bb
index 7a53151d0e..4e43c51496 100644
--- a/meta/recipes-devtools/i2c-tools/i2c-tools_4.2.bb
+++ b/meta/recipes-devtools/i2c-tools/i2c-tools_4.3.bb
@@ -1,13 +1,14 @@
SUMMARY = "Set of i2c tools for linux"
HOMEPAGE = "https://i2c.wiki.kernel.org/index.php/I2C_Tools"
+DESCRIPTION = "The i2c-tools package contains a heterogeneous set of I2C tools for Linux: a bus probing tool, a chip dumper, register-level SMBus access helpers, EEPROM decoding scripts, EEPROM programming tools, and a python module for SMBus access. All versions of Linux are supported, as long as I2C support is included in the kernel."
SECTION = "base"
-LICENSE = "GPLv2+"
+LICENSE = "GPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
SRC_URI = "${KERNELORG_MIRROR}/software/utils/i2c-tools/${BP}.tar.gz \
"
-SRC_URI[sha256sum] = "7de18ed890e111fa54ab7ea896804d5faa4d1f0462a258aad9fbb7a8cc6b60cc"
+SRC_URI[sha256sum] = "eec464e42301d93586cbeca3845ed61bff40f560670e5b35baec57301d438148"
inherit update-alternatives
@@ -21,20 +22,20 @@ do_install() {
}
PACKAGES =+ "${PN}-misc"
-FILES_${PN}-misc = "${sbindir}/i2c-stub-from-dump \
+FILES:${PN}-misc = "${sbindir}/i2c-stub-from-dump \
${bindir}/ddcmon \
${bindir}/decode-edid \
${bindir}/decode-dimms \
${bindir}/decode-vaio \
"
-RDEPENDS_${PN}-misc = "${PN} perl perl-module-posix \
+RDEPENDS:${PN}-misc = "${PN} perl perl-module-posix \
perl-module-constant perl-module-file-basename \
perl-module-fcntl perl-module-strict perl-module-vars \
perl-module-carp \
"
ALTERNATIVE_PRIORITY = "100"
-ALTERNATIVE_${PN} = "i2cdetect i2cdump i2cget i2cset i2ctransfer"
+ALTERNATIVE:${PN} = "i2cdetect i2cdump i2cget i2cset i2ctransfer"
ALTERNATIVE_LINK_NAME[i2cdetect] = "${sbindir}/i2cdetect"
ALTERNATIVE_LINK_NAME[i2cdump] = "${sbindir}/i2cdump"
ALTERNATIVE_LINK_NAME[i2cget] = "${sbindir}/i2cget"
diff --git a/meta/recipes-devtools/icecc-create-env/icecc-create-env_0.1.bb b/meta/recipes-devtools/icecc-create-env/icecc-create-env_0.1.bb
index 231c1c20ec..dd1b257b10 100644
--- a/meta/recipes-devtools/icecc-create-env/icecc-create-env_0.1.bb
+++ b/meta/recipes-devtools/icecc-create-env/icecc-create-env_0.1.bb
@@ -2,15 +2,15 @@ SUMMARY = "icecc environment setup script"
DESCRIPTION = "This is a version of the icecc-create-env script that has \
been modified in order to make it work with OE."
SECTION = "base"
-# source file has just a "GPL" word, but upstream is GPLv2+.
+# source file has just a "GPL" word, but upstream is GPL-2.0-or-later.
# most probably just GPL would be a mistake
-LICENSE = "GPLv2+"
+LICENSE = "GPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://icecc-create-env;beginline=2;endline=5;md5=ae1df3d6a058bfda40b66094c5f6065f"
-PR = "r2"
DEPENDS = ""
INHIBIT_DEFAULT_DEPS = "1"
+ICECC_DISABLED = "1"
# This is needed, because otherwise there is dependency loop from quilt-native
# Dependency loop #1 found:
@@ -26,13 +26,14 @@ INHIBIT_DEFAULT_DEPS = "1"
PATCHTOOL = "patch"
SRC_URI = "file://icecc-create-env"
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
do_install() {
install -d ${D}/${bindir}
- install -m 0755 ${WORKDIR}/icecc-create-env ${D}/${bindir}
+ install -m 0755 ${S}/icecc-create-env ${D}/${bindir}
}
BBCLASSEXTEND = "native nativesdk"
-RDEPENDS_${PN}_class-nativesdk = "patchelf"
+RDEPENDS:${PN}:class-nativesdk = "patchelf"
diff --git a/meta/recipes-devtools/icecc-toolchain/nativesdk-icecc-toolchain_0.1.bb b/meta/recipes-devtools/icecc-toolchain/nativesdk-icecc-toolchain_0.1.bb
index 304ad7fec0..d03d8adcb0 100644
--- a/meta/recipes-devtools/icecc-toolchain/nativesdk-icecc-toolchain_0.1.bb
+++ b/meta/recipes-devtools/icecc-toolchain/nativesdk-icecc-toolchain_0.1.bb
@@ -1,8 +1,9 @@
# Copyright (c) 2018 Joshua Watt, Garmin International,Inc.
# Released under the MIT license (see COPYING.MIT for the terms)
SUMMARY = "Generates Icecream toolchain for SDK"
+DESCRIPTION = "${SUMMARY}"
LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://${WORKDIR}/icecc-env.sh;beginline=2;endline=20;md5=dd6b68c1efed8a9fb04e409b3b287d47"
+LIC_FILES_CHKSUM = "file://${UNPACKDIR}/icecc-env.sh;beginline=2;endline=20;md5=dd6b68c1efed8a9fb04e409b3b287d47"
INHIBIT_DEFAULT_DEPS = "1"
@@ -22,17 +23,17 @@ do_install() {
install -d ${D}${SDKPATHNATIVE}${datadir}/icecream/bin
install -d ${D}${SDKPATHNATIVE}/environment-setup.d/
- install -m 0644 ${WORKDIR}/icecc-env.sh ${D}${SDKPATHNATIVE}/environment-setup.d/
+ install -m 0644 ${UNPACKDIR}/icecc-env.sh ${D}${SDKPATHNATIVE}/environment-setup.d/
sed -i ${D}${SDKPATHNATIVE}/environment-setup.d/icecc-env.sh \
-e 's,@TOOLCHAIN_ENV@,${ENV_NAME},g'
install -d ${D}${SDKPATHNATIVE}/post-relocate-setup.d/
- install -m 0755 ${WORKDIR}/icecc-setup.sh ${D}${SDKPATHNATIVE}/post-relocate-setup.d/
+ install -m 0755 ${UNPACKDIR}/icecc-setup.sh ${D}${SDKPATHNATIVE}/post-relocate-setup.d/
sed -i ${D}${SDKPATHNATIVE}/post-relocate-setup.d/icecc-setup.sh \
-e 's,@TOOLCHAIN_ENV@,${ENV_NAME},g'
}
PACKAGES = "${PN}"
-FILES_${PN} = "${SDKPATHNATIVE}"
-RDEPENDS_${PN} += "nativesdk-icecc-create-env"
+FILES:${PN} = "${SDKPATHNATIVE}"
+RDEPENDS:${PN} += "nativesdk-icecc-create-env"
diff --git a/meta/recipes-devtools/intltool/intltool_0.51.0.bb b/meta/recipes-devtools/intltool/intltool_0.51.0.bb
index ecff2faf25..0f90ab4f1c 100644
--- a/meta/recipes-devtools/intltool/intltool_0.51.0.bb
+++ b/meta/recipes-devtools/intltool/intltool_0.51.0.bb
@@ -1,6 +1,8 @@
SUMMARY = "Utility scripts for internationalizing XML"
+HOMEPAGE = "https://launchpad.net/intltool"
+DESCRIPTION = "Utility scripts for internationalizing XML. This tool automatically extracts translatable strings from oaf, glade, bonobo ui, nautilus theme and other XML files into the po files."
SECTION = "devel"
-LICENSE = "GPLv2"
+LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
SRC_URI = "http://launchpad.net/${BPN}/trunk/${PV}/+download/${BP}.tar.gz \
@@ -15,23 +17,23 @@ SRC_URI[sha256sum] = "67c74d94196b153b774ab9f89b2fa6c6ba79352407037c8c14d5aeb334
UPSTREAM_CHECK_URI = "https://launchpad.net/intltool/trunk/"
DEPENDS = "libxml-parser-perl-native"
-RDEPENDS_${PN} = "gettext-dev libxml-parser-perl"
-DEPENDS_class-native = "libxml-parser-perl-native gettext-native"
+RDEPENDS:${PN} = "gettext-dev libxml-parser-perl"
+DEPENDS:class-native = "libxml-parser-perl-native gettext-native"
inherit autotools pkgconfig perlnative
export PERL = "${bindir}/env perl"
-PERL_class-native = "/usr/bin/env nativeperl"
-PERL_class-nativesdk = "/usr/bin/env perl"
+PERL:class-native = "/usr/bin/env nativeperl"
+PERL:class-nativesdk = "/usr/bin/env perl"
# gettext is assumed to exist on the host
-RDEPENDS_${PN}_class-native = "libxml-parser-perl-native"
-RRECOMMENDS_${PN} = "perl-modules"
-RRECOMMENDS_${PN}_class-native = ""
+RDEPENDS:${PN}:class-native = "libxml-parser-perl-native"
+RRECOMMENDS:${PN} = "perl-modules"
+RRECOMMENDS:${PN}:class-native = ""
-FILES_${PN}-dev = ""
-FILES_${PN} += "${datadir}/aclocal"
+FILES:${PN}-dev = ""
+FILES:${PN} += "${datadir}/aclocal"
-INSANE_SKIP_${PN} += "dev-deps"
+INSANE_SKIP:${PN} += "dev-deps"
BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/jquery/jquery_3.5.1.bb b/meta/recipes-devtools/jquery/jquery_3.7.1.bb
index 62f0dfb0c5..33147b493c 100644
--- a/meta/recipes-devtools/jquery/jquery_3.5.1.bb
+++ b/meta/recipes-devtools/jquery/jquery_3.7.1.bb
@@ -1,8 +1,9 @@
SUMMARY = "jQuery is a fast, small, and feature-rich JavaScript library"
HOMEPAGE = "https://jquery.com/"
+DESCRIPTION = "${SUMMARY}"
LICENSE = "MIT"
SECTION = "devel"
-LIC_FILES_CHKSUM = "file://${S}/${BP}.js;beginline=8;endline=10;md5=ebd7bc5d23ab165188e526a0c65d24bb"
+LIC_FILES_CHKSUM = "file://${S}/${BP}.js;beginline=5;endline=7;md5=9c7c6e9ab275fc1e0d99cb7180ecd14c"
# unpack items to ${S} so the archiver can see them
#
@@ -12,12 +13,16 @@ SRC_URI = "\
https://code.jquery.com/${BP}.min.map;name=map;subdir=${BP} \
"
-SRC_URI[js.sha256sum] = "416a3b2c3bf16d64f6b5b6d0f7b079df2267614dd6847fc2f3271b4409233c37"
-SRC_URI[min.sha256sum] = "f7f6a5894f1d19ddad6fa392b2ece2c5e578cbf7da4ea805b6885eb6985b6e3d"
-SRC_URI[map.sha256sum] = "511d6f6d3e7acec78cd2505f04282b6e01329b4c24931f39d91739d0d1ddeef8"
+SRC_URI[js.sha256sum] = "78a85aca2f0b110c29e0d2b137e09f0a1fb7a8e554b499f740d6744dc8962cfe"
+SRC_URI[min.sha256sum] = "fc9a93dd241f6b045cbff0481cf4e1901becd0e12fb45166a8f17f95823f0b1a"
+SRC_URI[map.sha256sum] = "5e7d6d9c28b7f21006535e8875eb47e9667852a14c4624eed301c6cea19ae62b"
UPSTREAM_CHECK_REGEX = "jquery-(?P<pver>\d+(\.\d+)+)\.js"
+# https://github.com/jquery/jquery/issues/3927
+CVE_STATUS[CVE-2007-2379] = "upstream-wontfix: There are ways jquery can expose security issues but any issues \
+are in the apps exposing them and there is little we can directly do."
+
inherit allarch
do_install() {
@@ -28,6 +33,6 @@ do_install() {
}
PACKAGES = "${PN}"
-FILES_${PN} = "${datadir}"
+FILES:${PN} = "${datadir}"
BBCLASSEXTEND += "native nativesdk"
diff --git a/meta/recipes-devtools/json-c/json-c/run-ptest b/meta/recipes-devtools/json-c/json-c/run-ptest
new file mode 100644
index 0000000000..2d0e94cd3a
--- /dev/null
+++ b/meta/recipes-devtools/json-c/json-c/run-ptest
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+# This script is used to run json-c test suites
+cd tests
+
+ret_val=0
+for i in test*.test; do
+ # test_basic is not an own testcase, just
+ # contains common code of other tests
+ if [ "$i" != "test_basic.test" ]; then
+ if ./$i >> json-c_test.log 2>&1 ; then
+ echo PASS: $i
+ else
+ ret_val=1
+ echo FAIL: $i
+ fi
+ fi
+done
+
+exit $ret_val
diff --git a/meta/recipes-devtools/json-c/json-c_0.15.bb b/meta/recipes-devtools/json-c/json-c_0.15.bb
deleted file mode 100644
index 2968590dd8..0000000000
--- a/meta/recipes-devtools/json-c/json-c_0.15.bb
+++ /dev/null
@@ -1,18 +0,0 @@
-SUMMARY = "C bindings for apps which will manipulate JSON data"
-DESCRIPTION = "JSON-C implements a reference counting object model that allows you to easily construct JSON objects in C."
-HOMEPAGE = "https://github.com/json-c/json-c/wiki"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://COPYING;md5=de54b60fbbc35123ba193fea8ee216f2"
-
-SRC_URI = "https://s3.amazonaws.com/json-c_releases/releases/${BP}.tar.gz"
-
-SRC_URI[sha256sum] = "b8d80a1ddb718b3ba7492916237bbf86609e9709fb007e7f7d4322f02341a4c6"
-
-UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases"
-UPSTREAM_CHECK_REGEX = "json-c-(?P<pver>\d+(\.\d+)+)-\d+"
-
-RPROVIDES_${PN} = "libjson"
-
-inherit cmake
-
-BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/json-c/json-c_0.17.bb b/meta/recipes-devtools/json-c/json-c_0.17.bb
new file mode 100644
index 0000000000..20bcece768
--- /dev/null
+++ b/meta/recipes-devtools/json-c/json-c_0.17.bb
@@ -0,0 +1,34 @@
+SUMMARY = "C bindings for apps which will manipulate JSON data"
+DESCRIPTION = "JSON-C implements a reference counting object model that allows you to easily construct JSON objects in C."
+HOMEPAGE = "https://github.com/json-c/json-c/wiki"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://COPYING;md5=de54b60fbbc35123ba193fea8ee216f2"
+
+SRC_URI = "https://s3.amazonaws.com/json-c_releases/releases/${BP}.tar.gz \
+ file://run-ptest \
+ "
+SRC_URI[sha256sum] = "7550914d58fb63b2c3546f3ccfbe11f1c094147bd31a69dcd23714d7956159e6"
+
+# NVD uses full tag name including date
+CVE_VERSION = "0.17-20230812"
+
+UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/tags"
+UPSTREAM_CHECK_REGEX = "json-c-(?P<pver>\d+(\.\d+)+)-\d+"
+
+RPROVIDES:${PN} = "libjson"
+
+# Required for ICECC builds
+EXTRA_OECMAKE = "-DDISABLE_WERROR=ON"
+
+inherit cmake ptest
+
+do_install_ptest() {
+ install -d ${D}/${PTEST_PATH}/tests
+ install ${B}/tests/test* ${D}/${PTEST_PATH}/tests
+ install ${S}/tests/*.test ${D}/${PTEST_PATH}/tests
+ install ${S}/tests/*.expected ${D}/${PTEST_PATH}/tests
+ install ${S}/tests/test-defs.sh ${D}/${PTEST_PATH}/tests
+ install ${S}/tests/*json ${D}/${PTEST_PATH}/tests
+}
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/libcomps/libcomps/0001-Add-crc32.c-to-sources-list.patch b/meta/recipes-devtools/libcomps/libcomps/0001-Add-crc32.c-to-sources-list.patch
deleted file mode 100644
index f4fb6d3b20..0000000000
--- a/meta/recipes-devtools/libcomps/libcomps/0001-Add-crc32.c-to-sources-list.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-From 72065bb2b5881dc224299f302379391aebdfca3d Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin <alex.kanavin@gmail.com>
-Date: Wed, 21 Nov 2018 13:09:05 +0100
-Subject: [PATCH 1/2] Add crc32.c to sources list
-
-Otherwise, there is a missing symbol runtime error under musl C library.
-
-Upstream-Status: Pending
-Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
----
- libcomps/src/python/src/CMakeLists.txt | 4 ++--
- libcomps/src/python/src/crc32.c | 2 +-
- 2 files changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/libcomps/src/python/src/CMakeLists.txt b/libcomps/src/python/src/CMakeLists.txt
-index adabb31..b9b96ab 100644
---- a/libcomps/src/python/src/CMakeLists.txt
-+++ b/libcomps/src/python/src/CMakeLists.txt
-@@ -9,13 +9,13 @@ set (pycomps_SRCDIR ${CMAKE_CURRENT_SOURCE_DIR})
- set (pycomps_SRC pycomps.c pycomps_sequence.c
- pycomps_envs.c pycomps_categories.c pycomps_groups.c
- pycomps_gids.c pycomps_utils.c pycomps_dict.c pycomps_mdict.c
-- pycomps_hash.c pycomps_exc.c pycomps_lbw.c)
-+ pycomps_hash.c pycomps_exc.c pycomps_lbw.c crc32.c)
-
- set (pycomps_HEADERS pycomps_23macros.h pycomps_sequence.h
- pycomps_envs.h pycomps_categories.h pycomps_groups.h
- pycomps_gids.h pycomps_utils.h pycomps_dict.h pycomps_mdict.h
- pycomps_hash.h pycomps_exc.h pycomps_lbw.h
-- pycomps_types.h)
-+ pycomps_types.h crc32.h)
-
- #set(TEST_FILES ../__init__.py __test.py test_merge_comps.py test_libcomps.py
- # utest.py)
-diff --git a/libcomps/src/python/src/crc32.c b/libcomps/src/python/src/crc32.c
-index d8f5e34..f266067 100644
---- a/libcomps/src/python/src/crc32.c
-+++ b/libcomps/src/python/src/crc32.c
-@@ -41,7 +41,7 @@
- */
-
- #include <sys/param.h>
--#include <sys/systm.h>
-+#include <stdint.h>
-
- static uint32_t crc32_tab[] = {
- 0x00000000, 0x77073096, 0xee0e612c, 0x990951ba, 0x076dc419, 0x706af48f,
---
-2.26.2
-
diff --git a/meta/recipes-devtools/libcomps/libcomps/0002-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch b/meta/recipes-devtools/libcomps/libcomps/0002-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch
index 3e9102605b..6cd052889a 100644
--- a/meta/recipes-devtools/libcomps/libcomps/0002-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch
+++ b/meta/recipes-devtools/libcomps/libcomps/0002-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch
@@ -10,18 +10,18 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libcomps/src/python/src/CMakeLists.txt b/libcomps/src/python/src/CMakeLists.txt
-index b9b96ab..6d44567 100644
+index f813af4..9eebb6c 100644
--- a/libcomps/src/python/src/CMakeLists.txt
+++ b/libcomps/src/python/src/CMakeLists.txt
-@@ -115,7 +115,7 @@ IF (SKBUILD)
+@@ -85,7 +85,7 @@ IF (SKBUILD)
INSTALL(FILES libcomps/__init__.py DESTINATION libcomps/src/python/src/libcomps)
INSTALL(TARGETS pycomps LIBRARY DESTINATION libcomps/src/python/src/libcomps)
ELSE ()
-- EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} -c "from sys import stdout; from distutils import sysconfig; stdout.write(sysconfig.get_python_lib(True))" OUTPUT_VARIABLE PYTHON_INSTALL_DIR)
-+ #EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} -c "from sys import stdout; from distutils import sysconfig; stdout.write(sysconfig.get_python_lib(True))" OUTPUT_VARIABLE PYTHON_INSTALL_DIR)
+- EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} -c "from sys import stdout; from sysconfig import get_path; stdout.write(get_path('platlib'))" OUTPUT_VARIABLE PYTHON_INSTALL_DIR)
++ #EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} -c "from sys import stdout; from sysconfig import get_path; stdout.write(get_path('platlib'))" OUTPUT_VARIABLE PYTHON_INSTALL_DIR)
INSTALL(FILES ${pycomps_SRCDIR}/libcomps/__init__.py DESTINATION ${PYTHON_INSTALL_DIR}/libcomps)
#INSTALL(FILES ${pycomps_SRCDIR}/tests/__test.py DESTINATION
--
-2.26.2
+2.25.1
diff --git a/meta/recipes-devtools/libcomps/libcomps_0.1.15.bb b/meta/recipes-devtools/libcomps/libcomps_0.1.15.bb
deleted file mode 100644
index 98c55dca85..0000000000
--- a/meta/recipes-devtools/libcomps/libcomps_0.1.15.bb
+++ /dev/null
@@ -1,22 +0,0 @@
-SUMMARY = "Libcomps is alternative for yum.comps library (which is for managing rpm package groups)."
-LICENSE = "GPLv2"
-LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
-
-SRC_URI = "git://github.com/rpm-software-management/libcomps.git \
- file://0001-Add-crc32.c-to-sources-list.patch \
- file://0002-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch \
- "
-
-SRCREV = "b213f749405d84e989b25e183bcf28ce701696dd"
-
-S = "${WORKDIR}/git"
-
-inherit cmake distutils3-base
-
-DEPENDS += "libxml2 expat libcheck"
-
-EXTRA_OECMAKE = " -DPYTHON_INSTALL_DIR=${PYTHON_SITEPACKAGES_DIR} -DPYTHON_DESIRED=3"
-OECMAKE_SOURCEPATH = "${S}/libcomps"
-
-BBCLASSEXTEND = "native nativesdk"
-
diff --git a/meta/recipes-devtools/libcomps/libcomps_0.1.21.bb b/meta/recipes-devtools/libcomps/libcomps_0.1.21.bb
new file mode 100644
index 0000000000..91170dfbed
--- /dev/null
+++ b/meta/recipes-devtools/libcomps/libcomps_0.1.21.bb
@@ -0,0 +1,25 @@
+SUMMARY = "Libcomps is alternative for yum.comps library (which is for managing rpm package groups)."
+HOMEPAGE = "https://github.com/rpm-software-management/libcomps"
+DESCRIPTION = "Libcomps is alternative for yum.comps library. It's written in pure C as library and there's bindings for python2 and python3."
+LICENSE = "GPL-2.0-only"
+LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
+
+SRC_URI = "git://github.com/rpm-software-management/libcomps.git;branch=master;protocol=https \
+ file://0002-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch \
+ "
+
+SRCREV = "2e973ce22698dd64f472180e3a689755268fb06b"
+
+S = "${WORKDIR}/git"
+
+inherit cmake setuptools3-base
+
+DEPENDS = "expat libxml2 zlib"
+
+EXTRA_OECMAKE = "-DPYTHON_INSTALL_DIR=${PYTHON_SITEPACKAGES_DIR} \
+ -DENABLE_DOCS=OFF \
+ -DENABLE_TESTS=OFF"
+
+OECMAKE_SOURCEPATH = "${S}/libcomps"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/libdnf/libdnf/0001-Add-WITH_TESTS-option.patch b/meta/recipes-devtools/libdnf/libdnf/0001-Add-WITH_TESTS-option.patch
deleted file mode 100644
index 384add5e12..0000000000
--- a/meta/recipes-devtools/libdnf/libdnf/0001-Add-WITH_TESTS-option.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-From 7d60d62b5c5374156703ca7262fb2f85ec5db119 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin <alex.kanavin@gmail.com>
-Date: Tue, 6 Nov 2018 13:54:43 +0100
-Subject: [PATCH] Add WITH_TESTS option
-
-This makes a dependency on cppunit optional.
-
-Upstream-Status: Pending
-Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
-
----
- CMakeLists.txt | 3 +++
- python/hawkey/CMakeLists.txt | 2 ++
- 2 files changed, 5 insertions(+)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 9c6e1b2f..8599c540 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -33,6 +33,7 @@ option(WITH_MAN "Enables hawkey man page generation" ON)
- option(WITH_ZCHUNK "Build with zchunk support" ON)
- option(ENABLE_RHSM_SUPPORT "Build with Red Hat Subscription Manager support?" OFF)
- option(ENABLE_SOLV_URPMREORDER "Build with support for URPM-like solution reordering?" OFF)
-+option(WITH_TESTS "Enables unit tests" ON)
-
-
- # build options - debugging
-@@ -179,8 +180,10 @@ endif()
-
-
- # build tests
-+IF (WITH_TESTS)
- enable_testing()
- add_subdirectory(tests)
-+ENDIF()
- if(WITH_BINDINGS)
- add_subdirectory(python/hawkey)
- endif()
-diff --git a/python/hawkey/CMakeLists.txt b/python/hawkey/CMakeLists.txt
-index d9645346..84d17204 100644
---- a/python/hawkey/CMakeLists.txt
-+++ b/python/hawkey/CMakeLists.txt
-@@ -50,4 +50,6 @@ target_link_libraries(_hawkeymodule ${PYTHON_LIBRARY})
- install(FILES __init__.py DESTINATION ${PYTHON_INSTALL_DIR}/hawkey)
- install(TARGETS _hawkeymodule LIBRARY DESTINATION ${PYTHON_INSTALL_DIR}/hawkey)
-
-+IF (WITH_TESTS)
- add_subdirectory(tests)
-+ENDIF()
diff --git a/meta/recipes-devtools/libdnf/libdnf/0001-FindGtkDoc.cmake-drop-the-requirement-for-GTKDOC_SCA.patch b/meta/recipes-devtools/libdnf/libdnf/0001-FindGtkDoc.cmake-drop-the-requirement-for-GTKDOC_SCA.patch
index 791a32e748..046e09eab2 100644
--- a/meta/recipes-devtools/libdnf/libdnf/0001-FindGtkDoc.cmake-drop-the-requirement-for-GTKDOC_SCA.patch
+++ b/meta/recipes-devtools/libdnf/libdnf/0001-FindGtkDoc.cmake-drop-the-requirement-for-GTKDOC_SCA.patch
@@ -1,7 +1,7 @@
-From 9bb7630915c3e787732463a3e2064fe0e177101b Mon Sep 17 00:00:00 2001
+From 5d6db56791d326e6b486dca54fe2335af0225229 Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex.kanavin@gmail.com>
Date: Thu, 24 Nov 2016 14:33:07 +0200
-Subject: [PATCH 1/4] FindGtkDoc.cmake: drop the requirement for
+Subject: [PATCH] FindGtkDoc.cmake: drop the requirement for
GTKDOC_SCANGOBJ_WRAPPER
For some reason cmake is not able to find it when building in openembedded,
@@ -14,7 +14,7 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmake/modules/FindGtkDoc.cmake b/cmake/modules/FindGtkDoc.cmake
-index 92b2cc7..39f34bd 100644
+index 92b2cc7e..39f34bd5 100644
--- a/cmake/modules/FindGtkDoc.cmake
+++ b/cmake/modules/FindGtkDoc.cmake
@@ -52,7 +52,7 @@ find_program(GTKDOC_MKHTML_EXE gtkdoc-mkhtml PATH "${GLIB_PREFIX}/bin")
@@ -26,6 +26,3 @@ index 92b2cc7..39f34bd 100644
VERSION_VAR GtkDoc_VERSION)
# ::
---
-2.11.0
-
diff --git a/meta/recipes-devtools/libdnf/libdnf/0001-Get-parameters-for-both-libsolv-and-libsolvext-libdn.patch b/meta/recipes-devtools/libdnf/libdnf/0001-Get-parameters-for-both-libsolv-and-libsolvext-libdn.patch
index 10450defbe..223c1be218 100644
--- a/meta/recipes-devtools/libdnf/libdnf/0001-Get-parameters-for-both-libsolv-and-libsolvext-libdn.patch
+++ b/meta/recipes-devtools/libdnf/libdnf/0001-Get-parameters-for-both-libsolv-and-libsolvext-libdn.patch
@@ -1,4 +1,4 @@
-From 9294cd19e5e3121fb8d37b44ee82dd7c4b3ab2c7 Mon Sep 17 00:00:00 2001
+From bf9bde4af952b67cc357d25b9863889099ea9665 Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex.kanavin@gmail.com>
Date: Tue, 7 Feb 2017 12:16:03 +0200
Subject: [PATCH] Get parameters for both libsolv and libsolvext (libdnf is
@@ -7,21 +7,20 @@ Subject: [PATCH] Get parameters for both libsolv and libsolvext (libdnf is
Upstream-Status: Submitted [https://github.com/rpm-software-management/libdnf/pull/312]
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
-
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
-index b722d4fb..ce88b9e3 100644
+index e99b28d0..548a9137 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
-@@ -45,7 +45,7 @@ endif()
+@@ -51,7 +51,7 @@ endif()
+
# build dependencies
- find_package(Gpgme REQUIRED)
-PKG_CHECK_MODULES (LIBSOLV REQUIRED libsolv)
+PKG_CHECK_MODULES (LIBSOLV REQUIRED libsolv libsolvext)
set(LIBSOLV_LIBRARY ${LIBSOLV_LIBRARIES})
- find_package(OpenSSL REQUIRED)
+
diff --git a/meta/recipes-devtools/libdnf/libdnf/0001-Look-fo-sphinx-only-if-documentation-is-actually-ena.patch b/meta/recipes-devtools/libdnf/libdnf/0001-Look-fo-sphinx-only-if-documentation-is-actually-ena.patch
deleted file mode 100644
index 6dd7c71aae..0000000000
--- a/meta/recipes-devtools/libdnf/libdnf/0001-Look-fo-sphinx-only-if-documentation-is-actually-ena.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-From b570c7f8bd089deec7da2b108aa789a27025a473 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin <alex.kanavin@gmail.com>
-Date: Tue, 19 Nov 2019 13:46:09 +0100
-Subject: [PATCH] Look fo sphinx only if documentation is actually enabled
-
-Upstream-Status: Pending
-Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
----
- docs/hawkey/CMakeLists.txt | 20 +++++++++++---------
- 1 file changed, 11 insertions(+), 9 deletions(-)
-
-diff --git a/docs/hawkey/CMakeLists.txt b/docs/hawkey/CMakeLists.txt
-index 52cc35c6..63c7672f 100644
---- a/docs/hawkey/CMakeLists.txt
-+++ b/docs/hawkey/CMakeLists.txt
-@@ -2,15 +2,17 @@
- # tell sphinx-build to do them both in one go:
-
-
--find_program(SPHINX_PROGRAM NAMES "sphinx-build-${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}")
--if(NOT EXISTS ${SPHINX_PROGRAM})
-- find_program(SPHINX_PROGRAM NAMES sphinx-build-${PYTHON_VERSION_MAJOR})
--endif()
--if(NOT EXISTS ${SPHINX_PROGRAM})
-- find_program(SPHINX_PROGRAM NAMES sphinx-build)
--endif()
--if(NOT EXISTS ${SPHINX_PROGRAM})
-- message(FATAL_ERROR "Sphinx program not found." )
-+if (WITH_HTML OR WITH_MAN)
-+ find_program(SPHINX_PROGRAM NAMES "sphinx-build-${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}")
-+ if(NOT EXISTS ${SPHINX_PROGRAM})
-+ find_program(SPHINX_PROGRAM NAMES sphinx-build-${PYTHON_VERSION_MAJOR})
-+ endif()
-+ if(NOT EXISTS ${SPHINX_PROGRAM})
-+ find_program(SPHINX_PROGRAM NAMES sphinx-build)
-+ endif()
-+ if(NOT EXISTS ${SPHINX_PROGRAM})
-+ message(FATAL_ERROR "Sphinx program not found." )
-+ endif()
- endif()
-
- if(WITH_HTML)
diff --git a/meta/recipes-devtools/libdnf/libdnf/0001-drop-FindPythonInstDir.cmake.patch b/meta/recipes-devtools/libdnf/libdnf/0001-drop-FindPythonInstDir.cmake.patch
new file mode 100644
index 0000000000..27f76077d7
--- /dev/null
+++ b/meta/recipes-devtools/libdnf/libdnf/0001-drop-FindPythonInstDir.cmake.patch
@@ -0,0 +1,39 @@
+From a6b3bc4fb3db996cd6c5616a99c16d085704dae0 Mon Sep 17 00:00:00 2001
+From: Hongxu Jia <hongxu.jia@windriver.com>
+Date: Tue, 1 Jun 2021 10:23:59 +0800
+Subject: [PATCH] drop FindPythonInstDir.cmake
+
+Since commit [1] applied, PYTHON_INSTALL_DIR is not right
+on nativesdk build
+...
+|Building for python3
+|-- Python install dir is
+|tmp-glibc/work/x86_64-nativesdk-wrlinuxsdk-linux/nativesdk-libdnf/0.63.0-r0/
+recipe-sysroot-native/usr/lib/python3.9/site-packages
+...
+
+Yocto manually set PYTHON_INSTALL_DIR from recipe, it is not
+necessary to call FindPythonInstDir.cmake which will override
+Yocto setting
+
+[1] https://github.com/rpm-software-management/libdnf/commit/f1cffbfb9f338da827e233c2d8ac3a25a6a59a69
+
+Upstream-Status: Inappropriate [Yocto specific]
+
+Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
+---
+ cmake/modules/FindPythonInstDir.cmake | 7 +------
+ 1 file changed, 1 insertion(+), 6 deletions(-)
+
+diff --git a/cmake/modules/FindPythonInstDir.cmake b/cmake/modules/FindPythonInstDir.cmake
+index ed098ded..8b137891 100644
+--- a/cmake/modules/FindPythonInstDir.cmake
++++ b/cmake/modules/FindPythonInstDir.cmake
+@@ -1,6 +1 @@
+-EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} -c "
+-from sys import stdout
+-from sysconfig import get_path
+-path=get_path(name='platlib', vars={'platbase':'${CMAKE_INSTALL_PREFIX}'})
+-stdout.write(path)"
+-OUTPUT_VARIABLE PYTHON_INSTALL_DIR)
++
diff --git a/meta/recipes-devtools/libdnf/libdnf/0004-Set-libsolv-variables-with-pkg-config-cmake-s-own-mo.patch b/meta/recipes-devtools/libdnf/libdnf/0004-Set-libsolv-variables-with-pkg-config-cmake-s-own-mo.patch
index 475c8f120b..ecab47e5af 100644
--- a/meta/recipes-devtools/libdnf/libdnf/0004-Set-libsolv-variables-with-pkg-config-cmake-s-own-mo.patch
+++ b/meta/recipes-devtools/libdnf/libdnf/0004-Set-libsolv-variables-with-pkg-config-cmake-s-own-mo.patch
@@ -1,4 +1,4 @@
-From 18c2c06017784cd641cc8a3deee5fc472008f7f4 Mon Sep 17 00:00:00 2001
+From e40def862bdeb10da295b15c5904fe2829d391c7 Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex.kanavin@gmail.com>
Date: Fri, 30 Dec 2016 18:24:50 +0200
Subject: [PATCH] Set libsolv variables with pkg-config (cmake's own module
@@ -7,22 +7,21 @@ Subject: [PATCH] Set libsolv variables with pkg-config (cmake's own module
Upstream-Status: Submitted [https://github.com/rpm-software-management/libdnf/pull/312]
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
-
---
CMakeLists.txt | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 16b63308..b722d4fb 100644
+index 6444c374..e99b28d0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
-@@ -45,7 +45,8 @@ endif()
+@@ -51,7 +51,8 @@ endif()
+
# build dependencies
- find_package(Gpgme REQUIRED)
--find_package(LibSolv 0.6.30 REQUIRED COMPONENTS ext)
+-find_package(LibSolv 0.7.21 REQUIRED COMPONENTS ext)
+PKG_CHECK_MODULES (LIBSOLV REQUIRED libsolv)
+set(LIBSOLV_LIBRARY ${LIBSOLV_LIBRARIES})
- find_package(OpenSSL REQUIRED)
+ # build dependencies via pkg-config
diff --git a/meta/recipes-devtools/libdnf/libdnf/armarch.patch b/meta/recipes-devtools/libdnf/libdnf/armarch.patch
new file mode 100644
index 0000000000..63debdb58f
--- /dev/null
+++ b/meta/recipes-devtools/libdnf/libdnf/armarch.patch
@@ -0,0 +1,50 @@
+From aa0f8b65feec64420a9b7b61cfcc8bcce161e14b Mon Sep 17 00:00:00 2001
+From: Richard Purdie <richard.purdie@linuxfoundation.org>
+Date: Thu, 9 Nov 2023 10:29:31 +0000
+Subject: [PATCH] libdnf: Fix arm arch mapping issues for qemuarmv5
+
+We change the way rpm architectures work, we make the machine name the default machine
+specific package architecture.
+
+This arm mapping code can work or in the case of qemuarmv5, it doesn't as it creates
+armv5hl which doesn't exist and causes errrors. We can simply remove it, we don't need it.
+
+Upstream-Status: Inappropriate [Relies on OE rpm config]
+---
+ libdnf/hy-util.cpp | 23 -----------------------
+ 1 file changed, 23 deletions(-)
+
+diff --git a/libdnf/hy-util.cpp b/libdnf/hy-util.cpp
+index 9978c8e9..aa1369b6 100644
+--- a/libdnf/hy-util.cpp
++++ b/libdnf/hy-util.cpp
+@@ -117,29 +117,6 @@ hy_detect_arch(char **arch)
+ if (uname(&un) < 0)
+ return DNF_ERROR_FAILED;
+
+- if (!strncmp(un.machine, "armv", 4)) {
+- /* un.machine is armvXE, where X is version number and E is
+- * endianness (b or l); we need to add modifiers such as
+- * h (hardfloat), n (neon). Neon is a requirement of armv8 so
+- * as far as rpm is concerned armv8l is the equivilent of armv7hnl
+- * (or 7hnb) so we don't explicitly add 'n' for 8+ as it's expected. */
+- char endian = un.machine[strlen(un.machine)-1];
+- char *modifier = un.machine + 5;
+- while(isdigit(*modifier)) /* keep armv7, armv8, armv9, armv10, armv100, ... */
+- modifier++;
+- if (getauxval(AT_HWCAP) & HWCAP_ARM_VFP)
+- *modifier++ = 'h';
+- if ((atoi(un.machine+4) == 7) && (getauxval(AT_HWCAP) & HWCAP_ARM_NEON))
+- *modifier++ = 'n';
+- *modifier++ = endian;
+- *modifier = 0;
+- }
+-#ifdef __MIPSEL__
+- if (!strcmp(un.machine, "mips"))
+- strcpy(un.machine, "mipsel");
+- else if (!strcmp(un.machine, "mips64"))
+- strcpy(un.machine, "mips64el");
+-#endif
+ *arch = g_strdup(un.machine);
+ return 0;
+ }
diff --git a/meta/recipes-devtools/libdnf/libdnf/enable_test_data_dir_set.patch b/meta/recipes-devtools/libdnf/libdnf/enable_test_data_dir_set.patch
index e3784cc9e4..e4f6d447f1 100644
--- a/meta/recipes-devtools/libdnf/libdnf/enable_test_data_dir_set.patch
+++ b/meta/recipes-devtools/libdnf/libdnf/enable_test_data_dir_set.patch
@@ -1,4 +1,7 @@
-libdnf: allow reproducible binary builds
+From 25229773a9d4472235278bb45f75439e56630cee Mon Sep 17 00:00:00 2001
+From: Joe Slater <joe.slater@windriver.com>
+Date: Wed, 22 Jul 2020 13:31:11 -0700
+Subject: [PATCH] libdnf: allow reproducible binary builds
Use a dummy directory for test data if not built WITH_TESTS. Allow for overriding
TESTDATADIR, since the default is guaranteed to be wrong for target builds.
@@ -6,12 +9,16 @@ TESTDATADIR, since the default is guaranteed to be wrong for target builds.
Upstream-Status: Pending
Signed-off-by: Joe Slater <joe.slater@windriver.com>
+---
+ CMakeLists.txt | 7 ++++++-
+ 1 file changed, 6 insertions(+), 1 deletion(-)
-
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 548a9137..c378e7d9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
-@@ -133,7 +133,12 @@ add_definitions(-DG_LOG_DOMAIN=\\"libdnf
- add_definitions(-D_FILE_OFFSET_BITS=64)
+@@ -132,7 +132,12 @@ add_definitions(-DGETTEXT_DOMAIN=\\"libdnf\\")
+ add_definitions(-DG_LOG_DOMAIN=\\"libdnf\\")
# tests
-add_definitions(-DTESTDATADIR=\\"${CMAKE_SOURCE_DIR}/data/tests\\")
diff --git a/meta/recipes-devtools/libdnf/libdnf_0.55.0.bb b/meta/recipes-devtools/libdnf/libdnf_0.73.1.bb
index 07b3df40d3..3ab840b1b0 100644
--- a/meta/recipes-devtools/libdnf/libdnf_0.55.0.bb
+++ b/meta/recipes-devtools/libdnf/libdnf_0.73.1.bb
@@ -1,24 +1,26 @@
SUMMARY = "Library providing simplified C and Python API to libsolv"
-LICENSE = "LGPLv2.1+"
+HOMEPAGE = "https://github.com/rpm-software-management/libdnf"
+DESCRIPTION = "This library provides a high level package-manager. It's core library of dnf, PackageKit and rpm-ostree. It's replacement for deprecated hawkey library which it contains inside and uses librepo under the hood."
+LICENSE = "LGPL-2.1-or-later"
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
-SRC_URI = "git://github.com/rpm-software-management/libdnf;branch=dnf-4-master \
+SRC_URI = "git://github.com/rpm-software-management/libdnf;branch=dnf-4-master;protocol=https \
file://0001-FindGtkDoc.cmake-drop-the-requirement-for-GTKDOC_SCA.patch \
file://0004-Set-libsolv-variables-with-pkg-config-cmake-s-own-mo.patch \
file://0001-Get-parameters-for-both-libsolv-and-libsolvext-libdn.patch \
- file://0001-Add-WITH_TESTS-option.patch \
- file://0001-Look-fo-sphinx-only-if-documentation-is-actually-ena.patch \
file://enable_test_data_dir_set.patch \
+ file://0001-drop-FindPythonInstDir.cmake.patch \
+ file://armarch.patch \
"
-SRCREV = "3f8981c9c5066e5243b695c904031b90f8d57d4a"
-UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)"
+SRCREV = "0120e70747dcf05e716792e2e846c62eccd44319"
+UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(?!4\.90)\d+(\.\d+)+)"
S = "${WORKDIR}/git"
-DEPENDS = "glib-2.0 libsolv libcheck librepo rpm gtk-doc libmodulemd json-c swig-native"
+DEPENDS = "glib-2.0 libsolv libcheck librepo rpm gtk-doc libmodulemd json-c swig-native util-linux"
-inherit gtk-doc gobject-introspection cmake pkgconfig distutils3-base
+inherit gtk-doc gobject-introspection cmake pkgconfig setuptools3-base
EXTRA_OECMAKE = " -DPYTHON_INSTALL_DIR=${PYTHON_SITEPACKAGES_DIR} -DWITH_MAN=OFF -DPYTHON_DESIRED=3 \
${@bb.utils.contains('GI_DATA_ENABLED', 'True', '-DWITH_GIR=ON', '-DWITH_GIR=OFF', d)} \
@@ -26,9 +28,9 @@ EXTRA_OECMAKE = " -DPYTHON_INSTALL_DIR=${PYTHON_SITEPACKAGES_DIR} -DWITH_MAN=OFF
-DWITH_ZCHUNK=OFF \
-DWITH_HTML=OFF \
"
-EXTRA_OECMAKE_append_class-native = " -DWITH_GIR=OFF"
-EXTRA_OECMAKE_append_class-nativesdk = " -DWITH_GIR=OFF"
+EXTRA_OECMAKE:append:class-native = " -DWITH_GIR=OFF"
+EXTRA_OECMAKE:append:class-nativesdk = " -DWITH_GIR=OFF"
BBCLASSEXTEND = "native nativesdk"
-PNBLACKLIST[libdnf] ?= "${@bb.utils.contains('PACKAGE_CLASSES', 'package_rpm', '', 'Does not build without package_rpm in PACKAGE_CLASSES due disabled rpm support in libsolv', d)}"
+SKIP_RECIPE[libdnf] ?= "${@bb.utils.contains('PACKAGE_CLASSES', 'package_rpm', '', 'Does not build without package_rpm in PACKAGE_CLASSES due disabled rpm support in libsolv', d)}"
diff --git a/meta/recipes-devtools/libedit/libedit_20191231-3.1.bb b/meta/recipes-devtools/libedit/libedit_20240517-3.1.bb
index 8d2d57a930..f8fa871ec9 100644
--- a/meta/recipes-devtools/libedit/libedit_20191231-3.1.bb
+++ b/meta/recipes-devtools/libedit/libedit_20240517-3.1.bb
@@ -13,13 +13,12 @@ inherit autotools
SRC_URI = "http://www.thrysoee.dk/editline/${BP}.tar.gz \
file://stdc-predef.patch \
"
-SRC_URI[md5sum] = "2e22a51131de94ff2df24901f7cfe416"
-SRC_URI[sha256sum] = "dbb82cb7e116a5f8025d35ef5b4f7d4a3cdd0a3909a146a39112095a2d229071"
+SRC_URI[sha256sum] = "3a489097bb4115495f3bd85ae782852b7097c556d9500088d74b6fa38dbd12ff"
BBCLASSEXTEND = "native nativesdk"
inherit update-alternatives
ALTERNATIVE_PRIORITY = "90"
-ALTERNATIVE_${PN}-doc = "history.3"
+ALTERNATIVE:${PN}-doc = "history.3"
ALTERNATIVE_LINK_NAME[history.3] = "${mandir}/man3/history.3"
diff --git a/meta/recipes-devtools/libmodulemd/libmodulemd/0001-modulemd-generate-the-manpage-only-if-the-feature-is.patch b/meta/recipes-devtools/libmodulemd/libmodulemd/0001-modulemd-generate-the-manpage-only-if-the-feature-is.patch
deleted file mode 100644
index d5c87a1154..0000000000
--- a/meta/recipes-devtools/libmodulemd/libmodulemd/0001-modulemd-generate-the-manpage-only-if-the-feature-is.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From a04fd2c8ac9e0f7a6fc17f02b2a95227b3d0aae4 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin <alex.kanavin@gmail.com>
-Date: Tue, 31 Mar 2020 16:06:39 +0200
-Subject: [PATCH] modulemd: generate the manpage only if the feature is enabled
-
-Upstream-Status: Pending
-Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
----
- modulemd/meson.build | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/modulemd/meson.build b/modulemd/meson.build
-index 9ef1902..9f71e72 100644
---- a/modulemd/meson.build
-+++ b/modulemd/meson.build
-@@ -494,6 +494,7 @@ if with_docs
- )
- endif
-
-+if with_manpages == 'enabled'
- help2man_opts = [
- '--no-info',
- '--section=1',
-@@ -506,3 +507,4 @@ custom_target(
- ],
- install: true,
- install_dir: join_paths(get_option('mandir'), 'man1'))
-+endif
diff --git a/meta/recipes-devtools/libmodulemd/libmodulemd_git.bb b/meta/recipes-devtools/libmodulemd/libmodulemd_git.bb
index 10204acf23..d3bef83306 100644
--- a/meta/recipes-devtools/libmodulemd/libmodulemd_git.bb
+++ b/meta/recipes-devtools/libmodulemd/libmodulemd_git.bb
@@ -1,26 +1,24 @@
SUMMARY = "C Library for manipulating module metadata files"
+HOMEPAGE = "https://github.com/fedora-modularity/libmodulemd"
+DESCRIPTION = "${SUMMARY}"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://COPYING;md5=25a3927bff3ee4f5b21bcb0ed3fcd6bb"
-SRC_URI = "git://github.com/fedora-modularity/libmodulemd;protocol=https;branch=main \
- file://0001-modulemd-generate-the-manpage-only-if-the-feature-is.patch \
- "
+SRC_URI = "git://github.com/fedora-modularity/libmodulemd;protocol=https;branch=main"
-PV = "2.9.4"
-SRCREV = "c7254db07b21495fc9bd247c5b17ee20149c05e3"
+PV = "2.15.0"
+SRCREV = "bfde7f2d04fbb22e26c9eb843e4ccc478762dd8d"
S = "${WORKDIR}/git"
-inherit meson gobject-introspection python3-dir
+inherit meson gobject-introspection pkgconfig
-EXTRA_OEMESON = "-Ddeveloper_build=false -Dwith_docs=false -Drpmio=disabled -Dlibmagic=disabled -Dwith_manpages=disabled -Dgobject_overrides_dir_py3=${PYTHON_SITEPACKAGES_DIR}/gi/overrides"
+EXTRA_OEMESON = "-Dwith_py3=false -Dwith_docs=false -Drpmio=disabled -Dlibmagic=disabled -Dwith_manpages=disabled -Dgobject_overrides_dir_py3=${PYTHON_SITEPACKAGES_DIR}/gi/overrides"
-DEPENDS += "glib-2.0 libyaml glib-2.0-native python3"
+DEPENDS += "glib-2.0 libyaml glib-2.0-native"
BBCLASSEXTEND = "native nativesdk"
GIR_MESON_OPTION = 'skip_introspection'
GIR_MESON_ENABLE_FLAG = 'false'
GIR_MESON_DISABLE_FLAG = 'true'
-
-FILES_${PN} += "${libdir}/${PYTHON_DIR}/*"
diff --git a/meta/recipes-devtools/librepo/librepo/0001-gpg_gpgme.c-fix-build-errors-with-older-gcc.patch b/meta/recipes-devtools/librepo/librepo/0001-gpg_gpgme.c-fix-build-errors-with-older-gcc.patch
new file mode 100644
index 0000000000..8727b181b3
--- /dev/null
+++ b/meta/recipes-devtools/librepo/librepo/0001-gpg_gpgme.c-fix-build-errors-with-older-gcc.patch
@@ -0,0 +1,36 @@
+From b525cdec3051d1c6ff0c3cd38bf3070b18d6fb50 Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin <alex@linutronix.de>
+Date: Wed, 6 Mar 2024 10:13:38 +0100
+Subject: [PATCH] gpg_gpgme.c: fix build errors with older gcc
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+When selinux is not enabled, older gcc versions error out this way:
+
+| /home/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-1938845/tmp-mc-tiny/hosttools/gcc -DG_LOG_DOMAIN=\"librepo\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -Dlibrepo_EXPORTS -I/home/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-1938845/tmp-mc-tiny/work/aarch64-linux/librepo-native/1.17.0/git -I/home/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-1938845/tmp-mc-tiny/work/aarch64-linux/librepo-native/1.17.0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/libmount -I/home/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-1938845/tmp-mc-tiny/work/aarch64-linux/librepo-native/1.17.0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/blkid -I/home/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-1938845/tmp-mc-tiny/work/aarch64-linux/librepo-native/1.17.0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/glib-2.0 -I/home/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-1938845/tmp-mc-tiny/work/aarch64-linux/librepo-native/1.17.0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/lib/glib-2.0/include -I/home/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-1938845/tmp-mc-tiny/work/aarch64-linux/librepo-native/1.17.0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/libxml2 -isystem/home/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-1938845/tmp-mc-tiny/work/aarch64-linux/librepo-native/1.17.0/recipe-sysroot-native/usr/include -O2 -pipe -std=c99 -Wall -fPIC -MD -MT librepo/CMakeFiles/librepo.dir/gpg_gpgme.c.o -MF librepo/CMakeFiles/librepo.dir/gpg_gpgme.c.o.d -o librepo/CMakeFiles/librepo.dir/gpg_gpgme.c.o -c /home/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-1938845/tmp-mc-tiny/work/aarch64-linux/librepo-native/1.17.0/git/librepo/gpg_gpgme.c
+| /home/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-1938845/tmp-mc-tiny/work/aarch64-linux/librepo-native/1.17.0/git/librepo/gpg_gpgme.c: In function ‘lr_gpg_ensure_socket_dir_exists’:
+| /home/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-1938845/tmp-mc-tiny/work/aarch64-linux/librepo-native/1.17.0/git/librepo/gpg_gpgme.c:135:1: error: label at end of compound statement
+| 135 | exit:
+| | ^~~~
+
+Ensuring the exit: block is not empty fixes the issue.
+
+Upstream-Status: Submitted [https://github.com/rpm-software-management/librepo/pull/300]
+Signed-off-by: Alexander Kanavin <alex@linutronix.de>
+---
+ librepo/gpg_gpgme.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/librepo/gpg_gpgme.c b/librepo/gpg_gpgme.c
+index c4addb2..47c3153 100644
+--- a/librepo/gpg_gpgme.c
++++ b/librepo/gpg_gpgme.c
+@@ -144,6 +144,7 @@ exit:
+ }
+ freecon(old_default_context);
+ #endif
++ return;
+ }
+
+ static gpgme_ctx_t
diff --git a/meta/recipes-devtools/librepo/librepo/0002-Do-not-try-to-obtain-PYTHON_INSTALL_DIR-by-running-p.patch b/meta/recipes-devtools/librepo/librepo/0002-Do-not-try-to-obtain-PYTHON_INSTALL_DIR-by-running-p.patch
index b61f0c9324..4a851ad1e2 100644
--- a/meta/recipes-devtools/librepo/librepo/0002-Do-not-try-to-obtain-PYTHON_INSTALL_DIR-by-running-p.patch
+++ b/meta/recipes-devtools/librepo/librepo/0002-Do-not-try-to-obtain-PYTHON_INSTALL_DIR-by-running-p.patch
@@ -1,51 +1,33 @@
-From b08a3b71e716dd0485ef51036d32e4c304fb4e67 Mon Sep 17 00:00:00 2001
+From 76052aa40c61580869472fd3f009a4ab1620b998 Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex.kanavin@gmail.com>
Date: Fri, 30 Dec 2016 18:05:36 +0200
Subject: [PATCH] Do not try to obtain PYTHON_INSTALL_DIR by running python.
Upstream-Status: Inappropriate [oe-core specific]
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
-
+Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
---
- librepo/python/python2/CMakeLists.txt | 12 ++++++------
- librepo/python/python3/CMakeLists.txt | 12 ++++++------
- 2 files changed, 12 insertions(+), 12 deletions(-)
+ librepo/python/CMakeLists.txt | 12 ++++++------
+ 1 file changed, 6 insertions(+), 6 deletions(-)
-diff --git a/librepo/python/python2/CMakeLists.txt b/librepo/python/python2/CMakeLists.txt
-index a0f1f9a..1665079 100644
---- a/librepo/python/python2/CMakeLists.txt
-+++ b/librepo/python/python2/CMakeLists.txt
-@@ -1,9 +1,9 @@
--EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} -c "
--from sys import stdout
--from distutils import sysconfig
--path=sysconfig.get_python_lib(True, prefix='${CMAKE_INSTALL_PREFIX}')
--stdout.write(path)"
--OUTPUT_VARIABLE PYTHON_INSTALL_DIR)
-+#EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} -c "
-+#from sys import stdout
-+#from distutils import sysconfig
-+#path=sysconfig.get_python_lib(True, prefix='${CMAKE_INSTALL_PREFIX}')
-+#stdout.write(path)"
-+#OUTPUT_VARIABLE PYTHON_INSTALL_DIR)
- INCLUDE_DIRECTORIES (${PYTHON_INCLUDE_PATH})
+diff --git a/librepo/python/CMakeLists.txt b/librepo/python/CMakeLists.txt
+index 8523ca7..06e5f7b 100644
+--- a/librepo/python/CMakeLists.txt
++++ b/librepo/python/CMakeLists.txt
+@@ -16,12 +16,12 @@ SET (librepomodule_SRCS
+
+ MESSAGE("Building python bindings")
- MESSAGE(STATUS "Python install dir is ${PYTHON_INSTALL_DIR}")
-diff --git a/librepo/python/python3/CMakeLists.txt b/librepo/python/python3/CMakeLists.txt
-index 52ba44e..da51e10 100644
---- a/librepo/python/python3/CMakeLists.txt
-+++ b/librepo/python/python3/CMakeLists.txt
-@@ -1,9 +1,9 @@
-EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} -c "
-from sys import stdout
--from distutils import sysconfig
--path=sysconfig.get_python_lib(True, prefix='${CMAKE_INSTALL_PREFIX}')
+-from sysconfig import get_path
+-path=get_path(name='platlib', vars={'platbase':'${CMAKE_INSTALL_PREFIX}'})
-stdout.write(path)"
-OUTPUT_VARIABLE PYTHON_INSTALL_DIR)
+#EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} -c "
+#from sys import stdout
-+#from distutils import sysconfig
-+#path=sysconfig.get_python_lib(True, prefix='${CMAKE_INSTALL_PREFIX}')
++#from sysconfig import get_path
++#path=get_path(name='platlib', vars={'platbase':'${CMAKE_INSTALL_PREFIX}'})
+#stdout.write(path)"
+#OUTPUT_VARIABLE PYTHON_INSTALL_DIR)
INCLUDE_DIRECTORIES (${PYTHON_INCLUDE_PATH})
diff --git a/meta/recipes-devtools/librepo/librepo/0004-Set-gpgme-variables-with-pkg-config-not-with-cmake-m.patch b/meta/recipes-devtools/librepo/librepo/0004-Set-gpgme-variables-with-pkg-config-not-with-cmake-m.patch
index 73902e5f58..fd1df95473 100644
--- a/meta/recipes-devtools/librepo/librepo/0004-Set-gpgme-variables-with-pkg-config-not-with-cmake-m.patch
+++ b/meta/recipes-devtools/librepo/librepo/0004-Set-gpgme-variables-with-pkg-config-not-with-cmake-m.patch
@@ -1,4 +1,4 @@
-From f5a1dfe4c87c228165bc25e7fe464120d8139a3d Mon Sep 17 00:00:00 2001
+From b5918f06d790dc346d41de4b3a3ec01f290c1d25 Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex.kanavin@gmail.com>
Date: Fri, 30 Dec 2016 18:23:27 +0200
Subject: [PATCH] Set gpgme variables with pkg-config, not with cmake module
@@ -6,22 +6,21 @@ Subject: [PATCH] Set gpgme variables with pkg-config, not with cmake module
Upstream-Status: Inappropriate [gpgme upstream does not have pkg-config support and is not interested in it]
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
-
---
CMakeLists.txt | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
-index e949dbe..c954b2e 100644
+index 6c00024..a2f57af 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
-@@ -31,7 +31,8 @@ PKG_CHECK_MODULES(GLIB2 glib-2.0 REQUIRED)
- PKG_SEARCH_MODULE(LIBCRYPTO REQUIRED libcrypto openssl)
- PKG_CHECK_MODULES(LIBXML2 libxml-2.0 REQUIRED)
- FIND_PACKAGE(CURL REQUIRED)
--FIND_PACKAGE(Gpgme REQUIRED)
-+PKG_CHECK_MODULES(GPGME gpgme REQUIRED)
-+set(GPGME_VANILLA_LIBRARIES ${GPGME_LIBRARIES})
-
+@@ -37,7 +37,8 @@ PKG_CHECK_MODULES(LIBXML2 libxml-2.0 REQUIRED)
+ FIND_PACKAGE(CURL 7.52.0 REQUIRED)
- IF (WITH_ZCHUNK)
+ IF (USE_GPGME)
+- FIND_PACKAGE(Gpgme REQUIRED)
++ PKG_CHECK_MODULES(GPGME gpgme REQUIRED)
++ set(GPGME_VANILLA_LIBRARIES ${GPGME_LIBRARIES})
+ IF (ENABLE_SELINUX)
+ PKG_CHECK_MODULES(SELINUX REQUIRED libselinux)
+ ENDIF(ENABLE_SELINUX)
diff --git a/meta/recipes-devtools/librepo/librepo_1.12.1.bb b/meta/recipes-devtools/librepo/librepo_1.17.0.bb
index 0597351052..810191459d 100644
--- a/meta/recipes-devtools/librepo/librepo_1.12.1.bb
+++ b/meta/recipes-devtools/librepo/librepo_1.17.0.bb
@@ -1,20 +1,23 @@
SUMMARY = "A library providing C and Python (libcURL like) API \
for downloading linux repository metadata and packages."
-LICENSE = "LGPLv2.1"
+HOMEPAGE = "https://github.com/rpm-software-management/librepo"
+DESCRIPTION = "${SUMMARY}"
+LICENSE = "LGPL-2.1-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
-SRC_URI = "git://github.com/rpm-software-management/librepo.git \
+SRC_URI = "git://github.com/rpm-software-management/librepo.git;branch=master;protocol=https \
file://0002-Do-not-try-to-obtain-PYTHON_INSTALL_DIR-by-running-p.patch \
file://0004-Set-gpgme-variables-with-pkg-config-not-with-cmake-m.patch \
+ file://0001-gpg_gpgme.c-fix-build-errors-with-older-gcc.patch \
"
-SRCREV = "d4ad350291f2937c0b6a3eea9e1d0c8e1051fc32"
+SRCREV = "ae727d99086f70f39fba5695af5460e1da908c1b"
S = "${WORKDIR}/git"
DEPENDS = "curl glib-2.0 openssl attr gpgme libxml2"
-inherit cmake distutils3-base pkgconfig
+inherit cmake setuptools3-base pkgconfig
EXTRA_OECMAKE = " \
-DPYTHON_INSTALL_DIR=${PYTHON_SITEPACKAGES_DIR} \
@@ -22,6 +25,7 @@ EXTRA_OECMAKE = " \
-DENABLE_TESTS=OFF \
-DENABLE_DOCS=OFF \
-DWITH_ZCHUNK=OFF \
+ -DENABLE_SELINUX=OFF \
"
BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/libtool/libtool-2.4.6.inc b/meta/recipes-devtools/libtool/libtool-2.4.6.inc
deleted file mode 100644
index 8e17b56d46..0000000000
--- a/meta/recipes-devtools/libtool/libtool-2.4.6.inc
+++ /dev/null
@@ -1,49 +0,0 @@
-SUMMARY = "Generic library support script"
-DESCRIPTION = "This is GNU libtool, a generic library support script. \
-Libtool hides the complexity of generating special library types \
-(such as shared libraries) behind a consistent interface."
-HOMEPAGE = "http://www.gnu.org/software/libtool/libtool.html"
-SECTION = "devel"
-LICENSE = "GPLv2 & LGPLv2.1"
-LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
- file://libltdl/COPYING.LIB;md5=4fbd65380cdd255951079008b364516c "
-
-SRC_URI = "${GNU_MIRROR}/libtool/libtool-${PV}.tar.gz \
- file://trailingslash.patch \
- file://rename-with-sysroot.patch \
- file://use-sysroot-in-libpath.patch \
- file://fix-final-rpath.patch \
- file://fix-rpath.patch \
- file://norm-rpath.patch \
- file://dont-depend-on-help2man.patch \
- file://fix-resolve-lt-sysroot.patch \
- file://nohardcodepaths.patch \
- file://unwind-opt-parsing.patch \
- file://0001-libtool-Fix-support-for-NIOS2-processor.patch \
- file://0001-libtool-Check-for-static-libs-for-internal-compiler-.patch \
- "
-
-SRC_URI[md5sum] = "addf44b646ddb4e3919805aa88fa7c5e"
-SRC_URI[sha256sum] = "e3bd4d5d3d025a36c21dd6af7ea818a2afcd4dfc1ea5a17b39d7854bcd0c06e3"
-
-do_compile_prepend () {
- # Sometimes this file doesn't get rebuilt, force the issue
- rm -f ${S}/build-aux/ltmain.sh
- make build-aux/ltmain.sh
- ./config.status
-}
-
-inherit autotools texinfo
-EXTRA_AUTORECONF = "--exclude=libtoolize"
-
-CACHED_CONFIGUREVARS += "ac_cv_path_GREP=grep"
-
-DEPENDS = "libtool-native"
-
-PACKAGES =+ "libltdl"
-FILES_${PN} += "${datadir}/aclocal"
-
-FILES_${PN}-dev_remove = "${datadir}/aclocal"
-FILES_libltdl = "${libdir}/libltdl${SOLIBS}"
-
-export CONFIG_SHELL="/bin/bash"
diff --git a/meta/recipes-devtools/libtool/libtool-2.5.0.inc b/meta/recipes-devtools/libtool/libtool-2.5.0.inc
new file mode 100644
index 0000000000..e0c9aae387
--- /dev/null
+++ b/meta/recipes-devtools/libtool/libtool-2.5.0.inc
@@ -0,0 +1,40 @@
+SUMMARY = "Generic library support script"
+DESCRIPTION = "This is GNU libtool, a generic library support script. \
+Libtool hides the complexity of generating special library types \
+(such as shared libraries) behind a consistent interface."
+HOMEPAGE = "http://www.gnu.org/software/libtool/libtool.html"
+SECTION = "devel"
+LICENSE = "GPL-2.0-only & LGPL-2.1-only"
+LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
+ file://libltdl/COPYING.LIB;md5=4fbd65380cdd255951079008b364516c "
+
+SRC_URI = "https://alpha.gnu.org/gnu/libtool/libtool-${PV}.tar.gz \
+ file://0001-ltmain.in-Handle-trailing-slashes-on-install-command.patch \
+ file://0003-ltmain.in-Add-missing-sysroot-to-library-path.patch \
+ file://0004-ltmain.sh-Fix-sysroot-paths-being-encoded-into-RPATH.patch \
+ file://0005-ltmain.in-Don-t-encode-RATHS-which-match-default-lin.patch \
+ file://dont-depend-on-help2man.patch \
+ file://0006-libtool.m4-Handle-as-a-sysroot-correctly.patch \
+ file://0008-libtool-Check-for-static-libs-for-internal-compiler-.patch \
+ file://nohardcodepaths.patch \
+ file://filefix.patch \
+ "
+
+
+
+SRC_URI[sha256sum] = "d438c317455d85554ce2f998be48866fd40cfcbf834d60b3026f4fc0ed583d23"
+
+inherit autotools texinfo
+EXTRA_AUTORECONF = "--exclude=libtoolize"
+
+CACHED_CONFIGUREVARS += "ac_cv_path_GREP=grep"
+
+DEPENDS = "libtool-native"
+
+PACKAGES =+ "libltdl"
+FILES:${PN} += "${datadir}/aclocal"
+
+FILES:${PN}-dev:remove = "${datadir}/aclocal"
+FILES:libltdl = "${libdir}/libltdl${SOLIBS}"
+
+export CONFIG_SHELL="/bin/bash"
diff --git a/meta/recipes-devtools/libtool/libtool-cross_2.4.6.bb b/meta/recipes-devtools/libtool/libtool-cross_2.5.0.bb
index 02c6e152fc..18849cb8ef 100644
--- a/meta/recipes-devtools/libtool/libtool-cross_2.4.6.bb
+++ b/meta/recipes-devtools/libtool/libtool-cross_2.5.0.bb
@@ -1,20 +1,12 @@
require libtool-${PV}.inc
PACKAGES = ""
-SRC_URI += "file://prefix.patch"
SRC_URI += "file://fixinstall.patch"
datadir = "${STAGING_DIR_TARGET}${target_datadir}"
inherit nopackages
-do_configure_prepend () {
- # Remove any existing libtool m4 since old stale versions would break
- # any upgrade
- rm -f ${STAGING_DATADIR}/aclocal/libtool.m4
- rm -f ${STAGING_DATADIR}/aclocal/lt*.m4
-}
-
#
# ccache may or may not be INHERITED, we remove references to it so the sstate
# artefact works on a machine where its not present. libtool-cross isn't used
@@ -22,15 +14,16 @@ do_configure_prepend () {
# Find references to LTCC="ccache xxx-gcc" and CC="ccache xxx-gcc"
#
do_install () {
+ ln -s false ${D}
install -d ${D}${bindir_crossscripts}/
- install -m 0755 ${HOST_SYS}-libtool ${D}${bindir_crossscripts}/${HOST_SYS}-libtool
+ install -m 0755 libtool ${D}${bindir_crossscripts}/libtool
sed -e 's@^\(predep_objects="\).*@\1"@' \
-e 's@^\(postdep_objects="\).*@\1"@' \
-e 's@^CC="ccache.@CC="@' \
-e 's@^LTCC="ccache.@LTCC="@' \
- -i ${D}${bindir_crossscripts}/${HOST_SYS}-libtool
- sed -i '/^archive_cmds=/s/\-nostdlib//g' ${D}${bindir_crossscripts}/${HOST_SYS}-libtool
- sed -i '/^archive_expsym_cmds=/s/\-nostdlib//g' ${D}${bindir_crossscripts}/${HOST_SYS}-libtool
+ -i ${D}${bindir_crossscripts}/libtool
+ sed -i '/^archive_cmds=/s/\-nostdlib//g' ${D}${bindir_crossscripts}/libtool
+ sed -i '/^archive_expsym_cmds=/s/\-nostdlib//g' ${D}${bindir_crossscripts}/libtool
GREP='/bin/grep' SED='sed' ${S}/build-aux/inline-source libtoolize > ${D}${bindir_crossscripts}/libtoolize
chmod 0755 ${D}${bindir_crossscripts}/libtoolize
install -d ${D}${target_datadir}/libtool/build-aux/
diff --git a/meta/recipes-devtools/libtool/libtool-native_2.4.6.bb b/meta/recipes-devtools/libtool/libtool-native_2.4.6.bb
deleted file mode 100644
index 4c5218ade0..0000000000
--- a/meta/recipes-devtools/libtool/libtool-native_2.4.6.bb
+++ /dev/null
@@ -1,22 +0,0 @@
-require libtool-${PV}.inc
-
-DEPENDS = ""
-
-SRC_URI += "file://prefix.patch"
-
-inherit native
-
-EXTRA_OECONF = " --with-libtool-sysroot=${STAGING_DIR_NATIVE}"
-
-do_configure_prepend () {
- # Remove any existing libtool m4 since old stale versions would break
- # any upgrade
- rm -f ${STAGING_DATADIR}/aclocal/libtool.m4
- rm -f ${STAGING_DATADIR}/aclocal/lt*.m4
-}
-
-do_install () {
- autotools_do_install
- install -d ${D}${bindir}/
- install -m 0755 ${HOST_SYS}-libtool ${D}${bindir}/${HOST_SYS}-libtool
-}
diff --git a/meta/recipes-devtools/libtool/libtool-native_2.5.0.bb b/meta/recipes-devtools/libtool/libtool-native_2.5.0.bb
new file mode 100644
index 0000000000..be96b52dd6
--- /dev/null
+++ b/meta/recipes-devtools/libtool/libtool-native_2.5.0.bb
@@ -0,0 +1,11 @@
+require libtool-${PV}.inc
+
+DEPENDS = ""
+
+inherit native
+
+do_install () {
+ autotools_do_install
+ install -d ${D}${bindir}/
+ install -m 0755 libtool ${D}${bindir}/libtool
+}
diff --git a/meta/recipes-devtools/libtool/libtool/0001-libtool-Check-for-static-libs-for-internal-compiler-.patch b/meta/recipes-devtools/libtool/libtool/0001-libtool-Check-for-static-libs-for-internal-compiler-.patch
deleted file mode 100644
index 8c7c39feb6..0000000000
--- a/meta/recipes-devtools/libtool/libtool/0001-libtool-Check-for-static-libs-for-internal-compiler-.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From 40a2da75e6d95cc7c498ebda95ab19ae0db2ebfb Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Sat, 26 Jan 2019 12:54:26 -0800
-Subject: [PATCH] libtool: Check for static libs for internal compiler
- libraries
-
-Libtool checks only for libraries linked as -l* when trying to
-find internal compiler libraries. Clang, however uses the absolute
-path to link its internal libraries e.g. compiler_rt. This patch
-handles clang's statically linked libraries when finding internal
-compiler libraries.
-
-https://crbug.com/749263
-
-Upstream-Status: Submitted [https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27866]
-
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
- m4/libtool.m4 | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/m4/libtool.m4 b/m4/libtool.m4
-index d0389a0..9619c57 100644
---- a/m4/libtool.m4
-+++ b/m4/libtool.m4
-@@ -7536,7 +7536,7 @@ if AC_TRY_EVAL(ac_compile); then
- for p in `eval "$output_verbose_link_cmd"`; do
- case $prev$p in
-
-- -L* | -R* | -l*)
-+ -L* | -R* | -l* | */libclang_rt.*.a)
- # Some compilers place space between "-{L,R}" and the path.
- # Remove the space.
- if test x-L = "$p" ||
---
-2.20.1
-
diff --git a/meta/recipes-devtools/libtool/libtool/0001-libtool-Fix-support-for-NIOS2-processor.patch b/meta/recipes-devtools/libtool/libtool/0001-libtool-Fix-support-for-NIOS2-processor.patch
deleted file mode 100644
index bbd36d8dc1..0000000000
--- a/meta/recipes-devtools/libtool/libtool/0001-libtool-Fix-support-for-NIOS2-processor.patch
+++ /dev/null
@@ -1,68 +0,0 @@
-From df2cd898e48208f26320d40c3ed6b19c75c27142 Mon Sep 17 00:00:00 2001
-From: Marek Vasut <marex@denx.de>
-Date: Thu, 17 Sep 2015 00:43:15 +0200
-Subject: [PATCH] libtool: Fix support for NIOS2 processor
-
-The name of the system contains the string "nios2". This string
-is caught by the some of the greedy checks for OS/2 in libtool,
-in particular the *os2* branches of switch statements match for
-the nios2 string, which results in incorrect behavior of libtool.
-
-This patch adds an explicit check for *nios2* before the *os2*
-checks to prevent the OS/2 check incorrectly trapping the nios2
-as well.
-
-Signed-off-by: Marek Vasut <marex@denx.de>
-Upstream-Status: Submitted
----
- build-aux/ltmain.in | 20 ++++++++++++++++++++
- 1 file changed, 20 insertions(+)
-
-diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
-index d5cf07a..4164284 100644
---- a/build-aux/ltmain.in
-+++ b/build-aux/ltmain.in
-@@ -504,6 +504,12 @@ libtool_validate_options ()
- test : = "$debug_cmd" || func_append preserve_args " --debug"
-
- case $host in
-+ # For NIOS2, we want to make sure that it's not caught by the
-+ # more general OS/2 check below. Otherwise, NIOS2 is the same
-+ # as the default option.
-+ *nios2*)
-+ opt_duplicate_compiler_generated_deps=$opt_preserve_dup_deps
-+ ;;
- # Solaris2 added to fix http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16452
- # see also: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59788
- *cygwin* | *mingw* | *pw32* | *cegcc* | *solaris2* | *os2*)
-@@ -6220,6 +6226,15 @@ func_mode_link ()
- if test -n "$library_names" &&
- { test no = "$use_static_libs" || test -z "$old_library"; }; then
- case $host in
-+ *nios2*)
-+ # For NIOS2, we want to make sure that it's not caught by the
-+ # more general OS/2 check below. Otherwise, NIOS2 is the same
-+ # as the default option.
-+ if test no = "$installed"; then
-+ func_append notinst_deplibs " $lib"
-+ need_relink=yes
-+ fi
-+ ;;
- *cygwin* | *mingw* | *cegcc* | *os2*)
- # No point in relinking DLLs because paths are not encoded
- func_append notinst_deplibs " $lib"
-@@ -6290,6 +6305,11 @@ func_mode_link ()
- elif test -n "$soname_spec"; then
- # bleh windows
- case $host in
-+ *nios2*)
-+ # For NIOS2, we want to make sure that it's not caught by the
-+ # more general OS/2 check below. Otherwise, NIOS2 is the same
-+ # as the default option.
-+ ;;
- *cygwin* | mingw* | *cegcc* | *os2*)
- func_arith $current - $age
- major=$func_arith_result
---
-2.5.1
-
diff --git a/meta/recipes-devtools/libtool/libtool/0001-ltmain.in-Handle-trailing-slashes-on-install-command.patch b/meta/recipes-devtools/libtool/libtool/0001-ltmain.in-Handle-trailing-slashes-on-install-command.patch
new file mode 100644
index 0000000000..d5d906e6b6
--- /dev/null
+++ b/meta/recipes-devtools/libtool/libtool/0001-ltmain.in-Handle-trailing-slashes-on-install-command.patch
@@ -0,0 +1,36 @@
+From: Richard Purdie <richard.purdie@linuxfoundation.org>
+Subject: [PATCH 01/12] ltmain.in: Handle trailing slashes on install commands correctly
+
+A command like:
+
+libtool --mode=install /usr/bin/install -c gck-roots-store-standalone.la '/image/usr/lib/gnome-keyring/standalone/'
+
+where the path ends with a trailing slash currently fails. This occurs in
+software like gnome-keyring or pulseaudio and is because the comparision
+code doesn't see the paths as equal. Strip both paths to ensure this works
+reliably.
+
+Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
+
+Upstream-Status: Submitted [https://lists.gnu.org/archive/html/libtool-patches/2021-10/msg00010.html]
+
+Index: libtool-2.5.0/build-aux/ltmain.in
+===================================================================
+--- libtool-2.5.0.orig/build-aux/ltmain.in
++++ libtool-2.5.0/build-aux/ltmain.in
+@@ -2382,8 +2382,14 @@ func_mode_install ()
+ func_append dir "$objdir"
+
+ if test -n "$relink_command"; then
++ # Strip any trailing slash from the destination.
++ func_stripname '' '/' "$libdir"
++ destlibdir=$func_stripname_result
++ func_stripname '' '/' "$destdir"
++ s_destdir=$func_stripname_result
++
+ # Determine the prefix the user has applied to our future dir.
+- inst_prefix_dir=`$ECHO "$destdir" | $SED -e "s%$libdir\$%%"`
++ inst_prefix_dir=`$ECHO "X$s_destdir" | $Xsed -e "s%$destlibdir\$%%"`
+
+ # Don't allow the user to place us outside of our expected
+ # location b/c this prevents finding dependent libraries that
diff --git a/meta/recipes-devtools/libtool/libtool/0003-ltmain.in-Add-missing-sysroot-to-library-path.patch b/meta/recipes-devtools/libtool/libtool/0003-ltmain.in-Add-missing-sysroot-to-library-path.patch
new file mode 100644
index 0000000000..2436f68a49
--- /dev/null
+++ b/meta/recipes-devtools/libtool/libtool/0003-ltmain.in-Add-missing-sysroot-to-library-path.patch
@@ -0,0 +1,26 @@
+From: Khem Raj <raj.khem@gmail.com>
+Subject: [PATCH 03/12] ltmain.in: Add missing sysroot to library path
+
+When using a sysroot we should append it to libdir, which is helpful in
+cross builds as the system is staged in the sysroot. For normal builds,
+i.e. when lt_sysroot is not set, it will still behave the same and add
+-L/usr/lib to the relink command.
+
+Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
+
+Submitted [https://lists.gnu.org/archive/html/libtool-patches/2021-10/msg00017.html]
+Upstream-Status: Backport [https://git.savannah.gnu.org/cgit/libtool.git/commit/?id=3221f9f0fb98d5740ab5d0e8db6a731302520644]
+
+Index: libtool-2.5.0/build-aux/ltmain.in
+===================================================================
+--- libtool-2.5.0.orig/build-aux/ltmain.in
++++ libtool-2.5.0/build-aux/ltmain.in
+@@ -6514,7 +6514,7 @@ func_mode_link ()
+ fi
+ else
+ # We cannot seem to hardcode it, guess we'll fake it.
+- add_dir=-L$libdir
++ add_dir="-L$lt_sysroot$libdir"
+ # Try looking first in the location we're being installed to.
+ if test -n "$inst_prefix_dir"; then
+ case $libdir in
diff --git a/meta/recipes-devtools/libtool/libtool/fix-final-rpath.patch b/meta/recipes-devtools/libtool/libtool/0004-ltmain.sh-Fix-sysroot-paths-being-encoded-into-RPATH.patch
index 5c9f8cc9c0..a6b3313d71 100644
--- a/meta/recipes-devtools/libtool/libtool/fix-final-rpath.patch
+++ b/meta/recipes-devtools/libtool/libtool/0004-ltmain.sh-Fix-sysroot-paths-being-encoded-into-RPATH.patch
@@ -1,32 +1,33 @@
-Upstream-Status: Inappropriate [embedded specific]
+From: Richard Purdie <richard.purdie@linuxfoundation.org>
+Subject: [PATCH 04/12] ltmain.sh: Fix sysroot paths being encoded into RPATHs
-Enalbing sysroot support exposed a bug where the final library
-had an RPATH encoded into it which still pointed to the sysroot.
-This works around the issue until it gets sorted out upstream.
+There is a bug where RPATHs could end up containing sysroot values when
+cross compiling which is obviously incorrect. Strip out sysroot components
+from libdir when building RPATH values to avoid this.
-Fix suggested by Richard Purdie <richard.purdie@intel.com>
-Signed-off-by: Scott Garman <scott.a.garman@intel.com>
-Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
-Updated by: Robert Yang <liezhi.yang@windriver.com>
+Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
---- a/build-aux/ltmain.in
-+++ b/build-aux/ltmain.in
-@@ -7569,9 +7569,11 @@ EOF
+Upstream-Status: Submitted [https://lists.gnu.org/archive/html/libtool-patches/2021-10/msg00009.html]
+
+Index: libtool-2.5.0/build-aux/ltmain.in
+===================================================================
+--- libtool-2.5.0.orig/build-aux/ltmain.in
++++ libtool-2.5.0/build-aux/ltmain.in
+@@ -7584,9 +7584,11 @@ func_mode_link ()
test relink = "$opt_mode" || rpath=$compile_rpath$rpath
for libdir in $rpath; do
if test -n "$hardcode_libdir_flag_spec"; then
-+ func_replace_sysroot "$libdir"
-+ libdir=$func_replace_sysroot_result
-+ func_stripname '=' '' "$libdir"
-+ libdir=$func_stripname_result
++ func_replace_sysroot "$libdir"
++ libdir=$func_replace_sysroot_result
++ func_stripname '=' '' "$libdir"
++ libdir=$func_stripname_result
if test -n "$hardcode_libdir_separator"; then
- func_replace_sysroot "$libdir"
- libdir=$func_replace_sysroot_result
if test -z "$hardcode_libdirs"; then
hardcode_libdirs=$libdir
else
-@@ -8301,6 +8303,10 @@ EOF
+@@ -8316,6 +8318,10 @@ func_mode_link ()
hardcode_libdirs=
for libdir in $compile_rpath $finalize_rpath; do
if test -n "$hardcode_libdir_flag_spec"; then
@@ -37,7 +38,7 @@ diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
if test -n "$hardcode_libdir_separator"; then
if test -z "$hardcode_libdirs"; then
hardcode_libdirs=$libdir
-@@ -8352,6 +8358,10 @@ EOF
+@@ -8367,6 +8373,10 @@ func_mode_link ()
hardcode_libdirs=
for libdir in $finalize_rpath; do
if test -n "$hardcode_libdir_flag_spec"; then
diff --git a/meta/recipes-devtools/libtool/libtool/fix-rpath.patch b/meta/recipes-devtools/libtool/libtool/0005-ltmain.in-Don-t-encode-RATHS-which-match-default-lin.patch
index a2ec9473e7..54e602f118 100644
--- a/meta/recipes-devtools/libtool/libtool/fix-rpath.patch
+++ b/meta/recipes-devtools/libtool/libtool/0005-ltmain.in-Don-t-encode-RATHS-which-match-default-lin.patch
@@ -1,18 +1,22 @@
-We don't want to add RPATHS which match default linker
-search paths, they're a waste of space. This patch
-filters libtools list and removes the ones we don't need.
+From: Richard Purdie <richard.purdie@linuxfoundation.org>
+Subject: [PATCH 05/12] ltmain.in: Don't encode RATHS which match default linker paths
-RP 23/9/2011
+We don't want to add RPATHS which match default linker search paths, they're
+a waste of space. This patch filters libtools list of paths to encoode and
+removes the ones we don't need.
-Upstream-Status: Pending
+Libtool may be passed link paths of the form "/usr/lib/../lib" so normalize
+the paths before comparision.
-Updated by: Robert Yang <liezhi.yang@windriver.com>
+Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-Index: libtool-2.4.2/build-aux/ltmain.in
+Upstream-Status: Submitted [https://lists.gnu.org/archive/html/libtool-patches/2021-10/msg00013.html]
+
+Index: libtool-2.5.0/build-aux/ltmain.in
===================================================================
---- libtool-2.4.2.orig/build-aux/ltmain.in
-+++ libtool-2.4.2/build-aux/ltmain.in
-@@ -7286,8 +7286,14 @@ EOF
+--- libtool-2.5.0.orig/build-aux/ltmain.in
++++ libtool-2.5.0/build-aux/ltmain.in
+@@ -7602,8 +7602,16 @@ func_mode_link ()
esac
fi
else
@@ -20,8 +24,10 @@ Index: libtool-2.4.2/build-aux/ltmain.in
- func_append dep_rpath " $flag"
+ # We only want to hardcode in an rpath if it isn't in the
+ # default dlsearch path.
++ func_normal_abspath "$libdir"
++ libdir_norm=$func_normal_abspath_result
+ case " $sys_lib_dlsearch_path " in
-+ *" $libdir "*) ;;
++ *" $libdir_norm "*) ;;
+ *) eval flag=\"$hardcode_libdir_flag_spec\"
+ func_append dep_rpath " $flag"
+ ;;
@@ -29,7 +35,7 @@ Index: libtool-2.4.2/build-aux/ltmain.in
fi
elif test -n "$runpath_var"; then
case "$perm_rpath " in
-@@ -8019,8 +8025,14 @@ EOF
+@@ -8336,8 +8344,16 @@ func_mode_link ()
esac
fi
else
@@ -37,8 +43,10 @@ Index: libtool-2.4.2/build-aux/ltmain.in
- func_append rpath " $flag"
+ # We only want to hardcode in an rpath if it isn't in the
+ # default dlsearch path.
++ func_normal_abspath "$libdir"
++ libdir_norm=$func_normal_abspath_result
+ case " $sys_lib_dlsearch_path " in
-+ *" $libdir "*) ;;
++ *" $libdir_norm "*) ;;
+ *) eval flag=\"$hardcode_libdir_flag_spec\"
+ rpath+=" $flag"
+ ;;
@@ -46,7 +54,7 @@ Index: libtool-2.4.2/build-aux/ltmain.in
fi
elif test -n "$runpath_var"; then
case "$perm_rpath " in
-@@ -8070,8 +8082,14 @@ EOF
+@@ -8391,8 +8407,14 @@ func_mode_link ()
esac
fi
else
diff --git a/meta/recipes-devtools/libtool/libtool/0006-libtool.m4-Handle-as-a-sysroot-correctly.patch b/meta/recipes-devtools/libtool/libtool/0006-libtool.m4-Handle-as-a-sysroot-correctly.patch
new file mode 100644
index 0000000000..feb1048b55
--- /dev/null
+++ b/meta/recipes-devtools/libtool/libtool/0006-libtool.m4-Handle-as-a-sysroot-correctly.patch
@@ -0,0 +1,38 @@
+libtool.m4: Change libtool to handle sysroots by default
+
+Rather than using no sysroot by default, always query gcc to obtain the sysroot.
+
+Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
+
+Upstream-Status: Inappropriate [Upstream are unlikely to accept this change of default]
+
+---
+ m4/libtool.m4 | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+Index: libtool-2.5.0/m4/libtool.m4
+===================================================================
+--- libtool-2.5.0.orig/m4/libtool.m4
++++ libtool-2.5.0/m4/libtool.m4
+@@ -1253,18 +1253,18 @@ dnl lt_sysroot will always be passed unq
+ dnl in case the user passed a directory name.
+ lt_sysroot=
+ case $with_sysroot in #(
+- yes)
++ no)
+ if test yes = "$GCC"; then
+ # Trim trailing / since we'll always append absolute paths and we want
+ # to avoid //, if only for less confusing output for the user.
+ lt_sysroot=`$CC --print-sysroot 2>/dev/null | $SED 's:/\+$::'`
+ fi
+ ;; #(
++ yes|''|/)
++ ;; #(
+ /*)
+ lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
+ ;; #(
+- no|'')
+- ;; #(
+ *)
+ AC_MSG_RESULT([$with_sysroot])
+ AC_MSG_ERROR([The sysroot must be an absolute path.])
diff --git a/meta/recipes-devtools/libtool/libtool/0008-libtool-Check-for-static-libs-for-internal-compiler-.patch b/meta/recipes-devtools/libtool/libtool/0008-libtool-Check-for-static-libs-for-internal-compiler-.patch
new file mode 100644
index 0000000000..c103ebb7bf
--- /dev/null
+++ b/meta/recipes-devtools/libtool/libtool/0008-libtool-Check-for-static-libs-for-internal-compiler-.patch
@@ -0,0 +1,30 @@
+From: Khem Raj <raj.khem@gmail.com>
+Subject: [PATCH 08/12] libtool: Check for static libs for internal compiler libraries
+
+Libtool checks only for libraries linked as -l* when trying to
+find internal compiler libraries. Clang, however uses the absolute
+path to link its internal libraries e.g. compiler_rt. This patch
+handles clang's statically linked libraries when finding internal
+compiler libraries.
+
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
+
+https://crbug.com/749263
+https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27866
+
+Upstream-Status: Submitted [https://lists.gnu.org/archive/html/libtool-patches/2021-10/msg00016.html]
+
+Index: libtool-2.5.0/m4/libtool.m4
+===================================================================
+--- libtool-2.5.0.orig/m4/libtool.m4
++++ libtool-2.5.0/m4/libtool.m4
+@@ -7553,7 +7553,7 @@ if AC_TRY_EVAL(ac_compile); then
+ for p in `eval "$output_verbose_link_cmd"`; do
+ case $prev$p in
+
+- -L* | -R* | -l*)
++ -L* | -R* | -l* | */libclang_rt.*.a)
+ # Some compilers place space between "-{L,R,l}" and the path.
+ # Remove the space.
+ if test x-L = x"$p" ||
diff --git a/meta/recipes-devtools/libtool/libtool/debian-no_hostname.patch b/meta/recipes-devtools/libtool/libtool/debian-no_hostname.patch
deleted file mode 100755
index 5add0cca3b..0000000000
--- a/meta/recipes-devtools/libtool/libtool/debian-no_hostname.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-libtool: remove host specific info from header file
-
-https://sources.debian.org/data/main/libt/libtool/2.4.6-10/debian/patches/
- no_hostname.patch
-
-Upstream-Status: Inappropriate [not author]
-Signed-off-by: Joe Slater <joe.slater@windriver.com>
-
----
-Index: libtool-2.4.6/m4/libtool.m4
-===================================================================
---- libtool-2.4.6.orig/m4/libtool.m4
-+++ libtool-2.4.6/m4/libtool.m4
-@@ -728,7 +728,6 @@ _LT_CONFIG_SAVE_COMMANDS([
- cat <<_LT_EOF >> "$cfgfile"
- #! $SHELL
- # Generated automatically by $as_me ($PACKAGE) $VERSION
--# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
- # NOTE: Changes made to this file will be lost: look at ltmain.sh.
-
- # Provide generalized library-building support services.
diff --git a/meta/recipes-devtools/libtool/libtool/dont-depend-on-help2man.patch b/meta/recipes-devtools/libtool/libtool/dont-depend-on-help2man.patch
index fd4084c859..0013d16544 100644
--- a/meta/recipes-devtools/libtool/libtool/dont-depend-on-help2man.patch
+++ b/meta/recipes-devtools/libtool/libtool/dont-depend-on-help2man.patch
@@ -4,9 +4,10 @@ Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Updated by: Robert Yang <liezhi.yang@windriver.com>
diff --git a/Makefile.am b/Makefile.am
+index 7bd7f72..c29860e 100644
--- a/Makefile.am
+++ b/Makefile.am
-@@ -404,21 +404,6 @@ $(notes_txt): $(notes_texi)
+@@ -411,21 +411,6 @@ $(notes_txt): $(notes_texi)
$(AM_V_GEN)$(MAKEINFO) -P '$(srcdir)/doc' --no-headers \
$(MAKEINFOFLAGS) -o '$@' '$(notes_texi)'
diff --git a/meta/recipes-devtools/libtool/libtool/filefix.patch b/meta/recipes-devtools/libtool/libtool/filefix.patch
new file mode 100644
index 0000000000..4d85132954
--- /dev/null
+++ b/meta/recipes-devtools/libtool/libtool/filefix.patch
@@ -0,0 +1,30 @@
+[PATCH] libtool.m4: Fix AC_CHECK_PROG usage
+
+In commit:
+
+https://git.savannah.gnu.org/cgit/libtool.git/commit/m4/libtool.m4?id=64bef5ba65f6820cd5f88e5249324b4f5955ee25
+
+AC_CHECK_TOOL was changed to AC_CHECK_PROG however the arguments are
+different and this result is a value of ":". Change this to match the
+original intent.
+
+The lack of FILECMD was causing failures for mips64 builds as -m elf was
+being passed to LD which isn't supported on our targets.
+
+Upstream-Status: Submitted [https://lists.gnu.org/archive/html/libtool-patches/2024-06/msg00000.html]
+
+Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
+
+Index: libtool-2.5.0/m4/libtool.m4
+===================================================================
+--- libtool-2.5.0.orig/m4/libtool.m4
++++ libtool-2.5.0/m4/libtool.m4
+@@ -8216,7 +8216,7 @@ AC_SUBST([DLLTOOL])
+ # ----------------
+ # Check for a file(cmd) program that can be used to detect file type and magic
+ m4_defun([_LT_DECL_FILECMD],
+-[AC_CHECK_PROG([FILECMD], [file], [:])
++[AC_CHECK_PROG([FILECMD], [file], [file], [:])
+ _LT_DECL([], [FILECMD], [1], [A file(cmd) program that detects file types])
+ ])# _LD_DECL_FILECMD
+
diff --git a/meta/recipes-devtools/libtool/libtool/fix-resolve-lt-sysroot.patch b/meta/recipes-devtools/libtool/libtool/fix-resolve-lt-sysroot.patch
deleted file mode 100644
index 1bd95980c0..0000000000
--- a/meta/recipes-devtools/libtool/libtool/fix-resolve-lt-sysroot.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-Upstream-Status: Pending
-
-This patch updates libtool.m4 (and its output) to resolve a problem
-with variable 'lt_sysroot' not being properly updated if the option
-'--with[-libtool]-sysroot' is not provided when running the 'configure'
-script for a package.
-
-I have also reported the problem to libtool here
-
-http://lists.gnu.org/archive/html/bug-libtool/2013-09/msg00005.html
-
-Signed-off-by: Hans Beckerus <hans.beckerus at gmail.com>
-Updated by: Robert Yang <liezhi.yang@windriver.com>
----
-diff --git a/m4/libtool.m4 b/m4/libtool.m4
---- a/m4/libtool.m4
-+++ b/m4/libtool.m4
-@@ -1225,16 +1225,21 @@ dnl lt_sysroot will always be passed unquoted. We quote it here
- dnl in case the user passed a directory name.
- lt_sysroot=
- case $with_libtool_sysroot in #(
-- yes)
-+ no)
- if test yes = "$GCC"; then
- lt_sysroot=`$CC --print-sysroot 2>/dev/null`
-+ # Treat "/" the same a an unset sysroot. It seems to be more
-+ # compatible across host platforms that way!?
-+ if test "$lt_sysroot" = /; then
-+ lt_sysroot=
-+ fi
- fi
- ;; #(
-+ yes|''|/)
-+ ;; #(
- /*)
- lt_sysroot=`echo "$with_libtool_sysroot" | sed -e "$sed_quote_subst"`
- ;; #(
-- no|'')
-- ;; #(
- *)
- AC_MSG_RESULT([$with_libtool_sysroot])
- AC_MSG_ERROR([The sysroot must be an absolute path.])
diff --git a/meta/recipes-devtools/libtool/libtool/fixinstall.patch b/meta/recipes-devtools/libtool/libtool/fixinstall.patch
index 8f343bf436..48330d82fb 100644
--- a/meta/recipes-devtools/libtool/libtool/fixinstall.patch
+++ b/meta/recipes-devtools/libtool/libtool/fixinstall.patch
@@ -27,9 +27,9 @@ diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
- if test -n "$relink_command"; then
+ if test "$fast_install" = no && test -n "$relink_command"; then
- # Strip any trailing slash from the destination.
- func_stripname '' '/' "$libdir"
- destlibdir=$func_stripname_result
+ # Strip any trailing slash from the destination.
+ func_stripname '' '/' "$libdir"
+ destlibdir=$func_stripname_result
@@ -2394,7 +2394,7 @@ func_mode_install ()
shift
diff --git a/meta/recipes-devtools/libtool/libtool/norm-rpath.patch b/meta/recipes-devtools/libtool/libtool/norm-rpath.patch
deleted file mode 100644
index 1e4c65e024..0000000000
--- a/meta/recipes-devtools/libtool/libtool/norm-rpath.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-libtool: normalize link paths before considering for RPATH
-
-Libtool may be passed link paths of the form "/usr/lib/../lib", which
-fool its detection code into thinking it should be included as an
-RPATH in the generated binary. Normalize before comparision.
-
-Signed-off-by: Andy Ross <andy.ross@windriver.com>
-Upstream-Status: Pending
-
-Updated by: Robert Yang <liezhi.yang@windriver.com>
-
-diff -ur a/build-aux/ltmain.in b/build-aux/ltmain.in
---- a/build-aux/ltmain.in 2012-08-16 13:58:55.058900363 -0700
-+++ b/build-aux/ltmain.in 2012-08-22 11:01:34.191345989 -0700
-@@ -7288,8 +7288,10 @@
- else
- # We only want to hardcode in an rpath if it isn't in the
- # default dlsearch path.
-+ func_normal_abspath "$libdir"
-+ libdir_norm=$func_normal_abspath_result
- case " $sys_lib_dlsearch_path " in
-- *" $libdir "*) ;;
-+ *" $libdir_norm "*) ;;
- *) eval flag=\"$hardcode_libdir_flag_spec\"
- func_append dep_rpath " $flag"
- ;;
-@@ -8027,8 +8029,10 @@
- else
- # We only want to hardcode in an rpath if it isn't in the
- # default dlsearch path.
-+ func_normal_abspath "$libdir"
-+ libdir_norm=$func_normal_abspath_result
- case " $sys_lib_dlsearch_path " in
-- *" $libdir "*) ;;
-+ *" $libdir_norm "*) ;;
- *) eval flag=\"$hardcode_libdir_flag_spec\"
- rpath+=" $flag"
- ;;
diff --git a/meta/recipes-devtools/libtool/libtool/prefix.patch b/meta/recipes-devtools/libtool/libtool/prefix.patch
deleted file mode 100644
index a73df2e4a7..0000000000
--- a/meta/recipes-devtools/libtool/libtool/prefix.patch
+++ /dev/null
@@ -1,98 +0,0 @@
-Upstream-Status: Inappropriate [embedded specific]
-
-Renames "libtool" -> "${TARGET_PREFIX}libtool" which makes sure
-it can't be confused with the host libtool.
-
-Originally by: RP
-
-Updated: Date: 2010/06/28
-Nitin A Kamble <nitin.a.kamble@intel.com>
-
-It also adjusts libtool so that the header at the script is used for
-script execution and not thevalue of $SHELL. This is because many
-Makefiles change $SHELL so dash can get used to execute what is
-otherwise configured as a bash shell script. Since we don't need to
-execute scipts this way on any system I'm aware of us building upon,
-the simplest fix is just to remove $SHELL.
-
-Updated: Date: 2011/11/09
-RP
-
-Updated by: Robert Yang <liezhi.yang@windriver.com>
-
-diff --git a/Makefile.am b/Makefile.am
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -31,7 +31,7 @@ SUBDIRS = .
- DIST_SUBDIRS = $(SUBDIRS)
- EXTRA_DIST =
-
--BUILT_SOURCES = libtool libtoolize
-+BUILT_SOURCES = $(host_alias)-libtool libtoolize
-
- CLEANFILES =
- MOSTLYCLEANFILES =
-@@ -67,7 +67,7 @@ build_scripts = $(srcdir)/$(aux_dir)/announce-gen \
-
- EXTRA_DIST += bootstrap bootstrap.conf $(build_scripts) cfg.mk maint.mk \
- GNUmakefile
--CLEANFILES += libtool libtoolize
-+CLEANFILES += $(host_alias)-libtool libtoolize
-
- ## If a file is named several times below, and especially if it
- ## is a distributed file created during Libtool bootstrap, we
-@@ -276,7 +276,7 @@ configure_edit = $(bootstrap_edit) \
- -e 's|@srcdir\@|$(srcdir)|g'
-
- # The libtool distributor and the standalone libtool script.
--bin_SCRIPTS = libtool
-+bin_SCRIPTS = $(host_alias)-libtool
-
- libtoolize: $(libtoolize_in) $(config_status)
- $(AM_V_at)rm -f '$@'
-@@ -287,7 +287,7 @@ libtoolize: $(libtoolize_in) $(config_status)
- # We used to do this with a 'stamp-vcl' file, but non-gmake builds
- # would rerun configure on every invocation, so now we manually
- # check the version numbers from the build rule when necessary.
--libtool: $(ltmain_sh) $(config_status) $(dotversion)
-+$(host_alias)-libtool: $(ltmain_sh) $(config_status) $(dotversion)
- @$(rebuild); \
- if test -f '$@'; then \
- eval `'$(SED)' -n '/^package_revision=/p' '$@'`; \
-@@ -731,12 +731,12 @@ TESTS_ENVIRONMENT = MAKE="$(MAKE)" CC="$(CC)" CFLAGS="$(CFLAGS)" \
-
- BUILDCHECK_ENVIRONMENT = _lt_pkgdatadir="$(abs_top_srcdir)" \
- LIBTOOLIZE="$(abs_top_builddir)/libtoolize" \
-- LIBTOOL="$(abs_top_builddir)/libtool" \
-+ LIBTOOL="$(abs_top_builddir)/$(host_alias)-libtool" \
- tst_aclocaldir="$(abs_top_srcdir)/m4"
-
- INSTALLCHECK_ENVIRONMENT = \
- LIBTOOLIZE="$(bindir)/`echo libtoolize |$(SED) '$(program_transform_name)'`" \
-- LIBTOOL="$(bindir)/`echo libtool |$(SED) '$(program_transform_name)'`" \
-+ LIBTOOL="$(bindir)/`echo $(host_alias)-libtool |$(SED) '$(program_transform_name)'`" \
- LTDLINCL="-I$(includedir)" \
- LIBLTDL="$(libdir)/libltdl.la" \
- tst_aclocaldir="$(aclocaldir)"
-diff --git a/m4/libtool.m4 b/m4/libtool.m4
---- a/m4/libtool.m4
-+++ b/m4/libtool.m4
-@@ -86,7 +86,8 @@ _LT_SET_OPTIONS([$0], [$1])
- LIBTOOL_DEPS=$ltmain
-
- # Always use our own libtool.
--LIBTOOL='$(SHELL) $(top_builddir)/libtool'
-+LIBTOOL='$(top_builddir)'
-+LIBTOOL="$LIBTOOL/${host_alias}-libtool"
- AC_SUBST(LIBTOOL)dnl
-
- _LT_SETUP
-@@ -199,7 +200,7 @@ aix3*)
- esac
-
- # Global variables:
--ofile=libtool
-+ofile=${host_alias}-libtool
- can_build_shared=yes
-
- # All known linkers require a '.a' archive for static linking (except MSVC,
diff --git a/meta/recipes-devtools/libtool/libtool/rename-with-sysroot.patch b/meta/recipes-devtools/libtool/libtool/rename-with-sysroot.patch
deleted file mode 100644
index ad2b110530..0000000000
--- a/meta/recipes-devtools/libtool/libtool/rename-with-sysroot.patch
+++ /dev/null
@@ -1,166 +0,0 @@
-Upstream-Status: Pending
-
-This patch renames the --with-sysroot option to --with-libtool-sysroot
-to avoid namespace conflict with binutils, gcc and other toolchain
-components.
-
-I also reported the problem to libtool here
-
-http://lists.gnu.org/archive/html/libtool/2010-10/msg00048.html
-
--Khem Raj <raj.khem@gmail.com>
-
-Updated by: Robert Yang <liezhi.yang@windriver.com>
-
-diff --git a/m4/libtool.m4 b/m4/libtool.m4
---- a/m4/libtool.m4
-+++ b/m4/libtool.m4
-@@ -1215,28 +1215,28 @@ _LT_DECL([], [ECHO], [1], [An echo program that protects backslashes])
- # ----------------
- AC_DEFUN([_LT_WITH_SYSROOT],
- [AC_MSG_CHECKING([for sysroot])
--AC_ARG_WITH([sysroot],
--[AS_HELP_STRING([--with-sysroot@<:@=DIR@:>@],
-+AC_ARG_WITH([libtool-sysroot],
-+[AS_HELP_STRING([--with-libtool-sysroot@<:@=DIR@:>@],
- [Search for dependent libraries within DIR (or the compiler's sysroot
- if not specified).])],
--[], [with_sysroot=no])
-+[], [with_libtool_sysroot=no])
-
- dnl lt_sysroot will always be passed unquoted. We quote it here
- dnl in case the user passed a directory name.
- lt_sysroot=
--case $with_sysroot in #(
-+case $with_libtool_sysroot in #(
- yes)
- if test yes = "$GCC"; then
- lt_sysroot=`$CC --print-sysroot 2>/dev/null`
- fi
- ;; #(
- /*)
-- lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
-+ lt_sysroot=`echo "$with_libtool_sysroot" | sed -e "$sed_quote_subst"`
- ;; #(
- no|'')
- ;; #(
- *)
-- AC_MSG_RESULT([$with_sysroot])
-+ AC_MSG_RESULT([$with_libtool_sysroot])
- AC_MSG_ERROR([The sysroot must be an absolute path.])
- ;;
- esac
-diff --git a/tests/sysroot.at b/tests/sysroot.at
---- a/tests/sysroot.at
-+++ b/tests/sysroot.at
-@@ -64,7 +64,7 @@ while read file; do
- done])
-
- LDFLAGS="$LDFLAGS --sysroot=$sysroot -no-undefined"
--configure_options="$configure_options --with-sysroot=$sysroot --prefix=$prefix"
-+configure_options="$configure_options --with-libtool-sysroot=$sysroot --prefix=$prefix"
-
- #???
- if test PATH = "$shlibpath_var"; then
-@@ -114,7 +114,7 @@ AM_INIT_AUTOMAKE([foreign])
- AC_PROG_CC
- AC_CONFIG_SRCDIR([lib2.c])
- LT_INIT
--sysroot=$with_sysroot
-+sysroot=$with_libtool_sysroot
- AC_SUBST([sysroot])
- AC_OUTPUT(Makefile)
- ]])
-@@ -155,7 +155,7 @@ AM_INIT_AUTOMAKE([foreign])
- AC_PROG_CC
- AC_CONFIG_SRCDIR([prog.c])
- LT_INIT
--sysroot=$with_sysroot
-+sysroot=$with_libtool_sysroot
- AC_SUBST([sysroot])
- AC_OUTPUT(Makefile)
- ]])
-diff --git a/tests/testsuite b/tests/testsuite
---- a/tests/testsuite
-+++ b/tests/testsuite
-@@ -48945,7 +48945,7 @@ $at_traceon; }
-
-
- LDFLAGS="$LDFLAGS --sysroot=$sysroot -no-undefined"
--configure_options="$configure_options --with-sysroot=$sysroot --prefix=$prefix"
-+configure_options="$configure_options --with-libtool-sysroot=$sysroot --prefix=$prefix"
-
- #???
- if test PATH = "$shlibpath_var"; then
-@@ -49154,7 +49154,7 @@ AM_INIT_AUTOMAKE([foreign])
- AC_PROG_CC
- AC_CONFIG_SRCDIR([lib2.c])
- LT_INIT
--sysroot=$with_sysroot
-+sysroot=$with_libtool_sysroot
- AC_SUBST([sysroot])
- AC_OUTPUT(Makefile)
- _ATEOF
-@@ -49342,7 +49342,7 @@ AM_INIT_AUTOMAKE([foreign])
- AC_PROG_CC
- AC_CONFIG_SRCDIR([prog.c])
- LT_INIT
--sysroot=$with_sysroot
-+sysroot=$with_libtool_sysroot
- AC_SUBST([sysroot])
- AC_OUTPUT(Makefile)
- _ATEOF
-@@ -49694,7 +49694,7 @@ $at_traceon; }
-
-
- LDFLAGS="$LDFLAGS --sysroot=$sysroot -no-undefined"
--configure_options="$configure_options --with-sysroot=$sysroot --prefix=$prefix"
-+configure_options="$configure_options --with-libtool-sysroot=$sysroot --prefix=$prefix"
-
- #???
- if test PATH = "$shlibpath_var"; then
-@@ -49903,7 +49903,7 @@ AM_INIT_AUTOMAKE([foreign])
- AC_PROG_CC
- AC_CONFIG_SRCDIR([lib2.c])
- LT_INIT
--sysroot=$with_sysroot
-+sysroot=$with_libtool_sysroot
- AC_SUBST([sysroot])
- AC_OUTPUT(Makefile)
- _ATEOF
-@@ -50091,7 +50091,7 @@ AM_INIT_AUTOMAKE([foreign])
- AC_PROG_CC
- AC_CONFIG_SRCDIR([prog.c])
- LT_INIT
--sysroot=$with_sysroot
-+sysroot=$with_libtool_sysroot
- AC_SUBST([sysroot])
- AC_OUTPUT(Makefile)
- _ATEOF
-@@ -50443,7 +50443,7 @@ $at_traceon; }
-
-
- LDFLAGS="$LDFLAGS --sysroot=$sysroot -no-undefined"
--configure_options="$configure_options --with-sysroot=$sysroot --prefix=$prefix"
-+configure_options="$configure_options --with-libtool-sysroot=$sysroot --prefix=$prefix"
-
- #???
- if test PATH = "$shlibpath_var"; then
-@@ -50652,7 +50652,7 @@ AM_INIT_AUTOMAKE([foreign])
- AC_PROG_CC
- AC_CONFIG_SRCDIR([lib2.c])
- LT_INIT
--sysroot=$with_sysroot
-+sysroot=$with_libtool_sysroot
- AC_SUBST([sysroot])
- AC_OUTPUT(Makefile)
- _ATEOF
-@@ -50840,7 +50840,7 @@ AM_INIT_AUTOMAKE([foreign])
- AC_PROG_CC
- AC_CONFIG_SRCDIR([prog.c])
- LT_INIT
--sysroot=$with_sysroot
-+sysroot=$with_libtool_sysroot
- AC_SUBST([sysroot])
- AC_OUTPUT(Makefile)
- _ATEOF
diff --git a/meta/recipes-devtools/libtool/libtool/trailingslash.patch b/meta/recipes-devtools/libtool/libtool/trailingslash.patch
deleted file mode 100644
index e8824d7db9..0000000000
--- a/meta/recipes-devtools/libtool/libtool/trailingslash.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-Upstream-Status: Pending
-
-A command like /bin/sh ../../i586-poky-linux-libtool --mode=install /usr/bin/install -c gck-roots-store-standalone.la '/media/data1/builds/poky1/tmp/work/core2-poky-linux/gnome-keyring-2.26.1-r1/image/usr/lib/gnome-keyring/standalone/' fails (e.g. gnome-keyring or pulseaudio)
-
-This is because libdir has a trailing slash which breaks the comparision.
-
-RP 2/1/10
-
-Merged a patch received from Gary Thomas <gary@mlbassoc.com>
-
-Date: 2010/07/12
-Nitin A Kamble <nitin.a.kamble@intel.com>
-
-Updated by: Robert Yang <liezhi.yang@windriver.com>
-
-diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
---- a/build-aux/ltmain.in
-+++ b/build-aux/ltmain.in
-@@ -2356,8 +2356,15 @@ func_mode_install ()
- func_append dir "$objdir"
-
- if test -n "$relink_command"; then
-+ # Strip any trailing slash from the destination.
-+ func_stripname '' '/' "$libdir"
-+ destlibdir=$func_stripname_result
-+
-+ func_stripname '' '/' "$destdir"
-+ s_destdir=$func_stripname_result
-+
- # Determine the prefix the user has applied to our future dir.
-- inst_prefix_dir=`$ECHO "$destdir" | $SED -e "s%$libdir\$%%"`
-+ inst_prefix_dir=`$ECHO "X$s_destdir" | $Xsed -e "s%$destlibdir\$%%"`
-
- # Don't allow the user to place us outside of our expected
- # location b/c this prevents finding dependent libraries that
diff --git a/meta/recipes-devtools/libtool/libtool/unwind-opt-parsing.patch b/meta/recipes-devtools/libtool/libtool/unwind-opt-parsing.patch
deleted file mode 100644
index b633bc41bb..0000000000
--- a/meta/recipes-devtools/libtool/libtool/unwind-opt-parsing.patch
+++ /dev/null
@@ -1,179 +0,0 @@
-Cut and paste the pieces of build-aux/options-parser inline into the main
-ltmain.sh code. This removes a performance degradation caused by the
-repeated calls to func_quote_for_eval, the mechanism funclib uses
-to construct the functions used for option parsing.
-
-Upstream-Status: Submitted [Being discussed on mailing list Feb 2015]
-
-diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
-index d5cf07a..0f54303 100644
---- a/build-aux/ltmain.in
-+++ b/build-aux/ltmain.in
-@@ -342,11 +342,15 @@ _LT_EOF
- # libtool_options_prep [ARG]...
- # -----------------------------
- # Preparation for options parsed by libtool.
--libtool_options_prep ()
--{
-+#libtool_options_prep ()
-+#{
- $debug_mode
-
- # Option defaults:
-+ opt_verbose=false
-+ opt_warning_types=
-+
-+ # Option defaults:
- opt_config=false
- opt_dlopen=
- opt_dry_run=false
-@@ -382,19 +386,14 @@ libtool_options_prep ()
- shift; set dummy --mode uninstall ${1+"$@"}; shift
- ;;
- esac
--
-- # Pass back the list of options.
-- func_quote_for_eval ${1+"$@"}
-- libtool_options_prep_result=$func_quote_for_eval_result
--}
--func_add_hook func_options_prep libtool_options_prep
-+#}
-
-
- # libtool_parse_options [ARG]...
- # ---------------------------------
- # Provide handling for libtool specific options.
--libtool_parse_options ()
--{
-+#libtool_parse_options ()
-+#{
- $debug_cmd
-
- # Perform our own loop to consume as many options as possible in
-@@ -474,29 +473,90 @@ libtool_parse_options ()
- func_append preserve_args " $_G_opt"
- ;;
-
-- # An option not handled by this hook function:
-- *) set dummy "$_G_opt" ${1+"$@"}; shift; break ;;
-- esac
-- done
-+ --debug|-x) debug_cmd='set -x'
-+ func_echo "enabling shell trace mode"
-+ $debug_cmd
-+ ;;
-
-+ --no-warnings|--no-warning|--no-warn)
-+ set dummy --warnings none ${1+"$@"}
-+ shift
-+ ;;
-
-- # save modified positional parameters for caller
-- func_quote_for_eval ${1+"$@"}
-- libtool_parse_options_result=$func_quote_for_eval_result
--}
--func_add_hook func_parse_options libtool_parse_options
-+ --warnings|--warning|-W)
-+ test $# = 0 && func_missing_arg $_G_opt && break
-+ case " $warning_categories $1" in
-+ *" $1 "*)
-+ # trailing space prevents matching last $1 above
-+ func_append_uniq opt_warning_types " $1"
-+ ;;
-+ *all)
-+ opt_warning_types=$warning_categories
-+ ;;
-+ *none)
-+ opt_warning_types=none
-+ warning_func=:
-+ ;;
-+ *error)
-+ opt_warning_types=$warning_categories
-+ warning_func=func_fatal_error
-+ ;;
-+ *)
-+ func_fatal_error \
-+ "unsupported warning category: '$1'"
-+ ;;
-+ esac
-+ shift
-+ ;;
-+
-+ --verbose|-v) opt_verbose=: ;;
-+ --version) func_version ;;
-+ -\?|-h) func_usage ;;
-+ --help) func_help ;;
-+
-+ # Separate optargs to long options (plugins may need this):
-+ --*=*) func_split_equals "$_G_opt"
-+ set dummy "$func_split_equals_lhs" \
-+ "$func_split_equals_rhs" ${1+"$@"}
-+ shift
-+ ;;
-+
-+ # Separate optargs to short options:
-+ -W*)
-+ func_split_short_opt "$_G_opt"
-+ set dummy "$func_split_short_opt_name" \
-+ "$func_split_short_opt_arg" ${1+"$@"}
-+ shift
-+ ;;
-+
-+ # Separate non-argument short options:
-+ -\?*|-h*|-v*|-x*)
-+ func_split_short_opt "$_G_opt"
-+ set dummy "$func_split_short_opt_name" \
-+ "-$func_split_short_opt_arg" ${1+"$@"}
-+ shift
-+ ;;
-+
-+ --) break ;;
-+ -*) func_fatal_help "unrecognised option: '$_G_opt'" ;;
-+ *) set dummy "$_G_opt" ${1+"$@"}; shift; break ;;
-+ esac
-+ done
-+#}
-
-+# Display all warnings if -W was not given.
-+test -n "$opt_warning_types" || opt_warning_types=" $warning_categories"
-
-
- # libtool_validate_options [ARG]...
- # ---------------------------------
- # Perform any sanity checks on option settings and/or unconsumed
- # arguments.
--libtool_validate_options ()
--{
-+#libtool_validate_options ()
-+#{
- # save first non-option argument
- if test 0 -lt $#; then
-- nonopt=$1
-+ nonopt=$_G_opt
- shift
- fi
-
-@@ -537,20 +597,10 @@ libtool_validate_options ()
- generic_help=$help
- help="Try '$progname --help --mode=$opt_mode' for more information."
- }
-+#}
-
-- # Pass back the unparsed argument list
-- func_quote_for_eval ${1+"$@"}
-- libtool_validate_options_result=$func_quote_for_eval_result
--}
--func_add_hook func_validate_options libtool_validate_options
--
--
--# Process options as early as possible so that --help and --version
--# can return quickly.
--func_options ${1+"$@"}
--eval set dummy "$func_options_result"; shift
--
--
-+# Bail if the options were screwed!
-+$exit_cmd $EXIT_FAILURE
-
- ## ----------- ##
- ## Main. ##
diff --git a/meta/recipes-devtools/libtool/libtool/use-sysroot-in-libpath.patch b/meta/recipes-devtools/libtool/libtool/use-sysroot-in-libpath.patch
deleted file mode 100644
index 6af99f327c..0000000000
--- a/meta/recipes-devtools/libtool/libtool/use-sysroot-in-libpath.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-Upstream-Status: Pending
-
-When using sysroot we should append it to libdir, which is helpful in
-cross builds as the system is staged in the sysroot. For normal builds,
-i.e. when lt_sysroot is not set, it will still behave the same and add
--L/usr/lib to the relink command.
-
--Khem Raj <raj.khem@gmail.com>
-Updated by: Robert Yang <liezhi.yang@windriver.com>
-
-diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
---- a/build-aux/ltmain.in
-+++ b/build-aux/ltmain.in
-@@ -6421,7 +6421,7 @@ func_mode_link ()
- fi
- else
- # We cannot seem to hardcode it, guess we'll fake it.
-- add_dir=-L$libdir
-+ add_dir="-L$lt_sysroot$libdir"
- # Try looking first in the location we're being installed to.
- if test -n "$inst_prefix_dir"; then
- case $libdir in
diff --git a/meta/recipes-devtools/libtool/libtool_2.4.6.bb b/meta/recipes-devtools/libtool/libtool_2.5.0.bb
index a5715faaa9..44a4950574 100644
--- a/meta/recipes-devtools/libtool/libtool_2.4.6.bb
+++ b/meta/recipes-devtools/libtool/libtool_2.5.0.bb
@@ -1,21 +1,21 @@
require libtool-${PV}.inc
-SRC_URI += "file://multilib.patch file://debian-no_hostname.patch"
+SRC_URI += "file://multilib.patch"
-RDEPENDS_${PN} += "bash"
+RDEPENDS:${PN} += "bash"
#
# We want the results of libtool-cross preserved - don't stage anything ourselves.
#
-SYSROOT_DIRS_BLACKLIST += " \
+SYSROOT_DIRS_IGNORE += " \
${bindir} \
${datadir}/aclocal \
${datadir}/libtool/build-aux \
"
-ACLOCALEXTRAPATH_class-target = ""
+ACLOCALEXTRAPATH:class-target = ""
-do_install_append () {
+do_install:append () {
sed -e 's@--sysroot=${STAGING_DIR_HOST}@@g' \
-e "s@${DEBUG_PREFIX_MAP}@@g" \
-e 's@${STAGING_DIR_HOST}@@g' \
diff --git a/meta/recipes-devtools/libtool/nativesdk-libtool_2.4.6.bb b/meta/recipes-devtools/libtool/nativesdk-libtool_2.4.6.bb
deleted file mode 100644
index 508eade326..0000000000
--- a/meta/recipes-devtools/libtool/nativesdk-libtool_2.4.6.bb
+++ /dev/null
@@ -1,31 +0,0 @@
-require libtool-${PV}.inc
-
-FILESEXTRAPATHS =. "${FILE_DIRNAME}/libtool:"
-
-SRC_URI += "file://prefix.patch"
-SRC_URI += "file://fixinstall.patch"
-
-inherit nativesdk
-
-S = "${WORKDIR}/libtool-${PV}"
-FILES_${PN} += "${datadir}/libtool/*"
-
-do_configure_prepend () {
- # Remove any existing libtool m4 since old stale versions would break
- # any upgrade
- rm -f ${STAGING_DATADIR}/aclocal/libtool.m4
- rm -f ${STAGING_DATADIR}/aclocal/lt*.m4
-}
-
-do_install () {
- autotools_do_install
- install -d ${D}${bindir}/
- install -m 0755 ${HOST_SYS}-libtool ${D}${bindir}/
-}
-
-SYSROOT_PREPROCESS_FUNCS += "libtoolnativesdk_sysroot_preprocess"
-
-libtoolnativesdk_sysroot_preprocess () {
- install -d ${SYSROOT_DESTDIR}${bindir_crossscripts}/
- install -m 755 ${D}${bindir}/${HOST_SYS}-libtool ${SYSROOT_DESTDIR}${bindir_crossscripts}/${HOST_SYS}-libtool
-}
diff --git a/meta/recipes-devtools/libtool/nativesdk-libtool_2.5.0.bb b/meta/recipes-devtools/libtool/nativesdk-libtool_2.5.0.bb
new file mode 100644
index 0000000000..ddb60e717c
--- /dev/null
+++ b/meta/recipes-devtools/libtool/nativesdk-libtool_2.5.0.bb
@@ -0,0 +1,23 @@
+require libtool-${PV}.inc
+
+FILESEXTRAPATHS =. "${FILE_DIRNAME}/libtool:"
+
+SRC_URI += "file://fixinstall.patch"
+
+inherit nativesdk
+
+S = "${WORKDIR}/libtool-${PV}"
+FILES:${PN} += "${datadir}/libtool/*"
+
+do_install () {
+ autotools_do_install
+ install -d ${D}${bindir}/
+ install -m 0755 libtool ${D}${bindir}/
+}
+
+SYSROOT_PREPROCESS_FUNCS += "libtoolnativesdk_sysroot_preprocess"
+
+libtoolnativesdk_sysroot_preprocess () {
+ install -d ${SYSROOT_DESTDIR}${bindir_crossscripts}/
+ install -m 755 ${D}${bindir}/libtool ${SYSROOT_DESTDIR}${bindir_crossscripts}/libtool
+}
diff --git a/meta/recipes-devtools/llvm/llvm/0001-AsmMatcherEmitter-sort-ClassInfo-lists-by-name-as-we.patch b/meta/recipes-devtools/llvm/llvm/0001-AsmMatcherEmitter-sort-ClassInfo-lists-by-name-as-we.patch
new file mode 100644
index 0000000000..a5c53b6657
--- /dev/null
+++ b/meta/recipes-devtools/llvm/llvm/0001-AsmMatcherEmitter-sort-ClassInfo-lists-by-name-as-we.patch
@@ -0,0 +1,31 @@
+From 3b30a9bda88374e8f03bf96e972aee5bd214b98b Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin <alex.kanavin@gmail.com>
+Date: Fri, 27 Nov 2020 10:11:08 +0000
+Subject: [PATCH] AsmMatcherEmitter: sort ClassInfo lists by name as well
+
+Otherwise, there are instances which are identical in
+every other field and therefore sort non-reproducibly
+(which breaks binary and source reproducibiliy).
+
+Upstream-Status: Submitted [https://reviews.llvm.org/D97477]
+Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
+---
+ llvm/utils/TableGen/AsmMatcherEmitter.cpp | 5 ++++-
+ 1 file changed, 4 insertions(+), 1 deletion(-)
+
+diff --git a/llvm/utils/TableGen/AsmMatcherEmitter.cpp b/llvm/utils/TableGen/AsmMatcherEmitter.cpp
+index 73724e662f9e..1ca9c73415db 100644
+--- a/llvm/utils/TableGen/AsmMatcherEmitter.cpp
++++ b/llvm/utils/TableGen/AsmMatcherEmitter.cpp
+@@ -361,7 +361,10 @@ public:
+ // name of a class shouldn't be significant. However, some of the backends
+ // accidentally rely on this behaviour, so it will have to stay like this
+ // until they are fixed.
+- return ValueName < RHS.ValueName;
++ if (ValueName != RHS.ValueName)
++ return ValueName < RHS.ValueName;
++ // All else being equal, we should sort by name, for source and binary reproducibility
++ return Name < RHS.Name;
+ }
+ };
+
diff --git a/meta/recipes-devtools/llvm/llvm/0006-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch b/meta/recipes-devtools/llvm/llvm/0006-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch
deleted file mode 100644
index d02b7ba6ab..0000000000
--- a/meta/recipes-devtools/llvm/llvm/0006-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch
+++ /dev/null
@@ -1,90 +0,0 @@
-Upstream-Status: Pending
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
-
-From dbeecdb307be8b783b42cbc89dcb9c5e7f528989 Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Sat, 21 May 2016 00:33:20 +0000
-Subject: [PATCH] llvm: TargetLibraryInfo: Undefine libc functions if they are macros
-
-musl defines some functions as macros and not inline functions
-if this is the case then make sure to undefine them
-
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
- .../llvm/Analysis/TargetLibraryInfo.def | 21 +++++++++++++++++++
- 1 file changed, 21 insertions(+)
-
-diff --git a/llvm/include/llvm/Analysis/TargetLibraryInfo.def b/llvm/include/llvm/Analysis/TargetLibraryInfo.def
-index afed404f04c..876888656f2 100644
---- a/llvm/include/llvm/Analysis/TargetLibraryInfo.def
-+++ b/llvm/include/llvm/Analysis/TargetLibraryInfo.def
-@@ -782,6 +782,9 @@ TLI_DEFINE_STRING_INTERNAL("fmodl")
- TLI_DEFINE_ENUM_INTERNAL(fopen)
- TLI_DEFINE_STRING_INTERNAL("fopen")
- /// FILE *fopen64(const char *filename, const char *opentype)
-+#ifdef fopen64
-+#undef fopen64
-+#endif
- TLI_DEFINE_ENUM_INTERNAL(fopen64)
- TLI_DEFINE_STRING_INTERNAL("fopen64")
- /// int fork();
-@@ -829,6 +832,9 @@ TLI_DEFINE_STRING_INTERNAL("fseek")
- /// int fseeko(FILE *stream, off_t offset, int whence);
- TLI_DEFINE_ENUM_INTERNAL(fseeko)
- TLI_DEFINE_STRING_INTERNAL("fseeko")
-+#ifdef fseeko64
-+#undef fseeko64
-+#endif
- /// int fseeko64(FILE *stream, off64_t offset, int whence)
- TLI_DEFINE_ENUM_INTERNAL(fseeko64)
- TLI_DEFINE_STRING_INTERNAL("fseeko64")
-@@ -839,6 +845,9 @@ TLI_DEFINE_STRING_INTERNAL("fsetpos")
- TLI_DEFINE_ENUM_INTERNAL(fstat)
- TLI_DEFINE_STRING_INTERNAL("fstat")
- /// int fstat64(int filedes, struct stat64 *buf)
-+#ifdef fstat64
-+#undef fstat64
-+#endif
- TLI_DEFINE_ENUM_INTERNAL(fstat64)
- TLI_DEFINE_STRING_INTERNAL("fstat64")
- /// int fstatvfs(int fildes, struct statvfs *buf);
-@@ -854,6 +863,9 @@ TLI_DEFINE_STRING_INTERNAL("ftell")
- TLI_DEFINE_ENUM_INTERNAL(ftello)
- TLI_DEFINE_STRING_INTERNAL("ftello")
- /// off64_t ftello64(FILE *stream)
-+#ifdef ftello64
-+#undef ftello64
-+#endif
- TLI_DEFINE_ENUM_INTERNAL(ftello64)
- TLI_DEFINE_STRING_INTERNAL("ftello64")
- /// int ftrylockfile(FILE *file);
-@@ -980,6 +992,9 @@ TLI_DEFINE_STRING_INTERNAL("logl")
- TLI_DEFINE_ENUM_INTERNAL(lstat)
- TLI_DEFINE_STRING_INTERNAL("lstat")
- /// int lstat64(const char *path, struct stat64 *buf);
-+#ifdef lstat64
-+#undef lstat64
-+#endif
- TLI_DEFINE_ENUM_INTERNAL(lstat64)
- TLI_DEFINE_STRING_INTERNAL("lstat64")
- /// void *malloc(size_t size);
-@@ -1205,6 +1220,9 @@ TLI_DEFINE_STRING_INTERNAL("sscanf")
- TLI_DEFINE_ENUM_INTERNAL(stat)
- TLI_DEFINE_STRING_INTERNAL("stat")
- /// int stat64(const char *path, struct stat64 *buf);
-+#ifdef stat64
-+#undef stat64
-+#endif
- TLI_DEFINE_ENUM_INTERNAL(stat64)
- TLI_DEFINE_STRING_INTERNAL("stat64")
- /// int statvfs(const char *path, struct statvfs *buf);
-@@ -1340,6 +1358,9 @@ TLI_DEFINE_STRING_INTERNAL("times")
- TLI_DEFINE_ENUM_INTERNAL(tmpfile)
- TLI_DEFINE_STRING_INTERNAL("tmpfile")
- /// FILE *tmpfile64(void)
-+#ifdef tmpfile64
-+#undef tmpfile64
-+#endif
- TLI_DEFINE_ENUM_INTERNAL(tmpfile64)
- TLI_DEFINE_STRING_INTERNAL("tmpfile64")
- /// int toascii(int c);
diff --git a/meta/recipes-devtools/llvm/llvm/0007-llvm-allow-env-override-of-exe-path.patch b/meta/recipes-devtools/llvm/llvm/0007-llvm-allow-env-override-of-exe-path.patch
index b01b8647c9..add38b3bb4 100644
--- a/meta/recipes-devtools/llvm/llvm/0007-llvm-allow-env-override-of-exe-path.patch
+++ b/meta/recipes-devtools/llvm/llvm/0007-llvm-allow-env-override-of-exe-path.patch
@@ -1,27 +1,26 @@
-Upstream-Status: Pending
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
-
-From 61b00e1e051e367f5483d7b5253b6c85a9e8a90f Mon Sep 17 00:00:00 2001
+From 588a8694c6540e31140c7e242bfb5e279d6ca08c Mon Sep 17 00:00:00 2001
From: Martin Kelly <mkelly@xevo.com>
Date: Fri, 19 May 2017 00:22:57 -0700
-Subject: [PATCH] llvm: allow env override of exe path
+Subject: [PATCH] llvm: allow env override of exe and libdir path
When using a native llvm-config from inside a sysroot, we need llvm-config to
return the libraries, include directories, etc. from inside the sysroot rather
than from the native sysroot. Thus provide an env override for calling
llvm-config from a target sysroot.
+Upstream-Status: Inappropriate [OE-specific]
+
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
- llvm/tools/llvm-config/llvm-config.cpp | 7 +++++++
- 1 file changed, 7 insertions(+)
+ llvm/tools/llvm-config/llvm-config.cpp | 25 +++++++++++++++++++------
+ 1 file changed, 19 insertions(+), 6 deletions(-)
diff --git a/llvm/tools/llvm-config/llvm-config.cpp b/llvm/tools/llvm-config/llvm-config.cpp
-index 7ef7c46a262..a4f7ed82c7b 100644
+index e86eb2b44b10..7b2abf318dbe 100644
--- a/llvm/tools/llvm-config/llvm-config.cpp
+++ b/llvm/tools/llvm-config/llvm-config.cpp
-@@ -225,6 +225,13 @@ Typical components:\n\
+@@ -246,6 +246,13 @@ Typical components:\n\
/// Compute the path to the main executable.
std::string GetExecutablePath(const char *Argv0) {
@@ -35,3 +34,4 @@ index 7ef7c46a262..a4f7ed82c7b 100644
// This just needs to be some symbol in the binary; C++ doesn't
// allow taking the address of ::main however.
void *P = (void *)(intptr_t)GetExecutablePath;
+
diff --git a/meta/recipes-devtools/llvm/llvm/llvm-config b/meta/recipes-devtools/llvm/llvm/llvm-config
new file mode 100644
index 0000000000..5e4ded2da5
--- /dev/null
+++ b/meta/recipes-devtools/llvm/llvm/llvm-config
@@ -0,0 +1,51 @@
+#!/bin/bash
+#
+# Copyright OpenEmbedded Contributors
+#
+# SPDX-License-Identifier: MIT
+#
+# Wrap llvm-config since the native llvm-config will remap some values correctly
+# if placed in the target sysroot but for flags, it would provide the native ones.
+# Provide ours from the environment instead.
+
+NEXT_LLVM_CONFIG="$(which -a llvm-config | sed -n 2p)"
+if [[ $# == 0 ]]; then
+ exec "$NEXT_LLVM_CONFIG"
+fi
+
+remain=""
+output=""
+for arg in "$@"; do
+ case "$arg" in
+ --cppflags)
+ output="${output} ${CPPFLAGS}"
+ ;;
+ --cflags)
+ output="${output} ${CFLAGS}"
+ ;;
+ --cxxflags)
+ output="${output} ${CXXFLAGS}"
+ ;;
+ --ldflags)
+ output="${output} ${LDFLAGS}"
+ ;;
+ --shared-mode)
+ output="${output} shared"
+ ;;
+ --libs)
+ output="${output} -lLLVM"
+ ;;
+ --link-shared)
+ break
+ ;;
+ *)
+ remain="${remain} ${arg}"
+ ;;
+ esac
+done
+
+if [ "${remain}" != "" ]; then
+ output="${output} "$("$NEXT_LLVM_CONFIG" ${remain})
+fi
+
+echo "${output}"
diff --git a/meta/recipes-devtools/llvm/llvm_18.1.6.bb b/meta/recipes-devtools/llvm/llvm_18.1.6.bb
new file mode 100644
index 0000000000..189f5b1146
--- /dev/null
+++ b/meta/recipes-devtools/llvm/llvm_18.1.6.bb
@@ -0,0 +1,177 @@
+# Copyright (C) 2017 Khem Raj <raj.khem@gmail.com>
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+SUMMARY = "The LLVM Compiler Infrastructure"
+HOMEPAGE = "http://llvm.org"
+LICENSE = "Apache-2.0-with-LLVM-exception"
+SECTION = "devel"
+
+LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=8a15a0759ef07f2682d2ba4b893c9afe"
+
+DEPENDS = "libffi libxml2 zlib zstd libedit ninja-native llvm-native"
+
+RDEPENDS:${PN}:append:class-target = " ncurses-terminfo"
+
+inherit cmake pkgconfig
+# could be 'rcX' or 'git' or empty ( for release )
+VER_SUFFIX = ""
+
+PV .= "${VER_SUFFIX}"
+
+MAJOR_VERSION = "${@oe.utils.trim_version("${PV}", 1)}"
+
+LLVM_RELEASE = "${PV}"
+
+SRC_URI = "https://github.com/llvm/llvm-project/releases/download/llvmorg-${PV}/llvm-project-${PV}.src.tar.xz \
+ file://0007-llvm-allow-env-override-of-exe-path.patch;striplevel=2 \
+ file://0001-AsmMatcherEmitter-sort-ClassInfo-lists-by-name-as-we.patch;striplevel=2 \
+ file://llvm-config \
+ "
+SRC_URI[sha256sum] = "bd4b4cb6374bcd5fc5a3ba60cb80425d29da34f316b8821abc12c0db225cf6b4"
+
+UPSTREAM_CHECK_URI = "https://github.com/llvm/llvm-project"
+UPSTREAM_CHECK_REGEX = "llvmorg-(?P<pver>\d+(\.\d+)+)"
+
+S = "${WORKDIR}/llvm-project-${PV}.src/llvm"
+
+LLVM_INSTALL_DIR = "${WORKDIR}/llvm-install"
+
+def get_llvm_arch(bb, d, arch_var):
+ import re
+ a = d.getVar(arch_var)
+ if re.match(r'(i.86|athlon|x86.64)$', a): return 'X86'
+ elif re.match(r'arm$', a): return 'ARM'
+ elif re.match(r'armeb$', a): return 'ARM'
+ elif re.match(r'aarch64$', a): return 'AArch64'
+ elif re.match(r'aarch64_be$', a): return 'AArch64'
+ elif re.match(r'mips(isa|)(32|64|)(r6|)(el|)$', a): return 'Mips'
+ elif re.match(r'riscv(32|64)(eb|)$', a): return 'RISCV'
+ elif re.match(r'p(pc|owerpc)(|64)', a): return 'PowerPC'
+ else:
+ raise bb.parse.SkipRecipe("Cannot map '%s' to a supported LLVM architecture" % a)
+
+def get_llvm_host_arch(bb, d):
+ return get_llvm_arch(bb, d, 'HOST_ARCH')
+
+PACKAGECONFIG ??= "libllvm"
+PACKAGECONFIG:class-native = "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'libllvm', '', d)}"
+# if optviewer OFF, force the modules to be not found or the ones on the host would be found
+PACKAGECONFIG[optviewer] = ",-DPY_PYGMENTS_FOUND=OFF -DPY_PYGMENTS_LEXERS_C_CPP_FOUND=OFF -DPY_YAML_FOUND=OFF,python3-pygments python3-pyyaml,python3-pygments python3-pyyaml"
+PACKAGECONFIG[libllvm] = ""
+
+#
+# Default to build all OE-Core supported target arches (user overridable).
+#
+LLVM_TARGETS ?= "AMDGPU;${@get_llvm_host_arch(bb, d)}"
+
+ARM_INSTRUCTION_SET:armv5 = "arm"
+ARM_INSTRUCTION_SET:armv4t = "arm"
+
+EXTRA_OECMAKE += "-DLLVM_ENABLE_ASSERTIONS=OFF \
+ -DLLVM_ENABLE_EXPENSIVE_CHECKS=OFF \
+ -DLLVM_ENABLE_PIC=ON \
+ -DLLVM_BINDINGS_LIST='' \
+ -DLLVM_LINK_LLVM_DYLIB=ON \
+ -DLLVM_ENABLE_FFI=ON \
+ -DLLVM_ENABLE_RTTI=ON \
+ -DFFI_INCLUDE_DIR=$(pkg-config --variable=includedir libffi) \
+ -DLLVM_OPTIMIZED_TABLEGEN=ON \
+ -DLLVM_TARGETS_TO_BUILD='${LLVM_TARGETS}' \
+ -DLLVM_VERSION_SUFFIX='${VER_SUFFIX}' \
+ -DLLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN=ON \
+ -DCMAKE_BUILD_TYPE=Release \
+ "
+
+EXTRA_OECMAKE:append:class-target = "\
+ -DCMAKE_CROSSCOMPILING:BOOL=ON \
+ -DLLVM_TABLEGEN=${STAGING_BINDIR_NATIVE}/llvm-tblgen${PV} \
+ -DLLVM_CONFIG_PATH=${STAGING_BINDIR_NATIVE}/llvm-config${PV} \
+ "
+
+EXTRA_OECMAKE:append:class-nativesdk = "\
+ -DCMAKE_CROSSCOMPILING:BOOL=ON \
+ -DLLVM_TABLEGEN=${STAGING_BINDIR_NATIVE}/llvm-tblgen${PV} \
+ -DLLVM_CONFIG_PATH=${STAGING_BINDIR_NATIVE}/llvm-config${PV} \
+ "
+
+# patch out build host paths for reproducibility
+do_compile:prepend:class-target() {
+ sed -i -e "s,${WORKDIR},,g" ${B}/tools/llvm-config/BuildVariables.inc
+}
+
+do_compile() {
+ if ${@bb.utils.contains('PACKAGECONFIG', 'libllvm', 'true', 'false', d)}; then
+ ninja -v ${PARALLEL_MAKE}
+ else
+ ninja -v ${PARALLEL_MAKE} llvm-config llvm-tblgen
+ fi
+}
+
+do_install() {
+ if ${@bb.utils.contains('PACKAGECONFIG', 'libllvm', 'true', 'false', d)}; then
+ DESTDIR=${D} ninja -v install
+
+ # llvm harcodes usr/lib as install path, so this corrects it to actual libdir
+ mv -T -n ${D}/${prefix}/lib ${D}/${libdir} || true
+
+ # Remove opt-viewer: https://llvm.org/docs/Remarks.html
+ rm -rf ${D}${datadir}/opt-viewer
+ rmdir ${D}${datadir}
+
+ # reproducibility
+ sed -i -e 's,${WORKDIR},,g' ${D}/${libdir}/cmake/llvm/LLVMConfig.cmake
+ fi
+}
+
+do_install:append:class-native() {
+ install -D -m 0755 ${B}/bin/llvm-tblgen ${D}${bindir}/llvm-tblgen${PV}
+ install -D -m 0755 ${B}/bin/llvm-config ${D}${bindir}/llvm-config${PV}
+ ln -sf llvm-config${PV} ${D}${bindir}/llvm-config
+}
+
+SYSROOT_PREPROCESS_FUNCS:append:class-target = " llvm_sysroot_preprocess"
+
+llvm_sysroot_preprocess() {
+ install -d ${SYSROOT_DESTDIR}${bindir_crossscripts}/
+ install -m 0755 ${UNPACKDIR}/llvm-config ${SYSROOT_DESTDIR}${bindir_crossscripts}/
+ ln -sf llvm-config ${SYSROOT_DESTDIR}${bindir_crossscripts}/llvm-config${PV}
+}
+
+PACKAGES =+ "${PN}-bugpointpasses ${PN}-llvmhello ${PN}-libllvm ${PN}-liboptremarks ${PN}-liblto"
+
+RRECOMMENDS:${PN}-dev += "${PN}-bugpointpasses ${PN}-llvmhello ${PN}-liboptremarks"
+
+FILES:${PN}-bugpointpasses = "\
+ ${libdir}/BugpointPasses.so \
+"
+
+FILES:${PN}-libllvm = "\
+ ${libdir}/libLLVM-${MAJOR_VERSION}.so \
+ ${libdir}/libLLVM.so.${MAJOR_VER}.${MINOR_VER} \
+"
+
+FILES:${PN}-liblto += "\
+ ${libdir}/libLTO.so.* \
+"
+
+FILES:${PN}-liboptremarks += "\
+ ${libdir}/libRemarks.so.* \
+"
+
+FILES:${PN}-llvmhello = "\
+ ${libdir}/LLVMHello.so \
+"
+
+FILES:${PN}-dev += " \
+ ${libdir}/llvm-config \
+ ${libdir}/libRemarks.so \
+ ${libdir}/libLLVM-${PV}.so \
+"
+
+FILES:${PN}-staticdev += "\
+ ${libdir}/*.a \
+"
+
+INSANE_SKIP:${PN}-libllvm += "dev-so"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/llvm/llvm_git.bb b/meta/recipes-devtools/llvm/llvm_git.bb
deleted file mode 100644
index 4c2d490315..0000000000
--- a/meta/recipes-devtools/llvm/llvm_git.bb
+++ /dev/null
@@ -1,184 +0,0 @@
-# Copyright (C) 2017 Khem Raj <raj.khem@gmail.com>
-# Released under the MIT license (see COPYING.MIT for the terms)
-
-DESCRIPTION = "The LLVM Compiler Infrastructure"
-HOMEPAGE = "http://llvm.org"
-LICENSE = "Apache-2.0-with-LLVM-exception"
-SECTION = "devel"
-
-LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=8a15a0759ef07f2682d2ba4b893c9afe"
-
-DEPENDS = "libffi libxml2 zlib libedit ninja-native llvm-native"
-
-COMPATIBLE_HOST_riscv64 = "null"
-COMPATIBLE_HOST_riscv32 = "null"
-
-RDEPENDS_${PN}_append_class-target = " ncurses-terminfo"
-
-inherit cmake pkgconfig
-
-PROVIDES += "llvm${PV}"
-
-MAJOR_VERSION = "10"
-MINOR_VERSION = "0"
-PATCH_VERSION = "1"
-
-PV = "${MAJOR_VERSION}.${MINOR_VERSION}.${PATCH_VERSION}"
-
-LLVM_RELEASE = "${PV}"
-LLVM_DIR = "llvm${LLVM_RELEASE}"
-
-BRANCH = "release/${MAJOR_VERSION}.x"
-SRCREV = "ef32c611aa214dea855364efd7ba451ec5ec3f74"
-SRC_URI = "git://github.com/llvm/llvm-project.git;branch=${BRANCH} \
- file://0006-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch;striplevel=2 \
- file://0007-llvm-allow-env-override-of-exe-path.patch;striplevel=2 \
- "
-
-UPSTREAM_CHECK_GITTAGREGEX = "llvmorg-(?P<pver>\d+(\.\d+)+)"
-
-S = "${WORKDIR}/git/llvm"
-
-LLVM_INSTALL_DIR = "${WORKDIR}/llvm-install"
-
-def get_llvm_arch(bb, d, arch_var):
- import re
- a = d.getVar(arch_var)
- if re.match(r'(i.86|athlon|x86.64)$', a): return 'X86'
- elif re.match(r'arm$', a): return 'ARM'
- elif re.match(r'armeb$', a): return 'ARM'
- elif re.match(r'aarch64$', a): return 'AArch64'
- elif re.match(r'aarch64_be$', a): return 'AArch64'
- elif re.match(r'mips(isa|)(32|64|)(r6|)(el|)$', a): return 'Mips'
- elif re.match(r'riscv(32|64)(eb|)$', a): return 'RISCV'
- elif re.match(r'p(pc|owerpc)(|64)', a): return 'PowerPC'
- else:
- raise bb.parse.SkipRecipe("Cannot map '%s' to a supported LLVM architecture" % a)
-
-def get_llvm_host_arch(bb, d):
- return get_llvm_arch(bb, d, 'HOST_ARCH')
-
-#
-# Default to build all OE-Core supported target arches (user overridable).
-#
-LLVM_TARGETS ?= "AMDGPU;${@get_llvm_host_arch(bb, d)}"
-
-ARM_INSTRUCTION_SET_armv5 = "arm"
-ARM_INSTRUCTION_SET_armv4t = "arm"
-
-EXTRA_OECMAKE += "-DLLVM_ENABLE_ASSERTIONS=OFF \
- -DLLVM_ENABLE_EXPENSIVE_CHECKS=OFF \
- -DLLVM_ENABLE_PIC=ON \
- -DLLVM_BINDINGS_LIST='' \
- -DLLVM_LINK_LLVM_DYLIB=ON \
- -DLLVM_ENABLE_FFI=ON \
- -DLLVM_ENABLE_RTTI=ON \
- -DFFI_INCLUDE_DIR=$(pkg-config --variable=includedir libffi) \
- -DLLVM_OPTIMIZED_TABLEGEN=ON \
- -DLLVM_TARGETS_TO_BUILD='${LLVM_TARGETS}' \
- -DLLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN=ON \
- -DPYTHON_EXECUTABLE=${HOSTTOOLS_DIR}/python3 \
- -G Ninja"
-
-EXTRA_OECMAKE_append_class-target = "\
- -DCMAKE_CROSSCOMPILING:BOOL=ON \
- -DLLVM_TABLEGEN=${STAGING_BINDIR_NATIVE}/llvm-tblgen${PV} \
- -DLLVM_CONFIG_PATH=${STAGING_BINDIR_NATIVE}/llvm-config${PV} \
- "
-
-EXTRA_OECMAKE_append_class-nativesdk = "\
- -DCMAKE_CROSSCOMPILING:BOOL=ON \
- -DLLVM_TABLEGEN=${STAGING_BINDIR_NATIVE}/llvm-tblgen${PV} \
- -DLLVM_CONFIG_PATH=${STAGING_BINDIR_NATIVE}/llvm-config${PV} \
- "
-
-do_configure_prepend() {
-# Fix paths in llvm-config
- sed -i "s|sys::path::parent_path(CurrentPath))\.str()|sys::path::parent_path(sys::path::parent_path(CurrentPath))).str()|g" ${S}/tools/llvm-config/llvm-config.cpp
- sed -ri "s#/(bin|include|lib)(/?\")#/\1/${LLVM_DIR}\2#g" ${S}/tools/llvm-config/llvm-config.cpp
- sed -ri "s#lib/${LLVM_DIR}#${baselib}/${LLVM_DIR}#g" ${S}/tools/llvm-config/llvm-config.cpp
-}
-
-do_compile() {
- ninja -v ${PARALLEL_MAKE}
-}
-
-do_compile_class-native() {
- ninja -v ${PARALLEL_MAKE} llvm-config llvm-tblgen
-}
-
-do_install() {
- DESTDIR=${LLVM_INSTALL_DIR} ninja -v install
- install -D -m 0755 ${B}/bin/llvm-config ${D}${libdir}/${LLVM_DIR}/llvm-config
-
- install -d ${D}${bindir}/${LLVM_DIR}
- cp -r ${LLVM_INSTALL_DIR}${bindir}/* ${D}${bindir}/${LLVM_DIR}/
-
- install -d ${D}${includedir}/${LLVM_DIR}
- cp -r ${LLVM_INSTALL_DIR}${includedir}/* ${D}${includedir}/${LLVM_DIR}/
-
- install -d ${D}${libdir}/${LLVM_DIR}
-
- # The LLVM sources have "/lib" embedded and so we cannot completely rely on the ${libdir} variable
- if [ -d ${LLVM_INSTALL_DIR}${libdir}/ ]; then
- cp -r ${LLVM_INSTALL_DIR}${libdir}/* ${D}${libdir}/${LLVM_DIR}/
- elif [ -d ${LLVM_INSTALL_DIR}${prefix}/lib ]; then
- cp -r ${LLVM_INSTALL_DIR}${prefix}/lib/* ${D}${libdir}/${LLVM_DIR}/
- elif [ -d ${LLVM_INSTALL_DIR}${prefix}/lib64 ]; then
- cp -r ${LLVM_INSTALL_DIR}${prefix}/lib64/* ${D}${libdir}/${LLVM_DIR}/
- fi
-
- # Remove unnecessary cmake files
- rm -rf ${D}${libdir}/${LLVM_DIR}/cmake
-
- ln -s ${LLVM_DIR}/libLLVM-${MAJOR_VERSION}${SOLIBSDEV} ${D}${libdir}/libLLVM-${MAJOR_VERSION}${SOLIBSDEV}
-
- # We'll have to delete the libLLVM.so due to multiple reasons...
- rm -rf ${D}${libdir}/${LLVM_DIR}/libLLVM.so
- rm -rf ${D}${libdir}/${LLVM_DIR}/libLTO.so
-}
-
-do_install_class-native() {
- install -D -m 0755 ${B}/bin/llvm-tblgen ${D}${bindir}/llvm-tblgen${PV}
- install -D -m 0755 ${B}/bin/llvm-config ${D}${bindir}/llvm-config${PV}
- install -D -m 0755 ${B}/lib/libLLVM-${MAJOR_VERSION}.so ${D}${libdir}/libLLVM-${MAJOR_VERSION}.so
-}
-
-PACKAGES =+ "${PN}-bugpointpasses ${PN}-llvmhello ${PN}-libllvm ${PN}-liboptremarks ${PN}-liblto"
-
-RRECOMMENDS_${PN}-dev += "${PN}-bugpointpasses ${PN}-llvmhello ${PN}-liboptremarks"
-
-FILES_${PN}-bugpointpasses = "\
- ${libdir}/${LLVM_DIR}/BugpointPasses.so \
-"
-
-FILES_${PN}-libllvm = "\
- ${libdir}/${LLVM_DIR}/libLLVM-${MAJOR_VERSION}.so \
- ${libdir}/libLLVM-${MAJOR_VERSION}.so \
-"
-
-FILES_${PN}-liblto += "\
- ${libdir}/${LLVM_DIR}/libLTO.so.* \
-"
-
-FILES_${PN}-liboptremarks += "\
- ${libdir}/${LLVM_DIR}/libRemarks.so.* \
-"
-
-FILES_${PN}-llvmhello = "\
- ${libdir}/${LLVM_DIR}/LLVMHello.so \
-"
-
-FILES_${PN}-dev += " \
- ${libdir}/${LLVM_DIR}/llvm-config \
- ${libdir}/${LLVM_DIR}/libRemarks.so \
- ${libdir}/${LLVM_DIR}/libLLVM-${MAJOR_VERSION}.${MINOR_VERSION}.${PATCH_VERSION}.so \
-"
-
-FILES_${PN}-staticdev += "\
- ${libdir}/${LLVM_DIR}/*.a \
-"
-
-INSANE_SKIP_${PN}-libllvm += "dev-so"
-
-BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/log4cplus/log4cplus_2.0.5.bb b/meta/recipes-devtools/log4cplus/log4cplus_2.1.1.bb
index 967ac7623a..be3c787ab2 100644
--- a/meta/recipes-devtools/log4cplus/log4cplus_2.0.5.bb
+++ b/meta/recipes-devtools/log4cplus/log4cplus_2.1.1.bb
@@ -1,6 +1,7 @@
SUMMARY = "log4cplus provides a simple C++ logging API for log management"
SECTION = "libs"
HOMEPAGE = "http://sourceforge.net/projects/log4cplus/"
+DESCRIPTION = "log4cplus is a simple to use C++ logging API providing thread-safe, flexible, and arbitrarily granular control over log management and configuration. It is modelled after the Java log4j API."
BUGTRACKER = "http://sourceforge.net/p/log4cplus/bugs/"
LICENSE = "Apache-2.0 & BSD-2-Clause"
@@ -8,8 +9,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=41e8e060c26822886b592ab4765c756b"
SRC_URI = "${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}-stable/${PV}/${BP}.tar.gz \
"
-SRC_URI[md5sum] = "71dd956bf686195127559671f1426cff"
-SRC_URI[sha256sum] = "c07115c23219390633798def30b7b51a0f79fdeb857e4b49632f17746d0ceb97"
+SRC_URI[sha256sum] = "42dc435928917fd2f847046c4a0c6086b2af23664d198c7fc1b982c0bfe600c1"
UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/log4cplus/files/log4cplus-stable/"
UPSTREAM_CHECK_REGEX = "log4cplus-stable/(?P<pver>\d+(\.\d+)+)/"
diff --git a/meta/recipes-devtools/lua/lua/lua.pc.in b/meta/recipes-devtools/lua/lua/lua.pc.in
new file mode 100644
index 0000000000..1fc288c4fe
--- /dev/null
+++ b/meta/recipes-devtools/lua/lua/lua.pc.in
@@ -0,0 +1,9 @@
+libdir=@LIBDIR@
+includedir=@INCLUDEDIR@
+
+Name: Lua
+Description: Lua language engine
+Version: @VERSION@
+Requires:
+Libs: -L${libdir} -llua -lm -ldl
+Cflags: -I${includedir}
diff --git a/meta/recipes-devtools/lua/lua/run-ptest b/meta/recipes-devtools/lua/lua/run-ptest
new file mode 100644
index 0000000000..8e085e1af9
--- /dev/null
+++ b/meta/recipes-devtools/lua/lua/run-ptest
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+cd test
+lua -e"_U=true" all.lua > lua-test.tmp
+
+echo "--- test output ---"
+cat lua-test.tmp
+echo ""
+echo ""
+echo "--- ptest result ---"
+
+grep "final OK \!\!\!" lua-test.tmp > /dev/null
+if [ $? -eq 0 ]; then
+ echo "PASS: lua"
+else
+ echo "FAIL: lua"
+fi
+
+rm -f lua-test.tmp
diff --git a/meta/recipes-devtools/lua/lua_5.4.6.bb b/meta/recipes-devtools/lua/lua_5.4.6.bb
new file mode 100644
index 0000000000..17dc8fb17d
--- /dev/null
+++ b/meta/recipes-devtools/lua/lua_5.4.6.bb
@@ -0,0 +1,66 @@
+SUMMARY = "Lua is a powerful light-weight programming language designed \
+for extending applications."
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://doc/readme.html;beginline=303;endline=324;md5=e05449eb28c092473f854670c6e8375a"
+HOMEPAGE = "http://www.lua.org/"
+
+SRC_URI = "http://www.lua.org/ftp/lua-${PV}.tar.gz;name=tarballsrc \
+ file://lua.pc.in \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'ptest', 'http://www.lua.org/tests/lua-${PV_testsuites}-tests.tar.gz;name=tarballtest file://run-ptest ', '', d)} \
+ "
+
+# if no test suite matches PV release of Lua exactly, download the suite for the closest Lua release.
+PV_testsuites = "5.4.4"
+
+SRC_URI[tarballsrc.sha256sum] = "7d5ea1b9cb6aa0b59ca3dde1c6adcb57ef83a1ba8e5432c0ecd06bf439b3ad88"
+SRC_URI[tarballtest.sha256sum] = "04d28355cd67a2299dfe5708b55a0ff221ccb1a3907a3113cc103ccc05ac6aad"
+
+inherit pkgconfig binconfig ptest
+
+PACKAGECONFIG ??= "readline"
+PACKAGECONFIG[readline] = ",,readline"
+
+TARGET_CC_ARCH += " -fPIC ${LDFLAGS}"
+EXTRA_OEMAKE = "'CC=${CC} -fPIC' 'MYCFLAGS=${CFLAGS} -fPIC' MYLDFLAGS='${LDFLAGS}' 'AR=ar rcD' 'RANLIB=ranlib -D'"
+
+do_configure:prepend() {
+ sed -i -e s:/usr/local:${prefix}:g src/luaconf.h
+ sed -i -e s:lib/lua/:${baselib}/lua/:g src/luaconf.h
+}
+
+do_compile () {
+ oe_runmake ${@bb.utils.contains('PACKAGECONFIG', 'readline', 'linux-readline', 'linux', d)}
+}
+
+do_install () {
+ oe_runmake \
+ 'INSTALL_TOP=${D}${prefix}' \
+ 'INSTALL_BIN=${D}${bindir}' \
+ 'INSTALL_INC=${D}${includedir}/' \
+ 'INSTALL_MAN=${D}${mandir}/man1' \
+ 'INSTALL_SHARE=${D}${datadir}/lua' \
+ 'INSTALL_LIB=${D}${libdir}' \
+ 'INSTALL_CMOD=${D}${libdir}/lua/5.4' \
+ install
+ install -d ${D}${libdir}/pkgconfig
+
+ sed -e s/@VERSION@/${PV}/ -e s#@LIBDIR@#${libdir}# -e s#@INCLUDEDIR@#${includedir}# ${UNPACKDIR}/lua.pc.in > ${S}/lua.pc
+ install -m 0644 ${S}/lua.pc ${D}${libdir}/pkgconfig/
+ rmdir ${D}${datadir}/lua/5.4
+ rmdir ${D}${datadir}/lua
+}
+
+do_install_ptest () {
+ cp -R --no-dereference --preserve=mode,links -v ${UNPACKDIR}/lua-${PV_testsuites}-tests ${D}${PTEST_PATH}/test
+}
+
+do_install_ptest:append:libc-musl () {
+ # locale tests does not work on musl, due to limited locale implementation
+ # https://wiki.musl-libc.org/open-issues.html#Locale-limitations
+ sed -i -e 's|os.setlocale("pt_BR") or os.setlocale("ptb")|false|g' ${D}${PTEST_PATH}/test/literals.lua
+}
+
+BBCLASSEXTEND = "native nativesdk"
+
+inherit multilib_script
+MULTILIB_SCRIPTS = "${PN}-dev:${includedir}/luaconf.h"
diff --git a/meta/recipes-devtools/m4/m4-1.4.18.inc b/meta/recipes-devtools/m4/m4-1.4.19.inc
index a9b63c1bf6..fcc9e58270 100644
--- a/meta/recipes-devtools/m4/m4-1.4.18.inc
+++ b/meta/recipes-devtools/m4/m4-1.4.19.inc
@@ -4,24 +4,23 @@ DESCRIPTION = "GNU m4 is an implementation of the traditional Unix macro process
compatible although it has some extensions (for example, handling more than 9 positional parameters to macros). \
GNU M4 also has built-in functions for including files, running shell commands, doing arithmetic, etc."
-inherit autotools texinfo ptest
+inherit autotools texinfo ptest gettext
SRC_URI = "${GNU_MIRROR}/m4/m4-${PV}.tar.gz \
file://ac_config_links.patch \
- file://m4-1.4.18-glibc-change-work-around.patch \
+ file://0001-sigsegv-Fix-build-on-ppc-musl.patch \
+ file://0001-Define-alignof_slot-using-_Alignof-when-using-C11-or.patch \
"
-SRC_URI_append_class-target = " file://0001-Unset-need_charset_alias-when-building-for-musl.patch \
- file://run-ptest \
+SRC_URI:append:class-target = " file://run-ptest \
file://serial-tests-config.patch \
- file://0001-test-getopt-posix-fix.patch \
"
-SRC_URI[md5sum] = "a077779db287adf4e12a035029002d28"
-SRC_URI[sha256sum] = "ab2633921a5cd38e48797bf5521ad259bdc4b979078034a3b790d7fec5493fab"
+SRC_URI[md5sum] = "f4a2b0284d80353b995f8ef2385ed73c"
+SRC_URI[sha256sum] = "3be4a26d825ffdfda52a56fc43246456989a3630093cced3fbddf4771ee58a70"
-LICENSE = "GPLv3"
+LICENSE = "GPL-3.0-only"
-LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504\
+LIC_FILES_CHKSUM = "file://COPYING;md5=1ebbd3e34237af26da5dc08a4e440464\
file://examples/COPYING;md5=4031593b2166d6c47cae282d944a7ede"
# Fix "Argument list too long" error when len(TMPDIR) = 410
@@ -41,22 +40,28 @@ do_install_ptest() {
cp -r ${B}/tests ${D}${PTEST_PATH}
cp -r ${S}/tests/* ${D}${PTEST_PATH}/tests/
sed -i '/^Makefile:/c Makefile:' ${D}${PTEST_PATH}/tests/Makefile
- sed -i -e "s;LOCALE_FR='fr_FR';LOCALE_FR='fr_FR.iso88591';g" \
- -e "s;LOCALE_FR_UTF8='none';LOCALE_FR_UTF8='fr_FR.utf8';g" ${D}${PTEST_PATH}/tests/Makefile
find ${D}${PTEST_PATH} -type f -name *.[hoc] | xargs -i rm {}
cp ${S}/build-aux/update-copyright ${D}${PTEST_PATH}/tests/
sed -i 's;update-copyright;./update-copyright;g' ${D}${PTEST_PATH}/tests/test-update-copyright.sh
chmod 0755 ${D}${PTEST_PATH}/tests/test-mbrtowc-w32-1.sh ${D}${PTEST_PATH}/tests/test-spawn-pipe-main \
${D}${PTEST_PATH}/tests/test-spawn-pipe-child ${D}${PTEST_PATH}/tests/test-version-etc \
${D}${PTEST_PATH}/tests/test-xalloc-die
+
+ ln -s ptest ${D}${libdir}/${BPN}/${BP}
}
+do_install_ptest:append:libc-glibc() {
+ sed -i -e "s;LOCALE_FR='fr_FR';LOCALE_FR='fr_FR.iso88591';g" \
+ -e "s;LOCALE_FR_UTF8='none';LOCALE_FR_UTF8='fr_FR.utf8';g" ${D}${PTEST_PATH}/tests/Makefile
+}
-RDEPENDS_${PN}-ptest += "make coreutils diffutils"
-RDEPENDS_${PN}-ptest_append_libc-glibc = "\
+RDEPENDS:${PN}-ptest += "make coreutils diffutils bash"
+RDEPENDS:${PN}-ptest:append:libc-glibc = "\
+ locale-base-fr-fr \
locale-base-fr-fr.iso-8859-1 \
+ glibc-gconv-iso8859-1 \
"
-INSANE_SKIP_${PN}-ptest += "ldflags"
-INSANE_SKIP_${PN}-ptest += "rpaths"
+INSANE_SKIP:${PN}-ptest += "ldflags"
+INSANE_SKIP:${PN}-ptest += "rpaths"
diff --git a/meta/recipes-devtools/m4/m4-native_1.4.18.bb b/meta/recipes-devtools/m4/m4-native_1.4.19.bb
index 407ad89330..407ad89330 100644
--- a/meta/recipes-devtools/m4/m4-native_1.4.18.bb
+++ b/meta/recipes-devtools/m4/m4-native_1.4.19.bb
diff --git a/meta/recipes-devtools/m4/m4/0001-Define-alignof_slot-using-_Alignof-when-using-C11-or.patch b/meta/recipes-devtools/m4/m4/0001-Define-alignof_slot-using-_Alignof-when-using-C11-or.patch
new file mode 100644
index 0000000000..8757abd7a0
--- /dev/null
+++ b/meta/recipes-devtools/m4/m4/0001-Define-alignof_slot-using-_Alignof-when-using-C11-or.patch
@@ -0,0 +1,49 @@
+From b0fd3a58354b1f5ead891907979dfd3dd36840d5 Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Sat, 14 Jan 2023 14:55:03 -0800
+Subject: [PATCH] Define alignof_slot using _Alignof when using C11 or newer
+
+WG14 N2350 made very clear that it is an UB having type definitions
+within "offsetof" [1]. This patch enhances the implementation of macro
+alignof_slot to use builtin "_Alignof" to avoid undefined behavior on
+when using std=c11 or newer
+
+clang 16+ has started to flag this [2]
+
+Fixes build when using -std >= gnu11 and using clang16+ [3]
+
+[1] https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2350.htm
+[2] https://reviews.llvm.org/D133574
+[3] https://public-inbox.org/bug-gnulib/20230114232744.215167-1-raj.khem@gmail.com/T/#u
+
+Upstream-Status: Backport [https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=2d404c7dd974cc65f894526f4a1b76bc1dcd8d82]
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ lib/alignof.h | 2 ++
+ 1 file changed, 2 insertions(+)
+
+--- a/lib/alignof.h
++++ b/lib/alignof.h
+@@ -18,19 +18,19 @@
+ #define _ALIGNOF_H
+
+ #include <stddef.h>
++#include "stdalign.h"
+
+ /* alignof_slot (TYPE)
+ Determine the alignment of a structure slot (field) of a given type,
+ at compile time. Note that the result depends on the ABI.
+- This is the same as alignof (TYPE) and _Alignof (TYPE), defined in
+- <stdalign.h> if __alignof_is_defined is 1.
++ This is the same as alignof (TYPE).
+ Note: The result cannot be used as a value for an 'enum' constant,
+ due to bugs in HP-UX 10.20 cc and AIX 3.2.5 xlc. */
+ #if defined __cplusplus
+ template <class type> struct alignof_helper { char __slot1; type __slot2; };
+ # define alignof_slot(type) offsetof (alignof_helper<type>, __slot2)
+ #else
+-# define alignof_slot(type) offsetof (struct { char __slot1; type __slot2; }, __slot2)
++# define alignof_slot(type) alignof (type)
+ #endif
+
+ /* alignof_type (TYPE)
diff --git a/meta/recipes-devtools/m4/m4/0001-Unset-need_charset_alias-when-building-for-musl.patch b/meta/recipes-devtools/m4/m4/0001-Unset-need_charset_alias-when-building-for-musl.patch
deleted file mode 100644
index ba1a4bab4c..0000000000
--- a/meta/recipes-devtools/m4/m4/0001-Unset-need_charset_alias-when-building-for-musl.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From b9565dc2fe0c4f7daaec91b7e83bc7313dee2f4a Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Mon, 13 Apr 2015 17:02:13 -0700
-Subject: [PATCH] Unset need_charset_alias when building for musl
-
-localcharset uses ac_cv_gnu_library_2_1 from glibc21.m4
-which actually shoudl be fixed in gnulib and then all downstream
-projects will get it eventually. For now we apply the fix to
-coreutils
-
-Upstream-Status: Pending
-
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
- lib/gnulib.mk | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/lib/gnulib.mk b/lib/gnulib.mk
-index e1d74db..c0e92dd 100644
---- a/lib/gnulib.mk
-+++ b/lib/gnulib.mk
-@@ -1882,7 +1882,7 @@ install-exec-localcharset: all-local
- case '$(host_os)' in \
- darwin[56]*) \
- need_charset_alias=true ;; \
-- darwin* | cygwin* | mingw* | pw32* | cegcc*) \
-+ darwin* | cygwin* | mingw* | pw32* | cegcc* | linux-musl*) \
- need_charset_alias=false ;; \
- *) \
- need_charset_alias=true ;; \
---
-2.1.4
-
diff --git a/meta/recipes-devtools/m4/m4/0001-sigsegv-Fix-build-on-ppc-musl.patch b/meta/recipes-devtools/m4/m4/0001-sigsegv-Fix-build-on-ppc-musl.patch
new file mode 100644
index 0000000000..04320de63a
--- /dev/null
+++ b/meta/recipes-devtools/m4/m4/0001-sigsegv-Fix-build-on-ppc-musl.patch
@@ -0,0 +1,37 @@
+From 36d5e26f606e070553eb0fff1f738e61970be5d7 Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Wed, 9 Mar 2022 20:22:20 -0800
+Subject: [PATCH] sigsegv: Fix build on ppc/musl
+
+mcontext is not a standard layout so glibc and musl differ sadly.
+
+Fixes
+../../m4-1.4.19/lib/sigsegv.c: In function 'sigsegv_handler': ../../m4-1.4.19/lib/sigsegv.c:223:75: error: 'mcontext_t' has no member named 'uc_regs'; did you mean 'gregs'? 223 | # define SIGSEGV_FAULT_STACKPOINTER ((ucontext_t *) ucp)->uc_mcontext.uc_regs->gregs[1] | ^~~~~~~
+
+Upstream-Status: Submitted [https://lists.gnu.org/archive/html/m4-patches/2022-03/msg00000.html]
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ lib/sigsegv.c | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/lib/sigsegv.c b/lib/sigsegv.c
+index 696a152..fa0c465 100644
+--- a/lib/sigsegv.c
++++ b/lib/sigsegv.c
+@@ -217,10 +217,10 @@ int libsigsegv_version = LIBSIGSEGV_VERSION;
+ # define SIGSEGV_FAULT_STACKPOINTER ((ucontext_t *) ucp)->uc_mcontext.gp_regs[1]
+ # else /* 32-bit */
+ /* both should be equivalent */
+-# if 0
+-# define SIGSEGV_FAULT_STACKPOINTER ((ucontext_t *) ucp)->uc_mcontext.regs->gpr[1]
++# if ! defined __GLIBC__
++# define SIGSEGV_FAULT_STACKPOINTER ((ucontext_t *) ucp)->uc_regs->gregs[1]
+ # else
+-# define SIGSEGV_FAULT_STACKPOINTER ((ucontext_t *) ucp)->uc_mcontext.uc_regs->gregs[1]
++# define SIGSEGV_FAULT_STACKPOINTER ((ucontext_t *) ucp)->uc_mcontext.uc_regs->gregs[1]
+ # endif
+ # endif
+
+--
+2.35.1
+
diff --git a/meta/recipes-devtools/m4/m4/0001-test-getopt-posix-fix.patch b/meta/recipes-devtools/m4/m4/0001-test-getopt-posix-fix.patch
deleted file mode 100644
index 11508ee0e2..0000000000
--- a/meta/recipes-devtools/m4/m4/0001-test-getopt-posix-fix.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From 75bea7c72a919859674f493548653de88f96c798 Mon Sep 17 00:00:00 2001
-From: Changqing Li <changqing.li@windriver.com>
-Date: Mon, 22 Apr 2019 10:36:13 +0800
-Subject: [PATCH] test-getopt-posix fix
-
-fix below problem:
-test-getopt.h:754: assertion 'strcmp (argv[1], "donald") == 0' failed
-
-get this patch from
-https://github.com/habitat-sh/core-plans/blob/master/m4/fix-test-getopt-posix-with-glibc-2.26.patch
-
-Upstream-Status: Pending
-
-have report this bug to m4-discuss@gnu.org
-
-Signed-off-by: Changqing Li <changqing.li@windriver.com>
----
- tests/test-getopt-posix.c | 7 +++++++
- 1 file changed, 7 insertions(+)
-
-diff --git a/tests/test-getopt-posix.c b/tests/test-getopt-posix.c
-index 5532271..2a3d511 100644
---- a/tests/test-getopt-posix.c
-+++ b/tests/test-getopt-posix.c
-@@ -22,6 +22,13 @@
- ftell link warning if we are not using the gnulib ftell module. */
- #define _GL_NO_LARGE_FILES
-
-+/*
-+ * Glibc 2.26 does hard include bits/getopt_posix.h which causes the system
-+ * to use glibc's getopt but the tests expect gnulib behavior. Until a better
-+ * fix is available this avoids that mis-resolution.
-+ */
-+#include <getopt.h>
-+
- /* POSIX and glibc provide the getopt() function in <unistd.h>, see
- http://pubs.opengroup.org/onlinepubs/9699919799/functions/getopt.html
- https://www.gnu.org/software/libc/manual/html_node/Using-Getopt.html
---
-2.7.4
-
diff --git a/meta/recipes-devtools/m4/m4/ac_config_links.patch b/meta/recipes-devtools/m4/m4/ac_config_links.patch
index 71edf59512..39fcd91896 100644
--- a/meta/recipes-devtools/m4/m4/ac_config_links.patch
+++ b/meta/recipes-devtools/m4/m4/ac_config_links.patch
@@ -12,20 +12,26 @@ source, and what we want is to is to not touch it.
Tested on x86_64_linux (Ubuntu 8.04 and 9.10).
-2009-11-10 Esben Haabendal <eha@doredevelopment.dk>
+2009-11-10 Esben Haabendal <eha@doredevelopment.dk>
+---
+ configure | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
-Index: m4-1.4.18/configure
-===================================================================
---- m4-1.4.18.orig/configure
-+++ m4-1.4.18/configure
-@@ -24415,8 +24415,8 @@ $as_echo "#define GNULIB_TEST_GETTIMEOFD
+diff --git a/configure b/configure
+index 883336a..6343a34 100755
+--- a/configure
++++ b/configure
+@@ -37061,8 +37061,8 @@ printf "%s\n" "#define GNULIB_TEST_GETRANDOM 1" >>confdefs.h
# only, it does not matter if we skip the link with older autoconf.
# Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH
# builds, so use a shell variable to bypass this.
- GNUmakefile=GNUmakefile
- ac_config_links="$ac_config_links $GNUmakefile:$GNUmakefile"
-+ # GNUmakefile=GNUmakefile
-+ # ac_config_links="$ac_config_links $GNUmakefile:$GNUmakefile"
++# GNUmakefile=GNUmakefile
++# ac_config_links="$ac_config_links $GNUmakefile:$GNUmakefile"
- :
+ LIB_HARD_LOCALE="$LIB_SETLOCALE_NULL"
+--
+2.25.1
+
diff --git a/meta/recipes-devtools/m4/m4/m4-1.4.18-glibc-change-work-around.patch b/meta/recipes-devtools/m4/m4/m4-1.4.18-glibc-change-work-around.patch
deleted file mode 100644
index c10bcbf693..0000000000
--- a/meta/recipes-devtools/m4/m4/m4-1.4.18-glibc-change-work-around.patch
+++ /dev/null
@@ -1,130 +0,0 @@
-update for glibc libio.h removal in 2.28+
-
-see
-https://src.fedoraproject.org/rpms/m4/c/814d592134fad36df757f9a61422d164ea2c6c9b?branch=master
-
-Upstream-Status: Backport [https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=4af4a4a718]
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
-
-Index: m4-1.4.18/lib/fflush.c
-===================================================================
---- m4-1.4.18.orig/lib/fflush.c
-+++ m4-1.4.18/lib/fflush.c
-@@ -33,7 +33,7 @@
- #undef fflush
-
-
--#if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
-+#if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
-
- /* Clear the stream's ungetc buffer, preserving the value of ftello (fp). */
- static void
-@@ -72,7 +72,7 @@ clear_ungetc_buffer (FILE *fp)
-
- #endif
-
--#if ! (defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */)
-+#if ! (defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */)
-
- # if (defined __sferror || defined __DragonFly__ || defined __ANDROID__) && defined __SNPT
- /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Android */
-@@ -148,7 +148,7 @@ rpl_fflush (FILE *stream)
- if (stream == NULL || ! freading (stream))
- return fflush (stream);
-
--#if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
-+#if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
-
- clear_ungetc_buffer_preserving_position (stream);
-
-Index: m4-1.4.18/lib/fpending.c
-===================================================================
---- m4-1.4.18.orig/lib/fpending.c
-+++ m4-1.4.18/lib/fpending.c
-@@ -32,7 +32,7 @@ __fpending (FILE *fp)
- /* Most systems provide FILE as a struct and the necessary bitmask in
- <stdio.h>, because they need it for implementing getc() and putc() as
- fast macros. */
--#if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
-+#if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
- return fp->_IO_write_ptr - fp->_IO_write_base;
- #elif defined __sferror || defined __DragonFly__ || defined __ANDROID__
- /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Android */
-Index: m4-1.4.18/lib/fpurge.c
-===================================================================
---- m4-1.4.18.orig/lib/fpurge.c
-+++ m4-1.4.18/lib/fpurge.c
-@@ -62,7 +62,7 @@ fpurge (FILE *fp)
- /* Most systems provide FILE as a struct and the necessary bitmask in
- <stdio.h>, because they need it for implementing getc() and putc() as
- fast macros. */
--# if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
-+# if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
- fp->_IO_read_end = fp->_IO_read_ptr;
- fp->_IO_write_ptr = fp->_IO_write_base;
- /* Avoid memory leak when there is an active ungetc buffer. */
-Index: m4-1.4.18/lib/freadahead.c
-===================================================================
---- m4-1.4.18.orig/lib/freadahead.c
-+++ m4-1.4.18/lib/freadahead.c
-@@ -25,7 +25,7 @@
- size_t
- freadahead (FILE *fp)
- {
--#if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
-+#if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
- if (fp->_IO_write_ptr > fp->_IO_write_base)
- return 0;
- return (fp->_IO_read_end - fp->_IO_read_ptr)
-Index: m4-1.4.18/lib/freading.c
-===================================================================
---- m4-1.4.18.orig/lib/freading.c
-+++ m4-1.4.18/lib/freading.c
-@@ -31,7 +31,7 @@ freading (FILE *fp)
- /* Most systems provide FILE as a struct and the necessary bitmask in
- <stdio.h>, because they need it for implementing getc() and putc() as
- fast macros. */
--# if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
-+# if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
- return ((fp->_flags & _IO_NO_WRITES) != 0
- || ((fp->_flags & (_IO_NO_READS | _IO_CURRENTLY_PUTTING)) == 0
- && fp->_IO_read_base != NULL));
-Index: m4-1.4.18/lib/fseeko.c
-===================================================================
---- m4-1.4.18.orig/lib/fseeko.c
-+++ m4-1.4.18/lib/fseeko.c
-@@ -47,7 +47,7 @@ fseeko (FILE *fp, off_t offset, int when
- #endif
-
- /* These tests are based on fpurge.c. */
--#if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
-+#if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
- if (fp->_IO_read_end == fp->_IO_read_ptr
- && fp->_IO_write_ptr == fp->_IO_write_base
- && fp->_IO_save_base == NULL)
-@@ -123,7 +123,7 @@ fseeko (FILE *fp, off_t offset, int when
- return -1;
- }
-
--#if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
-+#if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
- fp->_flags &= ~_IO_EOF_SEEN;
- fp->_offset = pos;
- #elif defined __sferror || defined __DragonFly__ || defined __ANDROID__
-Index: m4-1.4.18/lib/stdio-impl.h
-===================================================================
---- m4-1.4.18.orig/lib/stdio-impl.h
-+++ m4-1.4.18/lib/stdio-impl.h
-@@ -18,6 +18,12 @@
- the same implementation of stdio extension API, except that some fields
- have different naming conventions, or their access requires some casts. */
-
-+/* Glibc 2.28 made _IO_IN_BACKUP private. For now, work around this
-+ problem by defining it ourselves. FIXME: Do not rely on glibc
-+ internals. */
-+#if !defined _IO_IN_BACKUP && defined _IO_EOF_SEEN
-+# define _IO_IN_BACKUP 0x100
-+#endif
-
- /* BSD stdio derived implementations. */
-
diff --git a/meta/recipes-devtools/m4/m4_1.4.18.bb b/meta/recipes-devtools/m4/m4_1.4.19.bb
index b12c0adf3a..b12c0adf3a 100644
--- a/meta/recipes-devtools/m4/m4_1.4.18.bb
+++ b/meta/recipes-devtools/m4/m4_1.4.19.bb
diff --git a/meta/recipes-devtools/make/make.inc b/meta/recipes-devtools/make/make.inc
index a0a72b6295..56b863480c 100644
--- a/meta/recipes-devtools/make/make.inc
+++ b/meta/recipes-devtools/make/make.inc
@@ -11,3 +11,8 @@ SRC_URI = "${GNU_MIRROR}/make/make-${PV}.tar.gz \
inherit autotools gettext pkgconfig texinfo
PROVIDES = "virtual/make"
+
+# Otherwise $CXX leaks into /usr/bin/make
+do_configure:prepend() {
+ unset CXX
+}
diff --git a/meta/recipes-devtools/make/make/0001-makeinst-Do-not-undef-POSIX-on-clang-arm.patch b/meta/recipes-devtools/make/make/0001-makeinst-Do-not-undef-POSIX-on-clang-arm.patch
deleted file mode 100644
index 2da7c983dc..0000000000
--- a/meta/recipes-devtools/make/make/0001-makeinst-Do-not-undef-POSIX-on-clang-arm.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From 86b7947156a0c33e768d0a265e38f2881a70a7e2 Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Fri, 6 Mar 2020 23:19:37 -0800
-Subject: [PATCH] makeinst: Do not undef POSIX on clang/arm
-
-if __arm internal compiler macro is defined then make assumes that the
-system is not posix and goes ahead and undefs POSIX, which results in
-miscompiling make with clang, since clang does define __arm unlike gcc
-which does not, but they both support posix just fine, so here check for
-compiler not being clang when __arm is defined before undefining posix
-
-Fixes error like
-../make-4.3/src/job.c:507:27: error: too many arguments to function call, expected 0, have 1
- sigsetmask (siggetmask (0) & ~fatal_signal_mask)
- ~~~~~~~~~~ ^
-
-Upstream-Status: Pending
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
- src/makeint.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/makeint.h b/src/makeint.h
-index c428a36..fadf963 100644
---- a/src/makeint.h
-+++ b/src/makeint.h
-@@ -115,7 +115,7 @@ extern int errno;
- #endif
-
- /* Some systems define _POSIX_VERSION but are not really POSIX.1. */
--#if (defined (butterfly) || defined (__arm) || (defined (__mips) && defined (_SYSTYPE_SVR3)) || (defined (sequent) && defined (i386)))
-+#if (defined (butterfly) || (defined (__arm) && !defined(__clang__)) || (defined (__mips) && defined (_SYSTYPE_SVR3)) || (defined (sequent) && defined (i386)))
- # undef POSIX
- #endif
-
---
-2.25.1
-
diff --git a/meta/recipes-devtools/make/make/0001-src-dir.c-fix-buffer-overflow-warning.patch b/meta/recipes-devtools/make/make/0001-src-dir.c-fix-buffer-overflow-warning.patch
deleted file mode 100644
index 57970824f6..0000000000
--- a/meta/recipes-devtools/make/make/0001-src-dir.c-fix-buffer-overflow-warning.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From cd7091a7d88306004ca98c5dafcc40f44589b105 Mon Sep 17 00:00:00 2001
-From: Jens Rehsack <sno@netbsd.org>
-Date: Mon, 24 Feb 2020 10:52:21 +0100
-Subject: [PATCH 1/3] src/dir.c: fix buffer-overflow warning
-
-Fix compiler warning:
- src/dir.c:1294:7: warning: 'strncpy' specified bound depends on the
- length of the source argument [-Wstringop-overflow=]
-
-The existing code assumes `path` will never exceed `MAXPATHLEN`. Also the
-size of the buffer is increased by 1 to hold a path with the length of
-`MAXPATHLEN` and trailing `0`.
-
-Signed-off-by: Jens Rehsack <sno@netbsd.org>
----
-Upstream-Status: Pending (https://savannah.gnu.org/bugs/?57888)
-
- src/dir.c | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/src/dir.c b/src/dir.c
-index 862a18e..cad4c4a 100644
---- a/src/dir.c
-+++ b/src/dir.c
-@@ -1289,10 +1289,10 @@ local_stat (const char *path, struct stat *buf)
- if (plen > 1 && path[plen - 1] == '.'
- && (path[plen - 2] == '/' || path[plen - 2] == '\\'))
- {
-- char parent[MAXPATHLEN];
-+ char parent[MAXPATHLEN+1];
-
-- strncpy (parent, path, plen - 2);
-- parent[plen - 2] = '\0';
-+ strncpy (parent, path, MAXPATHLEN);
-+ parent[MIN(plen - 2, MAXPATHLEN)] = '\0';
- if (stat (parent, buf) < 0 || !_S_ISDIR (buf->st_mode))
- return -1;
- }
---
-2.17.1
-
diff --git a/meta/recipes-devtools/make/make/0002-modules-fcntl-allow-being-detected-by-importing-proj.patch b/meta/recipes-devtools/make/make/0002-modules-fcntl-allow-being-detected-by-importing-proj.patch
deleted file mode 100644
index b3d97f9a3a..0000000000
--- a/meta/recipes-devtools/make/make/0002-modules-fcntl-allow-being-detected-by-importing-proj.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From fb8aaed3b040e589cd880fd714dda5ec00687217 Mon Sep 17 00:00:00 2001
-From: Jens Rehsack <sno@netbsd.org>
-Date: Mon, 24 Feb 2020 12:10:06 +0100
-Subject: [PATCH 2/2] modules: fcntl: allow being detected by importing
- projects
-
-GNU project `make` relies on gnulib but provides some own compatibility
-functions - including an `fcntl`, which fails on mingw.
-The intension of gnulib is providing these functions and being wider tested,
-but silently injecting a function opens battle of compatibility layers.
-
-So adding a hint into target `config.h` to allow deciding whether using
-an own compatibility implementation or not.
-
-Signed-off-by: Jens Rehsack <sno@netbsd.org>
----
-Upstream-Status: Pending
-
- m4/gnulib-comp.m4 | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/m4/gnulib-comp.m4 b/m4/gnulib-comp.m4
-index 3ee0811..cf75541 100644
---- a/m4/gnulib-comp.m4
-+++ b/m4/gnulib-comp.m4
-@@ -147,6 +147,7 @@
- gl_FUNC_FCNTL
- if test $HAVE_FCNTL = 0 || test $REPLACE_FCNTL = 1; then
- AC_LIBOBJ([fcntl])
-+ AC_DEFINE(HAVE_GNULIB_FCNTL, 1, [Define to 1 if you have the `fcntl' function via gnulib.])
- fi
- gl_FCNTL_MODULE_INDICATOR([fcntl])
- gl_FCNTL_H
diff --git a/meta/recipes-devtools/make/make/0002-w32-compat-dirent.c-follow-header.patch b/meta/recipes-devtools/make/make/0002-w32-compat-dirent.c-follow-header.patch
deleted file mode 100644
index 9ecc44543e..0000000000
--- a/meta/recipes-devtools/make/make/0002-w32-compat-dirent.c-follow-header.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From 4dd8b4f43aa0078707ad9a7932f4e137bc4383ed Mon Sep 17 00:00:00 2001
-From: Jens Rehsack <sno@netbsd.org>
-Date: Mon, 24 Feb 2020 11:12:43 +0100
-Subject: [PATCH 2/3] w32: compat: dirent.c: follow header
-
-src/w32/include/dirent.h completely delegates to mingw dirent implementation,
-gnulib detects it as fine and completely usable - trust in that.
-
-Signed-off-by: Jens Rehsack <sno@netbsd.org>
----
-Upstream-Status: Pending (https://savannah.gnu.org/bugs/?57888)
-
- src/w32/compat/dirent.c | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/src/w32/compat/dirent.c b/src/w32/compat/dirent.c
-index b8ec615..de80f72 100644
---- a/src/w32/compat/dirent.c
-+++ b/src/w32/compat/dirent.c
-@@ -23,7 +23,7 @@ this program. If not, see <http://www.gnu.org/licenses/>. */
- #include <stdlib.h>
- #include "dirent.h"
-
--
-+#ifndef __MINGW32__
- DIR*
- opendir(const char* pDirName)
- {
-@@ -193,3 +193,4 @@ seekdir(DIR* pDir, long nPosition)
-
- return;
- }
-+#endif /* !__MINGW32__ */
---
-2.17.1
-
diff --git a/meta/recipes-devtools/make/make/0003-posixfcn-fcntl-gnulib-make-emulated.patch b/meta/recipes-devtools/make/make/0003-posixfcn-fcntl-gnulib-make-emulated.patch
deleted file mode 100644
index 70414c51f4..0000000000
--- a/meta/recipes-devtools/make/make/0003-posixfcn-fcntl-gnulib-make-emulated.patch
+++ /dev/null
@@ -1,79 +0,0 @@
-From 3d074c8fca5fcf3e6b83d33788f35a8f1b3a44a2 Mon Sep 17 00:00:00 2001
-From: Jens Rehsack <sno@netbsd.org>
-Date: Fri, 21 Feb 2020 19:29:49 +0100
-Subject: [PATCH 3/3] posixfcn: fcntl: gnulib > make-emulated
-
-Rate the fcntl emulation from gnulib higher than the own one.
-
-Signed-off-by: Jens Rehsack <sno@netbsd.org>
----
-Upstream-Status: Pending (https://savannah.gnu.org/bugs/?57888)
-
- src/output.h | 19 ++++++++++++++-----
- src/w32/compat/posixfcn.c | 2 ++
- 2 files changed, 16 insertions(+), 5 deletions(-)
-
-diff --git a/src/output.h b/src/output.h
-index a506505..d3ce6b7 100644
---- a/src/output.h
-+++ b/src/output.h
-@@ -67,14 +67,21 @@ void output_dump (struct output *out);
-
- # ifdef WINDOWS32
- /* For emulations in w32/compat/posixfcn.c. */
--# define F_GETFD 1
--# define F_SETLKW 2
-+# ifndef F_GETFD
-+# define F_GETFD 1
-+# endif
-+# ifndef F_SETLKW
-+# define F_SETLKW 2
-+# endif
- /* Implementation note: None of the values of l_type below can be zero
- -- they are compared with a static instance of the struct, so zero
- means unknown/invalid, see w32/compat/posixfcn.c. */
--# define F_WRLCK 1
--# define F_UNLCK 2
--
-+# ifndef F_WRLCK
-+# define F_WRLCK 1
-+# endif
-+# ifndef F_UNLCK
-+# define F_UNLCK 2
-+# endif
- struct flock
- {
- short l_type;
-@@ -89,7 +96,9 @@ struct flock
- typedef intptr_t sync_handle_t;
-
- /* Public functions emulated/provided in posixfcn.c. */
-+# ifndef HAVE_GNULIB_FCNTL
- int fcntl (intptr_t fd, int cmd, ...);
-+# endif
- intptr_t create_mutex (void);
- int same_stream (FILE *f1, FILE *f2);
-
-diff --git a/src/w32/compat/posixfcn.c b/src/w32/compat/posixfcn.c
-index 975dfb7..d337b9c 100644
---- a/src/w32/compat/posixfcn.c
-+++ b/src/w32/compat/posixfcn.c
-@@ -29,6 +29,7 @@ this program. If not, see <http://www.gnu.org/licenses/>. */
- #ifndef NO_OUTPUT_SYNC
- /* Support for OUTPUT_SYNC and related functionality. */
-
-+#ifndef HAVE_GNULIB_FCNTL
- /* Emulation of fcntl that supports only F_GETFD and F_SETLKW. */
- int
- fcntl (intptr_t fd, int cmd, ...)
-@@ -142,6 +143,7 @@ fcntl (intptr_t fd, int cmd, ...)
- return -1;
- }
- }
-+#endif /* GNULIB_TEST_FCNTL */
-
- static intptr_t mutex_handle = -1;
-
---
-2.17.1
-
diff --git a/meta/recipes-devtools/make/make_4.3.bb b/meta/recipes-devtools/make/make_4.3.bb
deleted file mode 100644
index 3e0eb543ba..0000000000
--- a/meta/recipes-devtools/make/make_4.3.bb
+++ /dev/null
@@ -1,18 +0,0 @@
-LICENSE = "GPLv3"
-LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
-require make.inc
-
-SRC_URI += "\
- file://0001-m4-getloadavg.m4-restrict-AIX-specific-test-on-AIX.patch \
- file://0002-modules-fcntl-allow-being-detected-by-importing-proj.patch \
- file://0001-src-dir.c-fix-buffer-overflow-warning.patch \
- file://0002-w32-compat-dirent.c-follow-header.patch \
- file://0003-posixfcn-fcntl-gnulib-make-emulated.patch \
- file://0001-makeinst-Do-not-undef-POSIX-on-clang-arm.patch \
-"
-
-EXTRA_OECONF += "--without-guile"
-
-SRC_URI[sha256sum] = "e05fdde47c5f7ca45cb697e973894ff4f5d79e13b750ed57d7b66d8defc78e19"
-
-BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/make/make_4.4.1.bb b/meta/recipes-devtools/make/make_4.4.1.bb
new file mode 100644
index 0000000000..c73751ddcb
--- /dev/null
+++ b/meta/recipes-devtools/make/make_4.4.1.bb
@@ -0,0 +1,13 @@
+LICENSE = "GPL-3.0-only"
+LIC_FILES_CHKSUM = "file://COPYING;md5=c678957b0c8e964aa6c70fd77641a71e"
+require make.inc
+
+SRC_URI += " \
+ file://0001-m4-getloadavg.m4-restrict-AIX-specific-test-on-AIX.patch \
+ "
+
+EXTRA_OECONF += "--without-guile"
+
+SRC_URI[sha256sum] = "dd16fb1d67bfab79a72f5e8390735c49e3e8e70b4945a15ab1f81ddb78658fb3"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/makedevs/makedevs/COPYING.patch b/meta/recipes-devtools/makedevs/makedevs/COPYING.patch
deleted file mode 100644
index 3a8902b97a..0000000000
--- a/meta/recipes-devtools/makedevs/makedevs/COPYING.patch
+++ /dev/null
@@ -1,346 +0,0 @@
-Upstream-Status: Inappropriate [licensing]
-
-diff -ruN makedevs-1.0.0-orig/COPYING makedevs-1.0.0/COPYING
---- makedevs-1.0.0-orig/COPYING 1970-01-01 08:00:00.000000000 +0800
-+++ makedevs-1.0.0/COPYING 2010-12-09 16:42:20.274984665 +0800
-@@ -0,0 +1,340 @@
-+ GNU GENERAL PUBLIC LICENSE
-+ Version 2, June 1991
-+
-+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
-+ 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-+ Everyone is permitted to copy and distribute verbatim copies
-+ of this license document, but changing it is not allowed.
-+
-+ Preamble
-+
-+ The licenses for most software are designed to take away your
-+freedom to share and change it. By contrast, the GNU General Public
-+License is intended to guarantee your freedom to share and change free
-+software--to make sure the software is free for all its users. This
-+General Public License applies to most of the Free Software
-+Foundation's software and to any other program whose authors commit to
-+using it. (Some other Free Software Foundation software is covered by
-+the GNU Library General Public License instead.) You can apply it to
-+your programs, too.
-+
-+ When we speak of free software, we are referring to freedom, not
-+price. Our General Public Licenses are designed to make sure that you
-+have the freedom to distribute copies of free software (and charge for
-+this service if you wish), that you receive source code or can get it
-+if you want it, that you can change the software or use pieces of it
-+in new free programs; and that you know you can do these things.
-+
-+ To protect your rights, we need to make restrictions that forbid
-+anyone to deny you these rights or to ask you to surrender the rights.
-+These restrictions translate to certain responsibilities for you if you
-+distribute copies of the software, or if you modify it.
-+
-+ For example, if you distribute copies of such a program, whether
-+gratis or for a fee, you must give the recipients all the rights that
-+you have. You must make sure that they, too, receive or can get the
-+source code. And you must show them these terms so they know their
-+rights.
-+
-+ We protect your rights with two steps: (1) copyright the software, and
-+(2) offer you this license which gives you legal permission to copy,
-+distribute and/or modify the software.
-+
-+ Also, for each author's protection and ours, we want to make certain
-+that everyone understands that there is no warranty for this free
-+software. If the software is modified by someone else and passed on, we
-+want its recipients to know that what they have is not the original, so
-+that any problems introduced by others will not reflect on the original
-+authors' reputations.
-+
-+ Finally, any free program is threatened constantly by software
-+patents. We wish to avoid the danger that redistributors of a free
-+program will individually obtain patent licenses, in effect making the
-+program proprietary. To prevent this, we have made it clear that any
-+patent must be licensed for everyone's free use or not licensed at all.
-+
-+ The precise terms and conditions for copying, distribution and
-+modification follow.
-+
-+ GNU GENERAL PUBLIC LICENSE
-+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
-+
-+ 0. This License applies to any program or other work which contains
-+a notice placed by the copyright holder saying it may be distributed
-+under the terms of this General Public License. The "Program", below,
-+refers to any such program or work, and a "work based on the Program"
-+means either the Program or any derivative work under copyright law:
-+that is to say, a work containing the Program or a portion of it,
-+either verbatim or with modifications and/or translated into another
-+language. (Hereinafter, translation is included without limitation in
-+the term "modification".) Each licensee is addressed as "you".
-+
-+Activities other than copying, distribution and modification are not
-+covered by this License; they are outside its scope. The act of
-+running the Program is not restricted, and the output from the Program
-+is covered only if its contents constitute a work based on the
-+Program (independent of having been made by running the Program).
-+Whether that is true depends on what the Program does.
-+
-+ 1. You may copy and distribute verbatim copies of the Program's
-+source code as you receive it, in any medium, provided that you
-+conspicuously and appropriately publish on each copy an appropriate
-+copyright notice and disclaimer of warranty; keep intact all the
-+notices that refer to this License and to the absence of any warranty;
-+and give any other recipients of the Program a copy of this License
-+along with the Program.
-+
-+You may charge a fee for the physical act of transferring a copy, and
-+you may at your option offer warranty protection in exchange for a fee.
-+
-+ 2. You may modify your copy or copies of the Program or any portion
-+of it, thus forming a work based on the Program, and copy and
-+distribute such modifications or work under the terms of Section 1
-+above, provided that you also meet all of these conditions:
-+
-+ a) You must cause the modified files to carry prominent notices
-+ stating that you changed the files and the date of any change.
-+
-+ b) You must cause any work that you distribute or publish, that in
-+ whole or in part contains or is derived from the Program or any
-+ part thereof, to be licensed as a whole at no charge to all third
-+ parties under the terms of this License.
-+
-+ c) If the modified program normally reads commands interactively
-+ when run, you must cause it, when started running for such
-+ interactive use in the most ordinary way, to print or display an
-+ announcement including an appropriate copyright notice and a
-+ notice that there is no warranty (or else, saying that you provide
-+ a warranty) and that users may redistribute the program under
-+ these conditions, and telling the user how to view a copy of this
-+ License. (Exception: if the Program itself is interactive but
-+ does not normally print such an announcement, your work based on
-+ the Program is not required to print an announcement.)
-+
-+These requirements apply to the modified work as a whole. If
-+identifiable sections of that work are not derived from the Program,
-+and can be reasonably considered independent and separate works in
-+themselves, then this License, and its terms, do not apply to those
-+sections when you distribute them as separate works. But when you
-+distribute the same sections as part of a whole which is a work based
-+on the Program, the distribution of the whole must be on the terms of
-+this License, whose permissions for other licensees extend to the
-+entire whole, and thus to each and every part regardless of who wrote it.
-+
-+Thus, it is not the intent of this section to claim rights or contest
-+your rights to work written entirely by you; rather, the intent is to
-+exercise the right to control the distribution of derivative or
-+collective works based on the Program.
-+
-+In addition, mere aggregation of another work not based on the Program
-+with the Program (or with a work based on the Program) on a volume of
-+a storage or distribution medium does not bring the other work under
-+the scope of this License.
-+
-+ 3. You may copy and distribute the Program (or a work based on it,
-+under Section 2) in object code or executable form under the terms of
-+Sections 1 and 2 above provided that you also do one of the following:
-+
-+ a) Accompany it with the complete corresponding machine-readable
-+ source code, which must be distributed under the terms of Sections
-+ 1 and 2 above on a medium customarily used for software interchange; or,
-+
-+ b) Accompany it with a written offer, valid for at least three
-+ years, to give any third party, for a charge no more than your
-+ cost of physically performing source distribution, a complete
-+ machine-readable copy of the corresponding source code, to be
-+ distributed under the terms of Sections 1 and 2 above on a medium
-+ customarily used for software interchange; or,
-+
-+ c) Accompany it with the information you received as to the offer
-+ to distribute corresponding source code. (This alternative is
-+ allowed only for noncommercial distribution and only if you
-+ received the program in object code or executable form with such
-+ an offer, in accord with Subsection b above.)
-+
-+The source code for a work means the preferred form of the work for
-+making modifications to it. For an executable work, complete source
-+code means all the source code for all modules it contains, plus any
-+associated interface definition files, plus the scripts used to
-+control compilation and installation of the executable. However, as a
-+special exception, the source code distributed need not include
-+anything that is normally distributed (in either source or binary
-+form) with the major components (compiler, kernel, and so on) of the
-+operating system on which the executable runs, unless that component
-+itself accompanies the executable.
-+
-+If distribution of executable or object code is made by offering
-+access to copy from a designated place, then offering equivalent
-+access to copy the source code from the same place counts as
-+distribution of the source code, even though third parties are not
-+compelled to copy the source along with the object code.
-+
-+ 4. You may not copy, modify, sublicense, or distribute the Program
-+except as expressly provided under this License. Any attempt
-+otherwise to copy, modify, sublicense or distribute the Program is
-+void, and will automatically terminate your rights under this License.
-+However, parties who have received copies, or rights, from you under
-+this License will not have their licenses terminated so long as such
-+parties remain in full compliance.
-+
-+ 5. You are not required to accept this License, since you have not
-+signed it. However, nothing else grants you permission to modify or
-+distribute the Program or its derivative works. These actions are
-+prohibited by law if you do not accept this License. Therefore, by
-+modifying or distributing the Program (or any work based on the
-+Program), you indicate your acceptance of this License to do so, and
-+all its terms and conditions for copying, distributing or modifying
-+the Program or works based on it.
-+
-+ 6. Each time you redistribute the Program (or any work based on the
-+Program), the recipient automatically receives a license from the
-+original licensor to copy, distribute or modify the Program subject to
-+these terms and conditions. You may not impose any further
-+restrictions on the recipients' exercise of the rights granted herein.
-+You are not responsible for enforcing compliance by third parties to
-+this License.
-+
-+ 7. If, as a consequence of a court judgment or allegation of patent
-+infringement or for any other reason (not limited to patent issues),
-+conditions are imposed on you (whether by court order, agreement or
-+otherwise) that contradict the conditions of this License, they do not
-+excuse you from the conditions of this License. If you cannot
-+distribute so as to satisfy simultaneously your obligations under this
-+License and any other pertinent obligations, then as a consequence you
-+may not distribute the Program at all. For example, if a patent
-+license would not permit royalty-free redistribution of the Program by
-+all those who receive copies directly or indirectly through you, then
-+the only way you could satisfy both it and this License would be to
-+refrain entirely from distribution of the Program.
-+
-+If any portion of this section is held invalid or unenforceable under
-+any particular circumstance, the balance of the section is intended to
-+apply and the section as a whole is intended to apply in other
-+circumstances.
-+
-+It is not the purpose of this section to induce you to infringe any
-+patents or other property right claims or to contest validity of any
-+such claims; this section has the sole purpose of protecting the
-+integrity of the free software distribution system, which is
-+implemented by public license practices. Many people have made
-+generous contributions to the wide range of software distributed
-+through that system in reliance on consistent application of that
-+system; it is up to the author/donor to decide if he or she is willing
-+to distribute software through any other system and a licensee cannot
-+impose that choice.
-+
-+This section is intended to make thoroughly clear what is believed to
-+be a consequence of the rest of this License.
-+
-+ 8. If the distribution and/or use of the Program is restricted in
-+certain countries either by patents or by copyrighted interfaces, the
-+original copyright holder who places the Program under this License
-+may add an explicit geographical distribution limitation excluding
-+those countries, so that distribution is permitted only in or among
-+countries not thus excluded. In such case, this License incorporates
-+the limitation as if written in the body of this License.
-+
-+ 9. The Free Software Foundation may publish revised and/or new versions
-+of the General Public License from time to time. Such new versions will
-+be similar in spirit to the present version, but may differ in detail to
-+address new problems or concerns.
-+
-+Each version is given a distinguishing version number. If the Program
-+specifies a version number of this License which applies to it and "any
-+later version", you have the option of following the terms and conditions
-+either of that version or of any later version published by the Free
-+Software Foundation. If the Program does not specify a version number of
-+this License, you may choose any version ever published by the Free Software
-+Foundation.
-+
-+ 10. If you wish to incorporate parts of the Program into other free
-+programs whose distribution conditions are different, write to the author
-+to ask for permission. For software which is copyrighted by the Free
-+Software Foundation, write to the Free Software Foundation; we sometimes
-+make exceptions for this. Our decision will be guided by the two goals
-+of preserving the free status of all derivatives of our free software and
-+of promoting the sharing and reuse of software generally.
-+
-+ NO WARRANTY
-+
-+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
-+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
-+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
-+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
-+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
-+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
-+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
-+REPAIR OR CORRECTION.
-+
-+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
-+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
-+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
-+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
-+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
-+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
-+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
-+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
-+POSSIBILITY OF SUCH DAMAGES.
-+
-+ END OF TERMS AND CONDITIONS
-+
-+ How to Apply These Terms to Your New Programs
-+
-+ If you develop a new program, and you want it to be of the greatest
-+possible use to the public, the best way to achieve this is to make it
-+free software which everyone can redistribute and change under these terms.
-+
-+ To do so, attach the following notices to the program. It is safest
-+to attach them to the start of each source file to most effectively
-+convey the exclusion of warranty; and each file should have at least
-+the "copyright" line and a pointer to where the full notice is found.
-+
-+ <one line to give the program's name and a brief idea of what it does.>
-+ Copyright (C) <year> <name of author>
-+
-+ This program is free software; you can redistribute it and/or modify
-+ it under the terms of the GNU General Public License as published by
-+ the Free Software Foundation; either version 2 of the License, or
-+ (at your option) any later version.
-+
-+ This program is distributed in the hope that it will be useful,
-+ but WITHOUT ANY WARRANTY; without even the implied warranty of
-+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-+ GNU General Public License for more details.
-+
-+ You should have received a copy of the GNU General Public License
-+ along with this program; if not, write to the Free Software
-+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-+
-+
-+Also add information on how to contact you by electronic and paper mail.
-+
-+If the program is interactive, make it output a short notice like this
-+when it starts in an interactive mode:
-+
-+ Gnomovision version 69, Copyright (C) year name of author
-+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
-+ This is free software, and you are welcome to redistribute it
-+ under certain conditions; type `show c' for details.
-+
-+The hypothetical commands `show w' and `show c' should show the appropriate
-+parts of the General Public License. Of course, the commands you use may
-+be called something other than `show w' and `show c'; they could even be
-+mouse-clicks or menu items--whatever suits your program.
-+
-+You should also get your employer (if you work as a programmer) or your
-+school, if any, to sign a "copyright disclaimer" for the program, if
-+necessary. Here is a sample; alter the names:
-+
-+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program
-+ `Gnomovision' (which makes passes at compilers) written by James Hacker.
-+
-+ <signature of Ty Coon>, 1 April 1989
-+ Ty Coon, President of Vice
-+
-+This General Public License does not permit incorporating your program into
-+proprietary programs. If your program is a subroutine library, you may
-+consider it more useful to permit linking proprietary applications with the
-+library. If this is what you want to do, use the GNU Library General
-+Public License instead of this License.
diff --git a/meta/recipes-devtools/makedevs/makedevs/makedevs.c b/meta/recipes-devtools/makedevs/makedevs/makedevs.c
index 32b9872932..df2e3cfad5 100644
--- a/meta/recipes-devtools/makedevs/makedevs/makedevs.c
+++ b/meta/recipes-devtools/makedevs/makedevs/makedevs.c
@@ -1,3 +1,7 @@
+/*
+ * SPDX-License-Identifier: GPL-2.0-only
+ */
+
#define _GNU_SOURCE
#include <stdio.h>
#include <errno.h>
diff --git a/meta/recipes-devtools/makedevs/makedevs_1.0.1.bb b/meta/recipes-devtools/makedevs/makedevs_1.0.1.bb
index 92d5870f42..7b11093364 100644
--- a/meta/recipes-devtools/makedevs/makedevs_1.0.1.bb
+++ b/meta/recipes-devtools/makedevs/makedevs_1.0.1.bb
@@ -1,13 +1,14 @@
SUMMARY = "Tool for creating device nodes"
-LICENSE = "GPLv2"
-LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833"
+DESCRIPTION = "${SUMMARY}"
+LICENSE = "GPL-2.0-only"
+LIC_FILES_CHKSUM = "file://makedevs.c;beginline=2;endline=2;md5=c3817b10013a30076c68a90e40a55570"
SECTION = "base"
-SRC_URI = "file://makedevs.c \
- file://COPYING.patch"
+SRC_URI = "file://makedevs.c"
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
-FILES_${PN}_append_class-nativesdk = " ${datadir}"
+FILES:${PN}:append:class-nativesdk = " ${datadir}"
do_compile() {
${CC} ${CFLAGS} ${LDFLAGS} -o ${S}/makedevs ${S}/makedevs.c
@@ -18,7 +19,7 @@ do_install() {
install -m 0755 ${S}/makedevs ${D}${base_sbindir}/makedevs
}
-do_install_append_class-nativesdk() {
+do_install:append:class-nativesdk() {
install -d ${D}${datadir}
install -m 644 ${COREBASE}/meta/files/device_table-minimal.txt ${D}${datadir}/
}
diff --git a/meta/recipes-devtools/meson/meson.inc b/meta/recipes-devtools/meson/meson.inc
deleted file mode 100644
index 004189e36e..0000000000
--- a/meta/recipes-devtools/meson/meson.inc
+++ /dev/null
@@ -1,33 +0,0 @@
-HOMEPAGE = "http://mesonbuild.com"
-SUMMARY = "A high performance build system"
-DESCRIPTION = "Meson is a build system designed to increase programmer \
-productivity. It does this by providing a fast, simple and easy to use \
-interface for modern software development tools and practices."
-
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://COPYING;md5=3b83ef96387f14655fc854ddc3c6bd57"
-
-SRC_URI = "https://github.com/mesonbuild/meson/releases/download/${PV}/meson-${PV}.tar.gz \
- file://0001-gtkdoc-fix-issues-that-arise-when-cross-compiling.patch \
- file://0003-native_bindir.patch \
- file://0001-python-module-do-not-manipulate-the-environment-when.patch \
- file://disable-rpath-handling.patch \
- file://cross-prop-default.patch \
- file://0001-modules-python.py-do-not-substitute-python-s-install.patch \
- file://0001-gnome.py-prefix-g-i-paths-with-PKG_CONFIG_SYSROOT_DI.patch \
- "
-SRC_URI[sha256sum] = "3b5741f884e04928bdfa1947467ff06afa6c98e623c25cef75adf71ca39ce080"
-
-SRC_URI_append_class-native = " \
- file://0001-Make-CPU-family-warnings-fatal.patch \
- file://0002-Support-building-allarch-recipes-again.patch \
-"
-
-UPSTREAM_CHECK_URI = "https://github.com/mesonbuild/meson/releases"
-UPSTREAM_CHECK_REGEX = "meson-(?P<pver>\d+(\.\d+)+)\.tar"
-
-inherit setuptools3
-
-RDEPENDS_${PN} = "ninja python3-modules python3-pkg-resources"
-
-FILES_${PN} += "${datadir}/polkit-1"
diff --git a/meta/recipes-devtools/meson/meson/0001-Make-CPU-family-warnings-fatal.patch b/meta/recipes-devtools/meson/meson/0001-Make-CPU-family-warnings-fatal.patch
index fbc03b8ca0..94129b2f25 100644
--- a/meta/recipes-devtools/meson/meson/0001-Make-CPU-family-warnings-fatal.patch
+++ b/meta/recipes-devtools/meson/meson/0001-Make-CPU-family-warnings-fatal.patch
@@ -1,40 +1,43 @@
-From 9311844b6c422479556e83b89a8e675ebcb2056c Mon Sep 17 00:00:00 2001
+From c61c93f43b70ba0670d41e841bff9f2a7186cc2f Mon Sep 17 00:00:00 2001
From: Ross Burton <ross.burton@intel.com>
Date: Tue, 3 Jul 2018 13:59:09 +0100
Subject: [PATCH] Make CPU family warnings fatal
Upstream-Status: Inappropriate [OE specific]
Signed-off-by: Ross Burton <ross.burton@intel.com>
-
---
- mesonbuild/envconfig.py | 2 +-
- mesonbuild/environment.py | 4 +---
- 2 files changed, 2 insertions(+), 4 deletions(-)
+ mesonbuild/envconfig.py | 4 ++--
+ mesonbuild/environment.py | 6 ++----
+ 2 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/mesonbuild/envconfig.py b/mesonbuild/envconfig.py
-index 219b62e..d1be65b 100644
+index 0e9cd23..b44e60c 100644
--- a/mesonbuild/envconfig.py
+++ b/mesonbuild/envconfig.py
-@@ -199,7 +199,7 @@ class MachineInfo:
+@@ -276,8 +276,8 @@ class MachineInfo(HoldableObject):
+ 'but is missing {}.'.format(minimum_literal - set(literal)))
cpu_family = literal['cpu_family']
- if cpu_family not in known_cpu_families:
-- mlog.warning('Unknown CPU family {}, please report this at https://github.com/mesonbuild/meson/issues/new'.format(cpu_family))
+- if cpu_family not in known_cpu_families:
+- mlog.warning(f'Unknown CPU family {cpu_family}, please report this at https://github.com/mesonbuild/meson/issues/new')
++ if cpu_family not in known_cpu_families and cpu_family != "riscv":
+ raise EnvironmentException('Unknown CPU family {}, see https://wiki.yoctoproject.org/wiki/Meson/UnknownCPU for directions.'.format(cpu_family))
endian = literal['endian']
if endian not in ('little', 'big'):
diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py
-index bf09a88..8eabe78 100644
+index af69f64..248d6dd 100644
--- a/mesonbuild/environment.py
+++ b/mesonbuild/environment.py
-@@ -375,9 +375,7 @@ def detect_cpu_family(compilers: CompilersDict) -> str:
- trial = 'parisc'
+@@ -379,10 +379,8 @@ def detect_cpu_family(compilers: CompilersDict) -> str:
+ if compilers and not any_compiler_has_define(compilers, '__mips64'):
+ trial = 'mips'
- if trial not in known_cpu_families:
-- mlog.warning('Unknown CPU family {!r}, please report this at '
+- if trial not in known_cpu_families:
+- mlog.warning(f'Unknown CPU family {trial!r}, please report this at '
- 'https://github.com/mesonbuild/meson/issues/new with the '
-- 'output of `uname -a` and `cat /proc/cpuinfo`'.format(trial))
+- 'output of `uname -a` and `cat /proc/cpuinfo`')
++ if trial not in known_cpu_families and trail != "riscv":
+ raise EnvironmentException('Unknown CPU family %s, see https://wiki.yoctoproject.org/wiki/Meson/UnknownCPU for directions.' % trial)
return trial
diff --git a/meta/recipes-devtools/meson/meson/0001-gnome.py-prefix-g-i-paths-with-PKG_CONFIG_SYSROOT_DI.patch b/meta/recipes-devtools/meson/meson/0001-gnome.py-prefix-g-i-paths-with-PKG_CONFIG_SYSROOT_DI.patch
deleted file mode 100644
index a1f8422d44..0000000000
--- a/meta/recipes-devtools/meson/meson/0001-gnome.py-prefix-g-i-paths-with-PKG_CONFIG_SYSROOT_DI.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From 64aa6718c290e150dafd8da83f31cb08af00af0e Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin <alex.kanavin@gmail.com>
-Date: Wed, 27 May 2020 16:43:05 +0000
-Subject: [PATCH] gnome.py: prefix g-i paths with PKG_CONFIG_SYSROOT_DIR
-
-When using sysroots for builds, the standard target paths for the
-tools need to be prefixed (pkg-config is not clever enough to
-determine when a custom variable is a path)
-
-Upstream-Status: Pending
-Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
-
----
- mesonbuild/modules/gnome.py | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/mesonbuild/modules/gnome.py b/mesonbuild/modules/gnome.py
-index 52016f4..2b72ee4 100644
---- a/mesonbuild/modules/gnome.py
-+++ b/mesonbuild/modules/gnome.py
-@@ -410,14 +410,14 @@ class GnomeModule(ExtensionModule):
- if giscanner is not None:
- self.giscanner = ExternalProgram.from_entry('g-ir-scanner', giscanner)
- elif self.gir_dep.type_name == 'pkgconfig':
-- self.giscanner = ExternalProgram('g_ir_scanner', self.gir_dep.get_pkgconfig_variable('g_ir_scanner', {}))
-+ self.giscanner = ExternalProgram('g_ir_scanner', os.environ['PKG_CONFIG_SYSROOT_DIR'] + self.gir_dep.get_pkgconfig_variable('g_ir_scanner', {}))
- else:
- self.giscanner = self.interpreter.find_program_impl('g-ir-scanner')
- gicompiler = state.environment.lookup_binary_entry(MachineChoice.HOST, 'g-ir-compiler')
- if gicompiler is not None:
- self.gicompiler = ExternalProgram.from_entry('g-ir-compiler', gicompiler)
- elif self.gir_dep.type_name == 'pkgconfig':
-- self.gicompiler = ExternalProgram('g_ir_compiler', self.gir_dep.get_pkgconfig_variable('g_ir_compiler', {}))
-+ self.gicompiler = ExternalProgram('g_ir_compiler', os.environ['PKG_CONFIG_SYSROOT_DIR'] + self.gir_dep.get_pkgconfig_variable('g_ir_compiler', {}))
- else:
- self.gicompiler = self.interpreter.find_program_impl('g-ir-compiler')
- return self.gir_dep, self.giscanner, self.gicompiler
diff --git a/meta/recipes-devtools/meson/meson/0001-gtkdoc-fix-issues-that-arise-when-cross-compiling.patch b/meta/recipes-devtools/meson/meson/0001-gtkdoc-fix-issues-that-arise-when-cross-compiling.patch
deleted file mode 100644
index 471f1500da..0000000000
--- a/meta/recipes-devtools/meson/meson/0001-gtkdoc-fix-issues-that-arise-when-cross-compiling.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From d3ef01a4208a801acad380a4aaceb6a21f8fa603 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin <alex.kanavin@gmail.com>
-Date: Fri, 4 Aug 2017 16:16:41 +0300
-Subject: [PATCH] gtkdoc: fix issues that arise when cross-compiling
-
-Specifically:
-1) Make it possible to specify a wrapper for executing binaries
-(usually, some kind of target hardware emulator, such as qemu)
-2) Explicitly provide CC and LD via command line, as otherwise gtk-doc will
-try to guess them, incorrectly.
-3) If things break down, print the full command with arguments,
-not just the binary name.
-4) Correctly determine the compiler/linker executables and cross-options when cross-compiling
-
-Upstream-Status: Pending
-Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
-
----
- mesonbuild/modules/gnome.py | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/mesonbuild/modules/gnome.py b/mesonbuild/modules/gnome.py
-index bcf77b9..6a4b472 100644
---- a/mesonbuild/modules/gnome.py
-+++ b/mesonbuild/modules/gnome.py
-@@ -974,6 +974,10 @@ This will become a hard error in the future.''')
- args.append('--{}={}'.format(program_name, path))
- if namespace:
- args.append('--namespace=' + namespace)
-+ gtkdoc_exe_wrapper = state.environment.properties.host.get('gtkdoc_exe_wrapper', None)
-+ if gtkdoc_exe_wrapper is not None:
-+ args.append('--run=' + gtkdoc_exe_wrapper)
-+
- args += self._unpack_args('--htmlargs=', 'html_args', kwargs)
- args += self._unpack_args('--scanargs=', 'scan_args', kwargs)
- args += self._unpack_args('--scanobjsargs=', 'scanobjs_args', kwargs)
diff --git a/meta/recipes-devtools/meson/meson/0001-modules-python.py-do-not-substitute-python-s-install.patch b/meta/recipes-devtools/meson/meson/0001-modules-python.py-do-not-substitute-python-s-install.patch
deleted file mode 100644
index c0ad01e9d3..0000000000
--- a/meta/recipes-devtools/meson/meson/0001-modules-python.py-do-not-substitute-python-s-install.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-From 214e559d394491b1376e4cc370f75151117a3f83 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin <alex.kanavin@gmail.com>
-Date: Thu, 18 Apr 2019 17:36:11 +0200
-Subject: [PATCH] modules/python.py: do not substitute python's install prefix
- with meson's
-
-Not sure why this is being done, but it
-a) relies on Python's internal variable substitution which may break in the future
-b) shouldn't be necessary as Python's prefix ought to be correct in the first place
-
-Upstream-Status: Pending
-Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
-
----
- mesonbuild/modules/python.py | 7 +++----
- 1 file changed, 3 insertions(+), 4 deletions(-)
-
-diff --git a/mesonbuild/modules/python.py b/mesonbuild/modules/python.py
-index 2f0c644..d2aa565 100644
---- a/mesonbuild/modules/python.py
-+++ b/mesonbuild/modules/python.py
-@@ -251,7 +251,7 @@ INTROSPECT_COMMAND = '''import sysconfig
- import json
- import sys
-
--install_paths = sysconfig.get_paths(scheme='posix_prefix', vars={'base': '', 'platbase': '', 'installed_base': ''})
-+install_paths = sysconfig.get_paths(scheme='posix_prefix')
-
- def links_against_libpython():
- from distutils.core import Distribution, Extension
-@@ -276,12 +276,11 @@ class PythonInstallation(ExternalProgramHolder):
- ExternalProgramHolder.__init__(self, python, interpreter.subproject)
- self.interpreter = interpreter
- self.subproject = self.interpreter.subproject
-- prefix = self.interpreter.environment.coredata.get_builtin_option('prefix')
- self.variables = info['variables']
- self.paths = info['paths']
- install_paths = info['install_paths']
-- self.platlib_install_path = os.path.join(prefix, install_paths['platlib'][1:])
-- self.purelib_install_path = os.path.join(prefix, install_paths['purelib'][1:])
-+ self.platlib_install_path = install_paths['platlib']
-+ self.purelib_install_path = install_paths['purelib']
- self.version = info['version']
- self.platform = info['platform']
- self.is_pypy = info['is_pypy']
diff --git a/meta/recipes-devtools/meson/meson/0001-python-module-do-not-manipulate-the-environment-when.patch b/meta/recipes-devtools/meson/meson/0001-python-module-do-not-manipulate-the-environment-when.patch
index eb0e90dbdd..9f3f516a5c 100644
--- a/meta/recipes-devtools/meson/meson/0001-python-module-do-not-manipulate-the-environment-when.patch
+++ b/meta/recipes-devtools/meson/meson/0001-python-module-do-not-manipulate-the-environment-when.patch
@@ -1,4 +1,4 @@
-From 689e28c49b85311f93f39df70cbee702fc44afb6 Mon Sep 17 00:00:00 2001
+From b4c0602a56d3517ab66b98a7dbb69defe77d29a3 Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex.kanavin@gmail.com>
Date: Mon, 19 Nov 2018 14:24:26 +0100
Subject: [PATCH] python module: do not manipulate the environment when calling
@@ -6,38 +6,31 @@ Subject: [PATCH] python module: do not manipulate the environment when calling
Upstream-Status: Inappropriate [oe-core specific]
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
-
---
- mesonbuild/modules/python.py | 12 ------------
- 1 file changed, 12 deletions(-)
+ mesonbuild/dependencies/python.py | 6 +-----
+ 1 file changed, 1 insertion(+), 5 deletions(-)
-diff --git a/mesonbuild/modules/python.py b/mesonbuild/modules/python.py
-index 07be318..b770603 100644
---- a/mesonbuild/modules/python.py
-+++ b/mesonbuild/modules/python.py
-@@ -71,11 +71,6 @@ class PythonDependency(ExternalDependency):
- old_pkg_libdir = os.environ.get('PKG_CONFIG_LIBDIR')
- old_pkg_path = os.environ.get('PKG_CONFIG_PATH')
+diff --git a/mesonbuild/dependencies/python.py b/mesonbuild/dependencies/python.py
+index b9b17f8..a305afb 100644
+--- a/mesonbuild/dependencies/python.py
++++ b/mesonbuild/dependencies/python.py
+@@ -381,9 +381,6 @@ def python_factory(env: 'Environment', for_machine: 'MachineChoice',
+ empty.name = 'python'
+ return empty
-- os.environ.pop('PKG_CONFIG_PATH', None)
--
-- if pkg_libdir:
-- os.environ['PKG_CONFIG_LIBDIR'] = pkg_libdir
--
+- old_pkg_libdir = os.environ.pop('PKG_CONFIG_LIBDIR', None)
+- old_pkg_path = os.environ.pop('PKG_CONFIG_PATH', None)
+- os.environ['PKG_CONFIG_LIBDIR'] = pkg_libdir
try:
- self.pkgdep = PkgConfigDependency(pkg_name, environment, kwargs)
- mlog.debug('Found "{}" via pkgconfig lookup in LIBPC ({})'.format(pkg_name, pkg_libdir))
-@@ -84,13 +79,6 @@ class PythonDependency(ExternalDependency):
- mlog.debug('"{}" could not be found in LIBPC ({})'.format(pkg_name, pkg_libdir))
- mlog.debug(e)
-
-- if old_pkg_path is not None:
-- os.environ['PKG_CONFIG_PATH'] = old_pkg_path
--
-- if old_pkg_libdir is not None:
-- os.environ['PKG_CONFIG_LIBDIR'] = old_pkg_libdir
-- else:
-- os.environ.pop('PKG_CONFIG_LIBDIR', None)
- else:
- mlog.debug('"{}" could not be found in LIBPC ({}), this is likely due to a relocated python installation'.format(pkg_name, pkg_libdir))
+ return PythonPkgConfigDependency(name, env, kwargs, installation, True)
+ finally:
+@@ -392,8 +389,7 @@ def python_factory(env: 'Environment', for_machine: 'MachineChoice',
+ os.environ[name] = value
+ elif name in os.environ:
+ del os.environ[name]
+- set_env('PKG_CONFIG_LIBDIR', old_pkg_libdir)
+- set_env('PKG_CONFIG_PATH', old_pkg_path)
++ pass
+ candidates.append(functools.partial(wrap_in_pythons_pc_dir, pkg_name, env, kwargs, installation))
+ # We only need to check both, if a python install has a LIBPC. It might point to the wrong location,
diff --git a/meta/recipes-devtools/meson/meson/0002-Support-building-allarch-recipes-again.patch b/meta/recipes-devtools/meson/meson/0002-Support-building-allarch-recipes-again.patch
index 2d804740ad..fa5ea57d5b 100644
--- a/meta/recipes-devtools/meson/meson/0002-Support-building-allarch-recipes-again.patch
+++ b/meta/recipes-devtools/meson/meson/0002-Support-building-allarch-recipes-again.patch
@@ -1,4 +1,4 @@
-From 38f59e256f760aa959c13f4c5713f87ff7addee5 Mon Sep 17 00:00:00 2001
+From 7f69bfabb87d311d7409ea6699f7dee8e9b3a95b Mon Sep 17 00:00:00 2001
From: Peter Kjellerstedt <pkj@axis.com>
Date: Thu, 26 Jul 2018 16:32:49 +0200
Subject: [PATCH] Support building allarch recipes again
@@ -7,16 +7,15 @@ This registers "allarch" as a known CPU family.
Upstream-Status: Inappropriate [OE specific]
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
-
---
mesonbuild/envconfig.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/mesonbuild/envconfig.py b/mesonbuild/envconfig.py
-index d1be65b..90f3573 100644
+index b44e60c..c70e8cb 100644
--- a/mesonbuild/envconfig.py
+++ b/mesonbuild/envconfig.py
-@@ -36,6 +36,7 @@ _T = T.TypeVar('_T')
+@@ -28,6 +28,7 @@ from pathlib import Path
known_cpu_families = (
diff --git a/meta/recipes-devtools/meson/meson/0003-native_bindir.patch b/meta/recipes-devtools/meson/meson/0003-native_bindir.patch
deleted file mode 100644
index 5d7bdc2f59..0000000000
--- a/meta/recipes-devtools/meson/meson/0003-native_bindir.patch
+++ /dev/null
@@ -1,125 +0,0 @@
-From f06c89939d0d006090a8a8728b2a13d532b83047 Mon Sep 17 00:00:00 2001
-From: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
-Date: Wed, 15 Nov 2017 15:05:01 +0100
-Subject: [PATCH] native_bindir
-
-Some libraries, like QT, have pre-processors that convert their input
-files into something that the cross-compiler can process. We find the
-path of those pre-processors via pkg-config-native instead of
-pkg-config.
-
-This path forces the use of pkg-config-native for host_bins arguments.
-
-There are some discussions upstream to merge this patch, but I presonaly believe
-that is is OE only. https://github.com/mesonbuild/meson/issues/1849#issuecomment-303730323
-
-Upstream-Status: Inappropriate [OE specific]
-Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
-
----
- mesonbuild/dependencies/base.py | 19 +++++++++++--------
- mesonbuild/dependencies/ui.py | 6 +++---
- 2 files changed, 14 insertions(+), 11 deletions(-)
-
-diff --git a/mesonbuild/dependencies/base.py b/mesonbuild/dependencies/base.py
-index 368a4bc..9fc398e 100644
---- a/mesonbuild/dependencies/base.py
-+++ b/mesonbuild/dependencies/base.py
-@@ -183,7 +183,7 @@ class Dependency:
- def get_exe_args(self, compiler):
- return []
-
-- def get_pkgconfig_variable(self, variable_name, kwargs):
-+ def get_pkgconfig_variable(self, variable_name, kwargs, use_native=False):
- raise DependencyException('{!r} is not a pkgconfig dependency'.format(self.name))
-
- def get_configtool_variable(self, variable_name):
-@@ -261,7 +261,7 @@ class InternalDependency(Dependency):
- setattr(result, k, copy.deepcopy(v, memo))
- return result
-
-- def get_pkgconfig_variable(self, variable_name, kwargs):
-+ def get_pkgconfig_variable(self, variable_name, kwargs, use_native=False):
- raise DependencyException('Method "get_pkgconfig_variable()" is '
- 'invalid for an internal dependency')
-
-@@ -634,15 +634,18 @@ class PkgConfigDependency(ExternalDependency):
- return s.format(self.__class__.__name__, self.name, self.is_found,
- self.version_reqs)
-
-- def _call_pkgbin_real(self, args, env):
-- cmd = self.pkgbin.get_command() + args
-+ def _call_pkgbin_real(self, args, env, use_native=False):
-+ if use_native:
-+ cmd = [self.pkgbin.get_command()[0] + "-native"] + args
-+ else:
-+ cmd = self.pkgbin.get_command() + args
- p, out, err = Popen_safe(cmd, env=env)
- rc, out, err = p.returncode, out.strip(), err.strip()
- call = ' '.join(cmd)
- mlog.debug("Called `{}` -> {}\n{}".format(call, rc, out))
- return rc, out, err
-
-- def _call_pkgbin(self, args, env=None):
-+ def _call_pkgbin(self, args, env=None, use_native=False):
- # Always copy the environment since we're going to modify it
- # with pkg-config variables
- if env is None:
-@@ -668,7 +671,7 @@ class PkgConfigDependency(ExternalDependency):
- targs = tuple(args)
- cache = PkgConfigDependency.pkgbin_cache
- if (self.pkgbin, targs, fenv) not in cache:
-- cache[(self.pkgbin, targs, fenv)] = self._call_pkgbin_real(args, env)
-+ cache[(self.pkgbin, targs, fenv)] = self._call_pkgbin_real(args, env, use_native)
- return cache[(self.pkgbin, targs, fenv)]
-
- def _convert_mingw_paths(self, args: T.List[str]) -> T.List[str]:
-@@ -877,7 +880,7 @@ class PkgConfigDependency(ExternalDependency):
- (self.name, out_raw))
- self.link_args, self.raw_link_args = self._search_libs(out, out_raw)
-
-- def get_pkgconfig_variable(self, variable_name, kwargs):
-+ def get_pkgconfig_variable(self, variable_name, kwargs, use_native=False):
- options = ['--variable=' + variable_name, self.name]
-
- if 'define_variable' in kwargs:
-@@ -890,7 +893,7 @@ class PkgConfigDependency(ExternalDependency):
-
- options = ['--define-variable=' + '='.join(definition)] + options
-
-- ret, out, err = self._call_pkgbin(options)
-+ ret, out, err = self._call_pkgbin(options, use_native=use_native)
- variable = ''
- if ret != 0:
- if self.required:
-diff --git a/mesonbuild/dependencies/ui.py b/mesonbuild/dependencies/ui.py
-index 95dfe2b..5f82890 100644
---- a/mesonbuild/dependencies/ui.py
-+++ b/mesonbuild/dependencies/ui.py
-@@ -325,7 +325,7 @@ class QtBaseDependency(ExternalDependency):
- self.bindir = self.get_pkgconfig_host_bins(core)
- if not self.bindir:
- # If exec_prefix is not defined, the pkg-config file is broken
-- prefix = core.get_pkgconfig_variable('exec_prefix', {})
-+ prefix = core.get_pkgconfig_variable('exec_prefix', {}, use_native=True)
- if prefix:
- self.bindir = os.path.join(prefix, 'bin')
-
-@@ -528,7 +528,7 @@ class Qt4Dependency(QtBaseDependency):
- applications = ['moc', 'uic', 'rcc', 'lupdate', 'lrelease']
- for application in applications:
- try:
-- return os.path.dirname(core.get_pkgconfig_variable('%s_location' % application, {}))
-+ return os.path.dirname(core.get_pkgconfig_variable('%s_location' % application, {}, use_native=True))
- except MesonException:
- pass
-
-@@ -538,7 +538,7 @@ class Qt5Dependency(QtBaseDependency):
- QtBaseDependency.__init__(self, 'qt5', env, kwargs)
-
- def get_pkgconfig_host_bins(self, core):
-- return core.get_pkgconfig_variable('host_bins', {})
-+ return core.get_pkgconfig_variable('host_bins', {}, use_native=True)
-
- def get_private_includes(self, mod_inc_dir, module):
- return _qt_get_private_includes(mod_inc_dir, module, self.version)
diff --git a/meta/recipes-devtools/meson/meson/cross-prop-default.patch b/meta/recipes-devtools/meson/meson/cross-prop-default.patch
deleted file mode 100644
index 772395e879..0000000000
--- a/meta/recipes-devtools/meson/meson/cross-prop-default.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-meson.build files that use cc.run() in native builds can silently fallback to
-meson.get_cross_property() in cross builds without an exe-wrapper, but there's
-no way to know that this is happening.
-
-As the defaults may be pessimistic (for example, disabling the support for a
-feature that should be enabled) emit a warning when the default is used, so that
-the recipe can explicitly set the cross property as relevant.
-
-Upstream-Status: Submitted [https://github.com/mesonbuild/meson/pull/5071]
-Signed-off-by: Ross Burton <ross.burton@intel.com>
-
-diff --git a/mesonbuild/interpreter.py b/mesonbuild/interpreter.py
-index 3c3cfae0..10e741ae 100644
---- a/mesonbuild/interpreter.py
-+++ b/mesonbuild/interpreter.py
-@@ -1890,6 +1890,7 @@ class MesonMain(InterpreterObject):
- return props[propname]
- except Exception:
- if len(args) == 2:
-+ mlog.warning('Cross property %s is using default value %s' % (propname, args[1]))
- return args[1]
- raise InterpreterException('Unknown cross property: %s.' % propname)
-
diff --git a/meta/recipes-devtools/meson/meson/disable-rpath-handling.patch b/meta/recipes-devtools/meson/meson/disable-rpath-handling.patch
deleted file mode 100644
index 4653a72a20..0000000000
--- a/meta/recipes-devtools/meson/meson/disable-rpath-handling.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From 9e3fcf192c1ca068d310c648c311f9d850214421 Mon Sep 17 00:00:00 2001
-From: Richard Purdie <richard.purdie@linuxfoundation.org>
-Date: Fri, 23 Nov 2018 15:28:28 +0000
-Subject: [PATCH] meson: Disable rpath stripping at install time
-
-We need to allow our rpaths generated through the compiler flags to make it into
-our binaries. Therefore disable the meson manipulations of these unless there
-is a specific directive to do something differently in the project.
-
-RP 2018/11/23
-
-Upstream-Status: Submitted [https://github.com/mesonbuild/meson/issues/2567]
-
----
- mesonbuild/minstall.py | 7 +++++--
- 1 file changed, 5 insertions(+), 2 deletions(-)
-
-diff --git a/mesonbuild/minstall.py b/mesonbuild/minstall.py
-index 0be01fe..5406cab 100644
---- a/mesonbuild/minstall.py
-+++ b/mesonbuild/minstall.py
-@@ -512,8 +512,11 @@ class Installer:
- if file_copied:
- self.did_install_something = True
- try:
-- depfixer.fix_rpath(outname, t.rpath_dirs_to_remove, install_rpath, final_path,
-- install_name_mappings, verbose=False)
-+ if install_rpath:
-+ depfixer.fix_rpath(outname, t.rpath_dirs_to_remove, install_rpath, final_path,
-+ install_name_mappings, verbose=False)
-+ else:
-+ print("RPATH changes at install time disabled")
- except SystemExit as e:
- if isinstance(e.code, int) and e.code == 0:
- pass
diff --git a/meta/recipes-devtools/meson/meson/meson-setup.py b/meta/recipes-devtools/meson/meson/meson-setup.py
index 808e2a062f..daaa551de2 100755
--- a/meta/recipes-devtools/meson/meson/meson-setup.py
+++ b/meta/recipes-devtools/meson/meson/meson-setup.py
@@ -10,9 +10,13 @@ class Template(string.Template):
class Environ():
def __getitem__(self, name):
val = os.environ[name]
- val = ["'%s'" % x for x in val.split()]
- val = ', '.join(val)
- val = '[%s]' % val
+ val = val.split()
+ if len(val) > 1:
+ val = ["'%s'" % x for x in val]
+ val = ', '.join(val)
+ val = '[%s]' % val
+ elif val:
+ val = "'%s'" % val.pop()
return val
try:
@@ -23,9 +27,17 @@ except KeyError:
template_file = os.path.join(sysroot, 'usr/share/meson/meson.cross.template')
cross_file = os.path.join(sysroot, 'usr/share/meson/%smeson.cross' % os.environ["TARGET_PREFIX"])
+native_template_file = os.path.join(sysroot, 'usr/share/meson/meson.native.template')
+native_file = os.path.join(sysroot, 'usr/share/meson/meson.native')
with open(template_file) as in_file:
template = in_file.read()
output = Template(template).substitute(Environ())
with open(cross_file, "w") as out_file:
out_file.write(output)
+
+with open(native_template_file) as in_file:
+ template = in_file.read()
+ output = Template(template).substitute({'OECORE_NATIVE_SYSROOT': os.environ['OECORE_NATIVE_SYSROOT']})
+ with open(native_file, "w") as out_file:
+ out_file.write(output)
diff --git a/meta/recipes-devtools/meson/meson/meson-wrapper b/meta/recipes-devtools/meson/meson/meson-wrapper
index d4ffe60f9a..7455985297 100755
--- a/meta/recipes-devtools/meson/meson/meson-wrapper
+++ b/meta/recipes-devtools/meson/meson/meson-wrapper
@@ -1,7 +1,11 @@
#!/bin/sh
if [ -z "$OECORE_NATIVE_SYSROOT" ]; then
- echo "OECORE_NATIVE_SYSROOT not set; are you in a Yocto SDK environment?" >&2
+ exec "meson.real" "$@"
+fi
+
+if [ -z "$SSL_CERT_DIR" ]; then
+ export SSL_CERT_DIR="$OECORE_NATIVE_SYSROOT/etc/ssl/certs/"
fi
# If these are set to a cross-compile path, meson will get confused and try to
@@ -9,6 +13,19 @@ fi
# config is already in meson.cross.
unset CC CXX CPP LD AR NM STRIP
+case "$1" in
+setup|configure|dist|install|introspect|init|test|wrap|subprojects|rewrite|compile|devenv|env2mfile|help) MESON_CMD="$1" ;;
+*) echo meson-wrapper: Implicit setup command assumed; MESON_CMD=setup ;;
+esac
+
+if [ "$MESON_CMD" = "setup" ]; then
+ MESON_SETUP_OPTS=" \
+ --cross-file="$OECORE_NATIVE_SYSROOT/usr/share/meson/${TARGET_PREFIX}meson.cross" \
+ --native-file="$OECORE_NATIVE_SYSROOT/usr/share/meson/meson.native" \
+ "
+ echo meson-wrapper: Running meson with setup options: \"$MESON_SETUP_OPTS\"
+fi
+
exec "$OECORE_NATIVE_SYSROOT/usr/bin/meson.real" \
- --cross-file "${OECORE_NATIVE_SYSROOT}/usr/share/meson/${TARGET_PREFIX}meson.cross" \
- "$@"
+ "$@" \
+ $MESON_SETUP_OPTS
diff --git a/meta/recipes-devtools/meson/meson_0.55.1.bb b/meta/recipes-devtools/meson/meson_0.55.1.bb
deleted file mode 100644
index de9b905c12..0000000000
--- a/meta/recipes-devtools/meson/meson_0.55.1.bb
+++ /dev/null
@@ -1,4 +0,0 @@
-include meson.inc
-
-BBCLASSEXTEND = "native"
-
diff --git a/meta/recipes-devtools/meson/meson_1.4.0.bb b/meta/recipes-devtools/meson/meson_1.4.0.bb
new file mode 100644
index 0000000000..5db100ff1c
--- /dev/null
+++ b/meta/recipes-devtools/meson/meson_1.4.0.bb
@@ -0,0 +1,158 @@
+HOMEPAGE = "http://mesonbuild.com"
+SUMMARY = "A high performance build system"
+DESCRIPTION = "Meson is a build system designed to increase programmer \
+productivity. It does this by providing a fast, simple and easy to use \
+interface for modern software development tools and practices."
+
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://COPYING;md5=3b83ef96387f14655fc854ddc3c6bd57"
+
+GITHUB_BASE_URI = "https://github.com/mesonbuild/meson/releases/"
+SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/meson-${PV}.tar.gz \
+ file://meson-setup.py \
+ file://meson-wrapper \
+ file://0001-python-module-do-not-manipulate-the-environment-when.patch \
+ file://0001-Make-CPU-family-warnings-fatal.patch \
+ file://0002-Support-building-allarch-recipes-again.patch \
+ "
+SRC_URI[sha256sum] = "8fd6630c25c27f1489a8a0392b311a60481a3c161aa699b330e25935b750138d"
+UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)$"
+
+inherit python_setuptools_build_meta github-releases
+
+RDEPENDS:${PN} = "ninja python3-modules python3-pkg-resources"
+
+FILES:${PN} += "${datadir}/polkit-1"
+
+do_install:append () {
+ # As per the same issue in the python recipe itself:
+ # Unfortunately the following pyc files are non-deterministc due to 'frozenset'
+ # being written without strict ordering, even with PYTHONHASHSEED = 0
+ # Upstream is discussing ways to solve the issue properly, until then let's
+ # just not install the problematic files.
+ # More info: http://benno.id.au/blog/2013/01/15/python-determinism
+ rm -f ${D}${libdir}/python*/site-packages/mesonbuild/dependencies/__pycache__/mpi.cpython*
+}
+
+BBCLASSEXTEND = "native nativesdk"
+
+inherit meson-routines
+
+# The cross file logic is similar but not identical to that in meson.bbclass,
+# since it's generating for an SDK rather than a cross-compile. Important
+# differences are:
+# - We can't set vars like CC, CXX, etc. yet because they will be filled in with
+# real paths by meson-setup.sh when the SDK is extracted.
+# - Some overrides aren't needed, since the SDK injects paths that take care of
+# them.
+def var_list2str(var, d):
+ items = d.getVar(var).split()
+ return items[0] if len(items) == 1 else ', '.join(repr(s) for s in items)
+
+def generate_native_link_template(d):
+ val = ['-L@{OECORE_NATIVE_SYSROOT}${libdir_native}',
+ '-L@{OECORE_NATIVE_SYSROOT}${base_libdir_native}',
+ '-Wl,-rpath-link,@{OECORE_NATIVE_SYSROOT}${libdir_native}',
+ '-Wl,-rpath-link,@{OECORE_NATIVE_SYSROOT}${base_libdir_native}',
+ '-Wl,--allow-shlib-undefined'
+ ]
+ build_arch = d.getVar('BUILD_ARCH')
+ if 'x86_64' in build_arch:
+ loader = 'ld-linux-x86-64.so.2'
+ elif 'i686' in build_arch:
+ loader = 'ld-linux.so.2'
+ elif 'aarch64' in build_arch:
+ loader = 'ld-linux-aarch64.so.1'
+ elif 'ppc64le' in build_arch:
+ loader = 'ld64.so.2'
+ elif 'loongarch64' in build_arch:
+ loader = 'ld-linux-loongarch-lp64d.so.1'
+ elif 'riscv64' in build_arch:
+ loader = 'ld-linux-riscv64-lp64d.so.1'
+
+ if loader:
+ val += ['-Wl,--dynamic-linker=@{OECORE_NATIVE_SYSROOT}${base_libdir_native}/' + loader]
+
+ return repr(val)
+
+install_templates() {
+ install -d ${D}${datadir}/meson
+
+ cat >${D}${datadir}/meson/meson.native.template <<EOF
+[binaries]
+c = ${@meson_array('BUILD_CC', d)}
+cpp = ${@meson_array('BUILD_CXX', d)}
+ar = ${@meson_array('BUILD_AR', d)}
+nm = ${@meson_array('BUILD_NM', d)}
+strip = ${@meson_array('BUILD_STRIP', d)}
+readelf = ${@meson_array('BUILD_READELF', d)}
+pkg-config = 'pkg-config-native'
+
+[built-in options]
+c_args = ['-isystem@{OECORE_NATIVE_SYSROOT}${includedir_native}' , ${@var_list2str('BUILD_OPTIMIZATION', d)}]
+c_link_args = ${@generate_native_link_template(d)}
+cpp_args = ['-isystem@{OECORE_NATIVE_SYSROOT}${includedir_native}' , ${@var_list2str('BUILD_OPTIMIZATION', d)}]
+cpp_link_args = ${@generate_native_link_template(d)}
+[properties]
+sys_root = '@OECORE_NATIVE_SYSROOT'
+EOF
+
+ cat >${D}${datadir}/meson/meson.cross.template <<EOF
+[binaries]
+c = @CC
+cpp = @CXX
+ar = @AR
+nm = @NM
+strip = @STRIP
+pkg-config = 'pkg-config'
+
+[built-in options]
+c_args = @CFLAGS
+c_link_args = @LDFLAGS
+cpp_args = @CPPFLAGS
+cpp_link_args = @LDFLAGS
+
+[properties]
+needs_exe_wrapper = true
+sys_root = @OECORE_TARGET_SYSROOT
+
+[host_machine]
+system = '$host_system'
+cpu_family = '$host_cpu_family'
+cpu = '$host_cpu'
+endian = '$host_endian'
+EOF
+}
+
+do_install:append:class-nativesdk() {
+ host_system=${SDK_OS}
+ host_cpu_family=${@meson_cpu_family("SDK_ARCH", d)}
+ host_cpu=${SDK_ARCH}
+ host_endian=${@meson_endian("SDK", d)}
+ install_templates
+
+ install -d ${D}${SDKPATHNATIVE}/post-relocate-setup.d
+ install -m 0755 ${UNPACKDIR}/meson-setup.py ${D}${SDKPATHNATIVE}/post-relocate-setup.d/
+
+ # We need to wrap the real meson with a thin env setup wrapper.
+ mv ${D}${bindir}/meson ${D}${bindir}/meson.real
+ install -m 0755 ${UNPACKDIR}/meson-wrapper ${D}${bindir}/meson
+}
+
+FILES:${PN}:append:class-nativesdk = "${datadir}/meson ${SDKPATHNATIVE}"
+
+do_install:append:class-native() {
+ host_system=${HOST_OS}
+ host_cpu_family=${@meson_cpu_family("HOST_ARCH", d)}
+ host_cpu=${HOST_ARCH}
+ host_endian=${@meson_endian("HOST", d)}
+ install_templates
+
+ install -d ${D}${datadir}/post-relocate-setup.d
+ install -m 0755 ${UNPACKDIR}/meson-setup.py ${D}${datadir}/post-relocate-setup.d/
+
+ # We need to wrap the real meson with a thin wrapper that substitues native/cross files
+ # when running in a direct SDK environment.
+ mv ${D}${bindir}/meson ${D}${bindir}/meson.real
+ install -m 0755 ${UNPACKDIR}/meson-wrapper ${D}${bindir}/meson
+}
diff --git a/meta/recipes-devtools/meson/nativesdk-meson_0.55.1.bb b/meta/recipes-devtools/meson/nativesdk-meson_0.55.1.bb
deleted file mode 100644
index 67add2c25e..0000000000
--- a/meta/recipes-devtools/meson/nativesdk-meson_0.55.1.bb
+++ /dev/null
@@ -1,65 +0,0 @@
-include meson.inc
-
-inherit nativesdk
-inherit siteinfo
-
-SRC_URI += "file://meson-setup.py \
- file://meson-wrapper"
-
-def meson_endian(prefix, d):
- arch, os = d.getVar(prefix + "_ARCH"), d.getVar(prefix + "_OS")
- sitedata = siteinfo_data_for_machine(arch, os, d)
- if "endian-little" in sitedata:
- return "little"
- elif "endian-big" in sitedata:
- return "big"
- else:
- bb.fatal("Cannot determine endianism for %s-%s" % (arch, os))
-
-# The cross file logic is similar but not identical to that in meson.bbclass,
-# since it's generating for an SDK rather than a cross-compile. Important
-# differences are:
-# - We can't set vars like CC, CXX, etc. yet because they will be filled in with
-# real paths by meson-setup.sh when the SDK is extracted.
-# - Some overrides aren't needed, since the SDK injects paths that take care of
-# them.
-do_install_append() {
- install -d ${D}${datadir}/meson
- cat >${D}${datadir}/meson/meson.cross.template <<EOF
-[binaries]
-c = @CC
-cpp = @CXX
-ar = @AR
-nm = @NM
-strip = @STRIP
-pkgconfig = 'pkg-config'
-
-[properties]
-needs_exe_wrapper = true
-c_args = @CFLAGS
-c_link_args = @LDFLAGS
-cpp_args = @CPPFLAGS
-cpp_link_args = @LDFLAGS
-
-[host_machine]
-system = '${SDK_OS}'
-cpu_family = '${SDK_ARCH}'
-cpu = '${SDK_ARCH}'
-endian = '${@meson_endian("SDK", d)}'
-EOF
-
- install -d ${D}${SDKPATHNATIVE}/post-relocate-setup.d
- install -m 0755 ${WORKDIR}/meson-setup.py ${D}${SDKPATHNATIVE}/post-relocate-setup.d/
-
- # We need to wrap the real meson with a thin env setup wrapper.
- mv ${D}${bindir}/meson ${D}${bindir}/meson.real
- install -m 0755 ${WORKDIR}/meson-wrapper ${D}${bindir}/meson
-}
-
-RDEPENDS_${PN} += "\
- nativesdk-ninja \
- nativesdk-python3 \
- nativesdk-python3-setuptools \
- "
-
-FILES_${PN} += "${datadir}/meson ${SDKPATHNATIVE}"
diff --git a/meta/recipes-devtools/mklibs/files/ac_init_fix.patch b/meta/recipes-devtools/mklibs/files/ac_init_fix.patch
deleted file mode 100644
index 422af10420..0000000000
--- a/meta/recipes-devtools/mklibs/files/ac_init_fix.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-Get the version of mklibs by simpler means. The MKLIBS_VERSION string in the
-configure.ac file is replaced with real version string by the
-do_configure_prepend() function from the recipe .bb file.
-
-Upstream-Status: Inappropriate [configuration]
-
-Nitin A Kamble <nitin.a.kamble@intel.com>
-Date: 2011/01/24
-
-Index: mklibs/configure.ac
-===================================================================
---- mklibs.orig/configure.ac 2010-02-21 17:34:56.000000000 -0800
-+++ mklibs/configure.ac 2011-01-24 18:52:19.943242079 -0800
-@@ -1,4 +1,4 @@
--AC_INIT([mklibs],m4_esyscmd(dpkg-parsechangelog | perl -ne 'print $1 if m/^Version: (.*)$/;'))
-+AC_INIT([mklibs], MKLIBS_VERSION)
- AM_INIT_AUTOMAKE([foreign no-define])
- AC_CONFIG_HEADERS([config.h])
- AM_MAINTAINER_MODE
diff --git a/meta/recipes-devtools/mklibs/files/avoid-failure-on-symbol-provided-by-application.patch b/meta/recipes-devtools/mklibs/files/avoid-failure-on-symbol-provided-by-application.patch
deleted file mode 100644
index 17d9af4de4..0000000000
--- a/meta/recipes-devtools/mklibs/files/avoid-failure-on-symbol-provided-by-application.patch
+++ /dev/null
@@ -1,103 +0,0 @@
-From dcb45256970b15b672d0004533826c94083356e5 Mon Sep 17 00:00:00 2001
-From: Yuanjie Huang <yuanjie.huang@windriver.com>
-Date: Fri, 17 Apr 2015 14:48:20 +0800
-Subject: [PATCH 4/6] avoid failure on symbol provided by application
-
-Upstream-Status: Pending
-
-Undefined symbols in a library can be provided by the application
-that links to the library, such as `logsink' in libmultipath.so.0.
-This fix checks the type of object in which the symbol is needed
-and the existence of the symbol in application, when a symbol
-cannot be provided by libraries. It prevents false alarm on absence
-of symbols.
-
-Signed-off-by: Yuanjie Huang <yuanjie.huang@windriver.com>
-
----
- src/mklibs | 28 ++++++++++++++++++++++++----
- 1 file changed, 24 insertions(+), 4 deletions(-)
-
-diff --git a/src/mklibs b/src/mklibs
-index a3533c0..66b7a09 100755
---- a/src/mklibs
-+++ b/src/mklibs
-@@ -133,9 +133,9 @@ class Symbol(object):
- return '@'.join(ret)
-
- class UndefinedSymbol(Symbol):
-- def __init__(self, name, weak, version, library):
-+ def __init__(self, name, weak, version, library, object):
- super(UndefinedSymbol, self).__init__(name, version, library)
-- self.weak, self.library = weak, library
-+ self.weak, self.library, self.object = weak, library, object
-
- def symbol_is_blacklisted(name):
- # The ARM Embedded ABI spec states symbols under this namespace as
-@@ -152,6 +152,11 @@ def undefined_symbols(obj):
-
- output = command("mklibs-readelf", "--print-symbols-undefined", obj)
-
-+ if len(obj) > len(dest_path) and obj[:len(dest_path)] == dest_path:
-+ object = obj[len(dest_path) + 1:-len('-so-stripped')]
-+ else:
-+ object = obj
-+
- result = []
- for line in output:
- name, weak_string, version_string, library_string = line.split()[:4]
-@@ -171,7 +176,7 @@ def undefined_symbols(obj):
- if library_string.lower() != 'none':
- library = library_string
-
-- result.append(UndefinedSymbol(name, weak, version, library))
-+ result.append(UndefinedSymbol(name, weak, version, library, object))
-
- return result
-
-@@ -498,12 +503,13 @@ while 1:
- and re.search("^ps_", str(symbol)))
- and not (re.search("ld-linux.so.3$", str(symbol)))
- and not (re.search("^__gnu_local_gp", str(symbol)))):
-- debug(DEBUG_SPAM, "needed_symbols adding %s, weak: %s" % (symbol, symbol.weak))
-+ debug(DEBUG_SPAM, "needed_symbols adding %s, weak: %s, for %s" % (symbol, symbol.weak, obj))
- needed_symbols[str(symbol)] = symbol
- libraries.update(library_depends(obj))
-
- # calculate what symbols are present in small_libs and available_libs
- present_symbols = {}
-+ present_symbol_progs = {}
- checked_libs = small_libs
- checked_libs.extend(available_libs)
- checked_libs.append(sysroot + ldlib)
-@@ -513,6 +519,12 @@ while 1:
- names = symbol.base_names()
- for name in names:
- present_symbols[name] = symbol
-+ if not so_pattern.match(lib):
-+ debug(DEBUG_SPAM, "present_symbol_progs adding %s, from executable %s" % (' '.join(names), lib))
-+ for name in names:
-+ progs = present_symbol_progs.get(name, set())
-+ progs.add(lib)
-+ present_symbol_progs[name] = progs
-
- # are we finished?
- num_unresolved = 0
-@@ -568,6 +580,14 @@ while 1:
- for name in needed_symbols:
- if not name in symbol_provider:
- if not needed_symbols[name].weak:
-+ # WORKAROUND: Undefined symbols in a library can be provided by the application
-+ # that links to the library. So if the object which requires the symbol is a library
-+ # and some application can provide the symbol, the undefined symbol is skipped.
-+ symbol = needed_symbols[name]
-+ if so_pattern.match(symbol.object) and present_symbol_progs.get(name, None):
-+ debug(DEBUG_SPAM, "symbol %s in library %s is provided by executable %s" \
-+ % (name, symbol.object, ' '.join(present_symbol_progs[name])))
-+ continue
- raise Exception("No library provides non-weak %s" % name)
- else:
- lib = symbol_provider[name]
---
-2.16.1
-
diff --git a/meta/recipes-devtools/mklibs/files/fix_STT_GNU_IFUNC.patch b/meta/recipes-devtools/mklibs/files/fix_STT_GNU_IFUNC.patch
deleted file mode 100644
index d27a48916d..0000000000
--- a/meta/recipes-devtools/mklibs/files/fix_STT_GNU_IFUNC.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-The libc6-dev in Ubuntu 9.04 is so old that the elf.h doesn't
-define STT_GNU_IFUNC, so we have to define it ourselves.
-
-Upstream-Status: Inappropriate [other] - old release specific, maybe removable
-
--- Dexuan Cui (dexuan.cui@intel.com) Feb 16, 2011.
-
-diff --git a/src/mklibs-readelf/main.cpp b/src/mklibs-readelf/main.cpp
-index 2444c39..56d93f8 100644
---- a/src/mklibs-readelf/main.cpp
-+++ b/src/mklibs-readelf/main.cpp
-@@ -6,6 +6,14 @@
- #include <vector>
-
- #include <elf.h>
-+/*
-+ * The /usr/include/elf.h in some distributions(like Ubuntu 9.04) doesn't
-+ * define the macro. We need to define it here.
-+ */
-+#ifndef STT_GNU_IFUNC
-+#define STT_GNU_IFUNC 10 /* Symbol is indirect code object */
-+#endif
-+
- #include <getopt.h>
-
- #include "elf.hpp"
diff --git a/meta/recipes-devtools/mklibs/files/fix_cross_compile.patch b/meta/recipes-devtools/mklibs/files/fix_cross_compile.patch
deleted file mode 100644
index 13e4606b80..0000000000
--- a/meta/recipes-devtools/mklibs/files/fix_cross_compile.patch
+++ /dev/null
@@ -1,81 +0,0 @@
-Remove dependency on dpkg
-
-Upstream-Status: Submitted
-
-Asking the host OS whether it supports multiarch is not useful
-in a cross-compilation environment, or if the user has specified
-a libdir explicitly. So this patch, based on the work of Mentor
-Graphics, removes mklibs's dependency on dpkg package.
-
-Signed-off-by: Yuanjie Huang <Yuanjie.Huang@windriver.com>
- src/mklibs | 30 +++++++++++++++++++-----------
- 1 file changed, 19 insertions(+), 11 deletions(-)
-
-diff --git a/src/mklibs b/src/mklibs
-index d9b784b..c5614ea 100755
---- a/src/mklibs
-+++ b/src/mklibs
-@@ -261,6 +261,11 @@ def extract_soname(so_file):
- return ""
-
- def multiarch(paths):
-+ # Asking the host OS whether it supports multiarch is not useful
-+ # in a cross-compilation environment, or if the user has specified
-+ # a libdir explicitly.
-+ if sysroot != "" or libdir != "":
-+ return paths
- devnull = open('/dev/null', 'w')
- dpkg_architecture = subprocess.Popen(
- ['dpkg-architecture', '-qDEB_HOST_MULTIARCH'],
-@@ -340,7 +345,7 @@ lib_path = []
- dest_path = "DEST"
- ldlib = "LDLIB"
- include_default_lib_path = "yes"
--default_lib_path = multiarch(["/lib/", "/usr/lib/", "/usr/X11R6/lib/"])
-+default_lib_path = ["/lib/", "/usr/lib/", "/usr/X11R6/lib/"]
- libc_extras_dir = "/usr/lib/libc_pic"
- libc_extras_dir_default = True
- libdir = "lib"
-@@ -386,7 +391,7 @@ for opt, arg in optlist:
- elif opt == "--libdir":
- libdir = arg
- elif opt in ("--help", "-h"):
-- usage(0)
-+ usage(0)
- sys.exit(0)
- elif opt in ("--version", "-V"):
- version(vers)
-@@ -395,6 +400,7 @@ for opt, arg in optlist:
- print "WARNING: unknown option: " + opt + "\targ: " + arg
-
- if include_default_lib_path == "yes":
-+ default_lib_path = multiarch(default_lib_path)
- lib_path.extend([a.replace("/lib/", "/" + libdir + "/") for a in default_lib_path])
-
- if libc_extras_dir_default:
-@@ -661,16 +669,16 @@ ld_path_name = os.path.dirname(ldlib)
- ld_full_path = "../" + ldlib
- ld_file = find_lib(ld_file_name)
-
--if ld_path_name != "/lib":
-- if os.access(dest_path + "/" + ld_file_name, os.F_OK):
-- os.remove(dest_path + "/" + ld_file_name)
-+#if ld_path_name != "/lib":
-+# if os.access(dest_path + "/" + ld_file_name, os.F_OK):
-+# os.remove(dest_path + "/" + ld_file_name)
-
--if not os.path.exists(dest_path + "/../" + ld_path_name):
-- os.mkdir(dest_path + "/../" + ld_path_name)
-+#if not os.path.exists(dest_path + "/../" + ld_path_name):
-+# os.mkdir(dest_path + "/../" + ld_path_name)
-
--if not os.access(dest_path + "/" + ld_full_path, os.F_OK):
-- debug(DEBUG_NORMAL, "I: stripping and copying dynamic linker to " + ld_full_path)
-+if not os.access(dest_path + "/" + ld_file_name, os.F_OK):
-+ debug(DEBUG_NORMAL, "I: stripping and copying dynamic linker to " + ld_file_name)
- command(target + "objcopy", "--strip-unneeded -R .note -R .comment",
-- ld_file, dest_path + "/" + ld_full_path)
-+ ld_file, dest_path + "/" + ld_file_name)
-
--os.chmod(dest_path + "/" + ld_full_path, 0755)
-+os.chmod(dest_path + "/" + ld_file_name, 0755)
diff --git a/meta/recipes-devtools/mklibs/files/show-GNU-unique-symbols-as-provided-symbols.patch b/meta/recipes-devtools/mklibs/files/show-GNU-unique-symbols-as-provided-symbols.patch
deleted file mode 100644
index bc56593e6a..0000000000
--- a/meta/recipes-devtools/mklibs/files/show-GNU-unique-symbols-as-provided-symbols.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From eddf04c7f8312e9c29cdb24e431b7e4fb2cc70ed Mon Sep 17 00:00:00 2001
-From: Yuanjie Huang <yuanjie.huang@windriver.com>
-Date: Wed, 15 Apr 2015 14:00:06 +0800
-Subject: [PATCH] Show GNU unique symbols as provided symbols
-
-Upstream-Status: Submitted
-
-GNU Unique symbol is a GNU extension employed by new version of GCC
-by default. Even Standard C++ library in GCC 4.9 provides some symbols,
-such as _ZNSs4_Rep20_S_empty_rep_storageE in this binding type instead
-of ELF standard weak binding.
-This patch adds support of this new binding type to mklibs-readelf.
-
-Signed-off-by: Yuanjie Huang <yuanjie.huang@windriver.com>
----
- src/mklibs-readelf/main.cpp | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/mklibs-readelf/main.cpp b/src/mklibs-readelf/main.cpp
-index 56d93f8..0134530 100644
---- a/src/mklibs-readelf/main.cpp
-+++ b/src/mklibs-readelf/main.cpp
-@@ -88,7 +88,7 @@ static void process_symbols_provided (const Elf::section_type<Elf::section_type_
- uint8_t type = symbol->get_type ();
- const std::string &name = symbol->get_name_string ();
-
-- if (bind != STB_GLOBAL && bind != STB_WEAK)
-+ if (bind != STB_GLOBAL && bind != STB_WEAK && bind != STB_GNU_UNIQUE)
- continue;
- if (shndx == SHN_UNDEF || shndx == SHN_ABS)
- continue;
---
-1.8.5.2.233.g932f7e4
-
diff --git a/meta/recipes-devtools/mklibs/files/sysrooted-ldso.patch b/meta/recipes-devtools/mklibs/files/sysrooted-ldso.patch
deleted file mode 100644
index 75500a029a..0000000000
--- a/meta/recipes-devtools/mklibs/files/sysrooted-ldso.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-In cross builds we will have to respect sysroot
-
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
-Upstream-Status: Pending
-
-Index: mklibs-0.1.39/src/mklibs
-===================================================================
---- mklibs-0.1.39.orig/src/mklibs 2014-03-01 18:25:36.000000000 +0000
-+++ mklibs-0.1.39/src/mklibs 2014-10-19 00:51:46.813534596 +0000
-@@ -495,7 +495,7 @@
- present_symbols = {}
- checked_libs = small_libs
- checked_libs.extend(available_libs)
-- checked_libs.append(ldlib)
-+ checked_libs.append(sysroot + ldlib)
- for lib in checked_libs:
- for symbol in provided_symbols(lib):
- debug(DEBUG_SPAM, "present_symbols adding %s" % symbol)
diff --git a/meta/recipes-devtools/mklibs/mklibs-native_0.1.44.bb b/meta/recipes-devtools/mklibs/mklibs-native_0.1.44.bb
deleted file mode 100644
index 1784af1f4c..0000000000
--- a/meta/recipes-devtools/mklibs/mklibs-native_0.1.44.bb
+++ /dev/null
@@ -1,22 +0,0 @@
-SUMMARY = "Shared library optimisation tool"
-DESCRIPTION = "mklibs produces cut-down shared libraries that contain only the routines required by a particular set of executables."
-HOMEPAGE = "https://launchpad.net/mklibs"
-SECTION = "devel"
-LICENSE = "GPLv2+"
-LIC_FILES_CHKSUM = "file://debian/copyright;md5=98d31037b13d896e33890738ef01af64"
-
-SRC_URI = "http://snapshot.debian.org/archive/debian/20180828T214102Z/pool/main/m/mklibs/mklibs_${PV}.tar.xz \
- file://ac_init_fix.patch\
- file://fix_STT_GNU_IFUNC.patch\
- file://sysrooted-ldso.patch \
- file://avoid-failure-on-symbol-provided-by-application.patch \
- file://show-GNU-unique-symbols-as-provided-symbols.patch \
- file://fix_cross_compile.patch \
-"
-
-SRC_URI[md5sum] = "6b6eeb9b4016c6a7317acc28c89e32cc"
-SRC_URI[sha256sum] = "3af0b6bd35e5b6fc58d8b68827fbae2ff6b7e20dd2b238ccb9b49d84722066c2"
-
-UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/m/mklibs/"
-
-inherit autotools gettext native
diff --git a/meta/recipes-devtools/mmc/mmc-utils/0001-mmc_cmd.c-Use-extra-braces-when-initializing-subobje.patch b/meta/recipes-devtools/mmc/mmc-utils/0001-mmc_cmd.c-Use-extra-braces-when-initializing-subobje.patch
deleted file mode 100644
index 12707357b2..0000000000
--- a/meta/recipes-devtools/mmc/mmc-utils/0001-mmc_cmd.c-Use-extra-braces-when-initializing-subobje.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From 04fbe6ddb5f1e02efbcae3cdf5beb16757a98948 Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Fri, 10 May 2019 12:58:01 -0700
-Subject: [PATCH] mmc_cmd.c: Use extra braces when initializing subobjects
-
-clang warns with -Werror,-Wmissing-braces, as following error
-| mmc_cmds.c:1886:36: error: suggest braces around initialization of subobject [-Werror,-W
-missing-braces]
-| struct rpmb_frame frame_status = {0};
-| ^
-| {}
-
-Upstream-Status: Pending
-
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
- mmc_cmds.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/mmc_cmds.c b/mmc_cmds.c
-index 19a9da1..838e8c3 100644
---- a/mmc_cmds.c
-+++ b/mmc_cmds.c
-@@ -1883,7 +1883,7 @@ static int do_rpmb_op(int fd,
- u_int16_t rpmb_type;
- struct mmc_ioc_multi_cmd *mioc;
- struct mmc_ioc_cmd *ioc;
-- struct rpmb_frame frame_status = {0};
-+ struct rpmb_frame frame_status = {{0}};
-
- if (!frame_in || !frame_out || !out_cnt)
- return -EINVAL;
diff --git a/meta/recipes-devtools/mmc/mmc-utils_git.bb b/meta/recipes-devtools/mmc/mmc-utils_git.bb
index 5fd1c5c0cd..0bfd5c1cc8 100644
--- a/meta/recipes-devtools/mmc/mmc-utils_git.bb
+++ b/meta/recipes-devtools/mmc/mmc-utils_git.bb
@@ -1,23 +1,22 @@
SUMMARY = "Userspace tools for MMC/SD devices"
-HOMEPAGE = "http://git.kernel.org/cgit/linux/kernel/git/cjb/mmc-utils.git/"
-LICENSE = "GPLv2"
+HOMEPAGE = "https://git.kernel.org/pub/scm/utils/mmc/mmc-utils.git/"
+DESCRIPTION = "${SUMMARY}"
+LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://mmc.c;beginline=1;endline=20;md5=fae32792e20f4d27ade1c5a762d16b7d"
SRCBRANCH ?= "master"
-SRCREV = "73d6c59af8d1bcedf5de4aa1f5d5b7f765f545f5"
+SRCREV = "f757f413dea4a143ad7c3b48b8264176f0499a82"
-PV = "0.1+git${SRCPV}"
+PV = "0.1+git"
-SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git;branch=${SRCBRANCH} \
- file://0001-mmc_cmd.c-Use-extra-braces-when-initializing-subobje.patch \
- "
+SRC_URI = "git://git.kernel.org/pub/scm/utils/mmc/mmc-utils.git;branch=${SRCBRANCH};protocol=https"
UPSTREAM_CHECK_COMMITS = "1"
S = "${WORKDIR}/git"
-CFLAGS_append_powerpc64 = " -D__SANE_USERSPACE_TYPES__"
-CFLAGS_append_mipsarchn64 = " -D__SANE_USERSPACE_TYPES__"
-CFLAGS_append_mipsarchn32 = " -D__SANE_USERSPACE_TYPES__"
+CFLAGS:append:powerpc64 = " -D__SANE_USERSPACE_TYPES__"
+CFLAGS:append:mipsarchn64 = " -D__SANE_USERSPACE_TYPES__"
+CFLAGS:append:mipsarchn32 = " -D__SANE_USERSPACE_TYPES__"
do_install() {
install -d ${D}${bindir}
diff --git a/meta/recipes-devtools/mtd/mtd-utils/add-exclusion-to-mkfs-jffs2-git-2.patch b/meta/recipes-devtools/mtd/mtd-utils/add-exclusion-to-mkfs-jffs2-git-2.patch
deleted file mode 100644
index 5d874d9810..0000000000
--- a/meta/recipes-devtools/mtd/mtd-utils/add-exclusion-to-mkfs-jffs2-git-2.patch
+++ /dev/null
@@ -1,105 +0,0 @@
-Upstream-Status: Pending
-
-Index: git/jffsX-utils/mkfs.jffs2.c
-===================================================================
---- git.orig/jffsX-utils/mkfs.jffs2.c
-+++ git/jffsX-utils/mkfs.jffs2.c
-@@ -100,6 +100,11 @@ struct filesystem_entry {
- struct rb_node hardlink_rb;
- };
-
-+struct ignorepath_entry {
-+ struct ignorepath_entry* next; /* Points to the next ignorepath element */
-+ char name[PATH_MAX]; /* Name of the entry */
-+};
-+static struct ignorepath_entry* ignorepath = 0;
- struct rb_root hardlinks;
- static int out_fd = -1;
- static int in_fd = -1;
-@@ -309,7 +314,7 @@ static struct filesystem_entry *recursiv
- char *hpath, *tpath;
- struct dirent *dp, **namelist;
- struct filesystem_entry *entry;
--
-+ struct ignorepath_entry* element = ignorepath;
-
- if (lstat(hostpath, &sb)) {
- sys_errmsg_die("%s", hostpath);
-@@ -318,6 +323,15 @@ static struct filesystem_entry *recursiv
- entry = add_host_filesystem_entry(targetpath, hostpath,
- sb.st_uid, sb.st_gid, sb.st_mode, 0, parent);
-
-+ while ( element ) {
-+ if ( strcmp( element->name, targetpath ) == 0 ) {
-+ printf( "Note: ignoring directories below '%s'\n", targetpath );
-+ return entry;
-+ break;
-+ }
-+ element = element->next;
-+ }
-+
- n = scandir(hostpath, &namelist, 0, alphasort);
- if (n < 0) {
- sys_errmsg_die("opening directory %s", hostpath);
-@@ -1359,6 +1373,7 @@ static struct option long_options[] = {
- {"root", 1, NULL, 'r'},
- {"pagesize", 1, NULL, 's'},
- {"eraseblock", 1, NULL, 'e'},
-+ {"ignore", 1, NULL, 'I'},
- {"output", 1, NULL, 'o'},
- {"help", 0, NULL, 'h'},
- {"verbose", 0, NULL, 'v'},
-@@ -1409,6 +1424,7 @@ static const char helptext[] =
- " -L, --list-compressors Show the list of the available compressors\n"
- " -t, --test-compression Call decompress and compare with the original (for test)\n"
- " -n, --no-cleanmarkers Don't add a cleanmarker to every eraseblock\n"
-+" -I, --ignore=PATH Ignore sub directory and file tree below PATH when recursing over the file system\n"
- " -o, --output=FILE Output to FILE (default: stdout)\n"
- " -l, --little-endian Create a little-endian filesystem\n"
- " -b, --big-endian Create a big-endian filesystem\n"
-@@ -1566,6 +1582,7 @@ int main(int argc, char **argv)
- char *compr_name = NULL;
- int compr_prior = -1;
- int warn_page_size = 0;
-+ struct ignorepath_entry* element = ignorepath;
-
- page_size = sysconf(_SC_PAGESIZE);
- if (page_size < 0) /* System doesn't know so ... */
-@@ -1576,7 +1593,7 @@ int main(int argc, char **argv)
- jffs2_compressors_init();
-
- while ((opt = getopt_long(argc, argv,
-- "D:d:r:s:o:qUPfh?vVe:lbp::nc:m:x:X:Lty:i:", long_options, &c)) >= 0)
-+ "D:d:r:s:I:o:qUPfh?vVe:lbp::nc:m:x:X:Lty:i:", long_options, &c)) >= 0)
- {
- switch (opt) {
- case 'D':
-@@ -1600,6 +1617,28 @@ int main(int argc, char **argv)
- warn_page_size = 0; /* set by user, so don't need to warn */
- break;
-
-+ case 'I':
-+ printf( "Note: Adding '%s' to ignore Path\n", optarg );
-+ element = ignorepath;
-+ if ( !ignorepath ) {
-+ ignorepath = xmalloc( sizeof( struct ignorepath_entry ) );
-+ ignorepath->next = 0;
-+ strcpy( &ignorepath->name[0], optarg );
-+ } else {
-+ while ( element->next ) element = element->next;
-+ element->next = xmalloc( sizeof( struct ignorepath_entry ) );
-+ element->next->next = 0;
-+ strcpy( &element->next->name[0], optarg );
-+ }
-+ printf( "--------- Dumping ignore path list ----------------\n" );
-+ element = ignorepath;
-+ while ( element ) {
-+ printf( " * '%s'\n", &element->name[0] );
-+ element = element->next;
-+ }
-+ printf( "---------------------------------------------------\n" );
-+ break;
-+
- case 'o':
- if (out_fd != -1) {
- errmsg_die("output filename specified more than once");
diff --git a/meta/recipes-devtools/mtd/mtd-utils_git.bb b/meta/recipes-devtools/mtd/mtd-utils_git.bb
index 8d6bbfca3f..a40d79c864 100644
--- a/meta/recipes-devtools/mtd/mtd-utils_git.bb
+++ b/meta/recipes-devtools/mtd/mtd-utils_git.bb
@@ -1,26 +1,23 @@
SUMMARY = "Tools for managing memory technology devices"
HOMEPAGE = "http://www.linux-mtd.infradead.org/"
+DESCRIPTION = "mtd-utils tool is a generic Linux subsystem for memory devices, especially Flash devices."
SECTION = "base"
-LICENSE = "GPLv2+"
+LICENSE = "GPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \
file://include/common.h;beginline=1;endline=17;md5=ba05b07912a44ea2bf81ce409380049c"
inherit autotools pkgconfig update-alternatives
DEPENDS = "zlib e2fsprogs util-linux"
-RDEPENDS_mtd-utils-tests += "bash"
+RDEPENDS:mtd-utils-tests += "bash"
-PV = "2.1.2"
+PV = "2.2.0"
-SRCREV = "7b986779342021bda87c04da3bf729718736d8ab"
-SRC_URI = "git://git.infradead.org/mtd-utils.git \
- file://add-exclusion-to-mkfs-jffs2-git-2.patch \
- "
+SRCREV = "31e990c56aba7584cde310685d663bb122f16003"
+SRC_URI = "git://git.infradead.org/mtd-utils.git;branch=master"
S = "${WORKDIR}/git"
-EXTRA_OECONF += "--enable-install-tests"
-
# xattr support creates an additional compile-time dependency on acl because
# the sys/acl.h header is needed. libacl is not needed and thus enabling xattr
# regardless whether acl is enabled or disabled in the distro should be okay.
@@ -32,21 +29,19 @@ PACKAGECONFIG[jffs] = "--with-jffs,--without-jffs"
PACKAGECONFIG[ubifs] = "--with-ubifs,--without-ubifs"
PACKAGECONFIG[zstd] = "--with-zstd,--without-zstd,zstd"
-CPPFLAGS_append_riscv64 = " -pthread -D_REENTRANT"
+CPPFLAGS:append:riscv64 = " -pthread -D_REENTRANT"
EXTRA_OEMAKE = "'CC=${CC}' 'RANLIB=${RANLIB}' 'AR=${AR}' 'CFLAGS=${CFLAGS} ${@bb.utils.contains('PACKAGECONFIG', 'xattr', '', '-DWITHOUT_XATTR', d)} -I${S}/include' 'BUILDDIR=${S}'"
# Use higher priority than corresponding BusyBox-provided applets
ALTERNATIVE_PRIORITY = "100"
-ALTERNATIVE_${PN} = "flashcp flash_eraseall flash_lock flash_unlock nanddump nandwrite"
-ALTERNATIVE_${PN}-ubifs = "ubiattach ubidetach ubimkvol ubirename ubirmvol ubirsvol ubiupdatevol"
+ALTERNATIVE:${PN} = "flashcp flash_eraseall flash_lock flash_unlock nanddump nandwrite"
+ALTERNATIVE:${PN}-ubifs = "ubiattach ubidetach ubimkvol ubirename ubirmvol ubirsvol ubiupdatevol"
-ALTERNATIVE_LINK_NAME[flash_eraseall] = "${sbindir}/flash_eraseall"
ALTERNATIVE_LINK_NAME[nandwrite] = "${sbindir}/nandwrite"
ALTERNATIVE_LINK_NAME[nanddump] = "${sbindir}/nanddump"
ALTERNATIVE_LINK_NAME[ubiattach] = "${sbindir}/ubiattach"
-ALTERNATIVE_LINK_NAME[ubiattach] = "${sbindir}/ubiattach"
ALTERNATIVE_LINK_NAME[ubidetach] = "${sbindir}/ubidetach"
ALTERNATIVE_LINK_NAME[ubimkvol] = "${sbindir}/ubimkvol"
ALTERNATIVE_LINK_NAME[ubirename] = "${sbindir}/ubirename"
@@ -60,16 +55,24 @@ ALTERNATIVE_LINK_NAME[flashcp] = "${sbindir}/flashcp"
do_install () {
oe_runmake install DESTDIR=${D} SBINDIR=${sbindir} MANDIR=${mandir} INCLUDEDIR=${includedir}
+ install -d ${D}${includedir}/mtd
+ install -d ${D}${libdir}
+ install -m 0644 ${S}/include/libubi.h ${D}${includedir}
+ install -m 0644 ${S}/include/libmtd.h ${D}${includedir}
+ install -m 0644 ${S}/include/libscan.h ${D}${includedir}
+ install -m 0644 ${S}/include/libubigen.h ${D}${includedir}
+ oe_libinstall -a libubi ${D}${libdir}/
+ oe_libinstall -a libmtd ${D}${libdir}/
}
PACKAGES =+ "mtd-utils-misc mtd-utils-tests"
PACKAGES =+ "${@bb.utils.contains("PACKAGECONFIG", "jffs", "mtd-utils-jffs2", "", d)}"
PACKAGES =+ "${@bb.utils.contains("PACKAGECONFIG", "ubifs", "mtd-utils-ubifs", "", d)}"
-FILES_mtd-utils-jffs2 = "${sbindir}/mkfs.jffs2 ${sbindir}/jffs2dump ${sbindir}/jffs2reader ${sbindir}/sumtool"
-FILES_mtd-utils-ubifs = "${sbindir}/mkfs.ubifs ${sbindir}/ubi*"
-FILES_mtd-utils-misc = "${sbindir}/nftl* ${sbindir}/ftl* ${sbindir}/rfd* ${sbindir}/doc* ${sbindir}/serve_image ${sbindir}/recv_image"
-FILES_mtd-utils-tests = "${libexecdir}/mtd-utils/*"
+FILES:mtd-utils-jffs2 = "${sbindir}/mkfs.jffs2 ${sbindir}/jffs2dump ${sbindir}/jffs2reader ${sbindir}/sumtool"
+FILES:mtd-utils-ubifs = "${sbindir}/mkfs.ubifs ${sbindir}/ubi*"
+FILES:mtd-utils-misc = "${sbindir}/nftl* ${sbindir}/ftl* ${sbindir}/rfd* ${sbindir}/doc* ${sbindir}/serve_image ${sbindir}/recv_image"
+FILES:mtd-utils-tests = "${libexecdir}/mtd-utils/*"
BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/mtools/mtools/disable-hardcoded-configs.patch b/meta/recipes-devtools/mtools/mtools/disable-hardcoded-configs.patch
index 4705890157..57be935487 100644
--- a/meta/recipes-devtools/mtools/mtools/disable-hardcoded-configs.patch
+++ b/meta/recipes-devtools/mtools/mtools/disable-hardcoded-configs.patch
@@ -1,4 +1,4 @@
-From c61a3df892ba88d9f3f84c1844481457a04b051f Mon Sep 17 00:00:00 2001
+From 2ef9b371a5cc44e730143e694d71665831fac216 Mon Sep 17 00:00:00 2001
From: Ed Bartosh <ed.bartosh@linux.intel.com>
Date: Tue, 13 Jun 2017 14:55:52 +0300
Subject: [PATCH] Disabled reading host configs.
@@ -12,10 +12,10 @@ Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
1 file changed, 8 deletions(-)
diff --git a/config.c b/config.c
-index 46af755..5ed9114 100644
+index 2f6a297..3181ed7 100644
--- a/config.c
+++ b/config.c
-@@ -737,14 +737,6 @@ void read_config(void)
+@@ -844,14 +844,6 @@ void read_config(void)
memcpy(devices, const_devices,
nr_const_devices*sizeof(struct device));
diff --git a/meta/recipes-devtools/mtools/mtools/mtools-makeinfo.patch b/meta/recipes-devtools/mtools/mtools/mtools-makeinfo.patch
index 8ceb0af136..6ae91d6cb9 100644
--- a/meta/recipes-devtools/mtools/mtools/mtools-makeinfo.patch
+++ b/meta/recipes-devtools/mtools/mtools/mtools-makeinfo.patch
@@ -1,9 +1,48 @@
+From 3cf56b36db78679273f61ba78fbbf7f3fab52f68 Mon Sep 17 00:00:00 2001
+From: Marcin Juszkiewicz <hrw@openedhand.com>
+Date: Fri, 8 Jun 2007 08:35:12 +0000
+Subject: [PATCH] mtools: imported from OE
+
Upstream-Status: Inappropriate [licensing]
-Index: mtools-4.0.18/configure.in
-===================================================================
---- mtools-4.0.18.orig/configure.in
-+++ mtools-4.0.18/configure.in
+---
+ Makefile.in | 11 ++++++-----
+ configure.in | 27 +++++++++++++++++++++++++++
+ 2 files changed, 33 insertions(+), 5 deletions(-)
+
+diff --git a/Makefile.in b/Makefile.in
+index 616d59f..85b5b1d 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -26,10 +26,11 @@ USERCFLAGS =
+ USERLDFLAGS =
+ USERLDLIBS =
+
+-MAKEINFO = makeinfo
+-TEXI2DVI = texi2dvi
+-TEXI2PDF = texi2pdf
+-TEXI2HTML = texi2html
++MAKEINFO = @MAKEINFO@
++TEXI2DVI = @TEXI2DVI@
++TEXI2PDF = @TEXI2PDF@
++TEXI2HTML = @TEXI2HTML@
++DVI2PS = @DVI2PS@
+
+
+ # do not edit below this line
+@@ -199,7 +200,7 @@ dvi: mtools.dvi
+
+ ps: mtools.ps
+ %.ps: %.dvi
+- dvips -f < $< > $@
++ $(DVI2PS) -f < $< > $@
+
+ pdf: mtools.pdf
+ %.pdf: %.texi sysconfdir.texi
+diff --git a/configure.in b/configure.in
+index 5ff75c1..c0f7440 100644
+--- a/configure.in
++++ b/configure.in
@@ -35,6 +35,33 @@ AC_CANONICAL_SYSTEM
AC_C_CONST
AC_C_INLINE
@@ -35,35 +74,6 @@ Index: mtools-4.0.18/configure.in
+AC_SUBST(TEXI2HTML)
+AC_SUBST(DVI2PS)
+
-
dnl Check for configuration options
dnl Enable OS/2 extended density format disks
-Index: mtools-4.0.18/Makefile.in
-===================================================================
---- mtools-4.0.18.orig/Makefile.in
-+++ mtools-4.0.18/Makefile.in
-@@ -26,10 +26,11 @@ USERCFLAGS =
- USERLDFLAGS =
- USERLDLIBS =
-
--MAKEINFO = makeinfo
--TEXI2DVI = texi2dvi
--TEXI2PDF = texi2pdf
--TEXI2HTML = texi2html
-+MAKEINFO = @MAKEINFO@
-+TEXI2DVI = @TEXI2DVI@
-+TEXI2PDF = @TEXI2PDF@
-+TEXI2HTML = @TEXI2HTML@
-+DVI2PS = @DVI2PS@
-
-
- # do not edit below this line
-@@ -198,7 +199,7 @@ dvi: mtools.dvi
-
- ps: mtools.ps
- %.ps: %.dvi
-- dvips -f < $< > $@
-+ $(DVI2PS) -f < $< > $@
-
- pdf: mtools.pdf
- %.pdf: %.texi sysconfdir.texi
+ AC_ARG_ENABLE(xdf,
diff --git a/meta/recipes-devtools/mtools/mtools/no-x11.gplv3.patch b/meta/recipes-devtools/mtools/mtools/no-x11.gplv3.patch
deleted file mode 100644
index 9cb3e39f5c..0000000000
--- a/meta/recipes-devtools/mtools/mtools/no-x11.gplv3.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-Disable building with X11 support.
-
-Upstream-Status: Inappropriate [disable feature]
-
-Signed-off-by: Scott Garman <scott.a.garman@intel.com>
-
-diff -urN mtools-4.0.15.orig//Makefile.in mtools-4.0.15//Makefile.in
---- mtools-4.0.15.orig//Makefile.in 2010-10-17 08:41:09.000000000 -0700
-+++ mtools-4.0.15//Makefile.in 2010-11-23 13:59:49.258258374 -0800
-@@ -146,7 +146,7 @@
- CXXFLAGS = $(CPPFLAGS) $(DEFS) $(MYCXXFLAGS) -I. @extraincludedir@ -I@srcdir@ $(USERCFLAGS)
- LINK = $(CC) $(LDFLAGS) $(USERLDFLAGS) @extralibdir@
- ALLLIBS = $(USERLDLIBS) $(MACHDEPLIBS) $(SHLIB) $(LIBS)
--X_LDFLAGS = $(X_EXTRA_LIBS) $(X_LIBS) -lXau -lX11 $(LIBS)
-+X_LDFLAGS = $(X_EXTRA_LIBS) $(X_LIBS) $(LIBS)
- X_CCFLAGS = $(X_CFLAGS) $(CFLAGS)
-
- all: mtools $(LINKS) mkmanifest @FLOPPYD@ mtools.1 mtools.5
diff --git a/meta/recipes-devtools/mtools/mtools_4.0.25.bb b/meta/recipes-devtools/mtools/mtools_4.0.43.bb
index bca33a28ee..859103979e 100644
--- a/meta/recipes-devtools/mtools/mtools_4.0.25.bb
+++ b/meta/recipes-devtools/mtools/mtools_4.0.43.bb
@@ -2,13 +2,13 @@ SUMMARY = "Utilities to access MS-DOS disks without mounting them"
DESCRIPTION = "Mtools is a collection of utilities to access MS-DOS disks from GNU and Unix without mounting them."
HOMEPAGE = "http://www.gnu.org/software/mtools/"
SECTION = "optional"
-LICENSE = "GPLv3"
+LICENSE = "GPL-3.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
DEPENDS += "virtual/libiconv"
-RDEPENDS_${PN}_libc-glibc = "glibc-gconv-ibm850"
-RRECOMMENDS_${PN}_libc-glibc = "\
+RDEPENDS:${PN}:libc-glibc = "glibc-gconv-ibm850"
+RRECOMMENDS:${PN}:libc-glibc = "\
glibc-gconv-ibm437 \
glibc-gconv-ibm737 \
glibc-gconv-ibm775 \
@@ -24,15 +24,14 @@ RRECOMMENDS_${PN}_libc-glibc = "\
glibc-gconv-ibm866 \
glibc-gconv-ibm869 \
"
-SRC_URI[sha256sum] = "fd161eec3bb7a93d13936db67725ad3e17f2d5f4e6fa8f7667fbc7ac728e2c15"
+SRC_URI[sha256sum] = "541e179665dc4e272b9602f2074243591a157da89cc47064da8c5829dbd2b339"
SRC_URI = "${GNU_MIRROR}/mtools/mtools-${PV}.tar.bz2 \
file://mtools-makeinfo.patch \
- file://no-x11.gplv3.patch \
file://clang_UNUSED.patch \
"
-SRC_URI_append_class-native = " file://disable-hardcoded-configs.patch"
+SRC_URI:append:class-native = " file://disable-hardcoded-configs.patch"
inherit autotools texinfo
@@ -43,7 +42,7 @@ BBCLASSEXTEND = "native nativesdk"
PACKAGECONFIG ??= ""
PACKAGECONFIG[libbsd] = "ac_cv_lib_bsd_main=yes,ac_cv_lib_bsd_main=no,libbsd"
-do_install_prepend () {
+do_install:prepend () {
# Create bindir to fix parallel installation issues
mkdir -p ${D}/${bindir}
mkdir -p ${D}/${datadir}
diff --git a/meta/recipes-devtools/nasm/nasm/0001-stdlib-Add-strlcat.patch b/meta/recipes-devtools/nasm/nasm/0001-stdlib-Add-strlcat.patch
index 0ede8a8328..1b8e947c56 100644
--- a/meta/recipes-devtools/nasm/nasm/0001-stdlib-Add-strlcat.patch
+++ b/meta/recipes-devtools/nasm/nasm/0001-stdlib-Add-strlcat.patch
@@ -1,4 +1,4 @@
-From 1c5023002bad3a5b0bbc181fdb324160beace733 Mon Sep 17 00:00:00 2001
+From 680220e772dfa381829983fa73b915416f676894 Mon Sep 17 00:00:00 2001
From: Joshua Watt <JPEWhacker@gmail.com>
Date: Tue, 19 Nov 2019 12:47:30 -0600
Subject: [PATCH] stdlib: Add strlcat
@@ -17,23 +17,23 @@ Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
create mode 100644 stdlib/strlcat.c
diff --git a/Makefile.in b/Makefile.in
-index bfae1f8..156dc4c 100644
+index b85ebee..045fabe 100644
--- a/Makefile.in
+++ b/Makefile.in
-@@ -101,7 +101,7 @@ NASM = asm/nasm.$(O)
- NDISASM = disasm/ndisasm.$(O)
+@@ -104,7 +104,7 @@ PROGOBJ = $(NASM) $(NDISASM)
+ PROGS = nasm$(X) ndisasm$(X)
- LIBOBJ = stdlib/snprintf.$(O) stdlib/vsnprintf.$(O) stdlib/strlcpy.$(O) \
+ LIBOBJ_NW = stdlib/snprintf.$(O) stdlib/vsnprintf.$(O) stdlib/strlcpy.$(O) \
- stdlib/strnlen.$(O) stdlib/strrchrnul.$(O) \
+ stdlib/strnlen.$(O) stdlib/strrchrnul.$(O) stdlib/strlcat.$(O) \
\
nasmlib/ver.$(O) \
nasmlib/alloc.$(O) nasmlib/asprintf.$(O) nasmlib/errfile.$(O) \
diff --git a/configure.ac b/configure.ac
-index 7b72769..14fd033 100644
+index 42cd198..e206338 100644
--- a/configure.ac
+++ b/configure.ac
-@@ -234,6 +234,7 @@ PA_FUNC_SNPRINTF
+@@ -236,6 +236,7 @@ PA_FUNC_SNPRINTF
PA_FUNC_VSNPRINTF
AC_CHECK_FUNCS([strlcpy])
AC_CHECK_FUNCS([strrchrnul])
@@ -41,7 +41,7 @@ index 7b72769..14fd033 100644
dnl These types are POSIX-specific, and Windows does it differently...
AC_CHECK_TYPES([struct _stati64])
-@@ -253,6 +254,7 @@ AC_CHECK_DECLS(strsep)
+@@ -255,6 +256,7 @@ AC_CHECK_DECLS(strsep)
AC_CHECK_DECLS(strlcpy)
AC_CHECK_DECLS(strnlen)
AC_CHECK_DECLS(strrchrnul)
@@ -50,7 +50,7 @@ index 7b72769..14fd033 100644
dnl Check for missing types
AC_TYPE_UINTPTR_T
diff --git a/include/compiler.h b/include/compiler.h
-index b4fd3a8..7fb4821 100644
+index 407c160..b64da6a 100644
--- a/include/compiler.h
+++ b/include/compiler.h
@@ -169,6 +169,10 @@ size_t strlcpy(char *, const char *, size_t);
diff --git a/meta/recipes-devtools/nasm/nasm/0002-Add-debug-prefix-map-option.patch b/meta/recipes-devtools/nasm/nasm/0002-Add-debug-prefix-map-option.patch
index 9f4c8dc0bd..84fcca0fe1 100644
--- a/meta/recipes-devtools/nasm/nasm/0002-Add-debug-prefix-map-option.patch
+++ b/meta/recipes-devtools/nasm/nasm/0002-Add-debug-prefix-map-option.patch
@@ -1,4 +1,4 @@
-From 81d6519499dcfebe7d21e65e002a8885a4e8d852 Mon Sep 17 00:00:00 2001
+From e28c8883050d34d18ee2d66dfeece51e13adb6d5 Mon Sep 17 00:00:00 2001
From: Joshua Watt <JPEWhacker@gmail.com>
Date: Tue, 19 Nov 2019 13:12:17 -0600
Subject: [PATCH] Add --debug-prefix-map option
@@ -17,17 +17,17 @@ Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
nasmlib/filename.c | 20 ++++++++++++++++++++
output/outas86.c | 4 +++-
output/outcoff.c | 4 ++--
- output/outelf.c | 2 +-
+ output/outelf.c | 13 ++++++++-----
output/outieee.c | 2 +-
output/outobj.c | 2 +-
stdlib/strlcat.c | 2 +-
test/elfdebugprefix.asm | 6 ++++++
test/performtest.pl | 12 ++++++++++--
- 12 files changed, 82 insertions(+), 9 deletions(-)
+ 12 files changed, 89 insertions(+), 13 deletions(-)
create mode 100644 test/elfdebugprefix.asm
diff --git a/asm/nasm.c b/asm/nasm.c
-index e5ae89a..7a7f8b4 100644
+index 76c70f6..08ff119 100644
--- a/asm/nasm.c
+++ b/asm/nasm.c
@@ -939,6 +939,7 @@ enum text_options {
@@ -46,7 +46,7 @@ index e5ae89a..7a7f8b4 100644
{"reproducible", OPT_REPRODUCIBLE, ARG_NO, 0},
{NULL, OPT_BOGUS, ARG_NO, 0}
};
-@@ -1337,6 +1339,26 @@ static bool process_arg(char *p, char *q, int pass)
+@@ -1335,6 +1337,26 @@ static bool process_arg(char *p, char *q, int pass)
case OPT_REPRODUCIBLE:
reproducible = true;
break;
@@ -73,7 +73,7 @@ index e5ae89a..7a7f8b4 100644
case OPT_HELP:
help(stdout);
exit(0);
-@@ -2304,6 +2326,8 @@ static void help(FILE *out)
+@@ -2298,6 +2320,8 @@ static void help(FILE *out)
" -w-x disable warning x (also -Wno-x)\n"
" -w[+-]error promote all warnings to errors (also -Werror)\n"
" -w[+-]error=x promote warning x to errors (also -Werror=x)\n"
@@ -83,7 +83,7 @@ index e5ae89a..7a7f8b4 100644
fprintf(out, " %-20s %s\n",
diff --git a/include/nasmlib.h b/include/nasmlib.h
-index 438178d..4c3e90d 100644
+index 87a7fc6..a3e5144 100644
--- a/include/nasmlib.h
+++ b/include/nasmlib.h
@@ -250,10 +250,19 @@ int64_t readstrnum(char *str, int length, bool *warn);
@@ -107,7 +107,7 @@ index 438178d..4c3e90d 100644
/*
* Utility macros...
diff --git a/nasm.txt b/nasm.txt
-index cc7fa27..d3485c9 100644
+index 950c361..784618c 100644
--- a/nasm.txt
+++ b/nasm.txt
@@ -147,6 +147,10 @@ OPTIONS
@@ -179,10 +179,10 @@ index 54b22f8..c4a412c 100644
static void as86_cleanup(void)
diff --git a/output/outcoff.c b/output/outcoff.c
-index 58fa024..14baf7b 100644
+index c2b4eb6..e242db2 100644
--- a/output/outcoff.c
+++ b/output/outcoff.c
-@@ -1072,14 +1072,14 @@ static void coff_symbol(char *name, int32_t strpos, int32_t value,
+@@ -1259,7 +1259,7 @@ static void coff_symbol(char *name, int32_t strpos, int32_t value,
static void coff_write_symbols(void)
{
@@ -191,29 +191,61 @@ index 58fa024..14baf7b 100644
uint32_t i;
/*
- * The `.file' record, and the file name auxiliary record.
- */
- coff_symbol(".file", 0L, 0L, -2, 0, 0x67, 1);
-- strncpy(filename, inname, 18);
-+ filename_debug_remap(filename, inname, 19);
+@@ -1269,7 +1269,7 @@ static void coff_write_symbols(void)
+ if (reproducible)
+ memset(filename, 0, 18);
+ else
+- strncpy(filename, inname, 18);
++ filename_debug_remap(filename, inname, 19);
nasm_write(filename, 18, ofile);
/*
diff --git a/output/outelf.c b/output/outelf.c
-index 61af020..1292958 100644
+index ad8d210..29f1dc1 100644
--- a/output/outelf.c
+++ b/output/outelf.c
-@@ -553,7 +553,7 @@ static void elf_init(void)
- };
+@@ -546,8 +546,8 @@ static void elf_init(void)
const char * const *p;
+ const char * cur_path = nasm_realpath(inname);
- strlcpy(elf_module, inname, sizeof(elf_module));
+- strlcpy(elf_dir, nasm_dirname(cur_path), sizeof(elf_dir));
+ filename_debug_remap(elf_module, inname, sizeof(elf_module));
++ filename_debug_remap(elf_dir, nasm_dirname(cur_path), sizeof(elf_dir));
sects = NULL;
nsects = sectlen = 0;
syms = saa_init((int32_t)sizeof(struct elf_symbol));
+@@ -3590,13 +3590,17 @@ static void dwarf_findfile(const char * fname)
+ if (dwarf_clist && !(strcmp(fname, dwarf_clist->filename)))
+ return;
+
++ char * fname_remapped = nasm_malloc(FILENAME_MAX);
++ filename_debug_remap(fname_remapped,fname,FILENAME_MAX);
++
+ /* search for match */
+ match = 0;
+ if (dwarf_flist) {
+ match = dwarf_flist;
+ for (finx = 0; finx < dwarf_numfiles; finx++) {
+- if (!(strcmp(fname, match->filename))) {
++ if (!(strcmp(fname_remapped, match->filename))) {
+ dwarf_clist = match;
++ nasm_free(fname_remapped);
+ return;
+ }
+ match = match->next;
+@@ -3607,8 +3611,7 @@ static void dwarf_findfile(const char * fname)
+ dwarf_clist = nasm_malloc(sizeof(struct linelist));
+ dwarf_numfiles++;
+ dwarf_clist->line = dwarf_numfiles;
+- dwarf_clist->filename = nasm_malloc(strlen(fname) + 1);
+- strcpy(dwarf_clist->filename,fname);
++ dwarf_clist->filename = fname_remapped;
+ dwarf_clist->next = 0;
+ if (!dwarf_flist) { /* if first entry */
+ dwarf_flist = dwarf_elist = dwarf_clist;
diff --git a/output/outieee.c b/output/outieee.c
-index 6d6d4b2..cdb8333 100644
+index 7ba9036..796e5af 100644
--- a/output/outieee.c
+++ b/output/outieee.c
@@ -207,7 +207,7 @@ static void ieee_unqualified_name(char *, char *);
@@ -226,7 +258,7 @@ index 6d6d4b2..cdb8333 100644
fpubhead = NULL;
fpubtail = &fpubhead;
diff --git a/output/outobj.c b/output/outobj.c
-index 56b43f9..fefea94 100644
+index 281839d..fc336c1 100644
--- a/output/outobj.c
+++ b/output/outobj.c
@@ -644,7 +644,7 @@ static enum directive_result obj_directive(enum directive, char *);
@@ -264,7 +296,7 @@ index 0000000..a67ba29
+ ret
+
diff --git a/test/performtest.pl b/test/performtest.pl
-index f7865b3..096f960 100755
+index 46b1bdf..2426848 100755
--- a/test/performtest.pl
+++ b/test/performtest.pl
@@ -42,14 +42,22 @@ sub perform {
diff --git a/meta/recipes-devtools/nasm/nasm_2.15.05.bb b/meta/recipes-devtools/nasm/nasm_2.16.03.bb
index 6a1294c34f..281f3940e7 100644
--- a/meta/recipes-devtools/nasm/nasm_2.15.05.bb
+++ b/meta/recipes-devtools/nasm/nasm_2.16.03.bb
@@ -1,5 +1,7 @@
SUMMARY = "General-purpose x86 assembler"
SECTION = "devel"
+HOMEPAGE = "http://www.nasm.us/"
+DESCRIPTION = "The Netwide Assembler (NASM) is an assembler and disassembler for the Intel x86 architecture."
LICENSE = "BSD-2-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=90904486f8fbf1861cf42752e1a39efe"
@@ -8,9 +10,9 @@ SRC_URI = "http://www.nasm.us/pub/nasm/releasebuilds/${PV}/nasm-${PV}.tar.bz2 \
file://0002-Add-debug-prefix-map-option.patch \
"
-SRC_URI[sha256sum] = "3c4b8339e5ab54b1bcb2316101f8985a5da50a3f9e504d43fa6f35668bee2fd0"
+SRC_URI[sha256sum] = "bef3de159bcd61adf98bb7cc87ee9046e944644ad76b7633f18ab063edb29e57"
-EXTRA_AUTORECONF_append = " -I autoconf/m4"
+EXTRA_AUTORECONF:append = " -I autoconf/m4"
inherit autotools-brokensep
diff --git a/meta/recipes-devtools/ninja/ninja_1.10.1.bb b/meta/recipes-devtools/ninja/ninja_1.12.1.bb
index ecb0566f37..9f5c014b9b 100644
--- a/meta/recipes-devtools/ninja/ninja_1.10.1.bb
+++ b/meta/recipes-devtools/ninja/ninja_1.12.1.bb
@@ -1,20 +1,21 @@
SUMMARY = "Ninja is a small build system with a focus on speed."
HOMEPAGE = "https://ninja-build.org/"
+DESCRIPTION = "Ninja is a small build system with a focus on speed. It differs from other build systems in two major respects: it is designed to have its input files generated by a higher-level build system, and it is designed to run builds as fast as possible."
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://COPYING;md5=a81586a64ad4e476c791cda7e2f2c52e"
DEPENDS = "re2c-native ninja-native"
-SRCREV = "a1f879b29c9aafe6a2bc0ba885701f8f4f19f772"
+SRCREV = "2daa09ba270b0a43e1929d29b073348aa985dfaa"
-SRC_URI = "git://github.com/ninja-build/ninja.git;branch=release"
+SRC_URI = "git://github.com/ninja-build/ninja.git;branch=release;protocol=https"
UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>.*)"
S = "${WORKDIR}/git"
do_configure[noexec] = "1"
-do_compile_class-native() {
+do_compile:class-native() {
python3 ./configure.py --bootstrap
}
@@ -28,3 +29,5 @@ do_install() {
}
BBCLASSEXTEND = "native nativesdk"
+
+CVE_STATUS[CVE-2021-4336] = "cpe-incorrect: This is a different Ninja"
diff --git a/meta/recipes-devtools/opkg-utils/opkg-utils/0001-opkg-build-remove-numeric-owner-parameter-overzealou.patch b/meta/recipes-devtools/opkg-utils/opkg-utils/0001-opkg-build-remove-numeric-owner-parameter-overzealou.patch
new file mode 100644
index 0000000000..0cdeb9574a
--- /dev/null
+++ b/meta/recipes-devtools/opkg-utils/opkg-utils/0001-opkg-build-remove-numeric-owner-parameter-overzealou.patch
@@ -0,0 +1,34 @@
+From 19c2c6a14c8760c3595f5dc6cc89cde85fbdbac1 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Piotr=20=C5=81obacz?= <p.lobacz@welotec.com>
+Date: Tue, 9 Jan 2024 09:20:55 +0100
+Subject: [PATCH] opkg-build: remove `--numeric-owner` parameter overzealously
+ added
+
+In some corner cases this parameter has been added overzealously.
+All discussion on this topic can be read in here:
+https://bugzilla.yoctoproject.org/show_bug.cgi?id=15334
+
+Upstream-Status: Backport [https://git.yoctoproject.org/opkg-utils/commit/?id=68a969f0e867ace0d94faf8ebe7c7bb67f59d386]
+
+Signed-off-by: Alex Stewart <alex.stewart@ni.com>
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ opkg-build | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/opkg-build b/opkg-build
+index 6edd938..0582958 100755
+--- a/opkg-build
++++ b/opkg-build
+@@ -337,7 +337,7 @@ export LANG=C
+ export LC_ALL=C
+ ( cd $pkg_dir/$CONTROL && find . -type f | sort > $tmp_dir/control_list )
+ ( cd $pkg_dir && find . -path ./$CONTROL -prune -o -path . -o -print | sort > $tmp_dir/file_list )
+-( cd $pkg_dir && tar $attributesargs $ogargs $tsortargs --numeric-owner --no-recursion $mtime_args -c $tarformat -T $tmp_dir/file_list | $compressor $compressorargs > $tmp_dir/data.tar.$cext )
++( cd $pkg_dir && tar $attributesargs $ogargs $tsortargs --no-recursion $mtime_args -c $tarformat -T $tmp_dir/file_list | $compressor $compressorargs > $tmp_dir/data.tar.$cext )
+ ( cd $pkg_dir/$CONTROL && tar $ogargs $tsortargs --no-recursion $mtime_args -c $tarformat -T $tmp_dir/control_list | gzip $zipargs > $tmp_dir/control.tar.gz )
+ rm $tmp_dir/file_list
+ rm $tmp_dir/control_list
+--
+2.43.0
+
diff --git a/meta/recipes-devtools/opkg-utils/opkg-utils_0.4.3.bb b/meta/recipes-devtools/opkg-utils/opkg-utils_0.6.3.bb
index ce299d6b63..e138bc24af 100644
--- a/meta/recipes-devtools/opkg-utils/opkg-utils_0.4.3.bb
+++ b/meta/recipes-devtools/opkg-utils/opkg-utils_0.6.3.bb
@@ -1,29 +1,29 @@
SUMMARY = "Additional utilities for the opkg package manager"
-SUMMARY_update-alternatives-opkg = "Utility for managing the alternatives system"
+SUMMARY:update-alternatives-opkg = "Utility for managing the alternatives system"
SECTION = "base"
HOMEPAGE = "http://git.yoctoproject.org/cgit/cgit.cgi/opkg-utils"
-LICENSE = "GPLv2+"
+LICENSE = "GPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
file://opkg.py;beginline=2;endline=18;md5=ffa11ff3c15eb31c6a7ceaa00cc9f986"
PROVIDES += "${@bb.utils.contains('PACKAGECONFIG', 'update-alternatives', 'virtual/update-alternatives', '', d)}"
-SRC_URI = "http://git.yoctoproject.org/cgit/cgit.cgi/${BPN}/snapshot/${BPN}-${PV}.tar.gz \
+SRC_URI = "git://git.yoctoproject.org/opkg-utils;protocol=https;branch=master \
file://0001-update-alternatives-correctly-match-priority.patch \
+ file://0001-opkg-build-remove-numeric-owner-parameter-overzealou.patch \
"
-UPSTREAM_CHECK_URI = "http://git.yoctoproject.org/cgit/cgit.cgi/opkg-utils/refs/"
+SRCREV = "589880d01969eb9af1e66120e731d43193504718"
-SRC_URI[md5sum] = "7bbadb3c381f3ea935b21d3bb8cc4671"
-SRC_URI[sha256sum] = "046517600fb0aed6c4645edefe02281f4fa2f1c02f71596152d93172452c0b01"
+S = "${WORKDIR}/git"
TARGET_CC_ARCH += "${LDFLAGS}"
-RDEPENDS_${PN} += "bash"
+RDEPENDS:${PN} += "bash"
inherit perlnative
# For native builds we use the host Python
PYTHONRDEPS = "python3 python3-shell python3-io python3-math python3-crypt python3-logging python3-fcntl python3-pickle python3-compression python3-stringold"
-PYTHONRDEPS_class-native = ""
+PYTHONRDEPS:class-native = ""
PACKAGECONFIG = "python update-alternatives"
PACKAGECONFIG[python] = ",,,${PYTHONRDEPS}"
@@ -36,7 +36,7 @@ do_install() {
fi
}
-do_install_append_class-target() {
+do_install:append:class-target() {
if ! ${@bb.utils.contains('PACKAGECONFIG', 'python', 'true', 'false', d)}; then
grep -lZ "/usr/bin/env.*python" ${D}${bindir}/* | xargs -0 rm
fi
@@ -48,15 +48,15 @@ do_install_append_class-target() {
# These are empty and will pull python3-dev into images where it wouldn't
# have been otherwise, so don't generate them.
-PACKAGES_remove = "${PN}-dev ${PN}-staticdev"
+PACKAGES:remove = "${PN}-dev ${PN}-staticdev"
PACKAGES =+ "update-alternatives-opkg"
-FILES_update-alternatives-opkg = "${bindir}/update-alternatives"
-RPROVIDES_update-alternatives-opkg = "update-alternatives update-alternatives-cworth"
-RREPLACES_update-alternatives-opkg = "update-alternatives-cworth"
-RCONFLICTS_update-alternatives-opkg = "update-alternatives-cworth"
+FILES:update-alternatives-opkg = "${bindir}/update-alternatives"
+RPROVIDES:update-alternatives-opkg = "update-alternatives update-alternatives-cworth"
+RREPLACES:update-alternatives-opkg = "update-alternatives-cworth"
+RCONFLICTS:update-alternatives-opkg = "update-alternatives-cworth"
-pkg_postrm_update-alternatives-opkg() {
+pkg_postrm:update-alternatives-opkg() {
rm -rf $D${nonarch_libdir}/opkg/alternatives
rmdir $D${nonarch_libdir}/opkg || true
}
diff --git a/meta/recipes-devtools/opkg/opkg-arch-config_1.0.bb b/meta/recipes-devtools/opkg/opkg-arch-config_1.0.bb
index 0c2dbc9e32..4db35c1092 100644
--- a/meta/recipes-devtools/opkg/opkg-arch-config_1.0.bb
+++ b/meta/recipes-devtools/opkg/opkg-arch-config_1.0.bb
@@ -1,10 +1,10 @@
SUMMARY = "Architecture-dependent configuration for opkg"
-HOMEPAGE = "http://code.google.com/p/opkg/"
+HOMEPAGE = "https://git.yoctoproject.org/opkg/"
LICENSE = "MIT"
PACKAGE_ARCH = "${MACHINE_ARCH}"
-PR = "r1"
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
do_compile() {
mkdir -p ${S}/${sysconfdir}/opkg/
@@ -26,10 +26,10 @@ do_install () {
install -m 0644 ${S}/${sysconfdir}/opkg/* ${D}${sysconfdir}/opkg/
}
-FILES_${PN} = "${sysconfdir}/opkg/ "
+FILES:${PN} = "${sysconfdir}/opkg/ "
-CONFFILES_${PN} += "${sysconfdir}/opkg/arch.conf"
+CONFFILES:${PN} += "${sysconfdir}/opkg/arch.conf"
-RREPLACES_${PN} = "opkg-config-base"
-RCONFLICTS_${PN} = "opkg-config-base"
-RPROVIDES_${PN} = "opkg-config-base"
+RREPLACES:${PN} = "opkg-config-base"
+RCONFLICTS:${PN} = "opkg-config-base"
+RPROVIDES:${PN} = "opkg-config-base"
diff --git a/meta/recipes-devtools/opkg/opkg-keyrings_1.0.bb b/meta/recipes-devtools/opkg/opkg-keyrings_1.0.bb
index 07e2402545..84aeb98068 100644
--- a/meta/recipes-devtools/opkg/opkg-keyrings_1.0.bb
+++ b/meta/recipes-devtools/opkg/opkg-keyrings_1.0.bb
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384
# Distro-specific keys can be added to this package in two ways:
#
# 1) In a .bbappend, add .gpg and/or .asc files to SRC_URI and install them to
-# ${D}${datadir}/opkg/keyrings/ in a do_install_append function. These
+# ${D}${datadir}/opkg/keyrings/ in a do_install:append function. These
# files should not be named 'key-$name.gpg' to ensure they don't conflict
# with keys exported as per (2).
#
@@ -30,12 +30,12 @@ do_install () {
done
}
-FILES_${PN} = "${datadir}/opkg/keyrings"
+FILES:${PN} = "${datadir}/opkg/keyrings"
# We need 'opkg-key' to run the postinst script
-RDEPENDS_${PN} = "opkg"
+RDEPENDS:${PN} = "opkg"
-pkg_postinst_ontarget_${PN} () {
+pkg_postinst_ontarget:${PN} () {
if test -x ${bindir}/opkg-key
then
${bindir}/opkg-key populate
diff --git a/meta/recipes-devtools/opkg/opkg/0001-libopkg-Use-libgen.h-to-provide-basename-API.patch b/meta/recipes-devtools/opkg/opkg/0001-libopkg-Use-libgen.h-to-provide-basename-API.patch
new file mode 100644
index 0000000000..61581e752b
--- /dev/null
+++ b/meta/recipes-devtools/opkg/opkg/0001-libopkg-Use-libgen.h-to-provide-basename-API.patch
@@ -0,0 +1,62 @@
+From 7a1c13a48cf020c40dda1721d5c2ffd95e8e669a Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Sun, 10 Dec 2023 19:39:29 -0800
+Subject: [PATCH v2] libopkg: Use libgen.h to provide basename API
+
+Also ensure that copy of filename is passed into archive_entry_set_pathname
+so it can be operated upon by posix basename which expect non-const
+character pointer as input.
+
+This became evident with latest musl where basename declaration was
+dropped from string.h [1]
+
+[1] https://git.musl-libc.org/cgit/musl/commit/?id=725e17ed6dff4d0cd22487bb64470881e86a92e7
+
+Upstream-Status: Backport [74fc3a991f974095644897d18d43846b5f359dae]
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+v2: Do not override basename wholesale
+
+ libopkg/opkg_archive.c | 6 ++++--
+ libopkg/opkg_remove.c | 1 +
+ 2 files changed, 5 insertions(+), 2 deletions(-)
+
+diff --git a/libopkg/opkg_archive.c b/libopkg/opkg_archive.c
+index 03a4afb..b099f5b 100644
+--- a/libopkg/opkg_archive.c
++++ b/libopkg/opkg_archive.c
+@@ -20,6 +20,7 @@
+
+ #include <archive.h>
+ #include <archive_entry.h>
++#include <libgen.h>
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <string.h>
+@@ -797,8 +798,9 @@ int gz_write_archive(const char *filename, const char *gz_filename)
+ }
+
+ /* Remove path hierarchy, as we are only compressing a single file */
+- archive_entry_set_pathname(entry, basename(filename));
+-
++ char* tmp = xstrdup(filename);
++ archive_entry_set_pathname(entry, basename(tmp));
++ free(tmp);
+ r = archive_write_header(a, entry);
+ if (r != ARCHIVE_OK) {
+ opkg_msg(ERROR, "Failed to create compressed file: '%s' : %s (errno=%d)",
+diff --git a/libopkg/opkg_remove.c b/libopkg/opkg_remove.c
+index 889c672..5254388 100644
+--- a/libopkg/opkg_remove.c
++++ b/libopkg/opkg_remove.c
+@@ -20,6 +20,7 @@
+
+ #include "config.h"
+
++#include <libgen.h>
+ #include <stdio.h>
+ #include <glob.h>
+ #include <unistd.h>
+--
+2.43.0
+
diff --git a/meta/recipes-devtools/opkg/opkg_0.4.3.bb b/meta/recipes-devtools/opkg/opkg_0.4.3.bb
deleted file mode 100644
index 46b7aa2523..0000000000
--- a/meta/recipes-devtools/opkg/opkg_0.4.3.bb
+++ /dev/null
@@ -1,74 +0,0 @@
-SUMMARY = "Open Package Manager"
-SUMMARY_libopkg = "Open Package Manager library"
-SECTION = "base"
-HOMEPAGE = "http://code.google.com/p/opkg/"
-BUGTRACKER = "http://code.google.com/p/opkg/issues/list"
-LICENSE = "GPLv2+"
-LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
- file://src/opkg.c;beginline=4;endline=18;md5=d6200b0f2b41dee278aa5fad333eecae"
-
-DEPENDS = "libarchive"
-
-PE = "1"
-
-SRC_URI = "http://downloads.yoctoproject.org/releases/${BPN}/${BPN}-${PV}.tar.gz \
- file://opkg.conf \
- file://0001-opkg_conf-create-opkg.lock-in-run-instead-of-var-run.patch \
- file://run-ptest \
-"
-
-SRC_URI[md5sum] = "86ec5eee9362aca0990994a402e077e9"
-SRC_URI[sha256sum] = "dda452854bc0cd1334f7ba18a66003d1c12a98600c894111b56919b1ea434718"
-
-# This needs to be before ptest inherit, otherwise all ptest files end packaged
-# in libopkg package if OPKGLIBDIR == libdir, because default
-# PTEST_PATH ?= "${libdir}/${BPN}/ptest"
-PACKAGES =+ "libopkg"
-
-inherit autotools pkgconfig ptest
-
-target_localstatedir := "${localstatedir}"
-OPKGLIBDIR ??= "${target_localstatedir}/lib"
-
-PACKAGECONFIG ??= "libsolv"
-
-PACKAGECONFIG[gpg] = "--enable-gpg,--disable-gpg,\
- gnupg gpgme libgpg-error,\
- ${@ "gnupg" if ("native" in d.getVar("PN")) else "gnupg-gpg"}\
- "
-PACKAGECONFIG[curl] = "--enable-curl,--disable-curl,curl"
-PACKAGECONFIG[ssl-curl] = "--enable-ssl-curl,--disable-ssl-curl,curl openssl"
-PACKAGECONFIG[openssl] = "--enable-openssl,--disable-openssl,openssl"
-PACKAGECONFIG[sha256] = "--enable-sha256,--disable-sha256"
-PACKAGECONFIG[libsolv] = "--with-libsolv,--without-libsolv,libsolv"
-
-EXTRA_OECONF += " --disable-pathfinder"
-EXTRA_OECONF_class-native = "--localstatedir=/${@os.path.relpath('${localstatedir}', '${STAGING_DIR_NATIVE}')} --sysconfdir=/${@os.path.relpath('${sysconfdir}', '${STAGING_DIR_NATIVE}')}"
-
-do_install_append () {
- install -d ${D}${sysconfdir}/opkg
- install -m 0644 ${WORKDIR}/opkg.conf ${D}${sysconfdir}/opkg/opkg.conf
- echo "option lists_dir ${OPKGLIBDIR}/opkg/lists" >>${D}${sysconfdir}/opkg/opkg.conf
-
- # We need to create the lock directory
- install -d ${D}${OPKGLIBDIR}/opkg
-}
-
-do_install_ptest () {
- sed -i -e '/@echo $^/d' ${D}${PTEST_PATH}/tests/Makefile
- sed -i -e '/@PYTHONPATH=. $(PYTHON) $^/a\\t@if [ "$$?" != "0" ];then echo "FAIL:"$^;else echo "PASS:"$^;fi' ${D}${PTEST_PATH}/tests/Makefile
-}
-
-RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_update-alternatives} opkg-arch-config libarchive"
-RDEPENDS_${PN}_class-native = ""
-RDEPENDS_${PN}_class-nativesdk = ""
-RDEPENDS_${PN}-ptest += "make binutils python3-core python3-compression"
-RREPLACES_${PN} = "opkg-nogpg opkg-collateral"
-RCONFLICTS_${PN} = "opkg-collateral"
-RPROVIDES_${PN} = "opkg-collateral"
-
-FILES_libopkg = "${libdir}/*.so.* ${OPKGLIBDIR}/opkg/"
-
-BBCLASSEXTEND = "native nativesdk"
-
-CONFFILES_${PN} = "${sysconfdir}/opkg/opkg.conf"
diff --git a/meta/recipes-devtools/opkg/opkg_0.6.3.bb b/meta/recipes-devtools/opkg/opkg_0.6.3.bb
new file mode 100644
index 0000000000..ef7c4f3a72
--- /dev/null
+++ b/meta/recipes-devtools/opkg/opkg_0.6.3.bb
@@ -0,0 +1,85 @@
+SUMMARY = "Open Package Manager"
+SUMMARY:libopkg = "Open Package Manager library"
+SECTION = "base"
+HOMEPAGE = "https://git.yoctoproject.org/opkg/"
+DESCRIPTION = "Opkg is a lightweight package management system based on Ipkg."
+BUGTRACKER = "https://bugzilla.yoctoproject.org/buglist.cgi?quicksearch=Product%3Aopkg"
+LICENSE = "GPL-2.0-or-later"
+LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
+ file://src/opkg.c;beginline=4;endline=18;md5=d6200b0f2b41dee278aa5fad333eecae"
+
+DEPENDS = "libarchive zstd"
+
+PE = "1"
+
+SRC_URI = "http://downloads.yoctoproject.org/releases/${BPN}/${BPN}-${PV}.tar.gz \
+ file://opkg.conf \
+ file://0001-opkg_conf-create-opkg.lock-in-run-instead-of-var-run.patch \
+ file://0001-libopkg-Use-libgen.h-to-provide-basename-API.patch \
+ file://run-ptest \
+ "
+
+SRC_URI[sha256sum] = "f3938e359646b406c40d5d442a1467c7e72357f91ab822e442697529641e06de"
+
+# This needs to be before ptest inherit, otherwise all ptest files end packaged
+# in libopkg package if OPKGLIBDIR == libdir, because default
+# PTEST_PATH ?= "${libdir}/${BPN}/ptest"
+PACKAGES =+ "libopkg"
+
+inherit autotools pkgconfig ptest
+
+target_localstatedir := "${localstatedir}"
+OPKGLIBDIR ??= "${target_localstatedir}/lib"
+
+PACKAGECONFIG ??= "libsolv"
+
+PACKAGECONFIG[gpg] = "--enable-gpg,--disable-gpg,\
+ gnupg gpgme libgpg-error,\
+ ${@ "gnupg" if ("native" in d.getVar("PN")) else "gnupg-gpg"}\
+ "
+PACKAGECONFIG[curl] = "--enable-curl,--disable-curl,curl"
+PACKAGECONFIG[ssl-curl] = "--enable-ssl-curl,--disable-ssl-curl,curl openssl"
+PACKAGECONFIG[sha256] = "--enable-sha256,--disable-sha256"
+PACKAGECONFIG[libsolv] = "--with-libsolv,--without-libsolv,libsolv"
+
+EXTRA_OECONF = "--enable-zstd"
+EXTRA_OECONF:append:class-native = " --localstatedir=/${@os.path.relpath('${localstatedir}', '${STAGING_DIR_NATIVE}')} --sysconfdir=/${@os.path.relpath('${sysconfdir}', '${STAGING_DIR_NATIVE}')}"
+
+do_install:append () {
+ install -d ${D}${sysconfdir}/opkg
+ install -m 0644 ${UNPACKDIR}/opkg.conf ${D}${sysconfdir}/opkg/opkg.conf
+ echo "option lists_dir ${OPKGLIBDIR}/opkg/lists" >>${D}${sysconfdir}/opkg/opkg.conf
+ echo "option info_dir ${OPKGLIBDIR}/opkg/info" >>${D}${sysconfdir}/opkg/opkg.conf
+ echo "option status_file ${OPKGLIBDIR}/opkg/status" >>${D}${sysconfdir}/opkg/opkg.conf
+
+ # We need to create the lock directory
+ install -d ${D}${OPKGLIBDIR}/opkg
+}
+
+do_install_ptest () {
+ sed -i -e '/@echo $^/d' ${D}${PTEST_PATH}/tests/Makefile
+ sed -i -e '/@PYTHONPATH=. $(PYTHON) $^/a\\t@if [ "$$?" != "0" ];then echo "FAIL:"$^;else echo "PASS:"$^;fi' ${D}${PTEST_PATH}/tests/Makefile
+}
+
+WARN_QA:append = " internal-solver-deprecation"
+QARECIPETEST[internal-solver-deprecation] = "qa_check_solver_deprecation"
+def qa_check_solver_deprecation (pn, d, messages):
+ pkgconfig = (d.getVar("PACKAGECONFIG") or "").split()
+
+ if "libsolv" not in pkgconfig:
+ oe.qa.handle_error("internal-solver-deprecation", "The opkg internal solver will be deprecated in future opkg releases. Consider enabling \"libsolv\" in PACKAGECONFIG.", d)
+
+
+RDEPENDS:${PN} = "${VIRTUAL-RUNTIME_update-alternatives} opkg-arch-config libarchive"
+RDEPENDS:${PN}:class-native = ""
+RDEPENDS:${PN}:class-nativesdk = ""
+RDEPENDS:${PN}-ptest += "make binutils python3-core python3-compression bash python3-crypt python3-io"
+RREPLACES:${PN} = "opkg-nogpg opkg-collateral"
+RCONFLICTS:${PN} = "opkg-collateral"
+RPROVIDES:${PN} = "opkg-collateral"
+
+FILES:libopkg = "${libdir}/*.so.* ${OPKGLIBDIR}/opkg/"
+
+BBCLASSEXTEND = "native nativesdk"
+
+CONFFILES:${PN} = "${sysconfdir}/opkg/opkg.conf"
diff --git a/meta/recipes-devtools/orc/orc_0.4.32.bb b/meta/recipes-devtools/orc/orc_0.4.38.bb
index a55b43b8ef..5d2296694a 100644
--- a/meta/recipes-devtools/orc/orc_0.4.32.bb
+++ b/meta/recipes-devtools/orc/orc_0.4.38.bb
@@ -1,10 +1,11 @@
SUMMARY = "Optimised Inner Loop Runtime Compiler"
HOMEPAGE = "http://gstreamer.freedesktop.org/modules/orc.html"
+DESCRIPTION = "Optimised Inner Loop Runtime Compiler is a Library and set of tools for compiling and executing SIMD assembly language-like programs that operate on arrays of data."
LICENSE = "BSD-2-Clause & BSD-3-Clause"
LIC_FILES_CHKSUM = "file://COPYING;md5=1400bd9d09e8af56b9ec982b3d85797e"
SRC_URI = "http://gstreamer.freedesktop.org/src/orc/orc-${PV}.tar.xz"
-SRC_URI[sha256sum] = "a66e3d8f2b7e65178d786a01ef61f2a0a0b4d0b8370de7ce134ba73da4af18f0"
+SRC_URI[sha256sum] = "a55a98d4772567aa3faed8fb84d540c3db77eaba16d3e2e10b044fbc9228668d"
inherit meson pkgconfig gtk-doc
@@ -16,14 +17,14 @@ BBCLASSEXTEND = "native nativesdk"
PACKAGES =+ "orc-examples"
PACKAGES_DYNAMIC += "^liborc-.*"
-FILES_orc-examples = "${libdir}/orc/*"
-FILES_${PN} = "${bindir}/*"
+FILES:orc-examples = "${libdir}/orc/*"
+FILES:${PN} = "${bindir}/*"
-python populate_packages_prepend () {
+python populate_packages:prepend () {
libdir = d.expand('${libdir}')
do_split_packages(d, libdir, r'^lib(.*)\.so\.*', 'lib%s', 'ORC %s library', extra_depends='', allow_links=True)
}
-do_compile_prepend_class-native () {
+do_compile:prepend:class-native () {
sed -i -e 's#/tmp#.#g' ${S}/orc/orccodemem.c
}
diff --git a/meta/recipes-devtools/patch/patch.inc b/meta/recipes-devtools/patch/patch.inc
index cbfb8cfcf5..a12d426b2c 100644
--- a/meta/recipes-devtools/patch/patch.inc
+++ b/meta/recipes-devtools/patch/patch.inc
@@ -10,5 +10,5 @@ S = "${WORKDIR}/patch-${PV}"
inherit autotools update-alternatives
-ALTERNATIVE_${PN} = "patch"
+ALTERNATIVE:${PN} = "patch"
ALTERNATIVE_PRIORITY = "100"
diff --git a/meta/recipes-devtools/patch/patch/CVE-2019-13636.patch b/meta/recipes-devtools/patch/patch/CVE-2019-13636.patch
index 9f8b6db0b9..8059d9fe19 100644
--- a/meta/recipes-devtools/patch/patch/CVE-2019-13636.patch
+++ b/meta/recipes-devtools/patch/patch/CVE-2019-13636.patch
@@ -11,7 +11,7 @@ that consistently for input files.
with O_CREAT | O_EXCL to avoid following symlinks in that case as well.
CVE: CVE-2019-13636
-Upstream-Status: Backport[https://git.savannah.gnu.org/cgit/patch.git/patch/?id=dce4683cbbe107a95f1f0d45fabc304acfb5d71a]
+Upstream-Status: Backport [https://git.savannah.gnu.org/cgit/patch.git/patch/?id=dce4683cbbe107a95f1f0d45fabc304acfb5d71a]
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
---
diff --git a/meta/recipes-devtools/patch/patch/CVE-2019-20633.patch b/meta/recipes-devtools/patch/patch/CVE-2019-20633.patch
new file mode 100644
index 0000000000..9b2c07cf1e
--- /dev/null
+++ b/meta/recipes-devtools/patch/patch/CVE-2019-20633.patch
@@ -0,0 +1,31 @@
+From 15b158db3ae11cb835f2eb8d2eb48e09d1a4af48 Mon Sep 17 00:00:00 2001
+From: Andreas Gruenbacher <agruen@gnu.org>
+Date: Mon, 15 Jul 2019 19:10:02 +0200
+Subject: Avoid invalid memory access in context format diffs
+
+* src/pch.c (another_hunk): Avoid invalid memory access in context format
+diffs.
+
+CVE: CVE-2019-20633
+Upstream-Status: Backport [https://git.savannah.gnu.org/cgit/patch.git/patch/?id=15b158db3ae11cb835f2eb8d2eb48e09d1a4af48]
+Signed-off-by: Scott Murray <scott.murray@konsulko.com>
+
+---
+ src/pch.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/pch.c b/src/pch.c
+index a500ad9..cb54e03 100644
+--- a/src/pch.c
++++ b/src/pch.c
+@@ -1328,6 +1328,7 @@ another_hunk (enum diff difftype, bool rev)
+ ptrn_prefix_context = context;
+ ptrn_suffix_context = context;
+ if (repl_beginning
++ || p_end <= 0
+ || (p_end
+ != p_ptrn_lines + 1 + (p_Char[p_end - 1] == '\n')))
+ {
+--
+cgit v1.2.1
+
diff --git a/meta/recipes-devtools/patch/patch_2.7.6.bb b/meta/recipes-devtools/patch/patch_2.7.6.bb
index b5897b357a..e0e44f9c97 100644
--- a/meta/recipes-devtools/patch/patch_2.7.6.bb
+++ b/meta/recipes-devtools/patch/patch_2.7.6.bb
@@ -1,5 +1,5 @@
require patch.inc
-LICENSE = "GPLv3"
+LICENSE = "GPL-3.0-only"
SRC_URI += "file://0001-Unset-need_charset_alias-when-building-for-musl.patch \
file://0002-Fix-segfault-with-mangled-rename-patch.patch \
@@ -10,6 +10,7 @@ SRC_URI += "file://0001-Unset-need_charset_alias-when-building-for-musl.patch \
file://0001-Invoke-ed-directly-instead-of-using-the-shell.patch \
file://0001-Don-t-leak-temporary-file-on-failed-ed-style-patch.patch \
file://0001-Don-t-leak-temporary-file-on-failed-multi-file-ed.patch \
+ file://CVE-2019-20633.patch \
"
SRC_URI[md5sum] = "4c68cee989d83c87b00a3860bcd05600"
@@ -22,6 +23,6 @@ acpaths = "-I ${S}/m4 "
PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'xattr', d)}"
PACKAGECONFIG[xattr] = "--enable-xattr,--disable-xattr,attr,"
-PROVIDES_append_class-native = " patch-replacement-native"
+PROVIDES:append:class-native = " patch-replacement-native"
BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/patchelf/patchelf/0001-Set-interpreter-only-when-necessary.patch b/meta/recipes-devtools/patchelf/patchelf/0001-Set-interpreter-only-when-necessary.patch
new file mode 100644
index 0000000000..9a8216b3fe
--- /dev/null
+++ b/meta/recipes-devtools/patchelf/patchelf/0001-Set-interpreter-only-when-necessary.patch
@@ -0,0 +1,31 @@
+From f5df94952e87eaa390e5c845bc48fdb3dbc31cc2 Mon Sep 17 00:00:00 2001
+From: Yuta Hayama <hayama@lineo.co.jp>
+Date: Fri, 21 Jul 2023 10:47:02 +0900
+Subject: [PATCH] Set interpreter only when necessary
+
+If the given interpreter is already set, nothing needs to be done.
+As with modifySoname(), it skips unnecessary processing.
+
+Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
+---
+Upstream-Status: Submitted [https://github.com/NixOS/patchelf/pull/508]
+
+ src/patchelf.cc | 5 +++++
+ 1 file changed, 5 insertions(+)
+
+diff --git a/src/patchelf.cc b/src/patchelf.cc
+index 86429c4..e562c49 100644
+--- a/src/patchelf.cc
++++ b/src/patchelf.cc
+@@ -1460,6 +1460,11 @@ void ElfFile<ElfFileParamNames>::modifySoname(sonameMode op, const std::string &
+ template<ElfFileParams>
+ void ElfFile<ElfFileParamNames>::setInterpreter(const std::string & newInterpreter)
+ {
++ if (getInterpreter() == newInterpreter) {
++ debug("given interpreter is already set\n");
++ return;
++ }
++
+ std::string & section = replaceSection(".interp", newInterpreter.size() + 1);
+ setSubstr(section, 0, newInterpreter + '\0');
+ changed = true;
diff --git a/meta/recipes-devtools/patchelf/patchelf/0002-align-startOffset-with-p_align-instead-of-pagesize-f.patch b/meta/recipes-devtools/patchelf/patchelf/0002-align-startOffset-with-p_align-instead-of-pagesize-f.patch
new file mode 100644
index 0000000000..7906f0f73b
--- /dev/null
+++ b/meta/recipes-devtools/patchelf/patchelf/0002-align-startOffset-with-p_align-instead-of-pagesize-f.patch
@@ -0,0 +1,42 @@
+From 1198329b922f3cdddc3e87a7c81d7730b646c088 Mon Sep 17 00:00:00 2001
+From: Yuta Hayama <hayama@lineo.co.jp>
+Date: Fri, 28 Jul 2023 16:22:31 +0900
+Subject: [PATCH] align startOffset with p_align instead of pagesize for
+ compatibility
+
+According to the ELF specification, the alignment of loadable process segments
+should satisfy (p_vaddr mod pagesize) == (p_offset mod pagesize). However,
+glibc earlier than 2.35 incorrectly requires that the LOAD segment be (p_vaddr
+mod p_align) == (p_offset mod p_align), and will output the error message
+"ELF load command address/offset not properly aligned" if this is not met.
+
+Since there are many systems that use glibc earlier than 2.35, it is preferable
+that newly added LOAD segments satisfy (p_vaddr mod p_align) == (p_offset mod
+p_align) for compatibility.
+
+Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
+---
+Upstream-Status: Submitted [https://github.com/NixOS/patchelf/pull/510]
+
+ src/patchelf.cc | 8 +++++++-
+ 1 file changed, 7 insertions(+), 1 deletion(-)
+
+diff --git a/src/patchelf.cc b/src/patchelf.cc
+index 82b4b46..6edb81a 100644
+--- a/src/patchelf.cc
++++ b/src/patchelf.cc
+@@ -843,7 +843,13 @@ void ElfFile<ElfFileParamNames>::rewriteSectionsLibrary()
+ neededSpace += headerTableSpace;
+ debug("needed space is %d\n", neededSpace);
+
+- Elf_Off startOffset = roundUp(fileContents->size(), getPageSize());
++ /* glibc earlier than 2.35 requires that the LOAD segment satisfies
++ (p_vaddr mod p_align) == (p_offset mod p_align).
++ The ELF specification requires that loadable process segments satisfy
++ (p_vaddr mod pagesize) == (p_offset mod pagesize), so glibc is probably
++ wrong, but here startOffset is calculated according to p_align for
++ compatibility. */
++ Elf_Off startOffset = roundUp(fileContents->size(), alignStartPage);
+
+ // In older version of binutils (2.30), readelf would check if the dynamic
+ // section segment is strictly smaller than the file (and not same size).
diff --git a/meta/recipes-devtools/patchelf/patchelf/0003-make-LOAD-segment-extensions-based-on-p_align-instea.patch b/meta/recipes-devtools/patchelf/patchelf/0003-make-LOAD-segment-extensions-based-on-p_align-instea.patch
new file mode 100644
index 0000000000..37eaf992d8
--- /dev/null
+++ b/meta/recipes-devtools/patchelf/patchelf/0003-make-LOAD-segment-extensions-based-on-p_align-instea.patch
@@ -0,0 +1,32 @@
+From 299ad5766921d593e11a42a8e4dec55b4b350876 Mon Sep 17 00:00:00 2001
+From: Yuta Hayama <hayama@lineo.co.jp>
+Date: Mon, 31 Jul 2023 11:58:49 +0900
+Subject: [PATCH] make LOAD segment extensions based on p_align instead of
+ pagesize
+
+Since the p_align of the LOAD segment is no longer pagesize, the actual p_align
+value is used to calculate for the LOAD segment extension.
+
+If calculated with pagesize, new LOAD segment may be added even though the
+existing LOAD segment can be extended.
+
+Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
+---
+Upstream-Status: Submitted [https://github.com/NixOS/patchelf/pull/510]
+
+ src/patchelf.cc | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/patchelf.cc b/src/patchelf.cc
+index 6edb81a..86429c4 100644
+--- a/src/patchelf.cc
++++ b/src/patchelf.cc
+@@ -885,7 +885,7 @@ void ElfFile<ElfFileParamNames>::rewriteSectionsLibrary()
+ rdi(lastSeg.p_type) == PT_LOAD &&
+ rdi(lastSeg.p_flags) == (PF_R | PF_W) &&
+ rdi(lastSeg.p_align) == alignStartPage) {
+- auto segEnd = roundUp(rdi(lastSeg.p_offset) + rdi(lastSeg.p_memsz), getPageSize());
++ auto segEnd = roundUp(rdi(lastSeg.p_offset) + rdi(lastSeg.p_memsz), alignStartPage);
+ if (segEnd == startOffset) {
+ auto newSz = startOffset + neededSpace - rdi(lastSeg.p_offset);
+ wri(lastSeg.p_filesz, wri(lastSeg.p_memsz, newSz));
diff --git a/meta/recipes-devtools/patchelf/patchelf/handle-read-only-files.patch b/meta/recipes-devtools/patchelf/patchelf/handle-read-only-files.patch
deleted file mode 100644
index bf721c1af8..0000000000
--- a/meta/recipes-devtools/patchelf/patchelf/handle-read-only-files.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-From 7f1fd10cfebd5ea2f3e1938abe1bd1c4828164a7 Mon Sep 17 00:00:00 2001
-From: Fabio Berton <fabio.berton@ossystems.com.br>
-Date: Fri, 9 Sep 2016 16:00:42 -0300
-Subject: [PATCH] handle read-only files
-
-Patch from:
-https://github.com/darealshinji/patchelf/commit/40e66392bc4b96e9b4eda496827d26348a503509
-
-Upstream-Status: Denied [https://github.com/NixOS/patchelf/pull/89]
-
-Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
-
----
- src/patchelf.cc | 16 +++++++++++++++-
- 1 file changed, 15 insertions(+), 1 deletion(-)
-
-Index: git/src/patchelf.cc
-===================================================================
---- git.orig/src/patchelf.cc
-+++ git/src/patchelf.cc
-@@ -499,9 +499,19 @@ void ElfFile<ElfFileParamNames>::sortShd
-
- static void writeFile(std::string fileName, FileContents contents)
- {
-+ struct stat st;
-+ int fd;
-+
- debug("writing %s\n", fileName.c_str());
-
-- int fd = open(fileName.c_str(), O_CREAT | O_TRUNC | O_WRONLY, 0777);
-+ if (stat(fileName.c_str(), &st) != 0)
-+ error("stat");
-+
-+ if (chmod(fileName.c_str(), 0600) != 0)
-+ error("chmod");
-+
-+ fd = open(fileName.c_str(), O_CREAT | O_TRUNC | O_WRONLY, 0777);
-+
- if (fd == -1)
- error("open");
-
-@@ -515,6 +525,10 @@ static void writeFile(std::string fileNa
-
- if (close(fd) != 0)
- error("close");
-+
-+ if (chmod(fileName.c_str(), st.st_mode) != 0)
-+ error("chmod");
-+
- }
-
-
diff --git a/meta/recipes-devtools/patchelf/patchelf_0.12.bb b/meta/recipes-devtools/patchelf/patchelf_0.12.bb
deleted file mode 100644
index 43de90877c..0000000000
--- a/meta/recipes-devtools/patchelf/patchelf_0.12.bb
+++ /dev/null
@@ -1,16 +0,0 @@
-SRC_URI = "git://github.com/NixOS/patchelf;protocol=https \
- file://handle-read-only-files.patch \
- "
-
-LICENSE = "GPLv3"
-SUMMARY = "Tool to allow editing of RPATH and interpreter fields in ELF binaries"
-
-SRCREV = "8d3a16e97294e3c5521c61b4c8835499c9918264"
-
-S = "${WORKDIR}/git"
-
-LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
-
-inherit autotools
-
-BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/patchelf/patchelf_0.18.0.bb b/meta/recipes-devtools/patchelf/patchelf_0.18.0.bb
new file mode 100644
index 0000000000..dece34240c
--- /dev/null
+++ b/meta/recipes-devtools/patchelf/patchelf_0.18.0.bb
@@ -0,0 +1,23 @@
+SUMMARY = "Tool to allow editing of RPATH and interpreter fields in ELF binaries"
+DESCRIPTION = "PatchELF is a simple utility for modifying existing ELF executables and libraries."
+HOMEPAGE = "https://github.com/NixOS/patchelf"
+
+LICENSE = "GPL-3.0-only"
+
+SRC_URI = "git://github.com/NixOS/patchelf;protocol=https;branch=master \
+ file://0001-Set-interpreter-only-when-necessary.patch \
+ file://0002-align-startOffset-with-p_align-instead-of-pagesize-f.patch \
+ file://0003-make-LOAD-segment-extensions-based-on-p_align-instea.patch \
+"
+SRCREV = "99c24238981b7b1084313aca8f5c493bb46f302c"
+
+S = "${WORKDIR}/git"
+
+LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
+
+inherit autotools
+
+PACKAGES += "${PN}-zsh-completion"
+FILES:${PN}-zsh-completion = "${datadir}/zsh"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/perl-cross/files/0001-Makefile-check-the-file-if-patched-or-not.patch b/meta/recipes-devtools/perl-cross/files/0001-Makefile-check-the-file-if-patched-or-not.patch
new file mode 100644
index 0000000000..4e9153ebf1
--- /dev/null
+++ b/meta/recipes-devtools/perl-cross/files/0001-Makefile-check-the-file-if-patched-or-not.patch
@@ -0,0 +1,29 @@
+From 3eb33dce6e3c93e1b3efcc9649f871100adada30 Mon Sep 17 00:00:00 2001
+From: Mingli Yu <mingli.yu@windriver.com>
+Date: Fri, 2 Jul 2021 09:08:21 +0000
+Subject: [PATCH] Makefile: check the file if patched or not
+
+Check the file if patched or not to avoid patched more than
+one time.
+
+Upstream-Status: Inappropriate (OE-specific)
+
+Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
+
+---
+ Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile b/Makefile
+index c6d6042..d137976 100644
+--- a/Makefile
++++ b/Makefile
+@@ -67,7 +67,7 @@ miniperlmain$O: $(CROSSPATCHED)
+ # Original versions are not saved anymore; patch generally takes care of this,
+ # and if that fails, reaching for the source tarball is the safest option.
+ $(CROSSPATCHED): %.applied: %.patch
+- $(cpatch) -p1 -i $< && touch $@
++ test ! -f $@ && ($(cpatch) -p1 -i $< && touch $@) || echo "$@ exist"
+
+ # ---[ common ]-----------------------------------------------------------------
+
diff --git a/meta/recipes-devtools/perl/files/0001-perl-cross-add-LDFLAGS-when-linking-libperl.patch b/meta/recipes-devtools/perl-cross/files/0001-perl-cross-add-LDFLAGS-when-linking-libperl.patch
index e7985036a0..6c3f08c432 100644
--- a/meta/recipes-devtools/perl/files/0001-perl-cross-add-LDFLAGS-when-linking-libperl.patch
+++ b/meta/recipes-devtools/perl-cross/files/0001-perl-cross-add-LDFLAGS-when-linking-libperl.patch
@@ -3,7 +3,7 @@ From: Alexander Kanavin <alex.kanavin@gmail.com>
Date: Tue, 27 Nov 2018 15:37:40 +0100
Subject: [PATCH] perl-cross: add LDFLAGS when linking libperl
-Upstream-Status: Pending
+Upstream-Status: Submitted [https://github.com/arsv/perl-cross/pull/122]
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
Makefile | 2 +-
diff --git a/meta/recipes-devtools/perl-cross/files/README.md b/meta/recipes-devtools/perl-cross/files/README.md
new file mode 100644
index 0000000000..93217245c8
--- /dev/null
+++ b/meta/recipes-devtools/perl-cross/files/README.md
@@ -0,0 +1,29 @@
+**perl-cross** provides configure script, top-level Makefile
+and some auxiliary files for [perl](http://www.perl.org),
+with the primary emphasis on cross-compiling the source.
+
+ # Get perl and perl-cross sources
+ curl -L -O http://www.cpan.org/src/5.0/perl-5.24.1.tar.gz
+ curl -L -O https://github.com/arsv/perl-cross/releases/download/1.1.3/perl-cross-1.1.3.tar.gz
+
+ # Unpack perl-cross over perl, overwriting Makefile
+ tar -zxf perl-5.24.1.tar.gz
+ cd perl-5.24.1
+ tar --strip-components=1 -zxf ../perl-cross-1.1.3.tar.gz
+
+ # Proceed as usual with most autoconfed packages
+ ./configure --target=arm-linux-gnueabi --prefix=/usr -Duseshrplib
+ make -j4
+ make DESTDIR=/path/to/staging/dir install
+
+Unlike mainline Perl, this configure never runs any target executables,
+relying solely on compile/link tests and pre-defined hints.
+On the flip side, it is only meant to run on resonably sane modern unix systems.
+
+Check [project pages](http://arsv.github.io/perl-cross/) for more info.
+In particular, [configure usage](http://arsv.github.io/perl-cross/usage.html)
+lists available configure options.
+
+Perl-cross is a free software licensed under the same terms
+as the original perl source.
+See LICENSE, Copying and Artistic files.
diff --git a/meta/recipes-devtools/perl-cross/files/determinism.patch b/meta/recipes-devtools/perl-cross/files/determinism.patch
new file mode 100644
index 0000000000..e9bf752bcb
--- /dev/null
+++ b/meta/recipes-devtools/perl-cross/files/determinism.patch
@@ -0,0 +1,46 @@
+Fixes to make the perl build reproducible:
+
+a) Remove the \n from configure_attr.sh since it gets quoted differently depending on
+ whether the shell is bash or dash which can cause the test result to be incorrect.
+ Reported upstream: https://github.com/arsv/perl-cross/issues/87
+
+b) Sort the order of the module lists from configure_mods.sh since otherwise
+ the result isn't the same leading to makefile differences.
+ Reported upstream: https://github.com/arsv/perl-cross/issues/88
+
+c) Sort the Encode::Byte byte_t.fnm file output (and the makefile depends whilst
+ there for good measure)
+ This needs to go to upstream perl (not done)
+
+d) Use bash for perl-cross configure since otherwise trnl gets set to "\n" with bash
+ and "" with dash
+ Reported upstream: https://github.com/arsv/perl-cross/issues/87
+
+RP 2020/2/7
+
+Upstream-Status: Pending [75% submitted]
+Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org
+
+Index: perl-5.30.1/cnf/configure_mods.sh
+===================================================================
+--- perl-5.30.1.orig/cnf/configure_mods.sh
++++ perl-5.30.1/cnf/configure_mods.sh
+@@ -82,7 +82,7 @@ extonlyif() {
+ }
+
+ definetrimspaces() {
+- v=`echo "$2" | sed -r -e 's/\s+/ /g' -e 's/^\s+//' -e 's/\s+$//'`
++ v=`echo "$2" | sed -r -e 's/\s+/ /g' -e 's/^\s+//' -e 's/\s+$//' | xargs -n1 | LANG=C sort | xargs`
+ define $1 "$v"
+ }
+
+Index: perl-5.30.1/cnf/configure
+===================================================================
+--- perl-5.30.1.orig/cnf/configure
++++ perl-5.30.1/cnf/configure
+@@ -1,4 +1,4 @@
+-#!/bin/sh
++#!/bin/bash
+
+ base=${0%/*}; test -z "$base" && base=.
+
diff --git a/meta/recipes-devtools/perl-cross/perlcross_1.5.2.bb b/meta/recipes-devtools/perl-cross/perlcross_1.5.2.bb
new file mode 100644
index 0000000000..48bda7e4b6
--- /dev/null
+++ b/meta/recipes-devtools/perl-cross/perlcross_1.5.2.bb
@@ -0,0 +1,38 @@
+SUMMARY = "Perl-cross build system"
+HOMEPAGE = "https://github.com/arsv/perl-cross"
+DESCRIPTION = "perl-cross provides configure script, top-level Makefile and some auxiliary files for perl, \
+with the primary emphasis on cross-compiling the source."
+SECTION = "devel"
+LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
+# README.md is taken from https://github.com/arsv/perl-cross/blob/master/README.md
+# but is not provided inside the release tarballs
+LIC_FILES_CHKSUM = "file://${UNPACKDIR}/README.md;md5=252fcce2026b765fee1ad74d2fb07a3b"
+
+inherit allarch github-releases
+
+SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/perl-cross-${PV}.tar.gz;name=perl-cross \
+ file://README.md \
+ file://0001-perl-cross-add-LDFLAGS-when-linking-libperl.patch \
+ file://determinism.patch \
+ file://0001-Makefile-check-the-file-if-patched-or-not.patch \
+ "
+GITHUB_BASE_URI = "https://github.com/arsv/perl-cross/releases/"
+
+SRC_URI[perl-cross.sha256sum] = "584dc54c48dca25e032b676a15bef377c1fed9de318b4fc140292a5dbf326e90"
+
+S = "${WORKDIR}/perl-cross-${PV}"
+
+do_configure () {
+}
+
+do_compile () {
+}
+
+do_install:class-native() {
+ mkdir -p ${D}/${datadir}/perl-cross/
+ cp -rf ${S}/* ${D}/${datadir}/perl-cross/
+ rm -rf ${D}/${datadir}/perl-cross/patches/
+}
+
+BBCLASSEXTEND = "native"
+
diff --git a/meta/recipes-devtools/perl/files/0001-CheckLib.pm-do-not-attempt-to-run-a-cross-executable.patch b/meta/recipes-devtools/perl/files/0001-CheckLib.pm-do-not-attempt-to-run-a-cross-executable.patch
deleted file mode 100644
index c5bbe7888e..0000000000
--- a/meta/recipes-devtools/perl/files/0001-CheckLib.pm-do-not-attempt-to-run-a-cross-executable.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From a033c9ece12b6eead48eed63f106ccdec6159b0c Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin <alex.kanavin@gmail.com>
-Date: Fri, 20 Dec 2019 16:26:55 +0100
-Subject: [PATCH] CheckLib.pm: do not attempt to run a cross executable
-
-Upstream-Status: Inappropriate [oe-core specific]
-Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
----
- inc/Devel/CheckLib.pm | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/inc/Devel/CheckLib.pm b/inc/Devel/CheckLib.pm
-index 36a451a..b04acc1 100644
---- a/inc/Devel/CheckLib.pm
-+++ b/inc/Devel/CheckLib.pm
-@@ -330,7 +330,7 @@ sub assert_lib {
- push @missing, $lib if $rv != 0 || !-x $exefile;
- my $absexefile = File::Spec->rel2abs($exefile);
- $absexefile = '"' . $absexefile . '"' if $absexefile =~ m/\s/;
-- push @wrongresult, $lib if $rv == 0 && -x $exefile && system($absexefile) != 0;
-+ push @wrongresult, $lib if $rv == 0 && -x $exefile && 0 != 0;
- unlink $ofile if -e $ofile;
- _cleanup_exe($exefile);
- }
diff --git a/meta/recipes-devtools/perl/files/0001-ExtUtils-MakeMaker-add-LDFLAGS-when-linking-binary-m.patch b/meta/recipes-devtools/perl/files/0001-ExtUtils-MakeMaker-add-LDFLAGS-when-linking-binary-m.patch
deleted file mode 100644
index 7d5c079b2d..0000000000
--- a/meta/recipes-devtools/perl/files/0001-ExtUtils-MakeMaker-add-LDFLAGS-when-linking-binary-m.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From 2f74a899474f428a4a5368a94accf801c5f97ae4 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin <alex.kanavin@gmail.com>
-Date: Mon, 4 Jun 2018 18:33:50 +0300
-Subject: [PATCH] ExtUtils-MakeMaker: add $(LDFLAGS) when linking binary
- modules
-
-Upstream-Status: Pending
-Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
-
----
- cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
-index fe53be1..249c048 100644
---- a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
-+++ b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
-@@ -1050,7 +1050,7 @@ sub xs_make_dynamic_lib {
- }
-
- push @m, sprintf <<'MAKE', $ld_run_path_shell, $ldrun, $dlsyms_arg, $ldfrom, $self->xs_obj_opt('$@'), $libs, $exportlist;
-- %s$(LD) %s $(LDDLFLAGS) %s %s $(OTHERLDFLAGS) %s $(MYEXTLIB) \
-+ %s$(LD) %s $(LDDLFLAGS) %s %s $(LDFLAGS) $(OTHERLDFLAGS) %s $(MYEXTLIB) \
- $(PERL_ARCHIVE) %s $(PERL_ARCHIVE_AFTER) %s \
- $(INST_DYNAMIC_FIX)
- $(CHMOD) $(PERM_RWX) $@
diff --git a/meta/recipes-devtools/perl/files/0001-Fix-intermittent-failure-of-test-t-op-sigsystem.t.patch b/meta/recipes-devtools/perl/files/0001-Fix-intermittent-failure-of-test-t-op-sigsystem.t.patch
new file mode 100644
index 0000000000..86fd42cd3d
--- /dev/null
+++ b/meta/recipes-devtools/perl/files/0001-Fix-intermittent-failure-of-test-t-op-sigsystem.t.patch
@@ -0,0 +1,77 @@
+From 75d974a58c461b3b5d35280e497810e46abae4ca Mon Sep 17 00:00:00 2001
+From: William Lyu <William.Lyu@windriver.com>
+Date: Wed, 4 Oct 2023 08:58:41 -0400
+Subject: [PATCH] Fix intermittent failure of test t/op/sigsystem.t
+
+[Perl issue #21546] -- https://github.com/Perl/perl5/issues/21546
+
+This fix addresses the intermittent failure of the test
+t/op/sigsystem.t by improving its robustness. Before the fix, this
+test waits a hard-coded amount of time in the parent process for the
+child process to exit, and the child process may not be able to exit
+soon enough. With this fix, the parent process in this test polls for
+whether the SIGCHLD handler reaped the child process for at most 25
+seconds.
+
+Upstream-Status: Backport [commit ID: 75d974a]
+
+Signed-off-by: William Lyu <William.Lyu@windriver.com>
+Signed-off-by: Randy MacLeod <randy.macleod@windriver.com>
+Reported-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
+
+Committer: William Lyu is now a Perl author.
+---
+ AUTHORS | 1 +
+ t/op/sigsystem.t | 17 ++++++++++++++---
+ 2 files changed, 15 insertions(+), 3 deletions(-)
+
+diff --git a/AUTHORS b/AUTHORS
+index 21948bfdc7..527dd992fd 100644
+--- a/AUTHORS
++++ b/AUTHORS
+@@ -1443,6 +1443,7 @@ Wayne Scott <wscott@ichips.intel.com>
+ Wayne Thompson <Wayne.Thompson@Ebay.sun.com>
+ Wilfredo Sánchez <wsanchez@mit.edu>
+ William J. Middleton <William.Middleton@oslo.mobil.telenor.no>
++William Lyu <William.Lyu@windriver.com>
+ William Mann <wmann@avici.com>
+ William Middleton <wmiddlet@adobe.com>
+ William R Ward <hermit@BayView.COM>
+diff --git a/t/op/sigsystem.t b/t/op/sigsystem.t
+index 25da854902..831feefb0f 100644
+--- a/t/op/sigsystem.t
++++ b/t/op/sigsystem.t
+@@ -37,7 +37,15 @@ SKIP: {
+ test_system('with reaper');
+
+ note("Waiting briefly for SIGCHLD...");
+- Time::HiRes::sleep(0.500);
++
++ # Wait at most 50 * 0.500 = 25.0 seconds for the child process to be
++ # reaped. If the child process exits and gets reaped early, this polling
++ # loop will exit early.
++
++ for (1..50) {
++ last if @pids;
++ Time::HiRes::sleep(0.500);
++ }
+
+ ok(@pids == 1, 'Reaped only one process');
+ ok($pids[0] == $pid, "Reaped the right process.") or diag(Dumper(\@pids));
+@@ -50,8 +58,11 @@ sub test_system {
+ my $got_zeroes = 0;
+
+ # This test is looking for a race between system()'s waitpid() and a
+- # signal handler. Looping a few times increases the chances of
+- # catching the error.
++ # signal handler. The system() call is expected to not interfere with the
++ # SIGCHLD signal handler. In particular, the wait() called within system()
++ # is expected to reap the child process forked by system() before the
++ # SIGCHLD signal handler is called.
++ # Looping a few times increases the chances of catching the error.
+
+ for (1..$expected_zeroes) {
+ $got_zeroes++ unless system(TRUE);
+--
+2.25.1
+
diff --git a/meta/recipes-devtools/perl/files/0001-configure_path.sh-do-not-hardcode-prefix-lib-as-libr.patch b/meta/recipes-devtools/perl/files/0001-configure_path.sh-do-not-hardcode-prefix-lib-as-libr.patch
deleted file mode 100644
index 3b0fc453e5..0000000000
--- a/meta/recipes-devtools/perl/files/0001-configure_path.sh-do-not-hardcode-prefix-lib-as-libr.patch
+++ /dev/null
@@ -1,69 +0,0 @@
-From 19c1987b455998d2959a5fdf3d1ed911d35e70f2 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin <alex.kanavin@gmail.com>
-Date: Wed, 2 Jan 2019 17:55:35 +0100
-Subject: [PATCH] configure_path.sh: do not hardcode $prefix/lib as library
- path
-
-Upstream-Status: Pending
-Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
-
----
- cnf/configure_args.sh | 2 +-
- cnf/configure_path.sh | 11 ++++++-----
- 2 files changed, 7 insertions(+), 6 deletions(-)
-
-diff --git a/cnf/configure_args.sh b/cnf/configure_args.sh
-index 29ca4f5..3297fb3 100644
---- a/cnf/configure_args.sh
-+++ b/cnf/configure_args.sh
-@@ -155,7 +155,7 @@ while [ $i -le $# -o -n "$n" ]; do
- help) mode="help" ;;
- regen|regenerate) mode="regen" ;;
- keeplog) defuser "$a" 1 ;;
-- prefix|html[13]dir|libsdir) defuser $a "$v" ;;
-+ prefix|html[13]dir|libsdir|libdir) defuser $a "$v" ;;
- man[13]dir|otherlibsdir) defuser $a "$v" ;;
- siteprefix|sitehtml[13]dir) defuser $a "$v" ;;
- siteman[13]dir|vendorman[13]dir)defuser $a "$v" ;;
-diff --git a/cnf/configure_path.sh b/cnf/configure_path.sh
-index fe7eac7..bcba8b8 100644
---- a/cnf/configure_path.sh
-+++ b/cnf/configure_path.sh
-@@ -30,6 +30,7 @@ definst() {
- define "$1" "$installpath$v"
- }
-
-+define libdir "$prefix/lib"
- define sharedir "$prefix/share"
- define html1dir "$sharedir/doc/$perlname/html"
- define html3dir "$sharedir/doc/$perlname/html"
-@@ -38,16 +39,16 @@ define man1ext "1"
- define man3dir "$sharedir/man/man3"
- define man3ext "3"
- define bin "$prefix/bin"
--define lib "$prefix/lib"
-+define lib "$libdir"
- define scriptdir "$prefix/bin"
- define libsdirs ' '
--defrel privlib "$prefix/lib/$package/$version"
--defrel archlib "$prefix/lib/$package/$version/$archname"
-+defrel privlib "$libdir/$package/$version"
-+defrel archlib "$libdir/$package/$version/$archname"
- define perlpath "$prefix/bin/$perlname"
- define d_archlib 'define'
-
- define sitebin "$prefix/bin"
--defrel sitelib_stem "$prefix/lib/$package/site_perl"
-+defrel sitelib_stem "$libdir/$package/site_perl"
- define sitelib "$sitelib_stem/$version"
- define sitearch "$sitelib_stem/$version/$archname"
- define siteprefix "$prefix"
-@@ -145,7 +146,7 @@ vendortest() {
- }
-
- vendorpath vendorbin "$vendorprefix/bin"
--vendorpath vendorlib_stem "$vendorprefix/lib/$package/vendor_perl"
-+vendorpath vendorlib_stem "$libdir/$package/vendor_perl"
- vendorpath vendorlib "$vendorlib_stem/$version"
- vendorpath vendorarch "$vendorlib_stem/$version/$archname"
- vendorpath vendorscript "$vendorprefix/bin"
diff --git a/meta/recipes-devtools/perl/files/0001-configure_tool.sh-do-not-quote-the-argument-to-comma.patch b/meta/recipes-devtools/perl/files/0001-configure_tool.sh-do-not-quote-the-argument-to-comma.patch
deleted file mode 100644
index 0aaeaa29eb..0000000000
--- a/meta/recipes-devtools/perl/files/0001-configure_tool.sh-do-not-quote-the-argument-to-comma.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From a66811c487ecf8ba8724879c253bb10dfa82aeb5 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin <alex.kanavin@gmail.com>
-Date: Fri, 1 Jun 2018 19:57:32 +0300
-Subject: [PATCH] configure_tool.sh: do not quote the argument to 'command'
-
-As it seems to break things if the argument has spaces and arguments in it.
-
-Upstream-Status: Pending
-Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
----
- cnf/configure_tool.sh | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/cnf/configure_tool.sh b/cnf/configure_tool.sh
-index 32201c0..461bc68 100644
---- a/cnf/configure_tool.sh
-+++ b/cnf/configure_tool.sh
-@@ -2,7 +2,7 @@
-
- tryprog() {
- log "trying $1=$2"
-- if command -v "$2" 1>/dev/null 2>/dev/null; then
-+ if command -v $2 1>/dev/null 2>/dev/null; then
- define "$1" "$2"
- result "$2"
- return 0
---
-2.17.0
-
diff --git a/meta/recipes-devtools/perl/files/0001-cpan-Sys-Syslog-Makefile.PL-Fix-_PATH_LOG-for-determ.patch b/meta/recipes-devtools/perl/files/0001-cpan-Sys-Syslog-Makefile.PL-Fix-_PATH_LOG-for-determ.patch
new file mode 100644
index 0000000000..63815d44fb
--- /dev/null
+++ b/meta/recipes-devtools/perl/files/0001-cpan-Sys-Syslog-Makefile.PL-Fix-_PATH_LOG-for-determ.patch
@@ -0,0 +1,36 @@
+From a73fff1fcf0def4ce93964f1b63fe3ad0967259d Mon Sep 17 00:00:00 2001
+From: Robert Yang <liezhi.yang@windriver.com>
+Date: Fri, 18 Feb 2022 09:44:26 +0000
+Subject: [PATCH] cpan/Sys-Syslog/Makefile.PL: Fix _PATH_LOG for deterministic
+
+It checks host's path such as /dev/log and uses it, this doesn't make sense for
+cross build, and it causes undeterministic, for example, the contianer os
+usually doesn't have /dev/log which leads to a different build result since
+other host usually has /dev/log, so make it always use the default value to fix
+the issue.
+
+Submitted a ticket to upstream: https://rt.cpan.org/Ticket/Display.html?id=141612
+
+Upstream-Status: Inappropriate [OE specific]
+
+Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
+---
+ cpan/Sys-Syslog/Makefile.PL | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/cpan/Sys-Syslog/Makefile.PL b/cpan/Sys-Syslog/Makefile.PL
+index d09ba69..d44e58c 100644
+--- a/cpan/Sys-Syslog/Makefile.PL
++++ b/cpan/Sys-Syslog/Makefile.PL
+@@ -130,6 +130,8 @@ else {
+ $_PATH_LOG = "";
+ }
+
++# OE specific
++$_PATH_LOG = "";
+
+ # if possible, generate the code that handles the constants with
+ # ExtUtils::Constant, otherwise use cached copy in fallback/
+--
+2.31.1
+
diff --git a/meta/recipes-devtools/perl/files/determinism.patch b/meta/recipes-devtools/perl/files/determinism.patch
index ccdd52a0d0..f2b1111552 100644
--- a/meta/recipes-devtools/perl/files/determinism.patch
+++ b/meta/recipes-devtools/perl/files/determinism.patch
@@ -8,9 +8,9 @@ b) Sort the order of the module lists from configure_mods.sh since otherwise
the result isn't the same leading to makefile differences.
Reported upstream: https://github.com/arsv/perl-cross/issues/88
-c) Sort the Encode::Byte byte_t.fnm file output (and the makefile depends whilst
+c) Sort the Encode::Byte byte_t.fnm file output (and the makefile depends whilst
there for good measure)
- This needs to go to upstream perl (not done)
+ Submitted to upstream perl: https://github.com/dankogai/p5-encode/pull/179
d) Use bash for perl-cross configure since otherwise trnl gets set to "\n" with bash
and "" with dash
@@ -18,22 +18,9 @@ d) Use bash for perl-cross configure since otherwise trnl gets set to "\n" with
RP 2020/2/7
-Upstream-Status: Pending [75% submitted]
+Upstream-Status: Submitted [see links above]
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org
-Index: perl-5.30.1/cnf/configure_mods.sh
-===================================================================
---- perl-5.30.1.orig/cnf/configure_mods.sh
-+++ perl-5.30.1/cnf/configure_mods.sh
-@@ -82,7 +82,7 @@ extonlyif() {
- }
-
- definetrimspaces() {
-- v=`echo "$2" | sed -r -e 's/\s+/ /g' -e 's/^\s+//' -e 's/\s+$//'`
-+ v=`echo "$2" | sed -r -e 's/\s+/ /g' -e 's/^\s+//' -e 's/\s+$//' | xargs -n1 | LANG=C sort | xargs`
- define $1 "$v"
- }
-
Index: perl-5.30.1/cpan/Encode/Byte/Makefile.PL
===================================================================
--- perl-5.30.1.orig/cpan/Encode/Byte/Makefile.PL
@@ -56,13 +43,3 @@ Index: perl-5.30.1/cpan/Encode/Byte/Makefile.PL
{
print FILELIST $self->catfile($dir,$file) . "\n";
}
-Index: perl-5.30.1/cnf/configure
-===================================================================
---- perl-5.30.1.orig/cnf/configure
-+++ perl-5.30.1/cnf/configure
-@@ -1,4 +1,4 @@
--#!/bin/sh
-+#!/bin/bash
-
- base=${0%/*}; test -z "$base" && base=.
-
diff --git a/meta/recipes-devtools/perl/files/native-perlinc.patch b/meta/recipes-devtools/perl/files/native-perlinc.patch
index a2e1aefd41..20d7fe6060 100644
--- a/meta/recipes-devtools/perl/files/native-perlinc.patch
+++ b/meta/recipes-devtools/perl/files/native-perlinc.patch
@@ -1,4 +1,4 @@
-Upstream-Status:Inappropriate [embedded specific]
+Upstream-Status: Inappropriate [embedded specific]
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Index: perl-5.8.8/lib/ExtUtils/MM_Unix.pm
diff --git a/meta/recipes-devtools/perl/files/perl-configpm-switch.patch b/meta/recipes-devtools/perl/files/perl-configpm-switch.patch
index 80ce4a6de7..0be1d5a93c 100644
--- a/meta/recipes-devtools/perl/files/perl-configpm-switch.patch
+++ b/meta/recipes-devtools/perl/files/perl-configpm-switch.patch
@@ -1,4 +1,4 @@
-From 5120acaa2be5787d9657f6b91bc8ee3c2d664fbe Mon Sep 17 00:00:00 2001
+From c25d460a2f00e9af25087d40447fe1a81c89710c Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex.kanavin@gmail.com>
Date: Sun, 27 May 2007 21:04:11 +0000
Subject: [PATCH] perl: 5.8.7 -> 5.8.8 (from OE)
@@ -20,38 +20,38 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
1 file changed, 16 insertions(+), 2 deletions(-)
diff --git a/configpm b/configpm
-index c8de8bf..204613c 100755
+index 07219d8..01a23fa 100755
--- a/configpm
+++ b/configpm
-@@ -687,7 +687,7 @@ sub FETCH {
- my($self, $key) = @_;
-
- # check for cached value (which may be undef so we use exists not defined)
-- return exists $self->{$key} ? $self->{$key} : $self->fetch_string($key);
-+ return $self->fetch_string($key);
- }
-
+@@ -718,7 +718,7 @@ $config_txt .= uncomment <<'ENDOFEND';
+ # my($self, $key) = @_;
+ #
+ # # check for cached value (which may be undef so we use exists not defined)
+-# return exists $self->{$key} ? $self->{$key} : $self->fetch_string($key);
++# return $self->fetch_string($key);
+ # }
+ #
ENDOFEND
-@@ -845,7 +845,21 @@ $config_txt .= sprintf <<'ENDOFTIE', $fast_config;
- sub DESTROY { }
-
- sub AUTOLOAD {
-- require 'Config_heavy.pl';
-+ my $cfgfile = 'Config_heavy.pl';
-+ if (defined $ENV{PERLCONFIGTARGET} and $ENV{PERLCONFIGTARGET} eq "yes")
-+ {
-+ $cfgfile = 'Config_heavy-target.pl';
-+ }
-+ if (defined $ENV{PERL_ARCHLIB})
-+ {
-+ push @INC, $ENV{PERL_ARCHLIB};
-+ require $cfgfile;
-+ pop @INC;
-+ }
-+ else
-+ {
-+ require $cfgfile;
-+ }
- goto \&launcher unless $Config::AUTOLOAD =~ /launcher$/;
- die "&Config::AUTOLOAD failed on $Config::AUTOLOAD";
- }
+@@ -876,7 +876,21 @@ $config_txt .= sprintf uncomment <<'ENDOFTIE', $fast_config;
+ # sub DESTROY { }
+ #
+ # sub AUTOLOAD {
+-# require 'Config_heavy.pl';
++# my $cfgfile = 'Config_heavy.pl';
++# if (defined $ENV{PERLCONFIGTARGET} and $ENV{PERLCONFIGTARGET} eq "yes")
++# {
++# $cfgfile = 'Config_heavy-target.pl';
++# }
++# if (defined $ENV{PERL_ARCHLIB})
++# {
++# push @INC, $ENV{PERL_ARCHLIB};
++# require $cfgfile;
++# pop @INC;
++# }
++# else
++# {
++# require $cfgfile;
++# }
+ # goto \&launcher unless $Config::AUTOLOAD =~ /launcher$/;
+ # die "&Config::AUTOLOAD failed on $Config::AUTOLOAD";
+ # }
diff --git a/meta/recipes-devtools/perl/files/perl-cross-makefile.patch b/meta/recipes-devtools/perl/files/perl-cross-makefile.patch
deleted file mode 100644
index 5d3f998200..0000000000
--- a/meta/recipes-devtools/perl/files/perl-cross-makefile.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-Makefile: Avoid continual rebuilds of miniperl and associated races
-
-In the Yocto Project, when we run "make install" we notice miniperl
-rebuilding multiple times. Usually this is harmless however sometimes
-race issues occur such as miniperl not being executable.
-
-The issue is that crosspatch is a phony target so it always rebuilds.
-Adding this as a dependency of miniperl means miniperl always rebuilds
-too.
-
-Avoid this by injecting a direct dependency avoiding the phony target.
-miniperl is then only rebuilt when its input changes as desired.
-
-Signed-off-by: Richard Purdie richard.purdie@linuxfoundation.org
-Upstream-Status: Submitted [https://github.com/arsv/perl-cross/pull/95]
-
-Index: perl-5.32.0/Makefile
-===================================================================
---- perl-5.32.0.orig/Makefile
-+++ perl-5.32.0/Makefile
-@@ -56,7 +56,7 @@ crosspatch: $(CROSSPATCHED)
-
- # A minor fix for buildroot, force crosspatching when running "make perl modules"
- # instead of "make all".
--miniperlmain$O: crosspatch
-+miniperlmain$O: $(CROSSPATCHED)
-
- # Original versions are not saved anymore; patch generally takes care of this,
- # and if that fails, reaching for the source tarball is the safest option.
diff --git a/meta/recipes-devtools/perl/files/perl-dynloader.patch b/meta/recipes-devtools/perl/files/perl-dynloader.patch
index 6bb832a426..887f7c0f7f 100644
--- a/meta/recipes-devtools/perl/files/perl-dynloader.patch
+++ b/meta/recipes-devtools/perl/files/perl-dynloader.patch
@@ -1,4 +1,4 @@
-Upstream-Status:Inappropriate [embedded specific]
+Upstream-Status: Inappropriate [embedded specific]
Allow the location that .so files are searched for for dynamic
loading to be changed via an environment variable. This is to allow
@@ -22,7 +22,7 @@ Index: perl-5.24.1/dist/XSLoader/XSLoader_pm.PL
+ my $hostlib = $ENV{PERLHOSTLIB};
+ my $hostarchlib = $ENV{PERLHOSTARCHLIB};
+ print STDERR "*** Module name IN: $modlibname\n";
-+ ($p1, $p2, $p3, $p4, $p5, $p6, $p7) = $modlibname =~ m/(^(.*lib\w*\/)?)((perl5\/[0-9\.]*\/)?)(([^\/]*)\/)?(.*)$/;
++ my ($p1, $p2, $p3, $p4, $p5, $p6, $p7) = $modlibname =~ m/(^(.*lib\w*\/)?)((perl5\/[0-9\.]*\/)?)(([^\/]*)\/)?(.*)$/;
+ print STDERR "*** p1: $p1 p3: $p3 p5: $p5 p7: $p7\n";
+ if ( $p1 ne "" ) {
+ $modlibname = $hostlib.$p7;
diff --git a/meta/recipes-devtools/perl/files/perl-rdepends.txt b/meta/recipes-devtools/perl/files/perl-rdepends.txt
index e7cd551988..e5f45bf291 100644
--- a/meta/recipes-devtools/perl/files/perl-rdepends.txt
+++ b/meta/recipes-devtools/perl/files/perl-rdepends.txt
@@ -1,2017 +1,2338 @@
-RDEPENDS_perl-module-anydbm-file += "perl-module-strict"
-RDEPENDS_perl-module-anydbm-file += "perl-module-warnings"
-RDEPENDS_perl-module-app-cpan += "perl-module-config"
-RDEPENDS_perl-module-app-cpan += "perl-module-constant"
-RDEPENDS_perl-module-app-cpan += "perl-module-cpan"
-RDEPENDS_perl-module-app-cpan += "perl-module-cwd"
-RDEPENDS_perl-module-app-cpan += "perl-module-data-dumper"
-RDEPENDS_perl-module-app-cpan += "perl-module-file-basename"
-RDEPENDS_perl-module-app-cpan += "perl-module-file-find"
-RDEPENDS_perl-module-app-cpan += "perl-module-getopt-std"
-RDEPENDS_perl-module-app-cpan += "perl-module-if"
-RDEPENDS_perl-module-app-cpan += "perl-module-net-ping"
-RDEPENDS_perl-module-app-cpan += "perl-module-strict"
-RDEPENDS_perl-module-app-cpan += "perl-module-user-pwent"
-RDEPENDS_perl-module-app-cpan += "perl-module-vars"
-RDEPENDS_perl-module-app-cpan += "perl-module-warnings"
-RDEPENDS_perl-module-app-prove += "perl-module-app-prove-state"
-RDEPENDS_perl-module-app-prove += "perl-module-base"
-RDEPENDS_perl-module-app-prove += "perl-module-constant"
-RDEPENDS_perl-module-app-prove += "perl-module-getopt-long"
-RDEPENDS_perl-module-app-prove += "perl-module-strict"
-RDEPENDS_perl-module-app-prove += "perl-module-tap-harness"
-RDEPENDS_perl-module-app-prove += "perl-module-tap-harness-env"
-RDEPENDS_perl-module-app-prove += "perl-module-text-parsewords"
-RDEPENDS_perl-module-app-prove += "perl-module-warnings"
-RDEPENDS_perl-module-app-prove-state += "perl-module-app-prove-state-result"
-RDEPENDS_perl-module-app-prove-state += "perl-module-base"
-RDEPENDS_perl-module-app-prove-state += "perl-module-constant"
-RDEPENDS_perl-module-app-prove-state += "perl-module-file-find"
-RDEPENDS_perl-module-app-prove-state += "perl-module-strict"
-RDEPENDS_perl-module-app-prove-state += "perl-module-tap-parser-yamlish-reader"
-RDEPENDS_perl-module-app-prove-state += "perl-module-tap-parser-yamlish-writer"
-RDEPENDS_perl-module-app-prove-state += "perl-module-warnings"
-RDEPENDS_perl-module-app-prove-state-result += "perl-module-app-prove-state-result-test"
-RDEPENDS_perl-module-app-prove-state-result += "perl-module-constant"
-RDEPENDS_perl-module-app-prove-state-result += "perl-module-strict"
-RDEPENDS_perl-module-app-prove-state-result += "perl-module-warnings"
-RDEPENDS_perl-module-app-prove-state-result-test += "perl-module-strict"
-RDEPENDS_perl-module-app-prove-state-result-test += "perl-module-warnings"
-RDEPENDS_perl-module-archive-tar-constant += "perl-module-constant"
-RDEPENDS_perl-module-archive-tar-constant += "perl-module-exporter"
-RDEPENDS_perl-module-archive-tar-constant += "perl-module-io-compress-bzip2"
-RDEPENDS_perl-module-archive-tar-constant += "perl-module-strict"
-RDEPENDS_perl-module-archive-tar-constant += "perl-module-time-local"
-RDEPENDS_perl-module-archive-tar-constant += "perl-module-warnings"
-RDEPENDS_perl-module-archive-tar-file += "perl-module-archive-tar"
-RDEPENDS_perl-module-archive-tar-file += "perl-module-archive-tar-constant"
-RDEPENDS_perl-module-archive-tar-file += "perl-module-file-basename"
-RDEPENDS_perl-module-archive-tar-file += "perl-module-io-file"
-RDEPENDS_perl-module-archive-tar-file += "perl-module-strict"
-RDEPENDS_perl-module-archive-tar-file += "perl-module-vars"
-RDEPENDS_perl-module-archive-tar += "perl-module-archive-tar-constant"
-RDEPENDS_perl-module-archive-tar += "perl-module-archive-tar-file"
-RDEPENDS_perl-module-archive-tar += "perl-module-config"
-RDEPENDS_perl-module-archive-tar += "perl-module-cwd"
-RDEPENDS_perl-module-archive-tar += "perl-module-exporter"
-RDEPENDS_perl-module-archive-tar += "perl-module-file-path"
-RDEPENDS_perl-module-archive-tar += "perl-module-io-file"
-RDEPENDS_perl-module-archive-tar += "perl-module-io-zlib"
-RDEPENDS_perl-module-archive-tar += "perl-module-strict"
-RDEPENDS_perl-module-archive-tar += "perl-module-vars"
-RDEPENDS_perl-module-attribute-handlers += "perl-module-strict"
-RDEPENDS_perl-module-attribute-handlers += "perl-module-warnings"
-RDEPENDS_perl-module-attributes += "perl-module-exporter"
-RDEPENDS_perl-module-attributes += "perl-module-strict"
-RDEPENDS_perl-module-attributes += "perl-module-warnings"
-RDEPENDS_perl-module-attributes += "perl-module-xsloader"
-RDEPENDS_perl-module-autodie-exception += "perl-module-constant"
-RDEPENDS_perl-module-autodie-exception += "perl-module-fatal"
-RDEPENDS_perl-module-autodie-exception += "perl-module-fcntl"
-RDEPENDS_perl-module-autodie-exception += "perl-module-overload"
-RDEPENDS_perl-module-autodie-exception += "perl-module-strict"
-RDEPENDS_perl-module-autodie-exception += "perl-module-warnings"
-RDEPENDS_perl-module-autodie-exception-system += "perl-module-parent"
-RDEPENDS_perl-module-autodie-exception-system += "perl-module-strict"
-RDEPENDS_perl-module-autodie-exception-system += "perl-module-warnings"
-RDEPENDS_perl-module-autodie-hints += "perl-module-b"
-RDEPENDS_perl-module-autodie-hints += "perl-module-constant"
-RDEPENDS_perl-module-autodie-hints += "perl-module-strict"
-RDEPENDS_perl-module-autodie-hints += "perl-module-warnings"
-RDEPENDS_perl-module-autodie += "perl-module-constant"
-RDEPENDS_perl-module-autodie += "perl-module-lib"
-RDEPENDS_perl-module-autodie += "perl-module-parent"
-RDEPENDS_perl-module-autodie += "perl-module-strict"
-RDEPENDS_perl-module-autodie += "perl-module-warnings"
-RDEPENDS_perl-module-autodie-scope-guard += "perl-module-strict"
-RDEPENDS_perl-module-autodie-scope-guard += "perl-module-warnings"
-RDEPENDS_perl-module-autodie-scope-guardstack += "perl-module-autodie-scope-guard"
-RDEPENDS_perl-module-autodie-scope-guardstack += "perl-module-strict"
-RDEPENDS_perl-module-autodie-scope-guardstack += "perl-module-warnings"
-RDEPENDS_perl-module-autodie-skip += "perl-module-strict"
-RDEPENDS_perl-module-autodie-skip += "perl-module-warnings"
-RDEPENDS_perl-module-autodie-util += "perl-module-autodie-scope-guardstack"
-RDEPENDS_perl-module-autodie-util += "perl-module-exporter"
-RDEPENDS_perl-module-autodie-util += "perl-module-strict"
-RDEPENDS_perl-module-autodie-util += "perl-module-warnings"
-RDEPENDS_perl-module-autoloader += "perl-module-strict"
-RDEPENDS_perl-module-autosplit += "perl-module-config"
-RDEPENDS_perl-module-autosplit += "perl-module-exporter"
-RDEPENDS_perl-module-autosplit += "perl-module-file-basename"
-RDEPENDS_perl-module-autosplit += "perl-module-file-path"
-RDEPENDS_perl-module-autosplit += "perl-module-strict"
-RDEPENDS_perl-module-base += "perl-module-strict"
-RDEPENDS_perl-module-b-concise += "perl-module-b"
-RDEPENDS_perl-module-b-concise += "perl-module-b-op-private"
-RDEPENDS_perl-module-b-concise += "perl-module-config"
-RDEPENDS_perl-module-b-concise += "perl-module-exporter"
-RDEPENDS_perl-module-b-concise += "perl-module-feature"
-RDEPENDS_perl-module-b-concise += "perl-module-strict"
-RDEPENDS_perl-module-b-concise += "perl-module-warnings"
-RDEPENDS_perl-module-benchmark += "perl-module-exporter"
-RDEPENDS_perl-module-benchmark += "perl-module-strict"
-RDEPENDS_perl-module-bigint += "perl-module-constant"
-RDEPENDS_perl-module-bigint += "perl-module-exporter"
-RDEPENDS_perl-module-bigint += "perl-module-math-bigint"
-RDEPENDS_perl-module-bigint += "perl-module-math-bigint-trace"
-RDEPENDS_perl-module-bigint += "perl-module-overload"
-RDEPENDS_perl-module-bigint += "perl-module-strict"
-RDEPENDS_perl-module-bigint += "perl-module-warnings"
-RDEPENDS_perl-module-bignum += "perl-module-bigint"
-RDEPENDS_perl-module-bignum += "perl-module-exporter"
-RDEPENDS_perl-module-bignum += "perl-module-math-bigfloat"
-RDEPENDS_perl-module-bignum += "perl-module-math-bigfloat-trace"
-RDEPENDS_perl-module-bignum += "perl-module-math-bigint"
-RDEPENDS_perl-module-bignum += "perl-module-math-bigint-trace"
-RDEPENDS_perl-module-bignum += "perl-module-overload"
-RDEPENDS_perl-module-bignum += "perl-module-strict"
-RDEPENDS_perl-module-bignum += "perl-module-warnings"
-RDEPENDS_perl-module-bigrat += "perl-module-bigint"
-RDEPENDS_perl-module-bigrat += "perl-module-exporter"
-RDEPENDS_perl-module-bigrat += "perl-module-math-bigfloat"
-RDEPENDS_perl-module-bigrat += "perl-module-math-bigint"
-RDEPENDS_perl-module-bigrat += "perl-module-math-bigint-trace"
-RDEPENDS_perl-module-bigrat += "perl-module-math-bigrat"
-RDEPENDS_perl-module-bigrat += "perl-module-overload"
-RDEPENDS_perl-module-bigrat += "perl-module-strict"
-RDEPENDS_perl-module-bigrat += "perl-module-warnings"
-RDEPENDS_perl-module-blib += "perl-module-cwd"
-RDEPENDS_perl-module-b += "perl-module-exporter"
-RDEPENDS_perl-module-b += "perl-module-xsloader"
-RDEPENDS_perl-module-b-showlex += "perl-module-b"
-RDEPENDS_perl-module-b-showlex += "perl-module-b-concise"
-RDEPENDS_perl-module-b-showlex += "perl-module-b-terse"
-RDEPENDS_perl-module-b-showlex += "perl-module-strict"
-RDEPENDS_perl-module-b-terse += "perl-module-b"
-RDEPENDS_perl-module-b-terse += "perl-module-b-concise"
-RDEPENDS_perl-module-b-terse += "perl-module-strict"
-RDEPENDS_perl-module-b-xref += "perl-module-b"
-RDEPENDS_perl-module-b-xref += "perl-module-config"
-RDEPENDS_perl-module-b-xref += "perl-module-strict"
-RDEPENDS_perl-module-bytes += "perl-module-bytes-heavy"
-RDEPENDS_perl-module--charnames += "perl-module-bytes"
-RDEPENDS_perl-module-charnames += "perl-module-bytes"
-RDEPENDS_perl-module-charnames += "perl-module--charnames"
-RDEPENDS_perl-module--charnames += "perl-module-re"
-RDEPENDS_perl-module-charnames += "perl-module-re"
-RDEPENDS_perl-module--charnames += "perl-module-strict"
-RDEPENDS_perl-module-charnames += "perl-module-strict"
-RDEPENDS_perl-module--charnames += "perl-module-warnings"
-RDEPENDS_perl-module-charnames += "perl-module-warnings"
-RDEPENDS_perl-module-class-struct += "perl-module-exporter"
-RDEPENDS_perl-module-class-struct += "perl-module-strict"
-RDEPENDS_perl-module-class-struct += "perl-module-warnings-register"
-RDEPENDS_perl-module-compress-raw-bzip2 += "perl-module-bytes "
-RDEPENDS_perl-module-compress-raw-bzip2 += "perl-module-constant"
-RDEPENDS_perl-module-compress-raw-bzip2 += "perl-module-dynaloader"
-RDEPENDS_perl-module-compress-raw-bzip2 += "perl-module-exporter"
-RDEPENDS_perl-module-compress-raw-bzip2 += "perl-module-strict "
-RDEPENDS_perl-module-compress-raw-bzip2 += "perl-module-warnings "
-RDEPENDS_perl-module-compress-raw-bzip2 += "perl-module-xsloader"
-RDEPENDS_perl-module-compress-raw-zlib += "perl-module-bytes "
-RDEPENDS_perl-module-compress-raw-zlib += "perl-module-constant"
-RDEPENDS_perl-module-compress-raw-zlib += "perl-module-dynaloader"
-RDEPENDS_perl-module-compress-raw-zlib += "perl-module-exporter"
-RDEPENDS_perl-module-compress-raw-zlib += "perl-module-strict "
-RDEPENDS_perl-module-compress-raw-zlib += "perl-module-warnings "
-RDEPENDS_perl-module-compress-raw-zlib += "perl-module-xsloader"
-RDEPENDS_perl-module-compress-zlib += "perl-module-bytes "
-RDEPENDS_perl-module-compress-zlib += "perl-module-compress-raw-zlib"
-RDEPENDS_perl-module-compress-zlib += "perl-module-constant"
-RDEPENDS_perl-module-compress-zlib += "perl-module-exporter"
-RDEPENDS_perl-module-compress-zlib += "perl-module-io-compress-base-common"
-RDEPENDS_perl-module-compress-zlib += "perl-module-io-compress-gzip"
-RDEPENDS_perl-module-compress-zlib += "perl-module-io-compress-gzip-constants"
-RDEPENDS_perl-module-compress-zlib += "perl-module-io-handle "
-RDEPENDS_perl-module-compress-zlib += "perl-module-io-uncompress-gunzip"
-RDEPENDS_perl-module-compress-zlib += "perl-module-strict "
-RDEPENDS_perl-module-compress-zlib += "perl-module-warnings "
-RDEPENDS_perl-module-config-extensions += "perl-module-config"
-RDEPENDS_perl-module-config-extensions += "perl-module-exporter"
-RDEPENDS_perl-module-config-extensions += "perl-module-strict"
-RDEPENDS_perl-module-config-perl-v += "perl-module-config"
-RDEPENDS_perl-module-config-perl-v += "perl-module-exporter"
-RDEPENDS_perl-module-config-perl-v += "perl-module-strict"
-RDEPENDS_perl-module-config-perl-v += "perl-module-vars"
-RDEPENDS_perl-module-config-perl-v += "perl-module-warnings"
-RDEPENDS_perl-module-constant += "perl-module-strict"
-RDEPENDS_perl-module-constant += "perl-module-warnings-register"
-RDEPENDS_perl-module-corelist += "perl-module-list-util"
-RDEPENDS_perl-module-corelist += "perl-module-corelist"
-RDEPENDS_perl-module-corelist += "perl-module-strict"
-RDEPENDS_perl-module-corelist += "perl-module-version"
-RDEPENDS_perl-module-corelist += "perl-module-warnings"
-RDEPENDS_perl-module-cpan += "perl-module-b"
-RDEPENDS_perl-module-cpan += "perl-module-config"
-RDEPENDS_perl-module-cpan += "perl-module-cwd"
-RDEPENDS_perl-module-cpan += "perl-module-data-dumper"
-RDEPENDS_perl-module-cpan += "perl-module-dirhandle"
-RDEPENDS_perl-module-cpan += "perl-module-errno"
-RDEPENDS_perl-module-cpan += "perl-module-exporter"
-RDEPENDS_perl-module-cpan += "perl-module-extutils-makemaker"
-RDEPENDS_perl-module-cpan += "perl-module-extutils-manifest"
-RDEPENDS_perl-module-cpan += "perl-module-fcntl"
-RDEPENDS_perl-module-cpan += "perl-module-file-basename"
-RDEPENDS_perl-module-cpan += "perl-module-file-copy"
-RDEPENDS_perl-module-cpan += "perl-module-file-find"
-RDEPENDS_perl-module-cpan += "perl-module-filehandle"
-RDEPENDS_perl-module-cpan += "perl-module-file-path"
-RDEPENDS_perl-module-cpan += "perl-module-json-pp"
-RDEPENDS_perl-module-cpan += "perl-module-lib"
-RDEPENDS_perl-module-cpan += "perl-module-net-ping"
-RDEPENDS_perl-module-cpan += "perl-module-overload"
-RDEPENDS_perl-module-cpan += "perl-module-posix"
-RDEPENDS_perl-module-cpan += "perl-module-safe"
-RDEPENDS_perl-module-cpan += "perl-module-strict"
-RDEPENDS_perl-module-cpan += "perl-module-sys-hostname"
-RDEPENDS_perl-module-cpan += "perl-module-term-readline"
-RDEPENDS_perl-module-cpan += "perl-module-text-parsewords"
-RDEPENDS_perl-module-cpan += "perl-module-text-wrap"
-RDEPENDS_perl-module-cpan += "perl-module-time-local"
-RDEPENDS_perl-module-cpan += "perl-module-vars"
-RDEPENDS_perl-module-cpan += "perl-module-warnings"
-RDEPENDS_perl-module-cwd += "perl-module-errno"
-RDEPENDS_perl-module-cwd += "perl-module-exporter"
-RDEPENDS_perl-module-cwd += "perl-module-strict"
-RDEPENDS_perl-module-cwd += "perl-module-xsloader"
-RDEPENDS_perl-module-data-dumper += "perl-module-config"
-RDEPENDS_perl-module-data-dumper += "perl-module-constant"
-RDEPENDS_perl-module-data-dumper += "perl-module-exporter"
-RDEPENDS_perl-module-data-dumper += "perl-module-xsloader"
-RDEPENDS_perl-module-db-file += "perl-module-dynaloader"
-RDEPENDS_perl-module-db-file += "perl-module-exporter"
-RDEPENDS_perl-module-db-file += "perl-module-fcntl"
-RDEPENDS_perl-module-db-file += "perl-module-strict "
-RDEPENDS_perl-module-db-file += "perl-module-strict"
-RDEPENDS_perl-module-db-file += "perl-module-tie-hash"
-RDEPENDS_perl-module-db-file += "perl-module-warnings"
-RDEPENDS_perl-module-dbm-filter-compress += "perl-module-strict"
-RDEPENDS_perl-module-dbm-filter-compress += "perl-module-warnings"
-RDEPENDS_perl-module-dbm-filter-encode += "perl-module-strict"
-RDEPENDS_perl-module-dbm-filter-encode += "perl-module-warnings"
-RDEPENDS_perl-module-dbm-filter-int32 += "perl-module-strict"
-RDEPENDS_perl-module-dbm-filter-int32 += "perl-module-warnings"
-RDEPENDS_perl-module-dbm-filter-null += "perl-module-strict"
-RDEPENDS_perl-module-dbm-filter-null += "perl-module-warnings"
-RDEPENDS_perl-module-dbm-filter += "perl-module-strict"
-RDEPENDS_perl-module-dbm-filter += "perl-module-warnings"
-RDEPENDS_perl-module-dbm-filter-utf8 += "perl-module-strict"
-RDEPENDS_perl-module-dbm-filter-utf8 += "perl-module-warnings"
-RDEPENDS_perl-module-db += "perl-module-strict"
-RDEPENDS_perl-module-deprecate += "perl-module-strict"
-RDEPENDS_perl-module-deprecate += "perl-module-warnings"
-RDEPENDS_perl-module-devel-peek += "perl-module-exporter"
-RDEPENDS_perl-module-devel-peek += "perl-module-xsloader"
-RDEPENDS_perl-module-devel-ppport += "perl-module-file-find"
-RDEPENDS_perl-module-devel-ppport += "perl-module-getopt-long"
-RDEPENDS_perl-module-devel-ppport += "perl-module-strict"
-RDEPENDS_perl-module-devel-ppport += "perl-module-vars"
-RDEPENDS_perl-module-devel-selfstubber += "perl-module-selfloader"
-RDEPENDS_perl-module-diagnostics += "perl-module-config"
-RDEPENDS_perl-module-diagnostics += "perl-module-getopt-std"
-RDEPENDS_perl-module-diagnostics += "perl-module-strict"
-RDEPENDS_perl-module-diagnostics += "perl-module-text-tabs"
-RDEPENDS_perl-module-digest-base += "perl-module-mime-base64"
-RDEPENDS_perl-module-digest-base += "perl-module-strict"
-RDEPENDS_perl-module-digest-base += "perl-module-vars"
-RDEPENDS_perl-module-digest-file += "perl-module-digest"
-RDEPENDS_perl-module-digest-file += "perl-module-exporter"
-RDEPENDS_perl-module-digest-file += "perl-module-strict"
-RDEPENDS_perl-module-digest-file += "perl-module-vars"
-RDEPENDS_perl-module-digest-md5 += "perl-module-digest-base"
-RDEPENDS_perl-module-digest-md5 += "perl-module-exporter"
-RDEPENDS_perl-module-digest-md5 += "perl-module-strict"
-RDEPENDS_perl-module-digest-md5 += "perl-module-vars"
-RDEPENDS_perl-module-digest-md5 += "perl-module-xsloader"
-RDEPENDS_perl-module-digest += "perl-module-strict"
-RDEPENDS_perl-module-digest += "perl-module-vars"
-RDEPENDS_perl-module-digest-sha += "perl-module-digest-base"
-RDEPENDS_perl-module-digest-sha += "perl-module-dynaloader"
-RDEPENDS_perl-module-digest-sha += "perl-module-exporter"
-RDEPENDS_perl-module-digest-sha += "perl-module-fcntl"
-RDEPENDS_perl-module-digest-sha += "perl-module-integer"
-RDEPENDS_perl-module-digest-sha += "perl-module-strict"
-RDEPENDS_perl-module-digest-sha += "perl-module-vars"
-RDEPENDS_perl-module-digest-sha += "perl-module-warnings"
-RDEPENDS_perl-module-digest-sha += "perl-module-xsloader"
-RDEPENDS_perl-module-dynaloader += "perl-module-config"
-RDEPENDS_perl-module-encode-alias += "perl-module-constant"
-RDEPENDS_perl-module-encode-alias += "perl-module-encode"
-RDEPENDS_perl-module-encode-alias += "perl-module-exporter"
-RDEPENDS_perl-module-encode-alias += "perl-module-strict"
-RDEPENDS_perl-module-encode-alias += "perl-module-warnings"
-RDEPENDS_perl-module-encode-byte += "perl-module-encode"
-RDEPENDS_perl-module-encode-byte += "perl-module-strict"
-RDEPENDS_perl-module-encode-byte += "perl-module-warnings"
-RDEPENDS_perl-module-encode-byte += "perl-module-xsloader"
-RDEPENDS_perl-module-encode-cjkconstants += "perl-module-exporter"
-RDEPENDS_perl-module-encode-cjkconstants += "perl-module-strict"
-RDEPENDS_perl-module-encode-cjkconstants += "perl-module-warnings"
-RDEPENDS_perl-module-encode-cn-hz += "perl-module-encode"
-RDEPENDS_perl-module-encode-cn-hz += "perl-module-parent"
-RDEPENDS_perl-module-encode-cn-hz += "perl-module-strict"
-RDEPENDS_perl-module-encode-cn-hz += "perl-module-utf8"
-RDEPENDS_perl-module-encode-cn-hz += "perl-module-vars"
-RDEPENDS_perl-module-encode-cn-hz += "perl-module-warnings"
-RDEPENDS_perl-module-encode-cn += "perl-module-encode"
-RDEPENDS_perl-module-encode-cn += "perl-module-encode-cn-hz"
-RDEPENDS_perl-module-encode-cn += "perl-module-strict"
-RDEPENDS_perl-module-encode-cn += "perl-module-warnings"
-RDEPENDS_perl-module-encode-cn += "perl-module-xsloader"
-RDEPENDS_perl-module-encode-config += "perl-module-strict"
-RDEPENDS_perl-module-encode-config += "perl-module-warnings"
-RDEPENDS_perl-module-encode-ebcdic += "perl-module-encode"
-RDEPENDS_perl-module-encode-ebcdic += "perl-module-strict"
-RDEPENDS_perl-module-encode-ebcdic += "perl-module-warnings"
-RDEPENDS_perl-module-encode-ebcdic += "perl-module-xsloader"
-RDEPENDS_perl-module-encode-encoder += "perl-module-constant"
-RDEPENDS_perl-module-encode-encoder += "perl-module-encode"
-RDEPENDS_perl-module-encode-encoder += "perl-module-exporter"
-RDEPENDS_perl-module-encode-encoder += "perl-module-overload"
-RDEPENDS_perl-module-encode-encoder += "perl-module-strict"
-RDEPENDS_perl-module-encode-encoder += "perl-module-warnings"
-RDEPENDS_perl-module-encode-encoding += "perl-module-constant"
-RDEPENDS_perl-module-encode-encoding += "perl-module-encode"
-RDEPENDS_perl-module-encode-encoding += "perl-module-encode-mime-name"
-RDEPENDS_perl-module-encode-encoding += "perl-module-strict"
-RDEPENDS_perl-module-encode-encoding += "perl-module-warnings"
-RDEPENDS_perl-module-encode-gsm0338 += "perl-module-encode"
-RDEPENDS_perl-module-encode-gsm0338 += "perl-module-parent"
-RDEPENDS_perl-module-encode-gsm0338 += "perl-module-strict"
-RDEPENDS_perl-module-encode-gsm0338 += "perl-module-utf8"
-RDEPENDS_perl-module-encode-gsm0338 += "perl-module-vars"
-RDEPENDS_perl-module-encode-gsm0338 += "perl-module-warnings"
-RDEPENDS_perl-module-encode-guess += "perl-module-bytes"
-RDEPENDS_perl-module-encode-guess += "perl-module-constant"
-RDEPENDS_perl-module-encode-guess += "perl-module-encode"
-RDEPENDS_perl-module-encode-guess += "perl-module-encode-unicode"
-RDEPENDS_perl-module-encode-guess += "perl-module-parent"
-RDEPENDS_perl-module-encode-guess += "perl-module-strict"
-RDEPENDS_perl-module-encode-guess += "perl-module-warnings"
-RDEPENDS_perl-module-encode-jp-h2z += "perl-module-encode-cjkconstants"
-RDEPENDS_perl-module-encode-jp-h2z += "perl-module-strict"
-RDEPENDS_perl-module-encode-jp-h2z += "perl-module-vars"
-RDEPENDS_perl-module-encode-jp-h2z += "perl-module-warnings"
-RDEPENDS_perl-module-encode-jp-jis7 += "perl-module-bytes"
-RDEPENDS_perl-module-encode-jp-jis7 += "perl-module-encode"
-RDEPENDS_perl-module-encode-jp-jis7 += "perl-module-encode-cjkconstants"
-RDEPENDS_perl-module-encode-jp-jis7 += "perl-module-encode-jp-h2z"
-RDEPENDS_perl-module-encode-jp-jis7 += "perl-module-parent"
-RDEPENDS_perl-module-encode-jp-jis7 += "perl-module-strict"
-RDEPENDS_perl-module-encode-jp-jis7 += "perl-module-warnings"
-RDEPENDS_perl-module-encode-jp += "perl-module-encode"
-RDEPENDS_perl-module-encode-jp += "perl-module-encode-jp-jis7"
-RDEPENDS_perl-module-encode-jp += "perl-module-strict"
-RDEPENDS_perl-module-encode-jp += "perl-module-warnings"
-RDEPENDS_perl-module-encode-jp += "perl-module-xsloader"
-RDEPENDS_perl-module-encode-kr-2022-kr += "perl-module-encode"
-RDEPENDS_perl-module-encode-kr-2022-kr += "perl-module-encode-cjkconstants"
-RDEPENDS_perl-module-encode-kr-2022-kr += "perl-module-parent"
-RDEPENDS_perl-module-encode-kr-2022-kr += "perl-module-strict"
-RDEPENDS_perl-module-encode-kr-2022-kr += "perl-module-warnings"
-RDEPENDS_perl-module-encode-kr += "perl-module-encode"
-RDEPENDS_perl-module-encode-kr += "perl-module-encode-kr-2022-kr"
-RDEPENDS_perl-module-encode-kr += "perl-module-strict"
-RDEPENDS_perl-module-encode-kr += "perl-module-warnings"
-RDEPENDS_perl-module-encode-kr += "perl-module-xsloader"
-RDEPENDS_perl-module-encode-mime-header-iso-2022-jp += "perl-module-constant"
-RDEPENDS_perl-module-encode-mime-header-iso-2022-jp += "perl-module-encode-cjkconstants"
-RDEPENDS_perl-module-encode-mime-header-iso-2022-jp += "perl-module-parent"
-RDEPENDS_perl-module-encode-mime-header-iso-2022-jp += "perl-module-strict"
-RDEPENDS_perl-module-encode-mime-header-iso-2022-jp += "perl-module-warnings"
-RDEPENDS_perl-module-encode-mime-header += "perl-module-encode"
-RDEPENDS_perl-module-encode-mime-header += "perl-module-mime-base64"
-RDEPENDS_perl-module-encode-mime-header += "perl-module-parent"
-RDEPENDS_perl-module-encode-mime-header += "perl-module-strict"
-RDEPENDS_perl-module-encode-mime-header += "perl-module-warnings"
-RDEPENDS_perl-module-encode-mime-name += "perl-module-strict"
-RDEPENDS_perl-module-encode-mime-name += "perl-module-warnings"
-RDEPENDS_perl-module-encode += "perl-module-bytes"
-RDEPENDS_perl-module-encode += "perl-module-constant"
-RDEPENDS_perl-module-encode += "perl-module-encode-alias"
-RDEPENDS_perl-module-encode += "perl-module-encode-config"
-RDEPENDS_perl-module-encode += "perl-module-encode-configlocal-pm"
-RDEPENDS_perl-module-encode += "perl-module-encode-mime-name"
-RDEPENDS_perl-module-encode += "perl-module-exporter"
-RDEPENDS_perl-module-encode += "perl-module-parent"
-RDEPENDS_perl-module-encode += "perl-module-storable"
-RDEPENDS_perl-module-encode += "perl-module-strict"
-RDEPENDS_perl-module-encode += "perl-module-warnings"
-RDEPENDS_perl-module-encode += "perl-module-xsloader"
-RDEPENDS_perl-module-encode-symbol += "perl-module-encode"
-RDEPENDS_perl-module-encode-symbol += "perl-module-strict"
-RDEPENDS_perl-module-encode-symbol += "perl-module-warnings"
-RDEPENDS_perl-module-encode-symbol += "perl-module-xsloader"
-RDEPENDS_perl-module-encode-tw += "perl-module-encode"
-RDEPENDS_perl-module-encode-tw += "perl-module-strict"
-RDEPENDS_perl-module-encode-tw += "perl-module-warnings"
-RDEPENDS_perl-module-encode-tw += "perl-module-xsloader"
-RDEPENDS_perl-module-encode-unicode += "perl-module-encode"
-RDEPENDS_perl-module-encode-unicode += "perl-module-parent"
-RDEPENDS_perl-module-encode-unicode += "perl-module-strict"
-RDEPENDS_perl-module-encode-unicode += "perl-module-warnings"
-RDEPENDS_perl-module-encode-unicode += "perl-module-xsloader"
-RDEPENDS_perl-module-encode-unicode-utf7 += "perl-module-encode"
-RDEPENDS_perl-module-encode-unicode-utf7 += "perl-module-mime-base64"
-RDEPENDS_perl-module-encode-unicode-utf7 += "perl-module-parent"
-RDEPENDS_perl-module-encode-unicode-utf7 += "perl-module-re"
-RDEPENDS_perl-module-encode-unicode-utf7 += "perl-module-strict"
-RDEPENDS_perl-module-encode-unicode-utf7 += "perl-module-warnings"
-RDEPENDS_perl-module-encoding += "perl-module-config"
-RDEPENDS_perl-module-encoding += "perl-module-constant"
-RDEPENDS_perl-module-encoding += "perl-module-encode"
-RDEPENDS_perl-module-encoding += "perl-module-filter-util-call"
-RDEPENDS_perl-module-encoding += "perl-module-i18n-langinfo"
-RDEPENDS_perl-module-encoding += "perl-module-posix"
-RDEPENDS_perl-module-encoding += "perl-module-strict"
-RDEPENDS_perl-module-encoding += "perl-module-utf8"
-RDEPENDS_perl-module-encoding += "perl-module-warnings"
-RDEPENDS_perl-module-encoding-warnings += "perl-module-strict"
-RDEPENDS_perl-module-encoding-warnings += "perl-module-warnings"
-RDEPENDS_perl-module-english += "perl-module-exporter"
-RDEPENDS_perl-module-env += "perl-module-config"
-RDEPENDS_perl-module-env += "perl-module-tie-array"
-RDEPENDS_perl-module-errno += "perl-module-exporter"
-RDEPENDS_perl-module-errno += "perl-module-strict"
-RDEPENDS_perl-module-experimental += "perl-module-strict"
-RDEPENDS_perl-module-experimental += "perl-module-version"
-RDEPENDS_perl-module-experimental += "perl-module-warnings"
-RDEPENDS_perl-module-exporter-heavy += "perl-module-exporter"
-RDEPENDS_perl-module-exporter-heavy += "perl-module-strict"
-RDEPENDS_perl-module-exporter += "perl-module-exporter-heavy"
-RDEPENDS_perl-module-extutils-cbuilder-base += "perl-module-config"
-RDEPENDS_perl-module-extutils-cbuilder-base += "perl-module-cwd"
-RDEPENDS_perl-module-extutils-cbuilder-base += "perl-module-dynaloader"
-RDEPENDS_perl-module-extutils-cbuilder-base += "perl-module-extutils-mksymlists"
-RDEPENDS_perl-module-extutils-cbuilder-base += "perl-module-file-basename"
-RDEPENDS_perl-module-extutils-cbuilder-base += "perl-module-file-temp"
-RDEPENDS_perl-module-extutils-cbuilder-base += "perl-module-ipc-cmd"
-RDEPENDS_perl-module-extutils-cbuilder-base += "perl-module-strict"
-RDEPENDS_perl-module-extutils-cbuilder-base += "perl-module-text-parsewords"
-RDEPENDS_perl-module-extutils-cbuilder-base += "perl-module-warnings"
-RDEPENDS_perl-module-extutils-cbuilder += "perl-module-file-basename"
-RDEPENDS_perl-module-extutils-cbuilder += "perl-module-file-path"
-RDEPENDS_perl-module-extutils-cbuilder += "perl-module-strict"
-RDEPENDS_perl-module-extutils-cbuilder += "perl-module-warnings"
-RDEPENDS_perl-module-extutils-cbuilder-platform-aix += "perl-module-extutils-cbuilder-platform-unix"
-RDEPENDS_perl-module-extutils-cbuilder-platform-aix += "perl-module-strict"
-RDEPENDS_perl-module-extutils-cbuilder-platform-aix += "perl-module-warnings"
-RDEPENDS_perl-module-extutils-cbuilder-platform-android += "perl-module-config"
-RDEPENDS_perl-module-extutils-cbuilder-platform-android += "perl-module-extutils-cbuilder-platform-unix"
-RDEPENDS_perl-module-extutils-cbuilder-platform-android += "perl-module-strict"
-RDEPENDS_perl-module-extutils-cbuilder-platform-android += "perl-module-warnings"
-RDEPENDS_perl-module-extutils-cbuilder-platform-cygwin += "perl-module-extutils-cbuilder-platform-unix"
-RDEPENDS_perl-module-extutils-cbuilder-platform-cygwin += "perl-module-strict"
-RDEPENDS_perl-module-extutils-cbuilder-platform-cygwin += "perl-module-warnings"
-RDEPENDS_perl-module-extutils-cbuilder-platform-darwin += "perl-module-extutils-cbuilder-platform-unix"
-RDEPENDS_perl-module-extutils-cbuilder-platform-darwin += "perl-module-strict"
-RDEPENDS_perl-module-extutils-cbuilder-platform-darwin += "perl-module-warnings"
-RDEPENDS_perl-module-extutils-cbuilder-platform-dec-osf += "perl-module-extutils-cbuilder-platform-unix"
-RDEPENDS_perl-module-extutils-cbuilder-platform-dec-osf += "perl-module-strict"
-RDEPENDS_perl-module-extutils-cbuilder-platform-dec-osf += "perl-module-warnings"
-RDEPENDS_perl-module-extutils-cbuilder-platform-os2 += "perl-module-extutils-cbuilder-platform-unix"
-RDEPENDS_perl-module-extutils-cbuilder-platform-os2 += "perl-module-strict"
-RDEPENDS_perl-module-extutils-cbuilder-platform-os2 += "perl-module-warnings"
-RDEPENDS_perl-module-extutils-cbuilder-platform-unix += "perl-module-extutils-cbuilder-base"
-RDEPENDS_perl-module-extutils-cbuilder-platform-unix += "perl-module-strict"
-RDEPENDS_perl-module-extutils-cbuilder-platform-unix += "perl-module-warnings"
-RDEPENDS_perl-module-extutils-cbuilder-platform-vms += "perl-module-config"
-RDEPENDS_perl-module-extutils-cbuilder-platform-vms += "perl-module-extutils-cbuilder-base"
-RDEPENDS_perl-module-extutils-cbuilder-platform-vms += "perl-module-strict"
-RDEPENDS_perl-module-extutils-cbuilder-platform-vms += "perl-module-warnings"
-RDEPENDS_perl-module-extutils-cbuilder-platform-windows-bcc += "perl-module-strict"
-RDEPENDS_perl-module-extutils-cbuilder-platform-windows-bcc += "perl-module-warnings"
-RDEPENDS_perl-module-extutils-cbuilder-platform-windows-gcc += "perl-module-strict"
-RDEPENDS_perl-module-extutils-cbuilder-platform-windows-gcc += "perl-module-warnings"
-RDEPENDS_perl-module-extutils-cbuilder-platform-windows-msvc += "perl-module-strict"
-RDEPENDS_perl-module-extutils-cbuilder-platform-windows-msvc += "perl-module-warnings"
-RDEPENDS_perl-module-extutils-cbuilder-platform-windows += "perl-module-extutils-cbuilder-base"
-RDEPENDS_perl-module-extutils-cbuilder-platform-windows += "perl-module-file-basename"
-RDEPENDS_perl-module-extutils-cbuilder-platform-windows += "perl-module-io-file"
-RDEPENDS_perl-module-extutils-cbuilder-platform-windows += "perl-module-strict"
-RDEPENDS_perl-module-extutils-cbuilder-platform-windows += "perl-module-warnings"
-RDEPENDS_perl-module-extutils-command-mm += "perl-module-exporter"
-RDEPENDS_perl-module-extutils-command-mm += "perl-module-extutils-command"
-RDEPENDS_perl-module-extutils-command-mm += "perl-module-extutils-install"
-RDEPENDS_perl-module-extutils-command-mm += "perl-module-getopt-long"
-RDEPENDS_perl-module-extutils-command-mm += "perl-module-strict"
-RDEPENDS_perl-module-extutils-command-mm += "perl-module-test-harness"
-RDEPENDS_perl-module-extutils-command-mm += "perl-module-warnings"
-RDEPENDS_perl-module-extutils-command += "perl-module-exporter"
-RDEPENDS_perl-module-extutils-command += "perl-module-file-copy"
-RDEPENDS_perl-module-extutils-command += "perl-module-file-find"
-RDEPENDS_perl-module-extutils-command += "perl-module-file-path"
-RDEPENDS_perl-module-extutils-command += "perl-module-strict"
-RDEPENDS_perl-module-extutils-command += "perl-module-vars"
-RDEPENDS_perl-module-extutils-constant-base += "perl-module-constant"
-RDEPENDS_perl-module-extutils-constant-base += "perl-module-extutils-constant-utils"
-RDEPENDS_perl-module-extutils-constant-base += "perl-module-strict"
-RDEPENDS_perl-module-extutils-constant-base += "perl-module-text-wrap"
-RDEPENDS_perl-module-extutils-constant-base += "perl-module-vars"
-RDEPENDS_perl-module-extutils-constant += "perl-module-exporter"
-RDEPENDS_perl-module-extutils-constant += "perl-module-extutils-constant-proxysubs"
-RDEPENDS_perl-module-extutils-constant += "perl-module-extutils-constant-utils"
-RDEPENDS_perl-module-extutils-constant += "perl-module-extutils-constant-xs"
-RDEPENDS_perl-module-extutils-constant += "perl-module-filehandle"
-RDEPENDS_perl-module-extutils-constant += "perl-module-strict"
-RDEPENDS_perl-module-extutils-constant += "perl-module-vars"
-RDEPENDS_perl-module-extutils-constant-proxysubs += "perl-module-extutils-constant-utils"
-RDEPENDS_perl-module-extutils-constant-proxysubs += "perl-module-extutils-constant-xs"
-RDEPENDS_perl-module-extutils-constant-proxysubs += "perl-module-strict"
-RDEPENDS_perl-module-extutils-constant-proxysubs += "perl-module-vars"
-RDEPENDS_perl-module-extutils-constant-utils += "perl-module-constant"
-RDEPENDS_perl-module-extutils-constant-utils += "perl-module-posix"
-RDEPENDS_perl-module-extutils-constant-utils += "perl-module-strict"
-RDEPENDS_perl-module-extutils-constant-utils += "perl-module-vars"
-RDEPENDS_perl-module-extutils-constant-xs += "perl-module-data-dumper"
-RDEPENDS_perl-module-extutils-constant-xs += "perl-module-extutils-constant"
-RDEPENDS_perl-module-extutils-constant-xs += "perl-module-extutils-constant-base"
-RDEPENDS_perl-module-extutils-constant-xs += "perl-module-extutils-constant-utils"
-RDEPENDS_perl-module-extutils-constant-xs += "perl-module-strict"
-RDEPENDS_perl-module-extutils-constant-xs += "perl-module-vars"
-RDEPENDS_perl-module-extutils-embed += "perl-module-config"
-RDEPENDS_perl-module-extutils-embed += "perl-module-exporter"
-RDEPENDS_perl-module-extutils-embed += "perl-module-extutils-liblist"
-RDEPENDS_perl-module-extutils-embed += "perl-module-extutils-makemaker"
-RDEPENDS_perl-module-extutils-embed += "perl-module-getopt-std"
-RDEPENDS_perl-module-extutils-embed += "perl-module-strict"
-RDEPENDS_perl-module-extutils-installed += "perl-module-config"
-RDEPENDS_perl-module-extutils-installed += "perl-module-data-dumper"
-RDEPENDS_perl-module-extutils-installed += "perl-module-extutils-makemaker"
-RDEPENDS_perl-module-extutils-installed += "perl-module-extutils-packlist"
-RDEPENDS_perl-module-extutils-installed += "perl-module-file-basename"
-RDEPENDS_perl-module-extutils-installed += "perl-module-file-find"
-RDEPENDS_perl-module-extutils-installed += "perl-module-strict"
-RDEPENDS_perl-module-extutils-installed += "perl-module-vars"
-RDEPENDS_perl-module-extutils-install += "perl-module-autosplit"
-RDEPENDS_perl-module-extutils-install += "perl-module-config"
-RDEPENDS_perl-module-extutils-install += "perl-module-cwd"
-RDEPENDS_perl-module-extutils-install += "perl-module-exporter"
-RDEPENDS_perl-module-extutils-install += "perl-module-extutils-packlist"
-RDEPENDS_perl-module-extutils-install += "perl-module-file-basename"
-RDEPENDS_perl-module-extutils-install += "perl-module-file-compare"
-RDEPENDS_perl-module-extutils-install += "perl-module-file-copy"
-RDEPENDS_perl-module-extutils-install += "perl-module-file-find"
-RDEPENDS_perl-module-extutils-install += "perl-module-file-path"
-RDEPENDS_perl-module-extutils-install += "perl-module-strict"
-RDEPENDS_perl-module-extutils-liblist-kid += "perl-module-cwd"
-RDEPENDS_perl-module-extutils-liblist-kid += "perl-module-extutils-makemaker-config"
-RDEPENDS_perl-module-extutils-liblist-kid += "perl-module-file-basename"
-RDEPENDS_perl-module-extutils-liblist-kid += "perl-module-strict"
-RDEPENDS_perl-module-extutils-liblist-kid += "perl-module-text-parsewords"
-RDEPENDS_perl-module-extutils-liblist-kid += "perl-module-warnings"
-RDEPENDS_perl-module-extutils-liblist += "perl-module-extutils-liblist-kid"
-RDEPENDS_perl-module-extutils-liblist += "perl-module-strict"
-RDEPENDS_perl-module-extutils-makemaker-config += "perl-module-config"
-RDEPENDS_perl-module-extutils-makemaker-config += "perl-module-strict"
-RDEPENDS_perl-module-extutils-makemaker-locale += "perl-module-base"
-RDEPENDS_perl-module-extutils-makemaker-locale += "perl-module-encode"
-RDEPENDS_perl-module-extutils-makemaker-locale += "perl-module-encode-alias"
-RDEPENDS_perl-module-extutils-makemaker-locale += "perl-module-i18n-langinfo"
-RDEPENDS_perl-module-extutils-makemaker-locale += "perl-module-strict"
-RDEPENDS_perl-module-extutils-makemaker += "perl-module-b"
-RDEPENDS_perl-module-extutils-makemaker += "perl-module-cpan"
-RDEPENDS_perl-module-extutils-makemaker += "perl-module-cwd"
-RDEPENDS_perl-module-extutils-makemaker += "perl-module-exporter"
-RDEPENDS_perl-module-extutils-makemaker += "perl-module-extutils-makemaker-config"
-RDEPENDS_perl-module-extutils-makemaker += "perl-module-extutils-makemaker-version"
-RDEPENDS_perl-module-extutils-makemaker += "perl-module-extutils-manifest"
-RDEPENDS_perl-module-extutils-makemaker += "perl-module-extutils-mm"
-RDEPENDS_perl-module-extutils-makemaker += "perl-module-extutils-my"
-RDEPENDS_perl-module-extutils-makemaker += "perl-module-file-path"
-RDEPENDS_perl-module-extutils-makemaker += "perl-module-strict"
-RDEPENDS_perl-module-extutils-makemaker += "perl-module-version"
-RDEPENDS_perl-module-extutils-makemaker-version += "perl-module-strict"
-RDEPENDS_perl-module-extutils-makemaker-version += "perl-module-vars"
-RDEPENDS_perl-module-extutils-manifest += "perl-module-config"
-RDEPENDS_perl-module-extutils-manifest += "perl-module-exporter"
-RDEPENDS_perl-module-extutils-manifest += "perl-module-file-basename"
-RDEPENDS_perl-module-extutils-manifest += "perl-module-file-copy"
-RDEPENDS_perl-module-extutils-manifest += "perl-module-file-find"
-RDEPENDS_perl-module-extutils-manifest += "perl-module-file-path"
-RDEPENDS_perl-module-extutils-manifest += "perl-module-strict"
-RDEPENDS_perl-module-extutils-manifest += "perl-module-warnings"
-RDEPENDS_perl-module-extutils-miniperl += "perl-module-exporter"
-RDEPENDS_perl-module-extutils-miniperl += "perl-module-extutils-embed"
-RDEPENDS_perl-module-extutils-miniperl += "perl-module-strict"
-RDEPENDS_perl-module-extutils-mkbootstrap += "perl-module-config"
-RDEPENDS_perl-module-extutils-mkbootstrap += "perl-module-dynaloader"
-RDEPENDS_perl-module-extutils-mkbootstrap += "perl-module-exporter"
-RDEPENDS_perl-module-extutils-mkbootstrap += "perl-module-strict"
-RDEPENDS_perl-module-extutils-mksymlists += "perl-module-config"
-RDEPENDS_perl-module-extutils-mksymlists += "perl-module-exporter"
-RDEPENDS_perl-module-extutils-mksymlists += "perl-module-strict"
-RDEPENDS_perl-module-extutils-mm-aix += "perl-module-extutils-makemaker-config"
-RDEPENDS_perl-module-extutils-mm-aix += "perl-module-extutils-mm-unix"
-RDEPENDS_perl-module-extutils-mm-aix += "perl-module-strict"
-RDEPENDS_perl-module-extutils-mm-any += "perl-module-autosplit"
-RDEPENDS_perl-module-extutils-mm-any += "perl-module-cpan"
-RDEPENDS_perl-module-extutils-mm-any += "perl-module-data-dumper"
-RDEPENDS_perl-module-extutils-mm-any += "perl-module-extutils-makemaker"
-RDEPENDS_perl-module-extutils-mm-any += "perl-module-extutils-makemaker-config"
-RDEPENDS_perl-module-extutils-mm-any += "perl-module-file-basename"
-RDEPENDS_perl-module-extutils-mm-any += "perl-module-file-find"
-RDEPENDS_perl-module-extutils-mm-any += "perl-module-strict"
-RDEPENDS_perl-module-extutils-mm-any += "perl-module-version"
-RDEPENDS_perl-module-extutils-mm-beos += "perl-module-extutils-makemaker-config"
-RDEPENDS_perl-module-extutils-mm-beos += "perl-module-extutils-mm-any"
-RDEPENDS_perl-module-extutils-mm-beos += "perl-module-extutils-mm-unix"
-RDEPENDS_perl-module-extutils-mm-beos += "perl-module-strict"
-RDEPENDS_perl-module-extutils-mm-cygwin += "perl-module-extutils-makemaker-config"
-RDEPENDS_perl-module-extutils-mm-cygwin += "perl-module-extutils-mm-unix"
-RDEPENDS_perl-module-extutils-mm-cygwin += "perl-module-extutils-mm-win32"
-RDEPENDS_perl-module-extutils-mm-cygwin += "perl-module-strict"
-RDEPENDS_perl-module-extutils-mm-darwin += "perl-module-extutils-mm-unix"
-RDEPENDS_perl-module-extutils-mm-darwin += "perl-module-strict"
-RDEPENDS_perl-module-extutils-mm-dos += "perl-module-extutils-mm-any"
-RDEPENDS_perl-module-extutils-mm-dos += "perl-module-extutils-mm-unix"
-RDEPENDS_perl-module-extutils-mm-dos += "perl-module-strict"
-RDEPENDS_perl-module-extutils-mm-macos += "perl-module-strict"
-RDEPENDS_perl-module-extutils-mm-nw5 += "perl-module-extutils-makemaker"
-RDEPENDS_perl-module-extutils-mm-nw5 += "perl-module-extutils-makemaker-config"
-RDEPENDS_perl-module-extutils-mm-nw5 += "perl-module-extutils-mm-win32"
-RDEPENDS_perl-module-extutils-mm-nw5 += "perl-module-file-basename"
-RDEPENDS_perl-module-extutils-mm-nw5 += "perl-module-strict"
-RDEPENDS_perl-module-extutils-mm-os2 += "perl-module-extutils-makemaker"
-RDEPENDS_perl-module-extutils-mm-os2 += "perl-module-extutils-mm-any"
-RDEPENDS_perl-module-extutils-mm-os2 += "perl-module-extutils-mm-unix"
-RDEPENDS_perl-module-extutils-mm-os2 += "perl-module-strict"
-RDEPENDS_perl-module-extutils-mm += "perl-module-extutils-liblist"
-RDEPENDS_perl-module-extutils-mm += "perl-module-extutils-makemaker"
-RDEPENDS_perl-module-extutils-mm += "perl-module-extutils-makemaker-config"
-RDEPENDS_perl-module-extutils-mm += "perl-module-strict"
-RDEPENDS_perl-module-extutils-mm-qnx += "perl-module-extutils-mm-unix"
-RDEPENDS_perl-module-extutils-mm-qnx += "perl-module-strict"
-RDEPENDS_perl-module-extutils-mm-unix += "perl-module-cwd"
-RDEPENDS_perl-module-extutils-mm-unix += "perl-module-encode"
-RDEPENDS_perl-module-extutils-mm-unix += "perl-module-extutils-liblist"
-RDEPENDS_perl-module-extutils-mm-unix += "perl-module-extutils-makemaker"
-RDEPENDS_perl-module-extutils-mm-unix += "perl-module-extutils-makemaker-config"
-RDEPENDS_perl-module-extutils-mm-unix += "perl-module-extutils-mm-any"
-RDEPENDS_perl-module-extutils-mm-unix += "perl-module-file-basename"
-RDEPENDS_perl-module-extutils-mm-unix += "perl-module-file-find"
-RDEPENDS_perl-module-extutils-mm-unix += "perl-module-strict"
-RDEPENDS_perl-module-extutils-mm-unix += "perl-module-vars"
-RDEPENDS_perl-module-extutils-mm-unix += "perl-module-version"
-RDEPENDS_perl-module-extutils-mm-uwin += "perl-module-extutils-mm-unix"
-RDEPENDS_perl-module-extutils-mm-uwin += "perl-module-strict"
-RDEPENDS_perl-module-extutils-mm-vms += "perl-module-exporter"
-RDEPENDS_perl-module-extutils-mm-vms += "perl-module-extutils-liblist-kid"
-RDEPENDS_perl-module-extutils-mm-vms += "perl-module-extutils-makemaker"
-RDEPENDS_perl-module-extutils-mm-vms += "perl-module-extutils-makemaker-config"
-RDEPENDS_perl-module-extutils-mm-vms += "perl-module-extutils-mm-any"
-RDEPENDS_perl-module-extutils-mm-vms += "perl-module-extutils-mm-unix"
-RDEPENDS_perl-module-extutils-mm-vms += "perl-module-file-basename"
-RDEPENDS_perl-module-extutils-mm-vms += "perl-module-file-find"
-RDEPENDS_perl-module-extutils-mm-vms += "perl-module-strict"
-RDEPENDS_perl-module-extutils-mm-vos += "perl-module-extutils-mm-unix"
-RDEPENDS_perl-module-extutils-mm-vos += "perl-module-strict"
-RDEPENDS_perl-module-extutils-mm-win32 += "perl-module-extutils-makemaker"
-RDEPENDS_perl-module-extutils-mm-win32 += "perl-module-extutils-makemaker-config"
-RDEPENDS_perl-module-extutils-mm-win32 += "perl-module-extutils-mm-any"
-RDEPENDS_perl-module-extutils-mm-win32 += "perl-module-extutils-mm-unix"
-RDEPENDS_perl-module-extutils-mm-win32 += "perl-module-file-basename"
-RDEPENDS_perl-module-extutils-mm-win32 += "perl-module-strict"
-RDEPENDS_perl-module-extutils-mm-win95 += "perl-module-extutils-makemaker-config"
-RDEPENDS_perl-module-extutils-mm-win95 += "perl-module-extutils-mm-win32"
-RDEPENDS_perl-module-extutils-mm-win95 += "perl-module-strict"
-RDEPENDS_perl-module-extutils-my += "perl-module-extutils-mm"
-RDEPENDS_perl-module-extutils-my += "perl-module-strict"
-RDEPENDS_perl-module-extutils-packlist += "perl-module-config"
-RDEPENDS_perl-module-extutils-packlist += "perl-module-cwd"
-RDEPENDS_perl-module-extutils-packlist += "perl-module-strict"
-RDEPENDS_perl-module-extutils-packlist += "perl-module-vars"
-RDEPENDS_perl-module-extutils-parsexs-constants += "perl-module-strict"
-RDEPENDS_perl-module-extutils-parsexs-constants += "perl-module-warnings"
-RDEPENDS_perl-module-extutils-parsexs-countlines += "perl-module-strict"
-RDEPENDS_perl-module-extutils-parsexs-eval += "perl-module-strict"
-RDEPENDS_perl-module-extutils-parsexs-eval += "perl-module-warnings"
-RDEPENDS_perl-module-extutils-parsexs += "perl-module-config"
-RDEPENDS_perl-module-extutils-parsexs += "perl-module-cwd"
-RDEPENDS_perl-module-extutils-parsexs += "perl-module-exporter"
-RDEPENDS_perl-module-extutils-parsexs += "perl-module-extutils-parsexs-constants"
-RDEPENDS_perl-module-extutils-parsexs += "perl-module-extutils-parsexs-countlines"
-RDEPENDS_perl-module-extutils-parsexs += "perl-module-extutils-parsexs-eval"
-RDEPENDS_perl-module-extutils-parsexs += "perl-module-extutils-parsexs-utilities"
-RDEPENDS_perl-module-extutils-parsexs += "perl-module-file-basename"
-RDEPENDS_perl-module-extutils-parsexs += "perl-module-re"
-RDEPENDS_perl-module-extutils-parsexs += "perl-module-strict"
-RDEPENDS_perl-module-extutils-parsexs-utilities += "perl-module-exporter"
-RDEPENDS_perl-module-extutils-parsexs-utilities += "perl-module-extutils-parsexs-constants"
-RDEPENDS_perl-module-extutils-parsexs-utilities += "perl-module-extutils-typemaps"
-RDEPENDS_perl-module-extutils-parsexs-utilities += "perl-module-strict"
-RDEPENDS_perl-module-extutils-parsexs-utilities += "perl-module-warnings"
-RDEPENDS_perl-module-extutils-testlib += "perl-module-cwd"
-RDEPENDS_perl-module-extutils-testlib += "perl-module-lib"
-RDEPENDS_perl-module-extutils-testlib += "perl-module-strict"
-RDEPENDS_perl-module-extutils-testlib += "perl-module-warnings"
-RDEPENDS_perl-module-extutils-typemaps-cmd += "perl-module-exporter"
-RDEPENDS_perl-module-extutils-typemaps-cmd += "perl-module-extutils-typemaps"
-RDEPENDS_perl-module-extutils-typemaps-cmd += "perl-module-strict"
-RDEPENDS_perl-module-extutils-typemaps-cmd += "perl-module-warnings"
-RDEPENDS_perl-module-extutils-typemaps-inputmap += "perl-module-strict"
-RDEPENDS_perl-module-extutils-typemaps-inputmap += "perl-module-warnings"
-RDEPENDS_perl-module-extutils-typemaps-outputmap += "perl-module-re"
-RDEPENDS_perl-module-extutils-typemaps-outputmap += "perl-module-strict"
-RDEPENDS_perl-module-extutils-typemaps-outputmap += "perl-module-warnings"
-RDEPENDS_perl-module-extutils-typemaps += "perl-module-extutils-parsexs"
-RDEPENDS_perl-module-extutils-typemaps += "perl-module-extutils-parsexs-constants"
-RDEPENDS_perl-module-extutils-typemaps += "perl-module-extutils-typemaps-inputmap"
-RDEPENDS_perl-module-extutils-typemaps += "perl-module-extutils-typemaps-outputmap"
-RDEPENDS_perl-module-extutils-typemaps += "perl-module-extutils-typemaps-type"
-RDEPENDS_perl-module-extutils-typemaps += "perl-module-strict"
-RDEPENDS_perl-module-extutils-typemaps += "perl-module-warnings"
-RDEPENDS_perl-module-extutils-typemaps-type += "perl-module-extutils-typemaps"
-RDEPENDS_perl-module-extutils-typemaps-type += "perl-module-strict"
-RDEPENDS_perl-module-extutils-typemaps-type += "perl-module-warnings"
-RDEPENDS_perl-module-fatal += "perl-module-autodie"
-RDEPENDS_perl-module-fatal += "perl-module-autodie-exception-system"
-RDEPENDS_perl-module-fatal += "perl-module-autodie-hints"
-RDEPENDS_perl-module-fatal += "perl-module-autodie-util"
-RDEPENDS_perl-module-fatal += "perl-module-config"
-RDEPENDS_perl-module-fatal += "perl-module-constant"
-RDEPENDS_perl-module-fatal += "perl-module-fcntl"
-RDEPENDS_perl-module-fatal += "perl-module-posix"
-RDEPENDS_perl-module-fatal += "perl-module-strict"
-RDEPENDS_perl-module-fatal += "perl-module-tie-refhash"
-RDEPENDS_perl-module-fatal += "perl-module-warnings"
-RDEPENDS_perl-module-fcntl += "perl-module-exporter"
-RDEPENDS_perl-module-fcntl += "perl-module-strict"
-RDEPENDS_perl-module-fcntl += "perl-module-xsloader"
-RDEPENDS_perl-module-fields += "perl-module-base"
-RDEPENDS_perl-module-fields += "perl-module-hash-util"
-RDEPENDS_perl-module-fields += "perl-module-strict"
-RDEPENDS_perl-module-file-basename += "perl-module-exporter"
-RDEPENDS_perl-module-file-basename += "perl-module-re"
-RDEPENDS_perl-module-file-basename += "perl-module-strict"
-RDEPENDS_perl-module-file-basename += "perl-module-warnings"
-RDEPENDS_perl-module-filecache += "perl-module-parent"
-RDEPENDS_perl-module-filecache += "perl-module-strict"
-RDEPENDS_perl-module-file-compare += "perl-module-exporter"
-RDEPENDS_perl-module-file-compare += "perl-module-strict"
-RDEPENDS_perl-module-file-compare += "perl-module-warnings"
-RDEPENDS_perl-module-file-copy += "perl-module-config"
-RDEPENDS_perl-module-file-copy += "perl-module-exporter"
-RDEPENDS_perl-module-file-copy += "perl-module-file-basename"
-RDEPENDS_perl-module-file-copy += "perl-module-strict"
-RDEPENDS_perl-module-file-copy += "perl-module-warnings"
-RDEPENDS_perl-module-file-dosglob += "perl-module-strict"
-RDEPENDS_perl-module-file-dosglob += "perl-module-text-parsewords"
-RDEPENDS_perl-module-file-dosglob += "perl-module-warnings"
-RDEPENDS_perl-module-file-dosglob += "perl-module-xsloader"
-RDEPENDS_perl-module-file-fetch += "perl-module-constant"
-RDEPENDS_perl-module-file-fetch += "perl-module-cwd"
-RDEPENDS_perl-module-file-fetch += "perl-module-file-basename"
-RDEPENDS_perl-module-file-fetch += "perl-module-file-copy"
-RDEPENDS_perl-module-file-fetch += "perl-module-filehandle"
-RDEPENDS_perl-module-file-fetch += "perl-module-file-path"
-RDEPENDS_perl-module-file-fetch += "perl-module-file-temp"
-RDEPENDS_perl-module-file-fetch += "perl-module-ipc-cmd"
-RDEPENDS_perl-module-file-fetch += "perl-module-locale-maketext-simple"
-RDEPENDS_perl-module-file-fetch += "perl-module-load"
-RDEPENDS_perl-module-file-fetch += "perl-module-params-check"
-RDEPENDS_perl-module-file-fetch += "perl-module-strict"
-RDEPENDS_perl-module-file-fetch += "perl-module-vars"
-RDEPENDS_perl-module-file-find += "perl-module-cwd"
-RDEPENDS_perl-module-file-find += "perl-module-exporter"
-RDEPENDS_perl-module-file-find += "perl-module-file-basename"
-RDEPENDS_perl-module-file-find += "perl-module-strict"
-RDEPENDS_perl-module-file-find += "perl-module-warnings"
-RDEPENDS_perl-module-file-find += "perl-module-warnings-register"
-RDEPENDS_perl-module-file-globmapper += "perl-module-file-glob"
-RDEPENDS_perl-module-file-globmapper += "perl-module-strict"
-RDEPENDS_perl-module-file-globmapper += "perl-module-warnings"
-RDEPENDS_perl-module-file-glob += "perl-module-exporter"
-RDEPENDS_perl-module-file-glob += "perl-module-strict"
-RDEPENDS_perl-module-file-glob += "perl-module-xsloader"
-RDEPENDS_perl-module-filehandle += "perl-module-exporter"
-RDEPENDS_perl-module-filehandle += "perl-module-fcntl"
-RDEPENDS_perl-module-filehandle += "perl-module-io-file"
-RDEPENDS_perl-module-filehandle += "perl-module-strict"
-RDEPENDS_perl-module-file-path += "perl-module-cwd"
-RDEPENDS_perl-module-file-path += "perl-module-exporter"
-RDEPENDS_perl-module-file-path += "perl-module-file-basename"
-RDEPENDS_perl-module-file-path += "perl-module-strict"
-RDEPENDS_perl-module-file-path += "perl-module-vars"
-RDEPENDS_perl-module-file-stat += "perl-module-class-struct"
-RDEPENDS_perl-module-file-stat += "perl-module-constant"
-RDEPENDS_perl-module-file-stat += "perl-module-exporter"
-RDEPENDS_perl-module-file-stat += "perl-module-fcntl"
-RDEPENDS_perl-module-file-stat += "perl-module-overload "
-RDEPENDS_perl-module-file-stat += "perl-module-strict"
-RDEPENDS_perl-module-file-stat += "perl-module-warnings"
-RDEPENDS_perl-module-file-stat += "perl-module-warnings-register"
-RDEPENDS_perl-module-file-temp += "perl-module-constant"
-RDEPENDS_perl-module-file-temp += "perl-module-cwd"
-RDEPENDS_perl-module-file-temp += "perl-module-errno"
-RDEPENDS_perl-module-file-temp += "perl-module-exporter"
-RDEPENDS_perl-module-file-temp += "perl-module-fcntl"
-RDEPENDS_perl-module-file-temp += "perl-module-file-path"
-RDEPENDS_perl-module-file-temp += "perl-module-io-seekable"
-RDEPENDS_perl-module-file-temp += "perl-module-overload"
-RDEPENDS_perl-module-file-temp += "perl-module-parent"
-RDEPENDS_perl-module-file-temp += "perl-module-posix"
-RDEPENDS_perl-module-file-temp += "perl-module-strict"
-RDEPENDS_perl-module-filter-simple += "perl-module-filter-util-call"
-RDEPENDS_perl-module-filter-simple += "perl-module-text-balanced"
-RDEPENDS_perl-module-filter-util-call += "perl-module-exporter"
-RDEPENDS_perl-module-filter-util-call += "perl-module-strict"
-RDEPENDS_perl-module-filter-util-call += "perl-module-warnings"
-RDEPENDS_perl-module-filter-util-call += "perl-module-xsloader"
-RDEPENDS_perl-module-findbin += "perl-module-cwd"
-RDEPENDS_perl-module-findbin += "perl-module-exporter"
-RDEPENDS_perl-module-findbin += "perl-module-file-basename"
-RDEPENDS_perl-module-gdbm-file += "perl-module-exporter"
-RDEPENDS_perl-module-gdbm-file += "perl-module-strict"
-RDEPENDS_perl-module-gdbm-file += "perl-module-tie-hash"
-RDEPENDS_perl-module-gdbm-file += "perl-module-warnings"
-RDEPENDS_perl-module-gdbm-file += "perl-module-xsloader"
-RDEPENDS_perl-module-getopt-long += "perl-module-constant"
-RDEPENDS_perl-module-getopt-long += "perl-module-exporter"
-RDEPENDS_perl-module-getopt-long += "perl-module-overload"
-RDEPENDS_perl-module-getopt-long += "perl-module-pod-usage"
-RDEPENDS_perl-module-getopt-long += "perl-module-strict"
-RDEPENDS_perl-module-getopt-long += "perl-module-text-parsewords"
-RDEPENDS_perl-module-getopt-long += "perl-module-vars"
-RDEPENDS_perl-module-getopt-long += "perl-module-warnings"
-RDEPENDS_perl-module-getopt-std += "perl-module-exporter"
-RDEPENDS_perl-module-hash-util-fieldhash += "perl-module-exporter"
-RDEPENDS_perl-module-hash-util-fieldhash += "perl-module-strict"
-RDEPENDS_perl-module-hash-util-fieldhash += "perl-module-warnings"
-RDEPENDS_perl-module-hash-util-fieldhash += "perl-module-xsloader"
-RDEPENDS_perl-module-hash-util += "perl-module-exporter"
-RDEPENDS_perl-module-hash-util += "perl-module-hash-util-fieldhash"
-RDEPENDS_perl-module-hash-util += "perl-module-strict"
-RDEPENDS_perl-module-hash-util += "perl-module-warnings"
-RDEPENDS_perl-module-hash-util += "perl-module-warnings-register"
-RDEPENDS_perl-module-hash-util += "perl-module-xsloader"
-RDEPENDS_perl-module-i18n-collate += "perl-module-exporter"
-RDEPENDS_perl-module-i18n-collate += "perl-module-overload"
-RDEPENDS_perl-module-i18n-collate += "perl-module-posix"
-RDEPENDS_perl-module-i18n-collate += "perl-module-strict"
-RDEPENDS_perl-module-i18n-collate += "perl-module-warnings-register"
-RDEPENDS_perl-module-i18n-langinfo += "perl-module-exporter"
-RDEPENDS_perl-module-i18n-langinfo += "perl-module-strict"
-RDEPENDS_perl-module-i18n-langinfo += "perl-module-warnings"
-RDEPENDS_perl-module-i18n-langinfo += "perl-module-xsloader"
-RDEPENDS_perl-module-i18n-langtags-detect += "perl-module-i18n-langtags"
-RDEPENDS_perl-module-i18n-langtags-detect += "perl-module-strict"
-RDEPENDS_perl-module-i18n-langtags-list += "perl-module-strict"
-RDEPENDS_perl-module-i18n-langtags += "perl-module-exporter"
-RDEPENDS_perl-module-i18n-langtags += "perl-module-strict"
-RDEPENDS_perl-module-io-compress-adapter-bzip2 += "perl-module-bytes"
-RDEPENDS_perl-module-io-compress-adapter-bzip2 += "perl-module-compress-raw-bzip2"
-RDEPENDS_perl-module-io-compress-adapter-bzip2 += "perl-module-io-compress-base-common"
-RDEPENDS_perl-module-io-compress-adapter-bzip2 += "perl-module-strict"
-RDEPENDS_perl-module-io-compress-adapter-bzip2 += "perl-module-warnings"
-RDEPENDS_perl-module-io-compress-adapter-deflate += "perl-module-bytes"
-RDEPENDS_perl-module-io-compress-adapter-deflate += "perl-module-compress-raw-zlib"
-RDEPENDS_perl-module-io-compress-adapter-deflate += "perl-module-exporter"
-RDEPENDS_perl-module-io-compress-adapter-deflate += "perl-module-io-compress-base-common"
-RDEPENDS_perl-module-io-compress-adapter-deflate += "perl-module-strict"
-RDEPENDS_perl-module-io-compress-adapter-deflate += "perl-module-warnings"
-RDEPENDS_perl-module-io-compress-adapter-identity += "perl-module-bytes"
-RDEPENDS_perl-module-io-compress-adapter-identity += "perl-module-io-compress-base-common"
-RDEPENDS_perl-module-io-compress-adapter-identity += "perl-module-strict"
-RDEPENDS_perl-module-io-compress-adapter-identity += "perl-module-warnings"
-RDEPENDS_perl-module-io-compress-base-common += "perl-module-bytes"
-RDEPENDS_perl-module-io-compress-base-common += "perl-module-constant"
-RDEPENDS_perl-module-io-compress-base-common += "perl-module-encode"
-RDEPENDS_perl-module-io-compress-base-common += "perl-module-exporter"
-RDEPENDS_perl-module-io-compress-base-common += "perl-module-file-globmapper"
-RDEPENDS_perl-module-io-compress-base-common += "perl-module-strict "
-RDEPENDS_perl-module-io-compress-base-common += "perl-module-strict"
-RDEPENDS_perl-module-io-compress-base-common += "perl-module-utf8"
-RDEPENDS_perl-module-io-compress-base-common += "perl-module-warnings"
-RDEPENDS_perl-module-io-compress-base += "perl-module-io-compress-base-common"
-RDEPENDS_perl-module-io-compress-base += "perl-module-io-file"
-RDEPENDS_perl-module-io-compress-base += "perl-module-io-handle "
-RDEPENDS_perl-module-io-compress-base += "perl-module-strict "
-RDEPENDS_perl-module-io-compress-base += "perl-module-warnings"
-RDEPENDS_perl-module-io-compress-bzip2 += "perl-module-bytes"
-RDEPENDS_perl-module-io-compress-bzip2 += "perl-module-exporter "
-RDEPENDS_perl-module-io-compress-bzip2 += "perl-module-io-compress-adapter-bzip2"
-RDEPENDS_perl-module-io-compress-bzip2 += "perl-module-io-compress-base"
-RDEPENDS_perl-module-io-compress-bzip2 += "perl-module-io-compress-base-common"
-RDEPENDS_perl-module-io-compress-bzip2 += "perl-module-strict "
-RDEPENDS_perl-module-io-compress-bzip2 += "perl-module-warnings"
-RDEPENDS_perl-module-io-compress-deflate += "perl-module-bytes"
-RDEPENDS_perl-module-io-compress-deflate += "perl-module-exporter "
-RDEPENDS_perl-module-io-compress-deflate += "perl-module-io-compress-adapter-deflate"
-RDEPENDS_perl-module-io-compress-deflate += "perl-module-io-compress-base-common"
-RDEPENDS_perl-module-io-compress-deflate += "perl-module-io-compress-rawdeflate"
-RDEPENDS_perl-module-io-compress-deflate += "perl-module-io-compress-zlib-constants"
-RDEPENDS_perl-module-io-compress-deflate += "perl-module-strict "
-RDEPENDS_perl-module-io-compress-deflate += "perl-module-warnings"
-RDEPENDS_perl-module-io-compress-gzip-constants += "perl-module-bytes"
-RDEPENDS_perl-module-io-compress-gzip-constants += "perl-module-constant"
-RDEPENDS_perl-module-io-compress-gzip-constants += "perl-module-exporter"
-RDEPENDS_perl-module-io-compress-gzip-constants += "perl-module-strict "
-RDEPENDS_perl-module-io-compress-gzip-constants += "perl-module-warnings"
-RDEPENDS_perl-module-io-compress-gzip += "perl-module-bytes"
-RDEPENDS_perl-module-io-compress-gzip += "perl-module-exporter "
-RDEPENDS_perl-module-io-compress-gzip += "perl-module-io-compress-adapter-deflate"
-RDEPENDS_perl-module-io-compress-gzip += "perl-module-io-compress-base-common"
-RDEPENDS_perl-module-io-compress-gzip += "perl-module-io-compress-gzip-constants"
-RDEPENDS_perl-module-io-compress-gzip += "perl-module-io-compress-rawdeflate"
-RDEPENDS_perl-module-io-compress-gzip += "perl-module-io-compress-zlib-extra"
-RDEPENDS_perl-module-io-compress-gzip += "perl-module-strict "
-RDEPENDS_perl-module-io-compress-gzip += "perl-module-warnings"
-RDEPENDS_perl-module-io-compress-rawdeflate += "perl-module-bytes"
-RDEPENDS_perl-module-io-compress-rawdeflate += "perl-module-compress-raw-zlib"
-RDEPENDS_perl-module-io-compress-rawdeflate += "perl-module-exporter "
-RDEPENDS_perl-module-io-compress-rawdeflate += "perl-module-fcntl"
-RDEPENDS_perl-module-io-compress-rawdeflate += "perl-module-io-compress-adapter-deflate"
-RDEPENDS_perl-module-io-compress-rawdeflate += "perl-module-io-compress-base"
-RDEPENDS_perl-module-io-compress-rawdeflate += "perl-module-io-compress-base-common"
-RDEPENDS_perl-module-io-compress-rawdeflate += "perl-module-strict "
-RDEPENDS_perl-module-io-compress-rawdeflate += "perl-module-warnings"
-RDEPENDS_perl-module-io-compress-zip-constants += "perl-module-constant"
-RDEPENDS_perl-module-io-compress-zip-constants += "perl-module-exporter"
-RDEPENDS_perl-module-io-compress-zip-constants += "perl-module-strict "
-RDEPENDS_perl-module-io-compress-zip-constants += "perl-module-warnings"
-RDEPENDS_perl-module-io-compress-zip += "perl-module-bytes"
-RDEPENDS_perl-module-io-compress-zip += "perl-module-compress-raw-zlib"
-RDEPENDS_perl-module-io-compress-zip += "perl-module-config"
-RDEPENDS_perl-module-io-compress-zip += "perl-module-exporter "
-RDEPENDS_perl-module-io-compress-zip += "perl-module-fcntl"
-RDEPENDS_perl-module-io-compress-zip += "perl-module-io-compress-adapter-deflate"
-RDEPENDS_perl-module-io-compress-zip += "perl-module-io-compress-adapter-identity"
-RDEPENDS_perl-module-io-compress-zip += "perl-module-io-compress-base-common"
-RDEPENDS_perl-module-io-compress-zip += "perl-module-io-compress-bzip2 "
-RDEPENDS_perl-module-io-compress-zip += "perl-module-io-compress-rawdeflate"
-RDEPENDS_perl-module-io-compress-zip += "perl-module-io-compress-zip-constants"
-RDEPENDS_perl-module-io-compress-zip += "perl-module-io-compress-zlib-extra"
-RDEPENDS_perl-module-io-compress-zip += "perl-module-strict "
-RDEPENDS_perl-module-io-compress-zip += "perl-module-warnings"
-RDEPENDS_perl-module-io-compress-zlib-constants += "perl-module-bytes"
-RDEPENDS_perl-module-io-compress-zlib-constants += "perl-module-constant"
-RDEPENDS_perl-module-io-compress-zlib-constants += "perl-module-exporter"
-RDEPENDS_perl-module-io-compress-zlib-constants += "perl-module-strict "
-RDEPENDS_perl-module-io-compress-zlib-constants += "perl-module-warnings"
-RDEPENDS_perl-module-io-compress-zlib-extra += "perl-module-bytes"
-RDEPENDS_perl-module-io-compress-zlib-extra += "perl-module-io-compress-gzip-constants"
-RDEPENDS_perl-module-io-compress-zlib-extra += "perl-module-strict "
-RDEPENDS_perl-module-io-compress-zlib-extra += "perl-module-warnings"
-RDEPENDS_perl-module-io-dir += "perl-module-exporter"
-RDEPENDS_perl-module-io-dir += "perl-module-file-stat"
-RDEPENDS_perl-module-io-dir += "perl-module-io-file"
-RDEPENDS_perl-module-io-dir += "perl-module-strict"
-RDEPENDS_perl-module-io-dir += "perl-module-tie-hash"
-RDEPENDS_perl-module-io-file += "perl-module-exporter"
-RDEPENDS_perl-module-io-file += "perl-module-fcntl"
-RDEPENDS_perl-module-io-file += "perl-module-io-seekable"
-RDEPENDS_perl-module-io-file += "perl-module-selectsaver"
-RDEPENDS_perl-module-io-file += "perl-module-strict"
-RDEPENDS_perl-module-io-handle += "perl-module-exporter"
-RDEPENDS_perl-module-io-handle += "perl-module-io"
-RDEPENDS_perl-module-io-handle += "perl-module-io-file"
-RDEPENDS_perl-module-io-handle += "perl-module-selectsaver"
-RDEPENDS_perl-module-io-handle += "perl-module-strict"
-RDEPENDS_perl-module-io += "perl-module-strict"
-RDEPENDS_perl-module-io += "perl-module-warnings"
-RDEPENDS_perl-module-io += "perl-module-xsloader"
-RDEPENDS_perl-module-io-pipe += "perl-module-fcntl"
-RDEPENDS_perl-module-io-pipe += "perl-module-io-handle"
-RDEPENDS_perl-module-io-pipe += "perl-module-strict"
-RDEPENDS_perl-module-io-poll += "perl-module-exporter"
-RDEPENDS_perl-module-io-poll += "perl-module-io-handle"
-RDEPENDS_perl-module-io-poll += "perl-module-strict"
-RDEPENDS_perl-module-io-seekable += "perl-module-exporter"
-RDEPENDS_perl-module-io-seekable += "perl-module-fcntl"
-RDEPENDS_perl-module-io-seekable += "perl-module-io-handle"
-RDEPENDS_perl-module-io-seekable += "perl-module-strict"
-RDEPENDS_perl-module-io-select += "perl-module-exporter"
-RDEPENDS_perl-module-io-select += "perl-module-strict"
-RDEPENDS_perl-module-io-select += "perl-module-warnings-register"
-RDEPENDS_perl-module-io-socket-inet += "perl-module-errno"
-RDEPENDS_perl-module-io-socket-inet += "perl-module-exporter"
-RDEPENDS_perl-module-io-socket-inet += "perl-module-io-socket"
-RDEPENDS_perl-module-io-socket-inet += "perl-module-socket"
-RDEPENDS_perl-module-io-socket-inet += "perl-module-strict"
-RDEPENDS_perl-module-io-socket-ip += "perl-module-base"
-RDEPENDS_perl-module-io-socket-ip += "perl-module-constant"
-RDEPENDS_perl-module-io-socket-ip += "perl-module-errno"
-RDEPENDS_perl-module-io-socket-ip += "perl-module-posix"
-RDEPENDS_perl-module-io-socket-ip += "perl-module-socket"
-RDEPENDS_perl-module-io-socket-ip += "perl-module-strict"
-RDEPENDS_perl-module-io-socket-ip += "perl-module-warnings"
-RDEPENDS_perl-module-io-socket += "perl-module-errno"
-RDEPENDS_perl-module-io-socket += "perl-module-exporter"
-RDEPENDS_perl-module-io-socket += "perl-module-io-handle"
-RDEPENDS_perl-module-io-socket += "perl-module-io-select"
-RDEPENDS_perl-module-io-socket += "perl-module-io-socket-inet"
-RDEPENDS_perl-module-io-socket += "perl-module-io-socket-unix"
-RDEPENDS_perl-module-io-socket += "perl-module-socket"
-RDEPENDS_perl-module-io-socket += "perl-module-strict"
-RDEPENDS_perl-module-io-socket-unix += "perl-module-io-socket"
-RDEPENDS_perl-module-io-socket-unix += "perl-module-strict"
-RDEPENDS_perl-module-io-uncompress-adapter-bunzip2 += "perl-module-bytes"
-RDEPENDS_perl-module-io-uncompress-adapter-bunzip2 += "perl-module-compress-raw-bzip2"
-RDEPENDS_perl-module-io-uncompress-adapter-bunzip2 += "perl-module-io-compress-base-common"
-RDEPENDS_perl-module-io-uncompress-adapter-bunzip2 += "perl-module-strict"
-RDEPENDS_perl-module-io-uncompress-adapter-bunzip2 += "perl-module-warnings"
-RDEPENDS_perl-module-io-uncompress-adapter-identity += "perl-module-bytes"
-RDEPENDS_perl-module-io-uncompress-adapter-identity += "perl-module-compress-raw-zlib"
-RDEPENDS_perl-module-io-uncompress-adapter-identity += "perl-module-io-compress-base-common"
-RDEPENDS_perl-module-io-uncompress-adapter-identity += "perl-module-io-compress-zip-constants "
-RDEPENDS_perl-module-io-uncompress-adapter-identity += "perl-module-strict"
-RDEPENDS_perl-module-io-uncompress-adapter-identity += "perl-module-warnings"
-RDEPENDS_perl-module-io-uncompress-adapter-inflate += "perl-module-bytes"
-RDEPENDS_perl-module-io-uncompress-adapter-inflate += "perl-module-compress-raw-zlib"
-RDEPENDS_perl-module-io-uncompress-adapter-inflate += "perl-module-io-compress-base-common"
-RDEPENDS_perl-module-io-uncompress-adapter-inflate += "perl-module-strict"
-RDEPENDS_perl-module-io-uncompress-adapter-inflate += "perl-module-warnings"
-RDEPENDS_perl-module-io-uncompress-anyinflate += "perl-module-bytes"
-RDEPENDS_perl-module-io-uncompress-anyinflate += "perl-module-exporter "
-RDEPENDS_perl-module-io-uncompress-anyinflate += "perl-module-io-compress-base-common"
-RDEPENDS_perl-module-io-uncompress-anyinflate += "perl-module-io-uncompress-adapter-inflate"
-RDEPENDS_perl-module-io-uncompress-anyinflate += "perl-module-io-uncompress-base"
-RDEPENDS_perl-module-io-uncompress-anyinflate += "perl-module-io-uncompress-gunzip"
-RDEPENDS_perl-module-io-uncompress-anyinflate += "perl-module-io-uncompress-inflate"
-RDEPENDS_perl-module-io-uncompress-anyinflate += "perl-module-io-uncompress-rawinflate"
-RDEPENDS_perl-module-io-uncompress-anyinflate += "perl-module-io-uncompress-unzip"
-RDEPENDS_perl-module-io-uncompress-anyinflate += "perl-module-strict"
-RDEPENDS_perl-module-io-uncompress-anyinflate += "perl-module-warnings"
-RDEPENDS_perl-module-io-uncompress-anyuncompress += "perl-module-bytes"
-RDEPENDS_perl-module-io-uncompress-anyuncompress += "perl-module-exporter "
-RDEPENDS_perl-module-io-uncompress-anyuncompress += "perl-module-io-compress-base-common"
-RDEPENDS_perl-module-io-uncompress-anyuncompress += "perl-module-io-uncompress-base"
-RDEPENDS_perl-module-io-uncompress-anyuncompress += "perl-module-strict"
-RDEPENDS_perl-module-io-uncompress-anyuncompress += "perl-module-warnings"
-RDEPENDS_perl-module-io-uncompress-base += "perl-module-bytes"
-RDEPENDS_perl-module-io-uncompress-base += "perl-module-constant"
-RDEPENDS_perl-module-io-uncompress-base += "perl-module-io-compress-base-common"
-RDEPENDS_perl-module-io-uncompress-base += "perl-module-io-file "
-RDEPENDS_perl-module-io-uncompress-base += "perl-module-list-util"
-RDEPENDS_perl-module-io-uncompress-base += "perl-module-strict "
-RDEPENDS_perl-module-io-uncompress-base += "perl-module-warnings"
-RDEPENDS_perl-module-io-uncompress-bunzip2 += "perl-module-bytes"
-RDEPENDS_perl-module-io-uncompress-bunzip2 += "perl-module-exporter "
-RDEPENDS_perl-module-io-uncompress-bunzip2 += "perl-module-io-compress-base-common"
-RDEPENDS_perl-module-io-uncompress-bunzip2 += "perl-module-io-uncompress-adapter-bunzip2"
-RDEPENDS_perl-module-io-uncompress-bunzip2 += "perl-module-io-uncompress-base"
-RDEPENDS_perl-module-io-uncompress-bunzip2 += "perl-module-strict "
-RDEPENDS_perl-module-io-uncompress-bunzip2 += "perl-module-warnings"
-RDEPENDS_perl-module-io-uncompress-gunzip += "perl-module-bytes"
-RDEPENDS_perl-module-io-uncompress-gunzip += "perl-module-compress-raw-zlib"
-RDEPENDS_perl-module-io-uncompress-gunzip += "perl-module-exporter "
-RDEPENDS_perl-module-io-uncompress-gunzip += "perl-module-io-compress-base-common"
-RDEPENDS_perl-module-io-uncompress-gunzip += "perl-module-io-compress-gzip-constants"
-RDEPENDS_perl-module-io-uncompress-gunzip += "perl-module-io-compress-zlib-extra"
-RDEPENDS_perl-module-io-uncompress-gunzip += "perl-module-io-uncompress-rawinflate"
-RDEPENDS_perl-module-io-uncompress-gunzip += "perl-module-strict "
-RDEPENDS_perl-module-io-uncompress-gunzip += "perl-module-warnings"
-RDEPENDS_perl-module-io-uncompress-inflate += "perl-module-bytes"
-RDEPENDS_perl-module-io-uncompress-inflate += "perl-module-exporter "
-RDEPENDS_perl-module-io-uncompress-inflate += "perl-module-io-compress-base-common"
-RDEPENDS_perl-module-io-uncompress-inflate += "perl-module-io-compress-zlib-constants"
-RDEPENDS_perl-module-io-uncompress-inflate += "perl-module-io-uncompress-rawinflate"
-RDEPENDS_perl-module-io-uncompress-inflate += "perl-module-strict "
-RDEPENDS_perl-module-io-uncompress-inflate += "perl-module-warnings"
-RDEPENDS_perl-module-io-uncompress-rawinflate += "perl-module-bytes"
-RDEPENDS_perl-module-io-uncompress-rawinflate += "perl-module-compress-raw-zlib"
-RDEPENDS_perl-module-io-uncompress-rawinflate += "perl-module-exporter "
-RDEPENDS_perl-module-io-uncompress-rawinflate += "perl-module-io-compress-base-common"
-RDEPENDS_perl-module-io-uncompress-rawinflate += "perl-module-io-uncompress-adapter-inflate"
-RDEPENDS_perl-module-io-uncompress-rawinflate += "perl-module-io-uncompress-base"
-RDEPENDS_perl-module-io-uncompress-rawinflate += "perl-module-strict "
-RDEPENDS_perl-module-io-uncompress-rawinflate += "perl-module-warnings"
-RDEPENDS_perl-module-io-uncompress-unzip += "perl-module-bytes"
-RDEPENDS_perl-module-io-uncompress-unzip += "perl-module-compress-raw-zlib"
-RDEPENDS_perl-module-io-uncompress-unzip += "perl-module-constant"
-RDEPENDS_perl-module-io-uncompress-unzip += "perl-module-encode"
-RDEPENDS_perl-module-io-uncompress-unzip += "perl-module-exporter "
-RDEPENDS_perl-module-io-uncompress-unzip += "perl-module-fcntl"
-RDEPENDS_perl-module-io-uncompress-unzip += "perl-module-io-compress-base-common"
-RDEPENDS_perl-module-io-uncompress-unzip += "perl-module-io-compress-zip-constants"
-RDEPENDS_perl-module-io-uncompress-unzip += "perl-module-io-compress-zlib-extra"
-RDEPENDS_perl-module-io-uncompress-unzip += "perl-module-io-file"
-RDEPENDS_perl-module-io-uncompress-unzip += "perl-module-io-uncompress-adapter-identity"
-RDEPENDS_perl-module-io-uncompress-unzip += "perl-module-io-uncompress-adapter-inflate"
-RDEPENDS_perl-module-io-uncompress-unzip += "perl-module-io-uncompress-rawinflate"
-RDEPENDS_perl-module-io-uncompress-unzip += "perl-module-posix"
-RDEPENDS_perl-module-io-uncompress-unzip += "perl-module-strict "
-RDEPENDS_perl-module-io-uncompress-unzip += "perl-module-warnings"
-RDEPENDS_perl-module-io-zlib += "perl-module-fcntl"
-RDEPENDS_perl-module-io-zlib += "perl-module-io-handle"
-RDEPENDS_perl-module-io-zlib += "perl-module-strict"
-RDEPENDS_perl-module-io-zlib += "perl-module-tie-handle"
-RDEPENDS_perl-module-io-zlib += "perl-module-vars"
-RDEPENDS_perl-module-ipc-cmd += "perl-module-constant"
-RDEPENDS_perl-module-ipc-cmd += "perl-module-exporter"
-RDEPENDS_perl-module-ipc-cmd += "perl-module-extutils-makemaker"
-RDEPENDS_perl-module-ipc-cmd += "perl-module-filehandle"
-RDEPENDS_perl-module-ipc-cmd += "perl-module-io-handle"
-RDEPENDS_perl-module-ipc-cmd += "perl-module-io-select"
-RDEPENDS_perl-module-ipc-cmd += "perl-module-ipc-open3"
-RDEPENDS_perl-module-ipc-cmd += "perl-module-locale-maketext-simple"
-RDEPENDS_perl-module-ipc-cmd += "perl-module-load"
-RDEPENDS_perl-module-ipc-cmd += "perl-module-params-check"
-RDEPENDS_perl-module-ipc-cmd += "perl-module-posix"
-RDEPENDS_perl-module-ipc-cmd += "perl-module-socket"
-RDEPENDS_perl-module-ipc-cmd += "perl-module-strict"
-RDEPENDS_perl-module-ipc-cmd += "perl-module-text-parsewords"
-RDEPENDS_perl-module-ipc-cmd += "perl-module-time-hires"
-RDEPENDS_perl-module-ipc-cmd += "perl-module-vars"
-RDEPENDS_perl-module-ipc-msg += "perl-module-class-struct"
-RDEPENDS_perl-module-ipc-msg += "perl-module-ipc-sysv"
-RDEPENDS_perl-module-ipc-msg += "perl-module-strict"
-RDEPENDS_perl-module-ipc-msg += "perl-module-vars"
-RDEPENDS_perl-module-ipc-open2 += "perl-module-exporter"
-RDEPENDS_perl-module-ipc-open2 += "perl-module-ipc-open3"
-RDEPENDS_perl-module-ipc-open2 += "perl-module-strict"
-RDEPENDS_perl-module-ipc-open3 += "perl-module-constant"
-RDEPENDS_perl-module-ipc-open3 += "perl-module-exporter"
-RDEPENDS_perl-module-ipc-open3 += "perl-module-fcntl"
-RDEPENDS_perl-module-ipc-open3 += "perl-module-io-pipe"
-RDEPENDS_perl-module-ipc-open3 += "perl-module-posix"
-RDEPENDS_perl-module-ipc-open3 += "perl-module-strict"
-RDEPENDS_perl-module-ipc-semaphore += "perl-module-class-struct"
-RDEPENDS_perl-module-ipc-semaphore += "perl-module-ipc-sysv"
-RDEPENDS_perl-module-ipc-semaphore += "perl-module-strict"
-RDEPENDS_perl-module-ipc-semaphore += "perl-module-vars"
-RDEPENDS_perl-module-ipc-sharedmem += "perl-module-class-struct"
-RDEPENDS_perl-module-ipc-sharedmem += "perl-module-ipc-sysv"
-RDEPENDS_perl-module-ipc-sharedmem += "perl-module-strict"
-RDEPENDS_perl-module-ipc-sharedmem += "perl-module-vars"
-RDEPENDS_perl-module-ipc-sysv += "perl-module-config"
-RDEPENDS_perl-module-ipc-sysv += "perl-module-dynaloader"
-RDEPENDS_perl-module-ipc-sysv += "perl-module-exporter"
-RDEPENDS_perl-module-ipc-sysv += "perl-module-strict"
-RDEPENDS_perl-module-ipc-sysv += "perl-module-vars"
-RDEPENDS_perl-module-json-pp-boolean += "perl-module-overload"
-RDEPENDS_perl-module-json-pp-boolean += "perl-module-strict"
-RDEPENDS_perl-module-json-pp += "perl-module-b"
-RDEPENDS_perl-module-json-pp += "perl-module-bytes"
-RDEPENDS_perl-module-json-pp += "perl-module-constant"
-RDEPENDS_perl-module-json-pp += "perl-module-encode"
-RDEPENDS_perl-module-json-pp += "perl-module-exporter"
-RDEPENDS_perl-module-json-pp += "perl-module-json-pp-boolean"
-RDEPENDS_perl-module-json-pp += "perl-module-math-bigfloat"
-RDEPENDS_perl-module-json-pp += "perl-module-math-bigint"
-RDEPENDS_perl-module-json-pp += "perl-module-overload"
-RDEPENDS_perl-module-json-pp += "perl-module-strict"
-RDEPENDS_perl-module-json-pp += "perl-module-subs"
-RDEPENDS_perl-module-less += "perl-module-strict"
-RDEPENDS_perl-module-less += "perl-module-warnings"
-RDEPENDS_perl-module-lib += "perl-module-config"
-RDEPENDS_perl-module-lib += "perl-module-strict"
-RDEPENDS_perl-module-list-util += "perl-module-exporter"
-RDEPENDS_perl-module-list-util += "perl-module-strict"
-RDEPENDS_perl-module-list-util += "perl-module-warnings"
-RDEPENDS_perl-module-list-util += "perl-module-xsloader"
-RDEPENDS_perl-module-list-util-xs += "perl-module-list-util"
-RDEPENDS_perl-module-list-util-xs += "perl-module-strict"
-RDEPENDS_perl-module-list-util-xs += "perl-module-warnings"
-RDEPENDS_perl-module-loaded += "perl-module-strict"
-RDEPENDS_perl-module-loaded += "perl-module-vars"
-RDEPENDS_perl-module-load += "perl-module-config"
-RDEPENDS_perl-module-load += "perl-module-constant"
-RDEPENDS_perl-module-load += "perl-module-exporter"
-RDEPENDS_perl-module-load += "perl-module-filehandle"
-RDEPENDS_perl-module-load += "perl-module-locale-maketext-simple"
-RDEPENDS_perl-module-load += "perl-module-corelist"
-RDEPENDS_perl-module-load += "perl-module-load"
-RDEPENDS_perl-module-load += "perl-module-params-check"
-RDEPENDS_perl-module-load += "perl-module-strict"
-RDEPENDS_perl-module-load += "perl-module-vars"
-RDEPENDS_perl-module-load += "perl-module-version"
-RDEPENDS_perl-module-load += "perl-module-warnings"
-RDEPENDS_perl-module-locale-maketext-gutsloader += "perl-module-locale-maketext"
-RDEPENDS_perl-module-locale-maketext-guts += "perl-module-locale-maketext"
-RDEPENDS_perl-module-locale-maketext += "perl-module-i18n-langtags"
-RDEPENDS_perl-module-locale-maketext += "perl-module-i18n-langtags-detect"
-RDEPENDS_perl-module-locale-maketext += "perl-module-integer"
-RDEPENDS_perl-module-locale-maketext += "perl-module-strict"
-RDEPENDS_perl-module-locale-maketext-simple += "perl-module-base"
-RDEPENDS_perl-module-locale-maketext-simple += "perl-module-strict"
-RDEPENDS_perl-module-locale += "perl-module-config"
-RDEPENDS_perl-module-math-bigfloat += "perl-module-exporter"
-RDEPENDS_perl-module-math-bigfloat += "perl-module-math-bigint"
-RDEPENDS_perl-module-math-bigfloat += "perl-module-math-complex"
-RDEPENDS_perl-module-math-bigfloat += "perl-module-overload"
-RDEPENDS_perl-module-math-bigfloat += "perl-module-strict"
-RDEPENDS_perl-module-math-bigfloat += "perl-module-warnings"
-RDEPENDS_perl-module-math-bigfloat-trace += "perl-module-exporter"
-RDEPENDS_perl-module-math-bigfloat-trace += "perl-module-math-bigfloat"
-RDEPENDS_perl-module-math-bigfloat-trace += "perl-module-overload"
-RDEPENDS_perl-module-math-bigfloat-trace += "perl-module-strict"
-RDEPENDS_perl-module-math-bigfloat-trace += "perl-module-warnings"
-RDEPENDS_perl-module-math-bigint-calc += "perl-module-constant"
-RDEPENDS_perl-module-math-bigint-calc += "perl-module-integer"
-RDEPENDS_perl-module-math-bigint-calc += "perl-module-math-bigint-lib"
-RDEPENDS_perl-module-math-bigint-calc += "perl-module-strict"
-RDEPENDS_perl-module-math-bigint-calc += "perl-module-warnings"
-RDEPENDS_perl-module-math-bigint-fastcalc += "perl-module-math-bigint-calc"
-RDEPENDS_perl-module-math-bigint-fastcalc += "perl-module-strict"
-RDEPENDS_perl-module-math-bigint-fastcalc += "perl-module-warnings"
-RDEPENDS_perl-module-math-bigint-fastcalc += "perl-module-xsloader"
-RDEPENDS_perl-module-math-bigint-lib += "perl-module-overload"
-RDEPENDS_perl-module-math-bigint-lib += "perl-module-strict"
-RDEPENDS_perl-module-math-bigint-lib += "perl-module-warnings"
-RDEPENDS_perl-module-math-bigint += "perl-module-exporter"
-RDEPENDS_perl-module-math-bigint += "perl-module-math-bigfloat"
-RDEPENDS_perl-module-math-bigint += "perl-module-math-complex"
-RDEPENDS_perl-module-math-bigint += "perl-module-overload"
-RDEPENDS_perl-module-math-bigint += "perl-module-strict"
-RDEPENDS_perl-module-math-bigint += "perl-module-warnings"
-RDEPENDS_perl-module-math-bigint-trace += "perl-module-exporter"
-RDEPENDS_perl-module-math-bigint-trace += "perl-module-math-bigint"
-RDEPENDS_perl-module-math-bigint-trace += "perl-module-overload"
-RDEPENDS_perl-module-math-bigint-trace += "perl-module-strict"
-RDEPENDS_perl-module-math-bigint-trace += "perl-module-warnings"
-RDEPENDS_perl-module-math-bigrat += "perl-module-math-bigfloat"
-RDEPENDS_perl-module-math-bigrat += "perl-module-math-bigint"
-RDEPENDS_perl-module-math-bigrat += "perl-module-overload"
-RDEPENDS_perl-module-math-bigrat += "perl-module-strict"
-RDEPENDS_perl-module-math-bigrat += "perl-module-warnings"
-RDEPENDS_perl-module-math-complex += "perl-module-config"
-RDEPENDS_perl-module-math-complex += "perl-module-exporter"
-RDEPENDS_perl-module-math-complex += "perl-module-overload"
-RDEPENDS_perl-module-math-complex += "perl-module-strict"
-RDEPENDS_perl-module-math-complex += "perl-module-warnings"
-RDEPENDS_perl-module-math-trig += "perl-module-exporter"
-RDEPENDS_perl-module-math-trig += "perl-module-math-complex"
-RDEPENDS_perl-module-math-trig += "perl-module-strict"
-RDEPENDS_perl-module-memoize-anydbm-file += "perl-module-vars"
-RDEPENDS_perl-module-memoize += "perl-module-config"
-RDEPENDS_perl-module-memoize += "perl-module-exporter"
-RDEPENDS_perl-module-memoize += "perl-module-strict"
-RDEPENDS_perl-module-memoize += "perl-module-vars"
-RDEPENDS_perl-module-memoize-sdbm-file += "perl-module-sdbm-file"
-RDEPENDS_perl-module-memoize-storable += "perl-module-storable"
-RDEPENDS_perl-module-mime-base64 += "perl-module-exporter"
-RDEPENDS_perl-module-mime-base64 += "perl-module-strict"
-RDEPENDS_perl-module-mime-base64 += "perl-module-vars"
-RDEPENDS_perl-module-mime-base64 += "perl-module-xsloader"
-RDEPENDS_perl-module-mime-quotedprint += "perl-module-exporter"
-RDEPENDS_perl-module-mime-quotedprint += "perl-module-mime-base64"
-RDEPENDS_perl-module-mime-quotedprint += "perl-module-strict"
-RDEPENDS_perl-module-mime-quotedprint += "perl-module-vars"
-RDEPENDS_perl-module-mro += "perl-module-strict"
-RDEPENDS_perl-module-mro += "perl-module-warnings"
-RDEPENDS_perl-module-mro += "perl-module-xsloader"
-RDEPENDS_perl-module-net-cmd += "perl-module-constant"
-RDEPENDS_perl-module-net-cmd += "perl-module-errno"
-RDEPENDS_perl-module-net-cmd += "perl-module-exporter"
-RDEPENDS_perl-module-net-cmd += "perl-module-strict"
-RDEPENDS_perl-module-net-cmd += "perl-module-warnings"
-RDEPENDS_perl-module-net-config += "perl-module-exporter"
-RDEPENDS_perl-module-net-config += "perl-module-socket"
-RDEPENDS_perl-module-net-config += "perl-module-strict"
-RDEPENDS_perl-module-net-config += "perl-module-warnings"
-RDEPENDS_perl-module-net-domain += "perl-module-exporter"
-RDEPENDS_perl-module-net-domain += "perl-module-net-config"
-RDEPENDS_perl-module-net-domain += "perl-module-posix"
-RDEPENDS_perl-module-net-domain += "perl-module-socket"
-RDEPENDS_perl-module-net-domain += "perl-module-strict"
-RDEPENDS_perl-module-net-domain += "perl-module-warnings"
-RDEPENDS_perl-module-net-ftp-a += "perl-module-net-ftp-dataconn"
-RDEPENDS_perl-module-net-ftp-a += "perl-module-strict"
-RDEPENDS_perl-module-net-ftp-a += "perl-module-warnings"
-RDEPENDS_perl-module-net-ftp-dataconn += "perl-module-errno"
-RDEPENDS_perl-module-net-ftp-dataconn += "perl-module-net-cmd"
-RDEPENDS_perl-module-net-ftp-dataconn += "perl-module-strict"
-RDEPENDS_perl-module-net-ftp-dataconn += "perl-module-warnings"
-RDEPENDS_perl-module-net-ftp-e += "perl-module-net-ftp-i"
-RDEPENDS_perl-module-net-ftp-e += "perl-module-strict"
-RDEPENDS_perl-module-net-ftp-e += "perl-module-warnings"
-RDEPENDS_perl-module-net-ftp-i += "perl-module-net-ftp-dataconn"
-RDEPENDS_perl-module-net-ftp-i += "perl-module-strict"
-RDEPENDS_perl-module-net-ftp-i += "perl-module-warnings"
-RDEPENDS_perl-module-net-ftp-l += "perl-module-net-ftp-i"
-RDEPENDS_perl-module-net-ftp-l += "perl-module-strict"
-RDEPENDS_perl-module-net-ftp-l += "perl-module-warnings"
-RDEPENDS_perl-module-net-ftp += "perl-module-constant"
-RDEPENDS_perl-module-net-ftp += "perl-module-fcntl"
-RDEPENDS_perl-module-net-ftp += "perl-module-file-basename"
-RDEPENDS_perl-module-net-ftp += "perl-module-io-socket"
-RDEPENDS_perl-module-net-ftp += "perl-module-io-socket-ip"
-RDEPENDS_perl-module-net-ftp += "perl-module-net-cmd"
-RDEPENDS_perl-module-net-ftp += "perl-module-net-config"
-RDEPENDS_perl-module-net-ftp += "perl-module-net-ftp-a"
-RDEPENDS_perl-module-net-ftp += "perl-module-net-netrc"
-RDEPENDS_perl-module-net-ftp += "perl-module-socket"
-RDEPENDS_perl-module-net-ftp += "perl-module-strict"
-RDEPENDS_perl-module-net-ftp += "perl-module-time-local"
-RDEPENDS_perl-module-net-ftp += "perl-module-warnings"
-RDEPENDS_perl-module-net-hostent += "perl-module-class-struct"
-RDEPENDS_perl-module-net-hostent += "perl-module-exporter"
-RDEPENDS_perl-module-net-hostent += "perl-module-socket"
-RDEPENDS_perl-module-net-hostent += "perl-module-strict"
-RDEPENDS_perl-module-net-netent += "perl-module-class-struct"
-RDEPENDS_perl-module-net-netent += "perl-module-exporter"
-RDEPENDS_perl-module-net-netent += "perl-module-socket"
-RDEPENDS_perl-module-net-netent += "perl-module-strict"
-RDEPENDS_perl-module-net-netrc += "perl-module-filehandle"
-RDEPENDS_perl-module-net-netrc += "perl-module-strict"
-RDEPENDS_perl-module-net-netrc += "perl-module-warnings"
-RDEPENDS_perl-module-net-nntp += "perl-module-io-socket"
-RDEPENDS_perl-module-net-nntp += "perl-module-io-socket-ip"
-RDEPENDS_perl-module-net-nntp += "perl-module-net-cmd"
-RDEPENDS_perl-module-net-nntp += "perl-module-net-config"
-RDEPENDS_perl-module-net-nntp += "perl-module-strict"
-RDEPENDS_perl-module-net-nntp += "perl-module-time-local"
-RDEPENDS_perl-module-net-nntp += "perl-module-warnings"
-RDEPENDS_perl-module-net-ping += "perl-module-constant"
-RDEPENDS_perl-module-net-ping += "perl-module-exporter"
-RDEPENDS_perl-module-net-ping += "perl-module-fcntl"
-RDEPENDS_perl-module-net-ping += "perl-module-filehandle"
-RDEPENDS_perl-module-net-ping += "perl-module-io-socket-inet"
-RDEPENDS_perl-module-net-ping += "perl-module-posix"
-RDEPENDS_perl-module-net-ping += "perl-module-socket"
-RDEPENDS_perl-module-net-ping += "perl-module-strict"
-RDEPENDS_perl-module-net-ping += "perl-module-time-hires"
-RDEPENDS_perl-module-net-pop3 += "perl-module-io-socket"
-RDEPENDS_perl-module-net-pop3 += "perl-module-io-socket-ip"
-RDEPENDS_perl-module-net-pop3 += "perl-module-mime-base64"
-RDEPENDS_perl-module-net-pop3 += "perl-module-net-cmd"
-RDEPENDS_perl-module-net-pop3 += "perl-module-net-config"
-RDEPENDS_perl-module-net-pop3 += "perl-module-net-netrc"
-RDEPENDS_perl-module-net-pop3 += "perl-module-strict"
-RDEPENDS_perl-module-net-pop3 += "perl-module-warnings"
-RDEPENDS_perl-module-net-protoent += "perl-module-class-struct"
-RDEPENDS_perl-module-net-protoent += "perl-module-exporter"
-RDEPENDS_perl-module-net-protoent += "perl-module-strict"
-RDEPENDS_perl-module-net-servent += "perl-module-class-struct"
-RDEPENDS_perl-module-net-servent += "perl-module-exporter"
-RDEPENDS_perl-module-net-servent += "perl-module-strict"
-RDEPENDS_perl-module-net-smtp += "perl-module-io-socket"
-RDEPENDS_perl-module-net-smtp += "perl-module-io-socket-ip"
-RDEPENDS_perl-module-net-smtp += "perl-module-mime-base64"
-RDEPENDS_perl-module-net-smtp += "perl-module-net-cmd"
-RDEPENDS_perl-module-net-smtp += "perl-module-net-config"
-RDEPENDS_perl-module-net-smtp += "perl-module-socket"
-RDEPENDS_perl-module-net-smtp += "perl-module-strict"
-RDEPENDS_perl-module-net-smtp += "perl-module-warnings"
-RDEPENDS_perl-module-net-time += "perl-module-exporter"
-RDEPENDS_perl-module-net-time += "perl-module-io-select"
-RDEPENDS_perl-module-net-time += "perl-module-io-socket"
-RDEPENDS_perl-module-net-time += "perl-module-net-config"
-RDEPENDS_perl-module-net-time += "perl-module-strict"
-RDEPENDS_perl-module-net-time += "perl-module-warnings"
-RDEPENDS_perl-module-next += "perl-module-overload"
-RDEPENDS_perl-module-next += "perl-module-strict"
-RDEPENDS_perl-module-next += "perl-module-warnings"
-RDEPENDS_perl-module-ok += "perl-module-strict"
-RDEPENDS_perl-module-ok += "perl-module-test-more"
-RDEPENDS_perl-module-opcode += "perl-module-exporter"
-RDEPENDS_perl-module-opcode += "perl-module-strict"
-RDEPENDS_perl-module-opcode += "perl-module-subs"
-RDEPENDS_perl-module-opcode += "perl-module-xsloader"
-RDEPENDS_perl-module-open += "perl-module-encode"
-RDEPENDS_perl-module-open += "perl-module-encoding"
-RDEPENDS_perl-module-open += "perl-module-warnings"
-RDEPENDS_perl-module-o += "perl-module-b"
-RDEPENDS_perl-module-ops += "perl-module-opcode"
-RDEPENDS_perl-module-overloading += "perl-module-overload-numbers"
-RDEPENDS_perl-module-overloading += "perl-module-warnings"
-RDEPENDS_perl-module-overload += "perl-module-mro"
-RDEPENDS_perl-module-overload += "perl-module-warnings-register"
-RDEPENDS_perl-module-params-check += "perl-module-exporter"
-RDEPENDS_perl-module-params-check += "perl-module-locale-maketext-simple"
-RDEPENDS_perl-module-params-check += "perl-module-strict"
-RDEPENDS_perl-module-params-check += "perl-module-vars"
-RDEPENDS_perl-module-parent += "perl-module-strict"
-RDEPENDS_perl-module-perlfaq += "perl-module-strict"
-RDEPENDS_perl-module-perlfaq += "perl-module-warnings"
-RDEPENDS_perl-module-perlio-encoding += "perl-module-strict"
-RDEPENDS_perl-module-perlio-encoding += "perl-module-xsloader"
-RDEPENDS_perl-module-perlio-mmap += "perl-module-strict"
-RDEPENDS_perl-module-perlio-mmap += "perl-module-warnings"
-RDEPENDS_perl-module-perlio-mmap += "perl-module-xsloader"
-RDEPENDS_perl-module-perlio-scalar += "perl-module-xsloader"
-RDEPENDS_perl-module-perlio-via += "perl-module-xsloader"
-RDEPENDS_perl-module-perlio-via-quotedprint += "perl-module-mime-quotedprint"
-RDEPENDS_perl-module-perlio-via-quotedprint += "perl-module-strict"
-RDEPENDS_perl-module-pod-checker += "perl-module-base"
-RDEPENDS_perl-module-pod-checker += "perl-module-exporter"
-RDEPENDS_perl-module-pod-checker += "perl-module-strict"
-RDEPENDS_perl-module-pod-checker += "perl-module-warnings"
-RDEPENDS_perl-module-pod-escapes += "perl-module-exporter"
-RDEPENDS_perl-module-pod-escapes += "perl-module-strict"
-RDEPENDS_perl-module-pod-escapes += "perl-module-vars"
-RDEPENDS_perl-module-pod-escapes += "perl-module-warnings"
-RDEPENDS_perl-module-pod-functions += "perl-module-exporter"
-RDEPENDS_perl-module-pod-functions += "perl-module-strict"
-RDEPENDS_perl-module-pod-man += "perl-module-file-basename"
-RDEPENDS_perl-module-pod-man += "perl-module-pod-simple"
-RDEPENDS_perl-module-pod-man += "perl-module-strict"
-RDEPENDS_perl-module-pod-man += "perl-module-subs"
-RDEPENDS_perl-module-pod-man += "perl-module-vars"
-RDEPENDS_perl-module-pod-man += "perl-module-warnings"
-RDEPENDS_perl-module-pod-parselink += "perl-module-exporter"
-RDEPENDS_perl-module-pod-parselink += "perl-module-strict"
-RDEPENDS_perl-module-pod-parselink += "perl-module-vars"
-RDEPENDS_perl-module-pod-parselink += "perl-module-warnings"
-RDEPENDS_perl-module-pod-perldoc-baseto += "perl-module-config"
-RDEPENDS_perl-module-pod-perldoc-baseto += "perl-module-strict"
-RDEPENDS_perl-module-pod-perldoc-baseto += "perl-module-vars"
-RDEPENDS_perl-module-pod-perldoc-baseto += "perl-module-warnings"
-RDEPENDS_perl-module-pod-perldoc-getoptsoo += "perl-module-strict"
-RDEPENDS_perl-module-pod-perldoc-getoptsoo += "perl-module-vars"
-RDEPENDS_perl-module-pod-perldoc += "perl-module-config"
-RDEPENDS_perl-module-pod-perldoc += "perl-module-encode"
-RDEPENDS_perl-module-pod-perldoc += "perl-module-fcntl"
-RDEPENDS_perl-module-pod-perldoc += "perl-module-file-basename"
-RDEPENDS_perl-module-pod-perldoc += "perl-module-file-temp"
-RDEPENDS_perl-module-pod-perldoc += "perl-module-pod-perldoc-getoptsoo"
-RDEPENDS_perl-module-pod-perldoc += "perl-module-strict"
-RDEPENDS_perl-module-pod-perldoc += "perl-module-text-parsewords"
-RDEPENDS_perl-module-pod-perldoc += "perl-module-vars"
-RDEPENDS_perl-module-pod-perldoc += "perl-module-warnings"
-RDEPENDS_perl-module-pod-perldoc-toansi += "perl-module-parent"
-RDEPENDS_perl-module-pod-perldoc-toansi += "perl-module-pod-text-color"
-RDEPENDS_perl-module-pod-perldoc-toansi += "perl-module-strict"
-RDEPENDS_perl-module-pod-perldoc-toansi += "perl-module-vars"
-RDEPENDS_perl-module-pod-perldoc-toansi += "perl-module-warnings"
-RDEPENDS_perl-module-pod-perldoc-tochecker += "perl-module-pod-checker"
-RDEPENDS_perl-module-pod-perldoc-tochecker += "perl-module-strict"
-RDEPENDS_perl-module-pod-perldoc-tochecker += "perl-module-vars"
-RDEPENDS_perl-module-pod-perldoc-tochecker += "perl-module-warnings"
-RDEPENDS_perl-module-pod-perldoc-toman += "perl-module-encode"
-RDEPENDS_perl-module-pod-perldoc-toman += "perl-module-io-handle"
-RDEPENDS_perl-module-pod-perldoc-toman += "perl-module-io-select"
-RDEPENDS_perl-module-pod-perldoc-toman += "perl-module-ipc-open3"
-RDEPENDS_perl-module-pod-perldoc-toman += "perl-module-parent"
-RDEPENDS_perl-module-pod-perldoc-toman += "perl-module-pod-man"
-RDEPENDS_perl-module-pod-perldoc-toman += "perl-module-pod-perldoc-topod"
-RDEPENDS_perl-module-pod-perldoc-toman += "perl-module-strict"
-RDEPENDS_perl-module-pod-perldoc-toman += "perl-module-vars"
-RDEPENDS_perl-module-pod-perldoc-toman += "perl-module-warnings"
-RDEPENDS_perl-module-pod-perldoc-tonroff += "perl-module-parent"
-RDEPENDS_perl-module-pod-perldoc-tonroff += "perl-module-pod-man"
-RDEPENDS_perl-module-pod-perldoc-tonroff += "perl-module-strict"
-RDEPENDS_perl-module-pod-perldoc-tonroff += "perl-module-vars"
-RDEPENDS_perl-module-pod-perldoc-tonroff += "perl-module-warnings"
-RDEPENDS_perl-module-pod-perldoc-topod += "perl-module-parent"
-RDEPENDS_perl-module-pod-perldoc-topod += "perl-module-strict"
-RDEPENDS_perl-module-pod-perldoc-topod += "perl-module-vars"
-RDEPENDS_perl-module-pod-perldoc-topod += "perl-module-warnings"
-RDEPENDS_perl-module-pod-perldoc-tortf += "perl-module-parent"
-RDEPENDS_perl-module-pod-perldoc-tortf += "perl-module-strict"
-RDEPENDS_perl-module-pod-perldoc-tortf += "perl-module-vars"
-RDEPENDS_perl-module-pod-perldoc-tortf += "perl-module-warnings"
-RDEPENDS_perl-module-pod-perldoc-toterm += "perl-module-parent"
-RDEPENDS_perl-module-pod-perldoc-toterm += "perl-module-pod-text-termcap"
-RDEPENDS_perl-module-pod-perldoc-toterm += "perl-module-strict"
-RDEPENDS_perl-module-pod-perldoc-toterm += "perl-module-vars"
-RDEPENDS_perl-module-pod-perldoc-toterm += "perl-module-warnings"
-RDEPENDS_perl-module-pod-perldoc-totext += "perl-module-parent"
-RDEPENDS_perl-module-pod-perldoc-totext += "perl-module-pod-text"
-RDEPENDS_perl-module-pod-perldoc-totext += "perl-module-strict"
-RDEPENDS_perl-module-pod-perldoc-totext += "perl-module-vars"
-RDEPENDS_perl-module-pod-perldoc-totext += "perl-module-warnings"
-RDEPENDS_perl-module-pod-perldoc-toxml += "perl-module-parent"
-RDEPENDS_perl-module-pod-perldoc-toxml += "perl-module-strict"
-RDEPENDS_perl-module-pod-perldoc-toxml += "perl-module-vars"
-RDEPENDS_perl-module-pod-perldoc-toxml += "perl-module-warnings"
-RDEPENDS_perl-module-pod-simple-blackbox += "perl-module-if"
-RDEPENDS_perl-module-pod-simple-blackbox += "perl-module-integer"
-RDEPENDS_perl-module-pod-simple-blackbox += "perl-module-pod-simple"
-RDEPENDS_perl-module-pod-simple-blackbox += "perl-module-pod-simple-transcode"
-RDEPENDS_perl-module-pod-simple-blackbox += "perl-module-strict"
-RDEPENDS_perl-module-pod-simple-blackbox += "perl-module-vars"
-RDEPENDS_perl-module-pod-simple-checker += "perl-module-pod-simple"
-RDEPENDS_perl-module-pod-simple-checker += "perl-module-pod-simple-methody"
-RDEPENDS_perl-module-pod-simple-checker += "perl-module-strict"
-RDEPENDS_perl-module-pod-simple-checker += "perl-module-text-wrap"
-RDEPENDS_perl-module-pod-simple-checker += "perl-module-vars"
-RDEPENDS_perl-module-pod-simple-debug += "perl-module-pod-simple"
-RDEPENDS_perl-module-pod-simple-debug += "perl-module-strict"
-RDEPENDS_perl-module-pod-simple-debug += "perl-module-vars"
-RDEPENDS_perl-module-pod-simple-dumpastext += "perl-module-pod-simple"
-RDEPENDS_perl-module-pod-simple-dumpastext += "perl-module-strict"
-RDEPENDS_perl-module-pod-simple-dumpasxml += "perl-module-pod-simple"
-RDEPENDS_perl-module-pod-simple-dumpasxml += "perl-module-strict"
-RDEPENDS_perl-module-pod-simple-dumpasxml += "perl-module-text-wrap"
-RDEPENDS_perl-module-pod-simple-justpod += "perl-module-pod-simple-methody"
-RDEPENDS_perl-module-pod-simple-justpod += "perl-module-strict"
-RDEPENDS_perl-module-pod-simple-justpod += "perl-module-warnings"
-RDEPENDS_perl-module-pod-simple-linksection += "perl-module-overload"
-RDEPENDS_perl-module-pod-simple-linksection += "perl-module-pod-simple-blackbox"
-RDEPENDS_perl-module-pod-simple-linksection += "perl-module-strict"
-RDEPENDS_perl-module-pod-simple-linksection += "perl-module-vars"
-RDEPENDS_perl-module-pod-simple-methody += "perl-module-pod-simple"
-RDEPENDS_perl-module-pod-simple-methody += "perl-module-strict"
-RDEPENDS_perl-module-pod-simple-methody += "perl-module-vars"
-RDEPENDS_perl-module-pod-simple += "perl-module-integer"
-RDEPENDS_perl-module-pod-simple += "perl-module-pod-escapes"
-RDEPENDS_perl-module-pod-simple += "perl-module-pod-simple-blackbox"
-RDEPENDS_perl-module-pod-simple += "perl-module-pod-simple-linksection"
-RDEPENDS_perl-module-pod-simple += "perl-module-pod-simple-tiedoutfh"
-RDEPENDS_perl-module-pod-simple += "perl-module-strict"
-RDEPENDS_perl-module-pod-simple += "perl-module-vars"
-RDEPENDS_perl-module-pod-simple-progress += "perl-module-strict"
-RDEPENDS_perl-module-pod-simple-pullparserendtoken += "perl-module-pod-simple-pullparsertoken"
-RDEPENDS_perl-module-pod-simple-pullparserendtoken += "perl-module-strict"
-RDEPENDS_perl-module-pod-simple-pullparserendtoken += "perl-module-vars"
-RDEPENDS_perl-module-pod-simple-pullparser += "perl-module-pod-simple"
-RDEPENDS_perl-module-pod-simple-pullparser += "perl-module-pod-simple-pullparserendtoken"
-RDEPENDS_perl-module-pod-simple-pullparser += "perl-module-pod-simple-pullparserstarttoken"
-RDEPENDS_perl-module-pod-simple-pullparser += "perl-module-pod-simple-pullparsertexttoken"
-RDEPENDS_perl-module-pod-simple-pullparser += "perl-module-strict"
-RDEPENDS_perl-module-pod-simple-pullparserstarttoken += "perl-module-pod-simple-pullparsertoken"
-RDEPENDS_perl-module-pod-simple-pullparserstarttoken += "perl-module-strict"
-RDEPENDS_perl-module-pod-simple-pullparserstarttoken += "perl-module-vars"
-RDEPENDS_perl-module-pod-simple-pullparsertexttoken += "perl-module-pod-simple-pullparsertoken"
-RDEPENDS_perl-module-pod-simple-pullparsertexttoken += "perl-module-strict"
-RDEPENDS_perl-module-pod-simple-pullparsertexttoken += "perl-module-vars"
-RDEPENDS_perl-module-pod-simple-pullparsertoken += "perl-module-strict"
-RDEPENDS_perl-module-pod-simple-rtf += "perl-module-if"
-RDEPENDS_perl-module-pod-simple-rtf += "perl-module-integer"
-RDEPENDS_perl-module-pod-simple-rtf += "perl-module-pod-simple-pullparser"
-RDEPENDS_perl-module-pod-simple-rtf += "perl-module-strict"
-RDEPENDS_perl-module-pod-simple-rtf += "perl-module-vars"
-RDEPENDS_perl-module-pod-simple-search += "perl-module-config"
-RDEPENDS_perl-module-pod-simple-search += "perl-module-cwd"
-RDEPENDS_perl-module-pod-simple-search += "perl-module-file-basename"
-RDEPENDS_perl-module-pod-simple-search += "perl-module-strict"
-RDEPENDS_perl-module-pod-simple-search += "perl-module-vars"
-RDEPENDS_perl-module-pod-simple-simpletree += "perl-module-pod-simple"
-RDEPENDS_perl-module-pod-simple-simpletree += "perl-module-strict"
-RDEPENDS_perl-module-pod-simple-simpletree += "perl-module-vars"
-RDEPENDS_perl-module-pod-simple-textcontent += "perl-module-pod-simple"
-RDEPENDS_perl-module-pod-simple-textcontent += "perl-module-strict"
-RDEPENDS_perl-module-pod-simple-textcontent += "perl-module-vars"
-RDEPENDS_perl-module-pod-simple-text += "perl-module-pod-simple"
-RDEPENDS_perl-module-pod-simple-text += "perl-module-pod-simple-methody"
-RDEPENDS_perl-module-pod-simple-text += "perl-module-strict"
-RDEPENDS_perl-module-pod-simple-text += "perl-module-text-wrap"
-RDEPENDS_perl-module-pod-simple-text += "perl-module-vars"
-RDEPENDS_perl-module-pod-simple-tiedoutfh += "perl-module-strict"
-RDEPENDS_perl-module-pod-simple-tiedoutfh += "perl-module-vars"
-RDEPENDS_perl-module-pod-simple-transcodedumb += "perl-module-strict"
-RDEPENDS_perl-module-pod-simple-transcodedumb += "perl-module-vars"
-RDEPENDS_perl-module-pod-simple-transcode += "perl-module-strict"
-RDEPENDS_perl-module-pod-simple-transcode += "perl-module-vars"
-RDEPENDS_perl-module-pod-simple-transcodesmart += "perl-module-encode"
-RDEPENDS_perl-module-pod-simple-transcodesmart += "perl-module-pod-simple"
-RDEPENDS_perl-module-pod-simple-transcodesmart += "perl-module-strict"
-RDEPENDS_perl-module-pod-simple-transcodesmart += "perl-module-vars"
-RDEPENDS_perl-module-pod-simple-xmloutstream += "perl-module-pod-simple"
-RDEPENDS_perl-module-pod-simple-xmloutstream += "perl-module-strict"
-RDEPENDS_perl-module-pod-simple-xmloutstream += "perl-module-vars"
-RDEPENDS_perl-module-pod-text-color += "perl-module-pod-text"
-RDEPENDS_perl-module-pod-text-color += "perl-module-strict"
-RDEPENDS_perl-module-pod-text-color += "perl-module-term-ansicolor"
-RDEPENDS_perl-module-pod-text-color += "perl-module-vars"
-RDEPENDS_perl-module-pod-text-color += "perl-module-warnings"
-RDEPENDS_perl-module-pod-text-overstrike += "perl-module-pod-text"
-RDEPENDS_perl-module-pod-text-overstrike += "perl-module-strict"
-RDEPENDS_perl-module-pod-text-overstrike += "perl-module-vars"
-RDEPENDS_perl-module-pod-text-overstrike += "perl-module-warnings"
-RDEPENDS_perl-module-pod-text += "perl-module-encode"
-RDEPENDS_perl-module-pod-text += "perl-module-exporter"
-RDEPENDS_perl-module-pod-text += "perl-module-pod-simple"
-RDEPENDS_perl-module-pod-text += "perl-module-strict"
-RDEPENDS_perl-module-pod-text += "perl-module-vars"
-RDEPENDS_perl-module-pod-text += "perl-module-warnings"
-RDEPENDS_perl-module-pod-text-termcap += "perl-module-pod-text"
-RDEPENDS_perl-module-pod-text-termcap += "perl-module-posix"
-RDEPENDS_perl-module-pod-text-termcap += "perl-module-strict"
-RDEPENDS_perl-module-pod-text-termcap += "perl-module-term-cap"
-RDEPENDS_perl-module-pod-text-termcap += "perl-module-vars"
-RDEPENDS_perl-module-pod-text-termcap += "perl-module-warnings"
-RDEPENDS_perl-module-pod-usage += "perl-module-config"
-RDEPENDS_perl-module-pod-usage += "perl-module-exporter"
-RDEPENDS_perl-module-pod-usage += "perl-module-strict"
-RDEPENDS_perl-module-pod-usage += "perl-module-vars"
-RDEPENDS_perl-module-posix += "perl-module-exporter"
-RDEPENDS_perl-module-posix += "perl-module-fcntl"
-RDEPENDS_perl-module-posix += "perl-module-strict"
-RDEPENDS_perl-module-posix += "perl-module-tie-hash"
-RDEPENDS_perl-module-posix += "perl-module-warnings"
-RDEPENDS_perl-module-posix += "perl-module-xsloader"
-RDEPENDS_perl-module-re += "perl-module-exporter"
-RDEPENDS_perl-module-re += "perl-module-strict"
-RDEPENDS_perl-module-re += "perl-module-term-cap"
-RDEPENDS_perl-module-re += "perl-module-warnings"
-RDEPENDS_perl-module-re += "perl-module-xsloader"
-RDEPENDS_perl-module-safe += "perl-module-b"
-RDEPENDS_perl-module-safe += "perl-module-opcode"
-RDEPENDS_perl-module-safe += "perl-module-strict"
-RDEPENDS_perl-module-safe += "perl-module-utf8"
-RDEPENDS_perl-module-sdbm-file += "perl-module-exporter"
-RDEPENDS_perl-module-sdbm-file += "perl-module-strict"
-RDEPENDS_perl-module-sdbm-file += "perl-module-tie-hash"
-RDEPENDS_perl-module-sdbm-file += "perl-module-warnings"
-RDEPENDS_perl-module-sdbm-file += "perl-module-xsloader"
-RDEPENDS_perl-module-search-dict += "perl-module-exporter"
-RDEPENDS_perl-module-search-dict += "perl-module-feature"
-RDEPENDS_perl-module-search-dict += "perl-module-strict"
-RDEPENDS_perl-module-selfloader += "perl-module-exporter"
-RDEPENDS_perl-module-selfloader += "perl-module-io-handle"
-RDEPENDS_perl-module-selfloader += "perl-module-strict"
-RDEPENDS_perl-module-socket += "perl-module-exporter"
-RDEPENDS_perl-module-socket += "perl-module-strict"
-RDEPENDS_perl-module-socket += "perl-module-warnings-register"
-RDEPENDS_perl-module-socket += "perl-module-xsloader"
-RDEPENDS_perl-module-sort += "perl-module-strict"
-RDEPENDS_perl-module-storable += "perl-module-exporter"
-RDEPENDS_perl-module-storable += "perl-module-io-file"
-RDEPENDS_perl-module-sub-util += "perl-module-exporter"
-RDEPENDS_perl-module-sub-util += "perl-module-list-util"
-RDEPENDS_perl-module-sub-util += "perl-module-strict"
-RDEPENDS_perl-module-sub-util += "perl-module-warnings"
-RDEPENDS_perl-module-sys-hostname += "perl-module-exporter"
-RDEPENDS_perl-module-sys-hostname += "perl-module-posix"
-RDEPENDS_perl-module-sys-hostname += "perl-module-strict"
-RDEPENDS_perl-module-sys-hostname += "perl-module-warnings"
-RDEPENDS_perl-module-sys-hostname += "perl-module-xsloader"
-RDEPENDS_perl-module-sys-syslog += "perl-module-config"
-RDEPENDS_perl-module-sys-syslog += "perl-module-constant"
-RDEPENDS_perl-module-sys-syslog += "perl-module-dynaloader"
-RDEPENDS_perl-module-sys-syslog += "perl-module-exporter"
-RDEPENDS_perl-module-sys-syslog += "perl-module-fcntl"
-RDEPENDS_perl-module-sys-syslog += "perl-module-file-basename"
-RDEPENDS_perl-module-sys-syslog += "perl-module-posix"
-RDEPENDS_perl-module-sys-syslog += "perl-module-socket"
-RDEPENDS_perl-module-sys-syslog += "perl-module-strict"
-RDEPENDS_perl-module-sys-syslog += "perl-module-sys-hostname"
-RDEPENDS_perl-module-sys-syslog += "perl-module-vars"
-RDEPENDS_perl-module-sys-syslog += "perl-module-warnings"
-RDEPENDS_perl-module-sys-syslog += "perl-module-warnings-register"
-RDEPENDS_perl-module-sys-syslog += "perl-module-xsloader"
-RDEPENDS_perl-module-tap-base += "perl-module-base"
-RDEPENDS_perl-module-tap-base += "perl-module-constant"
-RDEPENDS_perl-module-tap-base += "perl-module-strict"
-RDEPENDS_perl-module-tap-base += "perl-module-warnings"
-RDEPENDS_perl-module-tap-formatter-base += "perl-module-base"
-RDEPENDS_perl-module-tap-formatter-base += "perl-module-posix"
-RDEPENDS_perl-module-tap-formatter-base += "perl-module-strict"
-RDEPENDS_perl-module-tap-formatter-base += "perl-module-tap-formatter-color"
-RDEPENDS_perl-module-tap-formatter-base += "perl-module-warnings"
-RDEPENDS_perl-module-tap-formatter-color += "perl-module-base"
-RDEPENDS_perl-module-tap-formatter-color += "perl-module-constant"
-RDEPENDS_perl-module-tap-formatter-color += "perl-module-strict"
-RDEPENDS_perl-module-tap-formatter-color += "perl-module-warnings"
-RDEPENDS_perl-module-tap-formatter-console-parallelsession += "perl-module-base"
-RDEPENDS_perl-module-tap-formatter-console-parallelsession += "perl-module-constant"
-RDEPENDS_perl-module-tap-formatter-console-parallelsession += "perl-module-file-path"
-RDEPENDS_perl-module-tap-formatter-console-parallelsession += "perl-module-strict"
-RDEPENDS_perl-module-tap-formatter-console-parallelsession += "perl-module-warnings"
-RDEPENDS_perl-module-tap-formatter-console += "perl-module-base"
-RDEPENDS_perl-module-tap-formatter-console += "perl-module-posix"
-RDEPENDS_perl-module-tap-formatter-console += "perl-module-strict"
-RDEPENDS_perl-module-tap-formatter-console += "perl-module-warnings"
-RDEPENDS_perl-module-tap-formatter-console-session += "perl-module-base"
-RDEPENDS_perl-module-tap-formatter-console-session += "perl-module-strict"
-RDEPENDS_perl-module-tap-formatter-console-session += "perl-module-warnings"
-RDEPENDS_perl-module-tap-formatter-file += "perl-module-base"
-RDEPENDS_perl-module-tap-formatter-file += "perl-module-posix"
-RDEPENDS_perl-module-tap-formatter-file += "perl-module-strict"
-RDEPENDS_perl-module-tap-formatter-file += "perl-module-tap-formatter-file-session"
-RDEPENDS_perl-module-tap-formatter-file += "perl-module-warnings"
-RDEPENDS_perl-module-tap-formatter-file-session += "perl-module-base"
-RDEPENDS_perl-module-tap-formatter-file-session += "perl-module-strict"
-RDEPENDS_perl-module-tap-formatter-file-session += "perl-module-warnings"
-RDEPENDS_perl-module-tap-formatter-session += "perl-module-base"
-RDEPENDS_perl-module-tap-formatter-session += "perl-module-strict"
-RDEPENDS_perl-module-tap-formatter-session += "perl-module-warnings"
-RDEPENDS_perl-module-tap-harness-env += "perl-module-constant"
-RDEPENDS_perl-module-tap-harness-env += "perl-module-strict"
-RDEPENDS_perl-module-tap-harness-env += "perl-module-tap-object"
-RDEPENDS_perl-module-tap-harness-env += "perl-module-text-parsewords"
-RDEPENDS_perl-module-tap-harness-env += "perl-module-warnings"
-RDEPENDS_perl-module-tap-harness += "perl-module-base"
-RDEPENDS_perl-module-tap-harness += "perl-module-file-path"
-RDEPENDS_perl-module-tap-harness += "perl-module-io-handle"
-RDEPENDS_perl-module-tap-harness += "perl-module-strict"
-RDEPENDS_perl-module-tap-harness += "perl-module-warnings"
-RDEPENDS_perl-module-tap-object += "perl-module-strict"
-RDEPENDS_perl-module-tap-object += "perl-module-warnings"
-RDEPENDS_perl-module-tap-parser-aggregator += "perl-module-base"
-RDEPENDS_perl-module-tap-parser-aggregator += "perl-module-benchmark"
-RDEPENDS_perl-module-tap-parser-aggregator += "perl-module-strict"
-RDEPENDS_perl-module-tap-parser-aggregator += "perl-module-warnings"
-RDEPENDS_perl-module-tap-parser-grammar += "perl-module-base"
-RDEPENDS_perl-module-tap-parser-grammar += "perl-module-strict"
-RDEPENDS_perl-module-tap-parser-grammar += "perl-module-tap-parser-resultfactory"
-RDEPENDS_perl-module-tap-parser-grammar += "perl-module-tap-parser-yamlish-reader"
-RDEPENDS_perl-module-tap-parser-grammar += "perl-module-warnings"
-RDEPENDS_perl-module-tap-parser-iterator-array += "perl-module-base"
-RDEPENDS_perl-module-tap-parser-iterator-array += "perl-module-strict"
-RDEPENDS_perl-module-tap-parser-iterator-array += "perl-module-warnings"
-RDEPENDS_perl-module-tap-parser-iteratorfactory += "perl-module-base"
-RDEPENDS_perl-module-tap-parser-iteratorfactory += "perl-module-constant"
-RDEPENDS_perl-module-tap-parser-iteratorfactory += "perl-module-file-basename"
-RDEPENDS_perl-module-tap-parser-iteratorfactory += "perl-module-strict"
-RDEPENDS_perl-module-tap-parser-iteratorfactory += "perl-module-warnings"
-RDEPENDS_perl-module-tap-parser-iterator += "perl-module-base"
-RDEPENDS_perl-module-tap-parser-iterator += "perl-module-strict"
-RDEPENDS_perl-module-tap-parser-iterator += "perl-module-warnings"
-RDEPENDS_perl-module-tap-parser-iterator-process += "perl-module-base"
-RDEPENDS_perl-module-tap-parser-iterator-process += "perl-module-config"
-RDEPENDS_perl-module-tap-parser-iterator-process += "perl-module-io-handle"
-RDEPENDS_perl-module-tap-parser-iterator-process += "perl-module-strict"
-RDEPENDS_perl-module-tap-parser-iterator-process += "perl-module-warnings"
-RDEPENDS_perl-module-tap-parser-iterator-stream += "perl-module-base"
-RDEPENDS_perl-module-tap-parser-iterator-stream += "perl-module-strict"
-RDEPENDS_perl-module-tap-parser-iterator-stream += "perl-module-warnings"
-RDEPENDS_perl-module-tap-parser-multiplexer += "perl-module-base"
-RDEPENDS_perl-module-tap-parser-multiplexer += "perl-module-constant"
-RDEPENDS_perl-module-tap-parser-multiplexer += "perl-module-io-select"
-RDEPENDS_perl-module-tap-parser-multiplexer += "perl-module-strict"
-RDEPENDS_perl-module-tap-parser-multiplexer += "perl-module-warnings"
-RDEPENDS_perl-module-tap-parser += "perl-module-base"
-RDEPENDS_perl-module-tap-parser += "perl-module-strict"
-RDEPENDS_perl-module-tap-parser += "perl-module-tap-parser-grammar"
-RDEPENDS_perl-module-tap-parser += "perl-module-tap-parser-iterator"
-RDEPENDS_perl-module-tap-parser += "perl-module-tap-parser-iteratorfactory"
-RDEPENDS_perl-module-tap-parser += "perl-module-tap-parser-result"
-RDEPENDS_perl-module-tap-parser += "perl-module-tap-parser-resultfactory"
-RDEPENDS_perl-module-tap-parser += "perl-module-tap-parser-source"
-RDEPENDS_perl-module-tap-parser += "perl-module-tap-parser-sourcehandler-executable"
-RDEPENDS_perl-module-tap-parser += "perl-module-tap-parser-sourcehandler-file"
-RDEPENDS_perl-module-tap-parser += "perl-module-tap-parser-sourcehandler-handle"
-RDEPENDS_perl-module-tap-parser += "perl-module-tap-parser-sourcehandler-perl"
-RDEPENDS_perl-module-tap-parser += "perl-module-tap-parser-sourcehandler-rawtap"
-RDEPENDS_perl-module-tap-parser += "perl-module-warnings"
-RDEPENDS_perl-module-tap-parser-result-bailout += "perl-module-base"
-RDEPENDS_perl-module-tap-parser-result-bailout += "perl-module-strict"
-RDEPENDS_perl-module-tap-parser-result-bailout += "perl-module-warnings"
-RDEPENDS_perl-module-tap-parser-result-comment += "perl-module-base"
-RDEPENDS_perl-module-tap-parser-result-comment += "perl-module-strict"
-RDEPENDS_perl-module-tap-parser-result-comment += "perl-module-warnings"
-RDEPENDS_perl-module-tap-parser-resultfactory += "perl-module-base"
-RDEPENDS_perl-module-tap-parser-resultfactory += "perl-module-strict"
-RDEPENDS_perl-module-tap-parser-resultfactory += "perl-module-tap-parser-result-bailout"
-RDEPENDS_perl-module-tap-parser-resultfactory += "perl-module-tap-parser-result-comment"
-RDEPENDS_perl-module-tap-parser-resultfactory += "perl-module-tap-parser-result-plan"
-RDEPENDS_perl-module-tap-parser-resultfactory += "perl-module-tap-parser-result-pragma"
-RDEPENDS_perl-module-tap-parser-resultfactory += "perl-module-tap-parser-result-test"
-RDEPENDS_perl-module-tap-parser-resultfactory += "perl-module-tap-parser-result-unknown"
-RDEPENDS_perl-module-tap-parser-resultfactory += "perl-module-tap-parser-result-version"
-RDEPENDS_perl-module-tap-parser-resultfactory += "perl-module-tap-parser-result-yaml"
-RDEPENDS_perl-module-tap-parser-resultfactory += "perl-module-warnings"
-RDEPENDS_perl-module-tap-parser-result += "perl-module-base"
-RDEPENDS_perl-module-tap-parser-result += "perl-module-strict"
-RDEPENDS_perl-module-tap-parser-result += "perl-module-warnings"
-RDEPENDS_perl-module-tap-parser-result-plan += "perl-module-base"
-RDEPENDS_perl-module-tap-parser-result-plan += "perl-module-strict"
-RDEPENDS_perl-module-tap-parser-result-plan += "perl-module-warnings"
-RDEPENDS_perl-module-tap-parser-result-pragma += "perl-module-base"
-RDEPENDS_perl-module-tap-parser-result-pragma += "perl-module-strict"
-RDEPENDS_perl-module-tap-parser-result-pragma += "perl-module-warnings"
-RDEPENDS_perl-module-tap-parser-result-test += "perl-module-base"
-RDEPENDS_perl-module-tap-parser-result-test += "perl-module-strict"
-RDEPENDS_perl-module-tap-parser-result-test += "perl-module-warnings"
-RDEPENDS_perl-module-tap-parser-result-unknown += "perl-module-base"
-RDEPENDS_perl-module-tap-parser-result-unknown += "perl-module-strict"
-RDEPENDS_perl-module-tap-parser-result-unknown += "perl-module-warnings"
-RDEPENDS_perl-module-tap-parser-result-version += "perl-module-base"
-RDEPENDS_perl-module-tap-parser-result-version += "perl-module-strict"
-RDEPENDS_perl-module-tap-parser-result-version += "perl-module-warnings"
-RDEPENDS_perl-module-tap-parser-result-yaml += "perl-module-base"
-RDEPENDS_perl-module-tap-parser-result-yaml += "perl-module-strict"
-RDEPENDS_perl-module-tap-parser-result-yaml += "perl-module-warnings"
-RDEPENDS_perl-module-tap-parser-scheduler-job += "perl-module-strict"
-RDEPENDS_perl-module-tap-parser-scheduler-job += "perl-module-warnings"
-RDEPENDS_perl-module-tap-parser-scheduler += "perl-module-strict"
-RDEPENDS_perl-module-tap-parser-scheduler += "perl-module-tap-parser-scheduler-job"
-RDEPENDS_perl-module-tap-parser-scheduler += "perl-module-tap-parser-scheduler-spinner"
-RDEPENDS_perl-module-tap-parser-scheduler += "perl-module-warnings"
-RDEPENDS_perl-module-tap-parser-scheduler-spinner += "perl-module-strict"
-RDEPENDS_perl-module-tap-parser-scheduler-spinner += "perl-module-warnings"
-RDEPENDS_perl-module-tap-parser-sourcehandler-executable += "perl-module-base"
-RDEPENDS_perl-module-tap-parser-sourcehandler-executable += "perl-module-constant"
-RDEPENDS_perl-module-tap-parser-sourcehandler-executable += "perl-module-strict"
-RDEPENDS_perl-module-tap-parser-sourcehandler-executable += "perl-module-tap-parser-iteratorfactory"
-RDEPENDS_perl-module-tap-parser-sourcehandler-executable += "perl-module-tap-parser-iterator-process"
-RDEPENDS_perl-module-tap-parser-sourcehandler-executable += "perl-module-warnings"
-RDEPENDS_perl-module-tap-parser-sourcehandler-file += "perl-module-base"
-RDEPENDS_perl-module-tap-parser-sourcehandler-file += "perl-module-constant"
-RDEPENDS_perl-module-tap-parser-sourcehandler-file += "perl-module-strict"
-RDEPENDS_perl-module-tap-parser-sourcehandler-file += "perl-module-tap-parser-iteratorfactory"
-RDEPENDS_perl-module-tap-parser-sourcehandler-file += "perl-module-tap-parser-iterator-stream"
-RDEPENDS_perl-module-tap-parser-sourcehandler-file += "perl-module-warnings"
-RDEPENDS_perl-module-tap-parser-sourcehandler-handle += "perl-module-base"
-RDEPENDS_perl-module-tap-parser-sourcehandler-handle += "perl-module-constant"
-RDEPENDS_perl-module-tap-parser-sourcehandler-handle += "perl-module-strict"
-RDEPENDS_perl-module-tap-parser-sourcehandler-handle += "perl-module-tap-parser-iteratorfactory"
-RDEPENDS_perl-module-tap-parser-sourcehandler-handle += "perl-module-tap-parser-iterator-stream"
-RDEPENDS_perl-module-tap-parser-sourcehandler-handle += "perl-module-warnings"
-RDEPENDS_perl-module-tap-parser-sourcehandler += "perl-module-base"
-RDEPENDS_perl-module-tap-parser-sourcehandler += "perl-module-strict"
-RDEPENDS_perl-module-tap-parser-sourcehandler += "perl-module-tap-parser-iterator"
-RDEPENDS_perl-module-tap-parser-sourcehandler += "perl-module-warnings"
-RDEPENDS_perl-module-tap-parser-sourcehandler-perl += "perl-module-base"
-RDEPENDS_perl-module-tap-parser-sourcehandler-perl += "perl-module-config"
-RDEPENDS_perl-module-tap-parser-sourcehandler-perl += "perl-module-constant"
-RDEPENDS_perl-module-tap-parser-sourcehandler-perl += "perl-module-strict"
-RDEPENDS_perl-module-tap-parser-sourcehandler-perl += "perl-module-tap-parser-iteratorfactory"
-RDEPENDS_perl-module-tap-parser-sourcehandler-perl += "perl-module-tap-parser-iterator-process"
-RDEPENDS_perl-module-tap-parser-sourcehandler-perl += "perl-module-text-parsewords"
-RDEPENDS_perl-module-tap-parser-sourcehandler-perl += "perl-module-warnings"
-RDEPENDS_perl-module-tap-parser-sourcehandler-rawtap += "perl-module-base"
-RDEPENDS_perl-module-tap-parser-sourcehandler-rawtap += "perl-module-strict"
-RDEPENDS_perl-module-tap-parser-sourcehandler-rawtap += "perl-module-tap-parser-iterator-array"
-RDEPENDS_perl-module-tap-parser-sourcehandler-rawtap += "perl-module-tap-parser-iteratorfactory"
-RDEPENDS_perl-module-tap-parser-sourcehandler-rawtap += "perl-module-warnings"
-RDEPENDS_perl-module-tap-parser-source += "perl-module-base"
-RDEPENDS_perl-module-tap-parser-source += "perl-module-constant"
-RDEPENDS_perl-module-tap-parser-source += "perl-module-file-basename"
-RDEPENDS_perl-module-tap-parser-source += "perl-module-strict"
-RDEPENDS_perl-module-tap-parser-source += "perl-module-warnings"
-RDEPENDS_perl-module-tap-parser-yamlish-reader += "perl-module-base"
-RDEPENDS_perl-module-tap-parser-yamlish-reader += "perl-module-strict"
-RDEPENDS_perl-module-tap-parser-yamlish-reader += "perl-module-warnings"
-RDEPENDS_perl-module-tap-parser-yamlish-writer += "perl-module-base"
-RDEPENDS_perl-module-tap-parser-yamlish-writer += "perl-module-strict"
-RDEPENDS_perl-module-tap-parser-yamlish-writer += "perl-module-warnings"
-RDEPENDS_perl-module-term-ansicolor += "perl-module-exporter"
-RDEPENDS_perl-module-term-ansicolor += "perl-module-strict"
-RDEPENDS_perl-module-term-ansicolor += "perl-module-warnings"
-RDEPENDS_perl-module-term-cap += "perl-module-strict"
-RDEPENDS_perl-module-term-cap += "perl-module-vars"
-RDEPENDS_perl-module-term-complete += "perl-module-exporter"
-RDEPENDS_perl-module-term-complete += "perl-module-strict"
-RDEPENDS_perl-module-term-readline += "perl-module-strict"
-RDEPENDS_perl-module-term-readline += "perl-module-term-cap"
-RDEPENDS_perl-module-test-builder-formatter += "perl-module-strict"
-RDEPENDS_perl-module-test-builder-formatter += "perl-module-warnings"
-RDEPENDS_perl-module-test-builder-module += "perl-module-exporter"
-RDEPENDS_perl-module-test-builder-module += "perl-module-strict"
-RDEPENDS_perl-module-test-builder-module += "perl-module-test-builder"
-RDEPENDS_perl-module-test-builder += "perl-module-data-dumper"
-RDEPENDS_perl-module-test-builder += "perl-module-overload"
-RDEPENDS_perl-module-test-builder += "perl-module-strict"
-RDEPENDS_perl-module-test-builder += "perl-module-test-builder-formatter"
-RDEPENDS_perl-module-test-builder += "perl-module-test-builder-tododiag"
-RDEPENDS_perl-module-test-builder += "perl-module-warnings"
-RDEPENDS_perl-module-test-builder-tester-color += "perl-module-strict"
-RDEPENDS_perl-module-test-builder-tester-color += "perl-module-test-builder-tester"
-RDEPENDS_perl-module-test-builder-tester += "perl-module-exporter"
-RDEPENDS_perl-module-test-builder-tester += "perl-module-strict"
-RDEPENDS_perl-module-test-builder-tester += "perl-module-test-builder"
-RDEPENDS_perl-module-test-builder-tododiag += "perl-module-strict"
-RDEPENDS_perl-module-test-builder-tododiag += "perl-module-warnings"
-RDEPENDS_perl-module-test-harness += "perl-module-base"
-RDEPENDS_perl-module-test-harness += "perl-module-config"
-RDEPENDS_perl-module-test-harness += "perl-module-constant"
-RDEPENDS_perl-module-test-harness += "perl-module-strict"
-RDEPENDS_perl-module-test-harness += "perl-module-tap-harness"
-RDEPENDS_perl-module-test-harness += "perl-module-tap-parser-aggregator"
-RDEPENDS_perl-module-test-harness += "perl-module-tap-parser-source"
-RDEPENDS_perl-module-test-harness += "perl-module-tap-parser-sourcehandler-perl"
-RDEPENDS_perl-module-test-harness += "perl-module-text-parsewords"
-RDEPENDS_perl-module-test-harness += "perl-module-warnings"
-RDEPENDS_perl-module-test-more += "perl-module-strict"
-RDEPENDS_perl-module-test-more += "perl-module-test-builder-module"
-RDEPENDS_perl-module-test-more += "perl-module-warnings"
-RDEPENDS_perl-module-test += "perl-module-exporter"
-RDEPENDS_perl-module-test += "perl-module-file-temp"
-RDEPENDS_perl-module-test += "perl-module-strict"
-RDEPENDS_perl-module-test-simple += "perl-module-strict"
-RDEPENDS_perl-module-test-simple += "perl-module-test-builder-module"
-RDEPENDS_perl-module-test-tester-capture += "perl-module-config"
-RDEPENDS_perl-module-test-tester-capture += "perl-module-strict"
-RDEPENDS_perl-module-test-tester-capture += "perl-module-test-builder"
-RDEPENDS_perl-module-test-tester-capture += "perl-module-vars"
-RDEPENDS_perl-module-test-tester-capturerunner += "perl-module-exporter"
-RDEPENDS_perl-module-test-tester-capturerunner += "perl-module-strict"
-RDEPENDS_perl-module-test-tester-capturerunner += "perl-module-test-tester-capture"
-RDEPENDS_perl-module-test-tester-delegate += "perl-module-strict"
-RDEPENDS_perl-module-test-tester-delegate += "perl-module-vars"
-RDEPENDS_perl-module-test-tester-delegate += "perl-module-warnings"
-RDEPENDS_perl-module-test-tester += "perl-module-exporter"
-RDEPENDS_perl-module-test-tester += "perl-module-strict"
-RDEPENDS_perl-module-test-tester += "perl-module-test-builder"
-RDEPENDS_perl-module-test-tester += "perl-module-test-tester-capturerunner"
-RDEPENDS_perl-module-test-tester += "perl-module-test-tester-delegate"
-RDEPENDS_perl-module-test-tester += "perl-module-vars"
-RDEPENDS_perl-module-text-abbrev += "perl-module-exporter"
-RDEPENDS_perl-module-text-balanced += "perl-module-exporter"
-RDEPENDS_perl-module-text-balanced += "perl-module-overload"
-RDEPENDS_perl-module-text-balanced += "perl-module-selfloader"
-RDEPENDS_perl-module-text-balanced += "perl-module-strict"
-RDEPENDS_perl-module-text-balanced += "perl-module-vars"
-RDEPENDS_perl-module-text-parsewords += "perl-module-exporter"
-RDEPENDS_perl-module-text-parsewords += "perl-module-strict"
-RDEPENDS_perl-module-text-tabs += "perl-module-exporter"
-RDEPENDS_perl-module-text-tabs += "perl-module-strict"
-RDEPENDS_perl-module-text-tabs += "perl-module-vars"
-RDEPENDS_perl-module-text-wrap += "perl-module-exporter"
-RDEPENDS_perl-module-text-wrap += "perl-module-re"
-RDEPENDS_perl-module-text-wrap += "perl-module-strict"
-RDEPENDS_perl-module-text-wrap += "perl-module-text-tabs"
-RDEPENDS_perl-module-text-wrap += "perl-module-vars"
-RDEPENDS_perl-module-text-wrap += "perl-module-warnings-register"
-RDEPENDS_perl-module-thread += "perl-module-config"
-RDEPENDS_perl-module-thread += "perl-module-exporter"
-RDEPENDS_perl-module-thread += "perl-module-strict"
-RDEPENDS_perl-module-thread += "perl-module-threads"
-RDEPENDS_perl-module-thread += "perl-module-threads-shared"
-RDEPENDS_perl-module-thread += "perl-module-warnings"
-RDEPENDS_perl-module-thread-queue += "perl-module-strict"
-RDEPENDS_perl-module-thread-queue += "perl-module-threads-shared"
-RDEPENDS_perl-module-thread-queue += "perl-module-warnings"
-RDEPENDS_perl-module-thread-semaphore += "perl-module-strict"
-RDEPENDS_perl-module-thread-semaphore += "perl-module-threads-shared"
-RDEPENDS_perl-module-thread-semaphore += "perl-module-warnings"
-RDEPENDS_perl-module-threads += "perl-module-config"
-RDEPENDS_perl-module-threads += "perl-module-overload"
-RDEPENDS_perl-module-threads += "perl-module-strict"
-RDEPENDS_perl-module-threads += "perl-module-warnings"
-RDEPENDS_perl-module-threads += "perl-module-xsloader"
-RDEPENDS_perl-module-threads-shared += "perl-module-config"
-RDEPENDS_perl-module-threads-shared += "perl-module-strict"
-RDEPENDS_perl-module-threads-shared += "perl-module-warnings"
-RDEPENDS_perl-module-threads-shared += "perl-module-xsloader"
-RDEPENDS_perl-module-tie-array += "perl-module-strict"
-RDEPENDS_perl-module-tie-file += "perl-module-fcntl"
-RDEPENDS_perl-module-tie-file += "perl-module-posix"
-RDEPENDS_perl-module-tie-file += "perl-module-strict"
-RDEPENDS_perl-module-tie-file += "perl-module-warnings"
-RDEPENDS_perl-module-tie-handle += "perl-module-tie-stdhandle"
-RDEPENDS_perl-module-tie-handle += "perl-module-warnings-register"
-RDEPENDS_perl-module-tie-hash-namedcapture += "perl-module-strict"
-RDEPENDS_perl-module-tie-hash += "perl-module-warnings-register"
-RDEPENDS_perl-module-tie-memoize += "perl-module-strict"
-RDEPENDS_perl-module-tie-memoize += "perl-module-tie-hash"
-RDEPENDS_perl-module-tie-refhash += "perl-module-config"
-RDEPENDS_perl-module-tie-refhash += "perl-module-overload"
-RDEPENDS_perl-module-tie-refhash += "perl-module-strict"
-RDEPENDS_perl-module-tie-refhash += "perl-module-tie-hash"
-RDEPENDS_perl-module-tie-refhash += "perl-module-vars"
-RDEPENDS_perl-module-tie-scalar += "perl-module-warnings-register"
-RDEPENDS_perl-module-tie-stdhandle += "perl-module-strict"
-RDEPENDS_perl-module-tie-stdhandle += "perl-module-tie-handle"
-RDEPENDS_perl-module-tie-substrhash += "perl-module-integer"
-RDEPENDS_perl-module-time-gmtime += "perl-module-exporter"
-RDEPENDS_perl-module-time-gmtime += "perl-module-strict"
-RDEPENDS_perl-module-time-gmtime += "perl-module-time-tm"
-RDEPENDS_perl-module-time-hires += "perl-module-exporter"
-RDEPENDS_perl-module-time-hires += "perl-module-strict"
-RDEPENDS_perl-module-time-hires += "perl-module-xsloader"
-RDEPENDS_perl-module-time-local += "perl-module-config"
-RDEPENDS_perl-module-time-local += "perl-module-constant"
-RDEPENDS_perl-module-time-local += "perl-module-exporter"
-RDEPENDS_perl-module-time-local += "perl-module-parent"
-RDEPENDS_perl-module-time-local += "perl-module-strict"
-RDEPENDS_perl-module-time-localtime += "perl-module-exporter"
-RDEPENDS_perl-module-time-localtime += "perl-module-strict"
-RDEPENDS_perl-module-time-localtime += "perl-module-time-tm"
-RDEPENDS_perl-module-time-piece += "perl-module-constant"
-RDEPENDS_perl-module-time-piece += "perl-module-exporter"
-RDEPENDS_perl-module-time-piece += "perl-module-integer"
-RDEPENDS_perl-module-time-piece += "perl-module-overload"
-RDEPENDS_perl-module-time-piece += "perl-module-strict"
-RDEPENDS_perl-module-time-piece += "perl-module-time-local"
-RDEPENDS_perl-module-time-piece += "perl-module-time-seconds"
-RDEPENDS_perl-module-time-piece += "perl-module-xsloader"
-RDEPENDS_perl-module-time-seconds += "perl-module-constant"
-RDEPENDS_perl-module-time-seconds += "perl-module-exporter"
-RDEPENDS_perl-module-time-seconds += "perl-module-overload"
-RDEPENDS_perl-module-time-seconds += "perl-module-strict"
-RDEPENDS_perl-module-time-tm += "perl-module-class-struct"
-RDEPENDS_perl-module-time-tm += "perl-module-strict"
-RDEPENDS_perl-module-unicode-collate-cjk-big5 += "perl-module-strict"
-RDEPENDS_perl-module-unicode-collate-cjk-big5 += "perl-module-warnings"
-RDEPENDS_perl-module-unicode-collate-cjk-gb2312 += "perl-module-strict"
-RDEPENDS_perl-module-unicode-collate-cjk-gb2312 += "perl-module-warnings"
-RDEPENDS_perl-module-unicode-collate-cjk-jisx0208 += "perl-module-strict"
-RDEPENDS_perl-module-unicode-collate-cjk-jisx0208 += "perl-module-warnings"
-RDEPENDS_perl-module-unicode-collate-cjk-korean += "perl-module-strict"
-RDEPENDS_perl-module-unicode-collate-cjk-korean += "perl-module-warnings"
-RDEPENDS_perl-module-unicode-collate-cjk-pinyin += "perl-module-strict"
-RDEPENDS_perl-module-unicode-collate-cjk-pinyin += "perl-module-warnings"
-RDEPENDS_perl-module-unicode-collate-cjk-stroke += "perl-module-strict"
-RDEPENDS_perl-module-unicode-collate-cjk-stroke += "perl-module-warnings"
-RDEPENDS_perl-module-unicode-collate-cjk-zhuyin += "perl-module-strict"
-RDEPENDS_perl-module-unicode-collate-cjk-zhuyin += "perl-module-warnings"
-RDEPENDS_perl-module-unicode-collate-locale += "perl-module-base"
-RDEPENDS_perl-module-unicode-collate-locale += "perl-module-strict"
-RDEPENDS_perl-module-unicode-collate-locale += "perl-module-warnings"
-RDEPENDS_perl-module-unicode-collate += "perl-module-constant"
-RDEPENDS_perl-module-unicode-collate += "perl-module-strict"
-RDEPENDS_perl-module-unicode-collate += "perl-module-warnings"
-RDEPENDS_perl-module-unicode-collate += "perl-module-xsloader"
-RDEPENDS_perl-module-unicode-normalize += "perl-module-exporter"
-RDEPENDS_perl-module-unicode-normalize += "perl-module-strict"
-RDEPENDS_perl-module-unicode-normalize += "perl-module-warnings"
-RDEPENDS_perl-module-unicode-normalize += "perl-module-xsloader"
-RDEPENDS_perl-module-unicode-ucd += "perl-module-charnames"
-RDEPENDS_perl-module-unicode-ucd += "perl-module-exporter"
-RDEPENDS_perl-module-unicode-ucd += "perl-module-feature"
-RDEPENDS_perl-module-unicode-ucd += "perl-module-if"
-RDEPENDS_perl-module-unicode-ucd += "perl-module-integer"
-RDEPENDS_perl-module-unicode-ucd += "perl-module-re"
-RDEPENDS_perl-module-unicode-ucd += "perl-module-strict"
-RDEPENDS_perl-module-unicode-ucd += "perl-module-unicode-normalize"
-RDEPENDS_perl-module-unicode-ucd += "perl-module-warnings"
-RDEPENDS_perl-module-user-grent += "perl-module-class-struct"
-RDEPENDS_perl-module-user-grent += "perl-module-exporter"
-RDEPENDS_perl-module-user-grent += "perl-module-strict"
-RDEPENDS_perl-module-user-pwent += "perl-module-class-struct"
-RDEPENDS_perl-module-user-pwent += "perl-module-config"
-RDEPENDS_perl-module-user-pwent += "perl-module-exporter"
-RDEPENDS_perl-module-user-pwent += "perl-module-strict"
-RDEPENDS_perl-module-user-pwent += "perl-module-warnings"
-RDEPENDS_perl-module-version += "perl-module-strict"
-RDEPENDS_perl-module-version += "perl-module-version-regex"
-RDEPENDS_perl-module-version += "perl-module-warnings-register"
-RDEPENDS_perl-module-version-regex += "perl-module-strict"
-RDEPENDS_perl-module-xsloader += "perl-module-dynaloader"
+
+# Some additional dependencies that the above doesn't manage to figure out
+RDEPENDS:perl-module-file-spec += "perl-module-file-spec-unix"
+RDEPENDS:perl-module-scalar-util += "perl-module-list-util"
+RDEPENDS:perl-module-file-temp += "perl-module-scalar-util"
+RDEPENDS:perl-module-file-temp += "perl-module-file-spec"
+RDEPENDS:perl-module-io-file += "perl-module-symbol"
+RDEPENDS:perl-module-io-file += "perl-module-carp"
+RDEPENDS:perl-module-math-bigint += "perl-module-math-bigint-calc"
+RDEPENDS:perl-module-test-builder += "perl-module-list-util"
+RDEPENDS:perl-module-test-builder += "perl-module-scalar-util"
+RDEPENDS:perl-module-test-builder-formatter += "perl-module-test2-formatter-tap"
+RDEPENDS:perl-module-test2-api += "perl-module-test2-event-fail"
+RDEPENDS:perl-module-test2-api += "perl-module-test2-event-pass"
+RDEPENDS:perl-module-test2-api += "perl-module-test2-event-v2"
+RDEPENDS:perl-module-test2-formatter-tap += "perl-module-test2-formatter"
+RDEPENDS:perl-module-thread-queue += "perl-module-attributes"
+RDEPENDS:perl-module-overload += "perl-module-overloading"
+
+# Generated depends list beyond this line
+RDEPENDS:perl-module-anydbm-file += "perl-module-strict"
+RDEPENDS:perl-module-anydbm-file += "perl-module-warnings"
+RDEPENDS:perl-module-app-cpan += "perl-module-config"
+RDEPENDS:perl-module-app-cpan += "perl-module-constant"
+RDEPENDS:perl-module-app-cpan += "perl-module-cpan"
+RDEPENDS:perl-module-app-cpan += "perl-module-cwd"
+RDEPENDS:perl-module-app-cpan += "perl-module-data-dumper"
+RDEPENDS:perl-module-app-cpan += "perl-module-file-basename"
+RDEPENDS:perl-module-app-cpan += "perl-module-file-find"
+RDEPENDS:perl-module-app-cpan += "perl-module-getopt-std"
+RDEPENDS:perl-module-app-cpan += "perl-module-if"
+RDEPENDS:perl-module-app-cpan += "perl-module-net-ping"
+RDEPENDS:perl-module-app-cpan += "perl-module-strict"
+RDEPENDS:perl-module-app-cpan += "perl-module-user-pwent"
+RDEPENDS:perl-module-app-cpan += "perl-module-vars"
+RDEPENDS:perl-module-app-cpan += "perl-module-warnings"
+RDEPENDS:perl-module-app-prove += "perl-module-app-prove-state"
+RDEPENDS:perl-module-app-prove += "perl-module-base"
+RDEPENDS:perl-module-app-prove += "perl-module-constant"
+RDEPENDS:perl-module-app-prove += "perl-module-getopt-long"
+RDEPENDS:perl-module-app-prove += "perl-module-strict"
+RDEPENDS:perl-module-app-prove += "perl-module-tap-harness"
+RDEPENDS:perl-module-app-prove += "perl-module-tap-harness-env"
+RDEPENDS:perl-module-app-prove += "perl-module-text-parsewords"
+RDEPENDS:perl-module-app-prove += "perl-module-warnings"
+RDEPENDS:perl-module-app-prove-state += "perl-module-app-prove-state-result"
+RDEPENDS:perl-module-app-prove-state += "perl-module-base"
+RDEPENDS:perl-module-app-prove-state += "perl-module-constant"
+RDEPENDS:perl-module-app-prove-state += "perl-module-file-find"
+RDEPENDS:perl-module-app-prove-state += "perl-module-strict"
+RDEPENDS:perl-module-app-prove-state += "perl-module-tap-parser-yamlish-reader"
+RDEPENDS:perl-module-app-prove-state += "perl-module-tap-parser-yamlish-writer"
+RDEPENDS:perl-module-app-prove-state += "perl-module-warnings"
+RDEPENDS:perl-module-app-prove-state-result += "perl-module-app-prove-state-result-test"
+RDEPENDS:perl-module-app-prove-state-result += "perl-module-constant"
+RDEPENDS:perl-module-app-prove-state-result += "perl-module-strict"
+RDEPENDS:perl-module-app-prove-state-result += "perl-module-warnings"
+RDEPENDS:perl-module-app-prove-state-result-test += "perl-module-strict"
+RDEPENDS:perl-module-app-prove-state-result-test += "perl-module-warnings"
+RDEPENDS:perl-module-archive-tar-constant += "perl-module-constant"
+RDEPENDS:perl-module-archive-tar-constant += "perl-module-exporter"
+RDEPENDS:perl-module-archive-tar-constant += "perl-module-io-compress-bzip2"
+RDEPENDS:perl-module-archive-tar-constant += "perl-module-strict"
+RDEPENDS:perl-module-archive-tar-constant += "perl-module-time-local"
+RDEPENDS:perl-module-archive-tar-constant += "perl-module-vars"
+RDEPENDS:perl-module-archive-tar-constant += "perl-module-warnings"
+RDEPENDS:perl-module-archive-tar-file += "perl-module-archive-tar"
+RDEPENDS:perl-module-archive-tar-file += "perl-module-archive-tar-constant"
+RDEPENDS:perl-module-archive-tar-file += "perl-module-file-basename"
+RDEPENDS:perl-module-archive-tar-file += "perl-module-io-file"
+RDEPENDS:perl-module-archive-tar-file += "perl-module-strict"
+RDEPENDS:perl-module-archive-tar-file += "perl-module-vars"
+RDEPENDS:perl-module-archive-tar += "perl-module-archive-tar-constant"
+RDEPENDS:perl-module-archive-tar += "perl-module-archive-tar-file"
+RDEPENDS:perl-module-archive-tar += "perl-module-config"
+RDEPENDS:perl-module-archive-tar += "perl-module-cwd"
+RDEPENDS:perl-module-archive-tar += "perl-module-exporter"
+RDEPENDS:perl-module-archive-tar += "perl-module-file-path"
+RDEPENDS:perl-module-archive-tar += "perl-module-io-file"
+RDEPENDS:perl-module-archive-tar += "perl-module-io-zlib"
+RDEPENDS:perl-module-archive-tar += "perl-module-strict"
+RDEPENDS:perl-module-archive-tar += "perl-module-vars"
+RDEPENDS:perl-module-attribute-handlers += "perl-module-strict"
+RDEPENDS:perl-module-attribute-handlers += "perl-module-warnings"
+RDEPENDS:perl-module-attributes += "perl-module-exporter"
+RDEPENDS:perl-module-attributes += "perl-module-strict"
+RDEPENDS:perl-module-attributes += "perl-module-warnings"
+RDEPENDS:perl-module-attributes += "perl-module-xsloader"
+RDEPENDS:perl-module-autodie-exception += "perl-module-constant"
+RDEPENDS:perl-module-autodie-exception += "perl-module-fatal"
+RDEPENDS:perl-module-autodie-exception += "perl-module-fcntl"
+RDEPENDS:perl-module-autodie-exception += "perl-module-overload"
+RDEPENDS:perl-module-autodie-exception += "perl-module-strict"
+RDEPENDS:perl-module-autodie-exception += "perl-module-warnings"
+RDEPENDS:perl-module-autodie-exception-system += "perl-module-parent"
+RDEPENDS:perl-module-autodie-exception-system += "perl-module-strict"
+RDEPENDS:perl-module-autodie-exception-system += "perl-module-warnings"
+RDEPENDS:perl-module-autodie-hints += "perl-module-b"
+RDEPENDS:perl-module-autodie-hints += "perl-module-constant"
+RDEPENDS:perl-module-autodie-hints += "perl-module-strict"
+RDEPENDS:perl-module-autodie-hints += "perl-module-warnings"
+RDEPENDS:perl-module-autodie += "perl-module-constant"
+RDEPENDS:perl-module-autodie += "perl-module-lib"
+RDEPENDS:perl-module-autodie += "perl-module-parent"
+RDEPENDS:perl-module-autodie += "perl-module-strict"
+RDEPENDS:perl-module-autodie += "perl-module-warnings"
+RDEPENDS:perl-module-autodie-scope-guard += "perl-module-strict"
+RDEPENDS:perl-module-autodie-scope-guard += "perl-module-warnings"
+RDEPENDS:perl-module-autodie-scope-guardstack += "perl-module-autodie-scope-guard"
+RDEPENDS:perl-module-autodie-scope-guardstack += "perl-module-strict"
+RDEPENDS:perl-module-autodie-scope-guardstack += "perl-module-warnings"
+RDEPENDS:perl-module-autodie-skip += "perl-module-strict"
+RDEPENDS:perl-module-autodie-skip += "perl-module-warnings"
+RDEPENDS:perl-module-autodie-util += "perl-module-autodie-scope-guardstack"
+RDEPENDS:perl-module-autodie-util += "perl-module-exporter"
+RDEPENDS:perl-module-autodie-util += "perl-module-strict"
+RDEPENDS:perl-module-autodie-util += "perl-module-warnings"
+RDEPENDS:perl-module-autoloader += "perl-module-strict"
+RDEPENDS:perl-module-autosplit += "perl-module-config"
+RDEPENDS:perl-module-autosplit += "perl-module-exporter"
+RDEPENDS:perl-module-autosplit += "perl-module-file-basename"
+RDEPENDS:perl-module-autosplit += "perl-module-file-path"
+RDEPENDS:perl-module-autosplit += "perl-module-strict"
+RDEPENDS:perl-module-base += "perl-module-strict"
+RDEPENDS:perl-module-b-concise += "perl-module-b"
+RDEPENDS:perl-module-b-concise += "perl-module-b-op-private"
+RDEPENDS:perl-module-b-concise += "perl-module-config"
+RDEPENDS:perl-module-b-concise += "perl-module-exporter"
+RDEPENDS:perl-module-b-concise += "perl-module-feature"
+RDEPENDS:perl-module-b-concise += "perl-module-strict"
+RDEPENDS:perl-module-b-concise += "perl-module-warnings"
+RDEPENDS:perl-module-benchmark += "perl-module-exporter"
+RDEPENDS:perl-module-benchmark += "perl-module-strict"
+RDEPENDS:perl-module-bigfloat += "perl-module-constant"
+RDEPENDS:perl-module-bigfloat += "perl-module-exporter"
+RDEPENDS:perl-module-bigfloat += "perl-module-overload"
+RDEPENDS:perl-module-bigfloat += "perl-module-strict"
+RDEPENDS:perl-module-bigfloat += "perl-module-warnings"
+RDEPENDS:perl-module-bigint += "perl-module-constant"
+RDEPENDS:perl-module-bigint += "perl-module-exporter"
+RDEPENDS:perl-module-bigint += "perl-module-overload"
+RDEPENDS:perl-module-bigint += "perl-module-strict"
+RDEPENDS:perl-module-bigint += "perl-module-warnings"
+RDEPENDS:perl-module-bignum += "perl-module-constant"
+RDEPENDS:perl-module-bignum += "perl-module-exporter"
+RDEPENDS:perl-module-bignum += "perl-module-overload"
+RDEPENDS:perl-module-bignum += "perl-module-strict"
+RDEPENDS:perl-module-bignum += "perl-module-warnings"
+RDEPENDS:perl-module-bigrat += "perl-module-constant"
+RDEPENDS:perl-module-bigrat += "perl-module-exporter"
+RDEPENDS:perl-module-bigrat += "perl-module-overload"
+RDEPENDS:perl-module-bigrat += "perl-module-strict"
+RDEPENDS:perl-module-bigrat += "perl-module-warnings"
+RDEPENDS:perl-module-blib += "perl-module-cwd"
+RDEPENDS:perl-module-b += "perl-module-exporter"
+RDEPENDS:perl-module-b += "perl-module-xsloader"
+RDEPENDS:perl-module-b-showlex += "perl-module-b"
+RDEPENDS:perl-module-b-showlex += "perl-module-b-concise"
+RDEPENDS:perl-module-b-showlex += "perl-module-b-terse"
+RDEPENDS:perl-module-b-showlex += "perl-module-strict"
+RDEPENDS:perl-module-b-terse += "perl-module-b"
+RDEPENDS:perl-module-b-terse += "perl-module-b-concise"
+RDEPENDS:perl-module-b-terse += "perl-module-strict"
+RDEPENDS:perl-module-builtin += "perl-module-strict"
+RDEPENDS:perl-module-builtin += "perl-module-warnings"
+RDEPENDS:perl-module-b-xref += "perl-module-b"
+RDEPENDS:perl-module-b-xref += "perl-module-config"
+RDEPENDS:perl-module-b-xref += "perl-module-strict"
+RDEPENDS:perl-module-bytes += "perl-module-bytes-heavy"
+RDEPENDS:perl-module-bytes += "perl-module-strict"
+RDEPENDS:perl-module-bytes += "perl-module-warnings"
+RDEPENDS:perl-module--charnames += "perl-module-bytes"
+RDEPENDS:perl-module-charnames += "perl-module-bytes"
+RDEPENDS:perl-module-charnames += "perl-module--charnames"
+RDEPENDS:perl-module--charnames += "perl-module-re"
+RDEPENDS:perl-module-charnames += "perl-module-re"
+RDEPENDS:perl-module--charnames += "perl-module-strict"
+RDEPENDS:perl-module-charnames += "perl-module-strict"
+RDEPENDS:perl-module--charnames += "perl-module-warnings"
+RDEPENDS:perl-module-charnames += "perl-module-warnings"
+RDEPENDS:perl-module-class-struct += "perl-module-exporter"
+RDEPENDS:perl-module-class-struct += "perl-module-strict"
+RDEPENDS:perl-module-class-struct += "perl-module-warnings-register"
+RDEPENDS:perl-module-compress-raw-bzip2 += "perl-module-bytes "
+RDEPENDS:perl-module-compress-raw-bzip2 += "perl-module-constant"
+RDEPENDS:perl-module-compress-raw-bzip2 += "perl-module-dynaloader"
+RDEPENDS:perl-module-compress-raw-bzip2 += "perl-module-exporter"
+RDEPENDS:perl-module-compress-raw-bzip2 += "perl-module-strict "
+RDEPENDS:perl-module-compress-raw-bzip2 += "perl-module-warnings "
+RDEPENDS:perl-module-compress-raw-bzip2 += "perl-module-xsloader"
+RDEPENDS:perl-module-compress-raw-zlib += "perl-module-bytes "
+RDEPENDS:perl-module-compress-raw-zlib += "perl-module-constant"
+RDEPENDS:perl-module-compress-raw-zlib += "perl-module-dynaloader"
+RDEPENDS:perl-module-compress-raw-zlib += "perl-module-exporter"
+RDEPENDS:perl-module-compress-raw-zlib += "perl-module-strict "
+RDEPENDS:perl-module-compress-raw-zlib += "perl-module-warnings "
+RDEPENDS:perl-module-compress-raw-zlib += "perl-module-xsloader"
+RDEPENDS:perl-module-compress-zlib += "perl-module-bytes "
+RDEPENDS:perl-module-compress-zlib += "perl-module-compress-raw-zlib"
+RDEPENDS:perl-module-compress-zlib += "perl-module-constant"
+RDEPENDS:perl-module-compress-zlib += "perl-module-exporter"
+RDEPENDS:perl-module-compress-zlib += "perl-module-io-compress-base-common"
+RDEPENDS:perl-module-compress-zlib += "perl-module-io-compress-gzip"
+RDEPENDS:perl-module-compress-zlib += "perl-module-io-compress-gzip-constants"
+RDEPENDS:perl-module-compress-zlib += "perl-module-io-handle "
+RDEPENDS:perl-module-compress-zlib += "perl-module-io-uncompress-gunzip"
+RDEPENDS:perl-module-compress-zlib += "perl-module-strict "
+RDEPENDS:perl-module-compress-zlib += "perl-module-warnings "
+RDEPENDS:perl-module-config-extensions += "perl-module-config"
+RDEPENDS:perl-module-config-extensions += "perl-module-exporter"
+RDEPENDS:perl-module-config-extensions += "perl-module-strict"
+RDEPENDS:perl-module-config-perl-v += "perl-module-config"
+RDEPENDS:perl-module-config-perl-v += "perl-module-exporter"
+RDEPENDS:perl-module-config-perl-v += "perl-module-strict"
+RDEPENDS:perl-module-config-perl-v += "perl-module-vars"
+RDEPENDS:perl-module-config-perl-v += "perl-module-warnings"
+RDEPENDS:perl-module-constant += "perl-module-strict"
+RDEPENDS:perl-module-constant += "perl-module-warnings-register"
+RDEPENDS:perl-module-corelist += "perl-module-list-util"
+RDEPENDS:perl-module-corelist += "perl-module-corelist"
+RDEPENDS:perl-module-corelist += "perl-module-strict"
+RDEPENDS:perl-module-corelist += "perl-module-version"
+RDEPENDS:perl-module-corelist += "perl-module-warnings"
+RDEPENDS:perl-module-cpan += "perl-module-b"
+RDEPENDS:perl-module-cpan += "perl-module-config"
+RDEPENDS:perl-module-cpan += "perl-module-cwd"
+RDEPENDS:perl-module-cpan += "perl-module-data-dumper"
+RDEPENDS:perl-module-cpan += "perl-module-dirhandle"
+RDEPENDS:perl-module-cpan += "perl-module-errno"
+RDEPENDS:perl-module-cpan += "perl-module-exporter"
+RDEPENDS:perl-module-cpan += "perl-module-extutils-makemaker"
+RDEPENDS:perl-module-cpan += "perl-module-extutils-manifest"
+RDEPENDS:perl-module-cpan += "perl-module-fcntl"
+RDEPENDS:perl-module-cpan += "perl-module-file-basename"
+RDEPENDS:perl-module-cpan += "perl-module-file-copy"
+RDEPENDS:perl-module-cpan += "perl-module-file-find"
+RDEPENDS:perl-module-cpan += "perl-module-filehandle"
+RDEPENDS:perl-module-cpan += "perl-module-file-path"
+RDEPENDS:perl-module-cpan += "perl-module-json-pp"
+RDEPENDS:perl-module-cpan += "perl-module-lib"
+RDEPENDS:perl-module-cpan += "perl-module-net-ping"
+RDEPENDS:perl-module-cpan += "perl-module-overload"
+RDEPENDS:perl-module-cpan += "perl-module-posix"
+RDEPENDS:perl-module-cpan += "perl-module-safe"
+RDEPENDS:perl-module-cpan += "perl-module-strict"
+RDEPENDS:perl-module-cpan += "perl-module-sys-hostname"
+RDEPENDS:perl-module-cpan += "perl-module-term-readline"
+RDEPENDS:perl-module-cpan += "perl-module-text-parsewords"
+RDEPENDS:perl-module-cpan += "perl-module-text-wrap"
+RDEPENDS:perl-module-cpan += "perl-module-time-local"
+RDEPENDS:perl-module-cpan += "perl-module-vars"
+RDEPENDS:perl-module-cpan += "perl-module-warnings"
+RDEPENDS:perl-module-cwd += "perl-module-errno"
+RDEPENDS:perl-module-cwd += "perl-module-exporter"
+RDEPENDS:perl-module-cwd += "perl-module-strict"
+RDEPENDS:perl-module-cwd += "perl-module-xsloader"
+RDEPENDS:perl-module-data-dumper += "perl-module-constant"
+RDEPENDS:perl-module-data-dumper += "perl-module-exporter"
+RDEPENDS:perl-module-data-dumper += "perl-module-strict"
+RDEPENDS:perl-module-data-dumper += "perl-module-warnings"
+RDEPENDS:perl-module-data-dumper += "perl-module-xsloader"
+RDEPENDS:perl-module-dbm-filter-compress += "perl-module-strict"
+RDEPENDS:perl-module-dbm-filter-compress += "perl-module-warnings"
+RDEPENDS:perl-module-dbm-filter-encode += "perl-module-strict"
+RDEPENDS:perl-module-dbm-filter-encode += "perl-module-warnings"
+RDEPENDS:perl-module-dbm-filter-int32 += "perl-module-strict"
+RDEPENDS:perl-module-dbm-filter-int32 += "perl-module-warnings"
+RDEPENDS:perl-module-dbm-filter-null += "perl-module-strict"
+RDEPENDS:perl-module-dbm-filter-null += "perl-module-warnings"
+RDEPENDS:perl-module-dbm-filter += "perl-module-strict"
+RDEPENDS:perl-module-dbm-filter += "perl-module-warnings"
+RDEPENDS:perl-module-dbm-filter-utf8 += "perl-module-strict"
+RDEPENDS:perl-module-dbm-filter-utf8 += "perl-module-warnings"
+RDEPENDS:perl-module-db += "perl-module-strict"
+RDEPENDS:perl-module-deprecate += "perl-module-strict"
+RDEPENDS:perl-module-deprecate += "perl-module-warnings"
+RDEPENDS:perl-module-devel-peek += "perl-module-exporter"
+RDEPENDS:perl-module-devel-peek += "perl-module-xsloader"
+RDEPENDS:perl-module-devel-ppport += "perl-module-file-find"
+RDEPENDS:perl-module-devel-ppport += "perl-module-getopt-long"
+RDEPENDS:perl-module-devel-ppport += "perl-module-strict"
+RDEPENDS:perl-module-devel-ppport += "perl-module-vars"
+RDEPENDS:perl-module-devel-selfstubber += "perl-module-selfloader"
+RDEPENDS:perl-module-diagnostics += "perl-module-config"
+RDEPENDS:perl-module-diagnostics += "perl-module-getopt-std"
+RDEPENDS:perl-module-diagnostics += "perl-module-strict"
+RDEPENDS:perl-module-diagnostics += "perl-module-text-tabs"
+RDEPENDS:perl-module-digest-base += "perl-module-mime-base64"
+RDEPENDS:perl-module-digest-base += "perl-module-strict"
+RDEPENDS:perl-module-digest-base += "perl-module-warnings"
+RDEPENDS:perl-module-digest-file += "perl-module-digest"
+RDEPENDS:perl-module-digest-file += "perl-module-exporter"
+RDEPENDS:perl-module-digest-file += "perl-module-strict"
+RDEPENDS:perl-module-digest-file += "perl-module-warnings"
+RDEPENDS:perl-module-digest-md5 += "perl-module-digest-base"
+RDEPENDS:perl-module-digest-md5 += "perl-module-exporter"
+RDEPENDS:perl-module-digest-md5 += "perl-module-strict"
+RDEPENDS:perl-module-digest-md5 += "perl-module-warnings"
+RDEPENDS:perl-module-digest-md5 += "perl-module-xsloader"
+RDEPENDS:perl-module-digest += "perl-module-strict"
+RDEPENDS:perl-module-digest += "perl-module-warnings"
+RDEPENDS:perl-module-digest-sha += "perl-module-digest-base"
+RDEPENDS:perl-module-digest-sha += "perl-module-dynaloader"
+RDEPENDS:perl-module-digest-sha += "perl-module-exporter"
+RDEPENDS:perl-module-digest-sha += "perl-module-fcntl"
+RDEPENDS:perl-module-digest-sha += "perl-module-integer"
+RDEPENDS:perl-module-digest-sha += "perl-module-strict"
+RDEPENDS:perl-module-digest-sha += "perl-module-vars"
+RDEPENDS:perl-module-digest-sha += "perl-module-warnings"
+RDEPENDS:perl-module-digest-sha += "perl-module-xsloader"
+RDEPENDS:perl-module-dynaloader += "perl-module-config"
+RDEPENDS:perl-module-dynaloader += "perl-module-strict"
+RDEPENDS:perl-module-dynaloader += "perl-module-vars"
+RDEPENDS:perl-module-encode-alias += "perl-module-constant"
+RDEPENDS:perl-module-encode-alias += "perl-module-encode"
+RDEPENDS:perl-module-encode-alias += "perl-module-exporter"
+RDEPENDS:perl-module-encode-alias += "perl-module-strict"
+RDEPENDS:perl-module-encode-alias += "perl-module-warnings"
+RDEPENDS:perl-module-encode-byte += "perl-module-encode"
+RDEPENDS:perl-module-encode-byte += "perl-module-strict"
+RDEPENDS:perl-module-encode-byte += "perl-module-warnings"
+RDEPENDS:perl-module-encode-byte += "perl-module-xsloader"
+RDEPENDS:perl-module-encode-cjkconstants += "perl-module-exporter"
+RDEPENDS:perl-module-encode-cjkconstants += "perl-module-strict"
+RDEPENDS:perl-module-encode-cjkconstants += "perl-module-warnings"
+RDEPENDS:perl-module-encode-cn-hz += "perl-module-encode"
+RDEPENDS:perl-module-encode-cn-hz += "perl-module-parent"
+RDEPENDS:perl-module-encode-cn-hz += "perl-module-strict"
+RDEPENDS:perl-module-encode-cn-hz += "perl-module-utf8"
+RDEPENDS:perl-module-encode-cn-hz += "perl-module-vars"
+RDEPENDS:perl-module-encode-cn-hz += "perl-module-warnings"
+RDEPENDS:perl-module-encode-cn += "perl-module-encode"
+RDEPENDS:perl-module-encode-cn += "perl-module-encode-cn-hz"
+RDEPENDS:perl-module-encode-cn += "perl-module-strict"
+RDEPENDS:perl-module-encode-cn += "perl-module-warnings"
+RDEPENDS:perl-module-encode-cn += "perl-module-xsloader"
+RDEPENDS:perl-module-encode-config += "perl-module-strict"
+RDEPENDS:perl-module-encode-config += "perl-module-warnings"
+RDEPENDS:perl-module-encode-ebcdic += "perl-module-encode"
+RDEPENDS:perl-module-encode-ebcdic += "perl-module-strict"
+RDEPENDS:perl-module-encode-ebcdic += "perl-module-warnings"
+RDEPENDS:perl-module-encode-ebcdic += "perl-module-xsloader"
+RDEPENDS:perl-module-encode-encoder += "perl-module-constant"
+RDEPENDS:perl-module-encode-encoder += "perl-module-encode"
+RDEPENDS:perl-module-encode-encoder += "perl-module-exporter"
+RDEPENDS:perl-module-encode-encoder += "perl-module-overload"
+RDEPENDS:perl-module-encode-encoder += "perl-module-strict"
+RDEPENDS:perl-module-encode-encoder += "perl-module-warnings"
+RDEPENDS:perl-module-encode-encoding += "perl-module-constant"
+RDEPENDS:perl-module-encode-encoding += "perl-module-encode"
+RDEPENDS:perl-module-encode-encoding += "perl-module-encode-mime-name"
+RDEPENDS:perl-module-encode-encoding += "perl-module-strict"
+RDEPENDS:perl-module-encode-encoding += "perl-module-warnings"
+RDEPENDS:perl-module-encode-gsm0338 += "perl-module-encode"
+RDEPENDS:perl-module-encode-gsm0338 += "perl-module-parent"
+RDEPENDS:perl-module-encode-gsm0338 += "perl-module-strict"
+RDEPENDS:perl-module-encode-gsm0338 += "perl-module-utf8"
+RDEPENDS:perl-module-encode-gsm0338 += "perl-module-vars"
+RDEPENDS:perl-module-encode-gsm0338 += "perl-module-warnings"
+RDEPENDS:perl-module-encode-guess += "perl-module-bytes"
+RDEPENDS:perl-module-encode-guess += "perl-module-constant"
+RDEPENDS:perl-module-encode-guess += "perl-module-encode"
+RDEPENDS:perl-module-encode-guess += "perl-module-encode-unicode"
+RDEPENDS:perl-module-encode-guess += "perl-module-parent"
+RDEPENDS:perl-module-encode-guess += "perl-module-strict"
+RDEPENDS:perl-module-encode-guess += "perl-module-warnings"
+RDEPENDS:perl-module-encode-jp-h2z += "perl-module-encode-cjkconstants"
+RDEPENDS:perl-module-encode-jp-h2z += "perl-module-strict"
+RDEPENDS:perl-module-encode-jp-h2z += "perl-module-vars"
+RDEPENDS:perl-module-encode-jp-h2z += "perl-module-warnings"
+RDEPENDS:perl-module-encode-jp-jis7 += "perl-module-bytes"
+RDEPENDS:perl-module-encode-jp-jis7 += "perl-module-encode"
+RDEPENDS:perl-module-encode-jp-jis7 += "perl-module-encode-cjkconstants"
+RDEPENDS:perl-module-encode-jp-jis7 += "perl-module-encode-jp-h2z"
+RDEPENDS:perl-module-encode-jp-jis7 += "perl-module-parent"
+RDEPENDS:perl-module-encode-jp-jis7 += "perl-module-strict"
+RDEPENDS:perl-module-encode-jp-jis7 += "perl-module-warnings"
+RDEPENDS:perl-module-encode-jp += "perl-module-encode"
+RDEPENDS:perl-module-encode-jp += "perl-module-encode-jp-jis7"
+RDEPENDS:perl-module-encode-jp += "perl-module-strict"
+RDEPENDS:perl-module-encode-jp += "perl-module-warnings"
+RDEPENDS:perl-module-encode-jp += "perl-module-xsloader"
+RDEPENDS:perl-module-encode-kr-2022-kr += "perl-module-encode"
+RDEPENDS:perl-module-encode-kr-2022-kr += "perl-module-encode-cjkconstants"
+RDEPENDS:perl-module-encode-kr-2022-kr += "perl-module-parent"
+RDEPENDS:perl-module-encode-kr-2022-kr += "perl-module-strict"
+RDEPENDS:perl-module-encode-kr-2022-kr += "perl-module-warnings"
+RDEPENDS:perl-module-encode-kr += "perl-module-encode"
+RDEPENDS:perl-module-encode-kr += "perl-module-encode-kr-2022-kr"
+RDEPENDS:perl-module-encode-kr += "perl-module-strict"
+RDEPENDS:perl-module-encode-kr += "perl-module-warnings"
+RDEPENDS:perl-module-encode-kr += "perl-module-xsloader"
+RDEPENDS:perl-module-encode-mime-header-iso-2022-jp += "perl-module-constant"
+RDEPENDS:perl-module-encode-mime-header-iso-2022-jp += "perl-module-encode-cjkconstants"
+RDEPENDS:perl-module-encode-mime-header-iso-2022-jp += "perl-module-parent"
+RDEPENDS:perl-module-encode-mime-header-iso-2022-jp += "perl-module-strict"
+RDEPENDS:perl-module-encode-mime-header-iso-2022-jp += "perl-module-warnings"
+RDEPENDS:perl-module-encode-mime-header += "perl-module-encode"
+RDEPENDS:perl-module-encode-mime-header += "perl-module-mime-base64"
+RDEPENDS:perl-module-encode-mime-header += "perl-module-parent"
+RDEPENDS:perl-module-encode-mime-header += "perl-module-strict"
+RDEPENDS:perl-module-encode-mime-header += "perl-module-warnings"
+RDEPENDS:perl-module-encode-mime-name += "perl-module-strict"
+RDEPENDS:perl-module-encode-mime-name += "perl-module-warnings"
+RDEPENDS:perl-module-encode += "perl-module-bytes"
+RDEPENDS:perl-module-encode += "perl-module-constant"
+RDEPENDS:perl-module-encode += "perl-module-encode-alias"
+RDEPENDS:perl-module-encode += "perl-module-encode-config"
+RDEPENDS:perl-module-encode += "perl-module-encode-configlocal-pm"
+RDEPENDS:perl-module-encode += "perl-module-encode-mime-name"
+RDEPENDS:perl-module-encode += "perl-module-exporter"
+RDEPENDS:perl-module-encode += "perl-module-parent"
+RDEPENDS:perl-module-encode += "perl-module-storable"
+RDEPENDS:perl-module-encode += "perl-module-strict"
+RDEPENDS:perl-module-encode += "perl-module-warnings"
+RDEPENDS:perl-module-encode += "perl-module-xsloader"
+RDEPENDS:perl-module-encode-symbol += "perl-module-encode"
+RDEPENDS:perl-module-encode-symbol += "perl-module-strict"
+RDEPENDS:perl-module-encode-symbol += "perl-module-warnings"
+RDEPENDS:perl-module-encode-symbol += "perl-module-xsloader"
+RDEPENDS:perl-module-encode-tw += "perl-module-encode"
+RDEPENDS:perl-module-encode-tw += "perl-module-strict"
+RDEPENDS:perl-module-encode-tw += "perl-module-warnings"
+RDEPENDS:perl-module-encode-tw += "perl-module-xsloader"
+RDEPENDS:perl-module-encode-unicode += "perl-module-encode"
+RDEPENDS:perl-module-encode-unicode += "perl-module-parent"
+RDEPENDS:perl-module-encode-unicode += "perl-module-strict"
+RDEPENDS:perl-module-encode-unicode += "perl-module-warnings"
+RDEPENDS:perl-module-encode-unicode += "perl-module-xsloader"
+RDEPENDS:perl-module-encode-unicode-utf7 += "perl-module-encode"
+RDEPENDS:perl-module-encode-unicode-utf7 += "perl-module-mime-base64"
+RDEPENDS:perl-module-encode-unicode-utf7 += "perl-module-parent"
+RDEPENDS:perl-module-encode-unicode-utf7 += "perl-module-re"
+RDEPENDS:perl-module-encode-unicode-utf7 += "perl-module-strict"
+RDEPENDS:perl-module-encode-unicode-utf7 += "perl-module-warnings"
+RDEPENDS:perl-module-encoding += "perl-module-config"
+RDEPENDS:perl-module-encoding += "perl-module-constant"
+RDEPENDS:perl-module-encoding += "perl-module-encode"
+RDEPENDS:perl-module-encoding += "perl-module-filter-util-call"
+RDEPENDS:perl-module-encoding += "perl-module-i18n-langinfo"
+RDEPENDS:perl-module-encoding += "perl-module-posix"
+RDEPENDS:perl-module-encoding += "perl-module-strict"
+RDEPENDS:perl-module-encoding += "perl-module-utf8"
+RDEPENDS:perl-module-encoding += "perl-module-warnings"
+RDEPENDS:perl-module-encoding-warnings += "perl-module-strict"
+RDEPENDS:perl-module-encoding-warnings += "perl-module-warnings"
+RDEPENDS:perl-module-english += "perl-module-exporter"
+RDEPENDS:perl-module-env += "perl-module-config"
+RDEPENDS:perl-module-env += "perl-module-tie-array"
+RDEPENDS:perl-module-errno += "perl-module-exporter"
+RDEPENDS:perl-module-errno += "perl-module-strict"
+RDEPENDS:perl-module-experimental += "perl-module-strict"
+RDEPENDS:perl-module-experimental += "perl-module-version"
+RDEPENDS:perl-module-experimental += "perl-module-warnings"
+RDEPENDS:perl-module-exporter-heavy += "perl-module-strict"
+RDEPENDS:perl-module-exporter += "perl-module-exporter-heavy"
+RDEPENDS:perl-module-exporter += "perl-module-strict"
+RDEPENDS:perl-module-extutils-cbuilder-base += "perl-module-config"
+RDEPENDS:perl-module-extutils-cbuilder-base += "perl-module-cwd"
+RDEPENDS:perl-module-extutils-cbuilder-base += "perl-module-dynaloader"
+RDEPENDS:perl-module-extutils-cbuilder-base += "perl-module-extutils-mksymlists"
+RDEPENDS:perl-module-extutils-cbuilder-base += "perl-module-file-basename"
+RDEPENDS:perl-module-extutils-cbuilder-base += "perl-module-file-temp"
+RDEPENDS:perl-module-extutils-cbuilder-base += "perl-module-ipc-cmd"
+RDEPENDS:perl-module-extutils-cbuilder-base += "perl-module-strict"
+RDEPENDS:perl-module-extutils-cbuilder-base += "perl-module-text-parsewords"
+RDEPENDS:perl-module-extutils-cbuilder-base += "perl-module-warnings"
+RDEPENDS:perl-module-extutils-cbuilder += "perl-module-file-basename"
+RDEPENDS:perl-module-extutils-cbuilder += "perl-module-file-path"
+RDEPENDS:perl-module-extutils-cbuilder += "perl-module-strict"
+RDEPENDS:perl-module-extutils-cbuilder += "perl-module-warnings"
+RDEPENDS:perl-module-extutils-cbuilder-platform-aix += "perl-module-extutils-cbuilder-platform-unix"
+RDEPENDS:perl-module-extutils-cbuilder-platform-aix += "perl-module-strict"
+RDEPENDS:perl-module-extutils-cbuilder-platform-aix += "perl-module-warnings"
+RDEPENDS:perl-module-extutils-cbuilder-platform-android += "perl-module-config"
+RDEPENDS:perl-module-extutils-cbuilder-platform-android += "perl-module-extutils-cbuilder-platform-unix"
+RDEPENDS:perl-module-extutils-cbuilder-platform-android += "perl-module-strict"
+RDEPENDS:perl-module-extutils-cbuilder-platform-android += "perl-module-warnings"
+RDEPENDS:perl-module-extutils-cbuilder-platform-cygwin += "perl-module-extutils-cbuilder-platform-unix"
+RDEPENDS:perl-module-extutils-cbuilder-platform-cygwin += "perl-module-strict"
+RDEPENDS:perl-module-extutils-cbuilder-platform-cygwin += "perl-module-warnings"
+RDEPENDS:perl-module-extutils-cbuilder-platform-darwin += "perl-module-extutils-cbuilder-platform-unix"
+RDEPENDS:perl-module-extutils-cbuilder-platform-darwin += "perl-module-strict"
+RDEPENDS:perl-module-extutils-cbuilder-platform-darwin += "perl-module-warnings"
+RDEPENDS:perl-module-extutils-cbuilder-platform-dec-osf += "perl-module-extutils-cbuilder-platform-unix"
+RDEPENDS:perl-module-extutils-cbuilder-platform-dec-osf += "perl-module-strict"
+RDEPENDS:perl-module-extutils-cbuilder-platform-dec-osf += "perl-module-warnings"
+RDEPENDS:perl-module-extutils-cbuilder-platform-os2 += "perl-module-extutils-cbuilder-platform-unix"
+RDEPENDS:perl-module-extutils-cbuilder-platform-os2 += "perl-module-strict"
+RDEPENDS:perl-module-extutils-cbuilder-platform-os2 += "perl-module-warnings"
+RDEPENDS:perl-module-extutils-cbuilder-platform-unix += "perl-module-extutils-cbuilder-base"
+RDEPENDS:perl-module-extutils-cbuilder-platform-unix += "perl-module-strict"
+RDEPENDS:perl-module-extutils-cbuilder-platform-unix += "perl-module-warnings"
+RDEPENDS:perl-module-extutils-cbuilder-platform-vms += "perl-module-config"
+RDEPENDS:perl-module-extutils-cbuilder-platform-vms += "perl-module-extutils-cbuilder-base"
+RDEPENDS:perl-module-extutils-cbuilder-platform-vms += "perl-module-strict"
+RDEPENDS:perl-module-extutils-cbuilder-platform-vms += "perl-module-warnings"
+RDEPENDS:perl-module-extutils-cbuilder-platform-windows-bcc += "perl-module-strict"
+RDEPENDS:perl-module-extutils-cbuilder-platform-windows-bcc += "perl-module-warnings"
+RDEPENDS:perl-module-extutils-cbuilder-platform-windows-gcc += "perl-module-strict"
+RDEPENDS:perl-module-extutils-cbuilder-platform-windows-gcc += "perl-module-warnings"
+RDEPENDS:perl-module-extutils-cbuilder-platform-windows-msvc += "perl-module-strict"
+RDEPENDS:perl-module-extutils-cbuilder-platform-windows-msvc += "perl-module-warnings"
+RDEPENDS:perl-module-extutils-cbuilder-platform-windows += "perl-module-extutils-cbuilder-base"
+RDEPENDS:perl-module-extutils-cbuilder-platform-windows += "perl-module-file-basename"
+RDEPENDS:perl-module-extutils-cbuilder-platform-windows += "perl-module-io-file"
+RDEPENDS:perl-module-extutils-cbuilder-platform-windows += "perl-module-strict"
+RDEPENDS:perl-module-extutils-cbuilder-platform-windows += "perl-module-warnings"
+RDEPENDS:perl-module-extutils-command-mm += "perl-module-exporter"
+RDEPENDS:perl-module-extutils-command-mm += "perl-module-extutils-command"
+RDEPENDS:perl-module-extutils-command-mm += "perl-module-extutils-install"
+RDEPENDS:perl-module-extutils-command-mm += "perl-module-getopt-long"
+RDEPENDS:perl-module-extutils-command-mm += "perl-module-strict"
+RDEPENDS:perl-module-extutils-command-mm += "perl-module-test-harness"
+RDEPENDS:perl-module-extutils-command-mm += "perl-module-warnings"
+RDEPENDS:perl-module-extutils-command += "perl-module-exporter"
+RDEPENDS:perl-module-extutils-command += "perl-module-file-copy"
+RDEPENDS:perl-module-extutils-command += "perl-module-file-find"
+RDEPENDS:perl-module-extutils-command += "perl-module-file-path"
+RDEPENDS:perl-module-extutils-command += "perl-module-strict"
+RDEPENDS:perl-module-extutils-command += "perl-module-vars"
+RDEPENDS:perl-module-extutils-command += "perl-module-warnings"
+RDEPENDS:perl-module-extutils-constant-base += "perl-module-constant"
+RDEPENDS:perl-module-extutils-constant-base += "perl-module-extutils-constant-utils"
+RDEPENDS:perl-module-extutils-constant-base += "perl-module-strict"
+RDEPENDS:perl-module-extutils-constant-base += "perl-module-text-wrap"
+RDEPENDS:perl-module-extutils-constant-base += "perl-module-vars"
+RDEPENDS:perl-module-extutils-constant += "perl-module-exporter"
+RDEPENDS:perl-module-extutils-constant += "perl-module-extutils-constant-proxysubs"
+RDEPENDS:perl-module-extutils-constant += "perl-module-extutils-constant-utils"
+RDEPENDS:perl-module-extutils-constant += "perl-module-extutils-constant-xs"
+RDEPENDS:perl-module-extutils-constant += "perl-module-filehandle"
+RDEPENDS:perl-module-extutils-constant += "perl-module-strict"
+RDEPENDS:perl-module-extutils-constant += "perl-module-vars"
+RDEPENDS:perl-module-extutils-constant-proxysubs += "perl-module-extutils-constant-utils"
+RDEPENDS:perl-module-extutils-constant-proxysubs += "perl-module-extutils-constant-xs"
+RDEPENDS:perl-module-extutils-constant-proxysubs += "perl-module-strict"
+RDEPENDS:perl-module-extutils-constant-proxysubs += "perl-module-vars"
+RDEPENDS:perl-module-extutils-constant-utils += "perl-module-constant"
+RDEPENDS:perl-module-extutils-constant-utils += "perl-module-posix"
+RDEPENDS:perl-module-extutils-constant-utils += "perl-module-strict"
+RDEPENDS:perl-module-extutils-constant-utils += "perl-module-vars"
+RDEPENDS:perl-module-extutils-constant-xs += "perl-module-data-dumper"
+RDEPENDS:perl-module-extutils-constant-xs += "perl-module-extutils-constant"
+RDEPENDS:perl-module-extutils-constant-xs += "perl-module-extutils-constant-base"
+RDEPENDS:perl-module-extutils-constant-xs += "perl-module-extutils-constant-utils"
+RDEPENDS:perl-module-extutils-constant-xs += "perl-module-strict"
+RDEPENDS:perl-module-extutils-constant-xs += "perl-module-vars"
+RDEPENDS:perl-module-extutils-embed += "perl-module-config"
+RDEPENDS:perl-module-extutils-embed += "perl-module-exporter"
+RDEPENDS:perl-module-extutils-embed += "perl-module-extutils-liblist"
+RDEPENDS:perl-module-extutils-embed += "perl-module-extutils-makemaker"
+RDEPENDS:perl-module-extutils-embed += "perl-module-getopt-std"
+RDEPENDS:perl-module-extutils-embed += "perl-module-strict"
+RDEPENDS:perl-module-extutils-installed += "perl-module-config"
+RDEPENDS:perl-module-extutils-installed += "perl-module-data-dumper"
+RDEPENDS:perl-module-extutils-installed += "perl-module-extutils-makemaker"
+RDEPENDS:perl-module-extutils-installed += "perl-module-extutils-packlist"
+RDEPENDS:perl-module-extutils-installed += "perl-module-file-basename"
+RDEPENDS:perl-module-extutils-installed += "perl-module-file-find"
+RDEPENDS:perl-module-extutils-installed += "perl-module-strict"
+RDEPENDS:perl-module-extutils-install += "perl-module-autosplit"
+RDEPENDS:perl-module-extutils-install += "perl-module-config"
+RDEPENDS:perl-module-extutils-install += "perl-module-cwd"
+RDEPENDS:perl-module-extutils-install += "perl-module-exporter"
+RDEPENDS:perl-module-extutils-install += "perl-module-extutils-packlist"
+RDEPENDS:perl-module-extutils-install += "perl-module-file-basename"
+RDEPENDS:perl-module-extutils-install += "perl-module-file-compare"
+RDEPENDS:perl-module-extutils-install += "perl-module-file-copy"
+RDEPENDS:perl-module-extutils-install += "perl-module-file-find"
+RDEPENDS:perl-module-extutils-install += "perl-module-file-path"
+RDEPENDS:perl-module-extutils-install += "perl-module-strict"
+RDEPENDS:perl-module-extutils-liblist-kid += "perl-module-cwd"
+RDEPENDS:perl-module-extutils-liblist-kid += "perl-module-extutils-makemaker-config"
+RDEPENDS:perl-module-extutils-liblist-kid += "perl-module-file-basename"
+RDEPENDS:perl-module-extutils-liblist-kid += "perl-module-strict"
+RDEPENDS:perl-module-extutils-liblist-kid += "perl-module-text-parsewords"
+RDEPENDS:perl-module-extutils-liblist-kid += "perl-module-warnings"
+RDEPENDS:perl-module-extutils-liblist += "perl-module-extutils-liblist-kid"
+RDEPENDS:perl-module-extutils-liblist += "perl-module-strict"
+RDEPENDS:perl-module-extutils-liblist += "perl-module-warnings"
+RDEPENDS:perl-module-extutils-makemaker-config += "perl-module-config"
+RDEPENDS:perl-module-extutils-makemaker-config += "perl-module-strict"
+RDEPENDS:perl-module-extutils-makemaker-config += "perl-module-warnings"
+RDEPENDS:perl-module-extutils-makemaker-locale += "perl-module-base"
+RDEPENDS:perl-module-extutils-makemaker-locale += "perl-module-encode"
+RDEPENDS:perl-module-extutils-makemaker-locale += "perl-module-encode-alias"
+RDEPENDS:perl-module-extutils-makemaker-locale += "perl-module-i18n-langinfo"
+RDEPENDS:perl-module-extutils-makemaker-locale += "perl-module-strict"
+RDEPENDS:perl-module-extutils-makemaker-locale += "perl-module-warnings"
+RDEPENDS:perl-module-extutils-makemaker += "perl-module-b"
+RDEPENDS:perl-module-extutils-makemaker += "perl-module-cpan"
+RDEPENDS:perl-module-extutils-makemaker += "perl-module-cwd"
+RDEPENDS:perl-module-extutils-makemaker += "perl-module-exporter"
+RDEPENDS:perl-module-extutils-makemaker += "perl-module-extutils-makemaker-config"
+RDEPENDS:perl-module-extutils-makemaker += "perl-module-extutils-makemaker-version"
+RDEPENDS:perl-module-extutils-makemaker += "perl-module-extutils-manifest"
+RDEPENDS:perl-module-extutils-makemaker += "perl-module-extutils-mm"
+RDEPENDS:perl-module-extutils-makemaker += "perl-module-extutils-my"
+RDEPENDS:perl-module-extutils-makemaker += "perl-module-file-path"
+RDEPENDS:perl-module-extutils-makemaker += "perl-module-strict"
+RDEPENDS:perl-module-extutils-makemaker += "perl-module-version"
+RDEPENDS:perl-module-extutils-makemaker += "perl-module-warnings"
+RDEPENDS:perl-module-extutils-makemaker-version += "perl-module-strict"
+RDEPENDS:perl-module-extutils-makemaker-version += "perl-module-vars"
+RDEPENDS:perl-module-extutils-makemaker-version += "perl-module-warnings"
+RDEPENDS:perl-module-extutils-manifest += "perl-module-config"
+RDEPENDS:perl-module-extutils-manifest += "perl-module-exporter"
+RDEPENDS:perl-module-extutils-manifest += "perl-module-file-basename"
+RDEPENDS:perl-module-extutils-manifest += "perl-module-file-copy"
+RDEPENDS:perl-module-extutils-manifest += "perl-module-file-find"
+RDEPENDS:perl-module-extutils-manifest += "perl-module-file-path"
+RDEPENDS:perl-module-extutils-manifest += "perl-module-strict"
+RDEPENDS:perl-module-extutils-manifest += "perl-module-warnings"
+RDEPENDS:perl-module-extutils-miniperl += "perl-module-exporter"
+RDEPENDS:perl-module-extutils-miniperl += "perl-module-extutils-embed"
+RDEPENDS:perl-module-extutils-miniperl += "perl-module-strict"
+RDEPENDS:perl-module-extutils-mkbootstrap += "perl-module-config"
+RDEPENDS:perl-module-extutils-mkbootstrap += "perl-module-dynaloader"
+RDEPENDS:perl-module-extutils-mkbootstrap += "perl-module-exporter"
+RDEPENDS:perl-module-extutils-mkbootstrap += "perl-module-strict"
+RDEPENDS:perl-module-extutils-mkbootstrap += "perl-module-warnings"
+RDEPENDS:perl-module-extutils-mksymlists += "perl-module-config"
+RDEPENDS:perl-module-extutils-mksymlists += "perl-module-exporter"
+RDEPENDS:perl-module-extutils-mksymlists += "perl-module-strict"
+RDEPENDS:perl-module-extutils-mksymlists += "perl-module-warnings"
+RDEPENDS:perl-module-extutils-mm-aix += "perl-module-extutils-makemaker-config"
+RDEPENDS:perl-module-extutils-mm-aix += "perl-module-extutils-mm-unix"
+RDEPENDS:perl-module-extutils-mm-aix += "perl-module-strict"
+RDEPENDS:perl-module-extutils-mm-aix += "perl-module-warnings"
+RDEPENDS:perl-module-extutils-mm-any += "perl-module-autosplit"
+RDEPENDS:perl-module-extutils-mm-any += "perl-module-cpan"
+RDEPENDS:perl-module-extutils-mm-any += "perl-module-data-dumper"
+RDEPENDS:perl-module-extutils-mm-any += "perl-module-extutils-makemaker"
+RDEPENDS:perl-module-extutils-mm-any += "perl-module-extutils-makemaker-config"
+RDEPENDS:perl-module-extutils-mm-any += "perl-module-file-basename"
+RDEPENDS:perl-module-extutils-mm-any += "perl-module-file-find"
+RDEPENDS:perl-module-extutils-mm-any += "perl-module-strict"
+RDEPENDS:perl-module-extutils-mm-any += "perl-module-version"
+RDEPENDS:perl-module-extutils-mm-any += "perl-module-warnings"
+RDEPENDS:perl-module-extutils-mm-beos += "perl-module-extutils-makemaker-config"
+RDEPENDS:perl-module-extutils-mm-beos += "perl-module-extutils-mm-any"
+RDEPENDS:perl-module-extutils-mm-beos += "perl-module-extutils-mm-unix"
+RDEPENDS:perl-module-extutils-mm-beos += "perl-module-strict"
+RDEPENDS:perl-module-extutils-mm-beos += "perl-module-warnings"
+RDEPENDS:perl-module-extutils-mm-cygwin += "perl-module-extutils-makemaker-config"
+RDEPENDS:perl-module-extutils-mm-cygwin += "perl-module-extutils-mm-unix"
+RDEPENDS:perl-module-extutils-mm-cygwin += "perl-module-extutils-mm-win32"
+RDEPENDS:perl-module-extutils-mm-cygwin += "perl-module-strict"
+RDEPENDS:perl-module-extutils-mm-cygwin += "perl-module-warnings"
+RDEPENDS:perl-module-extutils-mm-darwin += "perl-module-extutils-mm-unix"
+RDEPENDS:perl-module-extutils-mm-darwin += "perl-module-strict"
+RDEPENDS:perl-module-extutils-mm-darwin += "perl-module-warnings"
+RDEPENDS:perl-module-extutils-mm-dos += "perl-module-extutils-mm-any"
+RDEPENDS:perl-module-extutils-mm-dos += "perl-module-extutils-mm-unix"
+RDEPENDS:perl-module-extutils-mm-dos += "perl-module-strict"
+RDEPENDS:perl-module-extutils-mm-dos += "perl-module-warnings"
+RDEPENDS:perl-module-extutils-mm-macos += "perl-module-strict"
+RDEPENDS:perl-module-extutils-mm-macos += "perl-module-warnings"
+RDEPENDS:perl-module-extutils-mm-nw5 += "perl-module-extutils-makemaker"
+RDEPENDS:perl-module-extutils-mm-nw5 += "perl-module-extutils-makemaker-config"
+RDEPENDS:perl-module-extutils-mm-nw5 += "perl-module-extutils-mm-win32"
+RDEPENDS:perl-module-extutils-mm-nw5 += "perl-module-file-basename"
+RDEPENDS:perl-module-extutils-mm-nw5 += "perl-module-strict"
+RDEPENDS:perl-module-extutils-mm-nw5 += "perl-module-warnings"
+RDEPENDS:perl-module-extutils-mm-os2 += "perl-module-extutils-makemaker"
+RDEPENDS:perl-module-extutils-mm-os2 += "perl-module-extutils-mm-any"
+RDEPENDS:perl-module-extutils-mm-os2 += "perl-module-extutils-mm-unix"
+RDEPENDS:perl-module-extutils-mm-os2 += "perl-module-strict"
+RDEPENDS:perl-module-extutils-mm-os2 += "perl-module-warnings"
+RDEPENDS:perl-module-extutils-mm-os390 += "perl-module-extutils-makemaker-config"
+RDEPENDS:perl-module-extutils-mm-os390 += "perl-module-extutils-mm-unix"
+RDEPENDS:perl-module-extutils-mm-os390 += "perl-module-strict"
+RDEPENDS:perl-module-extutils-mm-os390 += "perl-module-warnings"
+RDEPENDS:perl-module-extutils-mm += "perl-module-extutils-liblist"
+RDEPENDS:perl-module-extutils-mm += "perl-module-extutils-makemaker"
+RDEPENDS:perl-module-extutils-mm += "perl-module-extutils-makemaker-config"
+RDEPENDS:perl-module-extutils-mm += "perl-module-strict"
+RDEPENDS:perl-module-extutils-mm += "perl-module-warnings"
+RDEPENDS:perl-module-extutils-mm-qnx += "perl-module-extutils-mm-unix"
+RDEPENDS:perl-module-extutils-mm-qnx += "perl-module-strict"
+RDEPENDS:perl-module-extutils-mm-qnx += "perl-module-warnings"
+RDEPENDS:perl-module-extutils-mm-unix += "perl-module-cwd"
+RDEPENDS:perl-module-extutils-mm-unix += "perl-module-encode"
+RDEPENDS:perl-module-extutils-mm-unix += "perl-module-extutils-liblist"
+RDEPENDS:perl-module-extutils-mm-unix += "perl-module-extutils-makemaker"
+RDEPENDS:perl-module-extutils-mm-unix += "perl-module-extutils-makemaker-config"
+RDEPENDS:perl-module-extutils-mm-unix += "perl-module-extutils-mm-any"
+RDEPENDS:perl-module-extutils-mm-unix += "perl-module-file-basename"
+RDEPENDS:perl-module-extutils-mm-unix += "perl-module-file-find"
+RDEPENDS:perl-module-extutils-mm-unix += "perl-module-strict"
+RDEPENDS:perl-module-extutils-mm-unix += "perl-module-vars"
+RDEPENDS:perl-module-extutils-mm-unix += "perl-module-version"
+RDEPENDS:perl-module-extutils-mm-unix += "perl-module-warnings"
+RDEPENDS:perl-module-extutils-mm-uwin += "perl-module-extutils-mm-unix"
+RDEPENDS:perl-module-extutils-mm-uwin += "perl-module-strict"
+RDEPENDS:perl-module-extutils-mm-uwin += "perl-module-warnings"
+RDEPENDS:perl-module-extutils-mm-vms += "perl-module-exporter"
+RDEPENDS:perl-module-extutils-mm-vms += "perl-module-extutils-liblist-kid"
+RDEPENDS:perl-module-extutils-mm-vms += "perl-module-extutils-makemaker"
+RDEPENDS:perl-module-extutils-mm-vms += "perl-module-extutils-makemaker-config"
+RDEPENDS:perl-module-extutils-mm-vms += "perl-module-extutils-mm-any"
+RDEPENDS:perl-module-extutils-mm-vms += "perl-module-extutils-mm-unix"
+RDEPENDS:perl-module-extutils-mm-vms += "perl-module-file-basename"
+RDEPENDS:perl-module-extutils-mm-vms += "perl-module-file-find"
+RDEPENDS:perl-module-extutils-mm-vms += "perl-module-strict"
+RDEPENDS:perl-module-extutils-mm-vms += "perl-module-warnings"
+RDEPENDS:perl-module-extutils-mm-vos += "perl-module-extutils-mm-unix"
+RDEPENDS:perl-module-extutils-mm-vos += "perl-module-strict"
+RDEPENDS:perl-module-extutils-mm-vos += "perl-module-warnings"
+RDEPENDS:perl-module-extutils-mm-win32 += "perl-module-extutils-makemaker"
+RDEPENDS:perl-module-extutils-mm-win32 += "perl-module-extutils-makemaker-config"
+RDEPENDS:perl-module-extutils-mm-win32 += "perl-module-extutils-mm-any"
+RDEPENDS:perl-module-extutils-mm-win32 += "perl-module-extutils-mm-unix"
+RDEPENDS:perl-module-extutils-mm-win32 += "perl-module-file-basename"
+RDEPENDS:perl-module-extutils-mm-win32 += "perl-module-strict"
+RDEPENDS:perl-module-extutils-mm-win32 += "perl-module-warnings"
+RDEPENDS:perl-module-extutils-mm-win95 += "perl-module-extutils-makemaker-config"
+RDEPENDS:perl-module-extutils-mm-win95 += "perl-module-extutils-mm-win32"
+RDEPENDS:perl-module-extutils-mm-win95 += "perl-module-strict"
+RDEPENDS:perl-module-extutils-mm-win95 += "perl-module-warnings"
+RDEPENDS:perl-module-extutils-my += "perl-module-extutils-mm"
+RDEPENDS:perl-module-extutils-my += "perl-module-strict"
+RDEPENDS:perl-module-extutils-packlist += "perl-module-config"
+RDEPENDS:perl-module-extutils-packlist += "perl-module-cwd"
+RDEPENDS:perl-module-extutils-packlist += "perl-module-strict"
+RDEPENDS:perl-module-extutils-parsexs-constants += "perl-module-strict"
+RDEPENDS:perl-module-extutils-parsexs-constants += "perl-module-warnings"
+RDEPENDS:perl-module-extutils-parsexs-countlines += "perl-module-strict"
+RDEPENDS:perl-module-extutils-parsexs-eval += "perl-module-strict"
+RDEPENDS:perl-module-extutils-parsexs-eval += "perl-module-warnings"
+RDEPENDS:perl-module-extutils-parsexs += "perl-module-config"
+RDEPENDS:perl-module-extutils-parsexs += "perl-module-cwd"
+RDEPENDS:perl-module-extutils-parsexs += "perl-module-exporter"
+RDEPENDS:perl-module-extutils-parsexs += "perl-module-extutils-parsexs-constants"
+RDEPENDS:perl-module-extutils-parsexs += "perl-module-extutils-parsexs-countlines"
+RDEPENDS:perl-module-extutils-parsexs += "perl-module-extutils-parsexs-eval"
+RDEPENDS:perl-module-extutils-parsexs += "perl-module-extutils-parsexs-utilities"
+RDEPENDS:perl-module-extutils-parsexs += "perl-module-file-basename"
+RDEPENDS:perl-module-extutils-parsexs += "perl-module-re"
+RDEPENDS:perl-module-extutils-parsexs += "perl-module-strict"
+RDEPENDS:perl-module-extutils-parsexs-utilities += "perl-module-exporter"
+RDEPENDS:perl-module-extutils-parsexs-utilities += "perl-module-extutils-parsexs-constants"
+RDEPENDS:perl-module-extutils-parsexs-utilities += "perl-module-extutils-typemaps"
+RDEPENDS:perl-module-extutils-parsexs-utilities += "perl-module-strict"
+RDEPENDS:perl-module-extutils-parsexs-utilities += "perl-module-warnings"
+RDEPENDS:perl-module-extutils-pl2bat += "perl-module-config"
+RDEPENDS:perl-module-extutils-pl2bat += "perl-module-strict"
+RDEPENDS:perl-module-extutils-pl2bat += "perl-module-warnings"
+RDEPENDS:perl-module-extutils-testlib += "perl-module-cwd"
+RDEPENDS:perl-module-extutils-testlib += "perl-module-lib"
+RDEPENDS:perl-module-extutils-testlib += "perl-module-strict"
+RDEPENDS:perl-module-extutils-testlib += "perl-module-warnings"
+RDEPENDS:perl-module-extutils-typemaps-cmd += "perl-module-exporter"
+RDEPENDS:perl-module-extutils-typemaps-cmd += "perl-module-extutils-typemaps"
+RDEPENDS:perl-module-extutils-typemaps-cmd += "perl-module-strict"
+RDEPENDS:perl-module-extutils-typemaps-cmd += "perl-module-warnings"
+RDEPENDS:perl-module-extutils-typemaps-inputmap += "perl-module-strict"
+RDEPENDS:perl-module-extutils-typemaps-inputmap += "perl-module-warnings"
+RDEPENDS:perl-module-extutils-typemaps-outputmap += "perl-module-re"
+RDEPENDS:perl-module-extutils-typemaps-outputmap += "perl-module-strict"
+RDEPENDS:perl-module-extutils-typemaps-outputmap += "perl-module-warnings"
+RDEPENDS:perl-module-extutils-typemaps += "perl-module-extutils-parsexs"
+RDEPENDS:perl-module-extutils-typemaps += "perl-module-extutils-parsexs-constants"
+RDEPENDS:perl-module-extutils-typemaps += "perl-module-extutils-typemaps-inputmap"
+RDEPENDS:perl-module-extutils-typemaps += "perl-module-extutils-typemaps-outputmap"
+RDEPENDS:perl-module-extutils-typemaps += "perl-module-extutils-typemaps-type"
+RDEPENDS:perl-module-extutils-typemaps += "perl-module-strict"
+RDEPENDS:perl-module-extutils-typemaps += "perl-module-warnings"
+RDEPENDS:perl-module-extutils-typemaps-type += "perl-module-extutils-typemaps"
+RDEPENDS:perl-module-extutils-typemaps-type += "perl-module-strict"
+RDEPENDS:perl-module-extutils-typemaps-type += "perl-module-warnings"
+RDEPENDS:perl-module-fatal += "perl-module-autodie"
+RDEPENDS:perl-module-fatal += "perl-module-autodie-exception-system"
+RDEPENDS:perl-module-fatal += "perl-module-autodie-hints"
+RDEPENDS:perl-module-fatal += "perl-module-autodie-util"
+RDEPENDS:perl-module-fatal += "perl-module-config"
+RDEPENDS:perl-module-fatal += "perl-module-constant"
+RDEPENDS:perl-module-fatal += "perl-module-fcntl"
+RDEPENDS:perl-module-fatal += "perl-module-posix"
+RDEPENDS:perl-module-fatal += "perl-module-strict"
+RDEPENDS:perl-module-fatal += "perl-module-tie-refhash"
+RDEPENDS:perl-module-fatal += "perl-module-warnings"
+RDEPENDS:perl-module-fcntl += "perl-module-exporter"
+RDEPENDS:perl-module-fcntl += "perl-module-strict"
+RDEPENDS:perl-module-fcntl += "perl-module-xsloader"
+RDEPENDS:perl-module-fields += "perl-module-base"
+RDEPENDS:perl-module-fields += "perl-module-hash-util"
+RDEPENDS:perl-module-fields += "perl-module-strict"
+RDEPENDS:perl-module-file-basename += "perl-module-exporter"
+RDEPENDS:perl-module-file-basename += "perl-module-re"
+RDEPENDS:perl-module-file-basename += "perl-module-strict"
+RDEPENDS:perl-module-file-basename += "perl-module-warnings"
+RDEPENDS:perl-module-filecache += "perl-module-parent"
+RDEPENDS:perl-module-filecache += "perl-module-strict"
+RDEPENDS:perl-module-file-compare += "perl-module-exporter"
+RDEPENDS:perl-module-file-compare += "perl-module-warnings"
+RDEPENDS:perl-module-file-copy += "perl-module-builtin"
+RDEPENDS:perl-module-file-copy += "perl-module-config"
+RDEPENDS:perl-module-file-copy += "perl-module-exporter"
+RDEPENDS:perl-module-file-copy += "perl-module-file-basename"
+RDEPENDS:perl-module-file-copy += "perl-module-overload"
+RDEPENDS:perl-module-file-copy += "perl-module-strict"
+RDEPENDS:perl-module-file-copy += "perl-module-warnings"
+RDEPENDS:perl-module-file-dosglob += "perl-module-strict"
+RDEPENDS:perl-module-file-dosglob += "perl-module-text-parsewords"
+RDEPENDS:perl-module-file-dosglob += "perl-module-warnings"
+RDEPENDS:perl-module-file-dosglob += "perl-module-xsloader"
+RDEPENDS:perl-module-file-fetch += "perl-module-constant"
+RDEPENDS:perl-module-file-fetch += "perl-module-cwd"
+RDEPENDS:perl-module-file-fetch += "perl-module-file-basename"
+RDEPENDS:perl-module-file-fetch += "perl-module-file-copy"
+RDEPENDS:perl-module-file-fetch += "perl-module-filehandle"
+RDEPENDS:perl-module-file-fetch += "perl-module-file-path"
+RDEPENDS:perl-module-file-fetch += "perl-module-file-temp"
+RDEPENDS:perl-module-file-fetch += "perl-module-ipc-cmd"
+RDEPENDS:perl-module-file-fetch += "perl-module-locale-maketext-simple"
+RDEPENDS:perl-module-file-fetch += "perl-module-load"
+RDEPENDS:perl-module-file-fetch += "perl-module-params-check"
+RDEPENDS:perl-module-file-fetch += "perl-module-strict"
+RDEPENDS:perl-module-file-fetch += "perl-module-vars"
+RDEPENDS:perl-module-file-find += "perl-module-cwd"
+RDEPENDS:perl-module-file-find += "perl-module-exporter"
+RDEPENDS:perl-module-file-find += "perl-module-file-basename"
+RDEPENDS:perl-module-file-find += "perl-module-strict"
+RDEPENDS:perl-module-file-find += "perl-module-warnings"
+RDEPENDS:perl-module-file-find += "perl-module-warnings-register"
+RDEPENDS:perl-module-file-globmapper += "perl-module-file-glob"
+RDEPENDS:perl-module-file-globmapper += "perl-module-strict"
+RDEPENDS:perl-module-file-globmapper += "perl-module-warnings"
+RDEPENDS:perl-module-file-glob += "perl-module-exporter"
+RDEPENDS:perl-module-file-glob += "perl-module-strict"
+RDEPENDS:perl-module-file-glob += "perl-module-xsloader"
+RDEPENDS:perl-module-filehandle += "perl-module-exporter"
+RDEPENDS:perl-module-filehandle += "perl-module-fcntl"
+RDEPENDS:perl-module-filehandle += "perl-module-io-file"
+RDEPENDS:perl-module-filehandle += "perl-module-strict"
+RDEPENDS:perl-module-file-path += "perl-module-cwd"
+RDEPENDS:perl-module-file-path += "perl-module-exporter"
+RDEPENDS:perl-module-file-path += "perl-module-file-basename"
+RDEPENDS:perl-module-file-path += "perl-module-strict"
+RDEPENDS:perl-module-file-path += "perl-module-vars"
+RDEPENDS:perl-module-file-stat += "perl-module-class-struct"
+RDEPENDS:perl-module-file-stat += "perl-module-constant"
+RDEPENDS:perl-module-file-stat += "perl-module-exporter"
+RDEPENDS:perl-module-file-stat += "perl-module-fcntl"
+RDEPENDS:perl-module-file-stat += "perl-module-overload "
+RDEPENDS:perl-module-file-stat += "perl-module-strict"
+RDEPENDS:perl-module-file-stat += "perl-module-warnings"
+RDEPENDS:perl-module-file-stat += "perl-module-warnings-register"
+RDEPENDS:perl-module-file-temp += "perl-module-constant"
+RDEPENDS:perl-module-file-temp += "perl-module-cwd"
+RDEPENDS:perl-module-file-temp += "perl-module-errno"
+RDEPENDS:perl-module-file-temp += "perl-module-exporter"
+RDEPENDS:perl-module-file-temp += "perl-module-fcntl"
+RDEPENDS:perl-module-file-temp += "perl-module-file-path"
+RDEPENDS:perl-module-file-temp += "perl-module-io-seekable"
+RDEPENDS:perl-module-file-temp += "perl-module-overload"
+RDEPENDS:perl-module-file-temp += "perl-module-parent"
+RDEPENDS:perl-module-file-temp += "perl-module-posix"
+RDEPENDS:perl-module-file-temp += "perl-module-strict"
+RDEPENDS:perl-module-filter-simple += "perl-module-filter-util-call"
+RDEPENDS:perl-module-filter-simple += "perl-module-text-balanced"
+RDEPENDS:perl-module-filter-util-call += "perl-module-exporter"
+RDEPENDS:perl-module-filter-util-call += "perl-module-strict"
+RDEPENDS:perl-module-filter-util-call += "perl-module-warnings"
+RDEPENDS:perl-module-filter-util-call += "perl-module-xsloader"
+RDEPENDS:perl-module-findbin += "perl-module-cwd"
+RDEPENDS:perl-module-findbin += "perl-module-exporter"
+RDEPENDS:perl-module-findbin += "perl-module-file-basename"
+RDEPENDS:perl-module-findbin += "perl-module-strict"
+RDEPENDS:perl-module-findbin += "perl-module-warnings"
+RDEPENDS:perl-module-gdbm-file += "perl-module-exporter"
+RDEPENDS:perl-module-gdbm-file += "perl-module-strict"
+RDEPENDS:perl-module-gdbm-file += "perl-module-tie-hash"
+RDEPENDS:perl-module-gdbm-file += "perl-module-warnings"
+RDEPENDS:perl-module-gdbm-file += "perl-module-xsloader"
+RDEPENDS:perl-module-getopt-long += "perl-module-constant"
+RDEPENDS:perl-module-getopt-long += "perl-module-exporter"
+RDEPENDS:perl-module-getopt-long += "perl-module-overload"
+RDEPENDS:perl-module-getopt-long += "perl-module-pod-usage"
+RDEPENDS:perl-module-getopt-long += "perl-module-strict"
+RDEPENDS:perl-module-getopt-long += "perl-module-text-parsewords"
+RDEPENDS:perl-module-getopt-long += "perl-module-vars"
+RDEPENDS:perl-module-getopt-long += "perl-module-warnings"
+RDEPENDS:perl-module-getopt-std += "perl-module-exporter"
+RDEPENDS:perl-module-getopt-std += "perl-module-strict"
+RDEPENDS:perl-module-getopt-std += "perl-module-warnings"
+RDEPENDS:perl-module-hash-util-fieldhash += "perl-module-builtin"
+RDEPENDS:perl-module-hash-util-fieldhash += "perl-module-exporter"
+RDEPENDS:perl-module-hash-util-fieldhash += "perl-module-strict"
+RDEPENDS:perl-module-hash-util-fieldhash += "perl-module-warnings"
+RDEPENDS:perl-module-hash-util-fieldhash += "perl-module-xsloader"
+RDEPENDS:perl-module-hash-util += "perl-module-builtin"
+RDEPENDS:perl-module-hash-util += "perl-module-exporter"
+RDEPENDS:perl-module-hash-util += "perl-module-hash-util-fieldhash"
+RDEPENDS:perl-module-hash-util += "perl-module-strict"
+RDEPENDS:perl-module-hash-util += "perl-module-warnings"
+RDEPENDS:perl-module-hash-util += "perl-module-warnings-register"
+RDEPENDS:perl-module-hash-util += "perl-module-xsloader"
+RDEPENDS:perl-module-i18n-collate += "perl-module-exporter"
+RDEPENDS:perl-module-i18n-collate += "perl-module-overload"
+RDEPENDS:perl-module-i18n-collate += "perl-module-posix"
+RDEPENDS:perl-module-i18n-collate += "perl-module-strict"
+RDEPENDS:perl-module-i18n-collate += "perl-module-warnings-register"
+RDEPENDS:perl-module-i18n-langinfo += "perl-module-exporter"
+RDEPENDS:perl-module-i18n-langinfo += "perl-module-strict"
+RDEPENDS:perl-module-i18n-langinfo += "perl-module-warnings"
+RDEPENDS:perl-module-i18n-langinfo += "perl-module-xsloader"
+RDEPENDS:perl-module-i18n-langtags-detect += "perl-module-i18n-langtags"
+RDEPENDS:perl-module-i18n-langtags-detect += "perl-module-strict"
+RDEPENDS:perl-module-i18n-langtags-list += "perl-module-strict"
+RDEPENDS:perl-module-i18n-langtags += "perl-module-exporter"
+RDEPENDS:perl-module-i18n-langtags += "perl-module-strict"
+RDEPENDS:perl-module-if += "perl-module-strict"
+RDEPENDS:perl-module-io-compress-adapter-bzip2 += "perl-module-bytes"
+RDEPENDS:perl-module-io-compress-adapter-bzip2 += "perl-module-compress-raw-bzip2"
+RDEPENDS:perl-module-io-compress-adapter-bzip2 += "perl-module-io-compress-base-common"
+RDEPENDS:perl-module-io-compress-adapter-bzip2 += "perl-module-strict"
+RDEPENDS:perl-module-io-compress-adapter-bzip2 += "perl-module-warnings"
+RDEPENDS:perl-module-io-compress-adapter-deflate += "perl-module-bytes"
+RDEPENDS:perl-module-io-compress-adapter-deflate += "perl-module-compress-raw-zlib"
+RDEPENDS:perl-module-io-compress-adapter-deflate += "perl-module-exporter"
+RDEPENDS:perl-module-io-compress-adapter-deflate += "perl-module-io-compress-base-common"
+RDEPENDS:perl-module-io-compress-adapter-deflate += "perl-module-strict"
+RDEPENDS:perl-module-io-compress-adapter-deflate += "perl-module-warnings"
+RDEPENDS:perl-module-io-compress-adapter-identity += "perl-module-bytes"
+RDEPENDS:perl-module-io-compress-adapter-identity += "perl-module-io-compress-base-common"
+RDEPENDS:perl-module-io-compress-adapter-identity += "perl-module-strict"
+RDEPENDS:perl-module-io-compress-adapter-identity += "perl-module-warnings"
+RDEPENDS:perl-module-io-compress-base-common += "perl-module-bytes"
+RDEPENDS:perl-module-io-compress-base-common += "perl-module-constant"
+RDEPENDS:perl-module-io-compress-base-common += "perl-module-encode"
+RDEPENDS:perl-module-io-compress-base-common += "perl-module-exporter"
+RDEPENDS:perl-module-io-compress-base-common += "perl-module-file-globmapper"
+RDEPENDS:perl-module-io-compress-base-common += "perl-module-strict "
+RDEPENDS:perl-module-io-compress-base-common += "perl-module-strict"
+RDEPENDS:perl-module-io-compress-base-common += "perl-module-utf8"
+RDEPENDS:perl-module-io-compress-base-common += "perl-module-warnings"
+RDEPENDS:perl-module-io-compress-base += "perl-module-io-compress-base-common"
+RDEPENDS:perl-module-io-compress-base += "perl-module-io-file"
+RDEPENDS:perl-module-io-compress-base += "perl-module-io-handle "
+RDEPENDS:perl-module-io-compress-base += "perl-module-strict "
+RDEPENDS:perl-module-io-compress-base += "perl-module-warnings"
+RDEPENDS:perl-module-io-compress-bzip2 += "perl-module-bytes"
+RDEPENDS:perl-module-io-compress-bzip2 += "perl-module-exporter "
+RDEPENDS:perl-module-io-compress-bzip2 += "perl-module-io-compress-adapter-bzip2"
+RDEPENDS:perl-module-io-compress-bzip2 += "perl-module-io-compress-base"
+RDEPENDS:perl-module-io-compress-bzip2 += "perl-module-io-compress-base-common"
+RDEPENDS:perl-module-io-compress-bzip2 += "perl-module-strict "
+RDEPENDS:perl-module-io-compress-bzip2 += "perl-module-warnings"
+RDEPENDS:perl-module-io-compress-deflate += "perl-module-bytes"
+RDEPENDS:perl-module-io-compress-deflate += "perl-module-exporter "
+RDEPENDS:perl-module-io-compress-deflate += "perl-module-io-compress-adapter-deflate"
+RDEPENDS:perl-module-io-compress-deflate += "perl-module-io-compress-base-common"
+RDEPENDS:perl-module-io-compress-deflate += "perl-module-io-compress-rawdeflate"
+RDEPENDS:perl-module-io-compress-deflate += "perl-module-io-compress-zlib-constants"
+RDEPENDS:perl-module-io-compress-deflate += "perl-module-strict "
+RDEPENDS:perl-module-io-compress-deflate += "perl-module-warnings"
+RDEPENDS:perl-module-io-compress-gzip-constants += "perl-module-bytes"
+RDEPENDS:perl-module-io-compress-gzip-constants += "perl-module-constant"
+RDEPENDS:perl-module-io-compress-gzip-constants += "perl-module-exporter"
+RDEPENDS:perl-module-io-compress-gzip-constants += "perl-module-strict "
+RDEPENDS:perl-module-io-compress-gzip-constants += "perl-module-warnings"
+RDEPENDS:perl-module-io-compress-gzip += "perl-module-bytes"
+RDEPENDS:perl-module-io-compress-gzip += "perl-module-exporter "
+RDEPENDS:perl-module-io-compress-gzip += "perl-module-io-compress-adapter-deflate"
+RDEPENDS:perl-module-io-compress-gzip += "perl-module-io-compress-base-common"
+RDEPENDS:perl-module-io-compress-gzip += "perl-module-io-compress-gzip-constants"
+RDEPENDS:perl-module-io-compress-gzip += "perl-module-io-compress-rawdeflate"
+RDEPENDS:perl-module-io-compress-gzip += "perl-module-io-compress-zlib-extra"
+RDEPENDS:perl-module-io-compress-gzip += "perl-module-strict "
+RDEPENDS:perl-module-io-compress-gzip += "perl-module-warnings"
+RDEPENDS:perl-module-io-compress-rawdeflate += "perl-module-bytes"
+RDEPENDS:perl-module-io-compress-rawdeflate += "perl-module-compress-raw-zlib"
+RDEPENDS:perl-module-io-compress-rawdeflate += "perl-module-exporter "
+RDEPENDS:perl-module-io-compress-rawdeflate += "perl-module-fcntl"
+RDEPENDS:perl-module-io-compress-rawdeflate += "perl-module-io-compress-adapter-deflate"
+RDEPENDS:perl-module-io-compress-rawdeflate += "perl-module-io-compress-base"
+RDEPENDS:perl-module-io-compress-rawdeflate += "perl-module-io-compress-base-common"
+RDEPENDS:perl-module-io-compress-rawdeflate += "perl-module-strict "
+RDEPENDS:perl-module-io-compress-rawdeflate += "perl-module-warnings"
+RDEPENDS:perl-module-io-compress-zip-constants += "perl-module-constant"
+RDEPENDS:perl-module-io-compress-zip-constants += "perl-module-exporter"
+RDEPENDS:perl-module-io-compress-zip-constants += "perl-module-strict "
+RDEPENDS:perl-module-io-compress-zip-constants += "perl-module-warnings"
+RDEPENDS:perl-module-io-compress-zip += "perl-module-bytes"
+RDEPENDS:perl-module-io-compress-zip += "perl-module-compress-raw-zlib"
+RDEPENDS:perl-module-io-compress-zip += "perl-module-config"
+RDEPENDS:perl-module-io-compress-zip += "perl-module-exporter "
+RDEPENDS:perl-module-io-compress-zip += "perl-module-fcntl"
+RDEPENDS:perl-module-io-compress-zip += "perl-module-io-compress-adapter-deflate"
+RDEPENDS:perl-module-io-compress-zip += "perl-module-io-compress-adapter-identity"
+RDEPENDS:perl-module-io-compress-zip += "perl-module-io-compress-base-common"
+RDEPENDS:perl-module-io-compress-zip += "perl-module-io-compress-bzip2 "
+RDEPENDS:perl-module-io-compress-zip += "perl-module-io-compress-rawdeflate"
+RDEPENDS:perl-module-io-compress-zip += "perl-module-io-compress-zip-constants"
+RDEPENDS:perl-module-io-compress-zip += "perl-module-io-compress-zlib-extra"
+RDEPENDS:perl-module-io-compress-zip += "perl-module-strict "
+RDEPENDS:perl-module-io-compress-zip += "perl-module-warnings"
+RDEPENDS:perl-module-io-compress-zlib-constants += "perl-module-bytes"
+RDEPENDS:perl-module-io-compress-zlib-constants += "perl-module-constant"
+RDEPENDS:perl-module-io-compress-zlib-constants += "perl-module-exporter"
+RDEPENDS:perl-module-io-compress-zlib-constants += "perl-module-strict "
+RDEPENDS:perl-module-io-compress-zlib-constants += "perl-module-warnings"
+RDEPENDS:perl-module-io-compress-zlib-extra += "perl-module-bytes"
+RDEPENDS:perl-module-io-compress-zlib-extra += "perl-module-io-compress-gzip-constants"
+RDEPENDS:perl-module-io-compress-zlib-extra += "perl-module-strict "
+RDEPENDS:perl-module-io-compress-zlib-extra += "perl-module-warnings"
+RDEPENDS:perl-module-io-dir += "perl-module-exporter"
+RDEPENDS:perl-module-io-dir += "perl-module-file-stat"
+RDEPENDS:perl-module-io-dir += "perl-module-io-file"
+RDEPENDS:perl-module-io-dir += "perl-module-strict"
+RDEPENDS:perl-module-io-dir += "perl-module-tie-hash"
+RDEPENDS:perl-module-io-file += "perl-module-exporter"
+RDEPENDS:perl-module-io-file += "perl-module-fcntl"
+RDEPENDS:perl-module-io-file += "perl-module-io-seekable"
+RDEPENDS:perl-module-io-file += "perl-module-selectsaver"
+RDEPENDS:perl-module-io-file += "perl-module-strict"
+RDEPENDS:perl-module-io-handle += "perl-module-exporter"
+RDEPENDS:perl-module-io-handle += "perl-module-io"
+RDEPENDS:perl-module-io-handle += "perl-module-io-file"
+RDEPENDS:perl-module-io-handle += "perl-module-selectsaver"
+RDEPENDS:perl-module-io-handle += "perl-module-strict"
+RDEPENDS:perl-module-io += "perl-module-strict"
+RDEPENDS:perl-module-io += "perl-module-warnings"
+RDEPENDS:perl-module-io += "perl-module-xsloader"
+RDEPENDS:perl-module-io-pipe += "perl-module-fcntl"
+RDEPENDS:perl-module-io-pipe += "perl-module-io-handle"
+RDEPENDS:perl-module-io-pipe += "perl-module-strict"
+RDEPENDS:perl-module-io-poll += "perl-module-exporter"
+RDEPENDS:perl-module-io-poll += "perl-module-io-handle"
+RDEPENDS:perl-module-io-poll += "perl-module-strict"
+RDEPENDS:perl-module-io-seekable += "perl-module-exporter"
+RDEPENDS:perl-module-io-seekable += "perl-module-fcntl"
+RDEPENDS:perl-module-io-seekable += "perl-module-io-handle"
+RDEPENDS:perl-module-io-seekable += "perl-module-strict"
+RDEPENDS:perl-module-io-select += "perl-module-exporter"
+RDEPENDS:perl-module-io-select += "perl-module-strict"
+RDEPENDS:perl-module-io-select += "perl-module-warnings-register"
+RDEPENDS:perl-module-io-socket-inet += "perl-module-errno"
+RDEPENDS:perl-module-io-socket-inet += "perl-module-exporter"
+RDEPENDS:perl-module-io-socket-inet += "perl-module-io-socket"
+RDEPENDS:perl-module-io-socket-inet += "perl-module-socket"
+RDEPENDS:perl-module-io-socket-inet += "perl-module-strict"
+RDEPENDS:perl-module-io-socket-ip += "perl-module-base"
+RDEPENDS:perl-module-io-socket-ip += "perl-module-constant"
+RDEPENDS:perl-module-io-socket-ip += "perl-module-errno"
+RDEPENDS:perl-module-io-socket-ip += "perl-module-posix"
+RDEPENDS:perl-module-io-socket-ip += "perl-module-socket"
+RDEPENDS:perl-module-io-socket-ip += "perl-module-strict"
+RDEPENDS:perl-module-io-socket-ip += "perl-module-warnings"
+RDEPENDS:perl-module-io-socket += "perl-module-errno"
+RDEPENDS:perl-module-io-socket += "perl-module-exporter"
+RDEPENDS:perl-module-io-socket += "perl-module-io-handle"
+RDEPENDS:perl-module-io-socket += "perl-module-io-select"
+RDEPENDS:perl-module-io-socket += "perl-module-io-socket-inet"
+RDEPENDS:perl-module-io-socket += "perl-module-io-socket-unix"
+RDEPENDS:perl-module-io-socket += "perl-module-socket"
+RDEPENDS:perl-module-io-socket += "perl-module-strict"
+RDEPENDS:perl-module-io-socket-unix += "perl-module-io-socket"
+RDEPENDS:perl-module-io-socket-unix += "perl-module-strict"
+RDEPENDS:perl-module-io-uncompress-adapter-bunzip2 += "perl-module-bytes"
+RDEPENDS:perl-module-io-uncompress-adapter-bunzip2 += "perl-module-compress-raw-bzip2"
+RDEPENDS:perl-module-io-uncompress-adapter-bunzip2 += "perl-module-io-compress-base-common"
+RDEPENDS:perl-module-io-uncompress-adapter-bunzip2 += "perl-module-strict"
+RDEPENDS:perl-module-io-uncompress-adapter-bunzip2 += "perl-module-warnings"
+RDEPENDS:perl-module-io-uncompress-adapter-identity += "perl-module-bytes"
+RDEPENDS:perl-module-io-uncompress-adapter-identity += "perl-module-compress-raw-zlib"
+RDEPENDS:perl-module-io-uncompress-adapter-identity += "perl-module-io-compress-base-common"
+RDEPENDS:perl-module-io-uncompress-adapter-identity += "perl-module-io-compress-zip-constants "
+RDEPENDS:perl-module-io-uncompress-adapter-identity += "perl-module-strict"
+RDEPENDS:perl-module-io-uncompress-adapter-identity += "perl-module-warnings"
+RDEPENDS:perl-module-io-uncompress-adapter-inflate += "perl-module-bytes"
+RDEPENDS:perl-module-io-uncompress-adapter-inflate += "perl-module-compress-raw-zlib"
+RDEPENDS:perl-module-io-uncompress-adapter-inflate += "perl-module-io-compress-base-common"
+RDEPENDS:perl-module-io-uncompress-adapter-inflate += "perl-module-strict"
+RDEPENDS:perl-module-io-uncompress-adapter-inflate += "perl-module-warnings"
+RDEPENDS:perl-module-io-uncompress-anyinflate += "perl-module-bytes"
+RDEPENDS:perl-module-io-uncompress-anyinflate += "perl-module-exporter "
+RDEPENDS:perl-module-io-uncompress-anyinflate += "perl-module-io-compress-base-common"
+RDEPENDS:perl-module-io-uncompress-anyinflate += "perl-module-io-uncompress-adapter-inflate"
+RDEPENDS:perl-module-io-uncompress-anyinflate += "perl-module-io-uncompress-base"
+RDEPENDS:perl-module-io-uncompress-anyinflate += "perl-module-io-uncompress-gunzip"
+RDEPENDS:perl-module-io-uncompress-anyinflate += "perl-module-io-uncompress-inflate"
+RDEPENDS:perl-module-io-uncompress-anyinflate += "perl-module-io-uncompress-rawinflate"
+RDEPENDS:perl-module-io-uncompress-anyinflate += "perl-module-io-uncompress-unzip"
+RDEPENDS:perl-module-io-uncompress-anyinflate += "perl-module-strict"
+RDEPENDS:perl-module-io-uncompress-anyinflate += "perl-module-warnings"
+RDEPENDS:perl-module-io-uncompress-anyuncompress += "perl-module-bytes"
+RDEPENDS:perl-module-io-uncompress-anyuncompress += "perl-module-exporter "
+RDEPENDS:perl-module-io-uncompress-anyuncompress += "perl-module-io-compress-base-common"
+RDEPENDS:perl-module-io-uncompress-anyuncompress += "perl-module-io-uncompress-base"
+RDEPENDS:perl-module-io-uncompress-anyuncompress += "perl-module-strict"
+RDEPENDS:perl-module-io-uncompress-anyuncompress += "perl-module-warnings"
+RDEPENDS:perl-module-io-uncompress-base += "perl-module-bytes"
+RDEPENDS:perl-module-io-uncompress-base += "perl-module-constant"
+RDEPENDS:perl-module-io-uncompress-base += "perl-module-io-compress-base-common"
+RDEPENDS:perl-module-io-uncompress-base += "perl-module-io-file "
+RDEPENDS:perl-module-io-uncompress-base += "perl-module-list-util"
+RDEPENDS:perl-module-io-uncompress-base += "perl-module-strict "
+RDEPENDS:perl-module-io-uncompress-base += "perl-module-warnings"
+RDEPENDS:perl-module-io-uncompress-bunzip2 += "perl-module-bytes"
+RDEPENDS:perl-module-io-uncompress-bunzip2 += "perl-module-exporter "
+RDEPENDS:perl-module-io-uncompress-bunzip2 += "perl-module-io-compress-base-common"
+RDEPENDS:perl-module-io-uncompress-bunzip2 += "perl-module-io-uncompress-adapter-bunzip2"
+RDEPENDS:perl-module-io-uncompress-bunzip2 += "perl-module-io-uncompress-base"
+RDEPENDS:perl-module-io-uncompress-bunzip2 += "perl-module-strict "
+RDEPENDS:perl-module-io-uncompress-bunzip2 += "perl-module-warnings"
+RDEPENDS:perl-module-io-uncompress-gunzip += "perl-module-bytes"
+RDEPENDS:perl-module-io-uncompress-gunzip += "perl-module-compress-raw-zlib"
+RDEPENDS:perl-module-io-uncompress-gunzip += "perl-module-exporter "
+RDEPENDS:perl-module-io-uncompress-gunzip += "perl-module-io-compress-base-common"
+RDEPENDS:perl-module-io-uncompress-gunzip += "perl-module-io-compress-gzip-constants"
+RDEPENDS:perl-module-io-uncompress-gunzip += "perl-module-io-compress-zlib-extra"
+RDEPENDS:perl-module-io-uncompress-gunzip += "perl-module-io-uncompress-rawinflate"
+RDEPENDS:perl-module-io-uncompress-gunzip += "perl-module-strict "
+RDEPENDS:perl-module-io-uncompress-gunzip += "perl-module-warnings"
+RDEPENDS:perl-module-io-uncompress-inflate += "perl-module-bytes"
+RDEPENDS:perl-module-io-uncompress-inflate += "perl-module-exporter "
+RDEPENDS:perl-module-io-uncompress-inflate += "perl-module-io-compress-base-common"
+RDEPENDS:perl-module-io-uncompress-inflate += "perl-module-io-compress-zlib-constants"
+RDEPENDS:perl-module-io-uncompress-inflate += "perl-module-io-uncompress-rawinflate"
+RDEPENDS:perl-module-io-uncompress-inflate += "perl-module-strict "
+RDEPENDS:perl-module-io-uncompress-inflate += "perl-module-warnings"
+RDEPENDS:perl-module-io-uncompress-rawinflate += "perl-module-bytes"
+RDEPENDS:perl-module-io-uncompress-rawinflate += "perl-module-compress-raw-zlib"
+RDEPENDS:perl-module-io-uncompress-rawinflate += "perl-module-exporter "
+RDEPENDS:perl-module-io-uncompress-rawinflate += "perl-module-io-compress-base-common"
+RDEPENDS:perl-module-io-uncompress-rawinflate += "perl-module-io-uncompress-adapter-inflate"
+RDEPENDS:perl-module-io-uncompress-rawinflate += "perl-module-io-uncompress-base"
+RDEPENDS:perl-module-io-uncompress-rawinflate += "perl-module-strict "
+RDEPENDS:perl-module-io-uncompress-rawinflate += "perl-module-warnings"
+RDEPENDS:perl-module-io-uncompress-unzip += "perl-module-bytes"
+RDEPENDS:perl-module-io-uncompress-unzip += "perl-module-compress-raw-zlib"
+RDEPENDS:perl-module-io-uncompress-unzip += "perl-module-constant"
+RDEPENDS:perl-module-io-uncompress-unzip += "perl-module-encode"
+RDEPENDS:perl-module-io-uncompress-unzip += "perl-module-exporter "
+RDEPENDS:perl-module-io-uncompress-unzip += "perl-module-fcntl"
+RDEPENDS:perl-module-io-uncompress-unzip += "perl-module-io-compress-base-common"
+RDEPENDS:perl-module-io-uncompress-unzip += "perl-module-io-compress-zip-constants"
+RDEPENDS:perl-module-io-uncompress-unzip += "perl-module-io-compress-zlib-extra"
+RDEPENDS:perl-module-io-uncompress-unzip += "perl-module-io-file"
+RDEPENDS:perl-module-io-uncompress-unzip += "perl-module-io-uncompress-adapter-identity"
+RDEPENDS:perl-module-io-uncompress-unzip += "perl-module-io-uncompress-adapter-inflate"
+RDEPENDS:perl-module-io-uncompress-unzip += "perl-module-io-uncompress-rawinflate"
+RDEPENDS:perl-module-io-uncompress-unzip += "perl-module-posix"
+RDEPENDS:perl-module-io-uncompress-unzip += "perl-module-strict "
+RDEPENDS:perl-module-io-uncompress-unzip += "perl-module-warnings"
+RDEPENDS:perl-module-io-zlib += "perl-module-fcntl"
+RDEPENDS:perl-module-io-zlib += "perl-module-io-handle"
+RDEPENDS:perl-module-io-zlib += "perl-module-strict"
+RDEPENDS:perl-module-io-zlib += "perl-module-tie-handle"
+RDEPENDS:perl-module-io-zlib += "perl-module-warnings"
+RDEPENDS:perl-module-ipc-cmd += "perl-module-constant"
+RDEPENDS:perl-module-ipc-cmd += "perl-module-exporter"
+RDEPENDS:perl-module-ipc-cmd += "perl-module-extutils-makemaker"
+RDEPENDS:perl-module-ipc-cmd += "perl-module-filehandle"
+RDEPENDS:perl-module-ipc-cmd += "perl-module-io-handle"
+RDEPENDS:perl-module-ipc-cmd += "perl-module-io-select"
+RDEPENDS:perl-module-ipc-cmd += "perl-module-ipc-open3"
+RDEPENDS:perl-module-ipc-cmd += "perl-module-locale-maketext-simple"
+RDEPENDS:perl-module-ipc-cmd += "perl-module-load"
+RDEPENDS:perl-module-ipc-cmd += "perl-module-params-check"
+RDEPENDS:perl-module-ipc-cmd += "perl-module-posix"
+RDEPENDS:perl-module-ipc-cmd += "perl-module-socket"
+RDEPENDS:perl-module-ipc-cmd += "perl-module-strict"
+RDEPENDS:perl-module-ipc-cmd += "perl-module-text-parsewords"
+RDEPENDS:perl-module-ipc-cmd += "perl-module-time-hires"
+RDEPENDS:perl-module-ipc-cmd += "perl-module-vars"
+RDEPENDS:perl-module-ipc-msg += "perl-module-class-struct"
+RDEPENDS:perl-module-ipc-msg += "perl-module-ipc-sysv"
+RDEPENDS:perl-module-ipc-msg += "perl-module-strict"
+RDEPENDS:perl-module-ipc-msg += "perl-module-vars"
+RDEPENDS:perl-module-ipc-open2 += "perl-module-exporter"
+RDEPENDS:perl-module-ipc-open2 += "perl-module-ipc-open3"
+RDEPENDS:perl-module-ipc-open2 += "perl-module-strict"
+RDEPENDS:perl-module-ipc-open3 += "perl-module-constant"
+RDEPENDS:perl-module-ipc-open3 += "perl-module-exporter"
+RDEPENDS:perl-module-ipc-open3 += "perl-module-fcntl"
+RDEPENDS:perl-module-ipc-open3 += "perl-module-io-pipe"
+RDEPENDS:perl-module-ipc-open3 += "perl-module-posix"
+RDEPENDS:perl-module-ipc-open3 += "perl-module-strict"
+RDEPENDS:perl-module-ipc-semaphore += "perl-module-class-struct"
+RDEPENDS:perl-module-ipc-semaphore += "perl-module-ipc-sysv"
+RDEPENDS:perl-module-ipc-semaphore += "perl-module-strict"
+RDEPENDS:perl-module-ipc-semaphore += "perl-module-vars"
+RDEPENDS:perl-module-ipc-sharedmem += "perl-module-class-struct"
+RDEPENDS:perl-module-ipc-sharedmem += "perl-module-ipc-sysv"
+RDEPENDS:perl-module-ipc-sharedmem += "perl-module-strict"
+RDEPENDS:perl-module-ipc-sharedmem += "perl-module-vars"
+RDEPENDS:perl-module-ipc-sysv += "perl-module-config"
+RDEPENDS:perl-module-ipc-sysv += "perl-module-exporter"
+RDEPENDS:perl-module-ipc-sysv += "perl-module-strict"
+RDEPENDS:perl-module-ipc-sysv += "perl-module-vars"
+RDEPENDS:perl-module-ipc-sysv += "perl-module-xsloader"
+RDEPENDS:perl-module-json-pp-boolean += "perl-module-overload"
+RDEPENDS:perl-module-json-pp-boolean += "perl-module-strict"
+RDEPENDS:perl-module-json-pp += "perl-module-b"
+RDEPENDS:perl-module-json-pp += "perl-module-bytes"
+RDEPENDS:perl-module-json-pp += "perl-module-constant"
+RDEPENDS:perl-module-json-pp += "perl-module-encode"
+RDEPENDS:perl-module-json-pp += "perl-module-exporter"
+RDEPENDS:perl-module-json-pp += "perl-module-json-pp-boolean"
+RDEPENDS:perl-module-json-pp += "perl-module-math-bigfloat"
+RDEPENDS:perl-module-json-pp += "perl-module-math-bigint"
+RDEPENDS:perl-module-json-pp += "perl-module-overload"
+RDEPENDS:perl-module-json-pp += "perl-module-strict"
+RDEPENDS:perl-module-json-pp += "perl-module-subs"
+RDEPENDS:perl-module-less += "perl-module-strict"
+RDEPENDS:perl-module-less += "perl-module-warnings"
+RDEPENDS:perl-module-lib += "perl-module-config"
+RDEPENDS:perl-module-lib += "perl-module-strict"
+RDEPENDS:perl-module-list-util += "perl-module-exporter"
+RDEPENDS:perl-module-list-util += "perl-module-strict"
+RDEPENDS:perl-module-list-util += "perl-module-warnings"
+RDEPENDS:perl-module-list-util += "perl-module-xsloader"
+RDEPENDS:perl-module-list-util-xs += "perl-module-list-util"
+RDEPENDS:perl-module-list-util-xs += "perl-module-strict"
+RDEPENDS:perl-module-list-util-xs += "perl-module-warnings"
+RDEPENDS:perl-module-loaded += "perl-module-strict"
+RDEPENDS:perl-module-loaded += "perl-module-vars"
+RDEPENDS:perl-module-load += "perl-module-config"
+RDEPENDS:perl-module-load += "perl-module-constant"
+RDEPENDS:perl-module-load += "perl-module-exporter"
+RDEPENDS:perl-module-load += "perl-module-filehandle"
+RDEPENDS:perl-module-load += "perl-module-locale-maketext-simple"
+RDEPENDS:perl-module-load += "perl-module-corelist"
+RDEPENDS:perl-module-load += "perl-module-load"
+RDEPENDS:perl-module-load += "perl-module-params-check"
+RDEPENDS:perl-module-load += "perl-module-strict"
+RDEPENDS:perl-module-load += "perl-module-vars"
+RDEPENDS:perl-module-load += "perl-module-version"
+RDEPENDS:perl-module-load += "perl-module-warnings"
+RDEPENDS:perl-module-locale-maketext-gutsloader += "perl-module-locale-maketext"
+RDEPENDS:perl-module-locale-maketext-guts += "perl-module-locale-maketext"
+RDEPENDS:perl-module-locale-maketext += "perl-module-i18n-langtags"
+RDEPENDS:perl-module-locale-maketext += "perl-module-i18n-langtags-detect"
+RDEPENDS:perl-module-locale-maketext += "perl-module-integer"
+RDEPENDS:perl-module-locale-maketext += "perl-module-strict"
+RDEPENDS:perl-module-locale-maketext-simple += "perl-module-base"
+RDEPENDS:perl-module-locale-maketext-simple += "perl-module-strict"
+RDEPENDS:perl-module-locale += "perl-module-config"
+RDEPENDS:perl-module-locale += "perl-module-strict"
+RDEPENDS:perl-module-locale += "perl-module-warnings"
+RDEPENDS:perl-module-math-bigfloat += "perl-module-exporter"
+RDEPENDS:perl-module-math-bigfloat += "perl-module-math-bigint"
+RDEPENDS:perl-module-math-bigfloat += "perl-module-math-complex"
+RDEPENDS:perl-module-math-bigfloat += "perl-module-overload"
+RDEPENDS:perl-module-math-bigfloat += "perl-module-strict"
+RDEPENDS:perl-module-math-bigfloat += "perl-module-warnings"
+RDEPENDS:perl-module-math-bigfloat-trace += "perl-module-exporter"
+RDEPENDS:perl-module-math-bigfloat-trace += "perl-module-math-bigfloat"
+RDEPENDS:perl-module-math-bigfloat-trace += "perl-module-overload"
+RDEPENDS:perl-module-math-bigfloat-trace += "perl-module-strict"
+RDEPENDS:perl-module-math-bigfloat-trace += "perl-module-warnings"
+RDEPENDS:perl-module-math-bigint-calc += "perl-module-constant"
+RDEPENDS:perl-module-math-bigint-calc += "perl-module-integer"
+RDEPENDS:perl-module-math-bigint-calc += "perl-module-math-bigint-lib"
+RDEPENDS:perl-module-math-bigint-calc += "perl-module-strict"
+RDEPENDS:perl-module-math-bigint-calc += "perl-module-warnings"
+RDEPENDS:perl-module-math-bigint-fastcalc += "perl-module-config"
+RDEPENDS:perl-module-math-bigint-fastcalc += "perl-module-math-bigint-calc"
+RDEPENDS:perl-module-math-bigint-fastcalc += "perl-module-strict"
+RDEPENDS:perl-module-math-bigint-fastcalc += "perl-module-warnings"
+RDEPENDS:perl-module-math-bigint-fastcalc += "perl-module-xsloader"
+RDEPENDS:perl-module-math-bigint-lib += "perl-module-overload"
+RDEPENDS:perl-module-math-bigint-lib += "perl-module-strict"
+RDEPENDS:perl-module-math-bigint-lib += "perl-module-warnings"
+RDEPENDS:perl-module-math-bigint += "perl-module-exporter"
+RDEPENDS:perl-module-math-bigint += "perl-module-math-bigfloat"
+RDEPENDS:perl-module-math-bigint += "perl-module-math-complex"
+RDEPENDS:perl-module-math-bigint += "perl-module-overload"
+RDEPENDS:perl-module-math-bigint += "perl-module-strict"
+RDEPENDS:perl-module-math-bigint += "perl-module-warnings"
+RDEPENDS:perl-module-math-bigint-trace += "perl-module-exporter"
+RDEPENDS:perl-module-math-bigint-trace += "perl-module-math-bigint"
+RDEPENDS:perl-module-math-bigint-trace += "perl-module-overload"
+RDEPENDS:perl-module-math-bigint-trace += "perl-module-strict"
+RDEPENDS:perl-module-math-bigint-trace += "perl-module-warnings"
+RDEPENDS:perl-module-math-bigrat += "perl-module-math-bigfloat"
+RDEPENDS:perl-module-math-bigrat += "perl-module-math-bigint"
+RDEPENDS:perl-module-math-bigrat += "perl-module-math-complex"
+RDEPENDS:perl-module-math-bigrat += "perl-module-overload"
+RDEPENDS:perl-module-math-bigrat += "perl-module-strict"
+RDEPENDS:perl-module-math-bigrat += "perl-module-warnings"
+RDEPENDS:perl-module-math-bigrat-trace += "perl-module-exporter"
+RDEPENDS:perl-module-math-bigrat-trace += "perl-module-math-bigrat"
+RDEPENDS:perl-module-math-bigrat-trace += "perl-module-overload"
+RDEPENDS:perl-module-math-bigrat-trace += "perl-module-strict"
+RDEPENDS:perl-module-math-bigrat-trace += "perl-module-warnings"
+RDEPENDS:perl-module-math-complex += "perl-module-config"
+RDEPENDS:perl-module-math-complex += "perl-module-exporter"
+RDEPENDS:perl-module-math-complex += "perl-module-overload"
+RDEPENDS:perl-module-math-complex += "perl-module-strict"
+RDEPENDS:perl-module-math-complex += "perl-module-warnings"
+RDEPENDS:perl-module-math-trig += "perl-module-exporter"
+RDEPENDS:perl-module-math-trig += "perl-module-math-complex"
+RDEPENDS:perl-module-math-trig += "perl-module-strict"
+RDEPENDS:perl-module-memoize-anydbm-file += "perl-module-vars"
+RDEPENDS:perl-module-memoize += "perl-module-config"
+RDEPENDS:perl-module-memoize += "perl-module-exporter"
+RDEPENDS:perl-module-memoize += "perl-module-strict"
+RDEPENDS:perl-module-memoize += "perl-module-vars"
+RDEPENDS:perl-module-memoize-sdbm-file += "perl-module-sdbm-file"
+RDEPENDS:perl-module-memoize-storable += "perl-module-storable"
+RDEPENDS:perl-module-mime-base64 += "perl-module-exporter"
+RDEPENDS:perl-module-mime-base64 += "perl-module-strict"
+RDEPENDS:perl-module-mime-base64 += "perl-module-warnings"
+RDEPENDS:perl-module-mime-base64 += "perl-module-xsloader"
+RDEPENDS:perl-module-mime-quotedprint += "perl-module-exporter"
+RDEPENDS:perl-module-mime-quotedprint += "perl-module-mime-base64"
+RDEPENDS:perl-module-mime-quotedprint += "perl-module-strict"
+RDEPENDS:perl-module-mime-quotedprint += "perl-module-warnings"
+RDEPENDS:perl-module-mro += "perl-module-strict"
+RDEPENDS:perl-module-mro += "perl-module-warnings"
+RDEPENDS:perl-module-mro += "perl-module-xsloader"
+RDEPENDS:perl-module-net-cmd += "perl-module-constant"
+RDEPENDS:perl-module-net-cmd += "perl-module-errno"
+RDEPENDS:perl-module-net-cmd += "perl-module-exporter"
+RDEPENDS:perl-module-net-cmd += "perl-module-strict"
+RDEPENDS:perl-module-net-cmd += "perl-module-warnings"
+RDEPENDS:perl-module-net-config += "perl-module-exporter"
+RDEPENDS:perl-module-net-config += "perl-module-socket"
+RDEPENDS:perl-module-net-config += "perl-module-strict"
+RDEPENDS:perl-module-net-config += "perl-module-warnings"
+RDEPENDS:perl-module-net-domain += "perl-module-exporter"
+RDEPENDS:perl-module-net-domain += "perl-module-net-config"
+RDEPENDS:perl-module-net-domain += "perl-module-posix"
+RDEPENDS:perl-module-net-domain += "perl-module-socket"
+RDEPENDS:perl-module-net-domain += "perl-module-strict"
+RDEPENDS:perl-module-net-domain += "perl-module-warnings"
+RDEPENDS:perl-module-net-ftp-a += "perl-module-net-ftp-dataconn"
+RDEPENDS:perl-module-net-ftp-a += "perl-module-strict"
+RDEPENDS:perl-module-net-ftp-a += "perl-module-warnings"
+RDEPENDS:perl-module-net-ftp-dataconn += "perl-module-errno"
+RDEPENDS:perl-module-net-ftp-dataconn += "perl-module-net-cmd"
+RDEPENDS:perl-module-net-ftp-dataconn += "perl-module-strict"
+RDEPENDS:perl-module-net-ftp-dataconn += "perl-module-warnings"
+RDEPENDS:perl-module-net-ftp-e += "perl-module-net-ftp-i"
+RDEPENDS:perl-module-net-ftp-e += "perl-module-strict"
+RDEPENDS:perl-module-net-ftp-e += "perl-module-warnings"
+RDEPENDS:perl-module-net-ftp-i += "perl-module-net-ftp-dataconn"
+RDEPENDS:perl-module-net-ftp-i += "perl-module-strict"
+RDEPENDS:perl-module-net-ftp-i += "perl-module-warnings"
+RDEPENDS:perl-module-net-ftp-l += "perl-module-net-ftp-i"
+RDEPENDS:perl-module-net-ftp-l += "perl-module-strict"
+RDEPENDS:perl-module-net-ftp-l += "perl-module-warnings"
+RDEPENDS:perl-module-net-ftp += "perl-module-constant"
+RDEPENDS:perl-module-net-ftp += "perl-module-fcntl"
+RDEPENDS:perl-module-net-ftp += "perl-module-file-basename"
+RDEPENDS:perl-module-net-ftp += "perl-module-io-socket"
+RDEPENDS:perl-module-net-ftp += "perl-module-io-socket-ip"
+RDEPENDS:perl-module-net-ftp += "perl-module-net-cmd"
+RDEPENDS:perl-module-net-ftp += "perl-module-net-config"
+RDEPENDS:perl-module-net-ftp += "perl-module-net-ftp-a"
+RDEPENDS:perl-module-net-ftp += "perl-module-net-netrc"
+RDEPENDS:perl-module-net-ftp += "perl-module-socket"
+RDEPENDS:perl-module-net-ftp += "perl-module-strict"
+RDEPENDS:perl-module-net-ftp += "perl-module-time-local"
+RDEPENDS:perl-module-net-ftp += "perl-module-warnings"
+RDEPENDS:perl-module-net-hostent += "perl-module-class-struct"
+RDEPENDS:perl-module-net-hostent += "perl-module-exporter"
+RDEPENDS:perl-module-net-hostent += "perl-module-socket"
+RDEPENDS:perl-module-net-hostent += "perl-module-strict"
+RDEPENDS:perl-module-net-netent += "perl-module-class-struct"
+RDEPENDS:perl-module-net-netent += "perl-module-exporter"
+RDEPENDS:perl-module-net-netent += "perl-module-socket"
+RDEPENDS:perl-module-net-netent += "perl-module-strict"
+RDEPENDS:perl-module-net-netrc += "perl-module-filehandle"
+RDEPENDS:perl-module-net-netrc += "perl-module-strict"
+RDEPENDS:perl-module-net-netrc += "perl-module-warnings"
+RDEPENDS:perl-module-net-nntp += "perl-module-io-socket"
+RDEPENDS:perl-module-net-nntp += "perl-module-io-socket-ip"
+RDEPENDS:perl-module-net-nntp += "perl-module-net-cmd"
+RDEPENDS:perl-module-net-nntp += "perl-module-net-config"
+RDEPENDS:perl-module-net-nntp += "perl-module-strict"
+RDEPENDS:perl-module-net-nntp += "perl-module-time-local"
+RDEPENDS:perl-module-net-nntp += "perl-module-warnings"
+RDEPENDS:perl-module-net-ping += "perl-module-constant"
+RDEPENDS:perl-module-net-ping += "perl-module-exporter"
+RDEPENDS:perl-module-net-ping += "perl-module-fcntl"
+RDEPENDS:perl-module-net-ping += "perl-module-filehandle"
+RDEPENDS:perl-module-net-ping += "perl-module-io-socket-inet"
+RDEPENDS:perl-module-net-ping += "perl-module-posix"
+RDEPENDS:perl-module-net-ping += "perl-module-socket"
+RDEPENDS:perl-module-net-ping += "perl-module-strict"
+RDEPENDS:perl-module-net-ping += "perl-module-time-hires"
+RDEPENDS:perl-module-net-ping += "perl-module-vars"
+RDEPENDS:perl-module-net-pop3 += "perl-module-io-socket"
+RDEPENDS:perl-module-net-pop3 += "perl-module-io-socket-ip"
+RDEPENDS:perl-module-net-pop3 += "perl-module-mime-base64"
+RDEPENDS:perl-module-net-pop3 += "perl-module-net-cmd"
+RDEPENDS:perl-module-net-pop3 += "perl-module-net-config"
+RDEPENDS:perl-module-net-pop3 += "perl-module-net-netrc"
+RDEPENDS:perl-module-net-pop3 += "perl-module-strict"
+RDEPENDS:perl-module-net-pop3 += "perl-module-warnings"
+RDEPENDS:perl-module-net-protoent += "perl-module-class-struct"
+RDEPENDS:perl-module-net-protoent += "perl-module-exporter"
+RDEPENDS:perl-module-net-protoent += "perl-module-strict"
+RDEPENDS:perl-module-net-servent += "perl-module-class-struct"
+RDEPENDS:perl-module-net-servent += "perl-module-exporter"
+RDEPENDS:perl-module-net-servent += "perl-module-strict"
+RDEPENDS:perl-module-net-smtp += "perl-module-io-socket"
+RDEPENDS:perl-module-net-smtp += "perl-module-io-socket-ip"
+RDEPENDS:perl-module-net-smtp += "perl-module-mime-base64"
+RDEPENDS:perl-module-net-smtp += "perl-module-net-cmd"
+RDEPENDS:perl-module-net-smtp += "perl-module-net-config"
+RDEPENDS:perl-module-net-smtp += "perl-module-socket"
+RDEPENDS:perl-module-net-smtp += "perl-module-strict"
+RDEPENDS:perl-module-net-smtp += "perl-module-warnings"
+RDEPENDS:perl-module-net-time += "perl-module-exporter"
+RDEPENDS:perl-module-net-time += "perl-module-io-select"
+RDEPENDS:perl-module-net-time += "perl-module-io-socket"
+RDEPENDS:perl-module-net-time += "perl-module-net-config"
+RDEPENDS:perl-module-net-time += "perl-module-strict"
+RDEPENDS:perl-module-net-time += "perl-module-warnings"
+RDEPENDS:perl-module-next += "perl-module-overload"
+RDEPENDS:perl-module-next += "perl-module-strict"
+RDEPENDS:perl-module-next += "perl-module-warnings"
+RDEPENDS:perl-module-ok += "perl-module-strict"
+RDEPENDS:perl-module-ok += "perl-module-test-more"
+RDEPENDS:perl-module-opcode += "perl-module-exporter"
+RDEPENDS:perl-module-opcode += "perl-module-strict"
+RDEPENDS:perl-module-opcode += "perl-module-subs"
+RDEPENDS:perl-module-opcode += "perl-module-xsloader"
+RDEPENDS:perl-module-open += "perl-module-encode"
+RDEPENDS:perl-module-open += "perl-module-encoding"
+RDEPENDS:perl-module-open += "perl-module-warnings"
+RDEPENDS:perl-module-o += "perl-module-b"
+RDEPENDS:perl-module-ops += "perl-module-opcode"
+RDEPENDS:perl-module-overloading += "perl-module-overload-numbers"
+RDEPENDS:perl-module-overloading += "perl-module-warnings"
+RDEPENDS:perl-module-overload += "perl-module-mro"
+RDEPENDS:perl-module-overload += "perl-module-strict"
+RDEPENDS:perl-module-overload += "perl-module-warnings-register"
+RDEPENDS:perl-module-params-check += "perl-module-exporter"
+RDEPENDS:perl-module-params-check += "perl-module-locale-maketext-simple"
+RDEPENDS:perl-module-params-check += "perl-module-strict"
+RDEPENDS:perl-module-params-check += "perl-module-vars"
+RDEPENDS:perl-module-parent += "perl-module-strict"
+RDEPENDS:perl-module-perlfaq += "perl-module-strict"
+RDEPENDS:perl-module-perlfaq += "perl-module-warnings"
+RDEPENDS:perl-module-perlio-encoding += "perl-module-strict"
+RDEPENDS:perl-module-perlio-encoding += "perl-module-xsloader"
+RDEPENDS:perl-module-perlio-mmap += "perl-module-strict"
+RDEPENDS:perl-module-perlio-mmap += "perl-module-warnings"
+RDEPENDS:perl-module-perlio-mmap += "perl-module-xsloader"
+RDEPENDS:perl-module-perlio-scalar += "perl-module-xsloader"
+RDEPENDS:perl-module-perlio-via += "perl-module-xsloader"
+RDEPENDS:perl-module-perlio-via-quotedprint += "perl-module-mime-quotedprint"
+RDEPENDS:perl-module-perlio-via-quotedprint += "perl-module-strict"
+RDEPENDS:perl-module-pod-checker += "perl-module-base"
+RDEPENDS:perl-module-pod-checker += "perl-module-exporter"
+RDEPENDS:perl-module-pod-checker += "perl-module-strict"
+RDEPENDS:perl-module-pod-checker += "perl-module-warnings"
+RDEPENDS:perl-module-pod-escapes += "perl-module-exporter"
+RDEPENDS:perl-module-pod-escapes += "perl-module-strict"
+RDEPENDS:perl-module-pod-escapes += "perl-module-vars"
+RDEPENDS:perl-module-pod-escapes += "perl-module-warnings"
+RDEPENDS:perl-module-pod-functions += "perl-module-exporter"
+RDEPENDS:perl-module-pod-functions += "perl-module-strict"
+RDEPENDS:perl-module-pod-man += "perl-module-file-basename"
+RDEPENDS:perl-module-pod-man += "perl-module-pod-simple"
+RDEPENDS:perl-module-pod-man += "perl-module-strict"
+RDEPENDS:perl-module-pod-man += "perl-module-subs"
+RDEPENDS:perl-module-pod-man += "perl-module-vars"
+RDEPENDS:perl-module-pod-man += "perl-module-warnings"
+RDEPENDS:perl-module-pod-parselink += "perl-module-exporter"
+RDEPENDS:perl-module-pod-parselink += "perl-module-strict"
+RDEPENDS:perl-module-pod-parselink += "perl-module-vars"
+RDEPENDS:perl-module-pod-parselink += "perl-module-warnings"
+RDEPENDS:perl-module-pod-perldoc-baseto += "perl-module-config"
+RDEPENDS:perl-module-pod-perldoc-baseto += "perl-module-strict"
+RDEPENDS:perl-module-pod-perldoc-baseto += "perl-module-vars"
+RDEPENDS:perl-module-pod-perldoc-baseto += "perl-module-warnings"
+RDEPENDS:perl-module-pod-perldoc-getoptsoo += "perl-module-strict"
+RDEPENDS:perl-module-pod-perldoc-getoptsoo += "perl-module-vars"
+RDEPENDS:perl-module-pod-perldoc += "perl-module-config"
+RDEPENDS:perl-module-pod-perldoc += "perl-module-encode"
+RDEPENDS:perl-module-pod-perldoc += "perl-module-fcntl"
+RDEPENDS:perl-module-pod-perldoc += "perl-module-file-basename"
+RDEPENDS:perl-module-pod-perldoc += "perl-module-file-temp"
+RDEPENDS:perl-module-pod-perldoc += "perl-module-pod-perldoc-getoptsoo"
+RDEPENDS:perl-module-pod-perldoc += "perl-module-strict"
+RDEPENDS:perl-module-pod-perldoc += "perl-module-text-parsewords"
+RDEPENDS:perl-module-pod-perldoc += "perl-module-vars"
+RDEPENDS:perl-module-pod-perldoc += "perl-module-warnings"
+RDEPENDS:perl-module-pod-perldoc-toansi += "perl-module-parent"
+RDEPENDS:perl-module-pod-perldoc-toansi += "perl-module-pod-text-color"
+RDEPENDS:perl-module-pod-perldoc-toansi += "perl-module-strict"
+RDEPENDS:perl-module-pod-perldoc-toansi += "perl-module-vars"
+RDEPENDS:perl-module-pod-perldoc-toansi += "perl-module-warnings"
+RDEPENDS:perl-module-pod-perldoc-tochecker += "perl-module-pod-checker"
+RDEPENDS:perl-module-pod-perldoc-tochecker += "perl-module-strict"
+RDEPENDS:perl-module-pod-perldoc-tochecker += "perl-module-vars"
+RDEPENDS:perl-module-pod-perldoc-tochecker += "perl-module-warnings"
+RDEPENDS:perl-module-pod-perldoc-toman += "perl-module-encode"
+RDEPENDS:perl-module-pod-perldoc-toman += "perl-module-io-handle"
+RDEPENDS:perl-module-pod-perldoc-toman += "perl-module-io-select"
+RDEPENDS:perl-module-pod-perldoc-toman += "perl-module-ipc-open3"
+RDEPENDS:perl-module-pod-perldoc-toman += "perl-module-parent"
+RDEPENDS:perl-module-pod-perldoc-toman += "perl-module-pod-man"
+RDEPENDS:perl-module-pod-perldoc-toman += "perl-module-pod-perldoc-topod"
+RDEPENDS:perl-module-pod-perldoc-toman += "perl-module-strict"
+RDEPENDS:perl-module-pod-perldoc-toman += "perl-module-vars"
+RDEPENDS:perl-module-pod-perldoc-toman += "perl-module-warnings"
+RDEPENDS:perl-module-pod-perldoc-tonroff += "perl-module-parent"
+RDEPENDS:perl-module-pod-perldoc-tonroff += "perl-module-pod-man"
+RDEPENDS:perl-module-pod-perldoc-tonroff += "perl-module-strict"
+RDEPENDS:perl-module-pod-perldoc-tonroff += "perl-module-vars"
+RDEPENDS:perl-module-pod-perldoc-tonroff += "perl-module-warnings"
+RDEPENDS:perl-module-pod-perldoc-topod += "perl-module-parent"
+RDEPENDS:perl-module-pod-perldoc-topod += "perl-module-strict"
+RDEPENDS:perl-module-pod-perldoc-topod += "perl-module-vars"
+RDEPENDS:perl-module-pod-perldoc-topod += "perl-module-warnings"
+RDEPENDS:perl-module-pod-perldoc-tortf += "perl-module-parent"
+RDEPENDS:perl-module-pod-perldoc-tortf += "perl-module-strict"
+RDEPENDS:perl-module-pod-perldoc-tortf += "perl-module-vars"
+RDEPENDS:perl-module-pod-perldoc-tortf += "perl-module-warnings"
+RDEPENDS:perl-module-pod-perldoc-toterm += "perl-module-parent"
+RDEPENDS:perl-module-pod-perldoc-toterm += "perl-module-pod-text-termcap"
+RDEPENDS:perl-module-pod-perldoc-toterm += "perl-module-strict"
+RDEPENDS:perl-module-pod-perldoc-toterm += "perl-module-vars"
+RDEPENDS:perl-module-pod-perldoc-toterm += "perl-module-warnings"
+RDEPENDS:perl-module-pod-perldoc-totext += "perl-module-parent"
+RDEPENDS:perl-module-pod-perldoc-totext += "perl-module-pod-text"
+RDEPENDS:perl-module-pod-perldoc-totext += "perl-module-strict"
+RDEPENDS:perl-module-pod-perldoc-totext += "perl-module-vars"
+RDEPENDS:perl-module-pod-perldoc-totext += "perl-module-warnings"
+RDEPENDS:perl-module-pod-perldoc-toxml += "perl-module-parent"
+RDEPENDS:perl-module-pod-perldoc-toxml += "perl-module-strict"
+RDEPENDS:perl-module-pod-perldoc-toxml += "perl-module-vars"
+RDEPENDS:perl-module-pod-perldoc-toxml += "perl-module-warnings"
+RDEPENDS:perl-module-pod-simple-blackbox += "perl-module-if"
+RDEPENDS:perl-module-pod-simple-blackbox += "perl-module-integer"
+RDEPENDS:perl-module-pod-simple-blackbox += "perl-module-pod-simple"
+RDEPENDS:perl-module-pod-simple-blackbox += "perl-module-pod-simple-transcode"
+RDEPENDS:perl-module-pod-simple-blackbox += "perl-module-strict"
+RDEPENDS:perl-module-pod-simple-blackbox += "perl-module-vars"
+RDEPENDS:perl-module-pod-simple-checker += "perl-module-pod-simple"
+RDEPENDS:perl-module-pod-simple-checker += "perl-module-pod-simple-methody"
+RDEPENDS:perl-module-pod-simple-checker += "perl-module-strict"
+RDEPENDS:perl-module-pod-simple-checker += "perl-module-text-wrap"
+RDEPENDS:perl-module-pod-simple-checker += "perl-module-vars"
+RDEPENDS:perl-module-pod-simple-debug += "perl-module-pod-simple"
+RDEPENDS:perl-module-pod-simple-debug += "perl-module-strict"
+RDEPENDS:perl-module-pod-simple-debug += "perl-module-vars"
+RDEPENDS:perl-module-pod-simple-dumpastext += "perl-module-pod-simple"
+RDEPENDS:perl-module-pod-simple-dumpastext += "perl-module-strict"
+RDEPENDS:perl-module-pod-simple-dumpasxml += "perl-module-pod-simple"
+RDEPENDS:perl-module-pod-simple-dumpasxml += "perl-module-strict"
+RDEPENDS:perl-module-pod-simple-dumpasxml += "perl-module-text-wrap"
+RDEPENDS:perl-module-pod-simple-justpod += "perl-module-pod-simple-methody"
+RDEPENDS:perl-module-pod-simple-justpod += "perl-module-strict"
+RDEPENDS:perl-module-pod-simple-justpod += "perl-module-warnings"
+RDEPENDS:perl-module-pod-simple-linksection += "perl-module-overload"
+RDEPENDS:perl-module-pod-simple-linksection += "perl-module-pod-simple-blackbox"
+RDEPENDS:perl-module-pod-simple-linksection += "perl-module-strict"
+RDEPENDS:perl-module-pod-simple-linksection += "perl-module-vars"
+RDEPENDS:perl-module-pod-simple-methody += "perl-module-pod-simple"
+RDEPENDS:perl-module-pod-simple-methody += "perl-module-strict"
+RDEPENDS:perl-module-pod-simple-methody += "perl-module-vars"
+RDEPENDS:perl-module-pod-simple += "perl-module-integer"
+RDEPENDS:perl-module-pod-simple += "perl-module-pod-escapes"
+RDEPENDS:perl-module-pod-simple += "perl-module-pod-simple-blackbox"
+RDEPENDS:perl-module-pod-simple += "perl-module-pod-simple-linksection"
+RDEPENDS:perl-module-pod-simple += "perl-module-pod-simple-tiedoutfh"
+RDEPENDS:perl-module-pod-simple += "perl-module-strict"
+RDEPENDS:perl-module-pod-simple += "perl-module-vars"
+RDEPENDS:perl-module-pod-simple-progress += "perl-module-strict"
+RDEPENDS:perl-module-pod-simple-pullparserendtoken += "perl-module-pod-simple-pullparsertoken"
+RDEPENDS:perl-module-pod-simple-pullparserendtoken += "perl-module-strict"
+RDEPENDS:perl-module-pod-simple-pullparserendtoken += "perl-module-vars"
+RDEPENDS:perl-module-pod-simple-pullparser += "perl-module-pod-simple"
+RDEPENDS:perl-module-pod-simple-pullparser += "perl-module-pod-simple-pullparserendtoken"
+RDEPENDS:perl-module-pod-simple-pullparser += "perl-module-pod-simple-pullparserstarttoken"
+RDEPENDS:perl-module-pod-simple-pullparser += "perl-module-pod-simple-pullparsertexttoken"
+RDEPENDS:perl-module-pod-simple-pullparser += "perl-module-strict"
+RDEPENDS:perl-module-pod-simple-pullparserstarttoken += "perl-module-pod-simple-pullparsertoken"
+RDEPENDS:perl-module-pod-simple-pullparserstarttoken += "perl-module-strict"
+RDEPENDS:perl-module-pod-simple-pullparserstarttoken += "perl-module-vars"
+RDEPENDS:perl-module-pod-simple-pullparsertexttoken += "perl-module-pod-simple-pullparsertoken"
+RDEPENDS:perl-module-pod-simple-pullparsertexttoken += "perl-module-strict"
+RDEPENDS:perl-module-pod-simple-pullparsertexttoken += "perl-module-vars"
+RDEPENDS:perl-module-pod-simple-pullparsertoken += "perl-module-strict"
+RDEPENDS:perl-module-pod-simple-rtf += "perl-module-if"
+RDEPENDS:perl-module-pod-simple-rtf += "perl-module-integer"
+RDEPENDS:perl-module-pod-simple-rtf += "perl-module-pod-simple-pullparser"
+RDEPENDS:perl-module-pod-simple-rtf += "perl-module-strict"
+RDEPENDS:perl-module-pod-simple-rtf += "perl-module-vars"
+RDEPENDS:perl-module-pod-simple-search += "perl-module-config"
+RDEPENDS:perl-module-pod-simple-search += "perl-module-cwd"
+RDEPENDS:perl-module-pod-simple-search += "perl-module-file-basename"
+RDEPENDS:perl-module-pod-simple-search += "perl-module-strict"
+RDEPENDS:perl-module-pod-simple-search += "perl-module-vars"
+RDEPENDS:perl-module-pod-simple-simpletree += "perl-module-pod-simple"
+RDEPENDS:perl-module-pod-simple-simpletree += "perl-module-strict"
+RDEPENDS:perl-module-pod-simple-simpletree += "perl-module-vars"
+RDEPENDS:perl-module-pod-simple-textcontent += "perl-module-pod-simple"
+RDEPENDS:perl-module-pod-simple-textcontent += "perl-module-strict"
+RDEPENDS:perl-module-pod-simple-textcontent += "perl-module-vars"
+RDEPENDS:perl-module-pod-simple-text += "perl-module-pod-simple"
+RDEPENDS:perl-module-pod-simple-text += "perl-module-pod-simple-methody"
+RDEPENDS:perl-module-pod-simple-text += "perl-module-strict"
+RDEPENDS:perl-module-pod-simple-text += "perl-module-text-wrap"
+RDEPENDS:perl-module-pod-simple-text += "perl-module-vars"
+RDEPENDS:perl-module-pod-simple-tiedoutfh += "perl-module-strict"
+RDEPENDS:perl-module-pod-simple-tiedoutfh += "perl-module-vars"
+RDEPENDS:perl-module-pod-simple-transcodedumb += "perl-module-strict"
+RDEPENDS:perl-module-pod-simple-transcodedumb += "perl-module-vars"
+RDEPENDS:perl-module-pod-simple-transcode += "perl-module-strict"
+RDEPENDS:perl-module-pod-simple-transcode += "perl-module-vars"
+RDEPENDS:perl-module-pod-simple-transcodesmart += "perl-module-encode"
+RDEPENDS:perl-module-pod-simple-transcodesmart += "perl-module-pod-simple"
+RDEPENDS:perl-module-pod-simple-transcodesmart += "perl-module-strict"
+RDEPENDS:perl-module-pod-simple-transcodesmart += "perl-module-vars"
+RDEPENDS:perl-module-pod-simple-xmloutstream += "perl-module-pod-simple"
+RDEPENDS:perl-module-pod-simple-xmloutstream += "perl-module-strict"
+RDEPENDS:perl-module-pod-simple-xmloutstream += "perl-module-vars"
+RDEPENDS:perl-module-pod-text-color += "perl-module-pod-text"
+RDEPENDS:perl-module-pod-text-color += "perl-module-strict"
+RDEPENDS:perl-module-pod-text-color += "perl-module-term-ansicolor"
+RDEPENDS:perl-module-pod-text-color += "perl-module-vars"
+RDEPENDS:perl-module-pod-text-color += "perl-module-warnings"
+RDEPENDS:perl-module-pod-text-overstrike += "perl-module-pod-text"
+RDEPENDS:perl-module-pod-text-overstrike += "perl-module-strict"
+RDEPENDS:perl-module-pod-text-overstrike += "perl-module-vars"
+RDEPENDS:perl-module-pod-text-overstrike += "perl-module-warnings"
+RDEPENDS:perl-module-pod-text += "perl-module-encode"
+RDEPENDS:perl-module-pod-text += "perl-module-exporter"
+RDEPENDS:perl-module-pod-text += "perl-module-pod-simple"
+RDEPENDS:perl-module-pod-text += "perl-module-strict"
+RDEPENDS:perl-module-pod-text += "perl-module-vars"
+RDEPENDS:perl-module-pod-text += "perl-module-warnings"
+RDEPENDS:perl-module-pod-text-termcap += "perl-module-pod-text"
+RDEPENDS:perl-module-pod-text-termcap += "perl-module-posix"
+RDEPENDS:perl-module-pod-text-termcap += "perl-module-strict"
+RDEPENDS:perl-module-pod-text-termcap += "perl-module-term-cap"
+RDEPENDS:perl-module-pod-text-termcap += "perl-module-vars"
+RDEPENDS:perl-module-pod-text-termcap += "perl-module-warnings"
+RDEPENDS:perl-module-pod-usage += "perl-module-config"
+RDEPENDS:perl-module-pod-usage += "perl-module-exporter"
+RDEPENDS:perl-module-pod-usage += "perl-module-strict"
+RDEPENDS:perl-module-posix += "perl-module-exporter"
+RDEPENDS:perl-module-posix += "perl-module-fcntl"
+RDEPENDS:perl-module-posix += "perl-module-strict"
+RDEPENDS:perl-module-posix += "perl-module-tie-hash"
+RDEPENDS:perl-module-posix += "perl-module-warnings"
+RDEPENDS:perl-module-posix += "perl-module-xsloader"
+RDEPENDS:perl-module-re += "perl-module-exporter"
+RDEPENDS:perl-module-re += "perl-module-strict"
+RDEPENDS:perl-module-re += "perl-module-term-cap"
+RDEPENDS:perl-module-re += "perl-module-warnings"
+RDEPENDS:perl-module-re += "perl-module-xsloader"
+RDEPENDS:perl-module-safe += "perl-module-b"
+RDEPENDS:perl-module-safe += "perl-module-opcode"
+RDEPENDS:perl-module-safe += "perl-module-strict"
+RDEPENDS:perl-module-safe += "perl-module-utf8"
+RDEPENDS:perl-module-sdbm-file += "perl-module-exporter"
+RDEPENDS:perl-module-sdbm-file += "perl-module-strict"
+RDEPENDS:perl-module-sdbm-file += "perl-module-tie-hash"
+RDEPENDS:perl-module-sdbm-file += "perl-module-warnings"
+RDEPENDS:perl-module-sdbm-file += "perl-module-xsloader"
+RDEPENDS:perl-module-search-dict += "perl-module-exporter"
+RDEPENDS:perl-module-search-dict += "perl-module-feature"
+RDEPENDS:perl-module-search-dict += "perl-module-strict"
+RDEPENDS:perl-module-selfloader += "perl-module-exporter"
+RDEPENDS:perl-module-selfloader += "perl-module-io-handle"
+RDEPENDS:perl-module-selfloader += "perl-module-strict"
+RDEPENDS:perl-module-socket += "perl-module-exporter"
+RDEPENDS:perl-module-socket += "perl-module-strict"
+RDEPENDS:perl-module-socket += "perl-module-warnings-register"
+RDEPENDS:perl-module-socket += "perl-module-xsloader"
+RDEPENDS:perl-module-sort += "perl-module-strict"
+RDEPENDS:perl-module-sort += "perl-module-warnings"
+RDEPENDS:perl-module-storable += "perl-module-exporter"
+RDEPENDS:perl-module-storable += "perl-module-io-file"
+RDEPENDS:perl-module-subs += "perl-module-strict"
+RDEPENDS:perl-module-subs += "perl-module-warnings"
+RDEPENDS:perl-module-sub-util += "perl-module-exporter"
+RDEPENDS:perl-module-sub-util += "perl-module-list-util"
+RDEPENDS:perl-module-sub-util += "perl-module-strict"
+RDEPENDS:perl-module-sub-util += "perl-module-warnings"
+RDEPENDS:perl-module-sys-hostname += "perl-module-exporter"
+RDEPENDS:perl-module-sys-hostname += "perl-module-posix"
+RDEPENDS:perl-module-sys-hostname += "perl-module-strict"
+RDEPENDS:perl-module-sys-hostname += "perl-module-warnings"
+RDEPENDS:perl-module-sys-hostname += "perl-module-xsloader"
+RDEPENDS:perl-module-sys-syslog += "perl-module-config"
+RDEPENDS:perl-module-sys-syslog += "perl-module-constant"
+RDEPENDS:perl-module-sys-syslog += "perl-module-dynaloader"
+RDEPENDS:perl-module-sys-syslog += "perl-module-exporter"
+RDEPENDS:perl-module-sys-syslog += "perl-module-fcntl"
+RDEPENDS:perl-module-sys-syslog += "perl-module-file-basename"
+RDEPENDS:perl-module-sys-syslog += "perl-module-posix"
+RDEPENDS:perl-module-sys-syslog += "perl-module-socket"
+RDEPENDS:perl-module-sys-syslog += "perl-module-strict"
+RDEPENDS:perl-module-sys-syslog += "perl-module-sys-hostname"
+RDEPENDS:perl-module-sys-syslog += "perl-module-vars"
+RDEPENDS:perl-module-sys-syslog += "perl-module-warnings"
+RDEPENDS:perl-module-sys-syslog += "perl-module-warnings-register"
+RDEPENDS:perl-module-sys-syslog += "perl-module-xsloader"
+RDEPENDS:perl-module-tap-base += "perl-module-base"
+RDEPENDS:perl-module-tap-base += "perl-module-constant"
+RDEPENDS:perl-module-tap-base += "perl-module-strict"
+RDEPENDS:perl-module-tap-base += "perl-module-warnings"
+RDEPENDS:perl-module-tap-formatter-base += "perl-module-base"
+RDEPENDS:perl-module-tap-formatter-base += "perl-module-config"
+RDEPENDS:perl-module-tap-formatter-base += "perl-module-posix"
+RDEPENDS:perl-module-tap-formatter-base += "perl-module-strict"
+RDEPENDS:perl-module-tap-formatter-base += "perl-module-tap-formatter-color"
+RDEPENDS:perl-module-tap-formatter-base += "perl-module-warnings"
+RDEPENDS:perl-module-tap-formatter-color += "perl-module-base"
+RDEPENDS:perl-module-tap-formatter-color += "perl-module-constant"
+RDEPENDS:perl-module-tap-formatter-color += "perl-module-strict"
+RDEPENDS:perl-module-tap-formatter-color += "perl-module-warnings"
+RDEPENDS:perl-module-tap-formatter-console-parallelsession += "perl-module-base"
+RDEPENDS:perl-module-tap-formatter-console-parallelsession += "perl-module-constant"
+RDEPENDS:perl-module-tap-formatter-console-parallelsession += "perl-module-file-path"
+RDEPENDS:perl-module-tap-formatter-console-parallelsession += "perl-module-strict"
+RDEPENDS:perl-module-tap-formatter-console-parallelsession += "perl-module-warnings"
+RDEPENDS:perl-module-tap-formatter-console += "perl-module-base"
+RDEPENDS:perl-module-tap-formatter-console += "perl-module-posix"
+RDEPENDS:perl-module-tap-formatter-console += "perl-module-strict"
+RDEPENDS:perl-module-tap-formatter-console += "perl-module-warnings"
+RDEPENDS:perl-module-tap-formatter-console-session += "perl-module-base"
+RDEPENDS:perl-module-tap-formatter-console-session += "perl-module-strict"
+RDEPENDS:perl-module-tap-formatter-console-session += "perl-module-warnings"
+RDEPENDS:perl-module-tap-formatter-file += "perl-module-base"
+RDEPENDS:perl-module-tap-formatter-file += "perl-module-posix"
+RDEPENDS:perl-module-tap-formatter-file += "perl-module-strict"
+RDEPENDS:perl-module-tap-formatter-file += "perl-module-tap-formatter-file-session"
+RDEPENDS:perl-module-tap-formatter-file += "perl-module-warnings"
+RDEPENDS:perl-module-tap-formatter-file-session += "perl-module-base"
+RDEPENDS:perl-module-tap-formatter-file-session += "perl-module-strict"
+RDEPENDS:perl-module-tap-formatter-file-session += "perl-module-warnings"
+RDEPENDS:perl-module-tap-formatter-session += "perl-module-base"
+RDEPENDS:perl-module-tap-formatter-session += "perl-module-strict"
+RDEPENDS:perl-module-tap-formatter-session += "perl-module-warnings"
+RDEPENDS:perl-module-tap-harness-env += "perl-module-constant"
+RDEPENDS:perl-module-tap-harness-env += "perl-module-strict"
+RDEPENDS:perl-module-tap-harness-env += "perl-module-tap-object"
+RDEPENDS:perl-module-tap-harness-env += "perl-module-text-parsewords"
+RDEPENDS:perl-module-tap-harness-env += "perl-module-warnings"
+RDEPENDS:perl-module-tap-harness += "perl-module-base"
+RDEPENDS:perl-module-tap-harness += "perl-module-file-path"
+RDEPENDS:perl-module-tap-harness += "perl-module-io-handle"
+RDEPENDS:perl-module-tap-harness += "perl-module-strict"
+RDEPENDS:perl-module-tap-harness += "perl-module-warnings"
+RDEPENDS:perl-module-tap-object += "perl-module-strict"
+RDEPENDS:perl-module-tap-object += "perl-module-warnings"
+RDEPENDS:perl-module-tap-parser-aggregator += "perl-module-base"
+RDEPENDS:perl-module-tap-parser-aggregator += "perl-module-benchmark"
+RDEPENDS:perl-module-tap-parser-aggregator += "perl-module-strict"
+RDEPENDS:perl-module-tap-parser-aggregator += "perl-module-warnings"
+RDEPENDS:perl-module-tap-parser-grammar += "perl-module-base"
+RDEPENDS:perl-module-tap-parser-grammar += "perl-module-strict"
+RDEPENDS:perl-module-tap-parser-grammar += "perl-module-tap-parser-resultfactory"
+RDEPENDS:perl-module-tap-parser-grammar += "perl-module-tap-parser-yamlish-reader"
+RDEPENDS:perl-module-tap-parser-grammar += "perl-module-warnings"
+RDEPENDS:perl-module-tap-parser-iterator-array += "perl-module-base"
+RDEPENDS:perl-module-tap-parser-iterator-array += "perl-module-strict"
+RDEPENDS:perl-module-tap-parser-iterator-array += "perl-module-warnings"
+RDEPENDS:perl-module-tap-parser-iteratorfactory += "perl-module-base"
+RDEPENDS:perl-module-tap-parser-iteratorfactory += "perl-module-constant"
+RDEPENDS:perl-module-tap-parser-iteratorfactory += "perl-module-file-basename"
+RDEPENDS:perl-module-tap-parser-iteratorfactory += "perl-module-strict"
+RDEPENDS:perl-module-tap-parser-iteratorfactory += "perl-module-warnings"
+RDEPENDS:perl-module-tap-parser-iterator += "perl-module-base"
+RDEPENDS:perl-module-tap-parser-iterator += "perl-module-strict"
+RDEPENDS:perl-module-tap-parser-iterator += "perl-module-warnings"
+RDEPENDS:perl-module-tap-parser-iterator-process += "perl-module-base"
+RDEPENDS:perl-module-tap-parser-iterator-process += "perl-module-config"
+RDEPENDS:perl-module-tap-parser-iterator-process += "perl-module-io-handle"
+RDEPENDS:perl-module-tap-parser-iterator-process += "perl-module-strict"
+RDEPENDS:perl-module-tap-parser-iterator-process += "perl-module-warnings"
+RDEPENDS:perl-module-tap-parser-iterator-stream += "perl-module-base"
+RDEPENDS:perl-module-tap-parser-iterator-stream += "perl-module-strict"
+RDEPENDS:perl-module-tap-parser-iterator-stream += "perl-module-warnings"
+RDEPENDS:perl-module-tap-parser-multiplexer += "perl-module-base"
+RDEPENDS:perl-module-tap-parser-multiplexer += "perl-module-constant"
+RDEPENDS:perl-module-tap-parser-multiplexer += "perl-module-errno"
+RDEPENDS:perl-module-tap-parser-multiplexer += "perl-module-io-select"
+RDEPENDS:perl-module-tap-parser-multiplexer += "perl-module-strict"
+RDEPENDS:perl-module-tap-parser-multiplexer += "perl-module-warnings"
+RDEPENDS:perl-module-tap-parser += "perl-module-base"
+RDEPENDS:perl-module-tap-parser += "perl-module-strict"
+RDEPENDS:perl-module-tap-parser += "perl-module-tap-parser-grammar"
+RDEPENDS:perl-module-tap-parser += "perl-module-tap-parser-iterator"
+RDEPENDS:perl-module-tap-parser += "perl-module-tap-parser-iteratorfactory"
+RDEPENDS:perl-module-tap-parser += "perl-module-tap-parser-result"
+RDEPENDS:perl-module-tap-parser += "perl-module-tap-parser-resultfactory"
+RDEPENDS:perl-module-tap-parser += "perl-module-tap-parser-source"
+RDEPENDS:perl-module-tap-parser += "perl-module-tap-parser-sourcehandler-executable"
+RDEPENDS:perl-module-tap-parser += "perl-module-tap-parser-sourcehandler-file"
+RDEPENDS:perl-module-tap-parser += "perl-module-tap-parser-sourcehandler-handle"
+RDEPENDS:perl-module-tap-parser += "perl-module-tap-parser-sourcehandler-perl"
+RDEPENDS:perl-module-tap-parser += "perl-module-tap-parser-sourcehandler-rawtap"
+RDEPENDS:perl-module-tap-parser += "perl-module-warnings"
+RDEPENDS:perl-module-tap-parser-result-bailout += "perl-module-base"
+RDEPENDS:perl-module-tap-parser-result-bailout += "perl-module-strict"
+RDEPENDS:perl-module-tap-parser-result-bailout += "perl-module-warnings"
+RDEPENDS:perl-module-tap-parser-result-comment += "perl-module-base"
+RDEPENDS:perl-module-tap-parser-result-comment += "perl-module-strict"
+RDEPENDS:perl-module-tap-parser-result-comment += "perl-module-warnings"
+RDEPENDS:perl-module-tap-parser-resultfactory += "perl-module-base"
+RDEPENDS:perl-module-tap-parser-resultfactory += "perl-module-strict"
+RDEPENDS:perl-module-tap-parser-resultfactory += "perl-module-tap-parser-result-bailout"
+RDEPENDS:perl-module-tap-parser-resultfactory += "perl-module-tap-parser-result-comment"
+RDEPENDS:perl-module-tap-parser-resultfactory += "perl-module-tap-parser-result-plan"
+RDEPENDS:perl-module-tap-parser-resultfactory += "perl-module-tap-parser-result-pragma"
+RDEPENDS:perl-module-tap-parser-resultfactory += "perl-module-tap-parser-result-test"
+RDEPENDS:perl-module-tap-parser-resultfactory += "perl-module-tap-parser-result-unknown"
+RDEPENDS:perl-module-tap-parser-resultfactory += "perl-module-tap-parser-result-version"
+RDEPENDS:perl-module-tap-parser-resultfactory += "perl-module-tap-parser-result-yaml"
+RDEPENDS:perl-module-tap-parser-resultfactory += "perl-module-warnings"
+RDEPENDS:perl-module-tap-parser-result += "perl-module-base"
+RDEPENDS:perl-module-tap-parser-result += "perl-module-strict"
+RDEPENDS:perl-module-tap-parser-result += "perl-module-warnings"
+RDEPENDS:perl-module-tap-parser-result-plan += "perl-module-base"
+RDEPENDS:perl-module-tap-parser-result-plan += "perl-module-strict"
+RDEPENDS:perl-module-tap-parser-result-plan += "perl-module-warnings"
+RDEPENDS:perl-module-tap-parser-result-pragma += "perl-module-base"
+RDEPENDS:perl-module-tap-parser-result-pragma += "perl-module-strict"
+RDEPENDS:perl-module-tap-parser-result-pragma += "perl-module-warnings"
+RDEPENDS:perl-module-tap-parser-result-test += "perl-module-base"
+RDEPENDS:perl-module-tap-parser-result-test += "perl-module-strict"
+RDEPENDS:perl-module-tap-parser-result-test += "perl-module-warnings"
+RDEPENDS:perl-module-tap-parser-result-unknown += "perl-module-base"
+RDEPENDS:perl-module-tap-parser-result-unknown += "perl-module-strict"
+RDEPENDS:perl-module-tap-parser-result-unknown += "perl-module-warnings"
+RDEPENDS:perl-module-tap-parser-result-version += "perl-module-base"
+RDEPENDS:perl-module-tap-parser-result-version += "perl-module-strict"
+RDEPENDS:perl-module-tap-parser-result-version += "perl-module-warnings"
+RDEPENDS:perl-module-tap-parser-result-yaml += "perl-module-base"
+RDEPENDS:perl-module-tap-parser-result-yaml += "perl-module-strict"
+RDEPENDS:perl-module-tap-parser-result-yaml += "perl-module-warnings"
+RDEPENDS:perl-module-tap-parser-scheduler-job += "perl-module-strict"
+RDEPENDS:perl-module-tap-parser-scheduler-job += "perl-module-warnings"
+RDEPENDS:perl-module-tap-parser-scheduler += "perl-module-strict"
+RDEPENDS:perl-module-tap-parser-scheduler += "perl-module-tap-parser-scheduler-job"
+RDEPENDS:perl-module-tap-parser-scheduler += "perl-module-tap-parser-scheduler-spinner"
+RDEPENDS:perl-module-tap-parser-scheduler += "perl-module-warnings"
+RDEPENDS:perl-module-tap-parser-scheduler-spinner += "perl-module-strict"
+RDEPENDS:perl-module-tap-parser-scheduler-spinner += "perl-module-warnings"
+RDEPENDS:perl-module-tap-parser-sourcehandler-executable += "perl-module-base"
+RDEPENDS:perl-module-tap-parser-sourcehandler-executable += "perl-module-constant"
+RDEPENDS:perl-module-tap-parser-sourcehandler-executable += "perl-module-strict"
+RDEPENDS:perl-module-tap-parser-sourcehandler-executable += "perl-module-tap-parser-iteratorfactory"
+RDEPENDS:perl-module-tap-parser-sourcehandler-executable += "perl-module-tap-parser-iterator-process"
+RDEPENDS:perl-module-tap-parser-sourcehandler-executable += "perl-module-warnings"
+RDEPENDS:perl-module-tap-parser-sourcehandler-file += "perl-module-base"
+RDEPENDS:perl-module-tap-parser-sourcehandler-file += "perl-module-constant"
+RDEPENDS:perl-module-tap-parser-sourcehandler-file += "perl-module-strict"
+RDEPENDS:perl-module-tap-parser-sourcehandler-file += "perl-module-tap-parser-iteratorfactory"
+RDEPENDS:perl-module-tap-parser-sourcehandler-file += "perl-module-tap-parser-iterator-stream"
+RDEPENDS:perl-module-tap-parser-sourcehandler-file += "perl-module-warnings"
+RDEPENDS:perl-module-tap-parser-sourcehandler-handle += "perl-module-base"
+RDEPENDS:perl-module-tap-parser-sourcehandler-handle += "perl-module-constant"
+RDEPENDS:perl-module-tap-parser-sourcehandler-handle += "perl-module-strict"
+RDEPENDS:perl-module-tap-parser-sourcehandler-handle += "perl-module-tap-parser-iteratorfactory"
+RDEPENDS:perl-module-tap-parser-sourcehandler-handle += "perl-module-tap-parser-iterator-stream"
+RDEPENDS:perl-module-tap-parser-sourcehandler-handle += "perl-module-warnings"
+RDEPENDS:perl-module-tap-parser-sourcehandler += "perl-module-base"
+RDEPENDS:perl-module-tap-parser-sourcehandler += "perl-module-strict"
+RDEPENDS:perl-module-tap-parser-sourcehandler += "perl-module-tap-parser-iterator"
+RDEPENDS:perl-module-tap-parser-sourcehandler += "perl-module-warnings"
+RDEPENDS:perl-module-tap-parser-sourcehandler-perl += "perl-module-base"
+RDEPENDS:perl-module-tap-parser-sourcehandler-perl += "perl-module-config"
+RDEPENDS:perl-module-tap-parser-sourcehandler-perl += "perl-module-constant"
+RDEPENDS:perl-module-tap-parser-sourcehandler-perl += "perl-module-strict"
+RDEPENDS:perl-module-tap-parser-sourcehandler-perl += "perl-module-tap-parser-iteratorfactory"
+RDEPENDS:perl-module-tap-parser-sourcehandler-perl += "perl-module-tap-parser-iterator-process"
+RDEPENDS:perl-module-tap-parser-sourcehandler-perl += "perl-module-text-parsewords"
+RDEPENDS:perl-module-tap-parser-sourcehandler-perl += "perl-module-warnings"
+RDEPENDS:perl-module-tap-parser-sourcehandler-rawtap += "perl-module-base"
+RDEPENDS:perl-module-tap-parser-sourcehandler-rawtap += "perl-module-strict"
+RDEPENDS:perl-module-tap-parser-sourcehandler-rawtap += "perl-module-tap-parser-iterator-array"
+RDEPENDS:perl-module-tap-parser-sourcehandler-rawtap += "perl-module-tap-parser-iteratorfactory"
+RDEPENDS:perl-module-tap-parser-sourcehandler-rawtap += "perl-module-warnings"
+RDEPENDS:perl-module-tap-parser-source += "perl-module-base"
+RDEPENDS:perl-module-tap-parser-source += "perl-module-constant"
+RDEPENDS:perl-module-tap-parser-source += "perl-module-file-basename"
+RDEPENDS:perl-module-tap-parser-source += "perl-module-strict"
+RDEPENDS:perl-module-tap-parser-source += "perl-module-warnings"
+RDEPENDS:perl-module-tap-parser-yamlish-reader += "perl-module-base"
+RDEPENDS:perl-module-tap-parser-yamlish-reader += "perl-module-strict"
+RDEPENDS:perl-module-tap-parser-yamlish-reader += "perl-module-warnings"
+RDEPENDS:perl-module-tap-parser-yamlish-writer += "perl-module-base"
+RDEPENDS:perl-module-tap-parser-yamlish-writer += "perl-module-strict"
+RDEPENDS:perl-module-tap-parser-yamlish-writer += "perl-module-warnings"
+RDEPENDS:perl-module-term-ansicolor += "perl-module-exporter"
+RDEPENDS:perl-module-term-ansicolor += "perl-module-strict"
+RDEPENDS:perl-module-term-ansicolor += "perl-module-warnings"
+RDEPENDS:perl-module-term-cap += "perl-module-strict"
+RDEPENDS:perl-module-term-cap += "perl-module-vars"
+RDEPENDS:perl-module-term-complete += "perl-module-exporter"
+RDEPENDS:perl-module-term-complete += "perl-module-strict"
+RDEPENDS:perl-module-term-readline += "perl-module-strict"
+RDEPENDS:perl-module-term-readline += "perl-module-term-cap"
+RDEPENDS:perl-module-test2-api-breakage += "perl-module-strict"
+RDEPENDS:perl-module-test2-api-breakage += "perl-module-test2-util"
+RDEPENDS:perl-module-test2-api-breakage += "perl-module-warnings"
+RDEPENDS:perl-module-test2-api-context += "perl-module-strict"
+RDEPENDS:perl-module-test2-api-context += "perl-module-test2-api"
+RDEPENDS:perl-module-test2-api-context += "perl-module-test2-eventfacet-trace"
+RDEPENDS:perl-module-test2-api-context += "perl-module-test2-util"
+RDEPENDS:perl-module-test2-api-context += "perl-module-test2-util-externalmeta"
+RDEPENDS:perl-module-test2-api-context += "perl-module-test2-util-hashbase"
+RDEPENDS:perl-module-test2-api-context += "perl-module-warnings"
+RDEPENDS:perl-module-test2-api-instance += "perl-module-strict"
+RDEPENDS:perl-module-test2-api-instance += "perl-module-test2-api-stack"
+RDEPENDS:perl-module-test2-api-instance += "perl-module-test2-eventfacet-trace"
+RDEPENDS:perl-module-test2-api-instance += "perl-module-test2-util"
+RDEPENDS:perl-module-test2-api-instance += "perl-module-test2-util-hashbase"
+RDEPENDS:perl-module-test2-api-instance += "perl-module-warnings"
+RDEPENDS:perl-module-test2-api-interceptresult-event += "perl-module-list-util"
+RDEPENDS:perl-module-test2-api-interceptresult-event += "perl-module-storable"
+RDEPENDS:perl-module-test2-api-interceptresult-event += "perl-module-strict"
+RDEPENDS:perl-module-test2-api-interceptresult-event += "perl-module-test2-api-interceptresult-facet"
+RDEPENDS:perl-module-test2-api-interceptresult-event += "perl-module-test2-api-interceptresult-hub"
+RDEPENDS:perl-module-test2-api-interceptresult-event += "perl-module-test2-util"
+RDEPENDS:perl-module-test2-api-interceptresult-event += "perl-module-test2-util-hashbase"
+RDEPENDS:perl-module-test2-api-interceptresult-event += "perl-module-warnings"
+RDEPENDS:perl-module-test2-api-interceptresult-facet += "perl-module-strict"
+RDEPENDS:perl-module-test2-api-interceptresult-facet += "perl-module-test2-eventfacet"
+RDEPENDS:perl-module-test2-api-interceptresult-facet += "perl-module-warnings"
+RDEPENDS:perl-module-test2-api-interceptresult-hub += "perl-module-strict"
+RDEPENDS:perl-module-test2-api-interceptresult-hub += "perl-module-test2-util-hashbase"
+RDEPENDS:perl-module-test2-api-interceptresult-hub += "perl-module-warnings"
+RDEPENDS:perl-module-test2-api-interceptresult += "perl-module-storable"
+RDEPENDS:perl-module-test2-api-interceptresult += "perl-module-strict"
+RDEPENDS:perl-module-test2-api-interceptresult += "perl-module-test2-api-interceptresult-event"
+RDEPENDS:perl-module-test2-api-interceptresult += "perl-module-test2-api-interceptresult-hub"
+RDEPENDS:perl-module-test2-api-interceptresult += "perl-module-test2-api-interceptresult-squasher"
+RDEPENDS:perl-module-test2-api-interceptresult += "perl-module-test2-util"
+RDEPENDS:perl-module-test2-api-interceptresult += "perl-module-warnings"
+RDEPENDS:perl-module-test2-api-interceptresult-squasher += "perl-module-list-util"
+RDEPENDS:perl-module-test2-api-interceptresult-squasher += "perl-module-strict"
+RDEPENDS:perl-module-test2-api-interceptresult-squasher += "perl-module-test2-util-hashbase"
+RDEPENDS:perl-module-test2-api-interceptresult-squasher += "perl-module-warnings"
+RDEPENDS:perl-module-test2-api += "perl-module-strict"
+RDEPENDS:perl-module-test2-api += "perl-module-test2-api-context"
+RDEPENDS:perl-module-test2-api += "perl-module-test2-api-interceptresult"
+RDEPENDS:perl-module-test2-api += "perl-module-test2-event-bail"
+RDEPENDS:perl-module-test2-api += "perl-module-test2-event-diag"
+RDEPENDS:perl-module-test2-api += "perl-module-test2-event-exception"
+RDEPENDS:perl-module-test2-api += "perl-module-test2-eventfacet-trace"
+RDEPENDS:perl-module-test2-api += "perl-module-test2-event-note"
+RDEPENDS:perl-module-test2-api += "perl-module-test2-event-ok"
+RDEPENDS:perl-module-test2-api += "perl-module-test2-event-plan"
+RDEPENDS:perl-module-test2-api += "perl-module-test2-event-skip"
+RDEPENDS:perl-module-test2-api += "perl-module-test2-event-subtest"
+RDEPENDS:perl-module-test2-api += "perl-module-test2-event-waiting"
+RDEPENDS:perl-module-test2-api += "perl-module-test2-hub-interceptor"
+RDEPENDS:perl-module-test2-api += "perl-module-test2-hub-interceptor-terminator"
+RDEPENDS:perl-module-test2-api += "perl-module-test2-hub-subtest"
+RDEPENDS:perl-module-test2-api += "perl-module-test2-util"
+RDEPENDS:perl-module-test2-api += "perl-module-test2-util-trace"
+RDEPENDS:perl-module-test2-api += "perl-module-time-hires"
+RDEPENDS:perl-module-test2-api += "perl-module-warnings"
+RDEPENDS:perl-module-test2-api-stack += "perl-module-strict"
+RDEPENDS:perl-module-test2-api-stack += "perl-module-test2-api"
+RDEPENDS:perl-module-test2-api-stack += "perl-module-test2-hub"
+RDEPENDS:perl-module-test2-api-stack += "perl-module-warnings"
+RDEPENDS:perl-module-test2-event-bail += "perl-module-strict"
+RDEPENDS:perl-module-test2-event-bail += "perl-module-test2-util-hashbase"
+RDEPENDS:perl-module-test2-event-bail += "perl-module-warnings"
+RDEPENDS:perl-module-test2-event-diag += "perl-module-strict"
+RDEPENDS:perl-module-test2-event-diag += "perl-module-test2-util-hashbase"
+RDEPENDS:perl-module-test2-event-diag += "perl-module-warnings"
+RDEPENDS:perl-module-test2-event-encoding += "perl-module-strict"
+RDEPENDS:perl-module-test2-event-encoding += "perl-module-test2-util-hashbase"
+RDEPENDS:perl-module-test2-event-encoding += "perl-module-warnings"
+RDEPENDS:perl-module-test2-event-exception += "perl-module-strict"
+RDEPENDS:perl-module-test2-event-exception += "perl-module-test2-util-hashbase"
+RDEPENDS:perl-module-test2-event-exception += "perl-module-warnings"
+RDEPENDS:perl-module-test2-eventfacet-about += "perl-module-strict"
+RDEPENDS:perl-module-test2-eventfacet-about += "perl-module-test2-util-hashbase"
+RDEPENDS:perl-module-test2-eventfacet-about += "perl-module-warnings"
+RDEPENDS:perl-module-test2-eventfacet-amnesty += "perl-module-strict"
+RDEPENDS:perl-module-test2-eventfacet-amnesty += "perl-module-test2-util-hashbase"
+RDEPENDS:perl-module-test2-eventfacet-amnesty += "perl-module-warnings"
+RDEPENDS:perl-module-test2-eventfacet-assert += "perl-module-strict"
+RDEPENDS:perl-module-test2-eventfacet-assert += "perl-module-test2-util-hashbase"
+RDEPENDS:perl-module-test2-eventfacet-assert += "perl-module-warnings"
+RDEPENDS:perl-module-test2-eventfacet-control += "perl-module-strict"
+RDEPENDS:perl-module-test2-eventfacet-control += "perl-module-test2-util-hashbase"
+RDEPENDS:perl-module-test2-eventfacet-control += "perl-module-warnings"
+RDEPENDS:perl-module-test2-eventfacet-error += "perl-module-strict"
+RDEPENDS:perl-module-test2-eventfacet-error += "perl-module-test2-util-hashbase"
+RDEPENDS:perl-module-test2-eventfacet-error += "perl-module-warnings"
+RDEPENDS:perl-module-test2-eventfacet-hub += "perl-module-strict"
+RDEPENDS:perl-module-test2-eventfacet-hub += "perl-module-test2-util-hashbase"
+RDEPENDS:perl-module-test2-eventfacet-hub += "perl-module-warnings"
+RDEPENDS:perl-module-test2-eventfacet-info += "perl-module-strict"
+RDEPENDS:perl-module-test2-eventfacet-info += "perl-module-test2-util-hashbase"
+RDEPENDS:perl-module-test2-eventfacet-info += "perl-module-warnings"
+RDEPENDS:perl-module-test2-eventfacet-info-table += "perl-module-strict"
+RDEPENDS:perl-module-test2-eventfacet-info-table += "perl-module-test2-util-hashbase"
+RDEPENDS:perl-module-test2-eventfacet-info-table += "perl-module-warnings"
+RDEPENDS:perl-module-test2-eventfacet-meta += "perl-module-strict"
+RDEPENDS:perl-module-test2-eventfacet-meta += "perl-module-vars"
+RDEPENDS:perl-module-test2-eventfacet-meta += "perl-module-warnings"
+RDEPENDS:perl-module-test2-eventfacet-parent += "perl-module-strict"
+RDEPENDS:perl-module-test2-eventfacet-parent += "perl-module-test2-util-hashbase"
+RDEPENDS:perl-module-test2-eventfacet-parent += "perl-module-warnings"
+RDEPENDS:perl-module-test2-eventfacet += "perl-module-strict"
+RDEPENDS:perl-module-test2-eventfacet += "perl-module-test2-util-hashbase"
+RDEPENDS:perl-module-test2-eventfacet += "perl-module-warnings"
+RDEPENDS:perl-module-test2-eventfacet-plan += "perl-module-strict"
+RDEPENDS:perl-module-test2-eventfacet-plan += "perl-module-test2-util-hashbase"
+RDEPENDS:perl-module-test2-eventfacet-plan += "perl-module-warnings"
+RDEPENDS:perl-module-test2-eventfacet-render += "perl-module-strict"
+RDEPENDS:perl-module-test2-eventfacet-render += "perl-module-test2-util-hashbase"
+RDEPENDS:perl-module-test2-eventfacet-render += "perl-module-warnings"
+RDEPENDS:perl-module-test2-eventfacet-trace += "perl-module-strict"
+RDEPENDS:perl-module-test2-eventfacet-trace += "perl-module-test2-util"
+RDEPENDS:perl-module-test2-eventfacet-trace += "perl-module-test2-util-hashbase"
+RDEPENDS:perl-module-test2-eventfacet-trace += "perl-module-warnings"
+RDEPENDS:perl-module-test2-event-fail += "perl-module-strict"
+RDEPENDS:perl-module-test2-event-fail += "perl-module-test2-event"
+RDEPENDS:perl-module-test2-event-fail += "perl-module-test2-eventfacet-info"
+RDEPENDS:perl-module-test2-event-fail += "perl-module-test2-util-hashbase"
+RDEPENDS:perl-module-test2-event-fail += "perl-module-warnings"
+RDEPENDS:perl-module-test2-event-generic += "perl-module-strict"
+RDEPENDS:perl-module-test2-event-generic += "perl-module-test2-util-hashbase"
+RDEPENDS:perl-module-test2-event-generic += "perl-module-warnings"
+RDEPENDS:perl-module-test2-event-note += "perl-module-strict"
+RDEPENDS:perl-module-test2-event-note += "perl-module-test2-util-hashbase"
+RDEPENDS:perl-module-test2-event-note += "perl-module-warnings"
+RDEPENDS:perl-module-test2-event-ok += "perl-module-strict"
+RDEPENDS:perl-module-test2-event-ok += "perl-module-test2-util-hashbase"
+RDEPENDS:perl-module-test2-event-ok += "perl-module-warnings"
+RDEPENDS:perl-module-test2-event-pass += "perl-module-strict"
+RDEPENDS:perl-module-test2-event-pass += "perl-module-test2-event"
+RDEPENDS:perl-module-test2-event-pass += "perl-module-test2-eventfacet-info"
+RDEPENDS:perl-module-test2-event-pass += "perl-module-test2-util-hashbase"
+RDEPENDS:perl-module-test2-event-pass += "perl-module-warnings"
+RDEPENDS:perl-module-test2-event += "perl-module-strict"
+RDEPENDS:perl-module-test2-event += "perl-module-test2-eventfacet-about"
+RDEPENDS:perl-module-test2-event += "perl-module-test2-eventfacet-amnesty"
+RDEPENDS:perl-module-test2-event += "perl-module-test2-eventfacet-assert"
+RDEPENDS:perl-module-test2-event += "perl-module-test2-eventfacet-control"
+RDEPENDS:perl-module-test2-event += "perl-module-test2-eventfacet-error"
+RDEPENDS:perl-module-test2-event += "perl-module-test2-eventfacet-hub"
+RDEPENDS:perl-module-test2-event += "perl-module-test2-eventfacet-info"
+RDEPENDS:perl-module-test2-event += "perl-module-test2-eventfacet-meta"
+RDEPENDS:perl-module-test2-event += "perl-module-test2-eventfacet-parent"
+RDEPENDS:perl-module-test2-event += "perl-module-test2-eventfacet-plan"
+RDEPENDS:perl-module-test2-event += "perl-module-test2-eventfacet-trace"
+RDEPENDS:perl-module-test2-event += "perl-module-test2-util"
+RDEPENDS:perl-module-test2-event += "perl-module-test2-util-externalmeta"
+RDEPENDS:perl-module-test2-event += "perl-module-test2-util-hashbase"
+RDEPENDS:perl-module-test2-event += "perl-module-test2-util-trace"
+RDEPENDS:perl-module-test2-event += "perl-module-warnings"
+RDEPENDS:perl-module-test2-event-plan += "perl-module-strict"
+RDEPENDS:perl-module-test2-event-plan += "perl-module-test2-util-hashbase"
+RDEPENDS:perl-module-test2-event-plan += "perl-module-warnings"
+RDEPENDS:perl-module-test2-event-skip += "perl-module-strict"
+RDEPENDS:perl-module-test2-event-skip += "perl-module-test2-util-hashbase"
+RDEPENDS:perl-module-test2-event-skip += "perl-module-warnings"
+RDEPENDS:perl-module-test2-event-subtest += "perl-module-strict"
+RDEPENDS:perl-module-test2-event-subtest += "perl-module-test2-util-hashbase"
+RDEPENDS:perl-module-test2-event-subtest += "perl-module-warnings"
+RDEPENDS:perl-module-test2-event-tap-version += "perl-module-strict"
+RDEPENDS:perl-module-test2-event-tap-version += "perl-module-test2-util-hashbase"
+RDEPENDS:perl-module-test2-event-tap-version += "perl-module-warnings"
+RDEPENDS:perl-module-test2-event-v2 += "perl-module-strict"
+RDEPENDS:perl-module-test2-event-v2 += "perl-module-test2-util-facets2legacy"
+RDEPENDS:perl-module-test2-event-v2 += "perl-module-test2-util-hashbase"
+RDEPENDS:perl-module-test2-event-v2 += "perl-module-warnings"
+RDEPENDS:perl-module-test2-event-waiting += "perl-module-strict"
+RDEPENDS:perl-module-test2-event-waiting += "perl-module-test2-util-hashbase"
+RDEPENDS:perl-module-test2-event-waiting += "perl-module-warnings"
+RDEPENDS:perl-module-test2-formatter += "perl-module-strict"
+RDEPENDS:perl-module-test2-formatter += "perl-module-test2-api"
+RDEPENDS:perl-module-test2-formatter += "perl-module-warnings"
+RDEPENDS:perl-module-test2-formatter-tap += "perl-module-data-dumper"
+RDEPENDS:perl-module-test2-formatter-tap += "perl-module-strict"
+RDEPENDS:perl-module-test2-formatter-tap += "perl-module-test2-api"
+RDEPENDS:perl-module-test2-formatter-tap += "perl-module-test2-util"
+RDEPENDS:perl-module-test2-formatter-tap += "perl-module-test2-util-hashbase"
+RDEPENDS:perl-module-test2-formatter-tap += "perl-module-warnings"
+RDEPENDS:perl-module-test2-hub-interceptor += "perl-module-strict"
+RDEPENDS:perl-module-test2-hub-interceptor += "perl-module-test2-hub-interceptor-terminator"
+RDEPENDS:perl-module-test2-hub-interceptor += "perl-module-test2-util-hashbase"
+RDEPENDS:perl-module-test2-hub-interceptor += "perl-module-warnings"
+RDEPENDS:perl-module-test2-hub-interceptor-terminator += "perl-module-strict"
+RDEPENDS:perl-module-test2-hub-interceptor-terminator += "perl-module-warnings"
+RDEPENDS:perl-module-test2-hub += "perl-module-list-util"
+RDEPENDS:perl-module-test2-hub += "perl-module-strict"
+RDEPENDS:perl-module-test2-hub += "perl-module-test2-util"
+RDEPENDS:perl-module-test2-hub += "perl-module-test2-util-externalmeta"
+RDEPENDS:perl-module-test2-hub += "perl-module-test2-util-hashbase"
+RDEPENDS:perl-module-test2-hub += "perl-module-warnings"
+RDEPENDS:perl-module-test2-hub-subtest += "perl-module-strict"
+RDEPENDS:perl-module-test2-hub-subtest += "perl-module-test2-util"
+RDEPENDS:perl-module-test2-hub-subtest += "perl-module-test2-util-hashbase"
+RDEPENDS:perl-module-test2-hub-subtest += "perl-module-warnings"
+RDEPENDS:perl-module-test2-ipc-driver-files += "perl-module-data-dumper"
+RDEPENDS:perl-module-test2-ipc-driver-files += "perl-module-file-temp"
+RDEPENDS:perl-module-test2-ipc-driver-files += "perl-module-json-pp"
+RDEPENDS:perl-module-test2-ipc-driver-files += "perl-module-posix"
+RDEPENDS:perl-module-test2-ipc-driver-files += "perl-module-storable"
+RDEPENDS:perl-module-test2-ipc-driver-files += "perl-module-strict"
+RDEPENDS:perl-module-test2-ipc-driver-files += "perl-module-test2-api"
+RDEPENDS:perl-module-test2-ipc-driver-files += "perl-module-test2-event-waiting"
+RDEPENDS:perl-module-test2-ipc-driver-files += "perl-module-test2-util"
+RDEPENDS:perl-module-test2-ipc-driver-files += "perl-module-test2-util-hashbase"
+RDEPENDS:perl-module-test2-ipc-driver-files += "perl-module-warnings"
+RDEPENDS:perl-module-test2-ipc-driver += "perl-module-strict"
+RDEPENDS:perl-module-test2-ipc-driver += "perl-module-test2-api"
+RDEPENDS:perl-module-test2-ipc-driver += "perl-module-test2-util-hashbase"
+RDEPENDS:perl-module-test2-ipc-driver += "perl-module-warnings"
+RDEPENDS:perl-module-test2-ipc += "perl-module-strict"
+RDEPENDS:perl-module-test2-ipc += "perl-module-test2-api"
+RDEPENDS:perl-module-test2-ipc += "perl-module-test2-api-instance"
+RDEPENDS:perl-module-test2-ipc += "perl-module-test2-ipc-driver-files"
+RDEPENDS:perl-module-test2-ipc += "perl-module-test2-util"
+RDEPENDS:perl-module-test2-ipc += "perl-module-warnings"
+RDEPENDS:perl-module-test2 += "perl-module-strict"
+RDEPENDS:perl-module-test2 += "perl-module-warnings"
+RDEPENDS:perl-module-test2-tools-tiny += "perl-module-data-dumper"
+RDEPENDS:perl-module-test2-tools-tiny += "perl-module-strict"
+RDEPENDS:perl-module-test2-tools-tiny += "perl-module-test2-api"
+RDEPENDS:perl-module-test2-tools-tiny += "perl-module-test2-hub-interceptor"
+RDEPENDS:perl-module-test2-tools-tiny += "perl-module-test2-hub-interceptor-terminator"
+RDEPENDS:perl-module-test2-tools-tiny += "perl-module-test2-util"
+RDEPENDS:perl-module-test2-tools-tiny += "perl-module-warnings"
+RDEPENDS:perl-module-test2-util-externalmeta += "perl-module-strict"
+RDEPENDS:perl-module-test2-util-externalmeta += "perl-module-warnings"
+RDEPENDS:perl-module-test2-util-facets2legacy += "perl-module-base"
+RDEPENDS:perl-module-test2-util-facets2legacy += "perl-module-strict"
+RDEPENDS:perl-module-test2-util-facets2legacy += "perl-module-warnings"
+RDEPENDS:perl-module-test2-util-hashbase += "perl-module-strict"
+RDEPENDS:perl-module-test2-util-hashbase += "perl-module-warnings"
+RDEPENDS:perl-module-test2-util += "perl-module-config"
+RDEPENDS:perl-module-test2-util += "perl-module-posix"
+RDEPENDS:perl-module-test2-util += "perl-module-strict"
+RDEPENDS:perl-module-test2-util += "perl-module-warnings"
+RDEPENDS:perl-module-test2-util-trace += "perl-module-strict"
+RDEPENDS:perl-module-test2-util-trace += "perl-module-test2-eventfacet-trace"
+RDEPENDS:perl-module-test2-util-trace += "perl-module-warnings"
+RDEPENDS:perl-module-test-builder-formatter += "perl-module-strict"
+RDEPENDS:perl-module-test-builder-formatter += "perl-module-test2-util-hashbase"
+RDEPENDS:perl-module-test-builder-formatter += "perl-module-warnings"
+RDEPENDS:perl-module-test-builder-module += "perl-module-exporter"
+RDEPENDS:perl-module-test-builder-module += "perl-module-strict"
+RDEPENDS:perl-module-test-builder-module += "perl-module-test-builder"
+RDEPENDS:perl-module-test-builder += "perl-module-data-dumper"
+RDEPENDS:perl-module-test-builder += "perl-module-overload"
+RDEPENDS:perl-module-test-builder += "perl-module-strict"
+RDEPENDS:perl-module-test-builder += "perl-module-test2-api"
+RDEPENDS:perl-module-test-builder += "perl-module-test2-event-subtest"
+RDEPENDS:perl-module-test-builder += "perl-module-test2-hub-subtest"
+RDEPENDS:perl-module-test-builder += "perl-module-test2-ipc"
+RDEPENDS:perl-module-test-builder += "perl-module-test2-ipc-driver-files"
+RDEPENDS:perl-module-test-builder += "perl-module-test2-util"
+RDEPENDS:perl-module-test-builder += "perl-module-test-builder-formatter"
+RDEPENDS:perl-module-test-builder += "perl-module-test-builder-tododiag"
+RDEPENDS:perl-module-test-builder += "perl-module-warnings"
+RDEPENDS:perl-module-test-builder-tester-color += "perl-module-strict"
+RDEPENDS:perl-module-test-builder-tester-color += "perl-module-test-builder-tester"
+RDEPENDS:perl-module-test-builder-tester += "perl-module-exporter"
+RDEPENDS:perl-module-test-builder-tester += "perl-module-strict"
+RDEPENDS:perl-module-test-builder-tester += "perl-module-test-builder"
+RDEPENDS:perl-module-test-builder-tododiag += "perl-module-strict"
+RDEPENDS:perl-module-test-builder-tododiag += "perl-module-warnings"
+RDEPENDS:perl-module-test-harness += "perl-module-base"
+RDEPENDS:perl-module-test-harness += "perl-module-config"
+RDEPENDS:perl-module-test-harness += "perl-module-constant"
+RDEPENDS:perl-module-test-harness += "perl-module-strict"
+RDEPENDS:perl-module-test-harness += "perl-module-tap-harness"
+RDEPENDS:perl-module-test-harness += "perl-module-tap-parser-aggregator"
+RDEPENDS:perl-module-test-harness += "perl-module-tap-parser-source"
+RDEPENDS:perl-module-test-harness += "perl-module-tap-parser-sourcehandler-perl"
+RDEPENDS:perl-module-test-harness += "perl-module-text-parsewords"
+RDEPENDS:perl-module-test-harness += "perl-module-warnings"
+RDEPENDS:perl-module-test-more += "perl-module-strict"
+RDEPENDS:perl-module-test-more += "perl-module-test-builder-module"
+RDEPENDS:perl-module-test-more += "perl-module-warnings"
+RDEPENDS:perl-module-test += "perl-module-exporter"
+RDEPENDS:perl-module-test += "perl-module-file-temp"
+RDEPENDS:perl-module-test += "perl-module-strict"
+RDEPENDS:perl-module-test-simple += "perl-module-strict"
+RDEPENDS:perl-module-test-simple += "perl-module-test-builder-module"
+RDEPENDS:perl-module-test-tester-capture += "perl-module-config"
+RDEPENDS:perl-module-test-tester-capture += "perl-module-strict"
+RDEPENDS:perl-module-test-tester-capture += "perl-module-test-builder"
+RDEPENDS:perl-module-test-tester-capture += "perl-module-vars"
+RDEPENDS:perl-module-test-tester-capturerunner += "perl-module-exporter"
+RDEPENDS:perl-module-test-tester-capturerunner += "perl-module-strict"
+RDEPENDS:perl-module-test-tester-capturerunner += "perl-module-test-tester-capture"
+RDEPENDS:perl-module-test-tester-delegate += "perl-module-strict"
+RDEPENDS:perl-module-test-tester-delegate += "perl-module-vars"
+RDEPENDS:perl-module-test-tester-delegate += "perl-module-warnings"
+RDEPENDS:perl-module-test-tester += "perl-module-exporter"
+RDEPENDS:perl-module-test-tester += "perl-module-strict"
+RDEPENDS:perl-module-test-tester += "perl-module-test-builder"
+RDEPENDS:perl-module-test-tester += "perl-module-test-tester-capturerunner"
+RDEPENDS:perl-module-test-tester += "perl-module-test-tester-delegate"
+RDEPENDS:perl-module-test-tester += "perl-module-vars"
+RDEPENDS:perl-module-text-abbrev += "perl-module-exporter"
+RDEPENDS:perl-module-text-balanced += "perl-module-exporter"
+RDEPENDS:perl-module-text-balanced += "perl-module-overload"
+RDEPENDS:perl-module-text-balanced += "perl-module-strict"
+RDEPENDS:perl-module-text-balanced += "perl-module-vars"
+RDEPENDS:perl-module-text-parsewords += "perl-module-exporter"
+RDEPENDS:perl-module-text-parsewords += "perl-module-strict"
+RDEPENDS:perl-module-text-parsewords += "perl-module-warnings"
+RDEPENDS:perl-module-text-tabs += "perl-module-strict"
+RDEPENDS:perl-module-text-wrap += "perl-module-re"
+RDEPENDS:perl-module-text-wrap += "perl-module-strict"
+RDEPENDS:perl-module-text-wrap += "perl-module-text-tabs"
+RDEPENDS:perl-module-text-wrap += "perl-module-warnings-register"
+RDEPENDS:perl-module-thread += "perl-module-config"
+RDEPENDS:perl-module-thread += "perl-module-exporter"
+RDEPENDS:perl-module-thread += "perl-module-strict"
+RDEPENDS:perl-module-thread += "perl-module-threads"
+RDEPENDS:perl-module-thread += "perl-module-threads-shared"
+RDEPENDS:perl-module-thread += "perl-module-warnings"
+RDEPENDS:perl-module-thread-queue += "perl-module-strict"
+RDEPENDS:perl-module-thread-queue += "perl-module-threads-shared"
+RDEPENDS:perl-module-thread-queue += "perl-module-warnings"
+RDEPENDS:perl-module-thread-semaphore += "perl-module-strict"
+RDEPENDS:perl-module-thread-semaphore += "perl-module-threads-shared"
+RDEPENDS:perl-module-thread-semaphore += "perl-module-warnings"
+RDEPENDS:perl-module-threads += "perl-module-config"
+RDEPENDS:perl-module-threads += "perl-module-overload"
+RDEPENDS:perl-module-threads += "perl-module-strict"
+RDEPENDS:perl-module-threads += "perl-module-warnings"
+RDEPENDS:perl-module-threads += "perl-module-xsloader"
+RDEPENDS:perl-module-threads-shared += "perl-module-config"
+RDEPENDS:perl-module-threads-shared += "perl-module-strict"
+RDEPENDS:perl-module-threads-shared += "perl-module-warnings"
+RDEPENDS:perl-module-threads-shared += "perl-module-xsloader"
+RDEPENDS:perl-module-tie-array += "perl-module-strict"
+RDEPENDS:perl-module-tie-file += "perl-module-fcntl"
+RDEPENDS:perl-module-tie-file += "perl-module-posix"
+RDEPENDS:perl-module-tie-file += "perl-module-strict"
+RDEPENDS:perl-module-tie-file += "perl-module-warnings"
+RDEPENDS:perl-module-tie-handle += "perl-module-tie-stdhandle"
+RDEPENDS:perl-module-tie-handle += "perl-module-warnings-register"
+RDEPENDS:perl-module-tie-hash-namedcapture += "perl-module-strict"
+RDEPENDS:perl-module-tie-hash += "perl-module-warnings-register"
+RDEPENDS:perl-module-tie-memoize += "perl-module-strict"
+RDEPENDS:perl-module-tie-memoize += "perl-module-tie-hash"
+RDEPENDS:perl-module-tie-refhash += "perl-module-config"
+RDEPENDS:perl-module-tie-refhash += "perl-module-overload"
+RDEPENDS:perl-module-tie-refhash += "perl-module-strict"
+RDEPENDS:perl-module-tie-refhash += "perl-module-tie-hash"
+RDEPENDS:perl-module-tie-scalar += "perl-module-warnings-register"
+RDEPENDS:perl-module-tie-stdhandle += "perl-module-strict"
+RDEPENDS:perl-module-tie-stdhandle += "perl-module-tie-handle"
+RDEPENDS:perl-module-tie-substrhash += "perl-module-integer"
+RDEPENDS:perl-module-tie-substrhash += "perl-module-strict"
+RDEPENDS:perl-module-tie-substrhash += "perl-module-warnings"
+RDEPENDS:perl-module-time-gmtime += "perl-module-exporter"
+RDEPENDS:perl-module-time-gmtime += "perl-module-strict"
+RDEPENDS:perl-module-time-gmtime += "perl-module-time-tm"
+RDEPENDS:perl-module-time-hires += "perl-module-exporter"
+RDEPENDS:perl-module-time-hires += "perl-module-strict"
+RDEPENDS:perl-module-time-hires += "perl-module-xsloader"
+RDEPENDS:perl-module-time-local += "perl-module-config"
+RDEPENDS:perl-module-time-local += "perl-module-constant"
+RDEPENDS:perl-module-time-local += "perl-module-exporter"
+RDEPENDS:perl-module-time-local += "perl-module-parent"
+RDEPENDS:perl-module-time-local += "perl-module-strict"
+RDEPENDS:perl-module-time-localtime += "perl-module-exporter"
+RDEPENDS:perl-module-time-localtime += "perl-module-strict"
+RDEPENDS:perl-module-time-localtime += "perl-module-time-tm"
+RDEPENDS:perl-module-time-piece += "perl-module-constant"
+RDEPENDS:perl-module-time-piece += "perl-module-exporter"
+RDEPENDS:perl-module-time-piece += "perl-module-integer"
+RDEPENDS:perl-module-time-piece += "perl-module-overload"
+RDEPENDS:perl-module-time-piece += "perl-module-strict"
+RDEPENDS:perl-module-time-piece += "perl-module-time-local"
+RDEPENDS:perl-module-time-piece += "perl-module-time-seconds"
+RDEPENDS:perl-module-time-piece += "perl-module-xsloader"
+RDEPENDS:perl-module-time-seconds += "perl-module-constant"
+RDEPENDS:perl-module-time-seconds += "perl-module-exporter"
+RDEPENDS:perl-module-time-seconds += "perl-module-overload"
+RDEPENDS:perl-module-time-seconds += "perl-module-strict"
+RDEPENDS:perl-module-time-tm += "perl-module-class-struct"
+RDEPENDS:perl-module-time-tm += "perl-module-strict"
+RDEPENDS:perl-module-unicode-collate-cjk-big5 += "perl-module-strict"
+RDEPENDS:perl-module-unicode-collate-cjk-big5 += "perl-module-warnings"
+RDEPENDS:perl-module-unicode-collate-cjk-gb2312 += "perl-module-strict"
+RDEPENDS:perl-module-unicode-collate-cjk-gb2312 += "perl-module-warnings"
+RDEPENDS:perl-module-unicode-collate-cjk-jisx0208 += "perl-module-strict"
+RDEPENDS:perl-module-unicode-collate-cjk-jisx0208 += "perl-module-warnings"
+RDEPENDS:perl-module-unicode-collate-cjk-korean += "perl-module-strict"
+RDEPENDS:perl-module-unicode-collate-cjk-korean += "perl-module-warnings"
+RDEPENDS:perl-module-unicode-collate-cjk-pinyin += "perl-module-strict"
+RDEPENDS:perl-module-unicode-collate-cjk-pinyin += "perl-module-warnings"
+RDEPENDS:perl-module-unicode-collate-cjk-stroke += "perl-module-strict"
+RDEPENDS:perl-module-unicode-collate-cjk-stroke += "perl-module-warnings"
+RDEPENDS:perl-module-unicode-collate-cjk-zhuyin += "perl-module-strict"
+RDEPENDS:perl-module-unicode-collate-cjk-zhuyin += "perl-module-warnings"
+RDEPENDS:perl-module-unicode-collate-locale += "perl-module-base"
+RDEPENDS:perl-module-unicode-collate-locale += "perl-module-strict"
+RDEPENDS:perl-module-unicode-collate-locale += "perl-module-warnings"
+RDEPENDS:perl-module-unicode-collate += "perl-module-constant"
+RDEPENDS:perl-module-unicode-collate += "perl-module-strict"
+RDEPENDS:perl-module-unicode-collate += "perl-module-warnings"
+RDEPENDS:perl-module-unicode-collate += "perl-module-xsloader"
+RDEPENDS:perl-module-unicode-normalize += "perl-module-bytes"
+RDEPENDS:perl-module-unicode-normalize += "perl-module-exporter"
+RDEPENDS:perl-module-unicode-normalize += "perl-module-strict"
+RDEPENDS:perl-module-unicode-normalize += "perl-module-warnings"
+RDEPENDS:perl-module-unicode-normalize += "perl-module-xsloader"
+RDEPENDS:perl-module-unicode-ucd += "perl-module-charnames"
+RDEPENDS:perl-module-unicode-ucd += "perl-module-exporter"
+RDEPENDS:perl-module-unicode-ucd += "perl-module-feature"
+RDEPENDS:perl-module-unicode-ucd += "perl-module-if"
+RDEPENDS:perl-module-unicode-ucd += "perl-module-integer"
+RDEPENDS:perl-module-unicode-ucd += "perl-module-re"
+RDEPENDS:perl-module-unicode-ucd += "perl-module-strict"
+RDEPENDS:perl-module-unicode-ucd += "perl-module-unicode-normalize"
+RDEPENDS:perl-module-unicode-ucd += "perl-module-warnings"
+RDEPENDS:perl-module-user-grent += "perl-module-class-struct"
+RDEPENDS:perl-module-user-grent += "perl-module-exporter"
+RDEPENDS:perl-module-user-grent += "perl-module-strict"
+RDEPENDS:perl-module-user-pwent += "perl-module-class-struct"
+RDEPENDS:perl-module-user-pwent += "perl-module-config"
+RDEPENDS:perl-module-user-pwent += "perl-module-exporter"
+RDEPENDS:perl-module-user-pwent += "perl-module-strict"
+RDEPENDS:perl-module-user-pwent += "perl-module-warnings"
+RDEPENDS:perl-module-utf8 += "perl-module-strict"
+RDEPENDS:perl-module-utf8 += "perl-module-warnings"
+RDEPENDS:perl-module-version += "perl-module-strict"
+RDEPENDS:perl-module-version += "perl-module-version-regex"
+RDEPENDS:perl-module-version += "perl-module-warnings-register"
+RDEPENDS:perl-module-version-regex += "perl-module-strict"
+RDEPENDS:perl-module-xsloader += "perl-module-dynaloader"
+RDEPENDS:perl-module-xsloader += "perl-module-strict"
diff --git a/meta/recipes-devtools/perl/files/run-ptest b/meta/recipes-devtools/perl/files/run-ptest
index dad4d42916..0547f818b2 100644
--- a/meta/recipes-devtools/perl/files/run-ptest
+++ b/meta/recipes-devtools/perl/files/run-ptest
@@ -1,2 +1,2 @@
#!/bin/sh
-cd t && PERL_BUILD_PACKAGING=1 ./TEST | sed -u -e 's|\(.*\) .* ok$|PASS: \1|' -e 's|\(.*\) .* skipped|SKIP: \1|' -e 's|\(.*\) \.\(.*\)|FAIL: \1|'
+{ cd t && PERL_BUILD_PACKAGING=1 ./TEST || echo "FAIL: perl" ; } | sed -u -e 's|\(.*\) .* ok$|PASS: \1|' -e 's|\(.*\) .* skipped|SKIP: \1|' -e 's|\(.*\) \.\(.*\)|FAIL: \1|'
diff --git a/meta/recipes-devtools/perl/liberror-perl_0.17029.bb b/meta/recipes-devtools/perl/liberror-perl_0.17029.bb
deleted file mode 100644
index 038808f0cd..0000000000
--- a/meta/recipes-devtools/perl/liberror-perl_0.17029.bb
+++ /dev/null
@@ -1,47 +0,0 @@
-SUMMARY = "Error - Error/exception handling in an OO-ish way"
-DESCRIPTION = "The Error package provides two interfaces. Firstly \
-Error provides a procedural interface to exception handling. \
-Secondly Error is a base class for errors/exceptions that can \
-either be thrown, for subsequent catch, or can simply be recorded."
-HOMEPAGE = "https://github.com/shlomif/perl-error.pm"
-SECTION = "libs"
-LICENSE = "Artistic-1.0 | GPL-1.0+"
-
-LIC_FILES_CHKSUM = "file://LICENSE;md5=8f3499d09ee74a050c0319391ff9d100"
-
-DEPENDS += "perl"
-
-RDEPENDS_${PN} += " \
- perl-module-carp \
- perl-module-exporter \
- perl-module-scalar-util \
- perl-module-overload \
- perl-module-strict \
- perl-module-vars \
- perl-module-warnings \
-"
-
-RDEPENDS_${PN}-ptest += " \
- perl-module-base \
- perl-module-file-spec \
- perl-module-io-handle \
- perl-module-ipc-open3 \
- perl-module-lib \
- perl-module-test-more \
-"
-
-SRC_URI = "http://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/Error-${PV}.tar.gz"
-
-SRC_URI[md5sum] = "6732b1c6207e4a9a3e2987c88368039a"
-SRC_URI[sha256sum] = "1a23f7913032aed6d4b68321373a3899ca66590f4727391a091ec19c95bf7adc"
-
-S = "${WORKDIR}/Error-${PV}"
-
-inherit cpan ptest-perl
-
-do_install_prepend() {
- # test requires "-T" (taint) command line option
- rm -rf ${B}/t/pod-coverage.t
-}
-
-BBCLASSEXTEND = "native"
diff --git a/meta/recipes-devtools/perl/libmodule-build-perl_0.4231.bb b/meta/recipes-devtools/perl/libmodule-build-perl_0.4234.bb
index a6fd7b1c07..b57618724d 100644
--- a/meta/recipes-devtools/perl/libmodule-build-perl_0.4231.bb
+++ b/meta/recipes-devtools/perl/libmodule-build-perl_0.4234.bb
@@ -10,14 +10,13 @@ SECTION = "libs"
HOMEPAGE = "https://metacpan.org/release/Module-Build"
-LICENSE = "Artistic-1.0 | GPL-1.0+"
-LIC_FILES_CHKSUM = "file://README;beginline=949;endline=954;md5=624c06db56a2af4d70cf9edc29fcae1b"
+LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
+LIC_FILES_CHKSUM = "file://README;beginline=881;endline=886;md5=3027f56c664545e54678c26b7f1ac19c"
SRC_URI = "${CPAN_MIRROR}/authors/id/L/LE/LEONT/Module-Build-${PV}.tar.gz \
file://run-ptest \
"
-SRC_URI[md5sum] = "066b193e461d7dfe1eca17a139353001"
-SRC_URI[sha256sum] = "7e0f4c692c1740c1ac84ea14d7ea3d8bc798b2fb26c09877229e04f430b2b717"
+SRC_URI[sha256sum] = "66aeac6127418be5e471ead3744648c766bd01482825c5b66652675f2bc86a8f"
S = "${WORKDIR}/Module-Build-${PV}"
@@ -35,8 +34,15 @@ do_patch[postfuncs] += "do_patch_module_build"
EXTRA_CPAN_BUILD_FLAGS = "--create_packlist=0"
-do_install_append () {
+do_install:prepend () {
+ # We do not have a recipe for libpod-parser-perl which is for
+ # documentation (and is deprecated in favor of Pod::Simple)
+ rm -rf ${B}/t/pod_parser.t
+}
+
+do_install:append () {
rm -rf ${D}${docdir}/perl/html
+ sed -i "s:^#!.*:#!/usr/bin/env perl:" ${D}${bindir}/config_data
}
do_install_ptest() {
@@ -55,7 +61,7 @@ do_install_ptest() {
rm -rf ${D}${PTEST_PATH}/_build/magicnum
}
-RDEPENDS_${PN} += " \
+RDEPENDS:${PN} += " \
perl-module-carp \
perl-module-cpan \
perl-module-config \
@@ -87,16 +93,25 @@ RDEPENDS_${PN} += " \
perl-module-utf8 \
"
-RDEPENDS_${PN}-ptest += " \
+RDEPENDS:${PN}-ptest += " \
packagegroup-core-buildessential \
perl-dev \
perl-module-blib \
+ perl-module-encode-encoding \
+ perl-module-extutils-cbuilder-base \
perl-module-extutils-command-mm \
+ perl-module-extutils-mm-unix \
perl-module-file-temp \
perl-module-lib \
+ perl-module-parse-cpan-meta \
perl-module-perlio \
perl-module-perlio-encoding \
+ perl-module-pod-simple-transcodesmart \
perl-module-pod-text \
+ perl-module-tap-base \
+ perl-module-tap-formatter-base \
+ perl-module-tap-formatter-file \
+ perl-module-tap-formatter-session \
perl-module-tap-harness-env \
perl-module-tap-parser \
perl-module-tap-parser-scheduler \
@@ -104,7 +119,7 @@ RDEPENDS_${PN}-ptest += " \
perl-module-test-more \
"
-RPROVIDES_${PN} += "\
+RPROVIDES:${PN} += "\
libmodule-build-base-perl \
libmodule-build-compat-perl \
libmodule-build-config-perl \
@@ -118,6 +133,6 @@ RPROVIDES_${PN} += "\
"
# t/xs.t RDEPENDS on "EXTERN.h" provided by perl-dev
-INSANE_SKIP_${PN}-ptest = "dev-deps"
+INSANE_SKIP:${PN}-ptest = "dev-deps"
BBCLASSEXTEND = "native"
diff --git a/meta/recipes-devtools/perl/libtest-fatal-perl_0.017.bb b/meta/recipes-devtools/perl/libtest-fatal-perl_0.017.bb
new file mode 100644
index 0000000000..1c3a7e5136
--- /dev/null
+++ b/meta/recipes-devtools/perl/libtest-fatal-perl_0.017.bb
@@ -0,0 +1,36 @@
+SUMMARY = "Incredibly simple helpers for testing code with exceptions"
+DESCRIPTION = "Test::Fatal is an alternative to the popular Test::Exception.\
+It does much less, but should allow greater flexibility in testing \
+exception-throwing code with about the same amount of typing."
+HOMEPAGE = "https://github.com/rjbs/Test-Fatal"
+BUGTRACKER = "https://github.com/rjbs/Test-Fatal/issues"
+SECTION = "libs"
+LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
+
+LIC_FILES_CHKSUM = "file://LICENSE;md5=b5c851290cab1dda12fcfb0e9ec43639"
+
+SRC_URI = "${CPAN_MIRROR}/authors/id/R/RJ/RJBS/Test-Fatal-${PV}.tar.gz"
+
+SRC_URI[sha256sum] = "37dfffdafb84b762efe96b02fb2aa41f37026c73e6b83590db76229697f3c4a6"
+
+S = "${WORKDIR}/Test-Fatal-${PV}"
+
+inherit cpan ptest-perl
+
+RDEPENDS:${PN} += "\
+ libtry-tiny-perl \
+ perl-module-carp \
+ perl-module-exporter \
+ perl-module-test-builder \
+"
+
+RDEPENDS:${PN}-ptest += "\
+ perl-module-extutils-makemaker \
+ perl-module-extutils-mm-unix \
+ perl-module-file-spec \
+ perl-module-overload \
+ perl-module-test-builder-tester \
+ perl-module-test-more \
+"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/perl/libtest-needs-perl_0.002006.bb b/meta/recipes-devtools/perl/libtest-needs-perl_0.002010.bb
index c44ee6340c..79a06170e0 100644
--- a/meta/recipes-devtools/perl/libtest-needs-perl_0.002006.bb
+++ b/meta/recipes-devtools/perl/libtest-needs-perl_0.002010.bb
@@ -6,7 +6,7 @@ that are found but fail to compile will exit with an error rather than skip."
HOMEPAGE = "https://metacpan.org/release/Test-Needs"
SECTION = "libs"
-LICENSE = "Artistic-1.0 | GPL-1.0+"
+LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
CPAN_NAME = "Test-Needs"
CPAN_AUTHOR = "HAARG"
@@ -17,13 +17,12 @@ DEPENDS += "perl"
SRC_URI = "https://cpan.metacpan.org/authors/id/H/HA/${CPAN_AUTHOR}/${CPAN_NAME}-${PV}.tar.gz"
-SRC_URI[md5sum] = "d5c96d51d8d5510f7c0b7f354c49af1c"
-SRC_URI[sha256sum] = "77f9fff0c96c5e09f34d0416b3533c3319f7cd0bb1f7fe8f8072ad59f433f0e5"
+SRC_URI[sha256sum] = "923ffdc78fcba96609753e4bae26b0ba0186893de4a63cd5236e012c7c90e208"
S = "${WORKDIR}/${CPAN_NAME}-${PV}"
inherit cpan ptest-perl
-RDEPENDS_${PN}-ptest += "perl-module-test-more perl-module-ipc-open3 perl-module-lib perl-module-version"
+RDEPENDS:${PN}-ptest += "perl-module-test-more perl-module-ipc-open3 perl-module-lib perl-module-version"
BBCLASSEXTEND = "native"
diff --git a/meta/recipes-devtools/perl/libtest-warnings-perl_0.033.bb b/meta/recipes-devtools/perl/libtest-warnings-perl_0.033.bb
new file mode 100644
index 0000000000..17b4cc3c9e
--- /dev/null
+++ b/meta/recipes-devtools/perl/libtest-warnings-perl_0.033.bb
@@ -0,0 +1,36 @@
+SUMMARY = "Test::Warnings - Test for warnings and the lack of them"
+DESCRIPTION = "If you've ever tried to use Test::NoWarnings to confirm there are no \
+warnings generated by your tests, combined with the convenience of \
+\\"done_testing\\" to not have to declare a test count, you'll have discovered \
+that these two features do not play well together, as the test count will \
+be calculated *before* the warnings test is run, resulting in a TAP error. \
+(See "examples/test_nowarnings.pl" in this distribution for a \
+demonstration.)"
+HOMEPAGE = "https://github.com/karenetheridge/Test-Warnings"
+BUGTRACKER = "https://rt.cpan.org/Public/Dist/Display.html?Name=Test-Warnings"
+SECTION = "libs"
+LICENSE = "Artistic-1.0-Perl | GPL-1.0-or-later"
+
+LIC_FILES_CHKSUM = "file://LICENCE;md5=f98106ac3cc05d9cbebcdb8fbf7b7815"
+
+SRC_URI = "${CPAN_MIRROR}/authors/id/E/ET/ETHER/Test-Warnings-${PV}.tar.gz"
+
+SRC_URI[sha256sum] = "b9c375719f2c61c5f97aa5ee6cf4c901a972347c415969379b0b51f67c48bbcb"
+
+S = "${WORKDIR}/Test-Warnings-${PV}"
+
+inherit cpan ptest-perl
+
+RDEPENDS:${PN} += "\
+ perl-module-test-builder \
+"
+
+# Many hidden dependencies and mysterious failures occur without full perl-modules
+RDEPENDS:${PN}-ptest += "perl-modules"
+
+do_install_ptest_perl:append () {
+ cp -r ${B}/t/lib ${D}${PTEST_PATH}/t/
+ chown -R root:root ${D}${PTEST_PATH}/t/lib
+}
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/perl/libtry-tiny-perl_0.31.bb b/meta/recipes-devtools/perl/libtry-tiny-perl_0.31.bb
new file mode 100644
index 0000000000..a3728d8435
--- /dev/null
+++ b/meta/recipes-devtools/perl/libtry-tiny-perl_0.31.bb
@@ -0,0 +1,36 @@
+SUMMARY = "Try::Tiny - Minimal try/catch with proper preservation of $@"
+DESCRIPTION = "This module provides bare bones try/catch/finally statements \
+that are designed to minimize common mistakes with eval blocks, and NOTHING \
+else."
+HOMEPAGE = "https://github.com/p5sagit/Try-Tiny"
+BUGTRACKER = "https://rt.cpan.org/Public/Dist/Display.html?Name=Try-Tiny"
+SECTION = "libs"
+LICENSE = "MIT"
+
+LIC_FILES_CHKSUM = "file://LICENCE;md5=5dc332c2d4aade55f5db244681000091"
+
+SRC_URI = "${CPAN_MIRROR}/authors/id/E/ET/ETHER/Try-Tiny-${PV}.tar.gz"
+
+SRC_URI[sha256sum] = "3300d31d8a4075b26d8f46ce864a1d913e0e8467ceeba6655d5d2b2e206c11be"
+
+S = "${WORKDIR}/Try-Tiny-${PV}"
+
+inherit cpan ptest-perl
+
+RDEPENDS:${PN} += "\
+ perl-module-carp \
+ perl-module-constant \
+ perl-module-exporter \
+"
+RRECOMMENDS:${PN} += "\
+ perl-module-sub-util \
+"
+RDEPENDS:${PN}-ptest += "\
+ perl-module-extutils-makemaker \
+ perl-module-extutils-mm-unix \
+ perl-module-file-spec \
+ perl-module-if \
+ perl-module-test-more \
+"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/perl/liburi-perl/0001-Skip-TODO-test-cases-that-fail.patch b/meta/recipes-devtools/perl/liburi-perl/0001-Skip-TODO-test-cases-that-fail.patch
new file mode 100644
index 0000000000..ed1f25125f
--- /dev/null
+++ b/meta/recipes-devtools/perl/liburi-perl/0001-Skip-TODO-test-cases-that-fail.patch
@@ -0,0 +1,110 @@
+From 5a4271456104bdf027644c81c3a208cde5cf522e Mon Sep 17 00:00:00 2001
+From: Tim Orling <tim.orling@konsulko.com>
+Date: Thu, 17 Nov 2022 16:33:20 -0800
+Subject: [PATCH] Skip TODO test cases that fail
+
+TODO cases report as "not ok" with ptest-runner
+
+Upstream-Status: Inappropriate [ptest-runner specific]
+
+Signed-off-by: Tim Orling <tim.orling@konsulko.com>
+
+---
+ t/escape-char.t | 20 ++++++++++----------
+ t/iri.t | 18 +++++++++---------
+ t/mailto.t | 12 ++++++------
+ 3 files changed, 25 insertions(+), 25 deletions(-)
+
+diff --git a/t/escape-char.t b/t/escape-char.t
+index c6ce79c..5e62ad5 100644
+--- a/t/escape-char.t
++++ b/t/escape-char.t
+@@ -6,16 +6,16 @@ use warnings;
+ use Test::More;
+ use URI ();
+
+-TODO: {
+- my $str = "http://foo/\xE9";
+- utf8::upgrade($str);
+- my $uri = URI->new($str);
+-
+- local $TODO = 'URI::Escape::escape_char misunderstands utf8';
+-
+- # http://foo/%C3%A9
+- is("$uri", 'http://foo/%E9', 'correctly created a URI from a utf8-upgraded string');
+-}
++#TODO: {
++# my $str = "http://foo/\xE9";
++# utf8::upgrade($str);
++# my $uri = URI->new($str);
++#
++# local $TODO = 'URI::Escape::escape_char misunderstands utf8';
++#
++# # http://foo/%C3%A9
++# is("$uri", 'http://foo/%E9', 'correctly created a URI from a utf8-upgraded string');
++#}
+
+ {
+ my $str = "http://foo/\xE9";
+diff --git a/t/iri.t b/t/iri.t
+index cf983d6..884b36e 100644
+--- a/t/iri.t
++++ b/t/iri.t
+@@ -6,7 +6,7 @@ use Test::More;
+ use Config qw( %Config );
+
+ if (defined $Config{useperlio}) {
+- plan tests=>30;
++ plan tests=>28;
+ } else {
+ plan skip_all=>"this perl doesn't support PerlIO layers";
+ }
+@@ -67,17 +67,17 @@ is $u->as_iri, "http://➡.ws/";
+ # draft-duerst-iri-bis.txt examples (section 3.7.1):
+ is(URI->new("http://www.example.org/D%C3%BCrst")->as_iri, "http://www.example.org/D\xFCrst");
+ is(URI->new("http://www.example.org/D%FCrst")->as_iri, "http://www.example.org/D%FCrst");
+-TODO: {
+- local $TODO = "some chars (like U+202E, RIGHT-TO-LEFT OVERRIDE) need to stay escaped";
+-is(URI->new("http://xn--99zt52a.example.org/%e2%80%ae")->as_iri, "http://\x{7D0D}\x{8C46}.example.org/%e2%80%ae");
+-}
++#TODO: {
++# local $TODO = "some chars (like U+202E, RIGHT-TO-LEFT OVERRIDE) need to stay escaped";
++#is(URI->new("http://xn--99zt52a.example.org/%e2%80%ae")->as_iri, "http://\x{7D0D}\x{8C46}.example.org/%e2%80%ae");
++#}
+
+ # try some URLs that can't be IDNA encoded (fallback to encoded UTF8 bytes)
+ $u = URI->new("http://" . ("ü" x 128));
+ is $u, "http://" . ("%C3%BC" x 128);
+ is $u->host, ("\xC3\xBC" x 128);
+-TODO: {
+- local $TODO = "should ihost decode UTF8 bytes?";
+- is $u->ihost, ("ü" x 128);
+-}
++#TODO: {
++# local $TODO = "should ihost decode UTF8 bytes?";
++# is $u->ihost, ("ü" x 128);
++#}
+ is $u->as_iri, "http://" . ("ü" x 128);
+diff --git a/t/mailto.t b/t/mailto.t
+index 79e9a13..c68cfb2 100644
+--- a/t/mailto.t
++++ b/t/mailto.t
+@@ -48,12 +48,12 @@ $u = URI->new('mailto:user+detail@example.com');
+ is $u->to, 'user+detail@example.com', 'subaddress with `+` parsed correctly';
+ is $u, 'mailto:user+detail@example.com', '... and stringification works';
+
+-TODO: {
+- local $TODO = "We can't handle quoted local parts without properly parsing the email addresses";
+- $u = URI->new('mailto:"foo bar+baz"@example.com');
+- is $u->to, '"foo bar+baz"@example.com', 'address with quoted local part containing spaces is parsed correctly';
+- is $u, 'mailto:%22foo%20bar+baz%22@example.com', '... and stringification works';
+-}
++#TODO: {
++# local $TODO = "We can't handle quoted local parts without properly parsing the email addresses";
++# $u = URI->new('mailto:"foo bar+baz"@example.com');
++# is $u->to, '"foo bar+baz"@example.com', 'address with quoted local part containing spaces is parsed correctly';
++# is $u, 'mailto:%22foo%20bar+baz%22@example.com', '... and stringification works';
++#}
+
+ # RFC 5321 (4.1.3) - Address Literals
+
diff --git a/meta/recipes-devtools/perl/liburi-perl_1.74.bb b/meta/recipes-devtools/perl/liburi-perl_5.28.bb
index c27765bcbc..1fc0efd3e5 100644
--- a/meta/recipes-devtools/perl/liburi-perl_1.74.bb
+++ b/meta/recipes-devtools/perl/liburi-perl_5.28.bb
@@ -2,19 +2,17 @@ SUMMARY = "Perl module to manipulate and access URI strings"
DESCRIPTION = "This package contains the URI.pm module with friends. \
The module implements the URI class. URI objects can be used to access \
and manipulate the various components that make up these strings."
-
-HOMEPAGE = "http://search.cpan.org/dist/URI/"
+HOMEPAGE = "https://metacpan.org/dist/URI"
SECTION = "libs"
-LICENSE = "Artistic-1.0 | GPL-1.0+"
-
-LIC_FILES_CHKSUM = "file://LICENSE;md5=c453e94fae672800f83bc1bd7a38b53f"
+LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
-DEPENDS += "perl"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=9944b87af51186f848ae558344aded9f"
-SRC_URI = "http://www.cpan.org/authors/id/E/ET/ETHER/URI-${PV}.tar.gz"
+SRC_URI = "${CPAN_MIRROR}/authors/id/O/OA/OALDERS/URI-${PV}.tar.gz \
+ file://0001-Skip-TODO-test-cases-that-fail.patch \
+ "
-SRC_URI[md5sum] = "892f7183b178af40f205ba37128225db"
-SRC_URI[sha256sum] = "a9c254f45f89cb1dd946b689dfe433095404532a4543bdaab0b71ce0fdcdd53d"
+SRC_URI[sha256sum] = "e7985da359b15efd00917fa720292b711c396f2f9f9a7349e4e7dec74aa79765"
S = "${WORKDIR}/URI-${PV}"
@@ -27,24 +25,32 @@ do_compile() {
cpan_do_compile
}
-do_install_prepend() {
+do_install:prepend() {
# these tests require "-T" (taint) command line option
rm -rf ${B}/t/cwd.t
rm -rf ${B}/t/file.t
}
-RDEPENDS_${PN} += "perl-module-integer perl-module-mime-base64"
-RDEPENDS_${PN}-ptest += " \
+RDEPENDS:${PN} += "\
+ perl-module-integer \
+ perl-module-mime-base64 \
+"
+
+RDEPENDS:${PN}-ptest += " \
+ libtest-fatal-perl \
libtest-needs-perl \
- perl-module-test-more \
- perl-module-test \
- perl-module-utf8 \
- perl-module-extutils-makemaker \
- perl-module-net-domain \
+ libtest-warnings-perl \
perl-module-encode \
+ perl-module-encode-encoding \
+ perl-module-extutils-makemaker \
perl-module-extutils-mm-unix \
perl-module-file-spec-functions \
+ perl-module-net-domain \
perl-module-perlio \
+ perl-module-perlio-encoding \
+ perl-module-test \
+ perl-module-test-more \
+ perl-module-utf8 \
"
BBCLASSEXTEND = "native"
diff --git a/meta/recipes-devtools/perl/libxml-parser-perl/0001-Makefile.PL-make-check_lib-cross-friendly.patch b/meta/recipes-devtools/perl/libxml-parser-perl/0001-Makefile.PL-make-check_lib-cross-friendly.patch
new file mode 100644
index 0000000000..457fb77384
--- /dev/null
+++ b/meta/recipes-devtools/perl/libxml-parser-perl/0001-Makefile.PL-make-check_lib-cross-friendly.patch
@@ -0,0 +1,28 @@
+From bd9b0e10843da72276982bd1394ade734fea0289 Mon Sep 17 00:00:00 2001
+From: Tim Orling <tim.orling@konsulko.com>
+Date: Fri, 2 Feb 2024 21:15:34 -0800
+Subject: [PATCH] Makefile.PL: make check_lib cross friendly
+
+lib => qw(expat) does not seem to respect EXPATLIBPATH and
+EXPATINCPATH when we are cross-compiling.
+
+Upstream-Status: Inappropriate [OE specific]
+
+Signed-off-by: Tim Orling <tim.orling@konsulko.com>
+---
+ Makefile.PL | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile.PL b/Makefile.PL
+index 505d1df..19f428b 100644
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -30,7 +30,7 @@ foreach (@ARGV) {
+
+ unless (
+ check_lib( # fill in what you prompted the user for here
+- lib => [qw(expat)],
++ #lib => [qw(expat)],
+ header => ['expat.h'],
+ incpath => $expat_incpath,
+ ( $expat_libpath ? ( libpath => $expat_libpath ) : () ),
diff --git a/meta/recipes-devtools/perl/libxml-parser-perl_2.46.bb b/meta/recipes-devtools/perl/libxml-parser-perl_2.46.bb
deleted file mode 100644
index bc154bbdc5..0000000000
--- a/meta/recipes-devtools/perl/libxml-parser-perl_2.46.bb
+++ /dev/null
@@ -1,58 +0,0 @@
-SUMMARY = "XML::Parser - A perl module for parsing XML documents"
-HOMEPAGE = "https://libexpat.github.io/"
-SECTION = "libs"
-LICENSE = "Artistic-1.0 | GPL-1.0+"
-LIC_FILES_CHKSUM = "file://Parser.pm;beginline=1;endline=7;md5=d12cc778c80fc4c518f0e5dee29fd5fb"
-
-DEPENDS += "expat"
-
-SRC_URI = "http://www.cpan.org/modules/by-module/XML/XML-Parser-${PV}.tar.gz \
- file://ptest-perl/run-ptest \
- file://0001-CheckLib.pm-do-not-attempt-to-run-a-cross-executable.patch \
- "
-SRC_URI[md5sum] = "80bb18a8e6240fcf7ec2f7b57601c170"
-SRC_URI[sha256sum] = "d331332491c51cccfb4cb94ffc44f9cd73378e618498d4a37df9e043661c515d"
-
-S = "${WORKDIR}/XML-Parser-${PV}"
-
-EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR} CC='${CC}' LD='${CCLD}' FULL_AR='${AR}'"
-
-inherit cpan ptest-perl
-
-# fix up sub MakeMaker project as arguments don't get propagated though
-# see https://rt.cpan.org/Public/Bug/Display.html?id=28632
-do_configure_append_class-target() {
- sed -E \
- -e 's:-L${STAGING_LIBDIR}::g' -e 's:-I${STAGING_INCDIR}::g' \
- -i Makefile Expat/Makefile
-}
-
-do_configure_append() {
- sed -e 's:--sysroot=.*\(\s\|$\):--sysroot=${STAGING_DIR_TARGET} :g' \
- -i Makefile Expat/Makefile
- sed 's:^FULL_AR = .*:FULL_AR = ${AR}:g' -i Expat/Makefile
- # make sure these two do not build in parallel
- sed 's!^$(INST_DYNAMIC):!$(INST_DYNAMIC): $(BOOTSTRAP)!' -i Expat/Makefile
-}
-
-do_compile() {
- export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')"
- cpan_do_compile
-}
-
-do_compile_class-native() {
- cpan_do_compile
-}
-
-do_install_ptest() {
- sed -i -e "s:/usr/local/bin/perl:/usr/bin/perl:g" ${B}/samples/xmlstats
- sed -i -e "s:/usr/local/bin/perl:/usr/bin/perl:g" ${B}/samples/xmlfilter
- sed -i -e "s:/usr/local/bin/perl:/usr/bin/perl:g" ${B}/samples/xmlcomments
- sed -i -e "s:/usr/local/bin/perl:/usr/bin/perl:g" ${B}/samples/canonical
- cp -r ${B}/samples ${D}${PTEST_PATH}
- chown -R root:root ${D}${PTEST_PATH}/samples
-}
-
-RDEPENDS_${PN}-ptest += "perl-module-filehandle perl-module-if perl-module-test perl-module-test-more"
-
-BBCLASSEXTEND="native nativesdk"
diff --git a/meta/recipes-devtools/perl/libxml-parser-perl_2.47.bb b/meta/recipes-devtools/perl/libxml-parser-perl_2.47.bb
new file mode 100644
index 0000000000..cffc133a45
--- /dev/null
+++ b/meta/recipes-devtools/perl/libxml-parser-perl_2.47.bb
@@ -0,0 +1,42 @@
+SUMMARY = "XML::Parser - A perl module for parsing XML documents"
+HOMEPAGE = "https://libexpat.github.io/"
+SECTION = "libs"
+LICENSE = "Artistic-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=4342f85bf14a1fdd6a751573f1e61c03"
+
+DEPENDS += "expat"
+
+SRC_URI = "${CPAN_MIRROR}/modules/by-module/XML/XML-Parser-${PV}.tar.gz \
+ file://0001-Makefile.PL-make-check_lib-cross-friendly.patch \
+ "
+
+SRC_URI[sha256sum] = "ad4aae643ec784f489b956abe952432871a622d4e2b5c619e8855accbfc4d1d8"
+
+S = "${WORKDIR}/XML-Parser-${PV}"
+
+EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR} CC='${CC}' LD='${CCLD}' FULL_AR='${AR}'"
+
+inherit cpan pkgconfig ptest-perl
+
+do_compile() {
+ export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')"
+ cpan_do_compile
+}
+
+do_compile:class-native() {
+ cpan_do_compile
+}
+
+do_install_ptest() {
+ sed -i -e "s:/usr/local/bin/perl:/usr/bin/perl:g" ${B}/samples/xmlstats
+ sed -i -e "s:/usr/local/bin/perl:/usr/bin/perl:g" ${B}/samples/xmlfilter
+ sed -i -e "s:/usr/local/bin/perl:/usr/bin/perl:g" ${B}/samples/xmlcomments
+ sed -i -e "s:/usr/local/bin/perl:/usr/bin/perl:g" ${B}/samples/canonical
+ cp -r ${B}/samples ${D}${PTEST_PATH}
+ chown -R root:root ${D}${PTEST_PATH}/samples
+}
+
+RDEPENDS:${PN} += "perl-module-carp perl-module-file-spec"
+RDEPENDS:${PN}-ptest += "perl-module-filehandle perl-module-if perl-module-test perl-module-test-more"
+
+BBCLASSEXTEND="native nativesdk"
diff --git a/meta/recipes-devtools/perl/libxml-perl_0.08.bb b/meta/recipes-devtools/perl/libxml-perl_0.08.bb
index 818ae3d571..89acb64ef5 100644
--- a/meta/recipes-devtools/perl/libxml-perl_0.08.bb
+++ b/meta/recipes-devtools/perl/libxml-perl_0.08.bb
@@ -5,8 +5,7 @@ XML::Grove and others."
HOMEPAGE = "http://search.cpan.org/dist/libxml-perl/"
SUMMARY = "Collection of Perl modules for working with XML"
SECTION = "libs"
-LICENSE = "Artistic-1.0 | GPL-1.0+"
-PR = "r3"
+LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
LIC_FILES_CHKSUM = "file://README;beginline=33;endline=35;md5=1705549eef7577a3d6ba71123a1f0ce8"
@@ -26,5 +25,5 @@ do_compile() {
cpan_do_compile
}
-RDEPENDS_${PN} += "perl-module-carp perl-module-overload perl-module-universal perl-module-io-handle"
-RDEPENDS_${PN}-ptest += "libxml-parser-perl perl-module-file-glob"
+RDEPENDS:${PN} += "perl-module-carp perl-module-overload perl-module-universal perl-module-io-handle"
+RDEPENDS:${PN}-ptest += "libxml-parser-perl perl-module-file-glob perl-module-cwd perl-module-constant"
diff --git a/meta/recipes-devtools/perl/libxml-simple-perl_2.25.bb b/meta/recipes-devtools/perl/libxml-simple-perl_2.25.bb
index 53788d5585..791404e5bc 100644
--- a/meta/recipes-devtools/perl/libxml-simple-perl_2.25.bb
+++ b/meta/recipes-devtools/perl/libxml-simple-perl_2.25.bb
@@ -6,7 +6,7 @@ on top of an underlying XML parsing module to maintain XML files \
where the original uses plain Perl or SAX parsers."
HOMEPAGE = "http://search.cpan.org/~markov/XML-LibXML-Simple-0.93/lib/XML/LibXML/Simple.pod"
SECTION = "libs"
-LICENSE = "Artistic-1.0 | GPL-1.0+"
+LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
LIC_FILES_CHKSUM = "file://LICENSE;md5=cf206df8c9fe775f1d4c484386491eac"
DEPENDS += "libxml-parser-perl"
@@ -21,13 +21,13 @@ EXTRA_PERLFLAGS = "-I ${PERLHOSTLIB}"
inherit cpan ptest-perl
-RDEPENDS_${PN} += " \
+RDEPENDS:${PN} += " \
libxml-namespacesupport-perl \
libxml-parser-perl \
libxml-sax-perl \
"
-RDEPENDS_${PN}-ptest += " \
+RDEPENDS:${PN}-ptest += " \
perl-module-file-temp \
perl-module-test-more \
"
diff --git a/meta/recipes-devtools/perl/perl-ptest.inc b/meta/recipes-devtools/perl/perl-ptest.inc
index 98e3361fcc..e07355d3f5 100644
--- a/meta/recipes-devtools/perl/perl-ptest.inc
+++ b/meta/recipes-devtools/perl/perl-ptest.inc
@@ -10,12 +10,12 @@ do_install_ptest () {
sed -e "s:\/usr\/local:${bindir}:g" -i cpan/version/t/*
sed -e "s:\/opt:\/usr:" -i Porting/add-package.pl
sed -e "s:\/local\/gnu\/:\/:" -i hints/cxux.sh
- tar -c --exclude=try --exclude=a.out --exclude='*.o' --exclude=libperl.so* --exclude=Makefile --exclude=makefile --exclude=hostperl \
+ tar -c --exclude=try --exclude=a.out --exclude='*.o' --exclude=libperl.so* --exclude=[Mm]akefile --exclude=hostperl \
--exclude=cygwin --exclude=os2 --exclude=djgpp --exclude=qnx --exclude=symbian --exclude=haiku \
--exclude=vms --exclude=vos --exclude=NetWare --exclude=amigaos4 --exclude=buildcustomize.pl \
--exclude='win32/config.*' --exclude=plan9 --exclude=README.plan9 --exclude=perlplan9.pod --exclude=Configure \
--exclude=veryclean.sh --exclude=realclean.sh --exclude=getioctlsizes \
- --exclude=dl_aix.xs --exclude=sdbm.3 --exclude='cflags.SH' --exclude=makefile.old \
+ --exclude=dl_aix.xs --exclude=sdbm.3 --exclude='cflags.SH' --exclude=[Mm]akefile.old \
--exclude=miniperl --exclude=generate_uudmap --exclude=patches --exclude='config.log' * | ( cd ${D}${PTEST_PATH} && tar -x )
ln -sf ${bindir}/perl ${D}${PTEST_PATH}/t/perl
@@ -47,7 +47,7 @@ do_install_ptest () {
rm ${D}${PTEST_PATH}/Makefile.config ${D}${PTEST_PATH}/xconfig.h ${D}${PTEST_PATH}/xconfig.sh
}
-python populate_packages_prepend() {
+python populate_packages:prepend() {
# Put all *.t files from the lib dir in the ptest package
# do_split_packages requires a pair of () in the regex, but we have nothing
# to match, so use an empty pair.
@@ -56,8 +56,8 @@ python populate_packages_prepend() {
'${PN}-ptest%s', '%s', recursive=True, match_path=True)
}
-RDEPENDS_${PN}-ptest += "${PN}-modules ${PN}-doc sed"
+RDEPENDS:${PN}-ptest += "${PN}-modules ${PN}-doc sed procps-ps"
# The perl-ptest package contains Perl internal modules and generating file
# dependencies for it causes problems.
-SKIP_FILEDEPS_${PN}-ptest = '1'
+SKIP_FILEDEPS:${PN}-ptest = '1'
diff --git a/meta/recipes-devtools/perl/perl_5.32.0.bb b/meta/recipes-devtools/perl/perl_5.38.2.bb
index bba8263b90..63909c242d 100644
--- a/meta/recipes-devtools/perl/perl_5.32.0.bb
+++ b/meta/recipes-devtools/perl/perl_5.38.2.bb
@@ -1,67 +1,75 @@
SUMMARY = "Perl scripting language"
HOMEPAGE = "http://www.perl.org/"
+DESCRIPTION = "Perl is a highly capable, feature-rich programming language"
SECTION = "devel"
-LICENSE = "Artistic-1.0 | GPL-1.0+"
+LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
LIC_FILES_CHKSUM = "file://Copying;md5=5b122a36d0f6dc55279a0ebc69f3c60b \
file://Artistic;md5=71a4d5d9acc18c0952a6df2218bb68da \
"
SRC_URI = "https://www.cpan.org/src/5.0/perl-${PV}.tar.gz;name=perl \
- https://github.com/arsv/perl-cross/releases/download/1.3.4/perl-cross-1.3.4.tar.gz;name=perl-cross \
file://perl-rdepends.txt \
- file://0001-configure_tool.sh-do-not-quote-the-argument-to-comma.patch \
- file://0001-ExtUtils-MakeMaker-add-LDFLAGS-when-linking-binary-m.patch \
file://0001-Somehow-this-module-breaks-through-the-perl-wrapper-.patch \
file://errno_ver.diff \
file://native-perlinc.patch \
- file://0001-perl-cross-add-LDFLAGS-when-linking-libperl.patch \
file://perl-dynloader.patch \
- file://0001-configure_path.sh-do-not-hardcode-prefix-lib-as-libr.patch \
file://0002-Constant-Fix-up-shebang.patch \
- file://determinism.patch \
- file://perl-cross-makefile.patch \
+ file://determinism.patch \
+ file://0001-cpan-Sys-Syslog-Makefile.PL-Fix-_PATH_LOG-for-determ.patch \
+ file://0001-Fix-intermittent-failure-of-test-t-op-sigsystem.t.patch \
"
-SRC_URI_append_class-native = " \
+SRC_URI:append:class-native = " \
file://perl-configpm-switch.patch \
"
-SRC_URI_append_class-target = " \
+SRC_URI:append:class-target = " \
file://encodefix.patch \
"
-SRC_URI[perl.sha256sum] = "efeb1ce1f10824190ad1cadbcccf6fdb8a5d37007d0100d2d9ae5f2b5900c0b4"
-SRC_URI[perl-cross.sha256sum] = "755aa0ca8141a942188a269564f86c3c82349f82c346ed5c992495d7f35138ba"
+SRC_URI[perl.sha256sum] = "a0a31534451eb7b83c7d6594a497543a54d488bc90ca00f5e34762577f40655e"
-S = "${WORKDIR}/perl-${PV}"
+B = "${WORKDIR}/perl-${PV}-build"
inherit upstream-version-is-even update-alternatives
-DEPENDS += "zlib virtual/crypt"
+DEPENDS += "perlcross-native zlib virtual/crypt"
+# make 4.1 has race issues with the double-colon usage of MakeMaker, see #14096
+DEPENDS += "make-native"
PERL_LIB_VER = "${@'.'.join(d.getVar('PV').split('.')[0:2])}.0"
-PACKAGECONFIG ??= "bdb gdbm"
+PACKAGECONFIG ??= "gdbm"
+PACKAGECONFIG:append:libc-musl = " anylocale"
PACKAGECONFIG[bdb] = ",-Ui_db,db"
PACKAGECONFIG[gdbm] = ",-Ui_gdbm,gdbm"
+PACKAGECONFIG[anylocale] = "-Dd_setlocale_accepts_any_locale_name=define,,"
# Don't generate comments in enc2xs output files. They are not reproducible
export ENC2XS_NO_COMMENTS = "1"
-do_unpack_append() {
- bb.build.exec_func('do_copy_perlcross', d)
-}
+CFLAGS += "-D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
-do_copy_perlcross() {
- cp -rfp ${WORKDIR}/perl-cross*/* ${S}
+do_configure:prepend() {
+ rm -rf ${B}
+ cp -rfp ${S} ${B}
+ cp -rfp ${STAGING_DATADIR_NATIVE}/perl-cross/* ${B}
+ cd ${B}
}
-do_configure_class-target() {
+do_configure:class-target() {
./configure --prefix=${prefix} --libdir=${libdir} \
--target=${TARGET_SYS} \
+ -Duse64bitint \
-Duseshrplib \
+ -Dusethreads \
-Dsoname=libperl.so.5 \
-Dvendorprefix=${prefix} \
+ -Dvendorlibdir=${libdir} \
-Darchlibexp=${STAGING_LIBDIR}/perl5/${PV}/${TARGET_ARCH}-linux \
+ -Dlibpth='${libdir} ${base_libdir}' \
+ -Dglibpth='${libdir} ${base_libdir}' \
+ -Alddlflags=' ${LDFLAGS}' \
+ -Dd_gnulibc=define \
${PACKAGECONFIG_CONFARGS}
#perl.c uses an ARCHLIB_EXP define to generate compile-time code that
@@ -79,30 +87,38 @@ do_configure_class-target() {
sed -i -e "s,${STAGING_LIBDIR},${libdir},g" config.h
}
-do_configure_class-nativesdk() {
+do_configure:class-nativesdk() {
./configure --prefix=${prefix} \
--target=${TARGET_SYS} \
-Duseshrplib \
+ -Dusethreads \
-Dsoname=libperl.so.5 \
-Dvendorprefix=${prefix} \
-Darchlibexp=${STAGING_LIBDIR}/perl5/${PV}/${TARGET_ARCH}-linux \
+ -Alddlflags=' ${LDFLAGS}' \
${PACKAGECONFIG_CONFARGS}
# See the comment above
sed -i -e "s,${STAGING_LIBDIR},${libdir},g" config.h
}
-do_configure_class-native() {
+do_configure:class-native() {
./configure --prefix=${prefix} \
-Dbin=${bindir}/perl-native \
-Duseshrplib \
+ -Dusethreads \
-Dsoname=libperl.so.5 \
-Dvendorprefix=${prefix} \
-Ui_xlocale \
+ -Alddlflags=' ${LDFLAGS}' \
${PACKAGECONFIG_CONFARGS}
+
+ # This prevents leakage of build paths into perl-native binaries, which
+ # causes non-deterministic troubles when those paths no longer exist or aren't accessible.
+ sed -i -e "s,${STAGING_LIBDIR},/completelyboguspath,g" config.h
}
-do_configure_append() {
+do_configure:append() {
if [ -n "$SOURCE_DATE_EPOCH" ]; then
PERL_BUILD_DATE="$(${PYTHON} -c "\
from datetime import datetime, timezone; \
@@ -114,14 +130,6 @@ print(datetime.fromtimestamp($SOURCE_DATE_EPOCH, timezone.utc).strftime('%a %b %
do_compile() {
oe_runmake
- # This isn't generated reliably so delete and re-generate.
- # https://github.com/arsv/perl-cross/issues/86
-
- if [ -e pod/perltoc.pod ]; then
- bbnote Rebuilding perltoc.pod
- rm -f pod/perltoc.pod
- oe_runmake pod/perltoc.pod
- fi
}
do_install() {
@@ -137,8 +145,9 @@ do_install() {
install lib/ExtUtils/typemap ${D}${libdir}/perl5/${PV}/ExtUtils/
# Fix up shared library
- rm ${D}/${libdir}/perl5/${PV}/*/CORE/libperl.so
- ln -sf ../../../../libperl.so.${PERL_LIB_VER} $(echo ${D}/${libdir}/perl5/${PV}/*/CORE)/libperl.so
+ dir=$(echo ${D}/${libdir}/perl5/${PV}/*/CORE)
+ rm $dir/libperl.so
+ ln -sf ../../../../libperl.so.${PERL_LIB_VER} $dir/libperl.so
# Try to catch Bug #13946
if [ -e ${D}/${libdir}/perl5/${PV}/Storable.pm ]; then
@@ -146,16 +155,17 @@ do_install() {
fi
}
-do_install_append_class-target() {
+do_install:append:class-target() {
# This is used to substitute target configuration when running native perl via perl-configpm-switch.patch
ln -s Config_heavy.pl ${D}${libdir}/perl5/${PV}/${TARGET_ARCH}-linux/Config_heavy-target.pl
- # This contains host-specific information used for building miniperl (a helper executable built with host compiler)
- # and therefore isn't reproducible. I believe the file isn't actually needed on target.
- rm ${D}${libdir}/perl5/${PV}/${TARGET_ARCH}-linux/CORE/xconfig.h
+ # xconfig.h contains references to build host architecture, and yet is included from various other places.
+ # To make it reproducible let's make it a copy of config.h patch that is specific to the target architecture.
+ # It is believed that the original header is the product of building miniperl (a helper executable built with host compiler).
+ cp ${D}${libdir}/perl5/${PV}/${TARGET_ARCH}-linux/CORE/config.h ${D}${libdir}/perl5/${PV}/${TARGET_ARCH}-linux/CORE/xconfig.h
}
-do_install_append_class-nativesdk() {
+do_install:append:class-nativesdk() {
# This is used to substitute target configuration when running native perl via perl-configpm-switch.patch
ln -s Config_heavy.pl ${D}${libdir}/perl5/${PV}/${TARGET_ARCH}-linux/Config_heavy-target.pl
@@ -163,7 +173,7 @@ do_install_append_class-nativesdk() {
PERL5LIB='$PERL5LIB:${SDKPATHNATIVE}/${libdir_nativesdk}/perl5/site_perl/${PV}:${SDKPATHNATIVE}/${libdir_nativesdk}/perl5/vendor_perl/${PV}:${SDKPATHNATIVE}/${libdir_nativesdk}/perl5/${PV}'
}
-do_install_append_class-native () {
+do_install:append:class-native () {
# Those wrappers mean that perl installed from sstate (which may change
# path location) works and that in the nativesdk case, the SDK can be
# installed to a different location from the one it was built for.
@@ -197,6 +207,7 @@ perl_package_preprocess () {
${PKGD}${bindir}/pod2usage.perl \
${PKGD}${bindir}/podchecker.perl \
${PKGD}${libdir}/perl5/${PV}/${TARGET_ARCH}-linux/CORE/config.h \
+ ${PKGD}${libdir}/perl5/${PV}/${TARGET_ARCH}-linux/CORE/xconfig.h \
${PKGD}${libdir}/perl5/${PV}/${TARGET_ARCH}-linux/CORE/perl.h \
${PKGD}${libdir}/perl5/${PV}/${TARGET_ARCH}-linux/CORE/pp.h \
${PKGD}${libdir}/perl5/${PV}/Config.pm \
@@ -214,9 +225,9 @@ inherit update-alternatives
ALTERNATIVE_PRIORITY = "100"
-ALTERNATIVE_${PN}-misc = "corelist cpan enc2xs encguess h2ph h2xs instmodsh json_pp libnetcfg \
+ALTERNATIVE:${PN}-misc = "corelist cpan enc2xs encguess h2ph h2xs instmodsh json_pp libnetcfg \
piconv pl2pm pod2html pod2man pod2text pod2usage podchecker \
- prove ptar ptardiff ptargrep shasum splain xsubpp zipdetails"
+ prove ptar ptardiff ptargrep shasum splain streamzip xsubpp zipdetails"
ALTERNATIVE_LINK_NAME[corelist] = "${bindir}/corelist"
ALTERNATIVE_LINK_NAME[cpan] = "${bindir}/cpan"
ALTERNATIVE_LINK_NAME[enc2xs] = "${bindir}/enc2xs"
@@ -239,12 +250,13 @@ ALTERNATIVE_LINK_NAME[ptardiff] = "${bindir}/ptardiff"
ALTERNATIVE_LINK_NAME[ptargrep] = "${bindir}/ptargrep"
ALTERNATIVE_LINK_NAME[shasum] = "${bindir}/shasum"
ALTERNATIVE_LINK_NAME[splain] = "${bindir}/splain"
+ALTERNATIVE_LINK_NAME[streamzip] = "${bindir}/streamzip"
ALTERNATIVE_LINK_NAME[xsubpp] = "${bindir}/xsubpp"
ALTERNATIVE_LINK_NAME[zipdetails] = "${bindir}/zipdetails"
require perl-ptest.inc
-FILES_${PN} = "${bindir}/perl ${bindir}/perl.real ${bindir}/perl${PV} ${libdir}/libperl.so* \
+FILES:${PN} = "${bindir}/perl ${bindir}/perl.real ${bindir}/perl${PV} ${libdir}/libperl.so* \
${libdir}/perl5/site_perl \
${libdir}/perl5/${PV}/Config.pm \
${libdir}/perl5/${PV}/${TARGET_ARCH}-linux/Config.pm \
@@ -260,24 +272,24 @@ FILES_${PN} = "${bindir}/perl ${bindir}/perl.real ${bindir}/perl${PV} ${libdir}/
${libdir}/perl5/${PV}/ExtUtils/xsubpp \
${libdir}/perl5/${PV}/ExtUtils/typemap \
"
-RPROVIDES_${PN} += "perl-module-strict perl-module-vars perl-module-config perl-module-warnings \
- perl-module-warnings-register"
+RPROVIDES:${PN} += "perl-module-strict perl-module-vars perl-module-config perl-module-warnings \
+ perl-module-warnings-register perl-module-config-git"
-FILES_${PN}-staticdev_append = " ${libdir}/perl5/${PV}/*/CORE/libperl.a"
+FILES:${PN}-staticdev:append = " ${libdir}/perl5/${PV}/*/CORE/libperl.a"
-FILES_${PN}-dev_append = " ${libdir}/perl5/${PV}/*/CORE"
+FILES:${PN}-dev:append = " ${libdir}/perl5/${PV}/*/CORE"
-FILES_${PN}-doc_append = " ${libdir}/perl5/${PV}/Unicode/Collate/*.txt \
+FILES:${PN}-doc:append = " ${libdir}/perl5/${PV}/Unicode/Collate/*.txt \
${libdir}/perl5/${PV}/*/.packlist \
${libdir}/perl5/${PV}/Encode/encode.h \
"
PACKAGES += "${PN}-misc"
-FILES_${PN}-misc = "${bindir}/*"
+FILES:${PN}-misc = "${bindir}/*"
PACKAGES += "${PN}-pod"
-FILES_${PN}-pod = "${libdir}/perl5/${PV}/pod \
+FILES:${PN}-pod = "${libdir}/perl5/${PV}/pod \
${libdir}/perl5/${PV}/*.pod \
${libdir}/perl5/${PV}/*/*.pod \
${libdir}/perl5/${PV}/*/*/*.pod \
@@ -286,20 +298,20 @@ FILES_${PN}-pod = "${libdir}/perl5/${PV}/pod \
PACKAGES += "${PN}-module-cpan ${PN}-module-unicore"
-FILES_${PN}-module-cpan += "${libdir}/perl5/${PV}/CPAN \
+FILES:${PN}-module-cpan += "${libdir}/perl5/${PV}/CPAN \
"
-FILES_${PN}-module-unicore += "${libdir}/perl5/${PV}/unicore"
+FILES:${PN}-module-unicore += "${libdir}/perl5/${PV}/unicore"
ALTERNATIVE_PRIORITY = "40"
-ALTERNATIVE_${PN}-doc = "Thread.3"
+ALTERNATIVE:${PN}-doc = "Thread.3"
ALTERNATIVE_LINK_NAME[Thread.3] = "${mandir}/man3/Thread.3"
-# Create a perl-modules package recommending all the other perl
-# packages (actually the non modules packages and not created too)
-ALLOW_EMPTY_${PN}-modules = "1"
+# Create a perl-modules package that represents the collection of all the
+# other perl packages (actually the non modules packages and not created too).
+ALLOW_EMPTY:${PN}-modules = "1"
PACKAGES += "${PN}-modules "
-PACKAGESPLITFUNCS_prepend = "split_perl_packages "
+PACKAGESPLITFUNCS =+ "split_perl_packages"
python split_perl_packages () {
libdir = d.expand('${libdir}/perl5/${PV}')
@@ -310,20 +322,25 @@ python split_perl_packages () {
do_split_packages(d, libdir, r'.*linux/([^\/].*)\.(pm|pl|e2x)', '${PN}-module-%s', 'perl module %s', recursive=True, allow_dirs=False, match_path=True, prepend=False)
do_split_packages(d, libdir, r'(^(?!(CPAN\/|CPANPLUS\/|Module\/|unicore\/|.*linux\/)[^\/]).*)\.(pm|pl|e2x)', '${PN}-module-%s', 'perl module %s', recursive=True, allow_dirs=False, match_path=True, prepend=False)
- # perl-modules should recommend every perl module, and only the
+ # perl-modules should runtime-depend on every perl module, and only the
# modules. Don't attempt to use the result of do_split_packages() as some
- # modules are manually split (eg. perl-module-unicore).
- packages = filter(lambda p: 'perl-module-' in p, d.getVar('PACKAGES').split())
- d.setVar(d.expand("RRECOMMENDS_${PN}-modules"), ' '.join(packages))
+ # modules are manually split (eg. perl-module-unicore). Also, the split
+ # packages should not include packages defined in RPROVIDES:${PN}.
+ perl_sub_pkgs = d.getVar(d.expand("RPROVIDES:${PN}")).split()
+ packages = filter(lambda p: 'perl-module-' in p and p not in perl_sub_pkgs, d.getVar('PACKAGES').split())
+ d.setVar(d.expand("RDEPENDS:${PN}-modules"), ' '.join(packages))
# Read the pre-generated dependency file, and use it to set module dependecies
- for line in open(d.expand("${WORKDIR}") + '/perl-rdepends.txt').readlines():
+ for line in open(d.getVar("UNPACKDIR") + '/perl-rdepends.txt').readlines():
splitline = line.split()
+ # Filter empty lines and comments
+ if len(splitline) == 0 or splitline[0].startswith("#"):
+ continue
if bb.data.inherits_class('native', d):
module = splitline[0] + '-native'
depends = "perl-native"
else:
- module = splitline[0].replace("RDEPENDS_perl", "RDEPENDS_${PN}")
+ module = splitline[0].replace("RDEPENDS:perl", "RDEPENDS:${PN}")
depends = splitline[2].strip('"').replace("perl-module", "${PN}-module")
d.appendVar(d.expand(module), " " + depends)
}
@@ -337,8 +354,9 @@ python() {
d.setVar("PACKAGES_DYNAMIC", "^nativesdk-perl-module-.*")
}
-RDEPENDS_${PN}-misc += "perl perl-modules"
-RDEPENDS_${PN}-pod += "perl"
+RDEPENDS:${PN}-misc += "perl"
+RRECOMMENDS:${PN}-misc += "perl-modules"
+RDEPENDS:${PN}-pod += "perl"
BBCLASSEXTEND = "native nativesdk"
@@ -349,10 +367,22 @@ do_create_rdepends_inc() {
cat <<'EOPREAMBLE' > ${WORKDIR}/perl-rdepends.inc
# Some additional dependencies that the above doesn't manage to figure out
-RDEPENDS_${PN}-module-file-spec += "${PN}-module-file-spec-unix"
-RDEPENDS_${PN}-module-math-bigint += "${PN}-module-math-bigint-calc"
-RDEPENDS_${PN}-module-thread-queue += "${PN}-module-attributes"
-RDEPENDS_${PN}-module-overload += "${PN}-module-overloading"
+RDEPENDS:${PN}-module-file-spec += "${PN}-module-file-spec-unix"
+RDEPENDS:${PN}-module-scalar-util += "${PN}-module-list-util"
+RDEPENDS:${PN}-module-file-temp += "${PN}-module-scalar-util"
+RDEPENDS:${PN}-module-file-temp += "${PN}-module-file-spec"
+RDEPENDS:${PN}-module-io-file += "${PN}-module-symbol"
+RDEPENDS:${PN}-module-io-file += "${PN}-module-carp"
+RDEPENDS:${PN}-module-math-bigint += "${PN}-module-math-bigint-calc"
+RDEPENDS:${PN}-module-test-builder += "${PN}-module-list-util"
+RDEPENDS:${PN}-module-test-builder += "${PN}-module-scalar-util"
+RDEPENDS:${PN}-module-test-builder-formatter += "${PN}-module-test2-formatter-tap"
+RDEPENDS:${PN}-module-test2-api += "${PN}-module-test2-event-fail"
+RDEPENDS:${PN}-module-test2-api += "${PN}-module-test2-event-pass"
+RDEPENDS:${PN}-module-test2-api += "${PN}-module-test2-event-v2"
+RDEPENDS:${PN}-module-test2-formatter-tap += "${PN}-module-test2-formatter"
+RDEPENDS:${PN}-module-thread-queue += "${PN}-module-attributes"
+RDEPENDS:${PN}-module-overload += "${PN}-module-overloading"
# Generated depends list beyond this line
EOPREAMBLE
@@ -360,14 +390,14 @@ EOPREAMBLE
cp -r packages-split packages-split.new && cd packages-split.new
find . -name \*.pm | xargs sed -i '/^=head/,/^=cut/d'
egrep -r "^\s*(\<use .*|\<require .*);?" perl-module-* --include="*.pm" | \
- sed "s/\/.*\.pm: */ += /g;s/[\"\']//g;s/;.*/\"/g;s/+= .*\(require\|use\)\> */+= \"perl-module-/g;s/CPANPLUS::.*/cpanplus/g;s/CPAN::.*/cpan/g;s/::/-/g;s/ [^+\"].*//g;s/_/-/g;s/\.pl\"$/\"/;s/\"\?\$/\"/;s/(//;" | tr [:upper:] [:lower:] | \
+ sed "s/\/.*\.pm: */ += /g;s/[\"\']//g;s/;.*/\"/g;s/+= .*\(require\|use\)\> */+= \"perl-module-/g;s/CPANPLUS::.*/cpanplus/g;s/CPAN::.*/cpan/g;s/::/-/g;s/ [^+\"].*//g;s/_/-/g;s/\.pl\"$/\"/;s/\"\?\$/\"/;s/(//;s/)//;" | tr [:upper:] [:lower:] | \
awk '{if ($3 != "\x22"$1"\x22"){ print $0}}'| \
grep -v -e "\-vms\-" -e module-5 -e "^$" -e "\\$" -e your -e tk -e autoperl -e html -e http -e parse-cpan -e perl-ostype -e ndbm-file -e module-mac -e fcgi -e lwp -e dbd -e dbix | \
sort -u | \
- sed 's/^/RDEPENDS_/;s/perl-module-/${PN}-module-/g;s/module-\(module-\)/\1/g;s/\(module-load\)-conditional/\1/g;s/encode-configlocal/&-pm/;' | \
- egrep -wv '=>|module-a|module-apache.?|module-apr|module-authen-sasl|module-b-asmdata|module-convert-ebcdic|module-devel-size|module-digest-perl-md5|module-dumpvalue|module-extutils-constant-aaargh56hash|module-extutils-xssymset|module-file-bsdglob|module-for|module-it|module-io-socket-inet6|module-io-socket-ssl|module-io-string|module-ipc-system-simple|module-lexical|module-local-lib|metadata|module-modperl-util|module-pluggable-object|module-test-builder-io-scalar|module-test2|module-text-unidecode|module-unicore|module-win32|objects\sload|syscall.ph|systeminfo.ph|%s' | \
- egrep -wv '=>|module-algorithm-diff|module-carp|module-c<extutils-mm-unix>|module-encode-hanextra|module-extutils-makemaker-version-regex|module-file-spec|module-io-compress-lzma|module-locale-maketext-lexicon|module-log-agent|module-meta-notation|module-net-localcfg|module-net-ping-external|module-b-deparse|module-scalar-util|module-some-module|module-symbol|module-uri|module-win32api-file' >> ${WORKDIR}/perl-rdepends.generated
- cp ${WORKDIR}/perl-rdepends.generated ${THISDIR}/files/perl-rdepends.txt
+ sed 's/^/RDEPENDS:/;s/perl-module-/${PN}-module-/g;s/module-\(module-\)/\1/g;s/\(module-load\)-conditional/\1/g;s/encode-configlocal/&-pm/;' | \
+ egrep -wv '=>|module-a|module-apache.?|module-apr|module-authen-sasl|module-b-asmdata|module-convert-ebcdic|module-devel-size|module-digest-perl-md5|module-dumpvalue|module-extutils-constant-aaargh56hash|module-extutils-xssymset|module-file-bsdglob|module-for|module-it|module-io-socket-inet6|module-io-socket-ssl|module-io-string|module-ipc-system-simple|module-lexical|module-local-lib|metadata|module-modperl-util|module-pluggable-object|module-test-builder-io-scalar|module-text-unidecode|module-unicore|module-win32|objects\sload|syscall.ph|systeminfo.ph|%s' | \
+ egrep -wv '=>|module-algorithm-diff|module-carp|module-c<extutils-mm-unix>|module-l<extutils-mm-unix>|module-encode-hanextra|module-extutils-makemaker-version-regex|module-file-spec|module-io-compress-lzma|module-io-uncompress-unxz|module-locale-maketext-lexicon|module-log-agent|module-meta-notation|module-net-localcfg|module-net-ping-external|module-b-deparse|module-scalar-util|module-some-module|module-symbol|module-uri|module-win32api-file' > ${WORKDIR}/perl-rdepends.generated
+ cat ${WORKDIR}/perl-rdepends.inc ${WORKDIR}/perl-rdepends.generated > ${THISDIR}/files/perl-rdepends.txt
}
# bitbake perl -c create_rdepends_inc
@@ -387,3 +417,10 @@ EOF
chmod 0755 ${SYSROOT_DESTDIR}${bindir}/nativeperl
cat ${SYSROOT_DESTDIR}${bindir}/nativeperl
}
+
+SSTATE_HASHEQUIV_FILEMAP = " \
+ populate_sysroot:*/lib*/perl5/*/*/Config_heavy.pl:${TMPDIR} \
+ populate_sysroot:*/lib*/perl5/*/*/Config_heavy.pl:${COREBASE} \
+ populate_sysroot:*/lib*/perl5/config.sh:${TMPDIR} \
+ populate_sysroot:*/lib*/perl5/config.sh:${COREBASE} \
+ "
diff --git a/meta/recipes-devtools/pkgconf/pkgconf_1.7.3.bb b/meta/recipes-devtools/pkgconf/pkgconf_2.2.0.bb
index 12496c3849..5f4ef73d43 100644
--- a/meta/recipes-devtools/pkgconf/pkgconf_1.7.3.bb
+++ b/meta/recipes-devtools/pkgconf/pkgconf_2.2.0.bb
@@ -7,7 +7,7 @@ HOMEPAGE = "http://pkgconf.org"
BUGTRACKER = "https://github.com/pkgconf/pkgconf/issues"
SECTION = "devel"
PROVIDES += "pkgconfig"
-RPROVIDES_${PN} += "pkgconfig"
+RPROVIDES:${PN} += "pkgconfig"
# The pkgconf license seems to be functionally equivalent to BSD-2-Clause or
# ISC, but has different wording, so needs its own name.
@@ -15,43 +15,43 @@ LICENSE = "pkgconf"
LIC_FILES_CHKSUM = "file://COPYING;md5=2214222ec1a820bd6cc75167a56925e0"
SRC_URI = "\
- https://distfiles.dereferenced.org/pkgconf/pkgconf-${PV}.tar.xz \
+ https://distfiles.ariadne.space/pkgconf/pkgconf-${PV}.tar.xz \
file://pkg-config-wrapper \
file://pkg-config-native.in \
file://pkg-config-esdk.in \
"
-SRC_URI[sha256sum] = "b846aea51cf696c3392a0ae58bef93e2e72f8e7073ca6ad1ed8b01c85871f9c0"
+SRC_URI[sha256sum] = "b06ff63a83536aa8c2f6422fa80ad45e4833f590266feb14eaddfe1d4c853c69"
inherit autotools
EXTRA_OECONF += "--with-pkg-config-dir='${libdir}/pkgconfig:${datadir}/pkgconfig'"
-do_install_append () {
+do_install:append () {
# Install a wrapper which deals, as much as possible with pkgconf vs
# pkg-config compatibility issues.
- install -m 0755 "${WORKDIR}/pkg-config-wrapper" "${D}${bindir}/pkg-config"
+ install -m 0755 "${UNPACKDIR}/pkg-config-wrapper" "${D}${bindir}/pkg-config"
}
-do_install_append_class-native () {
+do_install:append:class-native () {
# Install a pkg-config-native wrapper that will use the native sysroot instead
# of the MACHINE sysroot, for using pkg-config when building native tools.
sed -e "s|@PATH_NATIVE@|${PKG_CONFIG_PATH}|" \
- < ${WORKDIR}/pkg-config-native.in > ${B}/pkg-config-native
+ < ${UNPACKDIR}/pkg-config-native.in > ${B}/pkg-config-native
install -m755 ${B}/pkg-config-native ${D}${bindir}/pkg-config-native
sed -e "s|@PATH_NATIVE@|${PKG_CONFIG_PATH}|" \
-e "s|@LIBDIR_NATIVE@|${PKG_CONFIG_LIBDIR}|" \
- < ${WORKDIR}/pkg-config-esdk.in > ${B}/pkg-config-esdk
+ < ${UNPACKDIR}/pkg-config-esdk.in > ${B}/pkg-config-esdk
install -m755 ${B}/pkg-config-esdk ${D}${bindir}/pkg-config-esdk
}
# When using the RPM generated automatic package dependencies, some packages
# will end up requiring 'pkgconfig(pkg-config)'. Allow this behavior by
# specifying an appropriate provide.
-RPROVIDES_${PN} += "pkgconfig(pkg-config)"
+RPROVIDES:${PN} += "pkgconfig(pkg-config)"
# Include pkg.m4 in the main package, leaving libpkgconf dev files in -dev
-FILES_${PN}-dev_remove = "${datadir}/aclocal"
-FILES_${PN} += "${datadir}/aclocal"
+FILES:${PN}-dev:remove = "${datadir}/aclocal"
+FILES:${PN} += "${datadir}/aclocal"
BBCLASSEXTEND += "native nativesdk"
@@ -59,9 +59,9 @@ pkgconf_sstate_fixup_esdk () {
if [ "${BB_CURRENTTASK}" = "populate_sysroot_setscene" -a "${WITHIN_EXT_SDK}" = "1" ] ; then
pkgconfdir="${SSTATE_INSTDIR}/recipe-sysroot-native/${bindir_native}"
mv $pkgconfdir/pkg-config $pkgconfdir/pkg-config.real
- lnr $pkgconfdir/pkg-config-esdk $pkgconfdir/pkg-config
+ ln -rs $pkgconfdir/pkg-config-esdk $pkgconfdir/pkg-config
sed -i -e "s|^pkg-config|pkg-config.real|" $pkgconfdir/pkg-config-native
fi
}
-SSTATEPOSTUNPACKFUNCS_append_class-native = " pkgconf_sstate_fixup_esdk"
+SSTATEPOSTUNPACKFUNCS:append:class-native = " pkgconf_sstate_fixup_esdk"
diff --git a/meta/recipes-devtools/pkgconfig/pkgconfig/fix-glib-configure-libtool-usage.patch b/meta/recipes-devtools/pkgconfig/pkgconfig/fix-glib-configure-libtool-usage.patch
deleted file mode 100644
index 01c62472c1..0000000000
--- a/meta/recipes-devtools/pkgconfig/pkgconfig/fix-glib-configure-libtool-usage.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-
-Upstream-Status: Inappropriate [embedded specific]
-
-Signed-off-by: Saul Wold <sgw@linux.intel.com>
-
-
-Index: pkg-config-0.28/glib/configure.ac
-===================================================================
---- pkg-config-0.28.orig/glib/configure.ac
-+++ pkg-config-0.28/glib/configure.ac
-@@ -1438,7 +1438,7 @@ if test x"$glib_native_win32" = xyes; th
- G_MODULE_LDFLAGS=
- else
- export SED
-- G_MODULE_LDFLAGS=`(./libtool --config; echo eval echo \\$export_dynamic_flag_spec) | sh`
-+ G_MODULE_LDFLAGS=`(./${host_alias}-libtool --config; echo eval echo \\$export_dynamic_flag_spec) | sh`
- fi
- dnl G_MODULE_IMPL= don't reset, so cmd-line can override
- G_MODULE_NEED_USCORE=0
-@@ -1503,13 +1503,13 @@ if test "$G_MODULE_IMPL" = "G_MODULE_IMP
- LDFLAGS="$LDFLAGS $G_MODULE_LDFLAGS"
- dnl *** check for OSF1/5.0 RTLD_GLOBAL brokenness
- echo "void glib_plugin_test(void) { }" > plugin.c
-- ${SHELL} ./libtool --mode=compile --tag=CC ${CC} ${CFLAGS} \
-+ ${SHELL} ./${host_alias}-libtool --mode=compile --tag=CC ${CC} ${CFLAGS} \
- ${CPPFLAGS} -c -o plugin.lo plugin.c >/dev/null 2>&1
-- ${SHELL} ./libtool --mode=link --tag=CC ${CC} ${CFLAGS} \
-+ ${SHELL} ./${host_alias}-libtool --mode=link --tag=CC ${CC} ${CFLAGS} \
- ${LDFLAGS} -module -o plugin.la -export-dynamic \
- -shrext ".o" -avoid-version plugin.lo \
- -rpath /dont/care >/dev/null 2>&1
-- eval `./libtool --config | grep ^objdir`
-+ eval `./${host_alias}-libtool --config | grep ^objdir`
- AC_CACHE_CHECK([for RTLD_GLOBAL brokenness],
- glib_cv_rtldglobal_broken,[
- AC_TRY_RUN([
-@@ -1582,7 +1582,7 @@ fi
-
- AC_MSG_CHECKING(for the suffix of module shared libraries)
- export SED
--shrext_cmds=`./libtool --config | grep '^shrext_cmds='`
-+shrext_cmds=`./${host_alias}-libtool --config | grep '^shrext_cmds='`
- eval $shrext_cmds
- module=yes eval std_shrext=$shrext_cmds
- # chop the initial dot
diff --git a/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb b/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb
index 52ef2a9779..6f13d0177e 100644
--- a/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb
+++ b/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb
@@ -5,16 +5,15 @@ HOMEPAGE = "http://pkg-config.freedesktop.org/wiki/"
BUGTRACKER = "http://bugs.freedesktop.org/buglist.cgi?product=pkg-config"
SECTION = "console/utils"
-LICENSE = "GPLv2+"
+LICENSE = "GPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
-SRCREV = "edf8e6f0ea77ede073f07bff0d2ae1fc7a38103b"
-PV = "0.29.2+git${SRCPV}"
+SRCREV = "d97db4fae4c1cd099b506970b285dc2afd818ea2"
+PV = "0.29.2+git"
-SRC_URI = "git://anongit.freedesktop.org/pkg-config \
+SRC_URI = "git://gitlab.freedesktop.org/pkg-config/pkg-config.git;branch=master;protocol=https \
file://pkg-config-esdk.in \
file://pkg-config-native.in \
- file://fix-glib-configure-libtool-usage.patch \
file://0001-glib-gettext.m4-Update-AM_GLIB_GNU_GETTEXT-to-match-.patch \
"
@@ -28,8 +27,7 @@ inherit autotools
EXTRA_OECONF += "--disable-indirect-deps"
PACKAGECONFIG ??= "glib"
-PACKAGECONFIG_class-native = ""
-PACKAGECONFIG_class-nativesdk = ""
+PACKAGECONFIG:class-native = ""
PACKAGECONFIG[glib] = "--without-internal-glib,--with-internal-glib,glib-2.0 pkgconfig-native"
@@ -40,24 +38,24 @@ BBCLASSEXTEND = "native nativesdk"
# Set an empty dev package to ensure the base PN package gets
# the pkg.m4 macros, pkgconfig does not deliver any other -dev
# files.
-FILES_${PN}-dev = ""
-FILES_${PN} += "${datadir}/aclocal/pkg.m4"
+FILES:${PN}-dev = ""
+FILES:${PN} += "${datadir}/aclocal/pkg.m4"
# When using the RPM generated automatic package dependencies, some packages
# will end up requiring 'pkgconfig(pkg-config)'. Allow this behavior by
# specifying an appropriate provide.
-RPROVIDES_${PN} += "pkgconfig(pkg-config)"
+RPROVIDES:${PN} += "pkgconfig(pkg-config)"
# Install a pkg-config-native wrapper that will use the native sysroot instead
# of the MACHINE sysroot, for using pkg-config when building native tools.
-do_install_append_class-native () {
+do_install:append:class-native () {
sed -e "s|@PATH_NATIVE@|${PKG_CONFIG_PATH}|" \
-e "s|@LIBDIR_NATIVE@|${PKG_CONFIG_LIBDIR}|" \
- < ${WORKDIR}/pkg-config-native.in > ${B}/pkg-config-native
+ < ${UNPACKDIR}/pkg-config-native.in > ${B}/pkg-config-native
install -m755 ${B}/pkg-config-native ${D}${bindir}/pkg-config-native
sed -e "s|@PATH_NATIVE@|${PKG_CONFIG_PATH}|" \
-e "s|@LIBDIR_NATIVE@|${PKG_CONFIG_LIBDIR}|" \
- < ${WORKDIR}/pkg-config-esdk.in > ${B}/pkg-config-esdk
+ < ${UNPACKDIR}/pkg-config-esdk.in > ${B}/pkg-config-esdk
install -m755 ${B}/pkg-config-esdk ${D}${bindir}/pkg-config-esdk
}
@@ -65,9 +63,9 @@ pkgconfig_sstate_fixup_esdk () {
if [ "${BB_CURRENTTASK}" = "populate_sysroot_setscene" -a "${WITHIN_EXT_SDK}" = "1" ] ; then
pkgconfdir="${SSTATE_INSTDIR}/recipe-sysroot-native/${bindir_native}"
mv $pkgconfdir/pkg-config $pkgconfdir/pkg-config.real
- lnr $pkgconfdir/pkg-config-esdk $pkgconfdir/pkg-config
+ ln -rs $pkgconfdir/pkg-config-esdk $pkgconfdir/pkg-config
sed -i -e "s|^pkg-config|pkg-config.real|" $pkgconfdir/pkg-config-native
fi
}
-SSTATEPOSTUNPACKFUNCS_append_class-native = " pkgconfig_sstate_fixup_esdk"
+SSTATEPOSTUNPACKFUNCS:append:class-native = " pkgconfig_sstate_fixup_esdk"
diff --git a/meta/recipes-devtools/prelink/prelink/0001-Add-MIPS-gnu-hash-support.patch b/meta/recipes-devtools/prelink/prelink/0001-Add-MIPS-gnu-hash-support.patch
deleted file mode 100644
index da0275bfcd..0000000000
--- a/meta/recipes-devtools/prelink/prelink/0001-Add-MIPS-gnu-hash-support.patch
+++ /dev/null
@@ -1,110 +0,0 @@
-From 05240e13668422c4f9118f2cde953ec875d0d68f Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Tue, 14 Jan 2020 01:37:22 -0800
-Subject: [PATCH] Add MIPS gnu hash support
-
-Upstream-Status: Pending
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
- src/arch-mips.c | 1 +
- src/prelink.c | 1 +
- src/prelink.h | 5 +++++
- 3 files changed, 7 insertions(+)
-
---- a/src/arch-mips.c
-+++ b/src/arch-mips.c
-@@ -324,6 +324,7 @@ mips_adjust_dyn (DSO *dso, int n, GElf_D
- case DT_MIPS_BASE_ADDRESS:
- case DT_MIPS_RLD_MAP:
- case DT_MIPS_OPTIONS:
-+ case DT_MIPS_XHASH:
- if (dyn->d_un.d_ptr >= start)
- dyn->d_un.d_ptr += adjust;
- return 1;
---- a/src/prelink.c
-+++ b/src/prelink.c
-@@ -425,6 +425,7 @@ prelink_prepare (DSO *dso)
- {
- case SHT_HASH:
- case SHT_GNU_HASH:
-+ case SHT_MIPS_XHASH:
- case SHT_DYNSYM:
- case SHT_REL:
- case SHT_RELA:
---- a/src/prelink.h
-+++ b/src/prelink.h
-@@ -114,6 +114,11 @@ typedef uint8_t Elf64_Byte;
- #define SHT_MIPS_ABIFLAGS 0x7000002a
- #endif
-
-+#ifndef SHT_MIPS_XHASH
-+#define DT_MIPS_XHASH 0x70000036
-+#define SHT_MIPS_XHASH 0x7000002b
-+#endif
-+
- #ifndef RSS_UNDEF
- #define RSS_UNDEF 0
- #endif
---- a/src/dso.c
-+++ b/src/dso.c
-@@ -109,6 +109,11 @@ read_dynamic (DSO *dso)
- dso->info_DT_GNU_HASH = dyn.d_un.d_val;
- dso->info_set_mask |= (1ULL << DT_GNU_HASH_BIT);
- }
-+ else if (dyn.d_tag == DT_MIPS_XHASH)
-+ {
-+ dso->info_DT_GNU_HASH = dyn.d_un.d_val;
-+ dso->info_set_mask |= (1ULL << DT_GNU_HASH_BIT);
-+ }
- else if (dyn.d_tag == DT_TLSDESC_PLT)
- {
- dso->info_DT_TLSDESC_PLT = dyn.d_un.d_val;
-@@ -1463,6 +1468,7 @@ adjust_dso (DSO *dso, GElf_Addr start, G
- break;
- case SHT_HASH:
- case SHT_GNU_HASH:
-+ case SHT_MIPS_XHASH:
- case SHT_NOBITS:
- case SHT_STRTAB:
- break;
---- a/src/space.c
-+++ b/src/space.c
-@@ -61,6 +61,7 @@ print_sections (DSO *dso, GElf_Ehdr *ehd
- { SHT_GNU_versym, "VERSYM" },
- { SHT_GNU_LIBLIST, "LIBLIST" },
- { SHT_GNU_HASH, "GNU_HASH" },
-+ { SHT_MIPS_XHASH, "MIPS_XHASH" },
- { 0, NULL }
- };
-
-@@ -183,6 +184,7 @@ readonly_is_movable (DSO *dso, GElf_Ehdr
- {
- case SHT_HASH:
- case SHT_GNU_HASH:
-+ case SHT_MIPS_XHASH:
- case SHT_DYNSYM:
- case SHT_REL:
- case SHT_RELA:
-@@ -558,6 +560,7 @@ find_readonly_space (DSO *dso, GElf_Shdr
- {
- case SHT_HASH:
- case SHT_GNU_HASH:
-+ case SHT_MIPS_XHASH:
- case SHT_DYNSYM:
- case SHT_STRTAB:
- case SHT_GNU_verdef:
---- a/src/exec.c
-+++ b/src/exec.c
-@@ -65,7 +65,11 @@ update_dynamic_tags (DSO *dso, GElf_Shdr
- || (dynamic_info_is_set (dso, DT_GNU_HASH_BIT)
- && dso->info_DT_GNU_HASH == old_shdr[j].sh_addr
- && old_shdr[j].sh_type == SHT_GNU_HASH
-- && set_dynamic (dso, DT_GNU_HASH, shdr[i].sh_addr, 1)))
-+ && set_dynamic (dso, DT_GNU_HASH, shdr[i].sh_addr, 1))
-+ || (dynamic_info_is_set (dso, DT_GNU_HASH_BIT)
-+ && dso->info_DT_GNU_HASH == old_shdr[j].sh_addr
-+ && old_shdr[j].sh_type == SHT_MIPS_XHASH
-+ && set_dynamic (dso, DT_MIPS_XHASH, shdr[i].sh_addr, 1)))
- return 1;
- }
-
diff --git a/meta/recipes-devtools/prelink/prelink/macros.prelink b/meta/recipes-devtools/prelink/prelink/macros.prelink
deleted file mode 100644
index cb16695885..0000000000
--- a/meta/recipes-devtools/prelink/prelink/macros.prelink
+++ /dev/null
@@ -1,5 +0,0 @@
-# rpm-4.1 verifies prelinked libraries using a prelink undo helper.
-# Note: The 2nd token is used as argv[0] and "library" is a
-# placeholder that will be deleted and replaced with the appropriate
-# library file path.
-%__prelink_undo_cmd /usr/sbin/prelink prelink -y library
diff --git a/meta/recipes-devtools/prelink/prelink/prelink.conf b/meta/recipes-devtools/prelink/prelink/prelink.conf
deleted file mode 100644
index 562f23c59d..0000000000
--- a/meta/recipes-devtools/prelink/prelink/prelink.conf
+++ /dev/null
@@ -1,18 +0,0 @@
-# This config file contains a list of directories both with binaries
-# and libraries prelink should consider by default.
-# If a directory name is prefixed with `-l ', the directory hierarchy
-# will be walked as long as filesystem boundaries are not crossed.
-# If a directory name is prefixed with `-h ', symbolic links in a
-# directory hierarchy are followed.
--l /usr/local/sbin
--l /sbin
--l /usr/sbin
--l /usr/local/bin
--l /bin
--l /usr/bin
--l /usr/X11R6/bin
--l /usr/games
--l /usr/local/lib{,32,64,x32}
--l /lib{,32,64,x32}
--l /usr/lib{,32,64,x32}
--l /usr/X11R6/lib{,32,64,x32}
diff --git a/meta/recipes-devtools/prelink/prelink/prelink.cron.daily b/meta/recipes-devtools/prelink/prelink/prelink.cron.daily
deleted file mode 100644
index 0b3c07322c..0000000000
--- a/meta/recipes-devtools/prelink/prelink/prelink.cron.daily
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/bin/sh
-
-. /etc/default/prelink
-
-renice +19 -p $$ >/dev/null 2>&1
-
-if [ "$PRELINKING" != yes ]; then
- if [ -f /etc/prelink.cache ]; then
- echo /usr/sbin/prelink -uav > /var/log/prelink.log
- /usr/sbin/prelink -uav >> /var/log/prelink.log 2>&1
- rm -f /etc/prelink.cache
- # Restart init if needed
- [ -n "$(find `ldd /sbin/init | awk '{ print $3 }'` /sbin/init -ctime -1 2>/dev/null )" ] && /sbin/telinit u
- fi
- exit 0
-fi
-
-if [ ! -f /etc/prelink.cache -o -f /var/lib/misc/prelink.force ] \
- || grep -q '^prelink-ELF0.[0-2]' /etc/prelink.cache; then
- # If cache does not exist or is from older prelink versions or
- # if we were asked to explicitely, force full prelinking
- rm -f /etc/prelink.cache /var/lib/misc/prelink.force
- PRELINK_OPTS="$PRELINK_OPTS -f"
- date > /var/lib/misc/prelink.full
-elif [ -n "$PRELINK_FULL_TIME_INTERVAL" \
- -a "`find /var/lib/misc/prelink.full -mtime -${PRELINK_FULL_TIME_INTERVAL} 2>/dev/null`" \
- = /var/lib/misc/prelink.full ]; then
- # If prelink without -q has been run in the last
- # PRELINK_FULL_TIME_INTERVAL days, just use quick mode
- PRELINK_OPTS="$PRELINK_OPTS -q"
-else
- date > /var/lib/misc/prelink.full
-fi
-
-echo /usr/sbin/prelink -av $PRELINK_OPTS > /var/log/prelink.log
-/usr/sbin/prelink -av $PRELINK_OPTS >> /var/log/prelink.log 2>&1
-# Restart init if needed
-[ -n "$(find `ldd /sbin/init | awk '{ print $3 }'` /sbin/init -ctime -1 2>/dev/null )" ] && /sbin/telinit u
-
-exit 0
diff --git a/meta/recipes-devtools/prelink/prelink/prelink.default b/meta/recipes-devtools/prelink/prelink/prelink.default
deleted file mode 100644
index d8802f820a..0000000000
--- a/meta/recipes-devtools/prelink/prelink/prelink.default
+++ /dev/null
@@ -1,22 +0,0 @@
-# Set this to no to disable prelinking altogether
-# or to yes to enable it.
-# (if you change this from yes to no prelink -ua
-# will be run next night to undo prelinking)
-PRELINKING=yes
-
-# Options to pass to prelink
-# -m Try to conserve virtual memory by allowing overlapping
-# assigned virtual memory slots for libraries which
-# never appear together in one binary
-# -R Randomize virtual memory slot assignments for libraries.
-# This makes it slightly harder for various buffer overflow
-# attacks, since library addresses will be different on each
-# host using -R.
-PRELINK_OPTS=-mR
-
-# How often should full prelink be run (in days)
-# Normally, prelink will be run in quick mode, every
-# $PRELINK_FULL_TIME_INTERVAL days it will be run
-# in normal mode. Comment this line out if prelink
-# should be run in normal mode always.
-PRELINK_FULL_TIME_INTERVAL=14
diff --git a/meta/recipes-devtools/prelink/prelink_git.bb b/meta/recipes-devtools/prelink/prelink_git.bb
deleted file mode 100644
index e197af9ee9..0000000000
--- a/meta/recipes-devtools/prelink/prelink_git.bb
+++ /dev/null
@@ -1,183 +0,0 @@
-SECTION = "devel"
-# Need binutils for libiberty.a
-# Would need transfig-native for documentation if it wasn't disabled
-DEPENDS = "elfutils binutils"
-SUMMARY = "An ELF prelinking utility"
-HOMEPAGE = "http://git.yoctoproject.org/cgit.cgi/prelink-cross/about/"
-DESCRIPTION = "The prelink package contains a utility which modifies ELF shared libraries \
-and executables, so that far fewer relocations need to be resolved at \
-runtime and thus programs come up faster."
-LICENSE = "GPLv2"
-LIC_FILES_CHKSUM = "file://COPYING;md5=c93c0550bd3173f4504b2cbd8991e50b"
-SRCREV = "f9975537dbfd9ade0fc813bd5cf5fcbe41753a37"
-PV = "1.0+git${SRCPV}"
-
-#
-# The cron script attempts to re-prelink the system daily -- on
-# systems where users are adding applications, this might be reasonable
-# but for embedded, we should be re-running prelink -a after an update.
-#
-# Default is prelinking is enabled.
-#
-SUMMARY_${PN}-cron = "Cron scripts to control automatic prelinking"
-DESCRIPTION_${PN}-cron = "Cron scripts to control automatic prelinking. \
-See: ${sysconfdir}/cron.daily/prelink for configuration information."
-
-FILES_${PN}-cron = "${sysconfdir}/cron.daily ${sysconfdir}/default"
-
-PACKAGES =+ "${PN}-cron"
-
-SRC_URI = "git://git.yoctoproject.org/prelink-cross.git;branch=cross_prelink_staging \
- file://0001-Add-MIPS-gnu-hash-support.patch \
- file://prelink.conf \
- file://prelink.cron.daily \
- file://prelink.default \
- file://macros.prelink \
- "
-UPSTREAM_CHECK_COMMITS = "1"
-
-# error: error.h: No such file or directory
-COMPATIBLE_HOST_libc-musl = 'null'
-
-TARGET_OS_ORIG := "${TARGET_OS}"
-OVERRIDES_append = ":${TARGET_OS_ORIG}"
-
-S = "${WORKDIR}/git"
-
-inherit autotools
-
-BBCLASSEXTEND = "native"
-
-EXTRA_OECONF = "--disable-selinux --with-pkgversion=${PV}-${PR} \
- --with-bugurl=http://bugzilla.yoctoproject.org/"
-
-
-#
-# For target prelink we need to ensure paths match the lib path layout
-# including for any configured multilibs
-#
-python do_linkerpaths () {
- values = all_multilib_tune_list(["TUNE_ARCH", "baselib", "ABIEXTENSION"], d)
-
- arches = values["TUNE_ARCH"]
- baselibs = values["baselib"]
- abis = values["ABIEXTENSION"]
-
- def replace_lines(f, search, replacement, d, firstonly = False, secondonly = False):
- f = d.expand(f)
- if search == replacement:
- return
- bb.debug(2, "Replacing %s with %s in %s" % (search, replacement, f))
- with open(f, "r") as data:
- lines = data.readlines()
- with open(f, "w") as data:
- for line in lines:
- if not secondonly and not firstonly:
- line = line.replace(search, replacement)
- elif secondonly and search in line:
- secondonly = False
- elif firstonly and search and search in line:
- line = line.replace(search, replacement)
- search = None
- data.write(line)
-
- def replace_lines_rtld(f, search, replacement, section, d):
- f = d.expand(f)
- bb.debug(2, "Replacing %s with %s in %s" % (search, replacement, f))
- with open(f, "r") as data:
- lines = data.readlines()
- found = False
- found2 = False
- with open(f, "w") as data:
- for line in lines:
- if section in line:
- if section == "else" and "if" in line:
- found = False
- else:
- found = True
- if found and "dst_LIB =" in line:
- found2 = True
- elif "}" in line:
- found = False
- found2 = False
- if found2:
- line = line.replace(search, replacement)
- data.write(line)
-
- for i, arch in enumerate(arches):
- tune_baselib = baselibs[i]
- abi = abis[i]
-
- bits = 32
- if arch == "powerpc":
- replace_lines("${S}/src/arch-ppc.c", "/lib/ld.so.1", "/" + tune_baselib + "/ld.so.1", d)
- elif arch == "powerpc64":
- replace_lines("${S}/src/arch-ppc64.c", "/lib64/ld64.so.1", "/" + tune_baselib + "/ld64.so.1", d)
- bits = 64
- elif arch == "x86_64":
- if abi == "x32":
- replace_lines("${S}/src/arch-x86_64.c", "/libx32/ld-linux-x32.so.2", "/" + tune_baselib + "/ld-linux-x32.so.2", d)
- else:
- replace_lines("${S}/src/arch-x86_64.c", "/lib64/ld-linux-x86-64.so.2", "/" + tune_baselib + "/ld-linux-x86-64.so.2", d)
- bits = 64
- elif arch == "arm":
- replace_lines("${S}/src/arch-arm.c", "/lib/ld-linux.so.3", "/" + tune_baselib + "/ld-linux.so.3", d)
- replace_lines("${S}/src/arch-arm.c", "/lib/ld-linux-armhf.so.3", "/" + tune_baselib + "/ld-linux-armhf.so.3", d)
- elif arch == "mips" or arch == "mipsel":
- replace_lines("${S}/src/arch-mips.c", "/lib/ld.so.1", "/" + tune_baselib + "/ld.so.1", d, firstonly=True)
- replace_lines("${S}/src/arch-mips.c", "/lib32/ld.so.1", "/" + tune_baselib + "/ld.so.1", d)
- elif arch == "mips64" or arch == "mips64el":
- replace_lines("${S}/src/arch-mips.c", "/lib/ld.so.1", "/" + tune_baselib + "/ld.so.1", d, secondonly=True)
- replace_lines("${S}/src/arch-mips.c", "/lib64/ld.so.1", "/" + tune_baselib + "/ld.so.1", d)
- bits = 64
- elif arch.endswith("86"):
- replace_lines("${S}/src/arch-i386.c", "/lib/ld-linux.so.2", "/" + tune_baselib + "/ld-linux.so.2", d)
- if bits == 32 and tune_baselib != "lib":
- replace_lines_rtld("${S}/src/rtld/rtld.c", "lib", tune_baselib, "else", d)
- if bits == 64 and tune_baselib != "lib64":
- replace_lines_rtld("${S}/src/rtld/rtld.c", "lib64", tune_baselib, "use_64bit", d)
-}
-
-python () {
- overrides = d.getVar("OVERRIDES").split(":")
- if "class-target" in overrides:
- bb.build.addtask('do_linkerpaths', 'do_configure', 'do_patch', d)
-}
-
-do_configure_prepend () {
- # Disable documentation!
- echo "all:" > ${S}/doc/Makefile.am
-}
-
-do_install_append () {
- install -d ${D}${sysconfdir}/cron.daily ${D}${sysconfdir}/default ${D}${sysconfdir}/rpm
- install -m 0644 ${WORKDIR}/prelink.conf ${D}${sysconfdir}/prelink.conf
- install -m 0644 ${WORKDIR}/prelink.cron.daily ${D}${sysconfdir}/cron.daily/prelink
- install -m 0644 ${WORKDIR}/prelink.default ${D}${sysconfdir}/default/prelink
- install -m 0644 ${WORKDIR}/macros.prelink ${D}${sysconfdir}/rpm/macros.prelink
-}
-
-# If we ae doing a cross install, we want to avoid prelinking.
-# Prelinking during a cross install should be handled by the image-prelink
-# bbclass. If the user desires this to run on the target at first boot
-# they will need to create a custom boot script.
-pkg_postinst_prelink() {
-#!/bin/sh
-
-if [ "x$D" != "x" ]; then
- exit 0
-fi
-
-prelink -a
-}
-
-pkg_prerm_prelink() {
-#!/bin/sh
-
-if [ "x$D" != "x" ]; then
- exit 1
-fi
-
-prelink -au
-}
-
diff --git a/meta/recipes-devtools/pseudo/files/build-oldlibc b/meta/recipes-devtools/pseudo/files/build-oldlibc
new file mode 100755
index 0000000000..85c438de4e
--- /dev/null
+++ b/meta/recipes-devtools/pseudo/files/build-oldlibc
@@ -0,0 +1,20 @@
+#!/bin/sh
+#
+# Script to re-generate pseudo-prebuilt-2.33.tar.xz
+#
+# Copyright (C) 2021 Richard Purdie
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
+
+for i in x86_64 aarch64 i686; do
+ if [ ! -e $i-nativesdk-libc.tar.xz ]; then
+ wget http://downloads.yoctoproject.org/releases/uninative/3.2/$i-nativesdk-libc.tar.xz
+ fi
+ tar -xf $i-nativesdk-libc.tar.xz --wildcards \*/lib/libpthread\* \*/lib/libdl\*
+ cd $i-linux/lib
+ ln -s libdl.so.2 libdl.so
+ ln -s libpthread.so.0 libpthread.so
+ cd ../..
+done
+tar -cJf pseudo-prebuilt-2.33.tar.xz *-linux \ No newline at end of file
diff --git a/meta/recipes-devtools/pseudo/files/glibc238.patch b/meta/recipes-devtools/pseudo/files/glibc238.patch
new file mode 100644
index 0000000000..da4b8caee3
--- /dev/null
+++ b/meta/recipes-devtools/pseudo/files/glibc238.patch
@@ -0,0 +1,59 @@
+glibc 2.38 would include __isoc23_strtol and similar symbols. This is trggerd by
+_GNU_SOURCE but we have to set that for other definitions. Therefore play with defines
+to turn this off within pseudo_wrappers.c. Elsewhere we can switch to _DEFAULT_SOURCE
+rather than _GNU_SOURCE.
+
+Upstream-Status: Pending
+
+Index: git/pseudo_wrappers.c
+===================================================================
+--- git.orig/pseudo_wrappers.c
++++ git/pseudo_wrappers.c
+@@ -6,6 +6,15 @@
+ * SPDX-License-Identifier: LGPL-2.1-only
+ *
+ */
++/* glibc 2.38 would include __isoc23_strtol and similar symbols. This is trggerd by
++ * _GNU_SOURCE but we have to set that for other definitions. Therefore play with defines
++ * to turn this off.
++ */
++#include <features.h>
++#undef __GLIBC_USE_ISOC2X
++#undef __GLIBC_USE_C2X_STRTOL
++#define __GLIBC_USE_C2X_STRTOL 0
++
+ #include <assert.h>
+ #include <stdlib.h>
+ #include <limits.h>
+Index: git/pseudo_util.c
+===================================================================
+--- git.orig/pseudo_util.c
++++ git/pseudo_util.c
+@@ -8,6 +8,14 @@
+ */
+ /* we need access to RTLD_NEXT for a horrible workaround */
+ #define _GNU_SOURCE
++/* glibc 2.38 would include __isoc23_strtol and similar symbols. This is trggerd by
++ * _GNU_SOURCE but we have to set that for other definitions. Therefore play with defines
++ * to turn this off.
++ */
++#include <features.h>
++#undef __GLIBC_USE_ISOC2X
++#undef __GLIBC_USE_C2X_STRTOL
++#define __GLIBC_USE_C2X_STRTOL 0
+
+ #include <ctype.h>
+ #include <errno.h>
+Index: git/pseudo_client.c
+===================================================================
+--- git.orig/pseudo_client.c
++++ git/pseudo_client.c
+@@ -6,7 +6,7 @@
+ * SPDX-License-Identifier: LGPL-2.1-only
+ *
+ */
+-#define _GNU_SOURCE
++#define _DEFAULT_SOURCE
+
+ #include <stdio.h>
+ #include <signal.h>
diff --git a/meta/recipes-devtools/pseudo/files/older-glibc-symbols.patch b/meta/recipes-devtools/pseudo/files/older-glibc-symbols.patch
new file mode 100644
index 0000000000..c453b5f735
--- /dev/null
+++ b/meta/recipes-devtools/pseudo/files/older-glibc-symbols.patch
@@ -0,0 +1,57 @@
+If we link against a newer glibc 2.34 and then try and our LD_PRELOAD is run against a
+binary on a host with an older libc, we see symbol errors since in glibc 2.34, pthread
+and dl are merged into libc itself.
+
+We need to use the older form of linking so use glibc binaries from an older release
+to force this. We only use minimal symbols from these anyway.
+
+pthread_atfork is problematic, particularly on arm so use the internal glibc routine
+it maps too. This was always present in the main libc from 2.3.2 onwards.
+
+Yes this is horrible. Better solutions welcome.
+
+There is more info in the bug: [YOCTO #14521]
+
+Upstream-Status: Inappropriate [this patch is native and nativesdk]
+Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
+
+Tweak library search order, make prebuilt lib ahead of recipe lib
+Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
+---
+ Makefile.in | 2 +-
+ pseudo_wrappers.c | 5 ++++-
+ 2 files changed, 5 insertions(+), 2 deletions(-)
+
+diff --git a/Makefile.in b/Makefile.in
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -120,7 +120,7 @@ $(PSEUDODB): pseudodb.o $(SHOBJS) $(DBOBJS) pseudo_ipc.o | $(BIN)
+ libpseudo: $(LIBPSEUDO)
+
+ $(LIBPSEUDO): $(WRAPOBJS) pseudo_client.o pseudo_ipc.o $(SHOBJS) | $(LIB)
+- $(CC) $(CFLAGS) $(CFLAGS_PSEUDO) -shared -o $(LIBPSEUDO) \
++ $(CC) $(CFLAGS) -Lprebuilt/$(shell uname -m)-linux/lib/ $(CFLAGS_PSEUDO) -shared -o $(LIBPSEUDO) \
+ pseudo_client.o pseudo_ipc.o \
+ $(WRAPOBJS) $(SHOBJS) $(LDFLAGS) $(CLIENT_LDFLAGS)
+
+diff --git a/pseudo_wrappers.c b/pseudo_wrappers.c
+--- a/pseudo_wrappers.c
++++ b/pseudo_wrappers.c
+@@ -100,10 +100,13 @@ static void libpseudo_atfork_child(void)
+ pseudo_mutex_holder = 0;
+ }
+
++extern void *__dso_handle;
++extern int __register_atfork (void (*) (void), void (*) (void), void (*) (void), void *);
++
+ static void
+ _libpseudo_init(void) {
+ if (!_libpseudo_initted)
+- pthread_atfork(NULL, NULL, libpseudo_atfork_child);
++ __register_atfork (NULL, NULL, libpseudo_atfork_child, &__dso_handle == NULL ? NULL : __dso_handle);
+
+ pseudo_getlock();
+ pseudo_antimagic();
+--
+2.27.0
+
diff --git a/meta/recipes-devtools/pseudo/pseudo.inc b/meta/recipes-devtools/pseudo/pseudo.inc
index 50e30064bd..36283ffa74 100644
--- a/meta/recipes-devtools/pseudo/pseudo.inc
+++ b/meta/recipes-devtools/pseudo/pseudo.inc
@@ -4,19 +4,20 @@
SUMMARY = "Pseudo gives fake root capabilities to a normal user"
HOMEPAGE = "http://git.yoctoproject.org/cgit/cgit.cgi/pseudo"
+DESCRIPTION = "The pseudo utility offers a way to run commands in a virtualized root environment."
LIC_FILES_CHKSUM = "file://COPYING;md5=a1d8023a6f953ac6ea4af765ff62d574"
SECTION = "base"
-LICENSE = "LGPL2.1"
+LICENSE = "LGPL-2.1-only"
DEPENDS = "sqlite3 attr"
-FILES_${PN} = "${prefix}/lib/pseudo/lib*/libpseudo.so ${bindir}/* ${localstatedir}/pseudo ${prefix}/var/pseudo"
-INSANE_SKIP_${PN} += "libdir"
-INSANE_SKIP_${PN}-dbg += "libdir"
+FILES:${PN} = "${prefix}/lib/pseudo/lib*/libpseudo.so ${bindir}/* ${localstatedir}/pseudo ${prefix}/var/pseudo"
+INSANE_SKIP:${PN} += "libdir"
+INSANE_SKIP:${PN}-dbg += "libdir"
PROVIDES += "virtual/fakeroot"
MAKEOPTS = ""
-MAKEOPTS_class-native = "'RPATH=-Wl,--rpath=XORIGIN/../../../sqlite3-native/usr/lib/'"
+MAKEOPTS:class-native = "'RPATH=-Wl,--rpath=XORIGIN/../../../sqlite3-native/usr/lib/'"
inherit siteinfo pkgconfig
@@ -25,7 +26,7 @@ do_configure () {
}
NO32LIBS ??= "1"
-NO32LIBS_class-nativesdk = "1"
+NO32LIBS:class-nativesdk = "1"
PSEUDO_EXTRA_OPTS ?= "--enable-force-async --without-passwd-fallback --enable-epoll --enable-xattr"
@@ -78,7 +79,7 @@ warn_32bit_missing() {
# Two below are the same
# If necessary compile for the alternative machine arch. This is only
# necessary in a native build.
-do_compile_prepend_class-native () {
+do_compile:prepend:class-native () {
maybe_make32
if $make32; then
# We need the 32-bit libpseudo on a 64-bit machine...
@@ -99,7 +100,7 @@ do_compile_prepend_class-native () {
fi
}
-do_compile_prepend_class-nativesdk () {
+do_compile:prepend:class-nativesdk () {
maybe_make32
if $make32; then
# We need the 32-bit libpseudo on a 64-bit machine.
@@ -111,16 +112,29 @@ do_compile_prepend_class-nativesdk () {
fi
}
+do_compile:append:class-native () {
+ if [ '${@bb.data.inherits_class('uninative', d)}' = 'True' ]; then
+ for i in PSEUDO_PORT_UNIX_SYNCFS PSEUDO_PORT_UIDS_GENERIC PSEUDO_PORT_LINUX_NEWCLONE PSEUDO_PORT_LINUX_XATTR PSEUDO_PORT_LINUX_STATVFS; do
+ grep $i.1 ${S}/pseudo_ports.h
+ if [ $? != 0 ]; then
+ echo "$i not enabled in pseudo which is incompatible with uninative"
+ exit 1
+ fi
+ done
+ fi
+}
+
+
do_install () {
oe_runmake 'DESTDIR=${D}' ${MAKEOPTS} 'LIB=lib/pseudo/lib$(MARK64)' install
}
-do_install_append_class-native () {
+do_install:append:class-native () {
chrpath ${D}${bindir}/pseudo -r `chrpath ${D}${bindir}/pseudo | cut -d = -f 2 | sed s/XORIGIN/\\$ORIGIN/`
install -d ${D}${sysconfdir}
# The fallback files should never be modified
- install -m 444 ${WORKDIR}/fallback-passwd ${D}${sysconfdir}/passwd
- install -m 444 ${WORKDIR}/fallback-group ${D}${sysconfdir}/group
+ install -m 444 ${UNPACKDIR}/fallback-passwd ${D}${sysconfdir}/passwd
+ install -m 444 ${UNPACKDIR}/fallback-group ${D}${sysconfdir}/group
# Two native/nativesdk entries below are the same
# If necessary install for the alternative machine arch. This is only
@@ -132,7 +146,7 @@ do_install_append_class-native () {
fi
}
-do_install_append_class-nativesdk () {
+do_install:append:class-nativesdk () {
maybe_make32
if $make32; then
mkdir -p ${D}${prefix}/lib/pseudo/lib
diff --git a/meta/recipes-devtools/pseudo/pseudo_git.bb b/meta/recipes-devtools/pseudo/pseudo_git.bb
index 2e13fec540..5f32b3777a 100644
--- a/meta/recipes-devtools/pseudo/pseudo_git.bb
+++ b/meta/recipes-devtools/pseudo/pseudo_git.bb
@@ -1,14 +1,29 @@
require pseudo.inc
-SRC_URI = "git://git.yoctoproject.org/pseudo;branch=oe-core \
+SRC_URI = "git://git.yoctoproject.org/pseudo;branch=master;protocol=https \
file://0001-configure-Prune-PIE-flags.patch \
+ file://glibc238.patch \
file://fallback-passwd \
file://fallback-group \
"
+SRC_URI:append:class-native = " \
+ http://downloads.yoctoproject.org/mirror/sources/pseudo-prebuilt-2.33.tar.xz;subdir=git/prebuilt;name=prebuilt \
+ file://older-glibc-symbols.patch"
+SRC_URI:append:class-nativesdk = " \
+ http://downloads.yoctoproject.org/mirror/sources/pseudo-prebuilt-2.33.tar.xz;subdir=git/prebuilt;name=prebuilt \
+ file://older-glibc-symbols.patch"
+SRC_URI[prebuilt.sha256sum] = "ed9f456856e9d86359f169f46a70ad7be4190d6040282b84c8d97b99072485aa"
-SRCREV = "cca0d7f15b7197095cd587420d31b187620c3093"
+SRCREV = "e11ae91da7d0711f5e33ea9dfbf1875dde3c1734"
S = "${WORKDIR}/git"
-PV = "1.9.0+git${SRCPV}"
+PV = "1.9.0+git"
+
+# largefile and 64bit time_t support adds these macros via compiler flags globally
+# remove them for pseudo since pseudo intercepts some of the functions which will be
+# aliased due to this e.g. open/open64 and it will complain about duplicate definitions
+# pseudo on 32bit systems is not much of use anyway and these features are not of much
+# use for it.
+TARGET_CC_ARCH:remove = "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64"
# error: use of undeclared identifier '_STAT_VER'
-COMPATIBLE_HOST_libc-musl = 'null'
+COMPATIBLE_HOST:libc-musl = 'null'
diff --git a/meta/recipes-devtools/python-numpy/python-numpy.inc b/meta/recipes-devtools/python-numpy/python-numpy.inc
deleted file mode 100644
index 40f81046ee..0000000000
--- a/meta/recipes-devtools/python-numpy/python-numpy.inc
+++ /dev/null
@@ -1,50 +0,0 @@
-SUMMARY = "A sophisticated Numeric Processing Package for Python"
-SECTION = "devel/python"
-LICENSE = "BSD-3-Clause & BSD-2-Clause & PSF & Apache-2.0 & BSD & MIT"
-LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e527e2a94c4584cd192d03ffb1f4a744"
-
-SRCNAME = "numpy"
-
-SRC_URI = "https://github.com/${SRCNAME}/${SRCNAME}/releases/download/v${PV}/${SRCNAME}-${PV}.tar.gz \
- file://0001-Don-t-search-usr-and-so-on-for-libraries-by-default-.patch \
- file://0001-numpy-core-Define-RISCV-32-support.patch \
- "
-SRC_URI[sha256sum] = "9179d259a9bc53ed7b153d31fc3156d1ca560d61079f53191cf177c3efc4a498"
-
-UPSTREAM_CHECK_URI = "https://github.com/numpy/numpy/releases"
-UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)\.tar"
-
-DEPENDS += "python3-cython-native"
-
-S = "${WORKDIR}/numpy-${PV}"
-
-CLEANBROKEN = "1"
-
-FILES_${PN}-staticdev += "${PYTHON_SITEPACKAGES_DIR}/numpy/core/lib/*.a ${PYTHON_SITEPACKAGES_DIR}/numpy/random/lib/*.a"
-
-# install what is needed for numpy.test()
-RDEPENDS_${PN} = "${PYTHON_PN}-unittest \
- ${PYTHON_PN}-difflib \
- ${PYTHON_PN}-pprint \
- ${PYTHON_PN}-pickle \
- ${PYTHON_PN}-shell \
- ${PYTHON_PN}-nose \
- ${PYTHON_PN}-doctest \
- ${PYTHON_PN}-datetime \
- ${PYTHON_PN}-distutils \
- ${PYTHON_PN}-misc \
- ${PYTHON_PN}-mmap \
- ${PYTHON_PN}-netclient \
- ${PYTHON_PN}-numbers \
- ${PYTHON_PN}-pydoc \
- ${PYTHON_PN}-pkgutil \
- ${PYTHON_PN}-email \
- ${PYTHON_PN}-compression \
- ${PYTHON_PN}-ctypes \
- ${PYTHON_PN}-threading \
- ${PYTHON_PN}-multiprocessing \
-"
-
-RDEPENDS_${PN}_class-native = ""
-
-BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python-numpy/python3-numpy_1.19.3.bb b/meta/recipes-devtools/python-numpy/python3-numpy_1.19.3.bb
deleted file mode 100644
index d388e88d25..0000000000
--- a/meta/recipes-devtools/python-numpy/python3-numpy_1.19.3.bb
+++ /dev/null
@@ -1,3 +0,0 @@
-inherit setuptools3
-require python-numpy.inc
-
diff --git a/meta/recipes-devtools/python/python-async.inc b/meta/recipes-devtools/python/python-async.inc
deleted file mode 100644
index af887dc4e5..0000000000
--- a/meta/recipes-devtools/python/python-async.inc
+++ /dev/null
@@ -1,14 +0,0 @@
-SUMMARY = "Python framework to process interdependent tasks in a pool of workers"
-HOMEPAGE = "http://github.com/gitpython-developers/async"
-SECTION = "devel/python"
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=88df8e78b9edfd744953862179f2d14e"
-
-inherit pypi
-
-SRC_URI[md5sum] = "9b06b5997de2154f3bc0273f80bcef6b"
-SRC_URI[sha256sum] = "ac6894d876e45878faae493b0cf61d0e28ec417334448ac0a6ea2229d8343051"
-
-RDEPENDS_${PN} += "${PYTHON_PN}-threading"
-
-BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python-cython.inc b/meta/recipes-devtools/python/python-cython.inc
deleted file mode 100644
index b1e71f3ccd..0000000000
--- a/meta/recipes-devtools/python/python-cython.inc
+++ /dev/null
@@ -1,40 +0,0 @@
-DESCRIPTION = "Cython is a language specially designed for writing Python extension modules. \
-It's designed to bridge the gap between the nice, high-level, easy-to-use world of Python \
-and the messy, low-level world of C."
-SECTION = "devel/python"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e23fadd6ceef8c618fc1c65191d846fa"
-PYPI_PACKAGE = "Cython"
-BBCLASSEXTEND = "native nativesdk"
-
-SRC_URI[sha256sum] = "e57acb89bd55943c8d8bf813763d20b9099cc7165c0f16b707631a7654be9cad"
-UPSTREAM_CHECK_REGEX = "Cython-(?P<pver>.*)\.tar"
-
-inherit pypi
-
-RDEPENDS_${PN}_class-target += "\
- ${PYTHON_PN}-misc \
- ${PYTHON_PN}-netserver \
- ${PYTHON_PN}-pkgutil \
- ${PYTHON_PN}-pyparsing \
- ${PYTHON_PN}-setuptools \
- ${PYTHON_PN}-shell \
- ${PYTHON_PN}-xml \
-"
-
-RDEPENDS_${PN}_class-nativesdk += "\
- nativesdk-${PYTHON_PN}-misc \
- nativesdk-${PYTHON_PN}-netserver \
- nativesdk-${PYTHON_PN}-pkgutil \
- nativesdk-${PYTHON_PN}-pyparsing \
- nativesdk-${PYTHON_PN}-setuptools \
- nativesdk-${PYTHON_PN}-shell \
- nativesdk-${PYTHON_PN}-xml \
-"
-
-do_install_append() {
- # Make sure we use /usr/bin/env python
- for PYTHSCRIPT in `grep -rIl '^#!.*python' ${D}`; do
- sed -i -e '1s|^#!.*|#!/usr/bin/env ${PYTHON_PN}|' $PYTHSCRIPT
- done
-}
diff --git a/meta/recipes-devtools/python/python-gitdb.inc b/meta/recipes-devtools/python/python-gitdb.inc
deleted file mode 100644
index 618d85ff8d..0000000000
--- a/meta/recipes-devtools/python/python-gitdb.inc
+++ /dev/null
@@ -1,23 +0,0 @@
-SUMMARY = "A pure-Python git object database"
-HOMEPAGE = "http://github.com/gitpython-developers/gitdb"
-SECTION = "devel/python"
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=59e5ecb13339a936eedf83282eaf4528"
-
-inherit pypi
-
-PYPI_PACKAGE = "gitdb"
-
-SRC_URI[sha256sum] = "c9e1f2d0db7ddb9a704c2a0217be31214e91a4fe1dea1efad19ae42ba0c285c9"
-
-DEPENDS = "${PYTHON_PN}-async ${PYTHON_PN}-setuptools-native ${PYTHON_PN}-smmap"
-
-RDEPENDS_${PN} += "${PYTHON_PN}-async \
- ${PYTHON_PN}-compression \
- ${PYTHON_PN}-crypt \
- ${PYTHON_PN}-io \
- ${PYTHON_PN}-mmap \
- ${PYTHON_PN}-shell \
- ${PYTHON_PN}-smmap \
-"
-BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python-nose.inc b/meta/recipes-devtools/python/python-nose.inc
deleted file mode 100644
index ccec68a0e1..0000000000
--- a/meta/recipes-devtools/python/python-nose.inc
+++ /dev/null
@@ -1,18 +0,0 @@
-SUMMARY = "Extends Python unittest to make testing easier"
-HOMEPAGE = "http://readthedocs.org/docs/nose/"
-DESCRIPTION = "nose extends the test loading and running features of unittest, \
-making it easier to write, find and run tests."
-SECTION = "devel/python"
-LICENSE = "LGPLv2.1"
-LIC_FILES_CHKSUM = "file://lgpl.txt;md5=a6f89e2100d9b6cdffcea4f398e37343"
-
-SRC_URI[md5sum] = "4d3ad0ff07b61373d2cefc89c5d0b20b"
-SRC_URI[sha256sum] = "f1bffef9cbc82628f6e7d7b40d7e255aefaa1adb6a1b1d26c69a8b79e6208a98"
-
-inherit pypi
-
-RDEPENDS_${PN} = "\
- ${PYTHON_PN}-unittest \
- "
-
-BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python-pbr.inc b/meta/recipes-devtools/python/python-pbr.inc
index bc470e7274..f08d9fd381 100644
--- a/meta/recipes-devtools/python/python-pbr.inc
+++ b/meta/recipes-devtools/python/python-pbr.inc
@@ -9,6 +9,6 @@ SRC_URI += "file://0001-change-shebang-to-python3.patch"
inherit pypi
-RDEPENDS_${PN} += "${PYTHON_PN}-pip"
+RDEPENDS:${PN} += "python3-pip"
BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python-pyasn1.inc b/meta/recipes-devtools/python/python-pyasn1.inc
new file mode 100644
index 0000000000..7b269f2940
--- /dev/null
+++ b/meta/recipes-devtools/python/python-pyasn1.inc
@@ -0,0 +1,31 @@
+SUMMARY = "Python library implementing ASN.1 types."
+HOMEPAGE = "http://pyasn1.sourceforge.net/"
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=190f79253908c986e6cacf380c3a5f6d"
+
+SRC_URI[sha256sum] = "3a35ab2c4b5ef98e17dfdec8ab074046fbda76e281c5a706ccd82328cfc8f64c"
+
+RDEPENDS:${PN}:class-target += " \
+ python3-codecs \
+ python3-logging \
+ python3-math \
+ python3-shell \
+"
+
+BBCLASSEXTEND = "native nativesdk"
+
+inherit ptest
+
+SRC_URI += " \
+ file://run-ptest \
+ "
+
+RDEPENDS:${PN}-ptest += " \
+ python3-pytest \
+ python3-unittest-automake-output \
+"
+
+do_install_ptest() {
+ install -d ${D}${PTEST_PATH}/tests
+ cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
+}
diff --git a/meta/recipes-devtools/python/python-pycryptodome.inc b/meta/recipes-devtools/python/python-pycryptodome.inc
index 68b084eb04..ec9241e6d5 100644
--- a/meta/recipes-devtools/python/python-pycryptodome.inc
+++ b/meta/recipes-devtools/python/python-pycryptodome.inc
@@ -3,22 +3,24 @@ DESCRIPTION = "PyCryptodome is a self-contained Python package of low-level\
cryptographic primitives."
HOMEPAGE = "http://www.pycryptodome.org"
LICENSE = "PD & BSD-2-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=6dc0e2a13d2f25d6f123c434b761faba"
+LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=29242a70410a4eeff488a28164e7ab93"
inherit pypi
-RDEPENDS_${PN} += " \
- ${PYTHON_PN}-io \
- ${PYTHON_PN}-math \
+RDEPENDS:${PN} += " \
+ python3-cffi \
+ python3-ctypes \
+ python3-io \
+ python3-math \
"
-RDEPENDS_${PN}-tests += " \
- ${PYTHON_PN}-unittest \
+RDEPENDS:${PN}-tests += " \
+ python3-unittest \
"
PACKAGES =+ "${PN}-tests"
-FILES_${PN}-tests = " \
+FILES:${PN}-tests = " \
${PYTHON_SITEPACKAGES_DIR}/Crypto/SelfTest/ \
${PYTHON_SITEPACKAGES_DIR}/Crypto/SelfTest/__pycache__/ \
"
diff --git a/meta/recipes-devtools/python/python-pyparsing.inc b/meta/recipes-devtools/python/python-pyparsing.inc
deleted file mode 100644
index 348b324bf5..0000000000
--- a/meta/recipes-devtools/python/python-pyparsing.inc
+++ /dev/null
@@ -1,22 +0,0 @@
-SUMMARY = "Python parsing module"
-HOMEPAGE = "http://pyparsing.wikispaces.com/"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=657a566233888513e1f07ba13e2f47f1"
-
-SRC_URI[md5sum] = "f0953e47a0112f7a65aec2305ffdf7b4"
-SRC_URI[sha256sum] = "c203ec8783bf771a155b207279b9bccb8dea02d8f0c9e5f8ead507bc3246ecc1"
-UPSTREAM_CHECK_REGEX = "pyparsing-(?P<pver>.*)\.tar"
-
-inherit pypi
-
-RDEPENDS_${PN} += " \
- ${PYTHON_PN}-datetime \
- ${PYTHON_PN}-debugger \
- ${PYTHON_PN}-json \
- ${PYTHON_PN}-netclient \
- ${PYTHON_PN}-pprint \
- ${PYTHON_PN}-stringold \
- ${PYTHON_PN}-threading \
-"
-
-BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python-rfc3986-validator/0001-setup.py-move-pytest-runner-to-test_requirements.patch b/meta/recipes-devtools/python/python-rfc3986-validator/0001-setup.py-move-pytest-runner-to-test_requirements.patch
new file mode 100644
index 0000000000..8a646874e8
--- /dev/null
+++ b/meta/recipes-devtools/python/python-rfc3986-validator/0001-setup.py-move-pytest-runner-to-test_requirements.patch
@@ -0,0 +1,32 @@
+From 3531ff73631a0d59234eb4713e7b3a7f5ea57bbb Mon Sep 17 00:00:00 2001
+From: Nicola Lunghi <nicola.lunghi@jci.com>
+Date: Thu, 14 Nov 2019 12:17:51 +0000
+Subject: [PATCH] setup.py: move pytest-runner to test_requirements
+
+This fixes an issue with yocto build.
+pytest-runner is only needed when running tests.
+
+Upstream-Status: Pending
+---
+ setup.py | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/setup.py b/setup.py
+index 53ebea7..ebb0de2 100644
+--- a/setup.py
++++ b/setup.py
+@@ -10,9 +10,9 @@ with open('README.md') as readme_file:
+
+ requirements = []
+
+-setup_requirements = ['pytest-runner', ]
++setup_requirements = []
+
+-test_requirements = ['pytest>=3', ]
++test_requirements = ['pytest>=3', 'pytest-runner']
+
+ setup(
+ author="Nicolas Aimetti",
+--
+2.20.1
+
diff --git a/meta/recipes-devtools/python/python-six.inc b/meta/recipes-devtools/python/python-six.inc
index df97f845bc..6b1b4ba481 100644
--- a/meta/recipes-devtools/python/python-six.inc
+++ b/meta/recipes-devtools/python/python-six.inc
@@ -6,6 +6,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=43cfc9e4ac0e377acfb9b76f56b8415d"
inherit pypi
-RDEPENDS_${PN} = "${PYTHON_PN}-io"
+RDEPENDS:${PN} = "python3-io"
BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python-subunit.inc b/meta/recipes-devtools/python/python-subunit.inc
deleted file mode 100644
index a2f9c5c3ff..0000000000
--- a/meta/recipes-devtools/python/python-subunit.inc
+++ /dev/null
@@ -1,14 +0,0 @@
-SUMMARY = "Python implementation of subunit test streaming protocol"
-HOMEPAGE = "https://pypi.org/project/python-subunit/"
-SECTION = "devel/python"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://README.rst;beginline=1;endline=20;md5=909c08e291647fd985fbe5d9836d51b6"
-
-PYPI_PACKAGE = "python-subunit"
-
-SRC_URI[md5sum] = "30f1ab20651d94442dd9a7f8c9e8d633"
-SRC_URI[sha256sum] = "042039928120fbf392e8c983d60f3d8ae1b88f90a9f8fd7188ddd9c26cad1e48"
-
-inherit pypi
-
-BBCLASSEXTEND = "nativesdk"
diff --git a/meta/recipes-devtools/python/python-testtools.inc b/meta/recipes-devtools/python/python-testtools.inc
deleted file mode 100644
index e8d308b717..0000000000
--- a/meta/recipes-devtools/python/python-testtools.inc
+++ /dev/null
@@ -1,28 +0,0 @@
-SUMMARY = "Extensions to the Python standard library unit testing framework"
-HOMEPAGE = "https://pypi.org/project/testtools/"
-SECTION = "devel/python"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=e2c9d3e8ba7141c83bfef190e0b9379a"
-
-inherit pypi
-
-SRC_URI[md5sum] = "e8fc7185b47cfb908c641f8c4b2a6add"
-SRC_URI[sha256sum] = "64c974a6cca4385d05f4bbfa2deca1c39ce88ede31c3448bee86a7259a9a61c8"
-
-DEPENDS += " \
- ${PYTHON_PN}-pbr \
- "
-
-# Satisfy setup.py 'setup_requires'
-DEPENDS += " \
- ${PYTHON_PN}-pbr-native \
- "
-
-RDEPENDS_${PN} += "\
- ${PYTHON_PN}-doctest \
- ${PYTHON_PN}-extras \
- ${PYTHON_PN}-pbr \
- ${PYTHON_PN}-six \
- "
-
-BBCLASSEXTEND = "nativesdk"
diff --git a/meta/recipes-devtools/python/python3-alabaster_0.7.16.bb b/meta/recipes-devtools/python/python3-alabaster_0.7.16.bb
new file mode 100644
index 0000000000..c61fce454f
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-alabaster_0.7.16.bb
@@ -0,0 +1,12 @@
+SUMMARY = "Alabaster is a visually (c)lean, responsive, configurable theme for the Sphinx documentation system."
+HOMEPAGE = "https://alabaster.readthedocs.io/en/latest/"
+BUGTRACKER = "https://github.com/sphinx-doc/alabaster/issues"
+SECTION = "devel/python"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=21860fdb805bf4e0bfaf94b566b747fa"
+
+SRC_URI[sha256sum] = "75a8b99c28a5dad50dd7f8ccdd447a121ddb3892da9e53d1ca5cca3106d58d65"
+
+inherit python_flit_core pypi
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-asn1crypto_1.5.1.bb b/meta/recipes-devtools/python/python3-asn1crypto_1.5.1.bb
new file mode 100644
index 0000000000..322497b09b
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-asn1crypto_1.5.1.bb
@@ -0,0 +1,24 @@
+SUMMARY = "A fast, pure Python library for parsing and serializing ASN.1 structures"
+HOMEPAGE = "https://github.com/wbond/asn1crypto"
+SECTION = "devel/python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=b5cda97fbd7959ad47a952651a87051a"
+
+PYPI_PACKAGE = "asn1crypto"
+
+SRC_URI[sha256sum] = "13ae38502be632115abf8a24cbe5f4da52e3b5231990aff31123c805306ccb9c"
+
+inherit pypi setuptools3
+
+RDEPENDS:${PN}:class-target += " \
+ python3-codecs \
+ python3-crypt \
+ python3-ctypes \
+ python3-datetime \
+ python3-io \
+ python3-netclient \
+ python3-numbers \
+ python3-shell \
+"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-async_0.6.2.bb b/meta/recipes-devtools/python/python3-async_0.6.2.bb
deleted file mode 100644
index 0da5fdecdc..0000000000
--- a/meta/recipes-devtools/python/python3-async_0.6.2.bb
+++ /dev/null
@@ -1,2 +0,0 @@
-inherit setuptools3
-require python-async.inc
diff --git a/meta/recipes-devtools/python/python3-atomicwrites/run-ptest b/meta/recipes-devtools/python/python3-atomicwrites/run-ptest
new file mode 100644
index 0000000000..8d2017d39c
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-atomicwrites/run-ptest
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+pytest --automake
diff --git a/meta/recipes-devtools/python/python3-atomicwrites_1.4.1.bb b/meta/recipes-devtools/python/python3-atomicwrites_1.4.1.bb
new file mode 100644
index 0000000000..848f74d612
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-atomicwrites_1.4.1.bb
@@ -0,0 +1,27 @@
+SUMMARY = "Powerful Python library for atomic file writes"
+HOMEPAGE = "https://github.com/untitaker/python-atomicwrites"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=91cc36cfafeefb7863673bcfcb1d4da4"
+
+SRC_URI[sha256sum] = "81b2c9071a49367a7f770170e5eec8cb66567cfbbc8c73d20ce5ca4a8d71cf11"
+
+inherit pypi setuptools3 ptest
+
+SRC_URI += " \
+ file://run-ptest \
+"
+
+RDEPENDS:${PN}-ptest += " \
+ python3-pytest \
+ python3-unittest-automake-output \
+ python3-unixadmin \
+"
+
+do_install_ptest() {
+ install -d ${D}${PTEST_PATH}/tests
+ cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
+}
+
+RDEPENDS:${PN} = "python3-misc"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-attrs/0001-conftest.py-disable-deadline.patch b/meta/recipes-devtools/python/python3-attrs/0001-conftest.py-disable-deadline.patch
new file mode 100644
index 0000000000..b1e6d99916
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-attrs/0001-conftest.py-disable-deadline.patch
@@ -0,0 +1,45 @@
+From 41103f017f6a233ebb477dd1712fe82ea8f1c84c Mon Sep 17 00:00:00 2001
+From: Tim Orling <tim.orling@konsulko.com>
+Date: Thu, 29 Feb 2024 08:45:54 -0800
+Subject: [PATCH] conftest.py: disable deadline
+
+The deadline is by default 200ms, but this is intended to be useful to
+the developer and not necessarily recommended for heavily loaded CI
+systems. Avoid warnings by disabling the deadline completely.
+
+https://github.com/HypothesisWorks/hypothesis/issues/3713
+https://hypothesis.readthedocs.io/en/latest/settings.html#hypothesis.settings.deadline
+https://lists.openembedded.org/g/openembedded-core/topic/104640034#196437
+
+Fixes:
+"""
+Unreliable test timings! On an initial run, this test took 268.29ms,
+which exceeded the deadline of 200.00ms, but on a subsequent run it
+took 2.63 ms, which did not. If you expect this sort of variability in
+your test timings, consider turning deadlines off for this test by
+setting deadline=None.
+"""
+
+Upstream-Status: Submitted [https://github.com/python-attrs/attrs/pull/1252]
+
+Signed-off-by: Tim Orling <tim.orling@konsulko.com>
+---
+ conftest.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/conftest.py b/conftest.py
+index 144e5f3..fdead3d 100644
+--- a/conftest.py
++++ b/conftest.py
+@@ -20,7 +20,7 @@ def _frozen(request):
+ def pytest_configure(config):
+ # HealthCheck.too_slow causes more trouble than good -- especially in CIs.
+ settings.register_profile(
+- "patience", settings(suppress_health_check=[HealthCheck.too_slow])
++ "patience", settings(suppress_health_check=[HealthCheck.too_slow], deadline=None)
+ )
+ settings.load_profile("patience")
+
+--
+2.34.1
+
diff --git a/meta/recipes-devtools/python/python3-attrs/0001-test_funcs-skip-test_unknown-for-pytest-8.patch b/meta/recipes-devtools/python/python3-attrs/0001-test_funcs-skip-test_unknown-for-pytest-8.patch
new file mode 100644
index 0000000000..bb69c0f157
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-attrs/0001-test_funcs-skip-test_unknown-for-pytest-8.patch
@@ -0,0 +1,30 @@
+From cbe95e1aa6d95195dce13406a6f0522b2964babc Mon Sep 17 00:00:00 2001
+From: Tim Orling <tim.orling@konsulko.com>
+Date: Fri, 16 Feb 2024 07:17:19 -0800
+Subject: [PATCH] test_funcs: skip test_unknown for pytest 8
+
+https://github.com/python-attrs/attrs/issues/1233
+
+Upstream-Status: Inappropriate [Test case needs to be properly fixed upstream]
+
+Signed-off-by: Tim Orling <tim.orling@konsulko.com>
+---
+ tests/test_funcs.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tests/test_funcs.py b/tests/test_funcs.py
+index 044aaab..0872c31 100644
+--- a/tests/test_funcs.py
++++ b/tests/test_funcs.py
+@@ -593,7 +593,7 @@ class TestAssoc:
+ for k, v in change_dict.items():
+ assert getattr(changed, k) == v
+
+- @given(simple_classes())
++ @pytest.mark.skip('Broken with pytest 8. See https://github.com/python-attrs/attrs/issues/1233')
+ def test_unknown(self, C):
+ """
+ Wanting to change an unknown attribute raises an
+--
+2.34.1
+
diff --git a/meta/recipes-devtools/python/python3-attrs/run-ptest b/meta/recipes-devtools/python/python3-attrs/run-ptest
new file mode 100644
index 0000000000..8d2017d39c
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-attrs/run-ptest
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+pytest --automake
diff --git a/meta/recipes-devtools/python/python3-attrs_23.2.0.bb b/meta/recipes-devtools/python/python3-attrs_23.2.0.bb
new file mode 100644
index 0000000000..a638097988
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-attrs_23.2.0.bb
@@ -0,0 +1,39 @@
+SUMMARY = "Classes Without Boilerplate"
+HOMEPAGE = "http://www.attrs.org/"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=5e55731824cf9205cfabeab9a0600887"
+
+SRC_URI[sha256sum] = "935dc3b529c262f6cf76e50877d35a4bd3c1de194fd41f47a2b7ae8f19971f30"
+
+inherit pypi ptest python_hatchling
+
+SRC_URI += " \
+ file://0001-test_funcs-skip-test_unknown-for-pytest-8.patch \
+ file://0001-conftest.py-disable-deadline.patch \
+ file://run-ptest \
+"
+
+DEPENDS += " \
+ python3-hatch-vcs-native \
+ python3-hatch-fancy-pypi-readme-native \
+"
+
+RDEPENDS:${PN}+= " \
+ python3-compression \
+ python3-ctypes \
+ python3-crypt \
+"
+
+RDEPENDS:${PN}-ptest += " \
+ python3-hypothesis \
+ python3-pytest \
+ python3-unittest-automake-output \
+"
+
+do_install_ptest() {
+ install -d ${D}${PTEST_PATH}/tests
+ cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
+ install ${S}/conftest.py ${D}${PTEST_PATH}/
+}
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-babel_2.14.0.bb b/meta/recipes-devtools/python/python3-babel_2.14.0.bb
new file mode 100644
index 0000000000..cd40d4222b
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-babel_2.14.0.bb
@@ -0,0 +1,26 @@
+SUMMARY = "A collection of tools for internationalizing Python applications"
+HOMEPAGE = "http://babel.edgewall.org/"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=0f97d9a63e91407b4c0d01efde91cfc0"
+
+SRC_URI[sha256sum] = "6919867db036398ba21eb5c7a0f6b28ab8cbc3ae7a73a44ebe34ae74a4e7d363"
+
+PYPI_PACKAGE = "Babel"
+
+inherit pypi setuptools3
+
+CLEANBROKEN = "1"
+
+RDEPENDS:${PN} += " \
+ python3-codecs \
+ python3-difflib \
+ python3-netserver \
+ python3-numbers \
+ python3-pickle \
+ python3-pytz \
+ python3-setuptools \
+ python3-shell \
+ python3-threading \
+"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-bcrypt-crates.inc b/meta/recipes-devtools/python/python3-bcrypt-crates.inc
new file mode 100644
index 0000000000..7d9e1f3b59
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-bcrypt-crates.inc
@@ -0,0 +1,116 @@
+# Autogenerated with 'bitbake -c update_crates python3-bcrypt'
+
+# from src/_bcrypt/Cargo.lock
+SRC_URI += " \
+ crate://crates.io/autocfg/1.3.0 \
+ crate://crates.io/base64/0.22.1 \
+ crate://crates.io/bcrypt/0.15.1 \
+ crate://crates.io/bcrypt-pbkdf/0.10.0 \
+ crate://crates.io/bitflags/2.5.0 \
+ crate://crates.io/block-buffer/0.10.4 \
+ crate://crates.io/blowfish/0.9.1 \
+ crate://crates.io/byteorder/1.5.0 \
+ crate://crates.io/cfg-if/1.0.0 \
+ crate://crates.io/cipher/0.4.4 \
+ crate://crates.io/cpufeatures/0.2.12 \
+ crate://crates.io/crypto-common/0.1.6 \
+ crate://crates.io/digest/0.10.7 \
+ crate://crates.io/generic-array/0.14.7 \
+ crate://crates.io/getrandom/0.2.14 \
+ crate://crates.io/heck/0.4.1 \
+ crate://crates.io/indoc/2.0.5 \
+ crate://crates.io/inout/0.1.3 \
+ crate://crates.io/libc/0.2.154 \
+ crate://crates.io/lock_api/0.4.12 \
+ crate://crates.io/memoffset/0.9.1 \
+ crate://crates.io/once_cell/1.19.0 \
+ crate://crates.io/parking_lot/0.12.2 \
+ crate://crates.io/parking_lot_core/0.9.10 \
+ crate://crates.io/pbkdf2/0.12.2 \
+ crate://crates.io/portable-atomic/1.6.0 \
+ crate://crates.io/proc-macro2/1.0.81 \
+ crate://crates.io/pyo3/0.21.2 \
+ crate://crates.io/pyo3-build-config/0.21.2 \
+ crate://crates.io/pyo3-ffi/0.21.2 \
+ crate://crates.io/pyo3-macros/0.21.2 \
+ crate://crates.io/pyo3-macros-backend/0.21.2 \
+ crate://crates.io/quote/1.0.36 \
+ crate://crates.io/redox_syscall/0.5.1 \
+ crate://crates.io/scopeguard/1.2.0 \
+ crate://crates.io/sha2/0.10.8 \
+ crate://crates.io/smallvec/1.13.2 \
+ crate://crates.io/subtle/2.5.0 \
+ crate://crates.io/syn/2.0.60 \
+ crate://crates.io/target-lexicon/0.12.14 \
+ crate://crates.io/typenum/1.17.0 \
+ crate://crates.io/unicode-ident/1.0.12 \
+ crate://crates.io/unindent/0.2.3 \
+ crate://crates.io/version_check/0.9.4 \
+ crate://crates.io/wasi/0.11.0+wasi-snapshot-preview1 \
+ crate://crates.io/windows-targets/0.52.5 \
+ crate://crates.io/windows_aarch64_gnullvm/0.52.5 \
+ crate://crates.io/windows_aarch64_msvc/0.52.5 \
+ crate://crates.io/windows_i686_gnu/0.52.5 \
+ crate://crates.io/windows_i686_gnullvm/0.52.5 \
+ crate://crates.io/windows_i686_msvc/0.52.5 \
+ crate://crates.io/windows_x86_64_gnu/0.52.5 \
+ crate://crates.io/windows_x86_64_gnullvm/0.52.5 \
+ crate://crates.io/windows_x86_64_msvc/0.52.5 \
+ crate://crates.io/zeroize/1.7.0 \
+"
+
+SRC_URI[autocfg-1.3.0.sha256sum] = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0"
+SRC_URI[base64-0.22.1.sha256sum] = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
+SRC_URI[bcrypt-0.15.1.sha256sum] = "e65938ed058ef47d92cf8b346cc76ef48984572ade631927e9937b5ffc7662c7"
+SRC_URI[bcrypt-pbkdf-0.10.0.sha256sum] = "6aeac2e1fe888769f34f05ac343bbef98b14d1ffb292ab69d4608b3abc86f2a2"
+SRC_URI[bitflags-2.5.0.sha256sum] = "cf4b9d6a944f767f8e5e0db018570623c85f3d925ac718db4e06d0187adb21c1"
+SRC_URI[block-buffer-0.10.4.sha256sum] = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71"
+SRC_URI[blowfish-0.9.1.sha256sum] = "e412e2cd0f2b2d93e02543ceae7917b3c70331573df19ee046bcbc35e45e87d7"
+SRC_URI[byteorder-1.5.0.sha256sum] = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b"
+SRC_URI[cfg-if-1.0.0.sha256sum] = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
+SRC_URI[cipher-0.4.4.sha256sum] = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad"
+SRC_URI[cpufeatures-0.2.12.sha256sum] = "53fe5e26ff1b7aef8bca9c6080520cfb8d9333c7568e1829cef191a9723e5504"
+SRC_URI[crypto-common-0.1.6.sha256sum] = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3"
+SRC_URI[digest-0.10.7.sha256sum] = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"
+SRC_URI[generic-array-0.14.7.sha256sum] = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a"
+SRC_URI[getrandom-0.2.14.sha256sum] = "94b22e06ecb0110981051723910cbf0b5f5e09a2062dd7663334ee79a9d1286c"
+SRC_URI[heck-0.4.1.sha256sum] = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8"
+SRC_URI[indoc-2.0.5.sha256sum] = "b248f5224d1d606005e02c97f5aa4e88eeb230488bcc03bc9ca4d7991399f2b5"
+SRC_URI[inout-0.1.3.sha256sum] = "a0c10553d664a4d0bcff9f4215d0aac67a639cc68ef660840afe309b807bc9f5"
+SRC_URI[libc-0.2.154.sha256sum] = "ae743338b92ff9146ce83992f766a31066a91a8c84a45e0e9f21e7cf6de6d346"
+SRC_URI[lock_api-0.4.12.sha256sum] = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17"
+SRC_URI[memoffset-0.9.1.sha256sum] = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a"
+SRC_URI[once_cell-1.19.0.sha256sum] = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92"
+SRC_URI[parking_lot-0.12.2.sha256sum] = "7e4af0ca4f6caed20e900d564c242b8e5d4903fdacf31d3daf527b66fe6f42fb"
+SRC_URI[parking_lot_core-0.9.10.sha256sum] = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8"
+SRC_URI[pbkdf2-0.12.2.sha256sum] = "f8ed6a7761f76e3b9f92dfb0a60a6a6477c61024b775147ff0973a02653abaf2"
+SRC_URI[portable-atomic-1.6.0.sha256sum] = "7170ef9988bc169ba16dd36a7fa041e5c4cbeb6a35b76d4c03daded371eae7c0"
+SRC_URI[proc-macro2-1.0.81.sha256sum] = "3d1597b0c024618f09a9c3b8655b7e430397a36d23fdafec26d6965e9eec3eba"
+SRC_URI[pyo3-0.21.2.sha256sum] = "a5e00b96a521718e08e03b1a622f01c8a8deb50719335de3f60b3b3950f069d8"
+SRC_URI[pyo3-build-config-0.21.2.sha256sum] = "7883df5835fafdad87c0d888b266c8ec0f4c9ca48a5bed6bbb592e8dedee1b50"
+SRC_URI[pyo3-ffi-0.21.2.sha256sum] = "01be5843dc60b916ab4dad1dca6d20b9b4e6ddc8e15f50c47fe6d85f1fb97403"
+SRC_URI[pyo3-macros-0.21.2.sha256sum] = "77b34069fc0682e11b31dbd10321cbf94808394c56fd996796ce45217dfac53c"
+SRC_URI[pyo3-macros-backend-0.21.2.sha256sum] = "08260721f32db5e1a5beae69a55553f56b99bd0e1c3e6e0a5e8851a9d0f5a85c"
+SRC_URI[quote-1.0.36.sha256sum] = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7"
+SRC_URI[redox_syscall-0.5.1.sha256sum] = "469052894dcb553421e483e4209ee581a45100d31b4018de03e5a7ad86374a7e"
+SRC_URI[scopeguard-1.2.0.sha256sum] = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
+SRC_URI[sha2-0.10.8.sha256sum] = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8"
+SRC_URI[smallvec-1.13.2.sha256sum] = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67"
+SRC_URI[subtle-2.5.0.sha256sum] = "81cdd64d312baedb58e21336b31bc043b77e01cc99033ce76ef539f78e965ebc"
+SRC_URI[syn-2.0.60.sha256sum] = "909518bc7b1c9b779f1bbf07f2929d35af9f0f37e47c6e9ef7f9dddc1e1821f3"
+SRC_URI[target-lexicon-0.12.14.sha256sum] = "e1fc403891a21bcfb7c37834ba66a547a8f402146eba7265b5a6d88059c9ff2f"
+SRC_URI[typenum-1.17.0.sha256sum] = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825"
+SRC_URI[unicode-ident-1.0.12.sha256sum] = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"
+SRC_URI[unindent-0.2.3.sha256sum] = "c7de7d73e1754487cb58364ee906a499937a0dfabd86bcb980fa99ec8c8fa2ce"
+SRC_URI[version_check-0.9.4.sha256sum] = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f"
+SRC_URI[wasi-0.11.0+wasi-snapshot-preview1.sha256sum] = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
+SRC_URI[windows-targets-0.52.5.sha256sum] = "6f0713a46559409d202e70e28227288446bf7841d3211583a4b53e3f6d96e7eb"
+SRC_URI[windows_aarch64_gnullvm-0.52.5.sha256sum] = "7088eed71e8b8dda258ecc8bac5fb1153c5cffaf2578fc8ff5d61e23578d3263"
+SRC_URI[windows_aarch64_msvc-0.52.5.sha256sum] = "9985fd1504e250c615ca5f281c3f7a6da76213ebd5ccc9561496568a2752afb6"
+SRC_URI[windows_i686_gnu-0.52.5.sha256sum] = "88ba073cf16d5372720ec942a8ccbf61626074c6d4dd2e745299726ce8b89670"
+SRC_URI[windows_i686_gnullvm-0.52.5.sha256sum] = "87f4261229030a858f36b459e748ae97545d6f1ec60e5e0d6a3d32e0dc232ee9"
+SRC_URI[windows_i686_msvc-0.52.5.sha256sum] = "db3c2bf3d13d5b658be73463284eaf12830ac9a26a90c717b7f771dfe97487bf"
+SRC_URI[windows_x86_64_gnu-0.52.5.sha256sum] = "4e4246f76bdeff09eb48875a0fd3e2af6aada79d409d33011886d3e1581517d9"
+SRC_URI[windows_x86_64_gnullvm-0.52.5.sha256sum] = "852298e482cd67c356ddd9570386e2862b5673c85bd5f88df9ab6802b334c596"
+SRC_URI[windows_x86_64_msvc-0.52.5.sha256sum] = "bec47e5bfd1bff0eeaf6d8b485cc1074891a197ab4225d504cb7a1ab88b02bf0"
+SRC_URI[zeroize-1.7.0.sha256sum] = "525b4ec142c6b68a2d10f01f7bbf6755599ca3f81ea53b8431b7dd348f5fdb2d"
diff --git a/meta/recipes-devtools/python/python3-bcrypt/run-ptest b/meta/recipes-devtools/python/python3-bcrypt/run-ptest
new file mode 100644
index 0000000000..8d2017d39c
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-bcrypt/run-ptest
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+pytest --automake
diff --git a/meta/recipes-devtools/python/python3-bcrypt_4.1.3.bb b/meta/recipes-devtools/python/python3-bcrypt_4.1.3.bb
new file mode 100644
index 0000000000..deb5cbdee3
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-bcrypt_4.1.3.bb
@@ -0,0 +1,35 @@
+SUMMARY = "Modern password hashing for your software and your servers."
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=8f7bb094c7232b058c7e9f2e431f389c"
+HOMEPAGE = "https://pypi.org/project/bcrypt/"
+
+DEPENDS += "python3-cffi-native"
+LDFLAGS:append = "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', ' -fuse-ld=bfd', '', d)}"
+
+SRC_URI[sha256sum] = "2ee15dd749f5952fe3f0430d0ff6b74082e159c50332a1413d51b5689cf06623"
+
+inherit pypi python_setuptools3_rust ptest-cargo cargo-update-recipe-crates
+
+SRC_URI += " \
+ file://run-ptest \
+"
+
+CARGO_SRC_DIR = "src/_bcrypt"
+
+require ${BPN}-crates.inc
+
+RDEPENDS:${PN}-ptest += " \
+ python3-pytest \
+ python3-unittest-automake-output \
+"
+
+do_install_ptest() {
+ install -d ${D}${PTEST_PATH}/tests
+ cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
+}
+
+RDEPENDS:${PN}:class-target += "\
+ python3-cffi \
+ python3-ctypes \
+ python3-shell \
+"
diff --git a/meta/recipes-devtools/python/python3-beartype_0.18.5.bb b/meta/recipes-devtools/python/python3-beartype_0.18.5.bb
new file mode 100644
index 0000000000..04fbd3139f
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-beartype_0.18.5.bb
@@ -0,0 +1,11 @@
+SUMMARY = "Unbearably fast runtime type checking in pure Python."
+HOMEPAGE = "https://beartype.readthedocs.io"
+
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=e71f94261c1b39896cacacfeaf60560e"
+
+SRC_URI[sha256sum] = "264ddc2f1da9ec94ff639141fbe33d22e12a9f75aa863b83b7046ffff1381927"
+
+inherit setuptools3 pypi
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-booleanpy_4.0.bb b/meta/recipes-devtools/python/python3-booleanpy_4.0.bb
new file mode 100644
index 0000000000..41fd3d960a
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-booleanpy_4.0.bb
@@ -0,0 +1,13 @@
+SUMMARY = "Define boolean algebras, create and parse boolean expressions and create custom boolean DSL"
+HOMEPAGE = "https://github.com/bastikr/boolean.py"
+
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=d118b5feceee598ebeca76e13395c2bd"
+
+SRC_URI[sha256sum] = "17b9a181630e43dde1851d42bef546d616d5d9b4480357514597e78b203d06e4"
+
+PYPI_PACKAGE = "boolean.py"
+
+inherit pypi setuptools3
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-build_1.2.1.bb b/meta/recipes-devtools/python/python3-build_1.2.1.bb
new file mode 100644
index 0000000000..0156861201
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-build_1.2.1.bb
@@ -0,0 +1,32 @@
+SUMMARY = "A simple, correct PEP517 package builder"
+HOMEPAGE = "https://github.com/pypa/build"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=310439af287b0fb4780b2ad6907c256c"
+
+SRC_URI[sha256sum] = "526263f4870c26f26c433545579475377b2b7588b6f1eac76a001e873ae3e19d"
+
+inherit pypi python_flit_core
+
+DEPENDS += "python3-pyproject-hooks-native"
+
+DEPENDS:remove:class-native = "python3-build-native"
+
+# Skip dependencies as we're doing a minimal build to bootstrap
+PEP517_BUILD_OPTS:class-native = "--skip-dependency-check"
+
+do_compile:prepend:class-native() {
+ export PYTHONPATH="${S}/src"
+}
+
+RDEPENDS:${PN} += " \
+ python3-compression \
+ python3-difflib \
+ python3-ensurepip \
+ python3-logging \
+ python3-packaging \
+ python3-pyproject-hooks \
+ python3-tomllib \
+ python3-venv \
+"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-calver/0001-setup.py-hard-code-version.patch b/meta/recipes-devtools/python/python3-calver/0001-setup.py-hard-code-version.patch
new file mode 100644
index 0000000000..43f8a78ef0
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-calver/0001-setup.py-hard-code-version.patch
@@ -0,0 +1,32 @@
+From 390a233ed969f82b2ef209b23bfb523e785603f9 Mon Sep 17 00:00:00 2001
+From: Trevor Gamblin <tgamblin@baylibre.com>
+Date: Tue, 9 May 2023 10:19:41 -0400
+Subject: [PATCH] setup.py: hard-code version
+
+setup.py is pulling the build version from the current date rather than
+a release tag or other predictable method, causing reproducibility
+issues in builds. Patch this to make reproducible builds work while
+discussing this with upstream maintainer (or developing a patch that can
+make calver rely on a more standard pyproject.toml solution).
+
+Upstream-Status: Inappropriate (configuration)
+
+Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
+---
+ setup.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/setup.py b/setup.py
+index 73f6b10..2e27cf1 100644
+--- a/setup.py
++++ b/setup.py
+@@ -42,5 +42,5 @@ setup(
+ "use_calver = calver.integration:version",
+ ],
+ },
+- version=calver_version(True),
++ version=calver_version("2022.6.26"),
+ )
+--
+2.40.0
+
diff --git a/meta/recipes-devtools/python/python3-calver/run-ptest b/meta/recipes-devtools/python/python3-calver/run-ptest
new file mode 100644
index 0000000000..8d2017d39c
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-calver/run-ptest
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+pytest --automake
diff --git a/meta/recipes-devtools/python/python3-calver_2022.6.26.bb b/meta/recipes-devtools/python/python3-calver_2022.6.26.bb
new file mode 100644
index 0000000000..71b5431400
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-calver_2022.6.26.bb
@@ -0,0 +1,28 @@
+SUMMARY = "Setuptools extension for CalVer package versions"
+HOMEPAGE = "https://github.com/di/calver"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
+
+SRC_URI = " \
+ git://github.com/di/calver;branch=master;protocol=https \
+ file://run-ptest \
+ file://0001-setup.py-hard-code-version.patch \
+"
+SRCREV = "3268d8acf2c345f32a1c5f08ba25dc67f76cca81"
+
+inherit python_setuptools_build_meta ptest
+
+S = "${WORKDIR}/git"
+
+RDEPENDS:${PN}-ptest += " \
+ python3-pretend \
+ python3-pytest \
+ python3-unittest-automake-output \
+"
+
+do_install_ptest() {
+ install -d ${D}${PTEST_PATH}/tests
+ cp -rf ${S}/tests ${D}${PTEST_PATH}/
+}
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-certifi_2024.2.2.bb b/meta/recipes-devtools/python/python3-certifi_2024.2.2.bb
new file mode 100644
index 0000000000..4e61b8d9d4
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-certifi_2024.2.2.bb
@@ -0,0 +1,16 @@
+SUMMARY = "Python package for providing Mozilla's CA Bundle."
+DESCRIPTION = "This installable Python package contains a CA Bundle that you can reference in your \
+Python code. This is useful for verifying HTTP requests, for example. This is the same CA Bundle \
+which ships with the Requests codebase, and is derived from Mozilla Firefox's canonical set."
+HOMEPAGE = " http://certifi.io/"
+
+LICENSE = "ISC"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=11618cb6a975948679286b1211bd573c"
+
+SRC_URI[sha256sum] = "0569859f95fc761b18b45ef421b1290a0f65f147e92a1e5eb3e635f9a5e4e66f"
+
+inherit pypi setuptools3
+
+BBCLASSEXTEND = "native nativesdk"
+
+RDEPENDS:${PN} += "python3-io"
diff --git a/meta/recipes-devtools/python/python3-cffi_1.16.0.bb b/meta/recipes-devtools/python/python3-cffi_1.16.0.bb
new file mode 100644
index 0000000000..c5f6578ab2
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-cffi_1.16.0.bb
@@ -0,0 +1,18 @@
+SUMMARY = "Foreign Function Interface for Python calling C code"
+HOMEPAGE = "http://cffi.readthedocs.org/"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=5677e2fdbf7cdda61d6dd2b57df547bf"
+DEPENDS += "libffi python3-pycparser"
+
+SRC_URI[sha256sum] = "bcb3ef43e58665bbda2fb198698fcae6776483e0c4a631aa5647806c25e02cc0"
+
+inherit pypi setuptools3
+
+RDEPENDS:${PN}:class-target = " \
+ python3-ctypes \
+ python3-io \
+ python3-pycparser \
+ python3-shell \
+"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-chardet_5.2.0.bb b/meta/recipes-devtools/python/python3-chardet_5.2.0.bb
new file mode 100644
index 0000000000..ed792b1c7e
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-chardet_5.2.0.bb
@@ -0,0 +1,24 @@
+SUMMARY = "Universal encoding detector for Python 2 and 3"
+HOMEPAGE = "https://pypi.org/project/chardet/"
+LICENSE = "LGPL-2.1-only"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=4fbd65380cdd255951079008b364516c"
+
+SRC_URI[sha256sum] = "1b3b6ff479a8c414bc3fa2c0852995695c4a026dcd6d0633b2dd092ca39c1cf7"
+
+# setup.py of chardet needs this.
+DEPENDS += "python3-pytest-runner-native"
+
+inherit pypi python_setuptools_build_meta
+
+PACKAGES =+ "${PN}-cli"
+FILES:${PN}-cli += " \
+ ${PYTHON_SITEPACKAGES_DIR}/chardet/cli \
+"
+
+RDEPENDS:${PN}-cli = "${PN} "
+
+RDEPENDS:${PN}:class-target += " \
+ python3-logging \
+"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-click/run-ptest b/meta/recipes-devtools/python/python3-click/run-ptest
new file mode 100644
index 0000000000..b63c4de0d9
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-click/run-ptest
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
diff --git a/meta/recipes-devtools/python/python3-click_8.1.7.bb b/meta/recipes-devtools/python/python3-click_8.1.7.bb
new file mode 100644
index 0000000000..7d91e1af83
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-click_8.1.7.bb
@@ -0,0 +1,39 @@
+SUMMARY = "A simple wrapper around optparse for powerful command line utilities."
+DESCRIPTION = "\
+Click is a Python package for creating beautiful command line interfaces \
+in a composable way with as little code as necessary. It's the "Command \
+Line Interface Creation Kit". It's highly configurable but comes with \
+sensible defaults out of the box."
+HOMEPAGE = "http://click.pocoo.org/"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=1fa98232fd645608937a0fdc82e999b8"
+
+SRC_URI[sha256sum] = "ca9853ad459e787e2192211578cc907e7594e294c7ccc834310722b41b9ca6de"
+
+inherit pypi setuptools3 ptest
+
+SRC_URI += "file://run-ptest"
+
+RDEPENDS:${PN}-ptest += " \
+ python3-pytest \
+ python3-terminal \
+ python3-unixadmin \
+"
+
+do_install_ptest() {
+ install -d ${D}${PTEST_PATH}/tests
+ cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
+ cp -rf ${S}/setup.cfg ${D}${PTEST_PATH}/
+ cp -rf ${S}/docs ${D}${PTEST_PATH}/
+}
+
+UPSTREAM_CHECK_REGEX = "click/(?P<pver>\d+(\.\d+)+)/"
+
+CLEANBROKEN = "1"
+
+RDEPENDS:${PN} += "\
+ python3-io \
+ python3-threading \
+ "
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-cryptography-crates.inc b/meta/recipes-devtools/python/python3-cryptography-crates.inc
new file mode 100644
index 0000000000..dbeda05dc4
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-cryptography-crates.inc
@@ -0,0 +1,102 @@
+# Autogenerated with 'bitbake -c update_crates python3-cryptography'
+
+# from src/rust/Cargo.lock
+SRC_URI += " \
+ crate://crates.io/asn1/0.15.5 \
+ crate://crates.io/asn1_derive/0.15.5 \
+ crate://crates.io/autocfg/1.1.0 \
+ crate://crates.io/base64/0.21.7 \
+ crate://crates.io/bitflags/1.3.2 \
+ crate://crates.io/bitflags/2.4.2 \
+ crate://crates.io/cc/1.0.83 \
+ crate://crates.io/cfg-if/1.0.0 \
+ crate://crates.io/foreign-types/0.3.2 \
+ crate://crates.io/foreign-types-shared/0.1.1 \
+ crate://crates.io/heck/0.4.1 \
+ crate://crates.io/indoc/2.0.4 \
+ crate://crates.io/libc/0.2.152 \
+ crate://crates.io/lock_api/0.4.11 \
+ crate://crates.io/memoffset/0.9.0 \
+ crate://crates.io/once_cell/1.19.0 \
+ crate://crates.io/openssl/0.10.64 \
+ crate://crates.io/openssl-macros/0.1.1 \
+ crate://crates.io/openssl-sys/0.9.102 \
+ crate://crates.io/parking_lot/0.12.1 \
+ crate://crates.io/parking_lot_core/0.9.9 \
+ crate://crates.io/pem/3.0.3 \
+ crate://crates.io/pkg-config/0.3.29 \
+ crate://crates.io/portable-atomic/1.6.0 \
+ crate://crates.io/proc-macro2/1.0.78 \
+ crate://crates.io/pyo3/0.20.3 \
+ crate://crates.io/pyo3-build-config/0.20.3 \
+ crate://crates.io/pyo3-ffi/0.20.3 \
+ crate://crates.io/pyo3-macros/0.20.3 \
+ crate://crates.io/pyo3-macros-backend/0.20.3 \
+ crate://crates.io/quote/1.0.35 \
+ crate://crates.io/redox_syscall/0.4.1 \
+ crate://crates.io/scopeguard/1.2.0 \
+ crate://crates.io/self_cell/1.0.3 \
+ crate://crates.io/smallvec/1.13.1 \
+ crate://crates.io/syn/2.0.48 \
+ crate://crates.io/target-lexicon/0.12.13 \
+ crate://crates.io/unicode-ident/1.0.12 \
+ crate://crates.io/unindent/0.2.3 \
+ crate://crates.io/vcpkg/0.2.15 \
+ crate://crates.io/windows-targets/0.48.5 \
+ crate://crates.io/windows_aarch64_gnullvm/0.48.5 \
+ crate://crates.io/windows_aarch64_msvc/0.48.5 \
+ crate://crates.io/windows_i686_gnu/0.48.5 \
+ crate://crates.io/windows_i686_msvc/0.48.5 \
+ crate://crates.io/windows_x86_64_gnu/0.48.5 \
+ crate://crates.io/windows_x86_64_gnullvm/0.48.5 \
+ crate://crates.io/windows_x86_64_msvc/0.48.5 \
+"
+
+SRC_URI[asn1-0.15.5.sha256sum] = "ae3ecbce89a22627b5e8e6e11d69715617138290289e385cde773b1fe50befdb"
+SRC_URI[asn1_derive-0.15.5.sha256sum] = "861af988fac460ac69a09f41e6217a8fb9178797b76fcc9478444be6a59be19c"
+SRC_URI[autocfg-1.1.0.sha256sum] = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
+SRC_URI[base64-0.21.7.sha256sum] = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567"
+SRC_URI[bitflags-1.3.2.sha256sum] = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
+SRC_URI[bitflags-2.4.2.sha256sum] = "ed570934406eb16438a4e976b1b4500774099c13b8cb96eec99f620f05090ddf"
+SRC_URI[cc-1.0.83.sha256sum] = "f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0"
+SRC_URI[cfg-if-1.0.0.sha256sum] = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
+SRC_URI[foreign-types-0.3.2.sha256sum] = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1"
+SRC_URI[foreign-types-shared-0.1.1.sha256sum] = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b"
+SRC_URI[heck-0.4.1.sha256sum] = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8"
+SRC_URI[indoc-2.0.4.sha256sum] = "1e186cfbae8084e513daff4240b4797e342f988cecda4fb6c939150f96315fd8"
+SRC_URI[libc-0.2.152.sha256sum] = "13e3bf6590cbc649f4d1a3eefc9d5d6eb746f5200ffb04e5e142700b8faa56e7"
+SRC_URI[lock_api-0.4.11.sha256sum] = "3c168f8615b12bc01f9c17e2eb0cc07dcae1940121185446edc3744920e8ef45"
+SRC_URI[memoffset-0.9.0.sha256sum] = "5a634b1c61a95585bd15607c6ab0c4e5b226e695ff2800ba0cdccddf208c406c"
+SRC_URI[once_cell-1.19.0.sha256sum] = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92"
+SRC_URI[openssl-0.10.64.sha256sum] = "95a0481286a310808298130d22dd1fef0fa571e05a8f44ec801801e84b216b1f"
+SRC_URI[openssl-macros-0.1.1.sha256sum] = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c"
+SRC_URI[openssl-sys-0.9.102.sha256sum] = "c597637d56fbc83893a35eb0dd04b2b8e7a50c91e64e9493e398b5df4fb45fa2"
+SRC_URI[parking_lot-0.12.1.sha256sum] = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f"
+SRC_URI[parking_lot_core-0.9.9.sha256sum] = "4c42a9226546d68acdd9c0a280d17ce19bfe27a46bf68784e4066115788d008e"
+SRC_URI[pem-3.0.3.sha256sum] = "1b8fcc794035347fb64beda2d3b462595dd2753e3f268d89c5aae77e8cf2c310"
+SRC_URI[pkg-config-0.3.29.sha256sum] = "2900ede94e305130c13ddd391e0ab7cbaeb783945ae07a279c268cb05109c6cb"
+SRC_URI[portable-atomic-1.6.0.sha256sum] = "7170ef9988bc169ba16dd36a7fa041e5c4cbeb6a35b76d4c03daded371eae7c0"
+SRC_URI[proc-macro2-1.0.78.sha256sum] = "e2422ad645d89c99f8f3e6b88a9fdeca7fabeac836b1002371c4367c8f984aae"
+SRC_URI[pyo3-0.20.3.sha256sum] = "53bdbb96d49157e65d45cc287af5f32ffadd5f4761438b527b055fb0d4bb8233"
+SRC_URI[pyo3-build-config-0.20.3.sha256sum] = "deaa5745de3f5231ce10517a1f5dd97d53e5a2fd77aa6b5842292085831d48d7"
+SRC_URI[pyo3-ffi-0.20.3.sha256sum] = "62b42531d03e08d4ef1f6e85a2ed422eb678b8cd62b762e53891c05faf0d4afa"
+SRC_URI[pyo3-macros-0.20.3.sha256sum] = "7305c720fa01b8055ec95e484a6eca7a83c841267f0dd5280f0c8b8551d2c158"
+SRC_URI[pyo3-macros-backend-0.20.3.sha256sum] = "7c7e9b68bb9c3149c5b0cade5d07f953d6d125eb4337723c4ccdb665f1f96185"
+SRC_URI[quote-1.0.35.sha256sum] = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef"
+SRC_URI[redox_syscall-0.4.1.sha256sum] = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa"
+SRC_URI[scopeguard-1.2.0.sha256sum] = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
+SRC_URI[self_cell-1.0.3.sha256sum] = "58bf37232d3bb9a2c4e641ca2a11d83b5062066f88df7fed36c28772046d65ba"
+SRC_URI[smallvec-1.13.1.sha256sum] = "e6ecd384b10a64542d77071bd64bd7b231f4ed5940fba55e98c3de13824cf3d7"
+SRC_URI[syn-2.0.48.sha256sum] = "0f3531638e407dfc0814761abb7c00a5b54992b849452a0646b7f65c9f770f3f"
+SRC_URI[target-lexicon-0.12.13.sha256sum] = "69758bda2e78f098e4ccb393021a0963bb3442eac05f135c30f61b7370bbafae"
+SRC_URI[unicode-ident-1.0.12.sha256sum] = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"
+SRC_URI[unindent-0.2.3.sha256sum] = "c7de7d73e1754487cb58364ee906a499937a0dfabd86bcb980fa99ec8c8fa2ce"
+SRC_URI[vcpkg-0.2.15.sha256sum] = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426"
+SRC_URI[windows-targets-0.48.5.sha256sum] = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c"
+SRC_URI[windows_aarch64_gnullvm-0.48.5.sha256sum] = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8"
+SRC_URI[windows_aarch64_msvc-0.48.5.sha256sum] = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc"
+SRC_URI[windows_i686_gnu-0.48.5.sha256sum] = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e"
+SRC_URI[windows_i686_msvc-0.48.5.sha256sum] = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406"
+SRC_URI[windows_x86_64_gnu-0.48.5.sha256sum] = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e"
+SRC_URI[windows_x86_64_gnullvm-0.48.5.sha256sum] = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc"
+SRC_URI[windows_x86_64_msvc-0.48.5.sha256sum] = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538"
diff --git a/meta/recipes-devtools/python/python3-cryptography-vectors_42.0.7.bb b/meta/recipes-devtools/python/python3-cryptography-vectors_42.0.7.bb
new file mode 100644
index 0000000000..9a025a530c
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-cryptography-vectors_42.0.7.bb
@@ -0,0 +1,31 @@
+SUMMARY = "Test vectors for the cryptography package."
+HOMEPAGE = "https://cryptography.io/"
+SECTION = "devel/python"
+LICENSE = "Apache-2.0 | BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=8c3617db4fb6fae01f1d253ab91511e4 \
+ file://LICENSE.APACHE;md5=4e168cce331e5c827d4c2b68a6200e1b \
+ file://LICENSE.BSD;md5=5ae30ba4123bc4f2fa49aa0b0dce887b"
+
+# NOTE: Make sure to keep this recipe at the same version as python3-cryptography
+# Upgrade both recipes at the same time
+
+SRC_URI[sha256sum] = "8294c632dbe2cb14c7b7e24219560e674bc2224dfc4bed577ab077dbb82bfa3c"
+
+PYPI_PACKAGE = "cryptography_vectors"
+
+inherit pypi python_setuptools_build_meta
+
+DEPENDS += " \
+ python3-cryptography \
+"
+
+do_install:append () {
+ # Remove the sha256 checksum lines for pycache files
+ sed ${D}${PYTHON_SITEPACKAGES_DIR}/cryptography_vectors-${PV}.dist-info/RECORD -e '/__pycache__/d' -i
+}
+
+BBCLASSEXTEND = "native nativesdk"
+
+UPSTREAM_CHECK_REGEX = ""
+
+RECIPE_NO_UPDATE_REASON = "Must be updated in sync with python3-cryptography."
diff --git a/meta/recipes-devtools/python/python3-cryptography/0001-pyproject.toml-remove-benchmark-disable-option.patch b/meta/recipes-devtools/python/python3-cryptography/0001-pyproject.toml-remove-benchmark-disable-option.patch
new file mode 100644
index 0000000000..ec4bfcc98b
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-cryptography/0001-pyproject.toml-remove-benchmark-disable-option.patch
@@ -0,0 +1,40 @@
+From 18d78736f5c39784d5151b08fdfdd21c61225686 Mon Sep 17 00:00:00 2001
+From: Mingli Yu <mingli.yu@windriver.com>
+Date: Tue, 17 May 2022 17:22:48 +0800
+Subject: [PATCH] pyproject.toml: remove --benchmark-disable option
+
+The new version introduced below change, so remove the option
+to avoid python3-pytest-benchmark rdepends to fix the gap.
+496703c8 Refs #7079 -- added basic scaffholding for benchmarks (#7087)
+
+Fixes:
+ # ./run-ptest
+ Free memory: 31.283 GB
+ ERROR: usage: pytest [options] [file_or_dir] [file_or_dir] [...]
+ pytest: error: unrecognized arguments: --benchmark-disable
+ inifile: /usr/lib/python3-cryptography/ptest/pyproject.toml
+ rootdir: /usr/lib/python3-cryptography/ptest
+
+Upstream-Status: Inappropriate [OE specific]
+
+Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
+
+Refresh for 42.02
+Signed-off-by: Tim Orling <tim.orling@konsulko.com>
+---
+ pyproject.toml | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/pyproject.toml b/pyproject.toml
+index 4f0fa36..0d54ea6 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -92,7 +92,7 @@ rust-version = ">=1.63.0"
+
+
+ [tool.pytest.ini_options]
+-addopts = "-r s --capture=no --strict-markers --benchmark-disable"
++addopts = "-r s --capture=no --strict-markers"
+ console_output_style = "progress-even-when-capture-no"
+ markers = [
+ "skip_fips: this test is not executed in FIPS mode",
diff --git a/meta/recipes-devtools/python/python3-cryptography/check-memfree.py b/meta/recipes-devtools/python/python3-cryptography/check-memfree.py
new file mode 100755
index 0000000000..ed680d8d5b
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-cryptography/check-memfree.py
@@ -0,0 +1,10 @@
+#!/usr/bin/env python3
+# https://stackoverflow.com/questions/22102999/get-total-physical-memory-in-python/28161352
+import sys
+meminfo = dict((i.split()[0].rstrip(':'),int(i.split()[1])) for i in open('/proc/meminfo').readlines())
+mem_free = meminfo['MemTotal']/1024./1024.
+if mem_free < 2.:
+ print("Insufficient free memory({:.3f}): requires > 2 GB".format(mem_free))
+ sys.exit(1)
+else:
+ print("Free memory: {:.3f} GB".format(mem_free))
diff --git a/meta/recipes-devtools/python/python3-cryptography/run-ptest b/meta/recipes-devtools/python/python3-cryptography/run-ptest
new file mode 100644
index 0000000000..fe191a5dc4
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-cryptography/run-ptest
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+if ./check-memfree.py; then
+ # Skip the bench test module, we don't yet have pytest3-benchmark in core
+ # and these are more benchmarks than unit tests.
+ pytest --automake -k 'not bench'
+else
+ echo "SKIP: crytography.not_enough_memory"
+fi
diff --git a/meta/recipes-devtools/python/python3-cryptography_42.0.7.bb b/meta/recipes-devtools/python/python3-cryptography_42.0.7.bb
new file mode 100644
index 0000000000..5964400a04
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-cryptography_42.0.7.bb
@@ -0,0 +1,67 @@
+SUMMARY = "Provides cryptographic recipes and primitives to python developers"
+HOMEPAGE = "https://cryptography.io/"
+SECTION = "devel/python"
+LICENSE = "Apache-2.0 | BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=8c3617db4fb6fae01f1d253ab91511e4 \
+ file://LICENSE.APACHE;md5=4e168cce331e5c827d4c2b68a6200e1b \
+ file://LICENSE.BSD;md5=5ae30ba4123bc4f2fa49aa0b0dce887b \
+ "
+LDSHARED += "-pthread"
+
+SRC_URI[sha256sum] = "ecbfbc00bf55888edda9868a4cf927205de8499e7fabe6c050322298382953f2"
+
+SRC_URI += "file://0001-pyproject.toml-remove-benchmark-disable-option.patch \
+ file://check-memfree.py \
+ file://run-ptest \
+ "
+
+require ${BPN}-crates.inc
+
+inherit pypi python_setuptools3_rust cargo-update-recipe-crates pkgconfig
+
+DEPENDS += " \
+ python3-cffi-native \
+"
+
+RDEPENDS:${PN} += " \
+ python3-cffi \
+"
+
+RDEPENDS:${PN}:append:class-target = " \
+ python3-numbers \
+ python3-threading \
+"
+
+RDEPENDS:${PN}-ptest += " \
+ python3-bcrypt \
+ python3-cryptography-vectors (= ${PV}) \
+ python3-hypothesis \
+ python3-iso8601 \
+ python3-mmap \
+ python3-pretend \
+ python3-psutil \
+ python3-pytest \
+ python3-unittest-automake-output \
+ python3-pytest-subtests \
+ python3-pytz \
+"
+
+inherit ptest
+
+do_install_ptest() {
+ install -D ${UNPACKDIR}/check-memfree.py ${D}${PTEST_PATH}/
+ install -d ${D}${PTEST_PATH}/tests
+ cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
+ # remove test_x509.py as it needs benchmark and we don't
+ # want to introduce the benchmark dependency
+ rm -rf ${D}${PTEST_PATH}/tests/bench/test_x509.py
+ install -d ${D}${PTEST_PATH}/tests/hazmat
+ cp -rf ${S}/tests/hazmat/* ${D}${PTEST_PATH}/tests/hazmat/
+ cp -r ${S}/pyproject.toml ${D}${PTEST_PATH}/
+}
+
+FILES:${PN}-dbg += " \
+ ${PYTHON_SITEPACKAGES_DIR}/${SRCNAME}/hazmat/bindings/.debug \
+"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-cython_0.29.21.bb b/meta/recipes-devtools/python/python3-cython_0.29.21.bb
deleted file mode 100644
index 2ce6bdbd68..0000000000
--- a/meta/recipes-devtools/python/python3-cython_0.29.21.bb
+++ /dev/null
@@ -1,18 +0,0 @@
-inherit setuptools3
-require python-cython.inc
-
-RDEPENDS_${PN} += "\
- python3-setuptools \
-"
-
-# running build_ext a second time during install fails, because Python
-# would then attempt to import cythonized modules built for the target
-# architecture.
-DISTUTILS_INSTALL_ARGS += "--skip-build"
-
-do_install_append() {
- # rename scripts that would conflict with the Python 2 build of Cython
- mv ${D}${bindir}/cython ${D}${bindir}/cython3
- mv ${D}${bindir}/cythonize ${D}${bindir}/cythonize3
- mv ${D}${bindir}/cygdb ${D}${bindir}/cygdb3
-}
diff --git a/meta/recipes-devtools/python/python3-cython_3.0.10.bb b/meta/recipes-devtools/python/python3-cython_3.0.10.bb
new file mode 100644
index 0000000000..754543e711
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-cython_3.0.10.bb
@@ -0,0 +1,74 @@
+SUMMARY = "The Cython language"
+HOMEPAGE = "https://pypi.org/project/Cython/"
+DESCRIPTION = "Cython is a language specially designed for writing Python extension modules. \
+It's designed to bridge the gap between the nice, high-level, easy-to-use world of Python \
+and the messy, low-level world of C."
+SECTION = "devel/python"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=61c3ee8961575861fa86c7e62bc9f69c"
+PYPI_PACKAGE = "Cython"
+
+SRC_URI[sha256sum] = "dcc96739331fb854dcf503f94607576cfe8488066c61ca50dfd55836f132de99"
+UPSTREAM_CHECK_REGEX = "Cython-(?P<pver>.*)\.tar"
+
+inherit pypi setuptools3
+
+# running build_ext a second time during install fails, because Python
+# would then attempt to import cythonized modules built for the target
+# architecture.
+SETUPTOOLS_INSTALL_ARGS += "--skip-build"
+
+do_install:append() {
+ # Make sure we use /usr/bin/env python3
+ for PYTHSCRIPT in `grep -rIl '^#!.*python' ${D}`; do
+ sed -i -e '1s|^#!.*|#!/usr/bin/env python3|' $PYTHSCRIPT
+ done
+
+ # remove build paths from generated sources
+ sed -i -e 's|${WORKDIR}||' ${S}/Cython/*.c ${S}/Cython/Compiler/*.c ${S}/Cython/Plex/*.c
+
+ # rename scripts that would conflict with the Python 2 build of Cython
+ mv ${D}${bindir}/cython ${D}${bindir}/cython3
+ mv ${D}${bindir}/cythonize ${D}${bindir}/cythonize3
+ mv ${D}${bindir}/cygdb ${D}${bindir}/cygdb3
+}
+
+PACKAGESPLITFUNCS =+ "cython_fix_sources"
+
+cython_fix_sources () {
+ for f in ${PKGD}${TARGET_DBGSRC_DIR}/Cython/Compiler/FlowControl.c \
+ ${PKGD}${TARGET_DBGSRC_DIR}/Cython/Compiler/FusedNode.c \
+ ${PKGD}${TARGET_DBGSRC_DIR}/Cython/Compiler/Scanning.c \
+ ${PKGD}${TARGET_DBGSRC_DIR}/Cython/Compiler/Visitor.c \
+ ${PKGD}${TARGET_DBGSRC_DIR}/Cython/Plex/Actions.c \
+ ${PKGD}${TARGET_DBGSRC_DIR}/Cython/Plex/Scanners.c \
+ ${PKGD}${TARGET_DBGSRC_DIR}/Cython/Runtime/refnanny.c \
+ ${PKGD}${TARGET_DBGSRC_DIR}/Cython/Tempita/_tempita.c \
+ ${PKGD}${libdir}/${PYTHON_DIR}/site-packages/Cython*/SOURCES.txt; do
+ if [ -e $f ]; then
+ sed -i -e 's#${WORKDIR}/Cython-${PV}#${TARGET_DBGSRC_DIR}#g' $f
+ fi
+ done
+}
+
+RDEPENDS:${PN}:class-target += "\
+ python3-misc \
+ python3-netserver \
+ python3-pkgutil \
+ python3-pyparsing \
+ python3-setuptools \
+ python3-shell \
+ python3-xml \
+"
+
+RDEPENDS:${PN}:class-nativesdk += "\
+ nativesdk-python3-misc \
+ nativesdk-python3-netserver \
+ nativesdk-python3-pkgutil \
+ nativesdk-python3-pyparsing \
+ nativesdk-python3-setuptools \
+ nativesdk-python3-shell \
+ nativesdk-python3-xml \
+"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-dbus_1.2.16.bb b/meta/recipes-devtools/python/python3-dbus_1.2.16.bb
deleted file mode 100644
index e1700fa869..0000000000
--- a/meta/recipes-devtools/python/python3-dbus_1.2.16.bb
+++ /dev/null
@@ -1,26 +0,0 @@
-SUMMARY = "Python bindings for the DBus inter-process communication system"
-SECTION = "devel/python"
-HOMEPAGE = "http://www.freedesktop.org/Software/dbus"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://COPYING;md5=b03240518994df6d8c974675675e5ca4"
-DEPENDS = "expat dbus glib-2.0 virtual/libintl"
-
-SRC_URI = "http://dbus.freedesktop.org/releases/dbus-python/dbus-python-${PV}.tar.gz"
-
-SRC_URI[md5sum] = "51a45c973d82bedff033a4b57d69d5d8"
-SRC_URI[sha256sum] = "11238f1d86c995d8aed2e22f04a1e3779f0d70e587caffeab4857f3c662ed5a4"
-
-S = "${WORKDIR}/dbus-python-${PV}"
-
-inherit distutils3-base autotools pkgconfig
-
-# documentation needs python3-sphinx, which is not in oe-core or meta-python for now
-# change to use PACKAGECONFIG when python3-sphinx is added to oe-core
-EXTRA_OECONF += "--disable-documentation"
-
-
-RDEPENDS_${PN} = "python3-io python3-logging python3-stringold python3-threading python3-xml"
-
-FILES_${PN}-dev += "${libdir}/pkgconfig"
-
-BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-dbus_1.3.2.bb b/meta/recipes-devtools/python/python3-dbus_1.3.2.bb
new file mode 100644
index 0000000000..e0cf64c70e
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-dbus_1.3.2.bb
@@ -0,0 +1,23 @@
+SUMMARY = "Python bindings for the DBus inter-process communication system"
+SECTION = "devel/python"
+HOMEPAGE = "http://www.freedesktop.org/Software/dbus"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://COPYING;md5=97f58951300aa52a9f9e3a62bd5c846c"
+DEPENDS = "expat dbus glib-2.0 virtual/libintl"
+
+SRC_URI = "http://dbus.freedesktop.org/releases/dbus-python/dbus-python-${PV}.tar.gz"
+
+SRC_URI[sha256sum] = "ad67819308618b5069537be237f8e68ca1c7fcc95ee4a121fe6845b1418248f8"
+
+S = "${WORKDIR}/dbus-python-${PV}"
+
+inherit setuptools3-base meson pkgconfig
+
+# requires dbus-run-session
+EXTRA_OEMESON += "-Dtests=false"
+
+RDEPENDS:${PN} = "python3-io python3-logging python3-stringold python3-threading python3-xml"
+
+FILES:${PN}-dev += "${libdir}/pkgconfig"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-dbusmock_0.19.bb b/meta/recipes-devtools/python/python3-dbusmock_0.19.bb
deleted file mode 100644
index d297dbc1df..0000000000
--- a/meta/recipes-devtools/python/python3-dbusmock_0.19.bb
+++ /dev/null
@@ -1,17 +0,0 @@
-SUMMARY = "With this program/Python library you can easily create mock objects on D-Bus"
-
-LICENSE = "GPL-3.0"
-LIC_FILES_CHKSUM = "file://COPYING;md5=e6a600fd5e1d9cbde2d983680233ad02"
-
-SRC_URI[sha256sum] = "497f30eed2fcd5deaa2633b9622e4e99af4bdfba4e972b350ba630bac6fc86c2"
-
-PYPI_PACKAGE = "python-dbusmock"
-
-inherit pypi setuptools3
-
-RDEPENDS_${PN} += "\
- ${PYTHON_PN}-dbus \
- ${PYTHON_PN}-pygobject \
- ${PYTHON_PN}-unittest \
- ${PYTHON_PN}-xml \
- "
diff --git a/meta/recipes-devtools/python/python3-dbusmock_0.31.1.bb b/meta/recipes-devtools/python/python3-dbusmock_0.31.1.bb
new file mode 100644
index 0000000000..fc32c6bbb6
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-dbusmock_0.31.1.bb
@@ -0,0 +1,22 @@
+SUMMARY = "With this program/Python library you can easily create mock objects on D-Bus"
+HOMEPAGE = "https://pypi.org/project/python-dbusmock/"
+
+LICENSE = "GPL-3.0-only"
+LIC_FILES_CHKSUM = "file://COPYING;md5=e6a600fd5e1d9cbde2d983680233ad02"
+
+SRC_URI[sha256sum] = "b23b8e1b51fe2a9b13e617fff6b60b3ed8e536c080cf3498019d223678d5ea49"
+
+PYPI_PACKAGE = "python-dbusmock"
+
+inherit pypi python_setuptools_build_meta
+DEPENDS += "python3-setuptools-scm-native"
+
+RDEPENDS:${PN} += "\
+ python3-dbus \
+ python3-unittest \
+ python3-xml \
+ "
+
+RRECOMMENDS:${PN} = "${@bb.utils.contains('DISTRO_FEATURES', 'gobject-introspection-data', '${MLPREFIX}python3-pygobject', '', d)}"
+
+BBCLASSEXTEND = "native"
diff --git a/meta/recipes-devtools/python/python3-docutils_0.16.bb b/meta/recipes-devtools/python/python3-docutils_0.16.bb
deleted file mode 100644
index 50547a1b0c..0000000000
--- a/meta/recipes-devtools/python/python3-docutils_0.16.bb
+++ /dev/null
@@ -1,17 +0,0 @@
-SUMMARY = "Text processing system for documentation"
-HOMEPAGE = "http://docutils.sourceforge.net"
-SECTION = "devel/python"
-LICENSE = "PSF & BSD-2-Clause & GPLv3"
-LIC_FILES_CHKSUM = "file://COPYING.txt;md5=7a4646907ab9083c826280b19e103106"
-
-DEPENDS = "python3"
-
-SRC_URI = "${SOURCEFORGE_MIRROR}/docutils/docutils-${PV}.tar.gz"
-SRC_URI[md5sum] = "9ccb6f332e23360f964de72c8ea5f0ed"
-SRC_URI[sha256sum] = "7d4e999cca74a52611773a42912088078363a30912e8822f7a3d38043b767573"
-
-S = "${WORKDIR}/docutils-${PV}"
-
-inherit distutils3
-
-BBCLASSEXTEND = "native"
diff --git a/meta/recipes-devtools/python/python3-docutils_0.21.2.bb b/meta/recipes-devtools/python/python3-docutils_0.21.2.bb
new file mode 100644
index 0000000000..ac41ef6858
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-docutils_0.21.2.bb
@@ -0,0 +1,14 @@
+SUMMARY = "Docutils is a modular system for processing documentation into useful formats"
+HOMEPAGE = "http://docutils.sourceforge.net"
+SECTION = "devel/python"
+LICENSE = "CC0-1.0 & ZPL-2.1 & BSD-2-Clause & GPL-3.0-only"
+LIC_FILES_CHKSUM = "file://COPYING.txt;md5=382430a09a4453818aa6618f2090491b"
+
+SRC_URI[sha256sum] = "3a6b18732edf182daa3cd12775bbb338cf5691468f91eeeb109deff6ebfa986f"
+
+inherit pypi python_setuptools_build_meta
+
+RDEPENDS:${PN} += " \
+ python3-pprint \
+"
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-dtc/0001-Revert-libfdt-overlay-make-overlay_get_target-public.patch b/meta/recipes-devtools/python/python3-dtc/0001-Revert-libfdt-overlay-make-overlay_get_target-public.patch
new file mode 100644
index 0000000000..a2df482e3a
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-dtc/0001-Revert-libfdt-overlay-make-overlay_get_target-public.patch
@@ -0,0 +1,132 @@
+From 4d4703e0199fb3556c37694e4d951785abca22fd Mon Sep 17 00:00:00 2001
+From: Bruce Ashfield <bruce.ashfield@gmail.com>
+Date: Wed, 19 Jan 2022 12:46:42 -0500
+Subject: [PATCH] Revert "libfdt: overlay: make overlay_get_target() public"
+
+This reverts commit 45f3d1a095dd3440578d5c6313eba555a791f3fb.
+
+Upstream-Status: Inappropriate [embedded specific]
+
+---
+ libfdt/fdt_overlay.c | 29 ++++++++++++++++++++++-------
+ libfdt/libfdt.h | 18 ------------------
+ libfdt/version.lds | 1 -
+ 3 files changed, 22 insertions(+), 26 deletions(-)
+
+diff --git a/libfdt/fdt_overlay.c b/libfdt/fdt_overlay.c
+index 5c0c398..d217e79 100644
+--- a/libfdt/fdt_overlay.c
++++ b/libfdt/fdt_overlay.c
+@@ -40,22 +40,37 @@ static uint32_t overlay_get_target_phandle(const void *fdto, int fragment)
+ return fdt32_to_cpu(*val);
+ }
+
+-int fdt_overlay_target_offset(const void *fdt, const void *fdto,
+- int fragment_offset, char const **pathp)
++/**
++ * overlay_get_target - retrieves the offset of a fragment's target
++ * @fdt: Base device tree blob
++ * @fdto: Device tree overlay blob
++ * @fragment: node offset of the fragment in the overlay
++ * @pathp: pointer which receives the path of the target (or NULL)
++ *
++ * overlay_get_target() retrieves the target offset in the base
++ * device tree of a fragment, no matter how the actual targeting is
++ * done (through a phandle or a path)
++ *
++ * returns:
++ * the targeted node offset in the base device tree
++ * Negative error code on error
++ */
++static int overlay_get_target(const void *fdt, const void *fdto,
++ int fragment, char const **pathp)
+ {
+ uint32_t phandle;
+ const char *path = NULL;
+ int path_len = 0, ret;
+
+ /* Try first to do a phandle based lookup */
+- phandle = overlay_get_target_phandle(fdto, fragment_offset);
++ phandle = overlay_get_target_phandle(fdto, fragment);
+ if (phandle == (uint32_t)-1)
+ return -FDT_ERR_BADPHANDLE;
+
+ /* no phandle, try path */
+ if (!phandle) {
+ /* And then a path based lookup */
+- path = fdt_getprop(fdto, fragment_offset, "target-path", &path_len);
++ path = fdt_getprop(fdto, fragment, "target-path", &path_len);
+ if (path)
+ ret = fdt_path_offset(fdt, path);
+ else
+@@ -621,7 +636,7 @@ static int overlay_merge(void *fdt, void *fdto)
+ if (overlay < 0)
+ return overlay;
+
+- target = fdt_overlay_target_offset(fdt, fdto, fragment, NULL);
++ target = overlay_get_target(fdt, fdto, fragment, NULL);
+ if (target < 0)
+ return target;
+
+@@ -764,7 +779,7 @@ static int overlay_symbol_update(void *fdt, void *fdto)
+ return -FDT_ERR_BADOVERLAY;
+
+ /* get the target of the fragment */
+- ret = fdt_overlay_target_offset(fdt, fdto, fragment, &target_path);
++ ret = overlay_get_target(fdt, fdto, fragment, &target_path);
+ if (ret < 0)
+ return ret;
+ target = ret;
+@@ -786,7 +801,7 @@ static int overlay_symbol_update(void *fdt, void *fdto)
+
+ if (!target_path) {
+ /* again in case setprop_placeholder changed it */
+- ret = fdt_overlay_target_offset(fdt, fdto, fragment, &target_path);
++ ret = overlay_get_target(fdt, fdto, fragment, &target_path);
+ if (ret < 0)
+ return ret;
+ target = ret;
+diff --git a/libfdt/libfdt.h b/libfdt/libfdt.h
+index a7f432c..7f117e8 100644
+--- a/libfdt/libfdt.h
++++ b/libfdt/libfdt.h
+@@ -2116,24 +2116,6 @@ int fdt_del_node(void *fdt, int nodeoffset);
+ */
+ int fdt_overlay_apply(void *fdt, void *fdto);
+
+-/**
+- * fdt_overlay_target_offset - retrieves the offset of a fragment's target
+- * @fdt: Base device tree blob
+- * @fdto: Device tree overlay blob
+- * @fragment_offset: node offset of the fragment in the overlay
+- * @pathp: pointer which receives the path of the target (or NULL)
+- *
+- * fdt_overlay_target_offset() retrieves the target offset in the base
+- * device tree of a fragment, no matter how the actual targeting is
+- * done (through a phandle or a path)
+- *
+- * returns:
+- * the targeted node offset in the base device tree
+- * Negative error code on error
+- */
+-int fdt_overlay_target_offset(const void *fdt, const void *fdto,
+- int fragment_offset, char const **pathp);
+-
+ /**********************************************************************/
+ /* Debugging / informational functions */
+ /**********************************************************************/
+diff --git a/libfdt/version.lds b/libfdt/version.lds
+index cbce5d4..7ab85f1 100644
+--- a/libfdt/version.lds
++++ b/libfdt/version.lds
+@@ -77,7 +77,6 @@ LIBFDT_1.2 {
+ fdt_appendprop_addrrange;
+ fdt_setprop_inplace_namelen_partial;
+ fdt_create_with_flags;
+- fdt_overlay_target_offset;
+ local:
+ *;
+ };
+--
+2.19.1
+
diff --git a/meta/recipes-devtools/python/python3-dtc_1.7.0.bb b/meta/recipes-devtools/python/python3-dtc_1.7.0.bb
new file mode 100644
index 0000000000..85e48d4694
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-dtc_1.7.0.bb
@@ -0,0 +1,25 @@
+SUMMARY = "Python Library for the Device Tree Compiler"
+HOMEPAGE = "https://devicetree.org/"
+DESCRIPTION = "A python library for the Device Tree Compiler, a tool used to manipulate Device Tree files which contain a data structure for describing hardware."
+SECTION = "bootloader"
+LICENSE = "GPL-2.0-only | BSD-2-Clause"
+
+DEPENDS = "flex-native bison-native swig-native python3-setuptools-scm-native libyaml dtc"
+
+SRC_URI = "git://git.kernel.org/pub/scm/utils/dtc/dtc.git;branch=master \
+ file://0001-Revert-libfdt-overlay-make-overlay_get_target-public.patch \
+ "
+
+UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
+
+LIC_FILES_CHKSUM = "file://pylibfdt/libfdt.i;beginline=1;endline=6;md5=afda088c974174a29108c8d80b5dce90"
+
+SRCREV = "039a99414e778332d8f9c04cbd3072e1dcc62798"
+
+S = "${WORKDIR}/git"
+
+PYPA_WHEEL = "${S}/dist/libfdt-1.6.2*.whl"
+
+inherit setuptools3 pkgconfig
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-dtschema_2024.4.bb b/meta/recipes-devtools/python/python3-dtschema_2024.4.bb
new file mode 100644
index 0000000000..9583cd57b9
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-dtschema_2024.4.bb
@@ -0,0 +1,20 @@
+SUMMARY = "Tooling for devicetree validation using YAML and jsonschema"
+HOMEPAGE = "https://github.com/devicetree-org/dt-schema"
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=457495c8fa03540db4a576bf7869e811"
+
+inherit pypi python_setuptools_build_meta
+
+PYPI_PACKAGE = "dtschema"
+
+SRC_URI[sha256sum] = "18dd1d34b4a5e451291e5444e9ceb4a6febc605871cdaef22673b6f80aa4a131"
+
+DEPENDS += "python3-setuptools-scm-native"
+RDEPENDS:${PN} += "\
+ python3-dtc \
+ python3-jsonschema \
+ python3-rfc3987 \
+ python3-ruamel-yaml \
+ "
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-editables_0.5.bb b/meta/recipes-devtools/python/python3-editables_0.5.bb
new file mode 100644
index 0000000000..f3261183cb
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-editables_0.5.bb
@@ -0,0 +1,15 @@
+SUMMARY = "A Python library for creating editable wheels"
+HOMEPAGE = "https://github.com/pfmoore/editables"
+SECTION = "devel/python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=41bc1be47b7bb8240db3ef928c7cb0bf"
+
+SRC_URI[sha256sum] = "309627d9b5c4adc0e668d8c6fa7bac1ba7c8c5d415c2d27f60f081f8e80d1de2"
+
+inherit pypi python_setuptools_build_meta
+
+RDEPENDS:${PN} += "\
+ python3-io \
+"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-flit-core_3.9.0.bb b/meta/recipes-devtools/python/python3-flit-core_3.9.0.bb
new file mode 100644
index 0000000000..b0bef4b6b6
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-flit-core_3.9.0.bb
@@ -0,0 +1,37 @@
+SUMMARY = "This provides a PEP 517 build backend for packages using Flit."
+DESCRIPTION = "This provides a PEP 517 build backend for packages using \
+Flit. The only public interface is the API specified by PEP 517, at \
+flit_core.buildapi."
+HOMEPAGE = "https://github.com/pypa/flit"
+BUGTRACKER = "https://github.com/pypa/flit/issues"
+
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=41eb78fa8a872983a882c694a8305f08"
+
+SRC_URI[sha256sum] = "d75edf5eb324da20d53570a6a6f87f51e606eee8384925cd66a90611140844c7"
+
+inherit pypi python_flit_core
+
+# Need to install by hand as there's a dependency loop
+DEPENDS:remove:class-native = " python3-build-native python3-installer-native"
+DEPENDS:append:class-native = " unzip-native"
+
+# We need the full flit tarball
+PYPI_PACKAGE = "flit"
+PEP517_SOURCE_PATH = "${S}/flit_core"
+
+do_compile:class-native () {
+ python_flit_core_do_manual_build
+}
+
+do_install:class-native () {
+ python_pep517_do_bootstrap_install
+}
+
+PACKAGES =+ "${PN}-tests"
+
+FILES:${PN}-tests += "\
+ ${PYTHON_SITEPACKAGES_DIR}/flit_core/tests/* \
+"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-git_3.1.11.bb b/meta/recipes-devtools/python/python3-git_3.1.11.bb
deleted file mode 100644
index 7c636572f3..0000000000
--- a/meta/recipes-devtools/python/python3-git_3.1.11.bb
+++ /dev/null
@@ -1,32 +0,0 @@
-SUMMARY = "Python library used to interact with Git repositories"
-DESCRIPTION = "GitPython provides object model read and write access to \
-a git repository. Access repository information conveniently, alter the \
-index directly, handle remotes, or go down to low-level object database \
-access with big-files support."
-HOMEPAGE = "http://github.com/gitpython-developers/GitPython"
-SECTION = "devel/python"
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=8b8d26c37c1d5a04f9b0186edbebc183"
-
-PYPI_PACKAGE = "GitPython"
-
-inherit pypi setuptools3
-
-SRC_URI[sha256sum] = "befa4d101f91bad1b632df4308ec64555db684c360bd7d2130b4807d49ce86b8"
-
-DEPENDS += " ${PYTHON_PN}-gitdb"
-
-RDEPENDS_${PN} += " \
- ${PYTHON_PN}-datetime \
- ${PYTHON_PN}-gitdb \
- ${PYTHON_PN}-io \
- ${PYTHON_PN}-logging \
- ${PYTHON_PN}-math \
- ${PYTHON_PN}-netclient \
- ${PYTHON_PN}-stringold \
- ${PYTHON_PN}-unittest \
- ${PYTHON_PN}-unixadmin \
- git \
-"
-
-BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-git_3.1.43.bb b/meta/recipes-devtools/python/python3-git_3.1.43.bb
new file mode 100644
index 0000000000..45c988117b
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-git_3.1.43.bb
@@ -0,0 +1,32 @@
+SUMMARY = "Python library used to interact with Git repositories"
+DESCRIPTION = "GitPython provides object model read and write access to \
+a git repository. Access repository information conveniently, alter the \
+index directly, handle remotes, or go down to low-level object database \
+access with big-files support."
+HOMEPAGE = "http://github.com/gitpython-developers/GitPython"
+SECTION = "devel/python"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=5279a7ab369ba336989dcf2a107e5c8e"
+
+PYPI_PACKAGE = "GitPython"
+
+inherit pypi python_setuptools_build_meta
+
+SRC_URI[sha256sum] = "35f314a9f878467f5453cc1fee295c3e18e52f1b99f10f6cf5b1682e968a9e7c"
+
+DEPENDS += " python3-gitdb"
+
+RDEPENDS:${PN} += " \
+ python3-datetime \
+ python3-gitdb \
+ python3-io \
+ python3-logging \
+ python3-math \
+ python3-netclient \
+ python3-stringold \
+ python3-unittest \
+ python3-unixadmin \
+ git \
+"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-gitdb_4.0.11.bb b/meta/recipes-devtools/python/python3-gitdb_4.0.11.bb
new file mode 100644
index 0000000000..25e1a2df7e
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-gitdb_4.0.11.bb
@@ -0,0 +1,22 @@
+SUMMARY = "A pure-Python git object database"
+HOMEPAGE = "http://github.com/gitpython-developers/gitdb"
+SECTION = "devel/python"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=59e5ecb13339a936eedf83282eaf4528"
+
+DEPENDS = "python3-smmap"
+
+inherit pypi setuptools3
+
+PYPI_PACKAGE = "gitdb"
+
+SRC_URI[sha256sum] = "bf5421126136d6d0af55bc1e7c1af1c397a34f5b7bd79e776cd3e89785c2b04b"
+
+RDEPENDS:${PN} += "python3-compression \
+ python3-crypt \
+ python3-io \
+ python3-mmap \
+ python3-shell \
+ python3-smmap \
+"
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-gitdb_4.0.5.bb b/meta/recipes-devtools/python/python3-gitdb_4.0.5.bb
deleted file mode 100644
index fe56bf9640..0000000000
--- a/meta/recipes-devtools/python/python3-gitdb_4.0.5.bb
+++ /dev/null
@@ -1,4 +0,0 @@
-inherit setuptools3
-require python-gitdb.inc
-
-SRC_URI[md5sum] = "0e2d3f34efece5deda7c55fede6507cc"
diff --git a/meta/recipes-devtools/python/python3-hatch-fancy-pypi-readme_24.1.0.bb b/meta/recipes-devtools/python/python3-hatch-fancy-pypi-readme_24.1.0.bb
new file mode 100644
index 0000000000..1e5c67f832
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-hatch-fancy-pypi-readme_24.1.0.bb
@@ -0,0 +1,14 @@
+SUMMARY = "Hatch plugin for fancy PyPI readmes "
+HOMEPAGE = "https://pypi.org/project/hatch-fancy-pypi-readme/"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ba5633c60bd3e243091013aa83b4d807"
+
+inherit pypi python_hatchling
+
+PYPI_PACKAGE = "hatch_fancy_pypi_readme"
+
+SRC_URI[sha256sum] = "44dd239f1a779b9dcf8ebc9401a611fd7f7e3e14578dcf22c265dfaf7c1514b8"
+
+BBCLASSEXTEND = "native nativesdk"
+
+UPSTREAM_CHECK_REGEX = "/hatch-fancy-pypi-readme/(?P<pver>(\d+[\.\-_]*)+)/"
diff --git a/meta/recipes-devtools/python/python3-hatch-vcs_0.4.0.bb b/meta/recipes-devtools/python/python3-hatch-vcs_0.4.0.bb
new file mode 100644
index 0000000000..2e49aba469
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-hatch-vcs_0.4.0.bb
@@ -0,0 +1,14 @@
+SUMMARY = "Hatch plugin for versioning with your preferred VCS"
+HOMEPAGE = "https://pypi.org/project/hatch-vcs/"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=26501cfd0bbddf830ee820e95551fa3d"
+
+inherit pypi python_hatchling
+
+PYPI_PACKAGE = "hatch_vcs"
+
+SRC_URI[sha256sum] = "093810748fe01db0d451fabcf2c1ac2688caefd232d4ede967090b1c1b07d9f7"
+
+BBCLASSEXTEND = "native nativesdk"
+
+UPSTREAM_CHECK_REGEX = "/hatch-vcs/(?P<pver>(\d+[\.\-_]*)+)/"
diff --git a/meta/recipes-devtools/python/python3-hatchling_1.24.2.bb b/meta/recipes-devtools/python/python3-hatchling_1.24.2.bb
new file mode 100644
index 0000000000..0ad545f448
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-hatchling_1.24.2.bb
@@ -0,0 +1,17 @@
+SUMMARY = "The extensible, standards compliant build backend used by Hatch"
+HOMEPAGE = "https://hatch.pypa.io/"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=cbe2fd33fc9297692812fc94b7d27fd9"
+
+inherit pypi python_hatchling
+
+DEPENDS += "python3-pluggy-native python3-pathspec-native python3-packaging-native python3-editables-native python3-trove-classifiers-native"
+DEPENDS:remove:class-native = "python3-hatchling-native"
+
+SRC_URI[sha256sum] = "41ddc27cdb25db9ef7b68bef075f829c84cb349aa1bff8240797d012510547b0"
+
+do_compile:prepend() {
+ export PYTHONPATH=src
+}
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-hypothesis/run-ptest b/meta/recipes-devtools/python/python3-hypothesis/run-ptest
new file mode 100644
index 0000000000..54f6e7930f
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-hypothesis/run-ptest
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+# Upstream "fast" tests take about 5 minutes and currently do not run cleanly
+# (tests/cover and tests/pytest)
+# https://github.com/HypothesisWorks/hypothesis/tree/master/hypothesis-python/tests
+# https://github.com/HypothesisWorks/hypothesis/blob/master/hypothesis-python/scripts/basic-test.sh#L18
+#
+# Instead we run two test suites imported from examples/
+
+pytest --automake
diff --git a/meta/recipes-devtools/python/python3-hypothesis/test_binary_search.py b/meta/recipes-devtools/python/python3-hypothesis/test_binary_search.py
new file mode 100644
index 0000000000..21267c4ac2
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-hypothesis/test_binary_search.py
@@ -0,0 +1,135 @@
+# This file is part of Hypothesis, which may be found at
+# https://github.com/HypothesisWorks/hypothesis/
+#
+# Most of this work is copyright (C) 2013-2021 David R. MacIver
+# (david@drmaciver.com), but it contains contributions by others. See
+# CONTRIBUTING.rst for a full list of people who may hold copyright, and
+# consult the git log if you need to determine who owns an individual
+# contribution.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public License,
+# v. 2.0. If a copy of the MPL was not distributed with this file, You can
+# obtain one at https://mozilla.org/MPL/2.0/.
+#
+# END HEADER
+#
+# SPDX-License-Identifier: MPL-2.0
+
+"""This file demonstrates testing a binary search.
+
+It's a useful example because the result of the binary search is so clearly
+determined by the invariants it must satisfy, so we can simply test for those
+invariants.
+
+It also demonstrates the useful testing technique of testing how the answer
+should change (or not) in response to movements in the underlying data.
+"""
+
+from hypothesis import given, strategies as st
+
+
+def binary_search(ls, v):
+ """Take a list ls and a value v such that ls is sorted and v is comparable
+ with the elements of ls.
+
+ Return an index i such that 0 <= i <= len(v) with the properties:
+
+ 1. ls.insert(i, v) is sorted
+ 2. ls.insert(j, v) is not sorted for j < i
+ """
+ # Without this check we will get an index error on the next line when the
+ # list is empty.
+ if not ls:
+ return 0
+
+ # Without this check we will miss the case where the insertion point should
+ # be zero: The invariant we maintain in the next section is that lo is
+ # always strictly lower than the insertion point.
+ if v <= ls[0]:
+ return 0
+
+ # Invariant: There is no insertion point i with i <= lo
+ lo = 0
+
+ # Invariant: There is an insertion point i with i <= hi
+ hi = len(ls)
+ while lo + 1 < hi:
+ mid = (lo + hi) // 2
+ if v > ls[mid]:
+ # Inserting v anywhere below mid would result in an unsorted list
+ # because it's > the value at mid. Therefore mid is a valid new lo
+ lo = mid
+ # Uncommenting the following lines will cause this to return a valid
+ # insertion point which is not always minimal.
+ # elif v == ls[mid]:
+ # return mid
+ else:
+ # Either v == ls[mid] in which case mid is a valid insertion point
+ # or v < ls[mid], in which case all valid insertion points must be
+ # < hi. Either way, mid is a valid new hi.
+ hi = mid
+ assert lo + 1 == hi
+ # We now know that there is a valid insertion point <= hi and there is no
+ # valid insertion point < hi because hi - 1 is lo. Therefore hi is the
+ # answer we were seeking
+ return hi
+
+
+def is_sorted(ls):
+ """Is this list sorted?"""
+ for i in range(len(ls) - 1):
+ if ls[i] > ls[i + 1]:
+ return False
+ return True
+
+
+Values = st.integers()
+
+# We generate arbitrary lists and turn this into generating sorting lists
+# by just sorting them.
+SortedLists = st.lists(Values).map(sorted)
+
+# We could also do it this way, but that would be a bad idea:
+# SortedLists = st.lists(Values).filter(is_sorted)
+# The problem is that Hypothesis will only generate long sorted lists with very
+# low probability, so we are much better off post-processing values into the
+# form we want than filtering them out.
+
+
+@given(ls=SortedLists, v=Values)
+def test_insert_is_sorted(ls, v):
+ """We test the first invariant: binary_search should return an index such
+ that inserting the value provided at that index would result in a sorted
+ set."""
+ ls.insert(binary_search(ls, v), v)
+ assert is_sorted(ls)
+
+
+@given(ls=SortedLists, v=Values)
+def test_is_minimal(ls, v):
+ """We test the second invariant: binary_search should return an index such
+ that no smaller index is a valid insertion point for v."""
+ for i in range(binary_search(ls, v)):
+ ls2 = list(ls)
+ ls2.insert(i, v)
+ assert not is_sorted(ls2)
+
+
+@given(ls=SortedLists, v=Values)
+def test_inserts_into_same_place_twice(ls, v):
+ """In this we test a *consequence* of the second invariant: When we insert
+ a value into a list twice, the insertion point should be the same both
+ times. This is because we know that v is > the previous element and == the
+ next element.
+
+ In theory if the former passes, this should always pass. In practice,
+ failures are detected by this test with much higher probability because it
+ deliberately puts the data into a shape that is likely to trigger a
+ failure.
+
+ This is an instance of a good general category of test: Testing how the
+ function moves in responses to changes in the underlying data.
+ """
+ i = binary_search(ls, v)
+ ls.insert(i, v)
+ assert binary_search(ls, v) == i
diff --git a/meta/recipes-devtools/python/python3-hypothesis/test_rle.py b/meta/recipes-devtools/python/python3-hypothesis/test_rle.py
new file mode 100644
index 0000000000..4d618865ac
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-hypothesis/test_rle.py
@@ -0,0 +1,101 @@
+# This file is part of Hypothesis, which may be found at
+# https://github.com/HypothesisWorks/hypothesis/
+#
+# Most of this work is copyright (C) 2013-2021 David R. MacIver
+# (david@drmaciver.com), but it contains contributions by others. See
+# CONTRIBUTING.rst for a full list of people who may hold copyright, and
+# consult the git log if you need to determine who owns an individual
+# contribution.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public License,
+# v. 2.0. If a copy of the MPL was not distributed with this file, You can
+# obtain one at https://mozilla.org/MPL/2.0/.
+#
+# END HEADER
+#
+# SPDX-License-Identifier: MPL-2.0
+
+"""This example demonstrates testing a run length encoding scheme. That is, we
+take a sequence and represent it by a shorter sequence where each 'run' of
+consecutive equal elements is represented as a single element plus a count. So
+e.g.
+
+[1, 1, 1, 1, 2, 1] is represented as [[1, 4], [2, 1], [1, 1]]
+
+This demonstrates the useful decode(encode(x)) == x invariant that is often
+a fruitful source of testing with Hypothesis.
+
+It also has an example of testing invariants in response to changes in the
+underlying data.
+"""
+
+from hypothesis import assume, given, strategies as st
+
+
+def run_length_encode(seq):
+ """Encode a sequence as a new run-length encoded sequence."""
+ if not seq:
+ return []
+ # By starting off the count at zero we simplify the iteration logic
+ # slightly.
+ result = [[seq[0], 0]]
+ for s in seq:
+ if (
+ # If you uncomment this line this branch will be skipped and we'll
+ # always append a new run of length 1. Note which tests fail.
+ # False and
+ s
+ == result[-1][0]
+ # Try uncommenting this line and see what problems occur:
+ # and result[-1][-1] < 2
+ ):
+ result[-1][1] += 1
+ else:
+ result.append([s, 1])
+ return result
+
+
+def run_length_decode(seq):
+ """Take a previously encoded sequence and reconstruct the original from
+ it."""
+ result = []
+ for s, i in seq:
+ for _ in range(i):
+ result.append(s)
+ return result
+
+
+# We use lists of a type that should have a relatively high duplication rate,
+# otherwise we'd almost never get any runs.
+Lists = st.lists(st.integers(0, 10))
+
+
+@given(Lists)
+def test_decodes_to_starting_sequence(ls):
+ """If we encode a sequence and then decode the result, we should get the
+ original sequence back.
+
+ Otherwise we've done something very wrong.
+ """
+ assert run_length_decode(run_length_encode(ls)) == ls
+
+
+@given(Lists, st.data())
+def test_duplicating_an_element_does_not_increase_length(ls, data):
+ """The previous test could be passed by simply returning the input sequence
+ so we need something that tests the compression property of our encoding.
+
+ In this test we deliberately introduce or extend a run and assert
+ that this does not increase the length of our encoding, because they
+ should be part of the same run in the final result.
+ """
+ # We use assume to get a valid index into the list. We could also have used
+ # e.g. flatmap, but this is relatively straightforward and will tend to
+ # perform better.
+ assume(ls)
+ i = data.draw(st.integers(0, len(ls) - 1))
+ ls2 = list(ls)
+ # duplicating the value at i right next to it guarantees they are part of
+ # the same run in the resulting compression.
+ ls2.insert(i, ls2[i])
+ assert len(run_length_encode(ls2)) == len(run_length_encode(ls))
diff --git a/meta/recipes-devtools/python/python3-hypothesis_6.103.0.bb b/meta/recipes-devtools/python/python3-hypothesis_6.103.0.bb
new file mode 100644
index 0000000000..18ef7992a1
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-hypothesis_6.103.0.bb
@@ -0,0 +1,39 @@
+SUMMARY = "A library for property-based testing"
+HOMEPAGE = "https://github.com/HypothesisWorks/hypothesis/tree/master/hypothesis-python"
+LICENSE = "MPL-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4ee62c16ebd0f4f99d906f36b7de8c3c"
+
+PYPI_PACKAGE = "hypothesis"
+
+inherit pypi setuptools3 ptest
+
+SRC_URI += " \
+ file://run-ptest \
+ file://test_binary_search.py \
+ file://test_rle.py \
+ "
+
+SRC_URI[sha256sum] = "7fe91917b99fc98ac150ec295775a687448c7c42c2276ab6e4a6969a4b285bb5"
+
+RDEPENDS:${PN} += " \
+ python3-attrs \
+ python3-compression \
+ python3-core \
+ python3-json \
+ python3-pytest \
+ python3-sortedcontainers \
+ python3-statistics \
+ python3-unittest \
+ "
+
+RDEPENDS:${PN}-ptest += " \
+ python3-unittest-automake-output \
+ "
+
+do_install_ptest() {
+ install -d ${D}${PTEST_PATH}/examples
+ install -m 0755 ${UNPACKDIR}/test_binary_search.py ${D}${PTEST_PATH}/examples/
+ install -m 0755 ${UNPACKDIR}/test_rle.py ${D}${PTEST_PATH}/examples/
+}
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-idna_3.7.bb b/meta/recipes-devtools/python/python3-idna_3.7.bb
new file mode 100644
index 0000000000..729aff1c46
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-idna_3.7.bb
@@ -0,0 +1,14 @@
+SUMMARY = "Internationalised Domain Names in Applications"
+HOMEPAGE = "https://github.com/kjd/idna"
+LICENSE = "BSD-3-Clause & Python-2.0 & Unicode-TOU"
+LIC_FILES_CHKSUM = "file://LICENSE.md;md5=204c0612e40a4dd46012a78d02c80fb1"
+
+SRC_URI[sha256sum] = "028ff3aadf0609c1fd278d8ea3089299412a7a8b9bd005dd08b9f8285bcb5cfc"
+
+inherit pypi python_flit_core
+
+RDEPENDS:${PN}:class-target = "\
+ python3-codecs \
+"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-imagesize_1.4.1.bb b/meta/recipes-devtools/python/python3-imagesize_1.4.1.bb
new file mode 100644
index 0000000000..4edac0a533
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-imagesize_1.4.1.bb
@@ -0,0 +1,13 @@
+SUMMARY = "Parses image files’ header and return image size."
+HOMEPAGE = "https://github.com/shibukawa/imagesize_py"
+SECTION = "devel/python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=0c128f0f7e8a02e1b83884c0b5a41cda"
+
+SRC_URI[sha256sum] = "69150444affb9cb0d5cc5a92b3676f0b2fb7cd9ae39e947a5e11a36b4497cd4a"
+
+inherit setuptools3 pypi
+
+BBCLASSEXTEND = "native nativesdk"
+
+RDEPENDS:${PN} = "python3-xml"
diff --git a/meta/recipes-devtools/python/python3-importlib-metadata_7.1.0.bb b/meta/recipes-devtools/python/python3-importlib-metadata_7.1.0.bb
new file mode 100644
index 0000000000..fdb37cecef
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-importlib-metadata_7.1.0.bb
@@ -0,0 +1,20 @@
+SUMMARY = "Read metadata from Python packages"
+HOMEPAGE = "https://pypi.org/project/importlib-metadata/"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
+
+inherit pypi python_setuptools_build_meta
+
+PYPI_PACKAGE = "importlib_metadata"
+UPSTREAM_CHECK_REGEX = "/importlib-metadata/(?P<pver>(\d+[\.\-_]*)+)/"
+
+SRC_URI[sha256sum] = "b78938b926ee8d5f020fc4772d487045805a55ddbad2ecf21c6d60938dc7fcd2"
+
+S = "${WORKDIR}/importlib_metadata-${PV}"
+
+DEPENDS += "python3-setuptools-scm-native python3-toml-native"
+RDEPENDS:${PN} += "python3-zipp python3-pathlib2"
+RDEPENDS:${PN}:append:class-target = " python3-misc"
+RDEPENDS:${PN}:append:class-nativesdk = " python3-misc"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-iniconfig_2.0.0.bb b/meta/recipes-devtools/python/python3-iniconfig_2.0.0.bb
new file mode 100644
index 0000000000..2abeec62f4
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-iniconfig_2.0.0.bb
@@ -0,0 +1,13 @@
+SUMMARY = "A small and simple INI-file parser module"
+HOMEPAGE = "https://pypi.org/project/iniconfig/"
+
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=a6bb0320b04a0a503f12f69fea479de9"
+
+SRC_URI[sha256sum] = "2d91e135bf72d31a410b17c16da610a82cb55f6b0477d1a902134b24a455b8b3"
+
+DEPENDS += "python3-hatch-vcs-native"
+
+inherit pypi python_hatchling
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-iniparse/0001-Add-python-3-compatibility.patch b/meta/recipes-devtools/python/python3-iniparse/0001-Add-python-3-compatibility.patch
deleted file mode 100644
index 44090a20d0..0000000000
--- a/meta/recipes-devtools/python/python3-iniparse/0001-Add-python-3-compatibility.patch
+++ /dev/null
@@ -1,552 +0,0 @@
-From 8a98e4d44a5e59439a4b6bd95368cc362412c995 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin <alex.kanavin@gmail.com>
-Date: Fri, 24 Mar 2017 18:06:08 +0200
-Subject: [PATCH] Add python 3 compatibility.
-
-Taken from
-http://pkgs.fedoraproject.org/cgit/rpms/python-iniparse.git/tree/python-iniparse-python3-compat.patch
-
-Upstream-Status: Inappropriate [upstream is defunct]
-Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
----
- iniparse/__init__.py | 20 ++++++++++----------
- iniparse/compat.py | 30 ++++++++++++++++--------------
- iniparse/config.py | 16 ++++++++--------
- iniparse/configparser.py | 7 +++++++
- iniparse/ini.py | 20 ++++++++++++--------
- iniparse/utils.py | 4 ++--
- tests/__init__.py | 14 +++++++-------
- tests/test_compat.py | 23 +++++++++++++++--------
- tests/test_fuzz.py | 18 +++++++++---------
- tests/test_ini.py | 8 ++++----
- tests/test_misc.py | 4 ++--
- tests/test_tidy.py | 2 +-
- tests/test_unicode.py | 10 +++++-----
- 13 files changed, 98 insertions(+), 78 deletions(-)
- create mode 100644 iniparse/configparser.py
-
-diff --git a/iniparse/__init__.py b/iniparse/__init__.py
-index 8de756f..7193f92 100644
---- a/iniparse/__init__.py
-+++ b/iniparse/__init__.py
-@@ -3,17 +3,17 @@
- # Copyright (c) 2007 Tim Lauridsen <tla@rasmil.dk>
- # All Rights Reserved. See LICENSE-PSF & LICENSE for details.
-
--from ini import INIConfig, change_comment_syntax
--from config import BasicConfig, ConfigNamespace
--from compat import RawConfigParser, ConfigParser, SafeConfigParser
--from utils import tidy
-+from .ini import INIConfig, change_comment_syntax
-+from .config import BasicConfig, ConfigNamespace
-+from .compat import RawConfigParser, ConfigParser, SafeConfigParser
-+from .utils import tidy
-
--from ConfigParser import DuplicateSectionError, \
-- NoSectionError, NoOptionError, \
-- InterpolationMissingOptionError, \
-- InterpolationDepthError, \
-- InterpolationSyntaxError, \
-- DEFAULTSECT, MAX_INTERPOLATION_DEPTH
-+from .configparser import DuplicateSectionError, \
-+ NoSectionError, NoOptionError, \
-+ InterpolationMissingOptionError, \
-+ InterpolationDepthError, \
-+ InterpolationSyntaxError, \
-+ DEFAULTSECT, MAX_INTERPOLATION_DEPTH
-
- __all__ = [
- 'BasicConfig', 'ConfigNamespace',
-diff --git a/iniparse/compat.py b/iniparse/compat.py
-index db89ed8..f95c25c 100644
---- a/iniparse/compat.py
-+++ b/iniparse/compat.py
-@@ -12,19 +12,21 @@ The underlying INIConfig object can be accessed as cfg.data
- """
-
- import re
--from ConfigParser import DuplicateSectionError, \
-- NoSectionError, NoOptionError, \
-- InterpolationMissingOptionError, \
-- InterpolationDepthError, \
-- InterpolationSyntaxError, \
-- DEFAULTSECT, MAX_INTERPOLATION_DEPTH
-+from .configparser import DuplicateSectionError, \
-+ NoSectionError, NoOptionError, \
-+ InterpolationMissingOptionError, \
-+ InterpolationDepthError, \
-+ InterpolationSyntaxError, \
-+ DEFAULTSECT, MAX_INTERPOLATION_DEPTH
-
- # These are imported only for compatiability.
- # The code below does not reference them directly.
--from ConfigParser import Error, InterpolationError, \
-- MissingSectionHeaderError, ParsingError
-+from .configparser import Error, InterpolationError, \
-+ MissingSectionHeaderError, ParsingError
-
--import ini
-+import six
-+
-+from . import ini
-
- class RawConfigParser(object):
- def __init__(self, defaults=None, dict_type=dict):
-@@ -56,7 +58,7 @@ class RawConfigParser(object):
- # The default section is the only one that gets the case-insensitive
- # treatment - so it is special-cased here.
- if section.lower() == "default":
-- raise ValueError, 'Invalid section name: %s' % section
-+ raise ValueError('Invalid section name: %s' % section)
-
- if self.has_section(section):
- raise DuplicateSectionError(section)
-@@ -88,7 +90,7 @@ class RawConfigParser(object):
- filename may also be given.
- """
- files_read = []
-- if isinstance(filenames, basestring):
-+ if isinstance(filenames, six.string_types):
- filenames = [filenames]
- for filename in filenames:
- try:
-@@ -143,7 +145,7 @@ class RawConfigParser(object):
- def getboolean(self, section, option):
- v = self.get(section, option)
- if v.lower() not in self._boolean_states:
-- raise ValueError, 'Not a boolean: %s' % v
-+ raise ValueError('Not a boolean: %s' % v)
- return self._boolean_states[v.lower()]
-
- def has_option(self, section, option):
-@@ -234,7 +236,7 @@ class ConfigParser(RawConfigParser):
- if "%(" in value:
- try:
- value = value % vars
-- except KeyError, e:
-+ except KeyError as e:
- raise InterpolationMissingOptionError(
- option, section, rawval, e.args[0])
- else:
-@@ -283,7 +285,7 @@ class SafeConfigParser(ConfigParser):
- _badpercent_re = re.compile(r"%[^%]|%$")
-
- def set(self, section, option, value):
-- if not isinstance(value, basestring):
-+ if not isinstance(value, six.string_types):
- raise TypeError("option values must be strings")
- # check for bad percent signs:
- # first, replace all "good" interpolations
-diff --git a/iniparse/config.py b/iniparse/config.py
-index 5cfa2ea..3b28549 100644
---- a/iniparse/config.py
-+++ b/iniparse/config.py
-@@ -143,7 +143,7 @@ class BasicConfig(ConfigNamespace):
-
- >>> n.aaa = 42
- >>> del n.x
-- >>> print n
-+ >>> print(n)
- aaa = 42
- name.first = paramjit
- name.last = oberoi
-@@ -152,7 +152,7 @@ class BasicConfig(ConfigNamespace):
-
- >>> isinstance(n.name, ConfigNamespace)
- True
-- >>> print n.name
-+ >>> print(n.name)
- first = paramjit
- last = oberoi
- >>> sorted(list(n.name))
-@@ -160,7 +160,7 @@ class BasicConfig(ConfigNamespace):
-
- Finally, values can be read from a file as follows:
-
-- >>> from StringIO import StringIO
-+ >>> from six import StringIO
- >>> sio = StringIO('''
- ... # comment
- ... ui.height = 100
-@@ -171,7 +171,7 @@ class BasicConfig(ConfigNamespace):
- ... ''')
- >>> n = BasicConfig()
- >>> n._readfp(sio)
-- >>> print n
-+ >>> print(n)
- complexity = medium
- data.secret.password = goodness=gracious me
- have_python
-@@ -199,7 +199,7 @@ class BasicConfig(ConfigNamespace):
-
- def __str__(self, prefix=''):
- lines = []
-- keys = self._data.keys()
-+ keys = list(self._data.keys())
- keys.sort()
- for name in keys:
- value = self._data[name]
-@@ -258,7 +258,7 @@ def update_config(target, source):
- >>> n.ui.display_clock = True
- >>> n.ui.display_qlength = True
- >>> n.ui.width = 150
-- >>> print n
-+ >>> print(n)
- playlist.expand_playlist = True
- ui.display_clock = True
- ui.display_qlength = True
-@@ -267,7 +267,7 @@ def update_config(target, source):
- >>> from iniparse import ini
- >>> i = ini.INIConfig()
- >>> update_config(i, n)
-- >>> print i
-+ >>> print(i)
- [playlist]
- expand_playlist = True
- <BLANKLINE>
-@@ -277,7 +277,7 @@ def update_config(target, source):
- width = 150
-
- """
-- for name in source:
-+ for name in sorted(source):
- value = source[name]
- if isinstance(value, ConfigNamespace):
- if name in target:
-diff --git a/iniparse/configparser.py b/iniparse/configparser.py
-new file mode 100644
-index 0000000..c543d50
---- /dev/null
-+++ b/iniparse/configparser.py
-@@ -0,0 +1,7 @@
-+try:
-+ from ConfigParser import *
-+ # not all objects get imported with __all__
-+ from ConfigParser import Error, InterpolationMissingOptionError
-+except ImportError:
-+ from configparser import *
-+ from configparser import Error, InterpolationMissingOptionError
-diff --git a/iniparse/ini.py b/iniparse/ini.py
-index 408354d..052d9e9 100644
---- a/iniparse/ini.py
-+++ b/iniparse/ini.py
-@@ -7,7 +7,7 @@
-
- Example:
-
-- >>> from StringIO import StringIO
-+ >>> from six import StringIO
- >>> sio = StringIO('''# configure foo-application
- ... [foo]
- ... bar1 = qualia
-@@ -16,14 +16,14 @@ Example:
- ... special = 1''')
-
- >>> cfg = INIConfig(sio)
-- >>> print cfg.foo.bar1
-+ >>> print(cfg.foo.bar1)
- qualia
-- >>> print cfg['foo-ext'].special
-+ >>> print(cfg['foo-ext'].special)
- 1
- >>> cfg.foo.newopt = 'hi!'
- >>> cfg.baz.enabled = 0
-
-- >>> print cfg
-+ >>> print(cfg)
- # configure foo-application
- [foo]
- bar1 = qualia
-@@ -42,9 +42,11 @@ Example:
- # Backward-compatiable with ConfigParser
-
- import re
--from ConfigParser import DEFAULTSECT, ParsingError, MissingSectionHeaderError
-+from .configparser import DEFAULTSECT, ParsingError, MissingSectionHeaderError
-
--import config
-+import six
-+
-+from . import config
-
- class LineType(object):
- line = None
-@@ -278,6 +280,8 @@ class LineContainer(object):
- value = property(get_value, set_value)
-
- def __str__(self):
-+ for c in self.contents:
-+ pass#print(c.__str__())
- s = [x.__str__() for x in self.contents]
- return '\n'.join(s)
-
-@@ -465,7 +469,7 @@ class INIConfig(config.ConfigNamespace):
- self._sections = {}
- if defaults is None: defaults = {}
- self._defaults = INISection(LineContainer(), optionxformsource=self)
-- for name, value in defaults.iteritems():
-+ for name, value in defaults.items():
- self._defaults[name] = value
- if fp is not None:
- self._readfp(fp)
-@@ -551,7 +555,7 @@ class INIConfig(config.ConfigNamespace):
-
- for line in readline_iterator(fp):
- # Check for BOM on first line
-- if linecount == 0 and isinstance(line, unicode):
-+ if linecount == 0 and isinstance(line, six.text_type):
- if line[0] == u'\ufeff':
- line = line[1:]
- self._bom = True
-diff --git a/iniparse/utils.py b/iniparse/utils.py
-index 829fc28..f8b773a 100644
---- a/iniparse/utils.py
-+++ b/iniparse/utils.py
-@@ -1,5 +1,5 @@
--import compat
--from ini import LineContainer, EmptyLine
-+from . import compat
-+from .ini import LineContainer, EmptyLine
-
- def tidy(cfg):
- """Clean up blank lines.
-diff --git a/tests/__init__.py b/tests/__init__.py
-index f1fa321..88689fb 100644
---- a/tests/__init__.py
-+++ b/tests/__init__.py
-@@ -1,12 +1,12 @@
- import unittest, doctest
-
--import test_ini
--import test_misc
--import test_fuzz
--import test_compat
--import test_unicode
--import test_tidy
--import test_multiprocessing
-+from . import test_ini
-+from . import test_misc
-+from . import test_fuzz
-+from . import test_compat
-+from . import test_unicode
-+from . import test_tidy
-+from . import test_multiprocessing
- from iniparse import config
- from iniparse import ini
-
-diff --git a/tests/test_compat.py b/tests/test_compat.py
-index b8da3d5..b6dfb5c 100644
---- a/tests/test_compat.py
-+++ b/tests/test_compat.py
-@@ -1,9 +1,16 @@
- from iniparse import compat as ConfigParser
--import StringIO
-+from six import StringIO
-+try:
-+ import UserDict
-+except ImportError:
-+ import collections as UserDict
- import unittest
--import UserDict
-
--from test import test_support
-+import sys
-+if sys.version_info[0] < 3:
-+ from test import test_support
-+else:
-+ from test import support as test_support
-
- class SortedDict(UserDict.UserDict):
- def items(self):
-@@ -35,7 +42,7 @@ class TestCaseBase(unittest.TestCase):
-
- def fromstring(self, string, defaults=None):
- cf = self.newconfig(defaults)
-- sio = StringIO.StringIO(string)
-+ sio = StringIO(string)
- cf.readfp(sio)
- return cf
-
-@@ -161,7 +168,7 @@ class TestCaseBase(unittest.TestCase):
- "No Section!\n")
-
- def parse_error(self, exc, src):
-- sio = StringIO.StringIO(src)
-+ sio = StringIO(src)
- self.assertRaises(exc, self.cf.readfp, sio)
-
- def test_query_errors(self):
-@@ -181,7 +188,7 @@ class TestCaseBase(unittest.TestCase):
- def get_error(self, exc, section, option):
- try:
- self.cf.get(section, option)
-- except exc, e:
-+ except exc as e:
- return e
- else:
- self.fail("expected exception type %s.%s"
-@@ -227,7 +234,7 @@ class TestCaseBase(unittest.TestCase):
- "foo: another very\n"
- " long line"
- )
-- output = StringIO.StringIO()
-+ output = StringIO()
- cf.write(output)
- self.assertEqual(
- output.getvalue(),
-@@ -465,7 +472,7 @@ class SortedTestCase(RawConfigParserTestCase):
- "o1=4\n"
- "[a]\n"
- "k=v\n")
-- output = StringIO.StringIO()
-+ output = StringIO()
- self.cf.write(output)
- self.assertEquals(output.getvalue(),
- "[a]\n"
-diff --git a/tests/test_fuzz.py b/tests/test_fuzz.py
-index 5420dcc..b219500 100644
---- a/tests/test_fuzz.py
-+++ b/tests/test_fuzz.py
-@@ -1,9 +1,10 @@
- import re
- import os
- import random
-+import sys
- import unittest
--import ConfigParser
--from StringIO import StringIO
-+from six import StringIO
-+from six.moves import configparser
- from iniparse import compat, ini, tidy
-
- # TODO:
-@@ -96,24 +97,25 @@ class test_fuzz(unittest.TestCase):
- s = '\n'.join(good_lines)
- cc = compat.RawConfigParser()
- cc.readfp(StringIO(s))
-- cc_py = ConfigParser.RawConfigParser()
-+ cc_py = configparser.RawConfigParser()
- cc_py.readfp(StringIO(s))
- # compare the two configparsers
- self.assertEqualConfig(cc_py, cc)
- # check that tidy does not change semantics
- tidy(cc)
-- cc_tidy = ConfigParser.RawConfigParser()
-+ cc_tidy = configparser.RawConfigParser()
- cc_tidy.readfp(StringIO(str(cc.data)))
- self.assertEqualConfig(cc_py, cc_tidy)
- except AssertionError:
- fname = 'fuzz-test-iter-%d.ini' % fuzz_iter
-- print 'Fuzz test failed at iteration', fuzz_iter
-- print 'Writing out failing INI file as', fname
-+ print('Fuzz test failed at iteration', fuzz_iter)
-+ print('Writing out failing INI file as', fname)
- f = open(fname, 'w')
- f.write(s)
- f.close()
- raise
-
-+ @unittest.skipIf(sys.version_info[0] > 2, 'http://code.google.com/p/iniparse/issues/detail?id=22#c9')
- def assertEqualConfig(self, c1, c2):
- self.assertEqualSorted(c1.sections(), c2.sections())
- self.assertEqualSorted(c1.defaults().items(), c2.defaults().items())
-@@ -123,9 +125,7 @@ class test_fuzz(unittest.TestCase):
- self.assertEqual(c1.get(sec, opt), c2.get(sec, opt))
-
- def assertEqualSorted(self, l1, l2):
-- l1.sort()
-- l2.sort()
-- self.assertEqual(l1, l2)
-+ self.assertEqual(sorted(l1), sorted(l2))
-
- class suite(unittest.TestSuite):
- def __init__(self):
-diff --git a/tests/test_ini.py b/tests/test_ini.py
-index 6a76edb..07d4f4e 100644
---- a/tests/test_ini.py
-+++ b/tests/test_ini.py
-@@ -1,5 +1,5 @@
- import unittest
--from StringIO import StringIO
-+from six import StringIO
-
- from iniparse import ini
- from iniparse import compat
-@@ -196,13 +196,13 @@ but = also me
- self.assertEqual(p._data.find('section2').find('just').value, 'kidding')
-
- itr = p._data.finditer('section1')
-- v = itr.next()
-+ v = next(itr)
- self.assertEqual(v.find('help').value, 'yourself')
- self.assertEqual(v.find('but').value, 'also me')
-- v = itr.next()
-+ v = next(itr)
- self.assertEqual(v.find('help').value, 'me')
- self.assertEqual(v.find('I\'m').value, 'desperate')
-- self.assertRaises(StopIteration, itr.next)
-+ self.assertRaises(StopIteration, next, itr)
-
- self.assertRaises(KeyError, p._data.find, 'section')
- self.assertRaises(KeyError, p._data.find('section2').find, 'ahem')
-diff --git a/tests/test_misc.py b/tests/test_misc.py
-index 31cf4da..96ef035 100644
---- a/tests/test_misc.py
-+++ b/tests/test_misc.py
-@@ -1,9 +1,9 @@
- import re
- import unittest
- import pickle
--import ConfigParser
-+from six.moves import configparser
-+from six import StringIO
- from textwrap import dedent
--from StringIO import StringIO
- from iniparse import compat, ini
-
- class CaseSensitiveConfigParser(compat.ConfigParser):
-diff --git a/tests/test_tidy.py b/tests/test_tidy.py
-index 7304747..26b6cde 100644
---- a/tests/test_tidy.py
-+++ b/tests/test_tidy.py
-@@ -1,6 +1,6 @@
- import unittest
- from textwrap import dedent
--from StringIO import StringIO
-+from six import StringIO
-
- from iniparse import tidy,INIConfig
- from iniparse.ini import EmptyLine
-diff --git a/tests/test_unicode.py b/tests/test_unicode.py
-index a56fcab..14d4fbd 100644
---- a/tests/test_unicode.py
-+++ b/tests/test_unicode.py
-@@ -1,5 +1,5 @@
- import unittest
--from StringIO import StringIO
-+import six
- from iniparse import compat, ini
-
- class test_unicode(unittest.TestCase):
-@@ -17,14 +17,14 @@ baz = Marc-Andr\202
- """
-
- def basic_tests(self, s, strable):
-- f = StringIO(s)
-+ f = six.StringIO(s)
- i = ini.INIConfig(f)
-- self.assertEqual(unicode(i), s)
-- self.assertEqual(type(i.foo.bar), unicode)
-+ self.assertEqual(six.text_type(i), s)
-+ self.assertEqual(type(i.foo.bar), six.text_type)
- if strable:
- self.assertEqual(str(i), str(s))
- else:
-- self.assertRaises(UnicodeEncodeError, lambda: str(i))
-+ self.assertRaises(UnicodeEncodeError, lambda: six.text_type(i).encode('ascii'))
- return i
-
- def test_ascii(self):
---
-2.11.0
-
diff --git a/meta/recipes-devtools/python/python3-iniparse_0.4.bb b/meta/recipes-devtools/python/python3-iniparse_0.5.bb
index 47cd6598cc..c18949014b 100644
--- a/meta/recipes-devtools/python/python3-iniparse_0.4.bb
+++ b/meta/recipes-devtools/python/python3-iniparse_0.5.bb
@@ -1,17 +1,14 @@
SUMMARY = "Accessing and Modifying INI files"
HOMEPAGE = "https://pypi.org/project/iniparse/"
-LICENSE = "MIT & PSF"
+LICENSE = "MIT & PSF-2.0"
LIC_FILES_CHKSUM = "file://LICENSE-PSF;md5=1c78a5bb3584b353496d5f6f34edb4b2 \
file://LICENSE;md5=52f28065af11d69382693b45b5a8eb54"
-SRC_URI = "file://0001-Add-python-3-compatibility.patch "
+SRC_URI[sha256sum] = "932e5239d526e7acb504017bb707be67019ac428a6932368e6851691093aa842"
-SRC_URI[md5sum] = "5e573e9e9733d97623881ce9bbe5eca6"
-SRC_URI[sha256sum] = "abc1ee12d2cfb2506109072d6c21e40b6c75a3fe90a9c924327d80bc0d99c054"
+inherit pypi setuptools3
-inherit pypi distutils3
-
-RDEPENDS_${PN} += "python3-core python3-six"
+RDEPENDS:${PN} += "python3-core python3-six"
DEPENDS += "python3-six"
BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-installer/interpreter.patch b/meta/recipes-devtools/python/python3-installer/interpreter.patch
new file mode 100644
index 0000000000..7906769b90
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-installer/interpreter.patch
@@ -0,0 +1,71 @@
+From 74fe171fa4a25c120607e9f8450cbdfee675c959 Mon Sep 17 00:00:00 2001
+From: Ross Burton <ross.burton@arm.com>
+Date: Mon, 14 Mar 2022 14:39:22 +0000
+Subject: [PATCH] python3-installer: add installer module
+
+Let us override the hashbang directly (possibly upstreamable), and don't
+play games with hashbangs: for now assume that even hashbangs with spaces
+are simple (assume the spaces are only used to separate arguments) and
+we don't have long hashbangs.
+
+Upstream-Status: Inappropriate
+Signed-off-by: Ross Burton <ross.burton@arm.com>
+
+---
+ src/installer/__main__.py | 9 ++++++++-
+ src/installer/scripts.py | 15 +--------------
+ 2 files changed, 9 insertions(+), 15 deletions(-)
+
+diff --git a/src/installer/__main__.py b/src/installer/__main__.py
+index 51014b9..38de286 100644
+--- a/src/installer/__main__.py
++++ b/src/installer/__main__.py
+@@ -30,6 +30,13 @@ def _get_main_parser() -> argparse.ArgumentParser:
+ type=str,
+ help="override prefix to install packages to",
+ )
++ parser.add_argument(
++ "--interpreter",
++ "-i",
++ type=str,
++ default=sys.executable,
++ help=f"interpreter (defaults to {sys.executable})",
++ )
+ parser.add_argument(
+ "--compile-bytecode",
+ action="append",
+@@ -86,7 +93,7 @@ def _main(cli_args: Sequence[str], program: Optional[str] = None) -> None:
+ with WheelFile.open(args.wheel) as source:
+ destination = SchemeDictionaryDestination(
+ scheme_dict=_get_scheme_dict(source.distribution, prefix=args.prefix),
+- interpreter=sys.executable,
++ interpreter=args.interpreter,
+ script_kind=get_launcher_kind(),
+ bytecode_optimization_levels=bytecode_levels,
+ destdir=args.destdir,
+diff --git a/src/installer/scripts.py b/src/installer/scripts.py
+index 7e3c8fc..ba6ed5a 100644
+--- a/src/installer/scripts.py
++++ b/src/installer/scripts.py
+@@ -59,20 +59,7 @@ def _build_shebang(executable: str, forlauncher: bool) -> bytes:
+ https://bitbucket.org/pypa/distlib/src/58cd5c6/distlib/scripts.py#lines-124
+ """
+ executable_bytes = executable.encode("utf-8")
+- if forlauncher: # The launcher can just use the command as-is.
+- return b"#!" + executable_bytes
+- if _is_executable_simple(executable_bytes):
+- return b"#!" + executable_bytes
+-
+- # Shebang support for an executable with a space in it is under-specified
+- # and platform-dependent, so we use a clever hack to generate a script to
+- # run in ``/bin/sh`` that should work on all reasonably modern platforms.
+- # Read the following message to understand how the hack works:
+- # https://github.com/pradyunsg/installer/pull/4#issuecomment-623668717
+-
+- quoted = shlex.quote(executable).encode("utf-8")
+- # I don't understand a lick what this is trying to do.
+- return b"#!/bin/sh\n'''exec' " + quoted + b' "$0" "$@"\n' + b"' '''"
++ return b"#!" + executable_bytes
+
+
+ class InvalidScript(ValueError):
diff --git a/meta/recipes-devtools/python/python3-installer_0.7.0.bb b/meta/recipes-devtools/python/python3-installer_0.7.0.bb
new file mode 100644
index 0000000000..9429705b1f
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-installer_0.7.0.bb
@@ -0,0 +1,34 @@
+SUMMARY = "Library and tool for installing Python wheels"
+DESCRIPTION = "A low-level library for installing a Python package from a wheel distribution."
+HOMEPAGE = "https://installer.readthedocs.io/"
+BUGTRACKER = "https://github.com/pypa/installer/issues"
+
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=5038641aec7a77451e31da828ebfae00"
+
+SRC_URI += "file://interpreter.patch"
+
+SRC_URI[sha256sum] = "a26d3e3116289bb08216e0d0f7d925fcef0b0194eedfa0c944bcaaa106c4b631"
+
+inherit pypi python_flit_core
+
+# Bootstrap the native build
+DEPENDS:remove:class-native = "python3-build-native python3-installer-native"
+
+RDEPENDS:${PN} += " \
+ python3-compile \
+ python3-compression \
+ python3-netclient \
+"
+
+INSTALL_WHEEL_COMPILE_BYTECODE:class-native = "--no-compile-bytecode"
+
+do_compile:class-native () {
+ python_flit_core_do_manual_build
+}
+
+do_install:prepend:class-native() {
+ export PYTHONPATH="${S}/src"
+}
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-iso8601_2.1.0.bb b/meta/recipes-devtools/python/python3-iso8601_2.1.0.bb
new file mode 100644
index 0000000000..d7ab4a5a77
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-iso8601_2.1.0.bb
@@ -0,0 +1,15 @@
+SUMMARY = "Simple module to parse ISO 8601 dates"
+HOMEPAGE = "http://pyiso8601.readthedocs.org/"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=aab31f2ef7ba214a5a341eaa47a7f367"
+
+SRC_URI[sha256sum] = "6b1d3829ee8921c4301998c909f7829fa9ed3cbdac0d3b16af2d743aed1ba8df"
+
+inherit pypi python_poetry_core
+
+RDEPENDS:${PN} += "\
+ python3-datetime \
+ python3-numbers \
+"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-isodate_0.6.1.bb b/meta/recipes-devtools/python/python3-isodate_0.6.1.bb
new file mode 100644
index 0000000000..293fb08277
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-isodate_0.6.1.bb
@@ -0,0 +1,16 @@
+SUMMARY = "ISO 8601 date/time parser"
+HOMEPAGE = "https://github.com/gweis/isodate/"
+SECTION = "devel/python"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=e910b35b0ef4e1f665b9a75d6afb7709"
+
+SRC_URI[sha256sum] = "48c5881de7e8b0a0d648cb024c8062dc84e7b840ed81e864c7614fd3c127bde9"
+
+inherit pypi setuptools3
+
+RDEPENDS:${PN} += " \
+ python3-numbers \
+ python3-six \
+"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-jinja2/run-ptest b/meta/recipes-devtools/python/python3-jinja2/run-ptest
index 5cec711696..8d2017d39c 100644
--- a/meta/recipes-devtools/python/python3-jinja2/run-ptest
+++ b/meta/recipes-devtools/python/python3-jinja2/run-ptest
@@ -1,3 +1,3 @@
#!/bin/sh
-pytest
+pytest --automake
diff --git a/meta/recipes-devtools/python/python3-jinja2_2.11.2.bb b/meta/recipes-devtools/python/python3-jinja2_2.11.2.bb
deleted file mode 100644
index 89538d2f27..0000000000
--- a/meta/recipes-devtools/python/python3-jinja2_2.11.2.bb
+++ /dev/null
@@ -1,45 +0,0 @@
-DESCRIPTION = "Python Jinja2: A small but fast and easy to use stand-alone template engine written in pure python."
-
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=5dc88300786f1c214c1e9827a5229462"
-
-SRC_URI[sha256sum] = "89aab215427ef59c34ad58735269eb58b1a5808103067f7bb9d5836c651b3bb0"
-
-PYPI_PACKAGE = "Jinja2"
-
-CLEANBROKEN = "1"
-
-inherit pypi setuptools3
-# ptest disabled in OE-Core for now due to missing dependencies
-
-
-SRC_URI += " \
- file://run-ptest \
-"
-
-do_install_ptest() {
- install -d ${D}${PTEST_PATH}/tests
- cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
-}
-
-RDEPENDS_${PN}-ptest += " \
- ${PYTHON_PN}-pytest \
- ${PYTHON_PN}-unixadmin \
-"
-
-RDEPENDS_${PN} += " \
- ${PYTHON_PN}-asyncio \
- ${PYTHON_PN}-crypt \
- ${PYTHON_PN}-io \
- ${PYTHON_PN}-json \
- ${PYTHON_PN}-markupsafe \
- ${PYTHON_PN}-math \
- ${PYTHON_PN}-netclient \
- ${PYTHON_PN}-numbers\
- ${PYTHON_PN}-pickle \
- ${PYTHON_PN}-pprint \
- ${PYTHON_PN}-shell \
- ${PYTHON_PN}-threading \
-"
-
-BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-jinja2_3.1.4.bb b/meta/recipes-devtools/python/python3-jinja2_3.1.4.bb
new file mode 100644
index 0000000000..2c02037011
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-jinja2_3.1.4.bb
@@ -0,0 +1,48 @@
+SUMMARY = "Python Jinja2: A small but fast and easy to use stand-alone template engine written in pure python."
+HOMEPAGE = "https://pypi.org/project/Jinja2/"
+
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=5dc88300786f1c214c1e9827a5229462"
+
+SRC_URI[sha256sum] = "4a3aee7acbbe7303aede8e9648d13b8bf88a429282aa6122a993f0ac800cb369"
+
+PYPI_PACKAGE = "jinja2"
+
+CVE_PRODUCT = "jinja2 jinja"
+
+CLEANBROKEN = "1"
+
+inherit pypi python_flit_core ptest
+
+SRC_URI += " \
+ file://run-ptest \
+"
+
+do_install_ptest() {
+ install -d ${D}${PTEST_PATH}/tests
+ cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
+}
+
+RDEPENDS:${PN}-ptest += " \
+ python3-pytest \
+ python3-unittest-automake-output \
+ python3-toml \
+ python3-unixadmin \
+"
+
+RDEPENDS:${PN} += " \
+ python3-asyncio \
+ python3-crypt \
+ python3-io \
+ python3-json \
+ python3-markupsafe \
+ python3-math \
+ python3-netclient \
+ python3-numbers\
+ python3-pickle \
+ python3-pprint \
+ python3-shell \
+ python3-threading \
+"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-jsonpointer/run-ptest b/meta/recipes-devtools/python/python3-jsonpointer/run-ptest
new file mode 100644
index 0000000000..7ebd69231f
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-jsonpointer/run-ptest
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+python3 -mputao.unittest tests.py
diff --git a/meta/recipes-devtools/python/python3-jsonpointer_2.4.bb b/meta/recipes-devtools/python/python3-jsonpointer_2.4.bb
new file mode 100644
index 0000000000..062fa5243f
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-jsonpointer_2.4.bb
@@ -0,0 +1,28 @@
+SUMMARY = "Resolve JSON Pointers in Python"
+HOMEPAGE = "https://github.com/stefankoegl/python-json-pointer"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=32b15c843b7a329130f4e266a281ebb3"
+
+inherit pypi ptest setuptools3
+
+SRC_URI[sha256sum] = "585cee82b70211fa9e6043b7bb89db6e1aa49524340dde8ad6b63206ea689d88"
+
+RDEPENDS:${PN} += " \
+ python3-json \
+"
+
+BBCLASSEXTEND = "native nativesdk"
+
+SRC_URI += " \
+ file://run-ptest \
+"
+
+RDEPENDS:${PN}-ptest += " \
+ python3-doctest \
+ python3-unittest \
+ python3-unittest-automake-output \
+"
+
+do_install_ptest() {
+ cp -f ${S}/tests.py ${D}${PTEST_PATH}/
+}
diff --git a/meta/recipes-devtools/python/python3-jsonschema-specifications_2023.12.1.bb b/meta/recipes-devtools/python/python3-jsonschema-specifications_2023.12.1.bb
new file mode 100644
index 0000000000..4ee0dd9b12
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-jsonschema-specifications_2023.12.1.bb
@@ -0,0 +1,16 @@
+SUMMARY = "The JSON Schema meta-schemas and vocabularies, exposed as a Registry"
+DESCRIPTION = "JSON support files from the JSON Schema Specifications (metaschemas, \
+vocabularies, etc.), packaged for runtime access from Python as a referencing-based Schema Registry."
+HOMEPAGE = "https://pypi.org/project/jsonschema-specifications/"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://COPYING;md5=93eb9740964b59e9ba30281255b044e2"
+
+SRC_URI[sha256sum] = "48a76787b3e70f5ed53f1160d2b81f586e4ca6d1548c5de7085d1682674764cc"
+
+inherit pypi python_hatchling
+
+PYPI_PACKAGE = "jsonschema_specifications"
+
+DEPENDS += "python3-hatch-vcs-native"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-jsonschema_4.22.0.bb b/meta/recipes-devtools/python/python3-jsonschema_4.22.0.bb
new file mode 100644
index 0000000000..c3184396d2
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-jsonschema_4.22.0.bb
@@ -0,0 +1,50 @@
+SUMMARY = "An implementation of JSON Schema validation for Python"
+HOMEPAGE = "https://github.com/python-jsonschema/jsonschema"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://COPYING;md5=7a60a81c146ec25599a3e1dabb8610a8 \
+ file://json/LICENSE;md5=9d4de43111d33570c8fe49b4cb0e01af"
+
+SRC_URI[sha256sum] = "5b22d434a45935119af990552c862e5d6d564e8f6601206b305a61fdf661a2b7"
+
+inherit pypi python_hatchling
+
+PACKAGES =+ "${PN}-tests"
+FILES:${PN}-tests = "${libdir}/${PYTHON_DIR}/site-packages/jsonschema/tests"
+
+DEPENDS += "python3-hatch-fancy-pypi-readme-native python3-hatch-vcs-native "
+
+PACKAGECONFIG ??= "format"
+PACKAGECONFIG[format] = ",,,\
+ python3-idna \
+ python3-jsonpointer \
+ python3-webcolors \
+ python3-rfc3987 \
+ python3-rfc3339-validator \
+"
+PACKAGECONFIG[nongpl] = ",,,\
+ python3-idna \
+ python3-jsonpointer \
+ python3-webcolors \
+ python3-rfc3986-validator \
+ python3-rfc3339-validator \
+"
+
+RDEPENDS:${PN} += " \
+ python3-attrs \
+ python3-core \
+ python3-datetime \
+ python3-importlib-metadata \
+ python3-io \
+ python3-json \
+ python3-jsonschema-specifications \
+ python3-netclient \
+ python3-numbers \
+ python3-pprint \
+ python3-pyrsistent \
+ python3-referencing \
+ python3-zipp \
+"
+
+RDEPENDS:${PN}-tests = "${PN}"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-libarchive-c_2.9.bb b/meta/recipes-devtools/python/python3-libarchive-c_5.1.bb
index 3a2d8733e9..4e318e52f4 100644
--- a/meta/recipes-devtools/python/python3-libarchive-c_2.9.bb
+++ b/meta/recipes-devtools/python/python3-libarchive-c_5.1.bb
@@ -9,13 +9,13 @@ PYPI_PACKAGE = "libarchive-c"
inherit pypi setuptools3
-SRC_URI[md5sum] = "083bd2cb0043c1e22a52cb9a05e31532"
-SRC_URI[sha256sum] = "9919344cec203f5db6596a29b5bc26b07ba9662925a05e24980b84709232ef60"
+SRC_URI[sha256sum] = "7bcce24ea6c0fa3bc62468476c6d2f6264156db2f04878a372027c10615a2721"
-RDEPENDS_${PN} += "\
+RDEPENDS:${PN} += "\
libarchive \
- ${PYTHON_PN}-ctypes \
- ${PYTHON_PN}-mmap \
+ python3-ctypes \
+ python3-mmap \
+ python3-logging \
"
BBCLASSEXTEND = "native"
diff --git a/meta/recipes-devtools/python/python3-license-expression/run-ptest b/meta/recipes-devtools/python/python3-license-expression/run-ptest
new file mode 100644
index 0000000000..8d2017d39c
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-license-expression/run-ptest
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+pytest --automake
diff --git a/meta/recipes-devtools/python/python3-license-expression_30.3.0.bb b/meta/recipes-devtools/python/python3-license-expression_30.3.0.bb
new file mode 100644
index 0000000000..f36336b592
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-license-expression_30.3.0.bb
@@ -0,0 +1,38 @@
+SUMMARY = "Utility library to parse, compare, simplify and normalize license expressions"
+HOMEPAGE = "https://github.com/nexB/license-expression"
+
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://apache-2.0.LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
+
+SRC_URI[sha256sum] = "1295406f736b4f395ff069aec1cebfad53c0fcb3cf57df0f5ec58fc7b905aea5"
+
+inherit pypi ptest python_setuptools_build_meta
+
+DEPENDS += "python3-setuptools-scm-native"
+
+RDEPENDS:${PN} += "\
+ python3-booleanpy \
+ python3-core \
+ python3-json \
+ python3-stringold \
+ python3-logging \
+"
+
+BBCLASSEXTEND = "native nativesdk"
+
+SRC_URI += " \
+ file://run-ptest \
+"
+
+RDEPENDS:${PN}-ptest += " \
+ python3-pytest \
+ python3-unittest-automake-output \
+"
+
+do_install_ptest() {
+ install -d ${D}${PTEST_PATH}/tests
+ install -d ${D}${PTEST_PATH}/src
+ cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
+ cp -rf ${S}/src/* ${D}${PTEST_PATH}/src/
+ cp -rf ${S}/setup.cfg ${D}${PTEST_PATH}/
+}
diff --git a/meta/recipes-devtools/python/python3-lxml_5.2.2.bb b/meta/recipes-devtools/python/python3-lxml_5.2.2.bb
new file mode 100644
index 0000000000..e5a22e7090
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-lxml_5.2.2.bb
@@ -0,0 +1,42 @@
+SUMMARY = "Powerful and Pythonic XML processing library combining libxml2/libxslt with the ElementTree API."
+DESCRIPTION = "lxml is a Pythonic, mature binding for the libxml2 and \
+libxslt libraries. It provides safe and convenient access to these \
+libraries using the ElementTree API. It extends the ElementTree API \
+significantly to offer support for XPath, RelaxNG, XML Schema, XSLT, \
+C14N and much more."
+HOMEPAGE = "https://lxml.de/"
+SECTION = "devel/python"
+LICENSE = "BSD-3-Clause & GPL-2.0-only & MIT & PSF-2.0"
+LIC_FILES_CHKSUM = "file://LICENSES.txt;md5=e4c045ebad958ead4b48008f70838403 \
+ file://doc/licenses/elementtree.txt;md5=eb34d036a6e3d56314ee49a6852ac891 \
+ file://doc/licenses/BSD.txt;md5=700a1fc17f4797d4f2d34970c8ee694b \
+ file://doc/licenses/GPL.txt;md5=94d55d512a9ba36caa9b7df079bae19f \
+ file://src/lxml/isoschematron/resources/rng/iso-schematron.rng;beginline=2;endline=7;md5=fc85684a8dd5fa272c086bceb0d99e10 \
+ file://src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_message.xsl;beginline=2;endline=24;md5=cc86b7b2bbc678e13f58ea403eb9929b \
+ file://src/lxml/isoschematron/resources/xsl/RNG2Schtrn.xsl;beginline=2;endline=7;md5=5b03236d293dc3784205542b409d2f53 \
+ "
+
+DEPENDS += "libxml2 libxslt"
+
+SRC_URI[sha256sum] = "bb2dc4898180bea79863d5487e5f9c7c34297414bad54bcd0f0852aee9cfdb87"
+
+SRC_URI += "${PYPI_SRC_URI}"
+inherit pkgconfig pypi setuptools3
+
+# {standard input}: Assembler messages:
+# {standard input}:1488805: Error: branch out of range
+DEBUG_OPTIMIZATION:remove:mips = " -Og"
+DEBUG_OPTIMIZATION:append:mips = " -O"
+BUILD_OPTIMIZATION:remove:mips = " -Og"
+BUILD_OPTIMIZATION:append:mips = " -O"
+
+DEBUG_OPTIMIZATION:remove:mipsel = " -Og"
+DEBUG_OPTIMIZATION:append:mipsel = " -O"
+BUILD_OPTIMIZATION:remove:mipsel = " -Og"
+BUILD_OPTIMIZATION:append:mipsel = " -O"
+
+BBCLASSEXTEND = "native nativesdk"
+
+RDEPENDS:${PN} += "libxml2 libxslt python3-compression"
+
+CLEANBROKEN = "1"
diff --git a/meta/recipes-devtools/python/python3-magic_0.4.18.bb b/meta/recipes-devtools/python/python3-magic_0.4.27.bb
index 101b96d31c..2e561e69d7 100644
--- a/meta/recipes-devtools/python/python3-magic_0.4.18.bb
+++ b/meta/recipes-devtools/python/python3-magic_0.4.27.bb
@@ -5,18 +5,18 @@ DESCRIPTION = "This module uses ctypes to access the libmagic file type \
HOMEPAGE = "http://github.com/ahupp/python-magic"
LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=16a934f165e8c3245f241e77d401bb88"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=61495c152d794e6be5799a9edca149e3"
PYPI_PACKAGE = "python-magic"
inherit pypi setuptools3
-SRC_URI[md5sum] = "5edc6caa39cc62641850f6b1b6f284ba"
-SRC_URI[sha256sum] = "b757db2a5289ea3f1ced9e60f072965243ea43a2221430048fd8cacab17be0ce"
+SRC_URI[sha256sum] = "c1ba14b08e4a5f5c31a302b7721239695b2f0f058d125bd5ce1ee36b9d9d3c3b"
-RDEPENDS_${PN} += "file \
- ${PYTHON_PN}-ctypes \
- ${PYTHON_PN}-io \
- ${PYTHON_PN}-shell"
+RDEPENDS:${PN} += "file \
+ python3-ctypes \
+ python3-io \
+ python3-logging \
+ python3-shell"
BBCLASSEXTEND = "native"
diff --git a/meta/recipes-devtools/python/python3-mako_1.1.3.bb b/meta/recipes-devtools/python/python3-mako_1.1.3.bb
deleted file mode 100644
index cda4e99220..0000000000
--- a/meta/recipes-devtools/python/python3-mako_1.1.3.bb
+++ /dev/null
@@ -1,20 +0,0 @@
-SUMMARY = "Templating library for Python"
-HOMEPAGE = "http://www.makotemplates.org/"
-SECTION = "devel/python"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=943eb67718222db21d44a4ef1836675f"
-
-PYPI_PACKAGE = "Mako"
-
-inherit pypi setuptools3
-
-SRC_URI[sha256sum] = "8195c8c1400ceb53496064314c6736719c6f25e7479cd24c77be3d9361cddc27"
-
-RDEPENDS_${PN} = "${PYTHON_PN}-html \
- ${PYTHON_PN}-netclient \
- ${PYTHON_PN}-threading \
-"
-
-RDEPENDS_${PN}_class-native = ""
-
-BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-mako_1.3.5.bb b/meta/recipes-devtools/python/python3-mako_1.3.5.bb
new file mode 100644
index 0000000000..d27fb121a6
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-mako_1.3.5.bb
@@ -0,0 +1,20 @@
+SUMMARY = "Templating library for Python"
+HOMEPAGE = "http://www.makotemplates.org/"
+SECTION = "devel/python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=d0995d6f7ba3f186a03118f244e88f57"
+
+PYPI_PACKAGE = "Mako"
+
+inherit pypi python_setuptools_build_meta
+
+SRC_URI[sha256sum] = "48dbc20568c1d276a2698b36d968fa76161bf127194907ea6fc594fa81f943bc"
+
+RDEPENDS:${PN} = "python3-html \
+ python3-markupsafe \
+ python3-netclient \
+ python3-pygments \
+ python3-threading \
+"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-markdown_3.6.bb b/meta/recipes-devtools/python/python3-markdown_3.6.bb
new file mode 100644
index 0000000000..7c64837395
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-markdown_3.6.bb
@@ -0,0 +1,13 @@
+SUMMARY = "A Python implementation of John Gruber's Markdown."
+HOMEPAGE = "https://python-markdown.github.io/"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE.md;md5=ec58cdf7cfed06a21f7a9362627a5480"
+
+inherit pypi python_setuptools_build_meta
+
+PYPI_PACKAGE = "Markdown"
+SRC_URI[sha256sum] = "ed4f41f6daecbeeb96e576ce414c41d2d876daa9a16cb35fa8ed8c2ddfad0224"
+
+BBCLASSEXTEND = "native nativesdk"
+
+RDEPENDS:${PN} += "python3-logging python3-setuptools"
diff --git a/meta/recipes-devtools/python/python3-markupsafe/run-ptest b/meta/recipes-devtools/python/python3-markupsafe/run-ptest
index 5cec711696..8d2017d39c 100644
--- a/meta/recipes-devtools/python/python3-markupsafe/run-ptest
+++ b/meta/recipes-devtools/python/python3-markupsafe/run-ptest
@@ -1,3 +1,3 @@
#!/bin/sh
-pytest
+pytest --automake
diff --git a/meta/recipes-devtools/python/python3-markupsafe_1.1.1.bb b/meta/recipes-devtools/python/python3-markupsafe_1.1.1.bb
deleted file mode 100644
index 403a98a43f..0000000000
--- a/meta/recipes-devtools/python/python3-markupsafe_1.1.1.bb
+++ /dev/null
@@ -1,28 +0,0 @@
-DESCRIPTION = "Implements a XML/HTML/XHTML Markup safe string for Python"
-HOMEPAGE = "http://github.com/mitsuhiko/markupsafe"
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=ffeffa59c90c9c4a033c7574f8f3fb75"
-
-SRC_URI[md5sum] = "43fd756864fe42063068e092e220c57b"
-SRC_URI[sha256sum] = "29872e92839765e546828bb7754a68c418d927cd064fd4708fab9fe9c8bb116b"
-
-PYPI_PACKAGE = "MarkupSafe"
-inherit pypi setuptools3
-# ptest disabled in OE-Core for now due to missing dependencies
-
-RDEPENDS_${PN} += "${PYTHON_PN}-stringold"
-
-BBCLASSEXTEND = "native nativesdk"
-
-SRC_URI += " \
- file://run-ptest \
-"
-
-RDEPENDS_${PN}-ptest += " \
- ${PYTHON_PN}-pytest \
-"
-
-do_install_ptest() {
- install -d ${D}${PTEST_PATH}/tests
- cp -f ${S}/tests/* ${D}${PTEST_PATH}/tests/
-}
diff --git a/meta/recipes-devtools/python/python3-markupsafe_2.1.5.bb b/meta/recipes-devtools/python/python3-markupsafe_2.1.5.bb
new file mode 100644
index 0000000000..821332fe7c
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-markupsafe_2.1.5.bb
@@ -0,0 +1,27 @@
+SUMMARY = "Implements a XML/HTML/XHTML Markup safe string for Python"
+HOMEPAGE = "http://github.com/mitsuhiko/markupsafe"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=ffeffa59c90c9c4a033c7574f8f3fb75"
+
+SRC_URI[sha256sum] = "d283d37a890ba4c1ae73ffadf8046435c76e7bc2247bbb63c00bd1a709c6544b"
+
+PYPI_PACKAGE = "MarkupSafe"
+inherit pypi python_setuptools_build_meta ptest
+
+RDEPENDS:${PN} += "python3-stringold"
+
+BBCLASSEXTEND = "native nativesdk"
+
+SRC_URI += " \
+ file://run-ptest \
+"
+
+RDEPENDS:${PN}-ptest += " \
+ python3-pytest \
+ python3-unittest-automake-output \
+"
+
+do_install_ptest() {
+ install -d ${D}${PTEST_PATH}/tests
+ cp -f ${S}/tests/* ${D}${PTEST_PATH}/tests/
+}
diff --git a/meta/recipes-devtools/python/python3-maturin-crates.inc b/meta/recipes-devtools/python/python3-maturin-crates.inc
new file mode 100644
index 0000000000..dff1a166b2
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-maturin-crates.inc
@@ -0,0 +1,630 @@
+# Autogenerated with 'bitbake -c update_crates python3-maturin'
+
+# from Cargo.lock
+SRC_URI += " \
+ crate://crates.io/adler/1.0.2 \
+ crate://crates.io/ahash/0.8.7 \
+ crate://crates.io/aho-corasick/1.1.2 \
+ crate://crates.io/allocator-api2/0.2.16 \
+ crate://crates.io/anstream/0.6.11 \
+ crate://crates.io/anstyle/1.0.4 \
+ crate://crates.io/anstyle-parse/0.2.3 \
+ crate://crates.io/anstyle-query/1.0.2 \
+ crate://crates.io/anstyle-wincon/3.0.2 \
+ crate://crates.io/anyhow/1.0.80 \
+ crate://crates.io/autocfg/1.1.0 \
+ crate://crates.io/base64/0.13.1 \
+ crate://crates.io/base64/0.21.7 \
+ crate://crates.io/bitflags/1.3.2 \
+ crate://crates.io/bitflags/2.4.2 \
+ crate://crates.io/block-buffer/0.10.4 \
+ crate://crates.io/bstr/1.9.0 \
+ crate://crates.io/byteorder/1.5.0 \
+ crate://crates.io/bytes/1.5.0 \
+ crate://crates.io/bytesize/1.3.0 \
+ crate://crates.io/bzip2/0.4.4 \
+ crate://crates.io/bzip2-sys/0.1.11+1.0.8 \
+ crate://crates.io/cab/0.4.1 \
+ crate://crates.io/camino/1.1.6 \
+ crate://crates.io/cargo-config2/0.1.24 \
+ crate://crates.io/cargo-options/0.7.4 \
+ crate://crates.io/cargo-platform/0.1.6 \
+ crate://crates.io/cargo-xwin/0.16.4 \
+ crate://crates.io/cargo-zigbuild/0.18.4 \
+ crate://crates.io/cargo_metadata/0.18.1 \
+ crate://crates.io/cbindgen/0.26.0 \
+ crate://crates.io/cc/1.0.88 \
+ crate://crates.io/cfb/0.9.0 \
+ crate://crates.io/cfg-if/1.0.0 \
+ crate://crates.io/charset/0.1.3 \
+ crate://crates.io/chumsky/0.9.3 \
+ crate://crates.io/clap/4.4.18 \
+ crate://crates.io/clap_builder/4.4.18 \
+ crate://crates.io/clap_complete/4.4.9 \
+ crate://crates.io/clap_complete_command/0.5.1 \
+ crate://crates.io/clap_complete_nushell/0.1.11 \
+ crate://crates.io/clap_derive/4.4.7 \
+ crate://crates.io/clap_lex/0.6.0 \
+ crate://crates.io/cli-table/0.4.7 \
+ crate://crates.io/colorchoice/1.0.0 \
+ crate://crates.io/configparser/3.0.4 \
+ crate://crates.io/console/0.15.8 \
+ crate://crates.io/content_inspector/0.2.4 \
+ crate://crates.io/core-foundation/0.9.4 \
+ crate://crates.io/core-foundation-sys/0.8.6 \
+ crate://crates.io/cpufeatures/0.2.12 \
+ crate://crates.io/crc32fast/1.3.2 \
+ crate://crates.io/crossbeam-channel/0.5.11 \
+ crate://crates.io/crossbeam-deque/0.8.5 \
+ crate://crates.io/crossbeam-epoch/0.9.18 \
+ crate://crates.io/crossbeam-utils/0.8.19 \
+ crate://crates.io/crypto-common/0.1.6 \
+ crate://crates.io/data-encoding/2.5.0 \
+ crate://crates.io/deranged/0.3.11 \
+ crate://crates.io/derivative/2.2.0 \
+ crate://crates.io/dialoguer/0.11.0 \
+ crate://crates.io/diff/0.1.13 \
+ crate://crates.io/digest/0.10.7 \
+ crate://crates.io/dirs/5.0.1 \
+ crate://crates.io/dirs-sys/0.4.1 \
+ crate://crates.io/dissimilar/1.0.7 \
+ crate://crates.io/dunce/1.0.4 \
+ crate://crates.io/dyn-clone/1.0.17 \
+ crate://crates.io/either/1.9.0 \
+ crate://crates.io/encode_unicode/0.3.6 \
+ crate://crates.io/encoding_rs/0.8.33 \
+ crate://crates.io/equivalent/1.0.1 \
+ crate://crates.io/errno/0.3.8 \
+ crate://crates.io/expect-test/1.4.1 \
+ crate://crates.io/fastrand/2.0.1 \
+ crate://crates.io/fat-macho/0.4.8 \
+ crate://crates.io/filetime/0.2.23 \
+ crate://crates.io/flate2/1.0.28 \
+ crate://crates.io/fnv/1.0.7 \
+ crate://crates.io/foreign-types/0.3.2 \
+ crate://crates.io/foreign-types-shared/0.1.1 \
+ crate://crates.io/form_urlencoded/1.2.1 \
+ crate://crates.io/fs-err/2.11.0 \
+ crate://crates.io/futures/0.3.30 \
+ crate://crates.io/futures-channel/0.3.30 \
+ crate://crates.io/futures-core/0.3.30 \
+ crate://crates.io/futures-executor/0.3.30 \
+ crate://crates.io/futures-io/0.3.30 \
+ crate://crates.io/futures-macro/0.3.30 \
+ crate://crates.io/futures-sink/0.3.30 \
+ crate://crates.io/futures-task/0.3.30 \
+ crate://crates.io/futures-timer/3.0.3 \
+ crate://crates.io/futures-util/0.3.30 \
+ crate://crates.io/generic-array/0.14.7 \
+ crate://crates.io/getrandom/0.2.12 \
+ crate://crates.io/glob/0.3.1 \
+ crate://crates.io/globset/0.4.14 \
+ crate://crates.io/goblin/0.8.0 \
+ crate://crates.io/hashbrown/0.12.3 \
+ crate://crates.io/hashbrown/0.14.3 \
+ crate://crates.io/heck/0.4.1 \
+ crate://crates.io/home/0.5.9 \
+ crate://crates.io/humantime/2.1.0 \
+ crate://crates.io/humantime-serde/1.1.1 \
+ crate://crates.io/idna/0.5.0 \
+ crate://crates.io/ignore/0.4.22 \
+ crate://crates.io/indexmap/1.9.3 \
+ crate://crates.io/indexmap/2.2.3 \
+ crate://crates.io/indicatif/0.17.7 \
+ crate://crates.io/indoc/2.0.4 \
+ crate://crates.io/instant/0.1.12 \
+ crate://crates.io/itertools/0.11.0 \
+ crate://crates.io/itertools/0.12.1 \
+ crate://crates.io/itoa/1.0.10 \
+ crate://crates.io/keyring/2.3.2 \
+ crate://crates.io/lazy_static/1.4.0 \
+ crate://crates.io/lddtree/0.3.4 \
+ crate://crates.io/libc/0.2.153 \
+ crate://crates.io/libredox/0.0.1 \
+ crate://crates.io/linux-keyutils/0.2.4 \
+ crate://crates.io/linux-raw-sys/0.4.13 \
+ crate://crates.io/lock_api/0.4.11 \
+ crate://crates.io/log/0.4.20 \
+ crate://crates.io/lzxd/0.1.4 \
+ crate://crates.io/mailparse/0.14.1 \
+ crate://crates.io/matchers/0.1.0 \
+ crate://crates.io/memchr/2.7.1 \
+ crate://crates.io/mime/0.3.17 \
+ crate://crates.io/mime_guess/2.0.4 \
+ crate://crates.io/minijinja/1.0.12 \
+ crate://crates.io/minimal-lexical/0.2.1 \
+ crate://crates.io/miniz_oxide/0.7.1 \
+ crate://crates.io/msi/0.7.0 \
+ crate://crates.io/multipart/0.18.0 \
+ crate://crates.io/native-tls/0.2.11 \
+ crate://crates.io/nom/7.1.3 \
+ crate://crates.io/normalize-line-endings/0.3.0 \
+ crate://crates.io/normpath/1.1.1 \
+ crate://crates.io/nu-ansi-term/0.46.0 \
+ crate://crates.io/num-conv/0.1.0 \
+ crate://crates.io/number_prefix/0.4.0 \
+ crate://crates.io/once_cell/1.19.0 \
+ crate://crates.io/openssl/0.10.63 \
+ crate://crates.io/openssl-macros/0.1.1 \
+ crate://crates.io/openssl-probe/0.1.5 \
+ crate://crates.io/openssl-sys/0.9.99 \
+ crate://crates.io/option-ext/0.2.0 \
+ crate://crates.io/os_pipe/1.1.5 \
+ crate://crates.io/overload/0.1.1 \
+ crate://crates.io/parking_lot/0.12.1 \
+ crate://crates.io/parking_lot_core/0.9.9 \
+ crate://crates.io/paste/1.0.14 \
+ crate://crates.io/path-slash/0.2.1 \
+ crate://crates.io/pep440_rs/0.5.0 \
+ crate://crates.io/pep508_rs/0.4.2 \
+ crate://crates.io/percent-encoding/2.3.1 \
+ crate://crates.io/pin-project-lite/0.2.13 \
+ crate://crates.io/pin-utils/0.1.0 \
+ crate://crates.io/pkg-config/0.3.29 \
+ crate://crates.io/plain/0.2.3 \
+ crate://crates.io/platform-info/2.0.2 \
+ crate://crates.io/portable-atomic/1.6.0 \
+ crate://crates.io/powerfmt/0.2.0 \
+ crate://crates.io/ppv-lite86/0.2.17 \
+ crate://crates.io/pretty_assertions/1.4.0 \
+ crate://crates.io/proc-macro2/1.0.78 \
+ crate://crates.io/psm/0.1.21 \
+ crate://crates.io/pyproject-toml/0.10.0 \
+ crate://crates.io/python-pkginfo/0.6.0 \
+ crate://crates.io/quote/1.0.35 \
+ crate://crates.io/quoted_printable/0.4.8 \
+ crate://crates.io/quoted_printable/0.5.0 \
+ crate://crates.io/rand/0.8.5 \
+ crate://crates.io/rand_chacha/0.3.1 \
+ crate://crates.io/rand_core/0.6.4 \
+ crate://crates.io/rayon/1.8.1 \
+ crate://crates.io/rayon-core/1.12.1 \
+ crate://crates.io/redox_syscall/0.4.1 \
+ crate://crates.io/redox_users/0.4.4 \
+ crate://crates.io/regex/1.10.3 \
+ crate://crates.io/regex-automata/0.1.10 \
+ crate://crates.io/regex-automata/0.4.5 \
+ crate://crates.io/regex-syntax/0.6.29 \
+ crate://crates.io/regex-syntax/0.8.2 \
+ crate://crates.io/relative-path/1.9.2 \
+ crate://crates.io/rfc2047-decoder/0.2.2 \
+ crate://crates.io/ring/0.17.7 \
+ crate://crates.io/rstest/0.18.2 \
+ crate://crates.io/rstest_macros/0.18.2 \
+ crate://crates.io/rustc_version/0.4.0 \
+ crate://crates.io/rustix/0.38.32 \
+ crate://crates.io/rustls/0.22.4 \
+ crate://crates.io/rustls-pemfile/2.1.0 \
+ crate://crates.io/rustls-pki-types/1.3.1 \
+ crate://crates.io/rustls-webpki/0.102.1 \
+ crate://crates.io/rustversion/1.0.14 \
+ crate://crates.io/ryu/1.0.16 \
+ crate://crates.io/same-file/1.0.6 \
+ crate://crates.io/schannel/0.1.23 \
+ crate://crates.io/schemars/0.8.16 \
+ crate://crates.io/schemars_derive/0.8.16 \
+ crate://crates.io/scopeguard/1.2.0 \
+ crate://crates.io/scroll/0.12.0 \
+ crate://crates.io/scroll_derive/0.12.0 \
+ crate://crates.io/security-framework/2.9.2 \
+ crate://crates.io/security-framework-sys/2.9.1 \
+ crate://crates.io/semver/1.0.22 \
+ crate://crates.io/serde/1.0.197 \
+ crate://crates.io/serde_derive/1.0.197 \
+ crate://crates.io/serde_derive_internals/0.26.0 \
+ crate://crates.io/serde_json/1.0.114 \
+ crate://crates.io/serde_spanned/0.6.5 \
+ crate://crates.io/sha2/0.10.8 \
+ crate://crates.io/sharded-slab/0.1.7 \
+ crate://crates.io/shell-words/1.1.0 \
+ crate://crates.io/shlex/1.3.0 \
+ crate://crates.io/similar/2.4.0 \
+ crate://crates.io/slab/0.4.9 \
+ crate://crates.io/smallvec/1.13.1 \
+ crate://crates.io/smawk/0.3.2 \
+ crate://crates.io/snapbox/0.5.7 \
+ crate://crates.io/snapbox-macros/0.3.8 \
+ crate://crates.io/socks/0.3.4 \
+ crate://crates.io/spin/0.9.8 \
+ crate://crates.io/stacker/0.1.15 \
+ crate://crates.io/static_assertions/1.1.0 \
+ crate://crates.io/strsim/0.10.0 \
+ crate://crates.io/subtle/2.5.0 \
+ crate://crates.io/syn/1.0.109 \
+ crate://crates.io/syn/2.0.48 \
+ crate://crates.io/tar/0.4.40 \
+ crate://crates.io/target-lexicon/0.12.14 \
+ crate://crates.io/tempfile/3.9.0 \
+ crate://crates.io/termcolor/1.4.1 \
+ crate://crates.io/terminal_size/0.3.0 \
+ crate://crates.io/textwrap/0.16.1 \
+ crate://crates.io/thiserror/1.0.57 \
+ crate://crates.io/thiserror-impl/1.0.57 \
+ crate://crates.io/thread_local/1.1.7 \
+ crate://crates.io/time/0.3.34 \
+ crate://crates.io/time-core/0.1.2 \
+ crate://crates.io/time-macros/0.2.17 \
+ crate://crates.io/tinyvec/1.6.0 \
+ crate://crates.io/tinyvec_macros/0.1.1 \
+ crate://crates.io/toml/0.5.11 \
+ crate://crates.io/toml/0.8.10 \
+ crate://crates.io/toml_datetime/0.6.5 \
+ crate://crates.io/toml_edit/0.22.6 \
+ crate://crates.io/tracing/0.1.40 \
+ crate://crates.io/tracing-attributes/0.1.27 \
+ crate://crates.io/tracing-core/0.1.32 \
+ crate://crates.io/tracing-log/0.2.0 \
+ crate://crates.io/tracing-serde/0.1.3 \
+ crate://crates.io/tracing-subscriber/0.3.18 \
+ crate://crates.io/trycmd/0.15.0 \
+ crate://crates.io/twox-hash/1.6.3 \
+ crate://crates.io/typenum/1.17.0 \
+ crate://crates.io/unicase/2.7.0 \
+ crate://crates.io/unicode-bidi/0.3.15 \
+ crate://crates.io/unicode-ident/1.0.12 \
+ crate://crates.io/unicode-linebreak/0.1.5 \
+ crate://crates.io/unicode-normalization/0.1.22 \
+ crate://crates.io/unicode-width/0.1.11 \
+ crate://crates.io/unicode-xid/0.2.4 \
+ crate://crates.io/unscanny/0.1.0 \
+ crate://crates.io/untrusted/0.9.0 \
+ crate://crates.io/ureq/2.9.6 \
+ crate://crates.io/url/2.5.0 \
+ crate://crates.io/urlencoding/2.1.3 \
+ crate://crates.io/utf8parse/0.2.1 \
+ crate://crates.io/uuid/1.7.0 \
+ crate://crates.io/valuable/0.1.0 \
+ crate://crates.io/vcpkg/0.2.15 \
+ crate://crates.io/version_check/0.9.4 \
+ crate://crates.io/versions/5.0.1 \
+ crate://crates.io/wait-timeout/0.2.0 \
+ crate://crates.io/walkdir/2.4.0 \
+ crate://crates.io/wasi/0.11.0+wasi-snapshot-preview1 \
+ crate://crates.io/webpki-roots/0.26.0 \
+ crate://crates.io/which/5.0.0 \
+ crate://crates.io/which/6.0.0 \
+ crate://crates.io/wild/2.2.1 \
+ crate://crates.io/winapi/0.3.9 \
+ crate://crates.io/winapi-i686-pc-windows-gnu/0.4.0 \
+ crate://crates.io/winapi-util/0.1.6 \
+ crate://crates.io/winapi-x86_64-pc-windows-gnu/0.4.0 \
+ crate://crates.io/windows-sys/0.48.0 \
+ crate://crates.io/windows-sys/0.52.0 \
+ crate://crates.io/windows-targets/0.48.5 \
+ crate://crates.io/windows-targets/0.52.0 \
+ crate://crates.io/windows_aarch64_gnullvm/0.48.5 \
+ crate://crates.io/windows_aarch64_gnullvm/0.52.0 \
+ crate://crates.io/windows_aarch64_msvc/0.48.5 \
+ crate://crates.io/windows_aarch64_msvc/0.52.0 \
+ crate://crates.io/windows_i686_gnu/0.48.5 \
+ crate://crates.io/windows_i686_gnu/0.52.0 \
+ crate://crates.io/windows_i686_msvc/0.48.5 \
+ crate://crates.io/windows_i686_msvc/0.52.0 \
+ crate://crates.io/windows_x86_64_gnu/0.48.5 \
+ crate://crates.io/windows_x86_64_gnu/0.52.0 \
+ crate://crates.io/windows_x86_64_gnullvm/0.48.5 \
+ crate://crates.io/windows_x86_64_gnullvm/0.52.0 \
+ crate://crates.io/windows_x86_64_msvc/0.48.5 \
+ crate://crates.io/windows_x86_64_msvc/0.52.0 \
+ crate://crates.io/winnow/0.6.2 \
+ crate://crates.io/xattr/1.3.1 \
+ crate://crates.io/xwin/0.5.0 \
+ crate://crates.io/yansi/0.5.1 \
+ crate://crates.io/zerocopy/0.7.32 \
+ crate://crates.io/zerocopy-derive/0.7.32 \
+ crate://crates.io/zeroize/1.7.0 \
+ crate://crates.io/zip/0.6.6 \
+"
+
+SRC_URI[adler-1.0.2.sha256sum] = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe"
+SRC_URI[ahash-0.8.7.sha256sum] = "77c3a9648d43b9cd48db467b3f87fdd6e146bcc88ab0180006cef2179fe11d01"
+SRC_URI[aho-corasick-1.1.2.sha256sum] = "b2969dcb958b36655471fc61f7e416fa76033bdd4bfed0678d8fee1e2d07a1f0"
+SRC_URI[allocator-api2-0.2.16.sha256sum] = "0942ffc6dcaadf03badf6e6a2d0228460359d5e34b57ccdc720b7382dfbd5ec5"
+SRC_URI[anstream-0.6.11.sha256sum] = "6e2e1ebcb11de5c03c67de28a7df593d32191b44939c482e97702baaaa6ab6a5"
+SRC_URI[anstyle-1.0.4.sha256sum] = "7079075b41f533b8c61d2a4d073c4676e1f8b249ff94a393b0595db304e0dd87"
+SRC_URI[anstyle-parse-0.2.3.sha256sum] = "c75ac65da39e5fe5ab759307499ddad880d724eed2f6ce5b5e8a26f4f387928c"
+SRC_URI[anstyle-query-1.0.2.sha256sum] = "e28923312444cdd728e4738b3f9c9cac739500909bb3d3c94b43551b16517648"
+SRC_URI[anstyle-wincon-3.0.2.sha256sum] = "1cd54b81ec8d6180e24654d0b371ad22fc3dd083b6ff8ba325b72e00c87660a7"
+SRC_URI[anyhow-1.0.80.sha256sum] = "5ad32ce52e4161730f7098c077cd2ed6229b5804ccf99e5366be1ab72a98b4e1"
+SRC_URI[autocfg-1.1.0.sha256sum] = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
+SRC_URI[base64-0.13.1.sha256sum] = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8"
+SRC_URI[base64-0.21.7.sha256sum] = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567"
+SRC_URI[bitflags-1.3.2.sha256sum] = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
+SRC_URI[bitflags-2.4.2.sha256sum] = "ed570934406eb16438a4e976b1b4500774099c13b8cb96eec99f620f05090ddf"
+SRC_URI[block-buffer-0.10.4.sha256sum] = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71"
+SRC_URI[bstr-1.9.0.sha256sum] = "c48f0051a4b4c5e0b6d365cd04af53aeaa209e3cc15ec2cdb69e73cc87fbd0dc"
+SRC_URI[byteorder-1.5.0.sha256sum] = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b"
+SRC_URI[bytes-1.5.0.sha256sum] = "a2bd12c1caf447e69cd4528f47f94d203fd2582878ecb9e9465484c4148a8223"
+SRC_URI[bytesize-1.3.0.sha256sum] = "a3e368af43e418a04d52505cf3dbc23dda4e3407ae2fa99fd0e4f308ce546acc"
+SRC_URI[bzip2-0.4.4.sha256sum] = "bdb116a6ef3f6c3698828873ad02c3014b3c85cadb88496095628e3ef1e347f8"
+SRC_URI[bzip2-sys-0.1.11+1.0.8.sha256sum] = "736a955f3fa7875102d57c82b8cac37ec45224a07fd32d58f9f7a186b6cd4cdc"
+SRC_URI[cab-0.4.1.sha256sum] = "ae6b4de23c7d39c0631fd3cc952d87951c86c75a13812d7247cb7a896e7b3551"
+SRC_URI[camino-1.1.6.sha256sum] = "c59e92b5a388f549b863a7bea62612c09f24c8393560709a54558a9abdfb3b9c"
+SRC_URI[cargo-config2-0.1.24.sha256sum] = "88d9bdc858a15454c2d0a5138d8dcf4bcabc06fde679abdea8330393fbc0ef05"
+SRC_URI[cargo-options-0.7.4.sha256sum] = "f3540247c0a37a76eb324acc238dc617786ea22c43b95da560c82a8f2714321f"
+SRC_URI[cargo-platform-0.1.6.sha256sum] = "ceed8ef69d8518a5dda55c07425450b58a4e1946f4951eab6d7191ee86c2443d"
+SRC_URI[cargo-xwin-0.16.4.sha256sum] = "5e6c3dd7f20fdd197397532ac882e918cfe1d56f262a97ded7460a50e031e06b"
+SRC_URI[cargo-zigbuild-0.18.4.sha256sum] = "65004153e67ac23be88a8e244304a872d727b2aa08654dcabfbecd1fdea4a488"
+SRC_URI[cargo_metadata-0.18.1.sha256sum] = "2d886547e41f740c616ae73108f6eb70afe6d940c7bc697cb30f13daec073037"
+SRC_URI[cbindgen-0.26.0.sha256sum] = "da6bc11b07529f16944307272d5bd9b22530bc7d05751717c9d416586cedab49"
+SRC_URI[cc-1.0.88.sha256sum] = "02f341c093d19155a6e41631ce5971aac4e9a868262212153124c15fa22d1cdc"
+SRC_URI[cfb-0.9.0.sha256sum] = "b390793e912300f1aa713429f7fd0c391024e6c18b988962558bc4f96a349b1f"
+SRC_URI[cfg-if-1.0.0.sha256sum] = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
+SRC_URI[charset-0.1.3.sha256sum] = "18e9079d1a12a2cc2bffb5db039c43661836ead4082120d5844f02555aca2d46"
+SRC_URI[chumsky-0.9.3.sha256sum] = "8eebd66744a15ded14960ab4ccdbfb51ad3b81f51f3f04a80adac98c985396c9"
+SRC_URI[clap-4.4.18.sha256sum] = "1e578d6ec4194633722ccf9544794b71b1385c3c027efe0c55db226fc880865c"
+SRC_URI[clap_builder-4.4.18.sha256sum] = "4df4df40ec50c46000231c914968278b1eb05098cf8f1b3a518a95030e71d1c7"
+SRC_URI[clap_complete-4.4.9.sha256sum] = "df631ae429f6613fcd3a7c1adbdb65f637271e561b03680adaa6573015dfb106"
+SRC_URI[clap_complete_command-0.5.1.sha256sum] = "183495371ea78d4c9ff638bfc6497d46fed2396e4f9c50aebc1278a4a9919a3d"
+SRC_URI[clap_complete_nushell-0.1.11.sha256sum] = "5d02bc8b1a18ee47c4d2eec3fb5ac034dc68ebea6125b1509e9ccdffcddce66e"
+SRC_URI[clap_derive-4.4.7.sha256sum] = "cf9804afaaf59a91e75b022a30fb7229a7901f60c755489cc61c9b423b836442"
+SRC_URI[clap_lex-0.6.0.sha256sum] = "702fc72eb24e5a1e48ce58027a675bc24edd52096d5397d4aea7c6dd9eca0bd1"
+SRC_URI[cli-table-0.4.7.sha256sum] = "adfbb116d9e2c4be7011360d0c0bee565712c11e969c9609b25b619366dc379d"
+SRC_URI[colorchoice-1.0.0.sha256sum] = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7"
+SRC_URI[configparser-3.0.4.sha256sum] = "4ec6d3da8e550377a85339063af6e3735f4b1d9392108da4e083a1b3b9820288"
+SRC_URI[console-0.15.8.sha256sum] = "0e1f83fc076bd6dd27517eacdf25fef6c4dfe5f1d7448bafaaf3a26f13b5e4eb"
+SRC_URI[content_inspector-0.2.4.sha256sum] = "b7bda66e858c683005a53a9a60c69a4aca7eeaa45d124526e389f7aec8e62f38"
+SRC_URI[core-foundation-0.9.4.sha256sum] = "91e195e091a93c46f7102ec7818a2aa394e1e1771c3ab4825963fa03e45afb8f"
+SRC_URI[core-foundation-sys-0.8.6.sha256sum] = "06ea2b9bc92be3c2baa9334a323ebca2d6f074ff852cd1d7b11064035cd3868f"
+SRC_URI[cpufeatures-0.2.12.sha256sum] = "53fe5e26ff1b7aef8bca9c6080520cfb8d9333c7568e1829cef191a9723e5504"
+SRC_URI[crc32fast-1.3.2.sha256sum] = "b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d"
+SRC_URI[crossbeam-channel-0.5.11.sha256sum] = "176dc175b78f56c0f321911d9c8eb2b77a78a4860b9c19db83835fea1a46649b"
+SRC_URI[crossbeam-deque-0.8.5.sha256sum] = "613f8cc01fe9cf1a3eb3d7f488fd2fa8388403e97039e2f73692932e291a770d"
+SRC_URI[crossbeam-epoch-0.9.18.sha256sum] = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e"
+SRC_URI[crossbeam-utils-0.8.19.sha256sum] = "248e3bacc7dc6baa3b21e405ee045c3047101a49145e7e9eca583ab4c2ca5345"
+SRC_URI[crypto-common-0.1.6.sha256sum] = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3"
+SRC_URI[data-encoding-2.5.0.sha256sum] = "7e962a19be5cfc3f3bf6dd8f61eb50107f356ad6270fbb3ed41476571db78be5"
+SRC_URI[deranged-0.3.11.sha256sum] = "b42b6fa04a440b495c8b04d0e71b707c585f83cb9cb28cf8cd0d976c315e31b4"
+SRC_URI[derivative-2.2.0.sha256sum] = "fcc3dd5e9e9c0b295d6e1e4d811fb6f157d5ffd784b8d202fc62eac8035a770b"
+SRC_URI[dialoguer-0.11.0.sha256sum] = "658bce805d770f407bc62102fca7c2c64ceef2fbcb2b8bd19d2765ce093980de"
+SRC_URI[diff-0.1.13.sha256sum] = "56254986775e3233ffa9c4d7d3faaf6d36a2c09d30b20687e9f88bc8bafc16c8"
+SRC_URI[digest-0.10.7.sha256sum] = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"
+SRC_URI[dirs-5.0.1.sha256sum] = "44c45a9d03d6676652bcb5e724c7e988de1acad23a711b5217ab9cbecbec2225"
+SRC_URI[dirs-sys-0.4.1.sha256sum] = "520f05a5cbd335fae5a99ff7a6ab8627577660ee5cfd6a94a6a929b52ff0321c"
+SRC_URI[dissimilar-1.0.7.sha256sum] = "86e3bdc80eee6e16b2b6b0f87fbc98c04bee3455e35174c0de1a125d0688c632"
+SRC_URI[dunce-1.0.4.sha256sum] = "56ce8c6da7551ec6c462cbaf3bfbc75131ebbfa1c944aeaa9dab51ca1c5f0c3b"
+SRC_URI[dyn-clone-1.0.17.sha256sum] = "0d6ef0072f8a535281e4876be788938b528e9a1d43900b82c2569af7da799125"
+SRC_URI[either-1.9.0.sha256sum] = "a26ae43d7bcc3b814de94796a5e736d4029efb0ee900c12e2d54c993ad1a1e07"
+SRC_URI[encode_unicode-0.3.6.sha256sum] = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f"
+SRC_URI[encoding_rs-0.8.33.sha256sum] = "7268b386296a025e474d5140678f75d6de9493ae55a5d709eeb9dd08149945e1"
+SRC_URI[equivalent-1.0.1.sha256sum] = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5"
+SRC_URI[errno-0.3.8.sha256sum] = "a258e46cdc063eb8519c00b9fc845fc47bcfca4130e2f08e88665ceda8474245"
+SRC_URI[expect-test-1.4.1.sha256sum] = "30d9eafeadd538e68fb28016364c9732d78e420b9ff8853fa5e4058861e9f8d3"
+SRC_URI[fastrand-2.0.1.sha256sum] = "25cbce373ec4653f1a01a31e8a5e5ec0c622dc27ff9c4e6606eefef5cbbed4a5"
+SRC_URI[fat-macho-0.4.8.sha256sum] = "0d4c93f393add03d72bc10dd3dea43a1610ecb29e0c0a6459c70b53b82931adf"
+SRC_URI[filetime-0.2.23.sha256sum] = "1ee447700ac8aa0b2f2bd7bc4462ad686ba06baa6727ac149a2d6277f0d240fd"
+SRC_URI[flate2-1.0.28.sha256sum] = "46303f565772937ffe1d394a4fac6f411c6013172fadde9dcdb1e147a086940e"
+SRC_URI[fnv-1.0.7.sha256sum] = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
+SRC_URI[foreign-types-0.3.2.sha256sum] = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1"
+SRC_URI[foreign-types-shared-0.1.1.sha256sum] = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b"
+SRC_URI[form_urlencoded-1.2.1.sha256sum] = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456"
+SRC_URI[fs-err-2.11.0.sha256sum] = "88a41f105fe1d5b6b34b2055e3dc59bb79b46b48b2040b9e6c7b4b5de097aa41"
+SRC_URI[futures-0.3.30.sha256sum] = "645c6916888f6cb6350d2550b80fb63e734897a8498abe35cfb732b6487804b0"
+SRC_URI[futures-channel-0.3.30.sha256sum] = "eac8f7d7865dcb88bd4373ab671c8cf4508703796caa2b1985a9ca867b3fcb78"
+SRC_URI[futures-core-0.3.30.sha256sum] = "dfc6580bb841c5a68e9ef15c77ccc837b40a7504914d52e47b8b0e9bbda25a1d"
+SRC_URI[futures-executor-0.3.30.sha256sum] = "a576fc72ae164fca6b9db127eaa9a9dda0d61316034f33a0a0d4eda41f02b01d"
+SRC_URI[futures-io-0.3.30.sha256sum] = "a44623e20b9681a318efdd71c299b6b222ed6f231972bfe2f224ebad6311f0c1"
+SRC_URI[futures-macro-0.3.30.sha256sum] = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac"
+SRC_URI[futures-sink-0.3.30.sha256sum] = "9fb8e00e87438d937621c1c6269e53f536c14d3fbd6a042bb24879e57d474fb5"
+SRC_URI[futures-task-0.3.30.sha256sum] = "38d84fa142264698cdce1a9f9172cf383a0c82de1bddcf3092901442c4097004"
+SRC_URI[futures-timer-3.0.3.sha256sum] = "f288b0a4f20f9a56b5d1da57e2227c661b7b16168e2f72365f57b63326e29b24"
+SRC_URI[futures-util-0.3.30.sha256sum] = "3d6401deb83407ab3da39eba7e33987a73c3df0c82b4bb5813ee871c19c41d48"
+SRC_URI[generic-array-0.14.7.sha256sum] = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a"
+SRC_URI[getrandom-0.2.12.sha256sum] = "190092ea657667030ac6a35e305e62fc4dd69fd98ac98631e5d3a2b1575a12b5"
+SRC_URI[glob-0.3.1.sha256sum] = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b"
+SRC_URI[globset-0.4.14.sha256sum] = "57da3b9b5b85bd66f31093f8c408b90a74431672542466497dcbdfdc02034be1"
+SRC_URI[goblin-0.8.0.sha256sum] = "bb07a4ffed2093b118a525b1d8f5204ae274faed5604537caf7135d0f18d9887"
+SRC_URI[hashbrown-0.12.3.sha256sum] = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888"
+SRC_URI[hashbrown-0.14.3.sha256sum] = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604"
+SRC_URI[heck-0.4.1.sha256sum] = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8"
+SRC_URI[home-0.5.9.sha256sum] = "e3d1354bf6b7235cb4a0576c2619fd4ed18183f689b12b006a0ee7329eeff9a5"
+SRC_URI[humantime-2.1.0.sha256sum] = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4"
+SRC_URI[humantime-serde-1.1.1.sha256sum] = "57a3db5ea5923d99402c94e9feb261dc5ee9b4efa158b0315f788cf549cc200c"
+SRC_URI[idna-0.5.0.sha256sum] = "634d9b1461af396cad843f47fdba5597a4f9e6ddd4bfb6ff5d85028c25cb12f6"
+SRC_URI[ignore-0.4.22.sha256sum] = "b46810df39e66e925525d6e38ce1e7f6e1d208f72dc39757880fcb66e2c58af1"
+SRC_URI[indexmap-1.9.3.sha256sum] = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99"
+SRC_URI[indexmap-2.2.3.sha256sum] = "233cf39063f058ea2caae4091bf4a3ef70a653afbc026f5c4a4135d114e3c177"
+SRC_URI[indicatif-0.17.7.sha256sum] = "fb28741c9db9a713d93deb3bb9515c20788cef5815265bee4980e87bde7e0f25"
+SRC_URI[indoc-2.0.4.sha256sum] = "1e186cfbae8084e513daff4240b4797e342f988cecda4fb6c939150f96315fd8"
+SRC_URI[instant-0.1.12.sha256sum] = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c"
+SRC_URI[itertools-0.11.0.sha256sum] = "b1c173a5686ce8bfa551b3563d0c2170bf24ca44da99c7ca4bfdab5418c3fe57"
+SRC_URI[itertools-0.12.1.sha256sum] = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569"
+SRC_URI[itoa-1.0.10.sha256sum] = "b1a46d1a171d865aa5f83f92695765caa047a9b4cbae2cbf37dbd613a793fd4c"
+SRC_URI[keyring-2.3.2.sha256sum] = "1be8bc4c6b6e9d85ecdad090fcf342a9216f53d747a537cc05e3452fd650ca46"
+SRC_URI[lazy_static-1.4.0.sha256sum] = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
+SRC_URI[lddtree-0.3.4.sha256sum] = "f88a93876d2485ede9c97d698c164cf5c024491908483964a998faae9705dea6"
+SRC_URI[libc-0.2.153.sha256sum] = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd"
+SRC_URI[libredox-0.0.1.sha256sum] = "85c833ca1e66078851dba29046874e38f08b2c883700aa29a03ddd3b23814ee8"
+SRC_URI[linux-keyutils-0.2.4.sha256sum] = "761e49ec5fd8a5a463f9b84e877c373d888935b71c6be78f3767fe2ae6bed18e"
+SRC_URI[linux-raw-sys-0.4.13.sha256sum] = "01cda141df6706de531b6c46c3a33ecca755538219bd484262fa09410c13539c"
+SRC_URI[lock_api-0.4.11.sha256sum] = "3c168f8615b12bc01f9c17e2eb0cc07dcae1940121185446edc3744920e8ef45"
+SRC_URI[log-0.4.20.sha256sum] = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f"
+SRC_URI[lzxd-0.1.4.sha256sum] = "784462f20dddd9dfdb45de963fa4ad4a288cb10a7889ac5d2c34fb6481c6b213"
+SRC_URI[mailparse-0.14.1.sha256sum] = "2d096594926cab442e054e047eb8c1402f7d5b2272573b97ba68aa40629f9757"
+SRC_URI[matchers-0.1.0.sha256sum] = "8263075bb86c5a1b1427b5ae862e8889656f126e9f77c484496e8b47cf5c5558"
+SRC_URI[memchr-2.7.1.sha256sum] = "523dc4f511e55ab87b694dc30d0f820d60906ef06413f93d4d7a1385599cc149"
+SRC_URI[mime-0.3.17.sha256sum] = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a"
+SRC_URI[mime_guess-2.0.4.sha256sum] = "4192263c238a5f0d0c6bfd21f336a313a4ce1c450542449ca191bb657b4642ef"
+SRC_URI[minijinja-1.0.12.sha256sum] = "6fe0ff215195a22884d867b547c70a0c4815cbbcc70991f281dca604b20d10ce"
+SRC_URI[minimal-lexical-0.2.1.sha256sum] = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
+SRC_URI[miniz_oxide-0.7.1.sha256sum] = "e7810e0be55b428ada41041c41f32c9f1a42817901b4ccf45fa3d4b6561e74c7"
+SRC_URI[msi-0.7.0.sha256sum] = "226b2404f03d2cf47375b9715c8adfae4e388bb2377cff908e8a40f31e421514"
+SRC_URI[multipart-0.18.0.sha256sum] = "00dec633863867f29cb39df64a397cdf4a6354708ddd7759f70c7fb51c5f9182"
+SRC_URI[native-tls-0.2.11.sha256sum] = "07226173c32f2926027b63cce4bcd8076c3552846cbe7925f3aaffeac0a3b92e"
+SRC_URI[nom-7.1.3.sha256sum] = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a"
+SRC_URI[normalize-line-endings-0.3.0.sha256sum] = "61807f77802ff30975e01f4f071c8ba10c022052f98b3294119f3e615d13e5be"
+SRC_URI[normpath-1.1.1.sha256sum] = "ec60c60a693226186f5d6edf073232bfb6464ed97eb22cf3b01c1e8198fd97f5"
+SRC_URI[nu-ansi-term-0.46.0.sha256sum] = "77a8165726e8236064dbb45459242600304b42a5ea24ee2948e18e023bf7ba84"
+SRC_URI[num-conv-0.1.0.sha256sum] = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9"
+SRC_URI[number_prefix-0.4.0.sha256sum] = "830b246a0e5f20af87141b25c173cd1b609bd7779a4617d6ec582abaf90870f3"
+SRC_URI[once_cell-1.19.0.sha256sum] = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92"
+SRC_URI[openssl-0.10.63.sha256sum] = "15c9d69dd87a29568d4d017cfe8ec518706046a05184e5aea92d0af890b803c8"
+SRC_URI[openssl-macros-0.1.1.sha256sum] = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c"
+SRC_URI[openssl-probe-0.1.5.sha256sum] = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf"
+SRC_URI[openssl-sys-0.9.99.sha256sum] = "22e1bf214306098e4832460f797824c05d25aacdf896f64a985fb0fd992454ae"
+SRC_URI[option-ext-0.2.0.sha256sum] = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d"
+SRC_URI[os_pipe-1.1.5.sha256sum] = "57119c3b893986491ec9aa85056780d3a0f3cf4da7cc09dd3650dbd6c6738fb9"
+SRC_URI[overload-0.1.1.sha256sum] = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39"
+SRC_URI[parking_lot-0.12.1.sha256sum] = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f"
+SRC_URI[parking_lot_core-0.9.9.sha256sum] = "4c42a9226546d68acdd9c0a280d17ce19bfe27a46bf68784e4066115788d008e"
+SRC_URI[paste-1.0.14.sha256sum] = "de3145af08024dea9fa9914f381a17b8fc6034dfb00f3a84013f7ff43f29ed4c"
+SRC_URI[path-slash-0.2.1.sha256sum] = "1e91099d4268b0e11973f036e885d652fb0b21fedcf69738c627f94db6a44f42"
+SRC_URI[pep440_rs-0.5.0.sha256sum] = "15efd4d885c29126cc93e12af3087896e2518bd5ca0fb328c19c4ef9cecfa8be"
+SRC_URI[pep508_rs-0.4.2.sha256sum] = "1455babf8edd3eedcdfcb39700e455a4bb189e71b4f1fa0eacc9b244cc5a55e6"
+SRC_URI[percent-encoding-2.3.1.sha256sum] = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e"
+SRC_URI[pin-project-lite-0.2.13.sha256sum] = "8afb450f006bf6385ca15ef45d71d2288452bc3683ce2e2cacc0d18e4be60b58"
+SRC_URI[pin-utils-0.1.0.sha256sum] = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
+SRC_URI[pkg-config-0.3.29.sha256sum] = "2900ede94e305130c13ddd391e0ab7cbaeb783945ae07a279c268cb05109c6cb"
+SRC_URI[plain-0.2.3.sha256sum] = "b4596b6d070b27117e987119b4dac604f3c58cfb0b191112e24771b2faeac1a6"
+SRC_URI[platform-info-2.0.2.sha256sum] = "d6259c4860e53bf665016f1b2f46a8859cadfa717581dc9d597ae4069de6300f"
+SRC_URI[portable-atomic-1.6.0.sha256sum] = "7170ef9988bc169ba16dd36a7fa041e5c4cbeb6a35b76d4c03daded371eae7c0"
+SRC_URI[powerfmt-0.2.0.sha256sum] = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391"
+SRC_URI[ppv-lite86-0.2.17.sha256sum] = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de"
+SRC_URI[pretty_assertions-1.4.0.sha256sum] = "af7cee1a6c8a5b9208b3cb1061f10c0cb689087b3d8ce85fb9d2dd7a29b6ba66"
+SRC_URI[proc-macro2-1.0.78.sha256sum] = "e2422ad645d89c99f8f3e6b88a9fdeca7fabeac836b1002371c4367c8f984aae"
+SRC_URI[psm-0.1.21.sha256sum] = "5787f7cda34e3033a72192c018bc5883100330f362ef279a8cbccfce8bb4e874"
+SRC_URI[pyproject-toml-0.10.0.sha256sum] = "3b80f889b6d413c3f8963a2c7db03f95dd6e1d85e1074137cb2013ea2faa8898"
+SRC_URI[python-pkginfo-0.6.0.sha256sum] = "037469c164f08c891bf6d69ca02f1d56210011451e229618669777df82124cfa"
+SRC_URI[quote-1.0.35.sha256sum] = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef"
+SRC_URI[quoted_printable-0.4.8.sha256sum] = "5a3866219251662ec3b26fc217e3e05bf9c4f84325234dfb96bf0bf840889e49"
+SRC_URI[quoted_printable-0.5.0.sha256sum] = "79ec282e887b434b68c18fe5c121d38e72a5cf35119b59e54ec5b992ea9c8eb0"
+SRC_URI[rand-0.8.5.sha256sum] = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
+SRC_URI[rand_chacha-0.3.1.sha256sum] = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
+SRC_URI[rand_core-0.6.4.sha256sum] = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
+SRC_URI[rayon-1.8.1.sha256sum] = "fa7237101a77a10773db45d62004a272517633fbcc3df19d96455ede1122e051"
+SRC_URI[rayon-core-1.12.1.sha256sum] = "1465873a3dfdaa8ae7cb14b4383657caab0b3e8a0aa9ae8e04b044854c8dfce2"
+SRC_URI[redox_syscall-0.4.1.sha256sum] = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa"
+SRC_URI[redox_users-0.4.4.sha256sum] = "a18479200779601e498ada4e8c1e1f50e3ee19deb0259c25825a98b5603b2cb4"
+SRC_URI[regex-1.10.3.sha256sum] = "b62dbe01f0b06f9d8dc7d49e05a0785f153b00b2c227856282f671e0318c9b15"
+SRC_URI[regex-automata-0.1.10.sha256sum] = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132"
+SRC_URI[regex-automata-0.4.5.sha256sum] = "5bb987efffd3c6d0d8f5f89510bb458559eab11e4f869acb20bf845e016259cd"
+SRC_URI[regex-syntax-0.6.29.sha256sum] = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1"
+SRC_URI[regex-syntax-0.8.2.sha256sum] = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f"
+SRC_URI[relative-path-1.9.2.sha256sum] = "e898588f33fdd5b9420719948f9f2a32c922a246964576f71ba7f24f80610fbc"
+SRC_URI[rfc2047-decoder-0.2.2.sha256sum] = "61fc4b4e52897c3e30b12b7e9b04461215b647fbe66f6def60dd8edbce14ec2e"
+SRC_URI[ring-0.17.7.sha256sum] = "688c63d65483050968b2a8937f7995f443e27041a0f7700aa59b0822aedebb74"
+SRC_URI[rstest-0.18.2.sha256sum] = "97eeab2f3c0a199bc4be135c36c924b6590b88c377d416494288c14f2db30199"
+SRC_URI[rstest_macros-0.18.2.sha256sum] = "d428f8247852f894ee1be110b375111b586d4fa431f6c46e64ba5a0dcccbe605"
+SRC_URI[rustc_version-0.4.0.sha256sum] = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366"
+SRC_URI[rustix-0.38.32.sha256sum] = "65e04861e65f21776e67888bfbea442b3642beaa0138fdb1dd7a84a52dffdb89"
+SRC_URI[rustls-0.22.4.sha256sum] = "bf4ef73721ac7bcd79b2b315da7779d8fc09718c6b3d2d1b2d94850eb8c18432"
+SRC_URI[rustls-pemfile-2.1.0.sha256sum] = "3c333bb734fcdedcea57de1602543590f545f127dc8b533324318fd492c5c70b"
+SRC_URI[rustls-pki-types-1.3.1.sha256sum] = "5ede67b28608b4c60685c7d54122d4400d90f62b40caee7700e700380a390fa8"
+SRC_URI[rustls-webpki-0.102.1.sha256sum] = "ef4ca26037c909dedb327b48c3327d0ba91d3dd3c4e05dad328f210ffb68e95b"
+SRC_URI[rustversion-1.0.14.sha256sum] = "7ffc183a10b4478d04cbbbfc96d0873219d962dd5accaff2ffbd4ceb7df837f4"
+SRC_URI[ryu-1.0.16.sha256sum] = "f98d2aa92eebf49b69786be48e4477826b256916e84a57ff2a4f21923b48eb4c"
+SRC_URI[same-file-1.0.6.sha256sum] = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"
+SRC_URI[schannel-0.1.23.sha256sum] = "fbc91545643bcf3a0bbb6569265615222618bdf33ce4ffbbd13c4bbd4c093534"
+SRC_URI[schemars-0.8.16.sha256sum] = "45a28f4c49489add4ce10783f7911893516f15afe45d015608d41faca6bc4d29"
+SRC_URI[schemars_derive-0.8.16.sha256sum] = "c767fd6fa65d9ccf9cf026122c1b555f2ef9a4f0cea69da4d7dbc3e258d30967"
+SRC_URI[scopeguard-1.2.0.sha256sum] = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
+SRC_URI[scroll-0.12.0.sha256sum] = "6ab8598aa408498679922eff7fa985c25d58a90771bd6be794434c5277eab1a6"
+SRC_URI[scroll_derive-0.12.0.sha256sum] = "7f81c2fde025af7e69b1d1420531c8a8811ca898919db177141a85313b1cb932"
+SRC_URI[security-framework-2.9.2.sha256sum] = "05b64fb303737d99b81884b2c63433e9ae28abebe5eb5045dcdd175dc2ecf4de"
+SRC_URI[security-framework-sys-2.9.1.sha256sum] = "e932934257d3b408ed8f30db49d85ea163bfe74961f017f405b025af298f0c7a"
+SRC_URI[semver-1.0.22.sha256sum] = "92d43fe69e652f3df9bdc2b85b2854a0825b86e4fb76bc44d945137d053639ca"
+SRC_URI[serde-1.0.197.sha256sum] = "3fb1c873e1b9b056a4dc4c0c198b24c3ffa059243875552b2bd0933b1aee4ce2"
+SRC_URI[serde_derive-1.0.197.sha256sum] = "7eb0b34b42edc17f6b7cac84a52a1c5f0e1bb2227e997ca9011ea3dd34e8610b"
+SRC_URI[serde_derive_internals-0.26.0.sha256sum] = "85bf8229e7920a9f636479437026331ce11aa132b4dde37d121944a44d6e5f3c"
+SRC_URI[serde_json-1.0.114.sha256sum] = "c5f09b1bd632ef549eaa9f60a1f8de742bdbc698e6cee2095fc84dde5f549ae0"
+SRC_URI[serde_spanned-0.6.5.sha256sum] = "eb3622f419d1296904700073ea6cc23ad690adbd66f13ea683df73298736f0c1"
+SRC_URI[sha2-0.10.8.sha256sum] = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8"
+SRC_URI[sharded-slab-0.1.7.sha256sum] = "f40ca3c46823713e0d4209592e8d6e826aa57e928f09752619fc696c499637f6"
+SRC_URI[shell-words-1.1.0.sha256sum] = "24188a676b6ae68c3b2cb3a01be17fbf7240ce009799bb56d5b1409051e78fde"
+SRC_URI[shlex-1.3.0.sha256sum] = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
+SRC_URI[similar-2.4.0.sha256sum] = "32fea41aca09ee824cc9724996433064c89f7777e60762749a4170a14abbfa21"
+SRC_URI[slab-0.4.9.sha256sum] = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67"
+SRC_URI[smallvec-1.13.1.sha256sum] = "e6ecd384b10a64542d77071bd64bd7b231f4ed5940fba55e98c3de13824cf3d7"
+SRC_URI[smawk-0.3.2.sha256sum] = "b7c388c1b5e93756d0c740965c41e8822f866621d41acbdf6336a6a168f8840c"
+SRC_URI[snapbox-0.5.7.sha256sum] = "4a99efa20de5053229642a477436cdb39828c7651c614622eb4888f9688523e6"
+SRC_URI[snapbox-macros-0.3.8.sha256sum] = "e1c4b838b05d15ab22754068cb73500b2f3b07bf09d310e15b27f88160f1de40"
+SRC_URI[socks-0.3.4.sha256sum] = "f0c3dbbd9ae980613c6dd8e28a9407b50509d3803b57624d5dfe8315218cd58b"
+SRC_URI[spin-0.9.8.sha256sum] = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67"
+SRC_URI[stacker-0.1.15.sha256sum] = "c886bd4480155fd3ef527d45e9ac8dd7118a898a46530b7b94c3e21866259fce"
+SRC_URI[static_assertions-1.1.0.sha256sum] = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
+SRC_URI[strsim-0.10.0.sha256sum] = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623"
+SRC_URI[subtle-2.5.0.sha256sum] = "81cdd64d312baedb58e21336b31bc043b77e01cc99033ce76ef539f78e965ebc"
+SRC_URI[syn-1.0.109.sha256sum] = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237"
+SRC_URI[syn-2.0.48.sha256sum] = "0f3531638e407dfc0814761abb7c00a5b54992b849452a0646b7f65c9f770f3f"
+SRC_URI[tar-0.4.40.sha256sum] = "b16afcea1f22891c49a00c751c7b63b2233284064f11a200fc624137c51e2ddb"
+SRC_URI[target-lexicon-0.12.14.sha256sum] = "e1fc403891a21bcfb7c37834ba66a547a8f402146eba7265b5a6d88059c9ff2f"
+SRC_URI[tempfile-3.9.0.sha256sum] = "01ce4141aa927a6d1bd34a041795abd0db1cccba5d5f24b009f694bdf3a1f3fa"
+SRC_URI[termcolor-1.4.1.sha256sum] = "06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755"
+SRC_URI[terminal_size-0.3.0.sha256sum] = "21bebf2b7c9e0a515f6e0f8c51dc0f8e4696391e6f1ff30379559f8365fb0df7"
+SRC_URI[textwrap-0.16.1.sha256sum] = "23d434d3f8967a09480fb04132ebe0a3e088c173e6d0ee7897abbdf4eab0f8b9"
+SRC_URI[thiserror-1.0.57.sha256sum] = "1e45bcbe8ed29775f228095caf2cd67af7a4ccf756ebff23a306bf3e8b47b24b"
+SRC_URI[thiserror-impl-1.0.57.sha256sum] = "a953cb265bef375dae3de6663da4d3804eee9682ea80d8e2542529b73c531c81"
+SRC_URI[thread_local-1.1.7.sha256sum] = "3fdd6f064ccff2d6567adcb3873ca630700f00b5ad3f060c25b5dcfd9a4ce152"
+SRC_URI[time-0.3.34.sha256sum] = "c8248b6521bb14bc45b4067159b9b6ad792e2d6d754d6c41fb50e29fefe38749"
+SRC_URI[time-core-0.1.2.sha256sum] = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3"
+SRC_URI[time-macros-0.2.17.sha256sum] = "7ba3a3ef41e6672a2f0f001392bb5dcd3ff0a9992d618ca761a11c3121547774"
+SRC_URI[tinyvec-1.6.0.sha256sum] = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50"
+SRC_URI[tinyvec_macros-0.1.1.sha256sum] = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20"
+SRC_URI[toml-0.5.11.sha256sum] = "f4f7f0dd8d50a853a531c426359045b1998f04219d88799810762cd4ad314234"
+SRC_URI[toml-0.8.10.sha256sum] = "9a9aad4a3066010876e8dcf5a8a06e70a558751117a145c6ce2b82c2e2054290"
+SRC_URI[toml_datetime-0.6.5.sha256sum] = "3550f4e9685620ac18a50ed434eb3aec30db8ba93b0287467bca5826ea25baf1"
+SRC_URI[toml_edit-0.22.6.sha256sum] = "2c1b5fd4128cc8d3e0cb74d4ed9a9cc7c7284becd4df68f5f940e1ad123606f6"
+SRC_URI[tracing-0.1.40.sha256sum] = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef"
+SRC_URI[tracing-attributes-0.1.27.sha256sum] = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7"
+SRC_URI[tracing-core-0.1.32.sha256sum] = "c06d3da6113f116aaee68e4d601191614c9053067f9ab7f6edbcb161237daa54"
+SRC_URI[tracing-log-0.2.0.sha256sum] = "ee855f1f400bd0e5c02d150ae5de3840039a3f54b025156404e34c23c03f47c3"
+SRC_URI[tracing-serde-0.1.3.sha256sum] = "bc6b213177105856957181934e4920de57730fc69bf42c37ee5bb664d406d9e1"
+SRC_URI[tracing-subscriber-0.3.18.sha256sum] = "ad0f048c97dbd9faa9b7df56362b8ebcaa52adb06b498c050d2f4e32f90a7a8b"
+SRC_URI[trycmd-0.15.0.sha256sum] = "464edb3603a81a50b4c8f47b11dfade69ef48ffdc0af2f8b194ad87cbda75317"
+SRC_URI[twox-hash-1.6.3.sha256sum] = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675"
+SRC_URI[typenum-1.17.0.sha256sum] = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825"
+SRC_URI[unicase-2.7.0.sha256sum] = "f7d2d4dafb69621809a81864c9c1b864479e1235c0dd4e199924b9742439ed89"
+SRC_URI[unicode-bidi-0.3.15.sha256sum] = "08f95100a766bf4f8f28f90d77e0a5461bbdb219042e7679bebe79004fed8d75"
+SRC_URI[unicode-ident-1.0.12.sha256sum] = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"
+SRC_URI[unicode-linebreak-0.1.5.sha256sum] = "3b09c83c3c29d37506a3e260c08c03743a6bb66a9cd432c6934ab501a190571f"
+SRC_URI[unicode-normalization-0.1.22.sha256sum] = "5c5713f0fc4b5db668a2ac63cdb7bb4469d8c9fed047b1d0292cc7b0ce2ba921"
+SRC_URI[unicode-width-0.1.11.sha256sum] = "e51733f11c9c4f72aa0c160008246859e340b00807569a0da0e7a1079b27ba85"
+SRC_URI[unicode-xid-0.2.4.sha256sum] = "f962df74c8c05a667b5ee8bcf162993134c104e96440b663c8daa176dc772d8c"
+SRC_URI[unscanny-0.1.0.sha256sum] = "e9df2af067a7953e9c3831320f35c1cc0600c30d44d9f7a12b01db1cd88d6b47"
+SRC_URI[untrusted-0.9.0.sha256sum] = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1"
+SRC_URI[ureq-2.9.6.sha256sum] = "11f214ce18d8b2cbe84ed3aa6486ed3f5b285cf8d8fbdbce9f3f767a724adc35"
+SRC_URI[url-2.5.0.sha256sum] = "31e6302e3bb753d46e83516cae55ae196fc0c309407cf11ab35cc51a4c2a4633"
+SRC_URI[urlencoding-2.1.3.sha256sum] = "daf8dba3b7eb870caf1ddeed7bc9d2a049f3cfdfae7cb521b087cc33ae4c49da"
+SRC_URI[utf8parse-0.2.1.sha256sum] = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a"
+SRC_URI[uuid-1.7.0.sha256sum] = "f00cc9702ca12d3c81455259621e676d0f7251cec66a21e98fe2e9a37db93b2a"
+SRC_URI[valuable-0.1.0.sha256sum] = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d"
+SRC_URI[vcpkg-0.2.15.sha256sum] = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426"
+SRC_URI[version_check-0.9.4.sha256sum] = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f"
+SRC_URI[versions-5.0.1.sha256sum] = "c73a36bc44e3039f51fbee93e39f41225f6b17b380eb70cc2aab942df06b34dd"
+SRC_URI[wait-timeout-0.2.0.sha256sum] = "9f200f5b12eb75f8c1ed65abd4b2db8a6e1b138a20de009dacee265a2498f3f6"
+SRC_URI[walkdir-2.4.0.sha256sum] = "d71d857dc86794ca4c280d616f7da00d2dbfd8cd788846559a6813e6aa4b54ee"
+SRC_URI[wasi-0.11.0+wasi-snapshot-preview1.sha256sum] = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
+SRC_URI[webpki-roots-0.26.0.sha256sum] = "0de2cfda980f21be5a7ed2eadb3e6fe074d56022bea2cdeb1a62eb220fc04188"
+SRC_URI[which-5.0.0.sha256sum] = "9bf3ea8596f3a0dd5980b46430f2058dfe2c36a27ccfbb1845d6fbfcd9ba6e14"
+SRC_URI[which-6.0.0.sha256sum] = "7fa5e0c10bf77f44aac573e498d1a82d5fbd5e91f6fc0a99e7be4b38e85e101c"
+SRC_URI[wild-2.2.1.sha256sum] = "a3131afc8c575281e1e80f36ed6a092aa502c08b18ed7524e86fbbb12bb410e1"
+SRC_URI[winapi-0.3.9.sha256sum] = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
+SRC_URI[winapi-i686-pc-windows-gnu-0.4.0.sha256sum] = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
+SRC_URI[winapi-util-0.1.6.sha256sum] = "f29e6f9198ba0d26b4c9f07dbe6f9ed633e1f3d5b8b414090084349e46a52596"
+SRC_URI[winapi-x86_64-pc-windows-gnu-0.4.0.sha256sum] = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
+SRC_URI[windows-sys-0.48.0.sha256sum] = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9"
+SRC_URI[windows-sys-0.52.0.sha256sum] = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
+SRC_URI[windows-targets-0.48.5.sha256sum] = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c"
+SRC_URI[windows-targets-0.52.0.sha256sum] = "8a18201040b24831fbb9e4eb208f8892e1f50a37feb53cc7ff887feb8f50e7cd"
+SRC_URI[windows_aarch64_gnullvm-0.48.5.sha256sum] = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8"
+SRC_URI[windows_aarch64_gnullvm-0.52.0.sha256sum] = "cb7764e35d4db8a7921e09562a0304bf2f93e0a51bfccee0bd0bb0b666b015ea"
+SRC_URI[windows_aarch64_msvc-0.48.5.sha256sum] = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc"
+SRC_URI[windows_aarch64_msvc-0.52.0.sha256sum] = "bbaa0368d4f1d2aaefc55b6fcfee13f41544ddf36801e793edbbfd7d7df075ef"
+SRC_URI[windows_i686_gnu-0.48.5.sha256sum] = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e"
+SRC_URI[windows_i686_gnu-0.52.0.sha256sum] = "a28637cb1fa3560a16915793afb20081aba2c92ee8af57b4d5f28e4b3e7df313"
+SRC_URI[windows_i686_msvc-0.48.5.sha256sum] = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406"
+SRC_URI[windows_i686_msvc-0.52.0.sha256sum] = "ffe5e8e31046ce6230cc7215707b816e339ff4d4d67c65dffa206fd0f7aa7b9a"
+SRC_URI[windows_x86_64_gnu-0.48.5.sha256sum] = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e"
+SRC_URI[windows_x86_64_gnu-0.52.0.sha256sum] = "3d6fa32db2bc4a2f5abeacf2b69f7992cd09dca97498da74a151a3132c26befd"
+SRC_URI[windows_x86_64_gnullvm-0.48.5.sha256sum] = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc"
+SRC_URI[windows_x86_64_gnullvm-0.52.0.sha256sum] = "1a657e1e9d3f514745a572a6846d3c7aa7dbe1658c056ed9c3344c4109a6949e"
+SRC_URI[windows_x86_64_msvc-0.48.5.sha256sum] = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538"
+SRC_URI[windows_x86_64_msvc-0.52.0.sha256sum] = "dff9641d1cd4be8d1a070daf9e3773c5f67e78b4d9d42263020c057706765c04"
+SRC_URI[winnow-0.6.2.sha256sum] = "7a4191c47f15cc3ec71fcb4913cb83d58def65dd3787610213c649283b5ce178"
+SRC_URI[xattr-1.3.1.sha256sum] = "8da84f1a25939b27f6820d92aed108f83ff920fdf11a7b19366c27c4cda81d4f"
+SRC_URI[xwin-0.5.0.sha256sum] = "c43e0202f5457b48558096cb7b36d0e473f267551a89c82ed72d73b01dfd4007"
+SRC_URI[yansi-0.5.1.sha256sum] = "09041cd90cf85f7f8b2df60c646f853b7f535ce68f85244eb6731cf89fa498ec"
+SRC_URI[zerocopy-0.7.32.sha256sum] = "74d4d3961e53fa4c9a25a8637fc2bfaf2595b3d3ae34875568a5cf64787716be"
+SRC_URI[zerocopy-derive-0.7.32.sha256sum] = "9ce1b18ccd8e73a9321186f97e46f9f04b778851177567b1975109d26a08d2a6"
+SRC_URI[zeroize-1.7.0.sha256sum] = "525b4ec142c6b68a2d10f01f7bbf6755599ca3f81ea53b8431b7dd348f5fdb2d"
+SRC_URI[zip-0.6.6.sha256sum] = "760394e246e4c28189f19d488c058bf16f564016aefac5d32bb1f3b51d5e9261"
diff --git a/meta/recipes-devtools/python/python3-maturin_1.6.0.bb b/meta/recipes-devtools/python/python3-maturin_1.6.0.bb
new file mode 100644
index 0000000000..1d62671bb9
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-maturin_1.6.0.bb
@@ -0,0 +1,42 @@
+SUMMARY = "Build and publish crates with pyo3, rust-cpython, cffi bindings and rust binaries as python packages"
+HOMEPAGE = "https://github.com/pyo3/maturin"
+SECTION = "devel/python"
+LICENSE = "MIT | Apache-2.0"
+LIC_FILES_CHKSUM = "file://license-apache;md5=1836efb2eb779966696f473ee8540542 \
+ file://license-mit;md5=85fd3b67069cff784d98ebfc7d5c0797"
+
+SRC_URI[sha256sum] = "b955025c24c8babc808db49e0ff90db8b4b1320dcc16b14eb26132841737230d"
+
+S = "${WORKDIR}/maturin-${PV}"
+
+CFLAGS:append = " -fdebug-prefix-map=${CARGO_HOME}=${TARGET_DBGSRC_DIR}/cargo_home"
+
+DEPENDS += "\
+ python3-setuptools-rust-native \
+ python3-semantic-version-native \
+ python3-setuptools-rust \
+"
+
+require ${BPN}-crates.inc
+
+inherit pypi cargo-update-recipe-crates python_pyo3 python_setuptools_build_meta
+
+do_configure() {
+ python_pyo3_do_configure
+ cargo_common_do_configure
+ python_pep517_do_configure
+}
+
+RDEPENDS:${PN} += "\
+ cargo \
+ python3-json \
+ rust \
+"
+
+RRECOMMENDS:${PN} += "\
+ python3-ensurepip \
+ python3-pip \
+ python3-venv \
+"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-meson-python_0.15.0.bb b/meta/recipes-devtools/python/python3-meson-python_0.15.0.bb
new file mode 100644
index 0000000000..ad3cfe17d9
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-meson-python_0.15.0.bb
@@ -0,0 +1,27 @@
+SUMMARY = "Meson Python build backend (PEP 517)"
+HOMEPAGE = "https://github.com/mesonbuild/meson-python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=d580b27e67cc0892a5b005b0be114b60"
+
+DEPENDS = " \
+ meson-native \
+ ninja-native \
+ patchelf-native \
+ python3-pyproject-metadata-native \
+"
+
+PYPI_PACKAGE = "meson_python"
+
+inherit pypi python_mesonpy
+SRC_URI[sha256sum] = "fddb73eecd49e89c1c41c87937cd89c2d0b65a1c63ba28238681d4bd9484d26f"
+
+DEPENDS:remove:class-native = "python3-meson-python-native"
+
+RDEPENDS:${PN} = " \
+ meson \
+ ninja \
+ patchelf \
+ python3-pyproject-metadata \
+"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-more-itertools/run-ptest b/meta/recipes-devtools/python/python3-more-itertools/run-ptest
new file mode 100644
index 0000000000..8d2017d39c
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-more-itertools/run-ptest
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+pytest --automake
diff --git a/meta/recipes-devtools/python/python3-more-itertools_10.2.0.bb b/meta/recipes-devtools/python/python3-more-itertools_10.2.0.bb
new file mode 100644
index 0000000000..e1e1f5e18f
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-more-itertools_10.2.0.bb
@@ -0,0 +1,29 @@
+SUMMARY = "More routines for operating on iterables, beyond itertools"
+HOMEPAGE = "https://github.com/erikrose/more-itertools"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=3396ea30f9d21389d7857719816f83b5"
+
+SRC_URI[sha256sum] = "8fccb480c43d3e99a00087634c06dd02b0d50fbf088b380de5a41a015ec239e1"
+
+inherit pypi python_flit_core ptest
+
+SRC_URI += " \
+ file://run-ptest \
+"
+
+RDEPENDS:${PN} += " \
+ python3-asyncio \
+ "
+
+RDEPENDS:${PN}-ptest += " \
+ python3-statistics \
+ python3-pytest \
+ python3-unittest-automake-output \
+ "
+
+do_install_ptest() {
+ install -d ${D}${PTEST_PATH}/tests
+ cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
+}
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-ndg-httpsclient_0.5.1.bb b/meta/recipes-devtools/python/python3-ndg-httpsclient_0.5.1.bb
new file mode 100644
index 0000000000..68d8668a41
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-ndg-httpsclient_0.5.1.bb
@@ -0,0 +1,31 @@
+SUMMARY = "Provides enhanced HTTPS support for httplib and urllib2 using PyOpenSSL"
+HOMEPAGE = "https://github.com/cedadev/ndg_httpsclient/"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://MANIFEST.in;md5=ce22c0cd986d2de3f7073cd6b5523ae0"
+
+SRC_URI[md5sum] = "b0fc8ea38f87d2c1ab1ed79a95c078f9"
+SRC_URI[sha256sum] = "d72faed0376ab039736c2ba12e30695e2788c4aa569c9c3e3d72131de2592210"
+
+inherit pypi setuptools3 update-alternatives
+
+PYPI_PACKAGE = "ndg_httpsclient"
+
+DEPENDS += " \
+ python3-pyopenssl \
+ python3-pyasn1 \
+"
+
+RDEPENDS:${PN} += " \
+ python3-datetime \
+ python3-logging \
+ python3-pyopenssl \
+ python3-pyasn1 \
+"
+
+BBCLASSEXTEND = "native nativesdk"
+
+UPSTREAM_CHECK_REGEX = ""
+
+ALTERNATIVE:${PN} = "ndg_httpclient"
+ALTERNATIVE_LINK_NAME[ndg_httpclient] = "${bindir}/ndg_httpclient"
+ALTERNATIVE_PRIORITY = "30"
diff --git a/meta/recipes-devtools/python/python3-nose_1.3.7.bb b/meta/recipes-devtools/python/python3-nose_1.3.7.bb
deleted file mode 100644
index 13dbf96179..0000000000
--- a/meta/recipes-devtools/python/python3-nose_1.3.7.bb
+++ /dev/null
@@ -1,2 +0,0 @@
-inherit setuptools3
-require python-nose.inc
diff --git a/meta/recipes-devtools/python-numpy/files/0001-Don-t-search-usr-and-so-on-for-libraries-by-default-.patch b/meta/recipes-devtools/python/python3-numpy/0001-Don-t-search-usr-and-so-on-for-libraries-by-default-.patch
index cdb6a473d2..bbe309c556 100644
--- a/meta/recipes-devtools/python-numpy/files/0001-Don-t-search-usr-and-so-on-for-libraries-by-default-.patch
+++ b/meta/recipes-devtools/python/python3-numpy/0001-Don-t-search-usr-and-so-on-for-libraries-by-default-.patch
@@ -1,4 +1,4 @@
-From 27f6687e49bf555fc494d2f14bae6ecd0fa30f14 Mon Sep 17 00:00:00 2001
+From 46eea664cf89d0602e7ff16d587c37c045b125b7 Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex.kanavin@gmail.com>
Date: Thu, 10 Dec 2015 13:20:30 +0200
Subject: [PATCH] Don't search /usr and so on for libraries by default to
@@ -10,14 +10,14 @@ Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
- numpy/distutils/system_info.py | 42 ++++------------------------------
- 1 file changed, 5 insertions(+), 37 deletions(-)
+ numpy/distutils/system_info.py | 42 +++++-----------------------------
+ 1 file changed, 6 insertions(+), 36 deletions(-)
diff --git a/numpy/distutils/system_info.py b/numpy/distutils/system_info.py
-index 3a6a7b2..6c2c3da 100644
+index feb28f6..a48d6d1 100644
--- a/numpy/distutils/system_info.py
+++ b/numpy/distutils/system_info.py
-@@ -309,45 +309,13 @@ if sys.platform == 'win32':
+@@ -327,44 +327,14 @@ def add_system_root(library_root):
add_system_root(os.path.join(conda_dir, 'Library'))
else:
@@ -25,7 +25,7 @@ index 3a6a7b2..6c2c3da 100644
- '/opt/local/lib', '/sw/lib'], platform_bits)
default_runtime_dirs = []
- default_include_dirs = ['/usr/local/include',
-- '/opt/include', '/usr/include',
+- '/opt/include',
- # path of umfpack under macports
- '/opt/local/include/ufsparse',
- '/opt/local/include', '/sw/include',
@@ -34,8 +34,7 @@ index 3a6a7b2..6c2c3da 100644
-
- default_x11_lib_dirs = libpaths(['/usr/X11R6/lib', '/usr/X11/lib',
- '/usr/lib'], platform_bits)
-- default_x11_include_dirs = ['/usr/X11R6/include', '/usr/X11/include',
-- '/usr/include']
+- default_x11_include_dirs = ['/usr/X11R6/include', '/usr/X11/include']
-
- if os.path.exists('/usr/lib/X11'):
- globbed_x11_dir = glob('/usr/lib/*/libX11.so')
@@ -59,15 +58,13 @@ index 3a6a7b2..6c2c3da 100644
- # gcc supports the "-print-multiarch" option
- default_x11_lib_dirs += [os.path.join("/usr/lib/", triplet)]
- default_lib_dirs += [os.path.join("/usr/lib/", triplet)]
+
+ default_lib_dirs = libpaths(['/deadir/lib'], platform_bits)
+ default_include_dirs = ['/deaddir/include']
+ default_src_dirs = ['.', '/deaddir/src']
-
++
+ default_x11_lib_dirs = libpaths(['/deaddir/lib'], platform_bits)
+ default_x11_include_dirs = ['/deaddir/include']
if os.path.join(sys.prefix, 'lib') not in default_lib_dirs:
default_lib_dirs.insert(0, os.path.join(sys.prefix, 'lib'))
---
-2.17.1
-
diff --git a/meta/recipes-devtools/python-numpy/files/0001-numpy-core-Define-RISCV-32-support.patch b/meta/recipes-devtools/python/python3-numpy/0001-numpy-core-Define-RISCV-32-support.patch
index b60ca1d216..676bdbb3af 100644
--- a/meta/recipes-devtools/python-numpy/files/0001-numpy-core-Define-RISCV-32-support.patch
+++ b/meta/recipes-devtools/python/python3-numpy/0001-numpy-core-Define-RISCV-32-support.patch
@@ -1,4 +1,4 @@
-From dbcf296f84e5cef6a3ff0f1c469a4508f1e0fb15 Mon Sep 17 00:00:00 2001
+From eb6d6579150bf4684603ce377c51e90ad3bb8109 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Sun, 15 Nov 2020 15:32:39 -0800
Subject: [PATCH] numpy/core: Define RISCV-32 support
@@ -8,39 +8,33 @@ Helps compile on riscv32
Upstream-Status: Submitted [https://github.com/numpy/numpy/pull/17780]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
- numpy/core/include/numpy/npy_cpu.h | 9 +++++++--
+ numpy/core/include/numpy/npy_cpu.h | 3 +++
numpy/core/include/numpy/npy_endian.h | 1 +
- 2 files changed, 8 insertions(+), 2 deletions(-)
+ 2 files changed, 4 insertions(+)
diff --git a/numpy/core/include/numpy/npy_cpu.h b/numpy/core/include/numpy/npy_cpu.h
-index 4dbf9d84e..bc41a7eda 100644
+index 78d229e..04be511 100644
--- a/numpy/core/include/numpy/npy_cpu.h
+++ b/numpy/core/include/numpy/npy_cpu.h
-@@ -18,6 +18,7 @@
- * NPY_CPU_ARCEL
+@@ -19,6 +19,7 @@
* NPY_CPU_ARCEB
* NPY_CPU_RISCV64
+ * NPY_CPU_LOONGARCH
+ * NPY_CPU_RISCV32
* NPY_CPU_WASM
*/
- #ifndef _NPY_CPUARCH_H_
-@@ -100,8 +101,12 @@
- #define NPY_CPU_ARCEL
- #elif defined(__arc__) && defined(__BIG_ENDIAN__)
+ #ifndef NUMPY_CORE_INCLUDE_NUMPY_NPY_CPU_H_
+@@ -104,6 +105,8 @@
#define NPY_CPU_ARCEB
--#elif defined(__riscv) && defined(__riscv_xlen) && __riscv_xlen == 64
-- #define NPY_CPU_RISCV64
-+#elif defined(__riscv)
-+ #if __riscv_xlen == 64
-+ #define NPY_CPU_RISCV64
-+ #elif __riscv_xlen == 32
-+ #define NPY_CPU_RISCV32
-+ #endif
+ #elif defined(__riscv) && defined(__riscv_xlen) && __riscv_xlen == 64
+ #define NPY_CPU_RISCV64
++#elif defined(__riscv) && defined(__riscv_xlen) && __riscv_xlen == 32
++ #define NPY_CPU_RISCV32
+ #elif defined(__loongarch__)
+ #define NPY_CPU_LOONGARCH
#elif defined(__EMSCRIPTEN__)
- /* __EMSCRIPTEN__ is defined by emscripten: an LLVM-to-Web compiler */
- #define NPY_CPU_WASM
diff --git a/numpy/core/include/numpy/npy_endian.h b/numpy/core/include/numpy/npy_endian.h
-index aa367a002..d59484573 100644
+index 5e58a7f..0926212 100644
--- a/numpy/core/include/numpy/npy_endian.h
+++ b/numpy/core/include/numpy/npy_endian.h
@@ -49,6 +49,7 @@
@@ -48,9 +42,9 @@ index aa367a002..d59484573 100644
|| defined(NPY_CPU_ARCEL) \
|| defined(NPY_CPU_RISCV64) \
+ || defined(NPY_CPU_RISCV32) \
+ || defined(NPY_CPU_LOONGARCH) \
|| defined(NPY_CPU_WASM)
#define NPY_BYTE_ORDER NPY_LITTLE_ENDIAN
- #elif defined(NPY_CPU_PPC) \
--
-2.29.2
+2.20.1
diff --git a/meta/recipes-devtools/python/python3-numpy/fix_reproducibility.patch b/meta/recipes-devtools/python/python3-numpy/fix_reproducibility.patch
new file mode 100644
index 0000000000..d952aed00c
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-numpy/fix_reproducibility.patch
@@ -0,0 +1,33 @@
+This regex decides whether to use O3 opimisation on numpy or not.
+
+It includes "od", which happens to be a substring of "reproducible"
+but not "qemux86-world".
+
+The regex will run against all compiler options including things like:
+
+-fmacro-prefix-map=/XXX/build/tmp/work/core2-64-poky-linux/python3-numpy/1.26.0/numpy-1.26.0=/usr/src/debug/python3-numpy/1.26.0-r0
+
+i.e. including build paths.
+
+Reduce the regex to something deterministic for our builds, assuming
+nobody builds in /home/debug:full/
+
+The autobuilder race depended upon whether qemux86-world or the
+reproducible target ran first and won the race to populate sstate.
+
+Upstream-Status: Inappropriate [upstream have dropped distutils and switched to meson]
+Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
+
+Index: numpy-1.26.0/numpy/distutils/ccompiler_opt.py
+===================================================================
+--- numpy-1.26.0.orig/numpy/distutils/ccompiler_opt.py
++++ numpy-1.26.0/numpy/distutils/ccompiler_opt.py
+@@ -990,7 +990,7 @@ class _CCompiler:
+ ("cc_is_nocc", "", ""),
+ )
+ detect_args = (
+- ("cc_has_debug", ".*(O0|Od|ggdb|coverage|debug:full).*", ""),
++ ("cc_has_debug", ".*debug:full.*", ""),
+ ("cc_has_native",
+ ".*(-march=native|-xHost|/QxHost|-mcpu=a64fx).*", ""),
+ # in case if the class run with -DNPY_DISABLE_OPTIMIZATION
diff --git a/meta/recipes-devtools/python/python3-numpy/run-ptest b/meta/recipes-devtools/python/python3-numpy/run-ptest
new file mode 100644
index 0000000000..9a1c72aeb1
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-numpy/run-ptest
@@ -0,0 +1,5 @@
+#!/usr/bin/env python3
+
+import numpy
+numpy.test(label='full', verbose=2)
+
diff --git a/meta/recipes-devtools/python/python3-numpy_1.26.4.bb b/meta/recipes-devtools/python/python3-numpy_1.26.4.bb
new file mode 100644
index 0000000000..ccd08147af
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-numpy_1.26.4.bb
@@ -0,0 +1,64 @@
+SUMMARY = "A sophisticated Numeric Processing Package for Python"
+HOMEPAGE = "https://numpy.org/"
+DESCRIPTION = "NumPy is the fundamental package needed for scientific computing with Python."
+SECTION = "devel/python"
+LICENSE = "BSD-3-Clause & BSD-2-Clause & PSF-2.0 & Apache-2.0 & MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a752eb20459cf74a9d84ee4825e8317c"
+
+SRCNAME = "numpy"
+
+SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/${SRCNAME}-${PV}.tar.gz \
+ file://0001-Don-t-search-usr-and-so-on-for-libraries-by-default-.patch \
+ file://0001-numpy-core-Define-RISCV-32-support.patch \
+ file://fix_reproducibility.patch \
+ file://run-ptest \
+ "
+SRC_URI[sha256sum] = "2a02aba9ed12e4ac4eb3ea9421c420301a0c6460d9830d74a9df87efa4912010"
+
+GITHUB_BASE_URI = "https://github.com/numpy/numpy/releases"
+UPSTREAM_CHECK_REGEX = "releases/tag/v?(?P<pver>\d+(\.\d+)+)$"
+
+DEPENDS += "python3-cython-native"
+
+inherit ptest setuptools3 github-releases
+
+S = "${WORKDIR}/numpy-${PV}"
+
+CLEANBROKEN = "1"
+
+do_compile:prepend() {
+ export NPY_DISABLE_SVML=1
+}
+
+FILES:${PN}-staticdev += "${PYTHON_SITEPACKAGES_DIR}/numpy/core/lib/*.a ${PYTHON_SITEPACKAGES_DIR}/numpy/random/lib/*.a"
+
+# install what is needed for numpy.test()
+RDEPENDS:${PN} = "python3-unittest \
+ python3-difflib \
+ python3-pprint \
+ python3-pickle \
+ python3-shell \
+ python3-doctest \
+ python3-datetime \
+ python3-misc \
+ python3-mmap \
+ python3-netclient \
+ python3-numbers \
+ python3-pydoc \
+ python3-pkgutil \
+ python3-email \
+ python3-compression \
+ python3-ctypes \
+ python3-threading \
+ python3-multiprocessing \
+ python3-json \
+"
+RDEPENDS:${PN}-ptest += "python3-pytest \
+ python3-hypothesis \
+ python3-sortedcontainers \
+ python3-resource \
+ python3-typing-extensions \
+ ldd \
+"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-packaging_24.0.bb b/meta/recipes-devtools/python/python3-packaging_24.0.bb
new file mode 100644
index 0000000000..0942eeb15e
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-packaging_24.0.bb
@@ -0,0 +1,18 @@
+SUMMARY = "Core utilities for Python packages"
+HOMEPAGE = "https://github.com/pypa/packaging"
+LICENSE = "Apache-2.0 | BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=faadaedca9251a90b205c9167578ce91"
+
+SRC_URI[sha256sum] = "eb82c5e3e56209074766e6885bb04b8c38a0c015d0a30036ebe7ece34c9989e9"
+
+inherit pypi python_flit_core
+
+BBCLASSEXTEND = "native nativesdk"
+
+# Bootstrap the native build
+DEPENDS:remove:class-native = "python3-build-native"
+RDEPENDS:${PN} += "python3-profile"
+
+do_compile:class-native () {
+ python_flit_core_do_manual_build
+}
diff --git a/meta/recipes-devtools/python/python3-pathlib2_2.3.7.bb b/meta/recipes-devtools/python/python3-pathlib2_2.3.7.bb
new file mode 100644
index 0000000000..d4de40893a
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pathlib2_2.3.7.bb
@@ -0,0 +1,12 @@
+SUMMARY = "Object-oriented filesystem paths"
+HOMEPAGE = "https://github.com/mcmtroffaes/pathlib2"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=2dc08586cce3ab91bfa091b655c0e440"
+
+SRC_URI[sha256sum] = "7a4329d67beff9a712e1d3ae147e4e3e108b0bfd284ffdea03a635126c76b3c0"
+
+inherit pypi setuptools3
+
+RDEPENDS:${PN} += "python3-six python3-ctypes"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-pathspec_0.12.1.bb b/meta/recipes-devtools/python/python3-pathspec_0.12.1.bb
new file mode 100644
index 0000000000..b61f673397
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pathspec_0.12.1.bb
@@ -0,0 +1,13 @@
+SUMMARY = "Utility library for gitignore style pattern matching of file paths."
+HOMEPAGE = "https://github.com/cpburnz/python-path-specification"
+SECTION = "devel/python"
+LICENSE = "MPL-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=815ca599c9df247a0c7f619bab123dad"
+
+SRC_URI[sha256sum] = "a482d51503a1ab33b1c67a6c3813a26953dbdc71c31dacaef9a838c4e29f5712"
+
+inherit pypi setuptools3
+
+BBCLASSEXTEND = "native nativesdk"
+
+RDEPENDS:${PN} += "python3-profile"
diff --git a/meta/recipes-devtools/python/python3-pbr_5.4.4.bb b/meta/recipes-devtools/python/python3-pbr_5.4.4.bb
deleted file mode 100644
index 6f335ea341..0000000000
--- a/meta/recipes-devtools/python/python3-pbr_5.4.4.bb
+++ /dev/null
@@ -1,5 +0,0 @@
-inherit setuptools3
-require python-pbr.inc
-
-SRC_URI[md5sum] = "65cdc32e1a1ff56d481fc15aa8caf988"
-SRC_URI[sha256sum] = "139d2625547dbfa5fb0b81daebb39601c478c21956dc57e2e07b74450a8c506b"
diff --git a/meta/recipes-devtools/python/python3-pbr_6.0.0.bb b/meta/recipes-devtools/python/python3-pbr_6.0.0.bb
new file mode 100644
index 0000000000..6c8171196a
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pbr_6.0.0.bb
@@ -0,0 +1,4 @@
+inherit setuptools3
+require python-pbr.inc
+
+SRC_URI[sha256sum] = "d1377122a5a00e2f940ee482999518efe16d745d423a670c27773dfbc3c9a7d9"
diff --git a/meta/recipes-devtools/python/python3-pip/0001-change-shebang-to-python3.patch b/meta/recipes-devtools/python/python3-pip/0001-change-shebang-to-python3.patch
deleted file mode 100644
index 00cffe169b..0000000000
--- a/meta/recipes-devtools/python/python3-pip/0001-change-shebang-to-python3.patch
+++ /dev/null
@@ -1,60 +0,0 @@
-From e7a00e9b5104ae2fbcea32a35c85760b77fae7e5 Mon Sep 17 00:00:00 2001
-From: Changqing Li <changqing.li@windriver.com>
-Date: Thu, 23 Apr 2020 09:42:10 +0000
-Subject: [PATCH] change shebang to python3
-
-Upstream-Status: Pending
-
-pip will drop support of python2 from 21.0
-
-Signed-off-by: Changqing Li <changqing.li@windriver.com>
----
- src/pip/_internal/__init__.py | 2 +-
- src/pip/_vendor/appdirs.py | 2 +-
- src/pip/_vendor/chardet/cli/chardetect.py | 2 +-
- src/pip/_vendor/requests/certs.py | 2 +-
- 4 files changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/src/pip/_internal/__init__.py b/src/pip/_internal/__init__.py
-index 3aa8a46..e1ad179 100755
---- a/src/pip/_internal/__init__.py
-+++ b/src/pip/_internal/__init__.py
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/env python3
- import pip._internal.utils.inject_securetransport # noqa
- from pip._internal.utils.typing import MYPY_CHECK_RUNNING
-
-diff --git a/src/pip/_vendor/appdirs.py b/src/pip/_vendor/appdirs.py
-index 3a52b75..ad3f81d 100644
---- a/src/pip/_vendor/appdirs.py
-+++ b/src/pip/_vendor/appdirs.py
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/env python3
- # -*- coding: utf-8 -*-
- # Copyright (c) 2005-2010 ActiveState Software Inc.
- # Copyright (c) 2013 Eddy Petrișor
-diff --git a/src/pip/_vendor/chardet/cli/chardetect.py b/src/pip/_vendor/chardet/cli/chardetect.py
-index c61136b..a497e98 100644
---- a/src/pip/_vendor/chardet/cli/chardetect.py
-+++ b/src/pip/_vendor/chardet/cli/chardetect.py
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/env python3
- """
- Script which takes one or more file paths and reports on their detected
- encodings
-diff --git a/src/pip/_vendor/requests/certs.py b/src/pip/_vendor/requests/certs.py
-index 06a594e..bfa7839 100644
---- a/src/pip/_vendor/requests/certs.py
-+++ b/src/pip/_vendor/requests/certs.py
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/env python3
- # -*- coding: utf-8 -*-
-
- """
---
-2.24.1
-
diff --git a/meta/recipes-devtools/python/python3-pip/no_shebang_mangling.patch b/meta/recipes-devtools/python/python3-pip/no_shebang_mangling.patch
new file mode 100644
index 0000000000..99fa14ee03
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pip/no_shebang_mangling.patch
@@ -0,0 +1,36 @@
+From 2aa82aeb0783c5fa7777b32bfe1dd3da9ae8fc6e Mon Sep 17 00:00:00 2001
+From: Richard Purdie <richard.purdie@linuxfoundation.org>
+Date: Wed, 23 Feb 2022 12:27:06 +0000
+Subject: [PATCH] python3-pip: Don't change shebang
+
+Patch pip to disable shebang mangling and also force the python executable
+to be python3 from the environment when building anything for the target
+(or nativesdk). This avoids incorrect interpreter paths in the target scripts.
+
+Upstream-Status: Inappropriate [OE specific config]
+---
+ src/pip/_vendor/distlib/scripts.py | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/src/pip/_vendor/distlib/scripts.py b/src/pip/_vendor/distlib/scripts.py
+index cfa45d2..313f499 100644
+--- a/src/pip/_vendor/distlib/scripts.py
++++ b/src/pip/_vendor/distlib/scripts.py
+@@ -144,6 +144,8 @@ class ScriptMaker(object):
+ See also: http://www.in-ulm.de/~mascheck/various/shebang/#length
+ https://hg.mozilla.org/mozilla-central/file/tip/mach
+ """
++ if '_PYTHON_SYSCONFIGDATA_NAME' in os.environ:
++ return b'#!/usr/bin/env python3'
+ if os.name != 'posix':
+ simple_shebang = True
+ else:
+@@ -362,7 +364,7 @@ class ScriptMaker(object):
+ return
+
+ match = FIRST_LINE_RE.match(first_line.replace(b'\r\n', b'\n'))
+- if match:
++ if False:
+ adjust = True
+ post_interp = match.group(1) or b''
+
diff --git a/meta/recipes-devtools/python/python3-pip_20.0.2.bb b/meta/recipes-devtools/python/python3-pip_20.0.2.bb
deleted file mode 100644
index 99eeea2edf..0000000000
--- a/meta/recipes-devtools/python/python3-pip_20.0.2.bb
+++ /dev/null
@@ -1,33 +0,0 @@
-SUMMARY = "The PyPA recommended tool for installing Python packages"
-HOMEPAGE = "https://pypi.org/project/pip"
-SECTION = "devel/python"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=8ba06d529c955048e5ddd7c45459eb2e"
-
-DEPENDS += "python3 python3-setuptools-native"
-
-SRC_URI += "file://0001-change-shebang-to-python3.patch"
-
-SRC_URI[md5sum] = "7d42ba49b809604f0df3d55df1c3fd86"
-SRC_URI[sha256sum] = "7db0c8ea4c7ea51c8049640e8e6e7fde949de672bfa4949920675563a5a6967f"
-
-inherit pypi distutils3
-
-do_install_append() {
- # Install as pip3 and leave pip2 as default
- rm ${D}/${bindir}/pip
-}
-
-RDEPENDS_${PN} = "\
- python3-compile \
- python3-io \
- python3-html \
- python3-json \
- python3-netserver \
- python3-setuptools \
- python3-unixadmin \
- python3-xmlrpc \
- python3-pickle \
-"
-
-BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-pip_24.0.bb b/meta/recipes-devtools/python/python3-pip_24.0.bb
new file mode 100644
index 0000000000..be4a29500a
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pip_24.0.bb
@@ -0,0 +1,60 @@
+SUMMARY = "The PyPA recommended tool for installing Python packages"
+HOMEPAGE = "https://pypi.org/project/pip"
+SECTION = "devel/python"
+LICENSE = "MIT & Apache-2.0 & MPL-2.0 & LGPL-2.1-only & BSD-3-Clause & PSF-2.0 & BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=63ec52baf95163b597008bb46db68030 \
+ file://src/pip/_vendor/cachecontrol/LICENSE.txt;md5=6572692148079ebbbd800be4b9f36c6d \
+ file://src/pip/_vendor/certifi/LICENSE;md5=3c2b7404369c587c3559afb604fce2f2 \
+ file://src/pip/_vendor/chardet/LICENSE;md5=4fbd65380cdd255951079008b364516c \
+ file://src/pip/_vendor/colorama/LICENSE.txt;md5=b4936429a56a652b84c5c01280dcaa26 \
+ file://src/pip/_vendor/distlib/LICENSE.txt;md5=f6a11430d5cd6e2cd3832ee94f22ddfc \
+ file://src/pip/_vendor/distro/LICENSE;md5=d2794c0df5b907fdace235a619d80314 \
+ file://src/pip/_vendor/idna/LICENSE.md;md5=239668a7c6066d9e0c5382e9c8c6c0e1 \
+ file://src/pip/_vendor/msgpack/COPYING;md5=cd9523181d9d4fbf7ffca52eaa2a5751 \
+ file://src/pip/_vendor/packaging/LICENSE;md5=faadaedca9251a90b205c9167578ce91 \
+ file://src/pip/_vendor/packaging/LICENSE.APACHE;md5=2ee41112a44fe7014dce33e26468ba93 \
+ file://src/pip/_vendor/pkg_resources/LICENSE;md5=141643e11c48898150daa83802dbc65f \
+ file://src/pip/_vendor/platformdirs/LICENSE;md5=ea4f5a41454746a9ed111e3d8723d17a \
+ file://src/pip/_vendor/pygments/LICENSE;md5=36a13c90514e2899f1eba7f41c3ee592 \
+ file://src/pip/_vendor/pyparsing/LICENSE;md5=657a566233888513e1f07ba13e2f47f1 \
+ file://src/pip/_vendor/pyproject_hooks/LICENSE;md5=aad69c93f605003e3342b174d9b0708c \
+ file://src/pip/_vendor/requests/LICENSE;md5=34400b68072d710fecd0a2940a0d1658 \
+ file://src/pip/_vendor/resolvelib/LICENSE;md5=78e1c0248051c32a38a7f820c30bd7a5 \
+ file://src/pip/_vendor/rich/LICENSE;md5=b5f0b94fbc94f5ad9ae4efcf8a778303 \
+ file://src/pip/_vendor/six.LICENSE;md5=43cfc9e4ac0e377acfb9b76f56b8415d \
+ file://src/pip/_vendor/tenacity/LICENSE;md5=175792518e4ac015ab6696d16c4f607e \
+ file://src/pip/_vendor/tomli/LICENSE;md5=aaaaf0879d17df0110d1aa8c8c9f46f5 \
+ file://src/pip/_vendor/typing_extensions.LICENSE;md5=fcf6b249c2641540219a727f35d8d2c2 \
+ file://src/pip/_vendor/urllib3/LICENSE.txt;md5=c2823cb995439c984fd62a973d79815c \
+ file://src/pip/_vendor/webencodings/LICENSE;md5=81fb24cd7823cce23b69f721993dce4d \
+ "
+
+inherit pypi python_setuptools_build_meta
+
+SRC_URI += "file://no_shebang_mangling.patch"
+
+SRC_URI[sha256sum] = "ea9bd1a847e8c5774a5777bb398c19e80bcd4e2aa16a4b301b718fe6f593aba2"
+
+do_install:append() {
+ rm -f ${D}/${bindir}/pip
+}
+
+RDEPENDS:${PN} = "\
+ python3-compile \
+ python3-io \
+ python3-html \
+ python3-json \
+ python3-multiprocessing \
+ python3-netserver \
+ python3-setuptools \
+ python3-unixadmin \
+ python3-xmlrpc \
+ python3-pickle \
+ python3-image \
+"
+
+BBCLASSEXTEND = "native nativesdk"
+
+# This used to use the bootstrap install which didn't compile. Until we bump the
+# tmpdir version we can't compile the native otherwise the sysroot unpack fails
+INSTALL_WHEEL_COMPILE_BYTECODE:class-native = "--no-compile-bytecode"
diff --git a/meta/recipes-devtools/python/python3-pluggy/run-ptest b/meta/recipes-devtools/python/python3-pluggy/run-ptest
new file mode 100644
index 0000000000..8d2017d39c
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pluggy/run-ptest
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+pytest --automake
diff --git a/meta/recipes-devtools/python/python3-pluggy_1.5.0.bb b/meta/recipes-devtools/python/python3-pluggy_1.5.0.bb
new file mode 100644
index 0000000000..9822cd59f3
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pluggy_1.5.0.bb
@@ -0,0 +1,29 @@
+SUMMARY = "Plugin and hook calling mechanisms for python"
+HOMEPAGE = "https://github.com/pytest-dev/pluggy"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=1c8206d16fd5cc02fa9b0bb98955e5c2"
+
+SRC_URI[sha256sum] = "2cffa88e94fdc978c4c574f15f9e59b7f4201d439195c3715ca9e2486f1d0cf1"
+
+DEPENDS += "python3-setuptools-scm-native"
+RDEPENDS:${PN} += "python3-importlib-metadata \
+ python3-more-itertools \
+"
+
+inherit pypi ptest python_setuptools_build_meta
+
+SRC_URI += " \
+ file://run-ptest \
+"
+
+RDEPENDS:${PN}-ptest += " \
+ python3-pytest \
+ python3-unittest-automake-output \
+"
+
+do_install_ptest() {
+ install -d ${D}${PTEST_PATH}/testing
+ cp -rf ${S}/testing/* ${D}${PTEST_PATH}/testing/
+}
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-ply_3.11.bb b/meta/recipes-devtools/python/python3-ply_3.11.bb
new file mode 100644
index 0000000000..a05bd6702d
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-ply_3.11.bb
@@ -0,0 +1,18 @@
+SUMMARY = "Python Lex and Yacc"
+DESCRIPTION = "Python ply: PLY is yet another implementation of lex and yacc for Python"
+HOMEPAGE = "https://pypi.python.org/pypi/ply"
+SECTION = "devel/python"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://README.md;beginline=5;endline=32;md5=f5ee5c355c0e6719c787a71b8f0fa96c"
+
+SRC_URI[md5sum] = "6465f602e656455affcd7c5734c638f8"
+SRC_URI[sha256sum] = "00c7c1aaa88358b9c765b6d3000c6eec0ba42abca5351b095321aef446081da3"
+
+inherit pypi setuptools3
+
+RDEPENDS:${PN}:class-target += "\
+ python3-netclient \
+ python3-shell \
+"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-poetry-core_1.9.0.bb b/meta/recipes-devtools/python/python3-poetry-core_1.9.0.bb
new file mode 100644
index 0000000000..540fdffaed
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-poetry-core_1.9.0.bb
@@ -0,0 +1,42 @@
+SUMMARY = "Poetry PEP 517 Build Backend"
+DESCRIPTION = "Poetry PEP 517 Build Backend"
+HOMEPAGE = "https://github.com/python-poetry/poetry-core"
+BUGTRACKER = "https://github.com/python-poetry/poetry-core"
+CHANGELOG = "https://github.com/python-poetry/poetry-core/blob/master/CHANGELOG.md"
+
+LICENSE = "Apache-2.0 & BSD-2-Clause & BSD-3-Clause & MIT"
+LIC_FILES_CHKSUM = "\
+ file://LICENSE;md5=78c39cfd009863ae44237a7ab1f9cedc \
+ file://src/poetry/core/_vendor/fastjsonschema/LICENSE;md5=18950e8362b69c0c617b42b8bd8e7532 \
+ file://src/poetry/core/_vendor/lark/LICENSE;md5=fcfbf1e2ecc0f37acbb5871aa0267500 \
+ file://src/poetry/core/_vendor/packaging/LICENSE;md5=faadaedca9251a90b205c9167578ce91 \
+ file://src/poetry/core/_vendor/packaging/LICENSE.APACHE;md5=2ee41112a44fe7014dce33e26468ba93 \
+ file://src/poetry/core/_vendor/packaging/LICENSE.BSD;md5=7bef9bf4a8e4263634d0597e7ba100b8 \
+ file://src/poetry/core/_vendor/tomli/LICENSE;md5=aaaaf0879d17df0110d1aa8c8c9f46f5 \
+"
+
+SRC_URI[sha256sum] = "fa7a4001eae8aa572ee84f35feb510b321bd652e5cf9293249d62853e1f935a2"
+
+inherit python_poetry_core pypi
+
+PYPI_PACKAGE = "poetry_core"
+
+RDEPENDS:${PN}:append:class-target = "\
+ python3-compression \
+ python3-core \
+ python3-crypt \
+ python3-io \
+ python3-json \
+ python3-logging \
+ python3-netclient \
+ python3-pathlib2 \
+ python3-pprint \
+ python3-shell \
+"
+
+RDEPENDS:${PN} += "\
+ python3-pip \
+ python3-six \
+"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-pretend_1.0.9.bb b/meta/recipes-devtools/python/python3-pretend_1.0.9.bb
new file mode 100644
index 0000000000..21d14a03b8
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pretend_1.0.9.bb
@@ -0,0 +1,11 @@
+SUMMARY = "A library for stubbing in Python"
+HOMEPAGE = "https://github.com/alex/pretend"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=411780c0b7fa756753e94affeee5bc99"
+
+SRC_URI[md5sum] = "ad53883ede48aeac7ae584f0de0240e8"
+SRC_URI[sha256sum] = "c90eb810cde8ebb06dafcb8796f9a95228ce796531bc806e794c2f4649aa1b10"
+
+inherit pypi setuptools3
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-psutil_5.9.8.bb b/meta/recipes-devtools/python/python3-psutil_5.9.8.bb
new file mode 100644
index 0000000000..1a394eda33
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-psutil_5.9.8.bb
@@ -0,0 +1,41 @@
+SUMMARY = "A cross-platform process and system utilities module for Python"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=a9c72113a843d0d732a0ac1c200d81b1"
+HOMEPAGE = "https://pypi.org/project/psutil/"
+
+SRC_URI[sha256sum] = "6be126e3225486dff286a8fb9a06246a5253f4c7c53b475ea5f5ac934e64194c"
+
+inherit pypi setuptools3
+
+PACKAGES =+ "${PN}-tests"
+
+FILES:${PN}-tests += " \
+ ${PYTHON_SITEPACKAGES_DIR}/psutil/test* \
+ ${PYTHON_SITEPACKAGES_DIR}/psutil/__pycache__/test* \
+"
+
+
+RDEPENDS:${PN} += " \
+ python3-shell \
+ python3-threading \
+ python3-xml \
+ python3-netclient \
+ python3-ctypes \
+ python3-resource \
+"
+
+RDEPENDS:${PN}-tests += " \
+ ${PN} \
+ python3 \
+ coreutils \
+ procps \
+ binutils \
+ gcc \
+ gcc-symlinks \
+ libstdc++ \
+ libstdc++-dev \
+"
+
+INSANE_SKIP:${PN}-tests += "dev-deps"
+
+BBCLASSEXTEND = "native"
diff --git a/meta/recipes-devtools/python/python3-py_1.11.0.bb b/meta/recipes-devtools/python/python3-py_1.11.0.bb
new file mode 100644
index 0000000000..31d5a377a7
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-py_1.11.0.bb
@@ -0,0 +1,14 @@
+SUMMARY = "Library with cross-python path, ini-parsing, io, code, log facilities"
+HOMEPAGE = "http://py.readthedocs.io/"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=a6bb0320b04a0a503f12f69fea479de9"
+
+SRC_URI[sha256sum] = "51c75c4126074b472f746a24399ad32f6053d1b34b68d2fa41e558e6f4a98719"
+
+DEPENDS += "python3-setuptools-scm-native"
+
+inherit pypi python_setuptools_build_meta
+
+BBCLASSEXTEND = "native nativesdk"
+
+RDEPENDS:${PN} += "python3-netclient"
diff --git a/meta/recipes-devtools/python/python3-pyasn1/run-ptest b/meta/recipes-devtools/python/python3-pyasn1/run-ptest
new file mode 100644
index 0000000000..8d2017d39c
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pyasn1/run-ptest
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+pytest --automake
diff --git a/meta/recipes-devtools/python/python3-pyasn1_0.6.0.bb b/meta/recipes-devtools/python/python3-pyasn1_0.6.0.bb
new file mode 100644
index 0000000000..0519ba5edb
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pyasn1_0.6.0.bb
@@ -0,0 +1,3 @@
+inherit pypi setuptools3
+require python-pyasn1.inc
+
diff --git a/meta/recipes-devtools/python/python3-pycairo_1.20.0.bb b/meta/recipes-devtools/python/python3-pycairo_1.26.0.bb
index 8987b7a428..ea8b81be76 100644
--- a/meta/recipes-devtools/python/python3-pycairo_1.20.0.bb
+++ b/meta/recipes-devtools/python/python3-pycairo_1.26.0.bb
@@ -2,7 +2,7 @@ SUMMARY = "Python bindings for the Cairo canvas library"
HOMEPAGE = "http://cairographics.org/pycairo"
BUGTRACKER = "http://bugs.freedesktop.org"
SECTION = "python-devel"
-LICENSE = "LGPLv2.1 & MPLv1.1"
+LICENSE = "LGPL-2.1-only & MPL-1.1"
LIC_FILES_CHKSUM = "file://COPYING;md5=f3713ca2c28d9312ad718520b6dc3eee \
file://COPYING-LGPL-2.1;md5=fad9b3332be894bab9bc501572864b29 \
file://COPYING-MPL-1.1;md5=bfe1f75d606912a4111c90743d6c7325"
@@ -10,18 +10,17 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=f3713ca2c28d9312ad718520b6dc3eee \
# cairo >= 1.14
DEPENDS = "cairo python3"
-SRC_URI = "https://github.com/pygobject/pycairo/releases/download/v${PV}/pycairo-${PV}.tar.gz"
-UPSTREAM_CHECK_URI = "https://github.com/pygobject/pycairo/releases/"
+SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/pycairo-${PV}.tar.gz"
+GITHUB_BASE_URI = "https://github.com/pygobject/pycairo/releases/"
-SRC_URI[md5sum] = "a1f9b661a0000c2f42281db933284451"
-SRC_URI[sha256sum] = "5695a10cb7f9ae0d01f665b56602a845b0a8cb17e2123bfece10c2e58552468c"
+SRC_URI[sha256sum] = "2dddd0a874fbddb21e14acd9b955881ee1dc6e63b9c549a192d613a907f9cbeb"
S = "${WORKDIR}/pycairo-${PV}"
-inherit meson pkgconfig python3targetconfig
+inherit meson pkgconfig python3targetconfig github-releases
CFLAGS += "-fPIC"
BBCLASSEXTEND = "native"
-FILES_${PN} = "${PYTHON_SITEPACKAGES_DIR}/*"
+FILES:${PN} = "${PYTHON_SITEPACKAGES_DIR}/*"
diff --git a/meta/recipes-devtools/python/python3-pycparser_2.22.bb b/meta/recipes-devtools/python/python3-pycparser_2.22.bb
new file mode 100644
index 0000000000..0be39ea383
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pycparser_2.22.bb
@@ -0,0 +1,19 @@
+SUMMARY = "Parser of the C language, written in pure Python"
+HOMEPAGE = "https://github.com/eliben/pycparser"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=9761c3ffee7ba99c60dca0408fd3262b"
+
+SRC_URI[sha256sum] = "491c8be9c040f5390f5bf44a5b07752bd07f56edf992381b05c701439eec10f6"
+
+inherit pypi setuptools3
+
+BBCLASSEXTEND = "native nativesdk"
+
+RDEPENDS:${PN}:class-target += "\
+ python3-netclient \
+"
+
+RSUGGESTS:${PN}:class-target += "\
+ cpp \
+ cpp-symlinks \
+ "
diff --git a/meta/recipes-devtools/python/python3-pycryptodome_3.20.0.bb b/meta/recipes-devtools/python/python3-pycryptodome_3.20.0.bb
new file mode 100644
index 0000000000..d24fa58d43
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pycryptodome_3.20.0.bb
@@ -0,0 +1,5 @@
+require python-pycryptodome.inc
+inherit setuptools3
+
+SRC_URI[sha256sum] = "09609209ed7de61c2b560cc5c8c4fbf892f8b15b1faf7e4cbffac97db1fffda7"
+
diff --git a/meta/recipes-devtools/python/python3-pycryptodome_3.9.9.bb b/meta/recipes-devtools/python/python3-pycryptodome_3.9.9.bb
deleted file mode 100644
index 1e84ce4df7..0000000000
--- a/meta/recipes-devtools/python/python3-pycryptodome_3.9.9.bb
+++ /dev/null
@@ -1,5 +0,0 @@
-require python-pycryptodome.inc
-inherit setuptools3
-
-SRC_URI[sha256sum] = "910e202a557e1131b1c1b3f17a63914d57aac55cf9fb9b51644962841c3995c4"
-
diff --git a/meta/recipes-devtools/python/python3-pycryptodomex_3.9.9.bb b/meta/recipes-devtools/python/python3-pycryptodomex_3.20.0.bb
index abff71efdd..2673ea8326 100644
--- a/meta/recipes-devtools/python/python3-pycryptodomex_3.9.9.bb
+++ b/meta/recipes-devtools/python/python3-pycryptodomex_3.20.0.bb
@@ -1,9 +1,9 @@
require python-pycryptodome.inc
inherit setuptools3
-SRC_URI[sha256sum] = "7b5b7c5896f8172ea0beb283f7f9428e0ab88ec248ce0a5b8c98d73e26267d51"
+SRC_URI[sha256sum] = "7a710b79baddd65b806402e14766c721aee8fb83381769c27920f26476276c1e"
-FILES_${PN}-tests = " \
+FILES:${PN}-tests = " \
${PYTHON_SITEPACKAGES_DIR}/Cryptodome/SelfTest/ \
${PYTHON_SITEPACKAGES_DIR}/Cryptodome/SelfTest/__pycache__/ \
"
diff --git a/meta/recipes-devtools/python/python3-pyelftools_0.27.bb b/meta/recipes-devtools/python/python3-pyelftools_0.27.bb
deleted file mode 100644
index 0cfd99504b..0000000000
--- a/meta/recipes-devtools/python/python3-pyelftools_0.27.bb
+++ /dev/null
@@ -1,13 +0,0 @@
-DESCRIPTION = "pyelftools is a pure-Python library for parsing and analyzing ELF files and DWARF debugging information"
-HOMEPAGE = "https://github.com/eliben/pyelftools"
-SECTION = "devel/python"
-LICENSE = "PD"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=5ce2a2b07fca326bc7c146d10105ccfc"
-
-SRC_URI[sha256sum] = "cde854e662774c5457d688ca41615f6594187ba7067af101232df889a6b7a66b"
-
-PYPI_PACKAGE = "pyelftools"
-
-inherit pypi setuptools3
-
-BBCLASSEXTEND = "native"
diff --git a/meta/recipes-devtools/python/python3-pyelftools_0.31.bb b/meta/recipes-devtools/python/python3-pyelftools_0.31.bb
new file mode 100644
index 0000000000..551fed6876
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pyelftools_0.31.bb
@@ -0,0 +1,15 @@
+SUMMARY = "pyelftools is a pure-Python library for parsing and analyzing ELF files and DWARF debugging information"
+HOMEPAGE = "https://github.com/eliben/pyelftools"
+SECTION = "devel/python"
+LICENSE = "PD"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=5ce2a2b07fca326bc7c146d10105ccfc"
+
+SRC_URI[sha256sum] = "c774416b10310156879443b81187d182d8d9ee499660380e645918b50bc88f99"
+
+PYPI_PACKAGE = "pyelftools"
+
+inherit pypi setuptools3
+
+BBCLASSEXTEND = "native"
+
+RDEPENDS:${PN} += "python3-debugger python3-pprint"
diff --git a/meta/recipes-devtools/python/python3-pygments_2.18.0.bb b/meta/recipes-devtools/python/python3-pygments_2.18.0.bb
new file mode 100644
index 0000000000..fd37365681
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pygments_2.18.0.bb
@@ -0,0 +1,14 @@
+SUMMARY = "Pygments is a syntax highlighting package written in Python."
+DESCRIPTION = "Pygments is a syntax highlighting package written in Python."
+HOMEPAGE = "http://pygments.org/"
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=36a13c90514e2899f1eba7f41c3ee592"
+
+inherit python_hatchling
+SRC_URI[sha256sum] = "786ff802f32e91311bff3889f6e9a86e81505fe99f2735bb6d60ae0c5004f199"
+
+UPSTREAM_CHECK_PYPI_PACKAGE = "Pygments"
+inherit pypi
+
+BBCLASSEXTEND = "native nativesdk"
+
diff --git a/meta/recipes-devtools/python/python3-pygments_2.7.2.bb b/meta/recipes-devtools/python/python3-pygments_2.7.2.bb
deleted file mode 100644
index 00e5dc6e30..0000000000
--- a/meta/recipes-devtools/python/python3-pygments_2.7.2.bb
+++ /dev/null
@@ -1,19 +0,0 @@
-SUMMARY = "Pygments is a syntax highlighting package written in Python."
-DESCRIPTION = "Pygments is a syntax highlighting package written in Python."
-HOMEPAGE = "http://pygments.org/"
-LICENSE = "BSD-2-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=1f5d0c4cf38dfc8122c00d6f1a97a0cc"
-
-inherit setuptools3
-SRC_URI[sha256sum] = "381985fcc551eb9d37c52088a32914e00517e57f4a21609f48141ba08e193fa0"
-
-DEPENDS += "\
- ${PYTHON_PN} \
- "
-
-PYPI_PACKAGE = "Pygments"
-
-inherit pypi
-
-BBCLASSEXTEND = "native nativesdk"
-
diff --git a/meta/recipes-devtools/python/python3-pygobject/0001-Do-not-build-tests.patch b/meta/recipes-devtools/python/python3-pygobject/0001-Do-not-build-tests.patch
deleted file mode 100644
index 0f2465bb52..0000000000
--- a/meta/recipes-devtools/python/python3-pygobject/0001-Do-not-build-tests.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From c125a806de951359ab7e302b0584f7c92fa451ad Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin <alex.kanavin@gmail.com>
-Date: Fri, 12 Apr 2019 16:25:58 +0200
-Subject: [PATCH] Do not build tests
-
-They require installing tests from g-i, which we do not do.
-
-Upstream-Status: Inappropriate [oe-core specific]
-Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
----
- meson.build | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/meson.build b/meson.build
-index 278fa16f..aacbd4a2 100644
---- a/meson.build
-+++ b/meson.build
-@@ -175,6 +175,6 @@ configure_file(input : 'PKG-INFO.in',
- subdir('gi')
- subdir('pygtkcompat')
- with_tests = get_option('tests')
--if with_tests
--subdir('tests')
--endif
-+#if with_tests
-+#subdir('tests')
-+#endif
---
-2.17.1
-
diff --git a/meta/recipes-devtools/python/python3-pygobject_3.38.0.bb b/meta/recipes-devtools/python/python3-pygobject_3.38.0.bb
deleted file mode 100644
index b4427050f5..0000000000
--- a/meta/recipes-devtools/python/python3-pygobject_3.38.0.bb
+++ /dev/null
@@ -1,32 +0,0 @@
-SUMMARY = "Python GObject bindings"
-SECTION = "devel/python"
-LICENSE = "LGPLv2.1"
-LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7"
-
-GNOMEBASEBUILDCLASS = "meson"
-inherit gnomebase distutils3-base gobject-introspection upstream-version-is-even
-
-DEPENDS += "python3 glib-2.0"
-
-SRCNAME="pygobject"
-
-SRC_URI = " \
- http://ftp.gnome.org/pub/GNOME/sources/${SRCNAME}/${@gnome_verdir("${PV}")}/${SRCNAME}-${PV}.tar.xz \
- file://0001-Do-not-build-tests.patch \
-"
-SRC_URI[sha256sum] = "0372d1bb9122fc19f500a249b1f38c2bb67485000f5887497b4b205b3e7084d5"
-
-UNKNOWN_CONFIGURE_WHITELIST = "introspection"
-
-S = "${WORKDIR}/${SRCNAME}-${PV}"
-
-PACKAGECONFIG ??= "${@bb.utils.contains_any('DISTRO_FEATURES', [ 'directfb', 'wayland', 'x11' ], 'cairo', '', d)}"
-
-RDEPENDS_${PN} += "python3-pkgutil"
-
-# python3-pycairo is checked on configuration -> DEPENDS
-# we don't link against python3-pycairo -> RDEPENDS
-PACKAGECONFIG[cairo] = "-Dpycairo=enabled,-Dpycairo=disabled, cairo python3-pycairo, python3-pycairo"
-
-BBCLASSEXTEND = "native"
-PACKAGECONFIG_class-native = ""
diff --git a/meta/recipes-devtools/python/python3-pygobject_3.48.2.bb b/meta/recipes-devtools/python/python3-pygobject_3.48.2.bb
new file mode 100644
index 0000000000..3d83a8a1c2
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pygobject_3.48.2.bb
@@ -0,0 +1,39 @@
+SUMMARY = "Python GObject bindings"
+HOMEPAGE = "https://gitlab.gnome.org/GNOME/pygobject"
+DESCRIPTION = "PyGObject is a Python package which provides bindings for GObject based libraries such as GTK, GStreamer, WebKitGTK, GLib, GIO and many more."
+SECTION = "devel/python"
+LICENSE = "LGPL-2.1-only"
+LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7"
+
+GIR_MESON_OPTION = ""
+
+inherit gnomebase setuptools3-base gobject-introspection upstream-version-is-even
+
+python() {
+ if d.getVar('CLASSOVERRIDE') == "class-target" and not bb.utils.to_boolean(d.getVar("GI_DATA_ENABLED")):
+ raise bb.parse.SkipRecipe("GI not available")
+}
+
+DEPENDS += "python3 glib-2.0"
+
+SRCNAME="pygobject"
+
+SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/${SRCNAME}/${@gnome_verdir("${PV}")}/${SRCNAME}-${PV}.tar.xz"
+SRC_URI[sha256sum] = "0794aeb4a9be31a092ac20621b5f54ec280f9185943d328b105cdae6298ad1a7"
+
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+PACKAGECONFIG ??= "${@bb.utils.contains_any('DISTRO_FEATURES', [ 'directfb', 'wayland', 'x11' ], 'cairo', '', d)}"
+
+RDEPENDS:${PN} += " \
+ python3-io \
+ python3-pkgutil \
+"
+
+# python3-pycairo is checked on configuration -> DEPENDS
+# we don't link against python3-pycairo -> RDEPENDS
+PACKAGECONFIG[cairo] = "-Dpycairo=enabled,-Dpycairo=disabled, cairo python3-pycairo, python3-pycairo"
+PACKAGECONFIG[tests] = "-Dtests=true,-Dtests=false,"
+
+BBCLASSEXTEND = "native"
+PACKAGECONFIG:class-native = ""
diff --git a/meta/recipes-devtools/python/python3-pyopenssl_24.1.0.bb b/meta/recipes-devtools/python/python3-pyopenssl_24.1.0.bb
new file mode 100644
index 0000000000..9ef3145bf8
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pyopenssl_24.1.0.bb
@@ -0,0 +1,22 @@
+SUMMARY = "Simple Python wrapper around the OpenSSL library"
+HOMEPAGE = "https://pyopenssl.org/"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
+
+DEPENDS += "openssl python3-cryptography"
+
+SRC_URI[sha256sum] = "cabed4bfaa5df9f1a16c0ef64a0cb65318b5cd077a7eda7d6970131ca2f41a6f"
+
+PYPI_PACKAGE = "pyOpenSSL"
+inherit pypi setuptools3
+
+PACKAGES =+ "${PN}-tests"
+FILES:${PN}-tests = "${libdir}/${PYTHON_DIR}/site-packages/OpenSSL/test"
+
+RDEPENDS:${PN}:class-target = " \
+ python3-cryptography \
+ python3-threading \
+"
+RDEPENDS:${PN}-tests = "${PN}"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-pyparsing_2.4.7.bb b/meta/recipes-devtools/python/python3-pyparsing_2.4.7.bb
deleted file mode 100644
index d0c3d0b424..0000000000
--- a/meta/recipes-devtools/python/python3-pyparsing_2.4.7.bb
+++ /dev/null
@@ -1,3 +0,0 @@
-inherit setuptools3
-require python-pyparsing.inc
-
diff --git a/meta/recipes-devtools/python/python3-pyparsing_3.1.2.bb b/meta/recipes-devtools/python/python3-pyparsing_3.1.2.bb
new file mode 100644
index 0000000000..64210ade53
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pyparsing_3.1.2.bb
@@ -0,0 +1,30 @@
+SUMMARY = "Python parsing module"
+DESCRIPTION = "The pyparsing module is an alternative approach to creating \
+and executing simple grammars, vs. the traditional lex/yacc approach, or \
+the use of regular expressions. The pyparsing module provides a library of \
+classes that client code uses to construct the grammar directly in Python \
+code."
+HOMEPAGE = "https://github.com/pyparsing/pyparsing/"
+BUGTRACKER = "https://github.com/pyparsing/pyparsing/issues"
+
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=657a566233888513e1f07ba13e2f47f1"
+
+SRC_URI[sha256sum] = "a1bac0ce561155ecc3ed78ca94d3c9378656ad4c94c1270de543f621420f94ad"
+
+UPSTREAM_CHECK_REGEX = "pyparsing-(?P<pver>.*)\.tar"
+
+inherit pypi python_flit_core
+
+RDEPENDS:${PN} += " \
+ python3-datetime \
+ python3-debugger \
+ python3-html \
+ python3-json \
+ python3-netclient \
+ python3-pprint \
+ python3-stringold \
+ python3-threading \
+"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-pyproject-hooks_1.0.0.bb b/meta/recipes-devtools/python/python3-pyproject-hooks_1.0.0.bb
new file mode 100644
index 0000000000..c3f1fb75ed
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pyproject-hooks_1.0.0.bb
@@ -0,0 +1,24 @@
+SUMMARY = "A low-level library for calling build-backends in pyproject.toml-based projects"
+HOMEPAGE = "https://github.com/pypa/pyproject-hooks"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=aad69c93f605003e3342b174d9b0708c"
+
+SRC_URI[sha256sum] = "f271b298b97f5955d53fb12b72c1fb1948c22c1a6b70b315c54cedaca0264ef5"
+
+inherit pypi python_flit_core
+
+PYPI_PACKAGE = "pyproject_hooks"
+
+BBCLASSEXTEND = "native nativesdk"
+
+# Bootstrap the native build
+DEPENDS:remove:class-native = "python3-build-native"
+
+RDEPENDS:${PN} += " \
+ python3-io \
+ python3-json \
+"
+
+do_compile:class-native () {
+ python_flit_core_do_manual_build
+}
diff --git a/meta/recipes-devtools/python/python3-pyproject-metadata_0.8.0.bb b/meta/recipes-devtools/python/python3-pyproject-metadata_0.8.0.bb
new file mode 100644
index 0000000000..8d00826f86
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pyproject-metadata_0.8.0.bb
@@ -0,0 +1,27 @@
+SUMMARY = "PEP 621 metadata parsing"
+DESCRIPTION = "Dataclass for PEP 621 metadata with support for core \
+metadata generation \
+\
+This project does not implement the parsing of pyproject.toml containing \
+PEP 621 metadata.\
+\
+Instead, given a Python data structure representing PEP 621 metadata \
+(already parsed), it will validate this input and generate a \
+PEP 643-compliant metadata file (e.g. PKG-INFO)."
+HOMEPAGE = "https://github.com/FFY00/python-pyproject-metadata"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=310439af287b0fb4780b2ad6907c256c"
+
+PYPI_PACKAGE = "pyproject_metadata"
+
+inherit pypi python_setuptools_build_meta
+
+SRC_URI[sha256sum] = "376d5a00764ac29440a54579f88e66b7d9cb7e629d35c35a1c7248bfebc9b455"
+
+RDEPENDS:${PN} += " \
+ python3-logging \
+ python3-packaging \
+ python3-profile \
+"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-pyrsistent_0.20.0.bb b/meta/recipes-devtools/python/python3-pyrsistent_0.20.0.bb
new file mode 100644
index 0000000000..7de70942a9
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pyrsistent_0.20.0.bb
@@ -0,0 +1,14 @@
+SUMMARY = "Persistent/Immutable/Functional data structures for Python"
+HOMEPAGE = "https://github.com/tobgu/pyrsistent"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.mit;md5=f798dc4222a29fea881fa998cdf4a8c8"
+
+SRC_URI[sha256sum] = "4c48f78f62ab596c679086084d0dd13254ae4f3d6c72a83ffdf5ebdef8f265a4"
+
+inherit pypi python_setuptools_build_meta
+
+RDEPENDS:${PN} += " \
+ python3-numbers \
+"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-pysocks_1.7.1.bb b/meta/recipes-devtools/python/python3-pysocks_1.7.1.bb
new file mode 100644
index 0000000000..7f2c217f19
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pysocks_1.7.1.bb
@@ -0,0 +1,20 @@
+SUMMARY = "A Python SOCKS client module"
+HOMEPAGE = "http://python-requests.org"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=1d457bcffb9661b45f799d4efee72f16"
+
+SRC_URI[md5sum] = "89b1a6865c61bae67a32417517612ee6"
+SRC_URI[sha256sum] = "3f8804571ebe159c380ac6de37643bb4685970655d3bba243530d6558b799aa0"
+
+PYPI_PACKAGE = "PySocks"
+inherit pypi setuptools3
+
+RDEPENDS:${PN}:class-target += "\
+ python3-email \
+ python3-io \
+ python3-logging \
+ python3-netclient \
+ python3-shell \
+"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-pytest-runner_6.0.1.bb b/meta/recipes-devtools/python/python3-pytest-runner_6.0.1.bb
new file mode 100644
index 0000000000..cce9ce33e2
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pytest-runner_6.0.1.bb
@@ -0,0 +1,16 @@
+SUMMARY = "Invoke py.test as distutils command with dependency resolution"
+HOMEPAGE = "https://pypi.org/project/pytest-runner/"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=7a7126e068206290f3fe9f8d6c713ea6"
+
+SRC_URI[sha256sum] = "70d4739585a7008f37bf4933c013fdb327b8878a5a69fcbb3316c88882f0f49b"
+
+inherit pypi python_setuptools_build_meta
+
+DEPENDS += " \
+ python3-setuptools-scm-native"
+
+RDEPENDS:${PN} = "python3-py python3-setuptools python3-debugger python3-json \
+ python3-io"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-pytest-subtests_0.12.1.bb b/meta/recipes-devtools/python/python3-pytest-subtests_0.12.1.bb
new file mode 100644
index 0000000000..0590be705f
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pytest-subtests_0.12.1.bb
@@ -0,0 +1,20 @@
+SUMMARY = "unittest subTest() support and subtests fixture."
+DESCRIPTION = "Adds support for TestCase.subTest.\
+New subtests fixture, providing similar functionality for pure pytest tests."
+HOMEPAGE = "https://github.com/pytest-dev/pytest-subtests"
+BUGTRACKER = "https://github.com/pytest-dev/pytest-subtests/issues"
+
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=242b4e17fa287dcf7aef372f6bc3dcb1"
+
+SRC_URI[sha256sum] = "d6605dcb88647e0b7c1889d027f8ef1c17d7a2c60927ebfdc09c7b0d8120476d"
+
+inherit pypi python_setuptools_build_meta
+
+DEPENDS += "python3-setuptools-scm-native"
+
+RDEPENDS:${PN} += " \
+ python3-pytest \
+"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-pytest_8.2.1.bb b/meta/recipes-devtools/python/python3-pytest_8.2.1.bb
new file mode 100644
index 0000000000..28dbe786f8
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pytest_8.2.1.bb
@@ -0,0 +1,41 @@
+SUMMARY = "Simple powerful testing with python"
+HOMEPAGE = "https://pypi.org/project/pytest/"
+DESCRIPTION = "The pytest framework makes it easy to write small tests, yet scales to support complex functional testing for applications and libraries."
+
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=bd27e41b6550fe0fc45356d1d81ee37c"
+
+SRC_URI[sha256sum] = "5046e5b46d8e4cac199c373041f26be56fdb81eb4e67dc11d4e10811fc3408fd"
+
+DEPENDS += "python3-setuptools-scm-native"
+
+inherit update-alternatives pypi python_setuptools_build_meta
+
+RDEPENDS:${PN} += " \
+ python3-atomicwrites \
+ python3-attrs \
+ python3-debugger \
+ python3-doctest \
+ python3-importlib-metadata \
+ python3-iniconfig \
+ python3-json \
+ python3-more-itertools \
+ python3-packaging \
+ python3-pathlib2 \
+ python3-pluggy \
+ python3-py \
+ python3-setuptools \
+ python3-six \
+ python3-tomllib \
+ python3-wcwidth \
+"
+
+ALTERNATIVE:${PN} += "py.test pytest"
+
+NATIVE_LINK_NAME[pytest] = "${bindir}/pytest"
+ALTERNATIVE_TARGET[pytest] = "${bindir}/pytest"
+
+ALTERNATIVE_LINK_NAME[py.test] = "${bindir}/py.test"
+ALTERNATIVE_TARGET[py.test] = "${bindir}/py.test"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-pytz/run-ptest b/meta/recipes-devtools/python/python3-pytz/run-ptest
new file mode 100644
index 0000000000..8d2017d39c
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pytz/run-ptest
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+pytest --automake
diff --git a/meta/recipes-devtools/python/python3-pytz_2024.1.bb b/meta/recipes-devtools/python/python3-pytz_2024.1.bb
new file mode 100644
index 0000000000..158e800fed
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pytz_2024.1.bb
@@ -0,0 +1,36 @@
+SUMMARY = "World timezone definitions, modern and historical"
+HOMEPAGE = "http://pythonhosted.org/pytz"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=1a67fc46c1b596cce5d21209bbe75999"
+
+inherit pypi setuptools3 ptest
+
+SRC_URI[sha256sum] = "2a29735ea9c18baf14b448846bde5a48030ed267578472d8955cd0e7443a9812"
+
+RDEPENDS:${PN}:class-target += "\
+ python3-datetime \
+ python3-doctest \
+ python3-io \
+ python3-pickle \
+ python3-pprint \
+ python3-threading \
+"
+
+BBCLASSEXTEND = "native nativesdk"
+
+SRC_URI += " \
+ file://run-ptest \
+"
+
+RDEPENDS:${PN}-ptest += " \
+ python3-pytest \
+ python3-unittest-automake-output \
+"
+
+do_install_ptest() {
+ install -d ${D}${PTEST_PATH}/pytz
+ install -d ${D}${PTEST_PATH}/pytz/tests
+ cp -rf ${S}/pytz/tests/* ${D}${PTEST_PATH}/pytz/tests/
+ cp -f ${S}/README.rst ${D}${PTEST_PATH}/
+
+}
diff --git a/meta/recipes-devtools/python/python3-pyyaml/0001-Fix-builds-with-Cython-3.patch b/meta/recipes-devtools/python/python3-pyyaml/0001-Fix-builds-with-Cython-3.patch
new file mode 100644
index 0000000000..a87d588b6a
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pyyaml/0001-Fix-builds-with-Cython-3.patch
@@ -0,0 +1,54 @@
+From 9cc23db56add79357b8f8257fe6fc0d6879d4579 Mon Sep 17 00:00:00 2001
+From: "Andrew J. Hesford" <ajh@sideband.org>
+Date: Fri, 21 Jul 2023 09:50:00 -0400
+Subject: [PATCH] Fix builds with Cython 3
+
+This is a *de minimis* fix for building with Cython 3. Recent Cython<3
+releases provided `Cython.Distutils.build_ext` as an alias to
+`Cython.Distutils.old_build_ext.old_build_ext`; Cython 3 drops this
+alias and instead uses a wholly new `Cython.Distutils.build_ext` that
+does not provide the `cython_sources` function used in `setup.py`.
+
+Explicitly importing `old_build_ext` preserves the existing behavior for
+recent Cython<3 and uses the correct behavior for Cython 3. Should the
+import fail (*e.g.*, because the version of Cython available predates
+the availability of `old_build_ext`), the import falls back to just
+`Cython.Distutils.build_ext`.
+
+Signed-off-by: Andrew J. Hesford <ajh@sideband.org>
+Upstream-Status: Denied [https://github.com/yaml/pyyaml/pull/731]
+Signed-off-by: Alexander Kanavin <alex@linutronix.de>
+---
+ pyproject.toml | 2 +-
+ setup.py | 6 +++++-
+ 2 files changed, 6 insertions(+), 2 deletions(-)
+
+diff --git a/pyproject.toml b/pyproject.toml
+index 4bc04c0..2bf5ec8 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -1,3 +1,3 @@
+ [build-system]
+-requires = ["setuptools", "wheel", "Cython<3.0"]
++requires = ["setuptools", "wheel", "Cython"]
+ build-backend = "setuptools.build_meta"
+diff --git a/setup.py b/setup.py
+index 65b0ea0..4461580 100644
+--- a/setup.py
++++ b/setup.py
+@@ -82,7 +82,11 @@ if 'sdist' in sys.argv or os.environ.get('PYYAML_FORCE_CYTHON') == '1':
+ with_cython = True
+ try:
+ from Cython.Distutils.extension import Extension as _Extension
+- from Cython.Distutils import build_ext as _build_ext
++ try:
++ from Cython.Distutils.old_build_ext import old_build_ext as _build_ext
++ except ImportError:
++ from Cython.Distutils import build_ext as _build_ext
++
+ with_cython = True
+ except ImportError:
+ if with_cython:
+--
+2.39.2
+
diff --git a/meta/recipes-devtools/python/python3-pyyaml/run-ptest b/meta/recipes-devtools/python/python3-pyyaml/run-ptest
new file mode 100644
index 0000000000..8d2017d39c
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pyyaml/run-ptest
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+pytest --automake
diff --git a/meta/recipes-devtools/python/python3-pyyaml_6.0.1.bb b/meta/recipes-devtools/python/python3-pyyaml_6.0.1.bb
new file mode 100644
index 0000000000..6e2022719c
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pyyaml_6.0.1.bb
@@ -0,0 +1,40 @@
+SUMMARY = "Python support for YAML"
+DEPENDS += "libyaml python3-cython-native"
+HOMEPAGE = "https://pyyaml.org/"
+
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=6d8242660a8371add5fe547adf083079"
+
+PYPI_PACKAGE = "PyYAML"
+
+inherit pypi python_setuptools_build_meta
+
+SRC_URI += "file://0001-Fix-builds-with-Cython-3.patch"
+SRC_URI[sha256sum] = "bfdf460b1736c775f2ba9f6a92bca30bc2095067b8a9d77876d1fad6cc3b4a43"
+
+PACKAGECONFIG ?= "libyaml"
+PACKAGECONFIG[libyaml] = "--with-libyaml,--without-libyaml,libyaml"
+
+RDEPENDS:${PN} += "\
+ python3-datetime \
+ python3-netclient \
+"
+
+inherit ptest
+SRC_URI += "\
+ https://raw.githubusercontent.com/yaml/pyyaml/a98fd6088e81d7aca571220c966bbfe2ac43c335/tests/test_dump_load.py;name=test \
+ file://run-ptest \
+"
+SRC_URI[test.sha256sum] = "b6a8a2825d89fdc8aee226560f66b8196e872012a0ea7118cbef1a832359434a"
+
+RDEPENDS:${PN}-ptest += " \
+ python3-pytest \
+ python3-unittest-automake-output \
+"
+
+do_install_ptest() {
+ install -d ${D}${PTEST_PATH}/tests
+ cp -rf ${UNPACKDIR}/test_dump_load.py ${D}${PTEST_PATH}/tests/
+}
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-rdflib_7.0.0.bb b/meta/recipes-devtools/python/python3-rdflib_7.0.0.bb
new file mode 100644
index 0000000000..4057c1dbbc
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-rdflib_7.0.0.bb
@@ -0,0 +1,21 @@
+SUMMARY = "RDFLib is a pure Python package for working with RDF"
+HOMEPAGE = "https://github.com/RDFLib/rdflib"
+SECTION = "devel/python"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=37d489c0cefe52a17e1d5007e196464a"
+
+SRC_URI[sha256sum] = "9995eb8569428059b8c1affd26b25eac510d64f5043d9ce8c84e0d0036e995ae"
+
+inherit pypi python_poetry_core
+
+RDEPENDS:${PN} += " \
+ python3-isodate \
+ python3-pyparsing \
+ python3-logging \
+ python3-numbers \
+ python3-xml \
+ python3-compression \
+ python3-core \
+"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-referencing_0.35.1.bb b/meta/recipes-devtools/python/python3-referencing_0.35.1.bb
new file mode 100644
index 0000000000..3e2a380607
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-referencing_0.35.1.bb
@@ -0,0 +1,14 @@
+SUMMARY = "An implementation-agnostic implementation of JSON reference resolution."
+HOMEPAGE = "https://github.com/python-jsonschema/referencing"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://COPYING;md5=93eb9740964b59e9ba30281255b044e2"
+
+SRC_URI[sha256sum] = "25b42124a6c8b632a425174f24087783efb348a6f1e0008e63cd4466fedf703c"
+
+inherit pypi python_hatchling
+
+DEPENDS += "python3-hatch-vcs-native"
+
+RDEPENDS:${PN} += "python3-rpds-py"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-requests_2.32.1.bb b/meta/recipes-devtools/python/python3-requests_2.32.1.bb
new file mode 100644
index 0000000000..a1144181bc
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-requests_2.32.1.bb
@@ -0,0 +1,24 @@
+SUMMARY = "Python HTTP for Humans."
+HOMEPAGE = "https://requests.readthedocs.io"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=34400b68072d710fecd0a2940a0d1658"
+
+SRC_URI[sha256sum] = "eb97e87e64c79e64e5b8ac75cee9dd1f97f49e289b083ee6be96268930725685"
+
+inherit pypi python_setuptools_build_meta
+
+RDEPENDS:${PN} += " \
+ python3-certifi \
+ python3-email \
+ python3-json \
+ python3-netserver \
+ python3-pysocks \
+ python3-urllib3 \
+ python3-chardet \
+ python3-idna \
+ python3-compression \
+"
+
+CVE_PRODUCT = "requests"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-rfc3339-validator_0.1.4.bb b/meta/recipes-devtools/python/python3-rfc3339-validator_0.1.4.bb
new file mode 100644
index 0000000000..e809c2280d
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-rfc3339-validator_0.1.4.bb
@@ -0,0 +1,21 @@
+SUMMARY = "A pure python RFC3339 validator"
+HOMEPAGE = "https://github.com/naimetti/rfc3339-validator"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=a21b13b5a996f08f7e0b088aa38ce9c6"
+
+FILESEXTRAPATHS:prepend := "${THISDIR}/python-rfc3339-validator:"
+
+SRC_URI[sha256sum] = "138a2abdf93304ad60530167e51d2dfb9549521a836871b88d7f4695d0022f6b"
+
+PYPI_PACKAGE = "rfc3339_validator"
+UPSTREAM_CHECK_REGEX = "/rfc3339-validator/(?P<pver>(\d+[\.\-_]*)+)/"
+
+inherit pypi setuptools3
+
+RDEPENDS:${PN} += "\
+ python3-core \
+ python3-datetime \
+ python3-six \
+"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-rfc3986-validator_0.1.1.bb b/meta/recipes-devtools/python/python3-rfc3986-validator_0.1.1.bb
new file mode 100644
index 0000000000..e374979cb4
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-rfc3986-validator_0.1.1.bb
@@ -0,0 +1,24 @@
+SUMMARY = "Pure python rfc3986 validator"
+HOMEPAGE = "https://github.com/naimetti/rfc3986-validator"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=a21b13b5a996f08f7e0b088aa38ce9c6"
+
+FILESEXTRAPATHS:prepend := "${THISDIR}/python-rfc3986-validator:"
+
+SRC_URI[md5sum] = "47f7657b790aaf6011a1ab3d86c6be95"
+SRC_URI[sha256sum] = "3d44bde7921b3b9ec3ae4e3adca370438eccebc676456449b145d533b240d055"
+
+PYPI_PACKAGE = "rfc3986_validator"
+UPSTREAM_CHECK_REGEX = "/rfc3986-validator/(?P<pver>(\d+[\.\-_]*)+)/"
+
+inherit pypi setuptools3
+
+SRC_URI += "\
+ file://0001-setup.py-move-pytest-runner-to-test_requirements.patch \
+"
+
+RDEPENDS:${PN} += "\
+ python3-core \
+"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-rfc3987_1.3.8.bb b/meta/recipes-devtools/python/python3-rfc3987_1.3.8.bb
new file mode 100644
index 0000000000..316dc544de
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-rfc3987_1.3.8.bb
@@ -0,0 +1,11 @@
+SUMMARY = "Parsing and validation of URIs (RFC 3986) and IRIs (RFC 3987)"
+HOMEPAGE = "https://pypi.org/project/rfc3987/"
+LICENSE = "GPL-3.0-or-later"
+LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=9;md5=2b723edf67b2f3088bc5e339b1ceda2d"
+
+SRC_URI[md5sum] = "b6c4028acdc788a9ba697e1c1d6b896c"
+SRC_URI[sha256sum] = "d3c4d257a560d544e9826b38bc81db676890c79ab9d7ac92b39c7a253d5ca733"
+
+inherit pypi setuptools3
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-rpds-py-crates.inc b/meta/recipes-devtools/python/python3-rpds-py-crates.inc
new file mode 100644
index 0000000000..3551bdb5f7
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-rpds-py-crates.inc
@@ -0,0 +1,82 @@
+# Autogenerated with 'bitbake -c update_crates python3-rpds-py'
+
+# from Cargo.lock
+SRC_URI += " \
+ crate://crates.io/archery/1.2.0 \
+ crate://crates.io/autocfg/1.1.0 \
+ crate://crates.io/bitflags/1.3.2 \
+ crate://crates.io/cfg-if/1.0.0 \
+ crate://crates.io/heck/0.4.1 \
+ crate://crates.io/indoc/2.0.4 \
+ crate://crates.io/libc/0.2.147 \
+ crate://crates.io/lock_api/0.4.10 \
+ crate://crates.io/memoffset/0.9.0 \
+ crate://crates.io/once_cell/1.18.0 \
+ crate://crates.io/parking_lot/0.12.1 \
+ crate://crates.io/parking_lot_core/0.9.8 \
+ crate://crates.io/portable-atomic/1.6.0 \
+ crate://crates.io/proc-macro2/1.0.66 \
+ crate://crates.io/pyo3/0.20.3 \
+ crate://crates.io/pyo3-build-config/0.20.3 \
+ crate://crates.io/pyo3-ffi/0.20.3 \
+ crate://crates.io/pyo3-macros/0.20.3 \
+ crate://crates.io/pyo3-macros-backend/0.20.3 \
+ crate://crates.io/quote/1.0.31 \
+ crate://crates.io/redox_syscall/0.3.5 \
+ crate://crates.io/rpds/1.1.0 \
+ crate://crates.io/scopeguard/1.1.0 \
+ crate://crates.io/smallvec/1.11.0 \
+ crate://crates.io/static_assertions/1.1.0 \
+ crate://crates.io/syn/2.0.32 \
+ crate://crates.io/target-lexicon/0.12.9 \
+ crate://crates.io/triomphe/0.1.9 \
+ crate://crates.io/unicode-ident/1.0.11 \
+ crate://crates.io/unindent/0.2.3 \
+ crate://crates.io/windows-targets/0.48.1 \
+ crate://crates.io/windows_aarch64_gnullvm/0.48.0 \
+ crate://crates.io/windows_aarch64_msvc/0.48.0 \
+ crate://crates.io/windows_i686_gnu/0.48.0 \
+ crate://crates.io/windows_i686_msvc/0.48.0 \
+ crate://crates.io/windows_x86_64_gnu/0.48.0 \
+ crate://crates.io/windows_x86_64_gnullvm/0.48.0 \
+ crate://crates.io/windows_x86_64_msvc/0.48.0 \
+"
+
+SRC_URI[archery-1.2.0.sha256sum] = "8967cd1cc9e9e1954f644e14fbd6042fe9a37da96c52a67e44a2ac18261f8561"
+SRC_URI[autocfg-1.1.0.sha256sum] = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
+SRC_URI[bitflags-1.3.2.sha256sum] = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
+SRC_URI[cfg-if-1.0.0.sha256sum] = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
+SRC_URI[heck-0.4.1.sha256sum] = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8"
+SRC_URI[indoc-2.0.4.sha256sum] = "1e186cfbae8084e513daff4240b4797e342f988cecda4fb6c939150f96315fd8"
+SRC_URI[libc-0.2.147.sha256sum] = "b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3"
+SRC_URI[lock_api-0.4.10.sha256sum] = "c1cc9717a20b1bb222f333e6a92fd32f7d8a18ddc5a3191a11af45dcbf4dcd16"
+SRC_URI[memoffset-0.9.0.sha256sum] = "5a634b1c61a95585bd15607c6ab0c4e5b226e695ff2800ba0cdccddf208c406c"
+SRC_URI[once_cell-1.18.0.sha256sum] = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d"
+SRC_URI[parking_lot-0.12.1.sha256sum] = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f"
+SRC_URI[parking_lot_core-0.9.8.sha256sum] = "93f00c865fe7cabf650081affecd3871070f26767e7b2070a3ffae14c654b447"
+SRC_URI[portable-atomic-1.6.0.sha256sum] = "7170ef9988bc169ba16dd36a7fa041e5c4cbeb6a35b76d4c03daded371eae7c0"
+SRC_URI[proc-macro2-1.0.66.sha256sum] = "18fb31db3f9bddb2ea821cde30a9f70117e3f119938b5ee630b7403aa6e2ead9"
+SRC_URI[pyo3-0.20.3.sha256sum] = "53bdbb96d49157e65d45cc287af5f32ffadd5f4761438b527b055fb0d4bb8233"
+SRC_URI[pyo3-build-config-0.20.3.sha256sum] = "deaa5745de3f5231ce10517a1f5dd97d53e5a2fd77aa6b5842292085831d48d7"
+SRC_URI[pyo3-ffi-0.20.3.sha256sum] = "62b42531d03e08d4ef1f6e85a2ed422eb678b8cd62b762e53891c05faf0d4afa"
+SRC_URI[pyo3-macros-0.20.3.sha256sum] = "7305c720fa01b8055ec95e484a6eca7a83c841267f0dd5280f0c8b8551d2c158"
+SRC_URI[pyo3-macros-backend-0.20.3.sha256sum] = "7c7e9b68bb9c3149c5b0cade5d07f953d6d125eb4337723c4ccdb665f1f96185"
+SRC_URI[quote-1.0.31.sha256sum] = "5fe8a65d69dd0808184ebb5f836ab526bb259db23c657efa38711b1072ee47f0"
+SRC_URI[redox_syscall-0.3.5.sha256sum] = "567664f262709473930a4bf9e51bf2ebf3348f2e748ccc50dea20646858f8f29"
+SRC_URI[rpds-1.1.0.sha256sum] = "a0e15515d3ce3313324d842629ea4905c25a13f81953eadb88f85516f59290a4"
+SRC_URI[scopeguard-1.1.0.sha256sum] = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd"
+SRC_URI[smallvec-1.11.0.sha256sum] = "62bb4feee49fdd9f707ef802e22365a35de4b7b299de4763d44bfea899442ff9"
+SRC_URI[static_assertions-1.1.0.sha256sum] = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
+SRC_URI[syn-2.0.32.sha256sum] = "239814284fd6f1a4ffe4ca893952cdd93c224b6a1571c9a9eadd670295c0c9e2"
+SRC_URI[target-lexicon-0.12.9.sha256sum] = "df8e77cb757a61f51b947ec4a7e3646efd825b73561db1c232a8ccb639e611a0"
+SRC_URI[triomphe-0.1.9.sha256sum] = "0eee8098afad3fb0c54a9007aab6804558410503ad676d4633f9c2559a00ac0f"
+SRC_URI[unicode-ident-1.0.11.sha256sum] = "301abaae475aa91687eb82514b328ab47a211a533026cb25fc3e519b86adfc3c"
+SRC_URI[unindent-0.2.3.sha256sum] = "c7de7d73e1754487cb58364ee906a499937a0dfabd86bcb980fa99ec8c8fa2ce"
+SRC_URI[windows-targets-0.48.1.sha256sum] = "05d4b17490f70499f20b9e791dcf6a299785ce8af4d709018206dc5b4953e95f"
+SRC_URI[windows_aarch64_gnullvm-0.48.0.sha256sum] = "91ae572e1b79dba883e0d315474df7305d12f569b400fcf90581b06062f7e1bc"
+SRC_URI[windows_aarch64_msvc-0.48.0.sha256sum] = "b2ef27e0d7bdfcfc7b868b317c1d32c641a6fe4629c171b8928c7b08d98d7cf3"
+SRC_URI[windows_i686_gnu-0.48.0.sha256sum] = "622a1962a7db830d6fd0a69683c80a18fda201879f0f447f065a3b7467daa241"
+SRC_URI[windows_i686_msvc-0.48.0.sha256sum] = "4542c6e364ce21bf45d69fdd2a8e455fa38d316158cfd43b3ac1c5b1b19f8e00"
+SRC_URI[windows_x86_64_gnu-0.48.0.sha256sum] = "ca2b8a661f7628cbd23440e50b05d705db3686f894fc9580820623656af974b1"
+SRC_URI[windows_x86_64_gnullvm-0.48.0.sha256sum] = "7896dbc1f41e08872e9d5e8f8baa8fdd2677f29468c4e156210174edc7f7b953"
+SRC_URI[windows_x86_64_msvc-0.48.0.sha256sum] = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a"
diff --git a/meta/recipes-devtools/python/python3-rpds-py/run-ptest b/meta/recipes-devtools/python/python3-rpds-py/run-ptest
new file mode 100644
index 0000000000..8d2017d39c
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-rpds-py/run-ptest
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+pytest --automake
diff --git a/meta/recipes-devtools/python/python3-rpds-py_0.18.1.bb b/meta/recipes-devtools/python/python3-rpds-py_0.18.1.bb
new file mode 100644
index 0000000000..f46df1115c
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-rpds-py_0.18.1.bb
@@ -0,0 +1,30 @@
+SUMMARY = "Python bindings to the Rust rpds crate for persistent data structures."
+HOMEPAGE = "https://pypi.org/project/rpds-py/"
+
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=7767fa537c4596c54141f32882c4a984"
+
+SRC_URI += "file://run-ptest"
+
+SRC_URI[sha256sum] = "dc48b479d540770c811fbd1eb9ba2bb66951863e448efec2e2c102625328e92f"
+
+require ${BPN}-crates.inc
+
+inherit pypi cargo-update-recipe-crates python_maturin ptest
+
+PYPI_PACKAGE = "rpds_py"
+
+RDEPENDS:${PN}-ptest += " \
+ python3-iniconfig \
+ python3-packaging \
+ python3-pluggy \
+ python3-pytest \
+ python3-unittest-automake-output \
+ "
+
+do_install_ptest() {
+ install -d ${D}${PTEST_PATH}/tests
+ cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
+}
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-ruamel-yaml_0.18.6.bb b/meta/recipes-devtools/python/python3-ruamel-yaml_0.18.6.bb
new file mode 100644
index 0000000000..197bf91d6c
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-ruamel-yaml_0.18.6.bb
@@ -0,0 +1,23 @@
+SUMMARY = "YAML parser/emitter that supports roundtrip preservation of comments, seq/map flow style, and map key order."
+HOMEPAGE = "https://pypi.org/project/ruamel.yaml/"
+
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=30cbbccd94bf3a2b0285ec35671a1938"
+
+PYPI_PACKAGE = "ruamel.yaml"
+
+inherit pypi setuptools3
+
+SRC_URI[sha256sum] = "8b27e6a217e786c6fbe5634d8f3f11bc63e0f80f6a5890f28863d9c45aac311b"
+
+RDEPENDS:${PN} += "\
+ python3-shell \
+ python3-datetime \
+ python3-netclient \
+"
+
+do_install:prepend() {
+ export RUAMEL_NO_PIP_INSTALL_CHECK=1
+}
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-scons-native_3.1.2.bb b/meta/recipes-devtools/python/python3-scons-native_3.1.2.bb
deleted file mode 100644
index 9e127304d6..0000000000
--- a/meta/recipes-devtools/python/python3-scons-native_3.1.2.bb
+++ /dev/null
@@ -1,7 +0,0 @@
-require python3-scons_${PV}.bb
-inherit native python3native
-DEPENDS = "python3-native python3-setuptools-native"
-
-do_install_append() {
- create_wrapper ${D}${bindir}/scons SCONS_LIB_DIR='${STAGING_DIR_HOST}/${PYTHON_SITEPACKAGES_DIR}' PYTHONNOUSERSITE='1'
-}
diff --git a/meta/recipes-devtools/python/python3-scons/0001-Fix-man-page-installation.patch b/meta/recipes-devtools/python/python3-scons/0001-Fix-man-page-installation.patch
new file mode 100644
index 0000000000..6dffe64809
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-scons/0001-Fix-man-page-installation.patch
@@ -0,0 +1,29 @@
+From 8b482e618047e94833545dce3a26924ef4f075db Mon Sep 17 00:00:00 2001
+From: Tim Orling <ticotimo@gmail.com>
+Date: Sat, 22 May 2021 11:20:46 -0700
+Subject: [PATCH] Fix man page installation
+
+Fixes:
+ error: can't copy 'build/doc/man/scons.1': doesn't exist or not a regular file
+
+Upstream-Status: Inappropriate [oe specific]
+
+Signed-off-by: Tim Orling <ticotimo@gmail.com>
+
+---
+ MANIFEST.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/MANIFEST.in b/MANIFEST.in
+index 04ec000..937f6f3 100644
+--- a/MANIFEST.in
++++ b/MANIFEST.in
+@@ -4,7 +4,7 @@ recursive-include SCons/Tool/docbook *
+ include LICENSE
+
+ include scons.1 sconsign.1 scons-time.1
+-recursive-include build/doc/man *.1
++#recursive-include build/doc/man *.1
+
+
+
diff --git a/meta/recipes-devtools/python/python3-scons_3.1.2.bb b/meta/recipes-devtools/python/python3-scons_3.1.2.bb
deleted file mode 100644
index ce117a92d4..0000000000
--- a/meta/recipes-devtools/python/python3-scons_3.1.2.bb
+++ /dev/null
@@ -1,33 +0,0 @@
-SUMMARY = "Software Construction tool (make/autotools replacement)"
-SECTION = "devel/python"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE-python3-scons-${PV};md5=e14e1b33428df24a40a782ae142785d0"
-
-# pypi package does not have a valid license file
-SRC_URI += "https://raw.githubusercontent.com/SCons/scons/${PV}/LICENSE;downloadfilename=LICENSE-python3-scons-${PV};name=license"
-
-SRC_URI[md5sum] = "f9c4ad06dcf1427be95472eaf380c81a"
-SRC_URI[sha256sum] = "8aaa483c303efeb678e6f7c776c8444a482f8ddc3ad891f8b6cdd35264da9a1f"
-SRC_URI[license.md5sum] = "e14e1b33428df24a40a782ae142785d0"
-SRC_URI[license.sha256sum] = "72ed889165fb28378cadac14552be4a959f1ebab6b148abb5dd2b49712c3c6f6"
-
-S = "${WORKDIR}/scons-${PV}"
-
-UPSTREAM_CHECK_URI = "http://scons.org/pages/download.html"
-UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)\.tar"
-
-inherit pypi setuptools3
-
-do_install_prepend() {
- sed -i -e "1s,#!.*python.*,#!${USRBINPATH}/env python3," ${S}/script/*
-}
-
-RDEPENDS_${PN}_class-target = "\
- python3-core \
- python3-fcntl \
- python3-io \
- python3-json \
- python3-shell \
- python3-pickle \
- python3-pprint \
- "
diff --git a/meta/recipes-devtools/python/python3-scons_4.7.0.bb b/meta/recipes-devtools/python/python3-scons_4.7.0.bb
new file mode 100644
index 0000000000..bba6c799d4
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-scons_4.7.0.bb
@@ -0,0 +1,36 @@
+SUMMARY = "Software Construction tool (make/autotools replacement)"
+HOMEPAGE = "https://github.com/SCons/scons"
+SECTION = "devel/python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=d903b0b8027f461402bac9b5169b36f7"
+
+SRC_URI += " file://0001-Fix-man-page-installation.patch"
+SRC_URI[sha256sum] = "d8b617f6610a73e46509de70dcf82f76861b79762ff602d546f4e80918ec81f3"
+
+PYPI_PACKAGE = "SCons"
+
+inherit pypi setuptools3
+
+RDEPENDS:${PN}:class-target = "\
+ python3-core \
+ python3-compression \
+ python3-fcntl \
+ python3-importlib-metadata \
+ python3-io \
+ python3-json \
+ python3-shell \
+ python3-pickle \
+ python3-pkg-resources \
+ python3-pprint \
+ "
+
+do_install:append() {
+ install -d ${D}${mandir}/man1
+ mv ${D}${prefix}/scons*.1 ${D}${mandir}/man1/
+}
+
+do_install:append:class-native() {
+ create_wrapper ${D}${bindir}/scons SCONS_LIB_DIR='${STAGING_DIR_HOST}/${PYTHON_SITEPACKAGES_DIR}' PYTHONNOUSERSITE='1'
+}
+
+BBCLASSEXTEND = "native"
diff --git a/meta/recipes-devtools/python/python3-semantic-version_2.10.0.bb b/meta/recipes-devtools/python/python3-semantic-version_2.10.0.bb
new file mode 100644
index 0000000000..27e3f534b8
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-semantic-version_2.10.0.bb
@@ -0,0 +1,18 @@
+SUMMARY = "A library implementing the 'SemVer' scheme."
+DESCRIPTION = "Semantic version comparison for Python (see http://semver.org/)"
+HOMEPAGE = "https://github.com/rbarrois/python-semanticversion"
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=4fb31e3c1c7eeb8b5e8c07657cdd54e2"
+
+SRC_URI[sha256sum] = "bdabb6d336998cbb378d4b9db3a4b56a1e3235701dc05ea2690d9a997ed5041c"
+
+PYPI_PACKAGE = "semantic_version"
+inherit pypi setuptools3
+
+RDEPENDS:${PN} += " \
+ python3-pkg-resources \
+"
+
+BBCLASSEXTEND = "native nativesdk"
+
+UPSTREAM_CHECK_REGEX = "/semantic-version/(?P<pver>(\d+[\.\-_]*)+)/"
diff --git a/meta/recipes-devtools/python/python3-setuptools-rust_1.9.0.bb b/meta/recipes-devtools/python/python3-setuptools-rust_1.9.0.bb
new file mode 100644
index 0000000000..8eb2513d69
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-setuptools-rust_1.9.0.bb
@@ -0,0 +1,35 @@
+SUMMARY = "Setuptools Rust extension plugin"
+DESCRIPTION = "setuptools-rust is a plugin for setuptools to build Rust \
+Python extensions implemented with PyO3 or rust-cpython.\
+\
+Compile and distribute Python extensions written in Rust as easily as if they were written in C."
+HOMEPAGE = "https://github.com/PyO3/setuptools-rust"
+BUGTRACKER = "https://github.com/PyO3/setuptools-rust/issues"
+
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=011cd92e702dd9e6b1a26157b6fd53f5"
+
+SRC_URI = "${PYPI_SRC_URI} \
+ https://files.pythonhosted.org/packages/67/08/e1aa2c582c62ac76e4d60f8e454bd3bba933781a06a88b4e38797445822a/setuptools-rust-${PV}.tar.gz \
+ "
+SRC_URI[sha256sum] = "704df0948f2e4cc60c2596ad6e840ea679f4f43e58ed4ad0c1857807240eab96"
+
+inherit cargo pypi python_setuptools_build_meta
+
+DEPENDS += "python3-setuptools-scm-native python3-wheel-native"
+# remove when https://github.com/PyO3/setuptools-rust/commit/7ced8d2a8f36e1b4fc41b5544636defb7bd44bdf
+# is included
+DEPENDS += "python3-semantic-version-native"
+
+RDEPENDS:${PN} += " \
+ python3-json \
+ python3-semantic-version \
+ python3-setuptools \
+ python3-setuptools-scm \
+ python3-shell \
+ python3-toml \
+ python3-typing-extensions \
+ python3-wheel \
+"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-setuptools-scm_8.1.0.bb b/meta/recipes-devtools/python/python3-setuptools-scm_8.1.0.bb
new file mode 100644
index 0000000000..ea65b476fc
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-setuptools-scm_8.1.0.bb
@@ -0,0 +1,33 @@
+SUMMARY = "the blessed package to manage your versions by scm tags"
+HOMEPAGE = "https://pypi.org/project/setuptools-scm/"
+DESCRIPTION = "setuptools_scm handles managing your Python package \
+versions in SCM metadata instead of declaring them as the version \
+argument or in a SCM managed file."
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=838c366f69b72c5df05c96dff79b35f2"
+
+SRC_URI[sha256sum] = "42dea1b65771cba93b7a515d65a65d8246e560768a66b9106a592c8e7f26c8a7"
+
+PYPI_PACKAGE = "setuptools_scm"
+
+inherit pypi python_setuptools_build_meta
+
+UPSTREAM_CHECK_REGEX = "scm-(?P<pver>.*)\.tar"
+
+DEPENDS += "python3-tomli-native python3-packaging-native python3-typing-extensions-native"
+
+RDEPENDS:${PN} = "\
+ python3-packaging \
+ python3-pip \
+ python3-pyparsing \
+ python3-setuptools \
+ python3-tomli \
+ python3-typing-extensions \
+"
+
+RDEPENDS:${PN}:append:class-target = " \
+ python3-debugger \
+ python3-json \
+"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-setuptools/0001-_distutils-sysconfig.py-make-it-possible-to-substite.patch b/meta/recipes-devtools/python/python3-setuptools/0001-_distutils-sysconfig.py-make-it-possible-to-substite.patch
new file mode 100644
index 0000000000..0f6c9d250d
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-setuptools/0001-_distutils-sysconfig.py-make-it-possible-to-substite.patch
@@ -0,0 +1,58 @@
+From d393759315b189a738e4b6a2ce31dc18dbbfae29 Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin <alex@linutronix.de>
+Date: Wed, 11 May 2022 21:41:14 +0200
+Subject: [PATCH] _distutils/sysconfig.py: make it possible to substite the
+ prefix to target sysroot
+
+This is done by probing STAGING_INCDIR/STAGING_LIBDIRenv vars:
+not the most elegant solution, but distutils/sysconfig has been
+tweaked to do this for many, many year, and so it's easiest
+to replicate here as well, the original is
+meta/recipes-devtools/python/python3/12-distutils-prefix-is-inside-staging-area.patch
+
+I'm not sure exactly why setuptools now needs a copy, and what
+would happen to this module in light of distutils deprecation.
+
+Upstream-Status: Inappropriate [oe-core specific]
+Signed-off-by: Alexander Kanavin <alex@linutronix.de>
+---
+ setuptools/_distutils/sysconfig.py | 12 ++++++++++--
+ 1 file changed, 10 insertions(+), 2 deletions(-)
+
+diff --git a/setuptools/_distutils/sysconfig.py b/setuptools/_distutils/sysconfig.py
+index a40a723..14f35e7 100644
+--- a/setuptools/_distutils/sysconfig.py
++++ b/setuptools/_distutils/sysconfig.py
+@@ -119,6 +119,8 @@ def get_python_inc(plat_specific=0, prefix=None):
+ sys.base_exec_prefix -- i.e., ignore 'plat_specific'.
+ """
+ default_prefix = BASE_EXEC_PREFIX if plat_specific else BASE_PREFIX
++ if os.environ.get('STAGING_INCDIR', ""):
++ default_prefix = os.environ['STAGING_INCDIR'].rstrip('include')
+ resolved_prefix = prefix if prefix is not None else default_prefix
+ try:
+ getter = globals()[f'_get_python_inc_{os.name}']
+@@ -238,7 +240,13 @@ def get_python_lib(plat_specific=0, standard_lib=0, prefix=None):
+
+ early_prefix = prefix
+
+- if prefix is None:
++ if os.environ.get('STAGING_LIBDIR', ""):
++ lib_basename = os.environ['STAGING_LIBDIR'].split('/')[-1]
++ else:
++ lib_basename = "lib"
++ if prefix is None and os.environ.get('STAGING_LIBDIR', ""):
++ prefix = os.environ['STAGING_LIBDIR'].rstrip(lib_basename)
++ elif prefix is None:
+ if standard_lib:
+ prefix = plat_specific and BASE_EXEC_PREFIX or BASE_PREFIX
+ else:
+@@ -253,7 +261,7 @@ def get_python_lib(plat_specific=0, standard_lib=0, prefix=None):
+ # Pure Python
+ libdir = "lib"
+ implementation = 'pypy' if IS_PYPY else 'python'
+- libpython = os.path.join(prefix, libdir, implementation + get_python_version())
++ libpython = os.path.join(prefix, lib_basename, implementation + get_python_version())
+ return _posix_lib(standard_lib, libpython, early_prefix, prefix)
+ elif os.name == "nt":
+ if standard_lib:
diff --git a/meta/recipes-devtools/python/python3-setuptools/0001-change-shebang-to-python3.patch b/meta/recipes-devtools/python/python3-setuptools/0001-change-shebang-to-python3.patch
deleted file mode 100644
index 6dcf52771b..0000000000
--- a/meta/recipes-devtools/python/python3-setuptools/0001-change-shebang-to-python3.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From c39d0896930e25c224cc897660fc8511ccae30c8 Mon Sep 17 00:00:00 2001
-From: Changqing Li <changqing.li@windriver.com>
-Date: Thu, 23 Apr 2020 10:01:12 +0000
-Subject: [PATCH] change shebang to python3
-
-Upstream-Status: Pending
-
-Signed-off-by: Changqing Li <changqing.li@windriver.com>
----
- pkg_resources/_vendor/appdirs.py | 2 +-
- 1 files changed, 1 insertions(+), 1 deletions(-)
-
-diff --git a/pkg_resources/_vendor/appdirs.py b/pkg_resources/_vendor/appdirs.py
-index ae67001..933e398 100644
---- a/pkg_resources/_vendor/appdirs.py
-+++ b/pkg_resources/_vendor/appdirs.py
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/env python3
- # -*- coding: utf-8 -*-
- # Copyright (c) 2005-2010 ActiveState Software Inc.
- # Copyright (c) 2013 Eddy Petrișor
---
-2.24.1
-
diff --git a/meta/recipes-devtools/python/files/0001-conditionally-do-not-fetch-code-by-easy_install.patch b/meta/recipes-devtools/python/python3-setuptools/0001-conditionally-do-not-fetch-code-by-easy_install.patch
index 99c50e94cb..e227c2889c 100644
--- a/meta/recipes-devtools/python/files/0001-conditionally-do-not-fetch-code-by-easy_install.patch
+++ b/meta/recipes-devtools/python/python3-setuptools/0001-conditionally-do-not-fetch-code-by-easy_install.patch
@@ -1,4 +1,4 @@
-From d2633b49275b20e7acf724567fe0189aab25771e Mon Sep 17 00:00:00 2001
+From 80fe63816eb3bfd1f5b6d354e1f2442805cff4e0 Mon Sep 17 00:00:00 2001
From: Hongxu Jia <hongxu.jia@windriver.com>
Date: Tue, 17 Jul 2018 10:13:38 +0800
Subject: [PATCH] conditionally do not fetch code by easy_install
@@ -9,17 +9,16 @@ internet by easy_install.
Upstream-Status: Inappropriate [oe specific]
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
-
---
setuptools/command/easy_install.py | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py
-index 9ec83b7..7e97a07 100644
+index 858fb20..62bd853 100644
--- a/setuptools/command/easy_install.py
+++ b/setuptools/command/easy_install.py
-@@ -636,6 +636,11 @@ class easy_install(Command):
- os.path.exists(tmpdir) and rmtree(tmpdir)
+@@ -672,6 +672,11 @@ class easy_install(Command):
+ os.path.exists(tmpdir) and _rmtree(tmpdir)
def easy_install(self, spec, deps=False):
+ if os.environ.get('NO_FETCH_BUILD', None):
diff --git a/meta/recipes-devtools/python/python3-setuptools_50.3.2.bb b/meta/recipes-devtools/python/python3-setuptools_50.3.2.bb
deleted file mode 100644
index 4480d56775..0000000000
--- a/meta/recipes-devtools/python/python3-setuptools_50.3.2.bb
+++ /dev/null
@@ -1,65 +0,0 @@
-SUMMARY = "Download, build, install, upgrade, and uninstall Python packages"
-HOMEPAGE = "https://pypi.org/project/setuptools"
-SECTION = "devel/python"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;beginline=1;endline=19;md5=9a33897f1bca1160d7aad3835152e158"
-
-PYPI_PACKAGE_EXT = "zip"
-
-inherit pypi setuptools3
-
-SRC_URI_append_class-native = " file://0001-conditionally-do-not-fetch-code-by-easy_install.patch"
-
-SRC_URI += "file://0001-change-shebang-to-python3.patch"
-
-SRC_URI[sha256sum] = "ed0519d27a243843b05d82a5e9d01b0b083d9934eaa3d02779a23da18077bd3c"
-
-DEPENDS += "${PYTHON_PN}"
-
-RDEPENDS_${PN} = "\
- ${PYTHON_PN}-2to3 \
- ${PYTHON_PN}-compile \
- ${PYTHON_PN}-compression \
- ${PYTHON_PN}-ctypes \
- ${PYTHON_PN}-distutils \
- ${PYTHON_PN}-email \
- ${PYTHON_PN}-html \
- ${PYTHON_PN}-json \
- ${PYTHON_PN}-netserver \
- ${PYTHON_PN}-numbers \
- ${PYTHON_PN}-pickle \
- ${PYTHON_PN}-pkgutil \
- ${PYTHON_PN}-plistlib \
- ${PYTHON_PN}-shell \
- ${PYTHON_PN}-stringold \
- ${PYTHON_PN}-threading \
- ${PYTHON_PN}-unittest \
- ${PYTHON_PN}-xml \
-"
-
-do_install_prepend() {
- install -d ${D}${PYTHON_SITEPACKAGES_DIR}
-}
-
-do_install_append() {
- mv ${D}${bindir}/easy_install ${D}${bindir}/easy3_install
-}
-
-BBCLASSEXTEND = "native nativesdk"
-
-# The pkg-resources module can be used by itself, without the package downloader
-# and easy_install. Ship it in a separate package so that it can be used by
-# minimal distributions.
-PACKAGES =+ "${PYTHON_PN}-pkg-resources "
-FILES_${PYTHON_PN}-pkg-resources = "${PYTHON_SITEPACKAGES_DIR}/pkg_resources/*"
-RDEPENDS_${PYTHON_PN}-pkg-resources = "\
- ${PYTHON_PN}-compression \
- ${PYTHON_PN}-email \
- ${PYTHON_PN}-plistlib \
- ${PYTHON_PN}-pprint \
-"
-# Due to the way OE-Core implemented native recipes, the native class cannot
-# have a dependency on something that is not a recipe name. Work around that by
-# manually setting RPROVIDES.
-RDEPENDS_${PN}_append = " ${PYTHON_PN}-pkg-resources"
-RPROVIDES_append_class-native = " ${PYTHON_PN}-pkg-resources-native"
diff --git a/meta/recipes-devtools/python/python3-setuptools_69.5.1.bb b/meta/recipes-devtools/python/python3-setuptools_69.5.1.bb
new file mode 100644
index 0000000000..8261b09d16
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-setuptools_69.5.1.bb
@@ -0,0 +1,55 @@
+SUMMARY = "Download, build, install, upgrade, and uninstall Python packages"
+HOMEPAGE = "https://pypi.org/project/setuptools"
+SECTION = "devel/python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=141643e11c48898150daa83802dbc65f"
+
+inherit pypi python_setuptools_build_meta
+
+SRC_URI:append:class-native = " file://0001-conditionally-do-not-fetch-code-by-easy_install.patch"
+
+SRC_URI += " \
+ file://0001-_distutils-sysconfig.py-make-it-possible-to-substite.patch"
+
+SRC_URI[sha256sum] = "6c1fccdac05a97e598fb0ae3bbed5904ccb317337a51139dcd51453611bbb987"
+
+DEPENDS += "python3"
+
+RDEPENDS:${PN} = "\
+ python3-2to3 \
+ python3-compile \
+ python3-compression \
+ python3-ctypes \
+ python3-email \
+ python3-html \
+ python3-json \
+ python3-netserver \
+ python3-numbers \
+ python3-pickle \
+ python3-pkg-resources \
+ python3-pkgutil \
+ python3-plistlib \
+ python3-shell \
+ python3-stringold \
+ python3-threading \
+ python3-unittest \
+ python3-xml \
+"
+
+BBCLASSEXTEND = "native nativesdk"
+
+# The pkg-resources module can be used by itself, without the package downloader
+# and easy_install. Ship it in a separate package so that it can be used by
+# minimal distributions.
+PACKAGES =+ "python3-pkg-resources "
+FILES:python3-pkg-resources = "${PYTHON_SITEPACKAGES_DIR}/pkg_resources/*"
+RDEPENDS:python3-pkg-resources = "\
+ python3-compression \
+ python3-email \
+ python3-plistlib \
+ python3-pprint \
+"
+
+# This used to use the bootstrap install which didn't compile. Until we bump the
+# tmpdir version we can't compile the native otherwise the sysroot unpack fails
+INSTALL_WHEEL_COMPILE_BYTECODE:class-native = "--no-compile-bytecode"
diff --git a/meta/recipes-devtools/python/python3-six_1.15.0.bb b/meta/recipes-devtools/python/python3-six_1.15.0.bb
deleted file mode 100644
index 6c6f3f9629..0000000000
--- a/meta/recipes-devtools/python/python3-six_1.15.0.bb
+++ /dev/null
@@ -1,5 +0,0 @@
-inherit setuptools3
-require python-six.inc
-
-SRC_URI[md5sum] = "9f90a0eaa0ea7747fda01ca79d21ebcb"
-SRC_URI[sha256sum] = "30639c035cdb23534cd4aa2dd52c3bf48f06e5f4a941509c8bafd8ce11080259"
diff --git a/meta/recipes-devtools/python/python3-six_1.16.0.bb b/meta/recipes-devtools/python/python3-six_1.16.0.bb
new file mode 100644
index 0000000000..1ba48d4f47
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-six_1.16.0.bb
@@ -0,0 +1,4 @@
+inherit setuptools3
+require python-six.inc
+
+SRC_URI[sha256sum] = "1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926"
diff --git a/meta/recipes-devtools/python/python3-smartypants/0001-Change-hash-bang-to-python3.patch b/meta/recipes-devtools/python/python3-smartypants/0001-Change-hash-bang-to-python3.patch
new file mode 100644
index 0000000000..aab16eaab4
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-smartypants/0001-Change-hash-bang-to-python3.patch
@@ -0,0 +1,47 @@
+From e299bcb05405ff49450307bf3002c1fac14a866c Mon Sep 17 00:00:00 2001
+From: Tim Orling <tim.orling@konsulko.com>
+Date: Sun, 20 Feb 2022 18:55:50 -0800
+Subject: [PATCH] Change hash bang to python3
+
+In setup.py, smartypants and smartypants.py set hash bang to python3.
+
+Upstream-Status: Inappropriate [oe-core specific]
+
+Signed-off-by: Tim Orling <tim.orling@konsulko.com>
+
+---
+ setup.py | 2 +-
+ smartypants | 2 +-
+ smartypants.py | 2 +-
+ 3 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/setup.py b/setup.py
+index ff1ea76..96a8b73 100755
+--- a/setup.py
++++ b/setup.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/env python3
+ # Copyright (C) 2013, 2014 by Yu-Jie Lin
+ # For detail license information, See COPYING
+
+diff --git a/smartypants b/smartypants
+index 189adf5..0cca568 100755
+--- a/smartypants
++++ b/smartypants
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/env python3
+ # Copyright (c) 2013, 2014 Yu-Jie Lin
+ # Licensed under the BSD License, for detailed license information, see COPYING
+
+diff --git a/smartypants.py b/smartypants.py
+index a70575b..e53bd87 100755
+--- a/smartypants.py
++++ b/smartypants.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/python
++#!/usr/bin/env python3
+ # -*- coding: utf-8 -*-
+ # Copyright (c) 2013, 2014, 2016 Yu-Jie Lin
+ # Copyright (c) 2004, 2005, 2007, 2013 Chad Miller
diff --git a/meta/recipes-devtools/python/python3-smartypants_2.0.0.bb b/meta/recipes-devtools/python/python3-smartypants_2.0.0.bb
new file mode 100644
index 0000000000..d089a89b95
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-smartypants_2.0.0.bb
@@ -0,0 +1,14 @@
+SUMMARY = "Translator of plain ASCII punctuation characters into 'smart' typographic punctuation HTML entities"
+HOMEPAGE = "https://pythonhosted.org/smartypants/"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://COPYING;md5=977036977591ac666c728921ecc54c4f"
+
+inherit pypi setuptools3
+
+PYPI_PACKAGE = "smartypants"
+SRC_URI += "file://0001-Change-hash-bang-to-python3.patch"
+SRC_URI[sha256sum] = "7812353a32022699a1aa8cd5626e01c94a946dcaeedaee2d0b382bae4c4cbf36"
+
+BBCLASSEXTEND = "native nativesdk"
+
+UPSTREAM_CHECK_REGEX = "/${PYPI_PACKAGE}/(?P<pver>(?!2\.0\.1)(\d+[\.\-_]*)+)/"
diff --git a/meta/recipes-devtools/python/python3-smmap_3.0.4.bb b/meta/recipes-devtools/python/python3-smmap_3.0.4.bb
deleted file mode 100644
index 5f0f341d6a..0000000000
--- a/meta/recipes-devtools/python/python3-smmap_3.0.4.bb
+++ /dev/null
@@ -1,3 +0,0 @@
-inherit setuptools3
-require python-smmap.inc
-
diff --git a/meta/recipes-devtools/python/python-smmap.inc b/meta/recipes-devtools/python/python3-smmap_6.0.0.bb
index 7703722bca..6abed1205f 100644
--- a/meta/recipes-devtools/python/python-smmap.inc
+++ b/meta/recipes-devtools/python/python3-smmap_6.0.0.bb
@@ -7,13 +7,13 @@ SECTION = "devel/python"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=e910b35b0ef4e1f665b9a75d6afb7709"
-inherit pypi
+inherit pypi setuptools3
PYPI_PACKAGE = "smmap"
-SRC_URI[sha256sum] = "9c98bbd1f9786d22f14b3d4126894d56befb835ec90cef151af566c7e19b5d24"
+SRC_URI[sha256sum] = "8d79028ea6cc131da5eab099a5d95a998d43c6779956fffe3b455040911076da"
-RDEPENDS_${PN} += "${PYTHON_PN}-codecs \
- ${PYTHON_PN}-mmap \
+RDEPENDS:${PN} += "python3-codecs \
+ python3-mmap \
"
BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-snowballstemmer_2.2.0.bb b/meta/recipes-devtools/python/python3-snowballstemmer_2.2.0.bb
new file mode 100644
index 0000000000..ff120a3fc4
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-snowballstemmer_2.2.0.bb
@@ -0,0 +1,13 @@
+SUMMARY = "Snowball compiler and stemming algorithms"
+HOMEPAGE = "https://github.com/snowballstem/snowball"
+
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://COPYING;md5=19139aaf3c8c8fa1ca6edd59c072fb9f"
+
+SRC_URI[sha256sum] = "09b16deb8547d3412ad7b590689584cd0fe25ec8db3be37788be3810cbf19cb1"
+
+PYPI_PACKAGE = "snowballstemmer"
+
+inherit pypi setuptools3
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-sortedcontainers_2.4.0.bb b/meta/recipes-devtools/python/python3-sortedcontainers_2.4.0.bb
new file mode 100644
index 0000000000..0755d3e177
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-sortedcontainers_2.4.0.bb
@@ -0,0 +1,9 @@
+SUMMARY = "Sorted Containers is an Apache2 licensed sorted collections library, written in pure-Python, and fast as C-extensions."
+HOMEPAGE = "http://www.grantjenks.com/docs/sortedcontainers/"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=7c7c6a1a12ec816da16c1839137d53ae"
+
+inherit pypi setuptools3
+SRC_URI[sha256sum] = "25caa5a06cc30b6b83d11423433f65d1f9d76c4c6a0c90e3379eaa43b9bfdb88"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-spdx-tools_0.8.2.bb b/meta/recipes-devtools/python/python3-spdx-tools_0.8.2.bb
new file mode 100644
index 0000000000..53263ca032
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-spdx-tools_0.8.2.bb
@@ -0,0 +1,28 @@
+SUMMARY = "Python tool to parse, validate and convert spdx files"
+HOMEPAGE = "https://github.com/spdx/tools-python"
+
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=dc7f21ccff0f672f2a7cd6f412ae627d"
+
+SRC_URI[sha256sum] = "aea4ac9c2c375e7f439b1cef5ff32ef34914c083de0f61e08ed67cd3d9deb2a9"
+
+BBCLASSEXTEND = "native nativesdk"
+
+inherit setuptools3 pypi
+
+# Dependency required for pyspdxtools : python3-click
+# Dependencies required for conversion to spdx3 : python3-semantic-version, python3-ply
+RDEPENDS:${PN} += "\
+ python3-core \
+ python3-beartype \
+ python3-click \
+ python3-datetime \
+ python3-json \
+ python3-license-expression \
+ python3-ply \
+ python3-pyyaml \
+ python3-rdflib \
+ python3-semantic-version \
+ python3-uritools \
+ python3-xmltodict \
+ "
diff --git a/meta/recipes-devtools/python/python3-sphinx-rtd-theme_2.0.0.bb b/meta/recipes-devtools/python/python3-sphinx-rtd-theme_2.0.0.bb
new file mode 100644
index 0000000000..22b4d96444
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-sphinx-rtd-theme_2.0.0.bb
@@ -0,0 +1,26 @@
+SUMMARY = "Sphinx Theme reader"
+HOMEPAGE = "https://github.com/readthedocs/sphinx_rtd_theme"
+SECTION = "devel/python"
+LICENSE = "MIT & OFL-1.1"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=a1db7d4ef426c2935227264e1d4ae8f9 \
+ file://OFL-License.txt;md5=4534c22e0147eadb6828bd9fe86d4868 \
+ file://Apache-License-2.0.txt;md5=8a75796f0ef19c3f601d69857f5a9a5b"
+
+RDEPENDS:${PN} += " \
+ python3-compile \
+ python3-sphinx \
+ python3-sphinxcontrib-jquery \
+"
+
+PYPI_PACKAGE = "sphinx_rtd_theme"
+
+SRC_URI[sha256sum] = "bd5d7b80622406762073a04ef8fadc5f9151261563d47027de09910ce03afe6b"
+UPSTREAM_CHECK_REGEX ?= "/sphinx-rtd-theme/(?P<pver>(\d+[\.\-_]*)+)/"
+
+inherit setuptools3 pypi
+
+#Fake out the setup scipt
+export CI = "True"
+export TOX_ENV_NAME = "True"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-sphinx_7.3.7.bb b/meta/recipes-devtools/python/python3-sphinx_7.3.7.bb
new file mode 100644
index 0000000000..a1cae2abc0
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-sphinx_7.3.7.bb
@@ -0,0 +1,35 @@
+SUMMARY = "Python documentation generator"
+HOMEPAGE = "http://sphinx-doc.org/"
+SECTION = "devel/python"
+LICENSE = "BSD-2-Clause & MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=b6c681698874edd2eb9eaff7cc9de642"
+
+SRC_URI[sha256sum] = "a4a7db75ed37531c05002d56ed6948d4c42f473a36f46e1382b0bd76ca9627bc"
+
+inherit python_flit_core pypi
+UPSTREAM_CHECK_REGEX = "/Sphinx/(?P<pver>(\d+[\.\-_]*)+)/"
+
+do_install:append () {
+ # The cache format of "{None, 'en', 'ja'}" doesn't seem to be consistent (dict ordering?)
+ rm ${D}${libdir}/${PYTHON_DIR}/site-packages/sphinx/writers/__pycache__/*latex*
+}
+
+RDEPENDS:${PN} = "\
+ python3-alabaster \
+ python3-babel \
+ python3-docutils \
+ python3-imagesize \
+ python3-jinja2 \
+ python3-packaging \
+ python3-pygments \
+ python3-requests \
+ python3-snowballstemmer \
+ python3-sphinxcontrib-applehelp \
+ python3-sphinxcontrib-devhelp \
+ python3-sphinxcontrib-htmlhelp \
+ python3-sphinxcontrib-jsmath \
+ python3-sphinxcontrib-qthelp \
+ python3-sphinxcontrib-serializinghtml \
+ "
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-sphinxcontrib-applehelp_1.0.8.bb b/meta/recipes-devtools/python/python3-sphinxcontrib-applehelp_1.0.8.bb
new file mode 100644
index 0000000000..67dd299b72
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-sphinxcontrib-applehelp_1.0.8.bb
@@ -0,0 +1,12 @@
+SUMMARY = "sphinxcontrib-applehelp is a sphinx extension which outputs Apple help books"
+HOMEPAGE = "https://www.sphinx-doc.org"
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=c7715857042d4c8c0105999ca0c072c5"
+
+SRC_URI[sha256sum] = "c40a4f96f3776c4393d933412053962fac2b84f4c99a7982ba42e09576a70619"
+
+PYPI_PACKAGE = "sphinxcontrib_applehelp"
+
+inherit pypi python_flit_core
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-sphinxcontrib-devhelp_1.0.6.bb b/meta/recipes-devtools/python/python3-sphinxcontrib-devhelp_1.0.6.bb
new file mode 100644
index 0000000000..31f77a0a14
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-sphinxcontrib-devhelp_1.0.6.bb
@@ -0,0 +1,12 @@
+SUMMARY = "sphinxcontrib-devhelp is a sphinx extension which outputs Devhelp document."
+HOMEPAGE = "https://www.sphinx-doc.org"
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=fd30d9972a142c857a80c9f312e92b93"
+
+SRC_URI[sha256sum] = "9893fd3f90506bc4b97bdb977ceb8fbd823989f4316b28c3841ec128544372d3"
+
+PYPI_PACKAGE = "sphinxcontrib_devhelp"
+
+inherit pypi python_flit_core
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-sphinxcontrib-htmlhelp_2.0.5.bb b/meta/recipes-devtools/python/python3-sphinxcontrib-htmlhelp_2.0.5.bb
new file mode 100644
index 0000000000..e30c61c398
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-sphinxcontrib-htmlhelp_2.0.5.bb
@@ -0,0 +1,12 @@
+SUMMARY = "sphinxcontrib-htmlhelp is a sphinx extension which renders HTML help files"
+HOMEPAGE = "https://www.sphinx-doc.org"
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=24dce5ef6a13563241c24bc366f48886"
+
+SRC_URI[sha256sum] = "0dc87637d5de53dd5eec3a6a01753b1ccf99494bd756aafecd74b4fa9e729015"
+
+PYPI_PACKAGE = "sphinxcontrib_htmlhelp"
+
+inherit pypi python_flit_core
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-sphinxcontrib-jquery_4.1.bb b/meta/recipes-devtools/python/python3-sphinxcontrib-jquery_4.1.bb
new file mode 100644
index 0000000000..5f915663c2
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-sphinxcontrib-jquery_4.1.bb
@@ -0,0 +1,12 @@
+SUMMARY = "Extension to include jQuery on newer Sphinx releases"
+HOMEPAGE = "https://pypi.org/project/sphinxcontrib-jquery/"
+LICENSE = "0BSD"
+LIC_FILES_CHKSUM = "file://LICENCE;md5=926e8b7e89e3ebb2a2d1dfaf0873f241"
+
+SRC_URI[sha256sum] = "1620739f04e36a2c779f1a131a2dfd49b2fd07351bf1968ced074365933abc7a"
+
+PYPI_PACKAGE = "sphinxcontrib-jquery"
+
+inherit pypi python_flit_core
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-sphinxcontrib-jsmath_1.0.1.bb b/meta/recipes-devtools/python/python3-sphinxcontrib-jsmath_1.0.1.bb
new file mode 100644
index 0000000000..7c11cfeec5
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-sphinxcontrib-jsmath_1.0.1.bb
@@ -0,0 +1,12 @@
+SUMMARY = "A sphinx extension which renders display math in HTML via JavaScript"
+HOMEPAGE = "https://www.sphinx-doc.org"
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=f0064c10bd544bcffccbc67a41c108d3"
+
+SRC_URI[sha256sum] = "a9925e4a4587247ed2191a22df5f6970656cb8ca2bd6284309578f2153e0c4b8"
+
+PYPI_PACKAGE = "sphinxcontrib-jsmath"
+
+inherit pypi setuptools3
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-sphinxcontrib-qthelp_1.0.7.bb b/meta/recipes-devtools/python/python3-sphinxcontrib-qthelp_1.0.7.bb
new file mode 100644
index 0000000000..2225ec521e
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-sphinxcontrib-qthelp_1.0.7.bb
@@ -0,0 +1,12 @@
+SUMMARY = "Is a sphinx extension which outputs QtHelp document."
+HOMEPAGE = "http://babel.edgewall.org/"
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=f7a83b72ea86d04827575ec0b63430eb"
+
+SRC_URI[sha256sum] = "053dedc38823a80a7209a80860b16b722e9e0209e32fea98c90e4e6624588ed6"
+
+PYPI_PACKAGE = "sphinxcontrib_qthelp"
+
+inherit pypi python_flit_core
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-sphinxcontrib-serializinghtml_1.1.10.bb b/meta/recipes-devtools/python/python3-sphinxcontrib-serializinghtml_1.1.10.bb
new file mode 100644
index 0000000000..49be5200f0
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-sphinxcontrib-serializinghtml_1.1.10.bb
@@ -0,0 +1,12 @@
+SUMMARY = 'sphinxcontrib-serializinghtml is a sphinx extension which outputs "serialized" HTML files (json and pickle).'
+HOMEPAGE = "https://www.sphinx-doc.org"
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=32a84ac5cd3bbd10c4d479233ad588b6"
+
+SRC_URI[sha256sum] = "93f3f5dc458b91b192fe10c397e324f262cf163d79f3282c158e8436a2c4511f"
+
+PYPI_PACKAGE = "sphinxcontrib_serializinghtml"
+
+inherit pypi python_flit_core
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-subunit_1.4.0.bb b/meta/recipes-devtools/python/python3-subunit_1.4.0.bb
deleted file mode 100644
index 55066e2d0f..0000000000
--- a/meta/recipes-devtools/python/python3-subunit_1.4.0.bb
+++ /dev/null
@@ -1,4 +0,0 @@
-inherit setuptools3
-require python-subunit.inc
-
-RDEPENDS_${PN} = " python3-testtools"
diff --git a/meta/recipes-devtools/python/python3-subunit_1.4.4.bb b/meta/recipes-devtools/python/python3-subunit_1.4.4.bb
new file mode 100644
index 0000000000..11be10bab6
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-subunit_1.4.4.bb
@@ -0,0 +1,15 @@
+SUMMARY = "Python implementation of subunit test streaming protocol"
+HOMEPAGE = "https://pypi.org/project/python-subunit/"
+SECTION = "devel/python"
+LICENSE = "Apache-2.0 | BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://COPYING;beginline=1;endline=20;md5=b1121e68d06c8d9ea544fcd895df0d39"
+
+PYPI_PACKAGE = "python-subunit"
+
+SRC_URI[sha256sum] = "1079363131aa1d3f45259237265bc2e61a77e35f20edfb6e3d1d2558a2cdea34"
+
+inherit pypi setuptools3
+
+RDEPENDS:${PN} = " python3-testtools python3-iso8601"
+
+BBCLASSEXTEND = "nativesdk"
diff --git a/meta/recipes-devtools/python/python3-testtools/no_traceback2.patch b/meta/recipes-devtools/python/python3-testtools/no_traceback2.patch
deleted file mode 100644
index 594510342b..0000000000
--- a/meta/recipes-devtools/python/python3-testtools/no_traceback2.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-traceback2 adds traceback for python2. Rather than depend on traceback2, we're
-python3 only so just use traceback.
-This caused breakage in oe-selftest -j which uses testtools on the autobuilder
-using buildtools-tarball.
-
-Upstream-Status: Inappropriate [Our recipe is python3 specific]
-(Once py2 is EOL upstream probably could/should take this)
-Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-
-Index: testtools-2.3.0/testtools/content.py
-===================================================================
---- testtools-2.3.0.orig/testtools/content.py
-+++ testtools-2.3.0/testtools/content.py
-@@ -19,8 +19,7 @@ import os
- import sys
-
- from extras import try_import
--# To let setup.py work, make this a conditional import.
--traceback = try_import('traceback2')
-+import traceback
-
- from testtools.compat import (
- _b,
diff --git a/meta/recipes-devtools/python/python3-testtools_2.4.0.bb b/meta/recipes-devtools/python/python3-testtools_2.4.0.bb
deleted file mode 100644
index a254b90a75..0000000000
--- a/meta/recipes-devtools/python/python3-testtools_2.4.0.bb
+++ /dev/null
@@ -1,4 +0,0 @@
-inherit setuptools3
-require python-testtools.inc
-
-SRC_URI += "file://no_traceback2.patch"
diff --git a/meta/recipes-devtools/python/python3-testtools_2.7.1.bb b/meta/recipes-devtools/python/python3-testtools_2.7.1.bb
new file mode 100644
index 0000000000..cc7e055632
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-testtools_2.7.1.bb
@@ -0,0 +1,20 @@
+SUMMARY = "Extensions to the Python standard library unit testing framework"
+HOMEPAGE = "https://pypi.org/project/testtools/"
+SECTION = "devel/python"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=e2c9d3e8ba7141c83bfef190e0b9379a"
+
+DEPENDS += "python3-hatch-vcs-native"
+
+inherit pypi python_hatchling
+
+SRC_URI[sha256sum] = "df6de96010e29ee21f637a147eabf30d50b25e3841dd1d68f93ee89ce77e366c"
+
+RDEPENDS:${PN} += "\
+ python3-doctest \
+ python3-extras \
+ python3-six \
+ "
+
+BBCLASSEXTEND = "nativesdk"
+
diff --git a/meta/recipes-devtools/python/python3-toml_0.10.2.bb b/meta/recipes-devtools/python/python3-toml_0.10.2.bb
new file mode 100644
index 0000000000..649464b961
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-toml_0.10.2.bb
@@ -0,0 +1,15 @@
+SUMMARY = "Python Library for Tom's Obvious, Minimal Language"
+HOMEPAGE = "https://github.com/uiri/toml"
+LICENSE = "MIT"
+SECTION = "devel/python"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=16c77b2b1050d2f03cb9c2ed0edaf4f0"
+
+SRC_URI[sha256sum] = "b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bded2f839ccbe68f"
+
+inherit pypi setuptools3
+
+BBCLASSEXTEND = "native nativesdk"
+
+RDEPENDS:${PN} += " \
+ python3-misc \
+"
diff --git a/meta/recipes-devtools/python/python3-tomli_2.0.1.bb b/meta/recipes-devtools/python/python3-tomli_2.0.1.bb
new file mode 100644
index 0000000000..9401ed897f
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-tomli_2.0.1.bb
@@ -0,0 +1,18 @@
+SUMMARY = "A lil' TOML parser"
+DESCRIPTION = "Tomli is a Python library for parsing TOML. Tomli is fully \
+compatible with TOML v1.0.0."
+HOMEPAGE = "https://github.com/hukkin/tomli"
+BUGTRACKER = "https://github.com/hukkin/tomli/issues"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=aaaaf0879d17df0110d1aa8c8c9f46f5"
+
+inherit pypi python_flit_core
+
+SRC_URI[sha256sum] = "de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f"
+
+BBCLASSEXTEND = "native nativesdk"
+
+RDEPENDS:${PN} += " \
+ python3-datetime \
+ python3-stringold \
+"
diff --git a/meta/recipes-devtools/python/python3-trove-classifiers/run-ptest b/meta/recipes-devtools/python/python3-trove-classifiers/run-ptest
new file mode 100644
index 0000000000..8d2017d39c
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-trove-classifiers/run-ptest
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+pytest --automake
diff --git a/meta/recipes-devtools/python/python3-trove-classifiers_2024.5.22.bb b/meta/recipes-devtools/python/python3-trove-classifiers_2024.5.22.bb
new file mode 100644
index 0000000000..8876b63e7d
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-trove-classifiers_2024.5.22.bb
@@ -0,0 +1,28 @@
+SUMMARY = "Canonical source for classifiers on PyPI (pypi.org)."
+HOMEPAGE = "https://github.com/pypa/trove-classifiers"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
+
+SRC_URI[sha256sum] = "8a6242bbb5c9ae88d34cf665e816b287d2212973c8777dfaef5ec18d72ac1d03"
+
+PYPI_PACKAGE = "trove_classifiers"
+
+inherit pypi python_setuptools_build_meta ptest
+
+DEPENDS += " python3-calver-native"
+
+SRC_URI += " \
+ file://run-ptest \
+"
+
+RDEPENDS:${PN}-ptest += " \
+ python3-pytest \
+ python3-unittest-automake-output \
+"
+
+do_install_ptest() {
+ install -d ${D}${PTEST_PATH}/tests
+ cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
+}
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-typing-extensions_4.11.0.bb b/meta/recipes-devtools/python/python3-typing-extensions_4.11.0.bb
new file mode 100644
index 0000000000..ad45b669ec
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-typing-extensions_4.11.0.bb
@@ -0,0 +1,24 @@
+SUMMARY = "Backported and Experimental Type Hints for Python 3.7+"
+DESCRIPTION = "The typing_extensions module serves two related purposes:\
+\
+* Enable use of new type system features on older Python versions. For \
+ example, typing.TypeGuard is new in Python 3.10, but typing_extensions \
+ allows users on previous Python versions to use it too.\
+* Enable experimentation with new type system PEPs before they are accepted \
+ and added to the typing module."
+HOMEPAGE = "https://github.com/python/typing_extensions"
+BUGTRACKER = "https://github.com/python/typing_extensions/issues"
+SECTIONS = "libs"
+LICENSE = "PSF-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=fcf6b249c2641540219a727f35d8d2c2"
+
+# The name on PyPi is slightly different.
+PYPI_PACKAGE = "typing_extensions"
+
+SRC_URI[sha256sum] = "83f085bd5ca59c80295fc2a82ab5dac679cbe02b9f33f7d83af68e241bea51b0"
+
+inherit pypi python_flit_core
+
+UPSTREAM_CHECK_REGEX = "/typing-extensions/(?P<pver>(\d+[\.\-_]*)+)/"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-typogrify_2.0.7.bb b/meta/recipes-devtools/python/python3-typogrify_2.0.7.bb
new file mode 100644
index 0000000000..8ba2788c9b
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-typogrify_2.0.7.bb
@@ -0,0 +1,14 @@
+SUMMARY = "Filters to enhance web typography, including support for Django & Jinja templates"
+HOMEPAGE = "https://github.com/mintchaos/typogrify"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=12bc792d6f5415dbf421f3fd183c6dd2"
+
+inherit pypi setuptools3
+
+PYPI_PACKAGE = "typogrify"
+SRC_URI[sha256sum] = "8be4668cda434163ce229d87ca273a11922cb1614cb359970b7dc96eed13cb38"
+
+BBCLASSEXTEND = "native nativesdk"
+
+RDEPENDS:${PN} += "python3-smartypants"
+
diff --git a/meta/recipes-devtools/python/python3-unittest-automake-output_0.2.bb b/meta/recipes-devtools/python/python3-unittest-automake-output_0.2.bb
new file mode 100644
index 0000000000..1fc6180d0e
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-unittest-automake-output_0.2.bb
@@ -0,0 +1,13 @@
+SUMMARY = "Modules to make unittest and pytest look like Automake output, for ptest"
+HOMEPAGE = "https://gitlab.com/rossburton/python-unittest-automake-output"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=f6f16008d9fb7349f06609329f1ab93b"
+
+SRC_URI = "git://gitlab.com/rossburton/python-unittest-automake-output;protocol=https;branch=main"
+SRCREV = "aebdfb188e368c690ea55cf6c9c9ffa1a52def65"
+
+S = "${WORKDIR}/git"
+
+inherit python_flit_core
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-uritools_4.0.2.bb b/meta/recipes-devtools/python/python3-uritools_4.0.2.bb
new file mode 100644
index 0000000000..5ffedccb85
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-uritools_4.0.2.bb
@@ -0,0 +1,11 @@
+SUMMARY = "URI parsing, classification and composition"
+HOMEPAGE = "https://github.com/tkem/uritools/"
+
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=1ec55353c80c662e4255f8889a0ca558"
+
+SRC_URI[sha256sum] = "04df2b787d0eb76200e8319382a03562fbfe4741fd66c15506b08d3b8211d573"
+
+inherit setuptools3 pypi
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-urllib3_2.2.1.bb b/meta/recipes-devtools/python/python3-urllib3_2.2.1.bb
new file mode 100644
index 0000000000..fc1828b4ee
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-urllib3_2.2.1.bb
@@ -0,0 +1,24 @@
+SUMMARY = "Python HTTP library with thread-safe connection pooling, file post support, sanity friendly, and more"
+HOMEPAGE = "https://github.com/shazow/urllib3"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=52d273a3054ced561275d4d15260ecda"
+
+SRC_URI[sha256sum] = "d0570876c61ab9e520d776c38acbbb5b05a776d3f9ff98a5c8fd5162a444cf19"
+
+inherit pypi python_hatchling
+
+RDEPENDS:${PN} += "\
+ python3-certifi \
+ python3-cryptography \
+ python3-email \
+ python3-idna \
+ python3-json \
+ python3-netclient \
+ python3-pyopenssl \
+ python3-threading \
+ python3-logging \
+"
+
+CVE_PRODUCT = "urllib3"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-vcversioner_2.16.0.0.bb b/meta/recipes-devtools/python/python3-vcversioner_2.16.0.0.bb
new file mode 100644
index 0000000000..149078c51b
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-vcversioner_2.16.0.0.bb
@@ -0,0 +1,12 @@
+SUMMARY = "Python vcversioner, automagically update the project's version"
+HOMEPAGE = "https://github.com/habnabit/vcversioner"
+
+LICENSE = "ISC"
+LIC_FILES_CHKSUM = "file://PKG-INFO;md5=827a7a91a8d20d3c666b665cd96db8e3"
+
+SRC_URI[md5sum] = "aab6ef5e0cf8614a1b1140ed5b7f107d"
+SRC_URI[sha256sum] = "dae60c17a479781f44a4010701833f1829140b1eeccd258762a74974aa06e19b"
+
+inherit pypi setuptools3
+
+BBCLASSEXTEND = "native"
diff --git a/meta/recipes-devtools/python/python3-wcwidth/run-ptest b/meta/recipes-devtools/python/python3-wcwidth/run-ptest
new file mode 100644
index 0000000000..8d2017d39c
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-wcwidth/run-ptest
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+pytest --automake
diff --git a/meta/recipes-devtools/python/python3-wcwidth_0.2.13.bb b/meta/recipes-devtools/python/python3-wcwidth_0.2.13.bb
new file mode 100644
index 0000000000..4a9bf75323
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-wcwidth_0.2.13.bb
@@ -0,0 +1,27 @@
+SUMMARY = "Library for building powerful interactive command lines in Python"
+DESCRIPTION = "Measures the displayed width of unicode strings in a terminal"
+HOMEPAGE = "https://github.com/jquast/wcwidth"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=b15979c39a2543892fca8cd86b4b52cb"
+
+SRC_URI[sha256sum] = "72ea0c06399eb286d978fdedb6923a9eb47e1c486ce63e9b4e64fc18303972b5"
+
+inherit pypi setuptools3 ptest
+
+SRC_URI += " \
+ file://run-ptest \
+"
+
+RDEPENDS:${PN}-ptest += " \
+ python3-pytest \
+ python3-unittest-automake-output \
+"
+
+do_install_ptest() {
+ install -d ${D}${PTEST_PATH}/tests
+ cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
+ install -d ${D}${PTEST_PATH}/bin
+ cp -rf ${S}/bin/* ${D}${PTEST_PATH}/bin/
+}
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-webcolors/run-ptest b/meta/recipes-devtools/python/python3-webcolors/run-ptest
new file mode 100644
index 0000000000..8d2017d39c
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-webcolors/run-ptest
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+pytest --automake
diff --git a/meta/recipes-devtools/python/python3-webcolors_1.13.bb b/meta/recipes-devtools/python/python3-webcolors_1.13.bb
new file mode 100644
index 0000000000..cea2a971d3
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-webcolors_1.13.bb
@@ -0,0 +1,28 @@
+SUMMARY = "Simple Python module for working with HTML/CSS color definitions."
+HOMEPAGE = "https://pypi.org/project/webcolors/"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=702b1ef12cf66832a88f24c8f2ee9c19"
+
+SRC_URI[sha256sum] = "c225b674c83fa923be93d235330ce0300373d02885cef23238813b0d5668304a"
+
+inherit pypi python_setuptools_build_meta ptest
+
+RDEPENDS:${PN}:class-target = "\
+ python3-stringold \
+"
+
+SRC_URI += " \
+ file://run-ptest \
+"
+
+RDEPENDS:${PN}-ptest += " \
+ python3-pytest \
+ python3-unittest-automake-output \
+"
+
+do_install_ptest() {
+ install -d ${D}${PTEST_PATH}/tests
+ cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
+}
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-websockets_12.0.bb b/meta/recipes-devtools/python/python3-websockets_12.0.bb
new file mode 100644
index 0000000000..f89c3b629e
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-websockets_12.0.bb
@@ -0,0 +1,16 @@
+SUMMARY = "An implementation of the WebSocket Protocol (RFC 6455)"
+HOMEPAGE = "https://github.com/aaugustin/websockets"
+
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=51924a6af4495b8cfaee1b1da869b6f4"
+
+inherit pypi setuptools3
+
+SRC_URI[sha256sum] = "81df9cbcbb6c260de1e007e58c011bfebe2dafc8435107b0537f393dd38c8b1b"
+
+BBCLASSEXTEND = "native nativesdk"
+
+RDEPENDS:${PN} = " \
+ python3-asyncio \
+ python3-profile \
+"
diff --git a/meta/recipes-devtools/python/python3-wheel_0.43.0.bb b/meta/recipes-devtools/python/python3-wheel_0.43.0.bb
new file mode 100644
index 0000000000..ba309ae5fc
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-wheel_0.43.0.bb
@@ -0,0 +1,15 @@
+SUMMARY = "The official binary distribution format for Python "
+HOMEPAGE = "https://github.com/pypa/wheel"
+SECTION = "devel/python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=7ffb0db04527cfe380e4f2726bd05ebf"
+
+SRC_URI[sha256sum] = "465ef92c69fa5c5da2d1cf8ac40559a8c940886afcef87dcf14b9470862f1d85"
+
+inherit python_flit_core pypi
+
+BBCLASSEXTEND = "native nativesdk"
+
+# This used to use the bootstrap install which didn't compile. Until we bump the
+# tmpdir version we can't compile the native otherwise the sysroot unpack fails
+INSTALL_WHEEL_COMPILE_BYTECODE:class-native = "--no-compile-bytecode"
diff --git a/meta/recipes-devtools/python/python3-xmltodict/run-ptest b/meta/recipes-devtools/python/python3-xmltodict/run-ptest
new file mode 100644
index 0000000000..3385d68939
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-xmltodict/run-ptest
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
diff --git a/meta/recipes-devtools/python/python3-xmltodict_0.13.0.bb b/meta/recipes-devtools/python/python3-xmltodict_0.13.0.bb
new file mode 100644
index 0000000000..e8e275647c
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-xmltodict_0.13.0.bb
@@ -0,0 +1,31 @@
+SUMMARY = "Makes working with XML feel like you are working with JSON"
+HOMEPAGE = "https://github.com/martinblech/xmltodict"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=01441d50dc74476db58a41ac10cb9fa2"
+
+SRC_URI[sha256sum] = "341595a488e3e01a85a9d8911d8912fd922ede5fecc4dce437eb4b6c8d037e56"
+
+PYPI_PACKAGE = "xmltodict"
+
+BBCLASSEXTEND = "native nativesdk"
+
+inherit pypi setuptools3 ptest
+
+SRC_URI += " \
+ file://run-ptest \
+"
+
+RDEPENDS:${PN} += " \
+ python3-core \
+ python3-xml \
+ python3-io \
+"
+
+RDEPENDS:${PN}-ptest += " \
+ python3-pytest \
+"
+
+do_install_ptest() {
+ install -d ${D}${PTEST_PATH}/tests
+ cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
+}
diff --git a/meta/recipes-devtools/python/python3-yamllint_1.35.1.bb b/meta/recipes-devtools/python/python3-yamllint_1.35.1.bb
new file mode 100644
index 0000000000..53188b0262
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-yamllint_1.35.1.bb
@@ -0,0 +1,15 @@
+SUMMARY = "A linter for YAML files."
+HOMEPAGE = "https://github.com/adrienverge/yamllint"
+LICENSE = "GPL-3.0-only"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=1ebbd3e34237af26da5dc08a4e440464"
+
+inherit pypi setuptools3
+
+PYPI_PACKAGE = "yamllint"
+
+SRC_URI[sha256sum] = "7a003809f88324fd2c877734f2d575ee7881dd9043360657cc8049c809eba6cd"
+
+DEPENDS += "python3-setuptools-scm-native"
+RDEPENDS:${PN} += "python3-pathspec python3-pyyaml"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-zipp_3.18.2.bb b/meta/recipes-devtools/python/python3-zipp_3.18.2.bb
new file mode 100644
index 0000000000..97aa1fed25
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-zipp_3.18.2.bb
@@ -0,0 +1,18 @@
+SUMMARY = "Backport of pathlib-compatible object wrapper for zip files"
+HOMEPAGE = "https://github.com/jaraco/zipp"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=141643e11c48898150daa83802dbc65f"
+
+SRC_URI[sha256sum] = "6278d9ddbcfb1f1089a88fde84481528b07b0e10474e09dcfe53dad4069fa059"
+
+DEPENDS += "python3-setuptools-scm-native"
+
+inherit pypi python_setuptools_build_meta
+
+DEPENDS += "python3-toml-native"
+
+RDEPENDS:${PN} += "python3-compression \
+ python3-math \
+ python3-more-itertools"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3/0001-Avoid-shebang-overflow-on-python-config.py.patch b/meta/recipes-devtools/python/python3/0001-Avoid-shebang-overflow-on-python-config.py.patch
new file mode 100644
index 0000000000..0d807db39f
--- /dev/null
+++ b/meta/recipes-devtools/python/python3/0001-Avoid-shebang-overflow-on-python-config.py.patch
@@ -0,0 +1,30 @@
+From 365399f17d35719d828ddd49182dcb401fb7791c Mon Sep 17 00:00:00 2001
+From: Paulo Neves <ptsneves@gmail.com>
+Date: Tue, 7 Jun 2022 16:16:41 +0200
+Subject: [PATCH] Avoid shebang overflow on python-config.py
+
+The whole native path may be too big, leading to shebang
+overflow. Let's just use the env shebang.
+
+Denial reason: [1]
+
+Upstream-Status: Denied [distribution]
+
+[1] https://github.com/python/cpython/pull/93760#pullrequestreview-1005365737
+---
+ Makefile.pre.in | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/Makefile.pre.in b/Makefile.pre.in
+index 77bf09a..6353c57 100644
+--- a/Makefile.pre.in
++++ b/Makefile.pre.in
+@@ -2339,6 +2339,8 @@ python-config: $(srcdir)/Misc/python-config.in Misc/python-config.sh
+ @ # Substitution happens here, as the completely-expanded BINDIR
+ @ # is not available in configure
+ sed -e "s,@EXENAME@,$(EXENAME)," < $(srcdir)/Misc/python-config.in >python-config.py
++ @ # Otherwise we might get huge shebangs with native paths
++ sed -i -e '1s|^#!.*|#!/usr/bin/env python3|' python-config.py
+ @ # Replace makefile compat. variable references with shell script compat. ones; $(VAR) -> ${VAR}
+ LC_ALL=C sed -e 's,\$$(\([A-Za-z0-9_]*\)),\$$\{\1\},g' < Misc/python-config.sh >python-config
+ @ # On Darwin, always use the python version of the script, the shell
diff --git a/meta/recipes-devtools/python/python3/0001-Do-not-add-usr-lib-termcap-to-linker-flags-to-avoid-.patch b/meta/recipes-devtools/python/python3/0001-Do-not-add-usr-lib-termcap-to-linker-flags-to-avoid-.patch
deleted file mode 100644
index 59592821d7..0000000000
--- a/meta/recipes-devtools/python/python3/0001-Do-not-add-usr-lib-termcap-to-linker-flags-to-avoid-.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 039c53dd5baddec3359a05be0bff46a3b32bbb84 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin <alex.kanavin@gmail.com>
-Date: Fri, 25 Jan 2019 19:04:13 +0100
-Subject: [PATCH] Do not add /usr/lib/termcap to linker flags to avoid host
- contamination
-
-Upstream-Status: Inappropriate [oe-core specific]
-Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
-
----
- setup.py | 1 -
- 1 file changed, 1 deletion(-)
-
-diff --git a/setup.py b/setup.py
-index 20d7f35..ab18ff0 100644
---- a/setup.py
-+++ b/setup.py
-@@ -957,7 +957,6 @@ class PyBuildExt(build_ext):
- 'termcap'):
- readline_libs.append('termcap')
- self.add(Extension('readline', ['readline.c'],
-- library_dirs=['/usr/lib/termcap'],
- extra_link_args=readline_extra_link_args,
- libraries=readline_libs))
- else:
diff --git a/meta/recipes-devtools/python/python3/0001-Do-not-use-the-shell-version-of-python-config-that-w.patch b/meta/recipes-devtools/python/python3/0001-Do-not-use-the-shell-version-of-python-config-that-w.patch
deleted file mode 100644
index 83fd52d87f..0000000000
--- a/meta/recipes-devtools/python/python3/0001-Do-not-use-the-shell-version-of-python-config-that-w.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From 148861fa16f2aaacd518770f337ea54b5182f981 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin <alex.kanavin@gmail.com>
-Date: Tue, 29 Jan 2019 15:03:01 +0100
-Subject: [PATCH] Do not use the shell version of python-config that was
- introduced in 3.4
-
-Revert instead to the original python version: it has our tweaks and
-outputs directories correctly.
-
-Upstream-Status: Inappropriate [oe-specific]
-Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
----
- Makefile.pre.in | 9 +++------
- 1 file changed, 3 insertions(+), 6 deletions(-)
-
-diff --git a/Makefile.pre.in b/Makefile.pre.in
-index 2d2e11f..cc19942 100644
---- a/Makefile.pre.in
-+++ b/Makefile.pre.in
-@@ -1431,12 +1431,9 @@ python-config: $(srcdir)/Misc/python-config.in Misc/python-config.sh
- sed -e "s,@EXENAME@,$(BINDIR)/python$(LDVERSION)$(EXE)," < $(srcdir)/Misc/python-config.in >python-config.py
- @ # Replace makefile compat. variable references with shell script compat. ones; $(VAR) -> ${VAR}
- LC_ALL=C sed -e 's,\$$(\([A-Za-z0-9_]*\)),\$$\{\1\},g' < Misc/python-config.sh >python-config
-- @ # On Darwin, always use the python version of the script, the shell
-- @ # version doesn't use the compiler customizations that are provided
-- @ # in python (_osx_support.py).
-- @if test `uname -s` = Darwin; then \
-- cp python-config.py python-config; \
-- fi
-+ @ # In OpenEmbedded, always use the python version of the script, the shell
-+ @ # version is broken in multiple ways, and doesn't return correct directories
-+ cp python-config.py python-config
-
-
- # Install the include files
diff --git a/meta/recipes-devtools/python/python3/0001-Don-t-search-system-for-headers-libraries.patch b/meta/recipes-devtools/python/python3/0001-Don-t-search-system-for-headers-libraries.patch
deleted file mode 100644
index a94fa0a5a9..0000000000
--- a/meta/recipes-devtools/python/python3/0001-Don-t-search-system-for-headers-libraries.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From 9da913bf5f39c6fe737219af7419170574d6fbfb Mon Sep 17 00:00:00 2001
-From: Jeremy Puhlman <jpuhlman@mvista.com>
-Date: Wed, 4 Mar 2020 00:06:42 +0000
-Subject: [PATCH] Don't search system for headers/libraries
-
-Upstream-Status: Inappropriate [oe-core specific]
-Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
-
----
- setup.py | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/setup.py b/setup.py
-index a0bf9ea..da099bf 100644
---- a/setup.py
-+++ b/setup.py
-@@ -674,8 +674,8 @@ class PyBuildExt(build_ext):
- add_dir_to_list(self.compiler.include_dirs,
- sysconfig.get_config_var("INCLUDEDIR"))
-
-- system_lib_dirs = ['/lib64', '/usr/lib64', '/lib', '/usr/lib']
-- system_include_dirs = ['/usr/include']
-+ system_lib_dirs = []
-+ system_include_dirs = []
- # lib_dirs and inc_dirs are used to search for files;
- # if a file is found in one of those directories, it can
- # be assumed that no additional -I,-L directives are needed.
diff --git a/meta/recipes-devtools/python/python3/0001-Lib-pty.py-handle-stdin-I-O-errors-same-way-as-maste.patch b/meta/recipes-devtools/python/python3/0001-Lib-pty.py-handle-stdin-I-O-errors-same-way-as-maste.patch
new file mode 100644
index 0000000000..026150f0e2
--- /dev/null
+++ b/meta/recipes-devtools/python/python3/0001-Lib-pty.py-handle-stdin-I-O-errors-same-way-as-maste.patch
@@ -0,0 +1,47 @@
+From f8a664cf1fc73e381d57d6927207286059744837 Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin <alex@linutronix.de>
+Date: Thu, 16 Sep 2021 16:35:37 +0200
+Subject: [PATCH] Lib/pty.py: handle stdin I/O errors same way as master I/O
+ errors
+
+reading stdin can throw the same I/O errors as reading from master fd does,
+e.g. when running under Yocto's test harness:
+======================================================================
+ERROR: test_spawn_doesnt_hang (test.test_pty.PtyTest)
+----------------------------------------------------------------------
+Traceback (most recent call last):
+ File "/usr/lib/python3.10/test/test_pty.py", line 316, in test_spawn_doesnt_hang
+ pty.spawn([sys.executable, '-c', 'print("hi there")'])
+ File "/usr/lib/python3.10/pty.py", line 181, in spawn
+ _copy(master_fd, master_read, stdin_read)
+ File "/usr/lib/python3.10/pty.py", line 157, in _copy
+ data = stdin_read(STDIN_FILENO)
+ File "/usr/lib/python3.10/pty.py", line 132, in _read
+ return os.read(fd, 1024)
+OSError: [Errno 5] Input/output error
+
+So let's treat both channels the same.
+
+Upstream-Status: Submitted [https://github.com/python/cpython/pull/28388]
+Signed-off-by: Alexander Kanavin <alex@linutronix.de>
+
+---
+ Lib/pty.py | 5 ++++-
+ 1 file changed, 4 insertions(+), 1 deletion(-)
+
+diff --git a/Lib/pty.py b/Lib/pty.py
+index 1d97994..fa8821b 100644
+--- a/Lib/pty.py
++++ b/Lib/pty.py
+@@ -178,7 +178,10 @@ def _copy(master_fd, master_read=_read, stdin_read=_read):
+ i_buf = i_buf[n:]
+
+ if stdin_avail and STDIN_FILENO in rfds:
+- data = stdin_read(STDIN_FILENO)
++ try:
++ data = stdin_read(STDIN_FILENO)
++ except OSError:
++ data = b""
+ if not data:
+ stdin_avail = False
+ else:
diff --git a/meta/recipes-devtools/python/python3/0001-Lib-sysconfig.py-use-libdir-values-from-configuratio.patch b/meta/recipes-devtools/python/python3/0001-Lib-sysconfig.py-use-libdir-values-from-configuratio.patch
deleted file mode 100644
index 1490cdbb18..0000000000
--- a/meta/recipes-devtools/python/python3/0001-Lib-sysconfig.py-use-libdir-values-from-configuratio.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From deeedd1b8799294ab276ab7dbbfdb59c1dacc9a2 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin <alex.kanavin@gmail.com>
-Date: Thu, 22 Oct 2020 13:10:34 +0200
-Subject: [PATCH] Lib/sysconfig.py: use libdir values from configuration file
-
-This allows correctly substituting them for target installs using
-native python.
-
-Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
----
- Lib/sysconfig.py | 8 ++++----
- 1 file changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/Lib/sysconfig.py b/Lib/sysconfig.py
-index bf04ac5..ed0462b 100644
---- a/Lib/sysconfig.py
-+++ b/Lib/sysconfig.py
-@@ -20,10 +20,10 @@ __all__ = [
-
- _INSTALL_SCHEMES = {
- 'posix_prefix': {
-- 'stdlib': '{installed_base}/{platlibdir}/python{py_version_short}',
-- 'platstdlib': '{platbase}/{platlibdir}/python{py_version_short}',
-- 'purelib': '{base}/lib/python{py_version_short}/site-packages',
-- 'platlib': '{platbase}/{platlibdir}/python{py_version_short}/site-packages',
-+ 'stdlib': '{LIBDEST}',
-+ 'platstdlib': '{LIBDEST}',
-+ 'purelib': '{LIBDEST}/site-packages',
-+ 'platlib': '{LIBDEST}/site-packages',
- 'include':
- '{installed_base}/include/python{py_version_short}{abiflags}',
- 'platinclude':
---
-2.24.0
-
diff --git a/meta/recipes-devtools/python/python3/0001-Lib-sysconfig.py-use-prefix-value-from-build-configu.patch b/meta/recipes-devtools/python/python3/0001-Lib-sysconfig.py-use-prefix-value-from-build-configu.patch
new file mode 100644
index 0000000000..680254fab9
--- /dev/null
+++ b/meta/recipes-devtools/python/python3/0001-Lib-sysconfig.py-use-prefix-value-from-build-configu.patch
@@ -0,0 +1,32 @@
+From 71c194077bb907bfe423d3f3275f33a6c8ca0e74 Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin <alex@linutronix.de>
+Date: Fri, 17 Nov 2023 14:26:32 +0100
+Subject: [PATCH] Lib/sysconfig.py: use prefix value from build configuration
+ file
+
+This allows correctly substituting them for target installs using
+native python.
+
+Upstream-Status: Inappropriate [oe-core cross builds]
+Signed-off-by: Alexander Kanavin <alex@linutronix.de>
+
+---
+ Lib/sysconfig.py | 5 +++++
+ 1 file changed, 5 insertions(+)
+
+diff --git a/Lib/sysconfig.py b/Lib/sysconfig.py
+index 79c0510..91ebcb6 100644
+--- a/Lib/sysconfig.py
++++ b/Lib/sysconfig.py
+@@ -668,6 +668,11 @@ def _init_config_vars():
+ _CONFIG_VARS['VPATH'] = sys._vpath
+ if os.name == 'posix':
+ _init_posix(_CONFIG_VARS)
++ _CONFIG_VARS['installed_base'] = _CONFIG_VARS['prefix']
++ _CONFIG_VARS['base'] = _CONFIG_VARS['prefix']
++ _CONFIG_VARS['installed_platbase'] = _CONFIG_VARS['prefix']
++ _CONFIG_VARS['platbase'] = _CONFIG_VARS['prefix']
++ _CONFIG_VARS['platlibdir'] = _CONFIG_VARS['PLATLIBDIR']
+ if _HAS_USER_BASE:
+ # Setting 'userbase' is done below the call to the
+ # init function to enable using 'get_config_var' in
diff --git a/meta/recipes-devtools/python/python3/0001-Makefile-do-not-compile-.pyc-in-parallel.patch b/meta/recipes-devtools/python/python3/0001-Makefile-do-not-compile-.pyc-in-parallel.patch
deleted file mode 100644
index b1bceac512..0000000000
--- a/meta/recipes-devtools/python/python3/0001-Makefile-do-not-compile-.pyc-in-parallel.patch
+++ /dev/null
@@ -1,58 +0,0 @@
-From c501e121a872cbcef8ffe626c1de173a125be9f8 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin <alex.kanavin@gmail.com>
-Date: Thu, 16 Jan 2020 12:34:20 +0100
-Subject: [PATCH] Makefile: do not compile .pyc in parallel
-
-This was found to break reproducibility, and produce strange file ownership
-races.
-
-The upstream commit introducing the change was:
-https://github.com/python/cpython/commit/1a2dd82f56bd813aacc570e172cefe55a8a41504
-
-Upstream-Status: Pending
-Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
----
- Makefile.pre.in | 12 ++++++------
- 1 file changed, 6 insertions(+), 6 deletions(-)
-
-diff --git a/Makefile.pre.in b/Makefile.pre.in
-index 1241112..5dfdf44 100644
---- a/Makefile.pre.in
-+++ b/Makefile.pre.in
-@@ -1457,30 +1457,30 @@ libinstall: build_all $(srcdir)/Modules/xxmodule.c
- fi
- -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
- $(PYTHON_FOR_BUILD) -Wi $(DESTDIR)$(LIBDEST)/compileall.py \
-- -j0 -d $(LIBDEST) -f \
-+ -d $(LIBDEST) -f \
- -x 'bad_coding|badsyntax|site-packages|lib2to3/tests/data' \
- $(DESTDIR)$(LIBDEST)
- -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
- $(PYTHON_FOR_BUILD) -Wi -O $(DESTDIR)$(LIBDEST)/compileall.py \
-- -j0 -d $(LIBDEST) -f \
-+ -d $(LIBDEST) -f \
- -x 'bad_coding|badsyntax|site-packages|lib2to3/tests/data' \
- $(DESTDIR)$(LIBDEST)
- -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
- $(PYTHON_FOR_BUILD) -Wi -OO $(DESTDIR)$(LIBDEST)/compileall.py \
-- -j0 -d $(LIBDEST) -f \
-+ -d $(LIBDEST) -f \
- -x 'bad_coding|badsyntax|site-packages|lib2to3/tests/data' \
- $(DESTDIR)$(LIBDEST)
- -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
- $(PYTHON_FOR_BUILD) -Wi $(DESTDIR)$(LIBDEST)/compileall.py \
-- -j0 -d $(LIBDEST)/site-packages -f \
-+ -d $(LIBDEST)/site-packages -f \
- -x badsyntax $(DESTDIR)$(LIBDEST)/site-packages
- -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
- $(PYTHON_FOR_BUILD) -Wi -O $(DESTDIR)$(LIBDEST)/compileall.py \
-- -j0 -d $(LIBDEST)/site-packages -f \
-+ -d $(LIBDEST)/site-packages -f \
- -x badsyntax $(DESTDIR)$(LIBDEST)/site-packages
- -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
- $(PYTHON_FOR_BUILD) -Wi -OO $(DESTDIR)$(LIBDEST)/compileall.py \
-- -j0 -d $(LIBDEST)/site-packages -f \
-+ -d $(LIBDEST)/site-packages -f \
- -x badsyntax $(DESTDIR)$(LIBDEST)/site-packages
- -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
- $(PYTHON_FOR_BUILD) -m lib2to3.pgen2.driver $(DESTDIR)$(LIBDEST)/lib2to3/Grammar.txt
diff --git a/meta/recipes-devtools/python/python3/0001-Makefile-fix-Issue36464-parallel-build-race-problem.patch b/meta/recipes-devtools/python/python3/0001-Makefile-fix-Issue36464-parallel-build-race-problem.patch
deleted file mode 100644
index 237645bc60..0000000000
--- a/meta/recipes-devtools/python/python3/0001-Makefile-fix-Issue36464-parallel-build-race-problem.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From 840fda32c82550259d02a7a56a78a9c05162b1a1 Mon Sep 17 00:00:00 2001
-From: Changqing Li <changqing.li@windriver.com>
-Date: Wed, 8 May 2019 16:10:29 +0800
-Subject: [PATCH] Makefile: fix Issue36464 (parallel build race problem)
-
-When using make -j with the 'install' target, it's possible for altbininstall
-(which normally creates BINDIR) and libainstall (which doesn't, though it
-installs python-config there) to race, resulting in a failure due to
-attempting to install python-config into a nonexistent BINDIR. Ensure it also
-exists in the libainstall target.
-
-Upstream-Status: Submitted [https://github.com/python/cpython/pull/13186]
-
-Signed-off-by: Changqing Li <changqing.li@windriver.com>
----
- Makefile.pre.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/Makefile.pre.in b/Makefile.pre.in
-index 15f3687..7e9f173 100644
---- a/Makefile.pre.in
-+++ b/Makefile.pre.in
-@@ -1456,7 +1456,7 @@ LIBPL= @LIBPL@
- LIBPC= $(LIBDIR)/pkgconfig
-
- libainstall: @DEF_MAKE_RULE@ python-config
-- @for i in $(LIBDIR) $(LIBPL) $(LIBPC); \
-+ @for i in $(LIBDIR) $(LIBPL) $(LIBPC) $(BINDIR); \
- do \
- if test ! -d $(DESTDIR)$$i; then \
- echo "Creating directory $$i"; \
---
-2.7.4
-
diff --git a/meta/recipes-devtools/python/python3/0001-Makefile.pre-use-qemu-wrapper-when-gathering-profile.patch b/meta/recipes-devtools/python/python3/0001-Makefile.pre-use-qemu-wrapper-when-gathering-profile.patch
index fa7735ff93..ee33128fa1 100644
--- a/meta/recipes-devtools/python/python3/0001-Makefile.pre-use-qemu-wrapper-when-gathering-profile.patch
+++ b/meta/recipes-devtools/python/python3/0001-Makefile.pre-use-qemu-wrapper-when-gathering-profile.patch
@@ -1,4 +1,4 @@
-From cf6a9100902484e4d028ee88742dd2487b014a98 Mon Sep 17 00:00:00 2001
+From 38278339832a57dbf5fa3ef21accaa03e2c814d7 Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex.kanavin@gmail.com>
Date: Wed, 30 Jan 2019 12:41:04 +0100
Subject: [PATCH] Makefile.pre: use qemu wrapper when gathering profile data
@@ -10,16 +10,16 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/Makefile.pre.in b/Makefile.pre.in
-index a3a02a7..d5503dd 100644
+index dd5e69f..381feb0 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
-@@ -507,8 +507,7 @@ build_all_generate_profile:
- $(MAKE) @DEF_MAKE_RULE@ CFLAGS_NODIST="$(CFLAGS_NODIST) $(PGO_PROF_GEN_FLAG)" LDFLAGS_NODIST="$(LDFLAGS_NODIST) $(PGO_PROF_GEN_FLAG)" LIBS="$(LIBS)"
-
- run_profile_task:
+@@ -658,8 +658,7 @@ profile-run-stamp:
+ # enabled.
+ $(MAKE) profile-gen-stamp
+ # Next, run the profile task to generate the profile information.
- @ # FIXME: can't run for a cross build
- $(LLVM_PROF_FILE) $(RUNSHARED) ./$(BUILDPYTHON) $(PROFILE_TASK) || true
+ ./pgo-wrapper ./python -m test.regrtest --pgo test_grammar test_opcodes test_dict test_builtin test_exceptions test_types test_support || true
-
- build_all_merge_profile:
$(LLVM_PROF_MERGER)
+ # Remove profile generation binary since we are done with it.
+ $(MAKE) clean-retain-profile
diff --git a/meta/recipes-devtools/python/python3/0001-Skip-failing-tests-due-to-load-variability-on-YP-AB.patch b/meta/recipes-devtools/python/python3/0001-Skip-failing-tests-due-to-load-variability-on-YP-AB.patch
new file mode 100644
index 0000000000..197daa71a5
--- /dev/null
+++ b/meta/recipes-devtools/python/python3/0001-Skip-failing-tests-due-to-load-variability-on-YP-AB.patch
@@ -0,0 +1,72 @@
+From 3471e3478e0760c42e04f8046cee2367ab5706d2 Mon Sep 17 00:00:00 2001
+From: Yi Fan Yu <yifan.yu@windriver.com>
+Date: Thu, 1 Apr 2021 13:08:37 -0700
+Subject: [PATCH] Skip failing tests due to load variability on YP AB
+
+Skip these tests until AB-INT is solved.
+
+[YOCTO #14296]
+
+Upstream-Status: Inappropriate [OE-Specific]
+
+Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
+
+Skip two additional tests due to suspected load variability failures.
+
+[YOCTO #15131]
+[YOCTO #15177]
+
+Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
+---
+ Lib/test/_test_multiprocessing.py | 3 +++
+ Lib/test/test_time.py | 2 ++
+ 2 files changed, 5 insertions(+)
+
+diff --git a/Lib/test/_test_multiprocessing.py b/Lib/test/_test_multiprocessing.py
+index e42c7ab..dff5227 100644
+--- a/Lib/test/_test_multiprocessing.py
++++ b/Lib/test/_test_multiprocessing.py
+@@ -682,6 +682,7 @@ class _TestProcess(BaseTestCase):
+ close_queue(q)
+
+ @support.requires_resource('walltime')
++ @unittest.skip('timing related test, dependent on load')
+ def test_many_processes(self):
+ if self.TYPE == 'threads':
+ self.skipTest('test not appropriate for {}'.format(self.TYPE))
+@@ -2066,6 +2067,7 @@ class _TestBarrier(BaseTestCase):
+ except threading.BrokenBarrierError:
+ results.append(True)
+
++ @unittest.skip('timing related test, dependent on load')
+ def test_timeout(self):
+ """
+ Test wait(timeout)
+@@ -5024,6 +5026,7 @@ class TestWait(unittest.TestCase):
+ time.sleep(period)
+
+ @support.requires_resource('walltime')
++ @unittest.skip('timing related test, dependent on load')
+ def test_wait_integer(self):
+ from multiprocessing.connection import wait
+
+diff --git a/Lib/test/test_time.py b/Lib/test/test_time.py
+index 02cc3f4..51a4548 100644
+--- a/Lib/test/test_time.py
++++ b/Lib/test/test_time.py
+@@ -492,6 +492,7 @@ class TimeTestCase(unittest.TestCase):
+ @unittest.skipIf(
+ support.is_wasi, "process_time not available on WASI"
+ )
++ @unittest.skip('timing related test, dependent on load')
+ def test_process_time(self):
+ # process_time() should not include time spend during a sleep
+ start = time.process_time()
+@@ -505,6 +506,7 @@ class TimeTestCase(unittest.TestCase):
+ self.assertTrue(info.monotonic)
+ self.assertFalse(info.adjustable)
+
++ @unittest.skip('timing related test, dependent on load')
+ def test_thread_time(self):
+ if not hasattr(time, 'thread_time'):
+ if sys.platform.startswith(('linux', 'win')):
diff --git a/meta/recipes-devtools/python/python3/0001-Update-test_sysconfig-for-posix_user-purelib.patch b/meta/recipes-devtools/python/python3/0001-Update-test_sysconfig-for-posix_user-purelib.patch
new file mode 100644
index 0000000000..b6c6ac5a28
--- /dev/null
+++ b/meta/recipes-devtools/python/python3/0001-Update-test_sysconfig-for-posix_user-purelib.patch
@@ -0,0 +1,37 @@
+From 37d058e841ba3bd89b5746cc5381afb014b11581 Mon Sep 17 00:00:00 2001
+From: Wentao Zhang <wentao.zhang@windriver.com>
+Date: Mon, 20 Mar 2023 13:39:52 +0800
+Subject: [PATCH] Update test_sysconfig for posix_user purelib
+
+Steps to trigger the failed test:
+Edit local.conf to add something as follows:
+ BASELIB = "lib64"
+ IMAGE_INSTALL:append = " python3-tests".
+bitbake core-image-sato
+runqemu qemux86-64 nographic slirp
+Reproducer:
+ $python3 -m test test_sysconfig
+
+Update test_sysconfig.test_user_similar() for the posix_user scheme:
+"purelib" doesn't use sys.platlibdir.
+
+Upstream-Status: Inappropriate [oe-core specific]
+Signed-off-by: Wentao Zhang <wentao.zhang@windriver.com>
+
+---
+ Lib/test/test_sysconfig.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Lib/test/test_sysconfig.py b/Lib/test/test_sysconfig.py
+index b6dbf3d..5672590 100644
+--- a/Lib/test/test_sysconfig.py
++++ b/Lib/test/test_sysconfig.py
+@@ -372,7 +372,7 @@ class TestSysConfig(unittest.TestCase):
+ expected = os.path.normpath(global_path.replace(base, user, 1))
+ # bpo-44860: platlib of posix_user doesn't use sys.platlibdir,
+ # whereas posix_prefix does.
+- if name == 'platlib':
++ if name == 'platlib' or name == 'purelib':
+ # Replace "/lib64/python3.11/site-packages" suffix
+ # with "/lib/python3.11/site-packages".
+ py_version_short = sysconfig.get_python_version()
diff --git a/meta/recipes-devtools/python/python3/0001-Use-FLAG_REF-always-for-interned-strings.patch b/meta/recipes-devtools/python/python3/0001-Use-FLAG_REF-always-for-interned-strings.patch
deleted file mode 100644
index 793385de91..0000000000
--- a/meta/recipes-devtools/python/python3/0001-Use-FLAG_REF-always-for-interned-strings.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From 9f63e83b1cec872917647b11155edaffe399d103 Mon Sep 17 00:00:00 2001
-From: Inada Naoki <songofacandy@gmail.com>
-Date: Sat, 14 Jul 2018 00:46:11 +0900
-Subject: [PATCH] Use FLAG_REF always for interned strings
-
-Upstream-Status: Submitted [https://github.com/python/cpython/pull/8226]
-Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
-
----
- Python/marshal.c | 9 +++++++--
- 1 file changed, 7 insertions(+), 2 deletions(-)
-
-diff --git a/Python/marshal.c b/Python/marshal.c
-index c4538bd..2437160 100644
---- a/Python/marshal.c
-+++ b/Python/marshal.c
-@@ -298,9 +298,14 @@ w_ref(PyObject *v, char *flag, WFILE *p)
- if (p->version < 3 || p->hashtable == NULL)
- return 0; /* not writing object references */
-
-- /* if it has only one reference, it definitely isn't shared */
-- if (Py_REFCNT(v) == 1)
-+ /* If it has only one reference, it definitely isn't shared.
-+ * But we use TYPE_REF always for interned string, to PYC file stable
-+ * as possible.
-+ */
-+ if (Py_REFCNT(v) == 1 &&
-+ !(PyUnicode_CheckExact(v) && PyUnicode_CHECK_INTERNED(v))) {
- return 0;
-+ }
-
- entry = _Py_hashtable_get_entry(p->hashtable, v);
- if (entry != NULL) {
diff --git a/meta/recipes-devtools/python/python3/0001-bpo-36852-proper-detection-of-mips-architecture-for-.patch b/meta/recipes-devtools/python/python3/0001-bpo-36852-proper-detection-of-mips-architecture-for-.patch
deleted file mode 100644
index c4fae09a5b..0000000000
--- a/meta/recipes-devtools/python/python3/0001-bpo-36852-proper-detection-of-mips-architecture-for-.patch
+++ /dev/null
@@ -1,209 +0,0 @@
-From 1ad771d86728ee2ed30e202e9768d8d825f96467 Mon Sep 17 00:00:00 2001
-From: Matthias Schoepfer <matthias.schoepfer@ithinx.io>
-Date: Fri, 31 May 2019 15:34:34 +0200
-Subject: [PATCH] bpo-36852: proper detection of mips architecture for soft
- float
-
-When (cross) compiling for softfloat mips, __mips_hard_float will not be
-defined and detection of OS triplet in configure.ac / configure will fail.
-
-This also has to do with the custom detection of the build triplet. Trying
-to do this in a more autoconf/autotools manner.
-
-Upstream-Status: Submitted [https://github.com/python/cpython/pull/13196]
-Signed-off-by: Matthias Schoepfer <matthias.schoepfer@ithinx.io>
-
-%% original patch: 0001-bpo-36852-proper-detection-of-mips-architecture-for-.patch
----
- configure.ac | 175 +++++++--------------------------------------------
- 1 file changed, 21 insertions(+), 154 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index ede710e..bc81b0b 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -710,160 +710,27 @@ fi
- MULTIARCH=$($CC --print-multiarch 2>/dev/null)
- AC_SUBST(MULTIARCH)
-
--AC_MSG_CHECKING([for the platform triplet based on compiler characteristics])
--cat >> conftest.c <<EOF
--#undef bfin
--#undef cris
--#undef fr30
--#undef linux
--#undef hppa
--#undef hpux
--#undef i386
--#undef mips
--#undef powerpc
--#undef sparc
--#undef unix
--#if defined(__ANDROID__)
-- # Android is not a multiarch system.
--#elif defined(__linux__)
--# if defined(__x86_64__) && defined(__LP64__)
-- x86_64-linux-gnu
--# elif defined(__x86_64__) && defined(__ILP32__)
-- x86_64-linux-gnux32
--# elif defined(__i386__)
-- i386-linux-gnu
--# elif defined(__aarch64__) && defined(__AARCH64EL__)
--# if defined(__ILP32__)
-- aarch64_ilp32-linux-gnu
--# else
-- aarch64-linux-gnu
--# endif
--# elif defined(__aarch64__) && defined(__AARCH64EB__)
--# if defined(__ILP32__)
-- aarch64_be_ilp32-linux-gnu
--# else
-- aarch64_be-linux-gnu
--# endif
--# elif defined(__alpha__)
-- alpha-linux-gnu
--# elif defined(__ARM_EABI__) && defined(__ARM_PCS_VFP)
--# if defined(__ARMEL__)
-- arm-linux-gnueabihf
--# else
-- armeb-linux-gnueabihf
--# endif
--# elif defined(__ARM_EABI__) && !defined(__ARM_PCS_VFP)
--# if defined(__ARMEL__)
-- arm-linux-gnueabi
--# else
-- armeb-linux-gnueabi
--# endif
--# elif defined(__hppa__)
-- hppa-linux-gnu
--# elif defined(__ia64__)
-- ia64-linux-gnu
--# elif defined(__m68k__) && !defined(__mcoldfire__)
-- m68k-linux-gnu
--# elif defined(__mips_hard_float) && defined(__mips_isa_rev) && (__mips_isa_rev >=6) && defined(_MIPSEL)
--# if _MIPS_SIM == _ABIO32
-- mipsisa32r6el-linux-gnu
--# elif _MIPS_SIM == _ABIN32
-- mipsisa64r6el-linux-gnuabin32
--# elif _MIPS_SIM == _ABI64
-- mipsisa64r6el-linux-gnuabi64
--# else
--# error unknown platform triplet
--# endif
--# elif defined(__mips_hard_float) && defined(__mips_isa_rev) && (__mips_isa_rev >=6)
--# if _MIPS_SIM == _ABIO32
-- mipsisa32r6-linux-gnu
--# elif _MIPS_SIM == _ABIN32
-- mipsisa64r6-linux-gnuabin32
--# elif _MIPS_SIM == _ABI64
-- mipsisa64r6-linux-gnuabi64
--# else
--# error unknown platform triplet
--# endif
--# elif defined(__mips_hard_float) && defined(_MIPSEL)
--# if _MIPS_SIM == _ABIO32
-- mipsel-linux-gnu
--# elif _MIPS_SIM == _ABIN32
-- mips64el-linux-gnuabin32
--# elif _MIPS_SIM == _ABI64
-- mips64el-linux-gnuabi64
--# else
--# error unknown platform triplet
--# endif
--# elif defined(__mips_hard_float)
--# if _MIPS_SIM == _ABIO32
-- mips-linux-gnu
--# elif _MIPS_SIM == _ABIN32
-- mips64-linux-gnuabin32
--# elif _MIPS_SIM == _ABI64
-- mips64-linux-gnuabi64
--# else
--# error unknown platform triplet
--# endif
--# elif defined(__or1k__)
-- or1k-linux-gnu
--# elif defined(__powerpc__) && defined(__SPE__)
-- powerpc-linux-gnuspe
--# elif defined(__powerpc64__)
--# if defined(__LITTLE_ENDIAN__)
-- powerpc64le-linux-gnu
--# else
-- powerpc64-linux-gnu
--# endif
--# elif defined(__powerpc__)
-- powerpc-linux-gnu
--# elif defined(__s390x__)
-- s390x-linux-gnu
--# elif defined(__s390__)
-- s390-linux-gnu
--# elif defined(__sh__) && defined(__LITTLE_ENDIAN__)
-- sh4-linux-gnu
--# elif defined(__sparc__) && defined(__arch64__)
-- sparc64-linux-gnu
--# elif defined(__sparc__)
-- sparc-linux-gnu
--# elif defined(__riscv)
--# if __riscv_xlen == 32
-- riscv32-linux-gnu
--# elif __riscv_xlen == 64
-- riscv64-linux-gnu
--# else
--# error unknown platform triplet
--# endif
--# else
--# error unknown platform triplet
--# endif
--#elif defined(__FreeBSD_kernel__)
--# if defined(__LP64__)
-- x86_64-kfreebsd-gnu
--# elif defined(__i386__)
-- i386-kfreebsd-gnu
--# else
--# error unknown platform triplet
--# endif
--#elif defined(__gnu_hurd__)
-- i386-gnu
--#elif defined(__APPLE__)
-- darwin
--#elif defined(__VXWORKS__)
-- vxworks
--#else
--# error unknown platform triplet
--#endif
--
--EOF
--
--if $CPP $CPPFLAGS conftest.c >conftest.out 2>/dev/null; then
-- PLATFORM_TRIPLET=`grep -v '^#' conftest.out | grep -v '^ *$' | tr -d ' '`
-- AC_MSG_RESULT([$PLATFORM_TRIPLET])
--else
-- AC_MSG_RESULT([none])
--fi
--rm -f conftest.c conftest.out
-+AC_CANONICAL_TARGET
-+## Not using $target to filter out vendor
-+## Need to handle macos, vxworks and hurd special (?) :-/
-+case ${target_os} in
-+ darwin*)
-+ PLATFORM_TRIPLET=darwin
-+ ;;
-+ hurd*)
-+ PLATFORM_TRIPLET=i386-gnu
-+ ;;
-+ vxworks*)
-+ PLATFORM_TRIPLET=vxworks
-+ ;;
-+ *)
-+ if test "${target_cpu}" != "i686"; then
-+ PLATFORM_TRIPLET=${target_cpu}-${target_os}
-+ else
-+ PLATFORM_TRIPLET=i386-${target_os}
-+ fi
-+ ;;
-+esac
-
- if test x$PLATFORM_TRIPLET != x && test x$MULTIARCH != x; then
- if test x$PLATFORM_TRIPLET != x$MULTIARCH; then
---
-2.24.1
-
diff --git a/meta/recipes-devtools/python/python3/0001-distutils-sysconfig-append-STAGING_LIBDIR-python-sys.patch b/meta/recipes-devtools/python/python3/0001-distutils-sysconfig-append-STAGING_LIBDIR-python-sys.patch
deleted file mode 100644
index b982691b36..0000000000
--- a/meta/recipes-devtools/python/python3/0001-distutils-sysconfig-append-STAGING_LIBDIR-python-sys.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-From e65bfe22c858872b08366aff49119d4145a77f40 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin <alex.kanavin@gmail.com>
-Date: Thu, 31 Jan 2019 16:46:30 +0100
-Subject: [PATCH] distutils/sysconfig: append
- STAGING_LIBDIR/python-sysconfigdata to sys.path
-
-So that target configuration can be used when running native python
-
-Upstream-Status: Inappropriate [oe-core specific]
-Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
-
----
- Lib/distutils/sysconfig.py | 2 ++
- Lib/sysconfig.py | 2 ++
- 2 files changed, 4 insertions(+)
-
-diff --git a/Lib/distutils/sysconfig.py b/Lib/distutils/sysconfig.py
-index b51629e..2df348c 100644
---- a/Lib/distutils/sysconfig.py
-+++ b/Lib/distutils/sysconfig.py
-@@ -438,6 +438,8 @@ def _init_posix():
- platform=sys.platform,
- multiarch=getattr(sys.implementation, '_multiarch', ''),
- ))
-+ if 'STAGING_LIBDIR' in os.environ:
-+ sys.path.append(os.environ['STAGING_LIBDIR']+'/python-sysconfigdata')
- _temp = __import__(name, globals(), locals(), ['build_time_vars'], 0)
- build_time_vars = _temp.build_time_vars
- global _config_vars
-diff --git a/Lib/sysconfig.py b/Lib/sysconfig.py
-index b2d790b..405273c 100644
---- a/Lib/sysconfig.py
-+++ b/Lib/sysconfig.py
-@@ -419,6 +419,8 @@ def _init_posix(vars):
- """Initialize the module as appropriate for POSIX systems."""
- # _sysconfigdata is generated at build time, see _generate_posix_vars()
- name = _get_sysconfigdata_name()
-+ if 'STAGING_LIBDIR' in os.environ:
-+ sys.path.append(os.environ['STAGING_LIBDIR']+'/python-sysconfigdata')
- _temp = __import__(name, globals(), locals(), ['build_time_vars'], 0)
- build_time_vars = _temp.build_time_vars
- vars.update(build_time_vars)
diff --git a/meta/recipes-devtools/python/python3/0001-gh-107811-tarfile-treat-overflow-in-UID-GID-as-failu.patch b/meta/recipes-devtools/python/python3/0001-gh-107811-tarfile-treat-overflow-in-UID-GID-as-failu.patch
new file mode 100644
index 0000000000..88b84c6024
--- /dev/null
+++ b/meta/recipes-devtools/python/python3/0001-gh-107811-tarfile-treat-overflow-in-UID-GID-as-failu.patch
@@ -0,0 +1,40 @@
+From 999d4e74d34afa233ad8ad0c70b989d77a21957f Mon Sep 17 00:00:00 2001
+From: Petr Viktorin <encukou@gmail.com>
+Date: Wed, 23 Aug 2023 20:00:07 +0200
+Subject: [PATCH] gh-107811: tarfile: treat overflow in UID/GID as failure to
+ set it (#108369)
+
+Upstream-Status: Backport [https://github.com/python/cpython/pull/108369]
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ Lib/tarfile.py | 3 ++-
+ .../Library/2023-08-23-17-34-39.gh-issue-107811.3Fng72.rst | 3 +++
+ 2 files changed, 5 insertions(+), 1 deletion(-)
+ create mode 100644 Misc/NEWS.d/next/Library/2023-08-23-17-34-39.gh-issue-107811.3Fng72.rst
+
+diff --git a/Lib/tarfile.py b/Lib/tarfile.py
+index 3bbbcaa..473167d 100755
+--- a/Lib/tarfile.py
++++ b/Lib/tarfile.py
+@@ -2557,7 +2557,8 @@ class TarFile(object):
+ os.lchown(targetpath, u, g)
+ else:
+ os.chown(targetpath, u, g)
+- except OSError as e:
++ except (OSError, OverflowError) as e:
++ # OverflowError can be raised if an ID doesn't fit in `id_t`
+ raise ExtractError("could not change owner") from e
+
+ def chmod(self, tarinfo, targetpath):
+diff --git a/Misc/NEWS.d/next/Library/2023-08-23-17-34-39.gh-issue-107811.3Fng72.rst b/Misc/NEWS.d/next/Library/2023-08-23-17-34-39.gh-issue-107811.3Fng72.rst
+new file mode 100644
+index 0000000..ffca413
+--- /dev/null
++++ b/Misc/NEWS.d/next/Library/2023-08-23-17-34-39.gh-issue-107811.3Fng72.rst
+@@ -0,0 +1,3 @@
++:mod:`tarfile`: extraction of members with overly large UID or GID (e.g. on
++an OS with 32-bit :c:type:`!id_t`) now fails in the same way as failing to
++set the ID.
+--
+2.45.0
+
diff --git a/meta/recipes-devtools/python/python3/0001-python3-use-cc_basename-to-replace-CC-for-checking-c.patch b/meta/recipes-devtools/python/python3/0001-python3-use-cc_basename-to-replace-CC-for-checking-c.patch
index bfddc1ad52..bbeabe4389 100644
--- a/meta/recipes-devtools/python/python3/0001-python3-use-cc_basename-to-replace-CC-for-checking-c.patch
+++ b/meta/recipes-devtools/python/python3/0001-python3-use-cc_basename-to-replace-CC-for-checking-c.patch
@@ -1,4 +1,4 @@
-From 5f9eea2c4f8716830f6c8855a3e10872119fae32 Mon Sep 17 00:00:00 2001
+From ababc7b1db8c406910766e11cdd04cbef7a706c9 Mon Sep 17 00:00:00 2001
From: Changqing Li <changqing.li@windriver.com>
Date: Mon, 22 Oct 2018 15:19:51 +0800
Subject: [PATCH] python3: use cc_basename to replace CC for checking compiler
@@ -14,40 +14,39 @@ x86_64-wrs-linux-gcc: error: unrecognized command line option '-fp-model'
Here use cc_basename to replace CC for checking compiler to avoid such
kind of issue.
-Upstream-Status: Pending
+Upstream-Status: Submitted [https://github.com/python/cpython/pull/96399]
Signed-off-by: Li Zhou <li.zhou@windriver.com>
patch originally from Li Zhou, I just rework it to new version
Signed-off-by: Changqing Li <changqing.li@windriver.com>
-
---
configure.ac | 19 ++++++++++---------
1 file changed, 10 insertions(+), 9 deletions(-)
diff --git a/configure.ac b/configure.ac
-index d60f052..e491e24 100644
+index 384718d..5a1d58b 100644
--- a/configure.ac
+++ b/configure.ac
-@@ -54,6 +54,7 @@ AC_CONFIG_HEADER(pyconfig.h)
+@@ -137,6 +137,7 @@ AC_CONFIG_HEADERS([pyconfig.h])
AC_CANONICAL_HOST
- AC_SUBST(build)
- AC_SUBST(host)
+ AC_SUBST([build])
+ AC_SUBST([host])
+LT_INIT
- # pybuilddir.txt will be created by --generate-posix-vars in the Makefile
- rm -f pybuilddir.txt
-@@ -689,7 +690,7 @@ AC_MSG_RESULT($with_cxx_main)
+ AS_VAR_IF([cross_compiling], [maybe],
+ [AC_MSG_ERROR([Cross compiling required --host=HOST-TUPLE and --build=ARCH])]
+@@ -896,7 +897,7 @@ AC_SUBST([CXX])
preset_cxx="$CXX"
if test -z "$CXX"
then
- case "$CC" in
+ case "$cc_basename" in
- gcc) AC_PATH_TOOL(CXX, [g++], [g++], [notfound]) ;;
- cc) AC_PATH_TOOL(CXX, [c++], [c++], [notfound]) ;;
- clang|*/clang) AC_PATH_TOOL(CXX, [clang++], [clang++], [notfound]) ;;
-@@ -975,7 +976,7 @@ rmdir CaseSensitiveTestDir
+ gcc) AC_PATH_TOOL([CXX], [g++], [g++], [notfound]) ;;
+ cc) AC_PATH_TOOL([CXX], [c++], [c++], [notfound]) ;;
+ clang|*/clang) AC_PATH_TOOL([CXX], [clang++], [clang++], [notfound]) ;;
+@@ -1328,7 +1329,7 @@ rmdir CaseSensitiveTestDir
case $ac_sys_system in
hp*|HP*)
@@ -56,16 +55,16 @@ index d60f052..e491e24 100644
cc|*/cc) CC="$CC -Ae";;
esac;;
esac
-@@ -1366,7 +1367,7 @@ else
- fi],
- [AC_MSG_RESULT(no)])
+@@ -1854,7 +1855,7 @@ esac
+ ],
+ [AC_MSG_RESULT([no])])
if test "$Py_LTO" = 'true' ; then
- case $CC in
+ case $cc_basename in
*clang*)
- AC_SUBST(LLVM_AR)
- AC_PATH_TOOL(LLVM_AR, llvm-ar, '', ${llvm_path})
-@@ -1456,7 +1457,7 @@ then
+ LDFLAGS_NOLTO="-fno-lto"
+ dnl Clang linker requires -flto in order to link objects with LTO information.
+@@ -1983,7 +1984,7 @@ then
fi
fi
LLVM_PROF_ERR=no
@@ -74,7 +73,7 @@ index d60f052..e491e24 100644
*clang*)
# Any changes made here should be reflected in the GCC+Darwin case below
PGO_PROF_GEN_FLAG="-fprofile-instr-generate"
-@@ -1517,7 +1518,7 @@ esac
+@@ -2147,7 +2148,7 @@ AC_MSG_RESULT([$BOLT_APPLY_FLAGS])
# compiler and platform. BASECFLAGS tweaks need to be made even if the
# user set OPT.
@@ -83,25 +82,25 @@ index d60f052..e491e24 100644
*clang*)
cc_is_clang=1
;;
-@@ -1653,7 +1654,7 @@ yes)
+@@ -2419,7 +2420,7 @@ yes)
# ICC doesn't recognize the option, but only emits a warning
## XXX does it emit an unused result warning and can it be disabled?
-- case "$CC" in
-+ case "$cc_basename" in
- *icc*)
- ac_cv_disable_unused_result_warning=no
- ;;
-@@ -1993,7 +1994,7 @@ yes)
+- AS_CASE([$CC],
++ AS_CASE([$cc_basename],
+ [*icc*], [ac_cv_disable_unused_result_warning=no]
+ [PY_CHECK_CC_WARNING([disable], [unused-result])])
+ AS_VAR_IF([ac_cv_disable_unused_result_warning], [yes],
+@@ -2665,7 +2666,7 @@ yes)
;;
esac
-case "$CC" in
+case "$cc_basename" in
- *icc*)
- # ICC needs -fp-model strict or floats behave badly
- CFLAGS_NODIST="$CFLAGS_NODIST -fp-model strict"
-@@ -2765,7 +2766,7 @@ then
+ *mpicc*)
+ CFLAGS_NODIST="$CFLAGS_NODIST"
+ ;;
+@@ -3482,7 +3483,7 @@ then
then
LINKFORSHARED="-Wl,--export-dynamic"
fi;;
@@ -110,12 +109,12 @@ index d60f052..e491e24 100644
*gcc*)
if $CC -Xlinker --help 2>&1 | grep export-dynamic >/dev/null
then
-@@ -5507,7 +5508,7 @@ if test "$have_gcc_asm_for_x87" = yes; then
+@@ -6803,7 +6804,7 @@ if test "$ac_cv_gcc_asm_for_x87" = yes; then
# Some versions of gcc miscompile inline asm:
# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46491
# http://gcc.gnu.org/ml/gcc/2010-11/msg00366.html
- case $CC in
+ case $cc_basename in
*gcc*)
- AC_MSG_CHECKING(for gcc ipa-pure-const bug)
+ AC_MSG_CHECKING([for gcc ipa-pure-const bug])
saved_cflags="$CFLAGS"
diff --git a/meta/recipes-devtools/python/python3/0001-setup.py-pass-missing-libraries-to-Extension-for-mul.patch b/meta/recipes-devtools/python/python3/0001-setup.py-pass-missing-libraries-to-Extension-for-mul.patch
deleted file mode 100644
index ea0af02e72..0000000000
--- a/meta/recipes-devtools/python/python3/0001-setup.py-pass-missing-libraries-to-Extension-for-mul.patch
+++ /dev/null
@@ -1,69 +0,0 @@
-From 7019ba184b828ed7253750cf409fc5760ef90a54 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin <alex.kanavin@gmail.com>
-Date: Thu, 9 Jan 2020 17:44:05 +0100
-Subject: [PATCH] setup.py: pass missing libraries to Extension for
- multiprocessing module
-
-In the following commit:
-...
-commit e711cafab13efc9c1fe6c5cd75826401445eb585
-Author: Benjamin Peterson <benjamin@python.org>
-Date: Wed Jun 11 16:44:04 2008 +0000
-
- Merged revisions 64104,64117 via svnmerge from
- svn+ssh://pythondev@svn.python.org/python/trunk
-...
-(see diff in setup.py)
-It assigned libraries for multiprocessing module according
-the host_platform, but not pass it to Extension.
-
-In glibc, the following commit caused two definition of
-sem_getvalue are different.
-https://sourceware.org/git/?p=glibc.git;a=commit;h=042e1521c794a945edc43b5bfa7e69ad70420524
-(see diff in nptl/sem_getvalue.c for detail)
-`__new_sem_getvalue' is the latest sem_getvalue@@GLIBC_2.1
-and `__old_sem_getvalue' is to compat the old version
-sem_getvalue@GLIBC_2.0.
-
-To build python for embedded Linux systems:
-http://www.yoctoproject.org/docs/2.3.1/yocto-project-qs/yocto-project-qs.html
-If not explicitly link to library pthread (-lpthread), it will
-load glibc's sem_getvalue randomly at runtime.
-
-Such as build python on linux x86_64 host and run the python
-on linux x86_32 target. If not link library pthread, it caused
-multiprocessing bounded semaphore could not work correctly.
-...
->>> import multiprocessing
->>> pool_sema = multiprocessing.BoundedSemaphore(value=1)
->>> pool_sema.acquire()
-True
->>> pool_sema.release()
-Traceback (most recent call last):
- File "<stdin>", line 1, in <module>
-ValueError: semaphore or lock released too many times
-...
-
-And the semaphore issue also caused multiprocessing.Queue().put() hung.
-
-Upstream-Status: Pending
-
-Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
-Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
----
- setup.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/setup.py b/setup.py
-index ec3f2a4..b0f1541 100644
---- a/setup.py
-+++ b/setup.py
-@@ -1671,7 +1671,7 @@ class PyBuildExt(build_ext):
- libraries=libs,
- include_dirs=["Modules/_multiprocessing"]))
-
-- self.add(Extension('_multiprocessing', multiprocessing_srcs,
-+ self.add(Extension('_multiprocessing', multiprocessing_srcs, libraries=['pthread'],
- include_dirs=["Modules/_multiprocessing"]))
-
- def detect_uuid(self):
diff --git a/meta/recipes-devtools/python/python3/0001-skip-no_stdout_fileno-test-due-to-load-variability.patch b/meta/recipes-devtools/python/python3/0001-skip-no_stdout_fileno-test-due-to-load-variability.patch
new file mode 100644
index 0000000000..2d7bca6a77
--- /dev/null
+++ b/meta/recipes-devtools/python/python3/0001-skip-no_stdout_fileno-test-due-to-load-variability.patch
@@ -0,0 +1,29 @@
+From 217cea231462e7703e8c9ea39c0a6833f799a420 Mon Sep 17 00:00:00 2001
+From: Trevor Gamblin <tgamblin@baylibre.com>
+Date: Fri, 15 Sep 2023 08:48:33 -0400
+Subject: [PATCH] skip no_stdout_fileno test due to load variability
+
+Skip test_input_no_stdout_fileno so that it doesn't fail on systems
+under heavy load.
+
+Upstream-Status: Inappropriate [OE-Specific]
+
+[YOCTO #15210]
+
+Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
+---
+ Lib/test/test_builtin.py | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/Lib/test/test_builtin.py b/Lib/test/test_builtin.py
+index 4d03c46..b329b7a 100644
+--- a/Lib/test/test_builtin.py
++++ b/Lib/test/test_builtin.py
+@@ -2326,6 +2326,7 @@ class PtyTests(unittest.TestCase):
+ # Check stdin/stdout error handler is used when invoking PyOS_Readline()
+ self.check_input_tty("prompté", b"quux\xe9", "ascii")
+
++ @unittest.skip("Test may fail under heavy load")
+ def test_input_no_stdout_fileno(self):
+ # Issue #24402: If stdin is the original terminal but stdout.fileno()
+ # fails, do not use the original stdout file descriptor
diff --git a/meta/recipes-devtools/python/python3/0001-sysconfig.py-use-platlibdir-also-for-purelib.patch b/meta/recipes-devtools/python/python3/0001-sysconfig.py-use-platlibdir-also-for-purelib.patch
new file mode 100644
index 0000000000..fc52fdac26
--- /dev/null
+++ b/meta/recipes-devtools/python/python3/0001-sysconfig.py-use-platlibdir-also-for-purelib.patch
@@ -0,0 +1,28 @@
+From a5d429a0e1a4809c1ded7be7e45dcabeb82c53d8 Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin <alex@linutronix.de>
+Date: Sun, 12 Sep 2021 21:44:36 +0200
+Subject: [PATCH] sysconfig.py: use platlibdir also for purelib
+
+This is needed in multilib configurations where hardcoding 'lib'
+is not correct.
+
+Upstream-Status: Inappropriate [oe-core specific]
+Signed-off-by: Alexander Kanavin <alex@linutronix.de>
+
+---
+ Lib/sysconfig.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Lib/sysconfig.py b/Lib/sysconfig.py
+index 122d441..79c0510 100644
+--- a/Lib/sysconfig.py
++++ b/Lib/sysconfig.py
+@@ -28,7 +28,7 @@ _INSTALL_SCHEMES = {
+ 'posix_prefix': {
+ 'stdlib': '{installed_base}/{platlibdir}/python{py_version_short}',
+ 'platstdlib': '{platbase}/{platlibdir}/python{py_version_short}',
+- 'purelib': '{base}/lib/python{py_version_short}/site-packages',
++ 'purelib': '{base}/{platlibdir}/python{py_version_short}/site-packages',
+ 'platlib': '{platbase}/{platlibdir}/python{py_version_short}/site-packages',
+ 'include':
+ '{installed_base}/include/python{py_version_short}{abiflags}',
diff --git a/meta/recipes-devtools/python/python3/0001-test_ctypes.test_find-skip-without-tools-sdk.patch b/meta/recipes-devtools/python/python3/0001-test_ctypes.test_find-skip-without-tools-sdk.patch
new file mode 100644
index 0000000000..b4fe946cba
--- /dev/null
+++ b/meta/recipes-devtools/python/python3/0001-test_ctypes.test_find-skip-without-tools-sdk.patch
@@ -0,0 +1,34 @@
+From b64c131a576a4b4f821514e711ab91b1394fb4ff Mon Sep 17 00:00:00 2001
+From: Tim Orling <timothy.t.orling@intel.com>
+Date: Fri, 18 Jun 2021 11:56:50 -0700
+Subject: [PATCH] test_ctypes.test_find: skip without tools-sdk
+
+These tests need full packagegroup-core-buildessential, the
+easiest way to dynamically check for that is looking for
+'tools-sdk' in IMAGE_FEATURES.
+
+Upstream-Status: Inappropriate [oe-specific]
+
+Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
+
+---
+ Lib/test/test_ctypes/test_find.py | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/Lib/test/test_ctypes/test_find.py b/Lib/test/test_ctypes/test_find.py
+index 1ff9d01..59def26 100644
+--- a/Lib/test/test_ctypes/test_find.py
++++ b/Lib/test/test_ctypes/test_find.py
+@@ -113,10 +113,12 @@ class FindLibraryLinux(unittest.TestCase):
+ # LD_LIBRARY_PATH)
+ self.assertEqual(find_library(libname), 'lib%s.so' % libname)
+
++ @unittest.skip("Needs IMAGE_FEATURE += \"tools-sdk\"")
+ def test_find_library_with_gcc(self):
+ with unittest.mock.patch("ctypes.util._findSoname_ldconfig", lambda *args: None):
+ self.assertNotEqual(find_library('c'), None)
+
++ @unittest.skip("Needs IMAGE_FEATURE += \"tools-sdk\"")
+ def test_find_library_with_ld(self):
+ with unittest.mock.patch("ctypes.util._findSoname_ldconfig", lambda *args: None), \
+ unittest.mock.patch("ctypes.util._findLib_gcc", lambda *args: None):
diff --git a/meta/recipes-devtools/python/python3/0001-test_locale.py-correct-the-test-output-format.patch b/meta/recipes-devtools/python/python3/0001-test_locale.py-correct-the-test-output-format.patch
index 35b7e0c480..410a9fc7f1 100644
--- a/meta/recipes-devtools/python/python3/0001-test_locale.py-correct-the-test-output-format.patch
+++ b/meta/recipes-devtools/python/python3/0001-test_locale.py-correct-the-test-output-format.patch
@@ -1,4 +1,4 @@
-From b94995e0c694ec9561efec0d1a59b323340e6105 Mon Sep 17 00:00:00 2001
+From ef5728f0af14da5c9f80b0f038fe5bf6d44cb0e9 Mon Sep 17 00:00:00 2001
From: Mingli Yu <mingli.yu@windriver.com>
Date: Mon, 5 Aug 2019 15:57:39 +0800
Subject: [PATCH] test_locale.py: correct the test output format
@@ -23,24 +23,24 @@ Before this patch:
Upstream-Status: Submitted [https://github.com/python/cpython/pull/15132]
+Rebased for 3.9.4, still not accepted upstream Signed-off-by: Alejandro Hernandez <alejandro@enedino.org>
+
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
+
---
Lib/test/test_locale.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Lib/test/test_locale.py b/Lib/test/test_locale.py
-index e2c2178..558d63c 100644
+index b0d7998..cb12153 100644
--- a/Lib/test/test_locale.py
+++ b/Lib/test/test_locale.py
-@@ -527,7 +527,7 @@ class TestMiscellaneous(unittest.TestCase):
+@@ -557,7 +557,7 @@ class TestMiscellaneous(unittest.TestCase):
self.skipTest('test needs Turkish locale')
loc = locale.getlocale(locale.LC_CTYPE)
if verbose:
- print('testing with %a' % (loc,), end=' ', flush=True)
+ print('testing with %a...' % (loc,), end=' ', flush=True)
- locale.setlocale(locale.LC_CTYPE, loc)
- self.assertEqual(loc, locale.getlocale(locale.LC_CTYPE))
-
---
-2.7.4
-
+ try:
+ locale.setlocale(locale.LC_CTYPE, loc)
+ except locale.Error as exc:
diff --git a/meta/recipes-devtools/python/python3/0001-test_shutdown-skip-problematic-test.patch b/meta/recipes-devtools/python/python3/0001-test_shutdown-skip-problematic-test.patch
new file mode 100644
index 0000000000..1d4cda18b1
--- /dev/null
+++ b/meta/recipes-devtools/python/python3/0001-test_shutdown-skip-problematic-test.patch
@@ -0,0 +1,46 @@
+From 9d4cdbde100798ba9fa1cf3f82dbaf18fd10a543 Mon Sep 17 00:00:00 2001
+From: Trevor Gamblin <tgamblin@baylibre.com>
+Date: Wed, 8 May 2024 11:58:09 -0400
+Subject: [PATCH] test_shutdown: skip problematic test
+
+This test hangs frequently when run on the Autobuilder. Disable it in
+testing until the cause can be determined.
+
+Upstream-Status: Inappropriate [OE-Specific]
+
+Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
+---
+ Lib/test/test_concurrent_futures/test_shutdown.py | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/Lib/test/test_concurrent_futures/test_shutdown.py b/Lib/test/test_concurrent_futures/test_shutdown.py
+index 7a4065afd4..6b878a48bf 100644
+--- a/Lib/test/test_concurrent_futures/test_shutdown.py
++++ b/Lib/test/test_concurrent_futures/test_shutdown.py
+@@ -20,6 +20,7 @@ def sleep_and_print(t, msg):
+ sys.stdout.flush()
+
+
++@unittest.skip("skipping problematic test")
+ class ExecutorShutdownTest:
+ def test_run_after_shutdown(self):
+ self.executor.shutdown()
+@@ -156,6 +157,7 @@ def timeout(_signum, _frame):
+ signal.signal(signal.SIGALRM, old_handler)
+
+
++@unittest.skip("skipping problematic test")
+ class ThreadPoolShutdownTest(ThreadPoolMixin, ExecutorShutdownTest, BaseTestCase):
+ def test_threads_terminate(self):
+ def acquire_lock(lock):
+@@ -252,6 +254,7 @@ def test_cancel_futures_wait_false(self):
+ self.assertIn(out.strip(), [b"apple", b""])
+
+
++@unittest.skip("skipping problematic test")
+ class ProcessPoolShutdownTest(ExecutorShutdownTest):
+ def test_processes_terminate(self):
+ def acquire_lock(lock):
+--
+2.45.0
+
diff --git a/meta/recipes-devtools/python/python3/0001-test_storlines-skip-due-to-load-variability.patch b/meta/recipes-devtools/python/python3/0001-test_storlines-skip-due-to-load-variability.patch
new file mode 100644
index 0000000000..0d0eb08459
--- /dev/null
+++ b/meta/recipes-devtools/python/python3/0001-test_storlines-skip-due-to-load-variability.patch
@@ -0,0 +1,30 @@
+From dc69a1afdb3ba619705ff71e14f19ed3142e422f Mon Sep 17 00:00:00 2001
+From: Trevor Gamblin <tgamblin@baylibre.com>
+Date: Fri, 6 Oct 2023 10:59:44 -0400
+Subject: [PATCH] test_storlines: skip due to load variability
+
+This is yet another test that intermittently fails on the Yocto AB when
+a worker is under heavy load, so skip it during testing.
+
+Upstream-Status: Inappropriate [OE-Specific]
+
+[YOCTO #14933]
+
+Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
+
+---
+ Lib/test/test_ftplib.py | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/Lib/test/test_ftplib.py b/Lib/test/test_ftplib.py
+index 2f191ea..dc29346 100644
+--- a/Lib/test/test_ftplib.py
++++ b/Lib/test/test_ftplib.py
+@@ -626,6 +626,7 @@ class TestFTPClass(TestCase):
+ self.client.storbinary('stor', f, rest=r)
+ self.assertEqual(self.server.handler_instance.rest, str(r))
+
++ @unittest.skip('timing related test, dependent on load')
+ def test_storlines(self):
+ data = RETR_DATA.replace('\r\n', '\n').encode(self.client.encoding)
+ f = io.BytesIO(data)
diff --git a/meta/recipes-devtools/python/python3/0017-setup.py-do-not-report-missing-dependencies-for-disa.patch b/meta/recipes-devtools/python/python3/0017-setup.py-do-not-report-missing-dependencies-for-disa.patch
deleted file mode 100644
index 5c620361da..0000000000
--- a/meta/recipes-devtools/python/python3/0017-setup.py-do-not-report-missing-dependencies-for-disa.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From a2dd127b4163aff6cc35af0d0251321964232ad4 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin <alex.kanavin@gmail.com>
-Date: Mon, 7 Oct 2019 13:22:14 +0200
-Subject: [PATCH] setup.py: do not report missing dependencies for disabled
- modules
-
-Reporting those missing dependencies is misleading as the modules would not
-have been built anyway. This particularly matters in oe-core's automated
-build completeness checker which relies on the report.
-
-Upstream-Status: Inappropriate [oe-core specific]
-Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
-
----
- setup.py | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/setup.py b/setup.py
-index 7691258..ec3f2a4 100644
---- a/setup.py
-+++ b/setup.py
-@@ -408,6 +408,10 @@ class PyBuildExt(build_ext):
- print("%-*s %-*s %-*s" % (longest, e, longest, f,
- longest, g))
-
-+ # There is no need to report missing module dependencies,
-+ # if the modules have been disabled in the first place.
-+ self.missing = list(set(self.missing) - set(mods_disabled))
-+
- if self.missing:
- print()
- print("Python build finished successfully!")
diff --git a/meta/recipes-devtools/python/python3/0020-configure.ac-setup.py-do-not-add-a-curses-include-pa.patch b/meta/recipes-devtools/python/python3/0020-configure.ac-setup.py-do-not-add-a-curses-include-pa.patch
index e04a91605c..0661249bfd 100644
--- a/meta/recipes-devtools/python/python3/0020-configure.ac-setup.py-do-not-add-a-curses-include-pa.patch
+++ b/meta/recipes-devtools/python/python3/0020-configure.ac-setup.py-do-not-add-a-curses-include-pa.patch
@@ -1,8 +1,7 @@
-From 863c09f640a5dfd33ff22915b0d5fee7bc5df70a Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin <alex.kanavin@gmail.com>
-Date: Sun, 16 Feb 2020 17:50:25 +0100
-Subject: [PATCH] configure.ac, setup.py: do not add a curses include path from
- the host
+From d0205c60d08f51d84bd8ddc07a57e8c71710fdad Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin <alex@linutronix.de>
+Date: Fri, 17 Nov 2023 14:16:40 +0100
+Subject: [PATCH] configure.ac: do not add a curses include path from the host
This leads to host contamination, and particularly can cause
curses modules to fail at runtime if the host curses is configured
@@ -13,16 +12,15 @@ Upstream-Status: Inappropriate [oe-core specific]
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
configure.ac | 6 ------
- setup.py | 2 --
- 2 files changed, 8 deletions(-)
+ 1 file changed, 6 deletions(-)
diff --git a/configure.ac b/configure.ac
-index 915f475..c911011 100644
+index c49cd4f..affdedf 100644
--- a/configure.ac
+++ b/configure.ac
-@@ -4828,12 +4828,6 @@ then
- [Define if you have struct stat.st_mtimensec])
- fi
+@@ -6508,12 +6508,6 @@ AS_VAR_IF([have_panel], [no], [
+ AC_MSG_RESULT([$have_panel (CFLAGS: $PANEL_CFLAGS, LIBS: $PANEL_LIBS)])
+ ])
-# first curses header check
-ac_save_cppflags="$CPPFLAGS"
@@ -30,19 +28,6 @@ index 915f475..c911011 100644
- CPPFLAGS="$CPPFLAGS -I/usr/include/ncursesw"
-fi
-
- AC_CHECK_HEADERS(curses.h ncurses.h)
-
# On Solaris, term.h requires curses.h
-diff --git a/setup.py b/setup.py
-index b0f1541..7208cd0 100644
---- a/setup.py
-+++ b/setup.py
-@@ -973,8 +973,6 @@ class PyBuildExt(build_ext):
- panel_library = 'panel'
- if curses_library == 'ncursesw':
- curses_defines.append(('HAVE_NCURSESW', '1'))
-- if not CROSS_COMPILING:
-- curses_includes.append('/usr/include/ncursesw')
- # Bug 1464056: If _curses.so links with ncursesw,
- # _curses_panel.so must link with panelw.
- panel_library = 'panelw'
+ AC_CHECK_HEADERS([term.h], [], [], [
+ #ifdef HAVE_CURSES_H
diff --git a/meta/recipes-devtools/python/python3/12-distutils-prefix-is-inside-staging-area.patch b/meta/recipes-devtools/python/python3/12-distutils-prefix-is-inside-staging-area.patch
deleted file mode 100644
index 5a39cf8933..0000000000
--- a/meta/recipes-devtools/python/python3/12-distutils-prefix-is-inside-staging-area.patch
+++ /dev/null
@@ -1,60 +0,0 @@
-From c52fa7948ef109db1132fdc1aee0b68f8d767b4e Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Tue, 14 May 2013 15:00:26 -0700
-Subject: [PATCH 1/2] python3: Add target and native recipes
-
-Upstream-Status: Inappropriate [embedded specific]
-
-02/2015 Rebased for Python 3.4.2
-
-The proper prefix is inside our staging area.
-Signed-Off: Michael 'Mickey' Lauer <mickey@vanille-media.de>
-Signed-off-by: Phil Blundell <philb@gnu.org>
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
-Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
----
- Lib/distutils/sysconfig.py | 14 +++++++++++---
- 1 file changed, 11 insertions(+), 3 deletions(-)
-
-diff --git a/Lib/distutils/sysconfig.py b/Lib/distutils/sysconfig.py
-index 4774e12..ccf7d58 100644
---- a/Lib/distutils/sysconfig.py
-+++ b/Lib/distutils/sysconfig.py
-@@ -95,7 +95,9 @@ def get_python_inc(plat_specific=0, prefix=None):
- If 'prefix' is supplied, use it instead of sys.base_prefix or
- sys.base_exec_prefix -- i.e., ignore 'plat_specific'.
- """
-- if prefix is None:
-+ if prefix is None and os.environ.get('STAGING_INCDIR', ""):
-+ prefix = os.environ['STAGING_INCDIR'].rstrip('include')
-+ elif prefix is None:
- prefix = plat_specific and BASE_EXEC_PREFIX or BASE_PREFIX
- if os.name == "posix":
- if python_build:
-@@ -138,7 +140,13 @@ def get_python_lib(plat_specific=0, standard_lib=0, prefix=None):
- If 'prefix' is supplied, use it instead of sys.base_prefix or
- sys.base_exec_prefix -- i.e., ignore 'plat_specific'.
- """
-- if prefix is None:
-+ if os.environ.get('STAGING_LIBDIR', ""):
-+ lib_basename = os.environ['STAGING_LIBDIR'].split('/')[-1]
-+ else:
-+ lib_basename = "lib"
-+ if prefix is None and os.environ.get('STAGING_LIBDIR', ""):
-+ prefix = os.environ['STAGING_LIBDIR'].rstrip(lib_basename)
-+ elif prefix is None:
- if standard_lib:
- prefix = plat_specific and BASE_EXEC_PREFIX or BASE_PREFIX
- else:
-@@ -152,7 +160,7 @@ def get_python_lib(plat_specific=0, standard_lib=0, prefix=None):
- else:
- # Pure Python
- libdir = "lib"
-- libpython = os.path.join(prefix, libdir,
-+ libpython = os.path.join(prefix, lib_basename,
- "python" + get_python_version())
- if standard_lib:
- return libpython
---
-2.24.0
-
diff --git a/meta/recipes-devtools/python/python3/CVE-2020-27619.patch b/meta/recipes-devtools/python/python3/CVE-2020-27619.patch
deleted file mode 100644
index b2053e7a47..0000000000
--- a/meta/recipes-devtools/python/python3/CVE-2020-27619.patch
+++ /dev/null
@@ -1,69 +0,0 @@
-From b664a1df4ee71d3760ab937653b10997081b1794 Mon Sep 17 00:00:00 2001
-From: "Miss Skeleton (bot)" <31488909+miss-islington@users.noreply.github.com>
-Date: Tue, 6 Oct 2020 05:37:36 -0700
-Subject: [PATCH] bpo-41944: No longer call eval() on content received via HTTP
- in the CJK codec tests (GH-22566)
-
-(cherry picked from commit 2ef5caa58febc8968e670e39e3d37cf8eef3cab8)
-
-Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
-
-Upstream-Status: Backport [https://github.com/python/cpython/commit/b664a1df4ee71d3760ab937653b10997081b1794]
-CVE: CVE-2020-27619
-Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
-
----
- Lib/test/multibytecodec_support.py | 22 +++++++------------
- .../2020-10-05-17-43-46.bpo-41944.rf1dYb.rst | 1 +
- 2 files changed, 9 insertions(+), 14 deletions(-)
- create mode 100644 Misc/NEWS.d/next/Tests/2020-10-05-17-43-46.bpo-41944.rf1dYb.rst
-
-diff --git a/Lib/test/multibytecodec_support.py b/Lib/test/multibytecodec_support.py
-index cca8af67d6d1d..f76c0153f5ecf 100644
---- a/Lib/test/multibytecodec_support.py
-+++ b/Lib/test/multibytecodec_support.py
-@@ -305,29 +305,23 @@ def test_mapping_file(self):
- self._test_mapping_file_plain()
-
- def _test_mapping_file_plain(self):
-- unichrs = lambda s: ''.join(map(chr, map(eval, s.split('+'))))
-+ def unichrs(s):
-+ return ''.join(chr(int(x, 16)) for x in s.split('+'))
-+
- urt_wa = {}
-
- with self.open_mapping_file() as f:
- for line in f:
- if not line:
- break
-- data = line.split('#')[0].strip().split()
-+ data = line.split('#')[0].split()
- if len(data) != 2:
- continue
-
-- csetval = eval(data[0])
-- if csetval <= 0x7F:
-- csetch = bytes([csetval & 0xff])
-- elif csetval >= 0x1000000:
-- csetch = bytes([(csetval >> 24), ((csetval >> 16) & 0xff),
-- ((csetval >> 8) & 0xff), (csetval & 0xff)])
-- elif csetval >= 0x10000:
-- csetch = bytes([(csetval >> 16), ((csetval >> 8) & 0xff),
-- (csetval & 0xff)])
-- elif csetval >= 0x100:
-- csetch = bytes([(csetval >> 8), (csetval & 0xff)])
-- else:
-+ if data[0][:2] != '0x':
-+ self.fail(f"Invalid line: {line!r}")
-+ csetch = bytes.fromhex(data[0][2:])
-+ if len(csetch) == 1 and 0x80 <= csetch[0]:
- continue
-
- unich = unichrs(data[1])
-diff --git a/Misc/NEWS.d/next/Tests/2020-10-05-17-43-46.bpo-41944.rf1dYb.rst b/Misc/NEWS.d/next/Tests/2020-10-05-17-43-46.bpo-41944.rf1dYb.rst
-new file mode 100644
-index 0000000000000..4f9782f1c85af
---- /dev/null
-+++ b/Misc/NEWS.d/next/Tests/2020-10-05-17-43-46.bpo-41944.rf1dYb.rst
-@@ -0,0 +1 @@
-+Tests for CJK codecs no longer call ``eval()`` on content received via HTTP.
diff --git a/meta/recipes-devtools/python/python3/avoid_warning_about_tkinter.patch b/meta/recipes-devtools/python/python3/avoid_warning_about_tkinter.patch
deleted file mode 100644
index 184540e794..0000000000
--- a/meta/recipes-devtools/python/python3/avoid_warning_about_tkinter.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From ba7202700578d435b07cfdfb7b57e83185752800 Mon Sep 17 00:00:00 2001
-From: Andrei Gherzan <andrei@gherzan.ro>
-Date: Mon, 28 Jan 2019 15:57:54 +0000
-Subject: [PATCH] _tkinter module needs tk module along with tcl. tk is not yet
- integrated in yocto so we skip the check for this module. Avoid a warning by
- not adding this module to missing variable.
-
-Upstream-Status: Inappropriate [distribution]
-
-Also simply disable the tk module since its not in DEPENDS.
-Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
-
----
- setup.py | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/setup.py b/setup.py
-index ab18ff0..7691258 100644
---- a/setup.py
-+++ b/setup.py
-@@ -1706,8 +1706,8 @@ class PyBuildExt(build_ext):
- self.detect_decimal()
- self.detect_ctypes()
- self.detect_multiprocessing()
-- if not self.detect_tkinter():
-- self.missing.append('_tkinter')
-+# if not self.detect_tkinter():
-+# self.missing.append('_tkinter')
- self.detect_uuid()
-
- ## # Uncomment these lines if you want to play with xxmodule.c
diff --git a/meta/recipes-devtools/python/python3/cgi_py.patch b/meta/recipes-devtools/python/python3/cgi_py.patch
index 6c4ba54320..8262c88e73 100644
--- a/meta/recipes-devtools/python/python3/cgi_py.patch
+++ b/meta/recipes-devtools/python/python3/cgi_py.patch
@@ -1,4 +1,4 @@
-From 62336285cba38017b35cb761c03f0c7e80a671a3 Mon Sep 17 00:00:00 2001
+From a56778372fe8dc7c42f5ffd911d89498c22dd064 Mon Sep 17 00:00:00 2001
From: Mark Hatle <mark.hatle@windriver.com>
Date: Wed, 21 Sep 2011 20:55:33 -0500
Subject: [PATCH] Lib/cgi.py: Update the script as mentioned in the comment
@@ -12,7 +12,7 @@ Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
1 file changed, 1 insertion(+), 10 deletions(-)
diff --git a/Lib/cgi.py b/Lib/cgi.py
-index 8cf6687..094c7b4 100755
+index 8787567..ebe8652 100755
--- a/Lib/cgi.py
+++ b/Lib/cgi.py
@@ -1,13 +1,4 @@
diff --git a/meta/recipes-devtools/python/python3/create_manifest3.py b/meta/recipes-devtools/python/python3/create_manifest3.py
index 4da02a2991..045240ea0b 100644
--- a/meta/recipes-devtools/python/python3/create_manifest3.py
+++ b/meta/recipes-devtools/python/python3/create_manifest3.py
@@ -36,7 +36,7 @@
# Tha method to handle cached files does not work when a module includes a folder which
# itself contains the pycache folder, gladly this is almost never the case.
#
-# Author: Alejandro Enedino Hernandez Samaniego "aehs29" <aehs29 at gmail dot com>
+# Author: Alejandro Enedino Hernandez Samaniego <alejandro at enedino dot org>
import sys
@@ -45,6 +45,11 @@ import json
import os
import collections
+if '-d' in sys.argv:
+ debugFlag = '-d'
+else:
+ debugFlag = ''
+
# Get python version from ${PYTHON_MAJMIN}
pyversion = str(sys.argv[1])
@@ -84,6 +89,12 @@ def prepend_comments(comments, json_manifest):
manifest.seek(0, 0)
manifest.write(comments + json_contents)
+def print_indent(msg, offset):
+ for l in msg.splitlines():
+ msg = ' ' * offset + l
+ print(msg)
+
+
# Read existing JSON manifest
with open('python3-manifest.json') as manifest:
# The JSON format doesn't allow comments so we hack the call to keep the comments using a marker
@@ -99,7 +110,7 @@ with open('python3-manifest.json') as manifest:
# Not exactly the same so it should not be a function
#
-print ('Getting dependencies for package: core')
+print_indent('Getting dependencies for package: core', 0)
# This special call gets the core dependencies and
@@ -109,7 +120,7 @@ print ('Getting dependencies for package: core')
# on the new core package, they will still find them
# even when checking the old_manifest
-output = subprocess.check_output([sys.executable, 'get_module_deps3.py', 'python-core-package']).decode('utf8')
+output = subprocess.check_output([sys.executable, 'get_module_deps3.py', 'python-core-package', '%s' % debugFlag]).decode('utf8')
for coredep in output.split():
coredep = coredep.replace(pyversion,'${PYTHON_MAJMIN}')
if isCached(coredep):
@@ -149,17 +160,16 @@ for filedep in old_manifest['core']['files']:
# Get actual module name , shouldnt be affected by libdir/bindir, etc.
pymodule = os.path.splitext(os.path.basename(os.path.normpath(filedep)))[0]
-
# We now know that were dealing with a python module, so we can import it
# and check what its dependencies are.
# We launch a separate task for each module for deterministic behavior.
# Each module will only import what is necessary for it to work in specific.
# The output of each task will contain each module's dependencies
- print ('Getting dependencies for module: %s' % pymodule)
- output = subprocess.check_output([sys.executable, 'get_module_deps3.py', '%s' % pymodule]).decode('utf8')
- print ('The following dependencies were found for module %s:\n' % pymodule)
- print (output)
+ print_indent('Getting dependencies for module: %s' % pymodule, 2)
+ output = subprocess.check_output([sys.executable, 'get_module_deps3.py', '%s' % pymodule, '%s' % debugFlag]).decode('utf8')
+ print_indent('The following dependencies were found for module %s:\n' % pymodule, 4)
+ print_indent(output, 6)
for pymodule_dep in output.split():
@@ -178,12 +188,13 @@ for filedep in old_manifest['core']['files']:
# all others will use this a base.
+print('\n\nChecking for directories...\n')
# To improve the script speed, we check which packages contain directories
# since we will be looping through (only) those later.
for pypkg in old_manifest:
for filedep in old_manifest[pypkg]['files']:
if isFolder(filedep):
- print ('%s is a folder' % filedep)
+ print_indent('%s is a directory' % filedep, 2)
if pypkg not in hasfolders:
hasfolders.append(pypkg)
if filedep not in allfolders:
@@ -221,14 +232,14 @@ for pypkg in old_manifest:
print('\n')
print('--------------------------')
- print ('Handling package %s' % pypkg)
+ print('Handling package %s' % pypkg)
print('--------------------------')
# Handle special cases, we assume that when they were manually added
# to the manifest we knew what we were doing.
special_packages = ['misc', 'modules', 'dev', 'tests']
if pypkg in special_packages or 'staticdev' in pypkg:
- print('Passing %s package directly' % pypkg)
+ print_indent('Passing %s package directly' % pypkg, 2)
new_manifest[pypkg] = old_manifest[pypkg]
continue
@@ -259,7 +270,7 @@ for pypkg in old_manifest:
# Get actual module name , shouldnt be affected by libdir/bindir, etc.
# We need to check if the imported module comes from another (e.g. sqlite3.dump)
- path,pymodule = os.path.split(filedep)
+ path, pymodule = os.path.split(filedep)
path = os.path.basename(path)
pymodule = os.path.splitext(os.path.basename(pymodule))[0]
@@ -279,10 +290,10 @@ for pypkg in old_manifest:
# Each module will only import what is necessary for it to work in specific.
# The output of each task will contain each module's dependencies
- print ('\nGetting dependencies for module: %s' % pymodule)
- output = subprocess.check_output([sys.executable, 'get_module_deps3.py', '%s' % pymodule]).decode('utf8')
- print ('The following dependencies were found for module %s:\n' % pymodule)
- print (output)
+ print_indent('\nGetting dependencies for module: %s' % pymodule, 2)
+ output = subprocess.check_output([sys.executable, 'get_module_deps3.py', '%s' % pymodule, '%s' % debugFlag]).decode('utf8')
+ print_indent('The following dependencies were found for module %s:\n' % pymodule, 4)
+ print_indent(output, 6)
reportFILES = []
reportRDEPS = []
@@ -325,7 +336,7 @@ for pypkg in old_manifest:
# print('Checking folder %s on package %s' % (pymodule_dep,pypkg_with_folder))
for folder_dep in old_manifest[pypkg_with_folder]['files'] or folder_dep in old_manifest[pypkg_with_folder]['cached']:
if folder_dep == folder:
- print ('%s folder found in %s' % (folder, pypkg_with_folder))
+ print ('%s directory found in %s' % (folder, pypkg_with_folder))
folderFound = True
if pypkg_with_folder not in new_manifest[pypkg]['rdepends'] and pypkg_with_folder != pypkg:
new_manifest[pypkg]['rdepends'].append(pypkg_with_folder)
@@ -424,7 +435,7 @@ prepend_comments(comments,'python3-manifest.json.new')
if (repeated):
error_msg = '\n\nERROR:\n'
- error_msg += 'The following files are repeated (contained in more than one package),\n'
+ error_msg += 'The following files were found in more than one package),\n'
error_msg += 'this is likely to happen when new files are introduced after an upgrade,\n'
error_msg += 'please check which package should get it,\n modify the manifest accordingly and re-run the create_manifest task:\n'
error_msg += '\n'.join(repeated)
diff --git a/meta/recipes-devtools/python/python3/crosspythonpath.patch b/meta/recipes-devtools/python/python3/crosspythonpath.patch
index d789ab57d4..2c4aef0511 100644
--- a/meta/recipes-devtools/python/python3/crosspythonpath.patch
+++ b/meta/recipes-devtools/python/python3/crosspythonpath.patch
@@ -1,4 +1,8 @@
-configure.ac: add CROSSPYTHONPATH into PYTHONPATH for PYTHON_FOR_BUILD
+From 5b66463c10fec1440e977d5a21a0167862d6d79c Mon Sep 17 00:00:00 2001
+From: Ricardo Ribalda <ricardo@ribalda.com>
+Date: Tue, 18 Nov 2014 03:35:33 -0500
+Subject: [PATCH] configure.ac: add CROSSPYTHONPATH into PYTHONPATH for
+ PYTHON_FOR_BUILD
When building x86->x86 the system will try to execute .so and related items
from the default PYTHONPATH. This will fail if the target CPU contains
@@ -10,16 +14,21 @@ Upstream-Status: Inappropriate [OE-Core integration specific]
Credits-to: Mark Hatle <mark.hatle@windriver.com>
Credits-to: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ricardo Ribalda <ricardo@ribalda.com>
+
+---
+ configure.ac | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
diff --git a/configure.ac b/configure.ac
-index 4ab19a6..7036a53 100644
+index cb9e198..d81c19a 100644
--- a/configure.ac
+++ b/configure.ac
-@@ -76,7 +76,7 @@ if test "$cross_compiling" = yes; then
- AC_MSG_ERROR([python$PACKAGE_VERSION interpreter not found])
- fi
- AC_MSG_RESULT($interp)
-- PYTHON_FOR_BUILD='_PYTHON_PROJECT_BASE=$(abs_builddir) _PYTHON_HOST_PLATFORM=$(_PYTHON_HOST_PLATFORM) PYTHONPATH=$(shell test -f pybuilddir.txt && echo $(abs_builddir)/`cat pybuilddir.txt`:)$(srcdir)/Lib _PYTHON_SYSCONFIGDATA_NAME=_sysconfigdata_$(ABIFLAGS)_$(MACHDEP)_$(MULTIARCH) '$interp
-+ PYTHON_FOR_BUILD='_PYTHON_PROJECT_BASE=$(abs_builddir) _PYTHON_HOST_PLATFORM=$(_PYTHON_HOST_PLATFORM) PYTHONPATH=$(CROSSPYTHONPATH):$(shell test -f pybuilddir.txt && echo $(abs_builddir)/`cat pybuilddir.txt`:)$(srcdir)/Lib _PYTHON_SYSCONFIGDATA_NAME=_sysconfigdata_$(ABIFLAGS)_$(MACHDEP)_$(MULTIARCH) '$interp
- fi
- elif test "$cross_compiling" = maybe; then
- AC_MSG_ERROR([Cross compiling required --host=HOST-TUPLE and --build=ARCH])
+@@ -165,7 +165,7 @@ AC_ARG_WITH([build-python],
+ dnl Build Python interpreter is used for regeneration and freezing.
+ ac_cv_prog_PYTHON_FOR_REGEN=$with_build_python
+ PYTHON_FOR_FREEZE="$with_build_python"
+- PYTHON_FOR_BUILD='_PYTHON_PROJECT_BASE=$(abs_builddir) _PYTHON_HOST_PLATFORM=$(_PYTHON_HOST_PLATFORM) PYTHONPATH=$(shell test -f pybuilddir.txt && echo $(abs_builddir)/`cat pybuilddir.txt`:)$(srcdir)/Lib _PYTHON_SYSCONFIGDATA_NAME=_sysconfigdata_$(ABIFLAGS)_$(MACHDEP)_$(MULTIARCH) '$with_build_python
++ PYTHON_FOR_BUILD='_PYTHON_PROJECT_BASE=$(abs_builddir) _PYTHON_HOST_PLATFORM=$(_PYTHON_HOST_PLATFORM) PYTHONPATH=$(CROSSPYTHONPATH):$(shell test -f pybuilddir.txt && echo $(abs_builddir)/`cat pybuilddir.txt`:)$(srcdir)/Lib _PYTHON_SYSCONFIGDATA_NAME=_sysconfigdata_$(ABIFLAGS)_$(MACHDEP)_$(MULTIARCH) '$with_build_python
+ AC_MSG_RESULT([$with_build_python])
+ ], [
+ AS_VAR_IF([cross_compiling], [yes],
diff --git a/meta/recipes-devtools/python/python3/deterministic_imports.patch b/meta/recipes-devtools/python/python3/deterministic_imports.patch
new file mode 100644
index 0000000000..104df94964
--- /dev/null
+++ b/meta/recipes-devtools/python/python3/deterministic_imports.patch
@@ -0,0 +1,40 @@
+From 039d5e652796b55f1132afa568c7432b6ed89afd Mon Sep 17 00:00:00 2001
+From: Richard Purdie <richard.purdie@linuxfoundation.org>
+Date: Fri, 27 May 2022 17:05:44 +0100
+Subject: [PATCH] python3: Ensure stale empty python module directories don't
+
+There are two issues here. Firstly, the modules are accessed in on disk order. This
+means behaviour seen on one system might not reproduce on another and is a real headache.
+
+Secondly, empty directories left behind by previous modules might be looked at. This
+has caused a long string of different issues for us.
+
+As a result, patch this to a behaviour which works for us.
+
+Upstream-Status: Pending [need to talk to upstream to see if they'll take one or both fixes]
+Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
+
+---
+ Lib/importlib/metadata/__init__.py | 9 ++++++++-
+ 1 file changed, 8 insertions(+), 1 deletion(-)
+
+diff --git a/Lib/importlib/metadata/__init__.py b/Lib/importlib/metadata/__init__.py
+index 82e0ce1..969cac4 100644
+--- a/Lib/importlib/metadata/__init__.py
++++ b/Lib/importlib/metadata/__init__.py
+@@ -710,7 +710,14 @@ class Lookup:
+ self.infos = FreezableDefaultDict(list)
+ self.eggs = FreezableDefaultDict(list)
+
+- for child in path.children():
++ for child in sorted(path.children()):
++ childpath = pathlib.Path(path.root, child)
++ try:
++ if childpath.is_dir() and not any(childpath.iterdir()):
++ # Empty directories aren't interesting
++ continue
++ except PermissionError:
++ continue
+ low = child.lower()
+ if low.endswith((".dist-info", ".egg-info")):
+ # rpartition is faster than splitext and suitable for this purpose.
diff --git a/meta/recipes-devtools/python/python3/get_module_deps3.py b/meta/recipes-devtools/python/python3/get_module_deps3.py
index 6806f23172..8e432b49af 100644
--- a/meta/recipes-devtools/python/python3/get_module_deps3.py
+++ b/meta/recipes-devtools/python/python3/get_module_deps3.py
@@ -3,14 +3,18 @@
# them out, the output of this execution will have all dependencies
# for a specific module, which will be parsed an dealt on create_manifest.py
#
-# Author: Alejandro Enedino Hernandez Samaniego "aehs29" <aehs29@gmail.com>
+# Author: Alejandro Enedino Hernandez Samaniego <alejandro at enedino dot org>
-# We can get a log per module, for all the dependencies that were found, but its messy.
-debug=False
import sys
import os
+# We can get a log per module, for all the dependencies that were found, but its messy.
+if '-d' in sys.argv:
+ debug = True
+else:
+ debug = False
+
# We can get a list of the modules which are currently required to run python
# so we run python-core and get its modules, we then import what we need
# and check what modules are currently running, if we substract them from the
@@ -19,16 +23,16 @@ import os
# We use importlib to achieve this, so we also need to know what modules importlib needs
import importlib
-core_deps=set(sys.modules)
+core_deps = set(sys.modules)
def fix_path(dep_path):
import os
# We DONT want the path on our HOST system
- pivot='recipe-sysroot-native'
- dep_path=dep_path[dep_path.find(pivot)+len(pivot):]
+ pivot = 'recipe-sysroot-native'
+ dep_path = dep_path[dep_path.find(pivot)+len(pivot):]
if '/usr/bin' in dep_path:
- dep_path = dep_path.replace('/usr/bin''${bindir}')
+ dep_path = dep_path.replace('/usr/bin','${bindir}')
# Handle multilib, is there a better way?
if '/usr/lib32' in dep_path:
@@ -46,13 +50,13 @@ def fix_path(dep_path):
# Module to import was passed as an argument
current_module = str(sys.argv[1]).rstrip()
-if(debug==True):
- log = open('log_%s' % current_module,'w')
+if debug == True:
+ log = open('temp/log_%s' % current_module.strip('.*'),'w')
log.write('Module %s generated the following dependencies:\n' % current_module)
try:
m = importlib.import_module(current_module)
# handle python packages which may not include all modules in the __init__
- if os.path.basename(m.__file__) == "__init__.py":
+ if hasattr(m, '__file__') and os.path.basename(m.__file__) == "__init__.py":
modulepath = os.path.dirname(m.__file__)
for i in os.listdir(modulepath):
if i.startswith("_") or not(i.endswith(".py")):
@@ -63,13 +67,13 @@ try:
except:
pass # ignore all import or other exceptions raised during import
except ImportError as e:
- if (debug==True):
- log.write('Module was not found')
+ if debug == True:
+ log.write('Module was not found\n')
pass
# Get current module dependencies, dif will contain a list of specific deps for this module
-module_deps=set(sys.modules)
+module_deps = set(sys.modules)
# We handle the core package (1st pass on create_manifest.py) as a special case
if current_module == 'python-core-package':
@@ -81,14 +85,18 @@ else:
# Check where each dependency came from
for item in dif:
- dep_path=''
+ # Main module returns script filename, __main matches mp_main__ as well
+ if 'main__' in item:
+ continue
+
+ dep_path = ''
try:
- if (debug==True):
- log.write('Calling: sys.modules[' + '%s' % item + '].__file__\n')
+ if debug == True:
+ log.write('\nCalling: sys.modules[' + '%s' % item + '].__file__\n')
dep_path = sys.modules['%s' % item].__file__
except AttributeError as e:
# Deals with thread (builtin module) not having __file__ attribute
- if debug==True:
+ if debug == True:
log.write(item + ' ')
log.write(str(e))
log.write('\n')
@@ -96,11 +104,16 @@ for item in dif:
except NameError as e:
# Deals with NameError: name 'dep_path' is not defined
# because module is not found (wasn't compiled?), e.g. bddsm
- if (debug==True):
+ if debug == True:
log.write(item+' ')
log.write(str(e))
pass
+ if dep_path == '':
+ continue
+ if debug == True:
+ log.write('Dependency path found:\n%s\n' % dep_path)
+
# Site-customize is a special case since we (OpenEmbedded) put it there manually
if 'sitecustomize' in dep_path:
dep_path = '${libdir}/python${PYTHON_MAJMIN}/sitecustomize.py'
@@ -111,52 +124,51 @@ for item in dif:
dep_path = fix_path(dep_path)
import sysconfig
- soabi=sysconfig.get_config_var('SOABI')
+ soabi = sysconfig.get_config_var('SOABI')
# Check if its a shared library and deconstruct it
if soabi in dep_path:
- if (debug==True):
- log.write('Shared library found in %s' % dep_path)
+ if debug == True:
+ log.write('Shared library found in %s\n' % dep_path)
dep_path = dep_path.replace(soabi,'*')
print (dep_path)
continue
if "_sysconfigdata" in dep_path:
dep_path = dep_path.replace(sysconfig._get_sysconfigdata_name(), "_sysconfigdata*")
- if (debug==True):
+ if debug == True:
log.write(dep_path+'\n')
# Prints out result, which is what will be used by create_manifest
print (dep_path)
- import imp
- cpython_tag = imp.get_tag()
- cached=''
+ cpython_tag = sys.implementation.cache_tag
+ cached = ''
# Theres no naive way to find *.pyc files on python3
try:
- if (debug==True):
- log.write('Calling: sys.modules[' + '%s' % item + '].__cached__\n')
+ if debug == True:
+ log.write('\nCalling: sys.modules[' + '%s' % item + '].__cached__\n')
cached = sys.modules['%s' % item].__cached__
except AttributeError as e:
# Deals with thread (builtin module) not having __cached__ attribute
- if debug==True:
+ if debug == True:
log.write(item + ' ')
log.write(str(e))
log.write('\n')
pass
except NameError as e:
# Deals with NameError: name 'cached' is not defined
- if (debug==True):
+ if debug == True:
log.write(item+' ')
log.write(str(e))
pass
if cached is not None:
- if (debug==True):
- log.write(cached)
+ if debug == True:
+ log.write(cached + '\n')
cached = fix_path(cached)
cached = cached.replace(cpython_tag,'*')
if "_sysconfigdata" in cached:
cached = cached.replace(sysconfig._get_sysconfigdata_name(), "_sysconfigdata*")
print (cached)
-if debug==True:
+if debug == True:
log.close()
diff --git a/meta/recipes-devtools/python/python3/makerace.patch b/meta/recipes-devtools/python/python3/makerace.patch
new file mode 100644
index 0000000000..c1b20703e6
--- /dev/null
+++ b/meta/recipes-devtools/python/python3/makerace.patch
@@ -0,0 +1,31 @@
+From 9f827c29adbe656af3c8fc963fdd8f47aec0c442 Mon Sep 17 00:00:00 2001
+From: Richard Purdie <richard.purdie@linuxfoundation.org>
+Date: Tue, 13 Jul 2021 23:19:29 +0100
+Subject: [PATCH] python3: Fix make race
+
+libainstall installs python-config.py but the .pyc cache files are generated
+by the libinstall target. This means some builds may not generate the pyc files
+for python-config.py depending on the order things happen in. This means builds
+are not always reproducible.
+
+Add a dependency to avoid the race.
+
+Upstream-Status: Pending
+Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
+---
+ Makefile.pre.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile.pre.in b/Makefile.pre.in
+index 381feb0..77bf09a 100644
+--- a/Makefile.pre.in
++++ b/Makefile.pre.in
+@@ -2250,7 +2250,7 @@ COMPILEALL_OPTS=-j0
+ TEST_MODULES=@TEST_MODULES@
+
+ .PHONY: libinstall
+-libinstall: all $(srcdir)/Modules/xxmodule.c
++libinstall: all $(srcdir)/Modules/xxmodule.c libainstall
+ @for i in $(SCRIPTDIR) $(LIBDEST); \
+ do \
+ if test ! -d $(DESTDIR)$$i; then \
diff --git a/meta/recipes-devtools/python/python3/python-config.patch b/meta/recipes-devtools/python/python3/python-config.patch
deleted file mode 100644
index d0ddbbc7fd..0000000000
--- a/meta/recipes-devtools/python/python3/python-config.patch
+++ /dev/null
@@ -1,54 +0,0 @@
-From 57d073c12e7bede29919117b0141df14015eb27f Mon Sep 17 00:00:00 2001
-From: Tyler Hall <tylerwhall@gmail.com>
-Date: Sun, 4 May 2014 20:06:43 -0400
-Subject: [PATCH] python-config: Revert to using distutils.sysconfig
-
-The newer sysconfig module shares some code with distutils.sysconfig, but the same modifications as in
-
-12-distutils-prefix-is-inside-staging-area.patch makes distutils.sysconfig
-
-affect the native runtime as well as cross building. Use the old, patched
-implementation which returns paths in the staging directory and for the target,
-as appropriate.
-
-Upstream-Status: Inappropriate [Embedded Specific]
-
-Signed-off-by: Tyler Hall <tylerwhall@gmail.com>
-:
-
----
- Misc/python-config.in | 10 +++++-----
- 1 file changed, 5 insertions(+), 5 deletions(-)
-
-diff --git a/Misc/python-config.in b/Misc/python-config.in
-index ebd99da..13e57ae 100644
---- a/Misc/python-config.in
-+++ b/Misc/python-config.in
-@@ -6,7 +6,7 @@
- import getopt
- import os
- import sys
--import sysconfig
-+from distutils import sysconfig
-
- valid_opts = ['prefix', 'exec-prefix', 'includes', 'libs', 'cflags',
- 'ldflags', 'extension-suffix', 'help', 'abiflags', 'configdir',
-@@ -35,14 +35,14 @@ if '--help' in opt_flags:
-
- for opt in opt_flags:
- if opt == '--prefix':
-- print(getvar('prefix'))
-+ print(sysconfig.PREFIX)
-
- elif opt == '--exec-prefix':
-- print(getvar('exec_prefix'))
-+ print(sysconfig.EXEC_PREFIX)
-
- elif opt in ('--includes', '--cflags'):
-- flags = ['-I' + sysconfig.get_path('include'),
-- '-I' + sysconfig.get_path('platinclude')]
-+ flags = ['-I' + sysconfig.get_python_inc(),
-+ '-I' + sysconfig.get_python_inc(plat_specific=True)]
- if opt == '--cflags':
- flags.extend(getvar('CFLAGS').split())
- print(' '.join(flags))
diff --git a/meta/recipes-devtools/python/python3/python3-manifest.json b/meta/recipes-devtools/python/python3/python3-manifest.json
index 615dc3a5e5..46092d4004 100644
--- a/meta/recipes-devtools/python/python3/python3-manifest.json
+++ b/meta/recipes-devtools/python/python3/python3-manifest.json
@@ -152,6 +152,23 @@
"${libdir}/python${PYTHON_MAJMIN}/__pycache__/wave.*.pyc"
]
},
+ "cgitb": {
+ "summary": "Special exception handler for Python scripts",
+ "rdepends": [
+ "core",
+ "crypt",
+ "html",
+ "io",
+ "math",
+ "pydoc"
+ ],
+ "files": [
+ "${libdir}/python${PYTHON_MAJMIN}/cgitb.py"
+ ],
+ "cached": [
+ "${libdir}/python${PYTHON_MAJMIN}/__pycache__/cgitb.*.pyc"
+ ]
+ },
"codecs": {
"summary": "Python codec",
"rdepends": [
@@ -189,12 +206,12 @@
"files": [
"${libdir}/python${PYTHON_MAJMIN}/gzip.py",
"${libdir}/python${PYTHON_MAJMIN}/tarfile.py",
- "${libdir}/python${PYTHON_MAJMIN}/zipfile.py"
+ "${libdir}/python${PYTHON_MAJMIN}/zipfile",
+ "${libdir}/python${PYTHON_MAJMIN}/zipfile/_path"
],
"cached": [
"${libdir}/python${PYTHON_MAJMIN}/__pycache__/gzip.*.pyc",
- "${libdir}/python${PYTHON_MAJMIN}/__pycache__/tarfile.*.pyc",
- "${libdir}/python${PYTHON_MAJMIN}/__pycache__/zipfile.*.pyc"
+ "${libdir}/python${PYTHON_MAJMIN}/__pycache__/tarfile.*.pyc"
]
},
"core": {
@@ -232,6 +249,7 @@
"${libdir}/python${PYTHON_MAJMIN}/copy.py",
"${libdir}/python${PYTHON_MAJMIN}/copyreg.py",
"${libdir}/python${PYTHON_MAJMIN}/csv.py",
+ "${libdir}/python${PYTHON_MAJMIN}/dataclasses.py",
"${libdir}/python${PYTHON_MAJMIN}/dis.py",
"${libdir}/python${PYTHON_MAJMIN}/encodings",
"${libdir}/python${PYTHON_MAJMIN}/encodings/aliases.py",
@@ -246,6 +264,7 @@
"${libdir}/python${PYTHON_MAJMIN}/heapq.py",
"${libdir}/python${PYTHON_MAJMIN}/imp.py",
"${libdir}/python${PYTHON_MAJMIN}/importlib",
+ "${libdir}/python${PYTHON_MAJMIN}/importlib/_abc.py",
"${libdir}/python${PYTHON_MAJMIN}/importlib/_bootstrap.py",
"${libdir}/python${PYTHON_MAJMIN}/importlib/_bootstrap_external.py",
"${libdir}/python${PYTHON_MAJMIN}/importlib/abc.py",
@@ -253,6 +272,7 @@
"${libdir}/python${PYTHON_MAJMIN}/importlib/util.py",
"${libdir}/python${PYTHON_MAJMIN}/inspect.py",
"${libdir}/python${PYTHON_MAJMIN}/io.py",
+ "${libdir}/python${PYTHON_MAJMIN}/ipaddress.py",
"${libdir}/python${PYTHON_MAJMIN}/keyword.py",
"${libdir}/python${PYTHON_MAJMIN}/lib-dynload/__pycache__/_struct.*.so",
"${libdir}/python${PYTHON_MAJMIN}/lib-dynload/__pycache__/binascii.*.so",
@@ -266,6 +286,7 @@
"${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_opcode.*.so",
"${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_posixsubprocess.*.so",
"${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_struct.*.so",
+ "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_typing.*.so",
"${libdir}/python${PYTHON_MAJMIN}/lib-dynload/array.*.so",
"${libdir}/python${PYTHON_MAJMIN}/lib-dynload/binascii.*.so",
"${libdir}/python${PYTHON_MAJMIN}/lib-dynload/grp.*.so",
@@ -290,7 +311,11 @@
"${libdir}/python${PYTHON_MAJMIN}/pkgutil.py",
"${libdir}/python${PYTHON_MAJMIN}/platform.py",
"${libdir}/python${PYTHON_MAJMIN}/posixpath.py",
- "${libdir}/python${PYTHON_MAJMIN}/re.py",
+ "${libdir}/python${PYTHON_MAJMIN}/re",
+ "${libdir}/python${PYTHON_MAJMIN}/re/_casefix.py",
+ "${libdir}/python${PYTHON_MAJMIN}/re/_compiler.py",
+ "${libdir}/python${PYTHON_MAJMIN}/re/_constants.py",
+ "${libdir}/python${PYTHON_MAJMIN}/re/_parser.py",
"${libdir}/python${PYTHON_MAJMIN}/reprlib.py",
"${libdir}/python${PYTHON_MAJMIN}/rlcompleter.py",
"${libdir}/python${PYTHON_MAJMIN}/runpy.py",
@@ -319,6 +344,7 @@
"${libdir}/python${PYTHON_MAJMIN}/urllib/parse.py",
"${libdir}/python${PYTHON_MAJMIN}/warnings.py",
"${libdir}/python${PYTHON_MAJMIN}/weakref.py",
+ "${libdir}/python${PYTHON_MAJMIN}/zipimport.py",
"${prefix}/lib/python${PYTHON_MAJMIN}/config*/*[!.a]"
],
"cached": [
@@ -343,6 +369,7 @@
"${libdir}/python${PYTHON_MAJMIN}/__pycache__/copy.*.pyc",
"${libdir}/python${PYTHON_MAJMIN}/__pycache__/copyreg.*.pyc",
"${libdir}/python${PYTHON_MAJMIN}/__pycache__/csv.*.pyc",
+ "${libdir}/python${PYTHON_MAJMIN}/__pycache__/dataclasses.*.pyc",
"${libdir}/python${PYTHON_MAJMIN}/__pycache__/dis.*.pyc",
"${libdir}/python${PYTHON_MAJMIN}/__pycache__/enum.*.pyc",
"${libdir}/python${PYTHON_MAJMIN}/__pycache__/fnmatch.*.pyc",
@@ -354,6 +381,7 @@
"${libdir}/python${PYTHON_MAJMIN}/__pycache__/imp.*.pyc",
"${libdir}/python${PYTHON_MAJMIN}/__pycache__/inspect.*.pyc",
"${libdir}/python${PYTHON_MAJMIN}/__pycache__/io.*.pyc",
+ "${libdir}/python${PYTHON_MAJMIN}/__pycache__/ipaddress.*.pyc",
"${libdir}/python${PYTHON_MAJMIN}/__pycache__/keyword.*.pyc",
"${libdir}/python${PYTHON_MAJMIN}/__pycache__/linecache.*.pyc",
"${libdir}/python${PYTHON_MAJMIN}/__pycache__/locale.*.pyc",
@@ -400,9 +428,15 @@
"${libdir}/python${PYTHON_MAJMIN}/encodings/__pycache__/latin_1.*.pyc",
"${libdir}/python${PYTHON_MAJMIN}/encodings/__pycache__/utf_8.*.pyc",
"${libdir}/python${PYTHON_MAJMIN}/importlib/__pycache__",
+ "${libdir}/python${PYTHON_MAJMIN}/importlib/__pycache__/_abc.*.pyc",
"${libdir}/python${PYTHON_MAJMIN}/importlib/__pycache__/abc.*.pyc",
"${libdir}/python${PYTHON_MAJMIN}/importlib/__pycache__/machinery.*.pyc",
"${libdir}/python${PYTHON_MAJMIN}/importlib/__pycache__/util.*.pyc",
+ "${libdir}/python${PYTHON_MAJMIN}/re/__pycache__",
+ "${libdir}/python${PYTHON_MAJMIN}/re/__pycache__/_casefix.*.pyc",
+ "${libdir}/python${PYTHON_MAJMIN}/re/__pycache__/_compiler.*.pyc",
+ "${libdir}/python${PYTHON_MAJMIN}/re/__pycache__/_constants.*.pyc",
+ "${libdir}/python${PYTHON_MAJMIN}/re/__pycache__/_parser.*.pyc",
"${libdir}/python${PYTHON_MAJMIN}/urllib/__pycache__",
"${libdir}/python${PYTHON_MAJMIN}/urllib/__pycache__/parse.*.pyc"
]
@@ -422,9 +456,8 @@
"${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_hashlib.*.so",
"${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_md5.*.so",
"${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_sha1.*.so",
- "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_sha256.*.so",
- "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_sha3.*.so",
- "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_sha512.*.so"
+ "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_sha2.*.so",
+ "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_sha3.*.so"
],
"cached": [
"${libdir}/python${PYTHON_MAJMIN}/__pycache__/crypt.*.pyc",
@@ -519,8 +552,7 @@
"${libdir}/pkgconfig"
],
"rdepends": [
- "core",
- "distutils"
+ "core"
],
"summary": "Python development package"
},
@@ -536,27 +568,6 @@
"${libdir}/python${PYTHON_MAJMIN}/__pycache__/difflib.*.pyc"
]
},
- "distutils-windows": {
- "summary": "Python distribution utilities (Windows installer stubs)",
- "rdepends": [
- "core"
- ],
- "files": [],
- "cached": []
- },
- "distutils": {
- "summary": "Python Distribution Utilities",
- "rdepends": [
- "compression",
- "core",
- "email",
- "stringold"
- ],
- "files": [
- "${libdir}/python${PYTHON_MAJMIN}/distutils"
- ],
- "cached": []
- },
"doctest": {
"summary": "Python framework for running examples in docstrings",
"rdepends": [
@@ -595,6 +606,16 @@
"${libdir}/python${PYTHON_MAJMIN}/__pycache__/imaplib.*.pyc"
]
},
+ "ensurepip": {
+ "summary": "Support for bootstrapping the pip installer",
+ "rdepends": [
+ "core"
+ ],
+ "files": [
+ "${libdir}/python${PYTHON_MAJMIN}/ensurepip/"
+ ],
+ "cached": []
+ },
"fcntl": {
"summary": "Python's fcntl interface",
"rdepends": [
@@ -621,12 +642,9 @@
"core"
],
"files": [
- "${libdir}/python${PYTHON_MAJMIN}/formatter.py",
"${libdir}/python${PYTHON_MAJMIN}/html"
],
- "cached": [
- "${libdir}/python${PYTHON_MAJMIN}/__pycache__/formatter.*.pyc"
- ]
+ "cached": []
},
"idle": {
"summary": "Python Integrated Development Environment",
@@ -664,7 +682,6 @@
],
"files": [
"${libdir}/python${PYTHON_MAJMIN}/_pyio.py",
- "${libdir}/python${PYTHON_MAJMIN}/ipaddress.py",
"${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_socket.*.so",
"${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_ssl.*.so",
"${libdir}/python${PYTHON_MAJMIN}/lib-dynload/termios.*.so",
@@ -675,7 +692,6 @@
],
"cached": [
"${libdir}/python${PYTHON_MAJMIN}/__pycache__/_pyio.*.pyc",
- "${libdir}/python${PYTHON_MAJMIN}/__pycache__/ipaddress.*.pyc",
"${libdir}/python${PYTHON_MAJMIN}/__pycache__/pipes.*.pyc",
"${libdir}/python${PYTHON_MAJMIN}/__pycache__/socket.*.pyc",
"${libdir}/python${PYTHON_MAJMIN}/__pycache__/ssl.*.pyc",
@@ -715,7 +731,6 @@
"crypt",
"datetime",
"email",
- "fcntl",
"io",
"math",
"mime",
@@ -786,9 +801,9 @@
"db",
"debugger",
"difflib",
- "distutils",
"doctest",
"email",
+ "ensurepip",
"fcntl",
"html",
"idle",
@@ -812,21 +827,20 @@
"pydoc",
"resource",
"shell",
- "smtpd",
"sqlite3",
+ "statistics",
"stringold",
"syslog",
"terminal",
"threading",
"tkinter",
+ "tomllib",
"unittest",
"unixadmin",
"venv",
"xml",
- "xmlrpc"
- ],
- "rrecommends": [
- "distutils-windows"
+ "xmlrpc",
+ "zoneinfo"
],
"summary": "All Python modules"
},
@@ -875,6 +889,7 @@
"${libdir}/python${PYTHON_MAJMIN}/secrets.py",
"${libdir}/python${PYTHON_MAJMIN}/smtplib.py",
"${libdir}/python${PYTHON_MAJMIN}/telnetlib.py",
+ "${libdir}/python${PYTHON_MAJMIN}/urllib",
"${libdir}/python${PYTHON_MAJMIN}/uuid.py"
],
"cached": [
@@ -995,14 +1010,12 @@
],
"files": [
"${libdir}/python${PYTHON_MAJMIN}/cProfile.py",
- "${libdir}/python${PYTHON_MAJMIN}/dataclasses.py",
"${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_lsprof.*.so",
"${libdir}/python${PYTHON_MAJMIN}/profile.py",
"${libdir}/python${PYTHON_MAJMIN}/pstats.py"
],
"cached": [
"${libdir}/python${PYTHON_MAJMIN}/__pycache__/cProfile.*.pyc",
- "${libdir}/python${PYTHON_MAJMIN}/__pycache__/dataclasses.*.pyc",
"${libdir}/python${PYTHON_MAJMIN}/__pycache__/profile.*.pyc",
"${libdir}/python${PYTHON_MAJMIN}/__pycache__/pstats.*.pyc"
]
@@ -1048,31 +1061,6 @@
"${libdir}/python${PYTHON_MAJMIN}/__pycache__/shlex.*.pyc"
]
},
- "smtpd": {
- "summary": "Python Simple Mail Transport Daemon",
- "rdepends": [
- "core",
- "crypt",
- "datetime",
- "email",
- "io",
- "math",
- "mime",
- "netclient",
- "stringold"
- ],
- "files": [
- "${bindir}/smtpd.py",
- "${libdir}/python${PYTHON_MAJMIN}/asynchat.py",
- "${libdir}/python${PYTHON_MAJMIN}/asyncore.py",
- "${libdir}/python${PYTHON_MAJMIN}/smtpd.py"
- ],
- "cached": [
- "${libdir}/python${PYTHON_MAJMIN}/__pycache__/asynchat.*.pyc",
- "${libdir}/python${PYTHON_MAJMIN}/__pycache__/asyncore.*.pyc",
- "${libdir}/python${PYTHON_MAJMIN}/__pycache__/smtpd.*.pyc"
- ]
- },
"sqlite3": {
"summary": "Python Sqlite3 database support",
"rdepends": [
@@ -1085,6 +1073,22 @@
],
"cached": []
},
+ "statistics": {
+ "summary": "Basic statistics module",
+ "rdepends": [
+ "core",
+ "crypt",
+ "math",
+ "numbers"
+ ],
+ "files": [
+ "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_statistics.*.so",
+ "${libdir}/python${PYTHON_MAJMIN}/statistics.py"
+ ],
+ "cached": [
+ "${libdir}/python${PYTHON_MAJMIN}/__pycache__/statistics.*.pyc"
+ ]
+ },
"stringold": {
"summary": "Python string APIs [deprecated]",
"rdepends": [
@@ -1143,11 +1147,33 @@
"core"
],
"files": [
- "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_tkinter.*.so",
+ "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_tkinter.*.so",
"${libdir}/python${PYTHON_MAJMIN}/tkinter"
],
"cached": []
},
+ "tomllib": {
+ "summary": "Provides an interface for parsing TOML",
+ "rdepends": [
+ "core"
+ ],
+ "files": [
+ "${libdir}/python${PYTHON_MAJMIN}/tomllib/"
+ ],
+ "cached": []
+ },
+ "turtle": {
+ "summary": "Turtle graphics is a popular way for introducing programming to kids.",
+ "rdepends": [
+ "tkinter"
+ ],
+ "files": [
+ "${libdir}/python${PYTHON_MAJMIN}/turtle.py"
+ ],
+ "cached": [
+ "${libdir}/python${PYTHON_MAJMIN}/__pycache__/turtle.*.pyc"
+ ]
+ },
"unittest": {
"summary": "Python unit testing framework",
"rdepends": [
@@ -1215,7 +1241,6 @@
"crypt",
"datetime",
"email",
- "fcntl",
"html",
"io",
"math",
@@ -1232,5 +1257,30 @@
"${libdir}/python${PYTHON_MAJMIN}/xmlrpc/__pycache__"
],
"cached": []
+ },
+ "zipapp": {
+ "summary": "Tools to manage the creation of zip files containing Python code",
+ "rdepends": [
+ "compression",
+ "core"
+ ],
+ "files": [
+ "${libdir}/python${PYTHON_MAJMIN}/zipapp.py"
+ ],
+ "cached": [
+ "${libdir}/python${PYTHON_MAJMIN}/__pycache__/zipapp.*.pyc"
+ ]
+ },
+ "zoneinfo": {
+ "summary": "IANA time zone support",
+ "rdepends": [
+ "core",
+ "datetime"
+ ],
+ "files": [
+ "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_zoneinfo.*.so",
+ "${libdir}/python${PYTHON_MAJMIN}/zoneinfo"
+ ],
+ "cached": []
}
}
diff --git a/meta/recipes-devtools/python/python3/reformat_sysconfig.py b/meta/recipes-devtools/python/python3/reformat_sysconfig.py
index c4164313e8..5e2b12879d 100644
--- a/meta/recipes-devtools/python/python3/reformat_sysconfig.py
+++ b/meta/recipes-devtools/python/python3/reformat_sysconfig.py
@@ -16,6 +16,6 @@ with open(sys.argv[1], 'r') as f:
with open(sys.argv[1], 'w') as f:
for k in sorted(l.keys()):
f.write('%s = ' % k)
- pprint.pprint(l[k], stream=f, width=sys.maxsize)
+ pprint.pprint(l[k], stream=f, width=1)
f.write('\n')
diff --git a/meta/recipes-devtools/python/python3/run-ptest b/meta/recipes-devtools/python/python3/run-ptest
index 405b07f495..d1c26c11e2 100644
--- a/meta/recipes-devtools/python/python3/run-ptest
+++ b/meta/recipes-devtools/python/python3/run-ptest
@@ -1,3 +1,3 @@
#!/bin/sh
-
-python3 -m test -v | sed -u -e '/\.\.\. ok/ s/^/PASS: /g' -r -e '/\.\.\. (ERROR|FAIL)/ s/^/FAIL: /g' -e '/\.\.\. skipped/ s/^/SKIP: /g' -e 's/ \.\.\. ok//g' -e 's/ \.\.\. ERROR//g' -e 's/ \.\.\. FAIL//g' -e 's/ \.\.\. skipped//g'
+SKIPPED_TESTS=
+{ SETUPTOOLS_USE_DISTUTILS=nonlocal python3 -m test $SKIPPED_TESTS -v -j 4 || echo "FAIL: python3" ; } | sed -u -e '/\.\.\. ok/ s/^/PASS: /g' -r -e '/\.\.\. (ERROR|FAIL)/ s/^/FAIL: /g' -e '/\.\.\. skipped/ s/^/SKIP: /g' -e 's/ \.\.\. ok//g' -e 's/ \.\.\. ERROR//g' -e 's/ \.\.\. FAIL//g' -e 's/ \.\.\. skipped//g'
diff --git a/meta/recipes-devtools/python/python3_3.12.3.bb b/meta/recipes-devtools/python/python3_3.12.3.bb
new file mode 100644
index 0000000000..e74c0a27aa
--- /dev/null
+++ b/meta/recipes-devtools/python/python3_3.12.3.bb
@@ -0,0 +1,472 @@
+SUMMARY = "The Python Programming Language"
+HOMEPAGE = "http://www.python.org"
+DESCRIPTION = "Python is a programming language that lets you work more quickly and integrate your systems more effectively."
+LICENSE = "PSF-2.0"
+SECTION = "devel/python"
+
+LIC_FILES_CHKSUM = "file://LICENSE;md5=fcf6b249c2641540219a727f35d8d2c2"
+
+SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.xz \
+ file://run-ptest \
+ file://create_manifest3.py \
+ file://get_module_deps3.py \
+ file://python3-manifest.json \
+ file://check_build_completeness.py \
+ file://reformat_sysconfig.py \
+ file://cgi_py.patch \
+ file://0001-Makefile.pre-use-qemu-wrapper-when-gathering-profile.patch \
+ file://0001-python3-use-cc_basename-to-replace-CC-for-checking-c.patch \
+ file://crosspythonpath.patch \
+ file://0001-test_locale.py-correct-the-test-output-format.patch \
+ file://0020-configure.ac-setup.py-do-not-add-a-curses-include-pa.patch \
+ file://0001-Skip-failing-tests-due-to-load-variability-on-YP-AB.patch \
+ file://0001-test_ctypes.test_find-skip-without-tools-sdk.patch \
+ file://makerace.patch \
+ file://0001-sysconfig.py-use-platlibdir-also-for-purelib.patch \
+ file://0001-Lib-pty.py-handle-stdin-I-O-errors-same-way-as-maste.patch \
+ file://deterministic_imports.patch \
+ file://0001-Avoid-shebang-overflow-on-python-config.py.patch \
+ file://0001-Update-test_sysconfig-for-posix_user-purelib.patch \
+ file://0001-skip-no_stdout_fileno-test-due-to-load-variability.patch \
+ file://0001-test_storlines-skip-due-to-load-variability.patch \
+ file://0001-test_shutdown-skip-problematic-test.patch \
+ file://0001-gh-107811-tarfile-treat-overflow-in-UID-GID-as-failu.patch \
+ "
+
+SRC_URI:append:class-native = " \
+ file://0001-Lib-sysconfig.py-use-prefix-value-from-build-configu.patch \
+ "
+
+SRC_URI[sha256sum] = "56bfef1fdfc1221ce6720e43a661e3eb41785dd914ce99698d8c7896af4bdaa1"
+
+# exclude pre-releases for both python 2.x and 3.x
+UPSTREAM_CHECK_REGEX = "[Pp]ython-(?P<pver>\d+(\.\d+)+).tar"
+
+CVE_PRODUCT = "python cpython"
+
+CVE_STATUS[CVE-2007-4559] = "disputed: Upstream consider this expected behaviour"
+CVE_STATUS[CVE-2019-18348] = "not-applicable-config: This is not exploitable when glibc has CVE-2016-10739 fixed"
+CVE_STATUS[CVE-2020-15523] = "not-applicable-platform: Issue only applies on Windows"
+CVE_STATUS[CVE-2022-26488] = "not-applicable-platform: Issue only applies on Windows"
+# The module will be removed in the future and flaws documented.
+CVE_STATUS[CVE-2015-20107] = "upstream-wontfix: The mailcap module is insecure by design, so this can't be fixed in a meaningful way"
+CVE_STATUS[CVE-2023-36632] = "disputed: Not an issue, in fact expected behaviour"
+
+PYTHON_MAJMIN = "3.12"
+
+S = "${WORKDIR}/Python-${PV}"
+
+BBCLASSEXTEND = "native nativesdk"
+
+inherit autotools pkgconfig qemu ptest multilib_header update-alternatives
+
+MULTILIB_SUFFIX = "${@d.getVar('base_libdir',1).split('/')[-1]}"
+
+ALTERNATIVE:${PN}-dev = "python3-config"
+ALTERNATIVE_LINK_NAME[python3-config] = "${bindir}/python${PYTHON_MAJMIN}-config"
+ALTERNATIVE_TARGET[python3-config] = "${bindir}/python${PYTHON_MAJMIN}-config-${MULTILIB_SUFFIX}"
+
+
+DEPENDS = "bzip2-replacement-native expat libffi bzip2 openssl sqlite3 zlib virtual/libintl xz virtual/crypt util-linux-libuuid libtirpc libnsl2 autoconf-archive-native ncurses"
+DEPENDS:append:class-target = " python3-native"
+DEPENDS:append:class-nativesdk = " python3-native"
+
+EXTRA_OECONF = " --without-ensurepip --enable-shared --with-platlibdir=${baselib} --with-system-expat"
+EXTRA_OECONF:append:class-native = " --bindir=${bindir}/${PN}"
+EXTRA_OECONF:append:class-target = " --with-build-python=nativepython3"
+EXTRA_OECONF:append:class-nativesdk = " --with-build-python=nativepython3"
+
+export CROSSPYTHONPATH="${STAGING_LIBDIR_NATIVE}/python${PYTHON_MAJMIN}/lib-dynload/"
+
+EXTRANATIVEPATH += "python3-native"
+
+# LTO will be enabled via packageconfig depending upong distro features
+LTO:class-target = ""
+
+CACHED_CONFIGUREVARS = " \
+ ac_cv_file__dev_ptmx=yes \
+ ac_cv_file__dev_ptc=no \
+ ac_cv_working_tzset=yes \
+"
+# set thread stack size to 2MB on musl for interpreter and stdlib C extensions
+# so it does not run into stack limits due to musl's small thread stack
+# This is only needed to build interpreter and not the subsequent modules
+# Thats why CFLAGS_NODIST is modified instead of CFLAGS
+CACHED_CONFIGUREVARS:append:libc-musl = "\
+ CFLAGS_NODIST='${CFLAGS} -DTHREAD_STACK_SIZE=0x200000' \
+"
+
+# PGO currently causes builds to not be reproducible so disable by default, see YOCTO #13407
+PACKAGECONFIG ??= "editline gdbm ${@bb.utils.filter('DISTRO_FEATURES', 'lto', d)}"
+PACKAGECONFIG[readline] = "--with-readline=readline,,readline,,,editline"
+PACKAGECONFIG[editline] = "--with-readline=editline,,libedit,,,readline"
+# Use profile guided optimisation by running PyBench inside qemu-user
+PACKAGECONFIG[pgo] = "--enable-optimizations,,qemu-native"
+PACKAGECONFIG[tk] = ",,tk"
+PACKAGECONFIG[tcl] = ",,tcl"
+PACKAGECONFIG[gdbm] = ",,gdbm"
+PACKAGECONFIG[lto] = "--with-lto,--without-lto"
+
+do_configure:prepend () {
+ mkdir -p ${B}/Modules
+ cat > ${B}/Modules/Setup.local << EOF
+*disabled*
+${@bb.utils.contains('PACKAGECONFIG', 'gdbm', '', '_gdbm _dbm', d)}
+${@bb.utils.contains_any('PACKAGECONFIG', 'readline editline', '', 'readline', d)}
+${@bb.utils.contains('PACKAGECONFIG', 'tk', '', '_tkinter', d)}
+EOF
+}
+
+CPPFLAGS:append = " -I${STAGING_INCDIR}/ncursesw -I${STAGING_INCDIR}/uuid"
+
+# COMPILEALL_OPTS= ensures that .pyc are not compiled in parallel
+# This was found to lock up builds, break reproducibility, and produce strange file ownership
+# races.
+#
+# The upstream commit introducing the change was:
+# https://github.com/python/cpython/commit/1a2dd82f56bd813aacc570e172cefe55a8a41504
+#
+# The build lock up issue is reported here:
+# https://bugs.python.org/issue45945
+#
+# The repro failures are documented here:
+# https://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20211130-yr_o1a8d/packages/diff-html/
+
+EXTRA_OEMAKE = '\
+ STAGING_LIBDIR=${STAGING_LIBDIR} \
+ STAGING_INCDIR=${STAGING_INCDIR} \
+ LIB=${baselib} \
+ COMPILEALL_OPTS= \
+'
+
+# Generate a Profile Guided Optimisation wrapper script that uses qemu-user for
+# all cross builds.
+write_pgo_wrapper:class-native = ":"
+write_pgo_wrapper() {
+ if ${@bb.utils.contains('PACKAGECONFIG', 'pgo', 'true', 'false', d)}; then
+ cat >pgo-wrapper <<EOF
+#!/bin/sh
+cd ${B}
+${@qemu_wrapper_cmdline(d, '${STAGING_DIR_TARGET}', ['${B}', '${STAGING_DIR_TARGET}/${base_libdir}'])} "\$@"
+EOF
+ chmod +x pgo-wrapper
+ fi
+}
+
+do_compile:prepend() {
+ write_pgo_wrapper
+}
+
+do_install:prepend() {
+ ${UNPACKDIR}/check_build_completeness.py ${T}/log.do_compile
+}
+
+do_install:append:class-target() {
+ oe_multilib_header python${PYTHON_MAJMIN}/pyconfig.h
+}
+
+do_install:append:class-native() {
+ # Make sure we use /usr/bin/env python
+ for PYTHSCRIPT in `grep -rIl ${bindir}/${PN}/python ${D}${bindir}/${PN}`; do
+ sed -i -e '1s|^#!.*|#!/usr/bin/env python3|' $PYTHSCRIPT
+ done
+ # Add a symlink to the native Python so that scripts can just invoke
+ # "nativepython" and get the right one without needing absolute paths
+ # (these often end up too long for the #! parser in the kernel as the
+ # buffer is 128 bytes long).
+ ln -s python3-native/python3 ${D}${bindir}/nativepython3
+
+ # Remove the opt-1.pyc and opt-2.pyc files. There are over 3,000 of them
+ # and the overhead in each recipe-sysroot-native isn't worth it, particularly
+ # when they're only used for python called with -O or -OO.
+ #find ${D} -name *opt-*.pyc -delete
+ # Remove all pyc files. There are a ton of them and it is probably faster to let
+ # python create the ones it wants at runtime rather than manage in the sstate
+ # tarballs and sysroot creation.
+ find ${D} -name *.pyc -delete
+
+ # Nothing should be looking into ${B} for python3-native
+ sed -i -e 's:${B}:/build/path/unavailable/:g' \
+ ${D}/${libdir}/python${PYTHON_MAJMIN}/config-${PYTHON_MAJMIN}${PYTHON_ABI}*/Makefile
+
+ # disable the lookup in user's site-packages globally
+ sed -i 's#ENABLE_USER_SITE = None#ENABLE_USER_SITE = False#' ${D}${libdir}/python${PYTHON_MAJMIN}/site.py
+
+ # python3-config needs to be in /usr/bin and not in a subdir of it to work properly
+ mv ${D}/${bindir}/${PN}/python*config ${D}/${bindir}/
+}
+
+do_install:append() {
+ for c in ${D}/${libdir}/python${PYTHON_MAJMIN}/_sysconfigdata*.py; do
+ python3 ${UNPACKDIR}/reformat_sysconfig.py $c
+ done
+ rm -f ${D}${libdir}/python${PYTHON_MAJMIN}/__pycache__/_sysconfigdata*.cpython*
+
+ mkdir -p ${D}${libdir}/python-sysconfigdata
+ sysconfigfile=`find ${D} -name _sysconfig*.py`
+ sed -i \
+ -e "s,^ 'LIBDIR'.*, 'LIBDIR': '${STAGING_LIBDIR}'\,,g" \
+ -e "s,^ 'INCLUDEDIR'.*, 'INCLUDEDIR': '${STAGING_INCDIR}'\,,g" \
+ -e "s,^ 'CONFINCLUDEDIR'.*, 'CONFINCLUDEDIR': '${STAGING_INCDIR}'\,,g" \
+ -e "s,^ 'INCLUDEPY'.*, 'INCLUDEPY': '${STAGING_INCDIR}/python${PYTHON_MAJMIN}'\,,g" \
+ -e "s,^ 'CONFINCLUDEPY'.*, 'CONFINCLUDEPY': '${STAGING_INCDIR}/python${PYTHON_MAJMIN}'\,,g" \
+ -e "s,${B},/build/path/unavailable/,g" \
+ $sysconfigfile
+ cp $sysconfigfile ${D}${libdir}/python-sysconfigdata/_sysconfigdata.py
+
+
+ # Unfortunately the following pyc files are non-deterministc due to 'frozenset'
+ # being written without strict ordering, even with PYTHONHASHSEED = 0
+ # Upstream is discussing ways to solve the issue properly, until then let's
+ # just not install the problematic files.
+ # More info: http://benno.id.au/blog/2013/01/15/python-determinism
+ rm -f ${D}${libdir}/python${PYTHON_MAJMIN}/test/__pycache__/test_range.cpython*
+ rm -f ${D}${libdir}/python${PYTHON_MAJMIN}/test/__pycache__/test_xml_etree.cpython*
+
+ # Similar to the above, we're getting reproducibility issues with
+ # /usr/lib/python3.10/__pycache__/traceback.cpython-310.pyc
+ # so remove it too
+ rm -f ${D}${libdir}/python${PYTHON_MAJMIN}/__pycache__/traceback.cpython*
+
+ # Remove the opt-1.pyc and opt-2.pyc files. They effectively waste space on embedded
+ # style targets as they're only used when python is called with the -O or -OO options
+ # which is rare.
+ find ${D} -name *opt-*.pyc -delete
+}
+
+do_install:append:class-nativesdk () {
+ # Make sure we use /usr/bin/env python
+ for PYTHSCRIPT in `grep -rIl ${bindir}/python ${D}${bindir}`; do
+ sed -i -e '1s|^#!.*|#!/usr/bin/env python3|' $PYTHSCRIPT
+ done
+ create_wrapper ${D}${bindir}/python${PYTHON_MAJMIN} TERMINFO_DIRS='${sysconfdir}/terminfo:/etc/terminfo:/usr/share/terminfo:/usr/share/misc/terminfo:/lib/terminfo' PYTHONNOUSERSITE='1'
+}
+
+do_install_ptest:append:class-target:libc-musl () {
+ sed -i -e 's|SKIPPED_TESTS=|SKIPPED_TESTS="-x test__locale -x test_c_locale_coercion -x test_locale -x test_os test_re -x test__xxsubinterpreters -x test_threading"|' ${D}${PTEST_PATH}/run-ptest
+}
+
+SYSROOT_PREPROCESS_FUNCS:append:class-target = " provide_target_config_script"
+SYSROOT_PREPROCESS_FUNCS:append:class-nativesdk = " provide_target_config_script"
+
+# This is installed into /usr/python-target-config/ and not /usr/bin
+# because adding target sysroot's /usr/bin/ to PATH has unwanted side effects
+# in components erroneously picking up other target executables from it
+provide_target_config_script() {
+ install -d ${SYSROOT_DESTDIR}${prefix}/python-target-config/
+ install ${D}/${bindir}/python3-config ${SYSROOT_DESTDIR}/${prefix}/python-target-config/
+ install ${D}/${bindir}/python${PYTHON_MAJMIN}-config ${SYSROOT_DESTDIR}/${prefix}/python-target-config/
+}
+SYSROOT_DIRS += "${prefix}/python-target-config/"
+
+SSTATE_SCAN_FILES += "Makefile _sysconfigdata.py"
+SSTATE_HASHEQUIV_FILEMAP = " \
+ populate_sysroot:*/lib*/python3*/_sysconfigdata*.py:${TMPDIR} \
+ populate_sysroot:*/lib*/python3*/_sysconfigdata*.py:${COREBASE} \
+ populate_sysroot:*/lib*/python3*/config-*/Makefile:${TMPDIR} \
+ populate_sysroot:*/lib*/python3*/config-*/Makefile:${COREBASE} \
+ populate_sysroot:*/lib*/python-sysconfigdata/_sysconfigdata.py:${TMPDIR} \
+ populate_sysroot:*/lib*/python-sysconfigdata/_sysconfigdata.py:${COREBASE} \
+ "
+PACKAGE_PREPROCESS_FUNCS += "py_package_preprocess"
+
+py_package_preprocess () {
+ # Remove references to buildmachine paths in target Makefile and _sysconfigdata
+ sed -i -e 's:--sysroot=${STAGING_DIR_TARGET}::g' -e s:'--with-libtool-sysroot=${STAGING_DIR_TARGET}'::g \
+ -e 's|${DEBUG_PREFIX_MAP}||g' \
+ -e 's:${HOSTTOOLS_DIR}/::g' \
+ -e 's:${RECIPE_SYSROOT_NATIVE}::g' \
+ -e 's:${RECIPE_SYSROOT}::g' \
+ -e 's:${BASE_WORKDIR}/${MULTIMACH_TARGET_SYS}::g' \
+ ${PKGD}/${libdir}/python${PYTHON_MAJMIN}/config-${PYTHON_MAJMIN}${PYTHON_ABI}*/Makefile \
+ ${PKGD}/${libdir}/python${PYTHON_MAJMIN}/_sysconfigdata*.py \
+ ${PKGD}/${bindir}/python${PYTHON_MAJMIN}-config
+
+ # Reformat _sysconfigdata after modifying it so that it remains
+ # reproducible
+ for c in ${PKGD}/${libdir}/python${PYTHON_MAJMIN}/_sysconfigdata*.py; do
+ python3 ${UNPACKDIR}/reformat_sysconfig.py $c
+ done
+
+ # Recompile _sysconfigdata after modifying it
+ cd ${PKGD}
+ sysconfigfile=`find . -name _sysconfigdata_*.py`
+ ${STAGING_BINDIR_NATIVE}/python3-native/python3 \
+ -c "from py_compile import compile; compile('$sysconfigfile')"
+ ${STAGING_BINDIR_NATIVE}/python3-native/python3 \
+ -c "from py_compile import compile; compile('$sysconfigfile', optimize=1)"
+ ${STAGING_BINDIR_NATIVE}/python3-native/python3 \
+ -c "from py_compile import compile; compile('$sysconfigfile', optimize=2)"
+ cd -
+
+ mv ${PKGD}/${bindir}/python${PYTHON_MAJMIN}-config ${PKGD}/${bindir}/python${PYTHON_MAJMIN}-config-${MULTILIB_SUFFIX}
+
+ #Remove the unneeded copy of target sysconfig data
+ rm -rf ${PKGD}/${libdir}/python-sysconfigdata
+}
+
+# We want bytecode precompiled .py files (.pyc's) by default
+# but the user may set it on their own conf
+INCLUDE_PYCS ?= "1"
+
+python(){
+ import collections, json
+
+ filename = os.path.join(d.getVar('THISDIR'), 'python3', 'python3-manifest.json')
+ # This python changes the datastore based on the contents of a file, so mark
+ # that dependency.
+ bb.parse.mark_dependency(d, filename)
+
+ with open(filename) as manifest_file:
+ manifest_str = manifest_file.read()
+ json_start = manifest_str.find('# EOC') + 6
+ manifest_file.seek(json_start)
+ manifest_str = manifest_file.read()
+ python_manifest = json.loads(manifest_str, object_pairs_hook=collections.OrderedDict)
+
+ # First set RPROVIDES for -native case
+ # Hardcoded since it cant be python3-native-foo, should be python3-foo-native
+ pn = 'python3'
+ rprovides = (d.getVar('RPROVIDES') or "").split()
+
+ # ${PN}-misc-native is not in the manifest
+ rprovides.append(pn + '-misc-native')
+
+ for key in python_manifest:
+ pypackage = pn + '-' + key + '-native'
+ if pypackage not in rprovides:
+ rprovides.append(pypackage)
+
+ d.setVar('RPROVIDES:class-native', ' '.join(rprovides))
+
+ # Then work on the target
+ include_pycs = d.getVar('INCLUDE_PYCS')
+
+ packages = d.getVar('PACKAGES').split()
+ pn = d.getVar('PN')
+
+ newpackages=[]
+ for key in python_manifest:
+ pypackage = pn + '-' + key
+
+ if pypackage not in packages:
+ # We need to prepend, otherwise python-misc gets everything
+ # so we use a new variable
+ newpackages.append(pypackage)
+
+ # "Build" python's manifest FILES, RDEPENDS and SUMMARY
+ d.setVar('FILES:' + pypackage, '')
+ for value in python_manifest[key]['files']:
+ d.appendVar('FILES:' + pypackage, ' ' + value)
+
+ # Add cached files
+ if include_pycs == '1':
+ for value in python_manifest[key]['cached']:
+ d.appendVar('FILES:' + pypackage, ' ' + value)
+
+ for value in python_manifest[key]['rdepends']:
+ # Make it work with or without $PN
+ if '${PN}' in value:
+ value=value.split('-', 1)[1]
+ d.appendVar('RDEPENDS:' + pypackage, ' ' + pn + '-' + value)
+
+ for value in python_manifest[key].get('rrecommends', ()):
+ if '${PN}' in value:
+ value=value.split('-', 1)[1]
+ d.appendVar('RRECOMMENDS:' + pypackage, ' ' + pn + '-' + value)
+
+ d.setVar('SUMMARY:' + pypackage, python_manifest[key]['summary'])
+
+ # Prepending so to avoid python-misc getting everything
+ packages = newpackages + packages
+ d.setVar('PACKAGES', ' '.join(packages))
+ d.setVar('ALLOW_EMPTY:${PN}-modules', '1')
+ d.setVar('ALLOW_EMPTY:${PN}-pkgutil', '1')
+
+ if "pgo" in d.getVar("PACKAGECONFIG").split() and not bb.utils.contains('MACHINE_FEATURES', 'qemu-usermode', True, False, d):
+ bb.fatal("pgo cannot be enabled as there is no qemu-usermode support for this architecture/machine")
+}
+
+# Files needed to create a new manifest
+
+do_create_manifest() {
+ # This task should be run with every new release of Python.
+ # We must ensure that PACKAGECONFIG enables everything when creating
+ # a new manifest, this is to base our new manifest on a complete
+ # native python build, containing all dependencies, otherwise the task
+ # wont be able to find the required files.
+ # e.g. BerkeleyDB is an optional build dependency so it may or may not
+ # be present, we must ensure it is.
+
+ cp ${UNPACKDIR}/create_manifest3.py ${WORKDIR}
+ cd ${WORKDIR}
+ # This needs to be executed by python-native and NOT by HOST's python
+ nativepython3 create_manifest3.py ${PYTHON_MAJMIN}
+ cp python3-manifest.json.new ${THISDIR}/python3/python3-manifest.json
+}
+
+# bitbake python -c create_manifest
+# Make sure we have native python ready when we create a new manifest
+addtask do_create_manifest after do_patch do_prepare_recipe_sysroot
+
+# manual dependency additions
+RRECOMMENDS:${PN}-core:append:class-nativesdk = " nativesdk-python3-modules"
+RRECOMMENDS:${PN}-crypt:append:class-target = " ${MLPREFIX}openssl ${MLPREFIX}ca-certificates"
+RRECOMMENDS:${PN}-crypt:append:class-nativesdk = " ${MLPREFIX}openssl ${MLPREFIX}ca-certificates"
+
+# For historical reasons PN is empty and provided by python3-modules
+FILES:${PN} = ""
+RPROVIDES:${PN}-modules = "${PN}"
+
+FILES:${PN}-pydoc += "${bindir}/pydoc${PYTHON_MAJMIN} ${bindir}/pydoc3"
+FILES:${PN}-idle += "${bindir}/idle3 ${bindir}/idle${PYTHON_MAJMIN}"
+
+# provide python-pyvenv from python3-venv
+RPROVIDES:${PN}-venv += "${MLPREFIX}python3-pyvenv"
+
+# package libpython3
+PACKAGES =+ "libpython3 libpython3-staticdev"
+FILES:libpython3 = "${libdir}/libpython*.so.*"
+FILES:libpython3-staticdev += "${libdir}/python${PYTHON_MAJMIN}/config-${PYTHON_MAJMIN}-*/libpython${PYTHON_MAJMIN}.a"
+INSANE_SKIP:${PN}-dev += "dev-elf"
+INSANE_SKIP:${PN}-ptest = "dev-deps"
+
+# catch all the rest (unsorted)
+PACKAGES += "${PN}-misc"
+RDEPENDS:${PN}-misc += "\
+ ${PN}-audio \
+ ${PN}-codecs \
+ ${PN}-core \
+ ${PN}-email \
+ ${PN}-numbers \
+ ${PN}-pickle \
+ ${PN}-pydoc \
+"
+RDEPENDS:${PN}-modules:append:class-target = " ${MLPREFIX}python3-misc"
+RDEPENDS:${PN}-modules:append:class-nativesdk = " ${MLPREFIX}python3-misc"
+RDEPENDS:${PN}-modules:append:class-target = " ${@bb.utils.contains('PACKAGECONFIG', 'gdbm', '${MLPREFIX}python3-gdbm', '', d)}"
+FILES:${PN}-misc = "${libdir}/python${PYTHON_MAJMIN} ${libdir}/python${PYTHON_MAJMIN}/lib-dynload"
+
+# catch manpage
+PACKAGES += "${PN}-man"
+FILES:${PN}-man = "${datadir}/man"
+
+# See https://bugs.python.org/issue18748 and https://bugs.python.org/issue37395
+RDEPENDS:libpython3:append:libc-glibc = " libgcc"
+RDEPENDS:${PN}-ctypes:append:libc-glibc = " ${MLPREFIX}ldconfig"
+RDEPENDS:${PN}-ptest = "${PN}-modules ${PN}-tests ${PN}-dev ${PN}-cgitb ${PN}-zipapp unzip bzip2 libgcc tzdata coreutils sed gcc g++ binutils \
+ locale-base-fr-fr locale-base-en-us locale-base-de-de"
+RDEPENDS:${PN}-ptest:append:libc-glibc = " locale-base-tr-tr"
+RDEPENDS:${PN}-tkinter += "${@bb.utils.contains('PACKAGECONFIG', 'tk', '${MLPREFIX}tk ${MLPREFIX}tk-lib', '', d)}"
+RDEPENDS:${PN}-idle += "${@bb.utils.contains('PACKAGECONFIG', 'tk', '${PN}-tkinter ${MLPREFIX}tcl', '', d)}"
+DEV_PKG_DEPENDENCY = ""
+RDEPENDS:${PN}-pydoc += "${PN}-io"
+
+RDEPENDS:${PN}-tests:append:class-target = " ${MLPREFIX}bash"
+RDEPENDS:${PN}-tests:append:class-nativesdk = " ${MLPREFIX}bash"
+
+# Python's tests contain large numbers of files we don't need in the recipe sysroots
+SYSROOT_PREPROCESS_FUNCS += " py3_sysroot_cleanup"
+py3_sysroot_cleanup () {
+ rm -rf ${SYSROOT_DESTDIR}${libdir}/python${PYTHON_MAJMIN}/test
+}
diff --git a/meta/recipes-devtools/python/python3_3.9.0.bb b/meta/recipes-devtools/python/python3_3.9.0.bb
deleted file mode 100644
index 19a8950f15..0000000000
--- a/meta/recipes-devtools/python/python3_3.9.0.bb
+++ /dev/null
@@ -1,376 +0,0 @@
-SUMMARY = "The Python Programming Language"
-HOMEPAGE = "http://www.python.org"
-LICENSE = "PSFv2"
-SECTION = "devel/python"
-
-LIC_FILES_CHKSUM = "file://LICENSE;md5=33223c9ef60c31e3f0e866cb09b65e83"
-
-SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.xz \
- file://run-ptest \
- file://create_manifest3.py \
- file://get_module_deps3.py \
- file://python3-manifest.json \
- file://check_build_completeness.py \
- file://reformat_sysconfig.py \
- file://cgi_py.patch \
- file://0001-Do-not-add-usr-lib-termcap-to-linker-flags-to-avoid-.patch \
- ${@bb.utils.contains('PACKAGECONFIG', 'tk', '', 'file://avoid_warning_about_tkinter.patch', d)} \
- file://0001-Do-not-use-the-shell-version-of-python-config-that-w.patch \
- file://python-config.patch \
- file://0001-Makefile.pre-use-qemu-wrapper-when-gathering-profile.patch \
- file://0001-python3-use-cc_basename-to-replace-CC-for-checking-c.patch \
- file://0001-Makefile-fix-Issue36464-parallel-build-race-problem.patch \
- file://0001-bpo-36852-proper-detection-of-mips-architecture-for-.patch \
- file://crosspythonpath.patch \
- file://0001-Use-FLAG_REF-always-for-interned-strings.patch \
- file://0001-test_locale.py-correct-the-test-output-format.patch \
- file://0017-setup.py-do-not-report-missing-dependencies-for-disa.patch \
- file://0001-setup.py-pass-missing-libraries-to-Extension-for-mul.patch \
- file://0001-Makefile-do-not-compile-.pyc-in-parallel.patch \
- file://0020-configure.ac-setup.py-do-not-add-a-curses-include-pa.patch \
- file://0001-Lib-sysconfig.py-use-libdir-values-from-configuratio.patch \
- file://CVE-2020-27619.patch \
- "
-
-SRC_URI_append_class-native = " \
- file://0001-distutils-sysconfig-append-STAGING_LIBDIR-python-sys.patch \
- file://12-distutils-prefix-is-inside-staging-area.patch \
- file://0001-Don-t-search-system-for-headers-libraries.patch \
- "
-
-SRC_URI[sha256sum] = "9c73e63c99855709b9be0b3cc9e5b072cb60f37311e8c4e50f15576a0bf82854"
-
-# exclude pre-releases for both python 2.x and 3.x
-UPSTREAM_CHECK_REGEX = "[Pp]ython-(?P<pver>\d+(\.\d+)+).tar"
-UPSTREAM_CHECK_URI = "https://www.python.org/downloads/source/"
-
-CVE_PRODUCT = "python"
-
-# Upstream consider this expected behaviour
-CVE_CHECK_WHITELIST += "CVE-2007-4559"
-# This is not exploitable when glibc has CVE-2016-10739 fixed.
-CVE_CHECK_WHITELIST += "CVE-2019-18348"
-
-# This is windows only issue.
-CVE_CHECK_WHITELIST += "CVE-2020-15523"
-
-PYTHON_MAJMIN = "3.9"
-
-S = "${WORKDIR}/Python-${PV}"
-
-BBCLASSEXTEND = "native nativesdk"
-
-inherit autotools pkgconfig qemu ptest multilib_header update-alternatives
-
-MULTILIB_SUFFIX = "${@d.getVar('base_libdir',1).split('/')[-1]}"
-
-ALTERNATIVE_${PN}-dev = "python3-config"
-ALTERNATIVE_LINK_NAME[python3-config] = "${bindir}/python${PYTHON_MAJMIN}-config"
-ALTERNATIVE_TARGET[python3-config] = "${bindir}/python${PYTHON_MAJMIN}-config-${MULTILIB_SUFFIX}"
-
-
-DEPENDS = "bzip2-replacement-native libffi bzip2 openssl sqlite3 zlib virtual/libintl xz virtual/crypt util-linux libtirpc libnsl2"
-DEPENDS_append_class-target = " python3-native"
-DEPENDS_append_class-nativesdk = " python3-native"
-
-EXTRA_OECONF = " --without-ensurepip --enable-shared --with-platlibdir=${baselib}"
-EXTRA_OECONF_append_class-native = " --bindir=${bindir}/${PN}"
-
-export CROSSPYTHONPATH="${STAGING_LIBDIR_NATIVE}/python${PYTHON_MAJMIN}/lib-dynload/"
-
-EXTRANATIVEPATH += "python3-native"
-
-# LTO will be enabled via packageconfig depending upong distro features
-LTO_class-target = ""
-
-CACHED_CONFIGUREVARS = " \
- ac_cv_file__dev_ptmx=yes \
- ac_cv_file__dev_ptc=no \
- ac_cv_working_tzset=yes \
-"
-
-def possibly_include_pgo(d):
- # PGO currently causes builds to not be reproducible, so disable it for
- # now. See YOCTO #13407
- if bb.utils.contains('MACHINE_FEATURES', 'qemu-usermode', True, False, d) and d.getVar('BUILD_REPRODUCIBLE_BINARIES') != '1':
- return 'pgo'
-
- return ''
-
-PACKAGECONFIG_class-target ??= "readline ${@possibly_include_pgo(d)} gdbm ${@bb.utils.filter('DISTRO_FEATURES', 'lto', d)}"
-PACKAGECONFIG_class-native ??= "readline gdbm"
-PACKAGECONFIG_class-nativesdk ??= "readline gdbm"
-PACKAGECONFIG[readline] = ",,readline"
-# Use profile guided optimisation by running PyBench inside qemu-user
-PACKAGECONFIG[pgo] = "--enable-optimizations,,qemu-native"
-PACKAGECONFIG[tk] = ",,tk"
-PACKAGECONFIG[gdbm] = ",,gdbm"
-PACKAGECONFIG[lto] = "--with-lto,,"
-
-do_configure_prepend () {
- mkdir -p ${B}/Modules
- cat > ${B}/Modules/Setup.local << EOF
-*disabled*
-${@bb.utils.contains('PACKAGECONFIG', 'gdbm', '', '_gdbm _dbm', d)}
-${@bb.utils.contains('PACKAGECONFIG', 'readline', '', 'readline', d)}
-EOF
-}
-
-CPPFLAGS_append = " -I${STAGING_INCDIR}/ncursesw -I${STAGING_INCDIR}/uuid"
-
-EXTRA_OEMAKE = '\
- STAGING_LIBDIR=${STAGING_LIBDIR} \
- STAGING_INCDIR=${STAGING_INCDIR} \
- LIB=${baselib} \
-'
-
-do_compile_prepend_class-target() {
- if ${@bb.utils.contains('PACKAGECONFIG', 'pgo', 'true', 'false', d)}; then
- qemu_binary="${@qemu_wrapper_cmdline(d, '${STAGING_DIR_TARGET}', ['${B}', '${STAGING_DIR_TARGET}/${base_libdir}'])}"
- cat >pgo-wrapper <<EOF
-#!/bin/sh
-cd ${B}
-$qemu_binary "\$@"
-EOF
- chmod +x pgo-wrapper
- fi
-}
-
-do_install_prepend() {
- ${WORKDIR}/check_build_completeness.py ${T}/log.do_compile
-}
-
-do_install_append_class-target() {
- oe_multilib_header python${PYTHON_MAJMIN}/pyconfig.h
-}
-
-do_install_append_class-native() {
- # Make sure we use /usr/bin/env python
- for PYTHSCRIPT in `grep -rIl ${bindir}/${PN}/python ${D}${bindir}/${PN}`; do
- sed -i -e '1s|^#!.*|#!/usr/bin/env python3|' $PYTHSCRIPT
- done
- # Add a symlink to the native Python so that scripts can just invoke
- # "nativepython" and get the right one without needing absolute paths
- # (these often end up too long for the #! parser in the kernel as the
- # buffer is 128 bytes long).
- ln -s python3-native/python3 ${D}${bindir}/nativepython3
-}
-
-do_install_append() {
- mkdir -p ${D}${libdir}/python-sysconfigdata
- sysconfigfile=`find ${D} -name _sysconfig*.py`
- cp $sysconfigfile ${D}${libdir}/python-sysconfigdata/_sysconfigdata.py
-
- sed -i \
- -e "s,^ 'LIBDIR'.*, 'LIBDIR': '${STAGING_LIBDIR}'\,,g" \
- -e "s,^ 'INCLUDEDIR'.*, 'INCLUDEDIR': '${STAGING_INCDIR}'\,,g" \
- -e "s,^ 'CONFINCLUDEDIR'.*, 'CONFINCLUDEDIR': '${STAGING_INCDIR}'\,,g" \
- -e "/^ 'INCLDIRSTOMAKE'/{N; s,/usr/include,${STAGING_INCDIR},g}" \
- -e "/^ 'INCLUDEPY'/s,/usr/include,${STAGING_INCDIR},g" \
- ${D}${libdir}/python-sysconfigdata/_sysconfigdata.py
-
- # Unfortunately the following pyc files are non-deterministc due to 'frozenset'
- # being written without strict ordering, even with PYTHONHASHSEED = 0
- # Upstream is discussing ways to solve the issue properly, until then let's
- # just not install the problematic files.
- # More info: http://benno.id.au/blog/2013/01/15/python-determinism
- rm ${D}${libdir}/python${PYTHON_MAJMIN}/test/__pycache__/test_range.cpython*
- rm ${D}${libdir}/python${PYTHON_MAJMIN}/test/__pycache__/test_xml_etree.cpython*
-}
-
-do_install_append_class-nativesdk () {
- create_wrapper ${D}${bindir}/python${PYTHON_MAJMIN} TERMINFO_DIRS='${sysconfdir}/terminfo:/etc/terminfo:/usr/share/terminfo:/usr/share/misc/terminfo:/lib/terminfo' PYTHONNOUSERSITE='1'
-}
-
-SSTATE_SCAN_FILES += "Makefile _sysconfigdata.py"
-PACKAGE_PREPROCESS_FUNCS += "py_package_preprocess"
-
-py_package_preprocess () {
- # Remove references to buildmachine paths in target Makefile and _sysconfigdata
- sed -i -e 's:--sysroot=${STAGING_DIR_TARGET}::g' -e s:'--with-libtool-sysroot=${STAGING_DIR_TARGET}'::g \
- -e 's|${DEBUG_PREFIX_MAP}||g' \
- -e 's:${HOSTTOOLS_DIR}/::g' \
- -e 's:${RECIPE_SYSROOT_NATIVE}::g' \
- -e 's:${RECIPE_SYSROOT}::g' \
- -e 's:${BASE_WORKDIR}/${MULTIMACH_TARGET_SYS}::g' \
- ${PKGD}/${libdir}/python${PYTHON_MAJMIN}/config-${PYTHON_MAJMIN}${PYTHON_ABI}*/Makefile \
- ${PKGD}/${libdir}/python${PYTHON_MAJMIN}/_sysconfigdata*.py \
- ${PKGD}/${bindir}/python${PYTHON_MAJMIN}-config
-
- # Reformat _sysconfigdata after modifying it so that it remains
- # reproducible
- for c in ${PKGD}/${libdir}/python${PYTHON_MAJMIN}/_sysconfigdata*.py; do
- python3 ${WORKDIR}/reformat_sysconfig.py $c
- done
-
- # Recompile _sysconfigdata after modifying it
- cd ${PKGD}
- sysconfigfile=`find . -name _sysconfigdata_*.py`
- ${STAGING_BINDIR_NATIVE}/python3-native/python3 \
- -c "from py_compile import compile; compile('$sysconfigfile')"
- ${STAGING_BINDIR_NATIVE}/python3-native/python3 \
- -c "from py_compile import compile; compile('$sysconfigfile', optimize=1)"
- ${STAGING_BINDIR_NATIVE}/python3-native/python3 \
- -c "from py_compile import compile; compile('$sysconfigfile', optimize=2)"
- cd -
-
- mv ${PKGD}/${bindir}/python${PYTHON_MAJMIN}-config ${PKGD}/${bindir}/python${PYTHON_MAJMIN}-config-${MULTILIB_SUFFIX}
-
- #Remove the unneeded copy of target sysconfig data
- rm -rf ${PKGD}/${libdir}/python-sysconfigdata
-}
-
-# We want bytecode precompiled .py files (.pyc's) by default
-# but the user may set it on their own conf
-INCLUDE_PYCS ?= "1"
-
-python(){
- import collections, json
-
- filename = os.path.join(d.getVar('THISDIR'), 'python3', 'python3-manifest.json')
- # This python changes the datastore based on the contents of a file, so mark
- # that dependency.
- bb.parse.mark_dependency(d, filename)
-
- with open(filename) as manifest_file:
- manifest_str = manifest_file.read()
- json_start = manifest_str.find('# EOC') + 6
- manifest_file.seek(json_start)
- manifest_str = manifest_file.read()
- python_manifest = json.loads(manifest_str, object_pairs_hook=collections.OrderedDict)
-
- # First set RPROVIDES for -native case
- # Hardcoded since it cant be python3-native-foo, should be python3-foo-native
- pn = 'python3'
- rprovides = d.getVar('RPROVIDES').split()
-
- # ${PN}-misc-native is not in the manifest
- rprovides.append(pn + '-misc-native')
-
- for key in python_manifest:
- pypackage = pn + '-' + key + '-native'
- if pypackage not in rprovides:
- rprovides.append(pypackage)
-
- d.setVar('RPROVIDES_class-native', ' '.join(rprovides))
-
- # Then work on the target
- include_pycs = d.getVar('INCLUDE_PYCS')
-
- packages = d.getVar('PACKAGES').split()
- pn = d.getVar('PN')
-
- newpackages=[]
- for key in python_manifest:
- pypackage = pn + '-' + key
-
- if pypackage not in packages:
- # We need to prepend, otherwise python-misc gets everything
- # so we use a new variable
- newpackages.append(pypackage)
-
- # "Build" python's manifest FILES, RDEPENDS and SUMMARY
- d.setVar('FILES_' + pypackage, '')
- for value in python_manifest[key]['files']:
- d.appendVar('FILES_' + pypackage, ' ' + value)
-
- # Add cached files
- if include_pycs == '1':
- for value in python_manifest[key]['cached']:
- d.appendVar('FILES_' + pypackage, ' ' + value)
-
- for value in python_manifest[key]['rdepends']:
- # Make it work with or without $PN
- if '${PN}' in value:
- value=value.split('-', 1)[1]
- d.appendVar('RDEPENDS_' + pypackage, ' ' + pn + '-' + value)
-
- for value in python_manifest[key].get('rrecommends', ()):
- if '${PN}' in value:
- value=value.split('-', 1)[1]
- d.appendVar('RRECOMMENDS_' + pypackage, ' ' + pn + '-' + value)
-
- d.setVar('SUMMARY_' + pypackage, python_manifest[key]['summary'])
-
- # Prepending so to avoid python-misc getting everything
- packages = newpackages + packages
- d.setVar('PACKAGES', ' '.join(packages))
- d.setVar('ALLOW_EMPTY_${PN}-modules', '1')
- d.setVar('ALLOW_EMPTY_${PN}-pkgutil', '1')
-}
-
-# Files needed to create a new manifest
-
-do_create_manifest() {
- # This task should be run with every new release of Python.
- # We must ensure that PACKAGECONFIG enables everything when creating
- # a new manifest, this is to base our new manifest on a complete
- # native python build, containing all dependencies, otherwise the task
- # wont be able to find the required files.
- # e.g. BerkeleyDB is an optional build dependency so it may or may not
- # be present, we must ensure it is.
-
- cd ${WORKDIR}
- # This needs to be executed by python-native and NOT by HOST's python
- nativepython3 create_manifest3.py ${PYTHON_MAJMIN}
- cp python3-manifest.json.new ${THISDIR}/python3/python3-manifest.json
-}
-
-# bitbake python -c create_manifest
-addtask do_create_manifest
-
-# Make sure we have native python ready when we create a new manifest
-do_create_manifest[depends] += "${PN}:do_prepare_recipe_sysroot"
-do_create_manifest[depends] += "${PN}:do_patch"
-
-# manual dependency additions
-RRECOMMENDS_${PN}-core_append_class-nativesdk = " nativesdk-python3-modules"
-RRECOMMENDS_${PN}-crypt_append_class-target = " ${MLPREFIX}openssl ${MLPREFIX}ca-certificates"
-RRECOMMENDS_${PN}-crypt_append_class-nativesdk = " ${MLPREFIX}openssl ${MLPREFIX}ca-certificates"
-
-# For historical reasons PN is empty and provided by python3-modules
-FILES_${PN} = ""
-RPROVIDES_${PN}-modules = "${PN}"
-
-FILES_${PN}-pydoc += "${bindir}/pydoc${PYTHON_MAJMIN} ${bindir}/pydoc3"
-FILES_${PN}-idle += "${bindir}/idle3 ${bindir}/idle${PYTHON_MAJMIN}"
-
-# provide python-pyvenv from python3-venv
-RPROVIDES_${PN}-venv += "${MLPREFIX}python3-pyvenv"
-
-# package libpython3
-PACKAGES =+ "libpython3 libpython3-staticdev"
-FILES_libpython3 = "${libdir}/libpython*.so.*"
-FILES_libpython3-staticdev += "${libdir}/python${PYTHON_MAJMIN}/config-${PYTHON_MAJMIN}-*/libpython${PYTHON_MAJMIN}.a"
-INSANE_SKIP_${PN}-dev += "dev-elf"
-
-# catch all the rest (unsorted)
-PACKAGES += "${PN}-misc"
-RDEPENDS_${PN}-misc += "\
- ${PN}-core \
- ${PN}-email \
- ${PN}-codecs \
- ${PN}-pydoc \
- ${PN}-pickle \
- ${PN}-audio \
- ${PN}-numbers \
-"
-RDEPENDS_${PN}-modules_append_class-target = " ${MLPREFIX}python3-misc"
-RDEPENDS_${PN}-modules_append_class-nativesdk = " ${MLPREFIX}python3-misc"
-FILES_${PN}-misc = "${libdir}/python${PYTHON_MAJMIN} ${libdir}/python${PYTHON_MAJMIN}/lib-dynload"
-
-# catch manpage
-PACKAGES += "${PN}-man"
-FILES_${PN}-man = "${datadir}/man"
-
-# See https://bugs.python.org/issue18748 and https://bugs.python.org/issue37395
-RDEPENDS_libpython3_append_libc-glibc = " libgcc"
-RDEPENDS_${PN}-ctypes_append_libc-glibc = " ${MLPREFIX}ldconfig"
-RDEPENDS_${PN}-ptest = "${PN}-modules ${PN}-tests unzip bzip2 libgcc tzdata-europe coreutils sed"
-RDEPENDS_${PN}-ptest_append_libc-glibc = " locale-base-tr-tr.iso-8859-9"
-RDEPENDS_${PN}-tkinter += "${@bb.utils.contains('PACKAGECONFIG', 'tk', 'tk tk-lib', '', d)}"
-RDEPENDS_${PN}-idle += "${@bb.utils.contains('PACKAGECONFIG', 'tk', '${PN}-tkinter tcl', '', d)}"
-RDEPENDS_${PN}-dev = ""
-
-RDEPENDS_${PN}-tests_append_class-target = " ${MLPREFIX}bash"
-RDEPENDS_${PN}-tests_append_class-nativesdk = " ${MLPREFIX}bash"
diff --git a/meta/recipes-devtools/qemu/nativesdk-qemu-helper_1.0.bb b/meta/recipes-devtools/qemu/nativesdk-qemu-helper_1.0.bb
index ca1ad964dc..90bba84b03 100644
--- a/meta/recipes-devtools/qemu/nativesdk-qemu-helper_1.0.bb
+++ b/meta/recipes-devtools/qemu/nativesdk-qemu-helper_1.0.bb
@@ -1,13 +1,11 @@
SUMMARY = "Qemu helper scripts"
-LICENSE = "GPLv2"
-RDEPENDS_${PN} = "nativesdk-qemu \
+LICENSE = "GPL-2.0-only"
+RDEPENDS:${PN} = "nativesdk-qemu nativesdk-unfs3 nativesdk-pseudo \
nativesdk-python3-shell nativesdk-python3-fcntl nativesdk-python3-logging \
"
-PR = "r9"
-LIC_FILES_CHKSUM = "file://${WORKDIR}/tunctl.c;endline=4;md5=ff3a09996bc5fff6bc5d4e0b4c28f999 \
- file://${COREBASE}/scripts/runqemu;beginline=5;endline=10;md5=ac2b489a58739c7628a2604698db5e7f"
+LIC_FILES_CHKSUM = "file://${COREBASE}/scripts/runqemu;beginline=5;endline=10;md5=ac2b489a58739c7628a2604698db5e7f"
SRC_URI = "file://${COREBASE}/scripts/runqemu \
@@ -18,20 +16,19 @@ SRC_URI = "file://${COREBASE}/scripts/runqemu \
file://${COREBASE}/scripts/oe-find-native-sysroot \
file://${COREBASE}/scripts/runqemu-extract-sdk \
file://${COREBASE}/scripts/runqemu-export-rootfs \
- file://tunctl.c \
"
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
inherit nativesdk
do_compile() {
- ${CC} tunctl.c -o tunctl
+ :
}
do_install() {
install -d ${D}${bindir}
- install -m 0755 ${WORKDIR}${COREBASE}/scripts/oe-* ${D}${bindir}/
- install -m 0755 ${WORKDIR}${COREBASE}/scripts/runqemu* ${D}${bindir}/
- install tunctl ${D}${bindir}/
+ install -m 0755 ${S}${COREBASE}/scripts/oe-* ${D}${bindir}/
+ install -m 0755 ${S}${COREBASE}/scripts/runqemu* ${D}${bindir}/
}
diff --git a/meta/recipes-devtools/qemu/qemu-helper-native_1.0.bb b/meta/recipes-devtools/qemu/qemu-helper-native_1.0.bb
index 2fc07669dd..28a3b95c4e 100644
--- a/meta/recipes-devtools/qemu/qemu-helper-native_1.0.bb
+++ b/meta/recipes-devtools/qemu/qemu-helper-native_1.0.bb
@@ -1,29 +1,24 @@
SUMMARY = "Helper utilities needed by the runqemu script"
-LICENSE = "GPLv2"
-RDEPENDS_${PN} = "qemu-system-native"
-PR = "r1"
+LICENSE = "GPL-2.0-only"
+RDEPENDS:${PN} = "qemu-system-native"
-LIC_FILES_CHKSUM = "file://${WORKDIR}/tunctl.c;endline=4;md5=ff3a09996bc5fff6bc5d4e0b4c28f999"
+LIC_FILES_CHKSUM = "file://${S}/qemu-oe-bridge-helper.c;endline=4;md5=ae00a3bab86f2caaa8462eacda77f4d7"
-SRC_URI = "\
- file://tunctl.c \
- file://qemu-oe-bridge-helper \
- "
+SRC_URI = "file://qemu-oe-bridge-helper.c"
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
inherit native
do_compile() {
- ${CC} ${CFLAGS} ${LDFLAGS} -Wall tunctl.c -o tunctl
+ ${CC} ${CFLAGS} ${LDFLAGS} -Wall qemu-oe-bridge-helper.c -o qemu-oe-bridge-helper
}
do_install() {
install -d ${D}${bindir}
- install tunctl ${D}${bindir}/
-
- install -m 755 ${WORKDIR}/qemu-oe-bridge-helper ${D}${bindir}/
+ install qemu-oe-bridge-helper ${D}${bindir}/
}
-DEPENDS += "qemu-system-native"
+DEPENDS += "qemu-system-native unfs3-native pseudo-native"
addtask addto_recipe_sysroot after do_populate_sysroot before do_build
diff --git a/meta/recipes-devtools/qemu/qemu-helper/qemu-oe-bridge-helper b/meta/recipes-devtools/qemu/qemu-helper/qemu-oe-bridge-helper
deleted file mode 100755
index f057d4eef0..0000000000
--- a/meta/recipes-devtools/qemu/qemu-helper/qemu-oe-bridge-helper
+++ /dev/null
@@ -1,25 +0,0 @@
-#! /bin/sh
-# Copyright 2020 Garmin Ltd. or its subsidiaries
-#
-# SPDX-License-Identifier: GPL-2.0
-#
-# Attempts to find and exec the host qemu-bridge-helper program
-
-# If the QEMU_BRIDGE_HELPER variable is set by the user, exec it.
-if [ -n "$QEMU_BRIDGE_HELPER" ]; then
- exec "$QEMU_BRIDGE_HELPER" "$@"
-fi
-
-# Search common paths for the helper program
-BN="qemu-bridge-helper"
-PATHS="/usr/libexec/ /usr/lib/qemu/"
-
-for p in $PATHS; do
- if [ -e "$p/$BN" ]; then
- exec "$p/$BN" "$@"
- fi
-done
-
-echo "$BN not found!" > /dev/stderr
-exit 1
-
diff --git a/meta/recipes-devtools/qemu/qemu-helper/qemu-oe-bridge-helper.c b/meta/recipes-devtools/qemu/qemu-helper/qemu-oe-bridge-helper.c
new file mode 100644
index 0000000000..c34aa00567
--- /dev/null
+++ b/meta/recipes-devtools/qemu/qemu-helper/qemu-oe-bridge-helper.c
@@ -0,0 +1,40 @@
+/*
+ * Copyright 2022 Garmin Ltd. or its subsidiaries
+ *
+ * SPDX-License-Identifier: GPL-2.0
+ *
+ * Attempts to find and exec the host qemu-bridge-helper program
+ */
+
+#include <stdio.h>
+#include <string.h>
+#include <unistd.h>
+#include <stdlib.h>
+
+void try_program(char const* path, char** args) {
+ if (access(path, X_OK) == 0) {
+ execv(path, args);
+ }
+}
+
+int main(int argc, char** argv) {
+ char* var;
+
+ var = getenv("QEMU_BRIDGE_HELPER");
+ if (var && var[0] != '\0') {
+ execvp(var, argv);
+ return 1;
+ }
+
+ if (argc == 2 && strcmp(argv[1], "--help") == 0) {
+ fprintf(stderr, "Helper function to find and exec qemu-bridge-helper. Set QEMU_BRIDGE_HELPER to override default search path\n");
+ return 0;
+ }
+
+ try_program("/usr/libexec/qemu-bridge-helper", argv);
+ try_program("/usr/lib/qemu/qemu-bridge-helper", argv);
+
+ fprintf(stderr, "No bridge helper found\n");
+ return 1;
+}
+
diff --git a/meta/recipes-devtools/qemu/qemu-helper/tunctl.c b/meta/recipes-devtools/qemu/qemu-helper/tunctl.c
deleted file mode 100644
index d745dd06cb..0000000000
--- a/meta/recipes-devtools/qemu/qemu-helper/tunctl.c
+++ /dev/null
@@ -1,158 +0,0 @@
-/* Copyright 2002 Jeff Dike
- * Licensed under the GPL
- */
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <errno.h>
-#include <fcntl.h>
-#include <unistd.h>
-#include <pwd.h>
-#include <grp.h>
-#include <net/if.h>
-#include <sys/ioctl.h>
-#include <linux/if_tun.h>
-
-/* TUNSETGROUP appeared in 2.6.23 */
-#ifndef TUNSETGROUP
-#define TUNSETGROUP _IOW('T', 206, int)
-#endif
-
-static void Usage(char *name, int status)
-{
- fprintf(stderr, "Create: %s [-b] [-u owner] [-g group] [-t device-name] "
- "[-f tun-clone-device]\n", name);
- fprintf(stderr, "Delete: %s -d device-name [-f tun-clone-device]\n\n",
- name);
- fprintf(stderr, "The default tun clone device is /dev/net/tun - some systems"
- " use\n/dev/misc/net/tun instead\n\n");
- fprintf(stderr, "-b will result in brief output (just the device name)\n");
- exit(status);
-}
-
-int main(int argc, char **argv)
-{
- struct ifreq ifr;
- struct passwd *pw;
- struct group *gr;
- uid_t owner = -1;
- gid_t group = -1;
- int tap_fd, opt, delete = 0, brief = 0;
- char *tun = "", *file = "/dev/net/tun", *name = argv[0], *end;
-
- while((opt = getopt(argc, argv, "bd:f:t:u:g:h")) > 0){
- switch(opt) {
- case 'b':
- brief = 1;
- break;
- case 'd':
- delete = 1;
- tun = optarg;
- break;
- case 'f':
- file = optarg;
- break;
- case 'u':
- pw = getpwnam(optarg);
- if(pw != NULL){
- owner = pw->pw_uid;
- break;
- }
- owner = strtol(optarg, &end, 0);
- if(*end != '\0'){
- fprintf(stderr, "'%s' is neither a username nor a numeric uid.\n",
- optarg);
- Usage(name, 1);
- }
- break;
- case 'g':
- gr = getgrnam(optarg);
- if(gr != NULL){
- group = gr->gr_gid;
- break;
- }
- group = strtol(optarg, &end, 0);
- if(*end != '\0'){
- fprintf(stderr, "'%s' is neither a groupname nor a numeric group.\n",
- optarg);
- Usage(name, 1);
- }
- break;
-
- case 't':
- tun = optarg;
- break;
- case 'h':
- Usage(name, 0);
- break;
- default:
- Usage(name, 1);
- }
- }
-
- argv += optind;
- argc -= optind;
-
- if(argc > 0)
- Usage(name, 1);
-
- if((tap_fd = open(file, O_RDWR)) < 0){
- fprintf(stderr, "Failed to open '%s' : ", file);
- perror("");
- exit(1);
- }
-
- memset(&ifr, 0, sizeof(ifr));
-
- ifr.ifr_flags = IFF_TAP | IFF_NO_PI;
- strncpy(ifr.ifr_name, tun, sizeof(ifr.ifr_name) - 1);
- if(ioctl(tap_fd, TUNSETIFF, (void *) &ifr) < 0){
- perror("TUNSETIFF");
- exit(1);
- }
-
- if(delete){
- if(ioctl(tap_fd, TUNSETPERSIST, 0) < 0){
- perror("disabling TUNSETPERSIST");
- exit(1);
- }
- printf("Set '%s' nonpersistent\n", ifr.ifr_name);
- }
- else {
- /* emulate behaviour prior to TUNSETGROUP */
- if(owner == -1 && group == -1) {
- owner = geteuid();
- }
-
- if(owner != -1) {
- if(ioctl(tap_fd, TUNSETOWNER, owner) < 0){
- perror("TUNSETOWNER");
- exit(1);
- }
- }
- if(group != -1) {
- if(ioctl(tap_fd, TUNSETGROUP, group) < 0){
- perror("TUNSETGROUP");
- exit(1);
- }
- }
-
- if(ioctl(tap_fd, TUNSETPERSIST, 1) < 0){
- perror("enabling TUNSETPERSIST");
- exit(1);
- }
-
- if(brief)
- printf("%s\n", ifr.ifr_name);
- else {
- printf("Set '%s' persistent and owned by", ifr.ifr_name);
- if(owner != -1)
- printf(" uid %d", owner);
- if(group != -1)
- printf(" gid %d", group);
- printf("\n");
- }
- }
- return(0);
-}
diff --git a/meta/recipes-devtools/qemu/qemu-native.inc b/meta/recipes-devtools/qemu/qemu-native.inc
index aa5c9b9a72..891dc5e2a1 100644
--- a/meta/recipes-devtools/qemu/qemu-native.inc
+++ b/meta/recipes-devtools/qemu/qemu-native.inc
@@ -1,11 +1,7 @@
-inherit native
-
require qemu.inc
-EXTRA_OEMAKE_append = " LD='${LD}' AR='${AR}' OBJCOPY='${OBJCOPY}' LDFLAGS='${LDFLAGS}'"
+inherit_defer native
-LDFLAGS_append = " -fuse-ld=bfd"
+EXTRA_OEMAKE:append = " LD='${LD}' AR='${AR}' OBJCOPY='${OBJCOPY}' LDFLAGS='${LDFLAGS}'"
-do_install_append() {
- ${@bb.utils.contains('PACKAGECONFIG', 'gtk+', 'make_qemu_wrapper', '', d)}
-}
+LDFLAGS:append = " -fuse-ld=bfd"
diff --git a/meta/recipes-devtools/qemu/qemu-native_5.1.0.bb b/meta/recipes-devtools/qemu/qemu-native_5.1.0.bb
deleted file mode 100644
index c8acff8e19..0000000000
--- a/meta/recipes-devtools/qemu/qemu-native_5.1.0.bb
+++ /dev/null
@@ -1,9 +0,0 @@
-BPN = "qemu"
-
-DEPENDS = "glib-2.0-native zlib-native"
-
-require qemu-native.inc
-
-EXTRA_OECONF_append = " --target-list=${@get_qemu_usermode_target_list(d)} --disable-tools --disable-blobs --disable-guest-agent"
-
-PACKAGECONFIG ??= ""
diff --git a/meta/recipes-devtools/qemu/qemu-native_9.0.0.bb b/meta/recipes-devtools/qemu/qemu-native_9.0.0.bb
new file mode 100644
index 0000000000..a77953529b
--- /dev/null
+++ b/meta/recipes-devtools/qemu/qemu-native_9.0.0.bb
@@ -0,0 +1,9 @@
+BPN = "qemu"
+
+DEPENDS += "glib-2.0-native zlib-native"
+
+require qemu-native.inc
+
+EXTRA_OECONF:append = " --target-list=${@get_qemu_usermode_target_list(d)} --disable-tools --disable-install-blobs --disable-guest-agent"
+
+PACKAGECONFIG ??= "pie"
diff --git a/meta/recipes-devtools/qemu/qemu-system-native_5.1.0.bb b/meta/recipes-devtools/qemu/qemu-system-native_5.1.0.bb
deleted file mode 100644
index 222b55cbc6..0000000000
--- a/meta/recipes-devtools/qemu/qemu-system-native_5.1.0.bb
+++ /dev/null
@@ -1,26 +0,0 @@
-BPN = "qemu"
-
-require qemu-native.inc
-
-# As some of the files installed by qemu-native and qemu-system-native
-# are the same, we depend on qemu-native to get the full installation set
-# and avoid file clashes
-DEPENDS = "glib-2.0-native zlib-native pixman-native qemu-native bison-native"
-
-EXTRA_OECONF_append = " --target-list=${@get_qemu_system_target_list(d)}"
-
-PACKAGECONFIG ??= "fdt alsa kvm \
- ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'virglrenderer glx', '', d)} \
-"
-
-# Handle distros such as CentOS 5 32-bit that do not have kvm support
-PACKAGECONFIG_remove = "${@'kvm' if not os.path.exists('/usr/include/linux/kvm.h') else ''}"
-
-do_install_append() {
- install -Dm 0755 ${WORKDIR}/powerpc_rom.bin ${D}${datadir}/qemu
-
- # The following is also installed by qemu-native
- rm -f ${D}${datadir}/qemu/trace-events-all
- rm -rf ${D}${datadir}/qemu/keymaps
- rm -rf ${D}${datadir}/icons/
-}
diff --git a/meta/recipes-devtools/qemu/qemu-system-native_9.0.0.bb b/meta/recipes-devtools/qemu/qemu-system-native_9.0.0.bb
new file mode 100644
index 0000000000..5d2fbcbc02
--- /dev/null
+++ b/meta/recipes-devtools/qemu/qemu-system-native_9.0.0.bb
@@ -0,0 +1,31 @@
+BPN = "qemu"
+
+require qemu-native.inc
+
+# As some of the files installed by qemu-native and qemu-system-native
+# are the same, we depend on qemu-native to get the full installation set
+# and avoid file clashes
+DEPENDS += "glib-2.0-native zlib-native pixman-native qemu-native"
+
+EXTRA_OECONF:append = " --target-list=${@get_qemu_system_target_list(d)}"
+
+PACKAGECONFIG ??= "fdt alsa kvm pie slirp png \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'virglrenderer epoxy', '', d)} \
+"
+
+# Handle distros such as CentOS 5 32-bit that do not have kvm support
+PACKAGECONFIG:remove = "${@'kvm' if not os.path.exists('/usr/include/linux/kvm.h') else ''}"
+
+do_install:append() {
+ install -Dm 0755 ${UNPACKDIR}/powerpc_rom.bin ${D}${datadir}/qemu
+
+ # The following is also installed by qemu-native
+ rm -f ${D}${datadir}/qemu/trace-events-all
+ rm -rf ${D}${datadir}/qemu/keymaps
+ rm -rf ${D}${datadir}/icons/
+ rm -rf ${D}${includedir}/qemu-plugin.h
+
+ # Install qmp.py to be used with testimage
+ install -d ${D}${libdir}/qemu-python/qmp/
+ install -D ${S}/python/qemu/qmp/* ${D}${libdir}/qemu-python/qmp/
+}
diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc
index 11be545cb5..fb38fb44de 100644
--- a/meta/recipes-devtools/qemu/qemu.inc
+++ b/meta/recipes-devtools/qemu/qemu.inc
@@ -4,12 +4,16 @@ machine's processor through dynamic binary translation and provides a set \
of different hardware and device models for the machine, enabling it to run \
a variety of guest operating systems"
HOMEPAGE = "http://qemu.org"
-LICENSE = "GPLv2 & LGPLv2.1"
+LICENSE = "GPL-2.0-only & LGPL-2.1-only"
-RDEPENDS_${PN}-ptest = "bash make"
+DEPENDS += "bison-native meson-native ninja-native"
+
+RDEPENDS:${PN}-ptest = "bash"
require qemu-targets.inc
-inherit pkgconfig ptest
+# https://gitlab.com/qemu-project/qemu/-/commit/81e2b198a8cb4ee5fdf108bd438f44b193ee3a36 means
+# we need a full python3-native setup
+inherit pkgconfig ptest update-rc.d systemd python3native
LIC_FILES_CHKSUM = "file://COPYING;md5=441c28d2cf86e15a37fa47e15a72fbac \
file://COPYING.LIB;endline=24;md5=8c5efda6cf1e1b03dcfd0e6c0d271c7f"
@@ -17,58 +21,70 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=441c28d2cf86e15a37fa47e15a72fbac \
SRC_URI = "https://download.qemu.org/${BPN}-${PV}.tar.xz \
file://powerpc_rom.bin \
file://run-ptest \
- file://0001-qemu-Add-missing-wacom-HID-descriptor.patch \
- file://0002-Add-subpackage-ptest-which-runs-all-unit-test-cases-.patch \
- file://0003-qemu-Add-addition-environment-space-to-boot-loader-q.patch \
- file://0004-qemu-disable-Valgrind.patch \
- file://0005-qemu-native-set-ld.bfd-fix-cflags-and-set-some-envir.patch \
- file://0006-chardev-connect-socket-to-a-spawned-command.patch \
- file://0007-apic-fixup-fallthrough-to-PIC.patch \
- file://0008-linux-user-Fix-webkitgtk-hangs-on-32-bit-x86-target.patch \
- file://0009-Fix-webkitgtk-builds.patch \
- file://0010-configure-Add-pkg-config-handling-for-libgcrypt.patch \
- file://0001-Add-enable-disable-udev.patch \
- file://0001-qemu-Do-not-include-file-if-not-exists.patch \
- file://find_datadir.patch \
- file://usb-fix-setup_len-init.patch \
- file://0001-target-mips-Increase-number-of-TLB-entries-on-the-34.patch \
- file://CVE-2020-24352.patch \
+ file://0001-qemu-Add-addition-environment-space-to-boot-loader-q.patch \
+ file://0002-apic-fixup-fallthrough-to-PIC.patch \
+ file://0003-configure-Add-pkg-config-handling-for-libgcrypt.patch \
+ file://0004-qemu-Do-not-include-file-if-not-exists.patch \
+ file://0005-qemu-Add-some-user-space-mmap-tweaks-to-address-musl.patch \
+ file://0006-qemu-Determinism-fixes.patch \
+ file://0007-tests-meson.build-use-relative-path-to-refer-to-file.patch \
+ file://0008-Define-MAP_SYNC-and-MAP_SHARED_VALIDATE-on-needed-li.patch \
+ file://0009-linux-user-Replace-use-of-lfs64-related-functions-an.patch \
+ file://0010-configure-lookup-meson-exutable-from-PATH.patch \
+ file://0011-qemu-Ensure-pip-and-the-python-venv-aren-t-used-for-.patch \
+ file://qemu-guest-agent.init \
+ file://qemu-guest-agent.udev \
"
UPSTREAM_CHECK_REGEX = "qemu-(?P<pver>\d+(\.\d+)+)\.tar"
-SRC_URI[sha256sum] = "c9174eb5933d9eb5e61f541cd6d1184cd3118dfe4c5c4955bc1bdc4d390fa4e5"
+SRC_URI[sha256sum] = "32708ac66c30d8c892633ea968c771c1c76d597d70ddead21a0d22ccf386da69"
+
+CVE_STATUS[CVE-2007-0998] = "not-applicable-config: The VNC server can expose host files uder some circumstances. We don't enable it by default."
+
+# https://bugzilla.redhat.com/show_bug.cgi?id=1609015#c11
+CVE_STATUS[CVE-2018-18438] = "disputed: The issues identified by this CVE were determined to not constitute a vulnerability."
+
+# As per https://bugzilla.redhat.com/show_bug.cgi?id=2203387
+CVE_STATUS[CVE-2023-2680] = "not-applicable-platform: RHEL specific issue."
-COMPATIBLE_HOST_mipsarchn32 = "null"
-COMPATIBLE_HOST_mipsarchn64 = "null"
+COMPATIBLE_HOST:mipsarchn32 = "null"
+COMPATIBLE_HOST:mipsarchn64 = "null"
+COMPATIBLE_HOST:riscv32 = "null"
# Per https://lists.nongnu.org/archive/html/qemu-devel/2020-09/msg03873.html
# upstream states qemu doesn't work without optimization
DEBUG_BUILD = "0"
-do_install_append() {
+do_install:append() {
# Prevent QA warnings about installed ${localstatedir}/run
if [ -d ${D}${localstatedir}/run ]; then rmdir ${D}${localstatedir}/run; fi
}
-do_compile_ptest() {
- make buildtest-TESTS
-}
-
do_install_ptest() {
cp -rL ${B}/tests ${D}${PTEST_PATH}
- find ${D}${PTEST_PATH}/tests -type f -name "*.[Sshcod]" | xargs -i rm -rf {}
+ find ${D}${PTEST_PATH}/tests -type f -name "*.[Sshcodp]" | xargs -i rm -rf {}
- cp ${S}/tests/Makefile.include ${D}${PTEST_PATH}/tests
# Don't check the file genreated by configure
- sed -i -e '/wildcard config-host.mak/d' \
- -e '$ {/endif/d}' ${D}${PTEST_PATH}/tests/Makefile.include
- sed -i -e 's,${HOSTTOOLS_DIR}/python3,${bindir}/python3,' \
- ${D}/${PTEST_PATH}/tests/qemu-iotests/common.env
sed -i -e "1s,#!/usr/bin/bash,#!${base_bindir}/bash," ${D}${PTEST_PATH}/tests/data/acpi/disassemle-aml.sh
+
+ # Strip the paths from the QEMU variable, we can use PATH
+ makfiles=$(find ${D}${PTEST_PATH} -name "*.mak")
+ sed -i -e "s#^QEMU=.*/qemu-#QEMU=qemu-#g" $makfiles
+
+ # Strip compiler flags as they break reproducibility
+ sed -i -e "s,^CC=.*,CC=gcc," \
+ -e "s,^CCAS=.*,CCAS=gcc," \
+ -e "s,^LD=.*,LD=ld," $makfiles
+
+ # Update SRC_PATH variable to the right place on target
+ sed -i -e "s#^SRC_PATH=.*#SRC_PATH=${PTEST_PATH}#g" $makfiles
+
+ # https://gitlab.com/qemu-project/qemu/-/issues/1403
+ rm ${D}${PTEST_PATH}/tests/unit/test-io-channel-command
}
# QEMU_TARGETS is overridable variable
-QEMU_TARGETS ?= "arm aarch64 i386 mips mipsel mips64 mips64el ppc ppc64 ppc64le riscv32 riscv64 sh4 x86_64"
+QEMU_TARGETS ?= "arm aarch64 i386 loongarch64 mips mipsel mips64 mips64el ppc ppc64 ppc64le riscv32 riscv64 sh4 x86_64"
EXTRA_OECONF = " \
--prefix=${prefix} \
@@ -81,23 +97,26 @@ EXTRA_OECONF = " \
--sysconfdir=${sysconfdir} \
--libexecdir=${libexecdir} \
--localstatedir=${localstatedir} \
- --with-confsuffix=/${BPN} \
+ --with-suffix=${BPN} \
--disable-strip \
--disable-werror \
--extra-cflags='${CFLAGS}' \
--extra-ldflags='${LDFLAGS}' \
- --with-git=/bin/false \
- --disable-git-update \
+ --disable-download \
+ --disable-docs \
+ --host-cc='${BUILD_CC}' \
+ --disable-af-xdp \
${PACKAGECONFIG_CONFARGS} \
"
-export LIBTOOL="${HOST_SYS}-libtool"
+EXTRA_OECONF:append:class-target = " --cross-prefix=${HOST_PREFIX}"
+EXTRA_OECONF:append:class-nativesdk = " --cross-prefix=${HOST_PREFIX}"
B = "${WORKDIR}/build"
-EXTRA_OECONF_append = " --python=${HOSTTOOLS_DIR}/python3"
+#EXTRA_OECONF:append = " --python=${HOSTTOOLS_DIR}/python3"
-do_configure_prepend_class-native() {
+do_configure:prepend:class-native() {
# Append build host pkg-config paths for native target since the host may provide sdl
BHOST_PKGCONFIG_PATH=$(PATH=/usr/bin:/bin pkg-config --variable pc_path pkg-config || echo "")
if [ ! -z "$BHOST_PKGCONFIG_PATH" ]; then
@@ -106,6 +125,7 @@ do_configure_prepend_class-native() {
}
do_configure() {
+ export PKG_CONFIG=pkg-config
${S}/configure ${EXTRA_OECONF}
}
do_configure[cleandirs] += "${B}"
@@ -113,6 +133,26 @@ do_configure[cleandirs] += "${B}"
do_install () {
export STRIP=""
oe_runmake 'DESTDIR=${D}' install
+
+ # If we built the guest agent, also install startup/udev rules
+ if [ -e "${D}${bindir}/qemu-ga" ]; then
+ install -d ${D}${sysconfdir}/init.d/
+ install -m 0755 ${UNPACKDIR}/qemu-guest-agent.init ${D}${sysconfdir}/init.d/qemu-guest-agent
+ sed -i 's:@bindir@:${bindir}:' ${D}${sysconfdir}/init.d/qemu-guest-agent
+
+ install -d ${D}${sysconfdir}/udev/rules.d/
+ install -m 0644 ${UNPACKDIR}/qemu-guest-agent.udev ${D}${sysconfdir}/udev/rules.d/60-qemu-guest-agent.rules
+
+ install -d ${D}${systemd_unitdir}/system/
+ install -m 0644 ${S}/contrib/systemd/qemu-guest-agent.service ${D}${systemd_unitdir}/system
+ sed -i -e 's,-/usr/bin/,-${bindir}/,g' ${D}${systemd_unitdir}/system/qemu-guest-agent.service
+ fi
+ # ELF binary /usr/share/qemu/s390-netboot.img has relocations in .text
+ rm ${D}${datadir}/qemu/s390-netboot.img -f
+ # ELF binary /usr/share/qemu/s390-ccw.img has relocations in .text [textrel]
+ rm ${D}${datadir}/qemu/s390-ccw.img -f
+ # We don't support PARISC and these cause strip and SDK relocation errors
+ rm ${D}${datadir}/qemu/hppa* -f
}
# The following fragment will create a wrapper for qemu-mips user emulation
@@ -121,7 +161,7 @@ do_install () {
# This will trigger a MMU access fault in the virtual CPU. With this change,
# the qemu-mips works fine.
# IMPORTANT: This piece needs to be removed once the root cause is fixed!
-do_install_append() {
+do_install:append() {
if [ -e "${D}/${bindir}/qemu-mips" ]; then
create_wrapper ${D}/${bindir}/qemu-mips \
QEMU_RESERVED_VA=0x0
@@ -129,29 +169,18 @@ do_install_append() {
}
# END of qemu-mips workaround
-make_qemu_wrapper() {
- gdk_pixbuf_module_file=`pkg-config --variable=gdk_pixbuf_cache_file gdk-pixbuf-2.0`
-
- for tool in `ls ${D}${bindir}/qemu-system-*`; do
- create_wrapper $tool \
- GDK_PIXBUF_MODULE_FILE=$gdk_pixbuf_module_file \
- FONTCONFIG_PATH=/etc/fonts \
- GTK_THEME=Adwaita
- done
-}
-
# Disable kvm/virgl/mesa on targets that do not support it
-PACKAGECONFIG_remove_darwin = "kvm virglrenderer glx gtk+"
-PACKAGECONFIG_remove_mingw32 = "kvm virglrenderer glx gtk+"
+PACKAGECONFIG:remove:darwin = "kvm virglrenderer epoxy gtk+"
+PACKAGECONFIG:remove:mingw32 = "kvm virglrenderer epoxy gtk+ pie"
PACKAGECONFIG[sdl] = "--enable-sdl,--disable-sdl,libsdl2"
+PACKAGECONFIG[png] = "--enable-png,--disable-png,libpng"
PACKAGECONFIG[virtfs] = "--enable-virtfs --enable-attr --enable-cap-ng,--disable-virtfs,libcap-ng attr,"
PACKAGECONFIG[aio] = "--enable-linux-aio,--disable-linux-aio,libaio,"
-PACKAGECONFIG[xfs] = "--enable-xfsctl,--disable-xfsctl,xfsprogs,"
+PACKAGECONFIG[uring] = "--enable-linux-io-uring,--disable-linux-io-uring,liburing"
PACKAGECONFIG[xen] = "--enable-xen,--disable-xen,xen-tools,xen-tools-libxenstore xen-tools-libxenctrl xen-tools-libxenguest"
PACKAGECONFIG[vnc-sasl] = "--enable-vnc --enable-vnc-sasl,--disable-vnc-sasl,cyrus-sasl,"
PACKAGECONFIG[vnc-jpeg] = "--enable-vnc --enable-vnc-jpeg,--disable-vnc-jpeg,jpeg,"
-PACKAGECONFIG[vnc-png] = "--enable-vnc --enable-vnc-png,--disable-vnc-png,libpng,"
PACKAGECONFIG[libcurl] = "--enable-curl,--disable-curl,curl,"
PACKAGECONFIG[nss] = "--enable-smartcard,--disable-smartcard,nss,"
PACKAGECONFIG[curses] = "--enable-curses,--disable-curses,ncurses,"
@@ -163,9 +192,10 @@ PACKAGECONFIG[gcrypt] = "--enable-gcrypt,--disable-gcrypt,libgcrypt,"
PACKAGECONFIG[nettle] = "--enable-nettle,--disable-nettle,nettle"
PACKAGECONFIG[libusb] = "--enable-libusb,--disable-libusb,libusb1"
PACKAGECONFIG[fdt] = "--enable-fdt,--disable-fdt,dtc"
-PACKAGECONFIG[alsa] = "--audio-drv-list='oss alsa',,alsa-lib"
-PACKAGECONFIG[glx] = "--enable-opengl,--disable-opengl,virtual/libgl"
+PACKAGECONFIG[alsa] = "--audio-drv-list=default,,alsa-lib"
+PACKAGECONFIG[epoxy] = "--enable-opengl,--disable-opengl,libepoxy"
PACKAGECONFIG[lzo] = "--enable-lzo,--disable-lzo,lzo"
+PACKAGECONFIG[dax] = "--enable-libdaxctl,--disable-libdaxctl,ndctl"
PACKAGECONFIG[numa] = "--enable-numa,--disable-numa,numactl"
PACKAGECONFIG[gnutls] = "--enable-gnutls,--disable-gnutls,gnutls"
PACKAGECONFIG[bzip2] = "--enable-bzip2,--disable-bzip2,bzip2"
@@ -175,18 +205,77 @@ PACKAGECONFIG[virglrenderer] = "--enable-virglrenderer,--disable-virglrenderer,v
# spice will be in meta-networking layer
PACKAGECONFIG[spice] = "--enable-spice,--disable-spice,spice"
# usbredir will be in meta-networking layer
+PACKAGECONFIG[dbus-display] = "--enable-dbus-display,--disable-dbus-display,glib-2.0-native,dbus"
PACKAGECONFIG[usb-redir] = "--enable-usb-redir,--disable-usb-redir,usbredir"
PACKAGECONFIG[snappy] = "--enable-snappy,--disable-snappy,snappy"
PACKAGECONFIG[glusterfs] = "--enable-glusterfs,--disable-glusterfs,glusterfs"
PACKAGECONFIG[xkbcommon] = "--enable-xkbcommon,--disable-xkbcommon,libxkbcommon"
-PACKAGECONFIG[libudev] = "--enable-libudev,--disable-libudev,eudev"
-PACKAGECONFIG[libxml2] = "--enable-libxml2,--disable-libxml2,libxml2"
+PACKAGECONFIG[libudev] = "--enable-libudev,--disable-libudev,udev"
PACKAGECONFIG[attr] = "--enable-attr,--disable-attr,attr,"
PACKAGECONFIG[rbd] = "--enable-rbd,--disable-rbd,ceph,ceph"
PACKAGECONFIG[vhost] = "--enable-vhost-net,--disable-vhost-net,,"
-PACKAGECONFIG[ust] = "--enable-trace-backend=ust,--enable-trace-backend=nop,lttng-ust,"
+PACKAGECONFIG[ust] = "--enable-trace-backends=ust,,lttng-ust,"
PACKAGECONFIG[pie] = "--enable-pie,--disable-pie,,"
+PACKAGECONFIG[seccomp] = "--enable-seccomp,--disable-seccomp,libseccomp"
+# libnfs is currently provided by meta-kodi
+PACKAGECONFIG[libnfs] = "--enable-libnfs,--disable-libnfs,libnfs"
+PACKAGECONFIG[pmem] = "--enable-libpmem,--disable-libpmem,pmdk"
+PACKAGECONFIG[pulseaudio] = "--enable-pa,--disable-pa,pulseaudio"
+PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux"
+PACKAGECONFIG[bpf] = "--enable-bpf,--disable-bpf,libbpf"
+PACKAGECONFIG[capstone] = "--enable-capstone,--disable-capstone"
+PACKAGECONFIG[rdma] = "--enable-rdma,--disable-rdma"
+PACKAGECONFIG[vde] = "--enable-vde,--disable-vde"
+PACKAGECONFIG[fuse] = "--enable-fuse --enable-fuse-lseek,--disable-fuse --disable-fuse-lseek,fuse3"
+PACKAGECONFIG[slirp] = "--enable-slirp,--disable-slirp,libslirp"
+PACKAGECONFIG[brlapi] = "--enable-brlapi,--disable-brlapi"
+PACKAGECONFIG[jack] = "--enable-jack,--disable-jack,jack,"
+PACKAGECONFIG[debuginfo] = "--enable-libdw,--disable-libdw,elfutils"
+PACKAGECONFIG[pipewire] = "--enable-pipewire,--disable-pipewire,pipewire"
+PACKAGECONFIG[sndio] = "--enable-sndio,--disable-sndio,sndio"
+
+INSANE_SKIP:${PN}-common = "arch"
+
+FILES:${PN} += "${datadir}/icons"
+
+# For user who want to install all arch packages
+PACKAGES =+ "${PN}-common"
+RDEPENDS:${PN} += "${PN}-common"
+
+ALLOW_EMPTY:${PN} = "1"
+FILES:${PN} = ""
+
+FILES:${PN}-common = "${bindir}/* ${includedir}/* ${libexecdir}/* ${datadir}/* ${localstatedir}"
+
+PACKAGES_DYNAMIC += "^${PN}-user-.* ^${PN}-system-.*"
+
+PACKAGESPLITFUNCS =+ "split_qemu_packages"
+
+python split_qemu_packages () {
+ archdir = d.expand('${bindir}/')
+ subpackages = do_split_packages(d, archdir, r'^qemu-system-(.*)$', '${PN}-system-%s', 'QEMU full system emulation binaries(%s)' , prepend=True, extra_depends='${PN}-common')
+
+ subpackages += do_split_packages(d, archdir, r'^qemu-((?!system|edid|ga|img|io|nbd|pr-helper|storage-daemon).*)$', '${PN}-user-%s', 'QEMU full user emulation binaries(%s)' , prepend=True, extra_depends='${PN}-common')
+ if subpackages:
+ d.appendVar('RDEPENDS:' + d.getVar('PN'), ' ' + ' '.join(subpackages))
+ mipspackage = d.getVar('PN') + "-user-mips"
+ if mipspackage in ' '.join(subpackages):
+ d.appendVar('RDEPENDS:' + mipspackage, ' ' + d.getVar("MLPREFIX") + 'bash')
+}
+
+# Put the guest agent in a separate package
+PACKAGES =+ "${PN}-guest-agent"
+SUMMARY:${PN}-guest-agent = "QEMU guest agent"
+FILES:${PN}-guest-agent += " \
+ ${bindir}/qemu-ga \
+ ${sysconfdir}/udev/rules.d/60-qemu-guest-agent.rules \
+ ${sysconfdir}/init.d/qemu-guest-agent \
+ ${systemd_unitdir}/system/qemu-guest-agent.service \
+"
-INSANE_SKIP_${PN} = "arch"
+INITSCRIPT_PACKAGES = "${PN}-guest-agent"
+INITSCRIPT_NAME:${PN}-guest-agent = "qemu-guest-agent"
+INITSCRIPT_PARAMS:${PN}-guest-agent = "defaults"
-FILES_${PN} += "${datadir}/icons"
+SYSTEMD_PACKAGES = "${PN}-guest-agent"
+SYSTEMD_SERVICE:${PN}-guest-agent = "qemu-guest-agent.service"
diff --git a/meta/recipes-devtools/qemu/qemu/0001-Add-enable-disable-udev.patch b/meta/recipes-devtools/qemu/qemu/0001-Add-enable-disable-udev.patch
deleted file mode 100644
index 1304ee3bfd..0000000000
--- a/meta/recipes-devtools/qemu/qemu/0001-Add-enable-disable-udev.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From b921e5204030845dc7c9d16d5f66d965e8d05367 Mon Sep 17 00:00:00 2001
-From: Jeremy Puhlman <jpuhlman@mvista.com>
-Date: Thu, 19 Mar 2020 11:54:26 -0700
-Subject: [PATCH] Add enable/disable libudev
-
-Upstream-Status: Pending
-Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
-
-[update patch context]
-Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
----
- configure | 4 ++++
- 1 file changed, 4 insertions(+)
-
-Index: qemu-5.1.0/configure
-===================================================================
---- qemu-5.1.0.orig/configure
-+++ qemu-5.1.0/configure
-@@ -1640,6 +1640,10 @@ for opt do
- ;;
- --disable-libdaxctl) libdaxctl=no
- ;;
-+ --enable-libudev) libudev="yes"
-+ ;;
-+ --disable-libudev) libudev="no"
-+ ;;
- *)
- echo "ERROR: unknown option $opt"
- echo "Try '$0 --help' for more information"
diff --git a/meta/recipes-devtools/qemu/qemu/0003-qemu-Add-addition-environment-space-to-boot-loader-q.patch b/meta/recipes-devtools/qemu/qemu/0001-qemu-Add-addition-environment-space-to-boot-loader-q.patch
index 33cef42217..2333cc8432 100644
--- a/meta/recipes-devtools/qemu/qemu/0003-qemu-Add-addition-environment-space-to-boot-loader-q.patch
+++ b/meta/recipes-devtools/qemu/qemu/0001-qemu-Add-addition-environment-space-to-boot-loader-q.patch
@@ -1,7 +1,7 @@
-From ce1eceab2350d27960ec254650717085f6a11c9a Mon Sep 17 00:00:00 2001
+From e9baf07a667a1c04b57e14776cc4fa387448c908 Mon Sep 17 00:00:00 2001
From: Jason Wessel <jason.wessel@windriver.com>
Date: Fri, 28 Mar 2014 17:42:43 +0800
-Subject: [PATCH] qemu: Add addition environment space to boot loader
+Subject: [PATCH 01/11] qemu: Add addition environment space to boot loader
qemu-system-mips
Upstream-Status: Inappropriate - OE uses deep paths
@@ -13,21 +13,23 @@ to only 256 bytes. This patch expands the limit.
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Roy Li <rongqing.li@windriver.com>
-
---
hw/mips/malta.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
-Index: qemu-5.1.0/hw/mips/malta.c
-===================================================================
---- qemu-5.1.0.orig/hw/mips/malta.c
-+++ qemu-5.1.0/hw/mips/malta.c
-@@ -59,7 +59,7 @@
-
- #define ENVP_ADDR 0x80002000l
+diff --git a/hw/mips/malta.c b/hw/mips/malta.c
+index af74008c82..a588b9ad4e 100644
+--- a/hw/mips/malta.c
++++ b/hw/mips/malta.c
+@@ -63,7 +63,7 @@
+ #define ENVP_PADDR 0x2000
+ #define ENVP_VADDR cpu_mips_phys_to_kseg0(NULL, ENVP_PADDR)
#define ENVP_NB_ENTRIES 16
-#define ENVP_ENTRY_SIZE 256
+#define ENVP_ENTRY_SIZE 1024
/* Hardware addresses */
#define FLASH_ADDRESS 0x1e000000ULL
+--
+2.44.0
+
diff --git a/meta/recipes-devtools/qemu/qemu/0001-qemu-Add-missing-wacom-HID-descriptor.patch b/meta/recipes-devtools/qemu/qemu/0001-qemu-Add-missing-wacom-HID-descriptor.patch
deleted file mode 100644
index 46c9da08a5..0000000000
--- a/meta/recipes-devtools/qemu/qemu/0001-qemu-Add-missing-wacom-HID-descriptor.patch
+++ /dev/null
@@ -1,141 +0,0 @@
-From 883feb43129dc39b491e492c7ccfe89aefe53c44 Mon Sep 17 00:00:00 2001
-From: Richard Purdie <richard.purdie@linuxfoundation.org>
-Date: Thu, 27 Nov 2014 14:04:29 +0000
-Subject: [PATCH] qemu: Add missing wacom HID descriptor
-
-The USB wacom device is missing a HID descriptor which causes it
-to fail to operate with recent kernels (e.g. 3.17).
-
-This patch adds a HID desriptor to the device, based upon one from
-real wcom device.
-
-Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-
-Upstream-Status: Submitted
-2014/11/27
-
-[update patch context]
-Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
----
- hw/usb/dev-wacom.c | 94 +++++++++++++++++++++++++++++++++++++++++++++-
- 1 file changed, 93 insertions(+), 1 deletion(-)
-
-Index: qemu-5.1.0/hw/usb/dev-wacom.c
-===================================================================
---- qemu-5.1.0.orig/hw/usb/dev-wacom.c
-+++ qemu-5.1.0/hw/usb/dev-wacom.c
-@@ -74,6 +74,89 @@ static const USBDescStrings desc_strings
- [STR_SERIALNUMBER] = "1",
- };
-
-+static const uint8_t qemu_tablet_hid_report_descriptor[] = {
-+ 0x05, 0x01, /* Usage Page (Generic Desktop) */
-+ 0x09, 0x02, /* Usage (Mouse) */
-+ 0xa1, 0x01, /* Collection (Application) */
-+ 0x85, 0x01, /* Report ID (1) */
-+ 0x09, 0x01, /* Usage (Pointer) */
-+ 0xa1, 0x00, /* Collection (Physical) */
-+ 0x05, 0x09, /* Usage Page (Button) */
-+ 0x19, 0x01, /* Usage Minimum (1) */
-+ 0x29, 0x05, /* Usage Maximum (5) */
-+ 0x15, 0x00, /* Logical Minimum (0) */
-+ 0x25, 0x01, /* Logical Maximum (1) */
-+ 0x95, 0x05, /* Report Count (5) */
-+ 0x75, 0x01, /* Report Size (1) */
-+ 0x81, 0x02, /* Input (Data, Variable, Absolute) */
-+ 0x95, 0x01, /* Report Count (1) */
-+ 0x75, 0x03, /* Report Size (3) */
-+ 0x81, 0x01, /* Input (Constant) */
-+ 0x05, 0x01, /* Usage Page (Generic Desktop) */
-+ 0x09, 0x30, /* Usage (X) */
-+ 0x09, 0x31, /* Usage (Y) */
-+ 0x15, 0x81, /* Logical Minimum (-127) */
-+ 0x25, 0x7f, /* Logical Maximum (127) */
-+ 0x75, 0x08, /* Report Size (8) */
-+ 0x95, 0x02, /* Report Count (2) */
-+ 0x81, 0x06, /* Input (Data, Variable, Relative) */
-+ 0xc0, /* End Collection */
-+ 0xc0, /* End Collection */
-+ 0x05, 0x0d, /* Usage Page (Digitizer) */
-+ 0x09, 0x01, /* Usage (Digitizer) */
-+ 0xa1, 0x01, /* Collection (Application) */
-+ 0x85, 0x02, /* Report ID (2) */
-+ 0xa1, 0x00, /* Collection (Physical) */
-+ 0x06, 0x00, 0xff, /* Usage Page (Vendor 0xff00) */
-+ 0x09, 0x01, /* Usage (Digitizer) */
-+ 0x15, 0x00, /* Logical Minimum (0) */
-+ 0x26, 0xff, 0x00, /* Logical Maximum (255) */
-+ 0x75, 0x08, /* Report Size (8) */
-+ 0x95, 0x08, /* Report Count (8) */
-+ 0x81, 0x02, /* Input (Data, Variable, Absolute) */
-+ 0xc0, /* End Collection */
-+ 0x09, 0x01, /* Usage (Digitizer) */
-+ 0x85, 0x02, /* Report ID (2) */
-+ 0x95, 0x01, /* Report Count (1) */
-+ 0xb1, 0x02, /* FEATURE (2) */
-+ 0xc0, /* End Collection */
-+ 0x06, 0x00, 0xff, /* Usage Page (Vendor 0xff00) */
-+ 0x09, 0x01, /* Usage (Digitizer) */
-+ 0xa1, 0x01, /* Collection (Application) */
-+ 0x85, 0x02, /* Report ID (2) */
-+ 0x05, 0x0d, /* Usage Page (Digitizer) */
-+ 0x09, 0x22, /* Usage (Finger) */
-+ 0xa1, 0x00, /* Collection (Physical) */
-+ 0x06, 0x00, 0xff, /* Usage Page (Vendor 0xff00) */
-+ 0x09, 0x01, /* Usage (Digitizer) */
-+ 0x15, 0x00, /* Logical Minimum (0) */
-+ 0x26, 0xff, 0x00, /* Logical Maximum */
-+ 0x75, 0x08, /* Report Size (8) */
-+ 0x95, 0x02, /* Report Count (2) */
-+ 0x81, 0x02, /* Input (Data, Variable, Absolute) */
-+ 0x05, 0x01, /* Usage Page (Generic Desktop) */
-+ 0x09, 0x30, /* Usage (X) */
-+ 0x35, 0x00, /* Physical Minimum */
-+ 0x46, 0xe0, 0x2e, /* Physical Maximum */
-+ 0x26, 0xe0, 0x01, /* Logical Maximum */
-+ 0x75, 0x10, /* Report Size (16) */
-+ 0x95, 0x01, /* Report Count (1) */
-+ 0x81, 0x02, /* Input (Data, Variable, Absolute) */
-+ 0x09, 0x31, /* Usage (Y) */
-+ 0x46, 0x40, 0x1f, /* Physical Maximum */
-+ 0x26, 0x40, 0x01, /* Logical Maximum */
-+ 0x81, 0x02, /* Input (Data, Variable, Absolute) */
-+ 0x06, 0x00, 0xff, /* Usage Page (Vendor 0xff00) */
-+ 0x09, 0x01, /* Usage (Digitizer) */
-+ 0x26, 0xff, 0x00, /* Logical Maximum */
-+ 0x75, 0x08, /* Report Size (8) */
-+ 0x95, 0x0d, /* Report Count (13) */
-+ 0x81, 0x02, /* Input (Data, Variable, Absolute) */
-+ 0xc0, /* End Collection */
-+ 0xc0, /* End Collection */
-+};
-+
-+
- static const USBDescIface desc_iface_wacom = {
- .bInterfaceNumber = 0,
- .bNumEndpoints = 1,
-@@ -91,7 +174,7 @@ static const USBDescIface desc_iface_wac
- 0x00, /* u8 country_code */
- 0x01, /* u8 num_descriptors */
- 0x22, /* u8 type: Report */
-- 0x6e, 0, /* u16 len */
-+ sizeof(qemu_tablet_hid_report_descriptor), 0, /* u16 len */
- },
- },
- },
-@@ -271,6 +354,15 @@ static void usb_wacom_handle_control(USB
- }
-
- switch (request) {
-+ case InterfaceRequest | USB_REQ_GET_DESCRIPTOR:
-+ switch (value >> 8) {
-+ case 0x22:
-+ memcpy(data, qemu_tablet_hid_report_descriptor,
-+ sizeof(qemu_tablet_hid_report_descriptor));
-+ p->actual_length = sizeof(qemu_tablet_hid_report_descriptor);
-+ break;
-+ }
-+ break;
- case WACOM_SET_REPORT:
- if (s->mouse_grabbed) {
- qemu_remove_mouse_event_handler(s->eh_entry);
diff --git a/meta/recipes-devtools/qemu/qemu/0001-target-mips-Increase-number-of-TLB-entries-on-the-34.patch b/meta/recipes-devtools/qemu/qemu/0001-target-mips-Increase-number-of-TLB-entries-on-the-34.patch
deleted file mode 100644
index 5227b7cbd2..0000000000
--- a/meta/recipes-devtools/qemu/qemu/0001-target-mips-Increase-number-of-TLB-entries-on-the-34.patch
+++ /dev/null
@@ -1,59 +0,0 @@
-From 68fa519a6cb455005317bd61f95214b58b2f1e69 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= <f4bug@amsat.org>
-Date: Fri, 16 Oct 2020 15:20:37 +0200
-Subject: [PATCH] target/mips: Increase number of TLB entries on the 34Kf core
- (16 -> 64)
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Per "MIPS32 34K Processor Core Family Software User's Manual,
-Revision 01.13" page 8 in "Joint TLB (JTLB)" section:
-
- "The JTLB is a fully associative TLB cache containing 16, 32,
- or 64-dual-entries mapping up to 128 virtual pages to their
- corresponding physical addresses."
-
-There is no particular reason to restrict the 34Kf core model to
-16 TLB entries, so raise its config to 64.
-
-This is helpful for other projects, in particular the Yocto Project:
-
- Yocto Project uses qemu-system-mips 34Kf cpu model, to run 32bit
- MIPS CI loop. It was observed that in this case CI test execution
- time was almost twice longer than 64bit MIPS variant that runs
- under MIPS64R2-generic model. It was investigated and concluded
- that the difference in number of TLBs 16 in 34Kf case vs 64 in
- MIPS64R2-generic is responsible for most of CI real time execution
- difference. Because with 16 TLBs linux user-land trashes TLB more
- and it needs to execute more instructions in TLB refill handler
- calls, as result it runs much longer.
-
-(https://lists.gnu.org/archive/html/qemu-devel/2020-10/msg03428.html)
-
-Buglink: https://bugzilla.yoctoproject.org/show_bug.cgi?id=13992
-Reported-by: Victor Kamensky <kamensky@cisco.com>
-Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
-Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
-Message-Id: <20201016133317.553068-1-f4bug@amsat.org>
-
-Upstream-Status: Backport [https://github.com/qemu/qemu/commit/68fa519a6cb455005317bd61f95214b58b2f1e69]
-Signed-off-by: Victor Kamensky <kamensky@cisco.com>
-
----
- target/mips/translate_init.c.inc | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-Index: qemu-5.1.0/target/mips/translate_init.inc.c
-===================================================================
---- qemu-5.1.0.orig/target/mips/translate_init.inc.c
-+++ qemu-5.1.0/target/mips/translate_init.inc.c
-@@ -254,7 +254,7 @@ const mips_def_t mips_defs[] =
- .CP0_PRid = 0x00019500,
- .CP0_Config0 = MIPS_CONFIG0 | (0x1 << CP0C0_AR) |
- (MMU_TYPE_R4000 << CP0C0_MT),
-- .CP0_Config1 = MIPS_CONFIG1 | (1 << CP0C1_FP) | (15 << CP0C1_MMU) |
-+ .CP0_Config1 = MIPS_CONFIG1 | (1 << CP0C1_FP) | (63 << CP0C1_MMU) |
- (0 << CP0C1_IS) | (3 << CP0C1_IL) | (1 << CP0C1_IA) |
- (0 << CP0C1_DS) | (3 << CP0C1_DL) | (1 << CP0C1_DA) |
- (1 << CP0C1_CA),
diff --git a/meta/recipes-devtools/qemu/qemu/0002-Add-subpackage-ptest-which-runs-all-unit-test-cases-.patch b/meta/recipes-devtools/qemu/qemu/0002-Add-subpackage-ptest-which-runs-all-unit-test-cases-.patch
deleted file mode 100644
index f379948f14..0000000000
--- a/meta/recipes-devtools/qemu/qemu/0002-Add-subpackage-ptest-which-runs-all-unit-test-cases-.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From 5da6cef7761157a003e7ebde74fb3cf90ab396d9 Mon Sep 17 00:00:00 2001
-From: Juro Bystricky <juro.bystricky@intel.com>
-Date: Thu, 31 Aug 2017 11:06:56 -0700
-Subject: [PATCH] Add subpackage -ptest which runs all unit test cases for
- qemu.
-
-Upstream-Status: Pending
-
-Signed-off-by: Kai Kang <kai.kang@windriver.com>
-
-Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
-
-[update patch context]
-Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
----
- tests/Makefile.include | 8 ++++++++
- 1 file changed, 8 insertions(+)
-
-Index: qemu-5.1.0/tests/Makefile.include
-===================================================================
---- qemu-5.1.0.orig/tests/Makefile.include
-+++ qemu-5.1.0/tests/Makefile.include
-@@ -982,4 +982,12 @@ all: $(QEMU_IOTESTS_HELPERS-y)
- -include $(wildcard tests/qtest/*.d)
- -include $(wildcard tests/qtest/libqos/*.d)
-
-+buildtest-TESTS: $(check-unit-y)
-+
-+runtest-TESTS:
-+ for f in $(check-unit-y); do \
-+ nf=$$(echo $$f | sed 's/tests\//\.\//g'); \
-+ $$nf; \
-+ done
-+
- endif
diff --git a/meta/recipes-devtools/qemu/qemu/0007-apic-fixup-fallthrough-to-PIC.patch b/meta/recipes-devtools/qemu/qemu/0002-apic-fixup-fallthrough-to-PIC.patch
index 034ac57821..5f8fe4faa3 100644
--- a/meta/recipes-devtools/qemu/qemu/0007-apic-fixup-fallthrough-to-PIC.patch
+++ b/meta/recipes-devtools/qemu/qemu/0002-apic-fixup-fallthrough-to-PIC.patch
@@ -1,7 +1,7 @@
-From a59a98d100123030a4145e7efe3b8a001920a9f1 Mon Sep 17 00:00:00 2001
+From 23bf534e463bf4c1ba2e1356eaf17be0b23b192e Mon Sep 17 00:00:00 2001
From: Mark Asselstine <mark.asselstine@windriver.com>
Date: Tue, 26 Feb 2013 11:43:28 -0500
-Subject: [PATCH] apic: fixup fallthrough to PIC
+Subject: [PATCH 02/11] apic: fixup fallthrough to PIC
Commit 0e21e12bb311c4c1095d0269dc2ef81196ccb60a [Don't route PIC
interrupts through the local APIC if the local APIC config says so.]
@@ -24,16 +24,15 @@ serviced, is -1.
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Upstream-Status: Submitted [https://lists.gnu.org/archive/html/qemu-devel/2013-04/msg00878.html]
Signed-off-by: He Zhe <zhe.he@windriver.com>
-
---
hw/intc/apic.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
-Index: qemu-5.1.0/hw/intc/apic.c
-===================================================================
---- qemu-5.1.0.orig/hw/intc/apic.c
-+++ qemu-5.1.0/hw/intc/apic.c
-@@ -603,7 +603,7 @@ int apic_accept_pic_intr(DeviceState *de
+diff --git a/hw/intc/apic.c b/hw/intc/apic.c
+index 4186c57b34..43cd805a96 100644
+--- a/hw/intc/apic.c
++++ b/hw/intc/apic.c
+@@ -759,7 +759,7 @@ int apic_accept_pic_intr(DeviceState *dev)
APICCommonState *s = APIC(dev);
uint32_t lvt0;
@@ -42,3 +41,6 @@ Index: qemu-5.1.0/hw/intc/apic.c
return -1;
lvt0 = s->lvt[APIC_LVT_LINT0];
+--
+2.44.0
+
diff --git a/meta/recipes-devtools/qemu/qemu/0003-configure-Add-pkg-config-handling-for-libgcrypt.patch b/meta/recipes-devtools/qemu/qemu/0003-configure-Add-pkg-config-handling-for-libgcrypt.patch
new file mode 100644
index 0000000000..30e269f8f4
--- /dev/null
+++ b/meta/recipes-devtools/qemu/qemu/0003-configure-Add-pkg-config-handling-for-libgcrypt.patch
@@ -0,0 +1,31 @@
+From e4f6c6b9f43b28271bc9dc6cbcafad53f80387e0 Mon Sep 17 00:00:00 2001
+From: He Zhe <zhe.he@windriver.com>
+Date: Wed, 28 Aug 2019 19:56:28 +0800
+Subject: [PATCH 03/11] configure: Add pkg-config handling for libgcrypt
+
+libgcrypt may also be controlled by pkg-config, this patch adds pkg-config
+handling for libgcrypt.
+
+Upstream-Status: Denied [https://lists.nongnu.org/archive/html/qemu-devel/2019-08/msg06333.html]
+
+Signed-off-by: He Zhe <zhe.he@windriver.com>
+---
+ meson.build | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/meson.build b/meson.build
+index 91a0aa64c6..e8373d55b8 100644
+--- a/meson.build
++++ b/meson.build
+@@ -1655,7 +1655,7 @@ endif
+ if not gnutls_crypto.found()
+ if (not get_option('gcrypt').auto() or have_system) and not get_option('nettle').enabled()
+ gcrypt = dependency('libgcrypt', version: '>=1.8',
+- method: 'config-tool',
++ method: 'pkg-config',
+ required: get_option('gcrypt'))
+ # Debian has removed -lgpg-error from libgcrypt-config
+ # as it "spreads unnecessary dependencies" which in
+--
+2.44.0
+
diff --git a/meta/recipes-devtools/qemu/qemu/0001-qemu-Do-not-include-file-if-not-exists.patch b/meta/recipes-devtools/qemu/qemu/0004-qemu-Do-not-include-file-if-not-exists.patch
index d6c0f9ebe9..d9cab428c4 100644
--- a/meta/recipes-devtools/qemu/qemu/0001-qemu-Do-not-include-file-if-not-exists.patch
+++ b/meta/recipes-devtools/qemu/qemu/0004-qemu-Do-not-include-file-if-not-exists.patch
@@ -1,7 +1,7 @@
-From 34247f83095f8cdcdc1f9d7f0c6ffbd46b25d979 Mon Sep 17 00:00:00 2001
+From 5223d46a8d5302396f9fc7cc5d830769e87242fe Mon Sep 17 00:00:00 2001
From: Oleksiy Obitotskyy <oobitots@cisco.com>
Date: Wed, 25 Mar 2020 21:21:35 +0200
-Subject: [PATCH] qemu: Do not include file if not exists
+Subject: [PATCH 04/11] qemu: Do not include file if not exists
Script configure checks for if_alg.h and check failed but
if_alg.h still included.
@@ -15,11 +15,11 @@ Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
linux-user/syscall.c | 2 ++
1 file changed, 2 insertions(+)
-Index: qemu-5.1.0/linux-user/syscall.c
-===================================================================
---- qemu-5.1.0.orig/linux-user/syscall.c
-+++ qemu-5.1.0/linux-user/syscall.c
-@@ -109,7 +109,9 @@
+diff --git a/linux-user/syscall.c b/linux-user/syscall.c
+index 3df2b94d9a..18f09f1f07 100644
+--- a/linux-user/syscall.c
++++ b/linux-user/syscall.c
+@@ -116,7 +116,9 @@
#include <linux/blkpg.h>
#include <netpacket/packet.h>
#include <linux/netlink.h>
@@ -28,4 +28,7 @@ Index: qemu-5.1.0/linux-user/syscall.c
+#endif
#include <linux/rtc.h>
#include <sound/asound.h>
- #ifdef HAVE_DRM_H
+ #ifdef HAVE_BTRFS_H
+--
+2.44.0
+
diff --git a/meta/recipes-devtools/qemu/qemu/0004-qemu-disable-Valgrind.patch b/meta/recipes-devtools/qemu/qemu/0004-qemu-disable-Valgrind.patch
deleted file mode 100644
index 71f537f9b0..0000000000
--- a/meta/recipes-devtools/qemu/qemu/0004-qemu-disable-Valgrind.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From 4127296bb1046cdf73994ba69dc913d8c02fd74f Mon Sep 17 00:00:00 2001
-From: Ross Burton <ross.burton@intel.com>
-Date: Tue, 20 Oct 2015 22:19:08 +0100
-Subject: [PATCH] qemu: disable Valgrind
-
-There isn't an option to enable or disable valgrind support, so disable it to avoid non-deterministic builds.
-
-Upstream-Status: Inappropriate
-Signed-off-by: Ross Burton <ross.burton@intel.com>
-
----
- configure | 9 ---------
- 1 file changed, 9 deletions(-)
-
-Index: qemu-5.1.0/configure
-===================================================================
---- qemu-5.1.0.orig/configure
-+++ qemu-5.1.0/configure
-@@ -5751,15 +5751,6 @@ fi
- # check if we have valgrind/valgrind.h
-
- valgrind_h=no
--cat > $TMPC << EOF
--#include <valgrind/valgrind.h>
--int main(void) {
-- return 0;
--}
--EOF
--if compile_prog "" "" ; then
-- valgrind_h=yes
--fi
-
- ########################################
- # check if environ is declared
diff --git a/meta/recipes-devtools/qemu/qemu/0005-qemu-Add-some-user-space-mmap-tweaks-to-address-musl.patch b/meta/recipes-devtools/qemu/qemu/0005-qemu-Add-some-user-space-mmap-tweaks-to-address-musl.patch
new file mode 100644
index 0000000000..3c7f5776ff
--- /dev/null
+++ b/meta/recipes-devtools/qemu/qemu/0005-qemu-Add-some-user-space-mmap-tweaks-to-address-musl.patch
@@ -0,0 +1,51 @@
+From 1c295069857b9850f15f2cd6b33b133ea641a454 Mon Sep 17 00:00:00 2001
+From: Richard Purdie <richard.purdie@linuxfoundation.org>
+Date: Fri, 8 Jan 2021 17:27:06 +0000
+Subject: [PATCH 05/11] qemu: Add some user space mmap tweaks to address musl
+ 32 bit
+
+When using qemu-i386 to build qemux86 webkitgtk on musl, it sits in an
+infinite loop of mremap calls of ever decreasing/increasing addresses.
+
+I suspect something in the musl memory allocation code loops indefinitely
+if it only sees ENOMEM and only exits when it hits EFAULT.
+
+According to the docs, trying to mremap outside the address space
+can/should return EFAULT and changing this allows the build to succeed.
+
+A better return value for the other cases of invalid addresses is EINVAL
+rather than ENOMEM so adjust the other part of the test to this.
+
+Upstream-Status: Submitted [https://lists.gnu.org/archive/html/qemu-devel/2021-01/msg01355.html]
+Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org
+---
+ linux-user/mmap.c | 10 +++++++---
+ 1 file changed, 7 insertions(+), 3 deletions(-)
+
+diff --git a/linux-user/mmap.c b/linux-user/mmap.c
+index be3b9a68eb..481286f01d 100644
+--- a/linux-user/mmap.c
++++ b/linux-user/mmap.c
+@@ -1060,12 +1060,16 @@ abi_long target_mremap(abi_ulong old_addr, abi_ulong old_size,
+ int prot;
+ void *host_addr;
+
+- if (!guest_range_valid_untagged(old_addr, old_size) ||
+- ((flags & MREMAP_FIXED) &&
++ if (!guest_range_valid_untagged(old_addr, old_size)) {
++ errno = EFAULT;
++ return -1;
++ }
++
++ if (((flags & MREMAP_FIXED) &&
+ !guest_range_valid_untagged(new_addr, new_size)) ||
+ ((flags & MREMAP_MAYMOVE) == 0 &&
+ !guest_range_valid_untagged(old_addr, new_size))) {
+- errno = ENOMEM;
++ errno = EINVAL;
+ return -1;
+ }
+
+--
+2.44.0
+
diff --git a/meta/recipes-devtools/qemu/qemu/0005-qemu-native-set-ld.bfd-fix-cflags-and-set-some-envir.patch b/meta/recipes-devtools/qemu/qemu/0005-qemu-native-set-ld.bfd-fix-cflags-and-set-some-envir.patch
deleted file mode 100644
index 02ebbee1a0..0000000000
--- a/meta/recipes-devtools/qemu/qemu/0005-qemu-native-set-ld.bfd-fix-cflags-and-set-some-envir.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From 230fe5804099bdca0c9e4cae7280c9fc513cb7f5 Mon Sep 17 00:00:00 2001
-From: Stephen Arnold <sarnold@vctlabs.com>
-Date: Sun, 12 Jun 2016 18:09:56 -0700
-Subject: [PATCH] qemu-native: set ld.bfd, fix cflags, and set some environment
-
-Upstream-Status: Pending
-
-[update patch context]
-Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
----
- configure | 4 ----
- 1 file changed, 4 deletions(-)
-
-Index: qemu-5.1.0/configure
-===================================================================
---- qemu-5.1.0.orig/configure
-+++ qemu-5.1.0/configure
-@@ -6515,10 +6515,6 @@ write_c_skeleton
- if test "$gcov" = "yes" ; then
- QEMU_CFLAGS="-fprofile-arcs -ftest-coverage -g $QEMU_CFLAGS"
- QEMU_LDFLAGS="-fprofile-arcs -ftest-coverage $QEMU_LDFLAGS"
--elif test "$fortify_source" = "yes" ; then
-- CFLAGS="-O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 $CFLAGS"
--elif test "$debug" = "no"; then
-- CFLAGS="-O2 $CFLAGS"
- fi
-
- if test "$have_asan" = "yes"; then
diff --git a/meta/recipes-devtools/qemu/qemu/0006-chardev-connect-socket-to-a-spawned-command.patch b/meta/recipes-devtools/qemu/qemu/0006-chardev-connect-socket-to-a-spawned-command.patch
deleted file mode 100644
index 98fd5e9133..0000000000
--- a/meta/recipes-devtools/qemu/qemu/0006-chardev-connect-socket-to-a-spawned-command.patch
+++ /dev/null
@@ -1,241 +0,0 @@
-From bcc63f775e265df69963a4ad7805b8678ace68f0 Mon Sep 17 00:00:00 2001
-From: Alistair Francis <alistair.francis@xilinx.com>
-Date: Thu, 21 Dec 2017 11:35:16 -0800
-Subject: [PATCH] chardev: connect socket to a spawned command
-
-The command is started in a shell (sh -c) with stdin connect to QEMU
-via a Unix domain stream socket. QEMU then exchanges data via its own
-end of the socket, just like it normally does.
-
-"-chardev socket" supports some ways of connecting via protocols like
-telnet, but that is only a subset of the functionality supported by
-tools socat. To use socat instead, for example to connect via a socks
-proxy, use:
-
- -chardev 'socket,id=socat,cmd=exec socat FD:0 SOCKS4A:socks-proxy.localdomain:example.com:9999,,socksuser=nobody' \
- -device usb-serial,chardev=socat
-
-Beware that commas in the command must be escaped as double commas.
-
-Or interactively in the console:
- (qemu) chardev-add socket,id=cat,cmd=cat
- (qemu) device_add usb-serial,chardev=cat
- ^ac
- # cat >/dev/ttyUSB0
- hello
- hello
-
-Another usage is starting swtpm from inside QEMU. swtpm will
-automatically shut down once it looses the connection to the parent
-QEMU, so there is no risk of lingering processes:
-
- -chardev 'socket,id=chrtpm0,cmd=exec swtpm socket --terminate --ctrl type=unixio,,clientfd=0 --tpmstate dir=... --log file=swtpm.log' \
- -tpmdev emulator,id=tpm0,chardev=chrtpm0 \
- -device tpm-tis,tpmdev=tpm0
-
-The patch was discussed upstream, but QEMU developers believe that the
-code calling QEMU should be responsible for managing additional
-processes. In OE-core, that would imply enhancing runqemu and
-oeqa. This patch is a simpler solution.
-
-Because it is not going upstream, the patch was written so that it is
-as simple as possible.
-
-Upstream-Status: Inappropriate [embedded specific]
-
-Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
-
----
- chardev/char-socket.c | 101 ++++++++++++++++++++++++++++++++++++++++++
- chardev/char.c | 3 ++
- qapi/char.json | 5 +++
- 3 files changed, 109 insertions(+)
-
-Index: qemu-5.1.0/chardev/char-socket.c
-===================================================================
---- qemu-5.1.0.orig/chardev/char-socket.c
-+++ qemu-5.1.0/chardev/char-socket.c
-@@ -1292,6 +1292,67 @@ static bool qmp_chardev_validate_socket(
- return true;
- }
-
-+#ifndef _WIN32
-+static void chardev_open_socket_cmd(Chardev *chr,
-+ const char *cmd,
-+ Error **errp)
-+{
-+ int fds[2] = { -1, -1 };
-+ QIOChannelSocket *sioc = NULL;
-+ pid_t pid = -1;
-+ const char *argv[] = { "/bin/sh", "-c", cmd, NULL };
-+
-+ /*
-+ * We need a Unix domain socket for commands like swtpm and a single
-+ * connection, therefore we cannot use qio_channel_command_new_spawn()
-+ * without patching it first. Duplicating the functionality is easier.
-+ */
-+ if (socketpair(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC, 0, fds)) {
-+ error_setg_errno(errp, errno, "Error creating socketpair(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC)");
-+ goto error;
-+ }
-+
-+ pid = qemu_fork(errp);
-+ if (pid < 0) {
-+ goto error;
-+ }
-+
-+ if (!pid) {
-+ /* child */
-+ dup2(fds[1], STDIN_FILENO);
-+ execv(argv[0], (char * const *)argv);
-+ _exit(1);
-+ }
-+
-+ /*
-+ * Hand over our end of the socket pair to the qio channel.
-+ *
-+ * We don't reap the child because it is expected to keep
-+ * running. We also don't support the "reconnect" option for the
-+ * same reason.
-+ */
-+ sioc = qio_channel_socket_new_fd(fds[0], errp);
-+ if (!sioc) {
-+ goto error;
-+ }
-+ fds[0] = -1;
-+
-+ g_free(chr->filename);
-+ chr->filename = g_strdup_printf("cmd:%s", cmd);
-+ tcp_chr_new_client(chr, sioc);
-+
-+ error:
-+ if (fds[0] >= 0) {
-+ close(fds[0]);
-+ }
-+ if (fds[1] >= 0) {
-+ close(fds[1]);
-+ }
-+ if (sioc) {
-+ object_unref(OBJECT(sioc));
-+ }
-+}
-+#endif
-
- static void qmp_chardev_open_socket(Chardev *chr,
- ChardevBackend *backend,
-@@ -1300,6 +1361,9 @@ static void qmp_chardev_open_socket(Char
- {
- SocketChardev *s = SOCKET_CHARDEV(chr);
- ChardevSocket *sock = backend->u.socket.data;
-+#ifndef _WIN32
-+ const char *cmd = sock->cmd;
-+#endif
- bool do_nodelay = sock->has_nodelay ? sock->nodelay : false;
- bool is_listen = sock->has_server ? sock->server : true;
- bool is_telnet = sock->has_telnet ? sock->telnet : false;
-@@ -1365,6 +1429,14 @@ static void qmp_chardev_open_socket(Char
-
- update_disconnected_filename(s);
-
-+#ifndef _WIN32
-+ if (cmd) {
-+ chardev_open_socket_cmd(chr, cmd, errp);
-+
-+ /* everything ready (or failed permanently) before we return */
-+ *be_opened = true;
-+ } else
-+#endif
- if (s->is_listen) {
- if (qmp_chardev_open_socket_server(chr, is_telnet || is_tn3270,
- is_waitconnect, errp) < 0) {
-@@ -1384,11 +1456,27 @@ static void qemu_chr_parse_socket(QemuOp
- const char *host = qemu_opt_get(opts, "host");
- const char *port = qemu_opt_get(opts, "port");
- const char *fd = qemu_opt_get(opts, "fd");
-+#ifndef _WIN32
-+ const char *cmd = qemu_opt_get(opts, "cmd");
-+#endif
- bool tight = qemu_opt_get_bool(opts, "tight", true);
- bool abstract = qemu_opt_get_bool(opts, "abstract", false);
- SocketAddressLegacy *addr;
- ChardevSocket *sock;
-
-+#ifndef _WIN32
-+ if (cmd) {
-+ /*
-+ * Here we have to ensure that no options are set which are incompatible with
-+ * spawning a command, otherwise unmodified code that doesn't know about
-+ * command spawning (like socket_reconnect_timeout()) might get called.
-+ */
-+ if (path || sock->server || sock->has_telnet || sock->has_tn3270 || sock->reconnect || host || port || sock->tls_creds) {
-+ error_setg(errp, "chardev: socket: cmd does not support any additional options");
-+ return;
-+ }
-+ } else
-+#endif
- if ((!!path + !!fd + !!host) != 1) {
- error_setg(errp,
- "Exactly one of 'path', 'fd' or 'host' required");
-@@ -1431,12 +1519,24 @@ static void qemu_chr_parse_socket(QemuOp
- sock->has_tls_authz = qemu_opt_get(opts, "tls-authz");
- sock->tls_authz = g_strdup(qemu_opt_get(opts, "tls-authz"));
-
-- addr = g_new0(SocketAddressLegacy, 1);
-+#ifndef _WIN32
-+ sock->cmd = g_strdup(cmd);
-+#endif
-+
-+ addr = g_new0(SocketAddressLegacy, 1);
-+#ifndef _WIN32
-+ if (path || cmd) {
-+#else
- if (path) {
-+#endif
- UnixSocketAddress *q_unix;
- addr->type = SOCKET_ADDRESS_LEGACY_KIND_UNIX;
- q_unix = addr->u.q_unix.data = g_new0(UnixSocketAddress, 1);
-+#ifndef _WIN32
-+ q_unix->path = cmd ? g_strdup_printf("cmd:%s", cmd) : g_strdup(path);
-+#else
- q_unix->path = g_strdup(path);
-+#endif
- q_unix->tight = tight;
- q_unix->abstract = abstract;
- } else if (host) {
-Index: qemu-5.1.0/chardev/char.c
-===================================================================
---- qemu-5.1.0.orig/chardev/char.c
-+++ qemu-5.1.0/chardev/char.c
-@@ -826,6 +826,9 @@ QemuOptsList qemu_chardev_opts = {
- .name = "path",
- .type = QEMU_OPT_STRING,
- },{
-+ .name = "cmd",
-+ .type = QEMU_OPT_STRING,
-+ },{
- .name = "host",
- .type = QEMU_OPT_STRING,
- },{
-Index: qemu-5.1.0/qapi/char.json
-===================================================================
---- qemu-5.1.0.orig/qapi/char.json
-+++ qemu-5.1.0/qapi/char.json
-@@ -250,6 +250,10 @@
- #
- # @addr: socket address to listen on (server=true)
- # or connect to (server=false)
-+# @cmd: command to run via "sh -c" with stdin as one end of
-+# a AF_UNIX SOCK_DSTREAM socket pair. The other end
-+# is used by the chardev. Either an addr or a cmd can
-+# be specified, but not both.
- # @tls-creds: the ID of the TLS credentials object (since 2.6)
- # @tls-authz: the ID of the QAuthZ authorization object against which
- # the client's x509 distinguished name will be validated. This
-@@ -276,6 +280,7 @@
- ##
- { 'struct': 'ChardevSocket',
- 'data': { 'addr': 'SocketAddressLegacy',
-+ '*cmd': 'str',
- '*tls-creds': 'str',
- '*tls-authz' : 'str',
- '*server': 'bool',
diff --git a/meta/recipes-devtools/qemu/qemu/0006-qemu-Determinism-fixes.patch b/meta/recipes-devtools/qemu/qemu/0006-qemu-Determinism-fixes.patch
new file mode 100644
index 0000000000..f07054f19a
--- /dev/null
+++ b/meta/recipes-devtools/qemu/qemu/0006-qemu-Determinism-fixes.patch
@@ -0,0 +1,33 @@
+From 9d32df80e33a7541658858497f45bed1e59e3621 Mon Sep 17 00:00:00 2001
+From: Richard Purdie <richard.purdie@linuxfoundation.org>
+Date: Mon, 1 Mar 2021 13:00:47 +0000
+Subject: [PATCH 06/11] qemu: Determinism fixes
+
+When sources are included within debug information, a couple of areas of the
+qemu build are not reproducible due to either full buildpaths or timestamps.
+
+Replace the full paths with relative ones. I couldn't figure out how to get
+meson to pass relative paths but we can fix that in the script.
+
+Upstream-Status: Pending [some version of all/part of this may be accepted]
+RP 2021/3/1
+---
+ scripts/decodetree.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/scripts/decodetree.py b/scripts/decodetree.py
+index e8b72da3a9..5cd86b1428 100644
+--- a/scripts/decodetree.py
++++ b/scripts/decodetree.py
+@@ -1558,7 +1558,7 @@ def main():
+ toppat = ExcMultiPattern(0)
+
+ for filename in args:
+- input_file = filename
++ input_file = os.path.relpath(filename)
+ f = open(filename, 'rt', encoding='utf-8')
+ parse_file(f, toppat)
+ f.close()
+--
+2.44.0
+
diff --git a/meta/recipes-devtools/qemu/qemu/0007-tests-meson.build-use-relative-path-to-refer-to-file.patch b/meta/recipes-devtools/qemu/qemu/0007-tests-meson.build-use-relative-path-to-refer-to-file.patch
new file mode 100644
index 0000000000..74de158b2e
--- /dev/null
+++ b/meta/recipes-devtools/qemu/qemu/0007-tests-meson.build-use-relative-path-to-refer-to-file.patch
@@ -0,0 +1,43 @@
+From 77ebf67d0c96f51da91c8499200ebd13f4dcdd68 Mon Sep 17 00:00:00 2001
+From: Changqing Li <changqing.li@windriver.com>
+Date: Thu, 14 Jan 2021 06:33:04 +0000
+Subject: [PATCH 07/11] tests/meson.build: use relative path to refer to files
+
+Fix error like:
+Fatal error: can't create tests/ptimer-test.p/..._qemu-5.2.0_hw_core_ptimer.c.o: File name too long
+
+when build path is too long, use meson.source_root() will make this
+filename too long. Fixed by using relative path to refer to files
+
+Upstream-Status: Submitted [send to qemu-devel]
+
+Signed-off-by: Changqing Li <changqing.li@windriver.com>
+---
+ tests/unit/meson.build | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/tests/unit/meson.build b/tests/unit/meson.build
+index 228a21d03c..272fb4c6ca 100644
+--- a/tests/unit/meson.build
++++ b/tests/unit/meson.build
+@@ -47,7 +47,7 @@ tests = {
+ 'test-keyval': [testqapi],
+ 'test-logging': [],
+ 'test-uuid': [],
+- 'ptimer-test': ['ptimer-test-stubs.c', meson.project_source_root() / 'hw/core/ptimer.c'],
++ 'ptimer-test': ['ptimer-test-stubs.c', '../../hw/core/ptimer.c'],
+ 'test-qapi-util': [],
+ 'test-interval-tree': [],
+ 'test-xs-node': [qom],
+@@ -138,7 +138,7 @@ if have_system
+ 'test-util-sockets': ['socket-helpers.c'],
+ 'test-base64': [],
+ 'test-bufferiszero': [],
+- 'test-smp-parse': [qom, meson.project_source_root() / 'hw/core/machine-smp.c'],
++ 'test-smp-parse': [qom, '../../hw/core/machine-smp.c'],
+ 'test-vmstate': [migration, io],
+ 'test-yank': ['socket-helpers.c', qom, io, chardev]
+ }
+--
+2.44.0
+
diff --git a/meta/recipes-devtools/qemu/qemu/0008-Define-MAP_SYNC-and-MAP_SHARED_VALIDATE-on-needed-li.patch b/meta/recipes-devtools/qemu/qemu/0008-Define-MAP_SYNC-and-MAP_SHARED_VALIDATE-on-needed-li.patch
new file mode 100644
index 0000000000..2e28590e11
--- /dev/null
+++ b/meta/recipes-devtools/qemu/qemu/0008-Define-MAP_SYNC-and-MAP_SHARED_VALIDATE-on-needed-li.patch
@@ -0,0 +1,48 @@
+From 21b159a11bbcb1eeb26f12456e4c3fd62a06cbec Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Mon, 21 Mar 2022 10:09:38 -0700
+Subject: [PATCH 08/11] Define MAP_SYNC and MAP_SHARED_VALIDATE on needed linux
+ systems
+
+linux only wires MAP_SYNC and MAP_SHARED_VALIDATE for architectures
+which include asm-generic/mman.h and mips/powerpc are not including this
+file in linux/mman.h, therefore these should be defined for such
+architectures on Linux as well. This fixes build on mips/musl/linux
+
+Upstream-Status: Submitted [https://lists.nongnu.org/archive/html/qemu-devel/2022-03/msg05298.html]
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+Cc: Zhang Yi <yi.z.zhang@linux.intel.com>
+Cc: Michael S. Tsirkin <mst@redhat.com>
+---
+ util/mmap-alloc.c | 10 +++++++---
+ 1 file changed, 7 insertions(+), 3 deletions(-)
+
+diff --git a/util/mmap-alloc.c b/util/mmap-alloc.c
+index ed14f9c64d..038f5b4b55 100644
+--- a/util/mmap-alloc.c
++++ b/util/mmap-alloc.c
+@@ -10,14 +10,18 @@
+ * later. See the COPYING file in the top-level directory.
+ */
+
++#include "qemu/osdep.h"
+ #ifdef CONFIG_LINUX
+ #include <linux/mman.h>
+-#else /* !CONFIG_LINUX */
++#endif /* CONFIG_LINUX */
++
++#ifndef MAP_SYNC
+ #define MAP_SYNC 0x0
++#endif /* MAP_SYNC */
++#ifndef MAP_SHARED_VALIDATE
+ #define MAP_SHARED_VALIDATE 0x0
+-#endif /* CONFIG_LINUX */
++#endif /* MAP_SHARED_VALIDATE */
+
+-#include "qemu/osdep.h"
+ #include "qemu/mmap-alloc.h"
+ #include "qemu/host-utils.h"
+ #include "qemu/cutils.h"
+--
+2.44.0
+
diff --git a/meta/recipes-devtools/qemu/qemu/0008-linux-user-Fix-webkitgtk-hangs-on-32-bit-x86-target.patch b/meta/recipes-devtools/qemu/qemu/0008-linux-user-Fix-webkitgtk-hangs-on-32-bit-x86-target.patch
deleted file mode 100644
index d20f04ee59..0000000000
--- a/meta/recipes-devtools/qemu/qemu/0008-linux-user-Fix-webkitgtk-hangs-on-32-bit-x86-target.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From cf8c9aac5243f506a1a3e8e284414f311cde04f5 Mon Sep 17 00:00:00 2001
-From: Alistair Francis <alistair.francis@xilinx.com>
-Date: Wed, 17 Jan 2018 10:51:49 -0800
-Subject: [PATCH] linux-user: Fix webkitgtk hangs on 32-bit x86 target
-
-Since commit "linux-user: Tidy and enforce reserved_va initialization"
-(18e80c55bb6ec17c05ec0ba717ec83933c2bfc07) the Yocto webkitgtk build
-hangs when cross compiling for 32-bit x86 on a 64-bit x86 machine using
-musl.
-
-To fix the issue reduce the MAX_RESERVED_VA macro to be a closer match
-to what it was before the problematic commit.
-
-Upstream-Status: Submitted http://lists.gnu.org/archive/html/qemu-devel/2018-01/msg04185.html
-Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
-
----
- linux-user/main.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-Index: qemu-5.1.0/linux-user/main.c
-===================================================================
---- qemu-5.1.0.orig/linux-user/main.c
-+++ qemu-5.1.0/linux-user/main.c
-@@ -92,7 +92,7 @@ static int last_log_mask;
- (TARGET_LONG_BITS == 32 || defined(TARGET_ABI32))
- /* There are a number of places where we assign reserved_va to a variable
- of type abi_ulong and expect it to fit. Avoid the last page. */
--# define MAX_RESERVED_VA(CPU) (0xfffffffful & TARGET_PAGE_MASK)
-+# define MAX_RESERVED_VA(CPU) (0x7ffffffful & TARGET_PAGE_MASK)
- # else
- # define MAX_RESERVED_VA(CPU) (1ul << TARGET_VIRT_ADDR_SPACE_BITS)
- # endif
diff --git a/meta/recipes-devtools/qemu/qemu/0009-Fix-webkitgtk-builds.patch b/meta/recipes-devtools/qemu/qemu/0009-Fix-webkitgtk-builds.patch
deleted file mode 100644
index f2a44986b7..0000000000
--- a/meta/recipes-devtools/qemu/qemu/0009-Fix-webkitgtk-builds.patch
+++ /dev/null
@@ -1,137 +0,0 @@
-From 815c97ba0de02da9dace3fcfcbdf9b20e029f0d7 Mon Sep 17 00:00:00 2001
-From: Martin Jansa <martin.jansa@lge.com>
-Date: Fri, 1 Jun 2018 08:41:07 +0000
-Subject: [PATCH] Fix webkitgtk builds
-
-This is a partial revert of "linux-user: fix mmap/munmap/mprotect/mremap/shmat".
-
-This patch fixes qemu-i386 hangs during gobject-introspection in webkitgtk build
-when musl is used on qemux86. This is the same issue that
-0008-linux-user-Fix-webkitgtk-hangs-on-32-bit-x86-target.patch was
-fixing in the 2.11 release.
-
-This patch also fixes a build failure when building webkitgtk for
-qemumips. A QEMU assert is seen while building webkitgtk:
-page_check_range: Assertion `start < ((target_ulong)1 << L1_MAP_ADDR_SPACE_BITS)' failed.
-
-This reverts commit ebf9a3630c911d0cfc9c20f7cafe9ba4f88cf583.
-
-Upstream-Status: Pending
-Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
-
-[update patch context]
-Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
----
- include/exec/cpu-all.h | 6 +-----
- include/exec/cpu_ldst.h | 5 ++++-
- linux-user/mmap.c | 17 ++++-------------
- linux-user/syscall.c | 5 +----
- 4 files changed, 10 insertions(+), 23 deletions(-)
-
-Index: qemu-5.1.0/include/exec/cpu-all.h
-===================================================================
---- qemu-5.1.0.orig/include/exec/cpu-all.h
-+++ qemu-5.1.0/include/exec/cpu-all.h
-@@ -176,11 +176,8 @@ extern unsigned long reserved_va;
- * avoid setting bits at the top of guest addresses that might need
- * to be used for tags.
- */
--#define GUEST_ADDR_MAX_ \
-- ((MIN_CONST(TARGET_VIRT_ADDR_SPACE_BITS, TARGET_ABI_BITS) <= 32) ? \
-- UINT32_MAX : ~0ul)
--#define GUEST_ADDR_MAX (reserved_va ? reserved_va - 1 : GUEST_ADDR_MAX_)
--
-+#define GUEST_ADDR_MAX (reserved_va ? reserved_va : \
-+ (1ul << TARGET_VIRT_ADDR_SPACE_BITS) - 1)
- #else
-
- #include "exec/hwaddr.h"
-Index: qemu-5.1.0/include/exec/cpu_ldst.h
-===================================================================
---- qemu-5.1.0.orig/include/exec/cpu_ldst.h
-+++ qemu-5.1.0/include/exec/cpu_ldst.h
-@@ -75,7 +75,10 @@ typedef uint64_t abi_ptr;
- #if HOST_LONG_BITS <= TARGET_VIRT_ADDR_SPACE_BITS
- #define guest_addr_valid(x) (1)
- #else
--#define guest_addr_valid(x) ((x) <= GUEST_ADDR_MAX)
-+#define guest_addr_valid(x) ({ \
-+ ((x) < (1ul << TARGET_VIRT_ADDR_SPACE_BITS)) && \
-+ (!reserved_va || ((x) < reserved_va)); \
-+})
- #endif
- #define h2g_valid(x) guest_addr_valid((unsigned long)(x) - guest_base)
-
-Index: qemu-5.1.0/linux-user/mmap.c
-===================================================================
---- qemu-5.1.0.orig/linux-user/mmap.c
-+++ qemu-5.1.0/linux-user/mmap.c
-@@ -71,7 +71,7 @@ int target_mprotect(abi_ulong start, abi
- return -TARGET_EINVAL;
- len = TARGET_PAGE_ALIGN(len);
- end = start + len;
-- if (!guest_range_valid(start, len)) {
-+ if (end < start) {
- return -TARGET_ENOMEM;
- }
- prot &= PROT_READ | PROT_WRITE | PROT_EXEC;
-@@ -467,8 +467,8 @@ abi_long target_mmap(abi_ulong start, ab
- * It can fail only on 64-bit host with 32-bit target.
- * On any other target/host host mmap() handles this error correctly.
- */
-- if (end < start || !guest_range_valid(start, len)) {
-- errno = ENOMEM;
-+ if (end < start || ((unsigned long)start + len - 1 > (abi_ulong) -1)) {
-+ errno = EINVAL;
- goto fail;
- }
-
-@@ -604,10 +604,8 @@ int target_munmap(abi_ulong start, abi_u
- if (start & ~TARGET_PAGE_MASK)
- return -TARGET_EINVAL;
- len = TARGET_PAGE_ALIGN(len);
-- if (len == 0 || !guest_range_valid(start, len)) {
-+ if (len == 0)
- return -TARGET_EINVAL;
-- }
--
- mmap_lock();
- end = start + len;
- real_start = start & qemu_host_page_mask;
-@@ -662,13 +660,6 @@ abi_long target_mremap(abi_ulong old_add
- int prot;
- void *host_addr;
-
-- if (!guest_range_valid(old_addr, old_size) ||
-- ((flags & MREMAP_FIXED) &&
-- !guest_range_valid(new_addr, new_size))) {
-- errno = ENOMEM;
-- return -1;
-- }
--
- mmap_lock();
-
- if (flags & MREMAP_FIXED) {
-Index: qemu-5.1.0/linux-user/syscall.c
-===================================================================
---- qemu-5.1.0.orig/linux-user/syscall.c
-+++ qemu-5.1.0/linux-user/syscall.c
-@@ -4336,9 +4336,6 @@ static inline abi_ulong do_shmat(CPUArch
- return -TARGET_EINVAL;
- }
- }
-- if (!guest_range_valid(shmaddr, shm_info.shm_segsz)) {
-- return -TARGET_EINVAL;
-- }
-
- mmap_lock();
-
-@@ -7376,7 +7373,7 @@ static int open_self_maps(void *cpu_env,
- const char *path;
-
- max = h2g_valid(max - 1) ?
-- max : (uintptr_t) g2h(GUEST_ADDR_MAX) + 1;
-+ max : (uintptr_t) g2h(GUEST_ADDR_MAX);
-
- if (page_check_range(h2g(min), max - min, flags) == -1) {
- continue;
diff --git a/meta/recipes-devtools/qemu/qemu/0009-linux-user-Replace-use-of-lfs64-related-functions-an.patch b/meta/recipes-devtools/qemu/qemu/0009-linux-user-Replace-use-of-lfs64-related-functions-an.patch
new file mode 100644
index 0000000000..7577249d39
--- /dev/null
+++ b/meta/recipes-devtools/qemu/qemu/0009-linux-user-Replace-use-of-lfs64-related-functions-an.patch
@@ -0,0 +1,358 @@
+From 23de30079dbf47a8026faddd550a9e181d609c8f Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Sat, 17 Dec 2022 08:37:46 -0800
+Subject: [PATCH 09/11] linux-user: Replace use of lfs64 related functions and
+ macros
+
+Builds defines -D_FILE_OFFSET_BITS=64 which makes the original functions
+anf macros behave same as their 64 suffixed counterparts. This also
+helps in compiling with latest musl C library, where these macros and
+functions are no more available under _GNU_SOURCE feature macro
+
+Upstream-Status: Submitted [https://lists.gnu.org/archive/html/qemu-devel/2022-12/msg02841.html]
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+Cc: Laurent Vivier <laurent@vivier.eu>
+---
+ linux-user/syscall.c | 153 +++++++++++--------------------------------
+ 1 file changed, 39 insertions(+), 114 deletions(-)
+
+diff --git a/linux-user/syscall.c b/linux-user/syscall.c
+index 18f09f1f07..1b7c50a2a7 100644
+--- a/linux-user/syscall.c
++++ b/linux-user/syscall.c
+@@ -761,8 +761,8 @@ safe_syscall6(ssize_t, copy_file_range, int, infd, loff_t *, pinoff,
+ */
+ #define safe_ioctl(...) safe_syscall(__NR_ioctl, __VA_ARGS__)
+ /* Similarly for fcntl. Note that callers must always:
+- * pass the F_GETLK64 etc constants rather than the unsuffixed F_GETLK
+- * use the flock64 struct rather than unsuffixed flock
++ * pass the F_GETLK etc constants rather than the unsuffixed F_GETLK
++ * use the flock struct rather than unsuffixed flock
+ * This will then work and use a 64-bit offset for both 32-bit and 64-bit hosts.
+ */
+ #ifdef __NR_fcntl64
+@@ -6739,13 +6739,13 @@ static int target_to_host_fcntl_cmd(int cmd)
+ ret = cmd;
+ break;
+ case TARGET_F_GETLK:
+- ret = F_GETLK64;
++ ret = F_GETLK;
+ break;
+ case TARGET_F_SETLK:
+- ret = F_SETLK64;
++ ret = F_SETLK;
+ break;
+ case TARGET_F_SETLKW:
+- ret = F_SETLKW64;
++ ret = F_SETLKW;
+ break;
+ case TARGET_F_GETOWN:
+ ret = F_GETOWN;
+@@ -6759,17 +6759,6 @@ static int target_to_host_fcntl_cmd(int cmd)
+ case TARGET_F_SETSIG:
+ ret = F_SETSIG;
+ break;
+-#if TARGET_ABI_BITS == 32
+- case TARGET_F_GETLK64:
+- ret = F_GETLK64;
+- break;
+- case TARGET_F_SETLK64:
+- ret = F_SETLK64;
+- break;
+- case TARGET_F_SETLKW64:
+- ret = F_SETLKW64;
+- break;
+-#endif
+ case TARGET_F_SETLEASE:
+ ret = F_SETLEASE;
+ break;
+@@ -6821,8 +6810,8 @@ static int target_to_host_fcntl_cmd(int cmd)
+ * them to 5, 6 and 7 before making the syscall(). Since we make the
+ * syscall directly, adjust to what is supported by the kernel.
+ */
+- if (ret >= F_GETLK64 && ret <= F_SETLKW64) {
+- ret -= F_GETLK64 - 5;
++ if (ret >= F_GETLK && ret <= F_SETLKW) {
++ ret -= F_GETLK - 5;
+ }
+ #endif
+
+@@ -6855,55 +6844,11 @@ static int host_to_target_flock(int type)
+ return type;
+ }
+
+-static inline abi_long copy_from_user_flock(struct flock64 *fl,
+- abi_ulong target_flock_addr)
+-{
+- struct target_flock *target_fl;
+- int l_type;
+-
+- if (!lock_user_struct(VERIFY_READ, target_fl, target_flock_addr, 1)) {
+- return -TARGET_EFAULT;
+- }
+-
+- __get_user(l_type, &target_fl->l_type);
+- l_type = target_to_host_flock(l_type);
+- if (l_type < 0) {
+- return l_type;
+- }
+- fl->l_type = l_type;
+- __get_user(fl->l_whence, &target_fl->l_whence);
+- __get_user(fl->l_start, &target_fl->l_start);
+- __get_user(fl->l_len, &target_fl->l_len);
+- __get_user(fl->l_pid, &target_fl->l_pid);
+- unlock_user_struct(target_fl, target_flock_addr, 0);
+- return 0;
+-}
+-
+-static inline abi_long copy_to_user_flock(abi_ulong target_flock_addr,
+- const struct flock64 *fl)
+-{
+- struct target_flock *target_fl;
+- short l_type;
+-
+- if (!lock_user_struct(VERIFY_WRITE, target_fl, target_flock_addr, 0)) {
+- return -TARGET_EFAULT;
+- }
+-
+- l_type = host_to_target_flock(fl->l_type);
+- __put_user(l_type, &target_fl->l_type);
+- __put_user(fl->l_whence, &target_fl->l_whence);
+- __put_user(fl->l_start, &target_fl->l_start);
+- __put_user(fl->l_len, &target_fl->l_len);
+- __put_user(fl->l_pid, &target_fl->l_pid);
+- unlock_user_struct(target_fl, target_flock_addr, 1);
+- return 0;
+-}
+-
+-typedef abi_long from_flock64_fn(struct flock64 *fl, abi_ulong target_addr);
+-typedef abi_long to_flock64_fn(abi_ulong target_addr, const struct flock64 *fl);
++typedef abi_long from_flock_fn(struct flock *fl, abi_ulong target_addr);
++typedef abi_long to_flock_fn(abi_ulong target_addr, const struct flock *fl);
+
+ #if defined(TARGET_ARM) && TARGET_ABI_BITS == 32
+-struct target_oabi_flock64 {
++struct target_oabi_flock {
+ abi_short l_type;
+ abi_short l_whence;
+ abi_llong l_start;
+@@ -6911,10 +6856,10 @@ struct target_oabi_flock64 {
+ abi_int l_pid;
+ } QEMU_PACKED;
+
+-static inline abi_long copy_from_user_oabi_flock64(struct flock64 *fl,
++static inline abi_long copy_from_user_oabi_flock(struct flock *fl,
+ abi_ulong target_flock_addr)
+ {
+- struct target_oabi_flock64 *target_fl;
++ struct target_oabi_flock *target_fl;
+ int l_type;
+
+ if (!lock_user_struct(VERIFY_READ, target_fl, target_flock_addr, 1)) {
+@@ -6935,10 +6880,10 @@ static inline abi_long copy_from_user_oabi_flock64(struct flock64 *fl,
+ return 0;
+ }
+
+-static inline abi_long copy_to_user_oabi_flock64(abi_ulong target_flock_addr,
+- const struct flock64 *fl)
++static inline abi_long copy_to_user_oabi_flock(abi_ulong target_flock_addr,
++ const struct flock *fl)
+ {
+- struct target_oabi_flock64 *target_fl;
++ struct target_oabi_flock *target_fl;
+ short l_type;
+
+ if (!lock_user_struct(VERIFY_WRITE, target_fl, target_flock_addr, 0)) {
+@@ -6956,10 +6901,10 @@ static inline abi_long copy_to_user_oabi_flock64(abi_ulong target_flock_addr,
+ }
+ #endif
+
+-static inline abi_long copy_from_user_flock64(struct flock64 *fl,
++static inline abi_long copy_from_user_flock(struct flock *fl,
+ abi_ulong target_flock_addr)
+ {
+- struct target_flock64 *target_fl;
++ struct target_flock *target_fl;
+ int l_type;
+
+ if (!lock_user_struct(VERIFY_READ, target_fl, target_flock_addr, 1)) {
+@@ -6980,10 +6925,10 @@ static inline abi_long copy_from_user_flock64(struct flock64 *fl,
+ return 0;
+ }
+
+-static inline abi_long copy_to_user_flock64(abi_ulong target_flock_addr,
+- const struct flock64 *fl)
++static inline abi_long copy_to_user_flock(abi_ulong target_flock_addr,
++ const struct flock *fl)
+ {
+- struct target_flock64 *target_fl;
++ struct target_flock *target_fl;
+ short l_type;
+
+ if (!lock_user_struct(VERIFY_WRITE, target_fl, target_flock_addr, 0)) {
+@@ -7002,7 +6947,7 @@ static inline abi_long copy_to_user_flock64(abi_ulong target_flock_addr,
+
+ static abi_long do_fcntl(int fd, int cmd, abi_ulong arg)
+ {
+- struct flock64 fl64;
++ struct flock fl64;
+ #ifdef F_GETOWN_EX
+ struct f_owner_ex fox;
+ struct target_f_owner_ex *target_fox;
+@@ -7015,6 +6960,7 @@ static abi_long do_fcntl(int fd, int cmd, abi_ulong arg)
+
+ switch(cmd) {
+ case TARGET_F_GETLK:
++ case TARGET_F_OFD_GETLK:
+ ret = copy_from_user_flock(&fl64, arg);
+ if (ret) {
+ return ret;
+@@ -7024,32 +6970,11 @@ static abi_long do_fcntl(int fd, int cmd, abi_ulong arg)
+ ret = copy_to_user_flock(arg, &fl64);
+ }
+ break;
+-
+ case TARGET_F_SETLK:
+ case TARGET_F_SETLKW:
+- ret = copy_from_user_flock(&fl64, arg);
+- if (ret) {
+- return ret;
+- }
+- ret = get_errno(safe_fcntl(fd, host_cmd, &fl64));
+- break;
+-
+- case TARGET_F_GETLK64:
+- case TARGET_F_OFD_GETLK:
+- ret = copy_from_user_flock64(&fl64, arg);
+- if (ret) {
+- return ret;
+- }
+- ret = get_errno(safe_fcntl(fd, host_cmd, &fl64));
+- if (ret == 0) {
+- ret = copy_to_user_flock64(arg, &fl64);
+- }
+- break;
+- case TARGET_F_SETLK64:
+- case TARGET_F_SETLKW64:
+ case TARGET_F_OFD_SETLK:
+ case TARGET_F_OFD_SETLKW:
+- ret = copy_from_user_flock64(&fl64, arg);
++ ret = copy_from_user_flock(&fl64, arg);
+ if (ret) {
+ return ret;
+ }
+@@ -7278,7 +7203,7 @@ static inline abi_long target_truncate64(CPUArchState *cpu_env, const char *arg1
+ arg2 = arg3;
+ arg3 = arg4;
+ }
+- return get_errno(truncate64(arg1, target_offset64(arg2, arg3)));
++ return get_errno(truncate(arg1, target_offset64(arg2, arg3)));
+ }
+ #endif
+
+@@ -7292,7 +7217,7 @@ static inline abi_long target_ftruncate64(CPUArchState *cpu_env, abi_long arg1,
+ arg2 = arg3;
+ arg3 = arg4;
+ }
+- return get_errno(ftruncate64(arg1, target_offset64(arg2, arg3)));
++ return get_errno(ftruncate(arg1, target_offset64(arg2, arg3)));
+ }
+ #endif
+
+@@ -8667,7 +8592,7 @@ static int do_getdents(abi_long dirfd, abi_long arg2, abi_long count)
+ void *tdirp;
+ int hlen, hoff, toff;
+ int hreclen, treclen;
+- off64_t prev_diroff = 0;
++ off_t prev_diroff = 0;
+
+ hdirp = g_try_malloc(count);
+ if (!hdirp) {
+@@ -8720,7 +8645,7 @@ static int do_getdents(abi_long dirfd, abi_long arg2, abi_long count)
+ * Return what we have, resetting the file pointer to the
+ * location of the first record not returned.
+ */
+- lseek64(dirfd, prev_diroff, SEEK_SET);
++ lseek(dirfd, prev_diroff, SEEK_SET);
+ break;
+ }
+
+@@ -8754,7 +8679,7 @@ static int do_getdents64(abi_long dirfd, abi_long arg2, abi_long count)
+ void *tdirp;
+ int hlen, hoff, toff;
+ int hreclen, treclen;
+- off64_t prev_diroff = 0;
++ off_t prev_diroff = 0;
+
+ hdirp = g_try_malloc(count);
+ if (!hdirp) {
+@@ -8796,7 +8721,7 @@ static int do_getdents64(abi_long dirfd, abi_long arg2, abi_long count)
+ * Return what we have, resetting the file pointer to the
+ * location of the first record not returned.
+ */
+- lseek64(dirfd, prev_diroff, SEEK_SET);
++ lseek(dirfd, prev_diroff, SEEK_SET);
+ break;
+ }
+
+@@ -11527,7 +11452,7 @@ static abi_long do_syscall1(CPUArchState *cpu_env, int num, abi_long arg1,
+ return -TARGET_EFAULT;
+ }
+ }
+- ret = get_errno(pread64(arg1, p, arg3, target_offset64(arg4, arg5)));
++ ret = get_errno(pread(arg1, p, arg3, target_offset64(arg4, arg5)));
+ unlock_user(p, arg2, ret);
+ return ret;
+ case TARGET_NR_pwrite64:
+@@ -11544,7 +11469,7 @@ static abi_long do_syscall1(CPUArchState *cpu_env, int num, abi_long arg1,
+ return -TARGET_EFAULT;
+ }
+ }
+- ret = get_errno(pwrite64(arg1, p, arg3, target_offset64(arg4, arg5)));
++ ret = get_errno(pwrite(arg1, p, arg3, target_offset64(arg4, arg5)));
+ unlock_user(p, arg2, 0);
+ return ret;
+ #endif
+@@ -12404,14 +12329,14 @@ static abi_long do_syscall1(CPUArchState *cpu_env, int num, abi_long arg1,
+ case TARGET_NR_fcntl64:
+ {
+ int cmd;
+- struct flock64 fl;
+- from_flock64_fn *copyfrom = copy_from_user_flock64;
+- to_flock64_fn *copyto = copy_to_user_flock64;
++ struct flock fl;
++ from_flock_fn *copyfrom = copy_from_user_flock;
++ to_flock_fn *copyto = copy_to_user_flock;
+
+ #ifdef TARGET_ARM
+ if (!cpu_env->eabi) {
+- copyfrom = copy_from_user_oabi_flock64;
+- copyto = copy_to_user_oabi_flock64;
++ copyfrom = copy_from_user_oabi_flock;
++ copyto = copy_to_user_oabi_flock;
+ }
+ #endif
+
+@@ -12421,7 +12346,7 @@ static abi_long do_syscall1(CPUArchState *cpu_env, int num, abi_long arg1,
+ }
+
+ switch(arg2) {
+- case TARGET_F_GETLK64:
++ case TARGET_F_GETLK:
+ ret = copyfrom(&fl, arg3);
+ if (ret) {
+ break;
+@@ -12432,8 +12357,8 @@ static abi_long do_syscall1(CPUArchState *cpu_env, int num, abi_long arg1,
+ }
+ break;
+
+- case TARGET_F_SETLK64:
+- case TARGET_F_SETLKW64:
++ case TARGET_F_SETLK:
++ case TARGET_F_SETLKW:
+ ret = copyfrom(&fl, arg3);
+ if (ret) {
+ break;
+--
+2.44.0
+
diff --git a/meta/recipes-devtools/qemu/qemu/0010-configure-Add-pkg-config-handling-for-libgcrypt.patch b/meta/recipes-devtools/qemu/qemu/0010-configure-Add-pkg-config-handling-for-libgcrypt.patch
deleted file mode 100644
index d7e3fffdd0..0000000000
--- a/meta/recipes-devtools/qemu/qemu/0010-configure-Add-pkg-config-handling-for-libgcrypt.patch
+++ /dev/null
@@ -1,91 +0,0 @@
-From c207607cdf3996ad9783c3bffbcd3d65e74c0158 Mon Sep 17 00:00:00 2001
-From: He Zhe <zhe.he@windriver.com>
-Date: Wed, 28 Aug 2019 19:56:28 +0800
-Subject: [PATCH] configure: Add pkg-config handling for libgcrypt
-
-libgcrypt may also be controlled by pkg-config, this patch adds pkg-config
-handling for libgcrypt.
-
-Upstream-Status: Denied [https://lists.nongnu.org/archive/html/qemu-devel/2019-08/msg06333.html]
-
-Signed-off-by: He Zhe <zhe.he@windriver.com>
-
----
- configure | 48 ++++++++++++++++++++++++++++++++++++++++--------
- 1 file changed, 40 insertions(+), 8 deletions(-)
-
-Index: qemu-5.1.0/configure
-===================================================================
---- qemu-5.1.0.orig/configure
-+++ qemu-5.1.0/configure
-@@ -3084,6 +3084,30 @@ has_libgcrypt() {
- return 0
- }
-
-+has_libgcrypt_pkgconfig() {
-+ if ! has $pkg_config ; then
-+ return 1
-+ fi
-+
-+ if ! $pkg_config --list-all | grep libgcrypt > /dev/null 2>&1 ; then
-+ return 1
-+ fi
-+
-+ if test -n "$cross_prefix" ; then
-+ host=$($pkg_config --variable=host libgcrypt)
-+ if test "${host%-gnu}-" != "${cross_prefix%-gnu}" ; then
-+ print_error "host($host) does not match cross_prefix($cross_prefix)"
-+ return 1
-+ fi
-+ fi
-+
-+ if ! $pkg_config --atleast-version=1.5.0 libgcrypt ; then
-+ print_error "libgcrypt version is $($pkg_config --modversion libgcrypt)"
-+ return 1
-+ fi
-+
-+ return 0
-+}
-
- if test "$nettle" != "no"; then
- pass="no"
-@@ -3124,7 +3148,14 @@ fi
-
- if test "$gcrypt" != "no"; then
- pass="no"
-- if has_libgcrypt; then
-+ if has_libgcrypt_pkgconfig; then
-+ gcrypt_cflags=$($pkg_config --cflags libgcrypt)
-+ if test "$static" = "yes" ; then
-+ gcrypt_libs=$($pkg_config --libs --static libgcrypt)
-+ else
-+ gcrypt_libs=$($pkg_config --libs libgcrypt)
-+ fi
-+ elif has_libgcrypt; then
- gcrypt_cflags=$(libgcrypt-config --cflags)
- gcrypt_libs=$(libgcrypt-config --libs)
- # Debian has removed -lgpg-error from libgcrypt-config
-@@ -3134,15 +3165,16 @@ if test "$gcrypt" != "no"; then
- then
- gcrypt_libs="$gcrypt_libs -lgpg-error"
- fi
-+ fi
-
-- # Link test to make sure the given libraries work (e.g for static).
-- write_c_skeleton
-- if compile_prog "" "$gcrypt_libs" ; then
-- LIBS="$gcrypt_libs $LIBS"
-- QEMU_CFLAGS="$QEMU_CFLAGS $gcrypt_cflags"
-- pass="yes"
-- fi
-+ # Link test to make sure the given libraries work (e.g for static).
-+ write_c_skeleton
-+ if compile_prog "" "$gcrypt_libs" ; then
-+ LIBS="$gcrypt_libs $LIBS"
-+ QEMU_CFLAGS="$QEMU_CFLAGS $gcrypt_cflags"
-+ pass="yes"
- fi
-+
- if test "$pass" = "yes"; then
- gcrypt="yes"
- cat > $TMPC << EOF
diff --git a/meta/recipes-devtools/qemu/qemu/0010-configure-lookup-meson-exutable-from-PATH.patch b/meta/recipes-devtools/qemu/qemu/0010-configure-lookup-meson-exutable-from-PATH.patch
new file mode 100644
index 0000000000..98ce85a8cf
--- /dev/null
+++ b/meta/recipes-devtools/qemu/qemu/0010-configure-lookup-meson-exutable-from-PATH.patch
@@ -0,0 +1,31 @@
+From e12a93174f9b652604dda8d8464b9559b62b29d5 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Martin=20Hundeb=C3=B8ll?= <martin@geanix.com>
+Date: Wed, 22 May 2024 14:02:55 +0200
+Subject: [PATCH 10/11] configure: lookup meson exutable from PATH
+
+Upstream-Status: Inappropriate [workaround, would need a real fix for upstream]
+---
+ configure | 7 +------
+ 1 file changed, 1 insertion(+), 6 deletions(-)
+
+diff --git a/configure b/configure
+index 3cd736b139..482a1f8ef3 100755
+--- a/configure
++++ b/configure
+@@ -956,12 +956,7 @@ fi
+ $mkvenv ensuregroup --dir "${source_path}/python/wheels" \
+ ${source_path}/pythondeps.toml meson || exit 1
+
+-# At this point, we expect Meson to be installed and available.
+-# We expect mkvenv or pip to have created pyvenv/bin/meson for us.
+-# We ignore PATH completely here: we want to use the venv's Meson
+-# *exclusively*.
+-
+-meson="$(cd pyvenv/bin; pwd)/meson"
++meson=`which meson`
+
+ # Conditionally ensure Sphinx is installed.
+
+--
+2.44.0
+
diff --git a/meta/recipes-devtools/qemu/qemu/0011-qemu-Ensure-pip-and-the-python-venv-aren-t-used-for-.patch b/meta/recipes-devtools/qemu/qemu/0011-qemu-Ensure-pip-and-the-python-venv-aren-t-used-for-.patch
new file mode 100644
index 0000000000..c7bb9b1b47
--- /dev/null
+++ b/meta/recipes-devtools/qemu/qemu/0011-qemu-Ensure-pip-and-the-python-venv-aren-t-used-for-.patch
@@ -0,0 +1,55 @@
+From a93c2a6b2c9db9c4bd30298da43c37c5e5c6236e Mon Sep 17 00:00:00 2001
+From: Richard Purdie <richard.purdie@linuxfoundation.org>
+Date: Wed, 22 May 2024 13:58:23 +0200
+Subject: [PATCH 11/11] qemu: Ensure pip and the python venv aren't used for
+ meson
+
+Qemu wants to use a supported python version and a specific meson version
+to "help" users and uses pip and creates a venv to do this. This is a nightmare
+for us. Our versions stay up to date and should be supported so we don't
+really need/want this wrapping. Tweak things to disable it.
+
+There was breakage from the wrapper shown by:
+
+bitbake qemu-system-native
+<add DISTRO_FEATURES:remove = "opengl" to local.conf>
+bitbake qemu-system-native -c configure
+
+which would crash. The issue is the change in configuration removes pieces
+from the sysroot but pyc files remainm as do pieces of pip which causes
+problems.
+
+Ideally we'd convince upstream to allow some way to disable the venv on
+the understanding that if/when it breaks, we keep the pieces. The patch
+as it stands is a workaround.
+
+Upstream-Status: Inappropriate [oe specific]
+Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
+---
+ configure | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/configure b/configure
+index 482a1f8ef3..0da4bf3e4d 100755
+--- a/configure
++++ b/configure
+@@ -938,14 +938,14 @@ python="$(command -v "$python")"
+ echo "python determined to be '$python'"
+ echo "python version: $($python --version)"
+
+-python="$($python -B "${source_path}/python/scripts/mkvenv.py" create pyvenv)"
++python=python3
+ if test "$?" -ne 0 ; then
+ error_exit "python venv creation failed"
+ fi
+
+ # Suppress writing compiled files
+ python="$python -B"
+-mkvenv="$python ${source_path}/python/scripts/mkvenv.py"
++mkvenv=true
+
+ # Finish preparing the virtual environment using vendored .whl files
+
+--
+2.44.0
+
diff --git a/meta/recipes-devtools/qemu/qemu/CVE-2020-24352.patch b/meta/recipes-devtools/qemu/qemu/CVE-2020-24352.patch
deleted file mode 100644
index 861ff6c3b0..0000000000
--- a/meta/recipes-devtools/qemu/qemu/CVE-2020-24352.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-From ca1f9cbfdce4d63b10d57de80fef89a89d92a540 Mon Sep 17 00:00:00 2001
-From: Prasad J Pandit <pjp@fedoraproject.org>
-Date: Wed, 21 Oct 2020 16:08:18 +0530
-Subject: [PATCH 1/1] ati: check x y display parameter values
-
-The source and destination x,y display parameters in ati_2d_blt()
-may run off the vga limits if either of s->regs.[src|dst]_[xy] is
-zero. Check the parameter values to avoid potential crash.
-
-Reported-by: Gaoning Pan <pgn@zju.edu.cn>
-Signed-off-by: Prasad J Pandit <pjp@fedoraproject.org>
-Message-id: 20201021103818.1704030-1-ppandit@redhat.com
-Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
-
-Upstream-Status: Backport [ https://git.qemu.org/?p=qemu.git;a=commitdiff;h=ca1f9cbfdce4d63b10d57de80fef89a89d92a540;hp=2ddafce7f797082ad216657c830afd4546f16e37 ]
-CVE: CVE-2020-24352
-Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
----
- hw/display/ati_2d.c | 10 ++++++----
- 1 file changed, 6 insertions(+), 4 deletions(-)
-
-diff --git a/hw/display/ati_2d.c b/hw/display/ati_2d.c
-index 23a8ae0..4dc10ea 100644
---- a/hw/display/ati_2d.c
-+++ b/hw/display/ati_2d.c
-@@ -75,8 +75,9 @@ void ati_2d_blt(ATIVGAState *s)
- dst_stride *= bpp;
- }
- uint8_t *end = s->vga.vram_ptr + s->vga.vram_size;
-- if (dst_bits >= end || dst_bits + dst_x + (dst_y + s->regs.dst_height) *
-- dst_stride >= end) {
-+ if (dst_x > 0x3fff || dst_y > 0x3fff || dst_bits >= end
-+ || dst_bits + dst_x
-+ + (dst_y + s->regs.dst_height) * dst_stride >= end) {
- qemu_log_mask(LOG_UNIMP, "blt outside vram not implemented\n");
- return;
- }
-@@ -107,8 +108,9 @@ void ati_2d_blt(ATIVGAState *s)
- src_bits += s->regs.crtc_offset & 0x07ffffff;
- src_stride *= bpp;
- }
-- if (src_bits >= end || src_bits + src_x +
-- (src_y + s->regs.dst_height) * src_stride >= end) {
-+ if (src_x > 0x3fff || src_y > 0x3fff || src_bits >= end
-+ || src_bits + src_x
-+ + (src_y + s->regs.dst_height) * src_stride >= end) {
- qemu_log_mask(LOG_UNIMP, "blt outside vram not implemented\n");
- return;
- }
---
-1.8.3.1
-
diff --git a/meta/recipes-devtools/qemu/qemu/find_datadir.patch b/meta/recipes-devtools/qemu/qemu/find_datadir.patch
deleted file mode 100644
index 9a4c11267a..0000000000
--- a/meta/recipes-devtools/qemu/qemu/find_datadir.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-qemu: search for datadir as in version 4.2
-
-os_find_datadir() was changed after the 4.2 release. We need to check for
-../share/qemu relative to the executable because that is where the runqemu
-configuration assumes it will be.
-
-Upstream-Status: Submitted [qemu-devel@nongnu.org]
-
-Signed-off-by: Joe Slater <joe.slater@windriver.com>
-
-
-Index: qemu-5.1.0/os-posix.c
-===================================================================
---- qemu-5.1.0.orig/os-posix.c
-+++ qemu-5.1.0/os-posix.c
-@@ -82,8 +82,9 @@ void os_setup_signal_handling(void)
-
- /*
- * Find a likely location for support files using the location of the binary.
-+ * Typically, this would be "$bindir/../share/qemu".
- * When running from the build tree this will be "$bindir/../pc-bios".
-- * Otherwise, this is CONFIG_QEMU_DATADIR.
-+ * Otherwise, this is CONFIG_QEMU_DATADIR as constructed by configure.
- *
- * The caller must use g_free() to free the returned data when it is
- * no longer required.
-@@ -96,6 +97,12 @@ char *os_find_datadir(void)
- exec_dir = qemu_get_exec_dir();
- g_return_val_if_fail(exec_dir != NULL, NULL);
-
-+ dir = g_build_filename(exec_dir, "..", "share", "qemu", NULL);
-+ if (g_file_test(dir, G_FILE_TEST_IS_DIR)) {
-+ return g_steal_pointer(&dir);
-+ }
-+ g_free(dir); /* no autofree this time */
-+
- dir = g_build_filename(exec_dir, "..", "pc-bios", NULL);
- if (g_file_test(dir, G_FILE_TEST_IS_DIR)) {
- return g_steal_pointer(&dir);
diff --git a/meta/recipes-devtools/qemu/qemu/qemu-guest-agent.init b/meta/recipes-devtools/qemu/qemu/qemu-guest-agent.init
new file mode 100644
index 0000000000..5ebaaddeae
--- /dev/null
+++ b/meta/recipes-devtools/qemu/qemu/qemu-guest-agent.init
@@ -0,0 +1,75 @@
+# SPDX-License-Identifier: GPL-2.0-only
+# Initially written by: Michael Tokarev <mjt@tls.msk.ru>
+# For QEMU Debian downstream package
+
+set -e
+
+. /etc/init.d/functions
+
+PATH=/sbin:/usr/sbin:/bin:/usr/bin
+DESC="QEMU Guest Agent"
+NAME=qemu-ga
+DAEMON=@bindir@/$NAME
+PIDFILE=/var/run/$NAME.pid
+
+# config
+DAEMON_ARGS=""
+# default transport
+TRANSPORT=virtio-serial:/dev/virtio-ports/org.qemu.guest_agent.0
+NO_START=0
+
+test ! -r /etc/default/qemu-guest-agent || . /etc/default/qemu-guest-agent
+test "$NO_START" = "0" || exit 0
+test -x "$DAEMON" || exit 0
+
+#
+# Function that checks whenever system has necessary environment
+# It also splits $TRANSPORT into $method and $path
+#
+do_check_transport() {
+ method=${TRANSPORT%%:*};
+ path=${TRANSPORT#*:}
+ case "$method" in
+ virtio-serial | isa-serial)
+ if [ ! -e "$path" ]; then
+ echo "$NAME: transport endpoint not found, not starting"
+ return 1
+ fi
+ ;;
+ esac
+}
+
+case "$1" in
+ start)
+ do_check_transport || exit 0
+ echo -n "Starting $DESC: "
+ start-stop-daemon -S -p $PIDFILE -x "$DAEMON" -- \
+ $DAEMON_ARGS -d -m "$method" -p "$path"
+ echo "$NAME."
+ ;;
+ stop)
+ echo -n "Stopping $DESC: "
+ start-stop-daemon -K -x "$DAEMON" -p $PIDFILE
+ echo "$NAME."
+ ;;
+ status)
+ status "$DAEMON"
+ exit $?
+ ;;
+ restart|force-reload)
+ do_check_transport || exit 0
+ echo -n "Restarting $DESC: "
+ start-stop-daemon -K -x "$DAEMON" -p $PIDFILE
+ sleep 1
+ start-stop-daemon -S -p $PIDFILE -x "$DAEMON" -- \
+ $DAEMON_ARGS -d -m "$method" -p "$path"
+ echo "$NAME."
+ ;;
+ *)
+ N=/etc/init.d/$NAME
+ echo "Usage: $N {start|stop|status|restart|force-reload}" >&2
+ exit 1
+ ;;
+esac
+
+exit 0
diff --git a/meta/recipes-devtools/qemu/qemu/qemu-guest-agent.udev b/meta/recipes-devtools/qemu/qemu/qemu-guest-agent.udev
new file mode 100644
index 0000000000..47097057e3
--- /dev/null
+++ b/meta/recipes-devtools/qemu/qemu/qemu-guest-agent.udev
@@ -0,0 +1,2 @@
+SUBSYSTEM=="virtio-ports", ATTR{name}=="org.qemu.guest_agent.0", \
+ TAG+="systemd", ENV{SYSTEMD_WANTS}="qemu-guest-agent.service"
diff --git a/meta/recipes-devtools/qemu/qemu/run-ptest b/meta/recipes-devtools/qemu/qemu/run-ptest
index b25a792d4f..f9a4e8fb2b 100644
--- a/meta/recipes-devtools/qemu/qemu/run-ptest
+++ b/meta/recipes-devtools/qemu/qemu/run-ptest
@@ -7,4 +7,7 @@ ptestdir=$(dirname "$(readlink -f "$0")")
export SRC_PATH=$ptestdir
cd $ptestdir/tests
-make -f Makefile.include -k runtest-TESTS | sed '/^ok /s/ok /PASS: /g'
+tests=$(find . -name "test-*" ! -name "*.p")
+for f in $tests; do
+ $f | sed '/^ok/ s/ok/PASS:/g'
+done
diff --git a/meta/recipes-devtools/qemu/qemu/usb-fix-setup_len-init.patch b/meta/recipes-devtools/qemu/qemu/usb-fix-setup_len-init.patch
deleted file mode 100644
index 92801da46f..0000000000
--- a/meta/recipes-devtools/qemu/qemu/usb-fix-setup_len-init.patch
+++ /dev/null
@@ -1,89 +0,0 @@
-CVE: CVE-2020-14364
-Upstream-Status: Backport
-Signed-off-by: Ross Burton <ross.burton@arm.com>
-
-From b946434f2659a182afc17e155be6791ebfb302eb Mon Sep 17 00:00:00 2001
-From: Gerd Hoffmann <kraxel@redhat.com>
-Date: Tue, 25 Aug 2020 07:36:36 +0200
-Subject: [PATCH] usb: fix setup_len init (CVE-2020-14364)
-
-Store calculated setup_len in a local variable, verify it, and only
-write it to the struct (USBDevice->setup_len) in case it passed the
-sanity checks.
-
-This prevents other code (do_token_{in,out} functions specifically)
-from working with invalid USBDevice->setup_len values and overrunning
-the USBDevice->setup_buf[] buffer.
-
-Fixes: CVE-2020-14364
-Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
-Tested-by: Gonglei <arei.gonglei@huawei.com>
-Reviewed-by: Li Qiang <liq3ea@gmail.com>
-Message-id: 20200825053636.29648-1-kraxel@redhat.com
----
- hw/usb/core.c | 16 ++++++++++------
- 1 file changed, 10 insertions(+), 6 deletions(-)
-
-diff --git a/hw/usb/core.c b/hw/usb/core.c
-index 5abd128b6bc..5234dcc73fe 100644
---- a/hw/usb/core.c
-+++ b/hw/usb/core.c
-@@ -129,6 +129,7 @@ void usb_wakeup(USBEndpoint *ep, unsigned int stream)
- static void do_token_setup(USBDevice *s, USBPacket *p)
- {
- int request, value, index;
-+ unsigned int setup_len;
-
- if (p->iov.size != 8) {
- p->status = USB_RET_STALL;
-@@ -138,14 +139,15 @@ static void do_token_setup(USBDevice *s, USBPacket *p)
- usb_packet_copy(p, s->setup_buf, p->iov.size);
- s->setup_index = 0;
- p->actual_length = 0;
-- s->setup_len = (s->setup_buf[7] << 8) | s->setup_buf[6];
-- if (s->setup_len > sizeof(s->data_buf)) {
-+ setup_len = (s->setup_buf[7] << 8) | s->setup_buf[6];
-+ if (setup_len > sizeof(s->data_buf)) {
- fprintf(stderr,
- "usb_generic_handle_packet: ctrl buffer too small (%d > %zu)\n",
-- s->setup_len, sizeof(s->data_buf));
-+ setup_len, sizeof(s->data_buf));
- p->status = USB_RET_STALL;
- return;
- }
-+ s->setup_len = setup_len;
-
- request = (s->setup_buf[0] << 8) | s->setup_buf[1];
- value = (s->setup_buf[3] << 8) | s->setup_buf[2];
-@@ -259,26 +261,28 @@ static void do_token_out(USBDevice *s, USBPacket *p)
- static void do_parameter(USBDevice *s, USBPacket *p)
- {
- int i, request, value, index;
-+ unsigned int setup_len;
-
- for (i = 0; i < 8; i++) {
- s->setup_buf[i] = p->parameter >> (i*8);
- }
-
- s->setup_state = SETUP_STATE_PARAM;
-- s->setup_len = (s->setup_buf[7] << 8) | s->setup_buf[6];
- s->setup_index = 0;
-
- request = (s->setup_buf[0] << 8) | s->setup_buf[1];
- value = (s->setup_buf[3] << 8) | s->setup_buf[2];
- index = (s->setup_buf[5] << 8) | s->setup_buf[4];
-
-- if (s->setup_len > sizeof(s->data_buf)) {
-+ setup_len = (s->setup_buf[7] << 8) | s->setup_buf[6];
-+ if (setup_len > sizeof(s->data_buf)) {
- fprintf(stderr,
- "usb_generic_handle_packet: ctrl buffer too small (%d > %zu)\n",
-- s->setup_len, sizeof(s->data_buf));
-+ setup_len, sizeof(s->data_buf));
- p->status = USB_RET_STALL;
- return;
- }
-+ s->setup_len = setup_len;
-
- if (p->pid == USB_TOKEN_OUT) {
- usb_packet_copy(p, s->data_buf, s->setup_len);
diff --git a/meta/recipes-devtools/qemu/qemu_5.1.0.bb b/meta/recipes-devtools/qemu/qemu_5.1.0.bb
deleted file mode 100644
index 599ff82fc1..0000000000
--- a/meta/recipes-devtools/qemu/qemu_5.1.0.bb
+++ /dev/null
@@ -1,28 +0,0 @@
-BBCLASSEXTEND = "nativesdk"
-
-require qemu.inc
-
-# error: a parameter list without types is only allowed in a function definition
-# void (*_function)(sigval_t);
-COMPATIBLE_HOST_libc-musl = 'null'
-
-DEPENDS = "glib-2.0 zlib pixman bison-native"
-
-RDEPENDS_${PN}_class-target += "bash"
-
-EXTRA_OECONF_append_class-target = " --target-list=${@get_qemu_target_list(d)}"
-EXTRA_OECONF_append_class-target_mipsarcho32 = "${@bb.utils.contains('BBEXTENDCURR', 'multilib', ' --disable-capstone', '', d)}"
-EXTRA_OECONF_append_class-nativesdk = " --target-list=${@get_qemu_target_list(d)}"
-
-do_install_append_class-nativesdk() {
- ${@bb.utils.contains('PACKAGECONFIG', 'gtk+', 'make_qemu_wrapper', '', d)}
-}
-
-PACKAGECONFIG ??= " \
- fdt sdl kvm \
- ${@bb.utils.filter('DISTRO_FEATURES', 'alsa xen', d)} \
- ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'virglrenderer glx', '', d)} \
-"
-PACKAGECONFIG_class-nativesdk ??= "fdt sdl kvm \
- ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'virglrenderer glx', '', d)} \
-"
diff --git a/meta/recipes-devtools/qemu/qemu_9.0.0.bb b/meta/recipes-devtools/qemu/qemu_9.0.0.bb
new file mode 100644
index 0000000000..dc1352232e
--- /dev/null
+++ b/meta/recipes-devtools/qemu/qemu_9.0.0.bb
@@ -0,0 +1,27 @@
+BBCLASSEXTEND = "nativesdk"
+
+require qemu.inc
+
+DEPENDS += "glib-2.0 zlib pixman"
+
+DEPENDS:append:libc-musl = " libucontext"
+
+CFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', '-DEGL_NO_X11=1', d)}"
+
+RDEPENDS:${PN}-common:class-target += "bash"
+
+EXTRA_OECONF:append:class-target = " --target-list=${@get_qemu_target_list(d)}"
+EXTRA_OECONF:append:class-target:mipsarcho32 = "${@bb.utils.contains('BBEXTENDCURR', 'multilib', ' --disable-capstone', '', d)}"
+EXTRA_OECONF:append:class-nativesdk = " --target-list=${@get_qemu_target_list(d)}"
+
+PACKAGECONFIG ??= " \
+ fdt sdl kvm pie slirp \
+ ${@bb.utils.filter('DISTRO_FEATURES', 'alsa pulseaudio xen', d)} \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'virglrenderer epoxy', '', d)} \
+ ${@bb.utils.filter('DISTRO_FEATURES', 'seccomp', d)} \
+"
+PACKAGECONFIG:class-nativesdk ??= "fdt sdl kvm pie slirp \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'virglrenderer epoxy', '', d)} \
+"
+# ppc32 hosts are no longer supported in qemu
+COMPATIBLE_HOST:powerpc = "null"
diff --git a/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb b/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb
index a0448a1803..6d0e7883ad 100644
--- a/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb
+++ b/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb
@@ -2,7 +2,8 @@ SUMMARY = "QEMU wrapper script"
HOMEPAGE = "http://qemu.org"
LICENSE = "MIT"
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
DEPENDS += "qemu-native"
@@ -18,6 +19,7 @@ do_install () {
cat >> ${D}${bindir_crossscripts}/${MLPREFIX}qemuwrapper << EOF
#!/bin/sh
+# Wrapper script to run binaries under qemu user-mode emulation
set -x
if [ ${@bb.utils.contains('MACHINE_FEATURES', 'qemu-usermode', 'True', 'False', d)} = False -a "${PN}" != "nativesdk-qemuwrapper-cross" ]; then
diff --git a/meta/recipes-devtools/quilt/quilt-native_0.66.bb b/meta/recipes-devtools/quilt/quilt-native_0.67.bb
index 22374425fa..22374425fa 100644
--- a/meta/recipes-devtools/quilt/quilt-native_0.66.bb
+++ b/meta/recipes-devtools/quilt/quilt-native_0.67.bb
diff --git a/meta/recipes-devtools/quilt/quilt.inc b/meta/recipes-devtools/quilt/quilt.inc
index d6d06c049c..1d90d3d84d 100644
--- a/meta/recipes-devtools/quilt/quilt.inc
+++ b/meta/recipes-devtools/quilt/quilt.inc
@@ -4,46 +4,48 @@ track of the changes each patch makes. Patches can be applied, un-applied,\
refreshed, etc."
HOMEPAGE = "http://savannah.nongnu.org/projects/quilt/"
SECTION = "devel"
-LICENSE = "GPLv2"
+LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
SRC_URI = "${SAVANNAH_GNU_MIRROR}/quilt/quilt-${PV}.tar.gz \
file://run-ptest \
- file://Makefile \
file://test.sh \
file://0001-tests-Allow-different-output-from-mv.patch \
+ file://fix-grep-3.8.patch \
+ file://faildiff-order.patch \
+ file://0001-test-Fix-a-race-condition-in-merge.test.patch \
"
-SRC_URI_append_class-target = " file://gnu_patch_test_fix_target.patch"
+SRC_URI:append:class-target = " file://gnu_patch_test_fix_target.patch"
-SRC_URI[md5sum] = "6800c2404a2c0598ab2eff92a636ba70"
-SRC_URI[sha256sum] = "314b319a6feb13bf9d0f9ffa7ce6683b06919e734a41275087ea457cc9dc6e07"
+SRC_URI[sha256sum] = "3be3be0987e72a6c364678bb827e3e1fcc10322b56bc5f02b576698f55013cc2"
inherit autotools-brokensep ptest
-INHIBIT_AUTOTOOLS_DEPS_class-native = "1"
-PATCHTOOL_class-native = "patch"
+INHIBIT_AUTOTOOLS_DEPS:class-native = "1"
+PATCHTOOL:class-native = "patch"
CLEANBROKEN = "1"
-EXTRA_OECONF = "--with-perl='${USRBINPATH}/env perl' --with-patch=patch"
-EXTRA_OECONF_append_class-native = " --disable-nls"
+EXTRA_OECONF = "--with-perl='${USRBINPATH}/env perl' --with-patch=patch --without-sendmail"
+EXTRA_OECONF:append:class-native = " --disable-nls"
+
EXTRA_AUTORECONF += "--exclude=aclocal"
-CACHED_CONFIGUREVARS += "ac_cv_path_BASH=/bin/bash"
+CACHED_CONFIGUREVARS += "ac_cv_path_BASH=/bin/bash ac_cv_path_COLUMN=column"
# Make sure we don't have "-w" in shebang lines: it breaks using
# "/usr/bin/env perl" as parser
-do_configure_prepend () {
+do_configure:prepend () {
find ${S} -name "*.in" -exec sed -i -e "1s,^#\!.*@PERL@ -w$,#\! @PERL@\nuse warnings;," {} \;
}
# Don't setup symlinks to host utilities, we don't need them
-do_configure_append () {
+do_configure:append () {
sed -e 's,^COMPAT_SYMLINKS.*:=.*,COMPAT_SYMLINKS :=,' -i ${S}/Makefile
}
-do_configure_class-native () {
+do_configure:class-native () {
oe_runconf
}
@@ -54,39 +56,46 @@ do_install () {
rm -rf ${D}/${datadir}/emacs
}
-do_install_append_class-native () {
+do_install:append:class-native () {
# Dummy quiltrc file for patch.bbclass
install -d ${D}${sysconfdir}/
touch ${D}${sysconfdir}/quiltrc
}
-do_compile_ptest() {
- oe_runmake bin/patch-wrapper test/.depend
-}
+# The tests need to run as a non-root user, so pull in the ptest user
+DEPENDS:append:class-target = "${@bb.utils.contains('PTEST_ENABLED', '1', ' ptest-runner', '', d)}"
+PACKAGE_WRITE_DEPS += "ptest-runner"
do_install_ptest() {
- tar -c --exclude=\*.in bin/ | ( cd ${D}${PTEST_PATH} && tar -xf - )
- tar -c --exclude=\*.in compat/ | ( cd ${D}${PTEST_PATH} && tar -xf - )
- tar -c --exclude=\*.in quilt/ | ( cd ${D}${PTEST_PATH} && tar -xf - )
- tar -c --exclude=mail.test --exclude=delete.test test/ | ( cd ${D}${PTEST_PATH} && tar -xf - && chmod 777 test)
- cp ${WORKDIR}/Makefile ${D}${PTEST_PATH}
- cp ${WORKDIR}/test.sh ${D}${PTEST_PATH}
+ install ${UNPACKDIR}/test.sh ${D}${PTEST_PATH}
+ mkdir ${D}${PTEST_PATH}/test
+ install ${S}/test/* ${D}${PTEST_PATH}/test
+ # mail needs a MTA, and the patch-wrapper is disabled
+ rm -f ${D}${PTEST_PATH}/test/mail.test ${D}${PTEST_PATH}/test/patch-wrapper.test
+}
+
+# ptest.bbclass currently chowns the ptest directory explicitly, so we need to
+# change permission after that has happened so the ptest user can write a
+# temporary directory.
+do_install_ptest_base:append() {
+ chgrp ptest ${D}${PTEST_PATH}/test
+ chmod g+w ${D}${PTEST_PATH}/test
}
PACKAGES += "guards guards-doc"
-FILES_${PN} = "${sysconfdir} ${datadir}/quilt \
+FILES:${PN} = "${sysconfdir} ${datadir}/quilt \
${bindir}/quilt ${libdir}/quilt"
-FILES_guards = "${bindir}/guards"
-FILES_${PN}-doc = "${mandir}/man1/quilt.1 ${docdir}/${BPN}"
-FILES_guards-doc = "${mandir}/man1/guards.1"
-
-RDEPENDS_${PN} = "bash patch diffstat bzip2 util-linux less"
-RDEPENDS_${PN}_class-native = "diffstat-native patch-native bzip2-native"
-
-RDEPENDS_${PN}-ptest = "make file sed gawk diffutils findutils ed perl \
- perl-module-filehandle perl-module-getopt-std \
- perl-module-posix perl-module-file-temp \
- perl-module-text-parsewords perl-module-overloading \
- bash util-linux-getopt patch \
- "
+FILES:guards = "${bindir}/guards"
+FILES:${PN}-doc = "${mandir}/man1/quilt.1 ${docdir}/${BPN}"
+FILES:guards-doc = "${mandir}/man1/guards.1"
+
+RDEPENDS:${PN} = "bash patch diffstat bzip2 util-linux less"
+RDEPENDS:${PN}:class-native = "diffstat-native patch-native bzip2-native"
+
+RDEPENDS:${PN}-ptest += "file sed gawk diffutils findutils ed perl \
+ perl-module-filehandle perl-module-getopt-std \
+ perl-module-posix perl-module-file-temp \
+ perl-module-text-parsewords perl-module-overloading \
+ bash util-linux-getopt ptest-runner \
+ "
diff --git a/meta/recipes-devtools/quilt/quilt/0001-test-Fix-a-race-condition-in-merge.test.patch b/meta/recipes-devtools/quilt/quilt/0001-test-Fix-a-race-condition-in-merge.test.patch
new file mode 100644
index 0000000000..01d4c8befc
--- /dev/null
+++ b/meta/recipes-devtools/quilt/quilt/0001-test-Fix-a-race-condition-in-merge.test.patch
@@ -0,0 +1,48 @@
+From c1ce964f3e9312100a60f03c1e1fdd601e1911f2 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
+ <congdanhqx@gmail.com>
+Date: Tue, 28 Feb 2023 18:45:15 +0100
+Subject: [PATCH] test: Fix a race condition in merge.test
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Just like commit 4dfe7f9, (test: Fix a race condition, 2023-01-20),
+this fix a test race when stdout and stderr in any order.
+
+Upstream-Status: Backport [https://git.savannah.nongnu.org/cgit/quilt.git/commit/?id=c1ce964f3e9312100a60f03c1e1fdd601e1911f2]
+Signed-off-by: Đoàn Trần Công Danh <congdanhqx@gmail.com>
+Signed-off-by: Jean Delvare <jdelvare@suse.de>
+---
+ test/merge.test | 6 ++++--
+ 1 file changed, 4 insertions(+), 2 deletions(-)
+
+diff --git a/test/merge.test b/test/merge.test
+index c64b33d..2e67d4f 100644
+--- a/test/merge.test
++++ b/test/merge.test
+@@ -39,8 +39,9 @@ Test the patch merging functionality of `quilt diff'.
+ > Applying patch %{P}c.diff
+ > Now at patch %{P}c.diff
+
+- $ quilt diff -P b.diff | grep -v "^\\(---\\|+++\\)"
++ $ quilt diff -P b.diff >/dev/null
+ > Warning: more recent patches modify files in patch %{P}b.diff
++ $ quilt diff -P b.diff 2>/dev/null | grep -v "^\\(---\\|+++\\)"
+ >~ Index: [^/]+/abc\.txt
+ > ===================================================================
+ > @@ -1,3 +1,3 @@
+@@ -49,8 +50,9 @@ Test the patch merging functionality of `quilt diff'.
+ > +b+
+ > c
+
+- $ quilt diff --combine a.diff -P b.diff | grep -v "^\\(---\\|+++\\)"
++ $ quilt diff --combine a.diff -P b.diff >/dev/null
+ > Warning: more recent patches modify files in patch %{P}b.diff
++ $ quilt diff --combine a.diff -P b.diff 2>/dev/null | grep -v "^\\(---\\|+++\\)"
+ >~ Index: [^/]+/abc\.txt
+ > ===================================================================
+ > @@ -1,3 +1,3 @@
+--
+2.40.0
+
diff --git a/meta/recipes-devtools/quilt/quilt/Makefile b/meta/recipes-devtools/quilt/quilt/Makefile
deleted file mode 100644
index 1f6cd2479c..0000000000
--- a/meta/recipes-devtools/quilt/quilt/Makefile
+++ /dev/null
@@ -1,14 +0,0 @@
-PATH := $(CURDIR)/bin:$(CURDIR)/compat:$(PATH)
-QUILT_DIR := $(CURDIR)/quilt
-QUILTRC := $(CURDIR)/test/test.quiltrc
-export QUILT_DIR QUILTRC
-CHECK_ENV := P=patches/; _P=../patches/; export P _P;
-CHECK_ENV += QUILT_PC=.pc; export QUILT_PC
--include test/.depend
-
-check-% : test/%.test
- @LANG=C; LC_ALL=C; \
- export LANG LC_ALL; \
- $(CHECK_ENV); \
- cd $(<D); \
- ./run -q $(<F)
diff --git a/meta/recipes-devtools/quilt/quilt/faildiff-order.patch b/meta/recipes-devtools/quilt/quilt/faildiff-order.patch
new file mode 100644
index 0000000000..f22065a250
--- /dev/null
+++ b/meta/recipes-devtools/quilt/quilt/faildiff-order.patch
@@ -0,0 +1,41 @@
+Upstream-Status: Backport
+Signed-off-by: Ross Burton <ross.burton@arm.com>
+
+From 4dfe7f9e702c85243a71e4de267a13e434b6d6c2 Mon Sep 17 00:00:00 2001
+From: Jean Delvare <jdelvare@suse.de>
+Date: Fri, 20 Jan 2023 12:56:08 +0100
+Subject: [PATCH] test: Fix a race condition
+
+The test suite does not differentiate between stdout and stderr. When
+messages are printed to both, the order in which they will reach us
+is apparently not guaranteed. Ideally this would be deterministic, but
+until then, explicitly test stdout and stderr separately in the test
+case itself. Otherwise the test suite fails randomly, which is a pain
+for distribution package maintainers.
+
+This fixes bug #63651 reported by Ross Burton:
+https://savannah.nongnu.org/bugs/index.php?63651
+
+Signed-off-by: Jean Delvare <jdelvare@suse.de>
+---
+ test/faildiff.test | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/test/faildiff.test b/test/faildiff.test
+index 5afb8e3..0444c15 100644
+--- a/test/faildiff.test
++++ b/test/faildiff.test
+@@ -27,8 +27,9 @@ What happens on binary files?
+ > File test.bin added to patch %{P}test.diff
+
+ $ printf "\\003\\000\\001" > test.bin
+- $ quilt diff -pab --no-index
++ $ quilt diff -pab --no-index 2>/dev/null
+ >~ (Files|Binary files) a/test\.bin and b/test\.bin differ
++ $ quilt diff -pab --no-index >/dev/null
+ > Diff failed on file 'test.bin', aborting
+ $ echo %{?}
+ > 1
+--
+2.34.1
+
diff --git a/meta/recipes-devtools/quilt/quilt/fix-grep-3.8.patch b/meta/recipes-devtools/quilt/quilt/fix-grep-3.8.patch
new file mode 100644
index 0000000000..68a4b4c195
--- /dev/null
+++ b/meta/recipes-devtools/quilt/quilt/fix-grep-3.8.patch
@@ -0,0 +1,144 @@
+From f73f8d7f71de2878d3f92881a5fcb8eafd78cb5f Mon Sep 17 00:00:00 2001
+From: Jean Delvare <jdelvare@suse.de>
+Date: Fri, 9 Sep 2022 10:10:37 +0200
+Subject: Avoid warnings with grep 3.8
+
+GNU grep version 3.8 became more strict about needless quoting in
+patterns. We have one occurrence of that in quilt, where "/"
+characters are being quoted by default. There are cases where they
+indeed need to be quoted (typically when used in a sed s/// command)
+but most of the time they do not, and this results in the following
+warning:
+
+grep: warning: stray \ before /
+
+So rename quote_bre() to quote_sed_re(), and introduce
+quote_grep_re() which does not quote "/".
+
+Signed-off-by: Jean Delvare <jdelvare@suse.de>
+Upstream-Status: Backport [https://git.savannah.nongnu.org/cgit/quilt.git/commit/?id=f73f8d7f71de2878d3f92881a5fcb8eafd78cb5f]
+Signed-off-by: Alexander Kanavin <alex@linutronix.de>
+---
+ quilt/diff.in | 2 +-
+ quilt/patches.in | 2 +-
+ quilt/scripts/patchfns.in | 20 +++++++++++++-------
+ quilt/upgrade.in | 4 ++--
+ 4 files changed, 17 insertions(+), 11 deletions(-)
+
+diff --git a/quilt/diff.in b/quilt/diff.in
+index e90dc33..07788ff 100644
+--- a/quilt/diff.in
++++ b/quilt/diff.in
+@@ -255,7 +255,7 @@ then
+ # Add all files in the snapshot into the file list (they may all
+ # have changed).
+ files=( $(find $QUILT_PC/$snap_subdir -type f \
+- | sed -e "s/^$(quote_bre $QUILT_PC/$snap_subdir/)//" \
++ | sed -e "s/^$(quote_sed_re $QUILT_PC/$snap_subdir/)//" \
+ | sort) )
+ printf "%s\n" "${files[@]}" >&4
+ unset files
+diff --git a/quilt/patches.in b/quilt/patches.in
+index bb17a46..eac45a9 100644
+--- a/quilt/patches.in
++++ b/quilt/patches.in
+@@ -60,7 +60,7 @@ scan_unapplied()
+ # Quote each file name only once
+ for file in "${opt_files[@]}"
+ do
+- files_bre[${#files_bre[@]}]=$(quote_bre "$file")
++ files_bre[${#files_bre[@]}]=$(quote_grep_re "$file")
+ done
+
+ # "Or" all files in a single pattern
+diff --git a/quilt/scripts/patchfns.in b/quilt/scripts/patchfns.in
+index c2d5f9d..1bd7233 100644
+--- a/quilt/scripts/patchfns.in
++++ b/quilt/scripts/patchfns.in
+@@ -78,8 +78,14 @@ array_join()
+ done
+ }
+
+-# Quote a string for use in a basic regular expression.
+-quote_bre()
++# Quote a string for use in a regular expression for a grep pattern.
++quote_grep_re()
++{
++ echo "$1" | sed -e 's:\([][^$.*\\]\):\\\1:g'
++}
++
++# Quote a string for use in a regular expression for a sed s/// command.
++quote_sed_re()
+ {
+ echo "$1" | sed -e 's:\([][^$/.*\\]\):\\\1:g'
+ }
+@@ -215,7 +221,7 @@ patch_in_series()
+
+ if [ -e "$SERIES" ]
+ then
+- grep -q "^$(quote_bre $patch)\([ \t]\|$\)" "$SERIES"
++ grep -q "^$(quote_grep_re $patch)\([ \t]\|$\)" "$SERIES"
+ else
+ return 1
+ fi
+@@ -365,7 +371,7 @@ is_applied()
+ {
+ local patch=$1
+ [ -e $DB ] || return 1
+- grep -q "^$(quote_bre $patch)\$" $DB
++ grep -q "^$(quote_grep_re $patch)\$" $DB
+ }
+
+ applied_patches()
+@@ -465,7 +471,7 @@ remove_from_db()
+ local tmpfile
+ if tmpfile=$(gen_tempfile)
+ then
+- grep -v "^$(quote_bre $patch)\$" $DB > $tmpfile
++ grep -v "^$(quote_grep_re $patch)\$" $DB > $tmpfile
+ cat $tmpfile > $DB
+ rm -f $tmpfile
+ [ -s $DB ] || rm -f $DB
+@@ -520,7 +526,7 @@ find_patch()
+ fi
+
+ local patch=${1#$SUBDIR_DOWN$QUILT_PATCHES/}
+- local bre=$(quote_bre "$patch")
++ local bre=$(quote_sed_re "$patch")
+ set -- $(sed -e "/^$bre\(\|\.patch\|\.diff\?\)\(\|\.gz\|\.bz2\|\.xz\|\.lzma\|\.lz\)\([ "$'\t'"]\|$\)/!d" \
+ -e 's/[ '$'\t''].*//' "$SERIES")
+ if [ $# -eq 1 ]
+@@ -631,7 +637,7 @@ files_in_patch()
+ then
+ find "$path" -type f \
+ -a ! -path "$(quote_glob "$path")/.timestamp" |
+- sed -e "s/$(quote_bre "$path")\///"
++ sed -e "s/$(quote_sed_re "$path")\///"
+ fi
+ }
+
+diff --git a/quilt/upgrade.in b/quilt/upgrade.in
+index dbf7d05..866aa33 100644
+--- a/quilt/upgrade.in
++++ b/quilt/upgrade.in
+@@ -74,7 +74,7 @@ printf $"Converting meta-data to version %s\n" "$DB_VERSION"
+
+ for patch in $(applied_patches)
+ do
+- proper_name="$(grep "^$(quote_bre $patch)"'\(\|\.patch\|\.diff?\)\(\|\.gz\|\.bz2\)\([ \t]\|$\)' $SERIES)"
++ proper_name="$(grep "^$(quote_grep_re $patch)"'\(\|\.patch\|\.diff?\)\(\|\.gz\|\.bz2\)\([ \t]\|$\)' $SERIES)"
+ proper_name=${proper_name#$QUILT_PATCHES/}
+ proper_name=${proper_name%% *}
+ if [ -z "$proper_name" ]
+@@ -84,7 +84,7 @@ do
+ fi
+
+ if [ "$patch" != "$proper_name" -a -d $QUILT_PC/$patch ] \
+- && grep -q "^$(quote_bre $patch)\$" \
++ && grep -q "^$(quote_grep_re $patch)\$" \
+ $QUILT_PC/applied-patches
+ then
+ mv $QUILT_PC/$patch $QUILT_PC/$proper_name \
+--
+cgit v1.1
+
diff --git a/meta/recipes-devtools/quilt/quilt/run-ptest b/meta/recipes-devtools/quilt/quilt/run-ptest
index d2de5c855a..f35a756d6b 100755
--- a/meta/recipes-devtools/quilt/quilt/run-ptest
+++ b/meta/recipes-devtools/quilt/quilt/run-ptest
@@ -1,8 +1,3 @@
#!/bin/sh
-THIS_SH=/bin/sh
-ln -sf /bin/ed /usr/bin/ed
-/usr/sbin/adduser --disabled-password --gecos "" quilttest
-su -c "${THIS_SH} ./test.sh" quilttest
-/usr/sbin/deluser quilttest
-rm -f /usr/bin/ed
+su -c ./test.sh ptest
diff --git a/meta/recipes-devtools/quilt/quilt/test.sh b/meta/recipes-devtools/quilt/quilt/test.sh
index 6563e4a2fb..7dac8f4423 100755
--- a/meta/recipes-devtools/quilt/quilt/test.sh
+++ b/meta/recipes-devtools/quilt/quilt/test.sh
@@ -1 +1,24 @@
-for i in `ls test/*.test |awk -F. '{print $1}' |awk -F/ '{print $2}'`; do make check-$i; if [ $? -eq 0 ]; then echo PASS: $i.test; else echo FAIL: $i.test; fi; done
+#! /bin/sh
+
+set -e -u
+
+export LANG=C
+export LC_ALL=C
+export P=patches/
+export _P=../patches/
+export QUILTRC=$(pwd)/test/test.quiltrc
+export QUILT_PC=.pc
+export QUILT_DIR=/usr/share/quilt/
+
+# Specify on the commandline, else runs all of the tests
+TESTS=${@:-test/*.test}
+
+for FILENAME in $TESTS; do
+ TESTNAME=$(basename $FILENAME .test)
+ ./test/run $FILENAME
+ if [ $? -eq 0 ];
+ then echo PASS: $TESTNAME
+ else
+ echo FAIL: $TESTNAME
+ fi
+done
diff --git a/meta/recipes-devtools/quilt/quilt_0.66.bb b/meta/recipes-devtools/quilt/quilt_0.67.bb
index ff9726576e..bf9e3c720f 100644
--- a/meta/recipes-devtools/quilt/quilt_0.66.bb
+++ b/meta/recipes-devtools/quilt/quilt_0.67.bb
@@ -1,2 +1,3 @@
require quilt.inc
inherit gettext
+
diff --git a/meta/recipes-devtools/repo/repo_2.45.bb b/meta/recipes-devtools/repo/repo_2.45.bb
new file mode 100644
index 0000000000..dd12373e3a
--- /dev/null
+++ b/meta/recipes-devtools/repo/repo_2.45.bb
@@ -0,0 +1,30 @@
+# SPDX-License-Identifier: MIT
+# Copyright (C) 2021 iris-GmbH infrared & intelligent sensors
+
+SUMMARY = "Tool for managing many Git repositories"
+DESCRIPTION = "Repo is a tool built on top of Git. Repo helps manage many Git repositories, does the uploads to revision control systems, and automates parts of the development workflow."
+HOMEPAGE = "https://android.googlesource.com/tools/repo"
+SECTION = "console/utils"
+
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
+
+SRC_URI = "git://gerrit.googlesource.com/git-repo.git;protocol=https;branch=main \
+ "
+SRCREV = "73356f1d5ccbebf5a33e5e9aa1ba06c5f5437fed"
+
+MIRRORS += "git://gerrit.googlesource.com/git-repo.git git://github.com/GerritCodeReview/git-repo.git"
+
+S = "${WORKDIR}/git"
+
+do_configure:prepend() {
+ sed -Ei "s/REPO_REV\s*=\s*('|\")stable('|\")/REPO_REV = '${SRCREV}'/g" ${S}/repo
+}
+
+do_install() {
+ install -D ${S}/repo ${D}${bindir}/repo
+}
+
+RDEPENDS:${PN} = "python3 git"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/rpm/files/0001-Add-a-color-setting-for-mips64_n32-binaries.patch b/meta/recipes-devtools/rpm/files/0001-Add-a-color-setting-for-mips64_n32-binaries.patch
index 331ea849e6..25aa69d7da 100644
--- a/meta/recipes-devtools/rpm/files/0001-Add-a-color-setting-for-mips64_n32-binaries.patch
+++ b/meta/recipes-devtools/rpm/files/0001-Add-a-color-setting-for-mips64_n32-binaries.patch
@@ -1,21 +1,20 @@
-From 5492ac3c716020a27a25253bbffe810db43202bf Mon Sep 17 00:00:00 2001
+From f4cf90b5a298d6a3199e8b4c07f520aaf593ce2b Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex.kanavin@gmail.com>
Date: Thu, 9 Mar 2017 18:54:02 +0200
Subject: [PATCH] Add a color setting for mips64_n32 binaries
Upstream-Status: Inappropriate [oe-core specific]
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
-
---
build/rpmfc.c | 4 ++++
rpmrc.in | 2 ++
2 files changed, 6 insertions(+)
diff --git a/build/rpmfc.c b/build/rpmfc.c
-index 10c380ee9..b7655aa93 100644
+index 4b67a9bae..ed7e4e623 100644
--- a/build/rpmfc.c
+++ b/build/rpmfc.c
-@@ -639,6 +639,7 @@ exit:
+@@ -660,6 +660,7 @@ exit:
static const struct rpmfcTokens_s rpmfcTokens[] = {
{ "directory", RPMFC_INCLUDE },
@@ -23,21 +22,21 @@ index 10c380ee9..b7655aa93 100644
{ "ELF 32-bit", RPMFC_ELF32|RPMFC_INCLUDE },
{ "ELF 64-bit", RPMFC_ELF64|RPMFC_INCLUDE },
-@@ -1149,6 +1150,9 @@ static uint32_t getElfColor(const char *fn)
+@@ -1158,6 +1159,9 @@ static uint32_t getElfColor(const char *fn)
color = RPMFC_ELF32;
break;
}
+ if (ehdr.e_machine == EM_MIPS || ehdr.e_machine == EM_MIPS_RS3_LE)
+ if (ehdr.e_flags & EF_MIPS_ABI2)
+ color = RPMFC_ELFMIPSN32;
- elf_end(elf);
}
- close(fd);
+ if (elf)
+ elf_end(elf);
diff --git a/rpmrc.in b/rpmrc.in
-index 5bd9ba3e5..f15bb8dad 100644
+index 8646a966b..7349fdfd3 100644
--- a/rpmrc.in
+++ b/rpmrc.in
-@@ -137,6 +137,8 @@ archcolor: mipsr6el 1
+@@ -142,6 +142,8 @@ archcolor: mipsr6el 1
archcolor: mips64r6 2
archcolor: mips64r6el 2
diff --git a/meta/recipes-devtools/rpm/files/0001-CMakeLists.txt-look-for-lua-with-pkg-config-rather-t.patch b/meta/recipes-devtools/rpm/files/0001-CMakeLists.txt-look-for-lua-with-pkg-config-rather-t.patch
new file mode 100644
index 0000000000..e4edc884b1
--- /dev/null
+++ b/meta/recipes-devtools/rpm/files/0001-CMakeLists.txt-look-for-lua-with-pkg-config-rather-t.patch
@@ -0,0 +1,27 @@
+From c39a074ff3c4d21c100d387661c7d725b5eae7b0 Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin <alex@linutronix.de>
+Date: Wed, 29 Nov 2023 14:06:15 +0100
+Subject: [PATCH] CMakeLists.txt: look for lua with pkg-config rather than
+ cmake modules
+
+Otherwise cmake will try to find libm, badly, and fail.
+
+Upstream-Status: Inappropriate [oe-core specific]
+Signed-off-by: Alexander Kanavin <alex@linutronix.de>
+---
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 4a383ceba..ed847c09a 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -190,7 +190,7 @@ set(REQFUNCS
+ )
+
+ find_package(PkgConfig REQUIRED)
+-find_package(Lua 5.2 REQUIRED)
++pkg_check_modules(LUA REQUIRED IMPORTED_TARGET lua>=5.2)
+ find_package(ZLIB REQUIRED)
+ find_package(BZip2)
+ find_package(Iconv)
diff --git a/meta/recipes-devtools/rpm/files/0001-Do-not-add-an-unsatisfiable-dependency-when-building.patch b/meta/recipes-devtools/rpm/files/0001-Do-not-add-an-unsatisfiable-dependency-when-building.patch
index 4029233fb7..d0ed711086 100644
--- a/meta/recipes-devtools/rpm/files/0001-Do-not-add-an-unsatisfiable-dependency-when-building.patch
+++ b/meta/recipes-devtools/rpm/files/0001-Do-not-add-an-unsatisfiable-dependency-when-building.patch
@@ -1,4 +1,4 @@
-From f39c28eb52f12ae6e82db360ffd5a903ac8faca5 Mon Sep 17 00:00:00 2001
+From 86e585cc0dd06dfa20f584af8b59d52a59accb45 Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex.kanavin@gmail.com>
Date: Mon, 9 Jan 2017 18:52:11 +0200
Subject: [PATCH] Do not add an unsatisfiable dependency when building rpms in
@@ -9,16 +9,15 @@ hand produces rpms that way by design.
Upstream-Status: Inappropriate [oe-core specific]
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
-
---
build/pack.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/build/pack.c b/build/pack.c
-index e6cec1816..810cd7351 100644
+index f7dac6d9a..f382c7da0 100644
--- a/build/pack.c
+++ b/build/pack.c
-@@ -724,10 +724,6 @@ static rpmRC packageBinary(rpmSpec spec, Package pkg, const char *cookie, int ch
+@@ -711,10 +711,6 @@ static rpmRC packageBinary(rpmSpec spec, Package pkg, const char *cookie, int ch
headerPutBin(pkg->header, RPMTAG_SOURCEPKGID, spec->sourcePkgId,16);
}
diff --git a/meta/recipes-devtools/rpm/files/0001-Do-not-hardcode-lib-rpm-as-the-installation-path-for.patch b/meta/recipes-devtools/rpm/files/0001-Do-not-hardcode-lib-rpm-as-the-installation-path-for.patch
index 30975faeaf..b571a0ae8c 100644
--- a/meta/recipes-devtools/rpm/files/0001-Do-not-hardcode-lib-rpm-as-the-installation-path-for.patch
+++ b/meta/recipes-devtools/rpm/files/0001-Do-not-hardcode-lib-rpm-as-the-installation-path-for.patch
@@ -1,4 +1,4 @@
-From 4fd37bc9d8d0777aa038777dd81a76b64f536efd Mon Sep 17 00:00:00 2001
+From 73d6841d9ef2a8ac7bd63f9645a3efe8038dfdd4 Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex.kanavin@gmail.com>
Date: Mon, 27 Feb 2017 09:43:30 +0200
Subject: [PATCH] Do not hardcode "lib/rpm" as the installation path for
@@ -6,31 +6,29 @@ Subject: [PATCH] Do not hardcode "lib/rpm" as the installation path for
Upstream-Status: Denied [https://github.com/rpm-software-management/rpm/pull/263]
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
-
---
- configure.ac | 2 +-
- macros.in | 2 +-
- rpm.am | 4 ++--
- 3 files changed, 4 insertions(+), 4 deletions(-)
+ CMakeLists.txt | 2 +-
+ macros.in | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
-diff --git a/configure.ac b/configure.ac
-index 186e4aeec..5df252085 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -944,7 +944,7 @@ else
- usrprefix=$prefix
- fi
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 7808115c1..4a383ceba 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -33,7 +33,7 @@ option(WITH_IMAEVM "Build with IMA support" OFF)
+ option(WITH_FAPOLICYD "Build with fapolicyd support" ON)
+ option(WITH_READLINE "Build with readline support" ON)
--RPMCONFIGDIR="`echo ${usrprefix}/lib/rpm`"
-+RPMCONFIGDIR="`echo ${libdir}/rpm`"
- AC_SUBST(RPMCONFIGDIR)
+-set(RPM_CONFIGDIR "${CMAKE_INSTALL_PREFIX}/lib/rpm" CACHE PATH "rpm home")
++set(RPM_CONFIGDIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/rpm" CACHE PATH "rpm home")
+ set(RPM_VENDOR "vendor" CACHE STRING "rpm vendor string")
- AC_SUBST(OBJDUMP)
+ # Emulate libtool versioning. Before a public release:
diff --git a/macros.in b/macros.in
-index 35c8cf9df..9d8b2825c 100644
+index b49ffaad4..3acbe78f6 100644
--- a/macros.in
+++ b/macros.in
-@@ -996,7 +996,7 @@ package or when debugging this package.\
+@@ -969,7 +969,7 @@ Supplements: (%{name} = %{version}-%{release} and langpacks-%{1})\
%_sharedstatedir %{_prefix}/com
%_localstatedir %{_prefix}/var
%_lib lib
@@ -39,20 +37,3 @@ index 35c8cf9df..9d8b2825c 100644
%_includedir %{_prefix}/include
%_infodir %{_datadir}/info
%_mandir %{_datadir}/man
-diff --git a/rpm.am b/rpm.am
-index b46c6b7da..02d5c7a0a 100644
---- a/rpm.am
-+++ b/rpm.am
-@@ -1,10 +1,10 @@
- # Internal binaries
- ## HACK: It probably should be $(libexecdir)/rpm or $(libdir)/rpm
--rpmlibexecdir = $(prefix)/lib/rpm
-+rpmlibexecdir = $(libdir)/rpm
-
- # Host independent config files
- ## HACK: it probably should be $(datadir)/rpm
--rpmconfigdir = $(prefix)/lib/rpm
-+rpmconfigdir = $(libdir)/rpm
-
- # Libtool version (current-revision-age) for all our libraries
- rpm_version_info = 10:0:1
diff --git a/meta/recipes-devtools/rpm/files/0001-Do-not-read-config-files-from-HOME.patch b/meta/recipes-devtools/rpm/files/0001-Do-not-read-config-files-from-HOME.patch
index 96eb418952..796088df53 100644
--- a/meta/recipes-devtools/rpm/files/0001-Do-not-read-config-files-from-HOME.patch
+++ b/meta/recipes-devtools/rpm/files/0001-Do-not-read-config-files-from-HOME.patch
@@ -1,4 +1,4 @@
-From 35381b6cd6c1b571bf7e6b0640de0f54dbf94386 Mon Sep 17 00:00:00 2001
+From e210458d125793915abce30420d866a30305c37a Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex.kanavin@gmail.com>
Date: Tue, 10 Jan 2017 14:11:30 +0200
Subject: [PATCH] Do not read config files from $HOME
@@ -10,29 +10,26 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/lib/rpmrc.c b/lib/rpmrc.c
-index 4ed991321..19fe80f98 100644
+index 9437a0ff1..483585ae4 100644
--- a/lib/rpmrc.c
+++ b/lib/rpmrc.c
-@@ -458,8 +458,7 @@ static void setDefaults(void)
+@@ -459,8 +459,7 @@ static void setDefaults(void)
if (!defrcfiles) {
defrcfiles = rstrscat(NULL, confdir, "/rpmrc", ":",
- confdir, "/" RPMCANONVENDOR "/rpmrc", ":",
+ confdir, "/" RPM_VENDOR "/rpmrc", ":",
- SYSCONFDIR "/rpmrc", ":",
- "~/.rpmrc", NULL);
-+ SYSCONFDIR "/rpmrc", ":");
++ SYSCONFDIR "/rpmrc", NULL);
}
#ifndef MACROFILES
-@@ -471,8 +470,7 @@ static void setDefaults(void)
- confdir, "/" RPMCANONVENDOR "/macros", ":",
+@@ -472,8 +471,7 @@ static void setDefaults(void)
+ confdir, "/" RPM_VENDOR "/macros", ":",
SYSCONFDIR "/rpm/macros.*", ":",
SYSCONFDIR "/rpm/macros", ":",
- SYSCONFDIR "/rpm/%{_target}/macros", ":",
- "~/.rpmmacros", NULL);
-+ SYSCONFDIR "/rpm/%{_target}/macros", ":");
++ SYSCONFDIR "/rpm/%{_target}/macros", NULL);
}
#else
macrofiles = MACROFILES;
---
-2.11.0
-
diff --git a/meta/recipes-devtools/rpm/files/0001-Do-not-reset-the-PATH-environment-variable-before-ru.patch b/meta/recipes-devtools/rpm/files/0001-Do-not-reset-the-PATH-environment-variable-before-ru.patch
index 41cdf6ed77..328fbf86ac 100644
--- a/meta/recipes-devtools/rpm/files/0001-Do-not-reset-the-PATH-environment-variable-before-ru.patch
+++ b/meta/recipes-devtools/rpm/files/0001-Do-not-reset-the-PATH-environment-variable-before-ru.patch
@@ -1,4 +1,4 @@
-From a674b9cc7af448d7c6748bc163bf37dc14a57f09 Mon Sep 17 00:00:00 2001
+From a8fe7a7a2e41c9f127ed26407d57076babcb89e8 Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex.kanavin@gmail.com>
Date: Fri, 20 Jan 2017 13:32:06 +0200
Subject: [PATCH] Do not reset the PATH environment variable before running
@@ -8,16 +8,15 @@ We add lots of native stuff into it and scriptlets rely on that.
Upstream-Status: Inappropriate [oe-core specific]
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
-
---
lib/rpmscript.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/rpmscript.c b/lib/rpmscript.c
-index 6a31e0d..2b0e438 100644
+index 57689bb68..7b7e26606 100644
--- a/lib/rpmscript.c
+++ b/lib/rpmscript.c
-@@ -184,7 +184,7 @@ static void doScriptExec(ARGV_const_t argv, ARGV_const_t prefixes,
+@@ -252,7 +252,7 @@ static void doScriptExec(ARGV_const_t argv, ARGV_const_t prefixes,
if (ipath && ipath[5] != '%')
path = ipath;
diff --git a/meta/recipes-devtools/rpm/files/0001-Fix-build-with-musl-C-library.patch b/meta/recipes-devtools/rpm/files/0001-Fix-build-with-musl-C-library.patch
deleted file mode 100644
index b960da6c31..0000000000
--- a/meta/recipes-devtools/rpm/files/0001-Fix-build-with-musl-C-library.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-From d076de030deb9cafd9b2e82be5d506cebdefad0b Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin <alex.kanavin@gmail.com>
-Date: Mon, 27 Feb 2017 14:43:21 +0200
-Subject: [PATCH 1/9] Fix build with musl C library.
-
-Upstream-Status: Pending
-Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
-
----
- configure.ac | 3 ++-
- rpmio/digest_nss.c | 1 +
- 2 files changed, 3 insertions(+), 1 deletion(-)
-
---- a/rpmio/digest_nss.c
-+++ b/rpmio/digest_nss.c
-@@ -1,5 +1,6 @@
- #include "system.h"
-
-+#include <signal.h>
- #include <pthread.h>
- #include <nss.h>
- #include <sechash.h>
diff --git a/meta/recipes-devtools/rpm/files/0001-Rip-out-partial-support-for-unused-MD2-and-RIPEMD160.patch b/meta/recipes-devtools/rpm/files/0001-Rip-out-partial-support-for-unused-MD2-and-RIPEMD160.patch
deleted file mode 100644
index 734e38bb39..0000000000
--- a/meta/recipes-devtools/rpm/files/0001-Rip-out-partial-support-for-unused-MD2-and-RIPEMD160.patch
+++ /dev/null
@@ -1,81 +0,0 @@
-From 2d53d1e308a5bd15a16cc289fa7e1f264ea706be Mon Sep 17 00:00:00 2001
-From: Panu Matilainen <pmatilai@redhat.com>
-Date: Tue, 26 Jun 2018 10:46:14 +0300
-Subject: [PATCH] Rip out partial support for unused MD2 and RIPEMD160 digests
-
-Inspired by #453, adding configure-checks for unused digests algorithms
-seems nonsensical, at no point in rpm history have these algorithms been
-used for anything in rpm so there's not even backward compatibility to
-care about. So the question becomes why do we appear to have (some)
-support for those unused algorithms? So lets don't, problem solved...
-
-Upstream-Status: Backport [https://github.com/rpm-software-management/rpm/commit/ff4b9111aeba01dd025dd133ce617fb80f7398a0]
-Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
----
- rpmio/digest_beecrypt.c | 7 -------
- rpmio/digest_nss.c | 2 --
- rpmio/digest_openssl.c | 6 ------
- 3 files changed, 15 deletions(-)
-
-diff --git a/rpmio/digest_beecrypt.c b/rpmio/digest_beecrypt.c
-index 597027e25..653a39491 100644
---- a/rpmio/digest_beecrypt.c
-+++ b/rpmio/digest_beecrypt.c
-@@ -132,10 +132,6 @@ DIGEST_CTX rpmDigestInit(int hashalgo, rpmDigestFlags flags)
- ctx->Digest = (void *) sha512Digest;
- break;
- #endif
-- case PGPHASHALGO_RIPEMD160:
-- case PGPHASHALGO_MD2:
-- case PGPHASHALGO_TIGER192:
-- case PGPHASHALGO_HAVAL_5_160:
- default:
- free(ctx);
- return NULL;
-@@ -292,9 +288,6 @@ static int pgpVerifySigRSA(pgpDigAlg pgpkey, pgpDigAlg pgpsig, uint8_t *hash, si
- case PGPHASHALGO_SHA1:
- prefix = "3021300906052b0e03021a05000414";
- break;
-- case PGPHASHALGO_MD2:
-- prefix = "3020300c06082a864886f70d020205000410";
-- break;
- case PGPHASHALGO_SHA256:
- prefix = "3031300d060960864801650304020105000420";
- break;
-diff --git a/rpmio/digest_nss.c b/rpmio/digest_nss.c
-index e11920e3e..b3d2b5595 100644
---- a/rpmio/digest_nss.c
-+++ b/rpmio/digest_nss.c
-@@ -117,7 +117,6 @@ static HASH_HashType getHashType(int hashalgo)
- {
- switch (hashalgo) {
- case PGPHASHALGO_MD5: return HASH_AlgMD5;
-- case PGPHASHALGO_MD2: return HASH_AlgMD2;
- case PGPHASHALGO_SHA1: return HASH_AlgSHA1;
- #ifdef SHA224_LENGTH
- case PGPHASHALGO_SHA224: return HASH_AlgSHA224;
-@@ -217,7 +216,6 @@ static SECOidTag getHashAlg(unsigned int hashalgo)
- {
- switch (hashalgo) {
- case PGPHASHALGO_MD5: return SEC_OID_MD5;
-- case PGPHASHALGO_MD2: return SEC_OID_MD2;
- case PGPHASHALGO_SHA1: return SEC_OID_SHA1;
- #ifdef SHA224_LENGTH
- case PGPHASHALGO_SHA224: return SEC_OID_SHA224;
-diff --git a/rpmio/digest_openssl.c b/rpmio/digest_openssl.c
-index 18e52a724..0ae48dd1d 100644
---- a/rpmio/digest_openssl.c
-+++ b/rpmio/digest_openssl.c
-@@ -172,12 +172,6 @@ static const EVP_MD *getEVPMD(int hashalgo)
- case PGPHASHALGO_SHA1:
- return EVP_sha1();
-
-- case PGPHASHALGO_RIPEMD160:
-- return EVP_ripemd160();
--
-- case PGPHASHALGO_MD2:
-- return EVP_md2();
--
- case PGPHASHALGO_SHA256:
- return EVP_sha256();
-
diff --git a/meta/recipes-devtools/rpm/files/0001-When-cross-installing-execute-package-scriptlets-wit.patch b/meta/recipes-devtools/rpm/files/0001-When-cross-installing-execute-package-scriptlets-wit.patch
index 4020a31092..e4251a1a73 100644
--- a/meta/recipes-devtools/rpm/files/0001-When-cross-installing-execute-package-scriptlets-wit.patch
+++ b/meta/recipes-devtools/rpm/files/0001-When-cross-installing-execute-package-scriptlets-wit.patch
@@ -1,4 +1,4 @@
-From a89daa75ac970d8e247edc762d1181e9a5b0c5d0 Mon Sep 17 00:00:00 2001
+From 34c0d3263f3e0b366a2320e0823f46673f7ba928 Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex.kanavin@gmail.com>
Date: Tue, 17 Jan 2017 14:07:17 +0200
Subject: [PATCH] When cross-installing, execute package scriptlets without
@@ -29,10 +29,10 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/lib/rpmscript.c b/lib/rpmscript.c
-index cc98c4885..f8bd3df04 100644
+index 3f6313278..57689bb68 100644
--- a/lib/rpmscript.c
+++ b/lib/rpmscript.c
-@@ -394,8 +394,7 @@ exit:
+@@ -448,8 +448,7 @@ exit:
Fclose(out); /* XXX dup'd STDOUT_FILENO */
if (fn) {
@@ -42,21 +42,18 @@ index cc98c4885..f8bd3df04 100644
free(fn);
}
free(mline);
-@@ -428,7 +427,13 @@ rpmRC rpmScriptRun(rpmScript script, int arg1, int arg2, FD_t scriptFd,
+@@ -483,7 +482,13 @@ rpmRC rpmScriptRun(rpmScript script, int arg1, int arg2, FD_t scriptFd,
if (rc != RPMRC_FAIL) {
if (script_type & RPMSCRIPTLET_EXEC) {
-- rc = runExtScript(plugins, prefixes, script->descr, lvl, scriptFd, &args, script->body, arg1, arg2, &script->nextFileFunc);
+- rc = runExtScript(plugins, prefixes, script->descr, lvl, scriptFd, &args, script->body, arg1, arg2, script->nextFileFunc);
+ if (getenv("RPM_NO_CHROOT_FOR_SCRIPTS") != NULL) {
+ rpmChrootOut();
-+ rc = runExtScript(plugins, prefixes, script->descr, lvl, scriptFd, &args, script->body, arg1, arg2, &script->nextFileFunc);
++ rc = runExtScript(plugins, prefixes, script->descr, lvl, scriptFd, &args, script->body, arg1, arg2, script->nextFileFunc);
+ rpmChrootIn();
+ } else {
-+ rc = runExtScript(plugins, prefixes, script->descr, lvl, scriptFd, &args, script->body, arg1, arg2, &script->nextFileFunc);
++ rc = runExtScript(plugins, prefixes, script->descr, lvl, scriptFd, &args, script->body, arg1, arg2, script->nextFileFunc);
+ }
} else {
- rc = runLuaScript(plugins, prefixes, script->descr, lvl, scriptFd, &args, script->body, arg1, arg2, &script->nextFileFunc);
+ rc = runLuaScript(plugins, prefixes, script->descr, lvl, scriptFd, &args, script->body, arg1, arg2, script->nextFileFunc);
}
---
-2.11.0
-
diff --git a/meta/recipes-devtools/rpm/files/0001-build-pack.c-do-not-insert-payloadflags-into-.rpm-me.patch b/meta/recipes-devtools/rpm/files/0001-build-pack.c-do-not-insert-payloadflags-into-.rpm-me.patch
new file mode 100644
index 0000000000..2f6397aa8a
--- /dev/null
+++ b/meta/recipes-devtools/rpm/files/0001-build-pack.c-do-not-insert-payloadflags-into-.rpm-me.patch
@@ -0,0 +1,28 @@
+From ae4fdd8e8d052835973e6ff4b7550f93bde30a98 Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin <alex@linutronix.de>
+Date: Tue, 31 Aug 2021 10:37:05 +0200
+Subject: [PATCH] build/pack.c: do not insert payloadflags into .rpm metadata
+
+The flags look like '19T56' where 19 is the compression level
+(deterministic), and 56 is the amount of threads (varies from one
+host to the next and breaks reproducibility for .rpm).
+
+Upstream-Status: Inappropriate [oe-core specific]
+Signed-off-by: Alexander Kanavin <alex@linutronix.de>
+---
+ build/pack.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/build/pack.c b/build/pack.c
+index f382c7da0..0889dd993 100644
+--- a/build/pack.c
++++ b/build/pack.c
+@@ -330,7 +330,7 @@ static char *getIOFlags(Package pkg)
+ headerPutString(pkg->header, RPMTAG_PAYLOADCOMPRESSOR, compr);
+ buf = xstrdup(rpmio_flags);
+ buf[s - rpmio_flags] = '\0';
+- headerPutString(pkg->header, RPMTAG_PAYLOADFLAGS, buf+1);
++ headerPutString(pkg->header, RPMTAG_PAYLOADFLAGS, "");
+ free(buf);
+ }
+ exit:
diff --git a/meta/recipes-devtools/rpm/files/0001-lib-transaction.c-fix-file-conflicts-for-MIPS64-N32.patch b/meta/recipes-devtools/rpm/files/0001-lib-transaction.c-fix-file-conflicts-for-MIPS64-N32.patch
index 6678c105cd..98e52da3a8 100644
--- a/meta/recipes-devtools/rpm/files/0001-lib-transaction.c-fix-file-conflicts-for-MIPS64-N32.patch
+++ b/meta/recipes-devtools/rpm/files/0001-lib-transaction.c-fix-file-conflicts-for-MIPS64-N32.patch
@@ -1,4 +1,4 @@
-From 1ed066fc6fa7d7afffe3545c4e3ea937529e6c49 Mon Sep 17 00:00:00 2001
+From b04ecb793a3c859985eead5e261785b27a4c4a20 Mon Sep 17 00:00:00 2001
From: Changqing Li <changqing.li@windriver.com>
Date: Thu, 7 May 2020 17:40:58 +0800
Subject: [PATCH] lib/transaction.c: fix file conflicts for MIPS64 N32
@@ -32,10 +32,10 @@ Signed-off-by: Changqing Li <changqing.li@windriver.com>
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/lib/transaction.c b/lib/transaction.c
-index 67b9db5..82386b8 100644
+index 70d2587ac..b89b30060 100644
--- a/lib/transaction.c
+++ b/lib/transaction.c
-@@ -391,7 +391,18 @@ static int handleColorConflict(rpmts ts,
+@@ -400,7 +400,18 @@ static int handleColorConflict(rpmts ts,
rpmfsSetAction(ofs, ofx, FA_CREATE);
rpmfsSetAction(fs, fx, FA_SKIPCOLOR);
rConflicts = 0;
@@ -55,6 +55,3 @@ index 67b9db5..82386b8 100644
}
}
---
-2.7.4
-
diff --git a/meta/recipes-devtools/rpm/files/0001-perl-disable-auto-reqs.patch b/meta/recipes-devtools/rpm/files/0001-perl-disable-auto-reqs.patch
index a6c58699d3..55108e7f1c 100644
--- a/meta/recipes-devtools/rpm/files/0001-perl-disable-auto-reqs.patch
+++ b/meta/recipes-devtools/rpm/files/0001-perl-disable-auto-reqs.patch
@@ -1,4 +1,7 @@
-perl: disable auto requires
+From 58bf006646a063837c46b695f7e7ebb69bee7238 Mon Sep 17 00:00:00 2001
+From: Mark Hatle <mark.hatle@windriver.com>
+Date: Tue, 15 Aug 2017 16:41:57 -0500
+Subject: [PATCH] perl: disable auto requires
When generating automatic requirements, it's possible for perl scripts to
declare 'optional' dependencies. These seem to often be incorrect and will
@@ -9,20 +12,24 @@ generation. This matches the behavior from the previous RPM5 implementation.
Upstream-Status: Inappropriate [OE specific configuration]
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
+---
+ fileattrs/perl.attr | 2 +-
+ fileattrs/perllib.attr | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
-Index: git/fileattrs/perl.attr
-===================================================================
---- git.orig/fileattrs/perl.attr
-+++ git/fileattrs/perl.attr
+diff --git a/fileattrs/perl.attr b/fileattrs/perl.attr
+index 0daef58d5..81ddf5305 100644
+--- a/fileattrs/perl.attr
++++ b/fileattrs/perl.attr
@@ -1,3 +1,3 @@
-%__perl_requires %{_rpmconfigdir}/perl.req
+#__perl_requires %{_rpmconfigdir}/perl.req
%__perl_magic ^.*[Pp]erl .*$
%__perl_flags exeonly
-Index: git/fileattrs/perllib.attr
-===================================================================
---- git.orig/fileattrs/perllib.attr
-+++ git/fileattrs/perllib.attr
+diff --git a/fileattrs/perllib.attr b/fileattrs/perllib.attr
+index fcad48099..495a28927 100644
+--- a/fileattrs/perllib.attr
++++ b/fileattrs/perllib.attr
@@ -1,5 +1,5 @@
%__perllib_provides %{_rpmconfigdir}/perl.prov
-%__perllib_requires %{_rpmconfigdir}/perl.req
diff --git a/meta/recipes-devtools/rpm/files/0001-rpm-rpmio.c-restrict-virtual-memory-usage-if-limit-s.patch b/meta/recipes-devtools/rpm/files/0001-rpm-rpmio.c-restrict-virtual-memory-usage-if-limit-s.patch
deleted file mode 100644
index 6454785254..0000000000
--- a/meta/recipes-devtools/rpm/files/0001-rpm-rpmio.c-restrict-virtual-memory-usage-if-limit-s.patch
+++ /dev/null
@@ -1,65 +0,0 @@
-From 0066b862bb3a09f39295abd5d972a53ac8dc1555 Mon Sep 17 00:00:00 2001
-From: Peter Bergin <peter@berginkonsult.se>
-Date: Wed, 19 Sep 2018 15:12:31 +0200
-Subject: [PATCH] rpm/rpmio.c: restrict virtual memory usage if limit set
-
-A solution to avoid OOM situation when the virtual memory is restricted
-for a user (ulimit -v). As the lzopen_internal function is run in parallel
-one instance per CPU thread the available virtual memory is limited per
-CPU thread.
-
-Upstream-Status: Pending [merge of multithreading patches to upstream]
-
-Signed-off-by: Peter Bergin <peter@berginkonsult.se>
----
- rpmio/rpmio.c | 34 ++++++++++++++++++++++++++++++++++
- 1 file changed, 34 insertions(+)
-
-diff --git a/rpmio/rpmio.c b/rpmio/rpmio.c
-index e051c98..b3c56b6 100644
---- a/rpmio/rpmio.c
-+++ b/rpmio/rpmio.c
-@@ -845,6 +845,40 @@ static LZFILE *lzopen_internal(const char *mode, int fd, int xz)
- }
- #endif
-
-+ struct rlimit virtual_memory;
-+ getrlimit(RLIMIT_AS, &virtual_memory);
-+ if (virtual_memory.rlim_cur != RLIM_INFINITY) {
-+ const uint64_t virtual_memlimit = virtual_memory.rlim_cur;
-+ const uint64_t virtual_memlimit_per_cpu_thread =
-+ virtual_memlimit / lzma_cputhreads();
-+ uint64_t memory_usage_virt;
-+ rpmlog(RPMLOG_NOTICE, "XZ: virtual memory restricted to %lu and "
-+ "per CPU thread %lu\n", virtual_memlimit, virtual_memlimit_per_cpu_thread);
-+ /* keep reducing the number of compression threads until memory
-+ usage falls below the limit per CPU thread*/
-+ while ((memory_usage_virt = lzma_stream_encoder_mt_memusage(&mt_options)) >
-+ virtual_memlimit_per_cpu_thread) {
-+ /* If number of threads goes down to zero lzma_stream_encoder will
-+ * will return UINT64_MAX. We must check here to avoid an infinite loop.
-+ * If we get into situation that one thread requires more virtual memory
-+ * than available we set one thread, print error message and try anyway. */
-+ if (--mt_options.threads == 0) {
-+ mt_options.threads = 1;
-+ rpmlog(RPMLOG_WARNING,
-+ "XZ: Could not adjust number of threads to get below "
-+ "virtual memory limit %lu. usage %lu\n",
-+ virtual_memlimit_per_cpu_thread, memory_usage_virt);
-+ break;
-+ }
-+ }
-+ if (threads != (int)mt_options.threads)
-+ rpmlog(RPMLOG_NOTICE,
-+ "XZ: Adjusted the number of threads from %d to %d to not "
-+ "exceed the memory usage limit of %lu bytes\n",
-+ threads, mt_options.threads, virtual_memlimit);
-+
-+ }
-+
- ret = lzma_stream_encoder_mt(&lzfile->strm, &mt_options);
- }
- #endif
---
-2.7.4
-
diff --git a/meta/recipes-devtools/rpm/files/0001-rpmdb.c-add-a-missing-include.patch b/meta/recipes-devtools/rpm/files/0001-rpmdb.c-add-a-missing-include.patch
deleted file mode 100644
index c7ae158f8d..0000000000
--- a/meta/recipes-devtools/rpm/files/0001-rpmdb.c-add-a-missing-include.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 9de15c7e1f4ca23a10edb9a3b657f06b2b13e841 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin <alex.kanavin@gmail.com>
-Date: Tue, 20 Oct 2020 22:16:39 +0200
-Subject: [PATCH] rpmdb.c: add a missing include
-
-This addressed build failures on non-glibc systems.
-
-Upstream-Status: Backport
-Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
----
- lib/rpmdb.c | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/lib/rpmdb.c b/lib/rpmdb.c
-index 4c101569f..73187630b 100644
---- a/lib/rpmdb.c
-+++ b/lib/rpmdb.c
-@@ -8,6 +8,7 @@
- #include <utime.h>
- #include <errno.h>
- #include <dirent.h>
-+#include <fcntl.h>
-
- #ifndef DYING /* XXX already in "system.h" */
- #include <fnmatch.h>
diff --git a/meta/recipes-devtools/rpm/files/0001-tools-Add-error.h-for-non-glibc-case.patch b/meta/recipes-devtools/rpm/files/0001-tools-Add-error.h-for-non-glibc-case.patch
deleted file mode 100644
index e78514b814..0000000000
--- a/meta/recipes-devtools/rpm/files/0001-tools-Add-error.h-for-non-glibc-case.patch
+++ /dev/null
@@ -1,118 +0,0 @@
-From b3952bd5e28f2a4d86c7377de239db8fa7237e14 Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Sat, 31 Oct 2020 22:14:05 -0700
-Subject: [PATCH] tools: Add error.h for non-glibc case
-
-error is glibc specific API, so this patch will mostly not accepted
-upstream given that elfutils has been closely tied to glibc
-
-Upstream-Status: Inappropriate [workaround for musl]
-
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
- tools/debugedit.c | 6 +++++-
- tools/elfdeps.c | 6 +++++-
- tools/error.h | 27 +++++++++++++++++++++++++++
- tools/sepdebugcrcfix.c | 6 +++++-
- 4 files changed, 42 insertions(+), 3 deletions(-)
- create mode 100644 tools/error.h
-
-diff --git a/tools/debugedit.c b/tools/debugedit.c
-index 9f8dcd0fb..852f46073 100644
---- a/tools/debugedit.c
-+++ b/tools/debugedit.c
-@@ -26,7 +26,6 @@
- #include <byteswap.h>
- #include <endian.h>
- #include <errno.h>
--#include <error.h>
- #include <limits.h>
- #include <string.h>
- #include <stdlib.h>
-@@ -40,6 +39,11 @@
-
- #include <gelf.h>
- #include <dwarf.h>
-+#ifdef __GLIBC__
-+#include <error.h>
-+#else
-+#include "error.h"
-+#endif
-
-
- /* Unfortunately strtab manipulation functions were only officially added
-diff --git a/tools/elfdeps.c b/tools/elfdeps.c
-index 6d9094874..f69e60997 100644
---- a/tools/elfdeps.c
-+++ b/tools/elfdeps.c
-@@ -5,10 +5,14 @@
- #include <unistd.h>
- #include <stdlib.h>
- #include <fcntl.h>
--#include <error.h>
- #include <errno.h>
- #include <popt.h>
- #include <gelf.h>
-+#ifdef __GLIBC__
-+#include <error.h>
-+#else
-+#include "error.h"
-+#endif
-
- #include <rpm/rpmstring.h>
- #include <rpm/argv.h>
-diff --git a/tools/error.h b/tools/error.h
-new file mode 100644
-index 000000000..ef06827a0
---- /dev/null
-+++ b/tools/error.h
-@@ -0,0 +1,27 @@
-+#ifndef _ERROR_H_
-+#define _ERROR_H_
-+
-+#include <stdarg.h>
-+#include <stdio.h>
-+#include <stdlib.h>
-+#include <string.h>
-+#include <errno.h>
-+
-+static unsigned int error_message_count = 0;
-+
-+static inline void error(int status, int errnum, const char* format, ...)
-+{
-+ va_list ap;
-+ fprintf(stderr, "%s: ", program_invocation_name);
-+ va_start(ap, format);
-+ vfprintf(stderr, format, ap);
-+ va_end(ap);
-+ if (errnum)
-+ fprintf(stderr, ": %s", strerror(errnum));
-+ fprintf(stderr, "\n");
-+ error_message_count++;
-+ if (status)
-+ exit(status);
-+}
-+
-+#endif /* _ERROR_H_ */
-diff --git a/tools/sepdebugcrcfix.c b/tools/sepdebugcrcfix.c
-index fba460014..2be9c1fd8 100644
---- a/tools/sepdebugcrcfix.c
-+++ b/tools/sepdebugcrcfix.c
-@@ -29,9 +29,13 @@
- #include <endian.h>
- #include <stdio.h>
- #include <stdlib.h>
--#include <error.h>
- #include <libelf.h>
- #include <gelf.h>
-+#ifdef __GLIBC__
-+#include <error.h>
-+#else
-+#include "error.h"
-+#endif
-
- #ifndef _
- #define _(x) x
---
-2.29.2
-
diff --git a/meta/recipes-devtools/rpm/files/0002-Add-support-for-prefixing-etc-from-RPM_ETCCONFIGDIR-.patch b/meta/recipes-devtools/rpm/files/0002-Add-support-for-prefixing-etc-from-RPM_ETCCONFIGDIR-.patch
index b3dbc319b6..c5caa7dc5e 100644
--- a/meta/recipes-devtools/rpm/files/0002-Add-support-for-prefixing-etc-from-RPM_ETCCONFIGDIR-.patch
+++ b/meta/recipes-devtools/rpm/files/0002-Add-support-for-prefixing-etc-from-RPM_ETCCONFIGDIR-.patch
@@ -1,7 +1,7 @@
-From 383c0b097b7eba16801a9e3c4b8e36a4b6de74ab Mon Sep 17 00:00:00 2001
+From d7143dc4e75c8bcc5cc4c852a4b972942b7e4d07 Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex.kanavin@gmail.com>
Date: Fri, 20 Jan 2017 13:33:05 +0200
-Subject: [PATCH 2/2] Add support for prefixing /etc from RPM_ETCCONFIGDIR
+Subject: [PATCH] Add support for prefixing /etc from RPM_ETCCONFIGDIR
environment variable
This is needed so that rpm can pick up target-specific configuration
@@ -14,10 +14,10 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
1 file changed, 14 insertions(+), 5 deletions(-)
diff --git a/lib/rpmrc.c b/lib/rpmrc.c
-index 19fe80f98..6b27b3941 100644
+index 483585ae4..ea858c290 100644
--- a/lib/rpmrc.c
+++ b/lib/rpmrc.c
-@@ -455,10 +455,14 @@ const char * lookupInDefaultTable(const char * name,
+@@ -456,10 +456,14 @@ const char * lookupInDefaultTable(const char * name,
static void setDefaults(void)
{
const char *confdir = rpmConfigDir();
@@ -27,26 +27,26 @@ index 19fe80f98..6b27b3941 100644
+
if (!defrcfiles) {
defrcfiles = rstrscat(NULL, confdir, "/rpmrc", ":",
- confdir, "/" RPMCANONVENDOR "/rpmrc", ":",
-- SYSCONFDIR "/rpmrc", ":");
-+ etcconfdir, SYSCONFDIR "/rpmrc", ":", NULL);
+ confdir, "/" RPM_VENDOR "/rpmrc", ":",
+- SYSCONFDIR "/rpmrc", NULL);
++ etcconfdir, SYSCONFDIR "/rpmrc", NULL);
}
#ifndef MACROFILES
-@@ -468,9 +472,9 @@ static void setDefaults(void)
+@@ -469,9 +473,9 @@ static void setDefaults(void)
confdir, "/platform/%{_target}/macros", ":",
confdir, "/fileattrs/*.attr", ":",
- confdir, "/" RPMCANONVENDOR "/macros", ":",
+ confdir, "/" RPM_VENDOR "/macros", ":",
- SYSCONFDIR "/rpm/macros.*", ":",
- SYSCONFDIR "/rpm/macros", ":",
-- SYSCONFDIR "/rpm/%{_target}/macros", ":");
+- SYSCONFDIR "/rpm/%{_target}/macros", NULL);
+ etcconfdir, SYSCONFDIR "/rpm/macros.*", ":",
+ etcconfdir, SYSCONFDIR "/rpm/macros", ":",
-+ etcconfdir, SYSCONFDIR "/rpm/%{_target}/macros", ":", NULL);
++ etcconfdir, SYSCONFDIR "/rpm/%{_target}/macros", NULL);
}
#else
macrofiles = MACROFILES;
-@@ -989,7 +993,11 @@ static void read_auxv(void)
+@@ -1115,7 +1119,11 @@ static void read_auxv(void)
*/
static void defaultMachine(rpmrcCtx ctx, const char ** arch, const char ** os)
{
@@ -59,7 +59,7 @@ index 19fe80f98..6b27b3941 100644
static struct utsname un;
char * chptr;
canonEntry canon;
-@@ -1286,6 +1294,7 @@ static void defaultMachine(rpmrcCtx ctx, const char ** arch, const char ** os)
+@@ -1435,6 +1443,7 @@ static void defaultMachine(rpmrcCtx ctx, const char ** arch, const char ** os)
if (arch) *arch = un.machine;
if (os) *os = un.sysname;
@@ -67,6 +67,3 @@ index 19fe80f98..6b27b3941 100644
}
static
---
-2.11.0
-
diff --git a/meta/recipes-devtools/rpm/files/0002-rpmio-rpmglob.c-avoid-using-GLOB_BRACE-if-undefined-.patch b/meta/recipes-devtools/rpm/files/0002-rpmio-rpmglob.c-avoid-using-GLOB_BRACE-if-undefined-.patch
new file mode 100644
index 0000000000..23dce30086
--- /dev/null
+++ b/meta/recipes-devtools/rpm/files/0002-rpmio-rpmglob.c-avoid-using-GLOB_BRACE-if-undefined-.patch
@@ -0,0 +1,34 @@
+From 29c2a0c18b0c773128bf62c611b4c53fe4471105 Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin <alex@linutronix.de>
+Date: Tue, 16 Jan 2024 09:59:26 +0100
+Subject: [PATCH] rpmio/rpmglob.c: avoid using GLOB_BRACE if undefined by C
+ library
+
+This addresses musl failures; if there is code out there relying on
+those braces, it needs to be fixed when used on musl.
+
+This is unlikely to be trivially fixable upstream.
+
+Upstream-Status: Inappropriate [reported at https://github.com/rpm-software-management/rpm/issues/2844]
+Signed-off-by: Alexander Kanavin <alex@linutronix.de>
+---
+ rpmio/rpmglob.c | 6 ++++++
+ 1 file changed, 6 insertions(+)
+
+diff --git a/rpmio/rpmglob.c b/rpmio/rpmglob.c
+index 243568766..43c27074a 100644
+--- a/rpmio/rpmglob.c
++++ b/rpmio/rpmglob.c
+@@ -33,6 +33,12 @@
+
+ #include "debug.h"
+
++/* Don't fail if the standard C library
+++ * doesn't provide brace expansion */
++#ifndef GLOB_BRACE
++#define GLOB_BRACE 0
++#endif
++
+ /* Return 1 if pattern contains a magic char, see glob(7) for a list */
+ static int ismagic(const char *pattern)
+ {
diff --git a/meta/recipes-devtools/rpm/files/0011-Do-not-require-that-ELF-binaries-are-executable-to-b.patch b/meta/recipes-devtools/rpm/files/0011-Do-not-require-that-ELF-binaries-are-executable-to-b.patch
deleted file mode 100644
index 4ac5c38f06..0000000000
--- a/meta/recipes-devtools/rpm/files/0011-Do-not-require-that-ELF-binaries-are-executable-to-b.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From 5141d50d7b3d3c209a22c53deedb4ceef014401d Mon Sep 17 00:00:00 2001
-From: Peter Kjellerstedt <pkj@axis.com>
-Date: Mon, 15 May 2017 10:21:08 +0200
-Subject: [PATCH 09/15] Do not require that ELF binaries are executable to be
- identifiable
-
-There is nothing that requires, e.g., a DSO to be executable, but it
-is still an ELF binary and should be identified as such.
-
-Upstream probably expects all ELF binaries to be marked as executable,
-but rather than imposing such a limitation for OE, allow any file to
-be identified as an ELF binary regardless of whether it is executable
-or not.
-
-Upstream-Status: Inappropriate
-Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
-
----
- fileattrs/elf.attr | 1 -
- 1 file changed, 1 deletion(-)
-
-diff --git a/fileattrs/elf.attr b/fileattrs/elf.attr
-index 5805dd0ee..3516f309d 100644
---- a/fileattrs/elf.attr
-+++ b/fileattrs/elf.attr
-@@ -1,4 +1,3 @@
- %__elf_provides %{_rpmconfigdir}/elfdeps --provides %{?__filter_GLIBC_PRIVATE:--filter-private}
- %__elf_requires %{_rpmconfigdir}/elfdeps --requires %{?__filter_GLIBC_PRIVATE:--filter-private}
- %__elf_magic ^(setuid,? )?(setgid,? )?(sticky )?ELF (32|64)-bit.*$
--%__elf_flags exeonly
---
-2.14.2
-
diff --git a/meta/recipes-devtools/rpm/files/0016-rpmscript.c-change-logging-level-around-scriptlets-t.patch b/meta/recipes-devtools/rpm/files/0016-rpmscript.c-change-logging-level-around-scriptlets-t.patch
index 43e9859ef3..732202c46f 100644
--- a/meta/recipes-devtools/rpm/files/0016-rpmscript.c-change-logging-level-around-scriptlets-t.patch
+++ b/meta/recipes-devtools/rpm/files/0016-rpmscript.c-change-logging-level-around-scriptlets-t.patch
@@ -1,4 +1,4 @@
-From 989e425d416474c191b020d0825895e3df4bd033 Mon Sep 17 00:00:00 2001
+From f01d9c24bb86bc47ad2453483518dbb25953cac7 Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex.kanavin@gmail.com>
Date: Thu, 10 Jan 2019 18:14:18 +0100
Subject: [PATCH] rpmscript.c: change logging level around scriptlets to INFO
@@ -14,10 +14,10 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/lib/rpmscript.c b/lib/rpmscript.c
-index 2b0e43862..e319673f1 100644
+index 7b7e26606..1dcd23be5 100644
--- a/lib/rpmscript.c
+++ b/lib/rpmscript.c
-@@ -226,7 +226,7 @@ static char * writeScript(const char *cmd, const char *script)
+@@ -291,7 +291,7 @@ static char * writeScript(const char *cmd, const char *script)
if (Ferror(fd))
goto exit;
@@ -26,7 +26,7 @@ index 2b0e43862..e319673f1 100644
static const char set_x[] = "set -x\n";
/* Assume failures will be caught by the write below */
Fwrite(set_x, sizeof(set_x[0]), sizeof(set_x)-1, fd);
-@@ -258,7 +258,7 @@ static rpmRC runExtScript(rpmPlugins plugins, ARGV_const_t prefixes,
+@@ -323,7 +323,7 @@ static rpmRC runExtScript(rpmPlugins plugins, ARGV_const_t prefixes,
char *mline = NULL;
rpmRC rc = RPMRC_FAIL;
@@ -35,7 +35,7 @@ index 2b0e43862..e319673f1 100644
if (script) {
fn = writeScript(*argvp[0], script);
-@@ -310,7 +310,7 @@ static rpmRC runExtScript(rpmPlugins plugins, ARGV_const_t prefixes,
+@@ -375,7 +375,7 @@ static rpmRC runExtScript(rpmPlugins plugins, ARGV_const_t prefixes,
sname, strerror(errno));
goto exit;
} else if (pid == 0) {/* Child */
@@ -44,7 +44,7 @@ index 2b0e43862..e319673f1 100644
sname, *argvp[0], (unsigned)getpid());
fclose(in);
-@@ -353,7 +353,7 @@ static rpmRC runExtScript(rpmPlugins plugins, ARGV_const_t prefixes,
+@@ -418,7 +418,7 @@ static rpmRC runExtScript(rpmPlugins plugins, ARGV_const_t prefixes,
reaped = waitpid(pid, &status, 0);
} while (reaped == -1 && errno == EINTR);
diff --git a/meta/recipes-devtools/rpm/files/environment.d-rpm.sh b/meta/recipes-devtools/rpm/files/environment.d-rpm.sh
deleted file mode 100644
index 9b669a18d1..0000000000
--- a/meta/recipes-devtools/rpm/files/environment.d-rpm.sh
+++ /dev/null
@@ -1 +0,0 @@
-export RPM_CONFIGDIR="$OECORE_NATIVE_SYSROOT/usr/lib/rpm"
diff --git a/meta/recipes-devtools/rpm/rpm_4.16.0.bb b/meta/recipes-devtools/rpm/rpm_4.16.0.bb
deleted file mode 100644
index 4125f3f9d0..0000000000
--- a/meta/recipes-devtools/rpm/rpm_4.16.0.bb
+++ /dev/null
@@ -1,165 +0,0 @@
-SUMMARY = "The RPM package management system"
-DESCRIPTION = "The RPM Package Manager (RPM) is a powerful command line driven \
-package management system capable of installing, uninstalling, \
-verifying, querying, and updating software packages. Each software \
-package consists of an archive of files along with information about \
-the package like its version, a description, etc."
-
-SUMMARY_${PN}-dev = "Development files for manipulating RPM packages"
-DESCRIPTION_${PN}-dev = "This package contains the RPM C library and header files. These \
-development files will simplify the process of writing programs that \
-manipulate RPM packages and databases. These files are intended to \
-simplify the process of creating graphical package managers or any \
-other tools that need an intimate knowledge of RPM packages in order \
-to function."
-
-SUMMARY_python3-rpm = "Python bindings for apps which will manupulate RPM packages"
-DESCRIPTION_python3-rpm = "The python3-rpm package contains a module that permits applications \
-written in the Python programming language to use the interface \
-supplied by the RPM Package Manager libraries."
-
-HOMEPAGE = "http://www.rpm.org"
-
-# libraries are also LGPL - how to express this?
-LICENSE = "GPL-2.0"
-LIC_FILES_CHKSUM = "file://COPYING;md5=c4eec0c20c6034b9407a09945b48a43f"
-
-SRC_URI = "git://github.com/rpm-software-management/rpm;branch=rpm-4.16.x \
- file://environment.d-rpm.sh \
- file://0001-Do-not-add-an-unsatisfiable-dependency-when-building.patch \
- file://0001-Do-not-read-config-files-from-HOME.patch \
- file://0001-When-cross-installing-execute-package-scriptlets-wit.patch \
- file://0001-Do-not-reset-the-PATH-environment-variable-before-ru.patch \
- file://0002-Add-support-for-prefixing-etc-from-RPM_ETCCONFIGDIR-.patch \
- file://0001-Do-not-hardcode-lib-rpm-as-the-installation-path-for.patch \
- file://0001-Fix-build-with-musl-C-library.patch \
- file://0001-Add-a-color-setting-for-mips64_n32-binaries.patch \
- file://0011-Do-not-require-that-ELF-binaries-are-executable-to-b.patch \
- file://0001-perl-disable-auto-reqs.patch \
- file://0001-rpm-rpmio.c-restrict-virtual-memory-usage-if-limit-s.patch \
- file://0016-rpmscript.c-change-logging-level-around-scriptlets-t.patch \
- file://0001-lib-transaction.c-fix-file-conflicts-for-MIPS64-N32.patch \
- file://0001-rpmdb.c-add-a-missing-include.patch \
- file://0001-tools-Add-error.h-for-non-glibc-case.patch \
- "
-
-PE = "1"
-SRCREV = "cd7f9303ef1070f027493cad7d00bc66935af2a0"
-
-S = "${WORKDIR}/git"
-
-DEPENDS = "libgcrypt db file popt xz bzip2 elfutils python3"
-DEPENDS_append_class-native = " file-replacement-native bzip2-replacement-native"
-
-inherit autotools gettext pkgconfig python3native
-export PYTHON_ABI
-
-AUTOTOOLS_AUXDIR = "${S}/build-aux"
-
-# OE-core patches autoreconf to additionally run gnu-configize, which fails with this recipe
-EXTRA_AUTORECONF_append = " --exclude=gnu-configize"
-
-EXTRA_OECONF_append = " --without-lua --enable-python --with-crypto=libgcrypt"
-EXTRA_OECONF_append_libc-musl = " --disable-nls --disable-openmp"
-
-# --sysconfdir prevents rpm from attempting to access machine-specific configuration in sysroot/etc; we need to have it in rootfs
-# --localstatedir prevents rpm from writing its database to native sysroot when building images
-# Forcibly disable plugins for native/nativesdk, as the inhibit and prioreset
-# plugins both behave badly inside builds.
-EXTRA_OECONF_append_class-native = " --sysconfdir=/etc --localstatedir=/var --disable-plugins"
-EXTRA_OECONF_append_class-nativesdk = " --sysconfdir=/etc --disable-plugins"
-
-BBCLASSEXTEND = "native nativesdk"
-
-PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'inhibit', '', d)}"
-# The inhibit plugin serves no purpose outside of the target
-PACKAGECONFIG_remove_class-native = "inhibit"
-PACKAGECONFIG_remove_class-nativesdk = "inhibit"
-
-PACKAGECONFIG[imaevm] = "--with-imaevm,,ima-evm-utils"
-PACKAGECONFIG[inhibit] = "--enable-inhibit-plugin,--disable-inhibit-plugin,dbus"
-PACKAGECONFIG[rpm2archive] = "--with-archive,--without-archive,libarchive"
-
-ASNEEDED = ""
-
-# Direct rpm-native to read configuration from our sysroot, not the one it was compiled in
-# libmagic also has sysroot path contamination, so override it
-
-WRAPPER_TOOLS = " \
- ${bindir}/rpm \
- ${bindir}/rpm2archive \
- ${bindir}/rpm2cpio \
- ${bindir}/rpmbuild \
- ${bindir}/rpmdb \
- ${bindir}/rpmgraph \
- ${bindir}/rpmkeys \
- ${bindir}/rpmsign \
- ${bindir}/rpmspec \
- ${libdir}/rpm/rpmdeps \
-"
-
-do_configure_prepend() {
- mkdir -p ${S}/build-aux
-}
-
-do_install_append_class-native() {
- for tool in ${WRAPPER_TOOLS}; do
- test -x ${D}$tool && create_wrapper ${D}$tool \
- RPM_CONFIGDIR=${STAGING_LIBDIR_NATIVE}/rpm \
- RPM_ETCCONFIGDIR=${STAGING_DIR_NATIVE} \
- MAGIC=${STAGING_DIR_NATIVE}${datadir_native}/misc/magic.mgc \
- RPM_NO_CHROOT_FOR_SCRIPTS=1
- done
-}
-
-do_install_append_class-nativesdk() {
- for tool in ${WRAPPER_TOOLS}; do
- test -x ${D}$tool && create_wrapper ${D}$tool \
- RPM_CONFIGDIR='`dirname $''realpath`'/${@os.path.relpath(d.getVar('libdir'), d.getVar('bindir'))}/rpm \
- RPM_ETCCONFIGDIR='$'{RPM_ETCCONFIGDIR-'`dirname $''realpath`'/${@os.path.relpath(d.getVar('sysconfdir'), d.getVar('bindir'))}/..} \
- MAGIC='`dirname $''realpath`'/${@os.path.relpath(d.getVar('datadir'), d.getVar('bindir'))}/misc/magic.mgc \
- RPM_NO_CHROOT_FOR_SCRIPTS=1
- done
-
- rm -rf ${D}/var
-
- mkdir -p ${D}${SDKPATHNATIVE}/environment-setup.d
- install -m 644 ${WORKDIR}/environment.d-rpm.sh ${D}${SDKPATHNATIVE}/environment-setup.d/rpm.sh
-}
-
-# Rpm's make install creates var/tmp which clashes with base-files packaging
-do_install_append_class-target() {
- rm -rf ${D}/var
-}
-
-do_install_append () {
- sed -i -e 's:${HOSTTOOLS_DIR}/::g' \
- ${D}/${libdir}/rpm/macros
-
- sed -i -e 's|/usr/bin/python|${USRBINPATH}/env ${PYTHON_PN}|' \
- ${D}${libdir}/rpm/pythondistdeps.py
-}
-
-FILES_${PN} += "${libdir}/rpm-plugins/*.so \
- "
-FILES_${PN}_append_class-nativesdk = " ${SDKPATHNATIVE}/environment-setup.d/rpm.sh"
-
-FILES_${PN}-dev += "${libdir}/rpm-plugins/*.la \
- "
-
-PACKAGES += "python3-rpm"
-PROVIDES += "python3-rpm"
-FILES_python3-rpm = "${PYTHON_SITEPACKAGES_DIR}/rpm/*"
-
-# rpm 5.x was packaging the rpm build tools separately
-RPROVIDES_${PN} += "rpm-build"
-
-RDEPENDS_${PN} = "bash perl python3-core"
-
-PACKAGE_PREPROCESS_FUNCS += "rpm_package_preprocess"
-
-# Do not specify a sysroot when compiling on a target.
-rpm_package_preprocess () {
- sed -i -e 's:--sysroot[^ ]*::g' \
- ${PKGD}/${libdir}/rpm/macros
-}
diff --git a/meta/recipes-devtools/rpm/rpm_4.19.1.1.bb b/meta/recipes-devtools/rpm/rpm_4.19.1.1.bb
new file mode 100644
index 0000000000..0802f26295
--- /dev/null
+++ b/meta/recipes-devtools/rpm/rpm_4.19.1.1.bb
@@ -0,0 +1,197 @@
+SUMMARY = "The RPM package management system"
+DESCRIPTION = "The RPM Package Manager (RPM) is a powerful command line driven \
+package management system capable of installing, uninstalling, \
+verifying, querying, and updating software packages. Each software \
+package consists of an archive of files along with information about \
+the package like its version, a description, etc."
+
+SUMMARY:${PN}-dev = "Development files for manipulating RPM packages"
+DESCRIPTION:${PN}-dev = "This package contains the RPM C library and header files. These \
+development files will simplify the process of writing programs that \
+manipulate RPM packages and databases. These files are intended to \
+simplify the process of creating graphical package managers or any \
+other tools that need an intimate knowledge of RPM packages in order \
+to function."
+
+SUMMARY:python3-rpm = "Python bindings for apps which will manupulate RPM packages"
+DESCRIPTION:python3-rpm = "The python3-rpm package contains a module that permits applications \
+written in the Python programming language to use the interface \
+supplied by the RPM Package Manager libraries."
+
+HOMEPAGE = "http://www.rpm.org"
+
+# libraries are also LGPL - how to express this?
+LICENSE = "GPL-2.0-only"
+LIC_FILES_CHKSUM = "file://COPYING;md5=c4eec0c20c6034b9407a09945b48a43f"
+
+SRC_URI = "git://github.com/rpm-software-management/rpm;branch=rpm-4.19.x;protocol=https \
+ file://0001-Do-not-add-an-unsatisfiable-dependency-when-building.patch \
+ file://0001-Do-not-read-config-files-from-HOME.patch \
+ file://0001-When-cross-installing-execute-package-scriptlets-wit.patch \
+ file://0001-Do-not-reset-the-PATH-environment-variable-before-ru.patch \
+ file://0002-Add-support-for-prefixing-etc-from-RPM_ETCCONFIGDIR-.patch \
+ file://0001-Do-not-hardcode-lib-rpm-as-the-installation-path-for.patch \
+ file://0001-Add-a-color-setting-for-mips64_n32-binaries.patch \
+ file://0001-perl-disable-auto-reqs.patch \
+ file://0016-rpmscript.c-change-logging-level-around-scriptlets-t.patch \
+ file://0001-lib-transaction.c-fix-file-conflicts-for-MIPS64-N32.patch \
+ file://0001-build-pack.c-do-not-insert-payloadflags-into-.rpm-me.patch \
+ file://0001-CMakeLists.txt-look-for-lua-with-pkg-config-rather-t.patch \
+ file://0002-rpmio-rpmglob.c-avoid-using-GLOB_BRACE-if-undefined-.patch \
+ "
+
+PE = "1"
+SRCREV = "13b4521341781293c41ac898aa9c2d2f6bc1f21d"
+
+S = "${WORKDIR}/git"
+
+DEPENDS = "lua libgcrypt file popt xz bzip2 elfutils python3 sqlite3 zstd"
+DEPENDS:append:class-native = " file-replacement-native bzip2-replacement-native"
+
+EXTRA_OECMAKE:append = " -D__CURL:FILEPATH=curl"
+EXTRA_OECMAKE:append:libc-musl = " -DENABLE_NLS=OFF -DENABLE_OPENMP=OFF"
+
+# --sysconfdir prevents rpm from attempting to access machine-specific configuration in sysroot/etc; we need to have it in rootfs
+# --localstatedir prevents rpm from writing its database to native sysroot when building images
+EXTRA_OECMAKE:append:class-native = " -DCMAKE_INSTALL_SYSCONFDIR:PATH=/etc -DCMAKE_INSTALL_LOCALSTATEDIR:PATH=/var"
+EXTRA_OECMAKE:append:class-nativesdk = " -DCMAKE_INSTALL_SYSCONFDIR:PATH=/etc -DCMAKE_INSTALL_FULL_SYSCONFDIR=/etc"
+
+inherit cmake gettext pkgconfig python3targetconfig
+OECMAKE_GENERATOR = "Unix Makefiles"
+
+BBCLASSEXTEND = "native nativesdk"
+
+PACKAGECONFIG ??= "internal-openpgp"
+
+PACKAGECONFIG[plugins] = "-DENABLE_PLUGINS=ON,-DENABLE_PLUGINS=OFF"
+PACKAGECONFIG[testsuite] = "-DENABLE_TESTSUITE=ON,-DENABLE_TESTSUITE=OFF"
+
+# Deprecated! https://fedoraproject.org/wiki/Changes/RpmSequoia
+PACKAGECONFIG[internal-openpgp] = "-DWITH_INTERNAL_OPENPGP=ON,-DWITH_INTERNAL_OPENPGP=OFF"
+
+PACKAGECONFIG[cap] = "-DWITH_CAP=ON,-DWITH_CAP=OFF"
+PACKAGECONFIG[acl] = "-DWITH_ACL=ON,-DWITH_ACL=OFF"
+PACKAGECONFIG[archive] = "-DWITH_ARCHIVE=ON,-DWITH_ARCHIVE=OFF,libarchive"
+PACKAGECONFIG[selinux] = "-DWITH_SELINUX=ON,-DWITH_SELINUX=OFF,libselinux"
+PACKAGECONFIG[dbus] = "-DWITH_DBUS=ON,-DWITH_DBUS=OFF"
+PACKAGECONFIG[audit] = "-DWITH_AUDIT=ON,-DWITH_AUDIT=OFF,audit"
+PACKAGECONFIG[fsverity] = "-DWITH_FSVERITY=ON,-DWITH_FSVERITY=OFF"
+PACKAGECONFIG[imaevm] = "-DWITH_IMAEVM=ON,-DWITH_IMAEVM=OFF,ima-evm-utils"
+PACKAGECONFIG[fapolicyd] = "-DWITH_FAPOLICYD=ON,-DWITH_FAPOLICYD=OFF"
+PACKAGECONFIG[readline] = "-DWITH_READLINE=ON,-DWITH_READLINE=OFF,readline"
+
+# Direct rpm-native to read configuration from our sysroot, not the one it was compiled in
+# libmagic also has sysroot path contamination, so override it
+
+WRAPPER_TOOLS = " \
+ ${bindir}/rpm \
+ ${bindir}/rpm2archive \
+ ${bindir}/rpm2cpio \
+ ${bindir}/rpmbuild \
+ ${bindir}/rpmdb \
+ ${bindir}/rpmgraph \
+ ${bindir}/rpmkeys \
+ ${bindir}/rpmsign \
+ ${bindir}/rpmspec \
+ ${libdir}/rpm/rpmdeps \
+"
+
+do_install:append:class-native() {
+ for tool in ${WRAPPER_TOOLS}; do
+ test -x ${D}$tool && create_wrapper ${D}$tool \
+ RPM_CONFIGDIR=${STAGING_LIBDIR_NATIVE}/rpm \
+ RPM_ETCCONFIGDIR=${STAGING_DIR_NATIVE} \
+ MAGIC=${STAGING_DIR_NATIVE}${datadir_native}/misc/magic.mgc \
+ RPM_NO_CHROOT_FOR_SCRIPTS=1
+ done
+}
+
+do_install:append:class-nativesdk() {
+ rm -rf ${D}/var
+
+ mkdir -p ${D}${SDKPATHNATIVE}/environment-setup.d
+ cat <<- EOF > ${D}${SDKPATHNATIVE}/environment-setup.d/rpm.sh
+ export RPM_CONFIGDIR="${libdir}/rpm"
+ export RPM_ETCCONFIGDIR="${SDKPATHNATIVE}"
+ export RPM_NO_CHROOT_FOR_SCRIPTS=1
+ EOF
+}
+
+# Rpm's make install creates var/tmp which clashes with base-files packaging
+do_install:append:class-target() {
+ rm -rf ${D}/var
+}
+do_install:append:class-nativesdk() {
+ rm -rf ${D}${SDKPATHNATIVE}/var
+ # Ensure find-debuginfo is located correctly inside SDK
+ mkdir -p ${D}${libdir}/rpm
+ echo "%__find_debuginfo ${SDKPATHNATIVE}/usr/bin/find-debuginfo" >> ${D}${libdir}/rpm/macros
+}
+
+do_install:append () {
+ sed -i -e 's:${HOSTTOOLS_DIR}/::g' \
+ -e 's:${STAGING_DIR_NATIVE}/::g' \
+ ${D}/${libdir}/rpm/macros
+ sed -i -e 's:${RECIPE_SYSROOT}/::g' \
+ ${D}/${libdir}/cmake/rpm/rpm-targets.cmake
+
+}
+
+FILES:${PN} += "${libdir}/rpm-plugins/*.so \
+ "
+FILES:${PN}:append:class-nativesdk = " ${SDKPATHNATIVE}/environment-setup.d/rpm.sh"
+
+FILES:${PN}-dev += "${libdir}/rpm-plugins/*.la \
+ "
+PACKAGE_BEFORE_PN += "${PN}-build ${PN}-sign ${PN}-archive"
+
+RRECOMMENDS:${PN} += "rpm-sign rpm-archive"
+
+FILES:${PN}-build = "\
+ ${bindir}/rpmbuild \
+ ${bindir}/gendiff \
+ ${bindir}/rpmspec \
+ ${libdir}/librpmbuild.so.* \
+ ${libdir}/rpm/brp-* \
+ ${libdir}/rpm/check-* \
+ ${libdir}/rpm/sepdebugcrcfix \
+ ${libdir}/rpm/find-lang.sh \
+ ${libdir}/rpm/sysusers.sh \
+ ${libdir}/rpm/*provides* \
+ ${libdir}/rpm/*requires* \
+ ${libdir}/rpm/*deps* \
+ ${libdir}/rpm/*.prov \
+ ${libdir}/rpm/*.req \
+ ${libdir}/rpm/config.* \
+ ${libdir}/rpm/mkinstalldirs \
+ ${libdir}/rpm/macros.p* \
+ ${libdir}/rpm/fileattrs/* \
+"
+
+FILES:${PN}-sign = "\
+ ${bindir}/rpmsign \
+ ${libdir}/librpmsign.so.* \
+"
+
+FILES:${PN}-archive = "\
+ ${bindir}/rpm2archive \
+"
+
+PACKAGES += "python3-rpm"
+PROVIDES += "python3-rpm"
+FILES:python3-rpm = "${PYTHON_SITEPACKAGES_DIR}/rpm/* ${PYTHON_SITEPACKAGES_DIR}/rpm-*.egg-info"
+
+RDEPENDS:${PN}-build = "bash perl python3-core debugedit"
+
+PACKAGE_PREPROCESS_FUNCS += "rpm_package_preprocess"
+
+# Do not specify a sysroot when compiling on a target.
+rpm_package_preprocess () {
+ sed -i -e 's:--sysroot[^ ]*::g' \
+ ${PKGD}/${libdir}/rpm/macros
+}
+
+SSTATE_HASHEQUIV_FILEMAP = " \
+ populate_sysroot:*/rpm/macros:${TMPDIR} \
+ populate_sysroot:*/rpm/macros:${COREBASE} \
+ "
diff --git a/meta/recipes-devtools/rsync/files/0001-Add-missing-prototypes-to-function-declarations.patch b/meta/recipes-devtools/rsync/files/0001-Add-missing-prototypes-to-function-declarations.patch
new file mode 100644
index 0000000000..2379de84f2
--- /dev/null
+++ b/meta/recipes-devtools/rsync/files/0001-Add-missing-prototypes-to-function-declarations.patch
@@ -0,0 +1,170 @@
+From 2beb35c34c45320144f37b12ef4d72fb8734280e Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Mon, 29 Aug 2022 19:53:28 -0700
+Subject: [PATCH] Add missing prototypes to function declarations
+
+With Clang 15+ compiler -Wstrict-prototypes is triggering warnings which
+are turned into errors with -Werror, this fixes the problem by adding
+missing prototypes
+
+Fixes errors like
+| log.c:134:24: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
+| static void syslog_init()
+| ^
+| void
+
+Upstream-Status: Submitted [https://lists.samba.org/archive/rsync/2022-August/032858.html]
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ checksum.c | 2 +-
+ exclude.c | 2 +-
+ hlink.c | 3 +--
+ lib/pool_alloc.c | 2 +-
+ log.c | 2 +-
+ main.c | 2 +-
+ syscall.c | 4 ++--
+ zlib/crc32.c | 2 +-
+ zlib/trees.c | 2 +-
+ zlib/zutil.c | 4 ++--
+ 10 files changed, 12 insertions(+), 13 deletions(-)
+
+diff --git a/checksum.c b/checksum.c
+index cb21882..736818b 100644
+--- a/checksum.c
++++ b/checksum.c
+@@ -779,7 +779,7 @@ static void verify_digest(struct name_num_item *nni, BOOL check_auth_list)
+ }
+ #endif
+
+-void init_checksum_choices()
++void init_checksum_choices(void)
+ {
+ #if defined SUPPORT_XXH3 || defined USE_OPENSSL
+ struct name_num_item *nni;
+diff --git a/exclude.c b/exclude.c
+index 87edbcf..ae0de2f 100644
+--- a/exclude.c
++++ b/exclude.c
+@@ -363,7 +363,7 @@ void implied_include_partial_string(const char *s_start, const char *s_end)
+ memcpy(partial_string_buf, s_start, partial_string_len);
+ }
+
+-void free_implied_include_partial_string()
++void free_implied_include_partial_string(void)
+ {
+ if (partial_string_buf) {
+ if (partial_string_len)
+diff --git a/hlink.c b/hlink.c
+index 20291f2..5c26a6b 100644
+--- a/hlink.c
++++ b/hlink.c
+@@ -117,8 +117,7 @@ static void match_gnums(int32 *ndx_list, int ndx_count)
+ struct ht_int32_node *node = NULL;
+ int32 gnum, gnum_next;
+
+- qsort(ndx_list, ndx_count, sizeof ndx_list[0], (int (*)()) hlink_compare_gnum);
+-
++ qsort(ndx_list, ndx_count, sizeof ndx_list[0], (int (*)(const void *, const void *)) hlink_compare_gnum);
+ for (from = 0; from < ndx_count; from++) {
+ file = hlink_flist->sorted[ndx_list[from]];
+ gnum = F_HL_GNUM(file);
+diff --git a/lib/pool_alloc.c b/lib/pool_alloc.c
+index a1a7245..4eae062 100644
+--- a/lib/pool_alloc.c
++++ b/lib/pool_alloc.c
+@@ -9,7 +9,7 @@ struct alloc_pool
+ size_t size; /* extent size */
+ size_t quantum; /* allocation quantum */
+ struct pool_extent *extents; /* top extent is "live" */
+- void (*bomb)(); /* called if malloc fails */
++ void (*bomb)(const char *, const char *, int); /* called if malloc fails */
+ int flags;
+
+ /* statistical data */
+diff --git a/log.c b/log.c
+index e4ba1cc..8482b71 100644
+--- a/log.c
++++ b/log.c
+@@ -131,7 +131,7 @@ static void logit(int priority, const char *buf)
+ }
+ }
+
+-static void syslog_init()
++static void syslog_init(void)
+ {
+ int options = LOG_PID;
+
+diff --git a/main.c b/main.c
+index 0c60b86..4bc664a 100644
+--- a/main.c
++++ b/main.c
+@@ -246,7 +246,7 @@ void read_del_stats(int f)
+ stats.deleted_files += stats.deleted_specials = read_varint(f);
+ }
+
+-static void become_copy_as_user()
++static void become_copy_as_user(void)
+ {
+ char *gname;
+ uid_t uid;
+diff --git a/syscall.c b/syscall.c
+index d92074a..92ca86d 100644
+--- a/syscall.c
++++ b/syscall.c
+@@ -389,9 +389,9 @@ OFF_T do_lseek(int fd, OFF_T offset, int whence)
+ {
+ #ifdef HAVE_LSEEK64
+ #if !SIZEOF_OFF64_T
+- OFF_T lseek64();
++ OFF_T lseek64(int fd, OFF_T offset, int whence);
+ #else
+- off64_t lseek64();
++ off64_t lseek64(int fd, off64_t offset, int whence);
+ #endif
+ return lseek64(fd, offset, whence);
+ #else
+diff --git a/zlib/crc32.c b/zlib/crc32.c
+index 05733f4..50c6c02 100644
+--- a/zlib/crc32.c
++++ b/zlib/crc32.c
+@@ -187,7 +187,7 @@ local void write_table(out, table)
+ /* =========================================================================
+ * This function can be used by asm versions of crc32()
+ */
+-const z_crc_t FAR * ZEXPORT get_crc_table()
++const z_crc_t FAR * ZEXPORT get_crc_table(void)
+ {
+ #ifdef DYNAMIC_CRC_TABLE
+ if (crc_table_empty)
+diff --git a/zlib/trees.c b/zlib/trees.c
+index 9c66770..0d9047e 100644
+--- a/zlib/trees.c
++++ b/zlib/trees.c
+@@ -231,7 +231,7 @@ local void send_bits(s, value, length)
+ /* ===========================================================================
+ * Initialize the various 'constant' tables.
+ */
+-local void tr_static_init()
++local void tr_static_init(void)
+ {
+ #if defined(GEN_TREES_H) || !defined(STDC)
+ static int static_init_done = 0;
+diff --git a/zlib/zutil.c b/zlib/zutil.c
+index bbba7b2..61f8dc9 100644
+--- a/zlib/zutil.c
++++ b/zlib/zutil.c
+@@ -27,12 +27,12 @@ z_const char * const z_errmsg[10] = {
+ ""};
+
+
+-const char * ZEXPORT zlibVersion()
++const char * ZEXPORT zlibVersion(void)
+ {
+ return ZLIB_VERSION;
+ }
+
+-uLong ZEXPORT zlibCompileFlags()
++uLong ZEXPORT zlibCompileFlags(void)
+ {
+ uLong flags;
+
diff --git a/meta/recipes-devtools/rsync/files/determism.patch b/meta/recipes-devtools/rsync/files/determism.patch
new file mode 100644
index 0000000000..e3494fdded
--- /dev/null
+++ b/meta/recipes-devtools/rsync/files/determism.patch
@@ -0,0 +1,34 @@
+The Makefile calls awk on a "*.c" glob. The results of this glob are sorted
+but the order depends on the locale settings, particularly whether
+"util.c" and "util2.c" sort before or after each other. In en_US.UTF-8
+they sort one way, in C, they sort the other. The sorting order changes
+the output binaries. The behaviour also changes dependning on whether
+SHELL (/bin/sh) is dash or bash.
+
+Specify a C locale setting to be deterministic.
+
+Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
+Submitted: https://github.com/WayneD/rsync/pull/155
+
+Upstream-Status: Backport [ish, see below]
+
+After discussion upstream renamed util.c to util1.c which avoids the problem
+in a different way. This patch can be dropped when we upgrade to include:
+https://github.com/WayneD/rsync/commit/d3085f7add38a5cf833a0b31cb0637ff46c80f8d
+
+Index: rsync-3.2.3/Makefile.in
+===================================================================
+--- rsync-3.2.3.orig/Makefile.in
++++ rsync-3.2.3/Makefile.in
+@@ -26,6 +26,11 @@ MKDIR_P=@MKDIR_P@
+ VPATH=$(srcdir)
+ SHELL=/bin/sh
+
++# We use globbing in commands, need to be deterministic
++unexport LC_ALL
++LC_COLLATE=C
++export LC_COLLATE
++
+ .SUFFIXES:
+ .SUFFIXES: .c .o
+
diff --git a/meta/recipes-devtools/rsync/files/makefile-no-rebuild.patch b/meta/recipes-devtools/rsync/files/makefile-no-rebuild.patch
index 4ba7665280..0c9ce8b8e3 100644
--- a/meta/recipes-devtools/rsync/files/makefile-no-rebuild.patch
+++ b/meta/recipes-devtools/rsync/files/makefile-no-rebuild.patch
@@ -1,4 +1,4 @@
-From 1f29584e57f5fda09970c66f3b94f4720e09c1bb Mon Sep 17 00:00:00 2001
+From f446686c26c499e15ef17d495a93cfbc20e16090 Mon Sep 17 00:00:00 2001
From: Ross Burton <ross.burton@intel.com>
Date: Tue, 12 Apr 2016 15:51:54 +0100
Subject: [PATCH] rsync: remove upstream's rebuild logic
@@ -8,18 +8,17 @@ generally overcomplicated, and we ensure that autoreconf is invoked if required.
Upstream-Status: Inappropriate
Signed-off-by: Ross Burton <ross.burton@intel.com>
-
---
Makefile.in | 54 -----------------------------------------------------
1 file changed, 54 deletions(-)
diff --git a/Makefile.in b/Makefile.in
-index 672fcc4..c12d8d4 100644
+index a1253e5..a084935 100644
--- a/Makefile.in
+++ b/Makefile.in
-@@ -168,60 +168,6 @@ gen: conf proto.h man
- gensend: gen
- rsync -aic $(GENFILES) $${SAMBA_HOST-samba.org}:/home/ftp/pub/rsync/generated-files/
+@@ -192,60 +192,6 @@ gensend: gen
+ fi
+ rsync -aic $(GENFILES) git-version.h $${SAMBA_HOST-samba.org}:/home/ftp/pub/rsync/generated-files/ || true
-aclocal.m4: $(srcdir)/m4/*.m4
- aclocal -I $(srcdir)/m4
@@ -41,7 +40,7 @@ index 672fcc4..c12d8d4 100644
- else \
- echo "config.h.in has CHANGED."; \
- fi
-- @if test -f configure.sh.old -o -f config.h.in.old; then \
+- @if test -f configure.sh.old || test -f config.h.in.old; then \
- if test "$(MAKECMDGOALS)" = reconfigure; then \
- echo 'Continuing with "make reconfigure".'; \
- else \
diff --git a/meta/recipes-devtools/rsync/rsync_3.2.3.bb b/meta/recipes-devtools/rsync/rsync_3.3.0.bb
index b7205e5bde..a90d2887bd 100644
--- a/meta/recipes-devtools/rsync/rsync_3.2.3.bb
+++ b/meta/recipes-devtools/rsync/rsync_3.3.0.bb
@@ -1,23 +1,22 @@
SUMMARY = "File synchronization tool"
HOMEPAGE = "http://rsync.samba.org/"
+DESCRIPTION = "rsync is an open source utility that provides fast incremental file transfer."
BUGTRACKER = "http://rsync.samba.org/bugzilla.html"
SECTION = "console/network"
-# GPLv2+ (<< 3.0.0), GPLv3+ (>= 3.0.0)
+# GPL-2.0-or-later (<< 3.0.0), GPL-3.0-or-later (>= 3.0.0)
# Includes opennsh and xxhash dynamic link exception
-LICENSE = "GPLv3+"
-LIC_FILES_CHKSUM = "file://COPYING;md5=9e5a4f9b3a253d51520617aa54f8eb26"
+LICENSE = "GPL-3.0-or-later"
+LIC_FILES_CHKSUM = "file://COPYING;md5=24423708fe159c9d12be1ea29fcb18c7"
DEPENDS = "popt"
SRC_URI = "https://download.samba.org/pub/${BPN}/src/${BP}.tar.gz \
file://rsyncd.conf \
file://makefile-no-rebuild.patch \
+ file://determism.patch \
+ file://0001-Add-missing-prototypes-to-function-declarations.patch \
"
-
-SRC_URI[sha256sum] = "becc3c504ceea499f4167a260040ccf4d9f2ef9499ad5683c179a697146ce50e"
-
-# -16548 required for v3.1.3pre1. Already in v3.1.3.
-CVE_CHECK_WHITELIST += " CVE-2017-16548 "
+SRC_URI[sha256sum] = "7399e9a6708c32d678a72a63219e96f23be0be2336e50fd1348498d07041df90"
inherit autotools-brokensep
@@ -38,21 +37,31 @@ PACKAGECONFIG[zstd] = "--enable-zstd,--disable-zstd,zstd"
CACHED_CONFIGUREVARS += "rsync_cv_can_hardlink_special=yes rsync_cv_can_hardlink_symlink=yes"
EXTRA_OEMAKE = 'STRIP=""'
-EXTRA_OECONF = "--disable-simd --disable-md2man --disable-asm"
+EXTRA_OECONF = "--disable-md2man --with-nobody-group=nogroup"
+
+#| ./simd-checksum-x86_64.cpp: In function 'uint32_t get_checksum1_cpp(char*, int32_t)':
+#| ./simd-checksum-x86_64.cpp:89:52: error: multiversioning needs 'ifunc' which is not supported on this target
+#| 89 | __attribute__ ((target("default"))) MVSTATIC int32 get_checksum1_avx2_64(schar* buf, int32 len, int32 i, uint32* ps1, uint32* ps2) { return i; }
+#| | ^~~~~~~~~~~~~~~~~~~~~
+#| ./simd-checksum-x86_64.cpp:480:1: error: use of multiversioned function without a default
+#| 480 | }
+#| | ^
+#| If you can't fix the issue, re-run ./configure with --disable-roll-simd.
+EXTRA_OECONF:append:libc-musl = " --disable-roll-simd"
# rsync 3.0 uses configure.sh instead of configure, and
# makefile checks the existence of configure.sh
-do_configure_prepend () {
+do_configure:prepend () {
rm -f ${S}/configure ${S}/configure.sh
}
-do_configure_append () {
+do_configure:append () {
cp -f ${S}/configure ${S}/configure.sh
}
-do_install_append() {
+do_install:append() {
install -d ${D}${sysconfdir}
- install -m 0644 ${WORKDIR}/rsyncd.conf ${D}${sysconfdir}
+ install -m 0644 ${UNPACKDIR}/rsyncd.conf ${D}${sysconfdir}
}
BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/ruby/ruby.inc b/meta/recipes-devtools/ruby/ruby.inc
deleted file mode 100644
index a38b3fe624..0000000000
--- a/meta/recipes-devtools/ruby/ruby.inc
+++ /dev/null
@@ -1,40 +0,0 @@
-SUMMARY = "An interpreter of object-oriented scripting language"
-DESCRIPTION = "Ruby is an interpreted scripting language for quick \
-and easy object-oriented programming. It has many features to process \
-text files and to do system management tasks (as in Perl). \
-It is simple, straight-forward, and extensible. \
-"
-HOMEPAGE = "http://www.ruby-lang.org/"
-SECTION = "devel/ruby"
-LICENSE = "Ruby | BSD-2-Clause | BSD-3-Clause | GPLv2 | ISC | MIT"
-LIC_FILES_CHKSUM = "\
- file://COPYING;md5=5b8c87559868796979806100db3f3805 \
- file://BSDL;md5=19aaf65c88a40b508d17ae4be539c4b5\
- file://GPL;md5=b234ee4d69f5fce4486a80fdaf4a4263\
- file://LEGAL;md5=2b6d62dc0d608f34d510ca3f428110ec \
-"
-
-DEPENDS = "ruby-native zlib openssl tcl libyaml gdbm readline libffi"
-DEPENDS_class-native = "openssl-native libyaml-native readline-native zlib-native"
-
-SHRT_VER = "${@oe.utils.trim_version("${PV}", 2)}"
-SRC_URI = "http://cache.ruby-lang.org/pub/ruby/${SHRT_VER}/ruby-${PV}.tar.gz \
- file://0001-extmk-fix-cross-compilation-of-external-gems.patch \
- file://0002-Obey-LDFLAGS-for-the-link-of-libruby.patch \
- "
-UPSTREAM_CHECK_URI = "https://www.ruby-lang.org/en/downloads/"
-
-inherit autotools ptest
-
-
-# This snippet lets compiled extensions which rely on external libraries,
-# such as zlib, compile properly. If we don't do this, then when extmk.rb
-# runs, it uses the native libraries instead of the target libraries, and so
-# none of the linking operations succeed -- which makes extconf.rb think
-# that the libraries aren't available and hence that the extension can't be
-# built.
-
-do_configure_prepend() {
- sed -i "s#%%TARGET_CFLAGS%%#$CFLAGS#; s#%%TARGET_LDFLAGS%%#$LDFLAGS#" ${S}/common.mk
- rm -rf ${S}/ruby/
-}
diff --git a/meta/recipes-devtools/ruby/ruby/0001-Modify-shebang-of-libexec-y2racc-and-libexec-racc2y.patch b/meta/recipes-devtools/ruby/ruby/0001-Modify-shebang-of-libexec-y2racc-and-libexec-racc2y.patch
deleted file mode 100644
index f316bed7bd..0000000000
--- a/meta/recipes-devtools/ruby/ruby/0001-Modify-shebang-of-libexec-y2racc-and-libexec-racc2y.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From eed7bc855fd8d232d4d203cc9027dd07cee8eca2 Mon Sep 17 00:00:00 2001
-From: Wang Mingyu <wangmy@cn.fujitsu.com>
-Date: Sat, 8 Feb 2020 15:16:14 +0800
-Subject: [PATCH] Modify shebang of libexec/y2racc and libexec/racc2y.
-
-change /usr/local/bin/ruby to /usr/bin/env ruby.
-
-Upstream-Status: Pending
-
-Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
----
- libexec/racc2y | 2 +-
- libexec/y2racc | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/libexec/racc2y b/libexec/racc2y
-index f88d73ed2c..74e49cfa21 100755
---- a/libexec/racc2y
-+++ b/libexec/racc2y
-@@ -1,4 +1,4 @@
--#!/usr/local/bin/ruby
-+#!/usr/bin/env ruby
- #
- # $Id$
- #
-diff --git a/libexec/y2racc b/libexec/y2racc
-index 7933f94153..36daf864e1 100755
---- a/libexec/y2racc
-+++ b/libexec/y2racc
-@@ -1,4 +1,4 @@
--#!/usr/local/bin/ruby
-+#!/usr/bin/env ruby
- #
- # $Id$
- #
---
-2.17.1
-
diff --git a/meta/recipes-devtools/ruby/ruby/0001-extmk-fix-cross-compilation-of-external-gems.patch b/meta/recipes-devtools/ruby/ruby/0001-extmk-fix-cross-compilation-of-external-gems.patch
index 2e3156880e..7402e76333 100644
--- a/meta/recipes-devtools/ruby/ruby/0001-extmk-fix-cross-compilation-of-external-gems.patch
+++ b/meta/recipes-devtools/ruby/ruby/0001-extmk-fix-cross-compilation-of-external-gems.patch
@@ -1,7 +1,7 @@
-From a6e12b25a54d112c899b70c89c0bec9c5e5ebf3c Mon Sep 17 00:00:00 2001
+From caa03f46a3204a7e0f0e5d9d9cc9113304dc0382 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.draszik@jci.com>
Date: Mon, 30 Sep 2019 16:57:01 +0100
-Subject: [PATCH 1/3] extmk: fix cross-compilation of external gems
+Subject: [PATCH] extmk: fix cross-compilation of external gems
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
@@ -16,10 +16,10 @@ Signed-off-by: André Draszik <andre.draszik@jci.com>
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ext/extmk.rb b/ext/extmk.rb
-index 1389dc4117..e4d923d7a7 100755
+index 428ffc9..87eff71 100755
--- a/ext/extmk.rb
+++ b/ext/extmk.rb
-@@ -413,8 +413,8 @@ def $mflags.defined?(var)
+@@ -420,8 +420,8 @@ else
end
$ruby = [$ruby]
$ruby << "-I'$(topdir)'"
@@ -29,6 +29,3 @@ index 1389dc4117..e4d923d7a7 100755
$ruby << "-I'$(extout)/$(arch)'" << "-I'$(extout)/common'" if $extout
ENV["RUBYLIB"] = "-"
end
---
-2.23.0.rc1
-
diff --git a/meta/recipes-devtools/ruby/ruby/0001-vm_dump.c-Define-REG_S1-and-REG_S2-for-musl-riscv.patch b/meta/recipes-devtools/ruby/ruby/0001-vm_dump.c-Define-REG_S1-and-REG_S2-for-musl-riscv.patch
new file mode 100644
index 0000000000..67054d6553
--- /dev/null
+++ b/meta/recipes-devtools/ruby/ruby/0001-vm_dump.c-Define-REG_S1-and-REG_S2-for-musl-riscv.patch
@@ -0,0 +1,31 @@
+From 980dcc5380db6f03451357140ae1487117300156 Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Tue, 25 Jan 2022 20:29:14 -0800
+Subject: [PATCH] vm_dump.c: Define REG_S1 and REG_S2 for musl/riscv
+
+These defines are missing in musl, there is a possible
+patch to add them to musl, but we need a full list of
+these names for mcontext that can be added once for all
+
+Upstream-Status: Inappropriate [musl bug]
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ vm_dump.c | 5 +++++
+ 1 file changed, 5 insertions(+)
+
+diff --git a/vm_dump.c b/vm_dump.c
+index 444be4a..8a081a7 100644
+--- a/vm_dump.c
++++ b/vm_dump.c
+@@ -39,6 +39,11 @@
+
+ #define MAX_POSBUF 128
+
++#if defined(__riscv) && !defined(__GLIBC__)
++# define REG_S1 9
++# define REG_S2 18
++#endif
++
+ #define VM_CFP_CNT(ec, cfp) \
+ ((rb_control_frame_t *)((ec)->vm_stack + (ec)->vm_stack_size) - \
+ (rb_control_frame_t *)(cfp))
diff --git a/meta/recipes-devtools/ruby/ruby/0002-Obey-LDFLAGS-for-the-link-of-libruby.patch b/meta/recipes-devtools/ruby/ruby/0002-Obey-LDFLAGS-for-the-link-of-libruby.patch
index b31dee1128..f3a65e785d 100644
--- a/meta/recipes-devtools/ruby/ruby/0002-Obey-LDFLAGS-for-the-link-of-libruby.patch
+++ b/meta/recipes-devtools/ruby/ruby/0002-Obey-LDFLAGS-for-the-link-of-libruby.patch
@@ -1,7 +1,7 @@
-From 6d608326970b1613633d7715ebb7d628dfcd16ee Mon Sep 17 00:00:00 2001
+From 7f7facb85bd65adec24230fe8ca7f6a9863a1fd0 Mon Sep 17 00:00:00 2001
From: Christopher Larson <chris_larson@mentor.com>
Date: Thu, 5 May 2016 10:59:07 -0700
-Subject: [PATCH 2/3] Obey LDFLAGS for the link of libruby
+Subject: [PATCH] Obey LDFLAGS for the link of libruby
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Upstream-Status: Pending
@@ -10,18 +10,15 @@ Upstream-Status: Pending
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/template/Makefile.in b/template/Makefile.in
-index fa1e19ef37..bbd07fa34b 100644
+index 8c462f2..2200c8c 100644
--- a/template/Makefile.in
+++ b/template/Makefile.in
-@@ -109,7 +109,7 @@ MISSING = @LIBOBJS@ @ALLOCA@
- ENABLE_SHARED = @ENABLE_SHARED@
+@@ -115,7 +115,7 @@ ENABLE_SHARED = @ENABLE_SHARED@
LDSHARED = @LIBRUBY_LDSHARED@
DLDSHARED = @DLDSHARED@
+ XDLDFLAGS = @DLDFLAGS@
-DLDFLAGS = @LIBRUBY_DLDFLAGS@ $(XLDFLAGS) $(ARCH_FLAG)
+DLDFLAGS = @LIBRUBY_DLDFLAGS@ @LDFLAGS@ $(XLDFLAGS) $(ARCH_FLAG)
SOLIBS = @SOLIBS@
ENABLE_DEBUG_ENV = @ENABLE_DEBUG_ENV@
MAINLIBS = @MAINLIBS@
---
-2.23.0.rc1
-
diff --git a/meta/recipes-devtools/ruby/ruby/0003-rdoc-build-reproducible-documentation.patch b/meta/recipes-devtools/ruby/ruby/0003-rdoc-build-reproducible-documentation.patch
new file mode 100644
index 0000000000..e2d5b57c25
--- /dev/null
+++ b/meta/recipes-devtools/ruby/ruby/0003-rdoc-build-reproducible-documentation.patch
@@ -0,0 +1,37 @@
+From 5079e678ce2a81416088c04f9123cd8207d5def2 Mon Sep 17 00:00:00 2001
+From: Christian Hofstaedtler <zeha@debian.org>
+Date: Tue, 10 Oct 2017 15:04:34 -0300
+Subject: [PATCH] rdoc: build reproducible documentation
+
+- provide a fixed timestamp to the gzip compression
+
+Upstream-Status: Backport [debian]
+
+Signed-off-by: Antonio Terceiro <terceiro@debian.org>
+Signed-off-by: Christian Hofstaedtler <zeha@debian.org>
+---
+ lib/rdoc/generator/json_index.rb | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/lib/rdoc/generator/json_index.rb b/lib/rdoc/generator/json_index.rb
+index c454910..24feab0 100644
+--- a/lib/rdoc/generator/json_index.rb
++++ b/lib/rdoc/generator/json_index.rb
+@@ -178,7 +178,7 @@ class RDoc::Generator::JsonIndex
+ debug_msg "Writing gzipped search index to %s" % outfile
+
+ Zlib::GzipWriter.open(outfile) do |gz|
+- gz.mtime = File.mtime(search_index_file)
++ gz.mtime = -1
+ gz.orig_name = search_index_file.basename.to_s
+ gz.write search_index
+ gz.close
+@@ -196,7 +196,7 @@ class RDoc::Generator::JsonIndex
+ debug_msg "Writing gzipped file to %s" % outfile
+
+ Zlib::GzipWriter.open(outfile) do |gz|
+- gz.mtime = File.mtime(dest)
++ gz.mtime = -1
+ gz.orig_name = dest.basename.to_s
+ gz.write data
+ gz.close
diff --git a/meta/recipes-devtools/ruby/ruby/0004-lib-mkmf.rb-sort-list-of-object-files-in-generated-M.patch b/meta/recipes-devtools/ruby/ruby/0004-lib-mkmf.rb-sort-list-of-object-files-in-generated-M.patch
new file mode 100644
index 0000000000..b14a731cfb
--- /dev/null
+++ b/meta/recipes-devtools/ruby/ruby/0004-lib-mkmf.rb-sort-list-of-object-files-in-generated-M.patch
@@ -0,0 +1,31 @@
+From 99734381652602f76075017576a819c427ebb5f2 Mon Sep 17 00:00:00 2001
+From: Reiner Herrmann <reiner@reiner-h.de>
+Date: Tue, 10 Oct 2017 15:06:13 -0300
+Subject: [PATCH] lib/mkmf.rb: sort list of object files in generated Makefile
+
+Without sorting the list explicitly, its order is indeterministic,
+because readdir() is also not deterministic.
+When the list of object files varies between builds, they are linked
+in a different order, which results in an unreproducible build.
+
+Upstream-Status: Backport [debian]
+
+Signed-off-by: Antonio Terceiro <terceiro@debian.org>
+Signed-off-by: Reiner Herrmann <reiner@reiner-h.de>
+---
+ lib/mkmf.rb | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/lib/mkmf.rb b/lib/mkmf.rb
+index 6da7dde..3af30a9 100644
+--- a/lib/mkmf.rb
++++ b/lib/mkmf.rb
+@@ -2368,7 +2368,7 @@ LOCAL_LIBS = #{$LOCAL_LIBS}
+ LIBS = #{$LIBRUBYARG} #{$libs} #{$LIBS}
+ ORIG_SRCS = #{orig_srcs.collect(&File.method(:basename)).join(' ')}
+ SRCS = $(ORIG_SRCS) #{(srcs - orig_srcs).collect(&File.method(:basename)).join(' ')}
+-OBJS = #{$objs.join(" ")}
++OBJS = #{$objs.sort.join(" ")}
+ HDRS = #{hdrs.map{|h| '$(srcdir)/' + File.basename(h)}.join(' ')}
+ LOCAL_HDRS = #{$headers.join(' ')}
+ TARGET = #{target}
diff --git a/meta/recipes-devtools/ruby/ruby/0005-Mark-Gemspec-reproducible-change-fixing-784225-too.patch b/meta/recipes-devtools/ruby/ruby/0005-Mark-Gemspec-reproducible-change-fixing-784225-too.patch
new file mode 100644
index 0000000000..24268625a2
--- /dev/null
+++ b/meta/recipes-devtools/ruby/ruby/0005-Mark-Gemspec-reproducible-change-fixing-784225-too.patch
@@ -0,0 +1,31 @@
+From 3bc324379aa3e322bad9353da8c0064cd671cc74 Mon Sep 17 00:00:00 2001
+From: Lucas Kanashiro <kanashiro@debian.org>
+Date: Fri, 1 Nov 2019 15:25:17 -0300
+Subject: [PATCH] Make gemspecs reproducible
+
+Without an explicit date, they will get the current date and make the
+build unreproducible
+
+Upstream-Status: Backport [debian]
+---
+ lib/rubygems/specification.rb | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/lib/rubygems/specification.rb b/lib/rubygems/specification.rb
+index a0c7faa..f0722d9 100644
+--- a/lib/rubygems/specification.rb
++++ b/lib/rubygems/specification.rb
+@@ -1774,7 +1774,9 @@ class Gem::Specification < Gem::BasicSpecification
+ raise(Gem::InvalidSpecificationException,
+ "invalid date format in specification: #{date.inspect}")
+ end
+- when Time, DateLike then
++ when Time then
++ Time.utc(date.utc.year, date.utc.month, date.utc.day)
++ when DateLike then
+ Time.utc(date.year, date.month, date.day)
+ else
+ TODAY
+--
+2.39.2
+
diff --git a/meta/recipes-devtools/ruby/ruby/0006-Make-gemspecs-reproducible.patch b/meta/recipes-devtools/ruby/ruby/0006-Make-gemspecs-reproducible.patch
new file mode 100644
index 0000000000..21604dfc34
--- /dev/null
+++ b/meta/recipes-devtools/ruby/ruby/0006-Make-gemspecs-reproducible.patch
@@ -0,0 +1,77 @@
+From 1dc7ef09c3c567c4adb09ccfd97e0e59c58edb9f Mon Sep 17 00:00:00 2001
+From: Lucas Kanashiro <kanashiro@debian.org>
+Date: Fri, 1 Nov 2019 15:25:17 -0300
+Subject: [PATCH] Make gemspecs reproducible
+
+Without an explicit date, they will get the current date and make the
+build unreproducible
+
+Upstream-Status: Backport [debian]
+---
+ ext/bigdecimal/bigdecimal.gemspec | 1 +
+ ext/fiddle/fiddle.gemspec | 1 +
+ ext/io/console/io-console.gemspec | 1 +
+ lib/ipaddr.gemspec | 1 +
+ lib/rdoc/rdoc.gemspec | 1 +
+ 5 files changed, 5 insertions(+)
+
+diff --git a/ext/bigdecimal/bigdecimal.gemspec b/ext/bigdecimal/bigdecimal.gemspec
+index f9f3b45..b9a469d 100644
+--- a/ext/bigdecimal/bigdecimal.gemspec
++++ b/ext/bigdecimal/bigdecimal.gemspec
+@@ -14,6 +14,7 @@ Gem::Specification.new do |s|
+ s.name = name
+ s.version = source_version
+ s.authors = ["Kenta Murata", "Zachary Scott", "Shigeo Kobayashi"]
++ s.date = RUBY_RELEASE_DATE
+ s.email = ["mrkn@mrkn.jp"]
+
+ s.summary = "Arbitrary-precision decimal floating-point number library."
+diff --git a/ext/fiddle/fiddle.gemspec b/ext/fiddle/fiddle.gemspec
+index 8781093..efdca32 100644
+--- a/ext/fiddle/fiddle.gemspec
++++ b/ext/fiddle/fiddle.gemspec
+@@ -8,6 +8,7 @@ end
+ Gem::Specification.new do |spec|
+ spec.name = "fiddle"
+ spec.version = version_module::Fiddle::VERSION
++ spec.date = RUBY_RELEASE_DATE
+ spec.authors = ["Aaron Patterson", "SHIBATA Hiroshi"]
+ spec.email = ["aaron@tenderlovemaking.com", "hsbt@ruby-lang.org"]
+
+diff --git a/ext/io/console/io-console.gemspec b/ext/io/console/io-console.gemspec
+index d4f5276..8f89611 100644
+--- a/ext/io/console/io-console.gemspec
++++ b/ext/io/console/io-console.gemspec
+@@ -4,6 +4,7 @@ _VERSION = "0.7.1"
+ Gem::Specification.new do |s|
+ s.name = "io-console"
+ s.version = _VERSION
++ s.date = RUBY_RELEASE_DATE
+ s.summary = "Console interface"
+ s.email = "nobu@ruby-lang.org"
+ s.description = "add console capabilities to IO instances."
+diff --git a/lib/ipaddr.gemspec b/lib/ipaddr.gemspec
+index 1f4798e..48743cf 100644
+--- a/lib/ipaddr.gemspec
++++ b/lib/ipaddr.gemspec
+@@ -18,6 +18,7 @@ end
+ Gem::Specification.new do |spec|
+ spec.name = "ipaddr"
+ spec.version = version
++ spec.date = RUBY_RELEASE_DATE
+ spec.authors = ["Akinori MUSHA", "Hajimu UMEMOTO"]
+ spec.email = ["knu@idaemons.org", "ume@mahoroba.org"]
+
+diff --git a/lib/rdoc/rdoc.gemspec b/lib/rdoc/rdoc.gemspec
+index 93a281c..cc5c155 100644
+--- a/lib/rdoc/rdoc.gemspec
++++ b/lib/rdoc/rdoc.gemspec
+@@ -7,6 +7,7 @@ end
+
+ Gem::Specification.new do |s|
+ s.name = "rdoc"
++ s.date = RUBY_RELEASE_DATE
+ s.version = RDoc::VERSION
+
+ s.authors = [
diff --git a/meta/recipes-devtools/ruby/ruby/remove_has_include_macros.patch b/meta/recipes-devtools/ruby/ruby/remove_has_include_macros.patch
deleted file mode 100644
index a1e6330445..0000000000
--- a/meta/recipes-devtools/ruby/ruby/remove_has_include_macros.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-Filter out __has_include* compiler defines
-
-They are internal to compiler and this header is later on includes in C
-files, but newer gcc >= 10 complains about it.
-
-error in initial header file:
-| In file included from /tmp/20200124-86625-14hiju4.c:1:
-| /tmp/20200124-86625-11y6l6i.h:13849:9: error: "__has_include" cannot be used as a macro name
-| 13849 | #define __has_include __has_include
-| | ^~~~~~~~~~~~~
-| compilation terminated due to -Wfatal-errors.
-
-Upstream-Status: Pending
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
-
---- a/common.mk
-+++ b/common.mk
-@@ -221,6 +221,8 @@ $(TIMESTAMPDIR)/$(MJIT_HEADER:.h=)$(MJIT
- $(TIMESTAMPDIR)/$(arch)/.time
- $(ECHO) building $(@F:.time=.h)
- $(Q) $(CPP) -DMJIT_HEADER $(MJIT_HEADER_FLAGS) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) $(srcdir)/vm.c $(CPPOUTFLAG)$(@F:.time=.h).new
-+ $(Q)sed -i -e "/#define __has_include __has_include/d" $(@F:.time=.h).new
-+ $(Q)sed -i -e "/#define __has_include_next __has_include_next/d" $(@F:.time=.h).new
- $(Q) $(IFCHANGE) "--timestamp=$@" $(@F:.time=.h) $(@F:.time=.h).new
-
- $(MJIT_HEADER:.h=)$(MJIT_HEADER_SUFFIX).h: $(TIMESTAMPDIR)/$(MJIT_HEADER:.h=)$(MJIT_HEADER_SUFFIX).time
diff --git a/meta/recipes-devtools/ruby/ruby_2.7.2.bb b/meta/recipes-devtools/ruby/ruby_2.7.2.bb
deleted file mode 100644
index 055ea9343f..0000000000
--- a/meta/recipes-devtools/ruby/ruby_2.7.2.bb
+++ /dev/null
@@ -1,92 +0,0 @@
-require ruby.inc
-
-DEPENDS_append_libc-musl = " libucontext"
-
-SRC_URI += " \
- file://remove_has_include_macros.patch \
- file://run-ptest \
- file://0001-Modify-shebang-of-libexec-y2racc-and-libexec-racc2y.patch \
- "
-
-SRC_URI[md5sum] = "2d4a28dcfa38352a627a597f6057c465"
-SRC_URI[sha256sum] = "6e5706d0d4ee4e1e2f883db9d768586b4d06567debea353c796ec45e8321c3d4"
-
-PACKAGECONFIG ??= ""
-PACKAGECONFIG += "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}"
-
-PACKAGECONFIG[valgrind] = "--with-valgrind=yes, --with-valgrind=no, valgrind"
-PACKAGECONFIG[gmp] = "--with-gmp=yes, --with-gmp=no, gmp"
-PACKAGECONFIG[ipv6] = "--enable-ipv6, --disable-ipv6,"
-
-EXTRA_OECONF = "\
- --disable-versioned-paths \
- --disable-rpath \
- --disable-dtrace \
- --enable-shared \
- --enable-load-relative \
- --with-pkg-config=pkg-config \
-"
-
-EXTRA_OECONF_append_libc-musl = "\
- LIBS='-lucontext' \
- ac_cv_func_isnan=yes \
- ac_cv_func_isinf=yes \
-"
-
-do_install() {
- oe_runmake 'DESTDIR=${D}' install
-}
-
-do_install_append_class-target () {
- # Find out rbconfig.rb from .installed.list
- rbconfig_rb=`grep rbconfig.rb ${B}/.installed.list`
- # Remove build host directories
- sed -i -e 's:--sysroot=${STAGING_DIR_TARGET}::g' \
- -e s:'--with-libtool-sysroot=${STAGING_DIR_TARGET}'::g \
- -e 's|${DEBUG_PREFIX_MAP}||g' \
- -e 's:${HOSTTOOLS_DIR}/::g' \
- -e 's:${RECIPE_SYSROOT_NATIVE}::g' \
- -e 's:${RECIPE_SYSROOT}::g' \
- -e 's:${BASE_WORKDIR}/${MULTIMACH_TARGET_SYS}::g' \
- ${D}$rbconfig_rb
-}
-
-do_install_ptest () {
- cp -rf ${S}/test ${D}${PTEST_PATH}/
-
- install -D ${S}/tool/test/runner.rb ${D}${PTEST_PATH}/tool/test/runner.rb
- cp -r ${S}/tool/lib ${D}${PTEST_PATH}/tool/
- mkdir -p ${D}${PTEST_PATH}/lib
- cp -r ${S}/lib/did_you_mean ${S}/lib/rdoc ${D}${PTEST_PATH}/lib
-
- # install test-binaries
- find $(find ./.ext -path '*/-test-') -name '*.so' -print0 \
- | tar --no-recursion --null -T - --no-same-owner --preserve-permissions -cf - \
- | tar -C ${D}${libdir}/ruby/${SHRT_VER}.0/ --no-same-owner --preserve-permissions --strip-components=2 -xf -
- # adjust path to not assume build directory layout
- sed -e 's|File.expand_path(.*\.\./bin/erb[^)]*|File.expand_path("${bindir}/erb"|g' \
- -i ${D}${PTEST_PATH}/test/erb/test_erb_command.rb
-
- cp -r ${S}/include ${D}/${libdir}/ruby/
- test_case_rb=`grep rubygems/test_case.rb ${B}/.installed.list`
- sed -i -e 's:../../../test/:../../../ptest/test/:g' ${D}/$test_case_rb
-}
-
-PACKAGES =+ "${PN}-ri-docs ${PN}-rdoc"
-
-SUMMARY_${PN}-ri-docs = "ri (Ruby Interactive) documentation for the Ruby standard library"
-RDEPENDS_${PN}-ri-docs = "${PN}"
-FILES_${PN}-ri-docs += "${datadir}/ri"
-
-SUMMARY_${PN}-rdoc = "RDoc documentation generator from Ruby source"
-RDEPENDS_${PN}-rdoc = "${PN}"
-FILES_${PN}-rdoc += "${libdir}/ruby/*/rdoc ${bindir}/rdoc"
-
-FILES_${PN} += "${datadir}/rubygems"
-
-FILES_${PN}-ptest_append_class-target = "\
- ${libdir}/ruby/include \
- ${libdir}/ruby/${SHRT_VER}.0/*/-test- \
-"
-
-BBCLASSEXTEND = "native"
diff --git a/meta/recipes-devtools/ruby/ruby_3.3.0.bb b/meta/recipes-devtools/ruby/ruby_3.3.0.bb
new file mode 100644
index 0000000000..657fc31b4d
--- /dev/null
+++ b/meta/recipes-devtools/ruby/ruby_3.3.0.bb
@@ -0,0 +1,140 @@
+SUMMARY = "An interpreter of object-oriented scripting language"
+DESCRIPTION = "Ruby is an interpreted scripting language for quick \
+and easy object-oriented programming. It has many features to process \
+text files and to do system management tasks (as in Perl). \
+It is simple, straight-forward, and extensible. \
+"
+HOMEPAGE = "http://www.ruby-lang.org/"
+SECTION = "devel/ruby"
+LICENSE = "Ruby | BSD-2-Clause | BSD-3-Clause | GPL-2.0-only | ISC | MIT"
+LIC_FILES_CHKSUM = "file://COPYING;md5=5b8c87559868796979806100db3f3805 \
+ file://BSDL;md5=8b50bc6de8f586dc66790ba11d064d75 \
+ file://GPL;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
+ file://LEGAL;md5=81e6a4d81533b9263da4c3485a0ad883 \
+ "
+
+DEPENDS = "zlib openssl libyaml libffi"
+DEPENDS:append:class-target = " ruby-native"
+DEPENDS:append:class-nativesdk = " ruby-native"
+
+SHRT_VER = "${@oe.utils.trim_version("${PV}", 2)}"
+SRC_URI = "http://cache.ruby-lang.org/pub/ruby/${SHRT_VER}/ruby-${PV}.tar.gz \
+ file://0001-extmk-fix-cross-compilation-of-external-gems.patch \
+ file://0002-Obey-LDFLAGS-for-the-link-of-libruby.patch \
+ file://run-ptest \
+ file://0003-rdoc-build-reproducible-documentation.patch \
+ file://0004-lib-mkmf.rb-sort-list-of-object-files-in-generated-M.patch \
+ file://0005-Mark-Gemspec-reproducible-change-fixing-784225-too.patch \
+ file://0006-Make-gemspecs-reproducible.patch \
+ file://0001-vm_dump.c-Define-REG_S1-and-REG_S2-for-musl-riscv.patch \
+ "
+UPSTREAM_CHECK_URI = "https://www.ruby-lang.org/en/downloads/"
+
+inherit autotools ptest pkgconfig
+
+
+# This snippet lets compiled extensions which rely on external libraries,
+# such as zlib, compile properly. If we don't do this, then when extmk.rb
+# runs, it uses the native libraries instead of the target libraries, and so
+# none of the linking operations succeed -- which makes extconf.rb think
+# that the libraries aren't available and hence that the extension can't be
+# built.
+
+do_configure:prepend() {
+ sed -i "s#%%TARGET_CFLAGS%%#$CFLAGS#; s#%%TARGET_LDFLAGS%%#$LDFLAGS#" ${S}/common.mk
+ rm -rf ${S}/ruby/
+}
+
+DEPENDS:append:libc-musl = " libucontext"
+
+SRC_URI[sha256sum] = "96518814d9832bece92a85415a819d4893b307db5921ae1f0f751a9a89a56b7d"
+
+PACKAGECONFIG ??= ""
+PACKAGECONFIG += "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}"
+
+PACKAGECONFIG[valgrind] = "--with-valgrind=yes, --with-valgrind=no, valgrind"
+PACKAGECONFIG[gmp] = "--with-gmp=yes, --with-gmp=no, gmp"
+PACKAGECONFIG[ipv6] = "--enable-ipv6, --disable-ipv6,"
+# rdoc is off by default due to non-reproducibility reported in
+# https://bugs.ruby-lang.org/issues/18456
+PACKAGECONFIG[rdoc] = "--enable-install-rdoc,--disable-install-rdoc,"
+
+EXTRA_OECONF = "\
+ --disable-versioned-paths \
+ --disable-rpath \
+ --disable-dtrace \
+ --enable-shared \
+ --enable-load-relative \
+ --with-pkg-config=pkg-config \
+ --with-static-linked-ext \
+"
+
+EXTRA_OECONF:append:libc-musl = "\
+ ac_cv_func_isnan=yes \
+ ac_cv_func_isinf=yes \
+"
+
+PARALLEL_MAKEINST = ""
+
+do_install:append:class-target () {
+ # Find out rbconfig.rb from .installed.list
+ rbconfig_rb=`grep rbconfig.rb ${B}/.installed.list`
+ # Remove build host directories
+ sed -i -e 's:--sysroot=${STAGING_DIR_TARGET}::g' \
+ -e s:'--with-libtool-sysroot=${STAGING_DIR_TARGET}'::g \
+ -e 's|${DEBUG_PREFIX_MAP}||g' \
+ -e 's:${HOSTTOOLS_DIR}/::g' \
+ -e 's:${RECIPE_SYSROOT_NATIVE}::g' \
+ -e 's:${RECIPE_SYSROOT}::g' \
+ -e 's:${BASE_WORKDIR}/${MULTIMACH_TARGET_SYS}::g' \
+ ${D}$rbconfig_rb
+
+ sed -i -e 's|${DEBUG_PREFIX_MAP}||g' \
+ ${D}${libdir}/pkgconfig/*.pc
+
+ # logs that may contain host-specific paths
+ find ${D} -name gem_make.out -delete
+}
+
+do_install_ptest () {
+ cp -rf ${S}/test ${D}${PTEST_PATH}/
+
+ install -D ${S}/tool/test/runner.rb ${D}${PTEST_PATH}/tool/test/runner.rb
+ cp -r ${S}/tool/lib ${D}${PTEST_PATH}/tool/
+ mkdir -p ${D}${PTEST_PATH}/lib
+ cp -r ${S}/lib/did_you_mean ${S}/lib/rdoc ${D}${PTEST_PATH}/lib
+
+ # install test-binaries
+ # These .so files have sporadic reproducibility fails as seen here:
+ # https://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20220107-rm1diuww/packages/diff-html/
+ # As they are needed only in ruby-ptest, and that is currently altogether disabled, let's take them out.
+ # If someone wants to look at where the non-determinism comes from, one possible reason is use of
+ # -rdynamic -Wl,-export-dynamic
+ #find $(find ./.ext -path '*/-test-') -name '*.so' -print0 \
+ # | tar --no-recursion --null -T - --no-same-owner --preserve-permissions -cf - \
+ # | tar -C ${D}${libdir}/ruby/${SHRT_VER}.0/ --no-same-owner --preserve-permissions --strip-components=2 -xf -
+ # adjust path to not assume build directory layout
+ sed -e 's|File.expand_path(.*\.\./bin/erb[^)]*|File.expand_path("${bindir}/erb"|g' \
+ -i ${D}${PTEST_PATH}/test/erb/test_erb_command.rb
+
+ cp -r ${S}/include ${D}/${libdir}/ruby/
+}
+
+PACKAGES =+ "${PN}-ri-docs ${PN}-rdoc"
+
+SUMMARY:${PN}-ri-docs = "ri (Ruby Interactive) documentation for the Ruby standard library"
+RDEPENDS:${PN}-ri-docs = "${PN}"
+FILES:${PN}-ri-docs += "${datadir}/ri"
+
+SUMMARY:${PN}-rdoc = "RDoc documentation generator from Ruby source"
+RDEPENDS:${PN}-rdoc = "${PN}"
+FILES:${PN}-rdoc += "${libdir}/ruby/*/rdoc ${bindir}/rdoc"
+
+FILES:${PN} += "${datadir}/rubygems"
+
+FILES:${PN}-ptest:append:class-target = "\
+ ${libdir}/ruby/include \
+ ${libdir}/ruby/${SHRT_VER}.0/*/-test- \
+"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts b/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts
index f84a7e18c8..1f3e692029 100755
--- a/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts
+++ b/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts
@@ -72,29 +72,34 @@ exec_postinst_scriptlets() {
else
echo "ERROR: postinst $i failed."
[ "$POSTINST_LOGGING" = "1" ] && eval echo "ERROR: postinst $i failed." $append_log
- remove_pi_dir=0
+ remove_rcsd_link=0
fi
done
}
-remove_pi_dir=1
+remove_rcsd_link=1
if $pm_installed; then
case $pm in
"ipk")
- eval opkg configure $append_log
+ if ! `fcntl-lock --wait 30 /run/opkg.lock true`; then
+ eval echo "Unable to obtain the opkg lock, deadlock?" $append_log
+ fi
+ if ! eval "opkg configure $append_log"; then
+ exit 1
+ fi
;;
"deb")
- eval dpkg --configure -a $append_log
+ if ! eval "eval dpkg --configure -a $append_log"; then
+ exit 1
+ fi
;;
esac
else
exec_postinst_scriptlets
fi
-# since all postinstalls executed successfully, remove the postinstalls directory
-# and the rcS.d link
-if [ $remove_pi_dir = 1 ]; then
- rm -rf $pi_dir
+# since all postinstalls executed successfully, remove the rcS.d link
+if [ $remove_rcsd_link = 1 ]; then
remove_rcsd_link
fi
diff --git a/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts.service b/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts.service
index 7f72f3388a..1ce19abcaf 100644
--- a/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts.service
+++ b/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts.service
@@ -1,13 +1,13 @@
[Unit]
Description=Run pending postinsts
DefaultDependencies=no
-After=systemd-remount-fs.service systemd-tmpfiles-setup.service tmp.mount
+After=systemd-remount-fs.service systemd-tmpfiles-setup.service tmp.mount ldconfig.service
Before=sysinit.target
[Service]
Type=oneshot
ExecStart=#SBINDIR#/run-postinsts
-ExecStartPost=#BASE_BINDIR#/systemctl --no-reload disable run-postinsts.service
+ExecStartPost=#BASE_BINDIR#/systemctl disable run-postinsts.service
RemainAfterExit=yes
TimeoutSec=0
diff --git a/meta/recipes-devtools/run-postinsts/run-postinsts_1.0.bb b/meta/recipes-devtools/run-postinsts/run-postinsts_1.0.bb
index 85b3fc867e..f571e61921 100644
--- a/meta/recipes-devtools/run-postinsts/run-postinsts_1.0.bb
+++ b/meta/recipes-devtools/run-postinsts/run-postinsts_1.0.bb
@@ -1,6 +1,6 @@
SUMMARY = "Runs postinstall scripts on first boot of the target device"
+DESCRIPTION = "${SUMMARY}"
SECTION = "devel"
-PR = "r10"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
@@ -8,14 +8,17 @@ SRC_URI = "file://run-postinsts \
file://run-postinsts.init \
file://run-postinsts.service"
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
inherit allarch systemd update-rc.d
+RDEPENDS:${PN} = "util-linux-fcntl-lock"
+
INITSCRIPT_NAME = "run-postinsts"
INITSCRIPT_PARAMS = "start 99 S ."
-SYSTEMD_SERVICE_${PN} = "run-postinsts.service"
+SYSTEMD_SERVICE:${PN} = "run-postinsts.service"
do_configure() {
:
@@ -27,18 +30,18 @@ do_compile () {
do_install() {
install -d ${D}${sbindir}
- install -m 0755 ${WORKDIR}/run-postinsts ${D}${sbindir}/
+ install -m 0755 ${S}/run-postinsts ${D}${sbindir}/
install -d ${D}${sysconfdir}/init.d/
- install -m 0755 ${WORKDIR}/run-postinsts.init ${D}${sysconfdir}/init.d/run-postinsts
+ install -m 0755 ${S}/run-postinsts.init ${D}${sysconfdir}/init.d/run-postinsts
- install -d ${D}${systemd_unitdir}/system/
- install -m 0644 ${WORKDIR}/run-postinsts.service ${D}${systemd_unitdir}/system/
+ install -d ${D}${systemd_system_unitdir}/
+ install -m 0644 ${S}/run-postinsts.service ${D}${systemd_system_unitdir}/
sed -i -e 's:#SYSCONFDIR#:${sysconfdir}:g' \
-e 's:#SBINDIR#:${sbindir}:g' \
-e 's:#BASE_BINDIR#:${base_bindir}:g' \
-e 's:#LOCALSTATEDIR#:${localstatedir}:g' \
${D}${sbindir}/run-postinsts \
- ${D}${systemd_unitdir}/system/run-postinsts.service
+ ${D}${systemd_system_unitdir}/run-postinsts.service
}
diff --git a/meta/recipes-devtools/rust/README-rust.md b/meta/recipes-devtools/rust/README-rust.md
new file mode 100644
index 0000000000..209836ab65
--- /dev/null
+++ b/meta/recipes-devtools/rust/README-rust.md
@@ -0,0 +1,38 @@
+## Introduction
+
+This provides the Rust compiler, tools for building packages (cargo), and
+a few example projects.
+
+## Building a rust package
+
+When building a rust package in bitbake, it's usually easiest to build with
+cargo using cargo.bbclass. If the package already has a Cargo.toml file (most
+rust packages do), then it's especially easy. Otherwise you should probably
+get the code building in cargo first.
+
+Once your package builds in cargo, you can use
+[cargo-bitbake](https://github.com/cardoe/cargo-bitbake) to generate a bitbake
+recipe for it. This allows bitbake to fetch all the necessary dependent
+crates, as well as a pegged version of the crates.io index, to ensure maximum
+reproducibility. Once the Rust SDK support is added to oe-core, cargo-bitbake
+may also be added to the SDK.
+
+NOTE: You will have to edit the generated recipe based on the comments
+contained within it
+
+## Pitfalls
+
+ - TARGET_SYS _must_ be different from BUILD_SYS. This is due to the way Rust
+ configuration options are tracked for different targets. This is the reason
+ we use the Yocto triples instead of the native Rust triples. See rust-lang/cargo#3349.
+
+## Dependencies
+
+On the host:
+ - Any `-sys` packages your project might need must have RDEPENDs for
+ the native library.
+
+On the target:
+ - Any `-sys` packages your project might need must have RDEPENDs for
+ the native library.
+
diff --git a/meta/recipes-devtools/rust/cargo-c-crates.inc b/meta/recipes-devtools/rust/cargo-c-crates.inc
new file mode 100644
index 0000000000..f6da3e654e
--- /dev/null
+++ b/meta/recipes-devtools/rust/cargo-c-crates.inc
@@ -0,0 +1,654 @@
+# Autogenerated with 'bitbake -c update_crates cargo-c-native'
+
+# from Cargo.lock
+SRC_URI += " \
+ crate://crates.io/adler/1.0.2 \
+ crate://crates.io/ahash/0.8.7 \
+ crate://crates.io/aho-corasick/1.1.2 \
+ crate://crates.io/allocator-api2/0.2.16 \
+ crate://crates.io/anstream/0.6.11 \
+ crate://crates.io/anstyle/1.0.6 \
+ crate://crates.io/anstyle-parse/0.2.3 \
+ crate://crates.io/anstyle-query/1.0.2 \
+ crate://crates.io/anstyle-wincon/3.0.2 \
+ crate://crates.io/anyhow/1.0.79 \
+ crate://crates.io/arc-swap/1.6.0 \
+ crate://crates.io/autocfg/1.1.0 \
+ crate://crates.io/base16ct/0.2.0 \
+ crate://crates.io/base64/0.21.7 \
+ crate://crates.io/base64ct/1.6.0 \
+ crate://crates.io/bitflags/1.3.2 \
+ crate://crates.io/bitflags/2.4.2 \
+ crate://crates.io/bitmaps/2.1.0 \
+ crate://crates.io/block-buffer/0.10.4 \
+ crate://crates.io/bstr/1.9.0 \
+ crate://crates.io/btoi/0.4.3 \
+ crate://crates.io/bumpalo/3.14.0 \
+ crate://crates.io/bytes/1.5.0 \
+ crate://crates.io/bytesize/1.3.0 \
+ crate://crates.io/cargo/0.77.0 \
+ crate://crates.io/cargo-credential/0.4.2 \
+ crate://crates.io/cargo-credential-libsecret/0.4.2 \
+ crate://crates.io/cargo-credential-macos-keychain/0.4.2 \
+ crate://crates.io/cargo-credential-wincred/0.4.2 \
+ crate://crates.io/cargo-platform/0.1.7 \
+ crate://crates.io/cargo-util/0.2.9 \
+ crate://crates.io/cbindgen/0.26.0 \
+ crate://crates.io/cc/1.0.83 \
+ crate://crates.io/cfg-if/1.0.0 \
+ crate://crates.io/clap/4.5.0 \
+ crate://crates.io/clap_builder/4.5.0 \
+ crate://crates.io/clap_derive/4.5.0 \
+ crate://crates.io/clap_lex/0.7.0 \
+ crate://crates.io/clru/0.6.1 \
+ crate://crates.io/color-print/0.3.5 \
+ crate://crates.io/color-print-proc-macro/0.3.5 \
+ crate://crates.io/colorchoice/1.0.0 \
+ crate://crates.io/const-oid/0.9.6 \
+ crate://crates.io/core-foundation/0.9.4 \
+ crate://crates.io/core-foundation-sys/0.8.6 \
+ crate://crates.io/cpufeatures/0.2.12 \
+ crate://crates.io/crates-io/0.39.2 \
+ crate://crates.io/crc32fast/1.3.2 \
+ crate://crates.io/crossbeam-channel/0.5.11 \
+ crate://crates.io/crossbeam-deque/0.8.5 \
+ crate://crates.io/crossbeam-epoch/0.9.18 \
+ crate://crates.io/crossbeam-utils/0.8.19 \
+ crate://crates.io/crypto-bigint/0.5.5 \
+ crate://crates.io/crypto-common/0.1.6 \
+ crate://crates.io/ct-codecs/1.1.1 \
+ crate://crates.io/curl/0.4.45 \
+ crate://crates.io/curl-sys/0.4.72+curl-8.6.0 \
+ crate://crates.io/der/0.7.8 \
+ crate://crates.io/deranged/0.3.11 \
+ crate://crates.io/digest/0.10.7 \
+ crate://crates.io/dunce/1.0.4 \
+ crate://crates.io/ecdsa/0.16.9 \
+ crate://crates.io/ed25519-compact/2.1.1 \
+ crate://crates.io/either/1.9.0 \
+ crate://crates.io/elliptic-curve/0.13.8 \
+ crate://crates.io/encoding_rs/0.8.33 \
+ crate://crates.io/equivalent/1.0.1 \
+ crate://crates.io/erased-serde/0.4.2 \
+ crate://crates.io/errno/0.3.8 \
+ crate://crates.io/fallible-iterator/0.3.0 \
+ crate://crates.io/fallible-streaming-iterator/0.1.9 \
+ crate://crates.io/faster-hex/0.9.0 \
+ crate://crates.io/fastrand/2.0.1 \
+ crate://crates.io/ff/0.13.0 \
+ crate://crates.io/fiat-crypto/0.2.6 \
+ crate://crates.io/filetime/0.2.23 \
+ crate://crates.io/flate2/1.0.28 \
+ crate://crates.io/foreign-types/0.3.2 \
+ crate://crates.io/foreign-types-shared/0.1.1 \
+ crate://crates.io/form_urlencoded/1.2.1 \
+ crate://crates.io/generic-array/0.14.7 \
+ crate://crates.io/getrandom/0.2.12 \
+ crate://crates.io/git2/0.18.2 \
+ crate://crates.io/git2-curl/0.19.0 \
+ crate://crates.io/gix/0.56.0 \
+ crate://crates.io/gix-actor/0.28.1 \
+ crate://crates.io/gix-attributes/0.20.1 \
+ crate://crates.io/gix-bitmap/0.2.10 \
+ crate://crates.io/gix-chunk/0.4.7 \
+ crate://crates.io/gix-command/0.3.4 \
+ crate://crates.io/gix-commitgraph/0.22.1 \
+ crate://crates.io/gix-config/0.32.1 \
+ crate://crates.io/gix-config-value/0.14.4 \
+ crate://crates.io/gix-credentials/0.22.0 \
+ crate://crates.io/gix-date/0.8.3 \
+ crate://crates.io/gix-diff/0.38.0 \
+ crate://crates.io/gix-discover/0.27.0 \
+ crate://crates.io/gix-features/0.35.0 \
+ crate://crates.io/gix-features/0.36.1 \
+ crate://crates.io/gix-filter/0.7.0 \
+ crate://crates.io/gix-fs/0.8.1 \
+ crate://crates.io/gix-glob/0.14.1 \
+ crate://crates.io/gix-hash/0.13.3 \
+ crate://crates.io/gix-hashtable/0.4.1 \
+ crate://crates.io/gix-ignore/0.9.1 \
+ crate://crates.io/gix-index/0.27.1 \
+ crate://crates.io/gix-lock/11.0.1 \
+ crate://crates.io/gix-macros/0.1.3 \
+ crate://crates.io/gix-negotiate/0.10.0 \
+ crate://crates.io/gix-object/0.39.0 \
+ crate://crates.io/gix-odb/0.55.0 \
+ crate://crates.io/gix-pack/0.45.0 \
+ crate://crates.io/gix-packetline/0.17.3 \
+ crate://crates.io/gix-packetline-blocking/0.17.3 \
+ crate://crates.io/gix-path/0.10.5 \
+ crate://crates.io/gix-pathspec/0.4.1 \
+ crate://crates.io/gix-prompt/0.8.2 \
+ crate://crates.io/gix-protocol/0.42.0 \
+ crate://crates.io/gix-quote/0.4.10 \
+ crate://crates.io/gix-ref/0.39.1 \
+ crate://crates.io/gix-refspec/0.20.0 \
+ crate://crates.io/gix-revision/0.24.0 \
+ crate://crates.io/gix-revwalk/0.10.0 \
+ crate://crates.io/gix-sec/0.10.4 \
+ crate://crates.io/gix-submodule/0.6.0 \
+ crate://crates.io/gix-tempfile/11.0.1 \
+ crate://crates.io/gix-trace/0.1.7 \
+ crate://crates.io/gix-transport/0.39.0 \
+ crate://crates.io/gix-traverse/0.35.0 \
+ crate://crates.io/gix-url/0.25.2 \
+ crate://crates.io/gix-utils/0.1.9 \
+ crate://crates.io/gix-validate/0.8.3 \
+ crate://crates.io/gix-worktree/0.28.0 \
+ crate://crates.io/glob/0.3.1 \
+ crate://crates.io/globset/0.4.14 \
+ crate://crates.io/group/0.13.0 \
+ crate://crates.io/hashbrown/0.12.3 \
+ crate://crates.io/hashbrown/0.14.3 \
+ crate://crates.io/hashlink/0.8.4 \
+ crate://crates.io/heck/0.4.1 \
+ crate://crates.io/hermit-abi/0.3.5 \
+ crate://crates.io/hex/0.4.3 \
+ crate://crates.io/hkdf/0.12.4 \
+ crate://crates.io/hmac/0.12.1 \
+ crate://crates.io/home/0.5.9 \
+ crate://crates.io/http-auth/0.1.9 \
+ crate://crates.io/humantime/2.1.0 \
+ crate://crates.io/idna/0.5.0 \
+ crate://crates.io/ignore/0.4.22 \
+ crate://crates.io/im-rc/15.1.0 \
+ crate://crates.io/indexmap/1.9.3 \
+ crate://crates.io/indexmap/2.2.2 \
+ crate://crates.io/is-terminal/0.4.11 \
+ crate://crates.io/itertools/0.12.1 \
+ crate://crates.io/itoa/1.0.10 \
+ crate://crates.io/jobserver/0.1.28 \
+ crate://crates.io/js-sys/0.3.68 \
+ crate://crates.io/kstring/2.0.0 \
+ crate://crates.io/lazy_static/1.4.0 \
+ crate://crates.io/lazycell/1.3.0 \
+ crate://crates.io/libc/0.2.153 \
+ crate://crates.io/libgit2-sys/0.16.2+1.7.2 \
+ crate://crates.io/libloading/0.8.1 \
+ crate://crates.io/libnghttp2-sys/0.1.9+1.58.0 \
+ crate://crates.io/libsqlite3-sys/0.27.0 \
+ crate://crates.io/libssh2-sys/0.3.0 \
+ crate://crates.io/libz-sys/1.1.15 \
+ crate://crates.io/linux-raw-sys/0.4.13 \
+ crate://crates.io/lock_api/0.4.11 \
+ crate://crates.io/log/0.4.20 \
+ crate://crates.io/matchers/0.1.0 \
+ crate://crates.io/maybe-async/0.2.9 \
+ crate://crates.io/memchr/2.7.1 \
+ crate://crates.io/memmap2/0.9.4 \
+ crate://crates.io/minimal-lexical/0.2.1 \
+ crate://crates.io/miniz_oxide/0.7.2 \
+ crate://crates.io/miow/0.6.0 \
+ crate://crates.io/nom/7.1.3 \
+ crate://crates.io/normpath/1.1.1 \
+ crate://crates.io/nu-ansi-term/0.46.0 \
+ crate://crates.io/num-conv/0.1.0 \
+ crate://crates.io/num-traits/0.2.18 \
+ crate://crates.io/num_threads/0.1.6 \
+ crate://crates.io/once_cell/1.19.0 \
+ crate://crates.io/opener/0.6.1 \
+ crate://crates.io/openssl/0.10.63 \
+ crate://crates.io/openssl-macros/0.1.1 \
+ crate://crates.io/openssl-probe/0.1.5 \
+ crate://crates.io/openssl-src/300.2.2+3.2.1 \
+ crate://crates.io/openssl-sys/0.9.99 \
+ crate://crates.io/ordered-float/2.10.1 \
+ crate://crates.io/orion/0.17.6 \
+ crate://crates.io/os_info/3.7.0 \
+ crate://crates.io/overload/0.1.1 \
+ crate://crates.io/p384/0.13.0 \
+ crate://crates.io/parking_lot/0.12.1 \
+ crate://crates.io/parking_lot_core/0.9.9 \
+ crate://crates.io/pasetors/0.6.8 \
+ crate://crates.io/pathdiff/0.2.1 \
+ crate://crates.io/pem-rfc7468/0.7.0 \
+ crate://crates.io/percent-encoding/2.3.1 \
+ crate://crates.io/pin-project-lite/0.2.13 \
+ crate://crates.io/pkcs8/0.10.2 \
+ crate://crates.io/pkg-config/0.3.29 \
+ crate://crates.io/powerfmt/0.2.0 \
+ crate://crates.io/ppv-lite86/0.2.17 \
+ crate://crates.io/primeorder/0.13.6 \
+ crate://crates.io/proc-macro2/1.0.78 \
+ crate://crates.io/prodash/26.2.2 \
+ crate://crates.io/pulldown-cmark/0.9.6 \
+ crate://crates.io/quote/1.0.35 \
+ crate://crates.io/rand/0.8.5 \
+ crate://crates.io/rand_chacha/0.3.1 \
+ crate://crates.io/rand_core/0.6.4 \
+ crate://crates.io/rand_xoshiro/0.6.0 \
+ crate://crates.io/redox_syscall/0.4.1 \
+ crate://crates.io/regex/1.10.3 \
+ crate://crates.io/regex-automata/0.1.10 \
+ crate://crates.io/regex-automata/0.4.5 \
+ crate://crates.io/regex-syntax/0.6.29 \
+ crate://crates.io/regex-syntax/0.8.2 \
+ crate://crates.io/rfc6979/0.4.0 \
+ crate://crates.io/rusqlite/0.30.0 \
+ crate://crates.io/rustfix/0.7.0 \
+ crate://crates.io/rustix/0.38.31 \
+ crate://crates.io/ryu/1.0.16 \
+ crate://crates.io/same-file/1.0.6 \
+ crate://crates.io/schannel/0.1.23 \
+ crate://crates.io/scopeguard/1.2.0 \
+ crate://crates.io/sec1/0.7.3 \
+ crate://crates.io/security-framework/2.9.2 \
+ crate://crates.io/security-framework-sys/2.9.1 \
+ crate://crates.io/semver/1.0.21 \
+ crate://crates.io/serde/1.0.196 \
+ crate://crates.io/serde-untagged/0.1.5 \
+ crate://crates.io/serde-value/0.7.0 \
+ crate://crates.io/serde_derive/1.0.196 \
+ crate://crates.io/serde_ignored/0.1.10 \
+ crate://crates.io/serde_json/1.0.113 \
+ crate://crates.io/serde_spanned/0.6.5 \
+ crate://crates.io/sha1/0.10.6 \
+ crate://crates.io/sha1_smol/1.0.0 \
+ crate://crates.io/sha2/0.10.8 \
+ crate://crates.io/sharded-slab/0.1.7 \
+ crate://crates.io/shell-escape/0.1.5 \
+ crate://crates.io/shell-words/1.1.0 \
+ crate://crates.io/signature/2.2.0 \
+ crate://crates.io/sized-chunks/0.6.5 \
+ crate://crates.io/smallvec/1.13.1 \
+ crate://crates.io/socket2/0.5.5 \
+ crate://crates.io/spki/0.7.3 \
+ crate://crates.io/static_assertions/1.1.0 \
+ crate://crates.io/strsim/0.11.0 \
+ crate://crates.io/subtle/2.5.0 \
+ crate://crates.io/supports-hyperlinks/2.1.0 \
+ crate://crates.io/syn/1.0.109 \
+ crate://crates.io/syn/2.0.48 \
+ crate://crates.io/tar/0.4.40 \
+ crate://crates.io/tempfile/3.10.0 \
+ crate://crates.io/terminal_size/0.3.0 \
+ crate://crates.io/thiserror/1.0.56 \
+ crate://crates.io/thiserror-impl/1.0.56 \
+ crate://crates.io/thread_local/1.1.7 \
+ crate://crates.io/time/0.3.34 \
+ crate://crates.io/time-core/0.1.2 \
+ crate://crates.io/time-macros/0.2.17 \
+ crate://crates.io/tinyvec/1.6.0 \
+ crate://crates.io/tinyvec_macros/0.1.1 \
+ crate://crates.io/toml/0.5.11 \
+ crate://crates.io/toml/0.8.10 \
+ crate://crates.io/toml_datetime/0.6.5 \
+ crate://crates.io/toml_edit/0.21.1 \
+ crate://crates.io/toml_edit/0.22.4 \
+ crate://crates.io/tracing/0.1.40 \
+ crate://crates.io/tracing-attributes/0.1.27 \
+ crate://crates.io/tracing-core/0.1.32 \
+ crate://crates.io/tracing-log/0.2.0 \
+ crate://crates.io/tracing-subscriber/0.3.18 \
+ crate://crates.io/typenum/1.17.0 \
+ crate://crates.io/unicase/2.7.0 \
+ crate://crates.io/unicode-bidi/0.3.15 \
+ crate://crates.io/unicode-bom/2.0.3 \
+ crate://crates.io/unicode-ident/1.0.12 \
+ crate://crates.io/unicode-normalization/0.1.22 \
+ crate://crates.io/unicode-width/0.1.11 \
+ crate://crates.io/unicode-xid/0.2.4 \
+ crate://crates.io/url/2.5.0 \
+ crate://crates.io/utf8parse/0.2.1 \
+ crate://crates.io/valuable/0.1.0 \
+ crate://crates.io/vcpkg/0.2.15 \
+ crate://crates.io/version_check/0.9.4 \
+ crate://crates.io/walkdir/2.4.0 \
+ crate://crates.io/wasi/0.11.0+wasi-snapshot-preview1 \
+ crate://crates.io/wasm-bindgen/0.2.91 \
+ crate://crates.io/wasm-bindgen-backend/0.2.91 \
+ crate://crates.io/wasm-bindgen-macro/0.2.91 \
+ crate://crates.io/wasm-bindgen-macro-support/0.2.91 \
+ crate://crates.io/wasm-bindgen-shared/0.2.91 \
+ crate://crates.io/winapi/0.3.9 \
+ crate://crates.io/winapi-i686-pc-windows-gnu/0.4.0 \
+ crate://crates.io/winapi-util/0.1.6 \
+ crate://crates.io/winapi-x86_64-pc-windows-gnu/0.4.0 \
+ crate://crates.io/windows-sys/0.48.0 \
+ crate://crates.io/windows-sys/0.52.0 \
+ crate://crates.io/windows-targets/0.48.5 \
+ crate://crates.io/windows-targets/0.52.0 \
+ crate://crates.io/windows_aarch64_gnullvm/0.48.5 \
+ crate://crates.io/windows_aarch64_gnullvm/0.52.0 \
+ crate://crates.io/windows_aarch64_msvc/0.48.5 \
+ crate://crates.io/windows_aarch64_msvc/0.52.0 \
+ crate://crates.io/windows_i686_gnu/0.48.5 \
+ crate://crates.io/windows_i686_gnu/0.52.0 \
+ crate://crates.io/windows_i686_msvc/0.48.5 \
+ crate://crates.io/windows_i686_msvc/0.52.0 \
+ crate://crates.io/windows_x86_64_gnu/0.48.5 \
+ crate://crates.io/windows_x86_64_gnu/0.52.0 \
+ crate://crates.io/windows_x86_64_gnullvm/0.48.5 \
+ crate://crates.io/windows_x86_64_gnullvm/0.52.0 \
+ crate://crates.io/windows_x86_64_msvc/0.48.5 \
+ crate://crates.io/windows_x86_64_msvc/0.52.0 \
+ crate://crates.io/winnow/0.5.39 \
+ crate://crates.io/zerocopy/0.7.32 \
+ crate://crates.io/zerocopy-derive/0.7.32 \
+ crate://crates.io/zeroize/1.7.0 \
+"
+
+SRC_URI[adler-1.0.2.sha256sum] = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe"
+SRC_URI[ahash-0.8.7.sha256sum] = "77c3a9648d43b9cd48db467b3f87fdd6e146bcc88ab0180006cef2179fe11d01"
+SRC_URI[aho-corasick-1.1.2.sha256sum] = "b2969dcb958b36655471fc61f7e416fa76033bdd4bfed0678d8fee1e2d07a1f0"
+SRC_URI[allocator-api2-0.2.16.sha256sum] = "0942ffc6dcaadf03badf6e6a2d0228460359d5e34b57ccdc720b7382dfbd5ec5"
+SRC_URI[anstream-0.6.11.sha256sum] = "6e2e1ebcb11de5c03c67de28a7df593d32191b44939c482e97702baaaa6ab6a5"
+SRC_URI[anstyle-1.0.6.sha256sum] = "8901269c6307e8d93993578286ac0edf7f195079ffff5ebdeea6a59ffb7e36bc"
+SRC_URI[anstyle-parse-0.2.3.sha256sum] = "c75ac65da39e5fe5ab759307499ddad880d724eed2f6ce5b5e8a26f4f387928c"
+SRC_URI[anstyle-query-1.0.2.sha256sum] = "e28923312444cdd728e4738b3f9c9cac739500909bb3d3c94b43551b16517648"
+SRC_URI[anstyle-wincon-3.0.2.sha256sum] = "1cd54b81ec8d6180e24654d0b371ad22fc3dd083b6ff8ba325b72e00c87660a7"
+SRC_URI[anyhow-1.0.79.sha256sum] = "080e9890a082662b09c1ad45f567faeeb47f22b5fb23895fbe1e651e718e25ca"
+SRC_URI[arc-swap-1.6.0.sha256sum] = "bddcadddf5e9015d310179a59bb28c4d4b9920ad0f11e8e14dbadf654890c9a6"
+SRC_URI[autocfg-1.1.0.sha256sum] = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
+SRC_URI[base16ct-0.2.0.sha256sum] = "4c7f02d4ea65f2c1853089ffd8d2787bdbc63de2f0d29dedbcf8ccdfa0ccd4cf"
+SRC_URI[base64-0.21.7.sha256sum] = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567"
+SRC_URI[base64ct-1.6.0.sha256sum] = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b"
+SRC_URI[bitflags-1.3.2.sha256sum] = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
+SRC_URI[bitflags-2.4.2.sha256sum] = "ed570934406eb16438a4e976b1b4500774099c13b8cb96eec99f620f05090ddf"
+SRC_URI[bitmaps-2.1.0.sha256sum] = "031043d04099746d8db04daf1fa424b2bc8bd69d92b25962dcde24da39ab64a2"
+SRC_URI[block-buffer-0.10.4.sha256sum] = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71"
+SRC_URI[bstr-1.9.0.sha256sum] = "c48f0051a4b4c5e0b6d365cd04af53aeaa209e3cc15ec2cdb69e73cc87fbd0dc"
+SRC_URI[btoi-0.4.3.sha256sum] = "9dd6407f73a9b8b6162d8a2ef999fe6afd7cc15902ebf42c5cd296addf17e0ad"
+SRC_URI[bumpalo-3.14.0.sha256sum] = "7f30e7476521f6f8af1a1c4c0b8cc94f0bee37d91763d0ca2665f299b6cd8aec"
+SRC_URI[bytes-1.5.0.sha256sum] = "a2bd12c1caf447e69cd4528f47f94d203fd2582878ecb9e9465484c4148a8223"
+SRC_URI[bytesize-1.3.0.sha256sum] = "a3e368af43e418a04d52505cf3dbc23dda4e3407ae2fa99fd0e4f308ce546acc"
+SRC_URI[cargo-0.77.0.sha256sum] = "4a399e5bde59d144aa2c7ba643765e2f8c6c3c601daa2da03202caf66f2552b3"
+SRC_URI[cargo-credential-0.4.2.sha256sum] = "ec27ad011c37339b865c765fa28096cd63d5b25fab680c04d9e410cb586c327d"
+SRC_URI[cargo-credential-libsecret-0.4.2.sha256sum] = "26b0ff7a44dd0af0fcd8d09bb1a6d7f7652847cba10aad017a6ea0a25ba7f00f"
+SRC_URI[cargo-credential-macos-keychain-0.4.2.sha256sum] = "4b7cf89a47dc2c20ae3a7c94335e151be32c20f85cc2790defdb1f5dac818de5"
+SRC_URI[cargo-credential-wincred-0.4.2.sha256sum] = "341df45dc893bdffa36e2f7cbe3da90b38c5c74e7f4c0088ac801fd055b6df5b"
+SRC_URI[cargo-platform-0.1.7.sha256sum] = "694c8807f2ae16faecc43dc17d74b3eb042482789fd0eb64b39a2e04e087053f"
+SRC_URI[cargo-util-0.2.9.sha256sum] = "74862c3c6e53a1c1f8f0178f9d38ab41e49746cd3a7cafc239b3d0248fd4e342"
+SRC_URI[cbindgen-0.26.0.sha256sum] = "da6bc11b07529f16944307272d5bd9b22530bc7d05751717c9d416586cedab49"
+SRC_URI[cc-1.0.83.sha256sum] = "f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0"
+SRC_URI[cfg-if-1.0.0.sha256sum] = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
+SRC_URI[clap-4.5.0.sha256sum] = "80c21025abd42669a92efc996ef13cfb2c5c627858421ea58d5c3b331a6c134f"
+SRC_URI[clap_builder-4.5.0.sha256sum] = "458bf1f341769dfcf849846f65dffdf9146daa56bcd2a47cb4e1de9915567c99"
+SRC_URI[clap_derive-4.5.0.sha256sum] = "307bc0538d5f0f83b8248db3087aa92fe504e4691294d0c96c0eabc33f47ba47"
+SRC_URI[clap_lex-0.7.0.sha256sum] = "98cc8fbded0c607b7ba9dd60cd98df59af97e84d24e49c8557331cfc26d301ce"
+SRC_URI[clru-0.6.1.sha256sum] = "b8191fa7302e03607ff0e237d4246cc043ff5b3cb9409d995172ba3bea16b807"
+SRC_URI[color-print-0.3.5.sha256sum] = "7a858372ff14bab9b1b30ea504f2a4bc534582aee3e42ba2d41d2a7baba63d5d"
+SRC_URI[color-print-proc-macro-0.3.5.sha256sum] = "57e37866456a721d0a404439a1adae37a31be4e0055590d053dfe6981e05003f"
+SRC_URI[colorchoice-1.0.0.sha256sum] = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7"
+SRC_URI[const-oid-0.9.6.sha256sum] = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8"
+SRC_URI[core-foundation-0.9.4.sha256sum] = "91e195e091a93c46f7102ec7818a2aa394e1e1771c3ab4825963fa03e45afb8f"
+SRC_URI[core-foundation-sys-0.8.6.sha256sum] = "06ea2b9bc92be3c2baa9334a323ebca2d6f074ff852cd1d7b11064035cd3868f"
+SRC_URI[cpufeatures-0.2.12.sha256sum] = "53fe5e26ff1b7aef8bca9c6080520cfb8d9333c7568e1829cef191a9723e5504"
+SRC_URI[crates-io-0.39.2.sha256sum] = "6622f902c3c338eced1f000091f034846ae36aadaf35d0acd1ab0469a2d8ef1f"
+SRC_URI[crc32fast-1.3.2.sha256sum] = "b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d"
+SRC_URI[crossbeam-channel-0.5.11.sha256sum] = "176dc175b78f56c0f321911d9c8eb2b77a78a4860b9c19db83835fea1a46649b"
+SRC_URI[crossbeam-deque-0.8.5.sha256sum] = "613f8cc01fe9cf1a3eb3d7f488fd2fa8388403e97039e2f73692932e291a770d"
+SRC_URI[crossbeam-epoch-0.9.18.sha256sum] = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e"
+SRC_URI[crossbeam-utils-0.8.19.sha256sum] = "248e3bacc7dc6baa3b21e405ee045c3047101a49145e7e9eca583ab4c2ca5345"
+SRC_URI[crypto-bigint-0.5.5.sha256sum] = "0dc92fb57ca44df6db8059111ab3af99a63d5d0f8375d9972e319a379c6bab76"
+SRC_URI[crypto-common-0.1.6.sha256sum] = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3"
+SRC_URI[ct-codecs-1.1.1.sha256sum] = "f3b7eb4404b8195a9abb6356f4ac07d8ba267045c8d6d220ac4dc992e6cc75df"
+SRC_URI[curl-0.4.45.sha256sum] = "f8e5123ab8c31200ce725939049ecd4a090b242608f24048131dedf9dd195aed"
+SRC_URI[curl-sys-0.4.72+curl-8.6.0.sha256sum] = "29cbdc8314c447d11e8fd156dcdd031d9e02a7a976163e396b548c03153bc9ea"
+SRC_URI[der-0.7.8.sha256sum] = "fffa369a668c8af7dbf8b5e56c9f744fbd399949ed171606040001947de40b1c"
+SRC_URI[deranged-0.3.11.sha256sum] = "b42b6fa04a440b495c8b04d0e71b707c585f83cb9cb28cf8cd0d976c315e31b4"
+SRC_URI[digest-0.10.7.sha256sum] = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"
+SRC_URI[dunce-1.0.4.sha256sum] = "56ce8c6da7551ec6c462cbaf3bfbc75131ebbfa1c944aeaa9dab51ca1c5f0c3b"
+SRC_URI[ecdsa-0.16.9.sha256sum] = "ee27f32b5c5292967d2d4a9d7f1e0b0aed2c15daded5a60300e4abb9d8020bca"
+SRC_URI[ed25519-compact-2.1.1.sha256sum] = "e9b3460f44bea8cd47f45a0c70892f1eff856d97cd55358b2f73f663789f6190"
+SRC_URI[either-1.9.0.sha256sum] = "a26ae43d7bcc3b814de94796a5e736d4029efb0ee900c12e2d54c993ad1a1e07"
+SRC_URI[elliptic-curve-0.13.8.sha256sum] = "b5e6043086bf7973472e0c7dff2142ea0b680d30e18d9cc40f267efbf222bd47"
+SRC_URI[encoding_rs-0.8.33.sha256sum] = "7268b386296a025e474d5140678f75d6de9493ae55a5d709eeb9dd08149945e1"
+SRC_URI[equivalent-1.0.1.sha256sum] = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5"
+SRC_URI[erased-serde-0.4.2.sha256sum] = "55d05712b2d8d88102bc9868020c9e5c7a1f5527c452b9b97450a1d006140ba7"
+SRC_URI[errno-0.3.8.sha256sum] = "a258e46cdc063eb8519c00b9fc845fc47bcfca4130e2f08e88665ceda8474245"
+SRC_URI[fallible-iterator-0.3.0.sha256sum] = "2acce4a10f12dc2fb14a218589d4f1f62ef011b2d0cc4b3cb1bba8e94da14649"
+SRC_URI[fallible-streaming-iterator-0.1.9.sha256sum] = "7360491ce676a36bf9bb3c56c1aa791658183a54d2744120f27285738d90465a"
+SRC_URI[faster-hex-0.9.0.sha256sum] = "a2a2b11eda1d40935b26cf18f6833c526845ae8c41e58d09af6adeb6f0269183"
+SRC_URI[fastrand-2.0.1.sha256sum] = "25cbce373ec4653f1a01a31e8a5e5ec0c622dc27ff9c4e6606eefef5cbbed4a5"
+SRC_URI[ff-0.13.0.sha256sum] = "ded41244b729663b1e574f1b4fb731469f69f79c17667b5d776b16cda0479449"
+SRC_URI[fiat-crypto-0.2.6.sha256sum] = "1676f435fc1dadde4d03e43f5d62b259e1ce5f40bd4ffb21db2b42ebe59c1382"
+SRC_URI[filetime-0.2.23.sha256sum] = "1ee447700ac8aa0b2f2bd7bc4462ad686ba06baa6727ac149a2d6277f0d240fd"
+SRC_URI[flate2-1.0.28.sha256sum] = "46303f565772937ffe1d394a4fac6f411c6013172fadde9dcdb1e147a086940e"
+SRC_URI[foreign-types-0.3.2.sha256sum] = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1"
+SRC_URI[foreign-types-shared-0.1.1.sha256sum] = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b"
+SRC_URI[form_urlencoded-1.2.1.sha256sum] = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456"
+SRC_URI[generic-array-0.14.7.sha256sum] = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a"
+SRC_URI[getrandom-0.2.12.sha256sum] = "190092ea657667030ac6a35e305e62fc4dd69fd98ac98631e5d3a2b1575a12b5"
+SRC_URI[git2-0.18.2.sha256sum] = "1b3ba52851e73b46a4c3df1d89343741112003f0f6f13beb0dfac9e457c3fdcd"
+SRC_URI[git2-curl-0.19.0.sha256sum] = "78e26b61608c573ffd26fc79061a823aa5147449a1afe1f61679a21e2031f7c3"
+SRC_URI[gix-0.56.0.sha256sum] = "5b0dcdc9c60d66535897fa40a7ea2a635e72f99456b1d9ae86b7e170e80618cb"
+SRC_URI[gix-actor-0.28.1.sha256sum] = "2eadca029ef716b4378f7afb19f7ee101fde9e58ba1f1445971315ac866db417"
+SRC_URI[gix-attributes-0.20.1.sha256sum] = "0f395469d38c76ec47cd1a6c5a53fbc3f13f737b96eaf7535f4e6b367e643381"
+SRC_URI[gix-bitmap-0.2.10.sha256sum] = "78b6cd0f246180034ddafac9b00a112f19178135b21eb031b3f79355891f7325"
+SRC_URI[gix-chunk-0.4.7.sha256sum] = "003ec6deacf68076a0c157271a127e0bb2c031c1a41f7168cbe5d248d9b85c78"
+SRC_URI[gix-command-0.3.4.sha256sum] = "c82b5e9494e61983e61049bbd15fe0fa6b70672dd236362bdb5b2b50fc428f10"
+SRC_URI[gix-commitgraph-0.22.1.sha256sum] = "85a7007ba021f059803afaf6f8a48872422abc20550ac12ede6ddea2936cec36"
+SRC_URI[gix-config-0.32.1.sha256sum] = "0341471d55d8676e98b88e121d7065dfa4c9c5acea4b6d6ecdd2846e85cce0c3"
+SRC_URI[gix-config-value-0.14.4.sha256sum] = "5b8a1e7bfb37a46ed0b8468db37a6d8a0a61d56bdbe4603ae492cb322e5f3958"
+SRC_URI[gix-credentials-0.22.0.sha256sum] = "513dac42450b27946bd0a0535a3a5a88e473d6522e5e3439a129cab779c88f3d"
+SRC_URI[gix-date-0.8.3.sha256sum] = "fb7f3dfb72bebe3449b5e642be64e3c6ccbe9821c8b8f19f487cf5bfbbf4067e"
+SRC_URI[gix-diff-0.38.0.sha256sum] = "8119a985887cfe68f4bdf92e51bd64bc758a73882d82fcfc03ebcb164441c85d"
+SRC_URI[gix-discover-0.27.0.sha256sum] = "6fad89416ebe0b3b7df78464124e2a02417b6cd3743d48ad93df86f4d2929c07"
+SRC_URI[gix-features-0.35.0.sha256sum] = "9b9ff423ae4983f762659040d13dd7a5defbd54b6a04ac3cc7347741cec828cd"
+SRC_URI[gix-features-0.36.1.sha256sum] = "4d46a4a5c6bb5bebec9c0d18b65ada20e6517dbd7cf855b87dd4bbdce3a771b2"
+SRC_URI[gix-filter-0.7.0.sha256sum] = "6d6a5c9d8e55c364e7c226919c19c9a28be1392d6208b5008059fa94ff7e2bf0"
+SRC_URI[gix-fs-0.8.1.sha256sum] = "20e86eb040f5776a5ade092282e51cdcad398adb77d948b88d17583c2ae4e107"
+SRC_URI[gix-glob-0.14.1.sha256sum] = "5db19298c5eeea2961e5b3bf190767a2d1f09b8802aeb5f258e42276350aff19"
+SRC_URI[gix-hash-0.13.3.sha256sum] = "1f8cf8c2266f63e582b7eb206799b63aa5fa68ee510ad349f637dfe2d0653de0"
+SRC_URI[gix-hashtable-0.4.1.sha256sum] = "feb61880816d7ec4f0b20606b498147d480860ddd9133ba542628df2f548d3ca"
+SRC_URI[gix-ignore-0.9.1.sha256sum] = "a215cc8cf21645bca131fcf6329d3ebd46299c47dbbe27df71bb1ca9e328b879"
+SRC_URI[gix-index-0.27.1.sha256sum] = "f3f308f5cd2992e96a274b0d1931e9a0e44fdcba87695ead3f6df30d8a697e9c"
+SRC_URI[gix-lock-11.0.1.sha256sum] = "7e5c65e6a29830a435664891ced3f3c1af010f14900226019590ee0971a22f37"
+SRC_URI[gix-macros-0.1.3.sha256sum] = "d75e7ab728059f595f6ddc1ad8771b8d6a231971ae493d9d5948ecad366ee8bb"
+SRC_URI[gix-negotiate-0.10.0.sha256sum] = "979f6accd9c051b3dd018b50adf29c0a2459edddf6105cc70b767976cd6f8014"
+SRC_URI[gix-object-0.39.0.sha256sum] = "febf79c5825720c1c63fe974c7bbe695d0cb54aabad73f45671c60ce0e501e33"
+SRC_URI[gix-odb-0.55.0.sha256sum] = "1fae5f971540c99c6ecc8d4368ecc9d18a9dc8b9391025c68c4399747dc93bac"
+SRC_URI[gix-pack-0.45.0.sha256sum] = "4569491c92446fddf373456ff360aff9a9effd627b40a70f2d7914dcd75a3205"
+SRC_URI[gix-packetline-0.17.3.sha256sum] = "09ff45eef7747bde4986429a3e813478d50c2688b8f239e57bd3aa81065b285f"
+SRC_URI[gix-packetline-blocking-0.17.3.sha256sum] = "ca8ef6dd3ea50e26f3bf572e90c034d033c804d340cd1eb386392f184a9ba2f7"
+SRC_URI[gix-path-0.10.5.sha256sum] = "97e9ad649bf5e109562d6acba657ca428661ec08e77eaf3a755d8fa55485be9c"
+SRC_URI[gix-pathspec-0.4.1.sha256sum] = "1dbbb92f75a38ef043c8bb830b339b38d0698d7f3746968b5fcbade7a880494d"
+SRC_URI[gix-prompt-0.8.2.sha256sum] = "02bd89d058258e53e0fd6c57f13ee16c5673a83066a68e11f88626fc8cfda5f6"
+SRC_URI[gix-protocol-0.42.0.sha256sum] = "95736ef407db0bd15a5bdea791fbfcf523b9f13b96c852c240cd86a9ee0ef817"
+SRC_URI[gix-quote-0.4.10.sha256sum] = "9f7dc10303d73a960d10fb82f81188b036ac3e6b11b5795b20b1a60b51d1321f"
+SRC_URI[gix-ref-0.39.1.sha256sum] = "3b2069adc212cf7f3317ef55f6444abd06c50f28479dbbac5a86acf3b05cbbfe"
+SRC_URI[gix-refspec-0.20.0.sha256sum] = "76d9d3b82e1ee78fc0dc1c37ea5ea76c2dbc73f407db155f0dfcea285e583bee"
+SRC_URI[gix-revision-0.24.0.sha256sum] = "fe5dd51710ce5434bc315ea30394fab483c5377276494edd79222b321a5a9544"
+SRC_URI[gix-revwalk-0.10.0.sha256sum] = "69d4ed2493ca94a475fdf147138e1ef8bab3b6ebb56abf3d9bda1c05372ec1dd"
+SRC_URI[gix-sec-0.10.4.sha256sum] = "f8d9bf462feaf05f2121cba7399dbc6c34d88a9cad58fc1e95027791d6a3c6d2"
+SRC_URI[gix-submodule-0.6.0.sha256sum] = "02a3d7f60a95bdcaeb8981663c99d1c9f4de42aab1169524c949e948989809f9"
+SRC_URI[gix-tempfile-11.0.1.sha256sum] = "388dd29114a86ec69b28d1e26d6d63a662300ecf61ab3f4cc578f7d7dc9e7e23"
+SRC_URI[gix-trace-0.1.7.sha256sum] = "02b202d766a7fefc596e2cc6a89cda8ad8ad733aed82da635ac120691112a9b1"
+SRC_URI[gix-transport-0.39.0.sha256sum] = "f731cfefc4d62468c6dd2053f5c6707828256a6d2f5488c1811e3f42c178b144"
+SRC_URI[gix-traverse-0.35.0.sha256sum] = "df2112088122a0206592c84fbd42020db63b2ccaed66a0293779f2e5fbf80474"
+SRC_URI[gix-url-0.25.2.sha256sum] = "0c427a1a11ccfa53a4a2da47d9442c2241deee63a154bc15cc14b8312fbc4005"
+SRC_URI[gix-utils-0.1.9.sha256sum] = "56e839f3d0798b296411263da6bee780a176ef8008a5dfc31287f7eda9266ab8"
+SRC_URI[gix-validate-0.8.3.sha256sum] = "ac7cc36f496bd5d96cdca0f9289bb684480725d40db60f48194aa7723b883854"
+SRC_URI[gix-worktree-0.28.0.sha256sum] = "7f1d0ae01dee14abe8c8117d78d7518f9a507de2dc4522546fbf4c444e9860b4"
+SRC_URI[glob-0.3.1.sha256sum] = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b"
+SRC_URI[globset-0.4.14.sha256sum] = "57da3b9b5b85bd66f31093f8c408b90a74431672542466497dcbdfdc02034be1"
+SRC_URI[group-0.13.0.sha256sum] = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63"
+SRC_URI[hashbrown-0.12.3.sha256sum] = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888"
+SRC_URI[hashbrown-0.14.3.sha256sum] = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604"
+SRC_URI[hashlink-0.8.4.sha256sum] = "e8094feaf31ff591f651a2664fb9cfd92bba7a60ce3197265e9482ebe753c8f7"
+SRC_URI[heck-0.4.1.sha256sum] = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8"
+SRC_URI[hermit-abi-0.3.5.sha256sum] = "d0c62115964e08cb8039170eb33c1d0e2388a256930279edca206fff675f82c3"
+SRC_URI[hex-0.4.3.sha256sum] = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70"
+SRC_URI[hkdf-0.12.4.sha256sum] = "7b5f8eb2ad728638ea2c7d47a21db23b7b58a72ed6a38256b8a1849f15fbbdf7"
+SRC_URI[hmac-0.12.1.sha256sum] = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e"
+SRC_URI[home-0.5.9.sha256sum] = "e3d1354bf6b7235cb4a0576c2619fd4ed18183f689b12b006a0ee7329eeff9a5"
+SRC_URI[http-auth-0.1.9.sha256sum] = "643c9bbf6a4ea8a656d6b4cd53d34f79e3f841ad5203c1a55fb7d761923bc255"
+SRC_URI[humantime-2.1.0.sha256sum] = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4"
+SRC_URI[idna-0.5.0.sha256sum] = "634d9b1461af396cad843f47fdba5597a4f9e6ddd4bfb6ff5d85028c25cb12f6"
+SRC_URI[ignore-0.4.22.sha256sum] = "b46810df39e66e925525d6e38ce1e7f6e1d208f72dc39757880fcb66e2c58af1"
+SRC_URI[im-rc-15.1.0.sha256sum] = "af1955a75fa080c677d3972822ec4bad316169ab1cfc6c257a942c2265dbe5fe"
+SRC_URI[indexmap-1.9.3.sha256sum] = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99"
+SRC_URI[indexmap-2.2.2.sha256sum] = "824b2ae422412366ba479e8111fd301f7b5faece8149317bb81925979a53f520"
+SRC_URI[is-terminal-0.4.11.sha256sum] = "fe8f25ce1159c7740ff0b9b2f5cdf4a8428742ba7c112b9f20f22cd5219c7dab"
+SRC_URI[itertools-0.12.1.sha256sum] = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569"
+SRC_URI[itoa-1.0.10.sha256sum] = "b1a46d1a171d865aa5f83f92695765caa047a9b4cbae2cbf37dbd613a793fd4c"
+SRC_URI[jobserver-0.1.28.sha256sum] = "ab46a6e9526ddef3ae7f787c06f0f2600639ba80ea3eade3d8e670a2230f51d6"
+SRC_URI[js-sys-0.3.68.sha256sum] = "406cda4b368d531c842222cf9d2600a9a4acce8d29423695379c6868a143a9ee"
+SRC_URI[kstring-2.0.0.sha256sum] = "ec3066350882a1cd6d950d055997f379ac37fd39f81cd4d8ed186032eb3c5747"
+SRC_URI[lazy_static-1.4.0.sha256sum] = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
+SRC_URI[lazycell-1.3.0.sha256sum] = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55"
+SRC_URI[libc-0.2.153.sha256sum] = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd"
+SRC_URI[libgit2-sys-0.16.2+1.7.2.sha256sum] = "ee4126d8b4ee5c9d9ea891dd875cfdc1e9d0950437179104b183d7d8a74d24e8"
+SRC_URI[libloading-0.8.1.sha256sum] = "c571b676ddfc9a8c12f1f3d3085a7b163966a8fd8098a90640953ce5f6170161"
+SRC_URI[libnghttp2-sys-0.1.9+1.58.0.sha256sum] = "b57e858af2798e167e709b9d969325b6d8e9d50232fcbc494d7d54f976854a64"
+SRC_URI[libsqlite3-sys-0.27.0.sha256sum] = "cf4e226dcd58b4be396f7bd3c20da8fdee2911400705297ba7d2d7cc2c30f716"
+SRC_URI[libssh2-sys-0.3.0.sha256sum] = "2dc8a030b787e2119a731f1951d6a773e2280c660f8ec4b0f5e1505a386e71ee"
+SRC_URI[libz-sys-1.1.15.sha256sum] = "037731f5d3aaa87a5675e895b63ddff1a87624bc29f77004ea829809654e48f6"
+SRC_URI[linux-raw-sys-0.4.13.sha256sum] = "01cda141df6706de531b6c46c3a33ecca755538219bd484262fa09410c13539c"
+SRC_URI[lock_api-0.4.11.sha256sum] = "3c168f8615b12bc01f9c17e2eb0cc07dcae1940121185446edc3744920e8ef45"
+SRC_URI[log-0.4.20.sha256sum] = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f"
+SRC_URI[matchers-0.1.0.sha256sum] = "8263075bb86c5a1b1427b5ae862e8889656f126e9f77c484496e8b47cf5c5558"
+SRC_URI[maybe-async-0.2.9.sha256sum] = "afc95a651c82daf7004c824405aa1019723644950d488571bd718e3ed84646ed"
+SRC_URI[memchr-2.7.1.sha256sum] = "523dc4f511e55ab87b694dc30d0f820d60906ef06413f93d4d7a1385599cc149"
+SRC_URI[memmap2-0.9.4.sha256sum] = "fe751422e4a8caa417e13c3ea66452215d7d63e19e604f4980461212f3ae1322"
+SRC_URI[minimal-lexical-0.2.1.sha256sum] = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
+SRC_URI[miniz_oxide-0.7.2.sha256sum] = "9d811f3e15f28568be3407c8e7fdb6514c1cda3cb30683f15b6a1a1dc4ea14a7"
+SRC_URI[miow-0.6.0.sha256sum] = "359f76430b20a79f9e20e115b3428614e654f04fab314482fc0fda0ebd3c6044"
+SRC_URI[nom-7.1.3.sha256sum] = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a"
+SRC_URI[normpath-1.1.1.sha256sum] = "ec60c60a693226186f5d6edf073232bfb6464ed97eb22cf3b01c1e8198fd97f5"
+SRC_URI[nu-ansi-term-0.46.0.sha256sum] = "77a8165726e8236064dbb45459242600304b42a5ea24ee2948e18e023bf7ba84"
+SRC_URI[num-conv-0.1.0.sha256sum] = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9"
+SRC_URI[num-traits-0.2.18.sha256sum] = "da0df0e5185db44f69b44f26786fe401b6c293d1907744beaa7fa62b2e5a517a"
+SRC_URI[num_threads-0.1.6.sha256sum] = "2819ce041d2ee131036f4fc9d6ae7ae125a3a40e97ba64d04fe799ad9dabbb44"
+SRC_URI[once_cell-1.19.0.sha256sum] = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92"
+SRC_URI[opener-0.6.1.sha256sum] = "6c62dcb6174f9cb326eac248f07e955d5d559c272730b6c03e396b443b562788"
+SRC_URI[openssl-0.10.63.sha256sum] = "15c9d69dd87a29568d4d017cfe8ec518706046a05184e5aea92d0af890b803c8"
+SRC_URI[openssl-macros-0.1.1.sha256sum] = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c"
+SRC_URI[openssl-probe-0.1.5.sha256sum] = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf"
+SRC_URI[openssl-src-300.2.2+3.2.1.sha256sum] = "8bbfad0063610ac26ee79f7484739e2b07555a75c42453b89263830b5c8103bc"
+SRC_URI[openssl-sys-0.9.99.sha256sum] = "22e1bf214306098e4832460f797824c05d25aacdf896f64a985fb0fd992454ae"
+SRC_URI[ordered-float-2.10.1.sha256sum] = "68f19d67e5a2795c94e73e0bb1cc1a7edeb2e28efd39e2e1c9b7a40c1108b11c"
+SRC_URI[orion-0.17.6.sha256sum] = "7abdb10181903c8c4b016ba45d6d6d5af1a1e2a461aa4763a83b87f5df4695e5"
+SRC_URI[os_info-3.7.0.sha256sum] = "006e42d5b888366f1880eda20371fedde764ed2213dc8496f49622fa0c99cd5e"
+SRC_URI[overload-0.1.1.sha256sum] = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39"
+SRC_URI[p384-0.13.0.sha256sum] = "70786f51bcc69f6a4c0360e063a4cac5419ef7c5cd5b3c99ad70f3be5ba79209"
+SRC_URI[parking_lot-0.12.1.sha256sum] = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f"
+SRC_URI[parking_lot_core-0.9.9.sha256sum] = "4c42a9226546d68acdd9c0a280d17ce19bfe27a46bf68784e4066115788d008e"
+SRC_URI[pasetors-0.6.8.sha256sum] = "6b36d47c66f2230dd1b7143d9afb2b4891879020210eddf2ccb624e529b96dba"
+SRC_URI[pathdiff-0.2.1.sha256sum] = "8835116a5c179084a830efb3adc117ab007512b535bc1a21c991d3b32a6b44dd"
+SRC_URI[pem-rfc7468-0.7.0.sha256sum] = "88b39c9bfcfc231068454382784bb460aae594343fb030d46e9f50a645418412"
+SRC_URI[percent-encoding-2.3.1.sha256sum] = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e"
+SRC_URI[pin-project-lite-0.2.13.sha256sum] = "8afb450f006bf6385ca15ef45d71d2288452bc3683ce2e2cacc0d18e4be60b58"
+SRC_URI[pkcs8-0.10.2.sha256sum] = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7"
+SRC_URI[pkg-config-0.3.29.sha256sum] = "2900ede94e305130c13ddd391e0ab7cbaeb783945ae07a279c268cb05109c6cb"
+SRC_URI[powerfmt-0.2.0.sha256sum] = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391"
+SRC_URI[ppv-lite86-0.2.17.sha256sum] = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de"
+SRC_URI[primeorder-0.13.6.sha256sum] = "353e1ca18966c16d9deb1c69278edbc5f194139612772bd9537af60ac231e1e6"
+SRC_URI[proc-macro2-1.0.78.sha256sum] = "e2422ad645d89c99f8f3e6b88a9fdeca7fabeac836b1002371c4367c8f984aae"
+SRC_URI[prodash-26.2.2.sha256sum] = "794b5bf8e2d19b53dcdcec3e4bba628e20f5b6062503ba89281fa7037dd7bbcf"
+SRC_URI[pulldown-cmark-0.9.6.sha256sum] = "57206b407293d2bcd3af849ce869d52068623f19e1b5ff8e8778e3309439682b"
+SRC_URI[quote-1.0.35.sha256sum] = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef"
+SRC_URI[rand-0.8.5.sha256sum] = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
+SRC_URI[rand_chacha-0.3.1.sha256sum] = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
+SRC_URI[rand_core-0.6.4.sha256sum] = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
+SRC_URI[rand_xoshiro-0.6.0.sha256sum] = "6f97cdb2a36ed4183de61b2f824cc45c9f1037f28afe0a322e9fff4c108b5aaa"
+SRC_URI[redox_syscall-0.4.1.sha256sum] = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa"
+SRC_URI[regex-1.10.3.sha256sum] = "b62dbe01f0b06f9d8dc7d49e05a0785f153b00b2c227856282f671e0318c9b15"
+SRC_URI[regex-automata-0.1.10.sha256sum] = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132"
+SRC_URI[regex-automata-0.4.5.sha256sum] = "5bb987efffd3c6d0d8f5f89510bb458559eab11e4f869acb20bf845e016259cd"
+SRC_URI[regex-syntax-0.6.29.sha256sum] = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1"
+SRC_URI[regex-syntax-0.8.2.sha256sum] = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f"
+SRC_URI[rfc6979-0.4.0.sha256sum] = "f8dd2a808d456c4a54e300a23e9f5a67e122c3024119acbfd73e3bf664491cb2"
+SRC_URI[rusqlite-0.30.0.sha256sum] = "a78046161564f5e7cd9008aff3b2990b3850dc8e0349119b98e8f251e099f24d"
+SRC_URI[rustfix-0.7.0.sha256sum] = "7ec10cbeb92a2e494ef354d66126882da8c0a244ad769e2a7193efc5de625175"
+SRC_URI[rustix-0.38.31.sha256sum] = "6ea3e1a662af26cd7a3ba09c0297a31af215563ecf42817c98df621387f4e949"
+SRC_URI[ryu-1.0.16.sha256sum] = "f98d2aa92eebf49b69786be48e4477826b256916e84a57ff2a4f21923b48eb4c"
+SRC_URI[same-file-1.0.6.sha256sum] = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"
+SRC_URI[schannel-0.1.23.sha256sum] = "fbc91545643bcf3a0bbb6569265615222618bdf33ce4ffbbd13c4bbd4c093534"
+SRC_URI[scopeguard-1.2.0.sha256sum] = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
+SRC_URI[sec1-0.7.3.sha256sum] = "d3e97a565f76233a6003f9f5c54be1d9c5bdfa3eccfb189469f11ec4901c47dc"
+SRC_URI[security-framework-2.9.2.sha256sum] = "05b64fb303737d99b81884b2c63433e9ae28abebe5eb5045dcdd175dc2ecf4de"
+SRC_URI[security-framework-sys-2.9.1.sha256sum] = "e932934257d3b408ed8f30db49d85ea163bfe74961f017f405b025af298f0c7a"
+SRC_URI[semver-1.0.21.sha256sum] = "b97ed7a9823b74f99c7742f5336af7be5ecd3eeafcb1507d1fa93347b1d589b0"
+SRC_URI[serde-1.0.196.sha256sum] = "870026e60fa08c69f064aa766c10f10b1d62db9ccd4d0abb206472bee0ce3b32"
+SRC_URI[serde-untagged-0.1.5.sha256sum] = "6a160535368dfc353348e7eaa299156bd508c60c45a9249725f5f6d370d82a66"
+SRC_URI[serde-value-0.7.0.sha256sum] = "f3a1a3341211875ef120e117ea7fd5228530ae7e7036a779fdc9117be6b3282c"
+SRC_URI[serde_derive-1.0.196.sha256sum] = "33c85360c95e7d137454dc81d9a4ed2b8efd8fbe19cee57357b32b9771fccb67"
+SRC_URI[serde_ignored-0.1.10.sha256sum] = "a8e319a36d1b52126a0d608f24e93b2d81297091818cd70625fcf50a15d84ddf"
+SRC_URI[serde_json-1.0.113.sha256sum] = "69801b70b1c3dac963ecb03a364ba0ceda9cf60c71cfe475e99864759c8b8a79"
+SRC_URI[serde_spanned-0.6.5.sha256sum] = "eb3622f419d1296904700073ea6cc23ad690adbd66f13ea683df73298736f0c1"
+SRC_URI[sha1-0.10.6.sha256sum] = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba"
+SRC_URI[sha1_smol-1.0.0.sha256sum] = "ae1a47186c03a32177042e55dbc5fd5aee900b8e0069a8d70fba96a9375cd012"
+SRC_URI[sha2-0.10.8.sha256sum] = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8"
+SRC_URI[sharded-slab-0.1.7.sha256sum] = "f40ca3c46823713e0d4209592e8d6e826aa57e928f09752619fc696c499637f6"
+SRC_URI[shell-escape-0.1.5.sha256sum] = "45bb67a18fa91266cc7807181f62f9178a6873bfad7dc788c42e6430db40184f"
+SRC_URI[shell-words-1.1.0.sha256sum] = "24188a676b6ae68c3b2cb3a01be17fbf7240ce009799bb56d5b1409051e78fde"
+SRC_URI[signature-2.2.0.sha256sum] = "77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de"
+SRC_URI[sized-chunks-0.6.5.sha256sum] = "16d69225bde7a69b235da73377861095455d298f2b970996eec25ddbb42b3d1e"
+SRC_URI[smallvec-1.13.1.sha256sum] = "e6ecd384b10a64542d77071bd64bd7b231f4ed5940fba55e98c3de13824cf3d7"
+SRC_URI[socket2-0.5.5.sha256sum] = "7b5fac59a5cb5dd637972e5fca70daf0523c9067fcdc4842f053dae04a18f8e9"
+SRC_URI[spki-0.7.3.sha256sum] = "d91ed6c858b01f942cd56b37a94b3e0a1798290327d1236e4d9cf4eaca44d29d"
+SRC_URI[static_assertions-1.1.0.sha256sum] = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
+SRC_URI[strsim-0.11.0.sha256sum] = "5ee073c9e4cd00e28217186dbe12796d692868f432bf2e97ee73bed0c56dfa01"
+SRC_URI[subtle-2.5.0.sha256sum] = "81cdd64d312baedb58e21336b31bc043b77e01cc99033ce76ef539f78e965ebc"
+SRC_URI[supports-hyperlinks-2.1.0.sha256sum] = "f84231692eb0d4d41e4cdd0cabfdd2e6cd9e255e65f80c9aa7c98dd502b4233d"
+SRC_URI[syn-1.0.109.sha256sum] = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237"
+SRC_URI[syn-2.0.48.sha256sum] = "0f3531638e407dfc0814761abb7c00a5b54992b849452a0646b7f65c9f770f3f"
+SRC_URI[tar-0.4.40.sha256sum] = "b16afcea1f22891c49a00c751c7b63b2233284064f11a200fc624137c51e2ddb"
+SRC_URI[tempfile-3.10.0.sha256sum] = "a365e8cd18e44762ef95d87f284f4b5cd04107fec2ff3052bd6a3e6069669e67"
+SRC_URI[terminal_size-0.3.0.sha256sum] = "21bebf2b7c9e0a515f6e0f8c51dc0f8e4696391e6f1ff30379559f8365fb0df7"
+SRC_URI[thiserror-1.0.56.sha256sum] = "d54378c645627613241d077a3a79db965db602882668f9136ac42af9ecb730ad"
+SRC_URI[thiserror-impl-1.0.56.sha256sum] = "fa0faa943b50f3db30a20aa7e265dbc66076993efed8463e8de414e5d06d3471"
+SRC_URI[thread_local-1.1.7.sha256sum] = "3fdd6f064ccff2d6567adcb3873ca630700f00b5ad3f060c25b5dcfd9a4ce152"
+SRC_URI[time-0.3.34.sha256sum] = "c8248b6521bb14bc45b4067159b9b6ad792e2d6d754d6c41fb50e29fefe38749"
+SRC_URI[time-core-0.1.2.sha256sum] = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3"
+SRC_URI[time-macros-0.2.17.sha256sum] = "7ba3a3ef41e6672a2f0f001392bb5dcd3ff0a9992d618ca761a11c3121547774"
+SRC_URI[tinyvec-1.6.0.sha256sum] = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50"
+SRC_URI[tinyvec_macros-0.1.1.sha256sum] = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20"
+SRC_URI[toml-0.5.11.sha256sum] = "f4f7f0dd8d50a853a531c426359045b1998f04219d88799810762cd4ad314234"
+SRC_URI[toml-0.8.10.sha256sum] = "9a9aad4a3066010876e8dcf5a8a06e70a558751117a145c6ce2b82c2e2054290"
+SRC_URI[toml_datetime-0.6.5.sha256sum] = "3550f4e9685620ac18a50ed434eb3aec30db8ba93b0287467bca5826ea25baf1"
+SRC_URI[toml_edit-0.21.1.sha256sum] = "6a8534fd7f78b5405e860340ad6575217ce99f38d4d5c8f2442cb5ecb50090e1"
+SRC_URI[toml_edit-0.22.4.sha256sum] = "0c9ffdf896f8daaabf9b66ba8e77ea1ed5ed0f72821b398aba62352e95062951"
+SRC_URI[tracing-0.1.40.sha256sum] = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef"
+SRC_URI[tracing-attributes-0.1.27.sha256sum] = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7"
+SRC_URI[tracing-core-0.1.32.sha256sum] = "c06d3da6113f116aaee68e4d601191614c9053067f9ab7f6edbcb161237daa54"
+SRC_URI[tracing-log-0.2.0.sha256sum] = "ee855f1f400bd0e5c02d150ae5de3840039a3f54b025156404e34c23c03f47c3"
+SRC_URI[tracing-subscriber-0.3.18.sha256sum] = "ad0f048c97dbd9faa9b7df56362b8ebcaa52adb06b498c050d2f4e32f90a7a8b"
+SRC_URI[typenum-1.17.0.sha256sum] = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825"
+SRC_URI[unicase-2.7.0.sha256sum] = "f7d2d4dafb69621809a81864c9c1b864479e1235c0dd4e199924b9742439ed89"
+SRC_URI[unicode-bidi-0.3.15.sha256sum] = "08f95100a766bf4f8f28f90d77e0a5461bbdb219042e7679bebe79004fed8d75"
+SRC_URI[unicode-bom-2.0.3.sha256sum] = "7eec5d1121208364f6793f7d2e222bf75a915c19557537745b195b253dd64217"
+SRC_URI[unicode-ident-1.0.12.sha256sum] = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"
+SRC_URI[unicode-normalization-0.1.22.sha256sum] = "5c5713f0fc4b5db668a2ac63cdb7bb4469d8c9fed047b1d0292cc7b0ce2ba921"
+SRC_URI[unicode-width-0.1.11.sha256sum] = "e51733f11c9c4f72aa0c160008246859e340b00807569a0da0e7a1079b27ba85"
+SRC_URI[unicode-xid-0.2.4.sha256sum] = "f962df74c8c05a667b5ee8bcf162993134c104e96440b663c8daa176dc772d8c"
+SRC_URI[url-2.5.0.sha256sum] = "31e6302e3bb753d46e83516cae55ae196fc0c309407cf11ab35cc51a4c2a4633"
+SRC_URI[utf8parse-0.2.1.sha256sum] = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a"
+SRC_URI[valuable-0.1.0.sha256sum] = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d"
+SRC_URI[vcpkg-0.2.15.sha256sum] = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426"
+SRC_URI[version_check-0.9.4.sha256sum] = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f"
+SRC_URI[walkdir-2.4.0.sha256sum] = "d71d857dc86794ca4c280d616f7da00d2dbfd8cd788846559a6813e6aa4b54ee"
+SRC_URI[wasi-0.11.0+wasi-snapshot-preview1.sha256sum] = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
+SRC_URI[wasm-bindgen-0.2.91.sha256sum] = "c1e124130aee3fb58c5bdd6b639a0509486b0338acaaae0c84a5124b0f588b7f"
+SRC_URI[wasm-bindgen-backend-0.2.91.sha256sum] = "c9e7e1900c352b609c8488ad12639a311045f40a35491fb69ba8c12f758af70b"
+SRC_URI[wasm-bindgen-macro-0.2.91.sha256sum] = "b30af9e2d358182b5c7449424f017eba305ed32a7010509ede96cdc4696c46ed"
+SRC_URI[wasm-bindgen-macro-support-0.2.91.sha256sum] = "642f325be6301eb8107a83d12a8ac6c1e1c54345a7ef1a9261962dfefda09e66"
+SRC_URI[wasm-bindgen-shared-0.2.91.sha256sum] = "4f186bd2dcf04330886ce82d6f33dd75a7bfcf69ecf5763b89fcde53b6ac9838"
+SRC_URI[winapi-0.3.9.sha256sum] = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
+SRC_URI[winapi-i686-pc-windows-gnu-0.4.0.sha256sum] = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
+SRC_URI[winapi-util-0.1.6.sha256sum] = "f29e6f9198ba0d26b4c9f07dbe6f9ed633e1f3d5b8b414090084349e46a52596"
+SRC_URI[winapi-x86_64-pc-windows-gnu-0.4.0.sha256sum] = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
+SRC_URI[windows-sys-0.48.0.sha256sum] = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9"
+SRC_URI[windows-sys-0.52.0.sha256sum] = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
+SRC_URI[windows-targets-0.48.5.sha256sum] = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c"
+SRC_URI[windows-targets-0.52.0.sha256sum] = "8a18201040b24831fbb9e4eb208f8892e1f50a37feb53cc7ff887feb8f50e7cd"
+SRC_URI[windows_aarch64_gnullvm-0.48.5.sha256sum] = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8"
+SRC_URI[windows_aarch64_gnullvm-0.52.0.sha256sum] = "cb7764e35d4db8a7921e09562a0304bf2f93e0a51bfccee0bd0bb0b666b015ea"
+SRC_URI[windows_aarch64_msvc-0.48.5.sha256sum] = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc"
+SRC_URI[windows_aarch64_msvc-0.52.0.sha256sum] = "bbaa0368d4f1d2aaefc55b6fcfee13f41544ddf36801e793edbbfd7d7df075ef"
+SRC_URI[windows_i686_gnu-0.48.5.sha256sum] = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e"
+SRC_URI[windows_i686_gnu-0.52.0.sha256sum] = "a28637cb1fa3560a16915793afb20081aba2c92ee8af57b4d5f28e4b3e7df313"
+SRC_URI[windows_i686_msvc-0.48.5.sha256sum] = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406"
+SRC_URI[windows_i686_msvc-0.52.0.sha256sum] = "ffe5e8e31046ce6230cc7215707b816e339ff4d4d67c65dffa206fd0f7aa7b9a"
+SRC_URI[windows_x86_64_gnu-0.48.5.sha256sum] = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e"
+SRC_URI[windows_x86_64_gnu-0.52.0.sha256sum] = "3d6fa32db2bc4a2f5abeacf2b69f7992cd09dca97498da74a151a3132c26befd"
+SRC_URI[windows_x86_64_gnullvm-0.48.5.sha256sum] = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc"
+SRC_URI[windows_x86_64_gnullvm-0.52.0.sha256sum] = "1a657e1e9d3f514745a572a6846d3c7aa7dbe1658c056ed9c3344c4109a6949e"
+SRC_URI[windows_x86_64_msvc-0.48.5.sha256sum] = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538"
+SRC_URI[windows_x86_64_msvc-0.52.0.sha256sum] = "dff9641d1cd4be8d1a070daf9e3773c5f67e78b4d9d42263020c057706765c04"
+SRC_URI[winnow-0.5.39.sha256sum] = "5389a154b01683d28c77f8f68f49dea75f0a4da32557a58f68ee51ebba472d29"
+SRC_URI[zerocopy-0.7.32.sha256sum] = "74d4d3961e53fa4c9a25a8637fc2bfaf2595b3d3ae34875568a5cf64787716be"
+SRC_URI[zerocopy-derive-0.7.32.sha256sum] = "9ce1b18ccd8e73a9321186f97e46f9f04b778851177567b1975109d26a08d2a6"
+SRC_URI[zeroize-1.7.0.sha256sum] = "525b4ec142c6b68a2d10f01f7bbf6755599ca3f81ea53b8431b7dd348f5fdb2d"
diff --git a/meta/recipes-devtools/rust/cargo-c-native_0.9.30+cargo-0.77.0.bb b/meta/recipes-devtools/rust/cargo-c-native_0.9.30+cargo-0.77.0.bb
new file mode 100644
index 0000000000..8e17606b73
--- /dev/null
+++ b/meta/recipes-devtools/rust/cargo-c-native_0.9.30+cargo-0.77.0.bb
@@ -0,0 +1,17 @@
+SUMMARY = "cargo applet to build and install C-ABI compatible dynamic and static libraries."
+HOMEPAGE = "https://crates.io/crates/cargo-c"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = " \
+ file://LICENSE;md5=384ed0e2e0b2dac094e51fbf93fdcbe0 \
+"
+
+SRC_URI = "crate://crates.io/cargo-c/${PV};name=cargo-c"
+SRC_URI[cargo-c.sha256sum] = "ec77e3635cdb0d211f88f22d0460eef0ba031eb616ded57f2ffb98a90365c445"
+S = "${CARGO_VENDORING_DIRECTORY}/cargo-c-${PV}"
+
+inherit cargo cargo-update-recipe-crates pkgconfig native
+
+DEPENDS = "openssl curl"
+
+require ${BPN}-crates.inc
+
diff --git a/meta/recipes-devtools/rust/cargo_1.75.0.bb b/meta/recipes-devtools/rust/cargo_1.75.0.bb
new file mode 100644
index 0000000000..123032cdf7
--- /dev/null
+++ b/meta/recipes-devtools/rust/cargo_1.75.0.bb
@@ -0,0 +1,73 @@
+SUMMARY = "Cargo, a package manager for Rust."
+HOMEPAGE = "https://crates.io"
+LICENSE = "MIT | Apache-2.0"
+SECTION = "devel"
+
+DEPENDS = "openssl zlib curl ca-certificates libssh2"
+
+LIC_FILES_CHKSUM = " \
+ file://LICENSE-MIT;md5=b377b220f43d747efdec40d69fcaa69d \
+ file://LICENSE-APACHE;md5=71b224ca933f0676e26d5c2e2271331c \
+ file://LICENSE-THIRD-PARTY;md5=f257ad009884cb88a3a87d6920e7180a \
+"
+
+require rust-source.inc
+require rust-snapshot.inc
+
+S = "${RUSTSRC}/src/tools/cargo"
+CARGO_VENDORING_DIRECTORY = "${RUSTSRC}/vendor"
+
+inherit cargo pkgconfig
+
+DEBUG_PREFIX_MAP += "-fdebug-prefix-map=${RUSTSRC}/vendor=${TARGET_DBGSRC_DIR}"
+
+do_cargo_setup_snapshot () {
+ ${UNPACKDIR}/rust-snapshot-components/${CARGO_SNAPSHOT}/install.sh --prefix="${WORKDIR}/${CARGO_SNAPSHOT}" --disable-ldconfig
+ # Need to use uninative's loader if enabled/present since the library paths
+ # are used internally by rust and result in symbol mismatches if we don't
+ if [ ! -z "${UNINATIVE_LOADER}" -a -e "${UNINATIVE_LOADER}" ]; then
+ patchelf-uninative ${WORKDIR}/${CARGO_SNAPSHOT}/bin/cargo --set-interpreter ${UNINATIVE_LOADER}
+ fi
+}
+
+addtask cargo_setup_snapshot after do_unpack before do_configure
+do_cargo_setup_snapshot[dirs] += "${WORKDIR}/${CARGO_SNAPSHOT}"
+do_cargo_setup_snapshot[vardepsexclude] += "UNINATIVE_LOADER"
+
+
+do_compile:prepend () {
+ export RUSTC_BOOTSTRAP="1"
+}
+
+do_install () {
+ install -d "${D}${bindir}"
+ install -m 755 "${B}/target/${CARGO_TARGET_SUBDIR}/cargo" "${D}${bindir}"
+}
+
+do_install:append:class-nativesdk() {
+ # To quote the cargo docs, "Cargo also sets the dynamic library path when compiling
+ # and running binaries with commands like `cargo run` and `cargo test`". Sadly it
+ # sets to libdir but not base_libdir leading to symbol mismatches depending on the
+ # host OS. Fully set LD_LIBRARY_PATH to contain both to avoid this.
+ create_wrapper ${D}/${bindir}/cargo LD_LIBRARY_PATH=${libdir}:${base_libdir}
+}
+
+# Disabled due to incompatibility with libgit2 0.28.x (https://github.com/rust-lang/git2-rs/issues/458, https://bugs.gentoo.org/707746#c1)
+# as shipped by Yocto Dunfell.
+# According to https://github.com/rust-lang/git2-rs/issues/458#issuecomment-522567539, there are no compatibility guarantees between
+# libgit2-sys and arbitrary system libgit2 versions, so better keep this turned off.
+#export LIBGIT2_SYS_USE_PKG_CONFIG = "1"
+
+# Needed for pkg-config to be used
+export LIBSSH2_SYS_USE_PKG_CONFIG = "1"
+
+# When building cargo-native we don't have cargo-native to use and depend on,
+# so we must use the locally set up snapshot to bootstrap the build.
+BASEDEPENDS:remove:class-native = "cargo-native"
+CARGO:class-native = "${WORKDIR}/${CARGO_SNAPSHOT}/bin/cargo"
+
+DEPENDS:append:class-nativesdk = " nativesdk-rust"
+RUSTLIB:append:class-nativesdk = " -L ${STAGING_DIR_HOST}/${SDKPATHNATIVE}/usr/lib/rustlib/${RUST_HOST_SYS}/lib"
+RUSTLIB_DEP:class-nativesdk = ""
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/rust/files/0001-Handle-vendored-sources-when-remapping-paths.patch b/meta/recipes-devtools/rust/files/0001-Handle-vendored-sources-when-remapping-paths.patch
new file mode 100644
index 0000000000..a46ee14402
--- /dev/null
+++ b/meta/recipes-devtools/rust/files/0001-Handle-vendored-sources-when-remapping-paths.patch
@@ -0,0 +1,46 @@
+From 5e37ea7cb9d99d91f2c5ac6edf19ff777f95bb88 Mon Sep 17 00:00:00 2001
+From: Arlo Siemsen <arsiem@microsoft.com>
+Date: Thu, 4 Jan 2024 11:40:56 -0600
+Subject: [PATCH] Handle vendored sources when remapping paths
+
+Upstream-Status: Submitted [https://github.com/rust-lang/rust/pull/119582]
+Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
+---
+ src/bootstrap/src/core/builder.rs | 19 ++++++++++++-------
+ 1 file changed, 12 insertions(+), 7 deletions(-)
+
+diff --git a/src/bootstrap/src/core/builder.rs b/src/bootstrap/src/core/builder.rs
+index cd276674dee6..48fdb2c7f7b7 100644
+--- a/src/bootstrap/src/core/builder.rs
++++ b/src/bootstrap/src/core/builder.rs
+@@ -1789,15 +1789,20 @@ pub fn cargo(
+ }
+
+ if self.config.rust_remap_debuginfo {
+- // FIXME: handle vendored sources
+- let registry_src = t!(home::cargo_home()).join("registry").join("src");
+ let mut env_var = OsString::new();
+- for entry in t!(std::fs::read_dir(registry_src)) {
+- if !env_var.is_empty() {
+- env_var.push("\t");
+- }
+- env_var.push(t!(entry).path());
++ if self.config.vendor {
++ let vendor = self.build.src.join("vendor");
++ env_var.push(vendor);
+ env_var.push("=/rust/deps");
++ } else {
++ let registry_src = t!(home::cargo_home()).join("registry").join("src");
++ for entry in t!(std::fs::read_dir(registry_src)) {
++ if !env_var.is_empty() {
++ env_var.push("\t");
++ }
++ env_var.push(t!(entry).path());
++ env_var.push("=/rust/deps");
++ }
+ }
+ cargo.env("RUSTC_CARGO_REGISTRY_SRC_TO_REMAP", env_var);
+ }
+--
+2.39.0
+
diff --git a/meta/recipes-devtools/rust/files/0001-Revert-Map-source-absolute-paths-to-OUT_DIR-as-relat.patch b/meta/recipes-devtools/rust/files/0001-Revert-Map-source-absolute-paths-to-OUT_DIR-as-relat.patch
new file mode 100644
index 0000000000..f75a75fa4e
--- /dev/null
+++ b/meta/recipes-devtools/rust/files/0001-Revert-Map-source-absolute-paths-to-OUT_DIR-as-relat.patch
@@ -0,0 +1,67 @@
+From 8bf0c566387e6a48d854d5f69c43c8bfa45092f9 Mon Sep 17 00:00:00 2001
+From: Alex Kiernan <alexk@zuma.ai>
+Date: Sun, 24 Dec 2023 09:40:01 +0000
+Subject: [PATCH] Revert "Map source absolute paths to OUT_DIR as relative.
+ (#684)"
+
+This reverts commit c4f414f449bb7cffba3bc923f277704d1d08a8ec.
+
+Upstream-Status: Inappropriate [patches need rework]
+Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
+---
+ src/lib.rs | 22 ++--------------------
+ 1 file changed, 2 insertions(+), 20 deletions(-)
+
+Index: rustc-1.72.0-src/vendor/cc/src/lib.rs
+===================================================================
+--- rustc-1.72.0-src.orig/vendor/cc/src/lib.rs
++++ rustc-1.72.0-src/vendor/cc/src/lib.rs
+@@ -56,12 +56,11 @@
+ #![allow(deprecated)]
+ #![deny(missing_docs)]
+
+-use std::collections::{hash_map, HashMap};
++use std::collections::HashMap;
+ use std::env;
+ use std::ffi::{OsStr, OsString};
+ use std::fmt::{self, Display, Formatter};
+ use std::fs;
+-use std::hash::Hasher;
+ use std::io::{self, BufRead, BufReader, Read, Write};
+ use std::path::{Component, Path, PathBuf};
+ use std::process::{Child, Command, Stdio};
+@@ -1037,24 +1036,7 @@ impl Build {
+
+ let mut objects = Vec::new();
+ for file in self.files.iter() {
+- let obj = if file.has_root() {
+- // If `file` is an absolute path, prefix the `basename`
+- // with the `dirname`'s hash to ensure name uniqueness.
+- let basename = file
+- .file_name()
+- .ok_or_else(|| Error::new(ErrorKind::InvalidArgument, "file_name() failure"))?
+- .to_string_lossy();
+- let dirname = file
+- .parent()
+- .ok_or_else(|| Error::new(ErrorKind::InvalidArgument, "parent() failure"))?
+- .to_string_lossy();
+- let mut hasher = hash_map::DefaultHasher::new();
+- hasher.write(dirname.to_string().as_bytes());
+- dst.join(format!("{:016x}-{}", hasher.finish(), basename))
+- .with_extension("o")
+- } else {
+- dst.join(file).with_extension("o")
+- };
++ let obj = dst.join(file).with_extension("o");
+ let obj = if !obj.starts_with(&dst) {
+ dst.join(obj.file_name().ok_or_else(|| {
+ Error::new(ErrorKind::IOError, "Getting object file details failed.")
+Index: rustc-1.72.0-src/vendor/cc/.cargo-checksum.json
+===================================================================
+--- rustc-1.72.0-src.orig/vendor/cc/.cargo-checksum.json
++++ rustc-1.72.0-src/vendor/cc/.cargo-checksum.json
+@@ -1 +1 @@
+-{"files":{"Cargo.lock":"dddb9c49058d411a098e98dc1c06e3bc89f859a2080d96c11b11aec67394bb8c","Cargo.toml":"1953a8bc4b98e351fe75917c151b1e08a46531d562aebba25a90add4aadecac2","LICENSE-APACHE":"a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2","LICENSE-MIT":"378f5840b258e2779c39418f3f2d7b2ba96f1c7917dd6be0713f88305dbda397","README.md":"58af5106352aafa62175a90f8a5f25fa114028bf909220dc0735d79745999ec1","src/bin/gcc-shim.rs":"36dc4e447428e73c548cc7106ca1e8f282c098463b014e13a729a44445de4880","src/com.rs":"29d0dee08a656ab1a4cc3e5fe24542e0fab5c1373cbc9b05059f7572cf9b8313","src/lib.rs":"17a4659710aa290c4ed9c23063c7b202c5bcf2a84de33aa1f01fc6fded69a1f8","src/registry.rs":"98ae2b71781acc49297e5544fa0cf059f735636f8f1338edef8dbf7232443945","src/setup_config.rs":"72deaf1927c0b713fd5c2b2d5b8f0ea3a303a00fda1579427895cac26a94122d","src/vs_instances.rs":"2d3f8278a803b0e7052f4eeb1979b29f963dd0143f4458e2cb5f33c4e5f0963b","src/winapi.rs":"e128e95b2d39ae7a02f54a7e25d33c488c14759b9f1a50a449e10545856950c3","src/windows_registry.rs":"1f973f804b4b451e48ff6d98ce660355772f164dfdf79a6ae514645c7c764005","tests/cc_env.rs":"e02b3b0824ad039b47e4462c5ef6dbe6c824c28e7953af94a0f28f7b5158042e","tests/cflags.rs":"57f06eb5ce1557e5b4a032d0c4673e18fbe6f8d26c1deb153126e368b96b41b3","tests/cxxflags.rs":"c2c6c6d8a0d7146616fa1caed26876ee7bc9fcfffd525eb4743593cade5f3371","tests/support/mod.rs":"a3c8d116973bb16066bf6ec4de5143183f97de7aad085d85f8118a2eaac3e1e0","tests/test.rs":"61fb35ae6dd5cf506ada000bdd82c92e9f8eac9cc053b63e83d3f897436fbf8f"},"package":"50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f"}
+\ No newline at end of file
++{"files":{"Cargo.lock":"dddb9c49058d411a098e98dc1c06e3bc89f859a2080d96c11b11aec67394bb8c","Cargo.toml":"1953a8bc4b98e351fe75917c151b1e08a46531d562aebba25a90add4aadecac2","LICENSE-APACHE":"a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2","LICENSE-MIT":"378f5840b258e2779c39418f3f2d7b2ba96f1c7917dd6be0713f88305dbda397","README.md":"58af5106352aafa62175a90f8a5f25fa114028bf909220dc0735d79745999ec1","src/bin/gcc-shim.rs":"36dc4e447428e73c548cc7106ca1e8f282c098463b014e13a729a44445de4880","src/com.rs":"29d0dee08a656ab1a4cc3e5fe24542e0fab5c1373cbc9b05059f7572cf9b8313","src/lib.rs":"dfb36b17362e9a5b266cb19a229d982e8c0bba784b1e99769f690692b0cd5c4e","src/registry.rs":"98ae2b71781acc49297e5544fa0cf059f735636f8f1338edef8dbf7232443945","src/setup_config.rs":"72deaf1927c0b713fd5c2b2d5b8f0ea3a303a00fda1579427895cac26a94122d","src/vs_instances.rs":"2d3f8278a803b0e7052f4eeb1979b29f963dd0143f4458e2cb5f33c4e5f0963b","src/winapi.rs":"e128e95b2d39ae7a02f54a7e25d33c488c14759b9f1a50a449e10545856950c3","src/windows_registry.rs":"1f973f804b4b451e48ff6d98ce660355772f164dfdf79a6ae514645c7c764005","tests/cc_env.rs":"e02b3b0824ad039b47e4462c5ef6dbe6c824c28e7953af94a0f28f7b5158042e","tests/cflags.rs":"57f06eb5ce1557e5b4a032d0c4673e18fbe6f8d26c1deb153126e368b96b41b3","tests/cxxflags.rs":"c2c6c6d8a0d7146616fa1caed26876ee7bc9fcfffd525eb4743593cade5f3371","tests/support/mod.rs":"a3c8d116973bb16066bf6ec4de5143183f97de7aad085d85f8118a2eaac3e1e0","tests/test.rs":"61fb35ae6dd5cf506ada000bdd82c92e9f8eac9cc053b63e83d3f897436fbf8f"},"package":"50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f"}
+\ No newline at end of file
diff --git a/meta/recipes-devtools/rust/files/0001-cargo-do-not-write-host-information-into-compilation.patch b/meta/recipes-devtools/rust/files/0001-cargo-do-not-write-host-information-into-compilation.patch
new file mode 100644
index 0000000000..a6ee867605
--- /dev/null
+++ b/meta/recipes-devtools/rust/files/0001-cargo-do-not-write-host-information-into-compilation.patch
@@ -0,0 +1,51 @@
+From 065d7c263091118437465d714d8a29dbb6296921 Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin <alex@linutronix.de>
+Date: Mon, 13 May 2024 14:57:54 +0200
+Subject: [PATCH] cargo: do not write host information into compilation unit
+ hashes
+
+This breaks reproducibility in cross-builds where the cross-target
+can be the same, but build hosts are different, as seen with
+"rustc --version -v":
+...
+host: x86_64-unknown-linux-gnu
+
+vs.
+
+host: aarch64-unknown-linux-gnu
+
+This can possibly be improved by only hashing host info if the build
+is a native one (e.g. there's no --target option passed to cargo
+invocation) but I'm not sure how.
+
+Upstream-Status: Inappropriate [reported at https://github.com/rust-lang/cargo/issues/13922]
+Signed-off-by: Alexander Kanavin <alex@linutronix.de>
+---
+ .../src/cargo/core/compiler/context/compilation_files.rs | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/tools/cargo/src/cargo/core/compiler/context/compilation_files.rs b/src/tools/cargo/src/cargo/core/compiler/context/compilation_files.rs
+index d83dbf10c..b2ad8d9f3 100644
+--- a/src/tools/cargo/src/cargo/core/compiler/context/compilation_files.rs
++++ b/src/tools/cargo/src/cargo/core/compiler/context/compilation_files.rs
+@@ -652,7 +652,7 @@ fn hash_rustc_version(bcx: &BuildContext<'_, '_>, hasher: &mut StableHasher) {
+ if vers.pre.is_empty() || bcx.config.cli_unstable().separate_nightlies {
+ // For stable, keep the artifacts separate. This helps if someone is
+ // testing multiple versions, to avoid recompiles.
+- bcx.rustc().verbose_version.hash(hasher);
++ //bcx.rustc().verbose_version.hash(hasher);
+ return;
+ }
+ // On "nightly"/"beta"/"dev"/etc, keep each "channel" separate. Don't hash
+@@ -665,7 +665,7 @@ fn hash_rustc_version(bcx: &BuildContext<'_, '_>, hasher: &mut StableHasher) {
+ // Keep "host" since some people switch hosts to implicitly change
+ // targets, (like gnu vs musl or gnu vs msvc). In the future, we may want
+ // to consider hashing `unit.kind.short_name()` instead.
+- bcx.rustc().host.hash(hasher);
++ //bcx.rustc().host.hash(hasher);
+ // None of the other lines are important. Currently they are:
+ // binary: rustc <-- or "rustdoc"
+ // commit-hash: 38114ff16e7856f98b2b4be7ab4cd29b38bed59a
+--
+2.39.2
+
diff --git a/meta/recipes-devtools/rust/files/custom-target-cfg.patch b/meta/recipes-devtools/rust/files/custom-target-cfg.patch
new file mode 100644
index 0000000000..15a7f252cc
--- /dev/null
+++ b/meta/recipes-devtools/rust/files/custom-target-cfg.patch
@@ -0,0 +1,90 @@
+Detect and fetch custom target configurations when rustc is
+bootstrapped in rust oe-selftest.
+
+Upstream-Status: Backport [https://github.com/rust-lang/rust/pull/119619/commits/26c71cbcf1a9bce6ceb962d753c467d098f63cf6]
+
+Signed-off-by: onur-ozkan <work@onurozkan.dev>
+Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
+---
+diff --git a/src/tools/compiletest/src/common.rs b/src/tools/compiletest/src/common.rs
+index e85f6319936..c45c0b3c652 100644
+--- a/src/tools/compiletest/src/common.rs
++++ b/src/tools/compiletest/src/common.rs
+@@ -479,6 +479,7 @@ fn new(config: &Config) -> TargetCfgs {
+ let mut targets: HashMap<String, TargetCfg> = serde_json::from_str(&rustc_output(
+ config,
+ &["--print=all-target-specs-json", "-Zunstable-options"],
++ Default::default(),
+ ))
+ .unwrap();
+
+@@ -491,16 +492,33 @@ fn new(config: &Config) -> TargetCfgs {
+ let mut all_families = HashSet::new();
+ let mut all_pointer_widths = HashSet::new();
+
+- // Handle custom target specs, which are not included in `--print=all-target-specs-json`.
+- if config.target.ends_with(".json") {
+- targets.insert(
+- config.target.clone(),
+- serde_json::from_str(&rustc_output(
+- config,
+- &["--print=target-spec-json", "-Zunstable-options", "--target", &config.target],
+- ))
+- .unwrap(),
+- );
++ // If current target is not included in the `--print=all-target-specs-json` output,
++ // we check whether it is a custom target from the user or a synthetic target from bootstrap.
++ if !targets.contains_key(&config.target) {
++ let mut envs: HashMap<String, String> = HashMap::new();
++
++ if let Ok(t) = std::env::var("RUST_TARGET_PATH") {
++ envs.insert("RUST_TARGET_PATH".into(), t);
++ }
++
++ // This returns false only when the target is neither a synthetic target
++ // nor a custom target from the user, indicating it is most likely invalid.
++ if config.target.ends_with(".json") || !envs.is_empty() {
++ targets.insert(
++ config.target.clone(),
++ serde_json::from_str(&rustc_output(
++ config,
++ &[
++ "--print=target-spec-json",
++ "-Zunstable-options",
++ "--target",
++ &config.target,
++ ],
++ envs,
++ ))
++ .unwrap(),
++ );
++ }
+ }
+
+ for (target, cfg) in targets.iter() {
+@@ -545,7 +563,9 @@ fn get_current_target_config(
+ // code below extracts them from `--print=cfg`: make sure to only override fields that can
+ // actually be changed with `-C` flags.
+ for config in
+- rustc_output(config, &["--print=cfg", "--target", &config.target]).trim().lines()
++ rustc_output(config, &["--print=cfg", "--target", &config.target], Default::default())
++ .trim()
++ .lines()
+ {
+ let (name, value) = config
+ .split_once("=\"")
+@@ -624,11 +644,12 @@ pub enum Endian {
+ Big,
+ }
+
+-fn rustc_output(config: &Config, args: &[&str]) -> String {
++fn rustc_output(config: &Config, args: &[&str], envs: HashMap<String, String>) -> String {
+ let mut command = Command::new(&config.rustc_path);
+ add_dylib_path(&mut command, iter::once(&config.compile_lib_path));
+ command.args(&config.target_rustcflags).args(args);
+ command.env("RUSTC_BOOTSTRAP", "1");
++ command.envs(envs);
+
+ let output = match command.output() {
+ Ok(output) => output,
+
diff --git a/meta/recipes-devtools/rust/files/hardcodepaths.patch b/meta/recipes-devtools/rust/files/hardcodepaths.patch
new file mode 100644
index 0000000000..a043095f62
--- /dev/null
+++ b/meta/recipes-devtools/rust/files/hardcodepaths.patch
@@ -0,0 +1,59 @@
+When building for the target, some build paths end up embedded in the binaries.
+These changes remove that. Further investigation is needed to work out the way
+to resolve these issues properly upstream.
+
+Upstream-Status: Inappropriate [patches need rework]
+Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
+Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
+
+diff --git a/compiler/rustc_codegen_llvm/src/context.rs b/compiler/rustc_codegen_llvm/src/context.rs
+index b4b2ab1e1f8a..8bb3e3f0557c 100644
+--- a/compiler/rustc_codegen_llvm/src/context.rs
++++ b/compiler/rustc_codegen_llvm/src/context.rs
+@@ -158,46 +158,6 @@ pub unsafe fn create_module<'ll>(
+ }
+ }
+
+- // Ensure the data-layout values hardcoded remain the defaults.
+- if sess.target.is_builtin {
+- // tm is disposed by its drop impl
+- let tm = crate::back::write::create_informational_target_machine(tcx.sess);
+- llvm::LLVMRustSetDataLayoutFromTargetMachine(llmod, &tm);
+-
+- let llvm_data_layout = llvm::LLVMGetDataLayoutStr(llmod);
+- let llvm_data_layout = str::from_utf8(CStr::from_ptr(llvm_data_layout).to_bytes())
+- .expect("got a non-UTF8 data-layout from LLVM");
+-
+- // Unfortunately LLVM target specs change over time, and right now we
+- // don't have proper support to work with any more than one
+- // `data_layout` than the one that is in the rust-lang/rust repo. If
+- // this compiler is configured against a custom LLVM, we may have a
+- // differing data layout, even though we should update our own to use
+- // that one.
+- //
+- // As an interim hack, if CFG_LLVM_ROOT is not an empty string then we
+- // disable this check entirely as we may be configured with something
+- // that has a different target layout.
+- //
+- // Unsure if this will actually cause breakage when rustc is configured
+- // as such.
+- //
+- // FIXME(#34960)
+- let cfg_llvm_root = option_env!("CFG_LLVM_ROOT").unwrap_or("");
+- let custom_llvm_used = !cfg_llvm_root.trim().is_empty();
+-
+- if !custom_llvm_used && target_data_layout != llvm_data_layout {
+- bug!(
+- "data-layout for target `{rustc_target}`, `{rustc_layout}`, \
+- differs from LLVM target's `{llvm_target}` default layout, `{llvm_layout}`",
+- rustc_target = sess.opts.target_triple,
+- rustc_layout = target_data_layout,
+- llvm_target = sess.target.llvm_target,
+- llvm_layout = llvm_data_layout
+- );
+- }
+- }
+-
+ let data_layout = SmallCStr::new(&target_data_layout);
+ llvm::LLVMSetDataLayout(llmod, data_layout.as_ptr());
+
diff --git a/meta/recipes-devtools/rust/files/repro-issue-fix-with-v175.patch b/meta/recipes-devtools/rust/files/repro-issue-fix-with-v175.patch
new file mode 100644
index 0000000000..fe0507c981
--- /dev/null
+++ b/meta/recipes-devtools/rust/files/repro-issue-fix-with-v175.patch
@@ -0,0 +1,36 @@
+rust: reproducibility issue fix with v1.75
+
+With 1.75 rust release, the '.rustc' section of shared object libs are embedded with absolute path names which is casuing reproducibility issues.
+This change will fix the path name format back to '/rust/$hash' as in earlier versions.
+
+Below are the links for detailed bug description & discusssion with upstream rust.
+https://github.com/rust-lang/rust/issues/120825#issuecomment-1964307219
+https://github.com/rust-lang/rust/issues/120825#issuecomment-1964652656
+
+Upstream-Status: Backport [https://github.com/rust-lang/rust/pull/121959/commits/a9a979839bbdfec48c75d618ab0dce8a953589b8]
+Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@windriver.com>
+---
+--- a/compiler/rustc_session/src/session.rs 2023-12-21 08:55:28.000000000 -0800
++++ b/compiler/rustc_session/src/session.rs 2024-02-26 07:29:15.527577022 -0800
+@@ -1260,19 +1260,6 @@
+ }
+
+ pub fn should_prefer_remapped_for_codegen(&self) -> bool {
+- // bail out, if any of the requested crate types aren't:
+- // "compiled executables or libraries"
+- for crate_type in &self.opts.crate_types {
+- match crate_type {
+- CrateType::Executable
+- | CrateType::Dylib
+- | CrateType::Rlib
+- | CrateType::Staticlib
+- | CrateType::Cdylib => continue,
+- CrateType::ProcMacro => return false,
+- }
+- }
+-
+ let has_split_debuginfo = match self.split_debuginfo() {
+ SplitDebuginfo::Off => false,
+ SplitDebuginfo::Packed => true,
+
+
diff --git a/meta/recipes-devtools/rust/files/rustc-bootstrap.patch b/meta/recipes-devtools/rust/files/rustc-bootstrap.patch
new file mode 100644
index 0000000000..1271d75e60
--- /dev/null
+++ b/meta/recipes-devtools/rust/files/rustc-bootstrap.patch
@@ -0,0 +1,21 @@
+When rust.channel is set to either beta or stable, we can't use
+nightly features on bootstrap without RUSTC_BOOTSTRAP. Set RUSTC_BOOTSTRAP=1
+to use nightly features on stable or beta.
+
+Upstream-Status: Backport [https://github.com/rust-lang/rust/pull/119619/commits/8aa7dd06f6e50621dc10f9f9490681be8a45876f]
+
+Signed-off-by: onur-ozkan <work@onurozkan.dev>
+Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
+---
+diff --git a/src/bootstrap/synthetic_targets.rs b/ src/bootstrap/synthetic_targets.rs
+index d2c65b740da..45baf56f46b 100644
+--- a/src/bootstrap/src/core/build_steps/synthetic_targets.rs
++++ b/src/bootstrap/src/core/build_steps/synthetic_targets.rs
+@@ -59,6 +59,7 @@ fn create_synthetic_target(
+ let mut cmd = Command::new(builder.rustc(compiler));
+ cmd.arg("--target").arg(base.rustc_target_arg());
+ cmd.args(["-Zunstable-options", "--print", "target-spec-json"]);
++ cmd.env("RUSTC_BOOTSTRAP", "1");
+ cmd.stdout(Stdio::piped());
+
+ let output = cmd.spawn().unwrap().wait_with_output().unwrap();
diff --git a/meta/recipes-devtools/rust/files/rv32-cargo-rustix-0.38.19-fix.patch b/meta/recipes-devtools/rust/files/rv32-cargo-rustix-0.38.19-fix.patch
new file mode 100644
index 0000000000..a7f3d11ede
--- /dev/null
+++ b/meta/recipes-devtools/rust/files/rv32-cargo-rustix-0.38.19-fix.patch
@@ -0,0 +1,70 @@
+Fix cargo build on riscv32
+
+riscv32 support is added to latest rustix already
+therefore this patch is limited to rustix-0.38.19
+once cargo/rust moves beyond rustix-0.38.19 as dependency
+we can remove this patch
+
+Upstream-Status: Inappropriate [Specific to rustix-0.38.19]
+
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+
+--- a/vendor/rustix-0.38.19/src/backend/libc/termios/syscalls.rs
++++ b/vendor/rustix-0.38.19/src/backend/libc/termios/syscalls.rs
+@@ -138,7 +138,7 @@ pub(crate) fn tcsetattr(
+ use crate::utils::default_array;
+ use linux_raw_sys::general::{termios2, BOTHER, CBAUD, IBSHIFT};
+
+- #[cfg(not(any(target_arch = "sparc", target_arch = "sparc64")))]
++ #[cfg(not(any(target_arch = "sparc", target_arch = "sparc64", target_arch = "riscv32")))]
+ use linux_raw_sys::ioctl::{TCSETS, TCSETS2};
+
+ // linux-raw-sys' ioctl-generation script for sparc isn't working yet,
+@@ -147,6 +147,10 @@ pub(crate) fn tcsetattr(
+ const TCSETS: u32 = 0x80245409;
+ #[cfg(any(target_arch = "sparc", target_arch = "sparc64"))]
+ const TCSETS2: u32 = 0x802c540d;
++ #[cfg(any(target_arch = "riscv32"))]
++ const TCSETS: u32 = 0x5402;
++ #[cfg(any(target_arch = "riscv32"))]
++ const TCSETS2: u32 = 0x402C542B;
+
+ // Translate from `optional_actions` into an ioctl request code. On
+ // MIPS, `optional_actions` already has `TCGETS` added to it.
+--- a/vendor/rustix-0.38.19/.cargo-checksum.json
++++ b/vendor/rustix-0.38.19/.cargo-checksum.json
+@@ -1 +1 @@
+-{"files":{"CODE_OF_CONDUCT.md":"f210602311e3f74b32f46237fd55f4ce36d798e85e3db1432ec667f63a7ffc44","CONTRIBUTING.md":"3fd57de5c678db1c972da676a8231d2fde9820695ef1f0d53f1e55a3e81d9de0","COPYRIGHT":"377c2e7c53250cc5905c0b0532d35973392af16ffb9596a41d99d202cf3617c9","Cargo.toml":"c994094b77085196394cd7cc03161f4810af7da799cfb40c696973e912929a8f","LICENSE-APACHE":"a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2","LICENSE-Apache-2.0_WITH_LLVM-exception":"268872b9816f90fd8e85db5a28d33f8150ebb8dd016653fb39ef1f94f2686bc5","LICENSE-MIT":"23f18e03dc49df91622fe2a76176497404e46ced8a715d9d2b67a7446571cca3","ORG_CODE_OF_CONDUCT.md":"a62b69bf86e605ee1bcbb2f0a12ba79e4cebb6983a7b6491949750aecc4f2178","README.md":"58d2ee38dad64ff142e98872860b282b36a09076df537af57aba39d675d84a28","SECURITY.md":"4d75afb09dd28eb5982e3a1f768ee398d90204669ceef3240a16b31dcf04148a","benches/mod.rs":"e260e67273aa0a37cffdc5cd451699335b8ee656c17275a0d0f2b4563c6018ca","build.rs":"5f93559819ca7fe233f01579d51ff5b58cb6e96ef9e7817a3358a9b410d5bbf6","src/backend/libc/c.rs":"63a6b16d4c13db9946c58ef643dd92ac4c81c4be8b5d2adf9bb0f5c797593d3b","src/backend/libc/conv.rs":"c4b4a6fdcf2f9295ab0498229a780942b031a2847ddf2466f90884bfb30255f8","src/backend/libc/event/epoll.rs":"f35eb0fddf9c4327551e1995f109a537f9899b9231e914671bdf26b616048370","src/backend/libc/event/mod.rs":"7f8547c599b8263eb791890bbe4a0b22fe2676d007ffdcc3e07b2e48d1c994db","src/backend/libc/event/poll_fd.rs":"06e2ce2fb30a45b90279ae753a67085e9f818a1b16d99cc92c525e2c46d61d51","src/backend/libc/event/syscalls.rs":"295a930521b345192caaf916b39189299f81f5f7c9f1aaed235baf3bf6f2f5fa","src/backend/libc/event/types.rs":"09e813690f44752708485e5a5ee59a43834a4a3e9577f2739b310c3ea8b4b64e","src/backend/libc/event/windows_syscalls.rs":"ebfac665c6676c4b803134ab8806be8aa2e96bdbc7799a19c544cd9069b35787","src/backend/libc/fs/dir.rs":"6f9526714c525e219399371d5acbe2666f0ac3ee88f73dc03fb31cf195ced95d","src/backend/libc/fs/inotify.rs":"f4e471484c4633dbb91c875ba8df87b687dd174cc45fdd2a1f717ffcb1591b00","src/backend/libc/fs/makedev.rs":"89c679a0ef18dd41b3c6223bce0f329ad35bf6cadbf16e47b33fad3f312ba4a6","src/backend/libc/fs/mod.rs":"576b6fcce723fcd5fc76637abd3b3565b00ca0bac309b63aecd6b8ee005fa81d","src/backend/libc/fs/syscalls.rs":"bba2a6a475fcd980f9352007f2b0b74b97abffe9d025e4c311e6f1f2f84eee3a","src/backend/libc/fs/types.rs":"20618e1a675fff5a8d2f08b4278425a3ec5c43d83518a5cbf3a934f135709a7a","src/backend/libc/io/errno.rs":"048d4350b9836fb9c9400127509705835a4992da86410e33a9e67cc43e22f35a","src/backend/libc/io/mod.rs":"746647bd864e4ec7717925b6d176cebdb392b7d015070244cc48d92780351dd6","src/backend/libc/io/syscalls.rs":"380d9be17ec7e46fdc24682aeae6410dcd8b10fd129090b479bb8ee405d9b5c6","src/backend/libc/io/types.rs":"8df53d41d72a39f334ed124707cb501e83b3624b769c80b78c62bd45179bc04a","src/backend/libc/io/windows_syscalls.rs":"fab3fa099aa89cea56a6edc651dd37750e581534f4f45b04a7e425f130b08468","src/backend/libc/io_uring/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/libc/io_uring/syscalls.rs":"5af8146d5971c833e6fd657f652c618b31f854e1b0811864fba9b658cb633e19","src/backend/libc/mm/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/libc/mm/syscalls.rs":"9b7c383f8ef1e258800c9797abbcd45374b97b6680637b1a247cb93878213b5a","src/backend/libc/mm/types.rs":"a427ff490880e92f1ddaa4aea55bb3ff2f43bd29712a6af09b25be2984ecb3e1","src/backend/libc/mod.rs":"2b396834f47b8771d2274eaa2632fbecebc17316d20f26d5e94f060bb8796f7d","src/backend/libc/mount/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/libc/mount/syscalls.rs":"1bc87501a078616d0190d2e85de55f3f968b8cb79d49bd9eb839a350eed26089","src/backend/libc/mount/types.rs":"8e2b66822cd1148e5fe4023f5608f36afb0d47bad454db9560fbca4b0dbd2b6f","src/backend/libc/net/addr.rs":"b6644e0169c6681084704e9ca231863364d81e3d3cb5d3689e0df8acf7b4ec16","src/backend/libc/net/ext.rs":"0ec74196ace553c9bff355e2e35ad3b70cab46e32f8f7194715e4528fe1f54bc","src/backend/libc/net/mod.rs":"4e2d6c72bef19985a2935e7891288f0045d1ff1287ec50492882b4dfbaf0fea3","src/backend/libc/net/msghdr.rs":"f82825d40d8872e2e804cde32bbcc68bef43a5f48ad857fb1030550c4eb44838","src/backend/libc/net/read_sockaddr.rs":"af90cf19e2bebc04976b9ac97010c38db91dcd90fd81b48a14528d45be97fe20","src/backend/libc/net/send_recv.rs":"52ee998bc8422a074e5105607440631e569e531caa7d356157529c3ddb07b684","src/backend/libc/net/sockopt.rs":"c1e9974478f027d9053fed5b4f28e6dce49dd15f05e1ed574cb4eddf1be47b7c","src/backend/libc/net/syscalls.rs":"b876541609622003a9e8cd2787ecbb93b0a155cfd61914c043ac2401ed3fd923","src/backend/libc/net/write_sockaddr.rs":"14e941b5a11e4d7a17182860c47b1ee972b56ff7f0aadbcc6ab2c8740b13cea9","src/backend/libc/param/auxv.rs":"fdc85b7c33bcd05a16471e42eb4228c48c98c642443635ba5fc3e9a45438d6d3","src/backend/libc/param/mod.rs":"5234b8f1bcb886cca6ea003d411d75eaeebe58deedd80e3441354bf46ed85d4d","src/backend/libc/pid/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/libc/pid/syscalls.rs":"49ea679b96c0741d048e82964038f9a931bc3cf3a0b59c7db3df89629b9c49e6","src/backend/libc/pipe/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/libc/pipe/syscalls.rs":"8affde100f6a9dfc762b79d1e48be5c1039be414f8ef7d5a6acaba882a68d259","src/backend/libc/pipe/types.rs":"1e797beb383bb2e4038f1de21bea204caec4a4922b25a6ef84dbbe6e953e78b0","src/backend/libc/prctl/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/libc/prctl/syscalls.rs":"8a2684f444a7555098dce2b92270d81cefdae902716c6e5d59bd7b0657e8a29d","src/backend/libc/process/cpu_set.rs":"b3d36b01b53b0b6c61a20ed8a69d48eccdd90cc17f82f2926ef1e844f002d0b7","src/backend/libc/process/mod.rs":"d7dc401255bad2e55ffff365339cdc3aad306861d269ad727a817d3cd7763166","src/backend/libc/process/syscalls.rs":"17b7eab2e0ea2898d41ec4e0d2a84baf57eae9f6e3e016e6b74f0e174440cffb","src/backend/libc/process/types.rs":"c26796486e9f9e7bbc44715ecaac285eb808fd9a8c08d237b2ac19f34954d608","src/backend/libc/process/wait.rs":"0cc556aed976b4bbb3965f74fd76b8216c755fce25043b7b21ce54afa07c9773","src/backend/libc/pty/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/libc/pty/syscalls.rs":"699a4c325fc590b8b5dabfe5a9ff386809be14dd24bf35aa6ef581b2bd75457b","src/backend/libc/rand/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/libc/rand/syscalls.rs":"78c7201e6bcb75e9cab9486d1878861319f865de2b2c46437be68690bd17bf13","src/backend/libc/rand/types.rs":"7763e6b40e4b9df825fdd2aa5ba1770da999137d04776561167116c58f8fa618","src/backend/libc/shm/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/libc/shm/syscalls.rs":"60d797d4e85e08e6330e6b8d80094356ce377e5484952f88ae2a6e49231c268c","src/backend/libc/shm/types.rs":"be4034353ab434568053260712fa5f55ed6d8a1a9fae64fa4fe1ea4f2e82120b","src/backend/libc/system/mod.rs":"38563ea68829ca5a4b1b0695ac8a5c05718e85bdc88a36dc805efdfce45d3909","src/backend/libc/system/syscalls.rs":"4c632a6d59fef0bb516d89f119f7f37aa18f8a75f63aeba73d71c464473874cb","src/backend/libc/system/types.rs":"6871e16aee14fe2ae03cea798c3e509ffe44778a9c0e5608fd73e2e015876d7e","src/backend/libc/termios/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/libc/termios/syscalls.rs":"dbe38f61f52f78dabf39e35a2fed3fb5f958270afa102e6bc3a374dc2621faf4","src/backend/libc/thread/futex.rs":"b666828653b12634bbd7fd709acf69641b648ec40962a1d4f904c5db14d2eff5","src/backend/libc/thread/mod.rs":"fa710053974d7f16a6c49242ee6c10a3b9e1143452b9daeaed8837302a679fff","src/backend/libc/thread/syscalls.rs":"120cb13fe7ffdef7a52ca1d141d31bf189176e9f5862f87bb171d54370a682a9","src/backend/libc/time/mod.rs":"38563ea68829ca5a4b1b0695ac8a5c05718e85bdc88a36dc805efdfce45d3909","src/backend/libc/time/syscalls.rs":"f82e0725c5af8a52e61ee83aad2c77694f2f7a72ac1e6eb284109a70ac6edc38","src/backend/libc/time/types.rs":"d4e55d2b9fb8de772c8bf5bba157472c49a12c25502e62a9c599a2e6d3196a5b","src/backend/libc/ugid/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/libc/ugid/syscalls.rs":"8edf91b8790add23902c9f5418da6b0723a371677f29f490e0c8af852f0f1a0c","src/backend/libc/winsock_c.rs":"3bf3884fd250eca806ffdf96da68e29c133a697810b78b333ea449e523e58562","src/backend/linux_raw/arch/aarch64.rs":"2a255c9135bc8a321c180f52b88eb2b158bc9170cd222149caeae63c24587d44","src/backend/linux_raw/arch/arm.rs":"165bccb5883d0136e55d42091183765f83d86e9d37a7cb2cec9ae8af32774db6","src/backend/linux_raw/arch/mips.rs":"24af364aa93fd4b9917639d473336490a143f0d1723b09f388e72d534160ee51","src/backend/linux_raw/arch/mips32r6.rs":"e436a2ade34f2f7c58b8924462b07a2499dfc951e1e1318d51759444fb8b658e","src/backend/linux_raw/arch/mips64.rs":"897da9ddc877963ad59464d7f81dc59df8a7e91251e6adea14cfd946e2740a1c","src/backend/linux_raw/arch/mips64r6.rs":"3c08aea13c1139fb0dfbe74ca3d0147f007c3aa2eda641afb82c46f6aa4f6cd1","src/backend/linux_raw/arch/mod.rs":"37eaeea601d39be00d170856a31a8ec6a27b0d3ac22ab3ee642ab0e45dee237d","src/backend/linux_raw/arch/powerpc64.rs":"dfb001f8636a5e46d728900b0804fe6c374e5e18a6f0e76d7d62e0c07da74477","src/backend/linux_raw/arch/riscv64.rs":"41d33242d941030f46077dc2b1bc4c7913fe7630d693a5a7eef966bcf38f9d8b","src/backend/linux_raw/arch/thumb.rs":"2fd979ab421248c0a4c592bc0cefee63edc26528f469b71b63eaed35356e42e8","src/backend/linux_raw/arch/x86.rs":"81c73c0a13925854b54db754f533dec565b1db2d9586e210a2450c6f5915171d","src/backend/linux_raw/arch/x86_64.rs":"e929036a1f3cf93ba538f4523b241605cc7b5e61f84ffe6d9d5cdbcb6f73e543","src/backend/linux_raw/c.rs":"74cdf34fcd5bba9628c04585fa13721073e2bffe6740315c7655d1a55150230f","src/backend/linux_raw/conv.rs":"3b452e19c6b8285df205baa790e19f32061952ae7c7c4e39ba01726de6beb4fb","src/backend/linux_raw/event/epoll.rs":"18980136ee6d3e327d6c46a33306fa934a80eaee609a329098935569507440d0","src/backend/linux_raw/event/mod.rs":"72e46b04637e2d1d2a6b97af616144995399e489d1fe916faf835d72fc8c64cd","src/backend/linux_raw/event/poll_fd.rs":"78d040f7ce0574fc18cebf6b7766c210a3254abdbafe175f51c6b460fa19c514","src/backend/linux_raw/event/syscalls.rs":"8782cdf978bff0773bf5f35c1056d5c29a40742cf6f99d9606d951b52596cd34","src/backend/linux_raw/event/types.rs":"2ffdcb728587dbc25d302527f4a52296b96013d5199c946291b059ba4f7d466f","src/backend/linux_raw/fs/dir.rs":"c675dc5413428d2defd6752e99d210da83639779e853db209de6a1c08d35e0e7","src/backend/linux_raw/fs/inotify.rs":"42a6ed7b091eee20d7fd9becfea240deb99d0b8ca3e8e083cf365d484d8eeeeb","src/backend/linux_raw/fs/makedev.rs":"c6b4505c4bcbbc2460e80f3097eb15e2c8ef38d6c6e7abd78e39c53c372139e2","src/backend/linux_raw/fs/mod.rs":"8689e46f9c4c3e1190ae5fe39176c573cccac10b3739472128ca237f41e2686a","src/backend/linux_raw/fs/syscalls.rs":"a4512f58e2ef01bf0799c96fa7821284866b6826594642565f46d93e566e2e12","src/backend/linux_raw/fs/types.rs":"c015cf3cde945ad4a42ec706c6e1140c7342041ace1da6e0ef1bbf5e9e019ce2","src/backend/linux_raw/io/errno.rs":"8f15d735435b722466696094aed8b612b8526658ab7e079f386037cf8a3b1a6e","src/backend/linux_raw/io/mod.rs":"7ae2324427892cca6f5ab53858d847b165f790a72ec25f3d99fb15f0506c9f27","src/backend/linux_raw/io/syscalls.rs":"026f99b397ae521ac4b2ba41acec6547018073a9da5fa355aa8f9ac61298c172","src/backend/linux_raw/io/types.rs":"0cfffdc2fc9c33faa4055f9686db5922676f17d5c069362bae3745f39da3594a","src/backend/linux_raw/io_uring/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/linux_raw/io_uring/syscalls.rs":"0f7c9cb7ccddf5687e4b9e5b23558871a452a29ac6095a0184a06c47b9b18eb6","src/backend/linux_raw/mm/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/linux_raw/mm/syscalls.rs":"7d43752e8abaa8cec02cd3329e08303c56a9e6ac97aec447293397b9953c3ba3","src/backend/linux_raw/mm/types.rs":"4407b4b54c4048bb1d4e702575e20037c24483a22f6a5cfcc940e4738fcff381","src/backend/linux_raw/mod.rs":"bb26fe4783f834a4624c99ecf9e4ea8fa4d1c7fe9adfb6d7310fac689e7797bc","src/backend/linux_raw/mount/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/linux_raw/mount/syscalls.rs":"3947261b5d46b9737f02dc5352c3a3a35c63c461fd75bcd8ae6619dfc0bfb54d","src/backend/linux_raw/mount/types.rs":"8d39c4d6e555c88de5da3115a301562fafdcb3942aa69a0e01d42de8edb1c78f","src/backend/linux_raw/net/addr.rs":"fbb6c071a8ebc2c557c7013d36d4b540c1ff6ed63103d0a8abcacd8977fbf5c8","src/backend/linux_raw/net/mod.rs":"904b2ccd4228ebcda25db0223b92fb03e4042bcc7b0a202f19410a8a5ff517a5","src/backend/linux_raw/net/msghdr.rs":"3198339ccd00224aefdba74e9144818fe387222066a387a9dfd95fd8c48cf9d9","src/backend/linux_raw/net/read_sockaddr.rs":"24075ac4c05fab5fe44aae4445cdd12ec7e474f047150baa9b768741d6b9693d","src/backend/linux_raw/net/send_recv.rs":"85b1a78ecc920e919ce7a0a9f7ad79cba5ad09af4f53018df8c46c7c112bd7a9","src/backend/linux_raw/net/sockopt.rs":"2ea8625ecd68a799c14ed48dec2f3e01f085222b6cc36f4916b20143e08ae575","src/backend/linux_raw/net/syscalls.rs":"eb897e0074ec53c5b18594c39cbb9ec5bd796c9120bf029f0b05145a7eee1804","src/backend/linux_raw/net/write_sockaddr.rs":"0eeeb7ec8dadf95503a2f89fdc933b8f9c7e45e03fdb343ce490b6cc8eec0f96","src/backend/linux_raw/param/auxv.rs":"c1b1a628d6c51ce8adc981f58c6e08abba4a151356ff98cdbc0b3e75abeadb8a","src/backend/linux_raw/param/init.rs":"a5024f9afe361884f22fb4d65e632ccd8a60f1138ff6bd526df600d40e0d9b7e","src/backend/linux_raw/param/libc_auxv.rs":"e567f471ab21068141acb9fb2f88b9ba553f630945bc8f01b689955b48414512","src/backend/linux_raw/param/mod.rs":"2e6a1a1c00351b9c88bd615aa923f71d76208df5626dd9bea03067f28f81dc31","src/backend/linux_raw/pid/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/linux_raw/pid/syscalls.rs":"eef6aa01830ddd510b83f507da2002c03e58318b73744be2c06ebbe33c4f194f","src/backend/linux_raw/pipe/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/linux_raw/pipe/syscalls.rs":"366c730fc3e991bddb9f5a15b8c3917a8e6ace6d1d5a9113b2749e476faf6f83","src/backend/linux_raw/pipe/types.rs":"9d4bd3da7cd078d42574ad7d6b7554e301a1a7e97b292a77993a6d263726ef1e","src/backend/linux_raw/prctl/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/linux_raw/prctl/syscalls.rs":"a18b224307e0d27bda9b7b85c75cd6c7ddfe39f5ce52efb7bb0bf0585b757343","src/backend/linux_raw/process/cpu_set.rs":"dfdcbdf35aff6a3e08e7d38193bf18c12ca8aa64eb0dc417667be82dcc0f7c55","src/backend/linux_raw/process/mod.rs":"fb393c70a9c63ef9a6bf1fb5a2dc94f07d6b0b6987cc5231c15c607015dafd68","src/backend/linux_raw/process/syscalls.rs":"3730c155663d727d5b239f57f220727ef33dd257e74a1b697274de0f94e1da79","src/backend/linux_raw/process/types.rs":"6811ba822bc12a1a6336649151b4adb1f5d3365684a31c07f01953ea9547743d","src/backend/linux_raw/process/wait.rs":"921aee4b0048746087f52615a98edc2aa0fb4b53d6df44be4533098df55d1b05","src/backend/linux_raw/pty/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/linux_raw/pty/syscalls.rs":"ae09c4aecc0ae87b1ca58d82efc58007b9dddaae78460d615f48da19d1cd0f89","src/backend/linux_raw/rand/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/linux_raw/rand/syscalls.rs":"a84f70251672e92f253838bf05e989434f67373233e88d21d8835cbb792b1fe3","src/backend/linux_raw/rand/types.rs":"b7217c98f2da4ecf89225f36eb52c396ba2a73debdeca739ba864a9030b6a23d","src/backend/linux_raw/reg.rs":"39b6234971122d247054bda8c2dc3b44493be30482635baa9e2fcbe048e78cbd","src/backend/linux_raw/runtime/mod.rs":"b2cae8cce3822c3c92942f06ea0b68464040dcac33c6f0f7ee392c6269993347","src/backend/linux_raw/runtime/syscalls.rs":"fc9c9edbe07dd7644ab75c51a1597a31467a3421301503a072bef93e6df07643","src/backend/linux_raw/runtime/tls.rs":"6316060560a112c2e9cd9807cdba6e8c91414113a04a739160929ae9a67bba1f","src/backend/linux_raw/shm/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/linux_raw/shm/syscalls.rs":"3ebf91610b02de0312e1f0f0cc5d56e12b4d93794540087b3182cbdf3cb9c8db","src/backend/linux_raw/shm/types.rs":"76f587e0edc78e3b780b66ddf9bdf56d5bcb57822111e9f8f66a7eec07c2c0fa","src/backend/linux_raw/system/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/linux_raw/system/syscalls.rs":"2af6c2672a6528b404b52f501d9803a63e9f47886d3b5d2d2dc5a71cefa7327a","src/backend/linux_raw/system/types.rs":"1ceab8d738a71043473b26e97fa3fd79d588a86d4774cbc9b9e1d4f1447a016e","src/backend/linux_raw/termios/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/linux_raw/termios/syscalls.rs":"01c4c8028595d8f53197ac3f2accb83057cb80fb5f78db63bbf85eb46d40e1c9","src/backend/linux_raw/thread/futex.rs":"0aa0f9f5be6a79de81e82c9f11f1bf8831f682a4b2f6cb29669e1591636f084e","src/backend/linux_raw/thread/mod.rs":"6ad4a4b90b9234e79900b27ebbe8837e3a7a36aec532912e3e253edce5225067","src/backend/linux_raw/thread/syscalls.rs":"0e3dca63be7322e1e9c58456b28eb8548abb9f08b4436b87b139e891c01c446d","src/backend/linux_raw/time/mod.rs":"672724f55b7b7be6a7452bb1cc2d28b5f0aaa840a2856fe363acce624e1beefc","src/backend/linux_raw/time/syscalls.rs":"451da0bbb66accdf58ee7f2f8746a93b22ee985907a08717a3d3b1650457d878","src/backend/linux_raw/time/types.rs":"56cb936dc36af759e06d0b7bcfa7db02818dff6084c1d1d9a538a6d5945032d5","src/backend/linux_raw/ugid/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/linux_raw/ugid/syscalls.rs":"8c86d251db33b399a1d1cbb8e87afe650b78db84f444d3251309b7a0480b54f7","src/backend/linux_raw/vdso.rs":"056314f72c71d4b041739337ca2098afb7fe070f844327f462c293f43481b75b","src/backend/linux_raw/vdso_wrappers.rs":"6bd4b8c15761e16defff7d2eed18c008c9f980ebee6c9bdc2e104b16b9b7c631","src/bitcast.rs":"e21c87c292c781b27256c6f5dcf9fd52dd69ed6e21016cbd67ac31a8219ebf8e","src/check_types.rs":"bc31f9b293bfbf272284ed4d0da24e941206a1ac3f18d3abb0b1a61f1ede1dae","src/clockid.rs":"1d2e1cfcf23160b55d6b046d235edf2eb2408f072a8bdef3e3a3871885abdd5a","src/cstr.rs":"41af2a4429fe6c67a8883f8a8f63d66c90df566abda74fd2b03bcef7b9f24218","src/event/eventfd.rs":"81cbd08f7bdf40a6ce1ca692b63da1dc8ba925282990668d9d68f1203e839fa1","src/event/kqueue.rs":"f13f40b97c4413902115408fc2f340e7c82bba42d2468015b007e8ac6ef23132","src/event/mod.rs":"326a7ddfeb33bb95dd31391d65f400fa622e5d0ab827c096cab16af4b6843b51","src/event/poll.rs":"0ee583dbd457a573a82a06c04a2a24bd2c76e751d27a435507d55338e2871327","src/event/port.rs":"4e51ff150e5d17cbd44aa64a38b99c15e26eaaf2e350768b5dcacdfde4fa5212","src/ffi.rs":"c2b8b38c02d72749aceb715c496726caba1f1fa989ad3856d0103a2fafed89ed","src/fs/abs.rs":"6f0b57878f61c009fd0a3698a3983aa8076ba4fe3b5c28feec0307d65a77891c","src/fs/at.rs":"9b5f35afcaca9dd19d501cee3ad305b1d1c1b588c5fd925b18b6d3b614f05011","src/fs/constants.rs":"24076a01f8bfc126b0905e9bc0521d2c3a3abc6c3b8c86ddb1e545070d097127","src/fs/copy_file_range.rs":"d3b644374390d482b2ff749a2459458872b57d0dcf9670368739b7833509a7c2","src/fs/cwd.rs":"9f429a79ace6e17455634da09216ee0ad3d067a4541518b3193ae6a8d9ff1e26","src/fs/dir.rs":"347a52f4ca9ac6321c52e802e97ec90d1b4c62ec955c8996fc17f8f5aed69966","src/fs/fadvise.rs":"beef66ebe1310fb92628240b2cde68f744c78e50f6ff61bb1404bd4868d9cae8","src/fs/fcntl.rs":"2085102d05d0ba963e100ab3e3f19dac4ff27d142fbf798626d20a2a596ba96d","src/fs/fcntl_apple.rs":"e2f23f038083621bcdecc98d02ce1023508afaecdb2ed0fba5c8b70f955301e5","src/fs/fcopyfile.rs":"ec95929cbbe02cf49233a785e5238931bb107b7903cc5bc95e4231de960995f2","src/fs/fd.rs":"68d19bb99da0444444acbafd27ba10a69fc2ac35ede4e0106ac2043c30ce4f8f","src/fs/file_type.rs":"fefd865f91011f66126213b0994773d99e373b468c31e866002228c98c64ad85","src/fs/getpath.rs":"28f6970fc1bbc37bb35c84724b59eac436ea7407a4522e18c2bdacb1fdd2edd9","src/fs/id.rs":"1b5c8a8baf9a9bb1f895f97189cea4e5982a0d35b192afeec6340a6c6222e0cb","src/fs/ioctl.rs":"e798eb41bbc201c375bc295ad2928c2467b45b4fbbff3c82236dccbc0d6391a5","src/fs/makedev.rs":"85520b484cb7c15ab71ea1c368578ea3b7e484d82f8510db92b6ce9f7ca341ae","src/fs/memfd_create.rs":"15a8f28e040cffd8c24c7903483440f88853b2e538ad48d80f3c00b4b2befdea","src/fs/mod.rs":"ecd20bf01d651b1866b198c4fc0dc8e7d681eb581e28708c8a0abd062de137ce","src/fs/mount.rs":"8f6ea2b997dd83c50c90291b9ada3ed77a9ce1ad701c9b0d533b5113b317be5b","src/fs/openat2.rs":"4a95c15dab533a41201b5fa25c8a212956b7571d58cad696bdaf45af8aef96db","src/fs/raw_dir.rs":"18ad797876d6230c38d4cacbed081c4028e03ace477d0520d9b226b40de942f0","src/fs/seek_from.rs":"a9efa0feb9ac789cf47667e91efee2e3f2dcde16cb3b7a928c99da640fa0e0d6","src/fs/sendfile.rs":"e3b2058741cf4b1698f34d84bb37130cf2b72806d522a16fe541e832cde136cb","src/fs/statx.rs":"c5192f54311faeb5a8e7ba7da1acd4fa5a8f69f6c15c4d78b4b7a495d21d0864","src/fs/sync.rs":"a3b23543834281f347b0f873bd38154d31d404871188ac08f2b20b9196234cfd","src/fs/xattr.rs":"b976eece822f69e768d91e61d86ee990ea18097b20f7ebeedaaf718c61b48962","src/io/close.rs":"0aa3cd05a8fed8e5244f97b8b6c2e7f65ed93a4e5435c6329852bb3da7514440","src/io/dup.rs":"a8a59c5d345dc54c57ded890720c33eb78c4d53917c71e8bb6317f7ed122cb87","src/io/errno.rs":"58a4d20ba0924e4d514e3c876fbe08982f1623187642ae14780815e65989c8c8","src/io/fcntl.rs":"c0f7bd7fce1119b0c1d0085b7ab77d5df02470ae3e06035428a2452dacbec296","src/io/ioctl.rs":"a47a5ec14607142f2c2ffcb93d016b8e86c8b15ba94b56b35382b545db62ea34","src/io/is_read_write.rs":"1bfb9ee5d58e0b29b44af12fe2668c7bccc841358698dcde47f1519ff9bb73b4","src/io/mod.rs":"75f1d0646be1d4c7c08b5887d8119b0103be8c25c43ccd4e0e97015508c0bb8f","src/io/read_write.rs":"54ba528b11601af1338bb0c71a41b256a0033076d30b3946c3fd0bdfa61dd021","src/io_uring.rs":"61e6dce7a53ce141604b5f577e20ec5aa73a20e2c2101825c7c52396ba221886","src/ioctl/bsd.rs":"e33772530b1b2d1e7d61ce53d9267e68d88f7f5df13301f90412d89a46c6faaa","src/ioctl/linux.rs":"256aef9fb51c67cd7f43a581b702aa62757e3bdd7c38f71bf849f818194c2285","src/ioctl/mod.rs":"739a4f6d4e9a816745e42133c1b4c51c1285bf5cde3e1ee3ea72ef0b802e3806","src/ioctl/patterns.rs":"26dda154aabf67d45362d9378875f95c1593391ecbc62be02d187b7e19e7f9da","src/lib.rs":"7430fd1db444a72dc8f9b762f2fb61226dd00c89c7c932481e94958f60678383","src/maybe_polyfill/no_std/io/mod.rs":"77889bb5c5a4f2e50e38379cdaa5d0fef4b0cafc3da056735df01f6deae75747","src/maybe_polyfill/no_std/mod.rs":"ec94a4aab4bc475785e469d10fd6bc95667e1d47d958e9cff3a19049d88c8c80","src/maybe_polyfill/no_std/net/ip_addr.rs":"046327ee244f758f2bc31d3be305d8cd0dfd8342aac1add8259e999b4b46c4a7","src/maybe_polyfill/no_std/net/mod.rs":"b0ee611c454679226a15bf647e7779995f3fe9c8e0507930a0d0613eb414b7c2","src/maybe_polyfill/no_std/net/socket_addr.rs":"bfeb32d32c176cde76323abcffebfc47e9898fb8d7ce3668c602dc8451086a2d","src/maybe_polyfill/no_std/os/fd/mod.rs":"27ef0afbcb0695cbb15101070f417eb51e0ef85ae66ec967d95e80771d507c47","src/maybe_polyfill/no_std/os/fd/owned.rs":"ab86ffa2693a04f3085770faf395f95e5303001711be8b19c44a47a0ac574091","src/maybe_polyfill/no_std/os/fd/raw.rs":"f3648c7bd4a6ff94bd823ed9e0d99d398e02f24875cf9b25962736999e7c6943","src/maybe_polyfill/no_std/os/mod.rs":"27dab639a765827644005d5f2fcc7c825310606b889cc8dd83f54c9528350dc0","src/maybe_polyfill/no_std/os/windows/io/mod.rs":"5bbcc05c83fee5026dd744a994e0458469466d5be39081baa62df07753b92fd2","src/maybe_polyfill/no_std/os/windows/io/raw.rs":"4c32609a489dd938a49328b5637cb3bafb96437f2f9f269ab66d7d3cb90247f6","src/maybe_polyfill/no_std/os/windows/io/socket.rs":"c658f42f24eff44a661f2adfd24a11af80fe9897f3e2af4dc5d2c64808308d65","src/maybe_polyfill/no_std/os/windows/mod.rs":"fdb416f8f231a4e778b5f985b9ae712ece5e1a1402963ad1a5f6a8b9843795f4","src/maybe_polyfill/std/mod.rs":"7c16c86cc73e226e65ead598e4018238b22000a345040b706bf1e1b3eba115fc","src/mm/madvise.rs":"3c262b3713a73fafcedf1b04bb12c048bb11d47ca43c959e5dfa48c27651f4f0","src/mm/mmap.rs":"28523bceb2b7e3bc1207f351d8a1771867159e1b9ff1d9c37fbdc05aeb696b50","src/mm/mod.rs":"b3a6cb838986d45825b912355cedead761211a494ca6f89b2367a2d2157e340e","src/mm/msync.rs":"9dcfe5f54235e9314a595edb8d548ac79d222bbcc58bb3263cf7e96d603b23ad","src/mm/userfaultfd.rs":"8073443bd181ff0b3ba4d0b1ae67370b4864035a0c8b4898cd709dc47c518ae7","src/mount/fsopen.rs":"160e384e9175fd98669cda1cf3590bb195c2ba7e1c724e9ea06e692595e58ba1","src/mount/mod.rs":"5f0c9df4727592695deb1cd63ae1de021b03dcd9d0d1b68e1f34d12a7136cb19","src/mount/mount_unmount.rs":"8ad11675e5d762d33fbefbed06a6a9f9e52a9b689bd06662446152614321ab77","src/mount/types.rs":"601ae3e10b7dc496fed7f3b40a80e81c6edd7bf13189d7be45c3212d4c684c39","src/net/mod.rs":"a6bc55f9e086caf46a7c00783498d73a328a66f2a991f1ec65d5f13931377b0f","src/net/send_recv/mod.rs":"f33e39c7b228cd8109823b0a0a1aa397cddad504d49e69b36f74c5b84e5070e5","src/net/send_recv/msg.rs":"6a73e4fd2b78fbeb683f48bcd8404a362245c6cd66e0d59e6378467600b44268","src/net/socket.rs":"bc825a94831557bf4c2cabd8ef5ae21ffe0986c24f9ada564eefa66270f69ae9","src/net/socket_addr_any.rs":"a9af81e967a91b45e51aec4f46a068fade7035c5d19dfaf05bfdcd3b3c32e9bf","src/net/socketpair.rs":"56f4885c31d2664cd16e18a9a88792a4912fedd953cec36dba67e8581fd57921","src/net/sockopt.rs":"58fbabf73ede7afaeac279241ff874dcee5604f63b3f38e4435a61a354da2196","src/net/types.rs":"5914e786d6a24a6efc355023fd71a28bc29fc85fb672e5388370243fe83e4191","src/net/wsa.rs":"6e546b42f50a851fc833c57cda76cfb347203ed4b0dea574a3d325bf5a2ebf80","src/param/auxv.rs":"886e57d52adf0199b8146f849c2db1e3136c07fc4ec61f60dc781fea11070604","src/param/init.rs":"a31c0e5cea61a1a999767fe74f87c0d59eeb6bce66578b842fe0e0c32be27a55","src/param/mod.rs":"25b10acd5b1da8faa6f5204e6b0379b38bfab667916e886cca64bea01a42dec2","src/path/arg.rs":"b1329485ad525e8d067792b0890a1241c20f6c08d29f0661f2a9f429581a7818","src/path/dec_int.rs":"fad9793b89eac526953b994cbed6b614f01c25108f9763e19fb98029feda93a4","src/path/mod.rs":"6b1b949c94bcc47e0f08a3f8e8db5b61ff497d0dfd3e0655f51c01d3e4b7dfd6","src/pid.rs":"f1c486000c5b1311b2d720cee88f089c17ef9a171709673dd06e6f35f4ff98a3","src/pipe.rs":"fd021deeacf78790886ae03f1e8f0fe5a13909c7532b2246581667eb3d0483d7","src/prctl.rs":"c9daa9397460a27ed6e31fc454fc40dff83720312a002b66f4c178fc005379ec","src/process/chdir.rs":"6947b80d468d906d528de328f30fe7509acfe4976a0de3fa600a7cc39618c049","src/process/chroot.rs":"2b5f6124eb19f26ad2705174f7ad50cdc0a5d15abd59ffcf55421228d82130b4","src/process/exit.rs":"48de66e5504a00cb375d8f415ce63b6225a3f5204268d40726a7d0fbba43f587","src/process/id.rs":"e4733f9e8e4b5f50e98ef7a23802e126f1f14ece8b3d7ae7446c6a66affc6bc1","src/process/ioctl.rs":"23ad0285671e8d7ca71a63c50655dbf732ccea8af11d754a0558e0236db37e76","src/process/kill.rs":"7b879e5cff8a064acd0e7488f4e21bd4e4a8506ce380688b72cc48d283ff9c89","src/process/membarrier.rs":"d6c8821ec73019040c926f4e1018f399c286e87074ab9c6692370c88772af044","src/process/mod.rs":"0ef104be820068409648ed83739a51a7dcf07612088f9a6ed6c7ebdb6ad54092","src/process/pidfd.rs":"4be2fba21430ba84244e11c636c91201bc1d1dffff3e63a4da84cc96f501786b","src/process/pidfd_getfd.rs":"cbc42a1548280ae76c3c66e851fd53cc2a3d4c089cb5798c17a2cdf654f0e229","src/process/prctl.rs":"3396b39a0f161385f02f6a4a17db0a3fcd2d70f4d6d2e1d8d1b9091b36d5704c","src/process/priority.rs":"f135482e71ea8aa0daf92b9f238051178a4c904070fa8409622f94155df3c544","src/process/procctl.rs":"0ca2f5fd4cd39335c141758cac132a3271e318c688f8882e527f58c02d5ab0e2","src/process/rlimit.rs":"10b79de3ced0e64059a94c879742d46a35a6176c776d8eed75031d5e6340283d","src/process/sched.rs":"7c3bfc5be624e7d7f5e043c3ee0b0566fcab3d684d61c272e7b4233410ab1c42","src/process/sched_yield.rs":"6565faa3928b66ddc74a65e893e15edfa4b9be4f7e5f5f68527501a7f6bc3350","src/process/umask.rs":"1a0f31a842303c978e3f05ec191e2b5e96104c09c6596473b42b1fac34898a50","src/process/wait.rs":"cef08e74f5d87df925fa6a6acc95e8de0e689fb420ba514b9fbf94a9ca403465","src/procfs.rs":"63b286dd3302be7f426841eb3b9261ef4785c3159ed78c24734bd5094c9b0b2e","src/pty.rs":"ee697b226230b65c0432a42cd82b2fad885ca70285dbb0a7b8ec0ff81d23e3a0","src/rand/getrandom.rs":"1c8166a02a74f5593bb4673ef907524df04cbc1568020a5ab2ff7f4aa1283f8b","src/rand/mod.rs":"cab59332aadd9b679f5b22cbb222d48ee028af5eb9fd4a4d43922da659b895d7","src/runtime.rs":"9aed98071bf8124c6913e8517b28ef63c7b88001042f0522d877ab65ac88099a","src/shm.rs":"b96fe8a05ee5d4536464a8843a776d43a938abaf22c772fc35b5373d95644a8d","src/signal.rs":"c071b4f011deef19a679d7a832d5408a3cd68627161d6510008d6312266a2611","src/static_assertions.rs":"39986672f489949be1d6469f0c30fb7d2eaa21bdaa2702a8c150b2b150bf5535","src/stdio.rs":"a5de2d7d9c3c5a901f88b6acf4754687c958a2f3a93c7945c2b8fcb948d468af","src/system.rs":"e594c16b4600a8ebea01c5850cd9e1521acf242f1a9f083403cfe95adcde4679","src/termios/ioctl.rs":"a1ac967f7811a482f8bb53847c37c8359f518cd26da9df7b816ba678a0139623","src/termios/mod.rs":"b44b7caa60b6f458657ed58a0e0eca41bb4e6d6be4b0f042bbb8ab7056cebe4b","src/termios/tc.rs":"e41312d15464b83b2457c2502fc3f3b9998cfb02ba68739026dd4285cc7130ac","src/termios/tty.rs":"906ee160ffb5ba3a92ea3a61374cf2cd617cebae51f5490073b6700c438d5eee","src/termios/types.rs":"8c4f029e8dbb9b2c59082bd13d628a741f6f0a31f5ecf485c93795b73c1daeca","src/thread/clock.rs":"469326c822dfb63405ee8537552cedde0b344978280e6645bbadd47dedc71e18","src/thread/futex.rs":"985f9a0dce1e2a4892ae7f26bd1bf119ceae3f9fa6b4707e166624fc1cee76d4","src/thread/id.rs":"ad72db4fea9fccb728310bbfd01ef8c00f6cc60fa2a750f6349646a134f7009b","src/thread/libcap.rs":"a3e316e6d0f58b075125fa939b9b824e1595de20a23d341a36999416b0d10d36","src/thread/mod.rs":"98634ece0b882f123ad887017692f2a4d94a23a1dec278ed660b3497cac5cceb","src/thread/prctl.rs":"10e2878ef856557bc5bd24c77f5699266e746f912e73690980371cc99c7417e8","src/thread/setns.rs":"730badd8db8ce7b905767b341211f1226eeeb38019727bf994eb64f2531b7b7f","src/time/clock.rs":"e59a29f1bed8c31c3d5b6fad60f2d4fa6cab8dd8e86148bb3693a5e3a1ce735f","src/time/mod.rs":"43afee938c80d124d04d4ba190c03f4d21d1e3bfc154fff309211e4f6eabe940","src/time/timerfd.rs":"f17092b84553741aa2d2b44c6992b5d2c8c96cc2c2007fc9a2c6b2064485e53f","src/timespec.rs":"32a4d930cbc0f6dbd23153290db920671cf4ce65a4a127e176f897c1cde42d7d","src/ugid.rs":"6616c6e35b7e43aee5b150f1efae7a50711e0947943c9a96833dbe214ad9e85f","src/utils.rs":"9ae76f8a41d6cc350cdd58c9084b5c3a5a708eeecd769783debdbcbaef442182","src/weak.rs":"c7cf03bf2aeba494b1999ab32183fa8c603ab72e254c0e312a67f168877e410d"},"package":"745ecfa778e66b2b63c88a61cb36e0eea109e803b0b86bf9879fbc77c70e86ed"}
+\ No newline at end of file
++{"files":{"CODE_OF_CONDUCT.md":"f210602311e3f74b32f46237fd55f4ce36d798e85e3db1432ec667f63a7ffc44","CONTRIBUTING.md":"3fd57de5c678db1c972da676a8231d2fde9820695ef1f0d53f1e55a3e81d9de0","COPYRIGHT":"377c2e7c53250cc5905c0b0532d35973392af16ffb9596a41d99d202cf3617c9","Cargo.toml":"c994094b77085196394cd7cc03161f4810af7da799cfb40c696973e912929a8f","LICENSE-APACHE":"a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2","LICENSE-Apache-2.0_WITH_LLVM-exception":"268872b9816f90fd8e85db5a28d33f8150ebb8dd016653fb39ef1f94f2686bc5","LICENSE-MIT":"23f18e03dc49df91622fe2a76176497404e46ced8a715d9d2b67a7446571cca3","ORG_CODE_OF_CONDUCT.md":"a62b69bf86e605ee1bcbb2f0a12ba79e4cebb6983a7b6491949750aecc4f2178","README.md":"58d2ee38dad64ff142e98872860b282b36a09076df537af57aba39d675d84a28","SECURITY.md":"4d75afb09dd28eb5982e3a1f768ee398d90204669ceef3240a16b31dcf04148a","benches/mod.rs":"e260e67273aa0a37cffdc5cd451699335b8ee656c17275a0d0f2b4563c6018ca","build.rs":"5f93559819ca7fe233f01579d51ff5b58cb6e96ef9e7817a3358a9b410d5bbf6","src/backend/libc/c.rs":"22550be154471f160ebfdb9e7b45a1e06452ec426a8d70b23a648a069c0216f4","src/backend/libc/conv.rs":"c4b4a6fdcf2f9295ab0498229a780942b031a2847ddf2466f90884bfb30255f8","src/backend/libc/event/epoll.rs":"f35eb0fddf9c4327551e1995f109a537f9899b9231e914671bdf26b616048370","src/backend/libc/event/mod.rs":"7f8547c599b8263eb791890bbe4a0b22fe2676d007ffdcc3e07b2e48d1c994db","src/backend/libc/event/poll_fd.rs":"06e2ce2fb30a45b90279ae753a67085e9f818a1b16d99cc92c525e2c46d61d51","src/backend/libc/event/syscalls.rs":"295a930521b345192caaf916b39189299f81f5f7c9f1aaed235baf3bf6f2f5fa","src/backend/libc/event/types.rs":"09e813690f44752708485e5a5ee59a43834a4a3e9577f2739b310c3ea8b4b64e","src/backend/libc/event/windows_syscalls.rs":"ebfac665c6676c4b803134ab8806be8aa2e96bdbc7799a19c544cd9069b35787","src/backend/libc/fs/dir.rs":"6f9526714c525e219399371d5acbe2666f0ac3ee88f73dc03fb31cf195ced95d","src/backend/libc/fs/inotify.rs":"f4e471484c4633dbb91c875ba8df87b687dd174cc45fdd2a1f717ffcb1591b00","src/backend/libc/fs/makedev.rs":"89c679a0ef18dd41b3c6223bce0f329ad35bf6cadbf16e47b33fad3f312ba4a6","src/backend/libc/fs/mod.rs":"576b6fcce723fcd5fc76637abd3b3565b00ca0bac309b63aecd6b8ee005fa81d","src/backend/libc/fs/syscalls.rs":"bba2a6a475fcd980f9352007f2b0b74b97abffe9d025e4c311e6f1f2f84eee3a","src/backend/libc/fs/types.rs":"20618e1a675fff5a8d2f08b4278425a3ec5c43d83518a5cbf3a934f135709a7a","src/backend/libc/io/errno.rs":"048d4350b9836fb9c9400127509705835a4992da86410e33a9e67cc43e22f35a","src/backend/libc/io/mod.rs":"746647bd864e4ec7717925b6d176cebdb392b7d015070244cc48d92780351dd6","src/backend/libc/io/syscalls.rs":"380d9be17ec7e46fdc24682aeae6410dcd8b10fd129090b479bb8ee405d9b5c6","src/backend/libc/io/types.rs":"8df53d41d72a39f334ed124707cb501e83b3624b769c80b78c62bd45179bc04a","src/backend/libc/io/windows_syscalls.rs":"fab3fa099aa89cea56a6edc651dd37750e581534f4f45b04a7e425f130b08468","src/backend/libc/io_uring/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/libc/io_uring/syscalls.rs":"5af8146d5971c833e6fd657f652c618b31f854e1b0811864fba9b658cb633e19","src/backend/libc/mm/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/libc/mm/syscalls.rs":"9b7c383f8ef1e258800c9797abbcd45374b97b6680637b1a247cb93878213b5a","src/backend/libc/mm/types.rs":"a427ff490880e92f1ddaa4aea55bb3ff2f43bd29712a6af09b25be2984ecb3e1","src/backend/libc/mod.rs":"2b396834f47b8771d2274eaa2632fbecebc17316d20f26d5e94f060bb8796f7d","src/backend/libc/mount/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/libc/mount/syscalls.rs":"1bc87501a078616d0190d2e85de55f3f968b8cb79d49bd9eb839a350eed26089","src/backend/libc/mount/types.rs":"8e2b66822cd1148e5fe4023f5608f36afb0d47bad454db9560fbca4b0dbd2b6f","src/backend/libc/net/addr.rs":"b6644e0169c6681084704e9ca231863364d81e3d3cb5d3689e0df8acf7b4ec16","src/backend/libc/net/ext.rs":"0ec74196ace553c9bff355e2e35ad3b70cab46e32f8f7194715e4528fe1f54bc","src/backend/libc/net/mod.rs":"4e2d6c72bef19985a2935e7891288f0045d1ff1287ec50492882b4dfbaf0fea3","src/backend/libc/net/msghdr.rs":"f82825d40d8872e2e804cde32bbcc68bef43a5f48ad857fb1030550c4eb44838","src/backend/libc/net/read_sockaddr.rs":"af90cf19e2bebc04976b9ac97010c38db91dcd90fd81b48a14528d45be97fe20","src/backend/libc/net/send_recv.rs":"52ee998bc8422a074e5105607440631e569e531caa7d356157529c3ddb07b684","src/backend/libc/net/sockopt.rs":"c1e9974478f027d9053fed5b4f28e6dce49dd15f05e1ed574cb4eddf1be47b7c","src/backend/libc/net/syscalls.rs":"b876541609622003a9e8cd2787ecbb93b0a155cfd61914c043ac2401ed3fd923","src/backend/libc/net/write_sockaddr.rs":"14e941b5a11e4d7a17182860c47b1ee972b56ff7f0aadbcc6ab2c8740b13cea9","src/backend/libc/param/auxv.rs":"fdc85b7c33bcd05a16471e42eb4228c48c98c642443635ba5fc3e9a45438d6d3","src/backend/libc/param/mod.rs":"5234b8f1bcb886cca6ea003d411d75eaeebe58deedd80e3441354bf46ed85d4d","src/backend/libc/pid/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/libc/pid/syscalls.rs":"49ea679b96c0741d048e82964038f9a931bc3cf3a0b59c7db3df89629b9c49e6","src/backend/libc/pipe/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/libc/pipe/syscalls.rs":"8affde100f6a9dfc762b79d1e48be5c1039be414f8ef7d5a6acaba882a68d259","src/backend/libc/pipe/types.rs":"1e797beb383bb2e4038f1de21bea204caec4a4922b25a6ef84dbbe6e953e78b0","src/backend/libc/prctl/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/libc/prctl/syscalls.rs":"8a2684f444a7555098dce2b92270d81cefdae902716c6e5d59bd7b0657e8a29d","src/backend/libc/process/cpu_set.rs":"b3d36b01b53b0b6c61a20ed8a69d48eccdd90cc17f82f2926ef1e844f002d0b7","src/backend/libc/process/mod.rs":"d7dc401255bad2e55ffff365339cdc3aad306861d269ad727a817d3cd7763166","src/backend/libc/process/syscalls.rs":"17b7eab2e0ea2898d41ec4e0d2a84baf57eae9f6e3e016e6b74f0e174440cffb","src/backend/libc/process/types.rs":"c26796486e9f9e7bbc44715ecaac285eb808fd9a8c08d237b2ac19f34954d608","src/backend/libc/process/wait.rs":"0cc556aed976b4bbb3965f74fd76b8216c755fce25043b7b21ce54afa07c9773","src/backend/libc/pty/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/libc/pty/syscalls.rs":"699a4c325fc590b8b5dabfe5a9ff386809be14dd24bf35aa6ef581b2bd75457b","src/backend/libc/rand/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/libc/rand/syscalls.rs":"78c7201e6bcb75e9cab9486d1878861319f865de2b2c46437be68690bd17bf13","src/backend/libc/rand/types.rs":"7763e6b40e4b9df825fdd2aa5ba1770da999137d04776561167116c58f8fa618","src/backend/libc/shm/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/libc/shm/syscalls.rs":"60d797d4e85e08e6330e6b8d80094356ce377e5484952f88ae2a6e49231c268c","src/backend/libc/shm/types.rs":"be4034353ab434568053260712fa5f55ed6d8a1a9fae64fa4fe1ea4f2e82120b","src/backend/libc/system/mod.rs":"38563ea68829ca5a4b1b0695ac8a5c05718e85bdc88a36dc805efdfce45d3909","src/backend/libc/system/syscalls.rs":"4c632a6d59fef0bb516d89f119f7f37aa18f8a75f63aeba73d71c464473874cb","src/backend/libc/system/types.rs":"6871e16aee14fe2ae03cea798c3e509ffe44778a9c0e5608fd73e2e015876d7e","src/backend/libc/termios/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/libc/termios/syscalls.rs":"19c3a0cfd146ada30e04bfc6b8bc8cc2319890851c803fa0024ff05085137151","src/backend/libc/thread/futex.rs":"b666828653b12634bbd7fd709acf69641b648ec40962a1d4f904c5db14d2eff5","src/backend/libc/thread/mod.rs":"fa710053974d7f16a6c49242ee6c10a3b9e1143452b9daeaed8837302a679fff","src/backend/libc/thread/syscalls.rs":"120cb13fe7ffdef7a52ca1d141d31bf189176e9f5862f87bb171d54370a682a9","src/backend/libc/time/mod.rs":"38563ea68829ca5a4b1b0695ac8a5c05718e85bdc88a36dc805efdfce45d3909","src/backend/libc/time/syscalls.rs":"f82e0725c5af8a52e61ee83aad2c77694f2f7a72ac1e6eb284109a70ac6edc38","src/backend/libc/time/types.rs":"d4e55d2b9fb8de772c8bf5bba157472c49a12c25502e62a9c599a2e6d3196a5b","src/backend/libc/ugid/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/libc/ugid/syscalls.rs":"8edf91b8790add23902c9f5418da6b0723a371677f29f490e0c8af852f0f1a0c","src/backend/libc/winsock_c.rs":"3bf3884fd250eca806ffdf96da68e29c133a697810b78b333ea449e523e58562","src/backend/linux_raw/arch/aarch64.rs":"2a255c9135bc8a321c180f52b88eb2b158bc9170cd222149caeae63c24587d44","src/backend/linux_raw/arch/arm.rs":"165bccb5883d0136e55d42091183765f83d86e9d37a7cb2cec9ae8af32774db6","src/backend/linux_raw/arch/mips.rs":"24af364aa93fd4b9917639d473336490a143f0d1723b09f388e72d534160ee51","src/backend/linux_raw/arch/mips32r6.rs":"e436a2ade34f2f7c58b8924462b07a2499dfc951e1e1318d51759444fb8b658e","src/backend/linux_raw/arch/mips64.rs":"897da9ddc877963ad59464d7f81dc59df8a7e91251e6adea14cfd946e2740a1c","src/backend/linux_raw/arch/mips64r6.rs":"3c08aea13c1139fb0dfbe74ca3d0147f007c3aa2eda641afb82c46f6aa4f6cd1","src/backend/linux_raw/arch/mod.rs":"37eaeea601d39be00d170856a31a8ec6a27b0d3ac22ab3ee642ab0e45dee237d","src/backend/linux_raw/arch/powerpc64.rs":"dfb001f8636a5e46d728900b0804fe6c374e5e18a6f0e76d7d62e0c07da74477","src/backend/linux_raw/arch/riscv64.rs":"41d33242d941030f46077dc2b1bc4c7913fe7630d693a5a7eef966bcf38f9d8b","src/backend/linux_raw/arch/thumb.rs":"2fd979ab421248c0a4c592bc0cefee63edc26528f469b71b63eaed35356e42e8","src/backend/linux_raw/arch/x86.rs":"81c73c0a13925854b54db754f533dec565b1db2d9586e210a2450c6f5915171d","src/backend/linux_raw/arch/x86_64.rs":"e929036a1f3cf93ba538f4523b241605cc7b5e61f84ffe6d9d5cdbcb6f73e543","src/backend/linux_raw/c.rs":"74cdf34fcd5bba9628c04585fa13721073e2bffe6740315c7655d1a55150230f","src/backend/linux_raw/conv.rs":"3b452e19c6b8285df205baa790e19f32061952ae7c7c4e39ba01726de6beb4fb","src/backend/linux_raw/event/epoll.rs":"18980136ee6d3e327d6c46a33306fa934a80eaee609a329098935569507440d0","src/backend/linux_raw/event/mod.rs":"72e46b04637e2d1d2a6b97af616144995399e489d1fe916faf835d72fc8c64cd","src/backend/linux_raw/event/poll_fd.rs":"78d040f7ce0574fc18cebf6b7766c210a3254abdbafe175f51c6b460fa19c514","src/backend/linux_raw/event/syscalls.rs":"8782cdf978bff0773bf5f35c1056d5c29a40742cf6f99d9606d951b52596cd34","src/backend/linux_raw/event/types.rs":"2ffdcb728587dbc25d302527f4a52296b96013d5199c946291b059ba4f7d466f","src/backend/linux_raw/fs/dir.rs":"c675dc5413428d2defd6752e99d210da83639779e853db209de6a1c08d35e0e7","src/backend/linux_raw/fs/inotify.rs":"42a6ed7b091eee20d7fd9becfea240deb99d0b8ca3e8e083cf365d484d8eeeeb","src/backend/linux_raw/fs/makedev.rs":"c6b4505c4bcbbc2460e80f3097eb15e2c8ef38d6c6e7abd78e39c53c372139e2","src/backend/linux_raw/fs/mod.rs":"8689e46f9c4c3e1190ae5fe39176c573cccac10b3739472128ca237f41e2686a","src/backend/linux_raw/fs/syscalls.rs":"a4512f58e2ef01bf0799c96fa7821284866b6826594642565f46d93e566e2e12","src/backend/linux_raw/fs/types.rs":"c015cf3cde945ad4a42ec706c6e1140c7342041ace1da6e0ef1bbf5e9e019ce2","src/backend/linux_raw/io/errno.rs":"8f15d735435b722466696094aed8b612b8526658ab7e079f386037cf8a3b1a6e","src/backend/linux_raw/io/mod.rs":"7ae2324427892cca6f5ab53858d847b165f790a72ec25f3d99fb15f0506c9f27","src/backend/linux_raw/io/syscalls.rs":"026f99b397ae521ac4b2ba41acec6547018073a9da5fa355aa8f9ac61298c172","src/backend/linux_raw/io/types.rs":"0cfffdc2fc9c33faa4055f9686db5922676f17d5c069362bae3745f39da3594a","src/backend/linux_raw/io_uring/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/linux_raw/io_uring/syscalls.rs":"0f7c9cb7ccddf5687e4b9e5b23558871a452a29ac6095a0184a06c47b9b18eb6","src/backend/linux_raw/mm/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/linux_raw/mm/syscalls.rs":"7d43752e8abaa8cec02cd3329e08303c56a9e6ac97aec447293397b9953c3ba3","src/backend/linux_raw/mm/types.rs":"4407b4b54c4048bb1d4e702575e20037c24483a22f6a5cfcc940e4738fcff381","src/backend/linux_raw/mod.rs":"bb26fe4783f834a4624c99ecf9e4ea8fa4d1c7fe9adfb6d7310fac689e7797bc","src/backend/linux_raw/mount/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/linux_raw/mount/syscalls.rs":"3947261b5d46b9737f02dc5352c3a3a35c63c461fd75bcd8ae6619dfc0bfb54d","src/backend/linux_raw/mount/types.rs":"8d39c4d6e555c88de5da3115a301562fafdcb3942aa69a0e01d42de8edb1c78f","src/backend/linux_raw/net/addr.rs":"fbb6c071a8ebc2c557c7013d36d4b540c1ff6ed63103d0a8abcacd8977fbf5c8","src/backend/linux_raw/net/mod.rs":"904b2ccd4228ebcda25db0223b92fb03e4042bcc7b0a202f19410a8a5ff517a5","src/backend/linux_raw/net/msghdr.rs":"3198339ccd00224aefdba74e9144818fe387222066a387a9dfd95fd8c48cf9d9","src/backend/linux_raw/net/read_sockaddr.rs":"24075ac4c05fab5fe44aae4445cdd12ec7e474f047150baa9b768741d6b9693d","src/backend/linux_raw/net/send_recv.rs":"85b1a78ecc920e919ce7a0a9f7ad79cba5ad09af4f53018df8c46c7c112bd7a9","src/backend/linux_raw/net/sockopt.rs":"2ea8625ecd68a799c14ed48dec2f3e01f085222b6cc36f4916b20143e08ae575","src/backend/linux_raw/net/syscalls.rs":"eb897e0074ec53c5b18594c39cbb9ec5bd796c9120bf029f0b05145a7eee1804","src/backend/linux_raw/net/write_sockaddr.rs":"0eeeb7ec8dadf95503a2f89fdc933b8f9c7e45e03fdb343ce490b6cc8eec0f96","src/backend/linux_raw/param/auxv.rs":"c1b1a628d6c51ce8adc981f58c6e08abba4a151356ff98cdbc0b3e75abeadb8a","src/backend/linux_raw/param/init.rs":"a5024f9afe361884f22fb4d65e632ccd8a60f1138ff6bd526df600d40e0d9b7e","src/backend/linux_raw/param/libc_auxv.rs":"e567f471ab21068141acb9fb2f88b9ba553f630945bc8f01b689955b48414512","src/backend/linux_raw/param/mod.rs":"2e6a1a1c00351b9c88bd615aa923f71d76208df5626dd9bea03067f28f81dc31","src/backend/linux_raw/pid/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/linux_raw/pid/syscalls.rs":"eef6aa01830ddd510b83f507da2002c03e58318b73744be2c06ebbe33c4f194f","src/backend/linux_raw/pipe/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/linux_raw/pipe/syscalls.rs":"366c730fc3e991bddb9f5a15b8c3917a8e6ace6d1d5a9113b2749e476faf6f83","src/backend/linux_raw/pipe/types.rs":"9d4bd3da7cd078d42574ad7d6b7554e301a1a7e97b292a77993a6d263726ef1e","src/backend/linux_raw/prctl/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/linux_raw/prctl/syscalls.rs":"a18b224307e0d27bda9b7b85c75cd6c7ddfe39f5ce52efb7bb0bf0585b757343","src/backend/linux_raw/process/cpu_set.rs":"dfdcbdf35aff6a3e08e7d38193bf18c12ca8aa64eb0dc417667be82dcc0f7c55","src/backend/linux_raw/process/mod.rs":"fb393c70a9c63ef9a6bf1fb5a2dc94f07d6b0b6987cc5231c15c607015dafd68","src/backend/linux_raw/process/syscalls.rs":"3730c155663d727d5b239f57f220727ef33dd257e74a1b697274de0f94e1da79","src/backend/linux_raw/process/types.rs":"6811ba822bc12a1a6336649151b4adb1f5d3365684a31c07f01953ea9547743d","src/backend/linux_raw/process/wait.rs":"921aee4b0048746087f52615a98edc2aa0fb4b53d6df44be4533098df55d1b05","src/backend/linux_raw/pty/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/linux_raw/pty/syscalls.rs":"ae09c4aecc0ae87b1ca58d82efc58007b9dddaae78460d615f48da19d1cd0f89","src/backend/linux_raw/rand/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/linux_raw/rand/syscalls.rs":"a84f70251672e92f253838bf05e989434f67373233e88d21d8835cbb792b1fe3","src/backend/linux_raw/rand/types.rs":"b7217c98f2da4ecf89225f36eb52c396ba2a73debdeca739ba864a9030b6a23d","src/backend/linux_raw/reg.rs":"39b6234971122d247054bda8c2dc3b44493be30482635baa9e2fcbe048e78cbd","src/backend/linux_raw/runtime/mod.rs":"b2cae8cce3822c3c92942f06ea0b68464040dcac33c6f0f7ee392c6269993347","src/backend/linux_raw/runtime/syscalls.rs":"fc9c9edbe07dd7644ab75c51a1597a31467a3421301503a072bef93e6df07643","src/backend/linux_raw/runtime/tls.rs":"6316060560a112c2e9cd9807cdba6e8c91414113a04a739160929ae9a67bba1f","src/backend/linux_raw/shm/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/linux_raw/shm/syscalls.rs":"3ebf91610b02de0312e1f0f0cc5d56e12b4d93794540087b3182cbdf3cb9c8db","src/backend/linux_raw/shm/types.rs":"76f587e0edc78e3b780b66ddf9bdf56d5bcb57822111e9f8f66a7eec07c2c0fa","src/backend/linux_raw/system/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/linux_raw/system/syscalls.rs":"2af6c2672a6528b404b52f501d9803a63e9f47886d3b5d2d2dc5a71cefa7327a","src/backend/linux_raw/system/types.rs":"1ceab8d738a71043473b26e97fa3fd79d588a86d4774cbc9b9e1d4f1447a016e","src/backend/linux_raw/termios/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/linux_raw/termios/syscalls.rs":"01c4c8028595d8f53197ac3f2accb83057cb80fb5f78db63bbf85eb46d40e1c9","src/backend/linux_raw/thread/futex.rs":"0aa0f9f5be6a79de81e82c9f11f1bf8831f682a4b2f6cb29669e1591636f084e","src/backend/linux_raw/thread/mod.rs":"6ad4a4b90b9234e79900b27ebbe8837e3a7a36aec532912e3e253edce5225067","src/backend/linux_raw/thread/syscalls.rs":"0e3dca63be7322e1e9c58456b28eb8548abb9f08b4436b87b139e891c01c446d","src/backend/linux_raw/time/mod.rs":"672724f55b7b7be6a7452bb1cc2d28b5f0aaa840a2856fe363acce624e1beefc","src/backend/linux_raw/time/syscalls.rs":"451da0bbb66accdf58ee7f2f8746a93b22ee985907a08717a3d3b1650457d878","src/backend/linux_raw/time/types.rs":"56cb936dc36af759e06d0b7bcfa7db02818dff6084c1d1d9a538a6d5945032d5","src/backend/linux_raw/ugid/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/linux_raw/ugid/syscalls.rs":"8c86d251db33b399a1d1cbb8e87afe650b78db84f444d3251309b7a0480b54f7","src/backend/linux_raw/vdso.rs":"056314f72c71d4b041739337ca2098afb7fe070f844327f462c293f43481b75b","src/backend/linux_raw/vdso_wrappers.rs":"6bd4b8c15761e16defff7d2eed18c008c9f980ebee6c9bdc2e104b16b9b7c631","src/bitcast.rs":"e21c87c292c781b27256c6f5dcf9fd52dd69ed6e21016cbd67ac31a8219ebf8e","src/check_types.rs":"bc31f9b293bfbf272284ed4d0da24e941206a1ac3f18d3abb0b1a61f1ede1dae","src/clockid.rs":"1d2e1cfcf23160b55d6b046d235edf2eb2408f072a8bdef3e3a3871885abdd5a","src/cstr.rs":"41af2a4429fe6c67a8883f8a8f63d66c90df566abda74fd2b03bcef7b9f24218","src/event/eventfd.rs":"81cbd08f7bdf40a6ce1ca692b63da1dc8ba925282990668d9d68f1203e839fa1","src/event/kqueue.rs":"f13f40b97c4413902115408fc2f340e7c82bba42d2468015b007e8ac6ef23132","src/event/mod.rs":"326a7ddfeb33bb95dd31391d65f400fa622e5d0ab827c096cab16af4b6843b51","src/event/poll.rs":"0ee583dbd457a573a82a06c04a2a24bd2c76e751d27a435507d55338e2871327","src/event/port.rs":"4e51ff150e5d17cbd44aa64a38b99c15e26eaaf2e350768b5dcacdfde4fa5212","src/ffi.rs":"c2b8b38c02d72749aceb715c496726caba1f1fa989ad3856d0103a2fafed89ed","src/fs/abs.rs":"6f0b57878f61c009fd0a3698a3983aa8076ba4fe3b5c28feec0307d65a77891c","src/fs/at.rs":"9b5f35afcaca9dd19d501cee3ad305b1d1c1b588c5fd925b18b6d3b614f05011","src/fs/constants.rs":"24076a01f8bfc126b0905e9bc0521d2c3a3abc6c3b8c86ddb1e545070d097127","src/fs/copy_file_range.rs":"d3b644374390d482b2ff749a2459458872b57d0dcf9670368739b7833509a7c2","src/fs/cwd.rs":"9f429a79ace6e17455634da09216ee0ad3d067a4541518b3193ae6a8d9ff1e26","src/fs/dir.rs":"347a52f4ca9ac6321c52e802e97ec90d1b4c62ec955c8996fc17f8f5aed69966","src/fs/fadvise.rs":"beef66ebe1310fb92628240b2cde68f744c78e50f6ff61bb1404bd4868d9cae8","src/fs/fcntl.rs":"2085102d05d0ba963e100ab3e3f19dac4ff27d142fbf798626d20a2a596ba96d","src/fs/fcntl_apple.rs":"e2f23f038083621bcdecc98d02ce1023508afaecdb2ed0fba5c8b70f955301e5","src/fs/fcopyfile.rs":"ec95929cbbe02cf49233a785e5238931bb107b7903cc5bc95e4231de960995f2","src/fs/fd.rs":"68d19bb99da0444444acbafd27ba10a69fc2ac35ede4e0106ac2043c30ce4f8f","src/fs/file_type.rs":"fefd865f91011f66126213b0994773d99e373b468c31e866002228c98c64ad85","src/fs/getpath.rs":"28f6970fc1bbc37bb35c84724b59eac436ea7407a4522e18c2bdacb1fdd2edd9","src/fs/id.rs":"1b5c8a8baf9a9bb1f895f97189cea4e5982a0d35b192afeec6340a6c6222e0cb","src/fs/ioctl.rs":"71327efab1e73c7844c681ea7e822b5124738196b2fc687aabc786b90be9fe32","src/fs/makedev.rs":"85520b484cb7c15ab71ea1c368578ea3b7e484d82f8510db92b6ce9f7ca341ae","src/fs/memfd_create.rs":"15a8f28e040cffd8c24c7903483440f88853b2e538ad48d80f3c00b4b2befdea","src/fs/mod.rs":"ecd20bf01d651b1866b198c4fc0dc8e7d681eb581e28708c8a0abd062de137ce","src/fs/mount.rs":"8f6ea2b997dd83c50c90291b9ada3ed77a9ce1ad701c9b0d533b5113b317be5b","src/fs/openat2.rs":"4a95c15dab533a41201b5fa25c8a212956b7571d58cad696bdaf45af8aef96db","src/fs/raw_dir.rs":"18ad797876d6230c38d4cacbed081c4028e03ace477d0520d9b226b40de942f0","src/fs/seek_from.rs":"a9efa0feb9ac789cf47667e91efee2e3f2dcde16cb3b7a928c99da640fa0e0d6","src/fs/sendfile.rs":"e3b2058741cf4b1698f34d84bb37130cf2b72806d522a16fe541e832cde136cb","src/fs/statx.rs":"c5192f54311faeb5a8e7ba7da1acd4fa5a8f69f6c15c4d78b4b7a495d21d0864","src/fs/sync.rs":"a3b23543834281f347b0f873bd38154d31d404871188ac08f2b20b9196234cfd","src/fs/xattr.rs":"b976eece822f69e768d91e61d86ee990ea18097b20f7ebeedaaf718c61b48962","src/io/close.rs":"0aa3cd05a8fed8e5244f97b8b6c2e7f65ed93a4e5435c6329852bb3da7514440","src/io/dup.rs":"a8a59c5d345dc54c57ded890720c33eb78c4d53917c71e8bb6317f7ed122cb87","src/io/errno.rs":"58a4d20ba0924e4d514e3c876fbe08982f1623187642ae14780815e65989c8c8","src/io/fcntl.rs":"c0f7bd7fce1119b0c1d0085b7ab77d5df02470ae3e06035428a2452dacbec296","src/io/ioctl.rs":"a47a5ec14607142f2c2ffcb93d016b8e86c8b15ba94b56b35382b545db62ea34","src/io/is_read_write.rs":"1bfb9ee5d58e0b29b44af12fe2668c7bccc841358698dcde47f1519ff9bb73b4","src/io/mod.rs":"75f1d0646be1d4c7c08b5887d8119b0103be8c25c43ccd4e0e97015508c0bb8f","src/io/read_write.rs":"54ba528b11601af1338bb0c71a41b256a0033076d30b3946c3fd0bdfa61dd021","src/io_uring.rs":"61e6dce7a53ce141604b5f577e20ec5aa73a20e2c2101825c7c52396ba221886","src/ioctl/bsd.rs":"e33772530b1b2d1e7d61ce53d9267e68d88f7f5df13301f90412d89a46c6faaa","src/ioctl/linux.rs":"256aef9fb51c67cd7f43a581b702aa62757e3bdd7c38f71bf849f818194c2285","src/ioctl/mod.rs":"739a4f6d4e9a816745e42133c1b4c51c1285bf5cde3e1ee3ea72ef0b802e3806","src/ioctl/patterns.rs":"26dda154aabf67d45362d9378875f95c1593391ecbc62be02d187b7e19e7f9da","src/lib.rs":"7430fd1db444a72dc8f9b762f2fb61226dd00c89c7c932481e94958f60678383","src/maybe_polyfill/no_std/io/mod.rs":"77889bb5c5a4f2e50e38379cdaa5d0fef4b0cafc3da056735df01f6deae75747","src/maybe_polyfill/no_std/mod.rs":"ec94a4aab4bc475785e469d10fd6bc95667e1d47d958e9cff3a19049d88c8c80","src/maybe_polyfill/no_std/net/ip_addr.rs":"046327ee244f758f2bc31d3be305d8cd0dfd8342aac1add8259e999b4b46c4a7","src/maybe_polyfill/no_std/net/mod.rs":"b0ee611c454679226a15bf647e7779995f3fe9c8e0507930a0d0613eb414b7c2","src/maybe_polyfill/no_std/net/socket_addr.rs":"bfeb32d32c176cde76323abcffebfc47e9898fb8d7ce3668c602dc8451086a2d","src/maybe_polyfill/no_std/os/fd/mod.rs":"27ef0afbcb0695cbb15101070f417eb51e0ef85ae66ec967d95e80771d507c47","src/maybe_polyfill/no_std/os/fd/owned.rs":"ab86ffa2693a04f3085770faf395f95e5303001711be8b19c44a47a0ac574091","src/maybe_polyfill/no_std/os/fd/raw.rs":"f3648c7bd4a6ff94bd823ed9e0d99d398e02f24875cf9b25962736999e7c6943","src/maybe_polyfill/no_std/os/mod.rs":"27dab639a765827644005d5f2fcc7c825310606b889cc8dd83f54c9528350dc0","src/maybe_polyfill/no_std/os/windows/io/mod.rs":"5bbcc05c83fee5026dd744a994e0458469466d5be39081baa62df07753b92fd2","src/maybe_polyfill/no_std/os/windows/io/raw.rs":"4c32609a489dd938a49328b5637cb3bafb96437f2f9f269ab66d7d3cb90247f6","src/maybe_polyfill/no_std/os/windows/io/socket.rs":"c658f42f24eff44a661f2adfd24a11af80fe9897f3e2af4dc5d2c64808308d65","src/maybe_polyfill/no_std/os/windows/mod.rs":"fdb416f8f231a4e778b5f985b9ae712ece5e1a1402963ad1a5f6a8b9843795f4","src/maybe_polyfill/std/mod.rs":"7c16c86cc73e226e65ead598e4018238b22000a345040b706bf1e1b3eba115fc","src/mm/madvise.rs":"3c262b3713a73fafcedf1b04bb12c048bb11d47ca43c959e5dfa48c27651f4f0","src/mm/mmap.rs":"28523bceb2b7e3bc1207f351d8a1771867159e1b9ff1d9c37fbdc05aeb696b50","src/mm/mod.rs":"b3a6cb838986d45825b912355cedead761211a494ca6f89b2367a2d2157e340e","src/mm/msync.rs":"9dcfe5f54235e9314a595edb8d548ac79d222bbcc58bb3263cf7e96d603b23ad","src/mm/userfaultfd.rs":"8073443bd181ff0b3ba4d0b1ae67370b4864035a0c8b4898cd709dc47c518ae7","src/mount/fsopen.rs":"160e384e9175fd98669cda1cf3590bb195c2ba7e1c724e9ea06e692595e58ba1","src/mount/mod.rs":"5f0c9df4727592695deb1cd63ae1de021b03dcd9d0d1b68e1f34d12a7136cb19","src/mount/mount_unmount.rs":"8ad11675e5d762d33fbefbed06a6a9f9e52a9b689bd06662446152614321ab77","src/mount/types.rs":"601ae3e10b7dc496fed7f3b40a80e81c6edd7bf13189d7be45c3212d4c684c39","src/net/mod.rs":"a6bc55f9e086caf46a7c00783498d73a328a66f2a991f1ec65d5f13931377b0f","src/net/send_recv/mod.rs":"f33e39c7b228cd8109823b0a0a1aa397cddad504d49e69b36f74c5b84e5070e5","src/net/send_recv/msg.rs":"6a73e4fd2b78fbeb683f48bcd8404a362245c6cd66e0d59e6378467600b44268","src/net/socket.rs":"bc825a94831557bf4c2cabd8ef5ae21ffe0986c24f9ada564eefa66270f69ae9","src/net/socket_addr_any.rs":"a9af81e967a91b45e51aec4f46a068fade7035c5d19dfaf05bfdcd3b3c32e9bf","src/net/socketpair.rs":"56f4885c31d2664cd16e18a9a88792a4912fedd953cec36dba67e8581fd57921","src/net/sockopt.rs":"58fbabf73ede7afaeac279241ff874dcee5604f63b3f38e4435a61a354da2196","src/net/types.rs":"5914e786d6a24a6efc355023fd71a28bc29fc85fb672e5388370243fe83e4191","src/net/wsa.rs":"6e546b42f50a851fc833c57cda76cfb347203ed4b0dea574a3d325bf5a2ebf80","src/param/auxv.rs":"886e57d52adf0199b8146f849c2db1e3136c07fc4ec61f60dc781fea11070604","src/param/init.rs":"a31c0e5cea61a1a999767fe74f87c0d59eeb6bce66578b842fe0e0c32be27a55","src/param/mod.rs":"25b10acd5b1da8faa6f5204e6b0379b38bfab667916e886cca64bea01a42dec2","src/path/arg.rs":"b1329485ad525e8d067792b0890a1241c20f6c08d29f0661f2a9f429581a7818","src/path/dec_int.rs":"fad9793b89eac526953b994cbed6b614f01c25108f9763e19fb98029feda93a4","src/path/mod.rs":"6b1b949c94bcc47e0f08a3f8e8db5b61ff497d0dfd3e0655f51c01d3e4b7dfd6","src/pid.rs":"f1c486000c5b1311b2d720cee88f089c17ef9a171709673dd06e6f35f4ff98a3","src/pipe.rs":"fd021deeacf78790886ae03f1e8f0fe5a13909c7532b2246581667eb3d0483d7","src/prctl.rs":"c9daa9397460a27ed6e31fc454fc40dff83720312a002b66f4c178fc005379ec","src/process/chdir.rs":"6947b80d468d906d528de328f30fe7509acfe4976a0de3fa600a7cc39618c049","src/process/chroot.rs":"2b5f6124eb19f26ad2705174f7ad50cdc0a5d15abd59ffcf55421228d82130b4","src/process/exit.rs":"48de66e5504a00cb375d8f415ce63b6225a3f5204268d40726a7d0fbba43f587","src/process/id.rs":"e4733f9e8e4b5f50e98ef7a23802e126f1f14ece8b3d7ae7446c6a66affc6bc1","src/process/ioctl.rs":"23ad0285671e8d7ca71a63c50655dbf732ccea8af11d754a0558e0236db37e76","src/process/kill.rs":"7b879e5cff8a064acd0e7488f4e21bd4e4a8506ce380688b72cc48d283ff9c89","src/process/membarrier.rs":"d6c8821ec73019040c926f4e1018f399c286e87074ab9c6692370c88772af044","src/process/mod.rs":"0ef104be820068409648ed83739a51a7dcf07612088f9a6ed6c7ebdb6ad54092","src/process/pidfd.rs":"4be2fba21430ba84244e11c636c91201bc1d1dffff3e63a4da84cc96f501786b","src/process/pidfd_getfd.rs":"cbc42a1548280ae76c3c66e851fd53cc2a3d4c089cb5798c17a2cdf654f0e229","src/process/prctl.rs":"3396b39a0f161385f02f6a4a17db0a3fcd2d70f4d6d2e1d8d1b9091b36d5704c","src/process/priority.rs":"f135482e71ea8aa0daf92b9f238051178a4c904070fa8409622f94155df3c544","src/process/procctl.rs":"0ca2f5fd4cd39335c141758cac132a3271e318c688f8882e527f58c02d5ab0e2","src/process/rlimit.rs":"10b79de3ced0e64059a94c879742d46a35a6176c776d8eed75031d5e6340283d","src/process/sched.rs":"7c3bfc5be624e7d7f5e043c3ee0b0566fcab3d684d61c272e7b4233410ab1c42","src/process/sched_yield.rs":"6565faa3928b66ddc74a65e893e15edfa4b9be4f7e5f5f68527501a7f6bc3350","src/process/umask.rs":"1a0f31a842303c978e3f05ec191e2b5e96104c09c6596473b42b1fac34898a50","src/process/wait.rs":"cef08e74f5d87df925fa6a6acc95e8de0e689fb420ba514b9fbf94a9ca403465","src/procfs.rs":"63b286dd3302be7f426841eb3b9261ef4785c3159ed78c24734bd5094c9b0b2e","src/pty.rs":"ee697b226230b65c0432a42cd82b2fad885ca70285dbb0a7b8ec0ff81d23e3a0","src/rand/getrandom.rs":"1c8166a02a74f5593bb4673ef907524df04cbc1568020a5ab2ff7f4aa1283f8b","src/rand/mod.rs":"cab59332aadd9b679f5b22cbb222d48ee028af5eb9fd4a4d43922da659b895d7","src/runtime.rs":"9aed98071bf8124c6913e8517b28ef63c7b88001042f0522d877ab65ac88099a","src/shm.rs":"b96fe8a05ee5d4536464a8843a776d43a938abaf22c772fc35b5373d95644a8d","src/signal.rs":"c071b4f011deef19a679d7a832d5408a3cd68627161d6510008d6312266a2611","src/static_assertions.rs":"39986672f489949be1d6469f0c30fb7d2eaa21bdaa2702a8c150b2b150bf5535","src/stdio.rs":"a5de2d7d9c3c5a901f88b6acf4754687c958a2f3a93c7945c2b8fcb948d468af","src/system.rs":"e594c16b4600a8ebea01c5850cd9e1521acf242f1a9f083403cfe95adcde4679","src/termios/ioctl.rs":"a1ac967f7811a482f8bb53847c37c8359f518cd26da9df7b816ba678a0139623","src/termios/mod.rs":"b44b7caa60b6f458657ed58a0e0eca41bb4e6d6be4b0f042bbb8ab7056cebe4b","src/termios/tc.rs":"e41312d15464b83b2457c2502fc3f3b9998cfb02ba68739026dd4285cc7130ac","src/termios/tty.rs":"906ee160ffb5ba3a92ea3a61374cf2cd617cebae51f5490073b6700c438d5eee","src/termios/types.rs":"8c4f029e8dbb9b2c59082bd13d628a741f6f0a31f5ecf485c93795b73c1daeca","src/thread/clock.rs":"469326c822dfb63405ee8537552cedde0b344978280e6645bbadd47dedc71e18","src/thread/futex.rs":"985f9a0dce1e2a4892ae7f26bd1bf119ceae3f9fa6b4707e166624fc1cee76d4","src/thread/id.rs":"ad72db4fea9fccb728310bbfd01ef8c00f6cc60fa2a750f6349646a134f7009b","src/thread/libcap.rs":"a3e316e6d0f58b075125fa939b9b824e1595de20a23d341a36999416b0d10d36","src/thread/mod.rs":"98634ece0b882f123ad887017692f2a4d94a23a1dec278ed660b3497cac5cceb","src/thread/prctl.rs":"10e2878ef856557bc5bd24c77f5699266e746f912e73690980371cc99c7417e8","src/thread/setns.rs":"730badd8db8ce7b905767b341211f1226eeeb38019727bf994eb64f2531b7b7f","src/time/clock.rs":"e59a29f1bed8c31c3d5b6fad60f2d4fa6cab8dd8e86148bb3693a5e3a1ce735f","src/time/mod.rs":"43afee938c80d124d04d4ba190c03f4d21d1e3bfc154fff309211e4f6eabe940","src/time/timerfd.rs":"f17092b84553741aa2d2b44c6992b5d2c8c96cc2c2007fc9a2c6b2064485e53f","src/timespec.rs":"32a4d930cbc0f6dbd23153290db920671cf4ce65a4a127e176f897c1cde42d7d","src/ugid.rs":"6616c6e35b7e43aee5b150f1efae7a50711e0947943c9a96833dbe214ad9e85f","src/utils.rs":"9ae76f8a41d6cc350cdd58c9084b5c3a5a708eeecd769783debdbcbaef442182","src/weak.rs":"c7cf03bf2aeba494b1999ab32183fa8c603ab72e254c0e312a67f168877e410d"},"package":"745ecfa778e66b2b63c88a61cb36e0eea109e803b0b86bf9879fbc77c70e86ed"}
+--- a/vendor/rustix-0.38.19/src/fs/ioctl.rs
++++ b/vendor/rustix-0.38.19/src/fs/ioctl.rs
+@@ -48,7 +48,7 @@ pub fn ioctl_blkpbszget<Fd: AsFd>(fd: Fd
+ /// - [Linux]
+ ///
+ /// [Linux]: https://man7.org/linux/man-pages/man2/ioctl_ficlone.2.html
+-#[cfg(all(linux_kernel, not(any(target_arch = "sparc", target_arch = "sparc64"))))]
++#[cfg(all(linux_kernel, not(any(target_arch = "sparc", target_arch = "sparc64", target_arch = "riscv32"))))]
+ #[inline]
+ #[doc(alias = "FICLONE")]
+ pub fn ioctl_ficlone<Fd: AsFd, SrcFd: AsFd>(fd: Fd, src_fd: SrcFd) -> io::Result<()> {
+@@ -77,7 +77,7 @@ unsafe impl ioctl::Ioctl for Ficlone<'_>
+ type Output = ();
+
+ const IS_MUTATING: bool = false;
+- const OPCODE: ioctl::Opcode = ioctl::Opcode::old(c::FICLONE as ioctl::RawOpcode);
++ const OPCODE: ioctl::Opcode = ioctl::Opcode::old(linux_raw_sys::ioctl::FICLONE as ioctl::RawOpcode);
+
+ fn as_ptr(&mut self) -> *mut c::c_void {
+ self.0.as_raw_fd() as *mut c::c_void
+--- a/vendor/rustix-0.38.19/src/backend/libc/c.rs
++++ b/vendor/rustix-0.38.19/src/backend/libc/c.rs
+@@ -6,6 +6,8 @@
+ // things below.
+ pub(crate) use libc::*;
+
++use linux_raw_sys::ioctl::FICLONE;
++
+ /// `PROC_SUPER_MAGIC`—The magic number for the procfs filesystem.
+ #[cfg(all(linux_kernel, target_env = "musl"))]
+ pub(crate) const PROC_SUPER_MAGIC: u32 = 0x0000_9fa0;
diff --git a/meta/recipes-devtools/rust/files/rv32-missing-syscalls.patch b/meta/recipes-devtools/rust/files/rv32-missing-syscalls.patch
new file mode 100644
index 0000000000..ccadbb9b91
--- /dev/null
+++ b/meta/recipes-devtools/rust/files/rv32-missing-syscalls.patch
@@ -0,0 +1,1503 @@
+Backport rv32 support
+
+Upstream-Status: Backport [https://github.com/sunfishcode/linux-raw-sys/commit/6f86540e73bd45c9d13730ba0121d1820db0eeee]
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+--- a/vendor/linux-raw-sys/src/riscv32/ioctl.rs
++++ b/vendor/linux-raw-sys/src/riscv32/ioctl.rs
+@@ -1,3 +1,1489 @@
+ /* automatically generated by rust-bindgen 0.66.1 */
+
+-
++pub const FIONREAD: u32 = 21531;
++pub const FIONBIO: u32 = 21537;
++pub const FIOCLEX: u32 = 21585;
++pub const FIONCLEX: u32 = 21584;
++pub const FIOASYNC: u32 = 21586;
++pub const FIOQSIZE: u32 = 21600;
++pub const TCXONC: u32 = 21514;
++pub const TCFLSH: u32 = 21515;
++pub const TIOCSCTTY: u32 = 21518;
++pub const TIOCSPGRP: u32 = 21520;
++pub const TIOCOUTQ: u32 = 21521;
++pub const TIOCSTI: u32 = 21522;
++pub const TIOCSWINSZ: u32 = 21524;
++pub const TIOCMGET: u32 = 21525;
++pub const TIOCMBIS: u32 = 21526;
++pub const TIOCMBIC: u32 = 21527;
++pub const TIOCMSET: u32 = 21528;
++pub const TIOCSSOFTCAR: u32 = 21530;
++pub const TIOCLINUX: u32 = 21532;
++pub const TIOCCONS: u32 = 21533;
++pub const TIOCSSERIAL: u32 = 21535;
++pub const TIOCPKT: u32 = 21536;
++pub const TIOCNOTTY: u32 = 21538;
++pub const TIOCSETD: u32 = 21539;
++pub const TIOCSBRK: u32 = 21543;
++pub const TIOCCBRK: u32 = 21544;
++pub const TIOCSRS485: u32 = 21551;
++pub const TIOCSPTLCK: u32 = 1074025521;
++pub const TIOCSIG: u32 = 1074025526;
++pub const TIOCVHANGUP: u32 = 21559;
++pub const TIOCSERCONFIG: u32 = 21587;
++pub const TIOCSERGWILD: u32 = 21588;
++pub const TIOCSERSWILD: u32 = 21589;
++pub const TIOCSLCKTRMIOS: u32 = 21591;
++pub const TIOCSERGSTRUCT: u32 = 21592;
++pub const TIOCSERGETLSR: u32 = 21593;
++pub const TIOCSERGETMULTI: u32 = 21594;
++pub const TIOCSERSETMULTI: u32 = 21595;
++pub const TIOCMIWAIT: u32 = 21596;
++pub const TCGETS: u32 = 21505;
++pub const TCGETA: u32 = 21509;
++pub const TCSBRK: u32 = 21513;
++pub const TCSBRKP: u32 = 21541;
++pub const TCSETA: u32 = 21510;
++pub const TCSETAF: u32 = 21512;
++pub const TCSETAW: u32 = 21511;
++pub const TIOCEXCL: u32 = 21516;
++pub const TIOCNXCL: u32 = 21517;
++pub const TIOCGDEV: u32 = 2147767346;
++pub const TIOCGEXCL: u32 = 2147767360;
++pub const TIOCGICOUNT: u32 = 21597;
++pub const TIOCGLCKTRMIOS: u32 = 21590;
++pub const TIOCGPGRP: u32 = 21519;
++pub const TIOCGPKT: u32 = 2147767352;
++pub const TIOCGPTLCK: u32 = 2147767353;
++pub const TIOCGPTN: u32 = 2147767344;
++pub const TIOCGPTPEER: u32 = 21569;
++pub const TIOCGRS485: u32 = 21550;
++pub const TIOCGSERIAL: u32 = 21534;
++pub const TIOCGSID: u32 = 21545;
++pub const TIOCGSOFTCAR: u32 = 21529;
++pub const TIOCGWINSZ: u32 = 21523;
++pub const TCGETS2: u32 = 2150388778;
++pub const TCGETX: u32 = 21554;
++pub const TCSETS: u32 = 21506;
++pub const TCSETS2: u32 = 1076646955;
++pub const TCSETSF: u32 = 21508;
++pub const TCSETSF2: u32 = 1076646957;
++pub const TCSETSW: u32 = 21507;
++pub const TCSETSW2: u32 = 1076646956;
++pub const TCSETX: u32 = 21555;
++pub const TCSETXF: u32 = 21556;
++pub const TCSETXW: u32 = 21557;
++pub const TIOCGETD: u32 = 21540;
++pub const MTIOCGET: u32 = 2150657282;
++pub const BLKSSZGET: u32 = 4712;
++pub const BLKPBSZGET: u32 = 4731;
++pub const BLKROSET: u32 = 4701;
++pub const BLKROGET: u32 = 4702;
++pub const BLKRRPART: u32 = 4703;
++pub const BLKGETSIZE: u32 = 4704;
++pub const BLKFLSBUF: u32 = 4705;
++pub const BLKRASET: u32 = 4706;
++pub const BLKRAGET: u32 = 4707;
++pub const BLKFRASET: u32 = 4708;
++pub const BLKFRAGET: u32 = 4709;
++pub const BLKSECTSET: u32 = 4710;
++pub const BLKSECTGET: u32 = 4711;
++pub const BLKPG: u32 = 4713;
++pub const BLKBSZGET: u32 = 2148012656;
++pub const BLKBSZSET: u32 = 1074270833;
++pub const BLKGETSIZE64: u32 = 2148012658;
++pub const BLKTRACESETUP: u32 = 3225948787;
++pub const BLKTRACESTART: u32 = 4724;
++pub const BLKTRACESTOP: u32 = 4725;
++pub const BLKTRACETEARDOWN: u32 = 4726;
++pub const BLKDISCARD: u32 = 4727;
++pub const BLKIOMIN: u32 = 4728;
++pub const BLKIOOPT: u32 = 4729;
++pub const BLKALIGNOFF: u32 = 4730;
++pub const BLKDISCARDZEROES: u32 = 4732;
++pub const BLKSECDISCARD: u32 = 4733;
++pub const BLKROTATIONAL: u32 = 4734;
++pub const BLKZEROOUT: u32 = 4735;
++pub const UFFDIO_REGISTER: u32 = 3223366144;
++pub const UFFDIO_UNREGISTER: u32 = 2148575745;
++pub const UFFDIO_WAKE: u32 = 2148575746;
++pub const UFFDIO_COPY: u32 = 3223890435;
++pub const UFFDIO_ZEROPAGE: u32 = 3223366148;
++pub const UFFDIO_WRITEPROTECT: u32 = 3222841862;
++pub const UFFDIO_API: u32 = 3222841919;
++pub const NS_GET_USERNS: u32 = 46849;
++pub const NS_GET_PARENT: u32 = 46850;
++pub const NS_GET_NSTYPE: u32 = 46851;
++pub const KDGETLED: u32 = 19249;
++pub const KDSETLED: u32 = 19250;
++pub const KDGKBLED: u32 = 19300;
++pub const KDSKBLED: u32 = 19301;
++pub const KDGKBTYPE: u32 = 19251;
++pub const KDADDIO: u32 = 19252;
++pub const KDDELIO: u32 = 19253;
++pub const KDENABIO: u32 = 19254;
++pub const KDDISABIO: u32 = 19255;
++pub const KDSETMODE: u32 = 19258;
++pub const KDGETMODE: u32 = 19259;
++pub const KDMKTONE: u32 = 19248;
++pub const KIOCSOUND: u32 = 19247;
++pub const GIO_CMAP: u32 = 19312;
++pub const PIO_CMAP: u32 = 19313;
++pub const GIO_FONT: u32 = 19296;
++pub const GIO_FONTX: u32 = 19307;
++pub const PIO_FONT: u32 = 19297;
++pub const PIO_FONTX: u32 = 19308;
++pub const PIO_FONTRESET: u32 = 19309;
++pub const GIO_SCRNMAP: u32 = 19264;
++pub const GIO_UNISCRNMAP: u32 = 19305;
++pub const PIO_SCRNMAP: u32 = 19265;
++pub const PIO_UNISCRNMAP: u32 = 19306;
++pub const GIO_UNIMAP: u32 = 19302;
++pub const PIO_UNIMAP: u32 = 19303;
++pub const PIO_UNIMAPCLR: u32 = 19304;
++pub const KDGKBMODE: u32 = 19268;
++pub const KDSKBMODE: u32 = 19269;
++pub const KDGKBMETA: u32 = 19298;
++pub const KDSKBMETA: u32 = 19299;
++pub const KDGKBENT: u32 = 19270;
++pub const KDSKBENT: u32 = 19271;
++pub const KDGKBSENT: u32 = 19272;
++pub const KDSKBSENT: u32 = 19273;
++pub const KDGKBDIACR: u32 = 19274;
++pub const KDGETKEYCODE: u32 = 19276;
++pub const KDSETKEYCODE: u32 = 19277;
++pub const KDSIGACCEPT: u32 = 19278;
++pub const VT_OPENQRY: u32 = 22016;
++pub const VT_GETMODE: u32 = 22017;
++pub const VT_SETMODE: u32 = 22018;
++pub const VT_GETSTATE: u32 = 22019;
++pub const VT_RELDISP: u32 = 22021;
++pub const VT_ACTIVATE: u32 = 22022;
++pub const VT_WAITACTIVE: u32 = 22023;
++pub const VT_DISALLOCATE: u32 = 22024;
++pub const VT_RESIZE: u32 = 22025;
++pub const VT_RESIZEX: u32 = 22026;
++pub const FIOSETOWN: u32 = 35073;
++pub const SIOCSPGRP: u32 = 35074;
++pub const FIOGETOWN: u32 = 35075;
++pub const SIOCGPGRP: u32 = 35076;
++pub const SIOCATMARK: u32 = 35077;
++pub const SIOCGSTAMP: u32 = 35078;
++pub const TIOCINQ: u32 = 21531;
++pub const SIOCADDRT: u32 = 35083;
++pub const SIOCDELRT: u32 = 35084;
++pub const SIOCGIFNAME: u32 = 35088;
++pub const SIOCSIFLINK: u32 = 35089;
++pub const SIOCGIFCONF: u32 = 35090;
++pub const SIOCGIFFLAGS: u32 = 35091;
++pub const SIOCSIFFLAGS: u32 = 35092;
++pub const SIOCGIFADDR: u32 = 35093;
++pub const SIOCSIFADDR: u32 = 35094;
++pub const SIOCGIFDSTADDR: u32 = 35095;
++pub const SIOCSIFDSTADDR: u32 = 35096;
++pub const SIOCGIFBRDADDR: u32 = 35097;
++pub const SIOCSIFBRDADDR: u32 = 35098;
++pub const SIOCGIFNETMASK: u32 = 35099;
++pub const SIOCSIFNETMASK: u32 = 35100;
++pub const SIOCGIFMETRIC: u32 = 35101;
++pub const SIOCSIFMETRIC: u32 = 35102;
++pub const SIOCGIFMEM: u32 = 35103;
++pub const SIOCSIFMEM: u32 = 35104;
++pub const SIOCGIFMTU: u32 = 35105;
++pub const SIOCSIFMTU: u32 = 35106;
++pub const SIOCSIFHWADDR: u32 = 35108;
++pub const SIOCGIFENCAP: u32 = 35109;
++pub const SIOCSIFENCAP: u32 = 35110;
++pub const SIOCGIFHWADDR: u32 = 35111;
++pub const SIOCGIFSLAVE: u32 = 35113;
++pub const SIOCSIFSLAVE: u32 = 35120;
++pub const SIOCADDMULTI: u32 = 35121;
++pub const SIOCDELMULTI: u32 = 35122;
++pub const SIOCDARP: u32 = 35155;
++pub const SIOCGARP: u32 = 35156;
++pub const SIOCSARP: u32 = 35157;
++pub const SIOCDRARP: u32 = 35168;
++pub const SIOCGRARP: u32 = 35169;
++pub const SIOCSRARP: u32 = 35170;
++pub const SIOCGIFMAP: u32 = 35184;
++pub const SIOCSIFMAP: u32 = 35185;
++pub const SIOCRTMSG: u32 = 35085;
++pub const SIOCSIFNAME: u32 = 35107;
++pub const SIOCGIFINDEX: u32 = 35123;
++pub const SIOGIFINDEX: u32 = 35123;
++pub const SIOCSIFPFLAGS: u32 = 35124;
++pub const SIOCGIFPFLAGS: u32 = 35125;
++pub const SIOCDIFADDR: u32 = 35126;
++pub const SIOCSIFHWBROADCAST: u32 = 35127;
++pub const SIOCGIFCOUNT: u32 = 35128;
++pub const SIOCGIFBR: u32 = 35136;
++pub const SIOCSIFBR: u32 = 35137;
++pub const SIOCGIFTXQLEN: u32 = 35138;
++pub const SIOCSIFTXQLEN: u32 = 35139;
++pub const SIOCADDDLCI: u32 = 35200;
++pub const SIOCDELDLCI: u32 = 35201;
++pub const SIOCDEVPRIVATE: u32 = 35312;
++pub const SIOCPROTOPRIVATE: u32 = 35296;
++pub const FIBMAP: u32 = 1;
++pub const FIGETBSZ: u32 = 2;
++pub const FIFREEZE: u32 = 3221510263;
++pub const FITHAW: u32 = 3221510264;
++pub const FITRIM: u32 = 3222820985;
++pub const FICLONE: u32 = 1074041865;
++pub const FICLONERANGE: u32 = 1075876877;
++pub const FIDEDUPERANGE: u32 = 3222836278;
++pub const FS_IOC_GETFLAGS: u32 = 2148034049;
++pub const FS_IOC_SETFLAGS: u32 = 1074292226;
++pub const FS_IOC_GETVERSION: u32 = 2148038145;
++pub const FS_IOC_SETVERSION: u32 = 1074296322;
++pub const FS_IOC_FIEMAP: u32 = 3223348747;
++pub const FS_IOC32_GETFLAGS: u32 = 2147771905;
++pub const FS_IOC32_SETFLAGS: u32 = 1074030082;
++pub const FS_IOC32_GETVERSION: u32 = 2147776001;
++pub const FS_IOC32_SETVERSION: u32 = 1074034178;
++pub const FS_IOC_FSGETXATTR: u32 = 2149341215;
++pub const FS_IOC_FSSETXATTR: u32 = 1075599392;
++pub const FS_IOC_GETFSLABEL: u32 = 2164298801;
++pub const FS_IOC_SETFSLABEL: u32 = 1090556978;
++pub const EXT4_IOC_GETVERSION: u32 = 2148034051;
++pub const EXT4_IOC_SETVERSION: u32 = 1074292228;
++pub const EXT4_IOC_GETVERSION_OLD: u32 = 2148038145;
++pub const EXT4_IOC_SETVERSION_OLD: u32 = 1074296322;
++pub const EXT4_IOC_GETRSVSZ: u32 = 2148034053;
++pub const EXT4_IOC_SETRSVSZ: u32 = 1074292230;
++pub const EXT4_IOC_GROUP_EXTEND: u32 = 1074292231;
++pub const EXT4_IOC_MIGRATE: u32 = 26121;
++pub const EXT4_IOC_ALLOC_DA_BLKS: u32 = 26124;
++pub const EXT4_IOC_RESIZE_FS: u32 = 1074292240;
++pub const EXT4_IOC_SWAP_BOOT: u32 = 26129;
++pub const EXT4_IOC_PRECACHE_EXTENTS: u32 = 26130;
++pub const EXT4_IOC_CLEAR_ES_CACHE: u32 = 26152;
++pub const EXT4_IOC_GETSTATE: u32 = 1074030121;
++pub const EXT4_IOC_GET_ES_CACHE: u32 = 3223348778;
++pub const EXT4_IOC_CHECKPOINT: u32 = 1074030123;
++pub const EXT4_IOC_SHUTDOWN: u32 = 2147768445;
++pub const EXT4_IOC32_GETVERSION: u32 = 2147771907;
++pub const EXT4_IOC32_SETVERSION: u32 = 1074030084;
++pub const EXT4_IOC32_GETRSVSZ: u32 = 2147771909;
++pub const EXT4_IOC32_SETRSVSZ: u32 = 1074030086;
++pub const EXT4_IOC32_GROUP_EXTEND: u32 = 1074030087;
++pub const EXT4_IOC32_GETVERSION_OLD: u32 = 2147776001;
++pub const EXT4_IOC32_SETVERSION_OLD: u32 = 1074034178;
++pub const VIDIOC_SUBDEV_QUERYSTD: u32 = 2148030015;
++pub const AUTOFS_DEV_IOCTL_CLOSEMOUNT: u32 = 3222836085;
++pub const LIRC_SET_SEND_CARRIER: u32 = 1074030867;
++pub const AUTOFS_IOC_PROTOSUBVER: u32 = 2147783527;
++pub const PTP_SYS_OFFSET_PRECISE: u32 = 3225435400;
++pub const FSI_SCOM_WRITE: u32 = 3223352066;
++pub const ATM_GETCIRANGE: u32 = 1074815370;
++pub const DMA_BUF_SET_NAME_B: u32 = 1074291201;
++pub const RIO_CM_EP_GET_LIST_SIZE: u32 = 3221512961;
++pub const TUNSETPERSIST: u32 = 1074025675;
++pub const FS_IOC_GET_ENCRYPTION_POLICY: u32 = 1074554389;
++pub const CEC_RECEIVE: u32 = 3224920326;
++pub const MGSL_IOCGPARAMS: u32 = 2150657281;
++pub const ENI_SETMULT: u32 = 1074815335;
++pub const RIO_GET_EVENT_MASK: u32 = 2147773710;
++pub const LIRC_GET_MAX_TIMEOUT: u32 = 2147772681;
++pub const USBDEVFS_CLAIMINTERFACE: u32 = 2147767567;
++pub const CHIOMOVE: u32 = 1075077889;
++pub const SONYPI_IOCGBATFLAGS: u32 = 2147579399;
++pub const BTRFS_IOC_SYNC: u32 = 37896;
++pub const VIDIOC_TRY_FMT: u32 = 3234879040;
++pub const LIRC_SET_REC_MODE: u32 = 1074030866;
++pub const VIDIOC_DQEVENT: u32 = 2156418649;
++pub const RPMSG_DESTROY_EPT_IOCTL: u32 = 46338;
++pub const UVCIOC_CTRL_MAP: u32 = 3227546912;
++pub const VHOST_SET_BACKEND_FEATURES: u32 = 1074310949;
++pub const VHOST_VSOCK_SET_GUEST_CID: u32 = 1074311008;
++pub const UI_SET_KEYBIT: u32 = 1074025829;
++pub const LIRC_SET_REC_TIMEOUT: u32 = 1074030872;
++pub const FS_IOC_GET_ENCRYPTION_KEY_STATUS: u32 = 3229640218;
++pub const BTRFS_IOC_TREE_SEARCH_V2: u32 = 3228603409;
++pub const VHOST_SET_VRING_BASE: u32 = 1074310930;
++pub const RIO_ENABLE_DOORBELL_RANGE: u32 = 1074294025;
++pub const VIDIOC_TRY_EXT_CTRLS: u32 = 3223344713;
++pub const LIRC_GET_REC_MODE: u32 = 2147772674;
++pub const PPGETTIME: u32 = 2148561045;
++pub const BTRFS_IOC_RM_DEV: u32 = 1342215179;
++pub const ATM_SETBACKEND: u32 = 1073897970;
++pub const FSL_HV_IOCTL_PARTITION_START: u32 = 3222318851;
++pub const FBIO_WAITEVENT: u32 = 18056;
++pub const SWITCHTEC_IOCTL_PORT_TO_PFF: u32 = 3222034245;
++pub const NVME_IOCTL_IO_CMD: u32 = 3225964099;
++pub const IPMICTL_RECEIVE_MSG_TRUNC: u32 = 3224398091;
++pub const FDTWADDLE: u32 = 601;
++pub const NVME_IOCTL_SUBMIT_IO: u32 = 1076907586;
++pub const NILFS_IOCTL_SYNC: u32 = 2148036234;
++pub const VIDIOC_SUBDEV_S_DV_TIMINGS: u32 = 3229898327;
++pub const ASPEED_LPC_CTRL_IOCTL_GET_SIZE: u32 = 3222319616;
++pub const DM_DEV_STATUS: u32 = 3241737479;
++pub const TEE_IOC_CLOSE_SESSION: u32 = 2147787781;
++pub const NS_GETPSTAT: u32 = 3222298977;
++pub const UI_SET_PROPBIT: u32 = 1074025838;
++pub const TUNSETFILTEREBPF: u32 = 2147767521;
++pub const RIO_MPORT_MAINT_COMPTAG_SET: u32 = 1074031874;
++pub const AUTOFS_DEV_IOCTL_VERSION: u32 = 3222836081;
++pub const WDIOC_SETOPTIONS: u32 = 2147768068;
++pub const VHOST_SCSI_SET_ENDPOINT: u32 = 1088991040;
++pub const MGSL_IOCGTXIDLE: u32 = 27907;
++pub const ATM_ADDLECSADDR: u32 = 1074815374;
++pub const FSL_HV_IOCTL_GETPROP: u32 = 3223891719;
++pub const FDGETPRM: u32 = 2149581316;
++pub const HIDIOCAPPLICATION: u32 = 18434;
++pub const ENI_MEMDUMP: u32 = 1074815328;
++pub const PTP_SYS_OFFSET2: u32 = 1128283406;
++pub const VIDIOC_SUBDEV_G_DV_TIMINGS: u32 = 3229898328;
++pub const DMA_BUF_SET_NAME_A: u32 = 1074029057;
++pub const PTP_PIN_GETFUNC: u32 = 3227532550;
++pub const PTP_SYS_OFFSET_EXTENDED: u32 = 3300932873;
++pub const DFL_FPGA_PORT_UINT_SET_IRQ: u32 = 1074312776;
++pub const RTC_EPOCH_READ: u32 = 2148036621;
++pub const VIDIOC_SUBDEV_S_SELECTION: u32 = 3225441854;
++pub const VIDIOC_QUERY_EXT_CTRL: u32 = 3236451943;
++pub const ATM_GETLECSADDR: u32 = 1074815376;
++pub const FSL_HV_IOCTL_PARTITION_STOP: u32 = 3221794564;
++pub const SONET_GETDIAG: u32 = 2147770644;
++pub const ATMMPC_DATA: u32 = 25049;
++pub const IPMICTL_UNREGISTER_FOR_CMD_CHANS: u32 = 2148296989;
++pub const HIDIOCGCOLLECTIONINDEX: u32 = 1075333136;
++pub const RPMSG_CREATE_EPT_IOCTL: u32 = 1076409601;
++pub const GPIOHANDLE_GET_LINE_VALUES_IOCTL: u32 = 3225465864;
++pub const UI_DEV_SETUP: u32 = 1079792899;
++pub const ISST_IF_IO_CMD: u32 = 1074331138;
++pub const RIO_MPORT_MAINT_READ_REMOTE: u32 = 2149084423;
++pub const VIDIOC_OMAP3ISP_HIST_CFG: u32 = 3224393412;
++pub const BLKGETNRZONES: u32 = 2147750533;
++pub const VIDIOC_G_MODULATOR: u32 = 3225703990;
++pub const VBG_IOCTL_WRITE_CORE_DUMP: u32 = 3223082515;
++pub const USBDEVFS_SETINTERFACE: u32 = 2148029700;
++pub const PPPIOCGCHAN: u32 = 2147775543;
++pub const EVIOCGVERSION: u32 = 2147763457;
++pub const VHOST_NET_SET_BACKEND: u32 = 1074310960;
++pub const USBDEVFS_REAPURBNDELAY: u32 = 1074287885;
++pub const RNDZAPENTCNT: u32 = 20996;
++pub const VIDIOC_G_PARM: u32 = 3234616853;
++pub const TUNGETDEVNETNS: u32 = 21731;
++pub const LIRC_SET_MEASURE_CARRIER_MODE: u32 = 1074030877;
++pub const VHOST_SET_VRING_ERR: u32 = 1074310946;
++pub const VDUSE_VQ_SETUP: u32 = 1075872020;
++pub const AUTOFS_IOC_SETTIMEOUT: u32 = 3221787492;
++pub const VIDIOC_S_FREQUENCY: u32 = 1076647481;
++pub const F2FS_IOC_SEC_TRIM_FILE: u32 = 1075377428;
++pub const FS_IOC_REMOVE_ENCRYPTION_KEY: u32 = 3225445912;
++pub const WDIOC_GETPRETIMEOUT: u32 = 2147768073;
++pub const USBDEVFS_DROP_PRIVILEGES: u32 = 1074025758;
++pub const BTRFS_IOC_SNAP_CREATE_V2: u32 = 1342215191;
++pub const VHOST_VSOCK_SET_RUNNING: u32 = 1074048865;
++pub const STP_SET_OPTIONS: u32 = 1074275586;
++pub const FBIO_RADEON_GET_MIRROR: u32 = 2148024323;
++pub const IVTVFB_IOC_DMA_FRAME: u32 = 1075336896;
++pub const IPMICTL_SEND_COMMAND: u32 = 2150131981;
++pub const VIDIOC_G_ENC_INDEX: u32 = 2283296332;
++pub const DFL_FPGA_FME_PORT_PR: u32 = 46720;
++pub const CHIOSVOLTAG: u32 = 1076912914;
++pub const ATM_SETESIF: u32 = 1074815373;
++pub const FW_CDEV_IOC_SEND_RESPONSE: u32 = 1075323652;
++pub const PMU_IOC_GET_MODEL: u32 = 2148024835;
++pub const JSIOCGBTNMAP: u32 = 2214619700;
++pub const USBDEVFS_HUB_PORTINFO: u32 = 2155894035;
++pub const VBG_IOCTL_INTERRUPT_ALL_WAIT_FOR_EVENTS: u32 = 3222820363;
++pub const FDCLRPRM: u32 = 577;
++pub const BTRFS_IOC_SCRUB: u32 = 3288372251;
++pub const USBDEVFS_DISCONNECT: u32 = 21782;
++pub const TUNSETVNETBE: u32 = 1074025694;
++pub const ATMTCP_REMOVE: u32 = 24975;
++pub const VHOST_VDPA_GET_CONFIG: u32 = 2148052851;
++pub const PPPIOCGNPMODE: u32 = 3221779532;
++pub const FDGETDRVPRM: u32 = 2155872785;
++pub const TUNSETVNETLE: u32 = 1074025692;
++pub const PHN_SETREG: u32 = 1074294790;
++pub const PPPIOCDETACH: u32 = 1074033724;
++pub const MMTIMER_GETRES: u32 = 2148035841;
++pub const VIDIOC_SUBDEV_ENUMSTD: u32 = 3225966105;
++pub const PPGETFLAGS: u32 = 2147774618;
++pub const VDUSE_DEV_GET_FEATURES: u32 = 2148040977;
++pub const CAPI_MANUFACTURER_CMD: u32 = 3222291232;
++pub const VIDIOC_G_TUNER: u32 = 3226752541;
++pub const DM_TABLE_STATUS: u32 = 3241737484;
++pub const DM_DEV_ARM_POLL: u32 = 3241737488;
++pub const NE_CREATE_VM: u32 = 2148052512;
++pub const MEDIA_IOC_ENUM_LINKS: u32 = 3223878658;
++pub const F2FS_IOC_PRECACHE_EXTENTS: u32 = 62735;
++pub const DFL_FPGA_PORT_DMA_MAP: u32 = 46659;
++pub const MGSL_IOCGXCTRL: u32 = 27926;
++pub const FW_CDEV_IOC_SEND_REQUEST: u32 = 1076372225;
++pub const SONYPI_IOCGBLUE: u32 = 2147579400;
++pub const F2FS_IOC_DECOMPRESS_FILE: u32 = 62743;
++pub const I2OHTML: u32 = 3224398089;
++pub const VFIO_GET_API_VERSION: u32 = 15204;
++pub const IDT77105_GETSTATZ: u32 = 1074815283;
++pub const I2OPARMSET: u32 = 3223873795;
++pub const TEE_IOC_CANCEL: u32 = 2148049924;
++pub const PTP_SYS_OFFSET_PRECISE2: u32 = 3225435409;
++pub const DFL_FPGA_PORT_RESET: u32 = 46656;
++pub const PPPIOCGASYNCMAP: u32 = 2147775576;
++pub const EVIOCGKEYCODE_V2: u32 = 2150122756;
++pub const DM_DEV_SET_GEOMETRY: u32 = 3241737487;
++pub const HIDIOCSUSAGE: u32 = 1075333132;
++pub const FW_CDEV_IOC_DEALLOCATE_ISO_RESOURCE_ONCE: u32 = 1075323664;
++pub const PTP_EXTTS_REQUEST: u32 = 1074806018;
++pub const SWITCHTEC_IOCTL_EVENT_CTL: u32 = 3223869251;
++pub const WDIOC_SETPRETIMEOUT: u32 = 3221509896;
++pub const VHOST_SCSI_CLEAR_ENDPOINT: u32 = 1088991041;
++pub const JSIOCGAXES: u32 = 2147576337;
++pub const HIDIOCSFLAG: u32 = 1074022415;
++pub const PTP_PEROUT_REQUEST2: u32 = 1077427468;
++pub const PPWDATA: u32 = 1073836166;
++pub const PTP_CLOCK_GETCAPS: u32 = 2152742145;
++pub const FDGETMAXERRS: u32 = 2148794894;
++pub const TUNSETQUEUE: u32 = 1074025689;
++pub const PTP_ENABLE_PPS: u32 = 1074019588;
++pub const SIOCSIFATMTCP: u32 = 24960;
++pub const CEC_ADAP_G_LOG_ADDRS: u32 = 2153537795;
++pub const ND_IOCTL_ARS_CAP: u32 = 3223342593;
++pub const NBD_SET_BLKSIZE: u32 = 43777;
++pub const NBD_SET_TIMEOUT: u32 = 43785;
++pub const VHOST_SCSI_GET_ABI_VERSION: u32 = 1074048834;
++pub const RIO_UNMAP_INBOUND: u32 = 1074294034;
++pub const ATM_QUERYLOOP: u32 = 1074815316;
++pub const DFL_FPGA_GET_API_VERSION: u32 = 46592;
++pub const USBDEVFS_WAIT_FOR_RESUME: u32 = 21795;
++pub const FBIO_CURSOR: u32 = 3228059144;
++pub const RNDCLEARPOOL: u32 = 20998;
++pub const VIDIOC_QUERYSTD: u32 = 2148030015;
++pub const DMA_BUF_IOCTL_SYNC: u32 = 1074291200;
++pub const SCIF_RECV: u32 = 3222827783;
++pub const PTP_PIN_GETFUNC2: u32 = 3227532559;
++pub const FW_CDEV_IOC_ALLOCATE: u32 = 3223331586;
++pub const CEC_ADAP_G_CAPS: u32 = 3226231040;
++pub const VIDIOC_G_FBUF: u32 = 2150651402;
++pub const PTP_ENABLE_PPS2: u32 = 1074019597;
++pub const PCITEST_CLEAR_IRQ: u32 = 20496;
++pub const IPMICTL_SET_GETS_EVENTS_CMD: u32 = 2147772688;
++pub const BTRFS_IOC_DEVICES_READY: u32 = 2415957031;
++pub const JSIOCGAXMAP: u32 = 2151705138;
++pub const FW_CDEV_IOC_GET_CYCLE_TIMER: u32 = 2148541196;
++pub const FW_CDEV_IOC_SET_ISO_CHANNELS: u32 = 1074799383;
++pub const RTC_WIE_OFF: u32 = 28688;
++pub const PPGETMODE: u32 = 2147774616;
++pub const VIDIOC_DBG_G_REGISTER: u32 = 3224917584;
++pub const PTP_SYS_OFFSET: u32 = 1128283397;
++pub const BTRFS_IOC_SPACE_INFO: u32 = 3222311956;
++pub const VIDIOC_SUBDEV_ENUM_FRAME_SIZE: u32 = 3225441866;
++pub const ND_IOCTL_VENDOR: u32 = 3221769737;
++pub const SCIF_VREADFROM: u32 = 3223876364;
++pub const BTRFS_IOC_TRANS_START: u32 = 37894;
++pub const INOTIFY_IOC_SETNEXTWD: u32 = 1074022656;
++pub const SNAPSHOT_GET_IMAGE_SIZE: u32 = 2148021006;
++pub const TUNDETACHFILTER: u32 = 1074812118;
++pub const ND_IOCTL_CLEAR_ERROR: u32 = 3223342596;
++pub const IOC_PR_CLEAR: u32 = 1074819277;
++pub const SCIF_READFROM: u32 = 3223876362;
++pub const PPPIOCGDEBUG: u32 = 2147775553;
++pub const BLKGETZONESZ: u32 = 2147750532;
++pub const HIDIOCGUSAGES: u32 = 3491514387;
++pub const SONYPI_IOCGTEMP: u32 = 2147579404;
++pub const UI_SET_MSCBIT: u32 = 1074025832;
++pub const APM_IOC_SUSPEND: u32 = 16642;
++pub const BTRFS_IOC_TREE_SEARCH: u32 = 3489698833;
++pub const RTC_PLL_GET: u32 = 2149609489;
++pub const RIO_CM_EP_GET_LIST: u32 = 3221512962;
++pub const USBDEVFS_DISCSIGNAL: u32 = 2148553998;
++pub const LIRC_GET_MIN_TIMEOUT: u32 = 2147772680;
++pub const SWITCHTEC_IOCTL_EVENT_SUMMARY_LEGACY: u32 = 2174244674;
++pub const DM_TARGET_MSG: u32 = 3241737486;
++pub const SONYPI_IOCGBAT1REM: u32 = 2147644931;
++pub const EVIOCSFF: u32 = 1076905344;
++pub const TUNSETGROUP: u32 = 1074025678;
++pub const EVIOCGKEYCODE: u32 = 2148025604;
++pub const KCOV_REMOTE_ENABLE: u32 = 1075340134;
++pub const ND_IOCTL_GET_CONFIG_SIZE: u32 = 3222031876;
++pub const FDEJECT: u32 = 602;
++pub const TUNSETOFFLOAD: u32 = 1074025680;
++pub const PPPIOCCONNECT: u32 = 1074033722;
++pub const ATM_ADDADDR: u32 = 1074815368;
++pub const VDUSE_DEV_INJECT_CONFIG_IRQ: u32 = 33043;
++pub const AUTOFS_DEV_IOCTL_ASKUMOUNT: u32 = 3222836093;
++pub const VHOST_VDPA_GET_STATUS: u32 = 2147594097;
++pub const CCISS_PASSTHRU: u32 = 3227009547;
++pub const MGSL_IOCCLRMODCOUNT: u32 = 27919;
++pub const TEE_IOC_SUPPL_SEND: u32 = 2148574215;
++pub const ATMARPD_CTRL: u32 = 25057;
++pub const UI_ABS_SETUP: u32 = 1075598596;
++pub const UI_DEV_DESTROY: u32 = 21762;
++pub const BTRFS_IOC_QUOTA_CTL: u32 = 3222311976;
++pub const RTC_AIE_ON: u32 = 28673;
++pub const AUTOFS_IOC_EXPIRE: u32 = 2165085029;
++pub const PPPIOCSDEBUG: u32 = 1074033728;
++pub const GPIO_V2_LINE_SET_VALUES_IOCTL: u32 = 3222320143;
++pub const PPPIOCSMRU: u32 = 1074033746;
++pub const CCISS_DEREGDISK: u32 = 16908;
++pub const UI_DEV_CREATE: u32 = 21761;
++pub const FUSE_DEV_IOC_CLONE: u32 = 2147804416;
++pub const BTRFS_IOC_START_SYNC: u32 = 2148045848;
++pub const NILFS_IOCTL_DELETE_CHECKPOINT: u32 = 1074294401;
++pub const SNAPSHOT_AVAIL_SWAP_SIZE: u32 = 2148021011;
++pub const DM_TABLE_CLEAR: u32 = 3241737482;
++pub const CCISS_GETINTINFO: u32 = 2148024834;
++pub const PPPIOCSASYNCMAP: u32 = 1074033751;
++pub const I2OEVTGET: u32 = 2154326283;
++pub const NVME_IOCTL_RESET: u32 = 20036;
++pub const PPYIELD: u32 = 28813;
++pub const NVME_IOCTL_IO64_CMD: u32 = 3226488392;
++pub const TUNSETCARRIER: u32 = 1074025698;
++pub const DM_DEV_WAIT: u32 = 3241737480;
++pub const RTC_WIE_ON: u32 = 28687;
++pub const MEDIA_IOC_DEVICE_INFO: u32 = 3238034432;
++pub const RIO_CM_CHAN_CREATE: u32 = 3221381891;
++pub const MGSL_IOCSPARAMS: u32 = 1076915456;
++pub const RTC_SET_TIME: u32 = 1076129802;
++pub const VHOST_RESET_OWNER: u32 = 44802;
++pub const IOC_OPAL_PSID_REVERT_TPR: u32 = 1091072232;
++pub const AUTOFS_DEV_IOCTL_OPENMOUNT: u32 = 3222836084;
++pub const UDF_GETEABLOCK: u32 = 2148035649;
++pub const VFIO_IOMMU_MAP_DMA: u32 = 15217;
++pub const VIDIOC_SUBSCRIBE_EVENT: u32 = 1075861082;
++pub const HIDIOCGFLAG: u32 = 2147764238;
++pub const HIDIOCGUCODE: u32 = 3222816781;
++pub const VIDIOC_OMAP3ISP_AF_CFG: u32 = 3226228421;
++pub const DM_REMOVE_ALL: u32 = 3241737473;
++pub const ASPEED_LPC_CTRL_IOCTL_MAP: u32 = 1074835969;
++pub const CCISS_GETFIRMVER: u32 = 2147762696;
++pub const ND_IOCTL_ARS_START: u32 = 3223342594;
++pub const PPPIOCSMRRU: u32 = 1074033723;
++pub const CEC_ADAP_S_LOG_ADDRS: u32 = 3227279620;
++pub const RPROC_GET_SHUTDOWN_ON_RELEASE: u32 = 2147792642;
++pub const DMA_HEAP_IOCTL_ALLOC: u32 = 3222816768;
++pub const PPSETTIME: u32 = 1074819222;
++pub const RTC_ALM_READ: u32 = 2149871624;
++pub const VDUSE_SET_API_VERSION: u32 = 1074299137;
++pub const RIO_MPORT_MAINT_WRITE_REMOTE: u32 = 1075342600;
++pub const VIDIOC_SUBDEV_S_CROP: u32 = 3224917564;
++pub const USBDEVFS_CONNECT: u32 = 21783;
++pub const SYNC_IOC_FILE_INFO: u32 = 3224911364;
++pub const ATMARP_MKIP: u32 = 25058;
++pub const VFIO_IOMMU_SPAPR_TCE_GET_INFO: u32 = 15216;
++pub const CCISS_GETHEARTBEAT: u32 = 2147762694;
++pub const ATM_RSTADDR: u32 = 1074815367;
++pub const NBD_SET_SIZE: u32 = 43778;
++pub const UDF_GETVOLIDENT: u32 = 2148035650;
++pub const GPIO_V2_LINE_GET_VALUES_IOCTL: u32 = 3222320142;
++pub const MGSL_IOCSTXIDLE: u32 = 27906;
++pub const FSL_HV_IOCTL_SETPROP: u32 = 3223891720;
++pub const BTRFS_IOC_GET_DEV_STATS: u32 = 3288896564;
++pub const PPRSTATUS: u32 = 2147577985;
++pub const MGSL_IOCTXENABLE: u32 = 27908;
++pub const UDF_GETEASIZE: u32 = 2147773504;
++pub const NVME_IOCTL_ADMIN64_CMD: u32 = 3226488391;
++pub const VHOST_SET_OWNER: u32 = 44801;
++pub const RIO_ALLOC_DMA: u32 = 3222826259;
++pub const RIO_CM_CHAN_ACCEPT: u32 = 3221775111;
++pub const I2OHRTGET: u32 = 3222825217;
++pub const ATM_SETCIRANGE: u32 = 1074815371;
++pub const HPET_IE_ON: u32 = 26625;
++pub const PERF_EVENT_IOC_ID: u32 = 2148017159;
++pub const TUNSETSNDBUF: u32 = 1074025684;
++pub const PTP_PIN_SETFUNC: u32 = 1080048903;
++pub const PPPIOCDISCONN: u32 = 29753;
++pub const VIDIOC_QUERYCTRL: u32 = 3225703972;
++pub const PPEXCL: u32 = 28815;
++pub const PCITEST_MSI: u32 = 1074024451;
++pub const FDWERRORCLR: u32 = 598;
++pub const AUTOFS_IOC_FAIL: u32 = 37729;
++pub const USBDEVFS_IOCTL: u32 = 3222295826;
++pub const VIDIOC_S_STD: u32 = 1074288152;
++pub const F2FS_IOC_RESIZE_FS: u32 = 1074328848;
++pub const SONET_SETDIAG: u32 = 3221512466;
++pub const BTRFS_IOC_DEFRAG: u32 = 1342215170;
++pub const CCISS_GETDRIVVER: u32 = 2147762697;
++pub const IPMICTL_GET_TIMING_PARMS_CMD: u32 = 2148034839;
++pub const HPET_IRQFREQ: u32 = 1074292742;
++pub const ATM_GETESI: u32 = 1074815365;
++pub const CCISS_GETLUNINFO: u32 = 2148286993;
++pub const AUTOFS_DEV_IOCTL_ISMOUNTPOINT: u32 = 3222836094;
++pub const TEE_IOC_SHM_ALLOC: u32 = 3222316033;
++pub const PERF_EVENT_IOC_SET_BPF: u32 = 1074013192;
++pub const UDMABUF_CREATE_LIST: u32 = 1074296131;
++pub const VHOST_SET_LOG_BASE: u32 = 1074310916;
++pub const ZATM_GETPOOL: u32 = 1074815329;
++pub const BR2684_SETFILT: u32 = 1075601808;
++pub const RNDGETPOOL: u32 = 2148028930;
++pub const PPS_GETPARAMS: u32 = 2148036769;
++pub const IOC_PR_RESERVE: u32 = 1074819273;
++pub const VIDIOC_TRY_DECODER_CMD: u32 = 3225966177;
++pub const RIO_CM_CHAN_CLOSE: u32 = 1073898244;
++pub const VIDIOC_DV_TIMINGS_CAP: u32 = 3230684772;
++pub const IOCTL_MEI_CONNECT_CLIENT_VTAG: u32 = 3222554628;
++pub const PMU_IOC_GET_BACKLIGHT: u32 = 2148024833;
++pub const USBDEVFS_GET_CAPABILITIES: u32 = 2147767578;
++pub const SCIF_WRITETO: u32 = 3223876363;
++pub const UDF_RELOCATE_BLOCKS: u32 = 3221777475;
++pub const FSL_HV_IOCTL_PARTITION_RESTART: u32 = 3221794561;
++pub const CCISS_REGNEWD: u32 = 16910;
++pub const FAT_IOCTL_SET_ATTRIBUTES: u32 = 1074033169;
++pub const VIDIOC_CREATE_BUFS: u32 = 3238024796;
++pub const CAPI_GET_VERSION: u32 = 3222291207;
++pub const SWITCHTEC_IOCTL_EVENT_SUMMARY: u32 = 2228770626;
++pub const VFIO_EEH_PE_OP: u32 = 15225;
++pub const FW_CDEV_IOC_CREATE_ISO_CONTEXT: u32 = 3223331592;
++pub const F2FS_IOC_RELEASE_COMPRESS_BLOCKS: u32 = 2148070674;
++pub const NBD_SET_SIZE_BLOCKS: u32 = 43783;
++pub const IPMI_BMC_IOCTL_SET_SMS_ATN: u32 = 45312;
++pub const ASPEED_P2A_CTRL_IOCTL_GET_MEMORY_CONFIG: u32 = 3222319873;
++pub const VIDIOC_S_AUDOUT: u32 = 1077171762;
++pub const VIDIOC_S_FMT: u32 = 3234878981;
++pub const PPPIOCATTACH: u32 = 1074033725;
++pub const VHOST_GET_VRING_BUSYLOOP_TIMEOUT: u32 = 1074310948;
++pub const FS_IOC_MEASURE_VERITY: u32 = 3221513862;
++pub const CCISS_BIG_PASSTHRU: u32 = 3227533842;
++pub const IPMICTL_SET_MY_LUN_CMD: u32 = 2147772691;
++pub const PCITEST_LEGACY_IRQ: u32 = 20482;
++pub const USBDEVFS_SUBMITURB: u32 = 2151175434;
++pub const AUTOFS_IOC_READY: u32 = 37728;
++pub const BTRFS_IOC_SEND: u32 = 1078498342;
++pub const VIDIOC_G_EXT_CTRLS: u32 = 3223344711;
++pub const JSIOCSBTNMAP: u32 = 1140877875;
++pub const PPPIOCSFLAGS: u32 = 1074033753;
++pub const NVRAM_INIT: u32 = 28736;
++pub const RFKILL_IOCTL_NOINPUT: u32 = 20993;
++pub const BTRFS_IOC_BALANCE: u32 = 1342215180;
++pub const FS_IOC_GETFSMAP: u32 = 3233830971;
++pub const IPMICTL_GET_MY_CHANNEL_LUN_CMD: u32 = 2147772699;
++pub const STP_POLICY_ID_GET: u32 = 2148541697;
++pub const PPSETFLAGS: u32 = 1074032795;
++pub const CEC_ADAP_S_PHYS_ADDR: u32 = 1073897730;
++pub const ATMTCP_CREATE: u32 = 24974;
++pub const IPMI_BMC_IOCTL_FORCE_ABORT: u32 = 45314;
++pub const PPPIOCGXASYNCMAP: u32 = 2149610576;
++pub const VHOST_SET_VRING_CALL: u32 = 1074310945;
++pub const LIRC_GET_FEATURES: u32 = 2147772672;
++pub const GSMIOC_DISABLE_NET: u32 = 18179;
++pub const AUTOFS_IOC_CATATONIC: u32 = 37730;
++pub const NBD_DO_IT: u32 = 43779;
++pub const LIRC_SET_REC_CARRIER_RANGE: u32 = 1074030879;
++pub const IPMICTL_GET_MY_CHANNEL_ADDRESS_CMD: u32 = 2147772697;
++pub const EVIOCSCLOCKID: u32 = 1074021792;
++pub const USBDEVFS_FREE_STREAMS: u32 = 2148029725;
++pub const FSI_SCOM_RESET: u32 = 1074033411;
++pub const PMU_IOC_GRAB_BACKLIGHT: u32 = 2148024838;
++pub const VIDIOC_SUBDEV_S_FMT: u32 = 3227014661;
++pub const FDDEFPRM: u32 = 1075839555;
++pub const TEE_IOC_INVOKE: u32 = 2148574211;
++pub const USBDEVFS_BULK: u32 = 3222820098;
++pub const SCIF_VWRITETO: u32 = 3223876365;
++pub const SONYPI_IOCSBRT: u32 = 1073837568;
++pub const BTRFS_IOC_FILE_EXTENT_SAME: u32 = 3222836278;
++pub const RTC_PIE_ON: u32 = 28677;
++pub const BTRFS_IOC_SCAN_DEV: u32 = 1342215172;
++pub const PPPIOCXFERUNIT: u32 = 29774;
++pub const WDIOC_GETTIMEOUT: u32 = 2147768071;
++pub const BTRFS_IOC_SET_RECEIVED_SUBVOL: u32 = 3234370597;
++pub const DFL_FPGA_PORT_ERR_SET_IRQ: u32 = 1074312774;
++pub const FBIO_WAITFORVSYNC: u32 = 1074021920;
++pub const RTC_PIE_OFF: u32 = 28678;
++pub const EVIOCGRAB: u32 = 1074021776;
++pub const PMU_IOC_SET_BACKLIGHT: u32 = 1074283010;
++pub const EVIOCGREP: u32 = 2148025603;
++pub const PERF_EVENT_IOC_MODIFY_ATTRIBUTES: u32 = 1074275339;
++pub const UFFDIO_CONTINUE: u32 = 3223366151;
++pub const VDUSE_GET_API_VERSION: u32 = 2148040960;
++pub const RTC_RD_TIME: u32 = 2149871625;
++pub const FDMSGOFF: u32 = 582;
++pub const IPMICTL_REGISTER_FOR_CMD_CHANS: u32 = 2148296988;
++pub const CAPI_GET_ERRCODE: u32 = 2147631905;
++pub const PCITEST_SET_IRQTYPE: u32 = 1074024456;
++pub const VIDIOC_SUBDEV_S_EDID: u32 = 3223868969;
++pub const MATROXFB_SET_OUTPUT_MODE: u32 = 1074294522;
++pub const RIO_DEV_ADD: u32 = 1075866903;
++pub const VIDIOC_ENUM_FREQ_BANDS: u32 = 3225441893;
++pub const FBIO_RADEON_SET_MIRROR: u32 = 1074282500;
++pub const PCITEST_GET_IRQTYPE: u32 = 20489;
++pub const JSIOCGVERSION: u32 = 2147772929;
++pub const SONYPI_IOCSBLUE: u32 = 1073837577;
++pub const SNAPSHOT_PREF_IMAGE_SIZE: u32 = 13074;
++pub const F2FS_IOC_GET_FEATURES: u32 = 2147808524;
++pub const SCIF_REG: u32 = 3223876360;
++pub const NILFS_IOCTL_CLEAN_SEGMENTS: u32 = 1081634440;
++pub const FW_CDEV_IOC_INITIATE_BUS_RESET: u32 = 1074012933;
++pub const RIO_WAIT_FOR_ASYNC: u32 = 1074294038;
++pub const VHOST_SET_VRING_NUM: u32 = 1074310928;
++pub const AUTOFS_DEV_IOCTL_PROTOVER: u32 = 3222836082;
++pub const RIO_FREE_DMA: u32 = 1074294036;
++pub const MGSL_IOCRXENABLE: u32 = 27909;
++pub const IOCTL_VM_SOCKETS_GET_LOCAL_CID: u32 = 1977;
++pub const IPMICTL_SET_TIMING_PARMS_CMD: u32 = 2148034838;
++pub const PPPIOCGL2TPSTATS: u32 = 2152231990;
++pub const PERF_EVENT_IOC_PERIOD: u32 = 1074275332;
++pub const PTP_PIN_SETFUNC2: u32 = 1080048912;
++pub const CHIOEXCHANGE: u32 = 1075602178;
++pub const NILFS_IOCTL_GET_SUINFO: u32 = 2149084804;
++pub const CEC_DQEVENT: u32 = 3226493191;
++pub const UI_SET_SWBIT: u32 = 1074025837;
++pub const VHOST_VDPA_SET_CONFIG: u32 = 1074311028;
++pub const TUNSETIFF: u32 = 1074025674;
++pub const CHIOPOSITION: u32 = 1074553603;
++pub const IPMICTL_SET_MAINTENANCE_MODE_CMD: u32 = 1074030879;
++pub const BTRFS_IOC_DEFAULT_SUBVOL: u32 = 1074304019;
++pub const RIO_UNMAP_OUTBOUND: u32 = 1076391184;
++pub const CAPI_CLR_FLAGS: u32 = 2147762981;
++pub const FW_CDEV_IOC_ALLOCATE_ISO_RESOURCE_ONCE: u32 = 1075323663;
++pub const MATROXFB_GET_OUTPUT_CONNECTION: u32 = 2148036344;
++pub const EVIOCSMASK: u32 = 1074808211;
++pub const BTRFS_IOC_FORGET_DEV: u32 = 1342215173;
++pub const CXL_MEM_QUERY_COMMANDS: u32 = 2148060673;
++pub const CEC_S_MODE: u32 = 1074028809;
++pub const MGSL_IOCSIF: u32 = 27914;
++pub const SWITCHTEC_IOCTL_PFF_TO_PORT: u32 = 3222034244;
++pub const PPSETMODE: u32 = 1074032768;
++pub const VFIO_DEVICE_SET_IRQS: u32 = 15214;
++pub const VIDIOC_PREPARE_BUF: u32 = 3227014749;
++pub const CEC_ADAP_G_CONNECTOR_INFO: u32 = 2151964938;
++pub const IOC_OPAL_WRITE_SHADOW_MBR: u32 = 1092645098;
++pub const VIDIOC_SUBDEV_ENUM_FRAME_INTERVAL: u32 = 3225441867;
++pub const UDMABUF_CREATE: u32 = 1075344706;
++pub const SONET_CLRDIAG: u32 = 3221512467;
++pub const PHN_SET_REG: u32 = 1074294785;
++pub const RNDADDTOENTCNT: u32 = 1074024961;
++pub const VBG_IOCTL_CHECK_BALLOON: u32 = 3223344657;
++pub const VIDIOC_OMAP3ISP_STAT_REQ: u32 = 3223869126;
++pub const PPS_FETCH: u32 = 3221778596;
++pub const RTC_AIE_OFF: u32 = 28674;
++pub const VFIO_GROUP_SET_CONTAINER: u32 = 15208;
++pub const FW_CDEV_IOC_RECEIVE_PHY_PACKETS: u32 = 1074275094;
++pub const VFIO_IOMMU_SPAPR_TCE_REMOVE: u32 = 15224;
++pub const VFIO_IOMMU_GET_INFO: u32 = 15216;
++pub const DM_DEV_SUSPEND: u32 = 3241737478;
++pub const F2FS_IOC_GET_COMPRESS_OPTION: u32 = 2147677461;
++pub const FW_CDEV_IOC_STOP_ISO: u32 = 1074012939;
++pub const GPIO_V2_GET_LINEINFO_IOCTL: u32 = 3238048773;
++pub const ATMMPC_CTRL: u32 = 25048;
++pub const PPPIOCSXASYNCMAP: u32 = 1075868751;
++pub const CHIOGSTATUS: u32 = 1074815752;
++pub const FW_CDEV_IOC_ALLOCATE_ISO_RESOURCE: u32 = 3222807309;
++pub const RIO_MPORT_MAINT_PORT_IDX_GET: u32 = 2147773699;
++pub const CAPI_SET_FLAGS: u32 = 2147762980;
++pub const VFIO_GROUP_GET_DEVICE_FD: u32 = 15210;
++pub const VHOST_SET_MEM_TABLE: u32 = 1074310915;
++pub const MATROXFB_SET_OUTPUT_CONNECTION: u32 = 1074294520;
++pub const DFL_FPGA_PORT_GET_REGION_INFO: u32 = 46658;
++pub const VHOST_GET_FEATURES: u32 = 2148052736;
++pub const LIRC_GET_REC_RESOLUTION: u32 = 2147772679;
++pub const PACKET_CTRL_CMD: u32 = 3222820865;
++pub const LIRC_SET_TRANSMITTER_MASK: u32 = 1074030871;
++pub const BTRFS_IOC_ADD_DEV: u32 = 1342215178;
++pub const JSIOCGCORR: u32 = 2149870114;
++pub const VIDIOC_G_FMT: u32 = 3234878980;
++pub const RTC_EPOCH_SET: u32 = 1074294798;
++pub const CAPI_GET_PROFILE: u32 = 3225436937;
++pub const ATM_GETLOOP: u32 = 1074815314;
++pub const SCIF_LISTEN: u32 = 1074033410;
++pub const NBD_CLEAR_QUE: u32 = 43781;
++pub const F2FS_IOC_MOVE_RANGE: u32 = 3223385353;
++pub const LIRC_GET_LENGTH: u32 = 2147772687;
++pub const I8K_SET_FAN: u32 = 3221776775;
++pub const FDSETMAXERRS: u32 = 1075053132;
++pub const VIDIOC_SUBDEV_QUERYCAP: u32 = 2151699968;
++pub const SNAPSHOT_SET_SWAP_AREA: u32 = 1074541325;
++pub const LIRC_GET_REC_TIMEOUT: u32 = 2147772708;
++pub const EVIOCRMFF: u32 = 1074021761;
++pub const GPIO_GET_LINEEVENT_IOCTL: u32 = 3224417284;
++pub const PPRDATA: u32 = 2147577989;
++pub const RIO_MPORT_GET_PROPERTIES: u32 = 2150657284;
++pub const TUNSETVNETHDRSZ: u32 = 1074025688;
++pub const GPIO_GET_LINEINFO_IOCTL: u32 = 3225990146;
++pub const GSMIOC_GETCONF: u32 = 2152482560;
++pub const LIRC_GET_SEND_MODE: u32 = 2147772673;
++pub const PPPIOCSACTIVE: u32 = 1074820166;
++pub const SIOCGSTAMPNS_NEW: u32 = 2148567303;
++pub const IPMICTL_RECEIVE_MSG: u32 = 3224398092;
++pub const LIRC_SET_SEND_DUTY_CYCLE: u32 = 1074030869;
++pub const UI_END_FF_ERASE: u32 = 1074550219;
++pub const SWITCHTEC_IOCTL_FLASH_PART_INFO: u32 = 3222296385;
++pub const FW_CDEV_IOC_SEND_PHY_PACKET: u32 = 3222807317;
++pub const NBD_SET_FLAGS: u32 = 43786;
++pub const VFIO_DEVICE_GET_REGION_INFO: u32 = 15212;
++pub const REISERFS_IOC_UNPACK: u32 = 1074318593;
++pub const FW_CDEV_IOC_REMOVE_DESCRIPTOR: u32 = 1074012935;
++pub const RIO_SET_EVENT_MASK: u32 = 1074031885;
++pub const SNAPSHOT_ALLOC_SWAP_PAGE: u32 = 2148021012;
++pub const VDUSE_VQ_INJECT_IRQ: u32 = 1074037015;
++pub const I2OPASSTHRU: u32 = 2148559116;
++pub const IOC_OPAL_SET_PW: u32 = 1109422304;
++pub const FSI_SCOM_READ: u32 = 3223352065;
++pub const VHOST_VDPA_GET_DEVICE_ID: u32 = 2147790704;
++pub const VIDIOC_QBUF: u32 = 3227014671;
++pub const VIDIOC_S_TUNER: u32 = 1079268894;
++pub const TUNGETVNETHDRSZ: u32 = 2147767511;
++pub const CAPI_NCCI_GETUNIT: u32 = 2147762983;
++pub const DFL_FPGA_PORT_UINT_GET_IRQ_NUM: u32 = 2147792455;
++pub const VIDIOC_OMAP3ISP_STAT_EN: u32 = 3221771975;
++pub const GPIO_V2_LINE_SET_CONFIG_IOCTL: u32 = 3239097357;
++pub const TEE_IOC_VERSION: u32 = 2148312064;
++pub const VIDIOC_LOG_STATUS: u32 = 22086;
++pub const IPMICTL_SEND_COMMAND_SETTIME: u32 = 2150656277;
++pub const VHOST_SET_LOG_FD: u32 = 1074048775;
++pub const SCIF_SEND: u32 = 3222827782;
++pub const VIDIOC_SUBDEV_G_FMT: u32 = 3227014660;
++pub const NS_ADJBUFLEV: u32 = 24931;
++pub const VIDIOC_DBG_S_REGISTER: u32 = 1077433935;
++pub const NILFS_IOCTL_RESIZE: u32 = 1074294411;
++pub const PHN_GETREG: u32 = 3221778437;
++pub const I2OSWDL: u32 = 3224398085;
++pub const VBG_IOCTL_VMMDEV_REQUEST_BIG: u32 = 22019;
++pub const JSIOCGBUTTONS: u32 = 2147576338;
++pub const VFIO_IOMMU_ENABLE: u32 = 15219;
++pub const DM_DEV_RENAME: u32 = 3241737477;
++pub const MEDIA_IOC_SETUP_LINK: u32 = 3224665091;
++pub const VIDIOC_ENUMOUTPUT: u32 = 3225966128;
++pub const STP_POLICY_ID_SET: u32 = 3222283520;
++pub const VHOST_VDPA_SET_CONFIG_CALL: u32 = 1074048887;
++pub const VIDIOC_SUBDEV_G_CROP: u32 = 3224917563;
++pub const VIDIOC_S_CROP: u32 = 1075074620;
++pub const WDIOC_GETTEMP: u32 = 2147768067;
++pub const IOC_OPAL_ADD_USR_TO_LR: u32 = 1092120804;
++pub const UI_SET_LEDBIT: u32 = 1074025833;
++pub const NBD_SET_SOCK: u32 = 43776;
++pub const BTRFS_IOC_SNAP_DESTROY_V2: u32 = 1342215231;
++pub const HIDIOCGCOLLECTIONINFO: u32 = 3222292497;
++pub const I2OSWUL: u32 = 3224398086;
++pub const IOCTL_MEI_NOTIFY_GET: u32 = 2147764227;
++pub const FDFMTTRK: u32 = 1074528840;
++pub const MMTIMER_GETBITS: u32 = 27908;
++pub const VIDIOC_ENUMSTD: u32 = 3225966105;
++pub const VHOST_GET_VRING_BASE: u32 = 3221794578;
++pub const VFIO_DEVICE_IOEVENTFD: u32 = 15220;
++pub const ATMARP_SETENTRY: u32 = 25059;
++pub const CCISS_REVALIDVOLS: u32 = 16906;
++pub const MGSL_IOCLOOPTXDONE: u32 = 27913;
++pub const RTC_VL_READ: u32 = 2147774483;
++pub const ND_IOCTL_ARS_STATUS: u32 = 3224391171;
++pub const RIO_DEV_DEL: u32 = 1075866904;
++pub const VBG_IOCTL_ACQUIRE_GUEST_CAPABILITIES: u32 = 3223606797;
++pub const VIDIOC_SUBDEV_DV_TIMINGS_CAP: u32 = 3230684772;
++pub const SONYPI_IOCSFAN: u32 = 1073837579;
++pub const SPIOCSTYPE: u32 = 1074295041;
++pub const IPMICTL_REGISTER_FOR_CMD: u32 = 2147641614;
++pub const I8K_GET_FAN: u32 = 3221776774;
++pub const TUNGETVNETBE: u32 = 2147767519;
++pub const AUTOFS_DEV_IOCTL_FAIL: u32 = 3222836087;
++pub const UI_END_FF_UPLOAD: u32 = 1080579529;
++pub const TOSH_SMM: u32 = 3222828176;
++pub const SONYPI_IOCGBAT2REM: u32 = 2147644933;
++pub const F2FS_IOC_GET_COMPRESS_BLOCKS: u32 = 2148070673;
++pub const PPPIOCSNPMODE: u32 = 1074295883;
++pub const USBDEVFS_CONTROL: u32 = 3222820096;
++pub const HIDIOCGUSAGE: u32 = 3222816779;
++pub const TUNSETTXFILTER: u32 = 1074025681;
++pub const TUNGETVNETLE: u32 = 2147767517;
++pub const VIDIOC_ENUM_DV_TIMINGS: u32 = 3230946914;
++pub const BTRFS_IOC_INO_PATHS: u32 = 3224933411;
++pub const MGSL_IOCGXSYNC: u32 = 27924;
++pub const HIDIOCGFIELDINFO: u32 = 3224913930;
++pub const VIDIOC_SUBDEV_G_STD: u32 = 2148029975;
++pub const I2OVALIDATE: u32 = 2147772680;
++pub const VIDIOC_TRY_ENCODER_CMD: u32 = 3223869006;
++pub const NILFS_IOCTL_GET_CPINFO: u32 = 2149084802;
++pub const VIDIOC_G_FREQUENCY: u32 = 3224131128;
++pub const VFAT_IOCTL_READDIR_SHORT: u32 = 2184212994;
++pub const ND_IOCTL_GET_CONFIG_DATA: u32 = 3222031877;
++pub const F2FS_IOC_RESERVE_COMPRESS_BLOCKS: u32 = 2148070675;
++pub const FDGETDRVSTAT: u32 = 2152727058;
++pub const SYNC_IOC_MERGE: u32 = 3224387075;
++pub const VIDIOC_S_DV_TIMINGS: u32 = 3229898327;
++pub const PPPIOCBRIDGECHAN: u32 = 1074033717;
++pub const LIRC_SET_SEND_MODE: u32 = 1074030865;
++pub const RIO_ENABLE_PORTWRITE_RANGE: u32 = 1074818315;
++pub const ATM_GETTYPE: u32 = 1074815364;
++pub const PHN_GETREGS: u32 = 3223875591;
++pub const FDSETEMSGTRESH: u32 = 586;
++pub const NILFS_IOCTL_GET_VINFO: u32 = 3222826630;
++pub const MGSL_IOCWAITEVENT: u32 = 3221515528;
++pub const CAPI_INSTALLED: u32 = 2147631906;
++pub const EVIOCGMASK: u32 = 2148550034;
++pub const BTRFS_IOC_SUBVOL_GETFLAGS: u32 = 2148045849;
++pub const FSL_HV_IOCTL_PARTITION_GET_STATUS: u32 = 3222056706;
++pub const MEDIA_IOC_ENUM_ENTITIES: u32 = 3238034433;
++pub const GSMIOC_GETFIRST: u32 = 2147763972;
++pub const FW_CDEV_IOC_FLUSH_ISO: u32 = 1074012952;
++pub const VIDIOC_DBG_G_CHIP_INFO: u32 = 3234354790;
++pub const F2FS_IOC_RELEASE_VOLATILE_WRITE: u32 = 62724;
++pub const CAPI_GET_SERIAL: u32 = 3221504776;
++pub const FDSETDRVPRM: u32 = 1082131088;
++pub const IOC_OPAL_SAVE: u32 = 1092120796;
++pub const VIDIOC_G_DV_TIMINGS: u32 = 3229898328;
++pub const TUNSETIFINDEX: u32 = 1074025690;
++pub const CCISS_SETINTINFO: u32 = 1074283011;
++pub const CM_IOSDBGLVL: u32 = 1074291706;
++pub const RTC_VL_CLR: u32 = 28692;
++pub const VIDIOC_REQBUFS: u32 = 3222558216;
++pub const USBDEVFS_REAPURBNDELAY32: u32 = 1074025741;
++pub const TEE_IOC_SHM_REGISTER: u32 = 3222840329;
++pub const USBDEVFS_SETCONFIGURATION: u32 = 2147767557;
++pub const CCISS_GETNODENAME: u32 = 2148549124;
++pub const VIDIOC_SUBDEV_S_FRAME_INTERVAL: u32 = 3224393238;
++pub const VIDIOC_ENUM_FRAMESIZES: u32 = 3224131146;
++pub const VFIO_DEVICE_PCI_HOT_RESET: u32 = 15217;
++pub const FW_CDEV_IOC_SEND_BROADCAST_REQUEST: u32 = 1076372242;
++pub const LPSETTIMEOUT_NEW: u32 = 1074791951;
++pub const RIO_CM_MPORT_GET_LIST: u32 = 3221512971;
++pub const FW_CDEV_IOC_QUEUE_ISO: u32 = 3222807305;
++pub const FDRAWCMD: u32 = 600;
++pub const SCIF_UNREG: u32 = 3222303497;
++pub const PPPIOCGIDLE64: u32 = 2148561983;
++pub const USBDEVFS_RELEASEINTERFACE: u32 = 2147767568;
++pub const VIDIOC_CROPCAP: u32 = 3224131130;
++pub const DFL_FPGA_PORT_GET_INFO: u32 = 46657;
++pub const PHN_SET_REGS: u32 = 1074294787;
++pub const ATMLEC_DATA: u32 = 25041;
++pub const PPPOEIOCDFWD: u32 = 45313;
++pub const VIDIOC_S_SELECTION: u32 = 3225441887;
++pub const SNAPSHOT_FREE_SWAP_PAGES: u32 = 13065;
++pub const BTRFS_IOC_LOGICAL_INO: u32 = 3224933412;
++pub const VIDIOC_S_CTRL: u32 = 3221771804;
++pub const ZATM_SETPOOL: u32 = 1074815331;
++pub const MTIOCPOS: u32 = 2148035843;
++pub const PMU_IOC_SLEEP: u32 = 16896;
++pub const AUTOFS_DEV_IOCTL_PROTOSUBVER: u32 = 3222836083;
++pub const VBG_IOCTL_CHANGE_FILTER_MASK: u32 = 3223344652;
++pub const NILFS_IOCTL_GET_SUSTAT: u32 = 2150657669;
++pub const VIDIOC_QUERYCAP: u32 = 2154321408;
++pub const HPET_INFO: u32 = 2149083139;
++pub const VIDIOC_AM437X_CCDC_CFG: u32 = 1074288321;
++pub const DM_LIST_DEVICES: u32 = 3241737474;
++pub const TUNSETOWNER: u32 = 1074025676;
++pub const VBG_IOCTL_CHANGE_GUEST_CAPABILITIES: u32 = 3223344654;
++pub const RNDADDENTROPY: u32 = 1074287107;
++pub const USBDEVFS_RESET: u32 = 21780;
++pub const BTRFS_IOC_SUBVOL_CREATE: u32 = 1342215182;
++pub const USBDEVFS_FORBID_SUSPEND: u32 = 21793;
++pub const FDGETDRVTYP: u32 = 2148532751;
++pub const PPWCONTROL: u32 = 1073836164;
++pub const VIDIOC_ENUM_FRAMEINTERVALS: u32 = 3224655435;
++pub const KCOV_DISABLE: u32 = 25445;
++pub const IOC_OPAL_ACTIVATE_LSP: u32 = 1092120799;
++pub const VHOST_VDPA_GET_IOVA_RANGE: u32 = 2148577144;
++pub const PPPIOCSPASS: u32 = 1074820167;
++pub const RIO_CM_CHAN_CONNECT: u32 = 1074291464;
++pub const I2OSWDEL: u32 = 3224398087;
++pub const FS_IOC_SET_ENCRYPTION_POLICY: u32 = 2148296211;
++pub const IOC_OPAL_MBR_DONE: u32 = 1091596521;
++pub const PPPIOCSMAXCID: u32 = 1074033745;
++pub const PPSETPHASE: u32 = 1074032788;
++pub const VHOST_VDPA_SET_VRING_ENABLE: u32 = 1074311029;
++pub const USBDEVFS_GET_SPEED: u32 = 21791;
++pub const SONET_GETFRAMING: u32 = 2147770646;
++pub const VIDIOC_QUERYBUF: u32 = 3227014665;
++pub const VIDIOC_S_EDID: u32 = 3223868969;
++pub const BTRFS_IOC_QGROUP_ASSIGN: u32 = 1075352617;
++pub const PPS_GETCAP: u32 = 2148036771;
++pub const SNAPSHOT_PLATFORM_SUPPORT: u32 = 13071;
++pub const LIRC_SET_REC_TIMEOUT_REPORTS: u32 = 1074030873;
++pub const SCIF_GET_NODEIDS: u32 = 3222827790;
++pub const NBD_DISCONNECT: u32 = 43784;
++pub const VIDIOC_SUBDEV_G_FRAME_INTERVAL: u32 = 3224393237;
++pub const VFIO_IOMMU_DISABLE: u32 = 15220;
++pub const SNAPSHOT_CREATE_IMAGE: u32 = 1074017041;
++pub const SNAPSHOT_POWER_OFF: u32 = 13072;
++pub const APM_IOC_STANDBY: u32 = 16641;
++pub const PPPIOCGUNIT: u32 = 2147775574;
++pub const AUTOFS_IOC_EXPIRE_MULTI: u32 = 1074041702;
++pub const SCIF_BIND: u32 = 3221779201;
++pub const IOC_WATCH_QUEUE_SET_SIZE: u32 = 22368;
++pub const NILFS_IOCTL_CHANGE_CPMODE: u32 = 1074818688;
++pub const IOC_OPAL_LOCK_UNLOCK: u32 = 1092120797;
++pub const F2FS_IOC_SET_PIN_FILE: u32 = 1074066701;
++pub const PPPIOCGRASYNCMAP: u32 = 2147775573;
++pub const MMTIMER_MMAPAVAIL: u32 = 27910;
++pub const I2OPASSTHRU32: u32 = 2148034828;
++pub const DFL_FPGA_FME_PORT_RELEASE: u32 = 1074050689;
++pub const VIDIOC_SUBDEV_QUERY_DV_TIMINGS: u32 = 2156156515;
++pub const UI_SET_SNDBIT: u32 = 1074025834;
++pub const VIDIOC_G_AUDOUT: u32 = 2150913585;
++pub const RTC_PLL_SET: u32 = 1075867666;
++pub const VIDIOC_ENUMAUDIO: u32 = 3224655425;
++pub const AUTOFS_DEV_IOCTL_TIMEOUT: u32 = 3222836090;
++pub const VBG_IOCTL_DRIVER_VERSION_INFO: u32 = 3224131072;
++pub const VHOST_SCSI_GET_EVENTS_MISSED: u32 = 1074048836;
++pub const VHOST_SET_VRING_ADDR: u32 = 1076408081;
++pub const VDUSE_CREATE_DEV: u32 = 1095794946;
++pub const FDFLUSH: u32 = 587;
++pub const VBG_IOCTL_WAIT_FOR_EVENTS: u32 = 3223344650;
++pub const DFL_FPGA_FME_ERR_SET_IRQ: u32 = 1074312836;
++pub const F2FS_IOC_GET_PIN_FILE: u32 = 2147808526;
++pub const SCIF_CONNECT: u32 = 3221779203;
++pub const BLKREPORTZONE: u32 = 3222278786;
++pub const AUTOFS_IOC_ASKUMOUNT: u32 = 2147783536;
++pub const ATM_ADDPARTY: u32 = 1074815476;
++pub const FDSETPRM: u32 = 1075839554;
++pub const ATM_GETSTATZ: u32 = 1074815313;
++pub const ISST_IF_MSR_COMMAND: u32 = 3221814788;
++pub const BTRFS_IOC_GET_SUBVOL_INFO: u32 = 2180551740;
++pub const VIDIOC_UNSUBSCRIBE_EVENT: u32 = 1075861083;
++pub const SEV_ISSUE_CMD: u32 = 3222295296;
++pub const GPIOHANDLE_SET_LINE_VALUES_IOCTL: u32 = 3225465865;
++pub const PCITEST_COPY: u32 = 1074286598;
++pub const IPMICTL_GET_MY_ADDRESS_CMD: u32 = 2147772690;
++pub const CHIOGPICKER: u32 = 2147771140;
++pub const CAPI_NCCI_OPENCOUNT: u32 = 2147762982;
++pub const CXL_MEM_SEND_COMMAND: u32 = 3224423938;
++pub const PERF_EVENT_IOC_SET_FILTER: u32 = 1074275334;
++pub const IOC_OPAL_REVERT_TPR: u32 = 1091072226;
++pub const CHIOGVPARAMS: u32 = 2154849043;
++pub const PTP_PEROUT_REQUEST: u32 = 1077427459;
++pub const FSI_SCOM_CHECK: u32 = 2147775232;
++pub const RTC_IRQP_READ: u32 = 2148036619;
++pub const RIO_MPORT_MAINT_READ_LOCAL: u32 = 2149084421;
++pub const HIDIOCGRDESCSIZE: u32 = 2147764225;
++pub const UI_GET_VERSION: u32 = 2147767597;
++pub const NILFS_IOCTL_GET_CPSTAT: u32 = 2149084803;
++pub const CCISS_GETBUSTYPES: u32 = 2147762695;
++pub const VFIO_IOMMU_SPAPR_TCE_CREATE: u32 = 15223;
++pub const VIDIOC_EXPBUF: u32 = 3225441808;
++pub const UI_SET_RELBIT: u32 = 1074025830;
++pub const VFIO_SET_IOMMU: u32 = 15206;
++pub const VIDIOC_S_MODULATOR: u32 = 1078220343;
++pub const TUNGETFILTER: u32 = 2148553947;
++pub const MEYEIOC_SYNC: u32 = 3221518019;
++pub const CCISS_SETNODENAME: u32 = 1074807301;
++pub const FBIO_GETCONTROL2: u32 = 2148025993;
++pub const TUNSETDEBUG: u32 = 1074025673;
++pub const DM_DEV_REMOVE: u32 = 3241737476;
++pub const HIDIOCSUSAGES: u32 = 1344030740;
++pub const FS_IOC_ADD_ENCRYPTION_KEY: u32 = 3226494487;
++pub const FBIOGET_VBLANK: u32 = 2149598738;
++pub const ATM_GETSTAT: u32 = 1074815312;
++pub const VIDIOC_G_JPEGCOMP: u32 = 2156680765;
++pub const TUNATTACHFILTER: u32 = 1074812117;
++pub const UI_SET_ABSBIT: u32 = 1074025831;
++pub const DFL_FPGA_PORT_ERR_GET_IRQ_NUM: u32 = 2147792453;
++pub const USBDEVFS_REAPURB32: u32 = 1074025740;
++pub const BTRFS_IOC_TRANS_END: u32 = 37895;
++pub const CAPI_REGISTER: u32 = 1074545409;
++pub const F2FS_IOC_COMPRESS_FILE: u32 = 62744;
++pub const USBDEVFS_DISCARDURB: u32 = 21771;
++pub const HE_GET_REG: u32 = 1074815328;
++pub const ATM_SETLOOP: u32 = 1074815315;
++pub const ATMSIGD_CTRL: u32 = 25072;
++pub const CIOC_KERNEL_VERSION: u32 = 3221775114;
++pub const BTRFS_IOC_CLONE_RANGE: u32 = 1075876877;
++pub const SNAPSHOT_UNFREEZE: u32 = 13058;
++pub const F2FS_IOC_START_VOLATILE_WRITE: u32 = 62723;
++pub const PMU_IOC_HAS_ADB: u32 = 2148024836;
++pub const I2OGETIOPS: u32 = 2149607680;
++pub const VIDIOC_S_FBUF: u32 = 1076909579;
++pub const PPRCONTROL: u32 = 2147577987;
++pub const CHIOSPICKER: u32 = 1074029317;
++pub const VFIO_IOMMU_SPAPR_REGISTER_MEMORY: u32 = 15221;
++pub const TUNGETSNDBUF: u32 = 2147767507;
++pub const GSMIOC_SETCONF: u32 = 1078740737;
++pub const IOC_PR_PREEMPT: u32 = 1075343563;
++pub const KCOV_INIT_TRACE: u32 = 2148033281;
++pub const SONYPI_IOCGBAT1CAP: u32 = 2147644930;
++pub const SWITCHTEC_IOCTL_FLASH_INFO: u32 = 2148554560;
++pub const MTIOCTOP: u32 = 1074294017;
++pub const VHOST_VDPA_SET_STATUS: u32 = 1073852274;
++pub const VHOST_SCSI_SET_EVENTS_MISSED: u32 = 1074048835;
++pub const VFIO_IOMMU_DIRTY_PAGES: u32 = 15221;
++pub const BTRFS_IOC_SCRUB_PROGRESS: u32 = 3288372253;
++pub const PPPIOCGMRU: u32 = 2147775571;
++pub const BTRFS_IOC_DEV_REPLACE: u32 = 3391657013;
++pub const PPPIOCGFLAGS: u32 = 2147775578;
++pub const NILFS_IOCTL_SET_SUINFO: u32 = 1075342989;
++pub const FW_CDEV_IOC_GET_CYCLE_TIMER2: u32 = 3222807316;
++pub const ATM_DELLECSADDR: u32 = 1074815375;
++pub const FW_CDEV_IOC_GET_SPEED: u32 = 8977;
++pub const PPPIOCGIDLE32: u32 = 2148037695;
++pub const VFIO_DEVICE_RESET: u32 = 15215;
++pub const GPIO_GET_LINEINFO_UNWATCH_IOCTL: u32 = 3221533708;
++pub const WDIOC_GETSTATUS: u32 = 2147768065;
++pub const BTRFS_IOC_SET_FEATURES: u32 = 1076925497;
++pub const IOCTL_MEI_CONNECT_CLIENT: u32 = 3222292481;
++pub const VIDIOC_OMAP3ISP_AEWB_CFG: u32 = 3223344835;
++pub const PCITEST_READ: u32 = 1074286597;
++pub const VFIO_GROUP_GET_STATUS: u32 = 15207;
++pub const MATROXFB_GET_ALL_OUTPUTS: u32 = 2148036347;
++pub const USBDEVFS_CLEAR_HALT: u32 = 2147767573;
++pub const VIDIOC_DECODER_CMD: u32 = 3225966176;
++pub const VIDIOC_G_AUDIO: u32 = 2150913569;
++pub const CCISS_RESCANDISK: u32 = 16912;
++pub const RIO_DISABLE_PORTWRITE_RANGE: u32 = 1074818316;
++pub const IOC_OPAL_SECURE_ERASE_LR: u32 = 1091596519;
++pub const USBDEVFS_REAPURB: u32 = 1074287884;
++pub const DFL_FPGA_CHECK_EXTENSION: u32 = 46593;
++pub const AUTOFS_IOC_PROTOVER: u32 = 2147783523;
++pub const FSL_HV_IOCTL_MEMCPY: u32 = 3223891717;
++pub const BTRFS_IOC_GET_FEATURES: u32 = 2149094457;
++pub const PCITEST_MSIX: u32 = 1074024455;
++pub const BTRFS_IOC_DEFRAG_RANGE: u32 = 1076925456;
++pub const UI_BEGIN_FF_ERASE: u32 = 3222033866;
++pub const DM_GET_TARGET_VERSION: u32 = 3241737489;
++pub const PPPIOCGIDLE: u32 = 2148561983;
++pub const NVRAM_SETCKS: u32 = 28737;
++pub const WDIOC_GETSUPPORT: u32 = 2150127360;
++pub const GSMIOC_ENABLE_NET: u32 = 1077167874;
++pub const GPIO_GET_CHIPINFO_IOCTL: u32 = 2151986177;
++pub const NE_ADD_VCPU: u32 = 3221532193;
++pub const EVIOCSKEYCODE_V2: u32 = 1076380932;
++pub const PTP_SYS_OFFSET_EXTENDED2: u32 = 3300932882;
++pub const SCIF_FENCE_WAIT: u32 = 3221517072;
++pub const RIO_TRANSFER: u32 = 3222826261;
++pub const FSL_HV_IOCTL_DOORBELL: u32 = 3221794566;
++pub const RIO_MPORT_MAINT_WRITE_LOCAL: u32 = 1075342598;
++pub const I2OEVTREG: u32 = 1074555146;
++pub const I2OPARMGET: u32 = 3223873796;
++pub const EVIOCGID: u32 = 2148025602;
++pub const BTRFS_IOC_QGROUP_CREATE: u32 = 1074828330;
++pub const AUTOFS_DEV_IOCTL_SETPIPEFD: u32 = 3222836088;
++pub const VIDIOC_S_PARM: u32 = 3234616854;
++pub const TUNSETSTEERINGEBPF: u32 = 2147767520;
++pub const ATM_GETNAMES: u32 = 1074815363;
++pub const VIDIOC_QUERYMENU: u32 = 3224131109;
++pub const DFL_FPGA_PORT_DMA_UNMAP: u32 = 46660;
++pub const I2OLCTGET: u32 = 3222825218;
++pub const FS_IOC_GET_ENCRYPTION_PWSALT: u32 = 1074816532;
++pub const NS_SETBUFLEV: u32 = 1074815330;
++pub const BLKCLOSEZONE: u32 = 1074795143;
++pub const SONET_GETFRSENSE: u32 = 2147901719;
++pub const UI_SET_EVBIT: u32 = 1074025828;
++pub const DM_LIST_VERSIONS: u32 = 3241737485;
++pub const HIDIOCGSTRING: u32 = 2164541444;
++pub const PPPIOCATTCHAN: u32 = 1074033720;
++pub const VDUSE_DEV_SET_CONFIG: u32 = 1074299154;
++pub const TUNGETFEATURES: u32 = 2147767503;
++pub const VFIO_GROUP_UNSET_CONTAINER: u32 = 15209;
++pub const IPMICTL_SET_MY_ADDRESS_CMD: u32 = 2147772689;
++pub const CCISS_REGNEWDISK: u32 = 1074020877;
++pub const VIDIOC_QUERY_DV_TIMINGS: u32 = 2156156515;
++pub const PHN_SETREGS: u32 = 1076391944;
++pub const FAT_IOCTL_GET_ATTRIBUTES: u32 = 2147774992;
++pub const FSL_MC_SEND_MC_COMMAND: u32 = 3225440992;
++pub const TUNGETIFF: u32 = 2147767506;
++pub const PTP_CLOCK_GETCAPS2: u32 = 2152742154;
++pub const BTRFS_IOC_RESIZE: u32 = 1342215171;
++pub const VHOST_SET_VRING_ENDIAN: u32 = 1074310931;
++pub const PPS_KC_BIND: u32 = 1074294949;
++pub const F2FS_IOC_WRITE_CHECKPOINT: u32 = 62727;
++pub const UI_SET_FFBIT: u32 = 1074025835;
++pub const IPMICTL_GET_MY_LUN_CMD: u32 = 2147772692;
++pub const CEC_ADAP_G_PHYS_ADDR: u32 = 2147639553;
++pub const CEC_G_MODE: u32 = 2147770632;
++pub const USBDEVFS_RESETEP: u32 = 2147767555;
++pub const MEDIA_REQUEST_IOC_QUEUE: u32 = 31872;
++pub const USBDEVFS_ALLOC_STREAMS: u32 = 2148029724;
++pub const MGSL_IOCSXCTRL: u32 = 27925;
++pub const MEDIA_IOC_G_TOPOLOGY: u32 = 3225975812;
++pub const PPPIOCUNBRIDGECHAN: u32 = 29748;
++pub const F2FS_IOC_COMMIT_ATOMIC_WRITE: u32 = 62722;
++pub const ISST_IF_GET_PLATFORM_INFO: u32 = 2148072960;
++pub const SCIF_FENCE_MARK: u32 = 3222303503;
++pub const USBDEVFS_RELEASE_PORT: u32 = 2147767577;
++pub const VFIO_CHECK_EXTENSION: u32 = 15205;
++pub const BTRFS_IOC_QGROUP_LIMIT: u32 = 2150667307;
++pub const FAT_IOCTL_GET_VOLUME_ID: u32 = 2147774995;
++pub const UI_SET_PHYS: u32 = 1074287980;
++pub const FDWERRORGET: u32 = 2150105623;
++pub const VIDIOC_SUBDEV_G_EDID: u32 = 3223868968;
++pub const MGSL_IOCGSTATS: u32 = 27911;
++pub const RPROC_SET_SHUTDOWN_ON_RELEASE: u32 = 1074050817;
++pub const SIOCGSTAMP_NEW: u32 = 2148567302;
++pub const RTC_WKALM_RD: u32 = 2150133776;
++pub const PHN_GET_REG: u32 = 3221778432;
++pub const DELL_WMI_SMBIOS_CMD: u32 = 3224655616;
++pub const PHN_NOT_OH: u32 = 28676;
++pub const PPGETMODES: u32 = 2147774615;
++pub const CHIOGPARAMS: u32 = 2148819718;
++pub const VFIO_DEVICE_GET_GFX_DMABUF: u32 = 15219;
++pub const VHOST_SET_VRING_BUSYLOOP_TIMEOUT: u32 = 1074310947;
++pub const VIDIOC_SUBDEV_G_SELECTION: u32 = 3225441853;
++pub const BTRFS_IOC_RM_DEV_V2: u32 = 1342215226;
++pub const MGSL_IOCWAITGPIO: u32 = 3222301970;
++pub const PMU_IOC_CAN_SLEEP: u32 = 2148024837;
++pub const KCOV_ENABLE: u32 = 25444;
++pub const BTRFS_IOC_CLONE: u32 = 1074041865;
++pub const F2FS_IOC_DEFRAGMENT: u32 = 3222336776;
++pub const FW_CDEV_IOC_DEALLOCATE_ISO_RESOURCE: u32 = 1074012942;
++pub const AGPIOC_ALLOCATE: u32 = 3221766406;
++pub const NE_SET_USER_MEMORY_REGION: u32 = 1075359267;
++pub const MGSL_IOCTXABORT: u32 = 27910;
++pub const MGSL_IOCSGPIO: u32 = 1074818320;
++pub const LIRC_SET_REC_CARRIER: u32 = 1074030868;
++pub const F2FS_IOC_FLUSH_DEVICE: u32 = 1074328842;
++pub const SNAPSHOT_ATOMIC_RESTORE: u32 = 13060;
++pub const RTC_UIE_OFF: u32 = 28676;
++pub const BT_BMC_IOCTL_SMS_ATN: u32 = 45312;
++pub const NVME_IOCTL_ID: u32 = 20032;
++pub const NE_START_ENCLAVE: u32 = 3222318628;
++pub const VIDIOC_STREAMON: u32 = 1074026002;
++pub const FDPOLLDRVSTAT: u32 = 2152727059;
++pub const AUTOFS_DEV_IOCTL_READY: u32 = 3222836086;
++pub const VIDIOC_ENUMAUDOUT: u32 = 3224655426;
++pub const VIDIOC_SUBDEV_S_STD: u32 = 1074288152;
++pub const WDIOC_GETTIMELEFT: u32 = 2147768074;
++pub const ATM_GETLINKRATE: u32 = 1074815361;
++pub const RTC_WKALM_SET: u32 = 1076391951;
++pub const VHOST_GET_BACKEND_FEATURES: u32 = 2148052774;
++pub const ATMARP_ENCAP: u32 = 25061;
++pub const CAPI_GET_FLAGS: u32 = 2147762979;
++pub const IPMICTL_SET_MY_CHANNEL_ADDRESS_CMD: u32 = 2147772696;
++pub const DFL_FPGA_FME_PORT_ASSIGN: u32 = 1074050690;
++pub const NS_GET_OWNER_UID: u32 = 46852;
++pub const VIDIOC_OVERLAY: u32 = 1074025998;
++pub const BTRFS_IOC_WAIT_SYNC: u32 = 1074304022;
++pub const GPIOHANDLE_SET_CONFIG_IOCTL: u32 = 3226776586;
++pub const VHOST_GET_VRING_ENDIAN: u32 = 1074310932;
++pub const ATM_GETADDR: u32 = 1074815366;
++pub const PHN_GET_REGS: u32 = 3221778434;
++pub const AUTOFS_DEV_IOCTL_REQUESTER: u32 = 3222836091;
++pub const AUTOFS_DEV_IOCTL_EXPIRE: u32 = 3222836092;
++pub const SNAPSHOT_S2RAM: u32 = 13067;
++pub const JSIOCSAXMAP: u32 = 1077963313;
++pub const F2FS_IOC_SET_COMPRESS_OPTION: u32 = 1073935638;
++pub const VBG_IOCTL_HGCM_DISCONNECT: u32 = 3223082501;
++pub const SCIF_FENCE_SIGNAL: u32 = 3223876369;
++pub const VFIO_DEVICE_GET_PCI_HOT_RESET_INFO: u32 = 15216;
++pub const VIDIOC_SUBDEV_ENUM_MBUS_CODE: u32 = 3224393218;
++pub const MMTIMER_GETOFFSET: u32 = 27904;
++pub const RIO_CM_CHAN_LISTEN: u32 = 1073898246;
++pub const ATM_SETSC: u32 = 1074029041;
++pub const F2FS_IOC_SHUTDOWN: u32 = 2147768445;
++pub const NVME_IOCTL_RESCAN: u32 = 20038;
++pub const BLKOPENZONE: u32 = 1074795142;
++pub const DM_VERSION: u32 = 3241737472;
++pub const CEC_TRANSMIT: u32 = 3224920325;
++pub const FS_IOC_GET_ENCRYPTION_POLICY_EX: u32 = 3221841430;
++pub const SIOCMKCLIP: u32 = 25056;
++pub const IPMI_BMC_IOCTL_CLEAR_SMS_ATN: u32 = 45313;
++pub const HIDIOCGVERSION: u32 = 2147764225;
++pub const VIDIOC_S_INPUT: u32 = 3221509671;
++pub const VIDIOC_G_CROP: u32 = 3222558267;
++pub const LIRC_SET_WIDEBAND_RECEIVER: u32 = 1074030883;
++pub const EVIOCGEFFECTS: u32 = 2147763588;
++pub const UVCIOC_CTRL_QUERY: u32 = 3222304033;
++pub const IOC_OPAL_GENERIC_TABLE_RW: u32 = 1094217963;
++pub const FS_IOC_READ_VERITY_METADATA: u32 = 3223873159;
++pub const ND_IOCTL_SET_CONFIG_DATA: u32 = 3221769734;
++pub const USBDEVFS_GETDRIVER: u32 = 1090802952;
++pub const IDT77105_GETSTAT: u32 = 1074815282;
++pub const HIDIOCINITREPORT: u32 = 18437;
++pub const VFIO_DEVICE_GET_INFO: u32 = 15211;
++pub const RIO_CM_CHAN_RECEIVE: u32 = 3222299402;
++pub const RNDGETENTCNT: u32 = 2147766784;
++pub const PPPIOCNEWUNIT: u32 = 3221517374;
++pub const BTRFS_IOC_INO_LOOKUP: u32 = 3489698834;
++pub const FDRESET: u32 = 596;
++pub const IOC_PR_REGISTER: u32 = 1075343560;
++pub const HIDIOCSREPORT: u32 = 1074546696;
++pub const TEE_IOC_OPEN_SESSION: u32 = 2148574210;
++pub const TEE_IOC_SUPPL_RECV: u32 = 2148574214;
++pub const BTRFS_IOC_BALANCE_CTL: u32 = 1074041889;
++pub const GPIO_GET_LINEINFO_WATCH_IOCTL: u32 = 3225990155;
++pub const HIDIOCGRAWINFO: u32 = 2148026371;
++pub const PPPIOCSCOMPRESS: u32 = 1074820173;
++pub const USBDEVFS_CONNECTINFO: u32 = 1074287889;
++pub const BLKRESETZONE: u32 = 1074795139;
++pub const CHIOINITELEM: u32 = 25361;
++pub const NILFS_IOCTL_SET_ALLOC_RANGE: u32 = 1074818700;
++pub const AUTOFS_DEV_IOCTL_CATATONIC: u32 = 3222836089;
++pub const RIO_MPORT_MAINT_HDID_SET: u32 = 1073900801;
++pub const PPGETPHASE: u32 = 2147774617;
++pub const USBDEVFS_DISCONNECT_CLAIM: u32 = 2164806939;
++pub const FDMSGON: u32 = 581;
++pub const VIDIOC_G_SLICED_VBI_CAP: u32 = 3228849733;
++pub const BTRFS_IOC_BALANCE_V2: u32 = 3288372256;
++pub const MEDIA_REQUEST_IOC_REINIT: u32 = 31873;
++pub const IOC_OPAL_ERASE_LR: u32 = 1091596518;
++pub const FDFMTBEG: u32 = 583;
++pub const RNDRESEEDCRNG: u32 = 20999;
++pub const ISST_IF_GET_PHY_ID: u32 = 3221814785;
++pub const TUNSETNOCSUM: u32 = 1074025672;
++pub const SONET_GETSTAT: u32 = 2149867792;
++pub const TFD_IOC_SET_TICKS: u32 = 1074287616;
++pub const PPDATADIR: u32 = 1074032784;
++pub const IOC_OPAL_ENABLE_DISABLE_MBR: u32 = 1091596517;
++pub const GPIO_V2_GET_LINE_IOCTL: u32 = 3260068871;
++pub const RIO_CM_CHAN_SEND: u32 = 1074815753;
++pub const PPWCTLONIRQ: u32 = 1073836178;
++pub const SONYPI_IOCGBRT: u32 = 2147579392;
++pub const IOC_PR_RELEASE: u32 = 1074819274;
++pub const PPCLRIRQ: u32 = 2147774611;
++pub const IPMICTL_SET_MY_CHANNEL_LUN_CMD: u32 = 2147772698;
++pub const MGSL_IOCSXSYNC: u32 = 27923;
++pub const HPET_IE_OFF: u32 = 26626;
++pub const IOC_OPAL_ACTIVATE_USR: u32 = 1091596513;
++pub const SONET_SETFRAMING: u32 = 1074028821;
++pub const PERF_EVENT_IOC_PAUSE_OUTPUT: u32 = 1074013193;
++pub const BTRFS_IOC_LOGICAL_INO_V2: u32 = 3224933435;
++pub const VBG_IOCTL_HGCM_CONNECT: u32 = 3231471108;
++pub const BLKFINISHZONE: u32 = 1074795144;
++pub const EVIOCREVOKE: u32 = 1074021777;
++pub const VFIO_DEVICE_FEATURE: u32 = 15221;
++pub const CCISS_GETPCIINFO: u32 = 2148024833;
++pub const ISST_IF_MBOX_COMMAND: u32 = 3221814787;
++pub const SCIF_ACCEPTREQ: u32 = 3222303492;
++pub const PERF_EVENT_IOC_QUERY_BPF: u32 = 3221758986;
++pub const VIDIOC_STREAMOFF: u32 = 1074026003;
++pub const VDUSE_DESTROY_DEV: u32 = 1090552067;
++pub const FDGETFDCSTAT: u32 = 2150105621;
++pub const CM_IOCGATR: u32 = 3221775105;
++pub const VIDIOC_S_PRIORITY: u32 = 1074026052;
++pub const SNAPSHOT_FREEZE: u32 = 13057;
++pub const VIDIOC_ENUMINPUT: u32 = 3226490394;
++pub const ZATM_GETPOOLZ: u32 = 1074815330;
++pub const RIO_DISABLE_DOORBELL_RANGE: u32 = 1074294026;
++pub const GPIO_V2_GET_LINEINFO_WATCH_IOCTL: u32 = 3238048774;
++pub const VIDIOC_G_STD: u32 = 2148029975;
++pub const USBDEVFS_ALLOW_SUSPEND: u32 = 21794;
++pub const SONET_GETSTATZ: u32 = 2149867793;
++pub const SCIF_ACCEPTREG: u32 = 3221779205;
++pub const VIDIOC_ENCODER_CMD: u32 = 3223869005;
++pub const PPPIOCSRASYNCMAP: u32 = 1074033748;
++pub const IOCTL_MEI_NOTIFY_SET: u32 = 1074022402;
++pub const BTRFS_IOC_QUOTA_RESCAN_STATUS: u32 = 2151715885;
++pub const F2FS_IOC_GARBAGE_COLLECT: u32 = 1074066694;
++pub const ATMLEC_CTRL: u32 = 25040;
++pub const MATROXFB_GET_AVAILABLE_OUTPUTS: u32 = 2148036345;
++pub const DM_DEV_CREATE: u32 = 3241737475;
++pub const VHOST_VDPA_GET_VRING_NUM: u32 = 2147659638;
++pub const VIDIOC_G_CTRL: u32 = 3221771803;
++pub const NBD_CLEAR_SOCK: u32 = 43780;
++pub const VFIO_DEVICE_QUERY_GFX_PLANE: u32 = 15218;
++pub const WDIOC_KEEPALIVE: u32 = 2147768069;
++pub const NVME_IOCTL_SUBSYS_RESET: u32 = 20037;
++pub const PTP_EXTTS_REQUEST2: u32 = 1074806027;
++pub const PCITEST_BAR: u32 = 20481;
++pub const MGSL_IOCGGPIO: u32 = 2148560145;
++pub const EVIOCSREP: u32 = 1074283779;
++pub const VFIO_DEVICE_GET_IRQ_INFO: u32 = 15213;
++pub const HPET_DPI: u32 = 26629;
++pub const VDUSE_VQ_SETUP_KICKFD: u32 = 1074299158;
++pub const ND_IOCTL_CALL: u32 = 3225439754;
++pub const HIDIOCGDEVINFO: u32 = 2149337091;
++pub const DM_TABLE_DEPS: u32 = 3241737483;
++pub const BTRFS_IOC_DEV_INFO: u32 = 3489698846;
++pub const VDUSE_IOTLB_GET_FD: u32 = 3223355664;
++pub const FW_CDEV_IOC_GET_INFO: u32 = 3223855872;
++pub const VIDIOC_G_PRIORITY: u32 = 2147767875;
++pub const ATM_NEWBACKENDIF: u32 = 1073897971;
++pub const VIDIOC_S_EXT_CTRLS: u32 = 3223344712;
++pub const VIDIOC_SUBDEV_ENUM_DV_TIMINGS: u32 = 3230946914;
++pub const VIDIOC_OMAP3ISP_CCDC_CFG: u32 = 3224917697;
++pub const VIDIOC_S_HW_FREQ_SEEK: u32 = 1076909650;
++pub const DM_TABLE_LOAD: u32 = 3241737481;
++pub const F2FS_IOC_START_ATOMIC_WRITE: u32 = 62721;
++pub const VIDIOC_G_OUTPUT: u32 = 2147767854;
++pub const ATM_DROPPARTY: u32 = 1074029045;
++pub const CHIOGELEM: u32 = 1080845072;
++pub const BTRFS_IOC_GET_SUPPORTED_FEATURES: u32 = 2152240185;
++pub const EVIOCSKEYCODE: u32 = 1074283780;
++pub const NE_GET_IMAGE_LOAD_INFO: u32 = 3222318626;
++pub const TUNSETLINK: u32 = 1074025677;
++pub const FW_CDEV_IOC_ADD_DESCRIPTOR: u32 = 3222807302;
++pub const BTRFS_IOC_SCRUB_CANCEL: u32 = 37916;
++pub const PPS_SETPARAMS: u32 = 1074294946;
++pub const IOC_OPAL_LR_SETUP: u32 = 1093169379;
++pub const FW_CDEV_IOC_DEALLOCATE: u32 = 1074012931;
++pub const WDIOC_SETTIMEOUT: u32 = 3221509894;
++pub const IOC_WATCH_QUEUE_SET_FILTER: u32 = 22369;
++pub const CAPI_GET_MANUFACTURER: u32 = 3221504774;
++pub const VFIO_IOMMU_SPAPR_UNREGISTER_MEMORY: u32 = 15222;
++pub const ASPEED_P2A_CTRL_IOCTL_SET_WINDOW: u32 = 1074836224;
++pub const VIDIOC_G_EDID: u32 = 3223868968;
++pub const F2FS_IOC_GARBAGE_COLLECT_RANGE: u32 = 1075377419;
++pub const RIO_MAP_INBOUND: u32 = 3223874833;
++pub const IOC_OPAL_TAKE_OWNERSHIP: u32 = 1091072222;
++pub const USBDEVFS_CLAIM_PORT: u32 = 2147767576;
++pub const VIDIOC_S_AUDIO: u32 = 1077171746;
++pub const FS_IOC_GET_ENCRYPTION_NONCE: u32 = 2148558363;
++pub const FW_CDEV_IOC_SEND_STREAM_PACKET: u32 = 1076372243;
++pub const BTRFS_IOC_SNAP_DESTROY: u32 = 1342215183;
++pub const SNAPSHOT_FREE: u32 = 13061;
++pub const I8K_GET_SPEED: u32 = 3221776773;
++pub const HIDIOCGREPORT: u32 = 1074546695;
++pub const HPET_EPI: u32 = 26628;
++pub const JSIOCSCORR: u32 = 1076128289;
++pub const IOC_PR_PREEMPT_ABORT: u32 = 1075343564;
++pub const RIO_MAP_OUTBOUND: u32 = 3223874831;
++pub const ATM_SETESI: u32 = 1074815372;
++pub const FW_CDEV_IOC_START_ISO: u32 = 1074799370;
++pub const ATM_DELADDR: u32 = 1074815369;
++pub const PPFCONTROL: u32 = 1073901710;
++pub const SONYPI_IOCGFAN: u32 = 2147579402;
++pub const RTC_IRQP_SET: u32 = 1074294796;
++pub const PCITEST_WRITE: u32 = 1074286596;
++pub const PPCLAIM: u32 = 28811;
++pub const VIDIOC_S_JPEGCOMP: u32 = 1082938942;
++pub const IPMICTL_UNREGISTER_FOR_CMD: u32 = 2147641615;
++pub const VHOST_SET_FEATURES: u32 = 1074310912;
++pub const TOSHIBA_ACPI_SCI: u32 = 3222828177;
++pub const VIDIOC_DQBUF: u32 = 3227014673;
++pub const BTRFS_IOC_BALANCE_PROGRESS: u32 = 2214630434;
++pub const BTRFS_IOC_SUBVOL_SETFLAGS: u32 = 1074304026;
++pub const ATMLEC_MCAST: u32 = 25042;
++pub const MMTIMER_GETFREQ: u32 = 2148035842;
++pub const VIDIOC_G_SELECTION: u32 = 3225441886;
++pub const RTC_ALM_SET: u32 = 1076129799;
++pub const PPPOEIOCSFWD: u32 = 1074311424;
++pub const IPMICTL_GET_MAINTENANCE_MODE_CMD: u32 = 2147772702;
++pub const FS_IOC_ENABLE_VERITY: u32 = 1082156677;
++pub const NILFS_IOCTL_GET_BDESCS: u32 = 3222826631;
++pub const FDFMTEND: u32 = 585;
++pub const DMA_BUF_SET_NAME: u32 = 1074291201;
++pub const UI_BEGIN_FF_UPLOAD: u32 = 3228063176;
++pub const RTC_UIE_ON: u32 = 28675;
++pub const PPRELEASE: u32 = 28812;
++pub const VFIO_IOMMU_UNMAP_DMA: u32 = 15218;
++pub const VIDIOC_OMAP3ISP_PRV_CFG: u32 = 3228587714;
++pub const GPIO_GET_LINEHANDLE_IOCTL: u32 = 3245126659;
++pub const VFAT_IOCTL_READDIR_BOTH: u32 = 2184212993;
++pub const NVME_IOCTL_ADMIN_CMD: u32 = 3225964097;
++pub const VHOST_SET_VRING_KICK: u32 = 1074310944;
++pub const BTRFS_IOC_SUBVOL_CREATE_V2: u32 = 1342215192;
++pub const BTRFS_IOC_SNAP_CREATE: u32 = 1342215169;
++pub const SONYPI_IOCGBAT2CAP: u32 = 2147644932;
++pub const PPNEGOT: u32 = 1074032785;
++pub const NBD_PRINT_DEBUG: u32 = 43782;
++pub const BTRFS_IOC_INO_LOOKUP_USER: u32 = 3489698878;
++pub const BTRFS_IOC_GET_SUBVOL_ROOTREF: u32 = 3489698877;
++pub const FS_IOC_REMOVE_ENCRYPTION_KEY_ALL_USERS: u32 = 3225445913;
++pub const BTRFS_IOC_FS_INFO: u32 = 2214630431;
++pub const VIDIOC_ENUM_FMT: u32 = 3225441794;
++pub const VIDIOC_G_INPUT: u32 = 2147767846;
++pub const VTPM_PROXY_IOC_NEW_DEV: u32 = 3222577408;
++pub const DFL_FPGA_FME_ERR_GET_IRQ_NUM: u32 = 2147792515;
++pub const ND_IOCTL_DIMM_FLAGS: u32 = 3221769731;
++pub const BTRFS_IOC_QUOTA_RESCAN: u32 = 1077974060;
++pub const MMTIMER_GETCOUNTER: u32 = 2148035849;
++pub const MATROXFB_GET_OUTPUT_MODE: u32 = 3221778170;
++pub const BTRFS_IOC_QUOTA_RESCAN_WAIT: u32 = 37934;
++pub const RIO_CM_CHAN_BIND: u32 = 1074291461;
++pub const HIDIOCGRDESC: u32 = 2416199682;
++pub const MGSL_IOCGIF: u32 = 27915;
++pub const VIDIOC_S_OUTPUT: u32 = 3221509679;
++pub const HIDIOCGREPORTINFO: u32 = 3222030345;
++pub const WDIOC_GETBOOTSTATUS: u32 = 2147768066;
++pub const VDUSE_VQ_GET_INFO: u32 = 3224404245;
++pub const ACRN_IOCTL_ASSIGN_PCIDEV: u32 = 1076142677;
++pub const BLKGETDISKSEQ: u32 = 2148012672;
++pub const ACRN_IOCTL_PM_GET_CPU_STATE: u32 = 3221791328;
++pub const ACRN_IOCTL_DESTROY_VM: u32 = 41489;
++pub const ACRN_IOCTL_SET_PTDEV_INTR: u32 = 1075094099;
++pub const ACRN_IOCTL_CREATE_IOREQ_CLIENT: u32 = 41522;
++pub const ACRN_IOCTL_IRQFD: u32 = 1075356273;
++pub const ACRN_IOCTL_CREATE_VM: u32 = 3224412688;
++pub const ACRN_IOCTL_INJECT_MSI: u32 = 1074831907;
++pub const ACRN_IOCTL_ATTACH_IOREQ_CLIENT: u32 = 41523;
++pub const ACRN_IOCTL_RESET_PTDEV_INTR: u32 = 1075094100;
++pub const ACRN_IOCTL_NOTIFY_REQUEST_FINISH: u32 = 1074307633;
++pub const ACRN_IOCTL_SET_IRQLINE: u32 = 1074307621;
++pub const ACRN_IOCTL_START_VM: u32 = 41490;
++pub const ACRN_IOCTL_SET_VCPU_REGS: u32 = 1093181974;
++pub const ACRN_IOCTL_SET_MEMSEG: u32 = 1075880513;
++pub const ACRN_IOCTL_PAUSE_VM: u32 = 41491;
++pub const ACRN_IOCTL_CLEAR_VM_IOREQ: u32 = 41525;
++pub const ACRN_IOCTL_UNSET_MEMSEG: u32 = 1075880514;
++pub const ACRN_IOCTL_IOEVENTFD: u32 = 1075880560;
++pub const ACRN_IOCTL_DEASSIGN_PCIDEV: u32 = 1076142678;
++pub const ACRN_IOCTL_RESET_VM: u32 = 41493;
++pub const ACRN_IOCTL_DESTROY_IOREQ_CLIENT: u32 = 41524;
++pub const ACRN_IOCTL_VM_INTR_MONITOR: u32 = 1074307620;
+--- a/vendor/linux-raw-sys/.cargo-checksum.json
++++ b/vendor/linux-raw-sys/.cargo-checksum.json
+@@ -1 +1 @@
+-{"files":{"CODE_OF_CONDUCT.md":"ccd9e538ce44713a2486cc8e4c01b8c8b846d1ccff15de728d8d6fa9a7f846cd","COPYRIGHT":"3290ae0fbc9ddb77d2239121d710f0bb9d31b3b4744e6d97fe01e652b4c1870b","Cargo.toml":"0d02ea4bc018631a52900423cb7466bc905571bd1d767769739bde626360c123","LICENSE-APACHE":"a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2","LICENSE-Apache-2.0_WITH_LLVM-exception":"268872b9816f90fd8e85db5a28d33f8150ebb8dd016653fb39ef1f94f2686bc5","LICENSE-MIT":"23f18e03dc49df91622fe2a76176497404e46ced8a715d9d2b67a7446571cca3","ORG_CODE_OF_CONDUCT.md":"a62b69bf86e605ee1bcbb2f0a12ba79e4cebb6983a7b6491949750aecc4f2178","README.md":"3d4ae2ec9429adfd329b4506f7ca6faa84dca30d1c3b416f8f4e6f57bdb3aa96","src/aarch64/errno.rs":"db283e5ea7fb63e0f57acb241e6471a951b4218660c01ca37b80be9a53629b92","src/aarch64/general.rs":"0cc1ed00b1ef7efb16a7109138acdf679d591325458938cee150b221af063822","src/aarch64/if_ether.rs":"f558bfec1f5e80235db79f507e4afd3120647a5caddf17a87b7ad5540e5c1462","src/aarch64/io_uring.rs":"9ce4c9005b5b99e041b9d58be6866367605e4bee1e30a7096235cb234ed73e1b","src/aarch64/ioctl.rs":"f83af7f7cab6611c9f316b2289998d3276d844ac8f96111bc65f6c3340c3301a","src/aarch64/net.rs":"9c5fe44f91072b08899a6304cb22a51545034adde444740b67b8b310f3906a30","src/aarch64/netlink.rs":"f6642310b8bd37b5775ba1a52cfe638beddd7c880f8dfacab62c3180255fb75f","src/aarch64/prctl.rs":"a80e2f89aa978210d980538e1d9c5b922bb073d118ee51b1f14c1f397c7cd576","src/aarch64/system.rs":"851a95c0d1b76782970a28c373a313954eea0db35f6ebce562e6047095f587c4","src/arm/errno.rs":"db283e5ea7fb63e0f57acb241e6471a951b4218660c01ca37b80be9a53629b92","src/arm/general.rs":"bdbb40ba5630044c9555fe38a3640638f3ff7f437d94f82428e2bedad32e180f","src/arm/if_ether.rs":"3873beb1f57bdcc52da345608c5deda5937d7b92b114b414ce6161784173b925","src/arm/io_uring.rs":"5e2e254d5853ed30568e17fab184f8cc458607465d19dcee6c87ca1b565d6d2d","src/arm/ioctl.rs":"54cb9bdc5fe4ee7cff30e087bb0d04f1d811b55be7604bb056387f859120935a","src/arm/net.rs":"c79f443ab6585f81a71eff3350700ece82098264206eb79f78714153d6e43529","src/arm/netlink.rs":"2f98b8c0349c2d3d538164e4d06c28fa1fb9308f7691aa097526ce2fb3ac176f","src/arm/prctl.rs":"5477c74fec958d9f9d2028f58e95657840ead28445956e53fe0894e45922f8a5","src/arm/system.rs":"9aca94a4a553e09e6d2d43741fb8c120c05a193822e850951dc469bbd89cc703","src/csky/errno.rs":"db283e5ea7fb63e0f57acb241e6471a951b4218660c01ca37b80be9a53629b92","src/csky/general.rs":"94aba82d2a76a9ca272b4766f8d2f5f14e10bc2166e03d695a5b8b5d207e6755","src/csky/if_ether.rs":"aac7a069000195b9b18c6d25b2d7c338efb1062347a84e31cda7c93de374b3c6","src/csky/io_uring.rs":"bb7541d82f627cb681ea11f4e5c4162b0d0616ca08fcc6d31bcf22ef813f754d","src/csky/ioctl.rs":"77f30e67f9a4748bc31184454a0ff45fd821c3536cd98dc2411def8eeb59a268","src/csky/net.rs":"2796ca3744e82cecd816b4d1b1fba0bcb389fbc4603e0af7b6cdc562c666b512","src/csky/netlink.rs":"9fc99e88df0efc15d39b397c9d653c32b4729e31a2434e730435fbdfcb362da4","src/csky/prctl.rs":"8df2f33387d5b4865d9417f796cc4d43b3cf549cfa41d7ce7d41dd367ed8b6c9","src/csky/system.rs":"a2913685b359e60bbfae413b89a6fd37ea38fa448f980ffadef42d227b33ada5","src/elf.rs":"441bcf378b5603f957e053369d18d95c1efe981665846c220bca82123c04843a","src/lib.rs":"f3399ba35206764ac4e2d755cfc7e0c580464b8fcc76968f6c4b9f64523a1d02","src/loongarch64/errno.rs":"db283e5ea7fb63e0f57acb241e6471a951b4218660c01ca37b80be9a53629b92","src/loongarch64/general.rs":"fadd5884c6ad645300540dd30150984857819a986772fca4eba1e1fc0c3f4f1e","src/loongarch64/if_ether.rs":"a7b0918afc9dbf8e79490f83a809e4bd563af20ab2b3432d58b763ff31418daf","src/loongarch64/io_uring.rs":"ef851913c86bc2d629048e781edc76b59c63e659f8bd4bcd7fa7ff982186ed6d","src/loongarch64/ioctl.rs":"6f631e0ac37f2c2398168683a1523d1559b85369ffe4cdcc284ffe7455672c18","src/loongarch64/net.rs":"21add3f1bfa5898d9a5ef91342f6cd94ad4585df6525b9a4cf6cdf743345a9c7","src/loongarch64/netlink.rs":"789357343b94276e6f8fc8f3a32f06f3d3efd464c7850b2568dc609a49d1f305","src/loongarch64/prctl.rs":"624e4d3b8f3b4f1d6dcb1540c124ed03ce47f0580aa3425c0baed431dcd267ea","src/loongarch64/system.rs":"4cfcd4c28481b9ff5fc0330d5c713d637d3615c0184830d3a4391882eaed68f5","src/mips/errno.rs":"9ab1ed2bf371a27401745c2a6f9692f7e66dfd481d032cb40a354826d394ea8e","src/mips/general.rs":"1c16f4e0a015eaf27e9a30f4b74ec824220798f47c535d3aaf322ad799c054ab","src/mips/if_ether.rs":"1ecdc654cb3eda633bb7192829b1001a0a5ae5a126110b4208bbee5b41f87f5e","src/mips/io_uring.rs":"c69479bb1f862febe78e0989745c202146aaef7e8ceaa0d7bf291af584748992","src/mips/ioctl.rs":"f7464d2cd0548ab4735a1ca8deba47f13ea0946a9bf86adfec1a77feb3a0f475","src/mips/net.rs":"843204e91d8d6c34ddf4d29e1e822980b3e058ff7fc55ecc5f2b0fdf4a72825d","src/mips/netlink.rs":"5045dece259abaa5b5974500a20a9325e4cd6eb87c344dd7448056dff469994f","src/mips/prctl.rs":"cd59615adf6f561ef6c542df59cf25f75877693ca1c4c489f5e460eb7e798d4d","src/mips/system.rs":"acbc69a1fe7299860f8bd142bc2ff5595a410e1528994139062fc680d1a87e71","src/mips32r6/errno.rs":"9ab1ed2bf371a27401745c2a6f9692f7e66dfd481d032cb40a354826d394ea8e","src/mips32r6/general.rs":"1c16f4e0a015eaf27e9a30f4b74ec824220798f47c535d3aaf322ad799c054ab","src/mips32r6/if_ether.rs":"1ecdc654cb3eda633bb7192829b1001a0a5ae5a126110b4208bbee5b41f87f5e","src/mips32r6/io_uring.rs":"c69479bb1f862febe78e0989745c202146aaef7e8ceaa0d7bf291af584748992","src/mips32r6/ioctl.rs":"f7464d2cd0548ab4735a1ca8deba47f13ea0946a9bf86adfec1a77feb3a0f475","src/mips32r6/net.rs":"843204e91d8d6c34ddf4d29e1e822980b3e058ff7fc55ecc5f2b0fdf4a72825d","src/mips32r6/netlink.rs":"5045dece259abaa5b5974500a20a9325e4cd6eb87c344dd7448056dff469994f","src/mips32r6/prctl.rs":"cd59615adf6f561ef6c542df59cf25f75877693ca1c4c489f5e460eb7e798d4d","src/mips32r6/system.rs":"acbc69a1fe7299860f8bd142bc2ff5595a410e1528994139062fc680d1a87e71","src/mips64/errno.rs":"9ab1ed2bf371a27401745c2a6f9692f7e66dfd481d032cb40a354826d394ea8e","src/mips64/general.rs":"700b52614c604ce58aa8a5bb1ebd46221c0106ec2d8d6600d681d1594a89118a","src/mips64/if_ether.rs":"6d24518acba5bc8fa2a775d039ed9594de8349d6028621134626ccaa8ea18bcd","src/mips64/io_uring.rs":"18bd5d96c53aff44f4a37a71f16fa12c11b7c934b395bf841e47d98283146a50","src/mips64/ioctl.rs":"39f3276ec6f36ba78f5635bd418310b21bc228902d4da889fa01094c26f9b57d","src/mips64/net.rs":"e641379a7004ded90413b084504468148ecdbea4f753cbca83a4d22698cd7bab","src/mips64/netlink.rs":"18f139573337be18fb9bd56de4d0bd8af5c80828cdf68ef68751c18dcb39c761","src/mips64/prctl.rs":"a8d9ae240ce582d7b66e13937b99df73c7247ce9f69bfdd12109903d7c6dfb0e","src/mips64/system.rs":"95805c533a8eb8f53c28f138e6a2d12064681cc9db55d3042ee748c655a5d7cd","src/mips64r6/errno.rs":"9ab1ed2bf371a27401745c2a6f9692f7e66dfd481d032cb40a354826d394ea8e","src/mips64r6/general.rs":"700b52614c604ce58aa8a5bb1ebd46221c0106ec2d8d6600d681d1594a89118a","src/mips64r6/if_ether.rs":"6d24518acba5bc8fa2a775d039ed9594de8349d6028621134626ccaa8ea18bcd","src/mips64r6/io_uring.rs":"18bd5d96c53aff44f4a37a71f16fa12c11b7c934b395bf841e47d98283146a50","src/mips64r6/ioctl.rs":"39f3276ec6f36ba78f5635bd418310b21bc228902d4da889fa01094c26f9b57d","src/mips64r6/net.rs":"e641379a7004ded90413b084504468148ecdbea4f753cbca83a4d22698cd7bab","src/mips64r6/netlink.rs":"18f139573337be18fb9bd56de4d0bd8af5c80828cdf68ef68751c18dcb39c761","src/mips64r6/prctl.rs":"a8d9ae240ce582d7b66e13937b99df73c7247ce9f69bfdd12109903d7c6dfb0e","src/mips64r6/system.rs":"95805c533a8eb8f53c28f138e6a2d12064681cc9db55d3042ee748c655a5d7cd","src/powerpc/errno.rs":"db283e5ea7fb63e0f57acb241e6471a951b4218660c01ca37b80be9a53629b92","src/powerpc/general.rs":"7940ad742585d501f4742af51c6310ecf651863a8aaa0305193e9c8ee07aca90","src/powerpc/if_ether.rs":"56ab5fbf8c9d0dd0654412fabdca6759cbb421a876e5cebe2fec10e25728b55c","src/powerpc/io_uring.rs":"38ead79180c96e8af69929dacbc36e8cfbccec96875c61f094e531e6860639db","src/powerpc/ioctl.rs":"513a1dda33b2cd6c57212263c1bf0d8d443e54af6efe75e938fd700c1ca2b630","src/powerpc/net.rs":"b0228b15161fb750596d6e7e8e612381d9cf2acfed208715b93e8bb4b3340dc7","src/powerpc/netlink.rs":"4f10870fbd23de17efd4cba6d5a40ba85564effc5d0b71f9d7f928a42cb77b20","src/powerpc/prctl.rs":"f236987bc8ae993ab2b0e88b2eacbae51eee4da170ac075552070a76c717d803","src/powerpc/system.rs":"3e01e5e145adb87263f04c9e053faac0c0758689fd32917d2c7c2eec1d89f9e6","src/powerpc64/errno.rs":"db283e5ea7fb63e0f57acb241e6471a951b4218660c01ca37b80be9a53629b92","src/powerpc64/general.rs":"7862eb3dfac845331b624b3322bdeb3441bb86e914719e125dd5dc7b3860db43","src/powerpc64/if_ether.rs":"15e12d56b1367cb5c9d8fd1b9995acf1429a923bf603698bd732efe1acc30cd6","src/powerpc64/io_uring.rs":"50018e504d78c584beaec3b1a6d477d30d566d25cb1a40b0a2adfb23d726674f","src/powerpc64/ioctl.rs":"513a1dda33b2cd6c57212263c1bf0d8d443e54af6efe75e938fd700c1ca2b630","src/powerpc64/net.rs":"0a1468b8a270470a619e492fd6c50c59ea9eeaccd1c7827a0a0d55a0ae981cd4","src/powerpc64/netlink.rs":"352a06995f7de6e4fc1c2ff54c1eccb93a3d833a923e834ec75c6a4d30ea5051","src/powerpc64/prctl.rs":"1fcccc5b6dac472a30b7701b5c9e436c238410077cfe158d600b51d55bcc074a","src/powerpc64/system.rs":"500116b7613a504ebad028cec1ba37323310e29864d885ae62191ccb1f86d333","src/riscv32/errno.rs":"db283e5ea7fb63e0f57acb241e6471a951b4218660c01ca37b80be9a53629b92","src/riscv32/general.rs":"16ffe747a8f75ac6594dc7afddef4fbb89735da50af9f19f152fd2f04b509463","src/riscv32/if_ether.rs":"aac7a069000195b9b18c6d25b2d7c338efb1062347a84e31cda7c93de374b3c6","src/riscv32/io_uring.rs":"5c67dde8fdb3641407d4ebd744171606b82596176343fe6766afd3220eda2ab1","src/riscv32/ioctl.rs":"b2a4c7d649b18a4d2a1142400de687d48c195dcf8a86b58ac261413c33809d7b","src/riscv32/net.rs":"2796ca3744e82cecd816b4d1b1fba0bcb389fbc4603e0af7b6cdc562c666b512","src/riscv32/netlink.rs":"9fc99e88df0efc15d39b397c9d653c32b4729e31a2434e730435fbdfcb362da4","src/riscv32/prctl.rs":"8df2f33387d5b4865d9417f796cc4d43b3cf549cfa41d7ce7d41dd367ed8b6c9","src/riscv32/system.rs":"a2913685b359e60bbfae413b89a6fd37ea38fa448f980ffadef42d227b33ada5","src/riscv64/errno.rs":"db283e5ea7fb63e0f57acb241e6471a951b4218660c01ca37b80be9a53629b92","src/riscv64/general.rs":"8ec4907ac81b62e21451731a468e5f4fe7a37a46d80c56b33e0969d2d059d442","src/riscv64/if_ether.rs":"a7b0918afc9dbf8e79490f83a809e4bd563af20ab2b3432d58b763ff31418daf","src/riscv64/io_uring.rs":"ef851913c86bc2d629048e781edc76b59c63e659f8bd4bcd7fa7ff982186ed6d","src/riscv64/ioctl.rs":"6f631e0ac37f2c2398168683a1523d1559b85369ffe4cdcc284ffe7455672c18","src/riscv64/net.rs":"21add3f1bfa5898d9a5ef91342f6cd94ad4585df6525b9a4cf6cdf743345a9c7","src/riscv64/netlink.rs":"789357343b94276e6f8fc8f3a32f06f3d3efd464c7850b2568dc609a49d1f305","src/riscv64/prctl.rs":"624e4d3b8f3b4f1d6dcb1540c124ed03ce47f0580aa3425c0baed431dcd267ea","src/riscv64/system.rs":"4cfcd4c28481b9ff5fc0330d5c713d637d3615c0184830d3a4391882eaed68f5","src/s390x/errno.rs":"db283e5ea7fb63e0f57acb241e6471a951b4218660c01ca37b80be9a53629b92","src/s390x/general.rs":"687f6e3d4502d31aaec08a41335b6a368f0949049875d939065a66df86e06b8a","src/s390x/if_ether.rs":"2a6b2132be1aebe126eb64ea230a82c2ab18433ece37226c9dacd81392ad6ca2","src/s390x/io_uring.rs":"57790b4ce46a4a2a87a329ff935033dfb430117bcc2154fa066c5d681f115319","src/s390x/ioctl.rs":"f806407c91520bc994c7cd638576686710700a4cfa30c8ca3f81d55ce1d6ecdd","src/s390x/net.rs":"3f89cf2040475eb446daa3f54b5cd016ca8d2d3966f02efb3f0f2f425ccc7adb","src/s390x/netlink.rs":"c3c11102a55d15dfb534d748c8bc8ece58c9d56170b6afe07d1f2cc783fd6372","src/s390x/prctl.rs":"6fe9f5349f9a694b391f309f208235c1d4669430d3f051ef64467576e91df7a1","src/s390x/system.rs":"f68e8afbd02bc87a8fec2cae4e367f296873f2c1a651032da4ccc4f1c0ed4670","src/sparc/errno.rs":"b3c5e1a6c8378d613c6ef3dd44e2199ea7455da65e83d6bb19582a79de880f80","src/sparc/general.rs":"a38a371e8ceeecc4384999b4cc8ee6d65a35a20542c96c62e04c24b2b2953858","src/sparc/if_ether.rs":"c574c6d1ea11a8bb213b18928fe2d342c897d8ff04458991a5192eb401fbbc57","src/sparc/io_uring.rs":"d813aabc93f383c8522773ed431209627d810c78bcdb4dae931a702aae55e09f","src/sparc/ioctl.rs":"b2a4c7d649b18a4d2a1142400de687d48c195dcf8a86b58ac261413c33809d7b","src/sparc/net.rs":"00115a0deec75249c34bf61c76d4a95181be21ac3a1b5200875186d5ea501dac","src/sparc/netlink.rs":"0f176c24de7b2b19ac16dd95625947b8047d48bc7b871e12a3acd31f8e97c6f5","src/sparc/prctl.rs":"5f5686fe04d8cc5e746d789340331095044f244c123ecf1468dcb089bbb931cd","src/sparc/system.rs":"6f1f8ce9978693845621880031ac4805f00027315a691cfe1d466703c7a96e8d","src/sparc64/errno.rs":"b3c5e1a6c8378d613c6ef3dd44e2199ea7455da65e83d6bb19582a79de880f80","src/sparc64/general.rs":"d4138f0e663833811365fdc2e1008525df0f21044b5e31ab80d97d63fcb9f45f","src/sparc64/if_ether.rs":"e51661cb54922c3c01853617a61b3d141768adf5b94162c4aefb326d31ef55f5","src/sparc64/io_uring.rs":"688f4678c259eb940aa0216c0183843d436b918d214e13bed56a38ddb55132db","src/sparc64/ioctl.rs":"b2a4c7d649b18a4d2a1142400de687d48c195dcf8a86b58ac261413c33809d7b","src/sparc64/net.rs":"e1b51c9efe4a00b645100f2b4aa6f2349a50627521fa020370b1bf8ab0b3a575","src/sparc64/netlink.rs":"7cec2a77af7ec17cad96d63027fd4a9164f0e6503f2e6cc2a99e79aa1bba3147","src/sparc64/prctl.rs":"ff897312b99274ce4eefecccc9797e34accc69efce1299712ab631e9542cb8ca","src/sparc64/system.rs":"becb2e706ed6df77860a2a3884b28181dca606db22fcd604a8a1803f937e8baf","src/x32/errno.rs":"db283e5ea7fb63e0f57acb241e6471a951b4218660c01ca37b80be9a53629b92","src/x32/general.rs":"c2aeaf3096d559a86d3f72e0ec4a91245edfce35e85c51b50d13e115ec357974","src/x32/if_ether.rs":"859047581be4a3ae923b88516e86230a4f9a447a5203285dd8bcc539038c5c4f","src/x32/io_uring.rs":"40834d29cf819e43a23f9a2e075e2ea0c001be817f7200aa059c24eae6d29123","src/x32/ioctl.rs":"085227ec906237903b5e8b2e90b80fd078ddb4f9e44bbd6c9bee54ea7d5d6b1a","src/x32/net.rs":"e2d77e5bbae1fb298e48382204db55e4e49de2039369e3b2b77097029006c9d1","src/x32/netlink.rs":"f74042f6cf0eabccfa6b8008a89ee7ab347fb7eaa89499757a786b13b2403982","src/x32/prctl.rs":"2d1eb6873dc5b72a8252f12e695d98a045e01026f730302a6515f53a394bba7c","src/x32/system.rs":"69c125aea6b21f2c4981f3386602283a691524671fef1da7d67de3b67fffdc42","src/x86/errno.rs":"db283e5ea7fb63e0f57acb241e6471a951b4218660c01ca37b80be9a53629b92","src/x86/general.rs":"a9b002ea136dabb9fd1c489c999cd1bfeca62490202aab095221fc70c2b6e30e","src/x86/if_ether.rs":"3873beb1f57bdcc52da345608c5deda5937d7b92b114b414ce6161784173b925","src/x86/io_uring.rs":"3f60400dfc11a5eafa5a54466f7f9ca74a63219feda2278c388529bf40c0a6a3","src/x86/ioctl.rs":"8dd0afaa7c3017c3866e579705699be75acc1a095694232b2903a12b3c07a770","src/x86/net.rs":"c79f443ab6585f81a71eff3350700ece82098264206eb79f78714153d6e43529","src/x86/netlink.rs":"2f98b8c0349c2d3d538164e4d06c28fa1fb9308f7691aa097526ce2fb3ac176f","src/x86/prctl.rs":"5477c74fec958d9f9d2028f58e95657840ead28445956e53fe0894e45922f8a5","src/x86/system.rs":"9aca94a4a553e09e6d2d43741fb8c120c05a193822e850951dc469bbd89cc703","src/x86_64/errno.rs":"db283e5ea7fb63e0f57acb241e6471a951b4218660c01ca37b80be9a53629b92","src/x86_64/general.rs":"f0c763abb8d7e7bd594c674d2774b272844829ecee4e3ed42932004616a2380e","src/x86_64/if_ether.rs":"feb5362d90fbd5113b6f1f22fcc77a7b3bb7c8f5081be7eacb2e270d2f24a293","src/x86_64/io_uring.rs":"6c008c59b6905b7872b788e30d546efa3b5bb03a0fe17e33b90bfc8beec23f29","src/x86_64/ioctl.rs":"085227ec906237903b5e8b2e90b80fd078ddb4f9e44bbd6c9bee54ea7d5d6b1a","src/x86_64/net.rs":"0f81db11e3497486f0d2022a8302716816d2442bf7ffd25fa88a25a9bdc1ca83","src/x86_64/netlink.rs":"d47b8b117007b1c29db325dad68ed1b92562b98f90916b1b192f57a935a98038","src/x86_64/prctl.rs":"6d0f63fff8d76cc2f4678f38e40a68d072d7da4094d5217ce92872370bb4df9b","src/x86_64/system.rs":"6a415f104e7dd34829b36c19ad89e0cfcfbc69a846c87f81e202411386d46966"},"package":"da2479e8c062e40bf0066ffa0bc823de0a9368974af99c9f6df941d2c231e03f"}
+\ No newline at end of file
++{"files":{"CODE_OF_CONDUCT.md":"ccd9e538ce44713a2486cc8e4c01b8c8b846d1ccff15de728d8d6fa9a7f846cd","COPYRIGHT":"3290ae0fbc9ddb77d2239121d710f0bb9d31b3b4744e6d97fe01e652b4c1870b","Cargo.toml":"0d02ea4bc018631a52900423cb7466bc905571bd1d767769739bde626360c123","LICENSE-APACHE":"a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2","LICENSE-Apache-2.0_WITH_LLVM-exception":"268872b9816f90fd8e85db5a28d33f8150ebb8dd016653fb39ef1f94f2686bc5","LICENSE-MIT":"23f18e03dc49df91622fe2a76176497404e46ced8a715d9d2b67a7446571cca3","ORG_CODE_OF_CONDUCT.md":"a62b69bf86e605ee1bcbb2f0a12ba79e4cebb6983a7b6491949750aecc4f2178","README.md":"3d4ae2ec9429adfd329b4506f7ca6faa84dca30d1c3b416f8f4e6f57bdb3aa96","src/aarch64/errno.rs":"db283e5ea7fb63e0f57acb241e6471a951b4218660c01ca37b80be9a53629b92","src/aarch64/general.rs":"0cc1ed00b1ef7efb16a7109138acdf679d591325458938cee150b221af063822","src/aarch64/if_ether.rs":"f558bfec1f5e80235db79f507e4afd3120647a5caddf17a87b7ad5540e5c1462","src/aarch64/io_uring.rs":"9ce4c9005b5b99e041b9d58be6866367605e4bee1e30a7096235cb234ed73e1b","src/aarch64/ioctl.rs":"f83af7f7cab6611c9f316b2289998d3276d844ac8f96111bc65f6c3340c3301a","src/aarch64/net.rs":"9c5fe44f91072b08899a6304cb22a51545034adde444740b67b8b310f3906a30","src/aarch64/netlink.rs":"f6642310b8bd37b5775ba1a52cfe638beddd7c880f8dfacab62c3180255fb75f","src/aarch64/prctl.rs":"a80e2f89aa978210d980538e1d9c5b922bb073d118ee51b1f14c1f397c7cd576","src/aarch64/system.rs":"851a95c0d1b76782970a28c373a313954eea0db35f6ebce562e6047095f587c4","src/arm/errno.rs":"db283e5ea7fb63e0f57acb241e6471a951b4218660c01ca37b80be9a53629b92","src/arm/general.rs":"bdbb40ba5630044c9555fe38a3640638f3ff7f437d94f82428e2bedad32e180f","src/arm/if_ether.rs":"3873beb1f57bdcc52da345608c5deda5937d7b92b114b414ce6161784173b925","src/arm/io_uring.rs":"5e2e254d5853ed30568e17fab184f8cc458607465d19dcee6c87ca1b565d6d2d","src/arm/ioctl.rs":"54cb9bdc5fe4ee7cff30e087bb0d04f1d811b55be7604bb056387f859120935a","src/arm/net.rs":"c79f443ab6585f81a71eff3350700ece82098264206eb79f78714153d6e43529","src/arm/netlink.rs":"2f98b8c0349c2d3d538164e4d06c28fa1fb9308f7691aa097526ce2fb3ac176f","src/arm/prctl.rs":"5477c74fec958d9f9d2028f58e95657840ead28445956e53fe0894e45922f8a5","src/arm/system.rs":"9aca94a4a553e09e6d2d43741fb8c120c05a193822e850951dc469bbd89cc703","src/csky/errno.rs":"db283e5ea7fb63e0f57acb241e6471a951b4218660c01ca37b80be9a53629b92","src/csky/general.rs":"94aba82d2a76a9ca272b4766f8d2f5f14e10bc2166e03d695a5b8b5d207e6755","src/csky/if_ether.rs":"aac7a069000195b9b18c6d25b2d7c338efb1062347a84e31cda7c93de374b3c6","src/csky/io_uring.rs":"bb7541d82f627cb681ea11f4e5c4162b0d0616ca08fcc6d31bcf22ef813f754d","src/csky/ioctl.rs":"77f30e67f9a4748bc31184454a0ff45fd821c3536cd98dc2411def8eeb59a268","src/csky/net.rs":"2796ca3744e82cecd816b4d1b1fba0bcb389fbc4603e0af7b6cdc562c666b512","src/csky/netlink.rs":"9fc99e88df0efc15d39b397c9d653c32b4729e31a2434e730435fbdfcb362da4","src/csky/prctl.rs":"8df2f33387d5b4865d9417f796cc4d43b3cf549cfa41d7ce7d41dd367ed8b6c9","src/csky/system.rs":"a2913685b359e60bbfae413b89a6fd37ea38fa448f980ffadef42d227b33ada5","src/elf.rs":"441bcf378b5603f957e053369d18d95c1efe981665846c220bca82123c04843a","src/lib.rs":"f3399ba35206764ac4e2d755cfc7e0c580464b8fcc76968f6c4b9f64523a1d02","src/loongarch64/errno.rs":"db283e5ea7fb63e0f57acb241e6471a951b4218660c01ca37b80be9a53629b92","src/loongarch64/general.rs":"fadd5884c6ad645300540dd30150984857819a986772fca4eba1e1fc0c3f4f1e","src/loongarch64/if_ether.rs":"a7b0918afc9dbf8e79490f83a809e4bd563af20ab2b3432d58b763ff31418daf","src/loongarch64/io_uring.rs":"ef851913c86bc2d629048e781edc76b59c63e659f8bd4bcd7fa7ff982186ed6d","src/loongarch64/ioctl.rs":"6f631e0ac37f2c2398168683a1523d1559b85369ffe4cdcc284ffe7455672c18","src/loongarch64/net.rs":"21add3f1bfa5898d9a5ef91342f6cd94ad4585df6525b9a4cf6cdf743345a9c7","src/loongarch64/netlink.rs":"789357343b94276e6f8fc8f3a32f06f3d3efd464c7850b2568dc609a49d1f305","src/loongarch64/prctl.rs":"624e4d3b8f3b4f1d6dcb1540c124ed03ce47f0580aa3425c0baed431dcd267ea","src/loongarch64/system.rs":"4cfcd4c28481b9ff5fc0330d5c713d637d3615c0184830d3a4391882eaed68f5","src/mips/errno.rs":"9ab1ed2bf371a27401745c2a6f9692f7e66dfd481d032cb40a354826d394ea8e","src/mips/general.rs":"1c16f4e0a015eaf27e9a30f4b74ec824220798f47c535d3aaf322ad799c054ab","src/mips/if_ether.rs":"1ecdc654cb3eda633bb7192829b1001a0a5ae5a126110b4208bbee5b41f87f5e","src/mips/io_uring.rs":"c69479bb1f862febe78e0989745c202146aaef7e8ceaa0d7bf291af584748992","src/mips/ioctl.rs":"f7464d2cd0548ab4735a1ca8deba47f13ea0946a9bf86adfec1a77feb3a0f475","src/mips/net.rs":"843204e91d8d6c34ddf4d29e1e822980b3e058ff7fc55ecc5f2b0fdf4a72825d","src/mips/netlink.rs":"5045dece259abaa5b5974500a20a9325e4cd6eb87c344dd7448056dff469994f","src/mips/prctl.rs":"cd59615adf6f561ef6c542df59cf25f75877693ca1c4c489f5e460eb7e798d4d","src/mips/system.rs":"acbc69a1fe7299860f8bd142bc2ff5595a410e1528994139062fc680d1a87e71","src/mips32r6/errno.rs":"9ab1ed2bf371a27401745c2a6f9692f7e66dfd481d032cb40a354826d394ea8e","src/mips32r6/general.rs":"1c16f4e0a015eaf27e9a30f4b74ec824220798f47c535d3aaf322ad799c054ab","src/mips32r6/if_ether.rs":"1ecdc654cb3eda633bb7192829b1001a0a5ae5a126110b4208bbee5b41f87f5e","src/mips32r6/io_uring.rs":"c69479bb1f862febe78e0989745c202146aaef7e8ceaa0d7bf291af584748992","src/mips32r6/ioctl.rs":"f7464d2cd0548ab4735a1ca8deba47f13ea0946a9bf86adfec1a77feb3a0f475","src/mips32r6/net.rs":"843204e91d8d6c34ddf4d29e1e822980b3e058ff7fc55ecc5f2b0fdf4a72825d","src/mips32r6/netlink.rs":"5045dece259abaa5b5974500a20a9325e4cd6eb87c344dd7448056dff469994f","src/mips32r6/prctl.rs":"cd59615adf6f561ef6c542df59cf25f75877693ca1c4c489f5e460eb7e798d4d","src/mips32r6/system.rs":"acbc69a1fe7299860f8bd142bc2ff5595a410e1528994139062fc680d1a87e71","src/mips64/errno.rs":"9ab1ed2bf371a27401745c2a6f9692f7e66dfd481d032cb40a354826d394ea8e","src/mips64/general.rs":"700b52614c604ce58aa8a5bb1ebd46221c0106ec2d8d6600d681d1594a89118a","src/mips64/if_ether.rs":"6d24518acba5bc8fa2a775d039ed9594de8349d6028621134626ccaa8ea18bcd","src/mips64/io_uring.rs":"18bd5d96c53aff44f4a37a71f16fa12c11b7c934b395bf841e47d98283146a50","src/mips64/ioctl.rs":"39f3276ec6f36ba78f5635bd418310b21bc228902d4da889fa01094c26f9b57d","src/mips64/net.rs":"e641379a7004ded90413b084504468148ecdbea4f753cbca83a4d22698cd7bab","src/mips64/netlink.rs":"18f139573337be18fb9bd56de4d0bd8af5c80828cdf68ef68751c18dcb39c761","src/mips64/prctl.rs":"a8d9ae240ce582d7b66e13937b99df73c7247ce9f69bfdd12109903d7c6dfb0e","src/mips64/system.rs":"95805c533a8eb8f53c28f138e6a2d12064681cc9db55d3042ee748c655a5d7cd","src/mips64r6/errno.rs":"9ab1ed2bf371a27401745c2a6f9692f7e66dfd481d032cb40a354826d394ea8e","src/mips64r6/general.rs":"700b52614c604ce58aa8a5bb1ebd46221c0106ec2d8d6600d681d1594a89118a","src/mips64r6/if_ether.rs":"6d24518acba5bc8fa2a775d039ed9594de8349d6028621134626ccaa8ea18bcd","src/mips64r6/io_uring.rs":"18bd5d96c53aff44f4a37a71f16fa12c11b7c934b395bf841e47d98283146a50","src/mips64r6/ioctl.rs":"39f3276ec6f36ba78f5635bd418310b21bc228902d4da889fa01094c26f9b57d","src/mips64r6/net.rs":"e641379a7004ded90413b084504468148ecdbea4f753cbca83a4d22698cd7bab","src/mips64r6/netlink.rs":"18f139573337be18fb9bd56de4d0bd8af5c80828cdf68ef68751c18dcb39c761","src/mips64r6/prctl.rs":"a8d9ae240ce582d7b66e13937b99df73c7247ce9f69bfdd12109903d7c6dfb0e","src/mips64r6/system.rs":"95805c533a8eb8f53c28f138e6a2d12064681cc9db55d3042ee748c655a5d7cd","src/powerpc/errno.rs":"db283e5ea7fb63e0f57acb241e6471a951b4218660c01ca37b80be9a53629b92","src/powerpc/general.rs":"7940ad742585d501f4742af51c6310ecf651863a8aaa0305193e9c8ee07aca90","src/powerpc/if_ether.rs":"56ab5fbf8c9d0dd0654412fabdca6759cbb421a876e5cebe2fec10e25728b55c","src/powerpc/io_uring.rs":"38ead79180c96e8af69929dacbc36e8cfbccec96875c61f094e531e6860639db","src/powerpc/ioctl.rs":"513a1dda33b2cd6c57212263c1bf0d8d443e54af6efe75e938fd700c1ca2b630","src/powerpc/net.rs":"b0228b15161fb750596d6e7e8e612381d9cf2acfed208715b93e8bb4b3340dc7","src/powerpc/netlink.rs":"4f10870fbd23de17efd4cba6d5a40ba85564effc5d0b71f9d7f928a42cb77b20","src/powerpc/prctl.rs":"f236987bc8ae993ab2b0e88b2eacbae51eee4da170ac075552070a76c717d803","src/powerpc/system.rs":"3e01e5e145adb87263f04c9e053faac0c0758689fd32917d2c7c2eec1d89f9e6","src/powerpc64/errno.rs":"db283e5ea7fb63e0f57acb241e6471a951b4218660c01ca37b80be9a53629b92","src/powerpc64/general.rs":"7862eb3dfac845331b624b3322bdeb3441bb86e914719e125dd5dc7b3860db43","src/powerpc64/if_ether.rs":"15e12d56b1367cb5c9d8fd1b9995acf1429a923bf603698bd732efe1acc30cd6","src/powerpc64/io_uring.rs":"50018e504d78c584beaec3b1a6d477d30d566d25cb1a40b0a2adfb23d726674f","src/powerpc64/ioctl.rs":"513a1dda33b2cd6c57212263c1bf0d8d443e54af6efe75e938fd700c1ca2b630","src/powerpc64/net.rs":"0a1468b8a270470a619e492fd6c50c59ea9eeaccd1c7827a0a0d55a0ae981cd4","src/powerpc64/netlink.rs":"352a06995f7de6e4fc1c2ff54c1eccb93a3d833a923e834ec75c6a4d30ea5051","src/powerpc64/prctl.rs":"1fcccc5b6dac472a30b7701b5c9e436c238410077cfe158d600b51d55bcc074a","src/powerpc64/system.rs":"500116b7613a504ebad028cec1ba37323310e29864d885ae62191ccb1f86d333","src/riscv32/errno.rs":"db283e5ea7fb63e0f57acb241e6471a951b4218660c01ca37b80be9a53629b92","src/riscv32/general.rs":"16ffe747a8f75ac6594dc7afddef4fbb89735da50af9f19f152fd2f04b509463","src/riscv32/if_ether.rs":"aac7a069000195b9b18c6d25b2d7c338efb1062347a84e31cda7c93de374b3c6","src/riscv32/io_uring.rs":"5c67dde8fdb3641407d4ebd744171606b82596176343fe6766afd3220eda2ab1","src/riscv32/ioctl.rs":"6f631e0ac37f2c2398168683a1523d1559b85369ffe4cdcc284ffe7455672c18","src/riscv32/net.rs":"2796ca3744e82cecd816b4d1b1fba0bcb389fbc4603e0af7b6cdc562c666b512","src/riscv32/netlink.rs":"9fc99e88df0efc15d39b397c9d653c32b4729e31a2434e730435fbdfcb362da4","src/riscv32/prctl.rs":"8df2f33387d5b4865d9417f796cc4d43b3cf549cfa41d7ce7d41dd367ed8b6c9","src/riscv32/system.rs":"a2913685b359e60bbfae413b89a6fd37ea38fa448f980ffadef42d227b33ada5","src/riscv64/errno.rs":"db283e5ea7fb63e0f57acb241e6471a951b4218660c01ca37b80be9a53629b92","src/riscv64/general.rs":"8ec4907ac81b62e21451731a468e5f4fe7a37a46d80c56b33e0969d2d059d442","src/riscv64/if_ether.rs":"a7b0918afc9dbf8e79490f83a809e4bd563af20ab2b3432d58b763ff31418daf","src/riscv64/io_uring.rs":"ef851913c86bc2d629048e781edc76b59c63e659f8bd4bcd7fa7ff982186ed6d","src/riscv64/ioctl.rs":"6f631e0ac37f2c2398168683a1523d1559b85369ffe4cdcc284ffe7455672c18","src/riscv64/net.rs":"21add3f1bfa5898d9a5ef91342f6cd94ad4585df6525b9a4cf6cdf743345a9c7","src/riscv64/netlink.rs":"789357343b94276e6f8fc8f3a32f06f3d3efd464c7850b2568dc609a49d1f305","src/riscv64/prctl.rs":"624e4d3b8f3b4f1d6dcb1540c124ed03ce47f0580aa3425c0baed431dcd267ea","src/riscv64/system.rs":"4cfcd4c28481b9ff5fc0330d5c713d637d3615c0184830d3a4391882eaed68f5","src/s390x/errno.rs":"db283e5ea7fb63e0f57acb241e6471a951b4218660c01ca37b80be9a53629b92","src/s390x/general.rs":"687f6e3d4502d31aaec08a41335b6a368f0949049875d939065a66df86e06b8a","src/s390x/if_ether.rs":"2a6b2132be1aebe126eb64ea230a82c2ab18433ece37226c9dacd81392ad6ca2","src/s390x/io_uring.rs":"57790b4ce46a4a2a87a329ff935033dfb430117bcc2154fa066c5d681f115319","src/s390x/ioctl.rs":"f806407c91520bc994c7cd638576686710700a4cfa30c8ca3f81d55ce1d6ecdd","src/s390x/net.rs":"3f89cf2040475eb446daa3f54b5cd016ca8d2d3966f02efb3f0f2f425ccc7adb","src/s390x/netlink.rs":"c3c11102a55d15dfb534d748c8bc8ece58c9d56170b6afe07d1f2cc783fd6372","src/s390x/prctl.rs":"6fe9f5349f9a694b391f309f208235c1d4669430d3f051ef64467576e91df7a1","src/s390x/system.rs":"f68e8afbd02bc87a8fec2cae4e367f296873f2c1a651032da4ccc4f1c0ed4670","src/sparc/errno.rs":"b3c5e1a6c8378d613c6ef3dd44e2199ea7455da65e83d6bb19582a79de880f80","src/sparc/general.rs":"a38a371e8ceeecc4384999b4cc8ee6d65a35a20542c96c62e04c24b2b2953858","src/sparc/if_ether.rs":"c574c6d1ea11a8bb213b18928fe2d342c897d8ff04458991a5192eb401fbbc57","src/sparc/io_uring.rs":"d813aabc93f383c8522773ed431209627d810c78bcdb4dae931a702aae55e09f","src/sparc/ioctl.rs":"b2a4c7d649b18a4d2a1142400de687d48c195dcf8a86b58ac261413c33809d7b","src/sparc/net.rs":"00115a0deec75249c34bf61c76d4a95181be21ac3a1b5200875186d5ea501dac","src/sparc/netlink.rs":"0f176c24de7b2b19ac16dd95625947b8047d48bc7b871e12a3acd31f8e97c6f5","src/sparc/prctl.rs":"5f5686fe04d8cc5e746d789340331095044f244c123ecf1468dcb089bbb931cd","src/sparc/system.rs":"6f1f8ce9978693845621880031ac4805f00027315a691cfe1d466703c7a96e8d","src/sparc64/errno.rs":"b3c5e1a6c8378d613c6ef3dd44e2199ea7455da65e83d6bb19582a79de880f80","src/sparc64/general.rs":"d4138f0e663833811365fdc2e1008525df0f21044b5e31ab80d97d63fcb9f45f","src/sparc64/if_ether.rs":"e51661cb54922c3c01853617a61b3d141768adf5b94162c4aefb326d31ef55f5","src/sparc64/io_uring.rs":"688f4678c259eb940aa0216c0183843d436b918d214e13bed56a38ddb55132db","src/sparc64/ioctl.rs":"b2a4c7d649b18a4d2a1142400de687d48c195dcf8a86b58ac261413c33809d7b","src/sparc64/net.rs":"e1b51c9efe4a00b645100f2b4aa6f2349a50627521fa020370b1bf8ab0b3a575","src/sparc64/netlink.rs":"7cec2a77af7ec17cad96d63027fd4a9164f0e6503f2e6cc2a99e79aa1bba3147","src/sparc64/prctl.rs":"ff897312b99274ce4eefecccc9797e34accc69efce1299712ab631e9542cb8ca","src/sparc64/system.rs":"becb2e706ed6df77860a2a3884b28181dca606db22fcd604a8a1803f937e8baf","src/x32/errno.rs":"db283e5ea7fb63e0f57acb241e6471a951b4218660c01ca37b80be9a53629b92","src/x32/general.rs":"c2aeaf3096d559a86d3f72e0ec4a91245edfce35e85c51b50d13e115ec357974","src/x32/if_ether.rs":"859047581be4a3ae923b88516e86230a4f9a447a5203285dd8bcc539038c5c4f","src/x32/io_uring.rs":"40834d29cf819e43a23f9a2e075e2ea0c001be817f7200aa059c24eae6d29123","src/x32/ioctl.rs":"085227ec906237903b5e8b2e90b80fd078ddb4f9e44bbd6c9bee54ea7d5d6b1a","src/x32/net.rs":"e2d77e5bbae1fb298e48382204db55e4e49de2039369e3b2b77097029006c9d1","src/x32/netlink.rs":"f74042f6cf0eabccfa6b8008a89ee7ab347fb7eaa89499757a786b13b2403982","src/x32/prctl.rs":"2d1eb6873dc5b72a8252f12e695d98a045e01026f730302a6515f53a394bba7c","src/x32/system.rs":"69c125aea6b21f2c4981f3386602283a691524671fef1da7d67de3b67fffdc42","src/x86/errno.rs":"db283e5ea7fb63e0f57acb241e6471a951b4218660c01ca37b80be9a53629b92","src/x86/general.rs":"a9b002ea136dabb9fd1c489c999cd1bfeca62490202aab095221fc70c2b6e30e","src/x86/if_ether.rs":"3873beb1f57bdcc52da345608c5deda5937d7b92b114b414ce6161784173b925","src/x86/io_uring.rs":"3f60400dfc11a5eafa5a54466f7f9ca74a63219feda2278c388529bf40c0a6a3","src/x86/ioctl.rs":"8dd0afaa7c3017c3866e579705699be75acc1a095694232b2903a12b3c07a770","src/x86/net.rs":"c79f443ab6585f81a71eff3350700ece82098264206eb79f78714153d6e43529","src/x86/netlink.rs":"2f98b8c0349c2d3d538164e4d06c28fa1fb9308f7691aa097526ce2fb3ac176f","src/x86/prctl.rs":"5477c74fec958d9f9d2028f58e95657840ead28445956e53fe0894e45922f8a5","src/x86/system.rs":"9aca94a4a553e09e6d2d43741fb8c120c05a193822e850951dc469bbd89cc703","src/x86_64/errno.rs":"db283e5ea7fb63e0f57acb241e6471a951b4218660c01ca37b80be9a53629b92","src/x86_64/general.rs":"f0c763abb8d7e7bd594c674d2774b272844829ecee4e3ed42932004616a2380e","src/x86_64/if_ether.rs":"feb5362d90fbd5113b6f1f22fcc77a7b3bb7c8f5081be7eacb2e270d2f24a293","src/x86_64/io_uring.rs":"6c008c59b6905b7872b788e30d546efa3b5bb03a0fe17e33b90bfc8beec23f29","src/x86_64/ioctl.rs":"085227ec906237903b5e8b2e90b80fd078ddb4f9e44bbd6c9bee54ea7d5d6b1a","src/x86_64/net.rs":"0f81db11e3497486f0d2022a8302716816d2442bf7ffd25fa88a25a9bdc1ca83","src/x86_64/netlink.rs":"d47b8b117007b1c29db325dad68ed1b92562b98f90916b1b192f57a935a98038","src/x86_64/prctl.rs":"6d0f63fff8d76cc2f4678f38e40a68d072d7da4094d5217ce92872370bb4df9b","src/x86_64/system.rs":"6a415f104e7dd34829b36c19ad89e0cfcfbc69a846c87f81e202411386d46966"},"package":"da2479e8c062e40bf0066ffa0bc823de0a9368974af99c9f6df941d2c231e03f"}
diff --git a/meta/recipes-devtools/rust/files/rv32-rustix-libc-backend.patch b/meta/recipes-devtools/rust/files/rv32-rustix-libc-backend.patch
new file mode 100644
index 0000000000..7e99b50834
--- /dev/null
+++ b/meta/recipes-devtools/rust/files/rv32-rustix-libc-backend.patch
@@ -0,0 +1,32 @@
+Use FICLONE from linux_raw_sys module
+
+Upstream-Status: Pending
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+--- a/vendor/rustix/src/backend/libc/c.rs
++++ b/vendor/rustix/src/backend/libc/c.rs
+@@ -6,6 +6,8 @@
+ // things below.
+ pub(crate) use libc::*;
+
++use linux_raw_sys::ioctl::FICLONE;
++
+ /// `PROC_SUPER_MAGIC`—The magic number for the procfs filesystem.
+ #[cfg(all(linux_kernel, target_env = "musl"))]
+ pub(crate) const PROC_SUPER_MAGIC: u32 = 0x0000_9fa0;
+--- a/vendor/rustix/.cargo-checksum.json
++++ b/vendor/rustix/.cargo-checksum.json
+@@ -1 +1 @@
+-{"files":{"CODE_OF_CONDUCT.md":"f210602311e3f74b32f46237fd55f4ce36d798e85e3db1432ec667f63a7ffc44","CONTRIBUTING.md":"3fd57de5c678db1c972da676a8231d2fde9820695ef1f0d53f1e55a3e81d9de0","COPYRIGHT":"377c2e7c53250cc5905c0b0532d35973392af16ffb9596a41d99d202cf3617c9","Cargo.toml":"5a6eafc41863c968362a1b8424dd0a5e1ce6502496b2999ef97ceac81f30fbcd","LICENSE-APACHE":"a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2","LICENSE-Apache-2.0_WITH_LLVM-exception":"268872b9816f90fd8e85db5a28d33f8150ebb8dd016653fb39ef1f94f2686bc5","LICENSE-MIT":"23f18e03dc49df91622fe2a76176497404e46ced8a715d9d2b67a7446571cca3","ORG_CODE_OF_CONDUCT.md":"a62b69bf86e605ee1bcbb2f0a12ba79e4cebb6983a7b6491949750aecc4f2178","README.md":"0acc443488c1d6f7a0a80a91385d06c7a1920c1f5c847214dd6c23a6bd027f75","SECURITY.md":"4d75afb09dd28eb5982e3a1f768ee398d90204669ceef3240a16b31dcf04148a","benches/mod.rs":"e260e67273aa0a37cffdc5cd451699335b8ee656c17275a0d0f2b4563c6018ca","build.rs":"5f93559819ca7fe233f01579d51ff5b58cb6e96ef9e7817a3358a9b410d5bbf6","src/backend/libc/c.rs":"9a929ab2bff99843e8c663b92b93def5c752e96d2e6228520cb50eeec483586b","src/backend/libc/conv.rs":"b66d080db3a4c2756fe722462b543982bf88e5bc8071b9dc98d28ec2aee3dbfc","src/backend/libc/event/epoll.rs":"b6f00ec602f9a6b9a2b7a66a242efda088b67ed66053692dcbba683df4fdaf19","src/backend/libc/event/mod.rs":"7f8547c599b8263eb791890bbe4a0b22fe2676d007ffdcc3e07b2e48d1c994db","src/backend/libc/event/poll_fd.rs":"1186dd69fc78d474975f1b8c55c9dd261229cb0c53a0dd2a88754ef62529a917","src/backend/libc/event/syscalls.rs":"295a930521b345192caaf916b39189299f81f5f7c9f1aaed235baf3bf6f2f5fa","src/backend/libc/event/types.rs":"e81130bc07e8f762ea2942bca1bde048ade0df24aac619907f3055d2dda7d522","src/backend/libc/event/windows_syscalls.rs":"ebfac665c6676c4b803134ab8806be8aa2e96bdbc7799a19c544cd9069b35787","src/backend/libc/fs/dir.rs":"71332c794f4e2438e7c700a0d2206fe0088cf98473030e3f8ccddf252ad7f5b2","src/backend/libc/fs/inotify.rs":"a027a718db8bf6ff9a778c2cfa706850b466240b0a2296d72b9834c0096968e8","src/backend/libc/fs/makedev.rs":"89c679a0ef18dd41b3c6223bce0f329ad35bf6cadbf16e47b33fad3f312ba4a6","src/backend/libc/fs/mod.rs":"3d28b803011b57da6315bb747daf0117218687c0cc610358f5dafddf0b7d44d3","src/backend/libc/fs/syscalls.rs":"229d1c27d53bfbd35310b05aaf8b3307d6b6e9948faf0655713bc662f901bd02","src/backend/libc/fs/types.rs":"ca25c8271e1fd2ff6c28082884ca112fd5e0523b2aa3cd289cd9a399c962a172","src/backend/libc/io/errno.rs":"d33978855c2e0e97d5e1f7a04ab10894f9f2c3e329e949f259a757f89942074e","src/backend/libc/io/mod.rs":"746647bd864e4ec7717925b6d176cebdb392b7d015070244cc48d92780351dd6","src/backend/libc/io/syscalls.rs":"cbd9e9db566597de0a709247c8ba3bd1e6ce266a128d639273353c706f0592b7","src/backend/libc/io/types.rs":"2efd39bb3df19a9db5496217284f3d2235ddb354fac81dd71861109a56bede0b","src/backend/libc/io/windows_syscalls.rs":"fab3fa099aa89cea56a6edc651dd37750e581534f4f45b04a7e425f130b08468","src/backend/libc/io_uring/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/libc/io_uring/syscalls.rs":"5af8146d5971c833e6fd657f652c618b31f854e1b0811864fba9b658cb633e19","src/backend/libc/mm/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/libc/mm/syscalls.rs":"c04c61ad3d7f3b24d13f89144d7fa0a05658cea4763207f9250db4f9362de2fe","src/backend/libc/mm/types.rs":"48406d44d79b102ae9d17860749611d26c1f04e3630e9680dfcb20e2efc148a8","src/backend/libc/mod.rs":"778083f85aaca00aa5c8ec36b541e0e8a3e693660a6acf4722b4508f015c278c","src/backend/libc/mount/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/libc/mount/syscalls.rs":"1bc87501a078616d0190d2e85de55f3f968b8cb79d49bd9eb839a350eed26089","src/backend/libc/mount/types.rs":"1b0d527ae5a272ae441fa35192616a867090204404324a341a7864ae1f5ea3fd","src/backend/libc/net/addr.rs":"9bdc2febb20785bc26a820eaba52cb546c67c79cb547f08105087cd0f79d5861","src/backend/libc/net/ext.rs":"0dd64877abe1ba86b47a2ab34340e3f6cc7b53b22d0bb5e237daf6a82edd46b0","src/backend/libc/net/mod.rs":"5f0bd80a6575aba4a714443ca99af76ad15b053f1f8029aa1d9c7fa10e6d9242","src/backend/libc/net/msghdr.rs":"64825203c09cb60ac4e869cd27a44697f1efe53455c41684279d50d8f0a96701","src/backend/libc/net/read_sockaddr.rs":"b1a72b7bd56cd152ed0731f571e4d9411b2974f860fc045319dc74b5b077e569","src/backend/libc/net/send_recv.rs":"1450ca958431a5bf3a85cdeef88b387f30d5c1215de2c56d164ccda38f21b36c","src/backend/libc/net/sockopt.rs":"178a6622bab25bf1813d6c17151f48d820e238db8cbd05be3aae563902d6c53e","src/backend/libc/net/syscalls.rs":"1c703ea3d7a1d0bfa43ffe07425882f310260589d513e1a936de434fa653cf3a","src/backend/libc/net/write_sockaddr.rs":"6f06f6cf6089fbc43f93f4f3830468735c92277595769867cb6c89e1fe1c299a","src/backend/libc/param/auxv.rs":"fc9476c85482b1d44190289224ccf40c96fbf3a2fe3d8554ddb42acb2e97a8ae","src/backend/libc/param/mod.rs":"5234b8f1bcb886cca6ea003d411d75eaeebe58deedd80e3441354bf46ed85d4d","src/backend/libc/pid/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/libc/pid/syscalls.rs":"49ea679b96c0741d048e82964038f9a931bc3cf3a0b59c7db3df89629b9c49e6","src/backend/libc/pipe/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/libc/pipe/syscalls.rs":"8affde100f6a9dfc762b79d1e48be5c1039be414f8ef7d5a6acaba882a68d259","src/backend/libc/pipe/types.rs":"bcf2751691748b5084a6d8d8851b496bc2ee9011fc1c717839b09b07d423eb7f","src/backend/libc/prctl/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/libc/prctl/syscalls.rs":"8a2684f444a7555098dce2b92270d81cefdae902716c6e5d59bd7b0657e8a29d","src/backend/libc/process/cpu_set.rs":"b3d36b01b53b0b6c61a20ed8a69d48eccdd90cc17f82f2926ef1e844f002d0b7","src/backend/libc/process/mod.rs":"3f376060815d2ed78081ddf6fb0cddc97dff5dac2f4934f0672cb09736e16377","src/backend/libc/process/syscalls.rs":"278c87df6321cad2bd37049a7cfeecad7dd54f5e3a8449368da4c3409637e6af","src/backend/libc/process/types.rs":"c011d60d93130e1233ee1d69de1e834a6ce05628220a1c0bea9b5c6eb4c853a2","src/backend/libc/process/wait.rs":"0cc556aed976b4bbb3965f74fd76b8216c755fce25043b7b21ce54afa07c9773","src/backend/libc/pty/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/libc/pty/syscalls.rs":"699a4c325fc590b8b5dabfe5a9ff386809be14dd24bf35aa6ef581b2bd75457b","src/backend/libc/rand/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/libc/rand/syscalls.rs":"78c7201e6bcb75e9cab9486d1878861319f865de2b2c46437be68690bd17bf13","src/backend/libc/rand/types.rs":"4eb0b4cdd0a9b089d1c9f6a25ad1ca97be28a38b7b07a705ec605b773f63f880","src/backend/libc/shm/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/libc/shm/syscalls.rs":"60d797d4e85e08e6330e6b8d80094356ce377e5484952f88ae2a6e49231c268c","src/backend/libc/shm/types.rs":"2206eac8ee74951b995e1e80f10bf235cc6b04e0a099f4adefce546378838233","src/backend/libc/system/mod.rs":"38563ea68829ca5a4b1b0695ac8a5c05718e85bdc88a36dc805efdfce45d3909","src/backend/libc/system/syscalls.rs":"abe1093f3495668d8576ae55073c74976cffb04d2e1bc20583d7ec12ac848b06","src/backend/libc/system/types.rs":"6871e16aee14fe2ae03cea798c3e509ffe44778a9c0e5608fd73e2e015876d7e","src/backend/libc/termios/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/libc/termios/syscalls.rs":"77c4c6fdfe036251ee1540df5b398a38d87597a5e7e94abaf9b983419ae4ca24","src/backend/libc/thread/futex.rs":"b666828653b12634bbd7fd709acf69641b648ec40962a1d4f904c5db14d2eff5","src/backend/libc/thread/mod.rs":"fa710053974d7f16a6c49242ee6c10a3b9e1143452b9daeaed8837302a679fff","src/backend/libc/thread/syscalls.rs":"c8e84ad232ec1317be989529c24e204c51bb4e1e0212de2c1937b00bc92e5483","src/backend/libc/time/mod.rs":"38563ea68829ca5a4b1b0695ac8a5c05718e85bdc88a36dc805efdfce45d3909","src/backend/libc/time/syscalls.rs":"f82e0725c5af8a52e61ee83aad2c77694f2f7a72ac1e6eb284109a70ac6edc38","src/backend/libc/time/types.rs":"47ab4178a51c246ecc5f2a2fcca7f6ad9c8a1a45d11dadcb95ee0e4f82e8dfe2","src/backend/libc/ugid/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/libc/ugid/syscalls.rs":"8edf91b8790add23902c9f5418da6b0723a371677f29f490e0c8af852f0f1a0c","src/backend/libc/winsock_c.rs":"3bf3884fd250eca806ffdf96da68e29c133a697810b78b333ea449e523e58562","src/backend/linux_raw/arch/aarch64.rs":"2a255c9135bc8a321c180f52b88eb2b158bc9170cd222149caeae63c24587d44","src/backend/linux_raw/arch/arm.rs":"165bccb5883d0136e55d42091183765f83d86e9d37a7cb2cec9ae8af32774db6","src/backend/linux_raw/arch/mips.rs":"24af364aa93fd4b9917639d473336490a143f0d1723b09f388e72d534160ee51","src/backend/linux_raw/arch/mips32r6.rs":"e436a2ade34f2f7c58b8924462b07a2499dfc951e1e1318d51759444fb8b658e","src/backend/linux_raw/arch/mips64.rs":"897da9ddc877963ad59464d7f81dc59df8a7e91251e6adea14cfd946e2740a1c","src/backend/linux_raw/arch/mips64r6.rs":"3c08aea13c1139fb0dfbe74ca3d0147f007c3aa2eda641afb82c46f6aa4f6cd1","src/backend/linux_raw/arch/mod.rs":"37eaeea601d39be00d170856a31a8ec6a27b0d3ac22ab3ee642ab0e45dee237d","src/backend/linux_raw/arch/powerpc64.rs":"dfb001f8636a5e46d728900b0804fe6c374e5e18a6f0e76d7d62e0c07da74477","src/backend/linux_raw/arch/riscv64.rs":"41d33242d941030f46077dc2b1bc4c7913fe7630d693a5a7eef966bcf38f9d8b","src/backend/linux_raw/arch/thumb.rs":"2fd979ab421248c0a4c592bc0cefee63edc26528f469b71b63eaed35356e42e8","src/backend/linux_raw/arch/x86.rs":"81c73c0a13925854b54db754f533dec565b1db2d9586e210a2450c6f5915171d","src/backend/linux_raw/arch/x86_64.rs":"e929036a1f3cf93ba538f4523b241605cc7b5e61f84ffe6d9d5cdbcb6f73e543","src/backend/linux_raw/c.rs":"74cdf34fcd5bba9628c04585fa13721073e2bffe6740315c7655d1a55150230f","src/backend/linux_raw/conv.rs":"fd339c2e78e6470cb03614540bea2958eec83f1b6cbecc68696a2d2061365f90","src/backend/linux_raw/event/epoll.rs":"4ae8f9de28c6875ab29cde7da9b4b01a6578e905c7a0e0b461d26025cb24ab52","src/backend/linux_raw/event/mod.rs":"72e46b04637e2d1d2a6b97af616144995399e489d1fe916faf835d72fc8c64cd","src/backend/linux_raw/event/poll_fd.rs":"fe1c289980384edf7334a4afe92f92cb6f51b7c0431ecb19930426a3bdb89fa5","src/backend/linux_raw/event/syscalls.rs":"8782cdf978bff0773bf5f35c1056d5c29a40742cf6f99d9606d951b52596cd34","src/backend/linux_raw/event/types.rs":"9538403f2e2c5ffcc939769d83fbfcc2db03874b45c36a2858ba07a05a3e3635","src/backend/linux_raw/fs/dir.rs":"c675dc5413428d2defd6752e99d210da83639779e853db209de6a1c08d35e0e7","src/backend/linux_raw/fs/inotify.rs":"9fc5edea36e347041a39e583cb473dd84af40c63fff3dfbb85a1a97d2833d8e5","src/backend/linux_raw/fs/makedev.rs":"c6b4505c4bcbbc2460e80f3097eb15e2c8ef38d6c6e7abd78e39c53c372139e2","src/backend/linux_raw/fs/mod.rs":"8689e46f9c4c3e1190ae5fe39176c573cccac10b3739472128ca237f41e2686a","src/backend/linux_raw/fs/syscalls.rs":"a4512f58e2ef01bf0799c96fa7821284866b6826594642565f46d93e566e2e12","src/backend/linux_raw/fs/types.rs":"ccbce0b7971064c71b16a341b7f39bf2c375262ea199d6fcf9d1b073b032ccf1","src/backend/linux_raw/io/errno.rs":"2681fe1f7da132414606a7c0dbc1c2cbc43e45f326f00d06cdff51d9724c8c5e","src/backend/linux_raw/io/mod.rs":"7ae2324427892cca6f5ab53858d847b165f790a72ec25f3d99fb15f0506c9f27","src/backend/linux_raw/io/syscalls.rs":"831ce424f0032e6891d46503e972313fd7a46f15cb2fbb1f87e40fb05a018e9a","src/backend/linux_raw/io/types.rs":"d0df5a62248e1ba19af0f89f86da7ba2312d97065c2814ddf6b08a4a0db23bad","src/backend/linux_raw/io_uring/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/linux_raw/io_uring/syscalls.rs":"0f7c9cb7ccddf5687e4b9e5b23558871a452a29ac6095a0184a06c47b9b18eb6","src/backend/linux_raw/mm/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/linux_raw/mm/syscalls.rs":"ac77ee94bb26bc959d3b077ef60e72863ef845c1438646b61755bdb861467bc6","src/backend/linux_raw/mm/types.rs":"46abdd2492301b7fe542ea3949eef2cfe28959cdd1f571ee1350e35b6517349b","src/backend/linux_raw/mod.rs":"bb26fe4783f834a4624c99ecf9e4ea8fa4d1c7fe9adfb6d7310fac689e7797bc","src/backend/linux_raw/mount/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/linux_raw/mount/syscalls.rs":"3947261b5d46b9737f02dc5352c3a3a35c63c461fd75bcd8ae6619dfc0bfb54d","src/backend/linux_raw/mount/types.rs":"af364e3f054b0fa55562827944235055beb752716347645cd1775d1a4d5615c1","src/backend/linux_raw/net/addr.rs":"fbb6c071a8ebc2c557c7013d36d4b540c1ff6ed63103d0a8abcacd8977fbf5c8","src/backend/linux_raw/net/mod.rs":"904b2ccd4228ebcda25db0223b92fb03e4042bcc7b0a202f19410a8a5ff517a5","src/backend/linux_raw/net/msghdr.rs":"a88e8395dd5a25c103dc2172d4e7013e5104a6d70091ad78efd286ebc8284acf","src/backend/linux_raw/net/read_sockaddr.rs":"4ab5d470f03f19a928327603e1d55de8b9e21cbe4bfc6ed65d856803092b1c90","src/backend/linux_raw/net/send_recv.rs":"6d5d2aec61a3c1b4a5fef1a8a487dc8e163da8988d1237541ed008baa01128cc","src/backend/linux_raw/net/sockopt.rs":"2ea8625ecd68a799c14ed48dec2f3e01f085222b6cc36f4916b20143e08ae575","src/backend/linux_raw/net/syscalls.rs":"b231754af1c94f61d206839b45f51516e0210761bbbcc1ef68c1fe6fc8a1bbbb","src/backend/linux_raw/net/write_sockaddr.rs":"a9374256cb47b3f4d5fec308986a109ce51a521abab31590df1f66c04c07d437","src/backend/linux_raw/param/auxv.rs":"c6a74c0b41aa28c850a80aad7cbad677df65c1f3eb78415872f6f3d1166716f4","src/backend/linux_raw/param/init.rs":"a5024f9afe361884f22fb4d65e632ccd8a60f1138ff6bd526df600d40e0d9b7e","src/backend/linux_raw/param/libc_auxv.rs":"167621c0b1bfd06c91c1201e9404d6624aa0a702ade17c6e37d9370c636be589","src/backend/linux_raw/param/mod.rs":"2e6a1a1c00351b9c88bd615aa923f71d76208df5626dd9bea03067f28f81dc31","src/backend/linux_raw/pid/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/linux_raw/pid/syscalls.rs":"eef6aa01830ddd510b83f507da2002c03e58318b73744be2c06ebbe33c4f194f","src/backend/linux_raw/pipe/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/linux_raw/pipe/syscalls.rs":"366c730fc3e991bddb9f5a15b8c3917a8e6ace6d1d5a9113b2749e476faf6f83","src/backend/linux_raw/pipe/types.rs":"caee78eaf13af02e5c4024c7459f23287dfd2c544ebab1dc5f728106fafe24da","src/backend/linux_raw/prctl/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/linux_raw/prctl/syscalls.rs":"a18b224307e0d27bda9b7b85c75cd6c7ddfe39f5ce52efb7bb0bf0585b757343","src/backend/linux_raw/process/cpu_set.rs":"dfdcbdf35aff6a3e08e7d38193bf18c12ca8aa64eb0dc417667be82dcc0f7c55","src/backend/linux_raw/process/mod.rs":"fb393c70a9c63ef9a6bf1fb5a2dc94f07d6b0b6987cc5231c15c607015dafd68","src/backend/linux_raw/process/syscalls.rs":"a2e446ba4e09727d11fc3b3d4bb316a659399aad186c08aa5bba80e62741265a","src/backend/linux_raw/process/types.rs":"6811ba822bc12a1a6336649151b4adb1f5d3365684a31c07f01953ea9547743d","src/backend/linux_raw/process/wait.rs":"921aee4b0048746087f52615a98edc2aa0fb4b53d6df44be4533098df55d1b05","src/backend/linux_raw/pty/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/linux_raw/pty/syscalls.rs":"ae09c4aecc0ae87b1ca58d82efc58007b9dddaae78460d615f48da19d1cd0f89","src/backend/linux_raw/rand/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/linux_raw/rand/syscalls.rs":"a84f70251672e92f253838bf05e989434f67373233e88d21d8835cbb792b1fe3","src/backend/linux_raw/rand/types.rs":"a21dbb1ab31eed6b59a57520be5a3c603c36d18ea74e67f7527f40835ba209a3","src/backend/linux_raw/reg.rs":"def5f88730bd625b2298c86559b5a378fce4bf6ce225204740ba087e034abce6","src/backend/linux_raw/runtime/mod.rs":"b2cae8cce3822c3c92942f06ea0b68464040dcac33c6f0f7ee392c6269993347","src/backend/linux_raw/runtime/syscalls.rs":"90849c8e429f215c225d430e7f550b5da0bb96054ef01745d3184f6c890ba8cf","src/backend/linux_raw/runtime/tls.rs":"6316060560a112c2e9cd9807cdba6e8c91414113a04a739160929ae9a67bba1f","src/backend/linux_raw/shm/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/linux_raw/shm/syscalls.rs":"3ebf91610b02de0312e1f0f0cc5d56e12b4d93794540087b3182cbdf3cb9c8db","src/backend/linux_raw/shm/types.rs":"b831b474aba7eb97167c9289f5257776a72b39134b44e67a0ecfcef2394dcd47","src/backend/linux_raw/system/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/linux_raw/system/syscalls.rs":"2af6c2672a6528b404b52f501d9803a63e9f47886d3b5d2d2dc5a71cefa7327a","src/backend/linux_raw/system/types.rs":"1ceab8d738a71043473b26e97fa3fd79d588a86d4774cbc9b9e1d4f1447a016e","src/backend/linux_raw/termios/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/linux_raw/termios/syscalls.rs":"151f03b938aec36a38fbf4e4b507ddc84d0999a246ee48abd5893464daa736a8","src/backend/linux_raw/thread/futex.rs":"0aa0f9f5be6a79de81e82c9f11f1bf8831f682a4b2f6cb29669e1591636f084e","src/backend/linux_raw/thread/mod.rs":"6ad4a4b90b9234e79900b27ebbe8837e3a7a36aec532912e3e253edce5225067","src/backend/linux_raw/thread/syscalls.rs":"0e3dca63be7322e1e9c58456b28eb8548abb9f08b4436b87b139e891c01c446d","src/backend/linux_raw/time/mod.rs":"672724f55b7b7be6a7452bb1cc2d28b5f0aaa840a2856fe363acce624e1beefc","src/backend/linux_raw/time/syscalls.rs":"451da0bbb66accdf58ee7f2f8746a93b22ee985907a08717a3d3b1650457d878","src/backend/linux_raw/time/types.rs":"028d2993df8fffe5581f7082b8849381bb21928930dc93e4a536a9c7a316c71d","src/backend/linux_raw/ugid/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/linux_raw/ugid/syscalls.rs":"8c86d251db33b399a1d1cbb8e87afe650b78db84f444d3251309b7a0480b54f7","src/backend/linux_raw/vdso.rs":"056314f72c71d4b041739337ca2098afb7fe070f844327f462c293f43481b75b","src/backend/linux_raw/vdso_wrappers.rs":"3bec7ee7daacc93b26c15e829e3ecdea62f9fc62244841ec80ee47a55806a69e","src/bitcast.rs":"e21c87c292c781b27256c6f5dcf9fd52dd69ed6e21016cbd67ac31a8219ebf8e","src/check_types.rs":"e52f710e1cfc12ca13a495f2b43c227b293ff295e1ce3ab332935b28a7579872","src/clockid.rs":"e41172c87401ef7b8ad37ec09b5b690c55c51b37009414a2089b34dcac9d93a9","src/cstr.rs":"41af2a4429fe6c67a8883f8a8f63d66c90df566abda74fd2b03bcef7b9f24218","src/event/eventfd.rs":"81cbd08f7bdf40a6ce1ca692b63da1dc8ba925282990668d9d68f1203e839fa1","src/event/kqueue.rs":"222842df22e66f41d93dacd3cba933810d9313d5ca9959fddabedda9c4312bf2","src/event/mod.rs":"326a7ddfeb33bb95dd31391d65f400fa622e5d0ab827c096cab16af4b6843b51","src/event/poll.rs":"0ee583dbd457a573a82a06c04a2a24bd2c76e751d27a435507d55338e2871327","src/event/port.rs":"4e51ff150e5d17cbd44aa64a38b99c15e26eaaf2e350768b5dcacdfde4fa5212","src/ffi.rs":"c2b8b38c02d72749aceb715c496726caba1f1fa989ad3856d0103a2fafed89ed","src/fs/abs.rs":"10e1a148a5b05476efbb591dcc969c1a6caf3d2d9592741eef22341a97c8f4a3","src/fs/at.rs":"a12f382f7b544ae4bbb7a967de43178dad796e05fd6eb8136e1a34236b48f9dc","src/fs/constants.rs":"23923e0fce3221bdac371fe2d05028f30a87dba4f9b4a573b69dc2d6d39320b2","src/fs/copy_file_range.rs":"d3b644374390d482b2ff749a2459458872b57d0dcf9670368739b7833509a7c2","src/fs/cwd.rs":"9f429a79ace6e17455634da09216ee0ad3d067a4541518b3193ae6a8d9ff1e26","src/fs/dir.rs":"347a52f4ca9ac6321c52e802e97ec90d1b4c62ec955c8996fc17f8f5aed69966","src/fs/fadvise.rs":"1220e2cf5cf58fc7cc950d48738050a052c504f745ca67130daa6410e248230a","src/fs/fcntl.rs":"1d1ee1e0bc962779e1cc1b8b76f39c820746240557daa9e14b47b1799120dc39","src/fs/fcntl_apple.rs":"e2f23f038083621bcdecc98d02ce1023508afaecdb2ed0fba5c8b70f955301e5","src/fs/fcopyfile.rs":"ce565f61e1fbf2e31086077c2f1d01b6bb3b048915edda87fe9a4a4f5e8ff7e4","src/fs/fd.rs":"fe53f211e91352d522ac4f3b553a9366506458e2158295a93c5e746618f7a5fe","src/fs/getpath.rs":"28f6970fc1bbc37bb35c84724b59eac436ea7407a4522e18c2bdacb1fdd2edd9","src/fs/id.rs":"1b5c8a8baf9a9bb1f895f97189cea4e5982a0d35b192afeec6340a6c6222e0cb","src/fs/ioctl.rs":"e798eb41bbc201c375bc295ad2928c2467b45b4fbbff3c82236dccbc0d6391a5","src/fs/makedev.rs":"85520b484cb7c15ab71ea1c368578ea3b7e484d82f8510db92b6ce9f7ca341ae","src/fs/memfd_create.rs":"00df492a3afdfc65a07d6849422596bf6cd4608a653d5d25ba54d6640eacda11","src/fs/mod.rs":"2192ea7f6f81a18d892d3526df00c43d83669f1a1734957ba94cf8269980792e","src/fs/mount.rs":"8f6ea2b997dd83c50c90291b9ada3ed77a9ce1ad701c9b0d533b5113b317be5b","src/fs/openat2.rs":"4a95c15dab533a41201b5fa25c8a212956b7571d58cad696bdaf45af8aef96db","src/fs/raw_dir.rs":"18ad797876d6230c38d4cacbed081c4028e03ace477d0520d9b226b40de942f0","src/fs/seek_from.rs":"a9efa0feb9ac789cf47667e91efee2e3f2dcde16cb3b7a928c99da640fa0e0d6","src/fs/sendfile.rs":"e3b2058741cf4b1698f34d84bb37130cf2b72806d522a16fe541e832cde136cb","src/fs/statx.rs":"f925be3d9a179a903549b3ac18038d004f4f2021e46dad4aa2757907aebefeca","src/fs/sync.rs":"a3b23543834281f347b0f873bd38154d31d404871188ac08f2b20b9196234cfd","src/fs/xattr.rs":"5e222adb52caf69d949ab3f944fb2a482dd6ca3a47200532ca6e72d44cbe8334","src/io/close.rs":"0aa3cd05a8fed8e5244f97b8b6c2e7f65ed93a4e5435c6329852bb3da7514440","src/io/dup.rs":"bbebf4633120e21c7c49ecb93576cffa7e908f8089deb260f8d97426b469a0d4","src/io/errno.rs":"58a4d20ba0924e4d514e3c876fbe08982f1623187642ae14780815e65989c8c8","src/io/fcntl.rs":"5b7696e40757615940745ecc7f33d84678d24f55eba978a8efdd0805cba7b1c1","src/io/ioctl.rs":"3dffbda413fd380f1580e2e75c531a5f4a0487417ea1c235c23fe46b70e46bd9","src/io/is_read_write.rs":"1bfb9ee5d58e0b29b44af12fe2668c7bccc841358698dcde47f1519ff9bb73b4","src/io/mod.rs":"75f1d0646be1d4c7c08b5887d8119b0103be8c25c43ccd4e0e97015508c0bb8f","src/io/read_write.rs":"77b8058769dc0bf5a88d73acd7ce70af1a89c549b00b790e281dc20364bcb6af","src/io_uring.rs":"4e641c9aaeba14890e4a354ad8b1fda8fe617923b4d3d685da22721d66a14bdf","src/ioctl/bsd.rs":"e33772530b1b2d1e7d61ce53d9267e68d88f7f5df13301f90412d89a46c6faaa","src/ioctl/linux.rs":"96df90bbc926783f387e8fe1656841d4c7a857fd4e9f41f95492f7dcece33074","src/ioctl/mod.rs":"d2233ba2a81738828d28d4297f8dafaf254c475174de48bd0fe3891d29a71bfe","src/ioctl/patterns.rs":"af24c47597e619a8e0fd3ca071f21db1963a629b511d9279ef9d36a8030a6fe8","src/lib.rs":"ee2b60b7b29c9f4e0f474534a76961c2ce5c9f3640eea67fa395e633b64efa6e","src/maybe_polyfill/no_std/io/mod.rs":"77889bb5c5a4f2e50e38379cdaa5d0fef4b0cafc3da056735df01f6deae75747","src/maybe_polyfill/no_std/mod.rs":"ec94a4aab4bc475785e469d10fd6bc95667e1d47d958e9cff3a19049d88c8c80","src/maybe_polyfill/no_std/net/ip_addr.rs":"046327ee244f758f2bc31d3be305d8cd0dfd8342aac1add8259e999b4b46c4a7","src/maybe_polyfill/no_std/net/mod.rs":"486555be5c56cf3e049e65a1ea73aa60839c6f6ca667833e88ee4f360f9606dd","src/maybe_polyfill/no_std/net/socket_addr.rs":"bfeb32d32c176cde76323abcffebfc47e9898fb8d7ce3668c602dc8451086a2d","src/maybe_polyfill/no_std/os/fd/mod.rs":"27ef0afbcb0695cbb15101070f417eb51e0ef85ae66ec967d95e80771d507c47","src/maybe_polyfill/no_std/os/fd/owned.rs":"ab86ffa2693a04f3085770faf395f95e5303001711be8b19c44a47a0ac574091","src/maybe_polyfill/no_std/os/fd/raw.rs":"f3648c7bd4a6ff94bd823ed9e0d99d398e02f24875cf9b25962736999e7c6943","src/maybe_polyfill/no_std/os/mod.rs":"27dab639a765827644005d5f2fcc7c825310606b889cc8dd83f54c9528350dc0","src/maybe_polyfill/no_std/os/windows/io/mod.rs":"5bbcc05c83fee5026dd744a994e0458469466d5be39081baa62df07753b92fd2","src/maybe_polyfill/no_std/os/windows/io/raw.rs":"4c32609a489dd938a49328b5637cb3bafb96437f2f9f269ab66d7d3cb90247f6","src/maybe_polyfill/no_std/os/windows/io/socket.rs":"c658f42f24eff44a661f2adfd24a11af80fe9897f3e2af4dc5d2c64808308d65","src/maybe_polyfill/no_std/os/windows/mod.rs":"fdb416f8f231a4e778b5f985b9ae712ece5e1a1402963ad1a5f6a8b9843795f4","src/maybe_polyfill/std/mod.rs":"7c16c86cc73e226e65ead598e4018238b22000a345040b706bf1e1b3eba115fc","src/mm/madvise.rs":"69481cd3354dbffe6cd93b234448e59de6d0fe6440bcf8b12f951f37745bc1dc","src/mm/mmap.rs":"8cd1a8278e138d0805726474bb3016fdaa09a8074bbc8f20d1e842e7fc17efa3","src/mm/mod.rs":"b3a6cb838986d45825b912355cedead761211a494ca6f89b2367a2d2157e340e","src/mm/msync.rs":"a9092be024ecbfa9c14edb935404513498b0da2ac6c99fc31fe4e58196a95f02","src/mm/userfaultfd.rs":"8073443bd181ff0b3ba4d0b1ae67370b4864035a0c8b4898cd709dc47c518ae7","src/mount/fsopen.rs":"160e384e9175fd98669cda1cf3590bb195c2ba7e1c724e9ea06e692595e58ba1","src/mount/mod.rs":"5f0c9df4727592695deb1cd63ae1de021b03dcd9d0d1b68e1f34d12a7136cb19","src/mount/mount_unmount.rs":"8ad11675e5d762d33fbefbed06a6a9f9e52a9b689bd06662446152614321ab77","src/mount/types.rs":"601ae3e10b7dc496fed7f3b40a80e81c6edd7bf13189d7be45c3212d4c684c39","src/net/mod.rs":"a6bc55f9e086caf46a7c00783498d73a328a66f2a991f1ec65d5f13931377b0f","src/net/send_recv/mod.rs":"7b77a70c0ad2601b5da30e8b202e34c6bfc9e10df4ce2b1a35b111522ae123a3","src/net/send_recv/msg.rs":"f100a88648b9eba88272aca77d76351432636022a1d4b0e9485e002a3489d05a","src/net/socket.rs":"1296706d964d110be7cd46b61a0a06dabf382a2377907ba41badfe94807cb50f","src/net/socket_addr_any.rs":"a9af81e967a91b45e51aec4f46a068fade7035c5d19dfaf05bfdcd3b3c32e9bf","src/net/socketpair.rs":"56f4885c31d2664cd16e18a9a88792a4912fedd953cec36dba67e8581fd57921","src/net/sockopt.rs":"4f00ff76d3cd3fd2e915f51eba59827fb60885d6b0c6d37b32ca4306cb8fe836","src/net/types.rs":"35878a8ff12cd7252ed735cb640bad03e4e13c6016769c2d154c0fab08505248","src/net/wsa.rs":"6e546b42f50a851fc833c57cda76cfb347203ed4b0dea574a3d325bf5a2ebf80","src/param/auxv.rs":"8602af47a39bb340d319807bdecdb9be8b467101a9ed96061277b90234801913","src/param/init.rs":"a31c0e5cea61a1a999767fe74f87c0d59eeb6bce66578b842fe0e0c32be27a55","src/param/mod.rs":"25b10acd5b1da8faa6f5204e6b0379b38bfab667916e886cca64bea01a42dec2","src/path/arg.rs":"d87117157ec21f61a5e50b2779b4284fd13dd7db11b20a6bc9e475d0e4a25357","src/path/dec_int.rs":"8ff8e14442c46f8e7a9b80d73973619b4271549b9defd538479bf8c2d93aa72e","src/path/mod.rs":"6b1b949c94bcc47e0f08a3f8e8db5b61ff497d0dfd3e0655f51c01d3e4b7dfd6","src/pid.rs":"f1c486000c5b1311b2d720cee88f089c17ef9a171709673dd06e6f35f4ff98a3","src/pipe.rs":"cec0a831237ab2652556b149767d1b382e9739a1bb21ea401a35b36df7f7a3e7","src/prctl.rs":"19aa584895874ea48b9bbe1bf695b81257b0281df64dfdd91e1b4bfa298661b7","src/process/chdir.rs":"911216459aa429fe9f125f1357d6900b43b0007835b85c719875d00f79a74664","src/process/chroot.rs":"2b5f6124eb19f26ad2705174f7ad50cdc0a5d15abd59ffcf55421228d82130b4","src/process/exit.rs":"48de66e5504a00cb375d8f415ce63b6225a3f5204268d40726a7d0fbba43f587","src/process/id.rs":"e4733f9e8e4b5f50e98ef7a23802e126f1f14ece8b3d7ae7446c6a66affc6bc1","src/process/ioctl.rs":"23ad0285671e8d7ca71a63c50655dbf732ccea8af11d754a0558e0236db37e76","src/process/kill.rs":"96d5ce432c19cf2b600d5248c681c117abf53ae94bbfca7e75ac533a40e3968e","src/process/membarrier.rs":"1c4c39b359d1d0e9bbe16352eedfca9278d9ef298ade8ec00e998617bbcbfed8","src/process/mod.rs":"70e7fc79e4edf3ffd56c20643707cafdc595330db68e4ff8f75dcb3756ad5b1d","src/process/pidfd.rs":"39de2dc7919eeeb53a5980622616140327671cd7e36bcf597aee1749df3a5b5b","src/process/pidfd_getfd.rs":"1faace75bdbcda57a296806dcfa5487811f8d11dad9e6199c98df72feae66724","src/process/prctl.rs":"0130d05362a17a9282f3391189095e1f4f51fb56d7a5205906a0011842df4576","src/process/priority.rs":"f135482e71ea8aa0daf92b9f238051178a4c904070fa8409622f94155df3c544","src/process/procctl.rs":"430ec397782772d5a028903c2813d3e11f7e577af144b9effd9c42629ac8d3d2","src/process/rlimit.rs":"10b79de3ced0e64059a94c879742d46a35a6176c776d8eed75031d5e6340283d","src/process/sched.rs":"b49ef463f44b5e90a04e9a08569d0ae20eecb8667f38f31c786df1eb099db466","src/process/sched_yield.rs":"6565faa3928b66ddc74a65e893e15edfa4b9be4f7e5f5f68527501a7f6bc3350","src/process/umask.rs":"1a0f31a842303c978e3f05ec191e2b5e96104c09c6596473b42b1fac34898a50","src/process/wait.rs":"612920489b5618bf82a9a615947e0acbed6eb310acbb9bb70e934d457dd1dd49","src/procfs.rs":"63b286dd3302be7f426841eb3b9261ef4785c3159ed78c24734bd5094c9b0b2e","src/pty.rs":"652c412e7280d0344b3f9bfe376c106a7f1b42b898b7af344e6e72da268e2bf0","src/rand/getrandom.rs":"1c8166a02a74f5593bb4673ef907524df04cbc1568020a5ab2ff7f4aa1283f8b","src/rand/mod.rs":"cab59332aadd9b679f5b22cbb222d48ee028af5eb9fd4a4d43922da659b895d7","src/runtime.rs":"695e60b9cc22755ce0e653fd63a0c73024a14eb8f576c6071dad6806c32f5552","src/shm.rs":"b96fe8a05ee5d4536464a8843a776d43a938abaf22c772fc35b5373d95644a8d","src/signal.rs":"a294b49d487dafaa42e534f8b1d93e87bec135087676b2ba2ef865cf2fccdaf2","src/static_assertions.rs":"504cf66f0d5b8e335be02f9ae8b0a355abc98c2c82eec0098bdf0988e662e260","src/stdio.rs":"a5de2d7d9c3c5a901f88b6acf4754687c958a2f3a93c7945c2b8fcb948d468af","src/system.rs":"4d7d1eff18094ec85a8ead70a7ccbe8ef78fd7f5705b7dfe3fa52541e9494887","src/termios/ioctl.rs":"a1ac967f7811a482f8bb53847c37c8359f518cd26da9df7b816ba678a0139623","src/termios/mod.rs":"b44b7caa60b6f458657ed58a0e0eca41bb4e6d6be4b0f042bbb8ab7056cebe4b","src/termios/tc.rs":"e41312d15464b83b2457c2502fc3f3b9998cfb02ba68739026dd4285cc7130ac","src/termios/tty.rs":"35a5fc2d26501e0e6dde1a755eeccf7b4f3b4702c5bac30e0953220808ef7034","src/termios/types.rs":"38167a38fb83e84f2845f86b373ecaaa3ebf6c2f91dccd07c10539201d6f5070","src/thread/clock.rs":"f49eb7271eb3e6831d9b0c3a01bfddbe4bd69dee237bbaa059884de452b29e79","src/thread/futex.rs":"985f9a0dce1e2a4892ae7f26bd1bf119ceae3f9fa6b4707e166624fc1cee76d4","src/thread/id.rs":"ad72db4fea9fccb728310bbfd01ef8c00f6cc60fa2a750f6349646a134f7009b","src/thread/libcap.rs":"4c51b7df566d38dd0f85f81ef53279a745a39f0f4e1154791fd38438e2ca7db1","src/thread/mod.rs":"98634ece0b882f123ad887017692f2a4d94a23a1dec278ed660b3497cac5cceb","src/thread/prctl.rs":"6caec7eb4fe122e80ba1ecafc56b710c79ab8b3c97529d5beba74d87af356875","src/thread/setns.rs":"ea9142b1f3a5b3f329683be185f960c50e5c1636149e91fbf59e88a897fc607d","src/time/clock.rs":"e59a29f1bed8c31c3d5b6fad60f2d4fa6cab8dd8e86148bb3693a5e3a1ce735f","src/time/mod.rs":"43afee938c80d124d04d4ba190c03f4d21d1e3bfc154fff309211e4f6eabe940","src/time/timerfd.rs":"f17092b84553741aa2d2b44c6992b5d2c8c96cc2c2007fc9a2c6b2064485e53f","src/timespec.rs":"32a4d930cbc0f6dbd23153290db920671cf4ce65a4a127e176f897c1cde42d7d","src/ugid.rs":"6616c6e35b7e43aee5b150f1efae7a50711e0947943c9a96833dbe214ad9e85f","src/utils.rs":"9ae76f8a41d6cc350cdd58c9084b5c3a5a708eeecd769783debdbcbaef442182","src/weak.rs":"c7cf03bf2aeba494b1999ab32183fa8c603ab72e254c0e312a67f168877e410d"},"package":"2b426b0506e5d50a7d8dafcf2e81471400deb602392c7dd110815afb4eaf02a3"}
+\ No newline at end of file
++{"files":{"CODE_OF_CONDUCT.md":"f210602311e3f74b32f46237fd55f4ce36d798e85e3db1432ec667f63a7ffc44","CONTRIBUTING.md":"3fd57de5c678db1c972da676a8231d2fde9820695ef1f0d53f1e55a3e81d9de0","COPYRIGHT":"377c2e7c53250cc5905c0b0532d35973392af16ffb9596a41d99d202cf3617c9","Cargo.toml":"5a6eafc41863c968362a1b8424dd0a5e1ce6502496b2999ef97ceac81f30fbcd","LICENSE-APACHE":"a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2","LICENSE-Apache-2.0_WITH_LLVM-exception":"268872b9816f90fd8e85db5a28d33f8150ebb8dd016653fb39ef1f94f2686bc5","LICENSE-MIT":"23f18e03dc49df91622fe2a76176497404e46ced8a715d9d2b67a7446571cca3","ORG_CODE_OF_CONDUCT.md":"a62b69bf86e605ee1bcbb2f0a12ba79e4cebb6983a7b6491949750aecc4f2178","README.md":"0acc443488c1d6f7a0a80a91385d06c7a1920c1f5c847214dd6c23a6bd027f75","SECURITY.md":"4d75afb09dd28eb5982e3a1f768ee398d90204669ceef3240a16b31dcf04148a","benches/mod.rs":"e260e67273aa0a37cffdc5cd451699335b8ee656c17275a0d0f2b4563c6018ca","build.rs":"5f93559819ca7fe233f01579d51ff5b58cb6e96ef9e7817a3358a9b410d5bbf6","src/backend/libc/c.rs":"92d9c17e26569a9d09cd05a83a06df514ffbb02795765fc8bb0d74bda7711a51","src/backend/libc/conv.rs":"b66d080db3a4c2756fe722462b543982bf88e5bc8071b9dc98d28ec2aee3dbfc","src/backend/libc/event/epoll.rs":"b6f00ec602f9a6b9a2b7a66a242efda088b67ed66053692dcbba683df4fdaf19","src/backend/libc/event/mod.rs":"7f8547c599b8263eb791890bbe4a0b22fe2676d007ffdcc3e07b2e48d1c994db","src/backend/libc/event/poll_fd.rs":"1186dd69fc78d474975f1b8c55c9dd261229cb0c53a0dd2a88754ef62529a917","src/backend/libc/event/syscalls.rs":"295a930521b345192caaf916b39189299f81f5f7c9f1aaed235baf3bf6f2f5fa","src/backend/libc/event/types.rs":"e81130bc07e8f762ea2942bca1bde048ade0df24aac619907f3055d2dda7d522","src/backend/libc/event/windows_syscalls.rs":"ebfac665c6676c4b803134ab8806be8aa2e96bdbc7799a19c544cd9069b35787","src/backend/libc/fs/dir.rs":"71332c794f4e2438e7c700a0d2206fe0088cf98473030e3f8ccddf252ad7f5b2","src/backend/libc/fs/inotify.rs":"a027a718db8bf6ff9a778c2cfa706850b466240b0a2296d72b9834c0096968e8","src/backend/libc/fs/makedev.rs":"89c679a0ef18dd41b3c6223bce0f329ad35bf6cadbf16e47b33fad3f312ba4a6","src/backend/libc/fs/mod.rs":"3d28b803011b57da6315bb747daf0117218687c0cc610358f5dafddf0b7d44d3","src/backend/libc/fs/syscalls.rs":"229d1c27d53bfbd35310b05aaf8b3307d6b6e9948faf0655713bc662f901bd02","src/backend/libc/fs/types.rs":"ca25c8271e1fd2ff6c28082884ca112fd5e0523b2aa3cd289cd9a399c962a172","src/backend/libc/io/errno.rs":"d33978855c2e0e97d5e1f7a04ab10894f9f2c3e329e949f259a757f89942074e","src/backend/libc/io/mod.rs":"746647bd864e4ec7717925b6d176cebdb392b7d015070244cc48d92780351dd6","src/backend/libc/io/syscalls.rs":"cbd9e9db566597de0a709247c8ba3bd1e6ce266a128d639273353c706f0592b7","src/backend/libc/io/types.rs":"2efd39bb3df19a9db5496217284f3d2235ddb354fac81dd71861109a56bede0b","src/backend/libc/io/windows_syscalls.rs":"fab3fa099aa89cea56a6edc651dd37750e581534f4f45b04a7e425f130b08468","src/backend/libc/io_uring/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/libc/io_uring/syscalls.rs":"5af8146d5971c833e6fd657f652c618b31f854e1b0811864fba9b658cb633e19","src/backend/libc/mm/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/libc/mm/syscalls.rs":"c04c61ad3d7f3b24d13f89144d7fa0a05658cea4763207f9250db4f9362de2fe","src/backend/libc/mm/types.rs":"48406d44d79b102ae9d17860749611d26c1f04e3630e9680dfcb20e2efc148a8","src/backend/libc/mod.rs":"778083f85aaca00aa5c8ec36b541e0e8a3e693660a6acf4722b4508f015c278c","src/backend/libc/mount/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/libc/mount/syscalls.rs":"1bc87501a078616d0190d2e85de55f3f968b8cb79d49bd9eb839a350eed26089","src/backend/libc/mount/types.rs":"1b0d527ae5a272ae441fa35192616a867090204404324a341a7864ae1f5ea3fd","src/backend/libc/net/addr.rs":"9bdc2febb20785bc26a820eaba52cb546c67c79cb547f08105087cd0f79d5861","src/backend/libc/net/ext.rs":"0dd64877abe1ba86b47a2ab34340e3f6cc7b53b22d0bb5e237daf6a82edd46b0","src/backend/libc/net/mod.rs":"5f0bd80a6575aba4a714443ca99af76ad15b053f1f8029aa1d9c7fa10e6d9242","src/backend/libc/net/msghdr.rs":"64825203c09cb60ac4e869cd27a44697f1efe53455c41684279d50d8f0a96701","src/backend/libc/net/read_sockaddr.rs":"b1a72b7bd56cd152ed0731f571e4d9411b2974f860fc045319dc74b5b077e569","src/backend/libc/net/send_recv.rs":"1450ca958431a5bf3a85cdeef88b387f30d5c1215de2c56d164ccda38f21b36c","src/backend/libc/net/sockopt.rs":"178a6622bab25bf1813d6c17151f48d820e238db8cbd05be3aae563902d6c53e","src/backend/libc/net/syscalls.rs":"1c703ea3d7a1d0bfa43ffe07425882f310260589d513e1a936de434fa653cf3a","src/backend/libc/net/write_sockaddr.rs":"6f06f6cf6089fbc43f93f4f3830468735c92277595769867cb6c89e1fe1c299a","src/backend/libc/param/auxv.rs":"fc9476c85482b1d44190289224ccf40c96fbf3a2fe3d8554ddb42acb2e97a8ae","src/backend/libc/param/mod.rs":"5234b8f1bcb886cca6ea003d411d75eaeebe58deedd80e3441354bf46ed85d4d","src/backend/libc/pid/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/libc/pid/syscalls.rs":"49ea679b96c0741d048e82964038f9a931bc3cf3a0b59c7db3df89629b9c49e6","src/backend/libc/pipe/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/libc/pipe/syscalls.rs":"8affde100f6a9dfc762b79d1e48be5c1039be414f8ef7d5a6acaba882a68d259","src/backend/libc/pipe/types.rs":"bcf2751691748b5084a6d8d8851b496bc2ee9011fc1c717839b09b07d423eb7f","src/backend/libc/prctl/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/libc/prctl/syscalls.rs":"8a2684f444a7555098dce2b92270d81cefdae902716c6e5d59bd7b0657e8a29d","src/backend/libc/process/cpu_set.rs":"b3d36b01b53b0b6c61a20ed8a69d48eccdd90cc17f82f2926ef1e844f002d0b7","src/backend/libc/process/mod.rs":"3f376060815d2ed78081ddf6fb0cddc97dff5dac2f4934f0672cb09736e16377","src/backend/libc/process/syscalls.rs":"278c87df6321cad2bd37049a7cfeecad7dd54f5e3a8449368da4c3409637e6af","src/backend/libc/process/types.rs":"c011d60d93130e1233ee1d69de1e834a6ce05628220a1c0bea9b5c6eb4c853a2","src/backend/libc/process/wait.rs":"0cc556aed976b4bbb3965f74fd76b8216c755fce25043b7b21ce54afa07c9773","src/backend/libc/pty/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/libc/pty/syscalls.rs":"699a4c325fc590b8b5dabfe5a9ff386809be14dd24bf35aa6ef581b2bd75457b","src/backend/libc/rand/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/libc/rand/syscalls.rs":"78c7201e6bcb75e9cab9486d1878861319f865de2b2c46437be68690bd17bf13","src/backend/libc/rand/types.rs":"4eb0b4cdd0a9b089d1c9f6a25ad1ca97be28a38b7b07a705ec605b773f63f880","src/backend/libc/shm/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/libc/shm/syscalls.rs":"60d797d4e85e08e6330e6b8d80094356ce377e5484952f88ae2a6e49231c268c","src/backend/libc/shm/types.rs":"2206eac8ee74951b995e1e80f10bf235cc6b04e0a099f4adefce546378838233","src/backend/libc/system/mod.rs":"38563ea68829ca5a4b1b0695ac8a5c05718e85bdc88a36dc805efdfce45d3909","src/backend/libc/system/syscalls.rs":"abe1093f3495668d8576ae55073c74976cffb04d2e1bc20583d7ec12ac848b06","src/backend/libc/system/types.rs":"6871e16aee14fe2ae03cea798c3e509ffe44778a9c0e5608fd73e2e015876d7e","src/backend/libc/termios/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/libc/termios/syscalls.rs":"77c4c6fdfe036251ee1540df5b398a38d87597a5e7e94abaf9b983419ae4ca24","src/backend/libc/thread/futex.rs":"b666828653b12634bbd7fd709acf69641b648ec40962a1d4f904c5db14d2eff5","src/backend/libc/thread/mod.rs":"fa710053974d7f16a6c49242ee6c10a3b9e1143452b9daeaed8837302a679fff","src/backend/libc/thread/syscalls.rs":"c8e84ad232ec1317be989529c24e204c51bb4e1e0212de2c1937b00bc92e5483","src/backend/libc/time/mod.rs":"38563ea68829ca5a4b1b0695ac8a5c05718e85bdc88a36dc805efdfce45d3909","src/backend/libc/time/syscalls.rs":"f82e0725c5af8a52e61ee83aad2c77694f2f7a72ac1e6eb284109a70ac6edc38","src/backend/libc/time/types.rs":"47ab4178a51c246ecc5f2a2fcca7f6ad9c8a1a45d11dadcb95ee0e4f82e8dfe2","src/backend/libc/ugid/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/libc/ugid/syscalls.rs":"8edf91b8790add23902c9f5418da6b0723a371677f29f490e0c8af852f0f1a0c","src/backend/libc/winsock_c.rs":"3bf3884fd250eca806ffdf96da68e29c133a697810b78b333ea449e523e58562","src/backend/linux_raw/arch/aarch64.rs":"2a255c9135bc8a321c180f52b88eb2b158bc9170cd222149caeae63c24587d44","src/backend/linux_raw/arch/arm.rs":"165bccb5883d0136e55d42091183765f83d86e9d37a7cb2cec9ae8af32774db6","src/backend/linux_raw/arch/mips.rs":"24af364aa93fd4b9917639d473336490a143f0d1723b09f388e72d534160ee51","src/backend/linux_raw/arch/mips32r6.rs":"e436a2ade34f2f7c58b8924462b07a2499dfc951e1e1318d51759444fb8b658e","src/backend/linux_raw/arch/mips64.rs":"897da9ddc877963ad59464d7f81dc59df8a7e91251e6adea14cfd946e2740a1c","src/backend/linux_raw/arch/mips64r6.rs":"3c08aea13c1139fb0dfbe74ca3d0147f007c3aa2eda641afb82c46f6aa4f6cd1","src/backend/linux_raw/arch/mod.rs":"37eaeea601d39be00d170856a31a8ec6a27b0d3ac22ab3ee642ab0e45dee237d","src/backend/linux_raw/arch/powerpc64.rs":"dfb001f8636a5e46d728900b0804fe6c374e5e18a6f0e76d7d62e0c07da74477","src/backend/linux_raw/arch/riscv64.rs":"41d33242d941030f46077dc2b1bc4c7913fe7630d693a5a7eef966bcf38f9d8b","src/backend/linux_raw/arch/thumb.rs":"2fd979ab421248c0a4c592bc0cefee63edc26528f469b71b63eaed35356e42e8","src/backend/linux_raw/arch/x86.rs":"81c73c0a13925854b54db754f533dec565b1db2d9586e210a2450c6f5915171d","src/backend/linux_raw/arch/x86_64.rs":"e929036a1f3cf93ba538f4523b241605cc7b5e61f84ffe6d9d5cdbcb6f73e543","src/backend/linux_raw/c.rs":"74cdf34fcd5bba9628c04585fa13721073e2bffe6740315c7655d1a55150230f","src/backend/linux_raw/conv.rs":"fd339c2e78e6470cb03614540bea2958eec83f1b6cbecc68696a2d2061365f90","src/backend/linux_raw/event/epoll.rs":"4ae8f9de28c6875ab29cde7da9b4b01a6578e905c7a0e0b461d26025cb24ab52","src/backend/linux_raw/event/mod.rs":"72e46b04637e2d1d2a6b97af616144995399e489d1fe916faf835d72fc8c64cd","src/backend/linux_raw/event/poll_fd.rs":"fe1c289980384edf7334a4afe92f92cb6f51b7c0431ecb19930426a3bdb89fa5","src/backend/linux_raw/event/syscalls.rs":"8782cdf978bff0773bf5f35c1056d5c29a40742cf6f99d9606d951b52596cd34","src/backend/linux_raw/event/types.rs":"9538403f2e2c5ffcc939769d83fbfcc2db03874b45c36a2858ba07a05a3e3635","src/backend/linux_raw/fs/dir.rs":"c675dc5413428d2defd6752e99d210da83639779e853db209de6a1c08d35e0e7","src/backend/linux_raw/fs/inotify.rs":"9fc5edea36e347041a39e583cb473dd84af40c63fff3dfbb85a1a97d2833d8e5","src/backend/linux_raw/fs/makedev.rs":"c6b4505c4bcbbc2460e80f3097eb15e2c8ef38d6c6e7abd78e39c53c372139e2","src/backend/linux_raw/fs/mod.rs":"8689e46f9c4c3e1190ae5fe39176c573cccac10b3739472128ca237f41e2686a","src/backend/linux_raw/fs/syscalls.rs":"a4512f58e2ef01bf0799c96fa7821284866b6826594642565f46d93e566e2e12","src/backend/linux_raw/fs/types.rs":"ccbce0b7971064c71b16a341b7f39bf2c375262ea199d6fcf9d1b073b032ccf1","src/backend/linux_raw/io/errno.rs":"2681fe1f7da132414606a7c0dbc1c2cbc43e45f326f00d06cdff51d9724c8c5e","src/backend/linux_raw/io/mod.rs":"7ae2324427892cca6f5ab53858d847b165f790a72ec25f3d99fb15f0506c9f27","src/backend/linux_raw/io/syscalls.rs":"831ce424f0032e6891d46503e972313fd7a46f15cb2fbb1f87e40fb05a018e9a","src/backend/linux_raw/io/types.rs":"d0df5a62248e1ba19af0f89f86da7ba2312d97065c2814ddf6b08a4a0db23bad","src/backend/linux_raw/io_uring/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/linux_raw/io_uring/syscalls.rs":"0f7c9cb7ccddf5687e4b9e5b23558871a452a29ac6095a0184a06c47b9b18eb6","src/backend/linux_raw/mm/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/linux_raw/mm/syscalls.rs":"ac77ee94bb26bc959d3b077ef60e72863ef845c1438646b61755bdb861467bc6","src/backend/linux_raw/mm/types.rs":"46abdd2492301b7fe542ea3949eef2cfe28959cdd1f571ee1350e35b6517349b","src/backend/linux_raw/mod.rs":"bb26fe4783f834a4624c99ecf9e4ea8fa4d1c7fe9adfb6d7310fac689e7797bc","src/backend/linux_raw/mount/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/linux_raw/mount/syscalls.rs":"3947261b5d46b9737f02dc5352c3a3a35c63c461fd75bcd8ae6619dfc0bfb54d","src/backend/linux_raw/mount/types.rs":"af364e3f054b0fa55562827944235055beb752716347645cd1775d1a4d5615c1","src/backend/linux_raw/net/addr.rs":"fbb6c071a8ebc2c557c7013d36d4b540c1ff6ed63103d0a8abcacd8977fbf5c8","src/backend/linux_raw/net/mod.rs":"904b2ccd4228ebcda25db0223b92fb03e4042bcc7b0a202f19410a8a5ff517a5","src/backend/linux_raw/net/msghdr.rs":"a88e8395dd5a25c103dc2172d4e7013e5104a6d70091ad78efd286ebc8284acf","src/backend/linux_raw/net/read_sockaddr.rs":"4ab5d470f03f19a928327603e1d55de8b9e21cbe4bfc6ed65d856803092b1c90","src/backend/linux_raw/net/send_recv.rs":"6d5d2aec61a3c1b4a5fef1a8a487dc8e163da8988d1237541ed008baa01128cc","src/backend/linux_raw/net/sockopt.rs":"2ea8625ecd68a799c14ed48dec2f3e01f085222b6cc36f4916b20143e08ae575","src/backend/linux_raw/net/syscalls.rs":"b231754af1c94f61d206839b45f51516e0210761bbbcc1ef68c1fe6fc8a1bbbb","src/backend/linux_raw/net/write_sockaddr.rs":"a9374256cb47b3f4d5fec308986a109ce51a521abab31590df1f66c04c07d437","src/backend/linux_raw/param/auxv.rs":"c6a74c0b41aa28c850a80aad7cbad677df65c1f3eb78415872f6f3d1166716f4","src/backend/linux_raw/param/init.rs":"a5024f9afe361884f22fb4d65e632ccd8a60f1138ff6bd526df600d40e0d9b7e","src/backend/linux_raw/param/libc_auxv.rs":"167621c0b1bfd06c91c1201e9404d6624aa0a702ade17c6e37d9370c636be589","src/backend/linux_raw/param/mod.rs":"2e6a1a1c00351b9c88bd615aa923f71d76208df5626dd9bea03067f28f81dc31","src/backend/linux_raw/pid/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/linux_raw/pid/syscalls.rs":"eef6aa01830ddd510b83f507da2002c03e58318b73744be2c06ebbe33c4f194f","src/backend/linux_raw/pipe/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/linux_raw/pipe/syscalls.rs":"366c730fc3e991bddb9f5a15b8c3917a8e6ace6d1d5a9113b2749e476faf6f83","src/backend/linux_raw/pipe/types.rs":"caee78eaf13af02e5c4024c7459f23287dfd2c544ebab1dc5f728106fafe24da","src/backend/linux_raw/prctl/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/linux_raw/prctl/syscalls.rs":"a18b224307e0d27bda9b7b85c75cd6c7ddfe39f5ce52efb7bb0bf0585b757343","src/backend/linux_raw/process/cpu_set.rs":"dfdcbdf35aff6a3e08e7d38193bf18c12ca8aa64eb0dc417667be82dcc0f7c55","src/backend/linux_raw/process/mod.rs":"fb393c70a9c63ef9a6bf1fb5a2dc94f07d6b0b6987cc5231c15c607015dafd68","src/backend/linux_raw/process/syscalls.rs":"a2e446ba4e09727d11fc3b3d4bb316a659399aad186c08aa5bba80e62741265a","src/backend/linux_raw/process/types.rs":"6811ba822bc12a1a6336649151b4adb1f5d3365684a31c07f01953ea9547743d","src/backend/linux_raw/process/wait.rs":"921aee4b0048746087f52615a98edc2aa0fb4b53d6df44be4533098df55d1b05","src/backend/linux_raw/pty/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/linux_raw/pty/syscalls.rs":"ae09c4aecc0ae87b1ca58d82efc58007b9dddaae78460d615f48da19d1cd0f89","src/backend/linux_raw/rand/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/linux_raw/rand/syscalls.rs":"a84f70251672e92f253838bf05e989434f67373233e88d21d8835cbb792b1fe3","src/backend/linux_raw/rand/types.rs":"a21dbb1ab31eed6b59a57520be5a3c603c36d18ea74e67f7527f40835ba209a3","src/backend/linux_raw/reg.rs":"def5f88730bd625b2298c86559b5a378fce4bf6ce225204740ba087e034abce6","src/backend/linux_raw/runtime/mod.rs":"b2cae8cce3822c3c92942f06ea0b68464040dcac33c6f0f7ee392c6269993347","src/backend/linux_raw/runtime/syscalls.rs":"90849c8e429f215c225d430e7f550b5da0bb96054ef01745d3184f6c890ba8cf","src/backend/linux_raw/runtime/tls.rs":"6316060560a112c2e9cd9807cdba6e8c91414113a04a739160929ae9a67bba1f","src/backend/linux_raw/shm/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/linux_raw/shm/syscalls.rs":"3ebf91610b02de0312e1f0f0cc5d56e12b4d93794540087b3182cbdf3cb9c8db","src/backend/linux_raw/shm/types.rs":"b831b474aba7eb97167c9289f5257776a72b39134b44e67a0ecfcef2394dcd47","src/backend/linux_raw/system/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/linux_raw/system/syscalls.rs":"2af6c2672a6528b404b52f501d9803a63e9f47886d3b5d2d2dc5a71cefa7327a","src/backend/linux_raw/system/types.rs":"1ceab8d738a71043473b26e97fa3fd79d588a86d4774cbc9b9e1d4f1447a016e","src/backend/linux_raw/termios/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/linux_raw/termios/syscalls.rs":"151f03b938aec36a38fbf4e4b507ddc84d0999a246ee48abd5893464daa736a8","src/backend/linux_raw/thread/futex.rs":"0aa0f9f5be6a79de81e82c9f11f1bf8831f682a4b2f6cb29669e1591636f084e","src/backend/linux_raw/thread/mod.rs":"6ad4a4b90b9234e79900b27ebbe8837e3a7a36aec532912e3e253edce5225067","src/backend/linux_raw/thread/syscalls.rs":"0e3dca63be7322e1e9c58456b28eb8548abb9f08b4436b87b139e891c01c446d","src/backend/linux_raw/time/mod.rs":"672724f55b7b7be6a7452bb1cc2d28b5f0aaa840a2856fe363acce624e1beefc","src/backend/linux_raw/time/syscalls.rs":"451da0bbb66accdf58ee7f2f8746a93b22ee985907a08717a3d3b1650457d878","src/backend/linux_raw/time/types.rs":"028d2993df8fffe5581f7082b8849381bb21928930dc93e4a536a9c7a316c71d","src/backend/linux_raw/ugid/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/linux_raw/ugid/syscalls.rs":"8c86d251db33b399a1d1cbb8e87afe650b78db84f444d3251309b7a0480b54f7","src/backend/linux_raw/vdso.rs":"056314f72c71d4b041739337ca2098afb7fe070f844327f462c293f43481b75b","src/backend/linux_raw/vdso_wrappers.rs":"3bec7ee7daacc93b26c15e829e3ecdea62f9fc62244841ec80ee47a55806a69e","src/bitcast.rs":"e21c87c292c781b27256c6f5dcf9fd52dd69ed6e21016cbd67ac31a8219ebf8e","src/check_types.rs":"e52f710e1cfc12ca13a495f2b43c227b293ff295e1ce3ab332935b28a7579872","src/clockid.rs":"e41172c87401ef7b8ad37ec09b5b690c55c51b37009414a2089b34dcac9d93a9","src/cstr.rs":"41af2a4429fe6c67a8883f8a8f63d66c90df566abda74fd2b03bcef7b9f24218","src/event/eventfd.rs":"81cbd08f7bdf40a6ce1ca692b63da1dc8ba925282990668d9d68f1203e839fa1","src/event/kqueue.rs":"222842df22e66f41d93dacd3cba933810d9313d5ca9959fddabedda9c4312bf2","src/event/mod.rs":"326a7ddfeb33bb95dd31391d65f400fa622e5d0ab827c096cab16af4b6843b51","src/event/poll.rs":"0ee583dbd457a573a82a06c04a2a24bd2c76e751d27a435507d55338e2871327","src/event/port.rs":"4e51ff150e5d17cbd44aa64a38b99c15e26eaaf2e350768b5dcacdfde4fa5212","src/ffi.rs":"c2b8b38c02d72749aceb715c496726caba1f1fa989ad3856d0103a2fafed89ed","src/fs/abs.rs":"10e1a148a5b05476efbb591dcc969c1a6caf3d2d9592741eef22341a97c8f4a3","src/fs/at.rs":"a12f382f7b544ae4bbb7a967de43178dad796e05fd6eb8136e1a34236b48f9dc","src/fs/constants.rs":"23923e0fce3221bdac371fe2d05028f30a87dba4f9b4a573b69dc2d6d39320b2","src/fs/copy_file_range.rs":"d3b644374390d482b2ff749a2459458872b57d0dcf9670368739b7833509a7c2","src/fs/cwd.rs":"9f429a79ace6e17455634da09216ee0ad3d067a4541518b3193ae6a8d9ff1e26","src/fs/dir.rs":"347a52f4ca9ac6321c52e802e97ec90d1b4c62ec955c8996fc17f8f5aed69966","src/fs/fadvise.rs":"1220e2cf5cf58fc7cc950d48738050a052c504f745ca67130daa6410e248230a","src/fs/fcntl.rs":"1d1ee1e0bc962779e1cc1b8b76f39c820746240557daa9e14b47b1799120dc39","src/fs/fcntl_apple.rs":"e2f23f038083621bcdecc98d02ce1023508afaecdb2ed0fba5c8b70f955301e5","src/fs/fcopyfile.rs":"ce565f61e1fbf2e31086077c2f1d01b6bb3b048915edda87fe9a4a4f5e8ff7e4","src/fs/fd.rs":"fe53f211e91352d522ac4f3b553a9366506458e2158295a93c5e746618f7a5fe","src/fs/getpath.rs":"28f6970fc1bbc37bb35c84724b59eac436ea7407a4522e18c2bdacb1fdd2edd9","src/fs/id.rs":"1b5c8a8baf9a9bb1f895f97189cea4e5982a0d35b192afeec6340a6c6222e0cb","src/fs/ioctl.rs":"18b44e1708c7160c3bb7efaf27eefb6d11671f91d5008144fc74695d75a226c6","src/fs/makedev.rs":"85520b484cb7c15ab71ea1c368578ea3b7e484d82f8510db92b6ce9f7ca341ae","src/fs/memfd_create.rs":"00df492a3afdfc65a07d6849422596bf6cd4608a653d5d25ba54d6640eacda11","src/fs/mod.rs":"2192ea7f6f81a18d892d3526df00c43d83669f1a1734957ba94cf8269980792e","src/fs/mount.rs":"8f6ea2b997dd83c50c90291b9ada3ed77a9ce1ad701c9b0d533b5113b317be5b","src/fs/openat2.rs":"4a95c15dab533a41201b5fa25c8a212956b7571d58cad696bdaf45af8aef96db","src/fs/raw_dir.rs":"18ad797876d6230c38d4cacbed081c4028e03ace477d0520d9b226b40de942f0","src/fs/seek_from.rs":"a9efa0feb9ac789cf47667e91efee2e3f2dcde16cb3b7a928c99da640fa0e0d6","src/fs/sendfile.rs":"e3b2058741cf4b1698f34d84bb37130cf2b72806d522a16fe541e832cde136cb","src/fs/statx.rs":"f925be3d9a179a903549b3ac18038d004f4f2021e46dad4aa2757907aebefeca","src/fs/sync.rs":"a3b23543834281f347b0f873bd38154d31d404871188ac08f2b20b9196234cfd","src/fs/xattr.rs":"5e222adb52caf69d949ab3f944fb2a482dd6ca3a47200532ca6e72d44cbe8334","src/io/close.rs":"0aa3cd05a8fed8e5244f97b8b6c2e7f65ed93a4e5435c6329852bb3da7514440","src/io/dup.rs":"bbebf4633120e21c7c49ecb93576cffa7e908f8089deb260f8d97426b469a0d4","src/io/errno.rs":"58a4d20ba0924e4d514e3c876fbe08982f1623187642ae14780815e65989c8c8","src/io/fcntl.rs":"5b7696e40757615940745ecc7f33d84678d24f55eba978a8efdd0805cba7b1c1","src/io/ioctl.rs":"3dffbda413fd380f1580e2e75c531a5f4a0487417ea1c235c23fe46b70e46bd9","src/io/is_read_write.rs":"1bfb9ee5d58e0b29b44af12fe2668c7bccc841358698dcde47f1519ff9bb73b4","src/io/mod.rs":"75f1d0646be1d4c7c08b5887d8119b0103be8c25c43ccd4e0e97015508c0bb8f","src/io/read_write.rs":"77b8058769dc0bf5a88d73acd7ce70af1a89c549b00b790e281dc20364bcb6af","src/io_uring.rs":"4e641c9aaeba14890e4a354ad8b1fda8fe617923b4d3d685da22721d66a14bdf","src/ioctl/bsd.rs":"e33772530b1b2d1e7d61ce53d9267e68d88f7f5df13301f90412d89a46c6faaa","src/ioctl/linux.rs":"96df90bbc926783f387e8fe1656841d4c7a857fd4e9f41f95492f7dcece33074","src/ioctl/mod.rs":"d2233ba2a81738828d28d4297f8dafaf254c475174de48bd0fe3891d29a71bfe","src/ioctl/patterns.rs":"af24c47597e619a8e0fd3ca071f21db1963a629b511d9279ef9d36a8030a6fe8","src/lib.rs":"ee2b60b7b29c9f4e0f474534a76961c2ce5c9f3640eea67fa395e633b64efa6e","src/maybe_polyfill/no_std/io/mod.rs":"77889bb5c5a4f2e50e38379cdaa5d0fef4b0cafc3da056735df01f6deae75747","src/maybe_polyfill/no_std/mod.rs":"ec94a4aab4bc475785e469d10fd6bc95667e1d47d958e9cff3a19049d88c8c80","src/maybe_polyfill/no_std/net/ip_addr.rs":"046327ee244f758f2bc31d3be305d8cd0dfd8342aac1add8259e999b4b46c4a7","src/maybe_polyfill/no_std/net/mod.rs":"486555be5c56cf3e049e65a1ea73aa60839c6f6ca667833e88ee4f360f9606dd","src/maybe_polyfill/no_std/net/socket_addr.rs":"bfeb32d32c176cde76323abcffebfc47e9898fb8d7ce3668c602dc8451086a2d","src/maybe_polyfill/no_std/os/fd/mod.rs":"27ef0afbcb0695cbb15101070f417eb51e0ef85ae66ec967d95e80771d507c47","src/maybe_polyfill/no_std/os/fd/owned.rs":"ab86ffa2693a04f3085770faf395f95e5303001711be8b19c44a47a0ac574091","src/maybe_polyfill/no_std/os/fd/raw.rs":"f3648c7bd4a6ff94bd823ed9e0d99d398e02f24875cf9b25962736999e7c6943","src/maybe_polyfill/no_std/os/mod.rs":"27dab639a765827644005d5f2fcc7c825310606b889cc8dd83f54c9528350dc0","src/maybe_polyfill/no_std/os/windows/io/mod.rs":"5bbcc05c83fee5026dd744a994e0458469466d5be39081baa62df07753b92fd2","src/maybe_polyfill/no_std/os/windows/io/raw.rs":"4c32609a489dd938a49328b5637cb3bafb96437f2f9f269ab66d7d3cb90247f6","src/maybe_polyfill/no_std/os/windows/io/socket.rs":"c658f42f24eff44a661f2adfd24a11af80fe9897f3e2af4dc5d2c64808308d65","src/maybe_polyfill/no_std/os/windows/mod.rs":"fdb416f8f231a4e778b5f985b9ae712ece5e1a1402963ad1a5f6a8b9843795f4","src/maybe_polyfill/std/mod.rs":"7c16c86cc73e226e65ead598e4018238b22000a345040b706bf1e1b3eba115fc","src/mm/madvise.rs":"69481cd3354dbffe6cd93b234448e59de6d0fe6440bcf8b12f951f37745bc1dc","src/mm/mmap.rs":"8cd1a8278e138d0805726474bb3016fdaa09a8074bbc8f20d1e842e7fc17efa3","src/mm/mod.rs":"b3a6cb838986d45825b912355cedead761211a494ca6f89b2367a2d2157e340e","src/mm/msync.rs":"a9092be024ecbfa9c14edb935404513498b0da2ac6c99fc31fe4e58196a95f02","src/mm/userfaultfd.rs":"8073443bd181ff0b3ba4d0b1ae67370b4864035a0c8b4898cd709dc47c518ae7","src/mount/fsopen.rs":"160e384e9175fd98669cda1cf3590bb195c2ba7e1c724e9ea06e692595e58ba1","src/mount/mod.rs":"5f0c9df4727592695deb1cd63ae1de021b03dcd9d0d1b68e1f34d12a7136cb19","src/mount/mount_unmount.rs":"8ad11675e5d762d33fbefbed06a6a9f9e52a9b689bd06662446152614321ab77","src/mount/types.rs":"601ae3e10b7dc496fed7f3b40a80e81c6edd7bf13189d7be45c3212d4c684c39","src/net/mod.rs":"a6bc55f9e086caf46a7c00783498d73a328a66f2a991f1ec65d5f13931377b0f","src/net/send_recv/mod.rs":"7b77a70c0ad2601b5da30e8b202e34c6bfc9e10df4ce2b1a35b111522ae123a3","src/net/send_recv/msg.rs":"f100a88648b9eba88272aca77d76351432636022a1d4b0e9485e002a3489d05a","src/net/socket.rs":"1296706d964d110be7cd46b61a0a06dabf382a2377907ba41badfe94807cb50f","src/net/socket_addr_any.rs":"a9af81e967a91b45e51aec4f46a068fade7035c5d19dfaf05bfdcd3b3c32e9bf","src/net/socketpair.rs":"56f4885c31d2664cd16e18a9a88792a4912fedd953cec36dba67e8581fd57921","src/net/sockopt.rs":"4f00ff76d3cd3fd2e915f51eba59827fb60885d6b0c6d37b32ca4306cb8fe836","src/net/types.rs":"35878a8ff12cd7252ed735cb640bad03e4e13c6016769c2d154c0fab08505248","src/net/wsa.rs":"6e546b42f50a851fc833c57cda76cfb347203ed4b0dea574a3d325bf5a2ebf80","src/param/auxv.rs":"8602af47a39bb340d319807bdecdb9be8b467101a9ed96061277b90234801913","src/param/init.rs":"a31c0e5cea61a1a999767fe74f87c0d59eeb6bce66578b842fe0e0c32be27a55","src/param/mod.rs":"25b10acd5b1da8faa6f5204e6b0379b38bfab667916e886cca64bea01a42dec2","src/path/arg.rs":"d87117157ec21f61a5e50b2779b4284fd13dd7db11b20a6bc9e475d0e4a25357","src/path/dec_int.rs":"8ff8e14442c46f8e7a9b80d73973619b4271549b9defd538479bf8c2d93aa72e","src/path/mod.rs":"6b1b949c94bcc47e0f08a3f8e8db5b61ff497d0dfd3e0655f51c01d3e4b7dfd6","src/pid.rs":"f1c486000c5b1311b2d720cee88f089c17ef9a171709673dd06e6f35f4ff98a3","src/pipe.rs":"cec0a831237ab2652556b149767d1b382e9739a1bb21ea401a35b36df7f7a3e7","src/prctl.rs":"19aa584895874ea48b9bbe1bf695b81257b0281df64dfdd91e1b4bfa298661b7","src/process/chdir.rs":"911216459aa429fe9f125f1357d6900b43b0007835b85c719875d00f79a74664","src/process/chroot.rs":"2b5f6124eb19f26ad2705174f7ad50cdc0a5d15abd59ffcf55421228d82130b4","src/process/exit.rs":"48de66e5504a00cb375d8f415ce63b6225a3f5204268d40726a7d0fbba43f587","src/process/id.rs":"e4733f9e8e4b5f50e98ef7a23802e126f1f14ece8b3d7ae7446c6a66affc6bc1","src/process/ioctl.rs":"23ad0285671e8d7ca71a63c50655dbf732ccea8af11d754a0558e0236db37e76","src/process/kill.rs":"96d5ce432c19cf2b600d5248c681c117abf53ae94bbfca7e75ac533a40e3968e","src/process/membarrier.rs":"1c4c39b359d1d0e9bbe16352eedfca9278d9ef298ade8ec00e998617bbcbfed8","src/process/mod.rs":"70e7fc79e4edf3ffd56c20643707cafdc595330db68e4ff8f75dcb3756ad5b1d","src/process/pidfd.rs":"39de2dc7919eeeb53a5980622616140327671cd7e36bcf597aee1749df3a5b5b","src/process/pidfd_getfd.rs":"1faace75bdbcda57a296806dcfa5487811f8d11dad9e6199c98df72feae66724","src/process/prctl.rs":"0130d05362a17a9282f3391189095e1f4f51fb56d7a5205906a0011842df4576","src/process/priority.rs":"f135482e71ea8aa0daf92b9f238051178a4c904070fa8409622f94155df3c544","src/process/procctl.rs":"430ec397782772d5a028903c2813d3e11f7e577af144b9effd9c42629ac8d3d2","src/process/rlimit.rs":"10b79de3ced0e64059a94c879742d46a35a6176c776d8eed75031d5e6340283d","src/process/sched.rs":"b49ef463f44b5e90a04e9a08569d0ae20eecb8667f38f31c786df1eb099db466","src/process/sched_yield.rs":"6565faa3928b66ddc74a65e893e15edfa4b9be4f7e5f5f68527501a7f6bc3350","src/process/umask.rs":"1a0f31a842303c978e3f05ec191e2b5e96104c09c6596473b42b1fac34898a50","src/process/wait.rs":"612920489b5618bf82a9a615947e0acbed6eb310acbb9bb70e934d457dd1dd49","src/procfs.rs":"63b286dd3302be7f426841eb3b9261ef4785c3159ed78c24734bd5094c9b0b2e","src/pty.rs":"652c412e7280d0344b3f9bfe376c106a7f1b42b898b7af344e6e72da268e2bf0","src/rand/getrandom.rs":"1c8166a02a74f5593bb4673ef907524df04cbc1568020a5ab2ff7f4aa1283f8b","src/rand/mod.rs":"cab59332aadd9b679f5b22cbb222d48ee028af5eb9fd4a4d43922da659b895d7","src/runtime.rs":"695e60b9cc22755ce0e653fd63a0c73024a14eb8f576c6071dad6806c32f5552","src/shm.rs":"b96fe8a05ee5d4536464a8843a776d43a938abaf22c772fc35b5373d95644a8d","src/signal.rs":"a294b49d487dafaa42e534f8b1d93e87bec135087676b2ba2ef865cf2fccdaf2","src/static_assertions.rs":"504cf66f0d5b8e335be02f9ae8b0a355abc98c2c82eec0098bdf0988e662e260","src/stdio.rs":"a5de2d7d9c3c5a901f88b6acf4754687c958a2f3a93c7945c2b8fcb948d468af","src/system.rs":"4d7d1eff18094ec85a8ead70a7ccbe8ef78fd7f5705b7dfe3fa52541e9494887","src/termios/ioctl.rs":"a1ac967f7811a482f8bb53847c37c8359f518cd26da9df7b816ba678a0139623","src/termios/mod.rs":"b44b7caa60b6f458657ed58a0e0eca41bb4e6d6be4b0f042bbb8ab7056cebe4b","src/termios/tc.rs":"e41312d15464b83b2457c2502fc3f3b9998cfb02ba68739026dd4285cc7130ac","src/termios/tty.rs":"35a5fc2d26501e0e6dde1a755eeccf7b4f3b4702c5bac30e0953220808ef7034","src/termios/types.rs":"38167a38fb83e84f2845f86b373ecaaa3ebf6c2f91dccd07c10539201d6f5070","src/thread/clock.rs":"f49eb7271eb3e6831d9b0c3a01bfddbe4bd69dee237bbaa059884de452b29e79","src/thread/futex.rs":"985f9a0dce1e2a4892ae7f26bd1bf119ceae3f9fa6b4707e166624fc1cee76d4","src/thread/id.rs":"ad72db4fea9fccb728310bbfd01ef8c00f6cc60fa2a750f6349646a134f7009b","src/thread/libcap.rs":"4c51b7df566d38dd0f85f81ef53279a745a39f0f4e1154791fd38438e2ca7db1","src/thread/mod.rs":"98634ece0b882f123ad887017692f2a4d94a23a1dec278ed660b3497cac5cceb","src/thread/prctl.rs":"6caec7eb4fe122e80ba1ecafc56b710c79ab8b3c97529d5beba74d87af356875","src/thread/setns.rs":"ea9142b1f3a5b3f329683be185f960c50e5c1636149e91fbf59e88a897fc607d","src/time/clock.rs":"e59a29f1bed8c31c3d5b6fad60f2d4fa6cab8dd8e86148bb3693a5e3a1ce735f","src/time/mod.rs":"43afee938c80d124d04d4ba190c03f4d21d1e3bfc154fff309211e4f6eabe940","src/time/timerfd.rs":"f17092b84553741aa2d2b44c6992b5d2c8c96cc2c2007fc9a2c6b2064485e53f","src/timespec.rs":"32a4d930cbc0f6dbd23153290db920671cf4ce65a4a127e176f897c1cde42d7d","src/ugid.rs":"6616c6e35b7e43aee5b150f1efae7a50711e0947943c9a96833dbe214ad9e85f","src/utils.rs":"9ae76f8a41d6cc350cdd58c9084b5c3a5a708eeecd769783debdbcbaef442182","src/weak.rs":"c7cf03bf2aeba494b1999ab32183fa8c603ab72e254c0e312a67f168877e410d"},"package":"2b426b0506e5d50a7d8dafcf2e81471400deb602392c7dd110815afb4eaf02a3"}
+--- a/vendor/rustix/src/fs/ioctl.rs
++++ b/vendor/rustix/src/fs/ioctl.rs
+@@ -77,7 +77,7 @@ unsafe impl ioctl::Ioctl for Ficlone<'_>
+ type Output = ();
+
+ const IS_MUTATING: bool = false;
+- const OPCODE: ioctl::Opcode = ioctl::Opcode::old(c::FICLONE as ioctl::RawOpcode);
++ const OPCODE: ioctl::Opcode = ioctl::Opcode::old(linux_raw_sys::ioctl::FICLONE as ioctl::RawOpcode);
+
+ fn as_ptr(&mut self) -> *mut c::c_void {
+ self.0.as_raw_fd() as *mut c::c_void
diff --git a/meta/recipes-devtools/rust/files/target-build-value.patch b/meta/recipes-devtools/rust/files/target-build-value.patch
new file mode 100644
index 0000000000..cf59afba5a
--- /dev/null
+++ b/meta/recipes-devtools/rust/files/target-build-value.patch
@@ -0,0 +1,26 @@
+Add correct build value for cross-compiled targets on stage1 when
+bootstapping rustc.
+
+Upstream-Status: Backport [https://github.com/rust-lang/rust/pull/119619/commits/b888e2f82b9dbe81875f50d13adbc0271a9401ff]
+
+Signed-off-by: onur-ozkan <work@onurozkan.dev>
+Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
+---
+diff --git a/src/bootstrap/test.rs b/src/bootstrap/test.rs
+--- a/src/bootstrap/src/core/build_steps/test.rs
++++ b/src/bootstrap/src/core/build_steps/test.rs
+@@ -1489,8 +1489,12 @@
+ // NOTE: Only stage 1 is special cased because we need the rustc_private artifacts to match the
+ // running compiler in stage 2 when plugins run.
+ let stage_id = if suite == "ui-fulldeps" && compiler.stage == 1 {
+- compiler = builder.compiler(compiler.stage - 1, target);
+- format!("stage{}-{}", compiler.stage + 1, target)
++ // At stage 0 (stage - 1) we are using the beta compiler. Using `self.target` can lead finding
++ // an incorrect compiler path on cross-targets, as the stage 0 beta compiler is always equal
++ // to `build.build` in the configuration.
++ let build = builder.build.build;
++ compiler = builder.compiler(compiler.stage - 1, build);
++ format!("stage{}-{}", compiler.stage + 1, build)
+ } else {
+ format!("stage{}-{}", compiler.stage, target)
+ };
diff --git a/meta/recipes-devtools/rust/files/target-rust-ccld.c b/meta/recipes-devtools/rust/files/target-rust-ccld.c
new file mode 100644
index 0000000000..d3d491fb60
--- /dev/null
+++ b/meta/recipes-devtools/rust/files/target-rust-ccld.c
@@ -0,0 +1,19 @@
+/*
+*
+* Copyright (C) 2022 Wind River Systems
+*
+* SPDX-License-Identifier: MIT
+*
+*/
+
+#include <string.h>
+#include <stdlib.h>
+#include <unistd.h>
+
+int main (int argc, char *argv[])
+{
+ unsetenv("LD_LIBRARY_PATH");
+ execvp("target-rust-ccld-wrapper", argv);
+
+ return 0;
+}
diff --git a/meta/recipes-devtools/rust/files/zlib-off64_t.patch b/meta/recipes-devtools/rust/files/zlib-off64_t.patch
new file mode 100644
index 0000000000..6c74da2435
--- /dev/null
+++ b/meta/recipes-devtools/rust/files/zlib-off64_t.patch
@@ -0,0 +1,36 @@
+Do not undefine _FILE_OFFSET_BITS when
+_LARGEFILE64_SOURCE is defined. This ends up
+causing 64bit time_t to fail the build because
+it needs 64 bit off_t
+
+Upstream-Status: Submitted [https://github.com/madler/zlib/pull/764]
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+Index: rustc-1.72.0-src/vendor/libz-sys/src/zlib/gzguts.h
+===================================================================
+--- rustc-1.72.0-src.orig/vendor/libz-sys/src/zlib/gzguts.h
++++ rustc-1.72.0-src/vendor/libz-sys/src/zlib/gzguts.h
+@@ -3,15 +3,6 @@
+ * For conditions of distribution and use, see copyright notice in zlib.h
+ */
+
+-#ifdef _LARGEFILE64_SOURCE
+-# ifndef _LARGEFILE_SOURCE
+-# define _LARGEFILE_SOURCE 1
+-# endif
+-# ifdef _FILE_OFFSET_BITS
+-# undef _FILE_OFFSET_BITS
+-# endif
+-#endif
+-
+ #ifdef HAVE_HIDDEN
+ # define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
+ #else
+Index: rustc-1.72.0-src/vendor/libz-sys/.cargo-checksum.json
+===================================================================
+--- rustc-1.72.0-src.orig/vendor/libz-sys/.cargo-checksum.json
++++ rustc-1.72.0-src/vendor/libz-sys/.cargo-checksum.json
+@@ -1 +1 @@
+-{"files":{"Cargo.toml":"5fc1259b26541f617473d6b741816705c91322db9740e347a8686e3c0b30ab2e","LICENSE-APACHE":"a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2","LICENSE-MIT":"34c467b6945a22696d060b8fdd2379d464acb3408d4c599d3dc5fe4fa1b4c84f","README-zng.md":"2f9f34e6b388a401b8d8318b64997a7521e4198c5c314f8cea11433623628515","README.md":"75701bfcd7158e924f51ece8debb6d4425ccd6ad5d2806004b5f174423f4b2af","build.rs":"b383e60f71c9b40ecc807ac58473f9b85d7036e8359796634cba2701224493a3","build_zng.rs":"b7768e19f0bf876f29eabb6ad6511f530e61d8aa92bfbe89a7cf3818e4824ce7","src/lib.rs":"7c4a3394e17e6250c1f4f2067efecc56b1850827596432ad0ce75e5eea800446","src/smoke.c":"10607c81b73811bfcb9718767312bf97ba2ccf7048ea2f18a2085aa06ad7f91b","src/zlib-ng/CMakeLists.txt":"5840d2c44e335af0f58f8a2545da60be403946b1181641b35ea7425b2e0f44db","src/zlib-ng/FAQ.zlib":"c524f4f86d336b3de71dd6977afddffa9c02fda5c26db4dfefae44959e7614a2","src/zlib-ng/INDEX.md":"989545e90d8e9ac149034f762ce78ed8976ebf9324326228dea37ca190154609","src/zlib-ng/LICENSE.md":"d3c80be055d94d798eaa786116e84fa0b010bc11420b5d2060d978ea77845436","src/zlib-ng/Makefile.in":"1f56adbf5fac7fa36c6e4c11b5f061acb971984c941154cbf0344e2b68b99e7d","src/zlib-ng/PORTING.md":"4105267b5e00f8d608f31dcf4fe2cfede15cc94568211691419e6cba3d8e539e","src/zlib-ng/README.md":"ba04244ad8eea94d834d25aa75b40e7f849844a33c68ed180c2a631378e1f211","src/zlib-ng/adler32.c":"82ffa1b4fc4b198ba8004135f79b8819d9f2b28e851c30c0ab41e6d32dfbf70d","src/zlib-ng/adler32_p.h":"f56915c59a345baf4558374447385a317e29365a4db2fbb38af4de3e1a1a0201","src/zlib-ng/arch/arm/Makefile.in":"95464884ba75a7b12c9ceda5845d8d68d5a7d7dac8a8dc24b27beb2192e5b97b","src/zlib-ng/arch/arm/adler32_neon.c":"3990b8d5570b12c2162218fe0e9bc723a03f1c89b5ed3ba70a74a98976260ee7","src/zlib-ng/arch/arm/arm.h":"855adbb02d7b9a5714a17d9dcff493610e7cd2b9a1f4e58e1c99626ab536e868","src/zlib-ng/arch/arm/armfeature.c":"4800228414695b632b9ceca14409e782d6fc3b357ba7ab00858925fc66b5532e","src/zlib-ng/arch/arm/chunkset_neon.c":"95fc7917d1d30094e15a35c56d1e9c189c5ca3758553a3467d4da793eaed656f","src/zlib-ng/arch/arm/crc32_acle.c":"e2be53267a2a59fc79c4b3bab00e8b25bf64a8fc8bf2c6684e5b1b1fd1480f9d","src/zlib-ng/arch/arm/ctzl.h":"feb70d55e66025fff806e30e48002b35cfff79533d352585cfa5f118edbc90b1","src/zlib-ng/arch/arm/insert_string_acle.c":"d1b1dae5aeada70f2b03c2cbf3112ce55a92401c2d87709081b04dcf5992e1ad","src/zlib-ng/arch/arm/slide_neon.c":"19d8cf5c742ac6b82164c7a183538ad1129f9f17e9b8bce8b40daac3820fb6c4","src/zlib-ng/arch/generic/Makefile.in":"f41a34839986eac8dd52cf91fada0efff4171c059ab5d7db6347c91bd6d9db09","src/zlib-ng/arch/power/Makefile.in":"69644d1a0ff8e7f38005c0a55cdbaf3f0d87f42abf8fc4f4136271c4fedfb846","src/zlib-ng/arch/power/adler32_power8.c":"79b75e98ad3a62facbbdd8c0b178d3f993b57f6e34d320bf47eca33aa8c330a1","src/zlib-ng/arch/power/power.c":"0647afb3b3b7ce2a19b4815ec8fdeee0b37c759413e5ef0a668a2dba22d94803","src/zlib-ng/arch/power/power.h":"f3f15f94fed98a2f7dd5d4568c5172e597228be4141d6895062703c3f70024da","src/zlib-ng/arch/power/slide_hash_power8.c":"932ea533d25e2f5478afe0c47830e7ef24276cad0d75fd91f2d8c799bd4b5d36","src/zlib-ng/arch/s390/Makefile.in":"eef6c3169723f089b0b5f852423ec55bf0364caeddd7cda991f2e76bc1682107","src/zlib-ng/arch/s390/README.md":"730b9a0230609988fbd1bdd52a7abdaa1fa5c65253ac78163dd4a5eccb966abc","src/zlib-ng/arch/s390/dfltcc_common.c":"3d460448ad4c5b687da6b7c0ad8498ece92b771dc7ddd0189e096acca5a1cad4","src/zlib-ng/arch/s390/dfltcc_common.h":"de8902d3863c8a7a3f6ea27dec2ee5a4f17ef5d8646e48a586d0b29fe94c9a0b","src/zlib-ng/arch/s390/dfltcc_deflate.c":"d6941d3c5ada225ec39b98b35bce1d203aa1f2d994a47c8487d377d9ef2f6efc","src/zlib-ng/arch/s390/dfltcc_deflate.h":"5c90a812e2a2f2b842dba027e5640791e52206e74b8423cb78e0b8ea12ed29ad","src/zlib-ng/arch/s390/dfltcc_detail.h":"fe66cd700a1d017eba86c2c6e95f53e9a4d1cb491de9cb3963b2a2907098baa9","src/zlib-ng/arch/s390/dfltcc_inflate.c":"83643b5605cdc2d1d7780e1bdeb007f9dc6a1cca633157abbfb5d3232f2b8816","src/zlib-ng/arch/s390/dfltcc_inflate.h":"d7a4a5ae79abd1a5456521926b918becfe86c253a4fc23723fbc09f7c3303128","src/zlib-ng/arch/s390/self-hosted-builder/actions-runner.Dockerfile":"999c962c49508ebf61414e6f9ffea059926ac500d4c6d707ea1f9e77402f7374","src/zlib-ng/arch/s390/self-hosted-builder/actions-runner.service":"33a359eb58d76152f916b40ee1357f7edfda75e8dfb55a5b12ac83bcd6ed7055","src/zlib-ng/arch/s390/self-hosted-builder/fs/usr/bin/actions-runner":"f647e18728ea15fe927ac9f8cba83a5b343654a0e91b5ebe653bae7af7375110","src/zlib-ng/arch/s390/self-hosted-builder/fs/usr/bin/entrypoint":"add4ebdc4f06ed15bb1de12a8c9ceb370a60baebb0932a1026a75433940ad3df","src/zlib-ng/arch/s390/self-hosted-builder/qemu-user-static.service":"54551049f6181da88700a2a944a72b0af3b8abde876fa28e1348deb5eb96c91b","src/zlib-ng/arch/x86/INDEX.md":"c12f9bf0d66743a6472fb756bf46def8eea1dd235be7fca994dcb22f693a3524","src/zlib-ng/arch/x86/Makefile.in":"9f6fe7567a99e81aaa3bef8ccfa1ad40f524efc285cf8dfe0f497a1530f8016c","src/zlib-ng/arch/x86/adler32_avx.c":"99056732c7bd5d53dc108f282811a40bf21570926781af5dc7b17cb9218963de","src/zlib-ng/arch/x86/adler32_ssse3.c":"883a5520b4481225d097c90c5359106a3c8eb7b921499c94276e999b7c39adc5","src/zlib-ng/arch/x86/chunkset_avx.c":"13c83149146c408ffdc9358bcb5355259f6196e6cc6fe025b7ea3647e313cd0a","src/zlib-ng/arch/x86/chunkset_sse.c":"f14d0557634b53af8cd6e2a1ce9d57df50244a72e85ff3b100b5ca287d1cfa8a","src/zlib-ng/arch/x86/compare258_avx.c":"8b2838d168de4608327f25fe52d53763a82413ee911d87947d3fcd72c7f9bf26","src/zlib-ng/arch/x86/compare258_sse.c":"b5049722ffd4a43a96868eeba5e000271cfc5fcbf3c2657026ead15b1df28a10","src/zlib-ng/arch/x86/crc_folding.c":"defb5a7067562612651f693c910db53cf228b7cd7fef11991504767a7d84f224","src/zlib-ng/arch/x86/crc_folding.h":"939212546611917e9e066e8ed30cdda95680ec1f5fe0890cc4865b4e6d7fc215","src/zlib-ng/arch/x86/insert_string_sse.c":"9e84a75b6a565422eb105261b6729d2a02b89133bd14372c949d5381b5deed3e","src/zlib-ng/arch/x86/slide_avx.c":"5e448e439ac24e7cb10eee176ca37f2c63f73c135c0a2af040e232bad490997d","src/zlib-ng/arch/x86/slide_sse.c":"1946cabb634c905fddef0a22b2fad19dfd99110169567c3beceef71145b2e316","src/zlib-ng/arch/x86/x86.c":"1af56e27b2e951e1ad1344e62c2f7a8c49a776fcdd1cb0f4ea9d6152118a479e","src/zlib-ng/arch/x86/x86.h":"4d2d20ea0087089141e250e77bb3d419954b9092810028b151581b9115a5fe8c","src/zlib-ng/chunkset.c":"cbf26582fff56726cc28bee05ff0a1680c50308b8dd9bb8cfb57d7f0a587d0bd","src/zlib-ng/chunkset_tpl.h":"eaaf0804f6162ab26b2b6de263a478ffb111559e653372e96e400acba9c63563","src/zlib-ng/cmake/detect-arch.c":"e0da3d16195eefb54bef77163db737a66453f25ae16648aa8f6beeac70787662","src/zlib-ng/cmake/detect-arch.cmake":"27fa8da497b39ac70d881e2d345749611dae4c30f7b7a9c9e32f2c042672189a","src/zlib-ng/cmake/detect-coverage.cmake":"e4e372991ba80a16ad47df2716708a56013cc628aa7ed01573a2360c60610125","src/zlib-ng/cmake/detect-install-dirs.cmake":"87031a40428a104f5cf38ecdb8a5028d8c679cfa772a58adde8380c809b34eff","src/zlib-ng/cmake/detect-sanitizer.cmake":"a8f7a4515278532b251b567d82ed576fe1ca7e698992ed92d1beb8e8dd22237f","src/zlib-ng/cmake/run-and-compare.cmake":"13d85c12c9d6c7b1b148bd0c5a5b4faa6a4b56f3823bf03c4f8d914c9c5949d8","src/zlib-ng/cmake/run-and-redirect.cmake":"7f08d18c09aa58113882ec760735a62a1723a5bfcae9f73bd3713a4dbaeab898","src/zlib-ng/cmake/test-compress.cmake":"0d2d1595859ccfb6795bb98700a4f7c1652b025cc344a1291524601087957888","src/zlib-ng/cmake/test-tools.cmake":"63aabfffd53970b8e145870b2a1c03bffa3595f7df04bd86f94e97b6f2a387e7","src/zlib-ng/cmake/toolchain-aarch64.cmake":"46be0bf580a49a528c72005484655afad1de3705b39a66a7b0c213b0fa81cee6","src/zlib-ng/cmake/toolchain-arm.cmake":"05e38076fd6ffb9785ff9844ccecd26436c9dc4c25b7777b62e5f52e788c3882","src/zlib-ng/cmake/toolchain-armhf.cmake":"1a2029163a57415eec9a5dd5f45d3254d349e97b1beb5d16876b741717673341","src/zlib-ng/cmake/toolchain-mingw-i686.cmake":"df9000354b820d3713d1469edc9f94cd095389b0cca83965730b8e64857fdf3f","src/zlib-ng/cmake/toolchain-mingw-x86_64.cmake":"ee316e6e3202919da5d497f9e246466fd715fcf079cb5b4afc4774089d1fefad","src/zlib-ng/cmake/toolchain-powerpc.cmake":"9bd6fc58ce5b70603657f2c195c4a5cf52fae96ad63ac787978831c5858f762c","src/zlib-ng/cmake/toolchain-powerpc64.cmake":"917fc5eef84921d8b38f43c2b4f60870965b4eecc8f018c7b3499e1142c715af","src/zlib-ng/cmake/toolchain-powerpc64le.cmake":"5b2edd36d62de513db2d32bfbf779979d81ac527b981cc3379a4e933fc5a94d1","src/zlib-ng/cmake/toolchain-s390x.cmake":"cf52cecea7bd2a9d1ff5fd8edcb03c531e3b404bbcd15a15dec2e0e19936f2ac","src/zlib-ng/cmake/toolchain-sparc64.cmake":"e543062485d06a7e0fec8135887c5e73363517fa4babc23ef7b780916d75afda","src/zlib-ng/compare258.c":"56bfd48d5ff9ca422fbb728df7a373436c73796561dff118c7d4039fe70d29e2","src/zlib-ng/compress.c":"41df6eb62d6fb1334ecfe0a0c3e50a7ee89528719857f2b8297cbc512149759c","src/zlib-ng/configure":"160f69a1e51c49f6454ece92e4c5e08675ca5d90cf22b8f79cbe54c4381d93c2","src/zlib-ng/crc32.c":"98440be8a99381151a2d740f2e2228e8c1b23b9193c3642c52a4e34799506336","src/zlib-ng/crc32_comb.c":"11a36a6088fb520a58e0304fc99cf12fc8437519e8a70fe74dad58f00af696ec","src/zlib-ng/crc32_comb_tbl.h":"d6615d209d6c7d5248c6f7fe4e5dbded13c0eb87997b37693032c2902927407d","src/zlib-ng/crc32_p.h":"1fa91375a18e090c0a0dfda39de3df36346a0b1be36c808be6b6c29c32eba922","src/zlib-ng/crc32_tbl.h":"d629378ba38ff5775095b64e277bcd41c4b89fab9b5647a9fb29e15da0db0161","src/zlib-ng/deflate.c":"6fb8979ee8bc43f6e12a649708c7eb50e60bb9bdc2e55c45ce3b15aefe779179","src/zlib-ng/deflate.h":"7b3c649965c54446097d6157dd31d3685aa7df1082e9aa64cb3cdf6ac2c4d023","src/zlib-ng/deflate_fast.c":"d51e1368fc997673c64b5ab9a620439df25f313f8274529d974c5f80b89702b8","src/zlib-ng/deflate_medium.c":"1c3d95cbac76052d39595ea750c5536541c18302b9abb398c27b58955318bba8","src/zlib-ng/deflate_p.h":"2e739301e8c53038c2a958c8c8693584cd8dae464ffef05a22db6d6fa9985676","src/zlib-ng/deflate_quick.c":"280905a191d2b2a7274f2453ac537e01a0fb6e7540a0b212c1514bfb8c9415ea","src/zlib-ng/deflate_slow.c":"a2c66723e1e71ffd6ff856407459ab311a4c6546ecf50285081fc7afcd0ccd2e","src/zlib-ng/doc/algorithm.txt":"0d21a0a4c47e512743389628d1385a831a5e5ff716491095a382b923287f4223","src/zlib-ng/doc/rfc1950.txt":"8f0475a5c984657bf26277f73df9456c9b97f175084f0c1748f1eb1f0b9b10b9","src/zlib-ng/doc/rfc1951.txt":"5ebf4b5b7fe1c3a0c0ab9aa3ac8c0f3853a7dc484905e76e03b0b0f301350009","src/zlib-ng/doc/rfc1952.txt":"f7c810fd9d719d002d605207a9b880600f71d039b9626c5b4b03f2122438dd2d","src/zlib-ng/doc/txtvsbin.txt":"47c273bb22c9773248d380549a330e5c262266b1292154b0d3014f731cc73f47","src/zlib-ng/fallback_builtins.h":"1d2c2da88009a58f240bac33f562fe5a0a39c1e773813a2d75b45283ff1396cd","src/zlib-ng/functable.c":"d9db6530035a06f95982ff3d7680a84f4b54b8425874ccbe2ab10b906bd5708a","src/zlib-ng/functable.h":"e5a2d0c10411d23f04295bcb9ddb9889388974b723caef65aa5c4ea4739f4aa7","src/zlib-ng/gzguts.h":"7b69b2f35264169bc794d0d5c00247d93c203f751d226302966c33b524ed9fb0","src/zlib-ng/gzlib.c":"7e6ad5d9d32e6429d56a5303e2c6e6870d69c023d6647a52fb95902828de4011","src/zlib-ng/gzread.c":"d5d47d24dc463b978fe828320dab140494803fd86b511300f903c7c2eabd4d25","src/zlib-ng/gzwrite.c":"1685ad2c88239b3434cd2c4a9d66b67842310b2d1dfd01aec0fc293eef20e858","src/zlib-ng/infback.c":"4decaa412219fc8adb935754c54a4dedf3952aaf67107a12512451c65eadee23","src/zlib-ng/inffast.c":"a134d4aa6a46eebe975ca0cd5ef18894fc852b6a840be21ca7243ddbe6c9d8f9","src/zlib-ng/inffast.h":"42e74a92b496ab0726be317e8497a12bf3c3cf3d0d533440ce65befd3929c71c","src/zlib-ng/inffixed_tbl.h":"a94225335396245e9f0ccb2e9b4b334fe7ee0111ed8e32a26bcd52187f364314","src/zlib-ng/inflate.c":"f33e2e7eeaa4b33ba6a2c327f8c9939e6b847afbdad349da65c97bf81c6083b5","src/zlib-ng/inflate.h":"eb25527d1bdedaa45167926dce4c39d9aaa3147b0f4a95f38f5916528c30a09b","src/zlib-ng/inflate_p.h":"4a94c51194da119770cf662ef289994f0c78d95184d54d6ae5d50a393e8f5a62","src/zlib-ng/inftrees.c":"7a777f5ff02ce60fbad6cb843ceadd7b3a8a8a0476ae010c87a0377c2e88f780","src/zlib-ng/inftrees.h":"fa80eb11c2290b345470a03cb861843e2cb1365135233ea8243e9fd79d3618a1","src/zlib-ng/insert_string.c":"aa22ba53a1e75821499809277f9ca0e5ef92b07a618136dd11ae1734e233b7c9","src/zlib-ng/insert_string_tpl.h":"1ceba9903324d10aad6e1d83653c4d534a5b06fd09076414a06215482be00bac","src/zlib-ng/match_tpl.h":"eeab4c6eea8511a7579738e622af062ad16f4016312e93ad34bc5903d8b3c4a1","src/zlib-ng/test/CVE-2002-0059/test.gz":"60bf96b8f433bd7e057ce3496aceaccd70ec80f596a4aa8bcc7786056705ce66","src/zlib-ng/test/CVE-2003-0107.c":"6ed6fba710f8f2b898750f0ec17720fbf01e45c39e8adbba6409681b34914140","src/zlib-ng/test/CVE-2004-0797/test.gz":"38caae524705f676bde13a8df9fc8c7d2fe105ba6bdbab62a405b0276fd3aa2e","src/zlib-ng/test/CVE-2005-1849/test.gz":"e4d5a60617df4b5dd44eda94751ce1eacdb325792bba6e3cc4676719a3adf742","src/zlib-ng/test/CVE-2005-2096/test.gz":"8f702d4861aa3ec98ac03a59ff26b430939630cb5cd4266d2658d3b836d576f9","src/zlib-ng/test/CVE-2018-25032/default.txt":"d7f8278db331c47bd1208bf41e7903cbddee4f7b47c666c40afdd3c96237752e","src/zlib-ng/test/CVE-2018-25032/fixed.txt":"3b27a98edd2f3f580033f9add11d3469d7808c969a1128ee00c18ac7a12cef57","src/zlib-ng/test/GH-361/test.txt":"358497d0a7251ea42101dc77b02337f46fd89af09643a8288e2a3082e5d24128","src/zlib-ng/test/GH-364/test.bin":"af5570f5a1810b7af78caf4bc70a660f0df51e42baf91d4de5b2328de0e83dfc","src/zlib-ng/test/GH-382/defneg3.dat":"b22bef6b7392401c9e7b079402c4a4074053d7a914d050400e37fd7af6fe26d5","src/zlib-ng/test/GH-751/test.txt":"b83d833803b7bc3124fb2a0034081f0b999ad10c33a8dfa3bfd181dc078ae3ee","src/zlib-ng/test/GH-979/pigz-2.6.tar.gz":"2eed7b0d7449d1d70903f2a62cd6005d262eb3a8c9e98687bc8cbb5809db2a7d","src/zlib-ng/test/Makefile.in":"48d033f2dbb62635624bf2c9e3e7fe279b72afc3411d14cb7cfdbf40f5b80e19","src/zlib-ng/test/README.md":"d60ef4851222ebc2a9fbc23f292ab11bc7fee40ba6171ea768b2ffa005df5b1d","src/zlib-ng/test/abi/ignore":"02aa87f77656dbc1fbddd23f436cd15465a92df0722da4055cae1bc8bf013097","src/zlib-ng/test/abi/zlib-v1.2.11-arm-linux-gnueabihf.abi":"f5e91f25b558a891fecbeb6e2e9575698630ab700d055a38f3bc4fe66257f513","src/zlib-ng/test/abi/zlib-v1.2.11-x86_64-linux-gnu.abi":"038337383cf780587d810cf5400d632f3a1f8517e63ac4a71b6e5224db8b1413","src/zlib-ng/test/abicheck.md":"6b4a87d760b3848fb1ded6782e02a1d074d9e487bdabb29274a62b31cdf48772","src/zlib-ng/test/abicheck.sh":"7ca2884ff37c697d380f620554525f9b9dc7fa76b45f866d284b2ea5b98c65cc","src/zlib-ng/test/adler32_test.c":"db3e8ad9a4e2ecce0c052b0bfe19834d3ff2fb2e9239cc3438a2c95db00b1d21","src/zlib-ng/test/crc32_test.c":"8f1223d8aa4c52a5e7323f422023f6b892ce684eaf7439ad905b855293f40143","src/zlib-ng/test/data/fireworks.jpg":"93b986ce7d7e361f0d3840f9d531b5f40fb6ca8c14d6d74364150e255f126512","src/zlib-ng/test/data/lcet10.txt":"1eb5d7bddb1c3cb68064d5b5f7f27814949674b6702564ff7025ced60795a6d9","src/zlib-ng/test/data/paper-100k.pdf":"60f73a051b7ca35bfec44734b2eed7736cb5c0b7f728beb7b97ade6c5e44849b","src/zlib-ng/test/deflate_quick_bi_valid.c":"a36697e5779a645354823f14540bd60b9378c2f4c5f2bb981d86bb34f29fcbb0","src/zlib-ng/test/deflate_quick_block_open.c":"455bd347bb88debdfacb409846170274991ec9ba71c52b8fd0e526daf57265eb","src/zlib-ng/test/example.c":"1c8d9d14128da9fb5415683aa7318ae0aa94b743f75905288a2a9decd4ead98d","src/zlib-ng/test/fuzz/checksum_fuzzer.c":"65a96358c9a82efc4b251b4f322b02fade7b69f9bc6ac07294e641e3fe1ccdb1","src/zlib-ng/test/fuzz/compress_fuzzer.c":"1ab70608075c4bc60f89aa2f327cff88362ee7b1d31da88ed54ca51e5f99e5c9","src/zlib-ng/test/fuzz/example_dict_fuzzer.c":"be68f9eee3deae7f9163c6288742e5455bc28f659f80fdb276fafe215f028b97","src/zlib-ng/test/fuzz/example_flush_fuzzer.c":"f12246a184dcfe0a19a98cdc742a1fe8da388ad20b406635d63f1fa10d45b9ca","src/zlib-ng/test/fuzz/example_large_fuzzer.c":"f490abcd332fb4e7921292adf6876d38d7f71c8d2443212c781ba88957ff9303","src/zlib-ng/test/fuzz/example_small_fuzzer.c":"a9b3436b291ace821b6013311a1100e19a9e1c67fefd3f97dbd60688f9bf22b1","src/zlib-ng/test/fuzz/minigzip_fuzzer.c":"5faecfe9e6ecc47e746151bd1cc24a2e2dba8b7ffeb270d2c88cb126273ab446","src/zlib-ng/test/fuzz/standalone_fuzz_target_runner.c":"f25649ed35b8b7a3899c8d7ff52f9972dfc7bf274889e0a7a77fbfdf1c1cfef0","src/zlib-ng/test/gh1235.c":"8310ef780dc483a1708750cd7c120b8e9cc0e1614767d24c01869e529074e981","src/zlib-ng/test/hash_head_0.c":"448def3e8ea13fbcac86202e50b8a71b6cea585d7bdbca0bc6cf6056e4059f98","src/zlib-ng/test/infcover.c":"9c0e8068fdc614b1852e8d274231b41ce3ce975d4419ed31e700a0b05e702303","src/zlib-ng/test/inflate_adler32.c":"ab430c97ae8f569784710118038e8ebf53f4136d1a957e1277c0904f9218340b","src/zlib-ng/test/minideflate.c":"34fdce39628ffd173f7736d9fb65dfa40d0b0289def64b935075f6c6cffe1999","src/zlib-ng/test/minigzip.c":"7dbce6528601f7fdd586280885ed439cb539e15f36dd3974274729bfcdd41928","src/zlib-ng/test/pigz/CMakeLists.txt":"aa70f1025adc004985bfe0accee9b7a80e04786d82705e27c377a5e8d4ecbaaa","src/zlib-ng/test/pkgcheck.sh":"581b3de9c58e96038af94c73cbdb30eed32900f7abb8fa7692426fa68059b0ef","src/zlib-ng/test/switchlevels.c":"ceb6cc4d48a637562009d8f7f82635fa9942acd1bfd597acd99454a03a3a98e3","src/zlib-ng/test/testCVEinputs.sh":"5de6198444c16726f8e0a8f2beb5b89c5ae7e7e3736ce760b9fbc719493e7e4f","src/zlib-ng/tools/codecov-upload.sh":"ec7a8f1405820810e486e3d7e2fda7eb958c17877b0000b93abdf09d87732a2f","src/zlib-ng/tools/config.sub":"32186cfeb5db62c99e1dfbfb07f24c1a50977447b4c26d2907021c74422a70d2","src/zlib-ng/tools/makecrct.c":"55c8f7b8e29393e95988a29de8cb1a1bdf2738a69d53627bd0f9d7bf169bf0a8","src/zlib-ng/tools/makefixed.c":"bffd02540231304f9bcc755b8cb9ae5cfbc48975857bbb4547f1d6acce21ef57","src/zlib-ng/tools/maketrees.c":"30e9f70addf691d1241e594a7f31fc78b119b65e8af9ac8e20fe6da01635d3b3","src/zlib-ng/trees.c":"2cd9a1dc8d9231e9fc4e53e56b87307989c1b7f33212cde4ee434ef71c28af2a","src/zlib-ng/trees.h":"24174f3543b01ee1ef370bbf6d15551a21871cded18b2aadf09a71e7904b6f99","src/zlib-ng/trees_emit.h":"2e93093ae5362523a26877d6fd663bb05793795889d2bfb987cbada9a9dc4517","src/zlib-ng/trees_tbl.h":"35f4fd0ec080c1ade342e2dd1b0f5cdc7e9f18990faa48d7a8a69bc318ebe607","src/zlib-ng/uncompr.c":"4ebb486b27930f8a6ec4a3cc90a207d0bcf8a4779d1dbf3b2184a2b2a5735cd1","src/zlib-ng/win32/DLL_FAQ.txt":"f17fd3823726adbae63b91c00d5db1dccae2e289258edabbbbebde04bb6e7e8c","src/zlib-ng/win32/Makefile.a64":"775d6902373d1583430b5d7467f001746be323610c89be27e02bbfe0205994f3","src/zlib-ng/win32/Makefile.arm":"7535e022f482920c3fa7a267e84e39ad790d150f72e5c30414baa156c2fdd9b6","src/zlib-ng/win32/Makefile.msc":"d769a00c0ad4cb5fc624d2ae004dfa3785a2f4310324b03afd2156e759003a06","src/zlib-ng/win32/README-WIN32.txt":"cdcca6e7a5d2d23618a48fafb8eea347227f8ecf1f38a6aa90f0e7e455bc6574","src/zlib-ng/win32/zlib-ng.def":"f240276caf805a10d024fc6a66efe915c435734c69732818d92fb04d08ab350c","src/zlib-ng/win32/zlib-ng1.rc":"ea0ea4d116b583510b113a27fdec2ad4f0890206963f0e3838f275b8005dde5d","src/zlib-ng/win32/zlib.def":"d9c371ff2677567350386441a2e3d0258010d6502290bbac5ac42ea168bd5212","src/zlib-ng/win32/zlib1.rc":"ec5021dba35f9fae5f5f82ad6b6bd059928548e0608e4ede0bcffccf5c1210a1","src/zlib-ng/win32/zlibcompat.def":"73728b9df4379dc70ebd9b2a9f20d6e4ed7c031fa1f351cdeae1de7d1db05bd1","src/zlib-ng/zbuild.h":"d4d52d3296cc949a5d694e7349a8236854f2ec116c184a310e4e62b28caf5b63","src/zlib-ng/zconf-ng.h.in":"f206ac69c1fa48c670648d26028263372a539ed1243a9a26e5b35bf52e2363ff","src/zlib-ng/zconf.h.in":"dbf08736c3bc5e41242b09e13d0a523b440250410476dd58747c14e28984f1e5","src/zlib-ng/zendian.h":"f5cfa865281d2c5d0b097d318500f27daeec346e7882de68e279486d79c52e77","src/zlib-ng/zlib-ng.h":"d51896e8411868ed195d5cf41fda4f1c5a9c891832dfd16b559a5ed6beedd890","src/zlib-ng/zlib-ng.map":"03ef4439594619e215dbb1717f8c13e16159308ef3817761ba1a3cca7f7834df","src/zlib-ng/zlib.h":"7e3666971e08019fc7097f11d593aac9ff6824a1ecc945c48f76009f7c27d55a","src/zlib-ng/zlib.map":"9997aa913dec6da106ab2089d2a72ca5e1b7fafe0807ac0bc1318ce8c8defab9","src/zlib-ng/zlib.pc.cmakein":"17668e07edbe5971043bea26a2f2b92c4c7cf4724620f1156f3ea1436d2aac93","src/zlib-ng/zlib.pc.in":"cf94c9aa44878a62e27c2f75354c08326b3bb5250a9b11496855cf59691177bb","src/zlib-ng/zutil.c":"53418b23c7878e968b4d04df8ebac74f64f60d32277f2343d16da52059dbc782","src/zlib-ng/zutil.h":"a14c18dd4a96909aaf0aa016cb6df97d77cf5b735283527c906181eead22f0e9","src/zlib-ng/zutil_p.h":"c259b33614007463b41d4184e0bdf10d62325445ee9308e1e1885862d201657a","src/zlib/CMakeLists.txt":"d3ea46cd350c74c21c2dd97f6d0ad354db76b2b43cc91ec1144b88267f67a588","src/zlib/ChangeLog":"6933f4ab74360476bc80d9eda2afd98f93588a5d276e1197926267421dd6959e","src/zlib/FAQ":"1e8a0078be0ff1b60d57561a9e4a8cad72892318a8831946cba1abd30d65521c","src/zlib/INDEX":"3b4e325d47ae66456d43fcf143ba21ab67a02a4f81be7ef2da480ba30d774266","src/zlib/LICENSE":"845efc77857d485d91fb3e0b884aaa929368c717ae8186b66fe1ed2495753243","src/zlib/Makefile":"ef23b08ce01239843f1ded3f373bfc432627a477d62f945cbf63b2ac03db118a","src/zlib/Makefile.in":"77a662b885182111d7731eef75176b4c5061002f278b58bf9bf217e2fa16cadb","src/zlib/README":"4bb4d5664fb9d06ef0d47e8ef73104bd545a5a57eb7241be4f2e0be904966322","src/zlib/adler32.c":"d7f1b6e44fee20ab41cef1d650776a039a2348935eb96bcbd294a4096139be3a","src/zlib/amiga/Makefile.pup":"a65cb3cd40b1b8ec77e288974dd9dc53d91ed78bbe495e94ccc84ddd423edf1f","src/zlib/amiga/Makefile.sas":"0e63cf88b505a1a04327bb666af3a985c5e11835c0c00aed4058c0dcc315d60e","src/zlib/compress.c":"6d0f0d0784744acca2678ce325c8d7c4c030e86f057adb78adcee111d2248c0d","src/zlib/configure":"2d964a697f9060d3a8fc5b4272c9d07b22e5fe6f5cf327e5c29f62f67d935759","src/zlib/contrib/README.contrib":"b925ae08d371b33c4b5ffd67c707150729a476caf47cfe2eafc002291f23f931","src/zlib/contrib/ada/buffer_demo.adb":"469cf566a6965767fee6b987a239ed8cedcc66614940d45a9b434331fbb435ce","src/zlib/contrib/ada/mtest.adb":"41b6f31684770334afdc4375871eb1408542f37a823a073556fdbfdb63753160","src/zlib/contrib/ada/read.adb":"fa5b989aef0c5715a3fcb15de93985f7f10aeb0a7f5716745c95ed820eb9af9c","src/zlib/contrib/ada/readme.txt":"8fe9e5303f2e8e8b746c78250e74b7c4aeb7ce6212fdce751fc3a0ce56a47fe2","src/zlib/contrib/ada/test.adb":"5e3abe79b387e09a9a42bd0543105e228f39a335240cffc33d71f0ba66ff2511","src/zlib/contrib/ada/zlib-streams.adb":"f45988e2bac76eb25a0dc981f46576e7432c35dde1790bbc2b650f0090b7fa72","src/zlib/contrib/ada/zlib-streams.ads":"969e8edb0611810fb52159dcb7c40228f4e5da810a7a3576b778116a93038c6b","src/zlib/contrib/ada/zlib-thin.adb":"03d89244ee5ec9771d9b5050e586c609f851af551b2e64eb151f1d5be0b63ae9","src/zlib/contrib/ada/zlib-thin.ads":"631ef170bde16c3ca8d412b54a0e519815b80197d208f8f393e6fe017bb0968e","src/zlib/contrib/ada/zlib.adb":"c9ca5dc34fbcdf06e2dc777b7e9dcd0ba31085b772b440eb0e12421323ab672c","src/zlib/contrib/ada/zlib.ads":"02634bec0d5e4c69d8d2859124380074a57de8d8bd928398379bfacc514236d2","src/zlib/contrib/ada/zlib.gpr":"859bb69dce38dbe9dca06753cf7ae7bd16d48f4fece8b87582dab8e30681d3de","src/zlib/contrib/blast/Makefile":"17d5d26c24bf51cad51045a38ffb73cc3539d29e89885aa249fcfd45a8659d5c","src/zlib/contrib/blast/README":"baa763ae03d88ef7ece6eb80d9a099b43d0b57639d6d281e1c7c6ca79d81daba","src/zlib/contrib/blast/blast.c":"1ab3e479d342bfc144167b808fb00142264bc50f24a110ca88cc774e351c218e","src/zlib/contrib/blast/blast.h":"9c1c422b76311d4cb06863ffc056668b6240f3dd998bc02e89ee590d482bfdc2","src/zlib/contrib/blast/test.pk":"5f5c262c545574a5c221132d5ef832478d222d70b015341795b3860204140d7c","src/zlib/contrib/blast/test.txt":"9679b2c98e1283222d0782b25a1c198dc64ba9ebd1addd6dc6f643a45947cda3","src/zlib/contrib/delphi/ZLib.pas":"6dcc65866e3fb3d33d2a2328c547458156883a3e6749d52ded209357a49d61de","src/zlib/contrib/delphi/ZLibConst.pas":"84bcc580bdf397e570f86f3f5a5b8c7bf537828f30b4b72648b81911f6bf5095","src/zlib/contrib/delphi/readme.txt":"f7420ed2de77d4b498eefbbe6402a1d17dc2d411735289c78a265c7f10fdaee5","src/zlib/contrib/delphi/zlibd32.mak":"850e91b6c9ea05de61a411cbda16fa0f10118cd88bb32c4b7226988776f8d511","src/zlib/contrib/dotzlib/DotZLib.build":"b96137097669644ecb9f42cdd3399d1fce9c512788374609303f7e50abf597f0","src/zlib/contrib/dotzlib/DotZLib.chm":"20d0e3edd57f849143255a7f0df1cd59d41db464a72c0d5ab42846438a729579","src/zlib/contrib/dotzlib/DotZLib.sln":"a979198c5b8d144c1ac8f993bfb6f4085d135aa58ca9dcf63ebabf52b5c695f7","src/zlib/contrib/dotzlib/DotZLib/AssemblyInfo.cs":"314afcfb339ea95f5431047b7ab24631b11c3532c7ce5dc2094ed0cf80a7c16d","src/zlib/contrib/dotzlib/DotZLib/ChecksumImpl.cs":"e7c047a2c3bcf88d3d002ee3d2d05af414acf53cb4451efacc0f2e95a474ea0f","src/zlib/contrib/dotzlib/DotZLib/CircularBuffer.cs":"be84c9736fe7bdc2bfae70466d8fff582504e928d5b5e110fd758090090c8cb7","src/zlib/contrib/dotzlib/DotZLib/CodecBase.cs":"259bdda1b7d6052134e631fa24bfd9dca6e2362563496c8b85257b56c848908c","src/zlib/contrib/dotzlib/DotZLib/Deflater.cs":"06ba6696a3c15c53ba5fd5a1c2bf50b51f217010228fc1e4c8495ee578f480de","src/zlib/contrib/dotzlib/DotZLib/DotZLib.cs":"9837fe993fd631233cc5e53ff084d86754b97f05ec77c54b0764c2706f186134","src/zlib/contrib/dotzlib/DotZLib/DotZLib.csproj":"21606db31dfef6410dd438b73f1db68856eacabcce6c0f0411fc4f17e17001f3","src/zlib/contrib/dotzlib/DotZLib/GZipStream.cs":"8d1de9755c77046b4ac71340a0a54434ebf4fd11b085c44454d7663a9b4df1c5","src/zlib/contrib/dotzlib/DotZLib/Inflater.cs":"9016ca73818f5b6a28791abc3af6da7c4d2773b6a3804f593f6d5737a62b99ad","src/zlib/contrib/dotzlib/DotZLib/UnitTests.cs":"c95048d763c7e367ba0bb7c31981e0610131fa12356bbd9bfdb13376778e9a0c","src/zlib/contrib/dotzlib/LICENSE_1_0.txt":"36266a8fd073568394cb81cdb2b124f7fdae2c64c1a7ed09db34b4d22efa2951","src/zlib/contrib/dotzlib/readme.txt":"d04972a91b1563fb4b7acab4b9ff2b84e57368953cc0596d5f5ea17d97315fd0","src/zlib/contrib/gcc_gvmat64/gvmat64.S":"22ff411b8b1d1b04aeaa8418b68245400267dc43c6f44104f6ccd37f0daee89f","src/zlib/contrib/infback9/README":"890288f02bb3b1f9cc654b87a07fcea695f90f6b9bd672d25bf6be1da2ec1688","src/zlib/contrib/infback9/infback9.c":"0a715c85a1ce3bb8b5a18d60941ffabc0186a886bcc66ba2ee0c4115a8e274e9","src/zlib/contrib/infback9/infback9.h":"dda2302f28157fe43a6143f84802af1740393572c2766559593996fd7a5a3245","src/zlib/contrib/infback9/inffix9.h":"84a2ba4727767c18af6505f0e81d9c814489c8b9ed330a25dad433db72997e43","src/zlib/contrib/infback9/inflate9.h":"32a907676cc36e27d0fdc0d99adb83a0b23f20ab61896269216d40fecf08d349","src/zlib/contrib/infback9/inftree9.c":"1f262e5ae8094c9d8b172241e567c86be560327b840ca8fb771e98461bcb158a","src/zlib/contrib/infback9/inftree9.h":"145072793141cb313c91cdf9dee9d4b8e8a38d77099f87e9cd05c7b5ead8f099","src/zlib/contrib/iostream/test.cpp":"0f3c77e013949eb9c91e6b690ea894e19d97944d6b0885b82806fc3ad99680cf","src/zlib/contrib/iostream/zfstream.cpp":"8ebb9b3d521cc3392953f27658cf1f6dcb763216079f69a1518ec5ca0e42a63b","src/zlib/contrib/iostream/zfstream.h":"4369c35e66f63f52ca4a5e1759bf720507ccabb8f3f132e2f18e68686c812401","src/zlib/contrib/iostream2/zstream.h":"d0343e0c57ff58008b6f29643d289c72713aa2d653fe3dcd2e939fc77e7e20b6","src/zlib/contrib/iostream2/zstream_test.cpp":"f789df183cc58b78751985466380c656308490a9036eb48a7ef79704c3d3f229","src/zlib/contrib/iostream3/README":"43ec48ecbd95a8c45db20b107fac73b740bb11595a4737329188f06b713972cc","src/zlib/contrib/iostream3/TODO":"af5ebc83fb88f69706c8af896733784753dead147687e1c046f410c0997fd88b","src/zlib/contrib/iostream3/test.cc":"8e17fc48dfdbc6e268838b8b427491b5843b6d18bc97caa6924de9fad7abe3da","src/zlib/contrib/iostream3/zfstream.cc":"8cdd67ed0b13c192c11e5ea90e9d5782d6627eb303fbc4aa5ebda2531ec00ff8","src/zlib/contrib/iostream3/zfstream.h":"1bd74778fac45ee090dfc0f182a23e8a849152deb630606884b2635987b357b1","src/zlib/contrib/minizip/Makefile":"0f59cf07531cf34cb359f9dbe26d8207a2bbbdad618557894eb629925f7e8899","src/zlib/contrib/minizip/Makefile.am":"2313a3480a2c3745fa7ce216829cd0367058907d3a0902e5832c66c84a2fdfc6","src/zlib/contrib/minizip/MiniZip64_Changes.txt":"302c62b328647f5472fb7755249a83459be7f8ffb1fae07e8ba318fce8f4126c","src/zlib/contrib/minizip/MiniZip64_info.txt":"122719c32ef1763a5f6ba9c8cdefc1d78a76f7156b09e7b6f69b73f968e0dac3","src/zlib/contrib/minizip/configure.ac":"959e4762ddcb36dcf30512611ca9fbcbcd0c943228a6ac2975708798ae09a438","src/zlib/contrib/minizip/crypt.h":"1d25a0fab3189dc3c6ae43c7813e1e5d07d0d049bd32bd7bd0e9ccd752bfdd5e","src/zlib/contrib/minizip/ioapi.c":"f6878a3ecf6802f0f75cadb41a114fa274636c386bac794c66cbb27a24d9a29f","src/zlib/contrib/minizip/ioapi.h":"9f5448f8d5e8894d6f397dd09d24f7ff39cb818cd493a8bd90dda19553b814ea","src/zlib/contrib/minizip/iowin32.c":"103cdef91d57ceca7a1c1973772ff7e1d44c7b3e227a3640171957302bd9e974","src/zlib/contrib/minizip/iowin32.h":"586f22b9c3c64da253ce2b518e0fad61f19a7b47b289fc704cc9708242294c49","src/zlib/contrib/minizip/make_vms.com":"65736d9c4888f2373d3db0a13864d150c5040453f5bc2a5c8784379a7ea67590","src/zlib/contrib/minizip/miniunz.c":"b29dfb4cff9763497d8f0656c97027995e1ea0b4104e4a217ba7882337ae7a7a","src/zlib/contrib/minizip/miniunzip.1":"66d8684392167091ef0fe01598d6a0daa26e7e448e2df6c3cb257487735b83f7","src/zlib/contrib/minizip/minizip.1":"5404596e8e5587a52f563906119f32ceee30a6d97a966afa5c7afbe4d373e210","src/zlib/contrib/minizip/minizip.c":"b5b8f380297be0d90265356704df1e41bee0e903a2169263a2b50dc22cc3180a","src/zlib/contrib/minizip/minizip.pc.in":"8b6670b42d8e5e519e1cc89db093efc07ba23cb1ddfedd3c93ff2df08c3ce8ac","src/zlib/contrib/minizip/mztools.c":"cd887c4af6d20823bd15f24008b10acf01969b4165d7848656bde843a92428d7","src/zlib/contrib/minizip/mztools.h":"6f82c52279e8f79165f4446be652e5741a49992ac58632470335aa34c564072a","src/zlib/contrib/minizip/unzip.c":"fc9e8d752618a05c1f3a2ce61ebf76d0c8053dd5579458f836834a36e8690bbe","src/zlib/contrib/minizip/unzip.h":"20cdc47658a3e41db897d31650e46cd2c8cca3c83ddaaeb6c7a48dd8b7f18e03","src/zlib/contrib/minizip/zip.c":"bee2d6fa310c9451b24c036d5840a8c7c90b7cf8d12d5767175c207e56fefcc3","src/zlib/contrib/minizip/zip.h":"75b635dca8294790ab7ec1f72e9f1fd352d75b189c3c9b61c68f76bd7e612043","src/zlib/contrib/pascal/example.pas":"d842d456ecb6ff80e34cee2da31deb2072cc69ca837497bea8b8bee203403474","src/zlib/contrib/pascal/readme.txt":"02f997c37991ddae0cb986039f7b4f6fc816b3fd0ffd332cad371d04c12cf1b9","src/zlib/contrib/pascal/zlibd32.mak":"850e91b6c9ea05de61a411cbda16fa0f10118cd88bb32c4b7226988776f8d511","src/zlib/contrib/pascal/zlibpas.pas":"720346d2f40429de31bb16a895f42e878f259b1aff7d46c63e6616e629b3f7d5","src/zlib/contrib/puff/Makefile":"d9d738030464aaae354196c14fd928adf591832fce7d71ac1977c1d8d4923a4b","src/zlib/contrib/puff/README":"c5b9852fb11e0d6b6e916e5134cf034524d901b95368972133e0381e480eb479","src/zlib/contrib/puff/puff.c":"433f7f4495481dd95576dbb548b1bcfc5ca129d30421695fa609f5f6c14908b6","src/zlib/contrib/puff/puff.h":"969b7be2a930db0cdcb19b0e5b29ae6741f5a8f663b6dba6d647e12ec60cfa8e","src/zlib/contrib/puff/pufftest.c":"d24e31c1d277d07c268f34e9490050c6b53c68b128da3efbb1d05fc5b31004f7","src/zlib/contrib/puff/zeros.raw":"b7b0887089f7af1f6d1e0b4c0a1e8eddd10223b23554299455c6c9be71b653a3","src/zlib/contrib/testzlib/testzlib.c":"c6c37b35c6ecc9986a9041f86d879cc37a9e4d8315af9d725071eb3b2cade0c5","src/zlib/contrib/testzlib/testzlib.txt":"2359bbdc84eb8a04e0f1cd16cd81a2896e957f2ad58dab3ca78ef55b7d0dc577","src/zlib/contrib/untgz/Makefile":"8f5ab1564813e091cea8f1bb63da32fd80ac763d029277b0cabf50f60aceefe1","src/zlib/contrib/untgz/Makefile.msc":"d0f537de11d9e0e36e2a98b3971c537265f4b533b4c48797094365ad9ae8388b","src/zlib/contrib/untgz/untgz.c":"9a12d774301d252dcd38bba07ac369319da4c04c4fef8a50fcbf40aebf29c2a1","src/zlib/contrib/vstudio/readme.txt":"df5fe112bef3c23d5767602736f6d0ce43cbb49b584210fe57f6f59e634a49d0","src/zlib/contrib/vstudio/vc10/miniunz.vcxproj":"dd607d43c64581172c20c22112821924dfe862f56b2e5eb8780bdd0714d9527b","src/zlib/contrib/vstudio/vc10/miniunz.vcxproj.filters":"4b8466bf00c70b81c31cc903e756e04151fd90fdcbe102f3568a2c8b6190ea27","src/zlib/contrib/vstudio/vc10/minizip.vcxproj":"af73f2cf8ae51e65e85342faeb40849a2310c97bc77def42b38d7070460a6cf0","src/zlib/contrib/vstudio/vc10/minizip.vcxproj.filters":"f2815f9e3386c393d0a351632823b221ef9689da1f422ecaa561dba2a612fb0a","src/zlib/contrib/vstudio/vc10/testzlib.vcxproj":"c21e64259bf9efe97e1103212e7a6e1b7372b50067b4ba14cfa678e1f491095f","src/zlib/contrib/vstudio/vc10/testzlib.vcxproj.filters":"a7caddbac3ba90b5d482e6d926ef35cc40dc3553ed3776ef6b68a528fd5b0631","src/zlib/contrib/vstudio/vc10/testzlibdll.vcxproj":"3f317d8964f17901c3e68bff5deaec10b6ccc50a572235999e8097292692984c","src/zlib/contrib/vstudio/vc10/testzlibdll.vcxproj.filters":"29c9535775aa76320ee4efd001d41961faf6c58cedd8b29d3986e85f73d2f6fb","src/zlib/contrib/vstudio/vc10/zlib.rc":"6041a4727ea47520058a5b4bb8de87592883eb7f26dd39df62879c347f3888d1","src/zlib/contrib/vstudio/vc10/zlibstat.vcxproj":"50402ab8c63f746c034d6ce51d9612aff5b6af9aa27790cffa4b7deed4b30eb8","src/zlib/contrib/vstudio/vc10/zlibstat.vcxproj.filters":"eeb1de64c252c46b822f73f272127f6f9f0570ef22d234e093070ba95a4dde24","src/zlib/contrib/vstudio/vc10/zlibvc.def":"a228e521a561d4456c83c7081b4e9950cfce99133af7d5fdd27f12a8fd53efde","src/zlib/contrib/vstudio/vc10/zlibvc.sln":"e659860f705f31b87ea9139a3cb4ebe1561e120bce495383a54614fc82b49990","src/zlib/contrib/vstudio/vc10/zlibvc.vcxproj":"efad8cb150c0e5122f8c700d95c5de659dff92b171917c66bdbd082fff500b58","src/zlib/contrib/vstudio/vc10/zlibvc.vcxproj.filters":"c801732b7c7017796add50d2b71a228f99f95a46650baad307ff7e8358a2bfb0","src/zlib/contrib/vstudio/vc11/miniunz.vcxproj":"746e4c11fb8af4bcd6a9d68ba81ed1dc366a5de3bed56b291ee969ad733a7bb0","src/zlib/contrib/vstudio/vc11/minizip.vcxproj":"340617cae9cf4fcb003308021d3782ec3639e60d62d79a3aafc0a50bb55b061e","src/zlib/contrib/vstudio/vc11/testzlib.vcxproj":"99eadfdf2e41bc036141c174c4d0035d87572ce5795dcc28f39133f818a79d08","src/zlib/contrib/vstudio/vc11/testzlibdll.vcxproj":"583bdef522b0176829f0d8139ea2a88b9cbc14379d1334f3a863989ed3df9b67","src/zlib/contrib/vstudio/vc11/zlib.rc":"6041a4727ea47520058a5b4bb8de87592883eb7f26dd39df62879c347f3888d1","src/zlib/contrib/vstudio/vc11/zlibstat.vcxproj":"b07f792843d05ac883391075bc3b9625437490d8d40944ad359aa2134a09a3aa","src/zlib/contrib/vstudio/vc11/zlibvc.def":"a228e521a561d4456c83c7081b4e9950cfce99133af7d5fdd27f12a8fd53efde","src/zlib/contrib/vstudio/vc11/zlibvc.sln":"27389b515997defd080519f95aff87e89fcbe8b26d73c5ebb73c544cfef4d60e","src/zlib/contrib/vstudio/vc11/zlibvc.vcxproj":"d02d014ef957119a6fd0ab243c892b74d1592b117750b95fed21097c8ed922d9","src/zlib/contrib/vstudio/vc12/miniunz.vcxproj":"1494af54570f6e93852932956d49a8c25e57b5abc1ac979945605ca9143df9f8","src/zlib/contrib/vstudio/vc12/minizip.vcxproj":"9bf128ed6760ca5f019006f178b1c65f4c7ff122dba8d297b64b0eb72feeb120","src/zlib/contrib/vstudio/vc12/testzlib.vcxproj":"be88bc1220c0447c2379fdab3ac88055f58a8a788d3e9cec494342187e760eaf","src/zlib/contrib/vstudio/vc12/testzlibdll.vcxproj":"93416510256935d79625dc9fd349cfce6968c062d42a138bec404a26b2f92f5e","src/zlib/contrib/vstudio/vc12/zlib.rc":"90067be57a8c5df594a850352642f8b1dcb32e3d088d3805ebafe75a27412b74","src/zlib/contrib/vstudio/vc12/zlibstat.vcxproj":"faa229a851c76b77d65bb4742d8369efe566652bb6a1447d1e3539f289b5313d","src/zlib/contrib/vstudio/vc12/zlibvc.def":"a228e521a561d4456c83c7081b4e9950cfce99133af7d5fdd27f12a8fd53efde","src/zlib/contrib/vstudio/vc12/zlibvc.sln":"162e0faa80a56d89eea71a0b89377708eec2faa0dc72091cc0abb07fbdea49a0","src/zlib/contrib/vstudio/vc12/zlibvc.vcxproj":"8ac8cb2d29b880a738011d29d0511af9b14f321bed90f674109c446f4108d442","src/zlib/contrib/vstudio/vc14/miniunz.vcxproj":"0312511d4a30cea979c4e36edf994a537ed8a9d924f6b5c536cbcd094773c11f","src/zlib/contrib/vstudio/vc14/minizip.vcxproj":"9e7bb7a6ac723e4b2db900627c366f9bb93a351381995d9c69a50c0126f64233","src/zlib/contrib/vstudio/vc14/testzlib.vcxproj":"88667873d9d61d65016b9501ca925532eb55f56230e5911d3e2a01cd8a9fb2a4","src/zlib/contrib/vstudio/vc14/testzlibdll.vcxproj":"69f544898b4275cd3d8e19b8f1f8cb39c1cb98a30cdb033242e4b94c57bfa150","src/zlib/contrib/vstudio/vc14/zlib.rc":"90067be57a8c5df594a850352642f8b1dcb32e3d088d3805ebafe75a27412b74","src/zlib/contrib/vstudio/vc14/zlibstat.vcxproj":"5629eb0cc30674a39aa3636f1cdd190393b0dbd4c69a35e36ad85b6340055605","src/zlib/contrib/vstudio/vc14/zlibvc.def":"a228e521a561d4456c83c7081b4e9950cfce99133af7d5fdd27f12a8fd53efde","src/zlib/contrib/vstudio/vc14/zlibvc.sln":"47a50bbde8ca6336cecd8c0e4b65e515fc46ae84c7b61008ac9864162f777286","src/zlib/contrib/vstudio/vc14/zlibvc.vcxproj":"09f496a2ad3afdd5e3f36b7285440369dcac4559656edc00ed7a74c7ec9fa10f","src/zlib/contrib/vstudio/vc9/miniunz.vcproj":"7db9b2ef5ff05d3de4ba633feab10e85d45434c865d520ffa1974421904996f3","src/zlib/contrib/vstudio/vc9/minizip.vcproj":"7797a9ad3c0056f3a3cf8fcde7618acd1d151c65d15f841fccd8d9d878ae7bb0","src/zlib/contrib/vstudio/vc9/testzlib.vcproj":"8df405917800adccee6bad2116022c2c82d661b37ea40ea16405fe4dbcb4b69f","src/zlib/contrib/vstudio/vc9/testzlibdll.vcproj":"cde6806f5c81d1fc311f9921c17ba56f8e386d097783a6a90875d385837c47e7","src/zlib/contrib/vstudio/vc9/zlib.rc":"6041a4727ea47520058a5b4bb8de87592883eb7f26dd39df62879c347f3888d1","src/zlib/contrib/vstudio/vc9/zlibstat.vcproj":"d393d418d827ad9fb9c6516f1a7620371d15e3f5afef8ba60b51e50acc7199e9","src/zlib/contrib/vstudio/vc9/zlibvc.def":"a228e521a561d4456c83c7081b4e9950cfce99133af7d5fdd27f12a8fd53efde","src/zlib/contrib/vstudio/vc9/zlibvc.sln":"26e58d4b2cfcd941c367fb2a18537b3b9f002f2ac1278b700ea1129c50501452","src/zlib/contrib/vstudio/vc9/zlibvc.vcproj":"eaca98fcf166738b59fcdbd179dac9f98f985c6ba49212b186343a998816f081","src/zlib/crc32.c":"ec3ff0f97858b228513027a490e4330cbb23c6fbdd24d839902ffa89854f209c","src/zlib/crc32.h":"9a2223575183ac2ee8a247f20bf3ac066e8bd0140369556bdbdffc777435749e","src/zlib/deflate.c":"4470e36709ce7d6067fa3e8f60bb7f693b055bee42a0d6655ed71faa2db87fde","src/zlib/deflate.h":"0db1b5ef79ca6ba0f508b7b8bdaa11af45c5ebe2c89ab4f1086dc22b963a52fa","src/zlib/doc/algorithm.txt":"992590931e982c0765286c2d83f6e9ff0a95aabb08e28c30c52bae3e8c4bd5ad","src/zlib/doc/crc-doc.1.0.pdf":"064f9252d6e2e15ea56c2bd18e160e5c9c84bcd137c11a7af497aaa511ace998","src/zlib/doc/rfc1950.txt":"8f0475a5c984657bf26277f73df9456c9b97f175084f0c1748f1eb1f0b9b10b9","src/zlib/doc/rfc1951.txt":"5ebf4b5b7fe1c3a0c0ab9aa3ac8c0f3853a7dc484905e76e03b0b0f301350009","src/zlib/doc/rfc1952.txt":"164ef0897b4cbec63abf1b57f069f3599bd0fb7c72c2a4dee21bd7e03ec9af67","src/zlib/doc/txtvsbin.txt":"d1549fb75137f03102798f70fd34ff76285e717ddd520dd82274c1c0510eacf0","src/zlib/examples/README.examples":"1bc1c677bbebe1aa5e85015bb62f0cf3fcdbf95652d30494159bee6166c1854a","src/zlib/examples/enough.c":"c14a257c60bbe0d65bb54746dd97774a1853ef9e3f78db118a27d8bc0d26d738","src/zlib/examples/fitblk.c":"fd8aaaefd5eb3d9fc388bdc5b715d1c6993ecc9367f5432d3b120a0278904edc","src/zlib/examples/gun.c":"3bfd36b06284ba97d6105b8a6a5d18b2b34b75b3a1285f16d018680fb174915f","src/zlib/examples/gzappend.c":"6de91c8305e37560117bff44136abff72b16b028c0bda0bbac7ea07e4988b0ce","src/zlib/examples/gzjoin.c":"90b9d6c39a5fc91cf1cc9b96b025a508a8015dc502cd9374c754b44078593f57","src/zlib/examples/gzlog.c":"196872021c96099fd30c880ac2cccd1350fdbd81179731f3914153a26ebf72e9","src/zlib/examples/gzlog.h":"681f280437f867820bf39880e2f4fc641d402879e399ba2e6a31d73feefe8edc","src/zlib/examples/gznorm.c":"e5a8f5c3b107f27212f7d5fbfcf072a337a1b4ea32929ae31c168997438a5cc0","src/zlib/examples/zlib_how.html":"80fb647be8450bd7a07d8495244e1f061dfbdbdb53172ca24e7ffff8ace9c72f","src/zlib/examples/zpipe.c":"68140a82582ede938159630bca0fb13a93b4bf1cb2e85b08943c26242cf8f3a6","src/zlib/examples/zran.c":"10f9568b1f54cdb7474a38c5bc479aa0edb07a0eed2e999bdad4c521f6b25330","src/zlib/examples/zran.h":"9a0d4c15f898c43deae2c5e98a5c66c637a1b25573d662fe91a789c386eaf971","src/zlib/gzclose.c":"94446cf8cde67c30e64d0a335b0c941fd3fbad2e77f30180d12e61f9c2a5a6b8","src/zlib/gzguts.h":"fa85c9dabe24e42ba95c702870416ff67ecc58906321f8e74b72a50dfd7df400","src/zlib/gzlib.c":"635b7b6df79a5ce6e0f951669e4c82704d7972d8afb87278b9155c2cb4c5066f","src/zlib/gzread.c":"41c69d43fb3974bae58d9169aea3514221f70dc77bb7a35c79626dd3be01adf2","src/zlib/gzwrite.c":"c7454689751c8f41ec63a1381a0053fb149095abe1c3b89c8a996b2d7ac8adce","src/zlib/infback.c":"6a6cfe3d7e239d590692bc2664ac58d3ef92be30ff4cb3c6dbf5deed28f79eb5","src/zlib/inffast.c":"41d93aefdbfee5455809130af74fcc76cf7259b1aa8b34d0060d14e57463e8bb","src/zlib/inffast.h":"7d8c1c873ce9bc346ad6005bb9d75cce5c6352aaf7395385be216a9452a34908","src/zlib/inffixed.h":"237ba710f090e432b62ebf963bee8b302867e9691406b2d3f8ee89ee7bfef9b0","src/zlib/inflate.c":"f1679575fef1717d908dd09d7bfe8fff89c21941cadd7c255a2ccccfba3a287e","src/zlib/inflate.h":"e8d4a51b07694bf48cb91979c19974cf6a5ab0b8a09d26ec0d14df349230673e","src/zlib/inftrees.c":"b9db40bbb68b63dccbcdfa78d687751e33178af8669f1c1236309cfd5d2edc0e","src/zlib/inftrees.h":"44084a93673386db6282dcb61d739c84518e10dff66d1c6850715137c827464c","src/zlib/make_vms.com":"14ed54bdd391c1648cedfb69d8a73a26dcc7f1187d59b0f18d944b7665cec85b","src/zlib/msdos/Makefile.bor":"292ab363f7ffbc4ae84d37cd9bdffd2dac1003bee52d223a8489844870f20702","src/zlib/msdos/Makefile.dj2":"9208450c2ae6dcbfcc25560b5b9ca763f461e7246e37b0552474edf8fa898906","src/zlib/msdos/Makefile.emx":"c749d6ec7f88e8e639d4f03bdbdcbbe9d1c304210be4c4be621ceb22961d3d64","src/zlib/msdos/Makefile.msc":"0e021a6f42212415b060e4ad468eb415d0a8c1f343137fb9dff2cb8f9ead3027","src/zlib/msdos/Makefile.tc":"2ae12ee2a3e62f7c5a0520d0fbe4adee772bc07fe816002b07ccb43db3daa76a","src/zlib/nintendods/Makefile":"ea5823efe6830132294eddf2f56dbd7db8712244c210bb4968c431b1a91bd066","src/zlib/nintendods/README":"e362426c47b39ff6a7d6c75c6660b20abf076cdfa5e1e421716dc629a71aef95","src/zlib/old/Makefile.emx":"d811f032272aae50123a889297af3a02fbd60d1e42bbef11466462f627ff7b5b","src/zlib/old/Makefile.riscos":"d1a488b160fbfd53272b68a913283a4be08ba9d490796b196dddb2ba535b41e0","src/zlib/old/README":"551a0f4d91fe0f827a31cbdfbb4a71d1f3dc4d06564d80a3f526b749dd104d11","src/zlib/old/descrip.mms":"8ff08c35c056df9c986f23c09cf8936db63ccf12c3c42f7d18a48b36f060cff7","src/zlib/old/os2/Makefile.os2":"6ad247c00f00ff42fd2d62555e86251cef06e4079378241b5f320c227507d51d","src/zlib/old/os2/zlib.def":"ea9c61876d2e20b67ef2d9495991a32798eb40d13ede95859a2f4f03b65b9b61","src/zlib/old/visual-basic.txt":"1727650acbde9a9e6aec9438896377e46a12699cca5d46c5399cef524dedc614","src/zlib/os400/README400":"5eb702a0dd460e2bea59ee83014c3f975e892057850c639f793bb740044a38ba","src/zlib/os400/bndsrc":"3c36a17975eed5a8d33bc5443b39fead1e68c01393496be9c1f4a61444bcb0f6","src/zlib/os400/make.sh":"143394d1e3876c61c29078c0e47310e726e1f5bd42739fe92df9ece65711655f","src/zlib/os400/zlib.inc":"dede38961ae2e7a2590343bf1ff558c6f51e46714dec33f2d11d8c34899b3875","src/zlib/qnx/package.qpg":"d521336be75bdd145281c6d166241905751ec97093ecd6fec97a313f631ac0e1","src/zlib/test/example.c":"64ae90d60b40a8aec4700e5c4e7a71898ebb92948b7a07f939b3e763cb3e8b35","src/zlib/test/infcover.c":"f654f3fcc74b33bd95cda63d13fe0ce589bcfe965544e0c17ee597d75efbd090","src/zlib/test/minigzip.c":"f9777d1e8b337573e12daa8091dcf22e88a9b155fc0acad15b8224c377bfe027","src/zlib/treebuild.xml":"89b50165782643554a38d5c58c203d9648b540e5a455531dcb58b5676a019955","src/zlib/trees.c":"b338f1ec9038bd77efc09c8fdb99ef27b5db5b3da9baa301e544adc8e3b6a662","src/zlib/trees.h":"bb0a9d3ca88ee00c81adb7c636e73b97085f6ef1b52d6d58edbe2b6dc3adeb4d","src/zlib/uncompr.c":"7b3d8ca0f10ef7c74044c3172ca8f9f50389cd0f270ee4517f438e7e06be5623","src/zlib/watcom/watcom_f.mak":"7e039b912f9cffaa40835281430bb284fa9042b0a0d12f6b34700a06bca6576e","src/zlib/watcom/watcom_l.mak":"d11b4064604a034725860e63e3f6d347056372e4b1675b183e20a93533b20cc9","src/zlib/win32/DLL_FAQ.txt":"9e00778319381e6275691dd3a89410c99065b8c0c5db96473abe8c859cbdefd8","src/zlib/win32/Makefile.bor":"7d73a0d2c3e38b7c610bbc9c22f683a4fe1ab9b8b65649a3a8ac4ff7fcc14ba6","src/zlib/win32/Makefile.gcc":"97140c30506a8f6b2edb6b3d8a1b6b539d7929d4b957deba9950301090f579bf","src/zlib/win32/Makefile.msc":"235529bd529d4690d5d4b7871fdd0a1f118f2fe18862cbdec5f5ac674c55a60d","src/zlib/win32/README-WIN32.txt":"f414b3702f8d3bf1de42e0f41604bd78c44e537aae16b6107e3cdaa5759caa16","src/zlib/win32/VisualC.txt":"9ec0babd46eaa012371dee2d3a8a55d9c7130f7895512c3371c737e4a7f6a997","src/zlib/win32/zlib.def":"c00693a5c825f8bfbdb68124fd03cb2fa5269338071147bdaa14434aaf3962b9","src/zlib/win32/zlib1.rc":"54e161029b59e99a4f9cb2281b956f00ecfb1814318ddef9c741ff4f832c5c1d","src/zlib/zconf.h":"80e0a31a4c0e6f20d1bad0df99271b9d535aa9f7c4e62f1a54f643adb4c6dfa2","src/zlib/zconf.h.cmakein":"bb12900d39488e6a9ed67ebd7cf5599f3ced8937b7077d4d5001e470c7a1392e","src/zlib/zconf.h.in":"80e0a31a4c0e6f20d1bad0df99271b9d535aa9f7c4e62f1a54f643adb4c6dfa2","src/zlib/zlib.3":"aefd0162070fcb0379dc18e27b039253cd98c148104c1097dd60e0d0b435e564","src/zlib/zlib.3.pdf":"91343dffd2876dcf4af567f299ce99872b066232451093d6d12e02e4654873d8","src/zlib/zlib.h":"a980a0d104198a53cc220c51ab5856e5be901bec8a2d02e0ee79a8754219dfed","src/zlib/zlib.map":"33e2a7c4defd6222945bb0f7191b6380afb4f518e804af86a44aad4a9090bf9e","src/zlib/zlib.pc.cmakein":"2f1d0b18ce37c2af415a469857f02aee2c41a58877aff21d29e9c6db32b55cb7","src/zlib/zlib.pc.in":"04c01cc2e1a0ed123518b5855f585c93a24526dd88982c414111ea1fc9f07997","src/zlib/zlib2ansi":"b3f9c88abbdf16143e5d5110e44fff198bcda9ee1358e036c8d445e9d0cbce85","src/zlib/zutil.c":"8108af451ad14271065844736ac7c436275b92826c319318070508d769371428","src/zlib/zutil.h":"cf94d865e3a9162c0571cba7f74c8f01efbdca26b981d6cc9c545d4c3991e3c2"},"package":"56ee889ecc9568871456d42f603d6a0ce59ff328d291063a45cbdf0036baf6db"}
+\ No newline at end of file
++{"files":{"Cargo.toml":"5fc1259b26541f617473d6b741816705c91322db9740e347a8686e3c0b30ab2e","LICENSE-APACHE":"a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2","LICENSE-MIT":"34c467b6945a22696d060b8fdd2379d464acb3408d4c599d3dc5fe4fa1b4c84f","README-zng.md":"2f9f34e6b388a401b8d8318b64997a7521e4198c5c314f8cea11433623628515","README.md":"75701bfcd7158e924f51ece8debb6d4425ccd6ad5d2806004b5f174423f4b2af","build.rs":"b383e60f71c9b40ecc807ac58473f9b85d7036e8359796634cba2701224493a3","build_zng.rs":"b7768e19f0bf876f29eabb6ad6511f530e61d8aa92bfbe89a7cf3818e4824ce7","src/lib.rs":"7c4a3394e17e6250c1f4f2067efecc56b1850827596432ad0ce75e5eea800446","src/smoke.c":"10607c81b73811bfcb9718767312bf97ba2ccf7048ea2f18a2085aa06ad7f91b","src/zlib-ng/CMakeLists.txt":"5840d2c44e335af0f58f8a2545da60be403946b1181641b35ea7425b2e0f44db","src/zlib-ng/FAQ.zlib":"c524f4f86d336b3de71dd6977afddffa9c02fda5c26db4dfefae44959e7614a2","src/zlib-ng/INDEX.md":"989545e90d8e9ac149034f762ce78ed8976ebf9324326228dea37ca190154609","src/zlib-ng/LICENSE.md":"d3c80be055d94d798eaa786116e84fa0b010bc11420b5d2060d978ea77845436","src/zlib-ng/Makefile.in":"1f56adbf5fac7fa36c6e4c11b5f061acb971984c941154cbf0344e2b68b99e7d","src/zlib-ng/PORTING.md":"4105267b5e00f8d608f31dcf4fe2cfede15cc94568211691419e6cba3d8e539e","src/zlib-ng/README.md":"ba04244ad8eea94d834d25aa75b40e7f849844a33c68ed180c2a631378e1f211","src/zlib-ng/adler32.c":"82ffa1b4fc4b198ba8004135f79b8819d9f2b28e851c30c0ab41e6d32dfbf70d","src/zlib-ng/adler32_p.h":"f56915c59a345baf4558374447385a317e29365a4db2fbb38af4de3e1a1a0201","src/zlib-ng/arch/arm/Makefile.in":"95464884ba75a7b12c9ceda5845d8d68d5a7d7dac8a8dc24b27beb2192e5b97b","src/zlib-ng/arch/arm/adler32_neon.c":"3990b8d5570b12c2162218fe0e9bc723a03f1c89b5ed3ba70a74a98976260ee7","src/zlib-ng/arch/arm/arm.h":"855adbb02d7b9a5714a17d9dcff493610e7cd2b9a1f4e58e1c99626ab536e868","src/zlib-ng/arch/arm/armfeature.c":"4800228414695b632b9ceca14409e782d6fc3b357ba7ab00858925fc66b5532e","src/zlib-ng/arch/arm/chunkset_neon.c":"95fc7917d1d30094e15a35c56d1e9c189c5ca3758553a3467d4da793eaed656f","src/zlib-ng/arch/arm/crc32_acle.c":"e2be53267a2a59fc79c4b3bab00e8b25bf64a8fc8bf2c6684e5b1b1fd1480f9d","src/zlib-ng/arch/arm/ctzl.h":"feb70d55e66025fff806e30e48002b35cfff79533d352585cfa5f118edbc90b1","src/zlib-ng/arch/arm/insert_string_acle.c":"d1b1dae5aeada70f2b03c2cbf3112ce55a92401c2d87709081b04dcf5992e1ad","src/zlib-ng/arch/arm/slide_neon.c":"19d8cf5c742ac6b82164c7a183538ad1129f9f17e9b8bce8b40daac3820fb6c4","src/zlib-ng/arch/generic/Makefile.in":"f41a34839986eac8dd52cf91fada0efff4171c059ab5d7db6347c91bd6d9db09","src/zlib-ng/arch/power/Makefile.in":"69644d1a0ff8e7f38005c0a55cdbaf3f0d87f42abf8fc4f4136271c4fedfb846","src/zlib-ng/arch/power/adler32_power8.c":"79b75e98ad3a62facbbdd8c0b178d3f993b57f6e34d320bf47eca33aa8c330a1","src/zlib-ng/arch/power/power.c":"0647afb3b3b7ce2a19b4815ec8fdeee0b37c759413e5ef0a668a2dba22d94803","src/zlib-ng/arch/power/power.h":"f3f15f94fed98a2f7dd5d4568c5172e597228be4141d6895062703c3f70024da","src/zlib-ng/arch/power/slide_hash_power8.c":"932ea533d25e2f5478afe0c47830e7ef24276cad0d75fd91f2d8c799bd4b5d36","src/zlib-ng/arch/s390/Makefile.in":"eef6c3169723f089b0b5f852423ec55bf0364caeddd7cda991f2e76bc1682107","src/zlib-ng/arch/s390/README.md":"730b9a0230609988fbd1bdd52a7abdaa1fa5c65253ac78163dd4a5eccb966abc","src/zlib-ng/arch/s390/dfltcc_common.c":"3d460448ad4c5b687da6b7c0ad8498ece92b771dc7ddd0189e096acca5a1cad4","src/zlib-ng/arch/s390/dfltcc_common.h":"de8902d3863c8a7a3f6ea27dec2ee5a4f17ef5d8646e48a586d0b29fe94c9a0b","src/zlib-ng/arch/s390/dfltcc_deflate.c":"d6941d3c5ada225ec39b98b35bce1d203aa1f2d994a47c8487d377d9ef2f6efc","src/zlib-ng/arch/s390/dfltcc_deflate.h":"5c90a812e2a2f2b842dba027e5640791e52206e74b8423cb78e0b8ea12ed29ad","src/zlib-ng/arch/s390/dfltcc_detail.h":"fe66cd700a1d017eba86c2c6e95f53e9a4d1cb491de9cb3963b2a2907098baa9","src/zlib-ng/arch/s390/dfltcc_inflate.c":"83643b5605cdc2d1d7780e1bdeb007f9dc6a1cca633157abbfb5d3232f2b8816","src/zlib-ng/arch/s390/dfltcc_inflate.h":"d7a4a5ae79abd1a5456521926b918becfe86c253a4fc23723fbc09f7c3303128","src/zlib-ng/arch/s390/self-hosted-builder/actions-runner.Dockerfile":"999c962c49508ebf61414e6f9ffea059926ac500d4c6d707ea1f9e77402f7374","src/zlib-ng/arch/s390/self-hosted-builder/actions-runner.service":"33a359eb58d76152f916b40ee1357f7edfda75e8dfb55a5b12ac83bcd6ed7055","src/zlib-ng/arch/s390/self-hosted-builder/fs/usr/bin/actions-runner":"f647e18728ea15fe927ac9f8cba83a5b343654a0e91b5ebe653bae7af7375110","src/zlib-ng/arch/s390/self-hosted-builder/fs/usr/bin/entrypoint":"add4ebdc4f06ed15bb1de12a8c9ceb370a60baebb0932a1026a75433940ad3df","src/zlib-ng/arch/s390/self-hosted-builder/qemu-user-static.service":"54551049f6181da88700a2a944a72b0af3b8abde876fa28e1348deb5eb96c91b","src/zlib-ng/arch/x86/INDEX.md":"c12f9bf0d66743a6472fb756bf46def8eea1dd235be7fca994dcb22f693a3524","src/zlib-ng/arch/x86/Makefile.in":"9f6fe7567a99e81aaa3bef8ccfa1ad40f524efc285cf8dfe0f497a1530f8016c","src/zlib-ng/arch/x86/adler32_avx.c":"99056732c7bd5d53dc108f282811a40bf21570926781af5dc7b17cb9218963de","src/zlib-ng/arch/x86/adler32_ssse3.c":"883a5520b4481225d097c90c5359106a3c8eb7b921499c94276e999b7c39adc5","src/zlib-ng/arch/x86/chunkset_avx.c":"13c83149146c408ffdc9358bcb5355259f6196e6cc6fe025b7ea3647e313cd0a","src/zlib-ng/arch/x86/chunkset_sse.c":"f14d0557634b53af8cd6e2a1ce9d57df50244a72e85ff3b100b5ca287d1cfa8a","src/zlib-ng/arch/x86/compare258_avx.c":"8b2838d168de4608327f25fe52d53763a82413ee911d87947d3fcd72c7f9bf26","src/zlib-ng/arch/x86/compare258_sse.c":"b5049722ffd4a43a96868eeba5e000271cfc5fcbf3c2657026ead15b1df28a10","src/zlib-ng/arch/x86/crc_folding.c":"defb5a7067562612651f693c910db53cf228b7cd7fef11991504767a7d84f224","src/zlib-ng/arch/x86/crc_folding.h":"939212546611917e9e066e8ed30cdda95680ec1f5fe0890cc4865b4e6d7fc215","src/zlib-ng/arch/x86/insert_string_sse.c":"9e84a75b6a565422eb105261b6729d2a02b89133bd14372c949d5381b5deed3e","src/zlib-ng/arch/x86/slide_avx.c":"5e448e439ac24e7cb10eee176ca37f2c63f73c135c0a2af040e232bad490997d","src/zlib-ng/arch/x86/slide_sse.c":"1946cabb634c905fddef0a22b2fad19dfd99110169567c3beceef71145b2e316","src/zlib-ng/arch/x86/x86.c":"1af56e27b2e951e1ad1344e62c2f7a8c49a776fcdd1cb0f4ea9d6152118a479e","src/zlib-ng/arch/x86/x86.h":"4d2d20ea0087089141e250e77bb3d419954b9092810028b151581b9115a5fe8c","src/zlib-ng/chunkset.c":"cbf26582fff56726cc28bee05ff0a1680c50308b8dd9bb8cfb57d7f0a587d0bd","src/zlib-ng/chunkset_tpl.h":"eaaf0804f6162ab26b2b6de263a478ffb111559e653372e96e400acba9c63563","src/zlib-ng/cmake/detect-arch.c":"e0da3d16195eefb54bef77163db737a66453f25ae16648aa8f6beeac70787662","src/zlib-ng/cmake/detect-arch.cmake":"27fa8da497b39ac70d881e2d345749611dae4c30f7b7a9c9e32f2c042672189a","src/zlib-ng/cmake/detect-coverage.cmake":"e4e372991ba80a16ad47df2716708a56013cc628aa7ed01573a2360c60610125","src/zlib-ng/cmake/detect-install-dirs.cmake":"87031a40428a104f5cf38ecdb8a5028d8c679cfa772a58adde8380c809b34eff","src/zlib-ng/cmake/detect-sanitizer.cmake":"a8f7a4515278532b251b567d82ed576fe1ca7e698992ed92d1beb8e8dd22237f","src/zlib-ng/cmake/run-and-compare.cmake":"13d85c12c9d6c7b1b148bd0c5a5b4faa6a4b56f3823bf03c4f8d914c9c5949d8","src/zlib-ng/cmake/run-and-redirect.cmake":"7f08d18c09aa58113882ec760735a62a1723a5bfcae9f73bd3713a4dbaeab898","src/zlib-ng/cmake/test-compress.cmake":"0d2d1595859ccfb6795bb98700a4f7c1652b025cc344a1291524601087957888","src/zlib-ng/cmake/test-tools.cmake":"63aabfffd53970b8e145870b2a1c03bffa3595f7df04bd86f94e97b6f2a387e7","src/zlib-ng/cmake/toolchain-aarch64.cmake":"46be0bf580a49a528c72005484655afad1de3705b39a66a7b0c213b0fa81cee6","src/zlib-ng/cmake/toolchain-arm.cmake":"05e38076fd6ffb9785ff9844ccecd26436c9dc4c25b7777b62e5f52e788c3882","src/zlib-ng/cmake/toolchain-armhf.cmake":"1a2029163a57415eec9a5dd5f45d3254d349e97b1beb5d16876b741717673341","src/zlib-ng/cmake/toolchain-mingw-i686.cmake":"df9000354b820d3713d1469edc9f94cd095389b0cca83965730b8e64857fdf3f","src/zlib-ng/cmake/toolchain-mingw-x86_64.cmake":"ee316e6e3202919da5d497f9e246466fd715fcf079cb5b4afc4774089d1fefad","src/zlib-ng/cmake/toolchain-powerpc.cmake":"9bd6fc58ce5b70603657f2c195c4a5cf52fae96ad63ac787978831c5858f762c","src/zlib-ng/cmake/toolchain-powerpc64.cmake":"917fc5eef84921d8b38f43c2b4f60870965b4eecc8f018c7b3499e1142c715af","src/zlib-ng/cmake/toolchain-powerpc64le.cmake":"5b2edd36d62de513db2d32bfbf779979d81ac527b981cc3379a4e933fc5a94d1","src/zlib-ng/cmake/toolchain-s390x.cmake":"cf52cecea7bd2a9d1ff5fd8edcb03c531e3b404bbcd15a15dec2e0e19936f2ac","src/zlib-ng/cmake/toolchain-sparc64.cmake":"e543062485d06a7e0fec8135887c5e73363517fa4babc23ef7b780916d75afda","src/zlib-ng/compare258.c":"56bfd48d5ff9ca422fbb728df7a373436c73796561dff118c7d4039fe70d29e2","src/zlib-ng/compress.c":"41df6eb62d6fb1334ecfe0a0c3e50a7ee89528719857f2b8297cbc512149759c","src/zlib-ng/configure":"160f69a1e51c49f6454ece92e4c5e08675ca5d90cf22b8f79cbe54c4381d93c2","src/zlib-ng/crc32.c":"98440be8a99381151a2d740f2e2228e8c1b23b9193c3642c52a4e34799506336","src/zlib-ng/crc32_comb.c":"11a36a6088fb520a58e0304fc99cf12fc8437519e8a70fe74dad58f00af696ec","src/zlib-ng/crc32_comb_tbl.h":"d6615d209d6c7d5248c6f7fe4e5dbded13c0eb87997b37693032c2902927407d","src/zlib-ng/crc32_p.h":"1fa91375a18e090c0a0dfda39de3df36346a0b1be36c808be6b6c29c32eba922","src/zlib-ng/crc32_tbl.h":"d629378ba38ff5775095b64e277bcd41c4b89fab9b5647a9fb29e15da0db0161","src/zlib-ng/deflate.c":"6fb8979ee8bc43f6e12a649708c7eb50e60bb9bdc2e55c45ce3b15aefe779179","src/zlib-ng/deflate.h":"7b3c649965c54446097d6157dd31d3685aa7df1082e9aa64cb3cdf6ac2c4d023","src/zlib-ng/deflate_fast.c":"d51e1368fc997673c64b5ab9a620439df25f313f8274529d974c5f80b89702b8","src/zlib-ng/deflate_medium.c":"1c3d95cbac76052d39595ea750c5536541c18302b9abb398c27b58955318bba8","src/zlib-ng/deflate_p.h":"2e739301e8c53038c2a958c8c8693584cd8dae464ffef05a22db6d6fa9985676","src/zlib-ng/deflate_quick.c":"280905a191d2b2a7274f2453ac537e01a0fb6e7540a0b212c1514bfb8c9415ea","src/zlib-ng/deflate_slow.c":"a2c66723e1e71ffd6ff856407459ab311a4c6546ecf50285081fc7afcd0ccd2e","src/zlib-ng/doc/algorithm.txt":"0d21a0a4c47e512743389628d1385a831a5e5ff716491095a382b923287f4223","src/zlib-ng/doc/rfc1950.txt":"8f0475a5c984657bf26277f73df9456c9b97f175084f0c1748f1eb1f0b9b10b9","src/zlib-ng/doc/rfc1951.txt":"5ebf4b5b7fe1c3a0c0ab9aa3ac8c0f3853a7dc484905e76e03b0b0f301350009","src/zlib-ng/doc/rfc1952.txt":"f7c810fd9d719d002d605207a9b880600f71d039b9626c5b4b03f2122438dd2d","src/zlib-ng/doc/txtvsbin.txt":"47c273bb22c9773248d380549a330e5c262266b1292154b0d3014f731cc73f47","src/zlib-ng/fallback_builtins.h":"1d2c2da88009a58f240bac33f562fe5a0a39c1e773813a2d75b45283ff1396cd","src/zlib-ng/functable.c":"d9db6530035a06f95982ff3d7680a84f4b54b8425874ccbe2ab10b906bd5708a","src/zlib-ng/functable.h":"e5a2d0c10411d23f04295bcb9ddb9889388974b723caef65aa5c4ea4739f4aa7","src/zlib-ng/gzguts.h":"7b69b2f35264169bc794d0d5c00247d93c203f751d226302966c33b524ed9fb0","src/zlib-ng/gzlib.c":"7e6ad5d9d32e6429d56a5303e2c6e6870d69c023d6647a52fb95902828de4011","src/zlib-ng/gzread.c":"d5d47d24dc463b978fe828320dab140494803fd86b511300f903c7c2eabd4d25","src/zlib-ng/gzwrite.c":"1685ad2c88239b3434cd2c4a9d66b67842310b2d1dfd01aec0fc293eef20e858","src/zlib-ng/infback.c":"4decaa412219fc8adb935754c54a4dedf3952aaf67107a12512451c65eadee23","src/zlib-ng/inffast.c":"a134d4aa6a46eebe975ca0cd5ef18894fc852b6a840be21ca7243ddbe6c9d8f9","src/zlib-ng/inffast.h":"42e74a92b496ab0726be317e8497a12bf3c3cf3d0d533440ce65befd3929c71c","src/zlib-ng/inffixed_tbl.h":"a94225335396245e9f0ccb2e9b4b334fe7ee0111ed8e32a26bcd52187f364314","src/zlib-ng/inflate.c":"f33e2e7eeaa4b33ba6a2c327f8c9939e6b847afbdad349da65c97bf81c6083b5","src/zlib-ng/inflate.h":"eb25527d1bdedaa45167926dce4c39d9aaa3147b0f4a95f38f5916528c30a09b","src/zlib-ng/inflate_p.h":"4a94c51194da119770cf662ef289994f0c78d95184d54d6ae5d50a393e8f5a62","src/zlib-ng/inftrees.c":"7a777f5ff02ce60fbad6cb843ceadd7b3a8a8a0476ae010c87a0377c2e88f780","src/zlib-ng/inftrees.h":"fa80eb11c2290b345470a03cb861843e2cb1365135233ea8243e9fd79d3618a1","src/zlib-ng/insert_string.c":"aa22ba53a1e75821499809277f9ca0e5ef92b07a618136dd11ae1734e233b7c9","src/zlib-ng/insert_string_tpl.h":"1ceba9903324d10aad6e1d83653c4d534a5b06fd09076414a06215482be00bac","src/zlib-ng/match_tpl.h":"eeab4c6eea8511a7579738e622af062ad16f4016312e93ad34bc5903d8b3c4a1","src/zlib-ng/test/CVE-2002-0059/test.gz":"60bf96b8f433bd7e057ce3496aceaccd70ec80f596a4aa8bcc7786056705ce66","src/zlib-ng/test/CVE-2003-0107.c":"6ed6fba710f8f2b898750f0ec17720fbf01e45c39e8adbba6409681b34914140","src/zlib-ng/test/CVE-2004-0797/test.gz":"38caae524705f676bde13a8df9fc8c7d2fe105ba6bdbab62a405b0276fd3aa2e","src/zlib-ng/test/CVE-2005-1849/test.gz":"e4d5a60617df4b5dd44eda94751ce1eacdb325792bba6e3cc4676719a3adf742","src/zlib-ng/test/CVE-2005-2096/test.gz":"8f702d4861aa3ec98ac03a59ff26b430939630cb5cd4266d2658d3b836d576f9","src/zlib-ng/test/CVE-2018-25032/default.txt":"d7f8278db331c47bd1208bf41e7903cbddee4f7b47c666c40afdd3c96237752e","src/zlib-ng/test/CVE-2018-25032/fixed.txt":"3b27a98edd2f3f580033f9add11d3469d7808c969a1128ee00c18ac7a12cef57","src/zlib-ng/test/GH-361/test.txt":"358497d0a7251ea42101dc77b02337f46fd89af09643a8288e2a3082e5d24128","src/zlib-ng/test/GH-364/test.bin":"af5570f5a1810b7af78caf4bc70a660f0df51e42baf91d4de5b2328de0e83dfc","src/zlib-ng/test/GH-382/defneg3.dat":"b22bef6b7392401c9e7b079402c4a4074053d7a914d050400e37fd7af6fe26d5","src/zlib-ng/test/GH-751/test.txt":"b83d833803b7bc3124fb2a0034081f0b999ad10c33a8dfa3bfd181dc078ae3ee","src/zlib-ng/test/GH-979/pigz-2.6.tar.gz":"2eed7b0d7449d1d70903f2a62cd6005d262eb3a8c9e98687bc8cbb5809db2a7d","src/zlib-ng/test/Makefile.in":"48d033f2dbb62635624bf2c9e3e7fe279b72afc3411d14cb7cfdbf40f5b80e19","src/zlib-ng/test/README.md":"d60ef4851222ebc2a9fbc23f292ab11bc7fee40ba6171ea768b2ffa005df5b1d","src/zlib-ng/test/abi/ignore":"02aa87f77656dbc1fbddd23f436cd15465a92df0722da4055cae1bc8bf013097","src/zlib-ng/test/abi/zlib-v1.2.11-arm-linux-gnueabihf.abi":"f5e91f25b558a891fecbeb6e2e9575698630ab700d055a38f3bc4fe66257f513","src/zlib-ng/test/abi/zlib-v1.2.11-x86_64-linux-gnu.abi":"038337383cf780587d810cf5400d632f3a1f8517e63ac4a71b6e5224db8b1413","src/zlib-ng/test/abicheck.md":"6b4a87d760b3848fb1ded6782e02a1d074d9e487bdabb29274a62b31cdf48772","src/zlib-ng/test/abicheck.sh":"7ca2884ff37c697d380f620554525f9b9dc7fa76b45f866d284b2ea5b98c65cc","src/zlib-ng/test/adler32_test.c":"db3e8ad9a4e2ecce0c052b0bfe19834d3ff2fb2e9239cc3438a2c95db00b1d21","src/zlib-ng/test/crc32_test.c":"8f1223d8aa4c52a5e7323f422023f6b892ce684eaf7439ad905b855293f40143","src/zlib-ng/test/data/fireworks.jpg":"93b986ce7d7e361f0d3840f9d531b5f40fb6ca8c14d6d74364150e255f126512","src/zlib-ng/test/data/lcet10.txt":"1eb5d7bddb1c3cb68064d5b5f7f27814949674b6702564ff7025ced60795a6d9","src/zlib-ng/test/data/paper-100k.pdf":"60f73a051b7ca35bfec44734b2eed7736cb5c0b7f728beb7b97ade6c5e44849b","src/zlib-ng/test/deflate_quick_bi_valid.c":"a36697e5779a645354823f14540bd60b9378c2f4c5f2bb981d86bb34f29fcbb0","src/zlib-ng/test/deflate_quick_block_open.c":"455bd347bb88debdfacb409846170274991ec9ba71c52b8fd0e526daf57265eb","src/zlib-ng/test/example.c":"1c8d9d14128da9fb5415683aa7318ae0aa94b743f75905288a2a9decd4ead98d","src/zlib-ng/test/fuzz/checksum_fuzzer.c":"65a96358c9a82efc4b251b4f322b02fade7b69f9bc6ac07294e641e3fe1ccdb1","src/zlib-ng/test/fuzz/compress_fuzzer.c":"1ab70608075c4bc60f89aa2f327cff88362ee7b1d31da88ed54ca51e5f99e5c9","src/zlib-ng/test/fuzz/example_dict_fuzzer.c":"be68f9eee3deae7f9163c6288742e5455bc28f659f80fdb276fafe215f028b97","src/zlib-ng/test/fuzz/example_flush_fuzzer.c":"f12246a184dcfe0a19a98cdc742a1fe8da388ad20b406635d63f1fa10d45b9ca","src/zlib-ng/test/fuzz/example_large_fuzzer.c":"f490abcd332fb4e7921292adf6876d38d7f71c8d2443212c781ba88957ff9303","src/zlib-ng/test/fuzz/example_small_fuzzer.c":"a9b3436b291ace821b6013311a1100e19a9e1c67fefd3f97dbd60688f9bf22b1","src/zlib-ng/test/fuzz/minigzip_fuzzer.c":"5faecfe9e6ecc47e746151bd1cc24a2e2dba8b7ffeb270d2c88cb126273ab446","src/zlib-ng/test/fuzz/standalone_fuzz_target_runner.c":"f25649ed35b8b7a3899c8d7ff52f9972dfc7bf274889e0a7a77fbfdf1c1cfef0","src/zlib-ng/test/gh1235.c":"8310ef780dc483a1708750cd7c120b8e9cc0e1614767d24c01869e529074e981","src/zlib-ng/test/hash_head_0.c":"448def3e8ea13fbcac86202e50b8a71b6cea585d7bdbca0bc6cf6056e4059f98","src/zlib-ng/test/infcover.c":"9c0e8068fdc614b1852e8d274231b41ce3ce975d4419ed31e700a0b05e702303","src/zlib-ng/test/inflate_adler32.c":"ab430c97ae8f569784710118038e8ebf53f4136d1a957e1277c0904f9218340b","src/zlib-ng/test/minideflate.c":"34fdce39628ffd173f7736d9fb65dfa40d0b0289def64b935075f6c6cffe1999","src/zlib-ng/test/minigzip.c":"7dbce6528601f7fdd586280885ed439cb539e15f36dd3974274729bfcdd41928","src/zlib-ng/test/pigz/CMakeLists.txt":"aa70f1025adc004985bfe0accee9b7a80e04786d82705e27c377a5e8d4ecbaaa","src/zlib-ng/test/pkgcheck.sh":"581b3de9c58e96038af94c73cbdb30eed32900f7abb8fa7692426fa68059b0ef","src/zlib-ng/test/switchlevels.c":"ceb6cc4d48a637562009d8f7f82635fa9942acd1bfd597acd99454a03a3a98e3","src/zlib-ng/test/testCVEinputs.sh":"5de6198444c16726f8e0a8f2beb5b89c5ae7e7e3736ce760b9fbc719493e7e4f","src/zlib-ng/tools/codecov-upload.sh":"ec7a8f1405820810e486e3d7e2fda7eb958c17877b0000b93abdf09d87732a2f","src/zlib-ng/tools/config.sub":"32186cfeb5db62c99e1dfbfb07f24c1a50977447b4c26d2907021c74422a70d2","src/zlib-ng/tools/makecrct.c":"55c8f7b8e29393e95988a29de8cb1a1bdf2738a69d53627bd0f9d7bf169bf0a8","src/zlib-ng/tools/makefixed.c":"bffd02540231304f9bcc755b8cb9ae5cfbc48975857bbb4547f1d6acce21ef57","src/zlib-ng/tools/maketrees.c":"30e9f70addf691d1241e594a7f31fc78b119b65e8af9ac8e20fe6da01635d3b3","src/zlib-ng/trees.c":"2cd9a1dc8d9231e9fc4e53e56b87307989c1b7f33212cde4ee434ef71c28af2a","src/zlib-ng/trees.h":"24174f3543b01ee1ef370bbf6d15551a21871cded18b2aadf09a71e7904b6f99","src/zlib-ng/trees_emit.h":"2e93093ae5362523a26877d6fd663bb05793795889d2bfb987cbada9a9dc4517","src/zlib-ng/trees_tbl.h":"35f4fd0ec080c1ade342e2dd1b0f5cdc7e9f18990faa48d7a8a69bc318ebe607","src/zlib-ng/uncompr.c":"4ebb486b27930f8a6ec4a3cc90a207d0bcf8a4779d1dbf3b2184a2b2a5735cd1","src/zlib-ng/win32/DLL_FAQ.txt":"f17fd3823726adbae63b91c00d5db1dccae2e289258edabbbbebde04bb6e7e8c","src/zlib-ng/win32/Makefile.a64":"775d6902373d1583430b5d7467f001746be323610c89be27e02bbfe0205994f3","src/zlib-ng/win32/Makefile.arm":"7535e022f482920c3fa7a267e84e39ad790d150f72e5c30414baa156c2fdd9b6","src/zlib-ng/win32/Makefile.msc":"d769a00c0ad4cb5fc624d2ae004dfa3785a2f4310324b03afd2156e759003a06","src/zlib-ng/win32/README-WIN32.txt":"cdcca6e7a5d2d23618a48fafb8eea347227f8ecf1f38a6aa90f0e7e455bc6574","src/zlib-ng/win32/zlib-ng.def":"f240276caf805a10d024fc6a66efe915c435734c69732818d92fb04d08ab350c","src/zlib-ng/win32/zlib-ng1.rc":"ea0ea4d116b583510b113a27fdec2ad4f0890206963f0e3838f275b8005dde5d","src/zlib-ng/win32/zlib.def":"d9c371ff2677567350386441a2e3d0258010d6502290bbac5ac42ea168bd5212","src/zlib-ng/win32/zlib1.rc":"ec5021dba35f9fae5f5f82ad6b6bd059928548e0608e4ede0bcffccf5c1210a1","src/zlib-ng/win32/zlibcompat.def":"73728b9df4379dc70ebd9b2a9f20d6e4ed7c031fa1f351cdeae1de7d1db05bd1","src/zlib-ng/zbuild.h":"d4d52d3296cc949a5d694e7349a8236854f2ec116c184a310e4e62b28caf5b63","src/zlib-ng/zconf-ng.h.in":"f206ac69c1fa48c670648d26028263372a539ed1243a9a26e5b35bf52e2363ff","src/zlib-ng/zconf.h.in":"dbf08736c3bc5e41242b09e13d0a523b440250410476dd58747c14e28984f1e5","src/zlib-ng/zendian.h":"f5cfa865281d2c5d0b097d318500f27daeec346e7882de68e279486d79c52e77","src/zlib-ng/zlib-ng.h":"d51896e8411868ed195d5cf41fda4f1c5a9c891832dfd16b559a5ed6beedd890","src/zlib-ng/zlib-ng.map":"03ef4439594619e215dbb1717f8c13e16159308ef3817761ba1a3cca7f7834df","src/zlib-ng/zlib.h":"7e3666971e08019fc7097f11d593aac9ff6824a1ecc945c48f76009f7c27d55a","src/zlib-ng/zlib.map":"9997aa913dec6da106ab2089d2a72ca5e1b7fafe0807ac0bc1318ce8c8defab9","src/zlib-ng/zlib.pc.cmakein":"17668e07edbe5971043bea26a2f2b92c4c7cf4724620f1156f3ea1436d2aac93","src/zlib-ng/zlib.pc.in":"cf94c9aa44878a62e27c2f75354c08326b3bb5250a9b11496855cf59691177bb","src/zlib-ng/zutil.c":"53418b23c7878e968b4d04df8ebac74f64f60d32277f2343d16da52059dbc782","src/zlib-ng/zutil.h":"a14c18dd4a96909aaf0aa016cb6df97d77cf5b735283527c906181eead22f0e9","src/zlib-ng/zutil_p.h":"c259b33614007463b41d4184e0bdf10d62325445ee9308e1e1885862d201657a","src/zlib/CMakeLists.txt":"d3ea46cd350c74c21c2dd97f6d0ad354db76b2b43cc91ec1144b88267f67a588","src/zlib/ChangeLog":"6933f4ab74360476bc80d9eda2afd98f93588a5d276e1197926267421dd6959e","src/zlib/FAQ":"1e8a0078be0ff1b60d57561a9e4a8cad72892318a8831946cba1abd30d65521c","src/zlib/INDEX":"3b4e325d47ae66456d43fcf143ba21ab67a02a4f81be7ef2da480ba30d774266","src/zlib/LICENSE":"845efc77857d485d91fb3e0b884aaa929368c717ae8186b66fe1ed2495753243","src/zlib/Makefile":"ef23b08ce01239843f1ded3f373bfc432627a477d62f945cbf63b2ac03db118a","src/zlib/Makefile.in":"77a662b885182111d7731eef75176b4c5061002f278b58bf9bf217e2fa16cadb","src/zlib/README":"4bb4d5664fb9d06ef0d47e8ef73104bd545a5a57eb7241be4f2e0be904966322","src/zlib/adler32.c":"d7f1b6e44fee20ab41cef1d650776a039a2348935eb96bcbd294a4096139be3a","src/zlib/amiga/Makefile.pup":"a65cb3cd40b1b8ec77e288974dd9dc53d91ed78bbe495e94ccc84ddd423edf1f","src/zlib/amiga/Makefile.sas":"0e63cf88b505a1a04327bb666af3a985c5e11835c0c00aed4058c0dcc315d60e","src/zlib/compress.c":"6d0f0d0784744acca2678ce325c8d7c4c030e86f057adb78adcee111d2248c0d","src/zlib/configure":"2d964a697f9060d3a8fc5b4272c9d07b22e5fe6f5cf327e5c29f62f67d935759","src/zlib/contrib/README.contrib":"b925ae08d371b33c4b5ffd67c707150729a476caf47cfe2eafc002291f23f931","src/zlib/contrib/ada/buffer_demo.adb":"469cf566a6965767fee6b987a239ed8cedcc66614940d45a9b434331fbb435ce","src/zlib/contrib/ada/mtest.adb":"41b6f31684770334afdc4375871eb1408542f37a823a073556fdbfdb63753160","src/zlib/contrib/ada/read.adb":"fa5b989aef0c5715a3fcb15de93985f7f10aeb0a7f5716745c95ed820eb9af9c","src/zlib/contrib/ada/readme.txt":"8fe9e5303f2e8e8b746c78250e74b7c4aeb7ce6212fdce751fc3a0ce56a47fe2","src/zlib/contrib/ada/test.adb":"5e3abe79b387e09a9a42bd0543105e228f39a335240cffc33d71f0ba66ff2511","src/zlib/contrib/ada/zlib-streams.adb":"f45988e2bac76eb25a0dc981f46576e7432c35dde1790bbc2b650f0090b7fa72","src/zlib/contrib/ada/zlib-streams.ads":"969e8edb0611810fb52159dcb7c40228f4e5da810a7a3576b778116a93038c6b","src/zlib/contrib/ada/zlib-thin.adb":"03d89244ee5ec9771d9b5050e586c609f851af551b2e64eb151f1d5be0b63ae9","src/zlib/contrib/ada/zlib-thin.ads":"631ef170bde16c3ca8d412b54a0e519815b80197d208f8f393e6fe017bb0968e","src/zlib/contrib/ada/zlib.adb":"c9ca5dc34fbcdf06e2dc777b7e9dcd0ba31085b772b440eb0e12421323ab672c","src/zlib/contrib/ada/zlib.ads":"02634bec0d5e4c69d8d2859124380074a57de8d8bd928398379bfacc514236d2","src/zlib/contrib/ada/zlib.gpr":"859bb69dce38dbe9dca06753cf7ae7bd16d48f4fece8b87582dab8e30681d3de","src/zlib/contrib/blast/Makefile":"17d5d26c24bf51cad51045a38ffb73cc3539d29e89885aa249fcfd45a8659d5c","src/zlib/contrib/blast/README":"baa763ae03d88ef7ece6eb80d9a099b43d0b57639d6d281e1c7c6ca79d81daba","src/zlib/contrib/blast/blast.c":"1ab3e479d342bfc144167b808fb00142264bc50f24a110ca88cc774e351c218e","src/zlib/contrib/blast/blast.h":"9c1c422b76311d4cb06863ffc056668b6240f3dd998bc02e89ee590d482bfdc2","src/zlib/contrib/blast/test.pk":"5f5c262c545574a5c221132d5ef832478d222d70b015341795b3860204140d7c","src/zlib/contrib/blast/test.txt":"9679b2c98e1283222d0782b25a1c198dc64ba9ebd1addd6dc6f643a45947cda3","src/zlib/contrib/delphi/ZLib.pas":"6dcc65866e3fb3d33d2a2328c547458156883a3e6749d52ded209357a49d61de","src/zlib/contrib/delphi/ZLibConst.pas":"84bcc580bdf397e570f86f3f5a5b8c7bf537828f30b4b72648b81911f6bf5095","src/zlib/contrib/delphi/readme.txt":"f7420ed2de77d4b498eefbbe6402a1d17dc2d411735289c78a265c7f10fdaee5","src/zlib/contrib/delphi/zlibd32.mak":"850e91b6c9ea05de61a411cbda16fa0f10118cd88bb32c4b7226988776f8d511","src/zlib/contrib/dotzlib/DotZLib.build":"b96137097669644ecb9f42cdd3399d1fce9c512788374609303f7e50abf597f0","src/zlib/contrib/dotzlib/DotZLib.chm":"20d0e3edd57f849143255a7f0df1cd59d41db464a72c0d5ab42846438a729579","src/zlib/contrib/dotzlib/DotZLib.sln":"a979198c5b8d144c1ac8f993bfb6f4085d135aa58ca9dcf63ebabf52b5c695f7","src/zlib/contrib/dotzlib/DotZLib/AssemblyInfo.cs":"314afcfb339ea95f5431047b7ab24631b11c3532c7ce5dc2094ed0cf80a7c16d","src/zlib/contrib/dotzlib/DotZLib/ChecksumImpl.cs":"e7c047a2c3bcf88d3d002ee3d2d05af414acf53cb4451efacc0f2e95a474ea0f","src/zlib/contrib/dotzlib/DotZLib/CircularBuffer.cs":"be84c9736fe7bdc2bfae70466d8fff582504e928d5b5e110fd758090090c8cb7","src/zlib/contrib/dotzlib/DotZLib/CodecBase.cs":"259bdda1b7d6052134e631fa24bfd9dca6e2362563496c8b85257b56c848908c","src/zlib/contrib/dotzlib/DotZLib/Deflater.cs":"06ba6696a3c15c53ba5fd5a1c2bf50b51f217010228fc1e4c8495ee578f480de","src/zlib/contrib/dotzlib/DotZLib/DotZLib.cs":"9837fe993fd631233cc5e53ff084d86754b97f05ec77c54b0764c2706f186134","src/zlib/contrib/dotzlib/DotZLib/DotZLib.csproj":"21606db31dfef6410dd438b73f1db68856eacabcce6c0f0411fc4f17e17001f3","src/zlib/contrib/dotzlib/DotZLib/GZipStream.cs":"8d1de9755c77046b4ac71340a0a54434ebf4fd11b085c44454d7663a9b4df1c5","src/zlib/contrib/dotzlib/DotZLib/Inflater.cs":"9016ca73818f5b6a28791abc3af6da7c4d2773b6a3804f593f6d5737a62b99ad","src/zlib/contrib/dotzlib/DotZLib/UnitTests.cs":"c95048d763c7e367ba0bb7c31981e0610131fa12356bbd9bfdb13376778e9a0c","src/zlib/contrib/dotzlib/LICENSE_1_0.txt":"36266a8fd073568394cb81cdb2b124f7fdae2c64c1a7ed09db34b4d22efa2951","src/zlib/contrib/dotzlib/readme.txt":"d04972a91b1563fb4b7acab4b9ff2b84e57368953cc0596d5f5ea17d97315fd0","src/zlib/contrib/gcc_gvmat64/gvmat64.S":"22ff411b8b1d1b04aeaa8418b68245400267dc43c6f44104f6ccd37f0daee89f","src/zlib/contrib/infback9/README":"890288f02bb3b1f9cc654b87a07fcea695f90f6b9bd672d25bf6be1da2ec1688","src/zlib/contrib/infback9/infback9.c":"0a715c85a1ce3bb8b5a18d60941ffabc0186a886bcc66ba2ee0c4115a8e274e9","src/zlib/contrib/infback9/infback9.h":"dda2302f28157fe43a6143f84802af1740393572c2766559593996fd7a5a3245","src/zlib/contrib/infback9/inffix9.h":"84a2ba4727767c18af6505f0e81d9c814489c8b9ed330a25dad433db72997e43","src/zlib/contrib/infback9/inflate9.h":"32a907676cc36e27d0fdc0d99adb83a0b23f20ab61896269216d40fecf08d349","src/zlib/contrib/infback9/inftree9.c":"1f262e5ae8094c9d8b172241e567c86be560327b840ca8fb771e98461bcb158a","src/zlib/contrib/infback9/inftree9.h":"145072793141cb313c91cdf9dee9d4b8e8a38d77099f87e9cd05c7b5ead8f099","src/zlib/contrib/iostream/test.cpp":"0f3c77e013949eb9c91e6b690ea894e19d97944d6b0885b82806fc3ad99680cf","src/zlib/contrib/iostream/zfstream.cpp":"8ebb9b3d521cc3392953f27658cf1f6dcb763216079f69a1518ec5ca0e42a63b","src/zlib/contrib/iostream/zfstream.h":"4369c35e66f63f52ca4a5e1759bf720507ccabb8f3f132e2f18e68686c812401","src/zlib/contrib/iostream2/zstream.h":"d0343e0c57ff58008b6f29643d289c72713aa2d653fe3dcd2e939fc77e7e20b6","src/zlib/contrib/iostream2/zstream_test.cpp":"f789df183cc58b78751985466380c656308490a9036eb48a7ef79704c3d3f229","src/zlib/contrib/iostream3/README":"43ec48ecbd95a8c45db20b107fac73b740bb11595a4737329188f06b713972cc","src/zlib/contrib/iostream3/TODO":"af5ebc83fb88f69706c8af896733784753dead147687e1c046f410c0997fd88b","src/zlib/contrib/iostream3/test.cc":"8e17fc48dfdbc6e268838b8b427491b5843b6d18bc97caa6924de9fad7abe3da","src/zlib/contrib/iostream3/zfstream.cc":"8cdd67ed0b13c192c11e5ea90e9d5782d6627eb303fbc4aa5ebda2531ec00ff8","src/zlib/contrib/iostream3/zfstream.h":"1bd74778fac45ee090dfc0f182a23e8a849152deb630606884b2635987b357b1","src/zlib/contrib/minizip/Makefile":"0f59cf07531cf34cb359f9dbe26d8207a2bbbdad618557894eb629925f7e8899","src/zlib/contrib/minizip/Makefile.am":"2313a3480a2c3745fa7ce216829cd0367058907d3a0902e5832c66c84a2fdfc6","src/zlib/contrib/minizip/MiniZip64_Changes.txt":"302c62b328647f5472fb7755249a83459be7f8ffb1fae07e8ba318fce8f4126c","src/zlib/contrib/minizip/MiniZip64_info.txt":"122719c32ef1763a5f6ba9c8cdefc1d78a76f7156b09e7b6f69b73f968e0dac3","src/zlib/contrib/minizip/configure.ac":"959e4762ddcb36dcf30512611ca9fbcbcd0c943228a6ac2975708798ae09a438","src/zlib/contrib/minizip/crypt.h":"1d25a0fab3189dc3c6ae43c7813e1e5d07d0d049bd32bd7bd0e9ccd752bfdd5e","src/zlib/contrib/minizip/ioapi.c":"f6878a3ecf6802f0f75cadb41a114fa274636c386bac794c66cbb27a24d9a29f","src/zlib/contrib/minizip/ioapi.h":"9f5448f8d5e8894d6f397dd09d24f7ff39cb818cd493a8bd90dda19553b814ea","src/zlib/contrib/minizip/iowin32.c":"103cdef91d57ceca7a1c1973772ff7e1d44c7b3e227a3640171957302bd9e974","src/zlib/contrib/minizip/iowin32.h":"586f22b9c3c64da253ce2b518e0fad61f19a7b47b289fc704cc9708242294c49","src/zlib/contrib/minizip/make_vms.com":"65736d9c4888f2373d3db0a13864d150c5040453f5bc2a5c8784379a7ea67590","src/zlib/contrib/minizip/miniunz.c":"b29dfb4cff9763497d8f0656c97027995e1ea0b4104e4a217ba7882337ae7a7a","src/zlib/contrib/minizip/miniunzip.1":"66d8684392167091ef0fe01598d6a0daa26e7e448e2df6c3cb257487735b83f7","src/zlib/contrib/minizip/minizip.1":"5404596e8e5587a52f563906119f32ceee30a6d97a966afa5c7afbe4d373e210","src/zlib/contrib/minizip/minizip.c":"b5b8f380297be0d90265356704df1e41bee0e903a2169263a2b50dc22cc3180a","src/zlib/contrib/minizip/minizip.pc.in":"8b6670b42d8e5e519e1cc89db093efc07ba23cb1ddfedd3c93ff2df08c3ce8ac","src/zlib/contrib/minizip/mztools.c":"cd887c4af6d20823bd15f24008b10acf01969b4165d7848656bde843a92428d7","src/zlib/contrib/minizip/mztools.h":"6f82c52279e8f79165f4446be652e5741a49992ac58632470335aa34c564072a","src/zlib/contrib/minizip/unzip.c":"fc9e8d752618a05c1f3a2ce61ebf76d0c8053dd5579458f836834a36e8690bbe","src/zlib/contrib/minizip/unzip.h":"20cdc47658a3e41db897d31650e46cd2c8cca3c83ddaaeb6c7a48dd8b7f18e03","src/zlib/contrib/minizip/zip.c":"bee2d6fa310c9451b24c036d5840a8c7c90b7cf8d12d5767175c207e56fefcc3","src/zlib/contrib/minizip/zip.h":"75b635dca8294790ab7ec1f72e9f1fd352d75b189c3c9b61c68f76bd7e612043","src/zlib/contrib/pascal/example.pas":"d842d456ecb6ff80e34cee2da31deb2072cc69ca837497bea8b8bee203403474","src/zlib/contrib/pascal/readme.txt":"02f997c37991ddae0cb986039f7b4f6fc816b3fd0ffd332cad371d04c12cf1b9","src/zlib/contrib/pascal/zlibd32.mak":"850e91b6c9ea05de61a411cbda16fa0f10118cd88bb32c4b7226988776f8d511","src/zlib/contrib/pascal/zlibpas.pas":"720346d2f40429de31bb16a895f42e878f259b1aff7d46c63e6616e629b3f7d5","src/zlib/contrib/puff/Makefile":"d9d738030464aaae354196c14fd928adf591832fce7d71ac1977c1d8d4923a4b","src/zlib/contrib/puff/README":"c5b9852fb11e0d6b6e916e5134cf034524d901b95368972133e0381e480eb479","src/zlib/contrib/puff/puff.c":"433f7f4495481dd95576dbb548b1bcfc5ca129d30421695fa609f5f6c14908b6","src/zlib/contrib/puff/puff.h":"969b7be2a930db0cdcb19b0e5b29ae6741f5a8f663b6dba6d647e12ec60cfa8e","src/zlib/contrib/puff/pufftest.c":"d24e31c1d277d07c268f34e9490050c6b53c68b128da3efbb1d05fc5b31004f7","src/zlib/contrib/puff/zeros.raw":"b7b0887089f7af1f6d1e0b4c0a1e8eddd10223b23554299455c6c9be71b653a3","src/zlib/contrib/testzlib/testzlib.c":"c6c37b35c6ecc9986a9041f86d879cc37a9e4d8315af9d725071eb3b2cade0c5","src/zlib/contrib/testzlib/testzlib.txt":"2359bbdc84eb8a04e0f1cd16cd81a2896e957f2ad58dab3ca78ef55b7d0dc577","src/zlib/contrib/untgz/Makefile":"8f5ab1564813e091cea8f1bb63da32fd80ac763d029277b0cabf50f60aceefe1","src/zlib/contrib/untgz/Makefile.msc":"d0f537de11d9e0e36e2a98b3971c537265f4b533b4c48797094365ad9ae8388b","src/zlib/contrib/untgz/untgz.c":"9a12d774301d252dcd38bba07ac369319da4c04c4fef8a50fcbf40aebf29c2a1","src/zlib/contrib/vstudio/readme.txt":"df5fe112bef3c23d5767602736f6d0ce43cbb49b584210fe57f6f59e634a49d0","src/zlib/contrib/vstudio/vc10/miniunz.vcxproj":"dd607d43c64581172c20c22112821924dfe862f56b2e5eb8780bdd0714d9527b","src/zlib/contrib/vstudio/vc10/miniunz.vcxproj.filters":"4b8466bf00c70b81c31cc903e756e04151fd90fdcbe102f3568a2c8b6190ea27","src/zlib/contrib/vstudio/vc10/minizip.vcxproj":"af73f2cf8ae51e65e85342faeb40849a2310c97bc77def42b38d7070460a6cf0","src/zlib/contrib/vstudio/vc10/minizip.vcxproj.filters":"f2815f9e3386c393d0a351632823b221ef9689da1f422ecaa561dba2a612fb0a","src/zlib/contrib/vstudio/vc10/testzlib.vcxproj":"c21e64259bf9efe97e1103212e7a6e1b7372b50067b4ba14cfa678e1f491095f","src/zlib/contrib/vstudio/vc10/testzlib.vcxproj.filters":"a7caddbac3ba90b5d482e6d926ef35cc40dc3553ed3776ef6b68a528fd5b0631","src/zlib/contrib/vstudio/vc10/testzlibdll.vcxproj":"3f317d8964f17901c3e68bff5deaec10b6ccc50a572235999e8097292692984c","src/zlib/contrib/vstudio/vc10/testzlibdll.vcxproj.filters":"29c9535775aa76320ee4efd001d41961faf6c58cedd8b29d3986e85f73d2f6fb","src/zlib/contrib/vstudio/vc10/zlib.rc":"6041a4727ea47520058a5b4bb8de87592883eb7f26dd39df62879c347f3888d1","src/zlib/contrib/vstudio/vc10/zlibstat.vcxproj":"50402ab8c63f746c034d6ce51d9612aff5b6af9aa27790cffa4b7deed4b30eb8","src/zlib/contrib/vstudio/vc10/zlibstat.vcxproj.filters":"eeb1de64c252c46b822f73f272127f6f9f0570ef22d234e093070ba95a4dde24","src/zlib/contrib/vstudio/vc10/zlibvc.def":"a228e521a561d4456c83c7081b4e9950cfce99133af7d5fdd27f12a8fd53efde","src/zlib/contrib/vstudio/vc10/zlibvc.sln":"e659860f705f31b87ea9139a3cb4ebe1561e120bce495383a54614fc82b49990","src/zlib/contrib/vstudio/vc10/zlibvc.vcxproj":"efad8cb150c0e5122f8c700d95c5de659dff92b171917c66bdbd082fff500b58","src/zlib/contrib/vstudio/vc10/zlibvc.vcxproj.filters":"c801732b7c7017796add50d2b71a228f99f95a46650baad307ff7e8358a2bfb0","src/zlib/contrib/vstudio/vc11/miniunz.vcxproj":"746e4c11fb8af4bcd6a9d68ba81ed1dc366a5de3bed56b291ee969ad733a7bb0","src/zlib/contrib/vstudio/vc11/minizip.vcxproj":"340617cae9cf4fcb003308021d3782ec3639e60d62d79a3aafc0a50bb55b061e","src/zlib/contrib/vstudio/vc11/testzlib.vcxproj":"99eadfdf2e41bc036141c174c4d0035d87572ce5795dcc28f39133f818a79d08","src/zlib/contrib/vstudio/vc11/testzlibdll.vcxproj":"583bdef522b0176829f0d8139ea2a88b9cbc14379d1334f3a863989ed3df9b67","src/zlib/contrib/vstudio/vc11/zlib.rc":"6041a4727ea47520058a5b4bb8de87592883eb7f26dd39df62879c347f3888d1","src/zlib/contrib/vstudio/vc11/zlibstat.vcxproj":"b07f792843d05ac883391075bc3b9625437490d8d40944ad359aa2134a09a3aa","src/zlib/contrib/vstudio/vc11/zlibvc.def":"a228e521a561d4456c83c7081b4e9950cfce99133af7d5fdd27f12a8fd53efde","src/zlib/contrib/vstudio/vc11/zlibvc.sln":"27389b515997defd080519f95aff87e89fcbe8b26d73c5ebb73c544cfef4d60e","src/zlib/contrib/vstudio/vc11/zlibvc.vcxproj":"d02d014ef957119a6fd0ab243c892b74d1592b117750b95fed21097c8ed922d9","src/zlib/contrib/vstudio/vc12/miniunz.vcxproj":"1494af54570f6e93852932956d49a8c25e57b5abc1ac979945605ca9143df9f8","src/zlib/contrib/vstudio/vc12/minizip.vcxproj":"9bf128ed6760ca5f019006f178b1c65f4c7ff122dba8d297b64b0eb72feeb120","src/zlib/contrib/vstudio/vc12/testzlib.vcxproj":"be88bc1220c0447c2379fdab3ac88055f58a8a788d3e9cec494342187e760eaf","src/zlib/contrib/vstudio/vc12/testzlibdll.vcxproj":"93416510256935d79625dc9fd349cfce6968c062d42a138bec404a26b2f92f5e","src/zlib/contrib/vstudio/vc12/zlib.rc":"90067be57a8c5df594a850352642f8b1dcb32e3d088d3805ebafe75a27412b74","src/zlib/contrib/vstudio/vc12/zlibstat.vcxproj":"faa229a851c76b77d65bb4742d8369efe566652bb6a1447d1e3539f289b5313d","src/zlib/contrib/vstudio/vc12/zlibvc.def":"a228e521a561d4456c83c7081b4e9950cfce99133af7d5fdd27f12a8fd53efde","src/zlib/contrib/vstudio/vc12/zlibvc.sln":"162e0faa80a56d89eea71a0b89377708eec2faa0dc72091cc0abb07fbdea49a0","src/zlib/contrib/vstudio/vc12/zlibvc.vcxproj":"8ac8cb2d29b880a738011d29d0511af9b14f321bed90f674109c446f4108d442","src/zlib/contrib/vstudio/vc14/miniunz.vcxproj":"0312511d4a30cea979c4e36edf994a537ed8a9d924f6b5c536cbcd094773c11f","src/zlib/contrib/vstudio/vc14/minizip.vcxproj":"9e7bb7a6ac723e4b2db900627c366f9bb93a351381995d9c69a50c0126f64233","src/zlib/contrib/vstudio/vc14/testzlib.vcxproj":"88667873d9d61d65016b9501ca925532eb55f56230e5911d3e2a01cd8a9fb2a4","src/zlib/contrib/vstudio/vc14/testzlibdll.vcxproj":"69f544898b4275cd3d8e19b8f1f8cb39c1cb98a30cdb033242e4b94c57bfa150","src/zlib/contrib/vstudio/vc14/zlib.rc":"90067be57a8c5df594a850352642f8b1dcb32e3d088d3805ebafe75a27412b74","src/zlib/contrib/vstudio/vc14/zlibstat.vcxproj":"5629eb0cc30674a39aa3636f1cdd190393b0dbd4c69a35e36ad85b6340055605","src/zlib/contrib/vstudio/vc14/zlibvc.def":"a228e521a561d4456c83c7081b4e9950cfce99133af7d5fdd27f12a8fd53efde","src/zlib/contrib/vstudio/vc14/zlibvc.sln":"47a50bbde8ca6336cecd8c0e4b65e515fc46ae84c7b61008ac9864162f777286","src/zlib/contrib/vstudio/vc14/zlibvc.vcxproj":"09f496a2ad3afdd5e3f36b7285440369dcac4559656edc00ed7a74c7ec9fa10f","src/zlib/contrib/vstudio/vc9/miniunz.vcproj":"7db9b2ef5ff05d3de4ba633feab10e85d45434c865d520ffa1974421904996f3","src/zlib/contrib/vstudio/vc9/minizip.vcproj":"7797a9ad3c0056f3a3cf8fcde7618acd1d151c65d15f841fccd8d9d878ae7bb0","src/zlib/contrib/vstudio/vc9/testzlib.vcproj":"8df405917800adccee6bad2116022c2c82d661b37ea40ea16405fe4dbcb4b69f","src/zlib/contrib/vstudio/vc9/testzlibdll.vcproj":"cde6806f5c81d1fc311f9921c17ba56f8e386d097783a6a90875d385837c47e7","src/zlib/contrib/vstudio/vc9/zlib.rc":"6041a4727ea47520058a5b4bb8de87592883eb7f26dd39df62879c347f3888d1","src/zlib/contrib/vstudio/vc9/zlibstat.vcproj":"d393d418d827ad9fb9c6516f1a7620371d15e3f5afef8ba60b51e50acc7199e9","src/zlib/contrib/vstudio/vc9/zlibvc.def":"a228e521a561d4456c83c7081b4e9950cfce99133af7d5fdd27f12a8fd53efde","src/zlib/contrib/vstudio/vc9/zlibvc.sln":"26e58d4b2cfcd941c367fb2a18537b3b9f002f2ac1278b700ea1129c50501452","src/zlib/contrib/vstudio/vc9/zlibvc.vcproj":"eaca98fcf166738b59fcdbd179dac9f98f985c6ba49212b186343a998816f081","src/zlib/crc32.c":"ec3ff0f97858b228513027a490e4330cbb23c6fbdd24d839902ffa89854f209c","src/zlib/crc32.h":"9a2223575183ac2ee8a247f20bf3ac066e8bd0140369556bdbdffc777435749e","src/zlib/deflate.c":"4470e36709ce7d6067fa3e8f60bb7f693b055bee42a0d6655ed71faa2db87fde","src/zlib/deflate.h":"0db1b5ef79ca6ba0f508b7b8bdaa11af45c5ebe2c89ab4f1086dc22b963a52fa","src/zlib/doc/algorithm.txt":"992590931e982c0765286c2d83f6e9ff0a95aabb08e28c30c52bae3e8c4bd5ad","src/zlib/doc/crc-doc.1.0.pdf":"064f9252d6e2e15ea56c2bd18e160e5c9c84bcd137c11a7af497aaa511ace998","src/zlib/doc/rfc1950.txt":"8f0475a5c984657bf26277f73df9456c9b97f175084f0c1748f1eb1f0b9b10b9","src/zlib/doc/rfc1951.txt":"5ebf4b5b7fe1c3a0c0ab9aa3ac8c0f3853a7dc484905e76e03b0b0f301350009","src/zlib/doc/rfc1952.txt":"164ef0897b4cbec63abf1b57f069f3599bd0fb7c72c2a4dee21bd7e03ec9af67","src/zlib/doc/txtvsbin.txt":"d1549fb75137f03102798f70fd34ff76285e717ddd520dd82274c1c0510eacf0","src/zlib/examples/README.examples":"1bc1c677bbebe1aa5e85015bb62f0cf3fcdbf95652d30494159bee6166c1854a","src/zlib/examples/enough.c":"c14a257c60bbe0d65bb54746dd97774a1853ef9e3f78db118a27d8bc0d26d738","src/zlib/examples/fitblk.c":"fd8aaaefd5eb3d9fc388bdc5b715d1c6993ecc9367f5432d3b120a0278904edc","src/zlib/examples/gun.c":"3bfd36b06284ba97d6105b8a6a5d18b2b34b75b3a1285f16d018680fb174915f","src/zlib/examples/gzappend.c":"6de91c8305e37560117bff44136abff72b16b028c0bda0bbac7ea07e4988b0ce","src/zlib/examples/gzjoin.c":"90b9d6c39a5fc91cf1cc9b96b025a508a8015dc502cd9374c754b44078593f57","src/zlib/examples/gzlog.c":"196872021c96099fd30c880ac2cccd1350fdbd81179731f3914153a26ebf72e9","src/zlib/examples/gzlog.h":"681f280437f867820bf39880e2f4fc641d402879e399ba2e6a31d73feefe8edc","src/zlib/examples/gznorm.c":"e5a8f5c3b107f27212f7d5fbfcf072a337a1b4ea32929ae31c168997438a5cc0","src/zlib/examples/zlib_how.html":"80fb647be8450bd7a07d8495244e1f061dfbdbdb53172ca24e7ffff8ace9c72f","src/zlib/examples/zpipe.c":"68140a82582ede938159630bca0fb13a93b4bf1cb2e85b08943c26242cf8f3a6","src/zlib/examples/zran.c":"10f9568b1f54cdb7474a38c5bc479aa0edb07a0eed2e999bdad4c521f6b25330","src/zlib/examples/zran.h":"9a0d4c15f898c43deae2c5e98a5c66c637a1b25573d662fe91a789c386eaf971","src/zlib/gzclose.c":"94446cf8cde67c30e64d0a335b0c941fd3fbad2e77f30180d12e61f9c2a5a6b8","src/zlib/gzguts.h":"40d57fbcef5d4d849e416e03b680026b18302e4b0da5907a96a012d7ced91b8c","src/zlib/gzlib.c":"635b7b6df79a5ce6e0f951669e4c82704d7972d8afb87278b9155c2cb4c5066f","src/zlib/gzread.c":"41c69d43fb3974bae58d9169aea3514221f70dc77bb7a35c79626dd3be01adf2","src/zlib/gzwrite.c":"c7454689751c8f41ec63a1381a0053fb149095abe1c3b89c8a996b2d7ac8adce","src/zlib/infback.c":"6a6cfe3d7e239d590692bc2664ac58d3ef92be30ff4cb3c6dbf5deed28f79eb5","src/zlib/inffast.c":"41d93aefdbfee5455809130af74fcc76cf7259b1aa8b34d0060d14e57463e8bb","src/zlib/inffast.h":"7d8c1c873ce9bc346ad6005bb9d75cce5c6352aaf7395385be216a9452a34908","src/zlib/inffixed.h":"237ba710f090e432b62ebf963bee8b302867e9691406b2d3f8ee89ee7bfef9b0","src/zlib/inflate.c":"f1679575fef1717d908dd09d7bfe8fff89c21941cadd7c255a2ccccfba3a287e","src/zlib/inflate.h":"e8d4a51b07694bf48cb91979c19974cf6a5ab0b8a09d26ec0d14df349230673e","src/zlib/inftrees.c":"b9db40bbb68b63dccbcdfa78d687751e33178af8669f1c1236309cfd5d2edc0e","src/zlib/inftrees.h":"44084a93673386db6282dcb61d739c84518e10dff66d1c6850715137c827464c","src/zlib/make_vms.com":"14ed54bdd391c1648cedfb69d8a73a26dcc7f1187d59b0f18d944b7665cec85b","src/zlib/msdos/Makefile.bor":"292ab363f7ffbc4ae84d37cd9bdffd2dac1003bee52d223a8489844870f20702","src/zlib/msdos/Makefile.dj2":"9208450c2ae6dcbfcc25560b5b9ca763f461e7246e37b0552474edf8fa898906","src/zlib/msdos/Makefile.emx":"c749d6ec7f88e8e639d4f03bdbdcbbe9d1c304210be4c4be621ceb22961d3d64","src/zlib/msdos/Makefile.msc":"0e021a6f42212415b060e4ad468eb415d0a8c1f343137fb9dff2cb8f9ead3027","src/zlib/msdos/Makefile.tc":"2ae12ee2a3e62f7c5a0520d0fbe4adee772bc07fe816002b07ccb43db3daa76a","src/zlib/nintendods/Makefile":"ea5823efe6830132294eddf2f56dbd7db8712244c210bb4968c431b1a91bd066","src/zlib/nintendods/README":"e362426c47b39ff6a7d6c75c6660b20abf076cdfa5e1e421716dc629a71aef95","src/zlib/old/Makefile.emx":"d811f032272aae50123a889297af3a02fbd60d1e42bbef11466462f627ff7b5b","src/zlib/old/Makefile.riscos":"d1a488b160fbfd53272b68a913283a4be08ba9d490796b196dddb2ba535b41e0","src/zlib/old/README":"551a0f4d91fe0f827a31cbdfbb4a71d1f3dc4d06564d80a3f526b749dd104d11","src/zlib/old/descrip.mms":"8ff08c35c056df9c986f23c09cf8936db63ccf12c3c42f7d18a48b36f060cff7","src/zlib/old/os2/Makefile.os2":"6ad247c00f00ff42fd2d62555e86251cef06e4079378241b5f320c227507d51d","src/zlib/old/os2/zlib.def":"ea9c61876d2e20b67ef2d9495991a32798eb40d13ede95859a2f4f03b65b9b61","src/zlib/old/visual-basic.txt":"1727650acbde9a9e6aec9438896377e46a12699cca5d46c5399cef524dedc614","src/zlib/os400/README400":"5eb702a0dd460e2bea59ee83014c3f975e892057850c639f793bb740044a38ba","src/zlib/os400/bndsrc":"3c36a17975eed5a8d33bc5443b39fead1e68c01393496be9c1f4a61444bcb0f6","src/zlib/os400/make.sh":"143394d1e3876c61c29078c0e47310e726e1f5bd42739fe92df9ece65711655f","src/zlib/os400/zlib.inc":"dede38961ae2e7a2590343bf1ff558c6f51e46714dec33f2d11d8c34899b3875","src/zlib/qnx/package.qpg":"d521336be75bdd145281c6d166241905751ec97093ecd6fec97a313f631ac0e1","src/zlib/test/example.c":"64ae90d60b40a8aec4700e5c4e7a71898ebb92948b7a07f939b3e763cb3e8b35","src/zlib/test/infcover.c":"f654f3fcc74b33bd95cda63d13fe0ce589bcfe965544e0c17ee597d75efbd090","src/zlib/test/minigzip.c":"f9777d1e8b337573e12daa8091dcf22e88a9b155fc0acad15b8224c377bfe027","src/zlib/treebuild.xml":"89b50165782643554a38d5c58c203d9648b540e5a455531dcb58b5676a019955","src/zlib/trees.c":"b338f1ec9038bd77efc09c8fdb99ef27b5db5b3da9baa301e544adc8e3b6a662","src/zlib/trees.h":"bb0a9d3ca88ee00c81adb7c636e73b97085f6ef1b52d6d58edbe2b6dc3adeb4d","src/zlib/uncompr.c":"7b3d8ca0f10ef7c74044c3172ca8f9f50389cd0f270ee4517f438e7e06be5623","src/zlib/watcom/watcom_f.mak":"7e039b912f9cffaa40835281430bb284fa9042b0a0d12f6b34700a06bca6576e","src/zlib/watcom/watcom_l.mak":"d11b4064604a034725860e63e3f6d347056372e4b1675b183e20a93533b20cc9","src/zlib/win32/DLL_FAQ.txt":"9e00778319381e6275691dd3a89410c99065b8c0c5db96473abe8c859cbdefd8","src/zlib/win32/Makefile.bor":"7d73a0d2c3e38b7c610bbc9c22f683a4fe1ab9b8b65649a3a8ac4ff7fcc14ba6","src/zlib/win32/Makefile.gcc":"97140c30506a8f6b2edb6b3d8a1b6b539d7929d4b957deba9950301090f579bf","src/zlib/win32/Makefile.msc":"235529bd529d4690d5d4b7871fdd0a1f118f2fe18862cbdec5f5ac674c55a60d","src/zlib/win32/README-WIN32.txt":"f414b3702f8d3bf1de42e0f41604bd78c44e537aae16b6107e3cdaa5759caa16","src/zlib/win32/VisualC.txt":"9ec0babd46eaa012371dee2d3a8a55d9c7130f7895512c3371c737e4a7f6a997","src/zlib/win32/zlib.def":"c00693a5c825f8bfbdb68124fd03cb2fa5269338071147bdaa14434aaf3962b9","src/zlib/win32/zlib1.rc":"54e161029b59e99a4f9cb2281b956f00ecfb1814318ddef9c741ff4f832c5c1d","src/zlib/zconf.h":"80e0a31a4c0e6f20d1bad0df99271b9d535aa9f7c4e62f1a54f643adb4c6dfa2","src/zlib/zconf.h.cmakein":"bb12900d39488e6a9ed67ebd7cf5599f3ced8937b7077d4d5001e470c7a1392e","src/zlib/zconf.h.in":"80e0a31a4c0e6f20d1bad0df99271b9d535aa9f7c4e62f1a54f643adb4c6dfa2","src/zlib/zlib.3":"aefd0162070fcb0379dc18e27b039253cd98c148104c1097dd60e0d0b435e564","src/zlib/zlib.3.pdf":"91343dffd2876dcf4af567f299ce99872b066232451093d6d12e02e4654873d8","src/zlib/zlib.h":"a980a0d104198a53cc220c51ab5856e5be901bec8a2d02e0ee79a8754219dfed","src/zlib/zlib.map":"33e2a7c4defd6222945bb0f7191b6380afb4f518e804af86a44aad4a9090bf9e","src/zlib/zlib.pc.cmakein":"2f1d0b18ce37c2af415a469857f02aee2c41a58877aff21d29e9c6db32b55cb7","src/zlib/zlib.pc.in":"04c01cc2e1a0ed123518b5855f585c93a24526dd88982c414111ea1fc9f07997","src/zlib/zlib2ansi":"b3f9c88abbdf16143e5d5110e44fff198bcda9ee1358e036c8d445e9d0cbce85","src/zlib/zutil.c":"8108af451ad14271065844736ac7c436275b92826c319318070508d769371428","src/zlib/zutil.h":"cf94d865e3a9162c0571cba7f74c8f01efbdca26b981d6cc9c545d4c3991e3c2"},"package":"56ee889ecc9568871456d42f603d6a0ce59ff328d291063a45cbdf0036baf6db"}
+\ No newline at end of file
diff --git a/meta/recipes-devtools/rust/libstd-rs_1.75.0.bb b/meta/recipes-devtools/rust/libstd-rs_1.75.0.bb
new file mode 100644
index 0000000000..d2bf266f9d
--- /dev/null
+++ b/meta/recipes-devtools/rust/libstd-rs_1.75.0.bb
@@ -0,0 +1,53 @@
+SUMMARY = "Rust standard libaries"
+HOMEPAGE = "http://www.rust-lang.org"
+SECTION = "devel"
+LICENSE = "(MIT | Apache-2.0) & Unicode-TOU"
+LIC_FILES_CHKSUM = "file://../../COPYRIGHT;md5=c2cccf560306876da3913d79062a54b9"
+
+require rust-source.inc
+
+# The dummy crate named `sysroot` represents the standard library target.
+#
+# See fd4c81f4c19e ("Add a `sysroot` crate to represent the standard library crates")
+# https://github.com/rust-lang/rust/pull/108865/
+S = "${RUSTSRC}/library/sysroot"
+
+RUSTLIB_DEP = ""
+inherit cargo
+
+DEPENDS:append:libc-musl = " libunwind"
+# rv32 does not have libunwind ported yet
+DEPENDS:remove:riscv32 = "libunwind"
+DEPENDS:remove:riscv64 = "libunwind"
+
+# Embed bitcode in order to allow compiling both with and without LTO
+RUSTFLAGS += "-Cembed-bitcode=yes"
+# Needed so cargo can find libbacktrace
+RUSTFLAGS += "-L ${STAGING_LIBDIR} -C link-arg=-Wl,-soname,libstd.so"
+
+CARGO_FEATURES ?= "panic-unwind backtrace"
+CARGO_BUILD_FLAGS += "--features '${CARGO_FEATURES}'"
+CARGO_VENDORING_DIRECTORY = "${RUSTSRC}/vendor"
+
+do_compile:prepend () {
+ export CARGO_TARGET_DIR="${B}"
+ # For Rust 1.13.0 and newer
+ export RUSTC_BOOTSTRAP="1"
+}
+
+do_install () {
+ mkdir -p ${D}${rustlibdir}
+
+ # With the incremental build support added in 1.24, the libstd deps directory also includes dependency
+ # files that get installed. Those are really only needed to incrementally rebuild the libstd library
+ # itself and don't need to be installed.
+ rm -f ${B}/${RUST_TARGET_SYS}/${BUILD_DIR}/deps/*.d
+ cp ${B}/${RUST_TARGET_SYS}/${BUILD_DIR}/deps/* ${D}${rustlibdir}
+}
+
+BBCLASSEXTEND = "nativesdk"
+
+# Since 1.70.0 upgrade this fails to build with gold:
+# http://errors.yoctoproject.org/Errors/Details/708194/
+# ld: error: version script assignment of to symbol __rust_alloc_error_handler_should_panic failed: symbol not defined
+LDFLAGS:append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd', '', d)}"
diff --git a/meta/recipes-devtools/rust/rust-cross-canadian.inc b/meta/recipes-devtools/rust/rust-cross-canadian.inc
new file mode 100644
index 0000000000..f962437d6b
--- /dev/null
+++ b/meta/recipes-devtools/rust/rust-cross-canadian.inc
@@ -0,0 +1,92 @@
+SUMMARY = "Rust compiler and runtime libaries (cross-canadian for ${TARGET_ARCH} target)"
+PN = "rust-cross-canadian-${TRANSLATED_TARGET_ARCH}"
+
+inherit rust-target-config
+inherit rust-common
+
+LICENSE = "MIT"
+
+MODIFYTOS = "0"
+
+DEPENDS += "virtual/${SDK_PREFIX}gcc virtual/nativesdk-libc virtual/nativesdk-${SDK_PREFIX}compilerlibs"
+
+SRC_URI += "file://target-rust-ccld.c"
+LIC_FILES_CHKSUM = "file://target-rust-ccld.c;md5=af4e0e29f81a34cffe05aa07c89e93e9;endline=7"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
+
+# Need to use our SDK's sh here, see #14878
+create_sdk_wrapper () {
+ file="$1"
+ shift
+ cat <<- EOF > "${file}"
+ #!/bin/sh
+ \$$1 \$@
+ EOF
+
+ chmod +x "$file"
+}
+
+do_install () {
+ # Rust requires /usr/lib to contain the libs.
+ # The required structure is retained for simplicity.
+ SYS_LIBDIR=$(dirname ${D}${libdir})
+ SYS_BINDIR=$(dirname ${D}${bindir})
+ RUSTLIB_DIR=${SYS_LIBDIR}/${TARGET_SYS}/rustlib
+
+ install -d ${RUSTLIB_DIR}
+ install -m 0644 "${RUST_TARGETS_DIR}/${RUST_HOST_SYS}.json" "${RUSTLIB_DIR}"
+ install -m 0644 "${RUST_TARGETS_DIR}/${RUST_TARGET_SYS}.json" "${RUSTLIB_DIR}"
+
+ # Uses SDK's CC as linker so linked binaries works out of box.
+ # We have a problem as rust sets LD_LIBRARY_PATH and this will break running host
+ # binaries (even /bin/sh) in the SDK as they detect a newer glibc from the SDK
+ # in those paths and we hit symbol errors. We saw particular problems with symbol
+ # mismatch on ubuntu1804 during development. To avoid this we have an SDK built
+ # binary which unsets LD_LIBRARY_PATH, which can then call the wrapper script
+ # where the context is easier to do the env maniupations needed
+ install -d ${SYS_BINDIR}
+ outfile="${SYS_BINDIR}/target-rust-ccld"
+ ${CC} ${S}/target-rust-ccld.c -o $outfile
+ chmod +x "$outfile"
+ create_sdk_wrapper "${SYS_BINDIR}/target-rust-ccld-wrapper" "CC"
+
+ ENV_SETUP_DIR=${D}${base_prefix}/environment-setup.d
+ mkdir "${ENV_SETUP_DIR}"
+ RUST_ENV_SETUP_SH="${ENV_SETUP_DIR}/rust.sh"
+
+ RUST_TARGET_TRIPLE=`echo ${RUST_TARGET_SYS} | tr '[:lower:]' '[:upper:]' | sed 's/-/_/g'`
+ RUST_HOST_TRIPLE=`echo ${RUST_HOST_SYS} | tr '[:lower:]' '[:upper:]' | sed 's/-/_/g'`
+ SDKLOADER=${@bb.utils.contains('SDK_ARCH', 'x86_64', 'ld-linux-x86-64.so.2', '', d)}${@bb.utils.contains('SDK_ARCH', 'i686', 'ld-linux.so.2', '', d)}${@bb.utils.contains('SDK_ARCH', 'aarch64', 'ld-linux-aarch64.so.1', '', d)}${@bb.utils.contains('SDK_ARCH', 'ppc64le', 'ld64.so.2', '', d)}${@bb.utils.contains('SDK_ARCH', 'riscv64', 'ld-linux-riscv64-lp64d.so.1', '', d)}
+
+ cat <<- EOF > "${RUST_ENV_SETUP_SH}"
+ export CARGO_TARGET_${RUST_TARGET_TRIPLE}_RUSTFLAGS="--sysroot=\$OECORE_TARGET_SYSROOT/usr -C link-arg=--sysroot=\$OECORE_TARGET_SYSROOT"
+ export CARGO_TARGET_${RUST_HOST_TRIPLE}_RUNNER="\$OECORE_NATIVE_SYSROOT/lib/${SDKLOADER}"
+ export RUST_TARGET_PATH="\$OECORE_NATIVE_SYSROOT/usr/lib/${TARGET_SYS}/rustlib"
+ EOF
+
+ chown -R root.root ${D}
+
+ CARGO_ENV_SETUP_SH="${ENV_SETUP_DIR}/cargo.sh"
+ cat <<- EOF > "${CARGO_ENV_SETUP_SH}"
+ export CARGO_HOME="\$OECORE_TARGET_SYSROOT/home/cargo"
+ mkdir -p "\$CARGO_HOME"
+ # Init the default target once, it might be otherwise user modified.
+ if [ ! -f "\$CARGO_HOME/config" ]; then
+ touch "\$CARGO_HOME/config"
+ echo "[build]" >> "\$CARGO_HOME/config"
+ echo 'target = "'${RUST_TARGET_SYS}'"' >> "\$CARGO_HOME/config"
+ echo '# TARGET_SYS' >> "\$CARGO_HOME/config"
+ echo '[target.'${RUST_TARGET_SYS}']' >> "\$CARGO_HOME/config"
+ echo 'linker = "target-rust-ccld"' >> "\$CARGO_HOME/config"
+ fi
+
+ # Keep the below off as long as HTTP/2 is disabled.
+ export CARGO_HTTP_MULTIPLEXING=false
+
+ export CARGO_HTTP_CAINFO="\$OECORE_NATIVE_SYSROOT/etc/ssl/certs/ca-certificates.crt"
+ EOF
+}
+
+FILES:${PN} += "${base_prefix}/environment-setup.d"
+
diff --git a/meta/recipes-devtools/rust/rust-cross-canadian_1.75.0.bb b/meta/recipes-devtools/rust/rust-cross-canadian_1.75.0.bb
new file mode 100644
index 0000000000..55865238ab
--- /dev/null
+++ b/meta/recipes-devtools/rust/rust-cross-canadian_1.75.0.bb
@@ -0,0 +1,2 @@
+inherit cross-canadian
+require rust-cross-canadian.inc \ No newline at end of file
diff --git a/meta/recipes-devtools/rust/rust-llvm/0001-AsmMatcherEmitter-sort-ClassInfo-lists-by-name-as-we.patch b/meta/recipes-devtools/rust/rust-llvm/0001-AsmMatcherEmitter-sort-ClassInfo-lists-by-name-as-we.patch
new file mode 100644
index 0000000000..48af6fc283
--- /dev/null
+++ b/meta/recipes-devtools/rust/rust-llvm/0001-AsmMatcherEmitter-sort-ClassInfo-lists-by-name-as-we.patch
@@ -0,0 +1,31 @@
+From 86940d87026432683fb6741cd8a34d3b9b18e40d Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin <alex.kanavin@gmail.com>
+Date: Fri, 27 Nov 2020 10:11:08 +0000
+Subject: [PATCH] AsmMatcherEmitter: sort ClassInfo lists by name as well
+
+Otherwise, there are instances which are identical in
+every other field and therefore sort non-reproducibly
+(which breaks binary and source reproducibiliy).
+
+Upstream-Status: Submitted [https://reviews.llvm.org/D97477]
+Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
+---
+ llvm/utils/TableGen/AsmMatcherEmitter.cpp | 5 ++++-
+ 1 file changed, 4 insertions(+), 1 deletion(-)
+
+diff --git a/llvm/utils/TableGen/AsmMatcherEmitter.cpp b/llvm/utils/TableGen/AsmMatcherEmitter.cpp
+index ccf0959389b..1f801e83b7d 100644
+--- a/llvm/utils/TableGen/AsmMatcherEmitter.cpp
++++ b/llvm/utils/TableGen/AsmMatcherEmitter.cpp
+@@ -359,7 +359,10 @@ public:
+ // name of a class shouldn't be significant. However, some of the backends
+ // accidentally rely on this behaviour, so it will have to stay like this
+ // until they are fixed.
+- return ValueName < RHS.ValueName;
++ if (ValueName != RHS.ValueName)
++ return ValueName < RHS.ValueName;
++ // All else being equal, we should sort by name, for source and binary reproducibility
++ return Name < RHS.Name;
+ }
+ };
+
diff --git a/meta/recipes-devtools/rust/rust-llvm/0002-llvm-allow-env-override-of-exe-path.patch b/meta/recipes-devtools/rust/rust-llvm/0002-llvm-allow-env-override-of-exe-path.patch
new file mode 100644
index 0000000000..9be26677a9
--- /dev/null
+++ b/meta/recipes-devtools/rust/rust-llvm/0002-llvm-allow-env-override-of-exe-path.patch
@@ -0,0 +1,33 @@
+From 7111770e8290082530d920e120995bf81431b0aa Mon Sep 17 00:00:00 2001
+From: Martin Kelly <mkelly@xevo.com>
+Date: Fri, 19 May 2017 00:22:57 -0700
+Subject: [PATCH 12/18] llvm: allow env override of exe path
+
+When using a native llvm-config from inside a sysroot, we need llvm-config to
+return the libraries, include directories, etc. from inside the sysroot rather
+than from the native sysroot. Thus provide an env override for calling
+llvm-config from a target sysroot.
+
+Upstream-Status: Inappropriate [oe-core specific]
+Signed-off-by: Martin Kelly <mkelly@xevo.com>
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ llvm/tools/llvm-config/llvm-config.cpp | 7 +++++++
+ 1 file changed, 7 insertions(+)
+
+--- a/llvm/tools/llvm-config/llvm-config.cpp
++++ b/llvm/tools/llvm-config/llvm-config.cpp
+@@ -226,6 +226,13 @@ Typical components:\n\
+
+ /// Compute the path to the main executable.
+ std::string GetExecutablePath(const char *Argv0) {
++ // Hack for Yocto: we need to override the root path when we are using
++ // llvm-config from within a target sysroot.
++ const char *Sysroot = std::getenv("YOCTO_ALTERNATE_EXE_PATH");
++ if (Sysroot != nullptr) {
++ return Sysroot;
++ }
++
+ // This just needs to be some symbol in the binary; C++ doesn't
+ // allow taking the address of ::main however.
+ void *P = (void *)(intptr_t)GetExecutablePath;
diff --git a/meta/recipes-devtools/rust/rust-llvm/0003-llvm-fix-include-benchmarks.patch b/meta/recipes-devtools/rust/rust-llvm/0003-llvm-fix-include-benchmarks.patch
new file mode 100644
index 0000000000..ff31c0bc32
--- /dev/null
+++ b/meta/recipes-devtools/rust/rust-llvm/0003-llvm-fix-include-benchmarks.patch
@@ -0,0 +1,25 @@
+Subject: LLVM_INCLUDE_BENCHMARKS with llvm 14.0.1 failing to build
+
+https://github.com/llvm/llvm-project/issues/54941
+
+The LLVM_INCLUDE_BENCHMARKS is turned OFF to fix the build error as
+per the discussions in the above link. We will work on the issue and
+replace the workaround with actual fix once committed in LLVM.
+
+Please refer the following link for more discussions on the issue:-
+https://github.com/rust-lang/rust/issues/96054
+
+Upstream-Status: Pending
+Signed-off-by: Pgowda <pgowda.cve@gmail.com>
+
+--- a/llvm/CMakeLists.txt 2022-04-22 00:45:30.543445478 -0700
++++ b/llvm/CMakeLists.txt 2022-04-22 00:45:42.095232974 -0700
+@@ -615,7 +615,7 @@ option(LLVM_INCLUDE_GO_TESTS "Include th
+
+ option(LLVM_BUILD_BENCHMARKS "Add LLVM benchmark targets to the list of default
+ targets. If OFF, benchmarks still could be built using Benchmarks target." OFF)
+-option(LLVM_INCLUDE_BENCHMARKS "Generate benchmark targets. If OFF, benchmarks can't be built." ON)
++option(LLVM_INCLUDE_BENCHMARKS "Generate benchmark targets. If OFF, benchmarks can't be built." OFF)
+
+ option (LLVM_BUILD_DOCS "Build the llvm documentation." OFF)
+ option (LLVM_INCLUDE_DOCS "Generate build targets for llvm documentation." ON)
diff --git a/meta/recipes-devtools/rust/rust-llvm_1.75.0.bb b/meta/recipes-devtools/rust/rust-llvm_1.75.0.bb
new file mode 100644
index 0000000000..13bdadb5e7
--- /dev/null
+++ b/meta/recipes-devtools/rust/rust-llvm_1.75.0.bb
@@ -0,0 +1,94 @@
+SUMMARY = "LLVM compiler framework (packaged with rust)"
+LICENSE ?= "Apache-2.0-with-LLVM-exception"
+HOMEPAGE = "http://www.rust-lang.org"
+
+# check src/llvm-project/llvm/CMakeLists.txt for llvm version in use
+#
+LLVM_RELEASE = "17.0.6"
+
+require rust-source.inc
+
+SRC_URI += "file://0002-llvm-allow-env-override-of-exe-path.patch;striplevel=2 \
+ file://0001-AsmMatcherEmitter-sort-ClassInfo-lists-by-name-as-we.patch;striplevel=2 \
+ file://0003-llvm-fix-include-benchmarks.patch;striplevel=2"
+
+S = "${RUSTSRC}/src/llvm-project/llvm"
+
+LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=8a15a0759ef07f2682d2ba4b893c9afe"
+
+inherit cmake
+
+DEPENDS += "ninja-native rust-llvm-native"
+
+ARM_INSTRUCTION_SET:armv5 = "arm"
+ARM_INSTRUCTION_SET:armv4t = "arm"
+
+# rustc_llvm with debug info is not recognized as a valid crate that's
+# generated by rust-llvm-native.
+CFLAGS:remove = "-g"
+CXXFLAGS:remove = "-g"
+
+LLVM_DIR = "llvm${LLVM_RELEASE}"
+
+RUST_LLVM_TARGETS ?= "ARM;AArch64;Mips;PowerPC;RISCV;X86"
+
+EXTRA_OECMAKE = " \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DLLVM_TARGETS_TO_BUILD='${RUST_LLVM_TARGETS}' \
+ -DLLVM_BUILD_DOCS=OFF \
+ -DLLVM_ENABLE_TERMINFO=OFF \
+ -DLLVM_ENABLE_ZLIB=OFF \
+ -DLLVM_ENABLE_ZSTD=OFF \
+ -DLLVM_ENABLE_LIBXML2=OFF \
+ -DLLVM_ENABLE_FFI=OFF \
+ -DLLVM_INSTALL_UTILS=ON \
+ -DLLVM_BUILD_EXAMPLES=OFF \
+ -DLLVM_INCLUDE_EXAMPLES=OFF \
+ -DLLVM_BUILD_TESTS=OFF \
+ -DLLVM_INCLUDE_TESTS=OFF \
+ -DLLVM_TARGET_ARCH=${TARGET_ARCH} \
+ -DCMAKE_INSTALL_PREFIX:PATH=${libdir}/llvm-rust \
+"
+
+# Forcibly disable the detection of these packages as otherwise
+# it will look at the host Python install
+EXTRA_OECMAKE += "\
+ -DPY_PYGMENTS_FOUND=OFF \
+ -DPY_PYGMENTS_LEXERS_C_CPP_FOUND=OFF \
+ -DPY_YAML_FOUND=OFF \
+"
+
+EXTRA_OECMAKE:append:class-target = "\
+ -DLLVM_BUILD_TOOLS=OFF \
+ -DLLVM_TABLEGEN=${STAGING_LIBDIR_NATIVE}/llvm-rust/bin/llvm-tblgen \
+ -DLLVM_CONFIG_PATH=${STAGING_LIBDIR_NATIVE}/llvm-rust/bin/llvm-config \
+"
+
+EXTRA_OECMAKE:append:class-nativesdk = "\
+ -DLLVM_BUILD_TOOLS=OFF \
+ -DLLVM_TABLEGEN=${STAGING_LIBDIR_NATIVE}/llvm-rust/bin/llvm-tblgen \
+ -DLLVM_CONFIG_PATH=${STAGING_LIBDIR_NATIVE}/llvm-rust/bin/llvm-config \
+"
+
+# The debug symbols are huge here (>2GB) so suppress them since they
+# provide almost no value. If you really need them then override this
+INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
+
+export YOCTO_ALTERNATE_EXE_PATH = "${STAGING_LIBDIR}/llvm-rust/bin/llvm-config"
+
+do_install:append () {
+ # we don't need any of this stuff to build Rust
+ rm -rf "${D}/usr/lib/cmake"
+}
+
+PACKAGES =+ "${PN}-bugpointpasses ${PN}-llvmhello ${PN}-liblto"
+
+# Add the extra locations to avoid the complaints about unpackaged files
+FILES:${PN}-bugpointpasses = "${libdir}/llvm-rust/lib/BugpointPasses.so"
+FILES:${PN}-llvmhello = "${libdir}/llvm-rust/lib/LLVMHello.so"
+FILES:${PN}-liblto = "${libdir}/llvm-rust/lib/libLTO.so.*"
+FILES:${PN}-staticdev =+ "${libdir}/llvm-rust/*/*.a"
+FILES:${PN} += "${libdir}/libLLVM*.so.* ${libdir}/llvm-rust/lib/*.so.* ${libdir}/llvm-rust/bin"
+FILES:${PN}-dev += "${datadir}/llvm ${libdir}/llvm-rust/lib/*.so ${libdir}/llvm-rust/include ${libdir}/llvm-rust/share ${libdir}/llvm-rust/lib/cmake"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/rust/rust-snapshot.inc b/meta/recipes-devtools/rust/rust-snapshot.inc
new file mode 100644
index 0000000000..a52cb30c48
--- /dev/null
+++ b/meta/recipes-devtools/rust/rust-snapshot.inc
@@ -0,0 +1,58 @@
+## This is information on the rust-snapshot (binary) used to build our current release.
+## snapshot info is taken from rust/src/stage0.json
+## Rust is self-hosting and bootstraps itself with a pre-built previous version of itself.
+## The exact (previous) version that has been used is specified in the source tarball.
+## The version is replicated here.
+
+SNAPSHOT_VERSION = "1.74.0"
+
+SRC_URI[cargo-snapshot-aarch64.sha256sum] = "a18dc9132cf76ccba90bcbb53b56a4d37ebfb34845f61e79f7b5d4710a269647"
+SRC_URI[rust-std-snapshot-aarch64.sha256sum] = "c5ad01692bc08ce6f4db2ac815be63498b45013380c71f22b3d33bf3be767270"
+SRC_URI[rustc-snapshot-aarch64.sha256sum] = "a49bb365481913ead305658e7e9dc621da7895036b840fb57b1bc85c721d07e6"
+
+SRC_URI[cargo-snapshot-i686.sha256sum] = "9f5b5226a69f95950a381ec5bb15dde7a90865a6df8aa0b470082a40d42d9f38"
+SRC_URI[rust-std-snapshot-i686.sha256sum] = "69757b72def9c433753e8bb575c817fc1ba389cf1a9c25276db1491ec025e495"
+SRC_URI[rustc-snapshot-i686.sha256sum] = "7a2bc1bf7e51942d32e82f461eacebe7f929c3eec210dcb7dc6624efd997d7da"
+
+SRC_URI[cargo-snapshot-loongarch64.sha256sum] = "77d6d55122150d8fc56d31fb166fd1b2ae48bff7376459c1b0030727fc604998"
+SRC_URI[rust-std-snapshot-loongarch64.sha256sum] = "13b85a882e912d0d8b3228feb5c263d34ec353d483c9defbd3e6bba38935553b"
+SRC_URI[rustc-snapshot-loongarch64.sha256sum] = "703e8c81f9ca3100fc459db92fd5899de62cf77393f334f98159cd97feb11633"
+
+SRC_URI[cargo-snapshot-powerpc.sha256sum] = "08ea8a345839f34d26f21b94ed6d458e6a38513999f7ddc05175c371983e6deb"
+SRC_URI[rust-std-snapshot-powerpc.sha256sum] = "458ee056fbeccf1cf96c20506654e5e9104c4e8f23d46cd4bb9b97ff5b3f4d55"
+SRC_URI[rustc-snapshot-powerpc.sha256sum] = "d4095cbe26ec197274dae9409e68843653e8c08c0b79e8cd74e72d9907e99816"
+
+SRC_URI[cargo-snapshot-powerpc64.sha256sum] = "696863642318f139634e6856f5e946ea970318ce79d4d9b1595871a70a662a89"
+SRC_URI[rust-std-snapshot-powerpc64.sha256sum] = "7ec56629b7d887753ce3a895fb73b77d2d395acac30207c2b69237ef63279872"
+SRC_URI[rustc-snapshot-powerpc64.sha256sum] = "ca162463db262df9d646687386a1c19f15c8ca9bf1f29eea94f2a8a6d7a6102d"
+
+SRC_URI[cargo-snapshot-powerpc64le.sha256sum] = "2eccd404aabe5137a8e45b6173c27d08862a0e674d5866be71aff1434f271d50"
+SRC_URI[rust-std-snapshot-powerpc64le.sha256sum] = "785956d68855de18546c87d6d06cd2505cb8a10edba84327bf2b448420a31d55"
+SRC_URI[rustc-snapshot-powerpc64le.sha256sum] = "8727b1a92e88ac1ce05198ee185dac86553edd7f50b726781c9ab64544b59809"
+
+SRC_URI[cargo-snapshot-riscv64gc.sha256sum] = "5b224e465e006b5fe959ad64d0df0540c4318ba4e39edd89794d520eef60b026"
+SRC_URI[rust-std-snapshot-riscv64gc.sha256sum] = "2a500156825dde03a53c965e5764a440b1ebce973b8a31f21e8bd8104271d56e"
+SRC_URI[rustc-snapshot-riscv64gc.sha256sum] = "f4f27f1c40208b61ea7e61f9edf2de1787aea78a1edb7fe15bceb20de5c7a4a3"
+
+SRC_URI[cargo-snapshot-s390x.sha256sum] = "06267377c811271d6e4ba6feea1d4b84a9f4c5c8d1dbd46092d0a0595f24e9b6"
+SRC_URI[rust-std-snapshot-s390x.sha256sum] = "35142541b88a1244c8225c64ee18585446d7e67841a9335ccaa95acf2d34dde5"
+SRC_URI[rustc-snapshot-s390x.sha256sum] = "41eae7788549aec58a6980ae6222d3330a01a37d1e7856d087a4e9c8a19aa890"
+
+SRC_URI[cargo-snapshot-x86_64.sha256sum] = "f219386d4569c40b660518e99267afff428c13bf980bda7a614c8d4038d013f6"
+SRC_URI[rust-std-snapshot-x86_64.sha256sum] = "548413213012e2f62b08ed8a913a51210ae7402619027224580176031f2789ea"
+SRC_URI[rustc-snapshot-x86_64.sha256sum] = "7d464be2ae0d6ce69f056d1ea9a8ce2b3b1d537418caea216fdd303903972181"
+
+SRC_URI[rust-std-snapshot-i586.sha256sum] = "bd4502462c5e2b2617b23f28862e544f14c4d02658f6d331f0cfbbba914aa4c0"
+
+SRC_URI[rust-std-snapshot-sparc64.sha256sum] = "68e96875ca7fc6ed0e023fcf752f28b95e9cc7d9881af4e8e167259fdaec7168"
+
+SRC_URI += " \
+ ${RUST_DIST_SERVER}/dist/${RUST_STD_SNAPSHOT}.tar.xz;name=rust-std-snapshot-${RUST_BUILD_ARCH};subdir=rust-snapshot-components \
+ ${RUST_DIST_SERVER}/dist/${RUSTC_SNAPSHOT}.tar.xz;name=rustc-snapshot-${RUST_BUILD_ARCH};subdir=rust-snapshot-components \
+ ${RUST_DIST_SERVER}/dist/${CARGO_SNAPSHOT}.tar.xz;name=cargo-snapshot-${RUST_BUILD_ARCH};subdir=rust-snapshot-components \
+"
+
+RUST_DIST_SERVER = "https://static.rust-lang.org"
+RUST_STD_SNAPSHOT = "rust-std-${SNAPSHOT_VERSION}-${RUST_BUILD_ARCH}-unknown-linux-gnu"
+RUSTC_SNAPSHOT = "rustc-${SNAPSHOT_VERSION}-${RUST_BUILD_ARCH}-unknown-linux-gnu"
+CARGO_SNAPSHOT = "cargo-${SNAPSHOT_VERSION}-${RUST_BUILD_ARCH}-unknown-linux-gnu"
diff --git a/meta/recipes-devtools/rust/rust-source.inc b/meta/recipes-devtools/rust/rust-source.inc
new file mode 100644
index 0000000000..20ef5e82bc
--- /dev/null
+++ b/meta/recipes-devtools/rust/rust-source.inc
@@ -0,0 +1,24 @@
+RUST_VERSION ?= "${@d.getVar('PV').split('-')[0]}"
+
+SRC_URI += "https://static.rust-lang.org/dist/rustc-${RUST_VERSION}-src.tar.xz;name=rust \
+ file://hardcodepaths.patch;patchdir=${RUSTSRC} \
+ file://zlib-off64_t.patch;patchdir=${RUSTSRC} \
+ file://0001-Revert-Map-source-absolute-paths-to-OUT_DIR-as-relat.patch;patchdir=${RUSTSRC} \
+ file://rv32-missing-syscalls.patch;patchdir=${RUSTSRC} \
+ file://rv32-rustix-libc-backend.patch;patchdir=${RUSTSRC} \
+ file://rv32-cargo-rustix-0.38.19-fix.patch;patchdir=${RUSTSRC} \
+ file://custom-target-cfg.patch;patchdir=${RUSTSRC} \
+ file://rustc-bootstrap.patch;patchdir=${RUSTSRC} \
+ file://target-build-value.patch;patchdir=${RUSTSRC} \
+ file://0001-Handle-vendored-sources-when-remapping-paths.patch;patchdir=${RUSTSRC} \
+ file://repro-issue-fix-with-v175.patch;patchdir=${RUSTSRC} \
+ file://0001-cargo-do-not-write-host-information-into-compilation.patch;patchdir=${RUSTSRC} \
+"
+SRC_URI[rust.sha256sum] = "4526f786d673e4859ff2afa0bab2ba13c918b796519a25c1acce06dba9542340"
+
+RUSTSRC = "${WORKDIR}/rustc-${RUST_VERSION}-src"
+
+UPSTREAM_CHECK_URI = "https://forge.rust-lang.org/infra/other-installation-methods.html"
+UPSTREAM_CHECK_REGEX = "rustc-(?P<pver>\d+(\.\d+)+)-src"
+
+CVE_STATUS[CVE-2024-24576] = "not-applicable-platform: Issue only applies on Windows"
diff --git a/meta/recipes-devtools/rust/rust_1.75.0.bb b/meta/recipes-devtools/rust/rust_1.75.0.bb
new file mode 100644
index 0000000000..c66c14cc5a
--- /dev/null
+++ b/meta/recipes-devtools/rust/rust_1.75.0.bb
@@ -0,0 +1,368 @@
+SUMMARY = "Rust compiler and runtime libaries"
+HOMEPAGE = "http://www.rust-lang.org"
+SECTION = "devel"
+LICENSE = "(MIT | Apache-2.0) & Unicode-TOU"
+LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=c2cccf560306876da3913d79062a54b9"
+
+inherit rust
+inherit cargo_common
+
+DEPENDS += "file-native python3-native"
+DEPENDS:append:class-native = " rust-llvm-native"
+DEPENDS:append:class-nativesdk = " nativesdk-rust-llvm"
+
+# native rust uses cargo/rustc from binary snapshots to bootstrap
+# but everything else should use our native builds
+DEPENDS:append:class-target = " cargo-native rust-native"
+DEPENDS:append:class-nativesdk = " cargo-native rust-native"
+
+DEPENDS += "rust-llvm (=${PV})"
+
+RDEPENDS:${PN}:append:class-target = " gcc g++ binutils"
+
+# Otherwise we'll depend on what we provide
+INHIBIT_DEFAULT_RUST_DEPS:class-native = "1"
+# We don't need to depend on gcc-native because yocto assumes it exists
+PROVIDES:class-native = "virtual/${TARGET_PREFIX}rust"
+
+S = "${RUSTSRC}"
+
+# Use at your own risk, accepted values are stable, beta and nightly
+RUST_CHANNEL ?= "stable"
+PV .= "${@bb.utils.contains('RUST_CHANNEL', 'stable', '', '-${RUST_CHANNEL}', d)}"
+
+export FORCE_CRATE_HASH="${BB_TASKHASH}"
+
+RUST_ALTERNATE_EXE_PATH ?= "${STAGING_LIBDIR}/llvm-rust/bin/llvm-config"
+RUST_ALTERNATE_EXE_PATH_NATIVE = "${STAGING_LIBDIR_NATIVE}/llvm-rust/bin/llvm-config"
+
+# We don't want to use bitbakes vendoring because the rust sources do their
+# own vendoring.
+CARGO_DISABLE_BITBAKE_VENDORING = "1"
+
+setup_cargo_environment () {
+ # The first step is to build bootstrap and some early stage tools,
+ # these are build for the same target as the snapshot, e.g.
+ # x86_64-unknown-linux-gnu.
+ # Later stages are build for the native target (i.e. target.x86_64-linux)
+ cargo_common_do_configure
+}
+
+inherit rust-target-config
+
+do_rust_setup_snapshot () {
+ for installer in "${UNPACKDIR}/rust-snapshot-components/"*"/install.sh"; do
+ "${installer}" --prefix="${WORKDIR}/rust-snapshot" --disable-ldconfig
+ done
+
+ # Some versions of rust (e.g. 1.18.0) tries to find cargo in stage0/bin/cargo
+ # and fail without it there.
+ mkdir -p ${RUSTSRC}/build/${RUST_BUILD_SYS}
+ ln -sf ${WORKDIR}/rust-snapshot/ ${RUSTSRC}/build/${RUST_BUILD_SYS}/stage0
+
+ # Need to use uninative's loader if enabled/present since the library paths
+ # are used internally by rust and result in symbol mismatches if we don't
+ if [ ! -z "${UNINATIVE_LOADER}" -a -e "${UNINATIVE_LOADER}" ]; then
+ for bin in cargo rustc rustdoc; do
+ patchelf-uninative ${WORKDIR}/rust-snapshot/bin/$bin --set-interpreter ${UNINATIVE_LOADER}
+ done
+ fi
+}
+addtask rust_setup_snapshot after do_unpack before do_configure
+addtask do_test_compile after do_configure do_rust_gen_targets
+do_rust_setup_snapshot[dirs] += "${WORKDIR}/rust-snapshot"
+do_rust_setup_snapshot[vardepsexclude] += "UNINATIVE_LOADER"
+
+RUSTC_BOOTSTRAP = "${STAGING_BINDIR_NATIVE}/rustc"
+CARGO_BOOTSTRAP = "${STAGING_BINDIR_NATIVE}/cargo"
+RUSTC_BOOTSTRAP:class-native = "${WORKDIR}/rust-snapshot/bin/rustc"
+CARGO_BOOTSTRAP:class-native = "${WORKDIR}/rust-snapshot/bin/cargo"
+
+python do_configure() {
+ import json
+ import configparser
+
+ # toml is rather similar to standard ini like format except it likes values
+ # that look more JSON like. So for our purposes simply escaping all values
+ # as JSON seem to work fine.
+
+ e = lambda s: json.dumps(s)
+
+ config = configparser.RawConfigParser()
+
+ # [target.ARCH-poky-linux]
+ host_section = "target.{}".format(d.getVar('RUST_HOST_SYS'))
+ config.add_section(host_section)
+
+ llvm_config_target = d.expand("${RUST_ALTERNATE_EXE_PATH}")
+ llvm_config_build = d.expand("${RUST_ALTERNATE_EXE_PATH_NATIVE}")
+ config.set(host_section, "llvm-config", e(llvm_config_target))
+
+ config.set(host_section, "cxx", e(d.expand("${RUST_TARGET_CXX}")))
+ config.set(host_section, "cc", e(d.expand("${RUST_TARGET_CC}")))
+ config.set(host_section, "linker", e(d.expand("${RUST_TARGET_CCLD}")))
+ if "musl" in host_section:
+ config.set(host_section, "musl-root", e(d.expand("${STAGING_DIR_HOST}${exec_prefix}")))
+
+ # If we don't do this rust-native will compile it's own llvm for BUILD.
+ # [target.${BUILD_ARCH}-unknown-linux-gnu]
+ build_section = "target.{}".format(d.getVar('RUST_BUILD_SYS'))
+ if build_section != host_section:
+ config.add_section(build_section)
+
+ config.set(build_section, "llvm-config", e(llvm_config_build))
+
+ config.set(build_section, "cxx", e(d.expand("${RUST_BUILD_CXX}")))
+ config.set(build_section, "cc", e(d.expand("${RUST_BUILD_CC}")))
+ config.set(build_section, "linker", e(d.expand("${RUST_BUILD_CCLD}")))
+
+ target_section = "target.{}".format(d.getVar('RUST_TARGET_SYS'))
+ if target_section != host_section and target_section != build_section:
+ config.add_section(target_section)
+
+ config.set(target_section, "llvm-config", e(llvm_config_target))
+
+ config.set(target_section, "cxx", e(d.expand("${RUST_TARGET_CXX}")))
+ config.set(target_section, "cc", e(d.expand("${RUST_TARGET_CC}")))
+ config.set(target_section, "linker", e(d.expand("${RUST_TARGET_CCLD}")))
+
+ # [llvm]
+ config.add_section("llvm")
+ config.set("llvm", "static-libstdcpp", e(False))
+ if "llvm" in (d.getVar('TC_CXX_RUNTIME') or ""):
+ config.set("llvm", "use-libcxx", e(True))
+
+ # [rust]
+ config.add_section("rust")
+ config.set("rust", "rpath", e(True))
+ config.set("rust", "remap-debuginfo", e(True))
+ config.set("rust", "channel", e(d.expand("${RUST_CHANNEL}")))
+
+ # Whether or not to optimize the compiler and standard library
+ config.set("rust", "optimize", e(True))
+
+ # Emits extraneous output from tests to ensure that failures of the test
+ # harness are debuggable just from logfiles
+ config.set("rust", "verbose-tests", e(True))
+
+ # [build]
+ config.add_section("build")
+ config.set("build", "submodules", e(False))
+ config.set("build", "docs", e(False))
+
+ rustc = d.getVar('RUSTC_BOOTSTRAP')
+ config.set("build", "rustc", e(rustc))
+
+ cargo = d.getVar('CARGO_BOOTSTRAP')
+ config.set("build", "cargo", e(cargo))
+
+ config.set("build", "vendor", e(True))
+
+ config.set("build", "target", e([d.getVar("RUST_TARGET_SYS")]))
+
+ config.set("build", "host", e([d.getVar("RUST_HOST_SYS")]))
+
+ # We can't use BUILD_SYS since that is something the rust snapshot knows
+ # nothing about when trying to build some stage0 tools (like fabricate)
+ config.set("build", "build", e(d.getVar("RUST_BUILD_SYS")))
+
+ # [install]
+ config.add_section("install")
+ # ./x.py install doesn't have any notion of "destdir"
+ # but we can prepend ${D} to all the directories instead
+ config.set("install", "prefix", e(d.getVar("D") + d.getVar("prefix")))
+ config.set("install", "bindir", e(d.getVar("D") + d.getVar("bindir")))
+ config.set("install", "libdir", e(d.getVar("D") + d.getVar("libdir")))
+ config.set("install", "datadir", e(d.getVar("D") + d.getVar("datadir")))
+ config.set("install", "mandir", e(d.getVar("D") + d.getVar("mandir")))
+ config.set("install", "sysconfdir", e(d.getVar("D") + d.getVar("sysconfdir")))
+
+ with open("config.toml", "w") as f:
+ f.write('change-id = 116881\n\n')
+ config.write(f)
+
+ # set up ${WORKDIR}/cargo_home
+ bb.build.exec_func("setup_cargo_environment", d)
+}
+
+rust_runx () {
+ echo "COMPILE ${PN}" "$@"
+
+ # CFLAGS, LDFLAGS, CXXFLAGS, CPPFLAGS are used by rust's build for a
+ # wide range of targets (not just TARGET). Yocto's settings for them will
+ # be inappropriate, avoid using.
+ unset CFLAGS
+ unset LDFLAGS
+ unset CXXFLAGS
+ unset CPPFLAGS
+
+ export RUSTFLAGS="${RUST_DEBUG_REMAP}"
+
+ # Copy the natively built llvm-config into the target so we can run it. Horrible,
+ # but works!
+ if [ ${RUST_ALTERNATE_EXE_PATH_NATIVE} != ${RUST_ALTERNATE_EXE_PATH} -a ! -f ${RUST_ALTERNATE_EXE_PATH} ]; then
+ mkdir -p `dirname ${RUST_ALTERNATE_EXE_PATH}`
+ cp ${RUST_ALTERNATE_EXE_PATH_NATIVE} ${RUST_ALTERNATE_EXE_PATH}
+ if [ -e ${STAGING_LIBDIR_NATIVE}/libc++.so.1 ]; then
+ chrpath -r \$ORIGIN/../../../../../`basename ${STAGING_DIR_NATIVE}`${libdir_native} ${RUST_ALTERNATE_EXE_PATH}
+ else
+ chrpath -d ${RUST_ALTERNATE_EXE_PATH}
+ fi
+ fi
+
+ oe_cargo_fix_env
+
+ python3 src/bootstrap/bootstrap.py ${@oe.utils.parallel_make_argument(d, '-j %d')} "$@" --verbose
+}
+rust_runx[vardepsexclude] += "PARALLEL_MAKE"
+
+require rust-source.inc
+require rust-snapshot.inc
+
+INSANE_SKIP:${PN}:class-native = "already-stripped"
+FILES:${PN} += "${libdir}/rustlib"
+FILES:${PN} += "${libdir}/*.so"
+FILES:${PN}-dev = ""
+
+do_compile () {
+}
+
+do_test_compile[dirs] = "${B}"
+do_test_compile () {
+ rust_runx build src/tools/remote-test-server --target "${RUST_TARGET_SYS}"
+}
+
+ALLOW_EMPTY:${PN} = "1"
+
+PACKAGES =+ "${PN}-rustdoc ${PN}-tools-clippy ${PN}-tools-rustfmt"
+FILES:${PN}-rustdoc = "${bindir}/rustdoc"
+FILES:${PN}-tools-clippy = "${bindir}/cargo-clippy ${bindir}/clippy-driver"
+FILES:${PN}-tools-rustfmt = "${bindir}/rustfmt"
+RDEPENDS:${PN}-rustdoc = "${PN}"
+RDEPENDS:${PN}-tools-clippy = "${PN}"
+RDEPENDS:${PN}-tools-rustfmt = "${PN}"
+
+SUMMARY:${PN}-tools-clippy = "A collection of lints to catch common mistakes and improve your Rust code"
+SUMMARY:${PN}-tools-rustfmt = "A tool for formatting Rust code according to style guidelines"
+
+do_install () {
+ rust_do_install
+}
+
+rust_do_install() {
+ rust_runx install
+}
+
+rust_do_install:class-nativesdk() {
+ export PSEUDO_UNLOAD=1
+ rust_runx install
+ rust_runx install clippy
+ rust_runx install rustfmt
+ unset PSEUDO_UNLOAD
+
+ install -d ${D}${bindir}
+ for i in cargo-clippy clippy-driver rustfmt; do
+ cp build/${RUST_BUILD_SYS}/stage2-tools/${RUST_HOST_SYS}/release/$i ${D}${bindir}
+ chrpath -r "\$ORIGIN/../lib" ${D}${bindir}/$i
+ done
+
+ chown root:root ${D}/ -R
+ rm ${D}${libdir}/rustlib/uninstall.sh
+ rm ${D}${libdir}/rustlib/install.log
+ rm ${D}${libdir}/rustlib/manifest*
+}
+
+EXTRA_TOOLS ?= "cargo-clippy clippy-driver rustfmt"
+rust_do_install:class-target() {
+ export PSEUDO_UNLOAD=1
+ rust_runx install
+ rust_runx install clippy
+ rust_runx install rustfmt
+ unset PSEUDO_UNLOAD
+
+ install -d ${D}${bindir}
+ for i in ${EXTRA_TOOLS}; do
+ cp build/${RUST_BUILD_SYS}/stage2-tools/${RUST_HOST_SYS}/release/$i ${D}${bindir}
+ chrpath -r "\$ORIGIN/../lib" ${D}${bindir}/$i
+ done
+
+ install -d ${D}${libdir}/rustlib/${RUST_HOST_SYS}
+ install -m 0644 ${WORKDIR}/rust-targets/${RUST_HOST_SYS}.json ${D}${libdir}/rustlib/${RUST_HOST_SYS}/target.json
+
+ chown root:root ${D}/ -R
+ rm ${D}${libdir}/rustlib/uninstall.sh
+ rm ${D}${libdir}/rustlib/install.log
+ rm ${D}${libdir}/rustlib/manifest*
+}
+
+addtask do_update_snapshot after do_patch
+do_update_snapshot[nostamp] = "1"
+
+# Run with `bitbake -c update_snapshot rust` to update `rust-snapshot.inc`
+# with the checksums for the rust snapshot associated with this rustc-src
+# tarball.
+python do_update_snapshot() {
+ import json
+ import re
+ import sys
+
+ from collections import defaultdict
+
+ with open(os.path.join(d.getVar("S"), "src", "stage0.json")) as f:
+ j = json.load(f)
+
+ config_dist_server = j['config']['dist_server']
+ compiler_date = j['compiler']['date']
+ compiler_version = j['compiler']['version']
+
+ src_uri = defaultdict(list)
+ for k, v in j['checksums_sha256'].items():
+ m = re.search(f"dist/{compiler_date}/(?P<component>.*)-{compiler_version}-(?P<arch>.*)-unknown-linux-gnu\\.tar\\.xz", k)
+ if m:
+ component = m.group('component')
+ arch = m.group('arch')
+ src_uri[arch].append(f"SRC_URI[{component}-snapshot-{arch}.sha256sum] = \"{v}\"")
+
+ snapshot = """\
+## This is information on the rust-snapshot (binary) used to build our current release.
+## snapshot info is taken from rust/src/stage0.json
+## Rust is self-hosting and bootstraps itself with a pre-built previous version of itself.
+## The exact (previous) version that has been used is specified in the source tarball.
+## The version is replicated here.
+
+SNAPSHOT_VERSION = "%s"
+
+""" % compiler_version
+
+ for arch, components in src_uri.items():
+ snapshot += "\n".join(components) + "\n\n"
+
+ snapshot += """\
+SRC_URI += " \\
+ ${RUST_DIST_SERVER}/dist/${RUST_STD_SNAPSHOT}.tar.xz;name=rust-std-snapshot-${RUST_BUILD_ARCH};subdir=rust-snapshot-components \\
+ ${RUST_DIST_SERVER}/dist/${RUSTC_SNAPSHOT}.tar.xz;name=rustc-snapshot-${RUST_BUILD_ARCH};subdir=rust-snapshot-components \\
+ ${RUST_DIST_SERVER}/dist/${CARGO_SNAPSHOT}.tar.xz;name=cargo-snapshot-${RUST_BUILD_ARCH};subdir=rust-snapshot-components \\
+"
+
+RUST_DIST_SERVER = "%s"
+
+RUST_STD_SNAPSHOT = "rust-std-${SNAPSHOT_VERSION}-${RUST_BUILD_ARCH}-unknown-linux-gnu"
+RUSTC_SNAPSHOT = "rustc-${SNAPSHOT_VERSION}-${RUST_BUILD_ARCH}-unknown-linux-gnu"
+CARGO_SNAPSHOT = "cargo-${SNAPSHOT_VERSION}-${RUST_BUILD_ARCH}-unknown-linux-gnu"
+""" % config_dist_server
+
+ with open(os.path.join(d.getVar("THISDIR"), "rust-snapshot.inc"), "w") as f:
+ f.write(snapshot)
+}
+
+RUSTLIB_DEP:class-nativesdk = ""
+
+# musl builds include libunwind.a
+INSANE_SKIP:${PN} = "staticdev"
+
+BBCLASSEXTEND = "native nativesdk"
+
+# Since 1.70.0 upgrade this fails to build with gold:
+# http://errors.yoctoproject.org/Errors/Details/708196/
+# ld: error: version script assignment of to symbol __rust_alloc_error_handler_should_panic failed: symbol not defined
+LDFLAGS:append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd', '', d)}"
diff --git a/meta/recipes-devtools/squashfs-tools/files/0001-squashfs-tools-fix-build-failure-against-gcc-10.patch b/meta/recipes-devtools/squashfs-tools/files/0001-squashfs-tools-fix-build-failure-against-gcc-10.patch
deleted file mode 100644
index fc881862ea..0000000000
--- a/meta/recipes-devtools/squashfs-tools/files/0001-squashfs-tools-fix-build-failure-against-gcc-10.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-From 94e1911ca24726b7cb3efe2f8b9eb7a784757e18 Mon Sep 17 00:00:00 2001
-From: Sergei Trofimovich <slyfox@gentoo.org>
-Date: Sun, 26 Jan 2020 18:35:13 +0000
-Subject: [PATCH] squashfs-tools: fix build failure against gcc-10
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-On gcc-10 (and gcc-9 -fno-common) build fails as:
-
-```
-cc ... -o mksquashfs
-ld: read_fs.o:(.bss+0x0):
- multiple definition of `fwriter_buffer'; mksquashfs.o:(.bss+0x400c90): first defined here
-ld: read_fs.o:(.bss+0x8):
- multiple definition of `bwriter_buffer'; mksquashfs.o:(.bss+0x400c98): first defined here
-```
-
-gcc-10 will change the default from -fcommon to fno-common:
-https://gcc.gnu.org/PR85678.
-
-The error also happens if CFLAGS=-fno-common passed explicitly.
-
-Reported-by: Toralf Förster
-Bug: https://bugs.gentoo.org/706456
-Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
-Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
-Upstream-Status: Backport [https://github.com/plougher/squashfs-tools/commit/fe2f5da4b0f8994169c53e84b7cb8a0feefc97b5]
----
- squashfs-tools/mksquashfs.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/squashfs-tools/mksquashfs.h b/squashfs-tools/mksquashfs.h
-index 1beefef..b650306 100644
---- a/squashfs-tools/mksquashfs.h
-+++ b/squashfs-tools/mksquashfs.h
-@@ -143,7 +143,7 @@ struct append_file {
- #endif
-
- extern struct cache *reader_buffer, *fragment_buffer, *reserve_cache;
--struct cache *bwriter_buffer, *fwriter_buffer;
-+extern struct cache *bwriter_buffer, *fwriter_buffer;
- extern struct queue *to_reader, *to_deflate, *to_writer, *from_writer,
- *to_frag, *locked_fragment, *to_process_frag;
- extern struct append_file **file_mapping;
diff --git a/meta/recipes-devtools/squashfs-tools/squashfs-tools_git.bb b/meta/recipes-devtools/squashfs-tools/squashfs-tools_git.bb
index b06951df36..982a43f889 100644
--- a/meta/recipes-devtools/squashfs-tools/squashfs-tools_git.bb
+++ b/meta/recipes-devtools/squashfs-tools/squashfs-tools_git.bb
@@ -1,21 +1,22 @@
# Note, we can probably remove the lzma option as it has be replaced with xz,
# and I don't think the kernel supports it any more.
SUMMARY = "Tools for manipulating SquashFS filesystems"
+HOMEPAGE = "https://github.com/plougher/squashfs-tools"
+DESCRIPTION = "Tools to create and extract Squashfs filesystems."
SECTION = "base"
-LICENSE = "GPL-2"
-LIC_FILES_CHKSUM = "file://../COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
+LICENSE = "GPL-2.0-only"
+LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
-PV = "4.4"
-SRCREV = "52eb4c279cd283ed9802dd1ceb686560b22ffb67"
-SRC_URI = "git://github.com/plougher/squashfs-tools.git;protocol=https \
- file://0001-squashfs-tools-fix-build-failure-against-gcc-10.patch;striplevel=2 \
-"
+PV = "4.6.1"
+SRCREV = "d8cb82d9840330f9344ec37b992595b5d7b44184"
+SRC_URI = "git://github.com/plougher/squashfs-tools.git;protocol=https;branch=v6.1.1"
+UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+)+))"
-S = "${WORKDIR}/git/squashfs-tools"
+S = "${WORKDIR}/git"
EXTRA_OEMAKE = "${PACKAGECONFIG_CONFARGS}"
-PACKAGECONFIG ??= "gzip xz lzo lz4 lzma xattr reproducible"
+PACKAGECONFIG ??= "gzip xz lzo lz4 lzma xattr zstd reproducible"
PACKAGECONFIG[gzip] = "GZIP_SUPPORT=1,GZIP_SUPPORT=0,zlib"
PACKAGECONFIG[xz] = "XZ_SUPPORT=1,XZ_SUPPORT=0,xz"
PACKAGECONFIG[lzo] = "LZO_SUPPORT=1,LZO_SUPPORT=0,lzo"
@@ -26,16 +27,20 @@ PACKAGECONFIG[zstd] = "ZSTD_SUPPORT=1,ZSTD_SUPPORT=0,zstd"
PACKAGECONFIG[reproducible] = "REPRODUCIBLE_DEFAULT=1,REPRODUCIBLE_DEFAULT=0,"
do_compile() {
+ cd ${S}/squashfs-tools
oe_runmake all
}
do_install() {
- oe_runmake install INSTALL_DIR=${D}${sbindir}
+ cd ${S}/squashfs-tools
+ install -d "${D}${includedir}"
+ oe_runmake install INSTALL_PREFIX=${D}${prefix} INSTALL_MANPAGES_DIR=${D}${datadir}/man/man1
+ install -m 0644 "${S}"/squashfs-tools/squashfs_fs.h "${D}${includedir}"
}
-ARM_INSTRUCTION_SET_armv4 = "arm"
-ARM_INSTRUCTION_SET_armv5 = "arm"
-ARM_INSTRUCTION_SET_armv6 = "arm"
+ARM_INSTRUCTION_SET:armv4 = "arm"
+ARM_INSTRUCTION_SET:armv5 = "arm"
+ARM_INSTRUCTION_SET:armv6 = "arm"
BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/strace/strace/0001-caps-abbrev.awk-fix-gawk-s-path.patch b/meta/recipes-devtools/strace/strace/0001-caps-abbrev.awk-fix-gawk-s-path.patch
deleted file mode 100644
index 235e803641..0000000000
--- a/meta/recipes-devtools/strace/strace/0001-caps-abbrev.awk-fix-gawk-s-path.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-From 597cc206d982e7237eb93fdc33e8c4bb6bb2d796 Mon Sep 17 00:00:00 2001
-From: Robert Yang <liezhi.yang@windriver.com>
-Date: Thu, 9 Feb 2017 01:27:49 -0800
-Subject: [PATCH] caps-abbrev.awk: fix gawk's path
-
-It should be /usr/bin/gawk as other scripts use in this package.
-
-Upstream-Status: Pending
-
-Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
-
----
- tests-m32/caps-abbrev.awk | 2 +-
- tests-mx32/caps-abbrev.awk | 2 +-
- tests/caps-abbrev.awk | 2 +-
- 3 files changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/tests-m32/caps-abbrev.awk b/tests-m32/caps-abbrev.awk
-index c00023b..a56cd56 100644
---- a/tests-m32/caps-abbrev.awk
-+++ b/tests-m32/caps-abbrev.awk
-@@ -1,4 +1,4 @@
--#!/bin/gawk
-+#!/usr/bin/gawk
- #
- # This file is part of caps strace test.
- #
-diff --git a/tests-mx32/caps-abbrev.awk b/tests-mx32/caps-abbrev.awk
-index c00023b..a56cd56 100644
---- a/tests-mx32/caps-abbrev.awk
-+++ b/tests-mx32/caps-abbrev.awk
-@@ -1,4 +1,4 @@
--#!/bin/gawk
-+#!/usr/bin/gawk
- #
- # This file is part of caps strace test.
- #
-diff --git a/tests/caps-abbrev.awk b/tests/caps-abbrev.awk
-index c00023b..a56cd56 100644
---- a/tests/caps-abbrev.awk
-+++ b/tests/caps-abbrev.awk
-@@ -1,4 +1,4 @@
--#!/bin/gawk
-+#!/usr/bin/gawk
- #
- # This file is part of caps strace test.
- #
diff --git a/meta/recipes-devtools/strace/strace/0001-configure-Use-autoconf-macro-to-detect-largefile-sup.patch b/meta/recipes-devtools/strace/strace/0001-configure-Use-autoconf-macro-to-detect-largefile-sup.patch
new file mode 100644
index 0000000000..86dcd97713
--- /dev/null
+++ b/meta/recipes-devtools/strace/strace/0001-configure-Use-autoconf-macro-to-detect-largefile-sup.patch
@@ -0,0 +1,27 @@
+From ec543417b8e1df7c71dfc4728313849d9ab669a6 Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Thu, 15 Dec 2022 15:54:27 -0800
+Subject: [PATCH] configure: Use autoconf macro to detect largefile support
+
+Adds --enable-largefile/--disable-largefile configure knobs
+where default is to detect the support
+
+Upstream-Status: Submitted [https://github.com/strace/strace/pull/230]
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ configure.ac | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/configure.ac b/configure.ac
+index 36fff90..9e40ab5 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -42,6 +42,8 @@ AC_PROG_INSTALL
+ AC_PROG_RANLIB
+ AC_PROG_LN_S
+
++AC_SYS_LARGEFILE
++
+ AC_USE_SYSTEM_EXTENSIONS
+ AX_CODE_COVERAGE
+
diff --git a/meta/recipes-devtools/strace/strace/0001-strace-fix-reproducibilty-issues.patch b/meta/recipes-devtools/strace/strace/0001-strace-fix-reproducibilty-issues.patch
index c4c176e6bc..9cdb7c6134 100644
--- a/meta/recipes-devtools/strace/strace/0001-strace-fix-reproducibilty-issues.patch
+++ b/meta/recipes-devtools/strace/strace/0001-strace-fix-reproducibilty-issues.patch
@@ -1,4 +1,4 @@
-From 6309792c49ca900cec6a7f1dc5b51bf75b629e11 Mon Sep 17 00:00:00 2001
+From d5f681c2de834110de260f4d071c7bc1fb0d7564 Mon Sep 17 00:00:00 2001
From: Jeremy Puhlman <jpuhlman@mvista.com>
Date: Wed, 11 Mar 2020 19:56:55 +0000
Subject: [PATCH] strace: fix reproducibilty issues
@@ -13,7 +13,7 @@ Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/gen_tests.sh b/tests/gen_tests.sh
-index 5e1e7c9..1e65eac 100755
+index 8f47651..65267db 100755
--- a/tests/gen_tests.sh
+++ b/tests/gen_tests.sh
@@ -46,7 +46,7 @@ while read -r name arg0 args; do {
@@ -25,7 +25,7 @@ index 5e1e7c9..1e65eac 100755
case "$arg0" in
+*)
-@@ -80,7 +80,7 @@ while read -r name arg0 args; do {
+@@ -91,7 +91,7 @@ while read -r name arg0 args; do {
if [ -n "$names" ]; then
{
@@ -34,6 +34,3 @@ index 5e1e7c9..1e65eac 100755
printf 'GEN_TESTS ='
printf ' %s.gen.test' $names
echo
---
-2.24.1
-
diff --git a/meta/recipes-devtools/strace/strace/0001-xlat-Mark-IPPROTO_MAX-last-in-IPPROTO_-constants.patch b/meta/recipes-devtools/strace/strace/0001-xlat-Mark-IPPROTO_MAX-last-in-IPPROTO_-constants.patch
deleted file mode 100644
index cd53f33f60..0000000000
--- a/meta/recipes-devtools/strace/strace/0001-xlat-Mark-IPPROTO_MAX-last-in-IPPROTO_-constants.patch
+++ /dev/null
@@ -1,70 +0,0 @@
-From 387d3b6fba95cb47c4dacc6bcd330148a9168850 Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Wed, 7 Oct 2020 12:54:03 -0700
-Subject: [PATCH] xlat: Mark IPPROTO_MAX last in IPPROTO_* constants
-
-* xlat/inet_protocols.in (IPPROTO_MAX): It should be the last entry
- after adding IPPROTO_MPTCP this should have new value as
- IPPROTO_MPTCP + 1.
-
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
-Upstream-Status: Submitted [https://lists.strace.io/pipermail/strace-devel/2020-October/010253.html]
----
- xlat/inet_protocols.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/xlat/inet_protocols.in
-+++ b/xlat/inet_protocols.in
-@@ -32,5 +32,5 @@ IPPROTO_UDPLITE 136
- IPPROTO_MPLS 137
- IPPROTO_ETHERNET 143
- IPPROTO_RAW 255
--IPPROTO_MAX 256
- IPPROTO_MPTCP 262
-+IPPROTO_MAX 263
---- a/xlat/inet_protocols.h
-+++ b/xlat/inet_protocols.h
-@@ -234,19 +234,19 @@ DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
- #else
- # define IPPROTO_RAW 255
- #endif
--#if defined(IPPROTO_MAX) || (defined(HAVE_DECL_IPPROTO_MAX) && HAVE_DECL_IPPROTO_MAX)
-+#if defined(IPPROTO_MPTCP) || (defined(HAVE_DECL_IPPROTO_MPTCP) && HAVE_DECL_IPPROTO_MPTCP)
- DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
--static_assert((IPPROTO_MAX) == (256), "IPPROTO_MAX != 256");
-+static_assert((IPPROTO_MPTCP) == (262), "IPPROTO_MPTCP != 262");
- DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
- #else
--# define IPPROTO_MAX 256
-+# define IPPROTO_MPTCP 262
- #endif
--#if defined(IPPROTO_MPTCP) || (defined(HAVE_DECL_IPPROTO_MPTCP) && HAVE_DECL_IPPROTO_MPTCP)
-+#if defined(IPPROTO_MAX) || (defined(HAVE_DECL_IPPROTO_MAX) && HAVE_DECL_IPPROTO_MAX)
- DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
--static_assert((IPPROTO_MPTCP) == (262), "IPPROTO_MPTCP != 262");
-+static_assert((IPPROTO_MAX) == (263), "IPPROTO_MAX != 263");
- DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
- #else
--# define IPPROTO_MPTCP 262
-+# define IPPROTO_MAX 263
- #endif
-
- #ifndef XLAT_MACROS_ONLY
-@@ -353,12 +353,12 @@ static const struct xlat_data inet_proto
- XLAT(IPPROTO_RAW),
- #define XLAT_VAL_32 ((unsigned) (IPPROTO_RAW))
- #define XLAT_STR_32 STRINGIFY(IPPROTO_RAW)
-- XLAT(IPPROTO_MAX),
-- #define XLAT_VAL_33 ((unsigned) (IPPROTO_MAX))
-- #define XLAT_STR_33 STRINGIFY(IPPROTO_MAX)
- XLAT(IPPROTO_MPTCP),
-- #define XLAT_VAL_34 ((unsigned) (IPPROTO_MPTCP))
-- #define XLAT_STR_34 STRINGIFY(IPPROTO_MPTCP)
-+ #define XLAT_VAL_33 ((unsigned) (IPPROTO_MPTCP))
-+ #define XLAT_STR_33 STRINGIFY(IPPROTO_MPTCP)
-+ XLAT(IPPROTO_MAX),
-+ #define XLAT_VAL_34 ((unsigned) (IPPROTO_MAX))
-+ #define XLAT_STR_34 STRINGIFY(IPPROTO_MAX)
- };
- const struct xlat inet_protocols[1] = { {
- .data = inet_protocols_xdata,
diff --git a/meta/recipes-devtools/strace/strace/0002-tests-Replace-off64_t-with-off_t.patch b/meta/recipes-devtools/strace/strace/0002-tests-Replace-off64_t-with-off_t.patch
new file mode 100644
index 0000000000..fc6ed7ac4d
--- /dev/null
+++ b/meta/recipes-devtools/strace/strace/0002-tests-Replace-off64_t-with-off_t.patch
@@ -0,0 +1,59 @@
+From 1891db87da3b204c512f47155aaa4e692008f1bf Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Thu, 15 Dec 2022 15:56:13 -0800
+Subject: [PATCH] tests: Replace off64_t with off_t
+
+when _FILE_OFFSET_BITS=64 then off_t is 64bit wide, this also fixes
+build on musl where off64_t is not available without _LARGEFILE64_SOURCE
+
+Upstream-Status: Submitted [https://github.com/strace/strace/pull/230]
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ tests/readahead.c | 2 +-
+ tests/sync_file_range.c | 4 ++--
+ tests/sync_file_range2.c | 4 ++--
+ 3 files changed, 5 insertions(+), 5 deletions(-)
+
+diff --git a/tests/readahead.c b/tests/readahead.c
+index 1072378..b9597e6 100644
+--- a/tests/readahead.c
++++ b/tests/readahead.c
+@@ -42,7 +42,7 @@ static const int fds[] = {
+ 0x7fffffff,
+ };
+
+-static const off64_t offsets[] = {
++static const off_t offsets[] = {
+ -0x8000000000000000LL,
+ -0x5060708090a0b0c0LL,
+ -1LL,
+diff --git a/tests/sync_file_range.c b/tests/sync_file_range.c
+index e93ab6c..dc76865 100644
+--- a/tests/sync_file_range.c
++++ b/tests/sync_file_range.c
+@@ -20,8 +20,8 @@ int
+ main(void)
+ {
+ const int fd = -1;
+- const off64_t offset = 0xdeadbeefbadc0dedULL;
+- const off64_t nbytes = 0xfacefeedcafef00dULL;
++ const off_t offset = 0xdeadbeefbadc0dedULL;
++ const off_t nbytes = 0xfacefeedcafef00dULL;
+ const unsigned int flags = -1;
+
+ int rc = sync_file_range(fd, offset, nbytes, flags);
+diff --git a/tests/sync_file_range2.c b/tests/sync_file_range2.c
+index b8dc712..e4b003c 100644
+--- a/tests/sync_file_range2.c
++++ b/tests/sync_file_range2.c
+@@ -20,8 +20,8 @@ int
+ main(void)
+ {
+ const int fd = -1;
+- const off64_t offset = 0xdeadbeefbadc0ded;
+- const off64_t nbytes = 0xfacefeedcafef00d;
++ const off_t offset = 0xdeadbeefbadc0ded;
++ const off_t nbytes = 0xfacefeedcafef00d;
+ const unsigned int flags = -1;
+
+ int rc = sync_file_range(fd, offset, nbytes, flags);
diff --git a/meta/recipes-devtools/strace/strace/Makefile-ptest.patch b/meta/recipes-devtools/strace/strace/Makefile-ptest.patch
index 42c1893f39..3e50bf40f0 100644
--- a/meta/recipes-devtools/strace/strace/Makefile-ptest.patch
+++ b/meta/recipes-devtools/strace/strace/Makefile-ptest.patch
@@ -1,4 +1,4 @@
-From ee47e205255928679701a5b769bd7ae0f815119d Mon Sep 17 00:00:00 2001
+From 245f6322cf64e562d3227dfac26ce93c905b0380 Mon Sep 17 00:00:00 2001
From: Gabriel Barbu <gabriel.barbu@enea.com>
Date: Thu, 25 Jul 2013 15:28:33 +0200
Subject: [PATCH] strace: Add ptest
@@ -8,33 +8,33 @@ Upstream-Status: Inappropriate
Signed-off-by: Gabriel Barbu <gabriel.barbu@enea.com>
Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
-
---
- tests/Makefile.am | 19 +++++++++++++++++++
- 1 file changed, 19 insertions(+)
+ tests/Makefile.am | 20 ++++++++++++++++++++
+ 1 file changed, 20 insertions(+)
diff --git a/tests/Makefile.am b/tests/Makefile.am
-index 8cf4c36..66162eb 100644
+index ef68898..735b73d 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
-@@ -15,6 +15,7 @@ SIZEOF_LONG = @SIZEOF_LONG@
+@@ -18,6 +18,7 @@ SIZEOF_LONG = @SIZEOF_LONG@
MPERS_NAME =
MPERS_CC_FLAGS =
ARCH_MFLAGS =
+TEST_SUITE_LOG = test-suite.log
AM_CFLAGS = $(WARN_CFLAGS)
- AM_CPPFLAGS = $(ARCH_MFLAGS) \
- -I$(builddir) \
-@@ -538,3 +539,21 @@ BUILT_SOURCES = ksysent.h
+ bundled_CPPFLAGS =
+ if USE_BUNDLED_HEADERS
+@@ -889,3 +890,22 @@ BUILT_SOURCES = ksysent.h
CLEANFILES = ksysent.h
- include ../scno.am
+ include ../src/scno.am
+
+buildtest-TESTS: $(check_PROGRAMS) $(TESTS)
+
+install-ptest:
-+ install $(BUILDDIR)/strace $(DESTDIR)
-+ install $(srcdir)/../strace-log-merge $(DESTDIR)
++ install -d $(DESTDIR)/src
++ install $(BUILDDIR)/src/strace $(DESTDIR)/src
++ install $(srcdir)/../src/strace-log-merge $(DESTDIR)/src
+ install -d $(DESTDIR)/$(TESTDIR)
+ cp $(BUILDDIR)/$(TESTDIR)/Makefile $(DESTDIR)/$(TESTDIR)
+ sed -i -e 's/^Makefile:/_Makefile:/' $(DESTDIR)/$(TESTDIR)/Makefile
diff --git a/meta/recipes-devtools/strace/strace/disable-git-version-gen.patch b/meta/recipes-devtools/strace/strace/disable-git-version-gen.patch
deleted file mode 100644
index e8dbd7f273..0000000000
--- a/meta/recipes-devtools/strace/strace/disable-git-version-gen.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From d87a7feb5ea75da7061afdd473faba044ec8eb0f Mon Sep 17 00:00:00 2001
-From: Andre McCurdy <armccurdy@gmail.com>
-Date: Mon, 18 Jan 2016 13:33:50 -0800
-Subject: [PATCH] strace: remove need for scripts
-
-git-version-gen copyright-year-gen file-date-gen are not included in
-tarball releases, so we need to avoid attempts to call them.
-
-Upstream-Status: Inappropriate [configuration]
-
-Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
-Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
-
----
- configure.ac | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index dd4f13f..65f000b 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -12,12 +12,12 @@
-
- AC_PREREQ(2.57)
- AC_INIT([strace],
-- st_esyscmd_s([./git-version-gen .tarball-version]),
-+ m4_esyscmd_s([cat .tarball-version]),
- [strace-devel@lists.strace.io],
- [strace],
- [https://strace.io])
--m4_define([copyright_year], st_esyscmd_s([./copyright-year-gen .year]))
--m4_define([manpage_date], st_esyscmd_s([./file-date-gen strace.1.in]))
-+m4_define([copyright_year], m4_esyscmd_s([cat .year]))
-+m4_define([manpage_date], m4_esyscmd_s([cat .strace.1.in.date]))
- AC_COPYRIGHT([Copyright (c) 1999-]copyright_year[ The strace developers.])
- AC_CONFIG_SRCDIR([strace.c])
- AC_CONFIG_AUX_DIR([.])
diff --git a/meta/recipes-devtools/strace/strace/mips-SIGEMT.patch b/meta/recipes-devtools/strace/strace/mips-SIGEMT.patch
deleted file mode 100644
index e86da9707c..0000000000
--- a/meta/recipes-devtools/strace/strace/mips-SIGEMT.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From 794648d84672bbda30a920a05540b56cd155ed9d Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Sun, 7 Aug 2016 23:47:57 -0700
-Subject: [PATCH] strace: Fix build with mips/mips64 on musl
-
-SIGEMT is not defined everywhere e.g musl does
-not define it. Therefore check it being defined
-before using it.
-
-Fixes errors e.g.
-../../strace-4.13/tests/signal2name.c:45:7: error: 'SIGEMT' undeclared (first use in this function)
-
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
-Upstream-Status: Pending
-
----
- tests/signal2name.c | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/tests/signal2name.c b/tests/signal2name.c
-index 1d8e7c5..6722aa1 100644
---- a/tests/signal2name.c
-+++ b/tests/signal2name.c
-@@ -49,7 +49,9 @@ signal2name(int sig)
- CASE(SIGEMT);
- CASE(SIGLOST);
- #elif defined MIPS
-+#ifdef SIGEMT
- CASE(SIGEMT);
-+#endif
- CASE(SIGIOT);
- CASE(SIGPWR);
- #else
diff --git a/meta/recipes-devtools/strace/strace/ptest-spacesave.patch b/meta/recipes-devtools/strace/strace/ptest-spacesave.patch
index c5d8ff9207..14ea469c59 100644
--- a/meta/recipes-devtools/strace/strace/ptest-spacesave.patch
+++ b/meta/recipes-devtools/strace/strace/ptest-spacesave.patch
@@ -1,4 +1,4 @@
-From 3fad4821d90cd264d1b94253b9cf4fdf5d4034b8 Mon Sep 17 00:00:00 2001
+From cf77d301faf96cc892c6df0e19fccbf5853f249d Mon Sep 17 00:00:00 2001
From: Richard Purdie <richard.purdie@linuxfoundation.org>
Date: Wed, 29 May 2019 00:10:32 +0100
Subject: [PATCH] strace: Tweak ptest disk space management
@@ -9,20 +9,19 @@ using around 600MB of disk space and running our ptest images out of space.
RP 2019/5/29
Upstream-Status: Inappropriate [specific to OE image space issues]
-
---
tests/gen_tests.sh | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/gen_tests.sh b/tests/gen_tests.sh
-index 3540204..5e1e7c9 100755
+index ce1467e..8f47651 100755
--- a/tests/gen_tests.sh
+++ b/tests/gen_tests.sh
-@@ -62,6 +62,7 @@ while read -r name arg0 args; do {
+@@ -73,6 +73,7 @@ while read -r name arg0 args; do {
$hdr
. "\${srcdir=.}/init.sh"
run_strace_match_diff $arg0 $args
-+ rm -rf log exp
++ rm -rf log exp out
EOF
;;
diff --git a/meta/recipes-devtools/strace/strace/run-ptest b/meta/recipes-devtools/strace/strace/run-ptest
index 4660207220..1224229e8f 100755
--- a/meta/recipes-devtools/strace/strace/run-ptest
+++ b/meta/recipes-devtools/strace/strace/run-ptest
@@ -1,6 +1,11 @@
#!/bin/sh
-export TIMEOUT_DURATION=120
-chown nobody tests
-chown nobody tests/*
-chown nobody ../ptest
-su nobody -c "make -B -C tests -k test-suite.log"
+
+set -u
+
+export TIMEOUT_DURATION=240
+make -j4 -B -C tests -k test-suite.log
+res=$?
+if [ $res -ne 0 ]; then
+ cat tests/test-suite.log
+fi
+exit $res
diff --git a/meta/recipes-devtools/strace/strace/skip-load.patch b/meta/recipes-devtools/strace/strace/skip-load.patch
new file mode 100644
index 0000000000..fe737d8f9a
--- /dev/null
+++ b/meta/recipes-devtools/strace/strace/skip-load.patch
@@ -0,0 +1,50 @@
+From 3af7272a3435fc79e5da729155480a346ccf2d44 Mon Sep 17 00:00:00 2001
+From: Ross Burton <ross.burton@arm.com>
+Date: Mon, 31 Jan 2022 17:40:13 +0000
+Subject: [PATCH] strace: skip a number of load-sensitive tests
+
+Skip tests which are known to be unreliable under load, typically because they
+care about timing.
+
+Upstream-Status: Inappropriate
+Signed-off-by: Ross Burton <ross.burton@arm.com>
+---
+ tests/clock_nanosleep.gen.test | 1 +
+ tests/delay.test | 1 +
+ tests/strace-r.test | 1 +
+ 3 files changed, 3 insertions(+)
+
+diff --git a/tests/clock_nanosleep.gen.test b/tests/clock_nanosleep.gen.test
+index 7a6025b..f0e6dbb 100755
+--- a/tests/clock_nanosleep.gen.test
++++ b/tests/clock_nanosleep.gen.test
+@@ -1,4 +1,5 @@
+ #!/bin/sh -efu
+ # Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (clock_nanosleep -e trace=clock_nanosleep,clock_gettime); do not edit.
+ . "${srcdir=.}/init.sh"
++skip_ "Test not reliable under load"
+ run_strace_match_diff -e trace=clock_nanosleep,clock_gettime
+diff --git a/tests/delay.test b/tests/delay.test
+index f74e27f..6172c04 100755
+--- a/tests/delay.test
++++ b/tests/delay.test
+@@ -8,6 +8,7 @@
+ # SPDX-License-Identifier: GPL-2.0-or-later
+
+ . "${srcdir=.}/init.sh"
++skip_ "Test not reliable under load"
+
+ while read -r denter dexit denter_us dexit_us; do
+ [ -n "$denter" ] || continue
+diff --git a/tests/strace-r.test b/tests/strace-r.test
+index 8299737..d89c7df 100755
+--- a/tests/strace-r.test
++++ b/tests/strace-r.test
+@@ -8,6 +8,7 @@
+ # SPDX-License-Identifier: GPL-2.0-or-later
+
+ . "${srcdir=.}/init.sh"
++skip_ "Test not reliable under load"
+
+ r_opt="${1:--r}"
+
diff --git a/meta/recipes-devtools/strace/strace/uintptr_t.patch b/meta/recipes-devtools/strace/strace/uintptr_t.patch
deleted file mode 100644
index 088d685af0..0000000000
--- a/meta/recipes-devtools/strace/strace/uintptr_t.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From a6c9366bfbcef6f3f4bb068b1f1a5623935b5013 Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Tue, 5 Nov 2019 20:05:08 -0800
-Subject: [PATCH] include stdint.h for getting uintptr_t definition
-
-fixes do_compile_ptest_base
-tests/fanotify_mark.c:191:23: error: 'uintptr_t' undeclared (first use in this function); did you mean 'intptr_t'?
-
-Upstream-Status: Pending
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
-
----
- tests/fanotify_mark.c | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/tests/fanotify_mark.c b/tests/fanotify_mark.c
-index aade643..de579f3 100644
---- a/tests/fanotify_mark.c
-+++ b/tests/fanotify_mark.c
-@@ -18,6 +18,7 @@
-
- # include <limits.h>
- # include <stdio.h>
-+# include <stdint.h>
- # include <unistd.h>
- # include <sys/fanotify.h>
-
diff --git a/meta/recipes-devtools/strace/strace/update-gawk-paths.patch b/meta/recipes-devtools/strace/strace/update-gawk-paths.patch
index d46b147de5..429588d218 100644
--- a/meta/recipes-devtools/strace/strace/update-gawk-paths.patch
+++ b/meta/recipes-devtools/strace/strace/update-gawk-paths.patch
@@ -1,4 +1,4 @@
-From 12a726b280eca94883edcb4da1eaaf8e93d41739 Mon Sep 17 00:00:00 2001
+From 920ff2e0e838fae4fe49bf8e8fa093d5b2485677 Mon Sep 17 00:00:00 2001
From: Andre McCurdy <armccurdy@gmail.com>
Date: Mon, 18 Jan 2016 11:01:00 -0800
Subject: [PATCH] update gawk paths, /bin/gawk -> /usr/bin/gawk
@@ -11,32 +11,44 @@ from #!/bin/gawk to #!/usr/bin/gawk. Fixes missing RDPENDS QA tests:
Upstream-Status: Inappropriate [configuration]
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
-
---
- mpers.awk | 2 +-
+ src/mpers.awk | 2 +-
+ tests-m32/caps-abbrev.awk | 2 +-
tests-m32/caps.awk | 2 +-
tests-m32/match.awk | 2 +-
tests-m32/rt_sigaction.awk | 2 +-
+ tests-mx32/caps-abbrev.awk | 2 +-
tests-mx32/caps.awk | 2 +-
tests-mx32/match.awk | 2 +-
tests-mx32/rt_sigaction.awk | 2 +-
+ tests/caps-abbrev.awk | 2 +-
tests/caps.awk | 2 +-
tests/match.awk | 2 +-
tests/rt_sigaction.awk | 2 +-
- 10 files changed, 10 insertions(+), 10 deletions(-)
+ 13 files changed, 13 insertions(+), 13 deletions(-)
-diff --git a/mpers.awk b/mpers.awk
-index 17f8f2b..d69dcd5 100644
---- a/mpers.awk
-+++ b/mpers.awk
+diff --git a/src/mpers.awk b/src/mpers.awk
+index 425ab65..33ece5c 100644
+--- a/src/mpers.awk
++++ b/src/mpers.awk
@@ -1,4 +1,4 @@
-#!/bin/gawk
+#!/usr/bin/gawk
#
# Copyright (c) 2015 Elvira Khabirova <lineprinter0@gmail.com>
- # Copyright (c) 2015-2016 Dmitry V. Levin <ldv@altlinux.org>
+ # Copyright (c) 2015-2016 Dmitry V. Levin <ldv@strace.io>
+diff --git a/tests-m32/caps-abbrev.awk b/tests-m32/caps-abbrev.awk
+index e8393fd..76c4e51 100644
+--- a/tests-m32/caps-abbrev.awk
++++ b/tests-m32/caps-abbrev.awk
+@@ -1,4 +1,4 @@
+-#!/bin/gawk
++#!/usr/bin/gawk
+ #
+ # This file is part of caps strace test.
+ #
diff --git a/tests-m32/caps.awk b/tests-m32/caps.awk
-index 941564a..0bcc3ff 100644
+index 69500ec..e5dfd87 100644
--- a/tests-m32/caps.awk
+++ b/tests-m32/caps.awk
@@ -1,4 +1,4 @@
@@ -46,27 +58,37 @@ index 941564a..0bcc3ff 100644
# This file is part of caps strace test.
#
diff --git a/tests-m32/match.awk b/tests-m32/match.awk
-index d91c518..ee5d908 100644
+index 1cde87c..df63f78 100644
--- a/tests-m32/match.awk
+++ b/tests-m32/match.awk
@@ -1,4 +1,4 @@
-#!/bin/gawk
+#!/usr/bin/gawk
#
- # Copyright (c) 2014-2018 Dmitry V. Levin <ldv@altlinux.org>
+ # Copyright (c) 2014-2021 Dmitry V. Levin <ldv@strace.io>
# All rights reserved.
diff --git a/tests-m32/rt_sigaction.awk b/tests-m32/rt_sigaction.awk
-index 81dd813..9cd9549 100644
+index dce78f5..573d9ea 100644
--- a/tests-m32/rt_sigaction.awk
+++ b/tests-m32/rt_sigaction.awk
@@ -1,4 +1,4 @@
-#!/bin/gawk
+#!/usr/bin/gawk
#
- # Copyright (c) 2014-2015 Dmitry V. Levin <ldv@altlinux.org>
+ # Copyright (c) 2014-2015 Dmitry V. Levin <ldv@strace.io>
# Copyright (c) 2016 Elvira Khabirova <lineprinter0@gmail.com>
+diff --git a/tests-mx32/caps-abbrev.awk b/tests-mx32/caps-abbrev.awk
+index e8393fd..76c4e51 100644
+--- a/tests-mx32/caps-abbrev.awk
++++ b/tests-mx32/caps-abbrev.awk
+@@ -1,4 +1,4 @@
+-#!/bin/gawk
++#!/usr/bin/gawk
+ #
+ # This file is part of caps strace test.
+ #
diff --git a/tests-mx32/caps.awk b/tests-mx32/caps.awk
-index 941564a..0bcc3ff 100644
+index 69500ec..e5dfd87 100644
--- a/tests-mx32/caps.awk
+++ b/tests-mx32/caps.awk
@@ -1,4 +1,4 @@
@@ -76,27 +98,37 @@ index 941564a..0bcc3ff 100644
# This file is part of caps strace test.
#
diff --git a/tests-mx32/match.awk b/tests-mx32/match.awk
-index d91c518..ee5d908 100644
+index 1cde87c..df63f78 100644
--- a/tests-mx32/match.awk
+++ b/tests-mx32/match.awk
@@ -1,4 +1,4 @@
-#!/bin/gawk
+#!/usr/bin/gawk
#
- # Copyright (c) 2014-2018 Dmitry V. Levin <ldv@altlinux.org>
+ # Copyright (c) 2014-2021 Dmitry V. Levin <ldv@strace.io>
# All rights reserved.
diff --git a/tests-mx32/rt_sigaction.awk b/tests-mx32/rt_sigaction.awk
-index 81dd813..9cd9549 100644
+index dce78f5..573d9ea 100644
--- a/tests-mx32/rt_sigaction.awk
+++ b/tests-mx32/rt_sigaction.awk
@@ -1,4 +1,4 @@
-#!/bin/gawk
+#!/usr/bin/gawk
#
- # Copyright (c) 2014-2015 Dmitry V. Levin <ldv@altlinux.org>
+ # Copyright (c) 2014-2015 Dmitry V. Levin <ldv@strace.io>
# Copyright (c) 2016 Elvira Khabirova <lineprinter0@gmail.com>
+diff --git a/tests/caps-abbrev.awk b/tests/caps-abbrev.awk
+index e8393fd..76c4e51 100644
+--- a/tests/caps-abbrev.awk
++++ b/tests/caps-abbrev.awk
+@@ -1,4 +1,4 @@
+-#!/bin/gawk
++#!/usr/bin/gawk
+ #
+ # This file is part of caps strace test.
+ #
diff --git a/tests/caps.awk b/tests/caps.awk
-index 941564a..0bcc3ff 100644
+index 69500ec..e5dfd87 100644
--- a/tests/caps.awk
+++ b/tests/caps.awk
@@ -1,4 +1,4 @@
@@ -106,22 +138,22 @@ index 941564a..0bcc3ff 100644
# This file is part of caps strace test.
#
diff --git a/tests/match.awk b/tests/match.awk
-index d91c518..ee5d908 100644
+index 1cde87c..df63f78 100644
--- a/tests/match.awk
+++ b/tests/match.awk
@@ -1,4 +1,4 @@
-#!/bin/gawk
+#!/usr/bin/gawk
#
- # Copyright (c) 2014-2018 Dmitry V. Levin <ldv@altlinux.org>
+ # Copyright (c) 2014-2021 Dmitry V. Levin <ldv@strace.io>
# All rights reserved.
diff --git a/tests/rt_sigaction.awk b/tests/rt_sigaction.awk
-index 81dd813..9cd9549 100644
+index dce78f5..573d9ea 100644
--- a/tests/rt_sigaction.awk
+++ b/tests/rt_sigaction.awk
@@ -1,4 +1,4 @@
-#!/bin/gawk
+#!/usr/bin/gawk
#
- # Copyright (c) 2014-2015 Dmitry V. Levin <ldv@altlinux.org>
+ # Copyright (c) 2014-2015 Dmitry V. Levin <ldv@strace.io>
# Copyright (c) 2016 Elvira Khabirova <lineprinter0@gmail.com>
diff --git a/meta/recipes-devtools/strace/strace_5.9.bb b/meta/recipes-devtools/strace/strace_5.9.bb
deleted file mode 100644
index bee2616a44..0000000000
--- a/meta/recipes-devtools/strace/strace_5.9.bb
+++ /dev/null
@@ -1,56 +0,0 @@
-SUMMARY = "System call tracing tool"
-HOMEPAGE = "http://strace.io"
-SECTION = "console/utils"
-LICENSE = "LGPL-2.1+ & GPL-2+"
-LIC_FILES_CHKSUM = "file://COPYING;md5=c756d9d5dabc27663df64f0bf492166c"
-
-SRC_URI = "https://strace.io/files/${PV}/strace-${PV}.tar.xz \
- file://disable-git-version-gen.patch \
- file://update-gawk-paths.patch \
- file://Makefile-ptest.patch \
- file://run-ptest \
- file://mips-SIGEMT.patch \
- file://0001-caps-abbrev.awk-fix-gawk-s-path.patch \
- file://ptest-spacesave.patch \
- file://uintptr_t.patch \
- file://0001-strace-fix-reproducibilty-issues.patch \
- file://0001-xlat-Mark-IPPROTO_MAX-last-in-IPPROTO_-constants.patch \
- "
-SRC_URI[sha256sum] = "39473eb8465546c3e940fb663cb381eba5613160c7302794699d194a4d5d66d9"
-
-inherit autotools ptest
-
-PACKAGECONFIG_class-target ??= "\
- ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)} \
-"
-
-PACKAGECONFIG[bluez] = "ac_cv_header_bluetooth_bluetooth_h=yes,ac_cv_header_bluetooth_bluetooth_h=no,bluez5"
-PACKAGECONFIG[libunwind] = "--with-libunwind,--without-libunwind,libunwind"
-
-EXTRA_OECONF += "--enable-mpers=no --disable-gcc-Werror"
-
-CFLAGS_append_libc-musl = " -Dsigcontext_struct=sigcontext"
-
-TESTDIR = "tests"
-PTEST_BUILD_HOST_PATTERN = "^(DEB_CHANGELOGTIME|RPM_CHANGELOGTIME|WARN_CFLAGS_FOR_BUILD|LDFLAGS_FOR_BUILD)"
-
-do_install_append() {
- # We don't ship strace-graph here because it needs perl
- rm ${D}${bindir}/strace-graph
-}
-
-do_compile_ptest() {
- oe_runmake -C ${TESTDIR} buildtest-TESTS
-}
-
-do_install_ptest() {
- oe_runmake -C ${TESTDIR} install-ptest BUILDDIR=${B} DESTDIR=${D}${PTEST_PATH} TESTDIR=${TESTDIR}
- install -m 755 ${S}/test-driver ${D}${PTEST_PATH}
- install -m 644 ${B}/config.h ${D}${PTEST_PATH}
- sed -i -e '/^src/s/strace.*[1-9]/ptest/' ${D}/${PTEST_PATH}/${TESTDIR}/Makefile
-}
-
-RDEPENDS_${PN}-ptest += "make coreutils grep gawk sed"
-
-BBCLASSEXTEND = "native"
-TOOLCHAIN = "gcc"
diff --git a/meta/recipes-devtools/strace/strace_6.9.bb b/meta/recipes-devtools/strace/strace_6.9.bb
new file mode 100644
index 0000000000..bb9f8e42ba
--- /dev/null
+++ b/meta/recipes-devtools/strace/strace_6.9.bb
@@ -0,0 +1,52 @@
+SUMMARY = "System call tracing tool"
+HOMEPAGE = "http://strace.io"
+DESCRIPTION = "strace is a diagnostic, debugging and instructional userspace utility for Linux. It is used to monitor and tamper with interactions between processes and the Linux kernel, which include system calls, signal deliveries, and changes of process state."
+SECTION = "console/utils"
+LICENSE = "LGPL-2.1-or-later & GPL-2.0-or-later"
+LIC_FILES_CHKSUM = "file://COPYING;md5=2433d82e1432a76dc3eadd9002bfe304"
+
+SRC_URI = "https://strace.io/files/${PV}/strace-${PV}.tar.xz \
+ file://update-gawk-paths.patch \
+ file://Makefile-ptest.patch \
+ file://run-ptest \
+ file://ptest-spacesave.patch \
+ file://0001-strace-fix-reproducibilty-issues.patch \
+ file://skip-load.patch \
+ file://0001-configure-Use-autoconf-macro-to-detect-largefile-sup.patch \
+ file://0002-tests-Replace-off64_t-with-off_t.patch \
+ "
+SRC_URI[sha256sum] = "da189e990a82e3ca3a5a4631012f7ecfd489dab459854d82d8caf6a865c1356a"
+
+inherit autotools ptest
+
+# Not yet ported to rv32
+COMPATIBLE_HOST:riscv32 = "null"
+
+# bluez is not enabled by default due to build dependency creep in smaller builds
+# like core-image-minimal leading to significantly more tasks being executed
+PACKAGECONFIG[bluez] = "ac_cv_header_bluetooth_bluetooth_h=yes,ac_cv_header_bluetooth_bluetooth_h=no,bluez5"
+PACKAGECONFIG[libunwind] = "--with-libunwind,--without-libunwind,libunwind"
+
+EXTRA_OECONF += "--enable-mpers=no --disable-gcc-Werror"
+
+CFLAGS:append:libc-musl = " -Dsigcontext_struct=sigcontext"
+
+TESTDIR = "tests"
+PTEST_BUILD_HOST_PATTERN = "^(DEB_CHANGELOGTIME|RPM_CHANGELOGTIME|WARN_CFLAGS_FOR_BUILD|LDFLAGS_FOR_BUILD)"
+
+do_compile_ptest() {
+ oe_runmake -C ${TESTDIR} buildtest-TESTS
+}
+
+do_install_ptest() {
+ oe_runmake -C ${TESTDIR} install-ptest BUILDDIR=${B} DESTDIR=${D}${PTEST_PATH} TESTDIR=${TESTDIR}
+ mkdir -p ${D}${PTEST_PATH}/build-aux
+ mkdir -p ${D}${PTEST_PATH}/src
+ install -m 755 ${S}/build-aux/test-driver ${D}${PTEST_PATH}/build-aux/
+ install -m 644 ${B}/src/config.h ${D}${PTEST_PATH}/src/
+ sed -i -e '/^src/s/strace.*[0-9]/ptest/' ${D}/${PTEST_PATH}/${TESTDIR}/Makefile
+}
+
+RDEPENDS:${PN}-ptest += "make coreutils grep gawk sed locale-base-en-us"
+
+BBCLASSEXTEND = "native"
diff --git a/meta/recipes-devtools/subversion/subversion/0001-Fix-libtool-name-in-configure.ac.patch b/meta/recipes-devtools/subversion/subversion/0001-Fix-libtool-name-in-configure.ac.patch
deleted file mode 100644
index 5a1b10b2e1..0000000000
--- a/meta/recipes-devtools/subversion/subversion/0001-Fix-libtool-name-in-configure.ac.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From cbcfe0399347989e45a8fb695f55c855d6b3da72 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin <alex.kanavin@gmail.com>
-Date: Mon, 7 Dec 2015 17:11:02 +0200
-Subject: [PATCH] Fix libtool name in configure.ac
-
-Upstream-Status: Inappropriate [embedded specific]
-Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
----
- configure.ac | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index 4ed66d4..ceb64f9 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -221,8 +221,8 @@ if test "$experimental_libtool" = "yes"; then
- LIBTOOL="$sh_libtool"
- SVN_LIBTOOL="$sh_libtool"
- else
-- sh_libtool="$abs_builddir/libtool"
-- SVN_LIBTOOL="\$(SHELL) \"$sh_libtool\""
-+ sh_libtool="$abs_builddir/$host_alias-libtool"
-+ SVN_LIBTOOL="\$(SHELL) \$(abs_builddir)/$host_alias-libtool"
- fi
- AC_SUBST(SVN_LIBTOOL)
-
---
-2.6.2
-
diff --git a/meta/recipes-devtools/subversion/subversion/disable_macos.patch b/meta/recipes-devtools/subversion/subversion/disable_macos.patch
deleted file mode 100644
index 8d2d635992..0000000000
--- a/meta/recipes-devtools/subversion/subversion/disable_macos.patch
+++ /dev/null
@@ -1,71 +0,0 @@
-From 9c350c037ca3489dbeece6ecc2d7e2e5dbb177e9 Mon Sep 17 00:00:00 2001
-From: Hongxu Jia <hongxu.jia@windriver.com>
-Date: Sat, 11 May 2019 15:21:46 +0800
-Subject: [PATCH] These tests don't work in cross compiling, just disable them
- for now, we don't build subversion on OS-X at this time.
-
-RP 1014/7/16
-
-Upstream-Status: Pending [needs a rewrite to support a cache value]
-
-Rebase to 1.12.0
-
-Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
----
- build/ac-macros/macosx.m4 | 31 +------------------------------
- 1 file changed, 1 insertion(+), 30 deletions(-)
-
-diff --git a/build/ac-macros/macosx.m4 b/build/ac-macros/macosx.m4
-index 92fa58e..a568e1c 100644
---- a/build/ac-macros/macosx.m4
-+++ b/build/ac-macros/macosx.m4
-@@ -24,21 +24,7 @@ dnl Check for _dyld_image_name and _dyld_image_header availability
- AC_DEFUN(SVN_LIB_MACHO_ITERATE,
- [
- AC_MSG_CHECKING([for Mach-O dynamic module iteration functions])
-- AC_RUN_IFELSE([AC_LANG_PROGRAM([[
-- #include <mach-o/dyld.h>
-- #include <mach-o/loader.h>
-- ]],[[
-- const struct mach_header *header = _dyld_get_image_header(0);
-- const char *name = _dyld_get_image_name(0);
-- if (name && header) return 0;
-- return 1;
-- ]])],[
-- AC_DEFINE([SVN_HAVE_MACHO_ITERATE], [1],
-- [Is Mach-O low-level _dyld API available?])
-- AC_MSG_RESULT([yes])
-- ],[
- AC_MSG_RESULT([no])
-- ])
- ])
-
- dnl SVN_LIB_MACOS_PLIST
-@@ -46,23 +32,8 @@ dnl Assign variables for Mac OS property list support
- AC_DEFUN(SVN_LIB_MACOS_PLIST,
- [
- AC_MSG_CHECKING([for Mac OS property list utilities])
--
-- AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
-- #include <AvailabilityMacros.h>
-- #if !defined(MAC_OS_X_VERSION_MAX_ALLOWED) \
-- || !defined(MAC_OS_X_VERSION_10_0) \
-- || (MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_0)
-- #error ProperyList API unavailable.
-- #endif
-- ]],[[]])],[
-- SVN_MACOS_PLIST_LIBS="-framework CoreFoundation"
-- AC_SUBST(SVN_MACOS_PLIST_LIBS)
-- AC_DEFINE([SVN_HAVE_MACOS_PLIST], [1],
-- [Is Mac OS property list API available?])
-- AC_MSG_RESULT([yes])
-- ],[
-+ AC_SUBST([SVN_MACOS_PLIST_LIBS], [""])
- AC_MSG_RESULT([no])
-- ])
- ])
-
- dnl SVN_LIB_MACOS_KEYCHAIN
---
-2.7.4
-
diff --git a/meta/recipes-devtools/subversion/subversion_1.14.0.bb b/meta/recipes-devtools/subversion/subversion_1.14.3.bb
index 452a025fcc..1cf4e1734b 100644
--- a/meta/recipes-devtools/subversion/subversion_1.14.0.bb
+++ b/meta/recipes-devtools/subversion/subversion_1.14.3.bb
@@ -1,19 +1,18 @@
SUMMARY = "Subversion (svn) version control system client"
HOMEPAGE = "http://subversion.apache.org"
+DESCRIPTION = "Subversion is an open source version control system."
SECTION = "console/network"
-LICENSE = "Apache-2 & MIT"
+LICENSE = "Apache-2.0 & MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=6487ae7094d359fa90fb9c4096e52e2b"
DEPENDS = "apr-util serf sqlite3 file lz4"
-DEPENDS_append_class-native = " file-replacement-native"
+DEPENDS:append:class-native = " file-replacement-native"
SRC_URI = "${APACHE_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2 \
- file://disable_macos.patch \
- file://0001-Fix-libtool-name-in-configure.ac.patch \
file://serfmacro.patch \
"
-SRC_URI[sha256sum] = "6ba8e218f9f97a83a799e58a3c6da1221d034b18d9d8cbbcb6ec52ab11722102"
+SRC_URI[sha256sum] = "949efd451a09435f7e8573574c71c7b71b194d844890fa49cd61d2262ea1a440"
inherit autotools pkgconfig gettext python3native
@@ -43,7 +42,7 @@ acpaths = "-I build/ -I build/ac-macros/"
CPPFLAGS += "-P"
BUILD_CPPFLAGS += "-P"
-do_configure_prepend () {
+do_configure:prepend () {
rm -f ${S}/libtool
rm -f ${S}/build/libtool.m4 ${S}/build/ltmain.sh ${S}/build/ltoptions.m4 ${S}/build/ltsugar.m4 ${S}/build/ltversion.m4 ${S}/build/lt~obsolete.m4
rm -f ${S}/aclocal.m4
@@ -57,6 +56,6 @@ do_configure_prepend () {
#| make: *** [install-serf-lib] Error 1
PARALLEL_MAKEINST = ""
-RDEPENDS_${PN} = "serf"
+RDEPENDS:${PN} = "serf"
BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/swig/swig.inc b/meta/recipes-devtools/swig/swig.inc
deleted file mode 100644
index e62718c508..0000000000
--- a/meta/recipes-devtools/swig/swig.inc
+++ /dev/null
@@ -1,65 +0,0 @@
-SUMMARY = "SWIG - Simplified Wrapper and Interface Generator"
-DESCRIPTION = "SWIG is a compiler that makes it easy to integrate C and C++ \
-code with other languages including Perl, Tcl, Ruby, Python, Java, Guile, \
-Mzscheme, Chicken, OCaml, Pike, and C#."
-HOMEPAGE = "http://swig.sourceforge.net/"
-LICENSE = "BSD & GPLv3"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=e7807a6282784a7dde4c846626b08fc6 \
- file://LICENSE-GPL;md5=d32239bcb673463ab874e80d47fae504 \
- file://LICENSE-UNIVERSITIES;md5=8ce9dcc8f7c994de4a408b205c72ba08"
-
-SECTION = "devel"
-
-DEPENDS = "libpcre bison-native"
-
-SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz"
-
-inherit autotools python3native pkgconfig
-
-EXTRA_OECONF = " \
- --with-python3=${PYTHON} \
- --without-allegrocl \
- --without-android \
- --without-boost \
- --without-chicken \
- --without-clisp \
- --without-csharp \
- --without-d \
- --without-gcj \
- --without-go \
- --without-guile \
- --without-java \
- --without-lua \
- --without-mzscheme \
- --without-ocaml \
- --without-octave \
- --without-perl5 \
- --without-pike \
- --without-php \
- --without-r \
- --without-ruby \
- --without-tcl \
-"
-
-EXTRA_AUTORECONF += "-I Tools/config"
-
-BBCLASSEXTEND = "native nativesdk"
-
-# necessary together with bison dependency until a new upstream version after
-# 3.0.12 includes 0001-Fix-generated-code-for-constant-expressions-containi.patch
-do_configure_append() {
- mkdir -p ${B}/Source/CParse
-}
-
-do_install_append_class-nativesdk() {
- cd ${D}${bindir}
- ln -s swig swig2.0
-}
-
-def swiglib_relpath(d):
- swiglib = d.getVar('datadir') + "/" + d.getVar('BPN') + "/" + d.getVar('PV')
- return os.path.relpath(swiglib, d.getVar('bindir'))
-
-do_install_append_class-native() {
- create_wrapper ${D}${bindir}/swig SWIG_LIB='`dirname $''realpath`'/${@swiglib_relpath(d)}
-}
diff --git a/meta/recipes-devtools/swig/swig/0001-Add-Node-7.x-aka-V8-5.2-support.patch b/meta/recipes-devtools/swig/swig/0001-Add-Node-7.x-aka-V8-5.2-support.patch
deleted file mode 100644
index 885c395614..0000000000
--- a/meta/recipes-devtools/swig/swig/0001-Add-Node-7.x-aka-V8-5.2-support.patch
+++ /dev/null
@@ -1,330 +0,0 @@
-From 1a5aadcd66e85c63d228bfd811a521d617c22a38 Mon Sep 17 00:00:00 2001
-From: Patrick Schneider <patrick.schneider@meetnow.eu>
-Date: Thu, 13 Apr 2017 15:02:53 +0200
-Subject: [PATCH] Add Node 7.x aka V8 5.2+ support
-
-* Use WeakCallbackInfo instead of WeakCallbackData
-* Use GetPrivate instead of GetHiddenValue
-* Adopted new signature for SetWeak to support destructor calling
-* SetAccessor deprecation fixed
-* Proper version checks where applicable
-
-Upstream-Status: Submitted [https://github.com/swig/swig/pull/968]
-
-Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
----
- Lib/javascript/v8/javascriptcode.swg | 27 +++++++++++++++++-----
- Lib/javascript/v8/javascripthelpers.swg | 29 +++++++++++++++++++++---
- Lib/javascript/v8/javascriptinit.swg | 16 +++++++++++--
- Lib/javascript/v8/javascriptrun.swg | 40 ++++++++++++++++++++++++++++-----
- 4 files changed, 95 insertions(+), 17 deletions(-)
-
-diff --git a/Lib/javascript/v8/javascriptcode.swg b/Lib/javascript/v8/javascriptcode.swg
-index fb7d55c..b8c5089 100644
---- a/Lib/javascript/v8/javascriptcode.swg
-+++ b/Lib/javascript/v8/javascriptcode.swg
-@@ -133,10 +133,13 @@ static void $jswrapper(v8::Isolate *isolate, v8::Persistent<v8::Value> object, v
- SWIGV8_Proxy *proxy = static_cast<SWIGV8_Proxy *>(parameter);
- #elif (V8_MAJOR_VERSION-0) < 4 && (SWIG_V8_VERSION < SWIGV8_SETWEAK_VERSION)
- static void $jswrapper(v8::Isolate *isolate, v8::Persistent<v8::Object> *object, SWIGV8_Proxy *proxy) {
--#else
-+#elif (V8_MAJOR_VERSION-0) < 5 || (V8_MAJOR_VERSION == 5 && V8_MINOR_VERSION < 2)
- static void $jswrapper(const v8::WeakCallbackData<v8::Object, SWIGV8_Proxy> &data) {
- v8::Local<v8::Object> object = data.GetValue();
- SWIGV8_Proxy *proxy = data.GetParameter();
-+#else
-+ static void $jswrapper(const v8::WeakCallbackInfo<SWIGV8_Proxy> &data) {
-+ SWIGV8_Proxy *proxy = data.GetParameter();
- #endif
-
- if(proxy->swigCMemOwn && proxy->swigCObject) {
-@@ -147,7 +150,9 @@ static void $jswrapper(const v8::WeakCallbackData<v8::Object, SWIGV8_Proxy> &dat
- }
- delete proxy;
-
-+#if (V8_MAJOR_VERSION-0) < 5 || (V8_MAJOR_VERSION == 5 && V8_MINOR_VERSION < 2)
- object.Clear();
-+#endif
-
- #if (V8_MAJOR_VERSION-0) < 4 && (SWIG_V8_VERSION < 0x031710)
- object.Dispose();
-@@ -155,7 +160,7 @@ static void $jswrapper(const v8::WeakCallbackData<v8::Object, SWIGV8_Proxy> &dat
- object.Dispose(isolate);
- #elif (V8_MAJOR_VERSION-0) < 4 && (SWIG_V8_VERSION < 0x032100)
- object->Dispose(isolate);
--#else
-+#elif (V8_MAJOR_VERSION-0) < 5 || (V8_MAJOR_VERSION == 5 && V8_MINOR_VERSION < 2)
- object->Dispose();
- #endif
- }
-@@ -177,10 +182,13 @@ static void $jswrapper(v8::Isolate *isolate, v8::Persistent<v8::Value> object, v
- SWIGV8_Proxy *proxy = static_cast<SWIGV8_Proxy *>(parameter);
- #elif (V8_MAJOR_VERSION-0) < 4 && (SWIG_V8_VERSION < SWIGV8_SETWEAK_VERSION)
- static void $jswrapper(v8::Isolate *isolate, v8::Persistent< v8::Object> *object, SWIGV8_Proxy *proxy) {
--#else
-+#elif (V8_MAJOR_VERSION-0) < 5 || (V8_MAJOR_VERSION == 5 && V8_MINOR_VERSION < 2)
- static void $jswrapper(const v8::WeakCallbackData<v8::Object, SWIGV8_Proxy> &data) {
- v8::Local<v8::Object> object = data.GetValue();
- SWIGV8_Proxy *proxy = data.GetParameter();
-+#else
-+static void $jswrapper(const v8::WeakCallbackInfo<SWIGV8_Proxy> &data) {
-+ SWIGV8_Proxy *proxy = data.GetParameter();
- #endif
-
- if(proxy->swigCMemOwn && proxy->swigCObject) {
-@@ -197,7 +205,7 @@ static void $jswrapper(const v8::WeakCallbackData<v8::Object, SWIGV8_Proxy> &dat
- object->Dispose(isolate);
- #elif (V8_MAJOR_VERSION-0) < 4 && (SWIG_V8_VERSION < SWIGV8_SETWEAK_VERSION)
- object->Dispose();
--#else
-+#elif (V8_MAJOR_VERSION-0) < 5 || (V8_MAJOR_VERSION == 5 && V8_MINOR_VERSION < 2)
- object.Clear();
- #endif
- }
-@@ -211,7 +219,11 @@ static void $jswrapper(const v8::WeakCallbackData<v8::Object, SWIGV8_Proxy> &dat
- * ----------------------------------------------------------------------------- */
- %fragment("js_getter", "templates")
- %{
-+#if (V8_MAJOR_VERSION-0) < 5 || (V8_MAJOR_VERSION == 5 && V8_MINOR_VERSION < 2)
- static SwigV8ReturnValue $jswrapper(v8::Local<v8::String> property, const SwigV8PropertyCallbackInfo &info) {
-+#else
-+static SwigV8ReturnValue $jswrapper(v8::Local<v8::Name> property, const SwigV8PropertyCallbackInfo &info) {
-+#endif
- SWIGV8_HANDLESCOPE();
-
- v8::Handle<v8::Value> jsresult;
-@@ -233,8 +245,11 @@ fail:
- * ----------------------------------------------------------------------------- */
- %fragment("js_setter", "templates")
- %{
--static void $jswrapper(v8::Local<v8::String> property, v8::Local<v8::Value> value,
-- const SwigV8PropertyCallbackInfoVoid &info) {
-+#if (V8_MAJOR_VERSION-0) < 5 || (V8_MAJOR_VERSION == 5 && V8_MINOR_VERSION < 2)
-+static void $jswrapper(v8::Local<v8::String> property, v8::Local<v8::Value> value, const SwigV8PropertyCallbackInfoVoid &info) {
-+#else
-+static void $jswrapper(v8::Local<v8::Name> property, v8::Local<v8::Value> value, const SwigV8PropertyCallbackInfoVoid &info) {
-+#endif
- SWIGV8_HANDLESCOPE();
-
- $jslocals
-diff --git a/Lib/javascript/v8/javascripthelpers.swg b/Lib/javascript/v8/javascripthelpers.swg
-index 091467d..7461079 100644
---- a/Lib/javascript/v8/javascripthelpers.swg
-+++ b/Lib/javascript/v8/javascripthelpers.swg
-@@ -6,11 +6,16 @@ typedef v8::InvocationCallback SwigV8FunctionCallback;
- typedef v8::AccessorGetter SwigV8AccessorGetterCallback;
- typedef v8::AccessorSetter SwigV8AccessorSetterCallback;
- typedef v8::AccessorInfo SwigV8PropertyCallbackInfoVoid;
--#else
-+#elif (V8_MAJOR_VERSION-0) < 5 || (V8_MAJOR_VERSION == 5 && V8_MINOR_VERSION < 2)
- typedef v8::FunctionCallback SwigV8FunctionCallback;
- typedef v8::AccessorGetterCallback SwigV8AccessorGetterCallback;
- typedef v8::AccessorSetterCallback SwigV8AccessorSetterCallback;
- typedef v8::PropertyCallbackInfo<void> SwigV8PropertyCallbackInfoVoid;
-+#else
-+typedef v8::FunctionCallback SwigV8FunctionCallback;
-+typedef v8::AccessorNameGetterCallback SwigV8AccessorGetterCallback;
-+typedef v8::AccessorNameSetterCallback SwigV8AccessorSetterCallback;
-+typedef v8::PropertyCallbackInfo<void> SwigV8PropertyCallbackInfoVoid;
- #endif
-
- /**
-@@ -65,18 +70,36 @@ SWIGRUNTIME void SWIGV8_AddStaticFunction(v8::Handle<v8::Object> obj, const char
- */
- SWIGRUNTIME void SWIGV8_AddStaticVariable(v8::Handle<v8::Object> obj, const char* symbol,
- SwigV8AccessorGetterCallback getter, SwigV8AccessorSetterCallback setter) {
-+#if (V8_MAJOR_VERSION-0) < 5 || (V8_MAJOR_VERSION == 5 && V8_MINOR_VERSION < 2)
- obj->SetAccessor(SWIGV8_SYMBOL_NEW(symbol), getter, setter);
-+#else
-+ obj->SetAccessor(SWIGV8_CURRENT_CONTEXT(), SWIGV8_SYMBOL_NEW(symbol), getter, setter);
-+#endif
- }
-
--SWIGRUNTIME void JS_veto_set_variable(v8::Local<v8::String> property, v8::Local<v8::Value> value,
-- const SwigV8PropertyCallbackInfoVoid& info)
-+#if (V8_MAJOR_VERSION-0) < 5 || (V8_MAJOR_VERSION == 5 && V8_MINOR_VERSION < 2)
-+SWIGRUNTIME void JS_veto_set_variable(v8::Local<v8::String> property, v8::Local<v8::Value> value, const SwigV8PropertyCallbackInfoVoid& info)
-+#else
-+SWIGRUNTIME void JS_veto_set_variable(v8::Local<v8::Name> property, v8::Local<v8::Value> value, const SwigV8PropertyCallbackInfoVoid& info)
-+#endif
- {
- char buffer[256];
- char msg[512];
- int res;
-
-+#if (V8_MAJOR_VERSION-0) < 5 || (V8_MAJOR_VERSION == 5 && V8_MINOR_VERSION < 2)
- property->WriteUtf8(buffer, 256);
- res = sprintf(msg, "Tried to write read-only variable: %s.", buffer);
-+#else
-+ v8::Local<v8::String> sproperty;
-+ if (property->ToString(SWIGV8_CURRENT_CONTEXT()).ToLocal(&sproperty)) {
-+ sproperty->WriteUtf8(buffer, 256);
-+ res = sprintf(msg, "Tried to write read-only variable: %s.", buffer);
-+ }
-+ else {
-+ res = -1;
-+ }
-+#endif
-
- if(res<0) {
- SWIG_exception(SWIG_ERROR, "Tried to write read-only variable.");
-diff --git a/Lib/javascript/v8/javascriptinit.swg b/Lib/javascript/v8/javascriptinit.swg
-index 34befa7..86008d9 100644
---- a/Lib/javascript/v8/javascriptinit.swg
-+++ b/Lib/javascript/v8/javascriptinit.swg
-@@ -7,15 +7,27 @@ SWIG_V8_SetModule(void *, swig_module_info *swig_module) {
- v8::Local<v8::Object> global_obj = SWIGV8_CURRENT_CONTEXT()->Global();
- v8::Local<v8::External> mod = SWIGV8_EXTERNAL_NEW(swig_module);
- assert(!mod.IsEmpty());
-+#if (V8_MAJOR_VERSION-0) < 5 || (V8_MAJOR_VERSION == 5 && V8_MINOR_VERSION < 2)
- global_obj->SetHiddenValue(SWIGV8_STRING_NEW("swig_module_info_data"), mod);
-+#else
-+ v8::Local<v8::Private> privateKey = v8::Private::ForApi(v8::Isolate::GetCurrent(), SWIGV8_STRING_NEW("swig_module_info_data"));
-+ global_obj->SetPrivate(SWIGV8_CURRENT_CONTEXT(), privateKey, mod);
-+#endif
- }
-
- SWIGRUNTIME swig_module_info *
- SWIG_V8_GetModule(void *) {
- v8::Local<v8::Object> global_obj = SWIGV8_CURRENT_CONTEXT()->Global();
-+#if (V8_MAJOR_VERSION-0) < 5 || (V8_MAJOR_VERSION == 5 && V8_MINOR_VERSION < 2)
- v8::Local<v8::Value> moduleinfo = global_obj->GetHiddenValue(SWIGV8_STRING_NEW("swig_module_info_data"));
-+#else
-+ v8::Local<v8::Private> privateKey = v8::Private::ForApi(v8::Isolate::GetCurrent(), SWIGV8_STRING_NEW("swig_module_info_data"));
-+ v8::Local<v8::Value> moduleinfo;
-+ if (!global_obj->GetPrivate(SWIGV8_CURRENT_CONTEXT(), privateKey).ToLocal(&moduleinfo))
-+ return 0;
-+#endif
-
-- if (moduleinfo.IsEmpty())
-+ if (moduleinfo.IsEmpty() || moduleinfo->IsNull() || moduleinfo->IsUndefined())
- {
- // It's not yet loaded
- return 0;
-@@ -23,7 +35,7 @@ SWIG_V8_GetModule(void *) {
-
- v8::Local<v8::External> moduleinfo_extern = v8::Local<v8::External>::Cast(moduleinfo);
-
-- if (moduleinfo_extern.IsEmpty())
-+ if (moduleinfo_extern.IsEmpty() || moduleinfo_extern->IsNull() || moduleinfo_extern->IsUndefined())
- {
- // Something's not right
- return 0;
-diff --git a/Lib/javascript/v8/javascriptrun.swg b/Lib/javascript/v8/javascriptrun.swg
-index 5ac52a5..30002c0 100644
---- a/Lib/javascript/v8/javascriptrun.swg
-+++ b/Lib/javascript/v8/javascriptrun.swg
-@@ -193,8 +193,10 @@ public:
- void (*dtor) (v8::Isolate *isolate, v8::Persistent< v8::Value> object, void *parameter);
- #elif (V8_MAJOR_VERSION-0) < 4 && (SWIG_V8_VERSION < SWIGV8_SETWEAK_VERSION)
- void (*dtor) (v8::Isolate *isolate, v8::Persistent< v8::Object > *object, SWIGV8_Proxy *proxy);
--#else
-+#elif (V8_MAJOR_VERSION-0) < 5 || (V8_MAJOR_VERSION == 5 && V8_MINOR_VERSION < 2)
- void (*dtor) (const v8::WeakCallbackData<v8::Object, SWIGV8_Proxy> &data);
-+#else
-+ void (*dtor) (const v8::WeakCallbackInfo<SWIGV8_Proxy> &data);
- #endif
- };
-
-@@ -241,9 +243,12 @@ SWIGRUNTIME void SWIGV8_Proxy_DefaultDtor(v8::Isolate *, v8::Persistent< v8::Val
- SWIGV8_Proxy *proxy = static_cast<SWIGV8_Proxy *>(parameter);
- #elif (V8_MAJOR_VERSION-0) < 4 && (SWIG_V8_VERSION < SWIGV8_SETWEAK_VERSION)
- SWIGRUNTIME void SWIGV8_Proxy_DefaultDtor(v8::Isolate *, v8::Persistent< v8::Object > *object, SWIGV8_Proxy *proxy) {
--#else
-+#elif (V8_MAJOR_VERSION-0) < 5 || (V8_MAJOR_VERSION == 5 && V8_MINOR_VERSION < 2)
- SWIGRUNTIME void SWIGV8_Proxy_DefaultDtor(const v8::WeakCallbackData<v8::Object, SWIGV8_Proxy> &data) {
- SWIGV8_Proxy *proxy = data.GetParameter();
-+#else
-+SWIGRUNTIME void SWIGV8_Proxy_DefaultDtor(const v8::WeakCallbackInfo<SWIGV8_Proxy> &data) {
-+ SWIGV8_Proxy *proxy = data.GetParameter();
- #endif
-
- delete proxy;
-@@ -312,12 +317,18 @@ SWIGRUNTIME void SWIGV8_SetPrivateData(v8::Handle<v8::Object> obj, void *ptr, sw
- } else {
- cdata->handle.MakeWeak(cdata, SWIGV8_Proxy_DefaultDtor);
- }
--#else
-+#elifif (V8_MAJOR_VERSION-0) < 5 || (V8_MAJOR_VERSION == 5 && V8_MINOR_VERSION < 2)
- if(cdata->swigCMemOwn && (SWIGV8_ClientData*)info->clientdata) {
- cdata->handle.SetWeak(cdata, ((SWIGV8_ClientData*)info->clientdata)->dtor);
- } else {
- cdata->handle.SetWeak(cdata, SWIGV8_Proxy_DefaultDtor);
- }
-+#else
-+ if(cdata->swigCMemOwn && (SWIGV8_ClientData*)info->clientdata) {
-+ cdata->handle.SetWeak(cdata, ((SWIGV8_ClientData*)info->clientdata)->dtor, v8::WeakCallbackType::kParameter);
-+ } else {
-+ cdata->handle.SetWeak(cdata, SWIGV8_Proxy_DefaultDtor, v8::WeakCallbackType::kParameter);
-+ }
- #endif
-
- #if (V8_MAJOR_VERSION-0) < 4 && (SWIG_V8_VERSION < 0x031710)
-@@ -470,7 +481,14 @@ int SwigV8Packed_Check(v8::Handle<v8::Value> valRef) {
-
- v8::Handle<v8::Object> objRef = valRef->ToObject();
- if(objRef->InternalFieldCount() < 1) return false;
-+#if (V8_MAJOR_VERSION-0) < 5 || (V8_MAJOR_VERSION == 5 && V8_MINOR_VERSION < 2)
- v8::Handle<v8::Value> flag = objRef->GetHiddenValue(SWIGV8_STRING_NEW("__swig__packed_data__"));
-+#else
-+ v8::Local<v8::Private> privateKey = v8::Private::ForApi(v8::Isolate::GetCurrent(), SWIGV8_STRING_NEW("__swig__packed_data__"));
-+ v8::Local<v8::Value> flag;
-+ if (!objRef->GetPrivate(SWIGV8_CURRENT_CONTEXT(), privateKey).ToLocal(&flag))
-+ return false;
-+#endif
- return (flag->IsBoolean() && flag->BooleanValue());
- }
-
-@@ -519,10 +537,13 @@ SWIGRUNTIME void _wrap_SwigV8PackedData_delete(v8::Isolate *isolate, v8::Persist
- SwigV8PackedData *cdata = static_cast<SwigV8PackedData *>(parameter);
- #elif (V8_MAJOR_VERSION-0) < 4 && (SWIG_V8_VERSION < SWIGV8_SETWEAK_VERSION)
- SWIGRUNTIME void _wrap_SwigV8PackedData_delete(v8::Isolate *isolate, v8::Persistent<v8::Object> *object, SwigV8PackedData *cdata) {
--#else
-+#elif (V8_MAJOR_VERSION-0) < 5 || (V8_MAJOR_VERSION == 5 && V8_MINOR_VERSION < 2)
- SWIGRUNTIME void _wrap_SwigV8PackedData_delete(const v8::WeakCallbackData<v8::Object, SwigV8PackedData> &data) {
- v8::Local<v8::Object> object = data.GetValue();
- SwigV8PackedData *cdata = data.GetParameter();
-+#else
-+SWIGRUNTIME void _wrap_SwigV8PackedData_delete(const v8::WeakCallbackInfo<SwigV8PackedData> &data) {
-+ SwigV8PackedData *cdata = data.GetParameter();
- #endif
-
- delete cdata;
-@@ -537,7 +558,7 @@ SWIGRUNTIME void _wrap_SwigV8PackedData_delete(const v8::WeakCallbackData<v8::Ob
- object->Dispose(isolate);
- #elif (V8_MAJOR_VERSION-0) < 4 && (SWIG_V8_VERSION < SWIGV8_SETWEAK_VERSION)
- object->Dispose();
--#else
-+#elif (V8_MAJOR_VERSION-0) < 5 || (V8_MAJOR_VERSION == 5 && V8_MINOR_VERSION < 2)
- object.Clear();
- #endif
- }
-@@ -550,7 +571,12 @@ v8::Handle<v8::Value> SWIGV8_NewPackedObj(void *data, size_t size, swig_type_inf
- // v8::Handle<v8::Object> obj = SWIGV8_OBJECT_NEW();
- v8::Local<v8::Object> obj = SWIGV8_OBJECT_NEW();
-
-+#if (V8_MAJOR_VERSION-0) < 5 || (V8_MAJOR_VERSION == 5 && V8_MINOR_VERSION < 2)
- obj->SetHiddenValue(SWIGV8_STRING_NEW("__swig__packed_data__"), SWIGV8_BOOLEAN_NEW(true));
-+#else
-+ v8::Local<v8::Private> privateKey = v8::Private::ForApi(v8::Isolate::GetCurrent(), SWIGV8_STRING_NEW("__swig__packed_data__"));
-+ obj->SetPrivate(SWIGV8_CURRENT_CONTEXT(), privateKey, SWIGV8_BOOLEAN_NEW(true));
-+#endif
-
- #if (V8_MAJOR_VERSION-0) < 4 && (SWIG_V8_VERSION < 0x031511)
- obj->SetPointerInInternalField(0, cdata);
-@@ -573,9 +599,11 @@ v8::Handle<v8::Value> SWIGV8_NewPackedObj(void *data, size_t size, swig_type_inf
- cdata->handle.MakeWeak(v8::Isolate::GetCurrent(), cdata, _wrap_SwigV8PackedData_delete);
- #elif (V8_MAJOR_VERSION-0) < 4 && (SWIG_V8_VERSION < SWIGV8_SETWEAK_VERSION)
- cdata->handle.MakeWeak(cdata, _wrap_SwigV8PackedData_delete);
--#else
-+#elif (V8_MAJOR_VERSION-0) < 5 || (V8_MAJOR_VERSION == 5 && V8_MINOR_VERSION < 2)
- cdata->handle.SetWeak(cdata, _wrap_SwigV8PackedData_delete);
- // v8::V8::SetWeak(&cdata->handle, cdata, _wrap_SwigV8PackedData_delete);
-+#else
-+ cdata->handle.SetWeak(cdata, _wrap_SwigV8PackedData_delete, v8::WeakCallbackType::kParameter);
- #endif
-
- #if (V8_MAJOR_VERSION-0) < 4 && (SWIG_V8_VERSION < 0x031710)
---
-2.9.5
-
diff --git a/meta/recipes-devtools/swig/swig/0001-Fix-generated-code-for-constant-expressions-containi.patch b/meta/recipes-devtools/swig/swig/0001-Fix-generated-code-for-constant-expressions-containi.patch
deleted file mode 100644
index f4ed782a82..0000000000
--- a/meta/recipes-devtools/swig/swig/0001-Fix-generated-code-for-constant-expressions-containi.patch
+++ /dev/null
@@ -1,179 +0,0 @@
-From 90ba174fcea1618af57aa594199541d47a89b7f6 Mon Sep 17 00:00:00 2001
-From: William S Fulton <wsf@fultondesigns.co.uk>
-Date: Sun, 17 Sep 2017 19:02:55 +0100
-Subject: [PATCH 1/2] Fix generated code for constant expressions containing
- wchar_t L literals.
-
-Such as:
- # define __WCHAR_MAX (0x7fffffff + L'\0')
-
-Reported on swig-user mailing list.
----
- CHANGES.current | 5 +++++
- Examples/test-suite/csharp/preproc_constants_c_runme.cs | 3 ++-
- Examples/test-suite/csharp/preproc_constants_runme.cs | 2 ++
- Examples/test-suite/d/preproc_constants_c_runme.1.d | 2 ++
- Examples/test-suite/d/preproc_constants_c_runme.2.d | 2 ++
- Examples/test-suite/d/preproc_constants_runme.1.d | 2 ++
- Examples/test-suite/d/preproc_constants_runme.2.d | 2 ++
- Examples/test-suite/php/preproc_constants_c_runme.php | 2 ++
- Examples/test-suite/php/preproc_constants_runme.php | 2 ++
- Examples/test-suite/php5/preproc_constants_c_runme.php | 2 ++
- Examples/test-suite/php5/preproc_constants_runme.php | 2 ++
- Examples/test-suite/preproc_constants.i | 3 +++
- Source/CParse/parser.y | 2 +-
- 13 files changed, 29 insertions(+), 2 deletions(-)
-
-Upstream-Status: Backport
-[https://github.com/swig/swig/commit/90ba174fcea1618af57aa594199541d47a89b7f6]
-Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
-
-diff --git a/Examples/test-suite/csharp/preproc_constants_c_runme.cs b/Examples/test-suite/csharp/preproc_constants_c_runme.cs
-index 76c684d..1c28e49 100644
---- a/Examples/test-suite/csharp/preproc_constants_c_runme.cs
-+++ b/Examples/test-suite/csharp/preproc_constants_c_runme.cs
-@@ -61,7 +61,8 @@ public class runme {
- assert( typeof(int) == preproc_constants_c.EXPR_LAND.GetType() );
- assert( typeof(int) == preproc_constants_c.EXPR_LOR.GetType() );
- assert( typeof(double) == preproc_constants_c.EXPR_CONDITIONAL.GetType() );
--
-+ assert( typeof(int) == preproc_constants_c.EXPR_WCHAR_MAX.GetType() );
-+ assert( typeof(int) == preproc_constants_c.EXPR_WCHAR_MIN.GetType() );
- }
- static void assert(bool assertion) {
- if (!assertion)
-diff --git a/Examples/test-suite/csharp/preproc_constants_runme.cs b/Examples/test-suite/csharp/preproc_constants_runme.cs
-index 9fae591..6b02e30 100644
---- a/Examples/test-suite/csharp/preproc_constants_runme.cs
-+++ b/Examples/test-suite/csharp/preproc_constants_runme.cs
-@@ -60,6 +60,8 @@ public class runme {
- assert( typeof(bool) == preproc_constants.EXPR_LAND.GetType() );
- assert( typeof(bool) == preproc_constants.EXPR_LOR.GetType() );
- assert( typeof(double) == preproc_constants.EXPR_CONDITIONAL.GetType() );
-+ assert( typeof(int) == preproc_constants.EXPR_WCHAR_MAX.GetType() );
-+ assert( typeof(int) == preproc_constants.EXPR_WCHAR_MIN.GetType() );
-
- }
- static void assert(bool assertion) {
-diff --git a/Examples/test-suite/d/preproc_constants_c_runme.1.d b/Examples/test-suite/d/preproc_constants_c_runme.1.d
-index d846c71..2b349af 100644
---- a/Examples/test-suite/d/preproc_constants_c_runme.1.d
-+++ b/Examples/test-suite/d/preproc_constants_c_runme.1.d
-@@ -61,4 +61,6 @@ void main() {
- static assert(is(int == typeof(EXPR_LAND())));
- static assert(is(int == typeof(EXPR_LOR())));
- static assert(is(double == typeof(EXPR_CONDITIONAL())));
-+ static assert(is(int == typeof(EXPR_WCHAR_MAX())));
-+ static assert(is(int == typeof(EXPR_WCHAR_MIN())));
- }
-diff --git a/Examples/test-suite/d/preproc_constants_c_runme.2.d b/Examples/test-suite/d/preproc_constants_c_runme.2.d
-index 9bdbb93..1bac525 100644
---- a/Examples/test-suite/d/preproc_constants_c_runme.2.d
-+++ b/Examples/test-suite/d/preproc_constants_c_runme.2.d
-@@ -61,4 +61,6 @@ void main() {
- static assert(is(int == typeof(EXPR_LAND())));
- static assert(is(int == typeof(EXPR_LOR())));
- static assert(is(double == typeof(EXPR_CONDITIONAL())));
-+ static assert(is(int == typeof(EXPR_WCHAR_MAX())));
-+ static assert(is(int == typeof(EXPR_WCHAR_MIN())));
- }
-diff --git a/Examples/test-suite/d/preproc_constants_runme.1.d b/Examples/test-suite/d/preproc_constants_runme.1.d
-index 009405f..f743f48 100644
---- a/Examples/test-suite/d/preproc_constants_runme.1.d
-+++ b/Examples/test-suite/d/preproc_constants_runme.1.d
-@@ -60,4 +60,6 @@ void main() {
- static assert(is(bool == typeof(EXPR_LAND())));
- static assert(is(bool == typeof(EXPR_LOR())));
- static assert(is(double == typeof(EXPR_CONDITIONAL())));
-+ static assert(is(int == typeof(EXPR_WCHAR_MAX())));
-+ static assert(is(int == typeof(EXPR_WCHAR_MIN())));
- }
-diff --git a/Examples/test-suite/d/preproc_constants_runme.2.d b/Examples/test-suite/d/preproc_constants_runme.2.d
-index 2d92ef0..0d96c37 100644
---- a/Examples/test-suite/d/preproc_constants_runme.2.d
-+++ b/Examples/test-suite/d/preproc_constants_runme.2.d
-@@ -60,4 +60,6 @@ void main() {
- static assert(is(bool == typeof(EXPR_LAND())));
- static assert(is(bool == typeof(EXPR_LOR())));
- static assert(is(double == typeof(EXPR_CONDITIONAL())));
-+ static assert(is(int == typeof(EXPR_WCHAR_MAX())));
-+ static assert(is(int == typeof(EXPR_WCHAR_MIN())));
- }
-diff --git a/Examples/test-suite/php/preproc_constants_c_runme.php b/Examples/test-suite/php/preproc_constants_c_runme.php
-index af9b76e..e59fe18 100644
---- a/Examples/test-suite/php/preproc_constants_c_runme.php
-+++ b/Examples/test-suite/php/preproc_constants_c_runme.php
-@@ -62,5 +62,7 @@ check::equal(gettype(preproc_constants_c::EXPR_OR), "integer", "preproc_constant
- check::equal(gettype(preproc_constants_c::EXPR_LAND), "integer", "preproc_constants.EXPR_LAND has unexpected type");
- check::equal(gettype(preproc_constants_c::EXPR_LOR), "integer", "preproc_constants.EXPR_LOR has unexpected type");
- check::equal(gettype(preproc_constants_c::EXPR_CONDITIONAL), "double", "preproc_constants.EXPR_CONDITIONAL has unexpected type");
-+check::equal(gettype(preproc_constants_c::EXPR_WCHAR_MAX), "integer", "preproc_constants.EXPR_WCHAR_MAX has unexpected type");
-+check::equal(gettype(preproc_constants_c::EXPR_WCHAR_MIN), "integer", "preproc_constants.EXPR_WCHAR_MIN has unexpected type");
-
- ?>
-diff --git a/Examples/test-suite/php/preproc_constants_runme.php b/Examples/test-suite/php/preproc_constants_runme.php
-index 5c9119b..8e117ea 100644
---- a/Examples/test-suite/php/preproc_constants_runme.php
-+++ b/Examples/test-suite/php/preproc_constants_runme.php
-@@ -61,5 +61,7 @@ check::equal(gettype(preproc_constants::EXPR_OR), "integer", "preproc_constants.
- check::equal(gettype(preproc_constants::EXPR_LAND), "boolean", "preproc_constants.EXPR_LAND has unexpected type");
- check::equal(gettype(preproc_constants::EXPR_LOR), "boolean", "preproc_constants.EXPR_LOR has unexpected type");
- check::equal(gettype(preproc_constants::EXPR_CONDITIONAL), "double", "preproc_constants.EXPR_CONDITIONAL has unexpected type");
-+check::equal(gettype(preproc_constants::EXPR_WCHAR_MAX), "integer", "preproc_constants.EXPR_WCHAR_MAX has unexpected type");
-+check::equal(gettype(preproc_constants::EXPR_WCHAR_MIN), "integer", "preproc_constants.EXPR_WCHAR_MIN has unexpected type");
-
- ?>
-diff --git a/Examples/test-suite/php5/preproc_constants_c_runme.php b/Examples/test-suite/php5/preproc_constants_c_runme.php
-index 1ea0195..d978fab 100644
---- a/Examples/test-suite/php5/preproc_constants_c_runme.php
-+++ b/Examples/test-suite/php5/preproc_constants_c_runme.php
-@@ -62,5 +62,7 @@ check::equal(gettype(preproc_constants_c::EXPR_OR), "integer", "preproc_constant
- check::equal(gettype(preproc_constants_c::EXPR_LAND), "integer", "preproc_constants.EXPR_LAND has unexpected type");
- check::equal(gettype(preproc_constants_c::EXPR_LOR), "integer", "preproc_constants.EXPR_LOR has unexpected type");
- check::equal(gettype(preproc_constants_c::EXPR_CONDITIONAL), "double", "preproc_constants.EXPR_CONDITIONAL has unexpected type");
-+check::equal(gettype(preproc_constants_c::EXPR_WCHAR_MAX), "integer", "preproc_constants.EXPR_WCHAR_MAX has unexpected type");
-+check::equal(gettype(preproc_constants_c::EXPR_WCHAR_MIN), "integer", "preproc_constants.EXPR_WCHAR_MIN has unexpected type");
-
- ?>
-diff --git a/Examples/test-suite/php5/preproc_constants_runme.php b/Examples/test-suite/php5/preproc_constants_runme.php
-index fb9ee4f..7527026 100644
---- a/Examples/test-suite/php5/preproc_constants_runme.php
-+++ b/Examples/test-suite/php5/preproc_constants_runme.php
-@@ -70,5 +70,7 @@ check::equal(gettype(preproc_constants::EXPR_LAND), "integer", "preproc_constant
- check::equal(gettype(preproc_constants::EXPR_LOR), "integer", "preproc_constants.EXPR_LOR has unexpected type");
-
- check::equal(gettype(preproc_constants::EXPR_CONDITIONAL), "double", "preproc_constants.EXPR_CONDITIONAL has unexpected type");
-+check::equal(gettype(preproc_constants::EXPR_WCHAR_MAX), "integer", "preproc_constants.EXPR_WCHAR_MAX has unexpected type");
-+check::equal(gettype(preproc_constants::EXPR_WCHAR_MIN), "integer", "preproc_constants.EXPR_WCHAR_MIN has unexpected type");
-
- ?>
-diff --git a/Examples/test-suite/preproc_constants.i b/Examples/test-suite/preproc_constants.i
-index 3a999ad..16b44c9 100644
---- a/Examples/test-suite/preproc_constants.i
-+++ b/Examples/test-suite/preproc_constants.i
-@@ -87,6 +87,9 @@
- #define EXPR_LOR 0xFF || 1
- #define EXPR_CONDITIONAL true ? 2 : 2.2
-
-+#define EXPR_WCHAR_MAX (0x7fffffff + L'\0')
-+#define EXPR_WCHAR_MIN (-EXPR_WCHAR_MAX - 1)
-+
- #define EXPR_CHAR_COMPOUND_ADD 'A' + 12
- #define EXPR_CHAR_COMPOUND_LSHIFT 'B' << 6
- #define H_SUPPRESS_SCALING_MAGIC (('s'<<24) | ('u'<<16) | ('p'<<8) | 'p')
-diff --git a/Source/CParse/parser.y b/Source/CParse/parser.y
-index 2e92cd0..273dadb 100644
---- a/Source/CParse/parser.y
-+++ b/Source/CParse/parser.y
-@@ -194,7 +194,7 @@ int SWIG_cparse_template_reduce(int treduce) {
- * ----------------------------------------------------------------------------- */
-
- static int promote_type(int t) {
-- if (t <= T_UCHAR || t == T_CHAR) return T_INT;
-+ if (t <= T_UCHAR || t == T_CHAR || t == T_WCHAR) return T_INT;
- return t;
- }
-
---
-2.9.5
-
diff --git a/meta/recipes-devtools/swig/swig/0001-Use-proc-self-exe-for-swig-swiglib-on-non-Win32-plat.patch b/meta/recipes-devtools/swig/swig/0001-Use-proc-self-exe-for-swig-swiglib-on-non-Win32-plat.patch
deleted file mode 100644
index 81df3e264f..0000000000
--- a/meta/recipes-devtools/swig/swig/0001-Use-proc-self-exe-for-swig-swiglib-on-non-Win32-plat.patch
+++ /dev/null
@@ -1,69 +0,0 @@
-From a4a0440a644c6c5e5da096efe3cf05ba309a284f Mon Sep 17 00:00:00 2001
-From: "NODA, Kai" <nodakai@gmail.com>
-Date: Sun, 22 Apr 2012 17:01:02 +0900
-Subject: [PATCH] Use /proc/self/exe for "swig -swiglib" on non-Win32
- platforms.
-
-If it wasn't found, then fall back to a fixed string just as before.
-
-Upstream-Status: Submitted
-http://sourceforge.net/mailarchive/message.php?msg_id=29179733
-
----
- Source/Modules/main.cxx | 24 ++++++++++++++++++++++--
- 1 file changed, 22 insertions(+), 2 deletions(-)
-
-diff --git a/Source/Modules/main.cxx b/Source/Modules/main.cxx
-index d2f5d3b..cbb0a12 100644
---- a/Source/Modules/main.cxx
-+++ b/Source/Modules/main.cxx
-@@ -26,6 +26,11 @@ char cvsroot_main_cxx[] = "$Id$";
- #include "cparse.h"
- #include <ctype.h>
- #include <limits.h> // for INT_MAX
-+#ifndef _WIN32
-+#include <cstddef>
-+#include <unistd.h> // for readlink
-+#include <sys/stat.h> // for stat
-+#endif
-
- // Global variables
-
-@@ -902,9 +907,9 @@ int SWIG_main(int argc, char *argv[], Language *l) {
-
- // Check for SWIG_LIB environment variable
- if ((c = getenv("SWIG_LIB")) == (char *) 0) {
-+ char *p;
- #if defined(_WIN32)
- char buf[MAX_PATH];
-- char *p;
- if (!(GetModuleFileName(0, buf, MAX_PATH) == 0 || (p = strrchr(buf, '\\')) == 0)) {
- *(p + 1) = '\0';
- SwigLib = NewStringf("%sLib", buf); // Native windows installation path
-@@ -914,7 +919,22 @@ int SWIG_main(int argc, char *argv[], Language *l) {
- if (Len(SWIG_LIB_WIN_UNIX) > 0)
- SwigLibWinUnix = NewString(SWIG_LIB_WIN_UNIX); // Unix installation path using a drive letter (for msys/mingw)
- #else
-- SwigLib = NewString(SWIG_LIB);
-+ char buf[PATH_MAX];
-+ if (0 < ::readlink("/proc/self/exe", buf, sizeof(buf)) &&
-+ (p = ::strstr(buf, "/bin/swig"))) {
-+ int major, minor, patch;
-+ const int ret = ::sscanf(VERSION, "%d.%d.%d", &major, &minor, &patch);
-+ if (3 == ret) {
-+ const ::ptrdiff_t dir_part_len = p - buf;
-+ ::snprintf(p, PATH_MAX - dir_part_len, "/share/swig/%d.%d.%d", major, minor, patch);
-+ struct ::stat stat_res;
-+ if (0 == ::stat(buf, &stat_res) && S_ISDIR(stat_res.st_mode)) {
-+ SwigLib = NewString(buf);
-+ }
-+ }
-+ }
-+ if (NULL == SwigLib)
-+ SwigLib = NewString(SWIG_LIB);
- #endif
- } else {
- SwigLib = NewString(c);
---
-1.7.9.5
-
diff --git a/meta/recipes-devtools/swig/swig/0001-configure-use-pkg-config-for-pcre-detection.patch b/meta/recipes-devtools/swig/swig/0001-configure-use-pkg-config-for-pcre-detection.patch
deleted file mode 100644
index 1b1128acab..0000000000
--- a/meta/recipes-devtools/swig/swig/0001-configure-use-pkg-config-for-pcre-detection.patch
+++ /dev/null
@@ -1,64 +0,0 @@
-From 5c4d6d8538994d5fe9b3b46bfafaf0a605e3bda6 Mon Sep 17 00:00:00 2001
-From: Koen Kooi <koen.kooi@linaro.org>
-Date: Tue, 17 Jun 2014 08:18:17 +0200
-Subject: [PATCH] configure: use pkg-config for pcre detection
-
-Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
-Upstream-Status: pending
----
- configure.ac | 38 +++++++-------------------------------
- 1 file changed, 7 insertions(+), 31 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index 0c984b7..6edcec1 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -70,38 +70,14 @@ AC_MSG_RESULT([$with_pcre])
-
- dnl To make configuring easier, check for a locally built PCRE using the Tools/pcre-build.sh script
- if test x"${with_pcre}" = xyes ; then
-- AC_MSG_CHECKING([whether to use local PCRE])
-- local_pcre_config=no
-- if test -z $PCRE_CONFIG; then
-- if test -f `pwd`/pcre/pcre-swig-install/bin/pcre-config; then
-- PCRE_CONFIG=`pwd`/pcre/pcre-swig-install/bin/pcre-config
-- local_pcre_config=$PCRE_CONFIG
-- fi
-- fi
-- AC_MSG_RESULT([$local_pcre_config])
--fi
--AS_IF([test "x$with_pcre" != xno],
-- [AX_PATH_GENERIC([pcre],
-- [], dnl Minimal version of PCRE we need -- accept any
-- [], dnl custom sed script for version parsing is not needed
-- [AC_DEFINE([HAVE_PCRE], [1], [Define if you have PCRE library])
-- LIBS="$LIBS $PCRE_LIBS"
-- CPPFLAGS="$CPPFLAGS $PCRE_CFLAGS"
-- ],
-- [AC_MSG_FAILURE([
-- Cannot find pcre-config script from PCRE (Perl Compatible Regular Expressions)
-- library package. This dependency is needed for configure to complete,
-- Either:
-- - Install the PCRE developer package on your system (preferred approach).
-- - Download the PCRE source tarball, build and install on your system
-- as you would for any package built from source distribution.
-- - Use the Tools/pcre-build.sh script to build PCRE just for SWIG to statically
-- link against. Run 'Tools/pcre-build.sh --help' for instructions.
-- (quite easy and does not require privileges to install PCRE on your system)
-- - Use configure --without-pcre to disable regular expressions support in SWIG
-- (not recommended).])
-- ])
-+ PKG_CHECK_MODULES([PCRE], [libpcre], [
-+ AC_DEFINE([HAVE_PCRE], [1], [Define if you have PCRE library])
-+ LIBS="$LIBS $PCRE_LIBS"
-+ CPPFLAGS="$CPPFLAGS $PCRE_CFLAGS"
-+ ], [
-+ AC_MSG_WARN([$PCRE_PKG_ERRORS])
- ])
-+fi
-
-
- dnl CCache
---
-1.9.3
-
diff --git a/meta/recipes-devtools/swig/swig/Python-Fix-new-GCC8-warnings-in-generated-code.patch b/meta/recipes-devtools/swig/swig/Python-Fix-new-GCC8-warnings-in-generated-code.patch
deleted file mode 100644
index a91385916c..0000000000
--- a/meta/recipes-devtools/swig/swig/Python-Fix-new-GCC8-warnings-in-generated-code.patch
+++ /dev/null
@@ -1,191 +0,0 @@
-From b6c0ef4b8f6e5c089ac7104b3aaba8f1d17b8b82 Mon Sep 17 00:00:00 2001
-From: Olly Betts <olly@survex.com>
-Date: Mon, 11 Jun 2018 15:51:53 +1200
-Subject: [PATCH] [Python] Fix new GCC8 warnings in generated code
-
-Avoid casts between incompatible function types where possible (when
-keyword args are in use, it is not possible to avoid such warnings as
-they are inherent in the design of Python's C API in that particular
-case). Fixes #1259.
-
-Upstream-Status: Backport
-[https://github.com/swig/swig/commit/7f9883011029674553a2a4b623d459f02b512458]
-
-Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
----
- Lib/python/pyinit.swg | 4 ++--
- Lib/python/pyrun.swg | 34 ++++++++++++++++++++++++++--------
- Source/Modules/python.cxx | 26 +++++++++++++-------------
- 3 files changed, 41 insertions(+), 23 deletions(-)
-
-diff --git a/Lib/python/pyinit.swg b/Lib/python/pyinit.swg
-index 2cc5828..6bf68c1 100644
---- a/Lib/python/pyinit.swg
-+++ b/Lib/python/pyinit.swg
-@@ -368,8 +368,8 @@ SWIG_init(void) {
- (char *)"this", &SwigPyBuiltin_ThisClosure, NULL, NULL, NULL
- };
- static SwigPyGetSet thisown_getset_closure = {
-- (PyCFunction) SwigPyObject_own,
-- (PyCFunction) SwigPyObject_own
-+ SwigPyObject_own,
-+ SwigPyObject_own
- };
- static PyGetSetDef thisown_getset_def = {
- (char *)"thisown", SwigPyBuiltin_GetterClosure, SwigPyBuiltin_SetterClosure, NULL, &thisown_getset_closure
-diff --git a/Lib/python/pyrun.swg b/Lib/python/pyrun.swg
-index ab1237f..3d0b1b3 100644
---- a/Lib/python/pyrun.swg
-+++ b/Lib/python/pyrun.swg
-@@ -465,6 +465,14 @@ SwigPyObject_repr(SwigPyObject *v, PyObject *args)
- return repr;
- }
-
-+/* We need a version taking two PyObject* parameters so it's a valid
-+ * PyCFunction to use in swigobject_methods[]. */
-+SWIGRUNTIME PyObject *
-+SwigPyObject_repr2(PyObject *v, PyObject *SWIGUNUSEDPARM(args))
-+{
-+ return SwigPyObject_repr((SwigPyObject*)v);
-+}
-+
- SWIGRUNTIME int
- SwigPyObject_compare(SwigPyObject *v, SwigPyObject *w)
- {
-@@ -594,11 +602,7 @@ SwigPyObject_append(PyObject* v, PyObject* next)
- }
-
- SWIGRUNTIME PyObject*
--#ifdef METH_NOARGS
--SwigPyObject_next(PyObject* v)
--#else
- SwigPyObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
--#endif
- {
- SwigPyObject *sobj = (SwigPyObject *) v;
- if (sobj->next) {
-@@ -633,6 +637,20 @@ SwigPyObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
- return SWIG_Py_Void();
- }
-
-+#ifdef METH_NOARGS
-+static PyObject*
-+SwigPyObject_disown2(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
-+{
-+ return SwigPyObject_disown(v);
-+}
-+
-+static PyObject*
-+SwigPyObject_acquire2(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
-+{
-+ return SwigPyObject_acquire(v);
-+}
-+#endif
-+
- SWIGINTERN PyObject*
- SwigPyObject_own(PyObject *v, PyObject *args)
- {
-@@ -673,12 +691,12 @@ SwigPyObject_own(PyObject *v, PyObject *args)
- #ifdef METH_O
- static PyMethodDef
- swigobject_methods[] = {
-- {(char *)"disown", (PyCFunction)SwigPyObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
-- {(char *)"acquire", (PyCFunction)SwigPyObject_acquire, METH_NOARGS, (char *)"acquires ownership of the pointer"},
-+ {(char *)"disown", (PyCFunction)SwigPyObject_disown2, METH_NOARGS, (char *)"releases ownership of the pointer"},
-+ {(char *)"acquire", (PyCFunction)SwigPyObject_acquire2,METH_NOARGS, (char *)"acquires ownership of the pointer"},
- {(char *)"own", (PyCFunction)SwigPyObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
- {(char *)"append", (PyCFunction)SwigPyObject_append, METH_O, (char *)"appends another 'this' object"},
- {(char *)"next", (PyCFunction)SwigPyObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
-- {(char *)"__repr__",(PyCFunction)SwigPyObject_repr, METH_NOARGS, (char *)"returns object representation"},
-+ {(char *)"__repr__",(PyCFunction)SwigPyObject_repr2, METH_NOARGS, (char *)"returns object representation"},
- {0, 0, 0, 0}
- };
- #else
-@@ -689,7 +707,7 @@ swigobject_methods[] = {
- {(char *)"own", (PyCFunction)SwigPyObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
- {(char *)"append", (PyCFunction)SwigPyObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
- {(char *)"next", (PyCFunction)SwigPyObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
-- {(char *)"__repr__",(PyCFunction)SwigPyObject_repr, METH_VARARGS, (char *)"returns object representation"},
-+ {(char *)"__repr__",(PyCFunction)SwigPyObject_repr, METH_VARARGS, (char *)"returns object representation"},
- {0, 0, 0, 0}
- };
- #endif
-diff --git a/Source/Modules/python.cxx b/Source/Modules/python.cxx
-index a6801fc..72eaa77 100644
---- a/Source/Modules/python.cxx
-+++ b/Source/Modules/python.cxx
-@@ -1109,7 +1109,7 @@ public:
- * ------------------------------------------------------------ */
- int add_pyinstancemethod_new() {
- String *name = NewString("SWIG_PyInstanceMethod_New");
-- Printf(methods, "\t { (char *)\"%s\", (PyCFunction)%s, METH_O, NULL},\n", name, name);
-+ Printf(methods, "\t { \"%s\", %s, METH_O, NULL},\n", name, name);
- Delete(name);
- return 0;
- }
-@@ -2479,17 +2479,17 @@ public:
- if (!kw) {
- if (n && funpack) {
- if (num_required == 0 && num_arguments == 0) {
-- Printf(methods, "\t { (char *)\"%s\", (PyCFunction)%s, METH_NOARGS, ", name, function);
-+ Printf(methods, "\t { \"%s\", %s, METH_NOARGS, ", name, function);
- } else if (num_required == 1 && num_arguments == 1) {
-- Printf(methods, "\t { (char *)\"%s\", (PyCFunction)%s, METH_O, ", name, function);
-+ Printf(methods, "\t { \"%s\", %s, METH_O, ", name, function);
- } else {
-- Printf(methods, "\t { (char *)\"%s\", %s, METH_VARARGS, ", name, function);
-+ Printf(methods, "\t { \"%s\", %s, METH_VARARGS, ", name, function);
- }
- } else {
-- Printf(methods, "\t { (char *)\"%s\", %s, METH_VARARGS, ", name, function);
-+ Printf(methods, "\t { \"%s\", %s, METH_VARARGS, ", name, function);
- }
- } else {
-- Printf(methods, "\t { (char *)\"%s\", (PyCFunction) %s, METH_VARARGS | METH_KEYWORDS, ", name, function);
-+ Printf(methods, "\t { \"%s\", (PyCFunction)%s, METH_VARARGS|METH_KEYWORDS, ", name, function);
- }
-
- if (!n) {
-@@ -3857,7 +3857,7 @@ public:
- if (shadow) {
- if (builtin) {
- String *rname = SwigType_namestr(real_classname);
-- Printf(builtin_methods, " { \"__disown__\", (PyCFunction) Swig::Director::swig_pyobj_disown< %s >, METH_NOARGS, \"\" },\n", rname);
-+ Printf(builtin_methods, " { \"__disown__\", Swig::Director::swig_pyobj_disown< %s >, METH_NOARGS, \"\" },\n", rname);
- Delete(rname);
- } else {
- String *symname = Getattr(n, "sym:name");
-@@ -4694,13 +4694,13 @@ public:
- int argcount = Getattr(n, "python:argcount") ? atoi(Char(Getattr(n, "python:argcount"))) : 2;
- String *ds = have_docstring(n) ? cdocstring(n, AUTODOC_FUNC) : NewString("");
- if (check_kwargs(n)) {
-- Printf(builtin_methods, " { \"%s\", (PyCFunction) %s, METH_VARARGS|METH_KEYWORDS, (char *) \"%s\" },\n", symname, wname, ds);
-+ Printf(builtin_methods, " { \"%s\", (PyCFunction)%s, METH_VARARGS|METH_KEYWORDS, \"%s\" },\n", symname, wname, ds);
- } else if (argcount == 0) {
-- Printf(builtin_methods, " { \"%s\", (PyCFunction) %s, METH_NOARGS, (char *) \"%s\" },\n", symname, wname, ds);
-+ Printf(builtin_methods, " { \"%s\", %s, METH_NOARGS, \"%s\" },\n", symname, wname, ds);
- } else if (argcount == 1) {
-- Printf(builtin_methods, " { \"%s\", (PyCFunction) %s, METH_O, (char *) \"%s\" },\n", symname, wname, ds);
-+ Printf(builtin_methods, " { \"%s\", %s, METH_O, \"%s\" },\n", symname, wname, ds);
- } else {
-- Printf(builtin_methods, " { \"%s\", (PyCFunction) %s, METH_VARARGS, (char *) \"%s\" },\n", symname, wname, ds);
-+ Printf(builtin_methods, " { \"%s\", %s, METH_VARARGS, \"%s\" },\n", symname, wname, ds);
- }
- Delete(fullname);
- Delete(wname);
-@@ -4801,10 +4801,10 @@ public:
- Append(pyflags, "METH_VARARGS");
- if (have_docstring(n)) {
- String *ds = cdocstring(n, AUTODOC_STATICFUNC);
-- Printf(builtin_methods, " { \"%s\", (PyCFunction) %s, %s, (char *) \"%s\" },\n", symname, wname, pyflags, ds);
-+ Printf(builtin_methods, " { \"%s\", (PyCFunction)%s, %s, \"%s\" },\n", symname, wname, pyflags, ds);
- Delete(ds);
- } else {
-- Printf(builtin_methods, " { \"%s\", (PyCFunction) %s, %s, \"\" },\n", symname, wname, pyflags);
-+ Printf(builtin_methods, " { \"%s\", (PyCFunction)%s, %s, \"\" },\n", symname, wname, pyflags);
- }
- Delete(fullname);
- Delete(wname);
---
-2.7.4
-
diff --git a/meta/recipes-devtools/swig/swig/determinism.patch b/meta/recipes-devtools/swig/swig/determinism.patch
new file mode 100644
index 0000000000..9c49414ad7
--- /dev/null
+++ b/meta/recipes-devtools/swig/swig/determinism.patch
@@ -0,0 +1,26 @@
+From 28648b3873d83e26bd19b64ce2c0a41ced9292d3 Mon Sep 17 00:00:00 2001
+From: Richard Purdie <richard.purdie@linuxfoundation.org>
+Date: Mon, 1 Mar 2021 00:11:10 +0000
+Subject: [PATCH] swig: Fix reproducibility issue
+
+Remove the compiler commandline/platform from the compiled binary as this
+breaks reproducibilty.
+
+Upstream-Status: Inappropriate [OE reproducibiity fix upstream unlikely to take]
+RP 2021/3/1
+---
+ Source/Modules/main.cxx | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/Source/Modules/main.cxx b/Source/Modules/main.cxx
+index de0a512..ac9e825 100644
+--- a/Source/Modules/main.cxx
++++ b/Source/Modules/main.cxx
+@@ -638,7 +638,6 @@ static void getoptions(int argc, char *argv[]) {
+ }
+ } else if (strcmp(argv[i], "-version") == 0) {
+ fprintf(stdout, "\nSWIG Version %s\n", Swig_package_version());
+- fprintf(stdout, "\nCompiled with %s [%s]\n", SWIG_CXX, SWIG_PLATFORM);
+ fprintf(stdout, "\nConfigured options: %cpcre\n",
+ #ifdef HAVE_PCRE
+ '+'
diff --git a/meta/recipes-devtools/swig/swig/swig-3.0.12-Coverity-fix-issue-reported-for-SWIG_Python_FixMetho.patch b/meta/recipes-devtools/swig/swig/swig-3.0.12-Coverity-fix-issue-reported-for-SWIG_Python_FixMetho.patch
deleted file mode 100644
index 10e4afd1ba..0000000000
--- a/meta/recipes-devtools/swig/swig/swig-3.0.12-Coverity-fix-issue-reported-for-SWIG_Python_FixMetho.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From 9825fcbab5c4ddd867432f9922bebfbec7b78af0 Mon Sep 17 00:00:00 2001
-From: Mark Dufour <m.dufour@kopano.com>
-Date: Tue, 14 Feb 2017 10:34:37 +0100
-Subject: [PATCH] [Coverity] fix issue reported for SWIG_Python_FixMethods
-
-Fix Coverity issue reported for SWIG_Python_FixMethods:
-
-"buffer_size: Calling strncpy with a source string whose length
-(10 chars) is greater than or equal to the size argument (10)
-will fail to null-terminate buff."
-
-The issue is only reported for the "swig_ptr: " line, but for
-consistency we replace both occurrences of strncpy with memcpy.
----
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
-Upstream-Status: Backport [https://github.com/swig/swig/pull/898]
-
- Lib/python/pyinit.swg | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-Index: swig-3.0.12/Lib/python/pyinit.swg
-===================================================================
---- swig-3.0.12.orig/Lib/python/pyinit.swg
-+++ swig-3.0.12/Lib/python/pyinit.swg
-@@ -306,9 +306,9 @@ SWIG_Python_FixMethods(PyMethodDef *meth
- char *ndoc = (char*)malloc(ldoc + lptr + 10);
- if (ndoc) {
- char *buff = ndoc;
-- strncpy(buff, methods[i].ml_doc, ldoc);
-+ memcpy(buff, methods[i].ml_doc, ldoc);
- buff += ldoc;
-- strncpy(buff, "swig_ptr: ", 10);
-+ memcpy(buff, "swig_ptr: ", 10);
- buff += 10;
- SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
- methods[i].ml_doc = ndoc;
diff --git a/meta/recipes-devtools/swig/swig_3.0.12.bb b/meta/recipes-devtools/swig/swig_3.0.12.bb
deleted file mode 100644
index 45026c9700..0000000000
--- a/meta/recipes-devtools/swig/swig_3.0.12.bb
+++ /dev/null
@@ -1,12 +0,0 @@
-require ${BPN}.inc
-
-SRC_URI += "file://0001-Use-proc-self-exe-for-swig-swiglib-on-non-Win32-plat.patch \
- file://0001-configure-use-pkg-config-for-pcre-detection.patch \
- file://0001-Add-Node-7.x-aka-V8-5.2-support.patch \
- file://swig-3.0.12-Coverity-fix-issue-reported-for-SWIG_Python_FixMetho.patch \
- file://Python-Fix-new-GCC8-warnings-in-generated-code.patch \
- file://0001-Fix-generated-code-for-constant-expressions-containi.patch \
- "
-SRC_URI[md5sum] = "82133dfa7bba75ff9ad98a7046be687c"
-SRC_URI[sha256sum] = "7cf9f447ae7ed1c51722efc45e7f14418d15d7a1e143ac9f09a668999f4fc94d"
-
diff --git a/meta/recipes-devtools/swig/swig_4.2.1.bb b/meta/recipes-devtools/swig/swig_4.2.1.bb
new file mode 100644
index 0000000000..b564be9b36
--- /dev/null
+++ b/meta/recipes-devtools/swig/swig_4.2.1.bb
@@ -0,0 +1,45 @@
+SUMMARY = "SWIG - Simplified Wrapper and Interface Generator"
+DESCRIPTION = "SWIG is a compiler that makes it easy to integrate C and C++ \
+code with other languages including Perl, Tcl, Ruby, Python, Java, Guile, \
+Mzscheme, Chicken, OCaml, Pike, and C#."
+HOMEPAGE = "http://swig.sourceforge.net/"
+LICENSE = "BSD-3-Clause & GPL-3.0-only"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=e7807a6282784a7dde4c846626b08fc6 \
+ file://LICENSE-GPL;md5=d32239bcb673463ab874e80d47fae504 \
+ file://LICENSE-UNIVERSITIES;md5=8ce9dcc8f7c994de4a408b205c72ba08"
+
+SECTION = "devel"
+
+DEPENDS = "libpcre2 bison-native"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz \
+ file://determinism.patch \
+ "
+SRC_URI[sha256sum] = "fa045354e2d048b2cddc69579e4256245d4676894858fcf0bab2290ecf59b7d8"
+UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/swig/files/swig/"
+UPSTREAM_CHECK_REGEX = "swig-(?P<pver>\d+(\.\d+)+)"
+
+inherit cmake pkgconfig
+
+BBCLASSEXTEND = "native nativesdk"
+
+do_install:append:class-nativesdk() {
+ cd ${D}${bindir}
+ ln -s swig swig2.0
+}
+
+def swiglib_relpath(d):
+ swiglib = d.getVar('datadir') + "/" + d.getVar('BPN') + "/" + d.getVar('PV')
+ return os.path.relpath(swiglib, d.getVar('bindir'))
+
+do_install:append:class-native() {
+ create_wrapper ${D}${bindir}/swig SWIG_LIB='`dirname $''realpath`'/${@swiglib_relpath(d)}
+}
+
+PACKAGE_PREPROCESS_FUNCS += "src_package_preprocess"
+src_package_preprocess () {
+ # Trim build paths from comments and defines in generated sources to ensure reproducibility
+ sed -i -e "s,${WORKDIR},,g" \
+ -e "s,YY_YY_.*_CPARSE_PARSER_H_INCLUDED,YY_YY_CPARSE_PARSER_H_INCLUDED,g" \
+ ${B}/Source/CParse/parser.*
+}
diff --git a/meta/recipes-devtools/syslinux/syslinux/0001-linux-syslinux-support-ext2-3-4-device.patch b/meta/recipes-devtools/syslinux/syslinux/0001-linux-syslinux-support-ext2-3-4-device.patch
index 47a8dac10e..1a4a4e3755 100644
--- a/meta/recipes-devtools/syslinux/syslinux/0001-linux-syslinux-support-ext2-3-4-device.patch
+++ b/meta/recipes-devtools/syslinux/syslinux/0001-linux-syslinux-support-ext2-3-4-device.patch
@@ -1,7 +1,7 @@
-From 60f3833ab2b5899771b4eab654e88f9888b99501 Mon Sep 17 00:00:00 2001
+From a469ce05055c44fdca1ca094ff3a735cc059480d Mon Sep 17 00:00:00 2001
From: Robert Yang <liezhi.yang@windriver.com>
Date: Wed, 31 Dec 2014 16:01:55 +0800
-Subject: [PATCH 1/9] linux/syslinux: support ext2/3/4 device
+Subject: [PATCH] linux/syslinux: support ext2/3/4 device
* Support ext2/3/4 deivce.
* The open_ext2_fs() checks whether it is an ext2/3/4 device,
@@ -19,10 +19,10 @@ Tested-by: Du Dolpher <dolpher.du@intel.com>
1 file changed, 36 insertions(+)
diff --git a/linux/syslinux.c b/linux/syslinux.c
-index 912de71..36fc202 100755
+index 46d5624..1cc276b 100755
--- a/linux/syslinux.c
+++ b/linux/syslinux.c
-@@ -256,6 +256,23 @@ int do_open_file(char *name)
+@@ -257,6 +257,23 @@ int do_open_file(char *name)
return fd;
}
@@ -46,7 +46,7 @@ index 912de71..36fc202 100755
int main(int argc, char *argv[])
{
static unsigned char sectbuf[SECTOR_SIZE];
-@@ -313,6 +330,24 @@ int main(int argc, char *argv[])
+@@ -314,6 +331,24 @@ int main(int argc, char *argv[])
die("can't combine an offset with a block device");
}
@@ -71,7 +71,7 @@ index 912de71..36fc202 100755
xpread(dev_fd, sectbuf, SECTOR_SIZE, opt.offset);
fsync(dev_fd);
-@@ -322,6 +357,7 @@ int main(int argc, char *argv[])
+@@ -323,6 +358,7 @@ int main(int argc, char *argv[])
*/
if ((errmsg = syslinux_check_bootsect(sectbuf, &fs_type))) {
fprintf(stderr, "%s: %s\n", opt.device, errmsg);
@@ -79,6 +79,3 @@ index 912de71..36fc202 100755
exit(1);
}
---
-1.9.1
-
diff --git a/meta/recipes-devtools/syslinux/syslinux/0002-linux-syslinux-implement-open_ext2_fs.patch b/meta/recipes-devtools/syslinux/syslinux/0002-linux-syslinux-implement-open_ext2_fs.patch
index 77cf060451..1acd9b0b69 100644
--- a/meta/recipes-devtools/syslinux/syslinux/0002-linux-syslinux-implement-open_ext2_fs.patch
+++ b/meta/recipes-devtools/syslinux/syslinux/0002-linux-syslinux-implement-open_ext2_fs.patch
@@ -1,7 +1,7 @@
-From 07fb737fb60c08eaaa41989d531fc23009523546 Mon Sep 17 00:00:00 2001
+From c6ddb179577dd4c4ea4d1d154f979e90e53d6bf1 Mon Sep 17 00:00:00 2001
From: Robert Yang <liezhi.yang@windriver.com>
Date: Wed, 31 Dec 2014 16:09:18 +0800
-Subject: [PATCH 2/9] linux/syslinux: implement open_ext2_fs()
+Subject: [PATCH] linux/syslinux: implement open_ext2_fs()
The open_ext2_fs() checks whether it is an ext2/ext3/ext4 device, and
return:
@@ -15,14 +15,14 @@ Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Tested-by: Du Dolpher <dolpher.du@intel.com>
---
linux/Makefile | 2 +-
- linux/syslinux.c | 80 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ linux/syslinux.c | 80 ++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 81 insertions(+), 1 deletion(-)
diff --git a/linux/Makefile b/linux/Makefile
-index 11667e1..ac1ac58 100644
+index 5a49d81..67cbbb4 100644
--- a/linux/Makefile
+++ b/linux/Makefile
-@@ -51,7 +51,7 @@ spotless: clean
+@@ -52,7 +52,7 @@ spotless: clean
installer: syslinux syslinux-nomtools
syslinux: $(OBJS)
@@ -32,10 +32,10 @@ index 11667e1..ac1ac58 100644
syslinux-nomtools: syslinux
ln -f $< $@
diff --git a/linux/syslinux.c b/linux/syslinux.c
-index 36fc202..cc4e7da 100755
+index 1cc276b..f3727ea 100755
--- a/linux/syslinux.c
+++ b/linux/syslinux.c
-@@ -72,6 +72,7 @@
+@@ -73,6 +73,7 @@
#include "syslxfs.h"
#include "setadv.h"
#include "syslxopt.h" /* unified options */
@@ -43,7 +43,7 @@ index 36fc202..cc4e7da 100755
extern const char *program; /* Name of program */
-@@ -82,6 +83,9 @@ char *mntpath = NULL; /* Path on which to mount */
+@@ -83,6 +84,9 @@ char *mntpath = NULL; /* Path on which to mount */
int loop_fd = -1; /* Loop device */
#endif
@@ -53,7 +53,7 @@ index 36fc202..cc4e7da 100755
void __attribute__ ((noreturn)) die(const char *msg)
{
fprintf(stderr, "%s: %s\n", program, msg);
-@@ -266,6 +270,82 @@ int do_open_file(char *name)
+@@ -267,6 +271,82 @@ int do_open_file(char *name)
*/
static int open_ext2_fs(const char *device, const char *subdir)
{
@@ -136,6 +136,3 @@ index 36fc202..cc4e7da 100755
}
/* The install func for ext2, ext3 and ext4 */
---
-1.9.1
-
diff --git a/meta/recipes-devtools/syslinux/syslinux/0003-linux-syslinux-implement-install_to_ext2.patch b/meta/recipes-devtools/syslinux/syslinux/0003-linux-syslinux-implement-install_to_ext2.patch
index 84ba10526a..8d2fef2d49 100644
--- a/meta/recipes-devtools/syslinux/syslinux/0003-linux-syslinux-implement-install_to_ext2.patch
+++ b/meta/recipes-devtools/syslinux/syslinux/0003-linux-syslinux-implement-install_to_ext2.patch
@@ -1,7 +1,7 @@
-From 64d856b243812907068776b204a003a3a8fa122a Mon Sep 17 00:00:00 2001
+From 9110cf47d04ca1958d14228908a5c57a23769e7d Mon Sep 17 00:00:00 2001
From: Robert Yang <liezhi.yang@windriver.com>
Date: Wed, 31 Dec 2014 16:17:42 +0800
-Subject: [PATCH 3/9] linux/syslinux: implement install_to_ext2()
+Subject: [PATCH] linux/syslinux: implement install_to_ext2()
* The handle_adv_on_ext() checks whether we only need update adv.
* The write_to_ext() installs files (ldlinux.sys or ldlinux.c32) to the
@@ -13,14 +13,14 @@ Upstream-Status: Submitted
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Tested-by: Du Dolpher <dolpher.du@intel.com>
---
- linux/syslinux.c | 79 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ linux/syslinux.c | 79 ++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 79 insertions(+)
diff --git a/linux/syslinux.c b/linux/syslinux.c
-index cc4e7da..45f080d 100755
+index f3727ea..fc5edb1 100755
--- a/linux/syslinux.c
+++ b/linux/syslinux.c
-@@ -346,11 +346,90 @@ static int open_ext2_fs(const char *device, const char *subdir)
+@@ -347,11 +347,90 @@ static int open_ext2_fs(const char *device, const char *subdir)
fail:
(void) ext2fs_close(e2fs);
return -1;
@@ -111,6 +111,3 @@ index cc4e7da..45f080d 100755
}
int main(int argc, char *argv[])
---
-1.9.1
-
diff --git a/meta/recipes-devtools/syslinux/syslinux/0004-linux-syslinux-add-ext_file_read-and-ext_file_write.patch b/meta/recipes-devtools/syslinux/syslinux/0004-linux-syslinux-add-ext_file_read-and-ext_file_write.patch
index 64b56d92e0..0a32969154 100644
--- a/meta/recipes-devtools/syslinux/syslinux/0004-linux-syslinux-add-ext_file_read-and-ext_file_write.patch
+++ b/meta/recipes-devtools/syslinux/syslinux/0004-linux-syslinux-add-ext_file_read-and-ext_file_write.patch
@@ -1,7 +1,7 @@
-From 35d3842cc4b930c5102eed2921e0189b7f4fd069 Mon Sep 17 00:00:00 2001
+From 1957fc6c069493c6789557936adb675f5e7e51ba Mon Sep 17 00:00:00 2001
From: Robert Yang <liezhi.yang@windriver.com>
Date: Wed, 31 Dec 2014 16:43:37 +0800
-Subject: [PATCH 4/9] linux/syslinux: add ext_file_read() and ext_file_write()
+Subject: [PATCH] linux/syslinux: add ext_file_read() and ext_file_write()
Will use them to read and write on the extX device.
@@ -10,14 +10,14 @@ Upstream-Status: Submitted
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Tested-by: Du Dolpher <dolpher.du@intel.com>
---
- linux/syslinux.c | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ linux/syslinux.c | 62 ++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 62 insertions(+)
diff --git a/linux/syslinux.c b/linux/syslinux.c
-index 45f080d..247c86a 100755
+index fc5edb1..c7c1994 100755
--- a/linux/syslinux.c
+++ b/linux/syslinux.c
-@@ -349,6 +349,68 @@ fail:
+@@ -350,6 +350,68 @@ fail:
}
@@ -86,6 +86,3 @@ index 45f080d..247c86a 100755
/*
* Install the boot block on the specified device.
* Must be run AFTER file installed.
---
-1.9.1
-
diff --git a/meta/recipes-devtools/syslinux/syslinux/0005-linux-syslinux-implement-handle_adv_on_ext.patch b/meta/recipes-devtools/syslinux/syslinux/0005-linux-syslinux-implement-handle_adv_on_ext.patch
index 829e7c4ca1..76885f762b 100644
--- a/meta/recipes-devtools/syslinux/syslinux/0005-linux-syslinux-implement-handle_adv_on_ext.patch
+++ b/meta/recipes-devtools/syslinux/syslinux/0005-linux-syslinux-implement-handle_adv_on_ext.patch
@@ -1,7 +1,7 @@
-From cdb980b37f40dc2c41891434c7736e49da53756e Mon Sep 17 00:00:00 2001
+From ee3a60829edc9d3344dc872fb0158e7b006f02be Mon Sep 17 00:00:00 2001
From: Robert Yang <liezhi.yang@windriver.com>
Date: Wed, 31 Dec 2014 16:47:52 +0800
-Subject: [PATCH 5/9] linux/syslinux: implement handle_adv_on_ext()
+Subject: [PATCH] linux/syslinux: implement handle_adv_on_ext()
It reads adv if found on the device, or resets syslinux_adv, or update
the adv if update adv only.
@@ -11,14 +11,14 @@ Upstream-Status: Submitted
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Tested-by: Du Dolpher <dolpher.du@intel.com>
---
- linux/syslinux.c | 97 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ linux/syslinux.c | 97 ++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 97 insertions(+)
diff --git a/linux/syslinux.c b/linux/syslinux.c
-index 247c86a..de5d272 100755
+index c7c1994..90b8edd 100755
--- a/linux/syslinux.c
+++ b/linux/syslinux.c
-@@ -421,6 +421,103 @@ int install_bootblock(int fd, const char *device)
+@@ -422,6 +422,103 @@ int install_bootblock(int fd, const char *device)
static int handle_adv_on_ext(void)
{
@@ -122,6 +122,3 @@ index 247c86a..de5d272 100755
}
/* Write files, adv, boot sector */
---
-1.9.1
-
diff --git a/meta/recipes-devtools/syslinux/syslinux/0006-linux-syslinux-implement-write_to_ext-and-add-syslin.patch b/meta/recipes-devtools/syslinux/syslinux/0006-linux-syslinux-implement-write_to_ext-and-add-syslin.patch
index cba87252a5..ba6d29d3bb 100644
--- a/meta/recipes-devtools/syslinux/syslinux/0006-linux-syslinux-implement-write_to_ext-and-add-syslin.patch
+++ b/meta/recipes-devtools/syslinux/syslinux/0006-linux-syslinux-implement-write_to_ext-and-add-syslin.patch
@@ -1,7 +1,7 @@
-From 922e56c10e36d876777580c84daef9a66bea6525 Mon Sep 17 00:00:00 2001
+From 758731ce2432ab29a73505bbeb99a960996ab686 Mon Sep 17 00:00:00 2001
From: Robert Yang <liezhi.yang@windriver.com>
Date: Wed, 31 Dec 2014 17:20:43 +0800
-Subject: [PATCH 6/9] linux/syslinux: implement write_to_ext() and add
+Subject: [PATCH] linux/syslinux: implement write_to_ext() and add
syslinuxext.c
* The write_to_ext() write file to the extX device, and handle the boot
@@ -17,7 +17,7 @@ Tested-by: Du Dolpher <dolpher.du@intel.com>
libinstaller/syslinuxext.c | 7 +++
libinstaller/syslinuxext.h | 5 ++
linux/Makefile | 3 +-
- linux/syslinux.c | 118 +++++++++++++++++++++++++++++++++++++++++++++
+ linux/syslinux.c | 118 +++++++++++++++++++++++++++++++++++++
4 files changed, 132 insertions(+), 1 deletion(-)
create mode 100644 libinstaller/syslinuxext.c
create mode 100644 libinstaller/syslinuxext.h
@@ -47,10 +47,10 @@ index 0000000..8abd8b9
+
+void syslinux_patch_bootsect(int dev_fd);
diff --git a/linux/Makefile b/linux/Makefile
-index ac1ac58..3b23867 100644
+index 67cbbb4..567134c 100644
--- a/linux/Makefile
+++ b/linux/Makefile
-@@ -30,7 +30,8 @@ SRCS = syslinux.c \
+@@ -31,7 +31,8 @@ SRCS = syslinux.c \
../libinstaller/syslxmod.c \
../libinstaller/bootsect_bin.c \
../libinstaller/ldlinuxc32_bin.c \
@@ -61,7 +61,7 @@ index ac1ac58..3b23867 100644
.SUFFIXES: .c .o .i .s .S
diff --git a/linux/syslinux.c b/linux/syslinux.c
-index de5d272..f0c97a8 100755
+index 90b8edd..7a20fe6 100755
--- a/linux/syslinux.c
+++ b/linux/syslinux.c
@@ -46,6 +46,7 @@
@@ -72,7 +72,7 @@ index de5d272..f0c97a8 100755
#include "linuxioctl.h"
-@@ -72,6 +73,7 @@
+@@ -73,6 +74,7 @@
#include "syslxfs.h"
#include "setadv.h"
#include "syslxopt.h" /* unified options */
@@ -80,7 +80,7 @@ index de5d272..f0c97a8 100755
#include <ext2fs/ext2fs.h>
extern const char *program; /* Name of program */
-@@ -419,6 +421,12 @@ int install_bootblock(int fd, const char *device)
+@@ -420,6 +422,12 @@ int install_bootblock(int fd, const char *device)
{
}
@@ -93,7 +93,7 @@ index de5d272..f0c97a8 100755
static int handle_adv_on_ext(void)
{
int i, retval, found_file;
-@@ -524,6 +532,116 @@ fail:
+@@ -525,6 +533,116 @@ fail:
static int write_to_ext(const char *filename, const char *str, int length,
int i_flags, int dev_fd, const char *subdir)
{
@@ -210,6 +210,3 @@ index de5d272..f0c97a8 100755
}
/* The install func for ext2, ext3 and ext4 */
---
-1.9.1
-
diff --git a/meta/recipes-devtools/syslinux/syslinux/0007-linux-syslinux-implement-ext_construct_sectmap_fs.patch b/meta/recipes-devtools/syslinux/syslinux/0007-linux-syslinux-implement-ext_construct_sectmap_fs.patch
index 3913811917..57cdaf437b 100644
--- a/meta/recipes-devtools/syslinux/syslinux/0007-linux-syslinux-implement-ext_construct_sectmap_fs.patch
+++ b/meta/recipes-devtools/syslinux/syslinux/0007-linux-syslinux-implement-ext_construct_sectmap_fs.patch
@@ -1,7 +1,7 @@
-From a95b831e18dd123f859bc5e6c4cecdcc0184ee37 Mon Sep 17 00:00:00 2001
+From 906205015601d5d1190e7326f51ea4316a74a479 Mon Sep 17 00:00:00 2001
From: Robert Yang <liezhi.yang@windriver.com>
Date: Fri, 2 Jan 2015 12:18:02 +0800
-Subject: [PATCH 7/9] linux/syslinux: implement ext_construct_sectmap_fs()
+Subject: [PATCH] linux/syslinux: implement ext_construct_sectmap_fs()
The ext_construct_sectmap_fs() constucts the sector according to the
bmap.
@@ -11,14 +11,14 @@ Upstream-Status: Submitted
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Tested-by: Du Dolpher <dolpher.du@intel.com>
---
- linux/syslinux.c | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
+ linux/syslinux.c | 50 ++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)
diff --git a/linux/syslinux.c b/linux/syslinux.c
-index f0c97a8..c741750 100755
+index 7a20fe6..4e43921 100755
--- a/linux/syslinux.c
+++ b/linux/syslinux.c
-@@ -421,10 +421,60 @@ int install_bootblock(int fd, const char *device)
+@@ -422,10 +422,60 @@ int install_bootblock(int fd, const char *device)
{
}
@@ -79,6 +79,3 @@ index f0c97a8..c741750 100755
}
static int handle_adv_on_ext(void)
---
-1.9.1
-
diff --git a/meta/recipes-devtools/syslinux/syslinux/0008-libinstaller-syslinuxext-implement-syslinux_patch_bo.patch b/meta/recipes-devtools/syslinux/syslinux/0008-libinstaller-syslinuxext-implement-syslinux_patch_bo.patch
index f1d01fa43c..b026eba5ad 100644
--- a/meta/recipes-devtools/syslinux/syslinux/0008-libinstaller-syslinuxext-implement-syslinux_patch_bo.patch
+++ b/meta/recipes-devtools/syslinux/syslinux/0008-libinstaller-syslinuxext-implement-syslinux_patch_bo.patch
@@ -1,4 +1,4 @@
-From efce87e5ab98664c57e5f4e3955a2f3747df5737 Mon Sep 17 00:00:00 2001
+From acfc8214d3d60b7e251ae66a59b81cdd1ff7a6dc Mon Sep 17 00:00:00 2001
From: Robert Yang <liezhi.yang@windriver.com>
Date: Fri, 2 Jan 2015 12:26:46 +0800
Subject: [PATCH] libinstaller/syslinuxext: implement syslinux_patch_bootsect()
@@ -22,7 +22,7 @@ Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
3 files changed, 176 insertions(+), 165 deletions(-)
diff --git a/extlinux/Makefile b/extlinux/Makefile
-index 1721ee54..62a49728 100644
+index 1721ee5..62a4972 100644
--- a/extlinux/Makefile
+++ b/extlinux/Makefile
@@ -32,7 +32,8 @@ SRCS = main.c \
@@ -36,7 +36,7 @@ index 1721ee54..62a49728 100644
.SUFFIXES: .c .o .i .s .S
diff --git a/extlinux/main.c b/extlinux/main.c
-index ebff7eae..9add50fb 100644
+index ebff7ea..9add50f 100644
--- a/extlinux/main.c
+++ b/extlinux/main.c
@@ -62,6 +62,7 @@
@@ -244,7 +244,7 @@ index ebff7eae..9add50fb 100644
/* Construct the boot file map */
diff --git a/libinstaller/syslinuxext.c b/libinstaller/syslinuxext.c
-index bb54cefc..9ae82884 100644
+index bb54cef..9ae8288 100644
--- a/libinstaller/syslinuxext.c
+++ b/libinstaller/syslinuxext.c
@@ -1,7 +1,178 @@
@@ -426,6 +426,3 @@ index bb54cefc..9ae82884 100644
+ set_32(&sbs->bsHiddenSecs, geo.start);
}
---
-2.17.1
-
diff --git a/meta/recipes-devtools/syslinux/syslinux/0009-linux-syslinux-implement-install_bootblock.patch b/meta/recipes-devtools/syslinux/syslinux/0009-linux-syslinux-implement-install_bootblock.patch
index cd89d92485..1c875e81f6 100644
--- a/meta/recipes-devtools/syslinux/syslinux/0009-linux-syslinux-implement-install_bootblock.patch
+++ b/meta/recipes-devtools/syslinux/syslinux/0009-linux-syslinux-implement-install_bootblock.patch
@@ -1,7 +1,7 @@
-From 76c465e87312dbc6cffd05427f1f4d2ebdee4f13 Mon Sep 17 00:00:00 2001
+From c28aae8bd381f77e66e6bac79761df7a484b054c Mon Sep 17 00:00:00 2001
From: Robert Yang <liezhi.yang@windriver.com>
Date: Fri, 2 Jan 2015 12:28:35 +0800
-Subject: [PATCH 9/9] linux/syslinux: implement install_bootblock()
+Subject: [PATCH] linux/syslinux: implement install_bootblock()
Refer to the install_bootblock() in extlinux/main.c to make
linux/syslinux.c's install_bootblock() which only supports ext2/3/4.
@@ -15,10 +15,10 @@ Tested-by: Du Dolpher <dolpher.du@intel.com>
1 file changed, 20 insertions(+)
diff --git a/linux/syslinux.c b/linux/syslinux.c
-index c741750..917f83a 100755
+index 4e43921..93ed880 100755
--- a/linux/syslinux.c
+++ b/linux/syslinux.c
-@@ -419,6 +419,26 @@ static int ext_file_write(ext2_file_t e2_file, const void *buf, size_t count,
+@@ -420,6 +420,26 @@ static int ext_file_write(ext2_file_t e2_file, const void *buf, size_t count,
*/
int install_bootblock(int fd, const char *device)
{
@@ -45,6 +45,3 @@ index c741750..917f83a 100755
}
/* The file's block count */
---
-1.9.1
-
diff --git a/meta/recipes-devtools/syslinux/syslinux/0010-Workaround-multiple-definition-of-symbol-errors.patch b/meta/recipes-devtools/syslinux/syslinux/0010-Workaround-multiple-definition-of-symbol-errors.patch
index 44cb153276..813d10ba5c 100644
--- a/meta/recipes-devtools/syslinux/syslinux/0010-Workaround-multiple-definition-of-symbol-errors.patch
+++ b/meta/recipes-devtools/syslinux/syslinux/0010-Workaround-multiple-definition-of-symbol-errors.patch
@@ -1,13 +1,12 @@
-From 951928f2cad5682c2844e6bd0f7201236c5d9b66 Mon Sep 17 00:00:00 2001
+From f2a5b64785958226c022cac9931b059b98f4e896 Mon Sep 17 00:00:00 2001
From: Merlin Mathesius <mmathesi@redhat.com>
Date: Wed, 13 May 2020 08:02:27 -0500
Subject: [PATCH] Workaround multiple definition of symbol errors
Lifted from Fedora https://src.fedoraproject.org/rpms/syslinux/blob/master/f/0005-Workaround-multiple-definition-of-symbol-errors.patch
-Upstream-Status: Pending
+Upstream-Status: Inactive-Upstream
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-
---
com32/cmenu/Makefile | 2 +-
com32/elflink/ldlinux/Makefile | 2 +-
@@ -18,6 +17,8 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
efi/Makefile | 2 +-
7 files changed, 7 insertions(+), 7 deletions(-)
+diff --git a/com32/cmenu/Makefile b/com32/cmenu/Makefile
+index b81b68e..2ae989c 100644
--- a/com32/cmenu/Makefile
+++ b/com32/cmenu/Makefile
@@ -49,7 +49,7 @@ makeoutputdirs:
@@ -29,6 +30,8 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
-o $@ $^
tidy dist:
+diff --git a/com32/elflink/ldlinux/Makefile b/com32/elflink/ldlinux/Makefile
+index 87c0d36..2be2a01 100644
--- a/com32/elflink/ldlinux/Makefile
+++ b/com32/elflink/ldlinux/Makefile
@@ -33,7 +33,7 @@ endif
@@ -40,6 +43,8 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
LNXCFLAGS += -D__export='__attribute__((visibility("default")))'
LNXLIBOBJS = get_key.lo
+diff --git a/com32/gpllib/Makefile b/com32/gpllib/Makefile
+index 1fec914..2d764d0 100644
--- a/com32/gpllib/Makefile
+++ b/com32/gpllib/Makefile
@@ -24,7 +24,7 @@ makeoutputdirs:
@@ -51,6 +56,8 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
tidy dist clean:
find . \( -name \*.o -o -name .\*.d -o -name \*.tmp \) -print0 | \
+diff --git a/com32/hdt/Makefile b/com32/hdt/Makefile
+index 61736d0..1d94785 100644
--- a/com32/hdt/Makefile
+++ b/com32/hdt/Makefile
@@ -52,7 +52,7 @@ QEMU ?= qemu-kvm
@@ -62,6 +69,8 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
memtest:
-[ ! -f $(FLOPPY_DIR)/$(MEMTEST) ] && $(WGET) $(MEMTEST_URL) -O $(FLOPPY_DIR)/$(MEMTEST)
+diff --git a/core/Makefile b/core/Makefile
+index 50ff35a..f0a5562 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -156,7 +156,7 @@ LDSCRIPT = $(SRC)/$(ARCH)/syslinux.ld
@@ -73,6 +82,8 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
-T $(LDSCRIPT) \
--unresolved-symbols=report-all \
-E --hash-style=gnu -M -o $@ $< \
+diff --git a/dos/Makefile b/dos/Makefile
+index 4c930d1..5d1c72c 100644
--- a/dos/Makefile
+++ b/dos/Makefile
@@ -19,7 +19,7 @@ include $(MAKEDIR)/embedded.mk
@@ -84,6 +95,8 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
OPTFLAGS = -g
INCLUDES = -include code16.h -nostdinc -iwithprefix include \
-I$(SRC) -I$(SRC)/.. -I$(SRC)/../libfat \
+diff --git a/efi/Makefile b/efi/Makefile
+index f4501e7..72e081e 100644
--- a/efi/Makefile
+++ b/efi/Makefile
@@ -71,7 +71,7 @@ $(OBJS): | $(OBJ)/$(ARCH)
diff --git a/meta/recipes-devtools/syslinux/syslinux/0001-install-don-t-install-obsolete-file-com32.ld.patch b/meta/recipes-devtools/syslinux/syslinux/0011-install-don-t-install-obsolete-file-com32.ld.patch
index bfd7f41b13..4bc423a1de 100644
--- a/meta/recipes-devtools/syslinux/syslinux/0001-install-don-t-install-obsolete-file-com32.ld.patch
+++ b/meta/recipes-devtools/syslinux/syslinux/0011-install-don-t-install-obsolete-file-com32.ld.patch
@@ -1,4 +1,4 @@
-From bf6db5b48ec25f83939f1fdebb59028bc3c40b00 Mon Sep 17 00:00:00 2001
+From 66447f7c5c6996481ebd68ce8224d3de7525aad8 Mon Sep 17 00:00:00 2001
From: "H. Peter Anvin (Intel)" <hpa@zytor.com>
Date: Wed, 6 Feb 2019 11:30:51 -0800
Subject: [PATCH] install: don't install obsolete file com32.ld
@@ -16,7 +16,7 @@ Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
1 file changed, 1 deletion(-)
diff --git a/com32/lib/Makefile b/com32/lib/Makefile
-index 74fff149..6a931492 100644
+index 74fff14..6a93149 100644
--- a/com32/lib/Makefile
+++ b/com32/lib/Makefile
@@ -113,7 +113,6 @@ spotless: clean
@@ -27,6 +27,3 @@ index 74fff149..6a931492 100644
-rm -rf $(INSTALLROOT)$(COM32DIR)/include
cp -r $(SRC)/../include $(INSTALLROOT)$(COM32DIR)
---
-2.17.1
-
diff --git a/meta/recipes-devtools/syslinux/syslinux/0012-libinstaller-Fix-build-with-glibc-2.36.patch b/meta/recipes-devtools/syslinux/syslinux/0012-libinstaller-Fix-build-with-glibc-2.36.patch
new file mode 100644
index 0000000000..21b83e49dc
--- /dev/null
+++ b/meta/recipes-devtools/syslinux/syslinux/0012-libinstaller-Fix-build-with-glibc-2.36.patch
@@ -0,0 +1,56 @@
+From 821d31148c07a8318277be32bc6a943c7fd2ba3f Mon Sep 17 00:00:00 2001
+From: Martin Jansa <Martin.Jansa@gmail.com>
+Date: Sat, 6 Aug 2022 11:53:55 +0000
+Subject: [PATCH] libinstaller: Fix build with glibc-2.36
+
+* add only necessary definitions from linux/fs.h, because including whole
+ causes conflicts with sys/mount.h:
+ http://errors.yoctoproject.org/Errors/Details/664535/
+
+In file included from TOPDIR/tmp-glibc/work/core2-64-oe-linux/syslinux/6.04-pre2-r1/recipe-sysroot/usr/include/linux/fs.h:19,
+ from TOPDIR/tmp-glibc/work/core2-64-oe-linux/syslinux/6.04-pre2-r1/syslinux-6.04-pre2/linux/../libinstaller/linuxioctl.h:19,
+ from TOPDIR/tmp-glibc/work/core2-64-oe-linux/syslinux/6.04-pre2-r1/syslinux-6.04-pre2/linux/../libinstaller/syslxcom.c:34:
+TOPDIR/tmp-glibc/work/core2-64-oe-linux/syslinux/6.04-pre2-r1/recipe-sysroot/usr/include/linux/mount.h:95:6: error: redeclaration of 'enum fsconfig_command'
+ 95 | enum fsconfig_command {
+ | ^~~~~~~~~~~~~~~~
+In file included from TOPDIR/tmp-glibc/work/core2-64-oe-linux/syslinux/6.04-pre2-r1/syslinux-6.04-pre2/linux/../libinstaller/syslxcom.c:31:
+TOPDIR/tmp-glibc/work/core2-64-oe-linux/syslinux/6.04-pre2-r1/recipe-sysroot/usr/include/sys/mount.h:189:6: note: originally defined here
+ 189 | enum fsconfig_command
+ | ^~~~~~~~~~~~~~~~
+TOPDIR/tmp-glibc/work/core2-64-oe-linux/syslinux/6.04-pre2-r1/recipe-sysroot/usr/include/linux/mount.h:96:9: error: redeclaration of enumerator 'FSCONFIG_SET_FLAG'
+ 96 | FSCONFIG_SET_FLAG = 0, /* Set parameter, supplying no value */
+ | ^~~~~~~~~~~~~~~~~
+...
+
+Upstream-Status: Inactive-Upstream
+Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
+---
+ libinstaller/linuxioctl.h | 15 ++++++++++++++-
+ 1 file changed, 14 insertions(+), 1 deletion(-)
+
+diff --git a/libinstaller/linuxioctl.h b/libinstaller/linuxioctl.h
+index e2731c7..f4a6703 100644
+--- a/libinstaller/linuxioctl.h
++++ b/libinstaller/linuxioctl.h
+@@ -16,7 +16,20 @@
+ #include <linux/fd.h> /* Floppy geometry */
+ #include <linux/hdreg.h> /* Hard disk geometry */
+
+-#include <linux/fs.h> /* FIGETBSZ, FIBMAP, FS_IOC_* */
++// #include <linux/fs.h> /* FIGETBSZ, FIBMAP, FS_IOC_* */
++// linux/fs.h unfortunately causes conflict with sys/mount.h since glibc-2.36
++// https://sourceware.org/glibc/wiki/Release/2.36#Usage_of_.3Clinux.2Fmount.h.3E_and_.3Csys.2Fmount.h.3E
++// add the necessary definitions
++
++#define FS_IOC_GETFLAGS _IOR('f', 1, long)
++#define FS_IOC_SETFLAGS _IOW('f', 2, long)
++#define FIBMAP _IO(0x00,1) /* bmap access */
++#define FIGETBSZ _IO(0x00,2) /* get the block size used for bmap */
++#define FS_IMMUTABLE_FL 0x00000010 /* Immutable file */
++#define BLKGETSIZE _IO(0x12,96) /* return device size /512 (long *arg) */
++
++// for musl we also need limits.h for PATH_MAX
++#include <linux/limits.h>
+
+ #undef SECTOR_SIZE /* Defined in msdos_fs.h for no good reason */
+ #undef SECTOR_BITS
diff --git a/meta/recipes-devtools/syslinux/syslinux/0013-remove-clean-script.patch b/meta/recipes-devtools/syslinux/syslinux/0013-remove-clean-script.patch
new file mode 100644
index 0000000000..c0af7eff86
--- /dev/null
+++ b/meta/recipes-devtools/syslinux/syslinux/0013-remove-clean-script.patch
@@ -0,0 +1,27 @@
+From a11c8f88de6b6c42c805ba76e70532977bfd24bf Mon Sep 17 00:00:00 2001
+From: Saul Wold <sgw@linux.intel.com>
+Date: Wed, 10 Dec 2014 10:26:33 -0800
+Subject: [PATCH] remove clean script
+
+This script try to call git submodule, since we are downloading
+the tarball it seems in-correct to do this.
+
+Upstream-Status: Inappropriate [OE-Specific]
+Signed-off-by: Saul Wold <sgw@linux.intel.com>
+Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
+---
+ efi/Makefile | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/efi/Makefile b/efi/Makefile
+index 72e081e..3cfb3f6 100644
+--- a/efi/Makefile
++++ b/efi/Makefile
+@@ -102,7 +102,6 @@ tidy dist:
+ rm -f *.so *.o wrapper
+ find . \( -name \*.o -o -name \*.a -o -name .\*.d -o -name \*.tmp \) -print0 | \
+ xargs -0r rm -f
+- $(topdir)/efi/clean-gnu-efi.sh $(EFI_SUBARCH) $(objdir)
+
+ clean: tidy
+
diff --git a/meta/recipes-devtools/syslinux/syslinux/0014-Fix-reproducibility-issues.patch b/meta/recipes-devtools/syslinux/syslinux/0014-Fix-reproducibility-issues.patch
new file mode 100644
index 0000000000..bc48160cba
--- /dev/null
+++ b/meta/recipes-devtools/syslinux/syslinux/0014-Fix-reproducibility-issues.patch
@@ -0,0 +1,32 @@
+From e49e86bd3199f51ada8a4a1d51aa8d627645279e Mon Sep 17 00:00:00 2001
+From: Richard Purdie <richard.purdie@linuxfoundation.org>
+Date: Sat, 27 Feb 2021 23:42:03 +0000
+Subject: [PATCH] Fix reproducibility issues
+
+In order to build deterministic binaries, we need to sort the wildcard expansion
+so the libraries are linked in the same order each time. This fixes reproducibility
+issues within syslinux builds.
+
+Upstream-Status: Inactive-Upstream
+RP 2021/3/1
+
+Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
+---
+ mk/lib.mk | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/mk/lib.mk b/mk/lib.mk
+index f3fb07c..815698c 100644
+--- a/mk/lib.mk
++++ b/mk/lib.mk
+@@ -130,8 +130,8 @@ LIBENTRY_OBJS = \
+ exit.o
+
+ LIBGCC_OBJS = \
+- $(patsubst $(com32)/lib/%.c,%.o,$(wildcard $(com32)/lib/$(ARCH)/libgcc/*.c)) \
+- $(patsubst $(com32)/lib/%.S,%.o,$(wildcard $(com32)/lib/$(ARCH)/libgcc/*.S))
++ $(sort $(patsubst $(com32)/lib/%.c,%.o,$(wildcard $(com32)/lib/$(ARCH)/libgcc/*.c))) \
++ $(sort $(patsubst $(com32)/lib/%.S,%.o,$(wildcard $(com32)/lib/$(ARCH)/libgcc/*.S)))
+
+ LIBCONSOLE_OBJS = \
+ \
diff --git a/meta/recipes-devtools/syslinux/syslinux/syslinux-remove-clean-script.patch b/meta/recipes-devtools/syslinux/syslinux/syslinux-remove-clean-script.patch
deleted file mode 100644
index 7c003e165b..0000000000
--- a/meta/recipes-devtools/syslinux/syslinux/syslinux-remove-clean-script.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-This script try to call git submodule, since we are downloading
-the tarball it seems in-correct to do this.
-
-Upstream-Status: Inappropriate [OE-Specific]
-Signed-off-by: Saul Wold <sgw@linux.intel.com>
-Index: syslinux-6.03/efi/Makefile
-===================================================================
---- syslinux-6.03.orig/efi/Makefile
-+++ syslinux-6.03/efi/Makefile
-@@ -101,7 +101,6 @@ tidy dist:
- rm -f *.so *.o wrapper
- find . \( -name \*.o -o -name \*.a -o -name .\*.d -o -name \*.tmp \) -print0 | \
- xargs -0r rm -f
-- $(topdir)/efi/clean-gnu-efi.sh $(EFI_SUBARCH) $(objdir)
-
- clean: tidy
-
diff --git a/meta/recipes-devtools/syslinux/syslinux_6.04-pre2.bb b/meta/recipes-devtools/syslinux/syslinux_6.04-pre2.bb
index 3e7eef3a75..c8e7f25d2b 100644
--- a/meta/recipes-devtools/syslinux/syslinux_6.04-pre2.bb
+++ b/meta/recipes-devtools/syslinux/syslinux_6.04-pre2.bb
@@ -1,16 +1,13 @@
SUMMARY = "Multi-purpose linux bootloader"
HOMEPAGE = "http://www.syslinux.org/"
-LICENSE = "GPLv2+"
+DESCRIPTION = "The Syslinux Project covers lightweight bootloaders for MS-DOS FAT filesystems (SYSLINUX), network booting (PXELINUX), bootable "El Torito" CD-ROMs (ISOLINUX), and Linux ext2/ext3/ext4 or btrfs filesystems (EXTLINUX). The project also includes MEMDISK, a tool to boot legacy operating systems (such as DOS) from nontraditional media; it is usually used in conjunction with PXELINUX and ISOLINUX."
+LICENSE = "GPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \
file://README;beginline=35;endline=41;md5=558f2c71cb1fb9ba511ccd4858e48e8a"
-# If you really want to run syslinux, you need mtools. We just want the
-# ldlinux.* stuff for now, so skip mtools-native
DEPENDS = "nasm-native util-linux e2fsprogs"
-PV = "6.04-pre2"
SRC_URI = "https://www.zytor.com/pub/syslinux/Testing/6.04/syslinux-${PV}.tar.xz \
- file://syslinux-remove-clean-script.patch \
file://0001-linux-syslinux-support-ext2-3-4-device.patch \
file://0002-linux-syslinux-implement-open_ext2_fs.patch \
file://0003-linux-syslinux-implement-install_to_ext2.patch \
@@ -21,87 +18,114 @@ SRC_URI = "https://www.zytor.com/pub/syslinux/Testing/6.04/syslinux-${PV}.tar.xz
file://0008-libinstaller-syslinuxext-implement-syslinux_patch_bo.patch \
file://0009-linux-syslinux-implement-install_bootblock.patch \
file://0010-Workaround-multiple-definition-of-symbol-errors.patch \
- file://0001-install-don-t-install-obsolete-file-com32.ld.patch \
- "
+ file://0011-install-don-t-install-obsolete-file-com32.ld.patch \
+ file://0012-libinstaller-Fix-build-with-glibc-2.36.patch \
+ file://0013-remove-clean-script.patch \
+ file://0014-Fix-reproducibility-issues.patch \
+"
SRC_URI[md5sum] = "2b31c78f087f99179feb357da312d7ec"
SRC_URI[sha256sum] = "4441a5d593f85bb6e8d578cf6653fb4ec30f9e8f4a2315a3d8f2d0a8b3fadf94"
+# remove at next version upgrade or when output changes
+
+RECIPE_NO_UPDATE_REASON = "6.04-pre3 is broken"
UPSTREAM_CHECK_URI = "https://www.zytor.com/pub/syslinux/"
UPSTREAM_CHECK_REGEX = "syslinux-(?P<pver>.+)\.tar"
UPSTREAM_VERSION_UNKNOWN = "1"
-COMPATIBLE_HOST = '(x86_64|i.86).*-(linux|freebsd.*)'
+# We can build the native parts anywhere, but the target has to be x86
+COMPATIBLE_HOST:class-target = '(x86_64|i.86).*-(linux|freebsd.*)'
+
# Don't let the sanity checker trip on the 32 bit real mode BIOS binaries
-INSANE_SKIP_${PN}-misc = "arch"
-INSANE_SKIP_${PN}-chain = "arch"
+INSANE_SKIP:${PN}-misc = "arch"
+INSANE_SKIP:${PN}-chain = "arch"
+
+# When building the installer, CC is used to link. When building the bootloader,
+# LD is used. However, these variables assume that GCC is used and break the
+# build, so unset them.
+TARGET_LDFLAGS = ""
+SECURITY_LDFLAGS = ""
+LDFLAGS_SECTION_REMOVAL = ""
+
+CFLAGS:append = " -DNO_INLINE_FUNCS -Wno-error=implicit-function-declaration"
EXTRA_OEMAKE = " \
BINDIR=${bindir} SBINDIR=${sbindir} LIBDIR=${libdir} \
DATADIR=${datadir} MANDIR=${mandir} INCDIR=${includedir} \
+ CC="${CC} ${CFLAGS} ${LDFLAGS}" \
+ LD="${LD} ${LDFLAGS}" \
+ OBJDUMP="${OBJDUMP}" \
+ OBJCOPY="${OBJCOPY}" \
+ AR="${AR}" \
+ STRIP="${STRIP}" \
+ NM="${NM}" \
+ RANLIB="${RANLIB}" \
"
+# mtools allows non-root users to install syslinux
+PACKAGECONFIG ??= "mtools"
+PACKAGECONFIG[mtools] = ",,,"
+
+#
+# Tasks for native/nativesdk which just build the installer.
+#
do_configure() {
- # drop win32 targets or build fails
- sed -e 's,win32/\S*,,g' -i Makefile
-
- # clean installer executables included in source tarball
- oe_runmake clean firmware="efi32" EFIINC="${includedir}"
- # NOTE: There is a temporary work around above to specify
- # the efi32 as the firmware else the pre-built bios
- # files get erased contrary to the doc/distib.txt
- # In the future this should be "bios" and not "efi32".
+ oe_runmake firmware="bios" clean
}
do_compile() {
- # Make sure the recompile is OK.
- # Though the ${B} should always exist, still check it before find and rm.
- [ -d "${B}" ] && find ${B} -name '.*.d' -type f -exec rm -f {} \;
-
- # Rebuild only the installer; keep precompiled bootloaders
- # as per author's request (doc/distrib.txt)
- oe_runmake CC="${CC} ${CFLAGS}" \
- LD="${LD}" LDFLAGS="${LDFLAGS}" \
- OBJDUMP="${OBJDUMP}" \
- OBJCOPY="${OBJCOPY}" \
- AR="${AR}" \
- STRIP="${STRIP}" \
- NM="${NM}" \
- RANLIB="${RANLIB}" \
- firmware="bios" installer
+ oe_runmake firmware="bios" installer
}
do_install() {
- oe_runmake CC="${CC} ${CFLAGS}" LD="${LD}" \
- OBJDUMP="${OBJDUMP}" \
- OBJCOPY="${OBJCOPY}" \
- AR="${AR}" \
- STRIP="${STRIP}" \
- NM="${NM}" \
- RANLIB="${RANLIB}" \
- firmware="bios" install INSTALLROOT="${D}"
+ install -d ${D}${bindir}
+ install \
+ ${B}/bios/extlinux/extlinux \
+ ${B}/bios/utils/isohybrid \
+ ${D}${bindir}
+
+ if ${@bb.utils.contains("PACKAGECONFIG", "mtools", "true", "false", d)}; then
+ install ${B}/bios/mtools/syslinux ${D}${bindir}
+ else
+ install ${B}/bios/linux/syslinux ${D}${bindir}
+ fi
+}
+
+#
+# Tasks for target which ship the precompiled bootloader and installer
+#
+do_configure:class-target() {
+ # No need to do anything as we're mostly shipping the precompiled binaries
+ :
+}
+
+do_compile:class-target() {
+ # No need to do anything as we're mostly shipping the precompiled binaries
+ :
+}
+
+do_install:class-target() {
+ oe_runmake firmware="bios" install INSTALLROOT="${D}"
install -d ${D}${datadir}/syslinux/
install -m 644 ${S}/bios/core/ldlinux.sys ${D}${datadir}/syslinux/
install -m 644 ${S}/bios/core/ldlinux.bss ${D}${datadir}/syslinux/
- install -m 755 ${S}/bios/linux/syslinux-nomtools ${D}${bindir}/
}
-PACKAGES += "${PN}-nomtools ${PN}-extlinux ${PN}-mbr ${PN}-chain ${PN}-pxelinux ${PN}-isolinux ${PN}-misc"
-
-RDEPENDS_${PN} += "mtools"
-RDEPENDS_${PN}-nomtools += "libext2fs"
-RDEPENDS_${PN}-misc += "perl"
-
-FILES_${PN} = "${bindir}/syslinux"
-FILES_${PN}-nomtools = "${bindir}/syslinux-nomtools"
-FILES_${PN}-extlinux = "${sbindir}/extlinux"
-FILES_${PN}-mbr = "${datadir}/${BPN}/mbr.bin"
-FILES_${PN}-chain = "${datadir}/${BPN}/chain.c32"
-FILES_${PN}-isolinux = "${datadir}/${BPN}/isolinux.bin"
-FILES_${PN}-pxelinux = "${datadir}/${BPN}/pxelinux.0"
-FILES_${PN}-dev += "${datadir}/${BPN}/com32/lib*${SOLIBS} ${datadir}/${BPN}/com32/include ${datadir}/${BPN}/com32/com32.ld"
-FILES_${PN}-staticdev += "${datadir}/${BPN}/com32/lib*.a ${libdir}/${BPN}/com32/lib*.a"
-FILES_${PN}-misc = "${datadir}/${BPN}/* ${libdir}/${BPN}/* ${bindir}/*"
+PACKAGES += "${PN}-extlinux ${PN}-mbr ${PN}-chain ${PN}-pxelinux ${PN}-isolinux ${PN}-misc"
+
+RDEPENDS:${PN} += "${@bb.utils.contains("PACKAGECONFIG", "mtools", "mtools", "", d)}"
+RDEPENDS:${PN}-misc += "perl"
+
+FILES:${PN} = "${bindir}/syslinux"
+FILES:${PN}-extlinux = "${sbindir}/extlinux"
+FILES:${PN}-mbr = "${datadir}/${BPN}/mbr.bin"
+FILES:${PN}-chain = "${datadir}/${BPN}/chain.c32"
+FILES:${PN}-isolinux = "${datadir}/${BPN}/isolinux.bin"
+FILES:${PN}-pxelinux = "${datadir}/${BPN}/pxelinux.0"
+FILES:${PN}-dev += "${datadir}/${BPN}/com32/lib*${SOLIBS} ${datadir}/${BPN}/com32/include ${datadir}/${BPN}/com32/com32.ld"
+FILES:${PN}-staticdev += "${datadir}/${BPN}/com32/lib*.a ${libdir}/${BPN}/com32/lib*.a"
+FILES:${PN}-misc = "${datadir}/${BPN}/* ${libdir}/${BPN}/* ${bindir}/*"
BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/systemd-bootchart/systemd-bootchart/0001-Define-portable-basename-function.patch b/meta/recipes-devtools/systemd-bootchart/systemd-bootchart/0001-Define-portable-basename-function.patch
new file mode 100644
index 0000000000..dc4c44c6af
--- /dev/null
+++ b/meta/recipes-devtools/systemd-bootchart/systemd-bootchart/0001-Define-portable-basename-function.patch
@@ -0,0 +1,59 @@
+From 4b19c32791fb8a8663b3335f8a3675a2bbabe688 Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Mon, 20 May 2024 18:40:36 -0700
+Subject: [PATCH] Define portable basename function
+
+Newer version of musl have removed prototype for basename in string.h [1]
+which now makes it fail to compile with GCC14+ compiler therefore
+define local basename utility function.
+
+[1] https://git.musl-libc.org/cgit/musl/commit/?id=725e17ed6dff4d0cd22487bb64470881e86a92e7
+
+Upstream-Status: Submitted [https://github.com/systemd/systemd-bootchart/pull/53]
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ src/conf-files.c | 14 ++++++++++++--
+ 1 file changed, 12 insertions(+), 2 deletions(-)
+
+diff --git a/src/conf-files.c b/src/conf-files.c
+index 5dd2d7d..b932bb2 100644
+--- a/src/conf-files.c
++++ b/src/conf-files.c
+@@ -35,6 +35,16 @@
+ #include "strv.h"
+ #include "util.h"
+
++/***
++ * basename is implemented differently across different C libraries. This
++ * implementation matches the one provided by the GNU libc, and does not
++ * modify its input parameter.
++***/
++static const char *sbc_basename(const char *path) {
++ const char *base = strrchr(path, '/');
++ return base ? base + 1 : path;
++}
++
+ static int files_add(Hashmap *h, const char *root, const char *path, const char *suffix) {
+ _cleanup_closedir_ DIR *dir = NULL;
+ const char *dirpath;
+@@ -63,7 +73,7 @@ static int files_add(Hashmap *h, const char *root, const char *path, const char
+ if (!p)
+ return -ENOMEM;
+
+- r = hashmap_put(h, basename(p), p);
++ r = hashmap_put(h, sbc_basename(p), p);
+ if (r == -EEXIST) {
+ log_debug("Skipping overridden file: %s.", p);
+ free(p);
+@@ -84,7 +94,7 @@ static int base_cmp(const void *a, const void *b) {
+
+ s1 = *(char * const *)a;
+ s2 = *(char * const *)b;
+- return strcmp(basename(s1), basename(s2));
++ return strcmp(sbc_basename(s1), sbc_basename(s2));
+ }
+
+ static int conf_files_list_strv_internal(char ***strv, const char *suffix, const char *root, char **dirs) {
+--
+2.45.1
+
diff --git a/meta/recipes-devtools/systemd-bootchart/systemd-bootchart/0001-architecture-Recognise-RISCV-32-RISCV-64.patch b/meta/recipes-devtools/systemd-bootchart/systemd-bootchart/0001-architecture-Recognise-RISCV-32-RISCV-64.patch
deleted file mode 100644
index fc03812bb9..0000000000
--- a/meta/recipes-devtools/systemd-bootchart/systemd-bootchart/0001-architecture-Recognise-RISCV-32-RISCV-64.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-From 4a6ace0a965965ea15e88c3418c7158ca5cc9f8f Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Thu, 21 Nov 2019 10:12:05 -0800
-Subject: [PATCH] architecture: Recognise RISCV-32/RISCV-64
-
-Upstream-Status: Backport [https://github.com/systemd/systemd/commit/171b53380085b1288b03b19a2b978f36a5c003d0]
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
- src/architecture.h | 13 +++++++++++++
- 1 file changed, 13 insertions(+)
-
-diff --git a/src/architecture.h b/src/architecture.h
-index 26679e2..89c7d32 100644
---- a/src/architecture.h
-+++ b/src/architecture.h
-@@ -57,6 +57,8 @@ enum {
- ARCHITECTURE_M68K,
- ARCHITECTURE_TILEGX,
- ARCHITECTURE_CRIS,
-+ ARCHITECTURE_RISCV32,
-+ ARCHITECTURE_RISCV64,
- _ARCHITECTURE_MAX,
- _ARCHITECTURE_INVALID = -1
- };
-@@ -194,6 +196,17 @@ int uname_architecture(void);
- #elif defined(__cris__)
- # define native_architecture() ARCHITECTURE_CRIS
- # error "Missing LIB_ARCH_TUPLE for CRIS"
-+#elif defined(__riscv)
-+# if __SIZEOF_POINTER__ == 4
-+# define native_architecture() ARCHITECTURE_RISCV32
-+# define LIB_ARCH_TUPLE "riscv32-linux-gnu"
-+# elif __SIZEOF_POINTER__ == 8
-+# define native_architecture() ARCHITECTURE_RISCV64
-+# define LIB_ARCH_TUPLE "riscv64-linux-gnu"
-+# else
-+# error "Unrecognized riscv architecture variant"
-+# endif
-+# define PROC_CPUINFO_MODEL "cpu model"
- #else
- # error "Please register your architecture here!"
- #endif
---
-2.24.0
-
diff --git a/meta/recipes-devtools/systemd-bootchart/systemd-bootchart/0001-comparison_fn_t-is-glibc-specific-use-raw-signature-.patch b/meta/recipes-devtools/systemd-bootchart/systemd-bootchart/0001-comparison_fn_t-is-glibc-specific-use-raw-signature-.patch
index f392ceafcc..812900051a 100644
--- a/meta/recipes-devtools/systemd-bootchart/systemd-bootchart/0001-comparison_fn_t-is-glibc-specific-use-raw-signature-.patch
+++ b/meta/recipes-devtools/systemd-bootchart/systemd-bootchart/0001-comparison_fn_t-is-glibc-specific-use-raw-signature-.patch
@@ -12,8 +12,8 @@ systemd/0013-comparison_fn_t-is-glibc-specific-use-raw-signature-.patch
Based on work by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
+Upstream-Status: Denied [https://github.com/systemd/systemd-bootchart/pull/47]
---
-Upstream-Status: Pending
src/util.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-devtools/systemd-bootchart/systemd-bootchart/0002-musl-does-not-provide-printf-h.patch b/meta/recipes-devtools/systemd-bootchart/systemd-bootchart/0002-musl-does-not-provide-printf-h.patch
index 196272f7a2..2fac76a549 100644
--- a/meta/recipes-devtools/systemd-bootchart/systemd-bootchart/0002-musl-does-not-provide-printf-h.patch
+++ b/meta/recipes-devtools/systemd-bootchart/systemd-bootchart/0002-musl-does-not-provide-printf-h.patch
@@ -10,8 +10,8 @@ Original patch author: Emil Renner Berthing <systemd@esmil.dk>
Includes work by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
+Upstream-Status: Denied [https://github.com/systemd/systemd-bootchart/pull/47]
---
-Upstream-Status: Pending
Makefile.am | 4 +
configure.ac | 3 +
diff --git a/meta/recipes-devtools/systemd-bootchart/systemd-bootchart/0003-musl-does-not-provide-canonicalize_file_name.patch b/meta/recipes-devtools/systemd-bootchart/systemd-bootchart/0003-musl-does-not-provide-canonicalize_file_name.patch
index 7670d95f07..fbe9c93d2d 100644
--- a/meta/recipes-devtools/systemd-bootchart/systemd-bootchart/0003-musl-does-not-provide-canonicalize_file_name.patch
+++ b/meta/recipes-devtools/systemd-bootchart/systemd-bootchart/0003-musl-does-not-provide-canonicalize_file_name.patch
@@ -9,8 +9,8 @@ systemd/0007-check-for-missing-canonicalize_file_name.patch
Based on work by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
+Upstream-Status: Denied [https://github.com/systemd/systemd-bootchart/pull/47]
---
-Upstream-Status: Pending
src/path-util.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-devtools/systemd-bootchart/systemd-bootchart/no_lto.patch b/meta/recipes-devtools/systemd-bootchart/systemd-bootchart/no_lto.patch
new file mode 100644
index 0000000000..1fdf8dbcc2
--- /dev/null
+++ b/meta/recipes-devtools/systemd-bootchart/systemd-bootchart/no_lto.patch
@@ -0,0 +1,19 @@
+LTO output is not reproducible. Until it is, disable this. Sadly
+there is no configuration option to do so at this time.
+
+Upstream-Status: Pending [may be accept addition of configuration option?]
+RP 2021/3/1
+
+Index: git/configure.ac
+===================================================================
+--- git.orig/configure.ac
++++ git/configure.ac
+@@ -124,7 +124,7 @@ AS_CASE([$CC], [*clang*],
+
+ AS_CASE([$CFLAGS], [*-O[[12345sz\ ]]*],
+ [CC_CHECK_FLAGS_APPEND([with_cflags], [CFLAGS], [\
+- -flto -ffat-lto-objects])],
++ ])],
+ [AC_MSG_RESULT([skipping -flto, optimization not enabled])])
+ AC_SUBST([OUR_CFLAGS], "$with_cflags $sanitizer_cflags")
+
diff --git a/meta/recipes-devtools/systemd-bootchart/systemd-bootchart_233.bb b/meta/recipes-devtools/systemd-bootchart/systemd-bootchart_235.bb
index a7a1f0ff1a..3c3c84ff4a 100644
--- a/meta/recipes-devtools/systemd-bootchart/systemd-bootchart_233.bb
+++ b/meta/recipes-devtools/systemd-bootchart/systemd-bootchart_235.bb
@@ -1,22 +1,27 @@
-LICENSE = "LGPLv2.1 & GPLv2"
+SUMMARY = "Boot performance graphing tool"
+DESCRIPTION = "For systemd-bootchart, several proc debug interfaces are required in the kernel config: \
+ CONFIG_SCHEDSTATS \
+below is optional, for additional info: \
+ CONFIG_SCHED_DEBUG"
+HOMEPAGE = "https://github.com/systemd/systemd-bootchart"
+LICENSE = "LGPL-2.1-only & GPL-2.0-only"
LIC_FILES_CHKSUM = "file://LICENSE.LGPL2.1;md5=4fbd65380cdd255951079008b364516c \
file://LICENSE.GPL2;md5=751419260aa954499f7abaabaa882bbe"
-SRC_URI = "git://github.com/systemd/systemd-bootchart.git;protocol=https \
- file://0001-architecture-Recognise-RISCV-32-RISCV-64.patch \
+SRC_URI = "git://github.com/systemd/systemd-bootchart.git;protocol=https;branch=main \
file://mips64.patch \
+ file://no_lto.patch \
"
-SRC_URI_append_libc-musl = " \
+SRC_URI:append:libc-musl = " \
file://0001-comparison_fn_t-is-glibc-specific-use-raw-signature-.patch \
file://0002-musl-does-not-provide-printf-h.patch \
file://0003-musl-does-not-provide-canonicalize_file_name.patch \
+ file://0001-Define-portable-basename-function.patch \
"
-# Modify these as desired
-PV = "233+git${SRCPV}"
-SRCREV = "fe1c5e41e6bdb78043dad8fa863fc2df66d1dadf"
+SRCREV = "8ab9680a1bd5eb8fe7a7dcc44897af7ee41e56e7"
S = "${WORKDIR}/git"
@@ -26,14 +31,14 @@ inherit pkgconfig autotools systemd features_check
REQUIRED_DISTRO_FEATURES = "systemd"
-SYSTEMD_SERVICE_${PN} = "systemd-bootchart.service"
+SYSTEMD_SERVICE:${PN} = "systemd-bootchart.service"
-do_configure_prepend() {
+do_configure:prepend() {
# intltool.m4 is a soft link to /usr/share/aclocal/m4, delete it and use the one in our sysroot
rm -f ${S}/m4/intltool.m4
}
-FILES_${PN} += "${systemd_unitdir}/systemd-bootchart"
+FILES:${PN} += "${systemd_unitdir}/systemd-bootchart"
EXTRA_OECONF = " --with-rootprefix=${root_prefix} \
--with-rootlibdir=${base_libdir}"
diff --git a/meta/recipes-devtools/tcf-agent/tcf-agent/fix_ranlib.patch b/meta/recipes-devtools/tcf-agent/tcf-agent/fix_ranlib.patch
deleted file mode 100644
index abd33babeb..0000000000
--- a/meta/recipes-devtools/tcf-agent/tcf-agent/fix_ranlib.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-Actually pass the arguments to RANLIB.
-
-Upstream-Status: Pending
-Signed-off-by: Ross Burton <ross.burton@intel.com>
-
-Index: agent/Makefile.inc
-===================================================================
---- a/Makefile.inc
-+++ b/Makefile.inc
-@@ -92,6 +92,7 @@ ifeq ($(OPSYS),GNU/Linux)
- OPTS += -DUSE_uuid_generate=0
- endif
- OPTS += -DENABLE_arch_$(shell uname -m)
-+ RANLIB += $@
- endif
-
- ifneq ($(OPSYS),Windows)
diff --git a/meta/recipes-devtools/tcf-agent/tcf-agent/ldflags.patch b/meta/recipes-devtools/tcf-agent/tcf-agent/ldflags.patch
index c03c55d22b..d701e8dec0 100644
--- a/meta/recipes-devtools/tcf-agent/tcf-agent/ldflags.patch
+++ b/meta/recipes-devtools/tcf-agent/tcf-agent/ldflags.patch
@@ -1,4 +1,8 @@
-Upstream-Status: Pending
+We need LDFLAGS to be respected otherwise there are QA warnings as the right
+flags don't get used.
+
+Upstream-Status: Inappropriate [oe-core specific]
+Signed-off-by: Ross Burton <ross.burton@arm.com>
From d92af0483c20365fd0af740d0baef8870b4aa374 Mon Sep 17 00:00:00 2001
From: Abdur Rehman <abdur_rehman@mentor.com>
@@ -6,23 +10,26 @@ Date: Wed, 26 Aug 2015 19:18:11 +0500
Subject: [PATCH] tcf-agent: obey LDFLAGS
Signed-off-by: Abdur Rehman <abdur_rehman@mentor.com>
+
+Rebased to 4a2c4baaccbc8c29ce0297705de9a4e096d57ce5 version
+
+Signed-off-by: Mark hatle <mark.hatle@amd.com>
+
+
---
Makefile.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
-diff --git a/Makefile.inc b/Makefile.inc
-index 959028f..3148942 100644
---- a/Makefile.inc
-+++ b/Makefile.inc
-@@ -96,7 +96,7 @@ NO_LINK_F ?= -c
+Index: agent/Makefile.inc
+===================================================================
+--- agent.orig/Makefile.inc
++++ agent/Makefile.inc
+@@ -111,7 +111,7 @@ NO_LINK_F ?= -c
# Linker definition and flags
- LINK ?= $(CC)
--LINK_FLAGS ?= $(CFLAGS)
-+LINK_FLAGS ?= $(LDFLAGS) $(CFLAGS)
- LINK_OUT_F ?= $(OUT_OBJ_F)
+ LINK ?= $(CC)
+-LINK_FLAGS ?= $(CFLAGS)
++LINK_FLAGS ?= $(LDFLAGS) $(CFLAGS)
+ LINK_OUT_F ?= $(OUT_OBJ_F)
# Archiver definition and flags
---
-1.7.9.5
-
diff --git a/meta/recipes-devtools/tcf-agent/tcf-agent_git.bb b/meta/recipes-devtools/tcf-agent/tcf-agent_git.bb
index ed14fe66b1..214dd4b2a8 100644
--- a/meta/recipes-devtools/tcf-agent/tcf-agent_git.bb
+++ b/meta/recipes-devtools/tcf-agent/tcf-agent_git.bb
@@ -1,29 +1,29 @@
SUMMARY = "Target Communication Framework for the Eclipse IDE"
HOMEPAGE = "http://wiki.eclipse.org/TCF"
+DESCRIPTION = "TCF is a vendor-neutral, lightweight, extensible network protocol mainly for communicating with embedded systems (targets)."
BUGTRACKER = "https://bugs.eclipse.org/bugs/"
LICENSE = "EPL-1.0 | EDL-1.0"
LIC_FILES_CHKSUM = "file://edl-v10.html;md5=522a390a83dc186513f0500543ad3679"
-SRCREV = "a022ef2f1acfd9209a1bf792dda14ae4b0d1b60f"
-PV = "1.7.0+git${SRCPV}"
+SRCREV = "1f11747e83ebf4f53e8d17f430136f92ec378709"
+PV = "1.8.0+git"
UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+)+))"
-SRC_URI = "git://git.eclipse.org/gitroot/tcf/org.eclipse.tcf.agent \
- file://fix_ranlib.patch \
+SRC_URI = "git://git.eclipse.org/r/tcf/org.eclipse.tcf.agent.git;protocol=https;branch=master \
file://ldflags.patch \
file://tcf-agent.init \
file://tcf-agent.service \
"
DEPENDS = "util-linux openssl"
-RDEPENDS_${PN} = "bash"
+RDEPENDS:${PN} = "bash"
S = "${WORKDIR}/git/agent"
inherit update-rc.d systemd
-SYSTEMD_SERVICE_${PN} = "tcf-agent.service"
+SYSTEMD_SERVICE:${PN} = "tcf-agent.service"
INITSCRIPT_NAME = "tcf-agent"
INITSCRIPT_PARAMS = "start 99 3 5 . stop 20 0 1 2 6 ."
@@ -41,20 +41,22 @@ LCL_STOP_SERVICES = "-DSERVICE_RunControl=0 -DSERVICE_Breakpoints=0 \
# These features don't compile for several cases.
#
-CFLAGS_append_arc = " ${LCL_STOP_SERVICES}"
-CFLAGS_append_mips = " ${LCL_STOP_SERVICES}"
-CFLAGS_append_mips64 = " ${LCL_STOP_SERVICES}"
-CFLAGS_append_libc-musl = " ${LCL_STOP_SERVICES}"
-CFLAGS_append_powerpc64 = " ${LCL_STOP_SERVICES}"
-CFLAGS_append_powerpc64le = " ${LCL_STOP_SERVICES}"
-CFLAGS_append_riscv64 = " ${LCL_STOP_SERVICES}"
+CFLAGS:append:arc = " ${LCL_STOP_SERVICES}"
+CFLAGS:append:mips = " ${LCL_STOP_SERVICES}"
+CFLAGS:append:mips64 = " ${LCL_STOP_SERVICES}"
+CFLAGS:append:libc-musl = " ${LCL_STOP_SERVICES}"
+CFLAGS:append:powerpc64 = " ${LCL_STOP_SERVICES}"
+CFLAGS:append:powerpc64le = " ${LCL_STOP_SERVICES}"
+CFLAGS:append:riscv64 = " ${LCL_STOP_SERVICES}"
+CFLAGS:append:riscv32 = " ${LCL_STOP_SERVICES}"
+CFLAGS:append:loongarch64 = " ${LCL_STOP_SERVICES}"
do_install() {
oe_runmake install INSTALLROOT=${D}
install -d ${D}${sysconfdir}/init.d/
- install -m 0755 ${WORKDIR}/tcf-agent.init ${D}${sysconfdir}/init.d/tcf-agent
- install -d ${D}${systemd_unitdir}/system
- install -m 0644 ${WORKDIR}/tcf-agent.service ${D}${systemd_unitdir}/system
- sed -i -e 's,@SBINDIR@,${sbindir},g' ${D}${systemd_unitdir}/system/tcf-agent.service
+ install -m 0755 ${UNPACKDIR}/tcf-agent.init ${D}${sysconfdir}/init.d/tcf-agent
+ install -d ${D}${systemd_system_unitdir}
+ install -m 0644 ${UNPACKDIR}/tcf-agent.service ${D}${systemd_system_unitdir}
+ sed -i -e 's,@SBINDIR@,${sbindir},g' ${D}${systemd_system_unitdir}/tcf-agent.service
}
diff --git a/meta/recipes-devtools/tcltk/tcl/0001-Fix-abd4abedd2-Failed-to-build-tk-8.6.10-with-cross-.patch b/meta/recipes-devtools/tcltk/tcl/0001-Fix-abd4abedd2-Failed-to-build-tk-8.6.10-with-cross-.patch
deleted file mode 100644
index 3cd34155ee..0000000000
--- a/meta/recipes-devtools/tcltk/tcl/0001-Fix-abd4abedd2-Failed-to-build-tk-8.6.10-with-cross-.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-From f7fa48c4c75a1e748dc5071e709c0b62ff739eaa Mon Sep 17 00:00:00 2001
-From: "jan.nijtmans" <nijtmans@users.sourceforge.net>
-Date: Mon, 9 Dec 2019 10:02:20 +0000
-Subject: [PATCH] Fix [abd4abedd2]: Failed to build tk 8.6.10 with cross
- compile
-
-Upstream-Status: Backport
-[https://github.com/tcltk/tcl/commit/f7fa48c4c75a1e748dc5071e709c0b62ff739eaa]
-
-Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
----
- compat/strtol.c | 2 +-
- compat/strtoul.c | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/compat/strtol.c b/compat/strtol.c
-index b7f69196c..811006a64 100644
---- a/compat/strtol.c
-+++ b/compat/strtol.c
-@@ -53,7 +53,7 @@ strtol(
- */
-
- p = string;
-- while (TclIsSpaceProc(*p)) {
-+ while (isspace(UCHAR(*p))) {
- p += 1;
- }
-
-diff --git a/compat/strtoul.c b/compat/strtoul.c
-index e37eb05f8..15587f1da 100644
---- a/compat/strtoul.c
-+++ b/compat/strtoul.c
-@@ -74,7 +74,7 @@ strtoul(
- */
-
- p = string;
-- while (TclIsSpaceProc(*p)) {
-+ while (isspace(UCHAR(*p))) {
- p += 1;
- }
- if (*p == '-') {
---
-2.17.1
-
diff --git a/meta/recipes-devtools/tcltk/tcl/alter-includedir.patch b/meta/recipes-devtools/tcltk/tcl/alter-includedir.patch
index 86632d9144..bfc718cfd3 100644
--- a/meta/recipes-devtools/tcltk/tcl/alter-includedir.patch
+++ b/meta/recipes-devtools/tcltk/tcl/alter-includedir.patch
@@ -1,4 +1,9 @@
-Lets install the include header and private header files into
+From 3130dca60636dc12d0d12df75b002fd123349e21 Mon Sep 17 00:00:00 2001
+From: Mingli Yu <mingli.yu@windriver.com>
+Date: Tue, 22 Nov 2022 18:48:27 +0800
+Subject: [PATCH] tcl: update the header location
+
+Lets install the include header and private header files into
usr/include/tcl8.6 when version of tcl is 8.6.x
Upstream-Status: Inappropriate [Configuration Specific]
@@ -7,20 +12,25 @@ Signed-off-by: Khem Raj <raj.khem@gmai.com>
Fixed the TCL_INCLUDE_SPEC
+Also update the header location in tcl.pc to correct the header
+location in case some package such python3 which use pkg-config
+to detect tcl doesn't find the header.
+
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
+Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
---
- Makefile.in | 2 +-
- configure | 4 ++--
- configure.in | 4 ++--
- 3 files changed, 5 insertions(+), 5 deletions(-)
+ unix/Makefile.in | 2 +-
+ unix/configure.in | 4 ++--
+ unix/tcl.pc.in | 2 +-
+ 3 files changed, 4 insertions(+), 4 deletions(-)
-diff --git a/Makefile.in b/Makefile.in
-index 97b983b..dc2a4df 100644
---- a/Makefile.in
-+++ b/Makefile.in
-@@ -53,7 +53,7 @@ DLL_INSTALL_DIR = @DLL_INSTALL_DIR@
- SCRIPT_INSTALL_DIR = $(INSTALL_ROOT)$(TCL_LIBRARY)
+diff --git a/unix/Makefile.in b/unix/Makefile.in
+index a3b7d69..969ddb8 100644
+--- a/unix/Makefile.in
++++ b/unix/Makefile.in
+@@ -57,7 +57,7 @@ SCRIPT_INSTALL_DIR = $(INSTALL_ROOT)$(TCL_LIBRARY)
+ MODULE_INSTALL_DIR = $(SCRIPT_INSTALL_DIR)/../tcl8
# Directory in which to install the include file tcl.h:
-INCLUDE_INSTALL_DIR = $(INSTALL_ROOT)$(includedir)
@@ -28,11 +38,11 @@ index 97b983b..dc2a4df 100644
# Path to the private tcl header dir:
PRIVATE_INCLUDE_DIR = @PRIVATE_INCLUDE_DIR@
-diff --git a/configure b/configure
-index 3e78b49..24b3f92 100755
---- a/configure
-+++ b/configure
-@@ -19134,7 +19134,7 @@ eval "TCL_LIB_FILE=libtcl${LIB_SUFFIX}"
+diff --git a/unix/configure.in b/unix/configure.in
+index 4974fb6..a72934f 100644
+--- a/unix/configure.in
++++ b/unix/configure.in
+@@ -776,7 +776,7 @@ eval "TCL_LIB_FILE=libtcl${LIB_SUFFIX}"
eval "TCL_LIB_FILE=${TCL_LIB_FILE}"
test -z "$TCL_LIBRARY" && TCL_LIBRARY='$(libdir)/tcl$(VERSION)'
@@ -41,7 +51,7 @@ index 3e78b49..24b3f92 100755
HTML_DIR='$(DISTDIR)/html'
# Note: in the following variable, it's important to use the absolute
-@@ -19293,7 +19293,7 @@ TCL_BUILD_STUB_LIB_PATH="`pwd`/${TCL_STUB_LIB_FILE}"
+@@ -897,7 +897,7 @@ TCL_BUILD_STUB_LIB_PATH="`pwd`/${TCL_STUB_LIB_FILE}"
TCL_STUB_LIB_PATH="${TCL_STUB_LIB_DIR}/${TCL_STUB_LIB_FILE}"
# Install time header dir can be set via --includedir
@@ -50,28 +60,16 @@ index 3e78b49..24b3f92 100755
#------------------------------------------------------------------------
# tclConfig.sh refers to this by a different name
-diff --git a/configure.in b/configure.in
-index 0e28b14..62d9b41 100755
---- a/configure.in
-+++ b/configure.in
-@@ -791,7 +791,7 @@ eval "TCL_LIB_FILE=libtcl${LIB_SUFFIX}"
- eval "TCL_LIB_FILE=${TCL_LIB_FILE}"
-
- test -z "$TCL_LIBRARY" && TCL_LIBRARY='$(libdir)/tcl$(VERSION)'
--PRIVATE_INCLUDE_DIR='$(includedir)'
-+PRIVATE_INCLUDE_DIR='$(includedir)/tcl$(VERSION)'
- HTML_DIR='$(DISTDIR)/html'
-
- # Note: in the following variable, it's important to use the absolute
-@@ -912,7 +912,7 @@ TCL_BUILD_STUB_LIB_PATH="`pwd`/${TCL_STUB_LIB_FILE}"
- TCL_STUB_LIB_PATH="${TCL_STUB_LIB_DIR}/${TCL_STUB_LIB_FILE}"
+diff --git a/unix/tcl.pc.in b/unix/tcl.pc.in
+index 93b5e69..dcd51d7 100644
+--- a/unix/tcl.pc.in
++++ b/unix/tcl.pc.in
+@@ -3,7 +3,7 @@
+ prefix=@prefix@
+ exec_prefix=@exec_prefix@
+ libdir=@libdir@
+-includedir=@includedir@
++includedir=@includedir@/tcl@PACKAGE_VERSION@
+ libfile=@TCL_LIB_FILE@
- # Install time header dir can be set via --includedir
--eval "TCL_INCLUDE_SPEC=\"-I${includedir}\""
-+eval "TCL_INCLUDE_SPEC=\"-I${includedir}/tcl${VERSION}\""
-
- #------------------------------------------------------------------------
- # tclConfig.sh refers to this by a different name
---
-1.7.10.4
-
+ Name: Tool Command Language
diff --git a/meta/recipes-devtools/tcltk/tcl/fix_issue_with_old_distro_glibc.patch b/meta/recipes-devtools/tcltk/tcl/fix_issue_with_old_distro_glibc.patch
deleted file mode 100644
index 72a0fa4520..0000000000
--- a/meta/recipes-devtools/tcltk/tcl/fix_issue_with_old_distro_glibc.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-Upstream-Status: Inappropriate [embedded specific]
-
-Fixes tcl target recipe build on old distros which have glibc older than 2.14
-
-| + echo 'NOTE: make DESTDIR=/srv/home/nitin/builds/build-gcc47/tmp/work/x86_64-poky-linux/tcl-8.5.11-r5/image install'
-| NOTE: make DESTDIR=/srv/home/nitin/builds/build-gcc47/tmp/work/x86_64-poky-linux/tcl-8.5.11-r5/image install
-| + make DESTDIR=/srv/home/nitin/builds/build-gcc47/tmp/work/x86_64-poky-linux/tcl-8.5.11-r5/image install
-| Making directory /srv/home/nitin/builds/build-gcc47/tmp/work/x86_64-poky-linux/tcl-8.5.11-r5/image/usr/lib
-| Installing message catalogs
-| Making directory /srv/home/nitin/builds/build-gcc47/tmp/work/x86_64-poky-linux/tcl-8.5.11-r5/image/usr/share/man
-| tclsh: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /srv/home/nitin/builds/build-gcc47/tmp/work/x86_64-poky-linux/tcl-8.5.11-r5/tcl8.5.11/unix/libtcl8.5.so)
-| Making directory /srv/home/nitin/builds/build-gcc47/tmp/work/x86_64-poky-linux/tcl-8.5.11-r5/image/usr/bin
-| make: *** [install-msgs] Error 1
-
-Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
-2012/04/26
-
-Index: unix/Makefile.in
-===================================================================
---- unix.orig/Makefile.in 2013-11-10 23:38:01.787425628 -0800
-+++ unix/Makefile.in 2013-11-10 23:37:59.807425578 -0800
-@@ -686,7 +686,7 @@
- # tcltest executable gets the build directory burned into its ld search path.
- # This keeps tcltest from picking up an already installed version of the Tcl
- # library.
--SHELL_ENV = @LD_LIBRARY_PATH_VAR@=`pwd`:${@LD_LIBRARY_PATH_VAR@} \
-+SHELL_ENV = @LD_LIBRARY_PATH_VAR@=${@LD_LIBRARY_PATH_VAR@} \
- TCLLIBPATH="@abs_builddir@/pkgs" \
- TCL_LIBRARY="${TCL_BUILDTIME_LIBRARY}"
-
-@@ -712,7 +712,7 @@
- $(SHELL_ENV) ${TCLTEST_EXE} $(TOP_DIR)/tests/all.tcl $(TESTFLAGS)
-
- gdb-test: ${TCLTEST_EXE}
-- @echo "set env @LD_LIBRARY_PATH_VAR@=`pwd`:$${@LD_LIBRARY_PATH_VAR@}" > gdb.run
-+ @echo "set env @LD_LIBRARY_PATH_VAR@=$${@LD_LIBRARY_PATH_VAR@}" > gdb.run
- @echo "set env TCL_LIBRARY=${TCL_BUILDTIME_LIBRARY}" >> gdb.run
- @echo "set args $(TOP_DIR)/tests/all.tcl $(TESTFLAGS) -singleproc 1" >> gdb.run
- $(GDB) ${TCLTEST_EXE} --command=gdb.run
diff --git a/meta/recipes-devtools/tcltk/tcl/fix_non_native_build_issue.patch b/meta/recipes-devtools/tcltk/tcl/fix_non_native_build_issue.patch
index c60eb75379..09c49daa2c 100644
--- a/meta/recipes-devtools/tcltk/tcl/fix_non_native_build_issue.patch
+++ b/meta/recipes-devtools/tcltk/tcl/fix_non_native_build_issue.patch
@@ -1,10 +1,18 @@
-Upstream-Status: Pending
+From 371aa300369e9ea3234cba22d5c0babc7d40dfdf Mon Sep 17 00:00:00 2001
+From: Nitin A Kamble <nitin.a.kamble@intel.com>
+Date: Fri, 13 Aug 2010 12:24:00 -0700
+Subject: [PATCH] tcl: fix a build issue
-Index: unix/Makefile.in
-===================================================================
---- unix.orig/Makefile.in 2013-11-10 23:37:34.243424934 -0800
-+++ unix/Makefile.in 2013-11-10 23:37:34.243424934 -0800
-@@ -709,23 +709,23 @@
+Upstream-Status: Inappropriate [upstream does not support installed tests]
+---
+ unix/Makefile.in | 20 ++++++++++----------
+ 1 file changed, 10 insertions(+), 10 deletions(-)
+
+diff --git a/unix/Makefile.in b/unix/Makefile.in
+index 9dd053d..a3b7d69 100644
+--- a/unix/Makefile.in
++++ b/unix/Makefile.in
+@@ -815,7 +815,7 @@ tcltest-real:
test: test-tcl test-packages
test-tcl: ${TCLTEST_EXE}
@@ -12,9 +20,11 @@ Index: unix/Makefile.in
+ $(SHELL_ENV) ${TCLTEST_EXE} $(TOP_DIR)/tests/all.tcl $(TESTFLAGS)
gdb-test: ${TCLTEST_EXE}
- @echo "set env @LD_LIBRARY_PATH_VAR@=`pwd`:$${@LD_LIBRARY_PATH_VAR@}" > gdb.run
- @echo "set env TCL_LIBRARY=${TCL_BUILDTIME_LIBRARY}" >> gdb.run
- @echo "set args $(TOP_DIR)/tests/all.tcl $(TESTFLAGS) -singleproc 1" >> gdb.run
+ @printf '%s ' set env @LD_LIBRARY_PATH_VAR@=\"`pwd`$${@LD_LIBRARY_PATH_VAR@:+:$${@LD_LIBRARY_PATH_VAR}}\" > gdb.run
+@@ -824,17 +824,17 @@ gdb-test: ${TCLTEST_EXE}
+ @printf '\n' >>gdb.run
+ @printf '%s ' set args $(call shquotequote,$(TOP_DIR))/tests/all.tcl\
+ $(call shquotequote,$(TESTFLAGS)) -singleproc 1 >> gdb.run
- $(GDB) ./${TCLTEST_EXE} --command=gdb.run
+ $(GDB) ${TCLTEST_EXE} --command=gdb.run
rm gdb.run
@@ -32,7 +42,7 @@ Index: unix/Makefile.in
# The following target generates the shared libraries in dltest/ that are used
# for testing; they are included as part of the "tcltest" target (via the
-@@ -743,23 +743,23 @@
+@@ -852,28 +852,28 @@ dltest.marker: ${STUB_LIB_FILE}
# This target can be used to run tclsh from the build directory
# via `make shell SCRIPT=/tmp/foo.tcl`
shell: ${TCL_EXE}
@@ -44,9 +54,14 @@ Index: unix/Makefile.in
- $(SHELL_ENV) $(GDB) ./${TCL_EXE}
+ $(SHELL_ENV) $(GDB) ${TCL_EXE}
+ lldb: ${TCL_EXE}
+ $(SHELL_ENV) $(LLDB) ./${TCL_EXE}
+
valgrind: ${TCL_EXE} ${TCLTEST_EXE}
-- $(SHELL_ENV) $(VALGRIND) $(VALGRINDARGS) ./${TCLTEST_EXE} $(TOP_DIR)/tests/all.tcl -singleproc 1 -constraints valgrind $(TESTFLAGS)
-+ $(SHELL_ENV) $(VALGRIND) $(VALGRINDARGS) ${TCLTEST_EXE} $(TOP_DIR)/tests/all.tcl -singleproc 1 -constraints valgrind $(TESTFLAGS)
+- $(SHELL_ENV) $(VALGRIND) $(VALGRINDARGS) ./${TCLTEST_EXE} \
++ $(SHELL_ENV) $(VALGRIND) $(VALGRINDARGS) ${TCLTEST_EXE} \
+ $(TOP_DIR)/tests/all.tcl -singleproc 1 -constraints valgrind \
+ $(TESTFLAGS)
valgrindshell: ${TCL_EXE}
- $(SHELL_ENV) $(VALGRIND) $(VALGRINDARGS) ./${TCL_EXE} $(SCRIPT)
diff --git a/meta/recipes-devtools/tcltk/tcl/interp.patch b/meta/recipes-devtools/tcltk/tcl/interp.patch
new file mode 100644
index 0000000000..2e0dc94cff
--- /dev/null
+++ b/meta/recipes-devtools/tcltk/tcl/interp.patch
@@ -0,0 +1,40 @@
+From 426aa2ff62dda77fd011e8f630b9d4ea17984817 Mon Sep 17 00:00:00 2001
+From: Ross Burton <ross.burton@arm.com>
+Date: Mon, 12 Jul 2021 14:50:13 +0100
+Subject: [PATCH] tcl: fix race in interp.test
+
+The interp-36.7 patch has race conditions and is missing cleanup. This patch by
+a Tcl maintainer should improve matters.
+
+Upstream-Status: Pending
+Signed-off-by: Ross Burton <ross.burton@arm.com>
+---
+ tests/interp.test | 7 ++++---
+ 1 file changed, 4 insertions(+), 3 deletions(-)
+
+diff --git a/tests/interp.test b/tests/interp.test
+index d742484..fc90990 100644
+--- a/tests/interp.test
++++ b/tests/interp.test
+@@ -3595,17 +3595,18 @@ test interp-36.7 {ChildBgerror sets error handler of child [1999035]} -setup {
+ variable result
+ set result [lindex $args 0]
+ }
++ set tout [after 5000 {set result timeout}]
+ } -body {
+ child eval {
+ variable done {}
+ after 0 error foo
+- after 10 [list ::set [namespace which -variable done] {}]
+- vwait [namespace which -variable done]
+ }
++ vwait result
+ set result
+ } -cleanup {
++ after cancel $tout
+ variable result {}
+- unset -nocomplain result
++ unset -nocomplain result tout
+ interp delete child
+ } -result foo
+
diff --git a/meta/recipes-devtools/tcltk/tcl/no_packages.patch b/meta/recipes-devtools/tcltk/tcl/no_packages.patch
deleted file mode 100644
index 5c622a2369..0000000000
--- a/meta/recipes-devtools/tcltk/tcl/no_packages.patch
+++ /dev/null
@@ -1,53 +0,0 @@
-tcl 8.6.0 builds by default a number of packages that are not needed in Yocto.
-This patch changes the makefile so that these packages are not built by default.
-
-Upstream-Status:Inappropriate [embedded specific]
-
-Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
-
-diff --git a/Makefile.in b/Makefile.in
-index b729ffd..2c2e824 100644
---- a/Makefile.in
-+++ b/Makefile.in
-@@ -612,7 +612,7 @@ SRCS = $(GENERIC_SRCS) $(TOMMATH_SRCS) $(UNIX_SRCS) $(NOTIFY_SRCS) \
- # Start of rules
- #--------------------------------------------------------------------------
-
--all: binaries libraries doc packages
-+all: binaries libraries doc
-
- binaries: ${LIB_FILE} ${TCL_EXE}
-
-@@ -656,12 +656,12 @@ Makefile: $(UNIX_DIR)/Makefile.in $(DLTEST_DIR)/Makefile.in
- #tclConfig.h: $(UNIX_DIR)/tclConfig.h.in
- # $(SHELL) config.status
-
--clean: clean-packages
-+clean:
- rm -rf *.a *.o libtcl* core errs *~ \#* TAGS *.E a.out \
- errors ${TCL_EXE} ${TCLTEST_EXE} lib.exp Tcl @DTRACE_HDR@
- cd dltest ; $(MAKE) clean
-
--distclean: distclean-packages clean
-+distclean: clean
- rm -rf Makefile config.status config.cache config.log tclConfig.sh \
- tclConfig.h *.plist Tcl.framework tcl.pc
- cd dltest ; $(MAKE) distclean
-@@ -709,7 +709,7 @@ tcltest-real:
- # tcltest, ie:
- # % make test TESTFLAGS="-verbose bps -file fileName.test"
-
--test: test-tcl test-packages
-+test: test-tcl
-
- test-tcl: ${TCLTEST_EXE}
- $(SHELL_ENV) ${TCLTEST_EXE} $(TOP_DIR)/tests/all.tcl $(TESTFLAGS)
-@@ -774,7 +774,7 @@ INSTALL_PACKAGE_TARGETS = install-packages
- INSTALL_DEV_TARGETS = install-headers
- INSTALL_EXTRA_TARGETS = @EXTRA_INSTALL@
- INSTALL_TARGETS = $(INSTALL_BASE_TARGETS) $(INSTALL_DOC_TARGETS) $(INSTALL_DEV_TARGETS) \
-- $(INSTALL_PACKAGE_TARGETS) $(INSTALL_EXTRA_TARGETS)
-+ $(INSTALL_EXTRA_TARGETS)
-
- install: $(INSTALL_TARGETS)
-
diff --git a/meta/recipes-devtools/tcltk/tcl/run-ptest b/meta/recipes-devtools/tcltk/tcl/run-ptest
index 22bb69ae0d..a403a74bb6 100644
--- a/meta/recipes-devtools/tcltk/tcl/run-ptest
+++ b/meta/recipes-devtools/tcltk/tcl/run-ptest
@@ -1,13 +1,29 @@
#!/bin/sh
-for i in `ls tests/*.test | awk -F/ '{print $2}'`; do
- TCL_LIBRARY=library ./tcltest tests/all.tcl -file $i >$i.log 2>&1
- grep -q "^Files with failing tests:" $i.log
+# clock.test needs a timezone to be set
+export TZ="Europe/London"
+export TCL_LIBRARY=library
+export ERROR_ON_FAILURES=1
+
+# Some tests are overly strict with timings and fail on loaded systems.
+SKIP=""
+# 15321
+SKIP="$SKIP async-\* event-\*"
+# 14882
+SKIP="$SKIP cmdMZ-6.6"
+# 15081
+SKIP="$SKIP exit-1.\*"
+# 15407 15421
+SKIP="$SKIP \*io-46.1"
+# 14825
+SKIP="$SKIP socket-\* socket_inet-\*"
+
+for i in tests/*.test; do
+ i=$(basename $i)
+ ./tcltest tests/all.tcl -file $i -skip "$SKIP"
if [ $? -eq 0 ]; then
- echo "FAIL: $i"
- cat $i.log
- else
echo "PASS: $i"
+ else
+ echo "FAIL: $i"
fi
- rm -f $i.log
done
diff --git a/meta/recipes-devtools/tcltk/tcl/tcl-add-soname.patch b/meta/recipes-devtools/tcltk/tcl/tcl-add-soname.patch
index d1fc9b92e5..a0195e263c 100644
--- a/meta/recipes-devtools/tcltk/tcl/tcl-add-soname.patch
+++ b/meta/recipes-devtools/tcltk/tcl/tcl-add-soname.patch
@@ -1,39 +1,20 @@
+From b89fd73daf9b3eb2f889f65baba5f90d8a930c82 Mon Sep 17 00:00:00 2001
+From: Richard Purdie <rpurdie@linux.intel.com>
+Date: Wed, 9 Dec 2009 23:59:44 +0000
+Subject: [PATCH] tcl: Add tcltk from OE.dev but with legacy staging function
+
Upstream-Status: Pending
+---
+ unix/Makefile.in | 5 ++++-
+ unix/tcl.m4 | 3 +++
+ 2 files changed, 7 insertions(+), 1 deletion(-)
-Index: unix/configure
-===================================================================
---- unix.orig/configure 2013-09-19 13:17:13.000000000 -0700
-+++ unix/configure 2013-11-11 00:20:51.519490342 -0800
-@@ -7599,6 +7599,9 @@
- # get rid of the warnings.
- #CFLAGS_OPTIMIZE="${CFLAGS_OPTIMIZE} -D__NO_STRING_INLINES -D__NO_MATH_INLINES"
-
-+ # following line added by CW for Debian GNU/Linux
-+ TCL_SHLIB_LD_EXTRAS="-Wl,-soname,\${TCL_LIB_FILE}.0"
-+
- SHLIB_LD='${CC} ${CFLAGS} ${LDFLAGS} -shared'
- DL_OBJS="tclLoadDl.o"
- DL_LIBS="-ldl"
-Index: unix/tcl.m4
-===================================================================
---- unix.orig/tcl.m4 2013-09-19 13:17:13.000000000 -0700
-+++ unix/tcl.m4 2013-11-11 00:17:24.263485123 -0800
-@@ -1415,6 +1415,9 @@
- # get rid of the warnings.
- #CFLAGS_OPTIMIZE="${CFLAGS_OPTIMIZE} -D__NO_STRING_INLINES -D__NO_MATH_INLINES"
-
-+ # following line added by CW for Debian GNU/Linux
-+ TCL_SHLIB_LD_EXTRAS="-Wl,-soname,\${TCL_LIB_FILE}.0"
-+
- SHLIB_LD='${CC} ${CFLAGS} ${LDFLAGS} -shared'
- DL_OBJS="tclLoadDl.o"
- DL_LIBS="-ldl"
-Index: unix/Makefile.in
-===================================================================
---- unix.orig/Makefile.in 2013-09-19 13:17:13.000000000 -0700
-+++ unix/Makefile.in 2013-11-11 00:20:32.423489861 -0800
-@@ -796,7 +796,10 @@
- done;
+diff --git a/unix/Makefile.in b/unix/Makefile.in
+index 7619afc..9dd053d 100644
+--- a/unix/Makefile.in
++++ b/unix/Makefile.in
+@@ -904,7 +904,10 @@ install-binaries: binaries
+ done
@echo "Installing $(LIB_FILE) to $(DLL_INSTALL_DIR)/"
@@INSTALL_LIB@
- @chmod 555 "$(DLL_INSTALL_DIR)/$(LIB_FILE)"
@@ -44,3 +25,17 @@ Index: unix/Makefile.in
@echo "Installing ${TCL_EXE} as $(BIN_INSTALL_DIR)/tclsh$(VERSION)${EXE_SUFFIX}"
@$(INSTALL_PROGRAM) ${TCL_EXE} "$(BIN_INSTALL_DIR)/tclsh$(VERSION)${EXE_SUFFIX}"
@echo "Installing tclConfig.sh to $(CONFIG_INSTALL_DIR)/"
+diff --git a/unix/tcl.m4 b/unix/tcl.m4
+index 0307a06..37c4d67 100644
+--- a/unix/tcl.m4
++++ b/unix/tcl.m4
+@@ -1378,6 +1378,9 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
+ # get rid of the warnings.
+ #CFLAGS_OPTIMIZE="${CFLAGS_OPTIMIZE} -D__NO_STRING_INLINES -D__NO_MATH_INLINES"
+
++ # following line added by CW for Debian GNU/Linux
++ TCL_SHLIB_LD_EXTRAS="-Wl,-soname,\${TCL_LIB_FILE}.0"
++
+ SHLIB_LD='${CC} ${CFLAGS} ${LDFLAGS} -shared'
+ DL_OBJS="tclLoadDl.o"
+ DL_LIBS="-ldl"
diff --git a/meta/recipes-devtools/tcltk/tcl/tcl-remove-hardcoded-install-path.patch b/meta/recipes-devtools/tcltk/tcl/tcl-remove-hardcoded-install-path.patch
index 17d251d554..93e7877256 100644
--- a/meta/recipes-devtools/tcltk/tcl/tcl-remove-hardcoded-install-path.patch
+++ b/meta/recipes-devtools/tcltk/tcl/tcl-remove-hardcoded-install-path.patch
@@ -1,4 +1,4 @@
-From 6efc98774681795712073c2b91e5e9d1763239b8 Mon Sep 17 00:00:00 2001
+From 050fc597fbfa4da2c31bd0df58c871892a490470 Mon Sep 17 00:00:00 2001
From: "Song.Li" <Song.Li@windriver.com>
Date: Wed, 1 Aug 2012 19:05:51 +0800
Subject: [PATCH] tcl:install tcl to lib64 instead of lib on 64bit target
@@ -7,37 +7,20 @@ Remove hardcoded library install path. Change $(prefix)/lib/ to ${libdir}.
[YOCTO #2876]
-This is not a bug, but libraries should be installed into directory .../lib/.
-On 64bit target that should be lib64/.
-
-Upstream-Status: Inappropriate [configuration]
+Upstream-Status: Pending
Signed-off-by: Song.Li <Song.Li@windriver.com>
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
---
- configure | 2 +-
- configure.in | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
+ unix/configure.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
-Index: unix/configure
-===================================================================
---- unix.orig/configure 2013-11-10 23:38:33.643426430 -0800
-+++ unix/configure 2013-11-10 23:39:51.347428387 -0800
-@@ -19134,7 +19134,7 @@
-
- eval "TCL_LIB_FILE=${TCL_LIB_FILE}"
-
--test -z "$TCL_LIBRARY" && TCL_LIBRARY='$(prefix)/lib/tcl$(VERSION)'
-+test -z "$TCL_LIBRARY" && TCL_LIBRARY='$(libdir)/tcl$(VERSION)'
- PRIVATE_INCLUDE_DIR='$(includedir)'
- HTML_DIR='$(DISTDIR)/html'
-
-Index: unix/configure.in
-===================================================================
---- unix.orig/configure.in 2013-11-10 23:20:50.000000000 -0800
-+++ unix/configure.in 2013-11-10 23:39:41.199428131 -0800
-@@ -790,7 +790,7 @@
+diff --git a/unix/configure.in b/unix/configure.in
+index 4f62510..4974fb6 100644
+--- a/unix/configure.in
++++ b/unix/configure.in
+@@ -775,7 +775,7 @@ eval "TCL_LIB_FILE=libtcl${LIB_SUFFIX}"
eval "TCL_LIB_FILE=${TCL_LIB_FILE}"
diff --git a/meta/recipes-devtools/tcltk/tcl_8.6.10.bb b/meta/recipes-devtools/tcltk/tcl_8.6.10.bb
deleted file mode 100644
index e6feb25a7e..0000000000
--- a/meta/recipes-devtools/tcltk/tcl_8.6.10.bb
+++ /dev/null
@@ -1,106 +0,0 @@
-SUMMARY = "Tool Command Language"
-HOMEPAGE = "http://tcl.sourceforge.net"
-SECTION = "devel/tcltk"
-
-# http://www.tcl.tk/software/tcltk/license.html
-LICENSE = "tcl & BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://../license.terms;md5=058f6229798281bbcac4239c788cfa38 \
- file://../compat/license.terms;md5=058f6229798281bbcac4239c788cfa38 \
- file://../library/license.terms;md5=058f6229798281bbcac4239c788cfa38 \
- file://../macosx/license.terms;md5=058f6229798281bbcac4239c788cfa38 \
- file://../tests/license.terms;md5=058f6229798281bbcac4239c788cfa38 \
- file://../win/license.terms;md5=058f6229798281bbcac4239c788cfa38 \
-"
-
-DEPENDS = "tcl-native zlib"
-
-BASE_SRC_URI = "${SOURCEFORGE_MIRROR}/tcl/${BPN}${PV}-src.tar.gz \
- file://tcl-add-soname.patch"
-SRC_URI = "${BASE_SRC_URI} \
- file://fix_non_native_build_issue.patch \
- file://fix_issue_with_old_distro_glibc.patch \
- file://no_packages.patch \
- file://tcl-remove-hardcoded-install-path.patch \
- file://alter-includedir.patch \
- file://0001-Fix-abd4abedd2-Failed-to-build-tk-8.6.10-with-cross-.patch;patchdir=.. \
- file://run-ptest \
-"
-SRC_URI[md5sum] = "97c55573f8520bcab74e21bfd8d0aadc"
-SRC_URI[sha256sum] = "5196dbf6638e3df8d5c87b5815c8c2b758496eb6f0e41446596c9a4e638d87ed"
-
-SRC_URI_class-native = "${BASE_SRC_URI}"
-
-S = "${WORKDIR}/${BPN}${PV}/unix"
-
-PSEUDO_IGNORE_PATHS .= ",${WORKDIR}/${BPN}${PV}"
-VER = "${PV}"
-
-inherit autotools ptest binconfig update-alternatives
-
-EXTRA_OECONF = "--enable-threads --disable-rpath --libdir=${libdir}"
-
-do_compile_prepend() {
- echo > ${S}/../compat/fixstrtod.c
-}
-
-do_install() {
- autotools_do_install
- oe_runmake 'DESTDIR=${D}' install-private-headers
- ln -sf ./tclsh${VER} ${D}${bindir}/tclsh
- ln -sf tclsh8.6 ${D}${bindir}/tclsh${VER}
- sed -i "s;-L${B};-L${STAGING_LIBDIR};g" tclConfig.sh
- sed -i "s;'${WORKDIR};'${STAGING_INCDIR};g" tclConfig.sh
- install -d ${D}${bindir_crossscripts}
- install -m 0755 tclConfig.sh ${D}${bindir_crossscripts}
- install -m 0755 tclConfig.sh ${D}${libdir}
- for dir in compat generic unix; do
- install -d ${D}${includedir}/${BPN}${VER}/$dir
- install -m 0644 ${S}/../$dir/*.h ${D}${includedir}/${BPN}${VER}/$dir/
- done
-}
-
-SYSROOT_DIRS += "${bindir_crossscripts}"
-
-PACKAGES =+ "tcl-lib"
-FILES_tcl-lib = "${libdir}/libtcl8.6.so.*"
-FILES_${PN} += "${libdir}/tcl${VER} ${libdir}/tcl8.6 ${libdir}/tcl8"
-FILES_${PN}-dev += "${libdir}/tclConfig.sh ${libdir}/tclooConfig.sh"
-
-ALTERNATIVE_${PN}-doc = "Thread.3"
-ALTERNATIVE_LINK_NAME[Thread.3] = "${mandir}/man3/Thread.3"
-
-# isn't getting picked up by shlibs code
-RDEPENDS_${PN} += "tcl-lib"
-RDEPENDS_${PN}_class-native = ""
-RDEPENDS_${PN}-ptest += "libgcc"
-
-BBCLASSEXTEND = "native nativesdk"
-
-do_compile_ptest() {
- oe_runmake tcltest
-}
-
-do_install_ptest() {
- cp ${B}/tcltest ${D}${PTEST_PATH}
- cp -r ${S}/../library ${D}${PTEST_PATH}
- cp -r ${S}/../tests ${D}${PTEST_PATH}
-}
-
-# Fix some paths that might be used by Tcl extensions
-BINCONFIG_GLOB = "*Config.sh"
-
-# Fix the path in sstate
-SSTATE_SCAN_FILES += "*Config.sh"
-
-# Cleanup host path from ${libdir}/tclConfig.sh and remove the
-# ${bindir_crossscripts}/tclConfig.sh from target
-PACKAGE_PREPROCESS_FUNCS += "tcl_package_preprocess"
-tcl_package_preprocess() {
- sed -i -e "s;${DEBUG_PREFIX_MAP};;g" \
- -e "s;-L${STAGING_LIBDIR};-L${libdir};g" \
- -e "s;${STAGING_INCDIR};${includedir};g" \
- -e "s;--sysroot=${RECIPE_SYSROOT};;g" \
- ${PKGD}${libdir}/tclConfig.sh
-
- rm -f ${PKGD}${bindir_crossscripts}/tclConfig.sh
-}
diff --git a/meta/recipes-devtools/tcltk/tcl_8.6.14.bb b/meta/recipes-devtools/tcltk/tcl_8.6.14.bb
new file mode 100644
index 0000000000..de4f5b878f
--- /dev/null
+++ b/meta/recipes-devtools/tcltk/tcl_8.6.14.bb
@@ -0,0 +1,110 @@
+SUMMARY = "Tool Command Language"
+HOMEPAGE = "http://tcl.sourceforge.net"
+DESCRIPTION = "Tool Command Language, is an open-source multi-purpose C library which includes a powerful dynamic scripting language. Together they provide ideal cross-platform development environment for any programming project."
+SECTION = "devel/tcltk"
+
+# http://www.tcl.tk/software/tcltk/license.html
+LICENSE = "TCL & BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://license.terms;md5=058f6229798281bbcac4239c788cfa38 \
+ file://compat/license.terms;md5=058f6229798281bbcac4239c788cfa38 \
+ file://library/license.terms;md5=058f6229798281bbcac4239c788cfa38 \
+ file://macosx/license.terms;md5=058f6229798281bbcac4239c788cfa38 \
+ file://tests/license.terms;md5=058f6229798281bbcac4239c788cfa38 \
+ file://win/license.terms;md5=058f6229798281bbcac4239c788cfa38 \
+"
+
+DEPENDS = "tcl-native zlib"
+
+BASE_SRC_URI = "${SOURCEFORGE_MIRROR}/tcl/tcl-core${PV}-src.tar.gz \
+ file://tcl-add-soname.patch"
+SRC_URI = "${BASE_SRC_URI} \
+ file://fix_non_native_build_issue.patch \
+ file://tcl-remove-hardcoded-install-path.patch \
+ file://alter-includedir.patch \
+ file://interp.patch \
+ file://run-ptest \
+ "
+SRC_URI[sha256sum] = "ff604f43862a778827d7ecd1ad7686950ac2ef48d9cf69d3424cea9de08d9a72"
+
+SRC_URI:class-native = "${BASE_SRC_URI}"
+
+UPSTREAM_CHECK_URI = "https://www.tcl.tk/software/tcltk/download.html"
+UPSTREAM_CHECK_REGEX = "tcl(?P<pver>\d+(\.\d+)+)-src"
+
+S = "${WORKDIR}/${BPN}${PV}"
+
+VER = "${PV}"
+
+inherit autotools ptest binconfig
+
+AUTOTOOLS_SCRIPT_PATH = "${S}/unix"
+EXTRA_OECONF = "--enable-threads --disable-rpath --enable-man-suffix"
+
+# Prevent installing copy of tzdata based on tzdata installation on the build host
+# It doesn't install tzdata if one of the following files exist on the host:
+# /usr/share/zoneinfo/UTC /usr/share/zoneinfo/GMT /usr/share/lib/zoneinfo/UTC /usr/share/lib/zoneinfo/GMT /usr/lib/zoneinfo/UTC /usr/lib/zoneinfo/GMT
+# otherwise "/usr/lib/tcl8.6/tzdata" is included in tcl package
+EXTRA_OECONF += "--with-tzdata=no"
+
+do_install() {
+ autotools_do_install
+ oe_runmake 'DESTDIR=${D}' install-private-headers
+ ln -sf ./tclsh${VER} ${D}${bindir}/tclsh
+ ln -sf tclsh8.6 ${D}${bindir}/tclsh${VER}
+ sed -i "s;-L${B};-L${STAGING_LIBDIR};g" tclConfig.sh
+ sed -i "s;'${WORKDIR};'${STAGING_INCDIR};g" tclConfig.sh
+ install -d ${D}${bindir_crossscripts}
+ install -m 0755 tclConfig.sh ${D}${bindir_crossscripts}
+ install -m 0755 tclConfig.sh ${D}${libdir}
+ for dir in compat generic unix; do
+ install -d ${D}${includedir}/${BPN}${VER}/$dir
+ install -m 0644 ${S}/$dir/*.h ${D}${includedir}/${BPN}${VER}/$dir/
+ done
+}
+
+SYSROOT_DIRS += "${bindir_crossscripts}"
+
+PACKAGES =+ "tcl-lib"
+FILES:tcl-lib = "${libdir}/libtcl8.6.so.*"
+FILES:${PN} += "${libdir}/tcl${VER} ${libdir}/tcl8.6 ${libdir}/tcl8"
+FILES:${PN}-dev += "${libdir}/tclConfig.sh ${libdir}/tclooConfig.sh"
+
+# isn't getting picked up by shlibs code
+RDEPENDS:${PN} += "tcl-lib"
+RDEPENDS:${PN}-ptest += "libgcc"
+
+BBCLASSEXTEND = "native nativesdk"
+
+do_compile_ptest() {
+ oe_runmake tcltest
+}
+
+do_install_ptest() {
+ cp ${B}/tcltest ${D}${PTEST_PATH}
+ cp -r ${S}/library ${D}${PTEST_PATH}
+ cp -r ${S}/tests ${D}${PTEST_PATH}
+}
+
+do_install_ptest:append:libc-musl () {
+ # Assumes locales other than provided by musl-locales
+ sed -i '/SKIP="$SKIP socket.*$/a # unixInit-3* is suppressed due to hardcoded locale assumptions\nSKIP="$SKIP unixInit-3\\\*"' ${D}${PTEST_PATH}/run-ptest
+}
+
+# Fix some paths that might be used by Tcl extensions
+BINCONFIG_GLOB = "*Config.sh"
+
+# Fix the path in sstate
+SSTATE_SCAN_FILES += "*Config.sh"
+
+# Cleanup host path from ${libdir}/tclConfig.sh and remove the
+# ${bindir_crossscripts}/tclConfig.sh from target
+PACKAGE_PREPROCESS_FUNCS += "tcl_package_preprocess"
+tcl_package_preprocess() {
+ sed -i -e "s;${DEBUG_PREFIX_MAP};;g" \
+ -e "s;-L${STAGING_LIBDIR};-L${libdir};g" \
+ -e "s;${STAGING_INCDIR};${includedir};g" \
+ -e "s;--sysroot=${RECIPE_SYSROOT};;g" \
+ ${PKGD}${libdir}/tclConfig.sh
+
+ rm -f ${PKGD}${bindir_crossscripts}/tclConfig.sh
+}
diff --git a/meta/recipes-devtools/unfs3/unfs3/0001-Add-listen-action-for-a-tcp-socket.patch b/meta/recipes-devtools/unfs3/unfs3/0001-Add-listen-action-for-a-tcp-socket.patch
deleted file mode 100644
index e9b9d3df46..0000000000
--- a/meta/recipes-devtools/unfs3/unfs3/0001-Add-listen-action-for-a-tcp-socket.patch
+++ /dev/null
@@ -1,54 +0,0 @@
-From b42ab8e1aca951dd06c113159491b3fd5cf06f2e Mon Sep 17 00:00:00 2001
-From: Haiqing Bai <Haiqing.Bai@windriver.com>
-Date: Thu, 24 Oct 2019 09:39:04 +0800
-Subject: [PATCH] Add "listen" action for a tcp socket which does not call
- 'listen' after 'bind'
-
-It is found that /usr/bin/unfsd customus 100% cpu after starting qemu with 'nfs'
-option, and below lots of error messages shows when strace the process:
-
-poll([{fd=3, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND},{fd=4, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND},
-{fd=5, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND},{fd=6, events =POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}],
-4, 2000) = 2 ([{fd=4, revents=POLLHUP},{fd=6, revents=POLLHUP}])
-accept(4, 0x7ffd5e6dddc0, [128]) = -1 EINVAL (Invalid argument)
-accept(6, 0x7ffd5e6dddc0, [128]) = -1 EINVAL (Invalid argument)
-
-% time seconds usecs/call calls errors syscall
------- ----------- ----------- --------- --------- ----------------
- 70.87 0.005392 0 513886 513886 accept
- 29.13 0.002216 0 256943 poll
- 0.00 0.000000 0 4 read
-
-The root cause is that 'listen' is not called for the binded
-socket. The depended libtipc does not call 'listen' if found
-the incomming socket is binded, so 'accept' reports the error
-in the 'for' loop and cpu consumed.
-
-Upstream-Status: Pending
-
-Signed-off-by: Haiqing Bai <Haiqing.Bai@windriver.com>
----
- daemon.c | 7 +++++++
- 1 file changed, 7 insertions(+)
-
-diff --git a/daemon.c b/daemon.c
-index 028a181..4c85903 100644
---- a/daemon.c
-+++ b/daemon.c
-@@ -814,6 +814,13 @@ static SVCXPRT *create_tcp_transport(unsigned int port)
- fprintf(stderr, "Couldn't bind to tcp port %d\n", port);
- exit(1);
- }
-+
-+ if (listen(sock, SOMAXCONN) < 0) {
-+ perror("listen");
-+ fprintf(stderr, "Couldn't listen on the address \n");
-+ close(sock);
-+ exit(1);
-+ }
- }
-
- transp = svctcp_create(sock, 0, 0);
---
-1.9.1
-
diff --git a/meta/recipes-devtools/unfs3/unfs3/0001-Alias-off64_t-to-off_t-on-linux-if-not-defined.patch b/meta/recipes-devtools/unfs3/unfs3/0001-Alias-off64_t-to-off_t-on-linux-if-not-defined.patch
new file mode 100644
index 0000000000..91909fa236
--- /dev/null
+++ b/meta/recipes-devtools/unfs3/unfs3/0001-Alias-off64_t-to-off_t-on-linux-if-not-defined.patch
@@ -0,0 +1,28 @@
+From 949db882e487d728c44bb68139682b38396dd275 Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Wed, 14 Dec 2022 14:50:10 -0800
+Subject: [PATCH] Alias off64_t to off_t on linux if not defined
+
+Musl C library does not define off64_t and has 64-bit default off_t
+therefore define off64_t as an alias on linux as well when configure
+detects that off64_t is not provided by a linux system
+
+Upstream-Status: Submitted [https://github.com/unfs3/unfs3/pull/29]
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ nfs.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/nfs.h b/nfs.h
+index aded011..7996c67 100644
+--- a/nfs.h
++++ b/nfs.h
+@@ -62,7 +62,7 @@ typedef int32_t int32;
+ #endif
+
+ #ifndef HAVE_OFF64_T
+-#ifdef __APPLE__
++#if defined(__APPLE__) || defined(__linux__)
+ typedef off_t off64_t;
+ #endif
+ #endif
diff --git a/meta/recipes-devtools/unfs3/unfs3/0001-attr-fix-utime-for-symlink.patch b/meta/recipes-devtools/unfs3/unfs3/0001-attr-fix-utime-for-symlink.patch
index 6957d102b8..a0f3740d6a 100644
--- a/meta/recipes-devtools/unfs3/unfs3/0001-attr-fix-utime-for-symlink.patch
+++ b/meta/recipes-devtools/unfs3/unfs3/0001-attr-fix-utime-for-symlink.patch
@@ -1,6 +1,6 @@
-From 3f4fcb62661059bad77a2e957b4621137797bc2f Mon Sep 17 00:00:00 2001
+From 7e789895919d57d573ebb8faa147d1286104cd01 Mon Sep 17 00:00:00 2001
From: Rui Wang <rui.wang@windriver.com>
-Date: Fri, 15 Jun 2018 14:19:10 +0800
+Date: Mon, 24 Apr 2023 02:57:57 -0700
Subject: [PATCH] attr: fix utime for symlink
unfs3 has an old defect that it can not change the timestamps of a
@@ -15,9 +15,9 @@ Making unfs3 support lutimes(), which can modify the symlink file
itself. Considering not every system support this function, so a
function checking is necessary.
-Upstream-Status: Submitted [https://sourceforge.net/p/unfs3/bugs/12/]
+Upstream-Status: Submitted [https://github.com/unfs3/unfs3/pull/35]
-Signed-off-by: Rui Wang <rui.wang@windriver.com>
+Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
attr.c | 15 +++++++++++----
backend_unix.h | 2 ++
@@ -25,22 +25,22 @@ Signed-off-by: Rui Wang <rui.wang@windriver.com>
3 files changed, 14 insertions(+), 4 deletions(-)
diff --git a/attr.c b/attr.c
-index 73e5c75..427d0e2 100644
+index 0ce9375..930ce6e 100644
--- a/attr.c
+++ b/attr.c
-@@ -280,7 +280,7 @@ post_op_attr get_post_cached(struct svc_req * req)
+@@ -285,7 +285,7 @@ post_op_attr get_post_cached(struct svc_req * req)
static nfsstat3 set_time(const char *path, backend_statstruct buf, sattr3 new)
{
time_t new_atime, new_mtime;
- struct utimbuf utim;
+ struct timeval stamps[2];
int res;
-
+
/* set atime and mtime */
-@@ -302,10 +302,17 @@ static nfsstat3 set_time(const char *path, backend_statstruct buf, sattr3 new)
- else /* DONT_CHANGE */
- new_mtime = buf.st_mtime;
-
+@@ -307,10 +307,17 @@ static nfsstat3 set_time(const char *path, backend_statstruct buf, sattr3 new)
+ else /* DONT_CHANGE */
+ new_mtime = buf.st_mtime;
+
- utim.actime = new_atime;
- utim.modtime = new_mtime;
+ stamps[0].tv_sec = new_atime;
@@ -53,13 +53,13 @@ index 73e5c75..427d0e2 100644
+#else
+ res = backend_utimes(path, stamps);
+#endif
-
+
- res = backend_utime(path, &utim);
- if (res == -1)
- return setattr_err();
+ if (res == -1)
+ return setattr_err();
}
diff --git a/backend_unix.h b/backend_unix.h
-index fbc2af3..813ffd3 100644
+index 4db72ae..9cce9ab 100644
--- a/backend_unix.h
+++ b/backend_unix.h
@@ -61,6 +61,8 @@
@@ -72,14 +72,17 @@ index fbc2af3..813ffd3 100644
#define backend_dirstream DIR
#define backend_statvfsstruct struct statvfs
diff --git a/configure.ac b/configure.ac
-index aeec598..ea7f167 100644
+index d46c905..c21afe3 100644
--- a/configure.ac
+++ b/configure.ac
-@@ -37,6 +37,7 @@ AC_CHECK_FUNCS(setresuid setresgid)
+@@ -32,6 +32,7 @@ AC_CHECK_FUNCS(setresuid setresgid)
AC_CHECK_FUNCS(vsyslog)
AC_CHECK_FUNCS(lchown)
AC_CHECK_FUNCS(setgroups)
+AC_CHECK_FUNCS(lutimes)
- UNFS3_SOLARIS_RPC
- UNFS3_PORTMAP_DEFINE
UNFS3_COMPILE_WARNINGS
+
+ PKG_CHECK_MODULES([TIRPC], [libtirpc])
+--
+2.40.0
+
diff --git a/meta/recipes-devtools/unfs3/unfs3/fix_pid_race_parent_writes_child_pid.patch b/meta/recipes-devtools/unfs3/unfs3/0001-daemon.c-Fix-race-window-for-writing-of-the-pid-file.patch
index 46b187e5f3..20bbee90a0 100644
--- a/meta/recipes-devtools/unfs3/unfs3/fix_pid_race_parent_writes_child_pid.patch
+++ b/meta/recipes-devtools/unfs3/unfs3/0001-daemon.c-Fix-race-window-for-writing-of-the-pid-file.patch
@@ -1,4 +1,7 @@
-daemon.c: Fix race window for writing of the pid file
+From 212a947e776e7a25c1f2259615f461179bcb3663 Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin <alex@linutronix.de>
+Date: Wed, 23 Nov 2022 21:38:38 +0100
+Subject: [PATCH] daemon.c: Fix race window for writing of the pid file
The parent process should write the pid file such that the pid file
will can be checked immediately following exit of the fork from the
@@ -8,17 +11,18 @@ This allows external monitoring applications to watch the daemon
without having to add sleep calls to wait for the pid file be written
on a busy system.
+Upstream-Status: Submitted [https://github.com/unfs3/unfs3/pull/28]
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
-
-Upstream-Status: Submitted http://sourceforge.net/p/unfs3/bugs/5/
-
+Signed-off-by: Alexander Kanavin <alex@linutronix.de>
---
- daemon.c | 12 +++++++++---
+ daemon.c | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
+diff --git a/daemon.c b/daemon.c
+index ff53b7a..13b06a4 100644
--- a/daemon.c
+++ b/daemon.c
-@@ -153,7 +153,7 @@ int get_socket_type(struct svc_req *rqst
+@@ -166,7 +166,7 @@ int get_socket_type(struct svc_req *rqstp)
/*
* write current pid to a file
*/
@@ -27,7 +31,7 @@ Upstream-Status: Submitted http://sourceforge.net/p/unfs3/bugs/5/
{
char buf[16];
int fd, res, len;
-@@ -175,7 +175,7 @@ static void create_pid_file(void)
+@@ -188,7 +188,7 @@ static void create_pid_file(void)
}
#endif
@@ -36,7 +40,7 @@ Upstream-Status: Submitted http://sourceforge.net/p/unfs3/bugs/5/
len = strlen(buf);
res = backend_pwrite(fd, buf, len, 0);
-@@ -970,6 +970,10 @@ int main(int argc, char **argv)
+@@ -1122,6 +1122,10 @@ int main(int argc, char **argv)
fprintf(stderr, "could not fork into background\n");
daemon_exit(0);
}
@@ -47,7 +51,7 @@ Upstream-Status: Submitted http://sourceforge.net/p/unfs3/bugs/5/
}
#endif /* WIN32 */
-@@ -1006,8 +1010,10 @@ int main(int argc, char **argv)
+@@ -1161,8 +1165,10 @@ int main(int argc, char **argv)
/* no umask to not screw up create modes */
umask(0);
@@ -59,3 +63,6 @@ Upstream-Status: Submitted http://sourceforge.net/p/unfs3/bugs/5/
/* initialize internal stuff */
fh_cache_init();
+--
+2.30.2
+
diff --git a/meta/recipes-devtools/unfs3/unfs3/0001-daemon.c-Libtirpc-porting-fixes.patch b/meta/recipes-devtools/unfs3/unfs3/0001-daemon.c-Libtirpc-porting-fixes.patch
deleted file mode 100644
index 6eee6748f9..0000000000
--- a/meta/recipes-devtools/unfs3/unfs3/0001-daemon.c-Libtirpc-porting-fixes.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From c7a2a65d6c2a433312540c207860740d6e4e7629 Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Sun, 11 Mar 2018 17:32:54 -0700
-Subject: [PATCH] daemon.c: Libtirpc porting fixes
-
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
-Upstream-Status: Pending
-
- daemon.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/daemon.c b/daemon.c
-index 22f30f6..028a181 100644
---- a/daemon.c
-+++ b/daemon.c
-@@ -117,7 +117,7 @@ void logmsg(int prio, const char *fmt, ...)
- */
- struct in_addr get_remote(struct svc_req *rqstp)
- {
-- return (svc_getcaller(rqstp->rq_xprt))->sin_addr;
-+ return ((struct sockaddr_in*)svc_getcaller(rqstp->rq_xprt))->sin_addr;
- }
-
- /*
-@@ -125,7 +125,7 @@ struct in_addr get_remote(struct svc_req *rqstp)
- */
- short get_port(struct svc_req *rqstp)
- {
-- return (svc_getcaller(rqstp->rq_xprt))->sin_port;
-+ return ((struct sockaddr_in*)svc_getcaller(rqstp->rq_xprt))->sin_port;
- }
-
- /*
---
-2.16.2
-
diff --git a/meta/recipes-devtools/unfs3/unfs3/0001-fix-building-on-macOS.patch b/meta/recipes-devtools/unfs3/unfs3/0001-fix-building-on-macOS.patch
new file mode 100644
index 0000000000..f18ffd3711
--- /dev/null
+++ b/meta/recipes-devtools/unfs3/unfs3/0001-fix-building-on-macOS.patch
@@ -0,0 +1,27 @@
+From 989b87ae46b3183a742031373fbb3e912ab9b666 Mon Sep 17 00:00:00 2001
+From: Andrey Filipenkov <decapitator@ukr.net>
+Date: Wed, 2 Nov 2022 13:38:40 +0300
+Subject: [PATCH] fix building on macOS
+
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+Upstream-Status: Backport [https://github.com/unfs3/unfs3/commit/989b87ae46b3183a742031373fbb3e912ab9b666]
+---
+ attr.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/attr.c b/attr.c
+index 6253e84..0ce9375 100644
+--- a/attr.c
++++ b/attr.c
+@@ -18,6 +18,8 @@
+ #include <utime.h>
+ #include <errno.h>
+ #include <dirent.h>
++#include <stdlib.h>
++#include <string.h>
+
+ #include "backend.h"
+ #include "nfs.h"
+--
+2.39.1
+
diff --git a/meta/recipes-devtools/unfs3/unfs3/0001-locate.c-Include-attr.h.patch b/meta/recipes-devtools/unfs3/unfs3/0001-locate.c-Include-attr.h.patch
new file mode 100644
index 0000000000..076e08fadc
--- /dev/null
+++ b/meta/recipes-devtools/unfs3/unfs3/0001-locate.c-Include-attr.h.patch
@@ -0,0 +1,28 @@
+From 63e0785bb379a8f2c41f34f5cd938ca38555e605 Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Fri, 13 Jan 2023 23:41:01 -0800
+Subject: [PATCH] locate.c: Include attr.h
+
+Its needed for fix_dir_times() API declarations
+
+Upstream-Status: Submitted [https://github.com/unfs3/unfs3/pull/32]
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ locate.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/locate.c b/locate.c
+index 6bbe71f..84e0fe5 100644
+--- a/locate.c
++++ b/locate.c
+@@ -27,6 +27,7 @@
+ #include "nfs.h"
+ #include "fh.h"
+ #include "daemon.h"
++#include "attr.h"
+
+ /*
+ * these are the brute-force file searching routines that are used
+--
+2.39.0
+
diff --git a/meta/recipes-devtools/unfs3/unfs3/alternate_rpc_ports.patch b/meta/recipes-devtools/unfs3/unfs3/alternate_rpc_ports.patch
deleted file mode 100644
index ff745d4774..0000000000
--- a/meta/recipes-devtools/unfs3/unfs3/alternate_rpc_ports.patch
+++ /dev/null
@@ -1,158 +0,0 @@
-Add ability to specify rcp port numbers
-
-In order to run more than one unfs server on a host system, you must
-be able to specify alternate rpc port numbers.
-
-Jason Wessel <jason.wessel@windriver.com>
-
-Upstream-Status: Submitted http://sourceforge.net/p/unfs3/bugs/5/
-
----
- daemon.c | 44 +++++++++++++++++++++++++++++++-------------
- mount.c | 4 ++--
- 2 files changed, 33 insertions(+), 15 deletions(-)
-
---- a/daemon.c
-+++ b/daemon.c
-@@ -78,6 +78,8 @@ int opt_testconfig = FALSE;
- struct in_addr opt_bind_addr;
- int opt_readable_executables = FALSE;
- char *opt_pid_file = NULL;
-+int nfs_prog = NFS3_PROGRAM;
-+int mount_prog = MOUNTPROG;
-
- /* Register with portmapper? */
- int opt_portmapper = TRUE;
-@@ -206,7 +208,7 @@ static void parse_options(int argc, char
- {
-
- int opt = 0;
-- char *optstring = "bcC:de:hl:m:n:prstTuwi:";
-+ char *optstring = "bcC:de:hl:m:n:prstTuwi:x:y:";
-
- while (opt != -1) {
- opt = getopt(argc, argv, optstring);
-@@ -261,8 +263,24 @@ static void parse_options(int argc, char
- printf
- ("\t-r report unreadable executables as readable\n");
- printf("\t-T test exports file and exit\n");
-+ printf("\t-x <port> alternate NFS RPC port\n");
-+ printf("\t-y <port> alternate MOUNTD RPC port\n");
- exit(0);
- break;
-+ case 'x':
-+ nfs_prog = strtol(optarg, NULL, 10);
-+ if (nfs_prog == 0) {
-+ fprintf(stderr, "Invalid NFS RPC port\n");
-+ exit(1);
-+ }
-+ break;
-+ case 'y':
-+ mount_prog = strtol(optarg, NULL, 10);
-+ if (mount_prog == 0) {
-+ fprintf(stderr, "Invalid MOUNTD RPC port\n");
-+ exit(1);
-+ }
-+ break;
- case 'l':
- opt_bind_addr.s_addr = inet_addr(optarg);
- if (opt_bind_addr.s_addr == (unsigned) -1) {
-@@ -347,12 +365,12 @@ void daemon_exit(int error)
- #endif /* WIN32 */
-
- if (opt_portmapper) {
-- svc_unregister(MOUNTPROG, MOUNTVERS1);
-- svc_unregister(MOUNTPROG, MOUNTVERS3);
-+ svc_unregister(mount_prog, MOUNTVERS1);
-+ svc_unregister(mount_prog, MOUNTVERS3);
- }
-
- if (opt_portmapper) {
-- svc_unregister(NFS3_PROGRAM, NFS_V3);
-+ svc_unregister(nfs_prog, NFS_V3);
- }
-
- if (error == SIGSEGV)
-@@ -657,13 +675,13 @@ static void mountprog_3(struct svc_req *
- static void register_nfs_service(SVCXPRT * udptransp, SVCXPRT * tcptransp)
- {
- if (opt_portmapper) {
-- pmap_unset(NFS3_PROGRAM, NFS_V3);
-+ pmap_unset(nfs_prog, NFS_V3);
- }
-
- if (udptransp != NULL) {
- /* Register NFS service for UDP */
- if (!svc_register
-- (udptransp, NFS3_PROGRAM, NFS_V3, nfs3_program_3,
-+ (udptransp, nfs_prog, NFS_V3, nfs3_program_3,
- opt_portmapper ? IPPROTO_UDP : 0)) {
- fprintf(stderr, "%s\n",
- "unable to register (NFS3_PROGRAM, NFS_V3, udp).");
-@@ -674,7 +692,7 @@ static void register_nfs_service(SVCXPRT
- if (tcptransp != NULL) {
- /* Register NFS service for TCP */
- if (!svc_register
-- (tcptransp, NFS3_PROGRAM, NFS_V3, nfs3_program_3,
-+ (tcptransp, nfs_prog, NFS_V3, nfs3_program_3,
- opt_portmapper ? IPPROTO_TCP : 0)) {
- fprintf(stderr, "%s\n",
- "unable to register (NFS3_PROGRAM, NFS_V3, tcp).");
-@@ -686,14 +704,14 @@ static void register_nfs_service(SVCXPRT
- static void register_mount_service(SVCXPRT * udptransp, SVCXPRT * tcptransp)
- {
- if (opt_portmapper) {
-- pmap_unset(MOUNTPROG, MOUNTVERS1);
-- pmap_unset(MOUNTPROG, MOUNTVERS3);
-+ pmap_unset(mount_prog, MOUNTVERS1);
-+ pmap_unset(mount_prog, MOUNTVERS3);
- }
-
- if (udptransp != NULL) {
- /* Register MOUNT service (v1) for UDP */
- if (!svc_register
-- (udptransp, MOUNTPROG, MOUNTVERS1, mountprog_3,
-+ (udptransp, mount_prog, MOUNTVERS1, mountprog_3,
- opt_portmapper ? IPPROTO_UDP : 0)) {
- fprintf(stderr, "%s\n",
- "unable to register (MOUNTPROG, MOUNTVERS1, udp).");
-@@ -702,7 +720,7 @@ static void register_mount_service(SVCXP
-
- /* Register MOUNT service (v3) for UDP */
- if (!svc_register
-- (udptransp, MOUNTPROG, MOUNTVERS3, mountprog_3,
-+ (udptransp, mount_prog, MOUNTVERS3, mountprog_3,
- opt_portmapper ? IPPROTO_UDP : 0)) {
- fprintf(stderr, "%s\n",
- "unable to register (MOUNTPROG, MOUNTVERS3, udp).");
-@@ -713,7 +731,7 @@ static void register_mount_service(SVCXP
- if (tcptransp != NULL) {
- /* Register MOUNT service (v1) for TCP */
- if (!svc_register
-- (tcptransp, MOUNTPROG, MOUNTVERS1, mountprog_3,
-+ (tcptransp, mount_prog, MOUNTVERS1, mountprog_3,
- opt_portmapper ? IPPROTO_TCP : 0)) {
- fprintf(stderr, "%s\n",
- "unable to register (MOUNTPROG, MOUNTVERS1, tcp).");
-@@ -722,7 +740,7 @@ static void register_mount_service(SVCXP
-
- /* Register MOUNT service (v3) for TCP */
- if (!svc_register
-- (tcptransp, MOUNTPROG, MOUNTVERS3, mountprog_3,
-+ (tcptransp, mount_prog, MOUNTVERS3, mountprog_3,
- opt_portmapper ? IPPROTO_TCP : 0)) {
- fprintf(stderr, "%s\n",
- "unable to register (MOUNTPROG, MOUNTVERS3, tcp).");
---- a/mount.c
-+++ b/mount.c
-@@ -155,8 +155,8 @@ mountres3 *mountproc_mnt_3_svc(dirpath *
- /* error out if not version 3 */
- if (rqstp->rq_vers != 3) {
- logmsg(LOG_INFO,
-- "%s attempted mount with unsupported protocol version",
-- inet_ntoa(get_remote(rqstp)));
-+ "%s attempted mount with unsupported protocol version: %i",
-+ inet_ntoa(get_remote(rqstp)), rqstp->rq_vers);
- result.fhs_status = MNT3ERR_INVAL;
- return &result;
- }
diff --git a/meta/recipes-devtools/unfs3/unfs3/fix_compile_warning.patch b/meta/recipes-devtools/unfs3/unfs3/fix_compile_warning.patch
deleted file mode 100644
index aada014117..0000000000
--- a/meta/recipes-devtools/unfs3/unfs3/fix_compile_warning.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-daemon.c: Check exit code of chdir()
-
-Stop the compile warning and fix the code to act on a chdir() failure.
-If this one does fail something is very, very wrong.
-
-Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
-
-Upstream-Status: Submitted http://sourceforge.net/p/unfs3/bugs/5/
-
----
- daemon.c | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
---- a/daemon.c
-+++ b/daemon.c
-@@ -964,7 +964,8 @@ int main(int argc, char **argv)
- sigaction(SIGALRM, &act, NULL);
-
- /* don't make directory we started in busy */
-- chdir("/");
-+ if(chdir("/") < 0)
-+ daemon_exit(0);
-
- /* detach from terminal */
- if (opt_detach) {
diff --git a/meta/recipes-devtools/unfs3/unfs3/relative_max_socket_path_len.patch b/meta/recipes-devtools/unfs3/unfs3/relative_max_socket_path_len.patch
deleted file mode 100644
index 219dd35aec..0000000000
--- a/meta/recipes-devtools/unfs3/unfs3/relative_max_socket_path_len.patch
+++ /dev/null
@@ -1,74 +0,0 @@
-nfs.c: Allow max sa.sun_path for a localdomain socket with the user nfs-server
-
-There is a hard limit for the kernel of 108 characters for a
-localdomain socket name. To avoid problems with the user nfs
-server it should maximize the number of characters by using
-a relative path on the server side.
-
-Previously the nfs-server used the absolute path name passed to
-the sa.sunpath arg for binding the socket and this has caused
-problems for both the X server and UST binaries which make
-heavy use of named sockets with long names.
-
-Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
-
-Upstream-Status: Submitted http://sourceforge.net/p/unfs3/bugs/5/
-
----
- nfs.c | 29 +++++++++++++++++++++++++++--
- 1 file changed, 27 insertions(+), 2 deletions(-)
-
---- a/nfs.c
-+++ b/nfs.c
-@@ -672,6 +672,7 @@ SYMLINK3res *nfsproc3_symlink_3_svc(SYML
- }
-
- #ifndef WIN32
-+static char pathbuf_tmp[NFS_MAXPATHLEN + NFS_MAXNAMLEN + 1];
-
- /*
- * create Unix socket
-@@ -680,17 +681,41 @@ static int mksocket(const char *path, mo
- {
- int res, sock;
- struct sockaddr_un addr;
-+ unsigned int len = strlen(path);
-
- sock = socket(PF_UNIX, SOCK_STREAM, 0);
-- addr.sun_family = AF_UNIX;
-- strcpy(addr.sun_path, path);
- res = sock;
- if (res != -1) {
-+ addr.sun_family = AF_UNIX;
-+ if (len < sizeof(addr.sun_path) -1) {
-+ strcpy(addr.sun_path, path);
-+ } else {
-+ char *ptr;
-+ res = -1;
-+ if (len >= sizeof(path))
-+ goto out;
-+ strcpy(pathbuf_tmp, path);
-+ ptr = strrchr(pathbuf_tmp,'/');
-+ if (ptr) {
-+ *ptr = '\0';
-+ ptr++;
-+ if (chdir(pathbuf_tmp))
-+ goto out;
-+ } else {
-+ ptr = pathbuf_tmp;
-+ }
-+ if (strlen(ptr) >= sizeof(addr.sun_path))
-+ goto out;
-+ strcpy(addr.sun_path, ptr);
-+ }
- umask(~mode);
- res =
- bind(sock, (struct sockaddr *) &addr,
- sizeof(addr.sun_family) + strlen(addr.sun_path));
- umask(0);
-+out:
-+ if (chdir("/"))
-+ fprintf(stderr, "Internal failure to chdir /\n");
- close(sock);
- }
- return res;
diff --git a/meta/recipes-devtools/unfs3/unfs3/rename_fh_cache.patch b/meta/recipes-devtools/unfs3/unfs3/rename_fh_cache.patch
deleted file mode 100644
index e6d89530f8..0000000000
--- a/meta/recipes-devtools/unfs3/unfs3/rename_fh_cache.patch
+++ /dev/null
@@ -1,64 +0,0 @@
-From: Jason Wessel <jason.wessel@windriver.com>
-Date: Sat, 23 Feb 2013 08:49:08 -0600
-Subject: [PATCH] fh_cache: fix statle nfs handle on rename problem
-
-The following test case fails with modern linunx kernels which cache
-the renamed inode.
-
- % mkdir a;mkdir b;mv b a/;ls -l a
- ls: a/b: Stale NFS file handle
-
-The issue is that nfserver was not updating the fh_cache with the new
-location of the inode, when it moves directories.
-
-Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
-
-Upstream-Status: Submitted http://sourceforge.net/p/unfs3/bugs/5/
-
----
- fh_cache.c | 12 ++++++++++++
- fh_cache.h | 1 +
- nfs.c | 2 ++
- 3 files changed, 15 insertions(+)
-
---- a/fh_cache.c
-+++ b/fh_cache.c
-@@ -199,6 +199,18 @@ static char *fh_cache_lookup(uint32 dev,
- }
-
- /*
-+ * update a fh inode cache for an operation like rename
-+ */
-+void fh_cache_update(nfs_fh3 fh, char *path)
-+{
-+ unfs3_fh_t *obj = (void *) fh.data.data_val;
-+ backend_statstruct buf;
-+
-+ if (backend_lstat(path, &buf) != -1) {
-+ fh_cache_add(obj->dev, buf.st_ino, path);
-+ }
-+}
-+/*
- * resolve a filename into a path
- * cache-using wrapper for fh_decomp_raw
- */
---- a/fh_cache.h
-+++ b/fh_cache.h
-@@ -19,5 +19,6 @@ unfs3_fh_t fh_comp(const char *path, str
- unfs3_fh_t *fh_comp_ptr(const char *path, struct svc_req *rqstp, int need_dir);
-
- char *fh_cache_add(uint32 dev, uint64 ino, const char *path);
-+void fh_cache_update(nfs_fh3 fh, char *path);
-
- #endif
---- a/nfs.c
-+++ b/nfs.c
-@@ -876,6 +876,8 @@ RENAME3res *nfsproc3_rename_3_svc(RENAME
- res = backend_rename(from_obj, to_obj);
- if (res == -1)
- result.status = rename_err();
-+ /* Update the fh_cache with moved inode value */
-+ fh_cache_update(argp->to.dir, to_obj);
- }
- }
-
diff --git a/meta/recipes-devtools/unfs3/unfs3/tcp_no_delay.patch b/meta/recipes-devtools/unfs3/unfs3/tcp_no_delay.patch
deleted file mode 100644
index b3521c63eb..0000000000
--- a/meta/recipes-devtools/unfs3/unfs3/tcp_no_delay.patch
+++ /dev/null
@@ -1,56 +0,0 @@
-daemon.c: Add option for tcp no delay
-
-Allow the NFS tcp sockets to conditionally use TCP_NODELAY
-
-Upstream-Status: Submitted http://sourceforge.net/p/unfs3/bugs/5/
-
----
- daemon.c | 9 ++++++++-
- 1 file changed, 8 insertions(+), 1 deletion(-)
-
---- a/daemon.c
-+++ b/daemon.c
-@@ -17,6 +17,7 @@
- #ifndef WIN32
- #include <sys/socket.h>
- #include <netinet/in.h>
-+#include <netinet/tcp.h>
- #include <arpa/inet.h>
- #include <syslog.h>
- #else /* WIN32 */
-@@ -75,6 +76,7 @@ unsigned int opt_mount_port = NFS_PORT;
- int opt_singleuser = FALSE;
- int opt_brute_force = FALSE;
- int opt_testconfig = FALSE;
-+int opt_tcp_nodelay = FALSE;
- struct in_addr opt_bind_addr;
- int opt_readable_executables = FALSE;
- char *opt_pid_file = NULL;
-@@ -208,7 +210,7 @@ static void parse_options(int argc, char
- {
-
- int opt = 0;
-- char *optstring = "bcC:de:hl:m:n:prstTuwi:x:y:";
-+ char *optstring = "bcC:de:hl:m:Nn:prstTuwi:x:y:";
-
- while (opt != -1) {
- opt = getopt(argc, argv, optstring);
-@@ -295,6 +297,9 @@ static void parse_options(int argc, char
- exit(1);
- }
- break;
-+ case 'N':
-+ opt_tcp_nodelay = TRUE;
-+ break;
- case 'n':
- opt_nfs_port = strtol(optarg, NULL, 10);
- if (opt_nfs_port == 0) {
-@@ -802,6 +807,8 @@ static SVCXPRT *create_tcp_transport(uns
- sin.sin_addr.s_addr = opt_bind_addr.s_addr;
- sock = socket(PF_INET, SOCK_STREAM, 0);
- setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, (const char *) &on, sizeof(on));
-+ if (opt_tcp_nodelay)
-+ setsockopt(sock, IPPROTO_TCP, TCP_NODELAY, &on, sizeof(on));
- if (bind(sock, (struct sockaddr *) &sin, sizeof(struct sockaddr))) {
- perror("bind");
- fprintf(stderr, "Couldn't bind to tcp port %d\n", port);
diff --git a/meta/recipes-devtools/unfs3/unfs3/unfs3_parallel_build.patch b/meta/recipes-devtools/unfs3/unfs3/unfs3_parallel_build.patch
deleted file mode 100644
index 6f64dd5b3e..0000000000
--- a/meta/recipes-devtools/unfs3/unfs3/unfs3_parallel_build.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-Fix parallel build dependency issue
-
-If building with make -j2 the lib.a will not get built in time.
-
-Jason Wessel <jason.wessel@windriver.com>
-
-Upstream-Status: Submitted http://sourceforge.net/p/unfs3/bugs/5/
-
----
- Config/Makefile.in | 3 +++
- Makefile.in | 3 ++-
- 2 files changed, 5 insertions(+), 1 deletion(-)
-
---- a/Makefile.in
-+++ b/Makefile.in
-@@ -29,7 +29,8 @@ DESTDIR =
-
- VPATH = $(srcdir)
-
--all: subdirs unfsd$(EXEEXT)
-+all: subdirs
-+ $(MAKE) unfsd$(EXEEXT)
-
- unfsd$(EXEEXT): $(OBJS) $(CONFOBJ) $(EXTRAOBJ)
- $(CC) -o $@ $(OBJS) $(CONFOBJ) $(EXTRAOBJ) $(LDFLAGS)
---- a/Config/Makefile.in
-+++ b/Config/Makefile.in
-@@ -16,6 +16,9 @@ lib.a: $(OBJS)
- $(AR) crs lib.a $(OBJS)
-
- y.tab.h y.tab.c: $(srcdir)/exports.y
-+y.tab.h: y.tab.c
-+
-+y.tab.c: $(srcdir)/exports.y
- $(YACC) -d $(srcdir)/exports.y
-
- y.tab.o: y.tab.c $(srcdir)/exports.h $(top_srcdir)/nfs.h $(top_srcdir)/mount.h $(top_srcdir)/daemon.h
diff --git a/meta/recipes-devtools/unfs3/unfs3_git.bb b/meta/recipes-devtools/unfs3/unfs3_git.bb
index d60cee87c9..c5b7898b3c 100644
--- a/meta/recipes-devtools/unfs3/unfs3_git.bb
+++ b/meta/recipes-devtools/unfs3/unfs3_git.bb
@@ -2,42 +2,29 @@ SUMMARY = "Userspace NFS server v3 protocol"
DESCRIPTION = "UNFS3 is a user-space implementation of the NFSv3 server \
specification. It provides a daemon for the MOUNT and NFS protocols, which \
are used by NFS clients for accessing files on the server."
+HOMEPAGE = "https://github.com/unfs3/unfs3"
SECTION = "console/network"
LICENSE = "unfs3"
LIC_FILES_CHKSUM = "file://LICENSE;md5=9475885294e17c0cc0067820d042792e"
DEPENDS = "flex-native bison-native flex"
DEPENDS += "libtirpc"
-DEPENDS_append_class-nativesdk = " flex-nativesdk"
-
-ASNEEDED = ""
+DEPENDS:append:class-nativesdk = " flex-nativesdk"
S = "${WORKDIR}/git"
-SRC_URI = "git://github.com/unfs3/unfs3.git;protocol=https \
- file://unfs3_parallel_build.patch \
- file://alternate_rpc_ports.patch \
- file://fix_pid_race_parent_writes_child_pid.patch \
- file://fix_compile_warning.patch \
- file://rename_fh_cache.patch \
- file://relative_max_socket_path_len.patch \
- file://tcp_no_delay.patch \
- file://0001-daemon.c-Libtirpc-porting-fixes.patch \
+SRC_URI = "git://github.com/unfs3/unfs3.git;protocol=https;branch=master \
+ file://0001-daemon.c-Fix-race-window-for-writing-of-the-pid-file.patch \
+ file://0001-Alias-off64_t-to-off_t-on-linux-if-not-defined.patch \
+ file://0001-locate.c-Include-attr.h.patch \
+ file://0001-fix-building-on-macOS.patch \
file://0001-attr-fix-utime-for-symlink.patch \
- file://0001-Add-listen-action-for-a-tcp-socket.patch \
- "
-SRCREV = "c12a5c69a8d59be6916cbd0e0f41c159f1962425"
-UPSTREAM_CHECK_GITTAGREGEX = "unfs3\-(?P<pver>.+)"
+ "
+SRCREV = "c8f2d2cd4529955419bad0e163f88d47ff176b8d"
+UPSTREAM_CHECK_GITTAGREGEX = "unfs3\-(?P<pver>\d+(\.\d+)+)"
-PV = "0.9.22+${SRCPV}"
+PV = "0.10.0"
BBCLASSEXTEND = "native nativesdk"
-inherit autotools
-EXTRA_OECONF_append_class-native = " --sbindir=${bindir}"
-CFLAGS_append = " -I${STAGING_INCDIR}/tirpc"
-LDFLAGS_append = " -ltirpc"
-
-# Turn off these header detects else the inode search
-# will walk entire file systems and this is a real problem
-# if you have 2 TB of files to walk in your file system
-CACHED_CONFIGUREVARS = "ac_cv_header_mntent_h=no ac_cv_header_sys_mnttab_h=no"
+inherit autotools pkgconfig
+EXTRA_OECONF:append:class-native = " --sbindir=${bindir}"
diff --git a/meta/recipes-devtools/unifdef/unifdef_2.12.bb b/meta/recipes-devtools/unifdef/unifdef_2.12.bb
index 22b10ba234..3e08b3a0a4 100644
--- a/meta/recipes-devtools/unifdef/unifdef_2.12.bb
+++ b/meta/recipes-devtools/unifdef/unifdef_2.12.bb
@@ -2,6 +2,7 @@ SUMMARY = "Selectively remove #ifdef statements from sources"
SECTION = "devel"
LICENSE = "BSD-2-Clause"
HOMEPAGE = "http://dotat.at/prog/unifdef/"
+DESCRIPTION = "The unifdef utility selectively processes conditional C preprocessor #if and #ifdef directives. It removes from a file both the directives and the additional text that they delimit, while otherwise leaving the file alone."
LIC_FILES_CHKSUM = "file://COPYING;md5=3498caf346f6b77934882101749ada23 \
file://unifdef.c;endline=32;md5=6f4ee8085d6e6ab0f7cb4390e1a9c497 \
@@ -17,4 +18,4 @@ do_install() {
oe_runmake install DESTDIR=${D} prefix=${prefix}
}
-BBCLASSEXTEND = "native"
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/vala/vala/0001-vapigen.m4-use-PKG_CONFIG_SYSROOT_DIR.patch b/meta/recipes-devtools/vala/vala/0001-vapigen.m4-use-PKG_CONFIG_SYSROOT_DIR.patch
deleted file mode 100644
index ecab0fc1c9..0000000000
--- a/meta/recipes-devtools/vala/vala/0001-vapigen.m4-use-PKG_CONFIG_SYSROOT_DIR.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From dbb1c58e86f2af4613f3ac9571d9b163d4bca675 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin <alex.kanavin@gmail.com>
-Date: Fri, 23 Oct 2015 16:13:54 +0300
-Subject: [PATCH] vapigen.m4: use $PKG_CONFIG_SYSROOT_DIR
-
-This is necessary in cross-compiling environments, where directories
-returned by pkg-config should be prefixed with sysroot location.
-
-Upstream-Status: Pending [review in oe-core list]
-Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
----
- vapigen/vapigen.m4 | 8 ++++----
- 1 file changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/vapigen/vapigen.m4 b/vapigen/vapigen.m4
-index 2c435e7..6228991 100644
---- a/vapigen/vapigen.m4
-+++ b/vapigen/vapigen.m4
-@@ -82,12 +82,12 @@ AC_DEFUN([VAPIGEN_CHECK],
-
- AS_CASE([$enable_vala],
- [yes], [
-- VAPIGEN=`$PKG_CONFIG --variable=vapigen $vapigen_pkg_name`
-- VAPIGEN_MAKEFILE=`$PKG_CONFIG --variable=datadir $vapigen_pkg_name`/vala/Makefile.vapigen
-+ VAPIGEN=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=vapigen $vapigen_pkg_name`
-+ VAPIGEN_MAKEFILE=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=datadir $vapigen_pkg_name`/vala/Makefile.vapigen
- AS_IF([test "x$2" = "x"], [
-- VAPIGEN_VAPIDIR=`$PKG_CONFIG --variable=vapidir $vapigen_pkg_name`
-+ VAPIGEN_VAPIDIR=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=vapidir $vapigen_pkg_name`
- ], [
-- VAPIGEN_VAPIDIR=`$PKG_CONFIG --variable=vapidir_versioned $vapigen_pkg_name`
-+ VAPIGEN_VAPIDIR=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=vapidir_versioned $vapigen_pkg_name`
- ])
- ])
-
---
-2.1.4
-
diff --git a/meta/recipes-devtools/vala/vala_0.50.1.bb b/meta/recipes-devtools/vala/vala_0.50.1.bb
deleted file mode 100644
index cca7eef523..0000000000
--- a/meta/recipes-devtools/vala/vala_0.50.1.bb
+++ /dev/null
@@ -1,5 +0,0 @@
-require ${BPN}.inc
-
-SRC_URI += " file://0001-vapigen.m4-use-PKG_CONFIG_SYSROOT_DIR.patch"
-
-SRC_URI[sha256sum] = "958d9f06c9c3d7d1b2145512a9bc2a7c6aefbbf0416a04c7a0ecf463f7138f6c"
diff --git a/meta/recipes-devtools/vala/vala.inc b/meta/recipes-devtools/vala/vala_0.56.17.bb
index 703ed1aa8d..acd6c43096 100644
--- a/meta/recipes-devtools/vala/vala.inc
+++ b/meta/recipes-devtools/vala/vala_0.56.17.bb
@@ -1,33 +1,35 @@
SUMMARY = "C#-like programming language for easing GObject programming"
+HOMEPAGE = "http://vala-project.org"
DESCRIPTION = "Vala is a C#-like language dedicated to ease GObject programming. \
Vala compiles to plain C and has no runtime environment nor penalities whatsoever."
SECTION = "devel"
-DEPENDS = "bison-native flex-native glib-2.0"
+DEPENDS = "bison-native flex-native glib-2.0 gobject-introspection"
# Appending libxslt-native to dependencies has an effect
# of rebuilding the manual, which is very slow. Let's do this
# only when api-documentation distro feature is enabled.
-DEPENDS_append_class-target = " ${@bb.utils.contains('DISTRO_FEATURES', 'api-documentation', 'libxslt-native', '', d)}"
+DEPENDS:append:class-target = " ${@bb.utils.contains('DISTRO_FEATURES', 'api-documentation', 'libxslt-native', '', d)}"
# vala-native contains a native version of vapigen, which we use instead of the target one
-DEPENDS_append_class-target = " vala-native"
+DEPENDS:append:class-target = " vala-native"
BBCLASSEXTEND = "native"
-HOMEPAGE = "http://vala-project.org"
-LICENSE = "LGPLv2.1"
+LICENSE = "LGPL-2.1-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
SHRT_VER = "${@d.getVar('PV').split('.')[0]}.${@d.getVar('PV').split('.')[1]}"
SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/${BPN}/${SHRT_VER}/${BP}.tar.xz"
+SRC_URI[sha256sum] = "26100c4e4ef0049c619275f140d97cf565883d00c7543c82bcce5a426934ed6a"
+
inherit autotools pkgconfig upstream-version-is-even
-FILES_${PN} += "${datadir}/${BPN}-${SHRT_VER}/vapi ${libdir}/${BPN}-${SHRT_VER}/"
-FILES_${PN}-doc += "${datadir}/devhelp"
+FILES:${PN} += "${datadir}/${BPN}-${SHRT_VER}/vapi ${libdir}/${BPN}-${SHRT_VER}/"
+FILES:${PN}-doc += "${datadir}/devhelp"
# .gir files from gobject-introspection are installed to ${libdir} when multilib is enabled
GIRDIR_OPT = "${@'--girdir=${STAGING_LIBDIR}/gir-1.0' if d.getVar('MULTILIBS') else ''}"
-do_configure_prepend_class-target() {
+do_configure:prepend:class-target() {
# Write out a vapigen wrapper that will be provided by pkg-config file installed in target sysroot
# The wrapper will call a native vapigen
cat > ${B}/vapigen-wrapper << EOF
@@ -41,22 +43,31 @@ EXTRA_OECONF += " --disable-valadoc"
# Vapigen wrapper needs to be available system-wide, because it will be used
# to build vapi files from all other packages with vala support
-do_install_append_class-target() {
- install -d ${D}${bindir}/
- install ${B}/vapigen-wrapper ${D}${bindir}/
+do_install:append:class-target() {
+ install -d ${D}${bindir_crossscripts}/
+ install ${B}/vapigen-wrapper ${D}${bindir_crossscripts}/
}
# Put vapigen wrapper into target sysroot so that it can be used when building
# vapi files.
-SYSROOT_DIRS_append_class-target = " ${bindir}"
+SYSROOT_DIRS += "${bindir_crossscripts}"
+
+inherit multilib_script
+MULTILIB_SCRIPTS = "${PN}:${bindir}/vala-gen-introspect-0.56"
-SYSROOT_PREPROCESS_FUNCS_append_class-target = " vapigen_sysroot_preprocess"
+SYSROOT_PREPROCESS_FUNCS:append:class-target = " vapigen_sysroot_preprocess"
vapigen_sysroot_preprocess() {
# Tweak the vapigen name in the vapigen pkgconfig file, so that it picks
# up our wrapper.
sed -i \
- -e "s|vapigen=.*|vapigen=${bindir}/vapigen-wrapper|" \
+ -e "s|vapigen=.*|vapigen=${bindir_crossscripts}/vapigen-wrapper|" \
${SYSROOT_DESTDIR}${libdir}/pkgconfig/vapigen-${SHRT_VER}.pc
}
SSTATE_SCAN_FILES += "vapigen-wrapper"
+
+PACKAGE_PREPROCESS_FUNCS += "vala_package_preprocess"
+
+vala_package_preprocess () {
+ rm -rf ${PKGD}${bindir_crossscripts}
+}
diff --git a/meta/recipes-devtools/valgrind/valgrind/0001-Guard-against-__GLIBC_PREREQ-for-musl-libc.patch b/meta/recipes-devtools/valgrind/valgrind/0001-Guard-against-__GLIBC_PREREQ-for-musl-libc.patch
deleted file mode 100644
index 81ab29f3be..0000000000
--- a/meta/recipes-devtools/valgrind/valgrind/0001-Guard-against-__GLIBC_PREREQ-for-musl-libc.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From 1b5b6f827ac1153a41fc93e78bf34ccdf5720b9b Mon Sep 17 00:00:00 2001
-From: Randy MacLeod <Randy.MacLeod@windriver.com>
-Date: Fri, 19 Oct 2018 10:31:12 -0400
-Subject: [PATCH] Guard against __GLIBC_PREREQ for musl libc
-
-Upstream-Status: Submitted https://bugs.kde.org/show_bug.cgi?id=400162
-
-Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
----
- memcheck/tests/linux/sys-statx.c | 5 +++++
- 1 file changed, 5 insertions(+)
-
-diff --git a/memcheck/tests/linux/sys-statx.c b/memcheck/tests/linux/sys-statx.c
-index fe9f9ba45..473c2cd7f 100644
---- a/memcheck/tests/linux/sys-statx.c
-+++ b/memcheck/tests/linux/sys-statx.c
-@@ -7,11 +7,16 @@
- #include <assert.h>
- #include <string.h>
- #include <sys/syscall.h>
-+
-+#if defined(__GLIBC__) && defined(__GLIBC_PREREQ)
- #if __GLIBC_PREREQ(2,28)
- /* struct statx provided in sys/stat.h */
- #else
- #include <linux/stat.h>
- #endif
-+#else
-+#include <linux/stat.h>
-+#endif
- #include <errno.h>
-
- int check_stat2;
---
-2.17.0
-
diff --git a/meta/recipes-devtools/valgrind/valgrind/0001-Make-local-functions-static-to-avoid-assembler-error.patch b/meta/recipes-devtools/valgrind/valgrind/0001-Make-local-functions-static-to-avoid-assembler-error.patch
deleted file mode 100644
index 8d2ca5733e..0000000000
--- a/meta/recipes-devtools/valgrind/valgrind/0001-Make-local-functions-static-to-avoid-assembler-error.patch
+++ /dev/null
@@ -1,182 +0,0 @@
-From 2155c1b2cf00e744e280c493eb74bf457dfcc3b1 Mon Sep 17 00:00:00 2001
-From: Randy MacLeod <Randy.MacLeod@windriver.com>
-Date: Sun, 21 Oct 2018 15:09:31 -0400
-Subject: [PATCH] Make local functions static to avoid assembler error
-
-Avoid mips32 x-compiler warnings such as:
-
-| ../../../valgrind-3.14.0/helgrind/tests/annotate_hbefore.c:360:6: warning: no previous prototype for 'do_signal' [-Wmissing-prototypes]
-| void do_signal ( UWord* w )
-| ^~~~~~~~~
-
-by making functions and global variables that are file scope be static
-and more importantly also avoid an assembler error:
-
-/tmp/cce22iiw.s: Assembler messages:
-/tmp/cce22iiw.s:446: Error: symbol `exit_0' is already defined
-/tmp/cce22iiw.s:448: Error: symbol `exit' is already defined
-/tmp/cce22iiw.s:915: Error: symbol `exit_0' is already defined
-/tmp/cce22iiw.s:917: Error: symbol `exit' is already defined
-
-Upstream-Status: Submitted https://bugs.kde.org/show_bug.cgi?id=400164
-
-Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
----
- helgrind/tests/annotate_hbefore.c | 34 +++++++++++++++----------------
- 1 file changed, 17 insertions(+), 17 deletions(-)
-
-diff --git a/helgrind/tests/annotate_hbefore.c b/helgrind/tests/annotate_hbefore.c
-index e311714f7..f55514e45 100644
---- a/helgrind/tests/annotate_hbefore.c
-+++ b/helgrind/tests/annotate_hbefore.c
-@@ -24,7 +24,7 @@ typedef unsigned long int UWord;
-
- // ppc64
- /* return 1 if success, 0 if failure */
--UWord do_acasW ( UWord* addr, UWord expected, UWord nyu )
-+static UWord do_acasW ( UWord* addr, UWord expected, UWord nyu )
- {
- UWord old, success;
-
-@@ -57,7 +57,7 @@ UWord do_acasW ( UWord* addr, UWord expected, UWord nyu )
-
- // ppc32
- /* return 1 if success, 0 if failure */
--UWord do_acasW ( UWord* addr, UWord expected, UWord nyu )
-+static UWord do_acasW ( UWord* addr, UWord expected, UWord nyu )
- {
- UWord old, success;
-
-@@ -90,7 +90,7 @@ UWord do_acasW ( UWord* addr, UWord expected, UWord nyu )
-
- // amd64
- /* return 1 if success, 0 if failure */
--UWord do_acasW ( UWord* addr, UWord expected, UWord nyu )
-+static UWord do_acasW ( UWord* addr, UWord expected, UWord nyu )
- {
- UWord block[4] = { (UWord)addr, expected, nyu, 2 };
- __asm__ __volatile__(
-@@ -113,7 +113,7 @@ UWord do_acasW ( UWord* addr, UWord expected, UWord nyu )
-
- // x86
- /* return 1 if success, 0 if failure */
--UWord do_acasW ( UWord* addr, UWord expected, UWord nyu )
-+static UWord do_acasW ( UWord* addr, UWord expected, UWord nyu )
- {
- UWord block[4] = { (UWord)addr, expected, nyu, 2 };
- __asm__ __volatile__(
-@@ -138,7 +138,7 @@ UWord do_acasW ( UWord* addr, UWord expected, UWord nyu )
-
- // arm
- /* return 1 if success, 0 if failure */
--UWord do_acasW ( UWord* addr, UWord expected, UWord nyu )
-+static UWord do_acasW ( UWord* addr, UWord expected, UWord nyu )
- {
- UWord old, success;
- UWord block[2] = { (UWord)addr, nyu };
-@@ -171,7 +171,7 @@ UWord do_acasW ( UWord* addr, UWord expected, UWord nyu )
-
- // arm64
- /* return 1 if success, 0 if failure */
--UWord do_acasW ( UWord* addr, UWord expected, UWord nyu )
-+static UWord do_acasW ( UWord* addr, UWord expected, UWord nyu )
- {
- UWord old, success;
- UWord block[2] = { (UWord)addr, nyu };
-@@ -204,7 +204,7 @@ UWord do_acasW ( UWord* addr, UWord expected, UWord nyu )
-
- // s390x
- /* return 1 if success, 0 if failure */
--UWord do_acasW(UWord* addr, UWord expected, UWord nyu )
-+static UWord do_acasW(UWord* addr, UWord expected, UWord nyu )
- {
- int cc;
-
-@@ -223,7 +223,7 @@ UWord do_acasW(UWord* addr, UWord expected, UWord nyu )
-
- // mips32
- /* return 1 if success, 0 if failure */
--UWord do_acasW ( UWord* addr, UWord expected, UWord nyu )
-+static UWord do_acasW ( UWord* addr, UWord expected, UWord nyu )
- {
- UWord success;
- UWord block[3] = { (UWord)addr, nyu, expected};
-@@ -256,7 +256,7 @@ UWord do_acasW ( UWord* addr, UWord expected, UWord nyu )
-
- // mips64
- /* return 1 if success, 0 if failure */
--UWord do_acasW ( UWord* addr, UWord expected, UWord nyu )
-+static UWord do_acasW ( UWord* addr, UWord expected, UWord nyu )
- {
- UWord success;
- UWord block[3] = { (UWord)addr, nyu, expected};
-@@ -287,7 +287,7 @@ UWord do_acasW ( UWord* addr, UWord expected, UWord nyu )
-
- #endif
-
--void atomic_incW ( UWord* w )
-+static void atomic_incW ( UWord* w )
- {
- while (1) {
- UWord old = *w;
-@@ -301,7 +301,7 @@ void atomic_incW ( UWord* w )
-
- #define NNN 1000000
-
--void* thread_fn ( void* arg )
-+static void* thread_fn ( void* arg )
- {
- UWord* w = (UWord*)arg;
- int i;
-@@ -331,10 +331,10 @@ int main ( void )
-
- #endif
-
--int shared_var = 0; // is not raced upon
-+static int shared_var = 0; // is not raced upon
-
-
--void delayXms ( int i )
-+static void delayXms ( int i )
- {
- struct timespec ts = { 0, 1 * 1000 * 1000 };
- // We do the sleep in small pieces to have scheduling
-@@ -348,7 +348,7 @@ void delayXms ( int i )
- }
- }
-
--void do_wait ( UWord* w )
-+static void do_wait ( UWord* w )
- {
- UWord w0 = *w;
- UWord volatile * wV = w;
-@@ -357,7 +357,7 @@ void do_wait ( UWord* w )
- ANNOTATE_HAPPENS_AFTER(w);
- }
-
--void do_signal ( UWord* w )
-+static void do_signal ( UWord* w )
- {
- ANNOTATE_HAPPENS_BEFORE(w);
- atomic_incW(w);
-@@ -365,7 +365,7 @@ void do_signal ( UWord* w )
-
-
-
--void* thread_fn1 ( void* arg )
-+static void* thread_fn1 ( void* arg )
- {
- UWord* w = (UWord*)arg;
- delayXms(500); // ensure t2 gets to its wait first
-@@ -376,7 +376,7 @@ void* thread_fn1 ( void* arg )
- return NULL;
- }
-
--void* thread_fn2 ( void* arg )
-+static void* thread_fn2 ( void* arg )
- {
- UWord* w = (UWord*)arg;
- do_wait(w); // wait for h-b edge from first thread
---
-2.17.0
-
diff --git a/meta/recipes-devtools/valgrind/valgrind/0001-Remove-tests-that-fail-to-build-on-some-PPC32-config.patch b/meta/recipes-devtools/valgrind/valgrind/0001-Remove-tests-that-fail-to-build-on-some-PPC32-config.patch
deleted file mode 100644
index a78e1953ff..0000000000
--- a/meta/recipes-devtools/valgrind/valgrind/0001-Remove-tests-that-fail-to-build-on-some-PPC32-config.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-From 9762fd23e1f1db66d4b977c694a17d3bca3fe99a Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin <alex.kanavin@gmail.com>
-Date: Fri, 8 Jan 2016 16:36:29 +0200
-Subject: [PATCH] Remove tests that fail to build on some PPC32 configurations
-
-Failures are documented here:
-http://errors.yoctoproject.org/Errors/Search/?items=10&query=862d702fbb99e484631315aa44b9e46f8fc567da&filter=valgrind&type=recipe
-
-Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
-Upstream-Status: Pending
----
- memcheck/tests/ppc32/Makefile.am | 2 +-
- none/tests/ppc32/Makefile.am | 4 ++--
- 2 files changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/memcheck/tests/ppc32/Makefile.am b/memcheck/tests/ppc32/Makefile.am
-index 26b95a2..8f05743 100644
---- a/memcheck/tests/ppc32/Makefile.am
-+++ b/memcheck/tests/ppc32/Makefile.am
-@@ -10,7 +10,7 @@ EXTRA_DIST = $(noinst_SCRIPTS) \
- power_ISA2_07.stderr.exp power_ISA2_07.vgtest
-
- check_PROGRAMS = \
-- power_ISA2_05 power_ISA2_07
-+ power_ISA2_07
-
- power_ISA2_05_CFLAGS = $(AM_CFLAGS) $(WERROR) -Winline -Wall -Wshadow -g \
- -I$(top_srcdir)/include @FLAG_M32@
-diff --git a/none/tests/ppc32/Makefile.am b/none/tests/ppc32/Makefile.am
-index 196239e..0fe3425 100644
---- a/none/tests/ppc32/Makefile.am
-+++ b/none/tests/ppc32/Makefile.am
-@@ -50,13 +50,13 @@ EXTRA_DIST = \
-
- check_PROGRAMS = \
- allexec \
-- lsw jm-insns round \
-+ lsw \
- test_isa_2_06_part1 test_isa_2_06_part2 test_isa_2_06_part3 \
- test_dfp1 test_dfp2 test_dfp3 test_dfp4 test_dfp5 \
- test_isa_2_07_part1 test_isa_2_07_part2 \
- test_tm test_touch_tm ldst_multiple data-cache-instructions \
- test_fx test_gx \
-- testVMX twi tw xlc_dbl_u32 power5+_round power6_bcmp \
-+ twi tw xlc_dbl_u32 power6_bcmp \
- bug129390-ppc32 bug139050-ppc32 \
- ldstrev mftocrf mcrfs
-
---
-2.6.4
-
diff --git a/meta/recipes-devtools/valgrind/valgrind/0001-Return-a-valid-exit_code-from-vg_regtest.patch b/meta/recipes-devtools/valgrind/valgrind/0001-Return-a-valid-exit_code-from-vg_regtest.patch
index e7af5efecc..832a1c3d6e 100644
--- a/meta/recipes-devtools/valgrind/valgrind/0001-Return-a-valid-exit_code-from-vg_regtest.patch
+++ b/meta/recipes-devtools/valgrind/valgrind/0001-Return-a-valid-exit_code-from-vg_regtest.patch
@@ -10,11 +10,9 @@ Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
tests/vg_regtest.in | 1 +
1 file changed, 1 insertion(+)
-diff --git a/tests/vg_regtest.in b/tests/vg_regtest.in
-index 909af3be8..f2799c4e3 100755
--- a/tests/vg_regtest.in
+++ b/tests/vg_regtest.in
-@@ -403,6 +403,7 @@ sub mysystem($)
+@@ -401,6 +401,7 @@ sub mysystem($)
exit 1;
}
}
@@ -22,6 +20,3 @@ index 909af3be8..f2799c4e3 100755
}
# if $keepunfiltered, copies $1 to $1.unfiltered.out
# renames $0 tp $1
---
-2.17.0
-
diff --git a/meta/recipes-devtools/valgrind/valgrind/0001-configure-Drop-setting-mcpu-cortex-a8-on-arm.patch b/meta/recipes-devtools/valgrind/valgrind/0001-configure-Drop-setting-mcpu-cortex-a8-on-arm.patch
new file mode 100644
index 0000000000..63a1a58c04
--- /dev/null
+++ b/meta/recipes-devtools/valgrind/valgrind/0001-configure-Drop-setting-mcpu-cortex-a8-on-arm.patch
@@ -0,0 +1,40 @@
+From b17b6d7d3a65c14f91f090f3f4f9898d6fa3a9e4 Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Fri, 10 May 2024 16:27:34 -0700
+Subject: [PATCH] configure: Drop setting mcpu=cortex-a8 on arm
+
+The -march settings from environment expresses the flags
+appropriately, moreover, this conflicts when using armhf
+without neon [1]
+
+[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=928224
+
+Upstream-Status: Submitted [https://bugs.kde.org/show_bug.cgi?id=454346]
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ configure.ac | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 39d8b6d..d61b3a6 100755
+--- a/configure.ac
++++ b/configure.ac
+@@ -275,13 +275,13 @@ case "${host_cpu}" in
+
+ armv8*)
+ AC_MSG_RESULT([ok (${host_cpu})])
+- VGCONF_PLATFORM_ARM_ARCH="-marm -mcpu=cortex-a8"
++ VGCONF_PLATFORM_ARM_ARCH="-marm"
+ ARCH_MAX="arm"
+ ;;
+
+ armv7*)
+ AC_MSG_RESULT([ok (${host_cpu})])
+- VGCONF_PLATFORM_ARM_ARCH="-marm -mcpu=cortex-a8"
++ VGCONF_PLATFORM_ARM_ARCH="-marm"
+ ARCH_MAX="arm"
+ ;;
+
+--
+2.45.0
+
diff --git a/meta/recipes-devtools/valgrind/valgrind/0001-docs-Disable-manual-validation.patch b/meta/recipes-devtools/valgrind/valgrind/0001-docs-Disable-manual-validation.patch
new file mode 100644
index 0000000000..eba569c884
--- /dev/null
+++ b/meta/recipes-devtools/valgrind/valgrind/0001-docs-Disable-manual-validation.patch
@@ -0,0 +1,31 @@
+From 99fc6fe9b66becac3c94068129e84217330a71a6 Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Thu, 13 Jan 2022 18:26:02 -0800
+Subject: [PATCH] docs: Disable manual validation
+
+validating manual and manpages, this task involves calling xmllint which
+accesses network and --nonet option also does not disable this,
+therefore disable it.
+
+Fixes
+| error : Resource temporarily unavailable
+| ../callgrind/docs/cl-manual.xml:4: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"
+| <!ENTITY % vg-entities SYSTEM "../../docs/xml/vg-entities.xml"> %vg-entities; ]
+
+Upstream-Status: Inappropriate [OE-Specific]
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ docs/Makefile.am | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/docs/Makefile.am
++++ b/docs/Makefile.am
+@@ -194,7 +194,7 @@ valid-manpages: $(MANPAGES_XML_FILES)
+ touch $@; \
+ fi
+
+-check-local: valid-manual valid-manpages
++check-local:
+
+ # The text version of the FAQ.
+ FAQ.txt:
diff --git a/meta/recipes-devtools/valgrind/valgrind/0001-drd-Port-to-Fedora-33.patch b/meta/recipes-devtools/valgrind/valgrind/0001-drd-Port-to-Fedora-33.patch
deleted file mode 100644
index 37f6ea667d..0000000000
--- a/meta/recipes-devtools/valgrind/valgrind/0001-drd-Port-to-Fedora-33.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-From 15330adf7c2471fbaa6a0818db07078d81dbff97 Mon Sep 17 00:00:00 2001
-From: Bart Van Assche <bvanassche@acm.org>
-Date: Sat, 19 Sep 2020 08:08:59 -0700
-Subject: [PATCH] drd: Port to Fedora 33
-
-Apparently on Fedora 33 the POSIX thread functions exist in both libc and
-libpthread. Hence this patch that intercepts the pthread functions in
-libc. See also https://bugs.kde.org/show_bug.cgi?id=426144 .
-
-Signed-off-by: Bart Van Assche <bvanassche@acm.org>
-
-This patch was imported from the valgrind sourceware server
-(https://sourceware.org/git/?p=valgrind.git;a=commit;h=15330adf7c2471fbaa6a0818db07078d81dbff97)
-It was modified to remove the changes to the valgrind NEWS file,
-as these are difficult to maintain and don't impact the valgrind
-code itself.
-
-Upstream-Status: Backport
-
-Signed-off-by: Stacy Gaikovaia <stacy.gaikovaia@windriver.com>
----
- drd/drd_pthread_intercepts.c | 9 +++++++++
- 1 file changed, 10 insertions(+)
-
-diff --git a/drd/drd_pthread_intercepts.c b/drd/drd_pthread_intercepts.c
-index 58c45aaec..c2882e5ab 100644
---- a/drd/drd_pthread_intercepts.c
-+++ b/drd/drd_pthread_intercepts.c
-@@ -174,7 +174,16 @@ static int never_true;
- ret_ty VG_WRAP_FUNCTION_ZZ(VG_Z_LIBC_SONAME,zf) argl_decl \
- { return implf argl; }
- #else
-+/*
-+ * On Linux, intercept both the libc and the libpthread functions. At
-+ * least glibc 2.32.9000 (Fedora 34) has an implementation of all pthread
-+ * functions in both libc and libpthread. Older glibc versions only have an
-+ * implementation of the pthread functions in libpthread.
-+ */
- #define PTH_FUNC(ret_ty, zf, implf, argl_decl, argl) \
-+ ret_ty VG_WRAP_FUNCTION_ZZ(VG_Z_LIBC_SONAME,zf) argl_decl; \
-+ ret_ty VG_WRAP_FUNCTION_ZZ(VG_Z_LIBC_SONAME,zf) argl_decl \
-+ { return implf argl; } \
- ret_ty VG_WRAP_FUNCTION_ZZ(VG_Z_LIBPTHREAD_SONAME,zf) argl_decl; \
- ret_ty VG_WRAP_FUNCTION_ZZ(VG_Z_LIBPTHREAD_SONAME,zf) argl_decl \
- { return implf argl; }
---
-2.25.1
-
diff --git a/meta/recipes-devtools/valgrind/valgrind/0001-drd-musl-fix.patch b/meta/recipes-devtools/valgrind/valgrind/0001-drd-musl-fix.patch
deleted file mode 100644
index e96bf3c611..0000000000
--- a/meta/recipes-devtools/valgrind/valgrind/0001-drd-musl-fix.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-The changes in 0001-drd-Port-to-Fedora-33.patch break builds on musl. These
-need a __GLIBC__ guard to ensure musl builds continue to work.
-
-Upstream-Status: Pending
-Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-
-Index: valgrind-3.16.1/drd/drd_pthread_intercepts.c
-===================================================================
---- valgrind-3.16.1.orig/drd/drd_pthread_intercepts.c
-+++ valgrind-3.16.1/drd/drd_pthread_intercepts.c
-@@ -180,6 +180,7 @@ static int never_true;
- * functions in both libc and libpthread. Older glibc versions only have an
- * implementation of the pthread functions in libpthread.
- */
-+#ifdef __GLIBC__
- #define PTH_FUNC(ret_ty, zf, implf, argl_decl, argl) \
- ret_ty VG_WRAP_FUNCTION_ZZ(VG_Z_LIBC_SONAME,zf) argl_decl; \
- ret_ty VG_WRAP_FUNCTION_ZZ(VG_Z_LIBC_SONAME,zf) argl_decl \
-@@ -187,6 +188,12 @@ static int never_true;
- ret_ty VG_WRAP_FUNCTION_ZZ(VG_Z_LIBPTHREAD_SONAME,zf) argl_decl; \
- ret_ty VG_WRAP_FUNCTION_ZZ(VG_Z_LIBPTHREAD_SONAME,zf) argl_decl \
- { return implf argl; }
-+#else
-+#define PTH_FUNC(ret_ty, zf, implf, argl_decl, argl) \
-+ ret_ty VG_WRAP_FUNCTION_ZZ(VG_Z_LIBPTHREAD_SONAME,zf) argl_decl; \
-+ ret_ty VG_WRAP_FUNCTION_ZZ(VG_Z_LIBPTHREAD_SONAME,zf) argl_decl \
-+ { return implf argl; }
-+#endif
- #endif
-
- /**
diff --git a/meta/recipes-devtools/valgrind/valgrind/0001-fix-opcode-not-supported-on-mips32-linux.patch b/meta/recipes-devtools/valgrind/valgrind/0001-fix-opcode-not-supported-on-mips32-linux.patch
deleted file mode 100644
index 39b624d9f6..0000000000
--- a/meta/recipes-devtools/valgrind/valgrind/0001-fix-opcode-not-supported-on-mips32-linux.patch
+++ /dev/null
@@ -1,82 +0,0 @@
-From fb5362f205b37c5060fcd764a7ed393abe4f2f3d Mon Sep 17 00:00:00 2001
-From: Hongxu Jia <hongxu.jia@windriver.com>
-Date: Fri, 27 Jul 2018 17:39:37 +0800
-Subject: [PATCH 1/2] fix opcode not supported on mips32-linux
-
-While build tests(`make check') on mips32-linux, there are
-serial failures such as:
-[snip]
-| mips-wrsmllib32-linux-gcc -meb -mabi=32 -mhard-float -c
--o atomic_incs-atomic_incs.o `test -f 'atomic_incs.c' || echo
-'../../../valgrind-3.13.0/memcheck/tests/'`atomic_incs.c
-| /tmp/ccqrmINN.s: Assembler messages:
-| /tmp/ccqrmINN.s:247: Error: opcode not supported on this
-processor: mips1 (mips1) `ll $t3,0($t1)'
-| /tmp/ccqrmINN.s:249: Error: opcode not supported on this
-processor: mips1 (mips1) `sc $t3,0($t1)'
-[snip]
-
-Since the following commit applied, it defines CLFAGS for mips32,
-but missed to pass them to tests which caused the above failure
-...
-3e344c57f Merge in a port for mips32-linux
-...
-
-Upstream-Status: Submitted [https://bugs.kde.org/show_bug.cgi?id=396905]
-Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
----
- helgrind/tests/Makefile.am | 5 +++++
- memcheck/tests/Makefile.am | 5 +++++
- none/tests/mips32/Makefile.am | 4 ++++
- 3 files changed, 14 insertions(+)
-
-diff --git a/helgrind/tests/Makefile.am b/helgrind/tests/Makefile.am
-index ad1af191a..6209d35a7 100644
---- a/helgrind/tests/Makefile.am
-+++ b/helgrind/tests/Makefile.am
-@@ -214,6 +214,11 @@ check_PROGRAMS += annotate_rwlock
- endif
-
- AM_CFLAGS += $(AM_FLAG_M3264_PRI)
-+
-+if VGCONF_PLATFORMS_INCLUDE_MIPS32_LINUX
-+AM_CFLAGS += $(AM_CFLAGS_MIPS32_LINUX)
-+endif
-+
- AM_CXXFLAGS += $(AM_FLAG_M3264_PRI)
-
- LDADD = -lpthread
-diff --git a/memcheck/tests/Makefile.am b/memcheck/tests/Makefile.am
-index 84e49405f..aff861a32 100644
---- a/memcheck/tests/Makefile.am
-+++ b/memcheck/tests/Makefile.am
-@@ -443,6 +443,11 @@ check_PROGRAMS += reach_thread_register
- endif
-
- AM_CFLAGS += $(AM_FLAG_M3264_PRI)
-+
-+if VGCONF_PLATFORMS_INCLUDE_MIPS32_LINUX
-+AM_CFLAGS += $(AM_CFLAGS_MIPS32_LINUX)
-+endif
-+
- AM_CXXFLAGS += $(AM_FLAG_M3264_PRI)
-
- if VGCONF_PLATFORMS_INCLUDE_ARM_LINUX
-diff --git a/none/tests/mips32/Makefile.am b/none/tests/mips32/Makefile.am
-index d11591d45..602cd26f6 100644
---- a/none/tests/mips32/Makefile.am
-+++ b/none/tests/mips32/Makefile.am
-@@ -99,6 +99,10 @@ check_PROGRAMS = \
- round_fpu64 \
- fpu_branches
-
-+if VGCONF_PLATFORMS_INCLUDE_MIPS32_LINUX
-+AM_CFLAGS += $(AM_CFLAGS_MIPS32_LINUX)
-+endif
-+
- AM_CFLAGS += @FLAG_M32@
- AM_CXXFLAGS += @FLAG_M32@
- AM_CCASFLAGS += @FLAG_M32@
---
-2.17.1
-
diff --git a/meta/recipes-devtools/valgrind/valgrind/0001-helgrind-Intercept-libc-functions.patch b/meta/recipes-devtools/valgrind/valgrind/0001-helgrind-Intercept-libc-functions.patch
deleted file mode 100644
index f66df3d2d2..0000000000
--- a/meta/recipes-devtools/valgrind/valgrind/0001-helgrind-Intercept-libc-functions.patch
+++ /dev/null
@@ -1,54 +0,0 @@
-From cdec010444df5a4328e90d07a2024fdeefcc74b5 Mon Sep 17 00:00:00 2001
-From: Paul Floyd <paulf@free.fr>
-Date: Wed, 18 Nov 2020 12:49:20 -0400
-Subject: [PATCH] helgrind: Intercept libc functions
-
-PTH_FUNC definition needs to be modified in order to
-intercept posix thread functions in both libc and
-libpthread. In order to handle this in helgrind, weak alias
-the pthread functions in glibc.
-
-Upstream-Status: Submitted
-
-Signed-off-by: Paul Floyd <paulf@free.fr>
-Signed-off-by: Stacy Gaikovaia <stacy.gaikovaia@windriver.com>
----
- helgrind/hg_intercepts.c | 12 ++++++++++++
- 1 file changed, 12 insertions(+)
-
-diff --git a/helgrind/hg_intercepts.c b/helgrind/hg_intercepts.c
-index a10c3a4a3..316140ca6 100644
---- a/helgrind/hg_intercepts.c
-+++ b/helgrind/hg_intercepts.c
-@@ -77,6 +77,11 @@
- /*--- ---*/
- /*----------------------------------------------------------------*/
-
-+#define hg_expand(tok) #tok
-+#define hg_str(tok) hg_expand(tok)
-+# define hg_weak_alias(name, aliasname) \
-+ extern __typeof (name) aliasname __attribute__ ((weak, alias(hg_str(name))))
-+
- #if defined(VGO_solaris)
- /* On Solaris, libpthread is just a filter library on top of libc.
- * Threading and synchronization functions in runtime linker are not
-@@ -91,9 +96,16 @@
- #define CREQ_PTHREAD_T Word
- #define SEM_ERROR ret
- #else
-+#ifdef MUSL_LIBC
-+#define PTH_FUNC(ret_ty, f, args...) \
-+ ret_ty I_WRAP_SONAME_FNNAME_ZZ(VG_Z_LIBPTHREAD_SONAME,f)(args); \
-+ ret_ty I_WRAP_SONAME_FNNAME_ZZ(VG_Z_LIBPTHREAD_SONAME,f)(args)
-+#else
- #define PTH_FUNC(ret_ty, f, args...) \
- ret_ty I_WRAP_SONAME_FNNAME_ZZ(VG_Z_LIBPTHREAD_SONAME,f)(args); \
-+ hg_weak_alias(I_WRAP_SONAME_FNNAME_ZZ(VG_Z_LIBPTHREAD_SONAME,f), I_WRAP_SONAME_FNNAME_ZZ(VG_Z_LIBC_SONAME,f)); \
- ret_ty I_WRAP_SONAME_FNNAME_ZZ(VG_Z_LIBPTHREAD_SONAME,f)(args)
-+#endif
- #define CREQ_PTHREAD_T pthread_t
- #define SEM_ERROR errno
- #endif /* VGO_solaris */
---
-2.17.1
-
diff --git a/meta/recipes-devtools/valgrind/valgrind/0001-makefiles-Drop-setting-mcpu-to-cortex-a8-on-arm-arch.patch b/meta/recipes-devtools/valgrind/valgrind/0001-makefiles-Drop-setting-mcpu-to-cortex-a8-on-arm-arch.patch
index 9f1da7bac6..7996fa6e8f 100644
--- a/meta/recipes-devtools/valgrind/valgrind/0001-makefiles-Drop-setting-mcpu-to-cortex-a8-on-arm-arch.patch
+++ b/meta/recipes-devtools/valgrind/valgrind/0001-makefiles-Drop-setting-mcpu-to-cortex-a8-on-arm-arch.patch
@@ -10,7 +10,7 @@ implementation.
Fixes
| cc1: warning: switch -mcpu=cortex-a8 conflicts with -march=armv7ve switch
-Upstream-Status: Pending
+Upstream-Status: Submitted [https://bugs.kde.org/show_bug.cgi?id=454346]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
@@ -19,30 +19,9 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
none/tests/arm/Makefile.am | 18 +++++++++---------
3 files changed, 15 insertions(+), 15 deletions(-)
-diff --git a/Makefile.all.am b/Makefile.all.am
-index 02059a3..c7c4700 100644
---- a/Makefile.all.am
-+++ b/Makefile.all.am
-@@ -197,11 +197,11 @@ AM_CCASFLAGS_PPC64LE_LINUX = @FLAG_M64@ -g
-
- AM_FLAG_M3264_ARM_LINUX = @FLAG_M32@
- AM_CFLAGS_ARM_LINUX = @FLAG_M32@ \
-- $(AM_CFLAGS_BASE) -marm -mcpu=cortex-a8
-+ $(AM_CFLAGS_BASE) -marm
- AM_CFLAGS_PSO_ARM_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE) \
-- -marm -mcpu=cortex-a8 $(AM_CFLAGS_PSO_BASE)
-+ -marm $(AM_CFLAGS_PSO_BASE)
- AM_CCASFLAGS_ARM_LINUX = @FLAG_M32@ \
-- -marm -mcpu=cortex-a8 -g
-+ -marm -g
-
- AM_FLAG_M3264_ARM64_LINUX = @FLAG_M64@
- AM_CFLAGS_ARM64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE)
-diff --git a/helgrind/tests/Makefile.am b/helgrind/tests/Makefile.am
-index df82169..07eb66a 100644
--- a/helgrind/tests/Makefile.am
+++ b/helgrind/tests/Makefile.am
-@@ -189,9 +189,9 @@ if ! VGCONF_PLATFORMS_INCLUDE_X86_DARWIN
+@@ -223,9 +223,9 @@ if ! VGCONF_PLATFORMS_INCLUDE_X86_DARWIN
endif
if VGCONF_PLATFORMS_INCLUDE_ARM_LINUX
@@ -55,11 +34,9 @@ index df82169..07eb66a 100644
else
annotate_hbefore_CFLAGS = $(AM_CFLAGS)
tc07_hbl1_CFLAGS = $(AM_CFLAGS)
-diff --git a/none/tests/arm/Makefile.am b/none/tests/arm/Makefile.am
-index 024eb6d..ccecb90 100644
--- a/none/tests/arm/Makefile.am
+++ b/none/tests/arm/Makefile.am
-@@ -52,10 +52,10 @@ allexec_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_NONNULL@
+@@ -56,10 +56,10 @@ allexec_CFLAGS = $(AM_CFLAGS) @FLAG_W_N
# need special helping w.r.t -mfpu and -mfloat-abi, though.
# Also force -O0 since -O takes hundreds of MB of memory
# for v6intThumb.c.
@@ -71,11 +48,11 @@ index 024eb6d..ccecb90 100644
-v6media_CFLAGS = $(AM_CFLAGS) -g -O0 -mcpu=cortex-a8 -mthumb
+v6media_CFLAGS = $(AM_CFLAGS) -g -O0 -mthumb
- v8crypto_a_CFLAGS = $(AM_CFLAGS) -g -O0 -mfpu=crypto-neon-fp-armv8 -marm
- v8crypto_t_CFLAGS = $(AM_CFLAGS) -g -O0 -mfpu=crypto-neon-fp-armv8 -mthumb
-@@ -65,23 +65,23 @@ v8memory_a_CFLAGS = $(AM_CFLAGS) -g -O0 \
- v8memory_t_CFLAGS = $(AM_CFLAGS) -g -O0 \
- -march=armv8-a -mfpu=crypto-neon-fp-armv8 -mthumb
+ v8crypto_a_CFLAGS = $(AM_CFLAGS) -g -O0 -mfpu=crypto-neon-fp-armv8 -marm -march=armv8-a
+ v8crypto_t_CFLAGS = $(AM_CFLAGS) -g -O0 -mfpu=crypto-neon-fp-armv8 -mthumb -march=armv8-a
+@@ -74,23 +74,23 @@ v8memory_t_CFLAGS = $(AM_CFLAGS) -g -O0
+
+ vcvt_fixed_float_VFP_CFLAGS = $(AM_CFLAGS) -g -O0 -mcpu=cortex-a8 -mfpu=neon
-vfp_CFLAGS = $(AM_CFLAGS) -g -O0 -mcpu=cortex-a8 \
+vfp_CFLAGS = $(AM_CFLAGS) -g -O0 \
@@ -103,6 +80,3 @@ index 024eb6d..ccecb90 100644
+vcvt_fixed_float_VFP_CFLAGS = $(AM_CFLAGS) -g -mfpu=vfpv3
vfpv4_fma_CFLAGS = $(AM_CFLAGS) -g -O0 -march=armv7ve -mcpu=cortex-a15 -mfpu=vfpv4 -marm
---
-2.12.2
-
diff --git a/meta/recipes-devtools/valgrind/valgrind/0001-memcheck-arm64-Define-__THROW-if-not-already-defined.patch b/meta/recipes-devtools/valgrind/valgrind/0001-memcheck-arm64-Define-__THROW-if-not-already-defined.patch
deleted file mode 100644
index a48d7db070..0000000000
--- a/meta/recipes-devtools/valgrind/valgrind/0001-memcheck-arm64-Define-__THROW-if-not-already-defined.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From 3409dc35c15bb14c8a525239806322648e079ab1 Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Wed, 5 Jul 2017 17:12:43 -0700
-Subject: [PATCH 1/3] memcheck/arm64: Define __THROW if not already defined
-
-Helps compiling with musl where __THROW is not available
-
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
-Upstream-Status: Submitted
-
- memcheck/tests/arm64-linux/scalar.h | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/memcheck/tests/arm64-linux/scalar.h b/memcheck/tests/arm64-linux/scalar.h
-index 9008816..8ef050f 100644
---- a/memcheck/tests/arm64-linux/scalar.h
-+++ b/memcheck/tests/arm64-linux/scalar.h
-@@ -12,6 +12,10 @@
- #include <sys/types.h>
- #include <sys/mman.h>
-
-+#ifndef __THROW
-+#define __THROW
-+#endif
-+
- // Since we use vki_unistd.h, we can't include <unistd.h>. So we have to
- // declare this ourselves.
- extern long int syscall (long int __sysno, ...) __THROW;
---
-2.13.2
-
diff --git a/meta/recipes-devtools/valgrind/valgrind/0001-memcheck-tests-Fix-timerfd-syscall-test.patch b/meta/recipes-devtools/valgrind/valgrind/0001-memcheck-tests-Fix-timerfd-syscall-test.patch
index 15fbbe954f..29a9e95a90 100644
--- a/meta/recipes-devtools/valgrind/valgrind/0001-memcheck-tests-Fix-timerfd-syscall-test.patch
+++ b/meta/recipes-devtools/valgrind/valgrind/0001-memcheck-tests-Fix-timerfd-syscall-test.patch
@@ -17,7 +17,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
--- a/config.h.in
+++ b/config.h.in
-@@ -301,6 +301,9 @@
+@@ -424,6 +424,9 @@
/* Define to 1 if you have the <sys/sysnvl.h> header file. */
#undef HAVE_SYS_SYSNVL_H
@@ -29,7 +29,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
--- a/configure.ac
+++ b/configure.ac
-@@ -4098,6 +4098,7 @@ AC_CHECK_HEADERS([ \
+@@ -4881,6 +4881,7 @@ AC_CHECK_HEADERS([ \
sys/syscall.h \
sys/sysnvl.h \
sys/time.h \
@@ -39,7 +39,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
--- a/memcheck/tests/linux/timerfd-syscall.c
+++ b/memcheck/tests/linux/timerfd-syscall.c
-@@ -45,6 +45,9 @@
+@@ -42,6 +42,9 @@
#if defined(HAVE_SYS_TIME_H)
#include <sys/time.h>
#endif
@@ -49,7 +49,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
#if defined(HAVE_SYS_TYPES_H)
#include <sys/types.h>
#endif
-@@ -54,7 +57,8 @@
+@@ -51,7 +54,8 @@
* timerfd_* system call numbers introduced in 2.6.23. These constants are
* not yet in the glibc 2.7 headers, that is why they are defined here.
*/
@@ -59,7 +59,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
#if defined(__x86_64__)
#define __NR_timerfd_create 283
#elif defined(__i386__)
-@@ -67,8 +71,10 @@
+@@ -64,8 +68,10 @@
#error Cannot detect your architecture!
#endif
#endif
@@ -71,7 +71,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
#if defined(__x86_64__)
#define __NR_timerfd_settime 286
#define __NR_timerfd_gettime 287
-@@ -85,7 +91,7 @@
+@@ -82,7 +88,7 @@
#error Cannot detect your architecture!
#endif
#endif
@@ -80,7 +80,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
/* Definitions from include/linux/timerfd.h */
-@@ -127,6 +133,7 @@ void set_timespec(struct timespec *tmr,
+@@ -124,6 +130,7 @@ void set_timespec(struct timespec *tmr,
tmr->tv_nsec = (long) (1000ULL * (ustime % 1000000ULL));
}
@@ -88,7 +88,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
int timerfd_create(int clockid, int flags)
{
return syscall(__NR_timerfd_create, clockid, flags);
-@@ -142,6 +149,7 @@ int timerfd_gettime(int ufc, struct itim
+@@ -139,6 +146,7 @@ int timerfd_gettime(int ufc, struct itim
{
return syscall(__NR_timerfd_gettime, ufc, otmr);
}
diff --git a/meta/recipes-devtools/valgrind/valgrind/0001-none-tests-fdleak_cmsg.stderr.exp-adjust-tmp-paths.patch b/meta/recipes-devtools/valgrind/valgrind/0001-none-tests-fdleak_cmsg.stderr.exp-adjust-tmp-paths.patch
index d641998d72..e421ac6c80 100644
--- a/meta/recipes-devtools/valgrind/valgrind/0001-none-tests-fdleak_cmsg.stderr.exp-adjust-tmp-paths.patch
+++ b/meta/recipes-devtools/valgrind/valgrind/0001-none-tests-fdleak_cmsg.stderr.exp-adjust-tmp-paths.patch
@@ -19,7 +19,7 @@ index 6e5a797b9..0ede1ab18 100644
@@ -25,10 +25,10 @@ Open file descriptor ...: /dev/null
- FILE DESCRIPTORS: 6 open at exit.
+ FILE DESCRIPTORS: 6 open (3 std) at exit.
-Open file descriptor ...: /tmp/data2
+Open file descriptor ...: ...
...
diff --git a/meta/recipes-devtools/valgrind/valgrind/0001-str_tester.c-Limit-rawmemchr-test-to-glibc.patch b/meta/recipes-devtools/valgrind/valgrind/0001-str_tester.c-Limit-rawmemchr-test-to-glibc.patch
deleted file mode 100644
index 185b8f9e60..0000000000
--- a/meta/recipes-devtools/valgrind/valgrind/0001-str_tester.c-Limit-rawmemchr-test-to-glibc.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-From de692e359801a1f0488c76267e4f904dd2efe754 Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Sat, 10 Jun 2017 00:39:07 -0700
-Subject: [PATCH] str_tester.c: Limit rawmemchr() test to glibc
-
-rawmemchr() is a GNU extention therefore mark it so
-
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
-Upstream-Status: Pending
-
- memcheck/tests/str_tester.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/memcheck/tests/str_tester.c b/memcheck/tests/str_tester.c
-index 9f7790a..47e4b4a 100644
---- a/memcheck/tests/str_tester.c
-+++ b/memcheck/tests/str_tester.c
-@@ -504,7 +504,7 @@ test_strchrnul (void)
- #endif
-
- // DDD: better done by testing for the function.
--#if !defined(__APPLE__) && !defined(__sun)
-+#if !defined(__APPLE__) && !defined(__sun) && defined(__GLIBC__)
- static void
- test_rawmemchr (void)
- {
-@@ -1442,7 +1442,7 @@ main (void)
- test_strchrnul ();
- # endif
-
--# if !defined(__APPLE__) && !defined(__sun)
-+# if !defined(__APPLE__) && !defined(__sun) && defined(__GLIBC__)
- /* rawmemchr. */
- test_rawmemchr ();
- # endif
---
-2.13.1
-
diff --git a/meta/recipes-devtools/valgrind/valgrind/0001-tests-arm-Use-O-instead-of-O0.patch b/meta/recipes-devtools/valgrind/valgrind/0001-tests-arm-Use-O-instead-of-O0.patch
new file mode 100644
index 0000000000..2d28bcb6c4
--- /dev/null
+++ b/meta/recipes-devtools/valgrind/valgrind/0001-tests-arm-Use-O-instead-of-O0.patch
@@ -0,0 +1,34 @@
+From 8e907753625faba3284925983ef8e83f8491aa76 Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Fri, 10 May 2024 17:44:47 -0700
+Subject: [PATCH] tests/arm: Use -O instead of -O0
+
+GCC-14 fails to compile the testcase with -O2 [1]
+therefore workaround it by using -O1, which works
+and for OE/cross-compiling it is fine, -O0 is used
+to make these tests compile natively on an arm target
+and gcc would take less memory compiling with -O0
+-O would take a bit more memory but in cross compiling
+we have enough of it on build host.
+
+[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115042
+Upstream-Status: Inappropriate [WORKAROUND]
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ none/tests/arm/Makefile.am | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/none/tests/arm/Makefile.am
++++ b/none/tests/arm/Makefile.am
+@@ -57,9 +57,9 @@ allexec_CFLAGS = $(AM_CFLAGS) @FLAG_W_N
+ # Also force -O0 since -O takes hundreds of MB of memory
+ # for v6intThumb.c.
+ v6intARM_CFLAGS = $(AM_CFLAGS) -g -O0 -marm
+-v6intThumb_CFLAGS = $(AM_CFLAGS) -g -O0 -mthumb
++v6intThumb_CFLAGS = $(AM_CFLAGS) -g -O -mthumb
+
+-v6media_CFLAGS = $(AM_CFLAGS) -g -O0 -mthumb
++v6media_CFLAGS = $(AM_CFLAGS) -g -O -mthumb
+
+ v8crypto_a_CFLAGS = $(AM_CFLAGS) -g -O0 -mfpu=crypto-neon-fp-armv8 -marm -march=armv8-a
+ v8crypto_t_CFLAGS = $(AM_CFLAGS) -g -O0 -mfpu=crypto-neon-fp-armv8 -mthumb -march=armv8-a
diff --git a/meta/recipes-devtools/valgrind/valgrind/0002-context-APIs-are-not-available-on-musl.patch b/meta/recipes-devtools/valgrind/valgrind/0002-context-APIs-are-not-available-on-musl.patch
deleted file mode 100644
index 480fe33247..0000000000
--- a/meta/recipes-devtools/valgrind/valgrind/0002-context-APIs-are-not-available-on-musl.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-From bd4e926e7e14747b3cd4d7b2a1bd5410b22f3ea2 Mon Sep 17 00:00:00 2001
-From: Randy MacLeod <Randy.MacLeod@windriver.com>
-Date: Tue, 16 Oct 2018 21:27:46 -0400
-Subject: [PATCH] context APIs are not available on musl
-
-Upstream-Status: Pending
-
-Updated patch for valgrind-3.14
-
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
-Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
----
- memcheck/tests/linux/stack_changes.c | 7 ++++++-
- 1 file changed, 6 insertions(+), 1 deletion(-)
-
-diff --git a/memcheck/tests/linux/stack_changes.c b/memcheck/tests/linux/stack_changes.c
-index 7f97b90a5..a26cb4ae6 100644
---- a/memcheck/tests/linux/stack_changes.c
-+++ b/memcheck/tests/linux/stack_changes.c
-@@ -10,6 +10,7 @@
- // This test is checking the libc context calls (setcontext, etc.) and
- // checks that Valgrind notices their stack changes properly.
-
-+#ifdef __GLIBC__
- typedef ucontext_t mycontext;
-
- mycontext ctx1, ctx2, oldc;
-@@ -51,9 +52,11 @@ int init_context(mycontext *uc)
-
- return ret;
- }
-+#endif
-
- int main(int argc, char **argv)
- {
-+#ifdef __GLIBC__
- int c1 = init_context(&ctx1);
- int c2 = init_context(&ctx2);
-
-@@ -66,6 +69,8 @@ int main(int argc, char **argv)
- //free(ctx1.uc_stack.ss_sp);
- VALGRIND_STACK_DEREGISTER(c2);
- //free(ctx2.uc_stack.ss_sp);
--
-+#else
-+ printf("libc context call APIs e.g. getcontext() are deprecated by posix\n");
-+#endif
- return 0;
- }
---
-2.17.0
-
diff --git a/meta/recipes-devtools/valgrind/valgrind/0002-memcheck-x86-Define-__THROW-if-not-defined.patch b/meta/recipes-devtools/valgrind/valgrind/0002-memcheck-x86-Define-__THROW-if-not-defined.patch
deleted file mode 100644
index 5433472291..0000000000
--- a/meta/recipes-devtools/valgrind/valgrind/0002-memcheck-x86-Define-__THROW-if-not-defined.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From 67d199dbdcbb3feff5f8928f87725fc64c0307d7 Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Wed, 5 Jul 2017 17:36:42 -0700
-Subject: [PATCH 2/3] memcheck/x86: Define __THROW if not defined
-
-musl does not have __THROW, therefore make it null
-
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
-Upstream-Status: Submitted
-
- memcheck/tests/x86-linux/scalar.h | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/memcheck/tests/x86-linux/scalar.h b/memcheck/tests/x86-linux/scalar.h
-index ef28b03..52f742e 100644
---- a/memcheck/tests/x86-linux/scalar.h
-+++ b/memcheck/tests/x86-linux/scalar.h
-@@ -11,6 +11,10 @@
- #include <sys/types.h>
- #include <sys/mman.h>
-
-+#ifndef __THROW
-+#define __THROW
-+#endif
-+
- // Since we use vki_unistd.h, we can't include <unistd.h>. So we have to
- // declare this ourselves.
- extern long int syscall (long int __sysno, ...) __THROW;
---
-2.13.2
-
diff --git a/meta/recipes-devtools/valgrind/valgrind/0003-tests-seg_override-Replace-__modify_ldt-with-syscall.patch b/meta/recipes-devtools/valgrind/valgrind/0003-tests-seg_override-Replace-__modify_ldt-with-syscall.patch
deleted file mode 100644
index fa1344c853..0000000000
--- a/meta/recipes-devtools/valgrind/valgrind/0003-tests-seg_override-Replace-__modify_ldt-with-syscall.patch
+++ /dev/null
@@ -1,68 +0,0 @@
-From d103475875858ab8a2e6b53ce178bb2f63883d4c Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Wed, 5 Jul 2017 17:37:56 -0700
-Subject: [PATCH 3/3] tests/seg_override: Replace __modify_ldt() with syscall()
-
-__modify_ldt() is specific to glibc, replacing it with syscall()
-makes it more portable.
-
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
-Upstream-Status: Submitted
-
- none/tests/x86-linux/seg_override.c | 15 ++++++---------
- 1 file changed, 6 insertions(+), 9 deletions(-)
-
-diff --git a/none/tests/x86-linux/seg_override.c b/none/tests/x86-linux/seg_override.c
-index b7619c9..c89874b 100644
---- a/none/tests/x86-linux/seg_override.c
-+++ b/none/tests/x86-linux/seg_override.c
-@@ -2,6 +2,8 @@
- #include <stdio.h>
- #include <errno.h>
- #include <string.h>
-+#include <unistd.h>
-+#include <syscall.h>
-
- /* Stuff from Wine. */
-
-@@ -52,14 +54,11 @@ inline static unsigned int wine_ldt_get_limit( const LDT_ENTRY *ent )
- /* our copy of the ldt */
- LDT_ENTRY ldt_copy[8192];
-
--/* System call to set LDT entry. */
--//extern int __modify_ldt (int, struct modify_ldt_ldt_s *, size_t);
--extern int __modify_ldt (int, void *, size_t);
--
- void print_ldt ( void )
- {
- int res;
-- res = __modify_ldt( 0, ldt_copy, 8192*sizeof(LDT_ENTRY) );
-+ /* System call to set LDT entry. */
-+ res = syscall(SYS_modify_ldt, 0, ldt_copy, 8192*sizeof(LDT_ENTRY) );
- printf("got %d bytes\n", res );
- perror("error is");
- }
-@@ -83,9 +82,6 @@ struct modify_ldt_ldt_s
- unsigned int empty:25;
- };
-
--/* System call to set LDT entry. */
--//extern int __modify_ldt (int, struct modify_ldt_ldt_s *, size_t);
--
- void set_ldt1 ( void* base )
- {
- int stat;
-@@ -102,7 +98,8 @@ void set_ldt1 ( void* base )
- ldt_entry.read_exec_only = 0;
- ldt_entry.limit_in_pages = 0;
- ldt_entry.seg_not_present = 0;
-- stat = __modify_ldt (1, &ldt_entry, sizeof (ldt_entry));
-+ /* System call to set LDT entry. */
-+ stat = syscall(SYS_modify_ldt, 1, &ldt_entry, sizeof (ldt_entry));
- printf("stat = %d\n", stat);
- }
-
---
-2.13.2
-
diff --git a/meta/recipes-devtools/valgrind/valgrind/0004-Fix-out-of-tree-builds.patch b/meta/recipes-devtools/valgrind/valgrind/0004-Fix-out-of-tree-builds.patch
deleted file mode 100644
index 4570f63995..0000000000
--- a/meta/recipes-devtools/valgrind/valgrind/0004-Fix-out-of-tree-builds.patch
+++ /dev/null
@@ -1,185 +0,0 @@
-From 8f916dcb395fe5a2429f2867ba4daf8ef3af073a Mon Sep 17 00:00:00 2001
-From: Randy MacLeod <Randy.MacLeod@windriver.com>
-Date: Tue, 16 Oct 2018 21:01:04 -0400
-Subject: [PATCH] Fix out of tree builds.
-
-The paths to these files need to be fully specified in
-the out of tree build case. glibc-2.X.supp is a generated file so the
-full path
-is deliberately not specified in that case.
-
-RP 2013/03/23
-
-Patch refreshed for valgrind-3.14.0.
-
-Upstream-Status: Pending
-
-Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
-Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
----
- configure.ac | 66 ++++++++++++++++++++++++++--------------------------
- 1 file changed, 33 insertions(+), 33 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index 524230d..54861c5 100755
---- a/configure.ac
-+++ b/configure.ac
-@@ -396,50 +396,50 @@ case "${host_os}" in
- 9.*)
- AC_MSG_RESULT([Darwin 9.x (${kernel}) / Mac OS X 10.5 Leopard])
- AC_DEFINE([DARWIN_VERS], DARWIN_10_5, [Darwin / Mac OS X version])
-- DEFAULT_SUPP="darwin9.supp ${DEFAULT_SUPP}"
-- DEFAULT_SUPP="darwin9-drd.supp ${DEFAULT_SUPP}"
-+ DEFAULT_SUPP="$srcdir/darwin9.supp ${DEFAULT_SUPP}"
-+ DEFAULT_SUPP="$srcdir/darwin9-drd.supp ${DEFAULT_SUPP}"
- ;;
- 10.*)
- AC_MSG_RESULT([Darwin 10.x (${kernel}) / Mac OS X 10.6 Snow Leopard])
- AC_DEFINE([DARWIN_VERS], DARWIN_10_6, [Darwin / Mac OS X version])
-- DEFAULT_SUPP="darwin10.supp ${DEFAULT_SUPP}"
-- DEFAULT_SUPP="darwin10-drd.supp ${DEFAULT_SUPP}"
-+ DEFAULT_SUPP="$srcdir/darwin10.supp ${DEFAULT_SUPP}"
-+ DEFAULT_SUPP="$srcdir/darwin10-drd.supp ${DEFAULT_SUPP}"
- ;;
- 11.*)
- AC_MSG_RESULT([Darwin 11.x (${kernel}) / Mac OS X 10.7 Lion])
- AC_DEFINE([DARWIN_VERS], DARWIN_10_7, [Darwin / Mac OS X version])
-- DEFAULT_SUPP="darwin11.supp ${DEFAULT_SUPP}"
-- DEFAULT_SUPP="darwin10-drd.supp ${DEFAULT_SUPP}"
-+ DEFAULT_SUPP="$srcdir/darwin11.supp ${DEFAULT_SUPP}"
-+ DEFAULT_SUPP="$srcdir/darwin10-drd.supp ${DEFAULT_SUPP}"
- ;;
- 12.*)
- AC_MSG_RESULT([Darwin 12.x (${kernel}) / Mac OS X 10.8 Mountain Lion])
- AC_DEFINE([DARWIN_VERS], DARWIN_10_8, [Darwin / Mac OS X version])
-- DEFAULT_SUPP="darwin12.supp ${DEFAULT_SUPP}"
-- DEFAULT_SUPP="darwin10-drd.supp ${DEFAULT_SUPP}"
-+ DEFAULT_SUPP="$srcdir/darwin12.supp ${DEFAULT_SUPP}"
-+ DEFAULT_SUPP="$srcdir/darwin10-drd.supp ${DEFAULT_SUPP}"
- ;;
- 13.*)
- AC_MSG_RESULT([Darwin 13.x (${kernel}) / Mac OS X 10.9 Mavericks])
- AC_DEFINE([DARWIN_VERS], DARWIN_10_9, [Darwin / Mac OS X version])
-- DEFAULT_SUPP="darwin13.supp ${DEFAULT_SUPP}"
-- DEFAULT_SUPP="darwin10-drd.supp ${DEFAULT_SUPP}"
-+ DEFAULT_SUPP="$srcdir/darwin13.supp ${DEFAULT_SUPP}"
-+ DEFAULT_SUPP="$srcdir/darwin10-drd.supp ${DEFAULT_SUPP}"
- ;;
- 14.*)
- AC_MSG_RESULT([Darwin 14.x (${kernel}) / Mac OS X 10.10 Yosemite])
- AC_DEFINE([DARWIN_VERS], DARWIN_10_10, [Darwin / Mac OS X version])
-- DEFAULT_SUPP="darwin14.supp ${DEFAULT_SUPP}"
-- DEFAULT_SUPP="darwin10-drd.supp ${DEFAULT_SUPP}"
-+ DEFAULT_SUPP="$srcdir/darwin14.supp ${DEFAULT_SUPP}"
-+ DEFAULT_SUPP="$srcdir/darwin10-drd.supp ${DEFAULT_SUPP}"
- ;;
- 15.*)
- AC_MSG_RESULT([Darwin 15.x (${kernel}) / Mac OS X 10.11 El Capitan])
- AC_DEFINE([DARWIN_VERS], DARWIN_10_11, [Darwin / Mac OS X version])
-- DEFAULT_SUPP="darwin15.supp ${DEFAULT_SUPP}"
-- DEFAULT_SUPP="darwin10-drd.supp ${DEFAULT_SUPP}"
-+ DEFAULT_SUPP="$srcdir/darwin15.supp ${DEFAULT_SUPP}"
-+ DEFAULT_SUPP="$srcdir/darwin10-drd.supp ${DEFAULT_SUPP}"
- ;;
- 16.*)
- AC_MSG_RESULT([Darwin 16.x (${kernel}) / macOS 10.12 Sierra])
- AC_DEFINE([DARWIN_VERS], DARWIN_10_12, [Darwin / Mac OS X version])
-- DEFAULT_SUPP="darwin16.supp ${DEFAULT_SUPP}"
-- DEFAULT_SUPP="darwin10-drd.supp ${DEFAULT_SUPP}"
-+ DEFAULT_SUPP="$srcdir/darwin16.supp ${DEFAULT_SUPP}"
-+ DEFAULT_SUPP="$srcdir/darwin10-drd.supp ${DEFAULT_SUPP}"
- ;;
- 17.*)
- AC_MSG_RESULT([Darwin 17.x (${kernel}) / macOS 10.13 High Sierra])
-@@ -464,7 +464,7 @@ case "${host_os}" in
- DEFAULT_SUPP="solaris12.supp ${DEFAULT_SUPP}"
- ;;
- *)
-- DEFAULT_SUPP="solaris11.supp ${DEFAULT_SUPP}"
-+ DEFAULT_SUPP="$srcdir/solaris11.supp ${DEFAULT_SUPP}"
- ;;
- esac
- ;;
-@@ -472,7 +472,7 @@ case "${host_os}" in
- solaris2.12*)
- AC_MSG_RESULT([ok (${host_os})])
- VGCONF_OS="solaris"
-- DEFAULT_SUPP="solaris12.supp ${DEFAULT_SUPP}"
-+ DEFAULT_SUPP="$srcdir/solaris12.supp ${DEFAULT_SUPP}"
- ;;
-
- *)
-@@ -1095,29 +1095,29 @@ AC_MSG_CHECKING([the glibc version])
- case "${GLIBC_VERSION}" in
- 2.2)
- AC_MSG_RESULT(${GLIBC_VERSION} family)
-- DEFAULT_SUPP="glibc-2.2.supp ${DEFAULT_SUPP}"
-- DEFAULT_SUPP="glibc-2.2-LinuxThreads-helgrind.supp ${DEFAULT_SUPP}"
-- DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}"
-+ DEFAULT_SUPP="$srcdir/glibc-2.2.supp ${DEFAULT_SUPP}"
-+ DEFAULT_SUPP="$srcdir/glibc-2.2-LinuxThreads-helgrind.supp ${DEFAULT_SUPP}"
-+ DEFAULT_SUPP="$srcdir/glibc-2.X-drd.supp ${DEFAULT_SUPP}"
- ;;
- 2.[[3-6]])
- AC_MSG_RESULT(${GLIBC_VERSION} family)
-- DEFAULT_SUPP="glibc-${GLIBC_VERSION}.supp ${DEFAULT_SUPP}"
-- DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
-- DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}"
-+ DEFAULT_SUPP="$srcdir/glibc-${GLIBC_VERSION}.supp ${DEFAULT_SUPP}"
-+ DEFAULT_SUPP="$srcdir/glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
-+ DEFAULT_SUPP="$srcdir/glibc-2.X-drd.supp ${DEFAULT_SUPP}"
- ;;
- 2.[[7-9]])
- AC_MSG_RESULT(${GLIBC_VERSION} family)
- DEFAULT_SUPP="glibc-2.X.supp ${DEFAULT_SUPP}"
-- DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
-- DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}"
-+ DEFAULT_SUPP="$srcdir/glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
-+ DEFAULT_SUPP="$srcdir/glibc-2.X-drd.supp ${DEFAULT_SUPP}"
- ;;
- 2.10|2.11)
- AC_MSG_RESULT(${GLIBC_VERSION} family)
- AC_DEFINE([GLIBC_MANDATORY_STRLEN_REDIRECT], 1,
- [Define to 1 if strlen() has been optimized heavily (amd64 glibc >= 2.10)])
- DEFAULT_SUPP="glibc-2.X.supp ${DEFAULT_SUPP}"
-- DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
-- DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}"
-+ DEFAULT_SUPP="$srcdir/glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
-+ DEFAULT_SUPP="$srcdir/glibc-2.X-drd.supp ${DEFAULT_SUPP}"
- ;;
- 2.*)
- AC_MSG_RESULT(${GLIBC_VERSION} family)
-@@ -1126,8 +1126,8 @@ case "${GLIBC_VERSION}" in
- AC_DEFINE([GLIBC_MANDATORY_INDEX_AND_STRLEN_REDIRECT], 1,
- [Define to 1 if index() and strlen() have been optimized heavily (x86 glibc >= 2.12)])
- DEFAULT_SUPP="glibc-2.X.supp ${DEFAULT_SUPP}"
-- DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
-- DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}"
-+ DEFAULT_SUPP="$srcdir/glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
-+ DEFAULT_SUPP="$srcdir/glibc-2.X-drd.supp ${DEFAULT_SUPP}"
- ;;
- darwin)
- AC_MSG_RESULT(Darwin)
-@@ -1137,7 +1137,7 @@ case "${GLIBC_VERSION}" in
- bionic)
- AC_MSG_RESULT(Bionic)
- AC_DEFINE([BIONIC_LIBC], 1, [Define to 1 if you're using Bionic])
-- DEFAULT_SUPP="bionic.supp ${DEFAULT_SUPP}"
-+ DEFAULT_SUPP="$srcdir/bionic.supp ${DEFAULT_SUPP}"
- ;;
- solaris)
- AC_MSG_RESULT(Solaris)
-@@ -1164,8 +1164,8 @@ if test "$VGCONF_OS" != "solaris"; then
- # attempt to detect whether such libraries are installed on the
- # build machine (or even if any X facilities are present); just
- # add the suppressions antidisirregardless.
-- DEFAULT_SUPP="xfree-4.supp ${DEFAULT_SUPP}"
-- DEFAULT_SUPP="xfree-3.supp ${DEFAULT_SUPP}"
-+ DEFAULT_SUPP="$srcdir/xfree-4.supp ${DEFAULT_SUPP}"
-+ DEFAULT_SUPP="$srcdir/xfree-3.supp ${DEFAULT_SUPP}"
- fi
-
-
---
-2.17.1
-
diff --git a/meta/recipes-devtools/valgrind/valgrind/0005-Modify-vg_test-wrapper-to-support-PTEST-formats.patch b/meta/recipes-devtools/valgrind/valgrind/0005-Modify-vg_test-wrapper-to-support-PTEST-formats.patch
index 7985308e41..fea3b00f62 100644
--- a/meta/recipes-devtools/valgrind/valgrind/0005-Modify-vg_test-wrapper-to-support-PTEST-formats.patch
+++ b/meta/recipes-devtools/valgrind/valgrind/0005-Modify-vg_test-wrapper-to-support-PTEST-formats.patch
@@ -1,7 +1,7 @@
-From f49f27f1bc67d07440b0ac9a7d767a8ea1589bfe Mon Sep 17 00:00:00 2001
+From e244a72c6f8803550f37e81f72bbae039651013b Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex.kanavin@gmail.com>
Date: Tue, 15 Dec 2015 15:50:44 +0200
-Subject: [PATCH 5/5] Modify vg_test wrapper to support PTEST formats
+Subject: [PATCH] Modify vg_test wrapper to support PTEST formats
Change the valgrind regression test script vg_regtest to
support the yocto ptest stdout reporting format. The commit adds
@@ -14,17 +14,22 @@ option, --yocto-ptest, the valgrind regression test output is unchanged.
Enforce 30 seconds limit for the test.
This resume execution of the remaining tests when valgrind hangs.
-Upstream-Status: Pending
+Upstream-Status: Inappropriate [oe-core specific]
Signed-off-by: Dave Lerner <dave.lerner@windriver.com>
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
+
+Increase time limit to 90 s.
+(double of the expected time of drd/tests/std_list on qemuarm64)
+
+Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
---
- tests/vg_regtest.in | 75 +++++++++++++++++++++++++++++++++++++++--------------
+ tests/vg_regtest.in | 75 +++++++++++++++++++++++++++++++++------------
1 file changed, 55 insertions(+), 20 deletions(-)
diff --git a/tests/vg_regtest.in b/tests/vg_regtest.in
-index a441f42..cb05b52 100755
+index ad18800..e4bd8cb 100755
--- a/tests/vg_regtest.in
+++ b/tests/vg_regtest.in
@@ -47,6 +47,7 @@
@@ -44,7 +49,7 @@ index a441f42..cb05b52 100755
. " Use EXTRA_REGTEST_OPTS to supply extra args for all tests\n"
. "\n";
-@@ -186,6 +187,7 @@ my $outer_args;
+@@ -187,6 +188,7 @@ my $run_outer_args = "";
my $valgrind_lib = "$tests_dir/.in_place";
my $keepunfiltered = 0;
my $looptillfail = 0;
@@ -52,7 +57,7 @@ index a441f42..cb05b52 100755
# default filter is the one named "filter_stderr" in the test's directory
my $default_stderr_filter = "filter_stderr";
-@@ -244,6 +246,8 @@ sub process_command_line()
+@@ -245,6 +247,8 @@ sub process_command_line()
$keepunfiltered = 1;
} elsif ($arg =~ /^--loop-till-fail$/) {
$looptillfail = 1;
@@ -61,12 +66,12 @@ index a441f42..cb05b52 100755
} else {
die $usage;
}
-@@ -365,13 +369,28 @@ sub read_vgtest_file($)
+@@ -376,13 +380,28 @@ sub read_vgtest_file($)
#----------------------------------------------------------------------------
# Since most of the program time is spent in system() calls, need this to
# propagate a Ctrl-C enabling us to quit.
-sub mysystem($)
-+# Enforce 30 seconds limit for the test.
++# Enforce 90 seconds limit for the test.
+# This resume execution of the remaining tests if valgrind hangs.
+sub mysystem($)
{
@@ -76,7 +81,7 @@ index a441f42..cb05b52 100755
+ my $exit_code=0;
+ eval {
+ local $SIG{'ALRM'} = sub { die "timed out\n" };
-+ alarm(30);
++ alarm(90);
+ $exit_code = system($_[0]);
+ alarm (0);
+ ($exit_code == 2) and die "SIGINT\n"; # 2 is SIGINT
@@ -95,7 +100,7 @@ index a441f42..cb05b52 100755
# if $keepunfiltered, copies $1 to $1.unfiltered.out
# renames $0 tp $1
sub filtered_rename($$)
-@@ -419,23 +438,25 @@ sub do_diffs($$$$)
+@@ -430,23 +449,25 @@ sub do_diffs($$$$)
# A match; remove .out and any previously created .diff files.
unlink("$name.$mid.out");
unlink(<$name.$mid.diff*>);
@@ -123,7 +128,7 @@ index a441f42..cb05b52 100755
$vgtest =~ /^(.*)\.vgtest/;
my $name = $1;
my $fullname = "$dir/$name";
-@@ -454,7 +475,11 @@ sub do_one_test($$)
+@@ -465,7 +486,11 @@ sub do_one_test($$)
} elsif (256 == $prereq_res) {
# Nb: weird Perl-ism -- exit code of '1' is seen by Perl as 256...
# Prereq failed, skip.
@@ -136,7 +141,7 @@ index a441f42..cb05b52 100755
return;
} else {
# Bad prereq; abort.
-@@ -472,7 +497,7 @@ sub do_one_test($$)
+@@ -483,7 +508,7 @@ sub do_one_test($$)
}
# If there is a progB, let's start it in background:
printf("%-16s valgrind $extraopts $vgopts $prog $args (progB: $progB $argsB)\n",
@@ -145,7 +150,7 @@ index a441f42..cb05b52 100755
# progB.done used to detect child has finished. See below.
# Note: redirection of stdout and stderr is before $progB to allow argsB
# to e.g. redirect stdoutB to stderrB
-@@ -488,7 +513,8 @@ sub do_one_test($$)
+@@ -499,7 +524,8 @@ sub do_one_test($$)
. "touch progB.done) &");
}
} else {
@@ -155,7 +160,7 @@ index a441f42..cb05b52 100755
}
# Collect environment variables, if any.
-@@ -529,7 +555,7 @@ sub do_one_test($$)
+@@ -540,7 +566,7 @@ sub do_one_test($$)
# Find all the .stdout.exp files. If none, use /dev/null.
my @stdout_exps = <$name.stdout.exp*>;
@stdout_exps = ( "/dev/null" ) if (0 == scalar @stdout_exps);
@@ -164,7 +169,7 @@ index a441f42..cb05b52 100755
# Filter stderr
$stderr_filter_args = $name if (! defined $stderr_filter_args);
-@@ -538,7 +564,7 @@ sub do_one_test($$)
+@@ -549,7 +575,7 @@ sub do_one_test($$)
# Find all the .stderr.exp files. At least one must exist.
my @stderr_exps = <$name.stderr.exp*>;
(0 != scalar @stderr_exps) or die "Could not find `$name.stderr.exp*'\n";
@@ -173,7 +178,7 @@ index a441f42..cb05b52 100755
if (defined $progB) {
# wait for the child to be finished
-@@ -562,7 +588,7 @@ sub do_one_test($$)
+@@ -573,7 +599,7 @@ sub do_one_test($$)
# Find all the .stdoutB.exp files. If none, use /dev/null.
my @stdoutB_exps = <$name.stdoutB.exp*>;
@stdoutB_exps = ( "/dev/null" ) if (0 == scalar @stdoutB_exps);
@@ -182,7 +187,7 @@ index a441f42..cb05b52 100755
# Filter stderr
$stderrB_filter_args = $name if (! defined $stderrB_filter_args);
-@@ -571,7 +597,7 @@ sub do_one_test($$)
+@@ -582,7 +608,7 @@ sub do_one_test($$)
# Find all the .stderrB.exp files. At least one must exist.
my @stderrB_exps = <$name.stderrB.exp*>;
(0 != scalar @stderrB_exps) or die "Could not find `$name.stderrB.exp*'\n";
@@ -191,7 +196,7 @@ index a441f42..cb05b52 100755
}
# Maybe do post-test check
-@@ -583,7 +609,7 @@ sub do_one_test($$)
+@@ -594,7 +620,7 @@ sub do_one_test($$)
# Find all the .post.exp files. If none, use /dev/null.
my @post_exps = <$name.post.exp*>;
@post_exps = ( "/dev/null" ) if (0 == scalar @post_exps);
@@ -200,7 +205,7 @@ index a441f42..cb05b52 100755
}
}
-@@ -592,6 +618,13 @@ sub do_one_test($$)
+@@ -603,6 +629,13 @@ sub do_one_test($$)
print("(cleanup operation failed: $cleanup)\n");
}
@@ -214,25 +219,25 @@ index a441f42..cb05b52 100755
$num_tests_done++;
}
-@@ -631,7 +664,7 @@ sub test_one_dir($$)
- my $found_tests = (0 != (grep { $_ =~ /\.vgtest$/ } @fs));
+@@ -643,7 +676,7 @@ sub test_one_dir($$)
+ my $tests_start_time = time;
if ($found_tests) {
- print "-- Running tests in $full_dir $dashes\n";
+ print "-- Running tests in $full_dir $dashes\n" if ($yoctoptest == 0);
}
foreach my $f (@fs) {
if (-d $f) {
-@@ -641,7 +674,7 @@ sub test_one_dir($$)
- }
- }
- if ($found_tests) {
-- print "-- Finished tests in $full_dir $dashes\n";
+@@ -657,7 +690,7 @@ sub test_one_dir($$)
+ my $end_time = "(in $tests_cost_time sec)";
+ my $end_dashes = "-" x (50 - (length $full_dir)
+ - (length $end_time) - 1);
+- print "-- Finished tests in $full_dir $end_time $end_dashes\n";
+ print "-- Finished tests in $full_dir $dashes\n" if ($yoctoptest == 0);
}
chdir("..");
-@@ -667,10 +700,12 @@ sub summarise_results
+@@ -683,10 +716,12 @@ sub summarise_results
$num_failures{"stdout"}, plural($num_failures{"stdout"}),
$num_failures{"stderrB"}, plural($num_failures{"stderrB"}),
$num_failures{"stdoutB"}, plural($num_failures{"stdoutB"}),
@@ -248,5 +253,5 @@ index a441f42..cb05b52 100755
print "\n";
}
--
-2.6.2
+2.30.2
diff --git a/meta/recipes-devtools/valgrind/valgrind/0005-tc20_verifywrap.c-Fake-__GLIBC_PREREQ-with-musl.patch b/meta/recipes-devtools/valgrind/valgrind/0005-tc20_verifywrap.c-Fake-__GLIBC_PREREQ-with-musl.patch
deleted file mode 100644
index 6176640e42..0000000000
--- a/meta/recipes-devtools/valgrind/valgrind/0005-tc20_verifywrap.c-Fake-__GLIBC_PREREQ-with-musl.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From b4b9f072c22f96844e02cb9d68f7ff2408680817 Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Sat, 10 Jun 2017 01:07:59 -0700
-Subject: [PATCH 5/6] tc20_verifywrap.c: Fake __GLIBC_PREREQ with musl
-
-similar to sun
-
-Upstream-Status: Pending
-
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
- helgrind/tests/tc20_verifywrap.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/helgrind/tests/tc20_verifywrap.c b/helgrind/tests/tc20_verifywrap.c
-index c110000..a311a49 100644
---- a/helgrind/tests/tc20_verifywrap.c
-+++ b/helgrind/tests/tc20_verifywrap.c
-@@ -20,7 +20,7 @@
-
- #if !defined(__APPLE__)
-
--#if defined(__sun__)
-+#if defined(__sun__) || (defined(__linux__) && !defined(__GLIBC__))
- /* Fake __GLIBC_PREREQ on Solaris. Pretend glibc >= 2.4. */
- # define __GLIBC_PREREQ
- #else
---
-2.13.1
-
diff --git a/meta/recipes-devtools/valgrind/valgrind/Added-support-for-PPC-instructions-mfatbu-mfatbl.patch b/meta/recipes-devtools/valgrind/valgrind/Added-support-for-PPC-instructions-mfatbu-mfatbl.patch
index 07774f38a9..65de427d36 100644
--- a/meta/recipes-devtools/valgrind/valgrind/Added-support-for-PPC-instructions-mfatbu-mfatbl.patch
+++ b/meta/recipes-devtools/valgrind/valgrind/Added-support-for-PPC-instructions-mfatbu-mfatbl.patch
@@ -3,25 +3,23 @@ From: Aneesh Bansal <aneesh.bansal@freescale.com>
Date: Mon, 21 Nov 2011 17:31:39 +0530
Subject: [PATCH] Added support for PPC instructions mfatbu, mfatbl.
-Upstream-Status: Pending
-
-Signed-off-by: Aneesh Bansal <aneesh.bansal@freescale.com>
----
Currently Valgrind 3.7.0 does not have support for PPC instructions mfatbu and mfatbl. When we run a USDPAA application with VALGRIND, the following error is given by valgrind :
dis_proc_ctl(ppc)(mfspr,SPR)(0x20F)
disInstr(ppc): unhandled instruction: 0x7C0F82A6
+Upstream-Status: Submitted [https://bugs.kde.org/show_bug.cgi?id=289836]
+
+Signed-off-by: Aneesh Bansal <aneesh.bansal@freescale.com>
+---
VEX/priv/guest_ppc_defs.h | 2 ++
VEX/priv/guest_ppc_helpers.c | 18 ++++++++++++++++++
VEX/priv/guest_ppc_toIR.c | 22 ++++++++++++++++++++++
3 files changed, 42 insertions(+), 0 deletions(-)
-diff --git a/VEX/priv/guest_ppc_defs.h b/VEX/priv/guest_ppc_defs.h
-index dd3c62e..11a34aa 100644
--- a/VEX/priv/guest_ppc_defs.h
+++ b/VEX/priv/guest_ppc_defs.h
-@@ -146,6 +146,8 @@ extern UInt ppc32g_dirtyhelper_MFSPR_268_269 ( UInt );
+@@ -233,6 +233,8 @@ extern UInt ppc32g_dirtyhelper_MFSPR_268
extern UInt ppc32g_dirtyhelper_MFSPR_287 ( void );
@@ -30,11 +28,9 @@ index dd3c62e..11a34aa 100644
extern void ppc32g_dirtyhelper_LVS ( VexGuestPPC32State* gst,
UInt vD_idx, UInt sh,
UInt shift_right );
-diff --git a/VEX/priv/guest_ppc_helpers.c b/VEX/priv/guest_ppc_helpers.c
-index 11aa428..b49ea3f 100644
--- a/VEX/priv/guest_ppc_helpers.c
+++ b/VEX/priv/guest_ppc_helpers.c
-@@ -119,6 +119,24 @@ UInt ppc32g_dirtyhelper_MFSPR_287 ( void )
+@@ -118,6 +118,24 @@ UInt ppc32g_dirtyhelper_MFSPR_287 ( void
# endif
}
@@ -59,11 +55,9 @@ index 11aa428..b49ea3f 100644
/* CALLED FROM GENERATED CODE */
/* DIRTY HELPER (reads guest state, writes guest mem) */
-diff --git a/VEX/priv/guest_ppc_toIR.c b/VEX/priv/guest_ppc_toIR.c
-index f8d220d..37c8974 100644
--- a/VEX/priv/guest_ppc_toIR.c
+++ b/VEX/priv/guest_ppc_toIR.c
-@@ -5657,6 +5657,28 @@ static Bool dis_proc_ctl ( VexAbiInfo* vbi, UInt theInstr )
+@@ -11875,6 +11875,28 @@ static Bool dis_proc_ctl ( const VexAbiI
break;
}
@@ -92,5 +86,3 @@ index f8d220d..37c8974 100644
default:
vex_printf("dis_proc_ctl(ppc)(mfspr,SPR)(0x%x)\n", SPR);
return False;
---
-1.7.0.4
diff --git a/meta/recipes-devtools/valgrind/valgrind/avoid-neon-for-targets-which-don-t-support-it.patch b/meta/recipes-devtools/valgrind/valgrind/avoid-neon-for-targets-which-don-t-support-it.patch
index 5fcfec0015..82b8344279 100644
--- a/meta/recipes-devtools/valgrind/valgrind/avoid-neon-for-targets-which-don-t-support-it.patch
+++ b/meta/recipes-devtools/valgrind/valgrind/avoid-neon-for-targets-which-don-t-support-it.patch
@@ -8,7 +8,7 @@ test 64-bit float copies when building for ARM. Allow it to do so if
possible, but fallback to C when building for ARM targets which don't
support neon.
-Upstream-Status: Pending
+Upstream-Status: Submitted [https://bugs.kde.org/show_bug.cgi?id=454346]
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
---
diff --git a/meta/recipes-devtools/valgrind/valgrind/fixed-perl-path.patch b/meta/recipes-devtools/valgrind/valgrind/fixed-perl-path.patch
index b431d3356e..b9804e7451 100644
--- a/meta/recipes-devtools/valgrind/valgrind/fixed-perl-path.patch
+++ b/meta/recipes-devtools/valgrind/valgrind/fixed-perl-path.patch
@@ -1,4 +1,4 @@
-From 67e7a690107efb16d6d5aebfe420b64a552accdf Mon Sep 17 00:00:00 2001
+From beaa5b64c60d501fa9cd59fdc563e5f5bccf6882 Mon Sep 17 00:00:00 2001
From: Qing He <qing.he@intel.com>
Date: Tue, 31 Aug 2010 22:51:58 +0800
Subject: [PATCH] valgrind: fix perl scripts
@@ -17,35 +17,15 @@ a better fix would need:
Upstream-Status: Inappropriate [configuration]
Signed-off-by: Maxin B. John <maxin.john@intel.com>
+
---
- cachegrind/cg_annotate.in | 2 +-
- cachegrind/cg_diff.in | 2 +-
- massif/ms_print.in | 2 +-
- perf/vg_perf.in | 2 +-
- 4 files changed, 4 insertions(+), 4 deletions(-)
+ massif/ms_print.in | 2 +-
+ perf/vg_perf.in | 2 +-
+ tests/vg_regtest.in | 2 +-
+ 3 files changed, 3 insertions(+), 3 deletions(-)
-diff --git a/cachegrind/cg_annotate.in b/cachegrind/cg_annotate.in
-index 69365e8..978265d 100644
---- a/cachegrind/cg_annotate.in
-+++ b/cachegrind/cg_annotate.in
-@@ -1,4 +1,4 @@
--#! @PERL@
-+#! /usr/bin/perl
-
- ##--------------------------------------------------------------------##
- ##--- Cachegrind's annotator. cg_annotate.in ---##
-diff --git a/cachegrind/cg_diff.in b/cachegrind/cg_diff.in
-index 395460b..05873cc 100755
---- a/cachegrind/cg_diff.in
-+++ b/cachegrind/cg_diff.in
-@@ -1,4 +1,4 @@
--#! @PERL@
-+#! /usr/bin/perl
-
- ##--------------------------------------------------------------------##
- ##--- Cachegrind's differencer. cg_diff.in ---##
diff --git a/massif/ms_print.in b/massif/ms_print.in
-index e6fae89..3b85b40 100755
+index a206ce4..df1bc31 100755
--- a/massif/ms_print.in
+++ b/massif/ms_print.in
@@ -1,4 +1,4 @@
@@ -55,7 +35,7 @@ index e6fae89..3b85b40 100755
##--------------------------------------------------------------------##
##--- Massif's results printer ms_print.in ---##
diff --git a/perf/vg_perf.in b/perf/vg_perf.in
-index 7a80cb0..28f6156 100644
+index 90ee1d2..c585096 100644
--- a/perf/vg_perf.in
+++ b/perf/vg_perf.in
@@ -1,4 +1,4 @@
@@ -65,7 +45,7 @@ index 7a80cb0..28f6156 100644
##--- Valgrind performance testing script vg_perf ---##
##--------------------------------------------------------------------##
diff --git a/tests/vg_regtest.in b/tests/vg_regtest.in
-index cb05b52..032e947 100755
+index 7152765..ad18800 100755
--- a/tests/vg_regtest.in
+++ b/tests/vg_regtest.in
@@ -1,4 +1,4 @@
@@ -74,5 +54,3 @@ index cb05b52..032e947 100755
##--------------------------------------------------------------------##
##--- Valgrind regression testing script vg_regtest ---##
##--------------------------------------------------------------------##
----
-2.4.0
diff --git a/meta/recipes-devtools/valgrind/valgrind/remove-for-aarch64 b/meta/recipes-devtools/valgrind/valgrind/remove-for-aarch64
index a3a0c6e50f..5bfba1c8d3 100644
--- a/meta/recipes-devtools/valgrind/valgrind/remove-for-aarch64
+++ b/meta/recipes-devtools/valgrind/valgrind/remove-for-aarch64
@@ -1,217 +1,8 @@
-gdbserver_tests/hgtls
-cachegrind/tests/ann1
-callgrind/tests/simwork1
-callgrind/tests/simwork2
-callgrind/tests/simwork3
-callgrind/tests/simwork-both
-callgrind/tests/simwork-cache
-callgrind/tests/threads
-callgrind/tests/threads-use
-drd/tests/annotate_barrier
-drd/tests/annotate_barrier_xml
-drd/tests/annotate_hbefore
-drd/tests/annotate_hb_err
-drd/tests/annotate_hb_race
-drd/tests/annotate_ignore_read
-drd/tests/annotate_ignore_rw
-drd/tests/annotate_ignore_rw2
-drd/tests/annotate_ignore_write
-drd/tests/annotate_ignore_write2
-drd/tests/annotate_order_1
-drd/tests/annotate_order_2
-drd/tests/annotate_order_3
-drd/tests/annotate_publish_hg
-drd/tests/annotate_rwlock
-drd/tests/annotate_rwlock_hg
drd/tests/annotate_sem
-drd/tests/annotate_smart_pointer
-drd/tests/annotate_smart_pointer2
-drd/tests/annotate_spinlock
-drd/tests/annotate_static
-drd/tests/annotate_trace_memory
-drd/tests/annotate_trace_memory_xml
-drd/tests/atomic_var
-drd/tests/bar_bad
-drd/tests/bar_bad_xml
-drd/tests/bar_trivial
-drd/tests/bug-235681
-drd/tests/bug322621
-drd/tests/circular_buffer
-drd/tests/concurrent_close
-drd/tests/custom_alloc
-drd/tests/custom_alloc_fiw
-drd/tests/dlopen
-drd/tests/fork-parallel
-drd/tests/fork-serial
-drd/tests/fp_race
-drd/tests/fp_race2
-drd/tests/fp_race_xml
-drd/tests/free_is_write
-drd/tests/free_is_write2
-drd/tests/hg01_all_ok
-drd/tests/hg02_deadlock
-drd/tests/hg03_inherit
-drd/tests/hg04_race
-drd/tests/hg05_race2
-drd/tests/hg06_readshared
-drd/tests/hold_lock_1
-drd/tests/hold_lock_2
-drd/tests/linuxthreads_det
-drd/tests/matinv
-drd/tests/memory_allocation
-drd/tests/monitor_example
-drd/tests/new_delete
-drd/tests/pth_barrier
-drd/tests/pth_barrier2
-drd/tests/pth_barrier3
-drd/tests/pth_barrier_race
-drd/tests/pth_barrier_reinit
-drd/tests/pth_barrier_thr_cr
-drd/tests/pth_broadcast
-drd/tests/pth_cancel_locked
-drd/tests/pth_cleanup_handler
-drd/tests/pth_cond_race
-drd/tests/pth_cond_race2
-drd/tests/pth_detached2
-drd/tests/pth_detached3
-drd/tests/pth_detached_sem
-drd/tests/pth_inconsistent_cond_wait
-drd/tests/pth_mutex_reinit
-drd/tests/pth_once
-drd/tests/pth_process_shared_mutex
-drd/tests/pth_spinlock
-drd/tests/pth_uninitialized_cond
-drd/tests/read_and_free_race
-drd/tests/recursive_mutex
-drd/tests/rwlock_race
-drd/tests/rwlock_test
-drd/tests/rwlock_type_checking
-drd/tests/sem_as_mutex
-drd/tests/sem_as_mutex2
-drd/tests/sem_as_mutex3
-drd/tests/sem_open
-drd/tests/sem_open2
-drd/tests/sem_open3
-drd/tests/sem_open_traced
-drd/tests/sem_wait
-drd/tests/sigalrm
-drd/tests/sigaltstack
-drd/tests/std_atomic
-drd/tests/std_string
-drd/tests/std_thread
-drd/tests/std_thread2
-drd/tests/str_tester
-drd/tests/tc01_simple_race
-drd/tests/tc02_simple_tls
-drd/tests/tc03_re_excl
-drd/tests/tc04_free_lock
-drd/tests/tc05_simple_race
-drd/tests/tc06_two_races
-drd/tests/tc07_hbl1
-drd/tests/tc08_hbl2
-drd/tests/tc09_bad_unlock
-drd/tests/tc10_rec_lock
-drd/tests/tc11_XCHG
-drd/tests/tc12_rwl_trivial
-drd/tests/tc13_laog1
-drd/tests/tc15_laog_lockdel
-drd/tests/tc16_byterace
-drd/tests/tc17_sembar
-drd/tests/tc18_semabuse
-drd/tests/tc19_shadowmem
-drd/tests/tc21_pthonce
-drd/tests/tc22_exit_w_lock
-drd/tests/tc23_bogus_condwait
-helgrind/tests/annotate_rwlock
-helgrind/tests/annotate_smart_pointer
-helgrind/tests/bar_bad
-helgrind/tests/bar_trivial
-helgrind/tests/bug322621
-helgrind/tests/cond_init_destroy
-helgrind/tests/cond_timedwait_invalid
-helgrind/tests/cond_timedwait_test
-helgrind/tests/free_is_write
-helgrind/tests/hg01_all_ok
-helgrind/tests/hg03_inherit
-helgrind/tests/hg04_race
+gdbserver_tests/hgtls
helgrind/tests/hg05_race2
-helgrind/tests/hg06_readshared
-helgrind/tests/locked_vs_unlocked1_fwd
-helgrind/tests/locked_vs_unlocked1_rev
-helgrind/tests/locked_vs_unlocked2
-helgrind/tests/locked_vs_unlocked3
-helgrind/tests/pth_barrier1
-helgrind/tests/pth_barrier2
-helgrind/tests/pth_barrier3
-helgrind/tests/pth_destroy_cond
-helgrind/tests/rwlock_race
-helgrind/tests/rwlock_test
-helgrind/tests/shmem_abits
-helgrind/tests/stackteardown
-helgrind/tests/t2t_laog
-helgrind/tests/tc01_simple_race
-helgrind/tests/tc02_simple_tls
-helgrind/tests/tc03_re_excl
-helgrind/tests/tc04_free_lock
-helgrind/tests/tc05_simple_race
-helgrind/tests/tc06_two_races
-helgrind/tests/tc06_two_races_xml
-helgrind/tests/tc07_hbl1
-helgrind/tests/tc08_hbl2
-helgrind/tests/tc09_bad_unlock
-helgrind/tests/tc10_rec_lock
-helgrind/tests/tc11_XCHG
-helgrind/tests/tc12_rwl_trivial
-helgrind/tests/tc13_laog1
-helgrind/tests/tc14_laog_dinphils
-helgrind/tests/tc15_laog_lockdel
-helgrind/tests/tc16_byterace
-helgrind/tests/tc17_sembar
-helgrind/tests/tc18_semabuse
-helgrind/tests/tc19_shadowmem
helgrind/tests/tc20_verifywrap
-helgrind/tests/tc21_pthonce
-helgrind/tests/tc22_exit_w_lock
-helgrind/tests/tc23_bogus_condwait
-helgrind/tests/tc24_nonzero_sem
-helgrind/tests/tls_threads
-memcheck/tests/accounting
-memcheck/tests/addressable
-memcheck/tests/arm64-linux/scalar
-memcheck/tests/atomic_incs
-memcheck/tests/badaddrvalue
-memcheck/tests/badfree
-memcheck/tests/badfree-2trace
-memcheck/tests/badfree3
-memcheck/tests/badjump
-memcheck/tests/badjump2
-memcheck/tests/badloop
-memcheck/tests/badpoll
-memcheck/tests/badrw
-memcheck/tests/big_blocks_freed_list
-memcheck/tests/brk2
memcheck/tests/dw4
-memcheck/tests/err_disable4
-memcheck/tests/err_disable_arange1
-memcheck/tests/leak-autofreepool-5
-memcheck/tests/leak_cpp_interior
-memcheck/tests/linux/lsframe1
-memcheck/tests/linux/lsframe2
-memcheck/tests/linux/with-space
-memcheck/tests/origin5-bz2
-memcheck/tests/origin6-fp
-memcheck/tests/overlap
-memcheck/tests/partial_load_dflt
-memcheck/tests/pdb-realloc2
-memcheck/tests/sh-mem
-memcheck/tests/sh-mem-random
-memcheck/tests/sigaltstack
-memcheck/tests/sigkill
-memcheck/tests/signal2
-memcheck/tests/supp_unknown
-memcheck/tests/threadname
-memcheck/tests/threadname_xml
-memcheck/tests/unit_oset
memcheck/tests/varinfo1
memcheck/tests/varinfo2
memcheck/tests/varinfo3
@@ -219,19 +10,23 @@ memcheck/tests/varinfo4
memcheck/tests/varinfo5
memcheck/tests/varinfo6
memcheck/tests/varinforestrict
-memcheck/tests/vcpu_bz2
-memcheck/tests/vcpu_fbench
-memcheck/tests/vcpu_fnfns
-memcheck/tests/wcs
-memcheck/tests/wrap1
-memcheck/tests/wrap2
-memcheck/tests/wrap3
-memcheck/tests/wrap4
-memcheck/tests/wrap5
-memcheck/tests/wrap6
-memcheck/tests/wrap7
-memcheck/tests/wrap8
-memcheck/tests/wrapmalloc
-memcheck/tests/wrapmallocstatic
-memcheck/tests/writev1
-memcheck/tests/xml1
+memcheck/tests/atomic_incs
+memcheck/tests/bug464969_d_demangle
+memcheck/tests/cxx17_aligned_new
+memcheck/tests/demangle
+memcheck/tests/long_namespace_xml
+memcheck/tests/mismatches
+memcheck/tests/mismatches_xml
+memcheck/tests/new_aligned_delete_default
+memcheck/tests/new_delete_mismatch_size
+memcheck/tests/new_nothrow
+memcheck/tests/realloc_size_zero_mismatch
+memcheck/tests/sized_aligned_new_delete_args
+memcheck/tests/sized_aligned_new_delete_misaligned1
+memcheck/tests/sized_aligned_new_delete_misaligned1_xml
+memcheck/tests/sized_aligned_new_delete_misaligned2
+memcheck/tests/sized_aligned_new_delete_misaligned2_xml
+memcheck/tests/sized_aligned_new_delete_misaligned3
+memcheck/tests/sized_aligned_new_delete_misaligned3_xml
+memcheck/tests/sized_delete
+none/tests/bigcode
diff --git a/meta/recipes-devtools/valgrind/valgrind/remove-for-all b/meta/recipes-devtools/valgrind/valgrind/remove-for-all
new file mode 100644
index 0000000000..8435a6d41d
--- /dev/null
+++ b/meta/recipes-devtools/valgrind/valgrind/remove-for-all
@@ -0,0 +1,29 @@
+cachegrind/tests/wrap5
+drd/tests/boost_thread
+none/tests/amd64/fb_test_amd64
+none/tests/tls
+gdbserver_tests/hginfo
+gdbserver_tests/mcinvokeRU
+memcheck/tests/linux/dlclose_leak-no-keep
+memcheck/tests/linux/dlclose_leak
+memcheck/tests/linux/timerfd-syscall
+memcheck/tests/supp_unknown
+memcheck/tests/wrap1
+memcheck/tests/wrap2
+memcheck/tests/wrap3
+memcheck/tests/wrap4
+memcheck/tests/wrap5
+memcheck/tests/wrap6
+memcheck/tests/wrap7
+memcheck/tests/wrap8
+helgrind/tests/tls_threads
+helgrind/tests/pth_mempcpy_false_races
+drd/tests/bar_bad
+drd/tests/bar_bad_xml
+drd/tests/pth_barrier_thr_cr
+drd/tests/std_thread2
+drd/tests/thread_name_xml
+massif/tests/deep-D
+massif/tests/bug469146
+massif/tests/new-cpp
+massif/tests/overloaded-new
diff --git a/meta/recipes-devtools/valgrind/valgrind/run-ptest b/meta/recipes-devtools/valgrind/valgrind/run-ptest
index 97b0a85dbf..15cf03f9d2 100755
--- a/meta/recipes-devtools/valgrind/valgrind/run-ptest
+++ b/meta/recipes-devtools/valgrind/valgrind/run-ptest
@@ -7,16 +7,23 @@
# Randy MacLeod <Randy.MacLeod@windriver.com>
###############################################################
VALGRIND_LIB=@libdir@/valgrind
+VALGRIND_LIBEXECDIR=@libexecdir@/valgrind
VALGRIND_BIN=@bindir@/valgrind
LOG="${VALGRIND_LIB}/ptest/valgrind_ptest_$(date +%Y%m%d-%H%M%S).log"
TOOLS="memcheck cachegrind callgrind helgrind drd massif dhat lackey none"
-EXP_TOOLS="exp-bbv exp-dhat exp-sgcheck"
+EXP_TOOLS="exp-bbv"
GDB_BIN=@bindir@/gdb
cd ${VALGRIND_LIB}/ptest && ./gdbserver_tests/make_local_links ${GDB_BIN}
+echo "Hide valgrind tests that are non-deterministic"
+echo "Reported at https://bugs.kde.org/show_bug.cgi?id=430321"
+for i in `cat remove-for-all`; do
+ mv $i.vgtest $i.IGNORE;
+done
+
arch=`arch`
if [ "$arch" = "aarch64" ]; then
echo "Aarch64: Hide valgrind tests that result in defunct process and then out of memory"
@@ -25,18 +32,35 @@ if [ "$arch" = "aarch64" ]; then
done
fi
+echo "Run non-deterministic tests using taskset to limit them to a single core."
+for i in `cat taskset_nondeterministic_tests`; do
+ # The remove-for-aarch64 and taskset_nondeterministic_tests may overlap so
+ # check if a file exist.
+ if test -f "${i}.vgtest"; then
+ taskset 0x00000001 perl tests/vg_regtest --valgrind=${VALGRIND_BIN} --valgrind-lib=${VALGRIND_LIBEXECDIR} --yocto-ptest $i 2>&1|tee -a ${LOG}
+ mv $i.vgtest $i.IGNORE
+ fi
+done
+
cd ${VALGRIND_LIB}/ptest && ./tests/vg_regtest \
--valgrind=${VALGRIND_BIN} \
- --valgrind-lib=${VALGRIND_LIB} \
+ --valgrind-lib=${VALGRIND_LIBEXECDIR} \
--yocto-ptest \
gdbserver_tests ${TOOLS} ${EXP_TOOLS} \
- 2>&1|tee ${LOG}
+ 2>&1|tee -a ${LOG}
cd ${VALGRIND_LIB}/ptest && \
./tests/post_regtest_checks $(pwd) \
gdbserver_tests ${TOOLS} ${EXP_TOOLS} \
2>&1|tee -a ${LOG}
+echo "Restore non-deterministic tests"
+for i in `cat taskset_nondeterministic_tests`; do
+ if test -f "${i}.vgtest.IGNORE"; then
+ mv $i.IGNORE $i.vgtest;
+ fi
+done
+
if [ "$arch" = "aarch64" ]; then
echo "Aarch64: Restore valgrind tests that result in defunct process and then out of memory"
for i in `cat remove-for-aarch64`; do
@@ -44,6 +68,20 @@ if [ "$arch" = "aarch64" ]; then
done
fi
+echo "Restore valgrind tests that are non-deterministc"
+for i in `cat remove-for-all`; do
+ mv $i.IGNORE $i.vgtest;
+done
+
+echo "Failed test details..."
+failed_tests=`grep FAIL: ${LOG} | awk '{print $2}'`
+for test in $failed_tests; do
+ for diff_results in `ls $test*.diff`; do
+ echo $diff_results
+ echo '************'
+ cat $diff_results
+ done
+done
passed=`grep PASS: ${LOG}|wc -l`
failed=`grep FAIL: ${LOG}|wc -l`
diff --git a/meta/recipes-devtools/valgrind/valgrind/s390x_vec_op_t.patch b/meta/recipes-devtools/valgrind/valgrind/s390x_vec_op_t.patch
index eea671da0a..3ab339d215 100644
--- a/meta/recipes-devtools/valgrind/valgrind/s390x_vec_op_t.patch
+++ b/meta/recipes-devtools/valgrind/valgrind/s390x_vec_op_t.patch
@@ -1,3 +1,8 @@
+From 8154d38bac5cdb3675cfdaf562ab9da01988b263 Mon Sep 17 00:00:00 2001
+From: Yi Fan Yu <yifan.yu@windriver.com>
+Date: Wed, 17 Mar 2021 12:16:31 -0400
+Subject: [PATCH 19/20] remove s390x_vec_op_t
+
s390x_vec_op_t is not needed anywhere, only elements of enum are accessed
removing it ensures that valgrind can be built with -fno-common option
@@ -6,12 +11,18 @@ ld: ../../VEX/libvex-amd64-linux.a(libvex_amd64_linux_a-guest_s390_helpers.o):/u
Upstream-Status: Pending
Signed-off-by: Khem Raj <raj.khem@gmail.com>
+
+Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
+---
+ VEX/priv/guest_s390_defs.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
--- a/VEX/priv/guest_s390_defs.h
+++ b/VEX/priv/guest_s390_defs.h
-@@ -286,7 +286,7 @@ enum {
- S390_VEC_OP_VFCHE = 18,
- S390_VEC_OP_VFTCI = 19,
- S390_VEC_OP_LAST = 20 // supposed to be the last element in enum
+@@ -284,7 +284,7 @@ typedef enum {
+ S390_VEC_OP_VCLFNL,
+ S390_VEC_OP_VCRNF,
+ S390_VEC_OP_LAST // supposed to be the last element in enum
-} s390x_vec_op_t;
+};
diff --git a/meta/recipes-devtools/valgrind/valgrind/taskset_nondeterministic_tests b/meta/recipes-devtools/valgrind/valgrind/taskset_nondeterministic_tests
new file mode 100644
index 0000000000..e15100ade7
--- /dev/null
+++ b/meta/recipes-devtools/valgrind/valgrind/taskset_nondeterministic_tests
@@ -0,0 +1,2 @@
+helgrind/tests/hg05_race2
+helgrind/tests/tc09_bad_unlock
diff --git a/meta/recipes-devtools/valgrind/valgrind/use-appropriate-march-mcpu-mfpu-for-ARM-test-apps.patch b/meta/recipes-devtools/valgrind/valgrind/use-appropriate-march-mcpu-mfpu-for-ARM-test-apps.patch
index adea405213..afca874d02 100644
--- a/meta/recipes-devtools/valgrind/valgrind/use-appropriate-march-mcpu-mfpu-for-ARM-test-apps.patch
+++ b/meta/recipes-devtools/valgrind/valgrind/use-appropriate-march-mcpu-mfpu-for-ARM-test-apps.patch
@@ -15,18 +15,16 @@ over-ride that).
See similar cases in none/tests/arm/Makefile.am
-Upstream-Status: Pending
+Upstream-Status: Submitted [https://bugs.kde.org/show_bug.cgi?id=454346]
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
---
none/tests/arm/Makefile.am | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
-diff --git a/none/tests/arm/Makefile.am b/none/tests/arm/Makefile.am
-index 4507a20..825290f 100644
--- a/none/tests/arm/Makefile.am
+++ b/none/tests/arm/Makefile.am
-@@ -62,8 +62,10 @@ neon64_CFLAGS = $(AM_CFLAGS) -g -O0 -mcpu=cortex-a8 \
+@@ -87,8 +87,10 @@ neon64_CFLAGS = $(AM_CFLAGS) -g -O0
-mfpu=neon \
-mthumb
@@ -39,6 +37,3 @@ index 4507a20..825290f 100644
+vcvt_fixed_float_VFP_CFLAGS = $(AM_CFLAGS) -g -mcpu=cortex-a8 -mfpu=vfpv3
+
+vfpv4_fma_CFLAGS = $(AM_CFLAGS) -g -O0 -march=armv7ve -mcpu=cortex-a15 -mfpu=vfpv4 -marm
---
-1.9.1
-
diff --git a/meta/recipes-devtools/valgrind/valgrind/valgrind-make-ld-XXX.so-strlen-intercept-optional.patch b/meta/recipes-devtools/valgrind/valgrind/valgrind-make-ld-XXX.so-strlen-intercept-optional.patch
index d04297dca8..0895473fc0 100644
--- a/meta/recipes-devtools/valgrind/valgrind/valgrind-make-ld-XXX.so-strlen-intercept-optional.patch
+++ b/meta/recipes-devtools/valgrind/valgrind/valgrind-make-ld-XXX.so-strlen-intercept-optional.patch
@@ -16,11 +16,9 @@ Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
coregrind/m_redir.c | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
-diff --git a/coregrind/m_redir.c b/coregrind/m_redir.c
-index ff35009..d7d6816 100644
--- a/coregrind/m_redir.c
+++ b/coregrind/m_redir.c
-@@ -1275,7 +1275,18 @@ static void add_hardwired_spec (const HChar* sopatt, const HChar* fnpatt,
+@@ -1307,7 +1307,18 @@ static void add_hardwired_spec (const H
spec->to_addr = to_addr;
spec->isWrap = False;
spec->isGlobal = False;
@@ -40,6 +38,3 @@ index ff35009..d7d6816 100644
/* VARIABLE PARTS */
spec->mark = False; /* not significant */
spec->done = False; /* not significant */
---
-1.9.1
-
diff --git a/meta/recipes-devtools/valgrind/valgrind_3.16.1.bb b/meta/recipes-devtools/valgrind/valgrind_3.23.0.bb
index 5db181ac14..ad9e26cb6b 100644
--- a/meta/recipes-devtools/valgrind/valgrind_3.16.1.bb
+++ b/meta/recipes-devtools/valgrind/valgrind_3.23.0.bb
@@ -1,7 +1,8 @@
SUMMARY = "Valgrind memory debugger and instrumentation framework"
HOMEPAGE = "http://valgrind.org/"
+DESCRIPTION = "Valgrind is an instrumentation framework for building dynamic analysis tools. There are Valgrind tools that can automatically detect many memory management and threading bugs, and profile your programs in detail."
BUGTRACKER = "http://valgrind.org/support/bug_reports.html"
-LICENSE = "GPLv2 & GPLv2+ & BSD"
+LICENSE = "GPL-2.0-only & GPL-2.0-or-later & BSD-3-Clause"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
file://include/pub_tool_basics.h;beginline=6;endline=29;md5=41c410e8d3f305aee7aaa666b2e4f366 \
file://include/valgrind.h;beginline=1;endline=56;md5=ad3b317f3286b6b704575d9efe6ca5df \
@@ -16,43 +17,33 @@ SRC_URI = "https://sourceware.org/pub/valgrind/valgrind-${PV}.tar.bz2 \
file://Added-support-for-PPC-instructions-mfatbu-mfatbl.patch \
file://run-ptest \
file://remove-for-aarch64 \
- file://0004-Fix-out-of-tree-builds.patch \
+ file://remove-for-all \
+ file://taskset_nondeterministic_tests \
file://0005-Modify-vg_test-wrapper-to-support-PTEST-formats.patch \
- file://0001-Remove-tests-that-fail-to-build-on-some-PPC32-config.patch \
file://use-appropriate-march-mcpu-mfpu-for-ARM-test-apps.patch \
file://avoid-neon-for-targets-which-don-t-support-it.patch \
+ file://0001-configure-Drop-setting-mcpu-cortex-a8-on-arm.patch \
file://valgrind-make-ld-XXX.so-strlen-intercept-optional.patch \
file://0001-makefiles-Drop-setting-mcpu-to-cortex-a8-on-arm-arch.patch \
- file://0001-str_tester.c-Limit-rawmemchr-test-to-glibc.patch \
file://0001-sigqueue-Rename-_sifields-to-__si_fields-on-musl.patch \
- file://0002-context-APIs-are-not-available-on-musl.patch \
file://0003-correct-include-directive-path-for-config.h.patch \
- file://0005-tc20_verifywrap.c-Fake-__GLIBC_PREREQ-with-musl.patch \
- file://0001-memcheck-arm64-Define-__THROW-if-not-already-defined.patch \
- file://0002-memcheck-x86-Define-__THROW-if-not-defined.patch \
- file://0003-tests-seg_override-Replace-__modify_ldt-with-syscall.patch \
- file://0001-fix-opcode-not-supported-on-mips32-linux.patch \
- file://0001-Guard-against-__GLIBC_PREREQ-for-musl-libc.patch \
- file://0001-Make-local-functions-static-to-avoid-assembler-error.patch \
file://0001-Return-a-valid-exit_code-from-vg_regtest.patch \
file://0001-valgrind-filter_xml_frames-do-not-filter-usr.patch \
file://0001-memcheck-vgtests-remove-fullpath-after-flags.patch \
file://s390x_vec_op_t.patch \
file://0001-none-tests-fdleak_cmsg.stderr.exp-adjust-tmp-paths.patch \
file://0001-memcheck-tests-Fix-timerfd-syscall-test.patch \
- file://0001-drd-Port-to-Fedora-33.patch \
- file://0001-drd-musl-fix.patch \
- file://0001-helgrind-Intercept-libc-functions.patch \
+ file://0001-docs-Disable-manual-validation.patch \
+ file://0001-tests-arm-Use-O-instead-of-O0.patch \
"
-SRC_URI[md5sum] = "d1b153f1ab17cf1f311705e7a83ef589"
-SRC_URI[sha256sum] = "c91f3a2f7b02db0f3bc99479861656154d241d2fdb265614ba918cc6720a33ca"
+SRC_URI[sha256sum] = "c5c34a3380457b9b75606df890102e7df2c702b9420c2ebef9540f8b5d56264d"
UPSTREAM_CHECK_REGEX = "valgrind-(?P<pver>\d+(\.\d+)+)\.tar"
COMPATIBLE_HOST = '(i.86|x86_64|arm|aarch64|mips|powerpc|powerpc64).*-linux'
# patch 0001-memcheck-vgtests-remove-fullpath-after-flags.patch removes relative path
# argument. Change expected stderr files accordingly.
-do_patch_append() {
+do_patch:append() {
bb.build.exec_func('do_sed_paths', d)
}
@@ -62,23 +53,23 @@ do_sed_paths() {
}
# valgrind supports armv7 and above
-COMPATIBLE_HOST_armv4 = 'null'
-COMPATIBLE_HOST_armv5 = 'null'
-COMPATIBLE_HOST_armv6 = 'null'
+COMPATIBLE_HOST:armv4 = 'null'
+COMPATIBLE_HOST:armv5 = 'null'
+COMPATIBLE_HOST:armv6 = 'null'
# valgrind fails with powerpc soft-float
-COMPATIBLE_HOST_powerpc = "${@bb.utils.contains('TARGET_FPU', 'soft', 'null', '.*-linux', d)}"
+COMPATIBLE_HOST:powerpc = "${@bb.utils.contains('TARGET_FPU', 'soft', 'null', '.*-linux', d)}"
# X32 isn't supported by valgrind at this time
-COMPATIBLE_HOST_linux-gnux32 = 'null'
-COMPATIBLE_HOST_linux-muslx32 = 'null'
+COMPATIBLE_HOST:linux-gnux32 = 'null'
+COMPATIBLE_HOST:linux-muslx32 = 'null'
# Disable for some MIPS variants
-COMPATIBLE_HOST_mipsarchr6 = 'null'
-COMPATIBLE_HOST_linux-gnun32 = 'null'
+COMPATIBLE_HOST:mipsarchr6 = 'null'
+COMPATIBLE_HOST:linux-gnun32 = 'null'
# Disable for powerpc64 with musl
-COMPATIBLE_HOST_libc-musl_powerpc64 = 'null'
+COMPATIBLE_HOST:libc-musl:powerpc64 = 'null'
# brokenseip is unfortunately required by ptests to pass
inherit autotools-brokensep ptest multilib_header
@@ -87,7 +78,7 @@ EXTRA_OECONF = "--enable-tls --without-mpicc"
EXTRA_OECONF += "${@['--enable-only32bit','--enable-only64bit'][d.getVar('SITEINFO_BITS') != '32']}"
# valgrind checks host_cpu "armv7*)", so we need to over-ride the autotools.bbclass default --host option
-EXTRA_OECONF_append_arm = " --host=armv7${HOST_VENDOR}-${HOST_OS}"
+EXTRA_OECONF:append:arm = " --host=armv7${HOST_VENDOR}-${HOST_OS}"
EXTRA_OEMAKE = "-w"
@@ -99,53 +90,73 @@ CACHED_CONFIGUREVARS += "ac_cv_path_PERL='/usr/bin/env perl'"
# which fixes build path issue in DWARF.
SELECTED_OPTIMIZATION = "${DEBUG_FLAGS}"
-do_configure_prepend () {
+# Split out various helper scripts to separate packages to avoid the
+# main package depending on perl and python.
+PACKAGES =+ "${PN}-cachegrind ${PN}-massif ${PN}-callgrind"
+
+FILES:${PN}-cachegrind = "${bindir}/cg_*"
+FILES:${PN}-massif = "${bindir}/ms_*"
+FILES:${PN}-callgrind = "${bindir}/callgrind_*"
+
+RDEPENDS:${PN}-cachegrind = "${PN} python3-core"
+RDEPENDS:${PN}-massif = "${PN} perl"
+RDEPENDS:${PN}-callgrind = "${PN} perl"
+
+do_configure:prepend () {
rm -rf ${S}/config.h
sed -i -e 's:$(abs_top_builddir):$(pkglibdir)/ptest:g' ${S}/none/tests/Makefile.am
sed -i -e 's:$(top_builddir):$(pkglibdir)/ptest:g' ${S}/memcheck/tests/Makefile.am
}
-do_install_append () {
- install -m 644 ${B}/default.supp ${D}/${libdir}/valgrind/
+do_install:append () {
+ install -m 644 ${B}/default.supp ${D}/${libexecdir}/valgrind/
oe_multilib_header valgrind/config.h
}
VALGRINDARCH ?= "${TARGET_ARCH}"
-VALGRINDARCH_aarch64 = "arm64"
-VALGRINDARCH_x86-64 = "amd64"
-VALGRINDARCH_x86 = "x86"
-VALGRINDARCH_mips = "mips32"
-VALGRINDARCH_mipsel = "mips32"
-VALGRINDARCH_mips64el = "mips64"
-VALGRINDARCH_powerpc = "ppc"
-VALGRINDARCH_powerpc64 = "ppc64"
-VALGRINDARCH_powerpc64el = "ppc64le"
-
-INHIBIT_PACKAGE_STRIP_FILES = "${PKGD}${libdir}/valgrind/vgpreload_memcheck-${VALGRINDARCH}-linux.so"
-
-RDEPENDS_${PN} += "perl"
+VALGRINDARCH:aarch64 = "arm64"
+VALGRINDARCH:x86-64 = "amd64"
+VALGRINDARCH:x86 = "x86"
+VALGRINDARCH:mips = "mips32"
+VALGRINDARCH:mipsel = "mips32"
+VALGRINDARCH:mips64el = "mips64"
+VALGRINDARCH:powerpc = "ppc"
+VALGRINDARCH:powerpc64 = "ppc64"
+VALGRINDARCH:powerpc64le = "ppc64le"
+
+INHIBIT_PACKAGE_STRIP_FILES = "${PKGD}${libexecdir}/valgrind/vgpreload_memcheck-${VALGRINDARCH}-linux.so"
# valgrind needs debug information for ld.so at runtime in order to
# redirect functions like strlen.
-RRECOMMENDS_${PN} += "${TCLIBC}-dbg"
+RRECOMMENDS:${PN} += "${TCLIBC}-dbg"
-RDEPENDS_${PN}-ptest += " bash coreutils file \
- gdb libgomp \
+RDEPENDS:${PN}-ptest += " bash coreutils curl file \
+ gdb \
+ ${TCLIBC}-src gcc-runtime-dbg \
+ libgomp \
perl \
perl-module-file-basename perl-module-file-glob perl-module-getopt-long \
- perl-module-overloading \
- procps sed ${PN}-dbg ${PN}-src"
-RDEPENDS_${PN}-ptest_append_libc-glibc = " glibc-utils"
+ perl-module-overloading perl-module-cwd perl-module-ipc-open3 \
+ perl-module-carp perl-module-symbol \
+ procps \
+ python3-compile \
+ sed \
+ util-linux-taskset \
+ ${PN}-dbg ${PN}-src \
+ ${PN}-cachegrind ${PN}-massif ${PN}-callgrind \
+"
+RDEPENDS:${PN}-ptest:append:libc-glibc = " glibc-utils glibc-gconv-utf-32"
# One of the tests contains a bogus interpreter path on purpose.
# Skip file dependency check
-SKIP_FILEDEPS_${PN}-ptest = '1'
-INSANE_SKIP_${PN}-ptest = "debug-deps"
+SKIP_FILEDEPS:${PN}-ptest = '1'
+INSANE_SKIP:${PN}-ptest = "debug-deps"
do_compile_ptest() {
oe_runmake check
}
+
do_install_ptest() {
chmod +x ${B}/tests/vg_regtest
@@ -154,7 +165,7 @@ do_install_ptest() {
#
# The regression tests require scripts and data files that are not
# copied to the build directory. They must be copied from the
- # source directory.
+ # source directory.
saved_dir=$PWD
for parent_dir in ${S} ${B} ; do
cd $parent_dir
@@ -173,8 +184,6 @@ do_install_ptest() {
none/tests \
tests \
exp-bbv/tests \
- exp-dhat/tests \
- exp-sgcheck/tests \
"
# Get the vg test scripts, filters, and expected files
for dir in $subdirs ; do
@@ -185,7 +194,9 @@ do_install_ptest() {
# The scripts reference config.h so add it to the top ptest dir.
cp ${B}/config.h ${D}${PTEST_PATH}
- install -D ${WORKDIR}/remove-for-aarch64 ${D}${PTEST_PATH}
+ install -D ${UNPACKDIR}/remove-for-aarch64 ${D}${PTEST_PATH}
+ install -D ${UNPACKDIR}/remove-for-all ${D}${PTEST_PATH}
+ install -D ${UNPACKDIR}/taskset_nondeterministic_tests ${D}${PTEST_PATH}
# Add an executable need by none/tests/bigcode
mkdir ${D}${PTEST_PATH}/perf
@@ -209,33 +220,51 @@ do_install_ptest() {
\) \
-exec rm {} \;
- # These files need to be newer so touch them.
- touch ${D}${PTEST_PATH}/cachegrind/tests/a.c -r ${D}${PTEST_PATH}/cachegrind/tests/cgout-test
-
- # find *_annotate in ${bindir} for yocto build
- sed -i s:\.\./\.\./cachegrind/cg_annotate:${bindir}/cg_annotate: ${D}${PTEST_PATH}/cachegrind/tests/ann1.vgtest
- sed -i s:\.\./\.\./cachegrind/cg_annotate:${bindir}/cg_annotate: ${D}${PTEST_PATH}/cachegrind/tests/ann2.vgtest
-
sed -i s:\.\./\.\./callgrind/callgrind_annotate:${bindir}/callgrind_annotate: ${D}${PTEST_PATH}/callgrind/tests/ann1.vgtest
sed -i s:\.\./\.\./callgrind/callgrind_annotate:${bindir}/callgrind_annotate: ${D}${PTEST_PATH}/callgrind/tests/ann2.vgtest
+ # point the expanded @abs_top_builddir@ of the host to PTEST_PATH
+ sed -i s:${S}:${PTEST_PATH}:g \
+ ${D}${PTEST_PATH}/memcheck/tests/linux/debuginfod-check.vgtest
+
# handle multilib
sed -i s:@libdir@:${libdir}:g ${D}${PTEST_PATH}/run-ptest
+ sed -i s:@libexecdir@:${libexecdir}:g ${D}${PTEST_PATH}/run-ptest
sed -i s:@bindir@:${bindir}:g ${D}${PTEST_PATH}/run-ptest
+ # enable cachegrind ptests
+ ln -s ${bindir}/cg_annotate ${D}/${PTEST_PATH}/cachegrind/cg_annotate
+ ln -s ${bindir}/cg_diff ${D}/${PTEST_PATH}/cachegrind/cg_diff
+ ln -s ${bindir}/cg_merge ${D}/${PTEST_PATH}/cachegrind/cg_merge
+
# This test fails on the host as well, using both 3.15 and git master (as of Jan 24 2020)
# https://bugs.kde.org/show_bug.cgi?id=402833
rm ${D}${PTEST_PATH}/memcheck/tests/overlap.vgtest
+ # This is known failure see https://bugs.kde.org/show_bug.cgi?id=435732
+ rm ${D}${PTEST_PATH}/memcheck/tests/leak_cpp_interior.vgtest
+
+ # https://bugs.kde.org/show_bug.cgi?id=445743
+ rm ${D}${PTEST_PATH}/drd/tests/pth_mutex_signal
+
# As the binary isn't stripped or debug-splitted, the source file isn't fetched
# via dwarfsrcfiles either, so it needs to be installed manually.
- mkdir -p ${D}/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}/${BP}/none/tests/
- install ${S}/none/tests/tls.c ${D}/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}/${BP}/none/tests/
+ mkdir -p ${D}${TARGET_DBGSRC_DIR}/none/tests/
+ install ${S}/none/tests/tls.c ${D}${TARGET_DBGSRC_DIR}/none/tests/
+}
+
+do_install_ptest:append:x86-64 () {
+ # https://bugs.kde.org/show_bug.cgi?id=463456
+ rm ${D}${PTEST_PATH}/memcheck/tests/origin6-fp.vgtest
+ # https://bugs.kde.org/show_bug.cgi?id=463458
+ rm ${D}${PTEST_PATH}/memcheck/tests/vcpu_fnfns.vgtest
+ # https://bugs.kde.org/show_bug.cgi?id=463463
+ rm ${D}${PTEST_PATH}/none/tests/amd64/fma.vgtest
}
# avoid stripping some generated binaries otherwise some of the tests will fail
# run-strip-reloc.sh, run-strip-strmerge.sh and so on will fail
-INHIBIT_PACKAGE_STRIP_FILES = "\
+INHIBIT_PACKAGE_STRIP_FILES += "\
${PKGD}${PTEST_PATH}/none/tests/tls \
${PKGD}${PTEST_PATH}/none/tests/tls.so \
${PKGD}${PTEST_PATH}/none/tests/tls2.so \
diff --git a/meta/recipes-devtools/xmlto/xmlto-0.0.28/configure.in-drop-the-test-of-xmllint-and-xsltproc.patch b/meta/recipes-devtools/xmlto/xmlto-0.0.28/configure.in-drop-the-test-of-xmllint-and-xsltproc.patch
deleted file mode 100644
index 6d547a6c99..0000000000
--- a/meta/recipes-devtools/xmlto/xmlto-0.0.28/configure.in-drop-the-test-of-xmllint-and-xsltproc.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-configure.in: drop the test of xmllint and xsltproc
-
-The test is unnecessary, the xmllint and xsltproc were explicitly
-added to RDEPENDS.
-
-Upstream-Status: Inappropriate
-Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
----
- configure.in | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/configure.in b/configure.in
---- a/configure.in
-+++ b/configure.in
-@@ -42,10 +42,10 @@ AC_ARG_VAR([LOCALE], [Name and path of the `locale' program.])
- AC_PATH_PROG([LOCALE], [locale], [locale])
-
- AC_ARG_VAR([XMLLINT], [Name and path of the `xmllint' program.])
--AC_PATH_PROG([XMLLINT], [xmllint], [xmllint])
-+dnl AC_PATH_PROG([XMLLINT], [xmllint], [xmllint])
-
- AC_ARG_VAR([XSLTPROC], [Name and path of the `xsltproc' program.])
--AC_PATH_PROG([XSLTPROC], [xsltproc], [xsltproc])
-+dnl AC_PATH_PROG([XSLTPROC], [xsltproc], [xsltproc])
-
- dnl
- dnl toolchains
---
-1.8.1.2
-
diff --git a/meta/recipes-devtools/xmlto/xmlto_0.0.28.bb b/meta/recipes-devtools/xmlto/xmlto_0.0.28.bb
index 7d27c43c83..d5a0e69849 100644
--- a/meta/recipes-devtools/xmlto/xmlto_0.0.28.bb
+++ b/meta/recipes-devtools/xmlto/xmlto_0.0.28.bb
@@ -1,41 +1,47 @@
SUMMARY = "A shell-script tool for converting XML files to various formats"
-HOMEPAGE = "https://releases.pagure.org/xmlto/"
+HOMEPAGE = "https://pagure.io/xmlto"
+DESCRIPTION = "Utility xmlto is a simple shell-script tool for converting XML files to various formats. It serves as easy to use command line frontend to make fine output without remembering many long options and searching for the syntax of the backends."
SECTION = "docs/xmlto"
-LICENSE = "GPLv2"
+LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
-SRC_URI = "https://releases.pagure.org/xmlto/xmlto-${PV}.tar.gz \
- file://configure.in-drop-the-test-of-xmllint-and-xsltproc.patch \
-"
-SRC_URI[md5sum] = "a1fefad9d83499a15576768f60f847c6"
-SRC_URI[sha256sum] = "2f986b7c9a0e9ac6728147668e776d405465284e13c74d4146c9cbc51fd8aad3"
+SRCREV = "6fa6a0e07644f20abf2596f78a60112713e11cbe"
+UPSTREAM_CHECK_COMMITS = "1"
+SRC_URI = "git://pagure.io/xmlto.git;protocol=https;branch=master"
+S = "${WORKDIR}/git"
+
+PV .= "+0.0.29+git"
inherit autotools
CLEANBROKEN = "1"
-DEPENDS = "libxml2-native"
+DEPENDS = "libxml2-native libxslt-native flex-native docbook-xml-dtd4-native docbook-xsl-stylesheets-native"
-RDEPENDS_${PN} = "docbook-xml-dtd4 \
+RDEPENDS:${PN} = "docbook-xml-dtd4 \
docbook-xsl-stylesheets \
util-linux \
libxml2 \
libxslt \
bash \
"
-RDEPENDS_${PN}_append_class-target = " \
+RDEPENDS:${PN}:append:class-target = " \
libxml2-utils \
libxslt-bin \
coreutils \
"
-CACHED_CONFIGUREVARS += "ac_cv_path_TAIL=tail"
+CACHED_CONFIGUREVARS += "ac_cv_path_TAIL=tail ac_cv_path_GREP=grep ac_cv_path_XMLLINT=xmllint ac_cv_path_XSLTPROC=xsltproc"
BBCLASSEXTEND = "native"
-EXTRA_OECONF_append = " BASH=/bin/bash GCP=/bin/cp XMLLINT=xmllint XSLTPROC=xsltproc"
+EXTRA_OECONF:append = " BASH=/bin/bash GCP=/bin/cp"
+
+do_configure:prepend() {
+ (cd ${S} && flex -o xmlif/xmlif.c xmlif/xmlif.l)
+}
-do_install_append_class-native() {
+do_install:append:class-native() {
create_wrapper ${D}${bindir}/xmlto XML_CATALOG_FILES=${sysconfdir}/xml/catalog
}